client_plugin_logic_deb 1.8.363 → 1.8.365

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.
@@ -380,7 +380,7 @@
380
380
  function addFormatStructureForTime(structure) {
381
381
  this.q5z(structure);
382
382
  }
383
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
383
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
384
384
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
385
385
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
386
386
  function set_fractionOfSecond(value) {
@@ -2505,12 +2505,12 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
2505
2505
  constructor(originalRoomMode: games.jass.logic.data.models.table.config.RoomMode, previousPlayers: Nullable<kotlin.collections.KtList<string>>);
2506
2506
  get originalRoomMode(): games.jass.logic.data.models.table.config.RoomMode;
2507
2507
  get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
2508
+ get readyPlayerIdsArray(): Array<string>;
2508
2509
  copy(originalRoomMode?: games.jass.logic.data.models.table.config.RoomMode, previousPlayers?: Nullable<kotlin.collections.KtList<string>>): games.jass.logic.redux.actions.mechanic.RevengeRoomTransition;
2509
2510
  toString(): string;
2510
2511
  hashCode(): number;
2511
2512
  equals(other: Nullable<any>): boolean;
2512
2513
  get isEnableChoosePartnerScreen(): boolean;
2513
- get readyPlayerIdsArray(): Array<string>;
2514
2514
  readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.GameTransition["__doNotUseOrImplementIt"];
2515
2515
  }
2516
2516
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -2518,13 +2518,13 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
2518
2518
  const constructor: abstract new () => RevengeRoomTransition;
2519
2519
  }
2520
2520
  class GameToRoomTransition implements games.jass.logic.redux.actions.mechanic.GameTransition {
2521
- constructor(roomId: string, playerIds: Nullable<kotlin.collections.KtList<string>>, previousPlayers: Nullable<kotlin.collections.KtList<string>>);
2521
+ constructor(roomId: string, playerIds: kotlin.collections.KtList<string>, previousPlayers: kotlin.collections.KtList<string>);
2522
2522
  get roomId(): string;
2523
- get playerIds(): Nullable<kotlin.collections.KtList<string>>;
2524
- get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
2523
+ get playerIds(): kotlin.collections.KtList<string>;
2524
+ get previousPlayers(): kotlin.collections.KtList<string>;
2525
2525
  get isEnableChoosePartnerScreen(): boolean;
2526
2526
  get readyPlayerIdsArray(): Array<string>;
2527
- copy(roomId?: string, playerIds?: Nullable<kotlin.collections.KtList<string>>, previousPlayers?: Nullable<kotlin.collections.KtList<string>>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
2527
+ copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>, previousPlayers?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
2528
2528
  toString(): string;
2529
2529
  hashCode(): number;
2530
2530
  equals(other: Nullable<any>): boolean;
@@ -2661,11 +2661,11 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
2661
2661
  notValidateWhenFinished(): boolean;
2662
2662
  notValidateWhenFinishing(): boolean;
2663
2663
  toString(): string;
2664
+ get playerId(): string;
2664
2665
  copy(currentTurnPlayerId?: Nullable<string>, sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.SceneMechanicAction;
2665
2666
  hashCode(): number;
2666
2667
  equals(other: Nullable<any>): boolean;
2667
2668
  get actionTag(): string;
2668
- get playerId(): string;
2669
2669
  readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.NavigationMechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.ReleaseBufferTriggerAction["__doNotUseOrImplementIt"] & com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
2670
2670
  }
2671
2671
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -415,7 +415,7 @@
415
415
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
416
416
  //endregion
417
417
  function GameEngineConfig() {
418
- this.version = '1.8.363';
418
+ this.version = '1.8.365';
419
419
  }
420
420
  protoOf(GameEngineConfig).e3y = function () {
421
421
  return this.version;
@@ -1246,10 +1246,6 @@
1246
1246
  function get_isEnableChoosePartnerScreen() {
1247
1247
  return false;
1248
1248
  }
1249
- function get_readyPlayerIdsArray() {
1250
- // Inline function 'kotlin.emptyArray' call
1251
- return [];
1252
- }
1253
1249
  initMetadataForInterface(GameTransition, 'GameTransition');
1254
1250
  initMetadataForClass(RevengeRoomTransition, 'RevengeRoomTransition', VOID, VOID, [GameTransition]);
1255
1251
  initMetadataForClass(GameToRoomTransition, 'GameToRoomTransition', VOID, VOID, [GameTransition]);
@@ -1264,22 +1260,6 @@
1264
1260
  initMetadataForInterface(NavigationMechanicAction, 'NavigationMechanicAction', VOID, VOID, [Action]);
1265
1261
  initMetadataForInterface(NextPlayerTurnAction, 'NextPlayerTurnAction', VOID, VOID, [Action, ReleaseBufferTriggerAction]);
1266
1262
  initMetadataForInterface(PlayerTurnAnswerAction, 'PlayerTurnAnswerAction', VOID, VOID, [Action]);
1267
- function get_playerId_0() {
1268
- // Inline function 'kotlin.requireNotNull' call
1269
- var tmp0 = this.j9e();
1270
- var tmp$ret$1;
1271
- $l$block: {
1272
- // Inline function 'kotlin.requireNotNull' call
1273
- if (tmp0 == null) {
1274
- var message = 'Required value was null.';
1275
- throw IllegalArgumentException_init_$Create$(toString(message));
1276
- } else {
1277
- tmp$ret$1 = tmp0;
1278
- break $l$block;
1279
- }
1280
- }
1281
- return tmp$ret$1;
1282
- }
1283
1263
  initMetadataForInterface(PlayerTurnIdAnswerAction, 'PlayerTurnIdAnswerAction', VOID, VOID, [PlayerTurnAnswerAction, ReleaseBufferTriggerAction, PlayerIdContract]);
1284
1264
  initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, NextPlayerTurnAction, PlayerTurnIdAnswerAction, ReleaseBufferTriggerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
1285
1265
  initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
@@ -12376,8 +12356,8 @@
12376
12356
  var tmp1_output = encoder.or(tmp0_desc);
12377
12357
  var tmp2_cached = Companion_getInstance_49().b7o_1;
12378
12358
  tmp1_output.dt(tmp0_desc, 0, value.e7o_1);
12379
- tmp1_output.ht(tmp0_desc, 1, tmp2_cached[1].w(), value.f7o_1);
12380
- tmp1_output.ht(tmp0_desc, 2, tmp2_cached[2].w(), value.g7o_1);
12359
+ tmp1_output.ft(tmp0_desc, 1, tmp2_cached[1].w(), value.f7o_1);
12360
+ tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].w(), value.g7o_1);
12381
12361
  tmp1_output.pr(tmp0_desc);
12382
12362
  };
12383
12363
  protoOf($serializer_12).co = function (encoder, value) {
@@ -12396,9 +12376,9 @@
12396
12376
  if (tmp7_input.es()) {
12397
12377
  tmp4_local0 = tmp7_input.yr(tmp0_desc, 0);
12398
12378
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
12399
- tmp5_local1 = tmp7_input.cs(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
12379
+ tmp5_local1 = tmp7_input.as(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
12400
12380
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
12401
- tmp6_local2 = tmp7_input.cs(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
12381
+ tmp6_local2 = tmp7_input.as(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
12402
12382
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
12403
12383
  } else
12404
12384
  while (tmp1_flag) {
@@ -12412,11 +12392,11 @@
12412
12392
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
12413
12393
  break;
12414
12394
  case 1:
12415
- tmp5_local1 = tmp7_input.cs(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
12395
+ tmp5_local1 = tmp7_input.as(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
12416
12396
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
12417
12397
  break;
12418
12398
  case 2:
12419
- tmp6_local2 = tmp7_input.cs(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
12399
+ tmp6_local2 = tmp7_input.as(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
12420
12400
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
12421
12401
  break;
12422
12402
  default:
@@ -12434,7 +12414,7 @@
12434
12414
  // Inline function 'kotlin.arrayOf' call
12435
12415
  // Inline function 'kotlin.js.unsafeCast' call
12436
12416
  // Inline function 'kotlin.js.asDynamic' call
12437
- return [StringSerializer_getInstance(), get_nullable(tmp0_cached[1].w()), get_nullable(tmp0_cached[2].w())];
12417
+ return [StringSerializer_getInstance(), tmp0_cached[1].w(), tmp0_cached[2].w()];
12438
12418
  };
12439
12419
  var $serializer_instance_12;
12440
12420
  function $serializer_getInstance_15() {
@@ -12461,12 +12441,12 @@
12461
12441
  this.g7o_1 = previousPlayers;
12462
12442
  }
12463
12443
  protoOf(GameToRoomTransitionDto).toString = function () {
12464
- return 'GameToRoomTransitionDto(roomId=' + this.e7o_1 + ', playerIds=' + toString_0(this.f7o_1) + ', previousPlayers=' + toString_0(this.g7o_1) + ')';
12444
+ return 'GameToRoomTransitionDto(roomId=' + this.e7o_1 + ', playerIds=' + toString(this.f7o_1) + ', previousPlayers=' + toString(this.g7o_1) + ')';
12465
12445
  };
12466
12446
  protoOf(GameToRoomTransitionDto).hashCode = function () {
12467
12447
  var result = getStringHashCode(this.e7o_1);
12468
- result = imul(result, 31) + (this.f7o_1 == null ? 0 : hashCode(this.f7o_1)) | 0;
12469
- result = imul(result, 31) + (this.g7o_1 == null ? 0 : hashCode(this.g7o_1)) | 0;
12448
+ result = imul(result, 31) + hashCode(this.f7o_1) | 0;
12449
+ result = imul(result, 31) + hashCode(this.g7o_1) | 0;
12470
12450
  return result;
12471
12451
  };
12472
12452
  protoOf(GameToRoomTransitionDto).equals = function (other) {
@@ -52910,6 +52890,10 @@
52910
52890
  protoOf(RevengeRoomTransition).s9d = function () {
52911
52891
  return this.h6w_1;
52912
52892
  };
52893
+ protoOf(RevengeRoomTransition).t9d = function () {
52894
+ // Inline function 'kotlin.emptyArray' call
52895
+ return [];
52896
+ };
52913
52897
  protoOf(RevengeRoomTransition).ne = function () {
52914
52898
  return this.originalRoomMode;
52915
52899
  };
@@ -52961,23 +52945,9 @@
52961
52945
  return true;
52962
52946
  };
52963
52947
  protoOf(GameToRoomTransition).t9d = function () {
52964
- var tmp0_safe_receiver = this.playerIds;
52965
- var tmp;
52966
- if (tmp0_safe_receiver == null) {
52967
- tmp = null;
52968
- } else {
52969
- // Inline function 'kotlin.collections.toTypedArray' call
52970
- tmp = copyToArray(tmp0_safe_receiver);
52971
- }
52972
- var tmp1_elvis_lhs = tmp;
52973
- var tmp_0;
52974
- if (tmp1_elvis_lhs == null) {
52975
- // Inline function 'kotlin.emptyArray' call
52976
- tmp_0 = [];
52977
- } else {
52978
- tmp_0 = tmp1_elvis_lhs;
52979
- }
52980
- return tmp_0;
52948
+ // Inline function 'kotlin.collections.toTypedArray' call
52949
+ var this_0 = this.playerIds;
52950
+ return copyToArray(this_0);
52981
52951
  };
52982
52952
  protoOf(GameToRoomTransition).ne = function () {
52983
52953
  return this.roomId;
@@ -52998,12 +52968,12 @@
52998
52968
  return $super === VOID ? this.y9d(roomId, playerIds, previousPlayers) : $super.y9d.call(this, roomId, playerIds, previousPlayers);
52999
52969
  };
53000
52970
  protoOf(GameToRoomTransition).toString = function () {
53001
- return 'GameToRoomTransition(roomId=' + this.roomId + ', playerIds=' + toString_0(this.playerIds) + ', previousPlayers=' + toString_0(this.u8g_1) + ')';
52971
+ return 'GameToRoomTransition(roomId=' + this.roomId + ', playerIds=' + toString(this.playerIds) + ', previousPlayers=' + toString(this.u8g_1) + ')';
53002
52972
  };
53003
52973
  protoOf(GameToRoomTransition).hashCode = function () {
53004
52974
  var result = getStringHashCode(this.roomId);
53005
- result = imul(result, 31) + (this.playerIds == null ? 0 : hashCode(this.playerIds)) | 0;
53006
- result = imul(result, 31) + (this.u8g_1 == null ? 0 : hashCode(this.u8g_1)) | 0;
52975
+ result = imul(result, 31) + hashCode(this.playerIds) | 0;
52976
+ result = imul(result, 31) + hashCode(this.u8g_1) | 0;
53007
52977
  return result;
53008
52978
  };
53009
52979
  protoOf(GameToRoomTransition).equals = function (other) {
@@ -53543,6 +53513,22 @@
53543
53513
  }
53544
53514
  return emptyList();
53545
53515
  };
53516
+ protoOf(SceneMechanicAction).f6d = function () {
53517
+ // Inline function 'kotlin.requireNotNull' call
53518
+ var tmp0 = this.g89_1;
53519
+ var tmp$ret$1;
53520
+ $l$block: {
53521
+ // Inline function 'kotlin.requireNotNull' call
53522
+ if (tmp0 == null) {
53523
+ var message = 'Required value was null.';
53524
+ throw IllegalArgumentException_init_$Create$(toString(message));
53525
+ } else {
53526
+ tmp$ret$1 = tmp0;
53527
+ break $l$block;
53528
+ }
53529
+ }
53530
+ return tmp$ret$1;
53531
+ };
53546
53532
  protoOf(SceneMechanicAction).ne = function () {
53547
53533
  return this.g89_1;
53548
53534
  };
@@ -53954,6 +53940,9 @@
53954
53940
  protoOf(CombinationChoiceMechanicAction).t6m = function () {
53955
53941
  return true;
53956
53942
  };
53943
+ protoOf(CombinationChoiceMechanicAction).f6d = function () {
53944
+ return this.d8a_1;
53945
+ };
53957
53946
  protoOf(CombinationChoiceMechanicAction).toString = function () {
53958
53947
  return 'CombinationChoiceMechanicAction(isAnnounced=' + this.b8a_1 + ', combinations=' + toString(this.c8a_1) + ', currentTurnPlayerId=' + this.d8a_1 + ', aid=' + this.e8a_1 + ')';
53959
53948
  };
@@ -54119,6 +54108,9 @@
54119
54108
  protoOf(PutCardMechanicAction).s9e = function (sceneId) {
54120
54109
  return 'EARN_POINTS' === sceneId;
54121
54110
  };
54111
+ protoOf(PutCardMechanicAction).f6d = function () {
54112
+ return this.h8a_1;
54113
+ };
54122
54114
  protoOf(PutCardMechanicAction).toString = function () {
54123
54115
  var tmp = "currentTurnPlayerId='" + this.h8a_1 + "'";
54124
54116
  // Inline function 'kotlin.takeIf' call
@@ -54206,6 +54198,9 @@
54206
54198
  protoOf(SuitChoiceMechanicAction).t9c = function () {
54207
54199
  return this.y89_1;
54208
54200
  };
54201
+ protoOf(SuitChoiceMechanicAction).f6d = function () {
54202
+ return this.w89_1;
54203
+ };
54209
54204
  protoOf(SuitChoiceMechanicAction).s9e = function (sceneId) {
54210
54205
  return 'TRADE' === sceneId;
54211
54206
  };
@@ -54335,6 +54330,9 @@
54335
54330
  protoOf(PlayerReadyMechanicAction).s9e = function (sceneId) {
54336
54331
  return listOf('CALC_POINTS').t1(sceneId);
54337
54332
  };
54333
+ protoOf(PlayerReadyMechanicAction).f6d = function () {
54334
+ return this.s89_1;
54335
+ };
54338
54336
  protoOf(PlayerReadyMechanicAction).toString = function () {
54339
54337
  return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.s89_1 + ', aid=' + this.t89_1 + ')';
54340
54338
  };
@@ -63433,16 +63431,15 @@
63433
63431
  return this.r6m();
63434
63432
  });
63435
63433
  protoOf(RevengeRoomTransition).g8x = get_isEnableChoosePartnerScreen;
63436
- protoOf(RevengeRoomTransition).t9d = get_readyPlayerIdsArray;
63437
63434
  defineProp(protoOf(RevengeRoomTransition), 'previousPlayers', function () {
63438
63435
  return this.s9d();
63439
63436
  });
63440
- defineProp(protoOf(RevengeRoomTransition), 'isEnableChoosePartnerScreen', function () {
63441
- return this.g8x();
63442
- });
63443
63437
  defineProp(protoOf(RevengeRoomTransition), 'readyPlayerIdsArray', function () {
63444
63438
  return this.t9d();
63445
63439
  });
63440
+ defineProp(protoOf(RevengeRoomTransition), 'isEnableChoosePartnerScreen', function () {
63441
+ return this.g8x();
63442
+ });
63446
63443
  defineProp(protoOf(GameToRoomTransition), 'previousPlayers', function () {
63447
63444
  return this.s9d();
63448
63445
  });
@@ -63506,7 +63503,6 @@
63506
63503
  defineProp(protoOf(FinishGameMechanicAction), 'actionTag', function () {
63507
63504
  return this.r6m();
63508
63505
  });
63509
- protoOf(SceneMechanicAction).f6d = get_playerId_0;
63510
63506
  defineProp(protoOf(SceneMechanicAction), 'sceneId', function () {
63511
63507
  return this.k7j();
63512
63508
  });
@@ -63516,6 +63512,9 @@
63516
63512
  defineProp(protoOf(SceneMechanicAction), 'actData', function () {
63517
63513
  return this.i9e();
63518
63514
  });
63515
+ defineProp(protoOf(SceneMechanicAction), 'playerId', function () {
63516
+ return this.f6d();
63517
+ });
63519
63518
  defineProp(protoOf(SceneMechanicAction), 'actionTag', function () {
63520
63519
  return this.r6m();
63521
63520
  });
@@ -63551,9 +63550,11 @@
63551
63550
  defineProp(protoOf(TrumpMechanicAction), 'actionTag', function () {
63552
63551
  return this.r6m();
63553
63552
  });
63554
- protoOf(CombinationChoiceMechanicAction).f6d = get_playerId_0;
63555
63553
  protoOf(CombinationChoiceMechanicAction).u6m = waitForExpectantAnimation;
63556
63554
  protoOf(CombinationChoiceMechanicAction).v6m = get_isAutoStartTimer;
63555
+ defineProp(protoOf(CombinationChoiceMechanicAction), 'playerId', function () {
63556
+ return this.f6d();
63557
+ });
63557
63558
  defineProp(protoOf(CombinationChoiceMechanicAction), 'actionTag', function () {
63558
63559
  return this.r6m();
63559
63560
  });
@@ -63589,11 +63590,15 @@
63589
63590
  defineProp(protoOf(ErrorAction), 'actionTag', function () {
63590
63591
  return this.r6m();
63591
63592
  });
63592
- protoOf(PutCardMechanicAction).f6d = get_playerId_0;
63593
+ defineProp(protoOf(PutCardMechanicAction), 'playerId', function () {
63594
+ return this.f6d();
63595
+ });
63593
63596
  defineProp(protoOf(PutCardMechanicAction), 'actionTag', function () {
63594
63597
  return this.r6m();
63595
63598
  });
63596
- protoOf(SuitChoiceMechanicAction).f6d = get_playerId_0;
63599
+ defineProp(protoOf(SuitChoiceMechanicAction), 'playerId', function () {
63600
+ return this.f6d();
63601
+ });
63597
63602
  defineProp(protoOf(SuitChoiceMechanicAction), 'actionTag', function () {
63598
63603
  return this.r6m();
63599
63604
  });
@@ -63612,7 +63617,9 @@
63612
63617
  defineProp(protoOf(SceneActMechanicAction), 'actionTag', function () {
63613
63618
  return this.r6m();
63614
63619
  });
63615
- protoOf(PlayerReadyMechanicAction).f6d = get_playerId_0;
63620
+ defineProp(protoOf(PlayerReadyMechanicAction), 'playerId', function () {
63621
+ return this.f6d();
63622
+ });
63616
63623
  defineProp(protoOf(PlayerReadyMechanicAction), 'actionTag', function () {
63617
63624
  return this.r6m();
63618
63625
  });