raspberry_games_engine_helpers 1.8.457 → 1.8.460
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/Kosi-Kaverit-kaverit.js +58 -58
- package/Kosi-Kodein-kodein-di.js +510 -510
- package/Kotlin-DateTime-library-kotlinx-datetime.js +19 -19
- package/Logic_Debertz-core.js +756 -672
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +4 -2
- package/Logic_Debertz-engine.js +7319 -7319
- package/kotlin-kotlin-stdlib.js +148 -147
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-io-kotlinx-io-core.js +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core.js +26 -26
- package/kotlinx-serialization-kotlinx-serialization-json.js +1089 -1089
- package/ktor-ktor-client-core.js +13 -13
- package/okio-parent-okio.js +15 -0
- package/okio-parent-okio.js.map +1 -0
- package/package.json +3 -2
- package/raspberry-cardgame-lib-core.js +5 -5
- package/raspberry-cardgame-lib-logger.js +3 -3
- package/raspberry-cardgame-lib-random.js +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -33,14 +33,15 @@
|
|
|
33
33
|
var defineProp = kotlin_kotlin.$_$.c9;
|
|
34
34
|
var VOID = kotlin_kotlin.$_$.b;
|
|
35
35
|
var getKClass = kotlin_kotlin.$_$.sa;
|
|
36
|
+
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
36
37
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
37
38
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.d;
|
|
38
|
-
var lazy = kotlin_kotlin.$_$.
|
|
39
|
+
var lazy = kotlin_kotlin.$_$.wd;
|
|
39
40
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
40
41
|
var initMetadataForCompanion = kotlin_kotlin.$_$.k9;
|
|
41
42
|
var initMetadataForClass = kotlin_kotlin.$_$.j9;
|
|
42
43
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
44
|
+
var THROW_CCE = kotlin_kotlin.$_$.dd;
|
|
44
45
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
45
46
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
47
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
@@ -52,41 +53,43 @@
|
|
|
52
53
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
53
54
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
54
55
|
var replace = kotlin_kotlin.$_$.pb;
|
|
56
|
+
var Companion_getInstance = kotlin_kotlin.$_$.q3;
|
|
57
|
+
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
58
|
+
var toDuration = kotlin_kotlin.$_$.oc;
|
|
55
59
|
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
60
|
+
var Duration = kotlin_kotlin.$_$.lc;
|
|
61
|
+
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.n1;
|
|
56
62
|
var getBooleanHashCode = kotlin_kotlin.$_$.e9;
|
|
57
|
-
var
|
|
63
|
+
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j1;
|
|
64
|
+
var equals = kotlin_kotlin.$_$.d9;
|
|
58
65
|
var initMetadataForInterface = kotlin_kotlin.$_$.m9;
|
|
59
66
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
60
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
67
|
+
var THROW_IAE = kotlin_kotlin.$_$.ed;
|
|
61
68
|
var enumEntries = kotlin_kotlin.$_$.s7;
|
|
62
|
-
var Enum = kotlin_kotlin.$_$.
|
|
63
|
-
var Exception = kotlin_kotlin.$_$.
|
|
69
|
+
var Enum = kotlin_kotlin.$_$.wc;
|
|
70
|
+
var Exception = kotlin_kotlin.$_$.xc;
|
|
64
71
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.v;
|
|
65
72
|
var captureStack = kotlin_kotlin.$_$.u8;
|
|
66
|
-
var toString = kotlin_kotlin.$_$.
|
|
73
|
+
var toString = kotlin_kotlin.$_$.de;
|
|
67
74
|
var listOfNotNull = kotlin_kotlin.$_$.k6;
|
|
68
75
|
var joinToString = kotlin_kotlin.$_$.c6;
|
|
69
76
|
var getNumberHashCode = kotlin_kotlin.$_$.f9;
|
|
70
77
|
var hashCode = kotlin_kotlin.$_$.i9;
|
|
71
|
-
var equals = kotlin_kotlin.$_$.d9;
|
|
72
78
|
var toString_0 = kotlin_kotlin.$_$.ga;
|
|
73
|
-
var Companion_getInstance = kotlin_kotlin.$_$.q3;
|
|
74
79
|
var System_instance = kotlin_kotlin.$_$.p3;
|
|
75
80
|
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.l1;
|
|
76
81
|
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.k1;
|
|
77
82
|
var toNumber = kotlin_kotlin.$_$.q8;
|
|
78
83
|
var round = kotlin_kotlin.$_$.ia;
|
|
79
84
|
var numberToInt = kotlin_kotlin.$_$.ca;
|
|
80
|
-
var
|
|
81
|
-
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j1;
|
|
82
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.xd;
|
|
85
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.yd;
|
|
83
86
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
84
87
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
85
88
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w4;
|
|
86
89
|
var mapCapacity = kotlin_kotlin.$_$.n6;
|
|
87
90
|
var coerceAtLeast = kotlin_kotlin.$_$.ka;
|
|
88
91
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
89
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
92
|
+
var ensureNotNull = kotlin_kotlin.$_$.sd;
|
|
90
93
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.r3;
|
|
91
94
|
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.m1;
|
|
92
95
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
@@ -107,12 +110,13 @@
|
|
|
107
110
|
var toMap = kotlin_kotlin.$_$.i7;
|
|
108
111
|
var emptyList = kotlin_kotlin.$_$.n5;
|
|
109
112
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
|
|
110
|
-
var to = kotlin_kotlin.$_$.
|
|
113
|
+
var to = kotlin_kotlin.$_$.ee;
|
|
111
114
|
//endregion
|
|
112
115
|
//region block: pre-declaration
|
|
113
116
|
initMetadataForObject(GameEngineConfig, 'GameEngineConfig');
|
|
114
117
|
initMetadataForCompanion(Companion, VOID, [SerializerFactory]);
|
|
115
118
|
initMetadataForClass(ContinueGameReason, 'ContinueGameReason', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_2});
|
|
119
|
+
initMetadataForObject(GameStartReason, 'GameStartReason', VOID, ContinueGameReason, [ContinueGameReason, SerializerFactory], VOID, VOID, {0: GameStartReason_getInstance});
|
|
116
120
|
initMetadataForCompanion(Companion_0);
|
|
117
121
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
118
122
|
initMetadataForClass(PlayerReturnsReason, 'PlayerReturnsReason', VOID, ContinueGameReason, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
@@ -196,7 +200,7 @@
|
|
|
196
200
|
return false;
|
|
197
201
|
}
|
|
198
202
|
function get_isAutoStartTimer() {
|
|
199
|
-
return !this.
|
|
203
|
+
return !this.c1v() && !this.d1v();
|
|
200
204
|
}
|
|
201
205
|
initMetadataForInterface(InterceptableAction, 'InterceptableAction', VOID, VOID, [BufferedAction]);
|
|
202
206
|
function ignoreValidation() {
|
|
@@ -224,7 +228,7 @@
|
|
|
224
228
|
tmp = types;
|
|
225
229
|
}
|
|
226
230
|
types = tmp;
|
|
227
|
-
return $super === VOID ? this.
|
|
231
|
+
return $super === VOID ? this.p1v(types) : $super.p1v.call(this, types);
|
|
228
232
|
}
|
|
229
233
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
230
234
|
initMetadataForCompanion(Companion_20);
|
|
@@ -232,7 +236,7 @@
|
|
|
232
236
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
233
237
|
//endregion
|
|
234
238
|
function GameEngineConfig() {
|
|
235
|
-
this.version = '1.8.
|
|
239
|
+
this.version = '1.8.460';
|
|
236
240
|
}
|
|
237
241
|
protoOf(GameEngineConfig).u16 = function () {
|
|
238
242
|
return this.version;
|
|
@@ -249,16 +253,21 @@
|
|
|
249
253
|
// Inline function 'kotlin.arrayOf' call
|
|
250
254
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
251
255
|
// Inline function 'kotlin.js.asDynamic' call
|
|
252
|
-
var tmp_0 = [getKClass(PlayerReturnsReason), getKClass(RestartRoundReason)];
|
|
256
|
+
var tmp_0 = [getKClass(GameStartReason), getKClass(PlayerReturnsReason), getKClass(RestartRoundReason)];
|
|
257
|
+
var tmp_1 = GameStartReason_getInstance();
|
|
253
258
|
// Inline function 'kotlin.arrayOf' call
|
|
254
259
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
255
260
|
// Inline function 'kotlin.js.asDynamic' call
|
|
256
|
-
var
|
|
261
|
+
var tmp$ret$5 = [];
|
|
257
262
|
// Inline function 'kotlin.arrayOf' call
|
|
258
263
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
259
264
|
// Inline function 'kotlin.js.asDynamic' call
|
|
260
|
-
var tmp$ret$
|
|
261
|
-
|
|
265
|
+
var tmp_2 = [ObjectSerializer_init_$Create$('GAME_START', tmp_1, tmp$ret$5), $serializer_getInstance(), $serializer_getInstance_0()];
|
|
266
|
+
// Inline function 'kotlin.arrayOf' call
|
|
267
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
268
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
269
|
+
var tmp$ret$11 = [];
|
|
270
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.ContinueGameReason', tmp, tmp_0, tmp_2, tmp$ret$11);
|
|
262
271
|
}
|
|
263
272
|
function Companion() {
|
|
264
273
|
Companion_instance = this;
|
|
@@ -284,6 +293,49 @@
|
|
|
284
293
|
function ContinueGameReason() {
|
|
285
294
|
Companion_getInstance_2();
|
|
286
295
|
}
|
|
296
|
+
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
297
|
+
return $this.o1o_1.j2();
|
|
298
|
+
}
|
|
299
|
+
function GameStartReason$_anonymous__n1a6e5() {
|
|
300
|
+
var tmp = GameStartReason_getInstance();
|
|
301
|
+
// Inline function 'kotlin.arrayOf' call
|
|
302
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
303
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
304
|
+
var tmp$ret$2 = [];
|
|
305
|
+
return ObjectSerializer_init_$Create$('GAME_START', tmp, tmp$ret$2);
|
|
306
|
+
}
|
|
307
|
+
function GameStartReason() {
|
|
308
|
+
GameStartReason_instance = this;
|
|
309
|
+
ContinueGameReason.call(this);
|
|
310
|
+
var tmp = this;
|
|
311
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
312
|
+
tmp.o1o_1 = lazy(tmp_0, GameStartReason$_anonymous__n1a6e5);
|
|
313
|
+
}
|
|
314
|
+
protoOf(GameStartReason).n17 = function () {
|
|
315
|
+
return _get_$cachedSerializer__te6jhj_0(this);
|
|
316
|
+
};
|
|
317
|
+
protoOf(GameStartReason).mv = function (typeParamsSerializers) {
|
|
318
|
+
return this.n17();
|
|
319
|
+
};
|
|
320
|
+
protoOf(GameStartReason).toString = function () {
|
|
321
|
+
return 'GameStartReason';
|
|
322
|
+
};
|
|
323
|
+
protoOf(GameStartReason).hashCode = function () {
|
|
324
|
+
return -1044770473;
|
|
325
|
+
};
|
|
326
|
+
protoOf(GameStartReason).equals = function (other) {
|
|
327
|
+
if (this === other)
|
|
328
|
+
return true;
|
|
329
|
+
if (!(other instanceof GameStartReason))
|
|
330
|
+
return false;
|
|
331
|
+
return true;
|
|
332
|
+
};
|
|
333
|
+
var GameStartReason_instance;
|
|
334
|
+
function GameStartReason_getInstance() {
|
|
335
|
+
if (GameStartReason_instance == null)
|
|
336
|
+
new GameStartReason();
|
|
337
|
+
return GameStartReason_instance;
|
|
338
|
+
}
|
|
287
339
|
function Companion_0() {
|
|
288
340
|
}
|
|
289
341
|
var Companion_instance_0;
|
|
@@ -294,19 +346,19 @@
|
|
|
294
346
|
$serializer_instance = this;
|
|
295
347
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
296
348
|
tmp0_serialDesc.ku('playerId', false);
|
|
297
|
-
this.
|
|
349
|
+
this.p1o_1 = tmp0_serialDesc;
|
|
298
350
|
}
|
|
299
|
-
protoOf($serializer).
|
|
300
|
-
var tmp0_desc = this.
|
|
351
|
+
protoOf($serializer).q1o = function (encoder, value) {
|
|
352
|
+
var tmp0_desc = this.p1o_1;
|
|
301
353
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
302
|
-
tmp1_output.jo(tmp0_desc, 0, value.
|
|
354
|
+
tmp1_output.jo(tmp0_desc, 0, value.r1o_1);
|
|
303
355
|
tmp1_output.vm(tmp0_desc);
|
|
304
356
|
};
|
|
305
357
|
protoOf($serializer).mj = function (encoder, value) {
|
|
306
|
-
return this.
|
|
358
|
+
return this.q1o(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
307
359
|
};
|
|
308
360
|
protoOf($serializer).nj = function (decoder) {
|
|
309
|
-
var tmp0_desc = this.
|
|
361
|
+
var tmp0_desc = this.p1o_1;
|
|
310
362
|
var tmp1_flag = true;
|
|
311
363
|
var tmp2_index = 0;
|
|
312
364
|
var tmp3_bitMask0 = 0;
|
|
@@ -334,7 +386,7 @@
|
|
|
334
386
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
335
387
|
};
|
|
336
388
|
protoOf($serializer).lj = function () {
|
|
337
|
-
return this.
|
|
389
|
+
return this.p1o_1;
|
|
338
390
|
};
|
|
339
391
|
protoOf($serializer).bv = function () {
|
|
340
392
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -350,10 +402,10 @@
|
|
|
350
402
|
}
|
|
351
403
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
352
404
|
if (!(1 === (1 & seen0))) {
|
|
353
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
405
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().p1o_1);
|
|
354
406
|
}
|
|
355
407
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
356
|
-
$this.
|
|
408
|
+
$this.r1o_1 = playerId;
|
|
357
409
|
return $this;
|
|
358
410
|
}
|
|
359
411
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -361,20 +413,20 @@
|
|
|
361
413
|
}
|
|
362
414
|
function PlayerReturnsReason(playerId) {
|
|
363
415
|
ContinueGameReason.call(this);
|
|
364
|
-
this.
|
|
416
|
+
this.r1o_1 = playerId;
|
|
365
417
|
}
|
|
366
418
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
367
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
419
|
+
return 'PlayerReturnsReason(playerId=' + this.r1o_1 + ')';
|
|
368
420
|
};
|
|
369
421
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
370
|
-
return getStringHashCode(this.
|
|
422
|
+
return getStringHashCode(this.r1o_1);
|
|
371
423
|
};
|
|
372
424
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
373
425
|
if (this === other)
|
|
374
426
|
return true;
|
|
375
427
|
if (!(other instanceof PlayerReturnsReason))
|
|
376
428
|
return false;
|
|
377
|
-
if (!(this.
|
|
429
|
+
if (!(this.r1o_1 === other.r1o_1))
|
|
378
430
|
return false;
|
|
379
431
|
return true;
|
|
380
432
|
};
|
|
@@ -388,19 +440,19 @@
|
|
|
388
440
|
$serializer_instance_0 = this;
|
|
389
441
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
390
442
|
tmp0_serialDesc.ku('fromRound', false);
|
|
391
|
-
this.
|
|
443
|
+
this.s1o_1 = tmp0_serialDesc;
|
|
392
444
|
}
|
|
393
|
-
protoOf($serializer_0).
|
|
394
|
-
var tmp0_desc = this.
|
|
445
|
+
protoOf($serializer_0).t1o = function (encoder, value) {
|
|
446
|
+
var tmp0_desc = this.s1o_1;
|
|
395
447
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
396
|
-
tmp1_output.no(tmp0_desc, 0, IntSerializer_getInstance(), value.
|
|
448
|
+
tmp1_output.no(tmp0_desc, 0, IntSerializer_getInstance(), value.u1o_1);
|
|
397
449
|
tmp1_output.vm(tmp0_desc);
|
|
398
450
|
};
|
|
399
451
|
protoOf($serializer_0).mj = function (encoder, value) {
|
|
400
|
-
return this.
|
|
452
|
+
return this.t1o(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
401
453
|
};
|
|
402
454
|
protoOf($serializer_0).nj = function (decoder) {
|
|
403
|
-
var tmp0_desc = this.
|
|
455
|
+
var tmp0_desc = this.s1o_1;
|
|
404
456
|
var tmp1_flag = true;
|
|
405
457
|
var tmp2_index = 0;
|
|
406
458
|
var tmp3_bitMask0 = 0;
|
|
@@ -428,7 +480,7 @@
|
|
|
428
480
|
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
429
481
|
};
|
|
430
482
|
protoOf($serializer_0).lj = function () {
|
|
431
|
-
return this.
|
|
483
|
+
return this.s1o_1;
|
|
432
484
|
};
|
|
433
485
|
protoOf($serializer_0).bv = function () {
|
|
434
486
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -444,10 +496,10 @@
|
|
|
444
496
|
}
|
|
445
497
|
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
446
498
|
if (!(1 === (1 & seen0))) {
|
|
447
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
499
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().s1o_1);
|
|
448
500
|
}
|
|
449
501
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
450
|
-
$this.
|
|
502
|
+
$this.u1o_1 = fromRound;
|
|
451
503
|
return $this;
|
|
452
504
|
}
|
|
453
505
|
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
@@ -455,31 +507,31 @@
|
|
|
455
507
|
}
|
|
456
508
|
function RestartRoundReason(fromRound) {
|
|
457
509
|
ContinueGameReason.call(this);
|
|
458
|
-
this.
|
|
510
|
+
this.u1o_1 = fromRound;
|
|
459
511
|
}
|
|
460
512
|
protoOf(RestartRoundReason).toString = function () {
|
|
461
|
-
return 'RestartRoundReason(fromRound=' + this.
|
|
513
|
+
return 'RestartRoundReason(fromRound=' + this.u1o_1 + ')';
|
|
462
514
|
};
|
|
463
515
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
464
|
-
return this.
|
|
516
|
+
return this.u1o_1 == null ? 0 : this.u1o_1;
|
|
465
517
|
};
|
|
466
518
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
467
519
|
if (this === other)
|
|
468
520
|
return true;
|
|
469
521
|
if (!(other instanceof RestartRoundReason))
|
|
470
522
|
return false;
|
|
471
|
-
if (!(this.
|
|
523
|
+
if (!(this.u1o_1 == other.u1o_1))
|
|
472
524
|
return false;
|
|
473
525
|
return true;
|
|
474
526
|
};
|
|
475
527
|
function Companion_2() {
|
|
476
528
|
}
|
|
477
|
-
protoOf(Companion_2).
|
|
478
|
-
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
529
|
+
protoOf(Companion_2).v1o = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
530
|
+
return new CoreConfig(fileLogsEnabled, false, VOID, logsDirectoryPath, fileNameFormat);
|
|
479
531
|
};
|
|
480
532
|
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
481
533
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
482
|
-
return $super === VOID ? this.
|
|
534
|
+
return $super === VOID ? this.v1o(fileLogsEnabled, logsDirectoryPath, fileNameFormat) : $super.v1o.call(this, fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
483
535
|
};
|
|
484
536
|
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
485
537
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -488,29 +540,47 @@
|
|
|
488
540
|
function Companion_getInstance_5() {
|
|
489
541
|
return Companion_instance_2;
|
|
490
542
|
}
|
|
491
|
-
function CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
543
|
+
function CoreConfig(fileLogsEnabled, deleteFilesOnClear, compressLogsEnabled, logsDirectoryPath, fileNameFormat, delayBeforeCompressLogs) {
|
|
492
544
|
fileLogsEnabled = fileLogsEnabled === VOID ? false : fileLogsEnabled;
|
|
493
545
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? false : deleteFilesOnClear;
|
|
546
|
+
compressLogsEnabled = compressLogsEnabled === VOID ? true : compressLogsEnabled;
|
|
494
547
|
logsDirectoryPath = logsDirectoryPath === VOID ? null : logsDirectoryPath;
|
|
495
|
-
fileNameFormat = fileNameFormat === VOID ? '[gid]_logs.
|
|
548
|
+
fileNameFormat = fileNameFormat === VOID ? '[gid]_logs.log' : fileNameFormat;
|
|
549
|
+
var tmp;
|
|
550
|
+
if (delayBeforeCompressLogs === VOID) {
|
|
551
|
+
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
552
|
+
Companion_getInstance();
|
|
553
|
+
tmp = toDuration(100, DurationUnit_MILLISECONDS_getInstance());
|
|
554
|
+
} else {
|
|
555
|
+
tmp = delayBeforeCompressLogs;
|
|
556
|
+
}
|
|
557
|
+
delayBeforeCompressLogs = tmp;
|
|
496
558
|
this.fileLogsEnabled = fileLogsEnabled;
|
|
497
559
|
this.deleteFilesOnClear = deleteFilesOnClear;
|
|
560
|
+
this.compressLogsEnabled = compressLogsEnabled;
|
|
498
561
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
499
562
|
this.fileNameFormat = fileNameFormat;
|
|
563
|
+
this.delayBeforeCompressLogs = delayBeforeCompressLogs;
|
|
500
564
|
}
|
|
501
|
-
protoOf(CoreConfig).
|
|
565
|
+
protoOf(CoreConfig).w1o = function () {
|
|
502
566
|
return this.fileLogsEnabled;
|
|
503
567
|
};
|
|
504
|
-
protoOf(CoreConfig).
|
|
568
|
+
protoOf(CoreConfig).x1o = function () {
|
|
505
569
|
return this.deleteFilesOnClear;
|
|
506
570
|
};
|
|
507
|
-
protoOf(CoreConfig).
|
|
571
|
+
protoOf(CoreConfig).y1o = function () {
|
|
572
|
+
return this.compressLogsEnabled;
|
|
573
|
+
};
|
|
574
|
+
protoOf(CoreConfig).z1o = function () {
|
|
508
575
|
return this.logsDirectoryPath;
|
|
509
576
|
};
|
|
510
|
-
protoOf(CoreConfig).
|
|
577
|
+
protoOf(CoreConfig).a1p = function () {
|
|
511
578
|
return this.fileNameFormat;
|
|
512
579
|
};
|
|
513
|
-
protoOf(CoreConfig).
|
|
580
|
+
protoOf(CoreConfig).b1p = function () {
|
|
581
|
+
return this.delayBeforeCompressLogs;
|
|
582
|
+
};
|
|
583
|
+
protoOf(CoreConfig).c1p = function () {
|
|
514
584
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
515
585
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
516
586
|
};
|
|
@@ -521,29 +591,39 @@
|
|
|
521
591
|
return this.deleteFilesOnClear;
|
|
522
592
|
};
|
|
523
593
|
protoOf(CoreConfig).lh = function () {
|
|
524
|
-
return this.
|
|
594
|
+
return this.compressLogsEnabled;
|
|
525
595
|
};
|
|
526
596
|
protoOf(CoreConfig).e16 = function () {
|
|
597
|
+
return this.logsDirectoryPath;
|
|
598
|
+
};
|
|
599
|
+
protoOf(CoreConfig).d1p = function () {
|
|
527
600
|
return this.fileNameFormat;
|
|
528
601
|
};
|
|
529
|
-
protoOf(CoreConfig).
|
|
530
|
-
return
|
|
602
|
+
protoOf(CoreConfig).e1p = function () {
|
|
603
|
+
return this.delayBeforeCompressLogs;
|
|
604
|
+
};
|
|
605
|
+
protoOf(CoreConfig).f1p = function (fileLogsEnabled, deleteFilesOnClear, compressLogsEnabled, logsDirectoryPath, fileNameFormat, delayBeforeCompressLogs) {
|
|
606
|
+
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, compressLogsEnabled, logsDirectoryPath, fileNameFormat, delayBeforeCompressLogs);
|
|
531
607
|
};
|
|
532
|
-
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
608
|
+
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, compressLogsEnabled, logsDirectoryPath, fileNameFormat, delayBeforeCompressLogs, $super) {
|
|
533
609
|
fileLogsEnabled = fileLogsEnabled === VOID ? this.fileLogsEnabled : fileLogsEnabled;
|
|
534
610
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
611
|
+
compressLogsEnabled = compressLogsEnabled === VOID ? this.compressLogsEnabled : compressLogsEnabled;
|
|
535
612
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
536
613
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
537
|
-
|
|
614
|
+
delayBeforeCompressLogs = delayBeforeCompressLogs === VOID ? this.delayBeforeCompressLogs : delayBeforeCompressLogs;
|
|
615
|
+
return $super === VOID ? this.f1p(fileLogsEnabled, deleteFilesOnClear, compressLogsEnabled, logsDirectoryPath, fileNameFormat, delayBeforeCompressLogs) : $super.f1p.call(this, fileLogsEnabled, deleteFilesOnClear, compressLogsEnabled, logsDirectoryPath, fileNameFormat, new Duration(delayBeforeCompressLogs));
|
|
538
616
|
};
|
|
539
617
|
protoOf(CoreConfig).toString = function () {
|
|
540
|
-
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
618
|
+
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', compressLogsEnabled=' + this.compressLogsEnabled + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ', delayBeforeCompressLogs=' + Duration__toString_impl_8d916b(this.delayBeforeCompressLogs) + ')';
|
|
541
619
|
};
|
|
542
620
|
protoOf(CoreConfig).hashCode = function () {
|
|
543
621
|
var result = getBooleanHashCode(this.fileLogsEnabled);
|
|
544
622
|
result = imul(result, 31) + getBooleanHashCode(this.deleteFilesOnClear) | 0;
|
|
623
|
+
result = imul(result, 31) + getBooleanHashCode(this.compressLogsEnabled) | 0;
|
|
545
624
|
result = imul(result, 31) + (this.logsDirectoryPath == null ? 0 : getStringHashCode(this.logsDirectoryPath)) | 0;
|
|
546
625
|
result = imul(result, 31) + getStringHashCode(this.fileNameFormat) | 0;
|
|
626
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.delayBeforeCompressLogs) | 0;
|
|
547
627
|
return result;
|
|
548
628
|
};
|
|
549
629
|
protoOf(CoreConfig).equals = function (other) {
|
|
@@ -555,14 +635,18 @@
|
|
|
555
635
|
return false;
|
|
556
636
|
if (!(this.deleteFilesOnClear === other.deleteFilesOnClear))
|
|
557
637
|
return false;
|
|
638
|
+
if (!(this.compressLogsEnabled === other.compressLogsEnabled))
|
|
639
|
+
return false;
|
|
558
640
|
if (!(this.logsDirectoryPath == other.logsDirectoryPath))
|
|
559
641
|
return false;
|
|
560
642
|
if (!(this.fileNameFormat === other.fileNameFormat))
|
|
561
643
|
return false;
|
|
644
|
+
if (!equals(this.delayBeforeCompressLogs, other.delayBeforeCompressLogs))
|
|
645
|
+
return false;
|
|
562
646
|
return true;
|
|
563
647
|
};
|
|
564
|
-
function _get_$
|
|
565
|
-
return $this.
|
|
648
|
+
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
649
|
+
return $this.g1p_1.j2();
|
|
566
650
|
}
|
|
567
651
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
568
652
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -576,10 +660,10 @@
|
|
|
576
660
|
RestartGameReason_instance = this;
|
|
577
661
|
var tmp = this;
|
|
578
662
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
579
|
-
tmp.
|
|
663
|
+
tmp.g1p_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
580
664
|
}
|
|
581
665
|
protoOf(RestartGameReason).n17 = function () {
|
|
582
|
-
return _get_$
|
|
666
|
+
return _get_$cachedSerializer__te6jhj_1(this);
|
|
583
667
|
};
|
|
584
668
|
protoOf(RestartGameReason).mv = function (typeParamsSerializers) {
|
|
585
669
|
return this.n17();
|
|
@@ -607,34 +691,34 @@
|
|
|
607
691
|
}
|
|
608
692
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
609
693
|
TerminationGameReason.call(this);
|
|
610
|
-
this.
|
|
694
|
+
this.h1p_1 = playerId;
|
|
611
695
|
this.tag = tag;
|
|
612
696
|
}
|
|
613
|
-
protoOf(PlayerLostConnectionReason).
|
|
614
|
-
return this.
|
|
697
|
+
protoOf(PlayerLostConnectionReason).i1p = function () {
|
|
698
|
+
return this.h1p_1;
|
|
615
699
|
};
|
|
616
|
-
protoOf(PlayerLostConnectionReason).
|
|
700
|
+
protoOf(PlayerLostConnectionReason).j1p = function () {
|
|
617
701
|
return this.tag;
|
|
618
702
|
};
|
|
619
703
|
protoOf(PlayerLostConnectionReason).pc = function () {
|
|
620
|
-
return this.
|
|
704
|
+
return this.h1p_1;
|
|
621
705
|
};
|
|
622
706
|
protoOf(PlayerLostConnectionReason).qc = function () {
|
|
623
707
|
return this.tag;
|
|
624
708
|
};
|
|
625
|
-
protoOf(PlayerLostConnectionReason).
|
|
709
|
+
protoOf(PlayerLostConnectionReason).k1p = function (playerId, tag) {
|
|
626
710
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
627
711
|
};
|
|
628
712
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
629
|
-
playerId = playerId === VOID ? this.
|
|
713
|
+
playerId = playerId === VOID ? this.h1p_1 : playerId;
|
|
630
714
|
tag = tag === VOID ? this.tag : tag;
|
|
631
|
-
return $super === VOID ? this.
|
|
715
|
+
return $super === VOID ? this.k1p(playerId, tag) : $super.k1p.call(this, playerId, tag);
|
|
632
716
|
};
|
|
633
717
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
634
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
718
|
+
return 'PlayerLostConnectionReason(playerId=' + this.h1p_1 + ', tag=' + this.tag + ')';
|
|
635
719
|
};
|
|
636
720
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
637
|
-
var result = getStringHashCode(this.
|
|
721
|
+
var result = getStringHashCode(this.h1p_1);
|
|
638
722
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
639
723
|
return result;
|
|
640
724
|
};
|
|
@@ -643,7 +727,7 @@
|
|
|
643
727
|
return true;
|
|
644
728
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
645
729
|
return false;
|
|
646
|
-
if (!(this.
|
|
730
|
+
if (!(this.h1p_1 === other.h1p_1))
|
|
647
731
|
return false;
|
|
648
732
|
if (!(this.tag == other.tag))
|
|
649
733
|
return false;
|
|
@@ -651,34 +735,34 @@
|
|
|
651
735
|
};
|
|
652
736
|
function PlayerTimeoutReason(playerId, tag) {
|
|
653
737
|
TerminationGameReason.call(this);
|
|
654
|
-
this.
|
|
738
|
+
this.l1p_1 = playerId;
|
|
655
739
|
this.tag = tag;
|
|
656
740
|
}
|
|
657
|
-
protoOf(PlayerTimeoutReason).
|
|
658
|
-
return this.
|
|
741
|
+
protoOf(PlayerTimeoutReason).i1p = function () {
|
|
742
|
+
return this.l1p_1;
|
|
659
743
|
};
|
|
660
|
-
protoOf(PlayerTimeoutReason).
|
|
744
|
+
protoOf(PlayerTimeoutReason).j1p = function () {
|
|
661
745
|
return this.tag;
|
|
662
746
|
};
|
|
663
747
|
protoOf(PlayerTimeoutReason).pc = function () {
|
|
664
|
-
return this.
|
|
748
|
+
return this.l1p_1;
|
|
665
749
|
};
|
|
666
750
|
protoOf(PlayerTimeoutReason).qc = function () {
|
|
667
751
|
return this.tag;
|
|
668
752
|
};
|
|
669
|
-
protoOf(PlayerTimeoutReason).
|
|
753
|
+
protoOf(PlayerTimeoutReason).k1p = function (playerId, tag) {
|
|
670
754
|
return new PlayerTimeoutReason(playerId, tag);
|
|
671
755
|
};
|
|
672
756
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
673
|
-
playerId = playerId === VOID ? this.
|
|
757
|
+
playerId = playerId === VOID ? this.l1p_1 : playerId;
|
|
674
758
|
tag = tag === VOID ? this.tag : tag;
|
|
675
|
-
return $super === VOID ? this.
|
|
759
|
+
return $super === VOID ? this.k1p(playerId, tag) : $super.k1p.call(this, playerId, tag);
|
|
676
760
|
};
|
|
677
761
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
678
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
762
|
+
return 'PlayerTimeoutReason(playerId=' + this.l1p_1 + ', tag=' + this.tag + ')';
|
|
679
763
|
};
|
|
680
764
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
681
|
-
var result = getStringHashCode(this.
|
|
765
|
+
var result = getStringHashCode(this.l1p_1);
|
|
682
766
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
683
767
|
return result;
|
|
684
768
|
};
|
|
@@ -687,7 +771,7 @@
|
|
|
687
771
|
return true;
|
|
688
772
|
if (!(other instanceof PlayerTimeoutReason))
|
|
689
773
|
return false;
|
|
690
|
-
if (!(this.
|
|
774
|
+
if (!(this.l1p_1 === other.l1p_1))
|
|
691
775
|
return false;
|
|
692
776
|
if (!(this.tag == other.tag))
|
|
693
777
|
return false;
|
|
@@ -695,40 +779,40 @@
|
|
|
695
779
|
};
|
|
696
780
|
function PlayerExitReason(playerId) {
|
|
697
781
|
TerminationGameReason.call(this);
|
|
698
|
-
this.
|
|
782
|
+
this.m1p_1 = playerId;
|
|
699
783
|
}
|
|
700
|
-
protoOf(PlayerExitReason).
|
|
701
|
-
return this.
|
|
784
|
+
protoOf(PlayerExitReason).i1p = function () {
|
|
785
|
+
return this.m1p_1;
|
|
702
786
|
};
|
|
703
787
|
protoOf(PlayerExitReason).pc = function () {
|
|
704
|
-
return this.
|
|
788
|
+
return this.m1p_1;
|
|
705
789
|
};
|
|
706
|
-
protoOf(PlayerExitReason).
|
|
790
|
+
protoOf(PlayerExitReason).n1p = function (playerId) {
|
|
707
791
|
return new PlayerExitReason(playerId);
|
|
708
792
|
};
|
|
709
793
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
710
|
-
playerId = playerId === VOID ? this.
|
|
711
|
-
return $super === VOID ? this.
|
|
794
|
+
playerId = playerId === VOID ? this.m1p_1 : playerId;
|
|
795
|
+
return $super === VOID ? this.n1p(playerId) : $super.n1p.call(this, playerId);
|
|
712
796
|
};
|
|
713
797
|
protoOf(PlayerExitReason).toString = function () {
|
|
714
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
798
|
+
return 'PlayerExitReason(playerId=' + this.m1p_1 + ')';
|
|
715
799
|
};
|
|
716
800
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
717
|
-
return getStringHashCode(this.
|
|
801
|
+
return getStringHashCode(this.m1p_1);
|
|
718
802
|
};
|
|
719
803
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
720
804
|
if (this === other)
|
|
721
805
|
return true;
|
|
722
806
|
if (!(other instanceof PlayerExitReason))
|
|
723
807
|
return false;
|
|
724
|
-
if (!(this.
|
|
808
|
+
if (!(this.m1p_1 === other.m1p_1))
|
|
725
809
|
return false;
|
|
726
810
|
return true;
|
|
727
811
|
};
|
|
728
812
|
function FinishPlayerReason() {
|
|
729
813
|
}
|
|
730
|
-
function _get_$
|
|
731
|
-
return $this.
|
|
814
|
+
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
815
|
+
return $this.o1p_1.j2();
|
|
732
816
|
}
|
|
733
817
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
734
818
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -771,10 +855,10 @@
|
|
|
771
855
|
Companion_instance_3 = this;
|
|
772
856
|
var tmp = this;
|
|
773
857
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
774
|
-
tmp.
|
|
858
|
+
tmp.o1p_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
775
859
|
}
|
|
776
860
|
protoOf(Companion_3).n17 = function () {
|
|
777
|
-
return _get_$
|
|
861
|
+
return _get_$cachedSerializer__te6jhj_2(this);
|
|
778
862
|
};
|
|
779
863
|
protoOf(Companion_3).mv = function (typeParamsSerializers) {
|
|
780
864
|
return this.n17();
|
|
@@ -831,18 +915,18 @@
|
|
|
831
915
|
TerminationGameReason.call(this);
|
|
832
916
|
this.reason = reason;
|
|
833
917
|
}
|
|
834
|
-
protoOf(GameFinishedReason).
|
|
918
|
+
protoOf(GameFinishedReason).r1p = function () {
|
|
835
919
|
return this.reason;
|
|
836
920
|
};
|
|
837
921
|
protoOf(GameFinishedReason).pc = function () {
|
|
838
922
|
return this.reason;
|
|
839
923
|
};
|
|
840
|
-
protoOf(GameFinishedReason).
|
|
924
|
+
protoOf(GameFinishedReason).s1p = function (reason) {
|
|
841
925
|
return new GameFinishedReason(reason);
|
|
842
926
|
};
|
|
843
927
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
844
928
|
reason = reason === VOID ? this.reason : reason;
|
|
845
|
-
return $super === VOID ? this.
|
|
929
|
+
return $super === VOID ? this.s1p(reason) : $super.s1p.call(this, reason);
|
|
846
930
|
};
|
|
847
931
|
protoOf(GameFinishedReason).toString = function () {
|
|
848
932
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -859,8 +943,8 @@
|
|
|
859
943
|
return false;
|
|
860
944
|
return true;
|
|
861
945
|
};
|
|
862
|
-
function _get_$
|
|
863
|
-
return $this.
|
|
946
|
+
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
947
|
+
return $this.t1p_1.j2();
|
|
864
948
|
}
|
|
865
949
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
866
950
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -903,10 +987,10 @@
|
|
|
903
987
|
Companion_instance_4 = this;
|
|
904
988
|
var tmp = this;
|
|
905
989
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
906
|
-
tmp.
|
|
990
|
+
tmp.t1p_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
907
991
|
}
|
|
908
992
|
protoOf(Companion_4).n17 = function () {
|
|
909
|
-
return _get_$
|
|
993
|
+
return _get_$cachedSerializer__te6jhj_3(this);
|
|
910
994
|
};
|
|
911
995
|
protoOf(Companion_4).mv = function (typeParamsSerializers) {
|
|
912
996
|
return this.n17();
|
|
@@ -963,18 +1047,18 @@
|
|
|
963
1047
|
TerminationGameReason.call(this);
|
|
964
1048
|
this.reason = reason;
|
|
965
1049
|
}
|
|
966
|
-
protoOf(GameErrorReason).
|
|
1050
|
+
protoOf(GameErrorReason).r1p = function () {
|
|
967
1051
|
return this.reason;
|
|
968
1052
|
};
|
|
969
1053
|
protoOf(GameErrorReason).pc = function () {
|
|
970
1054
|
return this.reason;
|
|
971
1055
|
};
|
|
972
|
-
protoOf(GameErrorReason).
|
|
1056
|
+
protoOf(GameErrorReason).w1p = function (reason) {
|
|
973
1057
|
return new GameErrorReason(reason);
|
|
974
1058
|
};
|
|
975
1059
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
976
1060
|
reason = reason === VOID ? this.reason : reason;
|
|
977
|
-
return $super === VOID ? this.
|
|
1061
|
+
return $super === VOID ? this.w1p(reason) : $super.w1p.call(this, reason);
|
|
978
1062
|
};
|
|
979
1063
|
protoOf(GameErrorReason).toString = function () {
|
|
980
1064
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1047,7 +1131,7 @@
|
|
|
1047
1131
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1048
1132
|
rating = rating === VOID ? null : rating;
|
|
1049
1133
|
payload = payload === VOID ? null : payload;
|
|
1050
|
-
this.
|
|
1134
|
+
this.x1p_1 = playerId;
|
|
1051
1135
|
this.name = name;
|
|
1052
1136
|
this.avatarUrl = avatarUrl;
|
|
1053
1137
|
this.isBot = isBot;
|
|
@@ -1055,25 +1139,25 @@
|
|
|
1055
1139
|
this.rating = rating;
|
|
1056
1140
|
this.payload = payload;
|
|
1057
1141
|
}
|
|
1058
|
-
protoOf(GameUserInfo).
|
|
1059
|
-
return this.
|
|
1142
|
+
protoOf(GameUserInfo).i1p = function () {
|
|
1143
|
+
return this.x1p_1;
|
|
1060
1144
|
};
|
|
1061
1145
|
protoOf(GameUserInfo).m = function () {
|
|
1062
1146
|
return this.name;
|
|
1063
1147
|
};
|
|
1064
|
-
protoOf(GameUserInfo).
|
|
1148
|
+
protoOf(GameUserInfo).y1p = function () {
|
|
1065
1149
|
return this.avatarUrl;
|
|
1066
1150
|
};
|
|
1067
|
-
protoOf(GameUserInfo).
|
|
1151
|
+
protoOf(GameUserInfo).z1p = function () {
|
|
1068
1152
|
return this.isBot;
|
|
1069
1153
|
};
|
|
1070
|
-
protoOf(GameUserInfo).
|
|
1154
|
+
protoOf(GameUserInfo).a1q = function () {
|
|
1071
1155
|
return this.initialLuckyFactor;
|
|
1072
1156
|
};
|
|
1073
|
-
protoOf(GameUserInfo).
|
|
1157
|
+
protoOf(GameUserInfo).b1q = function () {
|
|
1074
1158
|
return this.rating;
|
|
1075
1159
|
};
|
|
1076
|
-
protoOf(GameUserInfo).
|
|
1160
|
+
protoOf(GameUserInfo).c1q = function () {
|
|
1077
1161
|
return this.payload;
|
|
1078
1162
|
};
|
|
1079
1163
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1081,7 +1165,7 @@
|
|
|
1081
1165
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1082
1166
|
};
|
|
1083
1167
|
protoOf(GameUserInfo).toString = function () {
|
|
1084
|
-
var tmp = 'playerId=' + this.
|
|
1168
|
+
var tmp = 'playerId=' + this.x1p_1;
|
|
1085
1169
|
var tmp_0 = 'name=' + this.name;
|
|
1086
1170
|
// Inline function 'kotlin.takeIf' call
|
|
1087
1171
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1131,7 +1215,7 @@
|
|
|
1131
1215
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1132
1216
|
};
|
|
1133
1217
|
protoOf(GameUserInfo).pc = function () {
|
|
1134
|
-
return this.
|
|
1218
|
+
return this.x1p_1;
|
|
1135
1219
|
};
|
|
1136
1220
|
protoOf(GameUserInfo).qc = function () {
|
|
1137
1221
|
return this.name;
|
|
@@ -1142,30 +1226,30 @@
|
|
|
1142
1226
|
protoOf(GameUserInfo).e16 = function () {
|
|
1143
1227
|
return this.isBot;
|
|
1144
1228
|
};
|
|
1145
|
-
protoOf(GameUserInfo).
|
|
1229
|
+
protoOf(GameUserInfo).d1p = function () {
|
|
1146
1230
|
return this.initialLuckyFactor;
|
|
1147
1231
|
};
|
|
1148
|
-
protoOf(GameUserInfo).
|
|
1232
|
+
protoOf(GameUserInfo).d1q = function () {
|
|
1149
1233
|
return this.rating;
|
|
1150
1234
|
};
|
|
1151
|
-
protoOf(GameUserInfo).
|
|
1235
|
+
protoOf(GameUserInfo).e1q = function () {
|
|
1152
1236
|
return this.payload;
|
|
1153
1237
|
};
|
|
1154
|
-
protoOf(GameUserInfo).
|
|
1238
|
+
protoOf(GameUserInfo).f1q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1155
1239
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1156
1240
|
};
|
|
1157
1241
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1158
|
-
playerId = playerId === VOID ? this.
|
|
1242
|
+
playerId = playerId === VOID ? this.x1p_1 : playerId;
|
|
1159
1243
|
name = name === VOID ? this.name : name;
|
|
1160
1244
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1161
1245
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1162
1246
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1163
1247
|
rating = rating === VOID ? this.rating : rating;
|
|
1164
1248
|
payload = payload === VOID ? this.payload : payload;
|
|
1165
|
-
return $super === VOID ? this.
|
|
1249
|
+
return $super === VOID ? this.f1q(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) : $super.f1q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1166
1250
|
};
|
|
1167
1251
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1168
|
-
var result = getStringHashCode(this.
|
|
1252
|
+
var result = getStringHashCode(this.x1p_1);
|
|
1169
1253
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1170
1254
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1171
1255
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1179,7 +1263,7 @@
|
|
|
1179
1263
|
return true;
|
|
1180
1264
|
if (!(other instanceof GameUserInfo))
|
|
1181
1265
|
return false;
|
|
1182
|
-
if (!(this.
|
|
1266
|
+
if (!(this.x1p_1 === other.x1p_1))
|
|
1183
1267
|
return false;
|
|
1184
1268
|
if (!(this.name === other.name))
|
|
1185
1269
|
return false;
|
|
@@ -1240,18 +1324,18 @@
|
|
|
1240
1324
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1241
1325
|
}
|
|
1242
1326
|
function PlayerIndex(playerId, playerIndex) {
|
|
1243
|
-
this.
|
|
1244
|
-
this.
|
|
1327
|
+
this.g1q_1 = playerId;
|
|
1328
|
+
this.h1q_1 = playerIndex;
|
|
1245
1329
|
}
|
|
1246
|
-
protoOf(PlayerIndex).
|
|
1247
|
-
return this.
|
|
1330
|
+
protoOf(PlayerIndex).i1p = function () {
|
|
1331
|
+
return this.g1q_1;
|
|
1248
1332
|
};
|
|
1249
1333
|
protoOf(PlayerIndex).toString = function () {
|
|
1250
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1334
|
+
return 'PlayerIndex(playerId=' + this.g1q_1 + ', playerIndex=' + this.h1q_1 + ')';
|
|
1251
1335
|
};
|
|
1252
1336
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1253
|
-
var result = getStringHashCode(this.
|
|
1254
|
-
result = imul(result, 31) + this.
|
|
1337
|
+
var result = getStringHashCode(this.g1q_1);
|
|
1338
|
+
result = imul(result, 31) + this.h1q_1 | 0;
|
|
1255
1339
|
return result;
|
|
1256
1340
|
};
|
|
1257
1341
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1259,9 +1343,9 @@
|
|
|
1259
1343
|
return true;
|
|
1260
1344
|
if (!(other instanceof PlayerIndex))
|
|
1261
1345
|
return false;
|
|
1262
|
-
if (!(this.
|
|
1346
|
+
if (!(this.g1q_1 === other.g1q_1))
|
|
1263
1347
|
return false;
|
|
1264
|
-
if (!(this.
|
|
1348
|
+
if (!(this.h1q_1 === other.h1q_1))
|
|
1265
1349
|
return false;
|
|
1266
1350
|
return true;
|
|
1267
1351
|
};
|
|
@@ -1276,7 +1360,7 @@
|
|
|
1276
1360
|
}
|
|
1277
1361
|
function playerTurnPredicate$lambda(p1) {
|
|
1278
1362
|
_init_properties_Player_kt__qi83pd();
|
|
1279
|
-
return p1.
|
|
1363
|
+
return p1.i1q().q1q();
|
|
1280
1364
|
}
|
|
1281
1365
|
var properties_initialized_Player_kt_56shkt;
|
|
1282
1366
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1287,21 +1371,21 @@
|
|
|
1287
1371
|
}
|
|
1288
1372
|
}
|
|
1289
1373
|
function _get_lastConnectionStateDuration__9l9kps($this) {
|
|
1290
|
-
if ($this.
|
|
1374
|
+
if ($this.s1q_1 == null) {
|
|
1291
1375
|
return Companion_getInstance().kf_1;
|
|
1292
1376
|
}
|
|
1293
1377
|
var now = System_instance.jf();
|
|
1294
|
-
return now.hg($this.
|
|
1378
|
+
return now.hg($this.s1q_1);
|
|
1295
1379
|
}
|
|
1296
1380
|
function Companion_5() {
|
|
1297
|
-
this.
|
|
1381
|
+
this.u1q_1 = 70;
|
|
1298
1382
|
}
|
|
1299
|
-
protoOf(Companion_5).
|
|
1383
|
+
protoOf(Companion_5).v1q = function (state, connectionChangedTime) {
|
|
1300
1384
|
return new PlayerConnection(state, connectionChangedTime);
|
|
1301
1385
|
};
|
|
1302
|
-
protoOf(Companion_5).
|
|
1386
|
+
protoOf(Companion_5).w1q = function (state, connectionChangedTime, $super) {
|
|
1303
1387
|
connectionChangedTime = connectionChangedTime === VOID ? null : connectionChangedTime;
|
|
1304
|
-
return $super === VOID ? this.
|
|
1388
|
+
return $super === VOID ? this.v1q(state, connectionChangedTime) : $super.v1q.call(this, state, connectionChangedTime);
|
|
1305
1389
|
};
|
|
1306
1390
|
var Companion_instance_5;
|
|
1307
1391
|
function Companion_getInstance_8() {
|
|
@@ -1310,44 +1394,44 @@
|
|
|
1310
1394
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1311
1395
|
connectionChangedTime = connectionChangedTime === VOID ? null : connectionChangedTime;
|
|
1312
1396
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().kf_1 : notLiveDurationRecord;
|
|
1313
|
-
this.
|
|
1314
|
-
this.
|
|
1315
|
-
this.
|
|
1397
|
+
this.r1q_1 = state;
|
|
1398
|
+
this.s1q_1 = connectionChangedTime;
|
|
1399
|
+
this.t1q_1 = notLiveDurationRecord;
|
|
1316
1400
|
}
|
|
1317
|
-
protoOf(PlayerConnection).
|
|
1401
|
+
protoOf(PlayerConnection).x1q = function () {
|
|
1318
1402
|
var tmp;
|
|
1319
|
-
if (this.
|
|
1320
|
-
tmp = this.
|
|
1403
|
+
if (this.r1q_1.isLive) {
|
|
1404
|
+
tmp = this.t1q_1;
|
|
1321
1405
|
} else {
|
|
1322
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1406
|
+
tmp = Duration__plus_impl_yu9v8f(this.t1q_1, _get_lastConnectionStateDuration__9l9kps(this));
|
|
1323
1407
|
}
|
|
1324
1408
|
return tmp;
|
|
1325
1409
|
};
|
|
1326
|
-
protoOf(PlayerConnection).
|
|
1410
|
+
protoOf(PlayerConnection).y1q = function (gameDuration) {
|
|
1327
1411
|
// Inline function 'kotlin.Long.div' call
|
|
1328
1412
|
var this_0 = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration);
|
|
1329
1413
|
var percent = toNumber(this_0) / 100.0;
|
|
1330
1414
|
// Inline function 'kotlin.Long.div' call
|
|
1331
|
-
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1415
|
+
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.x1q());
|
|
1332
1416
|
// Inline function 'kotlin.math.round' call
|
|
1333
1417
|
var x = toNumber(this_1) / percent;
|
|
1334
1418
|
var tmp$ret$2 = round(x);
|
|
1335
1419
|
return numberToInt(tmp$ret$2);
|
|
1336
1420
|
};
|
|
1337
|
-
protoOf(PlayerConnection).
|
|
1338
|
-
return 100 - this.
|
|
1421
|
+
protoOf(PlayerConnection).z1q = function (gameDuration) {
|
|
1422
|
+
return 100 - this.y1q(gameDuration) | 0;
|
|
1339
1423
|
};
|
|
1340
|
-
protoOf(PlayerConnection).
|
|
1341
|
-
var percentage = this.
|
|
1424
|
+
protoOf(PlayerConnection).a1r = function (gameDuration) {
|
|
1425
|
+
var percentage = this.z1q(gameDuration);
|
|
1342
1426
|
return percentage >= 70;
|
|
1343
1427
|
};
|
|
1344
1428
|
protoOf(PlayerConnection).toString = function () {
|
|
1345
|
-
return 'PlayerConnection(state=' + this.
|
|
1429
|
+
return 'PlayerConnection(state=' + this.r1q_1.toString() + ', connectionChangedTime=' + toString(this.s1q_1) + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.t1q_1) + ')';
|
|
1346
1430
|
};
|
|
1347
1431
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1348
|
-
var result = this.
|
|
1349
|
-
result = imul(result, 31) + (this.
|
|
1350
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1432
|
+
var result = this.r1q_1.hashCode();
|
|
1433
|
+
result = imul(result, 31) + (this.s1q_1 == null ? 0 : this.s1q_1.hashCode()) | 0;
|
|
1434
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.t1q_1) | 0;
|
|
1351
1435
|
return result;
|
|
1352
1436
|
};
|
|
1353
1437
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1355,16 +1439,16 @@
|
|
|
1355
1439
|
return true;
|
|
1356
1440
|
if (!(other instanceof PlayerConnection))
|
|
1357
1441
|
return false;
|
|
1358
|
-
if (!this.
|
|
1442
|
+
if (!this.r1q_1.equals(other.r1q_1))
|
|
1359
1443
|
return false;
|
|
1360
|
-
if (!equals(this.
|
|
1444
|
+
if (!equals(this.s1q_1, other.s1q_1))
|
|
1361
1445
|
return false;
|
|
1362
|
-
if (!equals(this.
|
|
1446
|
+
if (!equals(this.t1q_1, other.t1q_1))
|
|
1363
1447
|
return false;
|
|
1364
1448
|
return true;
|
|
1365
1449
|
};
|
|
1366
|
-
function _get_$
|
|
1367
|
-
return $this.
|
|
1450
|
+
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1451
|
+
return $this.b1r_1.j2();
|
|
1368
1452
|
}
|
|
1369
1453
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1370
1454
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1408,10 +1492,10 @@
|
|
|
1408
1492
|
Companion_instance_6 = this;
|
|
1409
1493
|
var tmp = this;
|
|
1410
1494
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1411
|
-
tmp.
|
|
1495
|
+
tmp.b1r_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1412
1496
|
}
|
|
1413
1497
|
protoOf(Companion_6).n17 = function () {
|
|
1414
|
-
return _get_$
|
|
1498
|
+
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1415
1499
|
};
|
|
1416
1500
|
protoOf(Companion_6).mv = function (typeParamsSerializers) {
|
|
1417
1501
|
return this.n17();
|
|
@@ -1441,28 +1525,28 @@
|
|
|
1441
1525
|
function PlayerConnectionState(name, ordinal) {
|
|
1442
1526
|
Enum.call(this, name, ordinal);
|
|
1443
1527
|
}
|
|
1444
|
-
protoOf(PlayerConnectionState).
|
|
1528
|
+
protoOf(PlayerConnectionState).e1r = function () {
|
|
1445
1529
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1446
1530
|
};
|
|
1447
|
-
protoOf(PlayerConnectionState).
|
|
1531
|
+
protoOf(PlayerConnectionState).f1r = function () {
|
|
1448
1532
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1449
1533
|
};
|
|
1450
|
-
protoOf(PlayerConnectionState).
|
|
1534
|
+
protoOf(PlayerConnectionState).g1r = function () {
|
|
1451
1535
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1452
1536
|
};
|
|
1453
|
-
protoOf(PlayerConnectionState).
|
|
1537
|
+
protoOf(PlayerConnectionState).h1r = function () {
|
|
1454
1538
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1455
1539
|
};
|
|
1456
|
-
protoOf(PlayerConnectionState).
|
|
1540
|
+
protoOf(PlayerConnectionState).i1r = function () {
|
|
1457
1541
|
return this.equals(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
1458
1542
|
};
|
|
1459
|
-
protoOf(PlayerConnectionState).
|
|
1543
|
+
protoOf(PlayerConnectionState).j1r = function () {
|
|
1460
1544
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1461
1545
|
};
|
|
1462
|
-
protoOf(PlayerConnectionState).
|
|
1546
|
+
protoOf(PlayerConnectionState).k1r = function () {
|
|
1463
1547
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1464
1548
|
};
|
|
1465
|
-
protoOf(PlayerConnectionState).
|
|
1549
|
+
protoOf(PlayerConnectionState).l1r = function () {
|
|
1466
1550
|
var tmp;
|
|
1467
1551
|
switch (this.x2_1) {
|
|
1468
1552
|
case 3:
|
|
@@ -1483,7 +1567,7 @@
|
|
|
1483
1567
|
}
|
|
1484
1568
|
return tmp;
|
|
1485
1569
|
};
|
|
1486
|
-
protoOf(PlayerConnectionState).
|
|
1570
|
+
protoOf(PlayerConnectionState).m1r = function () {
|
|
1487
1571
|
var tmp;
|
|
1488
1572
|
switch (this.x2_1) {
|
|
1489
1573
|
case 3:
|
|
@@ -1504,7 +1588,7 @@
|
|
|
1504
1588
|
}
|
|
1505
1589
|
return tmp;
|
|
1506
1590
|
};
|
|
1507
|
-
protoOf(PlayerConnectionState).
|
|
1591
|
+
protoOf(PlayerConnectionState).n1r = function () {
|
|
1508
1592
|
var tmp;
|
|
1509
1593
|
switch (this.x2_1) {
|
|
1510
1594
|
case 3:
|
|
@@ -1529,7 +1613,7 @@
|
|
|
1529
1613
|
}
|
|
1530
1614
|
return tmp;
|
|
1531
1615
|
};
|
|
1532
|
-
protoOf(PlayerConnectionState).
|
|
1616
|
+
protoOf(PlayerConnectionState).o1r = function () {
|
|
1533
1617
|
var tmp;
|
|
1534
1618
|
switch (this.x2_1) {
|
|
1535
1619
|
case 3:
|
|
@@ -1554,7 +1638,7 @@
|
|
|
1554
1638
|
}
|
|
1555
1639
|
return tmp;
|
|
1556
1640
|
};
|
|
1557
|
-
protoOf(PlayerConnectionState).
|
|
1641
|
+
protoOf(PlayerConnectionState).p1r = function () {
|
|
1558
1642
|
var tmp;
|
|
1559
1643
|
switch (this.x2_1) {
|
|
1560
1644
|
case 3:
|
|
@@ -1577,7 +1661,7 @@
|
|
|
1577
1661
|
}
|
|
1578
1662
|
return tmp;
|
|
1579
1663
|
};
|
|
1580
|
-
protoOf(PlayerConnectionState).
|
|
1664
|
+
protoOf(PlayerConnectionState).q1r = function () {
|
|
1581
1665
|
var tmp;
|
|
1582
1666
|
switch (this.x2_1) {
|
|
1583
1667
|
case 2:
|
|
@@ -1600,7 +1684,7 @@
|
|
|
1600
1684
|
}
|
|
1601
1685
|
return tmp;
|
|
1602
1686
|
};
|
|
1603
|
-
protoOf(PlayerConnectionState).
|
|
1687
|
+
protoOf(PlayerConnectionState).r1r = function () {
|
|
1604
1688
|
var tmp;
|
|
1605
1689
|
switch (this.x2_1) {
|
|
1606
1690
|
case 5:
|
|
@@ -1653,8 +1737,8 @@
|
|
|
1653
1737
|
PlayerConnectionState_initEntries();
|
|
1654
1738
|
return PlayerConnectionState_DELETED_instance;
|
|
1655
1739
|
}
|
|
1656
|
-
function _get_$
|
|
1657
|
-
return $this.
|
|
1740
|
+
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1741
|
+
return $this.s1r_1.j2();
|
|
1658
1742
|
}
|
|
1659
1743
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1660
1744
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1669,10 +1753,10 @@
|
|
|
1669
1753
|
Companion_instance_7 = this;
|
|
1670
1754
|
var tmp = this;
|
|
1671
1755
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1672
|
-
tmp.
|
|
1756
|
+
tmp.s1r_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1673
1757
|
}
|
|
1674
1758
|
protoOf(Companion_7).n17 = function () {
|
|
1675
|
-
return _get_$
|
|
1759
|
+
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1676
1760
|
};
|
|
1677
1761
|
protoOf(Companion_7).mv = function (typeParamsSerializers) {
|
|
1678
1762
|
return this.n17();
|
|
@@ -1697,18 +1781,18 @@
|
|
|
1697
1781
|
function PlayerWaitingState(name, ordinal) {
|
|
1698
1782
|
Enum.call(this, name, ordinal);
|
|
1699
1783
|
}
|
|
1700
|
-
protoOf(PlayerWaitingState).
|
|
1701
|
-
return this.
|
|
1784
|
+
protoOf(PlayerWaitingState).q1q = function () {
|
|
1785
|
+
return this.v1r() || this.w1r();
|
|
1702
1786
|
};
|
|
1703
|
-
protoOf(PlayerWaitingState).
|
|
1787
|
+
protoOf(PlayerWaitingState).v1r = function () {
|
|
1704
1788
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1705
1789
|
};
|
|
1706
|
-
protoOf(PlayerWaitingState).
|
|
1790
|
+
protoOf(PlayerWaitingState).w1r = function () {
|
|
1707
1791
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1708
1792
|
};
|
|
1709
1793
|
function Companion_8() {
|
|
1710
1794
|
}
|
|
1711
|
-
protoOf(Companion_8).
|
|
1795
|
+
protoOf(Companion_8).x1r = function (connection) {
|
|
1712
1796
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1713
1797
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1714
1798
|
};
|
|
@@ -1731,17 +1815,17 @@
|
|
|
1731
1815
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1732
1816
|
tag = tag === VOID ? null : tag;
|
|
1733
1817
|
connection = connection === VOID ? null : connection;
|
|
1734
|
-
this.
|
|
1735
|
-
this.
|
|
1736
|
-
this.
|
|
1737
|
-
this.
|
|
1738
|
-
this.
|
|
1739
|
-
this.
|
|
1740
|
-
this.
|
|
1741
|
-
}
|
|
1742
|
-
protoOf(PlayerState).
|
|
1818
|
+
this.j1q_1 = startFromTime;
|
|
1819
|
+
this.k1q_1 = playerTurnTimeout;
|
|
1820
|
+
this.l1q_1 = waitPlayerUntilTime;
|
|
1821
|
+
this.m1q_1 = state;
|
|
1822
|
+
this.n1q_1 = ready;
|
|
1823
|
+
this.o1q_1 = tag;
|
|
1824
|
+
this.p1q_1 = connection;
|
|
1825
|
+
}
|
|
1826
|
+
protoOf(PlayerState).y1r = function () {
|
|
1743
1827
|
// Inline function 'kotlin.requireNotNull' call
|
|
1744
|
-
var tmp0 = this.
|
|
1828
|
+
var tmp0 = this.p1q_1;
|
|
1745
1829
|
var tmp$ret$1;
|
|
1746
1830
|
$l$block: {
|
|
1747
1831
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -1757,55 +1841,55 @@
|
|
|
1757
1841
|
};
|
|
1758
1842
|
protoOf(PlayerState).toString = function () {
|
|
1759
1843
|
// Inline function 'kotlin.takeIf' call
|
|
1760
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1844
|
+
var this_0 = 'startFromTime=' + toString(this.j1q_1);
|
|
1761
1845
|
var tmp;
|
|
1762
|
-
if (!(this.
|
|
1846
|
+
if (!(this.j1q_1 == null)) {
|
|
1763
1847
|
tmp = this_0;
|
|
1764
1848
|
} else {
|
|
1765
1849
|
tmp = null;
|
|
1766
1850
|
}
|
|
1767
1851
|
var tmp_0 = tmp;
|
|
1768
1852
|
// Inline function 'kotlin.takeIf' call
|
|
1769
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1853
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.k1q_1);
|
|
1770
1854
|
var tmp_1;
|
|
1771
|
-
if (!(this.
|
|
1855
|
+
if (!(this.k1q_1 == null)) {
|
|
1772
1856
|
tmp_1 = this_1;
|
|
1773
1857
|
} else {
|
|
1774
1858
|
tmp_1 = null;
|
|
1775
1859
|
}
|
|
1776
1860
|
var tmp_2 = tmp_1;
|
|
1777
1861
|
// Inline function 'kotlin.takeIf' call
|
|
1778
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1862
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.l1q_1);
|
|
1779
1863
|
var tmp_3;
|
|
1780
|
-
if (!(this.
|
|
1864
|
+
if (!(this.l1q_1 == null)) {
|
|
1781
1865
|
tmp_3 = this_2;
|
|
1782
1866
|
} else {
|
|
1783
1867
|
tmp_3 = null;
|
|
1784
1868
|
}
|
|
1785
1869
|
var tmp_4 = tmp_3;
|
|
1786
|
-
var tmp_5 = 'state=' + this.
|
|
1870
|
+
var tmp_5 = 'state=' + this.m1q_1.toString();
|
|
1787
1871
|
// Inline function 'kotlin.takeIf' call
|
|
1788
|
-
var this_3 = 'ready=' + this.
|
|
1872
|
+
var this_3 = 'ready=' + this.n1q_1;
|
|
1789
1873
|
var tmp_6;
|
|
1790
|
-
if (this.
|
|
1874
|
+
if (this.n1q_1) {
|
|
1791
1875
|
tmp_6 = this_3;
|
|
1792
1876
|
} else {
|
|
1793
1877
|
tmp_6 = null;
|
|
1794
1878
|
}
|
|
1795
1879
|
var tmp_7 = tmp_6;
|
|
1796
1880
|
// Inline function 'kotlin.takeIf' call
|
|
1797
|
-
var this_4 = 'tag=' + this.
|
|
1881
|
+
var this_4 = 'tag=' + this.o1q_1;
|
|
1798
1882
|
var tmp_8;
|
|
1799
|
-
if (!(this.
|
|
1883
|
+
if (!(this.o1q_1 == null)) {
|
|
1800
1884
|
tmp_8 = this_4;
|
|
1801
1885
|
} else {
|
|
1802
1886
|
tmp_8 = null;
|
|
1803
1887
|
}
|
|
1804
1888
|
var tmp_9 = tmp_8;
|
|
1805
1889
|
// Inline function 'kotlin.takeIf' call
|
|
1806
|
-
var this_5 = 'connection=' + toString(this.
|
|
1890
|
+
var this_5 = 'connection=' + toString(this.p1q_1);
|
|
1807
1891
|
var tmp_10;
|
|
1808
|
-
if (!(this.
|
|
1892
|
+
if (!(this.p1q_1 == null)) {
|
|
1809
1893
|
tmp_10 = this_5;
|
|
1810
1894
|
} else {
|
|
1811
1895
|
tmp_10 = null;
|
|
@@ -1813,17 +1897,17 @@
|
|
|
1813
1897
|
var tmp$ret$11 = tmp_10;
|
|
1814
1898
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1815
1899
|
};
|
|
1816
|
-
protoOf(PlayerState).
|
|
1817
|
-
return this.
|
|
1900
|
+
protoOf(PlayerState).q1q = function () {
|
|
1901
|
+
return this.m1q_1.q1q();
|
|
1818
1902
|
};
|
|
1819
1903
|
protoOf(PlayerState).hashCode = function () {
|
|
1820
|
-
var result = this.
|
|
1821
|
-
result = imul(result, 31) + (this.
|
|
1822
|
-
result = imul(result, 31) + (this.h1q_1 == null ? 0 : this.h1q_1.hashCode()) | 0;
|
|
1823
|
-
result = imul(result, 31) + this.i1q_1.hashCode() | 0;
|
|
1824
|
-
result = imul(result, 31) + getBooleanHashCode(this.j1q_1) | 0;
|
|
1825
|
-
result = imul(result, 31) + (this.k1q_1 == null ? 0 : getStringHashCode(this.k1q_1)) | 0;
|
|
1904
|
+
var result = this.j1q_1 == null ? 0 : this.j1q_1.hashCode();
|
|
1905
|
+
result = imul(result, 31) + (this.k1q_1 == null ? 0 : this.k1q_1.hashCode()) | 0;
|
|
1826
1906
|
result = imul(result, 31) + (this.l1q_1 == null ? 0 : this.l1q_1.hashCode()) | 0;
|
|
1907
|
+
result = imul(result, 31) + this.m1q_1.hashCode() | 0;
|
|
1908
|
+
result = imul(result, 31) + getBooleanHashCode(this.n1q_1) | 0;
|
|
1909
|
+
result = imul(result, 31) + (this.o1q_1 == null ? 0 : getStringHashCode(this.o1q_1)) | 0;
|
|
1910
|
+
result = imul(result, 31) + (this.p1q_1 == null ? 0 : this.p1q_1.hashCode()) | 0;
|
|
1827
1911
|
return result;
|
|
1828
1912
|
};
|
|
1829
1913
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1831,26 +1915,26 @@
|
|
|
1831
1915
|
return true;
|
|
1832
1916
|
if (!(other instanceof PlayerState))
|
|
1833
1917
|
return false;
|
|
1834
|
-
if (!equals(this.
|
|
1918
|
+
if (!equals(this.j1q_1, other.j1q_1))
|
|
1835
1919
|
return false;
|
|
1836
|
-
if (!equals(this.
|
|
1920
|
+
if (!equals(this.k1q_1, other.k1q_1))
|
|
1837
1921
|
return false;
|
|
1838
|
-
if (!equals(this.
|
|
1922
|
+
if (!equals(this.l1q_1, other.l1q_1))
|
|
1839
1923
|
return false;
|
|
1840
|
-
if (!this.
|
|
1924
|
+
if (!this.m1q_1.equals(other.m1q_1))
|
|
1841
1925
|
return false;
|
|
1842
|
-
if (!(this.
|
|
1926
|
+
if (!(this.n1q_1 === other.n1q_1))
|
|
1843
1927
|
return false;
|
|
1844
|
-
if (!(this.
|
|
1928
|
+
if (!(this.o1q_1 == other.o1q_1))
|
|
1845
1929
|
return false;
|
|
1846
|
-
if (!equals(this.
|
|
1930
|
+
if (!equals(this.p1q_1, other.p1q_1))
|
|
1847
1931
|
return false;
|
|
1848
1932
|
return true;
|
|
1849
1933
|
};
|
|
1850
1934
|
function Team(playerIds) {
|
|
1851
1935
|
this.playerIds = playerIds;
|
|
1852
1936
|
}
|
|
1853
|
-
protoOf(Team).
|
|
1937
|
+
protoOf(Team).z1r = function () {
|
|
1854
1938
|
return this.playerIds;
|
|
1855
1939
|
};
|
|
1856
1940
|
protoOf(Team).containsPlayer = function (playerId) {
|
|
@@ -1865,12 +1949,12 @@
|
|
|
1865
1949
|
protoOf(Team).pc = function () {
|
|
1866
1950
|
return this.playerIds;
|
|
1867
1951
|
};
|
|
1868
|
-
protoOf(Team).
|
|
1952
|
+
protoOf(Team).a1s = function (playerIds) {
|
|
1869
1953
|
return new Team(playerIds);
|
|
1870
1954
|
};
|
|
1871
1955
|
protoOf(Team).copy = function (playerIds, $super) {
|
|
1872
1956
|
playerIds = playerIds === VOID ? this.playerIds : playerIds;
|
|
1873
|
-
return $super === VOID ? this.
|
|
1957
|
+
return $super === VOID ? this.a1s(playerIds) : $super.a1s.call(this, playerIds);
|
|
1874
1958
|
};
|
|
1875
1959
|
protoOf(Team).toString = function () {
|
|
1876
1960
|
return 'Team(playerIds=' + toString_0(this.playerIds) + ')';
|
|
@@ -1887,8 +1971,8 @@
|
|
|
1887
1971
|
return false;
|
|
1888
1972
|
return true;
|
|
1889
1973
|
};
|
|
1890
|
-
function _get_$
|
|
1891
|
-
return $this.
|
|
1974
|
+
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1975
|
+
return $this.b1s_1.j2();
|
|
1892
1976
|
}
|
|
1893
1977
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1894
1978
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1926,10 +2010,10 @@
|
|
|
1926
2010
|
Companion_instance_9 = this;
|
|
1927
2011
|
var tmp = this;
|
|
1928
2012
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1929
|
-
tmp.
|
|
2013
|
+
tmp.b1s_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1930
2014
|
}
|
|
1931
2015
|
protoOf(Companion_9).n17 = function () {
|
|
1932
|
-
return _get_$
|
|
2016
|
+
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1933
2017
|
};
|
|
1934
2018
|
protoOf(Companion_9).mv = function (typeParamsSerializers) {
|
|
1935
2019
|
return this.n17();
|
|
@@ -1946,8 +2030,8 @@
|
|
|
1946
2030
|
function TerminationGameReasonDto() {
|
|
1947
2031
|
Companion_getInstance_12();
|
|
1948
2032
|
}
|
|
1949
|
-
function _get_$
|
|
1950
|
-
return $this.
|
|
2033
|
+
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2034
|
+
return $this.c1s_1.j2();
|
|
1951
2035
|
}
|
|
1952
2036
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1953
2037
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1962,10 +2046,10 @@
|
|
|
1962
2046
|
TerminationGameReasonDto.call(this);
|
|
1963
2047
|
var tmp = this;
|
|
1964
2048
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1965
|
-
tmp.
|
|
2049
|
+
tmp.c1s_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1966
2050
|
}
|
|
1967
2051
|
protoOf(ProcessingReasonDto).n17 = function () {
|
|
1968
|
-
return _get_$
|
|
2052
|
+
return _get_$cachedSerializer__te6jhj_7(this);
|
|
1969
2053
|
};
|
|
1970
2054
|
protoOf(ProcessingReasonDto).mv = function (typeParamsSerializers) {
|
|
1971
2055
|
return this.n17();
|
|
@@ -1999,19 +2083,19 @@
|
|
|
1999
2083
|
$serializer_instance_1 = this;
|
|
2000
2084
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
2001
2085
|
tmp0_serialDesc.ku('reason', false);
|
|
2002
|
-
this.
|
|
2086
|
+
this.d1s_1 = tmp0_serialDesc;
|
|
2003
2087
|
}
|
|
2004
|
-
protoOf($serializer_1).
|
|
2005
|
-
var tmp0_desc = this.
|
|
2088
|
+
protoOf($serializer_1).e1s = function (encoder, value) {
|
|
2089
|
+
var tmp0_desc = this.d1s_1;
|
|
2006
2090
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
2007
2091
|
tmp1_output.jo(tmp0_desc, 0, value.reason);
|
|
2008
2092
|
tmp1_output.vm(tmp0_desc);
|
|
2009
2093
|
};
|
|
2010
2094
|
protoOf($serializer_1).mj = function (encoder, value) {
|
|
2011
|
-
return this.
|
|
2095
|
+
return this.e1s(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
2012
2096
|
};
|
|
2013
2097
|
protoOf($serializer_1).nj = function (decoder) {
|
|
2014
|
-
var tmp0_desc = this.
|
|
2098
|
+
var tmp0_desc = this.d1s_1;
|
|
2015
2099
|
var tmp1_flag = true;
|
|
2016
2100
|
var tmp2_index = 0;
|
|
2017
2101
|
var tmp3_bitMask0 = 0;
|
|
@@ -2039,7 +2123,7 @@
|
|
|
2039
2123
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2040
2124
|
};
|
|
2041
2125
|
protoOf($serializer_1).lj = function () {
|
|
2042
|
-
return this.
|
|
2126
|
+
return this.d1s_1;
|
|
2043
2127
|
};
|
|
2044
2128
|
protoOf($serializer_1).bv = function () {
|
|
2045
2129
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2055,7 +2139,7 @@
|
|
|
2055
2139
|
}
|
|
2056
2140
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2057
2141
|
if (!(1 === (1 & seen0))) {
|
|
2058
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
2142
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().d1s_1);
|
|
2059
2143
|
}
|
|
2060
2144
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2061
2145
|
$this.reason = reason;
|
|
@@ -2068,7 +2152,7 @@
|
|
|
2068
2152
|
TerminationGameReasonDto.call(this);
|
|
2069
2153
|
this.reason = reason;
|
|
2070
2154
|
}
|
|
2071
|
-
protoOf(GameErrorReasonDto).
|
|
2155
|
+
protoOf(GameErrorReasonDto).r1p = function () {
|
|
2072
2156
|
return this.reason;
|
|
2073
2157
|
};
|
|
2074
2158
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -2096,19 +2180,19 @@
|
|
|
2096
2180
|
$serializer_instance_2 = this;
|
|
2097
2181
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
2098
2182
|
tmp0_serialDesc.ku('reason', false);
|
|
2099
|
-
this.
|
|
2183
|
+
this.f1s_1 = tmp0_serialDesc;
|
|
2100
2184
|
}
|
|
2101
|
-
protoOf($serializer_2).
|
|
2102
|
-
var tmp0_desc = this.
|
|
2185
|
+
protoOf($serializer_2).g1s = function (encoder, value) {
|
|
2186
|
+
var tmp0_desc = this.f1s_1;
|
|
2103
2187
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
2104
2188
|
tmp1_output.jo(tmp0_desc, 0, value.reason);
|
|
2105
2189
|
tmp1_output.vm(tmp0_desc);
|
|
2106
2190
|
};
|
|
2107
2191
|
protoOf($serializer_2).mj = function (encoder, value) {
|
|
2108
|
-
return this.
|
|
2192
|
+
return this.g1s(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
2109
2193
|
};
|
|
2110
2194
|
protoOf($serializer_2).nj = function (decoder) {
|
|
2111
|
-
var tmp0_desc = this.
|
|
2195
|
+
var tmp0_desc = this.f1s_1;
|
|
2112
2196
|
var tmp1_flag = true;
|
|
2113
2197
|
var tmp2_index = 0;
|
|
2114
2198
|
var tmp3_bitMask0 = 0;
|
|
@@ -2136,7 +2220,7 @@
|
|
|
2136
2220
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2137
2221
|
};
|
|
2138
2222
|
protoOf($serializer_2).lj = function () {
|
|
2139
|
-
return this.
|
|
2223
|
+
return this.f1s_1;
|
|
2140
2224
|
};
|
|
2141
2225
|
protoOf($serializer_2).bv = function () {
|
|
2142
2226
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2152,7 +2236,7 @@
|
|
|
2152
2236
|
}
|
|
2153
2237
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2154
2238
|
if (!(1 === (1 & seen0))) {
|
|
2155
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2239
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().f1s_1);
|
|
2156
2240
|
}
|
|
2157
2241
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2158
2242
|
$this.reason = reason;
|
|
@@ -2165,7 +2249,7 @@
|
|
|
2165
2249
|
TerminationGameReasonDto.call(this);
|
|
2166
2250
|
this.reason = reason;
|
|
2167
2251
|
}
|
|
2168
|
-
protoOf(GameFinishedReasonDto).
|
|
2252
|
+
protoOf(GameFinishedReasonDto).r1p = function () {
|
|
2169
2253
|
return this.reason;
|
|
2170
2254
|
};
|
|
2171
2255
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
@@ -2193,19 +2277,19 @@
|
|
|
2193
2277
|
$serializer_instance_3 = this;
|
|
2194
2278
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
2195
2279
|
tmp0_serialDesc.ku('playerId', false);
|
|
2196
|
-
this.
|
|
2280
|
+
this.h1s_1 = tmp0_serialDesc;
|
|
2197
2281
|
}
|
|
2198
|
-
protoOf($serializer_3).
|
|
2199
|
-
var tmp0_desc = this.
|
|
2282
|
+
protoOf($serializer_3).i1s = function (encoder, value) {
|
|
2283
|
+
var tmp0_desc = this.h1s_1;
|
|
2200
2284
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
2201
|
-
tmp1_output.jo(tmp0_desc, 0, value.
|
|
2285
|
+
tmp1_output.jo(tmp0_desc, 0, value.j1s_1);
|
|
2202
2286
|
tmp1_output.vm(tmp0_desc);
|
|
2203
2287
|
};
|
|
2204
2288
|
protoOf($serializer_3).mj = function (encoder, value) {
|
|
2205
|
-
return this.
|
|
2289
|
+
return this.i1s(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2206
2290
|
};
|
|
2207
2291
|
protoOf($serializer_3).nj = function (decoder) {
|
|
2208
|
-
var tmp0_desc = this.
|
|
2292
|
+
var tmp0_desc = this.h1s_1;
|
|
2209
2293
|
var tmp1_flag = true;
|
|
2210
2294
|
var tmp2_index = 0;
|
|
2211
2295
|
var tmp3_bitMask0 = 0;
|
|
@@ -2233,7 +2317,7 @@
|
|
|
2233
2317
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2234
2318
|
};
|
|
2235
2319
|
protoOf($serializer_3).lj = function () {
|
|
2236
|
-
return this.
|
|
2320
|
+
return this.h1s_1;
|
|
2237
2321
|
};
|
|
2238
2322
|
protoOf($serializer_3).bv = function () {
|
|
2239
2323
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2249,10 +2333,10 @@
|
|
|
2249
2333
|
}
|
|
2250
2334
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2251
2335
|
if (!(1 === (1 & seen0))) {
|
|
2252
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2336
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().h1s_1);
|
|
2253
2337
|
}
|
|
2254
2338
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2255
|
-
$this.
|
|
2339
|
+
$this.j1s_1 = playerId;
|
|
2256
2340
|
return $this;
|
|
2257
2341
|
}
|
|
2258
2342
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2260,20 +2344,20 @@
|
|
|
2260
2344
|
}
|
|
2261
2345
|
function PlayerExitReasonDto(playerId) {
|
|
2262
2346
|
TerminationGameReasonDto.call(this);
|
|
2263
|
-
this.
|
|
2347
|
+
this.j1s_1 = playerId;
|
|
2264
2348
|
}
|
|
2265
2349
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2266
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2350
|
+
return 'PlayerExitReasonDto(playerId=' + this.j1s_1 + ')';
|
|
2267
2351
|
};
|
|
2268
2352
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2269
|
-
return getStringHashCode(this.
|
|
2353
|
+
return getStringHashCode(this.j1s_1);
|
|
2270
2354
|
};
|
|
2271
2355
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2272
2356
|
if (this === other)
|
|
2273
2357
|
return true;
|
|
2274
2358
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2275
2359
|
return false;
|
|
2276
|
-
if (!(this.
|
|
2360
|
+
if (!(this.j1s_1 === other.j1s_1))
|
|
2277
2361
|
return false;
|
|
2278
2362
|
return true;
|
|
2279
2363
|
};
|
|
@@ -2288,20 +2372,20 @@
|
|
|
2288
2372
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2289
2373
|
tmp0_serialDesc.ku('playerId', false);
|
|
2290
2374
|
tmp0_serialDesc.ku('tag', false);
|
|
2291
|
-
this.
|
|
2375
|
+
this.k1s_1 = tmp0_serialDesc;
|
|
2292
2376
|
}
|
|
2293
|
-
protoOf($serializer_4).
|
|
2294
|
-
var tmp0_desc = this.
|
|
2377
|
+
protoOf($serializer_4).l1s = function (encoder, value) {
|
|
2378
|
+
var tmp0_desc = this.k1s_1;
|
|
2295
2379
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
2296
|
-
tmp1_output.jo(tmp0_desc, 0, value.
|
|
2297
|
-
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2380
|
+
tmp1_output.jo(tmp0_desc, 0, value.m1s_1);
|
|
2381
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.n1s_1);
|
|
2298
2382
|
tmp1_output.vm(tmp0_desc);
|
|
2299
2383
|
};
|
|
2300
2384
|
protoOf($serializer_4).mj = function (encoder, value) {
|
|
2301
|
-
return this.
|
|
2385
|
+
return this.l1s(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2302
2386
|
};
|
|
2303
2387
|
protoOf($serializer_4).nj = function (decoder) {
|
|
2304
|
-
var tmp0_desc = this.
|
|
2388
|
+
var tmp0_desc = this.k1s_1;
|
|
2305
2389
|
var tmp1_flag = true;
|
|
2306
2390
|
var tmp2_index = 0;
|
|
2307
2391
|
var tmp3_bitMask0 = 0;
|
|
@@ -2336,7 +2420,7 @@
|
|
|
2336
2420
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2337
2421
|
};
|
|
2338
2422
|
protoOf($serializer_4).lj = function () {
|
|
2339
|
-
return this.
|
|
2423
|
+
return this.k1s_1;
|
|
2340
2424
|
};
|
|
2341
2425
|
protoOf($serializer_4).bv = function () {
|
|
2342
2426
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2352,11 +2436,11 @@
|
|
|
2352
2436
|
}
|
|
2353
2437
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2354
2438
|
if (!(3 === (3 & seen0))) {
|
|
2355
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2439
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().k1s_1);
|
|
2356
2440
|
}
|
|
2357
2441
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2358
|
-
$this.
|
|
2359
|
-
$this.
|
|
2442
|
+
$this.m1s_1 = playerId;
|
|
2443
|
+
$this.n1s_1 = tag;
|
|
2360
2444
|
return $this;
|
|
2361
2445
|
}
|
|
2362
2446
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2364,15 +2448,15 @@
|
|
|
2364
2448
|
}
|
|
2365
2449
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2366
2450
|
TerminationGameReasonDto.call(this);
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2451
|
+
this.m1s_1 = playerId;
|
|
2452
|
+
this.n1s_1 = tag;
|
|
2369
2453
|
}
|
|
2370
2454
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2371
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2455
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.m1s_1 + ', tag=' + this.n1s_1 + ')';
|
|
2372
2456
|
};
|
|
2373
2457
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2374
|
-
var result = getStringHashCode(this.
|
|
2375
|
-
result = imul(result, 31) + (this.
|
|
2458
|
+
var result = getStringHashCode(this.m1s_1);
|
|
2459
|
+
result = imul(result, 31) + (this.n1s_1 == null ? 0 : getStringHashCode(this.n1s_1)) | 0;
|
|
2376
2460
|
return result;
|
|
2377
2461
|
};
|
|
2378
2462
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2380,9 +2464,9 @@
|
|
|
2380
2464
|
return true;
|
|
2381
2465
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2382
2466
|
return false;
|
|
2383
|
-
if (!(this.
|
|
2467
|
+
if (!(this.m1s_1 === other.m1s_1))
|
|
2384
2468
|
return false;
|
|
2385
|
-
if (!(this.
|
|
2469
|
+
if (!(this.n1s_1 == other.n1s_1))
|
|
2386
2470
|
return false;
|
|
2387
2471
|
return true;
|
|
2388
2472
|
};
|
|
@@ -2397,20 +2481,20 @@
|
|
|
2397
2481
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2398
2482
|
tmp0_serialDesc.ku('playerId', false);
|
|
2399
2483
|
tmp0_serialDesc.ku('tag', false);
|
|
2400
|
-
this.
|
|
2484
|
+
this.o1s_1 = tmp0_serialDesc;
|
|
2401
2485
|
}
|
|
2402
|
-
protoOf($serializer_5).
|
|
2403
|
-
var tmp0_desc = this.
|
|
2486
|
+
protoOf($serializer_5).p1s = function (encoder, value) {
|
|
2487
|
+
var tmp0_desc = this.o1s_1;
|
|
2404
2488
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
2405
|
-
tmp1_output.jo(tmp0_desc, 0, value.
|
|
2406
|
-
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2489
|
+
tmp1_output.jo(tmp0_desc, 0, value.q1s_1);
|
|
2490
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.r1s_1);
|
|
2407
2491
|
tmp1_output.vm(tmp0_desc);
|
|
2408
2492
|
};
|
|
2409
2493
|
protoOf($serializer_5).mj = function (encoder, value) {
|
|
2410
|
-
return this.
|
|
2494
|
+
return this.p1s(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2411
2495
|
};
|
|
2412
2496
|
protoOf($serializer_5).nj = function (decoder) {
|
|
2413
|
-
var tmp0_desc = this.
|
|
2497
|
+
var tmp0_desc = this.o1s_1;
|
|
2414
2498
|
var tmp1_flag = true;
|
|
2415
2499
|
var tmp2_index = 0;
|
|
2416
2500
|
var tmp3_bitMask0 = 0;
|
|
@@ -2445,7 +2529,7 @@
|
|
|
2445
2529
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2446
2530
|
};
|
|
2447
2531
|
protoOf($serializer_5).lj = function () {
|
|
2448
|
-
return this.
|
|
2532
|
+
return this.o1s_1;
|
|
2449
2533
|
};
|
|
2450
2534
|
protoOf($serializer_5).bv = function () {
|
|
2451
2535
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2461,11 +2545,11 @@
|
|
|
2461
2545
|
}
|
|
2462
2546
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2463
2547
|
if (!(3 === (3 & seen0))) {
|
|
2464
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2548
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().o1s_1);
|
|
2465
2549
|
}
|
|
2466
2550
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2467
|
-
$this.
|
|
2468
|
-
$this.
|
|
2551
|
+
$this.q1s_1 = playerId;
|
|
2552
|
+
$this.r1s_1 = tag;
|
|
2469
2553
|
return $this;
|
|
2470
2554
|
}
|
|
2471
2555
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2473,15 +2557,15 @@
|
|
|
2473
2557
|
}
|
|
2474
2558
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2475
2559
|
TerminationGameReasonDto.call(this);
|
|
2476
|
-
this.
|
|
2477
|
-
this.
|
|
2560
|
+
this.q1s_1 = playerId;
|
|
2561
|
+
this.r1s_1 = tag;
|
|
2478
2562
|
}
|
|
2479
2563
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2480
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2564
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.q1s_1 + ', tag=' + this.r1s_1 + ')';
|
|
2481
2565
|
};
|
|
2482
2566
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2483
|
-
var result = getStringHashCode(this.
|
|
2484
|
-
result = imul(result, 31) + (this.
|
|
2567
|
+
var result = getStringHashCode(this.q1s_1);
|
|
2568
|
+
result = imul(result, 31) + (this.r1s_1 == null ? 0 : getStringHashCode(this.r1s_1)) | 0;
|
|
2485
2569
|
return result;
|
|
2486
2570
|
};
|
|
2487
2571
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2489,14 +2573,14 @@
|
|
|
2489
2573
|
return true;
|
|
2490
2574
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2491
2575
|
return false;
|
|
2492
|
-
if (!(this.
|
|
2576
|
+
if (!(this.q1s_1 === other.q1s_1))
|
|
2493
2577
|
return false;
|
|
2494
|
-
if (!(this.
|
|
2578
|
+
if (!(this.r1s_1 == other.r1s_1))
|
|
2495
2579
|
return false;
|
|
2496
2580
|
return true;
|
|
2497
2581
|
};
|
|
2498
|
-
function _get_$
|
|
2499
|
-
return $this.
|
|
2582
|
+
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
2583
|
+
return $this.s1s_1.j2();
|
|
2500
2584
|
}
|
|
2501
2585
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2502
2586
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2511,10 +2595,10 @@
|
|
|
2511
2595
|
TerminationGameReasonDto.call(this);
|
|
2512
2596
|
var tmp = this;
|
|
2513
2597
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2514
|
-
tmp.
|
|
2598
|
+
tmp.s1s_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2515
2599
|
}
|
|
2516
2600
|
protoOf(WaitingForConnectionReasonDto).n17 = function () {
|
|
2517
|
-
return _get_$
|
|
2601
|
+
return _get_$cachedSerializer__te6jhj_8(this);
|
|
2518
2602
|
};
|
|
2519
2603
|
protoOf(WaitingForConnectionReasonDto).mv = function (typeParamsSerializers) {
|
|
2520
2604
|
return this.n17();
|
|
@@ -2632,15 +2716,15 @@
|
|
|
2632
2716
|
}
|
|
2633
2717
|
function mapToDto_3(_this__u8e3s4) {
|
|
2634
2718
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2635
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2719
|
+
return new PlayerExitReasonDto(_this__u8e3s4.m1p_1);
|
|
2636
2720
|
}
|
|
2637
2721
|
function mapToDto_4(_this__u8e3s4) {
|
|
2638
2722
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2639
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2723
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.h1p_1, _this__u8e3s4.tag);
|
|
2640
2724
|
}
|
|
2641
2725
|
function mapToDto_5(_this__u8e3s4) {
|
|
2642
2726
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2643
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2727
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.l1p_1, _this__u8e3s4.tag);
|
|
2644
2728
|
}
|
|
2645
2729
|
function mapToDto_6(_this__u8e3s4) {
|
|
2646
2730
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2662,15 +2746,15 @@
|
|
|
2662
2746
|
}
|
|
2663
2747
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2664
2748
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2665
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2749
|
+
return new PlayerExitReason(_this__u8e3s4.j1s_1);
|
|
2666
2750
|
}
|
|
2667
2751
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2668
2752
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2669
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2753
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.m1s_1, _this__u8e3s4.n1s_1);
|
|
2670
2754
|
}
|
|
2671
2755
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2672
2756
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2673
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2757
|
+
return new PlayerTimeoutReason(_this__u8e3s4.q1s_1, _this__u8e3s4.r1s_1);
|
|
2674
2758
|
}
|
|
2675
2759
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2676
2760
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2711,8 +2795,8 @@
|
|
|
2711
2795
|
}
|
|
2712
2796
|
}
|
|
2713
2797
|
function mapToDto_8(_this__u8e3s4) {
|
|
2714
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2715
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2798
|
+
var tmp0_playerId = _this__u8e3s4.x1p_1;
|
|
2799
|
+
var tmp1_uid = _this__u8e3s4.x1p_1;
|
|
2716
2800
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2717
2801
|
var tmp3_name = _this__u8e3s4.name;
|
|
2718
2802
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2731,31 +2815,31 @@
|
|
|
2731
2815
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2732
2816
|
}
|
|
2733
2817
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2734
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2735
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2736
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2737
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2738
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2739
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2740
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2741
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2818
|
+
var tmp0_elvis_lhs = _this__u8e3s4.t1s_1;
|
|
2819
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.u1s_1) : tmp0_elvis_lhs;
|
|
2820
|
+
var tmp1_elvis_lhs = _this__u8e3s4.v1s_1;
|
|
2821
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.w1s_1) : tmp1_elvis_lhs;
|
|
2822
|
+
var tmp2_elvis_lhs = _this__u8e3s4.x1s_1;
|
|
2823
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.y1s_1 : tmp2_elvis_lhs;
|
|
2824
|
+
var tmp3_elvis_lhs = _this__u8e3s4.a1t_1;
|
|
2825
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.b1t_1, _this__u8e3s4.z1s_1);
|
|
2742
2826
|
}
|
|
2743
2827
|
function mapToDto_9(_this__u8e3s4) {
|
|
2744
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2828
|
+
var tmp0_safe_receiver = _this__u8e3s4.j1q_1;
|
|
2745
2829
|
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2746
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2830
|
+
var tmp1_safe_receiver = _this__u8e3s4.l1q_1;
|
|
2747
2831
|
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2748
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2832
|
+
var tmp2_safe_receiver = _this__u8e3s4.k1q_1;
|
|
2749
2833
|
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2750
|
-
var tmp7_state = _this__u8e3s4.
|
|
2751
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2752
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2753
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2834
|
+
var tmp7_state = _this__u8e3s4.m1q_1;
|
|
2835
|
+
var tmp8_tag = _this__u8e3s4.o1q_1;
|
|
2836
|
+
var tmp9_ready = _this__u8e3s4.n1q_1;
|
|
2837
|
+
var tmp3_safe_receiver = _this__u8e3s4.p1q_1;
|
|
2754
2838
|
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2755
2839
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2756
2840
|
}
|
|
2757
2841
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2758
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2842
|
+
var tmp0_safe_receiver = _this__u8e3s4.c1t_1;
|
|
2759
2843
|
var tmp;
|
|
2760
2844
|
if (tmp0_safe_receiver == null) {
|
|
2761
2845
|
tmp = null;
|
|
@@ -2764,7 +2848,7 @@
|
|
|
2764
2848
|
tmp = Companion_getInstance_0().cg(tmp0_safe_receiver);
|
|
2765
2849
|
}
|
|
2766
2850
|
var tmp5_startFromTime = tmp;
|
|
2767
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2851
|
+
var tmp1_safe_receiver = _this__u8e3s4.e1t_1;
|
|
2768
2852
|
var tmp_0;
|
|
2769
2853
|
if (tmp1_safe_receiver == null) {
|
|
2770
2854
|
tmp_0 = null;
|
|
@@ -2773,7 +2857,7 @@
|
|
|
2773
2857
|
tmp_0 = Companion_getInstance_0().cg(tmp1_safe_receiver);
|
|
2774
2858
|
}
|
|
2775
2859
|
var tmp6_waitPlayerUntilTime = tmp_0;
|
|
2776
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2860
|
+
var tmp2_safe_receiver = _this__u8e3s4.d1t_1;
|
|
2777
2861
|
var tmp_1;
|
|
2778
2862
|
if (tmp2_safe_receiver == null) {
|
|
2779
2863
|
tmp_1 = null;
|
|
@@ -2782,19 +2866,19 @@
|
|
|
2782
2866
|
tmp_1 = Companion_getInstance_0().cg(tmp2_safe_receiver);
|
|
2783
2867
|
}
|
|
2784
2868
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
2785
|
-
var tmp8_state = _this__u8e3s4.
|
|
2786
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2787
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2869
|
+
var tmp8_state = _this__u8e3s4.f1t_1;
|
|
2870
|
+
var tmp9_tag = _this__u8e3s4.h1t_1;
|
|
2871
|
+
var tmp3_elvis_lhs = _this__u8e3s4.g1t_1;
|
|
2788
2872
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2789
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2873
|
+
var tmp4_safe_receiver = _this__u8e3s4.i1t_1;
|
|
2790
2874
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2791
2875
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2792
2876
|
}
|
|
2793
2877
|
function mapToDto_10(_this__u8e3s4) {
|
|
2794
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2878
|
+
return new PlayerConnectionDto(_this__u8e3s4.r1q_1, toString(_this__u8e3s4.s1q_1), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.t1q_1));
|
|
2795
2879
|
}
|
|
2796
2880
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2797
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2881
|
+
return new PlayerConnection(_this__u8e3s4.j1t_1, Companion_getInstance_0().cg(_this__u8e3s4.k1t_1), Companion_getInstance().rf(_this__u8e3s4.l1t_1));
|
|
2798
2882
|
}
|
|
2799
2883
|
function Companion_15() {
|
|
2800
2884
|
}
|
|
@@ -2814,39 +2898,39 @@
|
|
|
2814
2898
|
tmp0_serialDesc.ku('rating', false);
|
|
2815
2899
|
tmp0_serialDesc.ku('is_bot', false);
|
|
2816
2900
|
tmp0_serialDesc.ku('lucky_factor', false);
|
|
2817
|
-
this.
|
|
2901
|
+
this.m1t_1 = tmp0_serialDesc;
|
|
2818
2902
|
}
|
|
2819
|
-
protoOf($serializer_6).
|
|
2820
|
-
var tmp0_desc = this.
|
|
2903
|
+
protoOf($serializer_6).n1t = function (encoder, value) {
|
|
2904
|
+
var tmp0_desc = this.m1t_1;
|
|
2821
2905
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
2822
|
-
if (tmp1_output.ro(tmp0_desc, 0) ? true : !(value.
|
|
2823
|
-
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
2906
|
+
if (tmp1_output.ro(tmp0_desc, 0) ? true : !(value.t1s_1 == null)) {
|
|
2907
|
+
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.t1s_1);
|
|
2824
2908
|
}
|
|
2825
|
-
if (tmp1_output.ro(tmp0_desc, 1) ? true : !(value.
|
|
2826
|
-
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2909
|
+
if (tmp1_output.ro(tmp0_desc, 1) ? true : !(value.u1s_1 == null)) {
|
|
2910
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.u1s_1);
|
|
2827
2911
|
}
|
|
2828
|
-
if (tmp1_output.ro(tmp0_desc, 2) ? true : !(value.
|
|
2829
|
-
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2912
|
+
if (tmp1_output.ro(tmp0_desc, 2) ? true : !(value.v1s_1 == null)) {
|
|
2913
|
+
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.v1s_1);
|
|
2830
2914
|
}
|
|
2831
|
-
if (tmp1_output.ro(tmp0_desc, 3) ? true : !(value.
|
|
2832
|
-
tmp1_output.no(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2915
|
+
if (tmp1_output.ro(tmp0_desc, 3) ? true : !(value.w1s_1 == null)) {
|
|
2916
|
+
tmp1_output.no(tmp0_desc, 3, StringSerializer_getInstance(), value.w1s_1);
|
|
2833
2917
|
}
|
|
2834
|
-
if (tmp1_output.ro(tmp0_desc, 4) ? true : !(value.
|
|
2835
|
-
tmp1_output.no(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
2918
|
+
if (tmp1_output.ro(tmp0_desc, 4) ? true : !(value.x1s_1 == null)) {
|
|
2919
|
+
tmp1_output.no(tmp0_desc, 4, StringSerializer_getInstance(), value.x1s_1);
|
|
2836
2920
|
}
|
|
2837
|
-
if (tmp1_output.ro(tmp0_desc, 5) ? true : !(value.
|
|
2838
|
-
tmp1_output.no(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2921
|
+
if (tmp1_output.ro(tmp0_desc, 5) ? true : !(value.y1s_1 == null)) {
|
|
2922
|
+
tmp1_output.no(tmp0_desc, 5, StringSerializer_getInstance(), value.y1s_1);
|
|
2839
2923
|
}
|
|
2840
|
-
tmp1_output.no(tmp0_desc, 6, DoubleSerializer_getInstance(), value.
|
|
2841
|
-
tmp1_output.no(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
2842
|
-
tmp1_output.no(tmp0_desc, 8, FloatSerializer_getInstance(), value.
|
|
2924
|
+
tmp1_output.no(tmp0_desc, 6, DoubleSerializer_getInstance(), value.z1s_1);
|
|
2925
|
+
tmp1_output.no(tmp0_desc, 7, BooleanSerializer_getInstance(), value.a1t_1);
|
|
2926
|
+
tmp1_output.no(tmp0_desc, 8, FloatSerializer_getInstance(), value.b1t_1);
|
|
2843
2927
|
tmp1_output.vm(tmp0_desc);
|
|
2844
2928
|
};
|
|
2845
2929
|
protoOf($serializer_6).mj = function (encoder, value) {
|
|
2846
|
-
return this.
|
|
2930
|
+
return this.n1t(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2847
2931
|
};
|
|
2848
2932
|
protoOf($serializer_6).nj = function (decoder) {
|
|
2849
|
-
var tmp0_desc = this.
|
|
2933
|
+
var tmp0_desc = this.m1t_1;
|
|
2850
2934
|
var tmp1_flag = true;
|
|
2851
2935
|
var tmp2_index = 0;
|
|
2852
2936
|
var tmp3_bitMask0 = 0;
|
|
@@ -2930,7 +3014,7 @@
|
|
|
2930
3014
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2931
3015
|
};
|
|
2932
3016
|
protoOf($serializer_6).lj = function () {
|
|
2933
|
-
return this.
|
|
3017
|
+
return this.m1t_1;
|
|
2934
3018
|
};
|
|
2935
3019
|
protoOf($serializer_6).bv = function () {
|
|
2936
3020
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2946,35 +3030,35 @@
|
|
|
2946
3030
|
}
|
|
2947
3031
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2948
3032
|
if (!(448 === (448 & seen0))) {
|
|
2949
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
3033
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().m1t_1);
|
|
2950
3034
|
}
|
|
2951
3035
|
if (0 === (seen0 & 1))
|
|
2952
|
-
$this.
|
|
3036
|
+
$this.t1s_1 = null;
|
|
2953
3037
|
else
|
|
2954
|
-
$this.
|
|
3038
|
+
$this.t1s_1 = playerId;
|
|
2955
3039
|
if (0 === (seen0 & 2))
|
|
2956
|
-
$this.
|
|
3040
|
+
$this.u1s_1 = null;
|
|
2957
3041
|
else
|
|
2958
|
-
$this.
|
|
3042
|
+
$this.u1s_1 = uid;
|
|
2959
3043
|
if (0 === (seen0 & 4))
|
|
2960
|
-
$this.
|
|
3044
|
+
$this.v1s_1 = null;
|
|
2961
3045
|
else
|
|
2962
|
-
$this.
|
|
3046
|
+
$this.v1s_1 = name;
|
|
2963
3047
|
if (0 === (seen0 & 8))
|
|
2964
|
-
$this.
|
|
3048
|
+
$this.w1s_1 = null;
|
|
2965
3049
|
else
|
|
2966
|
-
$this.
|
|
3050
|
+
$this.w1s_1 = nickname;
|
|
2967
3051
|
if (0 === (seen0 & 16))
|
|
2968
|
-
$this.
|
|
3052
|
+
$this.x1s_1 = null;
|
|
2969
3053
|
else
|
|
2970
|
-
$this.
|
|
3054
|
+
$this.x1s_1 = avatarUrl;
|
|
2971
3055
|
if (0 === (seen0 & 32))
|
|
2972
|
-
$this.
|
|
3056
|
+
$this.y1s_1 = null;
|
|
2973
3057
|
else
|
|
2974
|
-
$this.
|
|
2975
|
-
$this.
|
|
2976
|
-
$this.
|
|
2977
|
-
$this.
|
|
3058
|
+
$this.y1s_1 = photo;
|
|
3059
|
+
$this.z1s_1 = rating;
|
|
3060
|
+
$this.a1t_1 = isBot;
|
|
3061
|
+
$this.b1t_1 = initialLuckyFactor;
|
|
2978
3062
|
return $this;
|
|
2979
3063
|
}
|
|
2980
3064
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2987,47 +3071,47 @@
|
|
|
2987
3071
|
nickname = nickname === VOID ? null : nickname;
|
|
2988
3072
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2989
3073
|
photo = photo === VOID ? null : photo;
|
|
2990
|
-
this.
|
|
2991
|
-
this.
|
|
2992
|
-
this.
|
|
2993
|
-
this.
|
|
2994
|
-
this.
|
|
2995
|
-
this.
|
|
2996
|
-
this.
|
|
2997
|
-
this.
|
|
2998
|
-
this.
|
|
2999
|
-
}
|
|
3000
|
-
protoOf(GameUserInfoDto).
|
|
3001
|
-
return this.
|
|
3002
|
-
};
|
|
3003
|
-
protoOf(GameUserInfoDto).
|
|
3074
|
+
this.t1s_1 = playerId;
|
|
3075
|
+
this.u1s_1 = uid;
|
|
3076
|
+
this.v1s_1 = name;
|
|
3077
|
+
this.w1s_1 = nickname;
|
|
3078
|
+
this.x1s_1 = avatarUrl;
|
|
3079
|
+
this.y1s_1 = photo;
|
|
3080
|
+
this.z1s_1 = rating;
|
|
3081
|
+
this.a1t_1 = isBot;
|
|
3082
|
+
this.b1t_1 = initialLuckyFactor;
|
|
3083
|
+
}
|
|
3084
|
+
protoOf(GameUserInfoDto).o1t = function () {
|
|
3085
|
+
return this.p1t(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
3086
|
+
};
|
|
3087
|
+
protoOf(GameUserInfoDto).q1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
3004
3088
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
3005
3089
|
};
|
|
3006
|
-
protoOf(GameUserInfoDto).
|
|
3007
|
-
playerId = playerId === VOID ? this.
|
|
3008
|
-
uid = uid === VOID ? this.
|
|
3009
|
-
name = name === VOID ? this.
|
|
3010
|
-
nickname = nickname === VOID ? this.
|
|
3011
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3012
|
-
photo = photo === VOID ? this.
|
|
3013
|
-
rating = rating === VOID ? this.
|
|
3014
|
-
isBot = isBot === VOID ? this.
|
|
3015
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3016
|
-
return $super === VOID ? this.
|
|
3090
|
+
protoOf(GameUserInfoDto).p1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
3091
|
+
playerId = playerId === VOID ? this.t1s_1 : playerId;
|
|
3092
|
+
uid = uid === VOID ? this.u1s_1 : uid;
|
|
3093
|
+
name = name === VOID ? this.v1s_1 : name;
|
|
3094
|
+
nickname = nickname === VOID ? this.w1s_1 : nickname;
|
|
3095
|
+
avatarUrl = avatarUrl === VOID ? this.x1s_1 : avatarUrl;
|
|
3096
|
+
photo = photo === VOID ? this.y1s_1 : photo;
|
|
3097
|
+
rating = rating === VOID ? this.z1s_1 : rating;
|
|
3098
|
+
isBot = isBot === VOID ? this.a1t_1 : isBot;
|
|
3099
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.b1t_1 : initialLuckyFactor;
|
|
3100
|
+
return $super === VOID ? this.q1t(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.q1t.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
3017
3101
|
};
|
|
3018
3102
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3019
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3103
|
+
return 'GameUserInfoDto(playerId=' + this.t1s_1 + ', uid=' + this.u1s_1 + ', name=' + this.v1s_1 + ', nickname=' + this.w1s_1 + ', avatarUrl=' + this.x1s_1 + ', photo=' + this.y1s_1 + ', rating=' + this.z1s_1 + ', isBot=' + this.a1t_1 + ', initialLuckyFactor=' + this.b1t_1 + ')';
|
|
3020
3104
|
};
|
|
3021
3105
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3022
|
-
var result = this.
|
|
3023
|
-
result = imul(result, 31) + (this.q1s_1 == null ? 0 : getStringHashCode(this.q1s_1)) | 0;
|
|
3024
|
-
result = imul(result, 31) + (this.r1s_1 == null ? 0 : getStringHashCode(this.r1s_1)) | 0;
|
|
3025
|
-
result = imul(result, 31) + (this.s1s_1 == null ? 0 : getStringHashCode(this.s1s_1)) | 0;
|
|
3026
|
-
result = imul(result, 31) + (this.t1s_1 == null ? 0 : getStringHashCode(this.t1s_1)) | 0;
|
|
3106
|
+
var result = this.t1s_1 == null ? 0 : getStringHashCode(this.t1s_1);
|
|
3027
3107
|
result = imul(result, 31) + (this.u1s_1 == null ? 0 : getStringHashCode(this.u1s_1)) | 0;
|
|
3028
|
-
result = imul(result, 31) + (this.v1s_1 == null ? 0 :
|
|
3029
|
-
result = imul(result, 31) + (this.w1s_1 == null ? 0 :
|
|
3030
|
-
result = imul(result, 31) + (this.x1s_1 == null ? 0 :
|
|
3108
|
+
result = imul(result, 31) + (this.v1s_1 == null ? 0 : getStringHashCode(this.v1s_1)) | 0;
|
|
3109
|
+
result = imul(result, 31) + (this.w1s_1 == null ? 0 : getStringHashCode(this.w1s_1)) | 0;
|
|
3110
|
+
result = imul(result, 31) + (this.x1s_1 == null ? 0 : getStringHashCode(this.x1s_1)) | 0;
|
|
3111
|
+
result = imul(result, 31) + (this.y1s_1 == null ? 0 : getStringHashCode(this.y1s_1)) | 0;
|
|
3112
|
+
result = imul(result, 31) + (this.z1s_1 == null ? 0 : getNumberHashCode(this.z1s_1)) | 0;
|
|
3113
|
+
result = imul(result, 31) + (this.a1t_1 == null ? 0 : getBooleanHashCode(this.a1t_1)) | 0;
|
|
3114
|
+
result = imul(result, 31) + (this.b1t_1 == null ? 0 : getNumberHashCode(this.b1t_1)) | 0;
|
|
3031
3115
|
return result;
|
|
3032
3116
|
};
|
|
3033
3117
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3035,23 +3119,23 @@
|
|
|
3035
3119
|
return true;
|
|
3036
3120
|
if (!(other instanceof GameUserInfoDto))
|
|
3037
3121
|
return false;
|
|
3038
|
-
if (!(this.
|
|
3122
|
+
if (!(this.t1s_1 == other.t1s_1))
|
|
3039
3123
|
return false;
|
|
3040
|
-
if (!(this.
|
|
3124
|
+
if (!(this.u1s_1 == other.u1s_1))
|
|
3041
3125
|
return false;
|
|
3042
|
-
if (!(this.
|
|
3126
|
+
if (!(this.v1s_1 == other.v1s_1))
|
|
3043
3127
|
return false;
|
|
3044
|
-
if (!(this.
|
|
3128
|
+
if (!(this.w1s_1 == other.w1s_1))
|
|
3045
3129
|
return false;
|
|
3046
|
-
if (!(this.
|
|
3130
|
+
if (!(this.x1s_1 == other.x1s_1))
|
|
3047
3131
|
return false;
|
|
3048
|
-
if (!(this.
|
|
3132
|
+
if (!(this.y1s_1 == other.y1s_1))
|
|
3049
3133
|
return false;
|
|
3050
|
-
if (!equals(this.
|
|
3134
|
+
if (!equals(this.z1s_1, other.z1s_1))
|
|
3051
3135
|
return false;
|
|
3052
|
-
if (!(this.
|
|
3136
|
+
if (!(this.a1t_1 == other.a1t_1))
|
|
3053
3137
|
return false;
|
|
3054
|
-
if (!equals(this.
|
|
3138
|
+
if (!equals(this.b1t_1, other.b1t_1))
|
|
3055
3139
|
return false;
|
|
3056
3140
|
return true;
|
|
3057
3141
|
};
|
|
@@ -3065,7 +3149,7 @@
|
|
|
3065
3149
|
// Inline function 'kotlin.arrayOf' call
|
|
3066
3150
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3067
3151
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3068
|
-
tmp.
|
|
3152
|
+
tmp.r1t_1 = [lazy(tmp_0, PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2), null, null];
|
|
3069
3153
|
}
|
|
3070
3154
|
var Companion_instance_16;
|
|
3071
3155
|
function Companion_getInstance_19() {
|
|
@@ -3079,22 +3163,22 @@
|
|
|
3079
3163
|
tmp0_serialDesc.ku('state', false);
|
|
3080
3164
|
tmp0_serialDesc.ku('connectionChangedTime', false);
|
|
3081
3165
|
tmp0_serialDesc.ku('notLiveDurationRecord', false);
|
|
3082
|
-
this.
|
|
3166
|
+
this.s1t_1 = tmp0_serialDesc;
|
|
3083
3167
|
}
|
|
3084
|
-
protoOf($serializer_7).
|
|
3085
|
-
var tmp0_desc = this.
|
|
3168
|
+
protoOf($serializer_7).t1t = function (encoder, value) {
|
|
3169
|
+
var tmp0_desc = this.s1t_1;
|
|
3086
3170
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
3087
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
3088
|
-
tmp1_output.lo(tmp0_desc, 0, tmp2_cached[0].j2(), value.
|
|
3089
|
-
tmp1_output.jo(tmp0_desc, 1, value.
|
|
3090
|
-
tmp1_output.jo(tmp0_desc, 2, value.
|
|
3171
|
+
var tmp2_cached = Companion_getInstance_19().r1t_1;
|
|
3172
|
+
tmp1_output.lo(tmp0_desc, 0, tmp2_cached[0].j2(), value.j1t_1);
|
|
3173
|
+
tmp1_output.jo(tmp0_desc, 1, value.k1t_1);
|
|
3174
|
+
tmp1_output.jo(tmp0_desc, 2, value.l1t_1);
|
|
3091
3175
|
tmp1_output.vm(tmp0_desc);
|
|
3092
3176
|
};
|
|
3093
3177
|
protoOf($serializer_7).mj = function (encoder, value) {
|
|
3094
|
-
return this.
|
|
3178
|
+
return this.t1t(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
3095
3179
|
};
|
|
3096
3180
|
protoOf($serializer_7).nj = function (decoder) {
|
|
3097
|
-
var tmp0_desc = this.
|
|
3181
|
+
var tmp0_desc = this.s1t_1;
|
|
3098
3182
|
var tmp1_flag = true;
|
|
3099
3183
|
var tmp2_index = 0;
|
|
3100
3184
|
var tmp3_bitMask0 = 0;
|
|
@@ -3102,7 +3186,7 @@
|
|
|
3102
3186
|
var tmp5_local1 = null;
|
|
3103
3187
|
var tmp6_local2 = null;
|
|
3104
3188
|
var tmp7_input = decoder.um(tmp0_desc);
|
|
3105
|
-
var tmp8_cached = Companion_getInstance_19().
|
|
3189
|
+
var tmp8_cached = Companion_getInstance_19().r1t_1;
|
|
3106
3190
|
if (tmp7_input.kn()) {
|
|
3107
3191
|
tmp4_local0 = tmp7_input.gn(tmp0_desc, 0, tmp8_cached[0].j2(), tmp4_local0);
|
|
3108
3192
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3137,13 +3221,13 @@
|
|
|
3137
3221
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3138
3222
|
};
|
|
3139
3223
|
protoOf($serializer_7).lj = function () {
|
|
3140
|
-
return this.
|
|
3224
|
+
return this.s1t_1;
|
|
3141
3225
|
};
|
|
3142
3226
|
protoOf($serializer_7).bv = function () {
|
|
3143
3227
|
// Inline function 'kotlin.arrayOf' call
|
|
3144
3228
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3145
3229
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3146
|
-
return [Companion_getInstance_19().
|
|
3230
|
+
return [Companion_getInstance_19().r1t_1[0].j2(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3147
3231
|
};
|
|
3148
3232
|
var $serializer_instance_7;
|
|
3149
3233
|
function $serializer_getInstance_7() {
|
|
@@ -3153,11 +3237,11 @@
|
|
|
3153
3237
|
}
|
|
3154
3238
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
3155
3239
|
if (!(7 === (7 & seen0))) {
|
|
3156
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
3240
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().s1t_1);
|
|
3157
3241
|
}
|
|
3158
|
-
$this.
|
|
3159
|
-
$this.
|
|
3160
|
-
$this.
|
|
3242
|
+
$this.j1t_1 = state;
|
|
3243
|
+
$this.k1t_1 = connectionChangedTime;
|
|
3244
|
+
$this.l1t_1 = notLiveDurationRecord;
|
|
3161
3245
|
return $this;
|
|
3162
3246
|
}
|
|
3163
3247
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -3165,17 +3249,17 @@
|
|
|
3165
3249
|
}
|
|
3166
3250
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
3167
3251
|
Companion_getInstance_19();
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3170
|
-
this.
|
|
3252
|
+
this.j1t_1 = state;
|
|
3253
|
+
this.k1t_1 = connectionChangedTime;
|
|
3254
|
+
this.l1t_1 = notLiveDurationRecord;
|
|
3171
3255
|
}
|
|
3172
3256
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3173
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3257
|
+
return 'PlayerConnectionDto(state=' + this.j1t_1.toString() + ', connectionChangedTime=' + this.k1t_1 + ', notLiveDurationRecord=' + this.l1t_1 + ')';
|
|
3174
3258
|
};
|
|
3175
3259
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3176
|
-
var result = this.
|
|
3177
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3178
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3260
|
+
var result = this.j1t_1.hashCode();
|
|
3261
|
+
result = imul(result, 31) + getStringHashCode(this.k1t_1) | 0;
|
|
3262
|
+
result = imul(result, 31) + getStringHashCode(this.l1t_1) | 0;
|
|
3179
3263
|
return result;
|
|
3180
3264
|
};
|
|
3181
3265
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3183,11 +3267,11 @@
|
|
|
3183
3267
|
return true;
|
|
3184
3268
|
if (!(other instanceof PlayerConnectionDto))
|
|
3185
3269
|
return false;
|
|
3186
|
-
if (!this.
|
|
3270
|
+
if (!this.j1t_1.equals(other.j1t_1))
|
|
3187
3271
|
return false;
|
|
3188
|
-
if (!(this.
|
|
3272
|
+
if (!(this.k1t_1 === other.k1t_1))
|
|
3189
3273
|
return false;
|
|
3190
|
-
if (!(this.
|
|
3274
|
+
if (!(this.l1t_1 === other.l1t_1))
|
|
3191
3275
|
return false;
|
|
3192
3276
|
return true;
|
|
3193
3277
|
};
|
|
@@ -3201,7 +3285,7 @@
|
|
|
3201
3285
|
// Inline function 'kotlin.arrayOf' call
|
|
3202
3286
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3203
3287
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3204
|
-
tmp.
|
|
3288
|
+
tmp.u1t_1 = [null, null, null, lazy(tmp_0, PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl), null, null, null];
|
|
3205
3289
|
}
|
|
3206
3290
|
var Companion_instance_17;
|
|
3207
3291
|
function Companion_getInstance_20() {
|
|
@@ -3219,38 +3303,38 @@
|
|
|
3219
3303
|
tmp0_serialDesc.ku('ready', true);
|
|
3220
3304
|
tmp0_serialDesc.ku('tag', true);
|
|
3221
3305
|
tmp0_serialDesc.ku('connection', true);
|
|
3222
|
-
this.
|
|
3306
|
+
this.v1t_1 = tmp0_serialDesc;
|
|
3223
3307
|
}
|
|
3224
|
-
protoOf($serializer_8).
|
|
3225
|
-
var tmp0_desc = this.
|
|
3308
|
+
protoOf($serializer_8).w1t = function (encoder, value) {
|
|
3309
|
+
var tmp0_desc = this.v1t_1;
|
|
3226
3310
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
3227
|
-
var tmp2_cached = Companion_getInstance_20().
|
|
3228
|
-
if (tmp1_output.ro(tmp0_desc, 0) ? true : !(value.
|
|
3229
|
-
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
3311
|
+
var tmp2_cached = Companion_getInstance_20().u1t_1;
|
|
3312
|
+
if (tmp1_output.ro(tmp0_desc, 0) ? true : !(value.c1t_1 == null)) {
|
|
3313
|
+
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.c1t_1);
|
|
3230
3314
|
}
|
|
3231
|
-
if (tmp1_output.ro(tmp0_desc, 1) ? true : !(value.
|
|
3232
|
-
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3315
|
+
if (tmp1_output.ro(tmp0_desc, 1) ? true : !(value.d1t_1 == null)) {
|
|
3316
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.d1t_1);
|
|
3233
3317
|
}
|
|
3234
|
-
if (tmp1_output.ro(tmp0_desc, 2) ? true : !(value.
|
|
3235
|
-
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3318
|
+
if (tmp1_output.ro(tmp0_desc, 2) ? true : !(value.e1t_1 == null)) {
|
|
3319
|
+
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.e1t_1);
|
|
3236
3320
|
}
|
|
3237
|
-
tmp1_output.lo(tmp0_desc, 3, tmp2_cached[3].j2(), value.
|
|
3238
|
-
if (tmp1_output.ro(tmp0_desc, 4) ? true : !(value.
|
|
3239
|
-
tmp1_output.no(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3321
|
+
tmp1_output.lo(tmp0_desc, 3, tmp2_cached[3].j2(), value.f1t_1);
|
|
3322
|
+
if (tmp1_output.ro(tmp0_desc, 4) ? true : !(value.g1t_1 == null)) {
|
|
3323
|
+
tmp1_output.no(tmp0_desc, 4, BooleanSerializer_getInstance(), value.g1t_1);
|
|
3240
3324
|
}
|
|
3241
|
-
if (tmp1_output.ro(tmp0_desc, 5) ? true : !(value.
|
|
3242
|
-
tmp1_output.no(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
3325
|
+
if (tmp1_output.ro(tmp0_desc, 5) ? true : !(value.h1t_1 == null)) {
|
|
3326
|
+
tmp1_output.no(tmp0_desc, 5, StringSerializer_getInstance(), value.h1t_1);
|
|
3243
3327
|
}
|
|
3244
|
-
if (tmp1_output.ro(tmp0_desc, 6) ? true : !(value.
|
|
3245
|
-
tmp1_output.no(tmp0_desc, 6, $serializer_getInstance_7(), value.
|
|
3328
|
+
if (tmp1_output.ro(tmp0_desc, 6) ? true : !(value.i1t_1 == null)) {
|
|
3329
|
+
tmp1_output.no(tmp0_desc, 6, $serializer_getInstance_7(), value.i1t_1);
|
|
3246
3330
|
}
|
|
3247
3331
|
tmp1_output.vm(tmp0_desc);
|
|
3248
3332
|
};
|
|
3249
3333
|
protoOf($serializer_8).mj = function (encoder, value) {
|
|
3250
|
-
return this.
|
|
3334
|
+
return this.w1t(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3251
3335
|
};
|
|
3252
3336
|
protoOf($serializer_8).nj = function (decoder) {
|
|
3253
|
-
var tmp0_desc = this.
|
|
3337
|
+
var tmp0_desc = this.v1t_1;
|
|
3254
3338
|
var tmp1_flag = true;
|
|
3255
3339
|
var tmp2_index = 0;
|
|
3256
3340
|
var tmp3_bitMask0 = 0;
|
|
@@ -3262,7 +3346,7 @@
|
|
|
3262
3346
|
var tmp9_local5 = null;
|
|
3263
3347
|
var tmp10_local6 = null;
|
|
3264
3348
|
var tmp11_input = decoder.um(tmp0_desc);
|
|
3265
|
-
var tmp12_cached = Companion_getInstance_20().
|
|
3349
|
+
var tmp12_cached = Companion_getInstance_20().u1t_1;
|
|
3266
3350
|
if (tmp11_input.kn()) {
|
|
3267
3351
|
tmp4_local0 = tmp11_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3268
3352
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3321,10 +3405,10 @@
|
|
|
3321
3405
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3322
3406
|
};
|
|
3323
3407
|
protoOf($serializer_8).lj = function () {
|
|
3324
|
-
return this.
|
|
3408
|
+
return this.v1t_1;
|
|
3325
3409
|
};
|
|
3326
3410
|
protoOf($serializer_8).bv = function () {
|
|
3327
|
-
var tmp0_cached = Companion_getInstance_20().
|
|
3411
|
+
var tmp0_cached = Companion_getInstance_20().u1t_1;
|
|
3328
3412
|
// Inline function 'kotlin.arrayOf' call
|
|
3329
3413
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3330
3414
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3338,33 +3422,33 @@
|
|
|
3338
3422
|
}
|
|
3339
3423
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3340
3424
|
if (!(8 === (8 & seen0))) {
|
|
3341
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3425
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().v1t_1);
|
|
3342
3426
|
}
|
|
3343
3427
|
if (0 === (seen0 & 1))
|
|
3344
|
-
$this.
|
|
3428
|
+
$this.c1t_1 = null;
|
|
3345
3429
|
else
|
|
3346
|
-
$this.
|
|
3430
|
+
$this.c1t_1 = startFrom;
|
|
3347
3431
|
if (0 === (seen0 & 2))
|
|
3348
|
-
$this.
|
|
3432
|
+
$this.d1t_1 = null;
|
|
3349
3433
|
else
|
|
3350
|
-
$this.
|
|
3434
|
+
$this.d1t_1 = playerTurnTimeout;
|
|
3351
3435
|
if (0 === (seen0 & 4))
|
|
3352
|
-
$this.
|
|
3436
|
+
$this.e1t_1 = null;
|
|
3353
3437
|
else
|
|
3354
|
-
$this.
|
|
3355
|
-
$this.
|
|
3438
|
+
$this.e1t_1 = waitPlayerUntilTime;
|
|
3439
|
+
$this.f1t_1 = state;
|
|
3356
3440
|
if (0 === (seen0 & 16))
|
|
3357
|
-
$this.
|
|
3441
|
+
$this.g1t_1 = null;
|
|
3358
3442
|
else
|
|
3359
|
-
$this.
|
|
3443
|
+
$this.g1t_1 = ready;
|
|
3360
3444
|
if (0 === (seen0 & 32))
|
|
3361
|
-
$this.
|
|
3445
|
+
$this.h1t_1 = null;
|
|
3362
3446
|
else
|
|
3363
|
-
$this.
|
|
3447
|
+
$this.h1t_1 = tag;
|
|
3364
3448
|
if (0 === (seen0 & 64))
|
|
3365
|
-
$this.
|
|
3449
|
+
$this.i1t_1 = null;
|
|
3366
3450
|
else
|
|
3367
|
-
$this.
|
|
3451
|
+
$this.i1t_1 = connection;
|
|
3368
3452
|
return $this;
|
|
3369
3453
|
}
|
|
3370
3454
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3378,25 +3462,25 @@
|
|
|
3378
3462
|
ready = ready === VOID ? null : ready;
|
|
3379
3463
|
tag = tag === VOID ? null : tag;
|
|
3380
3464
|
connection = connection === VOID ? null : connection;
|
|
3381
|
-
this.
|
|
3382
|
-
this.
|
|
3383
|
-
this.
|
|
3384
|
-
this.
|
|
3385
|
-
this.
|
|
3386
|
-
this.
|
|
3387
|
-
this.
|
|
3465
|
+
this.c1t_1 = startFrom;
|
|
3466
|
+
this.d1t_1 = playerTurnTimeout;
|
|
3467
|
+
this.e1t_1 = waitPlayerUntilTime;
|
|
3468
|
+
this.f1t_1 = state;
|
|
3469
|
+
this.g1t_1 = ready;
|
|
3470
|
+
this.h1t_1 = tag;
|
|
3471
|
+
this.i1t_1 = connection;
|
|
3388
3472
|
}
|
|
3389
3473
|
protoOf(PlayerStateDto).toString = function () {
|
|
3390
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3474
|
+
return 'PlayerStateDto(startFrom=' + this.c1t_1 + ', playerTurnTimeout=' + this.d1t_1 + ', waitPlayerUntilTime=' + this.e1t_1 + ', state=' + this.f1t_1.toString() + ', ready=' + this.g1t_1 + ', tag=' + this.h1t_1 + ', connection=' + toString(this.i1t_1) + ')';
|
|
3391
3475
|
};
|
|
3392
3476
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3393
|
-
var result = this.
|
|
3394
|
-
result = imul(result, 31) + (this.z1s_1 == null ? 0 : getStringHashCode(this.z1s_1)) | 0;
|
|
3395
|
-
result = imul(result, 31) + (this.a1t_1 == null ? 0 : getStringHashCode(this.a1t_1)) | 0;
|
|
3396
|
-
result = imul(result, 31) + this.b1t_1.hashCode() | 0;
|
|
3397
|
-
result = imul(result, 31) + (this.c1t_1 == null ? 0 : getBooleanHashCode(this.c1t_1)) | 0;
|
|
3477
|
+
var result = this.c1t_1 == null ? 0 : getStringHashCode(this.c1t_1);
|
|
3398
3478
|
result = imul(result, 31) + (this.d1t_1 == null ? 0 : getStringHashCode(this.d1t_1)) | 0;
|
|
3399
|
-
result = imul(result, 31) + (this.e1t_1 == null ? 0 : this.e1t_1
|
|
3479
|
+
result = imul(result, 31) + (this.e1t_1 == null ? 0 : getStringHashCode(this.e1t_1)) | 0;
|
|
3480
|
+
result = imul(result, 31) + this.f1t_1.hashCode() | 0;
|
|
3481
|
+
result = imul(result, 31) + (this.g1t_1 == null ? 0 : getBooleanHashCode(this.g1t_1)) | 0;
|
|
3482
|
+
result = imul(result, 31) + (this.h1t_1 == null ? 0 : getStringHashCode(this.h1t_1)) | 0;
|
|
3483
|
+
result = imul(result, 31) + (this.i1t_1 == null ? 0 : this.i1t_1.hashCode()) | 0;
|
|
3400
3484
|
return result;
|
|
3401
3485
|
};
|
|
3402
3486
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3404,19 +3488,19 @@
|
|
|
3404
3488
|
return true;
|
|
3405
3489
|
if (!(other instanceof PlayerStateDto))
|
|
3406
3490
|
return false;
|
|
3407
|
-
if (!(this.
|
|
3491
|
+
if (!(this.c1t_1 == other.c1t_1))
|
|
3408
3492
|
return false;
|
|
3409
|
-
if (!(this.
|
|
3493
|
+
if (!(this.d1t_1 == other.d1t_1))
|
|
3410
3494
|
return false;
|
|
3411
|
-
if (!(this.
|
|
3495
|
+
if (!(this.e1t_1 == other.e1t_1))
|
|
3412
3496
|
return false;
|
|
3413
|
-
if (!this.
|
|
3497
|
+
if (!this.f1t_1.equals(other.f1t_1))
|
|
3414
3498
|
return false;
|
|
3415
|
-
if (!(this.
|
|
3499
|
+
if (!(this.g1t_1 == other.g1t_1))
|
|
3416
3500
|
return false;
|
|
3417
|
-
if (!(this.
|
|
3501
|
+
if (!(this.h1t_1 == other.h1t_1))
|
|
3418
3502
|
return false;
|
|
3419
|
-
if (!equals(this.
|
|
3503
|
+
if (!equals(this.i1t_1, other.i1t_1))
|
|
3420
3504
|
return false;
|
|
3421
3505
|
return true;
|
|
3422
3506
|
};
|
|
@@ -3440,7 +3524,7 @@
|
|
|
3440
3524
|
// Inline function 'kotlin.arrayOf' call
|
|
3441
3525
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3442
3526
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3443
|
-
tmp.
|
|
3527
|
+
tmp.x1t_1 = [null, null, null, null, null, null, null, null, tmp_1, tmp_3, null, null, null, lazy(tmp_4, RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_1), null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3444
3528
|
}
|
|
3445
3529
|
var Companion_instance_18;
|
|
3446
3530
|
function Companion_getInstance_21() {
|
|
@@ -3477,45 +3561,45 @@
|
|
|
3477
3561
|
tmp0_serialDesc.ku('fineIfNoBribes', false);
|
|
3478
3562
|
tmp0_serialDesc.ku('enableFineAfterThirdByte', false);
|
|
3479
3563
|
tmp0_serialDesc.ku('fineAfterThirdFailedContract', false);
|
|
3480
|
-
this.
|
|
3564
|
+
this.y1t_1 = tmp0_serialDesc;
|
|
3481
3565
|
}
|
|
3482
|
-
protoOf($serializer_9).
|
|
3483
|
-
var tmp0_desc = this.
|
|
3566
|
+
protoOf($serializer_9).z1t = function (encoder, value) {
|
|
3567
|
+
var tmp0_desc = this.y1t_1;
|
|
3484
3568
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
3485
|
-
var tmp2_cached = Companion_getInstance_21().
|
|
3486
|
-
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
3487
|
-
tmp1_output.no(tmp0_desc, 1, BooleanSerializer_getInstance(), value.
|
|
3488
|
-
tmp1_output.no(tmp0_desc, 2, BooleanSerializer_getInstance(), value.
|
|
3489
|
-
tmp1_output.no(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3490
|
-
tmp1_output.no(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3491
|
-
tmp1_output.no(tmp0_desc, 5, IntSerializer_getInstance(), value.
|
|
3492
|
-
tmp1_output.no(tmp0_desc, 6, IntSerializer_getInstance(), value.
|
|
3493
|
-
tmp1_output.no(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
3494
|
-
tmp1_output.no(tmp0_desc, 8, tmp2_cached[8].j2(), value.
|
|
3495
|
-
tmp1_output.no(tmp0_desc, 9, tmp2_cached[9].j2(), value.
|
|
3496
|
-
tmp1_output.no(tmp0_desc, 10, BooleanSerializer_getInstance(), value.
|
|
3497
|
-
tmp1_output.no(tmp0_desc, 11, StringSerializer_getInstance(), value.
|
|
3498
|
-
tmp1_output.no(tmp0_desc, 12, StringSerializer_getInstance(), value.
|
|
3499
|
-
tmp1_output.no(tmp0_desc, 13, tmp2_cached[13].j2(), value.
|
|
3500
|
-
tmp1_output.no(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
3501
|
-
tmp1_output.no(tmp0_desc, 15, BooleanSerializer_getInstance(), value.
|
|
3502
|
-
tmp1_output.no(tmp0_desc, 16, BooleanSerializer_getInstance(), value.
|
|
3503
|
-
tmp1_output.no(tmp0_desc, 17, BooleanSerializer_getInstance(), value.
|
|
3504
|
-
tmp1_output.no(tmp0_desc, 18, BooleanSerializer_getInstance(), value.
|
|
3505
|
-
tmp1_output.no(tmp0_desc, 19, BooleanSerializer_getInstance(), value.
|
|
3506
|
-
tmp1_output.no(tmp0_desc, 20, BooleanSerializer_getInstance(), value.
|
|
3507
|
-
tmp1_output.jo(tmp0_desc, 21, value.
|
|
3508
|
-
tmp1_output.no(tmp0_desc, 22, BooleanSerializer_getInstance(), value.
|
|
3509
|
-
tmp1_output.no(tmp0_desc, 23, IntSerializer_getInstance(), value.
|
|
3510
|
-
tmp1_output.no(tmp0_desc, 24, BooleanSerializer_getInstance(), value.
|
|
3511
|
-
tmp1_output.no(tmp0_desc, 25, IntSerializer_getInstance(), value.
|
|
3569
|
+
var tmp2_cached = Companion_getInstance_21().x1t_1;
|
|
3570
|
+
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.a1u_1);
|
|
3571
|
+
tmp1_output.no(tmp0_desc, 1, BooleanSerializer_getInstance(), value.b1u_1);
|
|
3572
|
+
tmp1_output.no(tmp0_desc, 2, BooleanSerializer_getInstance(), value.c1u_1);
|
|
3573
|
+
tmp1_output.no(tmp0_desc, 3, BooleanSerializer_getInstance(), value.d1u_1);
|
|
3574
|
+
tmp1_output.no(tmp0_desc, 4, BooleanSerializer_getInstance(), value.e1u_1);
|
|
3575
|
+
tmp1_output.no(tmp0_desc, 5, IntSerializer_getInstance(), value.f1u_1);
|
|
3576
|
+
tmp1_output.no(tmp0_desc, 6, IntSerializer_getInstance(), value.g1u_1);
|
|
3577
|
+
tmp1_output.no(tmp0_desc, 7, BooleanSerializer_getInstance(), value.h1u_1);
|
|
3578
|
+
tmp1_output.no(tmp0_desc, 8, tmp2_cached[8].j2(), value.i1u_1);
|
|
3579
|
+
tmp1_output.no(tmp0_desc, 9, tmp2_cached[9].j2(), value.j1u_1);
|
|
3580
|
+
tmp1_output.no(tmp0_desc, 10, BooleanSerializer_getInstance(), value.k1u_1);
|
|
3581
|
+
tmp1_output.no(tmp0_desc, 11, StringSerializer_getInstance(), value.l1u_1);
|
|
3582
|
+
tmp1_output.no(tmp0_desc, 12, StringSerializer_getInstance(), value.m1u_1);
|
|
3583
|
+
tmp1_output.no(tmp0_desc, 13, tmp2_cached[13].j2(), value.n1u_1);
|
|
3584
|
+
tmp1_output.no(tmp0_desc, 14, BooleanSerializer_getInstance(), value.o1u_1);
|
|
3585
|
+
tmp1_output.no(tmp0_desc, 15, BooleanSerializer_getInstance(), value.p1u_1);
|
|
3586
|
+
tmp1_output.no(tmp0_desc, 16, BooleanSerializer_getInstance(), value.q1u_1);
|
|
3587
|
+
tmp1_output.no(tmp0_desc, 17, BooleanSerializer_getInstance(), value.r1u_1);
|
|
3588
|
+
tmp1_output.no(tmp0_desc, 18, BooleanSerializer_getInstance(), value.s1u_1);
|
|
3589
|
+
tmp1_output.no(tmp0_desc, 19, BooleanSerializer_getInstance(), value.t1u_1);
|
|
3590
|
+
tmp1_output.no(tmp0_desc, 20, BooleanSerializer_getInstance(), value.u1u_1);
|
|
3591
|
+
tmp1_output.jo(tmp0_desc, 21, value.v1u_1);
|
|
3592
|
+
tmp1_output.no(tmp0_desc, 22, BooleanSerializer_getInstance(), value.w1u_1);
|
|
3593
|
+
tmp1_output.no(tmp0_desc, 23, IntSerializer_getInstance(), value.x1u_1);
|
|
3594
|
+
tmp1_output.no(tmp0_desc, 24, BooleanSerializer_getInstance(), value.y1u_1);
|
|
3595
|
+
tmp1_output.no(tmp0_desc, 25, IntSerializer_getInstance(), value.z1u_1);
|
|
3512
3596
|
tmp1_output.vm(tmp0_desc);
|
|
3513
3597
|
};
|
|
3514
3598
|
protoOf($serializer_9).mj = function (encoder, value) {
|
|
3515
|
-
return this.
|
|
3599
|
+
return this.z1t(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3516
3600
|
};
|
|
3517
3601
|
protoOf($serializer_9).nj = function (decoder) {
|
|
3518
|
-
var tmp0_desc = this.
|
|
3602
|
+
var tmp0_desc = this.y1t_1;
|
|
3519
3603
|
var tmp1_flag = true;
|
|
3520
3604
|
var tmp2_index = 0;
|
|
3521
3605
|
var tmp3_bitMask0 = 0;
|
|
@@ -3546,7 +3630,7 @@
|
|
|
3546
3630
|
var tmp28_local24 = null;
|
|
3547
3631
|
var tmp29_local25 = null;
|
|
3548
3632
|
var tmp30_input = decoder.um(tmp0_desc);
|
|
3549
|
-
var tmp31_cached = Companion_getInstance_21().
|
|
3633
|
+
var tmp31_cached = Companion_getInstance_21().x1t_1;
|
|
3550
3634
|
if (tmp30_input.kn()) {
|
|
3551
3635
|
tmp4_local0 = tmp30_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3552
3636
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3719,10 +3803,10 @@
|
|
|
3719
3803
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, tmp28_local24, tmp29_local25, null);
|
|
3720
3804
|
};
|
|
3721
3805
|
protoOf($serializer_9).lj = function () {
|
|
3722
|
-
return this.
|
|
3806
|
+
return this.y1t_1;
|
|
3723
3807
|
};
|
|
3724
3808
|
protoOf($serializer_9).bv = function () {
|
|
3725
|
-
var tmp0_cached = Companion_getInstance_21().
|
|
3809
|
+
var tmp0_cached = Companion_getInstance_21().x1t_1;
|
|
3726
3810
|
// Inline function 'kotlin.arrayOf' call
|
|
3727
3811
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3728
3812
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3736,34 +3820,34 @@
|
|
|
3736
3820
|
}
|
|
3737
3821
|
function RulesDto_init_$Init$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3738
3822
|
if (!(67108863 === (67108863 & seen0))) {
|
|
3739
|
-
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().
|
|
3823
|
+
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().y1t_1);
|
|
3740
3824
|
}
|
|
3741
|
-
$this.
|
|
3742
|
-
$this.
|
|
3743
|
-
$this.
|
|
3744
|
-
$this.
|
|
3745
|
-
$this.
|
|
3746
|
-
$this.
|
|
3747
|
-
$this.
|
|
3748
|
-
$this.
|
|
3749
|
-
$this.
|
|
3750
|
-
$this.
|
|
3751
|
-
$this.
|
|
3752
|
-
$this.
|
|
3753
|
-
$this.
|
|
3754
|
-
$this.
|
|
3755
|
-
$this.
|
|
3756
|
-
$this.
|
|
3757
|
-
$this.
|
|
3758
|
-
$this.
|
|
3759
|
-
$this.
|
|
3760
|
-
$this.
|
|
3761
|
-
$this.
|
|
3762
|
-
$this.
|
|
3763
|
-
$this.
|
|
3764
|
-
$this.
|
|
3765
|
-
$this.
|
|
3766
|
-
$this.
|
|
3825
|
+
$this.a1u_1 = name;
|
|
3826
|
+
$this.b1u_1 = playerWhoChooseSuitGoFirst;
|
|
3827
|
+
$this.c1u_1 = winnerShuffleCards;
|
|
3828
|
+
$this.d1u_1 = playWithoutLiabilities;
|
|
3829
|
+
$this.e1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3830
|
+
$this.f1u_1 = dealerInitialCardsCount;
|
|
3831
|
+
$this.g1u_1 = dealerFinalCardsCount;
|
|
3832
|
+
$this.h1u_1 = dealerCounterClockwise;
|
|
3833
|
+
$this.i1u_1 = contractTypes;
|
|
3834
|
+
$this.j1u_1 = bidTypes;
|
|
3835
|
+
$this.k1u_1 = needToPutHigherTrump;
|
|
3836
|
+
$this.l1u_1 = trumpCardStepMode;
|
|
3837
|
+
$this.m1u_1 = trumpCardStepPartnerMode;
|
|
3838
|
+
$this.n1u_1 = combinationsWithFirstCard;
|
|
3839
|
+
$this.o1u_1 = protectBella;
|
|
3840
|
+
$this.p1u_1 = oneTryToProtectBella;
|
|
3841
|
+
$this.q1u_1 = enableFourSevensCombination;
|
|
3842
|
+
$this.r1u_1 = enableTrumpSevenCombination;
|
|
3843
|
+
$this.s1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3844
|
+
$this.t1u_1 = checkTrumpCombination;
|
|
3845
|
+
$this.u1u_1 = checkOnlyTrumpDebertz;
|
|
3846
|
+
$this.v1u_1 = pointsDistributeMode;
|
|
3847
|
+
$this.w1u_1 = enableFineIfNoBribes;
|
|
3848
|
+
$this.x1u_1 = fineIfNoBribes;
|
|
3849
|
+
$this.y1u_1 = enableFineAfterThirdByte;
|
|
3850
|
+
$this.z1u_1 = fineAfterThirdFailedContract;
|
|
3767
3851
|
return $this;
|
|
3768
3852
|
}
|
|
3769
3853
|
function RulesDto_init_$Create$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
@@ -3771,63 +3855,63 @@
|
|
|
3771
3855
|
}
|
|
3772
3856
|
function RulesDto(name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3773
3857
|
Companion_getInstance_21();
|
|
3774
|
-
this.
|
|
3775
|
-
this.
|
|
3776
|
-
this.
|
|
3777
|
-
this.
|
|
3778
|
-
this.
|
|
3779
|
-
this.
|
|
3780
|
-
this.
|
|
3781
|
-
this.
|
|
3782
|
-
this.
|
|
3783
|
-
this.
|
|
3784
|
-
this.
|
|
3785
|
-
this.
|
|
3786
|
-
this.
|
|
3787
|
-
this.
|
|
3788
|
-
this.
|
|
3789
|
-
this.
|
|
3790
|
-
this.
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3795
|
-
this.
|
|
3796
|
-
this.
|
|
3797
|
-
this.
|
|
3798
|
-
this.
|
|
3799
|
-
this.
|
|
3858
|
+
this.a1u_1 = name;
|
|
3859
|
+
this.b1u_1 = playerWhoChooseSuitGoFirst;
|
|
3860
|
+
this.c1u_1 = winnerShuffleCards;
|
|
3861
|
+
this.d1u_1 = playWithoutLiabilities;
|
|
3862
|
+
this.e1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3863
|
+
this.f1u_1 = dealerInitialCardsCount;
|
|
3864
|
+
this.g1u_1 = dealerFinalCardsCount;
|
|
3865
|
+
this.h1u_1 = dealerCounterClockwise;
|
|
3866
|
+
this.i1u_1 = contractTypes;
|
|
3867
|
+
this.j1u_1 = bidTypes;
|
|
3868
|
+
this.k1u_1 = needToPutHigherTrump;
|
|
3869
|
+
this.l1u_1 = trumpCardStepMode;
|
|
3870
|
+
this.m1u_1 = trumpCardStepPartnerMode;
|
|
3871
|
+
this.n1u_1 = combinationsWithFirstCard;
|
|
3872
|
+
this.o1u_1 = protectBella;
|
|
3873
|
+
this.p1u_1 = oneTryToProtectBella;
|
|
3874
|
+
this.q1u_1 = enableFourSevensCombination;
|
|
3875
|
+
this.r1u_1 = enableTrumpSevenCombination;
|
|
3876
|
+
this.s1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3877
|
+
this.t1u_1 = checkTrumpCombination;
|
|
3878
|
+
this.u1u_1 = checkOnlyTrumpDebertz;
|
|
3879
|
+
this.v1u_1 = pointsDistributeMode;
|
|
3880
|
+
this.w1u_1 = enableFineIfNoBribes;
|
|
3881
|
+
this.x1u_1 = fineIfNoBribes;
|
|
3882
|
+
this.y1u_1 = enableFineAfterThirdByte;
|
|
3883
|
+
this.z1u_1 = fineAfterThirdFailedContract;
|
|
3800
3884
|
}
|
|
3801
3885
|
protoOf(RulesDto).toString = function () {
|
|
3802
|
-
return 'RulesDto(name=' + this.
|
|
3886
|
+
return 'RulesDto(name=' + this.a1u_1 + ', playerWhoChooseSuitGoFirst=' + this.b1u_1 + ', winnerShuffleCards=' + this.c1u_1 + ', playWithoutLiabilities=' + this.d1u_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.e1u_1 + ', dealerInitialCardsCount=' + this.f1u_1 + ', dealerFinalCardsCount=' + this.g1u_1 + ', dealerCounterClockwise=' + this.h1u_1 + ', contractTypes=' + toString(this.i1u_1) + ', bidTypes=' + toString(this.j1u_1) + ', needToPutHigherTrump=' + this.k1u_1 + ', trumpCardStepMode=' + this.l1u_1 + ', trumpCardStepPartnerMode=' + this.m1u_1 + ', combinationsWithFirstCard=' + toString(this.n1u_1) + ', protectBella=' + this.o1u_1 + ', oneTryToProtectBella=' + this.p1u_1 + ', enableFourSevensCombination=' + this.q1u_1 + ', enableTrumpSevenCombination=' + this.r1u_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.s1u_1 + ', checkTrumpCombination=' + this.t1u_1 + ', checkOnlyTrumpDebertz=' + this.u1u_1 + ', pointsDistributeMode=' + this.v1u_1 + ', enableFineIfNoBribes=' + this.w1u_1 + ', fineIfNoBribes=' + this.x1u_1 + ', enableFineAfterThirdByte=' + this.y1u_1 + ', fineAfterThirdFailedContract=' + this.z1u_1 + ')';
|
|
3803
3887
|
};
|
|
3804
3888
|
protoOf(RulesDto).hashCode = function () {
|
|
3805
|
-
var result = this.
|
|
3806
|
-
result = imul(result, 31) + (this.
|
|
3807
|
-
result = imul(result, 31) + (this.
|
|
3808
|
-
result = imul(result, 31) + (this.z1t_1 == null ? 0 : getBooleanHashCode(this.z1t_1)) | 0;
|
|
3809
|
-
result = imul(result, 31) + (this.a1u_1 == null ? 0 : getBooleanHashCode(this.a1u_1)) | 0;
|
|
3810
|
-
result = imul(result, 31) + (this.b1u_1 == null ? 0 : this.b1u_1) | 0;
|
|
3811
|
-
result = imul(result, 31) + (this.c1u_1 == null ? 0 : this.c1u_1) | 0;
|
|
3889
|
+
var result = this.a1u_1 == null ? 0 : getStringHashCode(this.a1u_1);
|
|
3890
|
+
result = imul(result, 31) + (this.b1u_1 == null ? 0 : getBooleanHashCode(this.b1u_1)) | 0;
|
|
3891
|
+
result = imul(result, 31) + (this.c1u_1 == null ? 0 : getBooleanHashCode(this.c1u_1)) | 0;
|
|
3812
3892
|
result = imul(result, 31) + (this.d1u_1 == null ? 0 : getBooleanHashCode(this.d1u_1)) | 0;
|
|
3813
|
-
result = imul(result, 31) + (this.e1u_1 == null ? 0 :
|
|
3814
|
-
result = imul(result, 31) + (this.f1u_1 == null ? 0 :
|
|
3815
|
-
result = imul(result, 31) + (this.g1u_1 == null ? 0 :
|
|
3816
|
-
result = imul(result, 31) + (this.h1u_1 == null ? 0 :
|
|
3817
|
-
result = imul(result, 31) + (this.i1u_1 == null ? 0 :
|
|
3893
|
+
result = imul(result, 31) + (this.e1u_1 == null ? 0 : getBooleanHashCode(this.e1u_1)) | 0;
|
|
3894
|
+
result = imul(result, 31) + (this.f1u_1 == null ? 0 : this.f1u_1) | 0;
|
|
3895
|
+
result = imul(result, 31) + (this.g1u_1 == null ? 0 : this.g1u_1) | 0;
|
|
3896
|
+
result = imul(result, 31) + (this.h1u_1 == null ? 0 : getBooleanHashCode(this.h1u_1)) | 0;
|
|
3897
|
+
result = imul(result, 31) + (this.i1u_1 == null ? 0 : hashCode(this.i1u_1)) | 0;
|
|
3818
3898
|
result = imul(result, 31) + (this.j1u_1 == null ? 0 : hashCode(this.j1u_1)) | 0;
|
|
3819
3899
|
result = imul(result, 31) + (this.k1u_1 == null ? 0 : getBooleanHashCode(this.k1u_1)) | 0;
|
|
3820
|
-
result = imul(result, 31) + (this.l1u_1 == null ? 0 :
|
|
3821
|
-
result = imul(result, 31) + (this.m1u_1 == null ? 0 :
|
|
3822
|
-
result = imul(result, 31) + (this.n1u_1 == null ? 0 :
|
|
3900
|
+
result = imul(result, 31) + (this.l1u_1 == null ? 0 : getStringHashCode(this.l1u_1)) | 0;
|
|
3901
|
+
result = imul(result, 31) + (this.m1u_1 == null ? 0 : getStringHashCode(this.m1u_1)) | 0;
|
|
3902
|
+
result = imul(result, 31) + (this.n1u_1 == null ? 0 : hashCode(this.n1u_1)) | 0;
|
|
3823
3903
|
result = imul(result, 31) + (this.o1u_1 == null ? 0 : getBooleanHashCode(this.o1u_1)) | 0;
|
|
3824
3904
|
result = imul(result, 31) + (this.p1u_1 == null ? 0 : getBooleanHashCode(this.p1u_1)) | 0;
|
|
3825
3905
|
result = imul(result, 31) + (this.q1u_1 == null ? 0 : getBooleanHashCode(this.q1u_1)) | 0;
|
|
3826
|
-
result = imul(result, 31) +
|
|
3906
|
+
result = imul(result, 31) + (this.r1u_1 == null ? 0 : getBooleanHashCode(this.r1u_1)) | 0;
|
|
3827
3907
|
result = imul(result, 31) + (this.s1u_1 == null ? 0 : getBooleanHashCode(this.s1u_1)) | 0;
|
|
3828
|
-
result = imul(result, 31) + (this.t1u_1 == null ? 0 : this.t1u_1) | 0;
|
|
3908
|
+
result = imul(result, 31) + (this.t1u_1 == null ? 0 : getBooleanHashCode(this.t1u_1)) | 0;
|
|
3829
3909
|
result = imul(result, 31) + (this.u1u_1 == null ? 0 : getBooleanHashCode(this.u1u_1)) | 0;
|
|
3830
|
-
result = imul(result, 31) + (this.v1u_1
|
|
3910
|
+
result = imul(result, 31) + getStringHashCode(this.v1u_1) | 0;
|
|
3911
|
+
result = imul(result, 31) + (this.w1u_1 == null ? 0 : getBooleanHashCode(this.w1u_1)) | 0;
|
|
3912
|
+
result = imul(result, 31) + (this.x1u_1 == null ? 0 : this.x1u_1) | 0;
|
|
3913
|
+
result = imul(result, 31) + (this.y1u_1 == null ? 0 : getBooleanHashCode(this.y1u_1)) | 0;
|
|
3914
|
+
result = imul(result, 31) + (this.z1u_1 == null ? 0 : this.z1u_1) | 0;
|
|
3831
3915
|
return result;
|
|
3832
3916
|
};
|
|
3833
3917
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3835,14 +3919,6 @@
|
|
|
3835
3919
|
return true;
|
|
3836
3920
|
if (!(other instanceof RulesDto))
|
|
3837
3921
|
return false;
|
|
3838
|
-
if (!(this.w1t_1 == other.w1t_1))
|
|
3839
|
-
return false;
|
|
3840
|
-
if (!(this.x1t_1 == other.x1t_1))
|
|
3841
|
-
return false;
|
|
3842
|
-
if (!(this.y1t_1 == other.y1t_1))
|
|
3843
|
-
return false;
|
|
3844
|
-
if (!(this.z1t_1 == other.z1t_1))
|
|
3845
|
-
return false;
|
|
3846
3922
|
if (!(this.a1u_1 == other.a1u_1))
|
|
3847
3923
|
return false;
|
|
3848
3924
|
if (!(this.b1u_1 == other.b1u_1))
|
|
@@ -3851,15 +3927,15 @@
|
|
|
3851
3927
|
return false;
|
|
3852
3928
|
if (!(this.d1u_1 == other.d1u_1))
|
|
3853
3929
|
return false;
|
|
3854
|
-
if (!
|
|
3930
|
+
if (!(this.e1u_1 == other.e1u_1))
|
|
3855
3931
|
return false;
|
|
3856
|
-
if (!
|
|
3932
|
+
if (!(this.f1u_1 == other.f1u_1))
|
|
3857
3933
|
return false;
|
|
3858
3934
|
if (!(this.g1u_1 == other.g1u_1))
|
|
3859
3935
|
return false;
|
|
3860
3936
|
if (!(this.h1u_1 == other.h1u_1))
|
|
3861
3937
|
return false;
|
|
3862
|
-
if (!(this.i1u_1
|
|
3938
|
+
if (!equals(this.i1u_1, other.i1u_1))
|
|
3863
3939
|
return false;
|
|
3864
3940
|
if (!equals(this.j1u_1, other.j1u_1))
|
|
3865
3941
|
return false;
|
|
@@ -3869,7 +3945,7 @@
|
|
|
3869
3945
|
return false;
|
|
3870
3946
|
if (!(this.m1u_1 == other.m1u_1))
|
|
3871
3947
|
return false;
|
|
3872
|
-
if (!(this.n1u_1
|
|
3948
|
+
if (!equals(this.n1u_1, other.n1u_1))
|
|
3873
3949
|
return false;
|
|
3874
3950
|
if (!(this.o1u_1 == other.o1u_1))
|
|
3875
3951
|
return false;
|
|
@@ -3877,7 +3953,7 @@
|
|
|
3877
3953
|
return false;
|
|
3878
3954
|
if (!(this.q1u_1 == other.q1u_1))
|
|
3879
3955
|
return false;
|
|
3880
|
-
if (!(this.r1u_1
|
|
3956
|
+
if (!(this.r1u_1 == other.r1u_1))
|
|
3881
3957
|
return false;
|
|
3882
3958
|
if (!(this.s1u_1 == other.s1u_1))
|
|
3883
3959
|
return false;
|
|
@@ -3885,7 +3961,15 @@
|
|
|
3885
3961
|
return false;
|
|
3886
3962
|
if (!(this.u1u_1 == other.u1u_1))
|
|
3887
3963
|
return false;
|
|
3888
|
-
if (!(this.v1u_1
|
|
3964
|
+
if (!(this.v1u_1 === other.v1u_1))
|
|
3965
|
+
return false;
|
|
3966
|
+
if (!(this.w1u_1 == other.w1u_1))
|
|
3967
|
+
return false;
|
|
3968
|
+
if (!(this.x1u_1 == other.x1u_1))
|
|
3969
|
+
return false;
|
|
3970
|
+
if (!(this.y1u_1 == other.y1u_1))
|
|
3971
|
+
return false;
|
|
3972
|
+
if (!(this.z1u_1 == other.z1u_1))
|
|
3889
3973
|
return false;
|
|
3890
3974
|
return true;
|
|
3891
3975
|
};
|
|
@@ -4038,8 +4122,8 @@
|
|
|
4038
4122
|
}
|
|
4039
4123
|
return tmp;
|
|
4040
4124
|
}
|
|
4041
|
-
function _get_$
|
|
4042
|
-
return $this.
|
|
4125
|
+
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
4126
|
+
return $this.k1v_1.j2();
|
|
4043
4127
|
}
|
|
4044
4128
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
4045
4129
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -4079,10 +4163,10 @@
|
|
|
4079
4163
|
Companion_instance_19 = this;
|
|
4080
4164
|
var tmp = this;
|
|
4081
4165
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4082
|
-
tmp.
|
|
4166
|
+
tmp.k1v_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
4083
4167
|
}
|
|
4084
4168
|
protoOf(Companion_19).n17 = function () {
|
|
4085
|
-
return _get_$
|
|
4169
|
+
return _get_$cachedSerializer__te6jhj_9(this);
|
|
4086
4170
|
};
|
|
4087
4171
|
protoOf(Companion_19).mv = function (typeParamsSerializers) {
|
|
4088
4172
|
return this.n17();
|
|
@@ -4142,7 +4226,7 @@
|
|
|
4142
4226
|
// Inline function 'kotlin.arrayOf' call
|
|
4143
4227
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4144
4228
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4145
|
-
tmp.
|
|
4229
|
+
tmp.q1v_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
|
|
4146
4230
|
}
|
|
4147
4231
|
var Companion_instance_20;
|
|
4148
4232
|
function Companion_getInstance_23() {
|
|
@@ -4158,12 +4242,12 @@
|
|
|
4158
4242
|
tmp0_serialDesc.ku('tag', false);
|
|
4159
4243
|
tmp0_serialDesc.ku('message', false);
|
|
4160
4244
|
tmp0_serialDesc.ku('stackTrace', false);
|
|
4161
|
-
this.
|
|
4245
|
+
this.r1v_1 = tmp0_serialDesc;
|
|
4162
4246
|
}
|
|
4163
|
-
protoOf($serializer_10).
|
|
4164
|
-
var tmp0_desc = this.
|
|
4247
|
+
protoOf($serializer_10).s1v = function (encoder, value) {
|
|
4248
|
+
var tmp0_desc = this.r1v_1;
|
|
4165
4249
|
var tmp1_output = encoder.um(tmp0_desc);
|
|
4166
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
4250
|
+
var tmp2_cached = Companion_getInstance_23().q1v_1;
|
|
4167
4251
|
tmp1_output.lo(tmp0_desc, 0, tmp2_cached[0].j2(), value.type);
|
|
4168
4252
|
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
4169
4253
|
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
@@ -4172,10 +4256,10 @@
|
|
|
4172
4256
|
tmp1_output.vm(tmp0_desc);
|
|
4173
4257
|
};
|
|
4174
4258
|
protoOf($serializer_10).mj = function (encoder, value) {
|
|
4175
|
-
return this.
|
|
4259
|
+
return this.s1v(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
4176
4260
|
};
|
|
4177
4261
|
protoOf($serializer_10).nj = function (decoder) {
|
|
4178
|
-
var tmp0_desc = this.
|
|
4262
|
+
var tmp0_desc = this.r1v_1;
|
|
4179
4263
|
var tmp1_flag = true;
|
|
4180
4264
|
var tmp2_index = 0;
|
|
4181
4265
|
var tmp3_bitMask0 = 0;
|
|
@@ -4185,7 +4269,7 @@
|
|
|
4185
4269
|
var tmp7_local3 = null;
|
|
4186
4270
|
var tmp8_local4 = null;
|
|
4187
4271
|
var tmp9_input = decoder.um(tmp0_desc);
|
|
4188
|
-
var tmp10_cached = Companion_getInstance_23().
|
|
4272
|
+
var tmp10_cached = Companion_getInstance_23().q1v_1;
|
|
4189
4273
|
if (tmp9_input.kn()) {
|
|
4190
4274
|
tmp4_local0 = tmp9_input.gn(tmp0_desc, 0, tmp10_cached[0].j2(), tmp4_local0);
|
|
4191
4275
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -4232,13 +4316,13 @@
|
|
|
4232
4316
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4233
4317
|
};
|
|
4234
4318
|
protoOf($serializer_10).lj = function () {
|
|
4235
|
-
return this.
|
|
4319
|
+
return this.r1v_1;
|
|
4236
4320
|
};
|
|
4237
4321
|
protoOf($serializer_10).bv = function () {
|
|
4238
4322
|
// Inline function 'kotlin.arrayOf' call
|
|
4239
4323
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4240
4324
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4241
|
-
return [Companion_getInstance_23().
|
|
4325
|
+
return [Companion_getInstance_23().q1v_1[0].j2(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4242
4326
|
};
|
|
4243
4327
|
var $serializer_instance_10;
|
|
4244
4328
|
function $serializer_getInstance_10() {
|
|
@@ -4248,7 +4332,7 @@
|
|
|
4248
4332
|
}
|
|
4249
4333
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4250
4334
|
if (!(31 === (31 & seen0))) {
|
|
4251
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4335
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().r1v_1);
|
|
4252
4336
|
}
|
|
4253
4337
|
$this.type = type;
|
|
4254
4338
|
$this.key = key;
|
|
@@ -4268,19 +4352,19 @@
|
|
|
4268
4352
|
this.message = message;
|
|
4269
4353
|
this.stackTrace = stackTrace;
|
|
4270
4354
|
}
|
|
4271
|
-
protoOf(LoggerOutputDataDto).
|
|
4355
|
+
protoOf(LoggerOutputDataDto).t1v = function () {
|
|
4272
4356
|
return this.type;
|
|
4273
4357
|
};
|
|
4274
4358
|
protoOf(LoggerOutputDataDto).i2 = function () {
|
|
4275
4359
|
return this.key;
|
|
4276
4360
|
};
|
|
4277
|
-
protoOf(LoggerOutputDataDto).
|
|
4361
|
+
protoOf(LoggerOutputDataDto).j1p = function () {
|
|
4278
4362
|
return this.tag;
|
|
4279
4363
|
};
|
|
4280
4364
|
protoOf(LoggerOutputDataDto).e = function () {
|
|
4281
4365
|
return this.message;
|
|
4282
4366
|
};
|
|
4283
|
-
protoOf(LoggerOutputDataDto).
|
|
4367
|
+
protoOf(LoggerOutputDataDto).u1v = function () {
|
|
4284
4368
|
return this.stackTrace;
|
|
4285
4369
|
};
|
|
4286
4370
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -4334,10 +4418,10 @@
|
|
|
4334
4418
|
protoOf(LoggerOutputDataDto).e16 = function () {
|
|
4335
4419
|
return this.message;
|
|
4336
4420
|
};
|
|
4337
|
-
protoOf(LoggerOutputDataDto).
|
|
4421
|
+
protoOf(LoggerOutputDataDto).d1p = function () {
|
|
4338
4422
|
return this.stackTrace;
|
|
4339
4423
|
};
|
|
4340
|
-
protoOf(LoggerOutputDataDto).
|
|
4424
|
+
protoOf(LoggerOutputDataDto).v1v = function (type, key, tag, message, stackTrace) {
|
|
4341
4425
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4342
4426
|
};
|
|
4343
4427
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4346,7 +4430,7 @@
|
|
|
4346
4430
|
tag = tag === VOID ? this.tag : tag;
|
|
4347
4431
|
message = message === VOID ? this.message : message;
|
|
4348
4432
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4349
|
-
return $super === VOID ? this.
|
|
4433
|
+
return $super === VOID ? this.v1v(type, key, tag, message, stackTrace) : $super.v1v.call(this, type, key, tag, message, stackTrace);
|
|
4350
4434
|
};
|
|
4351
4435
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4352
4436
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4402,40 +4486,40 @@
|
|
|
4402
4486
|
//region block: post-declaration
|
|
4403
4487
|
protoOf($serializer).cv = typeParametersSerializers;
|
|
4404
4488
|
protoOf($serializer_0).cv = typeParametersSerializers;
|
|
4405
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
4489
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).c1p);
|
|
4406
4490
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4407
|
-
return this.
|
|
4491
|
+
return this.i1p();
|
|
4408
4492
|
});
|
|
4409
4493
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4410
|
-
return this.
|
|
4494
|
+
return this.i1p();
|
|
4411
4495
|
});
|
|
4412
4496
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4413
|
-
return this.
|
|
4497
|
+
return this.i1p();
|
|
4414
4498
|
});
|
|
4415
4499
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).m);
|
|
4416
4500
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).y2);
|
|
4417
4501
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).m);
|
|
4418
4502
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).y2);
|
|
4419
4503
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4420
|
-
return this.
|
|
4504
|
+
return this.i1p();
|
|
4421
4505
|
});
|
|
4422
4506
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4423
|
-
return this.
|
|
4507
|
+
return this.i1p();
|
|
4424
4508
|
});
|
|
4425
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4426
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4427
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4428
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4429
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).
|
|
4430
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4431
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4432
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4433
|
-
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).
|
|
4434
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).
|
|
4435
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).
|
|
4436
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4437
|
-
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).
|
|
4438
|
-
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).
|
|
4509
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).e1r);
|
|
4510
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).f1r);
|
|
4511
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).g1r);
|
|
4512
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).h1r);
|
|
4513
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).i1r);
|
|
4514
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).j1r);
|
|
4515
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).k1r);
|
|
4516
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).l1r);
|
|
4517
|
+
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).m1r);
|
|
4518
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).n1r);
|
|
4519
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).o1r);
|
|
4520
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).p1r);
|
|
4521
|
+
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).q1r);
|
|
4522
|
+
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).r1r);
|
|
4439
4523
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).m);
|
|
4440
4524
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).y2);
|
|
4441
4525
|
defineProp(protoOf(Team), 'first', protoOf(Team).oh);
|