raspberry_games_engine_helpers 1.8.401 → 1.8.403
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 +1 -1
- package/Logic_Debertz-engine.js +71 -71
- package/package.json +1 -1
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.403';
|
|
220
220
|
}
|
|
221
221
|
protoOf(GameEngineConfig).k17 = function () {
|
|
222
222
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -816,10 +816,10 @@
|
|
|
816
816
|
initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
|
|
817
817
|
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
|
|
818
818
|
initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction, PlayerOrderChangeMechanicAction]);
|
|
819
|
-
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
820
|
-
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
821
|
-
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
822
|
-
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
819
|
+
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
820
|
+
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
821
|
+
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, BufferedAction]);
|
|
822
|
+
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
823
823
|
initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
|
|
824
824
|
initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, BufferedAction]);
|
|
825
825
|
initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
|
|
@@ -848,7 +848,7 @@
|
|
|
848
848
|
tmp = existingNicknames;
|
|
849
849
|
}
|
|
850
850
|
existingNicknames = tmp;
|
|
851
|
-
return $super === VOID ? this.
|
|
851
|
+
return $super === VOID ? this.g42(playerId, existingNicknames) : $super.g42.call(this, playerId, existingNicknames);
|
|
852
852
|
}
|
|
853
853
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
854
854
|
initMetadataForCompanion(Companion_153);
|
|
@@ -36077,40 +36077,40 @@
|
|
|
36077
36077
|
function getRandomAvatarData_0($this) {
|
|
36078
36078
|
var avatarSetNumber = Default_getInstance().wd(get_entries_5().o());
|
|
36079
36079
|
var avatarSet = get_entries_5().p(avatarSetNumber);
|
|
36080
|
-
return new AvatarData(Default_getInstance().wd(avatarSet.
|
|
36080
|
+
return new AvatarData(Default_getInstance().wd(avatarSet.j42()), avatarSet);
|
|
36081
36081
|
}
|
|
36082
36082
|
function getAvatarUrlByIndex($this, data) {
|
|
36083
36083
|
return mapToPattern($this, data);
|
|
36084
36084
|
}
|
|
36085
36085
|
function getNicknameByIndex($this, data) {
|
|
36086
|
-
return data.
|
|
36086
|
+
return data.l42_1.m42(data.k42_1);
|
|
36087
36087
|
}
|
|
36088
36088
|
function mapToPattern($this, data) {
|
|
36089
|
-
return 'debertz://raspberry.games/' + data.
|
|
36089
|
+
return 'debertz://raspberry.games/' + data.l42_1.h2_1 + '/' + data.k42_1;
|
|
36090
36090
|
}
|
|
36091
36091
|
function Companion_153() {
|
|
36092
36092
|
Companion_instance_157 = this;
|
|
36093
|
-
this.
|
|
36093
|
+
this.n42_1 = 'debertz://raspberry.games';
|
|
36094
36094
|
var tmp = this;
|
|
36095
36095
|
// Inline function 'kotlin.arrayOf' call
|
|
36096
36096
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36097
36097
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36098
|
-
tmp.
|
|
36098
|
+
tmp.o42_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
36099
36099
|
var tmp_0 = this;
|
|
36100
36100
|
// Inline function 'kotlin.arrayOf' call
|
|
36101
36101
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36102
36102
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36103
|
-
tmp_0.
|
|
36103
|
+
tmp_0.p42_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'];
|
|
36104
36104
|
var tmp_1 = this;
|
|
36105
36105
|
// Inline function 'kotlin.arrayOf' call
|
|
36106
36106
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36107
36107
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36108
|
-
tmp_1.
|
|
36108
|
+
tmp_1.q42_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
36109
36109
|
var tmp_2 = this;
|
|
36110
36110
|
// Inline function 'kotlin.arrayOf' call
|
|
36111
36111
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36112
36112
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36113
|
-
tmp_2.
|
|
36113
|
+
tmp_2.r42_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'];
|
|
36114
36114
|
}
|
|
36115
36115
|
var Companion_instance_157;
|
|
36116
36116
|
function Companion_getInstance_160() {
|
|
@@ -36121,14 +36121,14 @@
|
|
|
36121
36121
|
function AvatarSet(name, ordinal) {
|
|
36122
36122
|
Enum.call(this, name, ordinal);
|
|
36123
36123
|
}
|
|
36124
|
-
protoOf(AvatarSet).
|
|
36124
|
+
protoOf(AvatarSet).j42 = function () {
|
|
36125
36125
|
var tmp;
|
|
36126
36126
|
switch (this.h2_1) {
|
|
36127
36127
|
case 0:
|
|
36128
|
-
tmp = Companion_getInstance_160().
|
|
36128
|
+
tmp = Companion_getInstance_160().p42_1.length;
|
|
36129
36129
|
break;
|
|
36130
36130
|
case 1:
|
|
36131
|
-
tmp = Companion_getInstance_160().
|
|
36131
|
+
tmp = Companion_getInstance_160().r42_1.length;
|
|
36132
36132
|
break;
|
|
36133
36133
|
default:
|
|
36134
36134
|
noWhenBranchMatchedException();
|
|
@@ -36136,14 +36136,14 @@
|
|
|
36136
36136
|
}
|
|
36137
36137
|
return tmp;
|
|
36138
36138
|
};
|
|
36139
|
-
protoOf(AvatarSet).
|
|
36139
|
+
protoOf(AvatarSet).m42 = function (index) {
|
|
36140
36140
|
var tmp;
|
|
36141
36141
|
switch (this.h2_1) {
|
|
36142
36142
|
case 0:
|
|
36143
|
-
tmp = Companion_getInstance_160().
|
|
36143
|
+
tmp = Companion_getInstance_160().p42_1[index];
|
|
36144
36144
|
break;
|
|
36145
36145
|
case 1:
|
|
36146
|
-
tmp = Companion_getInstance_160().
|
|
36146
|
+
tmp = Companion_getInstance_160().r42_1[index];
|
|
36147
36147
|
break;
|
|
36148
36148
|
default:
|
|
36149
36149
|
noWhenBranchMatchedException();
|
|
@@ -36152,8 +36152,8 @@
|
|
|
36152
36152
|
return tmp;
|
|
36153
36153
|
};
|
|
36154
36154
|
function AvatarData(index, avatarSet) {
|
|
36155
|
-
this.
|
|
36156
|
-
this.
|
|
36155
|
+
this.k42_1 = index;
|
|
36156
|
+
this.l42_1 = avatarSet;
|
|
36157
36157
|
}
|
|
36158
36158
|
function AvatarSet_ORIGIN_getInstance() {
|
|
36159
36159
|
AvatarSet_initEntries();
|
|
@@ -36166,7 +36166,7 @@
|
|
|
36166
36166
|
function GameResourcesImpl() {
|
|
36167
36167
|
Companion_getInstance_160();
|
|
36168
36168
|
}
|
|
36169
|
-
protoOf(GameResourcesImpl).
|
|
36169
|
+
protoOf(GameResourcesImpl).g42 = function (playerId, existingNicknames) {
|
|
36170
36170
|
return createUser(this, playerId, existingNicknames);
|
|
36171
36171
|
};
|
|
36172
36172
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -36207,45 +36207,45 @@
|
|
|
36207
36207
|
}
|
|
36208
36208
|
var WARN;
|
|
36209
36209
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
36210
|
-
this.
|
|
36210
|
+
this.s42_1 = loggerCallback;
|
|
36211
36211
|
}
|
|
36212
36212
|
protoOf(LoggerCallbacksWrapperLoggerOutput).j16 = function (tag, message, payload) {
|
|
36213
|
-
this.
|
|
36213
|
+
this.s42_1('debug', tag, message, null, payload);
|
|
36214
36214
|
};
|
|
36215
36215
|
protoOf(LoggerCallbacksWrapperLoggerOutput).k16 = function (tag, message, exception, payload) {
|
|
36216
|
-
this.
|
|
36216
|
+
this.s42_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
36217
36217
|
};
|
|
36218
36218
|
protoOf(LoggerCallbacksWrapperLoggerOutput).n16 = function (tag, message, payload) {
|
|
36219
|
-
this.
|
|
36219
|
+
this.s42_1('debug', tag, message, null, payload);
|
|
36220
36220
|
};
|
|
36221
36221
|
protoOf(LoggerCallbacksWrapperLoggerOutput).m16 = function (tag, message, exception, payload) {
|
|
36222
|
-
this.
|
|
36222
|
+
this.s42_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
36223
36223
|
};
|
|
36224
36224
|
protoOf(LoggerCallbacksWrapperLoggerOutput).l16 = function (tag, message, exception, payload) {
|
|
36225
|
-
this.
|
|
36225
|
+
this.s42_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
36226
36226
|
};
|
|
36227
36227
|
function ParserHelper() {
|
|
36228
36228
|
}
|
|
36229
36229
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
36230
|
-
this.
|
|
36231
|
-
this.
|
|
36230
|
+
this.t42_1 = json;
|
|
36231
|
+
this.u42_1 = encoderDecoderProvider;
|
|
36232
36232
|
}
|
|
36233
36233
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
36234
|
-
return this.
|
|
36234
|
+
return this.u42_1.g3x(mapToDto_20(action));
|
|
36235
36235
|
};
|
|
36236
36236
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
36237
|
-
return mapFromDto_16(this.
|
|
36237
|
+
return mapFromDto_16(this.u42_1.j3x(json), fromPlayerId);
|
|
36238
36238
|
};
|
|
36239
36239
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
36240
|
-
return this.
|
|
36240
|
+
return this.u42_1.h3x(mapToDto_74(action));
|
|
36241
36241
|
};
|
|
36242
36242
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
36243
36243
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
36244
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
36244
|
+
var this_0 = mapFromClientDtoListWithPayload(this.u42_1.k3x(json), playerId, engine);
|
|
36245
36245
|
return copyToArray(this_0);
|
|
36246
36246
|
};
|
|
36247
36247
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
36248
|
-
var tmp0 = this.
|
|
36248
|
+
var tmp0 = this.t42_1;
|
|
36249
36249
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36250
36250
|
var value = mapToDto_34(round);
|
|
36251
36251
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36256,7 +36256,7 @@
|
|
|
36256
36256
|
return tmp0.j23(tmp$ret$1, value);
|
|
36257
36257
|
};
|
|
36258
36258
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
36259
|
-
var tmp0 = this.
|
|
36259
|
+
var tmp0 = this.t42_1;
|
|
36260
36260
|
// Inline function 'kotlin.collections.map' call
|
|
36261
36261
|
var this_0 = round.items;
|
|
36262
36262
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -36278,7 +36278,7 @@
|
|
|
36278
36278
|
return tmp0.j23(tmp$ret$4, destination);
|
|
36279
36279
|
};
|
|
36280
36280
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
36281
|
-
var tmp0 = this.
|
|
36281
|
+
var tmp0 = this.t42_1;
|
|
36282
36282
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36283
36283
|
var value = mapToDto_33(metadata);
|
|
36284
36284
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36289,7 +36289,7 @@
|
|
|
36289
36289
|
return tmp0.j23(tmp$ret$1, value);
|
|
36290
36290
|
};
|
|
36291
36291
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
36292
|
-
var tmp0 = this.
|
|
36292
|
+
var tmp0 = this.t42_1;
|
|
36293
36293
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36294
36294
|
var value = mapToDto_59(config);
|
|
36295
36295
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36300,7 +36300,7 @@
|
|
|
36300
36300
|
return tmp0.j23(tmp$ret$1, value);
|
|
36301
36301
|
};
|
|
36302
36302
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
36303
|
-
var tmp0 = this.
|
|
36303
|
+
var tmp0 = this.t42_1;
|
|
36304
36304
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36305
36305
|
var value = mapToDto_95(transition);
|
|
36306
36306
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36312,7 +36312,7 @@
|
|
|
36312
36312
|
};
|
|
36313
36313
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
36314
36314
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36315
|
-
var this_0 = this.
|
|
36315
|
+
var this_0 = this.t42_1;
|
|
36316
36316
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36317
36317
|
var this_1 = this_0.zn();
|
|
36318
36318
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36323,7 +36323,7 @@
|
|
|
36323
36323
|
};
|
|
36324
36324
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
36325
36325
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36326
|
-
var this_0 = this.
|
|
36326
|
+
var this_0 = this.t42_1;
|
|
36327
36327
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36328
36328
|
var this_1 = this_0.zn();
|
|
36329
36329
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36333,7 +36333,7 @@
|
|
|
36333
36333
|
return mapFromDto_97(tmp$ret$2);
|
|
36334
36334
|
};
|
|
36335
36335
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
36336
|
-
var tmp0 = this.
|
|
36336
|
+
var tmp0 = this.t42_1;
|
|
36337
36337
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36338
36338
|
var value = mapToDto_126(table);
|
|
36339
36339
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36344,11 +36344,11 @@
|
|
|
36344
36344
|
return tmp0.j23(tmp$ret$1, value);
|
|
36345
36345
|
};
|
|
36346
36346
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
36347
|
-
return mapFromDto_64(this.
|
|
36347
|
+
return mapFromDto_64(this.u42_1.i3x(json));
|
|
36348
36348
|
};
|
|
36349
36349
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
36350
36350
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36351
|
-
var this_0 = this.
|
|
36351
|
+
var this_0 = this.t42_1;
|
|
36352
36352
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36353
36353
|
var this_1 = this_0.zn();
|
|
36354
36354
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36361,16 +36361,16 @@
|
|
|
36361
36361
|
function RatingHelper() {
|
|
36362
36362
|
}
|
|
36363
36363
|
function RatingHelperImpl(userRatingInteractor) {
|
|
36364
|
-
this.
|
|
36364
|
+
this.v42_1 = userRatingInteractor;
|
|
36365
36365
|
}
|
|
36366
36366
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
36367
|
-
return this.
|
|
36367
|
+
return this.v42_1.p3x(league, rating);
|
|
36368
36368
|
};
|
|
36369
36369
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
36370
|
-
return this.
|
|
36370
|
+
return this.v42_1.r3x(rating);
|
|
36371
36371
|
};
|
|
36372
36372
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
36373
|
-
return this.
|
|
36373
|
+
return this.v42_1.q3x();
|
|
36374
36374
|
};
|
|
36375
36375
|
function engineHelpersModule() {
|
|
36376
36376
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
@@ -36475,14 +36475,14 @@
|
|
|
36475
36475
|
return new GameResourcesImpl();
|
|
36476
36476
|
}
|
|
36477
36477
|
function _get_logger__rkp4sl($this) {
|
|
36478
|
-
var tmp0 = $this.
|
|
36478
|
+
var tmp0 = $this.x42_1;
|
|
36479
36479
|
var tmp = KProperty1;
|
|
36480
36480
|
// Inline function 'kotlin.getValue' call
|
|
36481
36481
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
36482
36482
|
return tmp0.v1();
|
|
36483
36483
|
}
|
|
36484
36484
|
function _get_di__ndbzja($this) {
|
|
36485
|
-
var tmp0 = $this.
|
|
36485
|
+
var tmp0 = $this.y42_1;
|
|
36486
36486
|
var tmp = KProperty1;
|
|
36487
36487
|
// Inline function 'kotlin.getValue' call
|
|
36488
36488
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -36491,11 +36491,11 @@
|
|
|
36491
36491
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
36492
36492
|
return function () {
|
|
36493
36493
|
var tmp;
|
|
36494
|
-
if (this$0.
|
|
36494
|
+
if (this$0.w42_1 == null) {
|
|
36495
36495
|
tmp = null;
|
|
36496
36496
|
} else {
|
|
36497
36497
|
// Inline function 'kotlin.let' call
|
|
36498
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
36498
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.w42_1)]));
|
|
36499
36499
|
}
|
|
36500
36500
|
var tmp1_elvis_lhs = tmp;
|
|
36501
36501
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -36585,11 +36585,11 @@
|
|
|
36585
36585
|
}
|
|
36586
36586
|
function EngineHelpersFactory(loggerCallback) {
|
|
36587
36587
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
36588
|
-
this.
|
|
36588
|
+
this.w42_1 = loggerCallback;
|
|
36589
36589
|
var tmp = this;
|
|
36590
|
-
tmp.
|
|
36590
|
+
tmp.x42_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
36591
36591
|
var tmp_0 = this;
|
|
36592
|
-
tmp_0.
|
|
36592
|
+
tmp_0.y42_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
36593
36593
|
var tmp_1 = this;
|
|
36594
36594
|
// Inline function 'org.kodein.di.instance' call
|
|
36595
36595
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -36598,7 +36598,7 @@
|
|
|
36598
36598
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
36599
36599
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
36600
36600
|
var tmp_4 = KProperty1;
|
|
36601
|
-
tmp_1.
|
|
36601
|
+
tmp_1.z42_1 = tmp_3.e23(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
36602
36602
|
var tmp_5 = this;
|
|
36603
36603
|
// Inline function 'org.kodein.di.instance' call
|
|
36604
36604
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -36607,7 +36607,7 @@
|
|
|
36607
36607
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
36608
36608
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
36609
36609
|
var tmp_8 = KProperty1;
|
|
36610
|
-
tmp_5.
|
|
36610
|
+
tmp_5.a43_1 = tmp_7.e23(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
36611
36611
|
var tmp_9 = this;
|
|
36612
36612
|
// Inline function 'org.kodein.di.instance' call
|
|
36613
36613
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -36616,7 +36616,7 @@
|
|
|
36616
36616
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
36617
36617
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
36618
36618
|
var tmp_12 = KProperty1;
|
|
36619
|
-
tmp_9.
|
|
36619
|
+
tmp_9.b43_1 = tmp_11.e23(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
36620
36620
|
var tmp_13 = this;
|
|
36621
36621
|
// Inline function 'org.kodein.di.instance' call
|
|
36622
36622
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -36625,31 +36625,31 @@
|
|
|
36625
36625
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
36626
36626
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
36627
36627
|
var tmp_16 = KProperty1;
|
|
36628
|
-
tmp_13.
|
|
36628
|
+
tmp_13.c43_1 = tmp_15.e23(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
36629
36629
|
}
|
|
36630
|
-
protoOf(EngineHelpersFactory).
|
|
36631
|
-
var tmp0 = this.
|
|
36630
|
+
protoOf(EngineHelpersFactory).d43 = function () {
|
|
36631
|
+
var tmp0 = this.z42_1;
|
|
36632
36632
|
var tmp = KProperty1;
|
|
36633
36633
|
// Inline function 'kotlin.getValue' call
|
|
36634
36634
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
36635
36635
|
return tmp0.v1();
|
|
36636
36636
|
};
|
|
36637
|
-
protoOf(EngineHelpersFactory).
|
|
36638
|
-
var tmp0 = this.
|
|
36637
|
+
protoOf(EngineHelpersFactory).e43 = function () {
|
|
36638
|
+
var tmp0 = this.a43_1;
|
|
36639
36639
|
var tmp = KProperty1;
|
|
36640
36640
|
// Inline function 'kotlin.getValue' call
|
|
36641
36641
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
36642
36642
|
return tmp0.v1();
|
|
36643
36643
|
};
|
|
36644
|
-
protoOf(EngineHelpersFactory).
|
|
36645
|
-
var tmp0 = this.
|
|
36644
|
+
protoOf(EngineHelpersFactory).f43 = function () {
|
|
36645
|
+
var tmp0 = this.b43_1;
|
|
36646
36646
|
var tmp = KProperty1;
|
|
36647
36647
|
// Inline function 'kotlin.getValue' call
|
|
36648
36648
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
36649
36649
|
return tmp0.v1();
|
|
36650
36650
|
};
|
|
36651
|
-
protoOf(EngineHelpersFactory).
|
|
36652
|
-
var tmp0 = this.
|
|
36651
|
+
protoOf(EngineHelpersFactory).g43 = function () {
|
|
36652
|
+
var tmp0 = this.c43_1;
|
|
36653
36653
|
var tmp = KProperty1;
|
|
36654
36654
|
// Inline function 'kotlin.getValue' call
|
|
36655
36655
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -37213,10 +37213,10 @@
|
|
|
37213
37213
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
37214
37214
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
37215
37215
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
37216
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
37217
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
37218
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
37219
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
37216
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).d43);
|
|
37217
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).e43);
|
|
37218
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).f43);
|
|
37219
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).g43);
|
|
37220
37220
|
//endregion
|
|
37221
37221
|
//region block: init
|
|
37222
37222
|
Companion_instance_3 = new Companion();
|