Support starrail notes rogue tourn weekly

This commit is contained in:
xtaodada 2024-06-20 23:09:07 +08:00
parent 13a0d8a4f6
commit 6c2c41239e
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -80,6 +80,13 @@ class StarRailNote(APIModel):
is_reserve_stamina_full: bool
"""Whether the reserve stamina is full"""
rogue_tourn_weekly_unlocked: bool
"""Whether the rogue tournament is unlocked"""
rogue_tourn_weekly_max: int
"""The max number of rogue tournament attempts"""
rogue_tourn_weekly_cur: int
"""The current number of rogue tournament attempts"""
class StarRailNoteWidget(APIModel):
"""Represents a StarRail Note.
@ -122,6 +129,13 @@ class StarRailNoteWidget(APIModel):
has_signed: bool
"""Whether the user has signed in today"""
rogue_tourn_weekly_unlocked: bool
"""Whether the rogue tournament is unlocked"""
rogue_tourn_weekly_max: int
"""The max number of rogue tournament attempts"""
rogue_tourn_weekly_cur: int
"""The current number of rogue tournament attempts"""
class StarRailNoteOverseaWidgetChallenge(APIModel):
"""Represents a StarRail Note.