game_client_logic_deb 1.3.65 → 1.3.66
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-ir.js +31 -31
- package/Logic_Debertz-core.js +677 -689
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7758 -7574
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +12 -11
- package/Logic_Debertz-game_client.js +2581 -2600
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +14 -17
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
package/Logic_Debertz-core.js
CHANGED
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
136
136
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
137
137
|
if (!(($mask0 & 1) === 0))
|
|
138
|
-
context = this.
|
|
139
|
-
return $handler == null ? this.
|
|
138
|
+
context = this.q2q();
|
|
139
|
+
return $handler == null ? this.t2q(context, block) : $handler(context, block);
|
|
140
140
|
}
|
|
141
141
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
142
142
|
if (!(($mask0 & 1) === 0))
|
|
143
|
-
context = this.
|
|
144
|
-
return $handler == null ? this.
|
|
143
|
+
context = this.q2q();
|
|
144
|
+
return $handler == null ? this.r2q(context, block) : $handler(context, block);
|
|
145
145
|
}
|
|
146
146
|
function get_actionTag() {
|
|
147
147
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
tag = null;
|
|
188
188
|
var tmp;
|
|
189
189
|
if ($handler == null) {
|
|
190
|
-
this.
|
|
190
|
+
this.s2t(tag, message);
|
|
191
191
|
tmp = Unit_getInstance();
|
|
192
192
|
} else {
|
|
193
193
|
tmp = $handler(tag, message);
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
exception = null;
|
|
204
204
|
var tmp;
|
|
205
205
|
if ($handler == null) {
|
|
206
|
-
this.
|
|
206
|
+
this.l2q(tag, message, exception);
|
|
207
207
|
tmp = Unit_getInstance();
|
|
208
208
|
} else {
|
|
209
209
|
tmp = $handler(tag, message, exception);
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
tag = null;
|
|
216
216
|
var tmp;
|
|
217
217
|
if ($handler == null) {
|
|
218
|
-
this.
|
|
218
|
+
this.v2t(tag, message);
|
|
219
219
|
tmp = Unit_getInstance();
|
|
220
220
|
} else {
|
|
221
221
|
tmp = $handler(tag, message);
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
exception = null;
|
|
234
234
|
var tmp;
|
|
235
235
|
if ($handler == null) {
|
|
236
|
-
this.
|
|
236
|
+
this.n2u(tag, message, exception, payload);
|
|
237
237
|
tmp = Unit_getInstance();
|
|
238
238
|
} else {
|
|
239
239
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
//endregion
|
|
244
244
|
function GameEngineConfig() {
|
|
245
245
|
GameEngineConfig_instance = this;
|
|
246
|
-
this.q2k_1 = '1.3.
|
|
246
|
+
this.q2k_1 = '1.3.66';
|
|
247
247
|
}
|
|
248
248
|
GameEngineConfig.prototype.r2k = function () {
|
|
249
249
|
return this.q2k_1;
|
|
@@ -259,17 +259,6 @@
|
|
|
259
259
|
new GameEngineConfig();
|
|
260
260
|
return GameEngineConfig_instance;
|
|
261
261
|
}
|
|
262
|
-
function Constants() {
|
|
263
|
-
Constants_instance = this;
|
|
264
|
-
this.s2k_1 = '0.0.0';
|
|
265
|
-
}
|
|
266
|
-
Constants.$metadata$ = objectMeta('Constants');
|
|
267
|
-
var Constants_instance;
|
|
268
|
-
function Constants_getInstance() {
|
|
269
|
-
if (Constants_instance == null)
|
|
270
|
-
new Constants();
|
|
271
|
-
return Constants_instance;
|
|
272
|
-
}
|
|
273
262
|
function ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon() {
|
|
274
263
|
var tmp = getKClass(ContinueGameReason);
|
|
275
264
|
var tmp$ret$2;
|
|
@@ -309,10 +298,10 @@
|
|
|
309
298
|
Companion_instance = this;
|
|
310
299
|
var tmp = this;
|
|
311
300
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
312
|
-
tmp.
|
|
301
|
+
tmp.s2k_1 = lazy(tmp_0, ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon);
|
|
313
302
|
}
|
|
314
303
|
Companion.prototype.l25 = function () {
|
|
315
|
-
return this.
|
|
304
|
+
return this.s2k_1.c2();
|
|
316
305
|
};
|
|
317
306
|
Companion.prototype.b1u = function (typeParamsSerializers) {
|
|
318
307
|
return this.l25();
|
|
@@ -345,10 +334,10 @@
|
|
|
345
334
|
$serializer_instance = this;
|
|
346
335
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
347
336
|
tmp0_serialDesc.d1t('playerId', false);
|
|
348
|
-
this.
|
|
337
|
+
this.t2k_1 = tmp0_serialDesc;
|
|
349
338
|
}
|
|
350
339
|
$serializer.prototype.q1i = function () {
|
|
351
|
-
return this.
|
|
340
|
+
return this.t2k_1;
|
|
352
341
|
};
|
|
353
342
|
$serializer.prototype.s1t = function () {
|
|
354
343
|
var tmp$ret$2;
|
|
@@ -364,7 +353,7 @@
|
|
|
364
353
|
return tmp$ret$2;
|
|
365
354
|
};
|
|
366
355
|
$serializer.prototype.s1i = function (decoder) {
|
|
367
|
-
var tmp0_desc = this.
|
|
356
|
+
var tmp0_desc = this.t2k_1;
|
|
368
357
|
var tmp1_flag = true;
|
|
369
358
|
var tmp2_index = 0;
|
|
370
359
|
var tmp3_bitMask0 = 0;
|
|
@@ -391,14 +380,14 @@
|
|
|
391
380
|
tmp5_input.z1l(tmp0_desc);
|
|
392
381
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
393
382
|
};
|
|
394
|
-
$serializer.prototype.
|
|
395
|
-
var tmp0_desc = this.
|
|
383
|
+
$serializer.prototype.u2k = function (encoder, value) {
|
|
384
|
+
var tmp0_desc = this.t2k_1;
|
|
396
385
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
397
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
386
|
+
tmp1_output.m1n(tmp0_desc, 0, value.v2k_1);
|
|
398
387
|
tmp1_output.z1l(tmp0_desc);
|
|
399
388
|
};
|
|
400
389
|
$serializer.prototype.r1i = function (encoder, value) {
|
|
401
|
-
return this.
|
|
390
|
+
return this.u2k(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
402
391
|
};
|
|
403
392
|
$serializer.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
404
393
|
var $serializer_instance;
|
|
@@ -409,10 +398,10 @@
|
|
|
409
398
|
}
|
|
410
399
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
411
400
|
if (!(1 === (1 & seen1))) {
|
|
412
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
401
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().t2k_1);
|
|
413
402
|
}
|
|
414
403
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
415
|
-
$this.
|
|
404
|
+
$this.v2k_1 = playerId;
|
|
416
405
|
return $this;
|
|
417
406
|
}
|
|
418
407
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -421,13 +410,13 @@
|
|
|
421
410
|
function PlayerReturnsReason(playerId) {
|
|
422
411
|
Companion_getInstance_0();
|
|
423
412
|
ContinueGameReason.call(this);
|
|
424
|
-
this.
|
|
413
|
+
this.v2k_1 = playerId;
|
|
425
414
|
}
|
|
426
415
|
PlayerReturnsReason.prototype.toString = function () {
|
|
427
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
416
|
+
return 'PlayerReturnsReason(playerId=' + this.v2k_1 + ')';
|
|
428
417
|
};
|
|
429
418
|
PlayerReturnsReason.prototype.hashCode = function () {
|
|
430
|
-
return getStringHashCode(this.
|
|
419
|
+
return getStringHashCode(this.v2k_1);
|
|
431
420
|
};
|
|
432
421
|
PlayerReturnsReason.prototype.equals = function (other) {
|
|
433
422
|
if (this === other)
|
|
@@ -435,7 +424,7 @@
|
|
|
435
424
|
if (!(other instanceof PlayerReturnsReason))
|
|
436
425
|
return false;
|
|
437
426
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
438
|
-
if (!(this.
|
|
427
|
+
if (!(this.v2k_1 === tmp0_other_with_cast.v2k_1))
|
|
439
428
|
return false;
|
|
440
429
|
return true;
|
|
441
430
|
};
|
|
@@ -457,13 +446,13 @@
|
|
|
457
446
|
RestartGameReason_instance = this;
|
|
458
447
|
var tmp = this;
|
|
459
448
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
460
|
-
tmp.
|
|
449
|
+
tmp.w2k_1 = lazy(tmp_0, RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb);
|
|
461
450
|
}
|
|
462
451
|
RestartGameReason.prototype.toString = function () {
|
|
463
452
|
return 'RestartGameReason';
|
|
464
453
|
};
|
|
465
454
|
RestartGameReason.prototype.l25 = function () {
|
|
466
|
-
return this.
|
|
455
|
+
return this.w2k_1.c2();
|
|
467
456
|
};
|
|
468
457
|
RestartGameReason.prototype.b1u = function (typeParamsSerializers) {
|
|
469
458
|
return this.l25();
|
|
@@ -550,10 +539,10 @@
|
|
|
550
539
|
Companion_instance_1 = this;
|
|
551
540
|
var tmp = this;
|
|
552
541
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
553
|
-
tmp.
|
|
542
|
+
tmp.x2k_1 = lazy(tmp_0, TerminationGameReason$Companion$$cachedSerializer$delegate$_anonymous__honqx0);
|
|
554
543
|
}
|
|
555
544
|
Companion_1.prototype.serializer = function () {
|
|
556
|
-
return this.
|
|
545
|
+
return this.x2k_1.c2();
|
|
557
546
|
};
|
|
558
547
|
Companion_1.prototype.b1u = function (typeParamsSerializers) {
|
|
559
548
|
return this.serializer();
|
|
@@ -589,10 +578,10 @@
|
|
|
589
578
|
$serializer_instance_0 = this;
|
|
590
579
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
591
580
|
tmp0_serialDesc.d1t('reason', false);
|
|
592
|
-
this.
|
|
581
|
+
this.y2k_1 = tmp0_serialDesc;
|
|
593
582
|
}
|
|
594
583
|
$serializer_0.prototype.q1i = function () {
|
|
595
|
-
return this.
|
|
584
|
+
return this.y2k_1;
|
|
596
585
|
};
|
|
597
586
|
$serializer_0.prototype.s1t = function () {
|
|
598
587
|
var tmp$ret$2;
|
|
@@ -608,7 +597,7 @@
|
|
|
608
597
|
return tmp$ret$2;
|
|
609
598
|
};
|
|
610
599
|
$serializer_0.prototype.s1i = function (decoder) {
|
|
611
|
-
var tmp0_desc = this.
|
|
600
|
+
var tmp0_desc = this.y2k_1;
|
|
612
601
|
var tmp1_flag = true;
|
|
613
602
|
var tmp2_index = 0;
|
|
614
603
|
var tmp3_bitMask0 = 0;
|
|
@@ -635,14 +624,14 @@
|
|
|
635
624
|
tmp5_input.z1l(tmp0_desc);
|
|
636
625
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
637
626
|
};
|
|
638
|
-
$serializer_0.prototype.
|
|
639
|
-
var tmp0_desc = this.
|
|
627
|
+
$serializer_0.prototype.z2k = function (encoder, value) {
|
|
628
|
+
var tmp0_desc = this.y2k_1;
|
|
640
629
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
641
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
630
|
+
tmp1_output.m1n(tmp0_desc, 0, value.a2l_1);
|
|
642
631
|
tmp1_output.z1l(tmp0_desc);
|
|
643
632
|
};
|
|
644
633
|
$serializer_0.prototype.r1i = function (encoder, value) {
|
|
645
|
-
return this.
|
|
634
|
+
return this.z2k(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
646
635
|
};
|
|
647
636
|
$serializer_0.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
648
637
|
var $serializer_instance_0;
|
|
@@ -653,10 +642,10 @@
|
|
|
653
642
|
}
|
|
654
643
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
655
644
|
if (!(1 === (1 & seen1))) {
|
|
656
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().
|
|
645
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().y2k_1);
|
|
657
646
|
}
|
|
658
647
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
659
|
-
$this.
|
|
648
|
+
$this.a2l_1 = reason;
|
|
660
649
|
return $this;
|
|
661
650
|
}
|
|
662
651
|
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -665,13 +654,13 @@
|
|
|
665
654
|
function GameErrorReason(reason) {
|
|
666
655
|
Companion_getInstance_2();
|
|
667
656
|
TerminationGameReason.call(this);
|
|
668
|
-
this.
|
|
657
|
+
this.a2l_1 = reason;
|
|
669
658
|
}
|
|
670
659
|
GameErrorReason.prototype.toString = function () {
|
|
671
|
-
return 'GameErrorReason(reason=' + this.
|
|
660
|
+
return 'GameErrorReason(reason=' + this.a2l_1 + ')';
|
|
672
661
|
};
|
|
673
662
|
GameErrorReason.prototype.hashCode = function () {
|
|
674
|
-
return getStringHashCode(this.
|
|
663
|
+
return getStringHashCode(this.a2l_1);
|
|
675
664
|
};
|
|
676
665
|
GameErrorReason.prototype.equals = function (other) {
|
|
677
666
|
if (this === other)
|
|
@@ -679,7 +668,7 @@
|
|
|
679
668
|
if (!(other instanceof GameErrorReason))
|
|
680
669
|
return false;
|
|
681
670
|
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
682
|
-
if (!(this.
|
|
671
|
+
if (!(this.a2l_1 === tmp0_other_with_cast.a2l_1))
|
|
683
672
|
return false;
|
|
684
673
|
return true;
|
|
685
674
|
};
|
|
@@ -702,13 +691,13 @@
|
|
|
702
691
|
TerminationGameReason.call(this);
|
|
703
692
|
var tmp = this;
|
|
704
693
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
705
|
-
tmp.
|
|
694
|
+
tmp.b2l_1 = lazy(tmp_0, GameFinishedReason$$cachedSerializer$delegate$_anonymous__474t2i);
|
|
706
695
|
}
|
|
707
696
|
GameFinishedReason.prototype.toString = function () {
|
|
708
697
|
return 'GameFinishedReason';
|
|
709
698
|
};
|
|
710
699
|
GameFinishedReason.prototype.l25 = function () {
|
|
711
|
-
return this.
|
|
700
|
+
return this.b2l_1.c2();
|
|
712
701
|
};
|
|
713
702
|
GameFinishedReason.prototype.b1u = function (typeParamsSerializers) {
|
|
714
703
|
return this.l25();
|
|
@@ -734,10 +723,10 @@
|
|
|
734
723
|
$serializer_instance_1 = this;
|
|
735
724
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
736
725
|
tmp0_serialDesc.d1t('playerId', false);
|
|
737
|
-
this.
|
|
726
|
+
this.c2l_1 = tmp0_serialDesc;
|
|
738
727
|
}
|
|
739
728
|
$serializer_1.prototype.q1i = function () {
|
|
740
|
-
return this.
|
|
729
|
+
return this.c2l_1;
|
|
741
730
|
};
|
|
742
731
|
$serializer_1.prototype.s1t = function () {
|
|
743
732
|
var tmp$ret$2;
|
|
@@ -753,7 +742,7 @@
|
|
|
753
742
|
return tmp$ret$2;
|
|
754
743
|
};
|
|
755
744
|
$serializer_1.prototype.s1i = function (decoder) {
|
|
756
|
-
var tmp0_desc = this.
|
|
745
|
+
var tmp0_desc = this.c2l_1;
|
|
757
746
|
var tmp1_flag = true;
|
|
758
747
|
var tmp2_index = 0;
|
|
759
748
|
var tmp3_bitMask0 = 0;
|
|
@@ -780,14 +769,14 @@
|
|
|
780
769
|
tmp5_input.z1l(tmp0_desc);
|
|
781
770
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
782
771
|
};
|
|
783
|
-
$serializer_1.prototype.
|
|
784
|
-
var tmp0_desc = this.
|
|
772
|
+
$serializer_1.prototype.d2l = function (encoder, value) {
|
|
773
|
+
var tmp0_desc = this.c2l_1;
|
|
785
774
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
786
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
775
|
+
tmp1_output.m1n(tmp0_desc, 0, value.e2l_1);
|
|
787
776
|
tmp1_output.z1l(tmp0_desc);
|
|
788
777
|
};
|
|
789
778
|
$serializer_1.prototype.r1i = function (encoder, value) {
|
|
790
|
-
return this.
|
|
779
|
+
return this.d2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
791
780
|
};
|
|
792
781
|
$serializer_1.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
793
782
|
var $serializer_instance_1;
|
|
@@ -798,10 +787,10 @@
|
|
|
798
787
|
}
|
|
799
788
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
800
789
|
if (!(1 === (1 & seen1))) {
|
|
801
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_1().
|
|
790
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_1().c2l_1);
|
|
802
791
|
}
|
|
803
792
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
804
|
-
$this.
|
|
793
|
+
$this.e2l_1 = playerId;
|
|
805
794
|
return $this;
|
|
806
795
|
}
|
|
807
796
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -810,16 +799,16 @@
|
|
|
810
799
|
function PlayerExitReason(playerId) {
|
|
811
800
|
Companion_getInstance_3();
|
|
812
801
|
TerminationGameReason.call(this);
|
|
813
|
-
this.
|
|
802
|
+
this.e2l_1 = playerId;
|
|
814
803
|
}
|
|
815
|
-
PlayerExitReason.prototype.
|
|
816
|
-
return this.
|
|
804
|
+
PlayerExitReason.prototype.f2l = function () {
|
|
805
|
+
return this.e2l_1;
|
|
817
806
|
};
|
|
818
807
|
PlayerExitReason.prototype.toString = function () {
|
|
819
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
808
|
+
return 'PlayerExitReason(playerId=' + this.e2l_1 + ')';
|
|
820
809
|
};
|
|
821
810
|
PlayerExitReason.prototype.hashCode = function () {
|
|
822
|
-
return getStringHashCode(this.
|
|
811
|
+
return getStringHashCode(this.e2l_1);
|
|
823
812
|
};
|
|
824
813
|
PlayerExitReason.prototype.equals = function (other) {
|
|
825
814
|
if (this === other)
|
|
@@ -827,7 +816,7 @@
|
|
|
827
816
|
if (!(other instanceof PlayerExitReason))
|
|
828
817
|
return false;
|
|
829
818
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
830
|
-
if (!(this.
|
|
819
|
+
if (!(this.e2l_1 === tmp0_other_with_cast.e2l_1))
|
|
831
820
|
return false;
|
|
832
821
|
return true;
|
|
833
822
|
};
|
|
@@ -847,10 +836,10 @@
|
|
|
847
836
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
848
837
|
tmp0_serialDesc.d1t('playerId', false);
|
|
849
838
|
tmp0_serialDesc.d1t('tag', false);
|
|
850
|
-
this.
|
|
839
|
+
this.g2l_1 = tmp0_serialDesc;
|
|
851
840
|
}
|
|
852
841
|
$serializer_2.prototype.q1i = function () {
|
|
853
|
-
return this.
|
|
842
|
+
return this.g2l_1;
|
|
854
843
|
};
|
|
855
844
|
$serializer_2.prototype.s1t = function () {
|
|
856
845
|
var tmp$ret$2;
|
|
@@ -866,7 +855,7 @@
|
|
|
866
855
|
return tmp$ret$2;
|
|
867
856
|
};
|
|
868
857
|
$serializer_2.prototype.s1i = function (decoder) {
|
|
869
|
-
var tmp0_desc = this.
|
|
858
|
+
var tmp0_desc = this.g2l_1;
|
|
870
859
|
var tmp1_flag = true;
|
|
871
860
|
var tmp2_index = 0;
|
|
872
861
|
var tmp3_bitMask0 = 0;
|
|
@@ -900,15 +889,15 @@
|
|
|
900
889
|
tmp6_input.z1l(tmp0_desc);
|
|
901
890
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
902
891
|
};
|
|
903
|
-
$serializer_2.prototype.
|
|
904
|
-
var tmp0_desc = this.
|
|
892
|
+
$serializer_2.prototype.h2l = function (encoder, value) {
|
|
893
|
+
var tmp0_desc = this.g2l_1;
|
|
905
894
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
906
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
907
|
-
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
895
|
+
tmp1_output.m1n(tmp0_desc, 0, value.i2l_1);
|
|
896
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.j2l_1);
|
|
908
897
|
tmp1_output.z1l(tmp0_desc);
|
|
909
898
|
};
|
|
910
899
|
$serializer_2.prototype.r1i = function (encoder, value) {
|
|
911
|
-
return this.
|
|
900
|
+
return this.h2l(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
912
901
|
};
|
|
913
902
|
$serializer_2.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
914
903
|
var $serializer_instance_2;
|
|
@@ -919,11 +908,11 @@
|
|
|
919
908
|
}
|
|
920
909
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
921
910
|
if (!(3 === (3 & seen1))) {
|
|
922
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_2().
|
|
911
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_2().g2l_1);
|
|
923
912
|
}
|
|
924
913
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
925
|
-
$this.
|
|
926
|
-
$this.
|
|
914
|
+
$this.i2l_1 = playerId;
|
|
915
|
+
$this.j2l_1 = tag;
|
|
927
916
|
return $this;
|
|
928
917
|
}
|
|
929
918
|
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -932,18 +921,18 @@
|
|
|
932
921
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
933
922
|
Companion_getInstance_4();
|
|
934
923
|
TerminationGameReason.call(this);
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
924
|
+
this.i2l_1 = playerId;
|
|
925
|
+
this.j2l_1 = tag;
|
|
937
926
|
}
|
|
938
|
-
PlayerLostConnectionReason.prototype.
|
|
939
|
-
return this.
|
|
927
|
+
PlayerLostConnectionReason.prototype.f2l = function () {
|
|
928
|
+
return this.i2l_1;
|
|
940
929
|
};
|
|
941
930
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
942
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
931
|
+
return 'PlayerLostConnectionReason(playerId=' + this.i2l_1 + ', tag=' + this.j2l_1 + ')';
|
|
943
932
|
};
|
|
944
933
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
945
|
-
var result = getStringHashCode(this.
|
|
946
|
-
result = imul(result, 31) + (this.
|
|
934
|
+
var result = getStringHashCode(this.i2l_1);
|
|
935
|
+
result = imul(result, 31) + (this.j2l_1 == null ? 0 : getStringHashCode(this.j2l_1)) | 0;
|
|
947
936
|
return result;
|
|
948
937
|
};
|
|
949
938
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -952,9 +941,9 @@
|
|
|
952
941
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
953
942
|
return false;
|
|
954
943
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
955
|
-
if (!(this.
|
|
944
|
+
if (!(this.i2l_1 === tmp0_other_with_cast.i2l_1))
|
|
956
945
|
return false;
|
|
957
|
-
if (!(this.
|
|
946
|
+
if (!(this.j2l_1 == tmp0_other_with_cast.j2l_1))
|
|
958
947
|
return false;
|
|
959
948
|
return true;
|
|
960
949
|
};
|
|
@@ -974,10 +963,10 @@
|
|
|
974
963
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
975
964
|
tmp0_serialDesc.d1t('playerId', false);
|
|
976
965
|
tmp0_serialDesc.d1t('tag', false);
|
|
977
|
-
this.
|
|
966
|
+
this.k2l_1 = tmp0_serialDesc;
|
|
978
967
|
}
|
|
979
968
|
$serializer_3.prototype.q1i = function () {
|
|
980
|
-
return this.
|
|
969
|
+
return this.k2l_1;
|
|
981
970
|
};
|
|
982
971
|
$serializer_3.prototype.s1t = function () {
|
|
983
972
|
var tmp$ret$2;
|
|
@@ -993,7 +982,7 @@
|
|
|
993
982
|
return tmp$ret$2;
|
|
994
983
|
};
|
|
995
984
|
$serializer_3.prototype.s1i = function (decoder) {
|
|
996
|
-
var tmp0_desc = this.
|
|
985
|
+
var tmp0_desc = this.k2l_1;
|
|
997
986
|
var tmp1_flag = true;
|
|
998
987
|
var tmp2_index = 0;
|
|
999
988
|
var tmp3_bitMask0 = 0;
|
|
@@ -1027,15 +1016,15 @@
|
|
|
1027
1016
|
tmp6_input.z1l(tmp0_desc);
|
|
1028
1017
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1029
1018
|
};
|
|
1030
|
-
$serializer_3.prototype.
|
|
1031
|
-
var tmp0_desc = this.
|
|
1019
|
+
$serializer_3.prototype.l2l = function (encoder, value) {
|
|
1020
|
+
var tmp0_desc = this.k2l_1;
|
|
1032
1021
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
1033
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
1034
|
-
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1022
|
+
tmp1_output.m1n(tmp0_desc, 0, value.m2l_1);
|
|
1023
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.n2l_1);
|
|
1035
1024
|
tmp1_output.z1l(tmp0_desc);
|
|
1036
1025
|
};
|
|
1037
1026
|
$serializer_3.prototype.r1i = function (encoder, value) {
|
|
1038
|
-
return this.
|
|
1027
|
+
return this.l2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
1039
1028
|
};
|
|
1040
1029
|
$serializer_3.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
1041
1030
|
var $serializer_instance_3;
|
|
@@ -1046,11 +1035,11 @@
|
|
|
1046
1035
|
}
|
|
1047
1036
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1048
1037
|
if (!(3 === (3 & seen1))) {
|
|
1049
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().
|
|
1038
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().k2l_1);
|
|
1050
1039
|
}
|
|
1051
1040
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1052
|
-
$this.
|
|
1053
|
-
$this.
|
|
1041
|
+
$this.m2l_1 = playerId;
|
|
1042
|
+
$this.n2l_1 = tag;
|
|
1054
1043
|
return $this;
|
|
1055
1044
|
}
|
|
1056
1045
|
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1059,18 +1048,18 @@
|
|
|
1059
1048
|
function PlayerTimeoutReason(playerId, tag) {
|
|
1060
1049
|
Companion_getInstance_5();
|
|
1061
1050
|
TerminationGameReason.call(this);
|
|
1062
|
-
this.
|
|
1063
|
-
this.
|
|
1051
|
+
this.m2l_1 = playerId;
|
|
1052
|
+
this.n2l_1 = tag;
|
|
1064
1053
|
}
|
|
1065
|
-
PlayerTimeoutReason.prototype.
|
|
1066
|
-
return this.
|
|
1054
|
+
PlayerTimeoutReason.prototype.f2l = function () {
|
|
1055
|
+
return this.m2l_1;
|
|
1067
1056
|
};
|
|
1068
1057
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
1069
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1058
|
+
return 'PlayerTimeoutReason(playerId=' + this.m2l_1 + ', tag=' + this.n2l_1 + ')';
|
|
1070
1059
|
};
|
|
1071
1060
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
1072
|
-
var result = getStringHashCode(this.
|
|
1073
|
-
result = imul(result, 31) + (this.
|
|
1061
|
+
var result = getStringHashCode(this.m2l_1);
|
|
1062
|
+
result = imul(result, 31) + (this.n2l_1 == null ? 0 : getStringHashCode(this.n2l_1)) | 0;
|
|
1074
1063
|
return result;
|
|
1075
1064
|
};
|
|
1076
1065
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -1079,9 +1068,9 @@
|
|
|
1079
1068
|
if (!(other instanceof PlayerTimeoutReason))
|
|
1080
1069
|
return false;
|
|
1081
1070
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1082
|
-
if (!(this.
|
|
1071
|
+
if (!(this.m2l_1 === tmp0_other_with_cast.m2l_1))
|
|
1083
1072
|
return false;
|
|
1084
|
-
if (!(this.
|
|
1073
|
+
if (!(this.n2l_1 == tmp0_other_with_cast.n2l_1))
|
|
1085
1074
|
return false;
|
|
1086
1075
|
return true;
|
|
1087
1076
|
};
|
|
@@ -1104,13 +1093,13 @@
|
|
|
1104
1093
|
TerminationGameReason.call(this);
|
|
1105
1094
|
var tmp = this;
|
|
1106
1095
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1107
|
-
tmp.
|
|
1096
|
+
tmp.o2l_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
1108
1097
|
}
|
|
1109
1098
|
ProcessingReason.prototype.toString = function () {
|
|
1110
1099
|
return 'ProcessingReason';
|
|
1111
1100
|
};
|
|
1112
1101
|
ProcessingReason.prototype.l25 = function () {
|
|
1113
|
-
return this.
|
|
1102
|
+
return this.o2l_1.c2();
|
|
1114
1103
|
};
|
|
1115
1104
|
ProcessingReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1116
1105
|
return this.l25();
|
|
@@ -1140,13 +1129,13 @@
|
|
|
1140
1129
|
TerminationGameReason.call(this);
|
|
1141
1130
|
var tmp = this;
|
|
1142
1131
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1143
|
-
tmp.
|
|
1132
|
+
tmp.p2l_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
1144
1133
|
}
|
|
1145
1134
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
1146
1135
|
return 'WaitingForConnectionReason';
|
|
1147
1136
|
};
|
|
1148
1137
|
WaitingForConnectionReason.prototype.l25 = function () {
|
|
1149
|
-
return this.
|
|
1138
|
+
return this.p2l_1.c2();
|
|
1150
1139
|
};
|
|
1151
1140
|
WaitingForConnectionReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1152
1141
|
return this.l25();
|
|
@@ -1177,60 +1166,60 @@
|
|
|
1177
1166
|
}
|
|
1178
1167
|
function GameUserInfo(playerId, name, avatarUrl, payload) {
|
|
1179
1168
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1180
|
-
this.
|
|
1181
|
-
this.
|
|
1182
|
-
this.
|
|
1183
|
-
this.
|
|
1169
|
+
this.q2l_1 = playerId;
|
|
1170
|
+
this.r2l_1 = name;
|
|
1171
|
+
this.s2l_1 = avatarUrl;
|
|
1172
|
+
this.t2l_1 = payload_0;
|
|
1184
1173
|
}
|
|
1185
|
-
GameUserInfo.prototype.
|
|
1186
|
-
return this.
|
|
1174
|
+
GameUserInfo.prototype.f2l = function () {
|
|
1175
|
+
return this.q2l_1;
|
|
1187
1176
|
};
|
|
1188
1177
|
GameUserInfo.prototype.f5 = function () {
|
|
1178
|
+
return this.r2l_1;
|
|
1179
|
+
};
|
|
1180
|
+
GameUserInfo.prototype.u2l = function () {
|
|
1189
1181
|
return this.s2l_1;
|
|
1190
1182
|
};
|
|
1191
1183
|
GameUserInfo.prototype.v2l = function () {
|
|
1192
1184
|
return this.t2l_1;
|
|
1193
1185
|
};
|
|
1194
|
-
GameUserInfo.prototype.w2l = function () {
|
|
1195
|
-
return this.u2l_1;
|
|
1196
|
-
};
|
|
1197
1186
|
GameUserInfo.prototype.component1 = function () {
|
|
1198
|
-
return this.
|
|
1187
|
+
return this.q2l_1;
|
|
1199
1188
|
};
|
|
1200
1189
|
GameUserInfo.prototype.component2 = function () {
|
|
1201
|
-
return this.
|
|
1190
|
+
return this.r2l_1;
|
|
1202
1191
|
};
|
|
1203
1192
|
GameUserInfo.prototype.component3 = function () {
|
|
1204
|
-
return this.
|
|
1193
|
+
return this.s2l_1;
|
|
1205
1194
|
};
|
|
1206
1195
|
GameUserInfo.prototype.component4 = function () {
|
|
1207
|
-
return this.
|
|
1196
|
+
return this.t2l_1;
|
|
1208
1197
|
};
|
|
1209
1198
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, payload) {
|
|
1210
|
-
return this.
|
|
1199
|
+
return this.w2l(playerId === void 1 ? this.q2l_1 : playerId, name === void 1 ? this.r2l_1 : name, avatarUrl === void 1 ? this.s2l_1 : avatarUrl, payload === void 1 ? this.t2l_1 : payload);
|
|
1211
1200
|
};
|
|
1212
|
-
GameUserInfo.prototype.
|
|
1201
|
+
GameUserInfo.prototype.w2l = function (playerId, name, avatarUrl, payload) {
|
|
1213
1202
|
return new GameUserInfo(playerId, name, avatarUrl, payload);
|
|
1214
1203
|
};
|
|
1215
|
-
GameUserInfo.prototype.
|
|
1204
|
+
GameUserInfo.prototype.x2l = function (playerId, name, avatarUrl, payload, $mask0, $handler) {
|
|
1216
1205
|
if (!(($mask0 & 1) === 0))
|
|
1217
|
-
playerId = this.
|
|
1206
|
+
playerId = this.q2l_1;
|
|
1218
1207
|
if (!(($mask0 & 2) === 0))
|
|
1219
|
-
name = this.
|
|
1208
|
+
name = this.r2l_1;
|
|
1220
1209
|
if (!(($mask0 & 4) === 0))
|
|
1221
|
-
avatarUrl = this.
|
|
1210
|
+
avatarUrl = this.s2l_1;
|
|
1222
1211
|
if (!(($mask0 & 8) === 0))
|
|
1223
|
-
payload = this.
|
|
1224
|
-
return this.
|
|
1212
|
+
payload = this.t2l_1;
|
|
1213
|
+
return this.w2l(playerId, name, avatarUrl, payload);
|
|
1225
1214
|
};
|
|
1226
1215
|
GameUserInfo.prototype.toString = function () {
|
|
1227
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1216
|
+
return 'GameUserInfo(playerId=' + this.q2l_1 + ', name=' + this.r2l_1 + ', avatarUrl=' + this.s2l_1 + ', payload=' + toString(this.t2l_1) + ')';
|
|
1228
1217
|
};
|
|
1229
1218
|
GameUserInfo.prototype.hashCode = function () {
|
|
1230
|
-
var result = getStringHashCode(this.
|
|
1219
|
+
var result = getStringHashCode(this.q2l_1);
|
|
1220
|
+
result = imul(result, 31) + getStringHashCode(this.r2l_1) | 0;
|
|
1231
1221
|
result = imul(result, 31) + getStringHashCode(this.s2l_1) | 0;
|
|
1232
|
-
result = imul(result, 31) +
|
|
1233
|
-
result = imul(result, 31) + (this.u2l_1 == null ? 0 : hashCode(this.u2l_1)) | 0;
|
|
1222
|
+
result = imul(result, 31) + (this.t2l_1 == null ? 0 : hashCode(this.t2l_1)) | 0;
|
|
1234
1223
|
return result;
|
|
1235
1224
|
};
|
|
1236
1225
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -1239,13 +1228,13 @@
|
|
|
1239
1228
|
if (!(other instanceof GameUserInfo))
|
|
1240
1229
|
return false;
|
|
1241
1230
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1231
|
+
if (!(this.q2l_1 === tmp0_other_with_cast.q2l_1))
|
|
1232
|
+
return false;
|
|
1242
1233
|
if (!(this.r2l_1 === tmp0_other_with_cast.r2l_1))
|
|
1243
1234
|
return false;
|
|
1244
1235
|
if (!(this.s2l_1 === tmp0_other_with_cast.s2l_1))
|
|
1245
1236
|
return false;
|
|
1246
|
-
if (!(this.t2l_1
|
|
1247
|
-
return false;
|
|
1248
|
-
if (!equals(this.u2l_1, tmp0_other_with_cast.u2l_1))
|
|
1237
|
+
if (!equals(this.t2l_1, tmp0_other_with_cast.t2l_1))
|
|
1249
1238
|
return false;
|
|
1250
1239
|
return true;
|
|
1251
1240
|
};
|
|
@@ -1253,7 +1242,7 @@
|
|
|
1253
1242
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
1254
1243
|
configurable: true,
|
|
1255
1244
|
get: function () {
|
|
1256
|
-
return this.
|
|
1245
|
+
return this.f2l();
|
|
1257
1246
|
}
|
|
1258
1247
|
});
|
|
1259
1248
|
Object.defineProperty(GameUserInfo.prototype, 'name', {
|
|
@@ -1262,11 +1251,11 @@
|
|
|
1262
1251
|
});
|
|
1263
1252
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
1264
1253
|
configurable: true,
|
|
1265
|
-
get: GameUserInfo.prototype.
|
|
1254
|
+
get: GameUserInfo.prototype.u2l
|
|
1266
1255
|
});
|
|
1267
1256
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
1268
1257
|
configurable: true,
|
|
1269
|
-
get: GameUserInfo.prototype.
|
|
1258
|
+
get: GameUserInfo.prototype.v2l
|
|
1270
1259
|
});
|
|
1271
1260
|
function get_byIdPlayerPredicate() {
|
|
1272
1261
|
init_properties_Player_kt_txblev();
|
|
@@ -1373,7 +1362,7 @@
|
|
|
1373
1362
|
}
|
|
1374
1363
|
function playerTurnPredicate$lambda(p1) {
|
|
1375
1364
|
init_properties_Player_kt_txblev();
|
|
1376
|
-
return p1.am().
|
|
1365
|
+
return p1.am().e2m() ? true : p1.am().d2m();
|
|
1377
1366
|
}
|
|
1378
1367
|
var properties_initialized_Player_kt_56shkt;
|
|
1379
1368
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1397,10 +1386,10 @@
|
|
|
1397
1386
|
Companion_instance_6 = this;
|
|
1398
1387
|
var tmp = this;
|
|
1399
1388
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1400
|
-
tmp.
|
|
1389
|
+
tmp.f2m_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1401
1390
|
}
|
|
1402
1391
|
Companion_6.prototype.serializer = function () {
|
|
1403
|
-
return this.
|
|
1392
|
+
return this.f2m_1.c2();
|
|
1404
1393
|
};
|
|
1405
1394
|
Companion_6.prototype.b1u = function (typeParamsSerializers) {
|
|
1406
1395
|
return this.serializer();
|
|
@@ -1452,62 +1441,62 @@
|
|
|
1452
1441
|
function PlayerConnectionState(name, ordinal) {
|
|
1453
1442
|
Enum.call(this, name, ordinal);
|
|
1454
1443
|
}
|
|
1455
|
-
PlayerConnectionState.prototype.
|
|
1444
|
+
PlayerConnectionState.prototype.i2m = function () {
|
|
1456
1445
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1457
1446
|
};
|
|
1458
|
-
PlayerConnectionState.prototype.
|
|
1447
|
+
PlayerConnectionState.prototype.j2m = function () {
|
|
1459
1448
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1460
1449
|
};
|
|
1461
|
-
PlayerConnectionState.prototype.
|
|
1450
|
+
PlayerConnectionState.prototype.k2m = function () {
|
|
1462
1451
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1463
1452
|
};
|
|
1464
|
-
PlayerConnectionState.prototype.
|
|
1453
|
+
PlayerConnectionState.prototype.l2m = function () {
|
|
1465
1454
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1466
1455
|
};
|
|
1467
|
-
PlayerConnectionState.prototype.
|
|
1456
|
+
PlayerConnectionState.prototype.m2m = function () {
|
|
1468
1457
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1469
1458
|
};
|
|
1470
|
-
PlayerConnectionState.prototype.
|
|
1459
|
+
PlayerConnectionState.prototype.n2m = function () {
|
|
1471
1460
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1472
1461
|
};
|
|
1473
|
-
PlayerConnectionState.prototype.
|
|
1462
|
+
PlayerConnectionState.prototype.o2m = function () {
|
|
1474
1463
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1475
1464
|
};
|
|
1476
|
-
PlayerConnectionState.prototype.
|
|
1465
|
+
PlayerConnectionState.prototype.p2m = function () {
|
|
1477
1466
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1478
1467
|
};
|
|
1479
1468
|
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0: Companion_getInstance_6}, undefined, Enum.prototype);
|
|
1480
1469
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1481
1470
|
configurable: true,
|
|
1482
|
-
get: PlayerConnectionState.prototype.
|
|
1471
|
+
get: PlayerConnectionState.prototype.i2m
|
|
1483
1472
|
});
|
|
1484
1473
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1485
1474
|
configurable: true,
|
|
1486
|
-
get: PlayerConnectionState.prototype.
|
|
1475
|
+
get: PlayerConnectionState.prototype.j2m
|
|
1487
1476
|
});
|
|
1488
1477
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1489
1478
|
configurable: true,
|
|
1490
|
-
get: PlayerConnectionState.prototype.
|
|
1479
|
+
get: PlayerConnectionState.prototype.k2m
|
|
1491
1480
|
});
|
|
1492
1481
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1493
1482
|
configurable: true,
|
|
1494
|
-
get: PlayerConnectionState.prototype.
|
|
1483
|
+
get: PlayerConnectionState.prototype.l2m
|
|
1495
1484
|
});
|
|
1496
1485
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1497
1486
|
configurable: true,
|
|
1498
|
-
get: PlayerConnectionState.prototype.
|
|
1487
|
+
get: PlayerConnectionState.prototype.m2m
|
|
1499
1488
|
});
|
|
1500
1489
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1501
1490
|
configurable: true,
|
|
1502
|
-
get: PlayerConnectionState.prototype.
|
|
1491
|
+
get: PlayerConnectionState.prototype.n2m
|
|
1503
1492
|
});
|
|
1504
1493
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1505
1494
|
configurable: true,
|
|
1506
|
-
get: PlayerConnectionState.prototype.
|
|
1495
|
+
get: PlayerConnectionState.prototype.o2m
|
|
1507
1496
|
});
|
|
1508
1497
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1509
1498
|
configurable: true,
|
|
1510
|
-
get: PlayerConnectionState.prototype.
|
|
1499
|
+
get: PlayerConnectionState.prototype.p2m
|
|
1511
1500
|
});
|
|
1512
1501
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1513
1502
|
configurable: true,
|
|
@@ -1551,10 +1540,10 @@
|
|
|
1551
1540
|
Companion_instance_7 = this;
|
|
1552
1541
|
var tmp = this;
|
|
1553
1542
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1554
|
-
tmp.
|
|
1543
|
+
tmp.q2m_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1555
1544
|
}
|
|
1556
1545
|
Companion_7.prototype.l25 = function () {
|
|
1557
|
-
return this.
|
|
1546
|
+
return this.q2m_1.c2();
|
|
1558
1547
|
};
|
|
1559
1548
|
Companion_7.prototype.b1u = function (typeParamsSerializers) {
|
|
1560
1549
|
return this.l25();
|
|
@@ -1583,23 +1572,23 @@
|
|
|
1583
1572
|
function PlayerWaitingState(name, ordinal) {
|
|
1584
1573
|
Enum.call(this, name, ordinal);
|
|
1585
1574
|
}
|
|
1586
|
-
PlayerWaitingState.prototype.f2m = function () {
|
|
1587
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.e2m();
|
|
1588
|
-
};
|
|
1589
1575
|
PlayerWaitingState.prototype.e2m = function () {
|
|
1576
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.d2m();
|
|
1577
|
+
};
|
|
1578
|
+
PlayerWaitingState.prototype.d2m = function () {
|
|
1590
1579
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1591
1580
|
};
|
|
1592
1581
|
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0: Companion_getInstance_7}, undefined, Enum.prototype);
|
|
1593
1582
|
function Companion_8() {
|
|
1594
1583
|
Companion_instance_8 = this;
|
|
1595
1584
|
}
|
|
1596
|
-
Companion_8.prototype.
|
|
1585
|
+
Companion_8.prototype.t2m = function (connectionState) {
|
|
1597
1586
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1598
1587
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1599
1588
|
};
|
|
1600
|
-
Companion_8.prototype.
|
|
1589
|
+
Companion_8.prototype.u2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1601
1590
|
var tmp = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1602
|
-
return _this__u8e3s4.
|
|
1591
|
+
return _this__u8e3s4.v2m(startFromTime, tmp, false, null, tag, 12, null);
|
|
1603
1592
|
};
|
|
1604
1593
|
Companion_8.$metadata$ = objectMeta('Companion');
|
|
1605
1594
|
var Companion_instance_8;
|
|
@@ -1622,25 +1611,25 @@
|
|
|
1622
1611
|
}
|
|
1623
1612
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1624
1613
|
Companion_getInstance_8();
|
|
1625
|
-
this.
|
|
1626
|
-
this.
|
|
1627
|
-
this.
|
|
1628
|
-
this.
|
|
1629
|
-
this.
|
|
1614
|
+
this.y2l_1 = startFromTime;
|
|
1615
|
+
this.z2l_1 = state;
|
|
1616
|
+
this.a2m_1 = ready;
|
|
1617
|
+
this.b2m_1 = connectionState;
|
|
1618
|
+
this.c2m_1 = tag;
|
|
1630
1619
|
}
|
|
1620
|
+
PlayerState.prototype.w2m = function () {
|
|
1621
|
+
return this.a2m_1;
|
|
1622
|
+
};
|
|
1631
1623
|
PlayerState.prototype.x2m = function () {
|
|
1632
1624
|
return this.b2m_1;
|
|
1633
1625
|
};
|
|
1634
|
-
PlayerState.prototype.y2m = function () {
|
|
1635
|
-
return this.c2m_1;
|
|
1636
|
-
};
|
|
1637
1626
|
PlayerState.prototype.w2e = function () {
|
|
1638
|
-
return this.
|
|
1627
|
+
return this.c2m_1;
|
|
1639
1628
|
};
|
|
1640
|
-
PlayerState.prototype.
|
|
1629
|
+
PlayerState.prototype.y2m = function () {
|
|
1641
1630
|
var tmp$ret$2;
|
|
1642
1631
|
// Inline function 'kotlin.requireNotNull' call
|
|
1643
|
-
var tmp0_requireNotNull = this.
|
|
1632
|
+
var tmp0_requireNotNull = this.c2m_1;
|
|
1644
1633
|
// Inline function 'kotlin.contracts.contract' call
|
|
1645
1634
|
var tmp$ret$1;
|
|
1646
1635
|
$l$block: {
|
|
@@ -1660,41 +1649,41 @@
|
|
|
1660
1649
|
tmp$ret$2 = tmp$ret$1;
|
|
1661
1650
|
return tmp$ret$2;
|
|
1662
1651
|
};
|
|
1663
|
-
PlayerState.prototype.
|
|
1664
|
-
var tmp0_elvis_lhs = this.
|
|
1652
|
+
PlayerState.prototype.z2m = function () {
|
|
1653
|
+
var tmp0_elvis_lhs = this.c2m_1;
|
|
1665
1654
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1666
1655
|
};
|
|
1667
|
-
PlayerState.prototype.f2m = function () {
|
|
1668
|
-
return this.a2m_1.f2m();
|
|
1669
|
-
};
|
|
1670
1656
|
PlayerState.prototype.e2m = function () {
|
|
1671
|
-
return this.
|
|
1657
|
+
return this.z2l_1.e2m();
|
|
1658
|
+
};
|
|
1659
|
+
PlayerState.prototype.d2m = function () {
|
|
1660
|
+
return this.z2l_1.d2m();
|
|
1672
1661
|
};
|
|
1673
|
-
PlayerState.prototype.
|
|
1662
|
+
PlayerState.prototype.a2n = function (startFromTime, state, ready, connectionState, tag) {
|
|
1674
1663
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1675
1664
|
};
|
|
1676
|
-
PlayerState.prototype.
|
|
1665
|
+
PlayerState.prototype.v2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1677
1666
|
if (!(($mask0 & 1) === 0))
|
|
1678
|
-
startFromTime = this.
|
|
1667
|
+
startFromTime = this.y2l_1;
|
|
1679
1668
|
if (!(($mask0 & 2) === 0))
|
|
1680
|
-
state = this.
|
|
1669
|
+
state = this.z2l_1;
|
|
1681
1670
|
if (!(($mask0 & 4) === 0))
|
|
1682
|
-
ready = this.
|
|
1671
|
+
ready = this.a2m_1;
|
|
1683
1672
|
if (!(($mask0 & 8) === 0))
|
|
1684
|
-
connectionState = this.
|
|
1673
|
+
connectionState = this.b2m_1;
|
|
1685
1674
|
if (!(($mask0 & 16) === 0))
|
|
1686
|
-
tag = this.
|
|
1687
|
-
return this.
|
|
1675
|
+
tag = this.c2m_1;
|
|
1676
|
+
return this.a2n(startFromTime, state, ready, connectionState, tag);
|
|
1688
1677
|
};
|
|
1689
1678
|
PlayerState.prototype.toString = function () {
|
|
1690
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1679
|
+
return 'PlayerState(startFromTime=' + toString_0(this.y2l_1) + ', state=' + this.z2l_1 + ', ready=' + this.a2m_1 + ', connectionState=' + this.b2m_1 + ', tag=' + this.c2m_1 + ')';
|
|
1691
1680
|
};
|
|
1692
1681
|
PlayerState.prototype.hashCode = function () {
|
|
1693
|
-
var result = this.
|
|
1694
|
-
result = imul(result, 31) + this.
|
|
1695
|
-
result = imul(result, 31) + (this.
|
|
1696
|
-
result = imul(result, 31) + this.
|
|
1697
|
-
result = imul(result, 31) + (this.
|
|
1682
|
+
var result = this.y2l_1.hashCode();
|
|
1683
|
+
result = imul(result, 31) + this.z2l_1.hashCode() | 0;
|
|
1684
|
+
result = imul(result, 31) + (this.a2m_1 | 0) | 0;
|
|
1685
|
+
result = imul(result, 31) + this.b2m_1.hashCode() | 0;
|
|
1686
|
+
result = imul(result, 31) + (this.c2m_1 == null ? 0 : getStringHashCode(this.c2m_1)) | 0;
|
|
1698
1687
|
return result;
|
|
1699
1688
|
};
|
|
1700
1689
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1703,27 +1692,27 @@
|
|
|
1703
1692
|
if (!(other instanceof PlayerState))
|
|
1704
1693
|
return false;
|
|
1705
1694
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1706
|
-
if (!this.
|
|
1695
|
+
if (!this.y2l_1.equals(tmp0_other_with_cast.y2l_1))
|
|
1707
1696
|
return false;
|
|
1708
|
-
if (!this.
|
|
1697
|
+
if (!this.z2l_1.equals(tmp0_other_with_cast.z2l_1))
|
|
1709
1698
|
return false;
|
|
1710
|
-
if (!(this.
|
|
1699
|
+
if (!(this.a2m_1 === tmp0_other_with_cast.a2m_1))
|
|
1711
1700
|
return false;
|
|
1712
|
-
if (!this.
|
|
1701
|
+
if (!this.b2m_1.equals(tmp0_other_with_cast.b2m_1))
|
|
1713
1702
|
return false;
|
|
1714
|
-
if (!(this.
|
|
1703
|
+
if (!(this.c2m_1 == tmp0_other_with_cast.c2m_1))
|
|
1715
1704
|
return false;
|
|
1716
1705
|
return true;
|
|
1717
1706
|
};
|
|
1718
1707
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1719
1708
|
function Team(playerIds) {
|
|
1720
|
-
this.
|
|
1709
|
+
this.b2n_1 = playerIds;
|
|
1721
1710
|
}
|
|
1722
1711
|
Team.prototype.toString = function () {
|
|
1723
|
-
return 'Team(playerIds=' + this.
|
|
1712
|
+
return 'Team(playerIds=' + this.b2n_1 + ')';
|
|
1724
1713
|
};
|
|
1725
1714
|
Team.prototype.hashCode = function () {
|
|
1726
|
-
return hashCode(this.
|
|
1715
|
+
return hashCode(this.b2n_1);
|
|
1727
1716
|
};
|
|
1728
1717
|
Team.prototype.equals = function (other) {
|
|
1729
1718
|
if (this === other)
|
|
@@ -1731,7 +1720,7 @@
|
|
|
1731
1720
|
if (!(other instanceof Team))
|
|
1732
1721
|
return false;
|
|
1733
1722
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1734
|
-
if (!equals(this.
|
|
1723
|
+
if (!equals(this.b2n_1, tmp0_other_with_cast.b2n_1))
|
|
1735
1724
|
return false;
|
|
1736
1725
|
return true;
|
|
1737
1726
|
};
|
|
@@ -1766,23 +1755,26 @@
|
|
|
1766
1755
|
}
|
|
1767
1756
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1768
1757
|
Companion_getInstance_9();
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1776
|
-
this.
|
|
1777
|
-
this.
|
|
1778
|
-
this.
|
|
1779
|
-
this.
|
|
1780
|
-
this.
|
|
1781
|
-
this.
|
|
1782
|
-
this.
|
|
1783
|
-
this.
|
|
1784
|
-
this.
|
|
1785
|
-
}
|
|
1758
|
+
this.c2n_1 = needToPutHigherTrump;
|
|
1759
|
+
this.d2n_1 = distributePoints;
|
|
1760
|
+
this.e2n_1 = protectBella;
|
|
1761
|
+
this.f2n_1 = enableFourSevensCombination;
|
|
1762
|
+
this.g2n_1 = enableTrumpSevenCombination;
|
|
1763
|
+
this.h2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1764
|
+
this.i2n_1 = playerWhoChooseSuitGoFirst;
|
|
1765
|
+
this.j2n_1 = winnerShuffleCards;
|
|
1766
|
+
this.k2n_1 = playWithoutLiabilities;
|
|
1767
|
+
this.l2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1768
|
+
this.m2n_1 = enableFineIfNoBribes;
|
|
1769
|
+
this.n2n_1 = fineIfNoBribes;
|
|
1770
|
+
this.o2n_1 = enableFineAfterThirdByte;
|
|
1771
|
+
this.p2n_1 = checkTrumpCombination;
|
|
1772
|
+
this.q2n_1 = checkOnlyTrumpDebertz;
|
|
1773
|
+
this.r2n_1 = tenCardsInHand;
|
|
1774
|
+
}
|
|
1775
|
+
Rules.prototype.s2n = function () {
|
|
1776
|
+
return this.c2n_1;
|
|
1777
|
+
};
|
|
1786
1778
|
Rules.prototype.t2n = function () {
|
|
1787
1779
|
return this.d2n_1;
|
|
1788
1780
|
};
|
|
@@ -1828,103 +1820,101 @@
|
|
|
1828
1820
|
Rules.prototype.h2o = function () {
|
|
1829
1821
|
return this.r2n_1;
|
|
1830
1822
|
};
|
|
1831
|
-
Rules.prototype.i2o = function () {
|
|
1832
|
-
return this.s2n_1;
|
|
1833
|
-
};
|
|
1834
1823
|
Rules.prototype.component1 = function () {
|
|
1835
|
-
return this.
|
|
1824
|
+
return this.c2n_1;
|
|
1836
1825
|
};
|
|
1837
1826
|
Rules.prototype.component2 = function () {
|
|
1838
|
-
return this.
|
|
1827
|
+
return this.d2n_1;
|
|
1839
1828
|
};
|
|
1840
1829
|
Rules.prototype.component3 = function () {
|
|
1841
|
-
return this.
|
|
1830
|
+
return this.e2n_1;
|
|
1842
1831
|
};
|
|
1843
1832
|
Rules.prototype.component4 = function () {
|
|
1844
|
-
return this.
|
|
1833
|
+
return this.f2n_1;
|
|
1845
1834
|
};
|
|
1846
1835
|
Rules.prototype.component5 = function () {
|
|
1847
|
-
return this.
|
|
1836
|
+
return this.g2n_1;
|
|
1848
1837
|
};
|
|
1849
1838
|
Rules.prototype.component6 = function () {
|
|
1850
|
-
return this.
|
|
1839
|
+
return this.h2n_1;
|
|
1851
1840
|
};
|
|
1852
1841
|
Rules.prototype.component7 = function () {
|
|
1853
|
-
return this.
|
|
1842
|
+
return this.i2n_1;
|
|
1854
1843
|
};
|
|
1855
1844
|
Rules.prototype.component8 = function () {
|
|
1856
|
-
return this.
|
|
1845
|
+
return this.j2n_1;
|
|
1857
1846
|
};
|
|
1858
1847
|
Rules.prototype.component9 = function () {
|
|
1859
|
-
return this.
|
|
1848
|
+
return this.k2n_1;
|
|
1860
1849
|
};
|
|
1861
1850
|
Rules.prototype.component10 = function () {
|
|
1862
|
-
return this.
|
|
1851
|
+
return this.l2n_1;
|
|
1863
1852
|
};
|
|
1864
1853
|
Rules.prototype.component11 = function () {
|
|
1865
|
-
return this.
|
|
1854
|
+
return this.m2n_1;
|
|
1866
1855
|
};
|
|
1867
1856
|
Rules.prototype.component12 = function () {
|
|
1868
|
-
return this.
|
|
1857
|
+
return this.n2n_1;
|
|
1869
1858
|
};
|
|
1870
1859
|
Rules.prototype.component13 = function () {
|
|
1871
|
-
return this.
|
|
1860
|
+
return this.o2n_1;
|
|
1872
1861
|
};
|
|
1873
1862
|
Rules.prototype.component14 = function () {
|
|
1874
|
-
return this.
|
|
1863
|
+
return this.p2n_1;
|
|
1875
1864
|
};
|
|
1876
1865
|
Rules.prototype.component15 = function () {
|
|
1877
|
-
return this.
|
|
1866
|
+
return this.q2n_1;
|
|
1878
1867
|
};
|
|
1879
1868
|
Rules.prototype.component16 = function () {
|
|
1880
|
-
return this.
|
|
1869
|
+
return this.r2n_1;
|
|
1881
1870
|
};
|
|
1882
1871
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1883
|
-
return this.
|
|
1872
|
+
return this.i2o(needToPutHigherTrump === void 1 ? this.c2n_1 : needToPutHigherTrump, distributePoints === void 1 ? this.d2n_1 : distributePoints, protectBella === void 1 ? this.e2n_1 : protectBella, enableFourSevensCombination === void 1 ? this.f2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.g2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.h2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.i2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.j2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.k2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.l2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.m2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.n2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.o2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.p2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.q2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.r2n_1 : tenCardsInHand);
|
|
1884
1873
|
};
|
|
1885
|
-
Rules.prototype.
|
|
1874
|
+
Rules.prototype.i2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1886
1875
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1887
1876
|
};
|
|
1888
|
-
Rules.prototype.
|
|
1877
|
+
Rules.prototype.j2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1889
1878
|
if (!(($mask0 & 1) === 0))
|
|
1890
|
-
needToPutHigherTrump = this.
|
|
1879
|
+
needToPutHigherTrump = this.c2n_1;
|
|
1891
1880
|
if (!(($mask0 & 2) === 0))
|
|
1892
|
-
distributePoints = this.
|
|
1881
|
+
distributePoints = this.d2n_1;
|
|
1893
1882
|
if (!(($mask0 & 4) === 0))
|
|
1894
|
-
protectBella = this.
|
|
1883
|
+
protectBella = this.e2n_1;
|
|
1895
1884
|
if (!(($mask0 & 8) === 0))
|
|
1896
|
-
enableFourSevensCombination = this.
|
|
1885
|
+
enableFourSevensCombination = this.f2n_1;
|
|
1897
1886
|
if (!(($mask0 & 16) === 0))
|
|
1898
|
-
enableTrumpSevenCombination = this.
|
|
1887
|
+
enableTrumpSevenCombination = this.g2n_1;
|
|
1899
1888
|
if (!(($mask0 & 32) === 0))
|
|
1900
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
1889
|
+
enableTrumpSevenCombinationAfterDistribution = this.h2n_1;
|
|
1901
1890
|
if (!(($mask0 & 64) === 0))
|
|
1902
|
-
playerWhoChooseSuitGoFirst = this.
|
|
1891
|
+
playerWhoChooseSuitGoFirst = this.i2n_1;
|
|
1903
1892
|
if (!(($mask0 & 128) === 0))
|
|
1904
|
-
winnerShuffleCards = this.
|
|
1893
|
+
winnerShuffleCards = this.j2n_1;
|
|
1905
1894
|
if (!(($mask0 & 256) === 0))
|
|
1906
|
-
playWithoutLiabilities = this.
|
|
1895
|
+
playWithoutLiabilities = this.k2n_1;
|
|
1907
1896
|
if (!(($mask0 & 512) === 0))
|
|
1908
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
1897
|
+
trumpCardGoToPlayerWhoShuffleCards = this.l2n_1;
|
|
1909
1898
|
if (!(($mask0 & 1024) === 0))
|
|
1910
|
-
enableFineIfNoBribes = this.
|
|
1899
|
+
enableFineIfNoBribes = this.m2n_1;
|
|
1911
1900
|
if (!(($mask0 & 2048) === 0))
|
|
1912
|
-
fineIfNoBribes = this.
|
|
1901
|
+
fineIfNoBribes = this.n2n_1;
|
|
1913
1902
|
if (!(($mask0 & 4096) === 0))
|
|
1914
|
-
enableFineAfterThirdByte = this.
|
|
1903
|
+
enableFineAfterThirdByte = this.o2n_1;
|
|
1915
1904
|
if (!(($mask0 & 8192) === 0))
|
|
1916
|
-
checkTrumpCombination = this.
|
|
1905
|
+
checkTrumpCombination = this.p2n_1;
|
|
1917
1906
|
if (!(($mask0 & 16384) === 0))
|
|
1918
|
-
checkOnlyTrumpDebertz = this.
|
|
1907
|
+
checkOnlyTrumpDebertz = this.q2n_1;
|
|
1919
1908
|
if (!(($mask0 & 32768) === 0))
|
|
1920
|
-
tenCardsInHand = this.
|
|
1921
|
-
return this.
|
|
1909
|
+
tenCardsInHand = this.r2n_1;
|
|
1910
|
+
return this.i2o(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1922
1911
|
};
|
|
1923
1912
|
Rules.prototype.toString = function () {
|
|
1924
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
1913
|
+
return 'Rules(needToPutHigherTrump=' + this.c2n_1 + ', distributePoints=' + this.d2n_1 + ', protectBella=' + this.e2n_1 + ', enableFourSevensCombination=' + this.f2n_1 + ', enableTrumpSevenCombination=' + this.g2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.h2n_1 + ', playerWhoChooseSuitGoFirst=' + this.i2n_1 + ', winnerShuffleCards=' + this.j2n_1 + ', playWithoutLiabilities=' + this.k2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.l2n_1 + ', enableFineIfNoBribes=' + this.m2n_1 + ', fineIfNoBribes=' + this.n2n_1 + ', enableFineAfterThirdByte=' + this.o2n_1 + ', checkTrumpCombination=' + this.p2n_1 + ', checkOnlyTrumpDebertz=' + this.q2n_1 + ', tenCardsInHand=' + this.r2n_1 + ')';
|
|
1925
1914
|
};
|
|
1926
1915
|
Rules.prototype.hashCode = function () {
|
|
1927
|
-
var result = this.
|
|
1916
|
+
var result = this.c2n_1 | 0;
|
|
1917
|
+
result = imul(result, 31) + (this.d2n_1 | 0) | 0;
|
|
1928
1918
|
result = imul(result, 31) + (this.e2n_1 | 0) | 0;
|
|
1929
1919
|
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1930
1920
|
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
@@ -1934,12 +1924,11 @@
|
|
|
1934
1924
|
result = imul(result, 31) + (this.k2n_1 | 0) | 0;
|
|
1935
1925
|
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1936
1926
|
result = imul(result, 31) + (this.m2n_1 | 0) | 0;
|
|
1937
|
-
result = imul(result, 31) +
|
|
1938
|
-
result = imul(result, 31) + this.o2n_1 | 0;
|
|
1927
|
+
result = imul(result, 31) + this.n2n_1 | 0;
|
|
1928
|
+
result = imul(result, 31) + (this.o2n_1 | 0) | 0;
|
|
1939
1929
|
result = imul(result, 31) + (this.p2n_1 | 0) | 0;
|
|
1940
1930
|
result = imul(result, 31) + (this.q2n_1 | 0) | 0;
|
|
1941
1931
|
result = imul(result, 31) + (this.r2n_1 | 0) | 0;
|
|
1942
|
-
result = imul(result, 31) + (this.s2n_1 | 0) | 0;
|
|
1943
1932
|
return result;
|
|
1944
1933
|
};
|
|
1945
1934
|
Rules.prototype.equals = function (other) {
|
|
@@ -1948,6 +1937,8 @@
|
|
|
1948
1937
|
if (!(other instanceof Rules))
|
|
1949
1938
|
return false;
|
|
1950
1939
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1940
|
+
if (!(this.c2n_1 === tmp0_other_with_cast.c2n_1))
|
|
1941
|
+
return false;
|
|
1951
1942
|
if (!(this.d2n_1 === tmp0_other_with_cast.d2n_1))
|
|
1952
1943
|
return false;
|
|
1953
1944
|
if (!(this.e2n_1 === tmp0_other_with_cast.e2n_1))
|
|
@@ -1978,74 +1969,72 @@
|
|
|
1978
1969
|
return false;
|
|
1979
1970
|
if (!(this.r2n_1 === tmp0_other_with_cast.r2n_1))
|
|
1980
1971
|
return false;
|
|
1981
|
-
if (!(this.s2n_1 === tmp0_other_with_cast.s2n_1))
|
|
1982
|
-
return false;
|
|
1983
1972
|
return true;
|
|
1984
1973
|
};
|
|
1985
1974
|
Rules.$metadata$ = classMeta('Rules');
|
|
1986
1975
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1987
1976
|
configurable: true,
|
|
1988
|
-
get: Rules.prototype.
|
|
1977
|
+
get: Rules.prototype.s2n
|
|
1989
1978
|
});
|
|
1990
1979
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1991
1980
|
configurable: true,
|
|
1992
|
-
get: Rules.prototype.
|
|
1981
|
+
get: Rules.prototype.t2n
|
|
1993
1982
|
});
|
|
1994
1983
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1995
1984
|
configurable: true,
|
|
1996
|
-
get: Rules.prototype.
|
|
1985
|
+
get: Rules.prototype.u2n
|
|
1997
1986
|
});
|
|
1998
1987
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1999
1988
|
configurable: true,
|
|
2000
|
-
get: Rules.prototype.
|
|
1989
|
+
get: Rules.prototype.v2n
|
|
2001
1990
|
});
|
|
2002
1991
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
2003
1992
|
configurable: true,
|
|
2004
|
-
get: Rules.prototype.
|
|
1993
|
+
get: Rules.prototype.w2n
|
|
2005
1994
|
});
|
|
2006
1995
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
2007
1996
|
configurable: true,
|
|
2008
|
-
get: Rules.prototype.
|
|
1997
|
+
get: Rules.prototype.x2n
|
|
2009
1998
|
});
|
|
2010
1999
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
2011
2000
|
configurable: true,
|
|
2012
|
-
get: Rules.prototype.
|
|
2001
|
+
get: Rules.prototype.y2n
|
|
2013
2002
|
});
|
|
2014
2003
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
2015
2004
|
configurable: true,
|
|
2016
|
-
get: Rules.prototype.
|
|
2005
|
+
get: Rules.prototype.z2n
|
|
2017
2006
|
});
|
|
2018
2007
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
2019
2008
|
configurable: true,
|
|
2020
|
-
get: Rules.prototype.
|
|
2009
|
+
get: Rules.prototype.a2o
|
|
2021
2010
|
});
|
|
2022
2011
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
2023
2012
|
configurable: true,
|
|
2024
|
-
get: Rules.prototype.
|
|
2013
|
+
get: Rules.prototype.b2o
|
|
2025
2014
|
});
|
|
2026
2015
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
2027
2016
|
configurable: true,
|
|
2028
|
-
get: Rules.prototype.
|
|
2017
|
+
get: Rules.prototype.c2o
|
|
2029
2018
|
});
|
|
2030
2019
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
2031
2020
|
configurable: true,
|
|
2032
|
-
get: Rules.prototype.
|
|
2021
|
+
get: Rules.prototype.d2o
|
|
2033
2022
|
});
|
|
2034
2023
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
2035
2024
|
configurable: true,
|
|
2036
|
-
get: Rules.prototype.
|
|
2025
|
+
get: Rules.prototype.e2o
|
|
2037
2026
|
});
|
|
2038
2027
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
2039
2028
|
configurable: true,
|
|
2040
|
-
get: Rules.prototype.
|
|
2029
|
+
get: Rules.prototype.f2o
|
|
2041
2030
|
});
|
|
2042
2031
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
2043
2032
|
configurable: true,
|
|
2044
|
-
get: Rules.prototype.
|
|
2033
|
+
get: Rules.prototype.g2o
|
|
2045
2034
|
});
|
|
2046
2035
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
2047
2036
|
configurable: true,
|
|
2048
|
-
get: Rules.prototype.
|
|
2037
|
+
get: Rules.prototype.h2o
|
|
2049
2038
|
});
|
|
2050
2039
|
var RulesSetType_belot_instance;
|
|
2051
2040
|
var RulesSetType_klabor_instance;
|
|
@@ -2125,38 +2114,38 @@
|
|
|
2125
2114
|
return RulesSetType_custom_instance;
|
|
2126
2115
|
}
|
|
2127
2116
|
function mapToDto(_this__u8e3s4) {
|
|
2128
|
-
return _this__u8e3s4.
|
|
2117
|
+
return _this__u8e3s4.m2o_1;
|
|
2129
2118
|
}
|
|
2130
2119
|
function mapFromDto(_this__u8e3s4) {
|
|
2131
2120
|
return new GameCard(_this__u8e3s4);
|
|
2132
2121
|
}
|
|
2133
2122
|
function mapToDto_0(_this__u8e3s4) {
|
|
2134
|
-
return _this__u8e3s4.
|
|
2123
|
+
return _this__u8e3s4.o2o_1.m2o_1;
|
|
2135
2124
|
}
|
|
2136
2125
|
function mapToDto_1(_this__u8e3s4) {
|
|
2137
|
-
return new RulesDto(_this__u8e3s4.d2n_1, _this__u8e3s4.e2n_1, _this__u8e3s4.f2n_1, _this__u8e3s4.g2n_1, _this__u8e3s4.h2n_1, _this__u8e3s4.i2n_1, _this__u8e3s4.j2n_1, _this__u8e3s4.k2n_1, _this__u8e3s4.l2n_1, _this__u8e3s4.m2n_1, _this__u8e3s4.n2n_1, _this__u8e3s4.o2n_1, _this__u8e3s4.p2n_1, _this__u8e3s4.q2n_1, _this__u8e3s4.r2n_1
|
|
2126
|
+
return new RulesDto(_this__u8e3s4.c2n_1, _this__u8e3s4.d2n_1, _this__u8e3s4.e2n_1, _this__u8e3s4.f2n_1, _this__u8e3s4.g2n_1, _this__u8e3s4.h2n_1, _this__u8e3s4.i2n_1, _this__u8e3s4.j2n_1, _this__u8e3s4.k2n_1, _this__u8e3s4.l2n_1, _this__u8e3s4.m2n_1, _this__u8e3s4.n2n_1, _this__u8e3s4.o2n_1, _this__u8e3s4.p2n_1, _this__u8e3s4.q2n_1, _this__u8e3s4.r2n_1);
|
|
2138
2127
|
}
|
|
2139
2128
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2140
|
-
return new Rules(_this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, _this__u8e3s4.s2o_1, _this__u8e3s4.t2o_1, _this__u8e3s4.u2o_1, _this__u8e3s4.v2o_1, _this__u8e3s4.w2o_1, _this__u8e3s4.x2o_1, _this__u8e3s4.y2o_1, _this__u8e3s4.z2o_1, _this__u8e3s4.a2p_1, _this__u8e3s4.b2p_1, _this__u8e3s4.c2p_1, _this__u8e3s4.d2p_1, _this__u8e3s4.e2p_1
|
|
2129
|
+
return new Rules(_this__u8e3s4.p2o_1, _this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, _this__u8e3s4.s2o_1, _this__u8e3s4.t2o_1, _this__u8e3s4.u2o_1, _this__u8e3s4.v2o_1, _this__u8e3s4.w2o_1, _this__u8e3s4.x2o_1, _this__u8e3s4.y2o_1, _this__u8e3s4.z2o_1, _this__u8e3s4.a2p_1, _this__u8e3s4.b2p_1, _this__u8e3s4.c2p_1, _this__u8e3s4.d2p_1, _this__u8e3s4.e2p_1);
|
|
2141
2130
|
}
|
|
2142
2131
|
function mapToDto_2(_this__u8e3s4) {
|
|
2143
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2132
|
+
return new GameUserInfoDto(_this__u8e3s4.q2l_1, _this__u8e3s4.r2l_1, _this__u8e3s4.s2l_1);
|
|
2144
2133
|
}
|
|
2145
2134
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2146
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2135
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.f2p_1, _this__u8e3s4.g2p_1, _this__u8e3s4.h2p_1, null, 8, null);
|
|
2147
2136
|
}
|
|
2148
2137
|
function mapToDto_3(_this__u8e3s4) {
|
|
2149
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2150
|
-
var tmp1_state = _this__u8e3s4.
|
|
2151
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2152
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2138
|
+
var tmp0_startFromTime = _this__u8e3s4.y2l_1;
|
|
2139
|
+
var tmp1_state = _this__u8e3s4.z2l_1;
|
|
2140
|
+
var tmp2_tag = _this__u8e3s4.c2m_1;
|
|
2141
|
+
var tmp3_ready = _this__u8e3s4.a2m_1;
|
|
2153
2142
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2154
2143
|
}
|
|
2155
2144
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2156
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2157
|
-
var tmp1_state = _this__u8e3s4.
|
|
2158
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2159
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2145
|
+
var tmp0_startFromTime = _this__u8e3s4.i2p_1;
|
|
2146
|
+
var tmp1_state = _this__u8e3s4.j2p_1;
|
|
2147
|
+
var tmp2_tag = _this__u8e3s4.l2p_1;
|
|
2148
|
+
var tmp3_ready = _this__u8e3s4.k2p_1;
|
|
2160
2149
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2161
2150
|
}
|
|
2162
2151
|
function Companion_10() {
|
|
@@ -2175,10 +2164,10 @@
|
|
|
2175
2164
|
tmp0_serialDesc.d1t('playerId', false);
|
|
2176
2165
|
tmp0_serialDesc.d1t('name', false);
|
|
2177
2166
|
tmp0_serialDesc.d1t('avatarUrl', false);
|
|
2178
|
-
this.
|
|
2167
|
+
this.m2p_1 = tmp0_serialDesc;
|
|
2179
2168
|
}
|
|
2180
2169
|
$serializer_4.prototype.q1i = function () {
|
|
2181
|
-
return this.
|
|
2170
|
+
return this.m2p_1;
|
|
2182
2171
|
};
|
|
2183
2172
|
$serializer_4.prototype.s1t = function () {
|
|
2184
2173
|
var tmp$ret$2;
|
|
@@ -2194,7 +2183,7 @@
|
|
|
2194
2183
|
return tmp$ret$2;
|
|
2195
2184
|
};
|
|
2196
2185
|
$serializer_4.prototype.s1i = function (decoder) {
|
|
2197
|
-
var tmp0_desc = this.
|
|
2186
|
+
var tmp0_desc = this.m2p_1;
|
|
2198
2187
|
var tmp1_flag = true;
|
|
2199
2188
|
var tmp2_index = 0;
|
|
2200
2189
|
var tmp3_bitMask0 = 0;
|
|
@@ -2235,16 +2224,16 @@
|
|
|
2235
2224
|
tmp7_input.z1l(tmp0_desc);
|
|
2236
2225
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2237
2226
|
};
|
|
2238
|
-
$serializer_4.prototype.
|
|
2239
|
-
var tmp0_desc = this.
|
|
2227
|
+
$serializer_4.prototype.n2p = function (encoder, value) {
|
|
2228
|
+
var tmp0_desc = this.m2p_1;
|
|
2240
2229
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2241
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
2242
|
-
tmp1_output.m1n(tmp0_desc, 1, value.
|
|
2243
|
-
tmp1_output.m1n(tmp0_desc, 2, value.
|
|
2230
|
+
tmp1_output.m1n(tmp0_desc, 0, value.f2p_1);
|
|
2231
|
+
tmp1_output.m1n(tmp0_desc, 1, value.g2p_1);
|
|
2232
|
+
tmp1_output.m1n(tmp0_desc, 2, value.h2p_1);
|
|
2244
2233
|
tmp1_output.z1l(tmp0_desc);
|
|
2245
2234
|
};
|
|
2246
2235
|
$serializer_4.prototype.r1i = function (encoder, value) {
|
|
2247
|
-
return this.
|
|
2236
|
+
return this.n2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2248
2237
|
};
|
|
2249
2238
|
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2250
2239
|
var $serializer_instance_4;
|
|
@@ -2255,11 +2244,11 @@
|
|
|
2255
2244
|
}
|
|
2256
2245
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, $this) {
|
|
2257
2246
|
if (!(7 === (7 & seen1))) {
|
|
2258
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().
|
|
2247
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().m2p_1);
|
|
2259
2248
|
}
|
|
2260
|
-
$this.
|
|
2261
|
-
$this.
|
|
2262
|
-
$this.
|
|
2249
|
+
$this.f2p_1 = playerId;
|
|
2250
|
+
$this.g2p_1 = name;
|
|
2251
|
+
$this.h2p_1 = avatarUrl;
|
|
2263
2252
|
return $this;
|
|
2264
2253
|
}
|
|
2265
2254
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, serializationConstructorMarker) {
|
|
@@ -2267,17 +2256,17 @@
|
|
|
2267
2256
|
}
|
|
2268
2257
|
function GameUserInfoDto(playerId, name, avatarUrl) {
|
|
2269
2258
|
Companion_getInstance_10();
|
|
2270
|
-
this.
|
|
2271
|
-
this.
|
|
2272
|
-
this.
|
|
2259
|
+
this.f2p_1 = playerId;
|
|
2260
|
+
this.g2p_1 = name;
|
|
2261
|
+
this.h2p_1 = avatarUrl;
|
|
2273
2262
|
}
|
|
2274
2263
|
GameUserInfoDto.prototype.toString = function () {
|
|
2275
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2264
|
+
return 'GameUserInfoDto(playerId=' + this.f2p_1 + ', name=' + this.g2p_1 + ', avatarUrl=' + this.h2p_1 + ')';
|
|
2276
2265
|
};
|
|
2277
2266
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2278
|
-
var result = getStringHashCode(this.
|
|
2267
|
+
var result = getStringHashCode(this.f2p_1);
|
|
2268
|
+
result = imul(result, 31) + getStringHashCode(this.g2p_1) | 0;
|
|
2279
2269
|
result = imul(result, 31) + getStringHashCode(this.h2p_1) | 0;
|
|
2280
|
-
result = imul(result, 31) + getStringHashCode(this.i2p_1) | 0;
|
|
2281
2270
|
return result;
|
|
2282
2271
|
};
|
|
2283
2272
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2286,12 +2275,12 @@
|
|
|
2286
2275
|
if (!(other instanceof GameUserInfoDto))
|
|
2287
2276
|
return false;
|
|
2288
2277
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2278
|
+
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2279
|
+
return false;
|
|
2289
2280
|
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2290
2281
|
return false;
|
|
2291
2282
|
if (!(this.h2p_1 === tmp0_other_with_cast.h2p_1))
|
|
2292
2283
|
return false;
|
|
2293
|
-
if (!(this.i2p_1 === tmp0_other_with_cast.i2p_1))
|
|
2294
|
-
return false;
|
|
2295
2284
|
return true;
|
|
2296
2285
|
};
|
|
2297
2286
|
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $serializer_getInstance_4});
|
|
@@ -2312,10 +2301,10 @@
|
|
|
2312
2301
|
tmp0_serialDesc.d1t('state', false);
|
|
2313
2302
|
tmp0_serialDesc.d1t('ready', false);
|
|
2314
2303
|
tmp0_serialDesc.d1t('tag', true);
|
|
2315
|
-
this.
|
|
2304
|
+
this.o2p_1 = tmp0_serialDesc;
|
|
2316
2305
|
}
|
|
2317
2306
|
$serializer_5.prototype.q1i = function () {
|
|
2318
|
-
return this.
|
|
2307
|
+
return this.o2p_1;
|
|
2319
2308
|
};
|
|
2320
2309
|
$serializer_5.prototype.s1t = function () {
|
|
2321
2310
|
var tmp$ret$2;
|
|
@@ -2331,7 +2320,7 @@
|
|
|
2331
2320
|
return tmp$ret$2;
|
|
2332
2321
|
};
|
|
2333
2322
|
$serializer_5.prototype.s1i = function (decoder) {
|
|
2334
|
-
var tmp0_desc = this.
|
|
2323
|
+
var tmp0_desc = this.o2p_1;
|
|
2335
2324
|
var tmp1_flag = true;
|
|
2336
2325
|
var tmp2_index = 0;
|
|
2337
2326
|
var tmp3_bitMask0 = 0;
|
|
@@ -2379,19 +2368,19 @@
|
|
|
2379
2368
|
tmp8_input.z1l(tmp0_desc);
|
|
2380
2369
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2381
2370
|
};
|
|
2382
|
-
$serializer_5.prototype.
|
|
2383
|
-
var tmp0_desc = this.
|
|
2371
|
+
$serializer_5.prototype.p2p = function (encoder, value) {
|
|
2372
|
+
var tmp0_desc = this.o2p_1;
|
|
2384
2373
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2385
|
-
tmp1_output.i1n(tmp0_desc, 0, value.
|
|
2386
|
-
tmp1_output.o1n(tmp0_desc, 1, Companion_getInstance_7().l25(), value.
|
|
2387
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2388
|
-
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.
|
|
2389
|
-
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2374
|
+
tmp1_output.i1n(tmp0_desc, 0, value.i2p_1);
|
|
2375
|
+
tmp1_output.o1n(tmp0_desc, 1, Companion_getInstance_7().l25(), value.j2p_1);
|
|
2376
|
+
tmp1_output.e1n(tmp0_desc, 2, value.k2p_1);
|
|
2377
|
+
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.l2p_1 == null)) {
|
|
2378
|
+
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.l2p_1);
|
|
2390
2379
|
}
|
|
2391
2380
|
tmp1_output.z1l(tmp0_desc);
|
|
2392
2381
|
};
|
|
2393
2382
|
$serializer_5.prototype.r1i = function (encoder, value) {
|
|
2394
|
-
return this.
|
|
2383
|
+
return this.p2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2395
2384
|
};
|
|
2396
2385
|
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2397
2386
|
var $serializer_instance_5;
|
|
@@ -2402,15 +2391,15 @@
|
|
|
2402
2391
|
}
|
|
2403
2392
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2404
2393
|
if (!(7 === (7 & seen1))) {
|
|
2405
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2394
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().o2p_1);
|
|
2406
2395
|
}
|
|
2407
|
-
$this.
|
|
2408
|
-
$this.
|
|
2409
|
-
$this.
|
|
2396
|
+
$this.i2p_1 = startFromTime;
|
|
2397
|
+
$this.j2p_1 = state;
|
|
2398
|
+
$this.k2p_1 = ready;
|
|
2410
2399
|
if (0 === (seen1 & 8))
|
|
2411
|
-
$this.
|
|
2400
|
+
$this.l2p_1 = null;
|
|
2412
2401
|
else
|
|
2413
|
-
$this.
|
|
2402
|
+
$this.l2p_1 = tag;
|
|
2414
2403
|
return $this;
|
|
2415
2404
|
}
|
|
2416
2405
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2418,19 +2407,19 @@
|
|
|
2418
2407
|
}
|
|
2419
2408
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2420
2409
|
Companion_getInstance_11();
|
|
2421
|
-
this.
|
|
2422
|
-
this.
|
|
2423
|
-
this.
|
|
2424
|
-
this.
|
|
2410
|
+
this.i2p_1 = startFromTime;
|
|
2411
|
+
this.j2p_1 = state;
|
|
2412
|
+
this.k2p_1 = ready;
|
|
2413
|
+
this.l2p_1 = tag;
|
|
2425
2414
|
}
|
|
2426
2415
|
PlayerStateDto.prototype.toString = function () {
|
|
2427
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2416
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.i2p_1) + ', state=' + this.j2p_1 + ', ready=' + this.k2p_1 + ', tag=' + this.l2p_1 + ')';
|
|
2428
2417
|
};
|
|
2429
2418
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2430
|
-
var result = this.
|
|
2431
|
-
result = imul(result, 31) + this.
|
|
2432
|
-
result = imul(result, 31) + (this.
|
|
2433
|
-
result = imul(result, 31) + (this.
|
|
2419
|
+
var result = this.i2p_1.hashCode();
|
|
2420
|
+
result = imul(result, 31) + this.j2p_1.hashCode() | 0;
|
|
2421
|
+
result = imul(result, 31) + (this.k2p_1 | 0) | 0;
|
|
2422
|
+
result = imul(result, 31) + (this.l2p_1 == null ? 0 : getStringHashCode(this.l2p_1)) | 0;
|
|
2434
2423
|
return result;
|
|
2435
2424
|
};
|
|
2436
2425
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2439,13 +2428,13 @@
|
|
|
2439
2428
|
if (!(other instanceof PlayerStateDto))
|
|
2440
2429
|
return false;
|
|
2441
2430
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2442
|
-
if (!this.
|
|
2431
|
+
if (!this.i2p_1.equals(tmp0_other_with_cast.i2p_1))
|
|
2443
2432
|
return false;
|
|
2444
|
-
if (!this.
|
|
2433
|
+
if (!this.j2p_1.equals(tmp0_other_with_cast.j2p_1))
|
|
2445
2434
|
return false;
|
|
2446
|
-
if (!(this.
|
|
2435
|
+
if (!(this.k2p_1 === tmp0_other_with_cast.k2p_1))
|
|
2447
2436
|
return false;
|
|
2448
|
-
if (!(this.
|
|
2437
|
+
if (!(this.l2p_1 == tmp0_other_with_cast.l2p_1))
|
|
2449
2438
|
return false;
|
|
2450
2439
|
return true;
|
|
2451
2440
|
};
|
|
@@ -2479,10 +2468,10 @@
|
|
|
2479
2468
|
tmp0_serialDesc.d1t('checkTrumpCombination', false);
|
|
2480
2469
|
tmp0_serialDesc.d1t('checkOnlyTrumpDebertz', false);
|
|
2481
2470
|
tmp0_serialDesc.d1t('tenCardsInHand', false);
|
|
2482
|
-
this.
|
|
2471
|
+
this.q2p_1 = tmp0_serialDesc;
|
|
2483
2472
|
}
|
|
2484
2473
|
$serializer_6.prototype.q1i = function () {
|
|
2485
|
-
return this.
|
|
2474
|
+
return this.q2p_1;
|
|
2486
2475
|
};
|
|
2487
2476
|
$serializer_6.prototype.s1t = function () {
|
|
2488
2477
|
var tmp$ret$2;
|
|
@@ -2498,7 +2487,7 @@
|
|
|
2498
2487
|
return tmp$ret$2;
|
|
2499
2488
|
};
|
|
2500
2489
|
$serializer_6.prototype.s1i = function (decoder) {
|
|
2501
|
-
var tmp0_desc = this.
|
|
2490
|
+
var tmp0_desc = this.q2p_1;
|
|
2502
2491
|
var tmp1_flag = true;
|
|
2503
2492
|
var tmp2_index = 0;
|
|
2504
2493
|
var tmp3_bitMask0 = 0;
|
|
@@ -2630,29 +2619,29 @@
|
|
|
2630
2619
|
tmp20_input.z1l(tmp0_desc);
|
|
2631
2620
|
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, null);
|
|
2632
2621
|
};
|
|
2633
|
-
$serializer_6.prototype.
|
|
2634
|
-
var tmp0_desc = this.
|
|
2622
|
+
$serializer_6.prototype.r2p = function (encoder, value) {
|
|
2623
|
+
var tmp0_desc = this.q2p_1;
|
|
2635
2624
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2636
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
2637
|
-
tmp1_output.e1n(tmp0_desc, 1, value.
|
|
2638
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2639
|
-
tmp1_output.e1n(tmp0_desc, 3, value.
|
|
2640
|
-
tmp1_output.e1n(tmp0_desc, 4, value.
|
|
2641
|
-
tmp1_output.e1n(tmp0_desc, 5, value.
|
|
2642
|
-
tmp1_output.e1n(tmp0_desc, 6, value.
|
|
2643
|
-
tmp1_output.e1n(tmp0_desc, 7, value.
|
|
2644
|
-
tmp1_output.e1n(tmp0_desc, 8, value.
|
|
2645
|
-
tmp1_output.e1n(tmp0_desc, 9, value.
|
|
2646
|
-
tmp1_output.e1n(tmp0_desc, 10, value.
|
|
2647
|
-
tmp1_output.h1n(tmp0_desc, 11, value.
|
|
2648
|
-
tmp1_output.e1n(tmp0_desc, 12, value.
|
|
2649
|
-
tmp1_output.e1n(tmp0_desc, 13, value.
|
|
2650
|
-
tmp1_output.e1n(tmp0_desc, 14, value.
|
|
2651
|
-
tmp1_output.e1n(tmp0_desc, 15, value.
|
|
2625
|
+
tmp1_output.e1n(tmp0_desc, 0, value.p2o_1);
|
|
2626
|
+
tmp1_output.e1n(tmp0_desc, 1, value.q2o_1);
|
|
2627
|
+
tmp1_output.e1n(tmp0_desc, 2, value.r2o_1);
|
|
2628
|
+
tmp1_output.e1n(tmp0_desc, 3, value.s2o_1);
|
|
2629
|
+
tmp1_output.e1n(tmp0_desc, 4, value.t2o_1);
|
|
2630
|
+
tmp1_output.e1n(tmp0_desc, 5, value.u2o_1);
|
|
2631
|
+
tmp1_output.e1n(tmp0_desc, 6, value.v2o_1);
|
|
2632
|
+
tmp1_output.e1n(tmp0_desc, 7, value.w2o_1);
|
|
2633
|
+
tmp1_output.e1n(tmp0_desc, 8, value.x2o_1);
|
|
2634
|
+
tmp1_output.e1n(tmp0_desc, 9, value.y2o_1);
|
|
2635
|
+
tmp1_output.e1n(tmp0_desc, 10, value.z2o_1);
|
|
2636
|
+
tmp1_output.h1n(tmp0_desc, 11, value.a2p_1);
|
|
2637
|
+
tmp1_output.e1n(tmp0_desc, 12, value.b2p_1);
|
|
2638
|
+
tmp1_output.e1n(tmp0_desc, 13, value.c2p_1);
|
|
2639
|
+
tmp1_output.e1n(tmp0_desc, 14, value.d2p_1);
|
|
2640
|
+
tmp1_output.e1n(tmp0_desc, 15, value.e2p_1);
|
|
2652
2641
|
tmp1_output.z1l(tmp0_desc);
|
|
2653
2642
|
};
|
|
2654
2643
|
$serializer_6.prototype.r1i = function (encoder, value) {
|
|
2655
|
-
return this.
|
|
2644
|
+
return this.r2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2656
2645
|
};
|
|
2657
2646
|
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2658
2647
|
var $serializer_instance_6;
|
|
@@ -2663,24 +2652,24 @@
|
|
|
2663
2652
|
}
|
|
2664
2653
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2665
2654
|
if (!(65535 === (65535 & seen1))) {
|
|
2666
|
-
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().
|
|
2655
|
+
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().q2p_1);
|
|
2667
2656
|
}
|
|
2668
|
-
$this.
|
|
2669
|
-
$this.
|
|
2670
|
-
$this.
|
|
2671
|
-
$this.
|
|
2672
|
-
$this.
|
|
2673
|
-
$this.
|
|
2674
|
-
$this.
|
|
2675
|
-
$this.
|
|
2676
|
-
$this.
|
|
2677
|
-
$this.
|
|
2678
|
-
$this.
|
|
2679
|
-
$this.
|
|
2680
|
-
$this.
|
|
2681
|
-
$this.
|
|
2682
|
-
$this.
|
|
2683
|
-
$this.
|
|
2657
|
+
$this.p2o_1 = needToPutHigherTrump;
|
|
2658
|
+
$this.q2o_1 = distributePoints;
|
|
2659
|
+
$this.r2o_1 = protectBella;
|
|
2660
|
+
$this.s2o_1 = enableFourSevensCombination;
|
|
2661
|
+
$this.t2o_1 = enableTrumpSevenCombination;
|
|
2662
|
+
$this.u2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2663
|
+
$this.v2o_1 = playerWhoChooseSuitGoFirst;
|
|
2664
|
+
$this.w2o_1 = winnerShuffleCards;
|
|
2665
|
+
$this.x2o_1 = playWithoutLiabilities;
|
|
2666
|
+
$this.y2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2667
|
+
$this.z2o_1 = enableFineIfNoBribes;
|
|
2668
|
+
$this.a2p_1 = fineIfNoBribes;
|
|
2669
|
+
$this.b2p_1 = enableFineAfterThirdByte;
|
|
2670
|
+
$this.c2p_1 = checkTrumpCombination;
|
|
2671
|
+
$this.d2p_1 = checkOnlyTrumpDebertz;
|
|
2672
|
+
$this.e2p_1 = tenCardsInHand;
|
|
2684
2673
|
return $this;
|
|
2685
2674
|
}
|
|
2686
2675
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2688,28 +2677,29 @@
|
|
|
2688
2677
|
}
|
|
2689
2678
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2690
2679
|
Companion_getInstance_12();
|
|
2691
|
-
this.
|
|
2692
|
-
this.
|
|
2693
|
-
this.
|
|
2694
|
-
this.
|
|
2695
|
-
this.
|
|
2696
|
-
this.
|
|
2697
|
-
this.
|
|
2698
|
-
this.
|
|
2699
|
-
this.
|
|
2700
|
-
this.
|
|
2701
|
-
this.
|
|
2702
|
-
this.
|
|
2703
|
-
this.
|
|
2704
|
-
this.
|
|
2705
|
-
this.
|
|
2706
|
-
this.
|
|
2680
|
+
this.p2o_1 = needToPutHigherTrump;
|
|
2681
|
+
this.q2o_1 = distributePoints;
|
|
2682
|
+
this.r2o_1 = protectBella;
|
|
2683
|
+
this.s2o_1 = enableFourSevensCombination;
|
|
2684
|
+
this.t2o_1 = enableTrumpSevenCombination;
|
|
2685
|
+
this.u2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2686
|
+
this.v2o_1 = playerWhoChooseSuitGoFirst;
|
|
2687
|
+
this.w2o_1 = winnerShuffleCards;
|
|
2688
|
+
this.x2o_1 = playWithoutLiabilities;
|
|
2689
|
+
this.y2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2690
|
+
this.z2o_1 = enableFineIfNoBribes;
|
|
2691
|
+
this.a2p_1 = fineIfNoBribes;
|
|
2692
|
+
this.b2p_1 = enableFineAfterThirdByte;
|
|
2693
|
+
this.c2p_1 = checkTrumpCombination;
|
|
2694
|
+
this.d2p_1 = checkOnlyTrumpDebertz;
|
|
2695
|
+
this.e2p_1 = tenCardsInHand;
|
|
2707
2696
|
}
|
|
2708
2697
|
RulesDto.prototype.toString = function () {
|
|
2709
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2698
|
+
return 'RulesDto(needToPutHigherTrump=' + this.p2o_1 + ', distributePoints=' + this.q2o_1 + ', protectBella=' + this.r2o_1 + ', enableFourSevensCombination=' + this.s2o_1 + ', enableTrumpSevenCombination=' + this.t2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.u2o_1 + ', playerWhoChooseSuitGoFirst=' + this.v2o_1 + ', winnerShuffleCards=' + this.w2o_1 + ', playWithoutLiabilities=' + this.x2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.y2o_1 + ', enableFineIfNoBribes=' + this.z2o_1 + ', fineIfNoBribes=' + this.a2p_1 + ', enableFineAfterThirdByte=' + this.b2p_1 + ', checkTrumpCombination=' + this.c2p_1 + ', checkOnlyTrumpDebertz=' + this.d2p_1 + ', tenCardsInHand=' + this.e2p_1 + ')';
|
|
2710
2699
|
};
|
|
2711
2700
|
RulesDto.prototype.hashCode = function () {
|
|
2712
|
-
var result = this.
|
|
2701
|
+
var result = this.p2o_1 | 0;
|
|
2702
|
+
result = imul(result, 31) + (this.q2o_1 | 0) | 0;
|
|
2713
2703
|
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2714
2704
|
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2715
2705
|
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
@@ -2719,12 +2709,11 @@
|
|
|
2719
2709
|
result = imul(result, 31) + (this.x2o_1 | 0) | 0;
|
|
2720
2710
|
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2721
2711
|
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2722
|
-
result = imul(result, 31) +
|
|
2723
|
-
result = imul(result, 31) + this.b2p_1 | 0;
|
|
2712
|
+
result = imul(result, 31) + this.a2p_1 | 0;
|
|
2713
|
+
result = imul(result, 31) + (this.b2p_1 | 0) | 0;
|
|
2724
2714
|
result = imul(result, 31) + (this.c2p_1 | 0) | 0;
|
|
2725
2715
|
result = imul(result, 31) + (this.d2p_1 | 0) | 0;
|
|
2726
2716
|
result = imul(result, 31) + (this.e2p_1 | 0) | 0;
|
|
2727
|
-
result = imul(result, 31) + (this.f2p_1 | 0) | 0;
|
|
2728
2717
|
return result;
|
|
2729
2718
|
};
|
|
2730
2719
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2733,6 +2722,8 @@
|
|
|
2733
2722
|
if (!(other instanceof RulesDto))
|
|
2734
2723
|
return false;
|
|
2735
2724
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2725
|
+
if (!(this.p2o_1 === tmp0_other_with_cast.p2o_1))
|
|
2726
|
+
return false;
|
|
2736
2727
|
if (!(this.q2o_1 === tmp0_other_with_cast.q2o_1))
|
|
2737
2728
|
return false;
|
|
2738
2729
|
if (!(this.r2o_1 === tmp0_other_with_cast.r2o_1))
|
|
@@ -2763,21 +2754,19 @@
|
|
|
2763
2754
|
return false;
|
|
2764
2755
|
if (!(this.e2p_1 === tmp0_other_with_cast.e2p_1))
|
|
2765
2756
|
return false;
|
|
2766
|
-
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2767
|
-
return false;
|
|
2768
2757
|
return true;
|
|
2769
2758
|
};
|
|
2770
2759
|
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_6});
|
|
2771
2760
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2772
|
-
this.
|
|
2773
|
-
this.
|
|
2761
|
+
this.s2p_1 = trump;
|
|
2762
|
+
this.t2p_1 = firstCardSuit;
|
|
2774
2763
|
}
|
|
2775
|
-
CardGrowthComparator.prototype.
|
|
2776
|
-
return getGrowth(b, this.
|
|
2764
|
+
CardGrowthComparator.prototype.u2p = function (a, b) {
|
|
2765
|
+
return getGrowth(b, this.s2p_1, this.t2p_1) - getGrowth(a, this.s2p_1, this.t2p_1) | 0;
|
|
2777
2766
|
};
|
|
2778
2767
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2779
2768
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2780
|
-
return this.
|
|
2769
|
+
return this.u2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2781
2770
|
};
|
|
2782
2771
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
2783
2772
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -2801,12 +2790,12 @@
|
|
|
2801
2790
|
function CardIndexComparator() {
|
|
2802
2791
|
CardIndexComparator_instance = this;
|
|
2803
2792
|
}
|
|
2804
|
-
CardIndexComparator.prototype.
|
|
2805
|
-
return a.
|
|
2793
|
+
CardIndexComparator.prototype.u2p = function (a, b) {
|
|
2794
|
+
return a.m2o_1 - b.m2o_1 | 0;
|
|
2806
2795
|
};
|
|
2807
2796
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2808
2797
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2809
|
-
return this.
|
|
2798
|
+
return this.u2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2810
2799
|
};
|
|
2811
2800
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
2812
2801
|
var CardIndexComparator_instance;
|
|
@@ -2836,12 +2825,12 @@
|
|
|
2836
2825
|
function CardNumberComparator() {
|
|
2837
2826
|
CardNumberComparator_instance = this;
|
|
2838
2827
|
}
|
|
2839
|
-
CardNumberComparator.prototype.
|
|
2840
|
-
return b.
|
|
2828
|
+
CardNumberComparator.prototype.u2p = function (a, b) {
|
|
2829
|
+
return b.v2p() - a.v2p() | 0;
|
|
2841
2830
|
};
|
|
2842
2831
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2843
2832
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2844
|
-
return this.
|
|
2833
|
+
return this.u2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2845
2834
|
};
|
|
2846
2835
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
2847
2836
|
var CardNumberComparator_instance;
|
|
@@ -2851,7 +2840,7 @@
|
|
|
2851
2840
|
return CardNumberComparator_instance;
|
|
2852
2841
|
}
|
|
2853
2842
|
function getPoint(_this__u8e3s4, trump) {
|
|
2854
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
2843
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.w2p());
|
|
2855
2844
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
2856
2845
|
var tmp0 = tmp0_subject.e5_1;
|
|
2857
2846
|
var tmp;
|
|
@@ -2885,8 +2874,8 @@
|
|
|
2885
2874
|
}
|
|
2886
2875
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2887
2876
|
var minPoint = 0;
|
|
2888
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2889
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2877
|
+
var isTrump = trump.equals(_this__u8e3s4.w2p());
|
|
2878
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.w2p());
|
|
2890
2879
|
var minGrowth;
|
|
2891
2880
|
var maxGrowth;
|
|
2892
2881
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
@@ -2984,7 +2973,7 @@
|
|
|
2984
2973
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2985
2974
|
var tmp$ret$0;
|
|
2986
2975
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
2987
|
-
tmp$ret$0 = p1.
|
|
2976
|
+
tmp$ret$0 = p1.w2p().equals(element);
|
|
2988
2977
|
if (tmp$ret$0) {
|
|
2989
2978
|
tmp$ret$1 = true;
|
|
2990
2979
|
break $l$block;
|
|
@@ -3032,10 +3021,10 @@
|
|
|
3032
3021
|
function Companion_13() {
|
|
3033
3022
|
Companion_instance_13 = this;
|
|
3034
3023
|
}
|
|
3035
|
-
Companion_13.prototype.
|
|
3024
|
+
Companion_13.prototype.x2p = function (suit, cardNumber) {
|
|
3036
3025
|
return new GameCard(getNumber(Companion_getInstance_14(), cardNumber, suit));
|
|
3037
3026
|
};
|
|
3038
|
-
Companion_13.prototype.
|
|
3027
|
+
Companion_13.prototype.y2p = function (position, playerIndex, reverse) {
|
|
3039
3028
|
var tmp;
|
|
3040
3029
|
if (reverse) {
|
|
3041
3030
|
Companion_getInstance_14();
|
|
@@ -3049,10 +3038,10 @@
|
|
|
3049
3038
|
var index = tmp;
|
|
3050
3039
|
return new GameCard(index);
|
|
3051
3040
|
};
|
|
3052
|
-
Companion_13.prototype.
|
|
3041
|
+
Companion_13.prototype.z2p = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3053
3042
|
if (!(($mask0 & 4) === 0))
|
|
3054
3043
|
reverse = false;
|
|
3055
|
-
return this.
|
|
3044
|
+
return this.y2p(position, playerIndex, reverse);
|
|
3056
3045
|
};
|
|
3057
3046
|
Companion_13.$metadata$ = objectMeta('Companion');
|
|
3058
3047
|
var Companion_instance_13;
|
|
@@ -3162,7 +3151,7 @@
|
|
|
3162
3151
|
return tmp;
|
|
3163
3152
|
}
|
|
3164
3153
|
function _get_isShirt__vd98rp($this) {
|
|
3165
|
-
var tmp = $this.
|
|
3154
|
+
var tmp = $this.m2o_1;
|
|
3166
3155
|
Companion_getInstance_14();
|
|
3167
3156
|
return tmp === 52;
|
|
3168
3157
|
}
|
|
@@ -3172,10 +3161,10 @@
|
|
|
3172
3161
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3173
3162
|
function Companion_14() {
|
|
3174
3163
|
Companion_instance_14 = this;
|
|
3175
|
-
this.
|
|
3176
|
-
this.
|
|
3177
|
-
this.
|
|
3178
|
-
this.
|
|
3164
|
+
this.a2q_1 = -1;
|
|
3165
|
+
this.b2q_1 = 13;
|
|
3166
|
+
this.c2q_1 = 52;
|
|
3167
|
+
this.d2q_1 = 53;
|
|
3179
3168
|
}
|
|
3180
3169
|
Companion_14.$metadata$ = objectMeta('Companion');
|
|
3181
3170
|
var Companion_instance_14;
|
|
@@ -3242,58 +3231,58 @@
|
|
|
3242
3231
|
}
|
|
3243
3232
|
function GameCard(index) {
|
|
3244
3233
|
Companion_getInstance_14();
|
|
3245
|
-
this.
|
|
3234
|
+
this.m2o_1 = index;
|
|
3246
3235
|
}
|
|
3247
3236
|
GameCard.prototype.b3 = function () {
|
|
3248
|
-
return this.
|
|
3237
|
+
return this.m2o_1;
|
|
3249
3238
|
};
|
|
3250
|
-
GameCard.prototype.
|
|
3239
|
+
GameCard.prototype.w2p = function () {
|
|
3251
3240
|
var tmp;
|
|
3252
3241
|
Companion_getInstance_14();
|
|
3253
3242
|
var containsUpper = 13;
|
|
3254
|
-
var containsArg = this.
|
|
3243
|
+
var containsArg = this.m2o_1;
|
|
3255
3244
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3256
3245
|
tmp = Suit_DIAMOND_getInstance();
|
|
3257
3246
|
} else {
|
|
3258
|
-
var tmp_0 = this.
|
|
3247
|
+
var tmp_0 = this.m2o_1;
|
|
3259
3248
|
Companion_getInstance_14();
|
|
3260
3249
|
if (tmp_0 <= imul(13, 2)) {
|
|
3261
3250
|
tmp = Suit_SPADE_getInstance();
|
|
3262
3251
|
} else {
|
|
3263
|
-
var tmp_1 = this.
|
|
3252
|
+
var tmp_1 = this.m2o_1;
|
|
3264
3253
|
Companion_getInstance_14();
|
|
3265
3254
|
if (tmp_1 <= imul(13, 3)) {
|
|
3266
3255
|
tmp = Suit_HEART_getInstance();
|
|
3267
3256
|
} else {
|
|
3268
|
-
var tmp_2 = this.
|
|
3257
|
+
var tmp_2 = this.m2o_1;
|
|
3269
3258
|
Companion_getInstance_14();
|
|
3270
3259
|
if (tmp_2 <= imul(13, 4)) {
|
|
3271
3260
|
tmp = Suit_CLUB_getInstance();
|
|
3272
3261
|
} else {
|
|
3273
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3262
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.m2o_1);
|
|
3274
3263
|
}
|
|
3275
3264
|
}
|
|
3276
3265
|
}
|
|
3277
3266
|
}
|
|
3278
3267
|
return tmp;
|
|
3279
3268
|
};
|
|
3280
|
-
GameCard.prototype.
|
|
3269
|
+
GameCard.prototype.v2p = function () {
|
|
3281
3270
|
var tmp;
|
|
3282
|
-
if (this.
|
|
3271
|
+
if (this.e2q()) {
|
|
3283
3272
|
Companion_getInstance_14();
|
|
3284
3273
|
tmp = -1;
|
|
3285
3274
|
} else {
|
|
3286
|
-
var tmp_0 = this.
|
|
3275
|
+
var tmp_0 = this.m2o_1;
|
|
3287
3276
|
Companion_getInstance_14();
|
|
3288
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3277
|
+
tmp = tmp_0 - imul(13, getIndex(this.w2p())) | 0;
|
|
3289
3278
|
}
|
|
3290
3279
|
return tmp;
|
|
3291
3280
|
};
|
|
3292
3281
|
GameCard.prototype.f5 = function () {
|
|
3293
|
-
return this.
|
|
3282
|
+
return this.e2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_14(), this.v2p());
|
|
3294
3283
|
};
|
|
3295
|
-
GameCard.prototype.
|
|
3296
|
-
var tmp = this.
|
|
3284
|
+
GameCard.prototype.e2q = function () {
|
|
3285
|
+
var tmp = this.m2o_1;
|
|
3297
3286
|
Companion_getInstance_14();
|
|
3298
3287
|
return tmp >= 53;
|
|
3299
3288
|
};
|
|
@@ -3301,13 +3290,13 @@
|
|
|
3301
3290
|
if (_get_isShirt__vd98rp(this)) {
|
|
3302
3291
|
return 'GameCard(SHIRT)';
|
|
3303
3292
|
}
|
|
3304
|
-
if (this.
|
|
3305
|
-
return 'GameCard(STUB, ' + this.
|
|
3293
|
+
if (this.e2q()) {
|
|
3294
|
+
return 'GameCard(STUB, ' + this.m2o_1 + ')';
|
|
3306
3295
|
}
|
|
3307
|
-
return 'GameCard(' + this.f5() + ', suit: ' + this.
|
|
3296
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.w2p() + ', index=' + this.m2o_1 + ')';
|
|
3308
3297
|
};
|
|
3309
3298
|
GameCard.prototype.hashCode = function () {
|
|
3310
|
-
return this.
|
|
3299
|
+
return this.m2o_1;
|
|
3311
3300
|
};
|
|
3312
3301
|
GameCard.prototype.equals = function (other) {
|
|
3313
3302
|
if (this === other)
|
|
@@ -3315,24 +3304,24 @@
|
|
|
3315
3304
|
if (!(other instanceof GameCard))
|
|
3316
3305
|
return false;
|
|
3317
3306
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3318
|
-
if (!(this.
|
|
3307
|
+
if (!(this.m2o_1 === tmp0_other_with_cast.m2o_1))
|
|
3319
3308
|
return false;
|
|
3320
3309
|
return true;
|
|
3321
3310
|
};
|
|
3322
3311
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
3323
3312
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3324
|
-
this.
|
|
3325
|
-
this.
|
|
3313
|
+
this.n2o_1 = playerId;
|
|
3314
|
+
this.o2o_1 = gameCard;
|
|
3326
3315
|
}
|
|
3327
|
-
GameCardWIthPlayerId.prototype.
|
|
3328
|
-
return this.
|
|
3316
|
+
GameCardWIthPlayerId.prototype.f2l = function () {
|
|
3317
|
+
return this.n2o_1;
|
|
3329
3318
|
};
|
|
3330
3319
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3331
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3320
|
+
return 'GameCardWIthPlayerId(playerId=' + this.n2o_1 + ', gameCard=' + this.o2o_1 + ')';
|
|
3332
3321
|
};
|
|
3333
3322
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3334
|
-
var result = getStringHashCode(this.
|
|
3335
|
-
result = imul(result, 31) + this.
|
|
3323
|
+
var result = getStringHashCode(this.n2o_1);
|
|
3324
|
+
result = imul(result, 31) + this.o2o_1.hashCode() | 0;
|
|
3336
3325
|
return result;
|
|
3337
3326
|
};
|
|
3338
3327
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3341,9 +3330,9 @@
|
|
|
3341
3330
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3342
3331
|
return false;
|
|
3343
3332
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3344
|
-
if (!(this.
|
|
3333
|
+
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
3345
3334
|
return false;
|
|
3346
|
-
if (!this.
|
|
3335
|
+
if (!this.o2o_1.equals(tmp0_other_with_cast.o2o_1))
|
|
3347
3336
|
return false;
|
|
3348
3337
|
return true;
|
|
3349
3338
|
};
|
|
@@ -3351,22 +3340,22 @@
|
|
|
3351
3340
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
3352
3341
|
configurable: true,
|
|
3353
3342
|
get: function () {
|
|
3354
|
-
return this.
|
|
3343
|
+
return this.f2l();
|
|
3355
3344
|
}
|
|
3356
3345
|
});
|
|
3357
3346
|
function ProcessingCard(gameCard, payload) {
|
|
3358
|
-
this.
|
|
3359
|
-
this.
|
|
3347
|
+
this.f2q_1 = gameCard;
|
|
3348
|
+
this.g2q_1 = payload;
|
|
3360
3349
|
}
|
|
3361
|
-
ProcessingCard.prototype.
|
|
3362
|
-
return this.
|
|
3350
|
+
ProcessingCard.prototype.h2q = function () {
|
|
3351
|
+
return this.f2q_1;
|
|
3363
3352
|
};
|
|
3364
3353
|
ProcessingCard.prototype.toString = function () {
|
|
3365
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3354
|
+
return 'ProcessingCard(gameCard=' + this.f2q_1 + ', payload=' + this.g2q_1 + ')';
|
|
3366
3355
|
};
|
|
3367
3356
|
ProcessingCard.prototype.hashCode = function () {
|
|
3368
|
-
var result = this.
|
|
3369
|
-
result = imul(result, 31) + (this.
|
|
3357
|
+
var result = this.f2q_1.hashCode();
|
|
3358
|
+
result = imul(result, 31) + (this.g2q_1 == null ? 0 : hashCode(this.g2q_1)) | 0;
|
|
3370
3359
|
return result;
|
|
3371
3360
|
};
|
|
3372
3361
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3375,9 +3364,9 @@
|
|
|
3375
3364
|
if (!(other instanceof ProcessingCard))
|
|
3376
3365
|
return false;
|
|
3377
3366
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3378
|
-
if (!this.
|
|
3367
|
+
if (!this.f2q_1.equals(tmp0_other_with_cast.f2q_1))
|
|
3379
3368
|
return false;
|
|
3380
|
-
if (!equals(this.
|
|
3369
|
+
if (!equals(this.g2q_1, tmp0_other_with_cast.g2q_1))
|
|
3381
3370
|
return false;
|
|
3382
3371
|
return true;
|
|
3383
3372
|
};
|
|
@@ -3393,10 +3382,10 @@
|
|
|
3393
3382
|
Companion_instance_15 = this;
|
|
3394
3383
|
var tmp = this;
|
|
3395
3384
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3396
|
-
tmp.
|
|
3385
|
+
tmp.i2q_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3397
3386
|
}
|
|
3398
3387
|
Companion_15.prototype.l25 = function () {
|
|
3399
|
-
return this.
|
|
3388
|
+
return this.i2q_1.c2();
|
|
3400
3389
|
};
|
|
3401
3390
|
Companion_15.prototype.b1u = function (typeParamsSerializers) {
|
|
3402
3391
|
return this.l25();
|
|
@@ -3467,36 +3456,36 @@
|
|
|
3467
3456
|
return tmp;
|
|
3468
3457
|
}
|
|
3469
3458
|
function _no_name_provided__qut3iv($logger) {
|
|
3470
|
-
this.
|
|
3459
|
+
this.k2q_1 = $logger;
|
|
3471
3460
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3472
3461
|
}
|
|
3473
3462
|
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3474
|
-
return this.
|
|
3463
|
+
return this.k2q_1.l2q('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
3475
3464
|
};
|
|
3476
3465
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
3477
3466
|
function AsyncProviderImpl(logger) {
|
|
3478
3467
|
var tmp = this;
|
|
3479
|
-
tmp.
|
|
3468
|
+
tmp.m2q_1 = Job$default(null, 1, null);
|
|
3480
3469
|
var tmp_0 = this;
|
|
3481
3470
|
var tmp$ret$0;
|
|
3482
3471
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3483
3472
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3484
|
-
tmp_0.
|
|
3485
|
-
this.
|
|
3486
|
-
this.
|
|
3473
|
+
tmp_0.n2q_1 = tmp$ret$0;
|
|
3474
|
+
this.o2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.m2q_1));
|
|
3475
|
+
this.p2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.m2q_1));
|
|
3487
3476
|
}
|
|
3488
|
-
AsyncProviderImpl.prototype.
|
|
3489
|
-
return this.
|
|
3477
|
+
AsyncProviderImpl.prototype.q2q = function () {
|
|
3478
|
+
return this.n2q_1;
|
|
3490
3479
|
};
|
|
3491
|
-
AsyncProviderImpl.prototype.
|
|
3492
|
-
return launch$default(this.
|
|
3480
|
+
AsyncProviderImpl.prototype.r2q = function (context, block) {
|
|
3481
|
+
return launch$default(this.o2q_1, context, null, block, 2, null);
|
|
3493
3482
|
};
|
|
3494
|
-
AsyncProviderImpl.prototype.
|
|
3495
|
-
return launch$default(this.
|
|
3483
|
+
AsyncProviderImpl.prototype.t2q = function (context, block) {
|
|
3484
|
+
return launch$default(this.p2q_1, context, null, block, 2, null);
|
|
3496
3485
|
};
|
|
3497
3486
|
AsyncProviderImpl.prototype.rn = function () {
|
|
3498
|
-
if (!this.
|
|
3499
|
-
this.
|
|
3487
|
+
if (!this.m2q_1.xp()) {
|
|
3488
|
+
this.m2q_1.om(null, 1, null);
|
|
3500
3489
|
}
|
|
3501
3490
|
};
|
|
3502
3491
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
@@ -3504,37 +3493,37 @@
|
|
|
3504
3493
|
}
|
|
3505
3494
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3506
3495
|
function JobsProviderImpl(logger) {
|
|
3507
|
-
this.
|
|
3496
|
+
this.v2q_1 = logger;
|
|
3508
3497
|
var tmp = this;
|
|
3509
3498
|
var tmp$ret$0;
|
|
3510
3499
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3511
3500
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3512
|
-
tmp.
|
|
3501
|
+
tmp.w2q_1 = tmp$ret$0;
|
|
3513
3502
|
}
|
|
3514
|
-
JobsProviderImpl.prototype.
|
|
3515
|
-
if (this.
|
|
3516
|
-
this.
|
|
3503
|
+
JobsProviderImpl.prototype.x2q = function (timerTag, job) {
|
|
3504
|
+
if (this.z2q(timerTag)) {
|
|
3505
|
+
this.v2q_1.y2q(null, 'Timer already exists for that tag: ' + timerTag, 1, null);
|
|
3517
3506
|
}
|
|
3518
3507
|
// Inline function 'kotlin.collections.set' call
|
|
3519
|
-
var tmp0_set = this.
|
|
3508
|
+
var tmp0_set = this.w2q_1;
|
|
3520
3509
|
tmp0_set.o(timerTag, job);
|
|
3521
3510
|
};
|
|
3522
|
-
JobsProviderImpl.prototype.
|
|
3523
|
-
return this.
|
|
3511
|
+
JobsProviderImpl.prototype.z2q = function (timerTag) {
|
|
3512
|
+
return this.w2q_1.j2(timerTag);
|
|
3524
3513
|
};
|
|
3525
|
-
JobsProviderImpl.prototype.
|
|
3526
|
-
if (!this.
|
|
3527
|
-
this.
|
|
3514
|
+
JobsProviderImpl.prototype.a2r = function (timerTag) {
|
|
3515
|
+
if (!this.z2q(timerTag)) {
|
|
3516
|
+
this.v2q_1.y2q(null, "Can't find timer for that tag: " + timerTag, 1, null);
|
|
3528
3517
|
}
|
|
3529
|
-
this.
|
|
3518
|
+
this.w2q_1.od(timerTag);
|
|
3530
3519
|
};
|
|
3531
|
-
JobsProviderImpl.prototype.
|
|
3520
|
+
JobsProviderImpl.prototype.b2r = function (timers) {
|
|
3532
3521
|
// Inline function 'kotlin.collections.forEach' call
|
|
3533
3522
|
var tmp0_iterator = timers.f();
|
|
3534
3523
|
while (tmp0_iterator.g()) {
|
|
3535
3524
|
var element = tmp0_iterator.h();
|
|
3536
3525
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3537
|
-
var timer = this.
|
|
3526
|
+
var timer = this.w2q_1.n(element);
|
|
3538
3527
|
var tmp0_safe_receiver = timer;
|
|
3539
3528
|
if (tmp0_safe_receiver == null)
|
|
3540
3529
|
null;
|
|
@@ -3542,11 +3531,11 @@
|
|
|
3542
3531
|
tmp0_safe_receiver.om(null, 1, null);
|
|
3543
3532
|
}
|
|
3544
3533
|
}
|
|
3545
|
-
this.
|
|
3534
|
+
this.w2q_1.m2().mc(toSet(timers));
|
|
3546
3535
|
};
|
|
3547
|
-
JobsProviderImpl.prototype.
|
|
3548
|
-
var timer = this.
|
|
3549
|
-
this.
|
|
3536
|
+
JobsProviderImpl.prototype.c2r = function (timerTag) {
|
|
3537
|
+
var timer = this.w2q_1.n(timerTag);
|
|
3538
|
+
this.w2q_1.od(timerTag);
|
|
3550
3539
|
var tmp0_safe_receiver = timer;
|
|
3551
3540
|
if (tmp0_safe_receiver == null)
|
|
3552
3541
|
null;
|
|
@@ -3677,7 +3666,7 @@
|
|
|
3677
3666
|
return createStore(reducer, preloadedState, enhancer);
|
|
3678
3667
|
}
|
|
3679
3668
|
function createStore$dispatch(currentState, currentReducer, action) {
|
|
3680
|
-
currentState.x11(currentReducer._v.
|
|
3669
|
+
currentState.x11(currentReducer._v.d2r(currentState.c2(), action));
|
|
3681
3670
|
}
|
|
3682
3671
|
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
3683
3672
|
currentReducer._v = nextReducer;
|
|
@@ -3703,47 +3692,47 @@
|
|
|
3703
3692
|
return l;
|
|
3704
3693
|
}
|
|
3705
3694
|
function createStore$2($currentState, $currentReducer) {
|
|
3706
|
-
this.
|
|
3695
|
+
this.g2r_1 = $currentState;
|
|
3707
3696
|
var tmp = this;
|
|
3708
|
-
tmp.
|
|
3697
|
+
tmp.e2r_1 = createStore$dispatch$ref($currentState, $currentReducer);
|
|
3709
3698
|
var tmp_0 = this;
|
|
3710
|
-
tmp_0.
|
|
3699
|
+
tmp_0.f2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState);
|
|
3711
3700
|
}
|
|
3712
|
-
createStore$2.prototype.
|
|
3713
|
-
this.
|
|
3701
|
+
createStore$2.prototype.h2r = function (_set____db54di) {
|
|
3702
|
+
this.e2r_1 = _set____db54di;
|
|
3703
|
+
};
|
|
3704
|
+
createStore$2.prototype.i2r = function () {
|
|
3705
|
+
return this.e2r_1;
|
|
3714
3706
|
};
|
|
3715
3707
|
createStore$2.prototype.j2r = function () {
|
|
3716
|
-
return this.
|
|
3708
|
+
return this.g2r_1;
|
|
3717
3709
|
};
|
|
3718
3710
|
createStore$2.prototype.k2r = function () {
|
|
3719
|
-
return this.
|
|
3720
|
-
};
|
|
3721
|
-
createStore$2.prototype.l2r = function () {
|
|
3722
|
-
return this.g2r_1;
|
|
3711
|
+
return this.f2r_1;
|
|
3723
3712
|
};
|
|
3724
3713
|
createStore$2.prototype.am = function () {
|
|
3725
|
-
return this.
|
|
3714
|
+
return this.g2r_1.c2();
|
|
3726
3715
|
};
|
|
3727
3716
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
3728
3717
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3729
3718
|
configurable: true,
|
|
3730
3719
|
get: function () {
|
|
3731
|
-
return this.
|
|
3720
|
+
return this.i2r();
|
|
3732
3721
|
},
|
|
3733
3722
|
set: function (value) {
|
|
3734
|
-
this.
|
|
3723
|
+
this.h2r(value);
|
|
3735
3724
|
}
|
|
3736
3725
|
});
|
|
3737
3726
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3738
3727
|
configurable: true,
|
|
3739
3728
|
get: function () {
|
|
3740
|
-
return this.
|
|
3729
|
+
return this.j2r();
|
|
3741
3730
|
}
|
|
3742
3731
|
});
|
|
3743
3732
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3744
3733
|
configurable: true,
|
|
3745
3734
|
get: function () {
|
|
3746
|
-
return this.
|
|
3735
|
+
return this.k2r();
|
|
3747
3736
|
}
|
|
3748
3737
|
});
|
|
3749
3738
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3778,10 +3767,10 @@
|
|
|
3778
3767
|
return new middleware$1(dispatch);
|
|
3779
3768
|
}
|
|
3780
3769
|
function middleware$1($dispatch) {
|
|
3781
|
-
this.
|
|
3770
|
+
this.o2r_1 = $dispatch;
|
|
3782
3771
|
}
|
|
3783
|
-
middleware$1.prototype.
|
|
3784
|
-
this.
|
|
3772
|
+
middleware$1.prototype.n2r = function (store, next, action) {
|
|
3773
|
+
this.o2r_1(store, next, action);
|
|
3785
3774
|
};
|
|
3786
3775
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
3787
3776
|
function Reducer() {
|
|
@@ -3791,9 +3780,9 @@
|
|
|
3791
3780
|
return new combineReducers$1(reducers);
|
|
3792
3781
|
}
|
|
3793
3782
|
function combineReducers$1($reducers) {
|
|
3794
|
-
this.
|
|
3783
|
+
this.p2r_1 = $reducers;
|
|
3795
3784
|
}
|
|
3796
|
-
combineReducers$1.prototype.
|
|
3785
|
+
combineReducers$1.prototype.q2r = function (state, action) {
|
|
3797
3786
|
var tmp$ret$4;
|
|
3798
3787
|
// Inline function 'kotlin.collections.fold' call
|
|
3799
3788
|
var tmp$ret$2;
|
|
@@ -3801,7 +3790,7 @@
|
|
|
3801
3790
|
var tmp$ret$1;
|
|
3802
3791
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3803
3792
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3804
|
-
var indexedObject = this.
|
|
3793
|
+
var indexedObject = this.p2r_1;
|
|
3805
3794
|
var inductionVariable = 0;
|
|
3806
3795
|
var last = indexedObject.length;
|
|
3807
3796
|
while (inductionVariable < last) {
|
|
@@ -3809,7 +3798,7 @@
|
|
|
3809
3798
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3810
3799
|
var tmp$ret$0;
|
|
3811
3800
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3812
|
-
tmp$ret$0 = element.
|
|
3801
|
+
tmp$ret$0 = element.m2r(action);
|
|
3813
3802
|
if (tmp$ret$0) {
|
|
3814
3803
|
tmp0_filterTo.a(element);
|
|
3815
3804
|
}
|
|
@@ -3824,14 +3813,14 @@
|
|
|
3824
3813
|
var tmp$ret$3;
|
|
3825
3814
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3826
3815
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3827
|
-
tmp$ret$3 = element_0.
|
|
3816
|
+
tmp$ret$3 = element_0.d2r(tmp1__anonymous__uwfjfc, action);
|
|
3828
3817
|
accumulator = tmp$ret$3;
|
|
3829
3818
|
}
|
|
3830
3819
|
tmp$ret$4 = accumulator;
|
|
3831
3820
|
return tmp$ret$4;
|
|
3832
3821
|
};
|
|
3833
|
-
combineReducers$1.prototype.
|
|
3834
|
-
return this.
|
|
3822
|
+
combineReducers$1.prototype.d2r = function (state, action) {
|
|
3823
|
+
return this.q2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3835
3824
|
};
|
|
3836
3825
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
3837
3826
|
function Store() {
|
|
@@ -3845,7 +3834,7 @@
|
|
|
3845
3834
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3846
3835
|
configurable: true,
|
|
3847
3836
|
get: function () {
|
|
3848
|
-
return this.
|
|
3837
|
+
return this.l2r();
|
|
3849
3838
|
}
|
|
3850
3839
|
});
|
|
3851
3840
|
var INIT_instance;
|
|
@@ -3862,7 +3851,7 @@
|
|
|
3862
3851
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3863
3852
|
configurable: true,
|
|
3864
3853
|
get: function () {
|
|
3865
|
-
return this.
|
|
3854
|
+
return this.l2r();
|
|
3866
3855
|
}
|
|
3867
3856
|
});
|
|
3868
3857
|
var REPLACE_instance;
|
|
@@ -3877,7 +3866,7 @@
|
|
|
3877
3866
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3878
3867
|
configurable: true,
|
|
3879
3868
|
get: function () {
|
|
3880
|
-
return this.
|
|
3869
|
+
return this.l2r();
|
|
3881
3870
|
}
|
|
3882
3871
|
});
|
|
3883
3872
|
function BufferedAction() {
|
|
@@ -3894,16 +3883,16 @@
|
|
|
3894
3883
|
TimerTag.$metadata$ = interfaceMeta('TimerTag');
|
|
3895
3884
|
function StopTimerAction(timerTag) {
|
|
3896
3885
|
TimerAction.call(this);
|
|
3897
|
-
this.
|
|
3886
|
+
this.s2r_1 = timerTag;
|
|
3898
3887
|
}
|
|
3899
|
-
StopTimerAction.prototype.
|
|
3900
|
-
return this.
|
|
3888
|
+
StopTimerAction.prototype.t2r = function () {
|
|
3889
|
+
return this.s2r_1;
|
|
3901
3890
|
};
|
|
3902
3891
|
StopTimerAction.prototype.toString = function () {
|
|
3903
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
3892
|
+
return 'StopTimerAction(timerTag=' + this.s2r_1 + ')';
|
|
3904
3893
|
};
|
|
3905
3894
|
StopTimerAction.prototype.hashCode = function () {
|
|
3906
|
-
return hashCode(this.
|
|
3895
|
+
return hashCode(this.s2r_1);
|
|
3907
3896
|
};
|
|
3908
3897
|
StopTimerAction.prototype.equals = function (other) {
|
|
3909
3898
|
if (this === other)
|
|
@@ -3911,7 +3900,7 @@
|
|
|
3911
3900
|
if (!(other instanceof StopTimerAction))
|
|
3912
3901
|
return false;
|
|
3913
3902
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3914
|
-
if (!equals(this.
|
|
3903
|
+
if (!equals(this.s2r_1, tmp0_other_with_cast.s2r_1))
|
|
3915
3904
|
return false;
|
|
3916
3905
|
return true;
|
|
3917
3906
|
};
|
|
@@ -3919,7 +3908,7 @@
|
|
|
3919
3908
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3920
3909
|
configurable: true,
|
|
3921
3910
|
get: function () {
|
|
3922
|
-
return this.
|
|
3911
|
+
return this.l2r();
|
|
3923
3912
|
}
|
|
3924
3913
|
});
|
|
3925
3914
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -3935,31 +3924,31 @@
|
|
|
3935
3924
|
}
|
|
3936
3925
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
3937
3926
|
TimerAction.call(this);
|
|
3938
|
-
this.
|
|
3939
|
-
this.
|
|
3940
|
-
this.
|
|
3941
|
-
this.
|
|
3927
|
+
this.u2r_1 = timerTag;
|
|
3928
|
+
this.v2r_1 = delayMillis;
|
|
3929
|
+
this.w2r_1 = initialDelay;
|
|
3930
|
+
this.x2r_1 = type;
|
|
3942
3931
|
}
|
|
3943
|
-
StartTimerAction.prototype.
|
|
3932
|
+
StartTimerAction.prototype.t2r = function () {
|
|
3933
|
+
return this.u2r_1;
|
|
3934
|
+
};
|
|
3935
|
+
StartTimerAction.prototype.y2r = function () {
|
|
3944
3936
|
return this.v2r_1;
|
|
3945
3937
|
};
|
|
3946
3938
|
StartTimerAction.prototype.z2r = function () {
|
|
3947
3939
|
return this.w2r_1;
|
|
3948
3940
|
};
|
|
3949
|
-
StartTimerAction.prototype.a2s = function () {
|
|
3950
|
-
return this.x2r_1;
|
|
3951
|
-
};
|
|
3952
3941
|
StartTimerAction.prototype.f7 = function () {
|
|
3953
|
-
return this.
|
|
3942
|
+
return this.x2r_1;
|
|
3954
3943
|
};
|
|
3955
3944
|
StartTimerAction.prototype.toString = function () {
|
|
3956
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
3945
|
+
return 'StartTimerAction(timerTag=' + this.u2r_1 + ', delayMillis=' + toString_0(this.v2r_1) + ', initialDelay=' + toString_0(this.w2r_1) + ', type=' + this.x2r_1 + ')';
|
|
3957
3946
|
};
|
|
3958
3947
|
StartTimerAction.prototype.hashCode = function () {
|
|
3959
|
-
var result = hashCode(this.
|
|
3948
|
+
var result = hashCode(this.u2r_1);
|
|
3949
|
+
result = imul(result, 31) + this.v2r_1.hashCode() | 0;
|
|
3960
3950
|
result = imul(result, 31) + this.w2r_1.hashCode() | 0;
|
|
3961
3951
|
result = imul(result, 31) + this.x2r_1.hashCode() | 0;
|
|
3962
|
-
result = imul(result, 31) + this.y2r_1.hashCode() | 0;
|
|
3963
3952
|
return result;
|
|
3964
3953
|
};
|
|
3965
3954
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -3968,21 +3957,21 @@
|
|
|
3968
3957
|
if (!(other instanceof StartTimerAction))
|
|
3969
3958
|
return false;
|
|
3970
3959
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
3971
|
-
if (!equals(this.
|
|
3960
|
+
if (!equals(this.u2r_1, tmp0_other_with_cast.u2r_1))
|
|
3961
|
+
return false;
|
|
3962
|
+
if (!this.v2r_1.equals(tmp0_other_with_cast.v2r_1))
|
|
3972
3963
|
return false;
|
|
3973
3964
|
if (!this.w2r_1.equals(tmp0_other_with_cast.w2r_1))
|
|
3974
3965
|
return false;
|
|
3975
3966
|
if (!this.x2r_1.equals(tmp0_other_with_cast.x2r_1))
|
|
3976
3967
|
return false;
|
|
3977
|
-
if (!this.y2r_1.equals(tmp0_other_with_cast.y2r_1))
|
|
3978
|
-
return false;
|
|
3979
3968
|
return true;
|
|
3980
3969
|
};
|
|
3981
3970
|
StartTimerAction.$metadata$ = classMeta('StartTimerAction', undefined, undefined, undefined, undefined, TimerAction.prototype);
|
|
3982
3971
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
3983
3972
|
configurable: true,
|
|
3984
3973
|
get: function () {
|
|
3985
|
-
return this.
|
|
3974
|
+
return this.l2r();
|
|
3986
3975
|
}
|
|
3987
3976
|
});
|
|
3988
3977
|
var TimerType_DELAY_instance;
|
|
@@ -4001,21 +3990,21 @@
|
|
|
4001
3990
|
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4002
3991
|
function TimerTickAction(timerTag, type) {
|
|
4003
3992
|
TimerAction.call(this);
|
|
4004
|
-
this.
|
|
4005
|
-
this.
|
|
3993
|
+
this.a2s_1 = timerTag;
|
|
3994
|
+
this.b2s_1 = type;
|
|
4006
3995
|
}
|
|
4007
|
-
TimerTickAction.prototype.
|
|
4008
|
-
return this.
|
|
3996
|
+
TimerTickAction.prototype.t2r = function () {
|
|
3997
|
+
return this.a2s_1;
|
|
4009
3998
|
};
|
|
4010
3999
|
TimerTickAction.prototype.f7 = function () {
|
|
4011
|
-
return this.
|
|
4000
|
+
return this.b2s_1;
|
|
4012
4001
|
};
|
|
4013
4002
|
TimerTickAction.prototype.toString = function () {
|
|
4014
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4003
|
+
return 'TimerTickAction(timerTag=' + this.a2s_1 + ', type=' + this.b2s_1 + ')';
|
|
4015
4004
|
};
|
|
4016
4005
|
TimerTickAction.prototype.hashCode = function () {
|
|
4017
|
-
var result = hashCode(this.
|
|
4018
|
-
result = imul(result, 31) + this.
|
|
4006
|
+
var result = hashCode(this.a2s_1);
|
|
4007
|
+
result = imul(result, 31) + this.b2s_1.hashCode() | 0;
|
|
4019
4008
|
return result;
|
|
4020
4009
|
};
|
|
4021
4010
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4024,9 +4013,9 @@
|
|
|
4024
4013
|
if (!(other instanceof TimerTickAction))
|
|
4025
4014
|
return false;
|
|
4026
4015
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4027
|
-
if (!equals(this.
|
|
4016
|
+
if (!equals(this.a2s_1, tmp0_other_with_cast.a2s_1))
|
|
4028
4017
|
return false;
|
|
4029
|
-
if (!this.
|
|
4018
|
+
if (!this.b2s_1.equals(tmp0_other_with_cast.b2s_1))
|
|
4030
4019
|
return false;
|
|
4031
4020
|
return true;
|
|
4032
4021
|
};
|
|
@@ -4034,7 +4023,7 @@
|
|
|
4034
4023
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4035
4024
|
configurable: true,
|
|
4036
4025
|
get: function () {
|
|
4037
|
-
return this.
|
|
4026
|
+
return this.l2r();
|
|
4038
4027
|
}
|
|
4039
4028
|
});
|
|
4040
4029
|
function TimerAction() {
|
|
@@ -4043,7 +4032,7 @@
|
|
|
4043
4032
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4044
4033
|
configurable: true,
|
|
4045
4034
|
get: function () {
|
|
4046
|
-
return this.
|
|
4035
|
+
return this.l2r();
|
|
4047
4036
|
}
|
|
4048
4037
|
});
|
|
4049
4038
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4071,7 +4060,7 @@
|
|
|
4071
4060
|
} catch ($p) {
|
|
4072
4061
|
var tmp_0;
|
|
4073
4062
|
if ($p instanceof Exception) {
|
|
4074
|
-
$logger.
|
|
4063
|
+
$logger.l2q('StoreEnhancer', 'StoreEnhancer error: ' + $p, $p);
|
|
4075
4064
|
tmp_0 = Unit_getInstance();
|
|
4076
4065
|
} else {
|
|
4077
4066
|
throw $p;
|
|
@@ -4099,7 +4088,7 @@
|
|
|
4099
4088
|
}
|
|
4100
4089
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4101
4090
|
return function (action) {
|
|
4102
|
-
$tmp0__anonymous__1nv1x1.
|
|
4091
|
+
$tmp0__anonymous__1nv1x1.n2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
4103
4092
|
return Unit_getInstance();
|
|
4104
4093
|
};
|
|
4105
4094
|
}
|
|
@@ -4118,7 +4107,7 @@
|
|
|
4118
4107
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4119
4108
|
var tmp$ret$0;
|
|
4120
4109
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4121
|
-
tmp$ret$0 = element.
|
|
4110
|
+
tmp$ret$0 = element.m2r(action);
|
|
4122
4111
|
if (tmp$ret$0) {
|
|
4123
4112
|
tmp0_filterTo.a(element);
|
|
4124
4113
|
}
|
|
@@ -4166,9 +4155,9 @@
|
|
|
4166
4155
|
return tmp$ret$0;
|
|
4167
4156
|
}
|
|
4168
4157
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4169
|
-
this.
|
|
4170
|
-
this.
|
|
4171
|
-
this.
|
|
4158
|
+
this.k2s_1 = $jobsProvider;
|
|
4159
|
+
this.l2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4160
|
+
this.m2s_1 = $store;
|
|
4172
4161
|
CoroutineImpl.call(this, resultContinuation);
|
|
4173
4162
|
}
|
|
4174
4163
|
timerMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4187,8 +4176,8 @@
|
|
|
4187
4176
|
var tmp = this.mj_1;
|
|
4188
4177
|
if (tmp === 0) {
|
|
4189
4178
|
this.nj_1 = 1;
|
|
4190
|
-
if (this.
|
|
4191
|
-
this.
|
|
4179
|
+
if (this.k2s_1.z2q(this.l2s_1.t2r())) {
|
|
4180
|
+
this.m2s_1.dispatch(new TimerTickAction(this.l2s_1.t2r(), TimerType_DELAY_getInstance()));
|
|
4192
4181
|
}
|
|
4193
4182
|
return Unit_getInstance();
|
|
4194
4183
|
} else if (tmp === 1) {
|
|
@@ -4200,8 +4189,8 @@
|
|
|
4200
4189
|
while (true);
|
|
4201
4190
|
};
|
|
4202
4191
|
timerMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
4203
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4204
|
-
i.
|
|
4192
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.k2s_1, this.l2s_1, this.m2s_1, completion);
|
|
4193
|
+
i.n2s_1 = $this$launchStore;
|
|
4205
4194
|
return i;
|
|
4206
4195
|
};
|
|
4207
4196
|
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4214,9 +4203,9 @@
|
|
|
4214
4203
|
return l;
|
|
4215
4204
|
}
|
|
4216
4205
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4217
|
-
this.
|
|
4218
|
-
this.
|
|
4219
|
-
this.
|
|
4206
|
+
this.w2s_1 = $jobsProvider;
|
|
4207
|
+
this.x2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4208
|
+
this.y2s_1 = $store;
|
|
4220
4209
|
CoroutineImpl.call(this, resultContinuation);
|
|
4221
4210
|
}
|
|
4222
4211
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4235,8 +4224,8 @@
|
|
|
4235
4224
|
var tmp = this.mj_1;
|
|
4236
4225
|
if (tmp === 0) {
|
|
4237
4226
|
this.nj_1 = 1;
|
|
4238
|
-
if (this.
|
|
4239
|
-
this.
|
|
4227
|
+
if (this.w2s_1.z2q(this.x2s_1.t2r())) {
|
|
4228
|
+
this.y2s_1.dispatch(new TimerTickAction(this.x2s_1.t2r(), TimerType_INTERVAL_getInstance()));
|
|
4240
4229
|
}
|
|
4241
4230
|
return Unit_getInstance();
|
|
4242
4231
|
} else if (tmp === 1) {
|
|
@@ -4248,8 +4237,8 @@
|
|
|
4248
4237
|
while (true);
|
|
4249
4238
|
};
|
|
4250
4239
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k16 = function ($this$launchStore, completion) {
|
|
4251
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4252
|
-
i.
|
|
4240
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.w2s_1, this.x2s_1, this.y2s_1, completion);
|
|
4241
|
+
i.z2s_1 = $this$launchStore;
|
|
4253
4242
|
return i;
|
|
4254
4243
|
};
|
|
4255
4244
|
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4262,10 +4251,10 @@
|
|
|
4262
4251
|
return l;
|
|
4263
4252
|
}
|
|
4264
4253
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4265
|
-
this.
|
|
4266
|
-
this.
|
|
4267
|
-
this.
|
|
4268
|
-
this.
|
|
4254
|
+
this.i2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4255
|
+
this.j2t_1 = $asyncProvider;
|
|
4256
|
+
this.k2t_1 = $jobsProvider;
|
|
4257
|
+
this.l2t_1 = $store;
|
|
4269
4258
|
CoroutineImpl.call(this, resultContinuation);
|
|
4270
4259
|
}
|
|
4271
4260
|
timerMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -4285,9 +4274,9 @@
|
|
|
4285
4274
|
switch (tmp) {
|
|
4286
4275
|
case 0:
|
|
4287
4276
|
this.nj_1 = 10;
|
|
4288
|
-
if (!this.
|
|
4277
|
+
if (!this.i2t_1.w2r_1.equals(new Long(0, 0)) ? this.i2t_1.x2r_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4289
4278
|
this.mj_1 = 1;
|
|
4290
|
-
suspendResult = delay(this.
|
|
4279
|
+
suspendResult = delay(this.i2t_1.w2r_1, this);
|
|
4291
4280
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4292
4281
|
return suspendResult;
|
|
4293
4282
|
}
|
|
@@ -4302,20 +4291,20 @@
|
|
|
4302
4291
|
this.mj_1 = 2;
|
|
4303
4292
|
continue $sm;
|
|
4304
4293
|
case 2:
|
|
4305
|
-
this.
|
|
4306
|
-
this.
|
|
4307
|
-
if (this.
|
|
4294
|
+
this.n2t_1 = this.i2t_1.x2r_1;
|
|
4295
|
+
this.o2t_1 = this.n2t_1.e5_1;
|
|
4296
|
+
if (this.o2t_1 === 0) {
|
|
4308
4297
|
this.mj_1 = 8;
|
|
4309
|
-
suspendResult = delay(this.
|
|
4298
|
+
suspendResult = delay(this.i2t_1.v2r_1, this);
|
|
4310
4299
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4311
4300
|
return suspendResult;
|
|
4312
4301
|
}
|
|
4313
4302
|
continue $sm;
|
|
4314
4303
|
} else {
|
|
4315
|
-
if (this.
|
|
4316
|
-
if (!this.
|
|
4304
|
+
if (this.o2t_1 === 1) {
|
|
4305
|
+
if (!this.i2t_1.w2r_1.equals(new Long(0, 0))) {
|
|
4317
4306
|
this.mj_1 = 3;
|
|
4318
|
-
suspendResult = delay(this.
|
|
4307
|
+
suspendResult = delay(this.i2t_1.w2r_1, this);
|
|
4319
4308
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4320
4309
|
return suspendResult;
|
|
4321
4310
|
}
|
|
@@ -4338,15 +4327,15 @@
|
|
|
4338
4327
|
this.mj_1 = 5;
|
|
4339
4328
|
continue $sm;
|
|
4340
4329
|
case 5:
|
|
4341
|
-
if (!get_isActive(this.
|
|
4330
|
+
if (!get_isActive(this.m2t_1)) {
|
|
4342
4331
|
this.mj_1 = 7;
|
|
4343
4332
|
continue $sm;
|
|
4344
4333
|
}
|
|
4345
4334
|
|
|
4346
|
-
this.
|
|
4335
|
+
this.j2t_1.s2q(null, timerMiddleware$o$handle$slambda$slambda_2(this.k2t_1, this.i2t_1, this.l2t_1, null), 1, null);
|
|
4347
4336
|
;
|
|
4348
4337
|
this.mj_1 = 6;
|
|
4349
|
-
suspendResult = delay(this.
|
|
4338
|
+
suspendResult = delay(this.i2t_1.w2r_1, this);
|
|
4350
4339
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4351
4340
|
return suspendResult;
|
|
4352
4341
|
}
|
|
@@ -4359,7 +4348,7 @@
|
|
|
4359
4348
|
this.mj_1 = 9;
|
|
4360
4349
|
continue $sm;
|
|
4361
4350
|
case 8:
|
|
4362
|
-
this.
|
|
4351
|
+
this.j2t_1.s2q(null, timerMiddleware$o$handle$slambda$slambda_0(this.k2t_1, this.i2t_1, this.l2t_1, null), 1, null);
|
|
4363
4352
|
;
|
|
4364
4353
|
this.mj_1 = 9;
|
|
4365
4354
|
continue $sm;
|
|
@@ -4379,8 +4368,8 @@
|
|
|
4379
4368
|
while (true);
|
|
4380
4369
|
};
|
|
4381
4370
|
timerMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
4382
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4383
|
-
i.
|
|
4371
|
+
var i = new timerMiddleware$o$handle$slambda(this.i2t_1, this.j2t_1, this.k2t_1, this.l2t_1, completion);
|
|
4372
|
+
i.m2t_1 = $this$launchWorker;
|
|
4384
4373
|
return i;
|
|
4385
4374
|
};
|
|
4386
4375
|
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4393,34 +4382,34 @@
|
|
|
4393
4382
|
return l;
|
|
4394
4383
|
}
|
|
4395
4384
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4396
|
-
this.
|
|
4397
|
-
this.
|
|
4385
|
+
this.p2t_1 = $asyncProvider;
|
|
4386
|
+
this.q2t_1 = $jobsProvider;
|
|
4398
4387
|
}
|
|
4399
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4388
|
+
_no_name_provided__qut3iv_0.prototype.m2r = function (action) {
|
|
4400
4389
|
return action instanceof TimerAction;
|
|
4401
4390
|
};
|
|
4402
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4391
|
+
_no_name_provided__qut3iv_0.prototype.r2t = function (store, next, action) {
|
|
4403
4392
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4404
4393
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4405
4394
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4406
4395
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4407
|
-
var job = this.
|
|
4408
|
-
this.
|
|
4396
|
+
var job = this.p2t_1.u2q(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.p2t_1, this.q2t_1, store, null), 1, null);
|
|
4397
|
+
this.q2t_1.x2q(tmp0__anonymous__q1qw7t.t2r(), job);
|
|
4409
4398
|
} else {
|
|
4410
4399
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4411
|
-
this.
|
|
4400
|
+
this.q2t_1.c2r(tmp0__anonymous__q1qw7t.t2r());
|
|
4412
4401
|
} else {
|
|
4413
4402
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4414
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4415
|
-
this.
|
|
4403
|
+
if (tmp0__anonymous__q1qw7t.b2s_1.equals(TimerType_DELAY_getInstance())) {
|
|
4404
|
+
this.q2t_1.a2r(tmp0__anonymous__q1qw7t.t2r());
|
|
4416
4405
|
}
|
|
4417
4406
|
}
|
|
4418
4407
|
}
|
|
4419
4408
|
}
|
|
4420
4409
|
next(tmp0__anonymous__q1qw7t);
|
|
4421
4410
|
};
|
|
4422
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4423
|
-
return this.
|
|
4411
|
+
_no_name_provided__qut3iv_0.prototype.n2r = function (store, next, action) {
|
|
4412
|
+
return this.r2t(store, next, action);
|
|
4424
4413
|
};
|
|
4425
4414
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4426
4415
|
function enumToString(_this__u8e3s4, mapping) {
|
|
@@ -4604,24 +4593,24 @@
|
|
|
4604
4593
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4605
4594
|
}
|
|
4606
4595
|
function generateTag($this, tag) {
|
|
4607
|
-
return (!($this.
|
|
4596
|
+
return (!($this.y2t_1 == null) ? !(tag == null) : false) ? '' + $this.y2t_1 + ':' + tag : tag;
|
|
4608
4597
|
}
|
|
4609
4598
|
function Category(name, ordinal, isEnabled) {
|
|
4610
4599
|
Enum.call(this, name, ordinal);
|
|
4611
|
-
this.
|
|
4600
|
+
this.b2u_1 = isEnabled;
|
|
4612
4601
|
}
|
|
4613
4602
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4614
4603
|
function Logger$loggerSource$1() {
|
|
4615
|
-
this.
|
|
4604
|
+
this.c2u_1 = new PlatformLogger();
|
|
4616
4605
|
}
|
|
4617
|
-
Logger$loggerSource$1.prototype.
|
|
4618
|
-
this.
|
|
4606
|
+
Logger$loggerSource$1.prototype.d2u = function (tag, msg) {
|
|
4607
|
+
this.c2u_1.d2u(tag, msg);
|
|
4619
4608
|
};
|
|
4620
|
-
Logger$loggerSource$1.prototype.
|
|
4621
|
-
this.
|
|
4609
|
+
Logger$loggerSource$1.prototype.e2u = function (tag, msg, exception) {
|
|
4610
|
+
this.c2u_1.e2u(tag, msg, exception);
|
|
4622
4611
|
};
|
|
4623
|
-
Logger$loggerSource$1.prototype.
|
|
4624
|
-
this.
|
|
4612
|
+
Logger$loggerSource$1.prototype.f2u = function (tag, msg) {
|
|
4613
|
+
this.c2u_1.f2u(tag, msg);
|
|
4625
4614
|
};
|
|
4626
4615
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
4627
4616
|
function Category_NONE_getInstance() {
|
|
@@ -4631,42 +4620,42 @@
|
|
|
4631
4620
|
function Logger() {
|
|
4632
4621
|
Logger_instance = this;
|
|
4633
4622
|
var tmp = this;
|
|
4634
|
-
tmp.
|
|
4635
|
-
this.
|
|
4636
|
-
this.
|
|
4623
|
+
tmp.w2t_1 = new Logger$loggerSource$1();
|
|
4624
|
+
this.x2t_1 = true;
|
|
4625
|
+
this.y2t_1 = null;
|
|
4637
4626
|
}
|
|
4638
|
-
Logger.prototype.
|
|
4639
|
-
this.
|
|
4627
|
+
Logger.prototype.s2t = function (tag, message) {
|
|
4628
|
+
this.g2u(tag, message, Category_NONE_getInstance());
|
|
4640
4629
|
};
|
|
4641
|
-
Logger.prototype.
|
|
4642
|
-
if (this.
|
|
4643
|
-
this.
|
|
4630
|
+
Logger.prototype.h2u = function (tag, message, category) {
|
|
4631
|
+
if (this.x2t_1 ? category.b2u_1 : false) {
|
|
4632
|
+
this.w2t_1.f2u(generateTag(this, tag), message);
|
|
4644
4633
|
}
|
|
4645
4634
|
};
|
|
4646
|
-
Logger.prototype.
|
|
4635
|
+
Logger.prototype.i2u = function (tag, message, category, $mask0, $handler) {
|
|
4647
4636
|
if (!(($mask0 & 1) === 0))
|
|
4648
4637
|
tag = null;
|
|
4649
4638
|
if (!(($mask0 & 4) === 0))
|
|
4650
4639
|
category = Category_NONE_getInstance();
|
|
4651
|
-
return this.
|
|
4640
|
+
return this.h2u(tag, message, category);
|
|
4652
4641
|
};
|
|
4653
|
-
Logger.prototype.
|
|
4654
|
-
if (this.
|
|
4655
|
-
this.
|
|
4642
|
+
Logger.prototype.g2u = function (tag, message, category) {
|
|
4643
|
+
if (this.x2t_1 ? category.b2u_1 : false) {
|
|
4644
|
+
this.w2t_1.d2u(generateTag(this, tag), message);
|
|
4656
4645
|
}
|
|
4657
4646
|
};
|
|
4658
|
-
Logger.prototype.
|
|
4659
|
-
if (this.
|
|
4647
|
+
Logger.prototype.j2u = function (tag, message, exception, category) {
|
|
4648
|
+
if (this.x2t_1 ? category.b2u_1 : false) {
|
|
4660
4649
|
var tmp0_safe_receiver = exception;
|
|
4661
4650
|
if (tmp0_safe_receiver == null)
|
|
4662
4651
|
null;
|
|
4663
4652
|
else {
|
|
4664
4653
|
printStackTrace(tmp0_safe_receiver);
|
|
4665
4654
|
}
|
|
4666
|
-
this.
|
|
4655
|
+
this.w2t_1.e2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4667
4656
|
}
|
|
4668
4657
|
};
|
|
4669
|
-
Logger.prototype.
|
|
4658
|
+
Logger.prototype.k2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
4670
4659
|
if (!(($mask0 & 1) === 0))
|
|
4671
4660
|
tag = null;
|
|
4672
4661
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4675,7 +4664,7 @@
|
|
|
4675
4664
|
exception = null;
|
|
4676
4665
|
if (!(($mask0 & 8) === 0))
|
|
4677
4666
|
category = Category_NONE_getInstance();
|
|
4678
|
-
return this.
|
|
4667
|
+
return this.j2u(tag, message, exception, category);
|
|
4679
4668
|
};
|
|
4680
4669
|
Logger.$metadata$ = objectMeta('Logger');
|
|
4681
4670
|
var Logger_instance;
|
|
@@ -4715,36 +4704,36 @@
|
|
|
4715
4704
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4716
4705
|
}
|
|
4717
4706
|
function CombinedGameLogger(logOutputs) {
|
|
4718
|
-
this.
|
|
4707
|
+
this.l2u_1 = logOutputs;
|
|
4719
4708
|
}
|
|
4720
|
-
CombinedGameLogger.prototype.
|
|
4709
|
+
CombinedGameLogger.prototype.s2t = function (tag, message) {
|
|
4721
4710
|
// Inline function 'kotlin.collections.forEach' call
|
|
4722
|
-
var tmp0_forEach = this.
|
|
4711
|
+
var tmp0_forEach = this.l2u_1;
|
|
4723
4712
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4724
4713
|
while (tmp0_iterator.g()) {
|
|
4725
4714
|
var element = tmp0_iterator.h();
|
|
4726
4715
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4727
|
-
element.
|
|
4716
|
+
element.s2t(tag, message);
|
|
4728
4717
|
}
|
|
4729
4718
|
};
|
|
4730
|
-
CombinedGameLogger.prototype.
|
|
4719
|
+
CombinedGameLogger.prototype.l2q = function (tag, message, exception) {
|
|
4731
4720
|
// Inline function 'kotlin.collections.forEach' call
|
|
4732
|
-
var tmp0_forEach = this.
|
|
4721
|
+
var tmp0_forEach = this.l2u_1;
|
|
4733
4722
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4734
4723
|
while (tmp0_iterator.g()) {
|
|
4735
4724
|
var element = tmp0_iterator.h();
|
|
4736
4725
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4737
|
-
element.
|
|
4726
|
+
element.l2q(tag, message, exception);
|
|
4738
4727
|
}
|
|
4739
4728
|
};
|
|
4740
|
-
CombinedGameLogger.prototype.
|
|
4729
|
+
CombinedGameLogger.prototype.v2t = function (tag, message) {
|
|
4741
4730
|
// Inline function 'kotlin.collections.forEach' call
|
|
4742
|
-
var tmp0_forEach = this.
|
|
4731
|
+
var tmp0_forEach = this.l2u_1;
|
|
4743
4732
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4744
4733
|
while (tmp0_iterator.g()) {
|
|
4745
4734
|
var element = tmp0_iterator.h();
|
|
4746
4735
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4747
|
-
element.
|
|
4736
|
+
element.v2t(tag, message);
|
|
4748
4737
|
}
|
|
4749
4738
|
};
|
|
4750
4739
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -4757,16 +4746,16 @@
|
|
|
4757
4746
|
function PlatformGameLogger() {
|
|
4758
4747
|
PlatformGameLogger_instance = this;
|
|
4759
4748
|
}
|
|
4760
|
-
PlatformGameLogger.prototype.
|
|
4761
|
-
Logger_getInstance().
|
|
4749
|
+
PlatformGameLogger.prototype.s2t = function (tag, message) {
|
|
4750
|
+
Logger_getInstance().s2t(tag, message);
|
|
4762
4751
|
};
|
|
4763
|
-
PlatformGameLogger.prototype.
|
|
4752
|
+
PlatformGameLogger.prototype.l2q = function (tag, message, exception) {
|
|
4764
4753
|
var tmp = Logger_getInstance();
|
|
4765
|
-
tmp.
|
|
4754
|
+
tmp.k2u(tag, message, exception, null, 8, null);
|
|
4766
4755
|
};
|
|
4767
|
-
PlatformGameLogger.prototype.
|
|
4756
|
+
PlatformGameLogger.prototype.v2t = function (tag, message) {
|
|
4768
4757
|
var tmp = Logger_getInstance();
|
|
4769
|
-
tmp.
|
|
4758
|
+
tmp.i2u(tag, message, null, 4, null);
|
|
4770
4759
|
};
|
|
4771
4760
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
4772
4761
|
var PlatformGameLogger_instance;
|
|
@@ -4777,17 +4766,17 @@
|
|
|
4777
4766
|
}
|
|
4778
4767
|
function PlatformLogger() {
|
|
4779
4768
|
}
|
|
4780
|
-
PlatformLogger.prototype.
|
|
4769
|
+
PlatformLogger.prototype.d2u = function (tag, msg) {
|
|
4781
4770
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4782
4771
|
};
|
|
4783
|
-
PlatformLogger.prototype.
|
|
4772
|
+
PlatformLogger.prototype.e2u = function (tag, msg, exception) {
|
|
4784
4773
|
if (!(exception == null)) {
|
|
4785
4774
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4786
4775
|
} else {
|
|
4787
4776
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4788
4777
|
}
|
|
4789
4778
|
};
|
|
4790
|
-
PlatformLogger.prototype.
|
|
4779
|
+
PlatformLogger.prototype.f2u = function (tag, msg) {
|
|
4791
4780
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4792
4781
|
};
|
|
4793
4782
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
@@ -4804,25 +4793,25 @@
|
|
|
4804
4793
|
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4805
4794
|
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4806
4795
|
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4807
|
-
AsyncProviderImpl.prototype.
|
|
4808
|
-
AsyncProviderImpl.prototype.
|
|
4809
|
-
middleware$1.prototype.
|
|
4810
|
-
combineReducers$1.prototype.
|
|
4811
|
-
StoreLifecycleAction.prototype.
|
|
4812
|
-
INIT.prototype.
|
|
4813
|
-
REPLACE.prototype.
|
|
4814
|
-
TimerAction.prototype.
|
|
4815
|
-
StopTimerAction.prototype.
|
|
4796
|
+
AsyncProviderImpl.prototype.s2q = launchStore$default;
|
|
4797
|
+
AsyncProviderImpl.prototype.u2q = launchWorker$default;
|
|
4798
|
+
middleware$1.prototype.m2r = canHandle;
|
|
4799
|
+
combineReducers$1.prototype.m2r = canHandle_0;
|
|
4800
|
+
StoreLifecycleAction.prototype.l2r = get_actionTag;
|
|
4801
|
+
INIT.prototype.l2r = get_actionTag;
|
|
4802
|
+
REPLACE.prototype.l2r = get_actionTag;
|
|
4803
|
+
TimerAction.prototype.l2r = get_actionTag;
|
|
4804
|
+
StopTimerAction.prototype.l2r = get_actionTag;
|
|
4816
4805
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4817
4806
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4818
|
-
StartTimerAction.prototype.
|
|
4819
|
-
TimerTickAction.prototype.
|
|
4820
|
-
CombinedGameLogger.prototype.
|
|
4821
|
-
CombinedGameLogger.prototype.
|
|
4822
|
-
CombinedGameLogger.prototype.
|
|
4823
|
-
PlatformGameLogger.prototype.
|
|
4824
|
-
PlatformGameLogger.prototype.
|
|
4825
|
-
PlatformGameLogger.prototype.
|
|
4807
|
+
StartTimerAction.prototype.l2r = get_actionTag;
|
|
4808
|
+
TimerTickAction.prototype.l2r = get_actionTag;
|
|
4809
|
+
CombinedGameLogger.prototype.t2t = d$default;
|
|
4810
|
+
CombinedGameLogger.prototype.u2t = e$default;
|
|
4811
|
+
CombinedGameLogger.prototype.y2q = w$default;
|
|
4812
|
+
PlatformGameLogger.prototype.t2t = d$default;
|
|
4813
|
+
PlatformGameLogger.prototype.u2t = e$default;
|
|
4814
|
+
PlatformGameLogger.prototype.y2q = w$default;
|
|
4826
4815
|
//endregion
|
|
4827
4816
|
//region block: exports
|
|
4828
4817
|
function $jsExportAll$(_) {
|
|
@@ -5080,7 +5069,6 @@
|
|
|
5080
5069
|
_.$_$.h4 = WaitingForConnectionReason_getInstance;
|
|
5081
5070
|
_.$_$.i4 = PlatformGameLogger_getInstance;
|
|
5082
5071
|
_.$_$.j4 = Logger_getInstance;
|
|
5083
|
-
_.$_$.k4 = Constants_getInstance;
|
|
5084
5072
|
//endregion
|
|
5085
5073
|
return _;
|
|
5086
5074
|
}));
|