-
Notifications
You must be signed in to change notification settings - Fork 14
/
spiralAbyss.interface.ts
183 lines (178 loc) · 3.59 KB
/
spiralAbyss.interface.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/**
* Represents an avatar rank in the Spiral Abyss event in Genshin Impact.
*/
export interface IGenshinSpiralAbyssRank {
/**
* The ID of the avatar.
*/
avatar_id: number
/**
* The icon of the avatar.
*/
avatar_icon: string
/**
* The rank value of the avatar.
*/
value: number
/**
* The rarity of the avatar.
*/
rarity: number
}
/**
* Represents an avatar in the Spiral Abyss event in Genshin Impact.
*/
export interface IGenshinSpiralAbyssAvatar {
/**
* The ID of the avatar.
*/
id: number
/**
* The icon of the avatar.
*/
icon: string
/**
* The level of the avatar.
*/
level: number
/**
* The rarity of the avatar.
*/
rarity: number
}
/**
* Represents a battle in the Spiral Abyss event in Genshin Impact.
*/
export interface IGenshinSpiralAbyssBattle {
/**
* The index of the battle.
*/
index: number
/**
* The timestamp of the battle.
*/
timestamp: string
/**
* The avatars involved in the battle.
*/
avatars: IGenshinSpiralAbyssAvatar[]
}
/**
* Represents a level in the Spiral Abyss event in Genshin Impact.
*/
export interface IGenshinSpiralAbyssLevel {
/**
* The index of the level.
*/
index: number
/**
* The star rating of the level.
*/
star: number
/**
* The maximum star rating of the level.
*/
max_star: number
/**
* The battles that occurred in the level.
*/
battles: IGenshinSpiralAbyssBattle[]
}
/**
* Represents the floor of the Spiral Abyss in Genshin Impact.
*/
export interface IGenshinSpiralAbyssFloor {
/**
* The floor index.
*/
index: number
/**
* The icon of the floor.
*/
icon: string
/**
* Whether the floor is unlocked.
*/
is_unlock: boolean
/**
* The time when the floor was completed and settled.
*/
settle_time: string
/**
* The number of stars obtained in the floor.
*/
star: number
/**
* The maximum number of stars that can be obtained in the floor.
*/
max_star: number
/**
* The levels in the floor.
*/
levels: IGenshinSpiralAbyssLevel[]
}
/**
* Represents the Spiral Abyss in Genshin Impact.
*/
export interface IGenshinSpiralAbyss {
/**
* The ID of the Spiral Abyss schedule.
*/
schedule_id: number
/**
* The start time of the Spiral Abyss.
*/
start_time: string
/**
* The end time of the Spiral Abyss.
*/
end_time: string
/**
* The total number of battles fought in the Spiral Abyss.
*/
total_battle_times: number
/**
* The total number of battles won in the Spiral Abyss.
*/
total_win_times: number
/**
* The maximum floor reached in the Spiral Abyss.
*/
max_floor: string
/**
* The rankings for revealing the floor in the Spiral Abyss.
*/
reveal_rank: IGenshinSpiralAbyssRank[]
/**
* The rankings for defeating the monsters in the Spiral Abyss.
*/
defeat_rank: IGenshinSpiralAbyssRank[]
/**
* The rankings for damage dealt in the Spiral Abyss.
*/
damage_rank: IGenshinSpiralAbyssRank[]
/**
* The rankings for taking damage in the Spiral Abyss.
*/
take_damage_rank: IGenshinSpiralAbyssRank[]
/**
* The rankings for using normal skills in the Spiral Abyss.
*/
normal_skill_rank: IGenshinSpiralAbyssRank[]
/**
* The rankings for using elemental burst skills in the Spiral Abyss.
*/
energy_skill_rank: IGenshinSpiralAbyssRank[]
/**
* The floors in the Spiral Abyss.
*/
floors: IGenshinSpiralAbyssFloor[]
/**
* The total number of stars obtained in the Spiral Abyss.
*/
total_star: number
/**
* Whether the Spiral Abyss is unlocked.
*/
is_unlock: boolean
}