16 lines
479 B
Python
16 lines
479 B
Python
from dataclasses import dataclass
|
|
from game_server.resource.base_resource import BaseResource
|
|
from game_server.resource.decorators import GameResource
|
|
from game_server.game.enums.scene.game_mode_type import GameModeTypeEnum
|
|
|
|
@dataclass
|
|
@GameResource("resources/ExcelOutput/MazePlane.json")
|
|
class MazePlaneData(BaseResource):
|
|
PlaneID: int
|
|
PlaneType: GameModeTypeEnum
|
|
WorldID: int
|
|
StartFloorID: int
|
|
|
|
def get_index(self) -> str:
|
|
return str(self.PlaneID)
|