17 lines
409 B
Python
17 lines
409 B
Python
from dataclasses import dataclass
|
|
from game_server.resource.base_resource import BaseResource
|
|
from game_server.resource.decorators import GameResource
|
|
|
|
@dataclass
|
|
@GameResource("resources/ExcelOutput/RelicSubAffixConfig.json")
|
|
class RelicSubAffixConfigData(BaseResource):
|
|
GroupID: int
|
|
AffixID: int
|
|
StepNum: int
|
|
Property: str
|
|
|
|
def get_index(self) -> str:
|
|
return str(self.GroupID)
|
|
|
|
|