mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 06:14:35 +01:00
Initial commit
This commit is contained in:
13
game_server/resource/configdb/mission_data.py
Normal file
13
game_server/resource/configdb/mission_data.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from dataclasses import dataclass
|
||||
from game_server.resource.base_resource import BaseResource
|
||||
from game_server.resource.decorators import GameResource
|
||||
|
||||
@dataclass
|
||||
@GameResource("resources/ExcelOutputAsset/MissionData.json")
|
||||
class MissionData(BaseResource):
|
||||
id: int
|
||||
Priority: int
|
||||
totalProgress: int
|
||||
|
||||
def get_index(self) -> str:
|
||||
return str(self.id)
|
||||
Reference in New Issue
Block a user