raspberry_games_engine_helpers 1.8.476 → 1.8.477

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.
@@ -237,7 +237,7 @@
237
237
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
238
238
  //endregion
239
239
  function GameEngineConfig() {
240
- this.version = '1.8.476';
240
+ this.version = '1.8.477';
241
241
  }
242
242
  protoOf(GameEngineConfig).u16 = function () {
243
243
  return this.version;
@@ -3149,7 +3149,7 @@ export declare interface ParserHelper {
3149
3149
  decodeFullGameHistoryToTableLite(json: string, round: Nullable<number>): games.jass.logic.data.models.table.JassTableLite;
3150
3150
  encodeGameToRoomTransition(transition: games.jass.logic.redux.actions.mechanic.GameTransition): string;
3151
3151
  decodeGameToRoomTransition(json: string): games.jass.logic.redux.actions.mechanic.GameTransition;
3152
- decodeTableStateWithActions(jsonTable: string, jsonActions: kotlin.collections.KtList<string>): games.jass.logic.data.models.table.TableStateWithActions;
3152
+ decodeTableStateWithActions(jsonTable: string, jsonActions: Array<string>): games.jass.logic.data.models.table.TableStateWithActions;
3153
3153
  encodeTableStateWithActions(table: games.jass.logic.data.models.table.TableStateWithActions): string;
3154
3154
  readonly __doNotUseOrImplementIt: {
3155
3155
  readonly ParserHelper: unique symbol;
@@ -809,15 +809,15 @@
809
809
  initMetadataForClass(ClearAction, 'ClearAction', VOID, VOID, [Action, NotValidateIfGameFinished]);
810
810
  initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
811
811
  initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
812
- initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
813
- initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
814
- initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
815
- initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
816
- initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
817
- initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
812
+ initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
813
+ initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
814
+ initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
815
+ initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
816
+ initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
817
+ initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
818
818
  initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
819
819
  initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
820
- initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
820
+ initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
821
821
  initMetadataForCompanion(Companion_159);
822
822
  initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
823
823
  initMetadataForCompanion(Companion_160, VOID, [SerializerFactory]);
@@ -871,13 +871,13 @@
871
871
  initMetadataForClass(MessageMechanicAction, 'MessageMechanicAction', VOID, MechanicAction, [MechanicAction, IgnoreBufferForAction]);
872
872
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
873
873
  initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
874
- initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
875
- initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
876
- initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, InterceptableAction]);
877
- initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
874
+ initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
875
+ initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
876
+ initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract, InterceptableAction]);
877
+ initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
878
878
  initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction]);
879
879
  initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, InterceptableAction]);
880
- initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
880
+ initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
881
881
  initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
882
882
  initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
883
883
  function filterLivePlayers(store, playerIds, includeBots, $super) {
@@ -39294,10 +39294,12 @@
39294
39294
  var tmp = this.h48_1.p42(jsonTable);
39295
39295
  // Inline function 'kotlin.collections.map' call
39296
39296
  // Inline function 'kotlin.collections.mapTo' call
39297
- var destination = ArrayList_init_$Create$(collectionSizeOrDefault(jsonActions, 10));
39298
- var _iterator__ex2g4s = jsonActions.t();
39299
- while (_iterator__ex2g4s.u()) {
39300
- var item = _iterator__ex2g4s.v();
39297
+ var destination = ArrayList_init_$Create$(jsonActions.length);
39298
+ var inductionVariable = 0;
39299
+ var last = jsonActions.length;
39300
+ while (inductionVariable < last) {
39301
+ var item = jsonActions[inductionVariable];
39302
+ inductionVariable = inductionVariable + 1 | 0;
39301
39303
  var tmp$ret$0 = this.h48_1.r42(item);
39302
39304
  destination.a1(tmp$ret$0);
39303
39305
  }