client_plugin_logic_deb 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.v5d(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;
@@ -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
  };
@@ -412,7 +412,7 @@
412
412
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
413
413
  //endregion
414
414
  function GameEngineConfig() {
415
- this.version = '1.8.327';
415
+ this.version = '1.8.329';
416
416
  }
417
417
  protoOf(GameEngineConfig).l33 = function () {
418
418
  return this.version;
@@ -61219,27 +61219,9 @@
61219
61219
  tmp_23 = rulesPreset;
61220
61220
  }
61221
61221
  jsObject['rulesPreset'] = tmp_23;
61222
- var tmp_24;
61223
- if (leagues == null) {
61224
- // Inline function 'kotlin.collections.toTypedArray' call
61225
- // Inline function 'kotlin.collections.map' call
61226
- var this_1 = get_entries_0();
61227
- // Inline function 'kotlin.collections.mapTo' call
61228
- var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
61229
- var tmp0_iterator_0 = this_1.j();
61230
- while (tmp0_iterator_0.k()) {
61231
- var item_0 = tmp0_iterator_0.l();
61232
- // Inline function 'GameHelperImpl.prepareLobbyFilterInternal.<anonymous>' call
61233
- // Inline function 'kotlin.text.lowercase' call
61234
- // Inline function 'kotlin.js.asDynamic' call
61235
- var tmp$ret$45 = item_0.q2_1.toLowerCase();
61236
- destination_0.e(tmp$ret$45);
61237
- }
61238
- tmp_24 = copyToArray(destination_0);
61239
- } else {
61240
- tmp_24 = leagues;
61222
+ if (!(leagues == null)) {
61223
+ jsObject['leagues'] = leagues;
61241
61224
  }
61242
- jsObject['leagues'] = tmp_24;
61243
61225
  jsObject['isChatEnabled'] = isChatEnabled;
61244
61226
  return jsObject;
61245
61227
  }
@@ -62167,6 +62149,7 @@
62167
62149
  return valueOf_0(tmp$ret$1);
62168
62150
  };
62169
62151
  protoOf(GameHelperImpl).getAllLeagues = function () {
62152
+ // Inline function 'kotlin.collections.toTypedArray' call
62170
62153
  // Inline function 'kotlin.collections.map' call
62171
62154
  var this_0 = get_entries_0();
62172
62155
  // Inline function 'kotlin.collections.mapTo' call
@@ -62180,7 +62163,7 @@
62180
62163
  var tmp$ret$2 = item.q2_1.toLowerCase();
62181
62164
  destination.e(tmp$ret$2);
62182
62165
  }
62183
- return destination;
62166
+ return copyToArray(destination);
62184
62167
  };
62185
62168
  function GameResources() {
62186
62169
  }