raspberry_games_server_game_logic 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.
@@ -324,7 +324,7 @@
324
324
  function addFormatStructureForTime(structure) {
325
325
  this.c5a(structure);
326
326
  }
327
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
327
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
328
328
  function offsetHours$default(padding, $super) {
329
329
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
330
330
  var tmp;
@@ -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, WithDate, WithTime, WithUtcOffset]);
380
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithDate, WithUtcOffset]);
381
381
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
382
382
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
383
383
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -376,7 +376,7 @@
376
376
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
377
377
  //endregion
378
378
  function GameEngineConfig() {
379
- this.version = '1.8.327';
379
+ this.version = '1.8.329';
380
380
  }
381
381
  protoOf(GameEngineConfig).s2z = function () {
382
382
  return this.version;
@@ -55764,27 +55764,9 @@
55764
55764
  tmp_23 = rulesPreset;
55765
55765
  }
55766
55766
  jsObject['rulesPreset'] = tmp_23;
55767
- var tmp_24;
55768
- if (leagues == null) {
55769
- // Inline function 'kotlin.collections.toTypedArray' call
55770
- // Inline function 'kotlin.collections.map' call
55771
- var this_1 = get_entries_0();
55772
- // Inline function 'kotlin.collections.mapTo' call
55773
- var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
55774
- var tmp0_iterator_0 = this_1.j();
55775
- while (tmp0_iterator_0.k()) {
55776
- var item_0 = tmp0_iterator_0.l();
55777
- // Inline function 'GameHelperImpl.prepareLobbyFilterInternal.<anonymous>' call
55778
- // Inline function 'kotlin.text.lowercase' call
55779
- // Inline function 'kotlin.js.asDynamic' call
55780
- var tmp$ret$45 = item_0.q2_1.toLowerCase();
55781
- destination_0.e(tmp$ret$45);
55782
- }
55783
- tmp_24 = copyToArray(destination_0);
55784
- } else {
55785
- tmp_24 = leagues;
55767
+ if (!(leagues == null)) {
55768
+ jsObject['leagues'] = leagues;
55786
55769
  }
55787
- jsObject['leagues'] = tmp_24;
55788
55770
  jsObject['isChatEnabled'] = isChatEnabled;
55789
55771
  return jsObject;
55790
55772
  }
@@ -56712,6 +56694,7 @@
56712
56694
  return valueOf_0(tmp$ret$1);
56713
56695
  };
56714
56696
  protoOf(GameHelperImpl).getAllLeagues = function () {
56697
+ // Inline function 'kotlin.collections.toTypedArray' call
56715
56698
  // Inline function 'kotlin.collections.map' call
56716
56699
  var this_0 = get_entries_0();
56717
56700
  // Inline function 'kotlin.collections.mapTo' call
@@ -56725,7 +56708,7 @@
56725
56708
  var tmp$ret$2 = item.q2_1.toLowerCase();
56726
56709
  destination.e(tmp$ret$2);
56727
56710
  }
56728
- return destination;
56711
+ return copyToArray(destination);
56729
56712
  };
56730
56713
  function GameResources() {
56731
56714
  }