game_client_logic_deb 1.8.381 → 1.8.382

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.
@@ -875,16 +875,16 @@ export declare namespace games.jass.logic.data.models {
875
875
  }
876
876
  export declare namespace games.jass.logic.data.models.config {
877
877
  class RatingConfig {
878
- constructor(defaultFactor?: number, eloScaleH2H?: number, eloScaleFfa?: number, h2hCloseLossThresholdRatio?: number, ffaMovEnabled?: boolean, botNativeUpdatesRating?: boolean, replacementForcedDecrease?: boolean, ffaMaxRatingDecreaseFraction?: number);
878
+ constructor(defaultFactor?: number, eloScaleH2H?: number, eloScaleFfa?: number, h2hCloseLossThresholdRatio?: number, ffaMovEnabled?: boolean, ffaMaxRatingDecreaseFraction?: number, botNativeUpdatesRating?: boolean, replacementForcedDecrease?: boolean);
879
879
  get defaultFactor(): number;
880
880
  get eloScaleH2H(): number;
881
881
  get eloScaleFfa(): number;
882
882
  get h2hCloseLossThresholdRatio(): number;
883
883
  get ffaMovEnabled(): boolean;
884
+ get ffaMaxRatingDecreaseFraction(): number;
884
885
  get botNativeUpdatesRating(): boolean;
885
886
  get replacementForcedDecrease(): boolean;
886
- get ffaMaxRatingDecreaseFraction(): number;
887
- copy(defaultFactor?: number, eloScaleH2H?: number, eloScaleFfa?: number, h2hCloseLossThresholdRatio?: number, ffaMovEnabled?: boolean, botNativeUpdatesRating?: boolean, replacementForcedDecrease?: boolean, ffaMaxRatingDecreaseFraction?: number): games.jass.logic.data.models.config.RatingConfig;
887
+ copy(defaultFactor?: number, eloScaleH2H?: number, eloScaleFfa?: number, h2hCloseLossThresholdRatio?: number, ffaMovEnabled?: boolean, ffaMaxRatingDecreaseFraction?: number, botNativeUpdatesRating?: boolean, replacementForcedDecrease?: boolean): games.jass.logic.data.models.config.RatingConfig;
888
888
  toString(): string;
889
889
  hashCode(): number;
890
890
  equals(other: Nullable<any>): boolean;
@@ -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)
@@ -119,8 +119,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
119
119
  initMetadataForInterface(KtMap, 'Map');
120
120
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
121
121
  initMetadataForInterface(MutableIterable, 'MutableIterable');
122
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
123
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
122
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
123
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
124
124
  initMetadataForCompanion(Companion_3);
125
125
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
126
126
  initMetadataForCompanion(Companion_4);
@@ -142,7 +142,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
142
142
  initMetadataForInterface(Comparator, 'Comparator');
143
143
  initMetadataForObject(Unit, 'Unit');
144
144
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
145
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
145
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
146
146
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
147
147
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
148
148
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -155,7 +155,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
155
155
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
156
156
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
157
157
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
158
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
158
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
159
159
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
160
160
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
161
161
  initMetadataForClass(HashMapKeysDefault$iterator$1);