init
This commit is contained in:
15
game_server/resource/configdb/maze_plane.py
Normal file
15
game_server/resource/configdb/maze_plane.py
Normal file
@@ -0,0 +1,15 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user