game_client_logic_deb 1.8.384 → 1.8.385
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.js +85 -82
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2071 -2051
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
function addFormatStructureForTime(structure) {
|
|
381
381
|
this.z5i(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
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
386
386
|
//endregion
|
|
387
387
|
function GameEngineConfig() {
|
|
388
|
-
this.version = '1.8.
|
|
388
|
+
this.version = '1.8.385';
|
|
389
389
|
}
|
|
390
390
|
protoOf(GameEngineConfig).u3u = function () {
|
|
391
391
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1270,21 +1270,21 @@
|
|
|
1270
1270
|
tmp = types;
|
|
1271
1271
|
}
|
|
1272
1272
|
types = tmp;
|
|
1273
|
-
return $super === VOID ? this.
|
|
1273
|
+
return $super === VOID ? this.l97(loggerKey, types) : $super.l97.call(this, loggerKey, types);
|
|
1274
1274
|
}
|
|
1275
1275
|
initMetadataForInterface(FileLoggerOutput, 'FileLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
1276
1276
|
initMetadataForClass(FileLoggerOutputImpl, 'FileLoggerOutputImpl', VOID, VOID, [FileLoggerOutput]);
|
|
1277
1277
|
function filterLivePlayers(store, playerIds, includeBots, $super) {
|
|
1278
1278
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
1279
|
-
return $super === VOID ? this.
|
|
1279
|
+
return $super === VOID ? this.m97(store, playerIds, includeBots) : $super.m97.call(this, store, playerIds, includeBots);
|
|
1280
1280
|
}
|
|
1281
1281
|
function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
|
|
1282
1282
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
1283
|
-
return $super === VOID ? this.
|
|
1283
|
+
return $super === VOID ? this.n97(store, playerIds, includeBots) : $super.n97.call(this, store, playerIds, includeBots);
|
|
1284
1284
|
}
|
|
1285
1285
|
function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
|
|
1286
1286
|
league = league === VOID ? null : league;
|
|
1287
|
-
return $super === VOID ? this.
|
|
1287
|
+
return $super === VOID ? this.o97(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.o97.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
|
|
1288
1288
|
}
|
|
1289
1289
|
initMetadataForInterface(GameHelper, 'GameHelper');
|
|
1290
1290
|
initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
|
|
@@ -1297,7 +1297,7 @@
|
|
|
1297
1297
|
tmp = existingNicknames;
|
|
1298
1298
|
}
|
|
1299
1299
|
existingNicknames = tmp;
|
|
1300
|
-
return $super === VOID ? this.
|
|
1300
|
+
return $super === VOID ? this.q97(playerId, existingNicknames) : $super.q97.call(this, playerId, existingNicknames);
|
|
1301
1301
|
}
|
|
1302
1302
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
1303
1303
|
initMetadataForCompanion(Companion_167);
|
|
@@ -53798,8 +53798,9 @@
|
|
|
53798
53798
|
};
|
|
53799
53799
|
function Companion_166() {
|
|
53800
53800
|
this.g97_1 = 1000;
|
|
53801
|
+
this.h97_1 = 'FileLoggerOutput';
|
|
53801
53802
|
}
|
|
53802
|
-
protoOf(Companion_166).
|
|
53803
|
+
protoOf(Companion_166).i97 = function (payload) {
|
|
53803
53804
|
var tmp;
|
|
53804
53805
|
if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
|
|
53805
53806
|
tmp = payload.id;
|
|
@@ -53816,7 +53817,7 @@
|
|
|
53816
53817
|
}
|
|
53817
53818
|
return tmp;
|
|
53818
53819
|
};
|
|
53819
|
-
protoOf(Companion_166).
|
|
53820
|
+
protoOf(Companion_166).j97 = function (payload) {
|
|
53820
53821
|
var tmp;
|
|
53821
53822
|
if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
|
|
53822
53823
|
tmp = first(payload.users).p64_1;
|
|
@@ -53834,13 +53835,13 @@
|
|
|
53834
53835
|
return Companion_instance_171;
|
|
53835
53836
|
}
|
|
53836
53837
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
53837
|
-
this.
|
|
53838
|
+
this.k97_1 = function_0;
|
|
53838
53839
|
}
|
|
53839
53840
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).x27 = function (value, $completion) {
|
|
53840
|
-
return this.
|
|
53841
|
+
return this.k97_1(value, $completion);
|
|
53841
53842
|
};
|
|
53842
53843
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
53843
|
-
return this.
|
|
53844
|
+
return this.k97_1;
|
|
53844
53845
|
};
|
|
53845
53846
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
53846
53847
|
var tmp;
|
|
@@ -53890,7 +53891,7 @@
|
|
|
53890
53891
|
protoOf(FileLoggerOutputImpl).d1l = function () {
|
|
53891
53892
|
return this.x96_1;
|
|
53892
53893
|
};
|
|
53893
|
-
protoOf(FileLoggerOutputImpl).
|
|
53894
|
+
protoOf(FileLoggerOutputImpl).l97 = function (loggerKey, types) {
|
|
53894
53895
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
53895
53896
|
this.y96_1;
|
|
53896
53897
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
@@ -53912,6 +53913,7 @@
|
|
|
53912
53913
|
return new FileLoggerOutputImpl$observe$$inlined$filter$1(this_1, types);
|
|
53913
53914
|
};
|
|
53914
53915
|
protoOf(FileLoggerOutputImpl).d8y = function (loggerKey) {
|
|
53916
|
+
this.d('FileLoggerOutput', 'destroy logger ' + toString(loggerKey));
|
|
53915
53917
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
53916
53918
|
this.y96_1;
|
|
53917
53919
|
var tmp0_safe_receiver = this.z96_1.b2(loggerKey);
|
|
@@ -53939,6 +53941,7 @@
|
|
|
53939
53941
|
var updatedModel = tmp.f97(VOID, controller, job);
|
|
53940
53942
|
// Inline function 'kotlin.collections.set' call
|
|
53941
53943
|
this.z96_1.e2(loggerKey, updatedModel);
|
|
53944
|
+
this.d('FileLoggerOutput', 'create logger ' + toString(loggerKey));
|
|
53942
53945
|
};
|
|
53943
53946
|
protoOf(FileLoggerOutputImpl).h2 = function () {
|
|
53944
53947
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
@@ -54535,9 +54538,9 @@
|
|
|
54535
54538
|
}
|
|
54536
54539
|
}
|
|
54537
54540
|
function GameHelperImpl(logger) {
|
|
54538
|
-
this.
|
|
54541
|
+
this.p97_1 = logger;
|
|
54539
54542
|
}
|
|
54540
|
-
protoOf(GameHelperImpl).
|
|
54543
|
+
protoOf(GameHelperImpl).m97 = function (store, playerIds, includeBots) {
|
|
54541
54544
|
var state = store.state;
|
|
54542
54545
|
var tmp;
|
|
54543
54546
|
if (!state.n6i()) {
|
|
@@ -54583,7 +54586,7 @@
|
|
|
54583
54586
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
54584
54587
|
return copyToArray(destination_1);
|
|
54585
54588
|
};
|
|
54586
|
-
protoOf(GameHelperImpl).
|
|
54589
|
+
protoOf(GameHelperImpl).n97 = function (store, playerIds, includeBots) {
|
|
54587
54590
|
var state = store.state;
|
|
54588
54591
|
var tmp;
|
|
54589
54592
|
if (!state.n6i()) {
|
|
@@ -54754,10 +54757,10 @@
|
|
|
54754
54757
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
54755
54758
|
return copyToArray(destination);
|
|
54756
54759
|
};
|
|
54757
|
-
protoOf(GameHelperImpl).
|
|
54760
|
+
protoOf(GameHelperImpl).o97 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
|
|
54758
54761
|
var roomMode = mapToRoomMode(mode);
|
|
54759
54762
|
var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
|
|
54760
|
-
this.
|
|
54763
|
+
this.p97_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
|
|
54761
54764
|
var options = Companion_instance_155.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
|
|
54762
54765
|
var playersMode = this.mapPlayers(players);
|
|
54763
54766
|
var pointsMode = this.mapPoints(points);
|
|
@@ -55192,40 +55195,40 @@
|
|
|
55192
55195
|
function getRandomAvatarData_0($this) {
|
|
55193
55196
|
var avatarSetNumber = Default_getInstance().ng(get_entries_6().o());
|
|
55194
55197
|
var avatarSet = get_entries_6().p(avatarSetNumber);
|
|
55195
|
-
return new AvatarData(Default_getInstance().ng(avatarSet.
|
|
55198
|
+
return new AvatarData(Default_getInstance().ng(avatarSet.t97()), avatarSet);
|
|
55196
55199
|
}
|
|
55197
55200
|
function getAvatarUrlByIndex($this, data) {
|
|
55198
55201
|
return mapToPattern($this, data);
|
|
55199
55202
|
}
|
|
55200
55203
|
function getNicknameByIndex($this, data) {
|
|
55201
|
-
return data.
|
|
55204
|
+
return data.v97_1.w97(data.u97_1);
|
|
55202
55205
|
}
|
|
55203
55206
|
function mapToPattern($this, data) {
|
|
55204
|
-
return 'debertz://raspberry.games/' + data.
|
|
55207
|
+
return 'debertz://raspberry.games/' + data.v97_1.p2_1 + '/' + data.u97_1;
|
|
55205
55208
|
}
|
|
55206
55209
|
function Companion_167() {
|
|
55207
55210
|
Companion_instance_172 = this;
|
|
55208
|
-
this.
|
|
55211
|
+
this.x97_1 = 'debertz://raspberry.games';
|
|
55209
55212
|
var tmp = this;
|
|
55210
55213
|
// Inline function 'kotlin.arrayOf' call
|
|
55211
55214
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
55212
55215
|
// Inline function 'kotlin.js.asDynamic' call
|
|
55213
|
-
tmp.
|
|
55216
|
+
tmp.y97_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
55214
55217
|
var tmp_0 = this;
|
|
55215
55218
|
// Inline function 'kotlin.arrayOf' call
|
|
55216
55219
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
55217
55220
|
// Inline function 'kotlin.js.asDynamic' call
|
|
55218
|
-
tmp_0.
|
|
55221
|
+
tmp_0.z97_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'];
|
|
55219
55222
|
var tmp_1 = this;
|
|
55220
55223
|
// Inline function 'kotlin.arrayOf' call
|
|
55221
55224
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
55222
55225
|
// Inline function 'kotlin.js.asDynamic' call
|
|
55223
|
-
tmp_1.
|
|
55226
|
+
tmp_1.a98_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
55224
55227
|
var tmp_2 = this;
|
|
55225
55228
|
// Inline function 'kotlin.arrayOf' call
|
|
55226
55229
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
55227
55230
|
// Inline function 'kotlin.js.asDynamic' call
|
|
55228
|
-
tmp_2.
|
|
55231
|
+
tmp_2.b98_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'];
|
|
55229
55232
|
}
|
|
55230
55233
|
var Companion_instance_172;
|
|
55231
55234
|
function Companion_getInstance_174() {
|
|
@@ -55236,14 +55239,14 @@
|
|
|
55236
55239
|
function AvatarSet(name, ordinal) {
|
|
55237
55240
|
Enum.call(this, name, ordinal);
|
|
55238
55241
|
}
|
|
55239
|
-
protoOf(AvatarSet).
|
|
55242
|
+
protoOf(AvatarSet).t97 = function () {
|
|
55240
55243
|
var tmp;
|
|
55241
55244
|
switch (this.p2_1) {
|
|
55242
55245
|
case 0:
|
|
55243
|
-
tmp = Companion_getInstance_174().
|
|
55246
|
+
tmp = Companion_getInstance_174().z97_1.length;
|
|
55244
55247
|
break;
|
|
55245
55248
|
case 1:
|
|
55246
|
-
tmp = Companion_getInstance_174().
|
|
55249
|
+
tmp = Companion_getInstance_174().b98_1.length;
|
|
55247
55250
|
break;
|
|
55248
55251
|
default:
|
|
55249
55252
|
noWhenBranchMatchedException();
|
|
@@ -55251,14 +55254,14 @@
|
|
|
55251
55254
|
}
|
|
55252
55255
|
return tmp;
|
|
55253
55256
|
};
|
|
55254
|
-
protoOf(AvatarSet).
|
|
55257
|
+
protoOf(AvatarSet).w97 = function (index) {
|
|
55255
55258
|
var tmp;
|
|
55256
55259
|
switch (this.p2_1) {
|
|
55257
55260
|
case 0:
|
|
55258
|
-
tmp = Companion_getInstance_174().
|
|
55261
|
+
tmp = Companion_getInstance_174().z97_1[index];
|
|
55259
55262
|
break;
|
|
55260
55263
|
case 1:
|
|
55261
|
-
tmp = Companion_getInstance_174().
|
|
55264
|
+
tmp = Companion_getInstance_174().b98_1[index];
|
|
55262
55265
|
break;
|
|
55263
55266
|
default:
|
|
55264
55267
|
noWhenBranchMatchedException();
|
|
@@ -55267,8 +55270,8 @@
|
|
|
55267
55270
|
return tmp;
|
|
55268
55271
|
};
|
|
55269
55272
|
function AvatarData(index, avatarSet) {
|
|
55270
|
-
this.
|
|
55271
|
-
this.
|
|
55273
|
+
this.u97_1 = index;
|
|
55274
|
+
this.v97_1 = avatarSet;
|
|
55272
55275
|
}
|
|
55273
55276
|
function AvatarSet_ORIGIN_getInstance() {
|
|
55274
55277
|
AvatarSet_initEntries();
|
|
@@ -55281,7 +55284,7 @@
|
|
|
55281
55284
|
function GameResourcesImpl() {
|
|
55282
55285
|
Companion_getInstance_174();
|
|
55283
55286
|
}
|
|
55284
|
-
protoOf(GameResourcesImpl).
|
|
55287
|
+
protoOf(GameResourcesImpl).q97 = function (playerId, existingNicknames) {
|
|
55285
55288
|
return createUser(this, playerId, existingNicknames);
|
|
55286
55289
|
};
|
|
55287
55290
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -55322,45 +55325,45 @@
|
|
|
55322
55325
|
}
|
|
55323
55326
|
var WARN;
|
|
55324
55327
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
55325
|
-
this.
|
|
55328
|
+
this.c98_1 = loggerCallback;
|
|
55326
55329
|
}
|
|
55327
55330
|
protoOf(LoggerCallbacksWrapperLoggerOutput).x1k = function (tag, message, payload) {
|
|
55328
|
-
this.
|
|
55331
|
+
this.c98_1('debug', tag, message, null, payload);
|
|
55329
55332
|
};
|
|
55330
55333
|
protoOf(LoggerCallbacksWrapperLoggerOutput).y1k = function (tag, message, exception, payload) {
|
|
55331
|
-
this.
|
|
55334
|
+
this.c98_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
55332
55335
|
};
|
|
55333
55336
|
protoOf(LoggerCallbacksWrapperLoggerOutput).b1l = function (tag, message, payload) {
|
|
55334
|
-
this.
|
|
55337
|
+
this.c98_1('debug', tag, message, null, payload);
|
|
55335
55338
|
};
|
|
55336
55339
|
protoOf(LoggerCallbacksWrapperLoggerOutput).a1l = function (tag, message, exception, payload) {
|
|
55337
|
-
this.
|
|
55340
|
+
this.c98_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
55338
55341
|
};
|
|
55339
55342
|
protoOf(LoggerCallbacksWrapperLoggerOutput).z1k = function (tag, message, exception, payload) {
|
|
55340
|
-
this.
|
|
55343
|
+
this.c98_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
55341
55344
|
};
|
|
55342
55345
|
function ParserHelper() {
|
|
55343
55346
|
}
|
|
55344
55347
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
55345
|
-
this.
|
|
55346
|
-
this.
|
|
55348
|
+
this.d98_1 = json;
|
|
55349
|
+
this.e98_1 = encoderDecoderProvider;
|
|
55347
55350
|
}
|
|
55348
55351
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
55349
|
-
return this.
|
|
55352
|
+
return this.e98_1.g8e(mapToDto_20(action));
|
|
55350
55353
|
};
|
|
55351
55354
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
55352
|
-
return mapFromDto_16(this.
|
|
55355
|
+
return mapFromDto_16(this.e98_1.j8e(json), fromPlayerId);
|
|
55353
55356
|
};
|
|
55354
55357
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
55355
|
-
return this.
|
|
55358
|
+
return this.e98_1.h8e(mapToDto_74(action));
|
|
55356
55359
|
};
|
|
55357
55360
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
55358
55361
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
55359
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
55362
|
+
var this_0 = mapFromClientDtoListWithPayload(this.e98_1.k8e(json), playerId, engine);
|
|
55360
55363
|
return copyToArray(this_0);
|
|
55361
55364
|
};
|
|
55362
55365
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
55363
|
-
var tmp0 = this.
|
|
55366
|
+
var tmp0 = this.d98_1;
|
|
55364
55367
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
55365
55368
|
var value = mapToDto_31(round);
|
|
55366
55369
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -55371,7 +55374,7 @@
|
|
|
55371
55374
|
return tmp0.ep(tmp$ret$1, value);
|
|
55372
55375
|
};
|
|
55373
55376
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
55374
|
-
var tmp0 = this.
|
|
55377
|
+
var tmp0 = this.d98_1;
|
|
55375
55378
|
// Inline function 'kotlin.collections.map' call
|
|
55376
55379
|
var this_0 = round.items;
|
|
55377
55380
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -55393,7 +55396,7 @@
|
|
|
55393
55396
|
return tmp0.ep(tmp$ret$4, destination);
|
|
55394
55397
|
};
|
|
55395
55398
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
55396
|
-
var tmp0 = this.
|
|
55399
|
+
var tmp0 = this.d98_1;
|
|
55397
55400
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
55398
55401
|
var value = mapToDto_33(metadata);
|
|
55399
55402
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -55404,7 +55407,7 @@
|
|
|
55404
55407
|
return tmp0.ep(tmp$ret$1, value);
|
|
55405
55408
|
};
|
|
55406
55409
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
55407
|
-
var tmp0 = this.
|
|
55410
|
+
var tmp0 = this.d98_1;
|
|
55408
55411
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
55409
55412
|
var value = mapToDto_59(config);
|
|
55410
55413
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -55415,7 +55418,7 @@
|
|
|
55415
55418
|
return tmp0.ep(tmp$ret$1, value);
|
|
55416
55419
|
};
|
|
55417
55420
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
55418
|
-
var tmp0 = this.
|
|
55421
|
+
var tmp0 = this.d98_1;
|
|
55419
55422
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
55420
55423
|
var value = mapToDto_95(transition);
|
|
55421
55424
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -55427,7 +55430,7 @@
|
|
|
55427
55430
|
};
|
|
55428
55431
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
55429
55432
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
55430
|
-
var this_0 = this.
|
|
55433
|
+
var this_0 = this.d98_1;
|
|
55431
55434
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
55432
55435
|
var this_1 = this_0.ds();
|
|
55433
55436
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -55438,7 +55441,7 @@
|
|
|
55438
55441
|
};
|
|
55439
55442
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
55440
55443
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
55441
|
-
var this_0 = this.
|
|
55444
|
+
var this_0 = this.d98_1;
|
|
55442
55445
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
55443
55446
|
var this_1 = this_0.ds();
|
|
55444
55447
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -55448,7 +55451,7 @@
|
|
|
55448
55451
|
return mapFromDto_97(tmp$ret$2);
|
|
55449
55452
|
};
|
|
55450
55453
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
55451
|
-
var tmp0 = this.
|
|
55454
|
+
var tmp0 = this.d98_1;
|
|
55452
55455
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
55453
55456
|
var value = mapToDto_126(table);
|
|
55454
55457
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -55459,11 +55462,11 @@
|
|
|
55459
55462
|
return tmp0.ep(tmp$ret$1, value);
|
|
55460
55463
|
};
|
|
55461
55464
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
55462
|
-
return mapFromDto_63(this.
|
|
55465
|
+
return mapFromDto_63(this.e98_1.i8e(json));
|
|
55463
55466
|
};
|
|
55464
55467
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
55465
55468
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
55466
|
-
var this_0 = this.
|
|
55469
|
+
var this_0 = this.d98_1;
|
|
55467
55470
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
55468
55471
|
var this_1 = this_0.ds();
|
|
55469
55472
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -55476,16 +55479,16 @@
|
|
|
55476
55479
|
function RatingHelper() {
|
|
55477
55480
|
}
|
|
55478
55481
|
function RatingHelperImpl(userRatingInteractor) {
|
|
55479
|
-
this.
|
|
55482
|
+
this.f98_1 = userRatingInteractor;
|
|
55480
55483
|
}
|
|
55481
55484
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
55482
|
-
return this.
|
|
55485
|
+
return this.f98_1.m8l(league, rating);
|
|
55483
55486
|
};
|
|
55484
55487
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
55485
|
-
return this.
|
|
55488
|
+
return this.f98_1.o8l(rating);
|
|
55486
55489
|
};
|
|
55487
55490
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
55488
|
-
return this.
|
|
55491
|
+
return this.f98_1.n8l();
|
|
55489
55492
|
};
|
|
55490
55493
|
function engineHelpersModule() {
|
|
55491
55494
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
@@ -55590,14 +55593,14 @@
|
|
|
55590
55593
|
return new GameResourcesImpl();
|
|
55591
55594
|
}
|
|
55592
55595
|
function _get_logger__rkp4sl_3($this) {
|
|
55593
|
-
var tmp0 = $this.
|
|
55596
|
+
var tmp0 = $this.h98_1;
|
|
55594
55597
|
var tmp = KProperty1;
|
|
55595
55598
|
// Inline function 'kotlin.getValue' call
|
|
55596
55599
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
55597
55600
|
return tmp0.w();
|
|
55598
55601
|
}
|
|
55599
55602
|
function _get_di__ndbzja($this) {
|
|
55600
|
-
var tmp0 = $this.
|
|
55603
|
+
var tmp0 = $this.i98_1;
|
|
55601
55604
|
var tmp = KProperty1;
|
|
55602
55605
|
// Inline function 'kotlin.getValue' call
|
|
55603
55606
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -55606,11 +55609,11 @@
|
|
|
55606
55609
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
55607
55610
|
return function () {
|
|
55608
55611
|
var tmp;
|
|
55609
|
-
if (this$0.
|
|
55612
|
+
if (this$0.g98_1 == null) {
|
|
55610
55613
|
tmp = null;
|
|
55611
55614
|
} else {
|
|
55612
55615
|
// Inline function 'kotlin.let' call
|
|
55613
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
55616
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.g98_1)]));
|
|
55614
55617
|
}
|
|
55615
55618
|
var tmp1_elvis_lhs = tmp;
|
|
55616
55619
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -55700,11 +55703,11 @@
|
|
|
55700
55703
|
}
|
|
55701
55704
|
function EngineHelpersFactory(loggerCallback) {
|
|
55702
55705
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
55703
|
-
this.
|
|
55706
|
+
this.g98_1 = loggerCallback;
|
|
55704
55707
|
var tmp = this;
|
|
55705
|
-
tmp.
|
|
55708
|
+
tmp.h98_1 = lazy(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
55706
55709
|
var tmp_0 = this;
|
|
55707
|
-
tmp_0.
|
|
55710
|
+
tmp_0.i98_1 = lazy(EngineHelpersFactory$di$delegate$lambda(this));
|
|
55708
55711
|
var tmp_1 = this;
|
|
55709
55712
|
// Inline function 'org.kodein.di.instance' call
|
|
55710
55713
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -55713,7 +55716,7 @@
|
|
|
55713
55716
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
55714
55717
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
55715
55718
|
var tmp_4 = KProperty1;
|
|
55716
|
-
tmp_1.
|
|
55719
|
+
tmp_1.j98_1 = tmp_3.a63(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
55717
55720
|
var tmp_5 = this;
|
|
55718
55721
|
// Inline function 'org.kodein.di.instance' call
|
|
55719
55722
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -55722,7 +55725,7 @@
|
|
|
55722
55725
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
55723
55726
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
55724
55727
|
var tmp_8 = KProperty1;
|
|
55725
|
-
tmp_5.
|
|
55728
|
+
tmp_5.k98_1 = tmp_7.a63(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
55726
55729
|
var tmp_9 = this;
|
|
55727
55730
|
// Inline function 'org.kodein.di.instance' call
|
|
55728
55731
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -55731,7 +55734,7 @@
|
|
|
55731
55734
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
55732
55735
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
55733
55736
|
var tmp_12 = KProperty1;
|
|
55734
|
-
tmp_9.
|
|
55737
|
+
tmp_9.l98_1 = tmp_11.a63(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
55735
55738
|
var tmp_13 = this;
|
|
55736
55739
|
// Inline function 'org.kodein.di.instance' call
|
|
55737
55740
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -55740,31 +55743,31 @@
|
|
|
55740
55743
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
55741
55744
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
55742
55745
|
var tmp_16 = KProperty1;
|
|
55743
|
-
tmp_13.
|
|
55746
|
+
tmp_13.m98_1 = tmp_15.a63(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
55744
55747
|
}
|
|
55745
|
-
protoOf(EngineHelpersFactory).
|
|
55746
|
-
var tmp0 = this.
|
|
55748
|
+
protoOf(EngineHelpersFactory).n98 = function () {
|
|
55749
|
+
var tmp0 = this.j98_1;
|
|
55747
55750
|
var tmp = KProperty1;
|
|
55748
55751
|
// Inline function 'kotlin.getValue' call
|
|
55749
55752
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
55750
55753
|
return tmp0.w();
|
|
55751
55754
|
};
|
|
55752
|
-
protoOf(EngineHelpersFactory).
|
|
55753
|
-
var tmp0 = this.
|
|
55755
|
+
protoOf(EngineHelpersFactory).o98 = function () {
|
|
55756
|
+
var tmp0 = this.k98_1;
|
|
55754
55757
|
var tmp = KProperty1;
|
|
55755
55758
|
// Inline function 'kotlin.getValue' call
|
|
55756
55759
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
55757
55760
|
return tmp0.w();
|
|
55758
55761
|
};
|
|
55759
|
-
protoOf(EngineHelpersFactory).
|
|
55760
|
-
var tmp0 = this.
|
|
55762
|
+
protoOf(EngineHelpersFactory).p98 = function () {
|
|
55763
|
+
var tmp0 = this.l98_1;
|
|
55761
55764
|
var tmp = KProperty1;
|
|
55762
55765
|
// Inline function 'kotlin.getValue' call
|
|
55763
55766
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
55764
55767
|
return tmp0.w();
|
|
55765
55768
|
};
|
|
55766
|
-
protoOf(EngineHelpersFactory).
|
|
55767
|
-
var tmp0 = this.
|
|
55769
|
+
protoOf(EngineHelpersFactory).q98 = function () {
|
|
55770
|
+
var tmp0 = this.m98_1;
|
|
55768
55771
|
var tmp = KProperty1;
|
|
55769
55772
|
// Inline function 'kotlin.getValue' call
|
|
55770
55773
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -56436,10 +56439,10 @@
|
|
|
56436
56439
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
56437
56440
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
56438
56441
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
56439
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
56440
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
56441
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
56442
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
56442
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).n98);
|
|
56443
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).o98);
|
|
56444
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).p98);
|
|
56445
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).q98);
|
|
56443
56446
|
//endregion
|
|
56444
56447
|
//region block: init
|
|
56445
56448
|
Companion_instance_5 = new Companion_0();
|