game_client_logic_deb 1.8.325 → 1.8.327

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.
@@ -1963,13 +1963,15 @@ export declare interface GameHelper {
1963
1963
  mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
1964
1964
  mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
1965
1965
  mapRules(rules: any): games.jass.logic.data.models.rules.Rules;
1966
- prepareConfigObjectWithPagination(config: any): any;
1967
- prepareConfigObject(config: any): any;
1966
+ prepareLobbyConfigWithPagination(config: any): any;
1967
+ prepareLobbyConfig(config: any): any;
1968
+ prepareLeagueConfig(config: any): any;
1968
1969
  isValidConfigObject(config: any): boolean;
1969
1970
  getRulesByType(rulesSetType: games.jass.logic.data.models.rules.RulesSetType): games.jass.logic.data.models.rules.Rules;
1970
1971
  getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
1971
1972
  mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
1972
1973
  mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
1974
+ getAllLeagues(): kotlin.collections.KtList<string>;
1973
1975
  readonly __doNotUseOrImplementIt: {
1974
1976
  readonly GameHelper: unique symbol;
1975
1977
  };
@@ -2007,7 +2009,6 @@ export declare interface RatingHelper {
2007
2009
  isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number): boolean;
2008
2010
  mapRatingToLeague(rating: number): games.jass.logic.data.models.leagues.League;
2009
2011
  getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
2010
- mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
2011
2012
  readonly __doNotUseOrImplementIt: {
2012
2013
  readonly RatingHelper: unique symbol;
2013
2014
  };
@@ -57,6 +57,12 @@ if (typeof Math.clz32 === 'undefined') {
57
57
  };
58
58
  }(Math.log, Math.LN2);
59
59
  }
60
+ if (typeof String.prototype.startsWith === 'undefined') {
61
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
62
+ position = position || 0;
63
+ return this.lastIndexOf(searchString, position) === position;
64
+ }});
65
+ }
60
66
  if (typeof String.prototype.endsWith === 'undefined') {
61
67
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
62
68
  var subjectString = this.toString();
@@ -68,12 +74,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
68
74
  return lastIndex !== -1 && lastIndex === position;
69
75
  }});
70
76
  }
71
- if (typeof String.prototype.startsWith === 'undefined') {
72
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
73
- position = position || 0;
74
- return this.lastIndexOf(searchString, position) === position;
75
- }});
76
- }
77
77
  //endregion
78
78
  (function (factory) {
79
79
  if (typeof define === 'function' && define.amd)
@@ -110,8 +110,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
110
110
  }
111
111
  initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
112
112
  initMetadataForInterface(MutableIterable, 'MutableIterable');
113
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
114
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
113
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
114
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
115
115
  initMetadataForCompanion(Companion_1);
116
116
  initMetadataForInterface(Entry, 'Entry');
117
117
  initMetadataForCompanion(Companion_2);
@@ -140,7 +140,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
140
140
  initMetadataForObject(Letter, 'Letter');
141
141
  initMetadataForInterface(Comparator, 'Comparator');
142
142
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
143
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
143
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
144
144
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
145
145
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
146
146
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -153,7 +153,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
153
153
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
154
154
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
155
155
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
156
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
156
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
157
157
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
158
158
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
159
159
  initMetadataForClass(HashMapKeysDefault$iterator$1);