Initial commit

This commit is contained in:
Naruse
2024-11-07 23:25:15 +08:00
commit e8e5f3a1a7
246 changed files with 27356 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from dataclasses import dataclass
from game_server.resource.base_resource import BaseResource
from game_server.resource.decorators import GameResource
@dataclass
@GameResource("resources/ExcelOutputAsset/AvatarData.json")
class AvatarData(BaseResource):
avatarID: int
DefaultDressId: int
unlockStar: int
initialWeapon: int
skillList: list
def on_load(self) -> bool:
return self.avatarID != 316 and (self.avatarID < 9000 or self.avatarID > 20000)
def get_index(self) -> str:
return str(self.avatarID)