raspberry_games_engine_helpers 1.8.429 → 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.
@@ -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.429';
232
+ this.version = '1.8.430';
233
233
  }
234
234
  protoOf(GameEngineConfig).k17 = function () {
235
235
  return this.version;
@@ -796,15 +796,15 @@
796
796
  initMetadataForClass(ClearAction, 'ClearAction', VOID, VOID, [Action, NotValidateIfGameFinished]);
797
797
  initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
798
798
  initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
799
- initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
800
- initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
801
- initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
802
- initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
803
- initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
804
- initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
799
+ initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
800
+ initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
801
+ initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
802
+ initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
803
+ initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
804
+ initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
805
805
  initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
806
806
  initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
807
- initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
807
+ initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
808
808
  initMetadataForCompanion(Companion_157);
809
809
  initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
810
810
  initMetadataForCompanion(Companion_158, VOID, [SerializerFactory]);
@@ -858,13 +858,13 @@
858
858
  initMetadataForClass(MessageMechanicAction, 'MessageMechanicAction', VOID, MechanicAction, [MechanicAction, IgnoreBufferForAction]);
859
859
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
860
860
  initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
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]);
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) {
@@ -11445,7 +11445,7 @@
11445
11445
  var tmp2_cached = Companion_getInstance_60().x31_1;
11446
11446
  tmp1_output.zo(tmp0_desc, 0, value.a32_1);
11447
11447
  tmp1_output.bp(tmp0_desc, 1, tmp2_cached[1].v1(), value.b32_1);
11448
- 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);
11449
11449
  tmp1_output.dp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.d32_1);
11450
11450
  tmp1_output.dp(tmp0_desc, 4, StringSerializer_getInstance(), value.e32_1);
11451
11451
  tmp1_output.dp(tmp0_desc, 5, StringSerializer_getInstance(), value.f32_1);
@@ -11472,7 +11472,7 @@
11472
11472
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
11473
11473
  tmp5_local1 = tmp10_input.wn(tmp0_desc, 1, tmp11_cached[1].v1(), tmp5_local1);
11474
11474
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
11475
- 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);
11476
11476
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
11477
11477
  tmp7_local3 = tmp10_input.yn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
11478
11478
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
@@ -11496,7 +11496,7 @@
11496
11496
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
11497
11497
  break;
11498
11498
  case 2:
11499
- 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);
11500
11500
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
11501
11501
  break;
11502
11502
  case 3:
@@ -11526,7 +11526,7 @@
11526
11526
  // Inline function 'kotlin.arrayOf' call
11527
11527
  // Inline function 'kotlin.js.unsafeCast' call
11528
11528
  // Inline function 'kotlin.js.asDynamic' call
11529
- 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())];
11530
11530
  };
11531
11531
  var $serializer_instance_28;
11532
11532
  function $serializer_getInstance_31() {
@@ -11595,7 +11595,7 @@
11595
11595
  protoOf(PlayerConnectionChangedToClientActionDto).hashCode = function () {
11596
11596
  var result = getStringHashCode(this.a32_1);
11597
11597
  result = imul(result, 31) + this.b32_1.hashCode() | 0;
11598
- result = imul(result, 31) + this.c32_1.hashCode() | 0;
11598
+ result = imul(result, 31) + (this.c32_1 == null ? 0 : this.c32_1.hashCode()) | 0;
11599
11599
  result = imul(result, 31) + (this.d32_1 == null ? 0 : getBooleanHashCode(this.d32_1)) | 0;
11600
11600
  result = imul(result, 31) + (this.e32_1 == null ? 0 : getStringHashCode(this.e32_1)) | 0;
11601
11601
  result = imul(result, 31) + (this.f32_1 == null ? 0 : getStringHashCode(this.f32_1)) | 0;
@@ -11610,7 +11610,7 @@
11610
11610
  return false;
11611
11611
  if (!this.b32_1.equals(other.b32_1))
11612
11612
  return false;
11613
- if (!this.c32_1.equals(other.c32_1))
11613
+ if (!equals(this.c32_1, other.c32_1))
11614
11614
  return false;
11615
11615
  if (!(this.d32_1 == other.d32_1))
11616
11616
  return false;
@@ -34528,7 +34528,8 @@
34528
34528
  return new MessageMechanicAction(mapFromDto_44(_this__u8e3s4.v31_1, true), _this__u8e3s4.w31_1);
34529
34529
  }
34530
34530
  function mapFromClientDto_18(_this__u8e3s4) {
34531
- 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);
34532
34533
  }
34533
34534
  function mapFromClientDto_19(_this__u8e3s4) {
34534
34535
  return new ErrorAction(mapFromDto_15(_this__u8e3s4.n32_1), _this__u8e3s4.o32_1);