moons-ta-client 1.1.9 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -8189,7 +8189,8 @@ var Response$Type = class extends MessageType {
8189
8189
  { no: 20, name: "remaining_attempts", kind: "message", oneof: "details", T: () => Response_RemainingAttempts },
8190
8190
  { no: 26, name: "get_bot_tokens_for_user", kind: "message", oneof: "details", T: () => Response_GetBotTokensForUser },
8191
8191
  { no: 27, name: "generate_bot_token", kind: "message", oneof: "details", T: () => Response_GenerateBotToken },
8192
- { no: 28, name: "revoke_bot_token", kind: "message", oneof: "details", T: () => Response_RevokeBotToken }
8192
+ { no: 28, name: "revoke_bot_token", kind: "message", oneof: "details", T: () => Response_RevokeBotToken },
8193
+ { no: 29, name: "refund_attempts", kind: "message", oneof: "details", T: () => Response_RefundAttempts }
8193
8194
  ]);
8194
8195
  }
8195
8196
  create(value) {
@@ -8394,6 +8395,13 @@ var Response$Type = class extends MessageType {
8394
8395
  revokeBotToken: Response_RevokeBotToken.internalBinaryRead(reader, reader.uint32(), options, message.details.revokeBotToken)
8395
8396
  };
8396
8397
  break;
8398
+ case /* proto.packets.Response.RefundAttempts refund_attempts */
8399
+ 29:
8400
+ message.details = {
8401
+ oneofKind: "refundAttempts",
8402
+ refundAttempts: Response_RefundAttempts.internalBinaryRead(reader, reader.uint32(), options, message.details.refundAttempts)
8403
+ };
8404
+ break;
8397
8405
  default:
8398
8406
  let u2 = options.readUnknownField;
8399
8407
  if (u2 === "throw")
@@ -8462,6 +8470,8 @@ var Response$Type = class extends MessageType {
8462
8470
  Response_GenerateBotToken.internalBinaryWrite(message.details.generateBotToken, writer.tag(27, WireType.LengthDelimited).fork(), options).join();
8463
8471
  if (message.details.oneofKind === "revokeBotToken")
8464
8472
  Response_RevokeBotToken.internalBinaryWrite(message.details.revokeBotToken, writer.tag(28, WireType.LengthDelimited).fork(), options).join();
8473
+ if (message.details.oneofKind === "refundAttempts")
8474
+ Response_RefundAttempts.internalBinaryWrite(message.details.refundAttempts, writer.tag(29, WireType.LengthDelimited).fork(), options).join();
8465
8475
  let u2 = options.writeUnknownFields;
8466
8476
  if (u2 !== false)
8467
8477
  (u2 == true ? UnknownFieldHandler.onWrite : u2)(this.typeName, message, writer);
@@ -10125,6 +10135,55 @@ var Response_RevokeBotToken$Type = class extends MessageType {
10125
10135
  }
10126
10136
  };
10127
10137
  var Response_RevokeBotToken = new Response_RevokeBotToken$Type();
10138
+ var Response_RefundAttempts$Type = class extends MessageType {
10139
+ constructor() {
10140
+ super("proto.packets.Response.RefundAttempts", [
10141
+ {
10142
+ no: 1,
10143
+ name: "message",
10144
+ kind: "scalar",
10145
+ T: 9
10146
+ /*ScalarType.STRING*/
10147
+ }
10148
+ ]);
10149
+ }
10150
+ create(value) {
10151
+ const message = { message: "" };
10152
+ globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
10153
+ if (value !== void 0)
10154
+ reflectionMergePartial(this, message, value);
10155
+ return message;
10156
+ }
10157
+ internalBinaryRead(reader, length, options, target) {
10158
+ let message = target ?? this.create(), end = reader.pos + length;
10159
+ while (reader.pos < end) {
10160
+ let [fieldNo, wireType] = reader.tag();
10161
+ switch (fieldNo) {
10162
+ case /* string message */
10163
+ 1:
10164
+ message.message = reader.string();
10165
+ break;
10166
+ default:
10167
+ let u2 = options.readUnknownField;
10168
+ if (u2 === "throw")
10169
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
10170
+ let d = reader.skip(wireType);
10171
+ if (u2 !== false)
10172
+ (u2 === true ? UnknownFieldHandler.onRead : u2)(this.typeName, message, fieldNo, wireType, d);
10173
+ }
10174
+ }
10175
+ return message;
10176
+ }
10177
+ internalBinaryWrite(message, writer, options) {
10178
+ if (message.message !== "")
10179
+ writer.tag(1, WireType.LengthDelimited).string(message.message);
10180
+ let u2 = options.writeUnknownFields;
10181
+ if (u2 !== false)
10182
+ (u2 == true ? UnknownFieldHandler.onWrite : u2)(this.typeName, message, writer);
10183
+ return writer;
10184
+ }
10185
+ };
10186
+ var Response_RefundAttempts = new Response_RefundAttempts$Type();
10128
10187
 
10129
10188
  // src/models/requests.ts
10130
10189
  init_dirname();
@@ -10188,7 +10247,8 @@ var Request$Type = class extends MessageType {
10188
10247
  { no: 43, name: "remaining_attempts", kind: "message", oneof: "type", T: () => Request_RemainingAttempts },
10189
10248
  { no: 55, name: "get_bot_tokens_for_user", kind: "message", oneof: "type", T: () => Request_GetBotTokensForUser },
10190
10249
  { no: 56, name: "generate_bot_token", kind: "message", oneof: "type", T: () => Request_GenerateBotToken },
10191
- { no: 57, name: "revoke_bot_token", kind: "message", oneof: "type", T: () => Request_RevokeBotToken }
10250
+ { no: 57, name: "revoke_bot_token", kind: "message", oneof: "type", T: () => Request_RevokeBotToken },
10251
+ { no: 58, name: "refund_attempts", kind: "message", oneof: "type", T: () => Request_RefundAttempts }
10192
10252
  ]);
10193
10253
  }
10194
10254
  create(value) {
@@ -10595,6 +10655,13 @@ var Request$Type = class extends MessageType {
10595
10655
  revokeBotToken: Request_RevokeBotToken.internalBinaryRead(reader, reader.uint32(), options, message.type.revokeBotToken)
10596
10656
  };
10597
10657
  break;
10658
+ case /* proto.packets.Request.RefundAttempts refund_attempts */
10659
+ 58:
10660
+ message.type = {
10661
+ oneofKind: "refundAttempts",
10662
+ refundAttempts: Request_RefundAttempts.internalBinaryRead(reader, reader.uint32(), options, message.type.refundAttempts)
10663
+ };
10664
+ break;
10598
10665
  default:
10599
10666
  let u2 = options.readUnknownField;
10600
10667
  if (u2 === "throw")
@@ -10719,6 +10786,8 @@ var Request$Type = class extends MessageType {
10719
10786
  Request_GenerateBotToken.internalBinaryWrite(message.type.generateBotToken, writer.tag(56, WireType.LengthDelimited).fork(), options).join();
10720
10787
  if (message.type.oneofKind === "revokeBotToken")
10721
10788
  Request_RevokeBotToken.internalBinaryWrite(message.type.revokeBotToken, writer.tag(57, WireType.LengthDelimited).fork(), options).join();
10789
+ if (message.type.oneofKind === "refundAttempts")
10790
+ Request_RefundAttempts.internalBinaryWrite(message.type.refundAttempts, writer.tag(58, WireType.LengthDelimited).fork(), options).join();
10722
10791
  let u2 = options.writeUnknownFields;
10723
10792
  if (u2 !== false)
10724
10793
  (u2 == true ? UnknownFieldHandler.onWrite : u2)(this.typeName, message, writer);
@@ -13721,11 +13790,19 @@ var Request_Join$Type = class extends MessageType {
13721
13790
  kind: "scalar",
13722
13791
  T: 9
13723
13792
  /*ScalarType.STRING*/
13793
+ },
13794
+ {
13795
+ no: 3,
13796
+ name: "mod_list",
13797
+ kind: "scalar",
13798
+ repeat: 2,
13799
+ T: 9
13800
+ /*ScalarType.STRING*/
13724
13801
  }
13725
13802
  ]);
13726
13803
  }
13727
13804
  create(value) {
13728
- const message = { tournamentId: "", password: "" };
13805
+ const message = { tournamentId: "", password: "", modList: [] };
13729
13806
  globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
13730
13807
  if (value !== void 0)
13731
13808
  reflectionMergePartial(this, message, value);
@@ -13744,6 +13821,10 @@ var Request_Join$Type = class extends MessageType {
13744
13821
  2:
13745
13822
  message.password = reader.string();
13746
13823
  break;
13824
+ case /* repeated string mod_list */
13825
+ 3:
13826
+ message.modList.push(reader.string());
13827
+ break;
13747
13828
  default:
13748
13829
  let u2 = options.readUnknownField;
13749
13830
  if (u2 === "throw")
@@ -13760,6 +13841,8 @@ var Request_Join$Type = class extends MessageType {
13760
13841
  writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
13761
13842
  if (message.password !== "")
13762
13843
  writer.tag(2, WireType.LengthDelimited).string(message.password);
13844
+ for (let i2 = 0; i2 < message.modList.length; i2++)
13845
+ writer.tag(3, WireType.LengthDelimited).string(message.modList[i2]);
13763
13846
  let u2 = options.writeUnknownFields;
13764
13847
  if (u2 !== false)
13765
13848
  (u2 == true ? UnknownFieldHandler.onWrite : u2)(this.typeName, message, writer);
@@ -14447,6 +14530,107 @@ var Request_RevokeBotToken$Type = class extends MessageType {
14447
14530
  }
14448
14531
  };
14449
14532
  var Request_RevokeBotToken = new Request_RevokeBotToken$Type();
14533
+ var Request_RefundAttempts$Type = class extends MessageType {
14534
+ constructor() {
14535
+ super("proto.packets.Request.RefundAttempts", [
14536
+ {
14537
+ no: 1,
14538
+ name: "tournament_id",
14539
+ kind: "scalar",
14540
+ T: 9
14541
+ /*ScalarType.STRING*/
14542
+ },
14543
+ {
14544
+ no: 2,
14545
+ name: "event_id",
14546
+ kind: "scalar",
14547
+ T: 9
14548
+ /*ScalarType.STRING*/
14549
+ },
14550
+ {
14551
+ no: 3,
14552
+ name: "map_id",
14553
+ kind: "scalar",
14554
+ T: 9
14555
+ /*ScalarType.STRING*/
14556
+ },
14557
+ {
14558
+ no: 4,
14559
+ name: "platform_id",
14560
+ kind: "scalar",
14561
+ T: 9
14562
+ /*ScalarType.STRING*/
14563
+ },
14564
+ {
14565
+ no: 5,
14566
+ name: "count",
14567
+ kind: "scalar",
14568
+ T: 5
14569
+ /*ScalarType.INT32*/
14570
+ }
14571
+ ]);
14572
+ }
14573
+ create(value) {
14574
+ const message = { tournamentId: "", eventId: "", mapId: "", platformId: "", count: 0 };
14575
+ globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
14576
+ if (value !== void 0)
14577
+ reflectionMergePartial(this, message, value);
14578
+ return message;
14579
+ }
14580
+ internalBinaryRead(reader, length, options, target) {
14581
+ let message = target ?? this.create(), end = reader.pos + length;
14582
+ while (reader.pos < end) {
14583
+ let [fieldNo, wireType] = reader.tag();
14584
+ switch (fieldNo) {
14585
+ case /* string tournament_id */
14586
+ 1:
14587
+ message.tournamentId = reader.string();
14588
+ break;
14589
+ case /* string event_id */
14590
+ 2:
14591
+ message.eventId = reader.string();
14592
+ break;
14593
+ case /* string map_id */
14594
+ 3:
14595
+ message.mapId = reader.string();
14596
+ break;
14597
+ case /* string platform_id */
14598
+ 4:
14599
+ message.platformId = reader.string();
14600
+ break;
14601
+ case /* int32 count */
14602
+ 5:
14603
+ message.count = reader.int32();
14604
+ break;
14605
+ default:
14606
+ let u2 = options.readUnknownField;
14607
+ if (u2 === "throw")
14608
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
14609
+ let d = reader.skip(wireType);
14610
+ if (u2 !== false)
14611
+ (u2 === true ? UnknownFieldHandler.onRead : u2)(this.typeName, message, fieldNo, wireType, d);
14612
+ }
14613
+ }
14614
+ return message;
14615
+ }
14616
+ internalBinaryWrite(message, writer, options) {
14617
+ if (message.tournamentId !== "")
14618
+ writer.tag(1, WireType.LengthDelimited).string(message.tournamentId);
14619
+ if (message.eventId !== "")
14620
+ writer.tag(2, WireType.LengthDelimited).string(message.eventId);
14621
+ if (message.mapId !== "")
14622
+ writer.tag(3, WireType.LengthDelimited).string(message.mapId);
14623
+ if (message.platformId !== "")
14624
+ writer.tag(4, WireType.LengthDelimited).string(message.platformId);
14625
+ if (message.count !== 0)
14626
+ writer.tag(5, WireType.Varint).int32(message.count);
14627
+ let u2 = options.writeUnknownFields;
14628
+ if (u2 !== false)
14629
+ (u2 == true ? UnknownFieldHandler.onWrite : u2)(this.typeName, message, writer);
14630
+ return writer;
14631
+ }
14632
+ };
14633
+ var Request_RefundAttempts = new Request_RefundAttempts$Type();
14450
14634
 
14451
14635
  // src/models/pushes.ts
14452
14636
  init_dirname();
@@ -15710,8 +15894,8 @@ init_buffer2();
15710
15894
  init_process2();
15711
15895
  var masterAddress = "server.tournamentassistant.net";
15712
15896
  var masterPort = "8676";
15713
- var version = "1.1.9";
15714
- var versionCode = 119;
15897
+ var version = "1.1.11";
15898
+ var versionCode = 1111;
15715
15899
 
15716
15900
  // src/tournament-assistant-client.ts
15717
15901
  var import_ws2 = __toESM(require_ws(), 1);
@@ -16040,58 +16224,76 @@ var TAClient = class extends CustomEventEmitter {
16040
16224
  }
16041
16225
  // --- Commands --- //
16042
16226
  playSong = (gameplayParameters, userIds) => {
16043
- this.sendCommand({
16044
- type: {
16045
- oneofKind: "playSong",
16046
- playSong: {
16047
- gameplayParameters
16227
+ this.sendCommand(
16228
+ {
16229
+ type: {
16230
+ oneofKind: "playSong",
16231
+ playSong: {
16232
+ gameplayParameters
16233
+ }
16048
16234
  }
16049
- }
16050
- }, userIds);
16235
+ },
16236
+ userIds
16237
+ );
16051
16238
  };
16052
16239
  returnToMenu = (userIds) => {
16053
- this.sendCommand({
16054
- type: {
16055
- oneofKind: "returnToMenu",
16056
- returnToMenu: true
16057
- }
16058
- }, userIds);
16240
+ this.sendCommand(
16241
+ {
16242
+ type: {
16243
+ oneofKind: "returnToMenu",
16244
+ returnToMenu: true
16245
+ }
16246
+ },
16247
+ userIds
16248
+ );
16059
16249
  };
16060
16250
  flipColors = (userIds) => {
16061
- this.sendCommand({
16062
- type: {
16063
- oneofKind: "modifyGameplay",
16064
- modifyGameplay: {
16065
- modifier: 0 /* InvertColors */
16251
+ this.sendCommand(
16252
+ {
16253
+ type: {
16254
+ oneofKind: "modifyGameplay",
16255
+ modifyGameplay: {
16256
+ modifier: 0 /* InvertColors */
16257
+ }
16066
16258
  }
16067
- }
16068
- }, userIds);
16259
+ },
16260
+ userIds
16261
+ );
16069
16262
  };
16070
16263
  flipHands = (userIds) => {
16071
- this.sendCommand({
16072
- type: {
16073
- oneofKind: "modifyGameplay",
16074
- modifyGameplay: {
16075
- modifier: 1 /* InvertHandedness */
16264
+ this.sendCommand(
16265
+ {
16266
+ type: {
16267
+ oneofKind: "modifyGameplay",
16268
+ modifyGameplay: {
16269
+ modifier: 1 /* InvertHandedness */
16270
+ }
16076
16271
  }
16077
- }
16078
- }, userIds);
16272
+ },
16273
+ userIds
16274
+ );
16079
16275
  };
16080
16276
  showLoadedImage = (userIds) => {
16081
- this.sendCommand({
16082
- type: {
16083
- oneofKind: "streamSyncShowImage",
16084
- streamSyncShowImage: true
16085
- }
16086
- }, userIds);
16277
+ this.sendCommand(
16278
+ {
16279
+ type: {
16280
+ oneofKind: "streamSyncShowImage",
16281
+ streamSyncShowImage: true
16282
+ }
16283
+ },
16284
+ userIds
16285
+ );
16087
16286
  };
16088
16287
  delayTestFinished = (userIds) => {
16089
- this.sendCommand({
16090
- type: {
16091
- oneofKind: "delayTestFinish",
16092
- delayTestFinish: true
16093
- }
16094
- }, userIds);
16288
+ this.sendCommand(
16289
+ {
16290
+ type: {
16291
+ oneofKind: "delayTestFinish",
16292
+ delayTestFinish: true
16293
+ }
16294
+ },
16295
+ userIds
16296
+ );
16095
16297
  };
16096
16298
  // --- Requests --- //
16097
16299
  joinTournament = async (tournamentId) => {
@@ -16100,7 +16302,8 @@ var TAClient = class extends CustomEventEmitter {
16100
16302
  oneofKind: "join",
16101
16303
  join: {
16102
16304
  tournamentId,
16103
- password: ""
16305
+ password: "",
16306
+ modList: []
16104
16307
  }
16105
16308
  }
16106
16309
  });
@@ -16126,51 +16329,80 @@ var TAClient = class extends CustomEventEmitter {
16126
16329
  return response[0].response;
16127
16330
  };
16128
16331
  loadSong = async (levelId, userIds, timeout) => {
16129
- const response = await this.sendRequest({
16130
- type: {
16131
- oneofKind: "loadSong",
16132
- loadSong: {
16133
- levelId,
16134
- customHostUrl: ""
16332
+ const response = await this.sendRequest(
16333
+ {
16334
+ type: {
16335
+ oneofKind: "loadSong",
16336
+ loadSong: {
16337
+ levelId,
16338
+ customHostUrl: ""
16339
+ }
16135
16340
  }
16136
- }
16137
- }, userIds, timeout);
16341
+ },
16342
+ userIds,
16343
+ timeout
16344
+ );
16138
16345
  if (response.length <= 0) {
16139
16346
  throw new Error("Server timed out, or no users responded");
16140
16347
  }
16141
16348
  return response;
16142
16349
  };
16143
16350
  loadImage = async (bitmap, userIds) => {
16144
- const response = await this.sendRequest({
16145
- type: {
16146
- oneofKind: "preloadImageForStreamSync",
16147
- preloadImageForStreamSync: {
16148
- fileId: v4_default(),
16149
- data: bitmap,
16150
- compressed: false
16351
+ const response = await this.sendRequest(
16352
+ {
16353
+ type: {
16354
+ oneofKind: "preloadImageForStreamSync",
16355
+ preloadImageForStreamSync: {
16356
+ fileId: v4_default(),
16357
+ data: bitmap,
16358
+ compressed: false
16359
+ }
16151
16360
  }
16152
- }
16153
- }, userIds);
16361
+ },
16362
+ userIds
16363
+ );
16154
16364
  if (response.length <= 0) {
16155
16365
  throw new Error("Server timed out, or no users responded");
16156
16366
  }
16157
16367
  return response;
16158
16368
  };
16159
16369
  showPrompt = async (userIds, titleText, bodyText, canClose, options, timer) => {
16370
+ const response = await this.sendRequest(
16371
+ {
16372
+ type: {
16373
+ oneofKind: "showPrompt",
16374
+ showPrompt: {
16375
+ promptId: v4_default(),
16376
+ messageTitle: titleText,
16377
+ messageText: bodyText,
16378
+ showTimer: !!timer,
16379
+ timeout: timer ?? 0,
16380
+ canClose,
16381
+ options
16382
+ }
16383
+ }
16384
+ },
16385
+ userIds,
16386
+ timer ? timer * 1e3 : timer
16387
+ );
16388
+ if (response.length <= 0) {
16389
+ throw new Error("Server timed out, or no users responded");
16390
+ }
16391
+ return response;
16392
+ };
16393
+ refundAttempts = async (tournamentId, qualifierId, mapId, platformId, count) => {
16160
16394
  const response = await this.sendRequest({
16161
16395
  type: {
16162
- oneofKind: "showPrompt",
16163
- showPrompt: {
16164
- promptId: v4_default(),
16165
- messageTitle: titleText,
16166
- messageText: bodyText,
16167
- showTimer: !!timer,
16168
- timeout: timer ?? 0,
16169
- canClose,
16170
- options
16396
+ oneofKind: "refundAttempts",
16397
+ refundAttempts: {
16398
+ tournamentId,
16399
+ eventId: qualifierId,
16400
+ mapId,
16401
+ platformId,
16402
+ count
16171
16403
  }
16172
16404
  }
16173
- }, userIds, timer ? timer * 1e3 : timer);
16405
+ });
16174
16406
  if (response.length <= 0) {
16175
16407
  throw new Error("Server timed out, or no users responded");
16176
16408
  }
@@ -16190,7 +16422,11 @@ var TAClient = class extends CustomEventEmitter {
16190
16422
  } else if (packet.packet.oneofKind === "request") {
16191
16423
  const request = packet.packet.request;
16192
16424
  if (request.type.oneofKind === "loadSong") {
16193
- this.emit("loadSongRequested", [packet.id, packet.from, request.type.loadSong]);
16425
+ this.emit("loadSongRequested", [
16426
+ packet.id,
16427
+ packet.from,
16428
+ request.type.loadSong
16429
+ ]);
16194
16430
  }
16195
16431
  } else if (packet.packet.oneofKind === "response") {
16196
16432
  const response = packet.packet.response;
@@ -16322,6 +16558,8 @@ var TAClient = class extends CustomEventEmitter {
16322
16558
  this.emit("songFinished", push.data.songFinished);
16323
16559
  } else if (push.data.oneofKind === "realtimeScore") {
16324
16560
  this.emit("realtimeScore", push.data.realtimeScore);
16561
+ } else if (push.data.oneofKind === "qualifierScoreSubmtited") {
16562
+ this.emit("qualifierScoreSubmitted", push.data.qualifierScoreSubmtited);
16325
16563
  }
16326
16564
  }
16327
16565
  };
@@ -17110,6 +17348,7 @@ export {
17110
17348
  Request_LoadSong,
17111
17349
  Request_PreloadImageForStreamSync,
17112
17350
  Request_QualifierScores,
17351
+ Request_RefundAttempts,
17113
17352
  Request_RemainingAttempts,
17114
17353
  Request_RemoveAuthorizedUser,
17115
17354
  Request_RemoveAuthorizedUserPermission,
@@ -17166,6 +17405,7 @@ export {
17166
17405
  Response_LeaderboardEntries,
17167
17406
  Response_LoadSong,
17168
17407
  Response_PreloadImageForStreamSync,
17408
+ Response_RefundAttempts,
17169
17409
  Response_RemainingAttempts,
17170
17410
  Response_RemoveAuthorizedUser,
17171
17411
  Response_ResponseType,
@@ -363,6 +363,12 @@ export interface Request {
363
363
  * @generated from protobuf field: proto.packets.Request.RevokeBotToken revoke_bot_token = 57;
364
364
  */
365
365
  revokeBotToken: Request_RevokeBotToken;
366
+ } | {
367
+ oneofKind: "refundAttempts";
368
+ /**
369
+ * @generated from protobuf field: proto.packets.Request.RefundAttempts refund_attempts = 58;
370
+ */
371
+ refundAttempts: Request_RefundAttempts;
366
372
  } | {
367
373
  oneofKind: undefined;
368
374
  };
@@ -1061,6 +1067,10 @@ export interface Request_Join {
1061
1067
  * @generated from protobuf field: string password = 2;
1062
1068
  */
1063
1069
  password: string;
1070
+ /**
1071
+ * @generated from protobuf field: repeated string mod_list = 3;
1072
+ */
1073
+ modList: string[];
1064
1074
  }
1065
1075
  /**
1066
1076
  * @generated from protobuf message proto.packets.Request.QualifierScores
@@ -1216,6 +1226,31 @@ export interface Request_RevokeBotToken {
1216
1226
  */
1217
1227
  botTokenGuid: string;
1218
1228
  }
1229
+ /**
1230
+ * @generated from protobuf message proto.packets.Request.RefundAttempts
1231
+ */
1232
+ export interface Request_RefundAttempts {
1233
+ /**
1234
+ * @generated from protobuf field: string tournament_id = 1;
1235
+ */
1236
+ tournamentId: string;
1237
+ /**
1238
+ * @generated from protobuf field: string event_id = 2;
1239
+ */
1240
+ eventId: string;
1241
+ /**
1242
+ * @generated from protobuf field: string map_id = 3;
1243
+ */
1244
+ mapId: string;
1245
+ /**
1246
+ * @generated from protobuf field: string platform_id = 4;
1247
+ */
1248
+ platformId: string;
1249
+ /**
1250
+ * @generated from protobuf field: int32 count = 5;
1251
+ */
1252
+ count: number;
1253
+ }
1219
1254
  declare class Request$Type extends MessageType<Request> {
1220
1255
  constructor();
1221
1256
  create(value?: PartialMessage<Request>): Request;
@@ -1796,4 +1831,14 @@ declare class Request_RevokeBotToken$Type extends MessageType<Request_RevokeBotT
1796
1831
  * @generated MessageType for protobuf message proto.packets.Request.RevokeBotToken
1797
1832
  */
1798
1833
  export declare const Request_RevokeBotToken: Request_RevokeBotToken$Type;
1834
+ declare class Request_RefundAttempts$Type extends MessageType<Request_RefundAttempts> {
1835
+ constructor();
1836
+ create(value?: PartialMessage<Request_RefundAttempts>): Request_RefundAttempts;
1837
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_RefundAttempts): Request_RefundAttempts;
1838
+ internalBinaryWrite(message: Request_RefundAttempts, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1839
+ }
1840
+ /**
1841
+ * @generated MessageType for protobuf message proto.packets.Request.RefundAttempts
1842
+ */
1843
+ export declare const Request_RefundAttempts: Request_RefundAttempts$Type;
1799
1844
  export {};