raspberry_games_engine_helpers 1.8.303 → 1.8.305
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 +56 -56
- package/Kosi-Kodein-kodein-di.js +481 -481
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +611 -611
- package/Logic_Debertz-engine.d.ts +3 -3
- package/Logic_Debertz-engine.js +6430 -6427
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +4 -4
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +38 -38
- package/raspberry-cardgame-lib-random.js +8 -20
- package/raspberry-cardgame-lib-random.js.map +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
tmp = types;
|
|
208
208
|
}
|
|
209
209
|
types = tmp;
|
|
210
|
-
return this.
|
|
210
|
+
return this.u2c(types);
|
|
211
211
|
}
|
|
212
212
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
213
213
|
initMetadataForCompanion(Companion_20);
|
|
@@ -215,9 +215,9 @@
|
|
|
215
215
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
216
216
|
//endregion
|
|
217
217
|
function GameEngineConfig() {
|
|
218
|
-
this.version = '1.8.
|
|
218
|
+
this.version = '1.8.305';
|
|
219
219
|
}
|
|
220
|
-
protoOf(GameEngineConfig).
|
|
220
|
+
protoOf(GameEngineConfig).o25 = function () {
|
|
221
221
|
return this.version;
|
|
222
222
|
};
|
|
223
223
|
var GameEngineConfig_instance;
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
return GameEngineConfig_instance;
|
|
226
226
|
}
|
|
227
227
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
228
|
-
return $this.
|
|
228
|
+
return $this.d26_1.a2();
|
|
229
229
|
}
|
|
230
230
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
231
231
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
Companion_instance = this;
|
|
248
248
|
var tmp = this;
|
|
249
249
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
250
|
-
tmp.
|
|
250
|
+
tmp.d26_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
251
251
|
}
|
|
252
252
|
protoOf(Companion).z17 = function () {
|
|
253
253
|
return _get_$cachedSerializer__te6jhj(this);
|
|
@@ -277,19 +277,19 @@
|
|
|
277
277
|
$serializer_instance = this;
|
|
278
278
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
279
279
|
tmp0_serialDesc.iv('playerId', false);
|
|
280
|
-
this.
|
|
280
|
+
this.e26_1 = tmp0_serialDesc;
|
|
281
281
|
}
|
|
282
|
-
protoOf($serializer).
|
|
283
|
-
var tmp0_desc = this.
|
|
282
|
+
protoOf($serializer).f26 = function (encoder, value) {
|
|
283
|
+
var tmp0_desc = this.e26_1;
|
|
284
284
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
285
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
285
|
+
tmp1_output.hp(tmp0_desc, 0, value.g26_1);
|
|
286
286
|
tmp1_output.tn(tmp0_desc);
|
|
287
287
|
};
|
|
288
288
|
protoOf($serializer).kk = function (encoder, value) {
|
|
289
|
-
return this.
|
|
289
|
+
return this.f26(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
290
290
|
};
|
|
291
291
|
protoOf($serializer).lk = function (decoder) {
|
|
292
|
-
var tmp0_desc = this.
|
|
292
|
+
var tmp0_desc = this.e26_1;
|
|
293
293
|
var tmp1_flag = true;
|
|
294
294
|
var tmp2_index = 0;
|
|
295
295
|
var tmp3_bitMask0 = 0;
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
318
318
|
};
|
|
319
319
|
protoOf($serializer).jk = function () {
|
|
320
|
-
return this.
|
|
320
|
+
return this.e26_1;
|
|
321
321
|
};
|
|
322
322
|
protoOf($serializer).xv = function () {
|
|
323
323
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -333,10 +333,10 @@
|
|
|
333
333
|
}
|
|
334
334
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
335
335
|
if (!(1 === (1 & seen0))) {
|
|
336
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
336
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().e26_1);
|
|
337
337
|
}
|
|
338
338
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
339
|
-
$this.
|
|
339
|
+
$this.g26_1 = playerId;
|
|
340
340
|
return $this;
|
|
341
341
|
}
|
|
342
342
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -344,13 +344,13 @@
|
|
|
344
344
|
}
|
|
345
345
|
function PlayerReturnsReason(playerId) {
|
|
346
346
|
ContinueGameReason.call(this);
|
|
347
|
-
this.
|
|
347
|
+
this.g26_1 = playerId;
|
|
348
348
|
}
|
|
349
349
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
350
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
350
|
+
return 'PlayerReturnsReason(playerId=' + this.g26_1 + ')';
|
|
351
351
|
};
|
|
352
352
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
353
|
-
return getStringHashCode(this.
|
|
353
|
+
return getStringHashCode(this.g26_1);
|
|
354
354
|
};
|
|
355
355
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
356
356
|
if (this === other)
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
if (!(other instanceof PlayerReturnsReason))
|
|
359
359
|
return false;
|
|
360
360
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
361
|
-
if (!(this.
|
|
361
|
+
if (!(this.g26_1 === tmp0_other_with_cast.g26_1))
|
|
362
362
|
return false;
|
|
363
363
|
return true;
|
|
364
364
|
};
|
|
@@ -372,19 +372,19 @@
|
|
|
372
372
|
$serializer_instance_0 = this;
|
|
373
373
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
374
374
|
tmp0_serialDesc.iv('fromRound', false);
|
|
375
|
-
this.
|
|
375
|
+
this.h26_1 = tmp0_serialDesc;
|
|
376
376
|
}
|
|
377
|
-
protoOf($serializer_0).
|
|
378
|
-
var tmp0_desc = this.
|
|
377
|
+
protoOf($serializer_0).i26 = function (encoder, value) {
|
|
378
|
+
var tmp0_desc = this.h26_1;
|
|
379
379
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
380
|
-
tmp1_output.lp(tmp0_desc, 0, IntSerializer_getInstance(), value.
|
|
380
|
+
tmp1_output.lp(tmp0_desc, 0, IntSerializer_getInstance(), value.j26_1);
|
|
381
381
|
tmp1_output.tn(tmp0_desc);
|
|
382
382
|
};
|
|
383
383
|
protoOf($serializer_0).kk = function (encoder, value) {
|
|
384
|
-
return this.
|
|
384
|
+
return this.i26(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
385
385
|
};
|
|
386
386
|
protoOf($serializer_0).lk = function (decoder) {
|
|
387
|
-
var tmp0_desc = this.
|
|
387
|
+
var tmp0_desc = this.h26_1;
|
|
388
388
|
var tmp1_flag = true;
|
|
389
389
|
var tmp2_index = 0;
|
|
390
390
|
var tmp3_bitMask0 = 0;
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
413
413
|
};
|
|
414
414
|
protoOf($serializer_0).jk = function () {
|
|
415
|
-
return this.
|
|
415
|
+
return this.h26_1;
|
|
416
416
|
};
|
|
417
417
|
protoOf($serializer_0).xv = function () {
|
|
418
418
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -428,10 +428,10 @@
|
|
|
428
428
|
}
|
|
429
429
|
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
430
430
|
if (!(1 === (1 & seen0))) {
|
|
431
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
431
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().h26_1);
|
|
432
432
|
}
|
|
433
433
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
434
|
-
$this.
|
|
434
|
+
$this.j26_1 = fromRound;
|
|
435
435
|
return $this;
|
|
436
436
|
}
|
|
437
437
|
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
@@ -439,13 +439,13 @@
|
|
|
439
439
|
}
|
|
440
440
|
function RestartRoundReason(fromRound) {
|
|
441
441
|
ContinueGameReason.call(this);
|
|
442
|
-
this.
|
|
442
|
+
this.j26_1 = fromRound;
|
|
443
443
|
}
|
|
444
444
|
protoOf(RestartRoundReason).toString = function () {
|
|
445
|
-
return 'RestartRoundReason(fromRound=' + this.
|
|
445
|
+
return 'RestartRoundReason(fromRound=' + this.j26_1 + ')';
|
|
446
446
|
};
|
|
447
447
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
448
|
-
return this.
|
|
448
|
+
return this.j26_1 == null ? 0 : this.j26_1;
|
|
449
449
|
};
|
|
450
450
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
451
451
|
if (this === other)
|
|
@@ -453,18 +453,18 @@
|
|
|
453
453
|
if (!(other instanceof RestartRoundReason))
|
|
454
454
|
return false;
|
|
455
455
|
var tmp0_other_with_cast = other instanceof RestartRoundReason ? other : THROW_CCE();
|
|
456
|
-
if (!(this.
|
|
456
|
+
if (!(this.j26_1 == tmp0_other_with_cast.j26_1))
|
|
457
457
|
return false;
|
|
458
458
|
return true;
|
|
459
459
|
};
|
|
460
460
|
function Companion_2() {
|
|
461
461
|
}
|
|
462
|
-
protoOf(Companion_2).
|
|
462
|
+
protoOf(Companion_2).k26 = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
463
463
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
464
464
|
};
|
|
465
465
|
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
466
466
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
467
|
-
return this.
|
|
467
|
+
return this.k26(fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
468
468
|
};
|
|
469
469
|
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
470
470
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -483,19 +483,19 @@
|
|
|
483
483
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
484
484
|
this.fileNameFormat = fileNameFormat;
|
|
485
485
|
}
|
|
486
|
-
protoOf(CoreConfig).
|
|
486
|
+
protoOf(CoreConfig).l26 = function () {
|
|
487
487
|
return this.fileLogsEnabled;
|
|
488
488
|
};
|
|
489
|
-
protoOf(CoreConfig).
|
|
489
|
+
protoOf(CoreConfig).m26 = function () {
|
|
490
490
|
return this.deleteFilesOnClear;
|
|
491
491
|
};
|
|
492
|
-
protoOf(CoreConfig).
|
|
492
|
+
protoOf(CoreConfig).n26 = function () {
|
|
493
493
|
return this.logsDirectoryPath;
|
|
494
494
|
};
|
|
495
|
-
protoOf(CoreConfig).
|
|
495
|
+
protoOf(CoreConfig).o26 = function () {
|
|
496
496
|
return this.fileNameFormat;
|
|
497
497
|
};
|
|
498
|
-
protoOf(CoreConfig).
|
|
498
|
+
protoOf(CoreConfig).p26 = function () {
|
|
499
499
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
500
500
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
501
501
|
};
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
protoOf(CoreConfig).p1x = function () {
|
|
512
512
|
return this.fileNameFormat;
|
|
513
513
|
};
|
|
514
|
-
protoOf(CoreConfig).
|
|
514
|
+
protoOf(CoreConfig).q26 = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
515
515
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
516
516
|
};
|
|
517
517
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
520
520
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
521
521
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
522
|
-
return this.
|
|
522
|
+
return this.q26(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
523
523
|
};
|
|
524
524
|
protoOf(CoreConfig).toString = function () {
|
|
525
525
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
return true;
|
|
549
549
|
};
|
|
550
550
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
551
|
-
return $this.
|
|
551
|
+
return $this.r26_1.a2();
|
|
552
552
|
}
|
|
553
553
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
554
554
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
RestartGameReason_instance = this;
|
|
563
563
|
var tmp = this;
|
|
564
564
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
565
|
-
tmp.
|
|
565
|
+
tmp.r26_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
566
566
|
}
|
|
567
567
|
protoOf(RestartGameReason).z17 = function () {
|
|
568
568
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
@@ -594,37 +594,37 @@
|
|
|
594
594
|
}
|
|
595
595
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
596
596
|
TerminationGameReason.call(this);
|
|
597
|
-
this.
|
|
597
|
+
this.s26_1 = playerId;
|
|
598
598
|
this.tag = tag;
|
|
599
599
|
}
|
|
600
|
-
protoOf(PlayerLostConnectionReason).
|
|
601
|
-
return this.
|
|
600
|
+
protoOf(PlayerLostConnectionReason).t26 = function () {
|
|
601
|
+
return this.s26_1;
|
|
602
602
|
};
|
|
603
|
-
protoOf(PlayerLostConnectionReason).
|
|
603
|
+
protoOf(PlayerLostConnectionReason).u26 = function () {
|
|
604
604
|
return this.tag;
|
|
605
605
|
};
|
|
606
|
-
protoOf(PlayerLostConnectionReason).
|
|
606
|
+
protoOf(PlayerLostConnectionReason).v26 = function () {
|
|
607
607
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
608
608
|
};
|
|
609
609
|
protoOf(PlayerLostConnectionReason).zc = function () {
|
|
610
|
-
return this.
|
|
610
|
+
return this.s26_1;
|
|
611
611
|
};
|
|
612
612
|
protoOf(PlayerLostConnectionReason).ad = function () {
|
|
613
613
|
return this.tag;
|
|
614
614
|
};
|
|
615
|
-
protoOf(PlayerLostConnectionReason).
|
|
615
|
+
protoOf(PlayerLostConnectionReason).w26 = function (playerId, tag) {
|
|
616
616
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
617
617
|
};
|
|
618
618
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
619
|
-
playerId = playerId === VOID ? this.
|
|
619
|
+
playerId = playerId === VOID ? this.s26_1 : playerId;
|
|
620
620
|
tag = tag === VOID ? this.tag : tag;
|
|
621
|
-
return this.
|
|
621
|
+
return this.w26(playerId, tag);
|
|
622
622
|
};
|
|
623
623
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
624
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
624
|
+
return 'PlayerLostConnectionReason(playerId=' + this.s26_1 + ', tag=' + this.tag + ')';
|
|
625
625
|
};
|
|
626
626
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
627
|
-
var result = getStringHashCode(this.
|
|
627
|
+
var result = getStringHashCode(this.s26_1);
|
|
628
628
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
629
629
|
return result;
|
|
630
630
|
};
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
635
635
|
return false;
|
|
636
636
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
637
|
-
if (!(this.
|
|
637
|
+
if (!(this.s26_1 === tmp0_other_with_cast.s26_1))
|
|
638
638
|
return false;
|
|
639
639
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
640
640
|
return false;
|
|
@@ -642,37 +642,37 @@
|
|
|
642
642
|
};
|
|
643
643
|
function PlayerTimeoutReason(playerId, tag) {
|
|
644
644
|
TerminationGameReason.call(this);
|
|
645
|
-
this.
|
|
645
|
+
this.x26_1 = playerId;
|
|
646
646
|
this.tag = tag;
|
|
647
647
|
}
|
|
648
|
-
protoOf(PlayerTimeoutReason).
|
|
649
|
-
return this.
|
|
648
|
+
protoOf(PlayerTimeoutReason).t26 = function () {
|
|
649
|
+
return this.x26_1;
|
|
650
650
|
};
|
|
651
|
-
protoOf(PlayerTimeoutReason).
|
|
651
|
+
protoOf(PlayerTimeoutReason).u26 = function () {
|
|
652
652
|
return this.tag;
|
|
653
653
|
};
|
|
654
|
-
protoOf(PlayerTimeoutReason).
|
|
654
|
+
protoOf(PlayerTimeoutReason).v26 = function () {
|
|
655
655
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
656
656
|
};
|
|
657
657
|
protoOf(PlayerTimeoutReason).zc = function () {
|
|
658
|
-
return this.
|
|
658
|
+
return this.x26_1;
|
|
659
659
|
};
|
|
660
660
|
protoOf(PlayerTimeoutReason).ad = function () {
|
|
661
661
|
return this.tag;
|
|
662
662
|
};
|
|
663
|
-
protoOf(PlayerTimeoutReason).
|
|
663
|
+
protoOf(PlayerTimeoutReason).w26 = function (playerId, tag) {
|
|
664
664
|
return new PlayerTimeoutReason(playerId, tag);
|
|
665
665
|
};
|
|
666
666
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
667
|
-
playerId = playerId === VOID ? this.
|
|
667
|
+
playerId = playerId === VOID ? this.x26_1 : playerId;
|
|
668
668
|
tag = tag === VOID ? this.tag : tag;
|
|
669
|
-
return this.
|
|
669
|
+
return this.w26(playerId, tag);
|
|
670
670
|
};
|
|
671
671
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
672
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
672
|
+
return 'PlayerTimeoutReason(playerId=' + this.x26_1 + ', tag=' + this.tag + ')';
|
|
673
673
|
};
|
|
674
674
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
675
|
-
var result = getStringHashCode(this.
|
|
675
|
+
var result = getStringHashCode(this.x26_1);
|
|
676
676
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
677
677
|
return result;
|
|
678
678
|
};
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
if (!(other instanceof PlayerTimeoutReason))
|
|
683
683
|
return false;
|
|
684
684
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
685
|
-
if (!(this.
|
|
685
|
+
if (!(this.x26_1 === tmp0_other_with_cast.x26_1))
|
|
686
686
|
return false;
|
|
687
687
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
688
688
|
return false;
|
|
@@ -690,29 +690,29 @@
|
|
|
690
690
|
};
|
|
691
691
|
function PlayerExitReason(playerId) {
|
|
692
692
|
TerminationGameReason.call(this);
|
|
693
|
-
this.
|
|
693
|
+
this.y26_1 = playerId;
|
|
694
694
|
}
|
|
695
|
-
protoOf(PlayerExitReason).
|
|
696
|
-
return this.
|
|
695
|
+
protoOf(PlayerExitReason).t26 = function () {
|
|
696
|
+
return this.y26_1;
|
|
697
697
|
};
|
|
698
|
-
protoOf(PlayerExitReason).
|
|
698
|
+
protoOf(PlayerExitReason).v26 = function () {
|
|
699
699
|
return PlayerConnectionState_LEFT_getInstance();
|
|
700
700
|
};
|
|
701
701
|
protoOf(PlayerExitReason).zc = function () {
|
|
702
|
-
return this.
|
|
702
|
+
return this.y26_1;
|
|
703
703
|
};
|
|
704
|
-
protoOf(PlayerExitReason).
|
|
704
|
+
protoOf(PlayerExitReason).z26 = function (playerId) {
|
|
705
705
|
return new PlayerExitReason(playerId);
|
|
706
706
|
};
|
|
707
707
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
708
|
-
playerId = playerId === VOID ? this.
|
|
709
|
-
return this.
|
|
708
|
+
playerId = playerId === VOID ? this.y26_1 : playerId;
|
|
709
|
+
return this.z26(playerId);
|
|
710
710
|
};
|
|
711
711
|
protoOf(PlayerExitReason).toString = function () {
|
|
712
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
712
|
+
return 'PlayerExitReason(playerId=' + this.y26_1 + ')';
|
|
713
713
|
};
|
|
714
714
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
715
|
-
return getStringHashCode(this.
|
|
715
|
+
return getStringHashCode(this.y26_1);
|
|
716
716
|
};
|
|
717
717
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
718
718
|
if (this === other)
|
|
@@ -720,14 +720,14 @@
|
|
|
720
720
|
if (!(other instanceof PlayerExitReason))
|
|
721
721
|
return false;
|
|
722
722
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
723
|
-
if (!(this.
|
|
723
|
+
if (!(this.y26_1 === tmp0_other_with_cast.y26_1))
|
|
724
724
|
return false;
|
|
725
725
|
return true;
|
|
726
726
|
};
|
|
727
727
|
function FinishPlayerReason() {
|
|
728
728
|
}
|
|
729
729
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
730
|
-
return $this.
|
|
730
|
+
return $this.a27_1.a2();
|
|
731
731
|
}
|
|
732
732
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
733
733
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
Companion_instance_3 = this;
|
|
768
768
|
var tmp = this;
|
|
769
769
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
770
|
-
tmp.
|
|
770
|
+
tmp.a27_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
771
771
|
}
|
|
772
772
|
protoOf(Companion_3).z17 = function () {
|
|
773
773
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -822,18 +822,18 @@
|
|
|
822
822
|
TerminationGameReason.call(this);
|
|
823
823
|
this.reason = reason;
|
|
824
824
|
}
|
|
825
|
-
protoOf(GameFinishedReason).
|
|
825
|
+
protoOf(GameFinishedReason).d27 = function () {
|
|
826
826
|
return this.reason;
|
|
827
827
|
};
|
|
828
828
|
protoOf(GameFinishedReason).zc = function () {
|
|
829
829
|
return this.reason;
|
|
830
830
|
};
|
|
831
|
-
protoOf(GameFinishedReason).
|
|
831
|
+
protoOf(GameFinishedReason).e27 = function (reason) {
|
|
832
832
|
return new GameFinishedReason(reason);
|
|
833
833
|
};
|
|
834
834
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
835
835
|
reason = reason === VOID ? this.reason : reason;
|
|
836
|
-
return this.
|
|
836
|
+
return this.e27(reason);
|
|
837
837
|
};
|
|
838
838
|
protoOf(GameFinishedReason).toString = function () {
|
|
839
839
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
return true;
|
|
853
853
|
};
|
|
854
854
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
855
|
-
return $this.
|
|
855
|
+
return $this.f27_1.a2();
|
|
856
856
|
}
|
|
857
857
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
858
858
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
Companion_instance_4 = this;
|
|
896
896
|
var tmp = this;
|
|
897
897
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
898
|
-
tmp.
|
|
898
|
+
tmp.f27_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
899
899
|
}
|
|
900
900
|
protoOf(Companion_4).z17 = function () {
|
|
901
901
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
@@ -955,18 +955,18 @@
|
|
|
955
955
|
TerminationGameReason.call(this);
|
|
956
956
|
this.reason = reason;
|
|
957
957
|
}
|
|
958
|
-
protoOf(GameErrorReason).
|
|
958
|
+
protoOf(GameErrorReason).d27 = function () {
|
|
959
959
|
return this.reason;
|
|
960
960
|
};
|
|
961
961
|
protoOf(GameErrorReason).zc = function () {
|
|
962
962
|
return this.reason;
|
|
963
963
|
};
|
|
964
|
-
protoOf(GameErrorReason).
|
|
964
|
+
protoOf(GameErrorReason).i27 = function (reason) {
|
|
965
965
|
return new GameErrorReason(reason);
|
|
966
966
|
};
|
|
967
967
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
968
968
|
reason = reason === VOID ? this.reason : reason;
|
|
969
|
-
return this.
|
|
969
|
+
return this.i27(reason);
|
|
970
970
|
};
|
|
971
971
|
protoOf(GameErrorReason).toString = function () {
|
|
972
972
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1043
1043
|
rating = rating === VOID ? null : rating;
|
|
1044
1044
|
payload = payload === VOID ? null : payload;
|
|
1045
|
-
this.
|
|
1045
|
+
this.j27_1 = playerId;
|
|
1046
1046
|
this.name = name;
|
|
1047
1047
|
this.avatarUrl = avatarUrl;
|
|
1048
1048
|
this.isBot = isBot;
|
|
@@ -1050,25 +1050,25 @@
|
|
|
1050
1050
|
this.rating = rating;
|
|
1051
1051
|
this.payload = payload;
|
|
1052
1052
|
}
|
|
1053
|
-
protoOf(GameUserInfo).
|
|
1054
|
-
return this.
|
|
1053
|
+
protoOf(GameUserInfo).t26 = function () {
|
|
1054
|
+
return this.j27_1;
|
|
1055
1055
|
};
|
|
1056
1056
|
protoOf(GameUserInfo).k2 = function () {
|
|
1057
1057
|
return this.name;
|
|
1058
1058
|
};
|
|
1059
|
-
protoOf(GameUserInfo).
|
|
1059
|
+
protoOf(GameUserInfo).k27 = function () {
|
|
1060
1060
|
return this.avatarUrl;
|
|
1061
1061
|
};
|
|
1062
|
-
protoOf(GameUserInfo).
|
|
1062
|
+
protoOf(GameUserInfo).l27 = function () {
|
|
1063
1063
|
return this.isBot;
|
|
1064
1064
|
};
|
|
1065
|
-
protoOf(GameUserInfo).
|
|
1065
|
+
protoOf(GameUserInfo).m27 = function () {
|
|
1066
1066
|
return this.initialLuckyFactor;
|
|
1067
1067
|
};
|
|
1068
|
-
protoOf(GameUserInfo).
|
|
1068
|
+
protoOf(GameUserInfo).n27 = function () {
|
|
1069
1069
|
return this.rating;
|
|
1070
1070
|
};
|
|
1071
|
-
protoOf(GameUserInfo).
|
|
1071
|
+
protoOf(GameUserInfo).o27 = function () {
|
|
1072
1072
|
return this.payload;
|
|
1073
1073
|
};
|
|
1074
1074
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1077
1077
|
};
|
|
1078
1078
|
protoOf(GameUserInfo).toString = function () {
|
|
1079
|
-
var tmp = 'playerId=' + this.
|
|
1079
|
+
var tmp = 'playerId=' + this.j27_1;
|
|
1080
1080
|
var tmp_0 = 'name=' + this.name;
|
|
1081
1081
|
// Inline function 'kotlin.takeIf' call
|
|
1082
1082
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1136,7 +1136,7 @@
|
|
|
1136
1136
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1137
1137
|
};
|
|
1138
1138
|
protoOf(GameUserInfo).zc = function () {
|
|
1139
|
-
return this.
|
|
1139
|
+
return this.j27_1;
|
|
1140
1140
|
};
|
|
1141
1141
|
protoOf(GameUserInfo).ad = function () {
|
|
1142
1142
|
return this.name;
|
|
@@ -1147,30 +1147,30 @@
|
|
|
1147
1147
|
protoOf(GameUserInfo).p1x = function () {
|
|
1148
1148
|
return this.isBot;
|
|
1149
1149
|
};
|
|
1150
|
-
protoOf(GameUserInfo).
|
|
1150
|
+
protoOf(GameUserInfo).p27 = function () {
|
|
1151
1151
|
return this.initialLuckyFactor;
|
|
1152
1152
|
};
|
|
1153
|
-
protoOf(GameUserInfo).
|
|
1153
|
+
protoOf(GameUserInfo).q27 = function () {
|
|
1154
1154
|
return this.rating;
|
|
1155
1155
|
};
|
|
1156
|
-
protoOf(GameUserInfo).
|
|
1156
|
+
protoOf(GameUserInfo).r27 = function () {
|
|
1157
1157
|
return this.payload;
|
|
1158
1158
|
};
|
|
1159
|
-
protoOf(GameUserInfo).
|
|
1159
|
+
protoOf(GameUserInfo).s27 = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1160
1160
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1161
1161
|
};
|
|
1162
1162
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1163
|
-
playerId = playerId === VOID ? this.
|
|
1163
|
+
playerId = playerId === VOID ? this.j27_1 : playerId;
|
|
1164
1164
|
name = name === VOID ? this.name : name;
|
|
1165
1165
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1166
1166
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1167
1167
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1168
1168
|
rating = rating === VOID ? this.rating : rating;
|
|
1169
1169
|
payload = payload === VOID ? this.payload : payload;
|
|
1170
|
-
return this.
|
|
1170
|
+
return this.s27(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1171
1171
|
};
|
|
1172
1172
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1173
|
-
var result = getStringHashCode(this.
|
|
1173
|
+
var result = getStringHashCode(this.j27_1);
|
|
1174
1174
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1175
1175
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1176
1176
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
if (!(other instanceof GameUserInfo))
|
|
1186
1186
|
return false;
|
|
1187
1187
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1188
|
-
if (!(this.
|
|
1188
|
+
if (!(this.j27_1 === tmp0_other_with_cast.j27_1))
|
|
1189
1189
|
return false;
|
|
1190
1190
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1191
1191
|
return false;
|
|
@@ -1246,18 +1246,18 @@
|
|
|
1246
1246
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1247
1247
|
}
|
|
1248
1248
|
function PlayerIndex(playerId, index) {
|
|
1249
|
-
this.
|
|
1250
|
-
this.
|
|
1249
|
+
this.t27_1 = playerId;
|
|
1250
|
+
this.u27_1 = index;
|
|
1251
1251
|
}
|
|
1252
|
-
protoOf(PlayerIndex).
|
|
1253
|
-
return this.
|
|
1252
|
+
protoOf(PlayerIndex).t26 = function () {
|
|
1253
|
+
return this.t27_1;
|
|
1254
1254
|
};
|
|
1255
1255
|
protoOf(PlayerIndex).toString = function () {
|
|
1256
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1256
|
+
return 'PlayerIndex(playerId=' + this.t27_1 + ', index=' + this.u27_1 + ')';
|
|
1257
1257
|
};
|
|
1258
1258
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1259
|
-
var result = getStringHashCode(this.
|
|
1260
|
-
result = imul(result, 31) + this.
|
|
1259
|
+
var result = getStringHashCode(this.t27_1);
|
|
1260
|
+
result = imul(result, 31) + this.u27_1 | 0;
|
|
1261
1261
|
return result;
|
|
1262
1262
|
};
|
|
1263
1263
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1266,9 +1266,9 @@
|
|
|
1266
1266
|
if (!(other instanceof PlayerIndex))
|
|
1267
1267
|
return false;
|
|
1268
1268
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1269
|
-
if (!(this.
|
|
1269
|
+
if (!(this.t27_1 === tmp0_other_with_cast.t27_1))
|
|
1270
1270
|
return false;
|
|
1271
|
-
if (!(this.
|
|
1271
|
+
if (!(this.u27_1 === tmp0_other_with_cast.u27_1))
|
|
1272
1272
|
return false;
|
|
1273
1273
|
return true;
|
|
1274
1274
|
};
|
|
@@ -1283,7 +1283,7 @@
|
|
|
1283
1283
|
}
|
|
1284
1284
|
function playerTurnPredicate$lambda(p1) {
|
|
1285
1285
|
_init_properties_Player_kt__qi83pd();
|
|
1286
|
-
return p1.
|
|
1286
|
+
return p1.v27().d28();
|
|
1287
1287
|
}
|
|
1288
1288
|
var properties_initialized_Player_kt_56shkt;
|
|
1289
1289
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1294,14 +1294,14 @@
|
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
1296
|
function Companion_5() {
|
|
1297
|
-
this.
|
|
1297
|
+
this.e28_1 = 70;
|
|
1298
1298
|
}
|
|
1299
|
-
protoOf(Companion_5).
|
|
1299
|
+
protoOf(Companion_5).f28 = function (state, timeout) {
|
|
1300
1300
|
return new PlayerConnection(state, System_instance.y1g().q1w(timeout));
|
|
1301
1301
|
};
|
|
1302
|
-
protoOf(Companion_5).
|
|
1302
|
+
protoOf(Companion_5).g28 = function (state, timeout, $super) {
|
|
1303
1303
|
timeout = timeout === VOID ? Companion_getInstance().hg_1 : timeout;
|
|
1304
|
-
return $super === VOID ? this.
|
|
1304
|
+
return $super === VOID ? this.f28(state, timeout) : $super.f28.call(this, state, new Duration(timeout));
|
|
1305
1305
|
};
|
|
1306
1306
|
var Companion_instance_5;
|
|
1307
1307
|
function Companion_getInstance_7() {
|
|
@@ -1310,45 +1310,45 @@
|
|
|
1310
1310
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1311
1311
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.y1g() : connectionChangedTime;
|
|
1312
1312
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().hg_1 : notLiveDurationRecord;
|
|
1313
|
-
this.
|
|
1314
|
-
this.
|
|
1315
|
-
this.
|
|
1313
|
+
this.h28_1 = state;
|
|
1314
|
+
this.i28_1 = connectionChangedTime;
|
|
1315
|
+
this.j28_1 = notLiveDurationRecord;
|
|
1316
1316
|
}
|
|
1317
|
-
protoOf(PlayerConnection).
|
|
1318
|
-
return System_instance.y1g().r1w(this.
|
|
1317
|
+
protoOf(PlayerConnection).k28 = function () {
|
|
1318
|
+
return System_instance.y1g().r1w(this.i28_1);
|
|
1319
1319
|
};
|
|
1320
|
-
protoOf(PlayerConnection).
|
|
1320
|
+
protoOf(PlayerConnection).l28 = function () {
|
|
1321
1321
|
var tmp;
|
|
1322
|
-
if (this.
|
|
1323
|
-
tmp = this.
|
|
1322
|
+
if (this.h28_1.isLive) {
|
|
1323
|
+
tmp = this.j28_1;
|
|
1324
1324
|
} else {
|
|
1325
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1325
|
+
tmp = Duration__plus_impl_yu9v8f(this.j28_1, this.k28());
|
|
1326
1326
|
}
|
|
1327
1327
|
return tmp;
|
|
1328
1328
|
};
|
|
1329
|
-
protoOf(PlayerConnection).
|
|
1329
|
+
protoOf(PlayerConnection).m28 = function (gameDuration) {
|
|
1330
1330
|
// Inline function 'kotlin.Long.div' call
|
|
1331
1331
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).h3() / 100.0;
|
|
1332
1332
|
// Inline function 'kotlin.math.round' call
|
|
1333
1333
|
// Inline function 'kotlin.Long.div' call
|
|
1334
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1334
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.l28()).h3() / percent;
|
|
1335
1335
|
var tmp$ret$2 = round(x);
|
|
1336
1336
|
return numberToInt(tmp$ret$2);
|
|
1337
1337
|
};
|
|
1338
|
-
protoOf(PlayerConnection).
|
|
1339
|
-
return 100 - this.
|
|
1338
|
+
protoOf(PlayerConnection).n28 = function (gameDuration) {
|
|
1339
|
+
return 100 - this.m28(gameDuration) | 0;
|
|
1340
1340
|
};
|
|
1341
|
-
protoOf(PlayerConnection).
|
|
1342
|
-
var percentage = this.
|
|
1341
|
+
protoOf(PlayerConnection).o28 = function (gameDuration) {
|
|
1342
|
+
var percentage = this.n28(gameDuration);
|
|
1343
1343
|
return percentage >= 70;
|
|
1344
1344
|
};
|
|
1345
1345
|
protoOf(PlayerConnection).toString = function () {
|
|
1346
|
-
return 'PlayerConnection(state=' + this.
|
|
1346
|
+
return 'PlayerConnection(state=' + this.h28_1.toString() + ', connectionChangedTime=' + this.i28_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.j28_1) + ')';
|
|
1347
1347
|
};
|
|
1348
1348
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1349
|
-
var result = this.
|
|
1350
|
-
result = imul(result, 31) + this.
|
|
1351
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1349
|
+
var result = this.h28_1.hashCode();
|
|
1350
|
+
result = imul(result, 31) + this.i28_1.hashCode() | 0;
|
|
1351
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.j28_1) | 0;
|
|
1352
1352
|
return result;
|
|
1353
1353
|
};
|
|
1354
1354
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1357,16 +1357,16 @@
|
|
|
1357
1357
|
if (!(other instanceof PlayerConnection))
|
|
1358
1358
|
return false;
|
|
1359
1359
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1360
|
-
if (!this.
|
|
1360
|
+
if (!this.h28_1.equals(tmp0_other_with_cast.h28_1))
|
|
1361
1361
|
return false;
|
|
1362
|
-
if (!this.
|
|
1362
|
+
if (!this.i28_1.equals(tmp0_other_with_cast.i28_1))
|
|
1363
1363
|
return false;
|
|
1364
|
-
if (!equals(this.
|
|
1364
|
+
if (!equals(this.j28_1, tmp0_other_with_cast.j28_1))
|
|
1365
1365
|
return false;
|
|
1366
1366
|
return true;
|
|
1367
1367
|
};
|
|
1368
1368
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1369
|
-
return $this.
|
|
1369
|
+
return $this.p28_1.a2();
|
|
1370
1370
|
}
|
|
1371
1371
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1372
1372
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1404,7 +1404,7 @@
|
|
|
1404
1404
|
Companion_instance_6 = this;
|
|
1405
1405
|
var tmp = this;
|
|
1406
1406
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1407
|
-
tmp.
|
|
1407
|
+
tmp.p28_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1408
1408
|
}
|
|
1409
1409
|
protoOf(Companion_6).z17 = function () {
|
|
1410
1410
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
@@ -1435,34 +1435,34 @@
|
|
|
1435
1435
|
function PlayerConnectionState(name, ordinal) {
|
|
1436
1436
|
Enum.call(this, name, ordinal);
|
|
1437
1437
|
}
|
|
1438
|
-
protoOf(PlayerConnectionState).
|
|
1438
|
+
protoOf(PlayerConnectionState).s28 = function () {
|
|
1439
1439
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1440
1440
|
};
|
|
1441
|
-
protoOf(PlayerConnectionState).
|
|
1441
|
+
protoOf(PlayerConnectionState).t28 = function () {
|
|
1442
1442
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1443
1443
|
};
|
|
1444
|
-
protoOf(PlayerConnectionState).
|
|
1444
|
+
protoOf(PlayerConnectionState).u28 = function () {
|
|
1445
1445
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1446
1446
|
};
|
|
1447
|
-
protoOf(PlayerConnectionState).
|
|
1447
|
+
protoOf(PlayerConnectionState).v28 = function () {
|
|
1448
1448
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1449
1449
|
};
|
|
1450
|
-
protoOf(PlayerConnectionState).
|
|
1450
|
+
protoOf(PlayerConnectionState).w28 = function () {
|
|
1451
1451
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1452
1452
|
};
|
|
1453
|
-
protoOf(PlayerConnectionState).
|
|
1453
|
+
protoOf(PlayerConnectionState).x28 = function () {
|
|
1454
1454
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1455
1455
|
};
|
|
1456
|
-
protoOf(PlayerConnectionState).
|
|
1456
|
+
protoOf(PlayerConnectionState).y28 = function () {
|
|
1457
1457
|
return this.isDisconnected || this.isDeleted;
|
|
1458
1458
|
};
|
|
1459
|
-
protoOf(PlayerConnectionState).
|
|
1459
|
+
protoOf(PlayerConnectionState).z28 = function () {
|
|
1460
1460
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1461
1461
|
};
|
|
1462
|
-
protoOf(PlayerConnectionState).
|
|
1462
|
+
protoOf(PlayerConnectionState).a29 = function () {
|
|
1463
1463
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1464
1464
|
};
|
|
1465
|
-
protoOf(PlayerConnectionState).
|
|
1465
|
+
protoOf(PlayerConnectionState).b29 = function () {
|
|
1466
1466
|
return this.isLostConnection;
|
|
1467
1467
|
};
|
|
1468
1468
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1490,7 +1490,7 @@
|
|
|
1490
1490
|
return PlayerConnectionState_DELETED_instance;
|
|
1491
1491
|
}
|
|
1492
1492
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1493
|
-
return $this.
|
|
1493
|
+
return $this.c29_1.a2();
|
|
1494
1494
|
}
|
|
1495
1495
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1496
1496
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1505,7 +1505,7 @@
|
|
|
1505
1505
|
Companion_instance_7 = this;
|
|
1506
1506
|
var tmp = this;
|
|
1507
1507
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1508
|
-
tmp.
|
|
1508
|
+
tmp.c29_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1509
1509
|
}
|
|
1510
1510
|
protoOf(Companion_7).z17 = function () {
|
|
1511
1511
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
@@ -1533,18 +1533,18 @@
|
|
|
1533
1533
|
function PlayerWaitingState(name, ordinal) {
|
|
1534
1534
|
Enum.call(this, name, ordinal);
|
|
1535
1535
|
}
|
|
1536
|
-
protoOf(PlayerWaitingState).
|
|
1537
|
-
return this.
|
|
1536
|
+
protoOf(PlayerWaitingState).d28 = function () {
|
|
1537
|
+
return this.f29() || this.g29();
|
|
1538
1538
|
};
|
|
1539
|
-
protoOf(PlayerWaitingState).
|
|
1539
|
+
protoOf(PlayerWaitingState).f29 = function () {
|
|
1540
1540
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1541
1541
|
};
|
|
1542
|
-
protoOf(PlayerWaitingState).
|
|
1542
|
+
protoOf(PlayerWaitingState).g29 = function () {
|
|
1543
1543
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1544
1544
|
};
|
|
1545
1545
|
function Companion_8() {
|
|
1546
1546
|
}
|
|
1547
|
-
protoOf(Companion_8).
|
|
1547
|
+
protoOf(Companion_8).h29 = function (connection) {
|
|
1548
1548
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1549
1549
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1550
1550
|
};
|
|
@@ -1567,17 +1567,17 @@
|
|
|
1567
1567
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1568
1568
|
tag = tag === VOID ? null : tag;
|
|
1569
1569
|
connection = connection === VOID ? null : connection;
|
|
1570
|
-
this.
|
|
1571
|
-
this.
|
|
1572
|
-
this.
|
|
1573
|
-
this.
|
|
1574
|
-
this.
|
|
1575
|
-
this.
|
|
1576
|
-
this.
|
|
1577
|
-
}
|
|
1578
|
-
protoOf(PlayerState).
|
|
1570
|
+
this.w27_1 = startFromTime;
|
|
1571
|
+
this.x27_1 = playerTurnTimeout;
|
|
1572
|
+
this.y27_1 = waitPlayerUntilTime;
|
|
1573
|
+
this.z27_1 = state;
|
|
1574
|
+
this.a28_1 = ready;
|
|
1575
|
+
this.b28_1 = tag;
|
|
1576
|
+
this.c28_1 = connection;
|
|
1577
|
+
}
|
|
1578
|
+
protoOf(PlayerState).i29 = function () {
|
|
1579
1579
|
// Inline function 'kotlin.requireNotNull' call
|
|
1580
|
-
var value = this.
|
|
1580
|
+
var value = this.c28_1;
|
|
1581
1581
|
// Inline function 'kotlin.contracts.contract' call
|
|
1582
1582
|
var tmp$ret$1;
|
|
1583
1583
|
$l$block: {
|
|
@@ -1596,67 +1596,67 @@
|
|
|
1596
1596
|
};
|
|
1597
1597
|
protoOf(PlayerState).toString = function () {
|
|
1598
1598
|
// Inline function 'kotlin.takeIf' call
|
|
1599
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1599
|
+
var this_0 = 'startFromTime=' + toString(this.w27_1);
|
|
1600
1600
|
// Inline function 'kotlin.contracts.contract' call
|
|
1601
1601
|
var tmp;
|
|
1602
1602
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1603
|
-
if (!(this.
|
|
1603
|
+
if (!(this.w27_1 == null)) {
|
|
1604
1604
|
tmp = this_0;
|
|
1605
1605
|
} else {
|
|
1606
1606
|
tmp = null;
|
|
1607
1607
|
}
|
|
1608
1608
|
var tmp_0 = tmp;
|
|
1609
1609
|
// Inline function 'kotlin.takeIf' call
|
|
1610
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1610
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.x27_1);
|
|
1611
1611
|
// Inline function 'kotlin.contracts.contract' call
|
|
1612
1612
|
var tmp_1;
|
|
1613
1613
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1614
|
-
if (!(this.
|
|
1614
|
+
if (!(this.x27_1 == null)) {
|
|
1615
1615
|
tmp_1 = this_1;
|
|
1616
1616
|
} else {
|
|
1617
1617
|
tmp_1 = null;
|
|
1618
1618
|
}
|
|
1619
1619
|
var tmp_2 = tmp_1;
|
|
1620
1620
|
// Inline function 'kotlin.takeIf' call
|
|
1621
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1621
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.y27_1);
|
|
1622
1622
|
// Inline function 'kotlin.contracts.contract' call
|
|
1623
1623
|
var tmp_3;
|
|
1624
1624
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1625
|
-
if (!(this.
|
|
1625
|
+
if (!(this.y27_1 == null)) {
|
|
1626
1626
|
tmp_3 = this_2;
|
|
1627
1627
|
} else {
|
|
1628
1628
|
tmp_3 = null;
|
|
1629
1629
|
}
|
|
1630
1630
|
var tmp_4 = tmp_3;
|
|
1631
|
-
var tmp_5 = 'state=' + this.
|
|
1631
|
+
var tmp_5 = 'state=' + this.z27_1.toString();
|
|
1632
1632
|
// Inline function 'kotlin.takeIf' call
|
|
1633
|
-
var this_3 = 'ready=' + this.
|
|
1633
|
+
var this_3 = 'ready=' + this.a28_1;
|
|
1634
1634
|
// Inline function 'kotlin.contracts.contract' call
|
|
1635
1635
|
var tmp_6;
|
|
1636
1636
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1637
|
-
if (this.
|
|
1637
|
+
if (this.a28_1) {
|
|
1638
1638
|
tmp_6 = this_3;
|
|
1639
1639
|
} else {
|
|
1640
1640
|
tmp_6 = null;
|
|
1641
1641
|
}
|
|
1642
1642
|
var tmp_7 = tmp_6;
|
|
1643
1643
|
// Inline function 'kotlin.takeIf' call
|
|
1644
|
-
var this_4 = 'tag=' + this.
|
|
1644
|
+
var this_4 = 'tag=' + this.b28_1;
|
|
1645
1645
|
// Inline function 'kotlin.contracts.contract' call
|
|
1646
1646
|
var tmp_8;
|
|
1647
1647
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1648
|
-
if (!(this.
|
|
1648
|
+
if (!(this.b28_1 == null)) {
|
|
1649
1649
|
tmp_8 = this_4;
|
|
1650
1650
|
} else {
|
|
1651
1651
|
tmp_8 = null;
|
|
1652
1652
|
}
|
|
1653
1653
|
var tmp_9 = tmp_8;
|
|
1654
1654
|
// Inline function 'kotlin.takeIf' call
|
|
1655
|
-
var this_5 = 'connection=' + toString(this.
|
|
1655
|
+
var this_5 = 'connection=' + toString(this.c28_1);
|
|
1656
1656
|
// Inline function 'kotlin.contracts.contract' call
|
|
1657
1657
|
var tmp_10;
|
|
1658
1658
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1659
|
-
if (!(this.
|
|
1659
|
+
if (!(this.c28_1 == null)) {
|
|
1660
1660
|
tmp_10 = this_5;
|
|
1661
1661
|
} else {
|
|
1662
1662
|
tmp_10 = null;
|
|
@@ -1664,17 +1664,17 @@
|
|
|
1664
1664
|
var tmp$ret$11 = tmp_10;
|
|
1665
1665
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1666
1666
|
};
|
|
1667
|
-
protoOf(PlayerState).
|
|
1668
|
-
return this.
|
|
1667
|
+
protoOf(PlayerState).d28 = function () {
|
|
1668
|
+
return this.z27_1.d28();
|
|
1669
1669
|
};
|
|
1670
1670
|
protoOf(PlayerState).hashCode = function () {
|
|
1671
|
-
var result = this.
|
|
1671
|
+
var result = this.w27_1 == null ? 0 : this.w27_1.hashCode();
|
|
1672
|
+
result = imul(result, 31) + (this.x27_1 == null ? 0 : this.x27_1.hashCode()) | 0;
|
|
1672
1673
|
result = imul(result, 31) + (this.y27_1 == null ? 0 : this.y27_1.hashCode()) | 0;
|
|
1673
|
-
result = imul(result, 31) +
|
|
1674
|
-
result = imul(result, 31) + this.a28_1
|
|
1675
|
-
result = imul(result, 31) +
|
|
1676
|
-
result = imul(result, 31) + (this.c28_1 == null ? 0 :
|
|
1677
|
-
result = imul(result, 31) + (this.d28_1 == null ? 0 : this.d28_1.hashCode()) | 0;
|
|
1674
|
+
result = imul(result, 31) + this.z27_1.hashCode() | 0;
|
|
1675
|
+
result = imul(result, 31) + getBooleanHashCode(this.a28_1) | 0;
|
|
1676
|
+
result = imul(result, 31) + (this.b28_1 == null ? 0 : getStringHashCode(this.b28_1)) | 0;
|
|
1677
|
+
result = imul(result, 31) + (this.c28_1 == null ? 0 : this.c28_1.hashCode()) | 0;
|
|
1678
1678
|
return result;
|
|
1679
1679
|
};
|
|
1680
1680
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1683,30 +1683,30 @@
|
|
|
1683
1683
|
if (!(other instanceof PlayerState))
|
|
1684
1684
|
return false;
|
|
1685
1685
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1686
|
+
if (!equals(this.w27_1, tmp0_other_with_cast.w27_1))
|
|
1687
|
+
return false;
|
|
1686
1688
|
if (!equals(this.x27_1, tmp0_other_with_cast.x27_1))
|
|
1687
1689
|
return false;
|
|
1688
1690
|
if (!equals(this.y27_1, tmp0_other_with_cast.y27_1))
|
|
1689
1691
|
return false;
|
|
1690
|
-
if (!
|
|
1692
|
+
if (!this.z27_1.equals(tmp0_other_with_cast.z27_1))
|
|
1691
1693
|
return false;
|
|
1692
|
-
if (!this.a28_1
|
|
1694
|
+
if (!(this.a28_1 === tmp0_other_with_cast.a28_1))
|
|
1693
1695
|
return false;
|
|
1694
|
-
if (!(this.b28_1
|
|
1696
|
+
if (!(this.b28_1 == tmp0_other_with_cast.b28_1))
|
|
1695
1697
|
return false;
|
|
1696
|
-
if (!(this.c28_1
|
|
1697
|
-
return false;
|
|
1698
|
-
if (!equals(this.d28_1, tmp0_other_with_cast.d28_1))
|
|
1698
|
+
if (!equals(this.c28_1, tmp0_other_with_cast.c28_1))
|
|
1699
1699
|
return false;
|
|
1700
1700
|
return true;
|
|
1701
1701
|
};
|
|
1702
1702
|
function Team(playerIds) {
|
|
1703
|
-
this.
|
|
1703
|
+
this.j29_1 = playerIds;
|
|
1704
1704
|
}
|
|
1705
1705
|
protoOf(Team).toString = function () {
|
|
1706
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1706
|
+
return 'Team(playerIds=' + toString_0(this.j29_1) + ')';
|
|
1707
1707
|
};
|
|
1708
1708
|
protoOf(Team).hashCode = function () {
|
|
1709
|
-
return hashCode(this.
|
|
1709
|
+
return hashCode(this.j29_1);
|
|
1710
1710
|
};
|
|
1711
1711
|
protoOf(Team).equals = function (other) {
|
|
1712
1712
|
if (this === other)
|
|
@@ -1714,12 +1714,12 @@
|
|
|
1714
1714
|
if (!(other instanceof Team))
|
|
1715
1715
|
return false;
|
|
1716
1716
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1717
|
-
if (!equals(this.
|
|
1717
|
+
if (!equals(this.j29_1, tmp0_other_with_cast.j29_1))
|
|
1718
1718
|
return false;
|
|
1719
1719
|
return true;
|
|
1720
1720
|
};
|
|
1721
1721
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1722
|
-
return $this.
|
|
1722
|
+
return $this.k29_1.a2();
|
|
1723
1723
|
}
|
|
1724
1724
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1725
1725
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1757,7 +1757,7 @@
|
|
|
1757
1757
|
Companion_instance_9 = this;
|
|
1758
1758
|
var tmp = this;
|
|
1759
1759
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1760
|
-
tmp.
|
|
1760
|
+
tmp.k29_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1761
1761
|
}
|
|
1762
1762
|
protoOf(Companion_9).z17 = function () {
|
|
1763
1763
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1778,7 +1778,7 @@
|
|
|
1778
1778
|
Companion_getInstance_11();
|
|
1779
1779
|
}
|
|
1780
1780
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1781
|
-
return $this.
|
|
1781
|
+
return $this.l29_1.a2();
|
|
1782
1782
|
}
|
|
1783
1783
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1784
1784
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1793,7 +1793,7 @@
|
|
|
1793
1793
|
TerminationGameReasonDto.call(this);
|
|
1794
1794
|
var tmp = this;
|
|
1795
1795
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1796
|
-
tmp.
|
|
1796
|
+
tmp.l29_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1797
1797
|
}
|
|
1798
1798
|
protoOf(ProcessingReasonDto).z17 = function () {
|
|
1799
1799
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1831,19 +1831,19 @@
|
|
|
1831
1831
|
$serializer_instance_1 = this;
|
|
1832
1832
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1833
1833
|
tmp0_serialDesc.iv('reason', false);
|
|
1834
|
-
this.
|
|
1834
|
+
this.m29_1 = tmp0_serialDesc;
|
|
1835
1835
|
}
|
|
1836
|
-
protoOf($serializer_1).
|
|
1837
|
-
var tmp0_desc = this.
|
|
1836
|
+
protoOf($serializer_1).n29 = function (encoder, value) {
|
|
1837
|
+
var tmp0_desc = this.m29_1;
|
|
1838
1838
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1839
1839
|
tmp1_output.hp(tmp0_desc, 0, value.reason);
|
|
1840
1840
|
tmp1_output.tn(tmp0_desc);
|
|
1841
1841
|
};
|
|
1842
1842
|
protoOf($serializer_1).kk = function (encoder, value) {
|
|
1843
|
-
return this.
|
|
1843
|
+
return this.n29(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1844
1844
|
};
|
|
1845
1845
|
protoOf($serializer_1).lk = function (decoder) {
|
|
1846
|
-
var tmp0_desc = this.
|
|
1846
|
+
var tmp0_desc = this.m29_1;
|
|
1847
1847
|
var tmp1_flag = true;
|
|
1848
1848
|
var tmp2_index = 0;
|
|
1849
1849
|
var tmp3_bitMask0 = 0;
|
|
@@ -1871,7 +1871,7 @@
|
|
|
1871
1871
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1872
1872
|
};
|
|
1873
1873
|
protoOf($serializer_1).jk = function () {
|
|
1874
|
-
return this.
|
|
1874
|
+
return this.m29_1;
|
|
1875
1875
|
};
|
|
1876
1876
|
protoOf($serializer_1).xv = function () {
|
|
1877
1877
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1887,7 +1887,7 @@
|
|
|
1887
1887
|
}
|
|
1888
1888
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1889
1889
|
if (!(1 === (1 & seen0))) {
|
|
1890
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
1890
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().m29_1);
|
|
1891
1891
|
}
|
|
1892
1892
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1893
1893
|
$this.reason = reason;
|
|
@@ -1900,7 +1900,7 @@
|
|
|
1900
1900
|
TerminationGameReasonDto.call(this);
|
|
1901
1901
|
this.reason = reason;
|
|
1902
1902
|
}
|
|
1903
|
-
protoOf(GameErrorReasonDto).
|
|
1903
|
+
protoOf(GameErrorReasonDto).d27 = function () {
|
|
1904
1904
|
return this.reason;
|
|
1905
1905
|
};
|
|
1906
1906
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -1929,19 +1929,19 @@
|
|
|
1929
1929
|
$serializer_instance_2 = this;
|
|
1930
1930
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1931
1931
|
tmp0_serialDesc.iv('reason', false);
|
|
1932
|
-
this.
|
|
1932
|
+
this.o29_1 = tmp0_serialDesc;
|
|
1933
1933
|
}
|
|
1934
|
-
protoOf($serializer_2).
|
|
1935
|
-
var tmp0_desc = this.
|
|
1934
|
+
protoOf($serializer_2).p29 = function (encoder, value) {
|
|
1935
|
+
var tmp0_desc = this.o29_1;
|
|
1936
1936
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1937
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
1937
|
+
tmp1_output.hp(tmp0_desc, 0, value.q29_1);
|
|
1938
1938
|
tmp1_output.tn(tmp0_desc);
|
|
1939
1939
|
};
|
|
1940
1940
|
protoOf($serializer_2).kk = function (encoder, value) {
|
|
1941
|
-
return this.
|
|
1941
|
+
return this.p29(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1942
1942
|
};
|
|
1943
1943
|
protoOf($serializer_2).lk = function (decoder) {
|
|
1944
|
-
var tmp0_desc = this.
|
|
1944
|
+
var tmp0_desc = this.o29_1;
|
|
1945
1945
|
var tmp1_flag = true;
|
|
1946
1946
|
var tmp2_index = 0;
|
|
1947
1947
|
var tmp3_bitMask0 = 0;
|
|
@@ -1969,7 +1969,7 @@
|
|
|
1969
1969
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1970
1970
|
};
|
|
1971
1971
|
protoOf($serializer_2).jk = function () {
|
|
1972
|
-
return this.
|
|
1972
|
+
return this.o29_1;
|
|
1973
1973
|
};
|
|
1974
1974
|
protoOf($serializer_2).xv = function () {
|
|
1975
1975
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1985,10 +1985,10 @@
|
|
|
1985
1985
|
}
|
|
1986
1986
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1987
1987
|
if (!(1 === (1 & seen0))) {
|
|
1988
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
1988
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().o29_1);
|
|
1989
1989
|
}
|
|
1990
1990
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1991
|
-
$this.
|
|
1991
|
+
$this.q29_1 = reason;
|
|
1992
1992
|
return $this;
|
|
1993
1993
|
}
|
|
1994
1994
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1996,13 +1996,13 @@
|
|
|
1996
1996
|
}
|
|
1997
1997
|
function GameFinishedReasonDto(reason) {
|
|
1998
1998
|
TerminationGameReasonDto.call(this);
|
|
1999
|
-
this.
|
|
1999
|
+
this.q29_1 = reason;
|
|
2000
2000
|
}
|
|
2001
2001
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
2002
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
2002
|
+
return 'GameFinishedReasonDto(reason=' + this.q29_1 + ')';
|
|
2003
2003
|
};
|
|
2004
2004
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
2005
|
-
return getStringHashCode(this.
|
|
2005
|
+
return getStringHashCode(this.q29_1);
|
|
2006
2006
|
};
|
|
2007
2007
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
2008
2008
|
if (this === other)
|
|
@@ -2010,7 +2010,7 @@
|
|
|
2010
2010
|
if (!(other instanceof GameFinishedReasonDto))
|
|
2011
2011
|
return false;
|
|
2012
2012
|
var tmp0_other_with_cast = other instanceof GameFinishedReasonDto ? other : THROW_CCE();
|
|
2013
|
-
if (!(this.
|
|
2013
|
+
if (!(this.q29_1 === tmp0_other_with_cast.q29_1))
|
|
2014
2014
|
return false;
|
|
2015
2015
|
return true;
|
|
2016
2016
|
};
|
|
@@ -2024,19 +2024,19 @@
|
|
|
2024
2024
|
$serializer_instance_3 = this;
|
|
2025
2025
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
2026
2026
|
tmp0_serialDesc.iv('playerId', false);
|
|
2027
|
-
this.
|
|
2027
|
+
this.r29_1 = tmp0_serialDesc;
|
|
2028
2028
|
}
|
|
2029
|
-
protoOf($serializer_3).
|
|
2030
|
-
var tmp0_desc = this.
|
|
2029
|
+
protoOf($serializer_3).s29 = function (encoder, value) {
|
|
2030
|
+
var tmp0_desc = this.r29_1;
|
|
2031
2031
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2032
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
2032
|
+
tmp1_output.hp(tmp0_desc, 0, value.t29_1);
|
|
2033
2033
|
tmp1_output.tn(tmp0_desc);
|
|
2034
2034
|
};
|
|
2035
2035
|
protoOf($serializer_3).kk = function (encoder, value) {
|
|
2036
|
-
return this.
|
|
2036
|
+
return this.s29(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2037
2037
|
};
|
|
2038
2038
|
protoOf($serializer_3).lk = function (decoder) {
|
|
2039
|
-
var tmp0_desc = this.
|
|
2039
|
+
var tmp0_desc = this.r29_1;
|
|
2040
2040
|
var tmp1_flag = true;
|
|
2041
2041
|
var tmp2_index = 0;
|
|
2042
2042
|
var tmp3_bitMask0 = 0;
|
|
@@ -2064,7 +2064,7 @@
|
|
|
2064
2064
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2065
2065
|
};
|
|
2066
2066
|
protoOf($serializer_3).jk = function () {
|
|
2067
|
-
return this.
|
|
2067
|
+
return this.r29_1;
|
|
2068
2068
|
};
|
|
2069
2069
|
protoOf($serializer_3).xv = function () {
|
|
2070
2070
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2080,10 +2080,10 @@
|
|
|
2080
2080
|
}
|
|
2081
2081
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2082
2082
|
if (!(1 === (1 & seen0))) {
|
|
2083
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2083
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().r29_1);
|
|
2084
2084
|
}
|
|
2085
2085
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2086
|
-
$this.
|
|
2086
|
+
$this.t29_1 = playerId;
|
|
2087
2087
|
return $this;
|
|
2088
2088
|
}
|
|
2089
2089
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2091,13 +2091,13 @@
|
|
|
2091
2091
|
}
|
|
2092
2092
|
function PlayerExitReasonDto(playerId) {
|
|
2093
2093
|
TerminationGameReasonDto.call(this);
|
|
2094
|
-
this.
|
|
2094
|
+
this.t29_1 = playerId;
|
|
2095
2095
|
}
|
|
2096
2096
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2097
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2097
|
+
return 'PlayerExitReasonDto(playerId=' + this.t29_1 + ')';
|
|
2098
2098
|
};
|
|
2099
2099
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2100
|
-
return getStringHashCode(this.
|
|
2100
|
+
return getStringHashCode(this.t29_1);
|
|
2101
2101
|
};
|
|
2102
2102
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2103
2103
|
if (this === other)
|
|
@@ -2105,7 +2105,7 @@
|
|
|
2105
2105
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2106
2106
|
return false;
|
|
2107
2107
|
var tmp0_other_with_cast = other instanceof PlayerExitReasonDto ? other : THROW_CCE();
|
|
2108
|
-
if (!(this.
|
|
2108
|
+
if (!(this.t29_1 === tmp0_other_with_cast.t29_1))
|
|
2109
2109
|
return false;
|
|
2110
2110
|
return true;
|
|
2111
2111
|
};
|
|
@@ -2120,20 +2120,20 @@
|
|
|
2120
2120
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2121
2121
|
tmp0_serialDesc.iv('playerId', false);
|
|
2122
2122
|
tmp0_serialDesc.iv('tag', false);
|
|
2123
|
-
this.
|
|
2123
|
+
this.u29_1 = tmp0_serialDesc;
|
|
2124
2124
|
}
|
|
2125
|
-
protoOf($serializer_4).
|
|
2126
|
-
var tmp0_desc = this.
|
|
2125
|
+
protoOf($serializer_4).v29 = function (encoder, value) {
|
|
2126
|
+
var tmp0_desc = this.u29_1;
|
|
2127
2127
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2128
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
2129
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2128
|
+
tmp1_output.hp(tmp0_desc, 0, value.w29_1);
|
|
2129
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.x29_1);
|
|
2130
2130
|
tmp1_output.tn(tmp0_desc);
|
|
2131
2131
|
};
|
|
2132
2132
|
protoOf($serializer_4).kk = function (encoder, value) {
|
|
2133
|
-
return this.
|
|
2133
|
+
return this.v29(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2134
2134
|
};
|
|
2135
2135
|
protoOf($serializer_4).lk = function (decoder) {
|
|
2136
|
-
var tmp0_desc = this.
|
|
2136
|
+
var tmp0_desc = this.u29_1;
|
|
2137
2137
|
var tmp1_flag = true;
|
|
2138
2138
|
var tmp2_index = 0;
|
|
2139
2139
|
var tmp3_bitMask0 = 0;
|
|
@@ -2168,7 +2168,7 @@
|
|
|
2168
2168
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2169
2169
|
};
|
|
2170
2170
|
protoOf($serializer_4).jk = function () {
|
|
2171
|
-
return this.
|
|
2171
|
+
return this.u29_1;
|
|
2172
2172
|
};
|
|
2173
2173
|
protoOf($serializer_4).xv = function () {
|
|
2174
2174
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2184,11 +2184,11 @@
|
|
|
2184
2184
|
}
|
|
2185
2185
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2186
2186
|
if (!(3 === (3 & seen0))) {
|
|
2187
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2187
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().u29_1);
|
|
2188
2188
|
}
|
|
2189
2189
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2190
|
-
$this.
|
|
2191
|
-
$this.
|
|
2190
|
+
$this.w29_1 = playerId;
|
|
2191
|
+
$this.x29_1 = tag;
|
|
2192
2192
|
return $this;
|
|
2193
2193
|
}
|
|
2194
2194
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2196,15 +2196,15 @@
|
|
|
2196
2196
|
}
|
|
2197
2197
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2198
2198
|
TerminationGameReasonDto.call(this);
|
|
2199
|
-
this.
|
|
2200
|
-
this.
|
|
2199
|
+
this.w29_1 = playerId;
|
|
2200
|
+
this.x29_1 = tag;
|
|
2201
2201
|
}
|
|
2202
2202
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2203
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2203
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.w29_1 + ', tag=' + this.x29_1 + ')';
|
|
2204
2204
|
};
|
|
2205
2205
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2206
|
-
var result = getStringHashCode(this.
|
|
2207
|
-
result = imul(result, 31) + (this.
|
|
2206
|
+
var result = getStringHashCode(this.w29_1);
|
|
2207
|
+
result = imul(result, 31) + (this.x29_1 == null ? 0 : getStringHashCode(this.x29_1)) | 0;
|
|
2208
2208
|
return result;
|
|
2209
2209
|
};
|
|
2210
2210
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2213,9 +2213,9 @@
|
|
|
2213
2213
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2214
2214
|
return false;
|
|
2215
2215
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReasonDto ? other : THROW_CCE();
|
|
2216
|
-
if (!(this.
|
|
2216
|
+
if (!(this.w29_1 === tmp0_other_with_cast.w29_1))
|
|
2217
2217
|
return false;
|
|
2218
|
-
if (!(this.
|
|
2218
|
+
if (!(this.x29_1 == tmp0_other_with_cast.x29_1))
|
|
2219
2219
|
return false;
|
|
2220
2220
|
return true;
|
|
2221
2221
|
};
|
|
@@ -2230,20 +2230,20 @@
|
|
|
2230
2230
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2231
2231
|
tmp0_serialDesc.iv('playerId', false);
|
|
2232
2232
|
tmp0_serialDesc.iv('tag', false);
|
|
2233
|
-
this.
|
|
2233
|
+
this.y29_1 = tmp0_serialDesc;
|
|
2234
2234
|
}
|
|
2235
|
-
protoOf($serializer_5).
|
|
2236
|
-
var tmp0_desc = this.
|
|
2235
|
+
protoOf($serializer_5).z29 = function (encoder, value) {
|
|
2236
|
+
var tmp0_desc = this.y29_1;
|
|
2237
2237
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2238
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
2239
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2238
|
+
tmp1_output.hp(tmp0_desc, 0, value.a2a_1);
|
|
2239
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.b2a_1);
|
|
2240
2240
|
tmp1_output.tn(tmp0_desc);
|
|
2241
2241
|
};
|
|
2242
2242
|
protoOf($serializer_5).kk = function (encoder, value) {
|
|
2243
|
-
return this.
|
|
2243
|
+
return this.z29(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2244
2244
|
};
|
|
2245
2245
|
protoOf($serializer_5).lk = function (decoder) {
|
|
2246
|
-
var tmp0_desc = this.
|
|
2246
|
+
var tmp0_desc = this.y29_1;
|
|
2247
2247
|
var tmp1_flag = true;
|
|
2248
2248
|
var tmp2_index = 0;
|
|
2249
2249
|
var tmp3_bitMask0 = 0;
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2279
2279
|
};
|
|
2280
2280
|
protoOf($serializer_5).jk = function () {
|
|
2281
|
-
return this.
|
|
2281
|
+
return this.y29_1;
|
|
2282
2282
|
};
|
|
2283
2283
|
protoOf($serializer_5).xv = function () {
|
|
2284
2284
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2294,11 +2294,11 @@
|
|
|
2294
2294
|
}
|
|
2295
2295
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2296
2296
|
if (!(3 === (3 & seen0))) {
|
|
2297
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2297
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().y29_1);
|
|
2298
2298
|
}
|
|
2299
2299
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2300
|
-
$this.
|
|
2301
|
-
$this.
|
|
2300
|
+
$this.a2a_1 = playerId;
|
|
2301
|
+
$this.b2a_1 = tag;
|
|
2302
2302
|
return $this;
|
|
2303
2303
|
}
|
|
2304
2304
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2306,15 +2306,15 @@
|
|
|
2306
2306
|
}
|
|
2307
2307
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2308
2308
|
TerminationGameReasonDto.call(this);
|
|
2309
|
-
this.
|
|
2310
|
-
this.
|
|
2309
|
+
this.a2a_1 = playerId;
|
|
2310
|
+
this.b2a_1 = tag;
|
|
2311
2311
|
}
|
|
2312
2312
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2313
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2313
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.a2a_1 + ', tag=' + this.b2a_1 + ')';
|
|
2314
2314
|
};
|
|
2315
2315
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2316
|
-
var result = getStringHashCode(this.
|
|
2317
|
-
result = imul(result, 31) + (this.
|
|
2316
|
+
var result = getStringHashCode(this.a2a_1);
|
|
2317
|
+
result = imul(result, 31) + (this.b2a_1 == null ? 0 : getStringHashCode(this.b2a_1)) | 0;
|
|
2318
2318
|
return result;
|
|
2319
2319
|
};
|
|
2320
2320
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2323,14 +2323,14 @@
|
|
|
2323
2323
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2324
2324
|
return false;
|
|
2325
2325
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReasonDto ? other : THROW_CCE();
|
|
2326
|
-
if (!(this.
|
|
2326
|
+
if (!(this.a2a_1 === tmp0_other_with_cast.a2a_1))
|
|
2327
2327
|
return false;
|
|
2328
|
-
if (!(this.
|
|
2328
|
+
if (!(this.b2a_1 == tmp0_other_with_cast.b2a_1))
|
|
2329
2329
|
return false;
|
|
2330
2330
|
return true;
|
|
2331
2331
|
};
|
|
2332
2332
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2333
|
-
return $this.
|
|
2333
|
+
return $this.c2a_1.a2();
|
|
2334
2334
|
}
|
|
2335
2335
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2336
2336
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
TerminationGameReasonDto.call(this);
|
|
2346
2346
|
var tmp = this;
|
|
2347
2347
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2348
|
-
tmp.
|
|
2348
|
+
tmp.c2a_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2349
2349
|
}
|
|
2350
2350
|
protoOf(WaitingForConnectionReasonDto).z17 = function () {
|
|
2351
2351
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2374,7 +2374,7 @@
|
|
|
2374
2374
|
return WaitingForConnectionReasonDto_instance;
|
|
2375
2375
|
}
|
|
2376
2376
|
function mapToDto(_this__u8e3s4) {
|
|
2377
|
-
return _this__u8e3s4.
|
|
2377
|
+
return _this__u8e3s4.q25_1;
|
|
2378
2378
|
}
|
|
2379
2379
|
function mapFromDto(_this__u8e3s4) {
|
|
2380
2380
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2467,15 +2467,15 @@
|
|
|
2467
2467
|
}
|
|
2468
2468
|
function mapToDto_3(_this__u8e3s4) {
|
|
2469
2469
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2470
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2470
|
+
return new PlayerExitReasonDto(_this__u8e3s4.y26_1);
|
|
2471
2471
|
}
|
|
2472
2472
|
function mapToDto_4(_this__u8e3s4) {
|
|
2473
2473
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2474
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2474
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.s26_1, _this__u8e3s4.tag);
|
|
2475
2475
|
}
|
|
2476
2476
|
function mapToDto_5(_this__u8e3s4) {
|
|
2477
2477
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2478
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2478
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.x26_1, _this__u8e3s4.tag);
|
|
2479
2479
|
}
|
|
2480
2480
|
function mapToDto_6(_this__u8e3s4) {
|
|
2481
2481
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2492,20 +2492,20 @@
|
|
|
2492
2492
|
}
|
|
2493
2493
|
function mapFromDto_2(_this__u8e3s4) {
|
|
2494
2494
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2495
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
2495
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.q29_1, get_gameFinishedReasonMapping());
|
|
2496
2496
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2497
2497
|
}
|
|
2498
2498
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2499
2499
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2500
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2500
|
+
return new PlayerExitReason(_this__u8e3s4.t29_1);
|
|
2501
2501
|
}
|
|
2502
2502
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2503
2503
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2504
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2504
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.w29_1, _this__u8e3s4.x29_1);
|
|
2505
2505
|
}
|
|
2506
2506
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2507
2507
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2508
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2508
|
+
return new PlayerTimeoutReason(_this__u8e3s4.a2a_1, _this__u8e3s4.b2a_1);
|
|
2509
2509
|
}
|
|
2510
2510
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2511
2511
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2548,8 +2548,8 @@
|
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
2550
|
function mapToDto_8(_this__u8e3s4) {
|
|
2551
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2552
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2551
|
+
var tmp0_playerId = _this__u8e3s4.j27_1;
|
|
2552
|
+
var tmp1_uid = _this__u8e3s4.j27_1;
|
|
2553
2553
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2554
2554
|
var tmp3_name = _this__u8e3s4.name;
|
|
2555
2555
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2570,49 +2570,49 @@
|
|
|
2570
2570
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2571
2571
|
}
|
|
2572
2572
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2573
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2574
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2575
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2576
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2577
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2578
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2579
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2580
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2573
|
+
var tmp0_elvis_lhs = _this__u8e3s4.d2a_1;
|
|
2574
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.e2a_1) : tmp0_elvis_lhs;
|
|
2575
|
+
var tmp1_elvis_lhs = _this__u8e3s4.f2a_1;
|
|
2576
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.g2a_1) : tmp1_elvis_lhs;
|
|
2577
|
+
var tmp2_elvis_lhs = _this__u8e3s4.h2a_1;
|
|
2578
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.i2a_1 : tmp2_elvis_lhs;
|
|
2579
|
+
var tmp3_elvis_lhs = _this__u8e3s4.k2a_1;
|
|
2580
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.l2a_1, _this__u8e3s4.j2a_1);
|
|
2581
2581
|
}
|
|
2582
2582
|
function mapToDto_9(_this__u8e3s4) {
|
|
2583
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2583
|
+
var tmp0_safe_receiver = _this__u8e3s4.w27_1;
|
|
2584
2584
|
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2585
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2585
|
+
var tmp1_safe_receiver = _this__u8e3s4.y27_1;
|
|
2586
2586
|
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2587
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2587
|
+
var tmp2_safe_receiver = _this__u8e3s4.x27_1;
|
|
2588
2588
|
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2589
|
-
var tmp7_state = _this__u8e3s4.
|
|
2590
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2591
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2592
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2589
|
+
var tmp7_state = _this__u8e3s4.z27_1;
|
|
2590
|
+
var tmp8_tag = _this__u8e3s4.b28_1;
|
|
2591
|
+
var tmp9_ready = _this__u8e3s4.a28_1;
|
|
2592
|
+
var tmp3_safe_receiver = _this__u8e3s4.c28_1;
|
|
2593
2593
|
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2594
2594
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2595
2595
|
}
|
|
2596
2596
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2597
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2597
|
+
var tmp0_safe_receiver = _this__u8e3s4.m2a_1;
|
|
2598
2598
|
var tmp5_startFromTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2599
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2599
|
+
var tmp1_safe_receiver = _this__u8e3s4.o2a_1;
|
|
2600
2600
|
var tmp6_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : toInstant(tmp1_safe_receiver);
|
|
2601
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2601
|
+
var tmp2_safe_receiver = _this__u8e3s4.n2a_1;
|
|
2602
2602
|
var tmp7_playerTurnTimeout = tmp2_safe_receiver == null ? null : toInstant(tmp2_safe_receiver);
|
|
2603
|
-
var tmp8_state = _this__u8e3s4.
|
|
2604
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2605
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2603
|
+
var tmp8_state = _this__u8e3s4.p2a_1;
|
|
2604
|
+
var tmp9_tag = _this__u8e3s4.r2a_1;
|
|
2605
|
+
var tmp3_elvis_lhs = _this__u8e3s4.q2a_1;
|
|
2606
2606
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2607
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2607
|
+
var tmp4_safe_receiver = _this__u8e3s4.s2a_1;
|
|
2608
2608
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2609
2609
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2610
2610
|
}
|
|
2611
2611
|
function mapToDto_10(_this__u8e3s4) {
|
|
2612
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2612
|
+
return new PlayerConnectionDto(_this__u8e3s4.h28_1, _this__u8e3s4.i28_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.j28_1));
|
|
2613
2613
|
}
|
|
2614
2614
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2615
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2615
|
+
return new PlayerConnection(_this__u8e3s4.t2a_1, toInstant(_this__u8e3s4.u2a_1), Companion_getInstance().kg(_this__u8e3s4.v2a_1));
|
|
2616
2616
|
}
|
|
2617
2617
|
function Companion_15() {
|
|
2618
2618
|
}
|
|
@@ -2632,39 +2632,39 @@
|
|
|
2632
2632
|
tmp0_serialDesc.iv('rating', false);
|
|
2633
2633
|
tmp0_serialDesc.iv('is_bot', false);
|
|
2634
2634
|
tmp0_serialDesc.iv('lucky_factor', false);
|
|
2635
|
-
this.
|
|
2635
|
+
this.w2a_1 = tmp0_serialDesc;
|
|
2636
2636
|
}
|
|
2637
|
-
protoOf($serializer_6).
|
|
2638
|
-
var tmp0_desc = this.
|
|
2637
|
+
protoOf($serializer_6).x2a = function (encoder, value) {
|
|
2638
|
+
var tmp0_desc = this.w2a_1;
|
|
2639
2639
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2640
|
-
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.
|
|
2641
|
-
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
2640
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.d2a_1 == null)) {
|
|
2641
|
+
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.d2a_1);
|
|
2642
2642
|
}
|
|
2643
|
-
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.
|
|
2644
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2643
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.e2a_1 == null)) {
|
|
2644
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.e2a_1);
|
|
2645
2645
|
}
|
|
2646
|
-
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.
|
|
2647
|
-
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2646
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.f2a_1 == null)) {
|
|
2647
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.f2a_1);
|
|
2648
2648
|
}
|
|
2649
|
-
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.
|
|
2650
|
-
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2649
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.g2a_1 == null)) {
|
|
2650
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.g2a_1);
|
|
2651
2651
|
}
|
|
2652
|
-
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.
|
|
2653
|
-
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
2652
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.h2a_1 == null)) {
|
|
2653
|
+
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.h2a_1);
|
|
2654
2654
|
}
|
|
2655
|
-
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.
|
|
2656
|
-
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2655
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.i2a_1 == null)) {
|
|
2656
|
+
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.i2a_1);
|
|
2657
2657
|
}
|
|
2658
|
-
tmp1_output.lp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.
|
|
2659
|
-
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
2660
|
-
tmp1_output.lp(tmp0_desc, 8, FloatSerializer_getInstance(), value.
|
|
2658
|
+
tmp1_output.lp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.j2a_1);
|
|
2659
|
+
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.k2a_1);
|
|
2660
|
+
tmp1_output.lp(tmp0_desc, 8, FloatSerializer_getInstance(), value.l2a_1);
|
|
2661
2661
|
tmp1_output.tn(tmp0_desc);
|
|
2662
2662
|
};
|
|
2663
2663
|
protoOf($serializer_6).kk = function (encoder, value) {
|
|
2664
|
-
return this.
|
|
2664
|
+
return this.x2a(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2665
2665
|
};
|
|
2666
2666
|
protoOf($serializer_6).lk = function (decoder) {
|
|
2667
|
-
var tmp0_desc = this.
|
|
2667
|
+
var tmp0_desc = this.w2a_1;
|
|
2668
2668
|
var tmp1_flag = true;
|
|
2669
2669
|
var tmp2_index = 0;
|
|
2670
2670
|
var tmp3_bitMask0 = 0;
|
|
@@ -2748,7 +2748,7 @@
|
|
|
2748
2748
|
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);
|
|
2749
2749
|
};
|
|
2750
2750
|
protoOf($serializer_6).jk = function () {
|
|
2751
|
-
return this.
|
|
2751
|
+
return this.w2a_1;
|
|
2752
2752
|
};
|
|
2753
2753
|
protoOf($serializer_6).xv = function () {
|
|
2754
2754
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2764,35 +2764,35 @@
|
|
|
2764
2764
|
}
|
|
2765
2765
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2766
2766
|
if (!(448 === (448 & seen0))) {
|
|
2767
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
2767
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().w2a_1);
|
|
2768
2768
|
}
|
|
2769
2769
|
if (0 === (seen0 & 1))
|
|
2770
|
-
$this.
|
|
2770
|
+
$this.d2a_1 = null;
|
|
2771
2771
|
else
|
|
2772
|
-
$this.
|
|
2772
|
+
$this.d2a_1 = playerId;
|
|
2773
2773
|
if (0 === (seen0 & 2))
|
|
2774
|
-
$this.
|
|
2774
|
+
$this.e2a_1 = null;
|
|
2775
2775
|
else
|
|
2776
|
-
$this.
|
|
2776
|
+
$this.e2a_1 = uid;
|
|
2777
2777
|
if (0 === (seen0 & 4))
|
|
2778
|
-
$this.
|
|
2778
|
+
$this.f2a_1 = null;
|
|
2779
2779
|
else
|
|
2780
|
-
$this.
|
|
2780
|
+
$this.f2a_1 = name;
|
|
2781
2781
|
if (0 === (seen0 & 8))
|
|
2782
|
-
$this.
|
|
2782
|
+
$this.g2a_1 = null;
|
|
2783
2783
|
else
|
|
2784
|
-
$this.
|
|
2784
|
+
$this.g2a_1 = nickname;
|
|
2785
2785
|
if (0 === (seen0 & 16))
|
|
2786
|
-
$this.
|
|
2786
|
+
$this.h2a_1 = null;
|
|
2787
2787
|
else
|
|
2788
|
-
$this.
|
|
2788
|
+
$this.h2a_1 = avatarUrl;
|
|
2789
2789
|
if (0 === (seen0 & 32))
|
|
2790
|
-
$this.
|
|
2790
|
+
$this.i2a_1 = null;
|
|
2791
2791
|
else
|
|
2792
|
-
$this.
|
|
2793
|
-
$this.
|
|
2794
|
-
$this.
|
|
2795
|
-
$this.
|
|
2792
|
+
$this.i2a_1 = photo;
|
|
2793
|
+
$this.j2a_1 = rating;
|
|
2794
|
+
$this.k2a_1 = isBot;
|
|
2795
|
+
$this.l2a_1 = initialLuckyFactor;
|
|
2796
2796
|
return $this;
|
|
2797
2797
|
}
|
|
2798
2798
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2805,47 +2805,47 @@
|
|
|
2805
2805
|
nickname = nickname === VOID ? null : nickname;
|
|
2806
2806
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2807
2807
|
photo = photo === VOID ? null : photo;
|
|
2808
|
-
this.
|
|
2809
|
-
this.
|
|
2810
|
-
this.
|
|
2811
|
-
this.
|
|
2812
|
-
this.
|
|
2813
|
-
this.
|
|
2814
|
-
this.
|
|
2815
|
-
this.
|
|
2816
|
-
this.
|
|
2817
|
-
}
|
|
2818
|
-
protoOf(GameUserInfoDto).
|
|
2819
|
-
return this.
|
|
2820
|
-
};
|
|
2821
|
-
protoOf(GameUserInfoDto).
|
|
2808
|
+
this.d2a_1 = playerId;
|
|
2809
|
+
this.e2a_1 = uid;
|
|
2810
|
+
this.f2a_1 = name;
|
|
2811
|
+
this.g2a_1 = nickname;
|
|
2812
|
+
this.h2a_1 = avatarUrl;
|
|
2813
|
+
this.i2a_1 = photo;
|
|
2814
|
+
this.j2a_1 = rating;
|
|
2815
|
+
this.k2a_1 = isBot;
|
|
2816
|
+
this.l2a_1 = initialLuckyFactor;
|
|
2817
|
+
}
|
|
2818
|
+
protoOf(GameUserInfoDto).y2a = function () {
|
|
2819
|
+
return this.z2a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2820
|
+
};
|
|
2821
|
+
protoOf(GameUserInfoDto).a2b = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2822
2822
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2823
2823
|
};
|
|
2824
|
-
protoOf(GameUserInfoDto).
|
|
2825
|
-
playerId = playerId === VOID ? this.
|
|
2826
|
-
uid = uid === VOID ? this.
|
|
2827
|
-
name = name === VOID ? this.
|
|
2828
|
-
nickname = nickname === VOID ? this.
|
|
2829
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2830
|
-
photo = photo === VOID ? this.
|
|
2831
|
-
rating = rating === VOID ? this.
|
|
2832
|
-
isBot = isBot === VOID ? this.
|
|
2833
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2834
|
-
return $super === VOID ? this.
|
|
2824
|
+
protoOf(GameUserInfoDto).z2a = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2825
|
+
playerId = playerId === VOID ? this.d2a_1 : playerId;
|
|
2826
|
+
uid = uid === VOID ? this.e2a_1 : uid;
|
|
2827
|
+
name = name === VOID ? this.f2a_1 : name;
|
|
2828
|
+
nickname = nickname === VOID ? this.g2a_1 : nickname;
|
|
2829
|
+
avatarUrl = avatarUrl === VOID ? this.h2a_1 : avatarUrl;
|
|
2830
|
+
photo = photo === VOID ? this.i2a_1 : photo;
|
|
2831
|
+
rating = rating === VOID ? this.j2a_1 : rating;
|
|
2832
|
+
isBot = isBot === VOID ? this.k2a_1 : isBot;
|
|
2833
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.l2a_1 : initialLuckyFactor;
|
|
2834
|
+
return $super === VOID ? this.a2b(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.a2b.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2835
2835
|
};
|
|
2836
2836
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2837
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2837
|
+
return 'GameUserInfoDto(playerId=' + this.d2a_1 + ', uid=' + this.e2a_1 + ', name=' + this.f2a_1 + ', nickname=' + this.g2a_1 + ', avatarUrl=' + this.h2a_1 + ', photo=' + this.i2a_1 + ', rating=' + this.j2a_1 + ', isBot=' + this.k2a_1 + ', initialLuckyFactor=' + this.l2a_1 + ')';
|
|
2838
2838
|
};
|
|
2839
2839
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2840
|
-
var result = this.
|
|
2840
|
+
var result = this.d2a_1 == null ? 0 : getStringHashCode(this.d2a_1);
|
|
2841
|
+
result = imul(result, 31) + (this.e2a_1 == null ? 0 : getStringHashCode(this.e2a_1)) | 0;
|
|
2841
2842
|
result = imul(result, 31) + (this.f2a_1 == null ? 0 : getStringHashCode(this.f2a_1)) | 0;
|
|
2842
2843
|
result = imul(result, 31) + (this.g2a_1 == null ? 0 : getStringHashCode(this.g2a_1)) | 0;
|
|
2843
2844
|
result = imul(result, 31) + (this.h2a_1 == null ? 0 : getStringHashCode(this.h2a_1)) | 0;
|
|
2844
2845
|
result = imul(result, 31) + (this.i2a_1 == null ? 0 : getStringHashCode(this.i2a_1)) | 0;
|
|
2845
|
-
result = imul(result, 31) + (this.j2a_1 == null ? 0 :
|
|
2846
|
-
result = imul(result, 31) + (this.k2a_1 == null ? 0 :
|
|
2847
|
-
result = imul(result, 31) + (this.l2a_1 == null ? 0 :
|
|
2848
|
-
result = imul(result, 31) + (this.m2a_1 == null ? 0 : getNumberHashCode(this.m2a_1)) | 0;
|
|
2846
|
+
result = imul(result, 31) + (this.j2a_1 == null ? 0 : getNumberHashCode(this.j2a_1)) | 0;
|
|
2847
|
+
result = imul(result, 31) + (this.k2a_1 == null ? 0 : getBooleanHashCode(this.k2a_1)) | 0;
|
|
2848
|
+
result = imul(result, 31) + (this.l2a_1 == null ? 0 : getNumberHashCode(this.l2a_1)) | 0;
|
|
2849
2849
|
return result;
|
|
2850
2850
|
};
|
|
2851
2851
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2854,6 +2854,8 @@
|
|
|
2854
2854
|
if (!(other instanceof GameUserInfoDto))
|
|
2855
2855
|
return false;
|
|
2856
2856
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2857
|
+
if (!(this.d2a_1 == tmp0_other_with_cast.d2a_1))
|
|
2858
|
+
return false;
|
|
2857
2859
|
if (!(this.e2a_1 == tmp0_other_with_cast.e2a_1))
|
|
2858
2860
|
return false;
|
|
2859
2861
|
if (!(this.f2a_1 == tmp0_other_with_cast.f2a_1))
|
|
@@ -2864,13 +2866,11 @@
|
|
|
2864
2866
|
return false;
|
|
2865
2867
|
if (!(this.i2a_1 == tmp0_other_with_cast.i2a_1))
|
|
2866
2868
|
return false;
|
|
2867
|
-
if (!(this.j2a_1
|
|
2868
|
-
return false;
|
|
2869
|
-
if (!equals(this.k2a_1, tmp0_other_with_cast.k2a_1))
|
|
2869
|
+
if (!equals(this.j2a_1, tmp0_other_with_cast.j2a_1))
|
|
2870
2870
|
return false;
|
|
2871
|
-
if (!(this.
|
|
2871
|
+
if (!(this.k2a_1 == tmp0_other_with_cast.k2a_1))
|
|
2872
2872
|
return false;
|
|
2873
|
-
if (!equals(this.
|
|
2873
|
+
if (!equals(this.l2a_1, tmp0_other_with_cast.l2a_1))
|
|
2874
2874
|
return false;
|
|
2875
2875
|
return true;
|
|
2876
2876
|
};
|
|
@@ -2880,7 +2880,7 @@
|
|
|
2880
2880
|
// Inline function 'kotlin.arrayOf' call
|
|
2881
2881
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2882
2882
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2883
|
-
tmp.
|
|
2883
|
+
tmp.b2b_1 = [Companion_getInstance_8().z17(), null, null];
|
|
2884
2884
|
}
|
|
2885
2885
|
var Companion_instance_16;
|
|
2886
2886
|
function Companion_getInstance_18() {
|
|
@@ -2894,22 +2894,22 @@
|
|
|
2894
2894
|
tmp0_serialDesc.iv('state', false);
|
|
2895
2895
|
tmp0_serialDesc.iv('connectionChangedTime', false);
|
|
2896
2896
|
tmp0_serialDesc.iv('notLiveDurationRecord', false);
|
|
2897
|
-
this.
|
|
2897
|
+
this.c2b_1 = tmp0_serialDesc;
|
|
2898
2898
|
}
|
|
2899
|
-
protoOf($serializer_7).
|
|
2900
|
-
var tmp0_desc = this.
|
|
2899
|
+
protoOf($serializer_7).d2b = function (encoder, value) {
|
|
2900
|
+
var tmp0_desc = this.c2b_1;
|
|
2901
2901
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2902
|
-
var tmp2_cached = Companion_getInstance_18().
|
|
2903
|
-
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.
|
|
2904
|
-
tmp1_output.hp(tmp0_desc, 1, value.
|
|
2905
|
-
tmp1_output.hp(tmp0_desc, 2, value.
|
|
2902
|
+
var tmp2_cached = Companion_getInstance_18().b2b_1;
|
|
2903
|
+
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.t2a_1);
|
|
2904
|
+
tmp1_output.hp(tmp0_desc, 1, value.u2a_1);
|
|
2905
|
+
tmp1_output.hp(tmp0_desc, 2, value.v2a_1);
|
|
2906
2906
|
tmp1_output.tn(tmp0_desc);
|
|
2907
2907
|
};
|
|
2908
2908
|
protoOf($serializer_7).kk = function (encoder, value) {
|
|
2909
|
-
return this.
|
|
2909
|
+
return this.d2b(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2910
2910
|
};
|
|
2911
2911
|
protoOf($serializer_7).lk = function (decoder) {
|
|
2912
|
-
var tmp0_desc = this.
|
|
2912
|
+
var tmp0_desc = this.c2b_1;
|
|
2913
2913
|
var tmp1_flag = true;
|
|
2914
2914
|
var tmp2_index = 0;
|
|
2915
2915
|
var tmp3_bitMask0 = 0;
|
|
@@ -2917,7 +2917,7 @@
|
|
|
2917
2917
|
var tmp5_local1 = null;
|
|
2918
2918
|
var tmp6_local2 = null;
|
|
2919
2919
|
var tmp7_input = decoder.sn(tmp0_desc);
|
|
2920
|
-
var tmp8_cached = Companion_getInstance_18().
|
|
2920
|
+
var tmp8_cached = Companion_getInstance_18().b2b_1;
|
|
2921
2921
|
if (tmp7_input.io()) {
|
|
2922
2922
|
tmp4_local0 = tmp7_input.eo(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2923
2923
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2952,13 +2952,13 @@
|
|
|
2952
2952
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2953
2953
|
};
|
|
2954
2954
|
protoOf($serializer_7).jk = function () {
|
|
2955
|
-
return this.
|
|
2955
|
+
return this.c2b_1;
|
|
2956
2956
|
};
|
|
2957
2957
|
protoOf($serializer_7).xv = function () {
|
|
2958
2958
|
// Inline function 'kotlin.arrayOf' call
|
|
2959
2959
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2960
2960
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2961
|
-
return [Companion_getInstance_18().
|
|
2961
|
+
return [Companion_getInstance_18().b2b_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2962
2962
|
};
|
|
2963
2963
|
var $serializer_instance_7;
|
|
2964
2964
|
function $serializer_getInstance_7() {
|
|
@@ -2968,11 +2968,11 @@
|
|
|
2968
2968
|
}
|
|
2969
2969
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2970
2970
|
if (!(7 === (7 & seen0))) {
|
|
2971
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
2971
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().c2b_1);
|
|
2972
2972
|
}
|
|
2973
|
-
$this.
|
|
2974
|
-
$this.
|
|
2975
|
-
$this.
|
|
2973
|
+
$this.t2a_1 = state;
|
|
2974
|
+
$this.u2a_1 = connectionChangedTime;
|
|
2975
|
+
$this.v2a_1 = notLiveDurationRecord;
|
|
2976
2976
|
return $this;
|
|
2977
2977
|
}
|
|
2978
2978
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -2980,17 +2980,17 @@
|
|
|
2980
2980
|
}
|
|
2981
2981
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
2982
2982
|
Companion_getInstance_18();
|
|
2983
|
-
this.
|
|
2984
|
-
this.
|
|
2985
|
-
this.
|
|
2983
|
+
this.t2a_1 = state;
|
|
2984
|
+
this.u2a_1 = connectionChangedTime;
|
|
2985
|
+
this.v2a_1 = notLiveDurationRecord;
|
|
2986
2986
|
}
|
|
2987
2987
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
2988
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
2988
|
+
return 'PlayerConnectionDto(state=' + this.t2a_1.toString() + ', connectionChangedTime=' + this.u2a_1 + ', notLiveDurationRecord=' + this.v2a_1 + ')';
|
|
2989
2989
|
};
|
|
2990
2990
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2991
|
-
var result = this.
|
|
2991
|
+
var result = this.t2a_1.hashCode();
|
|
2992
|
+
result = imul(result, 31) + getStringHashCode(this.u2a_1) | 0;
|
|
2992
2993
|
result = imul(result, 31) + getStringHashCode(this.v2a_1) | 0;
|
|
2993
|
-
result = imul(result, 31) + getStringHashCode(this.w2a_1) | 0;
|
|
2994
2994
|
return result;
|
|
2995
2995
|
};
|
|
2996
2996
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -2999,11 +2999,11 @@
|
|
|
2999
2999
|
if (!(other instanceof PlayerConnectionDto))
|
|
3000
3000
|
return false;
|
|
3001
3001
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3002
|
-
if (!this.
|
|
3002
|
+
if (!this.t2a_1.equals(tmp0_other_with_cast.t2a_1))
|
|
3003
3003
|
return false;
|
|
3004
|
-
if (!(this.
|
|
3004
|
+
if (!(this.u2a_1 === tmp0_other_with_cast.u2a_1))
|
|
3005
3005
|
return false;
|
|
3006
|
-
if (!(this.
|
|
3006
|
+
if (!(this.v2a_1 === tmp0_other_with_cast.v2a_1))
|
|
3007
3007
|
return false;
|
|
3008
3008
|
return true;
|
|
3009
3009
|
};
|
|
@@ -3013,7 +3013,7 @@
|
|
|
3013
3013
|
// Inline function 'kotlin.arrayOf' call
|
|
3014
3014
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3015
3015
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3016
|
-
tmp.
|
|
3016
|
+
tmp.e2b_1 = [null, null, null, Companion_getInstance_9().z17(), null, null, null];
|
|
3017
3017
|
}
|
|
3018
3018
|
var Companion_instance_17;
|
|
3019
3019
|
function Companion_getInstance_19() {
|
|
@@ -3031,38 +3031,38 @@
|
|
|
3031
3031
|
tmp0_serialDesc.iv('ready', true);
|
|
3032
3032
|
tmp0_serialDesc.iv('tag', true);
|
|
3033
3033
|
tmp0_serialDesc.iv('connection', true);
|
|
3034
|
-
this.
|
|
3034
|
+
this.f2b_1 = tmp0_serialDesc;
|
|
3035
3035
|
}
|
|
3036
|
-
protoOf($serializer_8).
|
|
3037
|
-
var tmp0_desc = this.
|
|
3036
|
+
protoOf($serializer_8).g2b = function (encoder, value) {
|
|
3037
|
+
var tmp0_desc = this.f2b_1;
|
|
3038
3038
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3039
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
3040
|
-
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.
|
|
3041
|
-
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
3039
|
+
var tmp2_cached = Companion_getInstance_19().e2b_1;
|
|
3040
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.m2a_1 == null)) {
|
|
3041
|
+
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.m2a_1);
|
|
3042
3042
|
}
|
|
3043
|
-
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.
|
|
3044
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3043
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.n2a_1 == null)) {
|
|
3044
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.n2a_1);
|
|
3045
3045
|
}
|
|
3046
|
-
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.
|
|
3047
|
-
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3046
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.o2a_1 == null)) {
|
|
3047
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.o2a_1);
|
|
3048
3048
|
}
|
|
3049
|
-
tmp1_output.jp(tmp0_desc, 3, tmp2_cached[3], value.
|
|
3050
|
-
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.
|
|
3051
|
-
tmp1_output.lp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3049
|
+
tmp1_output.jp(tmp0_desc, 3, tmp2_cached[3], value.p2a_1);
|
|
3050
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.q2a_1 == null)) {
|
|
3051
|
+
tmp1_output.lp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.q2a_1);
|
|
3052
3052
|
}
|
|
3053
|
-
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.
|
|
3054
|
-
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
3053
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.r2a_1 == null)) {
|
|
3054
|
+
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.r2a_1);
|
|
3055
3055
|
}
|
|
3056
|
-
if (tmp1_output.pp(tmp0_desc, 6) ? true : !(value.
|
|
3057
|
-
tmp1_output.lp(tmp0_desc, 6, $serializer_getInstance_7(), value.
|
|
3056
|
+
if (tmp1_output.pp(tmp0_desc, 6) ? true : !(value.s2a_1 == null)) {
|
|
3057
|
+
tmp1_output.lp(tmp0_desc, 6, $serializer_getInstance_7(), value.s2a_1);
|
|
3058
3058
|
}
|
|
3059
3059
|
tmp1_output.tn(tmp0_desc);
|
|
3060
3060
|
};
|
|
3061
3061
|
protoOf($serializer_8).kk = function (encoder, value) {
|
|
3062
|
-
return this.
|
|
3062
|
+
return this.g2b(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3063
3063
|
};
|
|
3064
3064
|
protoOf($serializer_8).lk = function (decoder) {
|
|
3065
|
-
var tmp0_desc = this.
|
|
3065
|
+
var tmp0_desc = this.f2b_1;
|
|
3066
3066
|
var tmp1_flag = true;
|
|
3067
3067
|
var tmp2_index = 0;
|
|
3068
3068
|
var tmp3_bitMask0 = 0;
|
|
@@ -3074,7 +3074,7 @@
|
|
|
3074
3074
|
var tmp9_local5 = null;
|
|
3075
3075
|
var tmp10_local6 = null;
|
|
3076
3076
|
var tmp11_input = decoder.sn(tmp0_desc);
|
|
3077
|
-
var tmp12_cached = Companion_getInstance_19().
|
|
3077
|
+
var tmp12_cached = Companion_getInstance_19().e2b_1;
|
|
3078
3078
|
if (tmp11_input.io()) {
|
|
3079
3079
|
tmp4_local0 = tmp11_input.go(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3080
3080
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3133,10 +3133,10 @@
|
|
|
3133
3133
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3134
3134
|
};
|
|
3135
3135
|
protoOf($serializer_8).jk = function () {
|
|
3136
|
-
return this.
|
|
3136
|
+
return this.f2b_1;
|
|
3137
3137
|
};
|
|
3138
3138
|
protoOf($serializer_8).xv = function () {
|
|
3139
|
-
var tmp0_cached = Companion_getInstance_19().
|
|
3139
|
+
var tmp0_cached = Companion_getInstance_19().e2b_1;
|
|
3140
3140
|
// Inline function 'kotlin.arrayOf' call
|
|
3141
3141
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3142
3142
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3150,33 +3150,33 @@
|
|
|
3150
3150
|
}
|
|
3151
3151
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3152
3152
|
if (!(8 === (8 & seen0))) {
|
|
3153
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3153
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().f2b_1);
|
|
3154
3154
|
}
|
|
3155
3155
|
if (0 === (seen0 & 1))
|
|
3156
|
-
$this.
|
|
3156
|
+
$this.m2a_1 = null;
|
|
3157
3157
|
else
|
|
3158
|
-
$this.
|
|
3158
|
+
$this.m2a_1 = startFrom;
|
|
3159
3159
|
if (0 === (seen0 & 2))
|
|
3160
|
-
$this.
|
|
3160
|
+
$this.n2a_1 = null;
|
|
3161
3161
|
else
|
|
3162
|
-
$this.
|
|
3162
|
+
$this.n2a_1 = playerTurnTimeout;
|
|
3163
3163
|
if (0 === (seen0 & 4))
|
|
3164
|
-
$this.
|
|
3164
|
+
$this.o2a_1 = null;
|
|
3165
3165
|
else
|
|
3166
|
-
$this.
|
|
3167
|
-
$this.
|
|
3166
|
+
$this.o2a_1 = waitPlayerUntilTime;
|
|
3167
|
+
$this.p2a_1 = state;
|
|
3168
3168
|
if (0 === (seen0 & 16))
|
|
3169
|
-
$this.
|
|
3169
|
+
$this.q2a_1 = null;
|
|
3170
3170
|
else
|
|
3171
|
-
$this.
|
|
3171
|
+
$this.q2a_1 = ready;
|
|
3172
3172
|
if (0 === (seen0 & 32))
|
|
3173
|
-
$this.
|
|
3173
|
+
$this.r2a_1 = null;
|
|
3174
3174
|
else
|
|
3175
|
-
$this.
|
|
3175
|
+
$this.r2a_1 = tag;
|
|
3176
3176
|
if (0 === (seen0 & 64))
|
|
3177
|
-
$this.
|
|
3177
|
+
$this.s2a_1 = null;
|
|
3178
3178
|
else
|
|
3179
|
-
$this.
|
|
3179
|
+
$this.s2a_1 = connection;
|
|
3180
3180
|
return $this;
|
|
3181
3181
|
}
|
|
3182
3182
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3190,25 +3190,25 @@
|
|
|
3190
3190
|
ready = ready === VOID ? null : ready;
|
|
3191
3191
|
tag = tag === VOID ? null : tag;
|
|
3192
3192
|
connection = connection === VOID ? null : connection;
|
|
3193
|
-
this.
|
|
3194
|
-
this.
|
|
3195
|
-
this.
|
|
3196
|
-
this.
|
|
3197
|
-
this.
|
|
3198
|
-
this.
|
|
3199
|
-
this.
|
|
3193
|
+
this.m2a_1 = startFrom;
|
|
3194
|
+
this.n2a_1 = playerTurnTimeout;
|
|
3195
|
+
this.o2a_1 = waitPlayerUntilTime;
|
|
3196
|
+
this.p2a_1 = state;
|
|
3197
|
+
this.q2a_1 = ready;
|
|
3198
|
+
this.r2a_1 = tag;
|
|
3199
|
+
this.s2a_1 = connection;
|
|
3200
3200
|
}
|
|
3201
3201
|
protoOf(PlayerStateDto).toString = function () {
|
|
3202
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3202
|
+
return 'PlayerStateDto(startFrom=' + this.m2a_1 + ', playerTurnTimeout=' + this.n2a_1 + ', waitPlayerUntilTime=' + this.o2a_1 + ', state=' + this.p2a_1.toString() + ', ready=' + this.q2a_1 + ', tag=' + this.r2a_1 + ', connection=' + toString(this.s2a_1) + ')';
|
|
3203
3203
|
};
|
|
3204
3204
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3205
|
-
var result = this.
|
|
3205
|
+
var result = this.m2a_1 == null ? 0 : getStringHashCode(this.m2a_1);
|
|
3206
|
+
result = imul(result, 31) + (this.n2a_1 == null ? 0 : getStringHashCode(this.n2a_1)) | 0;
|
|
3206
3207
|
result = imul(result, 31) + (this.o2a_1 == null ? 0 : getStringHashCode(this.o2a_1)) | 0;
|
|
3207
|
-
result = imul(result, 31) +
|
|
3208
|
-
result = imul(result, 31) + this.q2a_1.
|
|
3209
|
-
result = imul(result, 31) + (this.r2a_1 == null ? 0 :
|
|
3210
|
-
result = imul(result, 31) + (this.s2a_1 == null ? 0 :
|
|
3211
|
-
result = imul(result, 31) + (this.t2a_1 == null ? 0 : this.t2a_1.hashCode()) | 0;
|
|
3208
|
+
result = imul(result, 31) + this.p2a_1.hashCode() | 0;
|
|
3209
|
+
result = imul(result, 31) + (this.q2a_1 == null ? 0 : getBooleanHashCode(this.q2a_1)) | 0;
|
|
3210
|
+
result = imul(result, 31) + (this.r2a_1 == null ? 0 : getStringHashCode(this.r2a_1)) | 0;
|
|
3211
|
+
result = imul(result, 31) + (this.s2a_1 == null ? 0 : this.s2a_1.hashCode()) | 0;
|
|
3212
3212
|
return result;
|
|
3213
3213
|
};
|
|
3214
3214
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3217,19 +3217,19 @@
|
|
|
3217
3217
|
if (!(other instanceof PlayerStateDto))
|
|
3218
3218
|
return false;
|
|
3219
3219
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3220
|
+
if (!(this.m2a_1 == tmp0_other_with_cast.m2a_1))
|
|
3221
|
+
return false;
|
|
3220
3222
|
if (!(this.n2a_1 == tmp0_other_with_cast.n2a_1))
|
|
3221
3223
|
return false;
|
|
3222
3224
|
if (!(this.o2a_1 == tmp0_other_with_cast.o2a_1))
|
|
3223
3225
|
return false;
|
|
3224
|
-
if (!
|
|
3226
|
+
if (!this.p2a_1.equals(tmp0_other_with_cast.p2a_1))
|
|
3225
3227
|
return false;
|
|
3226
|
-
if (!this.q2a_1
|
|
3228
|
+
if (!(this.q2a_1 == tmp0_other_with_cast.q2a_1))
|
|
3227
3229
|
return false;
|
|
3228
3230
|
if (!(this.r2a_1 == tmp0_other_with_cast.r2a_1))
|
|
3229
3231
|
return false;
|
|
3230
|
-
if (!(this.s2a_1
|
|
3231
|
-
return false;
|
|
3232
|
-
if (!equals(this.t2a_1, tmp0_other_with_cast.t2a_1))
|
|
3232
|
+
if (!equals(this.s2a_1, tmp0_other_with_cast.s2a_1))
|
|
3233
3233
|
return false;
|
|
3234
3234
|
return true;
|
|
3235
3235
|
};
|
|
@@ -3239,7 +3239,7 @@
|
|
|
3239
3239
|
// Inline function 'kotlin.arrayOf' call
|
|
3240
3240
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3241
3241
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3242
|
-
tmp.
|
|
3242
|
+
tmp.h2b_1 = [null, null, null, null, null, null, null, new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), null, null, new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3243
3243
|
}
|
|
3244
3244
|
var Companion_instance_18;
|
|
3245
3245
|
function Companion_getInstance_20() {
|
|
@@ -3275,44 +3275,44 @@
|
|
|
3275
3275
|
tmp0_serialDesc.iv('fineIfNoBribes', false);
|
|
3276
3276
|
tmp0_serialDesc.iv('enableFineAfterThirdByte', false);
|
|
3277
3277
|
tmp0_serialDesc.iv('fineAfterThirdFailedContract', false);
|
|
3278
|
-
this.
|
|
3278
|
+
this.i2b_1 = tmp0_serialDesc;
|
|
3279
3279
|
}
|
|
3280
|
-
protoOf($serializer_9).
|
|
3281
|
-
var tmp0_desc = this.
|
|
3280
|
+
protoOf($serializer_9).j2b = function (encoder, value) {
|
|
3281
|
+
var tmp0_desc = this.i2b_1;
|
|
3282
3282
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3283
|
-
var tmp2_cached = Companion_getInstance_20().
|
|
3284
|
-
tmp1_output.lp(tmp0_desc, 0, BooleanSerializer_getInstance(), value.
|
|
3285
|
-
tmp1_output.lp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.
|
|
3286
|
-
tmp1_output.lp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.
|
|
3287
|
-
tmp1_output.lp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3288
|
-
tmp1_output.lp(tmp0_desc, 4, IntSerializer_getInstance(), value.
|
|
3289
|
-
tmp1_output.lp(tmp0_desc, 5, IntSerializer_getInstance(), value.
|
|
3290
|
-
tmp1_output.lp(tmp0_desc, 6, BooleanSerializer_getInstance(), value.
|
|
3291
|
-
tmp1_output.lp(tmp0_desc, 7, tmp2_cached[7], value.
|
|
3292
|
-
tmp1_output.lp(tmp0_desc, 8, tmp2_cached[8], value.
|
|
3293
|
-
tmp1_output.lp(tmp0_desc, 9, BooleanSerializer_getInstance(), value.
|
|
3294
|
-
tmp1_output.lp(tmp0_desc, 10, StringSerializer_getInstance(), value.
|
|
3295
|
-
tmp1_output.lp(tmp0_desc, 11, tmp2_cached[11], value.
|
|
3296
|
-
tmp1_output.lp(tmp0_desc, 12, BooleanSerializer_getInstance(), value.
|
|
3297
|
-
tmp1_output.lp(tmp0_desc, 13, BooleanSerializer_getInstance(), value.
|
|
3298
|
-
tmp1_output.lp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
3299
|
-
tmp1_output.lp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.
|
|
3300
|
-
tmp1_output.lp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.
|
|
3301
|
-
tmp1_output.lp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.
|
|
3302
|
-
tmp1_output.lp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.
|
|
3303
|
-
tmp1_output.lp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.
|
|
3304
|
-
tmp1_output.lp(tmp0_desc, 20, StringSerializer_getInstance(), value.
|
|
3305
|
-
tmp1_output.lp(tmp0_desc, 21, BooleanSerializer_getInstance(), value.
|
|
3306
|
-
tmp1_output.lp(tmp0_desc, 22, IntSerializer_getInstance(), value.
|
|
3307
|
-
tmp1_output.lp(tmp0_desc, 23, BooleanSerializer_getInstance(), value.
|
|
3308
|
-
tmp1_output.lp(tmp0_desc, 24, IntSerializer_getInstance(), value.
|
|
3283
|
+
var tmp2_cached = Companion_getInstance_20().h2b_1;
|
|
3284
|
+
tmp1_output.lp(tmp0_desc, 0, BooleanSerializer_getInstance(), value.k2b_1);
|
|
3285
|
+
tmp1_output.lp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.l2b_1);
|
|
3286
|
+
tmp1_output.lp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.m2b_1);
|
|
3287
|
+
tmp1_output.lp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.n2b_1);
|
|
3288
|
+
tmp1_output.lp(tmp0_desc, 4, IntSerializer_getInstance(), value.o2b_1);
|
|
3289
|
+
tmp1_output.lp(tmp0_desc, 5, IntSerializer_getInstance(), value.p2b_1);
|
|
3290
|
+
tmp1_output.lp(tmp0_desc, 6, BooleanSerializer_getInstance(), value.q2b_1);
|
|
3291
|
+
tmp1_output.lp(tmp0_desc, 7, tmp2_cached[7], value.r2b_1);
|
|
3292
|
+
tmp1_output.lp(tmp0_desc, 8, tmp2_cached[8], value.s2b_1);
|
|
3293
|
+
tmp1_output.lp(tmp0_desc, 9, BooleanSerializer_getInstance(), value.t2b_1);
|
|
3294
|
+
tmp1_output.lp(tmp0_desc, 10, StringSerializer_getInstance(), value.u2b_1);
|
|
3295
|
+
tmp1_output.lp(tmp0_desc, 11, tmp2_cached[11], value.v2b_1);
|
|
3296
|
+
tmp1_output.lp(tmp0_desc, 12, BooleanSerializer_getInstance(), value.w2b_1);
|
|
3297
|
+
tmp1_output.lp(tmp0_desc, 13, BooleanSerializer_getInstance(), value.x2b_1);
|
|
3298
|
+
tmp1_output.lp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.y2b_1);
|
|
3299
|
+
tmp1_output.lp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.z2b_1);
|
|
3300
|
+
tmp1_output.lp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.a2c_1);
|
|
3301
|
+
tmp1_output.lp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.b2c_1);
|
|
3302
|
+
tmp1_output.lp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.c2c_1);
|
|
3303
|
+
tmp1_output.lp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.d2c_1);
|
|
3304
|
+
tmp1_output.lp(tmp0_desc, 20, StringSerializer_getInstance(), value.e2c_1);
|
|
3305
|
+
tmp1_output.lp(tmp0_desc, 21, BooleanSerializer_getInstance(), value.f2c_1);
|
|
3306
|
+
tmp1_output.lp(tmp0_desc, 22, IntSerializer_getInstance(), value.g2c_1);
|
|
3307
|
+
tmp1_output.lp(tmp0_desc, 23, BooleanSerializer_getInstance(), value.h2c_1);
|
|
3308
|
+
tmp1_output.lp(tmp0_desc, 24, IntSerializer_getInstance(), value.i2c_1);
|
|
3309
3309
|
tmp1_output.tn(tmp0_desc);
|
|
3310
3310
|
};
|
|
3311
3311
|
protoOf($serializer_9).kk = function (encoder, value) {
|
|
3312
|
-
return this.
|
|
3312
|
+
return this.j2b(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3313
3313
|
};
|
|
3314
3314
|
protoOf($serializer_9).lk = function (decoder) {
|
|
3315
|
-
var tmp0_desc = this.
|
|
3315
|
+
var tmp0_desc = this.i2b_1;
|
|
3316
3316
|
var tmp1_flag = true;
|
|
3317
3317
|
var tmp2_index = 0;
|
|
3318
3318
|
var tmp3_bitMask0 = 0;
|
|
@@ -3342,7 +3342,7 @@
|
|
|
3342
3342
|
var tmp27_local23 = null;
|
|
3343
3343
|
var tmp28_local24 = null;
|
|
3344
3344
|
var tmp29_input = decoder.sn(tmp0_desc);
|
|
3345
|
-
var tmp30_cached = Companion_getInstance_20().
|
|
3345
|
+
var tmp30_cached = Companion_getInstance_20().h2b_1;
|
|
3346
3346
|
if (tmp29_input.io()) {
|
|
3347
3347
|
tmp4_local0 = tmp29_input.go(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
3348
3348
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3509,10 +3509,10 @@
|
|
|
3509
3509
|
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, null);
|
|
3510
3510
|
};
|
|
3511
3511
|
protoOf($serializer_9).jk = function () {
|
|
3512
|
-
return this.
|
|
3512
|
+
return this.i2b_1;
|
|
3513
3513
|
};
|
|
3514
3514
|
protoOf($serializer_9).xv = function () {
|
|
3515
|
-
var tmp0_cached = Companion_getInstance_20().
|
|
3515
|
+
var tmp0_cached = Companion_getInstance_20().h2b_1;
|
|
3516
3516
|
// Inline function 'kotlin.arrayOf' call
|
|
3517
3517
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3518
3518
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3526,33 +3526,33 @@
|
|
|
3526
3526
|
}
|
|
3527
3527
|
function RulesDto_init_$Init$(seen0, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3528
3528
|
if (!(33554431 === (33554431 & seen0))) {
|
|
3529
|
-
throwMissingFieldException(seen0, 33554431, $serializer_getInstance_9().
|
|
3529
|
+
throwMissingFieldException(seen0, 33554431, $serializer_getInstance_9().i2b_1);
|
|
3530
3530
|
}
|
|
3531
|
-
$this.
|
|
3532
|
-
$this.
|
|
3533
|
-
$this.
|
|
3534
|
-
$this.
|
|
3535
|
-
$this.
|
|
3536
|
-
$this.
|
|
3537
|
-
$this.
|
|
3538
|
-
$this.
|
|
3539
|
-
$this.
|
|
3540
|
-
$this.
|
|
3541
|
-
$this.
|
|
3542
|
-
$this.
|
|
3543
|
-
$this.
|
|
3544
|
-
$this.
|
|
3545
|
-
$this.
|
|
3546
|
-
$this.
|
|
3547
|
-
$this.
|
|
3548
|
-
$this.
|
|
3549
|
-
$this.
|
|
3550
|
-
$this.
|
|
3551
|
-
$this.
|
|
3552
|
-
$this.
|
|
3553
|
-
$this.
|
|
3554
|
-
$this.
|
|
3555
|
-
$this.
|
|
3531
|
+
$this.k2b_1 = playerWhoChooseSuitGoFirst;
|
|
3532
|
+
$this.l2b_1 = winnerShuffleCards;
|
|
3533
|
+
$this.m2b_1 = playWithoutLiabilities;
|
|
3534
|
+
$this.n2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3535
|
+
$this.o2b_1 = dealerInitialCardsCount;
|
|
3536
|
+
$this.p2b_1 = dealerFinalCardsCount;
|
|
3537
|
+
$this.q2b_1 = dealerCounterClockwise;
|
|
3538
|
+
$this.r2b_1 = contractTypes;
|
|
3539
|
+
$this.s2b_1 = bidTypes;
|
|
3540
|
+
$this.t2b_1 = needToPutHigherTrump;
|
|
3541
|
+
$this.u2b_1 = trumpCardStepPartnerMode;
|
|
3542
|
+
$this.v2b_1 = combinationsWithFirstCard;
|
|
3543
|
+
$this.w2b_1 = protectBella;
|
|
3544
|
+
$this.x2b_1 = oneTryToProtectBella;
|
|
3545
|
+
$this.y2b_1 = enableFourSevensCombination;
|
|
3546
|
+
$this.z2b_1 = enableTrumpSevenCombination;
|
|
3547
|
+
$this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3548
|
+
$this.b2c_1 = checkTrumpCombination;
|
|
3549
|
+
$this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3550
|
+
$this.d2c_1 = distributePoints;
|
|
3551
|
+
$this.e2c_1 = pointsDistributeMode;
|
|
3552
|
+
$this.f2c_1 = enableFineIfNoBribes;
|
|
3553
|
+
$this.g2c_1 = fineIfNoBribes;
|
|
3554
|
+
$this.h2c_1 = enableFineAfterThirdByte;
|
|
3555
|
+
$this.i2c_1 = fineAfterThirdFailedContract;
|
|
3556
3556
|
return $this;
|
|
3557
3557
|
}
|
|
3558
3558
|
function RulesDto_init_$Create$(seen0, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
@@ -3560,48 +3560,49 @@
|
|
|
3560
3560
|
}
|
|
3561
3561
|
function RulesDto(playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3562
3562
|
Companion_getInstance_20();
|
|
3563
|
-
this.
|
|
3564
|
-
this.
|
|
3565
|
-
this.
|
|
3566
|
-
this.
|
|
3567
|
-
this.
|
|
3568
|
-
this.
|
|
3569
|
-
this.
|
|
3570
|
-
this.
|
|
3571
|
-
this.
|
|
3572
|
-
this.
|
|
3573
|
-
this.
|
|
3574
|
-
this.
|
|
3575
|
-
this.
|
|
3576
|
-
this.
|
|
3577
|
-
this.
|
|
3578
|
-
this.
|
|
3579
|
-
this.
|
|
3580
|
-
this.
|
|
3581
|
-
this.
|
|
3582
|
-
this.
|
|
3583
|
-
this.
|
|
3584
|
-
this.
|
|
3585
|
-
this.
|
|
3586
|
-
this.
|
|
3587
|
-
this.
|
|
3563
|
+
this.k2b_1 = playerWhoChooseSuitGoFirst;
|
|
3564
|
+
this.l2b_1 = winnerShuffleCards;
|
|
3565
|
+
this.m2b_1 = playWithoutLiabilities;
|
|
3566
|
+
this.n2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3567
|
+
this.o2b_1 = dealerInitialCardsCount;
|
|
3568
|
+
this.p2b_1 = dealerFinalCardsCount;
|
|
3569
|
+
this.q2b_1 = dealerCounterClockwise;
|
|
3570
|
+
this.r2b_1 = contractTypes;
|
|
3571
|
+
this.s2b_1 = bidTypes;
|
|
3572
|
+
this.t2b_1 = needToPutHigherTrump;
|
|
3573
|
+
this.u2b_1 = trumpCardStepPartnerMode;
|
|
3574
|
+
this.v2b_1 = combinationsWithFirstCard;
|
|
3575
|
+
this.w2b_1 = protectBella;
|
|
3576
|
+
this.x2b_1 = oneTryToProtectBella;
|
|
3577
|
+
this.y2b_1 = enableFourSevensCombination;
|
|
3578
|
+
this.z2b_1 = enableTrumpSevenCombination;
|
|
3579
|
+
this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3580
|
+
this.b2c_1 = checkTrumpCombination;
|
|
3581
|
+
this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3582
|
+
this.d2c_1 = distributePoints;
|
|
3583
|
+
this.e2c_1 = pointsDistributeMode;
|
|
3584
|
+
this.f2c_1 = enableFineIfNoBribes;
|
|
3585
|
+
this.g2c_1 = fineIfNoBribes;
|
|
3586
|
+
this.h2c_1 = enableFineAfterThirdByte;
|
|
3587
|
+
this.i2c_1 = fineAfterThirdFailedContract;
|
|
3588
3588
|
}
|
|
3589
3589
|
protoOf(RulesDto).toString = function () {
|
|
3590
|
-
return 'RulesDto(playerWhoChooseSuitGoFirst=' + this.
|
|
3590
|
+
return 'RulesDto(playerWhoChooseSuitGoFirst=' + this.k2b_1 + ', winnerShuffleCards=' + this.l2b_1 + ', playWithoutLiabilities=' + this.m2b_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.n2b_1 + ', dealerInitialCardsCount=' + this.o2b_1 + ', dealerFinalCardsCount=' + this.p2b_1 + ', dealerCounterClockwise=' + this.q2b_1 + ', contractTypes=' + toString(this.r2b_1) + ', bidTypes=' + toString(this.s2b_1) + ', needToPutHigherTrump=' + this.t2b_1 + ', trumpCardStepPartnerMode=' + this.u2b_1 + ', combinationsWithFirstCard=' + toString(this.v2b_1) + ', protectBella=' + this.w2b_1 + ', oneTryToProtectBella=' + this.x2b_1 + ', enableFourSevensCombination=' + this.y2b_1 + ', enableTrumpSevenCombination=' + this.z2b_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.a2c_1 + ', checkTrumpCombination=' + this.b2c_1 + ', checkOnlyTrumpDebertz=' + this.c2c_1 + ', distributePoints=' + this.d2c_1 + ', pointsDistributeMode=' + this.e2c_1 + ', enableFineIfNoBribes=' + this.f2c_1 + ', fineIfNoBribes=' + this.g2c_1 + ', enableFineAfterThirdByte=' + this.h2c_1 + ', fineAfterThirdFailedContract=' + this.i2c_1 + ')';
|
|
3591
3591
|
};
|
|
3592
3592
|
protoOf(RulesDto).hashCode = function () {
|
|
3593
|
-
var result = this.
|
|
3593
|
+
var result = this.k2b_1 == null ? 0 : getBooleanHashCode(this.k2b_1);
|
|
3594
|
+
result = imul(result, 31) + (this.l2b_1 == null ? 0 : getBooleanHashCode(this.l2b_1)) | 0;
|
|
3594
3595
|
result = imul(result, 31) + (this.m2b_1 == null ? 0 : getBooleanHashCode(this.m2b_1)) | 0;
|
|
3595
3596
|
result = imul(result, 31) + (this.n2b_1 == null ? 0 : getBooleanHashCode(this.n2b_1)) | 0;
|
|
3596
|
-
result = imul(result, 31) + (this.o2b_1 == null ? 0 :
|
|
3597
|
+
result = imul(result, 31) + (this.o2b_1 == null ? 0 : this.o2b_1) | 0;
|
|
3597
3598
|
result = imul(result, 31) + (this.p2b_1 == null ? 0 : this.p2b_1) | 0;
|
|
3598
|
-
result = imul(result, 31) + (this.q2b_1 == null ? 0 : this.q2b_1) | 0;
|
|
3599
|
-
result = imul(result, 31) + (this.r2b_1 == null ? 0 :
|
|
3599
|
+
result = imul(result, 31) + (this.q2b_1 == null ? 0 : getBooleanHashCode(this.q2b_1)) | 0;
|
|
3600
|
+
result = imul(result, 31) + (this.r2b_1 == null ? 0 : hashCode(this.r2b_1)) | 0;
|
|
3600
3601
|
result = imul(result, 31) + (this.s2b_1 == null ? 0 : hashCode(this.s2b_1)) | 0;
|
|
3601
|
-
result = imul(result, 31) + (this.t2b_1 == null ? 0 :
|
|
3602
|
-
result = imul(result, 31) + (this.u2b_1 == null ? 0 :
|
|
3603
|
-
result = imul(result, 31) + (this.v2b_1 == null ? 0 :
|
|
3604
|
-
result = imul(result, 31) + (this.w2b_1 == null ? 0 :
|
|
3602
|
+
result = imul(result, 31) + (this.t2b_1 == null ? 0 : getBooleanHashCode(this.t2b_1)) | 0;
|
|
3603
|
+
result = imul(result, 31) + (this.u2b_1 == null ? 0 : getStringHashCode(this.u2b_1)) | 0;
|
|
3604
|
+
result = imul(result, 31) + (this.v2b_1 == null ? 0 : hashCode(this.v2b_1)) | 0;
|
|
3605
|
+
result = imul(result, 31) + (this.w2b_1 == null ? 0 : getBooleanHashCode(this.w2b_1)) | 0;
|
|
3605
3606
|
result = imul(result, 31) + (this.x2b_1 == null ? 0 : getBooleanHashCode(this.x2b_1)) | 0;
|
|
3606
3607
|
result = imul(result, 31) + (this.y2b_1 == null ? 0 : getBooleanHashCode(this.y2b_1)) | 0;
|
|
3607
3608
|
result = imul(result, 31) + (this.z2b_1 == null ? 0 : getBooleanHashCode(this.z2b_1)) | 0;
|
|
@@ -3609,12 +3610,11 @@
|
|
|
3609
3610
|
result = imul(result, 31) + (this.b2c_1 == null ? 0 : getBooleanHashCode(this.b2c_1)) | 0;
|
|
3610
3611
|
result = imul(result, 31) + (this.c2c_1 == null ? 0 : getBooleanHashCode(this.c2c_1)) | 0;
|
|
3611
3612
|
result = imul(result, 31) + (this.d2c_1 == null ? 0 : getBooleanHashCode(this.d2c_1)) | 0;
|
|
3612
|
-
result = imul(result, 31) + (this.e2c_1 == null ? 0 :
|
|
3613
|
-
result = imul(result, 31) + (this.f2c_1 == null ? 0 :
|
|
3614
|
-
result = imul(result, 31) + (this.g2c_1 == null ? 0 :
|
|
3615
|
-
result = imul(result, 31) + (this.h2c_1 == null ? 0 : this.h2c_1) | 0;
|
|
3616
|
-
result = imul(result, 31) + (this.i2c_1 == null ? 0 :
|
|
3617
|
-
result = imul(result, 31) + (this.j2c_1 == null ? 0 : this.j2c_1) | 0;
|
|
3613
|
+
result = imul(result, 31) + (this.e2c_1 == null ? 0 : getStringHashCode(this.e2c_1)) | 0;
|
|
3614
|
+
result = imul(result, 31) + (this.f2c_1 == null ? 0 : getBooleanHashCode(this.f2c_1)) | 0;
|
|
3615
|
+
result = imul(result, 31) + (this.g2c_1 == null ? 0 : this.g2c_1) | 0;
|
|
3616
|
+
result = imul(result, 31) + (this.h2c_1 == null ? 0 : getBooleanHashCode(this.h2c_1)) | 0;
|
|
3617
|
+
result = imul(result, 31) + (this.i2c_1 == null ? 0 : this.i2c_1) | 0;
|
|
3618
3618
|
return result;
|
|
3619
3619
|
};
|
|
3620
3620
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3623,6 +3623,8 @@
|
|
|
3623
3623
|
if (!(other instanceof RulesDto))
|
|
3624
3624
|
return false;
|
|
3625
3625
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3626
|
+
if (!(this.k2b_1 == tmp0_other_with_cast.k2b_1))
|
|
3627
|
+
return false;
|
|
3626
3628
|
if (!(this.l2b_1 == tmp0_other_with_cast.l2b_1))
|
|
3627
3629
|
return false;
|
|
3628
3630
|
if (!(this.m2b_1 == tmp0_other_with_cast.m2b_1))
|
|
@@ -3635,17 +3637,17 @@
|
|
|
3635
3637
|
return false;
|
|
3636
3638
|
if (!(this.q2b_1 == tmp0_other_with_cast.q2b_1))
|
|
3637
3639
|
return false;
|
|
3638
|
-
if (!(this.r2b_1
|
|
3640
|
+
if (!equals(this.r2b_1, tmp0_other_with_cast.r2b_1))
|
|
3639
3641
|
return false;
|
|
3640
3642
|
if (!equals(this.s2b_1, tmp0_other_with_cast.s2b_1))
|
|
3641
3643
|
return false;
|
|
3642
|
-
if (!
|
|
3644
|
+
if (!(this.t2b_1 == tmp0_other_with_cast.t2b_1))
|
|
3643
3645
|
return false;
|
|
3644
3646
|
if (!(this.u2b_1 == tmp0_other_with_cast.u2b_1))
|
|
3645
3647
|
return false;
|
|
3646
|
-
if (!(this.v2b_1
|
|
3648
|
+
if (!equals(this.v2b_1, tmp0_other_with_cast.v2b_1))
|
|
3647
3649
|
return false;
|
|
3648
|
-
if (!
|
|
3650
|
+
if (!(this.w2b_1 == tmp0_other_with_cast.w2b_1))
|
|
3649
3651
|
return false;
|
|
3650
3652
|
if (!(this.x2b_1 == tmp0_other_with_cast.x2b_1))
|
|
3651
3653
|
return false;
|
|
@@ -3671,8 +3673,6 @@
|
|
|
3671
3673
|
return false;
|
|
3672
3674
|
if (!(this.i2c_1 == tmp0_other_with_cast.i2c_1))
|
|
3673
3675
|
return false;
|
|
3674
|
-
if (!(this.j2c_1 == tmp0_other_with_cast.j2c_1))
|
|
3675
|
-
return false;
|
|
3676
3676
|
return true;
|
|
3677
3677
|
};
|
|
3678
3678
|
function BufferedAction() {
|
|
@@ -3794,7 +3794,7 @@
|
|
|
3794
3794
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3795
3795
|
}
|
|
3796
3796
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3797
|
-
return $this.
|
|
3797
|
+
return $this.p2c_1.a2();
|
|
3798
3798
|
}
|
|
3799
3799
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3800
3800
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3834,7 +3834,7 @@
|
|
|
3834
3834
|
Companion_instance_19 = this;
|
|
3835
3835
|
var tmp = this;
|
|
3836
3836
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3837
|
-
tmp.
|
|
3837
|
+
tmp.p2c_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3838
3838
|
}
|
|
3839
3839
|
protoOf(Companion_19).z17 = function () {
|
|
3840
3840
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -3893,7 +3893,7 @@
|
|
|
3893
3893
|
// Inline function 'kotlin.arrayOf' call
|
|
3894
3894
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3895
3895
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3896
|
-
tmp.
|
|
3896
|
+
tmp.v2c_1 = [Companion_getInstance_21().z17(), null, null, null, null];
|
|
3897
3897
|
}
|
|
3898
3898
|
protoOf(Companion_20).z17 = function () {
|
|
3899
3899
|
return $serializer_getInstance_10();
|
|
@@ -3912,12 +3912,12 @@
|
|
|
3912
3912
|
tmp0_serialDesc.iv('tag', false);
|
|
3913
3913
|
tmp0_serialDesc.iv('message', false);
|
|
3914
3914
|
tmp0_serialDesc.iv('stackTrace', false);
|
|
3915
|
-
this.
|
|
3915
|
+
this.w2c_1 = tmp0_serialDesc;
|
|
3916
3916
|
}
|
|
3917
|
-
protoOf($serializer_10).
|
|
3918
|
-
var tmp0_desc = this.
|
|
3917
|
+
protoOf($serializer_10).x2c = function (encoder, value) {
|
|
3918
|
+
var tmp0_desc = this.w2c_1;
|
|
3919
3919
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3920
|
-
var tmp2_cached = Companion_getInstance_22().
|
|
3920
|
+
var tmp2_cached = Companion_getInstance_22().v2c_1;
|
|
3921
3921
|
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
3922
3922
|
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
3923
3923
|
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
@@ -3926,10 +3926,10 @@
|
|
|
3926
3926
|
tmp1_output.tn(tmp0_desc);
|
|
3927
3927
|
};
|
|
3928
3928
|
protoOf($serializer_10).kk = function (encoder, value) {
|
|
3929
|
-
return this.
|
|
3929
|
+
return this.x2c(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
3930
3930
|
};
|
|
3931
3931
|
protoOf($serializer_10).lk = function (decoder) {
|
|
3932
|
-
var tmp0_desc = this.
|
|
3932
|
+
var tmp0_desc = this.w2c_1;
|
|
3933
3933
|
var tmp1_flag = true;
|
|
3934
3934
|
var tmp2_index = 0;
|
|
3935
3935
|
var tmp3_bitMask0 = 0;
|
|
@@ -3939,7 +3939,7 @@
|
|
|
3939
3939
|
var tmp7_local3 = null;
|
|
3940
3940
|
var tmp8_local4 = null;
|
|
3941
3941
|
var tmp9_input = decoder.sn(tmp0_desc);
|
|
3942
|
-
var tmp10_cached = Companion_getInstance_22().
|
|
3942
|
+
var tmp10_cached = Companion_getInstance_22().v2c_1;
|
|
3943
3943
|
if (tmp9_input.io()) {
|
|
3944
3944
|
tmp4_local0 = tmp9_input.eo(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
3945
3945
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3986,13 +3986,13 @@
|
|
|
3986
3986
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3987
3987
|
};
|
|
3988
3988
|
protoOf($serializer_10).jk = function () {
|
|
3989
|
-
return this.
|
|
3989
|
+
return this.w2c_1;
|
|
3990
3990
|
};
|
|
3991
3991
|
protoOf($serializer_10).xv = function () {
|
|
3992
3992
|
// Inline function 'kotlin.arrayOf' call
|
|
3993
3993
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3994
3994
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3995
|
-
return [Companion_getInstance_22().
|
|
3995
|
+
return [Companion_getInstance_22().v2c_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
3996
3996
|
};
|
|
3997
3997
|
var $serializer_instance_10;
|
|
3998
3998
|
function $serializer_getInstance_10() {
|
|
@@ -4002,7 +4002,7 @@
|
|
|
4002
4002
|
}
|
|
4003
4003
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4004
4004
|
if (!(31 === (31 & seen0))) {
|
|
4005
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4005
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().w2c_1);
|
|
4006
4006
|
}
|
|
4007
4007
|
$this.type = type;
|
|
4008
4008
|
$this.key = key;
|
|
@@ -4022,19 +4022,19 @@
|
|
|
4022
4022
|
this.message = message;
|
|
4023
4023
|
this.stackTrace = stackTrace;
|
|
4024
4024
|
}
|
|
4025
|
-
protoOf(LoggerOutputDataDto).
|
|
4025
|
+
protoOf(LoggerOutputDataDto).k20 = function () {
|
|
4026
4026
|
return this.type;
|
|
4027
4027
|
};
|
|
4028
4028
|
protoOf(LoggerOutputDataDto).z1 = function () {
|
|
4029
4029
|
return this.key;
|
|
4030
4030
|
};
|
|
4031
|
-
protoOf(LoggerOutputDataDto).
|
|
4031
|
+
protoOf(LoggerOutputDataDto).u26 = function () {
|
|
4032
4032
|
return this.tag;
|
|
4033
4033
|
};
|
|
4034
4034
|
protoOf(LoggerOutputDataDto).e9 = function () {
|
|
4035
4035
|
return this.message;
|
|
4036
4036
|
};
|
|
4037
|
-
protoOf(LoggerOutputDataDto).
|
|
4037
|
+
protoOf(LoggerOutputDataDto).y2c = function () {
|
|
4038
4038
|
return this.stackTrace;
|
|
4039
4039
|
};
|
|
4040
4040
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -4096,10 +4096,10 @@
|
|
|
4096
4096
|
protoOf(LoggerOutputDataDto).p1x = function () {
|
|
4097
4097
|
return this.message;
|
|
4098
4098
|
};
|
|
4099
|
-
protoOf(LoggerOutputDataDto).
|
|
4099
|
+
protoOf(LoggerOutputDataDto).p27 = function () {
|
|
4100
4100
|
return this.stackTrace;
|
|
4101
4101
|
};
|
|
4102
|
-
protoOf(LoggerOutputDataDto).
|
|
4102
|
+
protoOf(LoggerOutputDataDto).z2c = function (type, key, tag, message, stackTrace) {
|
|
4103
4103
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4104
4104
|
};
|
|
4105
4105
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4108,7 +4108,7 @@
|
|
|
4108
4108
|
tag = tag === VOID ? this.tag : tag;
|
|
4109
4109
|
message = message === VOID ? this.message : message;
|
|
4110
4110
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4111
|
-
return this.
|
|
4111
|
+
return this.z2c(type, key, tag, message, stackTrace);
|
|
4112
4112
|
};
|
|
4113
4113
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4114
4114
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4166,45 +4166,45 @@
|
|
|
4166
4166
|
//region block: post-declaration
|
|
4167
4167
|
protoOf($serializer).yv = typeParametersSerializers;
|
|
4168
4168
|
protoOf($serializer_0).yv = typeParametersSerializers;
|
|
4169
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
4169
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).p26);
|
|
4170
4170
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4171
|
-
return this.
|
|
4171
|
+
return this.t26();
|
|
4172
4172
|
});
|
|
4173
4173
|
defineProp(protoOf(PlayerLostConnectionReason), 'connectionState', function () {
|
|
4174
|
-
return this.
|
|
4174
|
+
return this.v26();
|
|
4175
4175
|
});
|
|
4176
4176
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4177
|
-
return this.
|
|
4177
|
+
return this.t26();
|
|
4178
4178
|
});
|
|
4179
4179
|
defineProp(protoOf(PlayerTimeoutReason), 'connectionState', function () {
|
|
4180
|
-
return this.
|
|
4180
|
+
return this.v26();
|
|
4181
4181
|
});
|
|
4182
4182
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4183
|
-
return this.
|
|
4183
|
+
return this.t26();
|
|
4184
4184
|
});
|
|
4185
4185
|
defineProp(protoOf(PlayerExitReason), 'connectionState', function () {
|
|
4186
|
-
return this.
|
|
4186
|
+
return this.v26();
|
|
4187
4187
|
});
|
|
4188
4188
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).k2);
|
|
4189
4189
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).l2);
|
|
4190
4190
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).k2);
|
|
4191
4191
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).l2);
|
|
4192
4192
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4193
|
-
return this.
|
|
4193
|
+
return this.t26();
|
|
4194
4194
|
});
|
|
4195
4195
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4196
|
-
return this.
|
|
4196
|
+
return this.t26();
|
|
4197
4197
|
});
|
|
4198
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4199
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4200
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4201
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4202
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4203
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4204
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4205
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
4206
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
4207
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4198
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).s28);
|
|
4199
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).t28);
|
|
4200
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).u28);
|
|
4201
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).v28);
|
|
4202
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).w28);
|
|
4203
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).x28);
|
|
4204
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).y28);
|
|
4205
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).z28);
|
|
4206
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).a29);
|
|
4207
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).b29);
|
|
4208
4208
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).k2);
|
|
4209
4209
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).l2);
|
|
4210
4210
|
protoOf($serializer_1).yv = typeParametersSerializers;
|