init
This commit is contained in:
12
game_server/resource/configdb/map_default_entrance.py
Normal file
12
game_server/resource/configdb/map_default_entrance.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from dataclasses import dataclass
|
||||
from game_server.resource.base_resource import BaseResource
|
||||
from game_server.resource.decorators import GameResource
|
||||
|
||||
@dataclass
|
||||
@GameResource("resources/ExcelOutput/MapDefaultEntrance.json")
|
||||
class MapDefaultEntranceData(BaseResource):
|
||||
EntranceID: int
|
||||
FloorID: int
|
||||
|
||||
def get_index(self) -> str:
|
||||
return str(self.FloorID)
|
||||
Reference in New Issue
Block a user