mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-06-10 04:44:52 +00:00
feat: add ticket storage in config and gui
This commit is contained in:
@@ -3,6 +3,8 @@ from functools import cached_property as functools_cached_property
|
||||
|
||||
from module.base.decorator import cached_property
|
||||
from module.config.utils import DEFAULT_TIME, deep_get, get_server_last_monday_update, get_server_last_update
|
||||
|
||||
|
||||
# from module.exception import ScriptError
|
||||
|
||||
|
||||
@@ -173,6 +175,20 @@ class StoredCounter(StoredBase):
|
||||
class StoredAP(StoredCounter):
|
||||
pass
|
||||
|
||||
|
||||
class StoredBountyTicket(StoredCounter, StoredExpiredAt0400):
|
||||
FIXED_TOTAL = 6
|
||||
pass
|
||||
|
||||
|
||||
class StoredScrimmageTicket(StoredCounter, StoredExpiredAt0400):
|
||||
FIXED_TOTAL = 6
|
||||
|
||||
|
||||
class StoredTacticalChallengeTicket(StoredCounter, StoredExpiredAt0400):
|
||||
FIXED_TOTAL = 5
|
||||
|
||||
|
||||
# class StoredDailyActivity(StoredCounter, StoredExpiredAt0400):
|
||||
# FIXED_TOTAL = 500
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user