Add reserve stamina to HSR notes

This commit is contained in:
xtaodada 2023-09-01 00:29:22 +08:00
parent 62d9a3fe3c
commit afd67c000e
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -49,6 +49,8 @@ class StarRailNote(APIModel):
max_rogue_score (int): The max simulated universe weekly points. max_rogue_score (int): The max simulated universe weekly points.
remaining_weekly_discounts (int): The remaining echo of war rewards. remaining_weekly_discounts (int): The remaining echo of war rewards.
max_weekly_discounts (int): The echo of war attempt limit. max_weekly_discounts (int): The echo of war attempt limit.
current_reserve_stamina (int): The current reserve stamina.
is_reserve_stamina_full (bool): Whether the reserve stamina is full.
""" """
current_stamina: int current_stamina: int
@ -73,6 +75,11 @@ class StarRailNote(APIModel):
max_weekly_discounts: int = Field(alias="weekly_cocoon_limit") max_weekly_discounts: int = Field(alias="weekly_cocoon_limit")
"""Echo of war attempt limit""" """Echo of war attempt limit"""
current_reserve_stamina: int
"""Current reserve stamina"""
is_reserve_stamina_full: bool
"""Whether the reserve stamina is full"""
class StarRailNoteWidget(APIModel): class StarRailNoteWidget(APIModel):
"""Represents a StarRail Note. """Represents a StarRail Note.