mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-16 03:55:28 +00:00
🐛 Fix starrail act calendar model
This commit is contained in:
parent
1ba4729700
commit
1e23a95b08
@ -31,8 +31,8 @@ class TimeInfo(APIModel):
|
|||||||
|
|
||||||
start_ts: datetime.datetime
|
start_ts: datetime.datetime
|
||||||
end_ts: datetime.datetime
|
end_ts: datetime.datetime
|
||||||
start_time: datetime.datetime
|
start_time: str
|
||||||
end_time: datetime.datetime
|
end_time: str
|
||||||
now: datetime.datetime
|
now: datetime.datetime
|
||||||
|
|
||||||
|
|
||||||
@ -72,6 +72,7 @@ class ActTypeEnum(str, Enum):
|
|||||||
|
|
||||||
Sign = "ActivityTypeSign"
|
Sign = "ActivityTypeSign"
|
||||||
Double = "ActivityTypeDouble"
|
Double = "ActivityTypeDouble"
|
||||||
|
RogueTourn = "ActivityTypeRogueTourn"
|
||||||
Other = "ActivityTypeOther"
|
Other = "ActivityTypeOther"
|
||||||
|
|
||||||
|
|
||||||
@ -88,11 +89,20 @@ class ActStatusEnum(str, Enum):
|
|||||||
DoubleRewardActStatusProgress = "DoubleRewardActStatusProgress"
|
DoubleRewardActStatusProgress = "DoubleRewardActStatusProgress"
|
||||||
DoubleRewardActStatusFinish = "DoubleRewardActStatusFinish"
|
DoubleRewardActStatusFinish = "DoubleRewardActStatusFinish"
|
||||||
|
|
||||||
|
RogueTournActStatusProgress = "RogueTournActStatusProgress"
|
||||||
|
|
||||||
OtherActStatusUnopened = "OtherActStatusUnopened"
|
OtherActStatusUnopened = "OtherActStatusUnopened"
|
||||||
OtherActStatusUnFinish = "OtherActStatusUnFinish"
|
OtherActStatusUnFinish = "OtherActStatusUnFinish"
|
||||||
OtherActStatusFinish = "OtherActStatusFinish"
|
OtherActStatusFinish = "OtherActStatusFinish"
|
||||||
|
|
||||||
|
|
||||||
|
class ActTimeTypeEnum(str, Enum):
|
||||||
|
"""An enumeration class representing the time type of an act in the StarRail act calendar."""
|
||||||
|
|
||||||
|
Default = "ActTimeTypeDefault"
|
||||||
|
Long = "ActTimeTypeLong"
|
||||||
|
|
||||||
|
|
||||||
class ActListItem(APIModel):
|
class ActListItem(APIModel):
|
||||||
"""A model representing an item in the StarRail act calendar."""
|
"""A model representing an item in the StarRail act calendar."""
|
||||||
|
|
||||||
@ -118,6 +128,7 @@ class ActListItem(APIModel):
|
|||||||
special_reward: RewardItem
|
special_reward: RewardItem
|
||||||
all_finished: bool
|
all_finished: bool
|
||||||
show_text: str
|
show_text: str
|
||||||
|
act_time_type: ActTimeTypeEnum
|
||||||
|
|
||||||
|
|
||||||
class ChallengeTypeEnum(str, Enum):
|
class ChallengeTypeEnum(str, Enum):
|
||||||
|
Loading…
Reference in New Issue
Block a user