raspberry_games_server_game_logic 1.8.326 → 1.8.328

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, WithTime, WithDate]);
327
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
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, WithUtcOffset, WithTime, WithDate]);
380
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithUtcOffset, WithTime]);
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.326';
379
+ this.version = '1.8.328';
380
380
  }
381
381
  protoOf(GameEngineConfig).s2z = function () {
382
382
  return this.version;
@@ -56071,11 +56071,7 @@
56071
56071
  var tmp$ret$0 = item.q2_1;
56072
56072
  destination.e(tmp$ret$0);
56073
56073
  }
56074
- var tmp = destination;
56075
- // Inline function 'kotlin.text.uppercase' call
56076
- // Inline function 'kotlin.js.asDynamic' call
56077
- var tmp$ret$4 = rulesSetType.toUpperCase();
56078
- if (!tmp.v1(tmp$ret$4)) {
56074
+ if (!destination.v1(rulesSetType)) {
56079
56075
  throw IllegalStateException_init_$Create$('Not valid rulesSetType mode ' + rulesSetType);
56080
56076
  }
56081
56077
  }
@@ -56707,10 +56703,7 @@
56707
56703
  return tmp;
56708
56704
  };
56709
56705
  protoOf(GameHelperImpl).mapRulesSetType = function (name) {
56710
- // Inline function 'kotlin.text.uppercase' call
56711
- // Inline function 'kotlin.js.asDynamic' call
56712
- var tmp$ret$1 = name.toUpperCase();
56713
- return valueOf_6(tmp$ret$1);
56706
+ return valueOf_6(name);
56714
56707
  };
56715
56708
  protoOf(GameHelperImpl).mapToLeague = function (name) {
56716
56709
  // Inline function 'kotlin.text.uppercase' call
@@ -56718,6 +56711,23 @@
56718
56711
  var tmp$ret$1 = name.toUpperCase();
56719
56712
  return valueOf_0(tmp$ret$1);
56720
56713
  };
56714
+ protoOf(GameHelperImpl).getAllLeagues = function () {
56715
+ // Inline function 'kotlin.collections.toTypedArray' call
56716
+ // Inline function 'kotlin.collections.map' call
56717
+ var this_0 = get_entries_0();
56718
+ // Inline function 'kotlin.collections.mapTo' call
56719
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
56720
+ var tmp0_iterator = this_0.j();
56721
+ while (tmp0_iterator.k()) {
56722
+ var item = tmp0_iterator.l();
56723
+ // Inline function 'GameHelperImpl.getAllLeagues.<anonymous>' call
56724
+ // Inline function 'kotlin.text.lowercase' call
56725
+ // Inline function 'kotlin.js.asDynamic' call
56726
+ var tmp$ret$2 = item.q2_1.toLowerCase();
56727
+ destination.e(tmp$ret$2);
56728
+ }
56729
+ return copyToArray(destination);
56730
+ };
56721
56731
  function GameResources() {
56722
56732
  }
56723
56733
  var AvatarSet_ORIGIN_instance;
@@ -57066,12 +57076,6 @@
57066
57076
  protoOf(RatingHelperImpl).getLeaguesConfig = function () {
57067
57077
  return this.v9h_1.z8s();
57068
57078
  };
57069
- protoOf(RatingHelperImpl).mapToLeague = function (name) {
57070
- // Inline function 'kotlin.text.uppercase' call
57071
- // Inline function 'kotlin.js.asDynamic' call
57072
- var tmp$ret$1 = name.toUpperCase();
57073
- return valueOf_0(tmp$ret$1);
57074
- };
57075
57079
  function engineHelpersModule() {
57076
57080
  return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
57077
57081
  }