raspberry_games_engine_helpers 1.8.326 → 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.
|
@@ -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, WithDate, WithTime
|
|
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');
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
216
216
|
//endregion
|
|
217
217
|
function GameEngineConfig() {
|
|
218
|
-
this.version = '1.8.
|
|
218
|
+
this.version = '1.8.327';
|
|
219
219
|
}
|
|
220
220
|
protoOf(GameEngineConfig).o25 = function () {
|
|
221
221
|
return this.version;
|
|
@@ -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(): kotlin.collections.KtList<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-engine.js
CHANGED
|
@@ -755,14 +755,14 @@
|
|
|
755
755
|
initMetadataForClass(ClearAction, 'ClearAction', ClearAction, VOID, [Action, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
|
|
756
756
|
initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
|
|
757
757
|
initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
|
|
758
|
-
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
759
|
-
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
760
|
-
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
761
|
-
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
762
|
-
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
758
|
+
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
759
|
+
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
760
|
+
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
761
|
+
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
762
|
+
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
763
763
|
initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
|
|
764
764
|
initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
|
|
765
|
-
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
765
|
+
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, Action, PlayerIdContract]);
|
|
766
766
|
initMetadataForCompanion(Companion_148);
|
|
767
767
|
initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
|
|
768
768
|
initMetadataForCompanion(Companion_149, VOID, [SerializerFactory]);
|
|
@@ -35422,11 +35422,7 @@
|
|
|
35422
35422
|
var tmp$ret$0 = item.i2_1;
|
|
35423
35423
|
destination.e(tmp$ret$0);
|
|
35424
35424
|
}
|
|
35425
|
-
|
|
35426
|
-
// Inline function 'kotlin.text.uppercase' call
|
|
35427
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
35428
|
-
var tmp$ret$4 = rulesSetType.toUpperCase();
|
|
35429
|
-
if (!tmp.p1(tmp$ret$4)) {
|
|
35425
|
+
if (!destination.p1(rulesSetType)) {
|
|
35430
35426
|
throw IllegalStateException_init_$Create$('Not valid rulesSetType mode ' + rulesSetType);
|
|
35431
35427
|
}
|
|
35432
35428
|
}
|
|
@@ -36058,10 +36054,7 @@
|
|
|
36058
36054
|
return tmp;
|
|
36059
36055
|
};
|
|
36060
36056
|
protoOf(GameHelperImpl).mapRulesSetType = function (name) {
|
|
36061
|
-
|
|
36062
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
36063
|
-
var tmp$ret$1 = name.toUpperCase();
|
|
36064
|
-
return valueOf_6(tmp$ret$1);
|
|
36057
|
+
return valueOf_6(name);
|
|
36065
36058
|
};
|
|
36066
36059
|
protoOf(GameHelperImpl).mapToLeague = function (name) {
|
|
36067
36060
|
// Inline function 'kotlin.text.uppercase' call
|
|
@@ -36069,6 +36062,22 @@
|
|
|
36069
36062
|
var tmp$ret$1 = name.toUpperCase();
|
|
36070
36063
|
return valueOf_0(tmp$ret$1);
|
|
36071
36064
|
};
|
|
36065
|
+
protoOf(GameHelperImpl).getAllLeagues = function () {
|
|
36066
|
+
// Inline function 'kotlin.collections.map' call
|
|
36067
|
+
var this_0 = get_entries();
|
|
36068
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
36069
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
36070
|
+
var tmp0_iterator = this_0.j();
|
|
36071
|
+
while (tmp0_iterator.k()) {
|
|
36072
|
+
var item = tmp0_iterator.l();
|
|
36073
|
+
// Inline function 'GameHelperImpl.getAllLeagues.<anonymous>' call
|
|
36074
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
36075
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
36076
|
+
var tmp$ret$2 = item.i2_1.toLowerCase();
|
|
36077
|
+
destination.e(tmp$ret$2);
|
|
36078
|
+
}
|
|
36079
|
+
return destination;
|
|
36080
|
+
};
|
|
36072
36081
|
function GameResources() {
|
|
36073
36082
|
}
|
|
36074
36083
|
var AvatarSet_ORIGIN_instance;
|
|
@@ -36417,12 +36426,6 @@
|
|
|
36417
36426
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
36418
36427
|
return this.e40_1.z3u();
|
|
36419
36428
|
};
|
|
36420
|
-
protoOf(RatingHelperImpl).mapToLeague = function (name) {
|
|
36421
|
-
// Inline function 'kotlin.text.uppercase' call
|
|
36422
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
36423
|
-
var tmp$ret$1 = name.toUpperCase();
|
|
36424
|
-
return valueOf_0(tmp$ret$1);
|
|
36425
|
-
};
|
|
36426
36429
|
function engineHelpersModule() {
|
|
36427
36430
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
36428
36431
|
}
|