game_client_logic_deb 1.6.37 → 1.6.38
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/Logic_Debertz-core.js +1366 -1098
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7585 -7585
- package/Logic_Debertz-game_client.d.ts +110 -0
- package/Logic_Debertz-game_client.js +2532 -2532
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -53,9 +53,10 @@
|
|
|
53
53
|
var lazy = kotlin_kotlin.$_$.ud;
|
|
54
54
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
55
55
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
56
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
56
57
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
58
|
+
var THROW_IAE = kotlin_kotlin.$_$.ad;
|
|
57
59
|
var Enum = kotlin_kotlin.$_$.oc;
|
|
58
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
59
60
|
var interfaceMeta = kotlin_kotlin.$_$.r9;
|
|
60
61
|
var Exception = kotlin_kotlin.$_$.qc;
|
|
61
62
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.h1;
|
|
@@ -77,7 +78,6 @@
|
|
|
77
78
|
var numberToInt = kotlin_kotlin.$_$.ga;
|
|
78
79
|
var Duration = kotlin_kotlin.$_$.fc;
|
|
79
80
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.a2;
|
|
80
|
-
var THROW_IAE = kotlin_kotlin.$_$.ad;
|
|
81
81
|
var toString_0 = kotlin_kotlin.$_$.pa;
|
|
82
82
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
83
83
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.wd;
|
|
@@ -141,29 +141,29 @@
|
|
|
141
141
|
setMetadataFor(TerminationGameReason, 'TerminationGameReason', classMeta, VOID, VOID, VOID, VOID, {0: Companion_getInstance_2});
|
|
142
142
|
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
143
143
|
setMetadataFor($serializer_0, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
144
|
-
setMetadataFor(
|
|
145
|
-
setMetadataFor(
|
|
146
|
-
setMetadataFor(
|
|
147
|
-
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
144
|
+
setMetadataFor(FinishPlayerReason, 'FinishPlayerReason', interfaceMeta);
|
|
145
|
+
setMetadataFor(PlayerLostConnectionReason, 'PlayerLostConnectionReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_0});
|
|
146
|
+
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
148
147
|
setMetadataFor($serializer_1, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
149
|
-
setMetadataFor(
|
|
150
|
-
setMetadataFor(
|
|
148
|
+
setMetadataFor(PlayerTimeoutReason, 'PlayerTimeoutReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_1});
|
|
149
|
+
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
151
150
|
setMetadataFor($serializer_2, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
152
|
-
setMetadataFor(FinishPlayerReason, 'FinishPlayerReason', interfaceMeta);
|
|
153
151
|
setMetadataFor(PlayerExitReason, 'PlayerExitReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_2});
|
|
152
|
+
setMetadataFor(Companion_5, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
153
|
+
setMetadataFor(Reason, 'Reason', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_6});
|
|
154
154
|
setMetadataFor(Companion_6, 'Companion', objectMeta);
|
|
155
155
|
setMetadataFor($serializer_3, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
156
|
-
setMetadataFor(
|
|
156
|
+
setMetadataFor(GameFinishedReason, 'GameFinishedReason', classMeta, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
157
157
|
setMetadataFor(Companion_7, 'Companion', objectMeta);
|
|
158
158
|
setMetadataFor($serializer_4, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
159
|
-
setMetadataFor(
|
|
160
|
-
setMetadataFor(ProcessingReason, 'ProcessingReason', objectMeta, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: ProcessingReason_getInstance});
|
|
159
|
+
setMetadataFor(GameErrorReason, 'GameErrorReason', classMeta, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
161
160
|
setMetadataFor(WaitingForConnectionReason, 'WaitingForConnectionReason', objectMeta, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReason_getInstance});
|
|
161
|
+
setMetadataFor(ProcessingReason, 'ProcessingReason', objectMeta, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: ProcessingReason_getInstance});
|
|
162
162
|
setMetadataFor(MechanicException, 'MechanicException', classMeta, Exception);
|
|
163
163
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta);
|
|
164
164
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, VOID, [PlayerIdContract]);
|
|
165
165
|
function get_amountOfCards() {
|
|
166
|
-
return this.
|
|
166
|
+
return this.r2h().n();
|
|
167
167
|
}
|
|
168
168
|
setMetadataFor(Player, 'Player', interfaceMeta, VOID, [PlayerIdContract]);
|
|
169
169
|
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, VOID, [PlayerIdContract]);
|
|
@@ -212,16 +212,16 @@
|
|
|
212
212
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
213
213
|
setMetadataFor(AsyncProviderImpl$launchWorkerWithLock$slambda, 'AsyncProviderImpl$launchWorkerWithLock$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
|
|
214
214
|
function launchWorker$default(context, block, $super) {
|
|
215
|
-
context = context === VOID ? this.
|
|
216
|
-
return $super === VOID ? this.
|
|
215
|
+
context = context === VOID ? this.s2n() : context;
|
|
216
|
+
return $super === VOID ? this.v2n(context, block) : $super.v2n.call(this, context, block);
|
|
217
217
|
}
|
|
218
218
|
function launchWorkerWithLock$default(context, block, $super) {
|
|
219
|
-
context = context === VOID ? this.
|
|
220
|
-
return $super === VOID ? this.
|
|
219
|
+
context = context === VOID ? this.s2n() : context;
|
|
220
|
+
return $super === VOID ? this.x2n(context, block) : $super.x2n.call(this, context, block);
|
|
221
221
|
}
|
|
222
222
|
function launchStore$default(context, block, $super) {
|
|
223
|
-
context = context === VOID ? this.
|
|
224
|
-
return $super === VOID ? this.
|
|
223
|
+
context = context === VOID ? this.s2n() : context;
|
|
224
|
+
return $super === VOID ? this.t2n(context, block) : $super.t2n.call(this, context, block);
|
|
225
225
|
}
|
|
226
226
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
227
227
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, VOID, [AsyncProvider]);
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
return false;
|
|
261
261
|
}
|
|
262
262
|
function get_isAutoStartTimer() {
|
|
263
|
-
return !this.
|
|
263
|
+
return !this.c2q() ? !this.d2q() : false;
|
|
264
264
|
}
|
|
265
265
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
266
266
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -286,19 +286,19 @@
|
|
|
286
286
|
function d(tag, message, payload, $super) {
|
|
287
287
|
tag = tag === VOID ? null : tag;
|
|
288
288
|
payload = payload === VOID ? null : payload;
|
|
289
|
-
return this.
|
|
289
|
+
return this.u2s(tag, message, payload);
|
|
290
290
|
}
|
|
291
291
|
function e(tag, message, exception, payload, $super) {
|
|
292
292
|
tag = tag === VOID ? null : tag;
|
|
293
293
|
message = message === VOID ? null : message;
|
|
294
294
|
exception = exception === VOID ? null : exception;
|
|
295
295
|
payload = payload === VOID ? null : payload;
|
|
296
|
-
return this.
|
|
296
|
+
return this.v2s(tag, message, exception, payload);
|
|
297
297
|
}
|
|
298
298
|
function w(tag, message, payload, $super) {
|
|
299
299
|
tag = tag === VOID ? null : tag;
|
|
300
300
|
payload = payload === VOID ? null : payload;
|
|
301
|
-
return this.
|
|
301
|
+
return this.w2s(tag, message, payload);
|
|
302
302
|
}
|
|
303
303
|
setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
|
|
304
304
|
setMetadataFor(GameLogger, 'GameLogger', interfaceMeta, VOID, [LoggerOutput]);
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
setMetadataFor(LogType, 'LogType', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_22});
|
|
311
311
|
function observe(types, $super) {
|
|
312
312
|
types = types === VOID ? values_4() : types;
|
|
313
|
-
return this.
|
|
313
|
+
return this.d2t(types);
|
|
314
314
|
}
|
|
315
315
|
setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
316
316
|
setMetadataFor(Companion_22, 'Companion', objectMeta);
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
320
320
|
//endregion
|
|
321
321
|
function GameEngineConfig() {
|
|
322
|
-
this.version = '1.6.
|
|
322
|
+
this.version = '1.6.38';
|
|
323
323
|
}
|
|
324
324
|
protoOf(GameEngineConfig).z2f = function () {
|
|
325
325
|
return this.version;
|
|
@@ -520,11 +520,11 @@
|
|
|
520
520
|
// Inline function 'kotlin.js.asDynamic' call
|
|
521
521
|
var tmp_0 = [getKClass(GameErrorReason), getKClass(GameFinishedReason), getKClass(PlayerExitReason), getKClass(PlayerLostConnectionReason), getKClass(PlayerTimeoutReason), getKClass(ProcessingReason), getKClass(WaitingForConnectionReason)];
|
|
522
522
|
// Inline function 'kotlin.arrayOf' call
|
|
523
|
-
var tmp_1 = $
|
|
524
|
-
var tmp_2 = $
|
|
523
|
+
var tmp_1 = $serializer_getInstance_4();
|
|
524
|
+
var tmp_2 = $serializer_getInstance_3();
|
|
525
525
|
var tmp_3 = $serializer_getInstance_2();
|
|
526
|
-
var tmp_4 = $
|
|
527
|
-
var tmp_5 = $
|
|
526
|
+
var tmp_4 = $serializer_getInstance_0();
|
|
527
|
+
var tmp_5 = $serializer_getInstance_1();
|
|
528
528
|
var tmp_6 = ProcessingReason_getInstance();
|
|
529
529
|
// Inline function 'kotlin.arrayOf' call
|
|
530
530
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -571,14 +571,18 @@
|
|
|
571
571
|
}
|
|
572
572
|
function Companion_2() {
|
|
573
573
|
}
|
|
574
|
+
protoOf(Companion_2).o1z = function () {
|
|
575
|
+
return $serializer_getInstance_0();
|
|
576
|
+
};
|
|
574
577
|
var Companion_instance_2;
|
|
575
578
|
function Companion_getInstance_3() {
|
|
576
579
|
return Companion_instance_2;
|
|
577
580
|
}
|
|
578
581
|
function $serializer_0() {
|
|
579
582
|
$serializer_instance_0 = this;
|
|
580
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
581
|
-
tmp0_serialDesc.k1n('
|
|
583
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
584
|
+
tmp0_serialDesc.k1n('playerId', false);
|
|
585
|
+
tmp0_serialDesc.k1n('tag', false);
|
|
582
586
|
this.i2g_1 = tmp0_serialDesc;
|
|
583
587
|
}
|
|
584
588
|
protoOf($serializer_0).p1c = function () {
|
|
@@ -588,7 +592,7 @@
|
|
|
588
592
|
// Inline function 'kotlin.arrayOf' call
|
|
589
593
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
590
594
|
// Inline function 'kotlin.js.asDynamic' call
|
|
591
|
-
return [StringSerializer_getInstance()];
|
|
595
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
592
596
|
};
|
|
593
597
|
protoOf($serializer_0).r1c = function (decoder) {
|
|
594
598
|
var tmp0_desc = this.i2g_1;
|
|
@@ -596,36 +600,44 @@
|
|
|
596
600
|
var tmp2_index = 0;
|
|
597
601
|
var tmp3_bitMask0 = 0;
|
|
598
602
|
var tmp4_local0 = null;
|
|
599
|
-
var
|
|
600
|
-
|
|
601
|
-
|
|
603
|
+
var tmp5_local1 = null;
|
|
604
|
+
var tmp6_input = decoder.x1f(tmp0_desc);
|
|
605
|
+
if (tmp6_input.n1g()) {
|
|
606
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
602
607
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
608
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
609
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
603
610
|
} else
|
|
604
611
|
while (tmp1_flag) {
|
|
605
|
-
tmp2_index =
|
|
612
|
+
tmp2_index = tmp6_input.o1g(tmp0_desc);
|
|
606
613
|
switch (tmp2_index) {
|
|
607
614
|
case -1:
|
|
608
615
|
tmp1_flag = false;
|
|
609
616
|
break;
|
|
610
617
|
case 0:
|
|
611
|
-
tmp4_local0 =
|
|
618
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
612
619
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
613
620
|
break;
|
|
621
|
+
case 1:
|
|
622
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
623
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
624
|
+
break;
|
|
614
625
|
default:
|
|
615
626
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
616
627
|
}
|
|
617
628
|
}
|
|
618
|
-
|
|
619
|
-
return
|
|
629
|
+
tmp6_input.y1f(tmp0_desc);
|
|
630
|
+
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
620
631
|
};
|
|
621
632
|
protoOf($serializer_0).j2g = function (encoder, value) {
|
|
622
633
|
var tmp0_desc = this.i2g_1;
|
|
623
634
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
624
635
|
tmp1_output.m1h(tmp0_desc, 0, value.k2g_1);
|
|
636
|
+
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
625
637
|
tmp1_output.y1f(tmp0_desc);
|
|
626
638
|
};
|
|
627
639
|
protoOf($serializer_0).q1c = function (encoder, value) {
|
|
628
|
-
return this.j2g(encoder, value instanceof
|
|
640
|
+
return this.j2g(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
629
641
|
};
|
|
630
642
|
var $serializer_instance_0;
|
|
631
643
|
function $serializer_getInstance_0() {
|
|
@@ -633,150 +645,135 @@
|
|
|
633
645
|
new $serializer_0();
|
|
634
646
|
return $serializer_instance_0;
|
|
635
647
|
}
|
|
636
|
-
function
|
|
637
|
-
if (!(
|
|
638
|
-
throwMissingFieldException(seen1,
|
|
648
|
+
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
649
|
+
if (!(3 === (3 & seen1))) {
|
|
650
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().i2g_1);
|
|
639
651
|
}
|
|
640
652
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
641
|
-
$this.k2g_1 =
|
|
653
|
+
$this.k2g_1 = playerId;
|
|
654
|
+
$this.tag = tag;
|
|
642
655
|
return $this;
|
|
643
656
|
}
|
|
644
|
-
function
|
|
645
|
-
return
|
|
657
|
+
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
658
|
+
return PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, objectCreate(protoOf(PlayerLostConnectionReason)));
|
|
646
659
|
}
|
|
647
|
-
function
|
|
660
|
+
function PlayerLostConnectionReason(playerId, tag) {
|
|
648
661
|
TerminationGameReason.call(this);
|
|
649
|
-
this.k2g_1 =
|
|
662
|
+
this.k2g_1 = playerId;
|
|
663
|
+
this.tag = tag;
|
|
650
664
|
}
|
|
651
|
-
protoOf(
|
|
652
|
-
return
|
|
665
|
+
protoOf(PlayerLostConnectionReason).l2g = function () {
|
|
666
|
+
return this.k2g_1;
|
|
653
667
|
};
|
|
654
|
-
protoOf(
|
|
655
|
-
return
|
|
668
|
+
protoOf(PlayerLostConnectionReason).m2g = function () {
|
|
669
|
+
return this.tag;
|
|
656
670
|
};
|
|
657
|
-
protoOf(
|
|
671
|
+
protoOf(PlayerLostConnectionReason).n2g = function () {
|
|
672
|
+
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
673
|
+
};
|
|
674
|
+
protoOf(PlayerLostConnectionReason).oc = function () {
|
|
675
|
+
return this.k2g_1;
|
|
676
|
+
};
|
|
677
|
+
protoOf(PlayerLostConnectionReason).pc = function () {
|
|
678
|
+
return this.tag;
|
|
679
|
+
};
|
|
680
|
+
protoOf(PlayerLostConnectionReason).o2g = function (playerId, tag) {
|
|
681
|
+
return new PlayerLostConnectionReason(playerId, tag);
|
|
682
|
+
};
|
|
683
|
+
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
684
|
+
playerId = playerId === VOID ? this.k2g_1 : playerId;
|
|
685
|
+
tag = tag === VOID ? this.tag : tag;
|
|
686
|
+
return this.o2g(playerId, tag);
|
|
687
|
+
};
|
|
688
|
+
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
689
|
+
return 'PlayerLostConnectionReason(playerId=' + this.k2g_1 + ', tag=' + this.tag + ')';
|
|
690
|
+
};
|
|
691
|
+
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
692
|
+
var result = getStringHashCode(this.k2g_1);
|
|
693
|
+
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
694
|
+
return result;
|
|
695
|
+
};
|
|
696
|
+
protoOf(PlayerLostConnectionReason).equals = function (other) {
|
|
658
697
|
if (this === other)
|
|
659
698
|
return true;
|
|
660
|
-
if (!(other instanceof
|
|
699
|
+
if (!(other instanceof PlayerLostConnectionReason))
|
|
661
700
|
return false;
|
|
662
|
-
var tmp0_other_with_cast = other instanceof
|
|
701
|
+
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
663
702
|
if (!(this.k2g_1 === tmp0_other_with_cast.k2g_1))
|
|
664
703
|
return false;
|
|
704
|
+
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
705
|
+
return false;
|
|
665
706
|
return true;
|
|
666
707
|
};
|
|
667
|
-
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
668
|
-
return $this.l2g_1.o2();
|
|
669
|
-
}
|
|
670
|
-
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
671
|
-
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
672
|
-
}
|
|
673
|
-
var Reason_DEPLOY_instance;
|
|
674
|
-
var Reason_PLAYER_DELETED_instance;
|
|
675
|
-
var Reason_NO_ACTIVE_PLAYERS_instance;
|
|
676
|
-
var Reason_GAME_NOT_EXISTS_instance;
|
|
677
708
|
function Companion_3() {
|
|
678
|
-
Companion_instance_3 = this;
|
|
679
|
-
var tmp = this;
|
|
680
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
681
|
-
tmp.l2g_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
682
709
|
}
|
|
683
710
|
protoOf(Companion_3).o1z = function () {
|
|
684
|
-
return
|
|
685
|
-
};
|
|
686
|
-
protoOf(Companion_3).k1o = function (typeParamsSerializers) {
|
|
687
|
-
return this.o1z();
|
|
711
|
+
return $serializer_getInstance_1();
|
|
688
712
|
};
|
|
689
713
|
var Companion_instance_3;
|
|
690
714
|
function Companion_getInstance_4() {
|
|
691
|
-
Reason_initEntries();
|
|
692
|
-
if (Companion_instance_3 == null)
|
|
693
|
-
new Companion_3();
|
|
694
715
|
return Companion_instance_3;
|
|
695
716
|
}
|
|
696
|
-
function values() {
|
|
697
|
-
return [Reason_DEPLOY_getInstance(), Reason_PLAYER_DELETED_getInstance(), Reason_NO_ACTIVE_PLAYERS_getInstance(), Reason_GAME_NOT_EXISTS_getInstance()];
|
|
698
|
-
}
|
|
699
|
-
var Reason_entriesInitialized;
|
|
700
|
-
function Reason_initEntries() {
|
|
701
|
-
if (Reason_entriesInitialized)
|
|
702
|
-
return Unit_instance;
|
|
703
|
-
Reason_entriesInitialized = true;
|
|
704
|
-
Reason_DEPLOY_instance = new Reason('DEPLOY', 0);
|
|
705
|
-
Reason_PLAYER_DELETED_instance = new Reason('PLAYER_DELETED', 1);
|
|
706
|
-
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 2);
|
|
707
|
-
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 3);
|
|
708
|
-
Companion_getInstance_4();
|
|
709
|
-
}
|
|
710
|
-
function Reason(name, ordinal) {
|
|
711
|
-
Enum.call(this, name, ordinal);
|
|
712
|
-
}
|
|
713
|
-
function Companion_4() {
|
|
714
|
-
Companion_instance_4 = this;
|
|
715
|
-
var tmp = this;
|
|
716
|
-
// Inline function 'kotlin.arrayOf' call
|
|
717
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
718
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
719
|
-
tmp.m2g_1 = [Companion_getInstance_4().o1z()];
|
|
720
|
-
}
|
|
721
|
-
var Companion_instance_4;
|
|
722
|
-
function Companion_getInstance_5() {
|
|
723
|
-
if (Companion_instance_4 == null)
|
|
724
|
-
new Companion_4();
|
|
725
|
-
return Companion_instance_4;
|
|
726
|
-
}
|
|
727
717
|
function $serializer_1() {
|
|
728
718
|
$serializer_instance_1 = this;
|
|
729
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
730
|
-
tmp0_serialDesc.k1n('
|
|
731
|
-
|
|
719
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
720
|
+
tmp0_serialDesc.k1n('playerId', false);
|
|
721
|
+
tmp0_serialDesc.k1n('tag', false);
|
|
722
|
+
this.p2g_1 = tmp0_serialDesc;
|
|
732
723
|
}
|
|
733
724
|
protoOf($serializer_1).p1c = function () {
|
|
734
|
-
return this.
|
|
725
|
+
return this.p2g_1;
|
|
735
726
|
};
|
|
736
727
|
protoOf($serializer_1).z1n = function () {
|
|
737
728
|
// Inline function 'kotlin.arrayOf' call
|
|
738
729
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
739
730
|
// Inline function 'kotlin.js.asDynamic' call
|
|
740
|
-
return [
|
|
731
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
741
732
|
};
|
|
742
733
|
protoOf($serializer_1).r1c = function (decoder) {
|
|
743
|
-
var tmp0_desc = this.
|
|
734
|
+
var tmp0_desc = this.p2g_1;
|
|
744
735
|
var tmp1_flag = true;
|
|
745
736
|
var tmp2_index = 0;
|
|
746
737
|
var tmp3_bitMask0 = 0;
|
|
747
738
|
var tmp4_local0 = null;
|
|
748
|
-
var
|
|
749
|
-
var
|
|
750
|
-
if (
|
|
751
|
-
tmp4_local0 =
|
|
739
|
+
var tmp5_local1 = null;
|
|
740
|
+
var tmp6_input = decoder.x1f(tmp0_desc);
|
|
741
|
+
if (tmp6_input.n1g()) {
|
|
742
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
752
743
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
744
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
745
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
753
746
|
} else
|
|
754
747
|
while (tmp1_flag) {
|
|
755
|
-
tmp2_index =
|
|
748
|
+
tmp2_index = tmp6_input.o1g(tmp0_desc);
|
|
756
749
|
switch (tmp2_index) {
|
|
757
750
|
case -1:
|
|
758
751
|
tmp1_flag = false;
|
|
759
752
|
break;
|
|
760
753
|
case 0:
|
|
761
|
-
tmp4_local0 =
|
|
754
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
762
755
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
763
756
|
break;
|
|
757
|
+
case 1:
|
|
758
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
759
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
760
|
+
break;
|
|
764
761
|
default:
|
|
765
762
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
766
763
|
}
|
|
767
764
|
}
|
|
768
|
-
|
|
769
|
-
return
|
|
765
|
+
tmp6_input.y1f(tmp0_desc);
|
|
766
|
+
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
770
767
|
};
|
|
771
|
-
protoOf($serializer_1).
|
|
772
|
-
var tmp0_desc = this.
|
|
768
|
+
protoOf($serializer_1).q2g = function (encoder, value) {
|
|
769
|
+
var tmp0_desc = this.p2g_1;
|
|
773
770
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
774
|
-
|
|
775
|
-
tmp1_output.
|
|
771
|
+
tmp1_output.m1h(tmp0_desc, 0, value.r2g_1);
|
|
772
|
+
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
776
773
|
tmp1_output.y1f(tmp0_desc);
|
|
777
774
|
};
|
|
778
775
|
protoOf($serializer_1).q1c = function (encoder, value) {
|
|
779
|
-
return this.
|
|
776
|
+
return this.q2g(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
780
777
|
};
|
|
781
778
|
var $serializer_instance_1;
|
|
782
779
|
function $serializer_getInstance_1() {
|
|
@@ -784,68 +781,83 @@
|
|
|
784
781
|
new $serializer_1();
|
|
785
782
|
return $serializer_instance_1;
|
|
786
783
|
}
|
|
787
|
-
function
|
|
788
|
-
if (!(
|
|
789
|
-
throwMissingFieldException(seen1,
|
|
784
|
+
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
785
|
+
if (!(3 === (3 & seen1))) {
|
|
786
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().p2g_1);
|
|
790
787
|
}
|
|
791
788
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
792
|
-
$this.
|
|
789
|
+
$this.r2g_1 = playerId;
|
|
790
|
+
$this.tag = tag;
|
|
793
791
|
return $this;
|
|
794
792
|
}
|
|
795
|
-
function
|
|
796
|
-
return
|
|
797
|
-
}
|
|
798
|
-
function Reason_DEPLOY_getInstance() {
|
|
799
|
-
Reason_initEntries();
|
|
800
|
-
return Reason_DEPLOY_instance;
|
|
801
|
-
}
|
|
802
|
-
function Reason_PLAYER_DELETED_getInstance() {
|
|
803
|
-
Reason_initEntries();
|
|
804
|
-
return Reason_PLAYER_DELETED_instance;
|
|
805
|
-
}
|
|
806
|
-
function Reason_NO_ACTIVE_PLAYERS_getInstance() {
|
|
807
|
-
Reason_initEntries();
|
|
808
|
-
return Reason_NO_ACTIVE_PLAYERS_instance;
|
|
809
|
-
}
|
|
810
|
-
function Reason_GAME_NOT_EXISTS_getInstance() {
|
|
811
|
-
Reason_initEntries();
|
|
812
|
-
return Reason_GAME_NOT_EXISTS_instance;
|
|
793
|
+
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
794
|
+
return PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, objectCreate(protoOf(PlayerTimeoutReason)));
|
|
813
795
|
}
|
|
814
|
-
function
|
|
815
|
-
Companion_getInstance_5();
|
|
796
|
+
function PlayerTimeoutReason(playerId, tag) {
|
|
816
797
|
TerminationGameReason.call(this);
|
|
817
|
-
this.
|
|
798
|
+
this.r2g_1 = playerId;
|
|
799
|
+
this.tag = tag;
|
|
818
800
|
}
|
|
819
|
-
protoOf(
|
|
820
|
-
return
|
|
801
|
+
protoOf(PlayerTimeoutReason).l2g = function () {
|
|
802
|
+
return this.r2g_1;
|
|
821
803
|
};
|
|
822
|
-
protoOf(
|
|
823
|
-
return this.
|
|
804
|
+
protoOf(PlayerTimeoutReason).m2g = function () {
|
|
805
|
+
return this.tag;
|
|
824
806
|
};
|
|
825
|
-
protoOf(
|
|
807
|
+
protoOf(PlayerTimeoutReason).n2g = function () {
|
|
808
|
+
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
809
|
+
};
|
|
810
|
+
protoOf(PlayerTimeoutReason).oc = function () {
|
|
811
|
+
return this.r2g_1;
|
|
812
|
+
};
|
|
813
|
+
protoOf(PlayerTimeoutReason).pc = function () {
|
|
814
|
+
return this.tag;
|
|
815
|
+
};
|
|
816
|
+
protoOf(PlayerTimeoutReason).o2g = function (playerId, tag) {
|
|
817
|
+
return new PlayerTimeoutReason(playerId, tag);
|
|
818
|
+
};
|
|
819
|
+
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
820
|
+
playerId = playerId === VOID ? this.r2g_1 : playerId;
|
|
821
|
+
tag = tag === VOID ? this.tag : tag;
|
|
822
|
+
return this.o2g(playerId, tag);
|
|
823
|
+
};
|
|
824
|
+
protoOf(PlayerTimeoutReason).toString = function () {
|
|
825
|
+
return 'PlayerTimeoutReason(playerId=' + this.r2g_1 + ', tag=' + this.tag + ')';
|
|
826
|
+
};
|
|
827
|
+
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
828
|
+
var result = getStringHashCode(this.r2g_1);
|
|
829
|
+
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
830
|
+
return result;
|
|
831
|
+
};
|
|
832
|
+
protoOf(PlayerTimeoutReason).equals = function (other) {
|
|
826
833
|
if (this === other)
|
|
827
834
|
return true;
|
|
828
|
-
if (!(other instanceof
|
|
835
|
+
if (!(other instanceof PlayerTimeoutReason))
|
|
829
836
|
return false;
|
|
830
|
-
var tmp0_other_with_cast = other instanceof
|
|
831
|
-
if (!this.
|
|
837
|
+
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
838
|
+
if (!(this.r2g_1 === tmp0_other_with_cast.r2g_1))
|
|
839
|
+
return false;
|
|
840
|
+
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
832
841
|
return false;
|
|
833
842
|
return true;
|
|
834
843
|
};
|
|
835
|
-
function
|
|
844
|
+
function Companion_4() {
|
|
836
845
|
}
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
846
|
+
protoOf(Companion_4).o1z = function () {
|
|
847
|
+
return $serializer_getInstance_2();
|
|
848
|
+
};
|
|
849
|
+
var Companion_instance_4;
|
|
850
|
+
function Companion_getInstance_5() {
|
|
851
|
+
return Companion_instance_4;
|
|
840
852
|
}
|
|
841
853
|
function $serializer_2() {
|
|
842
854
|
$serializer_instance_2 = this;
|
|
843
855
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
844
856
|
tmp0_serialDesc.k1n('playerId', false);
|
|
845
|
-
this.
|
|
857
|
+
this.s2g_1 = tmp0_serialDesc;
|
|
846
858
|
}
|
|
847
859
|
protoOf($serializer_2).p1c = function () {
|
|
848
|
-
return this.
|
|
860
|
+
return this.s2g_1;
|
|
849
861
|
};
|
|
850
862
|
protoOf($serializer_2).z1n = function () {
|
|
851
863
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -854,7 +866,7 @@
|
|
|
854
866
|
return [StringSerializer_getInstance()];
|
|
855
867
|
};
|
|
856
868
|
protoOf($serializer_2).r1c = function (decoder) {
|
|
857
|
-
var tmp0_desc = this.
|
|
869
|
+
var tmp0_desc = this.s2g_1;
|
|
858
870
|
var tmp1_flag = true;
|
|
859
871
|
var tmp2_index = 0;
|
|
860
872
|
var tmp3_bitMask0 = 0;
|
|
@@ -881,14 +893,14 @@
|
|
|
881
893
|
tmp5_input.y1f(tmp0_desc);
|
|
882
894
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
883
895
|
};
|
|
884
|
-
protoOf($serializer_2).
|
|
885
|
-
var tmp0_desc = this.
|
|
896
|
+
protoOf($serializer_2).t2g = function (encoder, value) {
|
|
897
|
+
var tmp0_desc = this.s2g_1;
|
|
886
898
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
887
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
899
|
+
tmp1_output.m1h(tmp0_desc, 0, value.u2g_1);
|
|
888
900
|
tmp1_output.y1f(tmp0_desc);
|
|
889
901
|
};
|
|
890
902
|
protoOf($serializer_2).q1c = function (encoder, value) {
|
|
891
|
-
return this.
|
|
903
|
+
return this.t2g(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
892
904
|
};
|
|
893
905
|
var $serializer_instance_2;
|
|
894
906
|
function $serializer_getInstance_2() {
|
|
@@ -898,10 +910,10 @@
|
|
|
898
910
|
}
|
|
899
911
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
900
912
|
if (!(1 === (1 & seen1))) {
|
|
901
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
913
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().s2g_1);
|
|
902
914
|
}
|
|
903
915
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
904
|
-
$this.
|
|
916
|
+
$this.u2g_1 = playerId;
|
|
905
917
|
return $this;
|
|
906
918
|
}
|
|
907
919
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -909,16 +921,29 @@
|
|
|
909
921
|
}
|
|
910
922
|
function PlayerExitReason(playerId) {
|
|
911
923
|
TerminationGameReason.call(this);
|
|
912
|
-
this.
|
|
924
|
+
this.u2g_1 = playerId;
|
|
913
925
|
}
|
|
914
|
-
protoOf(PlayerExitReason).
|
|
915
|
-
return this.
|
|
926
|
+
protoOf(PlayerExitReason).l2g = function () {
|
|
927
|
+
return this.u2g_1;
|
|
928
|
+
};
|
|
929
|
+
protoOf(PlayerExitReason).n2g = function () {
|
|
930
|
+
return PlayerConnectionState_LEFT_getInstance();
|
|
931
|
+
};
|
|
932
|
+
protoOf(PlayerExitReason).oc = function () {
|
|
933
|
+
return this.u2g_1;
|
|
934
|
+
};
|
|
935
|
+
protoOf(PlayerExitReason).v2g = function (playerId) {
|
|
936
|
+
return new PlayerExitReason(playerId);
|
|
937
|
+
};
|
|
938
|
+
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
939
|
+
playerId = playerId === VOID ? this.u2g_1 : playerId;
|
|
940
|
+
return this.v2g(playerId);
|
|
916
941
|
};
|
|
917
942
|
protoOf(PlayerExitReason).toString = function () {
|
|
918
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
943
|
+
return 'PlayerExitReason(playerId=' + this.u2g_1 + ')';
|
|
919
944
|
};
|
|
920
945
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
921
|
-
return getStringHashCode(this.
|
|
946
|
+
return getStringHashCode(this.u2g_1);
|
|
922
947
|
};
|
|
923
948
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
924
949
|
if (this === other)
|
|
@@ -926,76 +951,142 @@
|
|
|
926
951
|
if (!(other instanceof PlayerExitReason))
|
|
927
952
|
return false;
|
|
928
953
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
929
|
-
if (!(this.
|
|
954
|
+
if (!(this.u2g_1 === tmp0_other_with_cast.u2g_1))
|
|
930
955
|
return false;
|
|
931
956
|
return true;
|
|
932
957
|
};
|
|
958
|
+
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
959
|
+
return $this.w2g_1.o2();
|
|
960
|
+
}
|
|
961
|
+
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
962
|
+
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
963
|
+
}
|
|
964
|
+
var Reason_DEPLOY_instance;
|
|
965
|
+
var Reason_PLAYER_DELETED_instance;
|
|
966
|
+
var Reason_NO_ACTIVE_PLAYERS_instance;
|
|
967
|
+
var Reason_GAME_NOT_EXISTS_instance;
|
|
968
|
+
function Companion_5() {
|
|
969
|
+
Companion_instance_5 = this;
|
|
970
|
+
var tmp = this;
|
|
971
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
972
|
+
tmp.w2g_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
973
|
+
}
|
|
974
|
+
protoOf(Companion_5).o1z = function () {
|
|
975
|
+
return _get_$cachedSerializer__te6jhj_2(this);
|
|
976
|
+
};
|
|
977
|
+
protoOf(Companion_5).k1o = function (typeParamsSerializers) {
|
|
978
|
+
return this.o1z();
|
|
979
|
+
};
|
|
980
|
+
var Companion_instance_5;
|
|
981
|
+
function Companion_getInstance_6() {
|
|
982
|
+
Reason_initEntries();
|
|
983
|
+
if (Companion_instance_5 == null)
|
|
984
|
+
new Companion_5();
|
|
985
|
+
return Companion_instance_5;
|
|
986
|
+
}
|
|
987
|
+
function values() {
|
|
988
|
+
return [Reason_DEPLOY_getInstance(), Reason_PLAYER_DELETED_getInstance(), Reason_NO_ACTIVE_PLAYERS_getInstance(), Reason_GAME_NOT_EXISTS_getInstance()];
|
|
989
|
+
}
|
|
990
|
+
function valueOf(value) {
|
|
991
|
+
switch (value) {
|
|
992
|
+
case 'DEPLOY':
|
|
993
|
+
return Reason_DEPLOY_getInstance();
|
|
994
|
+
case 'PLAYER_DELETED':
|
|
995
|
+
return Reason_PLAYER_DELETED_getInstance();
|
|
996
|
+
case 'NO_ACTIVE_PLAYERS':
|
|
997
|
+
return Reason_NO_ACTIVE_PLAYERS_getInstance();
|
|
998
|
+
case 'GAME_NOT_EXISTS':
|
|
999
|
+
return Reason_GAME_NOT_EXISTS_getInstance();
|
|
1000
|
+
default:
|
|
1001
|
+
Reason_initEntries();
|
|
1002
|
+
THROW_IAE('No enum constant value.');
|
|
1003
|
+
break;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
var Reason_entriesInitialized;
|
|
1007
|
+
function Reason_initEntries() {
|
|
1008
|
+
if (Reason_entriesInitialized)
|
|
1009
|
+
return Unit_instance;
|
|
1010
|
+
Reason_entriesInitialized = true;
|
|
1011
|
+
Reason_DEPLOY_instance = new Reason('DEPLOY', 0);
|
|
1012
|
+
Reason_PLAYER_DELETED_instance = new Reason('PLAYER_DELETED', 1);
|
|
1013
|
+
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 2);
|
|
1014
|
+
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 3);
|
|
1015
|
+
Companion_getInstance_6();
|
|
1016
|
+
}
|
|
1017
|
+
function Reason(name, ordinal) {
|
|
1018
|
+
Enum.call(this, name, ordinal);
|
|
1019
|
+
}
|
|
933
1020
|
function Companion_6() {
|
|
1021
|
+
Companion_instance_6 = this;
|
|
1022
|
+
var tmp = this;
|
|
1023
|
+
// Inline function 'kotlin.arrayOf' call
|
|
1024
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1025
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1026
|
+
tmp.z2g_1 = [Companion_getInstance_6().o1z()];
|
|
934
1027
|
}
|
|
1028
|
+
protoOf(Companion_6).o1z = function () {
|
|
1029
|
+
return $serializer_getInstance_3();
|
|
1030
|
+
};
|
|
935
1031
|
var Companion_instance_6;
|
|
936
1032
|
function Companion_getInstance_7() {
|
|
1033
|
+
if (Companion_instance_6 == null)
|
|
1034
|
+
new Companion_6();
|
|
937
1035
|
return Companion_instance_6;
|
|
938
1036
|
}
|
|
939
1037
|
function $serializer_3() {
|
|
940
1038
|
$serializer_instance_3 = this;
|
|
941
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
942
|
-
tmp0_serialDesc.k1n('
|
|
943
|
-
|
|
944
|
-
this.u2g_1 = tmp0_serialDesc;
|
|
1039
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1040
|
+
tmp0_serialDesc.k1n('reason', false);
|
|
1041
|
+
this.a2h_1 = tmp0_serialDesc;
|
|
945
1042
|
}
|
|
946
1043
|
protoOf($serializer_3).p1c = function () {
|
|
947
|
-
return this.
|
|
1044
|
+
return this.a2h_1;
|
|
948
1045
|
};
|
|
949
1046
|
protoOf($serializer_3).z1n = function () {
|
|
950
1047
|
// Inline function 'kotlin.arrayOf' call
|
|
951
1048
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
952
1049
|
// Inline function 'kotlin.js.asDynamic' call
|
|
953
|
-
return [
|
|
1050
|
+
return [Companion_getInstance_7().z2g_1[0]];
|
|
954
1051
|
};
|
|
955
1052
|
protoOf($serializer_3).r1c = function (decoder) {
|
|
956
|
-
var tmp0_desc = this.
|
|
1053
|
+
var tmp0_desc = this.a2h_1;
|
|
957
1054
|
var tmp1_flag = true;
|
|
958
1055
|
var tmp2_index = 0;
|
|
959
1056
|
var tmp3_bitMask0 = 0;
|
|
960
1057
|
var tmp4_local0 = null;
|
|
961
|
-
var
|
|
962
|
-
var
|
|
963
|
-
if (
|
|
964
|
-
tmp4_local0 =
|
|
1058
|
+
var tmp5_input = decoder.x1f(tmp0_desc);
|
|
1059
|
+
var tmp6_cached = Companion_getInstance_7().z2g_1;
|
|
1060
|
+
if (tmp5_input.n1g()) {
|
|
1061
|
+
tmp4_local0 = tmp5_input.j1g(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
965
1062
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
966
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
967
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
968
1063
|
} else
|
|
969
1064
|
while (tmp1_flag) {
|
|
970
|
-
tmp2_index =
|
|
1065
|
+
tmp2_index = tmp5_input.o1g(tmp0_desc);
|
|
971
1066
|
switch (tmp2_index) {
|
|
972
1067
|
case -1:
|
|
973
1068
|
tmp1_flag = false;
|
|
974
1069
|
break;
|
|
975
1070
|
case 0:
|
|
976
|
-
tmp4_local0 =
|
|
1071
|
+
tmp4_local0 = tmp5_input.j1g(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
977
1072
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
978
1073
|
break;
|
|
979
|
-
case 1:
|
|
980
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
981
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
982
|
-
break;
|
|
983
1074
|
default:
|
|
984
1075
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
985
1076
|
}
|
|
986
1077
|
}
|
|
987
|
-
|
|
988
|
-
return
|
|
1078
|
+
tmp5_input.y1f(tmp0_desc);
|
|
1079
|
+
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
989
1080
|
};
|
|
990
|
-
protoOf($serializer_3).
|
|
991
|
-
var tmp0_desc = this.
|
|
1081
|
+
protoOf($serializer_3).b2h = function (encoder, value) {
|
|
1082
|
+
var tmp0_desc = this.a2h_1;
|
|
992
1083
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
993
|
-
|
|
994
|
-
tmp1_output.
|
|
1084
|
+
var tmp2_cached = Companion_getInstance_7().z2g_1;
|
|
1085
|
+
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
995
1086
|
tmp1_output.y1f(tmp0_desc);
|
|
996
1087
|
};
|
|
997
1088
|
protoOf($serializer_3).q1c = function (encoder, value) {
|
|
998
|
-
return this.
|
|
1089
|
+
return this.b2h(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
999
1090
|
};
|
|
1000
1091
|
var $serializer_instance_3;
|
|
1001
1092
|
function $serializer_getInstance_3() {
|
|
@@ -1003,112 +1094,127 @@
|
|
|
1003
1094
|
new $serializer_3();
|
|
1004
1095
|
return $serializer_instance_3;
|
|
1005
1096
|
}
|
|
1006
|
-
function
|
|
1007
|
-
if (!(
|
|
1008
|
-
throwMissingFieldException(seen1,
|
|
1097
|
+
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1098
|
+
if (!(1 === (1 & seen1))) {
|
|
1099
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().a2h_1);
|
|
1009
1100
|
}
|
|
1010
1101
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1011
|
-
$this.
|
|
1012
|
-
$this.x2g_1 = tag;
|
|
1102
|
+
$this.reason = reason;
|
|
1013
1103
|
return $this;
|
|
1014
1104
|
}
|
|
1015
|
-
function
|
|
1016
|
-
return
|
|
1105
|
+
function GameFinishedReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
1106
|
+
return GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, objectCreate(protoOf(GameFinishedReason)));
|
|
1017
1107
|
}
|
|
1018
|
-
function
|
|
1108
|
+
function Reason_DEPLOY_getInstance() {
|
|
1109
|
+
Reason_initEntries();
|
|
1110
|
+
return Reason_DEPLOY_instance;
|
|
1111
|
+
}
|
|
1112
|
+
function Reason_PLAYER_DELETED_getInstance() {
|
|
1113
|
+
Reason_initEntries();
|
|
1114
|
+
return Reason_PLAYER_DELETED_instance;
|
|
1115
|
+
}
|
|
1116
|
+
function Reason_NO_ACTIVE_PLAYERS_getInstance() {
|
|
1117
|
+
Reason_initEntries();
|
|
1118
|
+
return Reason_NO_ACTIVE_PLAYERS_instance;
|
|
1119
|
+
}
|
|
1120
|
+
function Reason_GAME_NOT_EXISTS_getInstance() {
|
|
1121
|
+
Reason_initEntries();
|
|
1122
|
+
return Reason_GAME_NOT_EXISTS_instance;
|
|
1123
|
+
}
|
|
1124
|
+
function GameFinishedReason(reason) {
|
|
1125
|
+
Companion_getInstance_7();
|
|
1019
1126
|
TerminationGameReason.call(this);
|
|
1020
|
-
this.
|
|
1021
|
-
this.x2g_1 = tag;
|
|
1127
|
+
this.reason = reason;
|
|
1022
1128
|
}
|
|
1023
|
-
protoOf(
|
|
1024
|
-
return this.
|
|
1129
|
+
protoOf(GameFinishedReason).c2h = function () {
|
|
1130
|
+
return this.reason;
|
|
1025
1131
|
};
|
|
1026
|
-
protoOf(
|
|
1027
|
-
return
|
|
1132
|
+
protoOf(GameFinishedReason).oc = function () {
|
|
1133
|
+
return this.reason;
|
|
1028
1134
|
};
|
|
1029
|
-
protoOf(
|
|
1030
|
-
|
|
1031
|
-
result = imul(result, 31) + (this.x2g_1 == null ? 0 : getStringHashCode(this.x2g_1)) | 0;
|
|
1032
|
-
return result;
|
|
1135
|
+
protoOf(GameFinishedReason).d2h = function (reason) {
|
|
1136
|
+
return new GameFinishedReason(reason);
|
|
1033
1137
|
};
|
|
1034
|
-
protoOf(
|
|
1138
|
+
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
1139
|
+
reason = reason === VOID ? this.reason : reason;
|
|
1140
|
+
return this.d2h(reason);
|
|
1141
|
+
};
|
|
1142
|
+
protoOf(GameFinishedReason).toString = function () {
|
|
1143
|
+
return 'GameFinishedReason(reason=' + this.reason + ')';
|
|
1144
|
+
};
|
|
1145
|
+
protoOf(GameFinishedReason).hashCode = function () {
|
|
1146
|
+
return this.reason.hashCode();
|
|
1147
|
+
};
|
|
1148
|
+
protoOf(GameFinishedReason).equals = function (other) {
|
|
1035
1149
|
if (this === other)
|
|
1036
1150
|
return true;
|
|
1037
|
-
if (!(other instanceof
|
|
1038
|
-
return false;
|
|
1039
|
-
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
1040
|
-
if (!(this.w2g_1 === tmp0_other_with_cast.w2g_1))
|
|
1151
|
+
if (!(other instanceof GameFinishedReason))
|
|
1041
1152
|
return false;
|
|
1042
|
-
|
|
1153
|
+
var tmp0_other_with_cast = other instanceof GameFinishedReason ? other : THROW_CCE();
|
|
1154
|
+
if (!this.reason.equals(tmp0_other_with_cast.reason))
|
|
1043
1155
|
return false;
|
|
1044
1156
|
return true;
|
|
1045
1157
|
};
|
|
1046
1158
|
function Companion_7() {
|
|
1047
1159
|
}
|
|
1160
|
+
protoOf(Companion_7).o1z = function () {
|
|
1161
|
+
return $serializer_getInstance_4();
|
|
1162
|
+
};
|
|
1048
1163
|
var Companion_instance_7;
|
|
1049
1164
|
function Companion_getInstance_8() {
|
|
1050
1165
|
return Companion_instance_7;
|
|
1051
1166
|
}
|
|
1052
1167
|
function $serializer_4() {
|
|
1053
1168
|
$serializer_instance_4 = this;
|
|
1054
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
1055
|
-
tmp0_serialDesc.k1n('
|
|
1056
|
-
|
|
1057
|
-
this.y2g_1 = tmp0_serialDesc;
|
|
1169
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1170
|
+
tmp0_serialDesc.k1n('reason', false);
|
|
1171
|
+
this.e2h_1 = tmp0_serialDesc;
|
|
1058
1172
|
}
|
|
1059
1173
|
protoOf($serializer_4).p1c = function () {
|
|
1060
|
-
return this.
|
|
1174
|
+
return this.e2h_1;
|
|
1061
1175
|
};
|
|
1062
1176
|
protoOf($serializer_4).z1n = function () {
|
|
1063
1177
|
// Inline function 'kotlin.arrayOf' call
|
|
1064
1178
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1065
1179
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1066
|
-
return [StringSerializer_getInstance()
|
|
1180
|
+
return [StringSerializer_getInstance()];
|
|
1067
1181
|
};
|
|
1068
1182
|
protoOf($serializer_4).r1c = function (decoder) {
|
|
1069
|
-
var tmp0_desc = this.
|
|
1183
|
+
var tmp0_desc = this.e2h_1;
|
|
1070
1184
|
var tmp1_flag = true;
|
|
1071
1185
|
var tmp2_index = 0;
|
|
1072
1186
|
var tmp3_bitMask0 = 0;
|
|
1073
1187
|
var tmp4_local0 = null;
|
|
1074
|
-
var
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
1188
|
+
var tmp5_input = decoder.x1f(tmp0_desc);
|
|
1189
|
+
if (tmp5_input.n1g()) {
|
|
1190
|
+
tmp4_local0 = tmp5_input.h1g(tmp0_desc, 0);
|
|
1078
1191
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1079
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1080
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1081
1192
|
} else
|
|
1082
1193
|
while (tmp1_flag) {
|
|
1083
|
-
tmp2_index =
|
|
1194
|
+
tmp2_index = tmp5_input.o1g(tmp0_desc);
|
|
1084
1195
|
switch (tmp2_index) {
|
|
1085
1196
|
case -1:
|
|
1086
1197
|
tmp1_flag = false;
|
|
1087
1198
|
break;
|
|
1088
1199
|
case 0:
|
|
1089
|
-
tmp4_local0 =
|
|
1200
|
+
tmp4_local0 = tmp5_input.h1g(tmp0_desc, 0);
|
|
1090
1201
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1091
1202
|
break;
|
|
1092
|
-
case 1:
|
|
1093
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1094
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1095
|
-
break;
|
|
1096
1203
|
default:
|
|
1097
1204
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1098
1205
|
}
|
|
1099
1206
|
}
|
|
1100
|
-
|
|
1101
|
-
return
|
|
1207
|
+
tmp5_input.y1f(tmp0_desc);
|
|
1208
|
+
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1102
1209
|
};
|
|
1103
|
-
protoOf($serializer_4).
|
|
1104
|
-
var tmp0_desc = this.
|
|
1210
|
+
protoOf($serializer_4).f2h = function (encoder, value) {
|
|
1211
|
+
var tmp0_desc = this.e2h_1;
|
|
1105
1212
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
1106
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
1107
|
-
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.b2h_1);
|
|
1213
|
+
tmp1_output.m1h(tmp0_desc, 0, value.reason);
|
|
1108
1214
|
tmp1_output.y1f(tmp0_desc);
|
|
1109
1215
|
};
|
|
1110
1216
|
protoOf($serializer_4).q1c = function (encoder, value) {
|
|
1111
|
-
return this.
|
|
1217
|
+
return this.f2h(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1112
1218
|
};
|
|
1113
1219
|
var $serializer_instance_4;
|
|
1114
1220
|
function $serializer_getInstance_4() {
|
|
@@ -1116,111 +1222,115 @@
|
|
|
1116
1222
|
new $serializer_4();
|
|
1117
1223
|
return $serializer_instance_4;
|
|
1118
1224
|
}
|
|
1119
|
-
function
|
|
1120
|
-
if (!(
|
|
1121
|
-
throwMissingFieldException(seen1,
|
|
1225
|
+
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1226
|
+
if (!(1 === (1 & seen1))) {
|
|
1227
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().e2h_1);
|
|
1122
1228
|
}
|
|
1123
1229
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1124
|
-
$this.
|
|
1125
|
-
$this.b2h_1 = tag;
|
|
1230
|
+
$this.reason = reason;
|
|
1126
1231
|
return $this;
|
|
1127
1232
|
}
|
|
1128
|
-
function
|
|
1129
|
-
return
|
|
1233
|
+
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
1234
|
+
return GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, objectCreate(protoOf(GameErrorReason)));
|
|
1130
1235
|
}
|
|
1131
|
-
function
|
|
1236
|
+
function GameErrorReason(reason) {
|
|
1132
1237
|
TerminationGameReason.call(this);
|
|
1133
|
-
this.
|
|
1134
|
-
this.b2h_1 = tag;
|
|
1238
|
+
this.reason = reason;
|
|
1135
1239
|
}
|
|
1136
|
-
protoOf(
|
|
1137
|
-
return this.
|
|
1240
|
+
protoOf(GameErrorReason).c2h = function () {
|
|
1241
|
+
return this.reason;
|
|
1138
1242
|
};
|
|
1139
|
-
protoOf(
|
|
1140
|
-
return
|
|
1243
|
+
protoOf(GameErrorReason).oc = function () {
|
|
1244
|
+
return this.reason;
|
|
1141
1245
|
};
|
|
1142
|
-
protoOf(
|
|
1143
|
-
|
|
1144
|
-
result = imul(result, 31) + (this.b2h_1 == null ? 0 : getStringHashCode(this.b2h_1)) | 0;
|
|
1145
|
-
return result;
|
|
1246
|
+
protoOf(GameErrorReason).v2g = function (reason) {
|
|
1247
|
+
return new GameErrorReason(reason);
|
|
1146
1248
|
};
|
|
1147
|
-
protoOf(
|
|
1249
|
+
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1250
|
+
reason = reason === VOID ? this.reason : reason;
|
|
1251
|
+
return this.v2g(reason);
|
|
1252
|
+
};
|
|
1253
|
+
protoOf(GameErrorReason).toString = function () {
|
|
1254
|
+
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
1255
|
+
};
|
|
1256
|
+
protoOf(GameErrorReason).hashCode = function () {
|
|
1257
|
+
return getStringHashCode(this.reason);
|
|
1258
|
+
};
|
|
1259
|
+
protoOf(GameErrorReason).equals = function (other) {
|
|
1148
1260
|
if (this === other)
|
|
1149
1261
|
return true;
|
|
1150
|
-
if (!(other instanceof
|
|
1151
|
-
return false;
|
|
1152
|
-
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1153
|
-
if (!(this.a2h_1 === tmp0_other_with_cast.a2h_1))
|
|
1262
|
+
if (!(other instanceof GameErrorReason))
|
|
1154
1263
|
return false;
|
|
1155
|
-
|
|
1264
|
+
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
1265
|
+
if (!(this.reason === tmp0_other_with_cast.reason))
|
|
1156
1266
|
return false;
|
|
1157
1267
|
return true;
|
|
1158
1268
|
};
|
|
1159
1269
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1160
|
-
return $this.
|
|
1270
|
+
return $this.g2h_1.o2();
|
|
1161
1271
|
}
|
|
1162
|
-
function
|
|
1163
|
-
var tmp =
|
|
1272
|
+
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1273
|
+
var tmp = WaitingForConnectionReason_getInstance();
|
|
1164
1274
|
// Inline function 'kotlin.arrayOf' call
|
|
1165
1275
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1166
1276
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1167
1277
|
var tmp$ret$2 = [];
|
|
1168
|
-
return ObjectSerializer_init_$Create$('
|
|
1278
|
+
return ObjectSerializer_init_$Create$('WAITING_FOR_CONNECTION_TYPE', tmp, tmp$ret$2);
|
|
1169
1279
|
}
|
|
1170
|
-
function
|
|
1171
|
-
|
|
1280
|
+
function WaitingForConnectionReason() {
|
|
1281
|
+
WaitingForConnectionReason_instance = this;
|
|
1172
1282
|
TerminationGameReason.call(this);
|
|
1173
1283
|
var tmp = this;
|
|
1174
1284
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1175
|
-
tmp.
|
|
1285
|
+
tmp.g2h_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1176
1286
|
}
|
|
1177
|
-
protoOf(
|
|
1178
|
-
return '
|
|
1287
|
+
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1288
|
+
return 'WaitingForConnectionReason';
|
|
1179
1289
|
};
|
|
1180
|
-
protoOf(
|
|
1290
|
+
protoOf(WaitingForConnectionReason).o1z = function () {
|
|
1181
1291
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1182
1292
|
};
|
|
1183
|
-
protoOf(
|
|
1293
|
+
protoOf(WaitingForConnectionReason).k1o = function (typeParamsSerializers) {
|
|
1184
1294
|
return this.o1z();
|
|
1185
1295
|
};
|
|
1186
|
-
var
|
|
1187
|
-
function
|
|
1188
|
-
if (
|
|
1189
|
-
new
|
|
1190
|
-
return
|
|
1296
|
+
var WaitingForConnectionReason_instance;
|
|
1297
|
+
function WaitingForConnectionReason_getInstance() {
|
|
1298
|
+
if (WaitingForConnectionReason_instance == null)
|
|
1299
|
+
new WaitingForConnectionReason();
|
|
1300
|
+
return WaitingForConnectionReason_instance;
|
|
1191
1301
|
}
|
|
1192
1302
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1193
|
-
return $this.
|
|
1303
|
+
return $this.h2h_1.o2();
|
|
1194
1304
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var tmp =
|
|
1305
|
+
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1306
|
+
var tmp = ProcessingReason_getInstance();
|
|
1197
1307
|
// Inline function 'kotlin.arrayOf' call
|
|
1198
1308
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1199
1309
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1200
1310
|
var tmp$ret$2 = [];
|
|
1201
|
-
return ObjectSerializer_init_$Create$('
|
|
1311
|
+
return ObjectSerializer_init_$Create$('PROCESSING_TYPE', tmp, tmp$ret$2);
|
|
1202
1312
|
}
|
|
1203
|
-
function
|
|
1204
|
-
|
|
1313
|
+
function ProcessingReason() {
|
|
1314
|
+
ProcessingReason_instance = this;
|
|
1205
1315
|
TerminationGameReason.call(this);
|
|
1206
1316
|
var tmp = this;
|
|
1207
1317
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1208
|
-
tmp.
|
|
1318
|
+
tmp.h2h_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1209
1319
|
}
|
|
1210
|
-
protoOf(
|
|
1211
|
-
return '
|
|
1320
|
+
protoOf(ProcessingReason).toString = function () {
|
|
1321
|
+
return 'ProcessingReason';
|
|
1212
1322
|
};
|
|
1213
|
-
protoOf(
|
|
1323
|
+
protoOf(ProcessingReason).o1z = function () {
|
|
1214
1324
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1215
1325
|
};
|
|
1216
|
-
protoOf(
|
|
1326
|
+
protoOf(ProcessingReason).k1o = function (typeParamsSerializers) {
|
|
1217
1327
|
return this.o1z();
|
|
1218
1328
|
};
|
|
1219
|
-
var
|
|
1220
|
-
function
|
|
1221
|
-
if (
|
|
1222
|
-
new
|
|
1223
|
-
return
|
|
1329
|
+
var ProcessingReason_instance;
|
|
1330
|
+
function ProcessingReason_getInstance() {
|
|
1331
|
+
if (ProcessingReason_instance == null)
|
|
1332
|
+
new ProcessingReason();
|
|
1333
|
+
return ProcessingReason_instance;
|
|
1224
1334
|
}
|
|
1225
1335
|
function FinishPlayerReason() {
|
|
1226
1336
|
}
|
|
@@ -1233,33 +1343,33 @@
|
|
|
1233
1343
|
isBot = isBot === VOID ? false : isBot;
|
|
1234
1344
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1235
1345
|
payload = payload === VOID ? null : payload;
|
|
1236
|
-
this.
|
|
1346
|
+
this.i2h_1 = playerId;
|
|
1237
1347
|
this.name = name;
|
|
1238
1348
|
this.avatarUrl = avatarUrl;
|
|
1239
1349
|
this.isBot = isBot;
|
|
1240
1350
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1241
1351
|
this.payload = payload;
|
|
1242
1352
|
}
|
|
1243
|
-
protoOf(GameUserInfo).
|
|
1244
|
-
return this.
|
|
1353
|
+
protoOf(GameUserInfo).l2g = function () {
|
|
1354
|
+
return this.i2h_1;
|
|
1245
1355
|
};
|
|
1246
1356
|
protoOf(GameUserInfo).z8 = function () {
|
|
1247
1357
|
return this.name;
|
|
1248
1358
|
};
|
|
1249
|
-
protoOf(GameUserInfo).
|
|
1359
|
+
protoOf(GameUserInfo).j2h = function () {
|
|
1250
1360
|
return this.avatarUrl;
|
|
1251
1361
|
};
|
|
1252
|
-
protoOf(GameUserInfo).
|
|
1362
|
+
protoOf(GameUserInfo).k2h = function () {
|
|
1253
1363
|
return this.isBot;
|
|
1254
1364
|
};
|
|
1255
|
-
protoOf(GameUserInfo).
|
|
1365
|
+
protoOf(GameUserInfo).l2h = function () {
|
|
1256
1366
|
return this.initialLuckyFactor;
|
|
1257
1367
|
};
|
|
1258
|
-
protoOf(GameUserInfo).
|
|
1368
|
+
protoOf(GameUserInfo).m2h = function () {
|
|
1259
1369
|
return this.payload;
|
|
1260
1370
|
};
|
|
1261
1371
|
protoOf(GameUserInfo).oc = function () {
|
|
1262
|
-
return this.
|
|
1372
|
+
return this.i2h_1;
|
|
1263
1373
|
};
|
|
1264
1374
|
protoOf(GameUserInfo).pc = function () {
|
|
1265
1375
|
return this.name;
|
|
@@ -1267,32 +1377,32 @@
|
|
|
1267
1377
|
protoOf(GameUserInfo).qg = function () {
|
|
1268
1378
|
return this.avatarUrl;
|
|
1269
1379
|
};
|
|
1270
|
-
protoOf(GameUserInfo).
|
|
1380
|
+
protoOf(GameUserInfo).n2h = function () {
|
|
1271
1381
|
return this.isBot;
|
|
1272
1382
|
};
|
|
1273
|
-
protoOf(GameUserInfo).
|
|
1383
|
+
protoOf(GameUserInfo).o2h = function () {
|
|
1274
1384
|
return this.initialLuckyFactor;
|
|
1275
1385
|
};
|
|
1276
|
-
protoOf(GameUserInfo).
|
|
1386
|
+
protoOf(GameUserInfo).p2h = function () {
|
|
1277
1387
|
return this.payload;
|
|
1278
1388
|
};
|
|
1279
|
-
protoOf(GameUserInfo).
|
|
1389
|
+
protoOf(GameUserInfo).q2h = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1280
1390
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1281
1391
|
};
|
|
1282
1392
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1283
|
-
playerId = playerId === VOID ? this.
|
|
1393
|
+
playerId = playerId === VOID ? this.i2h_1 : playerId;
|
|
1284
1394
|
name = name === VOID ? this.name : name;
|
|
1285
1395
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1286
1396
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1287
1397
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1288
1398
|
payload = payload === VOID ? this.payload : payload;
|
|
1289
|
-
return this.
|
|
1399
|
+
return this.q2h(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1290
1400
|
};
|
|
1291
1401
|
protoOf(GameUserInfo).toString = function () {
|
|
1292
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1402
|
+
return 'GameUserInfo(playerId=' + this.i2h_1 + ', name=' + this.name + ', avatarUrl=' + this.avatarUrl + ', isBot=' + this.isBot + ', initialLuckyFactor=' + this.initialLuckyFactor + ', payload=' + toString(this.payload) + ')';
|
|
1293
1403
|
};
|
|
1294
1404
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1295
|
-
var result = getStringHashCode(this.
|
|
1405
|
+
var result = getStringHashCode(this.i2h_1);
|
|
1296
1406
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1297
1407
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1298
1408
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1306,7 +1416,7 @@
|
|
|
1306
1416
|
if (!(other instanceof GameUserInfo))
|
|
1307
1417
|
return false;
|
|
1308
1418
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1309
|
-
if (!(this.
|
|
1419
|
+
if (!(this.i2h_1 === tmp0_other_with_cast.i2h_1))
|
|
1310
1420
|
return false;
|
|
1311
1421
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1312
1422
|
return false;
|
|
@@ -1386,18 +1496,18 @@
|
|
|
1386
1496
|
return destination;
|
|
1387
1497
|
}
|
|
1388
1498
|
function PlayerIndex(playerId, index) {
|
|
1389
|
-
this.
|
|
1390
|
-
this.
|
|
1499
|
+
this.t2h_1 = playerId;
|
|
1500
|
+
this.u2h_1 = index;
|
|
1391
1501
|
}
|
|
1392
|
-
protoOf(PlayerIndex).
|
|
1393
|
-
return this.
|
|
1502
|
+
protoOf(PlayerIndex).l2g = function () {
|
|
1503
|
+
return this.t2h_1;
|
|
1394
1504
|
};
|
|
1395
1505
|
protoOf(PlayerIndex).toString = function () {
|
|
1396
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1506
|
+
return 'PlayerIndex(playerId=' + this.t2h_1 + ', index=' + this.u2h_1 + ')';
|
|
1397
1507
|
};
|
|
1398
1508
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1399
|
-
var result = getStringHashCode(this.
|
|
1400
|
-
result = imul(result, 31) + this.
|
|
1509
|
+
var result = getStringHashCode(this.t2h_1);
|
|
1510
|
+
result = imul(result, 31) + this.u2h_1 | 0;
|
|
1401
1511
|
return result;
|
|
1402
1512
|
};
|
|
1403
1513
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1406,9 +1516,9 @@
|
|
|
1406
1516
|
if (!(other instanceof PlayerIndex))
|
|
1407
1517
|
return false;
|
|
1408
1518
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1409
|
-
if (!(this.
|
|
1519
|
+
if (!(this.t2h_1 === tmp0_other_with_cast.t2h_1))
|
|
1410
1520
|
return false;
|
|
1411
|
-
if (!(this.
|
|
1521
|
+
if (!(this.u2h_1 === tmp0_other_with_cast.u2h_1))
|
|
1412
1522
|
return false;
|
|
1413
1523
|
return true;
|
|
1414
1524
|
};
|
|
@@ -1432,16 +1542,16 @@
|
|
|
1432
1542
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1433
1543
|
}
|
|
1434
1544
|
function PlayerIdContractOrderComparator(players) {
|
|
1435
|
-
this.
|
|
1545
|
+
this.v2h_1 = players;
|
|
1436
1546
|
}
|
|
1437
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1438
|
-
var indexA = this.
|
|
1439
|
-
var indexB = this.
|
|
1547
|
+
protoOf(PlayerIdContractOrderComparator).w2h = function (a, b) {
|
|
1548
|
+
var indexA = this.v2h_1.y1(a.playerId);
|
|
1549
|
+
var indexB = this.v2h_1.y1(b.playerId);
|
|
1440
1550
|
return compareTo(indexA, indexB);
|
|
1441
1551
|
};
|
|
1442
1552
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1443
1553
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1444
|
-
return this.
|
|
1554
|
+
return this.w2h(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1445
1555
|
};
|
|
1446
1556
|
function byIdPlayerPredicate$lambda(id) {
|
|
1447
1557
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1454,7 +1564,7 @@
|
|
|
1454
1564
|
}
|
|
1455
1565
|
function playerTurnPredicate$lambda(p1) {
|
|
1456
1566
|
_init_properties_Player_kt__qi83pd();
|
|
1457
|
-
return p1.xj().
|
|
1567
|
+
return p1.xj().e2i();
|
|
1458
1568
|
}
|
|
1459
1569
|
var properties_initialized_Player_kt_56shkt;
|
|
1460
1570
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1465,14 +1575,14 @@
|
|
|
1465
1575
|
}
|
|
1466
1576
|
}
|
|
1467
1577
|
function Companion_8() {
|
|
1468
|
-
this.
|
|
1578
|
+
this.f2i_1 = 75;
|
|
1469
1579
|
}
|
|
1470
|
-
protoOf(Companion_8).
|
|
1471
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1580
|
+
protoOf(Companion_8).g2i = function (_this__u8e3s4) {
|
|
1581
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.l2i(PlayerConnectionState_LIVE_getInstance(), System_instance.e2f(), Duration__plus_impl_yu9v8f(_this__u8e3s4.j2i_1, _this__u8e3s4.k2i()));
|
|
1472
1582
|
return tmp1_elvis_lhs == null ? new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.e2f()) : tmp1_elvis_lhs;
|
|
1473
1583
|
};
|
|
1474
|
-
protoOf(Companion_8).
|
|
1475
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1584
|
+
protoOf(Companion_8).m2i = function (_this__u8e3s4, state) {
|
|
1585
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.n2i(state, System_instance.e2f());
|
|
1476
1586
|
return tmp1_elvis_lhs == null ? new PlayerConnection(state, System_instance.e2f()) : tmp1_elvis_lhs;
|
|
1477
1587
|
};
|
|
1478
1588
|
var Companion_instance_8;
|
|
@@ -1482,54 +1592,54 @@
|
|
|
1482
1592
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1483
1593
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.e2f() : connectionChangedTime;
|
|
1484
1594
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().tf_1 : notLiveDurationRecord;
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1487
|
-
this.
|
|
1595
|
+
this.h2i_1 = state;
|
|
1596
|
+
this.i2i_1 = connectionChangedTime;
|
|
1597
|
+
this.j2i_1 = notLiveDurationRecord;
|
|
1488
1598
|
}
|
|
1489
|
-
protoOf(PlayerConnection).g2i = function () {
|
|
1490
|
-
return System_instance.e2f().u2f(this.e2i_1);
|
|
1491
|
-
};
|
|
1492
1599
|
protoOf(PlayerConnection).k2i = function () {
|
|
1600
|
+
return System_instance.e2f().u2f(this.i2i_1);
|
|
1601
|
+
};
|
|
1602
|
+
protoOf(PlayerConnection).o2i = function () {
|
|
1493
1603
|
var tmp;
|
|
1494
|
-
if (this.
|
|
1495
|
-
tmp = this.
|
|
1604
|
+
if (this.h2i_1.isLive) {
|
|
1605
|
+
tmp = this.j2i_1;
|
|
1496
1606
|
} else {
|
|
1497
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1607
|
+
tmp = Duration__plus_impl_yu9v8f(this.j2i_1, this.k2i());
|
|
1498
1608
|
}
|
|
1499
1609
|
return tmp;
|
|
1500
1610
|
};
|
|
1501
|
-
protoOf(PlayerConnection).
|
|
1611
|
+
protoOf(PlayerConnection).p2i = function (gameDuration) {
|
|
1502
1612
|
// Inline function 'kotlin.Long.div' call
|
|
1503
1613
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).x9() / 100.0;
|
|
1504
1614
|
// Inline function 'kotlin.math.round' call
|
|
1505
1615
|
// Inline function 'kotlin.Long.div' call
|
|
1506
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1616
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.o2i()).x9() / percent;
|
|
1507
1617
|
var tmp$ret$2 = round(x);
|
|
1508
1618
|
return numberToInt(tmp$ret$2);
|
|
1509
1619
|
};
|
|
1510
|
-
protoOf(PlayerConnection).
|
|
1511
|
-
return 100 - this.
|
|
1620
|
+
protoOf(PlayerConnection).q2i = function (gameDuration) {
|
|
1621
|
+
return 100 - this.p2i(gameDuration) | 0;
|
|
1512
1622
|
};
|
|
1513
|
-
protoOf(PlayerConnection).
|
|
1514
|
-
var percentage = this.
|
|
1623
|
+
protoOf(PlayerConnection).r2i = function (gameDuration) {
|
|
1624
|
+
var percentage = this.q2i(gameDuration);
|
|
1515
1625
|
return percentage >= 75;
|
|
1516
1626
|
};
|
|
1517
|
-
protoOf(PlayerConnection).
|
|
1627
|
+
protoOf(PlayerConnection).l2i = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1518
1628
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1519
1629
|
};
|
|
1520
|
-
protoOf(PlayerConnection).
|
|
1521
|
-
state = state === VOID ? this.
|
|
1522
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1523
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1524
|
-
return $super === VOID ? this.
|
|
1630
|
+
protoOf(PlayerConnection).n2i = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1631
|
+
state = state === VOID ? this.h2i_1 : state;
|
|
1632
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.i2i_1 : connectionChangedTime;
|
|
1633
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.j2i_1 : notLiveDurationRecord;
|
|
1634
|
+
return $super === VOID ? this.l2i(state, connectionChangedTime, notLiveDurationRecord) : $super.l2i.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1525
1635
|
};
|
|
1526
1636
|
protoOf(PlayerConnection).toString = function () {
|
|
1527
|
-
return 'PlayerConnection(state=' + this.
|
|
1637
|
+
return 'PlayerConnection(state=' + this.h2i_1 + ', connectionChangedTime=' + this.i2i_1 + ', notLiveDurationRecord=' + new Duration(this.j2i_1) + ')';
|
|
1528
1638
|
};
|
|
1529
1639
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1530
|
-
var result = this.
|
|
1531
|
-
result = imul(result, 31) + this.
|
|
1532
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1640
|
+
var result = this.h2i_1.hashCode();
|
|
1641
|
+
result = imul(result, 31) + this.i2i_1.hashCode() | 0;
|
|
1642
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.j2i_1) | 0;
|
|
1533
1643
|
return result;
|
|
1534
1644
|
};
|
|
1535
1645
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1538,16 +1648,16 @@
|
|
|
1538
1648
|
if (!(other instanceof PlayerConnection))
|
|
1539
1649
|
return false;
|
|
1540
1650
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1541
|
-
if (!this.
|
|
1651
|
+
if (!this.h2i_1.equals(tmp0_other_with_cast.h2i_1))
|
|
1542
1652
|
return false;
|
|
1543
|
-
if (!this.
|
|
1653
|
+
if (!this.i2i_1.equals(tmp0_other_with_cast.i2i_1))
|
|
1544
1654
|
return false;
|
|
1545
|
-
if (!equals(this.
|
|
1655
|
+
if (!equals(this.j2i_1, tmp0_other_with_cast.j2i_1))
|
|
1546
1656
|
return false;
|
|
1547
1657
|
return true;
|
|
1548
1658
|
};
|
|
1549
1659
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1550
|
-
return $this.
|
|
1660
|
+
return $this.s2i_1.o2();
|
|
1551
1661
|
}
|
|
1552
1662
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1553
1663
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1562,7 +1672,7 @@
|
|
|
1562
1672
|
Companion_instance_9 = this;
|
|
1563
1673
|
var tmp = this;
|
|
1564
1674
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1565
|
-
tmp.
|
|
1675
|
+
tmp.s2i_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1566
1676
|
}
|
|
1567
1677
|
protoOf(Companion_9).o1z = function () {
|
|
1568
1678
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1580,7 +1690,7 @@
|
|
|
1580
1690
|
function values_0() {
|
|
1581
1691
|
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
1582
1692
|
}
|
|
1583
|
-
function
|
|
1693
|
+
function valueOf_0(value) {
|
|
1584
1694
|
switch (value) {
|
|
1585
1695
|
case 'LIVE':
|
|
1586
1696
|
return PlayerConnectionState_LIVE_getInstance();
|
|
@@ -1616,28 +1726,28 @@
|
|
|
1616
1726
|
function PlayerConnectionState(name, ordinal) {
|
|
1617
1727
|
Enum.call(this, name, ordinal);
|
|
1618
1728
|
}
|
|
1619
|
-
protoOf(PlayerConnectionState).
|
|
1729
|
+
protoOf(PlayerConnectionState).v2i = function () {
|
|
1620
1730
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1621
1731
|
};
|
|
1622
|
-
protoOf(PlayerConnectionState).
|
|
1732
|
+
protoOf(PlayerConnectionState).w2i = function () {
|
|
1623
1733
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1624
1734
|
};
|
|
1625
|
-
protoOf(PlayerConnectionState).
|
|
1735
|
+
protoOf(PlayerConnectionState).x2i = function () {
|
|
1626
1736
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1627
1737
|
};
|
|
1628
|
-
protoOf(PlayerConnectionState).
|
|
1738
|
+
protoOf(PlayerConnectionState).y2i = function () {
|
|
1629
1739
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1630
1740
|
};
|
|
1631
|
-
protoOf(PlayerConnectionState).
|
|
1741
|
+
protoOf(PlayerConnectionState).z2i = function () {
|
|
1632
1742
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1633
1743
|
};
|
|
1634
|
-
protoOf(PlayerConnectionState).
|
|
1744
|
+
protoOf(PlayerConnectionState).a2j = function () {
|
|
1635
1745
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1636
1746
|
};
|
|
1637
|
-
protoOf(PlayerConnectionState).
|
|
1747
|
+
protoOf(PlayerConnectionState).b2j = function () {
|
|
1638
1748
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1639
1749
|
};
|
|
1640
|
-
protoOf(PlayerConnectionState).
|
|
1750
|
+
protoOf(PlayerConnectionState).c2j = function () {
|
|
1641
1751
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1642
1752
|
};
|
|
1643
1753
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1665,25 +1775,25 @@
|
|
|
1665
1775
|
return PlayerConnectionState_DELETED_instance;
|
|
1666
1776
|
}
|
|
1667
1777
|
function PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1668
|
-
this.
|
|
1778
|
+
this.d2j_1 = playerId;
|
|
1669
1779
|
this.factor = factor;
|
|
1670
1780
|
this.wasLiveDuringGame = wasLiveDuringGame;
|
|
1671
1781
|
this.liveDurationPercentage = liveDurationPercentage;
|
|
1672
1782
|
}
|
|
1673
|
-
protoOf(PlayerLuckyFactor).
|
|
1674
|
-
return this.
|
|
1783
|
+
protoOf(PlayerLuckyFactor).l2g = function () {
|
|
1784
|
+
return this.d2j_1;
|
|
1675
1785
|
};
|
|
1676
|
-
protoOf(PlayerLuckyFactor).
|
|
1786
|
+
protoOf(PlayerLuckyFactor).e2j = function () {
|
|
1677
1787
|
return this.factor;
|
|
1678
1788
|
};
|
|
1679
|
-
protoOf(PlayerLuckyFactor).
|
|
1789
|
+
protoOf(PlayerLuckyFactor).f2j = function () {
|
|
1680
1790
|
return this.wasLiveDuringGame;
|
|
1681
1791
|
};
|
|
1682
|
-
protoOf(PlayerLuckyFactor).
|
|
1792
|
+
protoOf(PlayerLuckyFactor).g2j = function () {
|
|
1683
1793
|
return this.liveDurationPercentage;
|
|
1684
1794
|
};
|
|
1685
1795
|
protoOf(PlayerLuckyFactor).oc = function () {
|
|
1686
|
-
return this.
|
|
1796
|
+
return this.d2j_1;
|
|
1687
1797
|
};
|
|
1688
1798
|
protoOf(PlayerLuckyFactor).pc = function () {
|
|
1689
1799
|
return this.factor;
|
|
@@ -1691,24 +1801,24 @@
|
|
|
1691
1801
|
protoOf(PlayerLuckyFactor).qg = function () {
|
|
1692
1802
|
return this.wasLiveDuringGame;
|
|
1693
1803
|
};
|
|
1694
|
-
protoOf(PlayerLuckyFactor).
|
|
1804
|
+
protoOf(PlayerLuckyFactor).n2h = function () {
|
|
1695
1805
|
return this.liveDurationPercentage;
|
|
1696
1806
|
};
|
|
1697
|
-
protoOf(PlayerLuckyFactor).
|
|
1807
|
+
protoOf(PlayerLuckyFactor).h2j = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1698
1808
|
return new PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1699
1809
|
};
|
|
1700
1810
|
protoOf(PlayerLuckyFactor).copy = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage, $super) {
|
|
1701
|
-
playerId = playerId === VOID ? this.
|
|
1811
|
+
playerId = playerId === VOID ? this.d2j_1 : playerId;
|
|
1702
1812
|
factor = factor === VOID ? this.factor : factor;
|
|
1703
1813
|
wasLiveDuringGame = wasLiveDuringGame === VOID ? this.wasLiveDuringGame : wasLiveDuringGame;
|
|
1704
1814
|
liveDurationPercentage = liveDurationPercentage === VOID ? this.liveDurationPercentage : liveDurationPercentage;
|
|
1705
|
-
return this.
|
|
1815
|
+
return this.h2j(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1706
1816
|
};
|
|
1707
1817
|
protoOf(PlayerLuckyFactor).toString = function () {
|
|
1708
|
-
return 'PlayerLuckyFactor(playerId=' + this.
|
|
1818
|
+
return 'PlayerLuckyFactor(playerId=' + this.d2j_1 + ', factor=' + this.factor + ', wasLiveDuringGame=' + this.wasLiveDuringGame + ', liveDurationPercentage=' + this.liveDurationPercentage + ')';
|
|
1709
1819
|
};
|
|
1710
1820
|
protoOf(PlayerLuckyFactor).hashCode = function () {
|
|
1711
|
-
var result = getStringHashCode(this.
|
|
1821
|
+
var result = getStringHashCode(this.d2j_1);
|
|
1712
1822
|
result = imul(result, 31) + getNumberHashCode(this.factor) | 0;
|
|
1713
1823
|
result = imul(result, 31) + getBooleanHashCode(this.wasLiveDuringGame) | 0;
|
|
1714
1824
|
result = imul(result, 31) + (this.liveDurationPercentage == null ? 0 : this.liveDurationPercentage) | 0;
|
|
@@ -1720,7 +1830,7 @@
|
|
|
1720
1830
|
if (!(other instanceof PlayerLuckyFactor))
|
|
1721
1831
|
return false;
|
|
1722
1832
|
var tmp0_other_with_cast = other instanceof PlayerLuckyFactor ? other : THROW_CCE();
|
|
1723
|
-
if (!(this.
|
|
1833
|
+
if (!(this.d2j_1 === tmp0_other_with_cast.d2j_1))
|
|
1724
1834
|
return false;
|
|
1725
1835
|
if (!equals(this.factor, tmp0_other_with_cast.factor))
|
|
1726
1836
|
return false;
|
|
@@ -1731,7 +1841,7 @@
|
|
|
1731
1841
|
return true;
|
|
1732
1842
|
};
|
|
1733
1843
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1734
|
-
return $this.
|
|
1844
|
+
return $this.i2j_1.o2();
|
|
1735
1845
|
}
|
|
1736
1846
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1737
1847
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -1743,7 +1853,7 @@
|
|
|
1743
1853
|
Companion_instance_10 = this;
|
|
1744
1854
|
var tmp = this;
|
|
1745
1855
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1746
|
-
tmp.
|
|
1856
|
+
tmp.i2j_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1747
1857
|
}
|
|
1748
1858
|
protoOf(Companion_10).o1z = function () {
|
|
1749
1859
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1774,25 +1884,25 @@
|
|
|
1774
1884
|
function PlayerWaitingState(name, ordinal) {
|
|
1775
1885
|
Enum.call(this, name, ordinal);
|
|
1776
1886
|
}
|
|
1777
|
-
protoOf(PlayerWaitingState).
|
|
1887
|
+
protoOf(PlayerWaitingState).l2j = function () {
|
|
1778
1888
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1779
1889
|
};
|
|
1780
|
-
protoOf(PlayerWaitingState).
|
|
1890
|
+
protoOf(PlayerWaitingState).m2j = function () {
|
|
1781
1891
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1782
1892
|
};
|
|
1783
1893
|
function Companion_11() {
|
|
1784
1894
|
}
|
|
1785
|
-
protoOf(Companion_11).
|
|
1895
|
+
protoOf(Companion_11).n2j = function (connection) {
|
|
1786
1896
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1787
1897
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1788
1898
|
};
|
|
1789
|
-
protoOf(Companion_11).
|
|
1790
|
-
return _this__u8e3s4.
|
|
1899
|
+
protoOf(Companion_11).o2j = function (_this__u8e3s4) {
|
|
1900
|
+
return _this__u8e3s4.p2j(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
1791
1901
|
};
|
|
1792
|
-
protoOf(Companion_11).
|
|
1902
|
+
protoOf(Companion_11).q2j = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
1793
1903
|
var tmp0_startFromTime = System_instance.e2f();
|
|
1794
1904
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1795
|
-
return _this__u8e3s4.
|
|
1905
|
+
return _this__u8e3s4.p2j(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
1796
1906
|
};
|
|
1797
1907
|
var Companion_instance_11;
|
|
1798
1908
|
function Companion_getInstance_12() {
|
|
@@ -1813,17 +1923,17 @@
|
|
|
1813
1923
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1814
1924
|
tag = tag === VOID ? null : tag;
|
|
1815
1925
|
connection = connection === VOID ? null : connection;
|
|
1816
|
-
this.
|
|
1817
|
-
this.
|
|
1818
|
-
this.
|
|
1819
|
-
this.
|
|
1820
|
-
this.
|
|
1821
|
-
this.
|
|
1822
|
-
this.
|
|
1823
|
-
}
|
|
1824
|
-
protoOf(PlayerState).
|
|
1926
|
+
this.x2h_1 = startFromTime;
|
|
1927
|
+
this.y2h_1 = playerTurnTimeout;
|
|
1928
|
+
this.z2h_1 = waitPlayerUntilTime;
|
|
1929
|
+
this.a2i_1 = state;
|
|
1930
|
+
this.b2i_1 = ready;
|
|
1931
|
+
this.c2i_1 = tag;
|
|
1932
|
+
this.d2i_1 = connection;
|
|
1933
|
+
}
|
|
1934
|
+
protoOf(PlayerState).r2j = function () {
|
|
1825
1935
|
// Inline function 'kotlin.requireNotNull' call
|
|
1826
|
-
var value = this.
|
|
1936
|
+
var value = this.d2i_1;
|
|
1827
1937
|
// Inline function 'kotlin.contracts.contract' call
|
|
1828
1938
|
var tmp$ret$1;
|
|
1829
1939
|
$l$block: {
|
|
@@ -1840,9 +1950,9 @@
|
|
|
1840
1950
|
}
|
|
1841
1951
|
return tmp$ret$1;
|
|
1842
1952
|
};
|
|
1843
|
-
protoOf(PlayerState).
|
|
1953
|
+
protoOf(PlayerState).s2j = function () {
|
|
1844
1954
|
// Inline function 'kotlin.requireNotNull' call
|
|
1845
|
-
var value = this.
|
|
1955
|
+
var value = this.c2i_1;
|
|
1846
1956
|
// Inline function 'kotlin.contracts.contract' call
|
|
1847
1957
|
var tmp$ret$1;
|
|
1848
1958
|
$l$block: {
|
|
@@ -1859,37 +1969,37 @@
|
|
|
1859
1969
|
}
|
|
1860
1970
|
return tmp$ret$1;
|
|
1861
1971
|
};
|
|
1862
|
-
protoOf(PlayerState).
|
|
1863
|
-
var tmp0_elvis_lhs = this.
|
|
1972
|
+
protoOf(PlayerState).t2j = function () {
|
|
1973
|
+
var tmp0_elvis_lhs = this.c2i_1;
|
|
1864
1974
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1865
1975
|
};
|
|
1866
|
-
protoOf(PlayerState).
|
|
1867
|
-
return this.
|
|
1976
|
+
protoOf(PlayerState).e2i = function () {
|
|
1977
|
+
return this.a2i_1.l2j() ? true : this.a2i_1.m2j();
|
|
1868
1978
|
};
|
|
1869
|
-
protoOf(PlayerState).
|
|
1979
|
+
protoOf(PlayerState).u2j = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1870
1980
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
1871
1981
|
};
|
|
1872
|
-
protoOf(PlayerState).
|
|
1873
|
-
startFromTime = startFromTime === VOID ? this.
|
|
1874
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
1875
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
1876
|
-
state = state === VOID ? this.
|
|
1877
|
-
ready = ready === VOID ? this.
|
|
1878
|
-
tag = tag === VOID ? this.
|
|
1879
|
-
connection = connection === VOID ? this.
|
|
1880
|
-
return $super === VOID ? this.
|
|
1982
|
+
protoOf(PlayerState).p2j = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
1983
|
+
startFromTime = startFromTime === VOID ? this.x2h_1 : startFromTime;
|
|
1984
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.y2h_1 : playerTurnTimeout;
|
|
1985
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.z2h_1 : waitPlayerUntilTime;
|
|
1986
|
+
state = state === VOID ? this.a2i_1 : state;
|
|
1987
|
+
ready = ready === VOID ? this.b2i_1 : ready;
|
|
1988
|
+
tag = tag === VOID ? this.c2i_1 : tag;
|
|
1989
|
+
connection = connection === VOID ? this.d2i_1 : connection;
|
|
1990
|
+
return $super === VOID ? this.u2j(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.u2j.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
1881
1991
|
};
|
|
1882
1992
|
protoOf(PlayerState).toString = function () {
|
|
1883
|
-
return 'PlayerState(startFromTime=' + this.
|
|
1993
|
+
return 'PlayerState(startFromTime=' + this.x2h_1 + ', playerTurnTimeout=' + this.y2h_1 + ', waitPlayerUntilTime=' + this.z2h_1 + ', state=' + this.a2i_1 + ', ready=' + this.b2i_1 + ', tag=' + this.c2i_1 + ', connection=' + this.d2i_1 + ')';
|
|
1884
1994
|
};
|
|
1885
1995
|
protoOf(PlayerState).hashCode = function () {
|
|
1886
|
-
var result = this.
|
|
1887
|
-
result = imul(result, 31) + (this.
|
|
1888
|
-
result = imul(result, 31) + (this.v2h_1 == null ? 0 : this.v2h_1.hashCode()) | 0;
|
|
1889
|
-
result = imul(result, 31) + this.w2h_1.hashCode() | 0;
|
|
1890
|
-
result = imul(result, 31) + getBooleanHashCode(this.x2h_1) | 0;
|
|
1891
|
-
result = imul(result, 31) + (this.y2h_1 == null ? 0 : getStringHashCode(this.y2h_1)) | 0;
|
|
1996
|
+
var result = this.x2h_1 == null ? 0 : this.x2h_1.hashCode();
|
|
1997
|
+
result = imul(result, 31) + (this.y2h_1 == null ? 0 : this.y2h_1.hashCode()) | 0;
|
|
1892
1998
|
result = imul(result, 31) + (this.z2h_1 == null ? 0 : this.z2h_1.hashCode()) | 0;
|
|
1999
|
+
result = imul(result, 31) + this.a2i_1.hashCode() | 0;
|
|
2000
|
+
result = imul(result, 31) + getBooleanHashCode(this.b2i_1) | 0;
|
|
2001
|
+
result = imul(result, 31) + (this.c2i_1 == null ? 0 : getStringHashCode(this.c2i_1)) | 0;
|
|
2002
|
+
result = imul(result, 31) + (this.d2i_1 == null ? 0 : this.d2i_1.hashCode()) | 0;
|
|
1893
2003
|
return result;
|
|
1894
2004
|
};
|
|
1895
2005
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1898,30 +2008,30 @@
|
|
|
1898
2008
|
if (!(other instanceof PlayerState))
|
|
1899
2009
|
return false;
|
|
1900
2010
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1901
|
-
if (!equals(this.
|
|
2011
|
+
if (!equals(this.x2h_1, tmp0_other_with_cast.x2h_1))
|
|
1902
2012
|
return false;
|
|
1903
|
-
if (!equals(this.
|
|
2013
|
+
if (!equals(this.y2h_1, tmp0_other_with_cast.y2h_1))
|
|
1904
2014
|
return false;
|
|
1905
|
-
if (!equals(this.
|
|
2015
|
+
if (!equals(this.z2h_1, tmp0_other_with_cast.z2h_1))
|
|
1906
2016
|
return false;
|
|
1907
|
-
if (!this.
|
|
2017
|
+
if (!this.a2i_1.equals(tmp0_other_with_cast.a2i_1))
|
|
1908
2018
|
return false;
|
|
1909
|
-
if (!(this.
|
|
2019
|
+
if (!(this.b2i_1 === tmp0_other_with_cast.b2i_1))
|
|
1910
2020
|
return false;
|
|
1911
|
-
if (!(this.
|
|
2021
|
+
if (!(this.c2i_1 == tmp0_other_with_cast.c2i_1))
|
|
1912
2022
|
return false;
|
|
1913
|
-
if (!equals(this.
|
|
2023
|
+
if (!equals(this.d2i_1, tmp0_other_with_cast.d2i_1))
|
|
1914
2024
|
return false;
|
|
1915
2025
|
return true;
|
|
1916
2026
|
};
|
|
1917
2027
|
function Team(playerIds) {
|
|
1918
|
-
this.
|
|
2028
|
+
this.v2j_1 = playerIds;
|
|
1919
2029
|
}
|
|
1920
2030
|
protoOf(Team).toString = function () {
|
|
1921
|
-
return 'Team(playerIds=' + this.
|
|
2031
|
+
return 'Team(playerIds=' + this.v2j_1 + ')';
|
|
1922
2032
|
};
|
|
1923
2033
|
protoOf(Team).hashCode = function () {
|
|
1924
|
-
return hashCode(this.
|
|
2034
|
+
return hashCode(this.v2j_1);
|
|
1925
2035
|
};
|
|
1926
2036
|
protoOf(Team).equals = function (other) {
|
|
1927
2037
|
if (this === other)
|
|
@@ -1929,7 +2039,7 @@
|
|
|
1929
2039
|
if (!(other instanceof Team))
|
|
1930
2040
|
return false;
|
|
1931
2041
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1932
|
-
if (!equals(this.
|
|
2042
|
+
if (!equals(this.v2j_1, tmp0_other_with_cast.v2j_1))
|
|
1933
2043
|
return false;
|
|
1934
2044
|
return true;
|
|
1935
2045
|
};
|
|
@@ -1973,55 +2083,55 @@
|
|
|
1973
2083
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1974
2084
|
this.tenCardsInHand = tenCardsInHand;
|
|
1975
2085
|
}
|
|
1976
|
-
protoOf(Rules).
|
|
2086
|
+
protoOf(Rules).w2j = function () {
|
|
1977
2087
|
return this.needToPutHigherTrump;
|
|
1978
2088
|
};
|
|
1979
|
-
protoOf(Rules).
|
|
2089
|
+
protoOf(Rules).x2j = function () {
|
|
1980
2090
|
return this.distributePoints;
|
|
1981
2091
|
};
|
|
1982
|
-
protoOf(Rules).
|
|
2092
|
+
protoOf(Rules).y2j = function () {
|
|
1983
2093
|
return this.protectBella;
|
|
1984
2094
|
};
|
|
1985
|
-
protoOf(Rules).
|
|
2095
|
+
protoOf(Rules).z2j = function () {
|
|
1986
2096
|
return this.oneTryToProtectBella;
|
|
1987
2097
|
};
|
|
1988
|
-
protoOf(Rules).
|
|
2098
|
+
protoOf(Rules).a2k = function () {
|
|
1989
2099
|
return this.enableFourSevensCombination;
|
|
1990
2100
|
};
|
|
1991
|
-
protoOf(Rules).
|
|
2101
|
+
protoOf(Rules).b2k = function () {
|
|
1992
2102
|
return this.enableTrumpSevenCombination;
|
|
1993
2103
|
};
|
|
1994
|
-
protoOf(Rules).
|
|
2104
|
+
protoOf(Rules).c2k = function () {
|
|
1995
2105
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1996
2106
|
};
|
|
1997
|
-
protoOf(Rules).
|
|
2107
|
+
protoOf(Rules).d2k = function () {
|
|
1998
2108
|
return this.playerWhoChooseSuitGoFirst;
|
|
1999
2109
|
};
|
|
2000
|
-
protoOf(Rules).
|
|
2110
|
+
protoOf(Rules).e2k = function () {
|
|
2001
2111
|
return this.winnerShuffleCards;
|
|
2002
2112
|
};
|
|
2003
|
-
protoOf(Rules).
|
|
2113
|
+
protoOf(Rules).f2k = function () {
|
|
2004
2114
|
return this.playWithoutLiabilities;
|
|
2005
2115
|
};
|
|
2006
|
-
protoOf(Rules).
|
|
2116
|
+
protoOf(Rules).g2k = function () {
|
|
2007
2117
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2008
2118
|
};
|
|
2009
|
-
protoOf(Rules).
|
|
2119
|
+
protoOf(Rules).h2k = function () {
|
|
2010
2120
|
return this.enableFineIfNoBribes;
|
|
2011
2121
|
};
|
|
2012
|
-
protoOf(Rules).
|
|
2122
|
+
protoOf(Rules).i2k = function () {
|
|
2013
2123
|
return this.fineIfNoBribes;
|
|
2014
2124
|
};
|
|
2015
|
-
protoOf(Rules).
|
|
2125
|
+
protoOf(Rules).j2k = function () {
|
|
2016
2126
|
return this.enableFineAfterThirdByte;
|
|
2017
2127
|
};
|
|
2018
|
-
protoOf(Rules).
|
|
2128
|
+
protoOf(Rules).k2k = function () {
|
|
2019
2129
|
return this.checkTrumpCombination;
|
|
2020
2130
|
};
|
|
2021
|
-
protoOf(Rules).
|
|
2131
|
+
protoOf(Rules).l2k = function () {
|
|
2022
2132
|
return this.checkOnlyTrumpDebertz;
|
|
2023
2133
|
};
|
|
2024
|
-
protoOf(Rules).
|
|
2134
|
+
protoOf(Rules).m2k = function () {
|
|
2025
2135
|
return this.tenCardsInHand;
|
|
2026
2136
|
};
|
|
2027
2137
|
protoOf(Rules).oc = function () {
|
|
@@ -2033,49 +2143,49 @@
|
|
|
2033
2143
|
protoOf(Rules).qg = function () {
|
|
2034
2144
|
return this.protectBella;
|
|
2035
2145
|
};
|
|
2036
|
-
protoOf(Rules).
|
|
2146
|
+
protoOf(Rules).n2h = function () {
|
|
2037
2147
|
return this.oneTryToProtectBella;
|
|
2038
2148
|
};
|
|
2039
|
-
protoOf(Rules).
|
|
2149
|
+
protoOf(Rules).o2h = function () {
|
|
2040
2150
|
return this.enableFourSevensCombination;
|
|
2041
2151
|
};
|
|
2042
|
-
protoOf(Rules).
|
|
2152
|
+
protoOf(Rules).p2h = function () {
|
|
2043
2153
|
return this.enableTrumpSevenCombination;
|
|
2044
2154
|
};
|
|
2045
|
-
protoOf(Rules).
|
|
2155
|
+
protoOf(Rules).n2k = function () {
|
|
2046
2156
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2047
2157
|
};
|
|
2048
|
-
protoOf(Rules).
|
|
2158
|
+
protoOf(Rules).o2k = function () {
|
|
2049
2159
|
return this.playerWhoChooseSuitGoFirst;
|
|
2050
2160
|
};
|
|
2051
|
-
protoOf(Rules).
|
|
2161
|
+
protoOf(Rules).p2k = function () {
|
|
2052
2162
|
return this.winnerShuffleCards;
|
|
2053
2163
|
};
|
|
2054
|
-
protoOf(Rules).
|
|
2164
|
+
protoOf(Rules).q2k = function () {
|
|
2055
2165
|
return this.playWithoutLiabilities;
|
|
2056
2166
|
};
|
|
2057
|
-
protoOf(Rules).
|
|
2167
|
+
protoOf(Rules).r2k = function () {
|
|
2058
2168
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2059
2169
|
};
|
|
2060
|
-
protoOf(Rules).
|
|
2170
|
+
protoOf(Rules).s2k = function () {
|
|
2061
2171
|
return this.enableFineIfNoBribes;
|
|
2062
2172
|
};
|
|
2063
|
-
protoOf(Rules).
|
|
2173
|
+
protoOf(Rules).t2k = function () {
|
|
2064
2174
|
return this.fineIfNoBribes;
|
|
2065
2175
|
};
|
|
2066
|
-
protoOf(Rules).
|
|
2176
|
+
protoOf(Rules).u2k = function () {
|
|
2067
2177
|
return this.enableFineAfterThirdByte;
|
|
2068
2178
|
};
|
|
2069
|
-
protoOf(Rules).
|
|
2179
|
+
protoOf(Rules).v2k = function () {
|
|
2070
2180
|
return this.checkTrumpCombination;
|
|
2071
2181
|
};
|
|
2072
|
-
protoOf(Rules).
|
|
2182
|
+
protoOf(Rules).w2k = function () {
|
|
2073
2183
|
return this.checkOnlyTrumpDebertz;
|
|
2074
2184
|
};
|
|
2075
|
-
protoOf(Rules).
|
|
2185
|
+
protoOf(Rules).x2k = function () {
|
|
2076
2186
|
return this.tenCardsInHand;
|
|
2077
2187
|
};
|
|
2078
|
-
protoOf(Rules).
|
|
2188
|
+
protoOf(Rules).y2k = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2079
2189
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2080
2190
|
};
|
|
2081
2191
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2096,7 +2206,7 @@
|
|
|
2096
2206
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2097
2207
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2098
2208
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2099
|
-
return this.
|
|
2209
|
+
return this.y2k(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2100
2210
|
};
|
|
2101
2211
|
protoOf(Rules).toString = function () {
|
|
2102
2212
|
return 'Rules(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -2171,7 +2281,7 @@
|
|
|
2171
2281
|
function values_2() {
|
|
2172
2282
|
return [RulesSetType_belot_getInstance(), RulesSetType_klabor_getInstance(), RulesSetType_debertzCommon_getInstance(), RulesSetType_debertzKharkiv_getInstance(), RulesSetType_custom_getInstance()];
|
|
2173
2283
|
}
|
|
2174
|
-
function
|
|
2284
|
+
function valueOf_1(value) {
|
|
2175
2285
|
switch (value) {
|
|
2176
2286
|
case 'belot':
|
|
2177
2287
|
return RulesSetType_belot_getInstance();
|
|
@@ -2251,7 +2361,7 @@
|
|
|
2251
2361
|
return RulesSetType_custom_instance;
|
|
2252
2362
|
}
|
|
2253
2363
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2254
|
-
return $this.
|
|
2364
|
+
return $this.b2l_1.o2();
|
|
2255
2365
|
}
|
|
2256
2366
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2257
2367
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2265,7 +2375,7 @@
|
|
|
2265
2375
|
Companion_instance_13 = this;
|
|
2266
2376
|
var tmp = this;
|
|
2267
2377
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2268
|
-
tmp.
|
|
2378
|
+
tmp.b2l_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2269
2379
|
}
|
|
2270
2380
|
protoOf(Companion_13).o1z = function () {
|
|
2271
2381
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2286,7 +2396,7 @@
|
|
|
2286
2396
|
Companion_getInstance_14();
|
|
2287
2397
|
}
|
|
2288
2398
|
function mapToDto(_this__u8e3s4) {
|
|
2289
|
-
return _this__u8e3s4.
|
|
2399
|
+
return _this__u8e3s4.d2l_1;
|
|
2290
2400
|
}
|
|
2291
2401
|
function mapFromDto(_this__u8e3s4) {
|
|
2292
2402
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2463,38 +2573,38 @@
|
|
|
2463
2573
|
return new RulesDto(tmp_0, tmp_2, tmp_4, VOID, tmp_6, tmp_8, tmp_10, tmp_12, tmp_14, tmp_16, tmp_18, tmp_20, _this__u8e3s4.fineIfNoBribes, tmp_22, tmp_24, tmp_26, tmp$ret$29);
|
|
2464
2574
|
}
|
|
2465
2575
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2466
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2576
|
+
var tmp0_elvis_lhs = _this__u8e3s4.needToPutHigherTrump;
|
|
2467
2577
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2468
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2578
|
+
var tmp1_elvis_lhs = _this__u8e3s4.distributePoints;
|
|
2469
2579
|
var tmp_0 = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
2470
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2580
|
+
var tmp2_elvis_lhs = _this__u8e3s4.protectBella;
|
|
2471
2581
|
var tmp_1 = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
2472
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2582
|
+
var tmp3_elvis_lhs = _this__u8e3s4.oneTryToProtectBella;
|
|
2473
2583
|
var tmp_2 = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2474
|
-
var tmp4_elvis_lhs = _this__u8e3s4.
|
|
2584
|
+
var tmp4_elvis_lhs = _this__u8e3s4.enableFourSevensCombination;
|
|
2475
2585
|
var tmp_3 = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
2476
|
-
var tmp5_elvis_lhs = _this__u8e3s4.
|
|
2586
|
+
var tmp5_elvis_lhs = _this__u8e3s4.enableTrumpSevenCombination;
|
|
2477
2587
|
var tmp_4 = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
|
|
2478
|
-
var tmp6_elvis_lhs = _this__u8e3s4.
|
|
2588
|
+
var tmp6_elvis_lhs = _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution;
|
|
2479
2589
|
var tmp_5 = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
2480
|
-
var tmp7_elvis_lhs = _this__u8e3s4.
|
|
2590
|
+
var tmp7_elvis_lhs = _this__u8e3s4.playerWhoChooseSuitGoFirst;
|
|
2481
2591
|
var tmp_6 = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
|
|
2482
|
-
var tmp8_elvis_lhs = _this__u8e3s4.
|
|
2592
|
+
var tmp8_elvis_lhs = _this__u8e3s4.winnerShuffleCards;
|
|
2483
2593
|
var tmp_7 = tmp8_elvis_lhs == null ? false : tmp8_elvis_lhs;
|
|
2484
|
-
var tmp9_elvis_lhs = _this__u8e3s4.
|
|
2594
|
+
var tmp9_elvis_lhs = _this__u8e3s4.playWithoutLiabilities;
|
|
2485
2595
|
var tmp_8 = tmp9_elvis_lhs == null ? false : tmp9_elvis_lhs;
|
|
2486
|
-
var tmp10_elvis_lhs = _this__u8e3s4.
|
|
2596
|
+
var tmp10_elvis_lhs = _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards;
|
|
2487
2597
|
var tmp_9 = tmp10_elvis_lhs == null ? false : tmp10_elvis_lhs;
|
|
2488
|
-
var tmp11_elvis_lhs = _this__u8e3s4.
|
|
2598
|
+
var tmp11_elvis_lhs = _this__u8e3s4.enableFineIfNoBribes;
|
|
2489
2599
|
var tmp_10 = tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs;
|
|
2490
|
-
var tmp12_elvis_lhs = _this__u8e3s4.
|
|
2600
|
+
var tmp12_elvis_lhs = _this__u8e3s4.enableFineAfterThirdByte;
|
|
2491
2601
|
var tmp_11 = tmp12_elvis_lhs == null ? false : tmp12_elvis_lhs;
|
|
2492
|
-
var tmp13_elvis_lhs = _this__u8e3s4.
|
|
2602
|
+
var tmp13_elvis_lhs = _this__u8e3s4.checkTrumpCombination;
|
|
2493
2603
|
var tmp_12 = tmp13_elvis_lhs == null ? false : tmp13_elvis_lhs;
|
|
2494
|
-
var tmp14_elvis_lhs = _this__u8e3s4.
|
|
2604
|
+
var tmp14_elvis_lhs = _this__u8e3s4.checkOnlyTrumpDebertz;
|
|
2495
2605
|
var tmp_13 = tmp14_elvis_lhs == null ? false : tmp14_elvis_lhs;
|
|
2496
|
-
var tmp15_elvis_lhs = _this__u8e3s4.
|
|
2497
|
-
return new Rules(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, _this__u8e3s4.
|
|
2606
|
+
var tmp15_elvis_lhs = _this__u8e3s4.tenCardsInHand;
|
|
2607
|
+
return new Rules(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, _this__u8e3s4.fineIfNoBribes, tmp_11, tmp_12, tmp_13, tmp15_elvis_lhs == null ? false : tmp15_elvis_lhs);
|
|
2498
2608
|
}
|
|
2499
2609
|
function mapToDto_1(_this__u8e3s4) {
|
|
2500
2610
|
// Inline function 'kotlin.takeIf' call
|
|
@@ -2508,11 +2618,11 @@
|
|
|
2508
2618
|
tmp = null;
|
|
2509
2619
|
}
|
|
2510
2620
|
var tmp$ret$1 = tmp;
|
|
2511
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2621
|
+
return new GameUserInfoDto(_this__u8e3s4.i2h_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
2512
2622
|
}
|
|
2513
2623
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2514
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2515
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
2624
|
+
var tmp0_elvis_lhs = _this__u8e3s4.h2l_1;
|
|
2625
|
+
return new GameUserInfo(_this__u8e3s4.e2l_1, _this__u8e3s4.f2l_1, _this__u8e3s4.g2l_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.i2l_1);
|
|
2516
2626
|
}
|
|
2517
2627
|
function Companion_14() {
|
|
2518
2628
|
}
|
|
@@ -2528,10 +2638,10 @@
|
|
|
2528
2638
|
tmp0_serialDesc.k1n('avatarUrl', true);
|
|
2529
2639
|
tmp0_serialDesc.k1n('isBot', true);
|
|
2530
2640
|
tmp0_serialDesc.k1n('initialLuckyFactor', true);
|
|
2531
|
-
this.
|
|
2641
|
+
this.j2l_1 = tmp0_serialDesc;
|
|
2532
2642
|
}
|
|
2533
2643
|
protoOf($serializer_5).p1c = function () {
|
|
2534
|
-
return this.
|
|
2644
|
+
return this.j2l_1;
|
|
2535
2645
|
};
|
|
2536
2646
|
protoOf($serializer_5).z1n = function () {
|
|
2537
2647
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2540,7 +2650,7 @@
|
|
|
2540
2650
|
return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2541
2651
|
};
|
|
2542
2652
|
protoOf($serializer_5).r1c = function (decoder) {
|
|
2543
|
-
var tmp0_desc = this.
|
|
2653
|
+
var tmp0_desc = this.j2l_1;
|
|
2544
2654
|
var tmp1_flag = true;
|
|
2545
2655
|
var tmp2_index = 0;
|
|
2546
2656
|
var tmp3_bitMask0 = 0;
|
|
@@ -2595,24 +2705,24 @@
|
|
|
2595
2705
|
tmp9_input.y1f(tmp0_desc);
|
|
2596
2706
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
2597
2707
|
};
|
|
2598
|
-
protoOf($serializer_5).
|
|
2599
|
-
var tmp0_desc = this.
|
|
2708
|
+
protoOf($serializer_5).k2l = function (encoder, value) {
|
|
2709
|
+
var tmp0_desc = this.j2l_1;
|
|
2600
2710
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
2601
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
2602
|
-
tmp1_output.m1h(tmp0_desc, 1, value.
|
|
2603
|
-
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.
|
|
2604
|
-
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2711
|
+
tmp1_output.m1h(tmp0_desc, 0, value.e2l_1);
|
|
2712
|
+
tmp1_output.m1h(tmp0_desc, 1, value.f2l_1);
|
|
2713
|
+
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.g2l_1 == null)) {
|
|
2714
|
+
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.g2l_1);
|
|
2605
2715
|
}
|
|
2606
|
-
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.
|
|
2607
|
-
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2716
|
+
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.h2l_1 === false)) {
|
|
2717
|
+
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.h2l_1);
|
|
2608
2718
|
}
|
|
2609
|
-
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.
|
|
2610
|
-
tmp1_output.q1h(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
2719
|
+
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.i2l_1 == null)) {
|
|
2720
|
+
tmp1_output.q1h(tmp0_desc, 4, FloatSerializer_getInstance(), value.i2l_1);
|
|
2611
2721
|
}
|
|
2612
2722
|
tmp1_output.y1f(tmp0_desc);
|
|
2613
2723
|
};
|
|
2614
2724
|
protoOf($serializer_5).q1c = function (encoder, value) {
|
|
2615
|
-
return this.
|
|
2725
|
+
return this.k2l(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2616
2726
|
};
|
|
2617
2727
|
var $serializer_instance_5;
|
|
2618
2728
|
function $serializer_getInstance_5() {
|
|
@@ -2622,22 +2732,22 @@
|
|
|
2622
2732
|
}
|
|
2623
2733
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2624
2734
|
if (!(3 === (3 & seen1))) {
|
|
2625
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
2735
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().j2l_1);
|
|
2626
2736
|
}
|
|
2627
|
-
$this.
|
|
2628
|
-
$this.
|
|
2737
|
+
$this.e2l_1 = playerId;
|
|
2738
|
+
$this.f2l_1 = name;
|
|
2629
2739
|
if (0 === (seen1 & 4))
|
|
2630
|
-
$this.
|
|
2740
|
+
$this.g2l_1 = null;
|
|
2631
2741
|
else
|
|
2632
|
-
$this.
|
|
2742
|
+
$this.g2l_1 = avatarUrl;
|
|
2633
2743
|
if (0 === (seen1 & 8))
|
|
2634
|
-
$this.
|
|
2744
|
+
$this.h2l_1 = false;
|
|
2635
2745
|
else
|
|
2636
|
-
$this.
|
|
2746
|
+
$this.h2l_1 = isBot;
|
|
2637
2747
|
if (0 === (seen1 & 16))
|
|
2638
|
-
$this.
|
|
2748
|
+
$this.i2l_1 = null;
|
|
2639
2749
|
else
|
|
2640
|
-
$this.
|
|
2750
|
+
$this.i2l_1 = initialLuckyFactor;
|
|
2641
2751
|
return $this;
|
|
2642
2752
|
}
|
|
2643
2753
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2647,21 +2757,21 @@
|
|
|
2647
2757
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2648
2758
|
isBot = isBot === VOID ? false : isBot;
|
|
2649
2759
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
2650
|
-
this.
|
|
2651
|
-
this.
|
|
2652
|
-
this.
|
|
2653
|
-
this.
|
|
2654
|
-
this.
|
|
2760
|
+
this.e2l_1 = playerId;
|
|
2761
|
+
this.f2l_1 = name;
|
|
2762
|
+
this.g2l_1 = avatarUrl;
|
|
2763
|
+
this.h2l_1 = isBot;
|
|
2764
|
+
this.i2l_1 = initialLuckyFactor;
|
|
2655
2765
|
}
|
|
2656
2766
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2657
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2767
|
+
return 'GameUserInfoDto(playerId=' + this.e2l_1 + ', name=' + this.f2l_1 + ', avatarUrl=' + this.g2l_1 + ', isBot=' + this.h2l_1 + ', initialLuckyFactor=' + this.i2l_1 + ')';
|
|
2658
2768
|
};
|
|
2659
2769
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2660
|
-
var result = getStringHashCode(this.
|
|
2661
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2662
|
-
result = imul(result, 31) + (this.
|
|
2663
|
-
result = imul(result, 31) + (this.
|
|
2664
|
-
result = imul(result, 31) + (this.
|
|
2770
|
+
var result = getStringHashCode(this.e2l_1);
|
|
2771
|
+
result = imul(result, 31) + getStringHashCode(this.f2l_1) | 0;
|
|
2772
|
+
result = imul(result, 31) + (this.g2l_1 == null ? 0 : getStringHashCode(this.g2l_1)) | 0;
|
|
2773
|
+
result = imul(result, 31) + (this.h2l_1 == null ? 0 : getBooleanHashCode(this.h2l_1)) | 0;
|
|
2774
|
+
result = imul(result, 31) + (this.i2l_1 == null ? 0 : getNumberHashCode(this.i2l_1)) | 0;
|
|
2665
2775
|
return result;
|
|
2666
2776
|
};
|
|
2667
2777
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2670,15 +2780,15 @@
|
|
|
2670
2780
|
if (!(other instanceof GameUserInfoDto))
|
|
2671
2781
|
return false;
|
|
2672
2782
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2673
|
-
if (!(this.
|
|
2783
|
+
if (!(this.e2l_1 === tmp0_other_with_cast.e2l_1))
|
|
2674
2784
|
return false;
|
|
2675
|
-
if (!(this.
|
|
2785
|
+
if (!(this.f2l_1 === tmp0_other_with_cast.f2l_1))
|
|
2676
2786
|
return false;
|
|
2677
|
-
if (!(this.
|
|
2787
|
+
if (!(this.g2l_1 == tmp0_other_with_cast.g2l_1))
|
|
2678
2788
|
return false;
|
|
2679
|
-
if (!(this.
|
|
2789
|
+
if (!(this.h2l_1 == tmp0_other_with_cast.h2l_1))
|
|
2680
2790
|
return false;
|
|
2681
|
-
if (!equals(this.
|
|
2791
|
+
if (!equals(this.i2l_1, tmp0_other_with_cast.i2l_1))
|
|
2682
2792
|
return false;
|
|
2683
2793
|
return true;
|
|
2684
2794
|
};
|
|
@@ -2688,7 +2798,7 @@
|
|
|
2688
2798
|
// Inline function 'kotlin.arrayOf' call
|
|
2689
2799
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2690
2800
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2691
|
-
tmp.
|
|
2801
|
+
tmp.l2l_1 = [Companion_getInstance_10().o1z(), null, null];
|
|
2692
2802
|
}
|
|
2693
2803
|
var Companion_instance_15;
|
|
2694
2804
|
function Companion_getInstance_16() {
|
|
@@ -2702,19 +2812,19 @@
|
|
|
2702
2812
|
tmp0_serialDesc.k1n('state', false);
|
|
2703
2813
|
tmp0_serialDesc.k1n('connectionChangedTime', false);
|
|
2704
2814
|
tmp0_serialDesc.k1n('notLiveDurationRecord', false);
|
|
2705
|
-
this.
|
|
2815
|
+
this.m2l_1 = tmp0_serialDesc;
|
|
2706
2816
|
}
|
|
2707
2817
|
protoOf($serializer_6).p1c = function () {
|
|
2708
|
-
return this.
|
|
2818
|
+
return this.m2l_1;
|
|
2709
2819
|
};
|
|
2710
2820
|
protoOf($serializer_6).z1n = function () {
|
|
2711
2821
|
// Inline function 'kotlin.arrayOf' call
|
|
2712
2822
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2713
2823
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2714
|
-
return [Companion_getInstance_16().
|
|
2824
|
+
return [Companion_getInstance_16().l2l_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2715
2825
|
};
|
|
2716
2826
|
protoOf($serializer_6).r1c = function (decoder) {
|
|
2717
|
-
var tmp0_desc = this.
|
|
2827
|
+
var tmp0_desc = this.m2l_1;
|
|
2718
2828
|
var tmp1_flag = true;
|
|
2719
2829
|
var tmp2_index = 0;
|
|
2720
2830
|
var tmp3_bitMask0 = 0;
|
|
@@ -2722,7 +2832,7 @@
|
|
|
2722
2832
|
var tmp5_local1 = null;
|
|
2723
2833
|
var tmp6_local2 = null;
|
|
2724
2834
|
var tmp7_input = decoder.x1f(tmp0_desc);
|
|
2725
|
-
var tmp8_cached = Companion_getInstance_16().
|
|
2835
|
+
var tmp8_cached = Companion_getInstance_16().l2l_1;
|
|
2726
2836
|
if (tmp7_input.n1g()) {
|
|
2727
2837
|
tmp4_local0 = tmp7_input.j1g(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2728
2838
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2756,17 +2866,17 @@
|
|
|
2756
2866
|
tmp7_input.y1f(tmp0_desc);
|
|
2757
2867
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2758
2868
|
};
|
|
2759
|
-
protoOf($serializer_6).
|
|
2760
|
-
var tmp0_desc = this.
|
|
2869
|
+
protoOf($serializer_6).n2l = function (encoder, value) {
|
|
2870
|
+
var tmp0_desc = this.m2l_1;
|
|
2761
2871
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
2762
|
-
var tmp2_cached = Companion_getInstance_16().
|
|
2763
|
-
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.
|
|
2764
|
-
tmp1_output.m1h(tmp0_desc, 1, value.
|
|
2765
|
-
tmp1_output.m1h(tmp0_desc, 2, value.
|
|
2872
|
+
var tmp2_cached = Companion_getInstance_16().l2l_1;
|
|
2873
|
+
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.o2l_1);
|
|
2874
|
+
tmp1_output.m1h(tmp0_desc, 1, value.p2l_1);
|
|
2875
|
+
tmp1_output.m1h(tmp0_desc, 2, value.q2l_1);
|
|
2766
2876
|
tmp1_output.y1f(tmp0_desc);
|
|
2767
2877
|
};
|
|
2768
2878
|
protoOf($serializer_6).q1c = function (encoder, value) {
|
|
2769
|
-
return this.
|
|
2879
|
+
return this.n2l(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2770
2880
|
};
|
|
2771
2881
|
var $serializer_instance_6;
|
|
2772
2882
|
function $serializer_getInstance_6() {
|
|
@@ -2776,11 +2886,11 @@
|
|
|
2776
2886
|
}
|
|
2777
2887
|
function PlayerConnectionDto_init_$Init$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2778
2888
|
if (!(7 === (7 & seen1))) {
|
|
2779
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
2889
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().m2l_1);
|
|
2780
2890
|
}
|
|
2781
|
-
$this.
|
|
2782
|
-
$this.
|
|
2783
|
-
$this.
|
|
2891
|
+
$this.o2l_1 = state;
|
|
2892
|
+
$this.p2l_1 = connectionChangedTime;
|
|
2893
|
+
$this.q2l_1 = notLiveDurationRecord;
|
|
2784
2894
|
return $this;
|
|
2785
2895
|
}
|
|
2786
2896
|
function PlayerConnectionDto_init_$Create$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -2789,12 +2899,12 @@
|
|
|
2789
2899
|
function PlayerConnectionDto() {
|
|
2790
2900
|
}
|
|
2791
2901
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
2792
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
2902
|
+
return 'PlayerConnectionDto(state=' + this.o2l_1 + ', connectionChangedTime=' + this.p2l_1 + ', notLiveDurationRecord=' + this.q2l_1 + ')';
|
|
2793
2903
|
};
|
|
2794
2904
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2795
|
-
var result = this.
|
|
2796
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2797
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2905
|
+
var result = this.o2l_1.hashCode();
|
|
2906
|
+
result = imul(result, 31) + getStringHashCode(this.p2l_1) | 0;
|
|
2907
|
+
result = imul(result, 31) + getStringHashCode(this.q2l_1) | 0;
|
|
2798
2908
|
return result;
|
|
2799
2909
|
};
|
|
2800
2910
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -2803,11 +2913,11 @@
|
|
|
2803
2913
|
if (!(other instanceof PlayerConnectionDto))
|
|
2804
2914
|
return false;
|
|
2805
2915
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
2806
|
-
if (!this.
|
|
2916
|
+
if (!this.o2l_1.equals(tmp0_other_with_cast.o2l_1))
|
|
2807
2917
|
return false;
|
|
2808
|
-
if (!(this.
|
|
2918
|
+
if (!(this.p2l_1 === tmp0_other_with_cast.p2l_1))
|
|
2809
2919
|
return false;
|
|
2810
|
-
if (!(this.
|
|
2920
|
+
if (!(this.q2l_1 === tmp0_other_with_cast.q2l_1))
|
|
2811
2921
|
return false;
|
|
2812
2922
|
return true;
|
|
2813
2923
|
};
|
|
@@ -2817,7 +2927,7 @@
|
|
|
2817
2927
|
// Inline function 'kotlin.arrayOf' call
|
|
2818
2928
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2819
2929
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2820
|
-
tmp.
|
|
2930
|
+
tmp.r2l_1 = [null, null, null, null, Companion_getInstance_11().o1z(), null, null, null];
|
|
2821
2931
|
}
|
|
2822
2932
|
var Companion_instance_16;
|
|
2823
2933
|
function Companion_getInstance_17() {
|
|
@@ -2836,20 +2946,20 @@
|
|
|
2836
2946
|
tmp0_serialDesc.k1n('ready', false);
|
|
2837
2947
|
tmp0_serialDesc.k1n('tag', true);
|
|
2838
2948
|
tmp0_serialDesc.k1n('connection', true);
|
|
2839
|
-
this.
|
|
2949
|
+
this.s2l_1 = tmp0_serialDesc;
|
|
2840
2950
|
}
|
|
2841
2951
|
protoOf($serializer_7).p1c = function () {
|
|
2842
|
-
return this.
|
|
2952
|
+
return this.s2l_1;
|
|
2843
2953
|
};
|
|
2844
2954
|
protoOf($serializer_7).z1n = function () {
|
|
2845
|
-
var tmp0_cached = Companion_getInstance_17().
|
|
2955
|
+
var tmp0_cached = Companion_getInstance_17().r2l_1;
|
|
2846
2956
|
// Inline function 'kotlin.arrayOf' call
|
|
2847
2957
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2848
2958
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2849
2959
|
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_6())];
|
|
2850
2960
|
};
|
|
2851
2961
|
protoOf($serializer_7).r1c = function (decoder) {
|
|
2852
|
-
var tmp0_desc = this.
|
|
2962
|
+
var tmp0_desc = this.s2l_1;
|
|
2853
2963
|
var tmp1_flag = true;
|
|
2854
2964
|
var tmp2_index = 0;
|
|
2855
2965
|
var tmp3_bitMask0 = 0;
|
|
@@ -2862,7 +2972,7 @@
|
|
|
2862
2972
|
var tmp10_local6 = null;
|
|
2863
2973
|
var tmp11_local7 = null;
|
|
2864
2974
|
var tmp12_input = decoder.x1f(tmp0_desc);
|
|
2865
|
-
var tmp13_cached = Companion_getInstance_17().
|
|
2975
|
+
var tmp13_cached = Companion_getInstance_17().r2l_1;
|
|
2866
2976
|
if (tmp12_input.n1g()) {
|
|
2867
2977
|
tmp4_local0 = tmp12_input.l1g(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
2868
2978
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2926,34 +3036,34 @@
|
|
|
2926
3036
|
tmp12_input.y1f(tmp0_desc);
|
|
2927
3037
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
2928
3038
|
};
|
|
2929
|
-
protoOf($serializer_7).
|
|
2930
|
-
var tmp0_desc = this.
|
|
3039
|
+
protoOf($serializer_7).t2l = function (encoder, value) {
|
|
3040
|
+
var tmp0_desc = this.s2l_1;
|
|
2931
3041
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
2932
|
-
var tmp2_cached = Companion_getInstance_17().
|
|
2933
|
-
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.
|
|
2934
|
-
tmp1_output.q1h(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
3042
|
+
var tmp2_cached = Companion_getInstance_17().r2l_1;
|
|
3043
|
+
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.u2l_1 == null)) {
|
|
3044
|
+
tmp1_output.q1h(tmp0_desc, 0, LongSerializer_getInstance(), value.u2l_1);
|
|
2935
3045
|
}
|
|
2936
|
-
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.
|
|
2937
|
-
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3046
|
+
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.v2l_1 == null)) {
|
|
3047
|
+
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.v2l_1);
|
|
2938
3048
|
}
|
|
2939
|
-
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.
|
|
2940
|
-
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3049
|
+
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.w2l_1 == null)) {
|
|
3050
|
+
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.w2l_1);
|
|
2941
3051
|
}
|
|
2942
|
-
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.
|
|
2943
|
-
tmp1_output.q1h(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3052
|
+
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.x2l_1 == null)) {
|
|
3053
|
+
tmp1_output.q1h(tmp0_desc, 3, StringSerializer_getInstance(), value.x2l_1);
|
|
2944
3054
|
}
|
|
2945
|
-
tmp1_output.o1h(tmp0_desc, 4, tmp2_cached[4], value.
|
|
2946
|
-
tmp1_output.e1h(tmp0_desc, 5, value.
|
|
2947
|
-
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.
|
|
2948
|
-
tmp1_output.q1h(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
3055
|
+
tmp1_output.o1h(tmp0_desc, 4, tmp2_cached[4], value.y2l_1);
|
|
3056
|
+
tmp1_output.e1h(tmp0_desc, 5, value.z2l_1);
|
|
3057
|
+
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.a2m_1 == null)) {
|
|
3058
|
+
tmp1_output.q1h(tmp0_desc, 6, StringSerializer_getInstance(), value.a2m_1);
|
|
2949
3059
|
}
|
|
2950
|
-
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.
|
|
2951
|
-
tmp1_output.q1h(tmp0_desc, 7, $serializer_getInstance_6(), value.
|
|
3060
|
+
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.b2m_1 == null)) {
|
|
3061
|
+
tmp1_output.q1h(tmp0_desc, 7, $serializer_getInstance_6(), value.b2m_1);
|
|
2952
3062
|
}
|
|
2953
3063
|
tmp1_output.y1f(tmp0_desc);
|
|
2954
3064
|
};
|
|
2955
3065
|
protoOf($serializer_7).q1c = function (encoder, value) {
|
|
2956
|
-
return this.
|
|
3066
|
+
return this.t2l(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2957
3067
|
};
|
|
2958
3068
|
var $serializer_instance_7;
|
|
2959
3069
|
function $serializer_getInstance_7() {
|
|
@@ -2963,34 +3073,34 @@
|
|
|
2963
3073
|
}
|
|
2964
3074
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
2965
3075
|
if (!(48 === (48 & seen1))) {
|
|
2966
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().
|
|
3076
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().s2l_1);
|
|
2967
3077
|
}
|
|
2968
3078
|
if (0 === (seen1 & 1))
|
|
2969
|
-
$this.
|
|
3079
|
+
$this.u2l_1 = null;
|
|
2970
3080
|
else
|
|
2971
|
-
$this.
|
|
3081
|
+
$this.u2l_1 = startFromTime;
|
|
2972
3082
|
if (0 === (seen1 & 2))
|
|
2973
|
-
$this.
|
|
3083
|
+
$this.v2l_1 = null;
|
|
2974
3084
|
else
|
|
2975
|
-
$this.
|
|
3085
|
+
$this.v2l_1 = startFrom;
|
|
2976
3086
|
if (0 === (seen1 & 4))
|
|
2977
|
-
$this.
|
|
3087
|
+
$this.w2l_1 = null;
|
|
2978
3088
|
else
|
|
2979
|
-
$this.
|
|
3089
|
+
$this.w2l_1 = playerTurnTimeout;
|
|
2980
3090
|
if (0 === (seen1 & 8))
|
|
2981
|
-
$this.
|
|
3091
|
+
$this.x2l_1 = null;
|
|
2982
3092
|
else
|
|
2983
|
-
$this.
|
|
2984
|
-
$this.
|
|
2985
|
-
$this.
|
|
3093
|
+
$this.x2l_1 = waitPlayerUntilTime;
|
|
3094
|
+
$this.y2l_1 = state;
|
|
3095
|
+
$this.z2l_1 = ready;
|
|
2986
3096
|
if (0 === (seen1 & 64))
|
|
2987
|
-
$this.
|
|
3097
|
+
$this.a2m_1 = null;
|
|
2988
3098
|
else
|
|
2989
|
-
$this.
|
|
3099
|
+
$this.a2m_1 = tag;
|
|
2990
3100
|
if (0 === (seen1 & 128))
|
|
2991
|
-
$this.
|
|
3101
|
+
$this.b2m_1 = null;
|
|
2992
3102
|
else
|
|
2993
|
-
$this.
|
|
3103
|
+
$this.b2m_1 = connection;
|
|
2994
3104
|
return $this;
|
|
2995
3105
|
}
|
|
2996
3106
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -2999,17 +3109,17 @@
|
|
|
2999
3109
|
function PlayerStateDto() {
|
|
3000
3110
|
}
|
|
3001
3111
|
protoOf(PlayerStateDto).toString = function () {
|
|
3002
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3112
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.u2l_1) + ', startFrom=' + this.v2l_1 + ', playerTurnTimeout=' + this.w2l_1 + ', waitPlayerUntilTime=' + this.x2l_1 + ', state=' + this.y2l_1 + ', ready=' + this.z2l_1 + ', tag=' + this.a2m_1 + ', connection=' + this.b2m_1 + ')';
|
|
3003
3113
|
};
|
|
3004
3114
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3005
|
-
var result = this.
|
|
3006
|
-
result = imul(result, 31) + (this.
|
|
3007
|
-
result = imul(result, 31) + (this.
|
|
3008
|
-
result = imul(result, 31) + (this.
|
|
3009
|
-
result = imul(result, 31) + this.
|
|
3010
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
3011
|
-
result = imul(result, 31) + (this.
|
|
3012
|
-
result = imul(result, 31) + (this.
|
|
3115
|
+
var result = this.u2l_1 == null ? 0 : this.u2l_1.hashCode();
|
|
3116
|
+
result = imul(result, 31) + (this.v2l_1 == null ? 0 : getStringHashCode(this.v2l_1)) | 0;
|
|
3117
|
+
result = imul(result, 31) + (this.w2l_1 == null ? 0 : getStringHashCode(this.w2l_1)) | 0;
|
|
3118
|
+
result = imul(result, 31) + (this.x2l_1 == null ? 0 : getStringHashCode(this.x2l_1)) | 0;
|
|
3119
|
+
result = imul(result, 31) + this.y2l_1.hashCode() | 0;
|
|
3120
|
+
result = imul(result, 31) + getBooleanHashCode(this.z2l_1) | 0;
|
|
3121
|
+
result = imul(result, 31) + (this.a2m_1 == null ? 0 : getStringHashCode(this.a2m_1)) | 0;
|
|
3122
|
+
result = imul(result, 31) + (this.b2m_1 == null ? 0 : this.b2m_1.hashCode()) | 0;
|
|
3013
3123
|
return result;
|
|
3014
3124
|
};
|
|
3015
3125
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3018,26 +3128,29 @@
|
|
|
3018
3128
|
if (!(other instanceof PlayerStateDto))
|
|
3019
3129
|
return false;
|
|
3020
3130
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3021
|
-
if (!equals(this.
|
|
3131
|
+
if (!equals(this.u2l_1, tmp0_other_with_cast.u2l_1))
|
|
3022
3132
|
return false;
|
|
3023
|
-
if (!(this.
|
|
3133
|
+
if (!(this.v2l_1 == tmp0_other_with_cast.v2l_1))
|
|
3024
3134
|
return false;
|
|
3025
|
-
if (!(this.
|
|
3135
|
+
if (!(this.w2l_1 == tmp0_other_with_cast.w2l_1))
|
|
3026
3136
|
return false;
|
|
3027
|
-
if (!(this.
|
|
3137
|
+
if (!(this.x2l_1 == tmp0_other_with_cast.x2l_1))
|
|
3028
3138
|
return false;
|
|
3029
|
-
if (!this.
|
|
3139
|
+
if (!this.y2l_1.equals(tmp0_other_with_cast.y2l_1))
|
|
3030
3140
|
return false;
|
|
3031
|
-
if (!(this.
|
|
3141
|
+
if (!(this.z2l_1 === tmp0_other_with_cast.z2l_1))
|
|
3032
3142
|
return false;
|
|
3033
|
-
if (!(this.
|
|
3143
|
+
if (!(this.a2m_1 == tmp0_other_with_cast.a2m_1))
|
|
3034
3144
|
return false;
|
|
3035
|
-
if (!equals(this.
|
|
3145
|
+
if (!equals(this.b2m_1, tmp0_other_with_cast.b2m_1))
|
|
3036
3146
|
return false;
|
|
3037
3147
|
return true;
|
|
3038
3148
|
};
|
|
3039
3149
|
function Companion_17() {
|
|
3040
3150
|
}
|
|
3151
|
+
protoOf(Companion_17).o1z = function () {
|
|
3152
|
+
return $serializer_getInstance_8();
|
|
3153
|
+
};
|
|
3041
3154
|
var Companion_instance_17;
|
|
3042
3155
|
function Companion_getInstance_18() {
|
|
3043
3156
|
return Companion_instance_17;
|
|
@@ -3062,10 +3175,10 @@
|
|
|
3062
3175
|
tmp0_serialDesc.k1n('checkTrumpCombination', true);
|
|
3063
3176
|
tmp0_serialDesc.k1n('checkOnlyTrumpDebertz', true);
|
|
3064
3177
|
tmp0_serialDesc.k1n('tenCardsInHand', true);
|
|
3065
|
-
this.
|
|
3178
|
+
this.c2m_1 = tmp0_serialDesc;
|
|
3066
3179
|
}
|
|
3067
3180
|
protoOf($serializer_8).p1c = function () {
|
|
3068
|
-
return this.
|
|
3181
|
+
return this.c2m_1;
|
|
3069
3182
|
};
|
|
3070
3183
|
protoOf($serializer_8).z1n = function () {
|
|
3071
3184
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3074,7 +3187,7 @@
|
|
|
3074
3187
|
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), IntSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
|
|
3075
3188
|
};
|
|
3076
3189
|
protoOf($serializer_8).r1c = function (decoder) {
|
|
3077
|
-
var tmp0_desc = this.
|
|
3190
|
+
var tmp0_desc = this.c2m_1;
|
|
3078
3191
|
var tmp1_flag = true;
|
|
3079
3192
|
var tmp2_index = 0;
|
|
3080
3193
|
var tmp3_bitMask0 = 0;
|
|
@@ -3213,62 +3326,62 @@
|
|
|
3213
3326
|
tmp21_input.y1f(tmp0_desc);
|
|
3214
3327
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
3215
3328
|
};
|
|
3216
|
-
protoOf($serializer_8).
|
|
3217
|
-
var tmp0_desc = this.
|
|
3329
|
+
protoOf($serializer_8).d2m = function (encoder, value) {
|
|
3330
|
+
var tmp0_desc = this.c2m_1;
|
|
3218
3331
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
3219
|
-
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.
|
|
3220
|
-
tmp1_output.q1h(tmp0_desc, 0, BooleanSerializer_getInstance(), value.
|
|
3332
|
+
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3333
|
+
tmp1_output.q1h(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
3221
3334
|
}
|
|
3222
|
-
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.
|
|
3223
|
-
tmp1_output.q1h(tmp0_desc, 1, BooleanSerializer_getInstance(), value.
|
|
3335
|
+
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.distributePoints == null)) {
|
|
3336
|
+
tmp1_output.q1h(tmp0_desc, 1, BooleanSerializer_getInstance(), value.distributePoints);
|
|
3224
3337
|
}
|
|
3225
|
-
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.
|
|
3226
|
-
tmp1_output.q1h(tmp0_desc, 2, BooleanSerializer_getInstance(), value.
|
|
3338
|
+
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.protectBella == null)) {
|
|
3339
|
+
tmp1_output.q1h(tmp0_desc, 2, BooleanSerializer_getInstance(), value.protectBella);
|
|
3227
3340
|
}
|
|
3228
|
-
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.
|
|
3229
|
-
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3341
|
+
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.oneTryToProtectBella == null)) {
|
|
3342
|
+
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.oneTryToProtectBella);
|
|
3230
3343
|
}
|
|
3231
|
-
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.
|
|
3232
|
-
tmp1_output.q1h(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3344
|
+
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.enableFourSevensCombination == null)) {
|
|
3345
|
+
tmp1_output.q1h(tmp0_desc, 4, BooleanSerializer_getInstance(), value.enableFourSevensCombination);
|
|
3233
3346
|
}
|
|
3234
|
-
if (tmp1_output.u1h(tmp0_desc, 5) ? true : !(value.
|
|
3235
|
-
tmp1_output.q1h(tmp0_desc, 5, BooleanSerializer_getInstance(), value.
|
|
3347
|
+
if (tmp1_output.u1h(tmp0_desc, 5) ? true : !(value.enableTrumpSevenCombination == null)) {
|
|
3348
|
+
tmp1_output.q1h(tmp0_desc, 5, BooleanSerializer_getInstance(), value.enableTrumpSevenCombination);
|
|
3236
3349
|
}
|
|
3237
|
-
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.
|
|
3238
|
-
tmp1_output.q1h(tmp0_desc, 6, BooleanSerializer_getInstance(), value.
|
|
3350
|
+
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.enableTrumpSevenCombinationAfterDistribution == null)) {
|
|
3351
|
+
tmp1_output.q1h(tmp0_desc, 6, BooleanSerializer_getInstance(), value.enableTrumpSevenCombinationAfterDistribution);
|
|
3239
3352
|
}
|
|
3240
|
-
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.
|
|
3241
|
-
tmp1_output.q1h(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
3353
|
+
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.playerWhoChooseSuitGoFirst == null)) {
|
|
3354
|
+
tmp1_output.q1h(tmp0_desc, 7, BooleanSerializer_getInstance(), value.playerWhoChooseSuitGoFirst);
|
|
3242
3355
|
}
|
|
3243
|
-
if (tmp1_output.u1h(tmp0_desc, 8) ? true : !(value.
|
|
3244
|
-
tmp1_output.q1h(tmp0_desc, 8, BooleanSerializer_getInstance(), value.
|
|
3356
|
+
if (tmp1_output.u1h(tmp0_desc, 8) ? true : !(value.winnerShuffleCards == null)) {
|
|
3357
|
+
tmp1_output.q1h(tmp0_desc, 8, BooleanSerializer_getInstance(), value.winnerShuffleCards);
|
|
3245
3358
|
}
|
|
3246
|
-
if (tmp1_output.u1h(tmp0_desc, 9) ? true : !(value.
|
|
3247
|
-
tmp1_output.q1h(tmp0_desc, 9, BooleanSerializer_getInstance(), value.
|
|
3359
|
+
if (tmp1_output.u1h(tmp0_desc, 9) ? true : !(value.playWithoutLiabilities == null)) {
|
|
3360
|
+
tmp1_output.q1h(tmp0_desc, 9, BooleanSerializer_getInstance(), value.playWithoutLiabilities);
|
|
3248
3361
|
}
|
|
3249
|
-
if (tmp1_output.u1h(tmp0_desc, 10) ? true : !(value.
|
|
3250
|
-
tmp1_output.q1h(tmp0_desc, 10, BooleanSerializer_getInstance(), value.
|
|
3362
|
+
if (tmp1_output.u1h(tmp0_desc, 10) ? true : !(value.trumpCardGoToPlayerWhoShuffleCards == null)) {
|
|
3363
|
+
tmp1_output.q1h(tmp0_desc, 10, BooleanSerializer_getInstance(), value.trumpCardGoToPlayerWhoShuffleCards);
|
|
3251
3364
|
}
|
|
3252
|
-
if (tmp1_output.u1h(tmp0_desc, 11) ? true : !(value.
|
|
3253
|
-
tmp1_output.q1h(tmp0_desc, 11, BooleanSerializer_getInstance(), value.
|
|
3365
|
+
if (tmp1_output.u1h(tmp0_desc, 11) ? true : !(value.enableFineIfNoBribes == null)) {
|
|
3366
|
+
tmp1_output.q1h(tmp0_desc, 11, BooleanSerializer_getInstance(), value.enableFineIfNoBribes);
|
|
3254
3367
|
}
|
|
3255
|
-
tmp1_output.h1h(tmp0_desc, 12, value.
|
|
3256
|
-
if (tmp1_output.u1h(tmp0_desc, 13) ? true : !(value.
|
|
3257
|
-
tmp1_output.q1h(tmp0_desc, 13, BooleanSerializer_getInstance(), value.
|
|
3368
|
+
tmp1_output.h1h(tmp0_desc, 12, value.fineIfNoBribes);
|
|
3369
|
+
if (tmp1_output.u1h(tmp0_desc, 13) ? true : !(value.enableFineAfterThirdByte == null)) {
|
|
3370
|
+
tmp1_output.q1h(tmp0_desc, 13, BooleanSerializer_getInstance(), value.enableFineAfterThirdByte);
|
|
3258
3371
|
}
|
|
3259
|
-
if (tmp1_output.u1h(tmp0_desc, 14) ? true : !(value.
|
|
3260
|
-
tmp1_output.q1h(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
3372
|
+
if (tmp1_output.u1h(tmp0_desc, 14) ? true : !(value.checkTrumpCombination == null)) {
|
|
3373
|
+
tmp1_output.q1h(tmp0_desc, 14, BooleanSerializer_getInstance(), value.checkTrumpCombination);
|
|
3261
3374
|
}
|
|
3262
|
-
if (tmp1_output.u1h(tmp0_desc, 15) ? true : !(value.
|
|
3263
|
-
tmp1_output.q1h(tmp0_desc, 15, BooleanSerializer_getInstance(), value.
|
|
3375
|
+
if (tmp1_output.u1h(tmp0_desc, 15) ? true : !(value.checkOnlyTrumpDebertz == null)) {
|
|
3376
|
+
tmp1_output.q1h(tmp0_desc, 15, BooleanSerializer_getInstance(), value.checkOnlyTrumpDebertz);
|
|
3264
3377
|
}
|
|
3265
|
-
if (tmp1_output.u1h(tmp0_desc, 16) ? true : !(value.
|
|
3266
|
-
tmp1_output.q1h(tmp0_desc, 16, BooleanSerializer_getInstance(), value.
|
|
3378
|
+
if (tmp1_output.u1h(tmp0_desc, 16) ? true : !(value.tenCardsInHand == null)) {
|
|
3379
|
+
tmp1_output.q1h(tmp0_desc, 16, BooleanSerializer_getInstance(), value.tenCardsInHand);
|
|
3267
3380
|
}
|
|
3268
3381
|
tmp1_output.y1f(tmp0_desc);
|
|
3269
3382
|
};
|
|
3270
3383
|
protoOf($serializer_8).q1c = function (encoder, value) {
|
|
3271
|
-
return this.
|
|
3384
|
+
return this.d2m(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3272
3385
|
};
|
|
3273
3386
|
var $serializer_instance_8;
|
|
3274
3387
|
function $serializer_getInstance_8() {
|
|
@@ -3278,73 +3391,73 @@
|
|
|
3278
3391
|
}
|
|
3279
3392
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
3280
3393
|
if (!(4096 === (4096 & seen1))) {
|
|
3281
|
-
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().
|
|
3394
|
+
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().c2m_1);
|
|
3282
3395
|
}
|
|
3283
3396
|
if (0 === (seen1 & 1))
|
|
3284
|
-
$this.
|
|
3397
|
+
$this.needToPutHigherTrump = null;
|
|
3285
3398
|
else
|
|
3286
|
-
$this.
|
|
3399
|
+
$this.needToPutHigherTrump = needToPutHigherTrump;
|
|
3287
3400
|
if (0 === (seen1 & 2))
|
|
3288
|
-
$this.
|
|
3401
|
+
$this.distributePoints = null;
|
|
3289
3402
|
else
|
|
3290
|
-
$this.
|
|
3403
|
+
$this.distributePoints = distributePoints;
|
|
3291
3404
|
if (0 === (seen1 & 4))
|
|
3292
|
-
$this.
|
|
3405
|
+
$this.protectBella = null;
|
|
3293
3406
|
else
|
|
3294
|
-
$this.
|
|
3407
|
+
$this.protectBella = protectBella;
|
|
3295
3408
|
if (0 === (seen1 & 8))
|
|
3296
|
-
$this.
|
|
3409
|
+
$this.oneTryToProtectBella = null;
|
|
3297
3410
|
else
|
|
3298
|
-
$this.
|
|
3411
|
+
$this.oneTryToProtectBella = oneTryToProtectBella;
|
|
3299
3412
|
if (0 === (seen1 & 16))
|
|
3300
|
-
$this.
|
|
3413
|
+
$this.enableFourSevensCombination = null;
|
|
3301
3414
|
else
|
|
3302
|
-
$this.
|
|
3415
|
+
$this.enableFourSevensCombination = enableFourSevensCombination;
|
|
3303
3416
|
if (0 === (seen1 & 32))
|
|
3304
|
-
$this.
|
|
3417
|
+
$this.enableTrumpSevenCombination = null;
|
|
3305
3418
|
else
|
|
3306
|
-
$this.
|
|
3419
|
+
$this.enableTrumpSevenCombination = enableTrumpSevenCombination;
|
|
3307
3420
|
if (0 === (seen1 & 64))
|
|
3308
|
-
$this.
|
|
3421
|
+
$this.enableTrumpSevenCombinationAfterDistribution = null;
|
|
3309
3422
|
else
|
|
3310
|
-
$this.
|
|
3423
|
+
$this.enableTrumpSevenCombinationAfterDistribution = enableTrumpSevenCombinationAfterDistribution;
|
|
3311
3424
|
if (0 === (seen1 & 128))
|
|
3312
|
-
$this.
|
|
3425
|
+
$this.playerWhoChooseSuitGoFirst = null;
|
|
3313
3426
|
else
|
|
3314
|
-
$this.
|
|
3427
|
+
$this.playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst;
|
|
3315
3428
|
if (0 === (seen1 & 256))
|
|
3316
|
-
$this.
|
|
3429
|
+
$this.winnerShuffleCards = null;
|
|
3317
3430
|
else
|
|
3318
|
-
$this.
|
|
3431
|
+
$this.winnerShuffleCards = winnerShuffleCards;
|
|
3319
3432
|
if (0 === (seen1 & 512))
|
|
3320
|
-
$this.
|
|
3433
|
+
$this.playWithoutLiabilities = null;
|
|
3321
3434
|
else
|
|
3322
|
-
$this.
|
|
3435
|
+
$this.playWithoutLiabilities = playWithoutLiabilities;
|
|
3323
3436
|
if (0 === (seen1 & 1024))
|
|
3324
|
-
$this.
|
|
3437
|
+
$this.trumpCardGoToPlayerWhoShuffleCards = null;
|
|
3325
3438
|
else
|
|
3326
|
-
$this.
|
|
3439
|
+
$this.trumpCardGoToPlayerWhoShuffleCards = trumpCardGoToPlayerWhoShuffleCards;
|
|
3327
3440
|
if (0 === (seen1 & 2048))
|
|
3328
|
-
$this.
|
|
3441
|
+
$this.enableFineIfNoBribes = null;
|
|
3329
3442
|
else
|
|
3330
|
-
$this.
|
|
3331
|
-
$this.
|
|
3443
|
+
$this.enableFineIfNoBribes = enableFineIfNoBribes;
|
|
3444
|
+
$this.fineIfNoBribes = fineIfNoBribes;
|
|
3332
3445
|
if (0 === (seen1 & 8192))
|
|
3333
|
-
$this.
|
|
3446
|
+
$this.enableFineAfterThirdByte = null;
|
|
3334
3447
|
else
|
|
3335
|
-
$this.
|
|
3448
|
+
$this.enableFineAfterThirdByte = enableFineAfterThirdByte;
|
|
3336
3449
|
if (0 === (seen1 & 16384))
|
|
3337
|
-
$this.
|
|
3450
|
+
$this.checkTrumpCombination = null;
|
|
3338
3451
|
else
|
|
3339
|
-
$this.
|
|
3452
|
+
$this.checkTrumpCombination = checkTrumpCombination;
|
|
3340
3453
|
if (0 === (seen1 & 32768))
|
|
3341
|
-
$this.
|
|
3454
|
+
$this.checkOnlyTrumpDebertz = null;
|
|
3342
3455
|
else
|
|
3343
|
-
$this.
|
|
3456
|
+
$this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3344
3457
|
if (0 === (seen1 & 65536))
|
|
3345
|
-
$this.
|
|
3458
|
+
$this.tenCardsInHand = null;
|
|
3346
3459
|
else
|
|
3347
|
-
$this.
|
|
3460
|
+
$this.tenCardsInHand = tenCardsInHand;
|
|
3348
3461
|
return $this;
|
|
3349
3462
|
}
|
|
3350
3463
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -3367,45 +3480,170 @@
|
|
|
3367
3480
|
checkTrumpCombination = checkTrumpCombination === VOID ? null : checkTrumpCombination;
|
|
3368
3481
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? null : checkOnlyTrumpDebertz;
|
|
3369
3482
|
tenCardsInHand = tenCardsInHand === VOID ? null : tenCardsInHand;
|
|
3370
|
-
this.
|
|
3371
|
-
this.
|
|
3372
|
-
this.
|
|
3373
|
-
this.
|
|
3374
|
-
this.
|
|
3375
|
-
this.
|
|
3376
|
-
this.
|
|
3377
|
-
this.
|
|
3378
|
-
this.
|
|
3379
|
-
this.
|
|
3380
|
-
this.
|
|
3381
|
-
this.
|
|
3382
|
-
this.
|
|
3383
|
-
this.
|
|
3384
|
-
this.
|
|
3385
|
-
this.
|
|
3386
|
-
this.
|
|
3483
|
+
this.needToPutHigherTrump = needToPutHigherTrump;
|
|
3484
|
+
this.distributePoints = distributePoints;
|
|
3485
|
+
this.protectBella = protectBella;
|
|
3486
|
+
this.oneTryToProtectBella = oneTryToProtectBella;
|
|
3487
|
+
this.enableFourSevensCombination = enableFourSevensCombination;
|
|
3488
|
+
this.enableTrumpSevenCombination = enableTrumpSevenCombination;
|
|
3489
|
+
this.enableTrumpSevenCombinationAfterDistribution = enableTrumpSevenCombinationAfterDistribution;
|
|
3490
|
+
this.playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst;
|
|
3491
|
+
this.winnerShuffleCards = winnerShuffleCards;
|
|
3492
|
+
this.playWithoutLiabilities = playWithoutLiabilities;
|
|
3493
|
+
this.trumpCardGoToPlayerWhoShuffleCards = trumpCardGoToPlayerWhoShuffleCards;
|
|
3494
|
+
this.enableFineIfNoBribes = enableFineIfNoBribes;
|
|
3495
|
+
this.fineIfNoBribes = fineIfNoBribes;
|
|
3496
|
+
this.enableFineAfterThirdByte = enableFineAfterThirdByte;
|
|
3497
|
+
this.checkTrumpCombination = checkTrumpCombination;
|
|
3498
|
+
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3499
|
+
this.tenCardsInHand = tenCardsInHand;
|
|
3387
3500
|
}
|
|
3501
|
+
protoOf(RulesDto).w2j = function () {
|
|
3502
|
+
return this.needToPutHigherTrump;
|
|
3503
|
+
};
|
|
3504
|
+
protoOf(RulesDto).x2j = function () {
|
|
3505
|
+
return this.distributePoints;
|
|
3506
|
+
};
|
|
3507
|
+
protoOf(RulesDto).y2j = function () {
|
|
3508
|
+
return this.protectBella;
|
|
3509
|
+
};
|
|
3510
|
+
protoOf(RulesDto).z2j = function () {
|
|
3511
|
+
return this.oneTryToProtectBella;
|
|
3512
|
+
};
|
|
3513
|
+
protoOf(RulesDto).a2k = function () {
|
|
3514
|
+
return this.enableFourSevensCombination;
|
|
3515
|
+
};
|
|
3516
|
+
protoOf(RulesDto).b2k = function () {
|
|
3517
|
+
return this.enableTrumpSevenCombination;
|
|
3518
|
+
};
|
|
3519
|
+
protoOf(RulesDto).c2k = function () {
|
|
3520
|
+
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3521
|
+
};
|
|
3522
|
+
protoOf(RulesDto).d2k = function () {
|
|
3523
|
+
return this.playerWhoChooseSuitGoFirst;
|
|
3524
|
+
};
|
|
3525
|
+
protoOf(RulesDto).e2k = function () {
|
|
3526
|
+
return this.winnerShuffleCards;
|
|
3527
|
+
};
|
|
3528
|
+
protoOf(RulesDto).f2k = function () {
|
|
3529
|
+
return this.playWithoutLiabilities;
|
|
3530
|
+
};
|
|
3531
|
+
protoOf(RulesDto).g2k = function () {
|
|
3532
|
+
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3533
|
+
};
|
|
3534
|
+
protoOf(RulesDto).h2k = function () {
|
|
3535
|
+
return this.enableFineIfNoBribes;
|
|
3536
|
+
};
|
|
3537
|
+
protoOf(RulesDto).i2k = function () {
|
|
3538
|
+
return this.fineIfNoBribes;
|
|
3539
|
+
};
|
|
3540
|
+
protoOf(RulesDto).j2k = function () {
|
|
3541
|
+
return this.enableFineAfterThirdByte;
|
|
3542
|
+
};
|
|
3543
|
+
protoOf(RulesDto).k2k = function () {
|
|
3544
|
+
return this.checkTrumpCombination;
|
|
3545
|
+
};
|
|
3546
|
+
protoOf(RulesDto).l2k = function () {
|
|
3547
|
+
return this.checkOnlyTrumpDebertz;
|
|
3548
|
+
};
|
|
3549
|
+
protoOf(RulesDto).m2k = function () {
|
|
3550
|
+
return this.tenCardsInHand;
|
|
3551
|
+
};
|
|
3552
|
+
protoOf(RulesDto).oc = function () {
|
|
3553
|
+
return this.needToPutHigherTrump;
|
|
3554
|
+
};
|
|
3555
|
+
protoOf(RulesDto).pc = function () {
|
|
3556
|
+
return this.distributePoints;
|
|
3557
|
+
};
|
|
3558
|
+
protoOf(RulesDto).qg = function () {
|
|
3559
|
+
return this.protectBella;
|
|
3560
|
+
};
|
|
3561
|
+
protoOf(RulesDto).n2h = function () {
|
|
3562
|
+
return this.oneTryToProtectBella;
|
|
3563
|
+
};
|
|
3564
|
+
protoOf(RulesDto).o2h = function () {
|
|
3565
|
+
return this.enableFourSevensCombination;
|
|
3566
|
+
};
|
|
3567
|
+
protoOf(RulesDto).p2h = function () {
|
|
3568
|
+
return this.enableTrumpSevenCombination;
|
|
3569
|
+
};
|
|
3570
|
+
protoOf(RulesDto).n2k = function () {
|
|
3571
|
+
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3572
|
+
};
|
|
3573
|
+
protoOf(RulesDto).o2k = function () {
|
|
3574
|
+
return this.playerWhoChooseSuitGoFirst;
|
|
3575
|
+
};
|
|
3576
|
+
protoOf(RulesDto).p2k = function () {
|
|
3577
|
+
return this.winnerShuffleCards;
|
|
3578
|
+
};
|
|
3579
|
+
protoOf(RulesDto).q2k = function () {
|
|
3580
|
+
return this.playWithoutLiabilities;
|
|
3581
|
+
};
|
|
3582
|
+
protoOf(RulesDto).r2k = function () {
|
|
3583
|
+
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3584
|
+
};
|
|
3585
|
+
protoOf(RulesDto).s2k = function () {
|
|
3586
|
+
return this.enableFineIfNoBribes;
|
|
3587
|
+
};
|
|
3588
|
+
protoOf(RulesDto).t2k = function () {
|
|
3589
|
+
return this.fineIfNoBribes;
|
|
3590
|
+
};
|
|
3591
|
+
protoOf(RulesDto).u2k = function () {
|
|
3592
|
+
return this.enableFineAfterThirdByte;
|
|
3593
|
+
};
|
|
3594
|
+
protoOf(RulesDto).v2k = function () {
|
|
3595
|
+
return this.checkTrumpCombination;
|
|
3596
|
+
};
|
|
3597
|
+
protoOf(RulesDto).w2k = function () {
|
|
3598
|
+
return this.checkOnlyTrumpDebertz;
|
|
3599
|
+
};
|
|
3600
|
+
protoOf(RulesDto).x2k = function () {
|
|
3601
|
+
return this.tenCardsInHand;
|
|
3602
|
+
};
|
|
3603
|
+
protoOf(RulesDto).e2m = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
3604
|
+
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3605
|
+
};
|
|
3606
|
+
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
3607
|
+
needToPutHigherTrump = needToPutHigherTrump === VOID ? this.needToPutHigherTrump : needToPutHigherTrump;
|
|
3608
|
+
distributePoints = distributePoints === VOID ? this.distributePoints : distributePoints;
|
|
3609
|
+
protectBella = protectBella === VOID ? this.protectBella : protectBella;
|
|
3610
|
+
oneTryToProtectBella = oneTryToProtectBella === VOID ? this.oneTryToProtectBella : oneTryToProtectBella;
|
|
3611
|
+
enableFourSevensCombination = enableFourSevensCombination === VOID ? this.enableFourSevensCombination : enableFourSevensCombination;
|
|
3612
|
+
enableTrumpSevenCombination = enableTrumpSevenCombination === VOID ? this.enableTrumpSevenCombination : enableTrumpSevenCombination;
|
|
3613
|
+
enableTrumpSevenCombinationAfterDistribution = enableTrumpSevenCombinationAfterDistribution === VOID ? this.enableTrumpSevenCombinationAfterDistribution : enableTrumpSevenCombinationAfterDistribution;
|
|
3614
|
+
playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst === VOID ? this.playerWhoChooseSuitGoFirst : playerWhoChooseSuitGoFirst;
|
|
3615
|
+
winnerShuffleCards = winnerShuffleCards === VOID ? this.winnerShuffleCards : winnerShuffleCards;
|
|
3616
|
+
playWithoutLiabilities = playWithoutLiabilities === VOID ? this.playWithoutLiabilities : playWithoutLiabilities;
|
|
3617
|
+
trumpCardGoToPlayerWhoShuffleCards = trumpCardGoToPlayerWhoShuffleCards === VOID ? this.trumpCardGoToPlayerWhoShuffleCards : trumpCardGoToPlayerWhoShuffleCards;
|
|
3618
|
+
enableFineIfNoBribes = enableFineIfNoBribes === VOID ? this.enableFineIfNoBribes : enableFineIfNoBribes;
|
|
3619
|
+
fineIfNoBribes = fineIfNoBribes === VOID ? this.fineIfNoBribes : fineIfNoBribes;
|
|
3620
|
+
enableFineAfterThirdByte = enableFineAfterThirdByte === VOID ? this.enableFineAfterThirdByte : enableFineAfterThirdByte;
|
|
3621
|
+
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
3622
|
+
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
3623
|
+
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
3624
|
+
return this.e2m(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3625
|
+
};
|
|
3388
3626
|
protoOf(RulesDto).toString = function () {
|
|
3389
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
3627
|
+
return 'RulesDto(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
3390
3628
|
};
|
|
3391
3629
|
protoOf(RulesDto).hashCode = function () {
|
|
3392
|
-
var result = this.
|
|
3393
|
-
result = imul(result, 31) + (this.
|
|
3394
|
-
result = imul(result, 31) + (this.
|
|
3395
|
-
result = imul(result, 31) + (this.
|
|
3396
|
-
result = imul(result, 31) + (this.
|
|
3397
|
-
result = imul(result, 31) + (this.
|
|
3398
|
-
result = imul(result, 31) + (this.
|
|
3399
|
-
result = imul(result, 31) + (this.
|
|
3400
|
-
result = imul(result, 31) + (this.
|
|
3401
|
-
result = imul(result, 31) + (this.
|
|
3402
|
-
result = imul(result, 31) + (this.
|
|
3403
|
-
result = imul(result, 31) + (this.
|
|
3404
|
-
result = imul(result, 31) + this.
|
|
3405
|
-
result = imul(result, 31) + (this.
|
|
3406
|
-
result = imul(result, 31) + (this.
|
|
3407
|
-
result = imul(result, 31) + (this.
|
|
3408
|
-
result = imul(result, 31) + (this.
|
|
3630
|
+
var result = this.needToPutHigherTrump == null ? 0 : getBooleanHashCode(this.needToPutHigherTrump);
|
|
3631
|
+
result = imul(result, 31) + (this.distributePoints == null ? 0 : getBooleanHashCode(this.distributePoints)) | 0;
|
|
3632
|
+
result = imul(result, 31) + (this.protectBella == null ? 0 : getBooleanHashCode(this.protectBella)) | 0;
|
|
3633
|
+
result = imul(result, 31) + (this.oneTryToProtectBella == null ? 0 : getBooleanHashCode(this.oneTryToProtectBella)) | 0;
|
|
3634
|
+
result = imul(result, 31) + (this.enableFourSevensCombination == null ? 0 : getBooleanHashCode(this.enableFourSevensCombination)) | 0;
|
|
3635
|
+
result = imul(result, 31) + (this.enableTrumpSevenCombination == null ? 0 : getBooleanHashCode(this.enableTrumpSevenCombination)) | 0;
|
|
3636
|
+
result = imul(result, 31) + (this.enableTrumpSevenCombinationAfterDistribution == null ? 0 : getBooleanHashCode(this.enableTrumpSevenCombinationAfterDistribution)) | 0;
|
|
3637
|
+
result = imul(result, 31) + (this.playerWhoChooseSuitGoFirst == null ? 0 : getBooleanHashCode(this.playerWhoChooseSuitGoFirst)) | 0;
|
|
3638
|
+
result = imul(result, 31) + (this.winnerShuffleCards == null ? 0 : getBooleanHashCode(this.winnerShuffleCards)) | 0;
|
|
3639
|
+
result = imul(result, 31) + (this.playWithoutLiabilities == null ? 0 : getBooleanHashCode(this.playWithoutLiabilities)) | 0;
|
|
3640
|
+
result = imul(result, 31) + (this.trumpCardGoToPlayerWhoShuffleCards == null ? 0 : getBooleanHashCode(this.trumpCardGoToPlayerWhoShuffleCards)) | 0;
|
|
3641
|
+
result = imul(result, 31) + (this.enableFineIfNoBribes == null ? 0 : getBooleanHashCode(this.enableFineIfNoBribes)) | 0;
|
|
3642
|
+
result = imul(result, 31) + this.fineIfNoBribes | 0;
|
|
3643
|
+
result = imul(result, 31) + (this.enableFineAfterThirdByte == null ? 0 : getBooleanHashCode(this.enableFineAfterThirdByte)) | 0;
|
|
3644
|
+
result = imul(result, 31) + (this.checkTrumpCombination == null ? 0 : getBooleanHashCode(this.checkTrumpCombination)) | 0;
|
|
3645
|
+
result = imul(result, 31) + (this.checkOnlyTrumpDebertz == null ? 0 : getBooleanHashCode(this.checkOnlyTrumpDebertz)) | 0;
|
|
3646
|
+
result = imul(result, 31) + (this.tenCardsInHand == null ? 0 : getBooleanHashCode(this.tenCardsInHand)) | 0;
|
|
3409
3647
|
return result;
|
|
3410
3648
|
};
|
|
3411
3649
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3414,65 +3652,65 @@
|
|
|
3414
3652
|
if (!(other instanceof RulesDto))
|
|
3415
3653
|
return false;
|
|
3416
3654
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3417
|
-
if (!(this.
|
|
3655
|
+
if (!(this.needToPutHigherTrump == tmp0_other_with_cast.needToPutHigherTrump))
|
|
3418
3656
|
return false;
|
|
3419
|
-
if (!(this.
|
|
3657
|
+
if (!(this.distributePoints == tmp0_other_with_cast.distributePoints))
|
|
3420
3658
|
return false;
|
|
3421
|
-
if (!(this.
|
|
3659
|
+
if (!(this.protectBella == tmp0_other_with_cast.protectBella))
|
|
3422
3660
|
return false;
|
|
3423
|
-
if (!(this.
|
|
3661
|
+
if (!(this.oneTryToProtectBella == tmp0_other_with_cast.oneTryToProtectBella))
|
|
3424
3662
|
return false;
|
|
3425
|
-
if (!(this.
|
|
3663
|
+
if (!(this.enableFourSevensCombination == tmp0_other_with_cast.enableFourSevensCombination))
|
|
3426
3664
|
return false;
|
|
3427
|
-
if (!(this.
|
|
3665
|
+
if (!(this.enableTrumpSevenCombination == tmp0_other_with_cast.enableTrumpSevenCombination))
|
|
3428
3666
|
return false;
|
|
3429
|
-
if (!(this.
|
|
3667
|
+
if (!(this.enableTrumpSevenCombinationAfterDistribution == tmp0_other_with_cast.enableTrumpSevenCombinationAfterDistribution))
|
|
3430
3668
|
return false;
|
|
3431
|
-
if (!(this.
|
|
3669
|
+
if (!(this.playerWhoChooseSuitGoFirst == tmp0_other_with_cast.playerWhoChooseSuitGoFirst))
|
|
3432
3670
|
return false;
|
|
3433
|
-
if (!(this.
|
|
3671
|
+
if (!(this.winnerShuffleCards == tmp0_other_with_cast.winnerShuffleCards))
|
|
3434
3672
|
return false;
|
|
3435
|
-
if (!(this.
|
|
3673
|
+
if (!(this.playWithoutLiabilities == tmp0_other_with_cast.playWithoutLiabilities))
|
|
3436
3674
|
return false;
|
|
3437
|
-
if (!(this.
|
|
3675
|
+
if (!(this.trumpCardGoToPlayerWhoShuffleCards == tmp0_other_with_cast.trumpCardGoToPlayerWhoShuffleCards))
|
|
3438
3676
|
return false;
|
|
3439
|
-
if (!(this.
|
|
3677
|
+
if (!(this.enableFineIfNoBribes == tmp0_other_with_cast.enableFineIfNoBribes))
|
|
3440
3678
|
return false;
|
|
3441
|
-
if (!(this.
|
|
3679
|
+
if (!(this.fineIfNoBribes === tmp0_other_with_cast.fineIfNoBribes))
|
|
3442
3680
|
return false;
|
|
3443
|
-
if (!(this.
|
|
3681
|
+
if (!(this.enableFineAfterThirdByte == tmp0_other_with_cast.enableFineAfterThirdByte))
|
|
3444
3682
|
return false;
|
|
3445
|
-
if (!(this.
|
|
3683
|
+
if (!(this.checkTrumpCombination == tmp0_other_with_cast.checkTrumpCombination))
|
|
3446
3684
|
return false;
|
|
3447
|
-
if (!(this.
|
|
3685
|
+
if (!(this.checkOnlyTrumpDebertz == tmp0_other_with_cast.checkOnlyTrumpDebertz))
|
|
3448
3686
|
return false;
|
|
3449
|
-
if (!(this.
|
|
3687
|
+
if (!(this.tenCardsInHand == tmp0_other_with_cast.tenCardsInHand))
|
|
3450
3688
|
return false;
|
|
3451
3689
|
return true;
|
|
3452
3690
|
};
|
|
3453
3691
|
function CardIndexComparator() {
|
|
3454
3692
|
}
|
|
3455
|
-
protoOf(CardIndexComparator).
|
|
3456
|
-
return a.
|
|
3693
|
+
protoOf(CardIndexComparator).f2m = function (a, b) {
|
|
3694
|
+
return a.d2l_1 - b.d2l_1 | 0;
|
|
3457
3695
|
};
|
|
3458
3696
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
3459
3697
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3460
|
-
return this.
|
|
3698
|
+
return this.f2m(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3461
3699
|
};
|
|
3462
3700
|
var CardIndexComparator_instance;
|
|
3463
3701
|
function CardIndexComparator_getInstance() {
|
|
3464
3702
|
return CardIndexComparator_instance;
|
|
3465
3703
|
}
|
|
3466
3704
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
3467
|
-
this.
|
|
3468
|
-
this.
|
|
3705
|
+
this.g2m_1 = trump;
|
|
3706
|
+
this.h2m_1 = firstCardSuit;
|
|
3469
3707
|
}
|
|
3470
|
-
protoOf(CardGrowthComparator).
|
|
3471
|
-
return getGrowth(b, this.
|
|
3708
|
+
protoOf(CardGrowthComparator).f2m = function (a, b) {
|
|
3709
|
+
return getGrowth(b, this.g2m_1, this.h2m_1) - getGrowth(a, this.g2m_1, this.h2m_1) | 0;
|
|
3472
3710
|
};
|
|
3473
3711
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
3474
3712
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3475
|
-
return this.
|
|
3713
|
+
return this.f2m(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3476
3714
|
};
|
|
3477
3715
|
function filterByCardName(_this__u8e3s4, name) {
|
|
3478
3716
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3504,25 +3742,25 @@
|
|
|
3504
3742
|
}
|
|
3505
3743
|
function CardNumberComparator() {
|
|
3506
3744
|
}
|
|
3507
|
-
protoOf(CardNumberComparator).
|
|
3508
|
-
return b.
|
|
3745
|
+
protoOf(CardNumberComparator).f2m = function (a, b) {
|
|
3746
|
+
return b.i2m() - a.i2m() | 0;
|
|
3509
3747
|
};
|
|
3510
3748
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
3511
3749
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3512
|
-
return this.
|
|
3750
|
+
return this.f2m(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3513
3751
|
};
|
|
3514
3752
|
var CardNumberComparator_instance;
|
|
3515
3753
|
function CardNumberComparator_getInstance() {
|
|
3516
3754
|
return CardNumberComparator_instance;
|
|
3517
3755
|
}
|
|
3518
3756
|
function getPoint(_this__u8e3s4, trump) {
|
|
3519
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3757
|
+
var isTrump = trump.equals(_this__u8e3s4.j2m());
|
|
3520
3758
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
3521
3759
|
}
|
|
3522
3760
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3523
3761
|
var minPoint = 0;
|
|
3524
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3525
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3762
|
+
var isTrump = trump.equals(_this__u8e3s4.j2m());
|
|
3763
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.j2m());
|
|
3526
3764
|
var minGrowth;
|
|
3527
3765
|
var maxGrowth;
|
|
3528
3766
|
switch (_this__u8e3s4.z8().b8_1) {
|
|
@@ -3612,7 +3850,7 @@
|
|
|
3612
3850
|
return tmp;
|
|
3613
3851
|
}
|
|
3614
3852
|
function getValueInHand(_this__u8e3s4, trump, allCards) {
|
|
3615
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3853
|
+
var isTrump = trump.equals(_this__u8e3s4.j2m());
|
|
3616
3854
|
return getValueInHand_0(_this__u8e3s4, isTrump, allCards);
|
|
3617
3855
|
}
|
|
3618
3856
|
function getValueInHand_0(_this__u8e3s4, isTrump, allCards) {
|
|
@@ -3696,7 +3934,7 @@
|
|
|
3696
3934
|
var element = indexedObject[inductionVariable];
|
|
3697
3935
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3698
3936
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3699
|
-
if (p1.
|
|
3937
|
+
if (p1.j2m().equals(element)) {
|
|
3700
3938
|
tmp$ret$1 = true;
|
|
3701
3939
|
break $l$block;
|
|
3702
3940
|
}
|
|
@@ -3793,10 +4031,10 @@
|
|
|
3793
4031
|
}
|
|
3794
4032
|
function Companion_18() {
|
|
3795
4033
|
}
|
|
3796
|
-
protoOf(Companion_18).
|
|
4034
|
+
protoOf(Companion_18).k2m = function (suit, cardNumber) {
|
|
3797
4035
|
return new GameCard(getNumber(Companion_instance_19, cardNumber, suit));
|
|
3798
4036
|
};
|
|
3799
|
-
protoOf(Companion_18).
|
|
4037
|
+
protoOf(Companion_18).l2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
3800
4038
|
var tmp;
|
|
3801
4039
|
if (previousStubCardWithMaxIndex == null) {
|
|
3802
4040
|
tmp = null;
|
|
@@ -3805,7 +4043,7 @@
|
|
|
3805
4043
|
// Inline function 'kotlin.contracts.contract' call
|
|
3806
4044
|
var tmp_0;
|
|
3807
4045
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3808
|
-
if (previousStubCardWithMaxIndex.
|
|
4046
|
+
if (previousStubCardWithMaxIndex.m2m()) {
|
|
3809
4047
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
3810
4048
|
} else {
|
|
3811
4049
|
tmp_0 = null;
|
|
@@ -3813,8 +4051,8 @@
|
|
|
3813
4051
|
tmp = tmp_0;
|
|
3814
4052
|
}
|
|
3815
4053
|
var tmp1_safe_receiver = tmp;
|
|
3816
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3817
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.
|
|
4054
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.d2l_1;
|
|
4055
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.r2m(tmp2_safe_receiver, playerIndex, reverse);
|
|
3818
4056
|
var tmp_1;
|
|
3819
4057
|
if (tmp3_safe_receiver == null) {
|
|
3820
4058
|
tmp_1 = null;
|
|
@@ -3835,10 +4073,10 @@
|
|
|
3835
4073
|
var index = tmp_2;
|
|
3836
4074
|
return new GameCard(index);
|
|
3837
4075
|
};
|
|
3838
|
-
protoOf(Companion_18).
|
|
4076
|
+
protoOf(Companion_18).s2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
3839
4077
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
3840
4078
|
reverse = reverse === VOID ? false : reverse;
|
|
3841
|
-
return $super === VOID ? this.
|
|
4079
|
+
return $super === VOID ? this.l2m(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.l2m.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3842
4080
|
};
|
|
3843
4081
|
var Companion_instance_18;
|
|
3844
4082
|
function Companion_getInstance_19() {
|
|
@@ -3942,7 +4180,7 @@
|
|
|
3942
4180
|
return tmp;
|
|
3943
4181
|
}
|
|
3944
4182
|
function _get_isShirt__vd98rp($this) {
|
|
3945
|
-
return $this.
|
|
4183
|
+
return $this.d2l_1 === 52;
|
|
3946
4184
|
}
|
|
3947
4185
|
function CardName(name, ordinal) {
|
|
3948
4186
|
Enum.call(this, name, ordinal);
|
|
@@ -3951,12 +4189,12 @@
|
|
|
3951
4189
|
return getShorName(this);
|
|
3952
4190
|
};
|
|
3953
4191
|
function Companion_19() {
|
|
3954
|
-
this.
|
|
3955
|
-
this.
|
|
3956
|
-
this.
|
|
3957
|
-
this.
|
|
4192
|
+
this.n2m_1 = -1;
|
|
4193
|
+
this.o2m_1 = 13;
|
|
4194
|
+
this.p2m_1 = 52;
|
|
4195
|
+
this.q2m_1 = 53;
|
|
3958
4196
|
}
|
|
3959
|
-
protoOf(Companion_19).
|
|
4197
|
+
protoOf(Companion_19).r2m = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3960
4198
|
var tmp;
|
|
3961
4199
|
if (reverse) {
|
|
3962
4200
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -4026,56 +4264,56 @@
|
|
|
4026
4264
|
return CardName_STUB_instance;
|
|
4027
4265
|
}
|
|
4028
4266
|
function GameCard(index) {
|
|
4029
|
-
this.
|
|
4267
|
+
this.d2l_1 = index;
|
|
4030
4268
|
}
|
|
4031
|
-
protoOf(GameCard).
|
|
4269
|
+
protoOf(GameCard).j2m = function () {
|
|
4032
4270
|
var tmp;
|
|
4033
|
-
var containsArg = this.
|
|
4271
|
+
var containsArg = this.d2l_1;
|
|
4034
4272
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
4035
4273
|
tmp = Suit_DIAMOND_getInstance();
|
|
4036
4274
|
} else {
|
|
4037
|
-
if (this.
|
|
4275
|
+
if (this.d2l_1 <= 26) {
|
|
4038
4276
|
tmp = Suit_SPADE_getInstance();
|
|
4039
4277
|
} else {
|
|
4040
|
-
if (this.
|
|
4278
|
+
if (this.d2l_1 <= 39) {
|
|
4041
4279
|
tmp = Suit_HEART_getInstance();
|
|
4042
4280
|
} else {
|
|
4043
|
-
if (this.
|
|
4281
|
+
if (this.d2l_1 <= 52) {
|
|
4044
4282
|
tmp = Suit_CLUB_getInstance();
|
|
4045
4283
|
} else {
|
|
4046
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
4284
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.d2l_1);
|
|
4047
4285
|
}
|
|
4048
4286
|
}
|
|
4049
4287
|
}
|
|
4050
4288
|
}
|
|
4051
4289
|
return tmp;
|
|
4052
4290
|
};
|
|
4053
|
-
protoOf(GameCard).
|
|
4291
|
+
protoOf(GameCard).i2m = function () {
|
|
4054
4292
|
var tmp;
|
|
4055
|
-
if (this.
|
|
4293
|
+
if (this.m2m()) {
|
|
4056
4294
|
tmp = -1;
|
|
4057
4295
|
} else {
|
|
4058
|
-
tmp = this.
|
|
4296
|
+
tmp = this.d2l_1 - imul(13, getIndex(this.j2m())) | 0;
|
|
4059
4297
|
}
|
|
4060
4298
|
return tmp;
|
|
4061
4299
|
};
|
|
4062
4300
|
protoOf(GameCard).z8 = function () {
|
|
4063
|
-
return this.
|
|
4301
|
+
return this.m2m() ? CardName_STUB_getInstance() : getName(Companion_instance_19, this.i2m());
|
|
4064
4302
|
};
|
|
4065
|
-
protoOf(GameCard).
|
|
4066
|
-
return this.
|
|
4303
|
+
protoOf(GameCard).m2m = function () {
|
|
4304
|
+
return this.d2l_1 >= 53;
|
|
4067
4305
|
};
|
|
4068
4306
|
protoOf(GameCard).toString = function () {
|
|
4069
4307
|
if (_get_isShirt__vd98rp(this)) {
|
|
4070
4308
|
return 'GameCard(SHIRT)';
|
|
4071
4309
|
}
|
|
4072
|
-
if (this.
|
|
4073
|
-
return 'GameCard(STUB, ' + this.
|
|
4310
|
+
if (this.m2m()) {
|
|
4311
|
+
return 'GameCard(STUB, ' + this.d2l_1 + ')';
|
|
4074
4312
|
}
|
|
4075
|
-
return 'GameCard(' + this.
|
|
4313
|
+
return 'GameCard(' + this.j2m() + this.z8() + ', ' + this.d2l_1 + ')';
|
|
4076
4314
|
};
|
|
4077
4315
|
protoOf(GameCard).hashCode = function () {
|
|
4078
|
-
return this.
|
|
4316
|
+
return this.d2l_1;
|
|
4079
4317
|
};
|
|
4080
4318
|
protoOf(GameCard).equals = function (other) {
|
|
4081
4319
|
if (this === other)
|
|
@@ -4083,20 +4321,20 @@
|
|
|
4083
4321
|
if (!(other instanceof GameCard))
|
|
4084
4322
|
return false;
|
|
4085
4323
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
4086
|
-
if (!(this.
|
|
4324
|
+
if (!(this.d2l_1 === tmp0_other_with_cast.d2l_1))
|
|
4087
4325
|
return false;
|
|
4088
4326
|
return true;
|
|
4089
4327
|
};
|
|
4090
4328
|
function ProcessingCard(gameCard, payload) {
|
|
4091
|
-
this.
|
|
4092
|
-
this.
|
|
4329
|
+
this.t2m_1 = gameCard;
|
|
4330
|
+
this.u2m_1 = payload;
|
|
4093
4331
|
}
|
|
4094
4332
|
protoOf(ProcessingCard).toString = function () {
|
|
4095
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
4333
|
+
return 'ProcessingCard(gameCard=' + this.t2m_1 + ', payload=' + this.u2m_1 + ')';
|
|
4096
4334
|
};
|
|
4097
4335
|
protoOf(ProcessingCard).hashCode = function () {
|
|
4098
|
-
var result = this.
|
|
4099
|
-
result = imul(result, 31) + (this.
|
|
4336
|
+
var result = this.t2m_1.hashCode();
|
|
4337
|
+
result = imul(result, 31) + (this.u2m_1 == null ? 0 : hashCode(this.u2m_1)) | 0;
|
|
4100
4338
|
return result;
|
|
4101
4339
|
};
|
|
4102
4340
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -4105,14 +4343,14 @@
|
|
|
4105
4343
|
if (!(other instanceof ProcessingCard))
|
|
4106
4344
|
return false;
|
|
4107
4345
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
4108
|
-
if (!this.
|
|
4346
|
+
if (!this.t2m_1.equals(tmp0_other_with_cast.t2m_1))
|
|
4109
4347
|
return false;
|
|
4110
|
-
if (!equals(this.
|
|
4348
|
+
if (!equals(this.u2m_1, tmp0_other_with_cast.u2m_1))
|
|
4111
4349
|
return false;
|
|
4112
4350
|
return true;
|
|
4113
4351
|
};
|
|
4114
4352
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4115
|
-
return $this.
|
|
4353
|
+
return $this.v2m_1.o2();
|
|
4116
4354
|
}
|
|
4117
4355
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
4118
4356
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -4146,7 +4384,7 @@
|
|
|
4146
4384
|
Companion_instance_20 = this;
|
|
4147
4385
|
var tmp = this;
|
|
4148
4386
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4149
|
-
tmp.
|
|
4387
|
+
tmp.v2m_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
4150
4388
|
}
|
|
4151
4389
|
protoOf(Companion_20).o1z = function () {
|
|
4152
4390
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -4219,16 +4457,16 @@
|
|
|
4219
4457
|
return tmp;
|
|
4220
4458
|
}
|
|
4221
4459
|
function _no_name_provided__qut3iv($logger) {
|
|
4222
|
-
this.
|
|
4460
|
+
this.x2m_1 = $logger;
|
|
4223
4461
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
4224
4462
|
}
|
|
4225
4463
|
protoOf(_no_name_provided__qut3iv).yn = function (context, exception) {
|
|
4226
|
-
this.
|
|
4464
|
+
this.x2m_1.e('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
4227
4465
|
return Unit_instance;
|
|
4228
4466
|
};
|
|
4229
4467
|
function AsyncProviderImpl$launchWorkerWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4468
|
+
this.g2n_1 = this$0;
|
|
4469
|
+
this.h2n_1 = $block;
|
|
4232
4470
|
CoroutineImpl.call(this, resultContinuation);
|
|
4233
4471
|
}
|
|
4234
4472
|
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).o13 = function ($this$launch, $completion) {
|
|
@@ -4252,11 +4490,11 @@
|
|
|
4252
4490
|
continue $sm;
|
|
4253
4491
|
case 1:
|
|
4254
4492
|
var tmp_0 = this;
|
|
4255
|
-
tmp_0.
|
|
4493
|
+
tmp_0.k2n_1 = this.g2n_1.o2n_1;
|
|
4256
4494
|
var tmp_1 = this;
|
|
4257
|
-
tmp_1.
|
|
4495
|
+
tmp_1.l2n_1 = null;
|
|
4258
4496
|
this.fa_1 = 2;
|
|
4259
|
-
suspendResult = this.
|
|
4497
|
+
suspendResult = this.k2n_1.l1a(this.l2n_1, this);
|
|
4260
4498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4261
4499
|
return suspendResult;
|
|
4262
4500
|
}
|
|
@@ -4271,14 +4509,14 @@
|
|
|
4271
4509
|
case 4:
|
|
4272
4510
|
this.ga_1 = 9;
|
|
4273
4511
|
this.fa_1 = 5;
|
|
4274
|
-
suspendResult = this.
|
|
4512
|
+
suspendResult = this.h2n_1(this.i2n_1, this);
|
|
4275
4513
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4276
4514
|
return suspendResult;
|
|
4277
4515
|
}
|
|
4278
4516
|
|
|
4279
4517
|
continue $sm;
|
|
4280
4518
|
case 5:
|
|
4281
|
-
this.
|
|
4519
|
+
this.m2n_1 = suspendResult;
|
|
4282
4520
|
this.ga_1 = 10;
|
|
4283
4521
|
this.fa_1 = 6;
|
|
4284
4522
|
var tmp_2 = this;
|
|
@@ -4286,13 +4524,13 @@
|
|
|
4286
4524
|
case 6:
|
|
4287
4525
|
this.ga_1 = 10;
|
|
4288
4526
|
var tmp_3 = this;
|
|
4289
|
-
this.
|
|
4290
|
-
tmp_3.
|
|
4527
|
+
this.k2n_1.w19(this.l2n_1);
|
|
4528
|
+
tmp_3.j2n_1 = Unit_instance;
|
|
4291
4529
|
this.fa_1 = 8;
|
|
4292
4530
|
continue $sm;
|
|
4293
4531
|
case 7:
|
|
4294
4532
|
this.ga_1 = 10;
|
|
4295
|
-
this.
|
|
4533
|
+
this.k2n_1.w19(this.l2n_1);
|
|
4296
4534
|
if (false) {
|
|
4297
4535
|
this.fa_1 = 1;
|
|
4298
4536
|
continue $sm;
|
|
@@ -4305,7 +4543,7 @@
|
|
|
4305
4543
|
case 9:
|
|
4306
4544
|
this.ga_1 = 10;
|
|
4307
4545
|
var t = this.ia_1;
|
|
4308
|
-
this.
|
|
4546
|
+
this.k2n_1.w19(this.l2n_1);
|
|
4309
4547
|
throw t;
|
|
4310
4548
|
case 10:
|
|
4311
4549
|
throw this.ia_1;
|
|
@@ -4322,8 +4560,8 @@
|
|
|
4322
4560
|
while (true);
|
|
4323
4561
|
};
|
|
4324
4562
|
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).p13 = function ($this$launch, completion) {
|
|
4325
|
-
var i = new AsyncProviderImpl$launchWorkerWithLock$slambda(this.
|
|
4326
|
-
i.
|
|
4563
|
+
var i = new AsyncProviderImpl$launchWorkerWithLock$slambda(this.g2n_1, this.h2n_1, completion);
|
|
4564
|
+
i.i2n_1 = $this$launch;
|
|
4327
4565
|
return i;
|
|
4328
4566
|
};
|
|
4329
4567
|
function AsyncProviderImpl$launchWorkerWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -4335,36 +4573,36 @@
|
|
|
4335
4573
|
return l;
|
|
4336
4574
|
}
|
|
4337
4575
|
function AsyncProviderImpl(logger) {
|
|
4338
|
-
this.
|
|
4339
|
-
this.
|
|
4576
|
+
this.n2n_1 = Job();
|
|
4577
|
+
this.o2n_1 = Mutex();
|
|
4340
4578
|
var tmp = this;
|
|
4341
4579
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
4342
|
-
tmp.
|
|
4343
|
-
this.
|
|
4344
|
-
this.
|
|
4580
|
+
tmp.p2n_1 = new _no_name_provided__qut3iv(logger);
|
|
4581
|
+
this.q2n_1 = CoroutineScope_0(Dispatchers_getInstance().sr().sd(this.n2n_1));
|
|
4582
|
+
this.r2n_1 = CoroutineScope_0(Dispatchers_getInstance().or_1.sd(this.n2n_1));
|
|
4345
4583
|
}
|
|
4346
|
-
protoOf(AsyncProviderImpl).
|
|
4347
|
-
return this.
|
|
4584
|
+
protoOf(AsyncProviderImpl).s2n = function () {
|
|
4585
|
+
return this.p2n_1;
|
|
4348
4586
|
};
|
|
4349
|
-
protoOf(AsyncProviderImpl).
|
|
4350
|
-
return launch(this.
|
|
4587
|
+
protoOf(AsyncProviderImpl).t2n = function (context, block) {
|
|
4588
|
+
return launch(this.q2n_1, context, VOID, block);
|
|
4351
4589
|
};
|
|
4352
|
-
protoOf(AsyncProviderImpl).
|
|
4353
|
-
return launch(this.
|
|
4590
|
+
protoOf(AsyncProviderImpl).v2n = function (context, block) {
|
|
4591
|
+
return launch(this.r2n_1, context, VOID, block);
|
|
4354
4592
|
};
|
|
4355
|
-
protoOf(AsyncProviderImpl).
|
|
4356
|
-
return launch(this.
|
|
4593
|
+
protoOf(AsyncProviderImpl).x2n = function (context, block) {
|
|
4594
|
+
return launch(this.r2n_1, context, VOID, AsyncProviderImpl$launchWorkerWithLock$slambda_0(this, block, null));
|
|
4357
4595
|
};
|
|
4358
4596
|
protoOf(AsyncProviderImpl).ol = function () {
|
|
4359
|
-
if (!this.
|
|
4360
|
-
this.
|
|
4597
|
+
if (!this.n2n_1.zj()) {
|
|
4598
|
+
this.n2n_1.mk();
|
|
4361
4599
|
}
|
|
4362
4600
|
};
|
|
4363
4601
|
function AsyncProvider() {
|
|
4364
4602
|
}
|
|
4365
4603
|
function UUIDIdsProvider() {
|
|
4366
4604
|
}
|
|
4367
|
-
protoOf(UUIDIdsProvider).
|
|
4605
|
+
protoOf(UUIDIdsProvider).z2n = function () {
|
|
4368
4606
|
return uuid4().toString();
|
|
4369
4607
|
};
|
|
4370
4608
|
var UUIDIdsProvider_instance;
|
|
@@ -4374,45 +4612,45 @@
|
|
|
4374
4612
|
function IdsProvider() {
|
|
4375
4613
|
}
|
|
4376
4614
|
function JobsProviderImpl(logger) {
|
|
4377
|
-
this.
|
|
4615
|
+
this.a2o_1 = logger;
|
|
4378
4616
|
var tmp = this;
|
|
4379
4617
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
4380
|
-
tmp.
|
|
4618
|
+
tmp.b2o_1 = HashMap_init_$Create$();
|
|
4381
4619
|
}
|
|
4382
|
-
protoOf(JobsProviderImpl).
|
|
4383
|
-
if (this.
|
|
4384
|
-
this.
|
|
4620
|
+
protoOf(JobsProviderImpl).c2o = function (timerTag, job) {
|
|
4621
|
+
if (this.d2o(timerTag)) {
|
|
4622
|
+
this.a2o_1.w(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
4385
4623
|
}
|
|
4386
4624
|
// Inline function 'kotlin.collections.set' call
|
|
4387
|
-
this.
|
|
4625
|
+
this.b2o_1.k2(timerTag, job);
|
|
4388
4626
|
};
|
|
4389
|
-
protoOf(JobsProviderImpl).
|
|
4390
|
-
return this.
|
|
4627
|
+
protoOf(JobsProviderImpl).d2o = function (timerTag) {
|
|
4628
|
+
return this.b2o_1.r2(timerTag);
|
|
4391
4629
|
};
|
|
4392
|
-
protoOf(JobsProviderImpl).
|
|
4393
|
-
if (!this.
|
|
4394
|
-
this.
|
|
4630
|
+
protoOf(JobsProviderImpl).e2o = function (timerTag) {
|
|
4631
|
+
if (!this.d2o(timerTag)) {
|
|
4632
|
+
this.a2o_1.w(VOID, "Can't find timer for that tag: " + timerTag);
|
|
4395
4633
|
}
|
|
4396
|
-
this.
|
|
4634
|
+
this.b2o_1.l2(timerTag);
|
|
4397
4635
|
};
|
|
4398
|
-
protoOf(JobsProviderImpl).
|
|
4636
|
+
protoOf(JobsProviderImpl).f2o = function (timers) {
|
|
4399
4637
|
// Inline function 'kotlin.collections.forEach' call
|
|
4400
4638
|
var tmp0_iterator = timers.v();
|
|
4401
4639
|
while (tmp0_iterator.w()) {
|
|
4402
4640
|
var element = tmp0_iterator.y();
|
|
4403
4641
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
4404
|
-
var timer = this.
|
|
4642
|
+
var timer = this.b2o_1.t2(element);
|
|
4405
4643
|
if (timer == null)
|
|
4406
4644
|
null;
|
|
4407
4645
|
else {
|
|
4408
4646
|
timer.mk();
|
|
4409
4647
|
}
|
|
4410
4648
|
}
|
|
4411
|
-
this.
|
|
4649
|
+
this.b2o_1.j2().a1(toSet(timers));
|
|
4412
4650
|
};
|
|
4413
|
-
protoOf(JobsProviderImpl).
|
|
4414
|
-
var timer = this.
|
|
4415
|
-
this.
|
|
4651
|
+
protoOf(JobsProviderImpl).g2o = function (timerTag) {
|
|
4652
|
+
var timer = this.b2o_1.t2(timerTag);
|
|
4653
|
+
this.b2o_1.l2(timerTag);
|
|
4416
4654
|
if (timer == null)
|
|
4417
4655
|
null;
|
|
4418
4656
|
else {
|
|
@@ -4540,7 +4778,7 @@
|
|
|
4540
4778
|
}
|
|
4541
4779
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
4542
4780
|
try {
|
|
4543
|
-
currentState._v = currentReducer._v.
|
|
4781
|
+
currentState._v = currentReducer._v.h2o(currentState._v, action);
|
|
4544
4782
|
} catch ($p) {
|
|
4545
4783
|
if ($p instanceof Exception) {
|
|
4546
4784
|
var exception = $p;
|
|
@@ -4561,18 +4799,18 @@
|
|
|
4561
4799
|
};
|
|
4562
4800
|
}
|
|
4563
4801
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
4564
|
-
this.
|
|
4565
|
-
this.
|
|
4802
|
+
this.q2o_1 = $$this$unsafeFlow;
|
|
4803
|
+
this.r2o_1 = this$0;
|
|
4566
4804
|
CoroutineImpl.call(this, resultContinuation);
|
|
4567
4805
|
}
|
|
4568
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
4569
|
-
var tmp = this.
|
|
4806
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).v2o = function (value, $completion) {
|
|
4807
|
+
var tmp = this.w2o(value, $completion);
|
|
4570
4808
|
tmp.ha_1 = Unit_instance;
|
|
4571
4809
|
tmp.ia_1 = null;
|
|
4572
4810
|
return tmp.sa();
|
|
4573
4811
|
};
|
|
4574
4812
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).fb = function (p1, $completion) {
|
|
4575
|
-
return this.
|
|
4813
|
+
return this.v2o(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
4576
4814
|
};
|
|
4577
4815
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).sa = function () {
|
|
4578
4816
|
var suspendResult = this.ha_1;
|
|
@@ -4583,12 +4821,12 @@
|
|
|
4583
4821
|
case 0:
|
|
4584
4822
|
this.ga_1 = 2;
|
|
4585
4823
|
var tmp_0 = this;
|
|
4586
|
-
tmp_0.
|
|
4824
|
+
tmp_0.t2o_1 = this.q2o_1;
|
|
4587
4825
|
var tmp_1 = this;
|
|
4588
|
-
tmp_1.
|
|
4826
|
+
tmp_1.u2o_1 = this.s2o_1;
|
|
4589
4827
|
this.fa_1 = 1;
|
|
4590
|
-
this.
|
|
4591
|
-
suspendResult = this.
|
|
4828
|
+
this.u2o_1;
|
|
4829
|
+
suspendResult = this.t2o_1.ry(this.r2o_1.state, this);
|
|
4592
4830
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4593
4831
|
return suspendResult;
|
|
4594
4832
|
}
|
|
@@ -4610,23 +4848,23 @@
|
|
|
4610
4848
|
}
|
|
4611
4849
|
while (true);
|
|
4612
4850
|
};
|
|
4613
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
4614
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
4615
|
-
i.
|
|
4851
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).w2o = function (value, completion) {
|
|
4852
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.q2o_1, this.r2o_1, completion);
|
|
4853
|
+
i.s2o_1 = value;
|
|
4616
4854
|
return i;
|
|
4617
4855
|
};
|
|
4618
4856
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
4619
4857
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
4620
4858
|
var l = function (value, $completion) {
|
|
4621
|
-
return i.
|
|
4859
|
+
return i.v2o(value, $completion);
|
|
4622
4860
|
};
|
|
4623
4861
|
l.$arity = 1;
|
|
4624
4862
|
return l;
|
|
4625
4863
|
}
|
|
4626
4864
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
4627
4865
|
CoroutineImpl.call(this, resultContinuation);
|
|
4628
|
-
this.
|
|
4629
|
-
this.
|
|
4866
|
+
this.f2p_1 = _this__u8e3s4;
|
|
4867
|
+
this.g2p_1 = collector;
|
|
4630
4868
|
}
|
|
4631
4869
|
protoOf($collectCOROUTINE$0).sa = function () {
|
|
4632
4870
|
var suspendResult = this.ha_1;
|
|
@@ -4637,10 +4875,10 @@
|
|
|
4637
4875
|
case 0:
|
|
4638
4876
|
this.ga_1 = 2;
|
|
4639
4877
|
var tmp_0 = this;
|
|
4640
|
-
tmp_0.
|
|
4878
|
+
tmp_0.h2p_1 = this.g2p_1;
|
|
4641
4879
|
this.fa_1 = 1;
|
|
4642
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
4643
|
-
suspendResult = this.
|
|
4880
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.h2p_1, this.f2p_1.j2p_1, null);
|
|
4881
|
+
suspendResult = this.f2p_1.i2p_1.k10(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
4644
4882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4645
4883
|
return suspendResult;
|
|
4646
4884
|
}
|
|
@@ -4663,10 +4901,10 @@
|
|
|
4663
4901
|
while (true);
|
|
4664
4902
|
};
|
|
4665
4903
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
4666
|
-
this.
|
|
4904
|
+
this.k2p_1 = function_0;
|
|
4667
4905
|
}
|
|
4668
4906
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).ry = function (value, $completion) {
|
|
4669
|
-
return this.
|
|
4907
|
+
return this.k2p_1(value, $completion);
|
|
4670
4908
|
};
|
|
4671
4909
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
4672
4910
|
return function (action) {
|
|
@@ -4681,46 +4919,46 @@
|
|
|
4681
4919
|
};
|
|
4682
4920
|
}
|
|
4683
4921
|
function _no_name_provided__qut3iv_0($this, this$0) {
|
|
4684
|
-
this.
|
|
4685
|
-
this.
|
|
4922
|
+
this.i2p_1 = $this;
|
|
4923
|
+
this.j2p_1 = this$0;
|
|
4686
4924
|
}
|
|
4687
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
4925
|
+
protoOf(_no_name_provided__qut3iv_0).l2p = function (collector, $completion) {
|
|
4688
4926
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
4689
4927
|
tmp.ha_1 = Unit_instance;
|
|
4690
4928
|
tmp.ia_1 = null;
|
|
4691
4929
|
return tmp.sa();
|
|
4692
4930
|
};
|
|
4693
4931
|
protoOf(_no_name_provided__qut3iv_0).k10 = function (collector, $completion) {
|
|
4694
|
-
return this.
|
|
4932
|
+
return this.l2p(collector, $completion);
|
|
4695
4933
|
};
|
|
4696
4934
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
4697
|
-
this.
|
|
4698
|
-
this.
|
|
4699
|
-
this.
|
|
4935
|
+
this.p2p_1 = $currentState;
|
|
4936
|
+
this.q2p_1 = $stateTrigger;
|
|
4937
|
+
this.m2p_1 = this;
|
|
4700
4938
|
var tmp = this;
|
|
4701
|
-
tmp.
|
|
4939
|
+
tmp.n2p_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
4702
4940
|
var tmp_0 = this;
|
|
4703
|
-
tmp_0.
|
|
4941
|
+
tmp_0.o2p_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
4704
4942
|
}
|
|
4705
|
-
protoOf(createStore$2).
|
|
4706
|
-
return this.
|
|
4943
|
+
protoOf(createStore$2).r2p = function () {
|
|
4944
|
+
return this.m2p_1;
|
|
4707
4945
|
};
|
|
4708
4946
|
protoOf(createStore$2).xj = function () {
|
|
4709
|
-
return createStore$getState(this.
|
|
4947
|
+
return createStore$getState(this.p2p_1);
|
|
4710
4948
|
};
|
|
4711
|
-
protoOf(createStore$2).
|
|
4712
|
-
this.
|
|
4949
|
+
protoOf(createStore$2).s2p = function (_set____db54di) {
|
|
4950
|
+
this.n2p_1 = _set____db54di;
|
|
4713
4951
|
};
|
|
4714
|
-
protoOf(createStore$2).
|
|
4715
|
-
return this.
|
|
4952
|
+
protoOf(createStore$2).t2p = function () {
|
|
4953
|
+
return this.n2p_1;
|
|
4716
4954
|
};
|
|
4717
|
-
protoOf(createStore$2).
|
|
4718
|
-
return this.
|
|
4955
|
+
protoOf(createStore$2).u2p = function () {
|
|
4956
|
+
return this.o2p_1;
|
|
4719
4957
|
};
|
|
4720
|
-
protoOf(createStore$2).
|
|
4958
|
+
protoOf(createStore$2).v2p = function () {
|
|
4721
4959
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
4722
4960
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
4723
|
-
var this_0 = this.
|
|
4961
|
+
var this_0 = this.q2p_1;
|
|
4724
4962
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
4725
4963
|
return new _no_name_provided__qut3iv_0(this_0, this);
|
|
4726
4964
|
};
|
|
@@ -4770,10 +5008,10 @@
|
|
|
4770
5008
|
return new middleware$1(dispatch);
|
|
4771
5009
|
}
|
|
4772
5010
|
function middleware$1($dispatch) {
|
|
4773
|
-
this.
|
|
5011
|
+
this.y2p_1 = $dispatch;
|
|
4774
5012
|
}
|
|
4775
|
-
protoOf(middleware$1).
|
|
4776
|
-
this.
|
|
5013
|
+
protoOf(middleware$1).x2p = function (store, next, action) {
|
|
5014
|
+
this.y2p_1(store, next, action);
|
|
4777
5015
|
};
|
|
4778
5016
|
function Reducer() {
|
|
4779
5017
|
}
|
|
@@ -4781,13 +5019,13 @@
|
|
|
4781
5019
|
return new combineReducers$1(reducers);
|
|
4782
5020
|
}
|
|
4783
5021
|
function combineReducers$1($reducers) {
|
|
4784
|
-
this.
|
|
5022
|
+
this.z2p_1 = $reducers;
|
|
4785
5023
|
}
|
|
4786
|
-
protoOf(combineReducers$1).
|
|
5024
|
+
protoOf(combineReducers$1).a2q = function (state, action) {
|
|
4787
5025
|
// Inline function 'kotlin.collections.fold' call
|
|
4788
5026
|
// Inline function 'kotlin.collections.filter' call
|
|
4789
5027
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4790
|
-
var this_0 = this.
|
|
5028
|
+
var this_0 = this.z2p_1;
|
|
4791
5029
|
var destination = ArrayList_init_$Create$();
|
|
4792
5030
|
var inductionVariable = 0;
|
|
4793
5031
|
var last = this_0.length;
|
|
@@ -4795,7 +5033,7 @@
|
|
|
4795
5033
|
var element = this_0[inductionVariable];
|
|
4796
5034
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4797
5035
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4798
|
-
if (element.
|
|
5036
|
+
if (element.w2p(action)) {
|
|
4799
5037
|
destination.s(element);
|
|
4800
5038
|
}
|
|
4801
5039
|
}
|
|
@@ -4805,12 +5043,12 @@
|
|
|
4805
5043
|
var element_0 = tmp0_iterator.y();
|
|
4806
5044
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4807
5045
|
var s = accumulator;
|
|
4808
|
-
accumulator = element_0.
|
|
5046
|
+
accumulator = element_0.h2o(s, action);
|
|
4809
5047
|
}
|
|
4810
5048
|
return accumulator;
|
|
4811
5049
|
};
|
|
4812
|
-
protoOf(combineReducers$1).
|
|
4813
|
-
return this.
|
|
5050
|
+
protoOf(combineReducers$1).h2o = function (state, action) {
|
|
5051
|
+
return this.a2q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4814
5052
|
};
|
|
4815
5053
|
function Store() {
|
|
4816
5054
|
}
|
|
@@ -4824,22 +5062,22 @@
|
|
|
4824
5062
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
4825
5063
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
4826
5064
|
TimerAction.call(this);
|
|
4827
|
-
this.
|
|
4828
|
-
this.
|
|
4829
|
-
this.
|
|
4830
|
-
this.
|
|
5065
|
+
this.f2q_1 = timerTag;
|
|
5066
|
+
this.g2q_1 = delayMillis;
|
|
5067
|
+
this.h2q_1 = initialDelay;
|
|
5068
|
+
this.i2q_1 = type;
|
|
4831
5069
|
}
|
|
4832
|
-
protoOf(StartTimerAction).
|
|
4833
|
-
return this.
|
|
5070
|
+
protoOf(StartTimerAction).j2q = function () {
|
|
5071
|
+
return this.f2q_1;
|
|
4834
5072
|
};
|
|
4835
5073
|
protoOf(StartTimerAction).toString = function () {
|
|
4836
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
5074
|
+
return 'StartTimerAction(timerTag=' + this.f2q_1 + ', delayMillis=' + this.g2q_1.toString() + ', initialDelay=' + this.h2q_1.toString() + ', type=' + this.i2q_1 + ')';
|
|
4837
5075
|
};
|
|
4838
5076
|
protoOf(StartTimerAction).hashCode = function () {
|
|
4839
|
-
var result = hashCode(this.
|
|
4840
|
-
result = imul(result, 31) + this.
|
|
4841
|
-
result = imul(result, 31) + this.
|
|
4842
|
-
result = imul(result, 31) + this.
|
|
5077
|
+
var result = hashCode(this.f2q_1);
|
|
5078
|
+
result = imul(result, 31) + this.g2q_1.hashCode() | 0;
|
|
5079
|
+
result = imul(result, 31) + this.h2q_1.hashCode() | 0;
|
|
5080
|
+
result = imul(result, 31) + this.i2q_1.hashCode() | 0;
|
|
4843
5081
|
return result;
|
|
4844
5082
|
};
|
|
4845
5083
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -4848,13 +5086,13 @@
|
|
|
4848
5086
|
if (!(other instanceof StartTimerAction))
|
|
4849
5087
|
return false;
|
|
4850
5088
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4851
|
-
if (!equals(this.
|
|
5089
|
+
if (!equals(this.f2q_1, tmp0_other_with_cast.f2q_1))
|
|
4852
5090
|
return false;
|
|
4853
|
-
if (!this.
|
|
5091
|
+
if (!this.g2q_1.equals(tmp0_other_with_cast.g2q_1))
|
|
4854
5092
|
return false;
|
|
4855
|
-
if (!this.
|
|
5093
|
+
if (!this.h2q_1.equals(tmp0_other_with_cast.h2q_1))
|
|
4856
5094
|
return false;
|
|
4857
|
-
if (!this.
|
|
5095
|
+
if (!this.i2q_1.equals(tmp0_other_with_cast.i2q_1))
|
|
4858
5096
|
return false;
|
|
4859
5097
|
return true;
|
|
4860
5098
|
};
|
|
@@ -4873,21 +5111,21 @@
|
|
|
4873
5111
|
}
|
|
4874
5112
|
function TimerTickAction(timerTag, type) {
|
|
4875
5113
|
TimerAction.call(this);
|
|
4876
|
-
this.
|
|
4877
|
-
this.
|
|
5114
|
+
this.k2q_1 = timerTag;
|
|
5115
|
+
this.l2q_1 = type;
|
|
4878
5116
|
}
|
|
4879
|
-
protoOf(TimerTickAction).
|
|
4880
|
-
return this.
|
|
5117
|
+
protoOf(TimerTickAction).j2q = function () {
|
|
5118
|
+
return this.k2q_1;
|
|
4881
5119
|
};
|
|
4882
5120
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
4883
|
-
return this.
|
|
5121
|
+
return this.k2q_1.notValidateWhenFinished();
|
|
4884
5122
|
};
|
|
4885
5123
|
protoOf(TimerTickAction).toString = function () {
|
|
4886
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
5124
|
+
return 'TimerTickAction(timerTag=' + this.k2q_1 + ', type=' + this.l2q_1 + ')';
|
|
4887
5125
|
};
|
|
4888
5126
|
protoOf(TimerTickAction).hashCode = function () {
|
|
4889
|
-
var result = hashCode(this.
|
|
4890
|
-
result = imul(result, 31) + this.
|
|
5127
|
+
var result = hashCode(this.k2q_1);
|
|
5128
|
+
result = imul(result, 31) + this.l2q_1.hashCode() | 0;
|
|
4891
5129
|
return result;
|
|
4892
5130
|
};
|
|
4893
5131
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -4896,24 +5134,24 @@
|
|
|
4896
5134
|
if (!(other instanceof TimerTickAction))
|
|
4897
5135
|
return false;
|
|
4898
5136
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4899
|
-
if (!equals(this.
|
|
5137
|
+
if (!equals(this.k2q_1, tmp0_other_with_cast.k2q_1))
|
|
4900
5138
|
return false;
|
|
4901
|
-
if (!this.
|
|
5139
|
+
if (!this.l2q_1.equals(tmp0_other_with_cast.l2q_1))
|
|
4902
5140
|
return false;
|
|
4903
5141
|
return true;
|
|
4904
5142
|
};
|
|
4905
5143
|
function StopTimerAction(timerTag) {
|
|
4906
5144
|
TimerAction.call(this);
|
|
4907
|
-
this.
|
|
5145
|
+
this.m2q_1 = timerTag;
|
|
4908
5146
|
}
|
|
4909
|
-
protoOf(StopTimerAction).
|
|
4910
|
-
return this.
|
|
5147
|
+
protoOf(StopTimerAction).j2q = function () {
|
|
5148
|
+
return this.m2q_1;
|
|
4911
5149
|
};
|
|
4912
5150
|
protoOf(StopTimerAction).toString = function () {
|
|
4913
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
5151
|
+
return 'StopTimerAction(timerTag=' + this.m2q_1 + ')';
|
|
4914
5152
|
};
|
|
4915
5153
|
protoOf(StopTimerAction).hashCode = function () {
|
|
4916
|
-
return hashCode(this.
|
|
5154
|
+
return hashCode(this.m2q_1);
|
|
4917
5155
|
};
|
|
4918
5156
|
protoOf(StopTimerAction).equals = function (other) {
|
|
4919
5157
|
if (this === other)
|
|
@@ -4921,7 +5159,7 @@
|
|
|
4921
5159
|
if (!(other instanceof StopTimerAction))
|
|
4922
5160
|
return false;
|
|
4923
5161
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4924
|
-
if (!equals(this.
|
|
5162
|
+
if (!equals(this.m2q_1, tmp0_other_with_cast.m2q_1))
|
|
4925
5163
|
return false;
|
|
4926
5164
|
return true;
|
|
4927
5165
|
};
|
|
@@ -4979,7 +5217,7 @@
|
|
|
4979
5217
|
}
|
|
4980
5218
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
4981
5219
|
return function (action) {
|
|
4982
|
-
$middleware.
|
|
5220
|
+
$middleware.x2p($store, $dispatcher, action);
|
|
4983
5221
|
return Unit_instance;
|
|
4984
5222
|
};
|
|
4985
5223
|
}
|
|
@@ -4995,7 +5233,7 @@
|
|
|
4995
5233
|
var element = this_0[inductionVariable];
|
|
4996
5234
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4997
5235
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4998
|
-
if (element.
|
|
5236
|
+
if (element.w2p(action)) {
|
|
4999
5237
|
destination.s(element);
|
|
5000
5238
|
}
|
|
5001
5239
|
}
|
|
@@ -5034,9 +5272,9 @@
|
|
|
5034
5272
|
return new _no_name_provided__qut3iv_1(asyncProvider, jobsProvider);
|
|
5035
5273
|
}
|
|
5036
5274
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
5037
|
-
this.
|
|
5038
|
-
this.
|
|
5039
|
-
this.
|
|
5275
|
+
this.v2q_1 = $jobsProvider;
|
|
5276
|
+
this.w2q_1 = $action;
|
|
5277
|
+
this.x2q_1 = $store;
|
|
5040
5278
|
CoroutineImpl.call(this, resultContinuation);
|
|
5041
5279
|
}
|
|
5042
5280
|
protoOf(timerMiddleware$o$handle$slambda$slambda).o13 = function ($this$launchStore, $completion) {
|
|
@@ -5055,8 +5293,8 @@
|
|
|
5055
5293
|
var tmp = this.fa_1;
|
|
5056
5294
|
if (tmp === 0) {
|
|
5057
5295
|
this.ga_1 = 1;
|
|
5058
|
-
if (this.
|
|
5059
|
-
this.
|
|
5296
|
+
if (this.v2q_1.d2o(this.w2q_1.j2q())) {
|
|
5297
|
+
this.x2q_1.dispatch(new TimerTickAction(this.w2q_1.j2q(), TimerType_DELAY_getInstance()));
|
|
5060
5298
|
}
|
|
5061
5299
|
return Unit_instance;
|
|
5062
5300
|
} else if (tmp === 1) {
|
|
@@ -5069,8 +5307,8 @@
|
|
|
5069
5307
|
while (true);
|
|
5070
5308
|
};
|
|
5071
5309
|
protoOf(timerMiddleware$o$handle$slambda$slambda).p13 = function ($this$launchStore, completion) {
|
|
5072
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
5073
|
-
i.
|
|
5310
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.v2q_1, this.w2q_1, this.x2q_1, completion);
|
|
5311
|
+
i.y2q_1 = $this$launchStore;
|
|
5074
5312
|
return i;
|
|
5075
5313
|
};
|
|
5076
5314
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5082,9 +5320,9 @@
|
|
|
5082
5320
|
return l;
|
|
5083
5321
|
}
|
|
5084
5322
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
5085
|
-
this.
|
|
5086
|
-
this.
|
|
5087
|
-
this.
|
|
5323
|
+
this.h2r_1 = $jobsProvider;
|
|
5324
|
+
this.i2r_1 = $action;
|
|
5325
|
+
this.j2r_1 = $store;
|
|
5088
5326
|
CoroutineImpl.call(this, resultContinuation);
|
|
5089
5327
|
}
|
|
5090
5328
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).o13 = function ($this$launchStore, $completion) {
|
|
@@ -5103,8 +5341,8 @@
|
|
|
5103
5341
|
var tmp = this.fa_1;
|
|
5104
5342
|
if (tmp === 0) {
|
|
5105
5343
|
this.ga_1 = 1;
|
|
5106
|
-
if (this.
|
|
5107
|
-
this.
|
|
5344
|
+
if (this.h2r_1.d2o(this.i2r_1.j2q())) {
|
|
5345
|
+
this.j2r_1.dispatch(new TimerTickAction(this.i2r_1.j2q(), TimerType_INTERVAL_getInstance()));
|
|
5108
5346
|
}
|
|
5109
5347
|
return Unit_instance;
|
|
5110
5348
|
} else if (tmp === 1) {
|
|
@@ -5117,8 +5355,8 @@
|
|
|
5117
5355
|
while (true);
|
|
5118
5356
|
};
|
|
5119
5357
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).p13 = function ($this$launchStore, completion) {
|
|
5120
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
5121
|
-
i.
|
|
5358
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.h2r_1, this.i2r_1, this.j2r_1, completion);
|
|
5359
|
+
i.k2r_1 = $this$launchStore;
|
|
5122
5360
|
return i;
|
|
5123
5361
|
};
|
|
5124
5362
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5130,10 +5368,10 @@
|
|
|
5130
5368
|
return l;
|
|
5131
5369
|
}
|
|
5132
5370
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
5133
|
-
this.
|
|
5134
|
-
this.
|
|
5135
|
-
this.
|
|
5136
|
-
this.
|
|
5371
|
+
this.t2r_1 = $action;
|
|
5372
|
+
this.u2r_1 = $asyncProvider;
|
|
5373
|
+
this.v2r_1 = $jobsProvider;
|
|
5374
|
+
this.w2r_1 = $store;
|
|
5137
5375
|
CoroutineImpl.call(this, resultContinuation);
|
|
5138
5376
|
}
|
|
5139
5377
|
protoOf(timerMiddleware$o$handle$slambda).o13 = function ($this$launchWorker, $completion) {
|
|
@@ -5153,9 +5391,9 @@
|
|
|
5153
5391
|
switch (tmp) {
|
|
5154
5392
|
case 0:
|
|
5155
5393
|
this.ga_1 = 10;
|
|
5156
|
-
if (!this.
|
|
5394
|
+
if (!this.t2r_1.h2q_1.equals(new Long(0, 0)) ? this.t2r_1.i2q_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
5157
5395
|
this.fa_1 = 1;
|
|
5158
|
-
suspendResult = delay(this.
|
|
5396
|
+
suspendResult = delay(this.t2r_1.h2q_1, this);
|
|
5159
5397
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5160
5398
|
return suspendResult;
|
|
5161
5399
|
}
|
|
@@ -5169,20 +5407,20 @@
|
|
|
5169
5407
|
this.fa_1 = 2;
|
|
5170
5408
|
continue $sm;
|
|
5171
5409
|
case 2:
|
|
5172
|
-
this.
|
|
5173
|
-
this.
|
|
5174
|
-
if (this.
|
|
5410
|
+
this.y2r_1 = this.t2r_1.i2q_1;
|
|
5411
|
+
this.z2r_1 = this.y2r_1.b8_1;
|
|
5412
|
+
if (this.z2r_1 === 0) {
|
|
5175
5413
|
this.fa_1 = 8;
|
|
5176
|
-
suspendResult = delay(this.
|
|
5414
|
+
suspendResult = delay(this.t2r_1.g2q_1, this);
|
|
5177
5415
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5178
5416
|
return suspendResult;
|
|
5179
5417
|
}
|
|
5180
5418
|
continue $sm;
|
|
5181
5419
|
} else {
|
|
5182
|
-
if (this.
|
|
5183
|
-
if (!this.
|
|
5420
|
+
if (this.z2r_1 === 1) {
|
|
5421
|
+
if (!this.t2r_1.h2q_1.equals(new Long(0, 0))) {
|
|
5184
5422
|
this.fa_1 = 3;
|
|
5185
|
-
suspendResult = delay(this.
|
|
5423
|
+
suspendResult = delay(this.t2r_1.h2q_1, this);
|
|
5186
5424
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5187
5425
|
return suspendResult;
|
|
5188
5426
|
}
|
|
@@ -5204,14 +5442,14 @@
|
|
|
5204
5442
|
this.fa_1 = 5;
|
|
5205
5443
|
continue $sm;
|
|
5206
5444
|
case 5:
|
|
5207
|
-
if (!get_isActive(this.
|
|
5445
|
+
if (!get_isActive(this.x2r_1)) {
|
|
5208
5446
|
this.fa_1 = 7;
|
|
5209
5447
|
continue $sm;
|
|
5210
5448
|
}
|
|
5211
5449
|
|
|
5212
|
-
this.
|
|
5450
|
+
this.u2r_1.u2n(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.v2r_1, this.t2r_1, this.w2r_1, null));
|
|
5213
5451
|
this.fa_1 = 6;
|
|
5214
|
-
suspendResult = delay(this.
|
|
5452
|
+
suspendResult = delay(this.t2r_1.h2q_1, this);
|
|
5215
5453
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5216
5454
|
return suspendResult;
|
|
5217
5455
|
}
|
|
@@ -5224,7 +5462,7 @@
|
|
|
5224
5462
|
this.fa_1 = 9;
|
|
5225
5463
|
continue $sm;
|
|
5226
5464
|
case 8:
|
|
5227
|
-
this.
|
|
5465
|
+
this.u2r_1.u2n(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.v2r_1, this.t2r_1, this.w2r_1, null));
|
|
5228
5466
|
this.fa_1 = 9;
|
|
5229
5467
|
continue $sm;
|
|
5230
5468
|
case 9:
|
|
@@ -5244,8 +5482,8 @@
|
|
|
5244
5482
|
while (true);
|
|
5245
5483
|
};
|
|
5246
5484
|
protoOf(timerMiddleware$o$handle$slambda).p13 = function ($this$launchWorker, completion) {
|
|
5247
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
5248
|
-
i.
|
|
5485
|
+
var i = new timerMiddleware$o$handle$slambda(this.t2r_1, this.u2r_1, this.v2r_1, this.w2r_1, completion);
|
|
5486
|
+
i.x2r_1 = $this$launchWorker;
|
|
5249
5487
|
return i;
|
|
5250
5488
|
};
|
|
5251
5489
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -5257,33 +5495,33 @@
|
|
|
5257
5495
|
return l;
|
|
5258
5496
|
}
|
|
5259
5497
|
function _no_name_provided__qut3iv_1($asyncProvider, $jobsProvider) {
|
|
5260
|
-
this.
|
|
5261
|
-
this.
|
|
5498
|
+
this.a2s_1 = $asyncProvider;
|
|
5499
|
+
this.b2s_1 = $jobsProvider;
|
|
5262
5500
|
}
|
|
5263
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5501
|
+
protoOf(_no_name_provided__qut3iv_1).w2p = function (action) {
|
|
5264
5502
|
return action instanceof TimerAction;
|
|
5265
5503
|
};
|
|
5266
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5504
|
+
protoOf(_no_name_provided__qut3iv_1).c2s = function (store, next, action) {
|
|
5267
5505
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
5268
5506
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
5269
5507
|
if (action_0 instanceof StartTimerAction) {
|
|
5270
|
-
var job = this.
|
|
5271
|
-
this.
|
|
5508
|
+
var job = this.a2s_1.w2n(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.a2s_1, this.b2s_1, store, null));
|
|
5509
|
+
this.b2s_1.c2o(action_0.j2q(), job);
|
|
5272
5510
|
} else {
|
|
5273
5511
|
if (action_0 instanceof StopTimerAction) {
|
|
5274
|
-
this.
|
|
5512
|
+
this.b2s_1.g2o(action_0.j2q());
|
|
5275
5513
|
} else {
|
|
5276
5514
|
if (action_0 instanceof TimerTickAction) {
|
|
5277
|
-
if (action_0.
|
|
5278
|
-
this.
|
|
5515
|
+
if (action_0.l2q_1.equals(TimerType_DELAY_getInstance())) {
|
|
5516
|
+
this.b2s_1.e2o(action_0.j2q());
|
|
5279
5517
|
}
|
|
5280
5518
|
}
|
|
5281
5519
|
}
|
|
5282
5520
|
}
|
|
5283
5521
|
next(action_0);
|
|
5284
5522
|
};
|
|
5285
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5286
|
-
return this.
|
|
5523
|
+
protoOf(_no_name_provided__qut3iv_1).x2p = function (store, next, action) {
|
|
5524
|
+
return this.c2s(store, next, action);
|
|
5287
5525
|
};
|
|
5288
5526
|
function enumToString(_this__u8e3s4, mapping) {
|
|
5289
5527
|
// Inline function 'kotlin.collections.find' call
|
|
@@ -5428,23 +5666,23 @@
|
|
|
5428
5666
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
5429
5667
|
}
|
|
5430
5668
|
function generateTag($this, tag) {
|
|
5431
|
-
return (!($this.
|
|
5669
|
+
return (!($this.f2s_1 == null) ? !(tag == null) : false) ? '' + $this.f2s_1 + ':' + tag : tag;
|
|
5432
5670
|
}
|
|
5433
5671
|
function Category(name, ordinal, isEnabled) {
|
|
5434
5672
|
Enum.call(this, name, ordinal);
|
|
5435
|
-
this.
|
|
5673
|
+
this.i2s_1 = isEnabled;
|
|
5436
5674
|
}
|
|
5437
5675
|
function Logger$loggerSource$1() {
|
|
5438
|
-
this.
|
|
5676
|
+
this.j2s_1 = new PlatformLogger();
|
|
5439
5677
|
}
|
|
5440
|
-
protoOf(Logger$loggerSource$1).
|
|
5441
|
-
this.
|
|
5678
|
+
protoOf(Logger$loggerSource$1).k2s = function (tag, msg) {
|
|
5679
|
+
this.j2s_1.k2s(tag, msg);
|
|
5442
5680
|
};
|
|
5443
|
-
protoOf(Logger$loggerSource$1).
|
|
5444
|
-
this.
|
|
5681
|
+
protoOf(Logger$loggerSource$1).l2s = function (tag, msg, exception) {
|
|
5682
|
+
this.j2s_1.l2s(tag, msg, exception);
|
|
5445
5683
|
};
|
|
5446
|
-
protoOf(Logger$loggerSource$1).
|
|
5447
|
-
this.
|
|
5684
|
+
protoOf(Logger$loggerSource$1).m2s = function (tag, msg) {
|
|
5685
|
+
this.j2s_1.m2s(tag, msg);
|
|
5448
5686
|
};
|
|
5449
5687
|
function Category_NONE_getInstance() {
|
|
5450
5688
|
Category_initEntries();
|
|
@@ -5453,56 +5691,56 @@
|
|
|
5453
5691
|
function Logger() {
|
|
5454
5692
|
Logger_instance = this;
|
|
5455
5693
|
var tmp = this;
|
|
5456
|
-
tmp.
|
|
5457
|
-
this.
|
|
5458
|
-
this.
|
|
5694
|
+
tmp.d2s_1 = new Logger$loggerSource$1();
|
|
5695
|
+
this.e2s_1 = true;
|
|
5696
|
+
this.f2s_1 = null;
|
|
5459
5697
|
}
|
|
5460
|
-
protoOf(Logger).
|
|
5461
|
-
this.
|
|
5698
|
+
protoOf(Logger).n2s = function (tag, message) {
|
|
5699
|
+
this.o2s(tag, message, Category_NONE_getInstance());
|
|
5462
5700
|
};
|
|
5463
|
-
protoOf(Logger).
|
|
5464
|
-
if (this.
|
|
5465
|
-
this.
|
|
5701
|
+
protoOf(Logger).p2s = function (tag, message, category) {
|
|
5702
|
+
if (this.e2s_1 ? category.i2s_1 : false) {
|
|
5703
|
+
this.d2s_1.m2s(generateTag(this, tag), message);
|
|
5466
5704
|
}
|
|
5467
5705
|
};
|
|
5468
|
-
protoOf(Logger).
|
|
5706
|
+
protoOf(Logger).q2s = function (tag, message, category, $super) {
|
|
5469
5707
|
tag = tag === VOID ? null : tag;
|
|
5470
5708
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
5471
5709
|
var tmp;
|
|
5472
5710
|
if ($super === VOID) {
|
|
5473
|
-
this.
|
|
5711
|
+
this.p2s(tag, message, category);
|
|
5474
5712
|
tmp = Unit_instance;
|
|
5475
5713
|
} else {
|
|
5476
|
-
tmp = $super.
|
|
5714
|
+
tmp = $super.p2s.call(this, tag, message, category);
|
|
5477
5715
|
}
|
|
5478
5716
|
return tmp;
|
|
5479
5717
|
};
|
|
5480
|
-
protoOf(Logger).
|
|
5481
|
-
if (this.
|
|
5482
|
-
this.
|
|
5718
|
+
protoOf(Logger).o2s = function (tag, message, category) {
|
|
5719
|
+
if (this.e2s_1 ? category.i2s_1 : false) {
|
|
5720
|
+
this.d2s_1.k2s(generateTag(this, tag), message);
|
|
5483
5721
|
}
|
|
5484
5722
|
};
|
|
5485
|
-
protoOf(Logger).
|
|
5486
|
-
if (this.
|
|
5723
|
+
protoOf(Logger).r2s = function (tag, message, exception, category) {
|
|
5724
|
+
if (this.e2s_1 ? category.i2s_1 : false) {
|
|
5487
5725
|
if (exception == null)
|
|
5488
5726
|
null;
|
|
5489
5727
|
else {
|
|
5490
5728
|
printStackTrace(exception);
|
|
5491
5729
|
}
|
|
5492
|
-
this.
|
|
5730
|
+
this.d2s_1.l2s(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
5493
5731
|
}
|
|
5494
5732
|
};
|
|
5495
|
-
protoOf(Logger).
|
|
5733
|
+
protoOf(Logger).s2s = function (tag, message, exception, category, $super) {
|
|
5496
5734
|
tag = tag === VOID ? null : tag;
|
|
5497
5735
|
message = message === VOID ? null : message;
|
|
5498
5736
|
exception = exception === VOID ? null : exception;
|
|
5499
5737
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
5500
5738
|
var tmp;
|
|
5501
5739
|
if ($super === VOID) {
|
|
5502
|
-
this.
|
|
5740
|
+
this.r2s(tag, message, exception, category);
|
|
5503
5741
|
tmp = Unit_instance;
|
|
5504
5742
|
} else {
|
|
5505
|
-
tmp = $super.
|
|
5743
|
+
tmp = $super.r2s.call(this, tag, message, exception, category);
|
|
5506
5744
|
}
|
|
5507
5745
|
return tmp;
|
|
5508
5746
|
};
|
|
@@ -5534,29 +5772,29 @@
|
|
|
5534
5772
|
return tag == null ? '' : tag;
|
|
5535
5773
|
}
|
|
5536
5774
|
function CombinedGameLogger(logOutputs) {
|
|
5537
|
-
this.
|
|
5775
|
+
this.t2s_1 = logOutputs;
|
|
5538
5776
|
}
|
|
5539
|
-
protoOf(CombinedGameLogger).
|
|
5777
|
+
protoOf(CombinedGameLogger).u2s = function (tag, message, payload) {
|
|
5540
5778
|
// Inline function 'kotlin.collections.forEach' call
|
|
5541
|
-
var tmp0_iterator = this.
|
|
5779
|
+
var tmp0_iterator = this.t2s_1.v();
|
|
5542
5780
|
while (tmp0_iterator.w()) {
|
|
5543
5781
|
var element = tmp0_iterator.y();
|
|
5544
5782
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
5545
5783
|
element.d(tag, message, payload);
|
|
5546
5784
|
}
|
|
5547
5785
|
};
|
|
5548
|
-
protoOf(CombinedGameLogger).
|
|
5786
|
+
protoOf(CombinedGameLogger).v2s = function (tag, message, exception, payload) {
|
|
5549
5787
|
// Inline function 'kotlin.collections.forEach' call
|
|
5550
|
-
var tmp0_iterator = this.
|
|
5788
|
+
var tmp0_iterator = this.t2s_1.v();
|
|
5551
5789
|
while (tmp0_iterator.w()) {
|
|
5552
5790
|
var element = tmp0_iterator.y();
|
|
5553
5791
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
5554
5792
|
element.e(tag, message, exception, payload);
|
|
5555
5793
|
}
|
|
5556
5794
|
};
|
|
5557
|
-
protoOf(CombinedGameLogger).
|
|
5795
|
+
protoOf(CombinedGameLogger).w2s = function (tag, message, payload) {
|
|
5558
5796
|
// Inline function 'kotlin.collections.forEach' call
|
|
5559
|
-
var tmp0_iterator = this.
|
|
5797
|
+
var tmp0_iterator = this.t2s_1.v();
|
|
5560
5798
|
while (tmp0_iterator.w()) {
|
|
5561
5799
|
var element = tmp0_iterator.y();
|
|
5562
5800
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
@@ -5569,31 +5807,31 @@
|
|
|
5569
5807
|
}
|
|
5570
5808
|
function PlatformGameLogger(enabled) {
|
|
5571
5809
|
enabled = enabled === VOID ? true : enabled;
|
|
5572
|
-
this.
|
|
5810
|
+
this.x2s_1 = enabled;
|
|
5573
5811
|
}
|
|
5574
|
-
protoOf(PlatformGameLogger).
|
|
5575
|
-
this.
|
|
5812
|
+
protoOf(PlatformGameLogger).y2s = function (_set____db54di) {
|
|
5813
|
+
this.x2s_1 = _set____db54di;
|
|
5576
5814
|
};
|
|
5577
|
-
protoOf(PlatformGameLogger).
|
|
5578
|
-
return this.
|
|
5815
|
+
protoOf(PlatformGameLogger).z2s = function () {
|
|
5816
|
+
return this.x2s_1;
|
|
5579
5817
|
};
|
|
5580
|
-
protoOf(PlatformGameLogger).
|
|
5581
|
-
if (!this.
|
|
5818
|
+
protoOf(PlatformGameLogger).u2s = function (tag, message, payload) {
|
|
5819
|
+
if (!this.x2s_1)
|
|
5582
5820
|
return Unit_instance;
|
|
5583
|
-
Logger_getInstance().
|
|
5821
|
+
Logger_getInstance().n2s(tag, message);
|
|
5584
5822
|
};
|
|
5585
|
-
protoOf(PlatformGameLogger).
|
|
5586
|
-
if (!this.
|
|
5823
|
+
protoOf(PlatformGameLogger).v2s = function (tag, message, exception, payload) {
|
|
5824
|
+
if (!this.x2s_1)
|
|
5587
5825
|
return Unit_instance;
|
|
5588
|
-
Logger_getInstance().
|
|
5826
|
+
Logger_getInstance().s2s(tag, message, exception);
|
|
5589
5827
|
};
|
|
5590
|
-
protoOf(PlatformGameLogger).
|
|
5591
|
-
if (!this.
|
|
5828
|
+
protoOf(PlatformGameLogger).w2s = function (tag, message, payload) {
|
|
5829
|
+
if (!this.x2s_1)
|
|
5592
5830
|
return Unit_instance;
|
|
5593
|
-
Logger_getInstance().
|
|
5831
|
+
Logger_getInstance().q2s(tag, message);
|
|
5594
5832
|
};
|
|
5595
5833
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
5596
|
-
return $this.
|
|
5834
|
+
return $this.a2t_1.o2();
|
|
5597
5835
|
}
|
|
5598
5836
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
5599
5837
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
@@ -5605,7 +5843,7 @@
|
|
|
5605
5843
|
Companion_instance_21 = this;
|
|
5606
5844
|
var tmp = this;
|
|
5607
5845
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
5608
|
-
tmp.
|
|
5846
|
+
tmp.a2t_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
5609
5847
|
}
|
|
5610
5848
|
protoOf(Companion_21).o1z = function () {
|
|
5611
5849
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
@@ -5623,7 +5861,7 @@
|
|
|
5623
5861
|
function values_4() {
|
|
5624
5862
|
return [LogType_DEBUG_getInstance(), LogType_ERROR_getInstance(), LogType_WARN_getInstance()];
|
|
5625
5863
|
}
|
|
5626
|
-
function
|
|
5864
|
+
function valueOf_2(value) {
|
|
5627
5865
|
switch (value) {
|
|
5628
5866
|
case 'DEBUG':
|
|
5629
5867
|
return LogType_DEBUG_getInstance();
|
|
@@ -5674,7 +5912,7 @@
|
|
|
5674
5912
|
// Inline function 'kotlin.arrayOf' call
|
|
5675
5913
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5676
5914
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5677
|
-
tmp.
|
|
5915
|
+
tmp.e2t_1 = [Companion_getInstance_22().o1z(), null, null, null];
|
|
5678
5916
|
}
|
|
5679
5917
|
protoOf(Companion_22).o1z = function () {
|
|
5680
5918
|
return $serializer_getInstance_9();
|
|
@@ -5692,19 +5930,19 @@
|
|
|
5692
5930
|
tmp0_serialDesc.k1n('tag', false);
|
|
5693
5931
|
tmp0_serialDesc.k1n('message', false);
|
|
5694
5932
|
tmp0_serialDesc.k1n('stackTrace', false);
|
|
5695
|
-
this.
|
|
5933
|
+
this.f2t_1 = tmp0_serialDesc;
|
|
5696
5934
|
}
|
|
5697
5935
|
protoOf($serializer_9).p1c = function () {
|
|
5698
|
-
return this.
|
|
5936
|
+
return this.f2t_1;
|
|
5699
5937
|
};
|
|
5700
5938
|
protoOf($serializer_9).z1n = function () {
|
|
5701
5939
|
// Inline function 'kotlin.arrayOf' call
|
|
5702
5940
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5703
5941
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5704
|
-
return [Companion_getInstance_23().
|
|
5942
|
+
return [Companion_getInstance_23().e2t_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
5705
5943
|
};
|
|
5706
5944
|
protoOf($serializer_9).r1c = function (decoder) {
|
|
5707
|
-
var tmp0_desc = this.
|
|
5945
|
+
var tmp0_desc = this.f2t_1;
|
|
5708
5946
|
var tmp1_flag = true;
|
|
5709
5947
|
var tmp2_index = 0;
|
|
5710
5948
|
var tmp3_bitMask0 = 0;
|
|
@@ -5713,7 +5951,7 @@
|
|
|
5713
5951
|
var tmp6_local2 = null;
|
|
5714
5952
|
var tmp7_local3 = null;
|
|
5715
5953
|
var tmp8_input = decoder.x1f(tmp0_desc);
|
|
5716
|
-
var tmp9_cached = Companion_getInstance_23().
|
|
5954
|
+
var tmp9_cached = Companion_getInstance_23().e2t_1;
|
|
5717
5955
|
if (tmp8_input.n1g()) {
|
|
5718
5956
|
tmp4_local0 = tmp8_input.j1g(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
5719
5957
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -5753,10 +5991,10 @@
|
|
|
5753
5991
|
tmp8_input.y1f(tmp0_desc);
|
|
5754
5992
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
5755
5993
|
};
|
|
5756
|
-
protoOf($serializer_9).
|
|
5757
|
-
var tmp0_desc = this.
|
|
5994
|
+
protoOf($serializer_9).g2t = function (encoder, value) {
|
|
5995
|
+
var tmp0_desc = this.f2t_1;
|
|
5758
5996
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
5759
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
5997
|
+
var tmp2_cached = Companion_getInstance_23().e2t_1;
|
|
5760
5998
|
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
5761
5999
|
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
5762
6000
|
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -5764,7 +6002,7 @@
|
|
|
5764
6002
|
tmp1_output.y1f(tmp0_desc);
|
|
5765
6003
|
};
|
|
5766
6004
|
protoOf($serializer_9).q1c = function (encoder, value) {
|
|
5767
|
-
return this.
|
|
6005
|
+
return this.g2t(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
5768
6006
|
};
|
|
5769
6007
|
var $serializer_instance_9;
|
|
5770
6008
|
function $serializer_getInstance_9() {
|
|
@@ -5774,7 +6012,7 @@
|
|
|
5774
6012
|
}
|
|
5775
6013
|
function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
5776
6014
|
if (!(15 === (15 & seen1))) {
|
|
5777
|
-
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().
|
|
6015
|
+
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().f2t_1);
|
|
5778
6016
|
}
|
|
5779
6017
|
$this.type = type;
|
|
5780
6018
|
$this.tag = tag;
|
|
@@ -5795,13 +6033,13 @@
|
|
|
5795
6033
|
protoOf(LoggerOutputDataDto).c2a = function () {
|
|
5796
6034
|
return this.type;
|
|
5797
6035
|
};
|
|
5798
|
-
protoOf(LoggerOutputDataDto).
|
|
6036
|
+
protoOf(LoggerOutputDataDto).m2g = function () {
|
|
5799
6037
|
return this.tag;
|
|
5800
6038
|
};
|
|
5801
6039
|
protoOf(LoggerOutputDataDto).q5 = function () {
|
|
5802
6040
|
return this.message;
|
|
5803
6041
|
};
|
|
5804
|
-
protoOf(LoggerOutputDataDto).
|
|
6042
|
+
protoOf(LoggerOutputDataDto).h2t = function () {
|
|
5805
6043
|
return this.stackTrace;
|
|
5806
6044
|
};
|
|
5807
6045
|
protoOf(LoggerOutputDataDto).oc = function () {
|
|
@@ -5813,10 +6051,10 @@
|
|
|
5813
6051
|
protoOf(LoggerOutputDataDto).qg = function () {
|
|
5814
6052
|
return this.message;
|
|
5815
6053
|
};
|
|
5816
|
-
protoOf(LoggerOutputDataDto).
|
|
6054
|
+
protoOf(LoggerOutputDataDto).n2h = function () {
|
|
5817
6055
|
return this.stackTrace;
|
|
5818
6056
|
};
|
|
5819
|
-
protoOf(LoggerOutputDataDto).
|
|
6057
|
+
protoOf(LoggerOutputDataDto).i2t = function (type, tag, message, stackTrace) {
|
|
5820
6058
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
5821
6059
|
};
|
|
5822
6060
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -5824,7 +6062,7 @@
|
|
|
5824
6062
|
tag = tag === VOID ? this.tag : tag;
|
|
5825
6063
|
message = message === VOID ? this.message : message;
|
|
5826
6064
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
5827
|
-
return this.
|
|
6065
|
+
return this.i2t(type, tag, message, stackTrace);
|
|
5828
6066
|
};
|
|
5829
6067
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
5830
6068
|
return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -5854,17 +6092,17 @@
|
|
|
5854
6092
|
};
|
|
5855
6093
|
function PlatformLogger() {
|
|
5856
6094
|
}
|
|
5857
|
-
protoOf(PlatformLogger).
|
|
6095
|
+
protoOf(PlatformLogger).k2s = function (tag, msg) {
|
|
5858
6096
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
5859
6097
|
};
|
|
5860
|
-
protoOf(PlatformLogger).
|
|
6098
|
+
protoOf(PlatformLogger).l2s = function (tag, msg, exception) {
|
|
5861
6099
|
if (!(exception == null)) {
|
|
5862
6100
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
5863
6101
|
} else {
|
|
5864
6102
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
5865
6103
|
}
|
|
5866
6104
|
};
|
|
5867
|
-
protoOf(PlatformLogger).
|
|
6105
|
+
protoOf(PlatformLogger).m2s = function (tag, msg) {
|
|
5868
6106
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
5869
6107
|
};
|
|
5870
6108
|
//region block: post-declaration
|
|
@@ -5872,83 +6110,85 @@
|
|
|
5872
6110
|
protoOf($serializer_0).a1o = typeParametersSerializers;
|
|
5873
6111
|
protoOf($serializer_1).a1o = typeParametersSerializers;
|
|
5874
6112
|
protoOf($serializer_2).a1o = typeParametersSerializers;
|
|
6113
|
+
defineProp(protoOf(Reason), 'name', protoOf(Reason).z8);
|
|
6114
|
+
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).a9);
|
|
5875
6115
|
protoOf($serializer_3).a1o = typeParametersSerializers;
|
|
5876
6116
|
protoOf($serializer_4).a1o = typeParametersSerializers;
|
|
5877
6117
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
5878
|
-
return this.
|
|
6118
|
+
return this.l2g();
|
|
5879
6119
|
});
|
|
5880
6120
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
5881
|
-
return this.
|
|
6121
|
+
return this.l2g();
|
|
5882
6122
|
});
|
|
5883
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
5884
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
5885
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
5886
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
5887
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
5888
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
5889
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
5890
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
6123
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).v2i);
|
|
6124
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).w2i);
|
|
6125
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).x2i);
|
|
6126
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).y2i);
|
|
6127
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).z2i);
|
|
6128
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).a2j);
|
|
6129
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).b2j);
|
|
6130
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).c2j);
|
|
5891
6131
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).z8);
|
|
5892
6132
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).a9);
|
|
5893
6133
|
defineProp(protoOf(PlayerLuckyFactor), 'playerId', function () {
|
|
5894
|
-
return this.
|
|
6134
|
+
return this.l2g();
|
|
5895
6135
|
});
|
|
5896
6136
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).z8);
|
|
5897
6137
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).a9);
|
|
5898
|
-
protoOf(BufferedActionDto).
|
|
6138
|
+
protoOf(BufferedActionDto).c2l = get_actionTag;
|
|
5899
6139
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
5900
|
-
return this.
|
|
6140
|
+
return this.c2l();
|
|
5901
6141
|
});
|
|
5902
6142
|
protoOf($serializer_5).a1o = typeParametersSerializers;
|
|
5903
6143
|
protoOf($serializer_6).a1o = typeParametersSerializers;
|
|
5904
6144
|
protoOf($serializer_7).a1o = typeParametersSerializers;
|
|
5905
6145
|
protoOf($serializer_8).a1o = typeParametersSerializers;
|
|
5906
|
-
protoOf(AsyncProviderImpl).
|
|
5907
|
-
protoOf(AsyncProviderImpl).
|
|
5908
|
-
protoOf(AsyncProviderImpl).
|
|
6146
|
+
protoOf(AsyncProviderImpl).u2n = launchStore$default;
|
|
6147
|
+
protoOf(AsyncProviderImpl).w2n = launchWorker$default;
|
|
6148
|
+
protoOf(AsyncProviderImpl).y2n = launchWorkerWithLock$default;
|
|
5909
6149
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
5910
|
-
return this.
|
|
6150
|
+
return this.r2p();
|
|
5911
6151
|
});
|
|
5912
6152
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
5913
6153
|
return this.xj();
|
|
5914
6154
|
});
|
|
5915
6155
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
5916
|
-
return this.
|
|
6156
|
+
return this.t2p();
|
|
5917
6157
|
}, function (value) {
|
|
5918
|
-
this.
|
|
6158
|
+
this.s2p(value);
|
|
5919
6159
|
});
|
|
5920
6160
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
5921
|
-
return this.
|
|
6161
|
+
return this.u2p();
|
|
5922
6162
|
});
|
|
5923
6163
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
5924
|
-
return this.
|
|
6164
|
+
return this.v2p();
|
|
5925
6165
|
});
|
|
5926
|
-
protoOf(ActionTypes).
|
|
6166
|
+
protoOf(ActionTypes).c2l = get_actionTag;
|
|
5927
6167
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
5928
|
-
return this.
|
|
6168
|
+
return this.c2l();
|
|
5929
6169
|
});
|
|
5930
6170
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
5931
|
-
return this.
|
|
6171
|
+
return this.c2l();
|
|
5932
6172
|
});
|
|
5933
6173
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
5934
|
-
return this.
|
|
6174
|
+
return this.c2l();
|
|
5935
6175
|
});
|
|
5936
|
-
protoOf(middleware$1).
|
|
5937
|
-
protoOf(combineReducers$1).
|
|
5938
|
-
protoOf(TimerAction).
|
|
6176
|
+
protoOf(middleware$1).w2p = canHandle;
|
|
6177
|
+
protoOf(combineReducers$1).w2p = canHandle_0;
|
|
6178
|
+
protoOf(TimerAction).c2l = get_actionTag;
|
|
5939
6179
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
5940
|
-
return this.
|
|
6180
|
+
return this.c2l();
|
|
5941
6181
|
});
|
|
5942
6182
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
5943
|
-
return this.
|
|
6183
|
+
return this.c2l();
|
|
5944
6184
|
});
|
|
5945
6185
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
5946
|
-
return this.
|
|
6186
|
+
return this.c2l();
|
|
5947
6187
|
});
|
|
5948
6188
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5949
6189
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
5950
6190
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
5951
|
-
return this.
|
|
6191
|
+
return this.c2l();
|
|
5952
6192
|
});
|
|
5953
6193
|
protoOf(CombinedGameLogger).d = d;
|
|
5954
6194
|
protoOf(CombinedGameLogger).e = e;
|
|
@@ -5957,9 +6197,9 @@
|
|
|
5957
6197
|
protoOf(PlatformGameLogger).e = e;
|
|
5958
6198
|
protoOf(PlatformGameLogger).w = w;
|
|
5959
6199
|
defineProp(protoOf(PlatformGameLogger), 'enabled', function () {
|
|
5960
|
-
return this.
|
|
6200
|
+
return this.z2s();
|
|
5961
6201
|
}, function (value) {
|
|
5962
|
-
this.
|
|
6202
|
+
this.y2s(value);
|
|
5963
6203
|
});
|
|
5964
6204
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).z8);
|
|
5965
6205
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).a9);
|
|
@@ -5970,8 +6210,8 @@
|
|
|
5970
6210
|
Toggles_instance = new Toggles();
|
|
5971
6211
|
Companion_instance = new Companion();
|
|
5972
6212
|
Companion_instance_2 = new Companion_2();
|
|
5973
|
-
|
|
5974
|
-
|
|
6213
|
+
Companion_instance_3 = new Companion_3();
|
|
6214
|
+
Companion_instance_4 = new Companion_4();
|
|
5975
6215
|
Companion_instance_7 = new Companion_7();
|
|
5976
6216
|
Companion_instance_8 = new Companion_8();
|
|
5977
6217
|
Companion_instance_11 = new Companion_11();
|
|
@@ -5995,6 +6235,26 @@
|
|
|
5995
6235
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
5996
6236
|
$com$logic$data$models.TerminationGameReason = TerminationGameReason;
|
|
5997
6237
|
defineProp($com$logic$data$models.TerminationGameReason, 'Companion', Companion_getInstance_2);
|
|
6238
|
+
$com$logic$data$models.PlayerLostConnectionReason = PlayerLostConnectionReason;
|
|
6239
|
+
defineProp($com$logic$data$models.PlayerLostConnectionReason, 'Companion', Companion_getInstance_3);
|
|
6240
|
+
$com$logic$data$models.PlayerTimeoutReason = PlayerTimeoutReason;
|
|
6241
|
+
defineProp($com$logic$data$models.PlayerTimeoutReason, 'Companion', Companion_getInstance_4);
|
|
6242
|
+
$com$logic$data$models.PlayerExitReason = PlayerExitReason;
|
|
6243
|
+
defineProp($com$logic$data$models.PlayerExitReason, 'Companion', Companion_getInstance_5);
|
|
6244
|
+
$com$logic$data$models.GameFinishedReason = GameFinishedReason;
|
|
6245
|
+
$com$logic$data$models.GameFinishedReason.Reason = Reason;
|
|
6246
|
+
$com$logic$data$models.GameFinishedReason.Reason.values = values;
|
|
6247
|
+
$com$logic$data$models.GameFinishedReason.Reason.valueOf = valueOf;
|
|
6248
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'DEPLOY', Reason_DEPLOY_getInstance);
|
|
6249
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'PLAYER_DELETED', Reason_PLAYER_DELETED_getInstance);
|
|
6250
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'NO_ACTIVE_PLAYERS', Reason_NO_ACTIVE_PLAYERS_getInstance);
|
|
6251
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance);
|
|
6252
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_6);
|
|
6253
|
+
defineProp($com$logic$data$models.GameFinishedReason, 'Companion', Companion_getInstance_7);
|
|
6254
|
+
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
6255
|
+
defineProp($com$logic$data$models.GameErrorReason, 'Companion', Companion_getInstance_8);
|
|
6256
|
+
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
6257
|
+
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance);
|
|
5998
6258
|
var $com = _.com || (_.com = {});
|
|
5999
6259
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
6000
6260
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -6015,7 +6275,7 @@
|
|
|
6015
6275
|
var $com$logic$data$models$player = $com$logic$data$models.player || ($com$logic$data$models.player = {});
|
|
6016
6276
|
$com$logic$data$models$player.PlayerConnectionState = PlayerConnectionState;
|
|
6017
6277
|
$com$logic$data$models$player.PlayerConnectionState.values = values_0;
|
|
6018
|
-
$com$logic$data$models$player.PlayerConnectionState.valueOf =
|
|
6278
|
+
$com$logic$data$models$player.PlayerConnectionState.valueOf = valueOf_0;
|
|
6019
6279
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LIVE', PlayerConnectionState_LIVE_getInstance);
|
|
6020
6280
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'TIMEOUT', PlayerConnectionState_TIMEOUT_getInstance);
|
|
6021
6281
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LOST_CONNECTION', PlayerConnectionState_LOST_CONNECTION_getInstance);
|
|
@@ -6043,7 +6303,7 @@
|
|
|
6043
6303
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
6044
6304
|
$com$logic$data$models$rules.RulesSetType = RulesSetType;
|
|
6045
6305
|
$com$logic$data$models$rules.RulesSetType.values = values_2;
|
|
6046
|
-
$com$logic$data$models$rules.RulesSetType.valueOf =
|
|
6306
|
+
$com$logic$data$models$rules.RulesSetType.valueOf = valueOf_1;
|
|
6047
6307
|
defineProp($com$logic$data$models$rules.RulesSetType, 'belot', RulesSetType_belot_getInstance);
|
|
6048
6308
|
defineProp($com$logic$data$models$rules.RulesSetType, 'klabor', RulesSetType_klabor_getInstance);
|
|
6049
6309
|
defineProp($com$logic$data$models$rules.RulesSetType, 'debertzCommon', RulesSetType_debertzCommon_getInstance);
|
|
@@ -6051,6 +6311,14 @@
|
|
|
6051
6311
|
defineProp($com$logic$data$models$rules.RulesSetType, 'custom', RulesSetType_custom_getInstance);
|
|
6052
6312
|
var $com = _.com || (_.com = {});
|
|
6053
6313
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
6314
|
+
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
6315
|
+
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
6316
|
+
var $com$logic$data$models$serializable = $com$logic$data$models.serializable || ($com$logic$data$models.serializable = {});
|
|
6317
|
+
var $com$logic$data$models$serializable$rules = $com$logic$data$models$serializable.rules || ($com$logic$data$models$serializable.rules = {});
|
|
6318
|
+
$com$logic$data$models$serializable$rules.RulesDto = RulesDto;
|
|
6319
|
+
defineProp($com$logic$data$models$serializable$rules.RulesDto, 'Companion', Companion_getInstance_18);
|
|
6320
|
+
var $com = _.com || (_.com = {});
|
|
6321
|
+
var $com$logic = $com.logic || ($com.logic = {});
|
|
6054
6322
|
var $com$logic$domain = $com$logic.domain || ($com$logic.domain = {});
|
|
6055
6323
|
var $com$logic$domain$engine = $com$logic$domain.engine || ($com$logic$domain.engine = {});
|
|
6056
6324
|
var $com$logic$domain$engine$definitions = $com$logic$domain$engine.definitions || ($com$logic$domain$engine.definitions = {});
|
|
@@ -6090,7 +6358,7 @@
|
|
|
6090
6358
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
6091
6359
|
$com$logic$utils$logger$outputs.LogType = LogType;
|
|
6092
6360
|
$com$logic$utils$logger$outputs.LogType.values = values_4;
|
|
6093
|
-
$com$logic$utils$logger$outputs.LogType.valueOf =
|
|
6361
|
+
$com$logic$utils$logger$outputs.LogType.valueOf = valueOf_2;
|
|
6094
6362
|
defineProp($com$logic$utils$logger$outputs.LogType, 'DEBUG', LogType_DEBUG_getInstance);
|
|
6095
6363
|
defineProp($com$logic$utils$logger$outputs.LogType, 'ERROR', LogType_ERROR_getInstance);
|
|
6096
6364
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|