raspberry_games_server_game_logic 1.8.364 → 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.t5k(structure);
382
382
  }
383
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
383
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
384
384
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
385
385
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
386
386
  function set_fractionOfSecond(value) {
@@ -380,7 +380,7 @@
380
380
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
381
381
  //endregion
382
382
  function GameEngineConfig() {
383
- this.version = '1.8.364';
383
+ this.version = '1.8.365';
384
384
  }
385
385
  protoOf(GameEngineConfig).y3v = function () {
386
386
  return this.version;
@@ -1135,10 +1135,6 @@
1135
1135
  function get_isEnableChoosePartnerScreen() {
1136
1136
  return false;
1137
1137
  }
1138
- function get_readyPlayerIdsArray() {
1139
- // Inline function 'kotlin.emptyArray' call
1140
- return [];
1141
- }
1142
1138
  initMetadataForInterface(GameTransition, 'GameTransition');
1143
1139
  initMetadataForClass(RevengeRoomTransition, 'RevengeRoomTransition', VOID, VOID, [GameTransition]);
1144
1140
  initMetadataForClass(GameToRoomTransition, 'GameToRoomTransition', VOID, VOID, [GameTransition]);
@@ -1153,22 +1149,6 @@
1153
1149
  initMetadataForInterface(NavigationMechanicAction, 'NavigationMechanicAction', VOID, VOID, [Action]);
1154
1150
  initMetadataForInterface(NextPlayerTurnAction, 'NextPlayerTurnAction', VOID, VOID, [Action, ReleaseBufferTriggerAction]);
1155
1151
  initMetadataForInterface(PlayerTurnAnswerAction, 'PlayerTurnAnswerAction', VOID, VOID, [Action]);
1156
- function get_playerId_0() {
1157
- // Inline function 'kotlin.requireNotNull' call
1158
- var tmp0 = this.h8w();
1159
- var tmp$ret$1;
1160
- $l$block: {
1161
- // Inline function 'kotlin.requireNotNull' call
1162
- if (tmp0 == null) {
1163
- var message = 'Required value was null.';
1164
- throw IllegalArgumentException_init_$Create$(toString(message));
1165
- } else {
1166
- tmp$ret$1 = tmp0;
1167
- break $l$block;
1168
- }
1169
- }
1170
- return tmp$ret$1;
1171
- }
1172
1152
  initMetadataForInterface(PlayerTurnIdAnswerAction, 'PlayerTurnIdAnswerAction', VOID, VOID, [PlayerTurnAnswerAction, ReleaseBufferTriggerAction, PlayerIdContract]);
1173
1153
  initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, NextPlayerTurnAction, PlayerTurnIdAnswerAction, ReleaseBufferTriggerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
1174
1154
  initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
@@ -10938,8 +10918,8 @@
10938
10918
  var tmp1_output = encoder.or(tmp0_desc);
10939
10919
  var tmp2_cached = Companion_getInstance_43().c7c_1;
10940
10920
  tmp1_output.dt(tmp0_desc, 0, value.f7c_1);
10941
- tmp1_output.ht(tmp0_desc, 1, tmp2_cached[1].w(), value.g7c_1);
10942
- tmp1_output.ht(tmp0_desc, 2, tmp2_cached[2].w(), value.h7c_1);
10921
+ tmp1_output.ft(tmp0_desc, 1, tmp2_cached[1].w(), value.g7c_1);
10922
+ tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].w(), value.h7c_1);
10943
10923
  tmp1_output.pr(tmp0_desc);
10944
10924
  };
10945
10925
  protoOf($serializer_7).co = function (encoder, value) {
@@ -10958,9 +10938,9 @@
10958
10938
  if (tmp7_input.es()) {
10959
10939
  tmp4_local0 = tmp7_input.yr(tmp0_desc, 0);
10960
10940
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
10961
- tmp5_local1 = tmp7_input.cs(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
10941
+ tmp5_local1 = tmp7_input.as(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
10962
10942
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
10963
- tmp6_local2 = tmp7_input.cs(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
10943
+ tmp6_local2 = tmp7_input.as(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
10964
10944
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
10965
10945
  } else
10966
10946
  while (tmp1_flag) {
@@ -10974,11 +10954,11 @@
10974
10954
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
10975
10955
  break;
10976
10956
  case 1:
10977
- tmp5_local1 = tmp7_input.cs(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
10957
+ tmp5_local1 = tmp7_input.as(tmp0_desc, 1, tmp8_cached[1].w(), tmp5_local1);
10978
10958
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
10979
10959
  break;
10980
10960
  case 2:
10981
- tmp6_local2 = tmp7_input.cs(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
10961
+ tmp6_local2 = tmp7_input.as(tmp0_desc, 2, tmp8_cached[2].w(), tmp6_local2);
10982
10962
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
10983
10963
  break;
10984
10964
  default:
@@ -10996,7 +10976,7 @@
10996
10976
  // Inline function 'kotlin.arrayOf' call
10997
10977
  // Inline function 'kotlin.js.unsafeCast' call
10998
10978
  // Inline function 'kotlin.js.asDynamic' call
10999
- return [StringSerializer_getInstance(), get_nullable(tmp0_cached[1].w()), get_nullable(tmp0_cached[2].w())];
10979
+ return [StringSerializer_getInstance(), tmp0_cached[1].w(), tmp0_cached[2].w()];
11000
10980
  };
11001
10981
  var $serializer_instance_7;
11002
10982
  function $serializer_getInstance_10() {
@@ -11023,12 +11003,12 @@
11023
11003
  this.h7c_1 = previousPlayers;
11024
11004
  }
11025
11005
  protoOf(GameToRoomTransitionDto).toString = function () {
11026
- return 'GameToRoomTransitionDto(roomId=' + this.f7c_1 + ', playerIds=' + toString_0(this.g7c_1) + ', previousPlayers=' + toString_0(this.h7c_1) + ')';
11006
+ return 'GameToRoomTransitionDto(roomId=' + this.f7c_1 + ', playerIds=' + toString(this.g7c_1) + ', previousPlayers=' + toString(this.h7c_1) + ')';
11027
11007
  };
11028
11008
  protoOf(GameToRoomTransitionDto).hashCode = function () {
11029
11009
  var result = getStringHashCode(this.f7c_1);
11030
- result = imul(result, 31) + (this.g7c_1 == null ? 0 : hashCode(this.g7c_1)) | 0;
11031
- result = imul(result, 31) + (this.h7c_1 == null ? 0 : hashCode(this.h7c_1)) | 0;
11010
+ result = imul(result, 31) + hashCode(this.g7c_1) | 0;
11011
+ result = imul(result, 31) + hashCode(this.h7c_1) | 0;
11032
11012
  return result;
11033
11013
  };
11034
11014
  protoOf(GameToRoomTransitionDto).equals = function (other) {
@@ -47188,6 +47168,10 @@
47188
47168
  protoOf(RevengeRoomTransition).q8v = function () {
47189
47169
  return this.d6n_1;
47190
47170
  };
47171
+ protoOf(RevengeRoomTransition).r8v = function () {
47172
+ // Inline function 'kotlin.emptyArray' call
47173
+ return [];
47174
+ };
47191
47175
  protoOf(RevengeRoomTransition).ne = function () {
47192
47176
  return this.originalRoomMode;
47193
47177
  };
@@ -47239,23 +47223,9 @@
47239
47223
  return true;
47240
47224
  };
47241
47225
  protoOf(GameToRoomTransition).r8v = function () {
47242
- var tmp0_safe_receiver = this.playerIds;
47243
- var tmp;
47244
- if (tmp0_safe_receiver == null) {
47245
- tmp = null;
47246
- } else {
47247
- // Inline function 'kotlin.collections.toTypedArray' call
47248
- tmp = copyToArray(tmp0_safe_receiver);
47249
- }
47250
- var tmp1_elvis_lhs = tmp;
47251
- var tmp_0;
47252
- if (tmp1_elvis_lhs == null) {
47253
- // Inline function 'kotlin.emptyArray' call
47254
- tmp_0 = [];
47255
- } else {
47256
- tmp_0 = tmp1_elvis_lhs;
47257
- }
47258
- return tmp_0;
47226
+ // Inline function 'kotlin.collections.toTypedArray' call
47227
+ var this_0 = this.playerIds;
47228
+ return copyToArray(this_0);
47259
47229
  };
47260
47230
  protoOf(GameToRoomTransition).ne = function () {
47261
47231
  return this.roomId;
@@ -47276,12 +47246,12 @@
47276
47246
  return $super === VOID ? this.w8v(roomId, playerIds, previousPlayers) : $super.w8v.call(this, roomId, playerIds, previousPlayers);
47277
47247
  };
47278
47248
  protoOf(GameToRoomTransition).toString = function () {
47279
- return 'GameToRoomTransition(roomId=' + this.roomId + ', playerIds=' + toString_0(this.playerIds) + ', previousPlayers=' + toString_0(this.k7x_1) + ')';
47249
+ return 'GameToRoomTransition(roomId=' + this.roomId + ', playerIds=' + toString(this.playerIds) + ', previousPlayers=' + toString(this.k7x_1) + ')';
47280
47250
  };
47281
47251
  protoOf(GameToRoomTransition).hashCode = function () {
47282
47252
  var result = getStringHashCode(this.roomId);
47283
- result = imul(result, 31) + (this.playerIds == null ? 0 : hashCode(this.playerIds)) | 0;
47284
- result = imul(result, 31) + (this.k7x_1 == null ? 0 : hashCode(this.k7x_1)) | 0;
47253
+ result = imul(result, 31) + hashCode(this.playerIds) | 0;
47254
+ result = imul(result, 31) + hashCode(this.k7x_1) | 0;
47285
47255
  return result;
47286
47256
  };
47287
47257
  protoOf(GameToRoomTransition).equals = function (other) {
@@ -47821,6 +47791,22 @@
47821
47791
  }
47822
47792
  return emptyList();
47823
47793
  };
47794
+ protoOf(SceneMechanicAction).t65 = function () {
47795
+ // Inline function 'kotlin.requireNotNull' call
47796
+ var tmp0 = this.m8p_1;
47797
+ var tmp$ret$1;
47798
+ $l$block: {
47799
+ // Inline function 'kotlin.requireNotNull' call
47800
+ if (tmp0 == null) {
47801
+ var message = 'Required value was null.';
47802
+ throw IllegalArgumentException_init_$Create$(toString(message));
47803
+ } else {
47804
+ tmp$ret$1 = tmp0;
47805
+ break $l$block;
47806
+ }
47807
+ }
47808
+ return tmp$ret$1;
47809
+ };
47824
47810
  protoOf(SceneMechanicAction).ne = function () {
47825
47811
  return this.m8p_1;
47826
47812
  };
@@ -48247,6 +48233,9 @@
48247
48233
  protoOf(PlayerReadyMechanicAction).e8t = function () {
48248
48234
  return this.r8u_1;
48249
48235
  };
48236
+ protoOf(PlayerReadyMechanicAction).t65 = function () {
48237
+ return this.q8u_1;
48238
+ };
48250
48239
  protoOf(PlayerReadyMechanicAction).toString = function () {
48251
48240
  return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.q8u_1 + ', aid=' + this.r8u_1 + ')';
48252
48241
  };
@@ -48285,6 +48274,9 @@
48285
48274
  protoOf(SuitChoiceMechanicAction).e8t = function () {
48286
48275
  return this.v8p_1;
48287
48276
  };
48277
+ protoOf(SuitChoiceMechanicAction).t65 = function () {
48278
+ return this.t8p_1;
48279
+ };
48288
48280
  protoOf(SuitChoiceMechanicAction).toString = function () {
48289
48281
  return 'SuitChoiceMechanicAction(suit=' + toString_0(this.r8p_1) + ', ' + ('restartRound=' + this.s8p_1 + ', ') + ("currentTurnPlayerId='" + this.t8p_1 + "', ") + ("playerId='" + this.playerId + "', ") + ('nextTurnPlayerIds=' + toString(this.u8p_1) + ', ') + ('aid=' + this.v8p_1 + ')');
48290
48282
  };
@@ -48355,6 +48347,9 @@
48355
48347
  protoOf(CombinationChoiceMechanicAction).e8t = function () {
48356
48348
  return this.x8u_1;
48357
48349
  };
48350
+ protoOf(CombinationChoiceMechanicAction).t65 = function () {
48351
+ return this.w8u_1;
48352
+ };
48358
48353
  protoOf(CombinationChoiceMechanicAction).toString = function () {
48359
48354
  return 'CombinationChoiceMechanicAction(isAnnounced=' + this.u8u_1 + ', combinations=' + toString(this.v8u_1) + ', currentTurnPlayerId=' + this.w8u_1 + ', aid=' + this.x8u_1 + ')';
48360
48355
  };
@@ -48399,6 +48394,9 @@
48399
48394
  protoOf(PutCardMechanicAction).e8t = function () {
48400
48395
  return this.a8q_1;
48401
48396
  };
48397
+ protoOf(PutCardMechanicAction).t65 = function () {
48398
+ return this.y8p_1;
48399
+ };
48402
48400
  protoOf(PutCardMechanicAction).toString = function () {
48403
48401
  var tmp = "currentTurnPlayerId='" + this.y8p_1 + "'";
48404
48402
  // Inline function 'kotlin.takeIf' call
@@ -57570,16 +57568,15 @@
57570
57568
  return this.v6e();
57571
57569
  });
57572
57570
  protoOf(RevengeRoomTransition).b8d = get_isEnableChoosePartnerScreen;
57573
- protoOf(RevengeRoomTransition).r8v = get_readyPlayerIdsArray;
57574
57571
  defineProp(protoOf(RevengeRoomTransition), 'previousPlayers', function () {
57575
57572
  return this.q8v();
57576
57573
  });
57577
- defineProp(protoOf(RevengeRoomTransition), 'isEnableChoosePartnerScreen', function () {
57578
- return this.b8d();
57579
- });
57580
57574
  defineProp(protoOf(RevengeRoomTransition), 'readyPlayerIdsArray', function () {
57581
57575
  return this.r8v();
57582
57576
  });
57577
+ defineProp(protoOf(RevengeRoomTransition), 'isEnableChoosePartnerScreen', function () {
57578
+ return this.b8d();
57579
+ });
57583
57580
  defineProp(protoOf(GameToRoomTransition), 'previousPlayers', function () {
57584
57581
  return this.q8v();
57585
57582
  });
@@ -57643,7 +57640,6 @@
57643
57640
  defineProp(protoOf(FinishGameMechanicAction), 'actionTag', function () {
57644
57641
  return this.v6e();
57645
57642
  });
57646
- protoOf(SceneMechanicAction).t65 = get_playerId_0;
57647
57643
  defineProp(protoOf(SceneMechanicAction), 'sceneId', function () {
57648
57644
  return this.u78();
57649
57645
  });
@@ -57653,6 +57649,9 @@
57653
57649
  defineProp(protoOf(SceneMechanicAction), 'actData', function () {
57654
57650
  return this.g8w();
57655
57651
  });
57652
+ defineProp(protoOf(SceneMechanicAction), 'playerId', function () {
57653
+ return this.t65();
57654
+ });
57656
57655
  defineProp(protoOf(SceneMechanicAction), 'actionTag', function () {
57657
57656
  return this.v6e();
57658
57657
  });
@@ -57701,22 +57700,30 @@
57701
57700
  defineProp(protoOf(TeamsDataMechanicAction), 'actionTag', function () {
57702
57701
  return this.v6e();
57703
57702
  });
57704
- protoOf(PlayerReadyMechanicAction).t65 = get_playerId_0;
57703
+ defineProp(protoOf(PlayerReadyMechanicAction), 'playerId', function () {
57704
+ return this.t65();
57705
+ });
57705
57706
  defineProp(protoOf(PlayerReadyMechanicAction), 'actionTag', function () {
57706
57707
  return this.v6e();
57707
57708
  });
57708
- protoOf(SuitChoiceMechanicAction).t65 = get_playerId_0;
57709
+ defineProp(protoOf(SuitChoiceMechanicAction), 'playerId', function () {
57710
+ return this.t65();
57711
+ });
57709
57712
  defineProp(protoOf(SuitChoiceMechanicAction), 'actionTag', function () {
57710
57713
  return this.v6e();
57711
57714
  });
57712
57715
  defineProp(protoOf(TrumpMechanicAction), 'actionTag', function () {
57713
57716
  return this.v6e();
57714
57717
  });
57715
- protoOf(CombinationChoiceMechanicAction).t65 = get_playerId_0;
57718
+ defineProp(protoOf(CombinationChoiceMechanicAction), 'playerId', function () {
57719
+ return this.t65();
57720
+ });
57716
57721
  defineProp(protoOf(CombinationChoiceMechanicAction), 'actionTag', function () {
57717
57722
  return this.v6e();
57718
57723
  });
57719
- protoOf(PutCardMechanicAction).t65 = get_playerId_0;
57724
+ defineProp(protoOf(PutCardMechanicAction), 'playerId', function () {
57725
+ return this.t65();
57726
+ });
57720
57727
  defineProp(protoOf(PutCardMechanicAction), 'actionTag', function () {
57721
57728
  return this.v6e();
57722
57729
  });