14 lines
439 B
Python
14 lines
439 B
Python
from dataclasses import dataclass
|
|
from game_server.resource.base_resource import BaseResource
|
|
from game_server.resource.decorators import GameResource, LoadPriority
|
|
|
|
@dataclass
|
|
@GameResource("resources/ExcelOutput/AvatarSkillTreeConfig.json", load_priority=LoadPriority.HIGH)
|
|
class AvatarSkillTreeConfig(BaseResource):
|
|
AvatarID: int
|
|
MaxLevel: int
|
|
PointID: int
|
|
|
|
def get_index(self) -> str:
|
|
return str(self.AvatarID)
|