raspberry_games_engine_helpers 1.8.380 → 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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.d.ts +3 -3
- package/Logic_Debertz-engine.js +18 -18
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
function addFormatStructureForTime(structure) {
|
|
381
381
|
this.h1c(structure);
|
|
382
382
|
}
|
|
383
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
383
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
384
384
|
initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
|
|
385
385
|
initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
|
|
386
386
|
function set_fractionOfSecond(value) {
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
217
217
|
//endregion
|
|
218
218
|
function GameEngineConfig() {
|
|
219
|
-
this.version = '1.8.
|
|
219
|
+
this.version = '1.8.382';
|
|
220
220
|
}
|
|
221
221
|
protoOf(GameEngineConfig).k17 = function () {
|
|
222
222
|
return this.version;
|
|
@@ -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,
|
|
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
|
-
|
|
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;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1516,23 +1516,23 @@
|
|
|
1516
1516
|
return false;
|
|
1517
1517
|
return true;
|
|
1518
1518
|
};
|
|
1519
|
-
function RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease
|
|
1519
|
+
function RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease) {
|
|
1520
1520
|
defaultFactor = defaultFactor === VOID ? 30 : defaultFactor;
|
|
1521
1521
|
eloScaleH2H = eloScaleH2H === VOID ? 400.0 : eloScaleH2H;
|
|
1522
1522
|
eloScaleFfa = eloScaleFfa === VOID ? 700.0 : eloScaleFfa;
|
|
1523
1523
|
h2hCloseLossThresholdRatio = h2hCloseLossThresholdRatio === VOID ? 0.9 : h2hCloseLossThresholdRatio;
|
|
1524
1524
|
ffaMovEnabled = ffaMovEnabled === VOID ? true : ffaMovEnabled;
|
|
1525
|
+
ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? 0.8 : ffaMaxRatingDecreaseFraction;
|
|
1525
1526
|
botNativeUpdatesRating = botNativeUpdatesRating === VOID ? true : botNativeUpdatesRating;
|
|
1526
1527
|
replacementForcedDecrease = replacementForcedDecrease === VOID ? true : replacementForcedDecrease;
|
|
1527
|
-
ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? 0.8 : ffaMaxRatingDecreaseFraction;
|
|
1528
1528
|
this.defaultFactor = defaultFactor;
|
|
1529
1529
|
this.eloScaleH2H = eloScaleH2H;
|
|
1530
1530
|
this.eloScaleFfa = eloScaleFfa;
|
|
1531
1531
|
this.h2hCloseLossThresholdRatio = h2hCloseLossThresholdRatio;
|
|
1532
1532
|
this.ffaMovEnabled = ffaMovEnabled;
|
|
1533
|
+
this.ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction;
|
|
1533
1534
|
this.botNativeUpdatesRating = botNativeUpdatesRating;
|
|
1534
1535
|
this.replacementForcedDecrease = replacementForcedDecrease;
|
|
1535
|
-
this.ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction;
|
|
1536
1536
|
}
|
|
1537
1537
|
protoOf(RatingConfig).n2g = function () {
|
|
1538
1538
|
return this.defaultFactor;
|
|
@@ -1550,13 +1550,13 @@
|
|
|
1550
1550
|
return this.ffaMovEnabled;
|
|
1551
1551
|
};
|
|
1552
1552
|
protoOf(RatingConfig).s2g = function () {
|
|
1553
|
-
return this.
|
|
1553
|
+
return this.ffaMaxRatingDecreaseFraction;
|
|
1554
1554
|
};
|
|
1555
1555
|
protoOf(RatingConfig).t2g = function () {
|
|
1556
|
-
return this.
|
|
1556
|
+
return this.botNativeUpdatesRating;
|
|
1557
1557
|
};
|
|
1558
1558
|
protoOf(RatingConfig).u2g = function () {
|
|
1559
|
-
return this.
|
|
1559
|
+
return this.replacementForcedDecrease;
|
|
1560
1560
|
};
|
|
1561
1561
|
protoOf(RatingConfig).sc = function () {
|
|
1562
1562
|
return this.defaultFactor;
|
|
@@ -1574,30 +1574,30 @@
|
|
|
1574
1574
|
return this.ffaMovEnabled;
|
|
1575
1575
|
};
|
|
1576
1576
|
protoOf(RatingConfig).l1q = function () {
|
|
1577
|
-
return this.
|
|
1577
|
+
return this.ffaMaxRatingDecreaseFraction;
|
|
1578
1578
|
};
|
|
1579
1579
|
protoOf(RatingConfig).m1q = function () {
|
|
1580
|
-
return this.
|
|
1580
|
+
return this.botNativeUpdatesRating;
|
|
1581
1581
|
};
|
|
1582
1582
|
protoOf(RatingConfig).q2f = function () {
|
|
1583
|
-
return this.
|
|
1583
|
+
return this.replacementForcedDecrease;
|
|
1584
1584
|
};
|
|
1585
|
-
protoOf(RatingConfig).v2g = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease
|
|
1586
|
-
return new RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease
|
|
1585
|
+
protoOf(RatingConfig).v2g = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease) {
|
|
1586
|
+
return new RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease);
|
|
1587
1587
|
};
|
|
1588
|
-
protoOf(RatingConfig).copy = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease,
|
|
1588
|
+
protoOf(RatingConfig).copy = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease, $super) {
|
|
1589
1589
|
defaultFactor = defaultFactor === VOID ? this.defaultFactor : defaultFactor;
|
|
1590
1590
|
eloScaleH2H = eloScaleH2H === VOID ? this.eloScaleH2H : eloScaleH2H;
|
|
1591
1591
|
eloScaleFfa = eloScaleFfa === VOID ? this.eloScaleFfa : eloScaleFfa;
|
|
1592
1592
|
h2hCloseLossThresholdRatio = h2hCloseLossThresholdRatio === VOID ? this.h2hCloseLossThresholdRatio : h2hCloseLossThresholdRatio;
|
|
1593
1593
|
ffaMovEnabled = ffaMovEnabled === VOID ? this.ffaMovEnabled : ffaMovEnabled;
|
|
1594
|
+
ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? this.ffaMaxRatingDecreaseFraction : ffaMaxRatingDecreaseFraction;
|
|
1594
1595
|
botNativeUpdatesRating = botNativeUpdatesRating === VOID ? this.botNativeUpdatesRating : botNativeUpdatesRating;
|
|
1595
1596
|
replacementForcedDecrease = replacementForcedDecrease === VOID ? this.replacementForcedDecrease : replacementForcedDecrease;
|
|
1596
|
-
|
|
1597
|
-
return $super === VOID ? this.v2g(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction) : $super.v2g.call(this, defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction);
|
|
1597
|
+
return $super === VOID ? this.v2g(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease) : $super.v2g.call(this, defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease);
|
|
1598
1598
|
};
|
|
1599
1599
|
protoOf(RatingConfig).toString = function () {
|
|
1600
|
-
return 'RatingConfig(defaultFactor=' + this.defaultFactor + ', eloScaleH2H=' + this.eloScaleH2H + ', eloScaleFfa=' + this.eloScaleFfa + ', h2hCloseLossThresholdRatio=' + this.h2hCloseLossThresholdRatio + ', ffaMovEnabled=' + this.ffaMovEnabled + ',
|
|
1600
|
+
return 'RatingConfig(defaultFactor=' + this.defaultFactor + ', eloScaleH2H=' + this.eloScaleH2H + ', eloScaleFfa=' + this.eloScaleFfa + ', h2hCloseLossThresholdRatio=' + this.h2hCloseLossThresholdRatio + ', ffaMovEnabled=' + this.ffaMovEnabled + ', ffaMaxRatingDecreaseFraction=' + this.ffaMaxRatingDecreaseFraction + ', botNativeUpdatesRating=' + this.botNativeUpdatesRating + ', replacementForcedDecrease=' + this.replacementForcedDecrease + ')';
|
|
1601
1601
|
};
|
|
1602
1602
|
protoOf(RatingConfig).hashCode = function () {
|
|
1603
1603
|
var result = getNumberHashCode(this.defaultFactor);
|
|
@@ -1605,9 +1605,9 @@
|
|
|
1605
1605
|
result = imul(result, 31) + getNumberHashCode(this.eloScaleFfa) | 0;
|
|
1606
1606
|
result = imul(result, 31) + getNumberHashCode(this.h2hCloseLossThresholdRatio) | 0;
|
|
1607
1607
|
result = imul(result, 31) + getBooleanHashCode(this.ffaMovEnabled) | 0;
|
|
1608
|
+
result = imul(result, 31) + getNumberHashCode(this.ffaMaxRatingDecreaseFraction) | 0;
|
|
1608
1609
|
result = imul(result, 31) + getBooleanHashCode(this.botNativeUpdatesRating) | 0;
|
|
1609
1610
|
result = imul(result, 31) + getBooleanHashCode(this.replacementForcedDecrease) | 0;
|
|
1610
|
-
result = imul(result, 31) + getNumberHashCode(this.ffaMaxRatingDecreaseFraction) | 0;
|
|
1611
1611
|
return result;
|
|
1612
1612
|
};
|
|
1613
1613
|
protoOf(RatingConfig).equals = function (other) {
|
|
@@ -1625,12 +1625,12 @@
|
|
|
1625
1625
|
return false;
|
|
1626
1626
|
if (!(this.ffaMovEnabled === other.ffaMovEnabled))
|
|
1627
1627
|
return false;
|
|
1628
|
+
if (!equals(this.ffaMaxRatingDecreaseFraction, other.ffaMaxRatingDecreaseFraction))
|
|
1629
|
+
return false;
|
|
1628
1630
|
if (!(this.botNativeUpdatesRating === other.botNativeUpdatesRating))
|
|
1629
1631
|
return false;
|
|
1630
1632
|
if (!(this.replacementForcedDecrease === other.replacementForcedDecrease))
|
|
1631
1633
|
return false;
|
|
1632
|
-
if (!equals(this.ffaMaxRatingDecreaseFraction, other.ffaMaxRatingDecreaseFraction))
|
|
1633
|
-
return false;
|
|
1634
1634
|
return true;
|
|
1635
1635
|
};
|
|
1636
1636
|
function Companion_2() {
|