mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-25 15:42:16 +00:00
35 lines
618 B
Python
35 lines
618 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 RogueCharacter(StarRailBaseCharacter):
|
|
"""Rogue character model."""
|
|
|
|
level: int
|
|
rank: int
|
|
is_trial: bool = False
|
|
|
|
|
|
class ActivityCharacter(StarRailBaseCharacter):
|
|
"""Combat character model."""
|
|
|
|
level: int
|
|
is_trial: bool = False
|