14 lines
356 B
Python
14 lines
356 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/PlayerIconConfig.json")
|
|
class PlayerIconConfig(BaseResource):
|
|
ID: int
|
|
IsVisible: bool
|
|
|
|
def get_index(self) -> str:
|
|
return str(self.ID)
|