Skip to content

Genshin Hard Challenge Models

hard_challenge

Stygian Onslaught models.

Classes:

__all__ module-attribute

__all__ = ('HardChallenge', 'HardChallengeBestCharacter', 'HardChallengeBestCharacterType', 'HardChallengeBestRecord', 'HardChallengeChallenge', 'HardChallengeCharacter', 'HardChallengeData', 'HardChallengeEnemy', 'HardChallengeEnemyTag', 'HardChallengeSeason', 'HardChallengeTagElement', 'HardChallengeTagType')

HardChallenge pydantic-model

Stygian Onslaught data.

Fields:

multi_player pydantic-field

multi_player: HardChallengeData

season pydantic-field

single_player pydantic-field

single_player: HardChallengeData

HardChallengeBestCharacter pydantic-model

Best character in Stygian Onslaught.

Fields:

id pydantic-field

id: int

side_icon pydantic-field

side_icon: str

type pydantic-field

value pydantic-field

value: str

HardChallengeBestCharacterType

Type of best character in Stygian Onslaught.

Attributes:

  • DAMAGE

    Highest total damage dealt.

  • STRIKE

    Strongest single strike.

DAMAGE class-attribute instance-attribute

DAMAGE = 2

Highest total damage dealt.

STRIKE class-attribute instance-attribute

STRIKE = 1

Strongest single strike.

HardChallengeBestRecord pydantic-model

Best record for a Stygian Onslaught season.

Fields:

Validators:

difficulty pydantic-field

difficulty: int

icon pydantic-field

icon: str

Badge icon filename.

time_used pydantic-field

time_used: int

Time used for challenge in seconds.

__parse_icon pydantic-validator

__parse_icon(v: str) -> str

HardChallengeChallenge pydantic-model

A single/multi player challenge in Stygian Onslaught.

Fields:

best_characters pydantic-field

best_characters: list[HardChallengeBestCharacter]

enemy pydantic-field

name pydantic-field

name: str

team pydantic-field

time_used pydantic-field

time_used: int

Time used for challenge in seconds.

HardChallengeCharacter pydantic-model

A character in Stygian Onslaught.

Fields:

constellation pydantic-field

constellation: int

element pydantic-field

element: str

icon pydantic-field

icon: str

id pydantic-field

id: int

level pydantic-field

level: LevelField

name pydantic-field

name: str

rarity pydantic-field

rarity: int

HardChallengeData pydantic-model

Stygian Onslaught single/multi player data.

Fields:

best_record pydantic-field

challenges pydantic-field

has_data pydantic-field

has_data: bool

HardChallengeEnemy pydantic-model

An enemy in Stygian Onslaught.

Fields:

descriptions pydantic-field

descriptions: list[str]

icon pydantic-field

icon: str

id pydantic-field

id: int

level pydantic-field

level: LevelField

name pydantic-field

name: str

tags pydantic-field

HardChallengeEnemyTag pydantic-model

An enemy tag in Stygian Onslaught.

Fields:

Validators:

elements pydantic-field

type pydantic-field

__parse_elements pydantic-validator

__parse_elements(v: dict[str, Any]) -> dict[str, Any]

Parse elements from string to HardChallengeTagElement enum.

HardChallengeSeason pydantic-model

A season of Stygian Onslaught.

Fields:

end_at pydantic-field

end_at: DateTime

id pydantic-field

id: int

name pydantic-field

name: str

start_at pydantic-field

start_at: DateTime

HardChallengeTagElement

Element of tag in Stygian Onslaught.

Attributes:

CRYO class-attribute instance-attribute

CRYO = '{SPRITE_PRESET#11001}'

DENDRO class-attribute instance-attribute

DENDRO = '{SPRITE_PRESET#11007}'

HYDRO class-attribute instance-attribute

HYDRO = '{SPRITE_PRESET#11002}'

PYRO class-attribute instance-attribute

PYRO = '{SPRITE_PRESET#11003}'

HardChallengeTagType

Type of tag in Stygian Onslaught.

Attributes:

ADVANTAGE class-attribute instance-attribute

ADVANTAGE = 1

DISADVANTAGE class-attribute instance-attribute

DISADVANTAGE = 0