moons-ta-client 1.0.1 → 1.0.3
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 +4591 -0
- package/dist/index.esm.js +16500 -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 +113 -0
- package/dist/tournament-assistant-client.js +1167 -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
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.8.2
|
|
2
|
-
// @generated from protobuf file "requests.proto" (package "proto.packets", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
1
|
import { WireType } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
9
2
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
3
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
4
|
import { MESSAGE_TYPE } from "@protobuf-ts/runtime";
|
|
13
5
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
@@ -26,1146 +18,8 @@ import { QualifierEvent } from './models.js';
|
|
|
26
18
|
import { Map } from './models.js';
|
|
27
19
|
import { Match } from './models.js';
|
|
28
20
|
import { User } from './models.js';
|
|
29
|
-
/**
|
|
30
|
-
* ---- Requests (GET (or do?) something where you need a response!) ---- //
|
|
31
|
-
*
|
|
32
|
-
* @generated from protobuf message proto.packets.Request
|
|
33
|
-
*/
|
|
34
|
-
export interface Request {
|
|
35
|
-
/**
|
|
36
|
-
* @generated from protobuf oneof: type
|
|
37
|
-
*/
|
|
38
|
-
type: {
|
|
39
|
-
oneofKind: "updateUser";
|
|
40
|
-
/**
|
|
41
|
-
* @generated from protobuf field: proto.packets.Request.UpdateUser update_user = 1;
|
|
42
|
-
*/
|
|
43
|
-
updateUser: Request_UpdateUser;
|
|
44
|
-
} | {
|
|
45
|
-
oneofKind: "createMatch";
|
|
46
|
-
/**
|
|
47
|
-
* @generated from protobuf field: proto.packets.Request.CreateMatch create_match = 2;
|
|
48
|
-
*/
|
|
49
|
-
createMatch: Request_CreateMatch;
|
|
50
|
-
} | {
|
|
51
|
-
oneofKind: "addUserToMatch";
|
|
52
|
-
/**
|
|
53
|
-
* @generated from protobuf field: proto.packets.Request.AddUserToMatch add_user_to_match = 3;
|
|
54
|
-
*/
|
|
55
|
-
addUserToMatch: Request_AddUserToMatch;
|
|
56
|
-
} | {
|
|
57
|
-
oneofKind: "removeUserFromMatch";
|
|
58
|
-
/**
|
|
59
|
-
* @generated from protobuf field: proto.packets.Request.RemoveUserFromMatch remove_user_from_match = 4;
|
|
60
|
-
*/
|
|
61
|
-
removeUserFromMatch: Request_RemoveUserFromMatch;
|
|
62
|
-
} | {
|
|
63
|
-
oneofKind: "setMatchLeader";
|
|
64
|
-
/**
|
|
65
|
-
* @generated from protobuf field: proto.packets.Request.SetMatchLeader set_match_leader = 5;
|
|
66
|
-
*/
|
|
67
|
-
setMatchLeader: Request_SetMatchLeader;
|
|
68
|
-
} | {
|
|
69
|
-
oneofKind: "setMatchMap";
|
|
70
|
-
/**
|
|
71
|
-
* @generated from protobuf field: proto.packets.Request.SetMatchMap set_match_map = 6;
|
|
72
|
-
*/
|
|
73
|
-
setMatchMap: Request_SetMatchMap;
|
|
74
|
-
} | {
|
|
75
|
-
oneofKind: "deleteMatch";
|
|
76
|
-
/**
|
|
77
|
-
* @generated from protobuf field: proto.packets.Request.DeleteMatch delete_match = 7;
|
|
78
|
-
*/
|
|
79
|
-
deleteMatch: Request_DeleteMatch;
|
|
80
|
-
} | {
|
|
81
|
-
oneofKind: "createQualifierEvent";
|
|
82
|
-
/**
|
|
83
|
-
* @generated from protobuf field: proto.packets.Request.CreateQualifierEvent create_qualifier_event = 8;
|
|
84
|
-
*/
|
|
85
|
-
createQualifierEvent: Request_CreateQualifierEvent;
|
|
86
|
-
} | {
|
|
87
|
-
oneofKind: "setQualifierName";
|
|
88
|
-
/**
|
|
89
|
-
* @generated from protobuf field: proto.packets.Request.SetQualifierName set_qualifier_name = 9;
|
|
90
|
-
*/
|
|
91
|
-
setQualifierName: Request_SetQualifierName;
|
|
92
|
-
} | {
|
|
93
|
-
oneofKind: "setQualifierInfoChannel";
|
|
94
|
-
/**
|
|
95
|
-
* @generated from protobuf field: proto.packets.Request.SetQualifierInfoChannel set_qualifier_info_channel = 10;
|
|
96
|
-
*/
|
|
97
|
-
setQualifierInfoChannel: Request_SetQualifierInfoChannel;
|
|
98
|
-
} | {
|
|
99
|
-
oneofKind: "setQualifierImage";
|
|
100
|
-
/**
|
|
101
|
-
* @generated from protobuf field: proto.packets.Request.SetQualifierImage set_qualifier_image = 11;
|
|
102
|
-
*/
|
|
103
|
-
setQualifierImage: Request_SetQualifierImage;
|
|
104
|
-
} | {
|
|
105
|
-
oneofKind: "setQualifierFlags";
|
|
106
|
-
/**
|
|
107
|
-
* @generated from protobuf field: proto.packets.Request.SetQualifierFlags set_qualifier_flags = 12;
|
|
108
|
-
*/
|
|
109
|
-
setQualifierFlags: Request_SetQualifierFlags;
|
|
110
|
-
} | {
|
|
111
|
-
oneofKind: "setQualifierLeaderboardSort";
|
|
112
|
-
/**
|
|
113
|
-
* @generated from protobuf field: proto.packets.Request.SetQualifierLeaderboardSort set_qualifier_leaderboard_sort = 13;
|
|
114
|
-
*/
|
|
115
|
-
setQualifierLeaderboardSort: Request_SetQualifierLeaderboardSort;
|
|
116
|
-
} | {
|
|
117
|
-
oneofKind: "addQualifierMap";
|
|
118
|
-
/**
|
|
119
|
-
* @generated from protobuf field: proto.packets.Request.AddQualifierMap add_qualifier_map = 14;
|
|
120
|
-
*/
|
|
121
|
-
addQualifierMap: Request_AddQualifierMap;
|
|
122
|
-
} | {
|
|
123
|
-
oneofKind: "updateQualifierMap";
|
|
124
|
-
/**
|
|
125
|
-
* @generated from protobuf field: proto.packets.Request.UpdateQualifierMap update_qualifier_map = 15;
|
|
126
|
-
*/
|
|
127
|
-
updateQualifierMap: Request_UpdateQualifierMap;
|
|
128
|
-
} | {
|
|
129
|
-
oneofKind: "removeQualifierMap";
|
|
130
|
-
/**
|
|
131
|
-
* @generated from protobuf field: proto.packets.Request.RemoveQualifierMap remove_qualifier_map = 16;
|
|
132
|
-
*/
|
|
133
|
-
removeQualifierMap: Request_RemoveQualifierMap;
|
|
134
|
-
} | {
|
|
135
|
-
oneofKind: "deleteQualifierEvent";
|
|
136
|
-
/**
|
|
137
|
-
* @generated from protobuf field: proto.packets.Request.DeleteQualifierEvent delete_qualifier_event = 17;
|
|
138
|
-
*/
|
|
139
|
-
deleteQualifierEvent: Request_DeleteQualifierEvent;
|
|
140
|
-
} | {
|
|
141
|
-
oneofKind: "addAuthorizedUser";
|
|
142
|
-
/**
|
|
143
|
-
* @generated from protobuf field: proto.packets.Request.AddAuthorizedUser add_authorized_user = 48;
|
|
144
|
-
*/
|
|
145
|
-
addAuthorizedUser: Request_AddAuthorizedUser;
|
|
146
|
-
} | {
|
|
147
|
-
oneofKind: "addAuthorizedUserPermission";
|
|
148
|
-
/**
|
|
149
|
-
* @generated from protobuf field: proto.packets.Request.AddAuthorizedUserPermission add_authorized_user_permission = 49;
|
|
150
|
-
*/
|
|
151
|
-
addAuthorizedUserPermission: Request_AddAuthorizedUserPermission;
|
|
152
|
-
} | {
|
|
153
|
-
oneofKind: "removeAuthorizedUserPermission";
|
|
154
|
-
/**
|
|
155
|
-
* @generated from protobuf field: proto.packets.Request.RemoveAuthorizedUserPermission remove_authorized_user_permission = 50;
|
|
156
|
-
*/
|
|
157
|
-
removeAuthorizedUserPermission: Request_RemoveAuthorizedUserPermission;
|
|
158
|
-
} | {
|
|
159
|
-
oneofKind: "removeAuthorizedUser";
|
|
160
|
-
/**
|
|
161
|
-
* @generated from protobuf field: proto.packets.Request.RemoveAuthorizedUser remove_authorized_user = 51;
|
|
162
|
-
*/
|
|
163
|
-
removeAuthorizedUser: Request_RemoveAuthorizedUser;
|
|
164
|
-
} | {
|
|
165
|
-
oneofKind: "getAuthorizedUsers";
|
|
166
|
-
/**
|
|
167
|
-
* @generated from protobuf field: proto.packets.Request.GetAuthorizedUsers get_authorized_users = 52;
|
|
168
|
-
*/
|
|
169
|
-
getAuthorizedUsers: Request_GetAuthorizedUsers;
|
|
170
|
-
} | {
|
|
171
|
-
oneofKind: "getDiscordInfo";
|
|
172
|
-
/**
|
|
173
|
-
* @generated from protobuf field: proto.packets.Request.GetDiscordInfo get_discord_info = 53;
|
|
174
|
-
*/
|
|
175
|
-
getDiscordInfo: Request_GetDiscordInfo;
|
|
176
|
-
} | {
|
|
177
|
-
oneofKind: "createTournament";
|
|
178
|
-
/**
|
|
179
|
-
* @generated from protobuf field: proto.packets.Request.CreateTournament create_tournament = 18;
|
|
180
|
-
*/
|
|
181
|
-
createTournament: Request_CreateTournament;
|
|
182
|
-
} | {
|
|
183
|
-
oneofKind: "setTournamentName";
|
|
184
|
-
/**
|
|
185
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentName set_tournament_name = 19;
|
|
186
|
-
*/
|
|
187
|
-
setTournamentName: Request_SetTournamentName;
|
|
188
|
-
} | {
|
|
189
|
-
oneofKind: "setTournamentImage";
|
|
190
|
-
/**
|
|
191
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentImage set_tournament_image = 20;
|
|
192
|
-
*/
|
|
193
|
-
setTournamentImage: Request_SetTournamentImage;
|
|
194
|
-
} | {
|
|
195
|
-
oneofKind: "setTournamentEnableTeams";
|
|
196
|
-
/**
|
|
197
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentEnableTeams set_tournament_enable_teams = 21;
|
|
198
|
-
*/
|
|
199
|
-
setTournamentEnableTeams: Request_SetTournamentEnableTeams;
|
|
200
|
-
} | {
|
|
201
|
-
oneofKind: "setTournamentEnablePools";
|
|
202
|
-
/**
|
|
203
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentEnablePools set_tournament_enable_pools = 44;
|
|
204
|
-
*/
|
|
205
|
-
setTournamentEnablePools: Request_SetTournamentEnablePools;
|
|
206
|
-
} | {
|
|
207
|
-
oneofKind: "setTournamentShowTournamentButton";
|
|
208
|
-
/**
|
|
209
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentShowTournamentButton set_tournament_show_tournament_button = 45;
|
|
210
|
-
*/
|
|
211
|
-
setTournamentShowTournamentButton: Request_SetTournamentShowTournamentButton;
|
|
212
|
-
} | {
|
|
213
|
-
oneofKind: "setTournamentShowQualifierButton";
|
|
214
|
-
/**
|
|
215
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentShowQualifierButton set_tournament_show_qualifier_button = 46;
|
|
216
|
-
*/
|
|
217
|
-
setTournamentShowQualifierButton: Request_SetTournamentShowQualifierButton;
|
|
218
|
-
} | {
|
|
219
|
-
oneofKind: "setTournamentAllowUnauthorizedView";
|
|
220
|
-
/**
|
|
221
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentAllowUnauthorizedView set_tournament_allow_unauthorized_view = 54;
|
|
222
|
-
*/
|
|
223
|
-
setTournamentAllowUnauthorizedView: Request_SetTournamentAllowUnauthorizedView;
|
|
224
|
-
} | {
|
|
225
|
-
oneofKind: "setTournamentScoreUpdateFrequency";
|
|
226
|
-
/**
|
|
227
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentScoreUpdateFrequency set_tournament_score_update_frequency = 47;
|
|
228
|
-
*/
|
|
229
|
-
setTournamentScoreUpdateFrequency: Request_SetTournamentScoreUpdateFrequency;
|
|
230
|
-
} | {
|
|
231
|
-
oneofKind: "setTournamentBannedMods";
|
|
232
|
-
/**
|
|
233
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentBannedMods set_tournament_banned_mods = 23;
|
|
234
|
-
*/
|
|
235
|
-
setTournamentBannedMods: Request_SetTournamentBannedMods;
|
|
236
|
-
} | {
|
|
237
|
-
oneofKind: "addTournamentTeam";
|
|
238
|
-
/**
|
|
239
|
-
* @generated from protobuf field: proto.packets.Request.AddTournamentTeam add_tournament_team = 24;
|
|
240
|
-
*/
|
|
241
|
-
addTournamentTeam: Request_AddTournamentTeam;
|
|
242
|
-
} | {
|
|
243
|
-
oneofKind: "setTournamentTeamName";
|
|
244
|
-
/**
|
|
245
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentTeamName set_tournament_team_name = 25;
|
|
246
|
-
*/
|
|
247
|
-
setTournamentTeamName: Request_SetTournamentTeamName;
|
|
248
|
-
} | {
|
|
249
|
-
oneofKind: "setTournamentTeamImage";
|
|
250
|
-
/**
|
|
251
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentTeamImage set_tournament_team_image = 26;
|
|
252
|
-
*/
|
|
253
|
-
setTournamentTeamImage: Request_SetTournamentTeamImage;
|
|
254
|
-
} | {
|
|
255
|
-
oneofKind: "removeTournamentTeam";
|
|
256
|
-
/**
|
|
257
|
-
* @generated from protobuf field: proto.packets.Request.RemoveTournamentTeam remove_tournament_team = 27;
|
|
258
|
-
*/
|
|
259
|
-
removeTournamentTeam: Request_RemoveTournamentTeam;
|
|
260
|
-
} | {
|
|
261
|
-
oneofKind: "addTournamentPool";
|
|
262
|
-
/**
|
|
263
|
-
* @generated from protobuf field: proto.packets.Request.AddTournamentPool add_tournament_pool = 28;
|
|
264
|
-
*/
|
|
265
|
-
addTournamentPool: Request_AddTournamentPool;
|
|
266
|
-
} | {
|
|
267
|
-
oneofKind: "setTournamentPoolName";
|
|
268
|
-
/**
|
|
269
|
-
* @generated from protobuf field: proto.packets.Request.SetTournamentPoolName set_tournament_pool_name = 29;
|
|
270
|
-
*/
|
|
271
|
-
setTournamentPoolName: Request_SetTournamentPoolName;
|
|
272
|
-
} | {
|
|
273
|
-
oneofKind: "addTournamentPoolMap";
|
|
274
|
-
/**
|
|
275
|
-
* @generated from protobuf field: proto.packets.Request.AddTournamentPoolMap add_tournament_pool_map = 30;
|
|
276
|
-
*/
|
|
277
|
-
addTournamentPoolMap: Request_AddTournamentPoolMap;
|
|
278
|
-
} | {
|
|
279
|
-
oneofKind: "updateTournamentPoolMap";
|
|
280
|
-
/**
|
|
281
|
-
* @generated from protobuf field: proto.packets.Request.UpdateTournamentPoolMap update_tournament_pool_map = 31;
|
|
282
|
-
*/
|
|
283
|
-
updateTournamentPoolMap: Request_UpdateTournamentPoolMap;
|
|
284
|
-
} | {
|
|
285
|
-
oneofKind: "removeTournamentPoolMap";
|
|
286
|
-
/**
|
|
287
|
-
* @generated from protobuf field: proto.packets.Request.RemoveTournamentPoolMap remove_tournament_pool_map = 32;
|
|
288
|
-
*/
|
|
289
|
-
removeTournamentPoolMap: Request_RemoveTournamentPoolMap;
|
|
290
|
-
} | {
|
|
291
|
-
oneofKind: "removeTournamentPool";
|
|
292
|
-
/**
|
|
293
|
-
* @generated from protobuf field: proto.packets.Request.RemoveTournamentPool remove_tournament_pool = 33;
|
|
294
|
-
*/
|
|
295
|
-
removeTournamentPool: Request_RemoveTournamentPool;
|
|
296
|
-
} | {
|
|
297
|
-
oneofKind: "deleteTournament";
|
|
298
|
-
/**
|
|
299
|
-
* @generated from protobuf field: proto.packets.Request.DeleteTournament delete_tournament = 34;
|
|
300
|
-
*/
|
|
301
|
-
deleteTournament: Request_DeleteTournament;
|
|
302
|
-
} | {
|
|
303
|
-
oneofKind: "addServer";
|
|
304
|
-
/**
|
|
305
|
-
* @generated from protobuf field: proto.packets.Request.AddServer add_server = 35;
|
|
306
|
-
*/
|
|
307
|
-
addServer: Request_AddServer;
|
|
308
|
-
} | {
|
|
309
|
-
oneofKind: "connect";
|
|
310
|
-
/**
|
|
311
|
-
* @generated from protobuf field: proto.packets.Request.Connect connect = 36;
|
|
312
|
-
*/
|
|
313
|
-
connect: Request_Connect;
|
|
314
|
-
} | {
|
|
315
|
-
oneofKind: "join";
|
|
316
|
-
/**
|
|
317
|
-
* @generated from protobuf field: proto.packets.Request.Join join = 37;
|
|
318
|
-
*/
|
|
319
|
-
join: Request_Join;
|
|
320
|
-
} | {
|
|
321
|
-
oneofKind: "qualifierScores";
|
|
322
|
-
/**
|
|
323
|
-
* @generated from protobuf field: proto.packets.Request.QualifierScores qualifier_scores = 38;
|
|
324
|
-
*/
|
|
325
|
-
qualifierScores: Request_QualifierScores;
|
|
326
|
-
} | {
|
|
327
|
-
oneofKind: "submitQualifierScore";
|
|
328
|
-
/**
|
|
329
|
-
* @generated from protobuf field: proto.packets.Request.SubmitQualifierScore submit_qualifier_score = 39;
|
|
330
|
-
*/
|
|
331
|
-
submitQualifierScore: Request_SubmitQualifierScore;
|
|
332
|
-
} | {
|
|
333
|
-
oneofKind: "loadSong";
|
|
334
|
-
/**
|
|
335
|
-
* @generated from protobuf field: proto.packets.Request.LoadSong load_song = 40;
|
|
336
|
-
*/
|
|
337
|
-
loadSong: Request_LoadSong;
|
|
338
|
-
} | {
|
|
339
|
-
oneofKind: "preloadImageForStreamSync";
|
|
340
|
-
/**
|
|
341
|
-
* @generated from protobuf field: proto.packets.Request.PreloadImageForStreamSync preload_image_for_stream_sync = 41;
|
|
342
|
-
*/
|
|
343
|
-
preloadImageForStreamSync: Request_PreloadImageForStreamSync;
|
|
344
|
-
} | {
|
|
345
|
-
oneofKind: "showModal";
|
|
346
|
-
/**
|
|
347
|
-
* @generated from protobuf field: proto.packets.Request.ShowModal show_modal = 42;
|
|
348
|
-
*/
|
|
349
|
-
showModal: Request_ShowModal;
|
|
350
|
-
} | {
|
|
351
|
-
oneofKind: "remainingAttempts";
|
|
352
|
-
/**
|
|
353
|
-
* @generated from protobuf field: proto.packets.Request.RemainingAttempts remaining_attempts = 43;
|
|
354
|
-
*/
|
|
355
|
-
remainingAttempts: Request_RemainingAttempts;
|
|
356
|
-
} | {
|
|
357
|
-
oneofKind: undefined;
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* --- State Update Requests ---//
|
|
362
|
-
*
|
|
363
|
-
* @generated from protobuf message proto.packets.Request.UpdateUser
|
|
364
|
-
*/
|
|
365
|
-
export interface Request_UpdateUser {
|
|
366
|
-
/**
|
|
367
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
368
|
-
*/
|
|
369
|
-
tournamentId: string;
|
|
370
|
-
/**
|
|
371
|
-
* @generated from protobuf field: proto.models.User user = 2;
|
|
372
|
-
*/
|
|
373
|
-
user?: User;
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* -- Match -- //
|
|
377
|
-
*
|
|
378
|
-
* @generated from protobuf message proto.packets.Request.CreateMatch
|
|
379
|
-
*/
|
|
380
|
-
export interface Request_CreateMatch {
|
|
381
|
-
/**
|
|
382
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
383
|
-
*/
|
|
384
|
-
tournamentId: string;
|
|
385
|
-
/**
|
|
386
|
-
* @generated from protobuf field: proto.models.Match match = 2;
|
|
387
|
-
*/
|
|
388
|
-
match?: Match;
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* @generated from protobuf message proto.packets.Request.AddUserToMatch
|
|
392
|
-
*/
|
|
393
|
-
export interface Request_AddUserToMatch {
|
|
394
|
-
/**
|
|
395
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
396
|
-
*/
|
|
397
|
-
tournamentId: string;
|
|
398
|
-
/**
|
|
399
|
-
* @generated from protobuf field: string match_id = 2;
|
|
400
|
-
*/
|
|
401
|
-
matchId: string;
|
|
402
|
-
/**
|
|
403
|
-
* @generated from protobuf field: string user_id = 3;
|
|
404
|
-
*/
|
|
405
|
-
userId: string;
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* @generated from protobuf message proto.packets.Request.RemoveUserFromMatch
|
|
409
|
-
*/
|
|
410
|
-
export interface Request_RemoveUserFromMatch {
|
|
411
|
-
/**
|
|
412
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
413
|
-
*/
|
|
414
|
-
tournamentId: string;
|
|
415
|
-
/**
|
|
416
|
-
* @generated from protobuf field: string match_id = 2;
|
|
417
|
-
*/
|
|
418
|
-
matchId: string;
|
|
419
|
-
/**
|
|
420
|
-
* @generated from protobuf field: string user_id = 3;
|
|
421
|
-
*/
|
|
422
|
-
userId: string;
|
|
423
|
-
}
|
|
424
|
-
/**
|
|
425
|
-
* @generated from protobuf message proto.packets.Request.SetMatchLeader
|
|
426
|
-
*/
|
|
427
|
-
export interface Request_SetMatchLeader {
|
|
428
|
-
/**
|
|
429
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
430
|
-
*/
|
|
431
|
-
tournamentId: string;
|
|
432
|
-
/**
|
|
433
|
-
* @generated from protobuf field: string match_id = 2;
|
|
434
|
-
*/
|
|
435
|
-
matchId: string;
|
|
436
|
-
/**
|
|
437
|
-
* @generated from protobuf field: string user_id = 3;
|
|
438
|
-
*/
|
|
439
|
-
userId: string;
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* @generated from protobuf message proto.packets.Request.SetMatchMap
|
|
443
|
-
*/
|
|
444
|
-
export interface Request_SetMatchMap {
|
|
445
|
-
/**
|
|
446
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
447
|
-
*/
|
|
448
|
-
tournamentId: string;
|
|
449
|
-
/**
|
|
450
|
-
* @generated from protobuf field: string match_id = 2;
|
|
451
|
-
*/
|
|
452
|
-
matchId: string;
|
|
453
|
-
/**
|
|
454
|
-
* @generated from protobuf field: proto.models.Map map = 3;
|
|
455
|
-
*/
|
|
456
|
-
map?: Map;
|
|
457
|
-
}
|
|
458
|
-
/**
|
|
459
|
-
* @generated from protobuf message proto.packets.Request.DeleteMatch
|
|
460
|
-
*/
|
|
461
|
-
export interface Request_DeleteMatch {
|
|
462
|
-
/**
|
|
463
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
464
|
-
*/
|
|
465
|
-
tournamentId: string;
|
|
466
|
-
/**
|
|
467
|
-
* @generated from protobuf field: string match_id = 2;
|
|
468
|
-
*/
|
|
469
|
-
matchId: string;
|
|
470
|
-
}
|
|
471
|
-
/**
|
|
472
|
-
* -- Qualifiers -- //
|
|
473
|
-
*
|
|
474
|
-
* @generated from protobuf message proto.packets.Request.CreateQualifierEvent
|
|
475
|
-
*/
|
|
476
|
-
export interface Request_CreateQualifierEvent {
|
|
477
|
-
/**
|
|
478
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
479
|
-
*/
|
|
480
|
-
tournamentId: string;
|
|
481
|
-
/**
|
|
482
|
-
* @generated from protobuf field: proto.models.QualifierEvent event = 2;
|
|
483
|
-
*/
|
|
484
|
-
event?: QualifierEvent;
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
487
|
-
* @generated from protobuf message proto.packets.Request.SetQualifierName
|
|
488
|
-
*/
|
|
489
|
-
export interface Request_SetQualifierName {
|
|
490
|
-
/**
|
|
491
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
492
|
-
*/
|
|
493
|
-
tournamentId: string;
|
|
494
|
-
/**
|
|
495
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
496
|
-
*/
|
|
497
|
-
qualifierId: string;
|
|
498
|
-
/**
|
|
499
|
-
* @generated from protobuf field: string qualifier_name = 3;
|
|
500
|
-
*/
|
|
501
|
-
qualifierName: string;
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
* @generated from protobuf message proto.packets.Request.SetQualifierImage
|
|
505
|
-
*/
|
|
506
|
-
export interface Request_SetQualifierImage {
|
|
507
|
-
/**
|
|
508
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
509
|
-
*/
|
|
510
|
-
tournamentId: string;
|
|
511
|
-
/**
|
|
512
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
513
|
-
*/
|
|
514
|
-
qualifierId: string;
|
|
515
|
-
/**
|
|
516
|
-
* @generated from protobuf field: bytes qualifier_image = 3;
|
|
517
|
-
*/
|
|
518
|
-
qualifierImage: Uint8Array;
|
|
519
|
-
}
|
|
520
|
-
/**
|
|
521
|
-
* @generated from protobuf message proto.packets.Request.SetQualifierInfoChannel
|
|
522
|
-
*/
|
|
523
|
-
export interface Request_SetQualifierInfoChannel {
|
|
524
|
-
/**
|
|
525
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
526
|
-
*/
|
|
527
|
-
tournamentId: string;
|
|
528
|
-
/**
|
|
529
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
530
|
-
*/
|
|
531
|
-
qualifierId: string;
|
|
532
|
-
/**
|
|
533
|
-
* @generated from protobuf field: proto.discord.Channel info_channel = 3;
|
|
534
|
-
*/
|
|
535
|
-
infoChannel?: Channel;
|
|
536
|
-
}
|
|
537
|
-
/**
|
|
538
|
-
* @generated from protobuf message proto.packets.Request.SetQualifierFlags
|
|
539
|
-
*/
|
|
540
|
-
export interface Request_SetQualifierFlags {
|
|
541
|
-
/**
|
|
542
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
543
|
-
*/
|
|
544
|
-
tournamentId: string;
|
|
545
|
-
/**
|
|
546
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
547
|
-
*/
|
|
548
|
-
qualifierId: string;
|
|
549
|
-
/**
|
|
550
|
-
* @generated from protobuf field: proto.models.QualifierEvent.EventSettings qualifier_flags = 3;
|
|
551
|
-
*/
|
|
552
|
-
qualifierFlags: QualifierEvent_EventSettings;
|
|
553
|
-
}
|
|
554
|
-
/**
|
|
555
|
-
* @generated from protobuf message proto.packets.Request.SetQualifierLeaderboardSort
|
|
556
|
-
*/
|
|
557
|
-
export interface Request_SetQualifierLeaderboardSort {
|
|
558
|
-
/**
|
|
559
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
560
|
-
*/
|
|
561
|
-
tournamentId: string;
|
|
562
|
-
/**
|
|
563
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
564
|
-
*/
|
|
565
|
-
qualifierId: string;
|
|
566
|
-
/**
|
|
567
|
-
* @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort qualifier_leaderboard_sort = 3;
|
|
568
|
-
*/
|
|
569
|
-
qualifierLeaderboardSort: QualifierEvent_LeaderboardSort;
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* @generated from protobuf message proto.packets.Request.AddQualifierMap
|
|
573
|
-
*/
|
|
574
|
-
export interface Request_AddQualifierMap {
|
|
575
|
-
/**
|
|
576
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
577
|
-
*/
|
|
578
|
-
tournamentId: string;
|
|
579
|
-
/**
|
|
580
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
581
|
-
*/
|
|
582
|
-
qualifierId: string;
|
|
583
|
-
/**
|
|
584
|
-
* @generated from protobuf field: proto.models.Map map = 3;
|
|
585
|
-
*/
|
|
586
|
-
map?: Map;
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* @generated from protobuf message proto.packets.Request.UpdateQualifierMap
|
|
590
|
-
*/
|
|
591
|
-
export interface Request_UpdateQualifierMap {
|
|
592
|
-
/**
|
|
593
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
594
|
-
*/
|
|
595
|
-
tournamentId: string;
|
|
596
|
-
/**
|
|
597
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
598
|
-
*/
|
|
599
|
-
qualifierId: string;
|
|
600
|
-
/**
|
|
601
|
-
* @generated from protobuf field: proto.models.Map map = 3;
|
|
602
|
-
*/
|
|
603
|
-
map?: Map;
|
|
604
|
-
}
|
|
605
|
-
/**
|
|
606
|
-
* @generated from protobuf message proto.packets.Request.RemoveQualifierMap
|
|
607
|
-
*/
|
|
608
|
-
export interface Request_RemoveQualifierMap {
|
|
609
|
-
/**
|
|
610
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
611
|
-
*/
|
|
612
|
-
tournamentId: string;
|
|
613
|
-
/**
|
|
614
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
615
|
-
*/
|
|
616
|
-
qualifierId: string;
|
|
617
|
-
/**
|
|
618
|
-
* @generated from protobuf field: string map_id = 3;
|
|
619
|
-
*/
|
|
620
|
-
mapId: string;
|
|
621
|
-
}
|
|
622
|
-
/**
|
|
623
|
-
* @generated from protobuf message proto.packets.Request.DeleteQualifierEvent
|
|
624
|
-
*/
|
|
625
|
-
export interface Request_DeleteQualifierEvent {
|
|
626
|
-
/**
|
|
627
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
628
|
-
*/
|
|
629
|
-
tournamentId: string;
|
|
630
|
-
/**
|
|
631
|
-
* @generated from protobuf field: string qualifier_id = 2;
|
|
632
|
-
*/
|
|
633
|
-
qualifierId: string;
|
|
634
|
-
}
|
|
635
|
-
/**
|
|
636
|
-
* -- Tournament -- //
|
|
637
|
-
*
|
|
638
|
-
* @generated from protobuf message proto.packets.Request.AddAuthorizedUser
|
|
639
|
-
*/
|
|
640
|
-
export interface Request_AddAuthorizedUser {
|
|
641
|
-
/**
|
|
642
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
643
|
-
*/
|
|
644
|
-
tournamentId: string;
|
|
645
|
-
/**
|
|
646
|
-
* @generated from protobuf field: string discord_id = 2;
|
|
647
|
-
*/
|
|
648
|
-
discordId: string;
|
|
649
|
-
/**
|
|
650
|
-
* @generated from protobuf field: proto.models.Permissions permission_flags = 3;
|
|
651
|
-
*/
|
|
652
|
-
permissionFlags: Permissions;
|
|
653
|
-
}
|
|
654
|
-
/**
|
|
655
|
-
* @generated from protobuf message proto.packets.Request.AddAuthorizedUserPermission
|
|
656
|
-
*/
|
|
657
|
-
export interface Request_AddAuthorizedUserPermission {
|
|
658
|
-
/**
|
|
659
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
660
|
-
*/
|
|
661
|
-
tournamentId: string;
|
|
662
|
-
/**
|
|
663
|
-
* @generated from protobuf field: string discord_id = 2;
|
|
664
|
-
*/
|
|
665
|
-
discordId: string;
|
|
666
|
-
/**
|
|
667
|
-
* @generated from protobuf field: proto.models.Permissions permission = 3;
|
|
668
|
-
*/
|
|
669
|
-
permission: Permissions;
|
|
670
|
-
}
|
|
671
|
-
/**
|
|
672
|
-
* @generated from protobuf message proto.packets.Request.RemoveAuthorizedUserPermission
|
|
673
|
-
*/
|
|
674
|
-
export interface Request_RemoveAuthorizedUserPermission {
|
|
675
|
-
/**
|
|
676
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
677
|
-
*/
|
|
678
|
-
tournamentId: string;
|
|
679
|
-
/**
|
|
680
|
-
* @generated from protobuf field: string discord_id = 2;
|
|
681
|
-
*/
|
|
682
|
-
discordId: string;
|
|
683
|
-
/**
|
|
684
|
-
* @generated from protobuf field: proto.models.Permissions permission = 3;
|
|
685
|
-
*/
|
|
686
|
-
permission: Permissions;
|
|
687
|
-
}
|
|
688
|
-
/**
|
|
689
|
-
* @generated from protobuf message proto.packets.Request.RemoveAuthorizedUser
|
|
690
|
-
*/
|
|
691
|
-
export interface Request_RemoveAuthorizedUser {
|
|
692
|
-
/**
|
|
693
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
694
|
-
*/
|
|
695
|
-
tournamentId: string;
|
|
696
|
-
/**
|
|
697
|
-
* @generated from protobuf field: string discord_id = 2;
|
|
698
|
-
*/
|
|
699
|
-
discordId: string;
|
|
700
|
-
}
|
|
701
|
-
/**
|
|
702
|
-
* @generated from protobuf message proto.packets.Request.GetAuthorizedUsers
|
|
703
|
-
*/
|
|
704
|
-
export interface Request_GetAuthorizedUsers {
|
|
705
|
-
/**
|
|
706
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
707
|
-
*/
|
|
708
|
-
tournamentId: string;
|
|
709
|
-
}
|
|
710
|
-
/**
|
|
711
|
-
* @generated from protobuf message proto.packets.Request.GetDiscordInfo
|
|
712
|
-
*/
|
|
713
|
-
export interface Request_GetDiscordInfo {
|
|
714
|
-
/**
|
|
715
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
716
|
-
*/
|
|
717
|
-
tournamentId: string; // Included so this request can be permission gated to a tourney
|
|
718
|
-
/**
|
|
719
|
-
* @generated from protobuf field: string discord_id = 2;
|
|
720
|
-
*/
|
|
721
|
-
discordId: string;
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* @generated from protobuf message proto.packets.Request.CreateTournament
|
|
725
|
-
*/
|
|
726
|
-
export interface Request_CreateTournament {
|
|
727
|
-
/**
|
|
728
|
-
* @generated from protobuf field: proto.models.Tournament tournament = 1;
|
|
729
|
-
*/
|
|
730
|
-
tournament?: Tournament;
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentName
|
|
734
|
-
*/
|
|
735
|
-
export interface Request_SetTournamentName {
|
|
736
|
-
/**
|
|
737
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
738
|
-
*/
|
|
739
|
-
tournamentId: string;
|
|
740
|
-
/**
|
|
741
|
-
* @generated from protobuf field: string tournament_name = 2;
|
|
742
|
-
*/
|
|
743
|
-
tournamentName: string;
|
|
744
|
-
}
|
|
745
|
-
/**
|
|
746
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentImage
|
|
747
|
-
*/
|
|
748
|
-
export interface Request_SetTournamentImage {
|
|
749
|
-
/**
|
|
750
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
751
|
-
*/
|
|
752
|
-
tournamentId: string;
|
|
753
|
-
/**
|
|
754
|
-
* @generated from protobuf field: bytes tournament_image = 2;
|
|
755
|
-
*/
|
|
756
|
-
tournamentImage: Uint8Array;
|
|
757
|
-
}
|
|
758
|
-
/**
|
|
759
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentEnableTeams
|
|
760
|
-
*/
|
|
761
|
-
export interface Request_SetTournamentEnableTeams {
|
|
762
|
-
/**
|
|
763
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
764
|
-
*/
|
|
765
|
-
tournamentId: string;
|
|
766
|
-
/**
|
|
767
|
-
* @generated from protobuf field: bool enable_teams = 2;
|
|
768
|
-
*/
|
|
769
|
-
enableTeams: boolean;
|
|
770
|
-
}
|
|
771
|
-
/**
|
|
772
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentEnablePools
|
|
773
|
-
*/
|
|
774
|
-
export interface Request_SetTournamentEnablePools {
|
|
775
|
-
/**
|
|
776
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
777
|
-
*/
|
|
778
|
-
tournamentId: string;
|
|
779
|
-
/**
|
|
780
|
-
* @generated from protobuf field: bool enable_pools = 2;
|
|
781
|
-
*/
|
|
782
|
-
enablePools: boolean;
|
|
783
|
-
}
|
|
784
|
-
/**
|
|
785
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentShowTournamentButton
|
|
786
|
-
*/
|
|
787
|
-
export interface Request_SetTournamentShowTournamentButton {
|
|
788
|
-
/**
|
|
789
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
790
|
-
*/
|
|
791
|
-
tournamentId: string;
|
|
792
|
-
/**
|
|
793
|
-
* @generated from protobuf field: bool show_tournament_button = 2;
|
|
794
|
-
*/
|
|
795
|
-
showTournamentButton: boolean;
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentShowQualifierButton
|
|
799
|
-
*/
|
|
800
|
-
export interface Request_SetTournamentShowQualifierButton {
|
|
801
|
-
/**
|
|
802
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
803
|
-
*/
|
|
804
|
-
tournamentId: string;
|
|
805
|
-
/**
|
|
806
|
-
* @generated from protobuf field: bool show_qualifier_button = 2;
|
|
807
|
-
*/
|
|
808
|
-
showQualifierButton: boolean;
|
|
809
|
-
}
|
|
810
|
-
/**
|
|
811
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentAllowUnauthorizedView
|
|
812
|
-
*/
|
|
813
|
-
export interface Request_SetTournamentAllowUnauthorizedView {
|
|
814
|
-
/**
|
|
815
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
816
|
-
*/
|
|
817
|
-
tournamentId: string;
|
|
818
|
-
/**
|
|
819
|
-
* @generated from protobuf field: bool allow_unauthorized_view = 2;
|
|
820
|
-
*/
|
|
821
|
-
allowUnauthorizedView: boolean;
|
|
822
|
-
}
|
|
823
|
-
/**
|
|
824
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentScoreUpdateFrequency
|
|
825
|
-
*/
|
|
826
|
-
export interface Request_SetTournamentScoreUpdateFrequency {
|
|
827
|
-
/**
|
|
828
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
829
|
-
*/
|
|
830
|
-
tournamentId: string;
|
|
831
|
-
/**
|
|
832
|
-
* @generated from protobuf field: int32 score_update_frequency = 2;
|
|
833
|
-
*/
|
|
834
|
-
scoreUpdateFrequency: number;
|
|
835
|
-
}
|
|
836
|
-
/**
|
|
837
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentBannedMods
|
|
838
|
-
*/
|
|
839
|
-
export interface Request_SetTournamentBannedMods {
|
|
840
|
-
/**
|
|
841
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
842
|
-
*/
|
|
843
|
-
tournamentId: string;
|
|
844
|
-
/**
|
|
845
|
-
* @generated from protobuf field: repeated string banned_mods = 2;
|
|
846
|
-
*/
|
|
847
|
-
bannedMods: string[];
|
|
848
|
-
}
|
|
849
|
-
/**
|
|
850
|
-
* @generated from protobuf message proto.packets.Request.AddTournamentTeam
|
|
851
|
-
*/
|
|
852
|
-
export interface Request_AddTournamentTeam {
|
|
853
|
-
/**
|
|
854
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
855
|
-
*/
|
|
856
|
-
tournamentId: string;
|
|
857
|
-
/**
|
|
858
|
-
* @generated from protobuf field: proto.models.Tournament.TournamentSettings.Team team = 2;
|
|
859
|
-
*/
|
|
860
|
-
team?: Tournament_TournamentSettings_Team;
|
|
861
|
-
}
|
|
862
|
-
/**
|
|
863
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentTeamName
|
|
864
|
-
*/
|
|
865
|
-
export interface Request_SetTournamentTeamName {
|
|
866
|
-
/**
|
|
867
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
868
|
-
*/
|
|
869
|
-
tournamentId: string;
|
|
870
|
-
/**
|
|
871
|
-
* @generated from protobuf field: string team_id = 2;
|
|
872
|
-
*/
|
|
873
|
-
teamId: string;
|
|
874
|
-
/**
|
|
875
|
-
* @generated from protobuf field: string team_name = 3;
|
|
876
|
-
*/
|
|
877
|
-
teamName: string;
|
|
878
|
-
}
|
|
879
|
-
/**
|
|
880
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentTeamImage
|
|
881
|
-
*/
|
|
882
|
-
export interface Request_SetTournamentTeamImage {
|
|
883
|
-
/**
|
|
884
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
885
|
-
*/
|
|
886
|
-
tournamentId: string;
|
|
887
|
-
/**
|
|
888
|
-
* @generated from protobuf field: string team_id = 2;
|
|
889
|
-
*/
|
|
890
|
-
teamId: string;
|
|
891
|
-
/**
|
|
892
|
-
* @generated from protobuf field: bytes team_image = 3;
|
|
893
|
-
*/
|
|
894
|
-
teamImage: Uint8Array;
|
|
895
|
-
}
|
|
896
|
-
/**
|
|
897
|
-
* @generated from protobuf message proto.packets.Request.RemoveTournamentTeam
|
|
898
|
-
*/
|
|
899
|
-
export interface Request_RemoveTournamentTeam {
|
|
900
|
-
/**
|
|
901
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
902
|
-
*/
|
|
903
|
-
tournamentId: string;
|
|
904
|
-
/**
|
|
905
|
-
* @generated from protobuf field: string team_id = 2;
|
|
906
|
-
*/
|
|
907
|
-
teamId: string;
|
|
908
|
-
}
|
|
909
|
-
/**
|
|
910
|
-
* @generated from protobuf message proto.packets.Request.AddTournamentPool
|
|
911
|
-
*/
|
|
912
|
-
export interface Request_AddTournamentPool {
|
|
913
|
-
/**
|
|
914
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
915
|
-
*/
|
|
916
|
-
tournamentId: string;
|
|
917
|
-
/**
|
|
918
|
-
* @generated from protobuf field: proto.models.Tournament.TournamentSettings.Pool pool = 2;
|
|
919
|
-
*/
|
|
920
|
-
pool?: Tournament_TournamentSettings_Pool;
|
|
921
|
-
}
|
|
922
|
-
/**
|
|
923
|
-
* @generated from protobuf message proto.packets.Request.SetTournamentPoolName
|
|
924
|
-
*/
|
|
925
|
-
export interface Request_SetTournamentPoolName {
|
|
926
|
-
/**
|
|
927
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
928
|
-
*/
|
|
929
|
-
tournamentId: string;
|
|
930
|
-
/**
|
|
931
|
-
* @generated from protobuf field: string pool_id = 2;
|
|
932
|
-
*/
|
|
933
|
-
poolId: string;
|
|
934
|
-
/**
|
|
935
|
-
* @generated from protobuf field: string pool_name = 3;
|
|
936
|
-
*/
|
|
937
|
-
poolName: string;
|
|
938
|
-
}
|
|
939
|
-
/**
|
|
940
|
-
* @generated from protobuf message proto.packets.Request.AddTournamentPoolMap
|
|
941
|
-
*/
|
|
942
|
-
export interface Request_AddTournamentPoolMap {
|
|
943
|
-
/**
|
|
944
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
945
|
-
*/
|
|
946
|
-
tournamentId: string;
|
|
947
|
-
/**
|
|
948
|
-
* @generated from protobuf field: string pool_id = 2;
|
|
949
|
-
*/
|
|
950
|
-
poolId: string;
|
|
951
|
-
/**
|
|
952
|
-
* @generated from protobuf field: proto.models.Map map = 3;
|
|
953
|
-
*/
|
|
954
|
-
map?: Map;
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
|
-
* @generated from protobuf message proto.packets.Request.UpdateTournamentPoolMap
|
|
958
|
-
*/
|
|
959
|
-
export interface Request_UpdateTournamentPoolMap {
|
|
960
|
-
/**
|
|
961
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
962
|
-
*/
|
|
963
|
-
tournamentId: string;
|
|
964
|
-
/**
|
|
965
|
-
* @generated from protobuf field: string pool_id = 2;
|
|
966
|
-
*/
|
|
967
|
-
poolId: string;
|
|
968
|
-
/**
|
|
969
|
-
* @generated from protobuf field: proto.models.Map map = 3;
|
|
970
|
-
*/
|
|
971
|
-
map?: Map;
|
|
972
|
-
}
|
|
973
|
-
/**
|
|
974
|
-
* @generated from protobuf message proto.packets.Request.RemoveTournamentPoolMap
|
|
975
|
-
*/
|
|
976
|
-
export interface Request_RemoveTournamentPoolMap {
|
|
977
|
-
/**
|
|
978
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
979
|
-
*/
|
|
980
|
-
tournamentId: string;
|
|
981
|
-
/**
|
|
982
|
-
* @generated from protobuf field: string pool_id = 2;
|
|
983
|
-
*/
|
|
984
|
-
poolId: string;
|
|
985
|
-
/**
|
|
986
|
-
* @generated from protobuf field: string map_id = 3;
|
|
987
|
-
*/
|
|
988
|
-
mapId: string;
|
|
989
|
-
}
|
|
990
|
-
/**
|
|
991
|
-
* @generated from protobuf message proto.packets.Request.RemoveTournamentPool
|
|
992
|
-
*/
|
|
993
|
-
export interface Request_RemoveTournamentPool {
|
|
994
|
-
/**
|
|
995
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
996
|
-
*/
|
|
997
|
-
tournamentId: string;
|
|
998
|
-
/**
|
|
999
|
-
* @generated from protobuf field: string pool_id = 2;
|
|
1000
|
-
*/
|
|
1001
|
-
poolId: string;
|
|
1002
|
-
}
|
|
1003
|
-
/**
|
|
1004
|
-
* @generated from protobuf message proto.packets.Request.DeleteTournament
|
|
1005
|
-
*/
|
|
1006
|
-
export interface Request_DeleteTournament {
|
|
1007
|
-
/**
|
|
1008
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
1009
|
-
*/
|
|
1010
|
-
tournamentId: string;
|
|
1011
|
-
}
|
|
1012
|
-
/**
|
|
1013
|
-
* -- Server -- //
|
|
1014
|
-
*
|
|
1015
|
-
* @generated from protobuf message proto.packets.Request.AddServer
|
|
1016
|
-
*/
|
|
1017
|
-
export interface Request_AddServer {
|
|
1018
|
-
/**
|
|
1019
|
-
* @generated from protobuf field: proto.models.CoreServer server = 1;
|
|
1020
|
-
*/
|
|
1021
|
-
server?: CoreServer;
|
|
1022
|
-
/**
|
|
1023
|
-
* @generated from protobuf field: string auth_token = 2;
|
|
1024
|
-
*/
|
|
1025
|
-
authToken: string;
|
|
1026
|
-
}
|
|
1027
|
-
// Probably not needed? If someone wants to remove their server from the list, they can just shut it down
|
|
1028
|
-
// message DeleteServer {
|
|
1029
|
-
// models.CoreServer server = 1;
|
|
1030
|
-
// string auth_token = 2;
|
|
1031
|
-
// }
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* -- Other Requests -- //
|
|
1035
|
-
*
|
|
1036
|
-
* @generated from protobuf message proto.packets.Request.Connect
|
|
1037
|
-
*/
|
|
1038
|
-
export interface Request_Connect {
|
|
1039
|
-
/**
|
|
1040
|
-
* @generated from protobuf field: int32 client_version = 1;
|
|
1041
|
-
*/
|
|
1042
|
-
clientVersion: number;
|
|
1043
|
-
}
|
|
1044
|
-
/**
|
|
1045
|
-
* @generated from protobuf message proto.packets.Request.Join
|
|
1046
|
-
*/
|
|
1047
|
-
export interface Request_Join {
|
|
1048
|
-
/**
|
|
1049
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
1050
|
-
*/
|
|
1051
|
-
tournamentId: string;
|
|
1052
|
-
/**
|
|
1053
|
-
* @generated from protobuf field: string password = 2;
|
|
1054
|
-
*/
|
|
1055
|
-
password: string;
|
|
1056
|
-
}
|
|
1057
|
-
/**
|
|
1058
|
-
* @generated from protobuf message proto.packets.Request.QualifierScores
|
|
1059
|
-
*/
|
|
1060
|
-
export interface Request_QualifierScores {
|
|
1061
|
-
/**
|
|
1062
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
1063
|
-
*/
|
|
1064
|
-
tournamentId: string; // Included so this request can be permission gated to a tourney
|
|
1065
|
-
/**
|
|
1066
|
-
* @generated from protobuf field: string event_id = 2;
|
|
1067
|
-
*/
|
|
1068
|
-
eventId: string;
|
|
1069
|
-
/**
|
|
1070
|
-
* @generated from protobuf field: string map_id = 3;
|
|
1071
|
-
*/
|
|
1072
|
-
mapId: string;
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* @generated from protobuf message proto.packets.Request.SubmitQualifierScore
|
|
1076
|
-
*/
|
|
1077
|
-
export interface Request_SubmitQualifierScore {
|
|
1078
|
-
/**
|
|
1079
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
1080
|
-
*/
|
|
1081
|
-
tournamentId: string; // Included so this request can be permission gated to a tourney
|
|
1082
|
-
/**
|
|
1083
|
-
* @generated from protobuf field: proto.models.LeaderboardEntry qualifier_score = 2;
|
|
1084
|
-
*/
|
|
1085
|
-
qualifierScore?: LeaderboardEntry;
|
|
1086
|
-
/**
|
|
1087
|
-
* @generated from protobuf field: proto.models.GameplayParameters map = 3;
|
|
1088
|
-
*/
|
|
1089
|
-
map?: GameplayParameters;
|
|
1090
|
-
}
|
|
1091
|
-
/**
|
|
1092
|
-
* @generated from protobuf message proto.packets.Request.LoadSong
|
|
1093
|
-
*/
|
|
1094
|
-
export interface Request_LoadSong {
|
|
1095
|
-
/**
|
|
1096
|
-
* @generated from protobuf field: string level_id = 1;
|
|
1097
|
-
*/
|
|
1098
|
-
levelId: string;
|
|
1099
|
-
/**
|
|
1100
|
-
* @generated from protobuf field: string custom_host_url = 2;
|
|
1101
|
-
*/
|
|
1102
|
-
customHostUrl: string;
|
|
1103
|
-
}
|
|
1104
|
-
/**
|
|
1105
|
-
* @generated from protobuf message proto.packets.Request.PreloadImageForStreamSync
|
|
1106
|
-
*/
|
|
1107
|
-
export interface Request_PreloadImageForStreamSync {
|
|
1108
|
-
/**
|
|
1109
|
-
* @generated from protobuf field: string file_id = 1;
|
|
1110
|
-
*/
|
|
1111
|
-
fileId: string;
|
|
1112
|
-
/**
|
|
1113
|
-
* @generated from protobuf field: bool compressed = 2;
|
|
1114
|
-
*/
|
|
1115
|
-
compressed: boolean;
|
|
1116
|
-
/**
|
|
1117
|
-
* @generated from protobuf field: bytes data = 3;
|
|
1118
|
-
*/
|
|
1119
|
-
data: Uint8Array;
|
|
1120
|
-
}
|
|
1121
|
-
/**
|
|
1122
|
-
* @generated from protobuf message proto.packets.Request.ShowModal
|
|
1123
|
-
*/
|
|
1124
|
-
export interface Request_ShowModal {
|
|
1125
|
-
/**
|
|
1126
|
-
* @generated from protobuf field: string modal_id = 1;
|
|
1127
|
-
*/
|
|
1128
|
-
modalId: string;
|
|
1129
|
-
/**
|
|
1130
|
-
* @generated from protobuf field: string message_title = 2;
|
|
1131
|
-
*/
|
|
1132
|
-
messageTitle: string;
|
|
1133
|
-
/**
|
|
1134
|
-
* @generated from protobuf field: string message_text = 3;
|
|
1135
|
-
*/
|
|
1136
|
-
messageText: string;
|
|
1137
|
-
/**
|
|
1138
|
-
* @generated from protobuf field: bool can_close = 4;
|
|
1139
|
-
*/
|
|
1140
|
-
canClose: boolean;
|
|
1141
|
-
/**
|
|
1142
|
-
* @generated from protobuf field: proto.models.ModalOption option_1 = 5;
|
|
1143
|
-
*/
|
|
1144
|
-
option1?: ModalOption;
|
|
1145
|
-
/**
|
|
1146
|
-
* @generated from protobuf field: proto.models.ModalOption option_2 = 6;
|
|
1147
|
-
*/
|
|
1148
|
-
option2?: ModalOption;
|
|
1149
|
-
}
|
|
1150
|
-
/**
|
|
1151
|
-
* @generated from protobuf message proto.packets.Request.RemainingAttempts
|
|
1152
|
-
*/
|
|
1153
|
-
export interface Request_RemainingAttempts {
|
|
1154
|
-
/**
|
|
1155
|
-
* @generated from protobuf field: string tournament_id = 1;
|
|
1156
|
-
*/
|
|
1157
|
-
tournamentId: string; // Included so this request can be permission gated to a tourney
|
|
1158
|
-
/**
|
|
1159
|
-
* @generated from protobuf field: string event_id = 2;
|
|
1160
|
-
*/
|
|
1161
|
-
eventId: string;
|
|
1162
|
-
/**
|
|
1163
|
-
* @generated from protobuf field: string map_id = 3;
|
|
1164
|
-
*/
|
|
1165
|
-
mapId: string;
|
|
1166
|
-
}
|
|
1167
21
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1168
|
-
class Request$Type extends MessageType
|
|
22
|
+
class Request$Type extends MessageType {
|
|
1169
23
|
constructor() {
|
|
1170
24
|
super("proto.packets.Request", [
|
|
1171
25
|
{ no: 1, name: "update_user", kind: "message", oneof: "type", T: () => Request_UpdateUser },
|
|
@@ -1223,14 +77,14 @@ class Request$Type extends MessageType<Request> {
|
|
|
1223
77
|
{ no: 43, name: "remaining_attempts", kind: "message", oneof: "type", T: () => Request_RemainingAttempts }
|
|
1224
78
|
]);
|
|
1225
79
|
}
|
|
1226
|
-
create(value
|
|
80
|
+
create(value) {
|
|
1227
81
|
const message = { type: { oneofKind: undefined } };
|
|
1228
82
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1229
83
|
if (value !== undefined)
|
|
1230
|
-
reflectionMergePartial
|
|
84
|
+
reflectionMergePartial(this, message, value);
|
|
1231
85
|
return message;
|
|
1232
86
|
}
|
|
1233
|
-
internalBinaryRead(reader
|
|
87
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1234
88
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1235
89
|
while (reader.pos < end) {
|
|
1236
90
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -1238,319 +92,319 @@ class Request$Type extends MessageType<Request> {
|
|
|
1238
92
|
case /* proto.packets.Request.UpdateUser update_user */ 1:
|
|
1239
93
|
message.type = {
|
|
1240
94
|
oneofKind: "updateUser",
|
|
1241
|
-
updateUser: Request_UpdateUser.internalBinaryRead(reader, reader.uint32(), options,
|
|
95
|
+
updateUser: Request_UpdateUser.internalBinaryRead(reader, reader.uint32(), options, message.type.updateUser)
|
|
1242
96
|
};
|
|
1243
97
|
break;
|
|
1244
98
|
case /* proto.packets.Request.CreateMatch create_match */ 2:
|
|
1245
99
|
message.type = {
|
|
1246
100
|
oneofKind: "createMatch",
|
|
1247
|
-
createMatch: Request_CreateMatch.internalBinaryRead(reader, reader.uint32(), options,
|
|
101
|
+
createMatch: Request_CreateMatch.internalBinaryRead(reader, reader.uint32(), options, message.type.createMatch)
|
|
1248
102
|
};
|
|
1249
103
|
break;
|
|
1250
104
|
case /* proto.packets.Request.AddUserToMatch add_user_to_match */ 3:
|
|
1251
105
|
message.type = {
|
|
1252
106
|
oneofKind: "addUserToMatch",
|
|
1253
|
-
addUserToMatch: Request_AddUserToMatch.internalBinaryRead(reader, reader.uint32(), options,
|
|
107
|
+
addUserToMatch: Request_AddUserToMatch.internalBinaryRead(reader, reader.uint32(), options, message.type.addUserToMatch)
|
|
1254
108
|
};
|
|
1255
109
|
break;
|
|
1256
110
|
case /* proto.packets.Request.RemoveUserFromMatch remove_user_from_match */ 4:
|
|
1257
111
|
message.type = {
|
|
1258
112
|
oneofKind: "removeUserFromMatch",
|
|
1259
|
-
removeUserFromMatch: Request_RemoveUserFromMatch.internalBinaryRead(reader, reader.uint32(), options,
|
|
113
|
+
removeUserFromMatch: Request_RemoveUserFromMatch.internalBinaryRead(reader, reader.uint32(), options, message.type.removeUserFromMatch)
|
|
1260
114
|
};
|
|
1261
115
|
break;
|
|
1262
116
|
case /* proto.packets.Request.SetMatchLeader set_match_leader */ 5:
|
|
1263
117
|
message.type = {
|
|
1264
118
|
oneofKind: "setMatchLeader",
|
|
1265
|
-
setMatchLeader: Request_SetMatchLeader.internalBinaryRead(reader, reader.uint32(), options,
|
|
119
|
+
setMatchLeader: Request_SetMatchLeader.internalBinaryRead(reader, reader.uint32(), options, message.type.setMatchLeader)
|
|
1266
120
|
};
|
|
1267
121
|
break;
|
|
1268
122
|
case /* proto.packets.Request.SetMatchMap set_match_map */ 6:
|
|
1269
123
|
message.type = {
|
|
1270
124
|
oneofKind: "setMatchMap",
|
|
1271
|
-
setMatchMap: Request_SetMatchMap.internalBinaryRead(reader, reader.uint32(), options,
|
|
125
|
+
setMatchMap: Request_SetMatchMap.internalBinaryRead(reader, reader.uint32(), options, message.type.setMatchMap)
|
|
1272
126
|
};
|
|
1273
127
|
break;
|
|
1274
128
|
case /* proto.packets.Request.DeleteMatch delete_match */ 7:
|
|
1275
129
|
message.type = {
|
|
1276
130
|
oneofKind: "deleteMatch",
|
|
1277
|
-
deleteMatch: Request_DeleteMatch.internalBinaryRead(reader, reader.uint32(), options,
|
|
131
|
+
deleteMatch: Request_DeleteMatch.internalBinaryRead(reader, reader.uint32(), options, message.type.deleteMatch)
|
|
1278
132
|
};
|
|
1279
133
|
break;
|
|
1280
134
|
case /* proto.packets.Request.CreateQualifierEvent create_qualifier_event */ 8:
|
|
1281
135
|
message.type = {
|
|
1282
136
|
oneofKind: "createQualifierEvent",
|
|
1283
|
-
createQualifierEvent: Request_CreateQualifierEvent.internalBinaryRead(reader, reader.uint32(), options,
|
|
137
|
+
createQualifierEvent: Request_CreateQualifierEvent.internalBinaryRead(reader, reader.uint32(), options, message.type.createQualifierEvent)
|
|
1284
138
|
};
|
|
1285
139
|
break;
|
|
1286
140
|
case /* proto.packets.Request.SetQualifierName set_qualifier_name */ 9:
|
|
1287
141
|
message.type = {
|
|
1288
142
|
oneofKind: "setQualifierName",
|
|
1289
|
-
setQualifierName: Request_SetQualifierName.internalBinaryRead(reader, reader.uint32(), options,
|
|
143
|
+
setQualifierName: Request_SetQualifierName.internalBinaryRead(reader, reader.uint32(), options, message.type.setQualifierName)
|
|
1290
144
|
};
|
|
1291
145
|
break;
|
|
1292
146
|
case /* proto.packets.Request.SetQualifierInfoChannel set_qualifier_info_channel */ 10:
|
|
1293
147
|
message.type = {
|
|
1294
148
|
oneofKind: "setQualifierInfoChannel",
|
|
1295
|
-
setQualifierInfoChannel: Request_SetQualifierInfoChannel.internalBinaryRead(reader, reader.uint32(), options,
|
|
149
|
+
setQualifierInfoChannel: Request_SetQualifierInfoChannel.internalBinaryRead(reader, reader.uint32(), options, message.type.setQualifierInfoChannel)
|
|
1296
150
|
};
|
|
1297
151
|
break;
|
|
1298
152
|
case /* proto.packets.Request.SetQualifierImage set_qualifier_image */ 11:
|
|
1299
153
|
message.type = {
|
|
1300
154
|
oneofKind: "setQualifierImage",
|
|
1301
|
-
setQualifierImage: Request_SetQualifierImage.internalBinaryRead(reader, reader.uint32(), options,
|
|
155
|
+
setQualifierImage: Request_SetQualifierImage.internalBinaryRead(reader, reader.uint32(), options, message.type.setQualifierImage)
|
|
1302
156
|
};
|
|
1303
157
|
break;
|
|
1304
158
|
case /* proto.packets.Request.SetQualifierFlags set_qualifier_flags */ 12:
|
|
1305
159
|
message.type = {
|
|
1306
160
|
oneofKind: "setQualifierFlags",
|
|
1307
|
-
setQualifierFlags: Request_SetQualifierFlags.internalBinaryRead(reader, reader.uint32(), options,
|
|
161
|
+
setQualifierFlags: Request_SetQualifierFlags.internalBinaryRead(reader, reader.uint32(), options, message.type.setQualifierFlags)
|
|
1308
162
|
};
|
|
1309
163
|
break;
|
|
1310
164
|
case /* proto.packets.Request.SetQualifierLeaderboardSort set_qualifier_leaderboard_sort */ 13:
|
|
1311
165
|
message.type = {
|
|
1312
166
|
oneofKind: "setQualifierLeaderboardSort",
|
|
1313
|
-
setQualifierLeaderboardSort: Request_SetQualifierLeaderboardSort.internalBinaryRead(reader, reader.uint32(), options,
|
|
167
|
+
setQualifierLeaderboardSort: Request_SetQualifierLeaderboardSort.internalBinaryRead(reader, reader.uint32(), options, message.type.setQualifierLeaderboardSort)
|
|
1314
168
|
};
|
|
1315
169
|
break;
|
|
1316
170
|
case /* proto.packets.Request.AddQualifierMap add_qualifier_map */ 14:
|
|
1317
171
|
message.type = {
|
|
1318
172
|
oneofKind: "addQualifierMap",
|
|
1319
|
-
addQualifierMap: Request_AddQualifierMap.internalBinaryRead(reader, reader.uint32(), options,
|
|
173
|
+
addQualifierMap: Request_AddQualifierMap.internalBinaryRead(reader, reader.uint32(), options, message.type.addQualifierMap)
|
|
1320
174
|
};
|
|
1321
175
|
break;
|
|
1322
176
|
case /* proto.packets.Request.UpdateQualifierMap update_qualifier_map */ 15:
|
|
1323
177
|
message.type = {
|
|
1324
178
|
oneofKind: "updateQualifierMap",
|
|
1325
|
-
updateQualifierMap: Request_UpdateQualifierMap.internalBinaryRead(reader, reader.uint32(), options,
|
|
179
|
+
updateQualifierMap: Request_UpdateQualifierMap.internalBinaryRead(reader, reader.uint32(), options, message.type.updateQualifierMap)
|
|
1326
180
|
};
|
|
1327
181
|
break;
|
|
1328
182
|
case /* proto.packets.Request.RemoveQualifierMap remove_qualifier_map */ 16:
|
|
1329
183
|
message.type = {
|
|
1330
184
|
oneofKind: "removeQualifierMap",
|
|
1331
|
-
removeQualifierMap: Request_RemoveQualifierMap.internalBinaryRead(reader, reader.uint32(), options,
|
|
185
|
+
removeQualifierMap: Request_RemoveQualifierMap.internalBinaryRead(reader, reader.uint32(), options, message.type.removeQualifierMap)
|
|
1332
186
|
};
|
|
1333
187
|
break;
|
|
1334
188
|
case /* proto.packets.Request.DeleteQualifierEvent delete_qualifier_event */ 17:
|
|
1335
189
|
message.type = {
|
|
1336
190
|
oneofKind: "deleteQualifierEvent",
|
|
1337
|
-
deleteQualifierEvent: Request_DeleteQualifierEvent.internalBinaryRead(reader, reader.uint32(), options,
|
|
191
|
+
deleteQualifierEvent: Request_DeleteQualifierEvent.internalBinaryRead(reader, reader.uint32(), options, message.type.deleteQualifierEvent)
|
|
1338
192
|
};
|
|
1339
193
|
break;
|
|
1340
194
|
case /* proto.packets.Request.AddAuthorizedUser add_authorized_user */ 48:
|
|
1341
195
|
message.type = {
|
|
1342
196
|
oneofKind: "addAuthorizedUser",
|
|
1343
|
-
addAuthorizedUser: Request_AddAuthorizedUser.internalBinaryRead(reader, reader.uint32(), options,
|
|
197
|
+
addAuthorizedUser: Request_AddAuthorizedUser.internalBinaryRead(reader, reader.uint32(), options, message.type.addAuthorizedUser)
|
|
1344
198
|
};
|
|
1345
199
|
break;
|
|
1346
200
|
case /* proto.packets.Request.AddAuthorizedUserPermission add_authorized_user_permission */ 49:
|
|
1347
201
|
message.type = {
|
|
1348
202
|
oneofKind: "addAuthorizedUserPermission",
|
|
1349
|
-
addAuthorizedUserPermission: Request_AddAuthorizedUserPermission.internalBinaryRead(reader, reader.uint32(), options,
|
|
203
|
+
addAuthorizedUserPermission: Request_AddAuthorizedUserPermission.internalBinaryRead(reader, reader.uint32(), options, message.type.addAuthorizedUserPermission)
|
|
1350
204
|
};
|
|
1351
205
|
break;
|
|
1352
206
|
case /* proto.packets.Request.RemoveAuthorizedUserPermission remove_authorized_user_permission */ 50:
|
|
1353
207
|
message.type = {
|
|
1354
208
|
oneofKind: "removeAuthorizedUserPermission",
|
|
1355
|
-
removeAuthorizedUserPermission: Request_RemoveAuthorizedUserPermission.internalBinaryRead(reader, reader.uint32(), options,
|
|
209
|
+
removeAuthorizedUserPermission: Request_RemoveAuthorizedUserPermission.internalBinaryRead(reader, reader.uint32(), options, message.type.removeAuthorizedUserPermission)
|
|
1356
210
|
};
|
|
1357
211
|
break;
|
|
1358
212
|
case /* proto.packets.Request.RemoveAuthorizedUser remove_authorized_user */ 51:
|
|
1359
213
|
message.type = {
|
|
1360
214
|
oneofKind: "removeAuthorizedUser",
|
|
1361
|
-
removeAuthorizedUser: Request_RemoveAuthorizedUser.internalBinaryRead(reader, reader.uint32(), options,
|
|
215
|
+
removeAuthorizedUser: Request_RemoveAuthorizedUser.internalBinaryRead(reader, reader.uint32(), options, message.type.removeAuthorizedUser)
|
|
1362
216
|
};
|
|
1363
217
|
break;
|
|
1364
218
|
case /* proto.packets.Request.GetAuthorizedUsers get_authorized_users */ 52:
|
|
1365
219
|
message.type = {
|
|
1366
220
|
oneofKind: "getAuthorizedUsers",
|
|
1367
|
-
getAuthorizedUsers: Request_GetAuthorizedUsers.internalBinaryRead(reader, reader.uint32(), options,
|
|
221
|
+
getAuthorizedUsers: Request_GetAuthorizedUsers.internalBinaryRead(reader, reader.uint32(), options, message.type.getAuthorizedUsers)
|
|
1368
222
|
};
|
|
1369
223
|
break;
|
|
1370
224
|
case /* proto.packets.Request.GetDiscordInfo get_discord_info */ 53:
|
|
1371
225
|
message.type = {
|
|
1372
226
|
oneofKind: "getDiscordInfo",
|
|
1373
|
-
getDiscordInfo: Request_GetDiscordInfo.internalBinaryRead(reader, reader.uint32(), options,
|
|
227
|
+
getDiscordInfo: Request_GetDiscordInfo.internalBinaryRead(reader, reader.uint32(), options, message.type.getDiscordInfo)
|
|
1374
228
|
};
|
|
1375
229
|
break;
|
|
1376
230
|
case /* proto.packets.Request.CreateTournament create_tournament */ 18:
|
|
1377
231
|
message.type = {
|
|
1378
232
|
oneofKind: "createTournament",
|
|
1379
|
-
createTournament: Request_CreateTournament.internalBinaryRead(reader, reader.uint32(), options,
|
|
233
|
+
createTournament: Request_CreateTournament.internalBinaryRead(reader, reader.uint32(), options, message.type.createTournament)
|
|
1380
234
|
};
|
|
1381
235
|
break;
|
|
1382
236
|
case /* proto.packets.Request.SetTournamentName set_tournament_name */ 19:
|
|
1383
237
|
message.type = {
|
|
1384
238
|
oneofKind: "setTournamentName",
|
|
1385
|
-
setTournamentName: Request_SetTournamentName.internalBinaryRead(reader, reader.uint32(), options,
|
|
239
|
+
setTournamentName: Request_SetTournamentName.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentName)
|
|
1386
240
|
};
|
|
1387
241
|
break;
|
|
1388
242
|
case /* proto.packets.Request.SetTournamentImage set_tournament_image */ 20:
|
|
1389
243
|
message.type = {
|
|
1390
244
|
oneofKind: "setTournamentImage",
|
|
1391
|
-
setTournamentImage: Request_SetTournamentImage.internalBinaryRead(reader, reader.uint32(), options,
|
|
245
|
+
setTournamentImage: Request_SetTournamentImage.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentImage)
|
|
1392
246
|
};
|
|
1393
247
|
break;
|
|
1394
248
|
case /* proto.packets.Request.SetTournamentEnableTeams set_tournament_enable_teams */ 21:
|
|
1395
249
|
message.type = {
|
|
1396
250
|
oneofKind: "setTournamentEnableTeams",
|
|
1397
|
-
setTournamentEnableTeams: Request_SetTournamentEnableTeams.internalBinaryRead(reader, reader.uint32(), options,
|
|
251
|
+
setTournamentEnableTeams: Request_SetTournamentEnableTeams.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentEnableTeams)
|
|
1398
252
|
};
|
|
1399
253
|
break;
|
|
1400
254
|
case /* proto.packets.Request.SetTournamentEnablePools set_tournament_enable_pools */ 44:
|
|
1401
255
|
message.type = {
|
|
1402
256
|
oneofKind: "setTournamentEnablePools",
|
|
1403
|
-
setTournamentEnablePools: Request_SetTournamentEnablePools.internalBinaryRead(reader, reader.uint32(), options,
|
|
257
|
+
setTournamentEnablePools: Request_SetTournamentEnablePools.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentEnablePools)
|
|
1404
258
|
};
|
|
1405
259
|
break;
|
|
1406
260
|
case /* proto.packets.Request.SetTournamentShowTournamentButton set_tournament_show_tournament_button */ 45:
|
|
1407
261
|
message.type = {
|
|
1408
262
|
oneofKind: "setTournamentShowTournamentButton",
|
|
1409
|
-
setTournamentShowTournamentButton: Request_SetTournamentShowTournamentButton.internalBinaryRead(reader, reader.uint32(), options,
|
|
263
|
+
setTournamentShowTournamentButton: Request_SetTournamentShowTournamentButton.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentShowTournamentButton)
|
|
1410
264
|
};
|
|
1411
265
|
break;
|
|
1412
266
|
case /* proto.packets.Request.SetTournamentShowQualifierButton set_tournament_show_qualifier_button */ 46:
|
|
1413
267
|
message.type = {
|
|
1414
268
|
oneofKind: "setTournamentShowQualifierButton",
|
|
1415
|
-
setTournamentShowQualifierButton: Request_SetTournamentShowQualifierButton.internalBinaryRead(reader, reader.uint32(), options,
|
|
269
|
+
setTournamentShowQualifierButton: Request_SetTournamentShowQualifierButton.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentShowQualifierButton)
|
|
1416
270
|
};
|
|
1417
271
|
break;
|
|
1418
272
|
case /* proto.packets.Request.SetTournamentAllowUnauthorizedView set_tournament_allow_unauthorized_view */ 54:
|
|
1419
273
|
message.type = {
|
|
1420
274
|
oneofKind: "setTournamentAllowUnauthorizedView",
|
|
1421
|
-
setTournamentAllowUnauthorizedView: Request_SetTournamentAllowUnauthorizedView.internalBinaryRead(reader, reader.uint32(), options,
|
|
275
|
+
setTournamentAllowUnauthorizedView: Request_SetTournamentAllowUnauthorizedView.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentAllowUnauthorizedView)
|
|
1422
276
|
};
|
|
1423
277
|
break;
|
|
1424
278
|
case /* proto.packets.Request.SetTournamentScoreUpdateFrequency set_tournament_score_update_frequency */ 47:
|
|
1425
279
|
message.type = {
|
|
1426
280
|
oneofKind: "setTournamentScoreUpdateFrequency",
|
|
1427
|
-
setTournamentScoreUpdateFrequency: Request_SetTournamentScoreUpdateFrequency.internalBinaryRead(reader, reader.uint32(), options,
|
|
281
|
+
setTournamentScoreUpdateFrequency: Request_SetTournamentScoreUpdateFrequency.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentScoreUpdateFrequency)
|
|
1428
282
|
};
|
|
1429
283
|
break;
|
|
1430
284
|
case /* proto.packets.Request.SetTournamentBannedMods set_tournament_banned_mods */ 23:
|
|
1431
285
|
message.type = {
|
|
1432
286
|
oneofKind: "setTournamentBannedMods",
|
|
1433
|
-
setTournamentBannedMods: Request_SetTournamentBannedMods.internalBinaryRead(reader, reader.uint32(), options,
|
|
287
|
+
setTournamentBannedMods: Request_SetTournamentBannedMods.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentBannedMods)
|
|
1434
288
|
};
|
|
1435
289
|
break;
|
|
1436
290
|
case /* proto.packets.Request.AddTournamentTeam add_tournament_team */ 24:
|
|
1437
291
|
message.type = {
|
|
1438
292
|
oneofKind: "addTournamentTeam",
|
|
1439
|
-
addTournamentTeam: Request_AddTournamentTeam.internalBinaryRead(reader, reader.uint32(), options,
|
|
293
|
+
addTournamentTeam: Request_AddTournamentTeam.internalBinaryRead(reader, reader.uint32(), options, message.type.addTournamentTeam)
|
|
1440
294
|
};
|
|
1441
295
|
break;
|
|
1442
296
|
case /* proto.packets.Request.SetTournamentTeamName set_tournament_team_name */ 25:
|
|
1443
297
|
message.type = {
|
|
1444
298
|
oneofKind: "setTournamentTeamName",
|
|
1445
|
-
setTournamentTeamName: Request_SetTournamentTeamName.internalBinaryRead(reader, reader.uint32(), options,
|
|
299
|
+
setTournamentTeamName: Request_SetTournamentTeamName.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentTeamName)
|
|
1446
300
|
};
|
|
1447
301
|
break;
|
|
1448
302
|
case /* proto.packets.Request.SetTournamentTeamImage set_tournament_team_image */ 26:
|
|
1449
303
|
message.type = {
|
|
1450
304
|
oneofKind: "setTournamentTeamImage",
|
|
1451
|
-
setTournamentTeamImage: Request_SetTournamentTeamImage.internalBinaryRead(reader, reader.uint32(), options,
|
|
305
|
+
setTournamentTeamImage: Request_SetTournamentTeamImage.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentTeamImage)
|
|
1452
306
|
};
|
|
1453
307
|
break;
|
|
1454
308
|
case /* proto.packets.Request.RemoveTournamentTeam remove_tournament_team */ 27:
|
|
1455
309
|
message.type = {
|
|
1456
310
|
oneofKind: "removeTournamentTeam",
|
|
1457
|
-
removeTournamentTeam: Request_RemoveTournamentTeam.internalBinaryRead(reader, reader.uint32(), options,
|
|
311
|
+
removeTournamentTeam: Request_RemoveTournamentTeam.internalBinaryRead(reader, reader.uint32(), options, message.type.removeTournamentTeam)
|
|
1458
312
|
};
|
|
1459
313
|
break;
|
|
1460
314
|
case /* proto.packets.Request.AddTournamentPool add_tournament_pool */ 28:
|
|
1461
315
|
message.type = {
|
|
1462
316
|
oneofKind: "addTournamentPool",
|
|
1463
|
-
addTournamentPool: Request_AddTournamentPool.internalBinaryRead(reader, reader.uint32(), options,
|
|
317
|
+
addTournamentPool: Request_AddTournamentPool.internalBinaryRead(reader, reader.uint32(), options, message.type.addTournamentPool)
|
|
1464
318
|
};
|
|
1465
319
|
break;
|
|
1466
320
|
case /* proto.packets.Request.SetTournamentPoolName set_tournament_pool_name */ 29:
|
|
1467
321
|
message.type = {
|
|
1468
322
|
oneofKind: "setTournamentPoolName",
|
|
1469
|
-
setTournamentPoolName: Request_SetTournamentPoolName.internalBinaryRead(reader, reader.uint32(), options,
|
|
323
|
+
setTournamentPoolName: Request_SetTournamentPoolName.internalBinaryRead(reader, reader.uint32(), options, message.type.setTournamentPoolName)
|
|
1470
324
|
};
|
|
1471
325
|
break;
|
|
1472
326
|
case /* proto.packets.Request.AddTournamentPoolMap add_tournament_pool_map */ 30:
|
|
1473
327
|
message.type = {
|
|
1474
328
|
oneofKind: "addTournamentPoolMap",
|
|
1475
|
-
addTournamentPoolMap: Request_AddTournamentPoolMap.internalBinaryRead(reader, reader.uint32(), options,
|
|
329
|
+
addTournamentPoolMap: Request_AddTournamentPoolMap.internalBinaryRead(reader, reader.uint32(), options, message.type.addTournamentPoolMap)
|
|
1476
330
|
};
|
|
1477
331
|
break;
|
|
1478
332
|
case /* proto.packets.Request.UpdateTournamentPoolMap update_tournament_pool_map */ 31:
|
|
1479
333
|
message.type = {
|
|
1480
334
|
oneofKind: "updateTournamentPoolMap",
|
|
1481
|
-
updateTournamentPoolMap: Request_UpdateTournamentPoolMap.internalBinaryRead(reader, reader.uint32(), options,
|
|
335
|
+
updateTournamentPoolMap: Request_UpdateTournamentPoolMap.internalBinaryRead(reader, reader.uint32(), options, message.type.updateTournamentPoolMap)
|
|
1482
336
|
};
|
|
1483
337
|
break;
|
|
1484
338
|
case /* proto.packets.Request.RemoveTournamentPoolMap remove_tournament_pool_map */ 32:
|
|
1485
339
|
message.type = {
|
|
1486
340
|
oneofKind: "removeTournamentPoolMap",
|
|
1487
|
-
removeTournamentPoolMap: Request_RemoveTournamentPoolMap.internalBinaryRead(reader, reader.uint32(), options,
|
|
341
|
+
removeTournamentPoolMap: Request_RemoveTournamentPoolMap.internalBinaryRead(reader, reader.uint32(), options, message.type.removeTournamentPoolMap)
|
|
1488
342
|
};
|
|
1489
343
|
break;
|
|
1490
344
|
case /* proto.packets.Request.RemoveTournamentPool remove_tournament_pool */ 33:
|
|
1491
345
|
message.type = {
|
|
1492
346
|
oneofKind: "removeTournamentPool",
|
|
1493
|
-
removeTournamentPool: Request_RemoveTournamentPool.internalBinaryRead(reader, reader.uint32(), options,
|
|
347
|
+
removeTournamentPool: Request_RemoveTournamentPool.internalBinaryRead(reader, reader.uint32(), options, message.type.removeTournamentPool)
|
|
1494
348
|
};
|
|
1495
349
|
break;
|
|
1496
350
|
case /* proto.packets.Request.DeleteTournament delete_tournament */ 34:
|
|
1497
351
|
message.type = {
|
|
1498
352
|
oneofKind: "deleteTournament",
|
|
1499
|
-
deleteTournament: Request_DeleteTournament.internalBinaryRead(reader, reader.uint32(), options,
|
|
353
|
+
deleteTournament: Request_DeleteTournament.internalBinaryRead(reader, reader.uint32(), options, message.type.deleteTournament)
|
|
1500
354
|
};
|
|
1501
355
|
break;
|
|
1502
356
|
case /* proto.packets.Request.AddServer add_server */ 35:
|
|
1503
357
|
message.type = {
|
|
1504
358
|
oneofKind: "addServer",
|
|
1505
|
-
addServer: Request_AddServer.internalBinaryRead(reader, reader.uint32(), options,
|
|
359
|
+
addServer: Request_AddServer.internalBinaryRead(reader, reader.uint32(), options, message.type.addServer)
|
|
1506
360
|
};
|
|
1507
361
|
break;
|
|
1508
362
|
case /* proto.packets.Request.Connect connect */ 36:
|
|
1509
363
|
message.type = {
|
|
1510
364
|
oneofKind: "connect",
|
|
1511
|
-
connect: Request_Connect.internalBinaryRead(reader, reader.uint32(), options,
|
|
365
|
+
connect: Request_Connect.internalBinaryRead(reader, reader.uint32(), options, message.type.connect)
|
|
1512
366
|
};
|
|
1513
367
|
break;
|
|
1514
368
|
case /* proto.packets.Request.Join join */ 37:
|
|
1515
369
|
message.type = {
|
|
1516
370
|
oneofKind: "join",
|
|
1517
|
-
join: Request_Join.internalBinaryRead(reader, reader.uint32(), options,
|
|
371
|
+
join: Request_Join.internalBinaryRead(reader, reader.uint32(), options, message.type.join)
|
|
1518
372
|
};
|
|
1519
373
|
break;
|
|
1520
374
|
case /* proto.packets.Request.QualifierScores qualifier_scores */ 38:
|
|
1521
375
|
message.type = {
|
|
1522
376
|
oneofKind: "qualifierScores",
|
|
1523
|
-
qualifierScores: Request_QualifierScores.internalBinaryRead(reader, reader.uint32(), options,
|
|
377
|
+
qualifierScores: Request_QualifierScores.internalBinaryRead(reader, reader.uint32(), options, message.type.qualifierScores)
|
|
1524
378
|
};
|
|
1525
379
|
break;
|
|
1526
380
|
case /* proto.packets.Request.SubmitQualifierScore submit_qualifier_score */ 39:
|
|
1527
381
|
message.type = {
|
|
1528
382
|
oneofKind: "submitQualifierScore",
|
|
1529
|
-
submitQualifierScore: Request_SubmitQualifierScore.internalBinaryRead(reader, reader.uint32(), options,
|
|
383
|
+
submitQualifierScore: Request_SubmitQualifierScore.internalBinaryRead(reader, reader.uint32(), options, message.type.submitQualifierScore)
|
|
1530
384
|
};
|
|
1531
385
|
break;
|
|
1532
386
|
case /* proto.packets.Request.LoadSong load_song */ 40:
|
|
1533
387
|
message.type = {
|
|
1534
388
|
oneofKind: "loadSong",
|
|
1535
|
-
loadSong: Request_LoadSong.internalBinaryRead(reader, reader.uint32(), options,
|
|
389
|
+
loadSong: Request_LoadSong.internalBinaryRead(reader, reader.uint32(), options, message.type.loadSong)
|
|
1536
390
|
};
|
|
1537
391
|
break;
|
|
1538
392
|
case /* proto.packets.Request.PreloadImageForStreamSync preload_image_for_stream_sync */ 41:
|
|
1539
393
|
message.type = {
|
|
1540
394
|
oneofKind: "preloadImageForStreamSync",
|
|
1541
|
-
preloadImageForStreamSync: Request_PreloadImageForStreamSync.internalBinaryRead(reader, reader.uint32(), options,
|
|
395
|
+
preloadImageForStreamSync: Request_PreloadImageForStreamSync.internalBinaryRead(reader, reader.uint32(), options, message.type.preloadImageForStreamSync)
|
|
1542
396
|
};
|
|
1543
397
|
break;
|
|
1544
398
|
case /* proto.packets.Request.ShowModal show_modal */ 42:
|
|
1545
399
|
message.type = {
|
|
1546
400
|
oneofKind: "showModal",
|
|
1547
|
-
showModal: Request_ShowModal.internalBinaryRead(reader, reader.uint32(), options,
|
|
401
|
+
showModal: Request_ShowModal.internalBinaryRead(reader, reader.uint32(), options, message.type.showModal)
|
|
1548
402
|
};
|
|
1549
403
|
break;
|
|
1550
404
|
case /* proto.packets.Request.RemainingAttempts remaining_attempts */ 43:
|
|
1551
405
|
message.type = {
|
|
1552
406
|
oneofKind: "remainingAttempts",
|
|
1553
|
-
remainingAttempts: Request_RemainingAttempts.internalBinaryRead(reader, reader.uint32(), options,
|
|
407
|
+
remainingAttempts: Request_RemainingAttempts.internalBinaryRead(reader, reader.uint32(), options, message.type.remainingAttempts)
|
|
1554
408
|
};
|
|
1555
409
|
break;
|
|
1556
410
|
default:
|
|
@@ -1564,7 +418,7 @@ class Request$Type extends MessageType<Request> {
|
|
|
1564
418
|
}
|
|
1565
419
|
return message;
|
|
1566
420
|
}
|
|
1567
|
-
internalBinaryWrite(message
|
|
421
|
+
internalBinaryWrite(message, writer, options) {
|
|
1568
422
|
/* proto.packets.Request.UpdateUser update_user = 1; */
|
|
1569
423
|
if (message.type.oneofKind === "updateUser")
|
|
1570
424
|
Request_UpdateUser.internalBinaryWrite(message.type.updateUser, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -1735,21 +589,21 @@ class Request$Type extends MessageType<Request> {
|
|
|
1735
589
|
*/
|
|
1736
590
|
export const Request = new Request$Type();
|
|
1737
591
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1738
|
-
class Request_UpdateUser$Type extends MessageType
|
|
592
|
+
class Request_UpdateUser$Type extends MessageType {
|
|
1739
593
|
constructor() {
|
|
1740
594
|
super("proto.packets.Request.UpdateUser", [
|
|
1741
595
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1742
596
|
{ no: 2, name: "user", kind: "message", T: () => User }
|
|
1743
597
|
]);
|
|
1744
598
|
}
|
|
1745
|
-
create(value
|
|
599
|
+
create(value) {
|
|
1746
600
|
const message = { tournamentId: "" };
|
|
1747
601
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1748
602
|
if (value !== undefined)
|
|
1749
|
-
reflectionMergePartial
|
|
603
|
+
reflectionMergePartial(this, message, value);
|
|
1750
604
|
return message;
|
|
1751
605
|
}
|
|
1752
|
-
internalBinaryRead(reader
|
|
606
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1753
607
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1754
608
|
while (reader.pos < end) {
|
|
1755
609
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -1771,7 +625,7 @@ class Request_UpdateUser$Type extends MessageType<Request_UpdateUser> {
|
|
|
1771
625
|
}
|
|
1772
626
|
return message;
|
|
1773
627
|
}
|
|
1774
|
-
internalBinaryWrite(message
|
|
628
|
+
internalBinaryWrite(message, writer, options) {
|
|
1775
629
|
/* string tournament_id = 1; */
|
|
1776
630
|
if (message.tournamentId !== "")
|
|
1777
631
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -1789,21 +643,21 @@ class Request_UpdateUser$Type extends MessageType<Request_UpdateUser> {
|
|
|
1789
643
|
*/
|
|
1790
644
|
export const Request_UpdateUser = new Request_UpdateUser$Type();
|
|
1791
645
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1792
|
-
class Request_CreateMatch$Type extends MessageType
|
|
646
|
+
class Request_CreateMatch$Type extends MessageType {
|
|
1793
647
|
constructor() {
|
|
1794
648
|
super("proto.packets.Request.CreateMatch", [
|
|
1795
649
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1796
650
|
{ no: 2, name: "match", kind: "message", T: () => Match }
|
|
1797
651
|
]);
|
|
1798
652
|
}
|
|
1799
|
-
create(value
|
|
653
|
+
create(value) {
|
|
1800
654
|
const message = { tournamentId: "" };
|
|
1801
655
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1802
656
|
if (value !== undefined)
|
|
1803
|
-
reflectionMergePartial
|
|
657
|
+
reflectionMergePartial(this, message, value);
|
|
1804
658
|
return message;
|
|
1805
659
|
}
|
|
1806
|
-
internalBinaryRead(reader
|
|
660
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1807
661
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1808
662
|
while (reader.pos < end) {
|
|
1809
663
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -1825,7 +679,7 @@ class Request_CreateMatch$Type extends MessageType<Request_CreateMatch> {
|
|
|
1825
679
|
}
|
|
1826
680
|
return message;
|
|
1827
681
|
}
|
|
1828
|
-
internalBinaryWrite(message
|
|
682
|
+
internalBinaryWrite(message, writer, options) {
|
|
1829
683
|
/* string tournament_id = 1; */
|
|
1830
684
|
if (message.tournamentId !== "")
|
|
1831
685
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -1843,7 +697,7 @@ class Request_CreateMatch$Type extends MessageType<Request_CreateMatch> {
|
|
|
1843
697
|
*/
|
|
1844
698
|
export const Request_CreateMatch = new Request_CreateMatch$Type();
|
|
1845
699
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1846
|
-
class Request_AddUserToMatch$Type extends MessageType
|
|
700
|
+
class Request_AddUserToMatch$Type extends MessageType {
|
|
1847
701
|
constructor() {
|
|
1848
702
|
super("proto.packets.Request.AddUserToMatch", [
|
|
1849
703
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -1851,14 +705,14 @@ class Request_AddUserToMatch$Type extends MessageType<Request_AddUserToMatch> {
|
|
|
1851
705
|
{ no: 3, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1852
706
|
]);
|
|
1853
707
|
}
|
|
1854
|
-
create(value
|
|
708
|
+
create(value) {
|
|
1855
709
|
const message = { tournamentId: "", matchId: "", userId: "" };
|
|
1856
710
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1857
711
|
if (value !== undefined)
|
|
1858
|
-
reflectionMergePartial
|
|
712
|
+
reflectionMergePartial(this, message, value);
|
|
1859
713
|
return message;
|
|
1860
714
|
}
|
|
1861
|
-
internalBinaryRead(reader
|
|
715
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1862
716
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1863
717
|
while (reader.pos < end) {
|
|
1864
718
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -1883,7 +737,7 @@ class Request_AddUserToMatch$Type extends MessageType<Request_AddUserToMatch> {
|
|
|
1883
737
|
}
|
|
1884
738
|
return message;
|
|
1885
739
|
}
|
|
1886
|
-
internalBinaryWrite(message
|
|
740
|
+
internalBinaryWrite(message, writer, options) {
|
|
1887
741
|
/* string tournament_id = 1; */
|
|
1888
742
|
if (message.tournamentId !== "")
|
|
1889
743
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -1904,7 +758,7 @@ class Request_AddUserToMatch$Type extends MessageType<Request_AddUserToMatch> {
|
|
|
1904
758
|
*/
|
|
1905
759
|
export const Request_AddUserToMatch = new Request_AddUserToMatch$Type();
|
|
1906
760
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1907
|
-
class Request_RemoveUserFromMatch$Type extends MessageType
|
|
761
|
+
class Request_RemoveUserFromMatch$Type extends MessageType {
|
|
1908
762
|
constructor() {
|
|
1909
763
|
super("proto.packets.Request.RemoveUserFromMatch", [
|
|
1910
764
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -1912,14 +766,14 @@ class Request_RemoveUserFromMatch$Type extends MessageType<Request_RemoveUserFro
|
|
|
1912
766
|
{ no: 3, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1913
767
|
]);
|
|
1914
768
|
}
|
|
1915
|
-
create(value
|
|
769
|
+
create(value) {
|
|
1916
770
|
const message = { tournamentId: "", matchId: "", userId: "" };
|
|
1917
771
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1918
772
|
if (value !== undefined)
|
|
1919
|
-
reflectionMergePartial
|
|
773
|
+
reflectionMergePartial(this, message, value);
|
|
1920
774
|
return message;
|
|
1921
775
|
}
|
|
1922
|
-
internalBinaryRead(reader
|
|
776
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1923
777
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1924
778
|
while (reader.pos < end) {
|
|
1925
779
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -1944,7 +798,7 @@ class Request_RemoveUserFromMatch$Type extends MessageType<Request_RemoveUserFro
|
|
|
1944
798
|
}
|
|
1945
799
|
return message;
|
|
1946
800
|
}
|
|
1947
|
-
internalBinaryWrite(message
|
|
801
|
+
internalBinaryWrite(message, writer, options) {
|
|
1948
802
|
/* string tournament_id = 1; */
|
|
1949
803
|
if (message.tournamentId !== "")
|
|
1950
804
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -1965,7 +819,7 @@ class Request_RemoveUserFromMatch$Type extends MessageType<Request_RemoveUserFro
|
|
|
1965
819
|
*/
|
|
1966
820
|
export const Request_RemoveUserFromMatch = new Request_RemoveUserFromMatch$Type();
|
|
1967
821
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1968
|
-
class Request_SetMatchLeader$Type extends MessageType
|
|
822
|
+
class Request_SetMatchLeader$Type extends MessageType {
|
|
1969
823
|
constructor() {
|
|
1970
824
|
super("proto.packets.Request.SetMatchLeader", [
|
|
1971
825
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -1973,14 +827,14 @@ class Request_SetMatchLeader$Type extends MessageType<Request_SetMatchLeader> {
|
|
|
1973
827
|
{ no: 3, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1974
828
|
]);
|
|
1975
829
|
}
|
|
1976
|
-
create(value
|
|
830
|
+
create(value) {
|
|
1977
831
|
const message = { tournamentId: "", matchId: "", userId: "" };
|
|
1978
832
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1979
833
|
if (value !== undefined)
|
|
1980
|
-
reflectionMergePartial
|
|
834
|
+
reflectionMergePartial(this, message, value);
|
|
1981
835
|
return message;
|
|
1982
836
|
}
|
|
1983
|
-
internalBinaryRead(reader
|
|
837
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1984
838
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
1985
839
|
while (reader.pos < end) {
|
|
1986
840
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2005,7 +859,7 @@ class Request_SetMatchLeader$Type extends MessageType<Request_SetMatchLeader> {
|
|
|
2005
859
|
}
|
|
2006
860
|
return message;
|
|
2007
861
|
}
|
|
2008
|
-
internalBinaryWrite(message
|
|
862
|
+
internalBinaryWrite(message, writer, options) {
|
|
2009
863
|
/* string tournament_id = 1; */
|
|
2010
864
|
if (message.tournamentId !== "")
|
|
2011
865
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2026,7 +880,7 @@ class Request_SetMatchLeader$Type extends MessageType<Request_SetMatchLeader> {
|
|
|
2026
880
|
*/
|
|
2027
881
|
export const Request_SetMatchLeader = new Request_SetMatchLeader$Type();
|
|
2028
882
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2029
|
-
class Request_SetMatchMap$Type extends MessageType
|
|
883
|
+
class Request_SetMatchMap$Type extends MessageType {
|
|
2030
884
|
constructor() {
|
|
2031
885
|
super("proto.packets.Request.SetMatchMap", [
|
|
2032
886
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2034,14 +888,14 @@ class Request_SetMatchMap$Type extends MessageType<Request_SetMatchMap> {
|
|
|
2034
888
|
{ no: 3, name: "map", kind: "message", T: () => Map }
|
|
2035
889
|
]);
|
|
2036
890
|
}
|
|
2037
|
-
create(value
|
|
891
|
+
create(value) {
|
|
2038
892
|
const message = { tournamentId: "", matchId: "" };
|
|
2039
893
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2040
894
|
if (value !== undefined)
|
|
2041
|
-
reflectionMergePartial
|
|
895
|
+
reflectionMergePartial(this, message, value);
|
|
2042
896
|
return message;
|
|
2043
897
|
}
|
|
2044
|
-
internalBinaryRead(reader
|
|
898
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2045
899
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2046
900
|
while (reader.pos < end) {
|
|
2047
901
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2066,7 +920,7 @@ class Request_SetMatchMap$Type extends MessageType<Request_SetMatchMap> {
|
|
|
2066
920
|
}
|
|
2067
921
|
return message;
|
|
2068
922
|
}
|
|
2069
|
-
internalBinaryWrite(message
|
|
923
|
+
internalBinaryWrite(message, writer, options) {
|
|
2070
924
|
/* string tournament_id = 1; */
|
|
2071
925
|
if (message.tournamentId !== "")
|
|
2072
926
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2087,21 +941,21 @@ class Request_SetMatchMap$Type extends MessageType<Request_SetMatchMap> {
|
|
|
2087
941
|
*/
|
|
2088
942
|
export const Request_SetMatchMap = new Request_SetMatchMap$Type();
|
|
2089
943
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2090
|
-
class Request_DeleteMatch$Type extends MessageType
|
|
944
|
+
class Request_DeleteMatch$Type extends MessageType {
|
|
2091
945
|
constructor() {
|
|
2092
946
|
super("proto.packets.Request.DeleteMatch", [
|
|
2093
947
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2094
948
|
{ no: 2, name: "match_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2095
949
|
]);
|
|
2096
950
|
}
|
|
2097
|
-
create(value
|
|
951
|
+
create(value) {
|
|
2098
952
|
const message = { tournamentId: "", matchId: "" };
|
|
2099
953
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2100
954
|
if (value !== undefined)
|
|
2101
|
-
reflectionMergePartial
|
|
955
|
+
reflectionMergePartial(this, message, value);
|
|
2102
956
|
return message;
|
|
2103
957
|
}
|
|
2104
|
-
internalBinaryRead(reader
|
|
958
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2105
959
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2106
960
|
while (reader.pos < end) {
|
|
2107
961
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2123,7 +977,7 @@ class Request_DeleteMatch$Type extends MessageType<Request_DeleteMatch> {
|
|
|
2123
977
|
}
|
|
2124
978
|
return message;
|
|
2125
979
|
}
|
|
2126
|
-
internalBinaryWrite(message
|
|
980
|
+
internalBinaryWrite(message, writer, options) {
|
|
2127
981
|
/* string tournament_id = 1; */
|
|
2128
982
|
if (message.tournamentId !== "")
|
|
2129
983
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2141,21 +995,21 @@ class Request_DeleteMatch$Type extends MessageType<Request_DeleteMatch> {
|
|
|
2141
995
|
*/
|
|
2142
996
|
export const Request_DeleteMatch = new Request_DeleteMatch$Type();
|
|
2143
997
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2144
|
-
class Request_CreateQualifierEvent$Type extends MessageType
|
|
998
|
+
class Request_CreateQualifierEvent$Type extends MessageType {
|
|
2145
999
|
constructor() {
|
|
2146
1000
|
super("proto.packets.Request.CreateQualifierEvent", [
|
|
2147
1001
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2148
1002
|
{ no: 2, name: "event", kind: "message", T: () => QualifierEvent }
|
|
2149
1003
|
]);
|
|
2150
1004
|
}
|
|
2151
|
-
create(value
|
|
1005
|
+
create(value) {
|
|
2152
1006
|
const message = { tournamentId: "" };
|
|
2153
1007
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2154
1008
|
if (value !== undefined)
|
|
2155
|
-
reflectionMergePartial
|
|
1009
|
+
reflectionMergePartial(this, message, value);
|
|
2156
1010
|
return message;
|
|
2157
1011
|
}
|
|
2158
|
-
internalBinaryRead(reader
|
|
1012
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2159
1013
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2160
1014
|
while (reader.pos < end) {
|
|
2161
1015
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2177,7 +1031,7 @@ class Request_CreateQualifierEvent$Type extends MessageType<Request_CreateQualif
|
|
|
2177
1031
|
}
|
|
2178
1032
|
return message;
|
|
2179
1033
|
}
|
|
2180
|
-
internalBinaryWrite(message
|
|
1034
|
+
internalBinaryWrite(message, writer, options) {
|
|
2181
1035
|
/* string tournament_id = 1; */
|
|
2182
1036
|
if (message.tournamentId !== "")
|
|
2183
1037
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2195,7 +1049,7 @@ class Request_CreateQualifierEvent$Type extends MessageType<Request_CreateQualif
|
|
|
2195
1049
|
*/
|
|
2196
1050
|
export const Request_CreateQualifierEvent = new Request_CreateQualifierEvent$Type();
|
|
2197
1051
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2198
|
-
class Request_SetQualifierName$Type extends MessageType
|
|
1052
|
+
class Request_SetQualifierName$Type extends MessageType {
|
|
2199
1053
|
constructor() {
|
|
2200
1054
|
super("proto.packets.Request.SetQualifierName", [
|
|
2201
1055
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2203,14 +1057,14 @@ class Request_SetQualifierName$Type extends MessageType<Request_SetQualifierName
|
|
|
2203
1057
|
{ no: 3, name: "qualifier_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2204
1058
|
]);
|
|
2205
1059
|
}
|
|
2206
|
-
create(value
|
|
1060
|
+
create(value) {
|
|
2207
1061
|
const message = { tournamentId: "", qualifierId: "", qualifierName: "" };
|
|
2208
1062
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2209
1063
|
if (value !== undefined)
|
|
2210
|
-
reflectionMergePartial
|
|
1064
|
+
reflectionMergePartial(this, message, value);
|
|
2211
1065
|
return message;
|
|
2212
1066
|
}
|
|
2213
|
-
internalBinaryRead(reader
|
|
1067
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2214
1068
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2215
1069
|
while (reader.pos < end) {
|
|
2216
1070
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2235,7 +1089,7 @@ class Request_SetQualifierName$Type extends MessageType<Request_SetQualifierName
|
|
|
2235
1089
|
}
|
|
2236
1090
|
return message;
|
|
2237
1091
|
}
|
|
2238
|
-
internalBinaryWrite(message
|
|
1092
|
+
internalBinaryWrite(message, writer, options) {
|
|
2239
1093
|
/* string tournament_id = 1; */
|
|
2240
1094
|
if (message.tournamentId !== "")
|
|
2241
1095
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2256,7 +1110,7 @@ class Request_SetQualifierName$Type extends MessageType<Request_SetQualifierName
|
|
|
2256
1110
|
*/
|
|
2257
1111
|
export const Request_SetQualifierName = new Request_SetQualifierName$Type();
|
|
2258
1112
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2259
|
-
class Request_SetQualifierImage$Type extends MessageType
|
|
1113
|
+
class Request_SetQualifierImage$Type extends MessageType {
|
|
2260
1114
|
constructor() {
|
|
2261
1115
|
super("proto.packets.Request.SetQualifierImage", [
|
|
2262
1116
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2264,14 +1118,14 @@ class Request_SetQualifierImage$Type extends MessageType<Request_SetQualifierIma
|
|
|
2264
1118
|
{ no: 3, name: "qualifier_image", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
2265
1119
|
]);
|
|
2266
1120
|
}
|
|
2267
|
-
create(value
|
|
1121
|
+
create(value) {
|
|
2268
1122
|
const message = { tournamentId: "", qualifierId: "", qualifierImage: new Uint8Array(0) };
|
|
2269
1123
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2270
1124
|
if (value !== undefined)
|
|
2271
|
-
reflectionMergePartial
|
|
1125
|
+
reflectionMergePartial(this, message, value);
|
|
2272
1126
|
return message;
|
|
2273
1127
|
}
|
|
2274
|
-
internalBinaryRead(reader
|
|
1128
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2275
1129
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2276
1130
|
while (reader.pos < end) {
|
|
2277
1131
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2296,7 +1150,7 @@ class Request_SetQualifierImage$Type extends MessageType<Request_SetQualifierIma
|
|
|
2296
1150
|
}
|
|
2297
1151
|
return message;
|
|
2298
1152
|
}
|
|
2299
|
-
internalBinaryWrite(message
|
|
1153
|
+
internalBinaryWrite(message, writer, options) {
|
|
2300
1154
|
/* string tournament_id = 1; */
|
|
2301
1155
|
if (message.tournamentId !== "")
|
|
2302
1156
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2317,7 +1171,7 @@ class Request_SetQualifierImage$Type extends MessageType<Request_SetQualifierIma
|
|
|
2317
1171
|
*/
|
|
2318
1172
|
export const Request_SetQualifierImage = new Request_SetQualifierImage$Type();
|
|
2319
1173
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2320
|
-
class Request_SetQualifierInfoChannel$Type extends MessageType
|
|
1174
|
+
class Request_SetQualifierInfoChannel$Type extends MessageType {
|
|
2321
1175
|
constructor() {
|
|
2322
1176
|
super("proto.packets.Request.SetQualifierInfoChannel", [
|
|
2323
1177
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2325,14 +1179,14 @@ class Request_SetQualifierInfoChannel$Type extends MessageType<Request_SetQualif
|
|
|
2325
1179
|
{ no: 3, name: "info_channel", kind: "message", T: () => Channel }
|
|
2326
1180
|
]);
|
|
2327
1181
|
}
|
|
2328
|
-
create(value
|
|
1182
|
+
create(value) {
|
|
2329
1183
|
const message = { tournamentId: "", qualifierId: "" };
|
|
2330
1184
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2331
1185
|
if (value !== undefined)
|
|
2332
|
-
reflectionMergePartial
|
|
1186
|
+
reflectionMergePartial(this, message, value);
|
|
2333
1187
|
return message;
|
|
2334
1188
|
}
|
|
2335
|
-
internalBinaryRead(reader
|
|
1189
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2336
1190
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2337
1191
|
while (reader.pos < end) {
|
|
2338
1192
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2357,7 +1211,7 @@ class Request_SetQualifierInfoChannel$Type extends MessageType<Request_SetQualif
|
|
|
2357
1211
|
}
|
|
2358
1212
|
return message;
|
|
2359
1213
|
}
|
|
2360
|
-
internalBinaryWrite(message
|
|
1214
|
+
internalBinaryWrite(message, writer, options) {
|
|
2361
1215
|
/* string tournament_id = 1; */
|
|
2362
1216
|
if (message.tournamentId !== "")
|
|
2363
1217
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2378,7 +1232,7 @@ class Request_SetQualifierInfoChannel$Type extends MessageType<Request_SetQualif
|
|
|
2378
1232
|
*/
|
|
2379
1233
|
export const Request_SetQualifierInfoChannel = new Request_SetQualifierInfoChannel$Type();
|
|
2380
1234
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2381
|
-
class Request_SetQualifierFlags$Type extends MessageType
|
|
1235
|
+
class Request_SetQualifierFlags$Type extends MessageType {
|
|
2382
1236
|
constructor() {
|
|
2383
1237
|
super("proto.packets.Request.SetQualifierFlags", [
|
|
2384
1238
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2386,14 +1240,14 @@ class Request_SetQualifierFlags$Type extends MessageType<Request_SetQualifierFla
|
|
|
2386
1240
|
{ no: 3, name: "qualifier_flags", kind: "enum", T: () => ["proto.models.QualifierEvent.EventSettings", QualifierEvent_EventSettings] }
|
|
2387
1241
|
]);
|
|
2388
1242
|
}
|
|
2389
|
-
create(value
|
|
1243
|
+
create(value) {
|
|
2390
1244
|
const message = { tournamentId: "", qualifierId: "", qualifierFlags: 0 };
|
|
2391
1245
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2392
1246
|
if (value !== undefined)
|
|
2393
|
-
reflectionMergePartial
|
|
1247
|
+
reflectionMergePartial(this, message, value);
|
|
2394
1248
|
return message;
|
|
2395
1249
|
}
|
|
2396
|
-
internalBinaryRead(reader
|
|
1250
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2397
1251
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2398
1252
|
while (reader.pos < end) {
|
|
2399
1253
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2418,7 +1272,7 @@ class Request_SetQualifierFlags$Type extends MessageType<Request_SetQualifierFla
|
|
|
2418
1272
|
}
|
|
2419
1273
|
return message;
|
|
2420
1274
|
}
|
|
2421
|
-
internalBinaryWrite(message
|
|
1275
|
+
internalBinaryWrite(message, writer, options) {
|
|
2422
1276
|
/* string tournament_id = 1; */
|
|
2423
1277
|
if (message.tournamentId !== "")
|
|
2424
1278
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2439,7 +1293,7 @@ class Request_SetQualifierFlags$Type extends MessageType<Request_SetQualifierFla
|
|
|
2439
1293
|
*/
|
|
2440
1294
|
export const Request_SetQualifierFlags = new Request_SetQualifierFlags$Type();
|
|
2441
1295
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2442
|
-
class Request_SetQualifierLeaderboardSort$Type extends MessageType
|
|
1296
|
+
class Request_SetQualifierLeaderboardSort$Type extends MessageType {
|
|
2443
1297
|
constructor() {
|
|
2444
1298
|
super("proto.packets.Request.SetQualifierLeaderboardSort", [
|
|
2445
1299
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2447,14 +1301,14 @@ class Request_SetQualifierLeaderboardSort$Type extends MessageType<Request_SetQu
|
|
|
2447
1301
|
{ no: 3, name: "qualifier_leaderboard_sort", kind: "enum", T: () => ["proto.models.QualifierEvent.LeaderboardSort", QualifierEvent_LeaderboardSort] }
|
|
2448
1302
|
]);
|
|
2449
1303
|
}
|
|
2450
|
-
create(value
|
|
1304
|
+
create(value) {
|
|
2451
1305
|
const message = { tournamentId: "", qualifierId: "", qualifierLeaderboardSort: 0 };
|
|
2452
1306
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2453
1307
|
if (value !== undefined)
|
|
2454
|
-
reflectionMergePartial
|
|
1308
|
+
reflectionMergePartial(this, message, value);
|
|
2455
1309
|
return message;
|
|
2456
1310
|
}
|
|
2457
|
-
internalBinaryRead(reader
|
|
1311
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2458
1312
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2459
1313
|
while (reader.pos < end) {
|
|
2460
1314
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2479,7 +1333,7 @@ class Request_SetQualifierLeaderboardSort$Type extends MessageType<Request_SetQu
|
|
|
2479
1333
|
}
|
|
2480
1334
|
return message;
|
|
2481
1335
|
}
|
|
2482
|
-
internalBinaryWrite(message
|
|
1336
|
+
internalBinaryWrite(message, writer, options) {
|
|
2483
1337
|
/* string tournament_id = 1; */
|
|
2484
1338
|
if (message.tournamentId !== "")
|
|
2485
1339
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2500,7 +1354,7 @@ class Request_SetQualifierLeaderboardSort$Type extends MessageType<Request_SetQu
|
|
|
2500
1354
|
*/
|
|
2501
1355
|
export const Request_SetQualifierLeaderboardSort = new Request_SetQualifierLeaderboardSort$Type();
|
|
2502
1356
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2503
|
-
class Request_AddQualifierMap$Type extends MessageType
|
|
1357
|
+
class Request_AddQualifierMap$Type extends MessageType {
|
|
2504
1358
|
constructor() {
|
|
2505
1359
|
super("proto.packets.Request.AddQualifierMap", [
|
|
2506
1360
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2508,14 +1362,14 @@ class Request_AddQualifierMap$Type extends MessageType<Request_AddQualifierMap>
|
|
|
2508
1362
|
{ no: 3, name: "map", kind: "message", T: () => Map }
|
|
2509
1363
|
]);
|
|
2510
1364
|
}
|
|
2511
|
-
create(value
|
|
1365
|
+
create(value) {
|
|
2512
1366
|
const message = { tournamentId: "", qualifierId: "" };
|
|
2513
1367
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2514
1368
|
if (value !== undefined)
|
|
2515
|
-
reflectionMergePartial
|
|
1369
|
+
reflectionMergePartial(this, message, value);
|
|
2516
1370
|
return message;
|
|
2517
1371
|
}
|
|
2518
|
-
internalBinaryRead(reader
|
|
1372
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2519
1373
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2520
1374
|
while (reader.pos < end) {
|
|
2521
1375
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2540,7 +1394,7 @@ class Request_AddQualifierMap$Type extends MessageType<Request_AddQualifierMap>
|
|
|
2540
1394
|
}
|
|
2541
1395
|
return message;
|
|
2542
1396
|
}
|
|
2543
|
-
internalBinaryWrite(message
|
|
1397
|
+
internalBinaryWrite(message, writer, options) {
|
|
2544
1398
|
/* string tournament_id = 1; */
|
|
2545
1399
|
if (message.tournamentId !== "")
|
|
2546
1400
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2561,7 +1415,7 @@ class Request_AddQualifierMap$Type extends MessageType<Request_AddQualifierMap>
|
|
|
2561
1415
|
*/
|
|
2562
1416
|
export const Request_AddQualifierMap = new Request_AddQualifierMap$Type();
|
|
2563
1417
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2564
|
-
class Request_UpdateQualifierMap$Type extends MessageType
|
|
1418
|
+
class Request_UpdateQualifierMap$Type extends MessageType {
|
|
2565
1419
|
constructor() {
|
|
2566
1420
|
super("proto.packets.Request.UpdateQualifierMap", [
|
|
2567
1421
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2569,14 +1423,14 @@ class Request_UpdateQualifierMap$Type extends MessageType<Request_UpdateQualifie
|
|
|
2569
1423
|
{ no: 3, name: "map", kind: "message", T: () => Map }
|
|
2570
1424
|
]);
|
|
2571
1425
|
}
|
|
2572
|
-
create(value
|
|
1426
|
+
create(value) {
|
|
2573
1427
|
const message = { tournamentId: "", qualifierId: "" };
|
|
2574
1428
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2575
1429
|
if (value !== undefined)
|
|
2576
|
-
reflectionMergePartial
|
|
1430
|
+
reflectionMergePartial(this, message, value);
|
|
2577
1431
|
return message;
|
|
2578
1432
|
}
|
|
2579
|
-
internalBinaryRead(reader
|
|
1433
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2580
1434
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2581
1435
|
while (reader.pos < end) {
|
|
2582
1436
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2601,7 +1455,7 @@ class Request_UpdateQualifierMap$Type extends MessageType<Request_UpdateQualifie
|
|
|
2601
1455
|
}
|
|
2602
1456
|
return message;
|
|
2603
1457
|
}
|
|
2604
|
-
internalBinaryWrite(message
|
|
1458
|
+
internalBinaryWrite(message, writer, options) {
|
|
2605
1459
|
/* string tournament_id = 1; */
|
|
2606
1460
|
if (message.tournamentId !== "")
|
|
2607
1461
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2622,7 +1476,7 @@ class Request_UpdateQualifierMap$Type extends MessageType<Request_UpdateQualifie
|
|
|
2622
1476
|
*/
|
|
2623
1477
|
export const Request_UpdateQualifierMap = new Request_UpdateQualifierMap$Type();
|
|
2624
1478
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2625
|
-
class Request_RemoveQualifierMap$Type extends MessageType
|
|
1479
|
+
class Request_RemoveQualifierMap$Type extends MessageType {
|
|
2626
1480
|
constructor() {
|
|
2627
1481
|
super("proto.packets.Request.RemoveQualifierMap", [
|
|
2628
1482
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2630,14 +1484,14 @@ class Request_RemoveQualifierMap$Type extends MessageType<Request_RemoveQualifie
|
|
|
2630
1484
|
{ no: 3, name: "map_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2631
1485
|
]);
|
|
2632
1486
|
}
|
|
2633
|
-
create(value
|
|
1487
|
+
create(value) {
|
|
2634
1488
|
const message = { tournamentId: "", qualifierId: "", mapId: "" };
|
|
2635
1489
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2636
1490
|
if (value !== undefined)
|
|
2637
|
-
reflectionMergePartial
|
|
1491
|
+
reflectionMergePartial(this, message, value);
|
|
2638
1492
|
return message;
|
|
2639
1493
|
}
|
|
2640
|
-
internalBinaryRead(reader
|
|
1494
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2641
1495
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2642
1496
|
while (reader.pos < end) {
|
|
2643
1497
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2662,7 +1516,7 @@ class Request_RemoveQualifierMap$Type extends MessageType<Request_RemoveQualifie
|
|
|
2662
1516
|
}
|
|
2663
1517
|
return message;
|
|
2664
1518
|
}
|
|
2665
|
-
internalBinaryWrite(message
|
|
1519
|
+
internalBinaryWrite(message, writer, options) {
|
|
2666
1520
|
/* string tournament_id = 1; */
|
|
2667
1521
|
if (message.tournamentId !== "")
|
|
2668
1522
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2683,21 +1537,21 @@ class Request_RemoveQualifierMap$Type extends MessageType<Request_RemoveQualifie
|
|
|
2683
1537
|
*/
|
|
2684
1538
|
export const Request_RemoveQualifierMap = new Request_RemoveQualifierMap$Type();
|
|
2685
1539
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2686
|
-
class Request_DeleteQualifierEvent$Type extends MessageType
|
|
1540
|
+
class Request_DeleteQualifierEvent$Type extends MessageType {
|
|
2687
1541
|
constructor() {
|
|
2688
1542
|
super("proto.packets.Request.DeleteQualifierEvent", [
|
|
2689
1543
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2690
1544
|
{ no: 2, name: "qualifier_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2691
1545
|
]);
|
|
2692
1546
|
}
|
|
2693
|
-
create(value
|
|
1547
|
+
create(value) {
|
|
2694
1548
|
const message = { tournamentId: "", qualifierId: "" };
|
|
2695
1549
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2696
1550
|
if (value !== undefined)
|
|
2697
|
-
reflectionMergePartial
|
|
1551
|
+
reflectionMergePartial(this, message, value);
|
|
2698
1552
|
return message;
|
|
2699
1553
|
}
|
|
2700
|
-
internalBinaryRead(reader
|
|
1554
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2701
1555
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2702
1556
|
while (reader.pos < end) {
|
|
2703
1557
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2719,7 +1573,7 @@ class Request_DeleteQualifierEvent$Type extends MessageType<Request_DeleteQualif
|
|
|
2719
1573
|
}
|
|
2720
1574
|
return message;
|
|
2721
1575
|
}
|
|
2722
|
-
internalBinaryWrite(message
|
|
1576
|
+
internalBinaryWrite(message, writer, options) {
|
|
2723
1577
|
/* string tournament_id = 1; */
|
|
2724
1578
|
if (message.tournamentId !== "")
|
|
2725
1579
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2737,7 +1591,7 @@ class Request_DeleteQualifierEvent$Type extends MessageType<Request_DeleteQualif
|
|
|
2737
1591
|
*/
|
|
2738
1592
|
export const Request_DeleteQualifierEvent = new Request_DeleteQualifierEvent$Type();
|
|
2739
1593
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2740
|
-
class Request_AddAuthorizedUser$Type extends MessageType
|
|
1594
|
+
class Request_AddAuthorizedUser$Type extends MessageType {
|
|
2741
1595
|
constructor() {
|
|
2742
1596
|
super("proto.packets.Request.AddAuthorizedUser", [
|
|
2743
1597
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2745,14 +1599,14 @@ class Request_AddAuthorizedUser$Type extends MessageType<Request_AddAuthorizedUs
|
|
|
2745
1599
|
{ no: 3, name: "permission_flags", kind: "enum", T: () => ["proto.models.Permissions", Permissions] }
|
|
2746
1600
|
]);
|
|
2747
1601
|
}
|
|
2748
|
-
create(value
|
|
1602
|
+
create(value) {
|
|
2749
1603
|
const message = { tournamentId: "", discordId: "", permissionFlags: 0 };
|
|
2750
1604
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2751
1605
|
if (value !== undefined)
|
|
2752
|
-
reflectionMergePartial
|
|
1606
|
+
reflectionMergePartial(this, message, value);
|
|
2753
1607
|
return message;
|
|
2754
1608
|
}
|
|
2755
|
-
internalBinaryRead(reader
|
|
1609
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2756
1610
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2757
1611
|
while (reader.pos < end) {
|
|
2758
1612
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2777,7 +1631,7 @@ class Request_AddAuthorizedUser$Type extends MessageType<Request_AddAuthorizedUs
|
|
|
2777
1631
|
}
|
|
2778
1632
|
return message;
|
|
2779
1633
|
}
|
|
2780
|
-
internalBinaryWrite(message
|
|
1634
|
+
internalBinaryWrite(message, writer, options) {
|
|
2781
1635
|
/* string tournament_id = 1; */
|
|
2782
1636
|
if (message.tournamentId !== "")
|
|
2783
1637
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2798,7 +1652,7 @@ class Request_AddAuthorizedUser$Type extends MessageType<Request_AddAuthorizedUs
|
|
|
2798
1652
|
*/
|
|
2799
1653
|
export const Request_AddAuthorizedUser = new Request_AddAuthorizedUser$Type();
|
|
2800
1654
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2801
|
-
class Request_AddAuthorizedUserPermission$Type extends MessageType
|
|
1655
|
+
class Request_AddAuthorizedUserPermission$Type extends MessageType {
|
|
2802
1656
|
constructor() {
|
|
2803
1657
|
super("proto.packets.Request.AddAuthorizedUserPermission", [
|
|
2804
1658
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2806,14 +1660,14 @@ class Request_AddAuthorizedUserPermission$Type extends MessageType<Request_AddAu
|
|
|
2806
1660
|
{ no: 3, name: "permission", kind: "enum", T: () => ["proto.models.Permissions", Permissions] }
|
|
2807
1661
|
]);
|
|
2808
1662
|
}
|
|
2809
|
-
create(value
|
|
1663
|
+
create(value) {
|
|
2810
1664
|
const message = { tournamentId: "", discordId: "", permission: 0 };
|
|
2811
1665
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2812
1666
|
if (value !== undefined)
|
|
2813
|
-
reflectionMergePartial
|
|
1667
|
+
reflectionMergePartial(this, message, value);
|
|
2814
1668
|
return message;
|
|
2815
1669
|
}
|
|
2816
|
-
internalBinaryRead(reader
|
|
1670
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2817
1671
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2818
1672
|
while (reader.pos < end) {
|
|
2819
1673
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2838,7 +1692,7 @@ class Request_AddAuthorizedUserPermission$Type extends MessageType<Request_AddAu
|
|
|
2838
1692
|
}
|
|
2839
1693
|
return message;
|
|
2840
1694
|
}
|
|
2841
|
-
internalBinaryWrite(message
|
|
1695
|
+
internalBinaryWrite(message, writer, options) {
|
|
2842
1696
|
/* string tournament_id = 1; */
|
|
2843
1697
|
if (message.tournamentId !== "")
|
|
2844
1698
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2859,7 +1713,7 @@ class Request_AddAuthorizedUserPermission$Type extends MessageType<Request_AddAu
|
|
|
2859
1713
|
*/
|
|
2860
1714
|
export const Request_AddAuthorizedUserPermission = new Request_AddAuthorizedUserPermission$Type();
|
|
2861
1715
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2862
|
-
class Request_RemoveAuthorizedUserPermission$Type extends MessageType
|
|
1716
|
+
class Request_RemoveAuthorizedUserPermission$Type extends MessageType {
|
|
2863
1717
|
constructor() {
|
|
2864
1718
|
super("proto.packets.Request.RemoveAuthorizedUserPermission", [
|
|
2865
1719
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -2867,14 +1721,14 @@ class Request_RemoveAuthorizedUserPermission$Type extends MessageType<Request_Re
|
|
|
2867
1721
|
{ no: 3, name: "permission", kind: "enum", T: () => ["proto.models.Permissions", Permissions] }
|
|
2868
1722
|
]);
|
|
2869
1723
|
}
|
|
2870
|
-
create(value
|
|
1724
|
+
create(value) {
|
|
2871
1725
|
const message = { tournamentId: "", discordId: "", permission: 0 };
|
|
2872
1726
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2873
1727
|
if (value !== undefined)
|
|
2874
|
-
reflectionMergePartial
|
|
1728
|
+
reflectionMergePartial(this, message, value);
|
|
2875
1729
|
return message;
|
|
2876
1730
|
}
|
|
2877
|
-
internalBinaryRead(reader
|
|
1731
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2878
1732
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2879
1733
|
while (reader.pos < end) {
|
|
2880
1734
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2899,7 +1753,7 @@ class Request_RemoveAuthorizedUserPermission$Type extends MessageType<Request_Re
|
|
|
2899
1753
|
}
|
|
2900
1754
|
return message;
|
|
2901
1755
|
}
|
|
2902
|
-
internalBinaryWrite(message
|
|
1756
|
+
internalBinaryWrite(message, writer, options) {
|
|
2903
1757
|
/* string tournament_id = 1; */
|
|
2904
1758
|
if (message.tournamentId !== "")
|
|
2905
1759
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2920,21 +1774,21 @@ class Request_RemoveAuthorizedUserPermission$Type extends MessageType<Request_Re
|
|
|
2920
1774
|
*/
|
|
2921
1775
|
export const Request_RemoveAuthorizedUserPermission = new Request_RemoveAuthorizedUserPermission$Type();
|
|
2922
1776
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2923
|
-
class Request_RemoveAuthorizedUser$Type extends MessageType
|
|
1777
|
+
class Request_RemoveAuthorizedUser$Type extends MessageType {
|
|
2924
1778
|
constructor() {
|
|
2925
1779
|
super("proto.packets.Request.RemoveAuthorizedUser", [
|
|
2926
1780
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2927
1781
|
{ no: 2, name: "discord_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2928
1782
|
]);
|
|
2929
1783
|
}
|
|
2930
|
-
create(value
|
|
1784
|
+
create(value) {
|
|
2931
1785
|
const message = { tournamentId: "", discordId: "" };
|
|
2932
1786
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2933
1787
|
if (value !== undefined)
|
|
2934
|
-
reflectionMergePartial
|
|
1788
|
+
reflectionMergePartial(this, message, value);
|
|
2935
1789
|
return message;
|
|
2936
1790
|
}
|
|
2937
|
-
internalBinaryRead(reader
|
|
1791
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2938
1792
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2939
1793
|
while (reader.pos < end) {
|
|
2940
1794
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -2956,7 +1810,7 @@ class Request_RemoveAuthorizedUser$Type extends MessageType<Request_RemoveAuthor
|
|
|
2956
1810
|
}
|
|
2957
1811
|
return message;
|
|
2958
1812
|
}
|
|
2959
|
-
internalBinaryWrite(message
|
|
1813
|
+
internalBinaryWrite(message, writer, options) {
|
|
2960
1814
|
/* string tournament_id = 1; */
|
|
2961
1815
|
if (message.tournamentId !== "")
|
|
2962
1816
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -2974,20 +1828,20 @@ class Request_RemoveAuthorizedUser$Type extends MessageType<Request_RemoveAuthor
|
|
|
2974
1828
|
*/
|
|
2975
1829
|
export const Request_RemoveAuthorizedUser = new Request_RemoveAuthorizedUser$Type();
|
|
2976
1830
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2977
|
-
class Request_GetAuthorizedUsers$Type extends MessageType
|
|
1831
|
+
class Request_GetAuthorizedUsers$Type extends MessageType {
|
|
2978
1832
|
constructor() {
|
|
2979
1833
|
super("proto.packets.Request.GetAuthorizedUsers", [
|
|
2980
1834
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2981
1835
|
]);
|
|
2982
1836
|
}
|
|
2983
|
-
create(value
|
|
1837
|
+
create(value) {
|
|
2984
1838
|
const message = { tournamentId: "" };
|
|
2985
1839
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2986
1840
|
if (value !== undefined)
|
|
2987
|
-
reflectionMergePartial
|
|
1841
|
+
reflectionMergePartial(this, message, value);
|
|
2988
1842
|
return message;
|
|
2989
1843
|
}
|
|
2990
|
-
internalBinaryRead(reader
|
|
1844
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2991
1845
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2992
1846
|
while (reader.pos < end) {
|
|
2993
1847
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3006,7 +1860,7 @@ class Request_GetAuthorizedUsers$Type extends MessageType<Request_GetAuthorizedU
|
|
|
3006
1860
|
}
|
|
3007
1861
|
return message;
|
|
3008
1862
|
}
|
|
3009
|
-
internalBinaryWrite(message
|
|
1863
|
+
internalBinaryWrite(message, writer, options) {
|
|
3010
1864
|
/* string tournament_id = 1; */
|
|
3011
1865
|
if (message.tournamentId !== "")
|
|
3012
1866
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3021,21 +1875,21 @@ class Request_GetAuthorizedUsers$Type extends MessageType<Request_GetAuthorizedU
|
|
|
3021
1875
|
*/
|
|
3022
1876
|
export const Request_GetAuthorizedUsers = new Request_GetAuthorizedUsers$Type();
|
|
3023
1877
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3024
|
-
class Request_GetDiscordInfo$Type extends MessageType
|
|
1878
|
+
class Request_GetDiscordInfo$Type extends MessageType {
|
|
3025
1879
|
constructor() {
|
|
3026
1880
|
super("proto.packets.Request.GetDiscordInfo", [
|
|
3027
1881
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3028
1882
|
{ no: 2, name: "discord_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3029
1883
|
]);
|
|
3030
1884
|
}
|
|
3031
|
-
create(value
|
|
1885
|
+
create(value) {
|
|
3032
1886
|
const message = { tournamentId: "", discordId: "" };
|
|
3033
1887
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3034
1888
|
if (value !== undefined)
|
|
3035
|
-
reflectionMergePartial
|
|
1889
|
+
reflectionMergePartial(this, message, value);
|
|
3036
1890
|
return message;
|
|
3037
1891
|
}
|
|
3038
|
-
internalBinaryRead(reader
|
|
1892
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3039
1893
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3040
1894
|
while (reader.pos < end) {
|
|
3041
1895
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3057,7 +1911,7 @@ class Request_GetDiscordInfo$Type extends MessageType<Request_GetDiscordInfo> {
|
|
|
3057
1911
|
}
|
|
3058
1912
|
return message;
|
|
3059
1913
|
}
|
|
3060
|
-
internalBinaryWrite(message
|
|
1914
|
+
internalBinaryWrite(message, writer, options) {
|
|
3061
1915
|
/* string tournament_id = 1; */
|
|
3062
1916
|
if (message.tournamentId !== "")
|
|
3063
1917
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3075,20 +1929,20 @@ class Request_GetDiscordInfo$Type extends MessageType<Request_GetDiscordInfo> {
|
|
|
3075
1929
|
*/
|
|
3076
1930
|
export const Request_GetDiscordInfo = new Request_GetDiscordInfo$Type();
|
|
3077
1931
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3078
|
-
class Request_CreateTournament$Type extends MessageType
|
|
1932
|
+
class Request_CreateTournament$Type extends MessageType {
|
|
3079
1933
|
constructor() {
|
|
3080
1934
|
super("proto.packets.Request.CreateTournament", [
|
|
3081
1935
|
{ no: 1, name: "tournament", kind: "message", T: () => Tournament }
|
|
3082
1936
|
]);
|
|
3083
1937
|
}
|
|
3084
|
-
create(value
|
|
1938
|
+
create(value) {
|
|
3085
1939
|
const message = {};
|
|
3086
1940
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3087
1941
|
if (value !== undefined)
|
|
3088
|
-
reflectionMergePartial
|
|
1942
|
+
reflectionMergePartial(this, message, value);
|
|
3089
1943
|
return message;
|
|
3090
1944
|
}
|
|
3091
|
-
internalBinaryRead(reader
|
|
1945
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3092
1946
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3093
1947
|
while (reader.pos < end) {
|
|
3094
1948
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3107,7 +1961,7 @@ class Request_CreateTournament$Type extends MessageType<Request_CreateTournament
|
|
|
3107
1961
|
}
|
|
3108
1962
|
return message;
|
|
3109
1963
|
}
|
|
3110
|
-
internalBinaryWrite(message
|
|
1964
|
+
internalBinaryWrite(message, writer, options) {
|
|
3111
1965
|
/* proto.models.Tournament tournament = 1; */
|
|
3112
1966
|
if (message.tournament)
|
|
3113
1967
|
Tournament.internalBinaryWrite(message.tournament, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3122,21 +1976,21 @@ class Request_CreateTournament$Type extends MessageType<Request_CreateTournament
|
|
|
3122
1976
|
*/
|
|
3123
1977
|
export const Request_CreateTournament = new Request_CreateTournament$Type();
|
|
3124
1978
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3125
|
-
class Request_SetTournamentName$Type extends MessageType
|
|
1979
|
+
class Request_SetTournamentName$Type extends MessageType {
|
|
3126
1980
|
constructor() {
|
|
3127
1981
|
super("proto.packets.Request.SetTournamentName", [
|
|
3128
1982
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3129
1983
|
{ no: 2, name: "tournament_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3130
1984
|
]);
|
|
3131
1985
|
}
|
|
3132
|
-
create(value
|
|
1986
|
+
create(value) {
|
|
3133
1987
|
const message = { tournamentId: "", tournamentName: "" };
|
|
3134
1988
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3135
1989
|
if (value !== undefined)
|
|
3136
|
-
reflectionMergePartial
|
|
1990
|
+
reflectionMergePartial(this, message, value);
|
|
3137
1991
|
return message;
|
|
3138
1992
|
}
|
|
3139
|
-
internalBinaryRead(reader
|
|
1993
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3140
1994
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3141
1995
|
while (reader.pos < end) {
|
|
3142
1996
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3158,7 +2012,7 @@ class Request_SetTournamentName$Type extends MessageType<Request_SetTournamentNa
|
|
|
3158
2012
|
}
|
|
3159
2013
|
return message;
|
|
3160
2014
|
}
|
|
3161
|
-
internalBinaryWrite(message
|
|
2015
|
+
internalBinaryWrite(message, writer, options) {
|
|
3162
2016
|
/* string tournament_id = 1; */
|
|
3163
2017
|
if (message.tournamentId !== "")
|
|
3164
2018
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3176,21 +2030,21 @@ class Request_SetTournamentName$Type extends MessageType<Request_SetTournamentNa
|
|
|
3176
2030
|
*/
|
|
3177
2031
|
export const Request_SetTournamentName = new Request_SetTournamentName$Type();
|
|
3178
2032
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3179
|
-
class Request_SetTournamentImage$Type extends MessageType
|
|
2033
|
+
class Request_SetTournamentImage$Type extends MessageType {
|
|
3180
2034
|
constructor() {
|
|
3181
2035
|
super("proto.packets.Request.SetTournamentImage", [
|
|
3182
2036
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3183
2037
|
{ no: 2, name: "tournament_image", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
3184
2038
|
]);
|
|
3185
2039
|
}
|
|
3186
|
-
create(value
|
|
2040
|
+
create(value) {
|
|
3187
2041
|
const message = { tournamentId: "", tournamentImage: new Uint8Array(0) };
|
|
3188
2042
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3189
2043
|
if (value !== undefined)
|
|
3190
|
-
reflectionMergePartial
|
|
2044
|
+
reflectionMergePartial(this, message, value);
|
|
3191
2045
|
return message;
|
|
3192
2046
|
}
|
|
3193
|
-
internalBinaryRead(reader
|
|
2047
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3194
2048
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3195
2049
|
while (reader.pos < end) {
|
|
3196
2050
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3212,7 +2066,7 @@ class Request_SetTournamentImage$Type extends MessageType<Request_SetTournamentI
|
|
|
3212
2066
|
}
|
|
3213
2067
|
return message;
|
|
3214
2068
|
}
|
|
3215
|
-
internalBinaryWrite(message
|
|
2069
|
+
internalBinaryWrite(message, writer, options) {
|
|
3216
2070
|
/* string tournament_id = 1; */
|
|
3217
2071
|
if (message.tournamentId !== "")
|
|
3218
2072
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3230,21 +2084,21 @@ class Request_SetTournamentImage$Type extends MessageType<Request_SetTournamentI
|
|
|
3230
2084
|
*/
|
|
3231
2085
|
export const Request_SetTournamentImage = new Request_SetTournamentImage$Type();
|
|
3232
2086
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3233
|
-
class Request_SetTournamentEnableTeams$Type extends MessageType
|
|
2087
|
+
class Request_SetTournamentEnableTeams$Type extends MessageType {
|
|
3234
2088
|
constructor() {
|
|
3235
2089
|
super("proto.packets.Request.SetTournamentEnableTeams", [
|
|
3236
2090
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3237
2091
|
{ no: 2, name: "enable_teams", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3238
2092
|
]);
|
|
3239
2093
|
}
|
|
3240
|
-
create(value
|
|
2094
|
+
create(value) {
|
|
3241
2095
|
const message = { tournamentId: "", enableTeams: false };
|
|
3242
2096
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3243
2097
|
if (value !== undefined)
|
|
3244
|
-
reflectionMergePartial
|
|
2098
|
+
reflectionMergePartial(this, message, value);
|
|
3245
2099
|
return message;
|
|
3246
2100
|
}
|
|
3247
|
-
internalBinaryRead(reader
|
|
2101
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3248
2102
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3249
2103
|
while (reader.pos < end) {
|
|
3250
2104
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3266,7 +2120,7 @@ class Request_SetTournamentEnableTeams$Type extends MessageType<Request_SetTourn
|
|
|
3266
2120
|
}
|
|
3267
2121
|
return message;
|
|
3268
2122
|
}
|
|
3269
|
-
internalBinaryWrite(message
|
|
2123
|
+
internalBinaryWrite(message, writer, options) {
|
|
3270
2124
|
/* string tournament_id = 1; */
|
|
3271
2125
|
if (message.tournamentId !== "")
|
|
3272
2126
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3284,21 +2138,21 @@ class Request_SetTournamentEnableTeams$Type extends MessageType<Request_SetTourn
|
|
|
3284
2138
|
*/
|
|
3285
2139
|
export const Request_SetTournamentEnableTeams = new Request_SetTournamentEnableTeams$Type();
|
|
3286
2140
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3287
|
-
class Request_SetTournamentEnablePools$Type extends MessageType
|
|
2141
|
+
class Request_SetTournamentEnablePools$Type extends MessageType {
|
|
3288
2142
|
constructor() {
|
|
3289
2143
|
super("proto.packets.Request.SetTournamentEnablePools", [
|
|
3290
2144
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3291
2145
|
{ no: 2, name: "enable_pools", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3292
2146
|
]);
|
|
3293
2147
|
}
|
|
3294
|
-
create(value
|
|
2148
|
+
create(value) {
|
|
3295
2149
|
const message = { tournamentId: "", enablePools: false };
|
|
3296
2150
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3297
2151
|
if (value !== undefined)
|
|
3298
|
-
reflectionMergePartial
|
|
2152
|
+
reflectionMergePartial(this, message, value);
|
|
3299
2153
|
return message;
|
|
3300
2154
|
}
|
|
3301
|
-
internalBinaryRead(reader
|
|
2155
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3302
2156
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3303
2157
|
while (reader.pos < end) {
|
|
3304
2158
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3320,7 +2174,7 @@ class Request_SetTournamentEnablePools$Type extends MessageType<Request_SetTourn
|
|
|
3320
2174
|
}
|
|
3321
2175
|
return message;
|
|
3322
2176
|
}
|
|
3323
|
-
internalBinaryWrite(message
|
|
2177
|
+
internalBinaryWrite(message, writer, options) {
|
|
3324
2178
|
/* string tournament_id = 1; */
|
|
3325
2179
|
if (message.tournamentId !== "")
|
|
3326
2180
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3338,21 +2192,21 @@ class Request_SetTournamentEnablePools$Type extends MessageType<Request_SetTourn
|
|
|
3338
2192
|
*/
|
|
3339
2193
|
export const Request_SetTournamentEnablePools = new Request_SetTournamentEnablePools$Type();
|
|
3340
2194
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3341
|
-
class Request_SetTournamentShowTournamentButton$Type extends MessageType
|
|
2195
|
+
class Request_SetTournamentShowTournamentButton$Type extends MessageType {
|
|
3342
2196
|
constructor() {
|
|
3343
2197
|
super("proto.packets.Request.SetTournamentShowTournamentButton", [
|
|
3344
2198
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3345
2199
|
{ no: 2, name: "show_tournament_button", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3346
2200
|
]);
|
|
3347
2201
|
}
|
|
3348
|
-
create(value
|
|
2202
|
+
create(value) {
|
|
3349
2203
|
const message = { tournamentId: "", showTournamentButton: false };
|
|
3350
2204
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3351
2205
|
if (value !== undefined)
|
|
3352
|
-
reflectionMergePartial
|
|
2206
|
+
reflectionMergePartial(this, message, value);
|
|
3353
2207
|
return message;
|
|
3354
2208
|
}
|
|
3355
|
-
internalBinaryRead(reader
|
|
2209
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3356
2210
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3357
2211
|
while (reader.pos < end) {
|
|
3358
2212
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3374,7 +2228,7 @@ class Request_SetTournamentShowTournamentButton$Type extends MessageType<Request
|
|
|
3374
2228
|
}
|
|
3375
2229
|
return message;
|
|
3376
2230
|
}
|
|
3377
|
-
internalBinaryWrite(message
|
|
2231
|
+
internalBinaryWrite(message, writer, options) {
|
|
3378
2232
|
/* string tournament_id = 1; */
|
|
3379
2233
|
if (message.tournamentId !== "")
|
|
3380
2234
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3392,21 +2246,21 @@ class Request_SetTournamentShowTournamentButton$Type extends MessageType<Request
|
|
|
3392
2246
|
*/
|
|
3393
2247
|
export const Request_SetTournamentShowTournamentButton = new Request_SetTournamentShowTournamentButton$Type();
|
|
3394
2248
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3395
|
-
class Request_SetTournamentShowQualifierButton$Type extends MessageType
|
|
2249
|
+
class Request_SetTournamentShowQualifierButton$Type extends MessageType {
|
|
3396
2250
|
constructor() {
|
|
3397
2251
|
super("proto.packets.Request.SetTournamentShowQualifierButton", [
|
|
3398
2252
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3399
2253
|
{ no: 2, name: "show_qualifier_button", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3400
2254
|
]);
|
|
3401
2255
|
}
|
|
3402
|
-
create(value
|
|
2256
|
+
create(value) {
|
|
3403
2257
|
const message = { tournamentId: "", showQualifierButton: false };
|
|
3404
2258
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3405
2259
|
if (value !== undefined)
|
|
3406
|
-
reflectionMergePartial
|
|
2260
|
+
reflectionMergePartial(this, message, value);
|
|
3407
2261
|
return message;
|
|
3408
2262
|
}
|
|
3409
|
-
internalBinaryRead(reader
|
|
2263
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3410
2264
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3411
2265
|
while (reader.pos < end) {
|
|
3412
2266
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3428,7 +2282,7 @@ class Request_SetTournamentShowQualifierButton$Type extends MessageType<Request_
|
|
|
3428
2282
|
}
|
|
3429
2283
|
return message;
|
|
3430
2284
|
}
|
|
3431
|
-
internalBinaryWrite(message
|
|
2285
|
+
internalBinaryWrite(message, writer, options) {
|
|
3432
2286
|
/* string tournament_id = 1; */
|
|
3433
2287
|
if (message.tournamentId !== "")
|
|
3434
2288
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3446,21 +2300,21 @@ class Request_SetTournamentShowQualifierButton$Type extends MessageType<Request_
|
|
|
3446
2300
|
*/
|
|
3447
2301
|
export const Request_SetTournamentShowQualifierButton = new Request_SetTournamentShowQualifierButton$Type();
|
|
3448
2302
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3449
|
-
class Request_SetTournamentAllowUnauthorizedView$Type extends MessageType
|
|
2303
|
+
class Request_SetTournamentAllowUnauthorizedView$Type extends MessageType {
|
|
3450
2304
|
constructor() {
|
|
3451
2305
|
super("proto.packets.Request.SetTournamentAllowUnauthorizedView", [
|
|
3452
2306
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3453
2307
|
{ no: 2, name: "allow_unauthorized_view", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3454
2308
|
]);
|
|
3455
2309
|
}
|
|
3456
|
-
create(value
|
|
2310
|
+
create(value) {
|
|
3457
2311
|
const message = { tournamentId: "", allowUnauthorizedView: false };
|
|
3458
2312
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3459
2313
|
if (value !== undefined)
|
|
3460
|
-
reflectionMergePartial
|
|
2314
|
+
reflectionMergePartial(this, message, value);
|
|
3461
2315
|
return message;
|
|
3462
2316
|
}
|
|
3463
|
-
internalBinaryRead(reader
|
|
2317
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3464
2318
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3465
2319
|
while (reader.pos < end) {
|
|
3466
2320
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3482,7 +2336,7 @@ class Request_SetTournamentAllowUnauthorizedView$Type extends MessageType<Reques
|
|
|
3482
2336
|
}
|
|
3483
2337
|
return message;
|
|
3484
2338
|
}
|
|
3485
|
-
internalBinaryWrite(message
|
|
2339
|
+
internalBinaryWrite(message, writer, options) {
|
|
3486
2340
|
/* string tournament_id = 1; */
|
|
3487
2341
|
if (message.tournamentId !== "")
|
|
3488
2342
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3500,21 +2354,21 @@ class Request_SetTournamentAllowUnauthorizedView$Type extends MessageType<Reques
|
|
|
3500
2354
|
*/
|
|
3501
2355
|
export const Request_SetTournamentAllowUnauthorizedView = new Request_SetTournamentAllowUnauthorizedView$Type();
|
|
3502
2356
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3503
|
-
class Request_SetTournamentScoreUpdateFrequency$Type extends MessageType
|
|
2357
|
+
class Request_SetTournamentScoreUpdateFrequency$Type extends MessageType {
|
|
3504
2358
|
constructor() {
|
|
3505
2359
|
super("proto.packets.Request.SetTournamentScoreUpdateFrequency", [
|
|
3506
2360
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3507
2361
|
{ no: 2, name: "score_update_frequency", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
3508
2362
|
]);
|
|
3509
2363
|
}
|
|
3510
|
-
create(value
|
|
2364
|
+
create(value) {
|
|
3511
2365
|
const message = { tournamentId: "", scoreUpdateFrequency: 0 };
|
|
3512
2366
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3513
2367
|
if (value !== undefined)
|
|
3514
|
-
reflectionMergePartial
|
|
2368
|
+
reflectionMergePartial(this, message, value);
|
|
3515
2369
|
return message;
|
|
3516
2370
|
}
|
|
3517
|
-
internalBinaryRead(reader
|
|
2371
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3518
2372
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3519
2373
|
while (reader.pos < end) {
|
|
3520
2374
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3536,7 +2390,7 @@ class Request_SetTournamentScoreUpdateFrequency$Type extends MessageType<Request
|
|
|
3536
2390
|
}
|
|
3537
2391
|
return message;
|
|
3538
2392
|
}
|
|
3539
|
-
internalBinaryWrite(message
|
|
2393
|
+
internalBinaryWrite(message, writer, options) {
|
|
3540
2394
|
/* string tournament_id = 1; */
|
|
3541
2395
|
if (message.tournamentId !== "")
|
|
3542
2396
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3554,21 +2408,21 @@ class Request_SetTournamentScoreUpdateFrequency$Type extends MessageType<Request
|
|
|
3554
2408
|
*/
|
|
3555
2409
|
export const Request_SetTournamentScoreUpdateFrequency = new Request_SetTournamentScoreUpdateFrequency$Type();
|
|
3556
2410
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3557
|
-
class Request_SetTournamentBannedMods$Type extends MessageType
|
|
2411
|
+
class Request_SetTournamentBannedMods$Type extends MessageType {
|
|
3558
2412
|
constructor() {
|
|
3559
2413
|
super("proto.packets.Request.SetTournamentBannedMods", [
|
|
3560
2414
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3561
2415
|
{ no: 2, name: "banned_mods", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
3562
2416
|
]);
|
|
3563
2417
|
}
|
|
3564
|
-
create(value
|
|
2418
|
+
create(value) {
|
|
3565
2419
|
const message = { tournamentId: "", bannedMods: [] };
|
|
3566
2420
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3567
2421
|
if (value !== undefined)
|
|
3568
|
-
reflectionMergePartial
|
|
2422
|
+
reflectionMergePartial(this, message, value);
|
|
3569
2423
|
return message;
|
|
3570
2424
|
}
|
|
3571
|
-
internalBinaryRead(reader
|
|
2425
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3572
2426
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3573
2427
|
while (reader.pos < end) {
|
|
3574
2428
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3590,7 +2444,7 @@ class Request_SetTournamentBannedMods$Type extends MessageType<Request_SetTourna
|
|
|
3590
2444
|
}
|
|
3591
2445
|
return message;
|
|
3592
2446
|
}
|
|
3593
|
-
internalBinaryWrite(message
|
|
2447
|
+
internalBinaryWrite(message, writer, options) {
|
|
3594
2448
|
/* string tournament_id = 1; */
|
|
3595
2449
|
if (message.tournamentId !== "")
|
|
3596
2450
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3608,21 +2462,21 @@ class Request_SetTournamentBannedMods$Type extends MessageType<Request_SetTourna
|
|
|
3608
2462
|
*/
|
|
3609
2463
|
export const Request_SetTournamentBannedMods = new Request_SetTournamentBannedMods$Type();
|
|
3610
2464
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3611
|
-
class Request_AddTournamentTeam$Type extends MessageType
|
|
2465
|
+
class Request_AddTournamentTeam$Type extends MessageType {
|
|
3612
2466
|
constructor() {
|
|
3613
2467
|
super("proto.packets.Request.AddTournamentTeam", [
|
|
3614
2468
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3615
2469
|
{ no: 2, name: "team", kind: "message", T: () => Tournament_TournamentSettings_Team }
|
|
3616
2470
|
]);
|
|
3617
2471
|
}
|
|
3618
|
-
create(value
|
|
2472
|
+
create(value) {
|
|
3619
2473
|
const message = { tournamentId: "" };
|
|
3620
2474
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3621
2475
|
if (value !== undefined)
|
|
3622
|
-
reflectionMergePartial
|
|
2476
|
+
reflectionMergePartial(this, message, value);
|
|
3623
2477
|
return message;
|
|
3624
2478
|
}
|
|
3625
|
-
internalBinaryRead(reader
|
|
2479
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3626
2480
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3627
2481
|
while (reader.pos < end) {
|
|
3628
2482
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3644,7 +2498,7 @@ class Request_AddTournamentTeam$Type extends MessageType<Request_AddTournamentTe
|
|
|
3644
2498
|
}
|
|
3645
2499
|
return message;
|
|
3646
2500
|
}
|
|
3647
|
-
internalBinaryWrite(message
|
|
2501
|
+
internalBinaryWrite(message, writer, options) {
|
|
3648
2502
|
/* string tournament_id = 1; */
|
|
3649
2503
|
if (message.tournamentId !== "")
|
|
3650
2504
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3662,7 +2516,7 @@ class Request_AddTournamentTeam$Type extends MessageType<Request_AddTournamentTe
|
|
|
3662
2516
|
*/
|
|
3663
2517
|
export const Request_AddTournamentTeam = new Request_AddTournamentTeam$Type();
|
|
3664
2518
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3665
|
-
class Request_SetTournamentTeamName$Type extends MessageType
|
|
2519
|
+
class Request_SetTournamentTeamName$Type extends MessageType {
|
|
3666
2520
|
constructor() {
|
|
3667
2521
|
super("proto.packets.Request.SetTournamentTeamName", [
|
|
3668
2522
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -3670,14 +2524,14 @@ class Request_SetTournamentTeamName$Type extends MessageType<Request_SetTourname
|
|
|
3670
2524
|
{ no: 3, name: "team_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3671
2525
|
]);
|
|
3672
2526
|
}
|
|
3673
|
-
create(value
|
|
2527
|
+
create(value) {
|
|
3674
2528
|
const message = { tournamentId: "", teamId: "", teamName: "" };
|
|
3675
2529
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3676
2530
|
if (value !== undefined)
|
|
3677
|
-
reflectionMergePartial
|
|
2531
|
+
reflectionMergePartial(this, message, value);
|
|
3678
2532
|
return message;
|
|
3679
2533
|
}
|
|
3680
|
-
internalBinaryRead(reader
|
|
2534
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3681
2535
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3682
2536
|
while (reader.pos < end) {
|
|
3683
2537
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3702,7 +2556,7 @@ class Request_SetTournamentTeamName$Type extends MessageType<Request_SetTourname
|
|
|
3702
2556
|
}
|
|
3703
2557
|
return message;
|
|
3704
2558
|
}
|
|
3705
|
-
internalBinaryWrite(message
|
|
2559
|
+
internalBinaryWrite(message, writer, options) {
|
|
3706
2560
|
/* string tournament_id = 1; */
|
|
3707
2561
|
if (message.tournamentId !== "")
|
|
3708
2562
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3723,7 +2577,7 @@ class Request_SetTournamentTeamName$Type extends MessageType<Request_SetTourname
|
|
|
3723
2577
|
*/
|
|
3724
2578
|
export const Request_SetTournamentTeamName = new Request_SetTournamentTeamName$Type();
|
|
3725
2579
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3726
|
-
class Request_SetTournamentTeamImage$Type extends MessageType
|
|
2580
|
+
class Request_SetTournamentTeamImage$Type extends MessageType {
|
|
3727
2581
|
constructor() {
|
|
3728
2582
|
super("proto.packets.Request.SetTournamentTeamImage", [
|
|
3729
2583
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -3731,14 +2585,14 @@ class Request_SetTournamentTeamImage$Type extends MessageType<Request_SetTournam
|
|
|
3731
2585
|
{ no: 3, name: "team_image", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
3732
2586
|
]);
|
|
3733
2587
|
}
|
|
3734
|
-
create(value
|
|
2588
|
+
create(value) {
|
|
3735
2589
|
const message = { tournamentId: "", teamId: "", teamImage: new Uint8Array(0) };
|
|
3736
2590
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3737
2591
|
if (value !== undefined)
|
|
3738
|
-
reflectionMergePartial
|
|
2592
|
+
reflectionMergePartial(this, message, value);
|
|
3739
2593
|
return message;
|
|
3740
2594
|
}
|
|
3741
|
-
internalBinaryRead(reader
|
|
2595
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3742
2596
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3743
2597
|
while (reader.pos < end) {
|
|
3744
2598
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3763,7 +2617,7 @@ class Request_SetTournamentTeamImage$Type extends MessageType<Request_SetTournam
|
|
|
3763
2617
|
}
|
|
3764
2618
|
return message;
|
|
3765
2619
|
}
|
|
3766
|
-
internalBinaryWrite(message
|
|
2620
|
+
internalBinaryWrite(message, writer, options) {
|
|
3767
2621
|
/* string tournament_id = 1; */
|
|
3768
2622
|
if (message.tournamentId !== "")
|
|
3769
2623
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3784,21 +2638,21 @@ class Request_SetTournamentTeamImage$Type extends MessageType<Request_SetTournam
|
|
|
3784
2638
|
*/
|
|
3785
2639
|
export const Request_SetTournamentTeamImage = new Request_SetTournamentTeamImage$Type();
|
|
3786
2640
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3787
|
-
class Request_RemoveTournamentTeam$Type extends MessageType
|
|
2641
|
+
class Request_RemoveTournamentTeam$Type extends MessageType {
|
|
3788
2642
|
constructor() {
|
|
3789
2643
|
super("proto.packets.Request.RemoveTournamentTeam", [
|
|
3790
2644
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3791
2645
|
{ no: 2, name: "team_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3792
2646
|
]);
|
|
3793
2647
|
}
|
|
3794
|
-
create(value
|
|
2648
|
+
create(value) {
|
|
3795
2649
|
const message = { tournamentId: "", teamId: "" };
|
|
3796
2650
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3797
2651
|
if (value !== undefined)
|
|
3798
|
-
reflectionMergePartial
|
|
2652
|
+
reflectionMergePartial(this, message, value);
|
|
3799
2653
|
return message;
|
|
3800
2654
|
}
|
|
3801
|
-
internalBinaryRead(reader
|
|
2655
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3802
2656
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3803
2657
|
while (reader.pos < end) {
|
|
3804
2658
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3820,7 +2674,7 @@ class Request_RemoveTournamentTeam$Type extends MessageType<Request_RemoveTourna
|
|
|
3820
2674
|
}
|
|
3821
2675
|
return message;
|
|
3822
2676
|
}
|
|
3823
|
-
internalBinaryWrite(message
|
|
2677
|
+
internalBinaryWrite(message, writer, options) {
|
|
3824
2678
|
/* string tournament_id = 1; */
|
|
3825
2679
|
if (message.tournamentId !== "")
|
|
3826
2680
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3838,21 +2692,21 @@ class Request_RemoveTournamentTeam$Type extends MessageType<Request_RemoveTourna
|
|
|
3838
2692
|
*/
|
|
3839
2693
|
export const Request_RemoveTournamentTeam = new Request_RemoveTournamentTeam$Type();
|
|
3840
2694
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3841
|
-
class Request_AddTournamentPool$Type extends MessageType
|
|
2695
|
+
class Request_AddTournamentPool$Type extends MessageType {
|
|
3842
2696
|
constructor() {
|
|
3843
2697
|
super("proto.packets.Request.AddTournamentPool", [
|
|
3844
2698
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3845
2699
|
{ no: 2, name: "pool", kind: "message", T: () => Tournament_TournamentSettings_Pool }
|
|
3846
2700
|
]);
|
|
3847
2701
|
}
|
|
3848
|
-
create(value
|
|
2702
|
+
create(value) {
|
|
3849
2703
|
const message = { tournamentId: "" };
|
|
3850
2704
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3851
2705
|
if (value !== undefined)
|
|
3852
|
-
reflectionMergePartial
|
|
2706
|
+
reflectionMergePartial(this, message, value);
|
|
3853
2707
|
return message;
|
|
3854
2708
|
}
|
|
3855
|
-
internalBinaryRead(reader
|
|
2709
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3856
2710
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3857
2711
|
while (reader.pos < end) {
|
|
3858
2712
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3874,7 +2728,7 @@ class Request_AddTournamentPool$Type extends MessageType<Request_AddTournamentPo
|
|
|
3874
2728
|
}
|
|
3875
2729
|
return message;
|
|
3876
2730
|
}
|
|
3877
|
-
internalBinaryWrite(message
|
|
2731
|
+
internalBinaryWrite(message, writer, options) {
|
|
3878
2732
|
/* string tournament_id = 1; */
|
|
3879
2733
|
if (message.tournamentId !== "")
|
|
3880
2734
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3892,7 +2746,7 @@ class Request_AddTournamentPool$Type extends MessageType<Request_AddTournamentPo
|
|
|
3892
2746
|
*/
|
|
3893
2747
|
export const Request_AddTournamentPool = new Request_AddTournamentPool$Type();
|
|
3894
2748
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3895
|
-
class Request_SetTournamentPoolName$Type extends MessageType
|
|
2749
|
+
class Request_SetTournamentPoolName$Type extends MessageType {
|
|
3896
2750
|
constructor() {
|
|
3897
2751
|
super("proto.packets.Request.SetTournamentPoolName", [
|
|
3898
2752
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -3900,14 +2754,14 @@ class Request_SetTournamentPoolName$Type extends MessageType<Request_SetTourname
|
|
|
3900
2754
|
{ no: 3, name: "pool_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3901
2755
|
]);
|
|
3902
2756
|
}
|
|
3903
|
-
create(value
|
|
2757
|
+
create(value) {
|
|
3904
2758
|
const message = { tournamentId: "", poolId: "", poolName: "" };
|
|
3905
2759
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3906
2760
|
if (value !== undefined)
|
|
3907
|
-
reflectionMergePartial
|
|
2761
|
+
reflectionMergePartial(this, message, value);
|
|
3908
2762
|
return message;
|
|
3909
2763
|
}
|
|
3910
|
-
internalBinaryRead(reader
|
|
2764
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3911
2765
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3912
2766
|
while (reader.pos < end) {
|
|
3913
2767
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3932,7 +2786,7 @@ class Request_SetTournamentPoolName$Type extends MessageType<Request_SetTourname
|
|
|
3932
2786
|
}
|
|
3933
2787
|
return message;
|
|
3934
2788
|
}
|
|
3935
|
-
internalBinaryWrite(message
|
|
2789
|
+
internalBinaryWrite(message, writer, options) {
|
|
3936
2790
|
/* string tournament_id = 1; */
|
|
3937
2791
|
if (message.tournamentId !== "")
|
|
3938
2792
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -3953,7 +2807,7 @@ class Request_SetTournamentPoolName$Type extends MessageType<Request_SetTourname
|
|
|
3953
2807
|
*/
|
|
3954
2808
|
export const Request_SetTournamentPoolName = new Request_SetTournamentPoolName$Type();
|
|
3955
2809
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3956
|
-
class Request_AddTournamentPoolMap$Type extends MessageType
|
|
2810
|
+
class Request_AddTournamentPoolMap$Type extends MessageType {
|
|
3957
2811
|
constructor() {
|
|
3958
2812
|
super("proto.packets.Request.AddTournamentPoolMap", [
|
|
3959
2813
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -3961,14 +2815,14 @@ class Request_AddTournamentPoolMap$Type extends MessageType<Request_AddTournamen
|
|
|
3961
2815
|
{ no: 3, name: "map", kind: "message", T: () => Map }
|
|
3962
2816
|
]);
|
|
3963
2817
|
}
|
|
3964
|
-
create(value
|
|
2818
|
+
create(value) {
|
|
3965
2819
|
const message = { tournamentId: "", poolId: "" };
|
|
3966
2820
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3967
2821
|
if (value !== undefined)
|
|
3968
|
-
reflectionMergePartial
|
|
2822
|
+
reflectionMergePartial(this, message, value);
|
|
3969
2823
|
return message;
|
|
3970
2824
|
}
|
|
3971
|
-
internalBinaryRead(reader
|
|
2825
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3972
2826
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
3973
2827
|
while (reader.pos < end) {
|
|
3974
2828
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -3993,7 +2847,7 @@ class Request_AddTournamentPoolMap$Type extends MessageType<Request_AddTournamen
|
|
|
3993
2847
|
}
|
|
3994
2848
|
return message;
|
|
3995
2849
|
}
|
|
3996
|
-
internalBinaryWrite(message
|
|
2850
|
+
internalBinaryWrite(message, writer, options) {
|
|
3997
2851
|
/* string tournament_id = 1; */
|
|
3998
2852
|
if (message.tournamentId !== "")
|
|
3999
2853
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4014,7 +2868,7 @@ class Request_AddTournamentPoolMap$Type extends MessageType<Request_AddTournamen
|
|
|
4014
2868
|
*/
|
|
4015
2869
|
export const Request_AddTournamentPoolMap = new Request_AddTournamentPoolMap$Type();
|
|
4016
2870
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4017
|
-
class Request_UpdateTournamentPoolMap$Type extends MessageType
|
|
2871
|
+
class Request_UpdateTournamentPoolMap$Type extends MessageType {
|
|
4018
2872
|
constructor() {
|
|
4019
2873
|
super("proto.packets.Request.UpdateTournamentPoolMap", [
|
|
4020
2874
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4022,14 +2876,14 @@ class Request_UpdateTournamentPoolMap$Type extends MessageType<Request_UpdateTou
|
|
|
4022
2876
|
{ no: 3, name: "map", kind: "message", T: () => Map }
|
|
4023
2877
|
]);
|
|
4024
2878
|
}
|
|
4025
|
-
create(value
|
|
2879
|
+
create(value) {
|
|
4026
2880
|
const message = { tournamentId: "", poolId: "" };
|
|
4027
2881
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4028
2882
|
if (value !== undefined)
|
|
4029
|
-
reflectionMergePartial
|
|
2883
|
+
reflectionMergePartial(this, message, value);
|
|
4030
2884
|
return message;
|
|
4031
2885
|
}
|
|
4032
|
-
internalBinaryRead(reader
|
|
2886
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4033
2887
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4034
2888
|
while (reader.pos < end) {
|
|
4035
2889
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4054,7 +2908,7 @@ class Request_UpdateTournamentPoolMap$Type extends MessageType<Request_UpdateTou
|
|
|
4054
2908
|
}
|
|
4055
2909
|
return message;
|
|
4056
2910
|
}
|
|
4057
|
-
internalBinaryWrite(message
|
|
2911
|
+
internalBinaryWrite(message, writer, options) {
|
|
4058
2912
|
/* string tournament_id = 1; */
|
|
4059
2913
|
if (message.tournamentId !== "")
|
|
4060
2914
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4075,7 +2929,7 @@ class Request_UpdateTournamentPoolMap$Type extends MessageType<Request_UpdateTou
|
|
|
4075
2929
|
*/
|
|
4076
2930
|
export const Request_UpdateTournamentPoolMap = new Request_UpdateTournamentPoolMap$Type();
|
|
4077
2931
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4078
|
-
class Request_RemoveTournamentPoolMap$Type extends MessageType
|
|
2932
|
+
class Request_RemoveTournamentPoolMap$Type extends MessageType {
|
|
4079
2933
|
constructor() {
|
|
4080
2934
|
super("proto.packets.Request.RemoveTournamentPoolMap", [
|
|
4081
2935
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4083,14 +2937,14 @@ class Request_RemoveTournamentPoolMap$Type extends MessageType<Request_RemoveTou
|
|
|
4083
2937
|
{ no: 3, name: "map_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4084
2938
|
]);
|
|
4085
2939
|
}
|
|
4086
|
-
create(value
|
|
2940
|
+
create(value) {
|
|
4087
2941
|
const message = { tournamentId: "", poolId: "", mapId: "" };
|
|
4088
2942
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4089
2943
|
if (value !== undefined)
|
|
4090
|
-
reflectionMergePartial
|
|
2944
|
+
reflectionMergePartial(this, message, value);
|
|
4091
2945
|
return message;
|
|
4092
2946
|
}
|
|
4093
|
-
internalBinaryRead(reader
|
|
2947
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4094
2948
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4095
2949
|
while (reader.pos < end) {
|
|
4096
2950
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4115,7 +2969,7 @@ class Request_RemoveTournamentPoolMap$Type extends MessageType<Request_RemoveTou
|
|
|
4115
2969
|
}
|
|
4116
2970
|
return message;
|
|
4117
2971
|
}
|
|
4118
|
-
internalBinaryWrite(message
|
|
2972
|
+
internalBinaryWrite(message, writer, options) {
|
|
4119
2973
|
/* string tournament_id = 1; */
|
|
4120
2974
|
if (message.tournamentId !== "")
|
|
4121
2975
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4136,21 +2990,21 @@ class Request_RemoveTournamentPoolMap$Type extends MessageType<Request_RemoveTou
|
|
|
4136
2990
|
*/
|
|
4137
2991
|
export const Request_RemoveTournamentPoolMap = new Request_RemoveTournamentPoolMap$Type();
|
|
4138
2992
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4139
|
-
class Request_RemoveTournamentPool$Type extends MessageType
|
|
2993
|
+
class Request_RemoveTournamentPool$Type extends MessageType {
|
|
4140
2994
|
constructor() {
|
|
4141
2995
|
super("proto.packets.Request.RemoveTournamentPool", [
|
|
4142
2996
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4143
2997
|
{ no: 2, name: "pool_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4144
2998
|
]);
|
|
4145
2999
|
}
|
|
4146
|
-
create(value
|
|
3000
|
+
create(value) {
|
|
4147
3001
|
const message = { tournamentId: "", poolId: "" };
|
|
4148
3002
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4149
3003
|
if (value !== undefined)
|
|
4150
|
-
reflectionMergePartial
|
|
3004
|
+
reflectionMergePartial(this, message, value);
|
|
4151
3005
|
return message;
|
|
4152
3006
|
}
|
|
4153
|
-
internalBinaryRead(reader
|
|
3007
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4154
3008
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4155
3009
|
while (reader.pos < end) {
|
|
4156
3010
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4172,7 +3026,7 @@ class Request_RemoveTournamentPool$Type extends MessageType<Request_RemoveTourna
|
|
|
4172
3026
|
}
|
|
4173
3027
|
return message;
|
|
4174
3028
|
}
|
|
4175
|
-
internalBinaryWrite(message
|
|
3029
|
+
internalBinaryWrite(message, writer, options) {
|
|
4176
3030
|
/* string tournament_id = 1; */
|
|
4177
3031
|
if (message.tournamentId !== "")
|
|
4178
3032
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4190,20 +3044,20 @@ class Request_RemoveTournamentPool$Type extends MessageType<Request_RemoveTourna
|
|
|
4190
3044
|
*/
|
|
4191
3045
|
export const Request_RemoveTournamentPool = new Request_RemoveTournamentPool$Type();
|
|
4192
3046
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4193
|
-
class Request_DeleteTournament$Type extends MessageType
|
|
3047
|
+
class Request_DeleteTournament$Type extends MessageType {
|
|
4194
3048
|
constructor() {
|
|
4195
3049
|
super("proto.packets.Request.DeleteTournament", [
|
|
4196
3050
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4197
3051
|
]);
|
|
4198
3052
|
}
|
|
4199
|
-
create(value
|
|
3053
|
+
create(value) {
|
|
4200
3054
|
const message = { tournamentId: "" };
|
|
4201
3055
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4202
3056
|
if (value !== undefined)
|
|
4203
|
-
reflectionMergePartial
|
|
3057
|
+
reflectionMergePartial(this, message, value);
|
|
4204
3058
|
return message;
|
|
4205
3059
|
}
|
|
4206
|
-
internalBinaryRead(reader
|
|
3060
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4207
3061
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4208
3062
|
while (reader.pos < end) {
|
|
4209
3063
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4222,7 +3076,7 @@ class Request_DeleteTournament$Type extends MessageType<Request_DeleteTournament
|
|
|
4222
3076
|
}
|
|
4223
3077
|
return message;
|
|
4224
3078
|
}
|
|
4225
|
-
internalBinaryWrite(message
|
|
3079
|
+
internalBinaryWrite(message, writer, options) {
|
|
4226
3080
|
/* string tournament_id = 1; */
|
|
4227
3081
|
if (message.tournamentId !== "")
|
|
4228
3082
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4237,21 +3091,21 @@ class Request_DeleteTournament$Type extends MessageType<Request_DeleteTournament
|
|
|
4237
3091
|
*/
|
|
4238
3092
|
export const Request_DeleteTournament = new Request_DeleteTournament$Type();
|
|
4239
3093
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4240
|
-
class Request_AddServer$Type extends MessageType
|
|
3094
|
+
class Request_AddServer$Type extends MessageType {
|
|
4241
3095
|
constructor() {
|
|
4242
3096
|
super("proto.packets.Request.AddServer", [
|
|
4243
3097
|
{ no: 1, name: "server", kind: "message", T: () => CoreServer },
|
|
4244
3098
|
{ no: 2, name: "auth_token", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4245
3099
|
]);
|
|
4246
3100
|
}
|
|
4247
|
-
create(value
|
|
3101
|
+
create(value) {
|
|
4248
3102
|
const message = { authToken: "" };
|
|
4249
3103
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4250
3104
|
if (value !== undefined)
|
|
4251
|
-
reflectionMergePartial
|
|
3105
|
+
reflectionMergePartial(this, message, value);
|
|
4252
3106
|
return message;
|
|
4253
3107
|
}
|
|
4254
|
-
internalBinaryRead(reader
|
|
3108
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4255
3109
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4256
3110
|
while (reader.pos < end) {
|
|
4257
3111
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4273,7 +3127,7 @@ class Request_AddServer$Type extends MessageType<Request_AddServer> {
|
|
|
4273
3127
|
}
|
|
4274
3128
|
return message;
|
|
4275
3129
|
}
|
|
4276
|
-
internalBinaryWrite(message
|
|
3130
|
+
internalBinaryWrite(message, writer, options) {
|
|
4277
3131
|
/* proto.models.CoreServer server = 1; */
|
|
4278
3132
|
if (message.server)
|
|
4279
3133
|
CoreServer.internalBinaryWrite(message.server, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4291,20 +3145,20 @@ class Request_AddServer$Type extends MessageType<Request_AddServer> {
|
|
|
4291
3145
|
*/
|
|
4292
3146
|
export const Request_AddServer = new Request_AddServer$Type();
|
|
4293
3147
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4294
|
-
class Request_Connect$Type extends MessageType
|
|
3148
|
+
class Request_Connect$Type extends MessageType {
|
|
4295
3149
|
constructor() {
|
|
4296
3150
|
super("proto.packets.Request.Connect", [
|
|
4297
3151
|
{ no: 1, name: "client_version", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
4298
3152
|
]);
|
|
4299
3153
|
}
|
|
4300
|
-
create(value
|
|
3154
|
+
create(value) {
|
|
4301
3155
|
const message = { clientVersion: 0 };
|
|
4302
3156
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4303
3157
|
if (value !== undefined)
|
|
4304
|
-
reflectionMergePartial
|
|
3158
|
+
reflectionMergePartial(this, message, value);
|
|
4305
3159
|
return message;
|
|
4306
3160
|
}
|
|
4307
|
-
internalBinaryRead(reader
|
|
3161
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4308
3162
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4309
3163
|
while (reader.pos < end) {
|
|
4310
3164
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4323,7 +3177,7 @@ class Request_Connect$Type extends MessageType<Request_Connect> {
|
|
|
4323
3177
|
}
|
|
4324
3178
|
return message;
|
|
4325
3179
|
}
|
|
4326
|
-
internalBinaryWrite(message
|
|
3180
|
+
internalBinaryWrite(message, writer, options) {
|
|
4327
3181
|
/* int32 client_version = 1; */
|
|
4328
3182
|
if (message.clientVersion !== 0)
|
|
4329
3183
|
writer.tag(1, WireType.Varint).int32(message.clientVersion);
|
|
@@ -4338,21 +3192,21 @@ class Request_Connect$Type extends MessageType<Request_Connect> {
|
|
|
4338
3192
|
*/
|
|
4339
3193
|
export const Request_Connect = new Request_Connect$Type();
|
|
4340
3194
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4341
|
-
class Request_Join$Type extends MessageType
|
|
3195
|
+
class Request_Join$Type extends MessageType {
|
|
4342
3196
|
constructor() {
|
|
4343
3197
|
super("proto.packets.Request.Join", [
|
|
4344
3198
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4345
3199
|
{ no: 2, name: "password", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4346
3200
|
]);
|
|
4347
3201
|
}
|
|
4348
|
-
create(value
|
|
3202
|
+
create(value) {
|
|
4349
3203
|
const message = { tournamentId: "", password: "" };
|
|
4350
3204
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4351
3205
|
if (value !== undefined)
|
|
4352
|
-
reflectionMergePartial
|
|
3206
|
+
reflectionMergePartial(this, message, value);
|
|
4353
3207
|
return message;
|
|
4354
3208
|
}
|
|
4355
|
-
internalBinaryRead(reader
|
|
3209
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4356
3210
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4357
3211
|
while (reader.pos < end) {
|
|
4358
3212
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4374,7 +3228,7 @@ class Request_Join$Type extends MessageType<Request_Join> {
|
|
|
4374
3228
|
}
|
|
4375
3229
|
return message;
|
|
4376
3230
|
}
|
|
4377
|
-
internalBinaryWrite(message
|
|
3231
|
+
internalBinaryWrite(message, writer, options) {
|
|
4378
3232
|
/* string tournament_id = 1; */
|
|
4379
3233
|
if (message.tournamentId !== "")
|
|
4380
3234
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4392,7 +3246,7 @@ class Request_Join$Type extends MessageType<Request_Join> {
|
|
|
4392
3246
|
*/
|
|
4393
3247
|
export const Request_Join = new Request_Join$Type();
|
|
4394
3248
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4395
|
-
class Request_QualifierScores$Type extends MessageType
|
|
3249
|
+
class Request_QualifierScores$Type extends MessageType {
|
|
4396
3250
|
constructor() {
|
|
4397
3251
|
super("proto.packets.Request.QualifierScores", [
|
|
4398
3252
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4400,14 +3254,14 @@ class Request_QualifierScores$Type extends MessageType<Request_QualifierScores>
|
|
|
4400
3254
|
{ no: 3, name: "map_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4401
3255
|
]);
|
|
4402
3256
|
}
|
|
4403
|
-
create(value
|
|
3257
|
+
create(value) {
|
|
4404
3258
|
const message = { tournamentId: "", eventId: "", mapId: "" };
|
|
4405
3259
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4406
3260
|
if (value !== undefined)
|
|
4407
|
-
reflectionMergePartial
|
|
3261
|
+
reflectionMergePartial(this, message, value);
|
|
4408
3262
|
return message;
|
|
4409
3263
|
}
|
|
4410
|
-
internalBinaryRead(reader
|
|
3264
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4411
3265
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4412
3266
|
while (reader.pos < end) {
|
|
4413
3267
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4432,7 +3286,7 @@ class Request_QualifierScores$Type extends MessageType<Request_QualifierScores>
|
|
|
4432
3286
|
}
|
|
4433
3287
|
return message;
|
|
4434
3288
|
}
|
|
4435
|
-
internalBinaryWrite(message
|
|
3289
|
+
internalBinaryWrite(message, writer, options) {
|
|
4436
3290
|
/* string tournament_id = 1; */
|
|
4437
3291
|
if (message.tournamentId !== "")
|
|
4438
3292
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4453,7 +3307,7 @@ class Request_QualifierScores$Type extends MessageType<Request_QualifierScores>
|
|
|
4453
3307
|
*/
|
|
4454
3308
|
export const Request_QualifierScores = new Request_QualifierScores$Type();
|
|
4455
3309
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4456
|
-
class Request_SubmitQualifierScore$Type extends MessageType
|
|
3310
|
+
class Request_SubmitQualifierScore$Type extends MessageType {
|
|
4457
3311
|
constructor() {
|
|
4458
3312
|
super("proto.packets.Request.SubmitQualifierScore", [
|
|
4459
3313
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4461,14 +3315,14 @@ class Request_SubmitQualifierScore$Type extends MessageType<Request_SubmitQualif
|
|
|
4461
3315
|
{ no: 3, name: "map", kind: "message", T: () => GameplayParameters }
|
|
4462
3316
|
]);
|
|
4463
3317
|
}
|
|
4464
|
-
create(value
|
|
3318
|
+
create(value) {
|
|
4465
3319
|
const message = { tournamentId: "" };
|
|
4466
3320
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4467
3321
|
if (value !== undefined)
|
|
4468
|
-
reflectionMergePartial
|
|
3322
|
+
reflectionMergePartial(this, message, value);
|
|
4469
3323
|
return message;
|
|
4470
3324
|
}
|
|
4471
|
-
internalBinaryRead(reader
|
|
3325
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4472
3326
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4473
3327
|
while (reader.pos < end) {
|
|
4474
3328
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4493,7 +3347,7 @@ class Request_SubmitQualifierScore$Type extends MessageType<Request_SubmitQualif
|
|
|
4493
3347
|
}
|
|
4494
3348
|
return message;
|
|
4495
3349
|
}
|
|
4496
|
-
internalBinaryWrite(message
|
|
3350
|
+
internalBinaryWrite(message, writer, options) {
|
|
4497
3351
|
/* string tournament_id = 1; */
|
|
4498
3352
|
if (message.tournamentId !== "")
|
|
4499
3353
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|
|
@@ -4514,21 +3368,21 @@ class Request_SubmitQualifierScore$Type extends MessageType<Request_SubmitQualif
|
|
|
4514
3368
|
*/
|
|
4515
3369
|
export const Request_SubmitQualifierScore = new Request_SubmitQualifierScore$Type();
|
|
4516
3370
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4517
|
-
class Request_LoadSong$Type extends MessageType
|
|
3371
|
+
class Request_LoadSong$Type extends MessageType {
|
|
4518
3372
|
constructor() {
|
|
4519
3373
|
super("proto.packets.Request.LoadSong", [
|
|
4520
3374
|
{ no: 1, name: "level_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4521
3375
|
{ no: 2, name: "custom_host_url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4522
3376
|
]);
|
|
4523
3377
|
}
|
|
4524
|
-
create(value
|
|
3378
|
+
create(value) {
|
|
4525
3379
|
const message = { levelId: "", customHostUrl: "" };
|
|
4526
3380
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4527
3381
|
if (value !== undefined)
|
|
4528
|
-
reflectionMergePartial
|
|
3382
|
+
reflectionMergePartial(this, message, value);
|
|
4529
3383
|
return message;
|
|
4530
3384
|
}
|
|
4531
|
-
internalBinaryRead(reader
|
|
3385
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4532
3386
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4533
3387
|
while (reader.pos < end) {
|
|
4534
3388
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4550,7 +3404,7 @@ class Request_LoadSong$Type extends MessageType<Request_LoadSong> {
|
|
|
4550
3404
|
}
|
|
4551
3405
|
return message;
|
|
4552
3406
|
}
|
|
4553
|
-
internalBinaryWrite(message
|
|
3407
|
+
internalBinaryWrite(message, writer, options) {
|
|
4554
3408
|
/* string level_id = 1; */
|
|
4555
3409
|
if (message.levelId !== "")
|
|
4556
3410
|
writer.tag(1, WireType.LengthDelimited).string(message.levelId);
|
|
@@ -4568,7 +3422,7 @@ class Request_LoadSong$Type extends MessageType<Request_LoadSong> {
|
|
|
4568
3422
|
*/
|
|
4569
3423
|
export const Request_LoadSong = new Request_LoadSong$Type();
|
|
4570
3424
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4571
|
-
class Request_PreloadImageForStreamSync$Type extends MessageType
|
|
3425
|
+
class Request_PreloadImageForStreamSync$Type extends MessageType {
|
|
4572
3426
|
constructor() {
|
|
4573
3427
|
super("proto.packets.Request.PreloadImageForStreamSync", [
|
|
4574
3428
|
{ no: 1, name: "file_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4576,14 +3430,14 @@ class Request_PreloadImageForStreamSync$Type extends MessageType<Request_Preload
|
|
|
4576
3430
|
{ no: 3, name: "data", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
4577
3431
|
]);
|
|
4578
3432
|
}
|
|
4579
|
-
create(value
|
|
3433
|
+
create(value) {
|
|
4580
3434
|
const message = { fileId: "", compressed: false, data: new Uint8Array(0) };
|
|
4581
3435
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4582
3436
|
if (value !== undefined)
|
|
4583
|
-
reflectionMergePartial
|
|
3437
|
+
reflectionMergePartial(this, message, value);
|
|
4584
3438
|
return message;
|
|
4585
3439
|
}
|
|
4586
|
-
internalBinaryRead(reader
|
|
3440
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4587
3441
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4588
3442
|
while (reader.pos < end) {
|
|
4589
3443
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4608,7 +3462,7 @@ class Request_PreloadImageForStreamSync$Type extends MessageType<Request_Preload
|
|
|
4608
3462
|
}
|
|
4609
3463
|
return message;
|
|
4610
3464
|
}
|
|
4611
|
-
internalBinaryWrite(message
|
|
3465
|
+
internalBinaryWrite(message, writer, options) {
|
|
4612
3466
|
/* string file_id = 1; */
|
|
4613
3467
|
if (message.fileId !== "")
|
|
4614
3468
|
writer.tag(1, WireType.LengthDelimited).string(message.fileId);
|
|
@@ -4629,7 +3483,7 @@ class Request_PreloadImageForStreamSync$Type extends MessageType<Request_Preload
|
|
|
4629
3483
|
*/
|
|
4630
3484
|
export const Request_PreloadImageForStreamSync = new Request_PreloadImageForStreamSync$Type();
|
|
4631
3485
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4632
|
-
class Request_ShowModal$Type extends MessageType
|
|
3486
|
+
class Request_ShowModal$Type extends MessageType {
|
|
4633
3487
|
constructor() {
|
|
4634
3488
|
super("proto.packets.Request.ShowModal", [
|
|
4635
3489
|
{ no: 1, name: "modal_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4640,14 +3494,14 @@ class Request_ShowModal$Type extends MessageType<Request_ShowModal> {
|
|
|
4640
3494
|
{ no: 6, name: "option_2", kind: "message", T: () => ModalOption }
|
|
4641
3495
|
]);
|
|
4642
3496
|
}
|
|
4643
|
-
create(value
|
|
3497
|
+
create(value) {
|
|
4644
3498
|
const message = { modalId: "", messageTitle: "", messageText: "", canClose: false };
|
|
4645
3499
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4646
3500
|
if (value !== undefined)
|
|
4647
|
-
reflectionMergePartial
|
|
3501
|
+
reflectionMergePartial(this, message, value);
|
|
4648
3502
|
return message;
|
|
4649
3503
|
}
|
|
4650
|
-
internalBinaryRead(reader
|
|
3504
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4651
3505
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4652
3506
|
while (reader.pos < end) {
|
|
4653
3507
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4681,7 +3535,7 @@ class Request_ShowModal$Type extends MessageType<Request_ShowModal> {
|
|
|
4681
3535
|
}
|
|
4682
3536
|
return message;
|
|
4683
3537
|
}
|
|
4684
|
-
internalBinaryWrite(message
|
|
3538
|
+
internalBinaryWrite(message, writer, options) {
|
|
4685
3539
|
/* string modal_id = 1; */
|
|
4686
3540
|
if (message.modalId !== "")
|
|
4687
3541
|
writer.tag(1, WireType.LengthDelimited).string(message.modalId);
|
|
@@ -4711,7 +3565,7 @@ class Request_ShowModal$Type extends MessageType<Request_ShowModal> {
|
|
|
4711
3565
|
*/
|
|
4712
3566
|
export const Request_ShowModal = new Request_ShowModal$Type();
|
|
4713
3567
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4714
|
-
class Request_RemainingAttempts$Type extends MessageType
|
|
3568
|
+
class Request_RemainingAttempts$Type extends MessageType {
|
|
4715
3569
|
constructor() {
|
|
4716
3570
|
super("proto.packets.Request.RemainingAttempts", [
|
|
4717
3571
|
{ no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
@@ -4719,14 +3573,14 @@ class Request_RemainingAttempts$Type extends MessageType<Request_RemainingAttemp
|
|
|
4719
3573
|
{ no: 3, name: "map_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4720
3574
|
]);
|
|
4721
3575
|
}
|
|
4722
|
-
create(value
|
|
3576
|
+
create(value) {
|
|
4723
3577
|
const message = { tournamentId: "", eventId: "", mapId: "" };
|
|
4724
3578
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
4725
3579
|
if (value !== undefined)
|
|
4726
|
-
reflectionMergePartial
|
|
3580
|
+
reflectionMergePartial(this, message, value);
|
|
4727
3581
|
return message;
|
|
4728
3582
|
}
|
|
4729
|
-
internalBinaryRead(reader
|
|
3583
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4730
3584
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
4731
3585
|
while (reader.pos < end) {
|
|
4732
3586
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -4751,7 +3605,7 @@ class Request_RemainingAttempts$Type extends MessageType<Request_RemainingAttemp
|
|
|
4751
3605
|
}
|
|
4752
3606
|
return message;
|
|
4753
3607
|
}
|
|
4754
|
-
internalBinaryWrite(message
|
|
3608
|
+
internalBinaryWrite(message, writer, options) {
|
|
4755
3609
|
/* string tournament_id = 1; */
|
|
4756
3610
|
if (message.tournamentId !== "")
|
|
4757
3611
|
writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
|