client_plugin_logic_deb 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.v5d(structure);
|
|
326
326
|
}
|
|
327
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
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,
|
|
380
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
|
|
381
381
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
382
382
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
383
383
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
|
@@ -1971,6 +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(): Array<string>;
|
|
1974
1975
|
readonly __doNotUseOrImplementIt: {
|
|
1975
1976
|
readonly GameHelper: unique symbol;
|
|
1976
1977
|
};
|
|
@@ -2008,7 +2009,6 @@ export declare interface RatingHelper {
|
|
|
2008
2009
|
isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number): boolean;
|
|
2009
2010
|
mapRatingToLeague(rating: number): games.jass.logic.data.models.leagues.League;
|
|
2010
2011
|
getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
|
|
2011
|
-
mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
|
|
2012
2012
|
readonly __doNotUseOrImplementIt: {
|
|
2013
2013
|
readonly RatingHelper: unique symbol;
|
|
2014
2014
|
};
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
413
413
|
//endregion
|
|
414
414
|
function GameEngineConfig() {
|
|
415
|
-
this.version = '1.8.
|
|
415
|
+
this.version = '1.8.328';
|
|
416
416
|
}
|
|
417
417
|
protoOf(GameEngineConfig).l33 = function () {
|
|
418
418
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -61526,11 +61526,7 @@
|
|
|
61526
61526
|
var tmp$ret$0 = item.q2_1;
|
|
61527
61527
|
destination.e(tmp$ret$0);
|
|
61528
61528
|
}
|
|
61529
|
-
|
|
61530
|
-
// Inline function 'kotlin.text.uppercase' call
|
|
61531
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
61532
|
-
var tmp$ret$4 = rulesSetType.toUpperCase();
|
|
61533
|
-
if (!tmp.v1(tmp$ret$4)) {
|
|
61529
|
+
if (!destination.v1(rulesSetType)) {
|
|
61534
61530
|
throw IllegalStateException_init_$Create$('Not valid rulesSetType mode ' + rulesSetType);
|
|
61535
61531
|
}
|
|
61536
61532
|
}
|
|
@@ -62162,10 +62158,7 @@
|
|
|
62162
62158
|
return tmp;
|
|
62163
62159
|
};
|
|
62164
62160
|
protoOf(GameHelperImpl).mapRulesSetType = function (name) {
|
|
62165
|
-
|
|
62166
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
62167
|
-
var tmp$ret$1 = name.toUpperCase();
|
|
62168
|
-
return valueOf_6(tmp$ret$1);
|
|
62161
|
+
return valueOf_6(name);
|
|
62169
62162
|
};
|
|
62170
62163
|
protoOf(GameHelperImpl).mapToLeague = function (name) {
|
|
62171
62164
|
// Inline function 'kotlin.text.uppercase' call
|
|
@@ -62173,6 +62166,23 @@
|
|
|
62173
62166
|
var tmp$ret$1 = name.toUpperCase();
|
|
62174
62167
|
return valueOf_0(tmp$ret$1);
|
|
62175
62168
|
};
|
|
62169
|
+
protoOf(GameHelperImpl).getAllLeagues = function () {
|
|
62170
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
62171
|
+
// Inline function 'kotlin.collections.map' call
|
|
62172
|
+
var this_0 = get_entries_0();
|
|
62173
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
62174
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
62175
|
+
var tmp0_iterator = this_0.j();
|
|
62176
|
+
while (tmp0_iterator.k()) {
|
|
62177
|
+
var item = tmp0_iterator.l();
|
|
62178
|
+
// Inline function 'GameHelperImpl.getAllLeagues.<anonymous>' call
|
|
62179
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
62180
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
62181
|
+
var tmp$ret$2 = item.q2_1.toLowerCase();
|
|
62182
|
+
destination.e(tmp$ret$2);
|
|
62183
|
+
}
|
|
62184
|
+
return copyToArray(destination);
|
|
62185
|
+
};
|
|
62176
62186
|
function GameResources() {
|
|
62177
62187
|
}
|
|
62178
62188
|
var AvatarSet_ORIGIN_instance;
|
|
@@ -62521,12 +62531,6 @@
|
|
|
62521
62531
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
62522
62532
|
return this.c9w_1.e99();
|
|
62523
62533
|
};
|
|
62524
|
-
protoOf(RatingHelperImpl).mapToLeague = function (name) {
|
|
62525
|
-
// Inline function 'kotlin.text.uppercase' call
|
|
62526
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
62527
|
-
var tmp$ret$1 = name.toUpperCase();
|
|
62528
|
-
return valueOf_0(tmp$ret$1);
|
|
62529
|
-
};
|
|
62530
62534
|
function engineHelpersModule() {
|
|
62531
62535
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
62532
62536
|
}
|