game_client_logic_deb 1.3.85 → 1.3.101
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/Kodein-kodein-di-js-ir.js +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +32 -32
- package/Logic_Debertz-core.js +1275 -1085
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7832 -7704
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +8 -5
- package/Logic_Debertz-game_client.js +2669 -2800
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +403 -403
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +36 -36
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +12 -12
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
package/Logic_Debertz-core.js
CHANGED
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
43
43
|
var getStringHashCode = kotlin_kotlin.$_$.e9;
|
|
44
44
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
45
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
46
|
+
var Enum = kotlin_kotlin.$_$.sb;
|
|
45
47
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.b9;
|
|
46
49
|
var interfaceMeta = kotlin_kotlin.$_$.g9;
|
|
47
50
|
var Exception = kotlin_kotlin.$_$.ub;
|
|
48
51
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.i1;
|
|
49
52
|
var captureStack = kotlin_kotlin.$_$.u8;
|
|
50
53
|
var toString = kotlin_kotlin.$_$.ed;
|
|
51
54
|
var hashCode = kotlin_kotlin.$_$.f9;
|
|
52
|
-
var equals = kotlin_kotlin.$_$.b9;
|
|
53
55
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
54
|
-
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
55
56
|
var THROW_ISE = kotlin_kotlin.$_$.dc;
|
|
56
|
-
var Enum = kotlin_kotlin.$_$.sb;
|
|
57
57
|
var Long = kotlin_kotlin.$_$.xb;
|
|
58
58
|
var toString_0 = kotlin_kotlin.$_$.ba;
|
|
59
59
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
@@ -107,6 +107,8 @@
|
|
|
107
107
|
PlayerReturnsReason.prototype.constructor = PlayerReturnsReason;
|
|
108
108
|
GameErrorReason.prototype = Object.create(TerminationGameReason.prototype);
|
|
109
109
|
GameErrorReason.prototype.constructor = GameErrorReason;
|
|
110
|
+
Reason.prototype = Object.create(Enum.prototype);
|
|
111
|
+
Reason.prototype.constructor = Reason;
|
|
110
112
|
GameFinishedReason.prototype = Object.create(TerminationGameReason.prototype);
|
|
111
113
|
GameFinishedReason.prototype.constructor = GameFinishedReason;
|
|
112
114
|
PlayerExitReason.prototype = Object.create(TerminationGameReason.prototype);
|
|
@@ -135,13 +137,13 @@
|
|
|
135
137
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
136
138
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
137
139
|
if (!(($mask0 & 1) === 0))
|
|
138
|
-
context = this.
|
|
139
|
-
return $handler == null ? this.
|
|
140
|
+
context = this.s2q();
|
|
141
|
+
return $handler == null ? this.v2q(context, block) : $handler(context, block);
|
|
140
142
|
}
|
|
141
143
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
142
144
|
if (!(($mask0 & 1) === 0))
|
|
143
|
-
context = this.
|
|
144
|
-
return $handler == null ? this.
|
|
145
|
+
context = this.s2q();
|
|
146
|
+
return $handler == null ? this.t2q(context, block) : $handler(context, block);
|
|
145
147
|
}
|
|
146
148
|
function get_actionTag() {
|
|
147
149
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -159,10 +161,10 @@
|
|
|
159
161
|
function ignoreExpectant() {
|
|
160
162
|
return false;
|
|
161
163
|
}
|
|
162
|
-
function
|
|
164
|
+
function notValidateWhenFinished() {
|
|
163
165
|
return true;
|
|
164
166
|
}
|
|
165
|
-
function
|
|
167
|
+
function notValidateWhenFinishing() {
|
|
166
168
|
return true;
|
|
167
169
|
}
|
|
168
170
|
StopTimerAction.prototype = Object.create(TimerAction.prototype);
|
|
@@ -186,7 +188,7 @@
|
|
|
186
188
|
payload = null;
|
|
187
189
|
var tmp;
|
|
188
190
|
if ($handler == null) {
|
|
189
|
-
this.
|
|
191
|
+
this.u2t(tag, message, payload);
|
|
190
192
|
tmp = Unit_getInstance();
|
|
191
193
|
} else {
|
|
192
194
|
tmp = $handler(tag, message, payload);
|
|
@@ -204,7 +206,7 @@
|
|
|
204
206
|
payload = null;
|
|
205
207
|
var tmp;
|
|
206
208
|
if ($handler == null) {
|
|
207
|
-
this.
|
|
209
|
+
this.w2t(tag, message, exception, payload);
|
|
208
210
|
tmp = Unit_getInstance();
|
|
209
211
|
} else {
|
|
210
212
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -218,7 +220,7 @@
|
|
|
218
220
|
payload = null;
|
|
219
221
|
var tmp;
|
|
220
222
|
if ($handler == null) {
|
|
221
|
-
this.
|
|
223
|
+
this.x2t(tag, message, payload);
|
|
222
224
|
tmp = Unit_getInstance();
|
|
223
225
|
} else {
|
|
224
226
|
tmp = $handler(tag, message, payload);
|
|
@@ -230,7 +232,7 @@
|
|
|
230
232
|
//endregion
|
|
231
233
|
function GameEngineConfig() {
|
|
232
234
|
GameEngineConfig_instance = this;
|
|
233
|
-
this.i2k_1 = '1.3.
|
|
235
|
+
this.i2k_1 = '1.3.101';
|
|
234
236
|
}
|
|
235
237
|
GameEngineConfig.prototype.j2k = function () {
|
|
236
238
|
return this.i2k_1;
|
|
@@ -464,10 +466,14 @@
|
|
|
464
466
|
tmp$ret$1 = tmp$ret$0;
|
|
465
467
|
tmp$ret$2 = tmp$ret$1;
|
|
466
468
|
var tmp_0 = tmp$ret$2;
|
|
467
|
-
var tmp$ret$
|
|
469
|
+
var tmp$ret$11;
|
|
468
470
|
// Inline function 'kotlin.arrayOf' call
|
|
469
471
|
var tmp_1 = $serializer_getInstance_0();
|
|
470
|
-
var tmp_2 =
|
|
472
|
+
var tmp_2 = $serializer_getInstance_1();
|
|
473
|
+
var tmp_3 = $serializer_getInstance_2();
|
|
474
|
+
var tmp_4 = $serializer_getInstance_3();
|
|
475
|
+
var tmp_5 = $serializer_getInstance_4();
|
|
476
|
+
var tmp_6 = ProcessingReason_getInstance();
|
|
471
477
|
var tmp$ret$5;
|
|
472
478
|
// Inline function 'kotlin.arrayOf' call
|
|
473
479
|
var tmp$ret$4;
|
|
@@ -477,11 +483,8 @@
|
|
|
477
483
|
tmp$ret$3 = [];
|
|
478
484
|
tmp$ret$4 = tmp$ret$3;
|
|
479
485
|
tmp$ret$5 = tmp$ret$4;
|
|
480
|
-
var
|
|
481
|
-
var
|
|
482
|
-
var tmp_5 = $serializer_getInstance_2();
|
|
483
|
-
var tmp_6 = $serializer_getInstance_3();
|
|
484
|
-
var tmp_7 = ProcessingReason_getInstance();
|
|
486
|
+
var tmp_7 = ObjectSerializer_init_$Create$('PROCESSING_TYPE', tmp_6, tmp$ret$5);
|
|
487
|
+
var tmp_8 = WaitingForConnectionReason_getInstance();
|
|
485
488
|
var tmp$ret$8;
|
|
486
489
|
// Inline function 'kotlin.arrayOf' call
|
|
487
490
|
var tmp$ret$7;
|
|
@@ -491,36 +494,25 @@
|
|
|
491
494
|
tmp$ret$6 = [];
|
|
492
495
|
tmp$ret$7 = tmp$ret$6;
|
|
493
496
|
tmp$ret$8 = tmp$ret$7;
|
|
494
|
-
var
|
|
495
|
-
var tmp_9 = WaitingForConnectionReason_getInstance();
|
|
496
|
-
var tmp$ret$11;
|
|
497
|
-
// Inline function 'kotlin.arrayOf' call
|
|
497
|
+
var tmp1_arrayOf = [tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_7, ObjectSerializer_init_$Create$('WAITING_FOR_CONNECTION_TYPE', tmp_8, tmp$ret$8)];
|
|
498
498
|
var tmp$ret$10;
|
|
499
499
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
500
500
|
var tmp$ret$9;
|
|
501
501
|
// Inline function 'kotlin.js.asDynamic' call
|
|
502
|
-
tmp$ret$9 =
|
|
502
|
+
tmp$ret$9 = tmp1_arrayOf;
|
|
503
503
|
tmp$ret$10 = tmp$ret$9;
|
|
504
504
|
tmp$ret$11 = tmp$ret$10;
|
|
505
|
-
var
|
|
505
|
+
var tmp_9 = tmp$ret$11;
|
|
506
|
+
var tmp$ret$14;
|
|
507
|
+
// Inline function 'kotlin.arrayOf' call
|
|
506
508
|
var tmp$ret$13;
|
|
507
509
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
508
510
|
var tmp$ret$12;
|
|
509
511
|
// Inline function 'kotlin.js.asDynamic' call
|
|
510
|
-
tmp$ret$12 =
|
|
512
|
+
tmp$ret$12 = [];
|
|
511
513
|
tmp$ret$13 = tmp$ret$12;
|
|
512
514
|
tmp$ret$14 = tmp$ret$13;
|
|
513
|
-
|
|
514
|
-
var tmp$ret$17;
|
|
515
|
-
// Inline function 'kotlin.arrayOf' call
|
|
516
|
-
var tmp$ret$16;
|
|
517
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
518
|
-
var tmp$ret$15;
|
|
519
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
520
|
-
tmp$ret$15 = [];
|
|
521
|
-
tmp$ret$16 = tmp$ret$15;
|
|
522
|
-
tmp$ret$17 = tmp$ret$16;
|
|
523
|
-
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_10, tmp$ret$17);
|
|
515
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_9, tmp$ret$14);
|
|
524
516
|
}
|
|
525
517
|
function Companion_1() {
|
|
526
518
|
Companion_instance_1 = this;
|
|
@@ -660,56 +652,65 @@
|
|
|
660
652
|
return true;
|
|
661
653
|
};
|
|
662
654
|
GameErrorReason.$metadata$ = classMeta('GameErrorReason', undefined, undefined, {0: $serializer_getInstance_0}, undefined, TerminationGameReason.prototype);
|
|
663
|
-
function GameFinishedReason$$cachedSerializer$delegate$
|
|
664
|
-
|
|
665
|
-
var tmp$ret$2;
|
|
666
|
-
// Inline function 'kotlin.arrayOf' call
|
|
667
|
-
var tmp$ret$1;
|
|
668
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
669
|
-
var tmp$ret$0;
|
|
670
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
671
|
-
tmp$ret$0 = [];
|
|
672
|
-
tmp$ret$1 = tmp$ret$0;
|
|
673
|
-
tmp$ret$2 = tmp$ret$1;
|
|
674
|
-
return ObjectSerializer_init_$Create$('GAME_FINISHED_TYPE', tmp, tmp$ret$2);
|
|
655
|
+
function GameFinishedReason$Reason$Companion$$cachedSerializer$delegate$_anonymous__1olwq2() {
|
|
656
|
+
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
675
657
|
}
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
658
|
+
var Reason_DEPLOY_instance;
|
|
659
|
+
var Reason_PLAYER_DELETED_instance;
|
|
660
|
+
var Reason_NO_ACTIVE_PLAYERS_instance;
|
|
661
|
+
var Reason_GAME_NOT_EXISTS_instance;
|
|
662
|
+
function Companion_3() {
|
|
663
|
+
Companion_instance_3 = this;
|
|
679
664
|
var tmp = this;
|
|
680
665
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
681
|
-
tmp.t2k_1 = lazy(tmp_0, GameFinishedReason$$cachedSerializer$delegate$
|
|
666
|
+
tmp.t2k_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$$cachedSerializer$delegate$_anonymous__1olwq2);
|
|
682
667
|
}
|
|
683
|
-
|
|
684
|
-
return 'GameFinishedReason';
|
|
685
|
-
};
|
|
686
|
-
GameFinishedReason.prototype.d25 = function () {
|
|
668
|
+
Companion_3.prototype.d25 = function () {
|
|
687
669
|
return this.t2k_1.c2();
|
|
688
670
|
};
|
|
689
|
-
|
|
671
|
+
Companion_3.prototype.t1t = function (typeParamsSerializers) {
|
|
690
672
|
return this.d25();
|
|
691
673
|
};
|
|
692
|
-
|
|
693
|
-
var GameFinishedReason_instance;
|
|
694
|
-
function GameFinishedReason_getInstance() {
|
|
695
|
-
if (GameFinishedReason_instance == null)
|
|
696
|
-
new GameFinishedReason();
|
|
697
|
-
return GameFinishedReason_instance;
|
|
698
|
-
}
|
|
699
|
-
function Companion_3() {
|
|
700
|
-
Companion_instance_3 = this;
|
|
701
|
-
}
|
|
702
|
-
Companion_3.$metadata$ = objectMeta('Companion');
|
|
674
|
+
Companion_3.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
703
675
|
var Companion_instance_3;
|
|
704
676
|
function Companion_getInstance_3() {
|
|
677
|
+
Reason_initEntries();
|
|
705
678
|
if (Companion_instance_3 == null)
|
|
706
679
|
new Companion_3();
|
|
707
680
|
return Companion_instance_3;
|
|
708
681
|
}
|
|
682
|
+
function values() {
|
|
683
|
+
return [Reason_DEPLOY_getInstance(), Reason_PLAYER_DELETED_getInstance(), Reason_NO_ACTIVE_PLAYERS_getInstance(), Reason_GAME_NOT_EXISTS_getInstance()];
|
|
684
|
+
}
|
|
685
|
+
var Reason_entriesInitialized;
|
|
686
|
+
function Reason_initEntries() {
|
|
687
|
+
if (Reason_entriesInitialized)
|
|
688
|
+
return Unit_getInstance();
|
|
689
|
+
Reason_entriesInitialized = true;
|
|
690
|
+
Reason_DEPLOY_instance = new Reason('DEPLOY', 0);
|
|
691
|
+
Reason_PLAYER_DELETED_instance = new Reason('PLAYER_DELETED', 1);
|
|
692
|
+
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 2);
|
|
693
|
+
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 3);
|
|
694
|
+
Companion_getInstance_3();
|
|
695
|
+
}
|
|
696
|
+
function Reason(name, ordinal) {
|
|
697
|
+
Enum.call(this, name, ordinal);
|
|
698
|
+
}
|
|
699
|
+
Reason.$metadata$ = classMeta('Reason', undefined, undefined, {0: Companion_getInstance_3}, undefined, Enum.prototype);
|
|
700
|
+
function Companion_4() {
|
|
701
|
+
Companion_instance_4 = this;
|
|
702
|
+
}
|
|
703
|
+
Companion_4.$metadata$ = objectMeta('Companion');
|
|
704
|
+
var Companion_instance_4;
|
|
705
|
+
function Companion_getInstance_4() {
|
|
706
|
+
if (Companion_instance_4 == null)
|
|
707
|
+
new Companion_4();
|
|
708
|
+
return Companion_instance_4;
|
|
709
|
+
}
|
|
709
710
|
function $serializer_1() {
|
|
710
711
|
$serializer_instance_1 = this;
|
|
711
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
712
|
-
tmp0_serialDesc.v1s('
|
|
712
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
713
|
+
tmp0_serialDesc.v1s('reason', true);
|
|
713
714
|
this.u2k_1 = tmp0_serialDesc;
|
|
714
715
|
}
|
|
715
716
|
$serializer_1.prototype.i1i = function () {
|
|
@@ -718,7 +719,7 @@
|
|
|
718
719
|
$serializer_1.prototype.k1t = function () {
|
|
719
720
|
var tmp$ret$2;
|
|
720
721
|
// Inline function 'kotlin.arrayOf' call
|
|
721
|
-
var tmp0_arrayOf = [
|
|
722
|
+
var tmp0_arrayOf = [get_nullable(Companion_getInstance_3().d25())];
|
|
722
723
|
var tmp$ret$1;
|
|
723
724
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
724
725
|
var tmp$ret$0;
|
|
@@ -736,7 +737,7 @@
|
|
|
736
737
|
var tmp4_local0 = null;
|
|
737
738
|
var tmp5_input = decoder.q1l(tmp0_desc);
|
|
738
739
|
if (tmp5_input.f1m()) {
|
|
739
|
-
tmp4_local0 = tmp5_input.
|
|
740
|
+
tmp4_local0 = tmp5_input.e1m(tmp0_desc, 0, Companion_getInstance_3().d25(), tmp4_local0);
|
|
740
741
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
741
742
|
} else
|
|
742
743
|
while (tmp1_flag) {
|
|
@@ -746,7 +747,7 @@
|
|
|
746
747
|
tmp1_flag = false;
|
|
747
748
|
break;
|
|
748
749
|
case 0:
|
|
749
|
-
tmp4_local0 = tmp5_input.
|
|
750
|
+
tmp4_local0 = tmp5_input.e1m(tmp0_desc, 0, Companion_getInstance_3().d25(), tmp4_local0);
|
|
750
751
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
751
752
|
break;
|
|
752
753
|
default:
|
|
@@ -754,16 +755,18 @@
|
|
|
754
755
|
}
|
|
755
756
|
}
|
|
756
757
|
tmp5_input.r1l(tmp0_desc);
|
|
757
|
-
return
|
|
758
|
+
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
758
759
|
};
|
|
759
760
|
$serializer_1.prototype.v2k = function (encoder, value) {
|
|
760
761
|
var tmp0_desc = this.u2k_1;
|
|
761
762
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
762
|
-
tmp1_output.
|
|
763
|
+
if (tmp1_output.m1n(tmp0_desc, 0) ? true : !(value.w2k_1 == null)) {
|
|
764
|
+
tmp1_output.i1n(tmp0_desc, 0, Companion_getInstance_3().d25(), value.w2k_1);
|
|
765
|
+
}
|
|
763
766
|
tmp1_output.r1l(tmp0_desc);
|
|
764
767
|
};
|
|
765
768
|
$serializer_1.prototype.j1i = function (encoder, value) {
|
|
766
|
-
return this.v2k(encoder, value instanceof
|
|
769
|
+
return this.v2k(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
767
770
|
};
|
|
768
771
|
$serializer_1.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
769
772
|
var $serializer_instance_1;
|
|
@@ -772,30 +775,158 @@
|
|
|
772
775
|
new $serializer_1();
|
|
773
776
|
return $serializer_instance_1;
|
|
774
777
|
}
|
|
778
|
+
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
779
|
+
if (!(0 === (0 & seen1))) {
|
|
780
|
+
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().u2k_1);
|
|
781
|
+
}
|
|
782
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
783
|
+
if (0 === (seen1 & 1))
|
|
784
|
+
$this.w2k_1 = null;
|
|
785
|
+
else
|
|
786
|
+
$this.w2k_1 = reason;
|
|
787
|
+
return $this;
|
|
788
|
+
}
|
|
789
|
+
function GameFinishedReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
790
|
+
return GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, Object.create(GameFinishedReason.prototype));
|
|
791
|
+
}
|
|
792
|
+
function Reason_DEPLOY_getInstance() {
|
|
793
|
+
Reason_initEntries();
|
|
794
|
+
return Reason_DEPLOY_instance;
|
|
795
|
+
}
|
|
796
|
+
function Reason_PLAYER_DELETED_getInstance() {
|
|
797
|
+
Reason_initEntries();
|
|
798
|
+
return Reason_PLAYER_DELETED_instance;
|
|
799
|
+
}
|
|
800
|
+
function Reason_NO_ACTIVE_PLAYERS_getInstance() {
|
|
801
|
+
Reason_initEntries();
|
|
802
|
+
return Reason_NO_ACTIVE_PLAYERS_instance;
|
|
803
|
+
}
|
|
804
|
+
function Reason_GAME_NOT_EXISTS_getInstance() {
|
|
805
|
+
Reason_initEntries();
|
|
806
|
+
return Reason_GAME_NOT_EXISTS_instance;
|
|
807
|
+
}
|
|
808
|
+
function GameFinishedReason(reason) {
|
|
809
|
+
Companion_getInstance_4();
|
|
810
|
+
TerminationGameReason.call(this);
|
|
811
|
+
this.w2k_1 = reason;
|
|
812
|
+
}
|
|
813
|
+
GameFinishedReason.prototype.toString = function () {
|
|
814
|
+
return 'GameFinishedReason(reason=' + this.w2k_1 + ')';
|
|
815
|
+
};
|
|
816
|
+
GameFinishedReason.prototype.hashCode = function () {
|
|
817
|
+
return this.w2k_1 == null ? 0 : this.w2k_1.hashCode();
|
|
818
|
+
};
|
|
819
|
+
GameFinishedReason.prototype.equals = function (other) {
|
|
820
|
+
if (this === other)
|
|
821
|
+
return true;
|
|
822
|
+
if (!(other instanceof GameFinishedReason))
|
|
823
|
+
return false;
|
|
824
|
+
var tmp0_other_with_cast = other instanceof GameFinishedReason ? other : THROW_CCE();
|
|
825
|
+
if (!equals(this.w2k_1, tmp0_other_with_cast.w2k_1))
|
|
826
|
+
return false;
|
|
827
|
+
return true;
|
|
828
|
+
};
|
|
829
|
+
GameFinishedReason.$metadata$ = classMeta('GameFinishedReason', undefined, undefined, {0: $serializer_getInstance_1}, undefined, TerminationGameReason.prototype);
|
|
830
|
+
function Companion_5() {
|
|
831
|
+
Companion_instance_5 = this;
|
|
832
|
+
}
|
|
833
|
+
Companion_5.$metadata$ = objectMeta('Companion');
|
|
834
|
+
var Companion_instance_5;
|
|
835
|
+
function Companion_getInstance_5() {
|
|
836
|
+
if (Companion_instance_5 == null)
|
|
837
|
+
new Companion_5();
|
|
838
|
+
return Companion_instance_5;
|
|
839
|
+
}
|
|
840
|
+
function $serializer_2() {
|
|
841
|
+
$serializer_instance_2 = this;
|
|
842
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
843
|
+
tmp0_serialDesc.v1s('playerId', false);
|
|
844
|
+
this.x2k_1 = tmp0_serialDesc;
|
|
845
|
+
}
|
|
846
|
+
$serializer_2.prototype.i1i = function () {
|
|
847
|
+
return this.x2k_1;
|
|
848
|
+
};
|
|
849
|
+
$serializer_2.prototype.k1t = function () {
|
|
850
|
+
var tmp$ret$2;
|
|
851
|
+
// Inline function 'kotlin.arrayOf' call
|
|
852
|
+
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
853
|
+
var tmp$ret$1;
|
|
854
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
855
|
+
var tmp$ret$0;
|
|
856
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
857
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
858
|
+
tmp$ret$1 = tmp$ret$0;
|
|
859
|
+
tmp$ret$2 = tmp$ret$1;
|
|
860
|
+
return tmp$ret$2;
|
|
861
|
+
};
|
|
862
|
+
$serializer_2.prototype.k1i = function (decoder) {
|
|
863
|
+
var tmp0_desc = this.x2k_1;
|
|
864
|
+
var tmp1_flag = true;
|
|
865
|
+
var tmp2_index = 0;
|
|
866
|
+
var tmp3_bitMask0 = 0;
|
|
867
|
+
var tmp4_local0 = null;
|
|
868
|
+
var tmp5_input = decoder.q1l(tmp0_desc);
|
|
869
|
+
if (tmp5_input.f1m()) {
|
|
870
|
+
tmp4_local0 = tmp5_input.a1m(tmp0_desc, 0);
|
|
871
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
872
|
+
} else
|
|
873
|
+
while (tmp1_flag) {
|
|
874
|
+
tmp2_index = tmp5_input.g1m(tmp0_desc);
|
|
875
|
+
switch (tmp2_index) {
|
|
876
|
+
case -1:
|
|
877
|
+
tmp1_flag = false;
|
|
878
|
+
break;
|
|
879
|
+
case 0:
|
|
880
|
+
tmp4_local0 = tmp5_input.a1m(tmp0_desc, 0);
|
|
881
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
882
|
+
break;
|
|
883
|
+
default:
|
|
884
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
tmp5_input.r1l(tmp0_desc);
|
|
888
|
+
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
889
|
+
};
|
|
890
|
+
$serializer_2.prototype.y2k = function (encoder, value) {
|
|
891
|
+
var tmp0_desc = this.x2k_1;
|
|
892
|
+
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
893
|
+
tmp1_output.e1n(tmp0_desc, 0, value.z2k_1);
|
|
894
|
+
tmp1_output.r1l(tmp0_desc);
|
|
895
|
+
};
|
|
896
|
+
$serializer_2.prototype.j1i = function (encoder, value) {
|
|
897
|
+
return this.y2k(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
898
|
+
};
|
|
899
|
+
$serializer_2.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
900
|
+
var $serializer_instance_2;
|
|
901
|
+
function $serializer_getInstance_2() {
|
|
902
|
+
if ($serializer_instance_2 == null)
|
|
903
|
+
new $serializer_2();
|
|
904
|
+
return $serializer_instance_2;
|
|
905
|
+
}
|
|
775
906
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
776
907
|
if (!(1 === (1 & seen1))) {
|
|
777
|
-
throwMissingFieldException(seen1, 1, $
|
|
908
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().x2k_1);
|
|
778
909
|
}
|
|
779
910
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
780
|
-
$this.
|
|
911
|
+
$this.z2k_1 = playerId;
|
|
781
912
|
return $this;
|
|
782
913
|
}
|
|
783
914
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
784
915
|
return PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, Object.create(PlayerExitReason.prototype));
|
|
785
916
|
}
|
|
786
917
|
function PlayerExitReason(playerId) {
|
|
787
|
-
|
|
918
|
+
Companion_getInstance_5();
|
|
788
919
|
TerminationGameReason.call(this);
|
|
789
|
-
this.
|
|
920
|
+
this.z2k_1 = playerId;
|
|
790
921
|
}
|
|
791
|
-
PlayerExitReason.prototype.
|
|
792
|
-
return this.
|
|
922
|
+
PlayerExitReason.prototype.a2l = function () {
|
|
923
|
+
return this.z2k_1;
|
|
793
924
|
};
|
|
794
925
|
PlayerExitReason.prototype.toString = function () {
|
|
795
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
926
|
+
return 'PlayerExitReason(playerId=' + this.z2k_1 + ')';
|
|
796
927
|
};
|
|
797
928
|
PlayerExitReason.prototype.hashCode = function () {
|
|
798
|
-
return getStringHashCode(this.
|
|
929
|
+
return getStringHashCode(this.z2k_1);
|
|
799
930
|
};
|
|
800
931
|
PlayerExitReason.prototype.equals = function (other) {
|
|
801
932
|
if (this === other)
|
|
@@ -803,32 +934,32 @@
|
|
|
803
934
|
if (!(other instanceof PlayerExitReason))
|
|
804
935
|
return false;
|
|
805
936
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
806
|
-
if (!(this.
|
|
937
|
+
if (!(this.z2k_1 === tmp0_other_with_cast.z2k_1))
|
|
807
938
|
return false;
|
|
808
939
|
return true;
|
|
809
940
|
};
|
|
810
|
-
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $
|
|
811
|
-
function
|
|
812
|
-
|
|
941
|
+
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_2}, undefined, TerminationGameReason.prototype);
|
|
942
|
+
function Companion_6() {
|
|
943
|
+
Companion_instance_6 = this;
|
|
813
944
|
}
|
|
814
|
-
|
|
815
|
-
var
|
|
816
|
-
function
|
|
817
|
-
if (
|
|
818
|
-
new
|
|
819
|
-
return
|
|
945
|
+
Companion_6.$metadata$ = objectMeta('Companion');
|
|
946
|
+
var Companion_instance_6;
|
|
947
|
+
function Companion_getInstance_6() {
|
|
948
|
+
if (Companion_instance_6 == null)
|
|
949
|
+
new Companion_6();
|
|
950
|
+
return Companion_instance_6;
|
|
820
951
|
}
|
|
821
|
-
function $
|
|
822
|
-
$
|
|
952
|
+
function $serializer_3() {
|
|
953
|
+
$serializer_instance_3 = this;
|
|
823
954
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
824
955
|
tmp0_serialDesc.v1s('playerId', false);
|
|
825
956
|
tmp0_serialDesc.v1s('tag', false);
|
|
826
|
-
this.
|
|
957
|
+
this.b2l_1 = tmp0_serialDesc;
|
|
827
958
|
}
|
|
828
|
-
$
|
|
829
|
-
return this.
|
|
959
|
+
$serializer_3.prototype.i1i = function () {
|
|
960
|
+
return this.b2l_1;
|
|
830
961
|
};
|
|
831
|
-
$
|
|
962
|
+
$serializer_3.prototype.k1t = function () {
|
|
832
963
|
var tmp$ret$2;
|
|
833
964
|
// Inline function 'kotlin.arrayOf' call
|
|
834
965
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -841,8 +972,8 @@
|
|
|
841
972
|
tmp$ret$2 = tmp$ret$1;
|
|
842
973
|
return tmp$ret$2;
|
|
843
974
|
};
|
|
844
|
-
$
|
|
845
|
-
var tmp0_desc = this.
|
|
975
|
+
$serializer_3.prototype.k1i = function (decoder) {
|
|
976
|
+
var tmp0_desc = this.b2l_1;
|
|
846
977
|
var tmp1_flag = true;
|
|
847
978
|
var tmp2_index = 0;
|
|
848
979
|
var tmp3_bitMask0 = 0;
|
|
@@ -876,50 +1007,50 @@
|
|
|
876
1007
|
tmp6_input.r1l(tmp0_desc);
|
|
877
1008
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
878
1009
|
};
|
|
879
|
-
$
|
|
880
|
-
var tmp0_desc = this.
|
|
1010
|
+
$serializer_3.prototype.c2l = function (encoder, value) {
|
|
1011
|
+
var tmp0_desc = this.b2l_1;
|
|
881
1012
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
882
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
883
|
-
tmp1_output.i1n(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1013
|
+
tmp1_output.e1n(tmp0_desc, 0, value.d2l_1);
|
|
1014
|
+
tmp1_output.i1n(tmp0_desc, 1, StringSerializer_getInstance(), value.e2l_1);
|
|
884
1015
|
tmp1_output.r1l(tmp0_desc);
|
|
885
1016
|
};
|
|
886
|
-
$
|
|
887
|
-
return this.
|
|
1017
|
+
$serializer_3.prototype.j1i = function (encoder, value) {
|
|
1018
|
+
return this.c2l(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
888
1019
|
};
|
|
889
|
-
$
|
|
890
|
-
var $
|
|
891
|
-
function $
|
|
892
|
-
if ($
|
|
893
|
-
new $
|
|
894
|
-
return $
|
|
1020
|
+
$serializer_3.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
1021
|
+
var $serializer_instance_3;
|
|
1022
|
+
function $serializer_getInstance_3() {
|
|
1023
|
+
if ($serializer_instance_3 == null)
|
|
1024
|
+
new $serializer_3();
|
|
1025
|
+
return $serializer_instance_3;
|
|
895
1026
|
}
|
|
896
1027
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
897
1028
|
if (!(3 === (3 & seen1))) {
|
|
898
|
-
throwMissingFieldException(seen1, 3, $
|
|
1029
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().b2l_1);
|
|
899
1030
|
}
|
|
900
1031
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
901
|
-
$this.
|
|
902
|
-
$this.
|
|
1032
|
+
$this.d2l_1 = playerId;
|
|
1033
|
+
$this.e2l_1 = tag;
|
|
903
1034
|
return $this;
|
|
904
1035
|
}
|
|
905
1036
|
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
906
1037
|
return PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerLostConnectionReason.prototype));
|
|
907
1038
|
}
|
|
908
1039
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
909
|
-
|
|
1040
|
+
Companion_getInstance_6();
|
|
910
1041
|
TerminationGameReason.call(this);
|
|
911
|
-
this.
|
|
912
|
-
this.
|
|
1042
|
+
this.d2l_1 = playerId;
|
|
1043
|
+
this.e2l_1 = tag;
|
|
913
1044
|
}
|
|
914
|
-
PlayerLostConnectionReason.prototype.
|
|
915
|
-
return this.
|
|
1045
|
+
PlayerLostConnectionReason.prototype.a2l = function () {
|
|
1046
|
+
return this.d2l_1;
|
|
916
1047
|
};
|
|
917
1048
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
918
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
1049
|
+
return 'PlayerLostConnectionReason(playerId=' + this.d2l_1 + ', tag=' + this.e2l_1 + ')';
|
|
919
1050
|
};
|
|
920
1051
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
921
|
-
var result = getStringHashCode(this.
|
|
922
|
-
result = imul(result, 31) + (this.
|
|
1052
|
+
var result = getStringHashCode(this.d2l_1);
|
|
1053
|
+
result = imul(result, 31) + (this.e2l_1 == null ? 0 : getStringHashCode(this.e2l_1)) | 0;
|
|
923
1054
|
return result;
|
|
924
1055
|
};
|
|
925
1056
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -928,34 +1059,34 @@
|
|
|
928
1059
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
929
1060
|
return false;
|
|
930
1061
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
931
|
-
if (!(this.
|
|
1062
|
+
if (!(this.d2l_1 === tmp0_other_with_cast.d2l_1))
|
|
932
1063
|
return false;
|
|
933
|
-
if (!(this.
|
|
1064
|
+
if (!(this.e2l_1 == tmp0_other_with_cast.e2l_1))
|
|
934
1065
|
return false;
|
|
935
1066
|
return true;
|
|
936
1067
|
};
|
|
937
|
-
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $
|
|
938
|
-
function
|
|
939
|
-
|
|
1068
|
+
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_3}, undefined, TerminationGameReason.prototype);
|
|
1069
|
+
function Companion_7() {
|
|
1070
|
+
Companion_instance_7 = this;
|
|
940
1071
|
}
|
|
941
|
-
|
|
942
|
-
var
|
|
943
|
-
function
|
|
944
|
-
if (
|
|
945
|
-
new
|
|
946
|
-
return
|
|
1072
|
+
Companion_7.$metadata$ = objectMeta('Companion');
|
|
1073
|
+
var Companion_instance_7;
|
|
1074
|
+
function Companion_getInstance_7() {
|
|
1075
|
+
if (Companion_instance_7 == null)
|
|
1076
|
+
new Companion_7();
|
|
1077
|
+
return Companion_instance_7;
|
|
947
1078
|
}
|
|
948
|
-
function $
|
|
949
|
-
$
|
|
1079
|
+
function $serializer_4() {
|
|
1080
|
+
$serializer_instance_4 = this;
|
|
950
1081
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
951
1082
|
tmp0_serialDesc.v1s('playerId', false);
|
|
952
1083
|
tmp0_serialDesc.v1s('tag', false);
|
|
953
|
-
this.
|
|
1084
|
+
this.f2l_1 = tmp0_serialDesc;
|
|
954
1085
|
}
|
|
955
|
-
$
|
|
956
|
-
return this.
|
|
1086
|
+
$serializer_4.prototype.i1i = function () {
|
|
1087
|
+
return this.f2l_1;
|
|
957
1088
|
};
|
|
958
|
-
$
|
|
1089
|
+
$serializer_4.prototype.k1t = function () {
|
|
959
1090
|
var tmp$ret$2;
|
|
960
1091
|
// Inline function 'kotlin.arrayOf' call
|
|
961
1092
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -968,8 +1099,8 @@
|
|
|
968
1099
|
tmp$ret$2 = tmp$ret$1;
|
|
969
1100
|
return tmp$ret$2;
|
|
970
1101
|
};
|
|
971
|
-
$
|
|
972
|
-
var tmp0_desc = this.
|
|
1102
|
+
$serializer_4.prototype.k1i = function (decoder) {
|
|
1103
|
+
var tmp0_desc = this.f2l_1;
|
|
973
1104
|
var tmp1_flag = true;
|
|
974
1105
|
var tmp2_index = 0;
|
|
975
1106
|
var tmp3_bitMask0 = 0;
|
|
@@ -1003,50 +1134,50 @@
|
|
|
1003
1134
|
tmp6_input.r1l(tmp0_desc);
|
|
1004
1135
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1005
1136
|
};
|
|
1006
|
-
$
|
|
1007
|
-
var tmp0_desc = this.
|
|
1137
|
+
$serializer_4.prototype.g2l = function (encoder, value) {
|
|
1138
|
+
var tmp0_desc = this.f2l_1;
|
|
1008
1139
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
1009
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
1010
|
-
tmp1_output.i1n(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1140
|
+
tmp1_output.e1n(tmp0_desc, 0, value.h2l_1);
|
|
1141
|
+
tmp1_output.i1n(tmp0_desc, 1, StringSerializer_getInstance(), value.i2l_1);
|
|
1011
1142
|
tmp1_output.r1l(tmp0_desc);
|
|
1012
1143
|
};
|
|
1013
|
-
$
|
|
1014
|
-
return this.
|
|
1144
|
+
$serializer_4.prototype.j1i = function (encoder, value) {
|
|
1145
|
+
return this.g2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
1015
1146
|
};
|
|
1016
|
-
$
|
|
1017
|
-
var $
|
|
1018
|
-
function $
|
|
1019
|
-
if ($
|
|
1020
|
-
new $
|
|
1021
|
-
return $
|
|
1147
|
+
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
1148
|
+
var $serializer_instance_4;
|
|
1149
|
+
function $serializer_getInstance_4() {
|
|
1150
|
+
if ($serializer_instance_4 == null)
|
|
1151
|
+
new $serializer_4();
|
|
1152
|
+
return $serializer_instance_4;
|
|
1022
1153
|
}
|
|
1023
1154
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1024
1155
|
if (!(3 === (3 & seen1))) {
|
|
1025
|
-
throwMissingFieldException(seen1, 3, $
|
|
1156
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().f2l_1);
|
|
1026
1157
|
}
|
|
1027
1158
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1028
|
-
$this.
|
|
1029
|
-
$this.
|
|
1159
|
+
$this.h2l_1 = playerId;
|
|
1160
|
+
$this.i2l_1 = tag;
|
|
1030
1161
|
return $this;
|
|
1031
1162
|
}
|
|
1032
1163
|
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
1033
1164
|
return PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerTimeoutReason.prototype));
|
|
1034
1165
|
}
|
|
1035
1166
|
function PlayerTimeoutReason(playerId, tag) {
|
|
1036
|
-
|
|
1167
|
+
Companion_getInstance_7();
|
|
1037
1168
|
TerminationGameReason.call(this);
|
|
1038
|
-
this.
|
|
1039
|
-
this.
|
|
1169
|
+
this.h2l_1 = playerId;
|
|
1170
|
+
this.i2l_1 = tag;
|
|
1040
1171
|
}
|
|
1041
|
-
PlayerTimeoutReason.prototype.
|
|
1042
|
-
return this.
|
|
1172
|
+
PlayerTimeoutReason.prototype.a2l = function () {
|
|
1173
|
+
return this.h2l_1;
|
|
1043
1174
|
};
|
|
1044
1175
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
1045
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1176
|
+
return 'PlayerTimeoutReason(playerId=' + this.h2l_1 + ', tag=' + this.i2l_1 + ')';
|
|
1046
1177
|
};
|
|
1047
1178
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
1048
|
-
var result = getStringHashCode(this.
|
|
1049
|
-
result = imul(result, 31) + (this.
|
|
1179
|
+
var result = getStringHashCode(this.h2l_1);
|
|
1180
|
+
result = imul(result, 31) + (this.i2l_1 == null ? 0 : getStringHashCode(this.i2l_1)) | 0;
|
|
1050
1181
|
return result;
|
|
1051
1182
|
};
|
|
1052
1183
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -1055,13 +1186,13 @@
|
|
|
1055
1186
|
if (!(other instanceof PlayerTimeoutReason))
|
|
1056
1187
|
return false;
|
|
1057
1188
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1058
|
-
if (!(this.
|
|
1189
|
+
if (!(this.h2l_1 === tmp0_other_with_cast.h2l_1))
|
|
1059
1190
|
return false;
|
|
1060
|
-
if (!(this.
|
|
1191
|
+
if (!(this.i2l_1 == tmp0_other_with_cast.i2l_1))
|
|
1061
1192
|
return false;
|
|
1062
1193
|
return true;
|
|
1063
1194
|
};
|
|
1064
|
-
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $
|
|
1195
|
+
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_4}, undefined, TerminationGameReason.prototype);
|
|
1065
1196
|
function ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd() {
|
|
1066
1197
|
var tmp = ProcessingReason_getInstance();
|
|
1067
1198
|
var tmp$ret$2;
|
|
@@ -1080,13 +1211,13 @@
|
|
|
1080
1211
|
TerminationGameReason.call(this);
|
|
1081
1212
|
var tmp = this;
|
|
1082
1213
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1083
|
-
tmp.
|
|
1214
|
+
tmp.j2l_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
1084
1215
|
}
|
|
1085
1216
|
ProcessingReason.prototype.toString = function () {
|
|
1086
1217
|
return 'ProcessingReason';
|
|
1087
1218
|
};
|
|
1088
1219
|
ProcessingReason.prototype.d25 = function () {
|
|
1089
|
-
return this.
|
|
1220
|
+
return this.j2l_1.c2();
|
|
1090
1221
|
};
|
|
1091
1222
|
ProcessingReason.prototype.t1t = function (typeParamsSerializers) {
|
|
1092
1223
|
return this.d25();
|
|
@@ -1116,13 +1247,13 @@
|
|
|
1116
1247
|
TerminationGameReason.call(this);
|
|
1117
1248
|
var tmp = this;
|
|
1118
1249
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1119
|
-
tmp.
|
|
1250
|
+
tmp.k2l_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
1120
1251
|
}
|
|
1121
1252
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
1122
1253
|
return 'WaitingForConnectionReason';
|
|
1123
1254
|
};
|
|
1124
1255
|
WaitingForConnectionReason.prototype.d25 = function () {
|
|
1125
|
-
return this.
|
|
1256
|
+
return this.k2l_1.c2();
|
|
1126
1257
|
};
|
|
1127
1258
|
WaitingForConnectionReason.prototype.t1t = function (typeParamsSerializers) {
|
|
1128
1259
|
return this.d25();
|
|
@@ -1156,70 +1287,70 @@
|
|
|
1156
1287
|
function GameUserInfo(playerId, name, avatarUrl, isBot, payload) {
|
|
1157
1288
|
var isBot_0 = isBot === void 1 ? false : isBot;
|
|
1158
1289
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1159
|
-
this.
|
|
1160
|
-
this.
|
|
1161
|
-
this.
|
|
1162
|
-
this.
|
|
1163
|
-
this.
|
|
1290
|
+
this.l2l_1 = playerId;
|
|
1291
|
+
this.m2l_1 = name;
|
|
1292
|
+
this.n2l_1 = avatarUrl;
|
|
1293
|
+
this.o2l_1 = isBot_0;
|
|
1294
|
+
this.p2l_1 = payload_0;
|
|
1164
1295
|
}
|
|
1165
|
-
GameUserInfo.prototype.
|
|
1166
|
-
return this.
|
|
1296
|
+
GameUserInfo.prototype.a2l = function () {
|
|
1297
|
+
return this.l2l_1;
|
|
1167
1298
|
};
|
|
1168
1299
|
GameUserInfo.prototype.f5 = function () {
|
|
1169
|
-
return this.
|
|
1300
|
+
return this.m2l_1;
|
|
1170
1301
|
};
|
|
1171
|
-
GameUserInfo.prototype.
|
|
1172
|
-
return this.
|
|
1302
|
+
GameUserInfo.prototype.q2l = function () {
|
|
1303
|
+
return this.n2l_1;
|
|
1173
1304
|
};
|
|
1174
|
-
GameUserInfo.prototype.
|
|
1175
|
-
return this.
|
|
1305
|
+
GameUserInfo.prototype.r2l = function () {
|
|
1306
|
+
return this.o2l_1;
|
|
1176
1307
|
};
|
|
1177
|
-
GameUserInfo.prototype.
|
|
1178
|
-
return this.
|
|
1308
|
+
GameUserInfo.prototype.s2l = function () {
|
|
1309
|
+
return this.p2l_1;
|
|
1179
1310
|
};
|
|
1180
1311
|
GameUserInfo.prototype.component1 = function () {
|
|
1181
|
-
return this.
|
|
1312
|
+
return this.l2l_1;
|
|
1182
1313
|
};
|
|
1183
1314
|
GameUserInfo.prototype.component2 = function () {
|
|
1184
|
-
return this.
|
|
1315
|
+
return this.m2l_1;
|
|
1185
1316
|
};
|
|
1186
1317
|
GameUserInfo.prototype.component3 = function () {
|
|
1187
|
-
return this.
|
|
1318
|
+
return this.n2l_1;
|
|
1188
1319
|
};
|
|
1189
1320
|
GameUserInfo.prototype.component4 = function () {
|
|
1190
|
-
return this.
|
|
1321
|
+
return this.o2l_1;
|
|
1191
1322
|
};
|
|
1192
1323
|
GameUserInfo.prototype.component5 = function () {
|
|
1193
|
-
return this.
|
|
1324
|
+
return this.p2l_1;
|
|
1194
1325
|
};
|
|
1195
1326
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1196
|
-
return this.
|
|
1327
|
+
return this.t2l(playerId === void 1 ? this.l2l_1 : playerId, name === void 1 ? this.m2l_1 : name, avatarUrl === void 1 ? this.n2l_1 : avatarUrl, isBot === void 1 ? this.o2l_1 : isBot, payload === void 1 ? this.p2l_1 : payload);
|
|
1197
1328
|
};
|
|
1198
|
-
GameUserInfo.prototype.
|
|
1329
|
+
GameUserInfo.prototype.t2l = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1199
1330
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, payload);
|
|
1200
1331
|
};
|
|
1201
|
-
GameUserInfo.prototype.
|
|
1332
|
+
GameUserInfo.prototype.u2l = function (playerId, name, avatarUrl, isBot, payload, $mask0, $handler) {
|
|
1202
1333
|
if (!(($mask0 & 1) === 0))
|
|
1203
|
-
playerId = this.
|
|
1334
|
+
playerId = this.l2l_1;
|
|
1204
1335
|
if (!(($mask0 & 2) === 0))
|
|
1205
|
-
name = this.
|
|
1336
|
+
name = this.m2l_1;
|
|
1206
1337
|
if (!(($mask0 & 4) === 0))
|
|
1207
|
-
avatarUrl = this.
|
|
1338
|
+
avatarUrl = this.n2l_1;
|
|
1208
1339
|
if (!(($mask0 & 8) === 0))
|
|
1209
|
-
isBot = this.
|
|
1340
|
+
isBot = this.o2l_1;
|
|
1210
1341
|
if (!(($mask0 & 16) === 0))
|
|
1211
|
-
payload = this.
|
|
1212
|
-
return this.
|
|
1342
|
+
payload = this.p2l_1;
|
|
1343
|
+
return this.t2l(playerId, name, avatarUrl, isBot, payload);
|
|
1213
1344
|
};
|
|
1214
1345
|
GameUserInfo.prototype.toString = function () {
|
|
1215
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1346
|
+
return 'GameUserInfo(playerId=' + this.l2l_1 + ', name=' + this.m2l_1 + ', avatarUrl=' + this.n2l_1 + ', isBot=' + this.o2l_1 + ', payload=' + toString(this.p2l_1) + ')';
|
|
1216
1347
|
};
|
|
1217
1348
|
GameUserInfo.prototype.hashCode = function () {
|
|
1218
|
-
var result = getStringHashCode(this.
|
|
1219
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1220
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1221
|
-
result = imul(result, 31) + (this.
|
|
1222
|
-
result = imul(result, 31) + (this.
|
|
1349
|
+
var result = getStringHashCode(this.l2l_1);
|
|
1350
|
+
result = imul(result, 31) + getStringHashCode(this.m2l_1) | 0;
|
|
1351
|
+
result = imul(result, 31) + getStringHashCode(this.n2l_1) | 0;
|
|
1352
|
+
result = imul(result, 31) + (this.o2l_1 | 0) | 0;
|
|
1353
|
+
result = imul(result, 31) + (this.p2l_1 == null ? 0 : hashCode(this.p2l_1)) | 0;
|
|
1223
1354
|
return result;
|
|
1224
1355
|
};
|
|
1225
1356
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -1228,15 +1359,15 @@
|
|
|
1228
1359
|
if (!(other instanceof GameUserInfo))
|
|
1229
1360
|
return false;
|
|
1230
1361
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1231
|
-
if (!(this.
|
|
1362
|
+
if (!(this.l2l_1 === tmp0_other_with_cast.l2l_1))
|
|
1232
1363
|
return false;
|
|
1233
|
-
if (!(this.
|
|
1364
|
+
if (!(this.m2l_1 === tmp0_other_with_cast.m2l_1))
|
|
1234
1365
|
return false;
|
|
1235
|
-
if (!(this.
|
|
1366
|
+
if (!(this.n2l_1 === tmp0_other_with_cast.n2l_1))
|
|
1236
1367
|
return false;
|
|
1237
|
-
if (!(this.
|
|
1368
|
+
if (!(this.o2l_1 === tmp0_other_with_cast.o2l_1))
|
|
1238
1369
|
return false;
|
|
1239
|
-
if (!equals(this.
|
|
1370
|
+
if (!equals(this.p2l_1, tmp0_other_with_cast.p2l_1))
|
|
1240
1371
|
return false;
|
|
1241
1372
|
return true;
|
|
1242
1373
|
};
|
|
@@ -1244,7 +1375,7 @@
|
|
|
1244
1375
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
1245
1376
|
configurable: true,
|
|
1246
1377
|
get: function () {
|
|
1247
|
-
return this.
|
|
1378
|
+
return this.a2l();
|
|
1248
1379
|
}
|
|
1249
1380
|
});
|
|
1250
1381
|
Object.defineProperty(GameUserInfo.prototype, 'name', {
|
|
@@ -1253,15 +1384,15 @@
|
|
|
1253
1384
|
});
|
|
1254
1385
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
1255
1386
|
configurable: true,
|
|
1256
|
-
get: GameUserInfo.prototype.
|
|
1387
|
+
get: GameUserInfo.prototype.q2l
|
|
1257
1388
|
});
|
|
1258
1389
|
Object.defineProperty(GameUserInfo.prototype, 'isBot', {
|
|
1259
1390
|
configurable: true,
|
|
1260
|
-
get: GameUserInfo.prototype.
|
|
1391
|
+
get: GameUserInfo.prototype.r2l
|
|
1261
1392
|
});
|
|
1262
1393
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
1263
1394
|
configurable: true,
|
|
1264
|
-
get: GameUserInfo.prototype.
|
|
1395
|
+
get: GameUserInfo.prototype.s2l
|
|
1265
1396
|
});
|
|
1266
1397
|
function get_byIdPlayerPredicate() {
|
|
1267
1398
|
init_properties_Player_kt_txblev();
|
|
@@ -1315,10 +1446,6 @@
|
|
|
1315
1446
|
function Player() {
|
|
1316
1447
|
}
|
|
1317
1448
|
Player.$metadata$ = interfaceMeta('Player', [PlayerIdContract]);
|
|
1318
|
-
function nextToPlayerId(_this__u8e3s4, playerId) {
|
|
1319
|
-
init_properties_Player_kt_txblev();
|
|
1320
|
-
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1321
|
-
}
|
|
1322
1449
|
function filterByPlayerId(_this__u8e3s4, id) {
|
|
1323
1450
|
init_properties_Player_kt_txblev();
|
|
1324
1451
|
var tmp$ret$1;
|
|
@@ -1360,6 +1487,10 @@
|
|
|
1360
1487
|
tmp$ret$1 = tmp$ret$0;
|
|
1361
1488
|
return tmp$ret$1;
|
|
1362
1489
|
}
|
|
1490
|
+
function nextToPlayerId(_this__u8e3s4, playerId) {
|
|
1491
|
+
init_properties_Player_kt_txblev();
|
|
1492
|
+
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1493
|
+
}
|
|
1363
1494
|
function byIdPlayerPredicate$lambda(id) {
|
|
1364
1495
|
init_properties_Player_kt_txblev();
|
|
1365
1496
|
return byIdPlayerPredicate$lambda$lambda(id);
|
|
@@ -1371,7 +1502,7 @@
|
|
|
1371
1502
|
}
|
|
1372
1503
|
function playerTurnPredicate$lambda(p1) {
|
|
1373
1504
|
init_properties_Player_kt_txblev();
|
|
1374
|
-
return p1.am().
|
|
1505
|
+
return p1.am().b2m() ? true : p1.am().a2m();
|
|
1375
1506
|
}
|
|
1376
1507
|
var properties_initialized_Player_kt_56shkt;
|
|
1377
1508
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1383,7 +1514,7 @@
|
|
|
1383
1514
|
}
|
|
1384
1515
|
}
|
|
1385
1516
|
function PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c() {
|
|
1386
|
-
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState',
|
|
1517
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
1387
1518
|
}
|
|
1388
1519
|
var PlayerConnectionState_LIVE_instance;
|
|
1389
1520
|
var PlayerConnectionState_TIMEOUT_instance;
|
|
@@ -1391,27 +1522,27 @@
|
|
|
1391
1522
|
var PlayerConnectionState_LEFT_instance;
|
|
1392
1523
|
var PlayerConnectionState_DISCONNECTING_instance;
|
|
1393
1524
|
var PlayerConnectionState_DELETED_instance;
|
|
1394
|
-
function
|
|
1395
|
-
|
|
1525
|
+
function Companion_8() {
|
|
1526
|
+
Companion_instance_8 = this;
|
|
1396
1527
|
var tmp = this;
|
|
1397
1528
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1398
|
-
tmp.
|
|
1529
|
+
tmp.c2m_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1399
1530
|
}
|
|
1400
|
-
|
|
1401
|
-
return this.
|
|
1531
|
+
Companion_8.prototype.serializer = function () {
|
|
1532
|
+
return this.c2m_1.c2();
|
|
1402
1533
|
};
|
|
1403
|
-
|
|
1534
|
+
Companion_8.prototype.t1t = function (typeParamsSerializers) {
|
|
1404
1535
|
return this.serializer();
|
|
1405
1536
|
};
|
|
1406
|
-
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1537
|
+
Companion_8.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
1538
|
+
var Companion_instance_8;
|
|
1539
|
+
function Companion_getInstance_8() {
|
|
1409
1540
|
PlayerConnectionState_initEntries();
|
|
1410
|
-
if (
|
|
1411
|
-
new
|
|
1412
|
-
return
|
|
1541
|
+
if (Companion_instance_8 == null)
|
|
1542
|
+
new Companion_8();
|
|
1543
|
+
return Companion_instance_8;
|
|
1413
1544
|
}
|
|
1414
|
-
function
|
|
1545
|
+
function values_0() {
|
|
1415
1546
|
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
1416
1547
|
}
|
|
1417
1548
|
function valueOf(value) {
|
|
@@ -1445,67 +1576,67 @@
|
|
|
1445
1576
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1446
1577
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
1447
1578
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1448
|
-
|
|
1579
|
+
Companion_getInstance_8();
|
|
1449
1580
|
}
|
|
1450
1581
|
function PlayerConnectionState(name, ordinal) {
|
|
1451
1582
|
Enum.call(this, name, ordinal);
|
|
1452
1583
|
}
|
|
1453
|
-
PlayerConnectionState.prototype.
|
|
1584
|
+
PlayerConnectionState.prototype.f2m = function () {
|
|
1454
1585
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1455
1586
|
};
|
|
1456
|
-
PlayerConnectionState.prototype.
|
|
1587
|
+
PlayerConnectionState.prototype.g2m = function () {
|
|
1457
1588
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1458
1589
|
};
|
|
1459
|
-
PlayerConnectionState.prototype.
|
|
1590
|
+
PlayerConnectionState.prototype.h2m = function () {
|
|
1460
1591
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1461
1592
|
};
|
|
1462
|
-
PlayerConnectionState.prototype.
|
|
1593
|
+
PlayerConnectionState.prototype.i2m = function () {
|
|
1463
1594
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1464
1595
|
};
|
|
1465
|
-
PlayerConnectionState.prototype.
|
|
1596
|
+
PlayerConnectionState.prototype.j2m = function () {
|
|
1466
1597
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1467
1598
|
};
|
|
1468
|
-
PlayerConnectionState.prototype.
|
|
1599
|
+
PlayerConnectionState.prototype.k2m = function () {
|
|
1469
1600
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1470
1601
|
};
|
|
1471
|
-
PlayerConnectionState.prototype.
|
|
1602
|
+
PlayerConnectionState.prototype.l2m = function () {
|
|
1472
1603
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1473
1604
|
};
|
|
1474
|
-
PlayerConnectionState.prototype.
|
|
1605
|
+
PlayerConnectionState.prototype.m2m = function () {
|
|
1475
1606
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1476
1607
|
};
|
|
1477
|
-
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0:
|
|
1608
|
+
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0: Companion_getInstance_8}, undefined, Enum.prototype);
|
|
1478
1609
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1479
1610
|
configurable: true,
|
|
1480
|
-
get: PlayerConnectionState.prototype.
|
|
1611
|
+
get: PlayerConnectionState.prototype.f2m
|
|
1481
1612
|
});
|
|
1482
1613
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1483
1614
|
configurable: true,
|
|
1484
|
-
get: PlayerConnectionState.prototype.
|
|
1615
|
+
get: PlayerConnectionState.prototype.g2m
|
|
1485
1616
|
});
|
|
1486
1617
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1487
1618
|
configurable: true,
|
|
1488
|
-
get: PlayerConnectionState.prototype.
|
|
1619
|
+
get: PlayerConnectionState.prototype.h2m
|
|
1489
1620
|
});
|
|
1490
1621
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1491
1622
|
configurable: true,
|
|
1492
|
-
get: PlayerConnectionState.prototype.
|
|
1623
|
+
get: PlayerConnectionState.prototype.i2m
|
|
1493
1624
|
});
|
|
1494
1625
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1495
1626
|
configurable: true,
|
|
1496
|
-
get: PlayerConnectionState.prototype.
|
|
1627
|
+
get: PlayerConnectionState.prototype.j2m
|
|
1497
1628
|
});
|
|
1498
1629
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1499
1630
|
configurable: true,
|
|
1500
|
-
get: PlayerConnectionState.prototype.
|
|
1631
|
+
get: PlayerConnectionState.prototype.k2m
|
|
1501
1632
|
});
|
|
1502
1633
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1503
1634
|
configurable: true,
|
|
1504
|
-
get: PlayerConnectionState.prototype.
|
|
1635
|
+
get: PlayerConnectionState.prototype.l2m
|
|
1505
1636
|
});
|
|
1506
1637
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1507
1638
|
configurable: true,
|
|
1508
|
-
get: PlayerConnectionState.prototype.
|
|
1639
|
+
get: PlayerConnectionState.prototype.m2m
|
|
1509
1640
|
});
|
|
1510
1641
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1511
1642
|
configurable: true,
|
|
@@ -1540,32 +1671,32 @@
|
|
|
1540
1671
|
return PlayerConnectionState_DELETED_instance;
|
|
1541
1672
|
}
|
|
1542
1673
|
function PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar() {
|
|
1543
|
-
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState',
|
|
1674
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
1544
1675
|
}
|
|
1545
1676
|
var PlayerWaitingState_IDLE_instance;
|
|
1546
1677
|
var PlayerWaitingState_IN_PROGRESS_instance;
|
|
1547
1678
|
var PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1548
|
-
function
|
|
1549
|
-
|
|
1679
|
+
function Companion_9() {
|
|
1680
|
+
Companion_instance_9 = this;
|
|
1550
1681
|
var tmp = this;
|
|
1551
1682
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1552
|
-
tmp.
|
|
1683
|
+
tmp.n2m_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1553
1684
|
}
|
|
1554
|
-
|
|
1555
|
-
return this.
|
|
1685
|
+
Companion_9.prototype.d25 = function () {
|
|
1686
|
+
return this.n2m_1.c2();
|
|
1556
1687
|
};
|
|
1557
|
-
|
|
1688
|
+
Companion_9.prototype.t1t = function (typeParamsSerializers) {
|
|
1558
1689
|
return this.d25();
|
|
1559
1690
|
};
|
|
1560
|
-
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1691
|
+
Companion_9.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
1692
|
+
var Companion_instance_9;
|
|
1693
|
+
function Companion_getInstance_9() {
|
|
1563
1694
|
PlayerWaitingState_initEntries();
|
|
1564
|
-
if (
|
|
1565
|
-
new
|
|
1566
|
-
return
|
|
1695
|
+
if (Companion_instance_9 == null)
|
|
1696
|
+
new Companion_9();
|
|
1697
|
+
return Companion_instance_9;
|
|
1567
1698
|
}
|
|
1568
|
-
function
|
|
1699
|
+
function values_1() {
|
|
1569
1700
|
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
1570
1701
|
}
|
|
1571
1702
|
var PlayerWaitingState_entriesInitialized;
|
|
@@ -1576,40 +1707,40 @@
|
|
|
1576
1707
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
1577
1708
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
1578
1709
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
1579
|
-
|
|
1710
|
+
Companion_getInstance_9();
|
|
1580
1711
|
}
|
|
1581
1712
|
function PlayerWaitingState(name, ordinal) {
|
|
1582
1713
|
Enum.call(this, name, ordinal);
|
|
1583
1714
|
}
|
|
1584
|
-
PlayerWaitingState.prototype.
|
|
1585
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1715
|
+
PlayerWaitingState.prototype.b2m = function () {
|
|
1716
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.a2m();
|
|
1586
1717
|
};
|
|
1587
|
-
PlayerWaitingState.prototype.
|
|
1718
|
+
PlayerWaitingState.prototype.a2m = function () {
|
|
1588
1719
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1589
1720
|
};
|
|
1590
|
-
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0:
|
|
1591
|
-
function
|
|
1592
|
-
|
|
1721
|
+
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0: Companion_getInstance_9}, undefined, Enum.prototype);
|
|
1722
|
+
function Companion_10() {
|
|
1723
|
+
Companion_instance_10 = this;
|
|
1593
1724
|
}
|
|
1594
|
-
|
|
1725
|
+
Companion_10.prototype.q2m = function (connectionState) {
|
|
1595
1726
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1596
1727
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1597
1728
|
};
|
|
1598
|
-
|
|
1729
|
+
Companion_10.prototype.r2m = function (_this__u8e3s4) {
|
|
1599
1730
|
var tmp = new Long(0, 0);
|
|
1600
1731
|
var tmp_0 = PlayerWaitingState_IDLE_getInstance();
|
|
1601
|
-
return _this__u8e3s4.
|
|
1732
|
+
return _this__u8e3s4.s2m(tmp, tmp_0, false, null, null, 12, null);
|
|
1602
1733
|
};
|
|
1603
|
-
|
|
1734
|
+
Companion_10.prototype.t2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1604
1735
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1605
|
-
return _this__u8e3s4.
|
|
1736
|
+
return _this__u8e3s4.s2m(startFromTime, tmp0_state, false, null, tag, 8, null);
|
|
1606
1737
|
};
|
|
1607
|
-
|
|
1608
|
-
var
|
|
1609
|
-
function
|
|
1610
|
-
if (
|
|
1611
|
-
new
|
|
1612
|
-
return
|
|
1738
|
+
Companion_10.$metadata$ = objectMeta('Companion');
|
|
1739
|
+
var Companion_instance_10;
|
|
1740
|
+
function Companion_getInstance_10() {
|
|
1741
|
+
if (Companion_instance_10 == null)
|
|
1742
|
+
new Companion_10();
|
|
1743
|
+
return Companion_instance_10;
|
|
1613
1744
|
}
|
|
1614
1745
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
1615
1746
|
PlayerWaitingState_initEntries();
|
|
@@ -1624,26 +1755,26 @@
|
|
|
1624
1755
|
return PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1625
1756
|
}
|
|
1626
1757
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1627
|
-
|
|
1628
|
-
this.
|
|
1629
|
-
this.
|
|
1630
|
-
this.
|
|
1631
|
-
this.
|
|
1632
|
-
this.
|
|
1758
|
+
Companion_getInstance_10();
|
|
1759
|
+
this.v2l_1 = startFromTime;
|
|
1760
|
+
this.w2l_1 = state;
|
|
1761
|
+
this.x2l_1 = ready;
|
|
1762
|
+
this.y2l_1 = connectionState;
|
|
1763
|
+
this.z2l_1 = tag;
|
|
1633
1764
|
}
|
|
1634
|
-
PlayerState.prototype.
|
|
1635
|
-
return this.
|
|
1765
|
+
PlayerState.prototype.u2m = function () {
|
|
1766
|
+
return this.x2l_1;
|
|
1636
1767
|
};
|
|
1637
|
-
PlayerState.prototype.
|
|
1638
|
-
return this.
|
|
1768
|
+
PlayerState.prototype.v2m = function () {
|
|
1769
|
+
return this.y2l_1;
|
|
1639
1770
|
};
|
|
1640
1771
|
PlayerState.prototype.o2e = function () {
|
|
1641
|
-
return this.
|
|
1772
|
+
return this.z2l_1;
|
|
1642
1773
|
};
|
|
1643
|
-
PlayerState.prototype.
|
|
1774
|
+
PlayerState.prototype.w2m = function () {
|
|
1644
1775
|
var tmp$ret$2;
|
|
1645
1776
|
// Inline function 'kotlin.requireNotNull' call
|
|
1646
|
-
var tmp0_requireNotNull = this.
|
|
1777
|
+
var tmp0_requireNotNull = this.z2l_1;
|
|
1647
1778
|
// Inline function 'kotlin.contracts.contract' call
|
|
1648
1779
|
var tmp$ret$1;
|
|
1649
1780
|
$l$block: {
|
|
@@ -1663,41 +1794,41 @@
|
|
|
1663
1794
|
tmp$ret$2 = tmp$ret$1;
|
|
1664
1795
|
return tmp$ret$2;
|
|
1665
1796
|
};
|
|
1666
|
-
PlayerState.prototype.
|
|
1667
|
-
var tmp0_elvis_lhs = this.
|
|
1797
|
+
PlayerState.prototype.x2m = function () {
|
|
1798
|
+
var tmp0_elvis_lhs = this.z2l_1;
|
|
1668
1799
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1669
1800
|
};
|
|
1670
|
-
PlayerState.prototype.
|
|
1671
|
-
return this.
|
|
1801
|
+
PlayerState.prototype.b2m = function () {
|
|
1802
|
+
return this.w2l_1.b2m();
|
|
1672
1803
|
};
|
|
1673
|
-
PlayerState.prototype.
|
|
1674
|
-
return this.
|
|
1804
|
+
PlayerState.prototype.a2m = function () {
|
|
1805
|
+
return this.w2l_1.a2m();
|
|
1675
1806
|
};
|
|
1676
|
-
PlayerState.prototype.
|
|
1807
|
+
PlayerState.prototype.y2m = function (startFromTime, state, ready, connectionState, tag) {
|
|
1677
1808
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1678
1809
|
};
|
|
1679
|
-
PlayerState.prototype.
|
|
1810
|
+
PlayerState.prototype.s2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1680
1811
|
if (!(($mask0 & 1) === 0))
|
|
1681
|
-
startFromTime = this.
|
|
1812
|
+
startFromTime = this.v2l_1;
|
|
1682
1813
|
if (!(($mask0 & 2) === 0))
|
|
1683
|
-
state = this.
|
|
1814
|
+
state = this.w2l_1;
|
|
1684
1815
|
if (!(($mask0 & 4) === 0))
|
|
1685
|
-
ready = this.
|
|
1816
|
+
ready = this.x2l_1;
|
|
1686
1817
|
if (!(($mask0 & 8) === 0))
|
|
1687
|
-
connectionState = this.
|
|
1818
|
+
connectionState = this.y2l_1;
|
|
1688
1819
|
if (!(($mask0 & 16) === 0))
|
|
1689
|
-
tag = this.
|
|
1690
|
-
return this.
|
|
1820
|
+
tag = this.z2l_1;
|
|
1821
|
+
return this.y2m(startFromTime, state, ready, connectionState, tag);
|
|
1691
1822
|
};
|
|
1692
1823
|
PlayerState.prototype.toString = function () {
|
|
1693
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1824
|
+
return 'PlayerState(startFromTime=' + toString_0(this.v2l_1) + ', state=' + this.w2l_1 + ', ready=' + this.x2l_1 + ', connectionState=' + this.y2l_1 + ', tag=' + this.z2l_1 + ')';
|
|
1694
1825
|
};
|
|
1695
1826
|
PlayerState.prototype.hashCode = function () {
|
|
1696
|
-
var result = this.
|
|
1697
|
-
result = imul(result, 31) + this.
|
|
1698
|
-
result = imul(result, 31) + (this.
|
|
1699
|
-
result = imul(result, 31) + this.
|
|
1700
|
-
result = imul(result, 31) + (this.
|
|
1827
|
+
var result = this.v2l_1.hashCode();
|
|
1828
|
+
result = imul(result, 31) + this.w2l_1.hashCode() | 0;
|
|
1829
|
+
result = imul(result, 31) + (this.x2l_1 | 0) | 0;
|
|
1830
|
+
result = imul(result, 31) + this.y2l_1.hashCode() | 0;
|
|
1831
|
+
result = imul(result, 31) + (this.z2l_1 == null ? 0 : getStringHashCode(this.z2l_1)) | 0;
|
|
1701
1832
|
return result;
|
|
1702
1833
|
};
|
|
1703
1834
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1706,27 +1837,27 @@
|
|
|
1706
1837
|
if (!(other instanceof PlayerState))
|
|
1707
1838
|
return false;
|
|
1708
1839
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1709
|
-
if (!this.
|
|
1840
|
+
if (!this.v2l_1.equals(tmp0_other_with_cast.v2l_1))
|
|
1710
1841
|
return false;
|
|
1711
|
-
if (!this.
|
|
1842
|
+
if (!this.w2l_1.equals(tmp0_other_with_cast.w2l_1))
|
|
1712
1843
|
return false;
|
|
1713
|
-
if (!(this.
|
|
1844
|
+
if (!(this.x2l_1 === tmp0_other_with_cast.x2l_1))
|
|
1714
1845
|
return false;
|
|
1715
|
-
if (!this.
|
|
1846
|
+
if (!this.y2l_1.equals(tmp0_other_with_cast.y2l_1))
|
|
1716
1847
|
return false;
|
|
1717
|
-
if (!(this.
|
|
1848
|
+
if (!(this.z2l_1 == tmp0_other_with_cast.z2l_1))
|
|
1718
1849
|
return false;
|
|
1719
1850
|
return true;
|
|
1720
1851
|
};
|
|
1721
1852
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1722
1853
|
function Team(playerIds) {
|
|
1723
|
-
this.
|
|
1854
|
+
this.z2m_1 = playerIds;
|
|
1724
1855
|
}
|
|
1725
1856
|
Team.prototype.toString = function () {
|
|
1726
|
-
return 'Team(playerIds=' + this.
|
|
1857
|
+
return 'Team(playerIds=' + this.z2m_1 + ')';
|
|
1727
1858
|
};
|
|
1728
1859
|
Team.prototype.hashCode = function () {
|
|
1729
|
-
return hashCode(this.
|
|
1860
|
+
return hashCode(this.z2m_1);
|
|
1730
1861
|
};
|
|
1731
1862
|
Team.prototype.equals = function (other) {
|
|
1732
1863
|
if (this === other)
|
|
@@ -1734,200 +1865,206 @@
|
|
|
1734
1865
|
if (!(other instanceof Team))
|
|
1735
1866
|
return false;
|
|
1736
1867
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1737
|
-
if (!equals(this.
|
|
1868
|
+
if (!equals(this.z2m_1, tmp0_other_with_cast.z2m_1))
|
|
1738
1869
|
return false;
|
|
1739
1870
|
return true;
|
|
1740
1871
|
};
|
|
1741
1872
|
Team.$metadata$ = classMeta('Team');
|
|
1742
|
-
function
|
|
1743
|
-
|
|
1873
|
+
function Companion_11() {
|
|
1874
|
+
Companion_instance_11 = this;
|
|
1744
1875
|
}
|
|
1745
|
-
|
|
1746
|
-
return new Rules(true, true, true, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
1876
|
+
Companion_11.prototype.kharkiv = function () {
|
|
1877
|
+
return new Rules(true, true, true, false, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
1747
1878
|
};
|
|
1748
|
-
|
|
1749
|
-
return new Rules(true, false, true, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
1879
|
+
Companion_11.prototype.klabor = function () {
|
|
1880
|
+
return new Rules(true, false, true, false, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
1750
1881
|
};
|
|
1751
|
-
|
|
1752
|
-
return new Rules(true, false, false, true, true, true, false, false, true, false, false, 0, false, true, false, false);
|
|
1882
|
+
Companion_11.prototype.debertzCommon = function () {
|
|
1883
|
+
return new Rules(true, false, false, false, true, true, true, false, false, true, false, false, 0, false, true, false, false);
|
|
1753
1884
|
};
|
|
1754
|
-
|
|
1755
|
-
return new Rules(true, true, false, true, true, true, false, true, true, false, false, 50, false, true, false, false);
|
|
1885
|
+
Companion_11.prototype.belot = function () {
|
|
1886
|
+
return new Rules(true, true, false, false, true, true, true, false, true, true, false, false, 50, false, true, false, false);
|
|
1756
1887
|
};
|
|
1757
|
-
|
|
1758
|
-
return new Rules(false, false, false, true, true, true, false, false, false, false, false, 50, false, false, false, false);
|
|
1888
|
+
Companion_11.prototype.custom = function () {
|
|
1889
|
+
return new Rules(false, false, false, false, true, true, true, false, false, false, false, false, 50, false, false, false, false);
|
|
1759
1890
|
};
|
|
1760
|
-
|
|
1761
|
-
var
|
|
1762
|
-
function
|
|
1763
|
-
if (
|
|
1764
|
-
new
|
|
1765
|
-
return
|
|
1891
|
+
Companion_11.$metadata$ = objectMeta('Companion');
|
|
1892
|
+
var Companion_instance_11;
|
|
1893
|
+
function Companion_getInstance_11() {
|
|
1894
|
+
if (Companion_instance_11 == null)
|
|
1895
|
+
new Companion_11();
|
|
1896
|
+
return Companion_instance_11;
|
|
1766
1897
|
}
|
|
1767
|
-
function Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1768
|
-
|
|
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
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
};
|
|
1789
|
-
Rules.prototype.o2n = function () {
|
|
1790
|
-
return this.y2m_1;
|
|
1791
|
-
};
|
|
1792
|
-
Rules.prototype.p2n = function () {
|
|
1793
|
-
return this.z2m_1;
|
|
1794
|
-
};
|
|
1795
|
-
Rules.prototype.q2n = function () {
|
|
1898
|
+
function Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1899
|
+
Companion_getInstance_11();
|
|
1900
|
+
this.a2n_1 = needToPutHigherTrump;
|
|
1901
|
+
this.b2n_1 = distributePoints;
|
|
1902
|
+
this.c2n_1 = protectBella;
|
|
1903
|
+
this.d2n_1 = oneTryToProtectBella;
|
|
1904
|
+
this.e2n_1 = enableFourSevensCombination;
|
|
1905
|
+
this.f2n_1 = enableTrumpSevenCombination;
|
|
1906
|
+
this.g2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1907
|
+
this.h2n_1 = playerWhoChooseSuitGoFirst;
|
|
1908
|
+
this.i2n_1 = winnerShuffleCards;
|
|
1909
|
+
this.j2n_1 = playWithoutLiabilities;
|
|
1910
|
+
this.k2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1911
|
+
this.l2n_1 = enableFineIfNoBribes;
|
|
1912
|
+
this.m2n_1 = fineIfNoBribes;
|
|
1913
|
+
this.n2n_1 = enableFineAfterThirdByte;
|
|
1914
|
+
this.o2n_1 = checkTrumpCombination;
|
|
1915
|
+
this.p2n_1 = checkOnlyTrumpDebertz;
|
|
1916
|
+
this.q2n_1 = tenCardsInHand;
|
|
1917
|
+
}
|
|
1918
|
+
Rules.prototype.r2n = function () {
|
|
1796
1919
|
return this.a2n_1;
|
|
1797
1920
|
};
|
|
1798
|
-
Rules.prototype.
|
|
1921
|
+
Rules.prototype.s2n = function () {
|
|
1799
1922
|
return this.b2n_1;
|
|
1800
1923
|
};
|
|
1801
|
-
Rules.prototype.
|
|
1924
|
+
Rules.prototype.t2n = function () {
|
|
1802
1925
|
return this.c2n_1;
|
|
1803
1926
|
};
|
|
1804
|
-
Rules.prototype.
|
|
1927
|
+
Rules.prototype.u2n = function () {
|
|
1805
1928
|
return this.d2n_1;
|
|
1806
1929
|
};
|
|
1807
|
-
Rules.prototype.
|
|
1930
|
+
Rules.prototype.v2n = function () {
|
|
1808
1931
|
return this.e2n_1;
|
|
1809
1932
|
};
|
|
1810
|
-
Rules.prototype.
|
|
1933
|
+
Rules.prototype.w2n = function () {
|
|
1811
1934
|
return this.f2n_1;
|
|
1812
1935
|
};
|
|
1813
|
-
Rules.prototype.
|
|
1936
|
+
Rules.prototype.x2n = function () {
|
|
1814
1937
|
return this.g2n_1;
|
|
1815
1938
|
};
|
|
1816
|
-
Rules.prototype.
|
|
1939
|
+
Rules.prototype.y2n = function () {
|
|
1817
1940
|
return this.h2n_1;
|
|
1818
1941
|
};
|
|
1819
|
-
Rules.prototype.
|
|
1942
|
+
Rules.prototype.z2n = function () {
|
|
1820
1943
|
return this.i2n_1;
|
|
1821
1944
|
};
|
|
1822
|
-
Rules.prototype.
|
|
1945
|
+
Rules.prototype.a2o = function () {
|
|
1823
1946
|
return this.j2n_1;
|
|
1824
1947
|
};
|
|
1825
|
-
Rules.prototype.
|
|
1948
|
+
Rules.prototype.b2o = function () {
|
|
1826
1949
|
return this.k2n_1;
|
|
1827
1950
|
};
|
|
1828
|
-
Rules.prototype.
|
|
1951
|
+
Rules.prototype.c2o = function () {
|
|
1829
1952
|
return this.l2n_1;
|
|
1830
1953
|
};
|
|
1831
|
-
Rules.prototype.
|
|
1954
|
+
Rules.prototype.d2o = function () {
|
|
1832
1955
|
return this.m2n_1;
|
|
1833
1956
|
};
|
|
1957
|
+
Rules.prototype.e2o = function () {
|
|
1958
|
+
return this.n2n_1;
|
|
1959
|
+
};
|
|
1960
|
+
Rules.prototype.f2o = function () {
|
|
1961
|
+
return this.o2n_1;
|
|
1962
|
+
};
|
|
1963
|
+
Rules.prototype.g2o = function () {
|
|
1964
|
+
return this.p2n_1;
|
|
1965
|
+
};
|
|
1966
|
+
Rules.prototype.h2o = function () {
|
|
1967
|
+
return this.q2n_1;
|
|
1968
|
+
};
|
|
1834
1969
|
Rules.prototype.component1 = function () {
|
|
1835
|
-
return this.
|
|
1970
|
+
return this.a2n_1;
|
|
1836
1971
|
};
|
|
1837
1972
|
Rules.prototype.component2 = function () {
|
|
1838
|
-
return this.
|
|
1973
|
+
return this.b2n_1;
|
|
1839
1974
|
};
|
|
1840
1975
|
Rules.prototype.component3 = function () {
|
|
1841
|
-
return this.
|
|
1976
|
+
return this.c2n_1;
|
|
1842
1977
|
};
|
|
1843
1978
|
Rules.prototype.component4 = function () {
|
|
1844
|
-
return this.
|
|
1979
|
+
return this.d2n_1;
|
|
1845
1980
|
};
|
|
1846
1981
|
Rules.prototype.component5 = function () {
|
|
1847
|
-
return this.
|
|
1982
|
+
return this.e2n_1;
|
|
1848
1983
|
};
|
|
1849
1984
|
Rules.prototype.component6 = function () {
|
|
1850
|
-
return this.
|
|
1985
|
+
return this.f2n_1;
|
|
1851
1986
|
};
|
|
1852
1987
|
Rules.prototype.component7 = function () {
|
|
1853
|
-
return this.
|
|
1988
|
+
return this.g2n_1;
|
|
1854
1989
|
};
|
|
1855
1990
|
Rules.prototype.component8 = function () {
|
|
1856
|
-
return this.
|
|
1991
|
+
return this.h2n_1;
|
|
1857
1992
|
};
|
|
1858
1993
|
Rules.prototype.component9 = function () {
|
|
1859
|
-
return this.
|
|
1994
|
+
return this.i2n_1;
|
|
1860
1995
|
};
|
|
1861
1996
|
Rules.prototype.component10 = function () {
|
|
1862
|
-
return this.
|
|
1997
|
+
return this.j2n_1;
|
|
1863
1998
|
};
|
|
1864
1999
|
Rules.prototype.component11 = function () {
|
|
1865
|
-
return this.
|
|
2000
|
+
return this.k2n_1;
|
|
1866
2001
|
};
|
|
1867
2002
|
Rules.prototype.component12 = function () {
|
|
1868
|
-
return this.
|
|
2003
|
+
return this.l2n_1;
|
|
1869
2004
|
};
|
|
1870
2005
|
Rules.prototype.component13 = function () {
|
|
1871
|
-
return this.
|
|
2006
|
+
return this.m2n_1;
|
|
1872
2007
|
};
|
|
1873
2008
|
Rules.prototype.component14 = function () {
|
|
1874
|
-
return this.
|
|
2009
|
+
return this.n2n_1;
|
|
1875
2010
|
};
|
|
1876
2011
|
Rules.prototype.component15 = function () {
|
|
1877
|
-
return this.
|
|
2012
|
+
return this.o2n_1;
|
|
1878
2013
|
};
|
|
1879
2014
|
Rules.prototype.component16 = function () {
|
|
1880
|
-
return this.
|
|
2015
|
+
return this.p2n_1;
|
|
1881
2016
|
};
|
|
1882
|
-
Rules.prototype.
|
|
1883
|
-
return this.
|
|
2017
|
+
Rules.prototype.component17 = function () {
|
|
2018
|
+
return this.q2n_1;
|
|
1884
2019
|
};
|
|
1885
|
-
Rules.prototype.
|
|
1886
|
-
return
|
|
2020
|
+
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2021
|
+
return this.i2o(needToPutHigherTrump === void 1 ? this.a2n_1 : needToPutHigherTrump, distributePoints === void 1 ? this.b2n_1 : distributePoints, protectBella === void 1 ? this.c2n_1 : protectBella, oneTryToProtectBella === void 1 ? this.d2n_1 : oneTryToProtectBella, enableFourSevensCombination === void 1 ? this.e2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.f2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.g2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.h2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.i2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.j2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.k2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.l2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.m2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.n2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.o2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.p2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.q2n_1 : tenCardsInHand);
|
|
1887
2022
|
};
|
|
1888
|
-
Rules.prototype.
|
|
2023
|
+
Rules.prototype.i2o = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2024
|
+
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2025
|
+
};
|
|
2026
|
+
Rules.prototype.j2o = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1889
2027
|
if (!(($mask0 & 1) === 0))
|
|
1890
|
-
needToPutHigherTrump = this.
|
|
2028
|
+
needToPutHigherTrump = this.a2n_1;
|
|
1891
2029
|
if (!(($mask0 & 2) === 0))
|
|
1892
|
-
distributePoints = this.
|
|
2030
|
+
distributePoints = this.b2n_1;
|
|
1893
2031
|
if (!(($mask0 & 4) === 0))
|
|
1894
|
-
protectBella = this.
|
|
2032
|
+
protectBella = this.c2n_1;
|
|
1895
2033
|
if (!(($mask0 & 8) === 0))
|
|
1896
|
-
|
|
2034
|
+
oneTryToProtectBella = this.d2n_1;
|
|
1897
2035
|
if (!(($mask0 & 16) === 0))
|
|
1898
|
-
|
|
2036
|
+
enableFourSevensCombination = this.e2n_1;
|
|
1899
2037
|
if (!(($mask0 & 32) === 0))
|
|
1900
|
-
|
|
2038
|
+
enableTrumpSevenCombination = this.f2n_1;
|
|
1901
2039
|
if (!(($mask0 & 64) === 0))
|
|
1902
|
-
|
|
2040
|
+
enableTrumpSevenCombinationAfterDistribution = this.g2n_1;
|
|
1903
2041
|
if (!(($mask0 & 128) === 0))
|
|
1904
|
-
|
|
2042
|
+
playerWhoChooseSuitGoFirst = this.h2n_1;
|
|
1905
2043
|
if (!(($mask0 & 256) === 0))
|
|
1906
|
-
|
|
2044
|
+
winnerShuffleCards = this.i2n_1;
|
|
1907
2045
|
if (!(($mask0 & 512) === 0))
|
|
1908
|
-
|
|
2046
|
+
playWithoutLiabilities = this.j2n_1;
|
|
1909
2047
|
if (!(($mask0 & 1024) === 0))
|
|
1910
|
-
|
|
2048
|
+
trumpCardGoToPlayerWhoShuffleCards = this.k2n_1;
|
|
1911
2049
|
if (!(($mask0 & 2048) === 0))
|
|
1912
|
-
|
|
2050
|
+
enableFineIfNoBribes = this.l2n_1;
|
|
1913
2051
|
if (!(($mask0 & 4096) === 0))
|
|
1914
|
-
|
|
2052
|
+
fineIfNoBribes = this.m2n_1;
|
|
1915
2053
|
if (!(($mask0 & 8192) === 0))
|
|
1916
|
-
|
|
2054
|
+
enableFineAfterThirdByte = this.n2n_1;
|
|
1917
2055
|
if (!(($mask0 & 16384) === 0))
|
|
1918
|
-
|
|
2056
|
+
checkTrumpCombination = this.o2n_1;
|
|
1919
2057
|
if (!(($mask0 & 32768) === 0))
|
|
1920
|
-
|
|
1921
|
-
|
|
2058
|
+
checkOnlyTrumpDebertz = this.p2n_1;
|
|
2059
|
+
if (!(($mask0 & 65536) === 0))
|
|
2060
|
+
tenCardsInHand = this.q2n_1;
|
|
2061
|
+
return this.i2o(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1922
2062
|
};
|
|
1923
2063
|
Rules.prototype.toString = function () {
|
|
1924
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
2064
|
+
return 'Rules(needToPutHigherTrump=' + this.a2n_1 + ', distributePoints=' + this.b2n_1 + ', protectBella=' + this.c2n_1 + ', oneTryToProtectBella=' + this.d2n_1 + ', enableFourSevensCombination=' + this.e2n_1 + ', enableTrumpSevenCombination=' + this.f2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.g2n_1 + ', playerWhoChooseSuitGoFirst=' + this.h2n_1 + ', winnerShuffleCards=' + this.i2n_1 + ', playWithoutLiabilities=' + this.j2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.k2n_1 + ', enableFineIfNoBribes=' + this.l2n_1 + ', fineIfNoBribes=' + this.m2n_1 + ', enableFineAfterThirdByte=' + this.n2n_1 + ', checkTrumpCombination=' + this.o2n_1 + ', checkOnlyTrumpDebertz=' + this.p2n_1 + ', tenCardsInHand=' + this.q2n_1 + ')';
|
|
1925
2065
|
};
|
|
1926
2066
|
Rules.prototype.hashCode = function () {
|
|
1927
|
-
var result = this.
|
|
1928
|
-
result = imul(result, 31) + (this.y2m_1 | 0) | 0;
|
|
1929
|
-
result = imul(result, 31) + (this.z2m_1 | 0) | 0;
|
|
1930
|
-
result = imul(result, 31) + (this.a2n_1 | 0) | 0;
|
|
2067
|
+
var result = this.a2n_1 | 0;
|
|
1931
2068
|
result = imul(result, 31) + (this.b2n_1 | 0) | 0;
|
|
1932
2069
|
result = imul(result, 31) + (this.c2n_1 | 0) | 0;
|
|
1933
2070
|
result = imul(result, 31) + (this.d2n_1 | 0) | 0;
|
|
@@ -1935,11 +2072,15 @@
|
|
|
1935
2072
|
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1936
2073
|
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
1937
2074
|
result = imul(result, 31) + (this.h2n_1 | 0) | 0;
|
|
1938
|
-
result = imul(result, 31) + this.i2n_1 | 0;
|
|
2075
|
+
result = imul(result, 31) + (this.i2n_1 | 0) | 0;
|
|
1939
2076
|
result = imul(result, 31) + (this.j2n_1 | 0) | 0;
|
|
1940
2077
|
result = imul(result, 31) + (this.k2n_1 | 0) | 0;
|
|
1941
2078
|
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1942
|
-
result = imul(result, 31) +
|
|
2079
|
+
result = imul(result, 31) + this.m2n_1 | 0;
|
|
2080
|
+
result = imul(result, 31) + (this.n2n_1 | 0) | 0;
|
|
2081
|
+
result = imul(result, 31) + (this.o2n_1 | 0) | 0;
|
|
2082
|
+
result = imul(result, 31) + (this.p2n_1 | 0) | 0;
|
|
2083
|
+
result = imul(result, 31) + (this.q2n_1 | 0) | 0;
|
|
1943
2084
|
return result;
|
|
1944
2085
|
};
|
|
1945
2086
|
Rules.prototype.equals = function (other) {
|
|
@@ -1948,12 +2089,6 @@
|
|
|
1948
2089
|
if (!(other instanceof Rules))
|
|
1949
2090
|
return false;
|
|
1950
2091
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1951
|
-
if (!(this.x2m_1 === tmp0_other_with_cast.x2m_1))
|
|
1952
|
-
return false;
|
|
1953
|
-
if (!(this.y2m_1 === tmp0_other_with_cast.y2m_1))
|
|
1954
|
-
return false;
|
|
1955
|
-
if (!(this.z2m_1 === tmp0_other_with_cast.z2m_1))
|
|
1956
|
-
return false;
|
|
1957
2092
|
if (!(this.a2n_1 === tmp0_other_with_cast.a2n_1))
|
|
1958
2093
|
return false;
|
|
1959
2094
|
if (!(this.b2n_1 === tmp0_other_with_cast.b2n_1))
|
|
@@ -1980,79 +2115,91 @@
|
|
|
1980
2115
|
return false;
|
|
1981
2116
|
if (!(this.m2n_1 === tmp0_other_with_cast.m2n_1))
|
|
1982
2117
|
return false;
|
|
2118
|
+
if (!(this.n2n_1 === tmp0_other_with_cast.n2n_1))
|
|
2119
|
+
return false;
|
|
2120
|
+
if (!(this.o2n_1 === tmp0_other_with_cast.o2n_1))
|
|
2121
|
+
return false;
|
|
2122
|
+
if (!(this.p2n_1 === tmp0_other_with_cast.p2n_1))
|
|
2123
|
+
return false;
|
|
2124
|
+
if (!(this.q2n_1 === tmp0_other_with_cast.q2n_1))
|
|
2125
|
+
return false;
|
|
1983
2126
|
return true;
|
|
1984
2127
|
};
|
|
1985
2128
|
Rules.$metadata$ = classMeta('Rules');
|
|
1986
2129
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1987
2130
|
configurable: true,
|
|
1988
|
-
get: Rules.prototype.
|
|
2131
|
+
get: Rules.prototype.r2n
|
|
1989
2132
|
});
|
|
1990
2133
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1991
2134
|
configurable: true,
|
|
1992
|
-
get: Rules.prototype.
|
|
2135
|
+
get: Rules.prototype.s2n
|
|
1993
2136
|
});
|
|
1994
2137
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1995
2138
|
configurable: true,
|
|
1996
|
-
get: Rules.prototype.
|
|
2139
|
+
get: Rules.prototype.t2n
|
|
2140
|
+
});
|
|
2141
|
+
Object.defineProperty(Rules.prototype, 'oneTryToProtectBella', {
|
|
2142
|
+
configurable: true,
|
|
2143
|
+
get: Rules.prototype.u2n
|
|
1997
2144
|
});
|
|
1998
2145
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1999
2146
|
configurable: true,
|
|
2000
|
-
get: Rules.prototype.
|
|
2147
|
+
get: Rules.prototype.v2n
|
|
2001
2148
|
});
|
|
2002
2149
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
2003
2150
|
configurable: true,
|
|
2004
|
-
get: Rules.prototype.
|
|
2151
|
+
get: Rules.prototype.w2n
|
|
2005
2152
|
});
|
|
2006
2153
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
2007
2154
|
configurable: true,
|
|
2008
|
-
get: Rules.prototype.
|
|
2155
|
+
get: Rules.prototype.x2n
|
|
2009
2156
|
});
|
|
2010
2157
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
2011
2158
|
configurable: true,
|
|
2012
|
-
get: Rules.prototype.
|
|
2159
|
+
get: Rules.prototype.y2n
|
|
2013
2160
|
});
|
|
2014
2161
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
2015
2162
|
configurable: true,
|
|
2016
|
-
get: Rules.prototype.
|
|
2163
|
+
get: Rules.prototype.z2n
|
|
2017
2164
|
});
|
|
2018
2165
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
2019
2166
|
configurable: true,
|
|
2020
|
-
get: Rules.prototype.
|
|
2167
|
+
get: Rules.prototype.a2o
|
|
2021
2168
|
});
|
|
2022
2169
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
2023
2170
|
configurable: true,
|
|
2024
|
-
get: Rules.prototype.
|
|
2171
|
+
get: Rules.prototype.b2o
|
|
2025
2172
|
});
|
|
2026
2173
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
2027
2174
|
configurable: true,
|
|
2028
|
-
get: Rules.prototype.
|
|
2175
|
+
get: Rules.prototype.c2o
|
|
2029
2176
|
});
|
|
2030
2177
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
2031
2178
|
configurable: true,
|
|
2032
|
-
get: Rules.prototype.
|
|
2179
|
+
get: Rules.prototype.d2o
|
|
2033
2180
|
});
|
|
2034
2181
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
2035
2182
|
configurable: true,
|
|
2036
|
-
get: Rules.prototype.
|
|
2183
|
+
get: Rules.prototype.e2o
|
|
2037
2184
|
});
|
|
2038
2185
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
2039
2186
|
configurable: true,
|
|
2040
|
-
get: Rules.prototype.
|
|
2187
|
+
get: Rules.prototype.f2o
|
|
2041
2188
|
});
|
|
2042
2189
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
2043
2190
|
configurable: true,
|
|
2044
|
-
get: Rules.prototype.
|
|
2191
|
+
get: Rules.prototype.g2o
|
|
2045
2192
|
});
|
|
2046
2193
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
2047
2194
|
configurable: true,
|
|
2048
|
-
get: Rules.prototype.
|
|
2195
|
+
get: Rules.prototype.h2o
|
|
2049
2196
|
});
|
|
2050
2197
|
var RulesSetType_belot_instance;
|
|
2051
2198
|
var RulesSetType_klabor_instance;
|
|
2052
2199
|
var RulesSetType_debertzCommon_instance;
|
|
2053
2200
|
var RulesSetType_debertzKharkiv_instance;
|
|
2054
2201
|
var RulesSetType_custom_instance;
|
|
2055
|
-
function
|
|
2202
|
+
function values_2() {
|
|
2056
2203
|
return [RulesSetType_belot_getInstance(), RulesSetType_klabor_getInstance(), RulesSetType_debertzCommon_getInstance(), RulesSetType_debertzKharkiv_getInstance(), RulesSetType_custom_getInstance()];
|
|
2057
2204
|
}
|
|
2058
2205
|
function valueOf_0(value) {
|
|
@@ -2117,24 +2264,25 @@
|
|
|
2117
2264
|
return RulesSetType_custom_instance;
|
|
2118
2265
|
}
|
|
2119
2266
|
function mapToDto(_this__u8e3s4) {
|
|
2120
|
-
return _this__u8e3s4.
|
|
2267
|
+
return _this__u8e3s4.m2o_1;
|
|
2121
2268
|
}
|
|
2122
2269
|
function mapFromDto(_this__u8e3s4) {
|
|
2123
2270
|
return new GameCard(_this__u8e3s4);
|
|
2124
2271
|
}
|
|
2125
2272
|
function mapToDto_0(_this__u8e3s4) {
|
|
2126
|
-
return _this__u8e3s4.
|
|
2273
|
+
return _this__u8e3s4.o2o_1.m2o_1;
|
|
2127
2274
|
}
|
|
2128
2275
|
function mapToDto_1(_this__u8e3s4) {
|
|
2129
|
-
return
|
|
2276
|
+
return RulesDto_init_$Create$(_this__u8e3s4.a2n_1, _this__u8e3s4.b2n_1, _this__u8e3s4.c2n_1, null, _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, 8, null);
|
|
2130
2277
|
}
|
|
2131
2278
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2132
|
-
|
|
2279
|
+
var tmp0_elvis_lhs = _this__u8e3s4.s2o_1;
|
|
2280
|
+
return new Rules(_this__u8e3s4.p2o_1, _this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _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, _this__u8e3s4.f2p_1);
|
|
2133
2281
|
}
|
|
2134
2282
|
function mapToDto_2(_this__u8e3s4) {
|
|
2135
2283
|
var tmp$ret$1;
|
|
2136
2284
|
// Inline function 'kotlin.takeIf' call
|
|
2137
|
-
var tmp0_takeIf = _this__u8e3s4.
|
|
2285
|
+
var tmp0_takeIf = _this__u8e3s4.o2l_1;
|
|
2138
2286
|
// Inline function 'kotlin.contracts.contract' call
|
|
2139
2287
|
var tmp;
|
|
2140
2288
|
var tmp$ret$0;
|
|
@@ -2146,50 +2294,50 @@
|
|
|
2146
2294
|
tmp = null;
|
|
2147
2295
|
}
|
|
2148
2296
|
tmp$ret$1 = tmp;
|
|
2149
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2297
|
+
return new GameUserInfoDto(_this__u8e3s4.l2l_1, _this__u8e3s4.m2l_1, _this__u8e3s4.n2l_1, tmp$ret$1);
|
|
2150
2298
|
}
|
|
2151
2299
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2152
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2300
|
+
var tmp0_elvis_lhs = _this__u8e3s4.j2p_1;
|
|
2153
2301
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2154
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2302
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.g2p_1, _this__u8e3s4.h2p_1, _this__u8e3s4.i2p_1, tmp, null, 16, null);
|
|
2155
2303
|
}
|
|
2156
2304
|
function mapToDto_3(_this__u8e3s4) {
|
|
2157
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2158
|
-
var tmp1_state = _this__u8e3s4.
|
|
2159
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2160
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2305
|
+
var tmp0_startFromTime = _this__u8e3s4.v2l_1;
|
|
2306
|
+
var tmp1_state = _this__u8e3s4.w2l_1;
|
|
2307
|
+
var tmp2_tag = _this__u8e3s4.z2l_1;
|
|
2308
|
+
var tmp3_ready = _this__u8e3s4.x2l_1;
|
|
2161
2309
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2162
2310
|
}
|
|
2163
2311
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2164
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2165
|
-
var tmp1_state = _this__u8e3s4.
|
|
2166
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2167
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2312
|
+
var tmp0_startFromTime = _this__u8e3s4.k2p_1;
|
|
2313
|
+
var tmp1_state = _this__u8e3s4.l2p_1;
|
|
2314
|
+
var tmp2_tag = _this__u8e3s4.n2p_1;
|
|
2315
|
+
var tmp3_ready = _this__u8e3s4.m2p_1;
|
|
2168
2316
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2169
2317
|
}
|
|
2170
|
-
function
|
|
2171
|
-
|
|
2318
|
+
function Companion_12() {
|
|
2319
|
+
Companion_instance_12 = this;
|
|
2172
2320
|
}
|
|
2173
|
-
|
|
2174
|
-
var
|
|
2175
|
-
function
|
|
2176
|
-
if (
|
|
2177
|
-
new
|
|
2178
|
-
return
|
|
2321
|
+
Companion_12.$metadata$ = objectMeta('Companion');
|
|
2322
|
+
var Companion_instance_12;
|
|
2323
|
+
function Companion_getInstance_12() {
|
|
2324
|
+
if (Companion_instance_12 == null)
|
|
2325
|
+
new Companion_12();
|
|
2326
|
+
return Companion_instance_12;
|
|
2179
2327
|
}
|
|
2180
|
-
function $
|
|
2181
|
-
$
|
|
2328
|
+
function $serializer_5() {
|
|
2329
|
+
$serializer_instance_5 = this;
|
|
2182
2330
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 4);
|
|
2183
2331
|
tmp0_serialDesc.v1s('playerId', false);
|
|
2184
2332
|
tmp0_serialDesc.v1s('name', false);
|
|
2185
2333
|
tmp0_serialDesc.v1s('avatarUrl', false);
|
|
2186
2334
|
tmp0_serialDesc.v1s('isBot', true);
|
|
2187
|
-
this.
|
|
2335
|
+
this.o2p_1 = tmp0_serialDesc;
|
|
2188
2336
|
}
|
|
2189
|
-
$
|
|
2190
|
-
return this.
|
|
2337
|
+
$serializer_5.prototype.i1i = function () {
|
|
2338
|
+
return this.o2p_1;
|
|
2191
2339
|
};
|
|
2192
|
-
$
|
|
2340
|
+
$serializer_5.prototype.k1t = function () {
|
|
2193
2341
|
var tmp$ret$2;
|
|
2194
2342
|
// Inline function 'kotlin.arrayOf' call
|
|
2195
2343
|
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance())];
|
|
@@ -2202,8 +2350,8 @@
|
|
|
2202
2350
|
tmp$ret$2 = tmp$ret$1;
|
|
2203
2351
|
return tmp$ret$2;
|
|
2204
2352
|
};
|
|
2205
|
-
$
|
|
2206
|
-
var tmp0_desc = this.
|
|
2353
|
+
$serializer_5.prototype.k1i = function (decoder) {
|
|
2354
|
+
var tmp0_desc = this.o2p_1;
|
|
2207
2355
|
var tmp1_flag = true;
|
|
2208
2356
|
var tmp2_index = 0;
|
|
2209
2357
|
var tmp3_bitMask0 = 0;
|
|
@@ -2251,58 +2399,58 @@
|
|
|
2251
2399
|
tmp8_input.r1l(tmp0_desc);
|
|
2252
2400
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2253
2401
|
};
|
|
2254
|
-
$
|
|
2255
|
-
var tmp0_desc = this.
|
|
2402
|
+
$serializer_5.prototype.p2p = function (encoder, value) {
|
|
2403
|
+
var tmp0_desc = this.o2p_1;
|
|
2256
2404
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2257
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
2258
|
-
tmp1_output.e1n(tmp0_desc, 1, value.
|
|
2259
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2260
|
-
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.
|
|
2261
|
-
tmp1_output.i1n(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2405
|
+
tmp1_output.e1n(tmp0_desc, 0, value.g2p_1);
|
|
2406
|
+
tmp1_output.e1n(tmp0_desc, 1, value.h2p_1);
|
|
2407
|
+
tmp1_output.e1n(tmp0_desc, 2, value.i2p_1);
|
|
2408
|
+
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.j2p_1 === false)) {
|
|
2409
|
+
tmp1_output.i1n(tmp0_desc, 3, BooleanSerializer_getInstance(), value.j2p_1);
|
|
2262
2410
|
}
|
|
2263
2411
|
tmp1_output.r1l(tmp0_desc);
|
|
2264
2412
|
};
|
|
2265
|
-
$
|
|
2266
|
-
return this.
|
|
2413
|
+
$serializer_5.prototype.j1i = function (encoder, value) {
|
|
2414
|
+
return this.p2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2267
2415
|
};
|
|
2268
|
-
$
|
|
2269
|
-
var $
|
|
2270
|
-
function $
|
|
2271
|
-
if ($
|
|
2272
|
-
new $
|
|
2273
|
-
return $
|
|
2416
|
+
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2417
|
+
var $serializer_instance_5;
|
|
2418
|
+
function $serializer_getInstance_5() {
|
|
2419
|
+
if ($serializer_instance_5 == null)
|
|
2420
|
+
new $serializer_5();
|
|
2421
|
+
return $serializer_instance_5;
|
|
2274
2422
|
}
|
|
2275
2423
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2276
2424
|
if (!(7 === (7 & seen1))) {
|
|
2277
|
-
throwMissingFieldException(seen1, 7, $
|
|
2425
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().o2p_1);
|
|
2278
2426
|
}
|
|
2279
|
-
$this.
|
|
2280
|
-
$this.
|
|
2281
|
-
$this.
|
|
2427
|
+
$this.g2p_1 = playerId;
|
|
2428
|
+
$this.h2p_1 = name;
|
|
2429
|
+
$this.i2p_1 = avatarUrl;
|
|
2282
2430
|
if (0 === (seen1 & 8))
|
|
2283
|
-
$this.
|
|
2431
|
+
$this.j2p_1 = false;
|
|
2284
2432
|
else
|
|
2285
|
-
$this.
|
|
2433
|
+
$this.j2p_1 = isBot;
|
|
2286
2434
|
return $this;
|
|
2287
2435
|
}
|
|
2288
2436
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
2289
2437
|
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2290
2438
|
}
|
|
2291
2439
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2292
|
-
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2295
|
-
this.
|
|
2296
|
-
this.
|
|
2440
|
+
Companion_getInstance_12();
|
|
2441
|
+
this.g2p_1 = playerId;
|
|
2442
|
+
this.h2p_1 = name;
|
|
2443
|
+
this.i2p_1 = avatarUrl;
|
|
2444
|
+
this.j2p_1 = isBot;
|
|
2297
2445
|
}
|
|
2298
2446
|
GameUserInfoDto.prototype.toString = function () {
|
|
2299
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2447
|
+
return 'GameUserInfoDto(playerId=' + this.g2p_1 + ', name=' + this.h2p_1 + ', avatarUrl=' + this.i2p_1 + ', isBot=' + this.j2p_1 + ')';
|
|
2300
2448
|
};
|
|
2301
2449
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2302
|
-
var result = getStringHashCode(this.
|
|
2303
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2304
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2305
|
-
result = imul(result, 31) + (this.
|
|
2450
|
+
var result = getStringHashCode(this.g2p_1);
|
|
2451
|
+
result = imul(result, 31) + getStringHashCode(this.h2p_1) | 0;
|
|
2452
|
+
result = imul(result, 31) + getStringHashCode(this.i2p_1) | 0;
|
|
2453
|
+
result = imul(result, 31) + (this.j2p_1 == null ? 0 : this.j2p_1 | 0) | 0;
|
|
2306
2454
|
return result;
|
|
2307
2455
|
};
|
|
2308
2456
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2311,43 +2459,43 @@
|
|
|
2311
2459
|
if (!(other instanceof GameUserInfoDto))
|
|
2312
2460
|
return false;
|
|
2313
2461
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2314
|
-
if (!(this.
|
|
2462
|
+
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2315
2463
|
return false;
|
|
2316
|
-
if (!(this.
|
|
2464
|
+
if (!(this.h2p_1 === tmp0_other_with_cast.h2p_1))
|
|
2317
2465
|
return false;
|
|
2318
|
-
if (!(this.
|
|
2466
|
+
if (!(this.i2p_1 === tmp0_other_with_cast.i2p_1))
|
|
2319
2467
|
return false;
|
|
2320
|
-
if (!(this.
|
|
2468
|
+
if (!(this.j2p_1 == tmp0_other_with_cast.j2p_1))
|
|
2321
2469
|
return false;
|
|
2322
2470
|
return true;
|
|
2323
2471
|
};
|
|
2324
|
-
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $
|
|
2325
|
-
function
|
|
2326
|
-
|
|
2472
|
+
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $serializer_getInstance_5});
|
|
2473
|
+
function Companion_13() {
|
|
2474
|
+
Companion_instance_13 = this;
|
|
2327
2475
|
}
|
|
2328
|
-
|
|
2329
|
-
var
|
|
2330
|
-
function
|
|
2331
|
-
if (
|
|
2332
|
-
new
|
|
2333
|
-
return
|
|
2476
|
+
Companion_13.$metadata$ = objectMeta('Companion');
|
|
2477
|
+
var Companion_instance_13;
|
|
2478
|
+
function Companion_getInstance_13() {
|
|
2479
|
+
if (Companion_instance_13 == null)
|
|
2480
|
+
new Companion_13();
|
|
2481
|
+
return Companion_instance_13;
|
|
2334
2482
|
}
|
|
2335
|
-
function $
|
|
2336
|
-
$
|
|
2483
|
+
function $serializer_6() {
|
|
2484
|
+
$serializer_instance_6 = this;
|
|
2337
2485
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 4);
|
|
2338
2486
|
tmp0_serialDesc.v1s('startFromTime', false);
|
|
2339
2487
|
tmp0_serialDesc.v1s('state', false);
|
|
2340
2488
|
tmp0_serialDesc.v1s('ready', false);
|
|
2341
2489
|
tmp0_serialDesc.v1s('tag', true);
|
|
2342
|
-
this.
|
|
2490
|
+
this.q2p_1 = tmp0_serialDesc;
|
|
2343
2491
|
}
|
|
2344
|
-
$
|
|
2345
|
-
return this.
|
|
2492
|
+
$serializer_6.prototype.i1i = function () {
|
|
2493
|
+
return this.q2p_1;
|
|
2346
2494
|
};
|
|
2347
|
-
$
|
|
2495
|
+
$serializer_6.prototype.k1t = function () {
|
|
2348
2496
|
var tmp$ret$2;
|
|
2349
2497
|
// Inline function 'kotlin.arrayOf' call
|
|
2350
|
-
var tmp0_arrayOf = [LongSerializer_getInstance(),
|
|
2498
|
+
var tmp0_arrayOf = [LongSerializer_getInstance(), Companion_getInstance_9().d25(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2351
2499
|
var tmp$ret$1;
|
|
2352
2500
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2353
2501
|
var tmp$ret$0;
|
|
@@ -2357,8 +2505,8 @@
|
|
|
2357
2505
|
tmp$ret$2 = tmp$ret$1;
|
|
2358
2506
|
return tmp$ret$2;
|
|
2359
2507
|
};
|
|
2360
|
-
$
|
|
2361
|
-
var tmp0_desc = this.
|
|
2508
|
+
$serializer_6.prototype.k1i = function (decoder) {
|
|
2509
|
+
var tmp0_desc = this.q2p_1;
|
|
2362
2510
|
var tmp1_flag = true;
|
|
2363
2511
|
var tmp2_index = 0;
|
|
2364
2512
|
var tmp3_bitMask0 = 0;
|
|
@@ -2370,7 +2518,7 @@
|
|
|
2370
2518
|
if (tmp8_input.f1m()) {
|
|
2371
2519
|
tmp4_local0 = tmp8_input.w1l(tmp0_desc, 0);
|
|
2372
2520
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2373
|
-
tmp5_local1 = tmp8_input.c1m(tmp0_desc, 1,
|
|
2521
|
+
tmp5_local1 = tmp8_input.c1m(tmp0_desc, 1, Companion_getInstance_9().d25(), tmp5_local1);
|
|
2374
2522
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2375
2523
|
tmp6_local2 = tmp8_input.s1l(tmp0_desc, 2);
|
|
2376
2524
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
@@ -2388,7 +2536,7 @@
|
|
|
2388
2536
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2389
2537
|
break;
|
|
2390
2538
|
case 1:
|
|
2391
|
-
tmp5_local1 = tmp8_input.c1m(tmp0_desc, 1,
|
|
2539
|
+
tmp5_local1 = tmp8_input.c1m(tmp0_desc, 1, Companion_getInstance_9().d25(), tmp5_local1);
|
|
2392
2540
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2393
2541
|
break;
|
|
2394
2542
|
case 2:
|
|
@@ -2406,58 +2554,58 @@
|
|
|
2406
2554
|
tmp8_input.r1l(tmp0_desc);
|
|
2407
2555
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2408
2556
|
};
|
|
2409
|
-
$
|
|
2410
|
-
var tmp0_desc = this.
|
|
2557
|
+
$serializer_6.prototype.r2p = function (encoder, value) {
|
|
2558
|
+
var tmp0_desc = this.q2p_1;
|
|
2411
2559
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2412
|
-
tmp1_output.a1n(tmp0_desc, 0, value.
|
|
2413
|
-
tmp1_output.g1n(tmp0_desc, 1,
|
|
2414
|
-
tmp1_output.w1m(tmp0_desc, 2, value.
|
|
2415
|
-
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.
|
|
2416
|
-
tmp1_output.i1n(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2560
|
+
tmp1_output.a1n(tmp0_desc, 0, value.k2p_1);
|
|
2561
|
+
tmp1_output.g1n(tmp0_desc, 1, Companion_getInstance_9().d25(), value.l2p_1);
|
|
2562
|
+
tmp1_output.w1m(tmp0_desc, 2, value.m2p_1);
|
|
2563
|
+
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.n2p_1 == null)) {
|
|
2564
|
+
tmp1_output.i1n(tmp0_desc, 3, StringSerializer_getInstance(), value.n2p_1);
|
|
2417
2565
|
}
|
|
2418
2566
|
tmp1_output.r1l(tmp0_desc);
|
|
2419
2567
|
};
|
|
2420
|
-
$
|
|
2421
|
-
return this.
|
|
2568
|
+
$serializer_6.prototype.j1i = function (encoder, value) {
|
|
2569
|
+
return this.r2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2422
2570
|
};
|
|
2423
|
-
$
|
|
2424
|
-
var $
|
|
2425
|
-
function $
|
|
2426
|
-
if ($
|
|
2427
|
-
new $
|
|
2428
|
-
return $
|
|
2571
|
+
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2572
|
+
var $serializer_instance_6;
|
|
2573
|
+
function $serializer_getInstance_6() {
|
|
2574
|
+
if ($serializer_instance_6 == null)
|
|
2575
|
+
new $serializer_6();
|
|
2576
|
+
return $serializer_instance_6;
|
|
2429
2577
|
}
|
|
2430
2578
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2431
2579
|
if (!(7 === (7 & seen1))) {
|
|
2432
|
-
throwMissingFieldException(seen1, 7, $
|
|
2580
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().q2p_1);
|
|
2433
2581
|
}
|
|
2434
|
-
$this.
|
|
2435
|
-
$this.
|
|
2436
|
-
$this.
|
|
2582
|
+
$this.k2p_1 = startFromTime;
|
|
2583
|
+
$this.l2p_1 = state;
|
|
2584
|
+
$this.m2p_1 = ready;
|
|
2437
2585
|
if (0 === (seen1 & 8))
|
|
2438
|
-
$this.
|
|
2586
|
+
$this.n2p_1 = null;
|
|
2439
2587
|
else
|
|
2440
|
-
$this.
|
|
2588
|
+
$this.n2p_1 = tag;
|
|
2441
2589
|
return $this;
|
|
2442
2590
|
}
|
|
2443
2591
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
2444
2592
|
return PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, Object.create(PlayerStateDto.prototype));
|
|
2445
2593
|
}
|
|
2446
2594
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2447
|
-
|
|
2448
|
-
this.
|
|
2449
|
-
this.
|
|
2450
|
-
this.
|
|
2451
|
-
this.
|
|
2595
|
+
Companion_getInstance_13();
|
|
2596
|
+
this.k2p_1 = startFromTime;
|
|
2597
|
+
this.l2p_1 = state;
|
|
2598
|
+
this.m2p_1 = ready;
|
|
2599
|
+
this.n2p_1 = tag;
|
|
2452
2600
|
}
|
|
2453
2601
|
PlayerStateDto.prototype.toString = function () {
|
|
2454
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2602
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.k2p_1) + ', state=' + this.l2p_1 + ', ready=' + this.m2p_1 + ', tag=' + this.n2p_1 + ')';
|
|
2455
2603
|
};
|
|
2456
2604
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2457
|
-
var result = this.
|
|
2458
|
-
result = imul(result, 31) + this.
|
|
2459
|
-
result = imul(result, 31) + (this.
|
|
2460
|
-
result = imul(result, 31) + (this.
|
|
2605
|
+
var result = this.k2p_1.hashCode();
|
|
2606
|
+
result = imul(result, 31) + this.l2p_1.hashCode() | 0;
|
|
2607
|
+
result = imul(result, 31) + (this.m2p_1 | 0) | 0;
|
|
2608
|
+
result = imul(result, 31) + (this.n2p_1 == null ? 0 : getStringHashCode(this.n2p_1)) | 0;
|
|
2461
2609
|
return result;
|
|
2462
2610
|
};
|
|
2463
2611
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2466,33 +2614,43 @@
|
|
|
2466
2614
|
if (!(other instanceof PlayerStateDto))
|
|
2467
2615
|
return false;
|
|
2468
2616
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2469
|
-
if (!this.
|
|
2617
|
+
if (!this.k2p_1.equals(tmp0_other_with_cast.k2p_1))
|
|
2470
2618
|
return false;
|
|
2471
|
-
if (!this.
|
|
2619
|
+
if (!this.l2p_1.equals(tmp0_other_with_cast.l2p_1))
|
|
2472
2620
|
return false;
|
|
2473
|
-
if (!(this.
|
|
2621
|
+
if (!(this.m2p_1 === tmp0_other_with_cast.m2p_1))
|
|
2474
2622
|
return false;
|
|
2475
|
-
if (!(this.
|
|
2623
|
+
if (!(this.n2p_1 == tmp0_other_with_cast.n2p_1))
|
|
2476
2624
|
return false;
|
|
2477
2625
|
return true;
|
|
2478
2626
|
};
|
|
2479
|
-
PlayerStateDto.$metadata$ = classMeta('PlayerStateDto', undefined, undefined, {0: $
|
|
2480
|
-
function
|
|
2481
|
-
|
|
2627
|
+
PlayerStateDto.$metadata$ = classMeta('PlayerStateDto', undefined, undefined, {0: $serializer_getInstance_6});
|
|
2628
|
+
function RulesDto_init_$Init$(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $marker, $this) {
|
|
2629
|
+
if (!(($mask0 & 8) === 0))
|
|
2630
|
+
oneTryToProtectBella = null;
|
|
2631
|
+
RulesDto.call($this, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2632
|
+
return $this;
|
|
2482
2633
|
}
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
function Companion_getInstance_12() {
|
|
2486
|
-
if (Companion_instance_12 == null)
|
|
2487
|
-
new Companion_12();
|
|
2488
|
-
return Companion_instance_12;
|
|
2634
|
+
function RulesDto_init_$Create$(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $marker) {
|
|
2635
|
+
return RulesDto_init_$Init$(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $marker, Object.create(RulesDto.prototype));
|
|
2489
2636
|
}
|
|
2490
|
-
function
|
|
2491
|
-
|
|
2492
|
-
|
|
2637
|
+
function Companion_14() {
|
|
2638
|
+
Companion_instance_14 = this;
|
|
2639
|
+
}
|
|
2640
|
+
Companion_14.$metadata$ = objectMeta('Companion');
|
|
2641
|
+
var Companion_instance_14;
|
|
2642
|
+
function Companion_getInstance_14() {
|
|
2643
|
+
if (Companion_instance_14 == null)
|
|
2644
|
+
new Companion_14();
|
|
2645
|
+
return Companion_instance_14;
|
|
2646
|
+
}
|
|
2647
|
+
function $serializer_7() {
|
|
2648
|
+
$serializer_instance_7 = this;
|
|
2649
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 17);
|
|
2493
2650
|
tmp0_serialDesc.v1s('needToPutHigherTrump', false);
|
|
2494
2651
|
tmp0_serialDesc.v1s('distributePoints', false);
|
|
2495
2652
|
tmp0_serialDesc.v1s('protectBella', false);
|
|
2653
|
+
tmp0_serialDesc.v1s('oneTryToProtectBella', true);
|
|
2496
2654
|
tmp0_serialDesc.v1s('enableFourSevensCombination', false);
|
|
2497
2655
|
tmp0_serialDesc.v1s('enableTrumpSevenCombination', false);
|
|
2498
2656
|
tmp0_serialDesc.v1s('enableTrumpSevenCombinationAfterDistribution', false);
|
|
@@ -2506,15 +2664,15 @@
|
|
|
2506
2664
|
tmp0_serialDesc.v1s('checkTrumpCombination', false);
|
|
2507
2665
|
tmp0_serialDesc.v1s('checkOnlyTrumpDebertz', false);
|
|
2508
2666
|
tmp0_serialDesc.v1s('tenCardsInHand', false);
|
|
2509
|
-
this.
|
|
2667
|
+
this.s2p_1 = tmp0_serialDesc;
|
|
2510
2668
|
}
|
|
2511
|
-
$
|
|
2512
|
-
return this.
|
|
2669
|
+
$serializer_7.prototype.i1i = function () {
|
|
2670
|
+
return this.s2p_1;
|
|
2513
2671
|
};
|
|
2514
|
-
$
|
|
2672
|
+
$serializer_7.prototype.k1t = function () {
|
|
2515
2673
|
var tmp$ret$2;
|
|
2516
2674
|
// Inline function 'kotlin.arrayOf' call
|
|
2517
|
-
var tmp0_arrayOf = [BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance()];
|
|
2675
|
+
var tmp0_arrayOf = [BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance()];
|
|
2518
2676
|
var tmp$ret$1;
|
|
2519
2677
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2520
2678
|
var tmp$ret$0;
|
|
@@ -2524,15 +2682,15 @@
|
|
|
2524
2682
|
tmp$ret$2 = tmp$ret$1;
|
|
2525
2683
|
return tmp$ret$2;
|
|
2526
2684
|
};
|
|
2527
|
-
$
|
|
2528
|
-
var tmp0_desc = this.
|
|
2685
|
+
$serializer_7.prototype.k1i = function (decoder) {
|
|
2686
|
+
var tmp0_desc = this.s2p_1;
|
|
2529
2687
|
var tmp1_flag = true;
|
|
2530
2688
|
var tmp2_index = 0;
|
|
2531
2689
|
var tmp3_bitMask0 = 0;
|
|
2532
2690
|
var tmp4_local0 = false;
|
|
2533
2691
|
var tmp5_local1 = false;
|
|
2534
2692
|
var tmp6_local2 = false;
|
|
2535
|
-
var tmp7_local3 =
|
|
2693
|
+
var tmp7_local3 = null;
|
|
2536
2694
|
var tmp8_local4 = false;
|
|
2537
2695
|
var tmp9_local5 = false;
|
|
2538
2696
|
var tmp10_local6 = false;
|
|
@@ -2540,218 +2698,234 @@
|
|
|
2540
2698
|
var tmp12_local8 = false;
|
|
2541
2699
|
var tmp13_local9 = false;
|
|
2542
2700
|
var tmp14_local10 = false;
|
|
2543
|
-
var tmp15_local11 =
|
|
2544
|
-
var tmp16_local12 =
|
|
2701
|
+
var tmp15_local11 = false;
|
|
2702
|
+
var tmp16_local12 = 0;
|
|
2545
2703
|
var tmp17_local13 = false;
|
|
2546
2704
|
var tmp18_local14 = false;
|
|
2547
2705
|
var tmp19_local15 = false;
|
|
2548
|
-
var
|
|
2549
|
-
|
|
2550
|
-
|
|
2706
|
+
var tmp20_local16 = false;
|
|
2707
|
+
var tmp21_input = decoder.q1l(tmp0_desc);
|
|
2708
|
+
if (tmp21_input.f1m()) {
|
|
2709
|
+
tmp4_local0 = tmp21_input.s1l(tmp0_desc, 0);
|
|
2551
2710
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2552
|
-
tmp5_local1 =
|
|
2711
|
+
tmp5_local1 = tmp21_input.s1l(tmp0_desc, 1);
|
|
2553
2712
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2554
|
-
tmp6_local2 =
|
|
2713
|
+
tmp6_local2 = tmp21_input.s1l(tmp0_desc, 2);
|
|
2555
2714
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2556
|
-
tmp7_local3 =
|
|
2715
|
+
tmp7_local3 = tmp21_input.e1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2557
2716
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2558
|
-
tmp8_local4 =
|
|
2717
|
+
tmp8_local4 = tmp21_input.s1l(tmp0_desc, 4);
|
|
2559
2718
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2560
|
-
tmp9_local5 =
|
|
2719
|
+
tmp9_local5 = tmp21_input.s1l(tmp0_desc, 5);
|
|
2561
2720
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2562
|
-
tmp10_local6 =
|
|
2721
|
+
tmp10_local6 = tmp21_input.s1l(tmp0_desc, 6);
|
|
2563
2722
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2564
|
-
tmp11_local7 =
|
|
2723
|
+
tmp11_local7 = tmp21_input.s1l(tmp0_desc, 7);
|
|
2565
2724
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2566
|
-
tmp12_local8 =
|
|
2725
|
+
tmp12_local8 = tmp21_input.s1l(tmp0_desc, 8);
|
|
2567
2726
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2568
|
-
tmp13_local9 =
|
|
2727
|
+
tmp13_local9 = tmp21_input.s1l(tmp0_desc, 9);
|
|
2569
2728
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2570
|
-
tmp14_local10 =
|
|
2729
|
+
tmp14_local10 = tmp21_input.s1l(tmp0_desc, 10);
|
|
2571
2730
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2572
|
-
tmp15_local11 =
|
|
2731
|
+
tmp15_local11 = tmp21_input.s1l(tmp0_desc, 11);
|
|
2573
2732
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2574
|
-
tmp16_local12 =
|
|
2733
|
+
tmp16_local12 = tmp21_input.v1l(tmp0_desc, 12);
|
|
2575
2734
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2576
|
-
tmp17_local13 =
|
|
2735
|
+
tmp17_local13 = tmp21_input.s1l(tmp0_desc, 13);
|
|
2577
2736
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2578
|
-
tmp18_local14 =
|
|
2737
|
+
tmp18_local14 = tmp21_input.s1l(tmp0_desc, 14);
|
|
2579
2738
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2580
|
-
tmp19_local15 =
|
|
2739
|
+
tmp19_local15 = tmp21_input.s1l(tmp0_desc, 15);
|
|
2581
2740
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2741
|
+
tmp20_local16 = tmp21_input.s1l(tmp0_desc, 16);
|
|
2742
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2582
2743
|
} else
|
|
2583
2744
|
while (tmp1_flag) {
|
|
2584
|
-
tmp2_index =
|
|
2745
|
+
tmp2_index = tmp21_input.g1m(tmp0_desc);
|
|
2585
2746
|
switch (tmp2_index) {
|
|
2586
2747
|
case -1:
|
|
2587
2748
|
tmp1_flag = false;
|
|
2588
2749
|
break;
|
|
2589
2750
|
case 0:
|
|
2590
|
-
tmp4_local0 =
|
|
2751
|
+
tmp4_local0 = tmp21_input.s1l(tmp0_desc, 0);
|
|
2591
2752
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2592
2753
|
break;
|
|
2593
2754
|
case 1:
|
|
2594
|
-
tmp5_local1 =
|
|
2755
|
+
tmp5_local1 = tmp21_input.s1l(tmp0_desc, 1);
|
|
2595
2756
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2596
2757
|
break;
|
|
2597
2758
|
case 2:
|
|
2598
|
-
tmp6_local2 =
|
|
2759
|
+
tmp6_local2 = tmp21_input.s1l(tmp0_desc, 2);
|
|
2599
2760
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2600
2761
|
break;
|
|
2601
2762
|
case 3:
|
|
2602
|
-
tmp7_local3 =
|
|
2763
|
+
tmp7_local3 = tmp21_input.e1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2603
2764
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2604
2765
|
break;
|
|
2605
2766
|
case 4:
|
|
2606
|
-
tmp8_local4 =
|
|
2767
|
+
tmp8_local4 = tmp21_input.s1l(tmp0_desc, 4);
|
|
2607
2768
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2608
2769
|
break;
|
|
2609
2770
|
case 5:
|
|
2610
|
-
tmp9_local5 =
|
|
2771
|
+
tmp9_local5 = tmp21_input.s1l(tmp0_desc, 5);
|
|
2611
2772
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2612
2773
|
break;
|
|
2613
2774
|
case 6:
|
|
2614
|
-
tmp10_local6 =
|
|
2775
|
+
tmp10_local6 = tmp21_input.s1l(tmp0_desc, 6);
|
|
2615
2776
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2616
2777
|
break;
|
|
2617
2778
|
case 7:
|
|
2618
|
-
tmp11_local7 =
|
|
2779
|
+
tmp11_local7 = tmp21_input.s1l(tmp0_desc, 7);
|
|
2619
2780
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2620
2781
|
break;
|
|
2621
2782
|
case 8:
|
|
2622
|
-
tmp12_local8 =
|
|
2783
|
+
tmp12_local8 = tmp21_input.s1l(tmp0_desc, 8);
|
|
2623
2784
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2624
2785
|
break;
|
|
2625
2786
|
case 9:
|
|
2626
|
-
tmp13_local9 =
|
|
2787
|
+
tmp13_local9 = tmp21_input.s1l(tmp0_desc, 9);
|
|
2627
2788
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2628
2789
|
break;
|
|
2629
2790
|
case 10:
|
|
2630
|
-
tmp14_local10 =
|
|
2791
|
+
tmp14_local10 = tmp21_input.s1l(tmp0_desc, 10);
|
|
2631
2792
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2632
2793
|
break;
|
|
2633
2794
|
case 11:
|
|
2634
|
-
tmp15_local11 =
|
|
2795
|
+
tmp15_local11 = tmp21_input.s1l(tmp0_desc, 11);
|
|
2635
2796
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2636
2797
|
break;
|
|
2637
2798
|
case 12:
|
|
2638
|
-
tmp16_local12 =
|
|
2799
|
+
tmp16_local12 = tmp21_input.v1l(tmp0_desc, 12);
|
|
2639
2800
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2640
2801
|
break;
|
|
2641
2802
|
case 13:
|
|
2642
|
-
tmp17_local13 =
|
|
2803
|
+
tmp17_local13 = tmp21_input.s1l(tmp0_desc, 13);
|
|
2643
2804
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2644
2805
|
break;
|
|
2645
2806
|
case 14:
|
|
2646
|
-
tmp18_local14 =
|
|
2807
|
+
tmp18_local14 = tmp21_input.s1l(tmp0_desc, 14);
|
|
2647
2808
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2648
2809
|
break;
|
|
2649
2810
|
case 15:
|
|
2650
|
-
tmp19_local15 =
|
|
2811
|
+
tmp19_local15 = tmp21_input.s1l(tmp0_desc, 15);
|
|
2651
2812
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2652
2813
|
break;
|
|
2814
|
+
case 16:
|
|
2815
|
+
tmp20_local16 = tmp21_input.s1l(tmp0_desc, 16);
|
|
2816
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2817
|
+
break;
|
|
2653
2818
|
default:
|
|
2654
2819
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2655
2820
|
}
|
|
2656
2821
|
}
|
|
2657
|
-
|
|
2658
|
-
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);
|
|
2822
|
+
tmp21_input.r1l(tmp0_desc);
|
|
2823
|
+
return RulesDto_init_$Create$_0(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
2659
2824
|
};
|
|
2660
|
-
$
|
|
2661
|
-
var tmp0_desc = this.
|
|
2825
|
+
$serializer_7.prototype.t2p = function (encoder, value) {
|
|
2826
|
+
var tmp0_desc = this.s2p_1;
|
|
2662
2827
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
2663
|
-
tmp1_output.w1m(tmp0_desc, 0, value.
|
|
2664
|
-
tmp1_output.w1m(tmp0_desc, 1, value.
|
|
2665
|
-
tmp1_output.w1m(tmp0_desc, 2, value.
|
|
2666
|
-
tmp1_output.
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2670
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2671
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2672
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2673
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2674
|
-
tmp1_output.
|
|
2675
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2676
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2677
|
-
tmp1_output.
|
|
2678
|
-
tmp1_output.w1m(tmp0_desc,
|
|
2828
|
+
tmp1_output.w1m(tmp0_desc, 0, value.p2o_1);
|
|
2829
|
+
tmp1_output.w1m(tmp0_desc, 1, value.q2o_1);
|
|
2830
|
+
tmp1_output.w1m(tmp0_desc, 2, value.r2o_1);
|
|
2831
|
+
if (tmp1_output.m1n(tmp0_desc, 3) ? true : !(value.s2o_1 == null)) {
|
|
2832
|
+
tmp1_output.i1n(tmp0_desc, 3, BooleanSerializer_getInstance(), value.s2o_1);
|
|
2833
|
+
}
|
|
2834
|
+
tmp1_output.w1m(tmp0_desc, 4, value.t2o_1);
|
|
2835
|
+
tmp1_output.w1m(tmp0_desc, 5, value.u2o_1);
|
|
2836
|
+
tmp1_output.w1m(tmp0_desc, 6, value.v2o_1);
|
|
2837
|
+
tmp1_output.w1m(tmp0_desc, 7, value.w2o_1);
|
|
2838
|
+
tmp1_output.w1m(tmp0_desc, 8, value.x2o_1);
|
|
2839
|
+
tmp1_output.w1m(tmp0_desc, 9, value.y2o_1);
|
|
2840
|
+
tmp1_output.w1m(tmp0_desc, 10, value.z2o_1);
|
|
2841
|
+
tmp1_output.w1m(tmp0_desc, 11, value.a2p_1);
|
|
2842
|
+
tmp1_output.z1m(tmp0_desc, 12, value.b2p_1);
|
|
2843
|
+
tmp1_output.w1m(tmp0_desc, 13, value.c2p_1);
|
|
2844
|
+
tmp1_output.w1m(tmp0_desc, 14, value.d2p_1);
|
|
2845
|
+
tmp1_output.w1m(tmp0_desc, 15, value.e2p_1);
|
|
2846
|
+
tmp1_output.w1m(tmp0_desc, 16, value.f2p_1);
|
|
2679
2847
|
tmp1_output.r1l(tmp0_desc);
|
|
2680
2848
|
};
|
|
2681
|
-
$
|
|
2682
|
-
return this.
|
|
2849
|
+
$serializer_7.prototype.j1i = function (encoder, value) {
|
|
2850
|
+
return this.t2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2683
2851
|
};
|
|
2684
|
-
$
|
|
2685
|
-
var $
|
|
2686
|
-
function $
|
|
2687
|
-
if ($
|
|
2688
|
-
new $
|
|
2689
|
-
return $
|
|
2852
|
+
$serializer_7.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2853
|
+
var $serializer_instance_7;
|
|
2854
|
+
function $serializer_getInstance_7() {
|
|
2855
|
+
if ($serializer_instance_7 == null)
|
|
2856
|
+
new $serializer_7();
|
|
2857
|
+
return $serializer_instance_7;
|
|
2690
2858
|
}
|
|
2691
|
-
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2692
|
-
if (!(
|
|
2693
|
-
throwMissingFieldException(seen1,
|
|
2859
|
+
function RulesDto_init_$Init$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2860
|
+
if (!(131063 === (131063 & seen1))) {
|
|
2861
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().s2p_1);
|
|
2694
2862
|
}
|
|
2695
|
-
$this.
|
|
2696
|
-
$this.
|
|
2697
|
-
$this.
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
$this.
|
|
2703
|
-
$this.
|
|
2704
|
-
$this.
|
|
2705
|
-
$this.
|
|
2706
|
-
$this.
|
|
2707
|
-
$this.
|
|
2708
|
-
$this.
|
|
2709
|
-
$this.
|
|
2710
|
-
$this.
|
|
2863
|
+
$this.p2o_1 = needToPutHigherTrump;
|
|
2864
|
+
$this.q2o_1 = distributePoints;
|
|
2865
|
+
$this.r2o_1 = protectBella;
|
|
2866
|
+
if (0 === (seen1 & 8))
|
|
2867
|
+
$this.s2o_1 = null;
|
|
2868
|
+
else
|
|
2869
|
+
$this.s2o_1 = oneTryToProtectBella;
|
|
2870
|
+
$this.t2o_1 = enableFourSevensCombination;
|
|
2871
|
+
$this.u2o_1 = enableTrumpSevenCombination;
|
|
2872
|
+
$this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2873
|
+
$this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2874
|
+
$this.x2o_1 = winnerShuffleCards;
|
|
2875
|
+
$this.y2o_1 = playWithoutLiabilities;
|
|
2876
|
+
$this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2877
|
+
$this.a2p_1 = enableFineIfNoBribes;
|
|
2878
|
+
$this.b2p_1 = fineIfNoBribes;
|
|
2879
|
+
$this.c2p_1 = enableFineAfterThirdByte;
|
|
2880
|
+
$this.d2p_1 = checkTrumpCombination;
|
|
2881
|
+
$this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2882
|
+
$this.f2p_1 = tenCardsInHand;
|
|
2711
2883
|
return $this;
|
|
2712
2884
|
}
|
|
2713
|
-
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
2714
|
-
return RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, Object.create(RulesDto.prototype));
|
|
2885
|
+
function RulesDto_init_$Create$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
2886
|
+
return RulesDto_init_$Init$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, Object.create(RulesDto.prototype));
|
|
2715
2887
|
}
|
|
2716
|
-
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2717
|
-
|
|
2718
|
-
this.
|
|
2719
|
-
this.
|
|
2720
|
-
this.
|
|
2721
|
-
this.
|
|
2722
|
-
this.
|
|
2723
|
-
this.
|
|
2724
|
-
this.
|
|
2725
|
-
this.
|
|
2726
|
-
this.
|
|
2727
|
-
this.
|
|
2728
|
-
this.
|
|
2729
|
-
this.
|
|
2730
|
-
this.
|
|
2731
|
-
this.
|
|
2732
|
-
this.
|
|
2733
|
-
this.
|
|
2888
|
+
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2889
|
+
Companion_getInstance_14();
|
|
2890
|
+
this.p2o_1 = needToPutHigherTrump;
|
|
2891
|
+
this.q2o_1 = distributePoints;
|
|
2892
|
+
this.r2o_1 = protectBella;
|
|
2893
|
+
this.s2o_1 = oneTryToProtectBella;
|
|
2894
|
+
this.t2o_1 = enableFourSevensCombination;
|
|
2895
|
+
this.u2o_1 = enableTrumpSevenCombination;
|
|
2896
|
+
this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2897
|
+
this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2898
|
+
this.x2o_1 = winnerShuffleCards;
|
|
2899
|
+
this.y2o_1 = playWithoutLiabilities;
|
|
2900
|
+
this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2901
|
+
this.a2p_1 = enableFineIfNoBribes;
|
|
2902
|
+
this.b2p_1 = fineIfNoBribes;
|
|
2903
|
+
this.c2p_1 = enableFineAfterThirdByte;
|
|
2904
|
+
this.d2p_1 = checkTrumpCombination;
|
|
2905
|
+
this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2906
|
+
this.f2p_1 = tenCardsInHand;
|
|
2734
2907
|
}
|
|
2735
2908
|
RulesDto.prototype.toString = function () {
|
|
2736
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2909
|
+
return 'RulesDto(needToPutHigherTrump=' + this.p2o_1 + ', distributePoints=' + this.q2o_1 + ', protectBella=' + this.r2o_1 + ', oneTryToProtectBella=' + this.s2o_1 + ', enableFourSevensCombination=' + this.t2o_1 + ', enableTrumpSevenCombination=' + this.u2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.v2o_1 + ', playerWhoChooseSuitGoFirst=' + this.w2o_1 + ', winnerShuffleCards=' + this.x2o_1 + ', playWithoutLiabilities=' + this.y2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.z2o_1 + ', enableFineIfNoBribes=' + this.a2p_1 + ', fineIfNoBribes=' + this.b2p_1 + ', enableFineAfterThirdByte=' + this.c2p_1 + ', checkTrumpCombination=' + this.d2p_1 + ', checkOnlyTrumpDebertz=' + this.e2p_1 + ', tenCardsInHand=' + this.f2p_1 + ')';
|
|
2737
2910
|
};
|
|
2738
2911
|
RulesDto.prototype.hashCode = function () {
|
|
2739
|
-
var result = this.
|
|
2740
|
-
result = imul(result, 31) + (this.l2o_1 | 0) | 0;
|
|
2741
|
-
result = imul(result, 31) + (this.m2o_1 | 0) | 0;
|
|
2742
|
-
result = imul(result, 31) + (this.n2o_1 | 0) | 0;
|
|
2743
|
-
result = imul(result, 31) + (this.o2o_1 | 0) | 0;
|
|
2744
|
-
result = imul(result, 31) + (this.p2o_1 | 0) | 0;
|
|
2912
|
+
var result = this.p2o_1 | 0;
|
|
2745
2913
|
result = imul(result, 31) + (this.q2o_1 | 0) | 0;
|
|
2746
2914
|
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2747
|
-
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2915
|
+
result = imul(result, 31) + (this.s2o_1 == null ? 0 : this.s2o_1 | 0) | 0;
|
|
2748
2916
|
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
2749
2917
|
result = imul(result, 31) + (this.u2o_1 | 0) | 0;
|
|
2750
|
-
result = imul(result, 31) + this.v2o_1 | 0;
|
|
2918
|
+
result = imul(result, 31) + (this.v2o_1 | 0) | 0;
|
|
2751
2919
|
result = imul(result, 31) + (this.w2o_1 | 0) | 0;
|
|
2752
2920
|
result = imul(result, 31) + (this.x2o_1 | 0) | 0;
|
|
2753
2921
|
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2754
2922
|
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2923
|
+
result = imul(result, 31) + (this.a2p_1 | 0) | 0;
|
|
2924
|
+
result = imul(result, 31) + this.b2p_1 | 0;
|
|
2925
|
+
result = imul(result, 31) + (this.c2p_1 | 0) | 0;
|
|
2926
|
+
result = imul(result, 31) + (this.d2p_1 | 0) | 0;
|
|
2927
|
+
result = imul(result, 31) + (this.e2p_1 | 0) | 0;
|
|
2928
|
+
result = imul(result, 31) + (this.f2p_1 | 0) | 0;
|
|
2755
2929
|
return result;
|
|
2756
2930
|
};
|
|
2757
2931
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2760,23 +2934,13 @@
|
|
|
2760
2934
|
if (!(other instanceof RulesDto))
|
|
2761
2935
|
return false;
|
|
2762
2936
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2763
|
-
if (!(this.k2o_1 === tmp0_other_with_cast.k2o_1))
|
|
2764
|
-
return false;
|
|
2765
|
-
if (!(this.l2o_1 === tmp0_other_with_cast.l2o_1))
|
|
2766
|
-
return false;
|
|
2767
|
-
if (!(this.m2o_1 === tmp0_other_with_cast.m2o_1))
|
|
2768
|
-
return false;
|
|
2769
|
-
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
2770
|
-
return false;
|
|
2771
|
-
if (!(this.o2o_1 === tmp0_other_with_cast.o2o_1))
|
|
2772
|
-
return false;
|
|
2773
2937
|
if (!(this.p2o_1 === tmp0_other_with_cast.p2o_1))
|
|
2774
2938
|
return false;
|
|
2775
2939
|
if (!(this.q2o_1 === tmp0_other_with_cast.q2o_1))
|
|
2776
2940
|
return false;
|
|
2777
2941
|
if (!(this.r2o_1 === tmp0_other_with_cast.r2o_1))
|
|
2778
2942
|
return false;
|
|
2779
|
-
if (!(this.s2o_1
|
|
2943
|
+
if (!(this.s2o_1 == tmp0_other_with_cast.s2o_1))
|
|
2780
2944
|
return false;
|
|
2781
2945
|
if (!(this.t2o_1 === tmp0_other_with_cast.t2o_1))
|
|
2782
2946
|
return false;
|
|
@@ -2792,19 +2956,31 @@
|
|
|
2792
2956
|
return false;
|
|
2793
2957
|
if (!(this.z2o_1 === tmp0_other_with_cast.z2o_1))
|
|
2794
2958
|
return false;
|
|
2959
|
+
if (!(this.a2p_1 === tmp0_other_with_cast.a2p_1))
|
|
2960
|
+
return false;
|
|
2961
|
+
if (!(this.b2p_1 === tmp0_other_with_cast.b2p_1))
|
|
2962
|
+
return false;
|
|
2963
|
+
if (!(this.c2p_1 === tmp0_other_with_cast.c2p_1))
|
|
2964
|
+
return false;
|
|
2965
|
+
if (!(this.d2p_1 === tmp0_other_with_cast.d2p_1))
|
|
2966
|
+
return false;
|
|
2967
|
+
if (!(this.e2p_1 === tmp0_other_with_cast.e2p_1))
|
|
2968
|
+
return false;
|
|
2969
|
+
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2970
|
+
return false;
|
|
2795
2971
|
return true;
|
|
2796
2972
|
};
|
|
2797
|
-
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $
|
|
2973
|
+
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_7});
|
|
2798
2974
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2799
|
-
this.
|
|
2800
|
-
this.
|
|
2975
|
+
this.u2p_1 = trump;
|
|
2976
|
+
this.v2p_1 = firstCardSuit;
|
|
2801
2977
|
}
|
|
2802
|
-
CardGrowthComparator.prototype.
|
|
2803
|
-
return getGrowth(b, this.
|
|
2978
|
+
CardGrowthComparator.prototype.w2p = function (a, b) {
|
|
2979
|
+
return getGrowth(b, this.u2p_1, this.v2p_1) - getGrowth(a, this.u2p_1, this.v2p_1) | 0;
|
|
2804
2980
|
};
|
|
2805
2981
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2806
2982
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2807
|
-
return this.
|
|
2983
|
+
return this.w2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2808
2984
|
};
|
|
2809
2985
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
2810
2986
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -2828,12 +3004,12 @@
|
|
|
2828
3004
|
function CardIndexComparator() {
|
|
2829
3005
|
CardIndexComparator_instance = this;
|
|
2830
3006
|
}
|
|
2831
|
-
CardIndexComparator.prototype.
|
|
2832
|
-
return a.
|
|
3007
|
+
CardIndexComparator.prototype.w2p = function (a, b) {
|
|
3008
|
+
return a.m2o_1 - b.m2o_1 | 0;
|
|
2833
3009
|
};
|
|
2834
3010
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2835
3011
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2836
|
-
return this.
|
|
3012
|
+
return this.w2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2837
3013
|
};
|
|
2838
3014
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
2839
3015
|
var CardIndexComparator_instance;
|
|
@@ -2863,12 +3039,12 @@
|
|
|
2863
3039
|
function CardNumberComparator() {
|
|
2864
3040
|
CardNumberComparator_instance = this;
|
|
2865
3041
|
}
|
|
2866
|
-
CardNumberComparator.prototype.
|
|
2867
|
-
return b.
|
|
3042
|
+
CardNumberComparator.prototype.w2p = function (a, b) {
|
|
3043
|
+
return b.x2p() - a.x2p() | 0;
|
|
2868
3044
|
};
|
|
2869
3045
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2870
3046
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2871
|
-
return this.
|
|
3047
|
+
return this.w2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2872
3048
|
};
|
|
2873
3049
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
2874
3050
|
var CardNumberComparator_instance;
|
|
@@ -2878,7 +3054,7 @@
|
|
|
2878
3054
|
return CardNumberComparator_instance;
|
|
2879
3055
|
}
|
|
2880
3056
|
function getPoint(_this__u8e3s4, trump) {
|
|
2881
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
3057
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.y2p());
|
|
2882
3058
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
2883
3059
|
var tmp0 = tmp0_subject.e5_1;
|
|
2884
3060
|
var tmp;
|
|
@@ -2912,8 +3088,8 @@
|
|
|
2912
3088
|
}
|
|
2913
3089
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2914
3090
|
var minPoint = 0;
|
|
2915
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2916
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3091
|
+
var isTrump = trump.equals(_this__u8e3s4.y2p());
|
|
3092
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.y2p());
|
|
2917
3093
|
var minGrowth;
|
|
2918
3094
|
var maxGrowth;
|
|
2919
3095
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
@@ -3011,7 +3187,7 @@
|
|
|
3011
3187
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3012
3188
|
var tmp$ret$0;
|
|
3013
3189
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3014
|
-
tmp$ret$0 = p1.
|
|
3190
|
+
tmp$ret$0 = p1.y2p().equals(element);
|
|
3015
3191
|
if (tmp$ret$0) {
|
|
3016
3192
|
tmp$ret$1 = true;
|
|
3017
3193
|
break $l$block;
|
|
@@ -3056,37 +3232,37 @@
|
|
|
3056
3232
|
CardName_TWO_instance = new CardName('TWO', 12);
|
|
3057
3233
|
CardName_STUB_instance = new CardName('STUB', 13);
|
|
3058
3234
|
}
|
|
3059
|
-
function
|
|
3060
|
-
|
|
3235
|
+
function Companion_15() {
|
|
3236
|
+
Companion_instance_15 = this;
|
|
3061
3237
|
}
|
|
3062
|
-
|
|
3063
|
-
return new GameCard(getNumber(
|
|
3238
|
+
Companion_15.prototype.z2p = function (suit, cardNumber) {
|
|
3239
|
+
return new GameCard(getNumber(Companion_getInstance_16(), cardNumber, suit));
|
|
3064
3240
|
};
|
|
3065
|
-
|
|
3241
|
+
Companion_15.prototype.a2q = function (position, playerIndex, reverse) {
|
|
3066
3242
|
var tmp;
|
|
3067
3243
|
if (reverse) {
|
|
3068
|
-
|
|
3069
|
-
|
|
3244
|
+
Companion_getInstance_16();
|
|
3245
|
+
Companion_getInstance_16();
|
|
3070
3246
|
tmp = (53 + imul(playerIndex, 13 + 1 | 0) | 0) - position | 0;
|
|
3071
3247
|
} else {
|
|
3072
|
-
|
|
3073
|
-
|
|
3248
|
+
Companion_getInstance_16();
|
|
3249
|
+
Companion_getInstance_16();
|
|
3074
3250
|
tmp = (53 + imul(playerIndex, 13) | 0) + position | 0;
|
|
3075
3251
|
}
|
|
3076
3252
|
var index = tmp;
|
|
3077
3253
|
return new GameCard(index);
|
|
3078
3254
|
};
|
|
3079
|
-
|
|
3255
|
+
Companion_15.prototype.b2q = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3080
3256
|
if (!(($mask0 & 4) === 0))
|
|
3081
3257
|
reverse = false;
|
|
3082
|
-
return this.
|
|
3258
|
+
return this.a2q(position, playerIndex, reverse);
|
|
3083
3259
|
};
|
|
3084
|
-
|
|
3085
|
-
var
|
|
3086
|
-
function
|
|
3087
|
-
if (
|
|
3088
|
-
new
|
|
3089
|
-
return
|
|
3260
|
+
Companion_15.$metadata$ = objectMeta('Companion');
|
|
3261
|
+
var Companion_instance_15;
|
|
3262
|
+
function Companion_getInstance_15() {
|
|
3263
|
+
if (Companion_instance_15 == null)
|
|
3264
|
+
new Companion_15();
|
|
3265
|
+
return Companion_instance_15;
|
|
3090
3266
|
}
|
|
3091
3267
|
function getNumber($this, cardNumber, suit) {
|
|
3092
3268
|
return imul(getIndex(suit), 13) + getCardNumber($this, cardNumber) | 0;
|
|
@@ -3189,27 +3365,27 @@
|
|
|
3189
3365
|
return tmp;
|
|
3190
3366
|
}
|
|
3191
3367
|
function _get_isShirt__vd98rp($this) {
|
|
3192
|
-
var tmp = $this.
|
|
3193
|
-
|
|
3368
|
+
var tmp = $this.m2o_1;
|
|
3369
|
+
Companion_getInstance_16();
|
|
3194
3370
|
return tmp === 52;
|
|
3195
3371
|
}
|
|
3196
3372
|
function CardName(name, ordinal) {
|
|
3197
3373
|
Enum.call(this, name, ordinal);
|
|
3198
3374
|
}
|
|
3199
3375
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3200
|
-
function
|
|
3201
|
-
|
|
3202
|
-
this.
|
|
3203
|
-
this.
|
|
3204
|
-
this.
|
|
3205
|
-
this.
|
|
3206
|
-
}
|
|
3207
|
-
|
|
3208
|
-
var
|
|
3209
|
-
function
|
|
3210
|
-
if (
|
|
3211
|
-
new
|
|
3212
|
-
return
|
|
3376
|
+
function Companion_16() {
|
|
3377
|
+
Companion_instance_16 = this;
|
|
3378
|
+
this.c2q_1 = -1;
|
|
3379
|
+
this.d2q_1 = 13;
|
|
3380
|
+
this.e2q_1 = 52;
|
|
3381
|
+
this.f2q_1 = 53;
|
|
3382
|
+
}
|
|
3383
|
+
Companion_16.$metadata$ = objectMeta('Companion');
|
|
3384
|
+
var Companion_instance_16;
|
|
3385
|
+
function Companion_getInstance_16() {
|
|
3386
|
+
if (Companion_instance_16 == null)
|
|
3387
|
+
new Companion_16();
|
|
3388
|
+
return Companion_instance_16;
|
|
3213
3389
|
}
|
|
3214
3390
|
function CardName_ACE_getInstance() {
|
|
3215
3391
|
CardName_initEntries();
|
|
@@ -3268,73 +3444,73 @@
|
|
|
3268
3444
|
return CardName_STUB_instance;
|
|
3269
3445
|
}
|
|
3270
3446
|
function GameCard(index) {
|
|
3271
|
-
|
|
3272
|
-
this.
|
|
3447
|
+
Companion_getInstance_16();
|
|
3448
|
+
this.m2o_1 = index;
|
|
3273
3449
|
}
|
|
3274
3450
|
GameCard.prototype.b3 = function () {
|
|
3275
|
-
return this.
|
|
3451
|
+
return this.m2o_1;
|
|
3276
3452
|
};
|
|
3277
|
-
GameCard.prototype.
|
|
3453
|
+
GameCard.prototype.y2p = function () {
|
|
3278
3454
|
var tmp;
|
|
3279
|
-
|
|
3455
|
+
Companion_getInstance_16();
|
|
3280
3456
|
var containsUpper = 13;
|
|
3281
|
-
var containsArg = this.
|
|
3457
|
+
var containsArg = this.m2o_1;
|
|
3282
3458
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3283
3459
|
tmp = Suit_DIAMOND_getInstance();
|
|
3284
3460
|
} else {
|
|
3285
|
-
var tmp_0 = this.
|
|
3286
|
-
|
|
3461
|
+
var tmp_0 = this.m2o_1;
|
|
3462
|
+
Companion_getInstance_16();
|
|
3287
3463
|
if (tmp_0 <= imul(13, 2)) {
|
|
3288
3464
|
tmp = Suit_SPADE_getInstance();
|
|
3289
3465
|
} else {
|
|
3290
|
-
var tmp_1 = this.
|
|
3291
|
-
|
|
3466
|
+
var tmp_1 = this.m2o_1;
|
|
3467
|
+
Companion_getInstance_16();
|
|
3292
3468
|
if (tmp_1 <= imul(13, 3)) {
|
|
3293
3469
|
tmp = Suit_HEART_getInstance();
|
|
3294
3470
|
} else {
|
|
3295
|
-
var tmp_2 = this.
|
|
3296
|
-
|
|
3471
|
+
var tmp_2 = this.m2o_1;
|
|
3472
|
+
Companion_getInstance_16();
|
|
3297
3473
|
if (tmp_2 <= imul(13, 4)) {
|
|
3298
3474
|
tmp = Suit_CLUB_getInstance();
|
|
3299
3475
|
} else {
|
|
3300
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3476
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.m2o_1);
|
|
3301
3477
|
}
|
|
3302
3478
|
}
|
|
3303
3479
|
}
|
|
3304
3480
|
}
|
|
3305
3481
|
return tmp;
|
|
3306
3482
|
};
|
|
3307
|
-
GameCard.prototype.
|
|
3483
|
+
GameCard.prototype.x2p = function () {
|
|
3308
3484
|
var tmp;
|
|
3309
|
-
if (this.
|
|
3310
|
-
|
|
3485
|
+
if (this.g2q()) {
|
|
3486
|
+
Companion_getInstance_16();
|
|
3311
3487
|
tmp = -1;
|
|
3312
3488
|
} else {
|
|
3313
|
-
var tmp_0 = this.
|
|
3314
|
-
|
|
3315
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3489
|
+
var tmp_0 = this.m2o_1;
|
|
3490
|
+
Companion_getInstance_16();
|
|
3491
|
+
tmp = tmp_0 - imul(13, getIndex(this.y2p())) | 0;
|
|
3316
3492
|
}
|
|
3317
3493
|
return tmp;
|
|
3318
3494
|
};
|
|
3319
3495
|
GameCard.prototype.f5 = function () {
|
|
3320
|
-
return this.
|
|
3496
|
+
return this.g2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_16(), this.x2p());
|
|
3321
3497
|
};
|
|
3322
|
-
GameCard.prototype.
|
|
3323
|
-
var tmp = this.
|
|
3324
|
-
|
|
3498
|
+
GameCard.prototype.g2q = function () {
|
|
3499
|
+
var tmp = this.m2o_1;
|
|
3500
|
+
Companion_getInstance_16();
|
|
3325
3501
|
return tmp >= 53;
|
|
3326
3502
|
};
|
|
3327
3503
|
GameCard.prototype.toString = function () {
|
|
3328
3504
|
if (_get_isShirt__vd98rp(this)) {
|
|
3329
3505
|
return 'GameCard(SHIRT)';
|
|
3330
3506
|
}
|
|
3331
|
-
if (this.
|
|
3332
|
-
return 'GameCard(STUB, ' + this.
|
|
3507
|
+
if (this.g2q()) {
|
|
3508
|
+
return 'GameCard(STUB, ' + this.m2o_1 + ')';
|
|
3333
3509
|
}
|
|
3334
|
-
return 'GameCard(' + this.f5() + ', suit: ' + this.
|
|
3510
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.y2p() + ', index=' + this.m2o_1 + ')';
|
|
3335
3511
|
};
|
|
3336
3512
|
GameCard.prototype.hashCode = function () {
|
|
3337
|
-
return this.
|
|
3513
|
+
return this.m2o_1;
|
|
3338
3514
|
};
|
|
3339
3515
|
GameCard.prototype.equals = function (other) {
|
|
3340
3516
|
if (this === other)
|
|
@@ -3342,24 +3518,24 @@
|
|
|
3342
3518
|
if (!(other instanceof GameCard))
|
|
3343
3519
|
return false;
|
|
3344
3520
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3345
|
-
if (!(this.
|
|
3521
|
+
if (!(this.m2o_1 === tmp0_other_with_cast.m2o_1))
|
|
3346
3522
|
return false;
|
|
3347
3523
|
return true;
|
|
3348
3524
|
};
|
|
3349
3525
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
3350
3526
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3351
|
-
this.
|
|
3352
|
-
this.
|
|
3527
|
+
this.n2o_1 = playerId;
|
|
3528
|
+
this.o2o_1 = gameCard;
|
|
3353
3529
|
}
|
|
3354
|
-
GameCardWIthPlayerId.prototype.
|
|
3355
|
-
return this.
|
|
3530
|
+
GameCardWIthPlayerId.prototype.a2l = function () {
|
|
3531
|
+
return this.n2o_1;
|
|
3356
3532
|
};
|
|
3357
3533
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3358
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3534
|
+
return 'GameCardWIthPlayerId(playerId=' + this.n2o_1 + ', gameCard=' + this.o2o_1 + ')';
|
|
3359
3535
|
};
|
|
3360
3536
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3361
|
-
var result = getStringHashCode(this.
|
|
3362
|
-
result = imul(result, 31) + this.
|
|
3537
|
+
var result = getStringHashCode(this.n2o_1);
|
|
3538
|
+
result = imul(result, 31) + this.o2o_1.hashCode() | 0;
|
|
3363
3539
|
return result;
|
|
3364
3540
|
};
|
|
3365
3541
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3368,9 +3544,9 @@
|
|
|
3368
3544
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3369
3545
|
return false;
|
|
3370
3546
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3371
|
-
if (!(this.
|
|
3547
|
+
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
3372
3548
|
return false;
|
|
3373
|
-
if (!this.
|
|
3549
|
+
if (!this.o2o_1.equals(tmp0_other_with_cast.o2o_1))
|
|
3374
3550
|
return false;
|
|
3375
3551
|
return true;
|
|
3376
3552
|
};
|
|
@@ -3378,22 +3554,22 @@
|
|
|
3378
3554
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
3379
3555
|
configurable: true,
|
|
3380
3556
|
get: function () {
|
|
3381
|
-
return this.
|
|
3557
|
+
return this.a2l();
|
|
3382
3558
|
}
|
|
3383
3559
|
});
|
|
3384
3560
|
function ProcessingCard(gameCard, payload) {
|
|
3385
|
-
this.
|
|
3386
|
-
this.
|
|
3561
|
+
this.h2q_1 = gameCard;
|
|
3562
|
+
this.i2q_1 = payload;
|
|
3387
3563
|
}
|
|
3388
|
-
ProcessingCard.prototype.
|
|
3389
|
-
return this.
|
|
3564
|
+
ProcessingCard.prototype.j2q = function () {
|
|
3565
|
+
return this.h2q_1;
|
|
3390
3566
|
};
|
|
3391
3567
|
ProcessingCard.prototype.toString = function () {
|
|
3392
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3568
|
+
return 'ProcessingCard(gameCard=' + this.h2q_1 + ', payload=' + this.i2q_1 + ')';
|
|
3393
3569
|
};
|
|
3394
3570
|
ProcessingCard.prototype.hashCode = function () {
|
|
3395
|
-
var result = this.
|
|
3396
|
-
result = imul(result, 31) + (this.
|
|
3571
|
+
var result = this.h2q_1.hashCode();
|
|
3572
|
+
result = imul(result, 31) + (this.i2q_1 == null ? 0 : hashCode(this.i2q_1)) | 0;
|
|
3397
3573
|
return result;
|
|
3398
3574
|
};
|
|
3399
3575
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3402,41 +3578,41 @@
|
|
|
3402
3578
|
if (!(other instanceof ProcessingCard))
|
|
3403
3579
|
return false;
|
|
3404
3580
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3405
|
-
if (!this.
|
|
3581
|
+
if (!this.h2q_1.equals(tmp0_other_with_cast.h2q_1))
|
|
3406
3582
|
return false;
|
|
3407
|
-
if (!equals(this.
|
|
3583
|
+
if (!equals(this.i2q_1, tmp0_other_with_cast.i2q_1))
|
|
3408
3584
|
return false;
|
|
3409
3585
|
return true;
|
|
3410
3586
|
};
|
|
3411
3587
|
ProcessingCard.$metadata$ = classMeta('ProcessingCard');
|
|
3412
3588
|
function Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b() {
|
|
3413
|
-
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit',
|
|
3589
|
+
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
3414
3590
|
}
|
|
3415
3591
|
var Suit_DIAMOND_instance;
|
|
3416
3592
|
var Suit_SPADE_instance;
|
|
3417
3593
|
var Suit_HEART_instance;
|
|
3418
3594
|
var Suit_CLUB_instance;
|
|
3419
|
-
function
|
|
3420
|
-
|
|
3595
|
+
function Companion_17() {
|
|
3596
|
+
Companion_instance_17 = this;
|
|
3421
3597
|
var tmp = this;
|
|
3422
3598
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3423
|
-
tmp.
|
|
3599
|
+
tmp.k2q_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3424
3600
|
}
|
|
3425
|
-
|
|
3426
|
-
return this.
|
|
3601
|
+
Companion_17.prototype.d25 = function () {
|
|
3602
|
+
return this.k2q_1.c2();
|
|
3427
3603
|
};
|
|
3428
|
-
|
|
3604
|
+
Companion_17.prototype.t1t = function (typeParamsSerializers) {
|
|
3429
3605
|
return this.d25();
|
|
3430
3606
|
};
|
|
3431
|
-
|
|
3432
|
-
var
|
|
3433
|
-
function
|
|
3607
|
+
Companion_17.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
3608
|
+
var Companion_instance_17;
|
|
3609
|
+
function Companion_getInstance_17() {
|
|
3434
3610
|
Suit_initEntries();
|
|
3435
|
-
if (
|
|
3436
|
-
new
|
|
3437
|
-
return
|
|
3611
|
+
if (Companion_instance_17 == null)
|
|
3612
|
+
new Companion_17();
|
|
3613
|
+
return Companion_instance_17;
|
|
3438
3614
|
}
|
|
3439
|
-
function
|
|
3615
|
+
function values_3() {
|
|
3440
3616
|
return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
|
|
3441
3617
|
}
|
|
3442
3618
|
var Suit_entriesInitialized;
|
|
@@ -3448,12 +3624,12 @@
|
|
|
3448
3624
|
Suit_SPADE_instance = new Suit('SPADE', 1);
|
|
3449
3625
|
Suit_HEART_instance = new Suit('HEART', 2);
|
|
3450
3626
|
Suit_CLUB_instance = new Suit('CLUB', 3);
|
|
3451
|
-
|
|
3627
|
+
Companion_getInstance_17();
|
|
3452
3628
|
}
|
|
3453
3629
|
function Suit(name, ordinal) {
|
|
3454
3630
|
Enum.call(this, name, ordinal);
|
|
3455
3631
|
}
|
|
3456
|
-
Suit.$metadata$ = classMeta('Suit', undefined, undefined, {0:
|
|
3632
|
+
Suit.$metadata$ = classMeta('Suit', undefined, undefined, {0: Companion_getInstance_17}, undefined, Enum.prototype);
|
|
3457
3633
|
function Suit_DIAMOND_getInstance() {
|
|
3458
3634
|
Suit_initEntries();
|
|
3459
3635
|
return Suit_DIAMOND_instance;
|
|
@@ -3494,37 +3670,37 @@
|
|
|
3494
3670
|
return tmp;
|
|
3495
3671
|
}
|
|
3496
3672
|
function _no_name_provided__qut3iv($logger) {
|
|
3497
|
-
this.
|
|
3673
|
+
this.m2q_1 = $logger;
|
|
3498
3674
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3499
3675
|
}
|
|
3500
3676
|
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3501
3677
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3502
|
-
return this.
|
|
3678
|
+
return this.m2q_1.n2q('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3503
3679
|
};
|
|
3504
3680
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
3505
3681
|
function AsyncProviderImpl(logger) {
|
|
3506
3682
|
var tmp = this;
|
|
3507
|
-
tmp.
|
|
3683
|
+
tmp.o2q_1 = Job$default(null, 1, null);
|
|
3508
3684
|
var tmp_0 = this;
|
|
3509
3685
|
var tmp$ret$0;
|
|
3510
3686
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3511
3687
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3512
|
-
tmp_0.
|
|
3513
|
-
this.
|
|
3514
|
-
this.
|
|
3688
|
+
tmp_0.p2q_1 = tmp$ret$0;
|
|
3689
|
+
this.q2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.o2q_1));
|
|
3690
|
+
this.r2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.o2q_1));
|
|
3515
3691
|
}
|
|
3516
|
-
AsyncProviderImpl.prototype.
|
|
3517
|
-
return this.
|
|
3692
|
+
AsyncProviderImpl.prototype.s2q = function () {
|
|
3693
|
+
return this.p2q_1;
|
|
3518
3694
|
};
|
|
3519
|
-
AsyncProviderImpl.prototype.
|
|
3520
|
-
return launch$default(this.
|
|
3695
|
+
AsyncProviderImpl.prototype.t2q = function (context, block) {
|
|
3696
|
+
return launch$default(this.q2q_1, context, null, block, 2, null);
|
|
3521
3697
|
};
|
|
3522
|
-
AsyncProviderImpl.prototype.
|
|
3523
|
-
return launch$default(this.
|
|
3698
|
+
AsyncProviderImpl.prototype.v2q = function (context, block) {
|
|
3699
|
+
return launch$default(this.r2q_1, context, null, block, 2, null);
|
|
3524
3700
|
};
|
|
3525
3701
|
AsyncProviderImpl.prototype.rn = function () {
|
|
3526
|
-
if (!this.
|
|
3527
|
-
this.
|
|
3702
|
+
if (!this.o2q_1.xp()) {
|
|
3703
|
+
this.o2q_1.om(null, 1, null);
|
|
3528
3704
|
}
|
|
3529
3705
|
};
|
|
3530
3706
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
@@ -3532,39 +3708,39 @@
|
|
|
3532
3708
|
}
|
|
3533
3709
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3534
3710
|
function JobsProviderImpl(logger) {
|
|
3535
|
-
this.
|
|
3711
|
+
this.x2q_1 = logger;
|
|
3536
3712
|
var tmp = this;
|
|
3537
3713
|
var tmp$ret$0;
|
|
3538
3714
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3539
3715
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3540
|
-
tmp.
|
|
3716
|
+
tmp.y2q_1 = tmp$ret$0;
|
|
3541
3717
|
}
|
|
3542
|
-
JobsProviderImpl.prototype.
|
|
3543
|
-
if (this.
|
|
3718
|
+
JobsProviderImpl.prototype.z2q = function (timerTag, job) {
|
|
3719
|
+
if (this.b2r(timerTag)) {
|
|
3544
3720
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3545
|
-
this.
|
|
3721
|
+
this.x2q_1.a2r(null, tmp, null, 5, null);
|
|
3546
3722
|
}
|
|
3547
3723
|
// Inline function 'kotlin.collections.set' call
|
|
3548
|
-
var tmp0_set = this.
|
|
3549
|
-
tmp0_set.
|
|
3724
|
+
var tmp0_set = this.y2q_1;
|
|
3725
|
+
tmp0_set.p(timerTag, job);
|
|
3550
3726
|
};
|
|
3551
|
-
JobsProviderImpl.prototype.
|
|
3552
|
-
return this.
|
|
3727
|
+
JobsProviderImpl.prototype.b2r = function (timerTag) {
|
|
3728
|
+
return this.y2q_1.j2(timerTag);
|
|
3553
3729
|
};
|
|
3554
|
-
JobsProviderImpl.prototype.
|
|
3555
|
-
if (!this.
|
|
3730
|
+
JobsProviderImpl.prototype.c2r = function (timerTag) {
|
|
3731
|
+
if (!this.b2r(timerTag)) {
|
|
3556
3732
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3557
|
-
this.
|
|
3733
|
+
this.x2q_1.a2r(null, tmp, null, 5, null);
|
|
3558
3734
|
}
|
|
3559
|
-
this.
|
|
3735
|
+
this.y2q_1.od(timerTag);
|
|
3560
3736
|
};
|
|
3561
|
-
JobsProviderImpl.prototype.
|
|
3737
|
+
JobsProviderImpl.prototype.d2r = function (timers) {
|
|
3562
3738
|
// Inline function 'kotlin.collections.forEach' call
|
|
3563
3739
|
var tmp0_iterator = timers.f();
|
|
3564
3740
|
while (tmp0_iterator.g()) {
|
|
3565
3741
|
var element = tmp0_iterator.h();
|
|
3566
3742
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3567
|
-
var timer = this.
|
|
3743
|
+
var timer = this.y2q_1.s(element);
|
|
3568
3744
|
var tmp0_safe_receiver = timer;
|
|
3569
3745
|
if (tmp0_safe_receiver == null)
|
|
3570
3746
|
null;
|
|
@@ -3572,11 +3748,11 @@
|
|
|
3572
3748
|
tmp0_safe_receiver.om(null, 1, null);
|
|
3573
3749
|
}
|
|
3574
3750
|
}
|
|
3575
|
-
this.
|
|
3751
|
+
this.y2q_1.m2().mc(toSet(timers));
|
|
3576
3752
|
};
|
|
3577
|
-
JobsProviderImpl.prototype.
|
|
3578
|
-
var timer = this.
|
|
3579
|
-
this.
|
|
3753
|
+
JobsProviderImpl.prototype.e2r = function (timerTag) {
|
|
3754
|
+
var timer = this.y2q_1.s(timerTag);
|
|
3755
|
+
this.y2q_1.od(timerTag);
|
|
3580
3756
|
var tmp0_safe_receiver = timer;
|
|
3581
3757
|
if (tmp0_safe_receiver == null)
|
|
3582
3758
|
null;
|
|
@@ -3679,10 +3855,10 @@
|
|
|
3679
3855
|
var accumulator = x;
|
|
3680
3856
|
if (!$functions.k()) {
|
|
3681
3857
|
var iterator = $functions.m($functions.i());
|
|
3682
|
-
while (iterator.
|
|
3858
|
+
while (iterator.n()) {
|
|
3683
3859
|
var tmp$ret$0;
|
|
3684
3860
|
// Inline function 'com.logic.domain.engine.compose.<anonymous>.<anonymous>' call
|
|
3685
|
-
var tmp0__anonymous__q1qw7t = iterator.
|
|
3861
|
+
var tmp0__anonymous__q1qw7t = iterator.o();
|
|
3686
3862
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3687
3863
|
tmp$ret$0 = tmp0__anonymous__q1qw7t(tmp1__anonymous__uwfjfc);
|
|
3688
3864
|
accumulator = tmp$ret$0;
|
|
@@ -3692,88 +3868,98 @@
|
|
|
3692
3868
|
return tmp$ret$1;
|
|
3693
3869
|
};
|
|
3694
3870
|
}
|
|
3695
|
-
function createStore(reducer, preloadedState, enhancer) {
|
|
3871
|
+
function createStore(reducer, preloadedState, enhancer, logger) {
|
|
3696
3872
|
if (!(enhancer == null)) {
|
|
3697
|
-
return enhancer(createStore$lambda)(reducer, preloadedState, null);
|
|
3873
|
+
return enhancer(createStore$lambda(logger))(reducer, preloadedState, null);
|
|
3698
3874
|
}
|
|
3699
3875
|
var currentState = MutableStateFlow(preloadedState);
|
|
3700
3876
|
var currentReducer = {_v: reducer};
|
|
3701
|
-
createStore$dispatch(currentState, currentReducer, INIT_getInstance());
|
|
3702
|
-
return new createStore$2(currentState, currentReducer);
|
|
3877
|
+
createStore$dispatch(currentState, currentReducer, logger, INIT_getInstance());
|
|
3878
|
+
return new createStore$2(currentState, currentReducer, logger);
|
|
3703
3879
|
}
|
|
3704
|
-
function createStore$default(reducer, preloadedState, enhancer, $mask0, $handler) {
|
|
3880
|
+
function createStore$default(reducer, preloadedState, enhancer, logger, $mask0, $handler) {
|
|
3705
3881
|
if (!(($mask0 & 4) === 0))
|
|
3706
3882
|
enhancer = null;
|
|
3707
|
-
return createStore(reducer, preloadedState, enhancer);
|
|
3883
|
+
return createStore(reducer, preloadedState, enhancer, logger);
|
|
3708
3884
|
}
|
|
3709
|
-
function createStore$dispatch(currentState, currentReducer, action) {
|
|
3710
|
-
|
|
3885
|
+
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3886
|
+
try {
|
|
3887
|
+
currentState.x11(currentReducer._v.f2r(currentState.c2(), action));
|
|
3888
|
+
} catch ($p) {
|
|
3889
|
+
if ($p instanceof Exception) {
|
|
3890
|
+
$logger.n2q('createStore.dispatch', null, $p, null, 10, null);
|
|
3891
|
+
} else {
|
|
3892
|
+
throw $p;
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3711
3895
|
}
|
|
3712
|
-
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
3896
|
+
function createStore$replaceReducer(currentReducer, currentState, $logger, nextReducer) {
|
|
3713
3897
|
currentReducer._v = nextReducer;
|
|
3714
|
-
createStore$dispatch(currentState, currentReducer, REPLACE_getInstance());
|
|
3898
|
+
createStore$dispatch(currentState, currentReducer, $logger, REPLACE_getInstance());
|
|
3715
3899
|
}
|
|
3716
|
-
function createStore$lambda(
|
|
3717
|
-
return
|
|
3900
|
+
function createStore$lambda($logger) {
|
|
3901
|
+
return function (r, initialState, _anonymous_parameter_2__qggqfi) {
|
|
3902
|
+
return createStore$default(r, initialState, null, $logger, 4, null);
|
|
3903
|
+
};
|
|
3718
3904
|
}
|
|
3719
|
-
function createStore$dispatch$ref($currentState, $currentReducer) {
|
|
3905
|
+
function createStore$dispatch$ref($currentState, $currentReducer, $logger) {
|
|
3720
3906
|
var l = function (p0) {
|
|
3721
|
-
createStore$dispatch($currentState, $currentReducer, p0);
|
|
3907
|
+
createStore$dispatch($currentState, $currentReducer, $logger, p0);
|
|
3722
3908
|
return Unit_getInstance();
|
|
3723
3909
|
};
|
|
3724
3910
|
l.callableName = 'dispatch';
|
|
3725
3911
|
return l;
|
|
3726
3912
|
}
|
|
3727
|
-
function createStore$replaceReducer$ref($currentReducer, $currentState) {
|
|
3913
|
+
function createStore$replaceReducer$ref($currentReducer, $currentState, $logger) {
|
|
3728
3914
|
var l = function (p0) {
|
|
3729
|
-
createStore$replaceReducer($currentReducer, $currentState, p0);
|
|
3915
|
+
createStore$replaceReducer($currentReducer, $currentState, $logger, p0);
|
|
3730
3916
|
return Unit_getInstance();
|
|
3731
3917
|
};
|
|
3732
3918
|
l.callableName = 'replaceReducer';
|
|
3733
3919
|
return l;
|
|
3734
3920
|
}
|
|
3735
|
-
function createStore$2($currentState, $currentReducer) {
|
|
3736
|
-
this.
|
|
3921
|
+
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3922
|
+
this.i2r_1 = $currentState;
|
|
3737
3923
|
var tmp = this;
|
|
3738
|
-
tmp.
|
|
3924
|
+
tmp.g2r_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3739
3925
|
var tmp_0 = this;
|
|
3740
|
-
tmp_0.
|
|
3926
|
+
tmp_0.h2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3741
3927
|
}
|
|
3742
|
-
createStore$2.prototype.
|
|
3743
|
-
this.
|
|
3928
|
+
createStore$2.prototype.j2r = function (_set____db54di) {
|
|
3929
|
+
this.g2r_1 = _set____db54di;
|
|
3744
3930
|
};
|
|
3745
|
-
createStore$2.prototype.
|
|
3746
|
-
return this.
|
|
3931
|
+
createStore$2.prototype.k2r = function () {
|
|
3932
|
+
return this.g2r_1;
|
|
3747
3933
|
};
|
|
3748
|
-
createStore$2.prototype.
|
|
3749
|
-
return this.
|
|
3934
|
+
createStore$2.prototype.l2r = function () {
|
|
3935
|
+
return this.i2r_1;
|
|
3750
3936
|
};
|
|
3751
|
-
createStore$2.prototype.
|
|
3752
|
-
return this.
|
|
3937
|
+
createStore$2.prototype.m2r = function () {
|
|
3938
|
+
return this.h2r_1;
|
|
3753
3939
|
};
|
|
3754
3940
|
createStore$2.prototype.am = function () {
|
|
3755
|
-
return this.
|
|
3941
|
+
return this.i2r_1.c2();
|
|
3756
3942
|
};
|
|
3757
3943
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
3758
3944
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3759
3945
|
configurable: true,
|
|
3760
3946
|
get: function () {
|
|
3761
|
-
return this.
|
|
3947
|
+
return this.k2r();
|
|
3762
3948
|
},
|
|
3763
3949
|
set: function (value) {
|
|
3764
|
-
this.
|
|
3950
|
+
this.j2r(value);
|
|
3765
3951
|
}
|
|
3766
3952
|
});
|
|
3767
3953
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3768
3954
|
configurable: true,
|
|
3769
3955
|
get: function () {
|
|
3770
|
-
return this.
|
|
3956
|
+
return this.l2r();
|
|
3771
3957
|
}
|
|
3772
3958
|
});
|
|
3773
3959
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3774
3960
|
configurable: true,
|
|
3775
3961
|
get: function () {
|
|
3776
|
-
return this.
|
|
3962
|
+
return this.m2r();
|
|
3777
3963
|
}
|
|
3778
3964
|
});
|
|
3779
3965
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3808,10 +3994,10 @@
|
|
|
3808
3994
|
return new middleware$1(dispatch);
|
|
3809
3995
|
}
|
|
3810
3996
|
function middleware$1($dispatch) {
|
|
3811
|
-
this.
|
|
3997
|
+
this.q2r_1 = $dispatch;
|
|
3812
3998
|
}
|
|
3813
|
-
middleware$1.prototype.
|
|
3814
|
-
this.
|
|
3999
|
+
middleware$1.prototype.p2r = function (store, next, action) {
|
|
4000
|
+
this.q2r_1(store, next, action);
|
|
3815
4001
|
};
|
|
3816
4002
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
3817
4003
|
function Reducer() {
|
|
@@ -3821,9 +4007,9 @@
|
|
|
3821
4007
|
return new combineReducers$1(reducers);
|
|
3822
4008
|
}
|
|
3823
4009
|
function combineReducers$1($reducers) {
|
|
3824
|
-
this.
|
|
4010
|
+
this.r2r_1 = $reducers;
|
|
3825
4011
|
}
|
|
3826
|
-
combineReducers$1.prototype.
|
|
4012
|
+
combineReducers$1.prototype.s2r = function (state, action) {
|
|
3827
4013
|
var tmp$ret$4;
|
|
3828
4014
|
// Inline function 'kotlin.collections.fold' call
|
|
3829
4015
|
var tmp$ret$2;
|
|
@@ -3831,7 +4017,7 @@
|
|
|
3831
4017
|
var tmp$ret$1;
|
|
3832
4018
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3833
4019
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3834
|
-
var indexedObject = this.
|
|
4020
|
+
var indexedObject = this.r2r_1;
|
|
3835
4021
|
var inductionVariable = 0;
|
|
3836
4022
|
var last = indexedObject.length;
|
|
3837
4023
|
while (inductionVariable < last) {
|
|
@@ -3839,7 +4025,7 @@
|
|
|
3839
4025
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3840
4026
|
var tmp$ret$0;
|
|
3841
4027
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3842
|
-
tmp$ret$0 = element.
|
|
4028
|
+
tmp$ret$0 = element.o2r(action);
|
|
3843
4029
|
if (tmp$ret$0) {
|
|
3844
4030
|
tmp0_filterTo.a(element);
|
|
3845
4031
|
}
|
|
@@ -3854,14 +4040,14 @@
|
|
|
3854
4040
|
var tmp$ret$3;
|
|
3855
4041
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3856
4042
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3857
|
-
tmp$ret$3 = element_0.
|
|
4043
|
+
tmp$ret$3 = element_0.f2r(tmp1__anonymous__uwfjfc, action);
|
|
3858
4044
|
accumulator = tmp$ret$3;
|
|
3859
4045
|
}
|
|
3860
4046
|
tmp$ret$4 = accumulator;
|
|
3861
4047
|
return tmp$ret$4;
|
|
3862
4048
|
};
|
|
3863
|
-
combineReducers$1.prototype.
|
|
3864
|
-
return this.
|
|
4049
|
+
combineReducers$1.prototype.f2r = function (state, action) {
|
|
4050
|
+
return this.s2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3865
4051
|
};
|
|
3866
4052
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
3867
4053
|
function Store() {
|
|
@@ -3875,7 +4061,7 @@
|
|
|
3875
4061
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3876
4062
|
configurable: true,
|
|
3877
4063
|
get: function () {
|
|
3878
|
-
return this.
|
|
4064
|
+
return this.n2r();
|
|
3879
4065
|
}
|
|
3880
4066
|
});
|
|
3881
4067
|
var INIT_instance;
|
|
@@ -3892,7 +4078,7 @@
|
|
|
3892
4078
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3893
4079
|
configurable: true,
|
|
3894
4080
|
get: function () {
|
|
3895
|
-
return this.
|
|
4081
|
+
return this.n2r();
|
|
3896
4082
|
}
|
|
3897
4083
|
});
|
|
3898
4084
|
var REPLACE_instance;
|
|
@@ -3907,7 +4093,7 @@
|
|
|
3907
4093
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3908
4094
|
configurable: true,
|
|
3909
4095
|
get: function () {
|
|
3910
|
-
return this.
|
|
4096
|
+
return this.n2r();
|
|
3911
4097
|
}
|
|
3912
4098
|
});
|
|
3913
4099
|
function BufferedAction() {
|
|
@@ -3921,19 +4107,19 @@
|
|
|
3921
4107
|
ExpectantAction.$metadata$ = interfaceMeta('ExpectantAction', [Action]);
|
|
3922
4108
|
function TimerTag() {
|
|
3923
4109
|
}
|
|
3924
|
-
TimerTag.$metadata$ = interfaceMeta('TimerTag');
|
|
4110
|
+
TimerTag.$metadata$ = interfaceMeta('TimerTag', [NotValidateIfGameFinished]);
|
|
3925
4111
|
function StopTimerAction(timerTag) {
|
|
3926
4112
|
TimerAction.call(this);
|
|
3927
|
-
this.
|
|
4113
|
+
this.u2r_1 = timerTag;
|
|
3928
4114
|
}
|
|
3929
|
-
StopTimerAction.prototype.
|
|
3930
|
-
return this.
|
|
4115
|
+
StopTimerAction.prototype.v2r = function () {
|
|
4116
|
+
return this.u2r_1;
|
|
3931
4117
|
};
|
|
3932
4118
|
StopTimerAction.prototype.toString = function () {
|
|
3933
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4119
|
+
return 'StopTimerAction(timerTag=' + this.u2r_1 + ')';
|
|
3934
4120
|
};
|
|
3935
4121
|
StopTimerAction.prototype.hashCode = function () {
|
|
3936
|
-
return hashCode(this.
|
|
4122
|
+
return hashCode(this.u2r_1);
|
|
3937
4123
|
};
|
|
3938
4124
|
StopTimerAction.prototype.equals = function (other) {
|
|
3939
4125
|
if (this === other)
|
|
@@ -3941,7 +4127,7 @@
|
|
|
3941
4127
|
if (!(other instanceof StopTimerAction))
|
|
3942
4128
|
return false;
|
|
3943
4129
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3944
|
-
if (!equals(this.
|
|
4130
|
+
if (!equals(this.u2r_1, tmp0_other_with_cast.u2r_1))
|
|
3945
4131
|
return false;
|
|
3946
4132
|
return true;
|
|
3947
4133
|
};
|
|
@@ -3949,7 +4135,7 @@
|
|
|
3949
4135
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3950
4136
|
configurable: true,
|
|
3951
4137
|
get: function () {
|
|
3952
|
-
return this.
|
|
4138
|
+
return this.n2r();
|
|
3953
4139
|
}
|
|
3954
4140
|
});
|
|
3955
4141
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -3965,31 +4151,31 @@
|
|
|
3965
4151
|
}
|
|
3966
4152
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
3967
4153
|
TimerAction.call(this);
|
|
3968
|
-
this.
|
|
3969
|
-
this.
|
|
3970
|
-
this.
|
|
3971
|
-
this.
|
|
4154
|
+
this.w2r_1 = timerTag;
|
|
4155
|
+
this.x2r_1 = delayMillis;
|
|
4156
|
+
this.y2r_1 = initialDelay;
|
|
4157
|
+
this.z2r_1 = type;
|
|
3972
4158
|
}
|
|
3973
|
-
StartTimerAction.prototype.
|
|
3974
|
-
return this.
|
|
4159
|
+
StartTimerAction.prototype.v2r = function () {
|
|
4160
|
+
return this.w2r_1;
|
|
3975
4161
|
};
|
|
3976
|
-
StartTimerAction.prototype.
|
|
3977
|
-
return this.
|
|
4162
|
+
StartTimerAction.prototype.a2s = function () {
|
|
4163
|
+
return this.x2r_1;
|
|
3978
4164
|
};
|
|
3979
|
-
StartTimerAction.prototype.
|
|
3980
|
-
return this.
|
|
4165
|
+
StartTimerAction.prototype.b2s = function () {
|
|
4166
|
+
return this.y2r_1;
|
|
3981
4167
|
};
|
|
3982
4168
|
StartTimerAction.prototype.f7 = function () {
|
|
3983
|
-
return this.
|
|
4169
|
+
return this.z2r_1;
|
|
3984
4170
|
};
|
|
3985
4171
|
StartTimerAction.prototype.toString = function () {
|
|
3986
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4172
|
+
return 'StartTimerAction(timerTag=' + this.w2r_1 + ', delayMillis=' + toString_0(this.x2r_1) + ', initialDelay=' + toString_0(this.y2r_1) + ', type=' + this.z2r_1 + ')';
|
|
3987
4173
|
};
|
|
3988
4174
|
StartTimerAction.prototype.hashCode = function () {
|
|
3989
|
-
var result = hashCode(this.
|
|
3990
|
-
result = imul(result, 31) + this.
|
|
3991
|
-
result = imul(result, 31) + this.
|
|
3992
|
-
result = imul(result, 31) + this.
|
|
4175
|
+
var result = hashCode(this.w2r_1);
|
|
4176
|
+
result = imul(result, 31) + this.x2r_1.hashCode() | 0;
|
|
4177
|
+
result = imul(result, 31) + this.y2r_1.hashCode() | 0;
|
|
4178
|
+
result = imul(result, 31) + this.z2r_1.hashCode() | 0;
|
|
3993
4179
|
return result;
|
|
3994
4180
|
};
|
|
3995
4181
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -3998,13 +4184,13 @@
|
|
|
3998
4184
|
if (!(other instanceof StartTimerAction))
|
|
3999
4185
|
return false;
|
|
4000
4186
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4001
|
-
if (!equals(this.
|
|
4187
|
+
if (!equals(this.w2r_1, tmp0_other_with_cast.w2r_1))
|
|
4002
4188
|
return false;
|
|
4003
|
-
if (!this.
|
|
4189
|
+
if (!this.x2r_1.equals(tmp0_other_with_cast.x2r_1))
|
|
4004
4190
|
return false;
|
|
4005
|
-
if (!this.
|
|
4191
|
+
if (!this.y2r_1.equals(tmp0_other_with_cast.y2r_1))
|
|
4006
4192
|
return false;
|
|
4007
|
-
if (!this.
|
|
4193
|
+
if (!this.z2r_1.equals(tmp0_other_with_cast.z2r_1))
|
|
4008
4194
|
return false;
|
|
4009
4195
|
return true;
|
|
4010
4196
|
};
|
|
@@ -4012,7 +4198,7 @@
|
|
|
4012
4198
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4013
4199
|
configurable: true,
|
|
4014
4200
|
get: function () {
|
|
4015
|
-
return this.
|
|
4201
|
+
return this.n2r();
|
|
4016
4202
|
}
|
|
4017
4203
|
});
|
|
4018
4204
|
var TimerType_DELAY_instance;
|
|
@@ -4031,21 +4217,24 @@
|
|
|
4031
4217
|
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4032
4218
|
function TimerTickAction(timerTag, type) {
|
|
4033
4219
|
TimerAction.call(this);
|
|
4034
|
-
this.
|
|
4035
|
-
this.
|
|
4220
|
+
this.c2s_1 = timerTag;
|
|
4221
|
+
this.d2s_1 = type;
|
|
4036
4222
|
}
|
|
4037
|
-
TimerTickAction.prototype.
|
|
4038
|
-
return this.
|
|
4223
|
+
TimerTickAction.prototype.v2r = function () {
|
|
4224
|
+
return this.c2s_1;
|
|
4039
4225
|
};
|
|
4040
4226
|
TimerTickAction.prototype.f7 = function () {
|
|
4041
|
-
return this.
|
|
4227
|
+
return this.d2s_1;
|
|
4228
|
+
};
|
|
4229
|
+
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4230
|
+
return this.c2s_1.notValidateWhenFinished();
|
|
4042
4231
|
};
|
|
4043
4232
|
TimerTickAction.prototype.toString = function () {
|
|
4044
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4233
|
+
return 'TimerTickAction(timerTag=' + this.c2s_1 + ', type=' + this.d2s_1 + ')';
|
|
4045
4234
|
};
|
|
4046
4235
|
TimerTickAction.prototype.hashCode = function () {
|
|
4047
|
-
var result = hashCode(this.
|
|
4048
|
-
result = imul(result, 31) + this.
|
|
4236
|
+
var result = hashCode(this.c2s_1);
|
|
4237
|
+
result = imul(result, 31) + this.d2s_1.hashCode() | 0;
|
|
4049
4238
|
return result;
|
|
4050
4239
|
};
|
|
4051
4240
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4054,17 +4243,17 @@
|
|
|
4054
4243
|
if (!(other instanceof TimerTickAction))
|
|
4055
4244
|
return false;
|
|
4056
4245
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4057
|
-
if (!equals(this.
|
|
4246
|
+
if (!equals(this.c2s_1, tmp0_other_with_cast.c2s_1))
|
|
4058
4247
|
return false;
|
|
4059
|
-
if (!this.
|
|
4248
|
+
if (!this.d2s_1.equals(tmp0_other_with_cast.d2s_1))
|
|
4060
4249
|
return false;
|
|
4061
4250
|
return true;
|
|
4062
4251
|
};
|
|
4063
|
-
TimerTickAction.$metadata$ = classMeta('TimerTickAction',
|
|
4252
|
+
TimerTickAction.$metadata$ = classMeta('TimerTickAction', [NotValidateIfGameFinished], undefined, undefined, undefined, TimerAction.prototype);
|
|
4064
4253
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4065
4254
|
configurable: true,
|
|
4066
4255
|
get: function () {
|
|
4067
|
-
return this.
|
|
4256
|
+
return this.n2r();
|
|
4068
4257
|
}
|
|
4069
4258
|
});
|
|
4070
4259
|
function TimerAction() {
|
|
@@ -4073,7 +4262,7 @@
|
|
|
4073
4262
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4074
4263
|
configurable: true,
|
|
4075
4264
|
get: function () {
|
|
4076
|
-
return this.
|
|
4265
|
+
return this.n2r();
|
|
4077
4266
|
}
|
|
4078
4267
|
});
|
|
4079
4268
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4102,7 +4291,7 @@
|
|
|
4102
4291
|
var tmp_0;
|
|
4103
4292
|
if ($p instanceof Exception) {
|
|
4104
4293
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4105
|
-
$logger.
|
|
4294
|
+
$logger.n2q('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4106
4295
|
tmp_0 = Unit_getInstance();
|
|
4107
4296
|
} else {
|
|
4108
4297
|
throw $p;
|
|
@@ -4130,7 +4319,7 @@
|
|
|
4130
4319
|
}
|
|
4131
4320
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4132
4321
|
return function (action) {
|
|
4133
|
-
$tmp0__anonymous__1nv1x1.
|
|
4322
|
+
$tmp0__anonymous__1nv1x1.p2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
4134
4323
|
return Unit_getInstance();
|
|
4135
4324
|
};
|
|
4136
4325
|
}
|
|
@@ -4149,7 +4338,7 @@
|
|
|
4149
4338
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4150
4339
|
var tmp$ret$0;
|
|
4151
4340
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4152
|
-
tmp$ret$0 = element.
|
|
4341
|
+
tmp$ret$0 = element.o2r(action);
|
|
4153
4342
|
if (tmp$ret$0) {
|
|
4154
4343
|
tmp0_filterTo.a(element);
|
|
4155
4344
|
}
|
|
@@ -4162,10 +4351,10 @@
|
|
|
4162
4351
|
var accumulator = $origDispatch;
|
|
4163
4352
|
if (!filteredMiddlewares.k()) {
|
|
4164
4353
|
var iterator = filteredMiddlewares.m(filteredMiddlewares.i());
|
|
4165
|
-
while (iterator.
|
|
4354
|
+
while (iterator.n()) {
|
|
4166
4355
|
var tmp$ret$3;
|
|
4167
4356
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4168
|
-
var tmp0__anonymous__q1qw7t = iterator.
|
|
4357
|
+
var tmp0__anonymous__q1qw7t = iterator.o();
|
|
4169
4358
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
4170
4359
|
tmp$ret$3 = applyMiddleware$lambda$lambda$lambda$lambda(tmp0__anonymous__q1qw7t, $store, tmp1__anonymous__uwfjfc);
|
|
4171
4360
|
accumulator = tmp$ret$3;
|
|
@@ -4197,9 +4386,9 @@
|
|
|
4197
4386
|
return tmp$ret$0;
|
|
4198
4387
|
}
|
|
4199
4388
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4200
|
-
this.
|
|
4201
|
-
this.
|
|
4202
|
-
this.
|
|
4389
|
+
this.m2s_1 = $jobsProvider;
|
|
4390
|
+
this.n2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4391
|
+
this.o2s_1 = $store;
|
|
4203
4392
|
CoroutineImpl.call(this, resultContinuation);
|
|
4204
4393
|
}
|
|
4205
4394
|
timerMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4218,8 +4407,8 @@
|
|
|
4218
4407
|
var tmp = this.mj_1;
|
|
4219
4408
|
if (tmp === 0) {
|
|
4220
4409
|
this.nj_1 = 1;
|
|
4221
|
-
if (this.
|
|
4222
|
-
this.
|
|
4410
|
+
if (this.m2s_1.b2r(this.n2s_1.v2r())) {
|
|
4411
|
+
this.o2s_1.dispatch(new TimerTickAction(this.n2s_1.v2r(), TimerType_DELAY_getInstance()));
|
|
4223
4412
|
}
|
|
4224
4413
|
return Unit_getInstance();
|
|
4225
4414
|
} else if (tmp === 1) {
|
|
@@ -4231,8 +4420,8 @@
|
|
|
4231
4420
|
while (true);
|
|
4232
4421
|
};
|
|
4233
4422
|
timerMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
4234
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4235
|
-
i.
|
|
4423
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.m2s_1, this.n2s_1, this.o2s_1, completion);
|
|
4424
|
+
i.p2s_1 = $this$launchStore;
|
|
4236
4425
|
return i;
|
|
4237
4426
|
};
|
|
4238
4427
|
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4245,9 +4434,9 @@
|
|
|
4245
4434
|
return l;
|
|
4246
4435
|
}
|
|
4247
4436
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4248
|
-
this.
|
|
4249
|
-
this.
|
|
4250
|
-
this.
|
|
4437
|
+
this.y2s_1 = $jobsProvider;
|
|
4438
|
+
this.z2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4439
|
+
this.a2t_1 = $store;
|
|
4251
4440
|
CoroutineImpl.call(this, resultContinuation);
|
|
4252
4441
|
}
|
|
4253
4442
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -4266,8 +4455,8 @@
|
|
|
4266
4455
|
var tmp = this.mj_1;
|
|
4267
4456
|
if (tmp === 0) {
|
|
4268
4457
|
this.nj_1 = 1;
|
|
4269
|
-
if (this.
|
|
4270
|
-
this.
|
|
4458
|
+
if (this.y2s_1.b2r(this.z2s_1.v2r())) {
|
|
4459
|
+
this.a2t_1.dispatch(new TimerTickAction(this.z2s_1.v2r(), TimerType_INTERVAL_getInstance()));
|
|
4271
4460
|
}
|
|
4272
4461
|
return Unit_getInstance();
|
|
4273
4462
|
} else if (tmp === 1) {
|
|
@@ -4279,8 +4468,8 @@
|
|
|
4279
4468
|
while (true);
|
|
4280
4469
|
};
|
|
4281
4470
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k16 = function ($this$launchStore, completion) {
|
|
4282
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4283
|
-
i.
|
|
4471
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.y2s_1, this.z2s_1, this.a2t_1, completion);
|
|
4472
|
+
i.b2t_1 = $this$launchStore;
|
|
4284
4473
|
return i;
|
|
4285
4474
|
};
|
|
4286
4475
|
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4293,10 +4482,10 @@
|
|
|
4293
4482
|
return l;
|
|
4294
4483
|
}
|
|
4295
4484
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4296
|
-
this.
|
|
4297
|
-
this.
|
|
4298
|
-
this.
|
|
4299
|
-
this.
|
|
4485
|
+
this.k2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4486
|
+
this.l2t_1 = $asyncProvider;
|
|
4487
|
+
this.m2t_1 = $jobsProvider;
|
|
4488
|
+
this.n2t_1 = $store;
|
|
4300
4489
|
CoroutineImpl.call(this, resultContinuation);
|
|
4301
4490
|
}
|
|
4302
4491
|
timerMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -4316,9 +4505,9 @@
|
|
|
4316
4505
|
switch (tmp) {
|
|
4317
4506
|
case 0:
|
|
4318
4507
|
this.nj_1 = 10;
|
|
4319
|
-
if (!this.
|
|
4508
|
+
if (!this.k2t_1.y2r_1.equals(new Long(0, 0)) ? this.k2t_1.z2r_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4320
4509
|
this.mj_1 = 1;
|
|
4321
|
-
suspendResult = delay(this.
|
|
4510
|
+
suspendResult = delay(this.k2t_1.y2r_1, this);
|
|
4322
4511
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4323
4512
|
return suspendResult;
|
|
4324
4513
|
}
|
|
@@ -4333,20 +4522,20 @@
|
|
|
4333
4522
|
this.mj_1 = 2;
|
|
4334
4523
|
continue $sm;
|
|
4335
4524
|
case 2:
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4338
|
-
if (this.
|
|
4525
|
+
this.p2t_1 = this.k2t_1.z2r_1;
|
|
4526
|
+
this.q2t_1 = this.p2t_1.e5_1;
|
|
4527
|
+
if (this.q2t_1 === 0) {
|
|
4339
4528
|
this.mj_1 = 8;
|
|
4340
|
-
suspendResult = delay(this.
|
|
4529
|
+
suspendResult = delay(this.k2t_1.x2r_1, this);
|
|
4341
4530
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4342
4531
|
return suspendResult;
|
|
4343
4532
|
}
|
|
4344
4533
|
continue $sm;
|
|
4345
4534
|
} else {
|
|
4346
|
-
if (this.
|
|
4347
|
-
if (!this.
|
|
4535
|
+
if (this.q2t_1 === 1) {
|
|
4536
|
+
if (!this.k2t_1.y2r_1.equals(new Long(0, 0))) {
|
|
4348
4537
|
this.mj_1 = 3;
|
|
4349
|
-
suspendResult = delay(this.
|
|
4538
|
+
suspendResult = delay(this.k2t_1.y2r_1, this);
|
|
4350
4539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4351
4540
|
return suspendResult;
|
|
4352
4541
|
}
|
|
@@ -4369,15 +4558,15 @@
|
|
|
4369
4558
|
this.mj_1 = 5;
|
|
4370
4559
|
continue $sm;
|
|
4371
4560
|
case 5:
|
|
4372
|
-
if (!get_isActive(this.
|
|
4561
|
+
if (!get_isActive(this.o2t_1)) {
|
|
4373
4562
|
this.mj_1 = 7;
|
|
4374
4563
|
continue $sm;
|
|
4375
4564
|
}
|
|
4376
4565
|
|
|
4377
|
-
this.
|
|
4566
|
+
this.l2t_1.u2q(null, timerMiddleware$o$handle$slambda$slambda_2(this.m2t_1, this.k2t_1, this.n2t_1, null), 1, null);
|
|
4378
4567
|
;
|
|
4379
4568
|
this.mj_1 = 6;
|
|
4380
|
-
suspendResult = delay(this.
|
|
4569
|
+
suspendResult = delay(this.k2t_1.y2r_1, this);
|
|
4381
4570
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4382
4571
|
return suspendResult;
|
|
4383
4572
|
}
|
|
@@ -4390,7 +4579,7 @@
|
|
|
4390
4579
|
this.mj_1 = 9;
|
|
4391
4580
|
continue $sm;
|
|
4392
4581
|
case 8:
|
|
4393
|
-
this.
|
|
4582
|
+
this.l2t_1.u2q(null, timerMiddleware$o$handle$slambda$slambda_0(this.m2t_1, this.k2t_1, this.n2t_1, null), 1, null);
|
|
4394
4583
|
;
|
|
4395
4584
|
this.mj_1 = 9;
|
|
4396
4585
|
continue $sm;
|
|
@@ -4410,8 +4599,8 @@
|
|
|
4410
4599
|
while (true);
|
|
4411
4600
|
};
|
|
4412
4601
|
timerMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
4413
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4414
|
-
i.
|
|
4602
|
+
var i = new timerMiddleware$o$handle$slambda(this.k2t_1, this.l2t_1, this.m2t_1, this.n2t_1, completion);
|
|
4603
|
+
i.o2t_1 = $this$launchWorker;
|
|
4415
4604
|
return i;
|
|
4416
4605
|
};
|
|
4417
4606
|
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -4424,34 +4613,34 @@
|
|
|
4424
4613
|
return l;
|
|
4425
4614
|
}
|
|
4426
4615
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4427
|
-
this.
|
|
4428
|
-
this.
|
|
4616
|
+
this.r2t_1 = $asyncProvider;
|
|
4617
|
+
this.s2t_1 = $jobsProvider;
|
|
4429
4618
|
}
|
|
4430
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4619
|
+
_no_name_provided__qut3iv_0.prototype.o2r = function (action) {
|
|
4431
4620
|
return action instanceof TimerAction;
|
|
4432
4621
|
};
|
|
4433
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4622
|
+
_no_name_provided__qut3iv_0.prototype.t2t = function (store, next, action) {
|
|
4434
4623
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4435
4624
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4436
4625
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4437
4626
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4438
|
-
var job = this.
|
|
4439
|
-
this.
|
|
4627
|
+
var job = this.r2t_1.w2q(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.r2t_1, this.s2t_1, store, null), 1, null);
|
|
4628
|
+
this.s2t_1.z2q(tmp0__anonymous__q1qw7t.v2r(), job);
|
|
4440
4629
|
} else {
|
|
4441
4630
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4442
|
-
this.
|
|
4631
|
+
this.s2t_1.e2r(tmp0__anonymous__q1qw7t.v2r());
|
|
4443
4632
|
} else {
|
|
4444
4633
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4445
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4446
|
-
this.
|
|
4634
|
+
if (tmp0__anonymous__q1qw7t.d2s_1.equals(TimerType_DELAY_getInstance())) {
|
|
4635
|
+
this.s2t_1.c2r(tmp0__anonymous__q1qw7t.v2r());
|
|
4447
4636
|
}
|
|
4448
4637
|
}
|
|
4449
4638
|
}
|
|
4450
4639
|
}
|
|
4451
4640
|
next(tmp0__anonymous__q1qw7t);
|
|
4452
4641
|
};
|
|
4453
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4454
|
-
return this.
|
|
4642
|
+
_no_name_provided__qut3iv_0.prototype.p2r = function (store, next, action) {
|
|
4643
|
+
return this.t2t(store, next, action);
|
|
4455
4644
|
};
|
|
4456
4645
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4457
4646
|
function enumToString(_this__u8e3s4, mapping) {
|
|
@@ -4501,7 +4690,7 @@
|
|
|
4501
4690
|
return tmp;
|
|
4502
4691
|
}
|
|
4503
4692
|
function toDomainEnum(_this__u8e3s4, mapping, exceptionProvider) {
|
|
4504
|
-
var tmp0_elvis_lhs = mapping.
|
|
4693
|
+
var tmp0_elvis_lhs = mapping.s(_this__u8e3s4);
|
|
4505
4694
|
var tmp;
|
|
4506
4695
|
if (tmp0_elvis_lhs == null) {
|
|
4507
4696
|
throw exceptionProvider(_this__u8e3s4);
|
|
@@ -4593,13 +4782,13 @@
|
|
|
4593
4782
|
_this__u8e3s4.m3(index, newValue);
|
|
4594
4783
|
return _this__u8e3s4;
|
|
4595
4784
|
}
|
|
4785
|
+
function sortWithItem(_this__u8e3s4, item) {
|
|
4786
|
+
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.t2(item));
|
|
4787
|
+
}
|
|
4596
4788
|
function nextTo_0(_this__u8e3s4, predicate) {
|
|
4597
4789
|
var nextItemIndex = findItemIndex(_this__u8e3s4, predicate) + 1 | 0;
|
|
4598
4790
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? _this__u8e3s4.j(0) : _this__u8e3s4.j(nextItemIndex);
|
|
4599
4791
|
}
|
|
4600
|
-
function sortWithItem(_this__u8e3s4, item) {
|
|
4601
|
-
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.t2(item));
|
|
4602
|
-
}
|
|
4603
4792
|
function sortWithPosition(_this__u8e3s4, position) {
|
|
4604
4793
|
var tmp$ret$0;
|
|
4605
4794
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
@@ -4635,24 +4824,24 @@
|
|
|
4635
4824
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4636
4825
|
}
|
|
4637
4826
|
function generateTag($this, tag) {
|
|
4638
|
-
return (!($this.
|
|
4827
|
+
return (!($this.a2u_1 == null) ? !(tag == null) : false) ? '' + $this.a2u_1 + ':' + tag : tag;
|
|
4639
4828
|
}
|
|
4640
4829
|
function Category(name, ordinal, isEnabled) {
|
|
4641
4830
|
Enum.call(this, name, ordinal);
|
|
4642
|
-
this.
|
|
4831
|
+
this.d2u_1 = isEnabled;
|
|
4643
4832
|
}
|
|
4644
4833
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4645
4834
|
function Logger$loggerSource$1() {
|
|
4646
|
-
this.
|
|
4835
|
+
this.e2u_1 = new PlatformLogger();
|
|
4647
4836
|
}
|
|
4648
|
-
Logger$loggerSource$1.prototype.
|
|
4649
|
-
this.
|
|
4837
|
+
Logger$loggerSource$1.prototype.f2u = function (tag, msg) {
|
|
4838
|
+
this.e2u_1.f2u(tag, msg);
|
|
4650
4839
|
};
|
|
4651
|
-
Logger$loggerSource$1.prototype.
|
|
4652
|
-
this.
|
|
4840
|
+
Logger$loggerSource$1.prototype.g2u = function (tag, msg, exception) {
|
|
4841
|
+
this.e2u_1.g2u(tag, msg, exception);
|
|
4653
4842
|
};
|
|
4654
|
-
Logger$loggerSource$1.prototype.
|
|
4655
|
-
this.
|
|
4843
|
+
Logger$loggerSource$1.prototype.h2u = function (tag, msg) {
|
|
4844
|
+
this.e2u_1.h2u(tag, msg);
|
|
4656
4845
|
};
|
|
4657
4846
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
4658
4847
|
function Category_NONE_getInstance() {
|
|
@@ -4662,42 +4851,42 @@
|
|
|
4662
4851
|
function Logger() {
|
|
4663
4852
|
Logger_instance = this;
|
|
4664
4853
|
var tmp = this;
|
|
4665
|
-
tmp.
|
|
4666
|
-
this.
|
|
4667
|
-
this.
|
|
4854
|
+
tmp.y2t_1 = new Logger$loggerSource$1();
|
|
4855
|
+
this.z2t_1 = true;
|
|
4856
|
+
this.a2u_1 = null;
|
|
4668
4857
|
}
|
|
4669
|
-
Logger.prototype.
|
|
4670
|
-
this.
|
|
4858
|
+
Logger.prototype.i2u = function (tag, message) {
|
|
4859
|
+
this.j2u(tag, message, Category_NONE_getInstance());
|
|
4671
4860
|
};
|
|
4672
|
-
Logger.prototype.
|
|
4673
|
-
if (this.
|
|
4674
|
-
this.
|
|
4861
|
+
Logger.prototype.k2u = function (tag, message, category) {
|
|
4862
|
+
if (this.z2t_1 ? category.d2u_1 : false) {
|
|
4863
|
+
this.y2t_1.h2u(generateTag(this, tag), message);
|
|
4675
4864
|
}
|
|
4676
4865
|
};
|
|
4677
|
-
Logger.prototype.
|
|
4866
|
+
Logger.prototype.l2u = function (tag, message, category, $mask0, $handler) {
|
|
4678
4867
|
if (!(($mask0 & 1) === 0))
|
|
4679
4868
|
tag = null;
|
|
4680
4869
|
if (!(($mask0 & 4) === 0))
|
|
4681
4870
|
category = Category_NONE_getInstance();
|
|
4682
|
-
return this.
|
|
4871
|
+
return this.k2u(tag, message, category);
|
|
4683
4872
|
};
|
|
4684
|
-
Logger.prototype.
|
|
4685
|
-
if (this.
|
|
4686
|
-
this.
|
|
4873
|
+
Logger.prototype.j2u = function (tag, message, category) {
|
|
4874
|
+
if (this.z2t_1 ? category.d2u_1 : false) {
|
|
4875
|
+
this.y2t_1.f2u(generateTag(this, tag), message);
|
|
4687
4876
|
}
|
|
4688
4877
|
};
|
|
4689
|
-
Logger.prototype.
|
|
4690
|
-
if (this.
|
|
4878
|
+
Logger.prototype.m2u = function (tag, message, exception, category) {
|
|
4879
|
+
if (this.z2t_1 ? category.d2u_1 : false) {
|
|
4691
4880
|
var tmp0_safe_receiver = exception;
|
|
4692
4881
|
if (tmp0_safe_receiver == null)
|
|
4693
4882
|
null;
|
|
4694
4883
|
else {
|
|
4695
4884
|
printStackTrace(tmp0_safe_receiver);
|
|
4696
4885
|
}
|
|
4697
|
-
this.
|
|
4886
|
+
this.y2t_1.g2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4698
4887
|
}
|
|
4699
4888
|
};
|
|
4700
|
-
Logger.prototype.
|
|
4889
|
+
Logger.prototype.n2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
4701
4890
|
if (!(($mask0 & 1) === 0))
|
|
4702
4891
|
tag = null;
|
|
4703
4892
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4706,7 +4895,7 @@
|
|
|
4706
4895
|
exception = null;
|
|
4707
4896
|
if (!(($mask0 & 8) === 0))
|
|
4708
4897
|
category = Category_NONE_getInstance();
|
|
4709
|
-
return this.
|
|
4898
|
+
return this.m2u(tag, message, exception, category);
|
|
4710
4899
|
};
|
|
4711
4900
|
Logger.$metadata$ = objectMeta('Logger');
|
|
4712
4901
|
var Logger_instance;
|
|
@@ -4746,36 +4935,36 @@
|
|
|
4746
4935
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4747
4936
|
}
|
|
4748
4937
|
function CombinedGameLogger(logOutputs) {
|
|
4749
|
-
this.
|
|
4938
|
+
this.o2u_1 = logOutputs;
|
|
4750
4939
|
}
|
|
4751
|
-
CombinedGameLogger.prototype.
|
|
4940
|
+
CombinedGameLogger.prototype.u2t = function (tag, message, payload) {
|
|
4752
4941
|
// Inline function 'kotlin.collections.forEach' call
|
|
4753
|
-
var tmp0_forEach = this.
|
|
4942
|
+
var tmp0_forEach = this.o2u_1;
|
|
4754
4943
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4755
4944
|
while (tmp0_iterator.g()) {
|
|
4756
4945
|
var element = tmp0_iterator.h();
|
|
4757
4946
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4758
|
-
element.
|
|
4947
|
+
element.u2t(tag, message, payload);
|
|
4759
4948
|
}
|
|
4760
4949
|
};
|
|
4761
|
-
CombinedGameLogger.prototype.
|
|
4950
|
+
CombinedGameLogger.prototype.w2t = function (tag, message, exception, payload) {
|
|
4762
4951
|
// Inline function 'kotlin.collections.forEach' call
|
|
4763
|
-
var tmp0_forEach = this.
|
|
4952
|
+
var tmp0_forEach = this.o2u_1;
|
|
4764
4953
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4765
4954
|
while (tmp0_iterator.g()) {
|
|
4766
4955
|
var element = tmp0_iterator.h();
|
|
4767
4956
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4768
|
-
element.
|
|
4957
|
+
element.w2t(tag, message, exception, payload);
|
|
4769
4958
|
}
|
|
4770
4959
|
};
|
|
4771
|
-
CombinedGameLogger.prototype.
|
|
4960
|
+
CombinedGameLogger.prototype.x2t = function (tag, message, payload) {
|
|
4772
4961
|
// Inline function 'kotlin.collections.forEach' call
|
|
4773
|
-
var tmp0_forEach = this.
|
|
4962
|
+
var tmp0_forEach = this.o2u_1;
|
|
4774
4963
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4775
4964
|
while (tmp0_iterator.g()) {
|
|
4776
4965
|
var element = tmp0_iterator.h();
|
|
4777
4966
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4778
|
-
element.
|
|
4967
|
+
element.x2t(tag, message, payload);
|
|
4779
4968
|
}
|
|
4780
4969
|
};
|
|
4781
4970
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -4785,16 +4974,16 @@
|
|
|
4785
4974
|
function PlatformGameLogger() {
|
|
4786
4975
|
PlatformGameLogger_instance = this;
|
|
4787
4976
|
}
|
|
4788
|
-
PlatformGameLogger.prototype.
|
|
4789
|
-
Logger_getInstance().
|
|
4977
|
+
PlatformGameLogger.prototype.u2t = function (tag, message, payload) {
|
|
4978
|
+
Logger_getInstance().i2u(tag, message);
|
|
4790
4979
|
};
|
|
4791
|
-
PlatformGameLogger.prototype.
|
|
4980
|
+
PlatformGameLogger.prototype.w2t = function (tag, message, exception, payload) {
|
|
4792
4981
|
var tmp = Logger_getInstance();
|
|
4793
|
-
tmp.
|
|
4982
|
+
tmp.n2u(tag, message, exception, null, 8, null);
|
|
4794
4983
|
};
|
|
4795
|
-
PlatformGameLogger.prototype.
|
|
4984
|
+
PlatformGameLogger.prototype.x2t = function (tag, message, payload) {
|
|
4796
4985
|
var tmp = Logger_getInstance();
|
|
4797
|
-
tmp.
|
|
4986
|
+
tmp.l2u(tag, message, null, 4, null);
|
|
4798
4987
|
};
|
|
4799
4988
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
4800
4989
|
var PlatformGameLogger_instance;
|
|
@@ -4805,17 +4994,17 @@
|
|
|
4805
4994
|
}
|
|
4806
4995
|
function PlatformLogger() {
|
|
4807
4996
|
}
|
|
4808
|
-
PlatformLogger.prototype.
|
|
4997
|
+
PlatformLogger.prototype.f2u = function (tag, msg) {
|
|
4809
4998
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4810
4999
|
};
|
|
4811
|
-
PlatformLogger.prototype.
|
|
5000
|
+
PlatformLogger.prototype.g2u = function (tag, msg, exception) {
|
|
4812
5001
|
if (!(exception == null)) {
|
|
4813
5002
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4814
5003
|
} else {
|
|
4815
5004
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4816
5005
|
}
|
|
4817
5006
|
};
|
|
4818
|
-
PlatformLogger.prototype.
|
|
5007
|
+
PlatformLogger.prototype.h2u = function (tag, msg) {
|
|
4819
5008
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4820
5009
|
};
|
|
4821
5010
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
@@ -4828,29 +5017,30 @@
|
|
|
4828
5017
|
$serializer_4.prototype.l1t = typeParametersSerializers;
|
|
4829
5018
|
$serializer_5.prototype.l1t = typeParametersSerializers;
|
|
4830
5019
|
$serializer_6.prototype.l1t = typeParametersSerializers;
|
|
5020
|
+
$serializer_7.prototype.l1t = typeParametersSerializers;
|
|
4831
5021
|
_no_name_provided__qut3iv.prototype.r4 = get;
|
|
4832
5022
|
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4833
5023
|
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4834
5024
|
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4835
|
-
AsyncProviderImpl.prototype.
|
|
4836
|
-
AsyncProviderImpl.prototype.
|
|
4837
|
-
middleware$1.prototype.
|
|
4838
|
-
combineReducers$1.prototype.
|
|
4839
|
-
StoreLifecycleAction.prototype.
|
|
4840
|
-
INIT.prototype.
|
|
4841
|
-
REPLACE.prototype.
|
|
4842
|
-
TimerAction.prototype.
|
|
4843
|
-
StopTimerAction.prototype.
|
|
5025
|
+
AsyncProviderImpl.prototype.u2q = launchStore$default;
|
|
5026
|
+
AsyncProviderImpl.prototype.w2q = launchWorker$default;
|
|
5027
|
+
middleware$1.prototype.o2r = canHandle;
|
|
5028
|
+
combineReducers$1.prototype.o2r = canHandle_0;
|
|
5029
|
+
StoreLifecycleAction.prototype.n2r = get_actionTag;
|
|
5030
|
+
INIT.prototype.n2r = get_actionTag;
|
|
5031
|
+
REPLACE.prototype.n2r = get_actionTag;
|
|
5032
|
+
TimerAction.prototype.n2r = get_actionTag;
|
|
5033
|
+
StopTimerAction.prototype.n2r = get_actionTag;
|
|
4844
5034
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4845
5035
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4846
|
-
StartTimerAction.prototype.
|
|
4847
|
-
TimerTickAction.prototype.
|
|
4848
|
-
CombinedGameLogger.prototype.
|
|
4849
|
-
CombinedGameLogger.prototype.
|
|
4850
|
-
CombinedGameLogger.prototype.
|
|
4851
|
-
PlatformGameLogger.prototype.
|
|
4852
|
-
PlatformGameLogger.prototype.
|
|
4853
|
-
PlatformGameLogger.prototype.
|
|
5036
|
+
StartTimerAction.prototype.n2r = get_actionTag;
|
|
5037
|
+
TimerTickAction.prototype.n2r = get_actionTag;
|
|
5038
|
+
CombinedGameLogger.prototype.v2t = d$default;
|
|
5039
|
+
CombinedGameLogger.prototype.n2q = e$default;
|
|
5040
|
+
CombinedGameLogger.prototype.a2r = w$default;
|
|
5041
|
+
PlatformGameLogger.prototype.v2t = d$default;
|
|
5042
|
+
PlatformGameLogger.prototype.n2q = e$default;
|
|
5043
|
+
PlatformGameLogger.prototype.a2r = w$default;
|
|
4854
5044
|
//endregion
|
|
4855
5045
|
//region block: exports
|
|
4856
5046
|
function $jsExportAll$(_) {
|
|
@@ -4889,7 +5079,7 @@
|
|
|
4889
5079
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
4890
5080
|
var $com$logic$data$models$player = $com$logic$data$models.player || ($com$logic$data$models.player = {});
|
|
4891
5081
|
$com$logic$data$models$player.PlayerConnectionState = PlayerConnectionState;
|
|
4892
|
-
$com$logic$data$models$player.PlayerConnectionState.values =
|
|
5082
|
+
$com$logic$data$models$player.PlayerConnectionState.values = values_0;
|
|
4893
5083
|
$com$logic$data$models$player.PlayerConnectionState.valueOf = valueOf;
|
|
4894
5084
|
Object.defineProperty($com$logic$data$models$player.PlayerConnectionState, 'LIVE', {
|
|
4895
5085
|
configurable: true,
|
|
@@ -4917,7 +5107,7 @@
|
|
|
4917
5107
|
});
|
|
4918
5108
|
Object.defineProperty($com$logic$data$models$player.PlayerConnectionState, 'Companion', {
|
|
4919
5109
|
configurable: true,
|
|
4920
|
-
get:
|
|
5110
|
+
get: Companion_getInstance_8
|
|
4921
5111
|
});
|
|
4922
5112
|
var $com = _.com || (_.com = {});
|
|
4923
5113
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
@@ -4927,7 +5117,7 @@
|
|
|
4927
5117
|
$com$logic$data$models$rules.Rules = Rules;
|
|
4928
5118
|
Object.defineProperty($com$logic$data$models$rules.Rules, 'Companion', {
|
|
4929
5119
|
configurable: true,
|
|
4930
|
-
get:
|
|
5120
|
+
get: Companion_getInstance_11
|
|
4931
5121
|
});
|
|
4932
5122
|
var $com = _.com || (_.com = {});
|
|
4933
5123
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
@@ -4935,7 +5125,7 @@
|
|
|
4935
5125
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
4936
5126
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
4937
5127
|
$com$logic$data$models$rules.RulesSetType = RulesSetType;
|
|
4938
|
-
$com$logic$data$models$rules.RulesSetType.values =
|
|
5128
|
+
$com$logic$data$models$rules.RulesSetType.values = values_2;
|
|
4939
5129
|
$com$logic$data$models$rules.RulesSetType.valueOf = valueOf_0;
|
|
4940
5130
|
Object.defineProperty($com$logic$data$models$rules.RulesSetType, 'belot', {
|
|
4941
5131
|
configurable: true,
|
|
@@ -5014,7 +5204,7 @@
|
|
|
5014
5204
|
_.$_$.v = GameCardWIthPlayerId;
|
|
5015
5205
|
_.$_$.w = GameCard;
|
|
5016
5206
|
_.$_$.x = ProcessingCard;
|
|
5017
|
-
_.$_$.y =
|
|
5207
|
+
_.$_$.y = values_3;
|
|
5018
5208
|
_.$_$.z = filterByCardName;
|
|
5019
5209
|
_.$_$.a1 = filterBySuit;
|
|
5020
5210
|
_.$_$.b1 = getGrowth;
|
|
@@ -5089,15 +5279,15 @@
|
|
|
5089
5279
|
_.$_$.s3 = e$default;
|
|
5090
5280
|
_.$_$.t3 = w$default;
|
|
5091
5281
|
_.$_$.u3 = StartTimerAction_init_$Create$;
|
|
5092
|
-
_.$_$.v3 =
|
|
5093
|
-
_.$_$.w3 =
|
|
5094
|
-
_.$_$.x3 = $
|
|
5095
|
-
_.$_$.y3 = $
|
|
5096
|
-
_.$_$.z3 = $
|
|
5282
|
+
_.$_$.v3 = Companion_getInstance_8;
|
|
5283
|
+
_.$_$.w3 = Companion_getInstance_10;
|
|
5284
|
+
_.$_$.x3 = $serializer_getInstance_5;
|
|
5285
|
+
_.$_$.y3 = $serializer_getInstance_6;
|
|
5286
|
+
_.$_$.z3 = $serializer_getInstance_7;
|
|
5097
5287
|
_.$_$.a4 = CardIndexComparator_getInstance;
|
|
5098
5288
|
_.$_$.b4 = CardNumberComparator_getInstance;
|
|
5099
|
-
_.$_$.c4 =
|
|
5100
|
-
_.$_$.d4 =
|
|
5289
|
+
_.$_$.c4 = Companion_getInstance_15;
|
|
5290
|
+
_.$_$.d4 = Companion_getInstance_17;
|
|
5101
5291
|
_.$_$.e4 = Companion_getInstance;
|
|
5102
5292
|
_.$_$.f4 = ProcessingReason_getInstance;
|
|
5103
5293
|
_.$_$.g4 = RestartGameReason_getInstance;
|