raspberry_games_engine_helpers 1.8.289 → 1.8.304
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +725 -879
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +51 -18
- package/Logic_Debertz-engine.js +11429 -14328
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +18 -17
- package/raspberry-cardgame-lib-core.js.map +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -87,13 +87,11 @@
|
|
|
87
87
|
var coerceAtLeast = kotlin_kotlin.$_$.x9;
|
|
88
88
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
89
89
|
var ensureNotNull = kotlin_kotlin.$_$.yc;
|
|
90
|
-
var Long = kotlin_kotlin.$_$.fc;
|
|
91
90
|
var toInstant = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.e;
|
|
92
91
|
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.x1;
|
|
93
92
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
94
93
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
95
94
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
96
|
-
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
97
95
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
98
96
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
99
97
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
@@ -180,7 +178,7 @@
|
|
|
180
178
|
initMetadataForClass(PlayerStateDto, 'PlayerStateDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
|
|
181
179
|
initMetadataForCompanion(Companion_18);
|
|
182
180
|
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
183
|
-
initMetadataForClass(RulesDto, 'RulesDto',
|
|
181
|
+
initMetadataForClass(RulesDto, 'RulesDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
184
182
|
function get_actionTag() {
|
|
185
183
|
return toString_0(getKClassFromExpression(this));
|
|
186
184
|
}
|
|
@@ -209,7 +207,7 @@
|
|
|
209
207
|
tmp = types;
|
|
210
208
|
}
|
|
211
209
|
types = tmp;
|
|
212
|
-
return this.
|
|
210
|
+
return this.v2c(types);
|
|
213
211
|
}
|
|
214
212
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
215
213
|
initMetadataForCompanion(Companion_20);
|
|
@@ -217,7 +215,7 @@
|
|
|
217
215
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
218
216
|
//endregion
|
|
219
217
|
function GameEngineConfig() {
|
|
220
|
-
this.version = '1.8.
|
|
218
|
+
this.version = '1.8.304';
|
|
221
219
|
}
|
|
222
220
|
protoOf(GameEngineConfig).p25 = function () {
|
|
223
221
|
return this.version;
|
|
@@ -227,7 +225,7 @@
|
|
|
227
225
|
return GameEngineConfig_instance;
|
|
228
226
|
}
|
|
229
227
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
230
|
-
return $this.
|
|
228
|
+
return $this.e26_1.a2();
|
|
231
229
|
}
|
|
232
230
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
233
231
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -249,7 +247,7 @@
|
|
|
249
247
|
Companion_instance = this;
|
|
250
248
|
var tmp = this;
|
|
251
249
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
252
|
-
tmp.
|
|
250
|
+
tmp.e26_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
253
251
|
}
|
|
254
252
|
protoOf(Companion).z17 = function () {
|
|
255
253
|
return _get_$cachedSerializer__te6jhj(this);
|
|
@@ -279,19 +277,19 @@
|
|
|
279
277
|
$serializer_instance = this;
|
|
280
278
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
281
279
|
tmp0_serialDesc.iv('playerId', false);
|
|
282
|
-
this.
|
|
280
|
+
this.f26_1 = tmp0_serialDesc;
|
|
283
281
|
}
|
|
284
|
-
protoOf($serializer).
|
|
285
|
-
var tmp0_desc = this.
|
|
282
|
+
protoOf($serializer).g26 = function (encoder, value) {
|
|
283
|
+
var tmp0_desc = this.f26_1;
|
|
286
284
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
287
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
285
|
+
tmp1_output.hp(tmp0_desc, 0, value.h26_1);
|
|
288
286
|
tmp1_output.tn(tmp0_desc);
|
|
289
287
|
};
|
|
290
288
|
protoOf($serializer).kk = function (encoder, value) {
|
|
291
|
-
return this.
|
|
289
|
+
return this.g26(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
292
290
|
};
|
|
293
291
|
protoOf($serializer).lk = function (decoder) {
|
|
294
|
-
var tmp0_desc = this.
|
|
292
|
+
var tmp0_desc = this.f26_1;
|
|
295
293
|
var tmp1_flag = true;
|
|
296
294
|
var tmp2_index = 0;
|
|
297
295
|
var tmp3_bitMask0 = 0;
|
|
@@ -319,7 +317,7 @@
|
|
|
319
317
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
320
318
|
};
|
|
321
319
|
protoOf($serializer).jk = function () {
|
|
322
|
-
return this.
|
|
320
|
+
return this.f26_1;
|
|
323
321
|
};
|
|
324
322
|
protoOf($serializer).xv = function () {
|
|
325
323
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -335,10 +333,10 @@
|
|
|
335
333
|
}
|
|
336
334
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
337
335
|
if (!(1 === (1 & seen0))) {
|
|
338
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
336
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().f26_1);
|
|
339
337
|
}
|
|
340
338
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
341
|
-
$this.
|
|
339
|
+
$this.h26_1 = playerId;
|
|
342
340
|
return $this;
|
|
343
341
|
}
|
|
344
342
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -346,13 +344,13 @@
|
|
|
346
344
|
}
|
|
347
345
|
function PlayerReturnsReason(playerId) {
|
|
348
346
|
ContinueGameReason.call(this);
|
|
349
|
-
this.
|
|
347
|
+
this.h26_1 = playerId;
|
|
350
348
|
}
|
|
351
349
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
352
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
350
|
+
return 'PlayerReturnsReason(playerId=' + this.h26_1 + ')';
|
|
353
351
|
};
|
|
354
352
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
355
|
-
return getStringHashCode(this.
|
|
353
|
+
return getStringHashCode(this.h26_1);
|
|
356
354
|
};
|
|
357
355
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
358
356
|
if (this === other)
|
|
@@ -360,7 +358,7 @@
|
|
|
360
358
|
if (!(other instanceof PlayerReturnsReason))
|
|
361
359
|
return false;
|
|
362
360
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
363
|
-
if (!(this.
|
|
361
|
+
if (!(this.h26_1 === tmp0_other_with_cast.h26_1))
|
|
364
362
|
return false;
|
|
365
363
|
return true;
|
|
366
364
|
};
|
|
@@ -374,19 +372,19 @@
|
|
|
374
372
|
$serializer_instance_0 = this;
|
|
375
373
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
376
374
|
tmp0_serialDesc.iv('fromRound', false);
|
|
377
|
-
this.
|
|
375
|
+
this.i26_1 = tmp0_serialDesc;
|
|
378
376
|
}
|
|
379
|
-
protoOf($serializer_0).
|
|
380
|
-
var tmp0_desc = this.
|
|
377
|
+
protoOf($serializer_0).j26 = function (encoder, value) {
|
|
378
|
+
var tmp0_desc = this.i26_1;
|
|
381
379
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
382
|
-
tmp1_output.lp(tmp0_desc, 0, IntSerializer_getInstance(), value.
|
|
380
|
+
tmp1_output.lp(tmp0_desc, 0, IntSerializer_getInstance(), value.k26_1);
|
|
383
381
|
tmp1_output.tn(tmp0_desc);
|
|
384
382
|
};
|
|
385
383
|
protoOf($serializer_0).kk = function (encoder, value) {
|
|
386
|
-
return this.
|
|
384
|
+
return this.j26(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
387
385
|
};
|
|
388
386
|
protoOf($serializer_0).lk = function (decoder) {
|
|
389
|
-
var tmp0_desc = this.
|
|
387
|
+
var tmp0_desc = this.i26_1;
|
|
390
388
|
var tmp1_flag = true;
|
|
391
389
|
var tmp2_index = 0;
|
|
392
390
|
var tmp3_bitMask0 = 0;
|
|
@@ -414,7 +412,7 @@
|
|
|
414
412
|
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
415
413
|
};
|
|
416
414
|
protoOf($serializer_0).jk = function () {
|
|
417
|
-
return this.
|
|
415
|
+
return this.i26_1;
|
|
418
416
|
};
|
|
419
417
|
protoOf($serializer_0).xv = function () {
|
|
420
418
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -430,10 +428,10 @@
|
|
|
430
428
|
}
|
|
431
429
|
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
432
430
|
if (!(1 === (1 & seen0))) {
|
|
433
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
431
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().i26_1);
|
|
434
432
|
}
|
|
435
433
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
436
|
-
$this.
|
|
434
|
+
$this.k26_1 = fromRound;
|
|
437
435
|
return $this;
|
|
438
436
|
}
|
|
439
437
|
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
@@ -441,13 +439,13 @@
|
|
|
441
439
|
}
|
|
442
440
|
function RestartRoundReason(fromRound) {
|
|
443
441
|
ContinueGameReason.call(this);
|
|
444
|
-
this.
|
|
442
|
+
this.k26_1 = fromRound;
|
|
445
443
|
}
|
|
446
444
|
protoOf(RestartRoundReason).toString = function () {
|
|
447
|
-
return 'RestartRoundReason(fromRound=' + this.
|
|
445
|
+
return 'RestartRoundReason(fromRound=' + this.k26_1 + ')';
|
|
448
446
|
};
|
|
449
447
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
450
|
-
return this.
|
|
448
|
+
return this.k26_1 == null ? 0 : this.k26_1;
|
|
451
449
|
};
|
|
452
450
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
453
451
|
if (this === other)
|
|
@@ -455,18 +453,18 @@
|
|
|
455
453
|
if (!(other instanceof RestartRoundReason))
|
|
456
454
|
return false;
|
|
457
455
|
var tmp0_other_with_cast = other instanceof RestartRoundReason ? other : THROW_CCE();
|
|
458
|
-
if (!(this.
|
|
456
|
+
if (!(this.k26_1 == tmp0_other_with_cast.k26_1))
|
|
459
457
|
return false;
|
|
460
458
|
return true;
|
|
461
459
|
};
|
|
462
460
|
function Companion_2() {
|
|
463
461
|
}
|
|
464
|
-
protoOf(Companion_2).
|
|
462
|
+
protoOf(Companion_2).l26 = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
465
463
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
466
464
|
};
|
|
467
465
|
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
468
466
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
469
|
-
return this.
|
|
467
|
+
return this.l26(fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
470
468
|
};
|
|
471
469
|
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
472
470
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -485,19 +483,19 @@
|
|
|
485
483
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
486
484
|
this.fileNameFormat = fileNameFormat;
|
|
487
485
|
}
|
|
488
|
-
protoOf(CoreConfig).
|
|
486
|
+
protoOf(CoreConfig).m26 = function () {
|
|
489
487
|
return this.fileLogsEnabled;
|
|
490
488
|
};
|
|
491
|
-
protoOf(CoreConfig).
|
|
489
|
+
protoOf(CoreConfig).n26 = function () {
|
|
492
490
|
return this.deleteFilesOnClear;
|
|
493
491
|
};
|
|
494
|
-
protoOf(CoreConfig).
|
|
492
|
+
protoOf(CoreConfig).o26 = function () {
|
|
495
493
|
return this.logsDirectoryPath;
|
|
496
494
|
};
|
|
497
|
-
protoOf(CoreConfig).
|
|
495
|
+
protoOf(CoreConfig).p26 = function () {
|
|
498
496
|
return this.fileNameFormat;
|
|
499
497
|
};
|
|
500
|
-
protoOf(CoreConfig).
|
|
498
|
+
protoOf(CoreConfig).q26 = function () {
|
|
501
499
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
502
500
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
503
501
|
};
|
|
@@ -513,7 +511,7 @@
|
|
|
513
511
|
protoOf(CoreConfig).p1x = function () {
|
|
514
512
|
return this.fileNameFormat;
|
|
515
513
|
};
|
|
516
|
-
protoOf(CoreConfig).
|
|
514
|
+
protoOf(CoreConfig).r26 = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
517
515
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
518
516
|
};
|
|
519
517
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -521,7 +519,7 @@
|
|
|
521
519
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
522
520
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
523
521
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
524
|
-
return this.
|
|
522
|
+
return this.r26(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
525
523
|
};
|
|
526
524
|
protoOf(CoreConfig).toString = function () {
|
|
527
525
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -550,7 +548,7 @@
|
|
|
550
548
|
return true;
|
|
551
549
|
};
|
|
552
550
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
553
|
-
return $this.
|
|
551
|
+
return $this.s26_1.a2();
|
|
554
552
|
}
|
|
555
553
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
556
554
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -564,7 +562,7 @@
|
|
|
564
562
|
RestartGameReason_instance = this;
|
|
565
563
|
var tmp = this;
|
|
566
564
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
567
|
-
tmp.
|
|
565
|
+
tmp.s26_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
568
566
|
}
|
|
569
567
|
protoOf(RestartGameReason).z17 = function () {
|
|
570
568
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
@@ -596,37 +594,37 @@
|
|
|
596
594
|
}
|
|
597
595
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
598
596
|
TerminationGameReason.call(this);
|
|
599
|
-
this.
|
|
597
|
+
this.t26_1 = playerId;
|
|
600
598
|
this.tag = tag;
|
|
601
599
|
}
|
|
602
|
-
protoOf(PlayerLostConnectionReason).t26 = function () {
|
|
603
|
-
return this.s26_1;
|
|
604
|
-
};
|
|
605
600
|
protoOf(PlayerLostConnectionReason).u26 = function () {
|
|
606
|
-
return this.
|
|
601
|
+
return this.t26_1;
|
|
607
602
|
};
|
|
608
603
|
protoOf(PlayerLostConnectionReason).v26 = function () {
|
|
604
|
+
return this.tag;
|
|
605
|
+
};
|
|
606
|
+
protoOf(PlayerLostConnectionReason).w26 = function () {
|
|
609
607
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
610
608
|
};
|
|
611
609
|
protoOf(PlayerLostConnectionReason).zc = function () {
|
|
612
|
-
return this.
|
|
610
|
+
return this.t26_1;
|
|
613
611
|
};
|
|
614
612
|
protoOf(PlayerLostConnectionReason).ad = function () {
|
|
615
613
|
return this.tag;
|
|
616
614
|
};
|
|
617
|
-
protoOf(PlayerLostConnectionReason).
|
|
615
|
+
protoOf(PlayerLostConnectionReason).x26 = function (playerId, tag) {
|
|
618
616
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
619
617
|
};
|
|
620
618
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
621
|
-
playerId = playerId === VOID ? this.
|
|
619
|
+
playerId = playerId === VOID ? this.t26_1 : playerId;
|
|
622
620
|
tag = tag === VOID ? this.tag : tag;
|
|
623
|
-
return this.
|
|
621
|
+
return this.x26(playerId, tag);
|
|
624
622
|
};
|
|
625
623
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
626
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
624
|
+
return 'PlayerLostConnectionReason(playerId=' + this.t26_1 + ', tag=' + this.tag + ')';
|
|
627
625
|
};
|
|
628
626
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
629
|
-
var result = getStringHashCode(this.
|
|
627
|
+
var result = getStringHashCode(this.t26_1);
|
|
630
628
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
631
629
|
return result;
|
|
632
630
|
};
|
|
@@ -636,7 +634,7 @@
|
|
|
636
634
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
637
635
|
return false;
|
|
638
636
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
639
|
-
if (!(this.
|
|
637
|
+
if (!(this.t26_1 === tmp0_other_with_cast.t26_1))
|
|
640
638
|
return false;
|
|
641
639
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
642
640
|
return false;
|
|
@@ -644,37 +642,37 @@
|
|
|
644
642
|
};
|
|
645
643
|
function PlayerTimeoutReason(playerId, tag) {
|
|
646
644
|
TerminationGameReason.call(this);
|
|
647
|
-
this.
|
|
645
|
+
this.y26_1 = playerId;
|
|
648
646
|
this.tag = tag;
|
|
649
647
|
}
|
|
650
|
-
protoOf(PlayerTimeoutReason).t26 = function () {
|
|
651
|
-
return this.x26_1;
|
|
652
|
-
};
|
|
653
648
|
protoOf(PlayerTimeoutReason).u26 = function () {
|
|
654
|
-
return this.
|
|
649
|
+
return this.y26_1;
|
|
655
650
|
};
|
|
656
651
|
protoOf(PlayerTimeoutReason).v26 = function () {
|
|
652
|
+
return this.tag;
|
|
653
|
+
};
|
|
654
|
+
protoOf(PlayerTimeoutReason).w26 = function () {
|
|
657
655
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
658
656
|
};
|
|
659
657
|
protoOf(PlayerTimeoutReason).zc = function () {
|
|
660
|
-
return this.
|
|
658
|
+
return this.y26_1;
|
|
661
659
|
};
|
|
662
660
|
protoOf(PlayerTimeoutReason).ad = function () {
|
|
663
661
|
return this.tag;
|
|
664
662
|
};
|
|
665
|
-
protoOf(PlayerTimeoutReason).
|
|
663
|
+
protoOf(PlayerTimeoutReason).x26 = function (playerId, tag) {
|
|
666
664
|
return new PlayerTimeoutReason(playerId, tag);
|
|
667
665
|
};
|
|
668
666
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
669
|
-
playerId = playerId === VOID ? this.
|
|
667
|
+
playerId = playerId === VOID ? this.y26_1 : playerId;
|
|
670
668
|
tag = tag === VOID ? this.tag : tag;
|
|
671
|
-
return this.
|
|
669
|
+
return this.x26(playerId, tag);
|
|
672
670
|
};
|
|
673
671
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
674
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
672
|
+
return 'PlayerTimeoutReason(playerId=' + this.y26_1 + ', tag=' + this.tag + ')';
|
|
675
673
|
};
|
|
676
674
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
677
|
-
var result = getStringHashCode(this.
|
|
675
|
+
var result = getStringHashCode(this.y26_1);
|
|
678
676
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
679
677
|
return result;
|
|
680
678
|
};
|
|
@@ -684,7 +682,7 @@
|
|
|
684
682
|
if (!(other instanceof PlayerTimeoutReason))
|
|
685
683
|
return false;
|
|
686
684
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
687
|
-
if (!(this.
|
|
685
|
+
if (!(this.y26_1 === tmp0_other_with_cast.y26_1))
|
|
688
686
|
return false;
|
|
689
687
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
690
688
|
return false;
|
|
@@ -692,29 +690,29 @@
|
|
|
692
690
|
};
|
|
693
691
|
function PlayerExitReason(playerId) {
|
|
694
692
|
TerminationGameReason.call(this);
|
|
695
|
-
this.
|
|
693
|
+
this.z26_1 = playerId;
|
|
696
694
|
}
|
|
697
|
-
protoOf(PlayerExitReason).
|
|
698
|
-
return this.
|
|
695
|
+
protoOf(PlayerExitReason).u26 = function () {
|
|
696
|
+
return this.z26_1;
|
|
699
697
|
};
|
|
700
|
-
protoOf(PlayerExitReason).
|
|
698
|
+
protoOf(PlayerExitReason).w26 = function () {
|
|
701
699
|
return PlayerConnectionState_LEFT_getInstance();
|
|
702
700
|
};
|
|
703
701
|
protoOf(PlayerExitReason).zc = function () {
|
|
704
|
-
return this.
|
|
702
|
+
return this.z26_1;
|
|
705
703
|
};
|
|
706
|
-
protoOf(PlayerExitReason).
|
|
704
|
+
protoOf(PlayerExitReason).a27 = function (playerId) {
|
|
707
705
|
return new PlayerExitReason(playerId);
|
|
708
706
|
};
|
|
709
707
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
710
|
-
playerId = playerId === VOID ? this.
|
|
711
|
-
return this.
|
|
708
|
+
playerId = playerId === VOID ? this.z26_1 : playerId;
|
|
709
|
+
return this.a27(playerId);
|
|
712
710
|
};
|
|
713
711
|
protoOf(PlayerExitReason).toString = function () {
|
|
714
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
712
|
+
return 'PlayerExitReason(playerId=' + this.z26_1 + ')';
|
|
715
713
|
};
|
|
716
714
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
717
|
-
return getStringHashCode(this.
|
|
715
|
+
return getStringHashCode(this.z26_1);
|
|
718
716
|
};
|
|
719
717
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
720
718
|
if (this === other)
|
|
@@ -722,14 +720,14 @@
|
|
|
722
720
|
if (!(other instanceof PlayerExitReason))
|
|
723
721
|
return false;
|
|
724
722
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
725
|
-
if (!(this.
|
|
723
|
+
if (!(this.z26_1 === tmp0_other_with_cast.z26_1))
|
|
726
724
|
return false;
|
|
727
725
|
return true;
|
|
728
726
|
};
|
|
729
727
|
function FinishPlayerReason() {
|
|
730
728
|
}
|
|
731
729
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
732
|
-
return $this.
|
|
730
|
+
return $this.b27_1.a2();
|
|
733
731
|
}
|
|
734
732
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
735
733
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -769,7 +767,7 @@
|
|
|
769
767
|
Companion_instance_3 = this;
|
|
770
768
|
var tmp = this;
|
|
771
769
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
772
|
-
tmp.
|
|
770
|
+
tmp.b27_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
773
771
|
}
|
|
774
772
|
protoOf(Companion_3).z17 = function () {
|
|
775
773
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -824,18 +822,18 @@
|
|
|
824
822
|
TerminationGameReason.call(this);
|
|
825
823
|
this.reason = reason;
|
|
826
824
|
}
|
|
827
|
-
protoOf(GameFinishedReason).
|
|
825
|
+
protoOf(GameFinishedReason).e27 = function () {
|
|
828
826
|
return this.reason;
|
|
829
827
|
};
|
|
830
828
|
protoOf(GameFinishedReason).zc = function () {
|
|
831
829
|
return this.reason;
|
|
832
830
|
};
|
|
833
|
-
protoOf(GameFinishedReason).
|
|
831
|
+
protoOf(GameFinishedReason).f27 = function (reason) {
|
|
834
832
|
return new GameFinishedReason(reason);
|
|
835
833
|
};
|
|
836
834
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
837
835
|
reason = reason === VOID ? this.reason : reason;
|
|
838
|
-
return this.
|
|
836
|
+
return this.f27(reason);
|
|
839
837
|
};
|
|
840
838
|
protoOf(GameFinishedReason).toString = function () {
|
|
841
839
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -854,7 +852,7 @@
|
|
|
854
852
|
return true;
|
|
855
853
|
};
|
|
856
854
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
857
|
-
return $this.
|
|
855
|
+
return $this.g27_1.a2();
|
|
858
856
|
}
|
|
859
857
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
860
858
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -863,9 +861,10 @@
|
|
|
863
861
|
var Reason_INTERNAL_ERROR_instance;
|
|
864
862
|
var Reason_GAME_NOT_EXISTS_instance_0;
|
|
865
863
|
var Reason_WRONG_PLAYER_TURN_instance;
|
|
864
|
+
var Reason_DUPLICATED_PLAYER_ANSWER_instance;
|
|
866
865
|
var Reason_PLAYER_DISCONNECTED_instance;
|
|
867
866
|
function values_0() {
|
|
868
|
-
return [Reason_SERVER_ERROR_getInstance(), Reason_INTERNAL_ERROR_getInstance(), Reason_GAME_NOT_EXISTS_getInstance_0(), Reason_WRONG_PLAYER_TURN_getInstance(), Reason_PLAYER_DISCONNECTED_getInstance()];
|
|
867
|
+
return [Reason_SERVER_ERROR_getInstance(), Reason_INTERNAL_ERROR_getInstance(), Reason_GAME_NOT_EXISTS_getInstance_0(), Reason_WRONG_PLAYER_TURN_getInstance(), Reason_DUPLICATED_PLAYER_ANSWER_getInstance(), Reason_PLAYER_DISCONNECTED_getInstance()];
|
|
869
868
|
}
|
|
870
869
|
function valueOf_0(value) {
|
|
871
870
|
switch (value) {
|
|
@@ -877,6 +876,8 @@
|
|
|
877
876
|
return Reason_GAME_NOT_EXISTS_getInstance_0();
|
|
878
877
|
case 'WRONG_PLAYER_TURN':
|
|
879
878
|
return Reason_WRONG_PLAYER_TURN_getInstance();
|
|
879
|
+
case 'DUPLICATED_PLAYER_ANSWER':
|
|
880
|
+
return Reason_DUPLICATED_PLAYER_ANSWER_getInstance();
|
|
880
881
|
case 'PLAYER_DISCONNECTED':
|
|
881
882
|
return Reason_PLAYER_DISCONNECTED_getInstance();
|
|
882
883
|
default:
|
|
@@ -894,7 +895,7 @@
|
|
|
894
895
|
Companion_instance_4 = this;
|
|
895
896
|
var tmp = this;
|
|
896
897
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
897
|
-
tmp.
|
|
898
|
+
tmp.g27_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
898
899
|
}
|
|
899
900
|
protoOf(Companion_4).z17 = function () {
|
|
900
901
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
@@ -918,7 +919,8 @@
|
|
|
918
919
|
Reason_INTERNAL_ERROR_instance = new Reason_0('INTERNAL_ERROR', 1);
|
|
919
920
|
Reason_GAME_NOT_EXISTS_instance_0 = new Reason_0('GAME_NOT_EXISTS', 2);
|
|
920
921
|
Reason_WRONG_PLAYER_TURN_instance = new Reason_0('WRONG_PLAYER_TURN', 3);
|
|
921
|
-
|
|
922
|
+
Reason_DUPLICATED_PLAYER_ANSWER_instance = new Reason_0('DUPLICATED_PLAYER_ANSWER', 4);
|
|
923
|
+
Reason_PLAYER_DISCONNECTED_instance = new Reason_0('PLAYER_DISCONNECTED', 5);
|
|
922
924
|
Companion_getInstance_6();
|
|
923
925
|
}
|
|
924
926
|
var $ENTRIES_0;
|
|
@@ -941,6 +943,10 @@
|
|
|
941
943
|
Reason_initEntries_0();
|
|
942
944
|
return Reason_WRONG_PLAYER_TURN_instance;
|
|
943
945
|
}
|
|
946
|
+
function Reason_DUPLICATED_PLAYER_ANSWER_getInstance() {
|
|
947
|
+
Reason_initEntries_0();
|
|
948
|
+
return Reason_DUPLICATED_PLAYER_ANSWER_instance;
|
|
949
|
+
}
|
|
944
950
|
function Reason_PLAYER_DISCONNECTED_getInstance() {
|
|
945
951
|
Reason_initEntries_0();
|
|
946
952
|
return Reason_PLAYER_DISCONNECTED_instance;
|
|
@@ -949,18 +955,18 @@
|
|
|
949
955
|
TerminationGameReason.call(this);
|
|
950
956
|
this.reason = reason;
|
|
951
957
|
}
|
|
952
|
-
protoOf(GameErrorReason).
|
|
958
|
+
protoOf(GameErrorReason).e27 = function () {
|
|
953
959
|
return this.reason;
|
|
954
960
|
};
|
|
955
961
|
protoOf(GameErrorReason).zc = function () {
|
|
956
962
|
return this.reason;
|
|
957
963
|
};
|
|
958
|
-
protoOf(GameErrorReason).
|
|
964
|
+
protoOf(GameErrorReason).j27 = function (reason) {
|
|
959
965
|
return new GameErrorReason(reason);
|
|
960
966
|
};
|
|
961
967
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
962
968
|
reason = reason === VOID ? this.reason : reason;
|
|
963
|
-
return this.
|
|
969
|
+
return this.j27(reason);
|
|
964
970
|
};
|
|
965
971
|
protoOf(GameErrorReason).toString = function () {
|
|
966
972
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1036,7 +1042,7 @@
|
|
|
1036
1042
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1037
1043
|
rating = rating === VOID ? null : rating;
|
|
1038
1044
|
payload = payload === VOID ? null : payload;
|
|
1039
|
-
this.
|
|
1045
|
+
this.k27_1 = playerId;
|
|
1040
1046
|
this.name = name;
|
|
1041
1047
|
this.avatarUrl = avatarUrl;
|
|
1042
1048
|
this.isBot = isBot;
|
|
@@ -1044,25 +1050,25 @@
|
|
|
1044
1050
|
this.rating = rating;
|
|
1045
1051
|
this.payload = payload;
|
|
1046
1052
|
}
|
|
1047
|
-
protoOf(GameUserInfo).
|
|
1048
|
-
return this.
|
|
1053
|
+
protoOf(GameUserInfo).u26 = function () {
|
|
1054
|
+
return this.k27_1;
|
|
1049
1055
|
};
|
|
1050
1056
|
protoOf(GameUserInfo).k2 = function () {
|
|
1051
1057
|
return this.name;
|
|
1052
1058
|
};
|
|
1053
|
-
protoOf(GameUserInfo).
|
|
1059
|
+
protoOf(GameUserInfo).l27 = function () {
|
|
1054
1060
|
return this.avatarUrl;
|
|
1055
1061
|
};
|
|
1056
|
-
protoOf(GameUserInfo).
|
|
1062
|
+
protoOf(GameUserInfo).m27 = function () {
|
|
1057
1063
|
return this.isBot;
|
|
1058
1064
|
};
|
|
1059
|
-
protoOf(GameUserInfo).
|
|
1065
|
+
protoOf(GameUserInfo).n27 = function () {
|
|
1060
1066
|
return this.initialLuckyFactor;
|
|
1061
1067
|
};
|
|
1062
|
-
protoOf(GameUserInfo).
|
|
1068
|
+
protoOf(GameUserInfo).o27 = function () {
|
|
1063
1069
|
return this.rating;
|
|
1064
1070
|
};
|
|
1065
|
-
protoOf(GameUserInfo).
|
|
1071
|
+
protoOf(GameUserInfo).p27 = function () {
|
|
1066
1072
|
return this.payload;
|
|
1067
1073
|
};
|
|
1068
1074
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1070,7 +1076,7 @@
|
|
|
1070
1076
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1071
1077
|
};
|
|
1072
1078
|
protoOf(GameUserInfo).toString = function () {
|
|
1073
|
-
var tmp = 'playerId=' + this.
|
|
1079
|
+
var tmp = 'playerId=' + this.k27_1;
|
|
1074
1080
|
var tmp_0 = 'name=' + this.name;
|
|
1075
1081
|
// Inline function 'kotlin.takeIf' call
|
|
1076
1082
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1130,7 +1136,7 @@
|
|
|
1130
1136
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1131
1137
|
};
|
|
1132
1138
|
protoOf(GameUserInfo).zc = function () {
|
|
1133
|
-
return this.
|
|
1139
|
+
return this.k27_1;
|
|
1134
1140
|
};
|
|
1135
1141
|
protoOf(GameUserInfo).ad = function () {
|
|
1136
1142
|
return this.name;
|
|
@@ -1141,30 +1147,30 @@
|
|
|
1141
1147
|
protoOf(GameUserInfo).p1x = function () {
|
|
1142
1148
|
return this.isBot;
|
|
1143
1149
|
};
|
|
1144
|
-
protoOf(GameUserInfo).
|
|
1150
|
+
protoOf(GameUserInfo).q27 = function () {
|
|
1145
1151
|
return this.initialLuckyFactor;
|
|
1146
1152
|
};
|
|
1147
|
-
protoOf(GameUserInfo).
|
|
1153
|
+
protoOf(GameUserInfo).r27 = function () {
|
|
1148
1154
|
return this.rating;
|
|
1149
1155
|
};
|
|
1150
|
-
protoOf(GameUserInfo).
|
|
1156
|
+
protoOf(GameUserInfo).s27 = function () {
|
|
1151
1157
|
return this.payload;
|
|
1152
1158
|
};
|
|
1153
|
-
protoOf(GameUserInfo).
|
|
1159
|
+
protoOf(GameUserInfo).t27 = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1154
1160
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1155
1161
|
};
|
|
1156
1162
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1157
|
-
playerId = playerId === VOID ? this.
|
|
1163
|
+
playerId = playerId === VOID ? this.k27_1 : playerId;
|
|
1158
1164
|
name = name === VOID ? this.name : name;
|
|
1159
1165
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1160
1166
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1161
1167
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1162
1168
|
rating = rating === VOID ? this.rating : rating;
|
|
1163
1169
|
payload = payload === VOID ? this.payload : payload;
|
|
1164
|
-
return this.
|
|
1170
|
+
return this.t27(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1165
1171
|
};
|
|
1166
1172
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1167
|
-
var result = getStringHashCode(this.
|
|
1173
|
+
var result = getStringHashCode(this.k27_1);
|
|
1168
1174
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1169
1175
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1170
1176
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1179,7 +1185,7 @@
|
|
|
1179
1185
|
if (!(other instanceof GameUserInfo))
|
|
1180
1186
|
return false;
|
|
1181
1187
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1182
|
-
if (!(this.
|
|
1188
|
+
if (!(this.k27_1 === tmp0_other_with_cast.k27_1))
|
|
1183
1189
|
return false;
|
|
1184
1190
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1185
1191
|
return false;
|
|
@@ -1240,18 +1246,18 @@
|
|
|
1240
1246
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1241
1247
|
}
|
|
1242
1248
|
function PlayerIndex(playerId, index) {
|
|
1243
|
-
this.
|
|
1244
|
-
this.
|
|
1249
|
+
this.u27_1 = playerId;
|
|
1250
|
+
this.v27_1 = index;
|
|
1245
1251
|
}
|
|
1246
|
-
protoOf(PlayerIndex).
|
|
1247
|
-
return this.
|
|
1252
|
+
protoOf(PlayerIndex).u26 = function () {
|
|
1253
|
+
return this.u27_1;
|
|
1248
1254
|
};
|
|
1249
1255
|
protoOf(PlayerIndex).toString = function () {
|
|
1250
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1256
|
+
return 'PlayerIndex(playerId=' + this.u27_1 + ', index=' + this.v27_1 + ')';
|
|
1251
1257
|
};
|
|
1252
1258
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1253
|
-
var result = getStringHashCode(this.
|
|
1254
|
-
result = imul(result, 31) + this.
|
|
1259
|
+
var result = getStringHashCode(this.u27_1);
|
|
1260
|
+
result = imul(result, 31) + this.v27_1 | 0;
|
|
1255
1261
|
return result;
|
|
1256
1262
|
};
|
|
1257
1263
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1260,10 +1266,10 @@
|
|
|
1260
1266
|
if (!(other instanceof PlayerIndex))
|
|
1261
1267
|
return false;
|
|
1262
1268
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1263
|
-
if (!(this.t27_1 === tmp0_other_with_cast.t27_1))
|
|
1264
|
-
return false;
|
|
1265
1269
|
if (!(this.u27_1 === tmp0_other_with_cast.u27_1))
|
|
1266
1270
|
return false;
|
|
1271
|
+
if (!(this.v27_1 === tmp0_other_with_cast.v27_1))
|
|
1272
|
+
return false;
|
|
1267
1273
|
return true;
|
|
1268
1274
|
};
|
|
1269
1275
|
function byIdPlayerPredicate$lambda(id) {
|
|
@@ -1277,7 +1283,7 @@
|
|
|
1277
1283
|
}
|
|
1278
1284
|
function playerTurnPredicate$lambda(p1) {
|
|
1279
1285
|
_init_properties_Player_kt__qi83pd();
|
|
1280
|
-
return p1.
|
|
1286
|
+
return p1.w27().e28();
|
|
1281
1287
|
}
|
|
1282
1288
|
var properties_initialized_Player_kt_56shkt;
|
|
1283
1289
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1288,14 +1294,14 @@
|
|
|
1288
1294
|
}
|
|
1289
1295
|
}
|
|
1290
1296
|
function Companion_5() {
|
|
1291
|
-
this.
|
|
1297
|
+
this.f28_1 = 70;
|
|
1292
1298
|
}
|
|
1293
|
-
protoOf(Companion_5).
|
|
1299
|
+
protoOf(Companion_5).g28 = function (state, timeout) {
|
|
1294
1300
|
return new PlayerConnection(state, System_instance.y1g().q1w(timeout));
|
|
1295
1301
|
};
|
|
1296
|
-
protoOf(Companion_5).
|
|
1302
|
+
protoOf(Companion_5).h28 = function (state, timeout, $super) {
|
|
1297
1303
|
timeout = timeout === VOID ? Companion_getInstance().hg_1 : timeout;
|
|
1298
|
-
return $super === VOID ? this.
|
|
1304
|
+
return $super === VOID ? this.g28(state, timeout) : $super.g28.call(this, state, new Duration(timeout));
|
|
1299
1305
|
};
|
|
1300
1306
|
var Companion_instance_5;
|
|
1301
1307
|
function Companion_getInstance_7() {
|
|
@@ -1304,45 +1310,45 @@
|
|
|
1304
1310
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1305
1311
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.y1g() : connectionChangedTime;
|
|
1306
1312
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().hg_1 : notLiveDurationRecord;
|
|
1307
|
-
this.
|
|
1308
|
-
this.
|
|
1309
|
-
this.
|
|
1313
|
+
this.i28_1 = state;
|
|
1314
|
+
this.j28_1 = connectionChangedTime;
|
|
1315
|
+
this.k28_1 = notLiveDurationRecord;
|
|
1310
1316
|
}
|
|
1311
|
-
protoOf(PlayerConnection).k28 = function () {
|
|
1312
|
-
return System_instance.y1g().r1w(this.i28_1);
|
|
1313
|
-
};
|
|
1314
1317
|
protoOf(PlayerConnection).l28 = function () {
|
|
1318
|
+
return System_instance.y1g().r1w(this.j28_1);
|
|
1319
|
+
};
|
|
1320
|
+
protoOf(PlayerConnection).m28 = function () {
|
|
1315
1321
|
var tmp;
|
|
1316
|
-
if (this.
|
|
1317
|
-
tmp = this.
|
|
1322
|
+
if (this.i28_1.isLive) {
|
|
1323
|
+
tmp = this.k28_1;
|
|
1318
1324
|
} else {
|
|
1319
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1325
|
+
tmp = Duration__plus_impl_yu9v8f(this.k28_1, this.l28());
|
|
1320
1326
|
}
|
|
1321
1327
|
return tmp;
|
|
1322
1328
|
};
|
|
1323
|
-
protoOf(PlayerConnection).
|
|
1329
|
+
protoOf(PlayerConnection).n28 = function (gameDuration) {
|
|
1324
1330
|
// Inline function 'kotlin.Long.div' call
|
|
1325
1331
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).h3() / 100.0;
|
|
1326
1332
|
// Inline function 'kotlin.math.round' call
|
|
1327
1333
|
// Inline function 'kotlin.Long.div' call
|
|
1328
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1334
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.m28()).h3() / percent;
|
|
1329
1335
|
var tmp$ret$2 = round(x);
|
|
1330
1336
|
return numberToInt(tmp$ret$2);
|
|
1331
1337
|
};
|
|
1332
|
-
protoOf(PlayerConnection).n28 = function (gameDuration) {
|
|
1333
|
-
return 100 - this.m28(gameDuration) | 0;
|
|
1334
|
-
};
|
|
1335
1338
|
protoOf(PlayerConnection).o28 = function (gameDuration) {
|
|
1336
|
-
|
|
1339
|
+
return 100 - this.n28(gameDuration) | 0;
|
|
1340
|
+
};
|
|
1341
|
+
protoOf(PlayerConnection).p28 = function (gameDuration) {
|
|
1342
|
+
var percentage = this.o28(gameDuration);
|
|
1337
1343
|
return percentage >= 70;
|
|
1338
1344
|
};
|
|
1339
1345
|
protoOf(PlayerConnection).toString = function () {
|
|
1340
|
-
return 'PlayerConnection(state=' + this.
|
|
1346
|
+
return 'PlayerConnection(state=' + this.i28_1.toString() + ', connectionChangedTime=' + this.j28_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.k28_1) + ')';
|
|
1341
1347
|
};
|
|
1342
1348
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1343
|
-
var result = this.
|
|
1344
|
-
result = imul(result, 31) + this.
|
|
1345
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1349
|
+
var result = this.i28_1.hashCode();
|
|
1350
|
+
result = imul(result, 31) + this.j28_1.hashCode() | 0;
|
|
1351
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.k28_1) | 0;
|
|
1346
1352
|
return result;
|
|
1347
1353
|
};
|
|
1348
1354
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1351,16 +1357,16 @@
|
|
|
1351
1357
|
if (!(other instanceof PlayerConnection))
|
|
1352
1358
|
return false;
|
|
1353
1359
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1354
|
-
if (!this.h28_1.equals(tmp0_other_with_cast.h28_1))
|
|
1355
|
-
return false;
|
|
1356
1360
|
if (!this.i28_1.equals(tmp0_other_with_cast.i28_1))
|
|
1357
1361
|
return false;
|
|
1358
|
-
if (!
|
|
1362
|
+
if (!this.j28_1.equals(tmp0_other_with_cast.j28_1))
|
|
1363
|
+
return false;
|
|
1364
|
+
if (!equals(this.k28_1, tmp0_other_with_cast.k28_1))
|
|
1359
1365
|
return false;
|
|
1360
1366
|
return true;
|
|
1361
1367
|
};
|
|
1362
1368
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1363
|
-
return $this.
|
|
1369
|
+
return $this.q28_1.a2();
|
|
1364
1370
|
}
|
|
1365
1371
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1366
1372
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1398,7 +1404,7 @@
|
|
|
1398
1404
|
Companion_instance_6 = this;
|
|
1399
1405
|
var tmp = this;
|
|
1400
1406
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1401
|
-
tmp.
|
|
1407
|
+
tmp.q28_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1402
1408
|
}
|
|
1403
1409
|
protoOf(Companion_6).z17 = function () {
|
|
1404
1410
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
@@ -1429,34 +1435,34 @@
|
|
|
1429
1435
|
function PlayerConnectionState(name, ordinal) {
|
|
1430
1436
|
Enum.call(this, name, ordinal);
|
|
1431
1437
|
}
|
|
1432
|
-
protoOf(PlayerConnectionState).
|
|
1438
|
+
protoOf(PlayerConnectionState).t28 = function () {
|
|
1433
1439
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1434
1440
|
};
|
|
1435
|
-
protoOf(PlayerConnectionState).
|
|
1441
|
+
protoOf(PlayerConnectionState).u28 = function () {
|
|
1436
1442
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1437
1443
|
};
|
|
1438
|
-
protoOf(PlayerConnectionState).
|
|
1444
|
+
protoOf(PlayerConnectionState).v28 = function () {
|
|
1439
1445
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1440
1446
|
};
|
|
1441
|
-
protoOf(PlayerConnectionState).
|
|
1447
|
+
protoOf(PlayerConnectionState).w28 = function () {
|
|
1442
1448
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1443
1449
|
};
|
|
1444
|
-
protoOf(PlayerConnectionState).
|
|
1450
|
+
protoOf(PlayerConnectionState).x28 = function () {
|
|
1445
1451
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1446
1452
|
};
|
|
1447
|
-
protoOf(PlayerConnectionState).
|
|
1453
|
+
protoOf(PlayerConnectionState).y28 = function () {
|
|
1448
1454
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1449
1455
|
};
|
|
1450
|
-
protoOf(PlayerConnectionState).
|
|
1456
|
+
protoOf(PlayerConnectionState).z28 = function () {
|
|
1451
1457
|
return this.isDisconnected || this.isDeleted;
|
|
1452
1458
|
};
|
|
1453
|
-
protoOf(PlayerConnectionState).
|
|
1459
|
+
protoOf(PlayerConnectionState).a29 = function () {
|
|
1454
1460
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1455
1461
|
};
|
|
1456
|
-
protoOf(PlayerConnectionState).
|
|
1462
|
+
protoOf(PlayerConnectionState).b29 = function () {
|
|
1457
1463
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1458
1464
|
};
|
|
1459
|
-
protoOf(PlayerConnectionState).
|
|
1465
|
+
protoOf(PlayerConnectionState).c29 = function () {
|
|
1460
1466
|
return this.isLostConnection;
|
|
1461
1467
|
};
|
|
1462
1468
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1484,7 +1490,7 @@
|
|
|
1484
1490
|
return PlayerConnectionState_DELETED_instance;
|
|
1485
1491
|
}
|
|
1486
1492
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1487
|
-
return $this.
|
|
1493
|
+
return $this.d29_1.a2();
|
|
1488
1494
|
}
|
|
1489
1495
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1490
1496
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1499,7 +1505,7 @@
|
|
|
1499
1505
|
Companion_instance_7 = this;
|
|
1500
1506
|
var tmp = this;
|
|
1501
1507
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1502
|
-
tmp.
|
|
1508
|
+
tmp.d29_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1503
1509
|
}
|
|
1504
1510
|
protoOf(Companion_7).z17 = function () {
|
|
1505
1511
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
@@ -1527,18 +1533,18 @@
|
|
|
1527
1533
|
function PlayerWaitingState(name, ordinal) {
|
|
1528
1534
|
Enum.call(this, name, ordinal);
|
|
1529
1535
|
}
|
|
1530
|
-
protoOf(PlayerWaitingState).
|
|
1531
|
-
return this.
|
|
1536
|
+
protoOf(PlayerWaitingState).e28 = function () {
|
|
1537
|
+
return this.g29() || this.h29();
|
|
1532
1538
|
};
|
|
1533
|
-
protoOf(PlayerWaitingState).
|
|
1539
|
+
protoOf(PlayerWaitingState).g29 = function () {
|
|
1534
1540
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1535
1541
|
};
|
|
1536
|
-
protoOf(PlayerWaitingState).
|
|
1542
|
+
protoOf(PlayerWaitingState).h29 = function () {
|
|
1537
1543
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1538
1544
|
};
|
|
1539
1545
|
function Companion_8() {
|
|
1540
1546
|
}
|
|
1541
|
-
protoOf(Companion_8).
|
|
1547
|
+
protoOf(Companion_8).i29 = function (connection) {
|
|
1542
1548
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1543
1549
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1544
1550
|
};
|
|
@@ -1561,17 +1567,17 @@
|
|
|
1561
1567
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1562
1568
|
tag = tag === VOID ? null : tag;
|
|
1563
1569
|
connection = connection === VOID ? null : connection;
|
|
1564
|
-
this.
|
|
1565
|
-
this.
|
|
1566
|
-
this.
|
|
1567
|
-
this.
|
|
1568
|
-
this.
|
|
1569
|
-
this.
|
|
1570
|
-
this.
|
|
1571
|
-
}
|
|
1572
|
-
protoOf(PlayerState).
|
|
1570
|
+
this.x27_1 = startFromTime;
|
|
1571
|
+
this.y27_1 = playerTurnTimeout;
|
|
1572
|
+
this.z27_1 = waitPlayerUntilTime;
|
|
1573
|
+
this.a28_1 = state;
|
|
1574
|
+
this.b28_1 = ready;
|
|
1575
|
+
this.c28_1 = tag;
|
|
1576
|
+
this.d28_1 = connection;
|
|
1577
|
+
}
|
|
1578
|
+
protoOf(PlayerState).j29 = function () {
|
|
1573
1579
|
// Inline function 'kotlin.requireNotNull' call
|
|
1574
|
-
var value = this.
|
|
1580
|
+
var value = this.d28_1;
|
|
1575
1581
|
// Inline function 'kotlin.contracts.contract' call
|
|
1576
1582
|
var tmp$ret$1;
|
|
1577
1583
|
$l$block: {
|
|
@@ -1590,67 +1596,67 @@
|
|
|
1590
1596
|
};
|
|
1591
1597
|
protoOf(PlayerState).toString = function () {
|
|
1592
1598
|
// Inline function 'kotlin.takeIf' call
|
|
1593
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1599
|
+
var this_0 = 'startFromTime=' + toString(this.x27_1);
|
|
1594
1600
|
// Inline function 'kotlin.contracts.contract' call
|
|
1595
1601
|
var tmp;
|
|
1596
1602
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1597
|
-
if (!(this.
|
|
1603
|
+
if (!(this.x27_1 == null)) {
|
|
1598
1604
|
tmp = this_0;
|
|
1599
1605
|
} else {
|
|
1600
1606
|
tmp = null;
|
|
1601
1607
|
}
|
|
1602
1608
|
var tmp_0 = tmp;
|
|
1603
1609
|
// Inline function 'kotlin.takeIf' call
|
|
1604
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1610
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.y27_1);
|
|
1605
1611
|
// Inline function 'kotlin.contracts.contract' call
|
|
1606
1612
|
var tmp_1;
|
|
1607
1613
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1608
|
-
if (!(this.
|
|
1614
|
+
if (!(this.y27_1 == null)) {
|
|
1609
1615
|
tmp_1 = this_1;
|
|
1610
1616
|
} else {
|
|
1611
1617
|
tmp_1 = null;
|
|
1612
1618
|
}
|
|
1613
1619
|
var tmp_2 = tmp_1;
|
|
1614
1620
|
// Inline function 'kotlin.takeIf' call
|
|
1615
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1621
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.z27_1);
|
|
1616
1622
|
// Inline function 'kotlin.contracts.contract' call
|
|
1617
1623
|
var tmp_3;
|
|
1618
1624
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1619
|
-
if (!(this.
|
|
1625
|
+
if (!(this.z27_1 == null)) {
|
|
1620
1626
|
tmp_3 = this_2;
|
|
1621
1627
|
} else {
|
|
1622
1628
|
tmp_3 = null;
|
|
1623
1629
|
}
|
|
1624
1630
|
var tmp_4 = tmp_3;
|
|
1625
|
-
var tmp_5 = 'state=' + this.
|
|
1631
|
+
var tmp_5 = 'state=' + this.a28_1.toString();
|
|
1626
1632
|
// Inline function 'kotlin.takeIf' call
|
|
1627
|
-
var this_3 = 'ready=' + this.
|
|
1633
|
+
var this_3 = 'ready=' + this.b28_1;
|
|
1628
1634
|
// Inline function 'kotlin.contracts.contract' call
|
|
1629
1635
|
var tmp_6;
|
|
1630
1636
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1631
|
-
if (this.
|
|
1637
|
+
if (this.b28_1) {
|
|
1632
1638
|
tmp_6 = this_3;
|
|
1633
1639
|
} else {
|
|
1634
1640
|
tmp_6 = null;
|
|
1635
1641
|
}
|
|
1636
1642
|
var tmp_7 = tmp_6;
|
|
1637
1643
|
// Inline function 'kotlin.takeIf' call
|
|
1638
|
-
var this_4 = 'tag=' + this.
|
|
1644
|
+
var this_4 = 'tag=' + this.c28_1;
|
|
1639
1645
|
// Inline function 'kotlin.contracts.contract' call
|
|
1640
1646
|
var tmp_8;
|
|
1641
1647
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1642
|
-
if (!(this.
|
|
1648
|
+
if (!(this.c28_1 == null)) {
|
|
1643
1649
|
tmp_8 = this_4;
|
|
1644
1650
|
} else {
|
|
1645
1651
|
tmp_8 = null;
|
|
1646
1652
|
}
|
|
1647
1653
|
var tmp_9 = tmp_8;
|
|
1648
1654
|
// Inline function 'kotlin.takeIf' call
|
|
1649
|
-
var this_5 = 'connection=' + toString(this.
|
|
1655
|
+
var this_5 = 'connection=' + toString(this.d28_1);
|
|
1650
1656
|
// Inline function 'kotlin.contracts.contract' call
|
|
1651
1657
|
var tmp_10;
|
|
1652
1658
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1653
|
-
if (!(this.
|
|
1659
|
+
if (!(this.d28_1 == null)) {
|
|
1654
1660
|
tmp_10 = this_5;
|
|
1655
1661
|
} else {
|
|
1656
1662
|
tmp_10 = null;
|
|
@@ -1658,17 +1664,17 @@
|
|
|
1658
1664
|
var tmp$ret$11 = tmp_10;
|
|
1659
1665
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1660
1666
|
};
|
|
1661
|
-
protoOf(PlayerState).
|
|
1662
|
-
return this.
|
|
1667
|
+
protoOf(PlayerState).e28 = function () {
|
|
1668
|
+
return this.a28_1.e28();
|
|
1663
1669
|
};
|
|
1664
1670
|
protoOf(PlayerState).hashCode = function () {
|
|
1665
|
-
var result = this.
|
|
1666
|
-
result = imul(result, 31) + (this.x27_1 == null ? 0 : this.x27_1.hashCode()) | 0;
|
|
1671
|
+
var result = this.x27_1 == null ? 0 : this.x27_1.hashCode();
|
|
1667
1672
|
result = imul(result, 31) + (this.y27_1 == null ? 0 : this.y27_1.hashCode()) | 0;
|
|
1668
|
-
result = imul(result, 31) + this.z27_1.hashCode() | 0;
|
|
1669
|
-
result = imul(result, 31) +
|
|
1670
|
-
result = imul(result, 31) + (this.b28_1
|
|
1671
|
-
result = imul(result, 31) + (this.c28_1 == null ? 0 : this.c28_1
|
|
1673
|
+
result = imul(result, 31) + (this.z27_1 == null ? 0 : this.z27_1.hashCode()) | 0;
|
|
1674
|
+
result = imul(result, 31) + this.a28_1.hashCode() | 0;
|
|
1675
|
+
result = imul(result, 31) + getBooleanHashCode(this.b28_1) | 0;
|
|
1676
|
+
result = imul(result, 31) + (this.c28_1 == null ? 0 : getStringHashCode(this.c28_1)) | 0;
|
|
1677
|
+
result = imul(result, 31) + (this.d28_1 == null ? 0 : this.d28_1.hashCode()) | 0;
|
|
1672
1678
|
return result;
|
|
1673
1679
|
};
|
|
1674
1680
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1677,30 +1683,30 @@
|
|
|
1677
1683
|
if (!(other instanceof PlayerState))
|
|
1678
1684
|
return false;
|
|
1679
1685
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1680
|
-
if (!equals(this.w27_1, tmp0_other_with_cast.w27_1))
|
|
1681
|
-
return false;
|
|
1682
1686
|
if (!equals(this.x27_1, tmp0_other_with_cast.x27_1))
|
|
1683
1687
|
return false;
|
|
1684
1688
|
if (!equals(this.y27_1, tmp0_other_with_cast.y27_1))
|
|
1685
1689
|
return false;
|
|
1686
|
-
if (!this.z27_1
|
|
1690
|
+
if (!equals(this.z27_1, tmp0_other_with_cast.z27_1))
|
|
1691
|
+
return false;
|
|
1692
|
+
if (!this.a28_1.equals(tmp0_other_with_cast.a28_1))
|
|
1687
1693
|
return false;
|
|
1688
|
-
if (!(this.
|
|
1694
|
+
if (!(this.b28_1 === tmp0_other_with_cast.b28_1))
|
|
1689
1695
|
return false;
|
|
1690
|
-
if (!(this.
|
|
1696
|
+
if (!(this.c28_1 == tmp0_other_with_cast.c28_1))
|
|
1691
1697
|
return false;
|
|
1692
|
-
if (!equals(this.
|
|
1698
|
+
if (!equals(this.d28_1, tmp0_other_with_cast.d28_1))
|
|
1693
1699
|
return false;
|
|
1694
1700
|
return true;
|
|
1695
1701
|
};
|
|
1696
1702
|
function Team(playerIds) {
|
|
1697
|
-
this.
|
|
1703
|
+
this.k29_1 = playerIds;
|
|
1698
1704
|
}
|
|
1699
1705
|
protoOf(Team).toString = function () {
|
|
1700
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1706
|
+
return 'Team(playerIds=' + toString_0(this.k29_1) + ')';
|
|
1701
1707
|
};
|
|
1702
1708
|
protoOf(Team).hashCode = function () {
|
|
1703
|
-
return hashCode(this.
|
|
1709
|
+
return hashCode(this.k29_1);
|
|
1704
1710
|
};
|
|
1705
1711
|
protoOf(Team).equals = function (other) {
|
|
1706
1712
|
if (this === other)
|
|
@@ -1708,12 +1714,12 @@
|
|
|
1708
1714
|
if (!(other instanceof Team))
|
|
1709
1715
|
return false;
|
|
1710
1716
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1711
|
-
if (!equals(this.
|
|
1717
|
+
if (!equals(this.k29_1, tmp0_other_with_cast.k29_1))
|
|
1712
1718
|
return false;
|
|
1713
1719
|
return true;
|
|
1714
1720
|
};
|
|
1715
1721
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1716
|
-
return $this.
|
|
1722
|
+
return $this.l29_1.a2();
|
|
1717
1723
|
}
|
|
1718
1724
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1719
1725
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1751,7 +1757,7 @@
|
|
|
1751
1757
|
Companion_instance_9 = this;
|
|
1752
1758
|
var tmp = this;
|
|
1753
1759
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1754
|
-
tmp.
|
|
1760
|
+
tmp.l29_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1755
1761
|
}
|
|
1756
1762
|
protoOf(Companion_9).z17 = function () {
|
|
1757
1763
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1772,7 +1778,7 @@
|
|
|
1772
1778
|
Companion_getInstance_11();
|
|
1773
1779
|
}
|
|
1774
1780
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1775
|
-
return $this.
|
|
1781
|
+
return $this.m29_1.a2();
|
|
1776
1782
|
}
|
|
1777
1783
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1778
1784
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1787,7 +1793,7 @@
|
|
|
1787
1793
|
TerminationGameReasonDto.call(this);
|
|
1788
1794
|
var tmp = this;
|
|
1789
1795
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1790
|
-
tmp.
|
|
1796
|
+
tmp.m29_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1791
1797
|
}
|
|
1792
1798
|
protoOf(ProcessingReasonDto).z17 = function () {
|
|
1793
1799
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1825,19 +1831,19 @@
|
|
|
1825
1831
|
$serializer_instance_1 = this;
|
|
1826
1832
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1827
1833
|
tmp0_serialDesc.iv('reason', false);
|
|
1828
|
-
this.
|
|
1834
|
+
this.n29_1 = tmp0_serialDesc;
|
|
1829
1835
|
}
|
|
1830
|
-
protoOf($serializer_1).
|
|
1831
|
-
var tmp0_desc = this.
|
|
1836
|
+
protoOf($serializer_1).o29 = function (encoder, value) {
|
|
1837
|
+
var tmp0_desc = this.n29_1;
|
|
1832
1838
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1833
1839
|
tmp1_output.hp(tmp0_desc, 0, value.reason);
|
|
1834
1840
|
tmp1_output.tn(tmp0_desc);
|
|
1835
1841
|
};
|
|
1836
1842
|
protoOf($serializer_1).kk = function (encoder, value) {
|
|
1837
|
-
return this.
|
|
1843
|
+
return this.o29(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1838
1844
|
};
|
|
1839
1845
|
protoOf($serializer_1).lk = function (decoder) {
|
|
1840
|
-
var tmp0_desc = this.
|
|
1846
|
+
var tmp0_desc = this.n29_1;
|
|
1841
1847
|
var tmp1_flag = true;
|
|
1842
1848
|
var tmp2_index = 0;
|
|
1843
1849
|
var tmp3_bitMask0 = 0;
|
|
@@ -1865,7 +1871,7 @@
|
|
|
1865
1871
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1866
1872
|
};
|
|
1867
1873
|
protoOf($serializer_1).jk = function () {
|
|
1868
|
-
return this.
|
|
1874
|
+
return this.n29_1;
|
|
1869
1875
|
};
|
|
1870
1876
|
protoOf($serializer_1).xv = function () {
|
|
1871
1877
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1881,7 +1887,7 @@
|
|
|
1881
1887
|
}
|
|
1882
1888
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1883
1889
|
if (!(1 === (1 & seen0))) {
|
|
1884
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
1890
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().n29_1);
|
|
1885
1891
|
}
|
|
1886
1892
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1887
1893
|
$this.reason = reason;
|
|
@@ -1894,7 +1900,7 @@
|
|
|
1894
1900
|
TerminationGameReasonDto.call(this);
|
|
1895
1901
|
this.reason = reason;
|
|
1896
1902
|
}
|
|
1897
|
-
protoOf(GameErrorReasonDto).
|
|
1903
|
+
protoOf(GameErrorReasonDto).e27 = function () {
|
|
1898
1904
|
return this.reason;
|
|
1899
1905
|
};
|
|
1900
1906
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -1923,19 +1929,19 @@
|
|
|
1923
1929
|
$serializer_instance_2 = this;
|
|
1924
1930
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1925
1931
|
tmp0_serialDesc.iv('reason', false);
|
|
1926
|
-
this.
|
|
1932
|
+
this.p29_1 = tmp0_serialDesc;
|
|
1927
1933
|
}
|
|
1928
|
-
protoOf($serializer_2).
|
|
1929
|
-
var tmp0_desc = this.
|
|
1934
|
+
protoOf($serializer_2).q29 = function (encoder, value) {
|
|
1935
|
+
var tmp0_desc = this.p29_1;
|
|
1930
1936
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1931
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
1937
|
+
tmp1_output.hp(tmp0_desc, 0, value.r29_1);
|
|
1932
1938
|
tmp1_output.tn(tmp0_desc);
|
|
1933
1939
|
};
|
|
1934
1940
|
protoOf($serializer_2).kk = function (encoder, value) {
|
|
1935
|
-
return this.
|
|
1941
|
+
return this.q29(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1936
1942
|
};
|
|
1937
1943
|
protoOf($serializer_2).lk = function (decoder) {
|
|
1938
|
-
var tmp0_desc = this.
|
|
1944
|
+
var tmp0_desc = this.p29_1;
|
|
1939
1945
|
var tmp1_flag = true;
|
|
1940
1946
|
var tmp2_index = 0;
|
|
1941
1947
|
var tmp3_bitMask0 = 0;
|
|
@@ -1963,7 +1969,7 @@
|
|
|
1963
1969
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1964
1970
|
};
|
|
1965
1971
|
protoOf($serializer_2).jk = function () {
|
|
1966
|
-
return this.
|
|
1972
|
+
return this.p29_1;
|
|
1967
1973
|
};
|
|
1968
1974
|
protoOf($serializer_2).xv = function () {
|
|
1969
1975
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1979,10 +1985,10 @@
|
|
|
1979
1985
|
}
|
|
1980
1986
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1981
1987
|
if (!(1 === (1 & seen0))) {
|
|
1982
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
1988
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().p29_1);
|
|
1983
1989
|
}
|
|
1984
1990
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1985
|
-
$this.
|
|
1991
|
+
$this.r29_1 = reason;
|
|
1986
1992
|
return $this;
|
|
1987
1993
|
}
|
|
1988
1994
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1990,13 +1996,13 @@
|
|
|
1990
1996
|
}
|
|
1991
1997
|
function GameFinishedReasonDto(reason) {
|
|
1992
1998
|
TerminationGameReasonDto.call(this);
|
|
1993
|
-
this.
|
|
1999
|
+
this.r29_1 = reason;
|
|
1994
2000
|
}
|
|
1995
2001
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
1996
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
2002
|
+
return 'GameFinishedReasonDto(reason=' + this.r29_1 + ')';
|
|
1997
2003
|
};
|
|
1998
2004
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
1999
|
-
return getStringHashCode(this.
|
|
2005
|
+
return getStringHashCode(this.r29_1);
|
|
2000
2006
|
};
|
|
2001
2007
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
2002
2008
|
if (this === other)
|
|
@@ -2004,7 +2010,7 @@
|
|
|
2004
2010
|
if (!(other instanceof GameFinishedReasonDto))
|
|
2005
2011
|
return false;
|
|
2006
2012
|
var tmp0_other_with_cast = other instanceof GameFinishedReasonDto ? other : THROW_CCE();
|
|
2007
|
-
if (!(this.
|
|
2013
|
+
if (!(this.r29_1 === tmp0_other_with_cast.r29_1))
|
|
2008
2014
|
return false;
|
|
2009
2015
|
return true;
|
|
2010
2016
|
};
|
|
@@ -2018,19 +2024,19 @@
|
|
|
2018
2024
|
$serializer_instance_3 = this;
|
|
2019
2025
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
2020
2026
|
tmp0_serialDesc.iv('playerId', false);
|
|
2021
|
-
this.
|
|
2027
|
+
this.s29_1 = tmp0_serialDesc;
|
|
2022
2028
|
}
|
|
2023
|
-
protoOf($serializer_3).
|
|
2024
|
-
var tmp0_desc = this.
|
|
2029
|
+
protoOf($serializer_3).t29 = function (encoder, value) {
|
|
2030
|
+
var tmp0_desc = this.s29_1;
|
|
2025
2031
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2026
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
2032
|
+
tmp1_output.hp(tmp0_desc, 0, value.u29_1);
|
|
2027
2033
|
tmp1_output.tn(tmp0_desc);
|
|
2028
2034
|
};
|
|
2029
2035
|
protoOf($serializer_3).kk = function (encoder, value) {
|
|
2030
|
-
return this.
|
|
2036
|
+
return this.t29(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2031
2037
|
};
|
|
2032
2038
|
protoOf($serializer_3).lk = function (decoder) {
|
|
2033
|
-
var tmp0_desc = this.
|
|
2039
|
+
var tmp0_desc = this.s29_1;
|
|
2034
2040
|
var tmp1_flag = true;
|
|
2035
2041
|
var tmp2_index = 0;
|
|
2036
2042
|
var tmp3_bitMask0 = 0;
|
|
@@ -2058,7 +2064,7 @@
|
|
|
2058
2064
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2059
2065
|
};
|
|
2060
2066
|
protoOf($serializer_3).jk = function () {
|
|
2061
|
-
return this.
|
|
2067
|
+
return this.s29_1;
|
|
2062
2068
|
};
|
|
2063
2069
|
protoOf($serializer_3).xv = function () {
|
|
2064
2070
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2074,10 +2080,10 @@
|
|
|
2074
2080
|
}
|
|
2075
2081
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2076
2082
|
if (!(1 === (1 & seen0))) {
|
|
2077
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2083
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().s29_1);
|
|
2078
2084
|
}
|
|
2079
2085
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2080
|
-
$this.
|
|
2086
|
+
$this.u29_1 = playerId;
|
|
2081
2087
|
return $this;
|
|
2082
2088
|
}
|
|
2083
2089
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2085,13 +2091,13 @@
|
|
|
2085
2091
|
}
|
|
2086
2092
|
function PlayerExitReasonDto(playerId) {
|
|
2087
2093
|
TerminationGameReasonDto.call(this);
|
|
2088
|
-
this.
|
|
2094
|
+
this.u29_1 = playerId;
|
|
2089
2095
|
}
|
|
2090
2096
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2091
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2097
|
+
return 'PlayerExitReasonDto(playerId=' + this.u29_1 + ')';
|
|
2092
2098
|
};
|
|
2093
2099
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2094
|
-
return getStringHashCode(this.
|
|
2100
|
+
return getStringHashCode(this.u29_1);
|
|
2095
2101
|
};
|
|
2096
2102
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2097
2103
|
if (this === other)
|
|
@@ -2099,7 +2105,7 @@
|
|
|
2099
2105
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2100
2106
|
return false;
|
|
2101
2107
|
var tmp0_other_with_cast = other instanceof PlayerExitReasonDto ? other : THROW_CCE();
|
|
2102
|
-
if (!(this.
|
|
2108
|
+
if (!(this.u29_1 === tmp0_other_with_cast.u29_1))
|
|
2103
2109
|
return false;
|
|
2104
2110
|
return true;
|
|
2105
2111
|
};
|
|
@@ -2114,20 +2120,20 @@
|
|
|
2114
2120
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2115
2121
|
tmp0_serialDesc.iv('playerId', false);
|
|
2116
2122
|
tmp0_serialDesc.iv('tag', false);
|
|
2117
|
-
this.
|
|
2123
|
+
this.v29_1 = tmp0_serialDesc;
|
|
2118
2124
|
}
|
|
2119
|
-
protoOf($serializer_4).
|
|
2120
|
-
var tmp0_desc = this.
|
|
2125
|
+
protoOf($serializer_4).w29 = function (encoder, value) {
|
|
2126
|
+
var tmp0_desc = this.v29_1;
|
|
2121
2127
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2122
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
2123
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2128
|
+
tmp1_output.hp(tmp0_desc, 0, value.x29_1);
|
|
2129
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.y29_1);
|
|
2124
2130
|
tmp1_output.tn(tmp0_desc);
|
|
2125
2131
|
};
|
|
2126
2132
|
protoOf($serializer_4).kk = function (encoder, value) {
|
|
2127
|
-
return this.
|
|
2133
|
+
return this.w29(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2128
2134
|
};
|
|
2129
2135
|
protoOf($serializer_4).lk = function (decoder) {
|
|
2130
|
-
var tmp0_desc = this.
|
|
2136
|
+
var tmp0_desc = this.v29_1;
|
|
2131
2137
|
var tmp1_flag = true;
|
|
2132
2138
|
var tmp2_index = 0;
|
|
2133
2139
|
var tmp3_bitMask0 = 0;
|
|
@@ -2162,7 +2168,7 @@
|
|
|
2162
2168
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2163
2169
|
};
|
|
2164
2170
|
protoOf($serializer_4).jk = function () {
|
|
2165
|
-
return this.
|
|
2171
|
+
return this.v29_1;
|
|
2166
2172
|
};
|
|
2167
2173
|
protoOf($serializer_4).xv = function () {
|
|
2168
2174
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2178,11 +2184,11 @@
|
|
|
2178
2184
|
}
|
|
2179
2185
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2180
2186
|
if (!(3 === (3 & seen0))) {
|
|
2181
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2187
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().v29_1);
|
|
2182
2188
|
}
|
|
2183
2189
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2184
|
-
$this.
|
|
2185
|
-
$this.
|
|
2190
|
+
$this.x29_1 = playerId;
|
|
2191
|
+
$this.y29_1 = tag;
|
|
2186
2192
|
return $this;
|
|
2187
2193
|
}
|
|
2188
2194
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2190,15 +2196,15 @@
|
|
|
2190
2196
|
}
|
|
2191
2197
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2192
2198
|
TerminationGameReasonDto.call(this);
|
|
2193
|
-
this.
|
|
2194
|
-
this.
|
|
2199
|
+
this.x29_1 = playerId;
|
|
2200
|
+
this.y29_1 = tag;
|
|
2195
2201
|
}
|
|
2196
2202
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2197
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2203
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.x29_1 + ', tag=' + this.y29_1 + ')';
|
|
2198
2204
|
};
|
|
2199
2205
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2200
|
-
var result = getStringHashCode(this.
|
|
2201
|
-
result = imul(result, 31) + (this.
|
|
2206
|
+
var result = getStringHashCode(this.x29_1);
|
|
2207
|
+
result = imul(result, 31) + (this.y29_1 == null ? 0 : getStringHashCode(this.y29_1)) | 0;
|
|
2202
2208
|
return result;
|
|
2203
2209
|
};
|
|
2204
2210
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2207,9 +2213,9 @@
|
|
|
2207
2213
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2208
2214
|
return false;
|
|
2209
2215
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReasonDto ? other : THROW_CCE();
|
|
2210
|
-
if (!(this.
|
|
2216
|
+
if (!(this.x29_1 === tmp0_other_with_cast.x29_1))
|
|
2211
2217
|
return false;
|
|
2212
|
-
if (!(this.
|
|
2218
|
+
if (!(this.y29_1 == tmp0_other_with_cast.y29_1))
|
|
2213
2219
|
return false;
|
|
2214
2220
|
return true;
|
|
2215
2221
|
};
|
|
@@ -2224,20 +2230,20 @@
|
|
|
2224
2230
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2225
2231
|
tmp0_serialDesc.iv('playerId', false);
|
|
2226
2232
|
tmp0_serialDesc.iv('tag', false);
|
|
2227
|
-
this.
|
|
2233
|
+
this.z29_1 = tmp0_serialDesc;
|
|
2228
2234
|
}
|
|
2229
|
-
protoOf($serializer_5).
|
|
2230
|
-
var tmp0_desc = this.
|
|
2235
|
+
protoOf($serializer_5).a2a = function (encoder, value) {
|
|
2236
|
+
var tmp0_desc = this.z29_1;
|
|
2231
2237
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2232
|
-
tmp1_output.hp(tmp0_desc, 0, value.
|
|
2233
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2238
|
+
tmp1_output.hp(tmp0_desc, 0, value.b2a_1);
|
|
2239
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.c2a_1);
|
|
2234
2240
|
tmp1_output.tn(tmp0_desc);
|
|
2235
2241
|
};
|
|
2236
2242
|
protoOf($serializer_5).kk = function (encoder, value) {
|
|
2237
|
-
return this.
|
|
2243
|
+
return this.a2a(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2238
2244
|
};
|
|
2239
2245
|
protoOf($serializer_5).lk = function (decoder) {
|
|
2240
|
-
var tmp0_desc = this.
|
|
2246
|
+
var tmp0_desc = this.z29_1;
|
|
2241
2247
|
var tmp1_flag = true;
|
|
2242
2248
|
var tmp2_index = 0;
|
|
2243
2249
|
var tmp3_bitMask0 = 0;
|
|
@@ -2272,7 +2278,7 @@
|
|
|
2272
2278
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2273
2279
|
};
|
|
2274
2280
|
protoOf($serializer_5).jk = function () {
|
|
2275
|
-
return this.
|
|
2281
|
+
return this.z29_1;
|
|
2276
2282
|
};
|
|
2277
2283
|
protoOf($serializer_5).xv = function () {
|
|
2278
2284
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2288,11 +2294,11 @@
|
|
|
2288
2294
|
}
|
|
2289
2295
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2290
2296
|
if (!(3 === (3 & seen0))) {
|
|
2291
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2297
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().z29_1);
|
|
2292
2298
|
}
|
|
2293
2299
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2294
|
-
$this.
|
|
2295
|
-
$this.
|
|
2300
|
+
$this.b2a_1 = playerId;
|
|
2301
|
+
$this.c2a_1 = tag;
|
|
2296
2302
|
return $this;
|
|
2297
2303
|
}
|
|
2298
2304
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2300,15 +2306,15 @@
|
|
|
2300
2306
|
}
|
|
2301
2307
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2302
2308
|
TerminationGameReasonDto.call(this);
|
|
2303
|
-
this.
|
|
2304
|
-
this.
|
|
2309
|
+
this.b2a_1 = playerId;
|
|
2310
|
+
this.c2a_1 = tag;
|
|
2305
2311
|
}
|
|
2306
2312
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2307
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2313
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.b2a_1 + ', tag=' + this.c2a_1 + ')';
|
|
2308
2314
|
};
|
|
2309
2315
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2310
|
-
var result = getStringHashCode(this.
|
|
2311
|
-
result = imul(result, 31) + (this.
|
|
2316
|
+
var result = getStringHashCode(this.b2a_1);
|
|
2317
|
+
result = imul(result, 31) + (this.c2a_1 == null ? 0 : getStringHashCode(this.c2a_1)) | 0;
|
|
2312
2318
|
return result;
|
|
2313
2319
|
};
|
|
2314
2320
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2317,14 +2323,14 @@
|
|
|
2317
2323
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2318
2324
|
return false;
|
|
2319
2325
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReasonDto ? other : THROW_CCE();
|
|
2320
|
-
if (!(this.
|
|
2326
|
+
if (!(this.b2a_1 === tmp0_other_with_cast.b2a_1))
|
|
2321
2327
|
return false;
|
|
2322
|
-
if (!(this.
|
|
2328
|
+
if (!(this.c2a_1 == tmp0_other_with_cast.c2a_1))
|
|
2323
2329
|
return false;
|
|
2324
2330
|
return true;
|
|
2325
2331
|
};
|
|
2326
2332
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2327
|
-
return $this.
|
|
2333
|
+
return $this.d2a_1.a2();
|
|
2328
2334
|
}
|
|
2329
2335
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2330
2336
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2339,7 +2345,7 @@
|
|
|
2339
2345
|
TerminationGameReasonDto.call(this);
|
|
2340
2346
|
var tmp = this;
|
|
2341
2347
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2342
|
-
tmp.
|
|
2348
|
+
tmp.d2a_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2343
2349
|
}
|
|
2344
2350
|
protoOf(WaitingForConnectionReasonDto).z17 = function () {
|
|
2345
2351
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2373,12 +2379,6 @@
|
|
|
2373
2379
|
function mapFromDto(_this__u8e3s4) {
|
|
2374
2380
|
return new GameCard(_this__u8e3s4);
|
|
2375
2381
|
}
|
|
2376
|
-
function mapToDto_0(_this__u8e3s4) {
|
|
2377
|
-
return _this__u8e3s4.j29_1;
|
|
2378
|
-
}
|
|
2379
|
-
function mapFromDto_0(_this__u8e3s4) {
|
|
2380
|
-
return new Team(_this__u8e3s4);
|
|
2381
|
-
}
|
|
2382
2382
|
function get_gameErrorReasonMapping() {
|
|
2383
2383
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2384
2384
|
return gameErrorReasonMapping;
|
|
@@ -2389,29 +2389,29 @@
|
|
|
2389
2389
|
return gameFinishedReasonMapping;
|
|
2390
2390
|
}
|
|
2391
2391
|
var gameFinishedReasonMapping;
|
|
2392
|
-
function
|
|
2392
|
+
function mapToDto_0(_this__u8e3s4) {
|
|
2393
2393
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2394
2394
|
var tmp;
|
|
2395
2395
|
if (_this__u8e3s4 instanceof GameErrorReason) {
|
|
2396
|
-
tmp =
|
|
2396
|
+
tmp = mapToDto_1(_this__u8e3s4);
|
|
2397
2397
|
} else {
|
|
2398
2398
|
if (_this__u8e3s4 instanceof GameFinishedReason) {
|
|
2399
|
-
tmp =
|
|
2399
|
+
tmp = mapToDto_2(_this__u8e3s4);
|
|
2400
2400
|
} else {
|
|
2401
2401
|
if (_this__u8e3s4 instanceof PlayerExitReason) {
|
|
2402
|
-
tmp =
|
|
2402
|
+
tmp = mapToDto_3(_this__u8e3s4);
|
|
2403
2403
|
} else {
|
|
2404
2404
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReason) {
|
|
2405
|
-
tmp =
|
|
2405
|
+
tmp = mapToDto_4(_this__u8e3s4);
|
|
2406
2406
|
} else {
|
|
2407
2407
|
if (_this__u8e3s4 instanceof PlayerTimeoutReason) {
|
|
2408
|
-
tmp =
|
|
2408
|
+
tmp = mapToDto_5(_this__u8e3s4);
|
|
2409
2409
|
} else {
|
|
2410
2410
|
if (_this__u8e3s4 instanceof ProcessingReason) {
|
|
2411
|
-
tmp =
|
|
2411
|
+
tmp = mapToDto_6(_this__u8e3s4);
|
|
2412
2412
|
} else {
|
|
2413
2413
|
if (_this__u8e3s4 instanceof WaitingForConnectionReason) {
|
|
2414
|
-
tmp =
|
|
2414
|
+
tmp = mapToDto_7(_this__u8e3s4);
|
|
2415
2415
|
} else {
|
|
2416
2416
|
noWhenBranchMatchedException();
|
|
2417
2417
|
}
|
|
@@ -2423,29 +2423,29 @@
|
|
|
2423
2423
|
}
|
|
2424
2424
|
return tmp;
|
|
2425
2425
|
}
|
|
2426
|
-
function
|
|
2426
|
+
function mapFromDto_0(_this__u8e3s4) {
|
|
2427
2427
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2428
2428
|
var tmp;
|
|
2429
2429
|
if (_this__u8e3s4 instanceof GameErrorReasonDto) {
|
|
2430
|
-
tmp =
|
|
2430
|
+
tmp = mapFromDto_1(_this__u8e3s4);
|
|
2431
2431
|
} else {
|
|
2432
2432
|
if (_this__u8e3s4 instanceof GameFinishedReasonDto) {
|
|
2433
|
-
tmp =
|
|
2433
|
+
tmp = mapFromDto_2(_this__u8e3s4);
|
|
2434
2434
|
} else {
|
|
2435
2435
|
if (_this__u8e3s4 instanceof PlayerExitReasonDto) {
|
|
2436
|
-
tmp =
|
|
2436
|
+
tmp = mapFromDto_3(_this__u8e3s4);
|
|
2437
2437
|
} else {
|
|
2438
2438
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReasonDto) {
|
|
2439
|
-
tmp =
|
|
2439
|
+
tmp = mapFromDto_4(_this__u8e3s4);
|
|
2440
2440
|
} else {
|
|
2441
2441
|
if (_this__u8e3s4 instanceof PlayerTimeoutReasonDto) {
|
|
2442
|
-
tmp =
|
|
2442
|
+
tmp = mapFromDto_5(_this__u8e3s4);
|
|
2443
2443
|
} else {
|
|
2444
2444
|
if (_this__u8e3s4 instanceof ProcessingReasonDto) {
|
|
2445
|
-
tmp =
|
|
2445
|
+
tmp = mapFromDto_6(_this__u8e3s4);
|
|
2446
2446
|
} else {
|
|
2447
2447
|
if (_this__u8e3s4 instanceof WaitingForConnectionReasonDto) {
|
|
2448
|
-
tmp =
|
|
2448
|
+
tmp = mapFromDto_7(_this__u8e3s4);
|
|
2449
2449
|
} else {
|
|
2450
2450
|
noWhenBranchMatchedException();
|
|
2451
2451
|
}
|
|
@@ -2457,61 +2457,61 @@
|
|
|
2457
2457
|
}
|
|
2458
2458
|
return tmp;
|
|
2459
2459
|
}
|
|
2460
|
-
function
|
|
2460
|
+
function mapToDto_1(_this__u8e3s4) {
|
|
2461
2461
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2462
2462
|
return new GameErrorReasonDto(enumToString(_this__u8e3s4.reason, get_gameErrorReasonMapping()));
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2464
|
+
function mapToDto_2(_this__u8e3s4) {
|
|
2465
2465
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2466
2466
|
return new GameFinishedReasonDto(enumToString(_this__u8e3s4.reason, get_gameFinishedReasonMapping()));
|
|
2467
2467
|
}
|
|
2468
|
+
function mapToDto_3(_this__u8e3s4) {
|
|
2469
|
+
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2470
|
+
return new PlayerExitReasonDto(_this__u8e3s4.z26_1);
|
|
2471
|
+
}
|
|
2468
2472
|
function mapToDto_4(_this__u8e3s4) {
|
|
2469
2473
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2470
|
-
return new
|
|
2474
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.t26_1, _this__u8e3s4.tag);
|
|
2471
2475
|
}
|
|
2472
2476
|
function mapToDto_5(_this__u8e3s4) {
|
|
2473
2477
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2474
|
-
return new
|
|
2478
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.y26_1, _this__u8e3s4.tag);
|
|
2475
2479
|
}
|
|
2476
2480
|
function mapToDto_6(_this__u8e3s4) {
|
|
2477
|
-
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2478
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.x26_1, _this__u8e3s4.tag);
|
|
2479
|
-
}
|
|
2480
|
-
function mapToDto_7(_this__u8e3s4) {
|
|
2481
2481
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2482
2482
|
return ProcessingReasonDto_getInstance();
|
|
2483
2483
|
}
|
|
2484
|
-
function
|
|
2484
|
+
function mapToDto_7(_this__u8e3s4) {
|
|
2485
2485
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2486
2486
|
return WaitingForConnectionReasonDto_getInstance();
|
|
2487
2487
|
}
|
|
2488
|
-
function
|
|
2488
|
+
function mapFromDto_1(_this__u8e3s4) {
|
|
2489
2489
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2490
2490
|
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.reason, get_gameErrorReasonMapping());
|
|
2491
2491
|
return new GameErrorReason(tmp0_elvis_lhs == null ? Reason_INTERNAL_ERROR_getInstance() : tmp0_elvis_lhs);
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
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.r29_1, get_gameFinishedReasonMapping());
|
|
2496
2496
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2497
2497
|
}
|
|
2498
|
+
function mapFromDto_3(_this__u8e3s4) {
|
|
2499
|
+
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2500
|
+
return new PlayerExitReason(_this__u8e3s4.u29_1);
|
|
2501
|
+
}
|
|
2498
2502
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2499
2503
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2500
|
-
return new
|
|
2504
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.x29_1, _this__u8e3s4.y29_1);
|
|
2501
2505
|
}
|
|
2502
2506
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2503
2507
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2504
|
-
return new
|
|
2508
|
+
return new PlayerTimeoutReason(_this__u8e3s4.b2a_1, _this__u8e3s4.c2a_1);
|
|
2505
2509
|
}
|
|
2506
2510
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2507
|
-
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2508
|
-
return new PlayerTimeoutReason(_this__u8e3s4.a2a_1, _this__u8e3s4.b2a_1);
|
|
2509
|
-
}
|
|
2510
|
-
function mapFromDto_7(_this__u8e3s4) {
|
|
2511
2511
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2512
2512
|
return ProcessingReason_getInstance();
|
|
2513
2513
|
}
|
|
2514
|
-
function
|
|
2514
|
+
function mapFromDto_7(_this__u8e3s4) {
|
|
2515
2515
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2516
2516
|
return WaitingForConnectionReason_getInstance();
|
|
2517
2517
|
}
|
|
@@ -2547,9 +2547,9 @@
|
|
|
2547
2547
|
gameFinishedReasonMapping = destination_0;
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
|
-
function
|
|
2551
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2552
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2550
|
+
function mapToDto_8(_this__u8e3s4) {
|
|
2551
|
+
var tmp0_playerId = _this__u8e3s4.k27_1;
|
|
2552
|
+
var tmp1_uid = _this__u8e3s4.k27_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;
|
|
@@ -2569,34 +2569,31 @@
|
|
|
2569
2569
|
var tmp8_rating = _this__u8e3s4.rating;
|
|
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
|
-
function
|
|
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.
|
|
2572
|
+
function mapFromDto_8(_this__u8e3s4) {
|
|
2573
|
+
var tmp0_elvis_lhs = _this__u8e3s4.e2a_1;
|
|
2574
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.f2a_1) : tmp0_elvis_lhs;
|
|
2575
|
+
var tmp1_elvis_lhs = _this__u8e3s4.g2a_1;
|
|
2576
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.h2a_1) : tmp1_elvis_lhs;
|
|
2577
|
+
var tmp2_elvis_lhs = _this__u8e3s4.i2a_1;
|
|
2578
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.j2a_1 : tmp2_elvis_lhs;
|
|
2579
|
+
var tmp3_elvis_lhs = _this__u8e3s4.l2a_1;
|
|
2580
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.m2a_1, _this__u8e3s4.k2a_1);
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2583
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2584
|
-
var
|
|
2585
|
-
var
|
|
2586
|
-
var
|
|
2587
|
-
var
|
|
2588
|
-
var
|
|
2589
|
-
var
|
|
2590
|
-
var
|
|
2591
|
-
var
|
|
2592
|
-
var
|
|
2593
|
-
var
|
|
2594
|
-
|
|
2595
|
-
var tmp5_safe_receiver = _this__u8e3s4.c28_1;
|
|
2596
|
-
var tmp13_connection = tmp5_safe_receiver == null ? null : mapToDto_11(tmp5_safe_receiver);
|
|
2597
|
-
return new PlayerStateDto(tmp6_startFromTime, tmp7_startFrom, tmp9_playerTurnTimeout, tmp8_waitPlayerUntilTime, tmp10_state, tmp12_ready, tmp11_tag, tmp13_connection);
|
|
2582
|
+
function mapToDto_9(_this__u8e3s4) {
|
|
2583
|
+
var tmp0_safe_receiver = _this__u8e3s4.x27_1;
|
|
2584
|
+
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2585
|
+
var tmp1_safe_receiver = _this__u8e3s4.z27_1;
|
|
2586
|
+
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2587
|
+
var tmp2_safe_receiver = _this__u8e3s4.y27_1;
|
|
2588
|
+
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2589
|
+
var tmp7_state = _this__u8e3s4.a28_1;
|
|
2590
|
+
var tmp8_tag = _this__u8e3s4.c28_1;
|
|
2591
|
+
var tmp9_ready = _this__u8e3s4.b28_1;
|
|
2592
|
+
var tmp3_safe_receiver = _this__u8e3s4.d28_1;
|
|
2593
|
+
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2594
|
+
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2598
2595
|
}
|
|
2599
|
-
function
|
|
2596
|
+
function mapFromDto_9(_this__u8e3s4) {
|
|
2600
2597
|
var tmp0_safe_receiver = _this__u8e3s4.n2a_1;
|
|
2601
2598
|
var tmp5_startFromTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2602
2599
|
var tmp1_safe_receiver = _this__u8e3s4.p2a_1;
|
|
@@ -2608,13 +2605,13 @@
|
|
|
2608
2605
|
var tmp3_elvis_lhs = _this__u8e3s4.r2a_1;
|
|
2609
2606
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2610
2607
|
var tmp4_safe_receiver = _this__u8e3s4.t2a_1;
|
|
2611
|
-
var tmp11_connection = tmp4_safe_receiver == null ? null :
|
|
2608
|
+
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2612
2609
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2613
2610
|
}
|
|
2614
|
-
function
|
|
2615
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2611
|
+
function mapToDto_10(_this__u8e3s4) {
|
|
2612
|
+
return new PlayerConnectionDto(_this__u8e3s4.i28_1, _this__u8e3s4.j28_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.k28_1));
|
|
2616
2613
|
}
|
|
2617
|
-
function
|
|
2614
|
+
function mapFromDto_10(_this__u8e3s4) {
|
|
2618
2615
|
return new PlayerConnection(_this__u8e3s4.u2a_1, toInstant(_this__u8e3s4.v2a_1), Companion_getInstance().kg(_this__u8e3s4.w2a_1));
|
|
2619
2616
|
}
|
|
2620
2617
|
function Companion_15() {
|
|
@@ -2640,27 +2637,27 @@
|
|
|
2640
2637
|
protoOf($serializer_6).y2a = function (encoder, value) {
|
|
2641
2638
|
var tmp0_desc = this.x2a_1;
|
|
2642
2639
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2643
|
-
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.
|
|
2644
|
-
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
2640
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.e2a_1 == null)) {
|
|
2641
|
+
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.e2a_1);
|
|
2645
2642
|
}
|
|
2646
|
-
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.
|
|
2647
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2643
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.f2a_1 == null)) {
|
|
2644
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.f2a_1);
|
|
2648
2645
|
}
|
|
2649
|
-
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.
|
|
2650
|
-
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2646
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.g2a_1 == null)) {
|
|
2647
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.g2a_1);
|
|
2651
2648
|
}
|
|
2652
|
-
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.
|
|
2653
|
-
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2649
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.h2a_1 == null)) {
|
|
2650
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.h2a_1);
|
|
2654
2651
|
}
|
|
2655
|
-
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.
|
|
2656
|
-
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
2652
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.i2a_1 == null)) {
|
|
2653
|
+
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.i2a_1);
|
|
2657
2654
|
}
|
|
2658
|
-
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.
|
|
2659
|
-
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2655
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.j2a_1 == null)) {
|
|
2656
|
+
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.j2a_1);
|
|
2660
2657
|
}
|
|
2661
|
-
tmp1_output.lp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.
|
|
2662
|
-
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
2663
|
-
tmp1_output.lp(tmp0_desc, 8, FloatSerializer_getInstance(), value.
|
|
2658
|
+
tmp1_output.lp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.k2a_1);
|
|
2659
|
+
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.l2a_1);
|
|
2660
|
+
tmp1_output.lp(tmp0_desc, 8, FloatSerializer_getInstance(), value.m2a_1);
|
|
2664
2661
|
tmp1_output.tn(tmp0_desc);
|
|
2665
2662
|
};
|
|
2666
2663
|
protoOf($serializer_6).kk = function (encoder, value) {
|
|
@@ -2770,32 +2767,32 @@
|
|
|
2770
2767
|
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().x2a_1);
|
|
2771
2768
|
}
|
|
2772
2769
|
if (0 === (seen0 & 1))
|
|
2773
|
-
$this.
|
|
2770
|
+
$this.e2a_1 = null;
|
|
2774
2771
|
else
|
|
2775
|
-
$this.
|
|
2772
|
+
$this.e2a_1 = playerId;
|
|
2776
2773
|
if (0 === (seen0 & 2))
|
|
2777
|
-
$this.
|
|
2774
|
+
$this.f2a_1 = null;
|
|
2778
2775
|
else
|
|
2779
|
-
$this.
|
|
2776
|
+
$this.f2a_1 = uid;
|
|
2780
2777
|
if (0 === (seen0 & 4))
|
|
2781
|
-
$this.
|
|
2778
|
+
$this.g2a_1 = null;
|
|
2782
2779
|
else
|
|
2783
|
-
$this.
|
|
2780
|
+
$this.g2a_1 = name;
|
|
2784
2781
|
if (0 === (seen0 & 8))
|
|
2785
|
-
$this.
|
|
2782
|
+
$this.h2a_1 = null;
|
|
2786
2783
|
else
|
|
2787
|
-
$this.
|
|
2784
|
+
$this.h2a_1 = nickname;
|
|
2788
2785
|
if (0 === (seen0 & 16))
|
|
2789
|
-
$this.
|
|
2786
|
+
$this.i2a_1 = null;
|
|
2790
2787
|
else
|
|
2791
|
-
$this.
|
|
2788
|
+
$this.i2a_1 = avatarUrl;
|
|
2792
2789
|
if (0 === (seen0 & 32))
|
|
2793
|
-
$this.
|
|
2790
|
+
$this.j2a_1 = null;
|
|
2794
2791
|
else
|
|
2795
|
-
$this.
|
|
2796
|
-
$this.
|
|
2797
|
-
$this.
|
|
2798
|
-
$this.
|
|
2792
|
+
$this.j2a_1 = photo;
|
|
2793
|
+
$this.k2a_1 = rating;
|
|
2794
|
+
$this.l2a_1 = isBot;
|
|
2795
|
+
$this.m2a_1 = initialLuckyFactor;
|
|
2799
2796
|
return $this;
|
|
2800
2797
|
}
|
|
2801
2798
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2808,15 +2805,15 @@
|
|
|
2808
2805
|
nickname = nickname === VOID ? null : nickname;
|
|
2809
2806
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2810
2807
|
photo = photo === VOID ? null : photo;
|
|
2811
|
-
this.
|
|
2812
|
-
this.
|
|
2813
|
-
this.
|
|
2814
|
-
this.
|
|
2815
|
-
this.
|
|
2816
|
-
this.
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2819
|
-
this.
|
|
2808
|
+
this.e2a_1 = playerId;
|
|
2809
|
+
this.f2a_1 = uid;
|
|
2810
|
+
this.g2a_1 = name;
|
|
2811
|
+
this.h2a_1 = nickname;
|
|
2812
|
+
this.i2a_1 = avatarUrl;
|
|
2813
|
+
this.j2a_1 = photo;
|
|
2814
|
+
this.k2a_1 = rating;
|
|
2815
|
+
this.l2a_1 = isBot;
|
|
2816
|
+
this.m2a_1 = initialLuckyFactor;
|
|
2820
2817
|
}
|
|
2821
2818
|
protoOf(GameUserInfoDto).z2a = function () {
|
|
2822
2819
|
return this.a2b(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
@@ -2825,30 +2822,30 @@
|
|
|
2825
2822
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2826
2823
|
};
|
|
2827
2824
|
protoOf(GameUserInfoDto).a2b = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2828
|
-
playerId = playerId === VOID ? this.
|
|
2829
|
-
uid = uid === VOID ? this.
|
|
2830
|
-
name = name === VOID ? this.
|
|
2831
|
-
nickname = nickname === VOID ? this.
|
|
2832
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2833
|
-
photo = photo === VOID ? this.
|
|
2834
|
-
rating = rating === VOID ? this.
|
|
2835
|
-
isBot = isBot === VOID ? this.
|
|
2836
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2825
|
+
playerId = playerId === VOID ? this.e2a_1 : playerId;
|
|
2826
|
+
uid = uid === VOID ? this.f2a_1 : uid;
|
|
2827
|
+
name = name === VOID ? this.g2a_1 : name;
|
|
2828
|
+
nickname = nickname === VOID ? this.h2a_1 : nickname;
|
|
2829
|
+
avatarUrl = avatarUrl === VOID ? this.i2a_1 : avatarUrl;
|
|
2830
|
+
photo = photo === VOID ? this.j2a_1 : photo;
|
|
2831
|
+
rating = rating === VOID ? this.k2a_1 : rating;
|
|
2832
|
+
isBot = isBot === VOID ? this.l2a_1 : isBot;
|
|
2833
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.m2a_1 : initialLuckyFactor;
|
|
2837
2834
|
return $super === VOID ? this.b2b(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.b2b.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2838
2835
|
};
|
|
2839
2836
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2840
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2837
|
+
return 'GameUserInfoDto(playerId=' + this.e2a_1 + ', uid=' + this.f2a_1 + ', name=' + this.g2a_1 + ', nickname=' + this.h2a_1 + ', avatarUrl=' + this.i2a_1 + ', photo=' + this.j2a_1 + ', rating=' + this.k2a_1 + ', isBot=' + this.l2a_1 + ', initialLuckyFactor=' + this.m2a_1 + ')';
|
|
2841
2838
|
};
|
|
2842
2839
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2843
|
-
var result = this.
|
|
2844
|
-
result = imul(result, 31) + (this.e2a_1 == null ? 0 : getStringHashCode(this.e2a_1)) | 0;
|
|
2840
|
+
var result = this.e2a_1 == null ? 0 : getStringHashCode(this.e2a_1);
|
|
2845
2841
|
result = imul(result, 31) + (this.f2a_1 == null ? 0 : getStringHashCode(this.f2a_1)) | 0;
|
|
2846
2842
|
result = imul(result, 31) + (this.g2a_1 == null ? 0 : getStringHashCode(this.g2a_1)) | 0;
|
|
2847
2843
|
result = imul(result, 31) + (this.h2a_1 == null ? 0 : getStringHashCode(this.h2a_1)) | 0;
|
|
2848
2844
|
result = imul(result, 31) + (this.i2a_1 == null ? 0 : getStringHashCode(this.i2a_1)) | 0;
|
|
2849
|
-
result = imul(result, 31) + (this.j2a_1 == null ? 0 :
|
|
2850
|
-
result = imul(result, 31) + (this.k2a_1 == null ? 0 :
|
|
2851
|
-
result = imul(result, 31) + (this.l2a_1 == null ? 0 :
|
|
2845
|
+
result = imul(result, 31) + (this.j2a_1 == null ? 0 : getStringHashCode(this.j2a_1)) | 0;
|
|
2846
|
+
result = imul(result, 31) + (this.k2a_1 == null ? 0 : getNumberHashCode(this.k2a_1)) | 0;
|
|
2847
|
+
result = imul(result, 31) + (this.l2a_1 == null ? 0 : getBooleanHashCode(this.l2a_1)) | 0;
|
|
2848
|
+
result = imul(result, 31) + (this.m2a_1 == null ? 0 : getNumberHashCode(this.m2a_1)) | 0;
|
|
2852
2849
|
return result;
|
|
2853
2850
|
};
|
|
2854
2851
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2857,8 +2854,6 @@
|
|
|
2857
2854
|
if (!(other instanceof GameUserInfoDto))
|
|
2858
2855
|
return false;
|
|
2859
2856
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2860
|
-
if (!(this.d2a_1 == tmp0_other_with_cast.d2a_1))
|
|
2861
|
-
return false;
|
|
2862
2857
|
if (!(this.e2a_1 == tmp0_other_with_cast.e2a_1))
|
|
2863
2858
|
return false;
|
|
2864
2859
|
if (!(this.f2a_1 == tmp0_other_with_cast.f2a_1))
|
|
@@ -2869,11 +2864,13 @@
|
|
|
2869
2864
|
return false;
|
|
2870
2865
|
if (!(this.i2a_1 == tmp0_other_with_cast.i2a_1))
|
|
2871
2866
|
return false;
|
|
2872
|
-
if (!
|
|
2867
|
+
if (!(this.j2a_1 == tmp0_other_with_cast.j2a_1))
|
|
2868
|
+
return false;
|
|
2869
|
+
if (!equals(this.k2a_1, tmp0_other_with_cast.k2a_1))
|
|
2873
2870
|
return false;
|
|
2874
|
-
if (!(this.
|
|
2871
|
+
if (!(this.l2a_1 == tmp0_other_with_cast.l2a_1))
|
|
2875
2872
|
return false;
|
|
2876
|
-
if (!equals(this.
|
|
2873
|
+
if (!equals(this.m2a_1, tmp0_other_with_cast.m2a_1))
|
|
2877
2874
|
return false;
|
|
2878
2875
|
return true;
|
|
2879
2876
|
};
|
|
@@ -3016,7 +3013,7 @@
|
|
|
3016
3013
|
// Inline function 'kotlin.arrayOf' call
|
|
3017
3014
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3018
3015
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3019
|
-
tmp.f2b_1 = [null, null, null,
|
|
3016
|
+
tmp.f2b_1 = [null, null, null, Companion_getInstance_9().z17(), null, null, null];
|
|
3020
3017
|
}
|
|
3021
3018
|
var Companion_instance_17;
|
|
3022
3019
|
function Companion_getInstance_19() {
|
|
@@ -3026,8 +3023,7 @@
|
|
|
3026
3023
|
}
|
|
3027
3024
|
function $serializer_8() {
|
|
3028
3025
|
$serializer_instance_8 = this;
|
|
3029
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this,
|
|
3030
|
-
tmp0_serialDesc.iv('startFromTime', true);
|
|
3026
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 7);
|
|
3031
3027
|
tmp0_serialDesc.iv('startFrom', true);
|
|
3032
3028
|
tmp0_serialDesc.iv('playerTurnTimeout', true);
|
|
3033
3029
|
tmp0_serialDesc.iv('waitPlayerUntilTime', true);
|
|
@@ -3041,27 +3037,24 @@
|
|
|
3041
3037
|
var tmp0_desc = this.g2b_1;
|
|
3042
3038
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3043
3039
|
var tmp2_cached = Companion_getInstance_19().f2b_1;
|
|
3044
|
-
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.
|
|
3045
|
-
tmp1_output.lp(tmp0_desc, 0,
|
|
3046
|
-
}
|
|
3047
|
-
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.n2a_1 == null)) {
|
|
3048
|
-
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.n2a_1);
|
|
3040
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.n2a_1 == null)) {
|
|
3041
|
+
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.n2a_1);
|
|
3049
3042
|
}
|
|
3050
|
-
if (tmp1_output.pp(tmp0_desc,
|
|
3051
|
-
tmp1_output.lp(tmp0_desc,
|
|
3043
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.o2a_1 == null)) {
|
|
3044
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.o2a_1);
|
|
3052
3045
|
}
|
|
3053
|
-
if (tmp1_output.pp(tmp0_desc,
|
|
3054
|
-
tmp1_output.lp(tmp0_desc,
|
|
3046
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.p2a_1 == null)) {
|
|
3047
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.p2a_1);
|
|
3055
3048
|
}
|
|
3056
|
-
tmp1_output.jp(tmp0_desc,
|
|
3057
|
-
if (tmp1_output.pp(tmp0_desc,
|
|
3058
|
-
tmp1_output.lp(tmp0_desc,
|
|
3049
|
+
tmp1_output.jp(tmp0_desc, 3, tmp2_cached[3], value.q2a_1);
|
|
3050
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.r2a_1 == null)) {
|
|
3051
|
+
tmp1_output.lp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.r2a_1);
|
|
3059
3052
|
}
|
|
3060
|
-
if (tmp1_output.pp(tmp0_desc,
|
|
3061
|
-
tmp1_output.lp(tmp0_desc,
|
|
3053
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.s2a_1 == null)) {
|
|
3054
|
+
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.s2a_1);
|
|
3062
3055
|
}
|
|
3063
|
-
if (tmp1_output.pp(tmp0_desc,
|
|
3064
|
-
tmp1_output.lp(tmp0_desc,
|
|
3056
|
+
if (tmp1_output.pp(tmp0_desc, 6) ? true : !(value.t2a_1 == null)) {
|
|
3057
|
+
tmp1_output.lp(tmp0_desc, 6, $serializer_getInstance_7(), value.t2a_1);
|
|
3065
3058
|
}
|
|
3066
3059
|
tmp1_output.tn(tmp0_desc);
|
|
3067
3060
|
};
|
|
@@ -3080,71 +3073,64 @@
|
|
|
3080
3073
|
var tmp8_local4 = null;
|
|
3081
3074
|
var tmp9_local5 = null;
|
|
3082
3075
|
var tmp10_local6 = null;
|
|
3083
|
-
var
|
|
3084
|
-
var
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
tmp4_local0 = tmp12_input.go(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3076
|
+
var tmp11_input = decoder.sn(tmp0_desc);
|
|
3077
|
+
var tmp12_cached = Companion_getInstance_19().f2b_1;
|
|
3078
|
+
if (tmp11_input.io()) {
|
|
3079
|
+
tmp4_local0 = tmp11_input.go(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3088
3080
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3089
|
-
tmp5_local1 =
|
|
3081
|
+
tmp5_local1 = tmp11_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3090
3082
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3091
|
-
tmp6_local2 =
|
|
3083
|
+
tmp6_local2 = tmp11_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3092
3084
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3093
|
-
tmp7_local3 =
|
|
3085
|
+
tmp7_local3 = tmp11_input.eo(tmp0_desc, 3, tmp12_cached[3], tmp7_local3);
|
|
3094
3086
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3095
|
-
tmp8_local4 =
|
|
3087
|
+
tmp8_local4 = tmp11_input.go(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3096
3088
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3097
|
-
tmp9_local5 =
|
|
3089
|
+
tmp9_local5 = tmp11_input.go(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3098
3090
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3099
|
-
tmp10_local6 =
|
|
3091
|
+
tmp10_local6 = tmp11_input.go(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3100
3092
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3101
|
-
tmp11_local7 = tmp12_input.go(tmp0_desc, 7, $serializer_getInstance_7(), tmp11_local7);
|
|
3102
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3103
3093
|
} else
|
|
3104
3094
|
while (tmp1_flag) {
|
|
3105
|
-
tmp2_index =
|
|
3095
|
+
tmp2_index = tmp11_input.jo(tmp0_desc);
|
|
3106
3096
|
switch (tmp2_index) {
|
|
3107
3097
|
case -1:
|
|
3108
3098
|
tmp1_flag = false;
|
|
3109
3099
|
break;
|
|
3110
3100
|
case 0:
|
|
3111
|
-
tmp4_local0 =
|
|
3101
|
+
tmp4_local0 = tmp11_input.go(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3112
3102
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3113
3103
|
break;
|
|
3114
3104
|
case 1:
|
|
3115
|
-
tmp5_local1 =
|
|
3105
|
+
tmp5_local1 = tmp11_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3116
3106
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3117
3107
|
break;
|
|
3118
3108
|
case 2:
|
|
3119
|
-
tmp6_local2 =
|
|
3109
|
+
tmp6_local2 = tmp11_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3120
3110
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3121
3111
|
break;
|
|
3122
3112
|
case 3:
|
|
3123
|
-
tmp7_local3 =
|
|
3113
|
+
tmp7_local3 = tmp11_input.eo(tmp0_desc, 3, tmp12_cached[3], tmp7_local3);
|
|
3124
3114
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3125
3115
|
break;
|
|
3126
3116
|
case 4:
|
|
3127
|
-
tmp8_local4 =
|
|
3117
|
+
tmp8_local4 = tmp11_input.go(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3128
3118
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3129
3119
|
break;
|
|
3130
3120
|
case 5:
|
|
3131
|
-
tmp9_local5 =
|
|
3121
|
+
tmp9_local5 = tmp11_input.go(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3132
3122
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3133
3123
|
break;
|
|
3134
3124
|
case 6:
|
|
3135
|
-
tmp10_local6 =
|
|
3125
|
+
tmp10_local6 = tmp11_input.go(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3136
3126
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3137
3127
|
break;
|
|
3138
|
-
case 7:
|
|
3139
|
-
tmp11_local7 = tmp12_input.go(tmp0_desc, 7, $serializer_getInstance_7(), tmp11_local7);
|
|
3140
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3141
|
-
break;
|
|
3142
3128
|
default:
|
|
3143
3129
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3144
3130
|
}
|
|
3145
3131
|
}
|
|
3146
|
-
|
|
3147
|
-
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6,
|
|
3132
|
+
tmp11_input.tn(tmp0_desc);
|
|
3133
|
+
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3148
3134
|
};
|
|
3149
3135
|
protoOf($serializer_8).jk = function () {
|
|
3150
3136
|
return this.g2b_1;
|
|
@@ -3154,7 +3140,7 @@
|
|
|
3154
3140
|
// Inline function 'kotlin.arrayOf' call
|
|
3155
3141
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3156
3142
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3157
|
-
return [get_nullable(
|
|
3143
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[3], get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_7())];
|
|
3158
3144
|
};
|
|
3159
3145
|
var $serializer_instance_8;
|
|
3160
3146
|
function $serializer_getInstance_8() {
|
|
@@ -3162,54 +3148,48 @@
|
|
|
3162
3148
|
new $serializer_8();
|
|
3163
3149
|
return $serializer_instance_8;
|
|
3164
3150
|
}
|
|
3165
|
-
function PlayerStateDto_init_$Init$(seen0,
|
|
3166
|
-
if (!(
|
|
3167
|
-
throwMissingFieldException(seen0,
|
|
3151
|
+
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3152
|
+
if (!(8 === (8 & seen0))) {
|
|
3153
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().g2b_1);
|
|
3168
3154
|
}
|
|
3169
3155
|
if (0 === (seen0 & 1))
|
|
3170
|
-
$this.m2a_1 = null;
|
|
3171
|
-
else
|
|
3172
|
-
$this.m2a_1 = startFromTime;
|
|
3173
|
-
if (0 === (seen0 & 2))
|
|
3174
3156
|
$this.n2a_1 = null;
|
|
3175
3157
|
else
|
|
3176
3158
|
$this.n2a_1 = startFrom;
|
|
3177
|
-
if (0 === (seen0 &
|
|
3159
|
+
if (0 === (seen0 & 2))
|
|
3178
3160
|
$this.o2a_1 = null;
|
|
3179
3161
|
else
|
|
3180
3162
|
$this.o2a_1 = playerTurnTimeout;
|
|
3181
|
-
if (0 === (seen0 &
|
|
3163
|
+
if (0 === (seen0 & 4))
|
|
3182
3164
|
$this.p2a_1 = null;
|
|
3183
3165
|
else
|
|
3184
3166
|
$this.p2a_1 = waitPlayerUntilTime;
|
|
3185
3167
|
$this.q2a_1 = state;
|
|
3186
|
-
if (0 === (seen0 &
|
|
3168
|
+
if (0 === (seen0 & 16))
|
|
3187
3169
|
$this.r2a_1 = null;
|
|
3188
3170
|
else
|
|
3189
3171
|
$this.r2a_1 = ready;
|
|
3190
|
-
if (0 === (seen0 &
|
|
3172
|
+
if (0 === (seen0 & 32))
|
|
3191
3173
|
$this.s2a_1 = null;
|
|
3192
3174
|
else
|
|
3193
3175
|
$this.s2a_1 = tag;
|
|
3194
|
-
if (0 === (seen0 &
|
|
3176
|
+
if (0 === (seen0 & 64))
|
|
3195
3177
|
$this.t2a_1 = null;
|
|
3196
3178
|
else
|
|
3197
3179
|
$this.t2a_1 = connection;
|
|
3198
3180
|
return $this;
|
|
3199
3181
|
}
|
|
3200
|
-
function PlayerStateDto_init_$Create$(seen0,
|
|
3201
|
-
return PlayerStateDto_init_$Init$(seen0,
|
|
3182
|
+
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
3183
|
+
return PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, objectCreate(protoOf(PlayerStateDto)));
|
|
3202
3184
|
}
|
|
3203
|
-
function PlayerStateDto(
|
|
3185
|
+
function PlayerStateDto(startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
3204
3186
|
Companion_getInstance_19();
|
|
3205
|
-
startFromTime = startFromTime === VOID ? null : startFromTime;
|
|
3206
3187
|
startFrom = startFrom === VOID ? null : startFrom;
|
|
3207
3188
|
playerTurnTimeout = playerTurnTimeout === VOID ? null : playerTurnTimeout;
|
|
3208
3189
|
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? null : waitPlayerUntilTime;
|
|
3209
3190
|
ready = ready === VOID ? null : ready;
|
|
3210
3191
|
tag = tag === VOID ? null : tag;
|
|
3211
3192
|
connection = connection === VOID ? null : connection;
|
|
3212
|
-
this.m2a_1 = startFromTime;
|
|
3213
3193
|
this.n2a_1 = startFrom;
|
|
3214
3194
|
this.o2a_1 = playerTurnTimeout;
|
|
3215
3195
|
this.p2a_1 = waitPlayerUntilTime;
|
|
@@ -3219,11 +3199,10 @@
|
|
|
3219
3199
|
this.t2a_1 = connection;
|
|
3220
3200
|
}
|
|
3221
3201
|
protoOf(PlayerStateDto).toString = function () {
|
|
3222
|
-
return 'PlayerStateDto(
|
|
3202
|
+
return 'PlayerStateDto(startFrom=' + this.n2a_1 + ', playerTurnTimeout=' + this.o2a_1 + ', waitPlayerUntilTime=' + this.p2a_1 + ', state=' + this.q2a_1.toString() + ', ready=' + this.r2a_1 + ', tag=' + this.s2a_1 + ', connection=' + toString(this.t2a_1) + ')';
|
|
3223
3203
|
};
|
|
3224
3204
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3225
|
-
var result = this.
|
|
3226
|
-
result = imul(result, 31) + (this.n2a_1 == null ? 0 : getStringHashCode(this.n2a_1)) | 0;
|
|
3205
|
+
var result = this.n2a_1 == null ? 0 : getStringHashCode(this.n2a_1);
|
|
3227
3206
|
result = imul(result, 31) + (this.o2a_1 == null ? 0 : getStringHashCode(this.o2a_1)) | 0;
|
|
3228
3207
|
result = imul(result, 31) + (this.p2a_1 == null ? 0 : getStringHashCode(this.p2a_1)) | 0;
|
|
3229
3208
|
result = imul(result, 31) + this.q2a_1.hashCode() | 0;
|
|
@@ -3238,8 +3217,6 @@
|
|
|
3238
3217
|
if (!(other instanceof PlayerStateDto))
|
|
3239
3218
|
return false;
|
|
3240
3219
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3241
|
-
if (!equals(this.m2a_1, tmp0_other_with_cast.m2a_1))
|
|
3242
|
-
return false;
|
|
3243
3220
|
if (!(this.n2a_1 == tmp0_other_with_cast.n2a_1))
|
|
3244
3221
|
return false;
|
|
3245
3222
|
if (!(this.o2a_1 == tmp0_other_with_cast.o2a_1))
|
|
@@ -3262,7 +3239,7 @@
|
|
|
3262
3239
|
// Inline function 'kotlin.arrayOf' call
|
|
3263
3240
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3264
3241
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3265
|
-
tmp.i2b_1 = [null, null, null, null, null, null, null,
|
|
3242
|
+
tmp.i2b_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];
|
|
3266
3243
|
}
|
|
3267
3244
|
var Companion_instance_18;
|
|
3268
3245
|
function Companion_getInstance_20() {
|
|
@@ -3272,109 +3249,63 @@
|
|
|
3272
3249
|
}
|
|
3273
3250
|
function $serializer_9() {
|
|
3274
3251
|
$serializer_instance_9 = this;
|
|
3275
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this,
|
|
3276
|
-
tmp0_serialDesc.iv('
|
|
3277
|
-
tmp0_serialDesc.iv('
|
|
3278
|
-
tmp0_serialDesc.iv('
|
|
3279
|
-
tmp0_serialDesc.iv('
|
|
3280
|
-
tmp0_serialDesc.iv('
|
|
3281
|
-
tmp0_serialDesc.iv('
|
|
3282
|
-
tmp0_serialDesc.iv('
|
|
3283
|
-
tmp0_serialDesc.iv('
|
|
3284
|
-
tmp0_serialDesc.iv('
|
|
3285
|
-
tmp0_serialDesc.iv('
|
|
3286
|
-
tmp0_serialDesc.iv('
|
|
3287
|
-
tmp0_serialDesc.iv('
|
|
3288
|
-
tmp0_serialDesc.iv('
|
|
3289
|
-
tmp0_serialDesc.iv('
|
|
3290
|
-
tmp0_serialDesc.iv('
|
|
3291
|
-
tmp0_serialDesc.iv('
|
|
3292
|
-
tmp0_serialDesc.iv('
|
|
3293
|
-
tmp0_serialDesc.iv('
|
|
3294
|
-
tmp0_serialDesc.iv('
|
|
3295
|
-
tmp0_serialDesc.iv('
|
|
3296
|
-
tmp0_serialDesc.iv('
|
|
3297
|
-
tmp0_serialDesc.iv('
|
|
3298
|
-
tmp0_serialDesc.iv('
|
|
3299
|
-
tmp0_serialDesc.iv('
|
|
3252
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 25);
|
|
3253
|
+
tmp0_serialDesc.iv('playerWhoChooseSuitGoFirst', false);
|
|
3254
|
+
tmp0_serialDesc.iv('winnerShuffleCards', false);
|
|
3255
|
+
tmp0_serialDesc.iv('playWithoutLiabilities', false);
|
|
3256
|
+
tmp0_serialDesc.iv('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
3257
|
+
tmp0_serialDesc.iv('dealerInitialCardsCount', false);
|
|
3258
|
+
tmp0_serialDesc.iv('dealerFinalCardsCount', false);
|
|
3259
|
+
tmp0_serialDesc.iv('dealerCounterClockwise', false);
|
|
3260
|
+
tmp0_serialDesc.iv('contractTypes', false);
|
|
3261
|
+
tmp0_serialDesc.iv('bidTypes', false);
|
|
3262
|
+
tmp0_serialDesc.iv('needToPutHigherTrump', false);
|
|
3263
|
+
tmp0_serialDesc.iv('trumpCardStepPartnerMode', false);
|
|
3264
|
+
tmp0_serialDesc.iv('combinationsWithFirstCard', false);
|
|
3265
|
+
tmp0_serialDesc.iv('protectBella', false);
|
|
3266
|
+
tmp0_serialDesc.iv('oneTryToProtectBella', false);
|
|
3267
|
+
tmp0_serialDesc.iv('enableFourSevensCombination', false);
|
|
3268
|
+
tmp0_serialDesc.iv('enableTrumpSevenCombination', false);
|
|
3269
|
+
tmp0_serialDesc.iv('enableTrumpSevenCombinationAfterDistribution', false);
|
|
3270
|
+
tmp0_serialDesc.iv('checkTrumpCombination', false);
|
|
3271
|
+
tmp0_serialDesc.iv('checkOnlyTrumpDebertz', false);
|
|
3272
|
+
tmp0_serialDesc.iv('distributePoints', false);
|
|
3273
|
+
tmp0_serialDesc.iv('pointsDistributeMode', false);
|
|
3274
|
+
tmp0_serialDesc.iv('enableFineIfNoBribes', false);
|
|
3275
|
+
tmp0_serialDesc.iv('fineIfNoBribes', false);
|
|
3276
|
+
tmp0_serialDesc.iv('enableFineAfterThirdByte', false);
|
|
3277
|
+
tmp0_serialDesc.iv('fineAfterThirdFailedContract', false);
|
|
3300
3278
|
this.j2b_1 = tmp0_serialDesc;
|
|
3301
3279
|
}
|
|
3302
3280
|
protoOf($serializer_9).k2b = function (encoder, value) {
|
|
3303
3281
|
var tmp0_desc = this.j2b_1;
|
|
3304
3282
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3305
3283
|
var tmp2_cached = Companion_getInstance_20().i2b_1;
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
tmp1_output.lp(tmp0_desc, 8, tmp2_cached[8], value.t2b_1);
|
|
3332
|
-
}
|
|
3333
|
-
if (tmp1_output.pp(tmp0_desc, 9) ? true : !(value.u2b_1 == null)) {
|
|
3334
|
-
tmp1_output.lp(tmp0_desc, 9, tmp2_cached[9], value.u2b_1);
|
|
3335
|
-
}
|
|
3336
|
-
if (tmp1_output.pp(tmp0_desc, 10) ? true : !(value.v2b_1 == null)) {
|
|
3337
|
-
tmp1_output.lp(tmp0_desc, 10, tmp2_cached[10], value.v2b_1);
|
|
3338
|
-
}
|
|
3339
|
-
if (tmp1_output.pp(tmp0_desc, 11) ? true : !(value.w2b_1 == null)) {
|
|
3340
|
-
tmp1_output.lp(tmp0_desc, 11, BooleanSerializer_getInstance(), value.w2b_1);
|
|
3341
|
-
}
|
|
3342
|
-
if (tmp1_output.pp(tmp0_desc, 12) ? true : !(value.x2b_1 == null)) {
|
|
3343
|
-
tmp1_output.lp(tmp0_desc, 12, BooleanSerializer_getInstance(), value.x2b_1);
|
|
3344
|
-
}
|
|
3345
|
-
if (tmp1_output.pp(tmp0_desc, 13) ? true : !(value.y2b_1 == null)) {
|
|
3346
|
-
tmp1_output.lp(tmp0_desc, 13, BooleanSerializer_getInstance(), value.y2b_1);
|
|
3347
|
-
}
|
|
3348
|
-
if (tmp1_output.pp(tmp0_desc, 14) ? true : !(value.z2b_1 == null)) {
|
|
3349
|
-
tmp1_output.lp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.z2b_1);
|
|
3350
|
-
}
|
|
3351
|
-
if (tmp1_output.pp(tmp0_desc, 15) ? true : !(value.a2c_1 == null)) {
|
|
3352
|
-
tmp1_output.lp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.a2c_1);
|
|
3353
|
-
}
|
|
3354
|
-
if (tmp1_output.pp(tmp0_desc, 16) ? true : !(value.b2c_1 == null)) {
|
|
3355
|
-
tmp1_output.lp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.b2c_1);
|
|
3356
|
-
}
|
|
3357
|
-
if (tmp1_output.pp(tmp0_desc, 17) ? true : !(value.c2c_1 == null)) {
|
|
3358
|
-
tmp1_output.lp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.c2c_1);
|
|
3359
|
-
}
|
|
3360
|
-
if (tmp1_output.pp(tmp0_desc, 18) ? true : !(value.d2c_1 == null)) {
|
|
3361
|
-
tmp1_output.lp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.d2c_1);
|
|
3362
|
-
}
|
|
3363
|
-
if (tmp1_output.pp(tmp0_desc, 19) ? true : !(value.e2c_1 == null)) {
|
|
3364
|
-
tmp1_output.lp(tmp0_desc, 19, StringSerializer_getInstance(), value.e2c_1);
|
|
3365
|
-
}
|
|
3366
|
-
if (tmp1_output.pp(tmp0_desc, 20) ? true : !(value.f2c_1 == null)) {
|
|
3367
|
-
tmp1_output.lp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.f2c_1);
|
|
3368
|
-
}
|
|
3369
|
-
if (tmp1_output.pp(tmp0_desc, 21) ? true : !(value.g2c_1 == null)) {
|
|
3370
|
-
tmp1_output.lp(tmp0_desc, 21, IntSerializer_getInstance(), value.g2c_1);
|
|
3371
|
-
}
|
|
3372
|
-
if (tmp1_output.pp(tmp0_desc, 22) ? true : !(value.h2c_1 == null)) {
|
|
3373
|
-
tmp1_output.lp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.h2c_1);
|
|
3374
|
-
}
|
|
3375
|
-
if (tmp1_output.pp(tmp0_desc, 23) ? true : !(value.i2c_1 == null)) {
|
|
3376
|
-
tmp1_output.lp(tmp0_desc, 23, IntSerializer_getInstance(), value.i2c_1);
|
|
3377
|
-
}
|
|
3284
|
+
tmp1_output.lp(tmp0_desc, 0, BooleanSerializer_getInstance(), value.l2b_1);
|
|
3285
|
+
tmp1_output.lp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.m2b_1);
|
|
3286
|
+
tmp1_output.lp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.n2b_1);
|
|
3287
|
+
tmp1_output.lp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.o2b_1);
|
|
3288
|
+
tmp1_output.lp(tmp0_desc, 4, IntSerializer_getInstance(), value.p2b_1);
|
|
3289
|
+
tmp1_output.lp(tmp0_desc, 5, IntSerializer_getInstance(), value.q2b_1);
|
|
3290
|
+
tmp1_output.lp(tmp0_desc, 6, BooleanSerializer_getInstance(), value.r2b_1);
|
|
3291
|
+
tmp1_output.lp(tmp0_desc, 7, tmp2_cached[7], value.s2b_1);
|
|
3292
|
+
tmp1_output.lp(tmp0_desc, 8, tmp2_cached[8], value.t2b_1);
|
|
3293
|
+
tmp1_output.lp(tmp0_desc, 9, BooleanSerializer_getInstance(), value.u2b_1);
|
|
3294
|
+
tmp1_output.lp(tmp0_desc, 10, StringSerializer_getInstance(), value.v2b_1);
|
|
3295
|
+
tmp1_output.lp(tmp0_desc, 11, tmp2_cached[11], value.w2b_1);
|
|
3296
|
+
tmp1_output.lp(tmp0_desc, 12, BooleanSerializer_getInstance(), value.x2b_1);
|
|
3297
|
+
tmp1_output.lp(tmp0_desc, 13, BooleanSerializer_getInstance(), value.y2b_1);
|
|
3298
|
+
tmp1_output.lp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.z2b_1);
|
|
3299
|
+
tmp1_output.lp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.a2c_1);
|
|
3300
|
+
tmp1_output.lp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.b2c_1);
|
|
3301
|
+
tmp1_output.lp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.c2c_1);
|
|
3302
|
+
tmp1_output.lp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.d2c_1);
|
|
3303
|
+
tmp1_output.lp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.e2c_1);
|
|
3304
|
+
tmp1_output.lp(tmp0_desc, 20, StringSerializer_getInstance(), value.f2c_1);
|
|
3305
|
+
tmp1_output.lp(tmp0_desc, 21, BooleanSerializer_getInstance(), value.g2c_1);
|
|
3306
|
+
tmp1_output.lp(tmp0_desc, 22, IntSerializer_getInstance(), value.h2c_1);
|
|
3307
|
+
tmp1_output.lp(tmp0_desc, 23, BooleanSerializer_getInstance(), value.i2c_1);
|
|
3308
|
+
tmp1_output.lp(tmp0_desc, 24, IntSerializer_getInstance(), value.j2c_1);
|
|
3378
3309
|
tmp1_output.tn(tmp0_desc);
|
|
3379
3310
|
};
|
|
3380
3311
|
protoOf($serializer_9).kk = function (encoder, value) {
|
|
@@ -3409,166 +3340,173 @@
|
|
|
3409
3340
|
var tmp25_local21 = null;
|
|
3410
3341
|
var tmp26_local22 = null;
|
|
3411
3342
|
var tmp27_local23 = null;
|
|
3412
|
-
var
|
|
3413
|
-
var
|
|
3414
|
-
|
|
3415
|
-
|
|
3343
|
+
var tmp28_local24 = null;
|
|
3344
|
+
var tmp29_input = decoder.sn(tmp0_desc);
|
|
3345
|
+
var tmp30_cached = Companion_getInstance_20().i2b_1;
|
|
3346
|
+
if (tmp29_input.io()) {
|
|
3347
|
+
tmp4_local0 = tmp29_input.go(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
3416
3348
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3417
|
-
tmp5_local1 =
|
|
3349
|
+
tmp5_local1 = tmp29_input.go(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3418
3350
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3419
|
-
tmp6_local2 =
|
|
3351
|
+
tmp6_local2 = tmp29_input.go(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3420
3352
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3421
|
-
tmp7_local3 =
|
|
3353
|
+
tmp7_local3 = tmp29_input.go(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3422
3354
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3423
|
-
tmp8_local4 =
|
|
3355
|
+
tmp8_local4 = tmp29_input.go(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
3424
3356
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3425
|
-
tmp9_local5 =
|
|
3357
|
+
tmp9_local5 = tmp29_input.go(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3426
3358
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3427
|
-
tmp10_local6 =
|
|
3359
|
+
tmp10_local6 = tmp29_input.go(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
3428
3360
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3429
|
-
tmp11_local7 =
|
|
3361
|
+
tmp11_local7 = tmp29_input.go(tmp0_desc, 7, tmp30_cached[7], tmp11_local7);
|
|
3430
3362
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3431
|
-
tmp12_local8 =
|
|
3363
|
+
tmp12_local8 = tmp29_input.go(tmp0_desc, 8, tmp30_cached[8], tmp12_local8);
|
|
3432
3364
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3433
|
-
tmp13_local9 =
|
|
3365
|
+
tmp13_local9 = tmp29_input.go(tmp0_desc, 9, BooleanSerializer_getInstance(), tmp13_local9);
|
|
3434
3366
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3435
|
-
tmp14_local10 =
|
|
3367
|
+
tmp14_local10 = tmp29_input.go(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
|
|
3436
3368
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3437
|
-
tmp15_local11 =
|
|
3369
|
+
tmp15_local11 = tmp29_input.go(tmp0_desc, 11, tmp30_cached[11], tmp15_local11);
|
|
3438
3370
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3439
|
-
tmp16_local12 =
|
|
3371
|
+
tmp16_local12 = tmp29_input.go(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
3440
3372
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3441
|
-
tmp17_local13 =
|
|
3373
|
+
tmp17_local13 = tmp29_input.go(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
3442
3374
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3443
|
-
tmp18_local14 =
|
|
3375
|
+
tmp18_local14 = tmp29_input.go(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3444
3376
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3445
|
-
tmp19_local15 =
|
|
3377
|
+
tmp19_local15 = tmp29_input.go(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3446
3378
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3447
|
-
tmp20_local16 =
|
|
3379
|
+
tmp20_local16 = tmp29_input.go(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3448
3380
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3449
|
-
tmp21_local17 =
|
|
3381
|
+
tmp21_local17 = tmp29_input.go(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3450
3382
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3451
|
-
tmp22_local18 =
|
|
3383
|
+
tmp22_local18 = tmp29_input.go(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3452
3384
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3453
|
-
tmp23_local19 =
|
|
3385
|
+
tmp23_local19 = tmp29_input.go(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3454
3386
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3455
|
-
tmp24_local20 =
|
|
3387
|
+
tmp24_local20 = tmp29_input.go(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
|
|
3456
3388
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3457
|
-
tmp25_local21 =
|
|
3389
|
+
tmp25_local21 = tmp29_input.go(tmp0_desc, 21, BooleanSerializer_getInstance(), tmp25_local21);
|
|
3458
3390
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3459
|
-
tmp26_local22 =
|
|
3391
|
+
tmp26_local22 = tmp29_input.go(tmp0_desc, 22, IntSerializer_getInstance(), tmp26_local22);
|
|
3460
3392
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3461
|
-
tmp27_local23 =
|
|
3393
|
+
tmp27_local23 = tmp29_input.go(tmp0_desc, 23, BooleanSerializer_getInstance(), tmp27_local23);
|
|
3462
3394
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3395
|
+
tmp28_local24 = tmp29_input.go(tmp0_desc, 24, IntSerializer_getInstance(), tmp28_local24);
|
|
3396
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3463
3397
|
} else
|
|
3464
3398
|
while (tmp1_flag) {
|
|
3465
|
-
tmp2_index =
|
|
3399
|
+
tmp2_index = tmp29_input.jo(tmp0_desc);
|
|
3466
3400
|
switch (tmp2_index) {
|
|
3467
3401
|
case -1:
|
|
3468
3402
|
tmp1_flag = false;
|
|
3469
3403
|
break;
|
|
3470
3404
|
case 0:
|
|
3471
|
-
tmp4_local0 =
|
|
3405
|
+
tmp4_local0 = tmp29_input.go(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
3472
3406
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3473
3407
|
break;
|
|
3474
3408
|
case 1:
|
|
3475
|
-
tmp5_local1 =
|
|
3409
|
+
tmp5_local1 = tmp29_input.go(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3476
3410
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3477
3411
|
break;
|
|
3478
3412
|
case 2:
|
|
3479
|
-
tmp6_local2 =
|
|
3413
|
+
tmp6_local2 = tmp29_input.go(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3480
3414
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3481
3415
|
break;
|
|
3482
3416
|
case 3:
|
|
3483
|
-
tmp7_local3 =
|
|
3417
|
+
tmp7_local3 = tmp29_input.go(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3484
3418
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3485
3419
|
break;
|
|
3486
3420
|
case 4:
|
|
3487
|
-
tmp8_local4 =
|
|
3421
|
+
tmp8_local4 = tmp29_input.go(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
3488
3422
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3489
3423
|
break;
|
|
3490
3424
|
case 5:
|
|
3491
|
-
tmp9_local5 =
|
|
3425
|
+
tmp9_local5 = tmp29_input.go(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3492
3426
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3493
3427
|
break;
|
|
3494
3428
|
case 6:
|
|
3495
|
-
tmp10_local6 =
|
|
3429
|
+
tmp10_local6 = tmp29_input.go(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
3496
3430
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3497
3431
|
break;
|
|
3498
3432
|
case 7:
|
|
3499
|
-
tmp11_local7 =
|
|
3433
|
+
tmp11_local7 = tmp29_input.go(tmp0_desc, 7, tmp30_cached[7], tmp11_local7);
|
|
3500
3434
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3501
3435
|
break;
|
|
3502
3436
|
case 8:
|
|
3503
|
-
tmp12_local8 =
|
|
3437
|
+
tmp12_local8 = tmp29_input.go(tmp0_desc, 8, tmp30_cached[8], tmp12_local8);
|
|
3504
3438
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3505
3439
|
break;
|
|
3506
3440
|
case 9:
|
|
3507
|
-
tmp13_local9 =
|
|
3441
|
+
tmp13_local9 = tmp29_input.go(tmp0_desc, 9, BooleanSerializer_getInstance(), tmp13_local9);
|
|
3508
3442
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3509
3443
|
break;
|
|
3510
3444
|
case 10:
|
|
3511
|
-
tmp14_local10 =
|
|
3445
|
+
tmp14_local10 = tmp29_input.go(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
|
|
3512
3446
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3513
3447
|
break;
|
|
3514
3448
|
case 11:
|
|
3515
|
-
tmp15_local11 =
|
|
3449
|
+
tmp15_local11 = tmp29_input.go(tmp0_desc, 11, tmp30_cached[11], tmp15_local11);
|
|
3516
3450
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3517
3451
|
break;
|
|
3518
3452
|
case 12:
|
|
3519
|
-
tmp16_local12 =
|
|
3453
|
+
tmp16_local12 = tmp29_input.go(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
3520
3454
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3521
3455
|
break;
|
|
3522
3456
|
case 13:
|
|
3523
|
-
tmp17_local13 =
|
|
3457
|
+
tmp17_local13 = tmp29_input.go(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
3524
3458
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3525
3459
|
break;
|
|
3526
3460
|
case 14:
|
|
3527
|
-
tmp18_local14 =
|
|
3461
|
+
tmp18_local14 = tmp29_input.go(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3528
3462
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3529
3463
|
break;
|
|
3530
3464
|
case 15:
|
|
3531
|
-
tmp19_local15 =
|
|
3465
|
+
tmp19_local15 = tmp29_input.go(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3532
3466
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3533
3467
|
break;
|
|
3534
3468
|
case 16:
|
|
3535
|
-
tmp20_local16 =
|
|
3469
|
+
tmp20_local16 = tmp29_input.go(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3536
3470
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3537
3471
|
break;
|
|
3538
3472
|
case 17:
|
|
3539
|
-
tmp21_local17 =
|
|
3473
|
+
tmp21_local17 = tmp29_input.go(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3540
3474
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3541
3475
|
break;
|
|
3542
3476
|
case 18:
|
|
3543
|
-
tmp22_local18 =
|
|
3477
|
+
tmp22_local18 = tmp29_input.go(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3544
3478
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3545
3479
|
break;
|
|
3546
3480
|
case 19:
|
|
3547
|
-
tmp23_local19 =
|
|
3481
|
+
tmp23_local19 = tmp29_input.go(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3548
3482
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3549
3483
|
break;
|
|
3550
3484
|
case 20:
|
|
3551
|
-
tmp24_local20 =
|
|
3485
|
+
tmp24_local20 = tmp29_input.go(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
|
|
3552
3486
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3553
3487
|
break;
|
|
3554
3488
|
case 21:
|
|
3555
|
-
tmp25_local21 =
|
|
3489
|
+
tmp25_local21 = tmp29_input.go(tmp0_desc, 21, BooleanSerializer_getInstance(), tmp25_local21);
|
|
3556
3490
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3557
3491
|
break;
|
|
3558
3492
|
case 22:
|
|
3559
|
-
tmp26_local22 =
|
|
3493
|
+
tmp26_local22 = tmp29_input.go(tmp0_desc, 22, IntSerializer_getInstance(), tmp26_local22);
|
|
3560
3494
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3561
3495
|
break;
|
|
3562
3496
|
case 23:
|
|
3563
|
-
tmp27_local23 =
|
|
3497
|
+
tmp27_local23 = tmp29_input.go(tmp0_desc, 23, BooleanSerializer_getInstance(), tmp27_local23);
|
|
3564
3498
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3565
3499
|
break;
|
|
3500
|
+
case 24:
|
|
3501
|
+
tmp28_local24 = tmp29_input.go(tmp0_desc, 24, IntSerializer_getInstance(), tmp28_local24);
|
|
3502
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3503
|
+
break;
|
|
3566
3504
|
default:
|
|
3567
3505
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3568
3506
|
}
|
|
3569
3507
|
}
|
|
3570
|
-
|
|
3571
|
-
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, null);
|
|
3508
|
+
tmp29_input.tn(tmp0_desc);
|
|
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);
|
|
3572
3510
|
};
|
|
3573
3511
|
protoOf($serializer_9).jk = function () {
|
|
3574
3512
|
return this.j2b_1;
|
|
@@ -3578,7 +3516,7 @@
|
|
|
3578
3516
|
// Inline function 'kotlin.arrayOf' call
|
|
3579
3517
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3580
3518
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3581
|
-
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(
|
|
3519
|
+
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[7]), get_nullable(tmp0_cached[8]), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[11]), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
|
|
3582
3520
|
};
|
|
3583
3521
|
var $serializer_instance_9;
|
|
3584
3522
|
function $serializer_getInstance_9() {
|
|
@@ -3586,178 +3524,84 @@
|
|
|
3586
3524
|
new $serializer_9();
|
|
3587
3525
|
return $serializer_instance_9;
|
|
3588
3526
|
}
|
|
3589
|
-
function RulesDto_init_$Init$(seen0,
|
|
3590
|
-
if (!(
|
|
3591
|
-
throwMissingFieldException(seen0,
|
|
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
|
+
if (!(33554431 === (33554431 & seen0))) {
|
|
3529
|
+
throwMissingFieldException(seen0, 33554431, $serializer_getInstance_9().j2b_1);
|
|
3592
3530
|
}
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
$this.r2b_1 = null;
|
|
3619
|
-
else
|
|
3620
|
-
$this.r2b_1 = dealerFinalCardsCount;
|
|
3621
|
-
if (0 === (seen0 & 128))
|
|
3622
|
-
$this.s2b_1 = null;
|
|
3623
|
-
else
|
|
3624
|
-
$this.s2b_1 = dealerCounterClockwise;
|
|
3625
|
-
if (0 === (seen0 & 256))
|
|
3626
|
-
$this.t2b_1 = null;
|
|
3627
|
-
else
|
|
3628
|
-
$this.t2b_1 = contractTypes;
|
|
3629
|
-
if (0 === (seen0 & 512))
|
|
3630
|
-
$this.u2b_1 = null;
|
|
3631
|
-
else
|
|
3632
|
-
$this.u2b_1 = bidTypes;
|
|
3633
|
-
if (0 === (seen0 & 1024))
|
|
3634
|
-
$this.v2b_1 = null;
|
|
3635
|
-
else
|
|
3636
|
-
$this.v2b_1 = combinationsWithFirstCard;
|
|
3637
|
-
if (0 === (seen0 & 2048))
|
|
3638
|
-
$this.w2b_1 = null;
|
|
3639
|
-
else
|
|
3640
|
-
$this.w2b_1 = protectBella;
|
|
3641
|
-
if (0 === (seen0 & 4096))
|
|
3642
|
-
$this.x2b_1 = null;
|
|
3643
|
-
else
|
|
3644
|
-
$this.x2b_1 = oneTryToProtectBella;
|
|
3645
|
-
if (0 === (seen0 & 8192))
|
|
3646
|
-
$this.y2b_1 = null;
|
|
3647
|
-
else
|
|
3648
|
-
$this.y2b_1 = enableFourSevensCombination;
|
|
3649
|
-
if (0 === (seen0 & 16384))
|
|
3650
|
-
$this.z2b_1 = null;
|
|
3651
|
-
else
|
|
3652
|
-
$this.z2b_1 = enableTrumpSevenCombination;
|
|
3653
|
-
if (0 === (seen0 & 32768))
|
|
3654
|
-
$this.a2c_1 = null;
|
|
3655
|
-
else
|
|
3656
|
-
$this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3657
|
-
if (0 === (seen0 & 65536))
|
|
3658
|
-
$this.b2c_1 = null;
|
|
3659
|
-
else
|
|
3660
|
-
$this.b2c_1 = checkTrumpCombination;
|
|
3661
|
-
if (0 === (seen0 & 131072))
|
|
3662
|
-
$this.c2c_1 = null;
|
|
3663
|
-
else
|
|
3664
|
-
$this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3665
|
-
if (0 === (seen0 & 262144))
|
|
3666
|
-
$this.d2c_1 = null;
|
|
3667
|
-
else
|
|
3668
|
-
$this.d2c_1 = distributePoints;
|
|
3669
|
-
if (0 === (seen0 & 524288))
|
|
3670
|
-
$this.e2c_1 = null;
|
|
3671
|
-
else
|
|
3672
|
-
$this.e2c_1 = pointsDistributeMode;
|
|
3673
|
-
if (0 === (seen0 & 1048576))
|
|
3674
|
-
$this.f2c_1 = null;
|
|
3675
|
-
else
|
|
3676
|
-
$this.f2c_1 = enableFineIfNoBribes;
|
|
3677
|
-
if (0 === (seen0 & 2097152))
|
|
3678
|
-
$this.g2c_1 = null;
|
|
3679
|
-
else
|
|
3680
|
-
$this.g2c_1 = fineIfNoBribes;
|
|
3681
|
-
if (0 === (seen0 & 4194304))
|
|
3682
|
-
$this.h2c_1 = null;
|
|
3683
|
-
else
|
|
3684
|
-
$this.h2c_1 = enableFineAfterThirdByte;
|
|
3685
|
-
if (0 === (seen0 & 8388608))
|
|
3686
|
-
$this.i2c_1 = null;
|
|
3687
|
-
else
|
|
3688
|
-
$this.i2c_1 = fineAfterThirdFailedContract;
|
|
3531
|
+
$this.l2b_1 = playerWhoChooseSuitGoFirst;
|
|
3532
|
+
$this.m2b_1 = winnerShuffleCards;
|
|
3533
|
+
$this.n2b_1 = playWithoutLiabilities;
|
|
3534
|
+
$this.o2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3535
|
+
$this.p2b_1 = dealerInitialCardsCount;
|
|
3536
|
+
$this.q2b_1 = dealerFinalCardsCount;
|
|
3537
|
+
$this.r2b_1 = dealerCounterClockwise;
|
|
3538
|
+
$this.s2b_1 = contractTypes;
|
|
3539
|
+
$this.t2b_1 = bidTypes;
|
|
3540
|
+
$this.u2b_1 = needToPutHigherTrump;
|
|
3541
|
+
$this.v2b_1 = trumpCardStepPartnerMode;
|
|
3542
|
+
$this.w2b_1 = combinationsWithFirstCard;
|
|
3543
|
+
$this.x2b_1 = protectBella;
|
|
3544
|
+
$this.y2b_1 = oneTryToProtectBella;
|
|
3545
|
+
$this.z2b_1 = enableFourSevensCombination;
|
|
3546
|
+
$this.a2c_1 = enableTrumpSevenCombination;
|
|
3547
|
+
$this.b2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3548
|
+
$this.c2c_1 = checkTrumpCombination;
|
|
3549
|
+
$this.d2c_1 = checkOnlyTrumpDebertz;
|
|
3550
|
+
$this.e2c_1 = distributePoints;
|
|
3551
|
+
$this.f2c_1 = pointsDistributeMode;
|
|
3552
|
+
$this.g2c_1 = enableFineIfNoBribes;
|
|
3553
|
+
$this.h2c_1 = fineIfNoBribes;
|
|
3554
|
+
$this.i2c_1 = enableFineAfterThirdByte;
|
|
3555
|
+
$this.j2c_1 = fineAfterThirdFailedContract;
|
|
3689
3556
|
return $this;
|
|
3690
3557
|
}
|
|
3691
|
-
function RulesDto_init_$Create$(seen0,
|
|
3692
|
-
return RulesDto_init_$Init$(seen0,
|
|
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) {
|
|
3559
|
+
return 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, objectCreate(protoOf(RulesDto)));
|
|
3693
3560
|
}
|
|
3694
|
-
function RulesDto(
|
|
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) {
|
|
3695
3562
|
Companion_getInstance_20();
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
this.
|
|
3721
|
-
this.m2b_1 = playerWhoChooseSuitGoFirst;
|
|
3722
|
-
this.n2b_1 = winnerShuffleCards;
|
|
3723
|
-
this.o2b_1 = playWithoutLiabilities;
|
|
3724
|
-
this.p2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3725
|
-
this.q2b_1 = dealerInitialCardsCount;
|
|
3726
|
-
this.r2b_1 = dealerFinalCardsCount;
|
|
3727
|
-
this.s2b_1 = dealerCounterClockwise;
|
|
3728
|
-
this.t2b_1 = contractTypes;
|
|
3729
|
-
this.u2b_1 = bidTypes;
|
|
3730
|
-
this.v2b_1 = combinationsWithFirstCard;
|
|
3731
|
-
this.w2b_1 = protectBella;
|
|
3732
|
-
this.x2b_1 = oneTryToProtectBella;
|
|
3733
|
-
this.y2b_1 = enableFourSevensCombination;
|
|
3734
|
-
this.z2b_1 = enableTrumpSevenCombination;
|
|
3735
|
-
this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3736
|
-
this.b2c_1 = checkTrumpCombination;
|
|
3737
|
-
this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3738
|
-
this.d2c_1 = distributePoints;
|
|
3739
|
-
this.e2c_1 = pointsDistributeMode;
|
|
3740
|
-
this.f2c_1 = enableFineIfNoBribes;
|
|
3741
|
-
this.g2c_1 = fineIfNoBribes;
|
|
3742
|
-
this.h2c_1 = enableFineAfterThirdByte;
|
|
3743
|
-
this.i2c_1 = fineAfterThirdFailedContract;
|
|
3563
|
+
this.l2b_1 = playerWhoChooseSuitGoFirst;
|
|
3564
|
+
this.m2b_1 = winnerShuffleCards;
|
|
3565
|
+
this.n2b_1 = playWithoutLiabilities;
|
|
3566
|
+
this.o2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3567
|
+
this.p2b_1 = dealerInitialCardsCount;
|
|
3568
|
+
this.q2b_1 = dealerFinalCardsCount;
|
|
3569
|
+
this.r2b_1 = dealerCounterClockwise;
|
|
3570
|
+
this.s2b_1 = contractTypes;
|
|
3571
|
+
this.t2b_1 = bidTypes;
|
|
3572
|
+
this.u2b_1 = needToPutHigherTrump;
|
|
3573
|
+
this.v2b_1 = trumpCardStepPartnerMode;
|
|
3574
|
+
this.w2b_1 = combinationsWithFirstCard;
|
|
3575
|
+
this.x2b_1 = protectBella;
|
|
3576
|
+
this.y2b_1 = oneTryToProtectBella;
|
|
3577
|
+
this.z2b_1 = enableFourSevensCombination;
|
|
3578
|
+
this.a2c_1 = enableTrumpSevenCombination;
|
|
3579
|
+
this.b2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3580
|
+
this.c2c_1 = checkTrumpCombination;
|
|
3581
|
+
this.d2c_1 = checkOnlyTrumpDebertz;
|
|
3582
|
+
this.e2c_1 = distributePoints;
|
|
3583
|
+
this.f2c_1 = pointsDistributeMode;
|
|
3584
|
+
this.g2c_1 = enableFineIfNoBribes;
|
|
3585
|
+
this.h2c_1 = fineIfNoBribes;
|
|
3586
|
+
this.i2c_1 = enableFineAfterThirdByte;
|
|
3587
|
+
this.j2c_1 = fineAfterThirdFailedContract;
|
|
3744
3588
|
}
|
|
3745
3589
|
protoOf(RulesDto).toString = function () {
|
|
3746
|
-
return 'RulesDto(
|
|
3590
|
+
return 'RulesDto(playerWhoChooseSuitGoFirst=' + this.l2b_1 + ', winnerShuffleCards=' + this.m2b_1 + ', playWithoutLiabilities=' + this.n2b_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.o2b_1 + ', dealerInitialCardsCount=' + this.p2b_1 + ', dealerFinalCardsCount=' + this.q2b_1 + ', dealerCounterClockwise=' + this.r2b_1 + ', contractTypes=' + toString(this.s2b_1) + ', bidTypes=' + toString(this.t2b_1) + ', needToPutHigherTrump=' + this.u2b_1 + ', trumpCardStepPartnerMode=' + this.v2b_1 + ', combinationsWithFirstCard=' + toString(this.w2b_1) + ', protectBella=' + this.x2b_1 + ', oneTryToProtectBella=' + this.y2b_1 + ', enableFourSevensCombination=' + this.z2b_1 + ', enableTrumpSevenCombination=' + this.a2c_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.b2c_1 + ', checkTrumpCombination=' + this.c2c_1 + ', checkOnlyTrumpDebertz=' + this.d2c_1 + ', distributePoints=' + this.e2c_1 + ', pointsDistributeMode=' + this.f2c_1 + ', enableFineIfNoBribes=' + this.g2c_1 + ', fineIfNoBribes=' + this.h2c_1 + ', enableFineAfterThirdByte=' + this.i2c_1 + ', fineAfterThirdFailedContract=' + this.j2c_1 + ')';
|
|
3747
3591
|
};
|
|
3748
3592
|
protoOf(RulesDto).hashCode = function () {
|
|
3749
3593
|
var result = this.l2b_1 == null ? 0 : getBooleanHashCode(this.l2b_1);
|
|
3750
3594
|
result = imul(result, 31) + (this.m2b_1 == null ? 0 : getBooleanHashCode(this.m2b_1)) | 0;
|
|
3751
3595
|
result = imul(result, 31) + (this.n2b_1 == null ? 0 : getBooleanHashCode(this.n2b_1)) | 0;
|
|
3752
3596
|
result = imul(result, 31) + (this.o2b_1 == null ? 0 : getBooleanHashCode(this.o2b_1)) | 0;
|
|
3753
|
-
result = imul(result, 31) + (this.p2b_1 == null ? 0 :
|
|
3597
|
+
result = imul(result, 31) + (this.p2b_1 == null ? 0 : this.p2b_1) | 0;
|
|
3754
3598
|
result = imul(result, 31) + (this.q2b_1 == null ? 0 : this.q2b_1) | 0;
|
|
3755
|
-
result = imul(result, 31) + (this.r2b_1 == null ? 0 : this.r2b_1) | 0;
|
|
3756
|
-
result = imul(result, 31) + (this.s2b_1 == null ? 0 :
|
|
3599
|
+
result = imul(result, 31) + (this.r2b_1 == null ? 0 : getBooleanHashCode(this.r2b_1)) | 0;
|
|
3600
|
+
result = imul(result, 31) + (this.s2b_1 == null ? 0 : hashCode(this.s2b_1)) | 0;
|
|
3757
3601
|
result = imul(result, 31) + (this.t2b_1 == null ? 0 : hashCode(this.t2b_1)) | 0;
|
|
3758
|
-
result = imul(result, 31) + (this.u2b_1 == null ? 0 :
|
|
3759
|
-
result = imul(result, 31) + (this.v2b_1 == null ? 0 :
|
|
3760
|
-
result = imul(result, 31) + (this.w2b_1 == null ? 0 :
|
|
3602
|
+
result = imul(result, 31) + (this.u2b_1 == null ? 0 : getBooleanHashCode(this.u2b_1)) | 0;
|
|
3603
|
+
result = imul(result, 31) + (this.v2b_1 == null ? 0 : getStringHashCode(this.v2b_1)) | 0;
|
|
3604
|
+
result = imul(result, 31) + (this.w2b_1 == null ? 0 : hashCode(this.w2b_1)) | 0;
|
|
3761
3605
|
result = imul(result, 31) + (this.x2b_1 == null ? 0 : getBooleanHashCode(this.x2b_1)) | 0;
|
|
3762
3606
|
result = imul(result, 31) + (this.y2b_1 == null ? 0 : getBooleanHashCode(this.y2b_1)) | 0;
|
|
3763
3607
|
result = imul(result, 31) + (this.z2b_1 == null ? 0 : getBooleanHashCode(this.z2b_1)) | 0;
|
|
@@ -3765,11 +3609,12 @@
|
|
|
3765
3609
|
result = imul(result, 31) + (this.b2c_1 == null ? 0 : getBooleanHashCode(this.b2c_1)) | 0;
|
|
3766
3610
|
result = imul(result, 31) + (this.c2c_1 == null ? 0 : getBooleanHashCode(this.c2c_1)) | 0;
|
|
3767
3611
|
result = imul(result, 31) + (this.d2c_1 == null ? 0 : getBooleanHashCode(this.d2c_1)) | 0;
|
|
3768
|
-
result = imul(result, 31) + (this.e2c_1 == null ? 0 :
|
|
3769
|
-
result = imul(result, 31) + (this.f2c_1 == null ? 0 :
|
|
3770
|
-
result = imul(result, 31) + (this.g2c_1 == null ? 0 : this.g2c_1) | 0;
|
|
3771
|
-
result = imul(result, 31) + (this.h2c_1 == null ? 0 :
|
|
3772
|
-
result = imul(result, 31) + (this.i2c_1 == null ? 0 : this.i2c_1) | 0;
|
|
3612
|
+
result = imul(result, 31) + (this.e2c_1 == null ? 0 : getBooleanHashCode(this.e2c_1)) | 0;
|
|
3613
|
+
result = imul(result, 31) + (this.f2c_1 == null ? 0 : getStringHashCode(this.f2c_1)) | 0;
|
|
3614
|
+
result = imul(result, 31) + (this.g2c_1 == null ? 0 : getBooleanHashCode(this.g2c_1)) | 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 : getBooleanHashCode(this.i2c_1)) | 0;
|
|
3617
|
+
result = imul(result, 31) + (this.j2c_1 == null ? 0 : this.j2c_1) | 0;
|
|
3773
3618
|
return result;
|
|
3774
3619
|
};
|
|
3775
3620
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3792,15 +3637,15 @@
|
|
|
3792
3637
|
return false;
|
|
3793
3638
|
if (!(this.r2b_1 == tmp0_other_with_cast.r2b_1))
|
|
3794
3639
|
return false;
|
|
3795
|
-
if (!(this.s2b_1
|
|
3640
|
+
if (!equals(this.s2b_1, tmp0_other_with_cast.s2b_1))
|
|
3796
3641
|
return false;
|
|
3797
3642
|
if (!equals(this.t2b_1, tmp0_other_with_cast.t2b_1))
|
|
3798
3643
|
return false;
|
|
3799
|
-
if (!
|
|
3644
|
+
if (!(this.u2b_1 == tmp0_other_with_cast.u2b_1))
|
|
3800
3645
|
return false;
|
|
3801
|
-
if (!
|
|
3646
|
+
if (!(this.v2b_1 == tmp0_other_with_cast.v2b_1))
|
|
3802
3647
|
return false;
|
|
3803
|
-
if (!(this.w2b_1
|
|
3648
|
+
if (!equals(this.w2b_1, tmp0_other_with_cast.w2b_1))
|
|
3804
3649
|
return false;
|
|
3805
3650
|
if (!(this.x2b_1 == tmp0_other_with_cast.x2b_1))
|
|
3806
3651
|
return false;
|
|
@@ -3826,6 +3671,8 @@
|
|
|
3826
3671
|
return false;
|
|
3827
3672
|
if (!(this.i2c_1 == tmp0_other_with_cast.i2c_1))
|
|
3828
3673
|
return false;
|
|
3674
|
+
if (!(this.j2c_1 == tmp0_other_with_cast.j2c_1))
|
|
3675
|
+
return false;
|
|
3829
3676
|
return true;
|
|
3830
3677
|
};
|
|
3831
3678
|
function BufferedAction() {
|
|
@@ -3947,7 +3794,7 @@
|
|
|
3947
3794
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3948
3795
|
}
|
|
3949
3796
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3950
|
-
return $this.
|
|
3797
|
+
return $this.q2c_1.a2();
|
|
3951
3798
|
}
|
|
3952
3799
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3953
3800
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3987,7 +3834,7 @@
|
|
|
3987
3834
|
Companion_instance_19 = this;
|
|
3988
3835
|
var tmp = this;
|
|
3989
3836
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3990
|
-
tmp.
|
|
3837
|
+
tmp.q2c_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3991
3838
|
}
|
|
3992
3839
|
protoOf(Companion_19).z17 = function () {
|
|
3993
3840
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -4046,7 +3893,7 @@
|
|
|
4046
3893
|
// Inline function 'kotlin.arrayOf' call
|
|
4047
3894
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4048
3895
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4049
|
-
tmp.
|
|
3896
|
+
tmp.w2c_1 = [Companion_getInstance_21().z17(), null, null, null, null];
|
|
4050
3897
|
}
|
|
4051
3898
|
protoOf(Companion_20).z17 = function () {
|
|
4052
3899
|
return $serializer_getInstance_10();
|
|
@@ -4065,12 +3912,12 @@
|
|
|
4065
3912
|
tmp0_serialDesc.iv('tag', false);
|
|
4066
3913
|
tmp0_serialDesc.iv('message', false);
|
|
4067
3914
|
tmp0_serialDesc.iv('stackTrace', false);
|
|
4068
|
-
this.
|
|
3915
|
+
this.x2c_1 = tmp0_serialDesc;
|
|
4069
3916
|
}
|
|
4070
|
-
protoOf($serializer_10).
|
|
4071
|
-
var tmp0_desc = this.
|
|
3917
|
+
protoOf($serializer_10).y2c = function (encoder, value) {
|
|
3918
|
+
var tmp0_desc = this.x2c_1;
|
|
4072
3919
|
var tmp1_output = encoder.sn(tmp0_desc);
|
|
4073
|
-
var tmp2_cached = Companion_getInstance_22().
|
|
3920
|
+
var tmp2_cached = Companion_getInstance_22().w2c_1;
|
|
4074
3921
|
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
4075
3922
|
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
4076
3923
|
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
@@ -4079,10 +3926,10 @@
|
|
|
4079
3926
|
tmp1_output.tn(tmp0_desc);
|
|
4080
3927
|
};
|
|
4081
3928
|
protoOf($serializer_10).kk = function (encoder, value) {
|
|
4082
|
-
return this.
|
|
3929
|
+
return this.y2c(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
4083
3930
|
};
|
|
4084
3931
|
protoOf($serializer_10).lk = function (decoder) {
|
|
4085
|
-
var tmp0_desc = this.
|
|
3932
|
+
var tmp0_desc = this.x2c_1;
|
|
4086
3933
|
var tmp1_flag = true;
|
|
4087
3934
|
var tmp2_index = 0;
|
|
4088
3935
|
var tmp3_bitMask0 = 0;
|
|
@@ -4092,7 +3939,7 @@
|
|
|
4092
3939
|
var tmp7_local3 = null;
|
|
4093
3940
|
var tmp8_local4 = null;
|
|
4094
3941
|
var tmp9_input = decoder.sn(tmp0_desc);
|
|
4095
|
-
var tmp10_cached = Companion_getInstance_22().
|
|
3942
|
+
var tmp10_cached = Companion_getInstance_22().w2c_1;
|
|
4096
3943
|
if (tmp9_input.io()) {
|
|
4097
3944
|
tmp4_local0 = tmp9_input.eo(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
4098
3945
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -4139,13 +3986,13 @@
|
|
|
4139
3986
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4140
3987
|
};
|
|
4141
3988
|
protoOf($serializer_10).jk = function () {
|
|
4142
|
-
return this.
|
|
3989
|
+
return this.x2c_1;
|
|
4143
3990
|
};
|
|
4144
3991
|
protoOf($serializer_10).xv = function () {
|
|
4145
3992
|
// Inline function 'kotlin.arrayOf' call
|
|
4146
3993
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4147
3994
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4148
|
-
return [Companion_getInstance_22().
|
|
3995
|
+
return [Companion_getInstance_22().w2c_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4149
3996
|
};
|
|
4150
3997
|
var $serializer_instance_10;
|
|
4151
3998
|
function $serializer_getInstance_10() {
|
|
@@ -4155,7 +4002,7 @@
|
|
|
4155
4002
|
}
|
|
4156
4003
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4157
4004
|
if (!(31 === (31 & seen0))) {
|
|
4158
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4005
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().x2c_1);
|
|
4159
4006
|
}
|
|
4160
4007
|
$this.type = type;
|
|
4161
4008
|
$this.key = key;
|
|
@@ -4181,13 +4028,13 @@
|
|
|
4181
4028
|
protoOf(LoggerOutputDataDto).z1 = function () {
|
|
4182
4029
|
return this.key;
|
|
4183
4030
|
};
|
|
4184
|
-
protoOf(LoggerOutputDataDto).
|
|
4031
|
+
protoOf(LoggerOutputDataDto).v26 = function () {
|
|
4185
4032
|
return this.tag;
|
|
4186
4033
|
};
|
|
4187
4034
|
protoOf(LoggerOutputDataDto).e9 = function () {
|
|
4188
4035
|
return this.message;
|
|
4189
4036
|
};
|
|
4190
|
-
protoOf(LoggerOutputDataDto).
|
|
4037
|
+
protoOf(LoggerOutputDataDto).z2c = function () {
|
|
4191
4038
|
return this.stackTrace;
|
|
4192
4039
|
};
|
|
4193
4040
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -4249,10 +4096,10 @@
|
|
|
4249
4096
|
protoOf(LoggerOutputDataDto).p1x = function () {
|
|
4250
4097
|
return this.message;
|
|
4251
4098
|
};
|
|
4252
|
-
protoOf(LoggerOutputDataDto).
|
|
4099
|
+
protoOf(LoggerOutputDataDto).q27 = function () {
|
|
4253
4100
|
return this.stackTrace;
|
|
4254
4101
|
};
|
|
4255
|
-
protoOf(LoggerOutputDataDto).
|
|
4102
|
+
protoOf(LoggerOutputDataDto).a2d = function (type, key, tag, message, stackTrace) {
|
|
4256
4103
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4257
4104
|
};
|
|
4258
4105
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4261,7 +4108,7 @@
|
|
|
4261
4108
|
tag = tag === VOID ? this.tag : tag;
|
|
4262
4109
|
message = message === VOID ? this.message : message;
|
|
4263
4110
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4264
|
-
return this.
|
|
4111
|
+
return this.a2d(type, key, tag, message, stackTrace);
|
|
4265
4112
|
};
|
|
4266
4113
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4267
4114
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4319,45 +4166,45 @@
|
|
|
4319
4166
|
//region block: post-declaration
|
|
4320
4167
|
protoOf($serializer).yv = typeParametersSerializers;
|
|
4321
4168
|
protoOf($serializer_0).yv = typeParametersSerializers;
|
|
4322
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
4169
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).q26);
|
|
4323
4170
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4324
|
-
return this.
|
|
4171
|
+
return this.u26();
|
|
4325
4172
|
});
|
|
4326
4173
|
defineProp(protoOf(PlayerLostConnectionReason), 'connectionState', function () {
|
|
4327
|
-
return this.
|
|
4174
|
+
return this.w26();
|
|
4328
4175
|
});
|
|
4329
4176
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4330
|
-
return this.
|
|
4177
|
+
return this.u26();
|
|
4331
4178
|
});
|
|
4332
4179
|
defineProp(protoOf(PlayerTimeoutReason), 'connectionState', function () {
|
|
4333
|
-
return this.
|
|
4180
|
+
return this.w26();
|
|
4334
4181
|
});
|
|
4335
4182
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4336
|
-
return this.
|
|
4183
|
+
return this.u26();
|
|
4337
4184
|
});
|
|
4338
4185
|
defineProp(protoOf(PlayerExitReason), 'connectionState', function () {
|
|
4339
|
-
return this.
|
|
4186
|
+
return this.w26();
|
|
4340
4187
|
});
|
|
4341
4188
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).k2);
|
|
4342
4189
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).l2);
|
|
4343
4190
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).k2);
|
|
4344
4191
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).l2);
|
|
4345
4192
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4346
|
-
return this.
|
|
4193
|
+
return this.u26();
|
|
4347
4194
|
});
|
|
4348
4195
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4349
|
-
return this.
|
|
4196
|
+
return this.u26();
|
|
4350
4197
|
});
|
|
4351
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4352
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4353
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4354
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4355
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4356
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4357
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4358
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
4359
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
4360
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4198
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).t28);
|
|
4199
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).u28);
|
|
4200
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).v28);
|
|
4201
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).w28);
|
|
4202
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).x28);
|
|
4203
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).y28);
|
|
4204
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).z28);
|
|
4205
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).a29);
|
|
4206
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).b29);
|
|
4207
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).c29);
|
|
4361
4208
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).k2);
|
|
4362
4209
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).l2);
|
|
4363
4210
|
protoOf($serializer_1).yv = typeParametersSerializers;
|
|
@@ -4424,6 +4271,7 @@
|
|
|
4424
4271
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'INTERNAL_ERROR', Reason_INTERNAL_ERROR_getInstance);
|
|
4425
4272
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance_0);
|
|
4426
4273
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'WRONG_PLAYER_TURN', Reason_WRONG_PLAYER_TURN_getInstance);
|
|
4274
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'DUPLICATED_PLAYER_ANSWER', Reason_DUPLICATED_PLAYER_ANSWER_getInstance);
|
|
4427
4275
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'PLAYER_DISCONNECTED', Reason_PLAYER_DISCONNECTED_getInstance);
|
|
4428
4276
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion', Companion_getInstance_6);
|
|
4429
4277
|
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
@@ -4512,46 +4360,44 @@
|
|
|
4512
4360
|
_.$_$.e = PlayerState;
|
|
4513
4361
|
_.$_$.f = Team;
|
|
4514
4362
|
_.$_$.g = getPlayer;
|
|
4515
|
-
_.$_$.h =
|
|
4516
|
-
_.$_$.i =
|
|
4517
|
-
_.$_$.j =
|
|
4518
|
-
_.$_$.k =
|
|
4519
|
-
_.$_$.l =
|
|
4520
|
-
_.$_$.m =
|
|
4521
|
-
_.$_$.n =
|
|
4522
|
-
_.$_$.o =
|
|
4523
|
-
_.$_$.p =
|
|
4524
|
-
_.$_$.q =
|
|
4525
|
-
_.$_$.r =
|
|
4526
|
-
_.$_$.s =
|
|
4527
|
-
_.$_$.t =
|
|
4528
|
-
_.$_$.u =
|
|
4529
|
-
_.$_$.v =
|
|
4530
|
-
_.$_$.w =
|
|
4531
|
-
_.$_$.x =
|
|
4532
|
-
_.$_$.y =
|
|
4533
|
-
_.$_$.z =
|
|
4534
|
-
_.$_$.a1 =
|
|
4535
|
-
_.$_$.b1 =
|
|
4536
|
-
_.$_$.c1 =
|
|
4537
|
-
_.$_$.d1 =
|
|
4538
|
-
_.$_$.e1 =
|
|
4539
|
-
_.$_$.f1 =
|
|
4540
|
-
_.$_$.g1 =
|
|
4541
|
-
_.$_$.h1 =
|
|
4542
|
-
_.$_$.i1 =
|
|
4543
|
-
_.$_$.j1 =
|
|
4544
|
-
_.$_$.k1 =
|
|
4545
|
-
_.$_$.l1 =
|
|
4546
|
-
_.$_$.m1 =
|
|
4547
|
-
_.$_$.n1 =
|
|
4548
|
-
_.$_$.o1 = $
|
|
4549
|
-
_.$_$.p1 =
|
|
4550
|
-
_.$_$.q1 =
|
|
4551
|
-
_.$_$.r1 =
|
|
4552
|
-
_.$_$.s1 =
|
|
4553
|
-
_.$_$.t1 = Companion_getInstance_1;
|
|
4554
|
-
_.$_$.u1 = RestartGameReason_getInstance;
|
|
4363
|
+
_.$_$.h = mapFromDto_9;
|
|
4364
|
+
_.$_$.i = mapFromDto;
|
|
4365
|
+
_.$_$.j = mapFromDto_0;
|
|
4366
|
+
_.$_$.k = mapFromDto_8;
|
|
4367
|
+
_.$_$.l = mapToDto_0;
|
|
4368
|
+
_.$_$.m = mapToDto_9;
|
|
4369
|
+
_.$_$.n = mapToDto_8;
|
|
4370
|
+
_.$_$.o = mapToDto;
|
|
4371
|
+
_.$_$.p = RulesDto;
|
|
4372
|
+
_.$_$.q = TerminationGameReasonDto;
|
|
4373
|
+
_.$_$.r = notValidateWhenFinished;
|
|
4374
|
+
_.$_$.s = NotValidateIfGameFinished;
|
|
4375
|
+
_.$_$.t = notValidateWhenFinishing;
|
|
4376
|
+
_.$_$.u = NotValidateIfGameFinishing;
|
|
4377
|
+
_.$_$.v = BufferedAction;
|
|
4378
|
+
_.$_$.w = IgnoreBufferForAction;
|
|
4379
|
+
_.$_$.x = ReleaseBufferTriggerAction;
|
|
4380
|
+
_.$_$.y = get_actionTag;
|
|
4381
|
+
_.$_$.z = Action;
|
|
4382
|
+
_.$_$.a1 = enumToString;
|
|
4383
|
+
_.$_$.b1 = mapOfObject;
|
|
4384
|
+
_.$_$.c1 = nextToOrNull;
|
|
4385
|
+
_.$_$.d1 = previousToOrNull;
|
|
4386
|
+
_.$_$.e1 = toDomainEnumSafe;
|
|
4387
|
+
_.$_$.f1 = toDomainEnum;
|
|
4388
|
+
_.$_$.g1 = PlayerConnectionState_LEFT_getInstance;
|
|
4389
|
+
_.$_$.h1 = PlayerConnectionState_LIVE_getInstance;
|
|
4390
|
+
_.$_$.i1 = Companion_instance_5;
|
|
4391
|
+
_.$_$.j1 = Companion_getInstance_8;
|
|
4392
|
+
_.$_$.k1 = Companion_instance_8;
|
|
4393
|
+
_.$_$.l1 = Companion_getInstance_9;
|
|
4394
|
+
_.$_$.m1 = $serializer_getInstance_6;
|
|
4395
|
+
_.$_$.n1 = $serializer_getInstance_8;
|
|
4396
|
+
_.$_$.o1 = $serializer_getInstance_9;
|
|
4397
|
+
_.$_$.p1 = ProcessingReasonDto_getInstance;
|
|
4398
|
+
_.$_$.q1 = Companion_getInstance_11;
|
|
4399
|
+
_.$_$.r1 = Companion_getInstance_1;
|
|
4400
|
+
_.$_$.s1 = RestartGameReason_getInstance;
|
|
4555
4401
|
//endregion
|
|
4556
4402
|
return _;
|
|
4557
4403
|
}));
|