File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ import enum
2+
13import pydantic
24
35from .. import idol
46from .. import util
57from ..system import common
68
79
10+ class EventBonus (pydantic .BaseModel ):
11+ limited_bonus_type : int
12+ limited_bonus_value : int
13+
14+
15+ class EventCampaignList (pydantic .BaseModel ):
16+ fixed_message : str = ""
17+ live_limited_bonuses : list [EventBonus ]
18+
19+
20+ class EventBannerType (enum .IntEnum ):
21+ EVENT = 0
22+ DUEL = 7
23+ ARENA = 14
24+ CONCERT = 15
25+ CLASS_COMPETITION = 16
26+ CLASS = 17
27+
28+
29+ class Event (pydantic .BaseModel ):
30+ banner_type : EventBannerType
31+ asset_path : str
32+ start_date : str
33+ end_date : str
34+ is_locked : bool
35+ is_new : bool = True
36+ description : str = ""
37+ target_id : int | None = None
38+ # campaign_list: EventCampaignList | None = None
39+
40+
841class EventTargetList (pydantic .BaseModel ):
942 position : int
1043 is_displayable : bool = True
44+ event_list : list [Event ]
1145
1246
1347class EventListResponse (common .TimestampMixin ):
You can’t perform that action at this time.
0 commit comments