@bluebottle_gg/league-broadcast-client 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +713 -728
- package/dist/index.js +491 -61
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This is an auto-generated file.
|
|
3
3
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
4
4
|
*/
|
|
5
|
-
declare enum GameState
|
|
5
|
+
declare enum GameState {
|
|
6
6
|
OutOfGame = 0,
|
|
7
7
|
Loading = 1,
|
|
8
8
|
Running = 2,
|
|
@@ -16,94 +16,26 @@ declare enum GameState$1 {
|
|
|
16
16
|
* This is an auto-generated file.
|
|
17
17
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
18
18
|
*/
|
|
19
|
-
declare class
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
tileImg: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* This is an auto-generated file.
|
|
32
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
declare class damageCompositionPlayer {
|
|
36
|
-
champion?: simpleChampionData$1;
|
|
37
|
-
name: string;
|
|
38
|
-
displayName: string;
|
|
39
|
-
physical: number;
|
|
40
|
-
magic: number;
|
|
41
|
-
trueDamage: number;
|
|
42
|
-
total: number;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* This is an auto-generated file.
|
|
47
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
48
|
-
*/
|
|
49
|
-
|
|
50
|
-
declare class damageCompositionTeam {
|
|
51
|
-
team: number;
|
|
52
|
-
physical: number;
|
|
53
|
-
magic: number;
|
|
54
|
-
trueDamage: number;
|
|
55
|
-
total: number;
|
|
56
|
-
players: damageCompositionPlayer[];
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* This is an auto-generated file.
|
|
61
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
declare class ingameDamageCompositionData {
|
|
65
|
-
teams: damageCompositionTeam[];
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* This is an auto-generated file.
|
|
70
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
71
|
-
*/
|
|
72
|
-
declare class damageFlowEdge {
|
|
73
|
-
sourceName: string;
|
|
74
|
-
sourceDisplayName: string;
|
|
75
|
-
targetName: string;
|
|
76
|
-
targetDisplayName: string;
|
|
77
|
-
totalDamage: number;
|
|
78
|
-
damageByType: {
|
|
79
|
-
[key: string]: number;
|
|
80
|
-
};
|
|
19
|
+
declare class championCombatStats {
|
|
20
|
+
attackDamage: number;
|
|
21
|
+
abilityPower: number;
|
|
22
|
+
armor: number;
|
|
23
|
+
magicResist: number;
|
|
24
|
+
attackSpeed: number;
|
|
25
|
+
attackSpeedIsMultiplierOnly: boolean;
|
|
26
|
+
moveSpeed: number;
|
|
81
27
|
}
|
|
82
28
|
|
|
83
29
|
/**
|
|
84
30
|
* This is an auto-generated file.
|
|
85
31
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
86
32
|
*/
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
champion?: simpleChampionData$1;
|
|
33
|
+
declare class championRuneStat {
|
|
34
|
+
id: number;
|
|
90
35
|
name: string;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
totalDamageReceived: number;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* This is an auto-generated file.
|
|
99
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
100
|
-
*/
|
|
101
|
-
|
|
102
|
-
declare class ingameDamageFlowData {
|
|
103
|
-
nodes: damageFlowNode[];
|
|
104
|
-
edges: damageFlowEdge[];
|
|
105
|
-
startTime?: number;
|
|
106
|
-
endTime: number;
|
|
36
|
+
icon: string;
|
|
37
|
+
value: number;
|
|
38
|
+
statModValue: number;
|
|
107
39
|
}
|
|
108
40
|
|
|
109
41
|
/**
|
|
@@ -171,16 +103,6 @@ declare class ingameAbilityInfo {
|
|
|
171
103
|
assets?: championAbilityData;
|
|
172
104
|
}
|
|
173
105
|
|
|
174
|
-
/**
|
|
175
|
-
* This is an auto-generated file.
|
|
176
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
177
|
-
*/
|
|
178
|
-
declare class ingameExperienceData {
|
|
179
|
-
previousLevel: number;
|
|
180
|
-
current: number;
|
|
181
|
-
nextLevel: number;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
106
|
/**
|
|
185
107
|
* This is an auto-generated file.
|
|
186
108
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
@@ -247,13 +169,157 @@ declare class itemWithAsset {
|
|
|
247
169
|
charges: number;
|
|
248
170
|
}
|
|
249
171
|
|
|
172
|
+
/**
|
|
173
|
+
* This is an auto-generated file.
|
|
174
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
175
|
+
*/
|
|
176
|
+
declare class simpleChampionData {
|
|
177
|
+
id: number;
|
|
178
|
+
alias: string;
|
|
179
|
+
name: string;
|
|
180
|
+
splashCenteredImg: string;
|
|
181
|
+
splashImg: string;
|
|
182
|
+
loadingImg: string;
|
|
183
|
+
squareImg: string;
|
|
184
|
+
tileImg: string;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* This is an auto-generated file.
|
|
189
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
190
|
+
*/
|
|
191
|
+
declare enum Team {
|
|
192
|
+
None = 0,
|
|
193
|
+
Order = 1,
|
|
194
|
+
Chaos = 2,
|
|
195
|
+
Neutral = 3
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* This is an auto-generated file.
|
|
200
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
declare class championDetailData {
|
|
204
|
+
playerIndex: number;
|
|
205
|
+
team: Team;
|
|
206
|
+
name: string;
|
|
207
|
+
displayName: string;
|
|
208
|
+
championAssets?: simpleChampionData;
|
|
209
|
+
level: number;
|
|
210
|
+
health: ingameHealthData;
|
|
211
|
+
resource: ingameResourceData;
|
|
212
|
+
stats: championCombatStats;
|
|
213
|
+
kills: number;
|
|
214
|
+
deaths: number;
|
|
215
|
+
assists: number;
|
|
216
|
+
creepScore: number;
|
|
217
|
+
gold: number;
|
|
218
|
+
totalGold: number;
|
|
219
|
+
shutdownGold: number;
|
|
220
|
+
respawnAt: number | null;
|
|
221
|
+
items?: itemWithAsset[];
|
|
222
|
+
summonerSpells: ingameAbilityInfo[];
|
|
223
|
+
abilities: ingameAbilityInfo[];
|
|
224
|
+
runes: championRuneStat[];
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* This is an auto-generated file.
|
|
229
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
230
|
+
*/
|
|
231
|
+
|
|
232
|
+
declare class damageCompositionPlayer {
|
|
233
|
+
champion?: simpleChampionData;
|
|
234
|
+
name: string;
|
|
235
|
+
displayName: string;
|
|
236
|
+
physical: number;
|
|
237
|
+
magic: number;
|
|
238
|
+
trueDamage: number;
|
|
239
|
+
total: number;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* This is an auto-generated file.
|
|
244
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
245
|
+
*/
|
|
246
|
+
|
|
247
|
+
declare class damageCompositionTeam {
|
|
248
|
+
team: number;
|
|
249
|
+
physical: number;
|
|
250
|
+
magic: number;
|
|
251
|
+
trueDamage: number;
|
|
252
|
+
total: number;
|
|
253
|
+
players: damageCompositionPlayer[];
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* This is an auto-generated file.
|
|
258
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
259
|
+
*/
|
|
260
|
+
|
|
261
|
+
declare class ingameDamageCompositionData {
|
|
262
|
+
teams: damageCompositionTeam[];
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* This is an auto-generated file.
|
|
267
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
268
|
+
*/
|
|
269
|
+
declare class damageFlowEdge {
|
|
270
|
+
sourceName: string;
|
|
271
|
+
sourceDisplayName: string;
|
|
272
|
+
targetName: string;
|
|
273
|
+
targetDisplayName: string;
|
|
274
|
+
totalDamage: number;
|
|
275
|
+
damageByType: {
|
|
276
|
+
[key: string]: number;
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* This is an auto-generated file.
|
|
282
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
283
|
+
*/
|
|
284
|
+
|
|
285
|
+
declare class damageFlowNode {
|
|
286
|
+
champion?: simpleChampionData;
|
|
287
|
+
name: string;
|
|
288
|
+
displayName: string;
|
|
289
|
+
team?: number;
|
|
290
|
+
totalDamageDealt: number;
|
|
291
|
+
totalDamageReceived: number;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* This is an auto-generated file.
|
|
296
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
297
|
+
*/
|
|
298
|
+
|
|
299
|
+
declare class ingameDamageFlowData {
|
|
300
|
+
nodes: damageFlowNode[];
|
|
301
|
+
edges: damageFlowEdge[];
|
|
302
|
+
startTime?: number;
|
|
303
|
+
endTime: number;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* This is an auto-generated file.
|
|
308
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
309
|
+
*/
|
|
310
|
+
declare class ingameExperienceData {
|
|
311
|
+
previousLevel: number;
|
|
312
|
+
current: number;
|
|
313
|
+
nextLevel: number;
|
|
314
|
+
}
|
|
315
|
+
|
|
250
316
|
/**
|
|
251
317
|
* This is an auto-generated file.
|
|
252
318
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
253
319
|
*/
|
|
254
320
|
|
|
255
321
|
declare class damageGraphEntry {
|
|
256
|
-
champion?: simpleChampionData
|
|
322
|
+
champion?: simpleChampionData;
|
|
257
323
|
abilities?: ingameAbilityInfo[];
|
|
258
324
|
activeItems?: itemWithAsset[];
|
|
259
325
|
name: string;
|
|
@@ -321,7 +387,7 @@ declare class damageRecapSpellEntry {
|
|
|
321
387
|
*/
|
|
322
388
|
|
|
323
389
|
declare class damageRecapEntry {
|
|
324
|
-
source?: simpleChampionData
|
|
390
|
+
source?: simpleChampionData;
|
|
325
391
|
sourceName: string;
|
|
326
392
|
sourceDisplayName: string;
|
|
327
393
|
team?: number;
|
|
@@ -366,7 +432,7 @@ declare enum ObjectiveRecapDisplayMode {
|
|
|
366
432
|
*/
|
|
367
433
|
|
|
368
434
|
declare class smiteReactionResult {
|
|
369
|
-
junglerChampion?: simpleChampionData
|
|
435
|
+
junglerChampion?: simpleChampionData;
|
|
370
436
|
junglerName: string;
|
|
371
437
|
junglerDisplayName: string;
|
|
372
438
|
junglerTeam: number;
|
|
@@ -385,7 +451,7 @@ declare class smiteReactionResult {
|
|
|
385
451
|
*/
|
|
386
452
|
|
|
387
453
|
declare class ingameDamageRecapData {
|
|
388
|
-
victim?: simpleChampionData
|
|
454
|
+
victim?: simpleChampionData;
|
|
389
455
|
victimName: string;
|
|
390
456
|
victimDisplayName: string;
|
|
391
457
|
deathTime: number;
|
|
@@ -393,7 +459,7 @@ declare class ingameDamageRecapData {
|
|
|
393
459
|
totalDamageReceived: number;
|
|
394
460
|
timeline?: damageRecapTimelineEntry[];
|
|
395
461
|
sourceLookup?: {
|
|
396
|
-
[key: string]: simpleChampionData
|
|
462
|
+
[key: string]: simpleChampionData;
|
|
397
463
|
};
|
|
398
464
|
spellLookup?: {
|
|
399
465
|
[key: string]: iSpellObjectResource;
|
|
@@ -429,7 +495,7 @@ declare class damageSplitSpellEntry {
|
|
|
429
495
|
*/
|
|
430
496
|
|
|
431
497
|
declare class damageSplitTargetEntry {
|
|
432
|
-
target?: simpleChampionData
|
|
498
|
+
target?: simpleChampionData;
|
|
433
499
|
targetName: string;
|
|
434
500
|
targetDisplayName: string;
|
|
435
501
|
team?: number;
|
|
@@ -447,7 +513,7 @@ declare class damageSplitTargetEntry {
|
|
|
447
513
|
|
|
448
514
|
declare class ingameDamageSplitData {
|
|
449
515
|
mode: DamageSplitMode;
|
|
450
|
-
source?: simpleChampionData
|
|
516
|
+
source?: simpleChampionData;
|
|
451
517
|
sourceName: string;
|
|
452
518
|
sourceDisplayName: string;
|
|
453
519
|
targets: damageSplitTargetEntry[];
|
|
@@ -463,7 +529,7 @@ declare class ingameDamageSplitData {
|
|
|
463
529
|
*/
|
|
464
530
|
|
|
465
531
|
declare class goldEfficiencyEntry {
|
|
466
|
-
champion?: simpleChampionData
|
|
532
|
+
champion?: simpleChampionData;
|
|
467
533
|
name: string;
|
|
468
534
|
displayName: string;
|
|
469
535
|
team: number;
|
|
@@ -530,7 +596,7 @@ declare class killParticipationLink {
|
|
|
530
596
|
*/
|
|
531
597
|
|
|
532
598
|
declare class killParticipationPlayer {
|
|
533
|
-
champion?: simpleChampionData
|
|
599
|
+
champion?: simpleChampionData;
|
|
534
600
|
name: string;
|
|
535
601
|
displayName: string;
|
|
536
602
|
team: number;
|
|
@@ -590,7 +656,7 @@ declare class cDragonPerkInfo {
|
|
|
590
656
|
*/
|
|
591
657
|
|
|
592
658
|
declare class ingameSingleRuneData {
|
|
593
|
-
champion?: simpleChampionData
|
|
659
|
+
champion?: simpleChampionData;
|
|
594
660
|
perks: cDragonPerkInfo[];
|
|
595
661
|
name: string;
|
|
596
662
|
team: number;
|
|
@@ -611,7 +677,7 @@ declare class ingameRuneData {
|
|
|
611
677
|
*/
|
|
612
678
|
|
|
613
679
|
declare class ingameScoreboardBottomPlayerData {
|
|
614
|
-
champion?: simpleChampionData
|
|
680
|
+
champion?: simpleChampionData;
|
|
615
681
|
name: string;
|
|
616
682
|
displayName?: string;
|
|
617
683
|
kills: number;
|
|
@@ -653,7 +719,7 @@ declare class ingameScoreboardBottomData {
|
|
|
653
719
|
* This is an auto-generated file.
|
|
654
720
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
655
721
|
*/
|
|
656
|
-
declare enum BestOfType
|
|
722
|
+
declare enum BestOfType {
|
|
657
723
|
BestOf1 = 1,
|
|
658
724
|
BestOf2 = 2,
|
|
659
725
|
BestOf3 = 3,
|
|
@@ -712,7 +778,7 @@ declare class ingameScoreboardTeamData {
|
|
|
712
778
|
declare class ingameScoreboardData {
|
|
713
779
|
teams: ingameScoreboardTeamData[];
|
|
714
780
|
gameTime: number;
|
|
715
|
-
bestOf: BestOfType
|
|
781
|
+
bestOf: BestOfType;
|
|
716
782
|
}
|
|
717
783
|
|
|
718
784
|
/**
|
|
@@ -733,7 +799,7 @@ declare class ingameSideInfoPageDisplayData {
|
|
|
733
799
|
*/
|
|
734
800
|
|
|
735
801
|
declare class ingameSideInfoPageRow {
|
|
736
|
-
champion?: simpleChampionData
|
|
802
|
+
champion?: simpleChampionData;
|
|
737
803
|
playerName?: string;
|
|
738
804
|
displayName?: string;
|
|
739
805
|
team?: number;
|
|
@@ -780,7 +846,7 @@ declare class ingameSkinDisplayPlayerData {
|
|
|
780
846
|
name: string;
|
|
781
847
|
playerName: string;
|
|
782
848
|
displayName: string;
|
|
783
|
-
champion?: simpleChampionData
|
|
849
|
+
champion?: simpleChampionData;
|
|
784
850
|
skinName: string;
|
|
785
851
|
splashCenteredUrl: string;
|
|
786
852
|
splashUrl: string;
|
|
@@ -807,17 +873,6 @@ declare class ingameSkinDisplayData {
|
|
|
807
873
|
teams: ingameSkinDisplayTeamData[];
|
|
808
874
|
}
|
|
809
875
|
|
|
810
|
-
/**
|
|
811
|
-
* This is an auto-generated file.
|
|
812
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
813
|
-
*/
|
|
814
|
-
declare enum Team$1 {
|
|
815
|
-
None = 0,
|
|
816
|
-
Order = 1,
|
|
817
|
-
Chaos = 2,
|
|
818
|
-
Neutral = 3
|
|
819
|
-
}
|
|
820
|
-
|
|
821
876
|
/**
|
|
822
877
|
* This is an auto-generated file.
|
|
823
878
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
@@ -829,9 +884,9 @@ declare class teamfightKillEvent {
|
|
|
829
884
|
killerDisplayName: string;
|
|
830
885
|
victimName: string;
|
|
831
886
|
victimDisplayName: string;
|
|
832
|
-
killerChampion?: simpleChampionData
|
|
833
|
-
victimChampion?: simpleChampionData
|
|
834
|
-
killerTeam: Team
|
|
887
|
+
killerChampion?: simpleChampionData;
|
|
888
|
+
victimChampion?: simpleChampionData;
|
|
889
|
+
killerTeam: Team;
|
|
835
890
|
assisterNames: string[];
|
|
836
891
|
assisterDisplayNames: string[];
|
|
837
892
|
}
|
|
@@ -842,10 +897,10 @@ declare class teamfightKillEvent {
|
|
|
842
897
|
*/
|
|
843
898
|
|
|
844
899
|
declare class teamfightTimelinePlayer {
|
|
845
|
-
champion?: simpleChampionData
|
|
900
|
+
champion?: simpleChampionData;
|
|
846
901
|
name: string;
|
|
847
902
|
displayName: string;
|
|
848
|
-
team: Team
|
|
903
|
+
team: Team;
|
|
849
904
|
totalDamage: number;
|
|
850
905
|
died: boolean;
|
|
851
906
|
}
|
|
@@ -894,14 +949,14 @@ declare class perkInfoV2 {
|
|
|
894
949
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
895
950
|
*/
|
|
896
951
|
|
|
897
|
-
declare class tabPlayer
|
|
952
|
+
declare class tabPlayer {
|
|
898
953
|
id: string;
|
|
899
954
|
playerName: string;
|
|
900
955
|
playerHashtag: string;
|
|
901
956
|
displayName: string;
|
|
902
957
|
givenName: string;
|
|
903
958
|
familyName: string;
|
|
904
|
-
championAssets?: simpleChampionData
|
|
959
|
+
championAssets?: simpleChampionData;
|
|
905
960
|
abilities: ingameAbilityInfo[];
|
|
906
961
|
perks: perkInfoV2[];
|
|
907
962
|
health: ingameHealthData;
|
|
@@ -921,7 +976,7 @@ declare class tabPlayer$1 {
|
|
|
921
976
|
|
|
922
977
|
declare class tabTeam {
|
|
923
978
|
id: number;
|
|
924
|
-
players: tabPlayer
|
|
979
|
+
players: tabPlayer[];
|
|
925
980
|
}
|
|
926
981
|
|
|
927
982
|
/**
|
|
@@ -1018,7 +1073,7 @@ declare class teamMember {
|
|
|
1018
1073
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1019
1074
|
*/
|
|
1020
1075
|
|
|
1021
|
-
declare class teamWithMembers
|
|
1076
|
+
declare class teamWithMembers {
|
|
1022
1077
|
members: teamMember[];
|
|
1023
1078
|
teamId: number;
|
|
1024
1079
|
name: string;
|
|
@@ -1037,15 +1092,15 @@ declare class teamWithMembers$1 {
|
|
|
1037
1092
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1038
1093
|
*/
|
|
1039
1094
|
|
|
1040
|
-
declare class ingameFrontendData
|
|
1095
|
+
declare class ingameFrontendData {
|
|
1041
1096
|
gameTime: number;
|
|
1042
1097
|
utcTime?: number;
|
|
1043
1098
|
playbackSpeed: number;
|
|
1044
1099
|
isTestingEnvironment?: boolean;
|
|
1045
1100
|
gameVersion: string;
|
|
1046
1101
|
patch?: string;
|
|
1047
|
-
teams?: teamWithMembers
|
|
1048
|
-
gameStatus: GameState
|
|
1102
|
+
teams?: teamWithMembers[];
|
|
1103
|
+
gameStatus: GameState;
|
|
1049
1104
|
scoreboard?: ingameScoreboardData;
|
|
1050
1105
|
tabs?: {
|
|
1051
1106
|
[key: string]: tabTeam;
|
|
@@ -1071,20 +1126,7 @@ declare class ingameFrontendData$1 {
|
|
|
1071
1126
|
damageComposition?: ingameDamageCompositionData;
|
|
1072
1127
|
damageFlow?: ingameDamageFlowData;
|
|
1073
1128
|
skinDisplay?: ingameSkinDisplayData;
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
* This is an auto-generated file.
|
|
1078
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
1079
|
-
*/
|
|
1080
|
-
declare enum GameState {
|
|
1081
|
-
OutOfGame = 0,
|
|
1082
|
-
Loading = 1,
|
|
1083
|
-
Running = 2,
|
|
1084
|
-
Paused = 3,
|
|
1085
|
-
Mocking = 4,
|
|
1086
|
-
GameOver = 5,
|
|
1087
|
-
ChampionSelect = 6
|
|
1129
|
+
championDetail: championDetailData | null;
|
|
1088
1130
|
}
|
|
1089
1131
|
|
|
1090
1132
|
/**
|
|
@@ -1146,7 +1188,7 @@ declare class GameStateStore {
|
|
|
1146
1188
|
private listeners;
|
|
1147
1189
|
/** Monotonically increasing version — used for cheap stale checks. */
|
|
1148
1190
|
private version;
|
|
1149
|
-
constructor(initialState: ingameFrontendData
|
|
1191
|
+
constructor(initialState: ingameFrontendData, initialGameState: GameState);
|
|
1150
1192
|
/** Return the current full snapshot. */
|
|
1151
1193
|
getSnapshot(): GameStateSnapshot;
|
|
1152
1194
|
/** Return the current version number. */
|
|
@@ -1191,15 +1233,15 @@ declare class GameStateStore {
|
|
|
1191
1233
|
*/
|
|
1192
1234
|
watchImmediate<S>(selector: (snapshot: GameStateSnapshot) => S, callback: (value: S, prev: S | undefined) => void, equalityFn?: EqualityFn<S>): () => void;
|
|
1193
1235
|
/** @internal Replace game data snapshot and notify listeners. */
|
|
1194
|
-
_setGameData(data: ingameFrontendData
|
|
1236
|
+
_setGameData(data: ingameFrontendData): void;
|
|
1195
1237
|
/** @internal Replace game state and notify listeners. */
|
|
1196
1238
|
_setGameState(state: GameState): void;
|
|
1197
1239
|
/** @internal Replace entire snapshot (used on game end / reset). */
|
|
1198
|
-
_reset(data: ingameFrontendData
|
|
1240
|
+
_reset(data: ingameFrontendData, state: GameState): void;
|
|
1199
1241
|
private emit;
|
|
1200
1242
|
}
|
|
1201
1243
|
interface GameStateSnapshot {
|
|
1202
|
-
readonly gameData: ingameFrontendData
|
|
1244
|
+
readonly gameData: ingameFrontendData;
|
|
1203
1245
|
readonly gameState: GameState;
|
|
1204
1246
|
/** Monotonic version counter — useful for cheap stale checks. */
|
|
1205
1247
|
readonly version: number;
|
|
@@ -1342,7 +1384,7 @@ declare class timelineEntry {
|
|
|
1342
1384
|
*/
|
|
1343
1385
|
|
|
1344
1386
|
declare class championSelectTeam {
|
|
1345
|
-
metaData?: teamWithMembers
|
|
1387
|
+
metaData?: teamWithMembers;
|
|
1346
1388
|
bans: banSlot[];
|
|
1347
1389
|
slots: pickSlot[];
|
|
1348
1390
|
timeline: timelineEntry[];
|
|
@@ -1350,7 +1392,7 @@ declare class championSelectTeam {
|
|
|
1350
1392
|
scoreMatch: teamScore;
|
|
1351
1393
|
scoreSeason: teamScore;
|
|
1352
1394
|
fearlessBans?: {
|
|
1353
|
-
[key: number]: simpleChampionData
|
|
1395
|
+
[key: number]: simpleChampionData[];
|
|
1354
1396
|
};
|
|
1355
1397
|
}
|
|
1356
1398
|
|
|
@@ -1366,7 +1408,7 @@ declare class champSelectStatePerformanceData {
|
|
|
1366
1408
|
* This is an auto-generated file.
|
|
1367
1409
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1368
1410
|
*/
|
|
1369
|
-
declare enum MatchRuleSet
|
|
1411
|
+
declare enum MatchRuleSet {
|
|
1370
1412
|
Standard = 0,
|
|
1371
1413
|
PartialFearless = 1,
|
|
1372
1414
|
Fearless = 2
|
|
@@ -1377,18 +1419,18 @@ declare enum MatchRuleSet$1 {
|
|
|
1377
1419
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1378
1420
|
*/
|
|
1379
1421
|
|
|
1380
|
-
declare class matchData
|
|
1422
|
+
declare class matchData {
|
|
1381
1423
|
matchId: number;
|
|
1382
1424
|
seasonId: number;
|
|
1383
1425
|
winnerId?: number;
|
|
1384
1426
|
isActive: boolean;
|
|
1385
|
-
type: BestOfType
|
|
1427
|
+
type: BestOfType;
|
|
1386
1428
|
nextMatchId?: number;
|
|
1387
1429
|
winnerNextMatchId?: number;
|
|
1388
1430
|
loserNextMatchId?: number;
|
|
1389
1431
|
name?: string;
|
|
1390
1432
|
date?: Date;
|
|
1391
|
-
ruleSet: MatchRuleSet
|
|
1433
|
+
ruleSet: MatchRuleSet;
|
|
1392
1434
|
onStage: boolean;
|
|
1393
1435
|
}
|
|
1394
1436
|
|
|
@@ -1398,10 +1440,10 @@ declare class matchData$1 {
|
|
|
1398
1440
|
*/
|
|
1399
1441
|
|
|
1400
1442
|
declare class champSelectStateMetaData {
|
|
1401
|
-
bestOfType: BestOfType
|
|
1443
|
+
bestOfType: BestOfType;
|
|
1402
1444
|
patch: string;
|
|
1403
1445
|
performanceData: champSelectStatePerformanceData;
|
|
1404
|
-
matchData?: matchData
|
|
1446
|
+
matchData?: matchData;
|
|
1405
1447
|
}
|
|
1406
1448
|
|
|
1407
1449
|
/**
|
|
@@ -1409,7 +1451,7 @@ declare class champSelectStateMetaData {
|
|
|
1409
1451
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1410
1452
|
*/
|
|
1411
1453
|
|
|
1412
|
-
declare class champSelectStateData
|
|
1454
|
+
declare class champSelectStateData {
|
|
1413
1455
|
isActive: boolean;
|
|
1414
1456
|
isConnected: boolean;
|
|
1415
1457
|
isTestingEnvironment: boolean;
|
|
@@ -1451,7 +1493,7 @@ declare class ChampSelectStateStore {
|
|
|
1451
1493
|
private listeners;
|
|
1452
1494
|
/** Monotonically increasing version — used for cheap stale checks. */
|
|
1453
1495
|
private version;
|
|
1454
|
-
constructor(initialState: champSelectStateData
|
|
1496
|
+
constructor(initialState: champSelectStateData);
|
|
1455
1497
|
/** Return the current full snapshot. */
|
|
1456
1498
|
getSnapshot(): ChampSelectSnapshot;
|
|
1457
1499
|
/** Return the current version number. */
|
|
@@ -1477,13 +1519,13 @@ declare class ChampSelectStateStore {
|
|
|
1477
1519
|
*/
|
|
1478
1520
|
watchImmediate<S>(selector: (snapshot: ChampSelectSnapshot) => S, callback: (value: S, prev: S | undefined) => void, equalityFn?: EqualityFn<S>): () => void;
|
|
1479
1521
|
/** @internal Replace champ-select data snapshot and notify listeners. */
|
|
1480
|
-
_setChampSelectData(data: champSelectStateData
|
|
1522
|
+
_setChampSelectData(data: champSelectStateData): void;
|
|
1481
1523
|
/** @internal Replace entire snapshot (used on champ select end / reset). */
|
|
1482
|
-
_reset(data: champSelectStateData
|
|
1524
|
+
_reset(data: champSelectStateData): void;
|
|
1483
1525
|
private emit;
|
|
1484
1526
|
}
|
|
1485
1527
|
interface ChampSelectSnapshot {
|
|
1486
|
-
readonly champSelectData: champSelectStateData
|
|
1528
|
+
readonly champSelectData: champSelectStateData;
|
|
1487
1529
|
/** Whether champ select is currently active. */
|
|
1488
1530
|
readonly isActive: boolean;
|
|
1489
1531
|
/** Monotonic version counter — useful for cheap stale checks. */
|
|
@@ -1495,40 +1537,213 @@ interface ChampSelectSnapshot {
|
|
|
1495
1537
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1496
1538
|
*/
|
|
1497
1539
|
|
|
1498
|
-
declare class
|
|
1540
|
+
declare class postGameDamageGraphEntry {
|
|
1541
|
+
champion?: simpleChampionData;
|
|
1542
|
+
damage: number;
|
|
1543
|
+
magicDamage: number;
|
|
1544
|
+
physicalDamage: number;
|
|
1545
|
+
trueDamage: number;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* This is an auto-generated file.
|
|
1550
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1551
|
+
*/
|
|
1552
|
+
|
|
1553
|
+
declare class postGameDamageGraphByTeam {
|
|
1554
|
+
entries: postGameDamageGraphEntry[];
|
|
1555
|
+
team: teamWithMembers;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* This is an auto-generated file.
|
|
1560
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1561
|
+
*/
|
|
1562
|
+
|
|
1563
|
+
declare class postGameDamageGraph {
|
|
1564
|
+
damageByTeam: {
|
|
1565
|
+
[key: number]: postGameDamageGraphByTeam;
|
|
1566
|
+
};
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* This is an auto-generated file.
|
|
1571
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1572
|
+
*/
|
|
1573
|
+
declare class singleGameGoldGraph {
|
|
1574
|
+
goldAtTime: {
|
|
1575
|
+
[key: number]: {
|
|
1576
|
+
[key: number]: number;
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
winner?: number;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* This is an auto-generated file.
|
|
1584
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1585
|
+
*/
|
|
1586
|
+
declare class teamData {
|
|
1587
|
+
teamId: number;
|
|
1588
|
+
name: string;
|
|
1589
|
+
tag: string;
|
|
1590
|
+
description?: string;
|
|
1591
|
+
iconUri?: string;
|
|
1592
|
+
isActive: boolean;
|
|
1593
|
+
primaryColor?: number;
|
|
1594
|
+
secondaryColor?: number;
|
|
1595
|
+
tertiaryColor?: number;
|
|
1596
|
+
backgroundColor?: number;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* This is an auto-generated file.
|
|
1601
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1602
|
+
*/
|
|
1603
|
+
|
|
1604
|
+
declare class postGameGoldGraph {
|
|
1605
|
+
current: singleGameGoldGraph;
|
|
1606
|
+
previousGames?: singleGameGoldGraph[];
|
|
1607
|
+
title?: string;
|
|
1608
|
+
teams: {
|
|
1609
|
+
[key: number]: teamData;
|
|
1610
|
+
};
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* This is an auto-generated file.
|
|
1615
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1616
|
+
*/
|
|
1617
|
+
|
|
1618
|
+
declare class postGameTeamOverview {
|
|
1619
|
+
kills: number;
|
|
1620
|
+
deaths: number;
|
|
1621
|
+
assists: number;
|
|
1622
|
+
gold: number;
|
|
1623
|
+
towers: number;
|
|
1624
|
+
grubs: number;
|
|
1625
|
+
heralds: number;
|
|
1626
|
+
dragons: string[];
|
|
1627
|
+
elderDragons: number;
|
|
1628
|
+
baronNashors: number;
|
|
1629
|
+
bans: simpleChampionData[];
|
|
1630
|
+
metaData?: teamWithMembers;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* This is an auto-generated file.
|
|
1635
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1636
|
+
*/
|
|
1637
|
+
|
|
1638
|
+
declare class postGameOverview {
|
|
1499
1639
|
gameTime: number;
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
teams?: teamWithMembers$1[];
|
|
1506
|
-
gameStatus: GameState$1;
|
|
1507
|
-
scoreboard?: ingameScoreboardData;
|
|
1508
|
-
tabs?: {
|
|
1509
|
-
[key: string]: tabTeam;
|
|
1640
|
+
gameDate?: Date;
|
|
1641
|
+
patch: string;
|
|
1642
|
+
winnerSide?: number;
|
|
1643
|
+
teamInfoBySide: {
|
|
1644
|
+
[key: number]: teamData;
|
|
1510
1645
|
};
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1646
|
+
teamOverviewBySide: {
|
|
1647
|
+
[key: number]: postGameTeamOverview;
|
|
1648
|
+
};
|
|
1649
|
+
goldGraph?: postGameGoldGraph;
|
|
1650
|
+
damageGraph?: postGameDamageGraph;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* This is an auto-generated file.
|
|
1655
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
1656
|
+
*/
|
|
1657
|
+
|
|
1658
|
+
declare class activeComponentChangedEventArgs {
|
|
1659
|
+
componentName?: string;
|
|
1660
|
+
gameId?: number;
|
|
1661
|
+
matchId?: number;
|
|
1662
|
+
playerIndex?: number;
|
|
1663
|
+
team?: Team;
|
|
1664
|
+
componentSettings?: {
|
|
1665
|
+
[key: string]: string;
|
|
1666
|
+
};
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
declare class postGameStateData {
|
|
1670
|
+
isActive: boolean;
|
|
1671
|
+
isConnected: boolean;
|
|
1672
|
+
isMocking: boolean;
|
|
1673
|
+
gameId?: number;
|
|
1674
|
+
overview: postGameOverview | null;
|
|
1675
|
+
activeComponent?: activeComponentChangedEventArgs | null;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* Reactive store for League Broadcast post-game state.
|
|
1680
|
+
*
|
|
1681
|
+
* Follows the same selector-based model as {@link GameStateStore} but holds
|
|
1682
|
+
* `postGameStateData` instead of ingame data.
|
|
1683
|
+
*
|
|
1684
|
+
* @example Vanilla JS
|
|
1685
|
+
* ```ts
|
|
1686
|
+
* const overview = store.select(s => s.postGameData.overview);
|
|
1687
|
+
* overview.subscribe(() => {
|
|
1688
|
+
* console.log('Overview changed:', overview.getSnapshot());
|
|
1689
|
+
* });
|
|
1690
|
+
* ```
|
|
1691
|
+
*
|
|
1692
|
+
* @example React 18+
|
|
1693
|
+
* ```tsx
|
|
1694
|
+
* function Winner() {
|
|
1695
|
+
* const overview = useSyncExternalStore(
|
|
1696
|
+
* store.select(s => s.postGameData.overview).subscribe,
|
|
1697
|
+
* store.select(s => s.postGameData.overview).getSnapshot,
|
|
1698
|
+
* );
|
|
1699
|
+
* return <div>{overview?.winnerSide}</div>;
|
|
1700
|
+
* }
|
|
1701
|
+
* ```
|
|
1702
|
+
*/
|
|
1703
|
+
declare class PostGameStateStore {
|
|
1704
|
+
/** Current immutable snapshot. Replaced (never mutated) on every update. */
|
|
1705
|
+
private snapshot;
|
|
1706
|
+
/** Global listeners — called on every state change regardless of selector. */
|
|
1707
|
+
private listeners;
|
|
1708
|
+
/** Monotonically increasing version — used for cheap stale checks. */
|
|
1709
|
+
private version;
|
|
1710
|
+
constructor(initialState: postGameStateData);
|
|
1711
|
+
/** Return the current full snapshot. */
|
|
1712
|
+
getSnapshot(): PostGameSnapshot;
|
|
1713
|
+
/** Return the current version number. */
|
|
1714
|
+
getVersion(): number;
|
|
1715
|
+
/**
|
|
1716
|
+
* Subscribe to **all** state changes (unfiltered).
|
|
1717
|
+
* Returns an unsubscribe function.
|
|
1718
|
+
*/
|
|
1719
|
+
subscribe(listener: () => void): () => void;
|
|
1720
|
+
/**
|
|
1721
|
+
* Create a **subscribable slice** that only triggers when the selected
|
|
1722
|
+
* value changes according to `equalityFn` (defaults to `===`).
|
|
1723
|
+
*/
|
|
1724
|
+
select<S>(selector: (snapshot: PostGameSnapshot) => S, equalityFn?: EqualityFn<S>): Subscribable<S>;
|
|
1725
|
+
/**
|
|
1726
|
+
* Watch a derived value and invoke `callback` whenever it changes.
|
|
1727
|
+
* Returns an unsubscribe function.
|
|
1728
|
+
*/
|
|
1729
|
+
watch<S>(selector: (snapshot: PostGameSnapshot) => S, callback: (value: S, prev: S) => void, equalityFn?: EqualityFn<S>): () => void;
|
|
1730
|
+
/**
|
|
1731
|
+
* Watch a derived value and invoke `callback` whenever it changes,
|
|
1732
|
+
* **and** invoke it immediately with the current value.
|
|
1733
|
+
*/
|
|
1734
|
+
watchImmediate<S>(selector: (snapshot: PostGameSnapshot) => S, callback: (value: S, prev: S | undefined) => void, equalityFn?: EqualityFn<S>): () => void;
|
|
1735
|
+
/** @internal Replace post-game data snapshot and notify listeners. */
|
|
1736
|
+
_setPostGameData(data: postGameStateData): void;
|
|
1737
|
+
/** @internal Replace entire snapshot (used on post-game hide / reset). */
|
|
1738
|
+
_reset(data: postGameStateData): void;
|
|
1739
|
+
private emit;
|
|
1740
|
+
}
|
|
1741
|
+
interface PostGameSnapshot {
|
|
1742
|
+
readonly postGameData: postGameStateData;
|
|
1743
|
+
/** Whether post-game is currently active. */
|
|
1744
|
+
readonly isActive: boolean;
|
|
1745
|
+
/** Monotonic version counter — useful for cheap stale checks. */
|
|
1746
|
+
readonly version: number;
|
|
1532
1747
|
}
|
|
1533
1748
|
|
|
1534
1749
|
/**
|
|
@@ -1576,7 +1791,7 @@ declare class ingameObjectiveEvent {
|
|
|
1576
1791
|
*/
|
|
1577
1792
|
|
|
1578
1793
|
declare class announcementParameter {
|
|
1579
|
-
champion?: simpleChampionData
|
|
1794
|
+
champion?: simpleChampionData;
|
|
1580
1795
|
member?: teamMember;
|
|
1581
1796
|
asset?: string;
|
|
1582
1797
|
team: number;
|
|
@@ -1640,35 +1855,9 @@ declare class announcerEvent {
|
|
|
1640
1855
|
|
|
1641
1856
|
declare class killFeedEvent {
|
|
1642
1857
|
ingameTeamId: number;
|
|
1643
|
-
killer?: simpleChampionData
|
|
1644
|
-
victim: simpleChampionData
|
|
1645
|
-
assisters?: simpleChampionData
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
/**
|
|
1649
|
-
* This is an auto-generated file.
|
|
1650
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
1651
|
-
*/
|
|
1652
|
-
declare enum Team {
|
|
1653
|
-
None = 0,
|
|
1654
|
-
Order = 1,
|
|
1655
|
-
Chaos = 2,
|
|
1656
|
-
Neutral = 3
|
|
1657
|
-
}
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* This is an auto-generated file.
|
|
1661
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
1662
|
-
*/
|
|
1663
|
-
|
|
1664
|
-
declare class champSelectStateData {
|
|
1665
|
-
isActive: boolean;
|
|
1666
|
-
isConnected: boolean;
|
|
1667
|
-
isTestingEnvironment: boolean;
|
|
1668
|
-
blueTeam: championSelectTeam;
|
|
1669
|
-
redTeam: championSelectTeam;
|
|
1670
|
-
metaData: champSelectStateMetaData;
|
|
1671
|
-
timer: pickBanTimer;
|
|
1858
|
+
killer?: simpleChampionData;
|
|
1859
|
+
victim: simpleChampionData;
|
|
1860
|
+
assisters?: simpleChampionData[];
|
|
1672
1861
|
}
|
|
1673
1862
|
|
|
1674
1863
|
/**
|
|
@@ -1676,7 +1865,7 @@ declare class champSelectStateData {
|
|
|
1676
1865
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1677
1866
|
*/
|
|
1678
1867
|
|
|
1679
|
-
declare class pickBanActionEventArgs
|
|
1868
|
+
declare class pickBanActionEventArgs {
|
|
1680
1869
|
type: string;
|
|
1681
1870
|
subType: string;
|
|
1682
1871
|
actorId: number;
|
|
@@ -1732,21 +1921,6 @@ declare class ApiError extends Error {
|
|
|
1732
1921
|
constructor(status: number, statusText: string, body: string, url: string);
|
|
1733
1922
|
}
|
|
1734
1923
|
|
|
1735
|
-
/**
|
|
1736
|
-
* This is an auto-generated file.
|
|
1737
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
1738
|
-
*/
|
|
1739
|
-
declare class simpleChampionData {
|
|
1740
|
-
id: number;
|
|
1741
|
-
alias: string;
|
|
1742
|
-
name: string;
|
|
1743
|
-
splashCenteredImg: string;
|
|
1744
|
-
splashImg: string;
|
|
1745
|
-
loadingImg: string;
|
|
1746
|
-
squareImg: string;
|
|
1747
|
-
tileImg: string;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
1924
|
/**
|
|
1751
1925
|
* Auto-generated REST API client for Champion select (pre-game) endpoints.
|
|
1752
1926
|
* Do not edit manually. Changes will be lost.
|
|
@@ -1927,7 +2101,7 @@ declare class optionalGameData {
|
|
|
1927
2101
|
isActive?: boolean;
|
|
1928
2102
|
isComplete?: boolean;
|
|
1929
2103
|
gameDate?: Date;
|
|
1930
|
-
ruleSet?: MatchRuleSet
|
|
2104
|
+
ruleSet?: MatchRuleSet;
|
|
1931
2105
|
patch?: string;
|
|
1932
2106
|
}
|
|
1933
2107
|
|
|
@@ -1936,8 +2110,8 @@ declare class optionalGameData {
|
|
|
1936
2110
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
1937
2111
|
*/
|
|
1938
2112
|
|
|
1939
|
-
declare class gameWithTeams
|
|
1940
|
-
teams: teamWithMembers
|
|
2113
|
+
declare class gameWithTeams {
|
|
2114
|
+
teams: teamWithMembers[];
|
|
1941
2115
|
gameId: number;
|
|
1942
2116
|
matchId: number;
|
|
1943
2117
|
gameNumber: number;
|
|
@@ -1946,7 +2120,7 @@ declare class gameWithTeams$1 {
|
|
|
1946
2120
|
isComplete: boolean;
|
|
1947
2121
|
gameTime?: number;
|
|
1948
2122
|
gameDate?: Date;
|
|
1949
|
-
ruleSet: MatchRuleSet
|
|
2123
|
+
ruleSet: MatchRuleSet;
|
|
1950
2124
|
patch: string;
|
|
1951
2125
|
gameVersion: string;
|
|
1952
2126
|
assetPatch: string;
|
|
@@ -1963,66 +2137,41 @@ declare class GameApi {
|
|
|
1963
2137
|
private readonly client;
|
|
1964
2138
|
constructor(client: ApiClient);
|
|
1965
2139
|
/** `GET game/current` */
|
|
1966
|
-
getCurrentGame(): Promise<gameWithTeams
|
|
2140
|
+
getCurrentGame(): Promise<gameWithTeams>;
|
|
1967
2141
|
/** `POST game/current/start` */
|
|
1968
|
-
startCurrentOrScheduledGame(): Promise<gameWithTeams
|
|
2142
|
+
startCurrentOrScheduledGame(): Promise<gameWithTeams>;
|
|
1969
2143
|
/** `GET game/previous` */
|
|
1970
2144
|
getPreviousGame(): Promise<number>;
|
|
1971
2145
|
/** `GET game/{gameid}` */
|
|
1972
|
-
getGame(gameid: number): Promise<gameWithTeams
|
|
2146
|
+
getGame(gameid: number): Promise<gameWithTeams>;
|
|
1973
2147
|
/** `PATCH game/{gameid}` */
|
|
1974
2148
|
updateGame(gameid: number, game: optionalGameData): Promise<void>;
|
|
1975
2149
|
/** `PUT game/{gameid}/teams` */
|
|
1976
2150
|
setSideSelection(gameid: number, teams: number[]): Promise<void>;
|
|
1977
2151
|
/** `GET game/{gameid}/teams` */
|
|
1978
|
-
getTeamsInGame(gameid: number): Promise<teamWithMembers
|
|
2152
|
+
getTeamsInGame(gameid: number): Promise<teamWithMembers[]>;
|
|
1979
2153
|
/** `DELETE game/{gameid}/winner` */
|
|
1980
2154
|
removeGameWinner(gameid: number): Promise<void>;
|
|
1981
2155
|
/** `PUT game/{gameid}/winner/{teamid}` */
|
|
1982
2156
|
setGameWinner(gameid: number, teamid: number): Promise<void>;
|
|
1983
2157
|
/** `GET game/{gameid}/bans` */
|
|
1984
|
-
getBans(gameid: number): Promise<simpleChampionData
|
|
2158
|
+
getBans(gameid: number): Promise<simpleChampionData[]>;
|
|
1985
2159
|
/** `GET game/{gameid}/bans/{teamid}` */
|
|
1986
|
-
getBansForTeam(gameid: number, teamid: number): Promise<simpleChampionData
|
|
2160
|
+
getBansForTeam(gameid: number, teamid: number): Promise<simpleChampionData[]>;
|
|
1987
2161
|
/** `PUT game/{gameid}/bans` */
|
|
1988
2162
|
setBans(gameid: number, bans: Record<number, (string | null)[]>): Promise<void>;
|
|
1989
2163
|
/** `PUT game/{gameid}/bans/{teamid}` */
|
|
1990
2164
|
setBansForTeam(gameid: number, teamid: number, bans: (string | null)[]): Promise<void>;
|
|
1991
2165
|
/** `GET game/{gameid}/picks` */
|
|
1992
|
-
getPicks(gameid: number): Promise<Record<number, simpleChampionData
|
|
2166
|
+
getPicks(gameid: number): Promise<Record<number, simpleChampionData[]>>;
|
|
1993
2167
|
/** `GET game/{gameid}/picks/{teamid}` */
|
|
1994
|
-
getPicksForTeam(gameid: number, teamid: number): Promise<simpleChampionData
|
|
2168
|
+
getPicksForTeam(gameid: number, teamid: number): Promise<simpleChampionData[]>;
|
|
1995
2169
|
/** `PUT game/{gameid}/picks` */
|
|
1996
2170
|
setPicks(gameid: number, picks: Record<number, (string | null)[]>): Promise<void>;
|
|
1997
2171
|
/** `PUT game/{gameid}/picks/{teamid}` */
|
|
1998
2172
|
setPicksForTeam(gameid: number, teamid: number, picks: (string | null)[]): Promise<void>;
|
|
1999
2173
|
/** `GET game/{gameid}/teams/players` */
|
|
2000
|
-
getPlayersInGame(gameid: number): Promise<Record<Team
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
/**
|
|
2004
|
-
* This is an auto-generated file.
|
|
2005
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2006
|
-
*/
|
|
2007
|
-
|
|
2008
|
-
declare class tabPlayer {
|
|
2009
|
-
id: string;
|
|
2010
|
-
playerName: string;
|
|
2011
|
-
playerHashtag: string;
|
|
2012
|
-
displayName: string;
|
|
2013
|
-
givenName: string;
|
|
2014
|
-
familyName: string;
|
|
2015
|
-
championAssets?: simpleChampionData$1;
|
|
2016
|
-
abilities: ingameAbilityInfo[];
|
|
2017
|
-
perks: perkInfoV2[];
|
|
2018
|
-
health: ingameHealthData;
|
|
2019
|
-
resource: ingameResourceData;
|
|
2020
|
-
stacksData?: number;
|
|
2021
|
-
hasBaron: boolean;
|
|
2022
|
-
hasElder: boolean;
|
|
2023
|
-
level: number;
|
|
2024
|
-
experience: ingameExperienceData;
|
|
2025
|
-
respawnAt?: number;
|
|
2174
|
+
getPlayersInGame(gameid: number): Promise<Record<Team, teamMember[]>>;
|
|
2026
2175
|
}
|
|
2027
2176
|
|
|
2028
2177
|
/**
|
|
@@ -2058,29 +2207,9 @@ declare class GameStateApi {
|
|
|
2058
2207
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
2059
2208
|
*/
|
|
2060
2209
|
|
|
2061
|
-
declare class
|
|
2062
|
-
matchId: number;
|
|
2063
|
-
seasonId: number;
|
|
2064
|
-
winnerId?: number;
|
|
2065
|
-
isActive: boolean;
|
|
2066
|
-
type: BestOfType$1;
|
|
2067
|
-
nextMatchId?: number;
|
|
2068
|
-
winnerNextMatchId?: number;
|
|
2069
|
-
loserNextMatchId?: number;
|
|
2070
|
-
name?: string;
|
|
2071
|
-
date?: Date;
|
|
2072
|
-
ruleSet: MatchRuleSet$1;
|
|
2073
|
-
onStage: boolean;
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
|
-
/**
|
|
2077
|
-
* This is an auto-generated file.
|
|
2078
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2079
|
-
*/
|
|
2080
|
-
|
|
2081
|
-
declare class addMatchRequestArgs$1 {
|
|
2210
|
+
declare class addMatchRequestArgs {
|
|
2082
2211
|
name?: string;
|
|
2083
|
-
type: BestOfType
|
|
2212
|
+
type: BestOfType;
|
|
2084
2213
|
teams: number[];
|
|
2085
2214
|
isCurrent: boolean;
|
|
2086
2215
|
onStage?: boolean;
|
|
@@ -2098,96 +2227,34 @@ declare class addMatchRequestArgs$1 {
|
|
|
2098
2227
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
2099
2228
|
*/
|
|
2100
2229
|
|
|
2101
|
-
declare class optionalMatchData
|
|
2230
|
+
declare class optionalMatchData {
|
|
2102
2231
|
date?: Date;
|
|
2103
|
-
ruleSet?: MatchRuleSet
|
|
2232
|
+
ruleSet?: MatchRuleSet;
|
|
2104
2233
|
onStage?: boolean;
|
|
2105
2234
|
}
|
|
2106
2235
|
|
|
2107
|
-
/**
|
|
2108
|
-
* This is an auto-generated file.
|
|
2109
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2110
|
-
*/
|
|
2111
|
-
declare enum BestOfType {
|
|
2112
|
-
BestOf1 = 1,
|
|
2113
|
-
BestOf2 = 2,
|
|
2114
|
-
BestOf3 = 3,
|
|
2115
|
-
BestOf5 = 5,
|
|
2116
|
-
BestOf7 = 7
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
/**
|
|
2120
|
-
* This is an auto-generated file.
|
|
2121
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2122
|
-
*/
|
|
2123
|
-
|
|
2124
|
-
declare class gameWithTeams {
|
|
2125
|
-
teams: teamWithMembers$1[];
|
|
2126
|
-
gameId: number;
|
|
2127
|
-
matchId: number;
|
|
2128
|
-
gameNumber: number;
|
|
2129
|
-
gameWinnerId?: number;
|
|
2130
|
-
isActive: boolean;
|
|
2131
|
-
isComplete: boolean;
|
|
2132
|
-
gameTime?: number;
|
|
2133
|
-
gameDate?: Date;
|
|
2134
|
-
ruleSet: MatchRuleSet$1;
|
|
2135
|
-
patch: string;
|
|
2136
|
-
gameVersion: string;
|
|
2137
|
-
assetPatch: string;
|
|
2138
|
-
}
|
|
2139
|
-
|
|
2140
|
-
/**
|
|
2141
|
-
* This is an auto-generated file.
|
|
2142
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2143
|
-
*/
|
|
2144
|
-
declare enum MatchRuleSet {
|
|
2145
|
-
Standard = 0,
|
|
2146
|
-
PartialFearless = 1,
|
|
2147
|
-
Fearless = 2
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
2236
|
/**
|
|
2151
2237
|
* This is an auto-generated file.
|
|
2152
2238
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
2153
2239
|
*/
|
|
2154
2240
|
|
|
2155
|
-
declare class matchWithGamesAndTeams
|
|
2156
|
-
games: gameWithTeams
|
|
2157
|
-
teams: teamWithMembers
|
|
2241
|
+
declare class matchWithGamesAndTeams {
|
|
2242
|
+
games: gameWithTeams[];
|
|
2243
|
+
teams: teamWithMembers[];
|
|
2158
2244
|
matchId: number;
|
|
2159
2245
|
seasonId: number;
|
|
2160
2246
|
winnerId?: number;
|
|
2161
2247
|
isActive: boolean;
|
|
2162
|
-
type: BestOfType
|
|
2248
|
+
type: BestOfType;
|
|
2163
2249
|
nextMatchId?: number;
|
|
2164
2250
|
winnerNextMatchId?: number;
|
|
2165
2251
|
loserNextMatchId?: number;
|
|
2166
2252
|
name?: string;
|
|
2167
2253
|
date?: Date;
|
|
2168
|
-
ruleSet: MatchRuleSet
|
|
2254
|
+
ruleSet: MatchRuleSet;
|
|
2169
2255
|
onStage: boolean;
|
|
2170
2256
|
}
|
|
2171
2257
|
|
|
2172
|
-
/**
|
|
2173
|
-
* This is an auto-generated file.
|
|
2174
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2175
|
-
*/
|
|
2176
|
-
|
|
2177
|
-
declare class teamWithMembers {
|
|
2178
|
-
members: teamMember[];
|
|
2179
|
-
teamId: number;
|
|
2180
|
-
name: string;
|
|
2181
|
-
tag: string;
|
|
2182
|
-
description?: string;
|
|
2183
|
-
iconUri?: string;
|
|
2184
|
-
isActive: boolean;
|
|
2185
|
-
primaryColor?: number;
|
|
2186
|
-
secondaryColor?: number;
|
|
2187
|
-
tertiaryColor?: number;
|
|
2188
|
-
backgroundColor?: number;
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
2258
|
/**
|
|
2192
2259
|
* Auto-generated REST API client for Match (series) management endpoints.
|
|
2193
2260
|
* Do not edit manually. Changes will be lost.
|
|
@@ -2201,13 +2268,13 @@ declare class MatchApi {
|
|
|
2201
2268
|
/** `GET match/season/{seasonId}/simple` */
|
|
2202
2269
|
getSimpleMatches(seasonId: number): Promise<matchData[]>;
|
|
2203
2270
|
/** `GET match/season/{seasonId}` */
|
|
2204
|
-
getMatches(seasonId: number): Promise<matchWithGamesAndTeams
|
|
2271
|
+
getMatches(seasonId: number): Promise<matchWithGamesAndTeams[]>;
|
|
2205
2272
|
/** `GET match/simple` */
|
|
2206
2273
|
getAllSimpleMatches(): Promise<matchData[]>;
|
|
2207
2274
|
/** `GET match` */
|
|
2208
|
-
getAllMatches(): Promise<matchWithGamesAndTeams
|
|
2275
|
+
getAllMatches(): Promise<matchWithGamesAndTeams[]>;
|
|
2209
2276
|
/** `GET match/current` */
|
|
2210
|
-
getCurrentMatch(): Promise<matchWithGamesAndTeams
|
|
2277
|
+
getCurrentMatch(): Promise<matchWithGamesAndTeams>;
|
|
2211
2278
|
/** `POST match/current` */
|
|
2212
2279
|
completeCurrentMatch(): Promise<void>;
|
|
2213
2280
|
/** `GET match/current/id` */
|
|
@@ -2235,7 +2302,7 @@ declare class MatchApi {
|
|
|
2235
2302
|
/** `GET match/current/onstage` */
|
|
2236
2303
|
getCurrentMatchOnStage(): Promise<boolean>;
|
|
2237
2304
|
/** `GET match/{matchid}` */
|
|
2238
|
-
getMatch(matchid: number): Promise<matchWithGamesAndTeams
|
|
2305
|
+
getMatch(matchid: number): Promise<matchWithGamesAndTeams>;
|
|
2239
2306
|
/** `DELETE match/{matchid}` */
|
|
2240
2307
|
deleteMatch(matchid: number): Promise<boolean>;
|
|
2241
2308
|
/** `GET match/{matchid}/teams` */
|
|
@@ -2263,13 +2330,13 @@ declare class MatchApi {
|
|
|
2263
2330
|
/** `PATCH match/{matchid}/name/{matchName}` */
|
|
2264
2331
|
setMatchName(matchid: number, matchName: string): Promise<void>;
|
|
2265
2332
|
/** `PATCH match/{matchid}` */
|
|
2266
|
-
updateMatch(matchid: number, matchUpdate: optionalMatchData
|
|
2333
|
+
updateMatch(matchid: number, matchUpdate: optionalMatchData): Promise<void>;
|
|
2267
2334
|
/** `GET match/{matchid}/fearless/bans` */
|
|
2268
2335
|
getMatchBans(matchid: number): Promise<Record<number, Record<number, simpleChampionData[]>>>;
|
|
2269
2336
|
/** `GET match/{seriesid}/onstage` */
|
|
2270
2337
|
getMatchOnStage(seriesid: number): Promise<boolean>;
|
|
2271
2338
|
/** `PUT match` */
|
|
2272
|
-
addMatch(match: addMatchRequestArgs
|
|
2339
|
+
addMatch(match: addMatchRequestArgs): Promise<number>;
|
|
2273
2340
|
/** `GET match/{matchId}/stage/team/{stageSide}` */
|
|
2274
2341
|
getTeamOnStageSide(matchId: number, stageSide: number): Promise<teamWithMembers>;
|
|
2275
2342
|
/** `GET match/current/stage/team/{stageSide}` */
|
|
@@ -2280,7 +2347,7 @@ declare class MatchApi {
|
|
|
2280
2347
|
* This is an auto-generated file.
|
|
2281
2348
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
2282
2349
|
*/
|
|
2283
|
-
declare class seasonData
|
|
2350
|
+
declare class seasonData {
|
|
2284
2351
|
seasonId: number;
|
|
2285
2352
|
seasonName: string;
|
|
2286
2353
|
isActive: boolean;
|
|
@@ -2289,23 +2356,6 @@ declare class seasonData$1 {
|
|
|
2289
2356
|
iconUri?: string;
|
|
2290
2357
|
}
|
|
2291
2358
|
|
|
2292
|
-
/**
|
|
2293
|
-
* This is an auto-generated file.
|
|
2294
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2295
|
-
*/
|
|
2296
|
-
declare class teamData$1 {
|
|
2297
|
-
teamId: number;
|
|
2298
|
-
name: string;
|
|
2299
|
-
tag: string;
|
|
2300
|
-
description?: string;
|
|
2301
|
-
iconUri?: string;
|
|
2302
|
-
isActive: boolean;
|
|
2303
|
-
primaryColor?: number;
|
|
2304
|
-
secondaryColor?: number;
|
|
2305
|
-
tertiaryColor?: number;
|
|
2306
|
-
backgroundColor?: number;
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
2359
|
/**
|
|
2310
2360
|
* Auto-generated REST API client for Season management endpoints.
|
|
2311
2361
|
* Do not edit manually. Changes will be lost.
|
|
@@ -2317,15 +2367,15 @@ declare class SeasonApi {
|
|
|
2317
2367
|
private readonly client;
|
|
2318
2368
|
constructor(client: ApiClient);
|
|
2319
2369
|
/** `GET season/current` */
|
|
2320
|
-
getCurrentSeason(): Promise<seasonData
|
|
2370
|
+
getCurrentSeason(): Promise<seasonData>;
|
|
2321
2371
|
/** `GET season/current/match` */
|
|
2322
|
-
getCurrentSeasonScheduledMatch(): Promise<matchWithGamesAndTeams
|
|
2372
|
+
getCurrentSeasonScheduledMatch(): Promise<matchWithGamesAndTeams>;
|
|
2323
2373
|
/** `GET season/current/id` */
|
|
2324
2374
|
getCurrentSeasonId(): Promise<number>;
|
|
2325
2375
|
/** `POST season/current` */
|
|
2326
2376
|
setCurrentSeason(newCurrentSeasonId: number): Promise<void>;
|
|
2327
2377
|
/** `GET season/current/teams` */
|
|
2328
|
-
getCurrentSeasonTeams(): Promise<teamData
|
|
2378
|
+
getCurrentSeasonTeams(): Promise<teamData[]>;
|
|
2329
2379
|
/** `GET season/current/teamswithmembers` */
|
|
2330
2380
|
getCurrentSeasonTeamsWithMembers(): Promise<teamWithMembers[]>;
|
|
2331
2381
|
/** `GET season/current/icon` */
|
|
@@ -2333,21 +2383,21 @@ declare class SeasonApi {
|
|
|
2333
2383
|
/** `PUT season/current/icon` */
|
|
2334
2384
|
setCurrentSeasonIcon(): Promise<string>;
|
|
2335
2385
|
/** `GET season` */
|
|
2336
|
-
getAllSeasons(): Promise<seasonData
|
|
2386
|
+
getAllSeasons(): Promise<seasonData[]>;
|
|
2337
2387
|
/** `GET season/{seasonId}` */
|
|
2338
|
-
getSeasonById(seasonId: number): Promise<seasonData
|
|
2388
|
+
getSeasonById(seasonId: number): Promise<seasonData>;
|
|
2339
2389
|
/** `GET season/{seasonId}/matches` */
|
|
2340
|
-
getMatchesInSeason(seasonId: number): Promise<matchWithGamesAndTeams
|
|
2390
|
+
getMatchesInSeason(seasonId: number): Promise<matchWithGamesAndTeams[]>;
|
|
2341
2391
|
/** `GET season/{seasonId}/matches/count` */
|
|
2342
2392
|
getMatchesInSeasonCount(seasonId: number): Promise<number>;
|
|
2343
2393
|
/** `GET season/{seasonId}/matches/day/{day}` */
|
|
2344
|
-
getMatchesInSeasonOnDay(seasonId: number, day: string): Promise<matchWithGamesAndTeams
|
|
2394
|
+
getMatchesInSeasonOnDay(seasonId: number, day: string): Promise<matchWithGamesAndTeams[]>;
|
|
2345
2395
|
/** `GET season/{seasonId}/teams` */
|
|
2346
|
-
getTeamsInSeason(seasonId: number): Promise<teamData
|
|
2396
|
+
getTeamsInSeason(seasonId: number): Promise<teamData[]>;
|
|
2347
2397
|
/** `GET season/{seasonId}/teamswithmembers` */
|
|
2348
2398
|
getTeamsWithMembersInSeason(seasonId: number): Promise<teamWithMembers[]>;
|
|
2349
2399
|
/** `POST season` */
|
|
2350
|
-
createOrUpdateSeason(seasonData: seasonData
|
|
2400
|
+
createOrUpdateSeason(seasonData: seasonData): Promise<number>;
|
|
2351
2401
|
/** `GET season/{seasonId}/icon` */
|
|
2352
2402
|
getSeasonIcon(seasonId: number): Promise<string>;
|
|
2353
2403
|
/** `PUT season/{seasonId}/icon` */
|
|
@@ -2375,9 +2425,9 @@ declare class damageEventHistoryEntry {
|
|
|
2375
2425
|
id: number;
|
|
2376
2426
|
eventType: DamageEventType;
|
|
2377
2427
|
gameTime: number;
|
|
2378
|
-
victimChampion?: simpleChampionData
|
|
2428
|
+
victimChampion?: simpleChampionData;
|
|
2379
2429
|
victimName: string;
|
|
2380
|
-
killerChampion?: simpleChampionData
|
|
2430
|
+
killerChampion?: simpleChampionData;
|
|
2381
2431
|
killerName: string;
|
|
2382
2432
|
totalDamage: number;
|
|
2383
2433
|
victimTeam?: number;
|
|
@@ -2394,165 +2444,71 @@ declare class damageEventHistoryEntry {
|
|
|
2394
2444
|
|
|
2395
2445
|
declare class IngameApi {
|
|
2396
2446
|
private readonly client;
|
|
2397
|
-
constructor(client: ApiClient);
|
|
2398
|
-
/** `GET ingame/status` */
|
|
2399
|
-
getGameState(): Promise<number>;
|
|
2400
|
-
/** `POST ingame/enable` */
|
|
2401
|
-
enableComponent(): Promise<void>;
|
|
2402
|
-
/** `POST ingame/disable` */
|
|
2403
|
-
disableComponent(): Promise<void>;
|
|
2404
|
-
/** `POST ingame/mock/{doMocking}` */
|
|
2405
|
-
mockIngame(doMocking: boolean): Promise<void>;
|
|
2406
|
-
/** `GET ingame/mock` */
|
|
2407
|
-
getMockingStatus(): Promise<boolean>;
|
|
2408
|
-
/** `GET ingame/frontend` */
|
|
2409
|
-
getFrontendUrl(): Promise<string>;
|
|
2410
|
-
/** `GET ingame/showing` */
|
|
2411
|
-
getCurrentCommonSerializationOptions(): Promise<Record<string, unknown>>;
|
|
2412
|
-
/** `POST ingame/showing` */
|
|
2413
|
-
setCurrentCommonSerializationOptions(data: Record<string, unknown>): Promise<void>;
|
|
2414
|
-
/** `GET ingame/showing/{socketid}` */
|
|
2415
|
-
getCurrentFrontendSerializationOptions(socketid: string): Promise<Record<string, unknown>>;
|
|
2416
|
-
/** `POST ingame/showing/{socketid}` */
|
|
2417
|
-
setCurrentFrontendSerializationOptions(socketid: string, data: Record<string, unknown>): Promise<void>;
|
|
2418
|
-
/** `GET ingame/stage/{stageSide}/{playerSlot}/networkId` */
|
|
2419
|
-
getPlayerPUUIDInSlot(stageSide: number, playerSlot: number): Promise<number>;
|
|
2420
|
-
/** `GET ingame/stage/{stageSide}/ingameteamid` */
|
|
2421
|
-
getIngameTeamOnStageSide(stageSide: number): Promise<number>;
|
|
2422
|
-
/** `GET ingame/state/activeOverlays` */
|
|
2423
|
-
getActiveOverlays(): Promise<string[]>;
|
|
2424
|
-
/** `GET ingame/damage/history` */
|
|
2425
|
-
getDamageEventHistory(): Promise<damageEventHistoryEntry[]>;
|
|
2426
|
-
/** `POST ingame/damage/select/{eventId}` */
|
|
2427
|
-
selectDamageEvent(eventId: number, displayMode?: ObjectiveRecapDisplayMode | null): Promise<damageEventHistoryEntry>;
|
|
2428
|
-
/** `POST ingame/damage/deselect` */
|
|
2429
|
-
deselectDamageEvent(): Promise<void>;
|
|
2430
|
-
/** `POST ingame/objective/select/{eventId}` */
|
|
2431
|
-
selectObjectiveForDps(eventId: number): Promise<damageEventHistoryEntry>;
|
|
2432
|
-
/** `POST ingame/objective/deselect` */
|
|
2433
|
-
deselectObjectiveForDps(): Promise<void>;
|
|
2434
|
-
/** `POST ingame/teamfight/start` */
|
|
2435
|
-
startTeamfightTracking(): Promise<unknown>;
|
|
2436
|
-
/** `POST ingame/teamfight/stop` */
|
|
2437
|
-
stopTeamfightTracking(): Promise<damageEventHistoryEntry>;
|
|
2438
|
-
/** `GET ingame/teamfight/active` */
|
|
2439
|
-
getActiveTeamfight(): Promise<unknown>;
|
|
2440
|
-
/** `POST ingame/teamfight/select/{eventId}` */
|
|
2441
|
-
selectTeamfightTimeline(eventId: number): Promise<damageEventHistoryEntry>;
|
|
2442
|
-
/** `POST ingame/teamfight/deselect` */
|
|
2443
|
-
deselectTeamfightTimeline(): Promise<void>;
|
|
2444
|
-
/** `POST ingame/damage/select/latest` */
|
|
2445
|
-
selectLatestDamageEvent(displayMode?: ObjectiveRecapDisplayMode | null): Promise<damageEventHistoryEntry>;
|
|
2446
|
-
/** `POST ingame/objective/select/latest` */
|
|
2447
|
-
selectLatestObjectiveEvent(displayMode?: ObjectiveRecapDisplayMode | null, dps?: boolean): Promise<damageEventHistoryEntry>;
|
|
2448
|
-
/** `POST ingame/teamfight/select/latest` */
|
|
2449
|
-
selectLatestTeamfightTimeline(): Promise<damageEventHistoryEntry>;
|
|
2450
|
-
}
|
|
2451
|
-
|
|
2452
|
-
/**
|
|
2453
|
-
* This is an auto-generated file.
|
|
2454
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2455
|
-
*/
|
|
2456
|
-
declare enum Lane {
|
|
2457
|
-
Top = 0,
|
|
2458
|
-
Jungle = 1,
|
|
2459
|
-
Mid = 2,
|
|
2460
|
-
ADC = 3,
|
|
2461
|
-
Support = 4
|
|
2462
|
-
}
|
|
2463
|
-
|
|
2464
|
-
/**
|
|
2465
|
-
* This is an auto-generated file.
|
|
2466
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2467
|
-
*/
|
|
2468
|
-
|
|
2469
|
-
declare class activeComponentChangedEventArgs {
|
|
2470
|
-
componentName?: string;
|
|
2471
|
-
gameId?: number;
|
|
2472
|
-
matchId?: number;
|
|
2473
|
-
playerIndex?: number;
|
|
2474
|
-
team?: Team$1;
|
|
2475
|
-
componentSettings?: {
|
|
2476
|
-
[key: string]: string;
|
|
2477
|
-
};
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2480
|
-
/**
|
|
2481
|
-
* This is an auto-generated file.
|
|
2482
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2483
|
-
*/
|
|
2484
|
-
|
|
2485
|
-
declare class postGameDamageGraphEntry {
|
|
2486
|
-
champion?: simpleChampionData$1;
|
|
2487
|
-
damage: number;
|
|
2488
|
-
magicDamage: number;
|
|
2489
|
-
physicalDamage: number;
|
|
2490
|
-
trueDamage: number;
|
|
2491
|
-
}
|
|
2492
|
-
|
|
2493
|
-
/**
|
|
2494
|
-
* This is an auto-generated file.
|
|
2495
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2496
|
-
*/
|
|
2497
|
-
|
|
2498
|
-
declare class postGameDamageGraphByTeam {
|
|
2499
|
-
entries: postGameDamageGraphEntry[];
|
|
2500
|
-
team: teamWithMembers$1;
|
|
2501
|
-
}
|
|
2502
|
-
|
|
2503
|
-
/**
|
|
2504
|
-
* This is an auto-generated file.
|
|
2505
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2506
|
-
*/
|
|
2507
|
-
|
|
2508
|
-
declare class postGameDamageGraph {
|
|
2509
|
-
damageByTeam: {
|
|
2510
|
-
[key: number]: postGameDamageGraphByTeam;
|
|
2511
|
-
};
|
|
2512
|
-
}
|
|
2513
|
-
|
|
2514
|
-
/**
|
|
2515
|
-
* This is an auto-generated file.
|
|
2516
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2517
|
-
*/
|
|
2518
|
-
declare class singleGameGoldGraph {
|
|
2519
|
-
goldAtTime: {
|
|
2520
|
-
[key: number]: {
|
|
2521
|
-
[key: number]: number;
|
|
2522
|
-
};
|
|
2523
|
-
};
|
|
2524
|
-
winner?: number;
|
|
2525
|
-
}
|
|
2526
|
-
|
|
2527
|
-
/**
|
|
2528
|
-
* This is an auto-generated file.
|
|
2529
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2530
|
-
*/
|
|
2531
|
-
declare class teamData {
|
|
2532
|
-
teamId: number;
|
|
2533
|
-
name: string;
|
|
2534
|
-
tag: string;
|
|
2535
|
-
description?: string;
|
|
2536
|
-
iconUri?: string;
|
|
2537
|
-
isActive: boolean;
|
|
2538
|
-
primaryColor?: number;
|
|
2539
|
-
secondaryColor?: number;
|
|
2540
|
-
tertiaryColor?: number;
|
|
2541
|
-
backgroundColor?: number;
|
|
2447
|
+
constructor(client: ApiClient);
|
|
2448
|
+
/** `GET ingame/status` */
|
|
2449
|
+
getGameState(): Promise<number>;
|
|
2450
|
+
/** `POST ingame/enable` */
|
|
2451
|
+
enableComponent(): Promise<void>;
|
|
2452
|
+
/** `POST ingame/disable` */
|
|
2453
|
+
disableComponent(): Promise<void>;
|
|
2454
|
+
/** `POST ingame/mock/{doMocking}` */
|
|
2455
|
+
mockIngame(doMocking: boolean): Promise<void>;
|
|
2456
|
+
/** `GET ingame/mock` */
|
|
2457
|
+
getMockingStatus(): Promise<boolean>;
|
|
2458
|
+
/** `GET ingame/frontend` */
|
|
2459
|
+
getFrontendUrl(): Promise<string>;
|
|
2460
|
+
/** `GET ingame/showing` */
|
|
2461
|
+
getCurrentCommonSerializationOptions(): Promise<Record<string, unknown>>;
|
|
2462
|
+
/** `POST ingame/showing` */
|
|
2463
|
+
setCurrentCommonSerializationOptions(data: Record<string, unknown>): Promise<void>;
|
|
2464
|
+
/** `GET ingame/showing/{socketid}` */
|
|
2465
|
+
getCurrentFrontendSerializationOptions(socketid: string): Promise<Record<string, unknown>>;
|
|
2466
|
+
/** `POST ingame/showing/{socketid}` */
|
|
2467
|
+
setCurrentFrontendSerializationOptions(socketid: string, data: Record<string, unknown>): Promise<void>;
|
|
2468
|
+
/** `GET ingame/stage/{stageSide}/{playerSlot}/networkId` */
|
|
2469
|
+
getPlayerPUUIDInSlot(stageSide: number, playerSlot: number): Promise<number>;
|
|
2470
|
+
/** `GET ingame/stage/{stageSide}/ingameteamid` */
|
|
2471
|
+
getIngameTeamOnStageSide(stageSide: number): Promise<number>;
|
|
2472
|
+
/** `GET ingame/state/activeOverlays` */
|
|
2473
|
+
getActiveOverlays(): Promise<string[]>;
|
|
2474
|
+
/** `GET ingame/damage/history` */
|
|
2475
|
+
getDamageEventHistory(): Promise<damageEventHistoryEntry[]>;
|
|
2476
|
+
/** `POST ingame/damage/select/{eventId}` */
|
|
2477
|
+
selectDamageEvent(eventId: number, displayMode?: ObjectiveRecapDisplayMode | null): Promise<damageEventHistoryEntry>;
|
|
2478
|
+
/** `POST ingame/damage/deselect` */
|
|
2479
|
+
deselectDamageEvent(): Promise<void>;
|
|
2480
|
+
/** `POST ingame/objective/select/{eventId}` */
|
|
2481
|
+
selectObjectiveForDps(eventId: number): Promise<damageEventHistoryEntry>;
|
|
2482
|
+
/** `POST ingame/objective/deselect` */
|
|
2483
|
+
deselectObjectiveForDps(): Promise<void>;
|
|
2484
|
+
/** `POST ingame/teamfight/start` */
|
|
2485
|
+
startTeamfightTracking(): Promise<unknown>;
|
|
2486
|
+
/** `POST ingame/teamfight/stop` */
|
|
2487
|
+
stopTeamfightTracking(): Promise<damageEventHistoryEntry>;
|
|
2488
|
+
/** `GET ingame/teamfight/active` */
|
|
2489
|
+
getActiveTeamfight(): Promise<unknown>;
|
|
2490
|
+
/** `POST ingame/teamfight/select/{eventId}` */
|
|
2491
|
+
selectTeamfightTimeline(eventId: number): Promise<damageEventHistoryEntry>;
|
|
2492
|
+
/** `POST ingame/teamfight/deselect` */
|
|
2493
|
+
deselectTeamfightTimeline(): Promise<void>;
|
|
2494
|
+
/** `POST ingame/damage/select/latest` */
|
|
2495
|
+
selectLatestDamageEvent(displayMode?: ObjectiveRecapDisplayMode | null): Promise<damageEventHistoryEntry>;
|
|
2496
|
+
/** `POST ingame/objective/select/latest` */
|
|
2497
|
+
selectLatestObjectiveEvent(displayMode?: ObjectiveRecapDisplayMode | null, dps?: boolean): Promise<damageEventHistoryEntry>;
|
|
2498
|
+
/** `POST ingame/teamfight/select/latest` */
|
|
2499
|
+
selectLatestTeamfightTimeline(): Promise<damageEventHistoryEntry>;
|
|
2542
2500
|
}
|
|
2543
2501
|
|
|
2544
2502
|
/**
|
|
2545
2503
|
* This is an auto-generated file.
|
|
2546
2504
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
2547
2505
|
*/
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
[key: number]: teamData;
|
|
2555
|
-
};
|
|
2506
|
+
declare enum Lane {
|
|
2507
|
+
Top = 0,
|
|
2508
|
+
Jungle = 1,
|
|
2509
|
+
Mid = 2,
|
|
2510
|
+
ADC = 3,
|
|
2511
|
+
Support = 4
|
|
2556
2512
|
}
|
|
2557
2513
|
|
|
2558
2514
|
/**
|
|
@@ -2565,7 +2521,7 @@ declare class matchOverviewTeamSummary {
|
|
|
2565
2521
|
kills: number;
|
|
2566
2522
|
deaths: number;
|
|
2567
2523
|
assists: number;
|
|
2568
|
-
picks: simpleChampionData
|
|
2524
|
+
picks: simpleChampionData[];
|
|
2569
2525
|
}
|
|
2570
2526
|
|
|
2571
2527
|
/**
|
|
@@ -2594,46 +2550,6 @@ declare class matchOverviewData {
|
|
|
2594
2550
|
games: matchOverviewGameSummary[];
|
|
2595
2551
|
}
|
|
2596
2552
|
|
|
2597
|
-
/**
|
|
2598
|
-
* This is an auto-generated file.
|
|
2599
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2600
|
-
*/
|
|
2601
|
-
|
|
2602
|
-
declare class postGameTeamOverview {
|
|
2603
|
-
kills: number;
|
|
2604
|
-
deaths: number;
|
|
2605
|
-
assists: number;
|
|
2606
|
-
gold: number;
|
|
2607
|
-
towers: number;
|
|
2608
|
-
grubs: number;
|
|
2609
|
-
heralds: number;
|
|
2610
|
-
dragons: string[];
|
|
2611
|
-
elderDragons: number;
|
|
2612
|
-
baronNashors: number;
|
|
2613
|
-
bans: simpleChampionData$1[];
|
|
2614
|
-
metaData?: teamWithMembers$1;
|
|
2615
|
-
}
|
|
2616
|
-
|
|
2617
|
-
/**
|
|
2618
|
-
* This is an auto-generated file.
|
|
2619
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2620
|
-
*/
|
|
2621
|
-
|
|
2622
|
-
declare class postGameOverview {
|
|
2623
|
-
gameTime: number;
|
|
2624
|
-
gameDate?: Date;
|
|
2625
|
-
patch: string;
|
|
2626
|
-
winnerSide?: number;
|
|
2627
|
-
teamInfoBySide: {
|
|
2628
|
-
[key: number]: teamData;
|
|
2629
|
-
};
|
|
2630
|
-
teamOverviewBySide: {
|
|
2631
|
-
[key: number]: postGameTeamOverview;
|
|
2632
|
-
};
|
|
2633
|
-
goldGraph?: postGameGoldGraph;
|
|
2634
|
-
damageGraph?: postGameDamageGraph;
|
|
2635
|
-
}
|
|
2636
|
-
|
|
2637
2553
|
/**
|
|
2638
2554
|
* This is an auto-generated file.
|
|
2639
2555
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
@@ -2674,11 +2590,11 @@ declare class perkData {
|
|
|
2674
2590
|
declare class postGamePlayerRunesAndItems {
|
|
2675
2591
|
perks: perkData;
|
|
2676
2592
|
items: itemAsset[];
|
|
2677
|
-
champion: simpleChampionData
|
|
2593
|
+
champion: simpleChampionData;
|
|
2678
2594
|
nameWithTag: string;
|
|
2679
2595
|
displayName: string;
|
|
2680
2596
|
description?: string;
|
|
2681
|
-
team?: teamWithMembers
|
|
2597
|
+
team?: teamWithMembers;
|
|
2682
2598
|
}
|
|
2683
2599
|
|
|
2684
2600
|
/**
|
|
@@ -2697,33 +2613,11 @@ declare class infoRow {
|
|
|
2697
2613
|
|
|
2698
2614
|
declare class postGamePlayerStats {
|
|
2699
2615
|
infoRows: infoRow[];
|
|
2700
|
-
champion: simpleChampionData
|
|
2616
|
+
champion: simpleChampionData;
|
|
2701
2617
|
nameWithTag: string;
|
|
2702
2618
|
displayName: string;
|
|
2703
2619
|
description?: string;
|
|
2704
|
-
team?: teamWithMembers
|
|
2705
|
-
}
|
|
2706
|
-
|
|
2707
|
-
/**
|
|
2708
|
-
* This is an auto-generated file.
|
|
2709
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
2710
|
-
*/
|
|
2711
|
-
|
|
2712
|
-
declare class matchWithGamesAndTeams {
|
|
2713
|
-
games: gameWithTeams$1[];
|
|
2714
|
-
teams: teamWithMembers$1[];
|
|
2715
|
-
matchId: number;
|
|
2716
|
-
seasonId: number;
|
|
2717
|
-
winnerId?: number;
|
|
2718
|
-
isActive: boolean;
|
|
2719
|
-
type: BestOfType$1;
|
|
2720
|
-
nextMatchId?: number;
|
|
2721
|
-
winnerNextMatchId?: number;
|
|
2722
|
-
loserNextMatchId?: number;
|
|
2723
|
-
name?: string;
|
|
2724
|
-
date?: Date;
|
|
2725
|
-
ruleSet: MatchRuleSet$1;
|
|
2726
|
-
onStage: boolean;
|
|
2620
|
+
team?: teamWithMembers;
|
|
2727
2621
|
}
|
|
2728
2622
|
|
|
2729
2623
|
/**
|
|
@@ -2771,13 +2665,13 @@ declare class PostGameApi {
|
|
|
2771
2665
|
/** `GET postgame/items_and_runes/{gameId}/{playerIndex}` */
|
|
2772
2666
|
getItemsAndRunes(gameId: number, playerIndex: number): Promise<postGamePlayerRunesAndItems>;
|
|
2773
2667
|
/** `GET postgame/items_and_runes/{gameId}/{teamSide}/{lane}` */
|
|
2774
|
-
getItemsAndRunesByTeamAndLane(gameId: number, teamSide: Team
|
|
2668
|
+
getItemsAndRunesByTeamAndLane(gameId: number, teamSide: Team, lane: Lane): Promise<postGamePlayerRunesAndItems>;
|
|
2775
2669
|
/** `GET postgame/items_and_runes/mock` */
|
|
2776
2670
|
getMockItemAndRunes(): Promise<postGamePlayerRunesAndItems>;
|
|
2777
2671
|
/** `GET postgame/player_stats/{gameId}/{playerIndex}` */
|
|
2778
2672
|
getPlayerStats(gameId: number, playerIndex: number): Promise<postGamePlayerStats>;
|
|
2779
2673
|
/** `GET postgame/player_stats/{gameId}/{teamSide}/{lane}` */
|
|
2780
|
-
getPlayerStatsByTeamAndLane(gameId: number, teamSide: Team
|
|
2674
|
+
getPlayerStatsByTeamAndLane(gameId: number, teamSide: Team, lane: Lane): Promise<postGamePlayerStats>;
|
|
2781
2675
|
/** `GET postgame/player_stats/mock` */
|
|
2782
2676
|
getMockPlayerStats(): Promise<postGamePlayerStats>;
|
|
2783
2677
|
/** `GET postgame/gold/{gameId}` */
|
|
@@ -2795,7 +2689,7 @@ declare class PostGameApi {
|
|
|
2795
2689
|
/** `POST postgame/active/{componentType}/current` */
|
|
2796
2690
|
setActiveCurrentPostGameAnalysis(componentType: string, body: unknown): Promise<void>;
|
|
2797
2691
|
/** `POST postgame/active/{componentType}/current/team/{teamSide}` */
|
|
2798
|
-
setActiveCurrentPostGameAnalysisWithTeam(componentType: string, teamSide: Team
|
|
2692
|
+
setActiveCurrentPostGameAnalysisWithTeam(componentType: string, teamSide: Team, body: unknown): Promise<void>;
|
|
2799
2693
|
/** `POST postgame/active/{componentType}/current/player/{playerIndex}` */
|
|
2800
2694
|
setActiveCurrentPostGameAnalysisWithPlayer(componentType: string, playerIndex: number, body: unknown): Promise<void>;
|
|
2801
2695
|
/** `POST postgame/active/{componentType}/{gameId}` */
|
|
@@ -2803,11 +2697,11 @@ declare class PostGameApi {
|
|
|
2803
2697
|
/** `POST postgame/active/{componentType}/match/{matchId}` */
|
|
2804
2698
|
setActivePostGameAnalysisWithMatch(componentType: string, matchId: number, body: unknown): Promise<void>;
|
|
2805
2699
|
/** `POST postgame/active/{componentType}/{gameId}/team/{teamSide}` */
|
|
2806
|
-
setActivePostGameAnalysisWithTeam(componentType: string, gameId: number, teamSide: Team
|
|
2700
|
+
setActivePostGameAnalysisWithTeam(componentType: string, gameId: number, teamSide: Team, body: unknown): Promise<void>;
|
|
2807
2701
|
/** `POST postgame/active/{componentType}/{gameId}/player/{playerIndex}` */
|
|
2808
2702
|
setActivePostGameAnalysisWithPlayer(componentType: string, gameId: number, playerIndex: number, body: unknown): Promise<void>;
|
|
2809
2703
|
/** `POST postgame/active/{componentType}/{gameId}/player/{teamSide}/{lane}` */
|
|
2810
|
-
setActivePostGameAnalysisWithPlayerTeamAndLane(componentType: string, gameId: number, teamSide: Team
|
|
2704
|
+
setActivePostGameAnalysisWithPlayerTeamAndLane(componentType: string, gameId: number, teamSide: Team, lane: Lane, body: unknown): Promise<void>;
|
|
2811
2705
|
/** `GET postgame/active-component` */
|
|
2812
2706
|
getActivePostGameAnalysis(): Promise<activeComponentChangedEventArgs>;
|
|
2813
2707
|
/** `DELETE postgame/active-component` */
|
|
@@ -2929,11 +2823,11 @@ declare function getItemCooldownFraction(item: itemWithAsset | null | undefined,
|
|
|
2929
2823
|
* Seconds remaining until a tab-player respawns.
|
|
2930
2824
|
* Returns `0` when the player is alive.
|
|
2931
2825
|
*/
|
|
2932
|
-
declare function getRespawnRemaining(player: tabPlayer
|
|
2826
|
+
declare function getRespawnRemaining(player: tabPlayer | ingameScoreboardBottomPlayerData | null | undefined, gameTime: number): number;
|
|
2933
2827
|
/**
|
|
2934
2828
|
* Whether a player is currently dead.
|
|
2935
2829
|
*/
|
|
2936
|
-
declare function isPlayerDead(player: tabPlayer
|
|
2830
|
+
declare function isPlayerDead(player: tabPlayer | ingameScoreboardBottomPlayerData | null | undefined, gameTime: number): boolean;
|
|
2937
2831
|
interface BoundIngameTimerUtils {
|
|
2938
2832
|
/** Seconds remaining until `readyAt`. Returns `0` when expired or unset. */
|
|
2939
2833
|
getRemaining(readyAt: number | undefined): number;
|
|
@@ -2945,8 +2839,8 @@ interface BoundIngameTimerUtils {
|
|
|
2945
2839
|
getItemCooldownRemaining(item: itemWithAsset | null | undefined): number;
|
|
2946
2840
|
isItemOnCooldown(item: itemWithAsset | null | undefined): boolean;
|
|
2947
2841
|
getItemCooldownFraction(item: itemWithAsset | null | undefined): number;
|
|
2948
|
-
getRespawnRemaining(player: tabPlayer
|
|
2949
|
-
isPlayerDead(player: tabPlayer
|
|
2842
|
+
getRespawnRemaining(player: tabPlayer | ingameScoreboardBottomPlayerData | null | undefined): number;
|
|
2843
|
+
isPlayerDead(player: tabPlayer | ingameScoreboardBottomPlayerData | null | undefined): boolean;
|
|
2950
2844
|
}
|
|
2951
2845
|
/**
|
|
2952
2846
|
* Create a set of timer utilities pre-bound to a `gameTime` source.
|
|
@@ -2971,6 +2865,11 @@ interface LeagueBroadcastClientConfig {
|
|
|
2971
2865
|
ingameWsRoute?: string;
|
|
2972
2866
|
/** Pre-game (champion select) WebSocket route. @default "/ws/pre" */
|
|
2973
2867
|
preGameWsRoute?: string;
|
|
2868
|
+
/**
|
|
2869
|
+
* Post-game (analysis) WebSocket route. @default "/ws/post"
|
|
2870
|
+
* Set to `false` to disable the post-game WebSocket connection entirely.
|
|
2871
|
+
*/
|
|
2872
|
+
postGameWsRoute?: string | false;
|
|
2974
2873
|
apiRoute?: string;
|
|
2975
2874
|
cacheRoute?: string;
|
|
2976
2875
|
useHttps?: boolean;
|
|
@@ -2991,7 +2890,7 @@ interface IngameEventHandlers {
|
|
|
2991
2890
|
}
|
|
2992
2891
|
interface ChampSelectEventHandlers {
|
|
2993
2892
|
/** Fired for every pick/ban action (hover, lock, ban reveal, phase transition). */
|
|
2994
|
-
onAction?: (action: pickBanActionEventArgs
|
|
2893
|
+
onAction?: (action: pickBanActionEventArgs) => void;
|
|
2995
2894
|
/** Fired when champ select becomes active (first state update with `isActive === true`). */
|
|
2996
2895
|
onChampSelectStart?: () => void;
|
|
2997
2896
|
/** Fired when champ select ends (backend sends `isActive === false`). */
|
|
@@ -2999,15 +2898,29 @@ interface ChampSelectEventHandlers {
|
|
|
2999
2898
|
/** Fired when the frontend route changes (e.g. navigating between pre-game views). */
|
|
3000
2899
|
onRouteUpdate?: (uri: string) => void;
|
|
3001
2900
|
}
|
|
2901
|
+
interface PostGameEventHandlers {
|
|
2902
|
+
/** Fired when the backend broadcasts a postgame route change ("postgame-route-change" or "frontend-route-update"). */
|
|
2903
|
+
onRouteUpdate?: (uri: string) => void;
|
|
2904
|
+
/** Fired when postgame mocking is toggled on the backend. */
|
|
2905
|
+
onMockingUpdate?: (mocking: boolean) => void;
|
|
2906
|
+
/** Fired when the active postgame analysis component changes. */
|
|
2907
|
+
onActiveComponentChanged?: (args: activeComponentChangedEventArgs) => void;
|
|
2908
|
+
/** Fired when postgame becomes active via showPostGame(). */
|
|
2909
|
+
onPostGameShow?: (overview: postGameOverview) => void;
|
|
2910
|
+
/** Fired when postgame is hidden/reset. */
|
|
2911
|
+
onPostGameHide?: () => void;
|
|
2912
|
+
}
|
|
3002
2913
|
/**
|
|
3003
2914
|
* Main client for connecting to the League Broadcast backend.
|
|
3004
2915
|
*
|
|
3005
|
-
* Internally manages **
|
|
3006
|
-
* - `/ws/in`
|
|
3007
|
-
* - `/ws/pre`
|
|
2916
|
+
* Internally manages **three** WebSocket connections:
|
|
2917
|
+
* - `/ws/in` — real-time in-game data
|
|
2918
|
+
* - `/ws/pre` — champion-select (pre-game) data
|
|
2919
|
+
* - `/ws/post` — post-game (analysis) data
|
|
3008
2920
|
*
|
|
3009
|
-
*
|
|
3010
|
-
* `autoConnect` is `true`) and share the same host / port.
|
|
2921
|
+
* All connections are opened on {@link connect} (or automatically if
|
|
2922
|
+
* `autoConnect` is `true`) and share the same host / port. The post-game
|
|
2923
|
+
* connection can be disabled by setting `postGameWsRoute` to `false`.
|
|
3011
2924
|
*
|
|
3012
2925
|
* @example
|
|
3013
2926
|
* ```ts
|
|
@@ -3027,11 +2940,18 @@ interface ChampSelectEventHandlers {
|
|
|
3027
2940
|
* client.onChampSelectUpdate(data => console.log("Phase:", data.timer.phaseName));
|
|
3028
2941
|
* client.onChampSelectEvents({ onAction: a => console.log(a) });
|
|
3029
2942
|
* client.selectChampSelect(s => s.champSelectData.timer);
|
|
2943
|
+
*
|
|
2944
|
+
* // Post-game
|
|
2945
|
+
* const overview = await client.showPostGame();
|
|
2946
|
+
* client.onPostGameUpdate(data => console.log("Winner:", data.overview?.winnerSide));
|
|
2947
|
+
* client.onPostGameEvents({ onActiveComponentChanged: a => console.log(a) });
|
|
2948
|
+
* client.selectPostGame(s => s.postGameData.overview);
|
|
3030
2949
|
* ```
|
|
3031
2950
|
*/
|
|
3032
2951
|
declare class LeagueBroadcastClient {
|
|
3033
2952
|
private ingameWs;
|
|
3034
2953
|
private preGameWs;
|
|
2954
|
+
private postGameWs;
|
|
3035
2955
|
private config;
|
|
3036
2956
|
private _overlayHealth;
|
|
3037
2957
|
private gameData;
|
|
@@ -3039,10 +2959,13 @@ declare class LeagueBroadcastClient {
|
|
|
3039
2959
|
private _isTestingEnvironment;
|
|
3040
2960
|
private champSelectData;
|
|
3041
2961
|
private champSelectWasActive;
|
|
2962
|
+
private postGameData;
|
|
3042
2963
|
/** Reactive store for **in-game** state. */
|
|
3043
2964
|
readonly ingameStore: GameStateStore;
|
|
3044
2965
|
/** Reactive store for **pre-game** (champion select) state. */
|
|
3045
2966
|
readonly preGameStore: ChampSelectStateStore;
|
|
2967
|
+
/** Reactive store for **post-game** (analysis) state. */
|
|
2968
|
+
readonly postGameStore: PostGameStateStore;
|
|
3046
2969
|
/**
|
|
3047
2970
|
* Timer utilities pre-bound to this client's current game time.
|
|
3048
2971
|
* No need to pass `gameTime` manually — it is read from the latest
|
|
@@ -3073,6 +2996,8 @@ declare class LeagueBroadcastClient {
|
|
|
3073
2996
|
private ingameEventHandlers;
|
|
3074
2997
|
private champSelectUpdateHandlers;
|
|
3075
2998
|
private champSelectEventHandlers;
|
|
2999
|
+
private postGameUpdateHandlers;
|
|
3000
|
+
private postGameEventHandlers;
|
|
3076
3001
|
constructor(config: LeagueBroadcastClientConfig);
|
|
3077
3002
|
private _startClock;
|
|
3078
3003
|
private _stopClock;
|
|
@@ -3100,26 +3025,38 @@ declare class LeagueBroadcastClient {
|
|
|
3100
3025
|
* Whether the pre-game WebSocket is connected.
|
|
3101
3026
|
*/
|
|
3102
3027
|
isPreGameConnected(): boolean;
|
|
3028
|
+
/**
|
|
3029
|
+
* Whether the post-game WebSocket is connected.
|
|
3030
|
+
*/
|
|
3031
|
+
isPostGameConnected(): boolean;
|
|
3103
3032
|
/** Get the current in-game data. */
|
|
3104
3033
|
getIngameData(): ingameFrontendData;
|
|
3105
3034
|
/** Get the current game state. */
|
|
3106
|
-
getIngameState(): GameState
|
|
3035
|
+
getIngameState(): GameState;
|
|
3107
3036
|
/** Whether the backend is in a testing / replay environment. */
|
|
3108
3037
|
isInTestingEnvironment(): boolean;
|
|
3109
3038
|
/** Get the current champion-select state. */
|
|
3110
3039
|
getChampSelectData(): champSelectStateData;
|
|
3111
3040
|
/** Whether champion select is currently active. */
|
|
3112
3041
|
isChampSelectActive(): boolean;
|
|
3042
|
+
/** Get the current post-game state. */
|
|
3043
|
+
getPostGameData(): postGameStateData;
|
|
3044
|
+
/** Whether post-game is currently active. */
|
|
3045
|
+
isPostGameActive(): boolean;
|
|
3113
3046
|
/** Register a handler for in-game state updates. */
|
|
3114
3047
|
onIngameStateUpdate(handler: (state: ingameFrontendData) => void): () => void;
|
|
3115
3048
|
/** Register a handler for in-game status changes (running, paused, out of game). */
|
|
3116
|
-
onIngameStatusChange(handler: (status: GameState
|
|
3049
|
+
onIngameStatusChange(handler: (status: GameState, isTestingEnv: boolean) => void): () => void;
|
|
3117
3050
|
/** Register handlers for in-game events (kills, objectives, etc.). Returns an unsubscribe function. */
|
|
3118
3051
|
onIngameEvents(handlers: IngameEventHandlers): () => void;
|
|
3119
3052
|
/** Register a handler for champ-select state updates. */
|
|
3120
3053
|
onChampSelectUpdate(handler: (state: champSelectStateData) => void): () => void;
|
|
3121
3054
|
/** Register handlers for champ-select lifecycle and action events. Returns an unsubscribe function. */
|
|
3122
3055
|
onChampSelectEvents(handlers: ChampSelectEventHandlers): () => void;
|
|
3056
|
+
/** Register a handler for post-game state updates. */
|
|
3057
|
+
onPostGameUpdate(handler: (state: postGameStateData) => void): () => void;
|
|
3058
|
+
/** Register handlers for post-game lifecycle and analysis events. Returns an unsubscribe function. */
|
|
3059
|
+
onPostGameEvents(handlers: PostGameEventHandlers): () => void;
|
|
3123
3060
|
/** Register a handler for in-game connection. */
|
|
3124
3061
|
onIngameConnect(handler: () => void): () => void;
|
|
3125
3062
|
/** Register a handler for in-game disconnection. */
|
|
@@ -3132,6 +3069,12 @@ declare class LeagueBroadcastClient {
|
|
|
3132
3069
|
onPreGameDisconnect(handler: () => void): () => void;
|
|
3133
3070
|
/** Register a handler for pre-game connection errors. */
|
|
3134
3071
|
onPreGameError(handler: (error: Event) => void): () => void;
|
|
3072
|
+
/** Register a handler for post-game connection. */
|
|
3073
|
+
onPostGameConnect(handler: () => void): () => void;
|
|
3074
|
+
/** Register a handler for post-game disconnection. */
|
|
3075
|
+
onPostGameDisconnect(handler: () => void): () => void;
|
|
3076
|
+
/** Register a handler for post-game connection errors. */
|
|
3077
|
+
onPostGameError(handler: (error: Event) => void): () => void;
|
|
3135
3078
|
/**
|
|
3136
3079
|
* Create a subscribable slice of **in-game** state.
|
|
3137
3080
|
* The slice only notifies listeners when the selected value actually changes.
|
|
@@ -3182,6 +3125,30 @@ declare class LeagueBroadcastClient {
|
|
|
3182
3125
|
* ```
|
|
3183
3126
|
*/
|
|
3184
3127
|
watchChampSelect<S>(selector: (snapshot: ChampSelectSnapshot) => S, callback: (value: S, prev: S) => void, equalityFn?: EqualityFn<S>): () => void;
|
|
3128
|
+
/**
|
|
3129
|
+
* Create a subscribable slice of **post-game** (analysis) state.
|
|
3130
|
+
*
|
|
3131
|
+
* ```tsx
|
|
3132
|
+
* const overview = client.selectPostGame(s => s.postGameData.overview);
|
|
3133
|
+
* function Winner() {
|
|
3134
|
+
* const value = useSyncExternalStore(overview.subscribe, overview.getSnapshot);
|
|
3135
|
+
* return <span>{value?.winnerSide}</span>;
|
|
3136
|
+
* }
|
|
3137
|
+
* ```
|
|
3138
|
+
*/
|
|
3139
|
+
selectPostGame<S>(selector: (snapshot: PostGameSnapshot) => S, equalityFn?: EqualityFn<S>): Subscribable<S>;
|
|
3140
|
+
/**
|
|
3141
|
+
* Watch a derived **post-game** value and invoke `callback` whenever it
|
|
3142
|
+
* changes. Returns an unsubscribe function.
|
|
3143
|
+
*
|
|
3144
|
+
* ```ts
|
|
3145
|
+
* client.watchPostGame(
|
|
3146
|
+
* s => s.postGameData.overview?.winnerSide,
|
|
3147
|
+
* (winner, prev) => console.log(`Winner: ${prev} → ${winner}`),
|
|
3148
|
+
* );
|
|
3149
|
+
* ```
|
|
3150
|
+
*/
|
|
3151
|
+
watchPostGame<S>(selector: (snapshot: PostGameSnapshot) => S, callback: (value: S, prev: S) => void, equalityFn?: EqualityFn<S>): () => void;
|
|
3185
3152
|
/** Get the base HTTP URL for API requests. */
|
|
3186
3153
|
getApiUrl(): string;
|
|
3187
3154
|
/** Get the base URL for cache requests (optionally resolve a path). */
|
|
@@ -3196,6 +3163,16 @@ declare class LeagueBroadcastClient {
|
|
|
3196
3163
|
private handleChampSelectAction;
|
|
3197
3164
|
private handleRouteUpdate;
|
|
3198
3165
|
private endChampSelect;
|
|
3166
|
+
private setupPostGameMessageHandler;
|
|
3167
|
+
private handlePostGameRouteUpdate;
|
|
3168
|
+
private handlePostGameMockingUpdate;
|
|
3169
|
+
private handleActiveComponentChanged;
|
|
3170
|
+
/** Fetch the postgame overview (current game, a specific game, or the mock overview when mocking) and activate the postgame state. */
|
|
3171
|
+
showPostGame(gameId?: number): Promise<postGameOverview>;
|
|
3172
|
+
/** Re-fetch the postgame overview using the stored game id / mocking state. No-op when postgame is not active. */
|
|
3173
|
+
refreshPostGame(): Promise<void>;
|
|
3174
|
+
/** Hide / reset the postgame state (preserves `isMocking` and `isConnected`). */
|
|
3175
|
+
hidePostGame(): void;
|
|
3199
3176
|
}
|
|
3200
3177
|
|
|
3201
3178
|
/**
|
|
@@ -3401,7 +3378,7 @@ declare enum Feature {
|
|
|
3401
3378
|
*/
|
|
3402
3379
|
|
|
3403
3380
|
declare class playerHotkeyDto {
|
|
3404
|
-
team?: Team
|
|
3381
|
+
team?: Team;
|
|
3405
3382
|
role?: Lane;
|
|
3406
3383
|
}
|
|
3407
3384
|
|
|
@@ -3419,7 +3396,7 @@ declare class singleIngameHotkeyConfigDto {
|
|
|
3419
3396
|
hotkeyModifiers?: string[];
|
|
3420
3397
|
overlayName: string;
|
|
3421
3398
|
timePeriod: number;
|
|
3422
|
-
team?: Team
|
|
3399
|
+
team?: Team;
|
|
3423
3400
|
players?: playerHotkeyDto[];
|
|
3424
3401
|
backgroundColor: string;
|
|
3425
3402
|
hasSettings: boolean;
|
|
@@ -3444,7 +3421,7 @@ declare class singlePostgameHotkeyConfigDto {
|
|
|
3444
3421
|
hotkeyCode?: string;
|
|
3445
3422
|
hotkeyModifiers?: string[];
|
|
3446
3423
|
backgroundColor: string;
|
|
3447
|
-
team?: Team
|
|
3424
|
+
team?: Team;
|
|
3448
3425
|
playerIndex?: number;
|
|
3449
3426
|
allowPlayers: boolean;
|
|
3450
3427
|
allowTeams: boolean;
|
|
@@ -3472,7 +3449,7 @@ declare class casterModeConfigDto {
|
|
|
3472
3449
|
declare class ingameStateSettingsWrapper {
|
|
3473
3450
|
timePeriod?: number;
|
|
3474
3451
|
show: boolean;
|
|
3475
|
-
team?: Team
|
|
3452
|
+
team?: Team;
|
|
3476
3453
|
players?: playerHotkeyDto[];
|
|
3477
3454
|
overlaysToDisable: number[];
|
|
3478
3455
|
customSettings: {
|
|
@@ -3587,7 +3564,7 @@ declare enum TeamColorType {
|
|
|
3587
3564
|
declare class colorStyle {
|
|
3588
3565
|
color: string;
|
|
3589
3566
|
useTeamColor?: TeamColorType;
|
|
3590
|
-
useSideColor?: Team
|
|
3567
|
+
useSideColor?: Team;
|
|
3591
3568
|
image?: colorImageData;
|
|
3592
3569
|
gradient?: colorGradientData;
|
|
3593
3570
|
}
|
|
@@ -5744,21 +5721,6 @@ declare class ingameStateMessage {
|
|
|
5744
5721
|
events?: transitionEvents;
|
|
5745
5722
|
}
|
|
5746
5723
|
|
|
5747
|
-
/**
|
|
5748
|
-
* This is an auto-generated file.
|
|
5749
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
5750
|
-
*/
|
|
5751
|
-
|
|
5752
|
-
declare class pickBanActionEventArgs {
|
|
5753
|
-
type: string;
|
|
5754
|
-
subType: string;
|
|
5755
|
-
actorId: number;
|
|
5756
|
-
id: number;
|
|
5757
|
-
gameTeamId: number;
|
|
5758
|
-
champion?: championData;
|
|
5759
|
-
puuid?: string;
|
|
5760
|
-
}
|
|
5761
|
-
|
|
5762
5724
|
/**
|
|
5763
5725
|
* This is an auto-generated file.
|
|
5764
5726
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
@@ -5799,7 +5761,7 @@ declare class activeComponentChangedMessage {
|
|
|
5799
5761
|
gameId?: number;
|
|
5800
5762
|
matchId?: number;
|
|
5801
5763
|
playerIndex?: number;
|
|
5802
|
-
team?: Team
|
|
5764
|
+
team?: Team;
|
|
5803
5765
|
componentSettings?: {
|
|
5804
5766
|
[key: string]: string;
|
|
5805
5767
|
};
|
|
@@ -6007,7 +5969,7 @@ declare enum DatabaseUpdateType {
|
|
|
6007
5969
|
|
|
6008
5970
|
declare class gameDatabaseUpdateMessage {
|
|
6009
5971
|
type: string;
|
|
6010
|
-
game: gameWithTeams
|
|
5972
|
+
game: gameWithTeams;
|
|
6011
5973
|
updateType: DatabaseUpdateType;
|
|
6012
5974
|
}
|
|
6013
5975
|
|
|
@@ -6018,7 +5980,7 @@ declare class gameDatabaseUpdateMessage {
|
|
|
6018
5980
|
|
|
6019
5981
|
declare class gameStatusMessage {
|
|
6020
5982
|
type: string;
|
|
6021
|
-
gameState: GameState
|
|
5983
|
+
gameState: GameState;
|
|
6022
5984
|
isTestingEnvironment?: boolean;
|
|
6023
5985
|
}
|
|
6024
5986
|
|
|
@@ -6029,7 +5991,7 @@ declare class gameStatusMessage {
|
|
|
6029
5991
|
|
|
6030
5992
|
declare class gameTeamSidesSwappedMessage {
|
|
6031
5993
|
type: string;
|
|
6032
|
-
game: gameWithTeams
|
|
5994
|
+
game: gameWithTeams;
|
|
6033
5995
|
}
|
|
6034
5996
|
|
|
6035
5997
|
/**
|
|
@@ -6133,19 +6095,6 @@ declare class partialStrokeProperties {
|
|
|
6133
6095
|
lineStyle?: StrokeLineStyle;
|
|
6134
6096
|
}
|
|
6135
6097
|
|
|
6136
|
-
/**
|
|
6137
|
-
* This is an auto-generated file.
|
|
6138
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
6139
|
-
*/
|
|
6140
|
-
declare class seasonData {
|
|
6141
|
-
seasonId: number;
|
|
6142
|
-
seasonName: string;
|
|
6143
|
-
isActive: boolean;
|
|
6144
|
-
startDate?: Date;
|
|
6145
|
-
endDate?: Date;
|
|
6146
|
-
iconUri?: string;
|
|
6147
|
-
}
|
|
6148
|
-
|
|
6149
6098
|
/**
|
|
6150
6099
|
* This is an auto-generated file.
|
|
6151
6100
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
@@ -6207,7 +6156,7 @@ declare class styleVariantUpdateMessage {
|
|
|
6207
6156
|
|
|
6208
6157
|
declare class teamDatabaseUpdateMessage {
|
|
6209
6158
|
type: string;
|
|
6210
|
-
team: teamWithMembers
|
|
6159
|
+
team: teamWithMembers;
|
|
6211
6160
|
updateType: DatabaseUpdateType;
|
|
6212
6161
|
}
|
|
6213
6162
|
|
|
@@ -6321,11 +6270,11 @@ declare class postGamePlayerInfo {
|
|
|
6321
6270
|
*/
|
|
6322
6271
|
|
|
6323
6272
|
declare class postGamePlayerPage {
|
|
6324
|
-
champion: simpleChampionData
|
|
6273
|
+
champion: simpleChampionData;
|
|
6325
6274
|
nameWithTag: string;
|
|
6326
6275
|
displayName: string;
|
|
6327
6276
|
description?: string;
|
|
6328
|
-
team?: teamWithMembers
|
|
6277
|
+
team?: teamWithMembers;
|
|
6329
6278
|
}
|
|
6330
6279
|
|
|
6331
6280
|
/**
|
|
@@ -7045,7 +6994,7 @@ declare class bottomRowTeamStyle {
|
|
|
7045
6994
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
7046
6995
|
*/
|
|
7047
6996
|
|
|
7048
|
-
declare class bottomRowTournamentData
|
|
6997
|
+
declare class bottomRowTournamentData {
|
|
7049
6998
|
show: boolean;
|
|
7050
6999
|
layout: layoutStyle;
|
|
7051
7000
|
showTournamentIcon: boolean;
|
|
@@ -7073,7 +7022,7 @@ declare class bottomRowPickBanStyle {
|
|
|
7073
7022
|
fileVersion: string;
|
|
7074
7023
|
background: string | colorStyle;
|
|
7075
7024
|
size: bottomRowSizeStyle;
|
|
7076
|
-
tournamentData: bottomRowTournamentData
|
|
7025
|
+
tournamentData: bottomRowTournamentData;
|
|
7077
7026
|
neutralColor: string | colorStyle;
|
|
7078
7027
|
leftTeam: bottomRowTeamStyle;
|
|
7079
7028
|
rightTeam: bottomRowTeamStyle;
|
|
@@ -7447,20 +7396,6 @@ declare class textStyleWithBorder {
|
|
|
7447
7396
|
outlineColor: string;
|
|
7448
7397
|
}
|
|
7449
7398
|
|
|
7450
|
-
/**
|
|
7451
|
-
* This is an auto-generated file.
|
|
7452
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
7453
|
-
*/
|
|
7454
|
-
|
|
7455
|
-
declare class bottomRowTournamentData {
|
|
7456
|
-
show: boolean;
|
|
7457
|
-
layout: layoutStyle;
|
|
7458
|
-
showTournamentIcon: boolean;
|
|
7459
|
-
icon: imageStyle;
|
|
7460
|
-
matchName: optionalTextStyle;
|
|
7461
|
-
patch: optionalTextStyle;
|
|
7462
|
-
}
|
|
7463
|
-
|
|
7464
7399
|
/**
|
|
7465
7400
|
* This is an auto-generated file.
|
|
7466
7401
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
@@ -7690,37 +7625,6 @@ declare enum Interval {
|
|
|
7690
7625
|
year = 3
|
|
7691
7626
|
}
|
|
7692
7627
|
|
|
7693
|
-
/**
|
|
7694
|
-
* This is an auto-generated file.
|
|
7695
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
7696
|
-
*/
|
|
7697
|
-
|
|
7698
|
-
declare class addMatchRequestArgs {
|
|
7699
|
-
name?: string;
|
|
7700
|
-
type: BestOfType$1;
|
|
7701
|
-
teams: number[];
|
|
7702
|
-
isCurrent: boolean;
|
|
7703
|
-
onStage?: boolean;
|
|
7704
|
-
seasonId?: number;
|
|
7705
|
-
nextMatchId?: number;
|
|
7706
|
-
winnerNextMatchId?: number;
|
|
7707
|
-
loserNextMatchId?: number;
|
|
7708
|
-
matchDate?: string;
|
|
7709
|
-
timePerGame?: number;
|
|
7710
|
-
ruleSet: string;
|
|
7711
|
-
}
|
|
7712
|
-
|
|
7713
|
-
/**
|
|
7714
|
-
* This is an auto-generated file.
|
|
7715
|
-
* Any changes made to this file can be lost when this file is regenerated.
|
|
7716
|
-
*/
|
|
7717
|
-
|
|
7718
|
-
declare class optionalMatchData {
|
|
7719
|
-
date?: Date;
|
|
7720
|
-
ruleSet?: MatchRuleSet$1;
|
|
7721
|
-
onStage?: boolean;
|
|
7722
|
-
}
|
|
7723
|
-
|
|
7724
7628
|
/**
|
|
7725
7629
|
* This is an auto-generated file.
|
|
7726
7630
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
@@ -8126,4 +8030,85 @@ interface NormalizedDamageEntry {
|
|
|
8126
8030
|
*/
|
|
8127
8031
|
declare function normalizeDamageEntries(entries: damageRecapEntry[], limit?: number): NormalizedDamageEntry[];
|
|
8128
8032
|
|
|
8129
|
-
export { ActionSubType, ActionType, type AggregatedSpellEntry, AnnouncementType, ApiClient, ApiError, AppTheme, AssetType, BestOfType$1 as BestOfType, type BoundIngameTimerUtils, CacheOperation, CampLocation, type ChampSelectEventHandlers, type ChampSelectSnapshot, ChampSelectStateStore, ChampionIconType, CombinedViewTransitionType, ContentAlign, CustomOverlayMode, type DamageBarSegment, DamageEventType, DamageSplitMode, DamageType, DatabaseUpdateType, DevServerStatus, type EntityType, type EqualityFn, Feature, GameApi, GameState$1 as GameState, GameStateApi, type GameStateSnapshot, GameStateStore, GradientType, HeroStatsDisplayMode, IngameApi, type IngameEventHandlers, IngameObjectiveType, IngameSideInfoPageType, Interval, Lane, LeagueBroadcastClient, type LeagueBroadcastClientConfig, MAGIC_COLOR, MatchApi, MatchRuleSet$1 as MatchRuleSet, type NormalizedDamageEntry, ObjectFit, ObjectiveEventType, ObjectiveRecapDisplayMode, PHYS_COLOR, PaymentInterval, PickBanPhase, PostGameApi, PostGameDataType, damageBarStyle as PostgameDamageBarStyle, PreGameApi, divider as PregameDivider, ResourceType, RestApi, ScoreDisplayMode, ScoreDotBorderMode, SeasonApi, SetPhaseType, SpellClassification, SpellSlotIndex, StrokeLayer, StrokeLineStyle, StrokeTipStyle, type Subscribable, TRUE_COLOR, Team$1 as Team, TeamColorType, TeamMemberRole, TextOrientation, Tier, TimeLineActionType, TransitionType, WebSocketManager, WindowType, WritingMode, activeComponentChangedEventArgs, activeComponentChangedMessage, addMatchRequestArgs, aggregateSpellEntries, announcementParameter, announcerColors, announcerEvent, announcerUniversalStyle, applicationLifetimeMessage, applicationNotificationCompletedMessage, applicationNotificationMessage, authHelloMessage, authHelloOkMessage, banSlot, banSlotLayoutStyling, banStyle, barStyle, billingCycle, borderStyle, bottomRowPickBanStyle, bottomRowSizeStyle, bottomRowTeamStyle, bottomRowTournamentData, brushPresetsChangedMessage, cDragonPerkInfo, casterModeConfigDto, centerContent, centerContentLayoutStyling, centerContentStyling, champSelectActionMessage, champSelectStateData, champSelectStateMessage, champSelectStateMetaData, champSelectStatePerformanceData, championAbilityData, championContainer, championData, championIamgeStyle, championIconStyle, championImage, championImageStyle, championSelectEUStyle, championSelectTeam, championSkinInfo, championSlot, championStackStyle, championStatistics, championStats, championStatsContainer, championStatusStyle, championTabContainerStyle, championTabNameStyle, championTabsStyle, championUltimateStyle, championsSlot, changeDetectionResponse, changeEmailRequest, changeEmailResponse, changePasswordRequest, chatVoteOption, chatVoteResultDto, checkoutCompleteResponse, checkoutRequestDTO, choiceBar, choiceTitel, choiceVotes, cloudOverlayDownloadResponse, cloudOverlayMetadata, cloudOverlayUploadRequest, cloudOverlayUploadResponse, cloudOverlaysResponse, cloudStyleSetDownloadResponse, cloudStyleSetMetadata, cloudStyleSetUploadRequest, cloudStyleSetUploadResponse, cloudStyleSetsResponse, cloudSyncConfig, cloudSyncResult, coachSlot, colorByDamageType, colorComponentStyling, colorGradientData, colorImageData, colorRGBA, colorStop, colorStyle, colorStyling, combinedViewStyle, combinedViewTransitionStyle, communityDragonCacheProgressMessage, communityDragonV2ProgressMessage, communityDragonV2StatusMessage, componentStyle, contentContainerStyle, createChoice, createIngameTimerUtils, createPollDto, createPredictionDto, creepScore, curveStyle, customOverlay, customOverlayDescriptor, customOverlayUpdateMessage, damageBarSegments, damageBarStyle$1 as damageBarStyle, damageCompositionBarStyle, damageCompositionColors, damageCompositionDonutStyle, damageCompositionPlayer, damageCompositionStyle, damageCompositionTeam, damageDealtStyle, damageEventHistoryEntry, damageEventHistoryUpdateMessage, damageFlow, damageFlowEdge, damageFlowNode, damageFlowNodeStyle, damageFlowRibbonStyle, damageGraphEntry, damageGraphSide, damageRecapDamageBarStyle, damageRecapEntry, damageRecapEntryStyle, damageRecapSpellEntry, damageRecapStyle, damageRecapTimelineEntry, damageSplitBarStyle, damageSplitEntryStyle, damageSplitSpellEntry, damageSplitStyle, damageSplitTargetEntry, damageStatsStyle, devServerState, displayColorData, divider$1 as divider, dmgTypeColor, drawingEventMessage, drawingStateMessage, drawingStateRequestMessage, drawingStrokeDto, emailConfirmRequest, emailForgotPasswordRequest, emailLoginRequest, emailResendCodeRequest, emailResetPasswordRequest, emailSignUpRequest, endPollDto, endPredictionDto, fearLessByGame, fearLessSingleRow, fearlessChampionImage, fearlessDraftStyle, fearlessDraftStylePregame, fearlessTree, fearlessTreeBanRowStyle, fearlessTreeConnectorStyle, fearlessTreeGameNodeStyle, fearlessTreeHeaderStyle, fontsChangedMessage, formatDamage, frontendRouteUpdateMessage, fullPlayerScoreboardSlots, gameAnalysis, gameDatabaseUpdateMessage, gameInfoRotation, gameStatusMessage, gameTeamSidesSwappedMessage, gameTimer, gameTimerStyle, gameWithTeams$1 as gameWithTeams, getAbilityCooldownFraction, getAbilityCooldownRemaining, getDamageByType, getItemCooldownFraction, getItemCooldownRemaining, getRemaining, getRespawnRemaining, getRoleQuest, getSortedInventory, getTrinket, globalPosition, globalScoreboard, globalScoreboardBooleanIndicator, globalScoreboardSection, globalStyleProperties, goldAdvantage, goldEfficiencyEntry, goldEfficiencyHeaderStyle, goldEfficiencyHeatStyle, goldEfficiencyPlayerRowStyle, goldEfficiencyStyle, goldGraph, goldGraphStyle, gridLineStyle, headline, healthBarStyle, hotkeyFiredMessage, hubErrorMessage, hubMemberDto, hubPingMessage, hubPongMessage, type iApplicationNotification, type iApplicationNotificationResponse, type iHeroNamed, type iObjectiveRespawnData, type iSpellObjectResource, type iWebsocketMessage, imageComponentStyle, imageStyle, infoContentColorStyling, infoContentLayoutStyling, infoContentTextStyle, infoRow, ingameAbilityInfo, ingameDamageCompositionData, ingameDamageFlowData, ingameDamageGraphData, ingameDamageRecapData, ingameDamageSplitData, ingameExperienceData, ingameFrontendData, ingameGoldEfficiencyData, ingameGoldGraphData, ingameHealthData, ingameKillParticipationData, ingameObjectiveDpsData, ingameObjectiveEvent, ingameObjectivePowerPlay, ingameResourceData, ingameRewindMessage, ingameRuneData, ingameScoreboardBottomData, ingameScoreboardBottomPlayerData, ingameScoreboardBottomTeamData, ingameScoreboardData, ingameScoreboardTeamData, ingameSideInfoPage, ingameSideInfoPageDisplayData, ingameSideInfoPageRow, ingameSingleRuneData, ingameSkinDisplayData, ingameSkinDisplayPlayerData, ingameSkinDisplayTeamData, ingameStateMessage, ingameStateSettingsWrapper, ingameTeamfightTimelineData, ingameTelemetry, ingameTelemetryMessage, inhibitorRespawnData, inhibitorTimer, inhibitorTimerContainer, inhibitorTimerDual, inhibitorTimerIconContainer, inhibitorTimerSingle, inhibitorTimerTimerContainer, isAbilityOnCooldown, isActive, isItemOnCooldown, isPlayerDead, itemAsset, itemIcon, itemSlot, itemStats, itemWithAsset, killFeed, killFeedAssistersStyle, killFeedContainerStyle, killFeedEntryStyle, killFeedEvent, killFeedIconStyle, killFeedKillIconStyle, killParticipationLink, killParticipationPlayer, killParticipationStyle, lFrameRotation, laneIconStyle, laneRowLayoutStyle, layoutComponentStyling, layoutStyle, legacyPickBanStyle, levelXpTrackerStyle, lineStyle, localSyncState, localizedPriceData, matchCardStyle, matchData$1 as matchData, matchDatabaseUpdateMessage, matchOverviewData, matchOverviewGameSummary, matchOverviewTeamSummary, matchSummaryStyle, matchWithGamesAndTeams, matchupGridStyle, matchupHeaderStyle, matchupOverview, matchupOverviewGameRowStyle, matchupOverviewHeaderStyle, matchupOverviewTeamBarStyle, matchupScoreStyle, matchupTable, matchupTableContentStyle, matchupVersusStyle, normalizeDamageEntries, numberContainerStyle, objectiveDamagePerTeamStyle, objectiveDpsBarStyle, objectiveDpsHeaderStyle, objectiveDpsSample, objectiveDpsSmiteStrip, objectiveDpsTeamNumbersStyle, objectiveList, objectiveRecapCardStyle, objectiveRecapHeaderStyle, objectiveRecapSmiteBarStyle, objectiveRecapStyle, objectiveTimer, optionBar, optionTitel, optionVotes, optionalGameData, optionalMatchData, optionalTextStyle, partialStrokeProperties, perkData, perkInfoV2, perkStyleInfoV2, phaseTimer, phaseTimerColorStyling, phaseTimerLayoutStyling, pickBanActionEventArgs, pickBanTimer, pickBans, pickSlot, planDescriptorRecord, planDetails, playerDeath, playerHotkeyDto, playerKDA, playerScoreboard, playerScoreboardContainer, playerScoreboardGoldComparison, playerScoreboardSlot, playerSlot, playerSlotColorStyling, playerSlotLayoutStyling, playerSlotPickingStyle, playerSlotStyle, playerUpdateEvent, playerXpLevelStyle, pollChoice, pollWrapper, portalSessionResponse, postGameDamageGraph, postGameDamageGraphByTeam, postGameDamageGraphEntry, postGameGoldGraph, postGameOverview, postGamePlayerInfo, postGamePlayerPage, postGamePlayerRunesAndItems, postGamePlayerStats, postGameTeamInfo, postGameTeamOverview, predictionBar, predictionOutcome, predictionOutcomeRequest, predictionPoints, predictionWrapper, profileResponse, progressBarStyle, registerOverlayRequest, respawnTimer, roleQuestSlot, roomJoinMessage, roomJoinedMessage, roomLeaveMessage, roomMemberJoinedMessage, roomMemberLeftMessage, runeContainer, runeDisplayPerkStyle, runeDisplayStyle, runeDisplayTeamStyle, runeIcon, runeStyle, scoreStyle, scoreboardChampionSlot, scoreboardDamageGraphStyle, seasonData, seasonDatabaseUpdateMessage, shallowEqual, simpleChampionData$1 as simpleChampionData, singleChampionDetailHotkeyConfigDto, singleGameGoldGraph, singleGameGoldGraphData, singleIngameHotkeyConfigDto, singlePostgameHotkeyConfigDto, skinDisplayInfoStyle, skinDisplayPoweredByStyle, skinDisplayRoleIconStyle, skinDisplayStyle, smiteReactionBadgeStyle, smiteReactionPoweredByStyle, smiteReactionResult, smiteReactionRingStyle, smiteReactionStyle, smiteReactionTextStyle, spawnTimer, spawnTimerIconContainerStyle, spawnTimerInfoContainerStyle, spawnTimerStyle, startChatVoteDto, startCheckoutResponse, strokePropertiesChangedMessage, styleSet, styleSetEntry, styleSetNameCollection, styleSetUpdatedMessage, styleVariantUpdateMessage, styleVariantUpdatedEventArgs, summonerSpellData, summonerSpellInfoV2, tabLevelUpStyle, tabPlayer$1 as tabPlayer, tabTeam, tabsStyle, teamColorStyling, teamDamageStyle, teamData, teamDatabaseUpdateMessage, teamFightDamageStyle, teamIconStyle, teamInfo, teamInfoStyle, teamInhibitorData, teamLayoutStyling, teamMember, teamName, teamScore, teamScores, teamSummaryStyle, teamTextStyle, teamUpdateResults, teamWithMembers$1 as teamWithMembers, teamfightDamageEntryStyle, teamfightDeathIconStyle, teamfightKillEvent, teamfightTimelinePlayer, teamfightTimelineSample, teamfightTimelineStyle, teamsAndTimerStyle, textComponentStyling, textContentWithStyle, textOutline, textStyle, textStyleWithBorder, textWithContent, timelineEntry, timerBadgePoll, timerBadgePrediction, timerBarStyle, timerTeamStyle, totalBadge, totalVotes, tournamentData, tournamentLogo, transitionEvents, transitionStyle, turretPlatingFallEvent, twitchChatVote, twitchPoll, twitchPollDto, twitchPrediction, twitchPredictionDto, twitchStatusDTO, ultiAbilityStyle, updateNameRequest, updateOverlayRequest, userFeaturesUpdatedMessage, userTierUpdatedMessage, vector3, verifyEmailRequest, voteWrapper, websocketMessageTypes };
|
|
8033
|
+
/**
|
|
8034
|
+
* Returns the sorted numeric side keys present in a post-game overview.
|
|
8035
|
+
*
|
|
8036
|
+
* Prefers the keys of `teamOverviewBySide`; falls back to `teamInfoBySide`
|
|
8037
|
+
* when no overview-by-side data is present.
|
|
8038
|
+
*
|
|
8039
|
+
* @example
|
|
8040
|
+
* ```ts
|
|
8041
|
+
* getPostGameSides(overview); // [100, 200]
|
|
8042
|
+
* ```
|
|
8043
|
+
*/
|
|
8044
|
+
declare function getPostGameSides(overview: postGameOverview): number[];
|
|
8045
|
+
/**
|
|
8046
|
+
* Flattens a `singleGameGoldGraph.goldAtTime` map into a chronological series.
|
|
8047
|
+
*
|
|
8048
|
+
* Each entry pairs a numeric `time` with the per-side gold map at that time.
|
|
8049
|
+
* Entries are sorted ascending by numeric time.
|
|
8050
|
+
*
|
|
8051
|
+
* @example
|
|
8052
|
+
* ```ts
|
|
8053
|
+
* buildGoldSeries(graph);
|
|
8054
|
+
* // [{ time: 0, goldBySide: { 100: 2500, 200: 2500 } }, ...]
|
|
8055
|
+
* ```
|
|
8056
|
+
*/
|
|
8057
|
+
declare function buildGoldSeries(graph: singleGameGoldGraph): {
|
|
8058
|
+
time: number;
|
|
8059
|
+
goldBySide: Record<number, number>;
|
|
8060
|
+
}[];
|
|
8061
|
+
/**
|
|
8062
|
+
* Builds a gold-difference series relative to a reference side.
|
|
8063
|
+
*
|
|
8064
|
+
* For each timestamp the value is `referenceSide gold - other side gold`.
|
|
8065
|
+
* A positive value means the reference side is ahead. When more than two
|
|
8066
|
+
* sides are present, all non-reference sides are summed as "other".
|
|
8067
|
+
* `referenceSide` defaults to the lowest numeric side key in the series.
|
|
8068
|
+
*
|
|
8069
|
+
* @example
|
|
8070
|
+
* ```ts
|
|
8071
|
+
* buildGoldDiffSeries(graph); // reference = lowest side
|
|
8072
|
+
* buildGoldDiffSeries(graph, 200); // reference = side 200
|
|
8073
|
+
* ```
|
|
8074
|
+
*/
|
|
8075
|
+
declare function buildGoldDiffSeries(graph: singleGameGoldGraph, referenceSide?: number): {
|
|
8076
|
+
time: number;
|
|
8077
|
+
diff: number;
|
|
8078
|
+
}[];
|
|
8079
|
+
/**
|
|
8080
|
+
* Formats a duration in seconds as a game clock string.
|
|
8081
|
+
*
|
|
8082
|
+
* Renders `M:SS` (or `MM:SS`) below an hour and `H:MM:SS` from one hour up.
|
|
8083
|
+
* Negative inputs are clamped to `0`.
|
|
8084
|
+
*
|
|
8085
|
+
* @example
|
|
8086
|
+
* ```ts
|
|
8087
|
+
* formatGameClock(75); // "1:15"
|
|
8088
|
+
* formatGameClock(605); // "10:05"
|
|
8089
|
+
* formatGameClock(3661); // "1:01:01"
|
|
8090
|
+
* formatGameClock(-5); // "0:00"
|
|
8091
|
+
* ```
|
|
8092
|
+
*/
|
|
8093
|
+
declare function formatGameClock(seconds: number): string;
|
|
8094
|
+
/**
|
|
8095
|
+
* Sums the damage across all entries of a team's damage graph.
|
|
8096
|
+
*
|
|
8097
|
+
* @example
|
|
8098
|
+
* ```ts
|
|
8099
|
+
* damageGraphTeamTotal(team); // 84210
|
|
8100
|
+
* ```
|
|
8101
|
+
*/
|
|
8102
|
+
declare function damageGraphTeamTotal(team: postGameDamageGraphByTeam): number;
|
|
8103
|
+
/**
|
|
8104
|
+
* Returns a new array of damage entries sorted by total damage descending.
|
|
8105
|
+
* Non-mutating — the input array is left untouched.
|
|
8106
|
+
*
|
|
8107
|
+
* @example
|
|
8108
|
+
* ```ts
|
|
8109
|
+
* sortDamageEntries(team.entries); // highest-damage entry first
|
|
8110
|
+
* ```
|
|
8111
|
+
*/
|
|
8112
|
+
declare function sortDamageEntries(entries: postGameDamageGraphEntry[]): postGameDamageGraphEntry[];
|
|
8113
|
+
|
|
8114
|
+
export { ActionSubType, ActionType, type AggregatedSpellEntry, AnnouncementType, ApiClient, ApiError, AppTheme, AssetType, BestOfType, type BoundIngameTimerUtils, CacheOperation, CampLocation, type ChampSelectEventHandlers, type ChampSelectSnapshot, ChampSelectStateStore, ChampionIconType, CombinedViewTransitionType, ContentAlign, CustomOverlayMode, type DamageBarSegment, DamageEventType, DamageSplitMode, DamageType, DatabaseUpdateType, DevServerStatus, type EntityType, type EqualityFn, Feature, GameApi, GameState, GameStateApi, type GameStateSnapshot, GameStateStore, GradientType, HeroStatsDisplayMode, IngameApi, type IngameEventHandlers, IngameObjectiveType, IngameSideInfoPageType, Interval, Lane, LeagueBroadcastClient, type LeagueBroadcastClientConfig, MAGIC_COLOR, MatchApi, MatchRuleSet, type NormalizedDamageEntry, ObjectFit, ObjectiveEventType, ObjectiveRecapDisplayMode, PHYS_COLOR, PaymentInterval, PickBanPhase, PostGameApi, PostGameDataType, type PostGameEventHandlers, type PostGameSnapshot, PostGameStateStore, damageBarStyle as PostgameDamageBarStyle, PreGameApi, divider as PregameDivider, ResourceType, RestApi, ScoreDisplayMode, ScoreDotBorderMode, SeasonApi, SetPhaseType, SpellClassification, SpellSlotIndex, StrokeLayer, StrokeLineStyle, StrokeTipStyle, type Subscribable, TRUE_COLOR, Team, TeamColorType, TeamMemberRole, TextOrientation, Tier, TimeLineActionType, TransitionType, WebSocketManager, WindowType, WritingMode, activeComponentChangedEventArgs, activeComponentChangedMessage, addMatchRequestArgs, aggregateSpellEntries, announcementParameter, announcerColors, announcerEvent, announcerUniversalStyle, applicationLifetimeMessage, applicationNotificationCompletedMessage, applicationNotificationMessage, authHelloMessage, authHelloOkMessage, banSlot, banSlotLayoutStyling, banStyle, barStyle, billingCycle, borderStyle, bottomRowPickBanStyle, bottomRowSizeStyle, bottomRowTeamStyle, bottomRowTournamentData, brushPresetsChangedMessage, buildGoldDiffSeries, buildGoldSeries, cDragonPerkInfo, casterModeConfigDto, centerContent, centerContentLayoutStyling, centerContentStyling, champSelectActionMessage, champSelectStateData, champSelectStateMessage, champSelectStateMetaData, champSelectStatePerformanceData, championAbilityData, championCombatStats, championContainer, championData, championDetailData, championIamgeStyle, championIconStyle, championImage, championImageStyle, championRuneStat, championSelectEUStyle, championSelectTeam, championSkinInfo, championSlot, championStackStyle, championStatistics, championStats, championStatsContainer, championStatusStyle, championTabContainerStyle, championTabNameStyle, championTabsStyle, championUltimateStyle, championsSlot, changeDetectionResponse, changeEmailRequest, changeEmailResponse, changePasswordRequest, chatVoteOption, chatVoteResultDto, checkoutCompleteResponse, checkoutRequestDTO, choiceBar, choiceTitel, choiceVotes, cloudOverlayDownloadResponse, cloudOverlayMetadata, cloudOverlayUploadRequest, cloudOverlayUploadResponse, cloudOverlaysResponse, cloudStyleSetDownloadResponse, cloudStyleSetMetadata, cloudStyleSetUploadRequest, cloudStyleSetUploadResponse, cloudStyleSetsResponse, cloudSyncConfig, cloudSyncResult, coachSlot, colorByDamageType, colorComponentStyling, colorGradientData, colorImageData, colorRGBA, colorStop, colorStyle, colorStyling, combinedViewStyle, combinedViewTransitionStyle, communityDragonCacheProgressMessage, communityDragonV2ProgressMessage, communityDragonV2StatusMessage, componentStyle, contentContainerStyle, createChoice, createIngameTimerUtils, createPollDto, createPredictionDto, creepScore, curveStyle, customOverlay, customOverlayDescriptor, customOverlayUpdateMessage, damageBarSegments, damageBarStyle$1 as damageBarStyle, damageCompositionBarStyle, damageCompositionColors, damageCompositionDonutStyle, damageCompositionPlayer, damageCompositionStyle, damageCompositionTeam, damageDealtStyle, damageEventHistoryEntry, damageEventHistoryUpdateMessage, damageFlow, damageFlowEdge, damageFlowNode, damageFlowNodeStyle, damageFlowRibbonStyle, damageGraphEntry, damageGraphSide, damageGraphTeamTotal, damageRecapDamageBarStyle, damageRecapEntry, damageRecapEntryStyle, damageRecapSpellEntry, damageRecapStyle, damageRecapTimelineEntry, damageSplitBarStyle, damageSplitEntryStyle, damageSplitSpellEntry, damageSplitStyle, damageSplitTargetEntry, damageStatsStyle, devServerState, displayColorData, divider$1 as divider, dmgTypeColor, drawingEventMessage, drawingStateMessage, drawingStateRequestMessage, drawingStrokeDto, emailConfirmRequest, emailForgotPasswordRequest, emailLoginRequest, emailResendCodeRequest, emailResetPasswordRequest, emailSignUpRequest, endPollDto, endPredictionDto, fearLessByGame, fearLessSingleRow, fearlessChampionImage, fearlessDraftStyle, fearlessDraftStylePregame, fearlessTree, fearlessTreeBanRowStyle, fearlessTreeConnectorStyle, fearlessTreeGameNodeStyle, fearlessTreeHeaderStyle, fontsChangedMessage, formatDamage, formatGameClock, frontendRouteUpdateMessage, fullPlayerScoreboardSlots, gameAnalysis, gameDatabaseUpdateMessage, gameInfoRotation, gameStatusMessage, gameTeamSidesSwappedMessage, gameTimer, gameTimerStyle, gameWithTeams, getAbilityCooldownFraction, getAbilityCooldownRemaining, getDamageByType, getItemCooldownFraction, getItemCooldownRemaining, getPostGameSides, getRemaining, getRespawnRemaining, getRoleQuest, getSortedInventory, getTrinket, globalPosition, globalScoreboard, globalScoreboardBooleanIndicator, globalScoreboardSection, globalStyleProperties, goldAdvantage, goldEfficiencyEntry, goldEfficiencyHeaderStyle, goldEfficiencyHeatStyle, goldEfficiencyPlayerRowStyle, goldEfficiencyStyle, goldGraph, goldGraphStyle, gridLineStyle, headline, healthBarStyle, hotkeyFiredMessage, hubErrorMessage, hubMemberDto, hubPingMessage, hubPongMessage, type iApplicationNotification, type iApplicationNotificationResponse, type iHeroNamed, type iObjectiveRespawnData, type iSpellObjectResource, type iWebsocketMessage, imageComponentStyle, imageStyle, infoContentColorStyling, infoContentLayoutStyling, infoContentTextStyle, infoRow, ingameAbilityInfo, ingameDamageCompositionData, ingameDamageFlowData, ingameDamageGraphData, ingameDamageRecapData, ingameDamageSplitData, ingameExperienceData, ingameFrontendData, ingameGoldEfficiencyData, ingameGoldGraphData, ingameHealthData, ingameKillParticipationData, ingameObjectiveDpsData, ingameObjectiveEvent, ingameObjectivePowerPlay, ingameResourceData, ingameRewindMessage, ingameRuneData, ingameScoreboardBottomData, ingameScoreboardBottomPlayerData, ingameScoreboardBottomTeamData, ingameScoreboardData, ingameScoreboardTeamData, ingameSideInfoPage, ingameSideInfoPageDisplayData, ingameSideInfoPageRow, ingameSingleRuneData, ingameSkinDisplayData, ingameSkinDisplayPlayerData, ingameSkinDisplayTeamData, ingameStateMessage, ingameStateSettingsWrapper, ingameTeamfightTimelineData, ingameTelemetry, ingameTelemetryMessage, inhibitorRespawnData, inhibitorTimer, inhibitorTimerContainer, inhibitorTimerDual, inhibitorTimerIconContainer, inhibitorTimerSingle, inhibitorTimerTimerContainer, isAbilityOnCooldown, isActive, isItemOnCooldown, isPlayerDead, itemAsset, itemIcon, itemSlot, itemStats, itemWithAsset, killFeed, killFeedAssistersStyle, killFeedContainerStyle, killFeedEntryStyle, killFeedEvent, killFeedIconStyle, killFeedKillIconStyle, killParticipationLink, killParticipationPlayer, killParticipationStyle, lFrameRotation, laneIconStyle, laneRowLayoutStyle, layoutComponentStyling, layoutStyle, legacyPickBanStyle, levelXpTrackerStyle, lineStyle, localSyncState, localizedPriceData, matchCardStyle, matchData, matchDatabaseUpdateMessage, matchOverviewData, matchOverviewGameSummary, matchOverviewTeamSummary, matchSummaryStyle, matchWithGamesAndTeams, matchupGridStyle, matchupHeaderStyle, matchupOverview, matchupOverviewGameRowStyle, matchupOverviewHeaderStyle, matchupOverviewTeamBarStyle, matchupScoreStyle, matchupTable, matchupTableContentStyle, matchupVersusStyle, normalizeDamageEntries, numberContainerStyle, objectiveDamagePerTeamStyle, objectiveDpsBarStyle, objectiveDpsHeaderStyle, objectiveDpsSample, objectiveDpsSmiteStrip, objectiveDpsTeamNumbersStyle, objectiveList, objectiveRecapCardStyle, objectiveRecapHeaderStyle, objectiveRecapSmiteBarStyle, objectiveRecapStyle, objectiveTimer, optionBar, optionTitel, optionVotes, optionalGameData, optionalMatchData, optionalTextStyle, partialStrokeProperties, perkData, perkInfoV2, perkStyleInfoV2, phaseTimer, phaseTimerColorStyling, phaseTimerLayoutStyling, pickBanActionEventArgs, pickBanTimer, pickBans, pickSlot, planDescriptorRecord, planDetails, playerDeath, playerHotkeyDto, playerKDA, playerScoreboard, playerScoreboardContainer, playerScoreboardGoldComparison, playerScoreboardSlot, playerSlot, playerSlotColorStyling, playerSlotLayoutStyling, playerSlotPickingStyle, playerSlotStyle, playerUpdateEvent, playerXpLevelStyle, pollChoice, pollWrapper, portalSessionResponse, postGameDamageGraph, postGameDamageGraphByTeam, postGameDamageGraphEntry, postGameGoldGraph, postGameOverview, postGamePlayerInfo, postGamePlayerPage, postGamePlayerRunesAndItems, postGamePlayerStats, postGameStateData, postGameTeamInfo, postGameTeamOverview, predictionBar, predictionOutcome, predictionOutcomeRequest, predictionPoints, predictionWrapper, profileResponse, progressBarStyle, registerOverlayRequest, respawnTimer, roleQuestSlot, roomJoinMessage, roomJoinedMessage, roomLeaveMessage, roomMemberJoinedMessage, roomMemberLeftMessage, runeContainer, runeDisplayPerkStyle, runeDisplayStyle, runeDisplayTeamStyle, runeIcon, runeStyle, scoreStyle, scoreboardChampionSlot, scoreboardDamageGraphStyle, seasonData, seasonDatabaseUpdateMessage, shallowEqual, simpleChampionData, singleChampionDetailHotkeyConfigDto, singleGameGoldGraph, singleGameGoldGraphData, singleIngameHotkeyConfigDto, singlePostgameHotkeyConfigDto, skinDisplayInfoStyle, skinDisplayPoweredByStyle, skinDisplayRoleIconStyle, skinDisplayStyle, smiteReactionBadgeStyle, smiteReactionPoweredByStyle, smiteReactionResult, smiteReactionRingStyle, smiteReactionStyle, smiteReactionTextStyle, sortDamageEntries, spawnTimer, spawnTimerIconContainerStyle, spawnTimerInfoContainerStyle, spawnTimerStyle, startChatVoteDto, startCheckoutResponse, strokePropertiesChangedMessage, styleSet, styleSetEntry, styleSetNameCollection, styleSetUpdatedMessage, styleVariantUpdateMessage, styleVariantUpdatedEventArgs, summonerSpellData, summonerSpellInfoV2, tabLevelUpStyle, tabPlayer, tabTeam, tabsStyle, teamColorStyling, teamDamageStyle, teamData, teamDatabaseUpdateMessage, teamFightDamageStyle, teamIconStyle, teamInfo, teamInfoStyle, teamInhibitorData, teamLayoutStyling, teamMember, teamName, teamScore, teamScores, teamSummaryStyle, teamTextStyle, teamUpdateResults, teamWithMembers, teamfightDamageEntryStyle, teamfightDeathIconStyle, teamfightKillEvent, teamfightTimelinePlayer, teamfightTimelineSample, teamfightTimelineStyle, teamsAndTimerStyle, textComponentStyling, textContentWithStyle, textOutline, textStyle, textStyleWithBorder, textWithContent, timelineEntry, timerBadgePoll, timerBadgePrediction, timerBarStyle, timerTeamStyle, totalBadge, totalVotes, tournamentData, tournamentLogo, transitionEvents, transitionStyle, turretPlatingFallEvent, twitchChatVote, twitchPoll, twitchPollDto, twitchPrediction, twitchPredictionDto, twitchStatusDTO, ultiAbilityStyle, updateNameRequest, updateOverlayRequest, userFeaturesUpdatedMessage, userTierUpdatedMessage, vector3, verifyEmailRequest, voteWrapper, websocketMessageTypes };
|