moons-ta-client 1.2.4 → 1.3.1
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/constants.d.ts +3 -2
- package/dist/constants.js +2 -2
- package/dist/index.d.ts +1982 -680
- package/dist/index.esm.js +3719 -345
- package/dist/models/commands.d.ts +12 -12
- package/dist/models/commands.js +15 -15
- package/dist/models/discord.d.ts +6 -6
- package/dist/models/discord.js +9 -7
- package/dist/models/events.d.ts +37 -37
- package/dist/models/events.js +25 -31
- package/dist/models/google/protobuf/timestamp.d.ts +156 -0
- package/dist/models/google/protobuf/timestamp.js +132 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/models.d.ts +141 -128
- package/dist/models/models.js +171 -55
- package/dist/models/packets.d.ts +22 -15
- package/dist/models/packets.js +25 -11
- package/dist/models/pushes.d.ts +19 -19
- package/dist/models/pushes.js +15 -7
- package/dist/models/replay_stream.d.ts +1079 -0
- package/dist/models/replay_stream.js +2247 -0
- package/dist/models/requests.d.ts +250 -221
- package/dist/models/requests.js +312 -164
- package/dist/models/responses.d.ts +124 -91
- package/dist/models/responses.js +174 -80
- package/dist/tournament-assistant-client.d.ts +2 -1
- package/dist/tournament-assistant-client.js +17 -1
- package/package.json +1 -1
package/dist/models/models.d.ts
CHANGED
|
@@ -4,17 +4,18 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
|
4
4
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
5
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
6
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
+
import { Timestamp } from './google/protobuf/timestamp.js';
|
|
7
8
|
import { Channel } from './discord.js';
|
|
8
9
|
/**
|
|
9
10
|
* @generated from protobuf message proto.models.Characteristic
|
|
10
11
|
*/
|
|
11
12
|
export interface Characteristic {
|
|
12
13
|
/**
|
|
13
|
-
* @generated from protobuf field: string serialized_name = 1
|
|
14
|
+
* @generated from protobuf field: string serialized_name = 1
|
|
14
15
|
*/
|
|
15
16
|
serializedName: string;
|
|
16
17
|
/**
|
|
17
|
-
* @generated from protobuf field: repeated int32 difficulties = 2
|
|
18
|
+
* @generated from protobuf field: repeated int32 difficulties = 2
|
|
18
19
|
*/
|
|
19
20
|
difficulties: number[];
|
|
20
21
|
}
|
|
@@ -23,19 +24,19 @@ export interface Characteristic {
|
|
|
23
24
|
*/
|
|
24
25
|
export interface Beatmap {
|
|
25
26
|
/**
|
|
26
|
-
* @generated from protobuf field: string name = 1
|
|
27
|
+
* @generated from protobuf field: string name = 1
|
|
27
28
|
*/
|
|
28
29
|
name: string;
|
|
29
30
|
/**
|
|
30
|
-
* @generated from protobuf field: string level_id = 2
|
|
31
|
+
* @generated from protobuf field: string level_id = 2
|
|
31
32
|
*/
|
|
32
33
|
levelId: string;
|
|
33
34
|
/**
|
|
34
|
-
* @generated from protobuf field: proto.models.Characteristic characteristic = 3
|
|
35
|
+
* @generated from protobuf field: proto.models.Characteristic characteristic = 3
|
|
35
36
|
*/
|
|
36
37
|
characteristic?: Characteristic;
|
|
37
38
|
/**
|
|
38
|
-
* @generated from protobuf field: int32 difficulty = 4
|
|
39
|
+
* @generated from protobuf field: int32 difficulty = 4
|
|
39
40
|
*/
|
|
40
41
|
difficulty: number;
|
|
41
42
|
}
|
|
@@ -44,7 +45,7 @@ export interface Beatmap {
|
|
|
44
45
|
*/
|
|
45
46
|
export interface GameplayModifiers {
|
|
46
47
|
/**
|
|
47
|
-
* @generated from protobuf field: proto.models.GameplayModifiers.GameOptions options = 1
|
|
48
|
+
* @generated from protobuf field: proto.models.GameplayModifiers.GameOptions options = 1
|
|
48
49
|
*/
|
|
49
50
|
options: GameplayModifiers_GameOptions;
|
|
50
51
|
}
|
|
@@ -146,35 +147,35 @@ export declare enum GameplayModifiers_GameOptions {
|
|
|
146
147
|
*/
|
|
147
148
|
export interface PlayerSpecificSettings {
|
|
148
149
|
/**
|
|
149
|
-
* @generated from protobuf field: float player_height = 1
|
|
150
|
+
* @generated from protobuf field: float player_height = 1
|
|
150
151
|
*/
|
|
151
152
|
playerHeight: number;
|
|
152
153
|
/**
|
|
153
|
-
* @generated from protobuf field: float sfx_volume = 2
|
|
154
|
+
* @generated from protobuf field: float sfx_volume = 2
|
|
154
155
|
*/
|
|
155
156
|
sfxVolume: number;
|
|
156
157
|
/**
|
|
157
|
-
* @generated from protobuf field: float saber_trail_intensity = 3
|
|
158
|
+
* @generated from protobuf field: float saber_trail_intensity = 3
|
|
158
159
|
*/
|
|
159
160
|
saberTrailIntensity: number;
|
|
160
161
|
/**
|
|
161
|
-
* @generated from protobuf field: float note_jump_start_beat_offset = 4
|
|
162
|
+
* @generated from protobuf field: float note_jump_start_beat_offset = 4
|
|
162
163
|
*/
|
|
163
164
|
noteJumpStartBeatOffset: number;
|
|
164
165
|
/**
|
|
165
|
-
* @generated from protobuf field: float note_jump_fixed_duration = 5
|
|
166
|
+
* @generated from protobuf field: float note_jump_fixed_duration = 5
|
|
166
167
|
*/
|
|
167
168
|
noteJumpFixedDuration: number;
|
|
168
169
|
/**
|
|
169
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings.PlayerOptions options = 6
|
|
170
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.PlayerOptions options = 6
|
|
170
171
|
*/
|
|
171
172
|
options: PlayerSpecificSettings_PlayerOptions;
|
|
172
173
|
/**
|
|
173
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings.NoteJumpDurationTypeSettings note_jump_duration_type_settings = 7
|
|
174
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.NoteJumpDurationTypeSettings note_jump_duration_type_settings = 7
|
|
174
175
|
*/
|
|
175
176
|
noteJumpDurationTypeSettings: PlayerSpecificSettings_NoteJumpDurationTypeSettings;
|
|
176
177
|
/**
|
|
177
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings.ArcVisibilityType arc_visibility_type = 8
|
|
178
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.ArcVisibilityType arc_visibility_type = 8
|
|
178
179
|
*/
|
|
179
180
|
arcVisibilityType: PlayerSpecificSettings_ArcVisibilityType;
|
|
180
181
|
}
|
|
@@ -270,47 +271,47 @@ export declare enum PlayerSpecificSettings_ArcVisibilityType {
|
|
|
270
271
|
*/
|
|
271
272
|
export interface GameplayParameters {
|
|
272
273
|
/**
|
|
273
|
-
* @generated from protobuf field: proto.models.Beatmap beatmap = 1
|
|
274
|
+
* @generated from protobuf field: proto.models.Beatmap beatmap = 1
|
|
274
275
|
*/
|
|
275
276
|
beatmap?: Beatmap;
|
|
276
277
|
/**
|
|
277
|
-
* @generated from protobuf field: proto.models.PlayerSpecificSettings player_settings = 2
|
|
278
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings player_settings = 2
|
|
278
279
|
*/
|
|
279
280
|
playerSettings?: PlayerSpecificSettings;
|
|
280
281
|
/**
|
|
281
|
-
* @generated from protobuf field: proto.models.GameplayModifiers gameplay_modifiers = 3
|
|
282
|
+
* @generated from protobuf field: proto.models.GameplayModifiers gameplay_modifiers = 3
|
|
282
283
|
*/
|
|
283
284
|
gameplayModifiers?: GameplayModifiers;
|
|
284
285
|
/**
|
|
285
|
-
* @generated from protobuf field: int32 attempts = 4
|
|
286
|
+
* @generated from protobuf field: int32 attempts = 4
|
|
286
287
|
*/
|
|
287
288
|
attempts: number;
|
|
288
289
|
/**
|
|
289
|
-
* @generated from protobuf field: bool show_scoreboard = 5
|
|
290
|
+
* @generated from protobuf field: bool show_scoreboard = 5
|
|
290
291
|
*/
|
|
291
292
|
showScoreboard: boolean;
|
|
292
293
|
/**
|
|
293
|
-
* @generated from protobuf field: bool disable_pause = 6
|
|
294
|
+
* @generated from protobuf field: bool disable_pause = 6
|
|
294
295
|
*/
|
|
295
296
|
disablePause: boolean;
|
|
296
297
|
/**
|
|
297
|
-
* @generated from protobuf field: bool disable_fail = 7
|
|
298
|
+
* @generated from protobuf field: bool disable_fail = 7
|
|
298
299
|
*/
|
|
299
300
|
disableFail: boolean;
|
|
300
301
|
/**
|
|
301
|
-
* @generated from protobuf field: bool disable_scoresaber_submission = 8
|
|
302
|
+
* @generated from protobuf field: bool disable_scoresaber_submission = 8
|
|
302
303
|
*/
|
|
303
304
|
disableScoresaberSubmission: boolean;
|
|
304
305
|
/**
|
|
305
|
-
* @generated from protobuf field: bool disable_custom_notes_on_stream = 9
|
|
306
|
+
* @generated from protobuf field: bool disable_custom_notes_on_stream = 9
|
|
306
307
|
*/
|
|
307
308
|
disableCustomNotesOnStream: boolean;
|
|
308
309
|
/**
|
|
309
|
-
* @generated from protobuf field: bool use_sync = 10
|
|
310
|
+
* @generated from protobuf field: bool use_sync = 10
|
|
310
311
|
*/
|
|
311
312
|
useSync: boolean;
|
|
312
313
|
/**
|
|
313
|
-
* @generated from protobuf field: int32 target = 11
|
|
314
|
+
* @generated from protobuf field: int32 target = 11
|
|
314
315
|
*/
|
|
315
316
|
target: number;
|
|
316
317
|
}
|
|
@@ -319,11 +320,11 @@ export interface GameplayParameters {
|
|
|
319
320
|
*/
|
|
320
321
|
export interface Map {
|
|
321
322
|
/**
|
|
322
|
-
* @generated from protobuf field: string guid = 1
|
|
323
|
+
* @generated from protobuf field: string guid = 1
|
|
323
324
|
*/
|
|
324
325
|
guid: string;
|
|
325
326
|
/**
|
|
326
|
-
* @generated from protobuf field: proto.models.GameplayParameters gameplay_parameters = 2
|
|
327
|
+
* @generated from protobuf field: proto.models.GameplayParameters gameplay_parameters = 2
|
|
327
328
|
*/
|
|
328
329
|
gameplayParameters?: GameplayParameters;
|
|
329
330
|
}
|
|
@@ -332,23 +333,23 @@ export interface Map {
|
|
|
332
333
|
*/
|
|
333
334
|
export interface Role {
|
|
334
335
|
/**
|
|
335
|
-
* @generated from protobuf field: string guid = 1
|
|
336
|
+
* @generated from protobuf field: string guid = 1
|
|
336
337
|
*/
|
|
337
338
|
guid: string;
|
|
338
339
|
/**
|
|
339
|
-
* @generated from protobuf field: string name = 2
|
|
340
|
+
* @generated from protobuf field: string name = 2
|
|
340
341
|
*/
|
|
341
342
|
name: string;
|
|
342
343
|
/**
|
|
343
|
-
* @generated from protobuf field: string role_id = 3
|
|
344
|
+
* @generated from protobuf field: string role_id = 3
|
|
344
345
|
*/
|
|
345
346
|
roleId: string;
|
|
346
347
|
/**
|
|
347
|
-
* @generated from protobuf field: string tournament_id = 4
|
|
348
|
+
* @generated from protobuf field: string tournament_id = 4
|
|
348
349
|
*/
|
|
349
350
|
tournamentId: string;
|
|
350
351
|
/**
|
|
351
|
-
* @generated from protobuf field: repeated string permissions = 5
|
|
352
|
+
* @generated from protobuf field: repeated string permissions = 5
|
|
352
353
|
*/
|
|
353
354
|
permissions: string[];
|
|
354
355
|
}
|
|
@@ -357,51 +358,51 @@ export interface Role {
|
|
|
357
358
|
*/
|
|
358
359
|
export interface User {
|
|
359
360
|
/**
|
|
360
|
-
* @generated from protobuf field: string guid = 1
|
|
361
|
+
* @generated from protobuf field: string guid = 1
|
|
361
362
|
*/
|
|
362
363
|
guid: string;
|
|
363
364
|
/**
|
|
364
|
-
* @generated from protobuf field: string name = 2
|
|
365
|
+
* @generated from protobuf field: string name = 2
|
|
365
366
|
*/
|
|
366
367
|
name: string;
|
|
367
368
|
/**
|
|
368
|
-
* @generated from protobuf field: string platform_id = 3
|
|
369
|
+
* @generated from protobuf field: string platform_id = 3
|
|
369
370
|
*/
|
|
370
371
|
platformId: string;
|
|
371
372
|
/**
|
|
372
|
-
* @generated from protobuf field: proto.models.User.ClientTypes client_type = 4
|
|
373
|
+
* @generated from protobuf field: proto.models.User.ClientTypes client_type = 4
|
|
373
374
|
*/
|
|
374
375
|
clientType: User_ClientTypes;
|
|
375
376
|
/**
|
|
376
|
-
* @generated from protobuf field: string team_id = 5
|
|
377
|
+
* @generated from protobuf field: string team_id = 5
|
|
377
378
|
*/
|
|
378
379
|
teamId: string;
|
|
379
380
|
/**
|
|
380
|
-
* @generated from protobuf field: proto.models.User.PlayStates play_state = 6
|
|
381
|
+
* @generated from protobuf field: proto.models.User.PlayStates play_state = 6
|
|
381
382
|
*/
|
|
382
383
|
playState: User_PlayStates;
|
|
383
384
|
/**
|
|
384
|
-
* @generated from protobuf field: proto.models.User.DownloadStates download_state = 7
|
|
385
|
+
* @generated from protobuf field: proto.models.User.DownloadStates download_state = 7
|
|
385
386
|
*/
|
|
386
387
|
downloadState: User_DownloadStates;
|
|
387
388
|
/**
|
|
388
|
-
* @generated from protobuf field: repeated string mod_list = 8
|
|
389
|
+
* @generated from protobuf field: repeated string mod_list = 8
|
|
389
390
|
*/
|
|
390
391
|
modList: string[];
|
|
391
392
|
/**
|
|
392
|
-
* @generated from protobuf field: proto.models.User.Point stream_screen_coordinates = 9
|
|
393
|
+
* @generated from protobuf field: proto.models.User.Point stream_screen_coordinates = 9
|
|
393
394
|
*/
|
|
394
395
|
streamScreenCoordinates?: User_Point;
|
|
395
396
|
/**
|
|
396
|
-
* @generated from protobuf field: int64 stream_delay_ms = 10
|
|
397
|
+
* @generated from protobuf field: int64 stream_delay_ms = 10
|
|
397
398
|
*/
|
|
398
399
|
streamDelayMs: bigint;
|
|
399
400
|
/**
|
|
400
|
-
* @generated from protobuf field: int64 stream_sync_start_ms = 11
|
|
401
|
+
* @generated from protobuf field: int64 stream_sync_start_ms = 11
|
|
401
402
|
*/
|
|
402
403
|
streamSyncStartMs: bigint;
|
|
403
404
|
/**
|
|
404
|
-
* @generated from protobuf field: proto.models.User.DiscordInfo discord_info = 12
|
|
405
|
+
* @generated from protobuf field: proto.models.User.DiscordInfo discord_info = 12
|
|
405
406
|
*/
|
|
406
407
|
discordInfo?: User_DiscordInfo;
|
|
407
408
|
}
|
|
@@ -410,15 +411,15 @@ export interface User {
|
|
|
410
411
|
*/
|
|
411
412
|
export interface User_DiscordInfo {
|
|
412
413
|
/**
|
|
413
|
-
* @generated from protobuf field: string user_id = 1
|
|
414
|
+
* @generated from protobuf field: string user_id = 1
|
|
414
415
|
*/
|
|
415
416
|
userId: string;
|
|
416
417
|
/**
|
|
417
|
-
* @generated from protobuf field: string username = 2
|
|
418
|
+
* @generated from protobuf field: string username = 2
|
|
418
419
|
*/
|
|
419
420
|
username: string;
|
|
420
421
|
/**
|
|
421
|
-
* @generated from protobuf field: string avatar_url = 3
|
|
422
|
+
* @generated from protobuf field: string avatar_url = 3
|
|
422
423
|
*/
|
|
423
424
|
avatarUrl: string;
|
|
424
425
|
}
|
|
@@ -427,11 +428,11 @@ export interface User_DiscordInfo {
|
|
|
427
428
|
*/
|
|
428
429
|
export interface User_Point {
|
|
429
430
|
/**
|
|
430
|
-
* @generated from protobuf field: int32 x = 1
|
|
431
|
+
* @generated from protobuf field: int32 x = 1
|
|
431
432
|
*/
|
|
432
433
|
x: number;
|
|
433
434
|
/**
|
|
434
|
-
* @generated from protobuf field: int32 y = 2
|
|
435
|
+
* @generated from protobuf field: int32 y = 2
|
|
435
436
|
*/
|
|
436
437
|
y: number;
|
|
437
438
|
}
|
|
@@ -495,19 +496,19 @@ export declare enum User_ClientTypes {
|
|
|
495
496
|
*/
|
|
496
497
|
export interface Match {
|
|
497
498
|
/**
|
|
498
|
-
* @generated from protobuf field: string guid = 1
|
|
499
|
+
* @generated from protobuf field: string guid = 1
|
|
499
500
|
*/
|
|
500
501
|
guid: string;
|
|
501
502
|
/**
|
|
502
|
-
* @generated from protobuf field: repeated string associated_users = 2
|
|
503
|
+
* @generated from protobuf field: repeated string associated_users = 2
|
|
503
504
|
*/
|
|
504
505
|
associatedUsers: string[];
|
|
505
506
|
/**
|
|
506
|
-
* @generated from protobuf field: string leader = 3
|
|
507
|
+
* @generated from protobuf field: string leader = 3
|
|
507
508
|
*/
|
|
508
509
|
leader: string;
|
|
509
510
|
/**
|
|
510
|
-
* @generated from protobuf field: proto.models.Map selected_map = 4
|
|
511
|
+
* @generated from protobuf field: proto.models.Map selected_map = 4
|
|
511
512
|
*/
|
|
512
513
|
selectedMap?: Map;
|
|
513
514
|
}
|
|
@@ -516,31 +517,31 @@ export interface Match {
|
|
|
516
517
|
*/
|
|
517
518
|
export interface QualifierEvent {
|
|
518
519
|
/**
|
|
519
|
-
* @generated from protobuf field: string guid = 1
|
|
520
|
+
* @generated from protobuf field: string guid = 1
|
|
520
521
|
*/
|
|
521
522
|
guid: string;
|
|
522
523
|
/**
|
|
523
|
-
* @generated from protobuf field: string name = 2
|
|
524
|
+
* @generated from protobuf field: string name = 2
|
|
524
525
|
*/
|
|
525
526
|
name: string;
|
|
526
527
|
/**
|
|
527
|
-
* @generated from protobuf field: string image = 3
|
|
528
|
+
* @generated from protobuf field: string image = 3
|
|
528
529
|
*/
|
|
529
530
|
image: string;
|
|
530
531
|
/**
|
|
531
|
-
* @generated from protobuf field: proto.discord.Channel info_channel = 4
|
|
532
|
+
* @generated from protobuf field: proto.discord.Channel info_channel = 4
|
|
532
533
|
*/
|
|
533
534
|
infoChannel?: Channel;
|
|
534
535
|
/**
|
|
535
|
-
* @generated from protobuf field: repeated proto.models.Map qualifier_maps = 5
|
|
536
|
+
* @generated from protobuf field: repeated proto.models.Map qualifier_maps = 5
|
|
536
537
|
*/
|
|
537
538
|
qualifierMaps: Map[];
|
|
538
539
|
/**
|
|
539
|
-
* @generated from protobuf field: proto.models.QualifierEvent.EventSettings flags = 6
|
|
540
|
+
* @generated from protobuf field: proto.models.QualifierEvent.EventSettings flags = 6
|
|
540
541
|
*/
|
|
541
542
|
flags: QualifierEvent_EventSettings;
|
|
542
543
|
/**
|
|
543
|
-
* @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort sort = 7
|
|
544
|
+
* @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort sort = 7
|
|
544
545
|
*/
|
|
545
546
|
sort: QualifierEvent_LeaderboardSort;
|
|
546
547
|
}
|
|
@@ -639,19 +640,19 @@ export declare enum QualifierEvent_LeaderboardSort {
|
|
|
639
640
|
*/
|
|
640
641
|
export interface CoreServer {
|
|
641
642
|
/**
|
|
642
|
-
* @generated from protobuf field: string name = 1
|
|
643
|
+
* @generated from protobuf field: string name = 1
|
|
643
644
|
*/
|
|
644
645
|
name: string;
|
|
645
646
|
/**
|
|
646
|
-
* @generated from protobuf field: string address = 2
|
|
647
|
+
* @generated from protobuf field: string address = 2
|
|
647
648
|
*/
|
|
648
649
|
address: string;
|
|
649
650
|
/**
|
|
650
|
-
* @generated from protobuf field: int32 port = 3
|
|
651
|
+
* @generated from protobuf field: int32 port = 3
|
|
651
652
|
*/
|
|
652
653
|
port: number;
|
|
653
654
|
/**
|
|
654
|
-
* @generated from protobuf field: int32 websocket_port = 4
|
|
655
|
+
* @generated from protobuf field: int32 websocket_port = 4
|
|
655
656
|
*/
|
|
656
657
|
websocketPort: number;
|
|
657
658
|
}
|
|
@@ -660,27 +661,27 @@ export interface CoreServer {
|
|
|
660
661
|
*/
|
|
661
662
|
export interface Tournament {
|
|
662
663
|
/**
|
|
663
|
-
* @generated from protobuf field: string guid = 1
|
|
664
|
+
* @generated from protobuf field: string guid = 1
|
|
664
665
|
*/
|
|
665
666
|
guid: string;
|
|
666
667
|
/**
|
|
667
|
-
* @generated from protobuf field: proto.models.Tournament.TournamentSettings settings = 2
|
|
668
|
+
* @generated from protobuf field: proto.models.Tournament.TournamentSettings settings = 2
|
|
668
669
|
*/
|
|
669
670
|
settings?: Tournament_TournamentSettings;
|
|
670
671
|
/**
|
|
671
|
-
* @generated from protobuf field: repeated proto.models.User users = 3
|
|
672
|
+
* @generated from protobuf field: repeated proto.models.User users = 3
|
|
672
673
|
*/
|
|
673
674
|
users: User[];
|
|
674
675
|
/**
|
|
675
|
-
* @generated from protobuf field: repeated proto.models.Match matches = 4
|
|
676
|
+
* @generated from protobuf field: repeated proto.models.Match matches = 4
|
|
676
677
|
*/
|
|
677
678
|
matches: Match[];
|
|
678
679
|
/**
|
|
679
|
-
* @generated from protobuf field: repeated proto.models.QualifierEvent qualifiers = 5
|
|
680
|
+
* @generated from protobuf field: repeated proto.models.QualifierEvent qualifiers = 5
|
|
680
681
|
*/
|
|
681
682
|
qualifiers: QualifierEvent[];
|
|
682
683
|
/**
|
|
683
|
-
* @generated from protobuf field: proto.models.CoreServer server = 6
|
|
684
|
+
* @generated from protobuf field: proto.models.CoreServer server = 6
|
|
684
685
|
*/
|
|
685
686
|
server?: CoreServer;
|
|
686
687
|
}
|
|
@@ -689,76 +690,80 @@ export interface Tournament {
|
|
|
689
690
|
*/
|
|
690
691
|
export interface Tournament_TournamentSettings {
|
|
691
692
|
/**
|
|
692
|
-
* @generated from protobuf field: string tournament_name = 1
|
|
693
|
+
* @generated from protobuf field: string tournament_name = 1
|
|
693
694
|
*/
|
|
694
695
|
tournamentName: string;
|
|
695
696
|
/**
|
|
696
|
-
* @generated from protobuf field: string tournament_image = 2
|
|
697
|
+
* @generated from protobuf field: string tournament_image = 2
|
|
697
698
|
*/
|
|
698
699
|
tournamentImage: string;
|
|
699
700
|
/**
|
|
700
|
-
* @generated from protobuf field: bool enable_teams = 3
|
|
701
|
+
* @generated from protobuf field: bool enable_teams = 3
|
|
701
702
|
*/
|
|
702
703
|
enableTeams: boolean;
|
|
703
704
|
/**
|
|
704
|
-
* @generated from protobuf field: bool enable_pools = 4
|
|
705
|
+
* @generated from protobuf field: bool enable_pools = 4
|
|
705
706
|
*/
|
|
706
707
|
enablePools: boolean;
|
|
707
708
|
/**
|
|
708
|
-
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Team teams = 5
|
|
709
|
+
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Team teams = 5
|
|
709
710
|
*/
|
|
710
711
|
teams: Tournament_TournamentSettings_Team[];
|
|
711
712
|
/**
|
|
712
|
-
* @generated from protobuf field: int32 score_update_frequency = 6
|
|
713
|
+
* @generated from protobuf field: int32 score_update_frequency = 6
|
|
713
714
|
*/
|
|
714
715
|
scoreUpdateFrequency: number;
|
|
715
716
|
/**
|
|
716
|
-
* @generated from protobuf field: repeated string banned_mods = 7
|
|
717
|
+
* @generated from protobuf field: repeated string banned_mods = 7
|
|
717
718
|
*/
|
|
718
719
|
bannedMods: string[];
|
|
719
720
|
/**
|
|
720
|
-
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Pool pools = 8
|
|
721
|
+
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Pool pools = 8
|
|
721
722
|
*/
|
|
722
723
|
pools: Tournament_TournamentSettings_Pool[];
|
|
723
724
|
/**
|
|
724
|
-
* @generated from protobuf field: bool show_tournament_button = 9
|
|
725
|
+
* @generated from protobuf field: bool show_tournament_button = 9
|
|
725
726
|
*/
|
|
726
727
|
showTournamentButton: boolean;
|
|
727
728
|
/**
|
|
728
|
-
* @generated from protobuf field: bool show_qualifier_button = 10
|
|
729
|
+
* @generated from protobuf field: bool show_qualifier_button = 10
|
|
729
730
|
*/
|
|
730
731
|
showQualifierButton: boolean;
|
|
731
732
|
/**
|
|
732
|
-
* @generated from protobuf field: bool allow_unauthorized_view = 11
|
|
733
|
+
* @generated from protobuf field: bool allow_unauthorized_view = 11
|
|
733
734
|
*/
|
|
734
735
|
allowUnauthorizedView: boolean;
|
|
735
736
|
/**
|
|
736
|
-
* @generated from protobuf field: repeated proto.models.Role roles = 12
|
|
737
|
+
* @generated from protobuf field: repeated proto.models.Role roles = 12
|
|
737
738
|
*/
|
|
738
739
|
roles: Role[];
|
|
739
740
|
/**
|
|
740
|
-
* @generated from protobuf field: repeated string my_permissions = 13
|
|
741
|
+
* @generated from protobuf field: repeated string my_permissions = 13
|
|
741
742
|
*/
|
|
742
743
|
myPermissions: string[];
|
|
744
|
+
/**
|
|
745
|
+
* @generated from protobuf field: bool enable_replay_streaming = 14
|
|
746
|
+
*/
|
|
747
|
+
enableReplayStreaming: boolean;
|
|
743
748
|
}
|
|
744
749
|
/**
|
|
745
750
|
* @generated from protobuf message proto.models.Tournament.TournamentSettings.Pool
|
|
746
751
|
*/
|
|
747
752
|
export interface Tournament_TournamentSettings_Pool {
|
|
748
753
|
/**
|
|
749
|
-
* @generated from protobuf field: string guid = 1
|
|
754
|
+
* @generated from protobuf field: string guid = 1
|
|
750
755
|
*/
|
|
751
756
|
guid: string;
|
|
752
757
|
/**
|
|
753
|
-
* @generated from protobuf field: string name = 2
|
|
758
|
+
* @generated from protobuf field: string name = 2
|
|
754
759
|
*/
|
|
755
760
|
name: string;
|
|
756
761
|
/**
|
|
757
|
-
* @generated from protobuf field: string image = 3
|
|
762
|
+
* @generated from protobuf field: string image = 3
|
|
758
763
|
*/
|
|
759
764
|
image: string;
|
|
760
765
|
/**
|
|
761
|
-
* @generated from protobuf field: repeated proto.models.Map maps = 4
|
|
766
|
+
* @generated from protobuf field: repeated proto.models.Map maps = 4
|
|
762
767
|
*/
|
|
763
768
|
maps: Map[];
|
|
764
769
|
}
|
|
@@ -767,15 +772,15 @@ export interface Tournament_TournamentSettings_Pool {
|
|
|
767
772
|
*/
|
|
768
773
|
export interface Tournament_TournamentSettings_Team {
|
|
769
774
|
/**
|
|
770
|
-
* @generated from protobuf field: string guid = 1
|
|
775
|
+
* @generated from protobuf field: string guid = 1
|
|
771
776
|
*/
|
|
772
777
|
guid: string;
|
|
773
778
|
/**
|
|
774
|
-
* @generated from protobuf field: string name = 2
|
|
779
|
+
* @generated from protobuf field: string name = 2
|
|
775
780
|
*/
|
|
776
781
|
name: string;
|
|
777
782
|
/**
|
|
778
|
-
* @generated from protobuf field: string image = 3
|
|
783
|
+
* @generated from protobuf field: string image = 3
|
|
779
784
|
*/
|
|
780
785
|
image: string;
|
|
781
786
|
}
|
|
@@ -784,11 +789,11 @@ export interface Tournament_TournamentSettings_Team {
|
|
|
784
789
|
*/
|
|
785
790
|
export interface State {
|
|
786
791
|
/**
|
|
787
|
-
* @generated from protobuf field: repeated proto.models.Tournament tournaments = 1
|
|
792
|
+
* @generated from protobuf field: repeated proto.models.Tournament tournaments = 1
|
|
788
793
|
*/
|
|
789
794
|
tournaments: Tournament[];
|
|
790
795
|
/**
|
|
791
|
-
* @generated from protobuf field: repeated proto.models.CoreServer known_servers = 2
|
|
796
|
+
* @generated from protobuf field: repeated proto.models.CoreServer known_servers = 2
|
|
792
797
|
*/
|
|
793
798
|
knownServers: CoreServer[];
|
|
794
799
|
}
|
|
@@ -797,63 +802,63 @@ export interface State {
|
|
|
797
802
|
*/
|
|
798
803
|
export interface LeaderboardEntry {
|
|
799
804
|
/**
|
|
800
|
-
* @generated from protobuf field: string event_id = 1
|
|
805
|
+
* @generated from protobuf field: string event_id = 1
|
|
801
806
|
*/
|
|
802
807
|
eventId: string;
|
|
803
808
|
/**
|
|
804
|
-
* @generated from protobuf field: string map_id = 2
|
|
809
|
+
* @generated from protobuf field: string map_id = 2
|
|
805
810
|
*/
|
|
806
811
|
mapId: string;
|
|
807
812
|
/**
|
|
808
|
-
* @generated from protobuf field: string platform_id = 3
|
|
813
|
+
* @generated from protobuf field: string platform_id = 3
|
|
809
814
|
*/
|
|
810
815
|
platformId: string;
|
|
811
816
|
/**
|
|
812
|
-
* @generated from protobuf field: string username = 4
|
|
817
|
+
* @generated from protobuf field: string username = 4
|
|
813
818
|
*/
|
|
814
819
|
username: string;
|
|
815
820
|
/**
|
|
816
|
-
* @generated from protobuf field: int32 multiplied_score = 5
|
|
821
|
+
* @generated from protobuf field: int32 multiplied_score = 5
|
|
817
822
|
*/
|
|
818
823
|
multipliedScore: number;
|
|
819
824
|
/**
|
|
820
|
-
* @generated from protobuf field: int32 modified_score = 6
|
|
825
|
+
* @generated from protobuf field: int32 modified_score = 6
|
|
821
826
|
*/
|
|
822
827
|
modifiedScore: number;
|
|
823
828
|
/**
|
|
824
|
-
* @generated from protobuf field: int32 max_possible_score = 7
|
|
829
|
+
* @generated from protobuf field: int32 max_possible_score = 7
|
|
825
830
|
*/
|
|
826
831
|
maxPossibleScore: number;
|
|
827
832
|
/**
|
|
828
|
-
* @generated from protobuf field: double accuracy = 8
|
|
833
|
+
* @generated from protobuf field: double accuracy = 8
|
|
829
834
|
*/
|
|
830
835
|
accuracy: number;
|
|
831
836
|
/**
|
|
832
|
-
* @generated from protobuf field: int32 notes_missed = 9
|
|
837
|
+
* @generated from protobuf field: int32 notes_missed = 9
|
|
833
838
|
*/
|
|
834
839
|
notesMissed: number;
|
|
835
840
|
/**
|
|
836
|
-
* @generated from protobuf field: int32 bad_cuts = 10
|
|
841
|
+
* @generated from protobuf field: int32 bad_cuts = 10
|
|
837
842
|
*/
|
|
838
843
|
badCuts: number;
|
|
839
844
|
/**
|
|
840
|
-
* @generated from protobuf field: int32 good_cuts = 11
|
|
845
|
+
* @generated from protobuf field: int32 good_cuts = 11
|
|
841
846
|
*/
|
|
842
847
|
goodCuts: number;
|
|
843
848
|
/**
|
|
844
|
-
* @generated from protobuf field: int32 max_combo = 12
|
|
849
|
+
* @generated from protobuf field: int32 max_combo = 12
|
|
845
850
|
*/
|
|
846
851
|
maxCombo: number;
|
|
847
852
|
/**
|
|
848
|
-
* @generated from protobuf field: bool full_combo = 13
|
|
853
|
+
* @generated from protobuf field: bool full_combo = 13
|
|
849
854
|
*/
|
|
850
855
|
fullCombo: boolean;
|
|
851
856
|
/**
|
|
852
|
-
* @generated from protobuf field: bool is_placeholder = 14
|
|
857
|
+
* @generated from protobuf field: bool is_placeholder = 14
|
|
853
858
|
*/
|
|
854
859
|
isPlaceholder: boolean;
|
|
855
860
|
/**
|
|
856
|
-
* @generated from protobuf field: string color = 15
|
|
861
|
+
* @generated from protobuf field: string color = 15
|
|
857
862
|
*/
|
|
858
863
|
color: string;
|
|
859
864
|
}
|
|
@@ -862,88 +867,96 @@ export interface LeaderboardEntry {
|
|
|
862
867
|
*/
|
|
863
868
|
export interface RealtimeScore {
|
|
864
869
|
/**
|
|
865
|
-
* @generated from protobuf field: string user_guid = 1
|
|
870
|
+
* @generated from protobuf field: string user_guid = 1
|
|
866
871
|
*/
|
|
867
872
|
userGuid: string;
|
|
868
873
|
/**
|
|
869
|
-
* @generated from protobuf field: int32 score = 2
|
|
874
|
+
* @generated from protobuf field: int32 score = 2
|
|
870
875
|
*/
|
|
871
876
|
score: number;
|
|
872
877
|
/**
|
|
873
|
-
* @generated from protobuf field: int32 score_with_modifiers = 3
|
|
878
|
+
* @generated from protobuf field: int32 score_with_modifiers = 3
|
|
874
879
|
*/
|
|
875
880
|
scoreWithModifiers: number;
|
|
876
881
|
/**
|
|
877
|
-
* @generated from protobuf field: int32 max_score = 4
|
|
882
|
+
* @generated from protobuf field: int32 max_score = 4
|
|
878
883
|
*/
|
|
879
884
|
maxScore: number;
|
|
880
885
|
/**
|
|
881
|
-
* @generated from protobuf field: int32 max_score_with_modifiers = 5
|
|
886
|
+
* @generated from protobuf field: int32 max_score_with_modifiers = 5
|
|
882
887
|
*/
|
|
883
888
|
maxScoreWithModifiers: number;
|
|
884
889
|
/**
|
|
885
|
-
* @generated from protobuf field: int32 combo = 6
|
|
890
|
+
* @generated from protobuf field: int32 combo = 6
|
|
886
891
|
*/
|
|
887
892
|
combo: number;
|
|
888
893
|
/**
|
|
889
|
-
* @generated from protobuf field: float player_health = 7
|
|
894
|
+
* @generated from protobuf field: float player_health = 7
|
|
890
895
|
*/
|
|
891
896
|
playerHealth: number;
|
|
892
897
|
/**
|
|
893
|
-
* @generated from protobuf field: double accuracy = 8
|
|
898
|
+
* @generated from protobuf field: double accuracy = 8
|
|
894
899
|
*/
|
|
895
900
|
accuracy: number;
|
|
896
901
|
/**
|
|
897
|
-
* @generated from protobuf field: float song_position = 9
|
|
902
|
+
* @generated from protobuf field: float song_position = 9
|
|
898
903
|
*/
|
|
899
904
|
songPosition: number;
|
|
900
905
|
/**
|
|
901
|
-
* @generated from protobuf field: int32 notes_missed = 10
|
|
906
|
+
* @generated from protobuf field: int32 notes_missed = 10
|
|
902
907
|
*/
|
|
903
908
|
notesMissed: number;
|
|
904
909
|
/**
|
|
905
|
-
* @generated from protobuf field: int32 bad_cuts = 11
|
|
910
|
+
* @generated from protobuf field: int32 bad_cuts = 11
|
|
906
911
|
*/
|
|
907
912
|
badCuts: number;
|
|
908
913
|
/**
|
|
909
|
-
* @generated from protobuf field: int32 bomb_hits = 12
|
|
914
|
+
* @generated from protobuf field: int32 bomb_hits = 12
|
|
910
915
|
*/
|
|
911
916
|
bombHits: number;
|
|
912
917
|
/**
|
|
913
|
-
* @generated from protobuf field: int32 wall_hits = 13
|
|
918
|
+
* @generated from protobuf field: int32 wall_hits = 13
|
|
914
919
|
*/
|
|
915
920
|
wallHits: number;
|
|
916
921
|
/**
|
|
917
|
-
* @generated from protobuf field: int32 max_combo = 14
|
|
922
|
+
* @generated from protobuf field: int32 max_combo = 14
|
|
918
923
|
*/
|
|
919
924
|
maxCombo: number;
|
|
920
925
|
/**
|
|
921
|
-
* @generated from protobuf field: proto.models.ScoreTrackerHand left_hand = 15
|
|
926
|
+
* @generated from protobuf field: proto.models.ScoreTrackerHand left_hand = 15
|
|
922
927
|
*/
|
|
923
928
|
leftHand?: ScoreTrackerHand;
|
|
924
929
|
/**
|
|
925
|
-
* @generated from protobuf field: proto.models.ScoreTrackerHand right_hand = 16
|
|
930
|
+
* @generated from protobuf field: proto.models.ScoreTrackerHand right_hand = 16
|
|
926
931
|
*/
|
|
927
932
|
rightHand?: ScoreTrackerHand;
|
|
933
|
+
/**
|
|
934
|
+
* @generated from protobuf field: google.protobuf.Timestamp timestamp = 17
|
|
935
|
+
*/
|
|
936
|
+
timestamp?: Timestamp;
|
|
937
|
+
/**
|
|
938
|
+
* @generated from protobuf field: google.protobuf.Timestamp song_start_time = 18
|
|
939
|
+
*/
|
|
940
|
+
songStartTime?: Timestamp;
|
|
928
941
|
}
|
|
929
942
|
/**
|
|
930
943
|
* @generated from protobuf message proto.models.ScoreTrackerHand
|
|
931
944
|
*/
|
|
932
945
|
export interface ScoreTrackerHand {
|
|
933
946
|
/**
|
|
934
|
-
* @generated from protobuf field: int32 hit = 1
|
|
947
|
+
* @generated from protobuf field: int32 hit = 1
|
|
935
948
|
*/
|
|
936
949
|
hit: number;
|
|
937
950
|
/**
|
|
938
|
-
* @generated from protobuf field: int32 miss = 2
|
|
951
|
+
* @generated from protobuf field: int32 miss = 2
|
|
939
952
|
*/
|
|
940
953
|
miss: number;
|
|
941
954
|
/**
|
|
942
|
-
* @generated from protobuf field: int32 bad_cut = 3
|
|
955
|
+
* @generated from protobuf field: int32 bad_cut = 3
|
|
943
956
|
*/
|
|
944
957
|
badCut: number;
|
|
945
958
|
/**
|
|
946
|
-
* @generated from protobuf field: repeated float avg_cut = 4
|
|
959
|
+
* @generated from protobuf field: repeated float avg_cut = 4
|
|
947
960
|
*/
|
|
948
961
|
avgCut: number[];
|
|
949
962
|
}
|