raspberry_games_engine_helpers 1.8.327 → 1.8.329

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.
@@ -377,7 +377,7 @@
377
377
  return tmp;
378
378
  }
379
379
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
380
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
380
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
381
381
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
382
382
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
383
383
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -215,7 +215,7 @@
215
215
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
216
216
  //endregion
217
217
  function GameEngineConfig() {
218
- this.version = '1.8.327';
218
+ this.version = '1.8.329';
219
219
  }
220
220
  protoOf(GameEngineConfig).o25 = function () {
221
221
  return this.version;
@@ -1971,7 +1971,7 @@ export declare interface GameHelper {
1971
1971
  getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
1972
1972
  mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
1973
1973
  mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
1974
- getAllLeagues(): kotlin.collections.KtList<string>;
1974
+ getAllLeagues(): Array<string>;
1975
1975
  readonly __doNotUseOrImplementIt: {
1976
1976
  readonly GameHelper: unique symbol;
1977
1977
  };
@@ -831,11 +831,11 @@
831
831
  return tmp$ret$1;
832
832
  }
833
833
  initMetadataForInterface(PlayerTurnIdAnswerAction, 'PlayerTurnIdAnswerAction', VOID, VOID, [Action, ReleaseBufferTriggerAction, PlayerIdContract]);
834
- initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction, PlayerTurnIdAnswerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
834
+ initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action, PlayerTurnIdAnswerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
835
835
  initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
836
836
  initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
837
837
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
838
- initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
838
+ initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
839
839
  initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
840
840
  initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerTurnIdAnswerAction]);
841
841
  initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerTurnIdAnswerAction, ReleaseBufferTriggerAction]);
@@ -35115,27 +35115,9 @@
35115
35115
  tmp_23 = rulesPreset;
35116
35116
  }
35117
35117
  jsObject['rulesPreset'] = tmp_23;
35118
- var tmp_24;
35119
- if (leagues == null) {
35120
- // Inline function 'kotlin.collections.toTypedArray' call
35121
- // Inline function 'kotlin.collections.map' call
35122
- var this_1 = get_entries();
35123
- // Inline function 'kotlin.collections.mapTo' call
35124
- var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
35125
- var tmp0_iterator_0 = this_1.j();
35126
- while (tmp0_iterator_0.k()) {
35127
- var item_0 = tmp0_iterator_0.l();
35128
- // Inline function 'GameHelperImpl.prepareLobbyFilterInternal.<anonymous>' call
35129
- // Inline function 'kotlin.text.lowercase' call
35130
- // Inline function 'kotlin.js.asDynamic' call
35131
- var tmp$ret$45 = item_0.i2_1.toLowerCase();
35132
- destination_0.e(tmp$ret$45);
35133
- }
35134
- tmp_24 = copyToArray(destination_0);
35135
- } else {
35136
- tmp_24 = leagues;
35118
+ if (!(leagues == null)) {
35119
+ jsObject['leagues'] = leagues;
35137
35120
  }
35138
- jsObject['leagues'] = tmp_24;
35139
35121
  jsObject['isChatEnabled'] = isChatEnabled;
35140
35122
  return jsObject;
35141
35123
  }
@@ -36063,6 +36045,7 @@
36063
36045
  return valueOf_0(tmp$ret$1);
36064
36046
  };
36065
36047
  protoOf(GameHelperImpl).getAllLeagues = function () {
36048
+ // Inline function 'kotlin.collections.toTypedArray' call
36066
36049
  // Inline function 'kotlin.collections.map' call
36067
36050
  var this_0 = get_entries();
36068
36051
  // Inline function 'kotlin.collections.mapTo' call
@@ -36076,7 +36059,7 @@
36076
36059
  var tmp$ret$2 = item.i2_1.toLowerCase();
36077
36060
  destination.e(tmp$ret$2);
36078
36061
  }
36079
- return destination;
36062
+ return copyToArray(destination);
36080
36063
  };
36081
36064
  function GameResources() {
36082
36065
  }