mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-22 14:28:08 +00:00
32 lines
545 B
Python
32 lines
545 B
Python
"""Starrail base character model."""
|
|
from simnet.models.base import APIModel
|
|
|
|
|
|
class StarRailBaseCharacter(APIModel):
|
|
"""Base character model."""
|
|
|
|
id: int
|
|
element: str
|
|
rarity: int
|
|
icon: str
|
|
|
|
|
|
class StarRailPartialCharacter(StarRailBaseCharacter):
|
|
"""Character without any equipment."""
|
|
|
|
name: str
|
|
level: int
|
|
rank: int
|
|
|
|
|
|
class FloorCharacter(StarRailBaseCharacter):
|
|
"""Character in a floor."""
|
|
|
|
level: int
|
|
|
|
|
|
class RogueCharacter(StarRailBaseCharacter):
|
|
"""Rogue character model."""
|
|
|
|
level: int
|