raspberry_games_engine_helpers 1.8.428 → 1.8.430

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.h1c(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) {
@@ -229,7 +229,7 @@
229
229
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
230
230
  //endregion
231
231
  function GameEngineConfig() {
232
- this.version = '1.8.428';
232
+ this.version = '1.8.430';
233
233
  }
234
234
  protoOf(GameEngineConfig).k17 = function () {
235
235
  return this.version;
@@ -852,19 +852,19 @@
852
852
  initMetadataForClass(FinishingGameMechanicAction, 'FinishingGameMechanicAction', VOID, MechanicAction, [MechanicAction, TerminatedAction, NotValidateIfGameFinishing]);
853
853
  initMetadataForClass(FinishGameMechanicAction, 'FinishGameMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, TerminatedAction]);
854
854
  initMetadataForInterface(NavigationMechanicAction, 'NavigationMechanicAction', VOID, VOID, [Action]);
855
- initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action, PlayerIdContract, NotValidateIfGameFinished]);
855
+ initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract, NotValidateIfGameFinished]);
856
856
  initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction, PlayerOrderChangeMechanicAction]);
857
857
  initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
858
858
  initMetadataForClass(MessageMechanicAction, 'MessageMechanicAction', VOID, MechanicAction, [MechanicAction, IgnoreBufferForAction]);
859
859
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
860
- initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
861
- initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
862
- initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
863
- initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract, InterceptableAction]);
864
- initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
860
+ initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
861
+ initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
862
+ initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
863
+ initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, InterceptableAction]);
864
+ initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
865
865
  initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction]);
866
866
  initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, InterceptableAction]);
867
- initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
867
+ initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
868
868
  initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
869
869
  initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
870
870
  function filterLivePlayers(store, playerIds, includeBots, $super) {
@@ -2106,11 +2106,9 @@
2106
2106
  switch (this.h2_1) {
2107
2107
  case 0:
2108
2108
  case 1:
2109
- tmp = true;
2110
- break;
2111
2109
  case 2:
2112
2110
  case 3:
2113
- tmp = false;
2111
+ tmp = true;
2114
2112
  break;
2115
2113
  default:
2116
2114
  noWhenBranchMatchedException();
@@ -11447,7 +11445,7 @@
11447
11445
  var tmp2_cached = Companion_getInstance_60().x31_1;
11448
11446
  tmp1_output.zo(tmp0_desc, 0, value.a32_1);
11449
11447
  tmp1_output.bp(tmp0_desc, 1, tmp2_cached[1].v1(), value.b32_1);
11450
- tmp1_output.bp(tmp0_desc, 2, tmp2_cached[2].v1(), value.c32_1);
11448
+ tmp1_output.dp(tmp0_desc, 2, tmp2_cached[2].v1(), value.c32_1);
11451
11449
  tmp1_output.dp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.d32_1);
11452
11450
  tmp1_output.dp(tmp0_desc, 4, StringSerializer_getInstance(), value.e32_1);
11453
11451
  tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.f32_1);
@@ -11474,7 +11472,7 @@
11474
11472
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
11475
11473
  tmp5_local1 = tmp10_input.wn(tmp0_desc, 1, tmp11_cached[1].v1(), tmp5_local1);
11476
11474
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
11477
- tmp6_local2 = tmp10_input.wn(tmp0_desc, 2, tmp11_cached[2].v1(), tmp6_local2);
11475
+ tmp6_local2 = tmp10_input.yn(tmp0_desc, 2, tmp11_cached[2].v1(), tmp6_local2);
11478
11476
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
11479
11477
  tmp7_local3 = tmp10_input.yn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
11480
11478
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
@@ -11498,7 +11496,7 @@
11498
11496
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
11499
11497
  break;
11500
11498
  case 2:
11501
- tmp6_local2 = tmp10_input.wn(tmp0_desc, 2, tmp11_cached[2].v1(), tmp6_local2);
11499
+ tmp6_local2 = tmp10_input.yn(tmp0_desc, 2, tmp11_cached[2].v1(), tmp6_local2);
11502
11500
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
11503
11501
  break;
11504
11502
  case 3:
@@ -11528,7 +11526,7 @@
11528
11526
  // Inline function 'kotlin.arrayOf' call
11529
11527
  // Inline function 'kotlin.js.unsafeCast' call
11530
11528
  // Inline function 'kotlin.js.asDynamic' call
11531
- return [StringSerializer_getInstance(), tmp0_cached[1].v1(), tmp0_cached[2].v1(), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
11529
+ return [StringSerializer_getInstance(), tmp0_cached[1].v1(), get_nullable(tmp0_cached[2].v1()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
11532
11530
  };
11533
11531
  var $serializer_instance_28;
11534
11532
  function $serializer_getInstance_31() {
@@ -11597,7 +11595,7 @@
11597
11595
  protoOf(PlayerConnectionChangedToClientActionDto).hashCode = function () {
11598
11596
  var result = getStringHashCode(this.a32_1);
11599
11597
  result = imul(result, 31) + this.b32_1.hashCode() | 0;
11600
- result = imul(result, 31) + this.c32_1.hashCode() | 0;
11598
+ result = imul(result, 31) + (this.c32_1 == null ? 0 : this.c32_1.hashCode()) | 0;
11601
11599
  result = imul(result, 31) + (this.d32_1 == null ? 0 : getBooleanHashCode(this.d32_1)) | 0;
11602
11600
  result = imul(result, 31) + (this.e32_1 == null ? 0 : getStringHashCode(this.e32_1)) | 0;
11603
11601
  result = imul(result, 31) + (this.f32_1 == null ? 0 : getStringHashCode(this.f32_1)) | 0;
@@ -11612,7 +11610,7 @@
11612
11610
  return false;
11613
11611
  if (!this.b32_1.equals(other.b32_1))
11614
11612
  return false;
11615
- if (!this.c32_1.equals(other.c32_1))
11613
+ if (!equals(this.c32_1, other.c32_1))
11616
11614
  return false;
11617
11615
  if (!(this.d32_1 == other.d32_1))
11618
11616
  return false;
@@ -34530,7 +34528,8 @@
34530
34528
  return new MessageMechanicAction(mapFromDto_44(_this__u8e3s4.v31_1, true), _this__u8e3s4.w31_1);
34531
34529
  }
34532
34530
  function mapFromClientDto_18(_this__u8e3s4) {
34533
- return new PlayerConnectionChangedMechanicAction(_this__u8e3s4.a32_1, _this__u8e3s4.b32_1, _this__u8e3s4.c32_1, VOID, false, _this__u8e3s4.e32_1, _this__u8e3s4.f32_1);
34531
+ var tmp0_elvis_lhs = _this__u8e3s4.c32_1;
34532
+ return new PlayerConnectionChangedMechanicAction(_this__u8e3s4.a32_1, _this__u8e3s4.b32_1, tmp0_elvis_lhs == null ? PlayerConnectionState_LIVE_getInstance() : tmp0_elvis_lhs, VOID, false, _this__u8e3s4.e32_1, _this__u8e3s4.f32_1);
34534
34533
  }
34535
34534
  function mapFromClientDto_19(_this__u8e3s4) {
34536
34535
  return new ErrorAction(mapFromDto_15(_this__u8e3s4.n32_1), _this__u8e3s4.o32_1);