game_client_logic_deb 1.3.49 → 1.3.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +32 -32
- package/Logic_Debertz-core.js +1682 -920
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +8187 -8613
- package/Logic_Debertz-engine.js.map +1 -1
- package/{Logic_Debertz-game_client_logic_deb.d.ts → Logic_Debertz-game_client.d.ts} +26 -16
- package/{Logic_Debertz-game_client_logic_deb.js → Logic_Debertz-game_client.js} +2505 -2469
- package/Logic_Debertz-game_client.js.map +1 -0
- package/kotlin-kotlin-stdlib-js-ir.js +81 -81
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +79 -79
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +3 -3
- package/uuid-js-ir.js +13 -13
- package/Logic_Debertz-game_client_logic_deb.js.map +0 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js', './kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js', './Kodein-kodein-di-js-ir.js'], factory);
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js', './kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js', './Kaverit-kaverit-js-ir.js', './Kodein-kodein-di-js-ir.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./Kodein-kodein-di-js-ir.js'));
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./Kaverit-kaverit-js-ir.js'), require('./Kodein-kodein-di-js-ir.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
if (typeof this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx.coroutines-kotlinx-coroutines-core-js-ir' was not found. Please, check whether 'kotlinx.coroutines-kotlinx-coroutines-core-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
15
15
|
}
|
|
16
|
+
if (typeof this['Kaverit-kaverit-js-ir'] === 'undefined') {
|
|
17
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kaverit-kaverit-js-ir' was not found. Please, check whether 'Kaverit-kaverit-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
|
+
}
|
|
16
19
|
if (typeof this['Kodein-kodein-di-js-ir'] === 'undefined') {
|
|
17
20
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kodein-kodein-di-js-ir' was not found. Please, check whether 'Kodein-kodein-di-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
21
|
}
|
|
19
|
-
root['Logic_Debertz-core'] = factory(typeof this['Logic_Debertz-core'] === 'undefined' ? {} : this['Logic_Debertz-core'], this['kotlin-kotlin-stdlib-js-ir'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], this['Kodein-kodein-di-js-ir']);
|
|
22
|
+
root['Logic_Debertz-core'] = factory(typeof this['Logic_Debertz-core'] === 'undefined' ? {} : this['Logic_Debertz-core'], this['kotlin-kotlin-stdlib-js-ir'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], this['Kaverit-kaverit-js-ir'], this['Kodein-kodein-di-js-ir']);
|
|
20
23
|
}
|
|
21
|
-
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_kodein_di_kodein_di) {
|
|
24
|
+
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di) {
|
|
22
25
|
'use strict';
|
|
23
26
|
//region block: imports
|
|
24
27
|
var imul = Math.imul;
|
|
@@ -48,13 +51,13 @@
|
|
|
48
51
|
var hashCode = kotlin_kotlin.$_$.f9;
|
|
49
52
|
var equals = kotlin_kotlin.$_$.b9;
|
|
50
53
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
54
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
51
55
|
var THROW_ISE = kotlin_kotlin.$_$.dc;
|
|
52
56
|
var Enum = kotlin_kotlin.$_$.sb;
|
|
53
57
|
var Long = kotlin_kotlin.$_$.xb;
|
|
54
58
|
var toString_0 = kotlin_kotlin.$_$.ba;
|
|
55
59
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
56
60
|
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
57
|
-
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
58
61
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
59
62
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
60
63
|
var Comparator = kotlin_kotlin.$_$.pb;
|
|
@@ -71,12 +74,26 @@
|
|
|
71
74
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
72
75
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
73
76
|
var launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
77
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
78
|
+
var toSet = kotlin_kotlin.$_$.t7;
|
|
79
|
+
var arrayOf = kotlin_kotlin.$_$.qc;
|
|
80
|
+
var createKType = kotlin_kotlin.$_$.b;
|
|
81
|
+
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
82
|
+
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
83
|
+
var isInterface = kotlin_kotlin.$_$.o9;
|
|
84
|
+
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
74
85
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
75
86
|
var MutableStateFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
76
87
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
77
88
|
var split$default = kotlin_kotlin.$_$.k;
|
|
78
89
|
var first = kotlin_kotlin.$_$.i6;
|
|
79
90
|
var isObject = kotlin_kotlin.$_$.q9;
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.n8;
|
|
92
|
+
var CoroutineScope_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
93
|
+
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
94
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y7;
|
|
95
|
+
var get_isActive = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
96
|
+
var SuspendFunction1 = kotlin_kotlin.$_$.o8;
|
|
80
97
|
var checkIndexOverflow = kotlin_kotlin.$_$.i5;
|
|
81
98
|
var single = kotlin_kotlin.$_$.i7;
|
|
82
99
|
var get_lastIndex = kotlin_kotlin.$_$.q6;
|
|
@@ -118,13 +135,13 @@
|
|
|
118
135
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
119
136
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
120
137
|
if (!(($mask0 & 1) === 0))
|
|
121
|
-
context = this.
|
|
122
|
-
return $handler == null ? this.
|
|
138
|
+
context = this.r2q();
|
|
139
|
+
return $handler == null ? this.u2q(context, block) : $handler(context, block);
|
|
123
140
|
}
|
|
124
141
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
125
142
|
if (!(($mask0 & 1) === 0))
|
|
126
|
-
context = this.
|
|
127
|
-
return $handler == null ? this.
|
|
143
|
+
context = this.r2q();
|
|
144
|
+
return $handler == null ? this.s2q(context, block) : $handler(context, block);
|
|
128
145
|
}
|
|
129
146
|
function get_actionTag() {
|
|
130
147
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -145,12 +162,32 @@
|
|
|
145
162
|
function ignoreExpectant() {
|
|
146
163
|
return false;
|
|
147
164
|
}
|
|
165
|
+
function notValidateWhenFinishing() {
|
|
166
|
+
return true;
|
|
167
|
+
}
|
|
168
|
+
function notValidateWhenFinished() {
|
|
169
|
+
return true;
|
|
170
|
+
}
|
|
171
|
+
StopTimerAction.prototype = Object.create(TimerAction.prototype);
|
|
172
|
+
StopTimerAction.prototype.constructor = StopTimerAction;
|
|
173
|
+
StartTimerAction.prototype = Object.create(TimerAction.prototype);
|
|
174
|
+
StartTimerAction.prototype.constructor = StartTimerAction;
|
|
175
|
+
TimerType.prototype = Object.create(Enum.prototype);
|
|
176
|
+
TimerType.prototype.constructor = TimerType;
|
|
177
|
+
TimerTickAction.prototype = Object.create(TimerAction.prototype);
|
|
178
|
+
TimerTickAction.prototype.constructor = TimerTickAction;
|
|
179
|
+
timerMiddleware$o$handle$slambda$slambda.prototype = Object.create(CoroutineImpl.prototype);
|
|
180
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.constructor = timerMiddleware$o$handle$slambda$slambda;
|
|
181
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype = Object.create(CoroutineImpl.prototype);
|
|
182
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.constructor = timerMiddleware$o$handle$slambda$slambda_1;
|
|
183
|
+
timerMiddleware$o$handle$slambda.prototype = Object.create(CoroutineImpl.prototype);
|
|
184
|
+
timerMiddleware$o$handle$slambda.prototype.constructor = timerMiddleware$o$handle$slambda;
|
|
148
185
|
function d$default(tag, message, $mask0, $handler) {
|
|
149
186
|
if (!(($mask0 & 1) === 0))
|
|
150
187
|
tag = null;
|
|
151
188
|
var tmp;
|
|
152
189
|
if ($handler == null) {
|
|
153
|
-
this.
|
|
190
|
+
this.t2t(tag, message);
|
|
154
191
|
tmp = Unit_getInstance();
|
|
155
192
|
} else {
|
|
156
193
|
tmp = $handler(tag, message);
|
|
@@ -166,7 +203,7 @@
|
|
|
166
203
|
exception = null;
|
|
167
204
|
var tmp;
|
|
168
205
|
if ($handler == null) {
|
|
169
|
-
this.
|
|
206
|
+
this.m2q(tag, message, exception);
|
|
170
207
|
tmp = Unit_getInstance();
|
|
171
208
|
} else {
|
|
172
209
|
tmp = $handler(tag, message, exception);
|
|
@@ -178,7 +215,7 @@
|
|
|
178
215
|
tag = null;
|
|
179
216
|
var tmp;
|
|
180
217
|
if ($handler == null) {
|
|
181
|
-
this.
|
|
218
|
+
this.w2t(tag, message);
|
|
182
219
|
tmp = Unit_getInstance();
|
|
183
220
|
} else {
|
|
184
221
|
tmp = $handler(tag, message);
|
|
@@ -196,7 +233,7 @@
|
|
|
196
233
|
exception = null;
|
|
197
234
|
var tmp;
|
|
198
235
|
if ($handler == null) {
|
|
199
|
-
this.
|
|
236
|
+
this.o2u(tag, message, exception, payload);
|
|
200
237
|
tmp = Unit_getInstance();
|
|
201
238
|
} else {
|
|
202
239
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -206,7 +243,7 @@
|
|
|
206
243
|
//endregion
|
|
207
244
|
function GameEngineConfig() {
|
|
208
245
|
GameEngineConfig_instance = this;
|
|
209
|
-
this.q2k_1 = '1.3.
|
|
246
|
+
this.q2k_1 = '1.3.64';
|
|
210
247
|
}
|
|
211
248
|
GameEngineConfig.prototype.r2k = function () {
|
|
212
249
|
return this.q2k_1;
|
|
@@ -451,9 +488,10 @@
|
|
|
451
488
|
tmp$ret$1 = tmp$ret$0;
|
|
452
489
|
tmp$ret$2 = tmp$ret$1;
|
|
453
490
|
var tmp_0 = tmp$ret$2;
|
|
454
|
-
var tmp$ret$
|
|
491
|
+
var tmp$ret$14;
|
|
455
492
|
// Inline function 'kotlin.arrayOf' call
|
|
456
|
-
var tmp_1 =
|
|
493
|
+
var tmp_1 = $serializer_getInstance_0();
|
|
494
|
+
var tmp_2 = GameFinishedReason_getInstance();
|
|
457
495
|
var tmp$ret$5;
|
|
458
496
|
// Inline function 'kotlin.arrayOf' call
|
|
459
497
|
var tmp$ret$4;
|
|
@@ -463,8 +501,11 @@
|
|
|
463
501
|
tmp$ret$3 = [];
|
|
464
502
|
tmp$ret$4 = tmp$ret$3;
|
|
465
503
|
tmp$ret$5 = tmp$ret$4;
|
|
466
|
-
var
|
|
467
|
-
var
|
|
504
|
+
var tmp_3 = ObjectSerializer_init_$Create$('GAME_FINISHED_TYPE', tmp_2, tmp$ret$5);
|
|
505
|
+
var tmp_4 = $serializer_getInstance_1();
|
|
506
|
+
var tmp_5 = $serializer_getInstance_2();
|
|
507
|
+
var tmp_6 = $serializer_getInstance_3();
|
|
508
|
+
var tmp_7 = ProcessingReason_getInstance();
|
|
468
509
|
var tmp$ret$8;
|
|
469
510
|
// Inline function 'kotlin.arrayOf' call
|
|
470
511
|
var tmp$ret$7;
|
|
@@ -474,11 +515,8 @@
|
|
|
474
515
|
tmp$ret$6 = [];
|
|
475
516
|
tmp$ret$7 = tmp$ret$6;
|
|
476
517
|
tmp$ret$8 = tmp$ret$7;
|
|
477
|
-
var
|
|
478
|
-
var
|
|
479
|
-
var tmp_6 = $serializer_getInstance_1();
|
|
480
|
-
var tmp_7 = $serializer_getInstance_2();
|
|
481
|
-
var tmp_8 = ProcessingReason_getInstance();
|
|
518
|
+
var tmp_8 = ObjectSerializer_init_$Create$('PROCESSING_TYPE', tmp_7, tmp$ret$8);
|
|
519
|
+
var tmp_9 = WaitingForConnectionReason_getInstance();
|
|
482
520
|
var tmp$ret$11;
|
|
483
521
|
// Inline function 'kotlin.arrayOf' call
|
|
484
522
|
var tmp$ret$10;
|
|
@@ -488,36 +526,25 @@
|
|
|
488
526
|
tmp$ret$9 = [];
|
|
489
527
|
tmp$ret$10 = tmp$ret$9;
|
|
490
528
|
tmp$ret$11 = tmp$ret$10;
|
|
491
|
-
var
|
|
492
|
-
var tmp_10 = WaitingForConnectionReason_getInstance();
|
|
493
|
-
var tmp$ret$14;
|
|
494
|
-
// Inline function 'kotlin.arrayOf' call
|
|
529
|
+
var tmp1_arrayOf = [tmp_1, tmp_3, tmp_4, tmp_5, tmp_6, tmp_8, ObjectSerializer_init_$Create$('WAITING_FOR_CONNECTION_TYPE', tmp_9, tmp$ret$11)];
|
|
495
530
|
var tmp$ret$13;
|
|
496
531
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
497
532
|
var tmp$ret$12;
|
|
498
533
|
// Inline function 'kotlin.js.asDynamic' call
|
|
499
|
-
tmp$ret$12 =
|
|
534
|
+
tmp$ret$12 = tmp1_arrayOf;
|
|
500
535
|
tmp$ret$13 = tmp$ret$12;
|
|
501
536
|
tmp$ret$14 = tmp$ret$13;
|
|
502
|
-
var
|
|
537
|
+
var tmp_10 = tmp$ret$14;
|
|
538
|
+
var tmp$ret$17;
|
|
539
|
+
// Inline function 'kotlin.arrayOf' call
|
|
503
540
|
var tmp$ret$16;
|
|
504
541
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
505
542
|
var tmp$ret$15;
|
|
506
543
|
// Inline function 'kotlin.js.asDynamic' call
|
|
507
|
-
tmp$ret$15 =
|
|
544
|
+
tmp$ret$15 = [];
|
|
508
545
|
tmp$ret$16 = tmp$ret$15;
|
|
509
546
|
tmp$ret$17 = tmp$ret$16;
|
|
510
|
-
|
|
511
|
-
var tmp$ret$20;
|
|
512
|
-
// Inline function 'kotlin.arrayOf' call
|
|
513
|
-
var tmp$ret$19;
|
|
514
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
515
|
-
var tmp$ret$18;
|
|
516
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
517
|
-
tmp$ret$18 = [];
|
|
518
|
-
tmp$ret$19 = tmp$ret$18;
|
|
519
|
-
tmp$ret$20 = tmp$ret$19;
|
|
520
|
-
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_11, tmp$ret$20);
|
|
547
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_10, tmp$ret$17);
|
|
521
548
|
}
|
|
522
549
|
function Companion_1() {
|
|
523
550
|
Companion_instance_1 = this;
|
|
@@ -548,42 +575,115 @@
|
|
|
548
575
|
Companion_getInstance_1();
|
|
549
576
|
}
|
|
550
577
|
TerminationGameReason.$metadata$ = classMeta('TerminationGameReason', undefined, undefined, {0: Companion_getInstance_1});
|
|
551
|
-
function
|
|
552
|
-
|
|
578
|
+
function Companion_2() {
|
|
579
|
+
Companion_instance_2 = this;
|
|
580
|
+
}
|
|
581
|
+
Companion_2.$metadata$ = objectMeta('Companion');
|
|
582
|
+
var Companion_instance_2;
|
|
583
|
+
function Companion_getInstance_2() {
|
|
584
|
+
if (Companion_instance_2 == null)
|
|
585
|
+
new Companion_2();
|
|
586
|
+
return Companion_instance_2;
|
|
587
|
+
}
|
|
588
|
+
function $serializer_0() {
|
|
589
|
+
$serializer_instance_0 = this;
|
|
590
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
591
|
+
tmp0_serialDesc.d1t('reason', false);
|
|
592
|
+
this.z2k_1 = tmp0_serialDesc;
|
|
593
|
+
}
|
|
594
|
+
$serializer_0.prototype.q1i = function () {
|
|
595
|
+
return this.z2k_1;
|
|
596
|
+
};
|
|
597
|
+
$serializer_0.prototype.s1t = function () {
|
|
553
598
|
var tmp$ret$2;
|
|
554
599
|
// Inline function 'kotlin.arrayOf' call
|
|
600
|
+
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
555
601
|
var tmp$ret$1;
|
|
556
602
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
557
603
|
var tmp$ret$0;
|
|
558
604
|
// Inline function 'kotlin.js.asDynamic' call
|
|
559
|
-
tmp$ret$0 =
|
|
605
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
560
606
|
tmp$ret$1 = tmp$ret$0;
|
|
561
607
|
tmp$ret$2 = tmp$ret$1;
|
|
562
|
-
return
|
|
608
|
+
return tmp$ret$2;
|
|
609
|
+
};
|
|
610
|
+
$serializer_0.prototype.s1i = function (decoder) {
|
|
611
|
+
var tmp0_desc = this.z2k_1;
|
|
612
|
+
var tmp1_flag = true;
|
|
613
|
+
var tmp2_index = 0;
|
|
614
|
+
var tmp3_bitMask0 = 0;
|
|
615
|
+
var tmp4_local0 = null;
|
|
616
|
+
var tmp5_input = decoder.y1l(tmp0_desc);
|
|
617
|
+
if (tmp5_input.n1m()) {
|
|
618
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
619
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
620
|
+
} else
|
|
621
|
+
while (tmp1_flag) {
|
|
622
|
+
tmp2_index = tmp5_input.o1m(tmp0_desc);
|
|
623
|
+
switch (tmp2_index) {
|
|
624
|
+
case -1:
|
|
625
|
+
tmp1_flag = false;
|
|
626
|
+
break;
|
|
627
|
+
case 0:
|
|
628
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
629
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
630
|
+
break;
|
|
631
|
+
default:
|
|
632
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
tmp5_input.z1l(tmp0_desc);
|
|
636
|
+
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
637
|
+
};
|
|
638
|
+
$serializer_0.prototype.a2l = function (encoder, value) {
|
|
639
|
+
var tmp0_desc = this.z2k_1;
|
|
640
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
641
|
+
tmp1_output.m1n(tmp0_desc, 0, value.b2l_1);
|
|
642
|
+
tmp1_output.z1l(tmp0_desc);
|
|
643
|
+
};
|
|
644
|
+
$serializer_0.prototype.r1i = function (encoder, value) {
|
|
645
|
+
return this.a2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
646
|
+
};
|
|
647
|
+
$serializer_0.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
648
|
+
var $serializer_instance_0;
|
|
649
|
+
function $serializer_getInstance_0() {
|
|
650
|
+
if ($serializer_instance_0 == null)
|
|
651
|
+
new $serializer_0();
|
|
652
|
+
return $serializer_instance_0;
|
|
653
|
+
}
|
|
654
|
+
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
655
|
+
if (!(1 === (1 & seen1))) {
|
|
656
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().z2k_1);
|
|
657
|
+
}
|
|
658
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
659
|
+
$this.b2l_1 = reason;
|
|
660
|
+
return $this;
|
|
563
661
|
}
|
|
564
|
-
function
|
|
565
|
-
|
|
662
|
+
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
663
|
+
return GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, Object.create(GameErrorReason.prototype));
|
|
664
|
+
}
|
|
665
|
+
function GameErrorReason(reason) {
|
|
666
|
+
Companion_getInstance_2();
|
|
566
667
|
TerminationGameReason.call(this);
|
|
567
|
-
|
|
568
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
569
|
-
tmp.z2k_1 = lazy(tmp_0, GameErrorReason$$cachedSerializer$delegate$_anonymous__p2u5b0);
|
|
668
|
+
this.b2l_1 = reason;
|
|
570
669
|
}
|
|
571
670
|
GameErrorReason.prototype.toString = function () {
|
|
572
|
-
return 'GameErrorReason';
|
|
671
|
+
return 'GameErrorReason(reason=' + this.b2l_1 + ')';
|
|
573
672
|
};
|
|
574
|
-
GameErrorReason.prototype.
|
|
575
|
-
return this.
|
|
673
|
+
GameErrorReason.prototype.hashCode = function () {
|
|
674
|
+
return getStringHashCode(this.b2l_1);
|
|
576
675
|
};
|
|
577
|
-
GameErrorReason.prototype.
|
|
578
|
-
|
|
676
|
+
GameErrorReason.prototype.equals = function (other) {
|
|
677
|
+
if (this === other)
|
|
678
|
+
return true;
|
|
679
|
+
if (!(other instanceof GameErrorReason))
|
|
680
|
+
return false;
|
|
681
|
+
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
682
|
+
if (!(this.b2l_1 === tmp0_other_with_cast.b2l_1))
|
|
683
|
+
return false;
|
|
684
|
+
return true;
|
|
579
685
|
};
|
|
580
|
-
GameErrorReason.$metadata$ =
|
|
581
|
-
var GameErrorReason_instance;
|
|
582
|
-
function GameErrorReason_getInstance() {
|
|
583
|
-
if (GameErrorReason_instance == null)
|
|
584
|
-
new GameErrorReason();
|
|
585
|
-
return GameErrorReason_instance;
|
|
586
|
-
}
|
|
686
|
+
GameErrorReason.$metadata$ = classMeta('GameErrorReason', undefined, undefined, {0: $serializer_getInstance_0}, undefined, TerminationGameReason.prototype);
|
|
587
687
|
function GameFinishedReason$$cachedSerializer$delegate$_anonymous__474t2i() {
|
|
588
688
|
var tmp = GameFinishedReason_getInstance();
|
|
589
689
|
var tmp$ret$2;
|
|
@@ -602,13 +702,13 @@
|
|
|
602
702
|
TerminationGameReason.call(this);
|
|
603
703
|
var tmp = this;
|
|
604
704
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
605
|
-
tmp.
|
|
705
|
+
tmp.c2l_1 = lazy(tmp_0, GameFinishedReason$$cachedSerializer$delegate$_anonymous__474t2i);
|
|
606
706
|
}
|
|
607
707
|
GameFinishedReason.prototype.toString = function () {
|
|
608
708
|
return 'GameFinishedReason';
|
|
609
709
|
};
|
|
610
710
|
GameFinishedReason.prototype.l25 = function () {
|
|
611
|
-
return this.
|
|
711
|
+
return this.c2l_1.c2();
|
|
612
712
|
};
|
|
613
713
|
GameFinishedReason.prototype.b1u = function (typeParamsSerializers) {
|
|
614
714
|
return this.l25();
|
|
@@ -620,26 +720,26 @@
|
|
|
620
720
|
new GameFinishedReason();
|
|
621
721
|
return GameFinishedReason_instance;
|
|
622
722
|
}
|
|
623
|
-
function
|
|
624
|
-
|
|
723
|
+
function Companion_3() {
|
|
724
|
+
Companion_instance_3 = this;
|
|
625
725
|
}
|
|
626
|
-
|
|
627
|
-
var
|
|
628
|
-
function
|
|
629
|
-
if (
|
|
630
|
-
new
|
|
631
|
-
return
|
|
726
|
+
Companion_3.$metadata$ = objectMeta('Companion');
|
|
727
|
+
var Companion_instance_3;
|
|
728
|
+
function Companion_getInstance_3() {
|
|
729
|
+
if (Companion_instance_3 == null)
|
|
730
|
+
new Companion_3();
|
|
731
|
+
return Companion_instance_3;
|
|
632
732
|
}
|
|
633
|
-
function $
|
|
634
|
-
$
|
|
733
|
+
function $serializer_1() {
|
|
734
|
+
$serializer_instance_1 = this;
|
|
635
735
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
636
736
|
tmp0_serialDesc.d1t('playerId', false);
|
|
637
|
-
this.
|
|
737
|
+
this.d2l_1 = tmp0_serialDesc;
|
|
638
738
|
}
|
|
639
|
-
$
|
|
640
|
-
return this.
|
|
739
|
+
$serializer_1.prototype.q1i = function () {
|
|
740
|
+
return this.d2l_1;
|
|
641
741
|
};
|
|
642
|
-
$
|
|
742
|
+
$serializer_1.prototype.s1t = function () {
|
|
643
743
|
var tmp$ret$2;
|
|
644
744
|
// Inline function 'kotlin.arrayOf' call
|
|
645
745
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -652,8 +752,8 @@
|
|
|
652
752
|
tmp$ret$2 = tmp$ret$1;
|
|
653
753
|
return tmp$ret$2;
|
|
654
754
|
};
|
|
655
|
-
$
|
|
656
|
-
var tmp0_desc = this.
|
|
755
|
+
$serializer_1.prototype.s1i = function (decoder) {
|
|
756
|
+
var tmp0_desc = this.d2l_1;
|
|
657
757
|
var tmp1_flag = true;
|
|
658
758
|
var tmp2_index = 0;
|
|
659
759
|
var tmp3_bitMask0 = 0;
|
|
@@ -680,46 +780,46 @@
|
|
|
680
780
|
tmp5_input.z1l(tmp0_desc);
|
|
681
781
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
682
782
|
};
|
|
683
|
-
$
|
|
684
|
-
var tmp0_desc = this.
|
|
783
|
+
$serializer_1.prototype.e2l = function (encoder, value) {
|
|
784
|
+
var tmp0_desc = this.d2l_1;
|
|
685
785
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
686
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
786
|
+
tmp1_output.m1n(tmp0_desc, 0, value.f2l_1);
|
|
687
787
|
tmp1_output.z1l(tmp0_desc);
|
|
688
788
|
};
|
|
689
|
-
$
|
|
690
|
-
return this.
|
|
789
|
+
$serializer_1.prototype.r1i = function (encoder, value) {
|
|
790
|
+
return this.e2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
691
791
|
};
|
|
692
|
-
$
|
|
693
|
-
var $
|
|
694
|
-
function $
|
|
695
|
-
if ($
|
|
696
|
-
new $
|
|
697
|
-
return $
|
|
792
|
+
$serializer_1.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
793
|
+
var $serializer_instance_1;
|
|
794
|
+
function $serializer_getInstance_1() {
|
|
795
|
+
if ($serializer_instance_1 == null)
|
|
796
|
+
new $serializer_1();
|
|
797
|
+
return $serializer_instance_1;
|
|
698
798
|
}
|
|
699
799
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
700
800
|
if (!(1 === (1 & seen1))) {
|
|
701
|
-
throwMissingFieldException(seen1, 1, $
|
|
801
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_1().d2l_1);
|
|
702
802
|
}
|
|
703
803
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
704
|
-
$this.
|
|
804
|
+
$this.f2l_1 = playerId;
|
|
705
805
|
return $this;
|
|
706
806
|
}
|
|
707
807
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
708
808
|
return PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, Object.create(PlayerExitReason.prototype));
|
|
709
809
|
}
|
|
710
810
|
function PlayerExitReason(playerId) {
|
|
711
|
-
|
|
811
|
+
Companion_getInstance_3();
|
|
712
812
|
TerminationGameReason.call(this);
|
|
713
|
-
this.
|
|
813
|
+
this.f2l_1 = playerId;
|
|
714
814
|
}
|
|
715
|
-
PlayerExitReason.prototype.
|
|
716
|
-
return this.
|
|
815
|
+
PlayerExitReason.prototype.g2l = function () {
|
|
816
|
+
return this.f2l_1;
|
|
717
817
|
};
|
|
718
818
|
PlayerExitReason.prototype.toString = function () {
|
|
719
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
819
|
+
return 'PlayerExitReason(playerId=' + this.f2l_1 + ')';
|
|
720
820
|
};
|
|
721
821
|
PlayerExitReason.prototype.hashCode = function () {
|
|
722
|
-
return getStringHashCode(this.
|
|
822
|
+
return getStringHashCode(this.f2l_1);
|
|
723
823
|
};
|
|
724
824
|
PlayerExitReason.prototype.equals = function (other) {
|
|
725
825
|
if (this === other)
|
|
@@ -727,32 +827,32 @@
|
|
|
727
827
|
if (!(other instanceof PlayerExitReason))
|
|
728
828
|
return false;
|
|
729
829
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
730
|
-
if (!(this.
|
|
830
|
+
if (!(this.f2l_1 === tmp0_other_with_cast.f2l_1))
|
|
731
831
|
return false;
|
|
732
832
|
return true;
|
|
733
833
|
};
|
|
734
|
-
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $
|
|
735
|
-
function
|
|
736
|
-
|
|
834
|
+
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_1}, undefined, TerminationGameReason.prototype);
|
|
835
|
+
function Companion_4() {
|
|
836
|
+
Companion_instance_4 = this;
|
|
737
837
|
}
|
|
738
|
-
|
|
739
|
-
var
|
|
740
|
-
function
|
|
741
|
-
if (
|
|
742
|
-
new
|
|
743
|
-
return
|
|
838
|
+
Companion_4.$metadata$ = objectMeta('Companion');
|
|
839
|
+
var Companion_instance_4;
|
|
840
|
+
function Companion_getInstance_4() {
|
|
841
|
+
if (Companion_instance_4 == null)
|
|
842
|
+
new Companion_4();
|
|
843
|
+
return Companion_instance_4;
|
|
744
844
|
}
|
|
745
|
-
function $
|
|
746
|
-
$
|
|
845
|
+
function $serializer_2() {
|
|
846
|
+
$serializer_instance_2 = this;
|
|
747
847
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
748
848
|
tmp0_serialDesc.d1t('playerId', false);
|
|
749
849
|
tmp0_serialDesc.d1t('tag', false);
|
|
750
|
-
this.
|
|
850
|
+
this.h2l_1 = tmp0_serialDesc;
|
|
751
851
|
}
|
|
752
|
-
$
|
|
753
|
-
return this.
|
|
852
|
+
$serializer_2.prototype.q1i = function () {
|
|
853
|
+
return this.h2l_1;
|
|
754
854
|
};
|
|
755
|
-
$
|
|
855
|
+
$serializer_2.prototype.s1t = function () {
|
|
756
856
|
var tmp$ret$2;
|
|
757
857
|
// Inline function 'kotlin.arrayOf' call
|
|
758
858
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -765,8 +865,8 @@
|
|
|
765
865
|
tmp$ret$2 = tmp$ret$1;
|
|
766
866
|
return tmp$ret$2;
|
|
767
867
|
};
|
|
768
|
-
$
|
|
769
|
-
var tmp0_desc = this.
|
|
868
|
+
$serializer_2.prototype.s1i = function (decoder) {
|
|
869
|
+
var tmp0_desc = this.h2l_1;
|
|
770
870
|
var tmp1_flag = true;
|
|
771
871
|
var tmp2_index = 0;
|
|
772
872
|
var tmp3_bitMask0 = 0;
|
|
@@ -800,50 +900,50 @@
|
|
|
800
900
|
tmp6_input.z1l(tmp0_desc);
|
|
801
901
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
802
902
|
};
|
|
803
|
-
$
|
|
804
|
-
var tmp0_desc = this.
|
|
903
|
+
$serializer_2.prototype.i2l = function (encoder, value) {
|
|
904
|
+
var tmp0_desc = this.h2l_1;
|
|
805
905
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
806
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
807
|
-
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
906
|
+
tmp1_output.m1n(tmp0_desc, 0, value.j2l_1);
|
|
907
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.k2l_1);
|
|
808
908
|
tmp1_output.z1l(tmp0_desc);
|
|
809
909
|
};
|
|
810
|
-
$
|
|
811
|
-
return this.
|
|
910
|
+
$serializer_2.prototype.r1i = function (encoder, value) {
|
|
911
|
+
return this.i2l(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
812
912
|
};
|
|
813
|
-
$
|
|
814
|
-
var $
|
|
815
|
-
function $
|
|
816
|
-
if ($
|
|
817
|
-
new $
|
|
818
|
-
return $
|
|
913
|
+
$serializer_2.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
914
|
+
var $serializer_instance_2;
|
|
915
|
+
function $serializer_getInstance_2() {
|
|
916
|
+
if ($serializer_instance_2 == null)
|
|
917
|
+
new $serializer_2();
|
|
918
|
+
return $serializer_instance_2;
|
|
819
919
|
}
|
|
820
920
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
821
921
|
if (!(3 === (3 & seen1))) {
|
|
822
|
-
throwMissingFieldException(seen1, 3, $
|
|
922
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_2().h2l_1);
|
|
823
923
|
}
|
|
824
924
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
825
|
-
$this.
|
|
826
|
-
$this.
|
|
925
|
+
$this.j2l_1 = playerId;
|
|
926
|
+
$this.k2l_1 = tag;
|
|
827
927
|
return $this;
|
|
828
928
|
}
|
|
829
929
|
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
830
930
|
return PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerLostConnectionReason.prototype));
|
|
831
931
|
}
|
|
832
932
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
833
|
-
|
|
933
|
+
Companion_getInstance_4();
|
|
834
934
|
TerminationGameReason.call(this);
|
|
835
|
-
this.
|
|
836
|
-
this.
|
|
935
|
+
this.j2l_1 = playerId;
|
|
936
|
+
this.k2l_1 = tag;
|
|
837
937
|
}
|
|
838
|
-
PlayerLostConnectionReason.prototype.
|
|
839
|
-
return this.
|
|
938
|
+
PlayerLostConnectionReason.prototype.g2l = function () {
|
|
939
|
+
return this.j2l_1;
|
|
840
940
|
};
|
|
841
941
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
842
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
942
|
+
return 'PlayerLostConnectionReason(playerId=' + this.j2l_1 + ', tag=' + this.k2l_1 + ')';
|
|
843
943
|
};
|
|
844
944
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
845
|
-
var result = getStringHashCode(this.
|
|
846
|
-
result = imul(result, 31) + (this.
|
|
945
|
+
var result = getStringHashCode(this.j2l_1);
|
|
946
|
+
result = imul(result, 31) + (this.k2l_1 == null ? 0 : getStringHashCode(this.k2l_1)) | 0;
|
|
847
947
|
return result;
|
|
848
948
|
};
|
|
849
949
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -852,34 +952,34 @@
|
|
|
852
952
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
853
953
|
return false;
|
|
854
954
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
855
|
-
if (!(this.
|
|
955
|
+
if (!(this.j2l_1 === tmp0_other_with_cast.j2l_1))
|
|
856
956
|
return false;
|
|
857
|
-
if (!(this.
|
|
957
|
+
if (!(this.k2l_1 == tmp0_other_with_cast.k2l_1))
|
|
858
958
|
return false;
|
|
859
959
|
return true;
|
|
860
960
|
};
|
|
861
|
-
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $
|
|
862
|
-
function
|
|
863
|
-
|
|
961
|
+
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_2}, undefined, TerminationGameReason.prototype);
|
|
962
|
+
function Companion_5() {
|
|
963
|
+
Companion_instance_5 = this;
|
|
864
964
|
}
|
|
865
|
-
|
|
866
|
-
var
|
|
867
|
-
function
|
|
868
|
-
if (
|
|
869
|
-
new
|
|
870
|
-
return
|
|
965
|
+
Companion_5.$metadata$ = objectMeta('Companion');
|
|
966
|
+
var Companion_instance_5;
|
|
967
|
+
function Companion_getInstance_5() {
|
|
968
|
+
if (Companion_instance_5 == null)
|
|
969
|
+
new Companion_5();
|
|
970
|
+
return Companion_instance_5;
|
|
871
971
|
}
|
|
872
|
-
function $
|
|
873
|
-
$
|
|
972
|
+
function $serializer_3() {
|
|
973
|
+
$serializer_instance_3 = this;
|
|
874
974
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
875
975
|
tmp0_serialDesc.d1t('playerId', false);
|
|
876
976
|
tmp0_serialDesc.d1t('tag', false);
|
|
877
|
-
this.
|
|
977
|
+
this.l2l_1 = tmp0_serialDesc;
|
|
878
978
|
}
|
|
879
|
-
$
|
|
880
|
-
return this.
|
|
979
|
+
$serializer_3.prototype.q1i = function () {
|
|
980
|
+
return this.l2l_1;
|
|
881
981
|
};
|
|
882
|
-
$
|
|
982
|
+
$serializer_3.prototype.s1t = function () {
|
|
883
983
|
var tmp$ret$2;
|
|
884
984
|
// Inline function 'kotlin.arrayOf' call
|
|
885
985
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -892,8 +992,8 @@
|
|
|
892
992
|
tmp$ret$2 = tmp$ret$1;
|
|
893
993
|
return tmp$ret$2;
|
|
894
994
|
};
|
|
895
|
-
$
|
|
896
|
-
var tmp0_desc = this.
|
|
995
|
+
$serializer_3.prototype.s1i = function (decoder) {
|
|
996
|
+
var tmp0_desc = this.l2l_1;
|
|
897
997
|
var tmp1_flag = true;
|
|
898
998
|
var tmp2_index = 0;
|
|
899
999
|
var tmp3_bitMask0 = 0;
|
|
@@ -927,50 +1027,50 @@
|
|
|
927
1027
|
tmp6_input.z1l(tmp0_desc);
|
|
928
1028
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
929
1029
|
};
|
|
930
|
-
$
|
|
931
|
-
var tmp0_desc = this.
|
|
1030
|
+
$serializer_3.prototype.m2l = function (encoder, value) {
|
|
1031
|
+
var tmp0_desc = this.l2l_1;
|
|
932
1032
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
933
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
934
|
-
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1033
|
+
tmp1_output.m1n(tmp0_desc, 0, value.n2l_1);
|
|
1034
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.o2l_1);
|
|
935
1035
|
tmp1_output.z1l(tmp0_desc);
|
|
936
1036
|
};
|
|
937
|
-
$
|
|
938
|
-
return this.
|
|
1037
|
+
$serializer_3.prototype.r1i = function (encoder, value) {
|
|
1038
|
+
return this.m2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
939
1039
|
};
|
|
940
|
-
$
|
|
941
|
-
var $
|
|
942
|
-
function $
|
|
943
|
-
if ($
|
|
944
|
-
new $
|
|
945
|
-
return $
|
|
1040
|
+
$serializer_3.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
1041
|
+
var $serializer_instance_3;
|
|
1042
|
+
function $serializer_getInstance_3() {
|
|
1043
|
+
if ($serializer_instance_3 == null)
|
|
1044
|
+
new $serializer_3();
|
|
1045
|
+
return $serializer_instance_3;
|
|
946
1046
|
}
|
|
947
1047
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
948
1048
|
if (!(3 === (3 & seen1))) {
|
|
949
|
-
throwMissingFieldException(seen1, 3, $
|
|
1049
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().l2l_1);
|
|
950
1050
|
}
|
|
951
1051
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
952
|
-
$this.
|
|
953
|
-
$this.
|
|
1052
|
+
$this.n2l_1 = playerId;
|
|
1053
|
+
$this.o2l_1 = tag;
|
|
954
1054
|
return $this;
|
|
955
1055
|
}
|
|
956
1056
|
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
957
1057
|
return PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerTimeoutReason.prototype));
|
|
958
1058
|
}
|
|
959
1059
|
function PlayerTimeoutReason(playerId, tag) {
|
|
960
|
-
|
|
1060
|
+
Companion_getInstance_5();
|
|
961
1061
|
TerminationGameReason.call(this);
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
1062
|
+
this.n2l_1 = playerId;
|
|
1063
|
+
this.o2l_1 = tag;
|
|
964
1064
|
}
|
|
965
|
-
PlayerTimeoutReason.prototype.
|
|
966
|
-
return this.
|
|
1065
|
+
PlayerTimeoutReason.prototype.g2l = function () {
|
|
1066
|
+
return this.n2l_1;
|
|
967
1067
|
};
|
|
968
1068
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
969
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1069
|
+
return 'PlayerTimeoutReason(playerId=' + this.n2l_1 + ', tag=' + this.o2l_1 + ')';
|
|
970
1070
|
};
|
|
971
1071
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
972
|
-
var result = getStringHashCode(this.
|
|
973
|
-
result = imul(result, 31) + (this.
|
|
1072
|
+
var result = getStringHashCode(this.n2l_1);
|
|
1073
|
+
result = imul(result, 31) + (this.o2l_1 == null ? 0 : getStringHashCode(this.o2l_1)) | 0;
|
|
974
1074
|
return result;
|
|
975
1075
|
};
|
|
976
1076
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -979,13 +1079,13 @@
|
|
|
979
1079
|
if (!(other instanceof PlayerTimeoutReason))
|
|
980
1080
|
return false;
|
|
981
1081
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
982
|
-
if (!(this.
|
|
1082
|
+
if (!(this.n2l_1 === tmp0_other_with_cast.n2l_1))
|
|
983
1083
|
return false;
|
|
984
|
-
if (!(this.
|
|
1084
|
+
if (!(this.o2l_1 == tmp0_other_with_cast.o2l_1))
|
|
985
1085
|
return false;
|
|
986
1086
|
return true;
|
|
987
1087
|
};
|
|
988
|
-
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $
|
|
1088
|
+
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_3}, undefined, TerminationGameReason.prototype);
|
|
989
1089
|
function ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd() {
|
|
990
1090
|
var tmp = ProcessingReason_getInstance();
|
|
991
1091
|
var tmp$ret$2;
|
|
@@ -1004,13 +1104,13 @@
|
|
|
1004
1104
|
TerminationGameReason.call(this);
|
|
1005
1105
|
var tmp = this;
|
|
1006
1106
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1007
|
-
tmp.
|
|
1107
|
+
tmp.p2l_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
1008
1108
|
}
|
|
1009
1109
|
ProcessingReason.prototype.toString = function () {
|
|
1010
1110
|
return 'ProcessingReason';
|
|
1011
1111
|
};
|
|
1012
1112
|
ProcessingReason.prototype.l25 = function () {
|
|
1013
|
-
return this.
|
|
1113
|
+
return this.p2l_1.c2();
|
|
1014
1114
|
};
|
|
1015
1115
|
ProcessingReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1016
1116
|
return this.l25();
|
|
@@ -1040,13 +1140,13 @@
|
|
|
1040
1140
|
TerminationGameReason.call(this);
|
|
1041
1141
|
var tmp = this;
|
|
1042
1142
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1043
|
-
tmp.
|
|
1143
|
+
tmp.q2l_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
1044
1144
|
}
|
|
1045
1145
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
1046
1146
|
return 'WaitingForConnectionReason';
|
|
1047
1147
|
};
|
|
1048
1148
|
WaitingForConnectionReason.prototype.l25 = function () {
|
|
1049
|
-
return this.
|
|
1149
|
+
return this.q2l_1.c2();
|
|
1050
1150
|
};
|
|
1051
1151
|
WaitingForConnectionReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1052
1152
|
return this.l25();
|
|
@@ -1077,60 +1177,60 @@
|
|
|
1077
1177
|
}
|
|
1078
1178
|
function GameUserInfo(playerId, name, avatarUrl, payload) {
|
|
1079
1179
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1082
|
-
this.
|
|
1083
|
-
this.
|
|
1180
|
+
this.r2l_1 = playerId;
|
|
1181
|
+
this.s2l_1 = name;
|
|
1182
|
+
this.t2l_1 = avatarUrl;
|
|
1183
|
+
this.u2l_1 = payload_0;
|
|
1084
1184
|
}
|
|
1085
|
-
GameUserInfo.prototype.
|
|
1086
|
-
return this.
|
|
1185
|
+
GameUserInfo.prototype.g2l = function () {
|
|
1186
|
+
return this.r2l_1;
|
|
1087
1187
|
};
|
|
1088
1188
|
GameUserInfo.prototype.f5 = function () {
|
|
1089
|
-
return this.
|
|
1189
|
+
return this.s2l_1;
|
|
1090
1190
|
};
|
|
1091
|
-
GameUserInfo.prototype.
|
|
1092
|
-
return this.
|
|
1191
|
+
GameUserInfo.prototype.v2l = function () {
|
|
1192
|
+
return this.t2l_1;
|
|
1093
1193
|
};
|
|
1094
|
-
GameUserInfo.prototype.
|
|
1095
|
-
return this.
|
|
1194
|
+
GameUserInfo.prototype.w2l = function () {
|
|
1195
|
+
return this.u2l_1;
|
|
1096
1196
|
};
|
|
1097
1197
|
GameUserInfo.prototype.component1 = function () {
|
|
1098
|
-
return this.
|
|
1198
|
+
return this.r2l_1;
|
|
1099
1199
|
};
|
|
1100
1200
|
GameUserInfo.prototype.component2 = function () {
|
|
1101
|
-
return this.
|
|
1201
|
+
return this.s2l_1;
|
|
1102
1202
|
};
|
|
1103
1203
|
GameUserInfo.prototype.component3 = function () {
|
|
1104
|
-
return this.
|
|
1204
|
+
return this.t2l_1;
|
|
1105
1205
|
};
|
|
1106
1206
|
GameUserInfo.prototype.component4 = function () {
|
|
1107
|
-
return this.
|
|
1207
|
+
return this.u2l_1;
|
|
1108
1208
|
};
|
|
1109
1209
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, payload) {
|
|
1110
|
-
return this.
|
|
1210
|
+
return this.x2l(playerId === void 1 ? this.r2l_1 : playerId, name === void 1 ? this.s2l_1 : name, avatarUrl === void 1 ? this.t2l_1 : avatarUrl, payload === void 1 ? this.u2l_1 : payload);
|
|
1111
1211
|
};
|
|
1112
|
-
GameUserInfo.prototype.
|
|
1212
|
+
GameUserInfo.prototype.x2l = function (playerId, name, avatarUrl, payload) {
|
|
1113
1213
|
return new GameUserInfo(playerId, name, avatarUrl, payload);
|
|
1114
1214
|
};
|
|
1115
|
-
GameUserInfo.prototype.
|
|
1215
|
+
GameUserInfo.prototype.y2l = function (playerId, name, avatarUrl, payload, $mask0, $handler) {
|
|
1116
1216
|
if (!(($mask0 & 1) === 0))
|
|
1117
|
-
playerId = this.
|
|
1217
|
+
playerId = this.r2l_1;
|
|
1118
1218
|
if (!(($mask0 & 2) === 0))
|
|
1119
|
-
name = this.
|
|
1219
|
+
name = this.s2l_1;
|
|
1120
1220
|
if (!(($mask0 & 4) === 0))
|
|
1121
|
-
avatarUrl = this.
|
|
1221
|
+
avatarUrl = this.t2l_1;
|
|
1122
1222
|
if (!(($mask0 & 8) === 0))
|
|
1123
|
-
payload = this.
|
|
1124
|
-
return this.
|
|
1223
|
+
payload = this.u2l_1;
|
|
1224
|
+
return this.x2l(playerId, name, avatarUrl, payload);
|
|
1125
1225
|
};
|
|
1126
1226
|
GameUserInfo.prototype.toString = function () {
|
|
1127
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1227
|
+
return 'GameUserInfo(playerId=' + this.r2l_1 + ', name=' + this.s2l_1 + ', avatarUrl=' + this.t2l_1 + ', payload=' + toString(this.u2l_1) + ')';
|
|
1128
1228
|
};
|
|
1129
1229
|
GameUserInfo.prototype.hashCode = function () {
|
|
1130
|
-
var result = getStringHashCode(this.
|
|
1131
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1132
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1133
|
-
result = imul(result, 31) + (this.
|
|
1230
|
+
var result = getStringHashCode(this.r2l_1);
|
|
1231
|
+
result = imul(result, 31) + getStringHashCode(this.s2l_1) | 0;
|
|
1232
|
+
result = imul(result, 31) + getStringHashCode(this.t2l_1) | 0;
|
|
1233
|
+
result = imul(result, 31) + (this.u2l_1 == null ? 0 : hashCode(this.u2l_1)) | 0;
|
|
1134
1234
|
return result;
|
|
1135
1235
|
};
|
|
1136
1236
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -1139,13 +1239,13 @@
|
|
|
1139
1239
|
if (!(other instanceof GameUserInfo))
|
|
1140
1240
|
return false;
|
|
1141
1241
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1142
|
-
if (!(this.
|
|
1242
|
+
if (!(this.r2l_1 === tmp0_other_with_cast.r2l_1))
|
|
1143
1243
|
return false;
|
|
1144
|
-
if (!(this.
|
|
1244
|
+
if (!(this.s2l_1 === tmp0_other_with_cast.s2l_1))
|
|
1145
1245
|
return false;
|
|
1146
|
-
if (!(this.
|
|
1246
|
+
if (!(this.t2l_1 === tmp0_other_with_cast.t2l_1))
|
|
1147
1247
|
return false;
|
|
1148
|
-
if (!equals(this.
|
|
1248
|
+
if (!equals(this.u2l_1, tmp0_other_with_cast.u2l_1))
|
|
1149
1249
|
return false;
|
|
1150
1250
|
return true;
|
|
1151
1251
|
};
|
|
@@ -1153,7 +1253,7 @@
|
|
|
1153
1253
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
1154
1254
|
configurable: true,
|
|
1155
1255
|
get: function () {
|
|
1156
|
-
return this.
|
|
1256
|
+
return this.g2l();
|
|
1157
1257
|
}
|
|
1158
1258
|
});
|
|
1159
1259
|
Object.defineProperty(GameUserInfo.prototype, 'name', {
|
|
@@ -1162,11 +1262,11 @@
|
|
|
1162
1262
|
});
|
|
1163
1263
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
1164
1264
|
configurable: true,
|
|
1165
|
-
get: GameUserInfo.prototype.
|
|
1265
|
+
get: GameUserInfo.prototype.v2l
|
|
1166
1266
|
});
|
|
1167
1267
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
1168
1268
|
configurable: true,
|
|
1169
|
-
get: GameUserInfo.prototype.
|
|
1269
|
+
get: GameUserInfo.prototype.w2l
|
|
1170
1270
|
});
|
|
1171
1271
|
function get_byIdPlayerPredicate() {
|
|
1172
1272
|
init_properties_Player_kt_txblev();
|
|
@@ -1273,7 +1373,7 @@
|
|
|
1273
1373
|
}
|
|
1274
1374
|
function playerTurnPredicate$lambda(p1) {
|
|
1275
1375
|
init_properties_Player_kt_txblev();
|
|
1276
|
-
return p1.am().
|
|
1376
|
+
return p1.am().f2m() ? true : p1.am().e2m();
|
|
1277
1377
|
}
|
|
1278
1378
|
var properties_initialized_Player_kt_56shkt;
|
|
1279
1379
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1284,12 +1384,35 @@
|
|
|
1284
1384
|
playerTurnPredicate = playerTurnPredicate$lambda;
|
|
1285
1385
|
}
|
|
1286
1386
|
}
|
|
1387
|
+
function PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c() {
|
|
1388
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values());
|
|
1389
|
+
}
|
|
1287
1390
|
var PlayerConnectionState_LIVE_instance;
|
|
1288
1391
|
var PlayerConnectionState_TIMEOUT_instance;
|
|
1289
1392
|
var PlayerConnectionState_LOST_CONNECTION_instance;
|
|
1290
1393
|
var PlayerConnectionState_LEFT_instance;
|
|
1291
1394
|
var PlayerConnectionState_DISCONNECTING_instance;
|
|
1292
1395
|
var PlayerConnectionState_DELETED_instance;
|
|
1396
|
+
function Companion_6() {
|
|
1397
|
+
Companion_instance_6 = this;
|
|
1398
|
+
var tmp = this;
|
|
1399
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1400
|
+
tmp.g2m_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1401
|
+
}
|
|
1402
|
+
Companion_6.prototype.serializer = function () {
|
|
1403
|
+
return this.g2m_1.c2();
|
|
1404
|
+
};
|
|
1405
|
+
Companion_6.prototype.b1u = function (typeParamsSerializers) {
|
|
1406
|
+
return this.serializer();
|
|
1407
|
+
};
|
|
1408
|
+
Companion_6.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
1409
|
+
var Companion_instance_6;
|
|
1410
|
+
function Companion_getInstance_6() {
|
|
1411
|
+
PlayerConnectionState_initEntries();
|
|
1412
|
+
if (Companion_instance_6 == null)
|
|
1413
|
+
new Companion_6();
|
|
1414
|
+
return Companion_instance_6;
|
|
1415
|
+
}
|
|
1293
1416
|
function values() {
|
|
1294
1417
|
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
1295
1418
|
}
|
|
@@ -1324,66 +1447,67 @@
|
|
|
1324
1447
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1325
1448
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
1326
1449
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1450
|
+
Companion_getInstance_6();
|
|
1327
1451
|
}
|
|
1328
1452
|
function PlayerConnectionState(name, ordinal) {
|
|
1329
1453
|
Enum.call(this, name, ordinal);
|
|
1330
1454
|
}
|
|
1331
|
-
PlayerConnectionState.prototype.
|
|
1455
|
+
PlayerConnectionState.prototype.j2m = function () {
|
|
1332
1456
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1333
1457
|
};
|
|
1334
|
-
PlayerConnectionState.prototype.
|
|
1458
|
+
PlayerConnectionState.prototype.k2m = function () {
|
|
1335
1459
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1336
1460
|
};
|
|
1337
|
-
PlayerConnectionState.prototype.
|
|
1461
|
+
PlayerConnectionState.prototype.l2m = function () {
|
|
1338
1462
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1339
1463
|
};
|
|
1340
|
-
PlayerConnectionState.prototype.
|
|
1464
|
+
PlayerConnectionState.prototype.m2m = function () {
|
|
1341
1465
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1342
1466
|
};
|
|
1343
|
-
PlayerConnectionState.prototype.
|
|
1467
|
+
PlayerConnectionState.prototype.n2m = function () {
|
|
1344
1468
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1345
1469
|
};
|
|
1346
|
-
PlayerConnectionState.prototype.
|
|
1470
|
+
PlayerConnectionState.prototype.o2m = function () {
|
|
1347
1471
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1348
1472
|
};
|
|
1349
|
-
PlayerConnectionState.prototype.
|
|
1473
|
+
PlayerConnectionState.prototype.p2m = function () {
|
|
1350
1474
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1351
1475
|
};
|
|
1352
|
-
PlayerConnectionState.prototype.
|
|
1476
|
+
PlayerConnectionState.prototype.q2m = function () {
|
|
1353
1477
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1354
1478
|
};
|
|
1355
|
-
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined,
|
|
1479
|
+
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0: Companion_getInstance_6}, undefined, Enum.prototype);
|
|
1356
1480
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1357
1481
|
configurable: true,
|
|
1358
|
-
get: PlayerConnectionState.prototype.
|
|
1482
|
+
get: PlayerConnectionState.prototype.j2m
|
|
1359
1483
|
});
|
|
1360
1484
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1361
1485
|
configurable: true,
|
|
1362
|
-
get: PlayerConnectionState.prototype.
|
|
1486
|
+
get: PlayerConnectionState.prototype.k2m
|
|
1363
1487
|
});
|
|
1364
1488
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1365
1489
|
configurable: true,
|
|
1366
|
-
get: PlayerConnectionState.prototype.
|
|
1490
|
+
get: PlayerConnectionState.prototype.l2m
|
|
1367
1491
|
});
|
|
1368
1492
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1369
1493
|
configurable: true,
|
|
1370
|
-
get: PlayerConnectionState.prototype.
|
|
1494
|
+
get: PlayerConnectionState.prototype.m2m
|
|
1371
1495
|
});
|
|
1372
1496
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1373
1497
|
configurable: true,
|
|
1374
|
-
get: PlayerConnectionState.prototype.
|
|
1498
|
+
get: PlayerConnectionState.prototype.n2m
|
|
1375
1499
|
});
|
|
1376
1500
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1377
1501
|
configurable: true,
|
|
1378
|
-
get: PlayerConnectionState.prototype.
|
|
1502
|
+
get: PlayerConnectionState.prototype.o2m
|
|
1379
1503
|
});
|
|
1380
1504
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1381
1505
|
configurable: true,
|
|
1382
|
-
get: PlayerConnectionState.prototype.
|
|
1506
|
+
get: PlayerConnectionState.prototype.p2m
|
|
1383
1507
|
});
|
|
1384
1508
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1385
1509
|
configurable: true,
|
|
1386
|
-
get: PlayerConnectionState.prototype.
|
|
1510
|
+
get: PlayerConnectionState.prototype.q2m
|
|
1387
1511
|
});
|
|
1388
1512
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1389
1513
|
configurable: true,
|
|
@@ -1417,9 +1541,32 @@
|
|
|
1417
1541
|
PlayerConnectionState_initEntries();
|
|
1418
1542
|
return PlayerConnectionState_DELETED_instance;
|
|
1419
1543
|
}
|
|
1544
|
+
function PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar() {
|
|
1545
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_0());
|
|
1546
|
+
}
|
|
1420
1547
|
var PlayerWaitingState_IDLE_instance;
|
|
1421
1548
|
var PlayerWaitingState_IN_PROGRESS_instance;
|
|
1422
1549
|
var PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1550
|
+
function Companion_7() {
|
|
1551
|
+
Companion_instance_7 = this;
|
|
1552
|
+
var tmp = this;
|
|
1553
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1554
|
+
tmp.r2m_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1555
|
+
}
|
|
1556
|
+
Companion_7.prototype.l25 = function () {
|
|
1557
|
+
return this.r2m_1.c2();
|
|
1558
|
+
};
|
|
1559
|
+
Companion_7.prototype.b1u = function (typeParamsSerializers) {
|
|
1560
|
+
return this.l25();
|
|
1561
|
+
};
|
|
1562
|
+
Companion_7.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
1563
|
+
var Companion_instance_7;
|
|
1564
|
+
function Companion_getInstance_7() {
|
|
1565
|
+
PlayerWaitingState_initEntries();
|
|
1566
|
+
if (Companion_instance_7 == null)
|
|
1567
|
+
new Companion_7();
|
|
1568
|
+
return Companion_instance_7;
|
|
1569
|
+
}
|
|
1423
1570
|
function values_0() {
|
|
1424
1571
|
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
1425
1572
|
}
|
|
@@ -1431,34 +1578,35 @@
|
|
|
1431
1578
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
1432
1579
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
1433
1580
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
1581
|
+
Companion_getInstance_7();
|
|
1434
1582
|
}
|
|
1435
1583
|
function PlayerWaitingState(name, ordinal) {
|
|
1436
1584
|
Enum.call(this, name, ordinal);
|
|
1437
1585
|
}
|
|
1438
|
-
PlayerWaitingState.prototype.
|
|
1439
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1586
|
+
PlayerWaitingState.prototype.f2m = function () {
|
|
1587
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.e2m();
|
|
1440
1588
|
};
|
|
1441
|
-
PlayerWaitingState.prototype.
|
|
1589
|
+
PlayerWaitingState.prototype.e2m = function () {
|
|
1442
1590
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1443
1591
|
};
|
|
1444
|
-
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined,
|
|
1445
|
-
function
|
|
1446
|
-
|
|
1592
|
+
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0: Companion_getInstance_7}, undefined, Enum.prototype);
|
|
1593
|
+
function Companion_8() {
|
|
1594
|
+
Companion_instance_8 = this;
|
|
1447
1595
|
}
|
|
1448
|
-
|
|
1596
|
+
Companion_8.prototype.u2m = function (connectionState) {
|
|
1449
1597
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1450
1598
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1451
1599
|
};
|
|
1452
|
-
|
|
1600
|
+
Companion_8.prototype.v2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1453
1601
|
var tmp = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1454
|
-
return _this__u8e3s4.
|
|
1602
|
+
return _this__u8e3s4.w2m(startFromTime, tmp, false, null, tag, 12, null);
|
|
1455
1603
|
};
|
|
1456
|
-
|
|
1457
|
-
var
|
|
1458
|
-
function
|
|
1459
|
-
if (
|
|
1460
|
-
new
|
|
1461
|
-
return
|
|
1604
|
+
Companion_8.$metadata$ = objectMeta('Companion');
|
|
1605
|
+
var Companion_instance_8;
|
|
1606
|
+
function Companion_getInstance_8() {
|
|
1607
|
+
if (Companion_instance_8 == null)
|
|
1608
|
+
new Companion_8();
|
|
1609
|
+
return Companion_instance_8;
|
|
1462
1610
|
}
|
|
1463
1611
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
1464
1612
|
PlayerWaitingState_initEntries();
|
|
@@ -1473,23 +1621,26 @@
|
|
|
1473
1621
|
return PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1474
1622
|
}
|
|
1475
1623
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1476
|
-
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1479
|
-
this.
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1624
|
+
Companion_getInstance_8();
|
|
1625
|
+
this.z2l_1 = startFromTime;
|
|
1626
|
+
this.a2m_1 = state;
|
|
1627
|
+
this.b2m_1 = ready;
|
|
1628
|
+
this.c2m_1 = connectionState;
|
|
1629
|
+
this.d2m_1 = tag;
|
|
1482
1630
|
}
|
|
1483
|
-
PlayerState.prototype.
|
|
1484
|
-
return this.
|
|
1631
|
+
PlayerState.prototype.x2m = function () {
|
|
1632
|
+
return this.b2m_1;
|
|
1485
1633
|
};
|
|
1486
|
-
PlayerState.prototype.
|
|
1487
|
-
return this.
|
|
1634
|
+
PlayerState.prototype.y2m = function () {
|
|
1635
|
+
return this.c2m_1;
|
|
1488
1636
|
};
|
|
1489
|
-
PlayerState.prototype.
|
|
1637
|
+
PlayerState.prototype.w2e = function () {
|
|
1638
|
+
return this.d2m_1;
|
|
1639
|
+
};
|
|
1640
|
+
PlayerState.prototype.z2m = function () {
|
|
1490
1641
|
var tmp$ret$2;
|
|
1491
1642
|
// Inline function 'kotlin.requireNotNull' call
|
|
1492
|
-
var tmp0_requireNotNull = this.
|
|
1643
|
+
var tmp0_requireNotNull = this.d2m_1;
|
|
1493
1644
|
// Inline function 'kotlin.contracts.contract' call
|
|
1494
1645
|
var tmp$ret$1;
|
|
1495
1646
|
$l$block: {
|
|
@@ -1509,41 +1660,41 @@
|
|
|
1509
1660
|
tmp$ret$2 = tmp$ret$1;
|
|
1510
1661
|
return tmp$ret$2;
|
|
1511
1662
|
};
|
|
1512
|
-
PlayerState.prototype.
|
|
1513
|
-
var tmp0_elvis_lhs = this.
|
|
1663
|
+
PlayerState.prototype.a2n = function () {
|
|
1664
|
+
var tmp0_elvis_lhs = this.d2m_1;
|
|
1514
1665
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1515
1666
|
};
|
|
1516
|
-
PlayerState.prototype.
|
|
1517
|
-
return this.
|
|
1667
|
+
PlayerState.prototype.f2m = function () {
|
|
1668
|
+
return this.a2m_1.f2m();
|
|
1518
1669
|
};
|
|
1519
|
-
PlayerState.prototype.
|
|
1520
|
-
return this.
|
|
1670
|
+
PlayerState.prototype.e2m = function () {
|
|
1671
|
+
return this.a2m_1.e2m();
|
|
1521
1672
|
};
|
|
1522
|
-
PlayerState.prototype.
|
|
1673
|
+
PlayerState.prototype.b2n = function (startFromTime, state, ready, connectionState, tag) {
|
|
1523
1674
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1524
1675
|
};
|
|
1525
|
-
PlayerState.prototype.
|
|
1676
|
+
PlayerState.prototype.w2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1526
1677
|
if (!(($mask0 & 1) === 0))
|
|
1527
|
-
startFromTime = this.
|
|
1678
|
+
startFromTime = this.z2l_1;
|
|
1528
1679
|
if (!(($mask0 & 2) === 0))
|
|
1529
|
-
state = this.
|
|
1680
|
+
state = this.a2m_1;
|
|
1530
1681
|
if (!(($mask0 & 4) === 0))
|
|
1531
|
-
ready = this.
|
|
1682
|
+
ready = this.b2m_1;
|
|
1532
1683
|
if (!(($mask0 & 8) === 0))
|
|
1533
|
-
connectionState = this.
|
|
1684
|
+
connectionState = this.c2m_1;
|
|
1534
1685
|
if (!(($mask0 & 16) === 0))
|
|
1535
|
-
tag = this.
|
|
1536
|
-
return this.
|
|
1686
|
+
tag = this.d2m_1;
|
|
1687
|
+
return this.b2n(startFromTime, state, ready, connectionState, tag);
|
|
1537
1688
|
};
|
|
1538
1689
|
PlayerState.prototype.toString = function () {
|
|
1539
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1690
|
+
return 'PlayerState(startFromTime=' + toString_0(this.z2l_1) + ', state=' + this.a2m_1 + ', ready=' + this.b2m_1 + ', connectionState=' + this.c2m_1 + ', tag=' + this.d2m_1 + ')';
|
|
1540
1691
|
};
|
|
1541
1692
|
PlayerState.prototype.hashCode = function () {
|
|
1542
|
-
var result = this.
|
|
1543
|
-
result = imul(result, 31) + this.y2l_1.hashCode() | 0;
|
|
1544
|
-
result = imul(result, 31) + (this.z2l_1 | 0) | 0;
|
|
1693
|
+
var result = this.z2l_1.hashCode();
|
|
1545
1694
|
result = imul(result, 31) + this.a2m_1.hashCode() | 0;
|
|
1546
|
-
result = imul(result, 31) + (this.b2m_1
|
|
1695
|
+
result = imul(result, 31) + (this.b2m_1 | 0) | 0;
|
|
1696
|
+
result = imul(result, 31) + this.c2m_1.hashCode() | 0;
|
|
1697
|
+
result = imul(result, 31) + (this.d2m_1 == null ? 0 : getStringHashCode(this.d2m_1)) | 0;
|
|
1547
1698
|
return result;
|
|
1548
1699
|
};
|
|
1549
1700
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1552,27 +1703,27 @@
|
|
|
1552
1703
|
if (!(other instanceof PlayerState))
|
|
1553
1704
|
return false;
|
|
1554
1705
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1555
|
-
if (!this.
|
|
1706
|
+
if (!this.z2l_1.equals(tmp0_other_with_cast.z2l_1))
|
|
1556
1707
|
return false;
|
|
1557
|
-
if (!this.
|
|
1708
|
+
if (!this.a2m_1.equals(tmp0_other_with_cast.a2m_1))
|
|
1558
1709
|
return false;
|
|
1559
|
-
if (!(this.
|
|
1710
|
+
if (!(this.b2m_1 === tmp0_other_with_cast.b2m_1))
|
|
1560
1711
|
return false;
|
|
1561
|
-
if (!this.
|
|
1712
|
+
if (!this.c2m_1.equals(tmp0_other_with_cast.c2m_1))
|
|
1562
1713
|
return false;
|
|
1563
|
-
if (!(this.
|
|
1714
|
+
if (!(this.d2m_1 == tmp0_other_with_cast.d2m_1))
|
|
1564
1715
|
return false;
|
|
1565
1716
|
return true;
|
|
1566
1717
|
};
|
|
1567
1718
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1568
1719
|
function Team(playerIds) {
|
|
1569
|
-
this.
|
|
1720
|
+
this.c2n_1 = playerIds;
|
|
1570
1721
|
}
|
|
1571
1722
|
Team.prototype.toString = function () {
|
|
1572
|
-
return 'Team(playerIds=' + this.
|
|
1723
|
+
return 'Team(playerIds=' + this.c2n_1 + ')';
|
|
1573
1724
|
};
|
|
1574
1725
|
Team.prototype.hashCode = function () {
|
|
1575
|
-
return hashCode(this.
|
|
1726
|
+
return hashCode(this.c2n_1);
|
|
1576
1727
|
};
|
|
1577
1728
|
Team.prototype.equals = function (other) {
|
|
1578
1729
|
if (this === other)
|
|
@@ -1580,70 +1731,58 @@
|
|
|
1580
1731
|
if (!(other instanceof Team))
|
|
1581
1732
|
return false;
|
|
1582
1733
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1583
|
-
if (!equals(this.
|
|
1734
|
+
if (!equals(this.c2n_1, tmp0_other_with_cast.c2n_1))
|
|
1584
1735
|
return false;
|
|
1585
1736
|
return true;
|
|
1586
1737
|
};
|
|
1587
1738
|
Team.$metadata$ = classMeta('Team');
|
|
1588
|
-
function
|
|
1589
|
-
|
|
1739
|
+
function Companion_9() {
|
|
1740
|
+
Companion_instance_9 = this;
|
|
1590
1741
|
}
|
|
1591
|
-
|
|
1742
|
+
Companion_9.prototype.kharkiv = function () {
|
|
1592
1743
|
return new Rules(true, true, true, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
1593
1744
|
};
|
|
1594
|
-
|
|
1745
|
+
Companion_9.prototype.klabor = function () {
|
|
1595
1746
|
return new Rules(true, false, true, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
1596
1747
|
};
|
|
1597
|
-
|
|
1748
|
+
Companion_9.prototype.debertzCommon = function () {
|
|
1598
1749
|
return new Rules(true, false, false, true, true, true, false, false, true, false, false, 0, false, true, false, false);
|
|
1599
1750
|
};
|
|
1600
|
-
|
|
1751
|
+
Companion_9.prototype.moscow = function () {
|
|
1601
1752
|
return new Rules(true, false, false, true, true, true, false, true, true, false, false, 0, false, true, false, false);
|
|
1602
1753
|
};
|
|
1603
|
-
|
|
1754
|
+
Companion_9.prototype.belot = function () {
|
|
1604
1755
|
return new Rules(true, true, false, true, true, true, false, true, true, false, false, 50, false, true, false, false);
|
|
1605
1756
|
};
|
|
1606
|
-
|
|
1757
|
+
Companion_9.prototype.custom = function () {
|
|
1607
1758
|
return new Rules(false, false, false, true, true, true, false, false, false, false, false, 50, false, false, false, false);
|
|
1608
1759
|
};
|
|
1609
|
-
|
|
1610
|
-
var
|
|
1611
|
-
function
|
|
1612
|
-
if (
|
|
1613
|
-
new
|
|
1614
|
-
return
|
|
1760
|
+
Companion_9.$metadata$ = objectMeta('Companion');
|
|
1761
|
+
var Companion_instance_9;
|
|
1762
|
+
function Companion_getInstance_9() {
|
|
1763
|
+
if (Companion_instance_9 == null)
|
|
1764
|
+
new Companion_9();
|
|
1765
|
+
return Companion_instance_9;
|
|
1615
1766
|
}
|
|
1616
1767
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1617
|
-
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1620
|
-
this.
|
|
1621
|
-
this.
|
|
1622
|
-
this.
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1625
|
-
this.
|
|
1626
|
-
this.
|
|
1627
|
-
this.
|
|
1628
|
-
this.
|
|
1629
|
-
this.
|
|
1630
|
-
this.
|
|
1631
|
-
this.
|
|
1632
|
-
this.
|
|
1633
|
-
this.
|
|
1634
|
-
}
|
|
1635
|
-
Rules.prototype.p2n = function () {
|
|
1636
|
-
return this.z2m_1;
|
|
1637
|
-
};
|
|
1638
|
-
Rules.prototype.q2n = function () {
|
|
1639
|
-
return this.a2n_1;
|
|
1640
|
-
};
|
|
1641
|
-
Rules.prototype.r2n = function () {
|
|
1642
|
-
return this.b2n_1;
|
|
1643
|
-
};
|
|
1644
|
-
Rules.prototype.s2n = function () {
|
|
1645
|
-
return this.c2n_1;
|
|
1646
|
-
};
|
|
1768
|
+
Companion_getInstance_9();
|
|
1769
|
+
this.d2n_1 = needToPutHigherTrump;
|
|
1770
|
+
this.e2n_1 = distributePoints;
|
|
1771
|
+
this.f2n_1 = protectBella;
|
|
1772
|
+
this.g2n_1 = enableFourSevensCombination;
|
|
1773
|
+
this.h2n_1 = enableTrumpSevenCombination;
|
|
1774
|
+
this.i2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1775
|
+
this.j2n_1 = playerWhoChooseSuitGoFirst;
|
|
1776
|
+
this.k2n_1 = winnerShuffleCards;
|
|
1777
|
+
this.l2n_1 = playWithoutLiabilities;
|
|
1778
|
+
this.m2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1779
|
+
this.n2n_1 = enableFineIfNoBribes;
|
|
1780
|
+
this.o2n_1 = fineIfNoBribes;
|
|
1781
|
+
this.p2n_1 = enableFineAfterThirdByte;
|
|
1782
|
+
this.q2n_1 = checkTrumpCombination;
|
|
1783
|
+
this.r2n_1 = checkOnlyTrumpDebertz;
|
|
1784
|
+
this.s2n_1 = tenCardsInHand;
|
|
1785
|
+
}
|
|
1647
1786
|
Rules.prototype.t2n = function () {
|
|
1648
1787
|
return this.d2n_1;
|
|
1649
1788
|
};
|
|
@@ -1680,115 +1819,127 @@
|
|
|
1680
1819
|
Rules.prototype.e2o = function () {
|
|
1681
1820
|
return this.o2n_1;
|
|
1682
1821
|
};
|
|
1822
|
+
Rules.prototype.f2o = function () {
|
|
1823
|
+
return this.p2n_1;
|
|
1824
|
+
};
|
|
1825
|
+
Rules.prototype.g2o = function () {
|
|
1826
|
+
return this.q2n_1;
|
|
1827
|
+
};
|
|
1828
|
+
Rules.prototype.h2o = function () {
|
|
1829
|
+
return this.r2n_1;
|
|
1830
|
+
};
|
|
1831
|
+
Rules.prototype.i2o = function () {
|
|
1832
|
+
return this.s2n_1;
|
|
1833
|
+
};
|
|
1683
1834
|
Rules.prototype.component1 = function () {
|
|
1684
|
-
return this.
|
|
1835
|
+
return this.d2n_1;
|
|
1685
1836
|
};
|
|
1686
1837
|
Rules.prototype.component2 = function () {
|
|
1687
|
-
return this.
|
|
1838
|
+
return this.e2n_1;
|
|
1688
1839
|
};
|
|
1689
1840
|
Rules.prototype.component3 = function () {
|
|
1690
|
-
return this.
|
|
1841
|
+
return this.f2n_1;
|
|
1691
1842
|
};
|
|
1692
1843
|
Rules.prototype.component4 = function () {
|
|
1693
|
-
return this.
|
|
1844
|
+
return this.g2n_1;
|
|
1694
1845
|
};
|
|
1695
1846
|
Rules.prototype.component5 = function () {
|
|
1696
|
-
return this.
|
|
1847
|
+
return this.h2n_1;
|
|
1697
1848
|
};
|
|
1698
1849
|
Rules.prototype.component6 = function () {
|
|
1699
|
-
return this.
|
|
1850
|
+
return this.i2n_1;
|
|
1700
1851
|
};
|
|
1701
1852
|
Rules.prototype.component7 = function () {
|
|
1702
|
-
return this.
|
|
1853
|
+
return this.j2n_1;
|
|
1703
1854
|
};
|
|
1704
1855
|
Rules.prototype.component8 = function () {
|
|
1705
|
-
return this.
|
|
1856
|
+
return this.k2n_1;
|
|
1706
1857
|
};
|
|
1707
1858
|
Rules.prototype.component9 = function () {
|
|
1708
|
-
return this.
|
|
1859
|
+
return this.l2n_1;
|
|
1709
1860
|
};
|
|
1710
1861
|
Rules.prototype.component10 = function () {
|
|
1711
|
-
return this.
|
|
1862
|
+
return this.m2n_1;
|
|
1712
1863
|
};
|
|
1713
1864
|
Rules.prototype.component11 = function () {
|
|
1714
|
-
return this.
|
|
1865
|
+
return this.n2n_1;
|
|
1715
1866
|
};
|
|
1716
1867
|
Rules.prototype.component12 = function () {
|
|
1717
|
-
return this.
|
|
1868
|
+
return this.o2n_1;
|
|
1718
1869
|
};
|
|
1719
1870
|
Rules.prototype.component13 = function () {
|
|
1720
|
-
return this.
|
|
1871
|
+
return this.p2n_1;
|
|
1721
1872
|
};
|
|
1722
1873
|
Rules.prototype.component14 = function () {
|
|
1723
|
-
return this.
|
|
1874
|
+
return this.q2n_1;
|
|
1724
1875
|
};
|
|
1725
1876
|
Rules.prototype.component15 = function () {
|
|
1726
|
-
return this.
|
|
1877
|
+
return this.r2n_1;
|
|
1727
1878
|
};
|
|
1728
1879
|
Rules.prototype.component16 = function () {
|
|
1729
|
-
return this.
|
|
1880
|
+
return this.s2n_1;
|
|
1730
1881
|
};
|
|
1731
1882
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1732
|
-
return this.
|
|
1883
|
+
return this.j2o(needToPutHigherTrump === void 1 ? this.d2n_1 : needToPutHigherTrump, distributePoints === void 1 ? this.e2n_1 : distributePoints, protectBella === void 1 ? this.f2n_1 : protectBella, enableFourSevensCombination === void 1 ? this.g2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.h2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.i2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.j2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.k2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.l2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.m2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.n2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.o2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.p2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.q2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.r2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.s2n_1 : tenCardsInHand);
|
|
1733
1884
|
};
|
|
1734
|
-
Rules.prototype.
|
|
1885
|
+
Rules.prototype.j2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1735
1886
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1736
1887
|
};
|
|
1737
|
-
Rules.prototype.
|
|
1888
|
+
Rules.prototype.k2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1738
1889
|
if (!(($mask0 & 1) === 0))
|
|
1739
|
-
needToPutHigherTrump = this.
|
|
1890
|
+
needToPutHigherTrump = this.d2n_1;
|
|
1740
1891
|
if (!(($mask0 & 2) === 0))
|
|
1741
|
-
distributePoints = this.
|
|
1892
|
+
distributePoints = this.e2n_1;
|
|
1742
1893
|
if (!(($mask0 & 4) === 0))
|
|
1743
|
-
protectBella = this.
|
|
1894
|
+
protectBella = this.f2n_1;
|
|
1744
1895
|
if (!(($mask0 & 8) === 0))
|
|
1745
|
-
enableFourSevensCombination = this.
|
|
1896
|
+
enableFourSevensCombination = this.g2n_1;
|
|
1746
1897
|
if (!(($mask0 & 16) === 0))
|
|
1747
|
-
enableTrumpSevenCombination = this.
|
|
1898
|
+
enableTrumpSevenCombination = this.h2n_1;
|
|
1748
1899
|
if (!(($mask0 & 32) === 0))
|
|
1749
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
1900
|
+
enableTrumpSevenCombinationAfterDistribution = this.i2n_1;
|
|
1750
1901
|
if (!(($mask0 & 64) === 0))
|
|
1751
|
-
playerWhoChooseSuitGoFirst = this.
|
|
1902
|
+
playerWhoChooseSuitGoFirst = this.j2n_1;
|
|
1752
1903
|
if (!(($mask0 & 128) === 0))
|
|
1753
|
-
winnerShuffleCards = this.
|
|
1904
|
+
winnerShuffleCards = this.k2n_1;
|
|
1754
1905
|
if (!(($mask0 & 256) === 0))
|
|
1755
|
-
playWithoutLiabilities = this.
|
|
1906
|
+
playWithoutLiabilities = this.l2n_1;
|
|
1756
1907
|
if (!(($mask0 & 512) === 0))
|
|
1757
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
1908
|
+
trumpCardGoToPlayerWhoShuffleCards = this.m2n_1;
|
|
1758
1909
|
if (!(($mask0 & 1024) === 0))
|
|
1759
|
-
enableFineIfNoBribes = this.
|
|
1910
|
+
enableFineIfNoBribes = this.n2n_1;
|
|
1760
1911
|
if (!(($mask0 & 2048) === 0))
|
|
1761
|
-
fineIfNoBribes = this.
|
|
1912
|
+
fineIfNoBribes = this.o2n_1;
|
|
1762
1913
|
if (!(($mask0 & 4096) === 0))
|
|
1763
|
-
enableFineAfterThirdByte = this.
|
|
1914
|
+
enableFineAfterThirdByte = this.p2n_1;
|
|
1764
1915
|
if (!(($mask0 & 8192) === 0))
|
|
1765
|
-
checkTrumpCombination = this.
|
|
1916
|
+
checkTrumpCombination = this.q2n_1;
|
|
1766
1917
|
if (!(($mask0 & 16384) === 0))
|
|
1767
|
-
checkOnlyTrumpDebertz = this.
|
|
1918
|
+
checkOnlyTrumpDebertz = this.r2n_1;
|
|
1768
1919
|
if (!(($mask0 & 32768) === 0))
|
|
1769
|
-
tenCardsInHand = this.
|
|
1770
|
-
return this.
|
|
1920
|
+
tenCardsInHand = this.s2n_1;
|
|
1921
|
+
return this.j2o(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1771
1922
|
};
|
|
1772
1923
|
Rules.prototype.toString = function () {
|
|
1773
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
1924
|
+
return 'Rules(needToPutHigherTrump=' + this.d2n_1 + ', distributePoints=' + this.e2n_1 + ', protectBella=' + this.f2n_1 + ', enableFourSevensCombination=' + this.g2n_1 + ', enableTrumpSevenCombination=' + this.h2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.i2n_1 + ', playerWhoChooseSuitGoFirst=' + this.j2n_1 + ', winnerShuffleCards=' + this.k2n_1 + ', playWithoutLiabilities=' + this.l2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.m2n_1 + ', enableFineIfNoBribes=' + this.n2n_1 + ', fineIfNoBribes=' + this.o2n_1 + ', enableFineAfterThirdByte=' + this.p2n_1 + ', checkTrumpCombination=' + this.q2n_1 + ', checkOnlyTrumpDebertz=' + this.r2n_1 + ', tenCardsInHand=' + this.s2n_1 + ')';
|
|
1774
1925
|
};
|
|
1775
1926
|
Rules.prototype.hashCode = function () {
|
|
1776
|
-
var result = this.
|
|
1777
|
-
result = imul(result, 31) + (this.a2n_1 | 0) | 0;
|
|
1778
|
-
result = imul(result, 31) + (this.b2n_1 | 0) | 0;
|
|
1779
|
-
result = imul(result, 31) + (this.c2n_1 | 0) | 0;
|
|
1780
|
-
result = imul(result, 31) + (this.d2n_1 | 0) | 0;
|
|
1927
|
+
var result = this.d2n_1 | 0;
|
|
1781
1928
|
result = imul(result, 31) + (this.e2n_1 | 0) | 0;
|
|
1782
1929
|
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1783
1930
|
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
1784
1931
|
result = imul(result, 31) + (this.h2n_1 | 0) | 0;
|
|
1785
1932
|
result = imul(result, 31) + (this.i2n_1 | 0) | 0;
|
|
1786
1933
|
result = imul(result, 31) + (this.j2n_1 | 0) | 0;
|
|
1787
|
-
result = imul(result, 31) + this.k2n_1 | 0;
|
|
1934
|
+
result = imul(result, 31) + (this.k2n_1 | 0) | 0;
|
|
1788
1935
|
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1789
1936
|
result = imul(result, 31) + (this.m2n_1 | 0) | 0;
|
|
1790
1937
|
result = imul(result, 31) + (this.n2n_1 | 0) | 0;
|
|
1791
|
-
result = imul(result, 31) +
|
|
1938
|
+
result = imul(result, 31) + this.o2n_1 | 0;
|
|
1939
|
+
result = imul(result, 31) + (this.p2n_1 | 0) | 0;
|
|
1940
|
+
result = imul(result, 31) + (this.q2n_1 | 0) | 0;
|
|
1941
|
+
result = imul(result, 31) + (this.r2n_1 | 0) | 0;
|
|
1942
|
+
result = imul(result, 31) + (this.s2n_1 | 0) | 0;
|
|
1792
1943
|
return result;
|
|
1793
1944
|
};
|
|
1794
1945
|
Rules.prototype.equals = function (other) {
|
|
@@ -1797,14 +1948,6 @@
|
|
|
1797
1948
|
if (!(other instanceof Rules))
|
|
1798
1949
|
return false;
|
|
1799
1950
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1800
|
-
if (!(this.z2m_1 === tmp0_other_with_cast.z2m_1))
|
|
1801
|
-
return false;
|
|
1802
|
-
if (!(this.a2n_1 === tmp0_other_with_cast.a2n_1))
|
|
1803
|
-
return false;
|
|
1804
|
-
if (!(this.b2n_1 === tmp0_other_with_cast.b2n_1))
|
|
1805
|
-
return false;
|
|
1806
|
-
if (!(this.c2n_1 === tmp0_other_with_cast.c2n_1))
|
|
1807
|
-
return false;
|
|
1808
1951
|
if (!(this.d2n_1 === tmp0_other_with_cast.d2n_1))
|
|
1809
1952
|
return false;
|
|
1810
1953
|
if (!(this.e2n_1 === tmp0_other_with_cast.e2n_1))
|
|
@@ -1829,72 +1972,80 @@
|
|
|
1829
1972
|
return false;
|
|
1830
1973
|
if (!(this.o2n_1 === tmp0_other_with_cast.o2n_1))
|
|
1831
1974
|
return false;
|
|
1975
|
+
if (!(this.p2n_1 === tmp0_other_with_cast.p2n_1))
|
|
1976
|
+
return false;
|
|
1977
|
+
if (!(this.q2n_1 === tmp0_other_with_cast.q2n_1))
|
|
1978
|
+
return false;
|
|
1979
|
+
if (!(this.r2n_1 === tmp0_other_with_cast.r2n_1))
|
|
1980
|
+
return false;
|
|
1981
|
+
if (!(this.s2n_1 === tmp0_other_with_cast.s2n_1))
|
|
1982
|
+
return false;
|
|
1832
1983
|
return true;
|
|
1833
1984
|
};
|
|
1834
1985
|
Rules.$metadata$ = classMeta('Rules');
|
|
1835
1986
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1836
1987
|
configurable: true,
|
|
1837
|
-
get: Rules.prototype.
|
|
1988
|
+
get: Rules.prototype.t2n
|
|
1838
1989
|
});
|
|
1839
1990
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1840
1991
|
configurable: true,
|
|
1841
|
-
get: Rules.prototype.
|
|
1992
|
+
get: Rules.prototype.u2n
|
|
1842
1993
|
});
|
|
1843
1994
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1844
1995
|
configurable: true,
|
|
1845
|
-
get: Rules.prototype.
|
|
1996
|
+
get: Rules.prototype.v2n
|
|
1846
1997
|
});
|
|
1847
1998
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1848
1999
|
configurable: true,
|
|
1849
|
-
get: Rules.prototype.
|
|
2000
|
+
get: Rules.prototype.w2n
|
|
1850
2001
|
});
|
|
1851
2002
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
1852
2003
|
configurable: true,
|
|
1853
|
-
get: Rules.prototype.
|
|
2004
|
+
get: Rules.prototype.x2n
|
|
1854
2005
|
});
|
|
1855
2006
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
1856
2007
|
configurable: true,
|
|
1857
|
-
get: Rules.prototype.
|
|
2008
|
+
get: Rules.prototype.y2n
|
|
1858
2009
|
});
|
|
1859
2010
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
1860
2011
|
configurable: true,
|
|
1861
|
-
get: Rules.prototype.
|
|
2012
|
+
get: Rules.prototype.z2n
|
|
1862
2013
|
});
|
|
1863
2014
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
1864
2015
|
configurable: true,
|
|
1865
|
-
get: Rules.prototype.
|
|
2016
|
+
get: Rules.prototype.a2o
|
|
1866
2017
|
});
|
|
1867
2018
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
1868
2019
|
configurable: true,
|
|
1869
|
-
get: Rules.prototype.
|
|
2020
|
+
get: Rules.prototype.b2o
|
|
1870
2021
|
});
|
|
1871
2022
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
1872
2023
|
configurable: true,
|
|
1873
|
-
get: Rules.prototype.
|
|
2024
|
+
get: Rules.prototype.c2o
|
|
1874
2025
|
});
|
|
1875
2026
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
1876
2027
|
configurable: true,
|
|
1877
|
-
get: Rules.prototype.
|
|
2028
|
+
get: Rules.prototype.d2o
|
|
1878
2029
|
});
|
|
1879
2030
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
1880
2031
|
configurable: true,
|
|
1881
|
-
get: Rules.prototype.
|
|
2032
|
+
get: Rules.prototype.e2o
|
|
1882
2033
|
});
|
|
1883
2034
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
1884
2035
|
configurable: true,
|
|
1885
|
-
get: Rules.prototype.
|
|
2036
|
+
get: Rules.prototype.f2o
|
|
1886
2037
|
});
|
|
1887
2038
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
1888
2039
|
configurable: true,
|
|
1889
|
-
get: Rules.prototype.
|
|
2040
|
+
get: Rules.prototype.g2o
|
|
1890
2041
|
});
|
|
1891
2042
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
1892
2043
|
configurable: true,
|
|
1893
|
-
get: Rules.prototype.
|
|
2044
|
+
get: Rules.prototype.h2o
|
|
1894
2045
|
});
|
|
1895
2046
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
1896
2047
|
configurable: true,
|
|
1897
|
-
get: Rules.prototype.
|
|
2048
|
+
get: Rules.prototype.i2o
|
|
1898
2049
|
});
|
|
1899
2050
|
var RulesSetType_belot_instance;
|
|
1900
2051
|
var RulesSetType_klabor_instance;
|
|
@@ -1974,62 +2125,62 @@
|
|
|
1974
2125
|
return RulesSetType_custom_instance;
|
|
1975
2126
|
}
|
|
1976
2127
|
function mapToDto(_this__u8e3s4) {
|
|
1977
|
-
return _this__u8e3s4.
|
|
2128
|
+
return _this__u8e3s4.n2o_1;
|
|
1978
2129
|
}
|
|
1979
2130
|
function mapFromDto(_this__u8e3s4) {
|
|
1980
2131
|
return new GameCard(_this__u8e3s4);
|
|
1981
2132
|
}
|
|
1982
2133
|
function mapToDto_0(_this__u8e3s4) {
|
|
1983
|
-
return _this__u8e3s4.
|
|
2134
|
+
return _this__u8e3s4.p2o_1.n2o_1;
|
|
1984
2135
|
}
|
|
1985
2136
|
function mapToDto_1(_this__u8e3s4) {
|
|
1986
|
-
return new RulesDto(_this__u8e3s4.
|
|
2137
|
+
return new RulesDto(_this__u8e3s4.d2n_1, _this__u8e3s4.e2n_1, _this__u8e3s4.f2n_1, _this__u8e3s4.g2n_1, _this__u8e3s4.h2n_1, _this__u8e3s4.i2n_1, _this__u8e3s4.j2n_1, _this__u8e3s4.k2n_1, _this__u8e3s4.l2n_1, _this__u8e3s4.m2n_1, _this__u8e3s4.n2n_1, _this__u8e3s4.o2n_1, _this__u8e3s4.p2n_1, _this__u8e3s4.q2n_1, _this__u8e3s4.r2n_1, _this__u8e3s4.s2n_1);
|
|
1987
2138
|
}
|
|
1988
2139
|
function mapFromDto_0(_this__u8e3s4) {
|
|
1989
|
-
return new Rules(_this__u8e3s4.
|
|
2140
|
+
return new Rules(_this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, _this__u8e3s4.s2o_1, _this__u8e3s4.t2o_1, _this__u8e3s4.u2o_1, _this__u8e3s4.v2o_1, _this__u8e3s4.w2o_1, _this__u8e3s4.x2o_1, _this__u8e3s4.y2o_1, _this__u8e3s4.z2o_1, _this__u8e3s4.a2p_1, _this__u8e3s4.b2p_1, _this__u8e3s4.c2p_1, _this__u8e3s4.d2p_1, _this__u8e3s4.e2p_1, _this__u8e3s4.f2p_1);
|
|
1990
2141
|
}
|
|
1991
2142
|
function mapToDto_2(_this__u8e3s4) {
|
|
1992
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2143
|
+
return new GameUserInfoDto(_this__u8e3s4.r2l_1, _this__u8e3s4.s2l_1, _this__u8e3s4.t2l_1);
|
|
1993
2144
|
}
|
|
1994
2145
|
function mapFromDto_1(_this__u8e3s4) {
|
|
1995
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2146
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.g2p_1, _this__u8e3s4.h2p_1, _this__u8e3s4.i2p_1, null, 8, null);
|
|
1996
2147
|
}
|
|
1997
2148
|
function mapToDto_3(_this__u8e3s4) {
|
|
1998
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
1999
|
-
var tmp1_state = _this__u8e3s4.
|
|
2000
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2001
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2149
|
+
var tmp0_startFromTime = _this__u8e3s4.z2l_1;
|
|
2150
|
+
var tmp1_state = _this__u8e3s4.a2m_1;
|
|
2151
|
+
var tmp2_tag = _this__u8e3s4.d2m_1;
|
|
2152
|
+
var tmp3_ready = _this__u8e3s4.b2m_1;
|
|
2002
2153
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2003
2154
|
}
|
|
2004
2155
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2005
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2006
|
-
var tmp1_state = _this__u8e3s4.
|
|
2007
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2008
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2156
|
+
var tmp0_startFromTime = _this__u8e3s4.j2p_1;
|
|
2157
|
+
var tmp1_state = _this__u8e3s4.k2p_1;
|
|
2158
|
+
var tmp2_tag = _this__u8e3s4.m2p_1;
|
|
2159
|
+
var tmp3_ready = _this__u8e3s4.l2p_1;
|
|
2009
2160
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2010
2161
|
}
|
|
2011
|
-
function
|
|
2012
|
-
|
|
2162
|
+
function Companion_10() {
|
|
2163
|
+
Companion_instance_10 = this;
|
|
2013
2164
|
}
|
|
2014
|
-
|
|
2015
|
-
var
|
|
2016
|
-
function
|
|
2017
|
-
if (
|
|
2018
|
-
new
|
|
2019
|
-
return
|
|
2165
|
+
Companion_10.$metadata$ = objectMeta('Companion');
|
|
2166
|
+
var Companion_instance_10;
|
|
2167
|
+
function Companion_getInstance_10() {
|
|
2168
|
+
if (Companion_instance_10 == null)
|
|
2169
|
+
new Companion_10();
|
|
2170
|
+
return Companion_instance_10;
|
|
2020
2171
|
}
|
|
2021
|
-
function $
|
|
2022
|
-
$
|
|
2172
|
+
function $serializer_4() {
|
|
2173
|
+
$serializer_instance_4 = this;
|
|
2023
2174
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 3);
|
|
2024
2175
|
tmp0_serialDesc.d1t('playerId', false);
|
|
2025
2176
|
tmp0_serialDesc.d1t('name', false);
|
|
2026
2177
|
tmp0_serialDesc.d1t('avatarUrl', false);
|
|
2027
|
-
this.
|
|
2178
|
+
this.n2p_1 = tmp0_serialDesc;
|
|
2028
2179
|
}
|
|
2029
|
-
$
|
|
2030
|
-
return this.
|
|
2180
|
+
$serializer_4.prototype.q1i = function () {
|
|
2181
|
+
return this.n2p_1;
|
|
2031
2182
|
};
|
|
2032
|
-
$
|
|
2183
|
+
$serializer_4.prototype.s1t = function () {
|
|
2033
2184
|
var tmp$ret$2;
|
|
2034
2185
|
// Inline function 'kotlin.arrayOf' call
|
|
2035
2186
|
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
@@ -2042,8 +2193,8 @@
|
|
|
2042
2193
|
tmp$ret$2 = tmp$ret$1;
|
|
2043
2194
|
return tmp$ret$2;
|
|
2044
2195
|
};
|
|
2045
|
-
$
|
|
2046
|
-
var tmp0_desc = this.
|
|
2196
|
+
$serializer_4.prototype.s1i = function (decoder) {
|
|
2197
|
+
var tmp0_desc = this.n2p_1;
|
|
2047
2198
|
var tmp1_flag = true;
|
|
2048
2199
|
var tmp2_index = 0;
|
|
2049
2200
|
var tmp3_bitMask0 = 0;
|
|
@@ -2084,49 +2235,49 @@
|
|
|
2084
2235
|
tmp7_input.z1l(tmp0_desc);
|
|
2085
2236
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2086
2237
|
};
|
|
2087
|
-
$
|
|
2088
|
-
var tmp0_desc = this.
|
|
2238
|
+
$serializer_4.prototype.o2p = function (encoder, value) {
|
|
2239
|
+
var tmp0_desc = this.n2p_1;
|
|
2089
2240
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2090
|
-
tmp1_output.m1n(tmp0_desc, 0, value.
|
|
2091
|
-
tmp1_output.m1n(tmp0_desc, 1, value.
|
|
2092
|
-
tmp1_output.m1n(tmp0_desc, 2, value.
|
|
2241
|
+
tmp1_output.m1n(tmp0_desc, 0, value.g2p_1);
|
|
2242
|
+
tmp1_output.m1n(tmp0_desc, 1, value.h2p_1);
|
|
2243
|
+
tmp1_output.m1n(tmp0_desc, 2, value.i2p_1);
|
|
2093
2244
|
tmp1_output.z1l(tmp0_desc);
|
|
2094
2245
|
};
|
|
2095
|
-
$
|
|
2096
|
-
return this.
|
|
2246
|
+
$serializer_4.prototype.r1i = function (encoder, value) {
|
|
2247
|
+
return this.o2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2097
2248
|
};
|
|
2098
|
-
$
|
|
2099
|
-
var $
|
|
2100
|
-
function $
|
|
2101
|
-
if ($
|
|
2102
|
-
new $
|
|
2103
|
-
return $
|
|
2249
|
+
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2250
|
+
var $serializer_instance_4;
|
|
2251
|
+
function $serializer_getInstance_4() {
|
|
2252
|
+
if ($serializer_instance_4 == null)
|
|
2253
|
+
new $serializer_4();
|
|
2254
|
+
return $serializer_instance_4;
|
|
2104
2255
|
}
|
|
2105
2256
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, $this) {
|
|
2106
2257
|
if (!(7 === (7 & seen1))) {
|
|
2107
|
-
throwMissingFieldException(seen1, 7, $
|
|
2258
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().n2p_1);
|
|
2108
2259
|
}
|
|
2109
|
-
$this.
|
|
2110
|
-
$this.
|
|
2111
|
-
$this.
|
|
2260
|
+
$this.g2p_1 = playerId;
|
|
2261
|
+
$this.h2p_1 = name;
|
|
2262
|
+
$this.i2p_1 = avatarUrl;
|
|
2112
2263
|
return $this;
|
|
2113
2264
|
}
|
|
2114
2265
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, serializationConstructorMarker) {
|
|
2115
2266
|
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2116
2267
|
}
|
|
2117
2268
|
function GameUserInfoDto(playerId, name, avatarUrl) {
|
|
2118
|
-
|
|
2119
|
-
this.
|
|
2120
|
-
this.
|
|
2121
|
-
this.
|
|
2269
|
+
Companion_getInstance_10();
|
|
2270
|
+
this.g2p_1 = playerId;
|
|
2271
|
+
this.h2p_1 = name;
|
|
2272
|
+
this.i2p_1 = avatarUrl;
|
|
2122
2273
|
}
|
|
2123
2274
|
GameUserInfoDto.prototype.toString = function () {
|
|
2124
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2275
|
+
return 'GameUserInfoDto(playerId=' + this.g2p_1 + ', name=' + this.h2p_1 + ', avatarUrl=' + this.i2p_1 + ')';
|
|
2125
2276
|
};
|
|
2126
2277
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2127
|
-
var result = getStringHashCode(this.
|
|
2128
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2129
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2278
|
+
var result = getStringHashCode(this.g2p_1);
|
|
2279
|
+
result = imul(result, 31) + getStringHashCode(this.h2p_1) | 0;
|
|
2280
|
+
result = imul(result, 31) + getStringHashCode(this.i2p_1) | 0;
|
|
2130
2281
|
return result;
|
|
2131
2282
|
};
|
|
2132
2283
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2135,41 +2286,41 @@
|
|
|
2135
2286
|
if (!(other instanceof GameUserInfoDto))
|
|
2136
2287
|
return false;
|
|
2137
2288
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2138
|
-
if (!(this.
|
|
2289
|
+
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2139
2290
|
return false;
|
|
2140
|
-
if (!(this.
|
|
2291
|
+
if (!(this.h2p_1 === tmp0_other_with_cast.h2p_1))
|
|
2141
2292
|
return false;
|
|
2142
|
-
if (!(this.
|
|
2293
|
+
if (!(this.i2p_1 === tmp0_other_with_cast.i2p_1))
|
|
2143
2294
|
return false;
|
|
2144
2295
|
return true;
|
|
2145
2296
|
};
|
|
2146
|
-
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $
|
|
2147
|
-
function
|
|
2148
|
-
|
|
2297
|
+
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $serializer_getInstance_4});
|
|
2298
|
+
function Companion_11() {
|
|
2299
|
+
Companion_instance_11 = this;
|
|
2149
2300
|
}
|
|
2150
|
-
|
|
2151
|
-
var
|
|
2152
|
-
function
|
|
2153
|
-
if (
|
|
2154
|
-
new
|
|
2155
|
-
return
|
|
2301
|
+
Companion_11.$metadata$ = objectMeta('Companion');
|
|
2302
|
+
var Companion_instance_11;
|
|
2303
|
+
function Companion_getInstance_11() {
|
|
2304
|
+
if (Companion_instance_11 == null)
|
|
2305
|
+
new Companion_11();
|
|
2306
|
+
return Companion_instance_11;
|
|
2156
2307
|
}
|
|
2157
|
-
function $
|
|
2158
|
-
$
|
|
2308
|
+
function $serializer_5() {
|
|
2309
|
+
$serializer_instance_5 = this;
|
|
2159
2310
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 4);
|
|
2160
2311
|
tmp0_serialDesc.d1t('startFromTime', false);
|
|
2161
2312
|
tmp0_serialDesc.d1t('state', false);
|
|
2162
2313
|
tmp0_serialDesc.d1t('ready', false);
|
|
2163
2314
|
tmp0_serialDesc.d1t('tag', true);
|
|
2164
|
-
this.
|
|
2315
|
+
this.p2p_1 = tmp0_serialDesc;
|
|
2165
2316
|
}
|
|
2166
|
-
$
|
|
2167
|
-
return this.
|
|
2317
|
+
$serializer_5.prototype.q1i = function () {
|
|
2318
|
+
return this.p2p_1;
|
|
2168
2319
|
};
|
|
2169
|
-
$
|
|
2320
|
+
$serializer_5.prototype.s1t = function () {
|
|
2170
2321
|
var tmp$ret$2;
|
|
2171
2322
|
// Inline function 'kotlin.arrayOf' call
|
|
2172
|
-
var tmp0_arrayOf = [LongSerializer_getInstance(),
|
|
2323
|
+
var tmp0_arrayOf = [LongSerializer_getInstance(), Companion_getInstance_7().l25(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2173
2324
|
var tmp$ret$1;
|
|
2174
2325
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2175
2326
|
var tmp$ret$0;
|
|
@@ -2179,8 +2330,8 @@
|
|
|
2179
2330
|
tmp$ret$2 = tmp$ret$1;
|
|
2180
2331
|
return tmp$ret$2;
|
|
2181
2332
|
};
|
|
2182
|
-
$
|
|
2183
|
-
var tmp0_desc = this.
|
|
2333
|
+
$serializer_5.prototype.s1i = function (decoder) {
|
|
2334
|
+
var tmp0_desc = this.p2p_1;
|
|
2184
2335
|
var tmp1_flag = true;
|
|
2185
2336
|
var tmp2_index = 0;
|
|
2186
2337
|
var tmp3_bitMask0 = 0;
|
|
@@ -2192,7 +2343,7 @@
|
|
|
2192
2343
|
if (tmp8_input.n1m()) {
|
|
2193
2344
|
tmp4_local0 = tmp8_input.e1m(tmp0_desc, 0);
|
|
2194
2345
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2195
|
-
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1,
|
|
2346
|
+
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1, Companion_getInstance_7().l25(), tmp5_local1);
|
|
2196
2347
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2197
2348
|
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2198
2349
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
@@ -2210,7 +2361,7 @@
|
|
|
2210
2361
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2211
2362
|
break;
|
|
2212
2363
|
case 1:
|
|
2213
|
-
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1,
|
|
2364
|
+
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1, Companion_getInstance_7().l25(), tmp5_local1);
|
|
2214
2365
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2215
2366
|
break;
|
|
2216
2367
|
case 2:
|
|
@@ -2228,58 +2379,58 @@
|
|
|
2228
2379
|
tmp8_input.z1l(tmp0_desc);
|
|
2229
2380
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2230
2381
|
};
|
|
2231
|
-
$
|
|
2232
|
-
var tmp0_desc = this.
|
|
2382
|
+
$serializer_5.prototype.q2p = function (encoder, value) {
|
|
2383
|
+
var tmp0_desc = this.p2p_1;
|
|
2233
2384
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2234
|
-
tmp1_output.i1n(tmp0_desc, 0, value.
|
|
2235
|
-
tmp1_output.o1n(tmp0_desc, 1,
|
|
2236
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2237
|
-
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.
|
|
2238
|
-
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2385
|
+
tmp1_output.i1n(tmp0_desc, 0, value.j2p_1);
|
|
2386
|
+
tmp1_output.o1n(tmp0_desc, 1, Companion_getInstance_7().l25(), value.k2p_1);
|
|
2387
|
+
tmp1_output.e1n(tmp0_desc, 2, value.l2p_1);
|
|
2388
|
+
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.m2p_1 == null)) {
|
|
2389
|
+
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.m2p_1);
|
|
2239
2390
|
}
|
|
2240
2391
|
tmp1_output.z1l(tmp0_desc);
|
|
2241
2392
|
};
|
|
2242
|
-
$
|
|
2243
|
-
return this.
|
|
2393
|
+
$serializer_5.prototype.r1i = function (encoder, value) {
|
|
2394
|
+
return this.q2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2244
2395
|
};
|
|
2245
|
-
$
|
|
2246
|
-
var $
|
|
2247
|
-
function $
|
|
2248
|
-
if ($
|
|
2249
|
-
new $
|
|
2250
|
-
return $
|
|
2396
|
+
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2397
|
+
var $serializer_instance_5;
|
|
2398
|
+
function $serializer_getInstance_5() {
|
|
2399
|
+
if ($serializer_instance_5 == null)
|
|
2400
|
+
new $serializer_5();
|
|
2401
|
+
return $serializer_instance_5;
|
|
2251
2402
|
}
|
|
2252
2403
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2253
2404
|
if (!(7 === (7 & seen1))) {
|
|
2254
|
-
throwMissingFieldException(seen1, 7, $
|
|
2405
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().p2p_1);
|
|
2255
2406
|
}
|
|
2256
|
-
$this.
|
|
2257
|
-
$this.
|
|
2258
|
-
$this.
|
|
2407
|
+
$this.j2p_1 = startFromTime;
|
|
2408
|
+
$this.k2p_1 = state;
|
|
2409
|
+
$this.l2p_1 = ready;
|
|
2259
2410
|
if (0 === (seen1 & 8))
|
|
2260
|
-
$this.
|
|
2411
|
+
$this.m2p_1 = null;
|
|
2261
2412
|
else
|
|
2262
|
-
$this.
|
|
2413
|
+
$this.m2p_1 = tag;
|
|
2263
2414
|
return $this;
|
|
2264
2415
|
}
|
|
2265
2416
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
2266
2417
|
return PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, Object.create(PlayerStateDto.prototype));
|
|
2267
2418
|
}
|
|
2268
2419
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2269
|
-
|
|
2270
|
-
this.
|
|
2271
|
-
this.
|
|
2272
|
-
this.
|
|
2273
|
-
this.
|
|
2420
|
+
Companion_getInstance_11();
|
|
2421
|
+
this.j2p_1 = startFromTime;
|
|
2422
|
+
this.k2p_1 = state;
|
|
2423
|
+
this.l2p_1 = ready;
|
|
2424
|
+
this.m2p_1 = tag;
|
|
2274
2425
|
}
|
|
2275
2426
|
PlayerStateDto.prototype.toString = function () {
|
|
2276
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2427
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.j2p_1) + ', state=' + this.k2p_1 + ', ready=' + this.l2p_1 + ', tag=' + this.m2p_1 + ')';
|
|
2277
2428
|
};
|
|
2278
2429
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2279
|
-
var result = this.
|
|
2280
|
-
result = imul(result, 31) + this.
|
|
2281
|
-
result = imul(result, 31) + (this.
|
|
2282
|
-
result = imul(result, 31) + (this.
|
|
2430
|
+
var result = this.j2p_1.hashCode();
|
|
2431
|
+
result = imul(result, 31) + this.k2p_1.hashCode() | 0;
|
|
2432
|
+
result = imul(result, 31) + (this.l2p_1 | 0) | 0;
|
|
2433
|
+
result = imul(result, 31) + (this.m2p_1 == null ? 0 : getStringHashCode(this.m2p_1)) | 0;
|
|
2283
2434
|
return result;
|
|
2284
2435
|
};
|
|
2285
2436
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2288,29 +2439,29 @@
|
|
|
2288
2439
|
if (!(other instanceof PlayerStateDto))
|
|
2289
2440
|
return false;
|
|
2290
2441
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2291
|
-
if (!this.
|
|
2442
|
+
if (!this.j2p_1.equals(tmp0_other_with_cast.j2p_1))
|
|
2292
2443
|
return false;
|
|
2293
|
-
if (!this.
|
|
2444
|
+
if (!this.k2p_1.equals(tmp0_other_with_cast.k2p_1))
|
|
2294
2445
|
return false;
|
|
2295
|
-
if (!(this.
|
|
2446
|
+
if (!(this.l2p_1 === tmp0_other_with_cast.l2p_1))
|
|
2296
2447
|
return false;
|
|
2297
|
-
if (!(this.
|
|
2448
|
+
if (!(this.m2p_1 == tmp0_other_with_cast.m2p_1))
|
|
2298
2449
|
return false;
|
|
2299
2450
|
return true;
|
|
2300
2451
|
};
|
|
2301
|
-
PlayerStateDto.$metadata$ = classMeta('PlayerStateDto', undefined, undefined, {0: $
|
|
2302
|
-
function
|
|
2303
|
-
|
|
2452
|
+
PlayerStateDto.$metadata$ = classMeta('PlayerStateDto', undefined, undefined, {0: $serializer_getInstance_5});
|
|
2453
|
+
function Companion_12() {
|
|
2454
|
+
Companion_instance_12 = this;
|
|
2304
2455
|
}
|
|
2305
|
-
|
|
2306
|
-
var
|
|
2307
|
-
function
|
|
2308
|
-
if (
|
|
2309
|
-
new
|
|
2310
|
-
return
|
|
2456
|
+
Companion_12.$metadata$ = objectMeta('Companion');
|
|
2457
|
+
var Companion_instance_12;
|
|
2458
|
+
function Companion_getInstance_12() {
|
|
2459
|
+
if (Companion_instance_12 == null)
|
|
2460
|
+
new Companion_12();
|
|
2461
|
+
return Companion_instance_12;
|
|
2311
2462
|
}
|
|
2312
|
-
function $
|
|
2313
|
-
$
|
|
2463
|
+
function $serializer_6() {
|
|
2464
|
+
$serializer_instance_6 = this;
|
|
2314
2465
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 16);
|
|
2315
2466
|
tmp0_serialDesc.d1t('needToPutHigherTrump', false);
|
|
2316
2467
|
tmp0_serialDesc.d1t('distributePoints', false);
|
|
@@ -2328,12 +2479,12 @@
|
|
|
2328
2479
|
tmp0_serialDesc.d1t('checkTrumpCombination', false);
|
|
2329
2480
|
tmp0_serialDesc.d1t('checkOnlyTrumpDebertz', false);
|
|
2330
2481
|
tmp0_serialDesc.d1t('tenCardsInHand', false);
|
|
2331
|
-
this.
|
|
2482
|
+
this.r2p_1 = tmp0_serialDesc;
|
|
2332
2483
|
}
|
|
2333
|
-
$
|
|
2334
|
-
return this.
|
|
2484
|
+
$serializer_6.prototype.q1i = function () {
|
|
2485
|
+
return this.r2p_1;
|
|
2335
2486
|
};
|
|
2336
|
-
$
|
|
2487
|
+
$serializer_6.prototype.s1t = function () {
|
|
2337
2488
|
var tmp$ret$2;
|
|
2338
2489
|
// Inline function 'kotlin.arrayOf' call
|
|
2339
2490
|
var tmp0_arrayOf = [BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance()];
|
|
@@ -2346,8 +2497,8 @@
|
|
|
2346
2497
|
tmp$ret$2 = tmp$ret$1;
|
|
2347
2498
|
return tmp$ret$2;
|
|
2348
2499
|
};
|
|
2349
|
-
$
|
|
2350
|
-
var tmp0_desc = this.
|
|
2500
|
+
$serializer_6.prototype.s1i = function (decoder) {
|
|
2501
|
+
var tmp0_desc = this.r2p_1;
|
|
2351
2502
|
var tmp1_flag = true;
|
|
2352
2503
|
var tmp2_index = 0;
|
|
2353
2504
|
var tmp3_bitMask0 = 0;
|
|
@@ -2479,101 +2630,101 @@
|
|
|
2479
2630
|
tmp20_input.z1l(tmp0_desc);
|
|
2480
2631
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, null);
|
|
2481
2632
|
};
|
|
2482
|
-
$
|
|
2483
|
-
var tmp0_desc = this.
|
|
2633
|
+
$serializer_6.prototype.s2p = function (encoder, value) {
|
|
2634
|
+
var tmp0_desc = this.r2p_1;
|
|
2484
2635
|
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2485
|
-
tmp1_output.e1n(tmp0_desc, 0, value.
|
|
2486
|
-
tmp1_output.e1n(tmp0_desc, 1, value.
|
|
2487
|
-
tmp1_output.e1n(tmp0_desc, 2, value.
|
|
2488
|
-
tmp1_output.e1n(tmp0_desc, 3, value.
|
|
2489
|
-
tmp1_output.e1n(tmp0_desc, 4, value.
|
|
2490
|
-
tmp1_output.e1n(tmp0_desc, 5, value.
|
|
2491
|
-
tmp1_output.e1n(tmp0_desc, 6, value.
|
|
2492
|
-
tmp1_output.e1n(tmp0_desc, 7, value.
|
|
2493
|
-
tmp1_output.e1n(tmp0_desc, 8, value.
|
|
2494
|
-
tmp1_output.e1n(tmp0_desc, 9, value.
|
|
2495
|
-
tmp1_output.e1n(tmp0_desc, 10, value.
|
|
2496
|
-
tmp1_output.h1n(tmp0_desc, 11, value.
|
|
2497
|
-
tmp1_output.e1n(tmp0_desc, 12, value.
|
|
2498
|
-
tmp1_output.e1n(tmp0_desc, 13, value.
|
|
2499
|
-
tmp1_output.e1n(tmp0_desc, 14, value.
|
|
2500
|
-
tmp1_output.e1n(tmp0_desc, 15, value.
|
|
2636
|
+
tmp1_output.e1n(tmp0_desc, 0, value.q2o_1);
|
|
2637
|
+
tmp1_output.e1n(tmp0_desc, 1, value.r2o_1);
|
|
2638
|
+
tmp1_output.e1n(tmp0_desc, 2, value.s2o_1);
|
|
2639
|
+
tmp1_output.e1n(tmp0_desc, 3, value.t2o_1);
|
|
2640
|
+
tmp1_output.e1n(tmp0_desc, 4, value.u2o_1);
|
|
2641
|
+
tmp1_output.e1n(tmp0_desc, 5, value.v2o_1);
|
|
2642
|
+
tmp1_output.e1n(tmp0_desc, 6, value.w2o_1);
|
|
2643
|
+
tmp1_output.e1n(tmp0_desc, 7, value.x2o_1);
|
|
2644
|
+
tmp1_output.e1n(tmp0_desc, 8, value.y2o_1);
|
|
2645
|
+
tmp1_output.e1n(tmp0_desc, 9, value.z2o_1);
|
|
2646
|
+
tmp1_output.e1n(tmp0_desc, 10, value.a2p_1);
|
|
2647
|
+
tmp1_output.h1n(tmp0_desc, 11, value.b2p_1);
|
|
2648
|
+
tmp1_output.e1n(tmp0_desc, 12, value.c2p_1);
|
|
2649
|
+
tmp1_output.e1n(tmp0_desc, 13, value.d2p_1);
|
|
2650
|
+
tmp1_output.e1n(tmp0_desc, 14, value.e2p_1);
|
|
2651
|
+
tmp1_output.e1n(tmp0_desc, 15, value.f2p_1);
|
|
2501
2652
|
tmp1_output.z1l(tmp0_desc);
|
|
2502
2653
|
};
|
|
2503
|
-
$
|
|
2504
|
-
return this.
|
|
2654
|
+
$serializer_6.prototype.r1i = function (encoder, value) {
|
|
2655
|
+
return this.s2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2505
2656
|
};
|
|
2506
|
-
$
|
|
2507
|
-
var $
|
|
2508
|
-
function $
|
|
2509
|
-
if ($
|
|
2510
|
-
new $
|
|
2511
|
-
return $
|
|
2657
|
+
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2658
|
+
var $serializer_instance_6;
|
|
2659
|
+
function $serializer_getInstance_6() {
|
|
2660
|
+
if ($serializer_instance_6 == null)
|
|
2661
|
+
new $serializer_6();
|
|
2662
|
+
return $serializer_instance_6;
|
|
2512
2663
|
}
|
|
2513
2664
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2514
2665
|
if (!(65535 === (65535 & seen1))) {
|
|
2515
|
-
throwMissingFieldException(seen1, 65535, $
|
|
2666
|
+
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().r2p_1);
|
|
2516
2667
|
}
|
|
2517
|
-
$this.
|
|
2518
|
-
$this.
|
|
2519
|
-
$this.
|
|
2520
|
-
$this.
|
|
2521
|
-
$this.
|
|
2522
|
-
$this.
|
|
2523
|
-
$this.
|
|
2524
|
-
$this.
|
|
2525
|
-
$this.
|
|
2526
|
-
$this.
|
|
2527
|
-
$this.
|
|
2528
|
-
$this.
|
|
2529
|
-
$this.
|
|
2530
|
-
$this.
|
|
2531
|
-
$this.
|
|
2532
|
-
$this.
|
|
2668
|
+
$this.q2o_1 = needToPutHigherTrump;
|
|
2669
|
+
$this.r2o_1 = distributePoints;
|
|
2670
|
+
$this.s2o_1 = protectBella;
|
|
2671
|
+
$this.t2o_1 = enableFourSevensCombination;
|
|
2672
|
+
$this.u2o_1 = enableTrumpSevenCombination;
|
|
2673
|
+
$this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2674
|
+
$this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2675
|
+
$this.x2o_1 = winnerShuffleCards;
|
|
2676
|
+
$this.y2o_1 = playWithoutLiabilities;
|
|
2677
|
+
$this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2678
|
+
$this.a2p_1 = enableFineIfNoBribes;
|
|
2679
|
+
$this.b2p_1 = fineIfNoBribes;
|
|
2680
|
+
$this.c2p_1 = enableFineAfterThirdByte;
|
|
2681
|
+
$this.d2p_1 = checkTrumpCombination;
|
|
2682
|
+
$this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2683
|
+
$this.f2p_1 = tenCardsInHand;
|
|
2533
2684
|
return $this;
|
|
2534
2685
|
}
|
|
2535
2686
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
2536
2687
|
return RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, Object.create(RulesDto.prototype));
|
|
2537
2688
|
}
|
|
2538
2689
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2539
|
-
|
|
2540
|
-
this.
|
|
2541
|
-
this.
|
|
2542
|
-
this.
|
|
2543
|
-
this.
|
|
2544
|
-
this.
|
|
2545
|
-
this.
|
|
2546
|
-
this.
|
|
2547
|
-
this.
|
|
2548
|
-
this.
|
|
2549
|
-
this.
|
|
2550
|
-
this.
|
|
2551
|
-
this.
|
|
2552
|
-
this.
|
|
2553
|
-
this.
|
|
2554
|
-
this.
|
|
2555
|
-
this.
|
|
2690
|
+
Companion_getInstance_12();
|
|
2691
|
+
this.q2o_1 = needToPutHigherTrump;
|
|
2692
|
+
this.r2o_1 = distributePoints;
|
|
2693
|
+
this.s2o_1 = protectBella;
|
|
2694
|
+
this.t2o_1 = enableFourSevensCombination;
|
|
2695
|
+
this.u2o_1 = enableTrumpSevenCombination;
|
|
2696
|
+
this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2697
|
+
this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2698
|
+
this.x2o_1 = winnerShuffleCards;
|
|
2699
|
+
this.y2o_1 = playWithoutLiabilities;
|
|
2700
|
+
this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2701
|
+
this.a2p_1 = enableFineIfNoBribes;
|
|
2702
|
+
this.b2p_1 = fineIfNoBribes;
|
|
2703
|
+
this.c2p_1 = enableFineAfterThirdByte;
|
|
2704
|
+
this.d2p_1 = checkTrumpCombination;
|
|
2705
|
+
this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2706
|
+
this.f2p_1 = tenCardsInHand;
|
|
2556
2707
|
}
|
|
2557
2708
|
RulesDto.prototype.toString = function () {
|
|
2558
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2709
|
+
return 'RulesDto(needToPutHigherTrump=' + this.q2o_1 + ', distributePoints=' + this.r2o_1 + ', protectBella=' + this.s2o_1 + ', enableFourSevensCombination=' + this.t2o_1 + ', enableTrumpSevenCombination=' + this.u2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.v2o_1 + ', playerWhoChooseSuitGoFirst=' + this.w2o_1 + ', winnerShuffleCards=' + this.x2o_1 + ', playWithoutLiabilities=' + this.y2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.z2o_1 + ', enableFineIfNoBribes=' + this.a2p_1 + ', fineIfNoBribes=' + this.b2p_1 + ', enableFineAfterThirdByte=' + this.c2p_1 + ', checkTrumpCombination=' + this.d2p_1 + ', checkOnlyTrumpDebertz=' + this.e2p_1 + ', tenCardsInHand=' + this.f2p_1 + ')';
|
|
2559
2710
|
};
|
|
2560
2711
|
RulesDto.prototype.hashCode = function () {
|
|
2561
|
-
var result = this.
|
|
2562
|
-
result = imul(result, 31) + (this.n2o_1 | 0) | 0;
|
|
2563
|
-
result = imul(result, 31) + (this.o2o_1 | 0) | 0;
|
|
2564
|
-
result = imul(result, 31) + (this.p2o_1 | 0) | 0;
|
|
2565
|
-
result = imul(result, 31) + (this.q2o_1 | 0) | 0;
|
|
2712
|
+
var result = this.q2o_1 | 0;
|
|
2566
2713
|
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2567
2714
|
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2568
2715
|
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
2569
2716
|
result = imul(result, 31) + (this.u2o_1 | 0) | 0;
|
|
2570
2717
|
result = imul(result, 31) + (this.v2o_1 | 0) | 0;
|
|
2571
2718
|
result = imul(result, 31) + (this.w2o_1 | 0) | 0;
|
|
2572
|
-
result = imul(result, 31) + this.x2o_1 | 0;
|
|
2719
|
+
result = imul(result, 31) + (this.x2o_1 | 0) | 0;
|
|
2573
2720
|
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2574
2721
|
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2575
2722
|
result = imul(result, 31) + (this.a2p_1 | 0) | 0;
|
|
2576
|
-
result = imul(result, 31) +
|
|
2723
|
+
result = imul(result, 31) + this.b2p_1 | 0;
|
|
2724
|
+
result = imul(result, 31) + (this.c2p_1 | 0) | 0;
|
|
2725
|
+
result = imul(result, 31) + (this.d2p_1 | 0) | 0;
|
|
2726
|
+
result = imul(result, 31) + (this.e2p_1 | 0) | 0;
|
|
2727
|
+
result = imul(result, 31) + (this.f2p_1 | 0) | 0;
|
|
2577
2728
|
return result;
|
|
2578
2729
|
};
|
|
2579
2730
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2582,14 +2733,6 @@
|
|
|
2582
2733
|
if (!(other instanceof RulesDto))
|
|
2583
2734
|
return false;
|
|
2584
2735
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2585
|
-
if (!(this.m2o_1 === tmp0_other_with_cast.m2o_1))
|
|
2586
|
-
return false;
|
|
2587
|
-
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
2588
|
-
return false;
|
|
2589
|
-
if (!(this.o2o_1 === tmp0_other_with_cast.o2o_1))
|
|
2590
|
-
return false;
|
|
2591
|
-
if (!(this.p2o_1 === tmp0_other_with_cast.p2o_1))
|
|
2592
|
-
return false;
|
|
2593
2736
|
if (!(this.q2o_1 === tmp0_other_with_cast.q2o_1))
|
|
2594
2737
|
return false;
|
|
2595
2738
|
if (!(this.r2o_1 === tmp0_other_with_cast.r2o_1))
|
|
@@ -2614,19 +2757,27 @@
|
|
|
2614
2757
|
return false;
|
|
2615
2758
|
if (!(this.b2p_1 === tmp0_other_with_cast.b2p_1))
|
|
2616
2759
|
return false;
|
|
2760
|
+
if (!(this.c2p_1 === tmp0_other_with_cast.c2p_1))
|
|
2761
|
+
return false;
|
|
2762
|
+
if (!(this.d2p_1 === tmp0_other_with_cast.d2p_1))
|
|
2763
|
+
return false;
|
|
2764
|
+
if (!(this.e2p_1 === tmp0_other_with_cast.e2p_1))
|
|
2765
|
+
return false;
|
|
2766
|
+
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2767
|
+
return false;
|
|
2617
2768
|
return true;
|
|
2618
2769
|
};
|
|
2619
|
-
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $
|
|
2770
|
+
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_6});
|
|
2620
2771
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2621
|
-
this.
|
|
2622
|
-
this.
|
|
2772
|
+
this.t2p_1 = trump;
|
|
2773
|
+
this.u2p_1 = firstCardSuit;
|
|
2623
2774
|
}
|
|
2624
|
-
CardGrowthComparator.prototype.
|
|
2625
|
-
return getGrowth(b, this.
|
|
2775
|
+
CardGrowthComparator.prototype.v2p = function (a, b) {
|
|
2776
|
+
return getGrowth(b, this.t2p_1, this.u2p_1) - getGrowth(a, this.t2p_1, this.u2p_1) | 0;
|
|
2626
2777
|
};
|
|
2627
2778
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2628
2779
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2629
|
-
return this.
|
|
2780
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2630
2781
|
};
|
|
2631
2782
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
2632
2783
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -2650,12 +2801,12 @@
|
|
|
2650
2801
|
function CardIndexComparator() {
|
|
2651
2802
|
CardIndexComparator_instance = this;
|
|
2652
2803
|
}
|
|
2653
|
-
CardIndexComparator.prototype.
|
|
2654
|
-
return a.
|
|
2804
|
+
CardIndexComparator.prototype.v2p = function (a, b) {
|
|
2805
|
+
return a.n2o_1 - b.n2o_1 | 0;
|
|
2655
2806
|
};
|
|
2656
2807
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2657
2808
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2658
|
-
return this.
|
|
2809
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2659
2810
|
};
|
|
2660
2811
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
2661
2812
|
var CardIndexComparator_instance;
|
|
@@ -2685,12 +2836,12 @@
|
|
|
2685
2836
|
function CardNumberComparator() {
|
|
2686
2837
|
CardNumberComparator_instance = this;
|
|
2687
2838
|
}
|
|
2688
|
-
CardNumberComparator.prototype.
|
|
2689
|
-
return b.
|
|
2839
|
+
CardNumberComparator.prototype.v2p = function (a, b) {
|
|
2840
|
+
return b.w2p() - a.w2p() | 0;
|
|
2690
2841
|
};
|
|
2691
2842
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2692
2843
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2693
|
-
return this.
|
|
2844
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2694
2845
|
};
|
|
2695
2846
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
2696
2847
|
var CardNumberComparator_instance;
|
|
@@ -2700,7 +2851,7 @@
|
|
|
2700
2851
|
return CardNumberComparator_instance;
|
|
2701
2852
|
}
|
|
2702
2853
|
function getPoint(_this__u8e3s4, trump) {
|
|
2703
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
2854
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.x2p());
|
|
2704
2855
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
2705
2856
|
var tmp0 = tmp0_subject.e5_1;
|
|
2706
2857
|
var tmp;
|
|
@@ -2734,8 +2885,8 @@
|
|
|
2734
2885
|
}
|
|
2735
2886
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2736
2887
|
var minPoint = 0;
|
|
2737
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2738
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2888
|
+
var isTrump = trump.equals(_this__u8e3s4.x2p());
|
|
2889
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.x2p());
|
|
2739
2890
|
var minGrowth;
|
|
2740
2891
|
var maxGrowth;
|
|
2741
2892
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
@@ -2833,7 +2984,7 @@
|
|
|
2833
2984
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2834
2985
|
var tmp$ret$0;
|
|
2835
2986
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
2836
|
-
tmp$ret$0 = p1.
|
|
2987
|
+
tmp$ret$0 = p1.x2p().equals(element);
|
|
2837
2988
|
if (tmp$ret$0) {
|
|
2838
2989
|
tmp$ret$1 = true;
|
|
2839
2990
|
break $l$block;
|
|
@@ -2878,37 +3029,37 @@
|
|
|
2878
3029
|
CardName_TWO_instance = new CardName('TWO', 12);
|
|
2879
3030
|
CardName_STUB_instance = new CardName('STUB', 13);
|
|
2880
3031
|
}
|
|
2881
|
-
function
|
|
2882
|
-
|
|
3032
|
+
function Companion_13() {
|
|
3033
|
+
Companion_instance_13 = this;
|
|
2883
3034
|
}
|
|
2884
|
-
|
|
2885
|
-
return new GameCard(getNumber(
|
|
3035
|
+
Companion_13.prototype.y2p = function (suit, cardNumber) {
|
|
3036
|
+
return new GameCard(getNumber(Companion_getInstance_14(), cardNumber, suit));
|
|
2886
3037
|
};
|
|
2887
|
-
|
|
3038
|
+
Companion_13.prototype.z2p = function (position, playerIndex, reverse) {
|
|
2888
3039
|
var tmp;
|
|
2889
3040
|
if (reverse) {
|
|
2890
|
-
|
|
2891
|
-
|
|
3041
|
+
Companion_getInstance_14();
|
|
3042
|
+
Companion_getInstance_14();
|
|
2892
3043
|
tmp = (53 + imul(playerIndex, 13 + 1 | 0) | 0) - position | 0;
|
|
2893
3044
|
} else {
|
|
2894
|
-
|
|
2895
|
-
|
|
3045
|
+
Companion_getInstance_14();
|
|
3046
|
+
Companion_getInstance_14();
|
|
2896
3047
|
tmp = (53 + imul(playerIndex, 13) | 0) + position | 0;
|
|
2897
3048
|
}
|
|
2898
3049
|
var index = tmp;
|
|
2899
3050
|
return new GameCard(index);
|
|
2900
3051
|
};
|
|
2901
|
-
|
|
3052
|
+
Companion_13.prototype.a2q = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
2902
3053
|
if (!(($mask0 & 4) === 0))
|
|
2903
3054
|
reverse = false;
|
|
2904
|
-
return this.
|
|
3055
|
+
return this.z2p(position, playerIndex, reverse);
|
|
2905
3056
|
};
|
|
2906
|
-
|
|
2907
|
-
var
|
|
2908
|
-
function
|
|
2909
|
-
if (
|
|
2910
|
-
new
|
|
2911
|
-
return
|
|
3057
|
+
Companion_13.$metadata$ = objectMeta('Companion');
|
|
3058
|
+
var Companion_instance_13;
|
|
3059
|
+
function Companion_getInstance_13() {
|
|
3060
|
+
if (Companion_instance_13 == null)
|
|
3061
|
+
new Companion_13();
|
|
3062
|
+
return Companion_instance_13;
|
|
2912
3063
|
}
|
|
2913
3064
|
function getNumber($this, cardNumber, suit) {
|
|
2914
3065
|
return imul(getIndex(suit), 13) + getCardNumber($this, cardNumber) | 0;
|
|
@@ -3011,27 +3162,27 @@
|
|
|
3011
3162
|
return tmp;
|
|
3012
3163
|
}
|
|
3013
3164
|
function _get_isShirt__vd98rp($this) {
|
|
3014
|
-
var tmp = $this.
|
|
3015
|
-
|
|
3165
|
+
var tmp = $this.n2o_1;
|
|
3166
|
+
Companion_getInstance_14();
|
|
3016
3167
|
return tmp === 52;
|
|
3017
3168
|
}
|
|
3018
3169
|
function CardName(name, ordinal) {
|
|
3019
3170
|
Enum.call(this, name, ordinal);
|
|
3020
3171
|
}
|
|
3021
3172
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3022
|
-
function
|
|
3023
|
-
|
|
3024
|
-
this.
|
|
3025
|
-
this.
|
|
3026
|
-
this.
|
|
3027
|
-
this.
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
|
-
var
|
|
3031
|
-
function
|
|
3032
|
-
if (
|
|
3033
|
-
new
|
|
3034
|
-
return
|
|
3173
|
+
function Companion_14() {
|
|
3174
|
+
Companion_instance_14 = this;
|
|
3175
|
+
this.b2q_1 = -1;
|
|
3176
|
+
this.c2q_1 = 13;
|
|
3177
|
+
this.d2q_1 = 52;
|
|
3178
|
+
this.e2q_1 = 53;
|
|
3179
|
+
}
|
|
3180
|
+
Companion_14.$metadata$ = objectMeta('Companion');
|
|
3181
|
+
var Companion_instance_14;
|
|
3182
|
+
function Companion_getInstance_14() {
|
|
3183
|
+
if (Companion_instance_14 == null)
|
|
3184
|
+
new Companion_14();
|
|
3185
|
+
return Companion_instance_14;
|
|
3035
3186
|
}
|
|
3036
3187
|
function CardName_ACE_getInstance() {
|
|
3037
3188
|
CardName_initEntries();
|
|
@@ -3090,73 +3241,73 @@
|
|
|
3090
3241
|
return CardName_STUB_instance;
|
|
3091
3242
|
}
|
|
3092
3243
|
function GameCard(index) {
|
|
3093
|
-
|
|
3094
|
-
this.
|
|
3244
|
+
Companion_getInstance_14();
|
|
3245
|
+
this.n2o_1 = index;
|
|
3095
3246
|
}
|
|
3096
3247
|
GameCard.prototype.b3 = function () {
|
|
3097
|
-
return this.
|
|
3248
|
+
return this.n2o_1;
|
|
3098
3249
|
};
|
|
3099
|
-
GameCard.prototype.
|
|
3250
|
+
GameCard.prototype.x2p = function () {
|
|
3100
3251
|
var tmp;
|
|
3101
|
-
|
|
3252
|
+
Companion_getInstance_14();
|
|
3102
3253
|
var containsUpper = 13;
|
|
3103
|
-
var containsArg = this.
|
|
3254
|
+
var containsArg = this.n2o_1;
|
|
3104
3255
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3105
3256
|
tmp = Suit_DIAMOND_getInstance();
|
|
3106
3257
|
} else {
|
|
3107
|
-
var tmp_0 = this.
|
|
3108
|
-
|
|
3258
|
+
var tmp_0 = this.n2o_1;
|
|
3259
|
+
Companion_getInstance_14();
|
|
3109
3260
|
if (tmp_0 <= imul(13, 2)) {
|
|
3110
3261
|
tmp = Suit_SPADE_getInstance();
|
|
3111
3262
|
} else {
|
|
3112
|
-
var tmp_1 = this.
|
|
3113
|
-
|
|
3263
|
+
var tmp_1 = this.n2o_1;
|
|
3264
|
+
Companion_getInstance_14();
|
|
3114
3265
|
if (tmp_1 <= imul(13, 3)) {
|
|
3115
3266
|
tmp = Suit_HEART_getInstance();
|
|
3116
3267
|
} else {
|
|
3117
|
-
var tmp_2 = this.
|
|
3118
|
-
|
|
3268
|
+
var tmp_2 = this.n2o_1;
|
|
3269
|
+
Companion_getInstance_14();
|
|
3119
3270
|
if (tmp_2 <= imul(13, 4)) {
|
|
3120
3271
|
tmp = Suit_CLUB_getInstance();
|
|
3121
3272
|
} else {
|
|
3122
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3273
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.n2o_1);
|
|
3123
3274
|
}
|
|
3124
3275
|
}
|
|
3125
3276
|
}
|
|
3126
3277
|
}
|
|
3127
3278
|
return tmp;
|
|
3128
3279
|
};
|
|
3129
|
-
GameCard.prototype.
|
|
3280
|
+
GameCard.prototype.w2p = function () {
|
|
3130
3281
|
var tmp;
|
|
3131
|
-
if (this.
|
|
3132
|
-
|
|
3282
|
+
if (this.f2q()) {
|
|
3283
|
+
Companion_getInstance_14();
|
|
3133
3284
|
tmp = -1;
|
|
3134
3285
|
} else {
|
|
3135
|
-
var tmp_0 = this.
|
|
3136
|
-
|
|
3137
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3286
|
+
var tmp_0 = this.n2o_1;
|
|
3287
|
+
Companion_getInstance_14();
|
|
3288
|
+
tmp = tmp_0 - imul(13, getIndex(this.x2p())) | 0;
|
|
3138
3289
|
}
|
|
3139
3290
|
return tmp;
|
|
3140
3291
|
};
|
|
3141
3292
|
GameCard.prototype.f5 = function () {
|
|
3142
|
-
return this.
|
|
3293
|
+
return this.f2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_14(), this.w2p());
|
|
3143
3294
|
};
|
|
3144
|
-
GameCard.prototype.
|
|
3145
|
-
var tmp = this.
|
|
3146
|
-
|
|
3295
|
+
GameCard.prototype.f2q = function () {
|
|
3296
|
+
var tmp = this.n2o_1;
|
|
3297
|
+
Companion_getInstance_14();
|
|
3147
3298
|
return tmp >= 53;
|
|
3148
3299
|
};
|
|
3149
3300
|
GameCard.prototype.toString = function () {
|
|
3150
3301
|
if (_get_isShirt__vd98rp(this)) {
|
|
3151
3302
|
return 'GameCard(SHIRT)';
|
|
3152
3303
|
}
|
|
3153
|
-
if (this.
|
|
3154
|
-
return 'GameCard(STUB, ' + this.
|
|
3304
|
+
if (this.f2q()) {
|
|
3305
|
+
return 'GameCard(STUB, ' + this.n2o_1 + ')';
|
|
3155
3306
|
}
|
|
3156
|
-
return 'GameCard(' + this.f5() + ', suit: ' + this.
|
|
3307
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.x2p() + ', index=' + this.n2o_1 + ')';
|
|
3157
3308
|
};
|
|
3158
3309
|
GameCard.prototype.hashCode = function () {
|
|
3159
|
-
return this.
|
|
3310
|
+
return this.n2o_1;
|
|
3160
3311
|
};
|
|
3161
3312
|
GameCard.prototype.equals = function (other) {
|
|
3162
3313
|
if (this === other)
|
|
@@ -3164,24 +3315,24 @@
|
|
|
3164
3315
|
if (!(other instanceof GameCard))
|
|
3165
3316
|
return false;
|
|
3166
3317
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3167
|
-
if (!(this.
|
|
3318
|
+
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
3168
3319
|
return false;
|
|
3169
3320
|
return true;
|
|
3170
3321
|
};
|
|
3171
3322
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
3172
3323
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3173
|
-
this.
|
|
3174
|
-
this.
|
|
3324
|
+
this.o2o_1 = playerId;
|
|
3325
|
+
this.p2o_1 = gameCard;
|
|
3175
3326
|
}
|
|
3176
|
-
GameCardWIthPlayerId.prototype.
|
|
3177
|
-
return this.
|
|
3327
|
+
GameCardWIthPlayerId.prototype.g2l = function () {
|
|
3328
|
+
return this.o2o_1;
|
|
3178
3329
|
};
|
|
3179
3330
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3180
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3331
|
+
return 'GameCardWIthPlayerId(playerId=' + this.o2o_1 + ', gameCard=' + this.p2o_1 + ')';
|
|
3181
3332
|
};
|
|
3182
3333
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3183
|
-
var result = getStringHashCode(this.
|
|
3184
|
-
result = imul(result, 31) + this.
|
|
3334
|
+
var result = getStringHashCode(this.o2o_1);
|
|
3335
|
+
result = imul(result, 31) + this.p2o_1.hashCode() | 0;
|
|
3185
3336
|
return result;
|
|
3186
3337
|
};
|
|
3187
3338
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3190,9 +3341,9 @@
|
|
|
3190
3341
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3191
3342
|
return false;
|
|
3192
3343
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3193
|
-
if (!(this.
|
|
3344
|
+
if (!(this.o2o_1 === tmp0_other_with_cast.o2o_1))
|
|
3194
3345
|
return false;
|
|
3195
|
-
if (!this.
|
|
3346
|
+
if (!this.p2o_1.equals(tmp0_other_with_cast.p2o_1))
|
|
3196
3347
|
return false;
|
|
3197
3348
|
return true;
|
|
3198
3349
|
};
|
|
@@ -3200,22 +3351,22 @@
|
|
|
3200
3351
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
3201
3352
|
configurable: true,
|
|
3202
3353
|
get: function () {
|
|
3203
|
-
return this.
|
|
3354
|
+
return this.g2l();
|
|
3204
3355
|
}
|
|
3205
3356
|
});
|
|
3206
3357
|
function ProcessingCard(gameCard, payload) {
|
|
3207
|
-
this.
|
|
3208
|
-
this.
|
|
3358
|
+
this.g2q_1 = gameCard;
|
|
3359
|
+
this.h2q_1 = payload;
|
|
3209
3360
|
}
|
|
3210
|
-
ProcessingCard.prototype.
|
|
3211
|
-
return this.
|
|
3361
|
+
ProcessingCard.prototype.i2q = function () {
|
|
3362
|
+
return this.g2q_1;
|
|
3212
3363
|
};
|
|
3213
3364
|
ProcessingCard.prototype.toString = function () {
|
|
3214
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3365
|
+
return 'ProcessingCard(gameCard=' + this.g2q_1 + ', payload=' + this.h2q_1 + ')';
|
|
3215
3366
|
};
|
|
3216
3367
|
ProcessingCard.prototype.hashCode = function () {
|
|
3217
|
-
var result = this.
|
|
3218
|
-
result = imul(result, 31) + (this.
|
|
3368
|
+
var result = this.g2q_1.hashCode();
|
|
3369
|
+
result = imul(result, 31) + (this.h2q_1 == null ? 0 : hashCode(this.h2q_1)) | 0;
|
|
3219
3370
|
return result;
|
|
3220
3371
|
};
|
|
3221
3372
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3224,17 +3375,40 @@
|
|
|
3224
3375
|
if (!(other instanceof ProcessingCard))
|
|
3225
3376
|
return false;
|
|
3226
3377
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3227
|
-
if (!this.
|
|
3378
|
+
if (!this.g2q_1.equals(tmp0_other_with_cast.g2q_1))
|
|
3228
3379
|
return false;
|
|
3229
|
-
if (!equals(this.
|
|
3380
|
+
if (!equals(this.h2q_1, tmp0_other_with_cast.h2q_1))
|
|
3230
3381
|
return false;
|
|
3231
3382
|
return true;
|
|
3232
3383
|
};
|
|
3233
3384
|
ProcessingCard.$metadata$ = classMeta('ProcessingCard');
|
|
3385
|
+
function Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b() {
|
|
3386
|
+
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_2());
|
|
3387
|
+
}
|
|
3234
3388
|
var Suit_DIAMOND_instance;
|
|
3235
3389
|
var Suit_SPADE_instance;
|
|
3236
3390
|
var Suit_HEART_instance;
|
|
3237
3391
|
var Suit_CLUB_instance;
|
|
3392
|
+
function Companion_15() {
|
|
3393
|
+
Companion_instance_15 = this;
|
|
3394
|
+
var tmp = this;
|
|
3395
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3396
|
+
tmp.j2q_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3397
|
+
}
|
|
3398
|
+
Companion_15.prototype.l25 = function () {
|
|
3399
|
+
return this.j2q_1.c2();
|
|
3400
|
+
};
|
|
3401
|
+
Companion_15.prototype.b1u = function (typeParamsSerializers) {
|
|
3402
|
+
return this.l25();
|
|
3403
|
+
};
|
|
3404
|
+
Companion_15.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
3405
|
+
var Companion_instance_15;
|
|
3406
|
+
function Companion_getInstance_15() {
|
|
3407
|
+
Suit_initEntries();
|
|
3408
|
+
if (Companion_instance_15 == null)
|
|
3409
|
+
new Companion_15();
|
|
3410
|
+
return Companion_instance_15;
|
|
3411
|
+
}
|
|
3238
3412
|
function values_2() {
|
|
3239
3413
|
return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
|
|
3240
3414
|
}
|
|
@@ -3247,11 +3421,12 @@
|
|
|
3247
3421
|
Suit_SPADE_instance = new Suit('SPADE', 1);
|
|
3248
3422
|
Suit_HEART_instance = new Suit('HEART', 2);
|
|
3249
3423
|
Suit_CLUB_instance = new Suit('CLUB', 3);
|
|
3424
|
+
Companion_getInstance_15();
|
|
3250
3425
|
}
|
|
3251
3426
|
function Suit(name, ordinal) {
|
|
3252
3427
|
Enum.call(this, name, ordinal);
|
|
3253
3428
|
}
|
|
3254
|
-
Suit.$metadata$ = classMeta('Suit', undefined, undefined,
|
|
3429
|
+
Suit.$metadata$ = classMeta('Suit', undefined, undefined, {0: Companion_getInstance_15}, undefined, Enum.prototype);
|
|
3255
3430
|
function Suit_DIAMOND_getInstance() {
|
|
3256
3431
|
Suit_initEntries();
|
|
3257
3432
|
return Suit_DIAMOND_instance;
|
|
@@ -3292,42 +3467,97 @@
|
|
|
3292
3467
|
return tmp;
|
|
3293
3468
|
}
|
|
3294
3469
|
function _no_name_provided__qut3iv($logger) {
|
|
3295
|
-
this.
|
|
3470
|
+
this.l2q_1 = $logger;
|
|
3296
3471
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3297
3472
|
}
|
|
3298
3473
|
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3299
|
-
return this.
|
|
3474
|
+
return this.l2q_1.m2q('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
3300
3475
|
};
|
|
3301
3476
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
3302
3477
|
function AsyncProviderImpl(logger) {
|
|
3303
3478
|
var tmp = this;
|
|
3304
|
-
tmp.
|
|
3479
|
+
tmp.n2q_1 = Job$default(null, 1, null);
|
|
3305
3480
|
var tmp_0 = this;
|
|
3306
3481
|
var tmp$ret$0;
|
|
3307
3482
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3308
3483
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3309
|
-
tmp_0.
|
|
3310
|
-
this.
|
|
3311
|
-
this.
|
|
3484
|
+
tmp_0.o2q_1 = tmp$ret$0;
|
|
3485
|
+
this.p2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.n2q_1));
|
|
3486
|
+
this.q2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.n2q_1));
|
|
3312
3487
|
}
|
|
3313
|
-
AsyncProviderImpl.prototype.
|
|
3314
|
-
return this.
|
|
3488
|
+
AsyncProviderImpl.prototype.r2q = function () {
|
|
3489
|
+
return this.o2q_1;
|
|
3315
3490
|
};
|
|
3316
|
-
AsyncProviderImpl.prototype.
|
|
3317
|
-
return launch$default(this.
|
|
3491
|
+
AsyncProviderImpl.prototype.s2q = function (context, block) {
|
|
3492
|
+
return launch$default(this.p2q_1, context, null, block, 2, null);
|
|
3318
3493
|
};
|
|
3319
|
-
AsyncProviderImpl.prototype.
|
|
3320
|
-
return launch$default(this.
|
|
3494
|
+
AsyncProviderImpl.prototype.u2q = function (context, block) {
|
|
3495
|
+
return launch$default(this.q2q_1, context, null, block, 2, null);
|
|
3321
3496
|
};
|
|
3322
3497
|
AsyncProviderImpl.prototype.rn = function () {
|
|
3323
|
-
if (!this.
|
|
3324
|
-
this.
|
|
3498
|
+
if (!this.n2q_1.xp()) {
|
|
3499
|
+
this.n2q_1.om(null, 1, null);
|
|
3325
3500
|
}
|
|
3326
3501
|
};
|
|
3327
3502
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
3328
3503
|
function AsyncProvider() {
|
|
3329
3504
|
}
|
|
3330
3505
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3506
|
+
function JobsProviderImpl(logger) {
|
|
3507
|
+
this.w2q_1 = logger;
|
|
3508
|
+
var tmp = this;
|
|
3509
|
+
var tmp$ret$0;
|
|
3510
|
+
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3511
|
+
tmp$ret$0 = HashMap_init_$Create$();
|
|
3512
|
+
tmp.x2q_1 = tmp$ret$0;
|
|
3513
|
+
}
|
|
3514
|
+
JobsProviderImpl.prototype.y2q = function (timerTag, job) {
|
|
3515
|
+
if (this.a2r(timerTag)) {
|
|
3516
|
+
this.w2q_1.z2q(null, 'Timer already exists for that tag: ' + timerTag, 1, null);
|
|
3517
|
+
}
|
|
3518
|
+
// Inline function 'kotlin.collections.set' call
|
|
3519
|
+
var tmp0_set = this.x2q_1;
|
|
3520
|
+
tmp0_set.o(timerTag, job);
|
|
3521
|
+
};
|
|
3522
|
+
JobsProviderImpl.prototype.a2r = function (timerTag) {
|
|
3523
|
+
return this.x2q_1.j2(timerTag);
|
|
3524
|
+
};
|
|
3525
|
+
JobsProviderImpl.prototype.b2r = function (timerTag) {
|
|
3526
|
+
if (!this.a2r(timerTag)) {
|
|
3527
|
+
this.w2q_1.z2q(null, "Can't find timer for that tag: " + timerTag, 1, null);
|
|
3528
|
+
}
|
|
3529
|
+
this.x2q_1.od(timerTag);
|
|
3530
|
+
};
|
|
3531
|
+
JobsProviderImpl.prototype.c2r = function (timers) {
|
|
3532
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
3533
|
+
var tmp0_iterator = timers.f();
|
|
3534
|
+
while (tmp0_iterator.g()) {
|
|
3535
|
+
var element = tmp0_iterator.h();
|
|
3536
|
+
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3537
|
+
var timer = this.x2q_1.n(element);
|
|
3538
|
+
var tmp0_safe_receiver = timer;
|
|
3539
|
+
if (tmp0_safe_receiver == null)
|
|
3540
|
+
null;
|
|
3541
|
+
else {
|
|
3542
|
+
tmp0_safe_receiver.om(null, 1, null);
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
this.x2q_1.m2().mc(toSet(timers));
|
|
3546
|
+
};
|
|
3547
|
+
JobsProviderImpl.prototype.d2r = function (timerTag) {
|
|
3548
|
+
var timer = this.x2q_1.n(timerTag);
|
|
3549
|
+
this.x2q_1.od(timerTag);
|
|
3550
|
+
var tmp0_safe_receiver = timer;
|
|
3551
|
+
if (tmp0_safe_receiver == null)
|
|
3552
|
+
null;
|
|
3553
|
+
else {
|
|
3554
|
+
tmp0_safe_receiver.om(null, 1, null);
|
|
3555
|
+
}
|
|
3556
|
+
};
|
|
3557
|
+
JobsProviderImpl.$metadata$ = classMeta('JobsProviderImpl', [JobsProvider]);
|
|
3558
|
+
function JobsProvider() {
|
|
3559
|
+
}
|
|
3560
|
+
JobsProvider.$metadata$ = interfaceMeta('JobsProvider');
|
|
3331
3561
|
function get_coreModule() {
|
|
3332
3562
|
init_properties_DI_kt_pa5hx();
|
|
3333
3563
|
return coreModule;
|
|
@@ -3335,8 +3565,72 @@
|
|
|
3335
3565
|
var coreModule;
|
|
3336
3566
|
function coreModule$lambda($this$$receiver) {
|
|
3337
3567
|
init_properties_DI_kt_pa5hx();
|
|
3568
|
+
var tmp$ret$1;
|
|
3569
|
+
// Inline function 'org.kodein.di.bind' call
|
|
3570
|
+
var tmp$ret$0;
|
|
3571
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3572
|
+
var tmp = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3573
|
+
tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
3574
|
+
tmp$ret$1 = $this$$receiver.a2f(tmp$ret$0, null, null);
|
|
3575
|
+
var tmp_0 = tmp$ret$1;
|
|
3576
|
+
var tmp$ret$3;
|
|
3577
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
3578
|
+
var tmp0_singleton = coreModule$lambda$lambda;
|
|
3579
|
+
var tmp_1 = $this$$receiver.m2e();
|
|
3580
|
+
var tmp_2 = $this$$receiver.n2e();
|
|
3581
|
+
var tmp_3 = $this$$receiver.o2e();
|
|
3582
|
+
var tmp$ret$2;
|
|
3583
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3584
|
+
var tmp_4 = typeToken(createKType(getKClass(AsyncProviderImpl), arrayOf([]), false));
|
|
3585
|
+
tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3586
|
+
tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, tmp0_singleton);
|
|
3587
|
+
tmp_0.p2e(tmp$ret$3);
|
|
3588
|
+
var tmp$ret$5;
|
|
3589
|
+
// Inline function 'org.kodein.di.bind' call
|
|
3590
|
+
var tmp$ret$4;
|
|
3591
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3592
|
+
var tmp_5 = typeToken(createKType(getKClass(JobsProvider), arrayOf([]), false));
|
|
3593
|
+
tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
3594
|
+
tmp$ret$5 = $this$$receiver.a2f(tmp$ret$4, null, null);
|
|
3595
|
+
var tmp_6 = tmp$ret$5;
|
|
3596
|
+
var tmp$ret$7;
|
|
3597
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
3598
|
+
var tmp1_singleton = coreModule$lambda$lambda_0;
|
|
3599
|
+
var tmp_7 = $this$$receiver.m2e();
|
|
3600
|
+
var tmp_8 = $this$$receiver.n2e();
|
|
3601
|
+
var tmp_9 = $this$$receiver.o2e();
|
|
3602
|
+
var tmp$ret$6;
|
|
3603
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3604
|
+
var tmp_10 = typeToken(createKType(getKClass(JobsProviderImpl), arrayOf([]), false));
|
|
3605
|
+
tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3606
|
+
tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, tmp1_singleton);
|
|
3607
|
+
tmp_6.p2e(tmp$ret$7);
|
|
3338
3608
|
return Unit_getInstance();
|
|
3339
3609
|
}
|
|
3610
|
+
function coreModule$lambda$lambda($this$singleton) {
|
|
3611
|
+
init_properties_DI_kt_pa5hx();
|
|
3612
|
+
var tmp$ret$1;
|
|
3613
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3614
|
+
var tmp = $this$singleton.c2g();
|
|
3615
|
+
var tmp$ret$0;
|
|
3616
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3617
|
+
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
3618
|
+
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3619
|
+
tmp$ret$1 = tmp.k2g(tmp$ret$0, null);
|
|
3620
|
+
return new AsyncProviderImpl(tmp$ret$1);
|
|
3621
|
+
}
|
|
3622
|
+
function coreModule$lambda$lambda_0($this$singleton) {
|
|
3623
|
+
init_properties_DI_kt_pa5hx();
|
|
3624
|
+
var tmp$ret$1;
|
|
3625
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3626
|
+
var tmp = $this$singleton.c2g();
|
|
3627
|
+
var tmp$ret$0;
|
|
3628
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3629
|
+
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
3630
|
+
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3631
|
+
tmp$ret$1 = tmp.k2g(tmp$ret$0, null);
|
|
3632
|
+
return new JobsProviderImpl(tmp$ret$1);
|
|
3633
|
+
}
|
|
3340
3634
|
var properties_initialized_DI_kt_3whi87;
|
|
3341
3635
|
function init_properties_DI_kt_pa5hx() {
|
|
3342
3636
|
if (properties_initialized_DI_kt_3whi87) {
|
|
@@ -3383,7 +3677,7 @@
|
|
|
3383
3677
|
return createStore(reducer, preloadedState, enhancer);
|
|
3384
3678
|
}
|
|
3385
3679
|
function createStore$dispatch(currentState, currentReducer, action) {
|
|
3386
|
-
currentState.x11(currentReducer._v.
|
|
3680
|
+
currentState.x11(currentReducer._v.e2r(currentState.c2(), action));
|
|
3387
3681
|
}
|
|
3388
3682
|
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
3389
3683
|
currentReducer._v = nextReducer;
|
|
@@ -3409,47 +3703,47 @@
|
|
|
3409
3703
|
return l;
|
|
3410
3704
|
}
|
|
3411
3705
|
function createStore$2($currentState, $currentReducer) {
|
|
3412
|
-
this.
|
|
3706
|
+
this.h2r_1 = $currentState;
|
|
3413
3707
|
var tmp = this;
|
|
3414
|
-
tmp.
|
|
3708
|
+
tmp.f2r_1 = createStore$dispatch$ref($currentState, $currentReducer);
|
|
3415
3709
|
var tmp_0 = this;
|
|
3416
|
-
tmp_0.
|
|
3710
|
+
tmp_0.g2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState);
|
|
3417
3711
|
}
|
|
3418
|
-
createStore$2.prototype.
|
|
3419
|
-
this.
|
|
3712
|
+
createStore$2.prototype.i2r = function (_set____db54di) {
|
|
3713
|
+
this.f2r_1 = _set____db54di;
|
|
3420
3714
|
};
|
|
3421
|
-
createStore$2.prototype.
|
|
3422
|
-
return this.
|
|
3715
|
+
createStore$2.prototype.j2r = function () {
|
|
3716
|
+
return this.f2r_1;
|
|
3423
3717
|
};
|
|
3424
|
-
createStore$2.prototype.
|
|
3425
|
-
return this.
|
|
3718
|
+
createStore$2.prototype.k2r = function () {
|
|
3719
|
+
return this.h2r_1;
|
|
3426
3720
|
};
|
|
3427
|
-
createStore$2.prototype.
|
|
3428
|
-
return this.
|
|
3721
|
+
createStore$2.prototype.l2r = function () {
|
|
3722
|
+
return this.g2r_1;
|
|
3429
3723
|
};
|
|
3430
3724
|
createStore$2.prototype.am = function () {
|
|
3431
|
-
return this.
|
|
3725
|
+
return this.h2r_1.c2();
|
|
3432
3726
|
};
|
|
3433
3727
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
3434
3728
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3435
3729
|
configurable: true,
|
|
3436
3730
|
get: function () {
|
|
3437
|
-
return this.
|
|
3731
|
+
return this.j2r();
|
|
3438
3732
|
},
|
|
3439
3733
|
set: function (value) {
|
|
3440
|
-
this.
|
|
3734
|
+
this.i2r(value);
|
|
3441
3735
|
}
|
|
3442
3736
|
});
|
|
3443
3737
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3444
3738
|
configurable: true,
|
|
3445
3739
|
get: function () {
|
|
3446
|
-
return this.
|
|
3740
|
+
return this.k2r();
|
|
3447
3741
|
}
|
|
3448
3742
|
});
|
|
3449
3743
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3450
3744
|
configurable: true,
|
|
3451
3745
|
get: function () {
|
|
3452
|
-
return this.
|
|
3746
|
+
return this.l2r();
|
|
3453
3747
|
}
|
|
3454
3748
|
});
|
|
3455
3749
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3484,10 +3778,10 @@
|
|
|
3484
3778
|
return new middleware$1(dispatch);
|
|
3485
3779
|
}
|
|
3486
3780
|
function middleware$1($dispatch) {
|
|
3487
|
-
this.
|
|
3781
|
+
this.p2r_1 = $dispatch;
|
|
3488
3782
|
}
|
|
3489
|
-
middleware$1.prototype.
|
|
3490
|
-
this.
|
|
3783
|
+
middleware$1.prototype.o2r = function (store, next, action) {
|
|
3784
|
+
this.p2r_1(store, next, action);
|
|
3491
3785
|
};
|
|
3492
3786
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
3493
3787
|
function Reducer() {
|
|
@@ -3497,9 +3791,9 @@
|
|
|
3497
3791
|
return new combineReducers$1(reducers);
|
|
3498
3792
|
}
|
|
3499
3793
|
function combineReducers$1($reducers) {
|
|
3500
|
-
this.
|
|
3794
|
+
this.q2r_1 = $reducers;
|
|
3501
3795
|
}
|
|
3502
|
-
combineReducers$1.prototype.
|
|
3796
|
+
combineReducers$1.prototype.r2r = function (state, action) {
|
|
3503
3797
|
var tmp$ret$4;
|
|
3504
3798
|
// Inline function 'kotlin.collections.fold' call
|
|
3505
3799
|
var tmp$ret$2;
|
|
@@ -3507,7 +3801,7 @@
|
|
|
3507
3801
|
var tmp$ret$1;
|
|
3508
3802
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3509
3803
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3510
|
-
var indexedObject = this.
|
|
3804
|
+
var indexedObject = this.q2r_1;
|
|
3511
3805
|
var inductionVariable = 0;
|
|
3512
3806
|
var last = indexedObject.length;
|
|
3513
3807
|
while (inductionVariable < last) {
|
|
@@ -3515,7 +3809,7 @@
|
|
|
3515
3809
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3516
3810
|
var tmp$ret$0;
|
|
3517
3811
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3518
|
-
tmp$ret$0 = element.
|
|
3812
|
+
tmp$ret$0 = element.n2r(action);
|
|
3519
3813
|
if (tmp$ret$0) {
|
|
3520
3814
|
tmp0_filterTo.a(element);
|
|
3521
3815
|
}
|
|
@@ -3530,14 +3824,14 @@
|
|
|
3530
3824
|
var tmp$ret$3;
|
|
3531
3825
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3532
3826
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3533
|
-
tmp$ret$3 = element_0.
|
|
3827
|
+
tmp$ret$3 = element_0.e2r(tmp1__anonymous__uwfjfc, action);
|
|
3534
3828
|
accumulator = tmp$ret$3;
|
|
3535
3829
|
}
|
|
3536
3830
|
tmp$ret$4 = accumulator;
|
|
3537
3831
|
return tmp$ret$4;
|
|
3538
3832
|
};
|
|
3539
|
-
combineReducers$1.prototype.
|
|
3540
|
-
return this.
|
|
3833
|
+
combineReducers$1.prototype.e2r = function (state, action) {
|
|
3834
|
+
return this.r2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3541
3835
|
};
|
|
3542
3836
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
3543
3837
|
function Store() {
|
|
@@ -3551,7 +3845,7 @@
|
|
|
3551
3845
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3552
3846
|
configurable: true,
|
|
3553
3847
|
get: function () {
|
|
3554
|
-
return this.
|
|
3848
|
+
return this.m2r();
|
|
3555
3849
|
}
|
|
3556
3850
|
});
|
|
3557
3851
|
var INIT_instance;
|
|
@@ -3568,7 +3862,7 @@
|
|
|
3568
3862
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3569
3863
|
configurable: true,
|
|
3570
3864
|
get: function () {
|
|
3571
|
-
return this.
|
|
3865
|
+
return this.m2r();
|
|
3572
3866
|
}
|
|
3573
3867
|
});
|
|
3574
3868
|
var REPLACE_instance;
|
|
@@ -3583,7 +3877,7 @@
|
|
|
3583
3877
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3584
3878
|
configurable: true,
|
|
3585
3879
|
get: function () {
|
|
3586
|
-
return this.
|
|
3880
|
+
return this.m2r();
|
|
3587
3881
|
}
|
|
3588
3882
|
});
|
|
3589
3883
|
function BufferedAction() {
|
|
@@ -3595,6 +3889,177 @@
|
|
|
3595
3889
|
function ExpectantAction() {
|
|
3596
3890
|
}
|
|
3597
3891
|
ExpectantAction.$metadata$ = interfaceMeta('ExpectantAction', [Action]);
|
|
3892
|
+
function TimerTag() {
|
|
3893
|
+
}
|
|
3894
|
+
TimerTag.$metadata$ = interfaceMeta('TimerTag');
|
|
3895
|
+
function StopTimerAction(timerTag) {
|
|
3896
|
+
TimerAction.call(this);
|
|
3897
|
+
this.t2r_1 = timerTag;
|
|
3898
|
+
}
|
|
3899
|
+
StopTimerAction.prototype.u2r = function () {
|
|
3900
|
+
return this.t2r_1;
|
|
3901
|
+
};
|
|
3902
|
+
StopTimerAction.prototype.toString = function () {
|
|
3903
|
+
return 'StopTimerAction(timerTag=' + this.t2r_1 + ')';
|
|
3904
|
+
};
|
|
3905
|
+
StopTimerAction.prototype.hashCode = function () {
|
|
3906
|
+
return hashCode(this.t2r_1);
|
|
3907
|
+
};
|
|
3908
|
+
StopTimerAction.prototype.equals = function (other) {
|
|
3909
|
+
if (this === other)
|
|
3910
|
+
return true;
|
|
3911
|
+
if (!(other instanceof StopTimerAction))
|
|
3912
|
+
return false;
|
|
3913
|
+
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3914
|
+
if (!equals(this.t2r_1, tmp0_other_with_cast.t2r_1))
|
|
3915
|
+
return false;
|
|
3916
|
+
return true;
|
|
3917
|
+
};
|
|
3918
|
+
StopTimerAction.$metadata$ = classMeta('StopTimerAction', [NotValidateIfGameFinishing, NotValidateIfGameFinished], undefined, undefined, undefined, TimerAction.prototype);
|
|
3919
|
+
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3920
|
+
configurable: true,
|
|
3921
|
+
get: function () {
|
|
3922
|
+
return this.m2r();
|
|
3923
|
+
}
|
|
3924
|
+
});
|
|
3925
|
+
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
3926
|
+
if (!(($mask0 & 4) === 0))
|
|
3927
|
+
initialDelay = new Long(0, 0);
|
|
3928
|
+
if (!(($mask0 & 8) === 0))
|
|
3929
|
+
type = TimerType_DELAY_getInstance();
|
|
3930
|
+
StartTimerAction.call($this, timerTag, delayMillis, initialDelay, type);
|
|
3931
|
+
return $this;
|
|
3932
|
+
}
|
|
3933
|
+
function StartTimerAction_init_$Create$(timerTag, delayMillis, initialDelay, type, $mask0, $marker) {
|
|
3934
|
+
return StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, Object.create(StartTimerAction.prototype));
|
|
3935
|
+
}
|
|
3936
|
+
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
3937
|
+
TimerAction.call(this);
|
|
3938
|
+
this.v2r_1 = timerTag;
|
|
3939
|
+
this.w2r_1 = delayMillis;
|
|
3940
|
+
this.x2r_1 = initialDelay;
|
|
3941
|
+
this.y2r_1 = type;
|
|
3942
|
+
}
|
|
3943
|
+
StartTimerAction.prototype.u2r = function () {
|
|
3944
|
+
return this.v2r_1;
|
|
3945
|
+
};
|
|
3946
|
+
StartTimerAction.prototype.z2r = function () {
|
|
3947
|
+
return this.w2r_1;
|
|
3948
|
+
};
|
|
3949
|
+
StartTimerAction.prototype.a2s = function () {
|
|
3950
|
+
return this.x2r_1;
|
|
3951
|
+
};
|
|
3952
|
+
StartTimerAction.prototype.f7 = function () {
|
|
3953
|
+
return this.y2r_1;
|
|
3954
|
+
};
|
|
3955
|
+
StartTimerAction.prototype.toString = function () {
|
|
3956
|
+
return 'StartTimerAction(timerTag=' + this.v2r_1 + ', delayMillis=' + toString_0(this.w2r_1) + ', initialDelay=' + toString_0(this.x2r_1) + ', type=' + this.y2r_1 + ')';
|
|
3957
|
+
};
|
|
3958
|
+
StartTimerAction.prototype.hashCode = function () {
|
|
3959
|
+
var result = hashCode(this.v2r_1);
|
|
3960
|
+
result = imul(result, 31) + this.w2r_1.hashCode() | 0;
|
|
3961
|
+
result = imul(result, 31) + this.x2r_1.hashCode() | 0;
|
|
3962
|
+
result = imul(result, 31) + this.y2r_1.hashCode() | 0;
|
|
3963
|
+
return result;
|
|
3964
|
+
};
|
|
3965
|
+
StartTimerAction.prototype.equals = function (other) {
|
|
3966
|
+
if (this === other)
|
|
3967
|
+
return true;
|
|
3968
|
+
if (!(other instanceof StartTimerAction))
|
|
3969
|
+
return false;
|
|
3970
|
+
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
3971
|
+
if (!equals(this.v2r_1, tmp0_other_with_cast.v2r_1))
|
|
3972
|
+
return false;
|
|
3973
|
+
if (!this.w2r_1.equals(tmp0_other_with_cast.w2r_1))
|
|
3974
|
+
return false;
|
|
3975
|
+
if (!this.x2r_1.equals(tmp0_other_with_cast.x2r_1))
|
|
3976
|
+
return false;
|
|
3977
|
+
if (!this.y2r_1.equals(tmp0_other_with_cast.y2r_1))
|
|
3978
|
+
return false;
|
|
3979
|
+
return true;
|
|
3980
|
+
};
|
|
3981
|
+
StartTimerAction.$metadata$ = classMeta('StartTimerAction', undefined, undefined, undefined, undefined, TimerAction.prototype);
|
|
3982
|
+
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
3983
|
+
configurable: true,
|
|
3984
|
+
get: function () {
|
|
3985
|
+
return this.m2r();
|
|
3986
|
+
}
|
|
3987
|
+
});
|
|
3988
|
+
var TimerType_DELAY_instance;
|
|
3989
|
+
var TimerType_INTERVAL_instance;
|
|
3990
|
+
var TimerType_entriesInitialized;
|
|
3991
|
+
function TimerType_initEntries() {
|
|
3992
|
+
if (TimerType_entriesInitialized)
|
|
3993
|
+
return Unit_getInstance();
|
|
3994
|
+
TimerType_entriesInitialized = true;
|
|
3995
|
+
TimerType_DELAY_instance = new TimerType('DELAY', 0);
|
|
3996
|
+
TimerType_INTERVAL_instance = new TimerType('INTERVAL', 1);
|
|
3997
|
+
}
|
|
3998
|
+
function TimerType(name, ordinal) {
|
|
3999
|
+
Enum.call(this, name, ordinal);
|
|
4000
|
+
}
|
|
4001
|
+
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4002
|
+
function TimerTickAction(timerTag, type) {
|
|
4003
|
+
TimerAction.call(this);
|
|
4004
|
+
this.b2s_1 = timerTag;
|
|
4005
|
+
this.c2s_1 = type;
|
|
4006
|
+
}
|
|
4007
|
+
TimerTickAction.prototype.u2r = function () {
|
|
4008
|
+
return this.b2s_1;
|
|
4009
|
+
};
|
|
4010
|
+
TimerTickAction.prototype.f7 = function () {
|
|
4011
|
+
return this.c2s_1;
|
|
4012
|
+
};
|
|
4013
|
+
TimerTickAction.prototype.toString = function () {
|
|
4014
|
+
return 'TimerTickAction(timerTag=' + this.b2s_1 + ', type=' + this.c2s_1 + ')';
|
|
4015
|
+
};
|
|
4016
|
+
TimerTickAction.prototype.hashCode = function () {
|
|
4017
|
+
var result = hashCode(this.b2s_1);
|
|
4018
|
+
result = imul(result, 31) + this.c2s_1.hashCode() | 0;
|
|
4019
|
+
return result;
|
|
4020
|
+
};
|
|
4021
|
+
TimerTickAction.prototype.equals = function (other) {
|
|
4022
|
+
if (this === other)
|
|
4023
|
+
return true;
|
|
4024
|
+
if (!(other instanceof TimerTickAction))
|
|
4025
|
+
return false;
|
|
4026
|
+
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4027
|
+
if (!equals(this.b2s_1, tmp0_other_with_cast.b2s_1))
|
|
4028
|
+
return false;
|
|
4029
|
+
if (!this.c2s_1.equals(tmp0_other_with_cast.c2s_1))
|
|
4030
|
+
return false;
|
|
4031
|
+
return true;
|
|
4032
|
+
};
|
|
4033
|
+
TimerTickAction.$metadata$ = classMeta('TimerTickAction', undefined, undefined, undefined, undefined, TimerAction.prototype);
|
|
4034
|
+
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4035
|
+
configurable: true,
|
|
4036
|
+
get: function () {
|
|
4037
|
+
return this.m2r();
|
|
4038
|
+
}
|
|
4039
|
+
});
|
|
4040
|
+
function TimerAction() {
|
|
4041
|
+
}
|
|
4042
|
+
TimerAction.$metadata$ = classMeta('TimerAction', [Action]);
|
|
4043
|
+
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4044
|
+
configurable: true,
|
|
4045
|
+
get: function () {
|
|
4046
|
+
return this.m2r();
|
|
4047
|
+
}
|
|
4048
|
+
});
|
|
4049
|
+
function TimerType_DELAY_getInstance() {
|
|
4050
|
+
TimerType_initEntries();
|
|
4051
|
+
return TimerType_DELAY_instance;
|
|
4052
|
+
}
|
|
4053
|
+
function TimerType_INTERVAL_getInstance() {
|
|
4054
|
+
TimerType_initEntries();
|
|
4055
|
+
return TimerType_INTERVAL_instance;
|
|
4056
|
+
}
|
|
4057
|
+
function NotValidateIfGameFinished() {
|
|
4058
|
+
}
|
|
4059
|
+
NotValidateIfGameFinished.$metadata$ = interfaceMeta('NotValidateIfGameFinished');
|
|
4060
|
+
function NotValidateIfGameFinishing() {
|
|
4061
|
+
}
|
|
4062
|
+
NotValidateIfGameFinishing.$metadata$ = interfaceMeta('NotValidateIfGameFinishing');
|
|
3598
4063
|
function applyCatcher(logger) {
|
|
3599
4064
|
return applyCatcher$lambda(logger);
|
|
3600
4065
|
}
|
|
@@ -3606,7 +4071,7 @@
|
|
|
3606
4071
|
} catch ($p) {
|
|
3607
4072
|
var tmp_0;
|
|
3608
4073
|
if ($p instanceof Exception) {
|
|
3609
|
-
$logger.
|
|
4074
|
+
$logger.m2q('StoreEnhancer', 'StoreEnhancer error: ' + $p, $p);
|
|
3610
4075
|
tmp_0 = Unit_getInstance();
|
|
3611
4076
|
} else {
|
|
3612
4077
|
throw $p;
|
|
@@ -3634,7 +4099,7 @@
|
|
|
3634
4099
|
}
|
|
3635
4100
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
3636
4101
|
return function (action) {
|
|
3637
|
-
$tmp0__anonymous__1nv1x1.
|
|
4102
|
+
$tmp0__anonymous__1nv1x1.o2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
3638
4103
|
return Unit_getInstance();
|
|
3639
4104
|
};
|
|
3640
4105
|
}
|
|
@@ -3653,7 +4118,7 @@
|
|
|
3653
4118
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3654
4119
|
var tmp$ret$0;
|
|
3655
4120
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
3656
|
-
tmp$ret$0 = element.
|
|
4121
|
+
tmp$ret$0 = element.n2r(action);
|
|
3657
4122
|
if (tmp$ret$0) {
|
|
3658
4123
|
tmp0_filterTo.a(element);
|
|
3659
4124
|
}
|
|
@@ -3694,6 +4159,270 @@
|
|
|
3694
4159
|
return applyMiddleware$lambda$lambda(storeCreator, $middlewares);
|
|
3695
4160
|
};
|
|
3696
4161
|
}
|
|
4162
|
+
function timerMiddleware(asyncProvider, jobsProvider) {
|
|
4163
|
+
var tmp$ret$0;
|
|
4164
|
+
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
4165
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
4166
|
+
return tmp$ret$0;
|
|
4167
|
+
}
|
|
4168
|
+
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4169
|
+
this.l2s_1 = $jobsProvider;
|
|
4170
|
+
this.m2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4171
|
+
this.n2s_1 = $store;
|
|
4172
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
4173
|
+
}
|
|
4174
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
4175
|
+
var tmp = this.k16($this$launchStore, $cont);
|
|
4176
|
+
tmp.oj_1 = Unit_getInstance();
|
|
4177
|
+
tmp.pj_1 = null;
|
|
4178
|
+
return tmp.vj();
|
|
4179
|
+
};
|
|
4180
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.wj = function (p1, $cont) {
|
|
4181
|
+
return this.j16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4182
|
+
};
|
|
4183
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.vj = function () {
|
|
4184
|
+
var suspendResult = this.oj_1;
|
|
4185
|
+
$sm: do
|
|
4186
|
+
try {
|
|
4187
|
+
var tmp = this.mj_1;
|
|
4188
|
+
if (tmp === 0) {
|
|
4189
|
+
this.nj_1 = 1;
|
|
4190
|
+
if (this.l2s_1.a2r(this.m2s_1.u2r())) {
|
|
4191
|
+
this.n2s_1.dispatch(new TimerTickAction(this.m2s_1.u2r(), TimerType_DELAY_getInstance()));
|
|
4192
|
+
}
|
|
4193
|
+
return Unit_getInstance();
|
|
4194
|
+
} else if (tmp === 1) {
|
|
4195
|
+
throw this.pj_1;
|
|
4196
|
+
}
|
|
4197
|
+
} catch ($p) {
|
|
4198
|
+
throw $p;
|
|
4199
|
+
}
|
|
4200
|
+
while (true);
|
|
4201
|
+
};
|
|
4202
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
4203
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.l2s_1, this.m2s_1, this.n2s_1, completion);
|
|
4204
|
+
i.o2s_1 = $this$launchStore;
|
|
4205
|
+
return i;
|
|
4206
|
+
};
|
|
4207
|
+
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4208
|
+
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4209
|
+
var i = new timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4210
|
+
var l = function ($this$launchStore, $cont) {
|
|
4211
|
+
return i.j16($this$launchStore, $cont);
|
|
4212
|
+
};
|
|
4213
|
+
l.$arity = 1;
|
|
4214
|
+
return l;
|
|
4215
|
+
}
|
|
4216
|
+
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4217
|
+
this.x2s_1 = $jobsProvider;
|
|
4218
|
+
this.y2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4219
|
+
this.z2s_1 = $store;
|
|
4220
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
4221
|
+
}
|
|
4222
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.j16 = function ($this$launchStore, $cont) {
|
|
4223
|
+
var tmp = this.k16($this$launchStore, $cont);
|
|
4224
|
+
tmp.oj_1 = Unit_getInstance();
|
|
4225
|
+
tmp.pj_1 = null;
|
|
4226
|
+
return tmp.vj();
|
|
4227
|
+
};
|
|
4228
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.wj = function (p1, $cont) {
|
|
4229
|
+
return this.j16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4230
|
+
};
|
|
4231
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.vj = function () {
|
|
4232
|
+
var suspendResult = this.oj_1;
|
|
4233
|
+
$sm: do
|
|
4234
|
+
try {
|
|
4235
|
+
var tmp = this.mj_1;
|
|
4236
|
+
if (tmp === 0) {
|
|
4237
|
+
this.nj_1 = 1;
|
|
4238
|
+
if (this.x2s_1.a2r(this.y2s_1.u2r())) {
|
|
4239
|
+
this.z2s_1.dispatch(new TimerTickAction(this.y2s_1.u2r(), TimerType_INTERVAL_getInstance()));
|
|
4240
|
+
}
|
|
4241
|
+
return Unit_getInstance();
|
|
4242
|
+
} else if (tmp === 1) {
|
|
4243
|
+
throw this.pj_1;
|
|
4244
|
+
}
|
|
4245
|
+
} catch ($p) {
|
|
4246
|
+
throw $p;
|
|
4247
|
+
}
|
|
4248
|
+
while (true);
|
|
4249
|
+
};
|
|
4250
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.k16 = function ($this$launchStore, completion) {
|
|
4251
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.x2s_1, this.y2s_1, this.z2s_1, completion);
|
|
4252
|
+
i.a2t_1 = $this$launchStore;
|
|
4253
|
+
return i;
|
|
4254
|
+
};
|
|
4255
|
+
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4256
|
+
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4257
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4258
|
+
var l = function ($this$launchStore, $cont) {
|
|
4259
|
+
return i.j16($this$launchStore, $cont);
|
|
4260
|
+
};
|
|
4261
|
+
l.$arity = 1;
|
|
4262
|
+
return l;
|
|
4263
|
+
}
|
|
4264
|
+
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4265
|
+
this.j2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4266
|
+
this.k2t_1 = $asyncProvider;
|
|
4267
|
+
this.l2t_1 = $jobsProvider;
|
|
4268
|
+
this.m2t_1 = $store;
|
|
4269
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
4270
|
+
}
|
|
4271
|
+
timerMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
4272
|
+
var tmp = this.k16($this$launchWorker, $cont);
|
|
4273
|
+
tmp.oj_1 = Unit_getInstance();
|
|
4274
|
+
tmp.pj_1 = null;
|
|
4275
|
+
return tmp.vj();
|
|
4276
|
+
};
|
|
4277
|
+
timerMiddleware$o$handle$slambda.prototype.wj = function (p1, $cont) {
|
|
4278
|
+
return this.j16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4279
|
+
};
|
|
4280
|
+
timerMiddleware$o$handle$slambda.prototype.vj = function () {
|
|
4281
|
+
var suspendResult = this.oj_1;
|
|
4282
|
+
$sm: do
|
|
4283
|
+
try {
|
|
4284
|
+
var tmp = this.mj_1;
|
|
4285
|
+
switch (tmp) {
|
|
4286
|
+
case 0:
|
|
4287
|
+
this.nj_1 = 10;
|
|
4288
|
+
if (!this.j2t_1.x2r_1.equals(new Long(0, 0)) ? this.j2t_1.y2r_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4289
|
+
this.mj_1 = 1;
|
|
4290
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4291
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4292
|
+
return suspendResult;
|
|
4293
|
+
}
|
|
4294
|
+
continue $sm;
|
|
4295
|
+
} else {
|
|
4296
|
+
this.mj_1 = 2;
|
|
4297
|
+
continue $sm;
|
|
4298
|
+
}
|
|
4299
|
+
|
|
4300
|
+
break;
|
|
4301
|
+
case 1:
|
|
4302
|
+
this.mj_1 = 2;
|
|
4303
|
+
continue $sm;
|
|
4304
|
+
case 2:
|
|
4305
|
+
this.o2t_1 = this.j2t_1.y2r_1;
|
|
4306
|
+
this.p2t_1 = this.o2t_1.e5_1;
|
|
4307
|
+
if (this.p2t_1 === 0) {
|
|
4308
|
+
this.mj_1 = 8;
|
|
4309
|
+
suspendResult = delay(this.j2t_1.w2r_1, this);
|
|
4310
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4311
|
+
return suspendResult;
|
|
4312
|
+
}
|
|
4313
|
+
continue $sm;
|
|
4314
|
+
} else {
|
|
4315
|
+
if (this.p2t_1 === 1) {
|
|
4316
|
+
if (!this.j2t_1.x2r_1.equals(new Long(0, 0))) {
|
|
4317
|
+
this.mj_1 = 3;
|
|
4318
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4319
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4320
|
+
return suspendResult;
|
|
4321
|
+
}
|
|
4322
|
+
continue $sm;
|
|
4323
|
+
} else {
|
|
4324
|
+
this.mj_1 = 4;
|
|
4325
|
+
continue $sm;
|
|
4326
|
+
}
|
|
4327
|
+
} else {
|
|
4328
|
+
this.mj_1 = 9;
|
|
4329
|
+
continue $sm;
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
|
|
4333
|
+
break;
|
|
4334
|
+
case 3:
|
|
4335
|
+
this.mj_1 = 4;
|
|
4336
|
+
continue $sm;
|
|
4337
|
+
case 4:
|
|
4338
|
+
this.mj_1 = 5;
|
|
4339
|
+
continue $sm;
|
|
4340
|
+
case 5:
|
|
4341
|
+
if (!get_isActive(this.n2t_1)) {
|
|
4342
|
+
this.mj_1 = 7;
|
|
4343
|
+
continue $sm;
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4346
|
+
this.k2t_1.t2q(null, timerMiddleware$o$handle$slambda$slambda_2(this.l2t_1, this.j2t_1, this.m2t_1, null), 1, null);
|
|
4347
|
+
;
|
|
4348
|
+
this.mj_1 = 6;
|
|
4349
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4350
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4351
|
+
return suspendResult;
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
continue $sm;
|
|
4355
|
+
case 6:
|
|
4356
|
+
this.mj_1 = 5;
|
|
4357
|
+
continue $sm;
|
|
4358
|
+
case 7:
|
|
4359
|
+
this.mj_1 = 9;
|
|
4360
|
+
continue $sm;
|
|
4361
|
+
case 8:
|
|
4362
|
+
this.k2t_1.t2q(null, timerMiddleware$o$handle$slambda$slambda_0(this.l2t_1, this.j2t_1, this.m2t_1, null), 1, null);
|
|
4363
|
+
;
|
|
4364
|
+
this.mj_1 = 9;
|
|
4365
|
+
continue $sm;
|
|
4366
|
+
case 9:
|
|
4367
|
+
return Unit_getInstance();
|
|
4368
|
+
case 10:
|
|
4369
|
+
throw this.pj_1;
|
|
4370
|
+
}
|
|
4371
|
+
} catch ($p) {
|
|
4372
|
+
if (this.nj_1 === 10) {
|
|
4373
|
+
throw $p;
|
|
4374
|
+
} else {
|
|
4375
|
+
this.mj_1 = this.nj_1;
|
|
4376
|
+
this.pj_1 = $p;
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
while (true);
|
|
4380
|
+
};
|
|
4381
|
+
timerMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
4382
|
+
var i = new timerMiddleware$o$handle$slambda(this.j2t_1, this.k2t_1, this.l2t_1, this.m2t_1, completion);
|
|
4383
|
+
i.n2t_1 = $this$launchWorker;
|
|
4384
|
+
return i;
|
|
4385
|
+
};
|
|
4386
|
+
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4387
|
+
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4388
|
+
var i = new timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation);
|
|
4389
|
+
var l = function ($this$launchWorker, $cont) {
|
|
4390
|
+
return i.j16($this$launchWorker, $cont);
|
|
4391
|
+
};
|
|
4392
|
+
l.$arity = 1;
|
|
4393
|
+
return l;
|
|
4394
|
+
}
|
|
4395
|
+
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4396
|
+
this.q2t_1 = $asyncProvider;
|
|
4397
|
+
this.r2t_1 = $jobsProvider;
|
|
4398
|
+
}
|
|
4399
|
+
_no_name_provided__qut3iv_0.prototype.n2r = function (action) {
|
|
4400
|
+
return action instanceof TimerAction;
|
|
4401
|
+
};
|
|
4402
|
+
_no_name_provided__qut3iv_0.prototype.s2t = function (store, next, action) {
|
|
4403
|
+
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4404
|
+
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4405
|
+
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4406
|
+
if (tmp0_subject instanceof StartTimerAction) {
|
|
4407
|
+
var job = this.q2t_1.v2q(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.q2t_1, this.r2t_1, store, null), 1, null);
|
|
4408
|
+
this.r2t_1.y2q(tmp0__anonymous__q1qw7t.u2r(), job);
|
|
4409
|
+
} else {
|
|
4410
|
+
if (tmp0_subject instanceof StopTimerAction) {
|
|
4411
|
+
this.r2t_1.d2r(tmp0__anonymous__q1qw7t.u2r());
|
|
4412
|
+
} else {
|
|
4413
|
+
if (tmp0_subject instanceof TimerTickAction) {
|
|
4414
|
+
if (tmp0__anonymous__q1qw7t.c2s_1.equals(TimerType_DELAY_getInstance())) {
|
|
4415
|
+
this.r2t_1.b2r(tmp0__anonymous__q1qw7t.u2r());
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4419
|
+
}
|
|
4420
|
+
next(tmp0__anonymous__q1qw7t);
|
|
4421
|
+
};
|
|
4422
|
+
_no_name_provided__qut3iv_0.prototype.o2r = function (store, next, action) {
|
|
4423
|
+
return this.s2t(store, next, action);
|
|
4424
|
+
};
|
|
4425
|
+
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
3697
4426
|
function enumToString(_this__u8e3s4, mapping) {
|
|
3698
4427
|
var tmp$ret$2;
|
|
3699
4428
|
// Inline function 'kotlin.collections.find' call
|
|
@@ -3875,24 +4604,24 @@
|
|
|
3875
4604
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
3876
4605
|
}
|
|
3877
4606
|
function generateTag($this, tag) {
|
|
3878
|
-
return (!($this.
|
|
4607
|
+
return (!($this.z2t_1 == null) ? !(tag == null) : false) ? '' + $this.z2t_1 + ':' + tag : tag;
|
|
3879
4608
|
}
|
|
3880
4609
|
function Category(name, ordinal, isEnabled) {
|
|
3881
4610
|
Enum.call(this, name, ordinal);
|
|
3882
|
-
this.
|
|
4611
|
+
this.c2u_1 = isEnabled;
|
|
3883
4612
|
}
|
|
3884
4613
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3885
4614
|
function Logger$loggerSource$1() {
|
|
3886
|
-
this.
|
|
4615
|
+
this.d2u_1 = new PlatformLogger();
|
|
3887
4616
|
}
|
|
3888
|
-
Logger$loggerSource$1.prototype.
|
|
3889
|
-
this.
|
|
4617
|
+
Logger$loggerSource$1.prototype.e2u = function (tag, msg) {
|
|
4618
|
+
this.d2u_1.e2u(tag, msg);
|
|
3890
4619
|
};
|
|
3891
|
-
Logger$loggerSource$1.prototype.
|
|
3892
|
-
this.
|
|
4620
|
+
Logger$loggerSource$1.prototype.f2u = function (tag, msg, exception) {
|
|
4621
|
+
this.d2u_1.f2u(tag, msg, exception);
|
|
3893
4622
|
};
|
|
3894
|
-
Logger$loggerSource$1.prototype.
|
|
3895
|
-
this.
|
|
4623
|
+
Logger$loggerSource$1.prototype.g2u = function (tag, msg) {
|
|
4624
|
+
this.d2u_1.g2u(tag, msg);
|
|
3896
4625
|
};
|
|
3897
4626
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
3898
4627
|
function Category_NONE_getInstance() {
|
|
@@ -3902,42 +4631,42 @@
|
|
|
3902
4631
|
function Logger() {
|
|
3903
4632
|
Logger_instance = this;
|
|
3904
4633
|
var tmp = this;
|
|
3905
|
-
tmp.
|
|
3906
|
-
this.
|
|
3907
|
-
this.
|
|
4634
|
+
tmp.x2t_1 = new Logger$loggerSource$1();
|
|
4635
|
+
this.y2t_1 = true;
|
|
4636
|
+
this.z2t_1 = null;
|
|
3908
4637
|
}
|
|
3909
|
-
Logger.prototype.
|
|
3910
|
-
this.
|
|
4638
|
+
Logger.prototype.t2t = function (tag, message) {
|
|
4639
|
+
this.h2u(tag, message, Category_NONE_getInstance());
|
|
3911
4640
|
};
|
|
3912
|
-
Logger.prototype.
|
|
3913
|
-
if (this.
|
|
3914
|
-
this.
|
|
4641
|
+
Logger.prototype.i2u = function (tag, message, category) {
|
|
4642
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
4643
|
+
this.x2t_1.g2u(generateTag(this, tag), message);
|
|
3915
4644
|
}
|
|
3916
4645
|
};
|
|
3917
|
-
Logger.prototype.
|
|
4646
|
+
Logger.prototype.j2u = function (tag, message, category, $mask0, $handler) {
|
|
3918
4647
|
if (!(($mask0 & 1) === 0))
|
|
3919
4648
|
tag = null;
|
|
3920
4649
|
if (!(($mask0 & 4) === 0))
|
|
3921
4650
|
category = Category_NONE_getInstance();
|
|
3922
|
-
return this.
|
|
4651
|
+
return this.i2u(tag, message, category);
|
|
3923
4652
|
};
|
|
3924
|
-
Logger.prototype.
|
|
3925
|
-
if (this.
|
|
3926
|
-
this.
|
|
4653
|
+
Logger.prototype.h2u = function (tag, message, category) {
|
|
4654
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
4655
|
+
this.x2t_1.e2u(generateTag(this, tag), message);
|
|
3927
4656
|
}
|
|
3928
4657
|
};
|
|
3929
|
-
Logger.prototype.
|
|
3930
|
-
if (this.
|
|
4658
|
+
Logger.prototype.k2u = function (tag, message, exception, category) {
|
|
4659
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
3931
4660
|
var tmp0_safe_receiver = exception;
|
|
3932
4661
|
if (tmp0_safe_receiver == null)
|
|
3933
4662
|
null;
|
|
3934
4663
|
else {
|
|
3935
4664
|
printStackTrace(tmp0_safe_receiver);
|
|
3936
4665
|
}
|
|
3937
|
-
this.
|
|
4666
|
+
this.x2t_1.f2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
3938
4667
|
}
|
|
3939
4668
|
};
|
|
3940
|
-
Logger.prototype.
|
|
4669
|
+
Logger.prototype.l2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
3941
4670
|
if (!(($mask0 & 1) === 0))
|
|
3942
4671
|
tag = null;
|
|
3943
4672
|
if (!(($mask0 & 2) === 0))
|
|
@@ -3946,7 +4675,7 @@
|
|
|
3946
4675
|
exception = null;
|
|
3947
4676
|
if (!(($mask0 & 8) === 0))
|
|
3948
4677
|
category = Category_NONE_getInstance();
|
|
3949
|
-
return this.
|
|
4678
|
+
return this.k2u(tag, message, exception, category);
|
|
3950
4679
|
};
|
|
3951
4680
|
Logger.$metadata$ = objectMeta('Logger');
|
|
3952
4681
|
var Logger_instance;
|
|
@@ -3986,36 +4715,36 @@
|
|
|
3986
4715
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
3987
4716
|
}
|
|
3988
4717
|
function CombinedGameLogger(logOutputs) {
|
|
3989
|
-
this.
|
|
4718
|
+
this.m2u_1 = logOutputs;
|
|
3990
4719
|
}
|
|
3991
|
-
CombinedGameLogger.prototype.
|
|
4720
|
+
CombinedGameLogger.prototype.t2t = function (tag, message) {
|
|
3992
4721
|
// Inline function 'kotlin.collections.forEach' call
|
|
3993
|
-
var tmp0_forEach = this.
|
|
4722
|
+
var tmp0_forEach = this.m2u_1;
|
|
3994
4723
|
var tmp0_iterator = tmp0_forEach.f();
|
|
3995
4724
|
while (tmp0_iterator.g()) {
|
|
3996
4725
|
var element = tmp0_iterator.h();
|
|
3997
4726
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
3998
|
-
element.
|
|
4727
|
+
element.t2t(tag, message);
|
|
3999
4728
|
}
|
|
4000
4729
|
};
|
|
4001
|
-
CombinedGameLogger.prototype.
|
|
4730
|
+
CombinedGameLogger.prototype.m2q = function (tag, message, exception) {
|
|
4002
4731
|
// Inline function 'kotlin.collections.forEach' call
|
|
4003
|
-
var tmp0_forEach = this.
|
|
4732
|
+
var tmp0_forEach = this.m2u_1;
|
|
4004
4733
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4005
4734
|
while (tmp0_iterator.g()) {
|
|
4006
4735
|
var element = tmp0_iterator.h();
|
|
4007
4736
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4008
|
-
element.
|
|
4737
|
+
element.m2q(tag, message, exception);
|
|
4009
4738
|
}
|
|
4010
4739
|
};
|
|
4011
|
-
CombinedGameLogger.prototype.
|
|
4740
|
+
CombinedGameLogger.prototype.w2t = function (tag, message) {
|
|
4012
4741
|
// Inline function 'kotlin.collections.forEach' call
|
|
4013
|
-
var tmp0_forEach = this.
|
|
4742
|
+
var tmp0_forEach = this.m2u_1;
|
|
4014
4743
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4015
4744
|
while (tmp0_iterator.g()) {
|
|
4016
4745
|
var element = tmp0_iterator.h();
|
|
4017
4746
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4018
|
-
element.
|
|
4747
|
+
element.w2t(tag, message);
|
|
4019
4748
|
}
|
|
4020
4749
|
};
|
|
4021
4750
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -4028,16 +4757,16 @@
|
|
|
4028
4757
|
function PlatformGameLogger() {
|
|
4029
4758
|
PlatformGameLogger_instance = this;
|
|
4030
4759
|
}
|
|
4031
|
-
PlatformGameLogger.prototype.
|
|
4032
|
-
Logger_getInstance().
|
|
4760
|
+
PlatformGameLogger.prototype.t2t = function (tag, message) {
|
|
4761
|
+
Logger_getInstance().t2t(tag, message);
|
|
4033
4762
|
};
|
|
4034
|
-
PlatformGameLogger.prototype.
|
|
4763
|
+
PlatformGameLogger.prototype.m2q = function (tag, message, exception) {
|
|
4035
4764
|
var tmp = Logger_getInstance();
|
|
4036
|
-
tmp.
|
|
4765
|
+
tmp.l2u(tag, message, exception, null, 8, null);
|
|
4037
4766
|
};
|
|
4038
|
-
PlatformGameLogger.prototype.
|
|
4767
|
+
PlatformGameLogger.prototype.w2t = function (tag, message) {
|
|
4039
4768
|
var tmp = Logger_getInstance();
|
|
4040
|
-
tmp.
|
|
4769
|
+
tmp.j2u(tag, message, null, 4, null);
|
|
4041
4770
|
};
|
|
4042
4771
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
4043
4772
|
var PlatformGameLogger_instance;
|
|
@@ -4048,17 +4777,17 @@
|
|
|
4048
4777
|
}
|
|
4049
4778
|
function PlatformLogger() {
|
|
4050
4779
|
}
|
|
4051
|
-
PlatformLogger.prototype.
|
|
4780
|
+
PlatformLogger.prototype.e2u = function (tag, msg) {
|
|
4052
4781
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4053
4782
|
};
|
|
4054
|
-
PlatformLogger.prototype.
|
|
4783
|
+
PlatformLogger.prototype.f2u = function (tag, msg, exception) {
|
|
4055
4784
|
if (!(exception == null)) {
|
|
4056
4785
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4057
4786
|
} else {
|
|
4058
4787
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4059
4788
|
}
|
|
4060
4789
|
};
|
|
4061
|
-
PlatformLogger.prototype.
|
|
4790
|
+
PlatformLogger.prototype.g2u = function (tag, msg) {
|
|
4062
4791
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4063
4792
|
};
|
|
4064
4793
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
@@ -4070,23 +4799,30 @@
|
|
|
4070
4799
|
$serializer_3.prototype.t1t = typeParametersSerializers;
|
|
4071
4800
|
$serializer_4.prototype.t1t = typeParametersSerializers;
|
|
4072
4801
|
$serializer_5.prototype.t1t = typeParametersSerializers;
|
|
4802
|
+
$serializer_6.prototype.t1t = typeParametersSerializers;
|
|
4073
4803
|
_no_name_provided__qut3iv.prototype.r4 = get;
|
|
4074
4804
|
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4075
4805
|
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4076
4806
|
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4077
|
-
AsyncProviderImpl.prototype.
|
|
4078
|
-
AsyncProviderImpl.prototype.
|
|
4079
|
-
middleware$1.prototype.
|
|
4080
|
-
combineReducers$1.prototype.
|
|
4081
|
-
StoreLifecycleAction.prototype.
|
|
4082
|
-
INIT.prototype.
|
|
4083
|
-
REPLACE.prototype.
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4807
|
+
AsyncProviderImpl.prototype.t2q = launchStore$default;
|
|
4808
|
+
AsyncProviderImpl.prototype.v2q = launchWorker$default;
|
|
4809
|
+
middleware$1.prototype.n2r = canHandle;
|
|
4810
|
+
combineReducers$1.prototype.n2r = canHandle_0;
|
|
4811
|
+
StoreLifecycleAction.prototype.m2r = get_actionTag;
|
|
4812
|
+
INIT.prototype.m2r = get_actionTag;
|
|
4813
|
+
REPLACE.prototype.m2r = get_actionTag;
|
|
4814
|
+
TimerAction.prototype.m2r = get_actionTag;
|
|
4815
|
+
StopTimerAction.prototype.m2r = get_actionTag;
|
|
4816
|
+
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4817
|
+
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4818
|
+
StartTimerAction.prototype.m2r = get_actionTag;
|
|
4819
|
+
TimerTickAction.prototype.m2r = get_actionTag;
|
|
4820
|
+
CombinedGameLogger.prototype.u2t = d$default;
|
|
4821
|
+
CombinedGameLogger.prototype.v2t = e$default;
|
|
4822
|
+
CombinedGameLogger.prototype.z2q = w$default;
|
|
4823
|
+
PlatformGameLogger.prototype.u2t = d$default;
|
|
4824
|
+
PlatformGameLogger.prototype.v2t = e$default;
|
|
4825
|
+
PlatformGameLogger.prototype.z2q = w$default;
|
|
4090
4826
|
//endregion
|
|
4091
4827
|
//region block: exports
|
|
4092
4828
|
function $jsExportAll$(_) {
|
|
@@ -4151,6 +4887,10 @@
|
|
|
4151
4887
|
configurable: true,
|
|
4152
4888
|
get: PlayerConnectionState_DELETED_getInstance
|
|
4153
4889
|
});
|
|
4890
|
+
Object.defineProperty($com$logic$data$models$player.PlayerConnectionState, 'Companion', {
|
|
4891
|
+
configurable: true,
|
|
4892
|
+
get: Companion_getInstance_6
|
|
4893
|
+
});
|
|
4154
4894
|
var $com = _.com || (_.com = {});
|
|
4155
4895
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4156
4896
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -4159,7 +4899,7 @@
|
|
|
4159
4899
|
$com$logic$data$models$rules.Rules = Rules;
|
|
4160
4900
|
Object.defineProperty($com$logic$data$models$rules.Rules, 'Companion', {
|
|
4161
4901
|
configurable: true,
|
|
4162
|
-
get:
|
|
4902
|
+
get: Companion_getInstance_9
|
|
4163
4903
|
});
|
|
4164
4904
|
var $com = _.com || (_.com = {});
|
|
4165
4905
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
@@ -4209,6 +4949,16 @@
|
|
|
4209
4949
|
var $com$logic$redux$actions = $com$logic$redux.actions || ($com$logic$redux.actions = {});
|
|
4210
4950
|
var $com = _.com || (_.com = {});
|
|
4211
4951
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4952
|
+
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
4953
|
+
var $com$logic$redux$actions = $com$logic$redux.actions || ($com$logic$redux.actions = {});
|
|
4954
|
+
var $com$logic$redux$actions$validation = $com$logic$redux$actions.validation || ($com$logic$redux$actions.validation = {});
|
|
4955
|
+
var $com = _.com || (_.com = {});
|
|
4956
|
+
var $com$logic = $com.logic || ($com.logic = {});
|
|
4957
|
+
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
4958
|
+
var $com$logic$redux$actions = $com$logic$redux.actions || ($com$logic$redux.actions = {});
|
|
4959
|
+
var $com$logic$redux$actions$validation = $com$logic$redux$actions.validation || ($com$logic$redux$actions.validation = {});
|
|
4960
|
+
var $com = _.com || (_.com = {});
|
|
4961
|
+
var $com$logic = $com.logic || ($com.logic = {});
|
|
4212
4962
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
4213
4963
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
4214
4964
|
var $com$logic$utils$logger$game = $com$logic$utils$logger.game || ($com$logic$utils$logger.game = {});
|
|
@@ -4217,108 +4967,120 @@
|
|
|
4217
4967
|
_.$jsExportAll$ = $jsExportAll$;
|
|
4218
4968
|
_.$_$ = _.$_$ || {};
|
|
4219
4969
|
_.$_$.a = MechanicException;
|
|
4220
|
-
_.$_$.b =
|
|
4221
|
-
_.$_$.c =
|
|
4222
|
-
_.$_$.d =
|
|
4223
|
-
_.$_$.e =
|
|
4224
|
-
_.$_$.f =
|
|
4225
|
-
_.$_$.g =
|
|
4226
|
-
_.$_$.h =
|
|
4227
|
-
_.$_$.i =
|
|
4228
|
-
_.$_$.j =
|
|
4229
|
-
_.$_$.k =
|
|
4230
|
-
_.$_$.l =
|
|
4231
|
-
_.$_$.m =
|
|
4232
|
-
_.$_$.n =
|
|
4233
|
-
_.$_$.o =
|
|
4234
|
-
_.$_$.p =
|
|
4235
|
-
_.$_$.q =
|
|
4236
|
-
_.$_$.r =
|
|
4237
|
-
_.$_$.s =
|
|
4238
|
-
_.$_$.t =
|
|
4239
|
-
_.$_$.u =
|
|
4240
|
-
_.$_$.v =
|
|
4241
|
-
_.$_$.w =
|
|
4242
|
-
_.$_$.x =
|
|
4243
|
-
_.$_$.y =
|
|
4244
|
-
_.$_$.z =
|
|
4245
|
-
_.$_$.a1 =
|
|
4246
|
-
_.$_$.b1 =
|
|
4247
|
-
_.$_$.c1 =
|
|
4248
|
-
_.$_$.d1 =
|
|
4249
|
-
_.$_$.e1 =
|
|
4250
|
-
_.$_$.f1 =
|
|
4251
|
-
_.$_$.g1 =
|
|
4252
|
-
_.$_$.h1 =
|
|
4253
|
-
_.$_$.i1 =
|
|
4254
|
-
_.$_$.j1 =
|
|
4255
|
-
_.$_$.k1 =
|
|
4256
|
-
_.$_$.l1 =
|
|
4257
|
-
_.$_$.m1 =
|
|
4258
|
-
_.$_$.n1 =
|
|
4259
|
-
_.$_$.o1 =
|
|
4260
|
-
_.$_$.p1 =
|
|
4261
|
-
_.$_$.q1 =
|
|
4262
|
-
_.$_$.r1 =
|
|
4263
|
-
_.$_$.s1 =
|
|
4264
|
-
_.$_$.t1 =
|
|
4265
|
-
_.$_$.u1 =
|
|
4266
|
-
_.$_$.v1 =
|
|
4267
|
-
_.$_$.w1 =
|
|
4268
|
-
_.$_$.x1 =
|
|
4269
|
-
_.$_$.y1 =
|
|
4270
|
-
_.$_$.z1 =
|
|
4271
|
-
_.$_$.a2 =
|
|
4272
|
-
_.$_$.b2 =
|
|
4273
|
-
_.$_$.c2 =
|
|
4274
|
-
_.$_$.d2 =
|
|
4275
|
-
_.$_$.e2 =
|
|
4276
|
-
_.$_$.f2 =
|
|
4277
|
-
_.$_$.g2 =
|
|
4278
|
-
_.$_$.h2 =
|
|
4279
|
-
_.$_$.i2 =
|
|
4280
|
-
_.$_$.j2 =
|
|
4281
|
-
_.$_$.k2 =
|
|
4282
|
-
_.$_$.l2 =
|
|
4283
|
-
_.$_$.m2 =
|
|
4284
|
-
_.$_$.n2 =
|
|
4285
|
-
_.$_$.o2 =
|
|
4286
|
-
_.$_$.p2 =
|
|
4287
|
-
_.$_$.q2 =
|
|
4288
|
-
_.$_$.r2 =
|
|
4289
|
-
_.$_$.s2 =
|
|
4290
|
-
_.$_$.t2 =
|
|
4291
|
-
_.$_$.u2 =
|
|
4292
|
-
_.$_$.v2 =
|
|
4293
|
-
_.$_$.w2 =
|
|
4294
|
-
_.$_$.x2 =
|
|
4295
|
-
_.$_$.y2 =
|
|
4296
|
-
_.$_$.z2 =
|
|
4297
|
-
_.$_$.a3 =
|
|
4298
|
-
_.$_$.b3 =
|
|
4299
|
-
_.$_$.c3 =
|
|
4300
|
-
_.$_$.d3 =
|
|
4301
|
-
_.$_$.e3 =
|
|
4302
|
-
_.$_$.f3 =
|
|
4303
|
-
_.$_$.g3 =
|
|
4304
|
-
_.$_$.h3 =
|
|
4305
|
-
_.$_$.i3 =
|
|
4306
|
-
_.$_$.j3 =
|
|
4307
|
-
_.$_$.k3 =
|
|
4308
|
-
_.$_$.l3 =
|
|
4309
|
-
_.$_$.m3 =
|
|
4310
|
-
_.$_$.n3 =
|
|
4311
|
-
_.$_$.o3 =
|
|
4312
|
-
_.$_$.p3 =
|
|
4313
|
-
_.$_$.q3 =
|
|
4314
|
-
_.$_$.r3 =
|
|
4315
|
-
_.$_$.s3 =
|
|
4316
|
-
_.$_$.t3 =
|
|
4317
|
-
_.$_$.u3 =
|
|
4318
|
-
_.$_$.v3 =
|
|
4319
|
-
_.$_$.w3 =
|
|
4320
|
-
_.$_$.x3 =
|
|
4321
|
-
_.$_$.y3 =
|
|
4970
|
+
_.$_$.b = PlayerIdContract;
|
|
4971
|
+
_.$_$.c = Player;
|
|
4972
|
+
_.$_$.d = Team;
|
|
4973
|
+
_.$_$.e = get_byIdPlayerPredicate;
|
|
4974
|
+
_.$_$.f = filterByPlayerId;
|
|
4975
|
+
_.$_$.g = filterPlayerTurn;
|
|
4976
|
+
_.$_$.h = getPlayer;
|
|
4977
|
+
_.$_$.i = nextToPlayerId;
|
|
4978
|
+
_.$_$.j = mapFromDto_0;
|
|
4979
|
+
_.$_$.k = mapFromDto_2;
|
|
4980
|
+
_.$_$.l = mapFromDto;
|
|
4981
|
+
_.$_$.m = mapFromDto_1;
|
|
4982
|
+
_.$_$.n = mapToDto_3;
|
|
4983
|
+
_.$_$.o = mapToDto_0;
|
|
4984
|
+
_.$_$.p = mapToDto_1;
|
|
4985
|
+
_.$_$.q = mapToDto_2;
|
|
4986
|
+
_.$_$.r = mapToDto;
|
|
4987
|
+
_.$_$.s = CardGrowthComparator;
|
|
4988
|
+
_.$_$.t = GameCardWIthPlayerId;
|
|
4989
|
+
_.$_$.u = GameCard;
|
|
4990
|
+
_.$_$.v = ProcessingCard;
|
|
4991
|
+
_.$_$.w = values_2;
|
|
4992
|
+
_.$_$.x = filterByCardName;
|
|
4993
|
+
_.$_$.y = filterBySuit;
|
|
4994
|
+
_.$_$.z = getGrowth;
|
|
4995
|
+
_.$_$.a1 = getPoint;
|
|
4996
|
+
_.$_$.b1 = GameErrorReason;
|
|
4997
|
+
_.$_$.c1 = PlayerExitReason;
|
|
4998
|
+
_.$_$.d1 = PlayerLostConnectionReason;
|
|
4999
|
+
_.$_$.e1 = PlayerTimeoutReason;
|
|
5000
|
+
_.$_$.f1 = AsyncProvider;
|
|
5001
|
+
_.$_$.g1 = JobsProvider;
|
|
5002
|
+
_.$_$.h1 = get_coreModule;
|
|
5003
|
+
_.$_$.i1 = get_actionTag;
|
|
5004
|
+
_.$_$.j1 = Action;
|
|
5005
|
+
_.$_$.k1 = Middleware;
|
|
5006
|
+
_.$_$.l1 = Reducer;
|
|
5007
|
+
_.$_$.m1 = combineReducers;
|
|
5008
|
+
_.$_$.n1 = middleware;
|
|
5009
|
+
_.$_$.o1 = parseActionName;
|
|
5010
|
+
_.$_$.p1 = compose;
|
|
5011
|
+
_.$_$.q1 = createStore;
|
|
5012
|
+
_.$_$.r1 = notValidateWhenFinished;
|
|
5013
|
+
_.$_$.s1 = NotValidateIfGameFinished;
|
|
5014
|
+
_.$_$.t1 = notValidateWhenFinishing;
|
|
5015
|
+
_.$_$.u1 = NotValidateIfGameFinishing;
|
|
5016
|
+
_.$_$.v1 = ignoreBuffer;
|
|
5017
|
+
_.$_$.w1 = BufferedAction;
|
|
5018
|
+
_.$_$.x1 = ignoreExpectant;
|
|
5019
|
+
_.$_$.y1 = ExpectantAction;
|
|
5020
|
+
_.$_$.z1 = ReleaseBufferTriggerAction;
|
|
5021
|
+
_.$_$.a2 = StartTimerAction;
|
|
5022
|
+
_.$_$.b2 = StopTimerAction;
|
|
5023
|
+
_.$_$.c2 = TimerAction;
|
|
5024
|
+
_.$_$.d2 = TimerTag;
|
|
5025
|
+
_.$_$.e2 = TimerTickAction;
|
|
5026
|
+
_.$_$.f2 = applyCatcher;
|
|
5027
|
+
_.$_$.g2 = applyMiddleware;
|
|
5028
|
+
_.$_$.h2 = timerMiddleware;
|
|
5029
|
+
_.$_$.i2 = CombinedGameLogger;
|
|
5030
|
+
_.$_$.j2 = LoggerOutputWithPayload;
|
|
5031
|
+
_.$_$.k2 = LoggerPayload;
|
|
5032
|
+
_.$_$.l2 = GameLogger;
|
|
5033
|
+
_.$_$.m2 = LoggerOutput;
|
|
5034
|
+
_.$_$.n2 = generateMsg;
|
|
5035
|
+
_.$_$.o2 = enumToString;
|
|
5036
|
+
_.$_$.p2 = nextTo;
|
|
5037
|
+
_.$_$.q2 = sortWithItem;
|
|
5038
|
+
_.$_$.r2 = toDomainEnumSafe;
|
|
5039
|
+
_.$_$.s2 = updateItem;
|
|
5040
|
+
_.$_$.t2 = updated;
|
|
5041
|
+
_.$_$.u2 = PlayerConnectionState_DELETED_getInstance;
|
|
5042
|
+
_.$_$.v2 = PlayerConnectionState_LEFT_getInstance;
|
|
5043
|
+
_.$_$.w2 = PlayerConnectionState_LIVE_getInstance;
|
|
5044
|
+
_.$_$.x2 = PlayerConnectionState_LOST_CONNECTION_getInstance;
|
|
5045
|
+
_.$_$.y2 = PlayerConnectionState_TIMEOUT_getInstance;
|
|
5046
|
+
_.$_$.z2 = RulesSetType_belot_getInstance;
|
|
5047
|
+
_.$_$.a3 = RulesSetType_custom_getInstance;
|
|
5048
|
+
_.$_$.b3 = RulesSetType_debertzCommon_getInstance;
|
|
5049
|
+
_.$_$.c3 = RulesSetType_debertzKharkiv_getInstance;
|
|
5050
|
+
_.$_$.d3 = RulesSetType_debertzMoscow_getInstance;
|
|
5051
|
+
_.$_$.e3 = RulesSetType_klabor_getInstance;
|
|
5052
|
+
_.$_$.f3 = CardName_ACE_getInstance;
|
|
5053
|
+
_.$_$.g3 = CardName_DAME_getInstance;
|
|
5054
|
+
_.$_$.h3 = CardName_EIGHT_getInstance;
|
|
5055
|
+
_.$_$.i3 = CardName_JACK_getInstance;
|
|
5056
|
+
_.$_$.j3 = CardName_KING_getInstance;
|
|
5057
|
+
_.$_$.k3 = CardName_NINE_getInstance;
|
|
5058
|
+
_.$_$.l3 = CardName_SEVEN_getInstance;
|
|
5059
|
+
_.$_$.m3 = CardName_TEN_getInstance;
|
|
5060
|
+
_.$_$.n3 = TimerType_DELAY_getInstance;
|
|
5061
|
+
_.$_$.o3 = e$default_0;
|
|
5062
|
+
_.$_$.p3 = d$default;
|
|
5063
|
+
_.$_$.q3 = e$default;
|
|
5064
|
+
_.$_$.r3 = w$default;
|
|
5065
|
+
_.$_$.s3 = StartTimerAction_init_$Create$;
|
|
5066
|
+
_.$_$.t3 = Companion_getInstance_6;
|
|
5067
|
+
_.$_$.u3 = Companion_getInstance_8;
|
|
5068
|
+
_.$_$.v3 = $serializer_getInstance_4;
|
|
5069
|
+
_.$_$.w3 = $serializer_getInstance_5;
|
|
5070
|
+
_.$_$.x3 = $serializer_getInstance_6;
|
|
5071
|
+
_.$_$.y3 = CardIndexComparator_getInstance;
|
|
5072
|
+
_.$_$.z3 = CardNumberComparator_getInstance;
|
|
5073
|
+
_.$_$.a4 = Companion_getInstance_13;
|
|
5074
|
+
_.$_$.b4 = Companion_getInstance_15;
|
|
5075
|
+
_.$_$.c4 = Companion_getInstance;
|
|
5076
|
+
_.$_$.d4 = GameFinishedReason_getInstance;
|
|
5077
|
+
_.$_$.e4 = ProcessingReason_getInstance;
|
|
5078
|
+
_.$_$.f4 = RestartGameReason_getInstance;
|
|
5079
|
+
_.$_$.g4 = Companion_getInstance_1;
|
|
5080
|
+
_.$_$.h4 = WaitingForConnectionReason_getInstance;
|
|
5081
|
+
_.$_$.i4 = PlatformGameLogger_getInstance;
|
|
5082
|
+
_.$_$.j4 = Logger_getInstance;
|
|
5083
|
+
_.$_$.k4 = Constants_getInstance;
|
|
4322
5084
|
//endregion
|
|
4323
5085
|
return _;
|
|
4324
5086
|
}));
|