moons-ta-client 1.0.2 → 1.0.4
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/client.d.ts +22 -0
- package/dist/client.js +77 -0
- package/dist/constants.d.ts +4 -0
- package/{src/constants.ts → dist/constants.js} +1 -1
- package/dist/custom-event-emitter.d.ts +7 -0
- package/dist/custom-event-emitter.js +16 -0
- package/dist/index.d.ts +4592 -0
- package/dist/index.esm.js +16502 -0
- package/{src/index.ts → dist/index.js} +1 -1
- package/dist/models/commands.d.ts +116 -0
- package/{src/models/commands.ts → dist/models/commands.js} +17 -102
- package/dist/models/discord.d.ts +76 -0
- package/{src/models/discord.ts → dist/models/discord.js} +15 -62
- package/dist/models/events.d.ts +419 -0
- package/{src/models/events.ts → dist/models/events.js} +89 -354
- package/dist/models/index.js +8 -0
- package/dist/models/models.d.ts +1137 -0
- package/{src/models/models.ts → dist/models/models.js} +200 -799
- package/dist/models/packets.d.ts +144 -0
- package/{src/models/packets.ts → dist/models/packets.js} +26 -126
- package/dist/models/pushes.d.ts +122 -0
- package/{src/models/pushes.ts → dist/models/pushes.js} +24 -96
- package/dist/models/requests.d.ts +1694 -0
- package/{src/models/requests.ts → dist/models/requests.js} +323 -1469
- package/dist/models/responses.d.ts +799 -0
- package/{src/models/responses.ts → dist/models/responses.js} +161 -669
- package/dist/scraper.d.ts +2 -0
- package/dist/scraper.js +87 -0
- package/dist/state-manager.d.ts +50 -0
- package/dist/state-manager.js +196 -0
- package/dist/tournament-assistant-client.d.ts +114 -0
- package/dist/tournament-assistant-client.js +1170 -0
- package/package.json +8 -2
- package/rollup.config.mjs +0 -16
- package/scripts/esbuild.mjs +0 -24
- package/scripts/fixImports.mjs +0 -44
- package/src/client.ts +0 -101
- package/src/custom-event-emitter.ts +0 -21
- package/src/scraper.ts +0 -137
- package/src/state-manager.ts +0 -308
- package/src/tournament-assistant-client.ts +0 -1553
- package/tsconfig.json +0 -27
- /package/{src/models/index.ts → dist/models/index.d.ts} +0 -0
|
@@ -0,0 +1,1137 @@
|
|
|
1
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
+
import { Channel } from './discord.js';
|
|
8
|
+
/**
|
|
9
|
+
* @generated from protobuf message proto.models.Characteristic
|
|
10
|
+
*/
|
|
11
|
+
export interface Characteristic {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf field: string serialized_name = 1;
|
|
14
|
+
*/
|
|
15
|
+
serializedName: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf field: repeated int32 difficulties = 2;
|
|
18
|
+
*/
|
|
19
|
+
difficulties: number[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf message proto.models.Beatmap
|
|
23
|
+
*/
|
|
24
|
+
export interface Beatmap {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from protobuf field: string name = 1;
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from protobuf field: string level_id = 2;
|
|
31
|
+
*/
|
|
32
|
+
levelId: string;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from protobuf field: proto.models.Characteristic characteristic = 3;
|
|
35
|
+
*/
|
|
36
|
+
characteristic?: Characteristic;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from protobuf field: int32 difficulty = 4;
|
|
39
|
+
*/
|
|
40
|
+
difficulty: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf message proto.models.GameplayModifiers
|
|
44
|
+
*/
|
|
45
|
+
export interface GameplayModifiers {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf field: proto.models.GameplayModifiers.GameOptions options = 1;
|
|
48
|
+
*/
|
|
49
|
+
options: GameplayModifiers_GameOptions;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @generated from protobuf enum proto.models.GameplayModifiers.GameOptions
|
|
53
|
+
*/
|
|
54
|
+
export declare enum GameplayModifiers_GameOptions {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from protobuf enum value: None = 0;
|
|
57
|
+
*/
|
|
58
|
+
None = 0,
|
|
59
|
+
/**
|
|
60
|
+
* Negative modifiers
|
|
61
|
+
*
|
|
62
|
+
* @generated from protobuf enum value: NoFail = 1;
|
|
63
|
+
*/
|
|
64
|
+
NoFail = 1,
|
|
65
|
+
/**
|
|
66
|
+
* @generated from protobuf enum value: NoBombs = 2;
|
|
67
|
+
*/
|
|
68
|
+
NoBombs = 2,
|
|
69
|
+
/**
|
|
70
|
+
* @generated from protobuf enum value: NoArrows = 4;
|
|
71
|
+
*/
|
|
72
|
+
NoArrows = 4,
|
|
73
|
+
/**
|
|
74
|
+
* @generated from protobuf enum value: NoObstacles = 8;
|
|
75
|
+
*/
|
|
76
|
+
NoObstacles = 8,
|
|
77
|
+
/**
|
|
78
|
+
* @generated from protobuf enum value: SlowSong = 16;
|
|
79
|
+
*/
|
|
80
|
+
SlowSong = 16,
|
|
81
|
+
/**
|
|
82
|
+
* Positive Modifiers
|
|
83
|
+
*
|
|
84
|
+
* @generated from protobuf enum value: InstaFail = 32;
|
|
85
|
+
*/
|
|
86
|
+
InstaFail = 32,
|
|
87
|
+
/**
|
|
88
|
+
* @generated from protobuf enum value: FailOnClash = 64;
|
|
89
|
+
*/
|
|
90
|
+
FailOnClash = 64,
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf enum value: BatteryEnergy = 128;
|
|
93
|
+
*/
|
|
94
|
+
BatteryEnergy = 128,
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf enum value: FastNotes = 256;
|
|
97
|
+
*/
|
|
98
|
+
FastNotes = 256,
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf enum value: FastSong = 512;
|
|
101
|
+
*/
|
|
102
|
+
FastSong = 512,
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf enum value: DisappearingArrows = 1024;
|
|
105
|
+
*/
|
|
106
|
+
DisappearingArrows = 1024,
|
|
107
|
+
/**
|
|
108
|
+
* @generated from protobuf enum value: GhostNotes = 2048;
|
|
109
|
+
*/
|
|
110
|
+
GhostNotes = 2048,
|
|
111
|
+
/**
|
|
112
|
+
* 1.12.2 Additions
|
|
113
|
+
*
|
|
114
|
+
* @generated from protobuf enum value: DemoNoFail = 4096;
|
|
115
|
+
*/
|
|
116
|
+
DemoNoFail = 4096,
|
|
117
|
+
/**
|
|
118
|
+
* @generated from protobuf enum value: DemoNoObstacles = 8192;
|
|
119
|
+
*/
|
|
120
|
+
DemoNoObstacles = 8192,
|
|
121
|
+
/**
|
|
122
|
+
* @generated from protobuf enum value: StrictAngles = 16384;
|
|
123
|
+
*/
|
|
124
|
+
StrictAngles = 16384,
|
|
125
|
+
/**
|
|
126
|
+
* 1.13.4 Additions
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf enum value: ProMode = 32768;
|
|
129
|
+
*/
|
|
130
|
+
ProMode = 32768,
|
|
131
|
+
/**
|
|
132
|
+
* @generated from protobuf enum value: ZenMode = 65536;
|
|
133
|
+
*/
|
|
134
|
+
ZenMode = 65536,
|
|
135
|
+
/**
|
|
136
|
+
* @generated from protobuf enum value: SmallCubes = 131072;
|
|
137
|
+
*/
|
|
138
|
+
SmallCubes = 131072,
|
|
139
|
+
/**
|
|
140
|
+
* @generated from protobuf enum value: SuperFastSong = 262144;
|
|
141
|
+
*/
|
|
142
|
+
SuperFastSong = 262144
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @generated from protobuf message proto.models.PlayerSpecificSettings
|
|
146
|
+
*/
|
|
147
|
+
export interface PlayerSpecificSettings {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from protobuf field: float player_height = 1;
|
|
150
|
+
*/
|
|
151
|
+
playerHeight: number;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from protobuf field: float sfx_volume = 2;
|
|
154
|
+
*/
|
|
155
|
+
sfxVolume: number;
|
|
156
|
+
/**
|
|
157
|
+
* @generated from protobuf field: float saber_trail_intensity = 3;
|
|
158
|
+
*/
|
|
159
|
+
saberTrailIntensity: number;
|
|
160
|
+
/**
|
|
161
|
+
* @generated from protobuf field: float note_jump_start_beat_offset = 4;
|
|
162
|
+
*/
|
|
163
|
+
noteJumpStartBeatOffset: number;
|
|
164
|
+
/**
|
|
165
|
+
* @generated from protobuf field: float note_jump_fixed_duration = 5;
|
|
166
|
+
*/
|
|
167
|
+
noteJumpFixedDuration: number;
|
|
168
|
+
/**
|
|
169
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.PlayerOptions options = 6;
|
|
170
|
+
*/
|
|
171
|
+
options: PlayerSpecificSettings_PlayerOptions;
|
|
172
|
+
/**
|
|
173
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.NoteJumpDurationTypeSettings note_jump_duration_type_settings = 7;
|
|
174
|
+
*/
|
|
175
|
+
noteJumpDurationTypeSettings: PlayerSpecificSettings_NoteJumpDurationTypeSettings;
|
|
176
|
+
/**
|
|
177
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings.ArcVisibilityType arc_visibility_type = 8;
|
|
178
|
+
*/
|
|
179
|
+
arcVisibilityType: PlayerSpecificSettings_ArcVisibilityType;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* @generated from protobuf enum proto.models.PlayerSpecificSettings.PlayerOptions
|
|
183
|
+
*/
|
|
184
|
+
export declare enum PlayerSpecificSettings_PlayerOptions {
|
|
185
|
+
/**
|
|
186
|
+
* @generated from protobuf enum value: NoPlayerOptions = 0;
|
|
187
|
+
*/
|
|
188
|
+
NoPlayerOptions = 0,
|
|
189
|
+
/**
|
|
190
|
+
* @generated from protobuf enum value: LeftHanded = 1;
|
|
191
|
+
*/
|
|
192
|
+
LeftHanded = 1,
|
|
193
|
+
/**
|
|
194
|
+
* @generated from protobuf enum value: StaticLights = 2;
|
|
195
|
+
*/
|
|
196
|
+
StaticLights = 2,
|
|
197
|
+
/**
|
|
198
|
+
* @generated from protobuf enum value: NoHud = 4;
|
|
199
|
+
*/
|
|
200
|
+
NoHud = 4,
|
|
201
|
+
/**
|
|
202
|
+
* @generated from protobuf enum value: AdvancedHud = 8;
|
|
203
|
+
*/
|
|
204
|
+
AdvancedHud = 8,
|
|
205
|
+
/**
|
|
206
|
+
* @generated from protobuf enum value: ReduceDebris = 16;
|
|
207
|
+
*/
|
|
208
|
+
ReduceDebris = 16,
|
|
209
|
+
/**
|
|
210
|
+
* @generated from protobuf enum value: AutoPlayerHeight = 32;
|
|
211
|
+
*/
|
|
212
|
+
AutoPlayerHeight = 32,
|
|
213
|
+
/**
|
|
214
|
+
* @generated from protobuf enum value: NoFailEffects = 64;
|
|
215
|
+
*/
|
|
216
|
+
NoFailEffects = 64,
|
|
217
|
+
/**
|
|
218
|
+
* @generated from protobuf enum value: AutoRestart = 128;
|
|
219
|
+
*/
|
|
220
|
+
AutoRestart = 128,
|
|
221
|
+
/**
|
|
222
|
+
* @generated from protobuf enum value: HideNoteSpawnEffect = 256;
|
|
223
|
+
*/
|
|
224
|
+
HideNoteSpawnEffect = 256,
|
|
225
|
+
/**
|
|
226
|
+
* @generated from protobuf enum value: AdaptiveSfx = 512;
|
|
227
|
+
*/
|
|
228
|
+
AdaptiveSfx = 512,
|
|
229
|
+
/**
|
|
230
|
+
* @generated from protobuf enum value: ArcsHapticFeedback = 1024;
|
|
231
|
+
*/
|
|
232
|
+
ArcsHapticFeedback = 1024
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* @generated from protobuf enum proto.models.PlayerSpecificSettings.NoteJumpDurationTypeSettings
|
|
236
|
+
*/
|
|
237
|
+
export declare enum PlayerSpecificSettings_NoteJumpDurationTypeSettings {
|
|
238
|
+
/**
|
|
239
|
+
* @generated from protobuf enum value: Dynamic = 0;
|
|
240
|
+
*/
|
|
241
|
+
Dynamic = 0,
|
|
242
|
+
/**
|
|
243
|
+
* @generated from protobuf enum value: Static = 1;
|
|
244
|
+
*/
|
|
245
|
+
Static = 1
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @generated from protobuf enum proto.models.PlayerSpecificSettings.ArcVisibilityType
|
|
249
|
+
*/
|
|
250
|
+
export declare enum PlayerSpecificSettings_ArcVisibilityType {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from protobuf enum value: None = 0;
|
|
253
|
+
*/
|
|
254
|
+
None = 0,
|
|
255
|
+
/**
|
|
256
|
+
* @generated from protobuf enum value: Low = 1;
|
|
257
|
+
*/
|
|
258
|
+
Low = 1,
|
|
259
|
+
/**
|
|
260
|
+
* @generated from protobuf enum value: Standard = 2;
|
|
261
|
+
*/
|
|
262
|
+
Standard = 2,
|
|
263
|
+
/**
|
|
264
|
+
* @generated from protobuf enum value: High = 3;
|
|
265
|
+
*/
|
|
266
|
+
High = 3
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @generated from protobuf message proto.models.GameplayParameters
|
|
270
|
+
*/
|
|
271
|
+
export interface GameplayParameters {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from protobuf field: proto.models.Beatmap beatmap = 1;
|
|
274
|
+
*/
|
|
275
|
+
beatmap?: Beatmap;
|
|
276
|
+
/**
|
|
277
|
+
* @generated from protobuf field: proto.models.PlayerSpecificSettings player_settings = 2;
|
|
278
|
+
*/
|
|
279
|
+
playerSettings?: PlayerSpecificSettings;
|
|
280
|
+
/**
|
|
281
|
+
* @generated from protobuf field: proto.models.GameplayModifiers gameplay_modifiers = 3;
|
|
282
|
+
*/
|
|
283
|
+
gameplayModifiers?: GameplayModifiers;
|
|
284
|
+
/**
|
|
285
|
+
* @generated from protobuf field: int32 attempts = 4;
|
|
286
|
+
*/
|
|
287
|
+
attempts: number;
|
|
288
|
+
/**
|
|
289
|
+
* @generated from protobuf field: bool show_scoreboard = 5;
|
|
290
|
+
*/
|
|
291
|
+
showScoreboard: boolean;
|
|
292
|
+
/**
|
|
293
|
+
* @generated from protobuf field: bool disable_pause = 6;
|
|
294
|
+
*/
|
|
295
|
+
disablePause: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* @generated from protobuf field: bool disable_fail = 7;
|
|
298
|
+
*/
|
|
299
|
+
disableFail: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* @generated from protobuf field: bool disable_scoresaber_submission = 8;
|
|
302
|
+
*/
|
|
303
|
+
disableScoresaberSubmission: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* @generated from protobuf field: bool disable_custom_notes_on_stream = 9;
|
|
306
|
+
*/
|
|
307
|
+
disableCustomNotesOnStream: boolean;
|
|
308
|
+
/**
|
|
309
|
+
* @generated from protobuf field: bool use_sync = 10;
|
|
310
|
+
*/
|
|
311
|
+
useSync: boolean;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* @generated from protobuf message proto.models.Map
|
|
315
|
+
*/
|
|
316
|
+
export interface Map {
|
|
317
|
+
/**
|
|
318
|
+
* @generated from protobuf field: string guid = 1;
|
|
319
|
+
*/
|
|
320
|
+
guid: string;
|
|
321
|
+
/**
|
|
322
|
+
* @generated from protobuf field: proto.models.GameplayParameters gameplay_parameters = 2;
|
|
323
|
+
*/
|
|
324
|
+
gameplayParameters?: GameplayParameters;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* @generated from protobuf message proto.models.User
|
|
328
|
+
*/
|
|
329
|
+
export interface User {
|
|
330
|
+
/**
|
|
331
|
+
* @generated from protobuf field: string guid = 1;
|
|
332
|
+
*/
|
|
333
|
+
guid: string;
|
|
334
|
+
/**
|
|
335
|
+
* @generated from protobuf field: string name = 2;
|
|
336
|
+
*/
|
|
337
|
+
name: string;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from protobuf field: string platform_id = 3;
|
|
340
|
+
*/
|
|
341
|
+
platformId: string;
|
|
342
|
+
/**
|
|
343
|
+
* @generated from protobuf field: proto.models.User.ClientTypes client_type = 4;
|
|
344
|
+
*/
|
|
345
|
+
clientType: User_ClientTypes;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from protobuf field: string team_id = 5;
|
|
348
|
+
*/
|
|
349
|
+
teamId: string;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from protobuf field: proto.models.User.PlayStates play_state = 6;
|
|
352
|
+
*/
|
|
353
|
+
playState: User_PlayStates;
|
|
354
|
+
/**
|
|
355
|
+
* @generated from protobuf field: proto.models.User.DownloadStates download_state = 7;
|
|
356
|
+
*/
|
|
357
|
+
downloadState: User_DownloadStates;
|
|
358
|
+
/**
|
|
359
|
+
* @generated from protobuf field: repeated string mod_list = 8;
|
|
360
|
+
*/
|
|
361
|
+
modList: string[];
|
|
362
|
+
/**
|
|
363
|
+
* @generated from protobuf field: proto.models.User.Point stream_screen_coordinates = 9;
|
|
364
|
+
*/
|
|
365
|
+
streamScreenCoordinates?: User_Point;
|
|
366
|
+
/**
|
|
367
|
+
* @generated from protobuf field: int64 stream_delay_ms = 10;
|
|
368
|
+
*/
|
|
369
|
+
streamDelayMs: bigint;
|
|
370
|
+
/**
|
|
371
|
+
* @generated from protobuf field: int64 stream_sync_start_ms = 11;
|
|
372
|
+
*/
|
|
373
|
+
streamSyncStartMs: bigint;
|
|
374
|
+
/**
|
|
375
|
+
* @generated from protobuf field: proto.models.User.DiscordInfo discord_info = 12;
|
|
376
|
+
*/
|
|
377
|
+
discordInfo?: User_DiscordInfo;
|
|
378
|
+
/**
|
|
379
|
+
* @generated from protobuf field: bytes user_image = 13;
|
|
380
|
+
*/
|
|
381
|
+
userImage: Uint8Array;
|
|
382
|
+
/**
|
|
383
|
+
* @generated from protobuf field: proto.models.Permissions permissions = 14;
|
|
384
|
+
*/
|
|
385
|
+
permissions: Permissions;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* @generated from protobuf message proto.models.User.DiscordInfo
|
|
389
|
+
*/
|
|
390
|
+
export interface User_DiscordInfo {
|
|
391
|
+
/**
|
|
392
|
+
* @generated from protobuf field: string user_id = 1;
|
|
393
|
+
*/
|
|
394
|
+
userId: string;
|
|
395
|
+
/**
|
|
396
|
+
* @generated from protobuf field: string username = 2;
|
|
397
|
+
*/
|
|
398
|
+
username: string;
|
|
399
|
+
/**
|
|
400
|
+
* @generated from protobuf field: string avatar_url = 3;
|
|
401
|
+
*/
|
|
402
|
+
avatarUrl: string;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* @generated from protobuf message proto.models.User.Point
|
|
406
|
+
*/
|
|
407
|
+
export interface User_Point {
|
|
408
|
+
/**
|
|
409
|
+
* @generated from protobuf field: int32 x = 1;
|
|
410
|
+
*/
|
|
411
|
+
x: number;
|
|
412
|
+
/**
|
|
413
|
+
* @generated from protobuf field: int32 y = 2;
|
|
414
|
+
*/
|
|
415
|
+
y: number;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @generated from protobuf enum proto.models.User.PlayStates
|
|
419
|
+
*/
|
|
420
|
+
export declare enum User_PlayStates {
|
|
421
|
+
/**
|
|
422
|
+
* @generated from protobuf enum value: InMenu = 0;
|
|
423
|
+
*/
|
|
424
|
+
InMenu = 0,
|
|
425
|
+
/**
|
|
426
|
+
* @generated from protobuf enum value: WaitingForCoordinator = 1;
|
|
427
|
+
*/
|
|
428
|
+
WaitingForCoordinator = 1,
|
|
429
|
+
/**
|
|
430
|
+
* @generated from protobuf enum value: InGame = 2;
|
|
431
|
+
*/
|
|
432
|
+
InGame = 2
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* @generated from protobuf enum proto.models.User.DownloadStates
|
|
436
|
+
*/
|
|
437
|
+
export declare enum User_DownloadStates {
|
|
438
|
+
/**
|
|
439
|
+
* @generated from protobuf enum value: None = 0;
|
|
440
|
+
*/
|
|
441
|
+
None = 0,
|
|
442
|
+
/**
|
|
443
|
+
* @generated from protobuf enum value: Downloading = 1;
|
|
444
|
+
*/
|
|
445
|
+
Downloading = 1,
|
|
446
|
+
/**
|
|
447
|
+
* @generated from protobuf enum value: Downloaded = 2;
|
|
448
|
+
*/
|
|
449
|
+
Downloaded = 2,
|
|
450
|
+
/**
|
|
451
|
+
* @generated from protobuf enum value: DownloadError = 3;
|
|
452
|
+
*/
|
|
453
|
+
DownloadError = 3
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* @generated from protobuf enum proto.models.User.ClientTypes
|
|
457
|
+
*/
|
|
458
|
+
export declare enum User_ClientTypes {
|
|
459
|
+
/**
|
|
460
|
+
* @generated from protobuf enum value: Player = 0;
|
|
461
|
+
*/
|
|
462
|
+
Player = 0,
|
|
463
|
+
/**
|
|
464
|
+
* @generated from protobuf enum value: WebsocketConnection = 1;
|
|
465
|
+
*/
|
|
466
|
+
WebsocketConnection = 1
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* @generated from protobuf message proto.models.Match
|
|
470
|
+
*/
|
|
471
|
+
export interface Match {
|
|
472
|
+
/**
|
|
473
|
+
* @generated from protobuf field: string guid = 1;
|
|
474
|
+
*/
|
|
475
|
+
guid: string;
|
|
476
|
+
/**
|
|
477
|
+
* @generated from protobuf field: repeated string associated_users = 2;
|
|
478
|
+
*/
|
|
479
|
+
associatedUsers: string[];
|
|
480
|
+
/**
|
|
481
|
+
* @generated from protobuf field: string leader = 3;
|
|
482
|
+
*/
|
|
483
|
+
leader: string;
|
|
484
|
+
/**
|
|
485
|
+
* @generated from protobuf field: proto.models.Map selected_map = 4;
|
|
486
|
+
*/
|
|
487
|
+
selectedMap?: Map;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* @generated from protobuf message proto.models.QualifierEvent
|
|
491
|
+
*/
|
|
492
|
+
export interface QualifierEvent {
|
|
493
|
+
/**
|
|
494
|
+
* @generated from protobuf field: string guid = 1;
|
|
495
|
+
*/
|
|
496
|
+
guid: string;
|
|
497
|
+
/**
|
|
498
|
+
* @generated from protobuf field: string name = 2;
|
|
499
|
+
*/
|
|
500
|
+
name: string;
|
|
501
|
+
/**
|
|
502
|
+
* @generated from protobuf field: bytes image = 3;
|
|
503
|
+
*/
|
|
504
|
+
image: Uint8Array;
|
|
505
|
+
/**
|
|
506
|
+
* @generated from protobuf field: proto.discord.Channel info_channel = 4;
|
|
507
|
+
*/
|
|
508
|
+
infoChannel?: Channel;
|
|
509
|
+
/**
|
|
510
|
+
* @generated from protobuf field: repeated proto.models.Map qualifier_maps = 5;
|
|
511
|
+
*/
|
|
512
|
+
qualifierMaps: Map[];
|
|
513
|
+
/**
|
|
514
|
+
* @generated from protobuf field: proto.models.QualifierEvent.EventSettings flags = 6;
|
|
515
|
+
*/
|
|
516
|
+
flags: QualifierEvent_EventSettings;
|
|
517
|
+
/**
|
|
518
|
+
* @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort sort = 7;
|
|
519
|
+
*/
|
|
520
|
+
sort: QualifierEvent_LeaderboardSort;
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* @generated from protobuf enum proto.models.QualifierEvent.EventSettings
|
|
524
|
+
*/
|
|
525
|
+
export declare enum QualifierEvent_EventSettings {
|
|
526
|
+
/**
|
|
527
|
+
* @generated from protobuf enum value: None = 0;
|
|
528
|
+
*/
|
|
529
|
+
None = 0,
|
|
530
|
+
/**
|
|
531
|
+
* @generated from protobuf enum value: HideScoresFromPlayers = 1;
|
|
532
|
+
*/
|
|
533
|
+
HideScoresFromPlayers = 1,
|
|
534
|
+
/**
|
|
535
|
+
* @generated from protobuf enum value: DisableScoresaberSubmission = 2;
|
|
536
|
+
*/
|
|
537
|
+
DisableScoresaberSubmission = 2,
|
|
538
|
+
/**
|
|
539
|
+
* @generated from protobuf enum value: EnableDiscordScoreFeed = 4;
|
|
540
|
+
*/
|
|
541
|
+
EnableDiscordScoreFeed = 4,
|
|
542
|
+
/**
|
|
543
|
+
* @generated from protobuf enum value: EnableDiscordLeaderboard = 8;
|
|
544
|
+
*/
|
|
545
|
+
EnableDiscordLeaderboard = 8
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* @generated from protobuf enum proto.models.QualifierEvent.LeaderboardSort
|
|
549
|
+
*/
|
|
550
|
+
export declare enum QualifierEvent_LeaderboardSort {
|
|
551
|
+
/**
|
|
552
|
+
* @generated from protobuf enum value: ModifiedScore = 0;
|
|
553
|
+
*/
|
|
554
|
+
ModifiedScore = 0,
|
|
555
|
+
/**
|
|
556
|
+
* @generated from protobuf enum value: ModifiedScoreAscending = 1;
|
|
557
|
+
*/
|
|
558
|
+
ModifiedScoreAscending = 1,
|
|
559
|
+
/**
|
|
560
|
+
* @generated from protobuf enum value: NotesMissed = 2;
|
|
561
|
+
*/
|
|
562
|
+
NotesMissed = 2,
|
|
563
|
+
/**
|
|
564
|
+
* @generated from protobuf enum value: NotesMissedAscending = 3;
|
|
565
|
+
*/
|
|
566
|
+
NotesMissedAscending = 3,
|
|
567
|
+
/**
|
|
568
|
+
* @generated from protobuf enum value: BadCuts = 4;
|
|
569
|
+
*/
|
|
570
|
+
BadCuts = 4,
|
|
571
|
+
/**
|
|
572
|
+
* @generated from protobuf enum value: BadCutsAscending = 5;
|
|
573
|
+
*/
|
|
574
|
+
BadCutsAscending = 5,
|
|
575
|
+
/**
|
|
576
|
+
* @generated from protobuf enum value: MaxCombo = 6;
|
|
577
|
+
*/
|
|
578
|
+
MaxCombo = 6,
|
|
579
|
+
/**
|
|
580
|
+
* @generated from protobuf enum value: MaxComboAscending = 7;
|
|
581
|
+
*/
|
|
582
|
+
MaxComboAscending = 7,
|
|
583
|
+
/**
|
|
584
|
+
* @generated from protobuf enum value: GoodCuts = 8;
|
|
585
|
+
*/
|
|
586
|
+
GoodCuts = 8,
|
|
587
|
+
/**
|
|
588
|
+
* @generated from protobuf enum value: GoodCutsAscending = 9;
|
|
589
|
+
*/
|
|
590
|
+
GoodCutsAscending = 9
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* @generated from protobuf message proto.models.CoreServer
|
|
594
|
+
*/
|
|
595
|
+
export interface CoreServer {
|
|
596
|
+
/**
|
|
597
|
+
* @generated from protobuf field: string name = 1;
|
|
598
|
+
*/
|
|
599
|
+
name: string;
|
|
600
|
+
/**
|
|
601
|
+
* @generated from protobuf field: string address = 2;
|
|
602
|
+
*/
|
|
603
|
+
address: string;
|
|
604
|
+
/**
|
|
605
|
+
* @generated from protobuf field: int32 port = 3;
|
|
606
|
+
*/
|
|
607
|
+
port: number;
|
|
608
|
+
/**
|
|
609
|
+
* @generated from protobuf field: int32 websocket_port = 4;
|
|
610
|
+
*/
|
|
611
|
+
websocketPort: number;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* @generated from protobuf message proto.models.Tournament
|
|
615
|
+
*/
|
|
616
|
+
export interface Tournament {
|
|
617
|
+
/**
|
|
618
|
+
* @generated from protobuf field: string guid = 1;
|
|
619
|
+
*/
|
|
620
|
+
guid: string;
|
|
621
|
+
/**
|
|
622
|
+
* @generated from protobuf field: proto.models.Tournament.TournamentSettings settings = 2;
|
|
623
|
+
*/
|
|
624
|
+
settings?: Tournament_TournamentSettings;
|
|
625
|
+
/**
|
|
626
|
+
* @generated from protobuf field: repeated proto.models.User users = 3;
|
|
627
|
+
*/
|
|
628
|
+
users: User[];
|
|
629
|
+
/**
|
|
630
|
+
* @generated from protobuf field: repeated proto.models.Match matches = 4;
|
|
631
|
+
*/
|
|
632
|
+
matches: Match[];
|
|
633
|
+
/**
|
|
634
|
+
* @generated from protobuf field: repeated proto.models.QualifierEvent qualifiers = 5;
|
|
635
|
+
*/
|
|
636
|
+
qualifiers: QualifierEvent[];
|
|
637
|
+
/**
|
|
638
|
+
* @generated from protobuf field: proto.models.CoreServer server = 6;
|
|
639
|
+
*/
|
|
640
|
+
server?: CoreServer;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* @generated from protobuf message proto.models.Tournament.TournamentSettings
|
|
644
|
+
*/
|
|
645
|
+
export interface Tournament_TournamentSettings {
|
|
646
|
+
/**
|
|
647
|
+
* @generated from protobuf field: string tournament_name = 1;
|
|
648
|
+
*/
|
|
649
|
+
tournamentName: string;
|
|
650
|
+
/**
|
|
651
|
+
* @generated from protobuf field: bytes tournament_image = 2;
|
|
652
|
+
*/
|
|
653
|
+
tournamentImage: Uint8Array;
|
|
654
|
+
/**
|
|
655
|
+
* @generated from protobuf field: bool enable_teams = 3;
|
|
656
|
+
*/
|
|
657
|
+
enableTeams: boolean;
|
|
658
|
+
/**
|
|
659
|
+
* @generated from protobuf field: bool enable_pools = 4;
|
|
660
|
+
*/
|
|
661
|
+
enablePools: boolean;
|
|
662
|
+
/**
|
|
663
|
+
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Team teams = 5;
|
|
664
|
+
*/
|
|
665
|
+
teams: Tournament_TournamentSettings_Team[];
|
|
666
|
+
/**
|
|
667
|
+
* @generated from protobuf field: int32 score_update_frequency = 6;
|
|
668
|
+
*/
|
|
669
|
+
scoreUpdateFrequency: number;
|
|
670
|
+
/**
|
|
671
|
+
* @generated from protobuf field: repeated string banned_mods = 7;
|
|
672
|
+
*/
|
|
673
|
+
bannedMods: string[];
|
|
674
|
+
/**
|
|
675
|
+
* @generated from protobuf field: repeated proto.models.Tournament.TournamentSettings.Pool pools = 8;
|
|
676
|
+
*/
|
|
677
|
+
pools: Tournament_TournamentSettings_Pool[];
|
|
678
|
+
/**
|
|
679
|
+
* @generated from protobuf field: bool show_tournament_button = 9;
|
|
680
|
+
*/
|
|
681
|
+
showTournamentButton: boolean;
|
|
682
|
+
/**
|
|
683
|
+
* @generated from protobuf field: bool show_qualifier_button = 10;
|
|
684
|
+
*/
|
|
685
|
+
showQualifierButton: boolean;
|
|
686
|
+
/**
|
|
687
|
+
* @generated from protobuf field: bool allow_unauthorized_view = 11;
|
|
688
|
+
*/
|
|
689
|
+
allowUnauthorizedView: boolean;
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* @generated from protobuf message proto.models.Tournament.TournamentSettings.Pool
|
|
693
|
+
*/
|
|
694
|
+
export interface Tournament_TournamentSettings_Pool {
|
|
695
|
+
/**
|
|
696
|
+
* @generated from protobuf field: string guid = 1;
|
|
697
|
+
*/
|
|
698
|
+
guid: string;
|
|
699
|
+
/**
|
|
700
|
+
* @generated from protobuf field: string name = 2;
|
|
701
|
+
*/
|
|
702
|
+
name: string;
|
|
703
|
+
/**
|
|
704
|
+
* @generated from protobuf field: bytes image = 3;
|
|
705
|
+
*/
|
|
706
|
+
image: Uint8Array;
|
|
707
|
+
/**
|
|
708
|
+
* @generated from protobuf field: repeated proto.models.Map maps = 4;
|
|
709
|
+
*/
|
|
710
|
+
maps: Map[];
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* @generated from protobuf message proto.models.Tournament.TournamentSettings.Team
|
|
714
|
+
*/
|
|
715
|
+
export interface Tournament_TournamentSettings_Team {
|
|
716
|
+
/**
|
|
717
|
+
* @generated from protobuf field: string guid = 1;
|
|
718
|
+
*/
|
|
719
|
+
guid: string;
|
|
720
|
+
/**
|
|
721
|
+
* @generated from protobuf field: string name = 2;
|
|
722
|
+
*/
|
|
723
|
+
name: string;
|
|
724
|
+
/**
|
|
725
|
+
* @generated from protobuf field: bytes image = 3;
|
|
726
|
+
*/
|
|
727
|
+
image: Uint8Array;
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* @generated from protobuf message proto.models.State
|
|
731
|
+
*/
|
|
732
|
+
export interface State {
|
|
733
|
+
/**
|
|
734
|
+
* @generated from protobuf field: repeated proto.models.Tournament tournaments = 1;
|
|
735
|
+
*/
|
|
736
|
+
tournaments: Tournament[];
|
|
737
|
+
/**
|
|
738
|
+
* @generated from protobuf field: repeated proto.models.CoreServer known_servers = 2;
|
|
739
|
+
*/
|
|
740
|
+
knownServers: CoreServer[];
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* @generated from protobuf message proto.models.ModalOption
|
|
744
|
+
*/
|
|
745
|
+
export interface ModalOption {
|
|
746
|
+
/**
|
|
747
|
+
* @generated from protobuf field: string label = 1;
|
|
748
|
+
*/
|
|
749
|
+
label: string;
|
|
750
|
+
/**
|
|
751
|
+
* @generated from protobuf field: string value = 2;
|
|
752
|
+
*/
|
|
753
|
+
value: string;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* @generated from protobuf message proto.models.LeaderboardEntry
|
|
757
|
+
*/
|
|
758
|
+
export interface LeaderboardEntry {
|
|
759
|
+
/**
|
|
760
|
+
* @generated from protobuf field: string event_id = 1;
|
|
761
|
+
*/
|
|
762
|
+
eventId: string;
|
|
763
|
+
/**
|
|
764
|
+
* @generated from protobuf field: string map_id = 2;
|
|
765
|
+
*/
|
|
766
|
+
mapId: string;
|
|
767
|
+
/**
|
|
768
|
+
* @generated from protobuf field: string platform_id = 3;
|
|
769
|
+
*/
|
|
770
|
+
platformId: string;
|
|
771
|
+
/**
|
|
772
|
+
* @generated from protobuf field: string username = 4;
|
|
773
|
+
*/
|
|
774
|
+
username: string;
|
|
775
|
+
/**
|
|
776
|
+
* @generated from protobuf field: int32 multiplied_score = 5;
|
|
777
|
+
*/
|
|
778
|
+
multipliedScore: number;
|
|
779
|
+
/**
|
|
780
|
+
* @generated from protobuf field: int32 modified_score = 6;
|
|
781
|
+
*/
|
|
782
|
+
modifiedScore: number;
|
|
783
|
+
/**
|
|
784
|
+
* @generated from protobuf field: int32 max_possible_score = 7;
|
|
785
|
+
*/
|
|
786
|
+
maxPossibleScore: number;
|
|
787
|
+
/**
|
|
788
|
+
* @generated from protobuf field: double accuracy = 8;
|
|
789
|
+
*/
|
|
790
|
+
accuracy: number;
|
|
791
|
+
/**
|
|
792
|
+
* @generated from protobuf field: int32 notes_missed = 9;
|
|
793
|
+
*/
|
|
794
|
+
notesMissed: number;
|
|
795
|
+
/**
|
|
796
|
+
* @generated from protobuf field: int32 bad_cuts = 10;
|
|
797
|
+
*/
|
|
798
|
+
badCuts: number;
|
|
799
|
+
/**
|
|
800
|
+
* @generated from protobuf field: int32 good_cuts = 11;
|
|
801
|
+
*/
|
|
802
|
+
goodCuts: number;
|
|
803
|
+
/**
|
|
804
|
+
* @generated from protobuf field: int32 max_combo = 12;
|
|
805
|
+
*/
|
|
806
|
+
maxCombo: number;
|
|
807
|
+
/**
|
|
808
|
+
* @generated from protobuf field: bool full_combo = 13;
|
|
809
|
+
*/
|
|
810
|
+
fullCombo: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* @generated from protobuf field: bool is_placeholder = 14;
|
|
813
|
+
*/
|
|
814
|
+
isPlaceholder: boolean;
|
|
815
|
+
/**
|
|
816
|
+
* @generated from protobuf field: string color = 15;
|
|
817
|
+
*/
|
|
818
|
+
color: string;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* @generated from protobuf message proto.models.RealtimeScore
|
|
822
|
+
*/
|
|
823
|
+
export interface RealtimeScore {
|
|
824
|
+
/**
|
|
825
|
+
* @generated from protobuf field: string user_guid = 1;
|
|
826
|
+
*/
|
|
827
|
+
userGuid: string;
|
|
828
|
+
/**
|
|
829
|
+
* @generated from protobuf field: int32 score = 2;
|
|
830
|
+
*/
|
|
831
|
+
score: number;
|
|
832
|
+
/**
|
|
833
|
+
* @generated from protobuf field: int32 score_with_modifiers = 3;
|
|
834
|
+
*/
|
|
835
|
+
scoreWithModifiers: number;
|
|
836
|
+
/**
|
|
837
|
+
* @generated from protobuf field: int32 max_score = 4;
|
|
838
|
+
*/
|
|
839
|
+
maxScore: number;
|
|
840
|
+
/**
|
|
841
|
+
* @generated from protobuf field: int32 max_score_with_modifiers = 5;
|
|
842
|
+
*/
|
|
843
|
+
maxScoreWithModifiers: number;
|
|
844
|
+
/**
|
|
845
|
+
* @generated from protobuf field: int32 combo = 6;
|
|
846
|
+
*/
|
|
847
|
+
combo: number;
|
|
848
|
+
/**
|
|
849
|
+
* @generated from protobuf field: float player_health = 7;
|
|
850
|
+
*/
|
|
851
|
+
playerHealth: number;
|
|
852
|
+
/**
|
|
853
|
+
* @generated from protobuf field: float accuracy = 8;
|
|
854
|
+
*/
|
|
855
|
+
accuracy: number;
|
|
856
|
+
/**
|
|
857
|
+
* @generated from protobuf field: float song_position = 9;
|
|
858
|
+
*/
|
|
859
|
+
songPosition: number;
|
|
860
|
+
/**
|
|
861
|
+
* @generated from protobuf field: int32 notes_missed = 10;
|
|
862
|
+
*/
|
|
863
|
+
notesMissed: number;
|
|
864
|
+
/**
|
|
865
|
+
* @generated from protobuf field: int32 bad_cuts = 11;
|
|
866
|
+
*/
|
|
867
|
+
badCuts: number;
|
|
868
|
+
/**
|
|
869
|
+
* @generated from protobuf field: int32 bomb_hits = 12;
|
|
870
|
+
*/
|
|
871
|
+
bombHits: number;
|
|
872
|
+
/**
|
|
873
|
+
* @generated from protobuf field: int32 wall_hits = 13;
|
|
874
|
+
*/
|
|
875
|
+
wallHits: number;
|
|
876
|
+
/**
|
|
877
|
+
* @generated from protobuf field: int32 max_combo = 14;
|
|
878
|
+
*/
|
|
879
|
+
maxCombo: number;
|
|
880
|
+
/**
|
|
881
|
+
* @generated from protobuf field: proto.models.ScoreTrackerHand left_hand = 15;
|
|
882
|
+
*/
|
|
883
|
+
leftHand?: ScoreTrackerHand;
|
|
884
|
+
/**
|
|
885
|
+
* @generated from protobuf field: proto.models.ScoreTrackerHand right_hand = 16;
|
|
886
|
+
*/
|
|
887
|
+
rightHand?: ScoreTrackerHand;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* @generated from protobuf message proto.models.ScoreTrackerHand
|
|
891
|
+
*/
|
|
892
|
+
export interface ScoreTrackerHand {
|
|
893
|
+
/**
|
|
894
|
+
* @generated from protobuf field: int32 hit = 1;
|
|
895
|
+
*/
|
|
896
|
+
hit: number;
|
|
897
|
+
/**
|
|
898
|
+
* @generated from protobuf field: int32 miss = 2;
|
|
899
|
+
*/
|
|
900
|
+
miss: number;
|
|
901
|
+
/**
|
|
902
|
+
* @generated from protobuf field: int32 bad_cut = 3;
|
|
903
|
+
*/
|
|
904
|
+
badCut: number;
|
|
905
|
+
/**
|
|
906
|
+
* @generated from protobuf field: repeated float avg_cut = 4;
|
|
907
|
+
*/
|
|
908
|
+
avgCut: number[];
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* @generated from protobuf enum proto.models.Permissions
|
|
912
|
+
*/
|
|
913
|
+
export declare enum Permissions {
|
|
914
|
+
/**
|
|
915
|
+
* @generated from protobuf enum value: None = 0;
|
|
916
|
+
*/
|
|
917
|
+
None = 0,
|
|
918
|
+
/**
|
|
919
|
+
* @generated from protobuf enum value: View = 1;
|
|
920
|
+
*/
|
|
921
|
+
View = 1,
|
|
922
|
+
/**
|
|
923
|
+
* @generated from protobuf enum value: Admin = 2;
|
|
924
|
+
*/
|
|
925
|
+
Admin = 2
|
|
926
|
+
}
|
|
927
|
+
declare class Characteristic$Type extends MessageType<Characteristic> {
|
|
928
|
+
constructor();
|
|
929
|
+
create(value?: PartialMessage<Characteristic>): Characteristic;
|
|
930
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Characteristic): Characteristic;
|
|
931
|
+
internalBinaryWrite(message: Characteristic, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
* @generated MessageType for protobuf message proto.models.Characteristic
|
|
935
|
+
*/
|
|
936
|
+
export declare const Characteristic: Characteristic$Type;
|
|
937
|
+
declare class Beatmap$Type extends MessageType<Beatmap> {
|
|
938
|
+
constructor();
|
|
939
|
+
create(value?: PartialMessage<Beatmap>): Beatmap;
|
|
940
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Beatmap): Beatmap;
|
|
941
|
+
internalBinaryWrite(message: Beatmap, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* @generated MessageType for protobuf message proto.models.Beatmap
|
|
945
|
+
*/
|
|
946
|
+
export declare const Beatmap: Beatmap$Type;
|
|
947
|
+
declare class GameplayModifiers$Type extends MessageType<GameplayModifiers> {
|
|
948
|
+
constructor();
|
|
949
|
+
create(value?: PartialMessage<GameplayModifiers>): GameplayModifiers;
|
|
950
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GameplayModifiers): GameplayModifiers;
|
|
951
|
+
internalBinaryWrite(message: GameplayModifiers, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* @generated MessageType for protobuf message proto.models.GameplayModifiers
|
|
955
|
+
*/
|
|
956
|
+
export declare const GameplayModifiers: GameplayModifiers$Type;
|
|
957
|
+
declare class PlayerSpecificSettings$Type extends MessageType<PlayerSpecificSettings> {
|
|
958
|
+
constructor();
|
|
959
|
+
create(value?: PartialMessage<PlayerSpecificSettings>): PlayerSpecificSettings;
|
|
960
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PlayerSpecificSettings): PlayerSpecificSettings;
|
|
961
|
+
internalBinaryWrite(message: PlayerSpecificSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* @generated MessageType for protobuf message proto.models.PlayerSpecificSettings
|
|
965
|
+
*/
|
|
966
|
+
export declare const PlayerSpecificSettings: PlayerSpecificSettings$Type;
|
|
967
|
+
declare class GameplayParameters$Type extends MessageType<GameplayParameters> {
|
|
968
|
+
constructor();
|
|
969
|
+
create(value?: PartialMessage<GameplayParameters>): GameplayParameters;
|
|
970
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GameplayParameters): GameplayParameters;
|
|
971
|
+
internalBinaryWrite(message: GameplayParameters, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* @generated MessageType for protobuf message proto.models.GameplayParameters
|
|
975
|
+
*/
|
|
976
|
+
export declare const GameplayParameters: GameplayParameters$Type;
|
|
977
|
+
declare class Map$Type extends MessageType<Map> {
|
|
978
|
+
constructor();
|
|
979
|
+
create(value?: PartialMessage<Map>): Map;
|
|
980
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Map): Map;
|
|
981
|
+
internalBinaryWrite(message: Map, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* @generated MessageType for protobuf message proto.models.Map
|
|
985
|
+
*/
|
|
986
|
+
export declare const Map: Map$Type;
|
|
987
|
+
declare class User$Type extends MessageType<User> {
|
|
988
|
+
constructor();
|
|
989
|
+
create(value?: PartialMessage<User>): User;
|
|
990
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: User): User;
|
|
991
|
+
internalBinaryWrite(message: User, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* @generated MessageType for protobuf message proto.models.User
|
|
995
|
+
*/
|
|
996
|
+
export declare const User: User$Type;
|
|
997
|
+
declare class User_DiscordInfo$Type extends MessageType<User_DiscordInfo> {
|
|
998
|
+
constructor();
|
|
999
|
+
create(value?: PartialMessage<User_DiscordInfo>): User_DiscordInfo;
|
|
1000
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: User_DiscordInfo): User_DiscordInfo;
|
|
1001
|
+
internalBinaryWrite(message: User_DiscordInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* @generated MessageType for protobuf message proto.models.User.DiscordInfo
|
|
1005
|
+
*/
|
|
1006
|
+
export declare const User_DiscordInfo: User_DiscordInfo$Type;
|
|
1007
|
+
declare class User_Point$Type extends MessageType<User_Point> {
|
|
1008
|
+
constructor();
|
|
1009
|
+
create(value?: PartialMessage<User_Point>): User_Point;
|
|
1010
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: User_Point): User_Point;
|
|
1011
|
+
internalBinaryWrite(message: User_Point, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* @generated MessageType for protobuf message proto.models.User.Point
|
|
1015
|
+
*/
|
|
1016
|
+
export declare const User_Point: User_Point$Type;
|
|
1017
|
+
declare class Match$Type extends MessageType<Match> {
|
|
1018
|
+
constructor();
|
|
1019
|
+
create(value?: PartialMessage<Match>): Match;
|
|
1020
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Match): Match;
|
|
1021
|
+
internalBinaryWrite(message: Match, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* @generated MessageType for protobuf message proto.models.Match
|
|
1025
|
+
*/
|
|
1026
|
+
export declare const Match: Match$Type;
|
|
1027
|
+
declare class QualifierEvent$Type extends MessageType<QualifierEvent> {
|
|
1028
|
+
constructor();
|
|
1029
|
+
create(value?: PartialMessage<QualifierEvent>): QualifierEvent;
|
|
1030
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QualifierEvent): QualifierEvent;
|
|
1031
|
+
internalBinaryWrite(message: QualifierEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* @generated MessageType for protobuf message proto.models.QualifierEvent
|
|
1035
|
+
*/
|
|
1036
|
+
export declare const QualifierEvent: QualifierEvent$Type;
|
|
1037
|
+
declare class CoreServer$Type extends MessageType<CoreServer> {
|
|
1038
|
+
constructor();
|
|
1039
|
+
create(value?: PartialMessage<CoreServer>): CoreServer;
|
|
1040
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CoreServer): CoreServer;
|
|
1041
|
+
internalBinaryWrite(message: CoreServer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
* @generated MessageType for protobuf message proto.models.CoreServer
|
|
1045
|
+
*/
|
|
1046
|
+
export declare const CoreServer: CoreServer$Type;
|
|
1047
|
+
declare class Tournament$Type extends MessageType<Tournament> {
|
|
1048
|
+
constructor();
|
|
1049
|
+
create(value?: PartialMessage<Tournament>): Tournament;
|
|
1050
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Tournament): Tournament;
|
|
1051
|
+
internalBinaryWrite(message: Tournament, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
* @generated MessageType for protobuf message proto.models.Tournament
|
|
1055
|
+
*/
|
|
1056
|
+
export declare const Tournament: Tournament$Type;
|
|
1057
|
+
declare class Tournament_TournamentSettings$Type extends MessageType<Tournament_TournamentSettings> {
|
|
1058
|
+
constructor();
|
|
1059
|
+
create(value?: PartialMessage<Tournament_TournamentSettings>): Tournament_TournamentSettings;
|
|
1060
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Tournament_TournamentSettings): Tournament_TournamentSettings;
|
|
1061
|
+
internalBinaryWrite(message: Tournament_TournamentSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* @generated MessageType for protobuf message proto.models.Tournament.TournamentSettings
|
|
1065
|
+
*/
|
|
1066
|
+
export declare const Tournament_TournamentSettings: Tournament_TournamentSettings$Type;
|
|
1067
|
+
declare class Tournament_TournamentSettings_Pool$Type extends MessageType<Tournament_TournamentSettings_Pool> {
|
|
1068
|
+
constructor();
|
|
1069
|
+
create(value?: PartialMessage<Tournament_TournamentSettings_Pool>): Tournament_TournamentSettings_Pool;
|
|
1070
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Tournament_TournamentSettings_Pool): Tournament_TournamentSettings_Pool;
|
|
1071
|
+
internalBinaryWrite(message: Tournament_TournamentSettings_Pool, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* @generated MessageType for protobuf message proto.models.Tournament.TournamentSettings.Pool
|
|
1075
|
+
*/
|
|
1076
|
+
export declare const Tournament_TournamentSettings_Pool: Tournament_TournamentSettings_Pool$Type;
|
|
1077
|
+
declare class Tournament_TournamentSettings_Team$Type extends MessageType<Tournament_TournamentSettings_Team> {
|
|
1078
|
+
constructor();
|
|
1079
|
+
create(value?: PartialMessage<Tournament_TournamentSettings_Team>): Tournament_TournamentSettings_Team;
|
|
1080
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Tournament_TournamentSettings_Team): Tournament_TournamentSettings_Team;
|
|
1081
|
+
internalBinaryWrite(message: Tournament_TournamentSettings_Team, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* @generated MessageType for protobuf message proto.models.Tournament.TournamentSettings.Team
|
|
1085
|
+
*/
|
|
1086
|
+
export declare const Tournament_TournamentSettings_Team: Tournament_TournamentSettings_Team$Type;
|
|
1087
|
+
declare class State$Type extends MessageType<State> {
|
|
1088
|
+
constructor();
|
|
1089
|
+
create(value?: PartialMessage<State>): State;
|
|
1090
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: State): State;
|
|
1091
|
+
internalBinaryWrite(message: State, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* @generated MessageType for protobuf message proto.models.State
|
|
1095
|
+
*/
|
|
1096
|
+
export declare const State: State$Type;
|
|
1097
|
+
declare class ModalOption$Type extends MessageType<ModalOption> {
|
|
1098
|
+
constructor();
|
|
1099
|
+
create(value?: PartialMessage<ModalOption>): ModalOption;
|
|
1100
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModalOption): ModalOption;
|
|
1101
|
+
internalBinaryWrite(message: ModalOption, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* @generated MessageType for protobuf message proto.models.ModalOption
|
|
1105
|
+
*/
|
|
1106
|
+
export declare const ModalOption: ModalOption$Type;
|
|
1107
|
+
declare class LeaderboardEntry$Type extends MessageType<LeaderboardEntry> {
|
|
1108
|
+
constructor();
|
|
1109
|
+
create(value?: PartialMessage<LeaderboardEntry>): LeaderboardEntry;
|
|
1110
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LeaderboardEntry): LeaderboardEntry;
|
|
1111
|
+
internalBinaryWrite(message: LeaderboardEntry, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* @generated MessageType for protobuf message proto.models.LeaderboardEntry
|
|
1115
|
+
*/
|
|
1116
|
+
export declare const LeaderboardEntry: LeaderboardEntry$Type;
|
|
1117
|
+
declare class RealtimeScore$Type extends MessageType<RealtimeScore> {
|
|
1118
|
+
constructor();
|
|
1119
|
+
create(value?: PartialMessage<RealtimeScore>): RealtimeScore;
|
|
1120
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RealtimeScore): RealtimeScore;
|
|
1121
|
+
internalBinaryWrite(message: RealtimeScore, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* @generated MessageType for protobuf message proto.models.RealtimeScore
|
|
1125
|
+
*/
|
|
1126
|
+
export declare const RealtimeScore: RealtimeScore$Type;
|
|
1127
|
+
declare class ScoreTrackerHand$Type extends MessageType<ScoreTrackerHand> {
|
|
1128
|
+
constructor();
|
|
1129
|
+
create(value?: PartialMessage<ScoreTrackerHand>): ScoreTrackerHand;
|
|
1130
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScoreTrackerHand): ScoreTrackerHand;
|
|
1131
|
+
internalBinaryWrite(message: ScoreTrackerHand, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* @generated MessageType for protobuf message proto.models.ScoreTrackerHand
|
|
1135
|
+
*/
|
|
1136
|
+
export declare const ScoreTrackerHand: ScoreTrackerHand$Type;
|
|
1137
|
+
export {};
|