Module genshin.models.zzz.chronicle.stats

ZZZ data overview models.

Classes

class ZZZBaseBangboo (**data: Any)

Base bangboo (buddy) model.

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 allow self as a field name.

Expand source code
class ZZZBaseBangboo(APIModel):
    """Base bangboo (buddy) model."""

    id: int
    name: str
    rarity: typing.Literal["S", "A"]
    level: int
    star: int

Ancestors

Class variables

var id : int
var level : int
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var name : str
var rarity : Literal['S', 'A']
var star : int
class ZZZStats (**data: Any)

ZZZ data overview 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 allow self as a field name.

Expand source code
class ZZZStats(APIModel):
    """ZZZ data overview stats."""

    active_days: int
    character_num: int = Aliased("avatar_num")
    inter_knot_reputation: str = Aliased("world_level_name")
    shiyu_defense_frontiers: int = Aliased("cur_period_zone_layer_count")
    bangboo_obtained: int = Aliased("buddy_num")
    achievement_count: int

Ancestors

Class variables

var achievement_count : int
var active_days : int
var bangboo_obtained : int
var character_num : int
var inter_knot_reputation : str
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var shiyu_defense_frontiers : int
class ZZZUserStats (**data: Any)

Zenless Zone Zero user model.

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 allow self as a field name.

Expand source code
class ZZZUserStats(APIModel):
    """Zenless Zone Zero user model."""

    stats: ZZZStats
    agents: typing.Sequence[ZZZPartialAgent] = Aliased("avatar_list")
    bangboos: typing.Sequence[ZZZBaseBangboo] = Aliased("buddy_list")

Ancestors

Class variables

var agents : Sequence[ZZZPartialAgent]
var bangboos : Sequence[ZZZBaseBangboo]
var model_computed_fields
var model_config : pydantic.config.ConfigDict
var model_fields
var statsZZZStats