mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-11 10:27:27 +08:00
[Enhance] Content bundle
- Add support for content bundles - For Arcaea 5.4.0 play store version and iOS version
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from .bundle import BundleParser
|
||||
from .constant import Constant
|
||||
from .download import DownloadList
|
||||
from .error import NoData
|
||||
@@ -74,6 +75,16 @@ class RefreshSongFileCache(BaseOperation):
|
||||
DownloadList.initialize_cache()
|
||||
|
||||
|
||||
class RefreshBundleCache(BaseOperation):
|
||||
'''
|
||||
刷新 bundle 缓存
|
||||
'''
|
||||
_name = 'refresh_content_bundle_cache'
|
||||
|
||||
def run(self):
|
||||
BundleParser().re_init()
|
||||
|
||||
|
||||
class SaveUpdateScore(BaseOperation):
|
||||
'''
|
||||
云存档更新成绩,是覆盖式更新
|
||||
|
||||
Reference in New Issue
Block a user