feat: Implement Character Tutorial

This commit is contained in:
Naruse
2024-11-09 11:17:18 +08:00
parent ff0a1212d1
commit 4b9a4e171e
4 changed files with 59 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
from dataclasses import dataclass
from game_server.resource.base_resource import BaseResource
from game_server.resource.decorators import GameResource
@dataclass
@GameResource("resources/ExcelOutputAsset/GeneralActivity.json")
class GeneralActivityData(BaseResource):
AcitivityID: int
Series: int
def get_index(self) -> str:
return str(self.AcitivityID)

View File

@@ -0,0 +1,12 @@
from dataclasses import dataclass
from game_server.resource.base_resource import BaseResource
from game_server.resource.decorators import GameResource
@dataclass
@GameResource("resources/ExcelOutputAsset/GeneralActivityStageGroup.json")
class GeneralActivityStageGroupData(BaseResource):
AcitivityID: int
StageGroupID: int
def get_index(self) -> str:
return str(self.AcitivityID)