Module genshin.models.starrail.chronicle.stats
Starrail chronicle stats.
Classes
class PartialStarRailUserStats (**data: Any)
-
User stats with characters without equipment.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class PartialStarRailUserStats(APIModel): """User stats with characters without equipment.""" stats: StarRailStats characters: typing.Sequence[character.StarRailPartialCharacter] = Aliased("avatar_list")
Ancestors
- APIModel
- pydantic.main.BaseModel
Subclasses
Class variables
var characters : Sequence[StarRailPartialCharacter]
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var stats : StarRailStats
class StarRailStats (**data: Any)
-
Overall user stats.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class StarRailStats(APIModel): """Overall user stats.""" active_days: int avatar_num: int achievement_num: int chest_num: int abyss_process: str
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var abyss_process : str
var achievement_num : int
var active_days : int
var avatar_num : int
var chest_num : int
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
class StarRailUserInfo (**data: Any)
-
User info.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class StarRailUserInfo(APIModel): """User info.""" nickname: str server: str = Aliased("region") level: int avatar: str
Ancestors
- APIModel
- pydantic.main.BaseModel
Class variables
var avatar : str
var level : int
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var nickname : str
var server : str
class StarRailUserStats (**data: Any)
-
User stats.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class StarRailUserStats(PartialStarRailUserStats): """User stats.""" info: StarRailUserInfo
Ancestors
- PartialStarRailUserStats
- APIModel
- pydantic.main.BaseModel
Class variables
var info : StarRailUserInfo
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields