mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 22:04:36 +01:00
18 lines
433 B
Python
18 lines
433 B
Python
from dataclasses import dataclass
|
|
from game_server.resource.base_resource import BaseResource
|
|
from game_server.resource.decorators import GameResource
|
|
|
|
@dataclass
|
|
@GameResource("resources/ExcelOutputAsset/WeaponData.json")
|
|
class WeaponData(BaseResource):
|
|
ID: int
|
|
weaponMainID: int
|
|
maxLv: int
|
|
rarity: int
|
|
maxRarity: int
|
|
evoID: int
|
|
protect: bool
|
|
|
|
def get_index(self) -> str:
|
|
return str(self.ID)
|