raspberry_games_engine_helpers 1.8.382 → 1.8.384
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/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.384';
|
|
220
220
|
}
|
|
221
221
|
protoOf(GameEngineConfig).k17 = function () {
|
|
222
222
|
return this.version;
|
|
@@ -2305,6 +2305,13 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
|
+
export declare namespace games.jass.logic.redux {
|
|
2309
|
+
interface AppStatePayload {
|
|
2310
|
+
readonly __doNotUseOrImplementIt: {
|
|
2311
|
+
readonly "games.jass.logic.redux.AppStatePayload": unique symbol;
|
|
2312
|
+
};
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2308
2315
|
export declare namespace games.jass.logic.redux.actions {
|
|
2309
2316
|
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
2310
2317
|
constructor(transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>);
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -815,10 +815,10 @@
|
|
|
815
815
|
initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
|
|
816
816
|
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
|
|
817
817
|
initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction, PlayerOrderChangeMechanicAction]);
|
|
818
|
-
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
819
|
-
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
820
|
-
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
821
|
-
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
818
|
+
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
819
|
+
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
820
|
+
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, BufferedAction]);
|
|
821
|
+
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
822
822
|
initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
|
|
823
823
|
initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, BufferedAction]);
|
|
824
824
|
initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
|
|
@@ -847,7 +847,7 @@
|
|
|
847
847
|
tmp = existingNicknames;
|
|
848
848
|
}
|
|
849
849
|
existingNicknames = tmp;
|
|
850
|
-
return $super === VOID ? this.
|
|
850
|
+
return $super === VOID ? this.z41(playerId, existingNicknames) : $super.z41.call(this, playerId, existingNicknames);
|
|
851
851
|
}
|
|
852
852
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
853
853
|
initMetadataForCompanion(Companion_152);
|
|
@@ -35997,40 +35997,40 @@
|
|
|
35997
35997
|
function getRandomAvatarData_0($this) {
|
|
35998
35998
|
var avatarSetNumber = Default_getInstance().wd(get_entries_5().o());
|
|
35999
35999
|
var avatarSet = get_entries_5().p(avatarSetNumber);
|
|
36000
|
-
return new AvatarData(Default_getInstance().wd(avatarSet.
|
|
36000
|
+
return new AvatarData(Default_getInstance().wd(avatarSet.c42()), avatarSet);
|
|
36001
36001
|
}
|
|
36002
36002
|
function getAvatarUrlByIndex($this, data) {
|
|
36003
36003
|
return mapToPattern($this, data);
|
|
36004
36004
|
}
|
|
36005
36005
|
function getNicknameByIndex($this, data) {
|
|
36006
|
-
return data.
|
|
36006
|
+
return data.e42_1.f42(data.d42_1);
|
|
36007
36007
|
}
|
|
36008
36008
|
function mapToPattern($this, data) {
|
|
36009
|
-
return 'debertz://raspberry.games/' + data.
|
|
36009
|
+
return 'debertz://raspberry.games/' + data.e42_1.h2_1 + '/' + data.d42_1;
|
|
36010
36010
|
}
|
|
36011
36011
|
function Companion_152() {
|
|
36012
36012
|
Companion_instance_156 = this;
|
|
36013
|
-
this.
|
|
36013
|
+
this.g42_1 = 'debertz://raspberry.games';
|
|
36014
36014
|
var tmp = this;
|
|
36015
36015
|
// Inline function 'kotlin.arrayOf' call
|
|
36016
36016
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36017
36017
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36018
|
-
tmp.
|
|
36018
|
+
tmp.h42_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
36019
36019
|
var tmp_0 = this;
|
|
36020
36020
|
// Inline function 'kotlin.arrayOf' call
|
|
36021
36021
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36022
36022
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36023
|
-
tmp_0.
|
|
36023
|
+
tmp_0.i42_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
|
|
36024
36024
|
var tmp_1 = this;
|
|
36025
36025
|
// Inline function 'kotlin.arrayOf' call
|
|
36026
36026
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36027
36027
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36028
|
-
tmp_1.
|
|
36028
|
+
tmp_1.j42_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
36029
36029
|
var tmp_2 = this;
|
|
36030
36030
|
// Inline function 'kotlin.arrayOf' call
|
|
36031
36031
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36032
36032
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36033
|
-
tmp_2.
|
|
36033
|
+
tmp_2.k42_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
|
|
36034
36034
|
}
|
|
36035
36035
|
var Companion_instance_156;
|
|
36036
36036
|
function Companion_getInstance_159() {
|
|
@@ -36041,14 +36041,14 @@
|
|
|
36041
36041
|
function AvatarSet(name, ordinal) {
|
|
36042
36042
|
Enum.call(this, name, ordinal);
|
|
36043
36043
|
}
|
|
36044
|
-
protoOf(AvatarSet).
|
|
36044
|
+
protoOf(AvatarSet).c42 = function () {
|
|
36045
36045
|
var tmp;
|
|
36046
36046
|
switch (this.h2_1) {
|
|
36047
36047
|
case 0:
|
|
36048
|
-
tmp = Companion_getInstance_159().
|
|
36048
|
+
tmp = Companion_getInstance_159().i42_1.length;
|
|
36049
36049
|
break;
|
|
36050
36050
|
case 1:
|
|
36051
|
-
tmp = Companion_getInstance_159().
|
|
36051
|
+
tmp = Companion_getInstance_159().k42_1.length;
|
|
36052
36052
|
break;
|
|
36053
36053
|
default:
|
|
36054
36054
|
noWhenBranchMatchedException();
|
|
@@ -36056,14 +36056,14 @@
|
|
|
36056
36056
|
}
|
|
36057
36057
|
return tmp;
|
|
36058
36058
|
};
|
|
36059
|
-
protoOf(AvatarSet).
|
|
36059
|
+
protoOf(AvatarSet).f42 = function (index) {
|
|
36060
36060
|
var tmp;
|
|
36061
36061
|
switch (this.h2_1) {
|
|
36062
36062
|
case 0:
|
|
36063
|
-
tmp = Companion_getInstance_159().
|
|
36063
|
+
tmp = Companion_getInstance_159().i42_1[index];
|
|
36064
36064
|
break;
|
|
36065
36065
|
case 1:
|
|
36066
|
-
tmp = Companion_getInstance_159().
|
|
36066
|
+
tmp = Companion_getInstance_159().k42_1[index];
|
|
36067
36067
|
break;
|
|
36068
36068
|
default:
|
|
36069
36069
|
noWhenBranchMatchedException();
|
|
@@ -36072,8 +36072,8 @@
|
|
|
36072
36072
|
return tmp;
|
|
36073
36073
|
};
|
|
36074
36074
|
function AvatarData(index, avatarSet) {
|
|
36075
|
-
this.
|
|
36076
|
-
this.
|
|
36075
|
+
this.d42_1 = index;
|
|
36076
|
+
this.e42_1 = avatarSet;
|
|
36077
36077
|
}
|
|
36078
36078
|
function AvatarSet_ORIGIN_getInstance() {
|
|
36079
36079
|
AvatarSet_initEntries();
|
|
@@ -36086,7 +36086,7 @@
|
|
|
36086
36086
|
function GameResourcesImpl() {
|
|
36087
36087
|
Companion_getInstance_159();
|
|
36088
36088
|
}
|
|
36089
|
-
protoOf(GameResourcesImpl).
|
|
36089
|
+
protoOf(GameResourcesImpl).z41 = function (playerId, existingNicknames) {
|
|
36090
36090
|
return createUser(this, playerId, existingNicknames);
|
|
36091
36091
|
};
|
|
36092
36092
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -36127,45 +36127,45 @@
|
|
|
36127
36127
|
}
|
|
36128
36128
|
var WARN;
|
|
36129
36129
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
36130
|
-
this.
|
|
36130
|
+
this.l42_1 = loggerCallback;
|
|
36131
36131
|
}
|
|
36132
36132
|
protoOf(LoggerCallbacksWrapperLoggerOutput).j16 = function (tag, message, payload) {
|
|
36133
|
-
this.
|
|
36133
|
+
this.l42_1('debug', tag, message, null, payload);
|
|
36134
36134
|
};
|
|
36135
36135
|
protoOf(LoggerCallbacksWrapperLoggerOutput).k16 = function (tag, message, exception, payload) {
|
|
36136
|
-
this.
|
|
36136
|
+
this.l42_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
36137
36137
|
};
|
|
36138
36138
|
protoOf(LoggerCallbacksWrapperLoggerOutput).n16 = function (tag, message, payload) {
|
|
36139
|
-
this.
|
|
36139
|
+
this.l42_1('debug', tag, message, null, payload);
|
|
36140
36140
|
};
|
|
36141
36141
|
protoOf(LoggerCallbacksWrapperLoggerOutput).m16 = function (tag, message, exception, payload) {
|
|
36142
|
-
this.
|
|
36142
|
+
this.l42_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
36143
36143
|
};
|
|
36144
36144
|
protoOf(LoggerCallbacksWrapperLoggerOutput).l16 = function (tag, message, exception, payload) {
|
|
36145
|
-
this.
|
|
36145
|
+
this.l42_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
36146
36146
|
};
|
|
36147
36147
|
function ParserHelper() {
|
|
36148
36148
|
}
|
|
36149
36149
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
36150
|
-
this.
|
|
36151
|
-
this.
|
|
36150
|
+
this.m42_1 = json;
|
|
36151
|
+
this.n42_1 = encoderDecoderProvider;
|
|
36152
36152
|
}
|
|
36153
36153
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
36154
|
-
return this.
|
|
36154
|
+
return this.n42_1.x3w(mapToDto_20(action));
|
|
36155
36155
|
};
|
|
36156
36156
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
36157
|
-
return mapFromDto_16(this.
|
|
36157
|
+
return mapFromDto_16(this.n42_1.a3x(json), fromPlayerId);
|
|
36158
36158
|
};
|
|
36159
36159
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
36160
|
-
return this.
|
|
36160
|
+
return this.n42_1.y3w(mapToDto_74(action));
|
|
36161
36161
|
};
|
|
36162
36162
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
36163
36163
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
36164
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
36164
|
+
var this_0 = mapFromClientDtoListWithPayload(this.n42_1.b3x(json), playerId, engine);
|
|
36165
36165
|
return copyToArray(this_0);
|
|
36166
36166
|
};
|
|
36167
36167
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
36168
|
-
var tmp0 = this.
|
|
36168
|
+
var tmp0 = this.m42_1;
|
|
36169
36169
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36170
36170
|
var value = mapToDto_34(round);
|
|
36171
36171
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36176,7 +36176,7 @@
|
|
|
36176
36176
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36177
36177
|
};
|
|
36178
36178
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
36179
|
-
var tmp0 = this.
|
|
36179
|
+
var tmp0 = this.m42_1;
|
|
36180
36180
|
// Inline function 'kotlin.collections.map' call
|
|
36181
36181
|
var this_0 = round.items;
|
|
36182
36182
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -36198,7 +36198,7 @@
|
|
|
36198
36198
|
return tmp0.b1w(tmp$ret$4, destination);
|
|
36199
36199
|
};
|
|
36200
36200
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
36201
|
-
var tmp0 = this.
|
|
36201
|
+
var tmp0 = this.m42_1;
|
|
36202
36202
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36203
36203
|
var value = mapToDto_33(metadata);
|
|
36204
36204
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36209,7 +36209,7 @@
|
|
|
36209
36209
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36210
36210
|
};
|
|
36211
36211
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
36212
|
-
var tmp0 = this.
|
|
36212
|
+
var tmp0 = this.m42_1;
|
|
36213
36213
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36214
36214
|
var value = mapToDto_59(config);
|
|
36215
36215
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36220,7 +36220,7 @@
|
|
|
36220
36220
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36221
36221
|
};
|
|
36222
36222
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
36223
|
-
var tmp0 = this.
|
|
36223
|
+
var tmp0 = this.m42_1;
|
|
36224
36224
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36225
36225
|
var value = mapToDto_95(transition);
|
|
36226
36226
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36232,7 +36232,7 @@
|
|
|
36232
36232
|
};
|
|
36233
36233
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
36234
36234
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36235
|
-
var this_0 = this.
|
|
36235
|
+
var this_0 = this.m42_1;
|
|
36236
36236
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36237
36237
|
var this_1 = this_0.zn();
|
|
36238
36238
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36243,7 +36243,7 @@
|
|
|
36243
36243
|
};
|
|
36244
36244
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
36245
36245
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36246
|
-
var this_0 = this.
|
|
36246
|
+
var this_0 = this.m42_1;
|
|
36247
36247
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36248
36248
|
var this_1 = this_0.zn();
|
|
36249
36249
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36253,7 +36253,7 @@
|
|
|
36253
36253
|
return mapFromDto_97(tmp$ret$2);
|
|
36254
36254
|
};
|
|
36255
36255
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
36256
|
-
var tmp0 = this.
|
|
36256
|
+
var tmp0 = this.m42_1;
|
|
36257
36257
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36258
36258
|
var value = mapToDto_126(table);
|
|
36259
36259
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36264,11 +36264,11 @@
|
|
|
36264
36264
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36265
36265
|
};
|
|
36266
36266
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
36267
|
-
return mapFromDto_64(this.
|
|
36267
|
+
return mapFromDto_64(this.n42_1.z3w(json));
|
|
36268
36268
|
};
|
|
36269
36269
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
36270
36270
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36271
|
-
var this_0 = this.
|
|
36271
|
+
var this_0 = this.m42_1;
|
|
36272
36272
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36273
36273
|
var this_1 = this_0.zn();
|
|
36274
36274
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36281,16 +36281,16 @@
|
|
|
36281
36281
|
function RatingHelper() {
|
|
36282
36282
|
}
|
|
36283
36283
|
function RatingHelperImpl(userRatingInteractor) {
|
|
36284
|
-
this.
|
|
36284
|
+
this.o42_1 = userRatingInteractor;
|
|
36285
36285
|
}
|
|
36286
36286
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
36287
|
-
return this.
|
|
36287
|
+
return this.o42_1.g3x(league, rating);
|
|
36288
36288
|
};
|
|
36289
36289
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
36290
|
-
return this.
|
|
36290
|
+
return this.o42_1.i3x(rating);
|
|
36291
36291
|
};
|
|
36292
36292
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
36293
|
-
return this.
|
|
36293
|
+
return this.o42_1.h3x();
|
|
36294
36294
|
};
|
|
36295
36295
|
function engineHelpersModule() {
|
|
36296
36296
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
@@ -36395,14 +36395,14 @@
|
|
|
36395
36395
|
return new GameResourcesImpl();
|
|
36396
36396
|
}
|
|
36397
36397
|
function _get_logger__rkp4sl($this) {
|
|
36398
|
-
var tmp0 = $this.
|
|
36398
|
+
var tmp0 = $this.q42_1;
|
|
36399
36399
|
var tmp = KProperty1;
|
|
36400
36400
|
// Inline function 'kotlin.getValue' call
|
|
36401
36401
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
36402
36402
|
return tmp0.v1();
|
|
36403
36403
|
}
|
|
36404
36404
|
function _get_di__ndbzja($this) {
|
|
36405
|
-
var tmp0 = $this.
|
|
36405
|
+
var tmp0 = $this.r42_1;
|
|
36406
36406
|
var tmp = KProperty1;
|
|
36407
36407
|
// Inline function 'kotlin.getValue' call
|
|
36408
36408
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -36411,11 +36411,11 @@
|
|
|
36411
36411
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
36412
36412
|
return function () {
|
|
36413
36413
|
var tmp;
|
|
36414
|
-
if (this$0.
|
|
36414
|
+
if (this$0.p42_1 == null) {
|
|
36415
36415
|
tmp = null;
|
|
36416
36416
|
} else {
|
|
36417
36417
|
// Inline function 'kotlin.let' call
|
|
36418
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
36418
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.p42_1)]));
|
|
36419
36419
|
}
|
|
36420
36420
|
var tmp1_elvis_lhs = tmp;
|
|
36421
36421
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -36505,11 +36505,11 @@
|
|
|
36505
36505
|
}
|
|
36506
36506
|
function EngineHelpersFactory(loggerCallback) {
|
|
36507
36507
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
36508
|
-
this.
|
|
36508
|
+
this.p42_1 = loggerCallback;
|
|
36509
36509
|
var tmp = this;
|
|
36510
|
-
tmp.
|
|
36510
|
+
tmp.q42_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
36511
36511
|
var tmp_0 = this;
|
|
36512
|
-
tmp_0.
|
|
36512
|
+
tmp_0.r42_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
36513
36513
|
var tmp_1 = this;
|
|
36514
36514
|
// Inline function 'org.kodein.di.instance' call
|
|
36515
36515
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -36518,7 +36518,7 @@
|
|
|
36518
36518
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
36519
36519
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
36520
36520
|
var tmp_4 = KProperty1;
|
|
36521
|
-
tmp_1.
|
|
36521
|
+
tmp_1.s42_1 = tmp_3.n2e(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
36522
36522
|
var tmp_5 = this;
|
|
36523
36523
|
// Inline function 'org.kodein.di.instance' call
|
|
36524
36524
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -36527,7 +36527,7 @@
|
|
|
36527
36527
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
36528
36528
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
36529
36529
|
var tmp_8 = KProperty1;
|
|
36530
|
-
tmp_5.
|
|
36530
|
+
tmp_5.t42_1 = tmp_7.n2e(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
36531
36531
|
var tmp_9 = this;
|
|
36532
36532
|
// Inline function 'org.kodein.di.instance' call
|
|
36533
36533
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -36536,7 +36536,7 @@
|
|
|
36536
36536
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
36537
36537
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
36538
36538
|
var tmp_12 = KProperty1;
|
|
36539
|
-
tmp_9.
|
|
36539
|
+
tmp_9.u42_1 = tmp_11.n2e(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
36540
36540
|
var tmp_13 = this;
|
|
36541
36541
|
// Inline function 'org.kodein.di.instance' call
|
|
36542
36542
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -36545,31 +36545,31 @@
|
|
|
36545
36545
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
36546
36546
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
36547
36547
|
var tmp_16 = KProperty1;
|
|
36548
|
-
tmp_13.
|
|
36548
|
+
tmp_13.v42_1 = tmp_15.n2e(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
36549
36549
|
}
|
|
36550
|
-
protoOf(EngineHelpersFactory).
|
|
36551
|
-
var tmp0 = this.
|
|
36550
|
+
protoOf(EngineHelpersFactory).w42 = function () {
|
|
36551
|
+
var tmp0 = this.s42_1;
|
|
36552
36552
|
var tmp = KProperty1;
|
|
36553
36553
|
// Inline function 'kotlin.getValue' call
|
|
36554
36554
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
36555
36555
|
return tmp0.v1();
|
|
36556
36556
|
};
|
|
36557
|
-
protoOf(EngineHelpersFactory).
|
|
36558
|
-
var tmp0 = this.
|
|
36557
|
+
protoOf(EngineHelpersFactory).x42 = function () {
|
|
36558
|
+
var tmp0 = this.t42_1;
|
|
36559
36559
|
var tmp = KProperty1;
|
|
36560
36560
|
// Inline function 'kotlin.getValue' call
|
|
36561
36561
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
36562
36562
|
return tmp0.v1();
|
|
36563
36563
|
};
|
|
36564
|
-
protoOf(EngineHelpersFactory).
|
|
36565
|
-
var tmp0 = this.
|
|
36564
|
+
protoOf(EngineHelpersFactory).y42 = function () {
|
|
36565
|
+
var tmp0 = this.u42_1;
|
|
36566
36566
|
var tmp = KProperty1;
|
|
36567
36567
|
// Inline function 'kotlin.getValue' call
|
|
36568
36568
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
36569
36569
|
return tmp0.v1();
|
|
36570
36570
|
};
|
|
36571
|
-
protoOf(EngineHelpersFactory).
|
|
36572
|
-
var tmp0 = this.
|
|
36571
|
+
protoOf(EngineHelpersFactory).z42 = function () {
|
|
36572
|
+
var tmp0 = this.v42_1;
|
|
36573
36573
|
var tmp = KProperty1;
|
|
36574
36574
|
// Inline function 'kotlin.getValue' call
|
|
36575
36575
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -37136,10 +37136,10 @@
|
|
|
37136
37136
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
37137
37137
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
37138
37138
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
37139
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
37140
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
37141
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
37142
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
37139
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).w42);
|
|
37140
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).x42);
|
|
37141
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).y42);
|
|
37142
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).z42);
|
|
37143
37143
|
//endregion
|
|
37144
37144
|
//region block: init
|
|
37145
37145
|
Companion_instance_3 = new Companion();
|
|
@@ -37749,6 +37749,10 @@
|
|
|
37749
37749
|
var $games$jass = $games.jass || ($games.jass = {});
|
|
37750
37750
|
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
37751
37751
|
var $games$jass$logic$redux = $games$jass$logic.redux || ($games$jass$logic.redux = {});
|
|
37752
|
+
var $games = _.games || (_.games = {});
|
|
37753
|
+
var $games$jass = $games.jass || ($games.jass = {});
|
|
37754
|
+
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
37755
|
+
var $games$jass$logic$redux = $games$jass$logic.redux || ($games$jass$logic.redux = {});
|
|
37752
37756
|
var $games$jass$logic$redux$actions = $games$jass$logic$redux.actions || ($games$jass$logic$redux.actions = {});
|
|
37753
37757
|
$games$jass$logic$redux$actions.ClearAction = ClearAction;
|
|
37754
37758
|
var $games = _.games || (_.games = {});
|