raspberry_games_engine_helpers 1.8.431 → 1.8.432
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 +499 -499
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1500 -1500
- package/Logic_Debertz-core.js +997 -997
- package/Logic_Debertz-engine.d.ts +1 -0
- package/Logic_Debertz-engine.js +10177 -10158
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +449 -443
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +41 -41
- package/raspberry-cardgame-lib-logger.js +81 -81
- package/raspberry-cardgame-lib-random.js +43 -43
package/Logic_Debertz-core.js
CHANGED
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
return false;
|
|
198
198
|
}
|
|
199
199
|
function get_isAutoStartTimer() {
|
|
200
|
-
return !this.
|
|
200
|
+
return !this.m1v() && !this.n1v();
|
|
201
201
|
}
|
|
202
202
|
initMetadataForInterface(InterceptableAction, 'InterceptableAction', VOID, VOID, [BufferedAction]);
|
|
203
203
|
function ignoreValidation() {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
tmp = types;
|
|
222
222
|
}
|
|
223
223
|
types = tmp;
|
|
224
|
-
return $super === VOID ? this.
|
|
224
|
+
return $super === VOID ? this.z1v(types) : $super.z1v.call(this, types);
|
|
225
225
|
}
|
|
226
226
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
227
227
|
initMetadataForCompanion(Companion_20);
|
|
@@ -229,9 +229,9 @@
|
|
|
229
229
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
230
230
|
//endregion
|
|
231
231
|
function GameEngineConfig() {
|
|
232
|
-
this.version = '1.8.
|
|
232
|
+
this.version = '1.8.432';
|
|
233
233
|
}
|
|
234
|
-
protoOf(GameEngineConfig).
|
|
234
|
+
protoOf(GameEngineConfig).l17 = function () {
|
|
235
235
|
return this.version;
|
|
236
236
|
};
|
|
237
237
|
var GameEngineConfig_instance;
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
return GameEngineConfig_instance;
|
|
240
240
|
}
|
|
241
241
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
242
|
-
return $this.
|
|
242
|
+
return $this.z1o_1.v1();
|
|
243
243
|
}
|
|
244
244
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
245
245
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -261,13 +261,13 @@
|
|
|
261
261
|
Companion_instance = this;
|
|
262
262
|
var tmp = this;
|
|
263
263
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
264
|
-
tmp.
|
|
264
|
+
tmp.z1o_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
265
265
|
}
|
|
266
|
-
protoOf(Companion).
|
|
266
|
+
protoOf(Companion).a18 = function () {
|
|
267
267
|
return _get_$cachedSerializer__te6jhj(this);
|
|
268
268
|
};
|
|
269
|
-
protoOf(Companion).
|
|
270
|
-
return this.
|
|
269
|
+
protoOf(Companion).dw = function (typeParamsSerializers) {
|
|
270
|
+
return this.a18();
|
|
271
271
|
};
|
|
272
272
|
var Companion_instance;
|
|
273
273
|
function Companion_getInstance_2() {
|
|
@@ -290,50 +290,50 @@
|
|
|
290
290
|
function $serializer() {
|
|
291
291
|
$serializer_instance = this;
|
|
292
292
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
293
|
-
tmp0_serialDesc.
|
|
294
|
-
this.
|
|
293
|
+
tmp0_serialDesc.bv('playerId', false);
|
|
294
|
+
this.a1p_1 = tmp0_serialDesc;
|
|
295
295
|
}
|
|
296
|
-
protoOf($serializer).
|
|
297
|
-
var tmp0_desc = this.
|
|
298
|
-
var tmp1_output = encoder.
|
|
299
|
-
tmp1_output.
|
|
300
|
-
tmp1_output.
|
|
296
|
+
protoOf($serializer).b1p = function (encoder, value) {
|
|
297
|
+
var tmp0_desc = this.a1p_1;
|
|
298
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
299
|
+
tmp1_output.ap(tmp0_desc, 0, value.c1p_1);
|
|
300
|
+
tmp1_output.mn(tmp0_desc);
|
|
301
301
|
};
|
|
302
|
-
protoOf($serializer).
|
|
303
|
-
return this.
|
|
302
|
+
protoOf($serializer).dk = function (encoder, value) {
|
|
303
|
+
return this.b1p(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
304
304
|
};
|
|
305
|
-
protoOf($serializer).
|
|
306
|
-
var tmp0_desc = this.
|
|
305
|
+
protoOf($serializer).ek = function (decoder) {
|
|
306
|
+
var tmp0_desc = this.a1p_1;
|
|
307
307
|
var tmp1_flag = true;
|
|
308
308
|
var tmp2_index = 0;
|
|
309
309
|
var tmp3_bitMask0 = 0;
|
|
310
310
|
var tmp4_local0 = null;
|
|
311
|
-
var tmp5_input = decoder.
|
|
312
|
-
if (tmp5_input.
|
|
313
|
-
tmp4_local0 = tmp5_input.
|
|
311
|
+
var tmp5_input = decoder.ln(tmp0_desc);
|
|
312
|
+
if (tmp5_input.bo()) {
|
|
313
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
314
314
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
315
315
|
} else
|
|
316
316
|
while (tmp1_flag) {
|
|
317
|
-
tmp2_index = tmp5_input.
|
|
317
|
+
tmp2_index = tmp5_input.co(tmp0_desc);
|
|
318
318
|
switch (tmp2_index) {
|
|
319
319
|
case -1:
|
|
320
320
|
tmp1_flag = false;
|
|
321
321
|
break;
|
|
322
322
|
case 0:
|
|
323
|
-
tmp4_local0 = tmp5_input.
|
|
323
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
324
324
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
325
325
|
break;
|
|
326
326
|
default:
|
|
327
327
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
tmp5_input.
|
|
330
|
+
tmp5_input.mn(tmp0_desc);
|
|
331
331
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
332
332
|
};
|
|
333
|
-
protoOf($serializer).
|
|
334
|
-
return this.
|
|
333
|
+
protoOf($serializer).ck = function () {
|
|
334
|
+
return this.a1p_1;
|
|
335
335
|
};
|
|
336
|
-
protoOf($serializer).
|
|
336
|
+
protoOf($serializer).sv = function () {
|
|
337
337
|
// Inline function 'kotlin.arrayOf' call
|
|
338
338
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
339
339
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -347,10 +347,10 @@
|
|
|
347
347
|
}
|
|
348
348
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
349
349
|
if (!(1 === (1 & seen0))) {
|
|
350
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
350
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().a1p_1);
|
|
351
351
|
}
|
|
352
352
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
353
|
-
$this.
|
|
353
|
+
$this.c1p_1 = playerId;
|
|
354
354
|
return $this;
|
|
355
355
|
}
|
|
356
356
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -358,20 +358,20 @@
|
|
|
358
358
|
}
|
|
359
359
|
function PlayerReturnsReason(playerId) {
|
|
360
360
|
ContinueGameReason.call(this);
|
|
361
|
-
this.
|
|
361
|
+
this.c1p_1 = playerId;
|
|
362
362
|
}
|
|
363
363
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
364
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
364
|
+
return 'PlayerReturnsReason(playerId=' + this.c1p_1 + ')';
|
|
365
365
|
};
|
|
366
366
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
367
|
-
return getStringHashCode(this.
|
|
367
|
+
return getStringHashCode(this.c1p_1);
|
|
368
368
|
};
|
|
369
369
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
370
370
|
if (this === other)
|
|
371
371
|
return true;
|
|
372
372
|
if (!(other instanceof PlayerReturnsReason))
|
|
373
373
|
return false;
|
|
374
|
-
if (!(this.
|
|
374
|
+
if (!(this.c1p_1 === other.c1p_1))
|
|
375
375
|
return false;
|
|
376
376
|
return true;
|
|
377
377
|
};
|
|
@@ -384,50 +384,50 @@
|
|
|
384
384
|
function $serializer_0() {
|
|
385
385
|
$serializer_instance_0 = this;
|
|
386
386
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
387
|
-
tmp0_serialDesc.
|
|
388
|
-
this.
|
|
387
|
+
tmp0_serialDesc.bv('fromRound', false);
|
|
388
|
+
this.d1p_1 = tmp0_serialDesc;
|
|
389
389
|
}
|
|
390
|
-
protoOf($serializer_0).
|
|
391
|
-
var tmp0_desc = this.
|
|
392
|
-
var tmp1_output = encoder.
|
|
393
|
-
tmp1_output.
|
|
394
|
-
tmp1_output.
|
|
390
|
+
protoOf($serializer_0).e1p = function (encoder, value) {
|
|
391
|
+
var tmp0_desc = this.d1p_1;
|
|
392
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
393
|
+
tmp1_output.ep(tmp0_desc, 0, IntSerializer_getInstance(), value.f1p_1);
|
|
394
|
+
tmp1_output.mn(tmp0_desc);
|
|
395
395
|
};
|
|
396
|
-
protoOf($serializer_0).
|
|
397
|
-
return this.
|
|
396
|
+
protoOf($serializer_0).dk = function (encoder, value) {
|
|
397
|
+
return this.e1p(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
398
398
|
};
|
|
399
|
-
protoOf($serializer_0).
|
|
400
|
-
var tmp0_desc = this.
|
|
399
|
+
protoOf($serializer_0).ek = function (decoder) {
|
|
400
|
+
var tmp0_desc = this.d1p_1;
|
|
401
401
|
var tmp1_flag = true;
|
|
402
402
|
var tmp2_index = 0;
|
|
403
403
|
var tmp3_bitMask0 = 0;
|
|
404
404
|
var tmp4_local0 = null;
|
|
405
|
-
var tmp5_input = decoder.
|
|
406
|
-
if (tmp5_input.
|
|
407
|
-
tmp4_local0 = tmp5_input.
|
|
405
|
+
var tmp5_input = decoder.ln(tmp0_desc);
|
|
406
|
+
if (tmp5_input.bo()) {
|
|
407
|
+
tmp4_local0 = tmp5_input.zn(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
408
408
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
409
409
|
} else
|
|
410
410
|
while (tmp1_flag) {
|
|
411
|
-
tmp2_index = tmp5_input.
|
|
411
|
+
tmp2_index = tmp5_input.co(tmp0_desc);
|
|
412
412
|
switch (tmp2_index) {
|
|
413
413
|
case -1:
|
|
414
414
|
tmp1_flag = false;
|
|
415
415
|
break;
|
|
416
416
|
case 0:
|
|
417
|
-
tmp4_local0 = tmp5_input.
|
|
417
|
+
tmp4_local0 = tmp5_input.zn(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
418
418
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
419
419
|
break;
|
|
420
420
|
default:
|
|
421
421
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
tmp5_input.
|
|
424
|
+
tmp5_input.mn(tmp0_desc);
|
|
425
425
|
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
426
426
|
};
|
|
427
|
-
protoOf($serializer_0).
|
|
428
|
-
return this.
|
|
427
|
+
protoOf($serializer_0).ck = function () {
|
|
428
|
+
return this.d1p_1;
|
|
429
429
|
};
|
|
430
|
-
protoOf($serializer_0).
|
|
430
|
+
protoOf($serializer_0).sv = function () {
|
|
431
431
|
// Inline function 'kotlin.arrayOf' call
|
|
432
432
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
433
433
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -441,10 +441,10 @@
|
|
|
441
441
|
}
|
|
442
442
|
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
443
443
|
if (!(1 === (1 & seen0))) {
|
|
444
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
444
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().d1p_1);
|
|
445
445
|
}
|
|
446
446
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
447
|
-
$this.
|
|
447
|
+
$this.f1p_1 = fromRound;
|
|
448
448
|
return $this;
|
|
449
449
|
}
|
|
450
450
|
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
@@ -452,31 +452,31 @@
|
|
|
452
452
|
}
|
|
453
453
|
function RestartRoundReason(fromRound) {
|
|
454
454
|
ContinueGameReason.call(this);
|
|
455
|
-
this.
|
|
455
|
+
this.f1p_1 = fromRound;
|
|
456
456
|
}
|
|
457
457
|
protoOf(RestartRoundReason).toString = function () {
|
|
458
|
-
return 'RestartRoundReason(fromRound=' + this.
|
|
458
|
+
return 'RestartRoundReason(fromRound=' + this.f1p_1 + ')';
|
|
459
459
|
};
|
|
460
460
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
461
|
-
return this.
|
|
461
|
+
return this.f1p_1 == null ? 0 : this.f1p_1;
|
|
462
462
|
};
|
|
463
463
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
464
464
|
if (this === other)
|
|
465
465
|
return true;
|
|
466
466
|
if (!(other instanceof RestartRoundReason))
|
|
467
467
|
return false;
|
|
468
|
-
if (!(this.
|
|
468
|
+
if (!(this.f1p_1 == other.f1p_1))
|
|
469
469
|
return false;
|
|
470
470
|
return true;
|
|
471
471
|
};
|
|
472
472
|
function Companion_2() {
|
|
473
473
|
}
|
|
474
|
-
protoOf(Companion_2).
|
|
474
|
+
protoOf(Companion_2).g1p = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
475
475
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
476
476
|
};
|
|
477
477
|
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
478
478
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
479
|
-
return $super === VOID ? this.
|
|
479
|
+
return $super === VOID ? this.g1p(fileLogsEnabled, logsDirectoryPath, fileNameFormat) : $super.g1p.call(this, fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
480
480
|
};
|
|
481
481
|
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
482
482
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -495,19 +495,19 @@
|
|
|
495
495
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
496
496
|
this.fileNameFormat = fileNameFormat;
|
|
497
497
|
}
|
|
498
|
-
protoOf(CoreConfig).
|
|
498
|
+
protoOf(CoreConfig).h1p = function () {
|
|
499
499
|
return this.fileLogsEnabled;
|
|
500
500
|
};
|
|
501
|
-
protoOf(CoreConfig).
|
|
501
|
+
protoOf(CoreConfig).i1p = function () {
|
|
502
502
|
return this.deleteFilesOnClear;
|
|
503
503
|
};
|
|
504
|
-
protoOf(CoreConfig).
|
|
504
|
+
protoOf(CoreConfig).j1p = function () {
|
|
505
505
|
return this.logsDirectoryPath;
|
|
506
506
|
};
|
|
507
|
-
protoOf(CoreConfig).
|
|
507
|
+
protoOf(CoreConfig).k1p = function () {
|
|
508
508
|
return this.fileNameFormat;
|
|
509
509
|
};
|
|
510
|
-
protoOf(CoreConfig).
|
|
510
|
+
protoOf(CoreConfig).l1p = function () {
|
|
511
511
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
512
512
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
513
513
|
};
|
|
@@ -517,13 +517,13 @@
|
|
|
517
517
|
protoOf(CoreConfig).tc = function () {
|
|
518
518
|
return this.deleteFilesOnClear;
|
|
519
519
|
};
|
|
520
|
-
protoOf(CoreConfig).
|
|
520
|
+
protoOf(CoreConfig).fi = function () {
|
|
521
521
|
return this.logsDirectoryPath;
|
|
522
522
|
};
|
|
523
|
-
protoOf(CoreConfig).
|
|
523
|
+
protoOf(CoreConfig).v16 = function () {
|
|
524
524
|
return this.fileNameFormat;
|
|
525
525
|
};
|
|
526
|
-
protoOf(CoreConfig).
|
|
526
|
+
protoOf(CoreConfig).m1p = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
527
527
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
528
528
|
};
|
|
529
529
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
532
532
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
533
533
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
534
|
-
return $super === VOID ? this.
|
|
534
|
+
return $super === VOID ? this.m1p(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) : $super.m1p.call(this, fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
535
535
|
};
|
|
536
536
|
protoOf(CoreConfig).toString = function () {
|
|
537
537
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
return true;
|
|
560
560
|
};
|
|
561
561
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
562
|
-
return $this.
|
|
562
|
+
return $this.n1p_1.v1();
|
|
563
563
|
}
|
|
564
564
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
565
565
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -573,13 +573,13 @@
|
|
|
573
573
|
RestartGameReason_instance = this;
|
|
574
574
|
var tmp = this;
|
|
575
575
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
576
|
-
tmp.
|
|
576
|
+
tmp.n1p_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
577
577
|
}
|
|
578
|
-
protoOf(RestartGameReason).
|
|
578
|
+
protoOf(RestartGameReason).a18 = function () {
|
|
579
579
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
580
580
|
};
|
|
581
|
-
protoOf(RestartGameReason).
|
|
582
|
-
return this.
|
|
581
|
+
protoOf(RestartGameReason).dw = function (typeParamsSerializers) {
|
|
582
|
+
return this.a18();
|
|
583
583
|
};
|
|
584
584
|
protoOf(RestartGameReason).toString = function () {
|
|
585
585
|
return 'RestartGameReason';
|
|
@@ -604,34 +604,34 @@
|
|
|
604
604
|
}
|
|
605
605
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
606
606
|
TerminationGameReason.call(this);
|
|
607
|
-
this.
|
|
607
|
+
this.o1p_1 = playerId;
|
|
608
608
|
this.tag = tag;
|
|
609
609
|
}
|
|
610
|
-
protoOf(PlayerLostConnectionReason).o1p = function () {
|
|
611
|
-
return this.n1p_1;
|
|
612
|
-
};
|
|
613
610
|
protoOf(PlayerLostConnectionReason).p1p = function () {
|
|
611
|
+
return this.o1p_1;
|
|
612
|
+
};
|
|
613
|
+
protoOf(PlayerLostConnectionReason).q1p = function () {
|
|
614
614
|
return this.tag;
|
|
615
615
|
};
|
|
616
616
|
protoOf(PlayerLostConnectionReason).sc = function () {
|
|
617
|
-
return this.
|
|
617
|
+
return this.o1p_1;
|
|
618
618
|
};
|
|
619
619
|
protoOf(PlayerLostConnectionReason).tc = function () {
|
|
620
620
|
return this.tag;
|
|
621
621
|
};
|
|
622
|
-
protoOf(PlayerLostConnectionReason).
|
|
622
|
+
protoOf(PlayerLostConnectionReason).r1p = function (playerId, tag) {
|
|
623
623
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
624
624
|
};
|
|
625
625
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
626
|
-
playerId = playerId === VOID ? this.
|
|
626
|
+
playerId = playerId === VOID ? this.o1p_1 : playerId;
|
|
627
627
|
tag = tag === VOID ? this.tag : tag;
|
|
628
|
-
return $super === VOID ? this.
|
|
628
|
+
return $super === VOID ? this.r1p(playerId, tag) : $super.r1p.call(this, playerId, tag);
|
|
629
629
|
};
|
|
630
630
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
631
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
631
|
+
return 'PlayerLostConnectionReason(playerId=' + this.o1p_1 + ', tag=' + this.tag + ')';
|
|
632
632
|
};
|
|
633
633
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
634
|
-
var result = getStringHashCode(this.
|
|
634
|
+
var result = getStringHashCode(this.o1p_1);
|
|
635
635
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
636
636
|
return result;
|
|
637
637
|
};
|
|
@@ -640,7 +640,7 @@
|
|
|
640
640
|
return true;
|
|
641
641
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
642
642
|
return false;
|
|
643
|
-
if (!(this.
|
|
643
|
+
if (!(this.o1p_1 === other.o1p_1))
|
|
644
644
|
return false;
|
|
645
645
|
if (!(this.tag == other.tag))
|
|
646
646
|
return false;
|
|
@@ -648,34 +648,34 @@
|
|
|
648
648
|
};
|
|
649
649
|
function PlayerTimeoutReason(playerId, tag) {
|
|
650
650
|
TerminationGameReason.call(this);
|
|
651
|
-
this.
|
|
651
|
+
this.s1p_1 = playerId;
|
|
652
652
|
this.tag = tag;
|
|
653
653
|
}
|
|
654
|
-
protoOf(PlayerTimeoutReason).o1p = function () {
|
|
655
|
-
return this.r1p_1;
|
|
656
|
-
};
|
|
657
654
|
protoOf(PlayerTimeoutReason).p1p = function () {
|
|
655
|
+
return this.s1p_1;
|
|
656
|
+
};
|
|
657
|
+
protoOf(PlayerTimeoutReason).q1p = function () {
|
|
658
658
|
return this.tag;
|
|
659
659
|
};
|
|
660
660
|
protoOf(PlayerTimeoutReason).sc = function () {
|
|
661
|
-
return this.
|
|
661
|
+
return this.s1p_1;
|
|
662
662
|
};
|
|
663
663
|
protoOf(PlayerTimeoutReason).tc = function () {
|
|
664
664
|
return this.tag;
|
|
665
665
|
};
|
|
666
|
-
protoOf(PlayerTimeoutReason).
|
|
666
|
+
protoOf(PlayerTimeoutReason).r1p = function (playerId, tag) {
|
|
667
667
|
return new PlayerTimeoutReason(playerId, tag);
|
|
668
668
|
};
|
|
669
669
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
670
|
-
playerId = playerId === VOID ? this.
|
|
670
|
+
playerId = playerId === VOID ? this.s1p_1 : playerId;
|
|
671
671
|
tag = tag === VOID ? this.tag : tag;
|
|
672
|
-
return $super === VOID ? this.
|
|
672
|
+
return $super === VOID ? this.r1p(playerId, tag) : $super.r1p.call(this, playerId, tag);
|
|
673
673
|
};
|
|
674
674
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
675
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
675
|
+
return 'PlayerTimeoutReason(playerId=' + this.s1p_1 + ', tag=' + this.tag + ')';
|
|
676
676
|
};
|
|
677
677
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
678
|
-
var result = getStringHashCode(this.
|
|
678
|
+
var result = getStringHashCode(this.s1p_1);
|
|
679
679
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
680
680
|
return result;
|
|
681
681
|
};
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
return true;
|
|
685
685
|
if (!(other instanceof PlayerTimeoutReason))
|
|
686
686
|
return false;
|
|
687
|
-
if (!(this.
|
|
687
|
+
if (!(this.s1p_1 === other.s1p_1))
|
|
688
688
|
return false;
|
|
689
689
|
if (!(this.tag == other.tag))
|
|
690
690
|
return false;
|
|
@@ -692,40 +692,40 @@
|
|
|
692
692
|
};
|
|
693
693
|
function PlayerExitReason(playerId) {
|
|
694
694
|
TerminationGameReason.call(this);
|
|
695
|
-
this.
|
|
695
|
+
this.t1p_1 = playerId;
|
|
696
696
|
}
|
|
697
|
-
protoOf(PlayerExitReason).
|
|
698
|
-
return this.
|
|
697
|
+
protoOf(PlayerExitReason).p1p = function () {
|
|
698
|
+
return this.t1p_1;
|
|
699
699
|
};
|
|
700
700
|
protoOf(PlayerExitReason).sc = function () {
|
|
701
|
-
return this.
|
|
701
|
+
return this.t1p_1;
|
|
702
702
|
};
|
|
703
|
-
protoOf(PlayerExitReason).
|
|
703
|
+
protoOf(PlayerExitReason).u1p = function (playerId) {
|
|
704
704
|
return new PlayerExitReason(playerId);
|
|
705
705
|
};
|
|
706
706
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
707
|
-
playerId = playerId === VOID ? this.
|
|
708
|
-
return $super === VOID ? this.
|
|
707
|
+
playerId = playerId === VOID ? this.t1p_1 : playerId;
|
|
708
|
+
return $super === VOID ? this.u1p(playerId) : $super.u1p.call(this, playerId);
|
|
709
709
|
};
|
|
710
710
|
protoOf(PlayerExitReason).toString = function () {
|
|
711
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
711
|
+
return 'PlayerExitReason(playerId=' + this.t1p_1 + ')';
|
|
712
712
|
};
|
|
713
713
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
714
|
-
return getStringHashCode(this.
|
|
714
|
+
return getStringHashCode(this.t1p_1);
|
|
715
715
|
};
|
|
716
716
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
717
717
|
if (this === other)
|
|
718
718
|
return true;
|
|
719
719
|
if (!(other instanceof PlayerExitReason))
|
|
720
720
|
return false;
|
|
721
|
-
if (!(this.
|
|
721
|
+
if (!(this.t1p_1 === other.t1p_1))
|
|
722
722
|
return false;
|
|
723
723
|
return true;
|
|
724
724
|
};
|
|
725
725
|
function FinishPlayerReason() {
|
|
726
726
|
}
|
|
727
727
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
728
|
-
return $this.
|
|
728
|
+
return $this.v1p_1.v1();
|
|
729
729
|
}
|
|
730
730
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
731
731
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -768,13 +768,13 @@
|
|
|
768
768
|
Companion_instance_3 = this;
|
|
769
769
|
var tmp = this;
|
|
770
770
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
771
|
-
tmp.
|
|
771
|
+
tmp.v1p_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
772
772
|
}
|
|
773
|
-
protoOf(Companion_3).
|
|
773
|
+
protoOf(Companion_3).a18 = function () {
|
|
774
774
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
775
775
|
};
|
|
776
|
-
protoOf(Companion_3).
|
|
777
|
-
return this.
|
|
776
|
+
protoOf(Companion_3).dw = function (typeParamsSerializers) {
|
|
777
|
+
return this.a18();
|
|
778
778
|
};
|
|
779
779
|
var Companion_instance_3;
|
|
780
780
|
function Companion_getInstance_6() {
|
|
@@ -828,18 +828,18 @@
|
|
|
828
828
|
TerminationGameReason.call(this);
|
|
829
829
|
this.reason = reason;
|
|
830
830
|
}
|
|
831
|
-
protoOf(GameFinishedReason).
|
|
831
|
+
protoOf(GameFinishedReason).y1p = function () {
|
|
832
832
|
return this.reason;
|
|
833
833
|
};
|
|
834
834
|
protoOf(GameFinishedReason).sc = function () {
|
|
835
835
|
return this.reason;
|
|
836
836
|
};
|
|
837
|
-
protoOf(GameFinishedReason).
|
|
837
|
+
protoOf(GameFinishedReason).z1p = function (reason) {
|
|
838
838
|
return new GameFinishedReason(reason);
|
|
839
839
|
};
|
|
840
840
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
841
841
|
reason = reason === VOID ? this.reason : reason;
|
|
842
|
-
return $super === VOID ? this.
|
|
842
|
+
return $super === VOID ? this.z1p(reason) : $super.z1p.call(this, reason);
|
|
843
843
|
};
|
|
844
844
|
protoOf(GameFinishedReason).toString = function () {
|
|
845
845
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -857,7 +857,7 @@
|
|
|
857
857
|
return true;
|
|
858
858
|
};
|
|
859
859
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
860
|
-
return $this.
|
|
860
|
+
return $this.a1q_1.v1();
|
|
861
861
|
}
|
|
862
862
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
863
863
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -900,13 +900,13 @@
|
|
|
900
900
|
Companion_instance_4 = this;
|
|
901
901
|
var tmp = this;
|
|
902
902
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
903
|
-
tmp.
|
|
903
|
+
tmp.a1q_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
904
904
|
}
|
|
905
|
-
protoOf(Companion_4).
|
|
905
|
+
protoOf(Companion_4).a18 = function () {
|
|
906
906
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
907
907
|
};
|
|
908
|
-
protoOf(Companion_4).
|
|
909
|
-
return this.
|
|
908
|
+
protoOf(Companion_4).dw = function (typeParamsSerializers) {
|
|
909
|
+
return this.a18();
|
|
910
910
|
};
|
|
911
911
|
var Companion_instance_4;
|
|
912
912
|
function Companion_getInstance_7() {
|
|
@@ -960,18 +960,18 @@
|
|
|
960
960
|
TerminationGameReason.call(this);
|
|
961
961
|
this.reason = reason;
|
|
962
962
|
}
|
|
963
|
-
protoOf(GameErrorReason).
|
|
963
|
+
protoOf(GameErrorReason).y1p = function () {
|
|
964
964
|
return this.reason;
|
|
965
965
|
};
|
|
966
966
|
protoOf(GameErrorReason).sc = function () {
|
|
967
967
|
return this.reason;
|
|
968
968
|
};
|
|
969
|
-
protoOf(GameErrorReason).
|
|
969
|
+
protoOf(GameErrorReason).d1q = function (reason) {
|
|
970
970
|
return new GameErrorReason(reason);
|
|
971
971
|
};
|
|
972
972
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
973
973
|
reason = reason === VOID ? this.reason : reason;
|
|
974
|
-
return $super === VOID ? this.
|
|
974
|
+
return $super === VOID ? this.d1q(reason) : $super.d1q.call(this, reason);
|
|
975
975
|
};
|
|
976
976
|
protoOf(GameErrorReason).toString = function () {
|
|
977
977
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1044,7 +1044,7 @@
|
|
|
1044
1044
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1045
1045
|
rating = rating === VOID ? null : rating;
|
|
1046
1046
|
payload = payload === VOID ? null : payload;
|
|
1047
|
-
this.
|
|
1047
|
+
this.e1q_1 = playerId;
|
|
1048
1048
|
this.name = name;
|
|
1049
1049
|
this.avatarUrl = avatarUrl;
|
|
1050
1050
|
this.isBot = isBot;
|
|
@@ -1052,25 +1052,25 @@
|
|
|
1052
1052
|
this.rating = rating;
|
|
1053
1053
|
this.payload = payload;
|
|
1054
1054
|
}
|
|
1055
|
-
protoOf(GameUserInfo).
|
|
1056
|
-
return this.
|
|
1055
|
+
protoOf(GameUserInfo).p1p = function () {
|
|
1056
|
+
return this.e1q_1;
|
|
1057
1057
|
};
|
|
1058
1058
|
protoOf(GameUserInfo).i2 = function () {
|
|
1059
1059
|
return this.name;
|
|
1060
1060
|
};
|
|
1061
|
-
protoOf(GameUserInfo).
|
|
1061
|
+
protoOf(GameUserInfo).f1q = function () {
|
|
1062
1062
|
return this.avatarUrl;
|
|
1063
1063
|
};
|
|
1064
|
-
protoOf(GameUserInfo).
|
|
1064
|
+
protoOf(GameUserInfo).g1q = function () {
|
|
1065
1065
|
return this.isBot;
|
|
1066
1066
|
};
|
|
1067
|
-
protoOf(GameUserInfo).
|
|
1067
|
+
protoOf(GameUserInfo).h1q = function () {
|
|
1068
1068
|
return this.initialLuckyFactor;
|
|
1069
1069
|
};
|
|
1070
|
-
protoOf(GameUserInfo).
|
|
1070
|
+
protoOf(GameUserInfo).i1q = function () {
|
|
1071
1071
|
return this.rating;
|
|
1072
1072
|
};
|
|
1073
|
-
protoOf(GameUserInfo).
|
|
1073
|
+
protoOf(GameUserInfo).j1q = function () {
|
|
1074
1074
|
return this.payload;
|
|
1075
1075
|
};
|
|
1076
1076
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1078,7 +1078,7 @@
|
|
|
1078
1078
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1079
1079
|
};
|
|
1080
1080
|
protoOf(GameUserInfo).toString = function () {
|
|
1081
|
-
var tmp = 'playerId=' + this.
|
|
1081
|
+
var tmp = 'playerId=' + this.e1q_1;
|
|
1082
1082
|
var tmp_0 = 'name=' + this.name;
|
|
1083
1083
|
// Inline function 'kotlin.takeIf' call
|
|
1084
1084
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1128,41 +1128,41 @@
|
|
|
1128
1128
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1129
1129
|
};
|
|
1130
1130
|
protoOf(GameUserInfo).sc = function () {
|
|
1131
|
-
return this.
|
|
1131
|
+
return this.e1q_1;
|
|
1132
1132
|
};
|
|
1133
1133
|
protoOf(GameUserInfo).tc = function () {
|
|
1134
1134
|
return this.name;
|
|
1135
1135
|
};
|
|
1136
|
-
protoOf(GameUserInfo).
|
|
1136
|
+
protoOf(GameUserInfo).fi = function () {
|
|
1137
1137
|
return this.avatarUrl;
|
|
1138
1138
|
};
|
|
1139
|
-
protoOf(GameUserInfo).
|
|
1139
|
+
protoOf(GameUserInfo).v16 = function () {
|
|
1140
1140
|
return this.isBot;
|
|
1141
1141
|
};
|
|
1142
|
-
protoOf(GameUserInfo).
|
|
1142
|
+
protoOf(GameUserInfo).k1q = function () {
|
|
1143
1143
|
return this.initialLuckyFactor;
|
|
1144
1144
|
};
|
|
1145
|
-
protoOf(GameUserInfo).
|
|
1145
|
+
protoOf(GameUserInfo).l1q = function () {
|
|
1146
1146
|
return this.rating;
|
|
1147
1147
|
};
|
|
1148
|
-
protoOf(GameUserInfo).
|
|
1148
|
+
protoOf(GameUserInfo).m1q = function () {
|
|
1149
1149
|
return this.payload;
|
|
1150
1150
|
};
|
|
1151
|
-
protoOf(GameUserInfo).
|
|
1151
|
+
protoOf(GameUserInfo).n1q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1152
1152
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1153
1153
|
};
|
|
1154
1154
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1155
|
-
playerId = playerId === VOID ? this.
|
|
1155
|
+
playerId = playerId === VOID ? this.e1q_1 : playerId;
|
|
1156
1156
|
name = name === VOID ? this.name : name;
|
|
1157
1157
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1158
1158
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1159
1159
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1160
1160
|
rating = rating === VOID ? this.rating : rating;
|
|
1161
1161
|
payload = payload === VOID ? this.payload : payload;
|
|
1162
|
-
return $super === VOID ? this.
|
|
1162
|
+
return $super === VOID ? this.n1q(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) : $super.n1q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1163
1163
|
};
|
|
1164
1164
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1165
|
-
var result = getStringHashCode(this.
|
|
1165
|
+
var result = getStringHashCode(this.e1q_1);
|
|
1166
1166
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1167
1167
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1168
1168
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1176,7 +1176,7 @@
|
|
|
1176
1176
|
return true;
|
|
1177
1177
|
if (!(other instanceof GameUserInfo))
|
|
1178
1178
|
return false;
|
|
1179
|
-
if (!(this.
|
|
1179
|
+
if (!(this.e1q_1 === other.e1q_1))
|
|
1180
1180
|
return false;
|
|
1181
1181
|
if (!(this.name === other.name))
|
|
1182
1182
|
return false;
|
|
@@ -1237,18 +1237,18 @@
|
|
|
1237
1237
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1238
1238
|
}
|
|
1239
1239
|
function PlayerIndex(playerId, playerIndex) {
|
|
1240
|
-
this.
|
|
1241
|
-
this.
|
|
1240
|
+
this.o1q_1 = playerId;
|
|
1241
|
+
this.p1q_1 = playerIndex;
|
|
1242
1242
|
}
|
|
1243
|
-
protoOf(PlayerIndex).
|
|
1244
|
-
return this.
|
|
1243
|
+
protoOf(PlayerIndex).p1p = function () {
|
|
1244
|
+
return this.o1q_1;
|
|
1245
1245
|
};
|
|
1246
1246
|
protoOf(PlayerIndex).toString = function () {
|
|
1247
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1247
|
+
return 'PlayerIndex(playerId=' + this.o1q_1 + ', playerIndex=' + this.p1q_1 + ')';
|
|
1248
1248
|
};
|
|
1249
1249
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1250
|
-
var result = getStringHashCode(this.
|
|
1251
|
-
result = imul(result, 31) + this.
|
|
1250
|
+
var result = getStringHashCode(this.o1q_1);
|
|
1251
|
+
result = imul(result, 31) + this.p1q_1 | 0;
|
|
1252
1252
|
return result;
|
|
1253
1253
|
};
|
|
1254
1254
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1256,10 +1256,10 @@
|
|
|
1256
1256
|
return true;
|
|
1257
1257
|
if (!(other instanceof PlayerIndex))
|
|
1258
1258
|
return false;
|
|
1259
|
-
if (!(this.n1q_1 === other.n1q_1))
|
|
1260
|
-
return false;
|
|
1261
1259
|
if (!(this.o1q_1 === other.o1q_1))
|
|
1262
1260
|
return false;
|
|
1261
|
+
if (!(this.p1q_1 === other.p1q_1))
|
|
1262
|
+
return false;
|
|
1263
1263
|
return true;
|
|
1264
1264
|
};
|
|
1265
1265
|
function byIdPlayerPredicate$lambda(id) {
|
|
@@ -1273,7 +1273,7 @@
|
|
|
1273
1273
|
}
|
|
1274
1274
|
function playerTurnPredicate$lambda(p1) {
|
|
1275
1275
|
_init_properties_Player_kt__qi83pd();
|
|
1276
|
-
return p1.
|
|
1276
|
+
return p1.q1q().y1q();
|
|
1277
1277
|
}
|
|
1278
1278
|
var properties_initialized_Player_kt_56shkt;
|
|
1279
1279
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1284,63 +1284,63 @@
|
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
1286
1286
|
function Companion_5() {
|
|
1287
|
-
this.
|
|
1287
|
+
this.z1q_1 = 70;
|
|
1288
1288
|
}
|
|
1289
|
-
protoOf(Companion_5).
|
|
1290
|
-
return new PlayerConnection(state, System_instance.
|
|
1289
|
+
protoOf(Companion_5).a1r = function (state, timeout) {
|
|
1290
|
+
return new PlayerConnection(state, System_instance.kg().ah(timeout));
|
|
1291
1291
|
};
|
|
1292
|
-
protoOf(Companion_5).
|
|
1293
|
-
timeout = timeout === VOID ? Companion_getInstance().
|
|
1294
|
-
return $super === VOID ? this.
|
|
1292
|
+
protoOf(Companion_5).b1r = function (state, timeout, $super) {
|
|
1293
|
+
timeout = timeout === VOID ? Companion_getInstance().lg_1 : timeout;
|
|
1294
|
+
return $super === VOID ? this.a1r(state, timeout) : $super.a1r.call(this, state, new Duration(timeout));
|
|
1295
1295
|
};
|
|
1296
1296
|
var Companion_instance_5;
|
|
1297
1297
|
function Companion_getInstance_8() {
|
|
1298
1298
|
return Companion_instance_5;
|
|
1299
1299
|
}
|
|
1300
1300
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1301
|
-
connectionChangedTime = connectionChangedTime === VOID ? System_instance.
|
|
1302
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().
|
|
1303
|
-
this.
|
|
1304
|
-
this.
|
|
1305
|
-
this.
|
|
1301
|
+
connectionChangedTime = connectionChangedTime === VOID ? System_instance.kg() : connectionChangedTime;
|
|
1302
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().lg_1 : notLiveDurationRecord;
|
|
1303
|
+
this.c1r_1 = state;
|
|
1304
|
+
this.d1r_1 = connectionChangedTime;
|
|
1305
|
+
this.e1r_1 = notLiveDurationRecord;
|
|
1306
1306
|
}
|
|
1307
|
-
protoOf(PlayerConnection).e1r = function () {
|
|
1308
|
-
return System_instance.jg().ah(this.c1r_1);
|
|
1309
|
-
};
|
|
1310
1307
|
protoOf(PlayerConnection).f1r = function () {
|
|
1308
|
+
return System_instance.kg().bh(this.d1r_1);
|
|
1309
|
+
};
|
|
1310
|
+
protoOf(PlayerConnection).g1r = function () {
|
|
1311
1311
|
var tmp;
|
|
1312
|
-
if (this.
|
|
1313
|
-
tmp = this.
|
|
1312
|
+
if (this.c1r_1.isLive) {
|
|
1313
|
+
tmp = this.e1r_1;
|
|
1314
1314
|
} else {
|
|
1315
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1315
|
+
tmp = Duration__plus_impl_yu9v8f(this.e1r_1, this.f1r());
|
|
1316
1316
|
}
|
|
1317
1317
|
return tmp;
|
|
1318
1318
|
};
|
|
1319
|
-
protoOf(PlayerConnection).
|
|
1319
|
+
protoOf(PlayerConnection).h1r = function (gameDuration) {
|
|
1320
1320
|
// Inline function 'kotlin.Long.div' call
|
|
1321
1321
|
var this_0 = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration);
|
|
1322
1322
|
var percent = toNumber(this_0) / 100.0;
|
|
1323
1323
|
// Inline function 'kotlin.Long.div' call
|
|
1324
|
-
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1324
|
+
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.g1r());
|
|
1325
1325
|
// Inline function 'kotlin.math.round' call
|
|
1326
1326
|
var x = toNumber(this_1) / percent;
|
|
1327
1327
|
var tmp$ret$2 = round(x);
|
|
1328
1328
|
return numberToInt(tmp$ret$2);
|
|
1329
1329
|
};
|
|
1330
|
-
protoOf(PlayerConnection).h1r = function (gameDuration) {
|
|
1331
|
-
return 100 - this.g1r(gameDuration) | 0;
|
|
1332
|
-
};
|
|
1333
1330
|
protoOf(PlayerConnection).i1r = function (gameDuration) {
|
|
1334
|
-
|
|
1331
|
+
return 100 - this.h1r(gameDuration) | 0;
|
|
1332
|
+
};
|
|
1333
|
+
protoOf(PlayerConnection).j1r = function (gameDuration) {
|
|
1334
|
+
var percentage = this.i1r(gameDuration);
|
|
1335
1335
|
return percentage >= 70;
|
|
1336
1336
|
};
|
|
1337
1337
|
protoOf(PlayerConnection).toString = function () {
|
|
1338
|
-
return 'PlayerConnection(state=' + this.
|
|
1338
|
+
return 'PlayerConnection(state=' + this.c1r_1.toString() + ', connectionChangedTime=' + this.d1r_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.e1r_1) + ')';
|
|
1339
1339
|
};
|
|
1340
1340
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1341
|
-
var result = this.
|
|
1342
|
-
result = imul(result, 31) + this.
|
|
1343
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1341
|
+
var result = this.c1r_1.hashCode();
|
|
1342
|
+
result = imul(result, 31) + this.d1r_1.hashCode() | 0;
|
|
1343
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.e1r_1) | 0;
|
|
1344
1344
|
return result;
|
|
1345
1345
|
};
|
|
1346
1346
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1348,16 +1348,16 @@
|
|
|
1348
1348
|
return true;
|
|
1349
1349
|
if (!(other instanceof PlayerConnection))
|
|
1350
1350
|
return false;
|
|
1351
|
-
if (!this.b1r_1.equals(other.b1r_1))
|
|
1352
|
-
return false;
|
|
1353
1351
|
if (!this.c1r_1.equals(other.c1r_1))
|
|
1354
1352
|
return false;
|
|
1355
|
-
if (!
|
|
1353
|
+
if (!this.d1r_1.equals(other.d1r_1))
|
|
1354
|
+
return false;
|
|
1355
|
+
if (!equals(this.e1r_1, other.e1r_1))
|
|
1356
1356
|
return false;
|
|
1357
1357
|
return true;
|
|
1358
1358
|
};
|
|
1359
1359
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1360
|
-
return $this.
|
|
1360
|
+
return $this.k1r_1.v1();
|
|
1361
1361
|
}
|
|
1362
1362
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1363
1363
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1401,13 +1401,13 @@
|
|
|
1401
1401
|
Companion_instance_6 = this;
|
|
1402
1402
|
var tmp = this;
|
|
1403
1403
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1404
|
-
tmp.
|
|
1404
|
+
tmp.k1r_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1405
1405
|
}
|
|
1406
|
-
protoOf(Companion_6).
|
|
1406
|
+
protoOf(Companion_6).a18 = function () {
|
|
1407
1407
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1408
1408
|
};
|
|
1409
|
-
protoOf(Companion_6).
|
|
1410
|
-
return this.
|
|
1409
|
+
protoOf(Companion_6).dw = function (typeParamsSerializers) {
|
|
1410
|
+
return this.a18();
|
|
1411
1411
|
};
|
|
1412
1412
|
var Companion_instance_6;
|
|
1413
1413
|
function Companion_getInstance_9() {
|
|
@@ -1434,28 +1434,28 @@
|
|
|
1434
1434
|
function PlayerConnectionState(name, ordinal) {
|
|
1435
1435
|
Enum.call(this, name, ordinal);
|
|
1436
1436
|
}
|
|
1437
|
-
protoOf(PlayerConnectionState).
|
|
1437
|
+
protoOf(PlayerConnectionState).n1r = function () {
|
|
1438
1438
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1439
1439
|
};
|
|
1440
|
-
protoOf(PlayerConnectionState).
|
|
1440
|
+
protoOf(PlayerConnectionState).o1r = function () {
|
|
1441
1441
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1442
1442
|
};
|
|
1443
|
-
protoOf(PlayerConnectionState).
|
|
1443
|
+
protoOf(PlayerConnectionState).p1r = function () {
|
|
1444
1444
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1445
1445
|
};
|
|
1446
|
-
protoOf(PlayerConnectionState).
|
|
1446
|
+
protoOf(PlayerConnectionState).q1r = function () {
|
|
1447
1447
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1448
1448
|
};
|
|
1449
|
-
protoOf(PlayerConnectionState).
|
|
1449
|
+
protoOf(PlayerConnectionState).r1r = function () {
|
|
1450
1450
|
return this.equals(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
1451
1451
|
};
|
|
1452
|
-
protoOf(PlayerConnectionState).
|
|
1452
|
+
protoOf(PlayerConnectionState).s1r = function () {
|
|
1453
1453
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1454
1454
|
};
|
|
1455
|
-
protoOf(PlayerConnectionState).
|
|
1455
|
+
protoOf(PlayerConnectionState).t1r = function () {
|
|
1456
1456
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1457
1457
|
};
|
|
1458
|
-
protoOf(PlayerConnectionState).
|
|
1458
|
+
protoOf(PlayerConnectionState).u1r = function () {
|
|
1459
1459
|
var tmp;
|
|
1460
1460
|
switch (this.h2_1) {
|
|
1461
1461
|
case 3:
|
|
@@ -1476,7 +1476,7 @@
|
|
|
1476
1476
|
}
|
|
1477
1477
|
return tmp;
|
|
1478
1478
|
};
|
|
1479
|
-
protoOf(PlayerConnectionState).
|
|
1479
|
+
protoOf(PlayerConnectionState).v1r = function () {
|
|
1480
1480
|
var tmp;
|
|
1481
1481
|
switch (this.h2_1) {
|
|
1482
1482
|
case 3:
|
|
@@ -1497,7 +1497,7 @@
|
|
|
1497
1497
|
}
|
|
1498
1498
|
return tmp;
|
|
1499
1499
|
};
|
|
1500
|
-
protoOf(PlayerConnectionState).
|
|
1500
|
+
protoOf(PlayerConnectionState).w1r = function () {
|
|
1501
1501
|
var tmp;
|
|
1502
1502
|
switch (this.h2_1) {
|
|
1503
1503
|
case 3:
|
|
@@ -1522,7 +1522,7 @@
|
|
|
1522
1522
|
}
|
|
1523
1523
|
return tmp;
|
|
1524
1524
|
};
|
|
1525
|
-
protoOf(PlayerConnectionState).
|
|
1525
|
+
protoOf(PlayerConnectionState).x1r = function () {
|
|
1526
1526
|
var tmp;
|
|
1527
1527
|
switch (this.h2_1) {
|
|
1528
1528
|
case 3:
|
|
@@ -1547,7 +1547,7 @@
|
|
|
1547
1547
|
}
|
|
1548
1548
|
return tmp;
|
|
1549
1549
|
};
|
|
1550
|
-
protoOf(PlayerConnectionState).
|
|
1550
|
+
protoOf(PlayerConnectionState).y1r = function () {
|
|
1551
1551
|
var tmp;
|
|
1552
1552
|
switch (this.h2_1) {
|
|
1553
1553
|
case 3:
|
|
@@ -1570,7 +1570,7 @@
|
|
|
1570
1570
|
}
|
|
1571
1571
|
return tmp;
|
|
1572
1572
|
};
|
|
1573
|
-
protoOf(PlayerConnectionState).
|
|
1573
|
+
protoOf(PlayerConnectionState).z1r = function () {
|
|
1574
1574
|
var tmp;
|
|
1575
1575
|
switch (this.h2_1) {
|
|
1576
1576
|
case 2:
|
|
@@ -1593,7 +1593,7 @@
|
|
|
1593
1593
|
}
|
|
1594
1594
|
return tmp;
|
|
1595
1595
|
};
|
|
1596
|
-
protoOf(PlayerConnectionState).
|
|
1596
|
+
protoOf(PlayerConnectionState).a1s = function () {
|
|
1597
1597
|
var tmp;
|
|
1598
1598
|
switch (this.h2_1) {
|
|
1599
1599
|
case 5:
|
|
@@ -1647,7 +1647,7 @@
|
|
|
1647
1647
|
return PlayerConnectionState_DELETED_instance;
|
|
1648
1648
|
}
|
|
1649
1649
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1650
|
-
return $this.
|
|
1650
|
+
return $this.b1s_1.v1();
|
|
1651
1651
|
}
|
|
1652
1652
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1653
1653
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1662,13 +1662,13 @@
|
|
|
1662
1662
|
Companion_instance_7 = this;
|
|
1663
1663
|
var tmp = this;
|
|
1664
1664
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1665
|
-
tmp.
|
|
1665
|
+
tmp.b1s_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1666
1666
|
}
|
|
1667
|
-
protoOf(Companion_7).
|
|
1667
|
+
protoOf(Companion_7).a18 = function () {
|
|
1668
1668
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1669
1669
|
};
|
|
1670
|
-
protoOf(Companion_7).
|
|
1671
|
-
return this.
|
|
1670
|
+
protoOf(Companion_7).dw = function (typeParamsSerializers) {
|
|
1671
|
+
return this.a18();
|
|
1672
1672
|
};
|
|
1673
1673
|
var Companion_instance_7;
|
|
1674
1674
|
function Companion_getInstance_10() {
|
|
@@ -1690,18 +1690,18 @@
|
|
|
1690
1690
|
function PlayerWaitingState(name, ordinal) {
|
|
1691
1691
|
Enum.call(this, name, ordinal);
|
|
1692
1692
|
}
|
|
1693
|
-
protoOf(PlayerWaitingState).
|
|
1694
|
-
return this.
|
|
1693
|
+
protoOf(PlayerWaitingState).y1q = function () {
|
|
1694
|
+
return this.e1s() || this.f1s();
|
|
1695
1695
|
};
|
|
1696
|
-
protoOf(PlayerWaitingState).
|
|
1696
|
+
protoOf(PlayerWaitingState).e1s = function () {
|
|
1697
1697
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1698
1698
|
};
|
|
1699
|
-
protoOf(PlayerWaitingState).
|
|
1699
|
+
protoOf(PlayerWaitingState).f1s = function () {
|
|
1700
1700
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1701
1701
|
};
|
|
1702
1702
|
function Companion_8() {
|
|
1703
1703
|
}
|
|
1704
|
-
protoOf(Companion_8).
|
|
1704
|
+
protoOf(Companion_8).g1s = function (connection) {
|
|
1705
1705
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1706
1706
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1707
1707
|
};
|
|
@@ -1724,17 +1724,17 @@
|
|
|
1724
1724
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1725
1725
|
tag = tag === VOID ? null : tag;
|
|
1726
1726
|
connection = connection === VOID ? null : connection;
|
|
1727
|
-
this.
|
|
1728
|
-
this.
|
|
1729
|
-
this.
|
|
1730
|
-
this.
|
|
1731
|
-
this.
|
|
1732
|
-
this.
|
|
1733
|
-
this.
|
|
1734
|
-
}
|
|
1735
|
-
protoOf(PlayerState).
|
|
1727
|
+
this.r1q_1 = startFromTime;
|
|
1728
|
+
this.s1q_1 = playerTurnTimeout;
|
|
1729
|
+
this.t1q_1 = waitPlayerUntilTime;
|
|
1730
|
+
this.u1q_1 = state;
|
|
1731
|
+
this.v1q_1 = ready;
|
|
1732
|
+
this.w1q_1 = tag;
|
|
1733
|
+
this.x1q_1 = connection;
|
|
1734
|
+
}
|
|
1735
|
+
protoOf(PlayerState).h1s = function () {
|
|
1736
1736
|
// Inline function 'kotlin.requireNotNull' call
|
|
1737
|
-
var tmp0 = this.
|
|
1737
|
+
var tmp0 = this.x1q_1;
|
|
1738
1738
|
var tmp$ret$1;
|
|
1739
1739
|
$l$block: {
|
|
1740
1740
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -1750,55 +1750,55 @@
|
|
|
1750
1750
|
};
|
|
1751
1751
|
protoOf(PlayerState).toString = function () {
|
|
1752
1752
|
// Inline function 'kotlin.takeIf' call
|
|
1753
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1753
|
+
var this_0 = 'startFromTime=' + toString(this.r1q_1);
|
|
1754
1754
|
var tmp;
|
|
1755
|
-
if (!(this.
|
|
1755
|
+
if (!(this.r1q_1 == null)) {
|
|
1756
1756
|
tmp = this_0;
|
|
1757
1757
|
} else {
|
|
1758
1758
|
tmp = null;
|
|
1759
1759
|
}
|
|
1760
1760
|
var tmp_0 = tmp;
|
|
1761
1761
|
// Inline function 'kotlin.takeIf' call
|
|
1762
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1762
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.s1q_1);
|
|
1763
1763
|
var tmp_1;
|
|
1764
|
-
if (!(this.
|
|
1764
|
+
if (!(this.s1q_1 == null)) {
|
|
1765
1765
|
tmp_1 = this_1;
|
|
1766
1766
|
} else {
|
|
1767
1767
|
tmp_1 = null;
|
|
1768
1768
|
}
|
|
1769
1769
|
var tmp_2 = tmp_1;
|
|
1770
1770
|
// Inline function 'kotlin.takeIf' call
|
|
1771
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1771
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.t1q_1);
|
|
1772
1772
|
var tmp_3;
|
|
1773
|
-
if (!(this.
|
|
1773
|
+
if (!(this.t1q_1 == null)) {
|
|
1774
1774
|
tmp_3 = this_2;
|
|
1775
1775
|
} else {
|
|
1776
1776
|
tmp_3 = null;
|
|
1777
1777
|
}
|
|
1778
1778
|
var tmp_4 = tmp_3;
|
|
1779
|
-
var tmp_5 = 'state=' + this.
|
|
1779
|
+
var tmp_5 = 'state=' + this.u1q_1.toString();
|
|
1780
1780
|
// Inline function 'kotlin.takeIf' call
|
|
1781
|
-
var this_3 = 'ready=' + this.
|
|
1781
|
+
var this_3 = 'ready=' + this.v1q_1;
|
|
1782
1782
|
var tmp_6;
|
|
1783
|
-
if (this.
|
|
1783
|
+
if (this.v1q_1) {
|
|
1784
1784
|
tmp_6 = this_3;
|
|
1785
1785
|
} else {
|
|
1786
1786
|
tmp_6 = null;
|
|
1787
1787
|
}
|
|
1788
1788
|
var tmp_7 = tmp_6;
|
|
1789
1789
|
// Inline function 'kotlin.takeIf' call
|
|
1790
|
-
var this_4 = 'tag=' + this.
|
|
1790
|
+
var this_4 = 'tag=' + this.w1q_1;
|
|
1791
1791
|
var tmp_8;
|
|
1792
|
-
if (!(this.
|
|
1792
|
+
if (!(this.w1q_1 == null)) {
|
|
1793
1793
|
tmp_8 = this_4;
|
|
1794
1794
|
} else {
|
|
1795
1795
|
tmp_8 = null;
|
|
1796
1796
|
}
|
|
1797
1797
|
var tmp_9 = tmp_8;
|
|
1798
1798
|
// Inline function 'kotlin.takeIf' call
|
|
1799
|
-
var this_5 = 'connection=' + toString(this.
|
|
1799
|
+
var this_5 = 'connection=' + toString(this.x1q_1);
|
|
1800
1800
|
var tmp_10;
|
|
1801
|
-
if (!(this.
|
|
1801
|
+
if (!(this.x1q_1 == null)) {
|
|
1802
1802
|
tmp_10 = this_5;
|
|
1803
1803
|
} else {
|
|
1804
1804
|
tmp_10 = null;
|
|
@@ -1806,17 +1806,17 @@
|
|
|
1806
1806
|
var tmp$ret$11 = tmp_10;
|
|
1807
1807
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1808
1808
|
};
|
|
1809
|
-
protoOf(PlayerState).
|
|
1810
|
-
return this.
|
|
1809
|
+
protoOf(PlayerState).y1q = function () {
|
|
1810
|
+
return this.u1q_1.y1q();
|
|
1811
1811
|
};
|
|
1812
1812
|
protoOf(PlayerState).hashCode = function () {
|
|
1813
|
-
var result = this.
|
|
1814
|
-
result = imul(result, 31) + (this.r1q_1 == null ? 0 : this.r1q_1.hashCode()) | 0;
|
|
1813
|
+
var result = this.r1q_1 == null ? 0 : this.r1q_1.hashCode();
|
|
1815
1814
|
result = imul(result, 31) + (this.s1q_1 == null ? 0 : this.s1q_1.hashCode()) | 0;
|
|
1816
|
-
result = imul(result, 31) + this.t1q_1.hashCode() | 0;
|
|
1817
|
-
result = imul(result, 31) +
|
|
1818
|
-
result = imul(result, 31) + (this.v1q_1
|
|
1819
|
-
result = imul(result, 31) + (this.w1q_1 == null ? 0 : this.w1q_1
|
|
1815
|
+
result = imul(result, 31) + (this.t1q_1 == null ? 0 : this.t1q_1.hashCode()) | 0;
|
|
1816
|
+
result = imul(result, 31) + this.u1q_1.hashCode() | 0;
|
|
1817
|
+
result = imul(result, 31) + getBooleanHashCode(this.v1q_1) | 0;
|
|
1818
|
+
result = imul(result, 31) + (this.w1q_1 == null ? 0 : getStringHashCode(this.w1q_1)) | 0;
|
|
1819
|
+
result = imul(result, 31) + (this.x1q_1 == null ? 0 : this.x1q_1.hashCode()) | 0;
|
|
1820
1820
|
return result;
|
|
1821
1821
|
};
|
|
1822
1822
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1824,46 +1824,46 @@
|
|
|
1824
1824
|
return true;
|
|
1825
1825
|
if (!(other instanceof PlayerState))
|
|
1826
1826
|
return false;
|
|
1827
|
-
if (!equals(this.q1q_1, other.q1q_1))
|
|
1828
|
-
return false;
|
|
1829
1827
|
if (!equals(this.r1q_1, other.r1q_1))
|
|
1830
1828
|
return false;
|
|
1831
1829
|
if (!equals(this.s1q_1, other.s1q_1))
|
|
1832
1830
|
return false;
|
|
1833
|
-
if (!this.t1q_1
|
|
1831
|
+
if (!equals(this.t1q_1, other.t1q_1))
|
|
1834
1832
|
return false;
|
|
1835
|
-
if (!
|
|
1833
|
+
if (!this.u1q_1.equals(other.u1q_1))
|
|
1836
1834
|
return false;
|
|
1837
|
-
if (!(this.v1q_1
|
|
1835
|
+
if (!(this.v1q_1 === other.v1q_1))
|
|
1838
1836
|
return false;
|
|
1839
|
-
if (!
|
|
1837
|
+
if (!(this.w1q_1 == other.w1q_1))
|
|
1838
|
+
return false;
|
|
1839
|
+
if (!equals(this.x1q_1, other.x1q_1))
|
|
1840
1840
|
return false;
|
|
1841
1841
|
return true;
|
|
1842
1842
|
};
|
|
1843
1843
|
function Team(playerIds) {
|
|
1844
1844
|
this.playerIds = playerIds;
|
|
1845
1845
|
}
|
|
1846
|
-
protoOf(Team).
|
|
1846
|
+
protoOf(Team).i1s = function () {
|
|
1847
1847
|
return this.playerIds;
|
|
1848
1848
|
};
|
|
1849
1849
|
protoOf(Team).containsPlayer = function (playerId) {
|
|
1850
1850
|
return this.playerIds.o1(playerId);
|
|
1851
1851
|
};
|
|
1852
|
-
protoOf(Team).
|
|
1852
|
+
protoOf(Team).j1s = function () {
|
|
1853
1853
|
return this.playerIds.p(0);
|
|
1854
1854
|
};
|
|
1855
|
-
protoOf(Team).
|
|
1855
|
+
protoOf(Team).d1d = function () {
|
|
1856
1856
|
return this.playerIds.p(1);
|
|
1857
1857
|
};
|
|
1858
1858
|
protoOf(Team).sc = function () {
|
|
1859
1859
|
return this.playerIds;
|
|
1860
1860
|
};
|
|
1861
|
-
protoOf(Team).
|
|
1861
|
+
protoOf(Team).k1s = function (playerIds) {
|
|
1862
1862
|
return new Team(playerIds);
|
|
1863
1863
|
};
|
|
1864
1864
|
protoOf(Team).copy = function (playerIds, $super) {
|
|
1865
1865
|
playerIds = playerIds === VOID ? this.playerIds : playerIds;
|
|
1866
|
-
return $super === VOID ? this.
|
|
1866
|
+
return $super === VOID ? this.k1s(playerIds) : $super.k1s.call(this, playerIds);
|
|
1867
1867
|
};
|
|
1868
1868
|
protoOf(Team).toString = function () {
|
|
1869
1869
|
return 'Team(playerIds=' + toString_0(this.playerIds) + ')';
|
|
@@ -1881,7 +1881,7 @@
|
|
|
1881
1881
|
return true;
|
|
1882
1882
|
};
|
|
1883
1883
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1884
|
-
return $this.
|
|
1884
|
+
return $this.l1s_1.v1();
|
|
1885
1885
|
}
|
|
1886
1886
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1887
1887
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1919,13 +1919,13 @@
|
|
|
1919
1919
|
Companion_instance_9 = this;
|
|
1920
1920
|
var tmp = this;
|
|
1921
1921
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1922
|
-
tmp.
|
|
1922
|
+
tmp.l1s_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1923
1923
|
}
|
|
1924
|
-
protoOf(Companion_9).
|
|
1924
|
+
protoOf(Companion_9).a18 = function () {
|
|
1925
1925
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1926
1926
|
};
|
|
1927
|
-
protoOf(Companion_9).
|
|
1928
|
-
return this.
|
|
1927
|
+
protoOf(Companion_9).dw = function (typeParamsSerializers) {
|
|
1928
|
+
return this.a18();
|
|
1929
1929
|
};
|
|
1930
1930
|
var Companion_instance_9;
|
|
1931
1931
|
function Companion_getInstance_12() {
|
|
@@ -1940,7 +1940,7 @@
|
|
|
1940
1940
|
Companion_getInstance_12();
|
|
1941
1941
|
}
|
|
1942
1942
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1943
|
-
return $this.
|
|
1943
|
+
return $this.m1s_1.v1();
|
|
1944
1944
|
}
|
|
1945
1945
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1946
1946
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1955,13 +1955,13 @@
|
|
|
1955
1955
|
TerminationGameReasonDto.call(this);
|
|
1956
1956
|
var tmp = this;
|
|
1957
1957
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1958
|
-
tmp.
|
|
1958
|
+
tmp.m1s_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1959
1959
|
}
|
|
1960
|
-
protoOf(ProcessingReasonDto).
|
|
1960
|
+
protoOf(ProcessingReasonDto).a18 = function () {
|
|
1961
1961
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1962
1962
|
};
|
|
1963
|
-
protoOf(ProcessingReasonDto).
|
|
1964
|
-
return this.
|
|
1963
|
+
protoOf(ProcessingReasonDto).dw = function (typeParamsSerializers) {
|
|
1964
|
+
return this.a18();
|
|
1965
1965
|
};
|
|
1966
1966
|
protoOf(ProcessingReasonDto).toString = function () {
|
|
1967
1967
|
return 'ProcessingReasonDto';
|
|
@@ -1991,50 +1991,50 @@
|
|
|
1991
1991
|
function $serializer_1() {
|
|
1992
1992
|
$serializer_instance_1 = this;
|
|
1993
1993
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1994
|
-
tmp0_serialDesc.
|
|
1995
|
-
this.
|
|
1994
|
+
tmp0_serialDesc.bv('reason', false);
|
|
1995
|
+
this.n1s_1 = tmp0_serialDesc;
|
|
1996
1996
|
}
|
|
1997
|
-
protoOf($serializer_1).
|
|
1998
|
-
var tmp0_desc = this.
|
|
1999
|
-
var tmp1_output = encoder.
|
|
2000
|
-
tmp1_output.
|
|
2001
|
-
tmp1_output.
|
|
1997
|
+
protoOf($serializer_1).o1s = function (encoder, value) {
|
|
1998
|
+
var tmp0_desc = this.n1s_1;
|
|
1999
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
2000
|
+
tmp1_output.ap(tmp0_desc, 0, value.reason);
|
|
2001
|
+
tmp1_output.mn(tmp0_desc);
|
|
2002
2002
|
};
|
|
2003
|
-
protoOf($serializer_1).
|
|
2004
|
-
return this.
|
|
2003
|
+
protoOf($serializer_1).dk = function (encoder, value) {
|
|
2004
|
+
return this.o1s(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
2005
2005
|
};
|
|
2006
|
-
protoOf($serializer_1).
|
|
2007
|
-
var tmp0_desc = this.
|
|
2006
|
+
protoOf($serializer_1).ek = function (decoder) {
|
|
2007
|
+
var tmp0_desc = this.n1s_1;
|
|
2008
2008
|
var tmp1_flag = true;
|
|
2009
2009
|
var tmp2_index = 0;
|
|
2010
2010
|
var tmp3_bitMask0 = 0;
|
|
2011
2011
|
var tmp4_local0 = null;
|
|
2012
|
-
var tmp5_input = decoder.
|
|
2013
|
-
if (tmp5_input.
|
|
2014
|
-
tmp4_local0 = tmp5_input.
|
|
2012
|
+
var tmp5_input = decoder.ln(tmp0_desc);
|
|
2013
|
+
if (tmp5_input.bo()) {
|
|
2014
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
2015
2015
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2016
2016
|
} else
|
|
2017
2017
|
while (tmp1_flag) {
|
|
2018
|
-
tmp2_index = tmp5_input.
|
|
2018
|
+
tmp2_index = tmp5_input.co(tmp0_desc);
|
|
2019
2019
|
switch (tmp2_index) {
|
|
2020
2020
|
case -1:
|
|
2021
2021
|
tmp1_flag = false;
|
|
2022
2022
|
break;
|
|
2023
2023
|
case 0:
|
|
2024
|
-
tmp4_local0 = tmp5_input.
|
|
2024
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
2025
2025
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2026
2026
|
break;
|
|
2027
2027
|
default:
|
|
2028
2028
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2029
2029
|
}
|
|
2030
2030
|
}
|
|
2031
|
-
tmp5_input.
|
|
2031
|
+
tmp5_input.mn(tmp0_desc);
|
|
2032
2032
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2033
2033
|
};
|
|
2034
|
-
protoOf($serializer_1).
|
|
2035
|
-
return this.
|
|
2034
|
+
protoOf($serializer_1).ck = function () {
|
|
2035
|
+
return this.n1s_1;
|
|
2036
2036
|
};
|
|
2037
|
-
protoOf($serializer_1).
|
|
2037
|
+
protoOf($serializer_1).sv = function () {
|
|
2038
2038
|
// Inline function 'kotlin.arrayOf' call
|
|
2039
2039
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2040
2040
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
}
|
|
2049
2049
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2050
2050
|
if (!(1 === (1 & seen0))) {
|
|
2051
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
2051
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().n1s_1);
|
|
2052
2052
|
}
|
|
2053
2053
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2054
2054
|
$this.reason = reason;
|
|
@@ -2061,7 +2061,7 @@
|
|
|
2061
2061
|
TerminationGameReasonDto.call(this);
|
|
2062
2062
|
this.reason = reason;
|
|
2063
2063
|
}
|
|
2064
|
-
protoOf(GameErrorReasonDto).
|
|
2064
|
+
protoOf(GameErrorReasonDto).y1p = function () {
|
|
2065
2065
|
return this.reason;
|
|
2066
2066
|
};
|
|
2067
2067
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -2088,50 +2088,50 @@
|
|
|
2088
2088
|
function $serializer_2() {
|
|
2089
2089
|
$serializer_instance_2 = this;
|
|
2090
2090
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
2091
|
-
tmp0_serialDesc.
|
|
2092
|
-
this.
|
|
2091
|
+
tmp0_serialDesc.bv('reason', false);
|
|
2092
|
+
this.p1s_1 = tmp0_serialDesc;
|
|
2093
2093
|
}
|
|
2094
|
-
protoOf($serializer_2).
|
|
2095
|
-
var tmp0_desc = this.
|
|
2096
|
-
var tmp1_output = encoder.
|
|
2097
|
-
tmp1_output.
|
|
2098
|
-
tmp1_output.
|
|
2094
|
+
protoOf($serializer_2).q1s = function (encoder, value) {
|
|
2095
|
+
var tmp0_desc = this.p1s_1;
|
|
2096
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
2097
|
+
tmp1_output.ap(tmp0_desc, 0, value.reason);
|
|
2098
|
+
tmp1_output.mn(tmp0_desc);
|
|
2099
2099
|
};
|
|
2100
|
-
protoOf($serializer_2).
|
|
2101
|
-
return this.
|
|
2100
|
+
protoOf($serializer_2).dk = function (encoder, value) {
|
|
2101
|
+
return this.q1s(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
2102
2102
|
};
|
|
2103
|
-
protoOf($serializer_2).
|
|
2104
|
-
var tmp0_desc = this.
|
|
2103
|
+
protoOf($serializer_2).ek = function (decoder) {
|
|
2104
|
+
var tmp0_desc = this.p1s_1;
|
|
2105
2105
|
var tmp1_flag = true;
|
|
2106
2106
|
var tmp2_index = 0;
|
|
2107
2107
|
var tmp3_bitMask0 = 0;
|
|
2108
2108
|
var tmp4_local0 = null;
|
|
2109
|
-
var tmp5_input = decoder.
|
|
2110
|
-
if (tmp5_input.
|
|
2111
|
-
tmp4_local0 = tmp5_input.
|
|
2109
|
+
var tmp5_input = decoder.ln(tmp0_desc);
|
|
2110
|
+
if (tmp5_input.bo()) {
|
|
2111
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
2112
2112
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2113
2113
|
} else
|
|
2114
2114
|
while (tmp1_flag) {
|
|
2115
|
-
tmp2_index = tmp5_input.
|
|
2115
|
+
tmp2_index = tmp5_input.co(tmp0_desc);
|
|
2116
2116
|
switch (tmp2_index) {
|
|
2117
2117
|
case -1:
|
|
2118
2118
|
tmp1_flag = false;
|
|
2119
2119
|
break;
|
|
2120
2120
|
case 0:
|
|
2121
|
-
tmp4_local0 = tmp5_input.
|
|
2121
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
2122
2122
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2123
2123
|
break;
|
|
2124
2124
|
default:
|
|
2125
2125
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2126
2126
|
}
|
|
2127
2127
|
}
|
|
2128
|
-
tmp5_input.
|
|
2128
|
+
tmp5_input.mn(tmp0_desc);
|
|
2129
2129
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2130
2130
|
};
|
|
2131
|
-
protoOf($serializer_2).
|
|
2132
|
-
return this.
|
|
2131
|
+
protoOf($serializer_2).ck = function () {
|
|
2132
|
+
return this.p1s_1;
|
|
2133
2133
|
};
|
|
2134
|
-
protoOf($serializer_2).
|
|
2134
|
+
protoOf($serializer_2).sv = function () {
|
|
2135
2135
|
// Inline function 'kotlin.arrayOf' call
|
|
2136
2136
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2137
2137
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2145,7 +2145,7 @@
|
|
|
2145
2145
|
}
|
|
2146
2146
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2147
2147
|
if (!(1 === (1 & seen0))) {
|
|
2148
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2148
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().p1s_1);
|
|
2149
2149
|
}
|
|
2150
2150
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2151
2151
|
$this.reason = reason;
|
|
@@ -2158,7 +2158,7 @@
|
|
|
2158
2158
|
TerminationGameReasonDto.call(this);
|
|
2159
2159
|
this.reason = reason;
|
|
2160
2160
|
}
|
|
2161
|
-
protoOf(GameFinishedReasonDto).
|
|
2161
|
+
protoOf(GameFinishedReasonDto).y1p = function () {
|
|
2162
2162
|
return this.reason;
|
|
2163
2163
|
};
|
|
2164
2164
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
@@ -2185,50 +2185,50 @@
|
|
|
2185
2185
|
function $serializer_3() {
|
|
2186
2186
|
$serializer_instance_3 = this;
|
|
2187
2187
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
2188
|
-
tmp0_serialDesc.
|
|
2189
|
-
this.
|
|
2188
|
+
tmp0_serialDesc.bv('playerId', false);
|
|
2189
|
+
this.r1s_1 = tmp0_serialDesc;
|
|
2190
2190
|
}
|
|
2191
|
-
protoOf($serializer_3).
|
|
2192
|
-
var tmp0_desc = this.
|
|
2193
|
-
var tmp1_output = encoder.
|
|
2194
|
-
tmp1_output.
|
|
2195
|
-
tmp1_output.
|
|
2191
|
+
protoOf($serializer_3).s1s = function (encoder, value) {
|
|
2192
|
+
var tmp0_desc = this.r1s_1;
|
|
2193
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
2194
|
+
tmp1_output.ap(tmp0_desc, 0, value.t1s_1);
|
|
2195
|
+
tmp1_output.mn(tmp0_desc);
|
|
2196
2196
|
};
|
|
2197
|
-
protoOf($serializer_3).
|
|
2198
|
-
return this.
|
|
2197
|
+
protoOf($serializer_3).dk = function (encoder, value) {
|
|
2198
|
+
return this.s1s(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2199
2199
|
};
|
|
2200
|
-
protoOf($serializer_3).
|
|
2201
|
-
var tmp0_desc = this.
|
|
2200
|
+
protoOf($serializer_3).ek = function (decoder) {
|
|
2201
|
+
var tmp0_desc = this.r1s_1;
|
|
2202
2202
|
var tmp1_flag = true;
|
|
2203
2203
|
var tmp2_index = 0;
|
|
2204
2204
|
var tmp3_bitMask0 = 0;
|
|
2205
2205
|
var tmp4_local0 = null;
|
|
2206
|
-
var tmp5_input = decoder.
|
|
2207
|
-
if (tmp5_input.
|
|
2208
|
-
tmp4_local0 = tmp5_input.
|
|
2206
|
+
var tmp5_input = decoder.ln(tmp0_desc);
|
|
2207
|
+
if (tmp5_input.bo()) {
|
|
2208
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
2209
2209
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2210
2210
|
} else
|
|
2211
2211
|
while (tmp1_flag) {
|
|
2212
|
-
tmp2_index = tmp5_input.
|
|
2212
|
+
tmp2_index = tmp5_input.co(tmp0_desc);
|
|
2213
2213
|
switch (tmp2_index) {
|
|
2214
2214
|
case -1:
|
|
2215
2215
|
tmp1_flag = false;
|
|
2216
2216
|
break;
|
|
2217
2217
|
case 0:
|
|
2218
|
-
tmp4_local0 = tmp5_input.
|
|
2218
|
+
tmp4_local0 = tmp5_input.vn(tmp0_desc, 0);
|
|
2219
2219
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2220
2220
|
break;
|
|
2221
2221
|
default:
|
|
2222
2222
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
|
-
tmp5_input.
|
|
2225
|
+
tmp5_input.mn(tmp0_desc);
|
|
2226
2226
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2227
2227
|
};
|
|
2228
|
-
protoOf($serializer_3).
|
|
2229
|
-
return this.
|
|
2228
|
+
protoOf($serializer_3).ck = function () {
|
|
2229
|
+
return this.r1s_1;
|
|
2230
2230
|
};
|
|
2231
|
-
protoOf($serializer_3).
|
|
2231
|
+
protoOf($serializer_3).sv = function () {
|
|
2232
2232
|
// Inline function 'kotlin.arrayOf' call
|
|
2233
2233
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2234
2234
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2242,10 +2242,10 @@
|
|
|
2242
2242
|
}
|
|
2243
2243
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2244
2244
|
if (!(1 === (1 & seen0))) {
|
|
2245
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2245
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().r1s_1);
|
|
2246
2246
|
}
|
|
2247
2247
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2248
|
-
$this.
|
|
2248
|
+
$this.t1s_1 = playerId;
|
|
2249
2249
|
return $this;
|
|
2250
2250
|
}
|
|
2251
2251
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2253,20 +2253,20 @@
|
|
|
2253
2253
|
}
|
|
2254
2254
|
function PlayerExitReasonDto(playerId) {
|
|
2255
2255
|
TerminationGameReasonDto.call(this);
|
|
2256
|
-
this.
|
|
2256
|
+
this.t1s_1 = playerId;
|
|
2257
2257
|
}
|
|
2258
2258
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2259
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2259
|
+
return 'PlayerExitReasonDto(playerId=' + this.t1s_1 + ')';
|
|
2260
2260
|
};
|
|
2261
2261
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2262
|
-
return getStringHashCode(this.
|
|
2262
|
+
return getStringHashCode(this.t1s_1);
|
|
2263
2263
|
};
|
|
2264
2264
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2265
2265
|
if (this === other)
|
|
2266
2266
|
return true;
|
|
2267
2267
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2268
2268
|
return false;
|
|
2269
|
-
if (!(this.
|
|
2269
|
+
if (!(this.t1s_1 === other.t1s_1))
|
|
2270
2270
|
return false;
|
|
2271
2271
|
return true;
|
|
2272
2272
|
};
|
|
@@ -2279,59 +2279,59 @@
|
|
|
2279
2279
|
function $serializer_4() {
|
|
2280
2280
|
$serializer_instance_4 = this;
|
|
2281
2281
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2282
|
-
tmp0_serialDesc.
|
|
2283
|
-
tmp0_serialDesc.
|
|
2284
|
-
this.
|
|
2285
|
-
}
|
|
2286
|
-
protoOf($serializer_4).
|
|
2287
|
-
var tmp0_desc = this.
|
|
2288
|
-
var tmp1_output = encoder.
|
|
2289
|
-
tmp1_output.
|
|
2290
|
-
tmp1_output.
|
|
2291
|
-
tmp1_output.
|
|
2292
|
-
};
|
|
2293
|
-
protoOf($serializer_4).
|
|
2294
|
-
return this.
|
|
2295
|
-
};
|
|
2296
|
-
protoOf($serializer_4).
|
|
2297
|
-
var tmp0_desc = this.
|
|
2282
|
+
tmp0_serialDesc.bv('playerId', false);
|
|
2283
|
+
tmp0_serialDesc.bv('tag', false);
|
|
2284
|
+
this.u1s_1 = tmp0_serialDesc;
|
|
2285
|
+
}
|
|
2286
|
+
protoOf($serializer_4).v1s = function (encoder, value) {
|
|
2287
|
+
var tmp0_desc = this.u1s_1;
|
|
2288
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
2289
|
+
tmp1_output.ap(tmp0_desc, 0, value.w1s_1);
|
|
2290
|
+
tmp1_output.ep(tmp0_desc, 1, StringSerializer_getInstance(), value.x1s_1);
|
|
2291
|
+
tmp1_output.mn(tmp0_desc);
|
|
2292
|
+
};
|
|
2293
|
+
protoOf($serializer_4).dk = function (encoder, value) {
|
|
2294
|
+
return this.v1s(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2295
|
+
};
|
|
2296
|
+
protoOf($serializer_4).ek = function (decoder) {
|
|
2297
|
+
var tmp0_desc = this.u1s_1;
|
|
2298
2298
|
var tmp1_flag = true;
|
|
2299
2299
|
var tmp2_index = 0;
|
|
2300
2300
|
var tmp3_bitMask0 = 0;
|
|
2301
2301
|
var tmp4_local0 = null;
|
|
2302
2302
|
var tmp5_local1 = null;
|
|
2303
|
-
var tmp6_input = decoder.
|
|
2304
|
-
if (tmp6_input.
|
|
2305
|
-
tmp4_local0 = tmp6_input.
|
|
2303
|
+
var tmp6_input = decoder.ln(tmp0_desc);
|
|
2304
|
+
if (tmp6_input.bo()) {
|
|
2305
|
+
tmp4_local0 = tmp6_input.vn(tmp0_desc, 0);
|
|
2306
2306
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2307
|
-
tmp5_local1 = tmp6_input.
|
|
2307
|
+
tmp5_local1 = tmp6_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2308
2308
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2309
2309
|
} else
|
|
2310
2310
|
while (tmp1_flag) {
|
|
2311
|
-
tmp2_index = tmp6_input.
|
|
2311
|
+
tmp2_index = tmp6_input.co(tmp0_desc);
|
|
2312
2312
|
switch (tmp2_index) {
|
|
2313
2313
|
case -1:
|
|
2314
2314
|
tmp1_flag = false;
|
|
2315
2315
|
break;
|
|
2316
2316
|
case 0:
|
|
2317
|
-
tmp4_local0 = tmp6_input.
|
|
2317
|
+
tmp4_local0 = tmp6_input.vn(tmp0_desc, 0);
|
|
2318
2318
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2319
2319
|
break;
|
|
2320
2320
|
case 1:
|
|
2321
|
-
tmp5_local1 = tmp6_input.
|
|
2321
|
+
tmp5_local1 = tmp6_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2322
2322
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2323
2323
|
break;
|
|
2324
2324
|
default:
|
|
2325
2325
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2326
2326
|
}
|
|
2327
2327
|
}
|
|
2328
|
-
tmp6_input.
|
|
2328
|
+
tmp6_input.mn(tmp0_desc);
|
|
2329
2329
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2330
2330
|
};
|
|
2331
|
-
protoOf($serializer_4).
|
|
2332
|
-
return this.
|
|
2331
|
+
protoOf($serializer_4).ck = function () {
|
|
2332
|
+
return this.u1s_1;
|
|
2333
2333
|
};
|
|
2334
|
-
protoOf($serializer_4).
|
|
2334
|
+
protoOf($serializer_4).sv = function () {
|
|
2335
2335
|
// Inline function 'kotlin.arrayOf' call
|
|
2336
2336
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2337
2337
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2345,11 +2345,11 @@
|
|
|
2345
2345
|
}
|
|
2346
2346
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2347
2347
|
if (!(3 === (3 & seen0))) {
|
|
2348
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2348
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().u1s_1);
|
|
2349
2349
|
}
|
|
2350
2350
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2351
|
-
$this.
|
|
2352
|
-
$this.
|
|
2351
|
+
$this.w1s_1 = playerId;
|
|
2352
|
+
$this.x1s_1 = tag;
|
|
2353
2353
|
return $this;
|
|
2354
2354
|
}
|
|
2355
2355
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2357,15 +2357,15 @@
|
|
|
2357
2357
|
}
|
|
2358
2358
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2359
2359
|
TerminationGameReasonDto.call(this);
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2360
|
+
this.w1s_1 = playerId;
|
|
2361
|
+
this.x1s_1 = tag;
|
|
2362
2362
|
}
|
|
2363
2363
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2364
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2364
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.w1s_1 + ', tag=' + this.x1s_1 + ')';
|
|
2365
2365
|
};
|
|
2366
2366
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2367
|
-
var result = getStringHashCode(this.
|
|
2368
|
-
result = imul(result, 31) + (this.
|
|
2367
|
+
var result = getStringHashCode(this.w1s_1);
|
|
2368
|
+
result = imul(result, 31) + (this.x1s_1 == null ? 0 : getStringHashCode(this.x1s_1)) | 0;
|
|
2369
2369
|
return result;
|
|
2370
2370
|
};
|
|
2371
2371
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2373,9 +2373,9 @@
|
|
|
2373
2373
|
return true;
|
|
2374
2374
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2375
2375
|
return false;
|
|
2376
|
-
if (!(this.
|
|
2376
|
+
if (!(this.w1s_1 === other.w1s_1))
|
|
2377
2377
|
return false;
|
|
2378
|
-
if (!(this.
|
|
2378
|
+
if (!(this.x1s_1 == other.x1s_1))
|
|
2379
2379
|
return false;
|
|
2380
2380
|
return true;
|
|
2381
2381
|
};
|
|
@@ -2388,59 +2388,59 @@
|
|
|
2388
2388
|
function $serializer_5() {
|
|
2389
2389
|
$serializer_instance_5 = this;
|
|
2390
2390
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2391
|
-
tmp0_serialDesc.
|
|
2392
|
-
tmp0_serialDesc.
|
|
2393
|
-
this.
|
|
2394
|
-
}
|
|
2395
|
-
protoOf($serializer_5).
|
|
2396
|
-
var tmp0_desc = this.
|
|
2397
|
-
var tmp1_output = encoder.
|
|
2398
|
-
tmp1_output.
|
|
2399
|
-
tmp1_output.
|
|
2400
|
-
tmp1_output.
|
|
2401
|
-
};
|
|
2402
|
-
protoOf($serializer_5).
|
|
2403
|
-
return this.
|
|
2404
|
-
};
|
|
2405
|
-
protoOf($serializer_5).
|
|
2406
|
-
var tmp0_desc = this.
|
|
2391
|
+
tmp0_serialDesc.bv('playerId', false);
|
|
2392
|
+
tmp0_serialDesc.bv('tag', false);
|
|
2393
|
+
this.y1s_1 = tmp0_serialDesc;
|
|
2394
|
+
}
|
|
2395
|
+
protoOf($serializer_5).z1s = function (encoder, value) {
|
|
2396
|
+
var tmp0_desc = this.y1s_1;
|
|
2397
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
2398
|
+
tmp1_output.ap(tmp0_desc, 0, value.a1t_1);
|
|
2399
|
+
tmp1_output.ep(tmp0_desc, 1, StringSerializer_getInstance(), value.b1t_1);
|
|
2400
|
+
tmp1_output.mn(tmp0_desc);
|
|
2401
|
+
};
|
|
2402
|
+
protoOf($serializer_5).dk = function (encoder, value) {
|
|
2403
|
+
return this.z1s(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2404
|
+
};
|
|
2405
|
+
protoOf($serializer_5).ek = function (decoder) {
|
|
2406
|
+
var tmp0_desc = this.y1s_1;
|
|
2407
2407
|
var tmp1_flag = true;
|
|
2408
2408
|
var tmp2_index = 0;
|
|
2409
2409
|
var tmp3_bitMask0 = 0;
|
|
2410
2410
|
var tmp4_local0 = null;
|
|
2411
2411
|
var tmp5_local1 = null;
|
|
2412
|
-
var tmp6_input = decoder.
|
|
2413
|
-
if (tmp6_input.
|
|
2414
|
-
tmp4_local0 = tmp6_input.
|
|
2412
|
+
var tmp6_input = decoder.ln(tmp0_desc);
|
|
2413
|
+
if (tmp6_input.bo()) {
|
|
2414
|
+
tmp4_local0 = tmp6_input.vn(tmp0_desc, 0);
|
|
2415
2415
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2416
|
-
tmp5_local1 = tmp6_input.
|
|
2416
|
+
tmp5_local1 = tmp6_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2417
2417
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2418
2418
|
} else
|
|
2419
2419
|
while (tmp1_flag) {
|
|
2420
|
-
tmp2_index = tmp6_input.
|
|
2420
|
+
tmp2_index = tmp6_input.co(tmp0_desc);
|
|
2421
2421
|
switch (tmp2_index) {
|
|
2422
2422
|
case -1:
|
|
2423
2423
|
tmp1_flag = false;
|
|
2424
2424
|
break;
|
|
2425
2425
|
case 0:
|
|
2426
|
-
tmp4_local0 = tmp6_input.
|
|
2426
|
+
tmp4_local0 = tmp6_input.vn(tmp0_desc, 0);
|
|
2427
2427
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2428
2428
|
break;
|
|
2429
2429
|
case 1:
|
|
2430
|
-
tmp5_local1 = tmp6_input.
|
|
2430
|
+
tmp5_local1 = tmp6_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2431
2431
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2432
2432
|
break;
|
|
2433
2433
|
default:
|
|
2434
2434
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2435
2435
|
}
|
|
2436
2436
|
}
|
|
2437
|
-
tmp6_input.
|
|
2437
|
+
tmp6_input.mn(tmp0_desc);
|
|
2438
2438
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2439
2439
|
};
|
|
2440
|
-
protoOf($serializer_5).
|
|
2441
|
-
return this.
|
|
2440
|
+
protoOf($serializer_5).ck = function () {
|
|
2441
|
+
return this.y1s_1;
|
|
2442
2442
|
};
|
|
2443
|
-
protoOf($serializer_5).
|
|
2443
|
+
protoOf($serializer_5).sv = function () {
|
|
2444
2444
|
// Inline function 'kotlin.arrayOf' call
|
|
2445
2445
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2446
2446
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2454,11 +2454,11 @@
|
|
|
2454
2454
|
}
|
|
2455
2455
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2456
2456
|
if (!(3 === (3 & seen0))) {
|
|
2457
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2457
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().y1s_1);
|
|
2458
2458
|
}
|
|
2459
2459
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2460
|
-
$this.
|
|
2461
|
-
$this.
|
|
2460
|
+
$this.a1t_1 = playerId;
|
|
2461
|
+
$this.b1t_1 = tag;
|
|
2462
2462
|
return $this;
|
|
2463
2463
|
}
|
|
2464
2464
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2466,15 +2466,15 @@
|
|
|
2466
2466
|
}
|
|
2467
2467
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2468
2468
|
TerminationGameReasonDto.call(this);
|
|
2469
|
-
this.
|
|
2470
|
-
this.
|
|
2469
|
+
this.a1t_1 = playerId;
|
|
2470
|
+
this.b1t_1 = tag;
|
|
2471
2471
|
}
|
|
2472
2472
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2473
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2473
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.a1t_1 + ', tag=' + this.b1t_1 + ')';
|
|
2474
2474
|
};
|
|
2475
2475
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2476
|
-
var result = getStringHashCode(this.
|
|
2477
|
-
result = imul(result, 31) + (this.
|
|
2476
|
+
var result = getStringHashCode(this.a1t_1);
|
|
2477
|
+
result = imul(result, 31) + (this.b1t_1 == null ? 0 : getStringHashCode(this.b1t_1)) | 0;
|
|
2478
2478
|
return result;
|
|
2479
2479
|
};
|
|
2480
2480
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2482,14 +2482,14 @@
|
|
|
2482
2482
|
return true;
|
|
2483
2483
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2484
2484
|
return false;
|
|
2485
|
-
if (!(this.
|
|
2485
|
+
if (!(this.a1t_1 === other.a1t_1))
|
|
2486
2486
|
return false;
|
|
2487
|
-
if (!(this.
|
|
2487
|
+
if (!(this.b1t_1 == other.b1t_1))
|
|
2488
2488
|
return false;
|
|
2489
2489
|
return true;
|
|
2490
2490
|
};
|
|
2491
2491
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2492
|
-
return $this.
|
|
2492
|
+
return $this.c1t_1.v1();
|
|
2493
2493
|
}
|
|
2494
2494
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2495
2495
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2504,13 +2504,13 @@
|
|
|
2504
2504
|
TerminationGameReasonDto.call(this);
|
|
2505
2505
|
var tmp = this;
|
|
2506
2506
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2507
|
-
tmp.
|
|
2507
|
+
tmp.c1t_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2508
2508
|
}
|
|
2509
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2509
|
+
protoOf(WaitingForConnectionReasonDto).a18 = function () {
|
|
2510
2510
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2511
2511
|
};
|
|
2512
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2513
|
-
return this.
|
|
2512
|
+
protoOf(WaitingForConnectionReasonDto).dw = function (typeParamsSerializers) {
|
|
2513
|
+
return this.a18();
|
|
2514
2514
|
};
|
|
2515
2515
|
protoOf(WaitingForConnectionReasonDto).toString = function () {
|
|
2516
2516
|
return 'WaitingForConnectionReasonDto';
|
|
@@ -2532,7 +2532,7 @@
|
|
|
2532
2532
|
return WaitingForConnectionReasonDto_instance;
|
|
2533
2533
|
}
|
|
2534
2534
|
function mapToDto(_this__u8e3s4) {
|
|
2535
|
-
return _this__u8e3s4.
|
|
2535
|
+
return _this__u8e3s4.n17_1;
|
|
2536
2536
|
}
|
|
2537
2537
|
function mapFromDto(_this__u8e3s4) {
|
|
2538
2538
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2625,15 +2625,15 @@
|
|
|
2625
2625
|
}
|
|
2626
2626
|
function mapToDto_3(_this__u8e3s4) {
|
|
2627
2627
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2628
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2628
|
+
return new PlayerExitReasonDto(_this__u8e3s4.t1p_1);
|
|
2629
2629
|
}
|
|
2630
2630
|
function mapToDto_4(_this__u8e3s4) {
|
|
2631
2631
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2632
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2632
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.o1p_1, _this__u8e3s4.tag);
|
|
2633
2633
|
}
|
|
2634
2634
|
function mapToDto_5(_this__u8e3s4) {
|
|
2635
2635
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2636
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2636
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.s1p_1, _this__u8e3s4.tag);
|
|
2637
2637
|
}
|
|
2638
2638
|
function mapToDto_6(_this__u8e3s4) {
|
|
2639
2639
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2655,15 +2655,15 @@
|
|
|
2655
2655
|
}
|
|
2656
2656
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2657
2657
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2658
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2658
|
+
return new PlayerExitReason(_this__u8e3s4.t1s_1);
|
|
2659
2659
|
}
|
|
2660
2660
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2661
2661
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2662
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2662
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.w1s_1, _this__u8e3s4.x1s_1);
|
|
2663
2663
|
}
|
|
2664
2664
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2665
2665
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2666
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2666
|
+
return new PlayerTimeoutReason(_this__u8e3s4.a1t_1, _this__u8e3s4.b1t_1);
|
|
2667
2667
|
}
|
|
2668
2668
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2669
2669
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2704,8 +2704,8 @@
|
|
|
2704
2704
|
}
|
|
2705
2705
|
}
|
|
2706
2706
|
function mapToDto_8(_this__u8e3s4) {
|
|
2707
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2708
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2707
|
+
var tmp0_playerId = _this__u8e3s4.e1q_1;
|
|
2708
|
+
var tmp1_uid = _this__u8e3s4.e1q_1;
|
|
2709
2709
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2710
2710
|
var tmp3_name = _this__u8e3s4.name;
|
|
2711
2711
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2724,70 +2724,70 @@
|
|
|
2724
2724
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2725
2725
|
}
|
|
2726
2726
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2727
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2728
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2729
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2730
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2731
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2732
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2733
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2734
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2727
|
+
var tmp0_elvis_lhs = _this__u8e3s4.d1t_1;
|
|
2728
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.e1t_1) : tmp0_elvis_lhs;
|
|
2729
|
+
var tmp1_elvis_lhs = _this__u8e3s4.f1t_1;
|
|
2730
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.g1t_1) : tmp1_elvis_lhs;
|
|
2731
|
+
var tmp2_elvis_lhs = _this__u8e3s4.h1t_1;
|
|
2732
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.i1t_1 : tmp2_elvis_lhs;
|
|
2733
|
+
var tmp3_elvis_lhs = _this__u8e3s4.k1t_1;
|
|
2734
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.l1t_1, _this__u8e3s4.j1t_1);
|
|
2735
2735
|
}
|
|
2736
2736
|
function mapToDto_9(_this__u8e3s4) {
|
|
2737
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2737
|
+
var tmp0_safe_receiver = _this__u8e3s4.r1q_1;
|
|
2738
2738
|
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2739
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2739
|
+
var tmp1_safe_receiver = _this__u8e3s4.t1q_1;
|
|
2740
2740
|
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2741
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2741
|
+
var tmp2_safe_receiver = _this__u8e3s4.s1q_1;
|
|
2742
2742
|
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2743
|
-
var tmp7_state = _this__u8e3s4.
|
|
2744
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2745
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2746
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2743
|
+
var tmp7_state = _this__u8e3s4.u1q_1;
|
|
2744
|
+
var tmp8_tag = _this__u8e3s4.w1q_1;
|
|
2745
|
+
var tmp9_ready = _this__u8e3s4.v1q_1;
|
|
2746
|
+
var tmp3_safe_receiver = _this__u8e3s4.x1q_1;
|
|
2747
2747
|
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2748
2748
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2749
2749
|
}
|
|
2750
2750
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2751
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2751
|
+
var tmp0_safe_receiver = _this__u8e3s4.m1t_1;
|
|
2752
2752
|
var tmp;
|
|
2753
2753
|
if (tmp0_safe_receiver == null) {
|
|
2754
2754
|
tmp = null;
|
|
2755
2755
|
} else {
|
|
2756
2756
|
// Inline function 'kotlin.let' call
|
|
2757
|
-
tmp = Companion_getInstance_0().
|
|
2757
|
+
tmp = Companion_getInstance_0().ug(tmp0_safe_receiver);
|
|
2758
2758
|
}
|
|
2759
2759
|
var tmp5_startFromTime = tmp;
|
|
2760
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2760
|
+
var tmp1_safe_receiver = _this__u8e3s4.o1t_1;
|
|
2761
2761
|
var tmp_0;
|
|
2762
2762
|
if (tmp1_safe_receiver == null) {
|
|
2763
2763
|
tmp_0 = null;
|
|
2764
2764
|
} else {
|
|
2765
2765
|
// Inline function 'kotlin.let' call
|
|
2766
|
-
tmp_0 = Companion_getInstance_0().
|
|
2766
|
+
tmp_0 = Companion_getInstance_0().ug(tmp1_safe_receiver);
|
|
2767
2767
|
}
|
|
2768
2768
|
var tmp6_waitPlayerUntilTime = tmp_0;
|
|
2769
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2769
|
+
var tmp2_safe_receiver = _this__u8e3s4.n1t_1;
|
|
2770
2770
|
var tmp_1;
|
|
2771
2771
|
if (tmp2_safe_receiver == null) {
|
|
2772
2772
|
tmp_1 = null;
|
|
2773
2773
|
} else {
|
|
2774
2774
|
// Inline function 'kotlin.let' call
|
|
2775
|
-
tmp_1 = Companion_getInstance_0().
|
|
2775
|
+
tmp_1 = Companion_getInstance_0().ug(tmp2_safe_receiver);
|
|
2776
2776
|
}
|
|
2777
2777
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
2778
|
-
var tmp8_state = _this__u8e3s4.
|
|
2779
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2780
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2778
|
+
var tmp8_state = _this__u8e3s4.p1t_1;
|
|
2779
|
+
var tmp9_tag = _this__u8e3s4.r1t_1;
|
|
2780
|
+
var tmp3_elvis_lhs = _this__u8e3s4.q1t_1;
|
|
2781
2781
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2782
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2782
|
+
var tmp4_safe_receiver = _this__u8e3s4.s1t_1;
|
|
2783
2783
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2784
2784
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2785
2785
|
}
|
|
2786
2786
|
function mapToDto_10(_this__u8e3s4) {
|
|
2787
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2787
|
+
return new PlayerConnectionDto(_this__u8e3s4.c1r_1, _this__u8e3s4.d1r_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.e1r_1));
|
|
2788
2788
|
}
|
|
2789
2789
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2790
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2790
|
+
return new PlayerConnection(_this__u8e3s4.t1t_1, Companion_getInstance_0().ug(_this__u8e3s4.u1t_1), Companion_getInstance().og(_this__u8e3s4.v1t_1));
|
|
2791
2791
|
}
|
|
2792
2792
|
function Companion_15() {
|
|
2793
2793
|
}
|
|
@@ -2798,48 +2798,48 @@
|
|
|
2798
2798
|
function $serializer_6() {
|
|
2799
2799
|
$serializer_instance_6 = this;
|
|
2800
2800
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 9);
|
|
2801
|
-
tmp0_serialDesc.
|
|
2802
|
-
tmp0_serialDesc.
|
|
2803
|
-
tmp0_serialDesc.
|
|
2804
|
-
tmp0_serialDesc.
|
|
2805
|
-
tmp0_serialDesc.
|
|
2806
|
-
tmp0_serialDesc.
|
|
2807
|
-
tmp0_serialDesc.
|
|
2808
|
-
tmp0_serialDesc.
|
|
2809
|
-
tmp0_serialDesc.
|
|
2810
|
-
this.
|
|
2811
|
-
}
|
|
2812
|
-
protoOf($serializer_6).
|
|
2813
|
-
var tmp0_desc = this.
|
|
2814
|
-
var tmp1_output = encoder.
|
|
2815
|
-
if (tmp1_output.
|
|
2816
|
-
tmp1_output.
|
|
2801
|
+
tmp0_serialDesc.bv('playerId', true);
|
|
2802
|
+
tmp0_serialDesc.bv('uid', true);
|
|
2803
|
+
tmp0_serialDesc.bv('name', true);
|
|
2804
|
+
tmp0_serialDesc.bv('nickname', true);
|
|
2805
|
+
tmp0_serialDesc.bv('avatarUrl', true);
|
|
2806
|
+
tmp0_serialDesc.bv('photo', true);
|
|
2807
|
+
tmp0_serialDesc.bv('rating', false);
|
|
2808
|
+
tmp0_serialDesc.bv('is_bot', false);
|
|
2809
|
+
tmp0_serialDesc.bv('lucky_factor', false);
|
|
2810
|
+
this.w1t_1 = tmp0_serialDesc;
|
|
2811
|
+
}
|
|
2812
|
+
protoOf($serializer_6).x1t = function (encoder, value) {
|
|
2813
|
+
var tmp0_desc = this.w1t_1;
|
|
2814
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
2815
|
+
if (tmp1_output.ip(tmp0_desc, 0) ? true : !(value.d1t_1 == null)) {
|
|
2816
|
+
tmp1_output.ep(tmp0_desc, 0, StringSerializer_getInstance(), value.d1t_1);
|
|
2817
2817
|
}
|
|
2818
|
-
if (tmp1_output.
|
|
2819
|
-
tmp1_output.
|
|
2818
|
+
if (tmp1_output.ip(tmp0_desc, 1) ? true : !(value.e1t_1 == null)) {
|
|
2819
|
+
tmp1_output.ep(tmp0_desc, 1, StringSerializer_getInstance(), value.e1t_1);
|
|
2820
2820
|
}
|
|
2821
|
-
if (tmp1_output.
|
|
2822
|
-
tmp1_output.
|
|
2821
|
+
if (tmp1_output.ip(tmp0_desc, 2) ? true : !(value.f1t_1 == null)) {
|
|
2822
|
+
tmp1_output.ep(tmp0_desc, 2, StringSerializer_getInstance(), value.f1t_1);
|
|
2823
2823
|
}
|
|
2824
|
-
if (tmp1_output.
|
|
2825
|
-
tmp1_output.
|
|
2824
|
+
if (tmp1_output.ip(tmp0_desc, 3) ? true : !(value.g1t_1 == null)) {
|
|
2825
|
+
tmp1_output.ep(tmp0_desc, 3, StringSerializer_getInstance(), value.g1t_1);
|
|
2826
2826
|
}
|
|
2827
|
-
if (tmp1_output.
|
|
2828
|
-
tmp1_output.
|
|
2827
|
+
if (tmp1_output.ip(tmp0_desc, 4) ? true : !(value.h1t_1 == null)) {
|
|
2828
|
+
tmp1_output.ep(tmp0_desc, 4, StringSerializer_getInstance(), value.h1t_1);
|
|
2829
2829
|
}
|
|
2830
|
-
if (tmp1_output.
|
|
2831
|
-
tmp1_output.
|
|
2830
|
+
if (tmp1_output.ip(tmp0_desc, 5) ? true : !(value.i1t_1 == null)) {
|
|
2831
|
+
tmp1_output.ep(tmp0_desc, 5, StringSerializer_getInstance(), value.i1t_1);
|
|
2832
2832
|
}
|
|
2833
|
-
tmp1_output.
|
|
2834
|
-
tmp1_output.
|
|
2835
|
-
tmp1_output.
|
|
2836
|
-
tmp1_output.
|
|
2833
|
+
tmp1_output.ep(tmp0_desc, 6, DoubleSerializer_getInstance(), value.j1t_1);
|
|
2834
|
+
tmp1_output.ep(tmp0_desc, 7, BooleanSerializer_getInstance(), value.k1t_1);
|
|
2835
|
+
tmp1_output.ep(tmp0_desc, 8, FloatSerializer_getInstance(), value.l1t_1);
|
|
2836
|
+
tmp1_output.mn(tmp0_desc);
|
|
2837
2837
|
};
|
|
2838
|
-
protoOf($serializer_6).
|
|
2839
|
-
return this.
|
|
2838
|
+
protoOf($serializer_6).dk = function (encoder, value) {
|
|
2839
|
+
return this.x1t(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2840
2840
|
};
|
|
2841
|
-
protoOf($serializer_6).
|
|
2842
|
-
var tmp0_desc = this.
|
|
2841
|
+
protoOf($serializer_6).ek = function (decoder) {
|
|
2842
|
+
var tmp0_desc = this.w1t_1;
|
|
2843
2843
|
var tmp1_flag = true;
|
|
2844
2844
|
var tmp2_index = 0;
|
|
2845
2845
|
var tmp3_bitMask0 = 0;
|
|
@@ -2852,80 +2852,80 @@
|
|
|
2852
2852
|
var tmp10_local6 = null;
|
|
2853
2853
|
var tmp11_local7 = null;
|
|
2854
2854
|
var tmp12_local8 = null;
|
|
2855
|
-
var tmp13_input = decoder.
|
|
2856
|
-
if (tmp13_input.
|
|
2857
|
-
tmp4_local0 = tmp13_input.
|
|
2855
|
+
var tmp13_input = decoder.ln(tmp0_desc);
|
|
2856
|
+
if (tmp13_input.bo()) {
|
|
2857
|
+
tmp4_local0 = tmp13_input.zn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2858
2858
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2859
|
-
tmp5_local1 = tmp13_input.
|
|
2859
|
+
tmp5_local1 = tmp13_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2860
2860
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2861
|
-
tmp6_local2 = tmp13_input.
|
|
2861
|
+
tmp6_local2 = tmp13_input.zn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2862
2862
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2863
|
-
tmp7_local3 = tmp13_input.
|
|
2863
|
+
tmp7_local3 = tmp13_input.zn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2864
2864
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2865
|
-
tmp8_local4 = tmp13_input.
|
|
2865
|
+
tmp8_local4 = tmp13_input.zn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2866
2866
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2867
|
-
tmp9_local5 = tmp13_input.
|
|
2867
|
+
tmp9_local5 = tmp13_input.zn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2868
2868
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2869
|
-
tmp10_local6 = tmp13_input.
|
|
2869
|
+
tmp10_local6 = tmp13_input.zn(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2870
2870
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2871
|
-
tmp11_local7 = tmp13_input.
|
|
2871
|
+
tmp11_local7 = tmp13_input.zn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2872
2872
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2873
|
-
tmp12_local8 = tmp13_input.
|
|
2873
|
+
tmp12_local8 = tmp13_input.zn(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2874
2874
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2875
2875
|
} else
|
|
2876
2876
|
while (tmp1_flag) {
|
|
2877
|
-
tmp2_index = tmp13_input.
|
|
2877
|
+
tmp2_index = tmp13_input.co(tmp0_desc);
|
|
2878
2878
|
switch (tmp2_index) {
|
|
2879
2879
|
case -1:
|
|
2880
2880
|
tmp1_flag = false;
|
|
2881
2881
|
break;
|
|
2882
2882
|
case 0:
|
|
2883
|
-
tmp4_local0 = tmp13_input.
|
|
2883
|
+
tmp4_local0 = tmp13_input.zn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2884
2884
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2885
2885
|
break;
|
|
2886
2886
|
case 1:
|
|
2887
|
-
tmp5_local1 = tmp13_input.
|
|
2887
|
+
tmp5_local1 = tmp13_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2888
2888
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2889
2889
|
break;
|
|
2890
2890
|
case 2:
|
|
2891
|
-
tmp6_local2 = tmp13_input.
|
|
2891
|
+
tmp6_local2 = tmp13_input.zn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2892
2892
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2893
2893
|
break;
|
|
2894
2894
|
case 3:
|
|
2895
|
-
tmp7_local3 = tmp13_input.
|
|
2895
|
+
tmp7_local3 = tmp13_input.zn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2896
2896
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2897
2897
|
break;
|
|
2898
2898
|
case 4:
|
|
2899
|
-
tmp8_local4 = tmp13_input.
|
|
2899
|
+
tmp8_local4 = tmp13_input.zn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2900
2900
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2901
2901
|
break;
|
|
2902
2902
|
case 5:
|
|
2903
|
-
tmp9_local5 = tmp13_input.
|
|
2903
|
+
tmp9_local5 = tmp13_input.zn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2904
2904
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2905
2905
|
break;
|
|
2906
2906
|
case 6:
|
|
2907
|
-
tmp10_local6 = tmp13_input.
|
|
2907
|
+
tmp10_local6 = tmp13_input.zn(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2908
2908
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2909
2909
|
break;
|
|
2910
2910
|
case 7:
|
|
2911
|
-
tmp11_local7 = tmp13_input.
|
|
2911
|
+
tmp11_local7 = tmp13_input.zn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2912
2912
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2913
2913
|
break;
|
|
2914
2914
|
case 8:
|
|
2915
|
-
tmp12_local8 = tmp13_input.
|
|
2915
|
+
tmp12_local8 = tmp13_input.zn(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2916
2916
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2917
2917
|
break;
|
|
2918
2918
|
default:
|
|
2919
2919
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2920
2920
|
}
|
|
2921
2921
|
}
|
|
2922
|
-
tmp13_input.
|
|
2922
|
+
tmp13_input.mn(tmp0_desc);
|
|
2923
2923
|
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);
|
|
2924
2924
|
};
|
|
2925
|
-
protoOf($serializer_6).
|
|
2926
|
-
return this.
|
|
2925
|
+
protoOf($serializer_6).ck = function () {
|
|
2926
|
+
return this.w1t_1;
|
|
2927
2927
|
};
|
|
2928
|
-
protoOf($serializer_6).
|
|
2928
|
+
protoOf($serializer_6).sv = function () {
|
|
2929
2929
|
// Inline function 'kotlin.arrayOf' call
|
|
2930
2930
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2931
2931
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2939,35 +2939,35 @@
|
|
|
2939
2939
|
}
|
|
2940
2940
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2941
2941
|
if (!(448 === (448 & seen0))) {
|
|
2942
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
2942
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().w1t_1);
|
|
2943
2943
|
}
|
|
2944
2944
|
if (0 === (seen0 & 1))
|
|
2945
|
-
$this.
|
|
2945
|
+
$this.d1t_1 = null;
|
|
2946
2946
|
else
|
|
2947
|
-
$this.
|
|
2947
|
+
$this.d1t_1 = playerId;
|
|
2948
2948
|
if (0 === (seen0 & 2))
|
|
2949
|
-
$this.
|
|
2949
|
+
$this.e1t_1 = null;
|
|
2950
2950
|
else
|
|
2951
|
-
$this.
|
|
2951
|
+
$this.e1t_1 = uid;
|
|
2952
2952
|
if (0 === (seen0 & 4))
|
|
2953
|
-
$this.
|
|
2953
|
+
$this.f1t_1 = null;
|
|
2954
2954
|
else
|
|
2955
|
-
$this.
|
|
2955
|
+
$this.f1t_1 = name;
|
|
2956
2956
|
if (0 === (seen0 & 8))
|
|
2957
|
-
$this.
|
|
2957
|
+
$this.g1t_1 = null;
|
|
2958
2958
|
else
|
|
2959
|
-
$this.
|
|
2959
|
+
$this.g1t_1 = nickname;
|
|
2960
2960
|
if (0 === (seen0 & 16))
|
|
2961
|
-
$this.
|
|
2961
|
+
$this.h1t_1 = null;
|
|
2962
2962
|
else
|
|
2963
|
-
$this.
|
|
2963
|
+
$this.h1t_1 = avatarUrl;
|
|
2964
2964
|
if (0 === (seen0 & 32))
|
|
2965
|
-
$this.
|
|
2965
|
+
$this.i1t_1 = null;
|
|
2966
2966
|
else
|
|
2967
|
-
$this.
|
|
2968
|
-
$this.
|
|
2969
|
-
$this.
|
|
2970
|
-
$this.
|
|
2967
|
+
$this.i1t_1 = photo;
|
|
2968
|
+
$this.j1t_1 = rating;
|
|
2969
|
+
$this.k1t_1 = isBot;
|
|
2970
|
+
$this.l1t_1 = initialLuckyFactor;
|
|
2971
2971
|
return $this;
|
|
2972
2972
|
}
|
|
2973
2973
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2980,47 +2980,47 @@
|
|
|
2980
2980
|
nickname = nickname === VOID ? null : nickname;
|
|
2981
2981
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2982
2982
|
photo = photo === VOID ? null : photo;
|
|
2983
|
-
this.
|
|
2984
|
-
this.
|
|
2985
|
-
this.
|
|
2986
|
-
this.
|
|
2987
|
-
this.
|
|
2988
|
-
this.
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2991
|
-
this.
|
|
2992
|
-
}
|
|
2993
|
-
protoOf(GameUserInfoDto).
|
|
2994
|
-
return this.
|
|
2995
|
-
};
|
|
2996
|
-
protoOf(GameUserInfoDto).
|
|
2983
|
+
this.d1t_1 = playerId;
|
|
2984
|
+
this.e1t_1 = uid;
|
|
2985
|
+
this.f1t_1 = name;
|
|
2986
|
+
this.g1t_1 = nickname;
|
|
2987
|
+
this.h1t_1 = avatarUrl;
|
|
2988
|
+
this.i1t_1 = photo;
|
|
2989
|
+
this.j1t_1 = rating;
|
|
2990
|
+
this.k1t_1 = isBot;
|
|
2991
|
+
this.l1t_1 = initialLuckyFactor;
|
|
2992
|
+
}
|
|
2993
|
+
protoOf(GameUserInfoDto).y1t = function () {
|
|
2994
|
+
return this.z1t(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2995
|
+
};
|
|
2996
|
+
protoOf(GameUserInfoDto).a1u = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2997
2997
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2998
2998
|
};
|
|
2999
|
-
protoOf(GameUserInfoDto).
|
|
3000
|
-
playerId = playerId === VOID ? this.
|
|
3001
|
-
uid = uid === VOID ? this.
|
|
3002
|
-
name = name === VOID ? this.
|
|
3003
|
-
nickname = nickname === VOID ? this.
|
|
3004
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3005
|
-
photo = photo === VOID ? this.
|
|
3006
|
-
rating = rating === VOID ? this.
|
|
3007
|
-
isBot = isBot === VOID ? this.
|
|
3008
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3009
|
-
return $super === VOID ? this.
|
|
2999
|
+
protoOf(GameUserInfoDto).z1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
3000
|
+
playerId = playerId === VOID ? this.d1t_1 : playerId;
|
|
3001
|
+
uid = uid === VOID ? this.e1t_1 : uid;
|
|
3002
|
+
name = name === VOID ? this.f1t_1 : name;
|
|
3003
|
+
nickname = nickname === VOID ? this.g1t_1 : nickname;
|
|
3004
|
+
avatarUrl = avatarUrl === VOID ? this.h1t_1 : avatarUrl;
|
|
3005
|
+
photo = photo === VOID ? this.i1t_1 : photo;
|
|
3006
|
+
rating = rating === VOID ? this.j1t_1 : rating;
|
|
3007
|
+
isBot = isBot === VOID ? this.k1t_1 : isBot;
|
|
3008
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.l1t_1 : initialLuckyFactor;
|
|
3009
|
+
return $super === VOID ? this.a1u(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.a1u.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
3010
3010
|
};
|
|
3011
3011
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3012
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3012
|
+
return 'GameUserInfoDto(playerId=' + this.d1t_1 + ', uid=' + this.e1t_1 + ', name=' + this.f1t_1 + ', nickname=' + this.g1t_1 + ', avatarUrl=' + this.h1t_1 + ', photo=' + this.i1t_1 + ', rating=' + this.j1t_1 + ', isBot=' + this.k1t_1 + ', initialLuckyFactor=' + this.l1t_1 + ')';
|
|
3013
3013
|
};
|
|
3014
3014
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3015
|
-
var result = this.
|
|
3016
|
-
result = imul(result, 31) + (this.d1t_1 == null ? 0 : getStringHashCode(this.d1t_1)) | 0;
|
|
3015
|
+
var result = this.d1t_1 == null ? 0 : getStringHashCode(this.d1t_1);
|
|
3017
3016
|
result = imul(result, 31) + (this.e1t_1 == null ? 0 : getStringHashCode(this.e1t_1)) | 0;
|
|
3018
3017
|
result = imul(result, 31) + (this.f1t_1 == null ? 0 : getStringHashCode(this.f1t_1)) | 0;
|
|
3019
3018
|
result = imul(result, 31) + (this.g1t_1 == null ? 0 : getStringHashCode(this.g1t_1)) | 0;
|
|
3020
3019
|
result = imul(result, 31) + (this.h1t_1 == null ? 0 : getStringHashCode(this.h1t_1)) | 0;
|
|
3021
|
-
result = imul(result, 31) + (this.i1t_1 == null ? 0 :
|
|
3022
|
-
result = imul(result, 31) + (this.j1t_1 == null ? 0 :
|
|
3023
|
-
result = imul(result, 31) + (this.k1t_1 == null ? 0 :
|
|
3020
|
+
result = imul(result, 31) + (this.i1t_1 == null ? 0 : getStringHashCode(this.i1t_1)) | 0;
|
|
3021
|
+
result = imul(result, 31) + (this.j1t_1 == null ? 0 : getNumberHashCode(this.j1t_1)) | 0;
|
|
3022
|
+
result = imul(result, 31) + (this.k1t_1 == null ? 0 : getBooleanHashCode(this.k1t_1)) | 0;
|
|
3023
|
+
result = imul(result, 31) + (this.l1t_1 == null ? 0 : getNumberHashCode(this.l1t_1)) | 0;
|
|
3024
3024
|
return result;
|
|
3025
3025
|
};
|
|
3026
3026
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3028,8 +3028,6 @@
|
|
|
3028
3028
|
return true;
|
|
3029
3029
|
if (!(other instanceof GameUserInfoDto))
|
|
3030
3030
|
return false;
|
|
3031
|
-
if (!(this.c1t_1 == other.c1t_1))
|
|
3032
|
-
return false;
|
|
3033
3031
|
if (!(this.d1t_1 == other.d1t_1))
|
|
3034
3032
|
return false;
|
|
3035
3033
|
if (!(this.e1t_1 == other.e1t_1))
|
|
@@ -3040,16 +3038,18 @@
|
|
|
3040
3038
|
return false;
|
|
3041
3039
|
if (!(this.h1t_1 == other.h1t_1))
|
|
3042
3040
|
return false;
|
|
3043
|
-
if (!
|
|
3041
|
+
if (!(this.i1t_1 == other.i1t_1))
|
|
3044
3042
|
return false;
|
|
3045
|
-
if (!(this.j1t_1
|
|
3043
|
+
if (!equals(this.j1t_1, other.j1t_1))
|
|
3046
3044
|
return false;
|
|
3047
|
-
if (!
|
|
3045
|
+
if (!(this.k1t_1 == other.k1t_1))
|
|
3046
|
+
return false;
|
|
3047
|
+
if (!equals(this.l1t_1, other.l1t_1))
|
|
3048
3048
|
return false;
|
|
3049
3049
|
return true;
|
|
3050
3050
|
};
|
|
3051
3051
|
function PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2() {
|
|
3052
|
-
return Companion_getInstance_9().
|
|
3052
|
+
return Companion_getInstance_9().a18();
|
|
3053
3053
|
}
|
|
3054
3054
|
function Companion_16() {
|
|
3055
3055
|
Companion_instance_16 = this;
|
|
@@ -3058,7 +3058,7 @@
|
|
|
3058
3058
|
// Inline function 'kotlin.arrayOf' call
|
|
3059
3059
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3060
3060
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3061
|
-
tmp.
|
|
3061
|
+
tmp.b1u_1 = [lazy(tmp_0, PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2), null, null];
|
|
3062
3062
|
}
|
|
3063
3063
|
var Companion_instance_16;
|
|
3064
3064
|
function Companion_getInstance_19() {
|
|
@@ -3069,74 +3069,74 @@
|
|
|
3069
3069
|
function $serializer_7() {
|
|
3070
3070
|
$serializer_instance_7 = this;
|
|
3071
3071
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerConnectionDto', this, 3);
|
|
3072
|
-
tmp0_serialDesc.
|
|
3073
|
-
tmp0_serialDesc.
|
|
3074
|
-
tmp0_serialDesc.
|
|
3075
|
-
this.
|
|
3076
|
-
}
|
|
3077
|
-
protoOf($serializer_7).
|
|
3078
|
-
var tmp0_desc = this.
|
|
3079
|
-
var tmp1_output = encoder.
|
|
3080
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
3081
|
-
tmp1_output.
|
|
3082
|
-
tmp1_output.
|
|
3083
|
-
tmp1_output.
|
|
3084
|
-
tmp1_output.
|
|
3085
|
-
};
|
|
3086
|
-
protoOf($serializer_7).
|
|
3087
|
-
return this.
|
|
3088
|
-
};
|
|
3089
|
-
protoOf($serializer_7).
|
|
3090
|
-
var tmp0_desc = this.
|
|
3072
|
+
tmp0_serialDesc.bv('state', false);
|
|
3073
|
+
tmp0_serialDesc.bv('connectionChangedTime', false);
|
|
3074
|
+
tmp0_serialDesc.bv('notLiveDurationRecord', false);
|
|
3075
|
+
this.c1u_1 = tmp0_serialDesc;
|
|
3076
|
+
}
|
|
3077
|
+
protoOf($serializer_7).d1u = function (encoder, value) {
|
|
3078
|
+
var tmp0_desc = this.c1u_1;
|
|
3079
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
3080
|
+
var tmp2_cached = Companion_getInstance_19().b1u_1;
|
|
3081
|
+
tmp1_output.cp(tmp0_desc, 0, tmp2_cached[0].v1(), value.t1t_1);
|
|
3082
|
+
tmp1_output.ap(tmp0_desc, 1, value.u1t_1);
|
|
3083
|
+
tmp1_output.ap(tmp0_desc, 2, value.v1t_1);
|
|
3084
|
+
tmp1_output.mn(tmp0_desc);
|
|
3085
|
+
};
|
|
3086
|
+
protoOf($serializer_7).dk = function (encoder, value) {
|
|
3087
|
+
return this.d1u(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
3088
|
+
};
|
|
3089
|
+
protoOf($serializer_7).ek = function (decoder) {
|
|
3090
|
+
var tmp0_desc = this.c1u_1;
|
|
3091
3091
|
var tmp1_flag = true;
|
|
3092
3092
|
var tmp2_index = 0;
|
|
3093
3093
|
var tmp3_bitMask0 = 0;
|
|
3094
3094
|
var tmp4_local0 = null;
|
|
3095
3095
|
var tmp5_local1 = null;
|
|
3096
3096
|
var tmp6_local2 = null;
|
|
3097
|
-
var tmp7_input = decoder.
|
|
3098
|
-
var tmp8_cached = Companion_getInstance_19().
|
|
3099
|
-
if (tmp7_input.
|
|
3100
|
-
tmp4_local0 = tmp7_input.
|
|
3097
|
+
var tmp7_input = decoder.ln(tmp0_desc);
|
|
3098
|
+
var tmp8_cached = Companion_getInstance_19().b1u_1;
|
|
3099
|
+
if (tmp7_input.bo()) {
|
|
3100
|
+
tmp4_local0 = tmp7_input.xn(tmp0_desc, 0, tmp8_cached[0].v1(), tmp4_local0);
|
|
3101
3101
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3102
|
-
tmp5_local1 = tmp7_input.
|
|
3102
|
+
tmp5_local1 = tmp7_input.vn(tmp0_desc, 1);
|
|
3103
3103
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3104
|
-
tmp6_local2 = tmp7_input.
|
|
3104
|
+
tmp6_local2 = tmp7_input.vn(tmp0_desc, 2);
|
|
3105
3105
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3106
3106
|
} else
|
|
3107
3107
|
while (tmp1_flag) {
|
|
3108
|
-
tmp2_index = tmp7_input.
|
|
3108
|
+
tmp2_index = tmp7_input.co(tmp0_desc);
|
|
3109
3109
|
switch (tmp2_index) {
|
|
3110
3110
|
case -1:
|
|
3111
3111
|
tmp1_flag = false;
|
|
3112
3112
|
break;
|
|
3113
3113
|
case 0:
|
|
3114
|
-
tmp4_local0 = tmp7_input.
|
|
3114
|
+
tmp4_local0 = tmp7_input.xn(tmp0_desc, 0, tmp8_cached[0].v1(), tmp4_local0);
|
|
3115
3115
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3116
3116
|
break;
|
|
3117
3117
|
case 1:
|
|
3118
|
-
tmp5_local1 = tmp7_input.
|
|
3118
|
+
tmp5_local1 = tmp7_input.vn(tmp0_desc, 1);
|
|
3119
3119
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3120
3120
|
break;
|
|
3121
3121
|
case 2:
|
|
3122
|
-
tmp6_local2 = tmp7_input.
|
|
3122
|
+
tmp6_local2 = tmp7_input.vn(tmp0_desc, 2);
|
|
3123
3123
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3124
3124
|
break;
|
|
3125
3125
|
default:
|
|
3126
3126
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3127
3127
|
}
|
|
3128
3128
|
}
|
|
3129
|
-
tmp7_input.
|
|
3129
|
+
tmp7_input.mn(tmp0_desc);
|
|
3130
3130
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3131
3131
|
};
|
|
3132
|
-
protoOf($serializer_7).
|
|
3133
|
-
return this.
|
|
3132
|
+
protoOf($serializer_7).ck = function () {
|
|
3133
|
+
return this.c1u_1;
|
|
3134
3134
|
};
|
|
3135
|
-
protoOf($serializer_7).
|
|
3135
|
+
protoOf($serializer_7).sv = function () {
|
|
3136
3136
|
// Inline function 'kotlin.arrayOf' call
|
|
3137
3137
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3138
3138
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3139
|
-
return [Companion_getInstance_19().
|
|
3139
|
+
return [Companion_getInstance_19().b1u_1[0].v1(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3140
3140
|
};
|
|
3141
3141
|
var $serializer_instance_7;
|
|
3142
3142
|
function $serializer_getInstance_7() {
|
|
@@ -3146,11 +3146,11 @@
|
|
|
3146
3146
|
}
|
|
3147
3147
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
3148
3148
|
if (!(7 === (7 & seen0))) {
|
|
3149
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
3149
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().c1u_1);
|
|
3150
3150
|
}
|
|
3151
|
-
$this.
|
|
3152
|
-
$this.
|
|
3153
|
-
$this.
|
|
3151
|
+
$this.t1t_1 = state;
|
|
3152
|
+
$this.u1t_1 = connectionChangedTime;
|
|
3153
|
+
$this.v1t_1 = notLiveDurationRecord;
|
|
3154
3154
|
return $this;
|
|
3155
3155
|
}
|
|
3156
3156
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -3158,17 +3158,17 @@
|
|
|
3158
3158
|
}
|
|
3159
3159
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
3160
3160
|
Companion_getInstance_19();
|
|
3161
|
-
this.
|
|
3162
|
-
this.
|
|
3163
|
-
this.
|
|
3161
|
+
this.t1t_1 = state;
|
|
3162
|
+
this.u1t_1 = connectionChangedTime;
|
|
3163
|
+
this.v1t_1 = notLiveDurationRecord;
|
|
3164
3164
|
}
|
|
3165
3165
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3166
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3166
|
+
return 'PlayerConnectionDto(state=' + this.t1t_1.toString() + ', connectionChangedTime=' + this.u1t_1 + ', notLiveDurationRecord=' + this.v1t_1 + ')';
|
|
3167
3167
|
};
|
|
3168
3168
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3169
|
-
var result = this.
|
|
3170
|
-
result = imul(result, 31) + getStringHashCode(this.t1t_1) | 0;
|
|
3169
|
+
var result = this.t1t_1.hashCode();
|
|
3171
3170
|
result = imul(result, 31) + getStringHashCode(this.u1t_1) | 0;
|
|
3171
|
+
result = imul(result, 31) + getStringHashCode(this.v1t_1) | 0;
|
|
3172
3172
|
return result;
|
|
3173
3173
|
};
|
|
3174
3174
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3176,16 +3176,16 @@
|
|
|
3176
3176
|
return true;
|
|
3177
3177
|
if (!(other instanceof PlayerConnectionDto))
|
|
3178
3178
|
return false;
|
|
3179
|
-
if (!this.
|
|
3180
|
-
return false;
|
|
3181
|
-
if (!(this.t1t_1 === other.t1t_1))
|
|
3179
|
+
if (!this.t1t_1.equals(other.t1t_1))
|
|
3182
3180
|
return false;
|
|
3183
3181
|
if (!(this.u1t_1 === other.u1t_1))
|
|
3184
3182
|
return false;
|
|
3183
|
+
if (!(this.v1t_1 === other.v1t_1))
|
|
3184
|
+
return false;
|
|
3185
3185
|
return true;
|
|
3186
3186
|
};
|
|
3187
3187
|
function PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl() {
|
|
3188
|
-
return Companion_getInstance_10().
|
|
3188
|
+
return Companion_getInstance_10().a18();
|
|
3189
3189
|
}
|
|
3190
3190
|
function Companion_17() {
|
|
3191
3191
|
Companion_instance_17 = this;
|
|
@@ -3194,7 +3194,7 @@
|
|
|
3194
3194
|
// Inline function 'kotlin.arrayOf' call
|
|
3195
3195
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3196
3196
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3197
|
-
tmp.
|
|
3197
|
+
tmp.e1u_1 = [null, null, null, lazy(tmp_0, PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl), null, null, null];
|
|
3198
3198
|
}
|
|
3199
3199
|
var Companion_instance_17;
|
|
3200
3200
|
function Companion_getInstance_20() {
|
|
@@ -3205,45 +3205,45 @@
|
|
|
3205
3205
|
function $serializer_8() {
|
|
3206
3206
|
$serializer_instance_8 = this;
|
|
3207
3207
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 7);
|
|
3208
|
-
tmp0_serialDesc.
|
|
3209
|
-
tmp0_serialDesc.
|
|
3210
|
-
tmp0_serialDesc.
|
|
3211
|
-
tmp0_serialDesc.
|
|
3212
|
-
tmp0_serialDesc.
|
|
3213
|
-
tmp0_serialDesc.
|
|
3214
|
-
tmp0_serialDesc.
|
|
3215
|
-
this.
|
|
3216
|
-
}
|
|
3217
|
-
protoOf($serializer_8).
|
|
3218
|
-
var tmp0_desc = this.
|
|
3219
|
-
var tmp1_output = encoder.
|
|
3220
|
-
var tmp2_cached = Companion_getInstance_20().
|
|
3221
|
-
if (tmp1_output.
|
|
3222
|
-
tmp1_output.
|
|
3208
|
+
tmp0_serialDesc.bv('startFrom', true);
|
|
3209
|
+
tmp0_serialDesc.bv('playerTurnTimeout', true);
|
|
3210
|
+
tmp0_serialDesc.bv('waitPlayerUntilTime', true);
|
|
3211
|
+
tmp0_serialDesc.bv('state', false);
|
|
3212
|
+
tmp0_serialDesc.bv('ready', true);
|
|
3213
|
+
tmp0_serialDesc.bv('tag', true);
|
|
3214
|
+
tmp0_serialDesc.bv('connection', true);
|
|
3215
|
+
this.f1u_1 = tmp0_serialDesc;
|
|
3216
|
+
}
|
|
3217
|
+
protoOf($serializer_8).g1u = function (encoder, value) {
|
|
3218
|
+
var tmp0_desc = this.f1u_1;
|
|
3219
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
3220
|
+
var tmp2_cached = Companion_getInstance_20().e1u_1;
|
|
3221
|
+
if (tmp1_output.ip(tmp0_desc, 0) ? true : !(value.m1t_1 == null)) {
|
|
3222
|
+
tmp1_output.ep(tmp0_desc, 0, StringSerializer_getInstance(), value.m1t_1);
|
|
3223
3223
|
}
|
|
3224
|
-
if (tmp1_output.
|
|
3225
|
-
tmp1_output.
|
|
3224
|
+
if (tmp1_output.ip(tmp0_desc, 1) ? true : !(value.n1t_1 == null)) {
|
|
3225
|
+
tmp1_output.ep(tmp0_desc, 1, StringSerializer_getInstance(), value.n1t_1);
|
|
3226
3226
|
}
|
|
3227
|
-
if (tmp1_output.
|
|
3228
|
-
tmp1_output.
|
|
3227
|
+
if (tmp1_output.ip(tmp0_desc, 2) ? true : !(value.o1t_1 == null)) {
|
|
3228
|
+
tmp1_output.ep(tmp0_desc, 2, StringSerializer_getInstance(), value.o1t_1);
|
|
3229
3229
|
}
|
|
3230
|
-
tmp1_output.
|
|
3231
|
-
if (tmp1_output.
|
|
3232
|
-
tmp1_output.
|
|
3230
|
+
tmp1_output.cp(tmp0_desc, 3, tmp2_cached[3].v1(), value.p1t_1);
|
|
3231
|
+
if (tmp1_output.ip(tmp0_desc, 4) ? true : !(value.q1t_1 == null)) {
|
|
3232
|
+
tmp1_output.ep(tmp0_desc, 4, BooleanSerializer_getInstance(), value.q1t_1);
|
|
3233
3233
|
}
|
|
3234
|
-
if (tmp1_output.
|
|
3235
|
-
tmp1_output.
|
|
3234
|
+
if (tmp1_output.ip(tmp0_desc, 5) ? true : !(value.r1t_1 == null)) {
|
|
3235
|
+
tmp1_output.ep(tmp0_desc, 5, StringSerializer_getInstance(), value.r1t_1);
|
|
3236
3236
|
}
|
|
3237
|
-
if (tmp1_output.
|
|
3238
|
-
tmp1_output.
|
|
3237
|
+
if (tmp1_output.ip(tmp0_desc, 6) ? true : !(value.s1t_1 == null)) {
|
|
3238
|
+
tmp1_output.ep(tmp0_desc, 6, $serializer_getInstance_7(), value.s1t_1);
|
|
3239
3239
|
}
|
|
3240
|
-
tmp1_output.
|
|
3240
|
+
tmp1_output.mn(tmp0_desc);
|
|
3241
3241
|
};
|
|
3242
|
-
protoOf($serializer_8).
|
|
3243
|
-
return this.
|
|
3242
|
+
protoOf($serializer_8).dk = function (encoder, value) {
|
|
3243
|
+
return this.g1u(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3244
3244
|
};
|
|
3245
|
-
protoOf($serializer_8).
|
|
3246
|
-
var tmp0_desc = this.
|
|
3245
|
+
protoOf($serializer_8).ek = function (decoder) {
|
|
3246
|
+
var tmp0_desc = this.f1u_1;
|
|
3247
3247
|
var tmp1_flag = true;
|
|
3248
3248
|
var tmp2_index = 0;
|
|
3249
3249
|
var tmp3_bitMask0 = 0;
|
|
@@ -3254,70 +3254,70 @@
|
|
|
3254
3254
|
var tmp8_local4 = null;
|
|
3255
3255
|
var tmp9_local5 = null;
|
|
3256
3256
|
var tmp10_local6 = null;
|
|
3257
|
-
var tmp11_input = decoder.
|
|
3258
|
-
var tmp12_cached = Companion_getInstance_20().
|
|
3259
|
-
if (tmp11_input.
|
|
3260
|
-
tmp4_local0 = tmp11_input.
|
|
3257
|
+
var tmp11_input = decoder.ln(tmp0_desc);
|
|
3258
|
+
var tmp12_cached = Companion_getInstance_20().e1u_1;
|
|
3259
|
+
if (tmp11_input.bo()) {
|
|
3260
|
+
tmp4_local0 = tmp11_input.zn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3261
3261
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3262
|
-
tmp5_local1 = tmp11_input.
|
|
3262
|
+
tmp5_local1 = tmp11_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3263
3263
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3264
|
-
tmp6_local2 = tmp11_input.
|
|
3264
|
+
tmp6_local2 = tmp11_input.zn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3265
3265
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3266
|
-
tmp7_local3 = tmp11_input.
|
|
3266
|
+
tmp7_local3 = tmp11_input.xn(tmp0_desc, 3, tmp12_cached[3].v1(), tmp7_local3);
|
|
3267
3267
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3268
|
-
tmp8_local4 = tmp11_input.
|
|
3268
|
+
tmp8_local4 = tmp11_input.zn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3269
3269
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3270
|
-
tmp9_local5 = tmp11_input.
|
|
3270
|
+
tmp9_local5 = tmp11_input.zn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3271
3271
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3272
|
-
tmp10_local6 = tmp11_input.
|
|
3272
|
+
tmp10_local6 = tmp11_input.zn(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3273
3273
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3274
3274
|
} else
|
|
3275
3275
|
while (tmp1_flag) {
|
|
3276
|
-
tmp2_index = tmp11_input.
|
|
3276
|
+
tmp2_index = tmp11_input.co(tmp0_desc);
|
|
3277
3277
|
switch (tmp2_index) {
|
|
3278
3278
|
case -1:
|
|
3279
3279
|
tmp1_flag = false;
|
|
3280
3280
|
break;
|
|
3281
3281
|
case 0:
|
|
3282
|
-
tmp4_local0 = tmp11_input.
|
|
3282
|
+
tmp4_local0 = tmp11_input.zn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3283
3283
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3284
3284
|
break;
|
|
3285
3285
|
case 1:
|
|
3286
|
-
tmp5_local1 = tmp11_input.
|
|
3286
|
+
tmp5_local1 = tmp11_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3287
3287
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3288
3288
|
break;
|
|
3289
3289
|
case 2:
|
|
3290
|
-
tmp6_local2 = tmp11_input.
|
|
3290
|
+
tmp6_local2 = tmp11_input.zn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3291
3291
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3292
3292
|
break;
|
|
3293
3293
|
case 3:
|
|
3294
|
-
tmp7_local3 = tmp11_input.
|
|
3294
|
+
tmp7_local3 = tmp11_input.xn(tmp0_desc, 3, tmp12_cached[3].v1(), tmp7_local3);
|
|
3295
3295
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3296
3296
|
break;
|
|
3297
3297
|
case 4:
|
|
3298
|
-
tmp8_local4 = tmp11_input.
|
|
3298
|
+
tmp8_local4 = tmp11_input.zn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3299
3299
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3300
3300
|
break;
|
|
3301
3301
|
case 5:
|
|
3302
|
-
tmp9_local5 = tmp11_input.
|
|
3302
|
+
tmp9_local5 = tmp11_input.zn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3303
3303
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3304
3304
|
break;
|
|
3305
3305
|
case 6:
|
|
3306
|
-
tmp10_local6 = tmp11_input.
|
|
3306
|
+
tmp10_local6 = tmp11_input.zn(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3307
3307
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3308
3308
|
break;
|
|
3309
3309
|
default:
|
|
3310
3310
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3311
3311
|
}
|
|
3312
3312
|
}
|
|
3313
|
-
tmp11_input.
|
|
3313
|
+
tmp11_input.mn(tmp0_desc);
|
|
3314
3314
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3315
3315
|
};
|
|
3316
|
-
protoOf($serializer_8).
|
|
3317
|
-
return this.
|
|
3316
|
+
protoOf($serializer_8).ck = function () {
|
|
3317
|
+
return this.f1u_1;
|
|
3318
3318
|
};
|
|
3319
|
-
protoOf($serializer_8).
|
|
3320
|
-
var tmp0_cached = Companion_getInstance_20().
|
|
3319
|
+
protoOf($serializer_8).sv = function () {
|
|
3320
|
+
var tmp0_cached = Companion_getInstance_20().e1u_1;
|
|
3321
3321
|
// Inline function 'kotlin.arrayOf' call
|
|
3322
3322
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3323
3323
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3331,33 +3331,33 @@
|
|
|
3331
3331
|
}
|
|
3332
3332
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3333
3333
|
if (!(8 === (8 & seen0))) {
|
|
3334
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3334
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().f1u_1);
|
|
3335
3335
|
}
|
|
3336
3336
|
if (0 === (seen0 & 1))
|
|
3337
|
-
$this.
|
|
3337
|
+
$this.m1t_1 = null;
|
|
3338
3338
|
else
|
|
3339
|
-
$this.
|
|
3339
|
+
$this.m1t_1 = startFrom;
|
|
3340
3340
|
if (0 === (seen0 & 2))
|
|
3341
|
-
$this.
|
|
3341
|
+
$this.n1t_1 = null;
|
|
3342
3342
|
else
|
|
3343
|
-
$this.
|
|
3343
|
+
$this.n1t_1 = playerTurnTimeout;
|
|
3344
3344
|
if (0 === (seen0 & 4))
|
|
3345
|
-
$this.
|
|
3345
|
+
$this.o1t_1 = null;
|
|
3346
3346
|
else
|
|
3347
|
-
$this.
|
|
3348
|
-
$this.
|
|
3347
|
+
$this.o1t_1 = waitPlayerUntilTime;
|
|
3348
|
+
$this.p1t_1 = state;
|
|
3349
3349
|
if (0 === (seen0 & 16))
|
|
3350
|
-
$this.
|
|
3350
|
+
$this.q1t_1 = null;
|
|
3351
3351
|
else
|
|
3352
|
-
$this.
|
|
3352
|
+
$this.q1t_1 = ready;
|
|
3353
3353
|
if (0 === (seen0 & 32))
|
|
3354
|
-
$this.
|
|
3354
|
+
$this.r1t_1 = null;
|
|
3355
3355
|
else
|
|
3356
|
-
$this.
|
|
3356
|
+
$this.r1t_1 = tag;
|
|
3357
3357
|
if (0 === (seen0 & 64))
|
|
3358
|
-
$this.
|
|
3358
|
+
$this.s1t_1 = null;
|
|
3359
3359
|
else
|
|
3360
|
-
$this.
|
|
3360
|
+
$this.s1t_1 = connection;
|
|
3361
3361
|
return $this;
|
|
3362
3362
|
}
|
|
3363
3363
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3371,25 +3371,25 @@
|
|
|
3371
3371
|
ready = ready === VOID ? null : ready;
|
|
3372
3372
|
tag = tag === VOID ? null : tag;
|
|
3373
3373
|
connection = connection === VOID ? null : connection;
|
|
3374
|
-
this.
|
|
3375
|
-
this.
|
|
3376
|
-
this.
|
|
3377
|
-
this.
|
|
3378
|
-
this.
|
|
3379
|
-
this.
|
|
3380
|
-
this.
|
|
3374
|
+
this.m1t_1 = startFrom;
|
|
3375
|
+
this.n1t_1 = playerTurnTimeout;
|
|
3376
|
+
this.o1t_1 = waitPlayerUntilTime;
|
|
3377
|
+
this.p1t_1 = state;
|
|
3378
|
+
this.q1t_1 = ready;
|
|
3379
|
+
this.r1t_1 = tag;
|
|
3380
|
+
this.s1t_1 = connection;
|
|
3381
3381
|
}
|
|
3382
3382
|
protoOf(PlayerStateDto).toString = function () {
|
|
3383
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3383
|
+
return 'PlayerStateDto(startFrom=' + this.m1t_1 + ', playerTurnTimeout=' + this.n1t_1 + ', waitPlayerUntilTime=' + this.o1t_1 + ', state=' + this.p1t_1.toString() + ', ready=' + this.q1t_1 + ', tag=' + this.r1t_1 + ', connection=' + toString(this.s1t_1) + ')';
|
|
3384
3384
|
};
|
|
3385
3385
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3386
|
-
var result = this.
|
|
3387
|
-
result = imul(result, 31) + (this.m1t_1 == null ? 0 : getStringHashCode(this.m1t_1)) | 0;
|
|
3386
|
+
var result = this.m1t_1 == null ? 0 : getStringHashCode(this.m1t_1);
|
|
3388
3387
|
result = imul(result, 31) + (this.n1t_1 == null ? 0 : getStringHashCode(this.n1t_1)) | 0;
|
|
3389
|
-
result = imul(result, 31) + this.o1t_1.
|
|
3390
|
-
result = imul(result, 31) +
|
|
3391
|
-
result = imul(result, 31) + (this.q1t_1 == null ? 0 :
|
|
3392
|
-
result = imul(result, 31) + (this.r1t_1 == null ? 0 : this.r1t_1
|
|
3388
|
+
result = imul(result, 31) + (this.o1t_1 == null ? 0 : getStringHashCode(this.o1t_1)) | 0;
|
|
3389
|
+
result = imul(result, 31) + this.p1t_1.hashCode() | 0;
|
|
3390
|
+
result = imul(result, 31) + (this.q1t_1 == null ? 0 : getBooleanHashCode(this.q1t_1)) | 0;
|
|
3391
|
+
result = imul(result, 31) + (this.r1t_1 == null ? 0 : getStringHashCode(this.r1t_1)) | 0;
|
|
3392
|
+
result = imul(result, 31) + (this.s1t_1 == null ? 0 : this.s1t_1.hashCode()) | 0;
|
|
3393
3393
|
return result;
|
|
3394
3394
|
};
|
|
3395
3395
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3397,19 +3397,19 @@
|
|
|
3397
3397
|
return true;
|
|
3398
3398
|
if (!(other instanceof PlayerStateDto))
|
|
3399
3399
|
return false;
|
|
3400
|
-
if (!(this.l1t_1 == other.l1t_1))
|
|
3401
|
-
return false;
|
|
3402
3400
|
if (!(this.m1t_1 == other.m1t_1))
|
|
3403
3401
|
return false;
|
|
3404
3402
|
if (!(this.n1t_1 == other.n1t_1))
|
|
3405
3403
|
return false;
|
|
3406
|
-
if (!this.o1t_1
|
|
3404
|
+
if (!(this.o1t_1 == other.o1t_1))
|
|
3407
3405
|
return false;
|
|
3408
|
-
if (!
|
|
3406
|
+
if (!this.p1t_1.equals(other.p1t_1))
|
|
3409
3407
|
return false;
|
|
3410
3408
|
if (!(this.q1t_1 == other.q1t_1))
|
|
3411
3409
|
return false;
|
|
3412
|
-
if (!
|
|
3410
|
+
if (!(this.r1t_1 == other.r1t_1))
|
|
3411
|
+
return false;
|
|
3412
|
+
if (!equals(this.s1t_1, other.s1t_1))
|
|
3413
3413
|
return false;
|
|
3414
3414
|
return true;
|
|
3415
3415
|
};
|
|
@@ -3433,7 +3433,7 @@
|
|
|
3433
3433
|
// Inline function 'kotlin.arrayOf' call
|
|
3434
3434
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3435
3435
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3436
|
-
tmp.
|
|
3436
|
+
tmp.h1u_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];
|
|
3437
3437
|
}
|
|
3438
3438
|
var Companion_instance_18;
|
|
3439
3439
|
function Companion_getInstance_21() {
|
|
@@ -3444,71 +3444,71 @@
|
|
|
3444
3444
|
function $serializer_9() {
|
|
3445
3445
|
$serializer_instance_9 = this;
|
|
3446
3446
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 26);
|
|
3447
|
-
tmp0_serialDesc.
|
|
3448
|
-
tmp0_serialDesc.
|
|
3449
|
-
tmp0_serialDesc.
|
|
3450
|
-
tmp0_serialDesc.
|
|
3451
|
-
tmp0_serialDesc.
|
|
3452
|
-
tmp0_serialDesc.
|
|
3453
|
-
tmp0_serialDesc.
|
|
3454
|
-
tmp0_serialDesc.
|
|
3455
|
-
tmp0_serialDesc.
|
|
3456
|
-
tmp0_serialDesc.
|
|
3457
|
-
tmp0_serialDesc.
|
|
3458
|
-
tmp0_serialDesc.
|
|
3459
|
-
tmp0_serialDesc.
|
|
3460
|
-
tmp0_serialDesc.
|
|
3461
|
-
tmp0_serialDesc.
|
|
3462
|
-
tmp0_serialDesc.
|
|
3463
|
-
tmp0_serialDesc.
|
|
3464
|
-
tmp0_serialDesc.
|
|
3465
|
-
tmp0_serialDesc.
|
|
3466
|
-
tmp0_serialDesc.
|
|
3467
|
-
tmp0_serialDesc.
|
|
3468
|
-
tmp0_serialDesc.
|
|
3469
|
-
tmp0_serialDesc.
|
|
3470
|
-
tmp0_serialDesc.
|
|
3471
|
-
tmp0_serialDesc.
|
|
3472
|
-
tmp0_serialDesc.
|
|
3473
|
-
this.
|
|
3474
|
-
}
|
|
3475
|
-
protoOf($serializer_9).
|
|
3476
|
-
var tmp0_desc = this.
|
|
3477
|
-
var tmp1_output = encoder.
|
|
3478
|
-
var tmp2_cached = Companion_getInstance_21().
|
|
3479
|
-
tmp1_output.
|
|
3480
|
-
tmp1_output.
|
|
3481
|
-
tmp1_output.
|
|
3482
|
-
tmp1_output.
|
|
3483
|
-
tmp1_output.
|
|
3484
|
-
tmp1_output.
|
|
3485
|
-
tmp1_output.
|
|
3486
|
-
tmp1_output.
|
|
3487
|
-
tmp1_output.
|
|
3488
|
-
tmp1_output.
|
|
3489
|
-
tmp1_output.
|
|
3490
|
-
tmp1_output.
|
|
3491
|
-
tmp1_output.
|
|
3492
|
-
tmp1_output.
|
|
3493
|
-
tmp1_output.
|
|
3494
|
-
tmp1_output.
|
|
3495
|
-
tmp1_output.
|
|
3496
|
-
tmp1_output.
|
|
3497
|
-
tmp1_output.
|
|
3498
|
-
tmp1_output.
|
|
3499
|
-
tmp1_output.
|
|
3500
|
-
tmp1_output.
|
|
3501
|
-
tmp1_output.
|
|
3502
|
-
tmp1_output.
|
|
3503
|
-
tmp1_output.
|
|
3504
|
-
tmp1_output.
|
|
3505
|
-
tmp1_output.
|
|
3506
|
-
};
|
|
3507
|
-
protoOf($serializer_9).
|
|
3508
|
-
return this.
|
|
3509
|
-
};
|
|
3510
|
-
protoOf($serializer_9).
|
|
3511
|
-
var tmp0_desc = this.
|
|
3447
|
+
tmp0_serialDesc.bv('name', false);
|
|
3448
|
+
tmp0_serialDesc.bv('playerWhoChooseSuitGoFirst', false);
|
|
3449
|
+
tmp0_serialDesc.bv('winnerShuffleCards', false);
|
|
3450
|
+
tmp0_serialDesc.bv('playWithoutLiabilities', false);
|
|
3451
|
+
tmp0_serialDesc.bv('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
3452
|
+
tmp0_serialDesc.bv('dealerInitialCardsCount', false);
|
|
3453
|
+
tmp0_serialDesc.bv('dealerFinalCardsCount', false);
|
|
3454
|
+
tmp0_serialDesc.bv('dealerCounterClockwise', false);
|
|
3455
|
+
tmp0_serialDesc.bv('contractTypes', false);
|
|
3456
|
+
tmp0_serialDesc.bv('bidTypes', false);
|
|
3457
|
+
tmp0_serialDesc.bv('needToPutHigherTrump', false);
|
|
3458
|
+
tmp0_serialDesc.bv('trumpCardStepMode', false);
|
|
3459
|
+
tmp0_serialDesc.bv('trumpCardStepPartnerMode', false);
|
|
3460
|
+
tmp0_serialDesc.bv('combinationsWithFirstCard', false);
|
|
3461
|
+
tmp0_serialDesc.bv('protectBella', false);
|
|
3462
|
+
tmp0_serialDesc.bv('oneTryToProtectBella', false);
|
|
3463
|
+
tmp0_serialDesc.bv('enableFourSevensCombination', false);
|
|
3464
|
+
tmp0_serialDesc.bv('enableTrumpSevenCombination', false);
|
|
3465
|
+
tmp0_serialDesc.bv('enableTrumpSevenCombinationAfterDistribution', false);
|
|
3466
|
+
tmp0_serialDesc.bv('checkTrumpCombination', false);
|
|
3467
|
+
tmp0_serialDesc.bv('checkOnlyTrumpDebertz', false);
|
|
3468
|
+
tmp0_serialDesc.bv('pointsDistributeMode', false);
|
|
3469
|
+
tmp0_serialDesc.bv('enableFineIfNoBribes', false);
|
|
3470
|
+
tmp0_serialDesc.bv('fineIfNoBribes', false);
|
|
3471
|
+
tmp0_serialDesc.bv('enableFineAfterThirdByte', false);
|
|
3472
|
+
tmp0_serialDesc.bv('fineAfterThirdFailedContract', false);
|
|
3473
|
+
this.i1u_1 = tmp0_serialDesc;
|
|
3474
|
+
}
|
|
3475
|
+
protoOf($serializer_9).j1u = function (encoder, value) {
|
|
3476
|
+
var tmp0_desc = this.i1u_1;
|
|
3477
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
3478
|
+
var tmp2_cached = Companion_getInstance_21().h1u_1;
|
|
3479
|
+
tmp1_output.ep(tmp0_desc, 0, StringSerializer_getInstance(), value.k1u_1);
|
|
3480
|
+
tmp1_output.ep(tmp0_desc, 1, BooleanSerializer_getInstance(), value.l1u_1);
|
|
3481
|
+
tmp1_output.ep(tmp0_desc, 2, BooleanSerializer_getInstance(), value.m1u_1);
|
|
3482
|
+
tmp1_output.ep(tmp0_desc, 3, BooleanSerializer_getInstance(), value.n1u_1);
|
|
3483
|
+
tmp1_output.ep(tmp0_desc, 4, BooleanSerializer_getInstance(), value.o1u_1);
|
|
3484
|
+
tmp1_output.ep(tmp0_desc, 5, IntSerializer_getInstance(), value.p1u_1);
|
|
3485
|
+
tmp1_output.ep(tmp0_desc, 6, IntSerializer_getInstance(), value.q1u_1);
|
|
3486
|
+
tmp1_output.ep(tmp0_desc, 7, BooleanSerializer_getInstance(), value.r1u_1);
|
|
3487
|
+
tmp1_output.ep(tmp0_desc, 8, tmp2_cached[8].v1(), value.s1u_1);
|
|
3488
|
+
tmp1_output.ep(tmp0_desc, 9, tmp2_cached[9].v1(), value.t1u_1);
|
|
3489
|
+
tmp1_output.ep(tmp0_desc, 10, BooleanSerializer_getInstance(), value.u1u_1);
|
|
3490
|
+
tmp1_output.ep(tmp0_desc, 11, StringSerializer_getInstance(), value.v1u_1);
|
|
3491
|
+
tmp1_output.ep(tmp0_desc, 12, StringSerializer_getInstance(), value.w1u_1);
|
|
3492
|
+
tmp1_output.ep(tmp0_desc, 13, tmp2_cached[13].v1(), value.x1u_1);
|
|
3493
|
+
tmp1_output.ep(tmp0_desc, 14, BooleanSerializer_getInstance(), value.y1u_1);
|
|
3494
|
+
tmp1_output.ep(tmp0_desc, 15, BooleanSerializer_getInstance(), value.z1u_1);
|
|
3495
|
+
tmp1_output.ep(tmp0_desc, 16, BooleanSerializer_getInstance(), value.a1v_1);
|
|
3496
|
+
tmp1_output.ep(tmp0_desc, 17, BooleanSerializer_getInstance(), value.b1v_1);
|
|
3497
|
+
tmp1_output.ep(tmp0_desc, 18, BooleanSerializer_getInstance(), value.c1v_1);
|
|
3498
|
+
tmp1_output.ep(tmp0_desc, 19, BooleanSerializer_getInstance(), value.d1v_1);
|
|
3499
|
+
tmp1_output.ep(tmp0_desc, 20, BooleanSerializer_getInstance(), value.e1v_1);
|
|
3500
|
+
tmp1_output.ap(tmp0_desc, 21, value.f1v_1);
|
|
3501
|
+
tmp1_output.ep(tmp0_desc, 22, BooleanSerializer_getInstance(), value.g1v_1);
|
|
3502
|
+
tmp1_output.ep(tmp0_desc, 23, IntSerializer_getInstance(), value.h1v_1);
|
|
3503
|
+
tmp1_output.ep(tmp0_desc, 24, BooleanSerializer_getInstance(), value.i1v_1);
|
|
3504
|
+
tmp1_output.ep(tmp0_desc, 25, IntSerializer_getInstance(), value.j1v_1);
|
|
3505
|
+
tmp1_output.mn(tmp0_desc);
|
|
3506
|
+
};
|
|
3507
|
+
protoOf($serializer_9).dk = function (encoder, value) {
|
|
3508
|
+
return this.j1u(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3509
|
+
};
|
|
3510
|
+
protoOf($serializer_9).ek = function (decoder) {
|
|
3511
|
+
var tmp0_desc = this.i1u_1;
|
|
3512
3512
|
var tmp1_flag = true;
|
|
3513
3513
|
var tmp2_index = 0;
|
|
3514
3514
|
var tmp3_bitMask0 = 0;
|
|
@@ -3538,184 +3538,184 @@
|
|
|
3538
3538
|
var tmp27_local23 = null;
|
|
3539
3539
|
var tmp28_local24 = null;
|
|
3540
3540
|
var tmp29_local25 = null;
|
|
3541
|
-
var tmp30_input = decoder.
|
|
3542
|
-
var tmp31_cached = Companion_getInstance_21().
|
|
3543
|
-
if (tmp30_input.
|
|
3544
|
-
tmp4_local0 = tmp30_input.
|
|
3541
|
+
var tmp30_input = decoder.ln(tmp0_desc);
|
|
3542
|
+
var tmp31_cached = Companion_getInstance_21().h1u_1;
|
|
3543
|
+
if (tmp30_input.bo()) {
|
|
3544
|
+
tmp4_local0 = tmp30_input.zn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3545
3545
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3546
|
-
tmp5_local1 = tmp30_input.
|
|
3546
|
+
tmp5_local1 = tmp30_input.zn(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3547
3547
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3548
|
-
tmp6_local2 = tmp30_input.
|
|
3548
|
+
tmp6_local2 = tmp30_input.zn(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3549
3549
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3550
|
-
tmp7_local3 = tmp30_input.
|
|
3550
|
+
tmp7_local3 = tmp30_input.zn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3551
3551
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3552
|
-
tmp8_local4 = tmp30_input.
|
|
3552
|
+
tmp8_local4 = tmp30_input.zn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3553
3553
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3554
|
-
tmp9_local5 = tmp30_input.
|
|
3554
|
+
tmp9_local5 = tmp30_input.zn(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3555
3555
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3556
|
-
tmp10_local6 = tmp30_input.
|
|
3556
|
+
tmp10_local6 = tmp30_input.zn(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3557
3557
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3558
|
-
tmp11_local7 = tmp30_input.
|
|
3558
|
+
tmp11_local7 = tmp30_input.zn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3559
3559
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3560
|
-
tmp12_local8 = tmp30_input.
|
|
3560
|
+
tmp12_local8 = tmp30_input.zn(tmp0_desc, 8, tmp31_cached[8].v1(), tmp12_local8);
|
|
3561
3561
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3562
|
-
tmp13_local9 = tmp30_input.
|
|
3562
|
+
tmp13_local9 = tmp30_input.zn(tmp0_desc, 9, tmp31_cached[9].v1(), tmp13_local9);
|
|
3563
3563
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3564
|
-
tmp14_local10 = tmp30_input.
|
|
3564
|
+
tmp14_local10 = tmp30_input.zn(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3565
3565
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3566
|
-
tmp15_local11 = tmp30_input.
|
|
3566
|
+
tmp15_local11 = tmp30_input.zn(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3567
3567
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3568
|
-
tmp16_local12 = tmp30_input.
|
|
3568
|
+
tmp16_local12 = tmp30_input.zn(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3569
3569
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3570
|
-
tmp17_local13 = tmp30_input.
|
|
3570
|
+
tmp17_local13 = tmp30_input.zn(tmp0_desc, 13, tmp31_cached[13].v1(), tmp17_local13);
|
|
3571
3571
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3572
|
-
tmp18_local14 = tmp30_input.
|
|
3572
|
+
tmp18_local14 = tmp30_input.zn(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3573
3573
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3574
|
-
tmp19_local15 = tmp30_input.
|
|
3574
|
+
tmp19_local15 = tmp30_input.zn(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3575
3575
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3576
|
-
tmp20_local16 = tmp30_input.
|
|
3576
|
+
tmp20_local16 = tmp30_input.zn(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3577
3577
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3578
|
-
tmp21_local17 = tmp30_input.
|
|
3578
|
+
tmp21_local17 = tmp30_input.zn(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3579
3579
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3580
|
-
tmp22_local18 = tmp30_input.
|
|
3580
|
+
tmp22_local18 = tmp30_input.zn(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3581
3581
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3582
|
-
tmp23_local19 = tmp30_input.
|
|
3582
|
+
tmp23_local19 = tmp30_input.zn(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3583
3583
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3584
|
-
tmp24_local20 = tmp30_input.
|
|
3584
|
+
tmp24_local20 = tmp30_input.zn(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3585
3585
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3586
|
-
tmp25_local21 = tmp30_input.
|
|
3586
|
+
tmp25_local21 = tmp30_input.vn(tmp0_desc, 21);
|
|
3587
3587
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3588
|
-
tmp26_local22 = tmp30_input.
|
|
3588
|
+
tmp26_local22 = tmp30_input.zn(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3589
3589
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3590
|
-
tmp27_local23 = tmp30_input.
|
|
3590
|
+
tmp27_local23 = tmp30_input.zn(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3591
3591
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3592
|
-
tmp28_local24 = tmp30_input.
|
|
3592
|
+
tmp28_local24 = tmp30_input.zn(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3593
3593
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3594
|
-
tmp29_local25 = tmp30_input.
|
|
3594
|
+
tmp29_local25 = tmp30_input.zn(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3595
3595
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3596
3596
|
} else
|
|
3597
3597
|
while (tmp1_flag) {
|
|
3598
|
-
tmp2_index = tmp30_input.
|
|
3598
|
+
tmp2_index = tmp30_input.co(tmp0_desc);
|
|
3599
3599
|
switch (tmp2_index) {
|
|
3600
3600
|
case -1:
|
|
3601
3601
|
tmp1_flag = false;
|
|
3602
3602
|
break;
|
|
3603
3603
|
case 0:
|
|
3604
|
-
tmp4_local0 = tmp30_input.
|
|
3604
|
+
tmp4_local0 = tmp30_input.zn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3605
3605
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3606
3606
|
break;
|
|
3607
3607
|
case 1:
|
|
3608
|
-
tmp5_local1 = tmp30_input.
|
|
3608
|
+
tmp5_local1 = tmp30_input.zn(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3609
3609
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3610
3610
|
break;
|
|
3611
3611
|
case 2:
|
|
3612
|
-
tmp6_local2 = tmp30_input.
|
|
3612
|
+
tmp6_local2 = tmp30_input.zn(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3613
3613
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3614
3614
|
break;
|
|
3615
3615
|
case 3:
|
|
3616
|
-
tmp7_local3 = tmp30_input.
|
|
3616
|
+
tmp7_local3 = tmp30_input.zn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3617
3617
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3618
3618
|
break;
|
|
3619
3619
|
case 4:
|
|
3620
|
-
tmp8_local4 = tmp30_input.
|
|
3620
|
+
tmp8_local4 = tmp30_input.zn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3621
3621
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3622
3622
|
break;
|
|
3623
3623
|
case 5:
|
|
3624
|
-
tmp9_local5 = tmp30_input.
|
|
3624
|
+
tmp9_local5 = tmp30_input.zn(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3625
3625
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3626
3626
|
break;
|
|
3627
3627
|
case 6:
|
|
3628
|
-
tmp10_local6 = tmp30_input.
|
|
3628
|
+
tmp10_local6 = tmp30_input.zn(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3629
3629
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3630
3630
|
break;
|
|
3631
3631
|
case 7:
|
|
3632
|
-
tmp11_local7 = tmp30_input.
|
|
3632
|
+
tmp11_local7 = tmp30_input.zn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3633
3633
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3634
3634
|
break;
|
|
3635
3635
|
case 8:
|
|
3636
|
-
tmp12_local8 = tmp30_input.
|
|
3636
|
+
tmp12_local8 = tmp30_input.zn(tmp0_desc, 8, tmp31_cached[8].v1(), tmp12_local8);
|
|
3637
3637
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3638
3638
|
break;
|
|
3639
3639
|
case 9:
|
|
3640
|
-
tmp13_local9 = tmp30_input.
|
|
3640
|
+
tmp13_local9 = tmp30_input.zn(tmp0_desc, 9, tmp31_cached[9].v1(), tmp13_local9);
|
|
3641
3641
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3642
3642
|
break;
|
|
3643
3643
|
case 10:
|
|
3644
|
-
tmp14_local10 = tmp30_input.
|
|
3644
|
+
tmp14_local10 = tmp30_input.zn(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3645
3645
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3646
3646
|
break;
|
|
3647
3647
|
case 11:
|
|
3648
|
-
tmp15_local11 = tmp30_input.
|
|
3648
|
+
tmp15_local11 = tmp30_input.zn(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3649
3649
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3650
3650
|
break;
|
|
3651
3651
|
case 12:
|
|
3652
|
-
tmp16_local12 = tmp30_input.
|
|
3652
|
+
tmp16_local12 = tmp30_input.zn(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3653
3653
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3654
3654
|
break;
|
|
3655
3655
|
case 13:
|
|
3656
|
-
tmp17_local13 = tmp30_input.
|
|
3656
|
+
tmp17_local13 = tmp30_input.zn(tmp0_desc, 13, tmp31_cached[13].v1(), tmp17_local13);
|
|
3657
3657
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3658
3658
|
break;
|
|
3659
3659
|
case 14:
|
|
3660
|
-
tmp18_local14 = tmp30_input.
|
|
3660
|
+
tmp18_local14 = tmp30_input.zn(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3661
3661
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3662
3662
|
break;
|
|
3663
3663
|
case 15:
|
|
3664
|
-
tmp19_local15 = tmp30_input.
|
|
3664
|
+
tmp19_local15 = tmp30_input.zn(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3665
3665
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3666
3666
|
break;
|
|
3667
3667
|
case 16:
|
|
3668
|
-
tmp20_local16 = tmp30_input.
|
|
3668
|
+
tmp20_local16 = tmp30_input.zn(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3669
3669
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3670
3670
|
break;
|
|
3671
3671
|
case 17:
|
|
3672
|
-
tmp21_local17 = tmp30_input.
|
|
3672
|
+
tmp21_local17 = tmp30_input.zn(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3673
3673
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3674
3674
|
break;
|
|
3675
3675
|
case 18:
|
|
3676
|
-
tmp22_local18 = tmp30_input.
|
|
3676
|
+
tmp22_local18 = tmp30_input.zn(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3677
3677
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3678
3678
|
break;
|
|
3679
3679
|
case 19:
|
|
3680
|
-
tmp23_local19 = tmp30_input.
|
|
3680
|
+
tmp23_local19 = tmp30_input.zn(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3681
3681
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3682
3682
|
break;
|
|
3683
3683
|
case 20:
|
|
3684
|
-
tmp24_local20 = tmp30_input.
|
|
3684
|
+
tmp24_local20 = tmp30_input.zn(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3685
3685
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3686
3686
|
break;
|
|
3687
3687
|
case 21:
|
|
3688
|
-
tmp25_local21 = tmp30_input.
|
|
3688
|
+
tmp25_local21 = tmp30_input.vn(tmp0_desc, 21);
|
|
3689
3689
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3690
3690
|
break;
|
|
3691
3691
|
case 22:
|
|
3692
|
-
tmp26_local22 = tmp30_input.
|
|
3692
|
+
tmp26_local22 = tmp30_input.zn(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3693
3693
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3694
3694
|
break;
|
|
3695
3695
|
case 23:
|
|
3696
|
-
tmp27_local23 = tmp30_input.
|
|
3696
|
+
tmp27_local23 = tmp30_input.zn(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3697
3697
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3698
3698
|
break;
|
|
3699
3699
|
case 24:
|
|
3700
|
-
tmp28_local24 = tmp30_input.
|
|
3700
|
+
tmp28_local24 = tmp30_input.zn(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3701
3701
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3702
3702
|
break;
|
|
3703
3703
|
case 25:
|
|
3704
|
-
tmp29_local25 = tmp30_input.
|
|
3704
|
+
tmp29_local25 = tmp30_input.zn(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3705
3705
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3706
3706
|
break;
|
|
3707
3707
|
default:
|
|
3708
3708
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3709
3709
|
}
|
|
3710
3710
|
}
|
|
3711
|
-
tmp30_input.
|
|
3711
|
+
tmp30_input.mn(tmp0_desc);
|
|
3712
3712
|
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);
|
|
3713
3713
|
};
|
|
3714
|
-
protoOf($serializer_9).
|
|
3715
|
-
return this.
|
|
3714
|
+
protoOf($serializer_9).ck = function () {
|
|
3715
|
+
return this.i1u_1;
|
|
3716
3716
|
};
|
|
3717
|
-
protoOf($serializer_9).
|
|
3718
|
-
var tmp0_cached = Companion_getInstance_21().
|
|
3717
|
+
protoOf($serializer_9).sv = function () {
|
|
3718
|
+
var tmp0_cached = Companion_getInstance_21().h1u_1;
|
|
3719
3719
|
// Inline function 'kotlin.arrayOf' call
|
|
3720
3720
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3721
3721
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3729,34 +3729,34 @@
|
|
|
3729
3729
|
}
|
|
3730
3730
|
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) {
|
|
3731
3731
|
if (!(67108863 === (67108863 & seen0))) {
|
|
3732
|
-
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().
|
|
3732
|
+
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().i1u_1);
|
|
3733
3733
|
}
|
|
3734
|
-
$this.
|
|
3735
|
-
$this.
|
|
3736
|
-
$this.
|
|
3737
|
-
$this.
|
|
3738
|
-
$this.
|
|
3739
|
-
$this.
|
|
3740
|
-
$this.
|
|
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.
|
|
3734
|
+
$this.k1u_1 = name;
|
|
3735
|
+
$this.l1u_1 = playerWhoChooseSuitGoFirst;
|
|
3736
|
+
$this.m1u_1 = winnerShuffleCards;
|
|
3737
|
+
$this.n1u_1 = playWithoutLiabilities;
|
|
3738
|
+
$this.o1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3739
|
+
$this.p1u_1 = dealerInitialCardsCount;
|
|
3740
|
+
$this.q1u_1 = dealerFinalCardsCount;
|
|
3741
|
+
$this.r1u_1 = dealerCounterClockwise;
|
|
3742
|
+
$this.s1u_1 = contractTypes;
|
|
3743
|
+
$this.t1u_1 = bidTypes;
|
|
3744
|
+
$this.u1u_1 = needToPutHigherTrump;
|
|
3745
|
+
$this.v1u_1 = trumpCardStepMode;
|
|
3746
|
+
$this.w1u_1 = trumpCardStepPartnerMode;
|
|
3747
|
+
$this.x1u_1 = combinationsWithFirstCard;
|
|
3748
|
+
$this.y1u_1 = protectBella;
|
|
3749
|
+
$this.z1u_1 = oneTryToProtectBella;
|
|
3750
|
+
$this.a1v_1 = enableFourSevensCombination;
|
|
3751
|
+
$this.b1v_1 = enableTrumpSevenCombination;
|
|
3752
|
+
$this.c1v_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3753
|
+
$this.d1v_1 = checkTrumpCombination;
|
|
3754
|
+
$this.e1v_1 = checkOnlyTrumpDebertz;
|
|
3755
|
+
$this.f1v_1 = pointsDistributeMode;
|
|
3756
|
+
$this.g1v_1 = enableFineIfNoBribes;
|
|
3757
|
+
$this.h1v_1 = fineIfNoBribes;
|
|
3758
|
+
$this.i1v_1 = enableFineAfterThirdByte;
|
|
3759
|
+
$this.j1v_1 = fineAfterThirdFailedContract;
|
|
3760
3760
|
return $this;
|
|
3761
3761
|
}
|
|
3762
3762
|
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) {
|
|
@@ -3764,63 +3764,63 @@
|
|
|
3764
3764
|
}
|
|
3765
3765
|
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) {
|
|
3766
3766
|
Companion_getInstance_21();
|
|
3767
|
-
this.
|
|
3768
|
-
this.
|
|
3769
|
-
this.
|
|
3770
|
-
this.
|
|
3771
|
-
this.
|
|
3772
|
-
this.
|
|
3773
|
-
this.
|
|
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.
|
|
3767
|
+
this.k1u_1 = name;
|
|
3768
|
+
this.l1u_1 = playerWhoChooseSuitGoFirst;
|
|
3769
|
+
this.m1u_1 = winnerShuffleCards;
|
|
3770
|
+
this.n1u_1 = playWithoutLiabilities;
|
|
3771
|
+
this.o1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3772
|
+
this.p1u_1 = dealerInitialCardsCount;
|
|
3773
|
+
this.q1u_1 = dealerFinalCardsCount;
|
|
3774
|
+
this.r1u_1 = dealerCounterClockwise;
|
|
3775
|
+
this.s1u_1 = contractTypes;
|
|
3776
|
+
this.t1u_1 = bidTypes;
|
|
3777
|
+
this.u1u_1 = needToPutHigherTrump;
|
|
3778
|
+
this.v1u_1 = trumpCardStepMode;
|
|
3779
|
+
this.w1u_1 = trumpCardStepPartnerMode;
|
|
3780
|
+
this.x1u_1 = combinationsWithFirstCard;
|
|
3781
|
+
this.y1u_1 = protectBella;
|
|
3782
|
+
this.z1u_1 = oneTryToProtectBella;
|
|
3783
|
+
this.a1v_1 = enableFourSevensCombination;
|
|
3784
|
+
this.b1v_1 = enableTrumpSevenCombination;
|
|
3785
|
+
this.c1v_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3786
|
+
this.d1v_1 = checkTrumpCombination;
|
|
3787
|
+
this.e1v_1 = checkOnlyTrumpDebertz;
|
|
3788
|
+
this.f1v_1 = pointsDistributeMode;
|
|
3789
|
+
this.g1v_1 = enableFineIfNoBribes;
|
|
3790
|
+
this.h1v_1 = fineIfNoBribes;
|
|
3791
|
+
this.i1v_1 = enableFineAfterThirdByte;
|
|
3792
|
+
this.j1v_1 = fineAfterThirdFailedContract;
|
|
3793
3793
|
}
|
|
3794
3794
|
protoOf(RulesDto).toString = function () {
|
|
3795
|
-
return 'RulesDto(name=' + this.
|
|
3795
|
+
return 'RulesDto(name=' + this.k1u_1 + ', playerWhoChooseSuitGoFirst=' + this.l1u_1 + ', winnerShuffleCards=' + this.m1u_1 + ', playWithoutLiabilities=' + this.n1u_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.o1u_1 + ', dealerInitialCardsCount=' + this.p1u_1 + ', dealerFinalCardsCount=' + this.q1u_1 + ', dealerCounterClockwise=' + this.r1u_1 + ', contractTypes=' + toString(this.s1u_1) + ', bidTypes=' + toString(this.t1u_1) + ', needToPutHigherTrump=' + this.u1u_1 + ', trumpCardStepMode=' + this.v1u_1 + ', trumpCardStepPartnerMode=' + this.w1u_1 + ', combinationsWithFirstCard=' + toString(this.x1u_1) + ', protectBella=' + this.y1u_1 + ', oneTryToProtectBella=' + this.z1u_1 + ', enableFourSevensCombination=' + this.a1v_1 + ', enableTrumpSevenCombination=' + this.b1v_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.c1v_1 + ', checkTrumpCombination=' + this.d1v_1 + ', checkOnlyTrumpDebertz=' + this.e1v_1 + ', pointsDistributeMode=' + this.f1v_1 + ', enableFineIfNoBribes=' + this.g1v_1 + ', fineIfNoBribes=' + this.h1v_1 + ', enableFineAfterThirdByte=' + this.i1v_1 + ', fineAfterThirdFailedContract=' + this.j1v_1 + ')';
|
|
3796
3796
|
};
|
|
3797
3797
|
protoOf(RulesDto).hashCode = function () {
|
|
3798
|
-
var result = this.
|
|
3799
|
-
result = imul(result, 31) + (this.k1u_1 == null ? 0 : getBooleanHashCode(this.k1u_1)) | 0;
|
|
3798
|
+
var result = this.k1u_1 == null ? 0 : getStringHashCode(this.k1u_1);
|
|
3800
3799
|
result = imul(result, 31) + (this.l1u_1 == null ? 0 : getBooleanHashCode(this.l1u_1)) | 0;
|
|
3801
3800
|
result = imul(result, 31) + (this.m1u_1 == null ? 0 : getBooleanHashCode(this.m1u_1)) | 0;
|
|
3802
3801
|
result = imul(result, 31) + (this.n1u_1 == null ? 0 : getBooleanHashCode(this.n1u_1)) | 0;
|
|
3803
|
-
result = imul(result, 31) + (this.o1u_1 == null ? 0 : this.o1u_1) | 0;
|
|
3802
|
+
result = imul(result, 31) + (this.o1u_1 == null ? 0 : getBooleanHashCode(this.o1u_1)) | 0;
|
|
3804
3803
|
result = imul(result, 31) + (this.p1u_1 == null ? 0 : this.p1u_1) | 0;
|
|
3805
|
-
result = imul(result, 31) + (this.q1u_1 == null ? 0 :
|
|
3806
|
-
result = imul(result, 31) + (this.r1u_1 == null ? 0 :
|
|
3804
|
+
result = imul(result, 31) + (this.q1u_1 == null ? 0 : this.q1u_1) | 0;
|
|
3805
|
+
result = imul(result, 31) + (this.r1u_1 == null ? 0 : getBooleanHashCode(this.r1u_1)) | 0;
|
|
3807
3806
|
result = imul(result, 31) + (this.s1u_1 == null ? 0 : hashCode(this.s1u_1)) | 0;
|
|
3808
|
-
result = imul(result, 31) + (this.t1u_1 == null ? 0 :
|
|
3809
|
-
result = imul(result, 31) + (this.u1u_1 == null ? 0 :
|
|
3807
|
+
result = imul(result, 31) + (this.t1u_1 == null ? 0 : hashCode(this.t1u_1)) | 0;
|
|
3808
|
+
result = imul(result, 31) + (this.u1u_1 == null ? 0 : getBooleanHashCode(this.u1u_1)) | 0;
|
|
3810
3809
|
result = imul(result, 31) + (this.v1u_1 == null ? 0 : getStringHashCode(this.v1u_1)) | 0;
|
|
3811
|
-
result = imul(result, 31) + (this.w1u_1 == null ? 0 :
|
|
3812
|
-
result = imul(result, 31) + (this.x1u_1 == null ? 0 :
|
|
3810
|
+
result = imul(result, 31) + (this.w1u_1 == null ? 0 : getStringHashCode(this.w1u_1)) | 0;
|
|
3811
|
+
result = imul(result, 31) + (this.x1u_1 == null ? 0 : hashCode(this.x1u_1)) | 0;
|
|
3813
3812
|
result = imul(result, 31) + (this.y1u_1 == null ? 0 : getBooleanHashCode(this.y1u_1)) | 0;
|
|
3814
3813
|
result = imul(result, 31) + (this.z1u_1 == null ? 0 : getBooleanHashCode(this.z1u_1)) | 0;
|
|
3815
3814
|
result = imul(result, 31) + (this.a1v_1 == null ? 0 : getBooleanHashCode(this.a1v_1)) | 0;
|
|
3816
3815
|
result = imul(result, 31) + (this.b1v_1 == null ? 0 : getBooleanHashCode(this.b1v_1)) | 0;
|
|
3817
3816
|
result = imul(result, 31) + (this.c1v_1 == null ? 0 : getBooleanHashCode(this.c1v_1)) | 0;
|
|
3818
3817
|
result = imul(result, 31) + (this.d1v_1 == null ? 0 : getBooleanHashCode(this.d1v_1)) | 0;
|
|
3819
|
-
result = imul(result, 31) +
|
|
3820
|
-
result = imul(result, 31) + (this.f1v_1
|
|
3821
|
-
result = imul(result, 31) + (this.g1v_1 == null ? 0 : this.g1v_1) | 0;
|
|
3822
|
-
result = imul(result, 31) + (this.h1v_1 == null ? 0 :
|
|
3823
|
-
result = imul(result, 31) + (this.i1v_1 == null ? 0 : this.i1v_1) | 0;
|
|
3818
|
+
result = imul(result, 31) + (this.e1v_1 == null ? 0 : getBooleanHashCode(this.e1v_1)) | 0;
|
|
3819
|
+
result = imul(result, 31) + getStringHashCode(this.f1v_1) | 0;
|
|
3820
|
+
result = imul(result, 31) + (this.g1v_1 == null ? 0 : getBooleanHashCode(this.g1v_1)) | 0;
|
|
3821
|
+
result = imul(result, 31) + (this.h1v_1 == null ? 0 : this.h1v_1) | 0;
|
|
3822
|
+
result = imul(result, 31) + (this.i1v_1 == null ? 0 : getBooleanHashCode(this.i1v_1)) | 0;
|
|
3823
|
+
result = imul(result, 31) + (this.j1v_1 == null ? 0 : this.j1v_1) | 0;
|
|
3824
3824
|
return result;
|
|
3825
3825
|
};
|
|
3826
3826
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3828,8 +3828,6 @@
|
|
|
3828
3828
|
return true;
|
|
3829
3829
|
if (!(other instanceof RulesDto))
|
|
3830
3830
|
return false;
|
|
3831
|
-
if (!(this.j1u_1 == other.j1u_1))
|
|
3832
|
-
return false;
|
|
3833
3831
|
if (!(this.k1u_1 == other.k1u_1))
|
|
3834
3832
|
return false;
|
|
3835
3833
|
if (!(this.l1u_1 == other.l1u_1))
|
|
@@ -3844,19 +3842,19 @@
|
|
|
3844
3842
|
return false;
|
|
3845
3843
|
if (!(this.q1u_1 == other.q1u_1))
|
|
3846
3844
|
return false;
|
|
3847
|
-
if (!
|
|
3845
|
+
if (!(this.r1u_1 == other.r1u_1))
|
|
3848
3846
|
return false;
|
|
3849
3847
|
if (!equals(this.s1u_1, other.s1u_1))
|
|
3850
3848
|
return false;
|
|
3851
|
-
if (!(this.t1u_1
|
|
3849
|
+
if (!equals(this.t1u_1, other.t1u_1))
|
|
3852
3850
|
return false;
|
|
3853
3851
|
if (!(this.u1u_1 == other.u1u_1))
|
|
3854
3852
|
return false;
|
|
3855
3853
|
if (!(this.v1u_1 == other.v1u_1))
|
|
3856
3854
|
return false;
|
|
3857
|
-
if (!
|
|
3855
|
+
if (!(this.w1u_1 == other.w1u_1))
|
|
3858
3856
|
return false;
|
|
3859
|
-
if (!(this.x1u_1
|
|
3857
|
+
if (!equals(this.x1u_1, other.x1u_1))
|
|
3860
3858
|
return false;
|
|
3861
3859
|
if (!(this.y1u_1 == other.y1u_1))
|
|
3862
3860
|
return false;
|
|
@@ -3870,9 +3868,9 @@
|
|
|
3870
3868
|
return false;
|
|
3871
3869
|
if (!(this.d1v_1 == other.d1v_1))
|
|
3872
3870
|
return false;
|
|
3873
|
-
if (!(this.e1v_1
|
|
3871
|
+
if (!(this.e1v_1 == other.e1v_1))
|
|
3874
3872
|
return false;
|
|
3875
|
-
if (!(this.f1v_1
|
|
3873
|
+
if (!(this.f1v_1 === other.f1v_1))
|
|
3876
3874
|
return false;
|
|
3877
3875
|
if (!(this.g1v_1 == other.g1v_1))
|
|
3878
3876
|
return false;
|
|
@@ -3880,6 +3878,8 @@
|
|
|
3880
3878
|
return false;
|
|
3881
3879
|
if (!(this.i1v_1 == other.i1v_1))
|
|
3882
3880
|
return false;
|
|
3881
|
+
if (!(this.j1v_1 == other.j1v_1))
|
|
3882
|
+
return false;
|
|
3883
3883
|
return true;
|
|
3884
3884
|
};
|
|
3885
3885
|
function BufferedAction() {
|
|
@@ -4030,7 +4030,7 @@
|
|
|
4030
4030
|
return tmp;
|
|
4031
4031
|
}
|
|
4032
4032
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4033
|
-
return $this.
|
|
4033
|
+
return $this.u1v_1.v1();
|
|
4034
4034
|
}
|
|
4035
4035
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
4036
4036
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -4070,13 +4070,13 @@
|
|
|
4070
4070
|
Companion_instance_19 = this;
|
|
4071
4071
|
var tmp = this;
|
|
4072
4072
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4073
|
-
tmp.
|
|
4073
|
+
tmp.u1v_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
4074
4074
|
}
|
|
4075
|
-
protoOf(Companion_19).
|
|
4075
|
+
protoOf(Companion_19).a18 = function () {
|
|
4076
4076
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
4077
4077
|
};
|
|
4078
|
-
protoOf(Companion_19).
|
|
4079
|
-
return this.
|
|
4078
|
+
protoOf(Companion_19).dw = function (typeParamsSerializers) {
|
|
4079
|
+
return this.a18();
|
|
4080
4080
|
};
|
|
4081
4081
|
var Companion_instance_19;
|
|
4082
4082
|
function Companion_getInstance_22() {
|
|
@@ -4124,7 +4124,7 @@
|
|
|
4124
4124
|
function ObservableLoggerOutput() {
|
|
4125
4125
|
}
|
|
4126
4126
|
function LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy() {
|
|
4127
|
-
return Companion_getInstance_22().
|
|
4127
|
+
return Companion_getInstance_22().a18();
|
|
4128
4128
|
}
|
|
4129
4129
|
function Companion_20() {
|
|
4130
4130
|
Companion_instance_20 = this;
|
|
@@ -4133,9 +4133,9 @@
|
|
|
4133
4133
|
// Inline function 'kotlin.arrayOf' call
|
|
4134
4134
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4135
4135
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4136
|
-
tmp.
|
|
4136
|
+
tmp.a1w_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
|
|
4137
4137
|
}
|
|
4138
|
-
protoOf(Companion_20).
|
|
4138
|
+
protoOf(Companion_20).a18 = function () {
|
|
4139
4139
|
return $serializer_getInstance_10();
|
|
4140
4140
|
};
|
|
4141
4141
|
var Companion_instance_20;
|
|
@@ -4147,29 +4147,29 @@
|
|
|
4147
4147
|
function $serializer_10() {
|
|
4148
4148
|
$serializer_instance_10 = this;
|
|
4149
4149
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
4150
|
-
tmp0_serialDesc.
|
|
4151
|
-
tmp0_serialDesc.
|
|
4152
|
-
tmp0_serialDesc.
|
|
4153
|
-
tmp0_serialDesc.
|
|
4154
|
-
tmp0_serialDesc.
|
|
4155
|
-
this.
|
|
4156
|
-
}
|
|
4157
|
-
protoOf($serializer_10).
|
|
4158
|
-
var tmp0_desc = this.
|
|
4159
|
-
var tmp1_output = encoder.
|
|
4160
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
4161
|
-
tmp1_output.
|
|
4162
|
-
tmp1_output.
|
|
4163
|
-
tmp1_output.
|
|
4164
|
-
tmp1_output.
|
|
4165
|
-
tmp1_output.
|
|
4166
|
-
tmp1_output.
|
|
4167
|
-
};
|
|
4168
|
-
protoOf($serializer_10).
|
|
4169
|
-
return this.
|
|
4170
|
-
};
|
|
4171
|
-
protoOf($serializer_10).
|
|
4172
|
-
var tmp0_desc = this.
|
|
4150
|
+
tmp0_serialDesc.bv('type', false);
|
|
4151
|
+
tmp0_serialDesc.bv('key', false);
|
|
4152
|
+
tmp0_serialDesc.bv('tag', false);
|
|
4153
|
+
tmp0_serialDesc.bv('message', false);
|
|
4154
|
+
tmp0_serialDesc.bv('stackTrace', false);
|
|
4155
|
+
this.b1w_1 = tmp0_serialDesc;
|
|
4156
|
+
}
|
|
4157
|
+
protoOf($serializer_10).c1w = function (encoder, value) {
|
|
4158
|
+
var tmp0_desc = this.b1w_1;
|
|
4159
|
+
var tmp1_output = encoder.ln(tmp0_desc);
|
|
4160
|
+
var tmp2_cached = Companion_getInstance_23().a1w_1;
|
|
4161
|
+
tmp1_output.cp(tmp0_desc, 0, tmp2_cached[0].v1(), value.type);
|
|
4162
|
+
tmp1_output.ep(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
4163
|
+
tmp1_output.ep(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
4164
|
+
tmp1_output.ep(tmp0_desc, 3, StringSerializer_getInstance(), value.message);
|
|
4165
|
+
tmp1_output.ep(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
4166
|
+
tmp1_output.mn(tmp0_desc);
|
|
4167
|
+
};
|
|
4168
|
+
protoOf($serializer_10).dk = function (encoder, value) {
|
|
4169
|
+
return this.c1w(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
4170
|
+
};
|
|
4171
|
+
protoOf($serializer_10).ek = function (decoder) {
|
|
4172
|
+
var tmp0_desc = this.b1w_1;
|
|
4173
4173
|
var tmp1_flag = true;
|
|
4174
4174
|
var tmp2_index = 0;
|
|
4175
4175
|
var tmp3_bitMask0 = 0;
|
|
@@ -4178,61 +4178,61 @@
|
|
|
4178
4178
|
var tmp6_local2 = null;
|
|
4179
4179
|
var tmp7_local3 = null;
|
|
4180
4180
|
var tmp8_local4 = null;
|
|
4181
|
-
var tmp9_input = decoder.
|
|
4182
|
-
var tmp10_cached = Companion_getInstance_23().
|
|
4183
|
-
if (tmp9_input.
|
|
4184
|
-
tmp4_local0 = tmp9_input.
|
|
4181
|
+
var tmp9_input = decoder.ln(tmp0_desc);
|
|
4182
|
+
var tmp10_cached = Companion_getInstance_23().a1w_1;
|
|
4183
|
+
if (tmp9_input.bo()) {
|
|
4184
|
+
tmp4_local0 = tmp9_input.xn(tmp0_desc, 0, tmp10_cached[0].v1(), tmp4_local0);
|
|
4185
4185
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4186
|
-
tmp5_local1 = tmp9_input.
|
|
4186
|
+
tmp5_local1 = tmp9_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4187
4187
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4188
|
-
tmp6_local2 = tmp9_input.
|
|
4188
|
+
tmp6_local2 = tmp9_input.zn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4189
4189
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4190
|
-
tmp7_local3 = tmp9_input.
|
|
4190
|
+
tmp7_local3 = tmp9_input.zn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4191
4191
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4192
|
-
tmp8_local4 = tmp9_input.
|
|
4192
|
+
tmp8_local4 = tmp9_input.zn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4193
4193
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4194
4194
|
} else
|
|
4195
4195
|
while (tmp1_flag) {
|
|
4196
|
-
tmp2_index = tmp9_input.
|
|
4196
|
+
tmp2_index = tmp9_input.co(tmp0_desc);
|
|
4197
4197
|
switch (tmp2_index) {
|
|
4198
4198
|
case -1:
|
|
4199
4199
|
tmp1_flag = false;
|
|
4200
4200
|
break;
|
|
4201
4201
|
case 0:
|
|
4202
|
-
tmp4_local0 = tmp9_input.
|
|
4202
|
+
tmp4_local0 = tmp9_input.xn(tmp0_desc, 0, tmp10_cached[0].v1(), tmp4_local0);
|
|
4203
4203
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4204
4204
|
break;
|
|
4205
4205
|
case 1:
|
|
4206
|
-
tmp5_local1 = tmp9_input.
|
|
4206
|
+
tmp5_local1 = tmp9_input.zn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4207
4207
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4208
4208
|
break;
|
|
4209
4209
|
case 2:
|
|
4210
|
-
tmp6_local2 = tmp9_input.
|
|
4210
|
+
tmp6_local2 = tmp9_input.zn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4211
4211
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4212
4212
|
break;
|
|
4213
4213
|
case 3:
|
|
4214
|
-
tmp7_local3 = tmp9_input.
|
|
4214
|
+
tmp7_local3 = tmp9_input.zn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4215
4215
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4216
4216
|
break;
|
|
4217
4217
|
case 4:
|
|
4218
|
-
tmp8_local4 = tmp9_input.
|
|
4218
|
+
tmp8_local4 = tmp9_input.zn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4219
4219
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4220
4220
|
break;
|
|
4221
4221
|
default:
|
|
4222
4222
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
4223
4223
|
}
|
|
4224
4224
|
}
|
|
4225
|
-
tmp9_input.
|
|
4225
|
+
tmp9_input.mn(tmp0_desc);
|
|
4226
4226
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4227
4227
|
};
|
|
4228
|
-
protoOf($serializer_10).
|
|
4229
|
-
return this.
|
|
4228
|
+
protoOf($serializer_10).ck = function () {
|
|
4229
|
+
return this.b1w_1;
|
|
4230
4230
|
};
|
|
4231
|
-
protoOf($serializer_10).
|
|
4231
|
+
protoOf($serializer_10).sv = function () {
|
|
4232
4232
|
// Inline function 'kotlin.arrayOf' call
|
|
4233
4233
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4234
4234
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4235
|
-
return [Companion_getInstance_23().
|
|
4235
|
+
return [Companion_getInstance_23().a1w_1[0].v1(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4236
4236
|
};
|
|
4237
4237
|
var $serializer_instance_10;
|
|
4238
4238
|
function $serializer_getInstance_10() {
|
|
@@ -4242,7 +4242,7 @@
|
|
|
4242
4242
|
}
|
|
4243
4243
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4244
4244
|
if (!(31 === (31 & seen0))) {
|
|
4245
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4245
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().b1w_1);
|
|
4246
4246
|
}
|
|
4247
4247
|
$this.type = type;
|
|
4248
4248
|
$this.key = key;
|
|
@@ -4262,23 +4262,23 @@
|
|
|
4262
4262
|
this.message = message;
|
|
4263
4263
|
this.stackTrace = stackTrace;
|
|
4264
4264
|
}
|
|
4265
|
-
protoOf(LoggerOutputDataDto).
|
|
4265
|
+
protoOf(LoggerOutputDataDto).d1w = function () {
|
|
4266
4266
|
return this.type;
|
|
4267
4267
|
};
|
|
4268
4268
|
protoOf(LoggerOutputDataDto).u1 = function () {
|
|
4269
4269
|
return this.key;
|
|
4270
4270
|
};
|
|
4271
|
-
protoOf(LoggerOutputDataDto).
|
|
4271
|
+
protoOf(LoggerOutputDataDto).q1p = function () {
|
|
4272
4272
|
return this.tag;
|
|
4273
4273
|
};
|
|
4274
4274
|
protoOf(LoggerOutputDataDto).e = function () {
|
|
4275
4275
|
return this.message;
|
|
4276
4276
|
};
|
|
4277
|
-
protoOf(LoggerOutputDataDto).
|
|
4277
|
+
protoOf(LoggerOutputDataDto).e1w = function () {
|
|
4278
4278
|
return this.stackTrace;
|
|
4279
4279
|
};
|
|
4280
4280
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
4281
|
-
var time = toLocalDateTime(System_instance.
|
|
4281
|
+
var time = toLocalDateTime(System_instance.kg(), Companion_getInstance_1().g1o());
|
|
4282
4282
|
var tmp = time.toString();
|
|
4283
4283
|
// Inline function 'kotlin.text.lowercase' call
|
|
4284
4284
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -4322,16 +4322,16 @@
|
|
|
4322
4322
|
protoOf(LoggerOutputDataDto).tc = function () {
|
|
4323
4323
|
return this.key;
|
|
4324
4324
|
};
|
|
4325
|
-
protoOf(LoggerOutputDataDto).
|
|
4325
|
+
protoOf(LoggerOutputDataDto).fi = function () {
|
|
4326
4326
|
return this.tag;
|
|
4327
4327
|
};
|
|
4328
|
-
protoOf(LoggerOutputDataDto).
|
|
4328
|
+
protoOf(LoggerOutputDataDto).v16 = function () {
|
|
4329
4329
|
return this.message;
|
|
4330
4330
|
};
|
|
4331
|
-
protoOf(LoggerOutputDataDto).
|
|
4331
|
+
protoOf(LoggerOutputDataDto).k1q = function () {
|
|
4332
4332
|
return this.stackTrace;
|
|
4333
4333
|
};
|
|
4334
|
-
protoOf(LoggerOutputDataDto).
|
|
4334
|
+
protoOf(LoggerOutputDataDto).f1w = function (type, key, tag, message, stackTrace) {
|
|
4335
4335
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4336
4336
|
};
|
|
4337
4337
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4340,7 +4340,7 @@
|
|
|
4340
4340
|
tag = tag === VOID ? this.tag : tag;
|
|
4341
4341
|
message = message === VOID ? this.message : message;
|
|
4342
4342
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4343
|
-
return $super === VOID ? this.
|
|
4343
|
+
return $super === VOID ? this.f1w(type, key, tag, message, stackTrace) : $super.f1w.call(this, type, key, tag, message, stackTrace);
|
|
4344
4344
|
};
|
|
4345
4345
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4346
4346
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4394,58 +4394,58 @@
|
|
|
4394
4394
|
return destination;
|
|
4395
4395
|
}
|
|
4396
4396
|
//region block: post-declaration
|
|
4397
|
-
protoOf($serializer).
|
|
4398
|
-
protoOf($serializer_0).
|
|
4399
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
4397
|
+
protoOf($serializer).tv = typeParametersSerializers;
|
|
4398
|
+
protoOf($serializer_0).tv = typeParametersSerializers;
|
|
4399
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).l1p);
|
|
4400
4400
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4401
|
-
return this.
|
|
4401
|
+
return this.p1p();
|
|
4402
4402
|
});
|
|
4403
4403
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4404
|
-
return this.
|
|
4404
|
+
return this.p1p();
|
|
4405
4405
|
});
|
|
4406
4406
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4407
|
-
return this.
|
|
4407
|
+
return this.p1p();
|
|
4408
4408
|
});
|
|
4409
4409
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).i2);
|
|
4410
4410
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).j2);
|
|
4411
4411
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).i2);
|
|
4412
4412
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).j2);
|
|
4413
4413
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4414
|
-
return this.
|
|
4414
|
+
return this.p1p();
|
|
4415
4415
|
});
|
|
4416
4416
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4417
|
-
return this.
|
|
4417
|
+
return this.p1p();
|
|
4418
4418
|
});
|
|
4419
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4420
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4421
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4422
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4423
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).
|
|
4424
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4425
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4426
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4427
|
-
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).
|
|
4428
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).
|
|
4429
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).
|
|
4430
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4431
|
-
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).
|
|
4432
|
-
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).
|
|
4419
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).n1r);
|
|
4420
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).o1r);
|
|
4421
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).p1r);
|
|
4422
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).q1r);
|
|
4423
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).r1r);
|
|
4424
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).s1r);
|
|
4425
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).t1r);
|
|
4426
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).u1r);
|
|
4427
|
+
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).v1r);
|
|
4428
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).w1r);
|
|
4429
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).x1r);
|
|
4430
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).y1r);
|
|
4431
|
+
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).z1r);
|
|
4432
|
+
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).a1s);
|
|
4433
4433
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).i2);
|
|
4434
4434
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).j2);
|
|
4435
|
-
defineProp(protoOf(Team), 'first', protoOf(Team).
|
|
4436
|
-
defineProp(protoOf(Team), 'second', protoOf(Team).
|
|
4437
|
-
protoOf($serializer_1).
|
|
4438
|
-
protoOf($serializer_2).
|
|
4439
|
-
protoOf($serializer_3).
|
|
4440
|
-
protoOf($serializer_4).
|
|
4441
|
-
protoOf($serializer_5).
|
|
4442
|
-
protoOf($serializer_6).
|
|
4443
|
-
protoOf($serializer_7).
|
|
4444
|
-
protoOf($serializer_8).
|
|
4445
|
-
protoOf($serializer_9).
|
|
4435
|
+
defineProp(protoOf(Team), 'first', protoOf(Team).j1s);
|
|
4436
|
+
defineProp(protoOf(Team), 'second', protoOf(Team).d1d);
|
|
4437
|
+
protoOf($serializer_1).tv = typeParametersSerializers;
|
|
4438
|
+
protoOf($serializer_2).tv = typeParametersSerializers;
|
|
4439
|
+
protoOf($serializer_3).tv = typeParametersSerializers;
|
|
4440
|
+
protoOf($serializer_4).tv = typeParametersSerializers;
|
|
4441
|
+
protoOf($serializer_5).tv = typeParametersSerializers;
|
|
4442
|
+
protoOf($serializer_6).tv = typeParametersSerializers;
|
|
4443
|
+
protoOf($serializer_7).tv = typeParametersSerializers;
|
|
4444
|
+
protoOf($serializer_8).tv = typeParametersSerializers;
|
|
4445
|
+
protoOf($serializer_9).tv = typeParametersSerializers;
|
|
4446
4446
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).i2);
|
|
4447
4447
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).j2);
|
|
4448
|
-
protoOf($serializer_10).
|
|
4448
|
+
protoOf($serializer_10).tv = typeParametersSerializers;
|
|
4449
4449
|
//endregion
|
|
4450
4450
|
//region block: init
|
|
4451
4451
|
GameEngineConfig_instance = new GameEngineConfig();
|