mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-11 02:17:28 +08:00
[Enhance] World map sub folder
- Make the world maps' folder can have sub folders.
This commit is contained in:
@@ -6,6 +6,7 @@ from .save import SaveData
|
||||
from .score import Score
|
||||
from .sql import Connect, Sql
|
||||
from .user import User
|
||||
from .world import MapParser
|
||||
|
||||
|
||||
class BaseOperation:
|
||||
@@ -88,6 +89,16 @@ class RefreshBundleCache(BaseOperation):
|
||||
BundleParser().re_init()
|
||||
|
||||
|
||||
class RefreshWorldMapCache(BaseOperation):
|
||||
'''
|
||||
刷新 map 缓存
|
||||
'''
|
||||
_name = 'refresh_world_map_cache'
|
||||
|
||||
def run(self):
|
||||
MapParser().re_init()
|
||||
|
||||
|
||||
class SaveUpdateScore(BaseOperation):
|
||||
'''
|
||||
云存档更新成绩,是覆盖式更新
|
||||
|
||||
Reference in New Issue
Block a user