mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-16 06:44:41 +01:00
Initial commit
This commit is contained in:
17
game_server/resource/configdb/weapon_data.py
Normal file
17
game_server/resource/configdb/weapon_data.py
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user