23 lines
599 B
Python
23 lines
599 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/ChallengeMazeConfig.json")
|
|
class ChallengeMazeConfig(BaseResource):
|
|
ID: int
|
|
MazeBuffID: int
|
|
ChallengeCountDown: int
|
|
MapEntranceID: int
|
|
MapEntranceID2: int
|
|
MazeGroupID1: int
|
|
MazeGroupID2: int
|
|
GroupID: int
|
|
EventIDList1: list
|
|
EventIDList2: list
|
|
NpcMonsterIDList1: list
|
|
NpcMonsterIDList2: list
|
|
|
|
def get_index(self) -> str:
|
|
return str(self.ID)
|