Implement cache clear reasons to avoid clearing caches when we do not need that (esp useful for dmg time cache)

This commit is contained in:
DarkPhoenix
2019-07-07 02:08:04 +03:00
parent 5bba1dc88b
commit 3e410540c9
6 changed files with 67 additions and 35 deletions

View File

@@ -117,3 +117,11 @@ class GraphDpsDroneMode(IntEnum):
auto = 1
followAttacker = 2
followTarget = 3
@unique
class GraphCacheCleanupReason(IntEnum):
fitChanged = auto()
graphSwitched = auto()
inputChanged = auto()
optionChanged = auto()