Genshin Abyss Models
abyss
Classes:
-
AbyssCharacter–Character with just a level.
-
AbyssRankCharacter–Character with a value of a rank.
-
Battle–Battle in the spiral abyss.
-
Chamber–Chamber of the spiral abyss.
-
CharacterRanks–Collection of rankings achieved during spiral abyss runs.
-
Floor–Floor of the spiral abyss.
-
SpiralAbyss–Information about Spiral Abyss runs during a specific season.
-
SpiralAbyssEnemy–An enemy in Spiral Abyss.
-
SpiralAbyssPair–Pair of both current and previous spiral abyss.
__all__
module-attribute
__all__ = ['AbyssCharacter', 'AbyssRankCharacter', 'Battle', 'Chamber', 'CharacterRanks', 'Floor', 'SpiralAbyss', 'SpiralAbyssEnemy', 'SpiralAbyssPair']
AbyssCharacter
pydantic-model
AbyssRankCharacter
pydantic-model
Battle
pydantic-model
Battle in the spiral abyss.
Fields:
-
half(int) -
timestamp(UnixDateTime) -
characters(Sequence[AbyssCharacter])
Chamber
pydantic-model
Chamber of the spiral abyss.
Fields:
-
chamber(int) -
stars(int) -
max_stars(Literal[3]) -
battles(Sequence[Battle]) -
first_half_enemies(Sequence[SpiralAbyssEnemy]) -
second_half_enemies(Sequence[SpiralAbyssEnemy])
CharacterRanks
pydantic-model
Collection of rankings achieved during spiral abyss runs.
Fields:
-
most_played(Sequence[AbyssRankCharacter]) -
most_kills(Sequence[AbyssRankCharacter]) -
strongest_strike(Sequence[AbyssRankCharacter]) -
most_damage_taken(Sequence[AbyssRankCharacter]) -
most_bursts_used(Sequence[AbyssRankCharacter]) -
most_skills_used(Sequence[AbyssRankCharacter])
Validators:
-
__filter_invalid_chars→most_played,most_kills,strongest_strike,most_damage_taken,most_bursts_used,most_skills_used
Floor
pydantic-model
Floor of the spiral abyss.
Fields:
SpiralAbyss
pydantic-model
Information about Spiral Abyss runs during a specific season.
Fields:
-
unlocked(bool) -
season(int) -
start_time(UnixDateTime) -
end_time(UnixDateTime) -
total_battles(int) -
total_wins(int) -
max_floor(str) -
total_stars(int) -
ranks(CharacterRanks) -
floors(Sequence[Floor])
Validators:
SpiralAbyssEnemy
pydantic-model
SpiralAbyssPair
pydantic-model
Pair of both current and previous spiral abyss.
This may not be a namedtuple due to how pydantic handles them.
Fields: