game_client_logic_deb 1.3.101 → 1.4.6
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/88b0986a7186d029-atomicfu-js-ir.js +53 -53
- package/{Kaverit-kaverit-js-ir.js → Kaverit-kaverit.js} +74 -74
- package/{Kaverit-kaverit-js-ir.js.map → Kaverit-kaverit.js.map} +1 -1
- package/{Kodein-kodein-di-js-ir.js → Kodein-kodein-di.js} +551 -551
- package/Kodein-kodein-di.js.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +55 -55
- package/Logic_Debertz-core.js +1228 -1216
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10270 -9703
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +4199 -4154
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +540 -520
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1978 -1859
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1683 -1471
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2353 -2353
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +25 -25
- package/uuid-js-ir.js.map +1 -1
- package/Kodein-kodein-di-js-ir.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', './Kaverit-kaverit
|
|
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', './Kodein-kodein-di.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('./Kaverit-kaverit
|
|
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'), require('./Kodein-kodein-di.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,94 +13,94 @@
|
|
|
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
|
|
17
|
-
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kaverit-kaverit
|
|
16
|
+
if (typeof this['Kaverit-kaverit'] === 'undefined') {
|
|
17
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kaverit-kaverit' was not found. Please, check whether 'Kaverit-kaverit' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
18
|
}
|
|
19
|
-
if (typeof this['Kodein-kodein-di
|
|
20
|
-
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kodein-kodein-di
|
|
19
|
+
if (typeof this['Kodein-kodein-di'] === 'undefined') {
|
|
20
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kodein-kodein-di' was not found. Please, check whether 'Kodein-kodein-di' is loaded prior to 'Logic_Debertz-core'.");
|
|
21
21
|
}
|
|
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
|
|
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'], this['Kodein-kodein-di']);
|
|
23
23
|
}
|
|
24
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) {
|
|
25
25
|
'use strict';
|
|
26
26
|
//region block: imports
|
|
27
27
|
var imul = Math.imul;
|
|
28
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
28
|
+
var objectMeta = kotlin_kotlin.$_$.w9;
|
|
29
29
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
30
30
|
var Unit_getInstance = kotlin_kotlin.$_$.n4;
|
|
31
31
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
32
32
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
|
|
33
|
-
var lazy = kotlin_kotlin.$_$.
|
|
34
|
-
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
35
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
36
|
-
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
37
|
-
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
33
|
+
var lazy = kotlin_kotlin.$_$.wc;
|
|
34
|
+
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
35
|
+
var classMeta = kotlin_kotlin.$_$.y8;
|
|
36
|
+
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
37
|
+
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
38
38
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
39
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
40
|
-
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
41
|
-
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
42
|
-
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
43
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
39
|
+
var THROW_CCE = kotlin_kotlin.$_$.bc;
|
|
40
|
+
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
41
|
+
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
42
|
+
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
43
|
+
var getStringHashCode = kotlin_kotlin.$_$.d9;
|
|
44
44
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
45
|
-
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
46
|
-
var Enum = kotlin_kotlin.$_$.
|
|
47
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
50
|
-
var Exception = kotlin_kotlin.$_$.
|
|
45
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
46
|
+
var Enum = kotlin_kotlin.$_$.rb;
|
|
47
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.a9;
|
|
49
|
+
var interfaceMeta = kotlin_kotlin.$_$.f9;
|
|
50
|
+
var Exception = kotlin_kotlin.$_$.tb;
|
|
51
51
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.i1;
|
|
52
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
53
|
-
var toString = kotlin_kotlin.$_$.
|
|
54
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
+
var captureStack = kotlin_kotlin.$_$.t8;
|
|
53
|
+
var toString = kotlin_kotlin.$_$.dd;
|
|
54
|
+
var hashCode = kotlin_kotlin.$_$.e9;
|
|
55
55
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
56
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
57
|
-
var Long = kotlin_kotlin.$_$.
|
|
58
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
56
|
+
var THROW_ISE = kotlin_kotlin.$_$.cc;
|
|
57
|
+
var Long = kotlin_kotlin.$_$.wb;
|
|
58
|
+
var toString_0 = kotlin_kotlin.$_$.aa;
|
|
59
59
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
60
|
-
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
61
|
-
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
62
|
-
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
63
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
60
|
+
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
61
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
62
|
+
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
63
|
+
var Comparator = kotlin_kotlin.$_$.ob;
|
|
64
64
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
65
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
66
|
-
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.
|
|
65
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.yc;
|
|
66
|
+
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.a8;
|
|
67
67
|
var Key_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
68
|
-
var get = kotlin_kotlin.$_$.
|
|
69
|
-
var fold = kotlin_kotlin.$_$.
|
|
70
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
71
|
-
var plus = kotlin_kotlin.$_$.
|
|
68
|
+
var get = kotlin_kotlin.$_$.h8;
|
|
69
|
+
var fold = kotlin_kotlin.$_$.g8;
|
|
70
|
+
var minusKey = kotlin_kotlin.$_$.i8;
|
|
71
|
+
var plus = kotlin_kotlin.$_$.l8;
|
|
72
72
|
var CoroutineExceptionHandler = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
73
73
|
var Job$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
74
74
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
75
75
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
76
76
|
var launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
77
77
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
78
|
-
var toSet = kotlin_kotlin.$_$.
|
|
79
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
78
|
+
var toSet = kotlin_kotlin.$_$.s7;
|
|
79
|
+
var arrayOf = kotlin_kotlin.$_$.pc;
|
|
80
80
|
var createKType = kotlin_kotlin.$_$.b;
|
|
81
81
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
82
82
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
83
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
83
|
+
var isInterface = kotlin_kotlin.$_$.n9;
|
|
84
84
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
85
85
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
86
86
|
var MutableStateFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
87
87
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
88
88
|
var split$default = kotlin_kotlin.$_$.k;
|
|
89
|
-
var first = kotlin_kotlin.$_$.
|
|
90
|
-
var isObject = kotlin_kotlin.$_$.
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
89
|
+
var first = kotlin_kotlin.$_$.h6;
|
|
90
|
+
var isObject = kotlin_kotlin.$_$.p9;
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.m8;
|
|
92
92
|
var CoroutineScope_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
93
93
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
94
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
94
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x7;
|
|
95
95
|
var get_isActive = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
96
|
-
var SuspendFunction1 = kotlin_kotlin.$_$.
|
|
96
|
+
var SuspendFunction1 = kotlin_kotlin.$_$.n8;
|
|
97
97
|
var checkIndexOverflow = kotlin_kotlin.$_$.i5;
|
|
98
|
-
var single = kotlin_kotlin.$_$.
|
|
99
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
100
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
101
|
-
var printStackTrace = kotlin_kotlin.$_$.
|
|
102
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
103
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
98
|
+
var single = kotlin_kotlin.$_$.h7;
|
|
99
|
+
var get_lastIndex = kotlin_kotlin.$_$.p6;
|
|
100
|
+
var toMutableList = kotlin_kotlin.$_$.r7;
|
|
101
|
+
var printStackTrace = kotlin_kotlin.$_$.ad;
|
|
102
|
+
var isBlank = kotlin_kotlin.$_$.sa;
|
|
103
|
+
var stackTraceToString = kotlin_kotlin.$_$.bd;
|
|
104
104
|
//endregion
|
|
105
105
|
//region block: pre-declaration
|
|
106
106
|
PlayerReturnsReason.prototype = Object.create(ContinueGameReason.prototype);
|
|
@@ -137,13 +137,13 @@
|
|
|
137
137
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
138
138
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
139
139
|
if (!(($mask0 & 1) === 0))
|
|
140
|
-
context = this.
|
|
141
|
-
return $handler == null ? this.
|
|
140
|
+
context = this.i2r();
|
|
141
|
+
return $handler == null ? this.l2r(context, block) : $handler(context, block);
|
|
142
142
|
}
|
|
143
143
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
144
144
|
if (!(($mask0 & 1) === 0))
|
|
145
|
-
context = this.
|
|
146
|
-
return $handler == null ? this.
|
|
145
|
+
context = this.i2r();
|
|
146
|
+
return $handler == null ? this.j2r(context, block) : $handler(context, block);
|
|
147
147
|
}
|
|
148
148
|
function get_actionTag() {
|
|
149
149
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -181,6 +181,8 @@
|
|
|
181
181
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.constructor = timerMiddleware$o$handle$slambda$slambda_1;
|
|
182
182
|
timerMiddleware$o$handle$slambda.prototype = Object.create(CoroutineImpl.prototype);
|
|
183
183
|
timerMiddleware$o$handle$slambda.prototype.constructor = timerMiddleware$o$handle$slambda;
|
|
184
|
+
Category.prototype = Object.create(Enum.prototype);
|
|
185
|
+
Category.prototype.constructor = Category;
|
|
184
186
|
function d$default(tag, message, payload, $mask0, $handler) {
|
|
185
187
|
if (!(($mask0 & 1) === 0))
|
|
186
188
|
tag = null;
|
|
@@ -188,7 +190,7 @@
|
|
|
188
190
|
payload = null;
|
|
189
191
|
var tmp;
|
|
190
192
|
if ($handler == null) {
|
|
191
|
-
this.
|
|
193
|
+
this.b2v(tag, message, payload);
|
|
192
194
|
tmp = Unit_getInstance();
|
|
193
195
|
} else {
|
|
194
196
|
tmp = $handler(tag, message, payload);
|
|
@@ -206,7 +208,7 @@
|
|
|
206
208
|
payload = null;
|
|
207
209
|
var tmp;
|
|
208
210
|
if ($handler == null) {
|
|
209
|
-
this.
|
|
211
|
+
this.d2v(tag, message, exception, payload);
|
|
210
212
|
tmp = Unit_getInstance();
|
|
211
213
|
} else {
|
|
212
214
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -220,27 +222,25 @@
|
|
|
220
222
|
payload = null;
|
|
221
223
|
var tmp;
|
|
222
224
|
if ($handler == null) {
|
|
223
|
-
this.
|
|
225
|
+
this.e2v(tag, message, payload);
|
|
224
226
|
tmp = Unit_getInstance();
|
|
225
227
|
} else {
|
|
226
228
|
tmp = $handler(tag, message, payload);
|
|
227
229
|
}
|
|
228
230
|
return tmp;
|
|
229
231
|
}
|
|
230
|
-
Category.prototype = Object.create(Enum.prototype);
|
|
231
|
-
Category.prototype.constructor = Category;
|
|
232
232
|
//endregion
|
|
233
233
|
function GameEngineConfig() {
|
|
234
234
|
GameEngineConfig_instance = this;
|
|
235
|
-
this.
|
|
235
|
+
this.y2k_1 = '1.4.6';
|
|
236
236
|
}
|
|
237
|
-
GameEngineConfig.prototype.
|
|
238
|
-
return this.
|
|
237
|
+
GameEngineConfig.prototype.z2k = function () {
|
|
238
|
+
return this.y2k_1;
|
|
239
239
|
};
|
|
240
240
|
GameEngineConfig.$metadata$ = objectMeta('GameEngineConfig');
|
|
241
241
|
Object.defineProperty(GameEngineConfig.prototype, 'version', {
|
|
242
242
|
configurable: true,
|
|
243
|
-
get: GameEngineConfig.prototype.
|
|
243
|
+
get: GameEngineConfig.prototype.z2k
|
|
244
244
|
});
|
|
245
245
|
var GameEngineConfig_instance;
|
|
246
246
|
function GameEngineConfig_getInstance() {
|
|
@@ -287,13 +287,13 @@
|
|
|
287
287
|
Companion_instance = this;
|
|
288
288
|
var tmp = this;
|
|
289
289
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
290
|
-
tmp.
|
|
290
|
+
tmp.a2l_1 = lazy(tmp_0, ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon);
|
|
291
291
|
}
|
|
292
|
-
Companion.prototype.
|
|
293
|
-
return this.
|
|
292
|
+
Companion.prototype.n25 = function () {
|
|
293
|
+
return this.a2l_1.c2();
|
|
294
294
|
};
|
|
295
|
-
Companion.prototype.
|
|
296
|
-
return this.
|
|
295
|
+
Companion.prototype.a1u = function (typeParamsSerializers) {
|
|
296
|
+
return this.n25();
|
|
297
297
|
};
|
|
298
298
|
Companion.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
299
299
|
var Companion_instance;
|
|
@@ -322,13 +322,13 @@
|
|
|
322
322
|
function $serializer() {
|
|
323
323
|
$serializer_instance = this;
|
|
324
324
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
325
|
-
tmp0_serialDesc.
|
|
326
|
-
this.
|
|
325
|
+
tmp0_serialDesc.a1t('playerId', false);
|
|
326
|
+
this.b2l_1 = tmp0_serialDesc;
|
|
327
327
|
}
|
|
328
|
-
$serializer.prototype.
|
|
329
|
-
return this.
|
|
328
|
+
$serializer.prototype.l1i = function () {
|
|
329
|
+
return this.b2l_1;
|
|
330
330
|
};
|
|
331
|
-
$serializer.prototype.
|
|
331
|
+
$serializer.prototype.p1t = function () {
|
|
332
332
|
var tmp$ret$2;
|
|
333
333
|
// Inline function 'kotlin.arrayOf' call
|
|
334
334
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -341,42 +341,42 @@
|
|
|
341
341
|
tmp$ret$2 = tmp$ret$1;
|
|
342
342
|
return tmp$ret$2;
|
|
343
343
|
};
|
|
344
|
-
$serializer.prototype.
|
|
345
|
-
var tmp0_desc = this.
|
|
344
|
+
$serializer.prototype.n1i = function (decoder) {
|
|
345
|
+
var tmp0_desc = this.b2l_1;
|
|
346
346
|
var tmp1_flag = true;
|
|
347
347
|
var tmp2_index = 0;
|
|
348
348
|
var tmp3_bitMask0 = 0;
|
|
349
349
|
var tmp4_local0 = null;
|
|
350
|
-
var tmp5_input = decoder.
|
|
351
|
-
if (tmp5_input.
|
|
352
|
-
tmp4_local0 = tmp5_input.
|
|
350
|
+
var tmp5_input = decoder.t1l(tmp0_desc);
|
|
351
|
+
if (tmp5_input.i1m()) {
|
|
352
|
+
tmp4_local0 = tmp5_input.d1m(tmp0_desc, 0);
|
|
353
353
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
354
354
|
} else
|
|
355
355
|
while (tmp1_flag) {
|
|
356
|
-
tmp2_index = tmp5_input.
|
|
356
|
+
tmp2_index = tmp5_input.j1m(tmp0_desc);
|
|
357
357
|
switch (tmp2_index) {
|
|
358
358
|
case -1:
|
|
359
359
|
tmp1_flag = false;
|
|
360
360
|
break;
|
|
361
361
|
case 0:
|
|
362
|
-
tmp4_local0 = tmp5_input.
|
|
362
|
+
tmp4_local0 = tmp5_input.d1m(tmp0_desc, 0);
|
|
363
363
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
364
364
|
break;
|
|
365
365
|
default:
|
|
366
366
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
tmp5_input.
|
|
369
|
+
tmp5_input.u1l(tmp0_desc);
|
|
370
370
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
371
371
|
};
|
|
372
|
-
$serializer.prototype.
|
|
373
|
-
var tmp0_desc = this.
|
|
374
|
-
var tmp1_output = encoder.
|
|
375
|
-
tmp1_output.
|
|
376
|
-
tmp1_output.
|
|
372
|
+
$serializer.prototype.c2l = function (encoder, value) {
|
|
373
|
+
var tmp0_desc = this.b2l_1;
|
|
374
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
375
|
+
tmp1_output.h1n(tmp0_desc, 0, value.d2l_1);
|
|
376
|
+
tmp1_output.u1l(tmp0_desc);
|
|
377
377
|
};
|
|
378
|
-
$serializer.prototype.
|
|
379
|
-
return this.
|
|
378
|
+
$serializer.prototype.m1i = function (encoder, value) {
|
|
379
|
+
return this.c2l(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
380
380
|
};
|
|
381
381
|
$serializer.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
382
382
|
var $serializer_instance;
|
|
@@ -387,10 +387,10 @@
|
|
|
387
387
|
}
|
|
388
388
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
389
389
|
if (!(1 === (1 & seen1))) {
|
|
390
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
390
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().b2l_1);
|
|
391
391
|
}
|
|
392
392
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
393
|
-
$this.
|
|
393
|
+
$this.d2l_1 = playerId;
|
|
394
394
|
return $this;
|
|
395
395
|
}
|
|
396
396
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -399,13 +399,13 @@
|
|
|
399
399
|
function PlayerReturnsReason(playerId) {
|
|
400
400
|
Companion_getInstance_0();
|
|
401
401
|
ContinueGameReason.call(this);
|
|
402
|
-
this.
|
|
402
|
+
this.d2l_1 = playerId;
|
|
403
403
|
}
|
|
404
404
|
PlayerReturnsReason.prototype.toString = function () {
|
|
405
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
405
|
+
return 'PlayerReturnsReason(playerId=' + this.d2l_1 + ')';
|
|
406
406
|
};
|
|
407
407
|
PlayerReturnsReason.prototype.hashCode = function () {
|
|
408
|
-
return getStringHashCode(this.
|
|
408
|
+
return getStringHashCode(this.d2l_1);
|
|
409
409
|
};
|
|
410
410
|
PlayerReturnsReason.prototype.equals = function (other) {
|
|
411
411
|
if (this === other)
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
if (!(other instanceof PlayerReturnsReason))
|
|
414
414
|
return false;
|
|
415
415
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
416
|
-
if (!(this.
|
|
416
|
+
if (!(this.d2l_1 === tmp0_other_with_cast.d2l_1))
|
|
417
417
|
return false;
|
|
418
418
|
return true;
|
|
419
419
|
};
|
|
@@ -435,16 +435,16 @@
|
|
|
435
435
|
RestartGameReason_instance = this;
|
|
436
436
|
var tmp = this;
|
|
437
437
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
438
|
-
tmp.
|
|
438
|
+
tmp.e2l_1 = lazy(tmp_0, RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb);
|
|
439
439
|
}
|
|
440
440
|
RestartGameReason.prototype.toString = function () {
|
|
441
441
|
return 'RestartGameReason';
|
|
442
442
|
};
|
|
443
|
-
RestartGameReason.prototype.
|
|
444
|
-
return this.
|
|
443
|
+
RestartGameReason.prototype.n25 = function () {
|
|
444
|
+
return this.e2l_1.c2();
|
|
445
445
|
};
|
|
446
|
-
RestartGameReason.prototype.
|
|
447
|
-
return this.
|
|
446
|
+
RestartGameReason.prototype.a1u = function (typeParamsSerializers) {
|
|
447
|
+
return this.n25();
|
|
448
448
|
};
|
|
449
449
|
RestartGameReason.$metadata$ = objectMeta('RestartGameReason', [SerializerFactory], undefined, {0: RestartGameReason_getInstance});
|
|
450
450
|
var RestartGameReason_instance;
|
|
@@ -518,12 +518,12 @@
|
|
|
518
518
|
Companion_instance_1 = this;
|
|
519
519
|
var tmp = this;
|
|
520
520
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
521
|
-
tmp.
|
|
521
|
+
tmp.f2l_1 = lazy(tmp_0, TerminationGameReason$Companion$$cachedSerializer$delegate$_anonymous__honqx0);
|
|
522
522
|
}
|
|
523
523
|
Companion_1.prototype.serializer = function () {
|
|
524
|
-
return this.
|
|
524
|
+
return this.f2l_1.c2();
|
|
525
525
|
};
|
|
526
|
-
Companion_1.prototype.
|
|
526
|
+
Companion_1.prototype.a1u = function (typeParamsSerializers) {
|
|
527
527
|
return this.serializer();
|
|
528
528
|
};
|
|
529
529
|
Companion_1.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
@@ -556,13 +556,13 @@
|
|
|
556
556
|
function $serializer_0() {
|
|
557
557
|
$serializer_instance_0 = this;
|
|
558
558
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
559
|
-
tmp0_serialDesc.
|
|
560
|
-
this.
|
|
559
|
+
tmp0_serialDesc.a1t('reason', false);
|
|
560
|
+
this.g2l_1 = tmp0_serialDesc;
|
|
561
561
|
}
|
|
562
|
-
$serializer_0.prototype.
|
|
563
|
-
return this.
|
|
562
|
+
$serializer_0.prototype.l1i = function () {
|
|
563
|
+
return this.g2l_1;
|
|
564
564
|
};
|
|
565
|
-
$serializer_0.prototype.
|
|
565
|
+
$serializer_0.prototype.p1t = function () {
|
|
566
566
|
var tmp$ret$2;
|
|
567
567
|
// Inline function 'kotlin.arrayOf' call
|
|
568
568
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -575,42 +575,42 @@
|
|
|
575
575
|
tmp$ret$2 = tmp$ret$1;
|
|
576
576
|
return tmp$ret$2;
|
|
577
577
|
};
|
|
578
|
-
$serializer_0.prototype.
|
|
579
|
-
var tmp0_desc = this.
|
|
578
|
+
$serializer_0.prototype.n1i = function (decoder) {
|
|
579
|
+
var tmp0_desc = this.g2l_1;
|
|
580
580
|
var tmp1_flag = true;
|
|
581
581
|
var tmp2_index = 0;
|
|
582
582
|
var tmp3_bitMask0 = 0;
|
|
583
583
|
var tmp4_local0 = null;
|
|
584
|
-
var tmp5_input = decoder.
|
|
585
|
-
if (tmp5_input.
|
|
586
|
-
tmp4_local0 = tmp5_input.
|
|
584
|
+
var tmp5_input = decoder.t1l(tmp0_desc);
|
|
585
|
+
if (tmp5_input.i1m()) {
|
|
586
|
+
tmp4_local0 = tmp5_input.d1m(tmp0_desc, 0);
|
|
587
587
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
588
588
|
} else
|
|
589
589
|
while (tmp1_flag) {
|
|
590
|
-
tmp2_index = tmp5_input.
|
|
590
|
+
tmp2_index = tmp5_input.j1m(tmp0_desc);
|
|
591
591
|
switch (tmp2_index) {
|
|
592
592
|
case -1:
|
|
593
593
|
tmp1_flag = false;
|
|
594
594
|
break;
|
|
595
595
|
case 0:
|
|
596
|
-
tmp4_local0 = tmp5_input.
|
|
596
|
+
tmp4_local0 = tmp5_input.d1m(tmp0_desc, 0);
|
|
597
597
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
598
598
|
break;
|
|
599
599
|
default:
|
|
600
600
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
tmp5_input.
|
|
603
|
+
tmp5_input.u1l(tmp0_desc);
|
|
604
604
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
605
605
|
};
|
|
606
|
-
$serializer_0.prototype.
|
|
607
|
-
var tmp0_desc = this.
|
|
608
|
-
var tmp1_output = encoder.
|
|
609
|
-
tmp1_output.
|
|
610
|
-
tmp1_output.
|
|
606
|
+
$serializer_0.prototype.h2l = function (encoder, value) {
|
|
607
|
+
var tmp0_desc = this.g2l_1;
|
|
608
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
609
|
+
tmp1_output.h1n(tmp0_desc, 0, value.i2l_1);
|
|
610
|
+
tmp1_output.u1l(tmp0_desc);
|
|
611
611
|
};
|
|
612
|
-
$serializer_0.prototype.
|
|
613
|
-
return this.
|
|
612
|
+
$serializer_0.prototype.m1i = function (encoder, value) {
|
|
613
|
+
return this.h2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
614
614
|
};
|
|
615
615
|
$serializer_0.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
616
616
|
var $serializer_instance_0;
|
|
@@ -621,10 +621,10 @@
|
|
|
621
621
|
}
|
|
622
622
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
623
623
|
if (!(1 === (1 & seen1))) {
|
|
624
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().
|
|
624
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().g2l_1);
|
|
625
625
|
}
|
|
626
626
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
627
|
-
$this.
|
|
627
|
+
$this.i2l_1 = reason;
|
|
628
628
|
return $this;
|
|
629
629
|
}
|
|
630
630
|
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -633,13 +633,13 @@
|
|
|
633
633
|
function GameErrorReason(reason) {
|
|
634
634
|
Companion_getInstance_2();
|
|
635
635
|
TerminationGameReason.call(this);
|
|
636
|
-
this.
|
|
636
|
+
this.i2l_1 = reason;
|
|
637
637
|
}
|
|
638
638
|
GameErrorReason.prototype.toString = function () {
|
|
639
|
-
return 'GameErrorReason(reason=' + this.
|
|
639
|
+
return 'GameErrorReason(reason=' + this.i2l_1 + ')';
|
|
640
640
|
};
|
|
641
641
|
GameErrorReason.prototype.hashCode = function () {
|
|
642
|
-
return getStringHashCode(this.
|
|
642
|
+
return getStringHashCode(this.i2l_1);
|
|
643
643
|
};
|
|
644
644
|
GameErrorReason.prototype.equals = function (other) {
|
|
645
645
|
if (this === other)
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
if (!(other instanceof GameErrorReason))
|
|
648
648
|
return false;
|
|
649
649
|
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
650
|
-
if (!(this.
|
|
650
|
+
if (!(this.i2l_1 === tmp0_other_with_cast.i2l_1))
|
|
651
651
|
return false;
|
|
652
652
|
return true;
|
|
653
653
|
};
|
|
@@ -663,13 +663,13 @@
|
|
|
663
663
|
Companion_instance_3 = this;
|
|
664
664
|
var tmp = this;
|
|
665
665
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
666
|
-
tmp.
|
|
666
|
+
tmp.j2l_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$$cachedSerializer$delegate$_anonymous__1olwq2);
|
|
667
667
|
}
|
|
668
|
-
Companion_3.prototype.
|
|
669
|
-
return this.
|
|
668
|
+
Companion_3.prototype.n25 = function () {
|
|
669
|
+
return this.j2l_1.c2();
|
|
670
670
|
};
|
|
671
|
-
Companion_3.prototype.
|
|
672
|
-
return this.
|
|
671
|
+
Companion_3.prototype.a1u = function (typeParamsSerializers) {
|
|
672
|
+
return this.n25();
|
|
673
673
|
};
|
|
674
674
|
Companion_3.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
675
675
|
var Companion_instance_3;
|
|
@@ -710,16 +710,16 @@
|
|
|
710
710
|
function $serializer_1() {
|
|
711
711
|
$serializer_instance_1 = this;
|
|
712
712
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
713
|
-
tmp0_serialDesc.
|
|
714
|
-
this.
|
|
713
|
+
tmp0_serialDesc.a1t('reason', true);
|
|
714
|
+
this.k2l_1 = tmp0_serialDesc;
|
|
715
715
|
}
|
|
716
|
-
$serializer_1.prototype.
|
|
717
|
-
return this.
|
|
716
|
+
$serializer_1.prototype.l1i = function () {
|
|
717
|
+
return this.k2l_1;
|
|
718
718
|
};
|
|
719
|
-
$serializer_1.prototype.
|
|
719
|
+
$serializer_1.prototype.p1t = function () {
|
|
720
720
|
var tmp$ret$2;
|
|
721
721
|
// Inline function 'kotlin.arrayOf' call
|
|
722
|
-
var tmp0_arrayOf = [get_nullable(Companion_getInstance_3().
|
|
722
|
+
var tmp0_arrayOf = [get_nullable(Companion_getInstance_3().n25())];
|
|
723
723
|
var tmp$ret$1;
|
|
724
724
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
725
725
|
var tmp$ret$0;
|
|
@@ -729,44 +729,44 @@
|
|
|
729
729
|
tmp$ret$2 = tmp$ret$1;
|
|
730
730
|
return tmp$ret$2;
|
|
731
731
|
};
|
|
732
|
-
$serializer_1.prototype.
|
|
733
|
-
var tmp0_desc = this.
|
|
732
|
+
$serializer_1.prototype.n1i = function (decoder) {
|
|
733
|
+
var tmp0_desc = this.k2l_1;
|
|
734
734
|
var tmp1_flag = true;
|
|
735
735
|
var tmp2_index = 0;
|
|
736
736
|
var tmp3_bitMask0 = 0;
|
|
737
737
|
var tmp4_local0 = null;
|
|
738
|
-
var tmp5_input = decoder.
|
|
739
|
-
if (tmp5_input.
|
|
740
|
-
tmp4_local0 = tmp5_input.
|
|
738
|
+
var tmp5_input = decoder.t1l(tmp0_desc);
|
|
739
|
+
if (tmp5_input.i1m()) {
|
|
740
|
+
tmp4_local0 = tmp5_input.h1m(tmp0_desc, 0, Companion_getInstance_3().n25(), tmp4_local0);
|
|
741
741
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
742
742
|
} else
|
|
743
743
|
while (tmp1_flag) {
|
|
744
|
-
tmp2_index = tmp5_input.
|
|
744
|
+
tmp2_index = tmp5_input.j1m(tmp0_desc);
|
|
745
745
|
switch (tmp2_index) {
|
|
746
746
|
case -1:
|
|
747
747
|
tmp1_flag = false;
|
|
748
748
|
break;
|
|
749
749
|
case 0:
|
|
750
|
-
tmp4_local0 = tmp5_input.
|
|
750
|
+
tmp4_local0 = tmp5_input.h1m(tmp0_desc, 0, Companion_getInstance_3().n25(), tmp4_local0);
|
|
751
751
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
752
752
|
break;
|
|
753
753
|
default:
|
|
754
754
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
|
-
tmp5_input.
|
|
757
|
+
tmp5_input.u1l(tmp0_desc);
|
|
758
758
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
759
759
|
};
|
|
760
|
-
$serializer_1.prototype.
|
|
761
|
-
var tmp0_desc = this.
|
|
762
|
-
var tmp1_output = encoder.
|
|
763
|
-
if (tmp1_output.
|
|
764
|
-
tmp1_output.
|
|
760
|
+
$serializer_1.prototype.l2l = function (encoder, value) {
|
|
761
|
+
var tmp0_desc = this.k2l_1;
|
|
762
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
763
|
+
if (tmp1_output.p1n(tmp0_desc, 0) ? true : !(value.m2l_1 == null)) {
|
|
764
|
+
tmp1_output.l1n(tmp0_desc, 0, Companion_getInstance_3().n25(), value.m2l_1);
|
|
765
765
|
}
|
|
766
|
-
tmp1_output.
|
|
766
|
+
tmp1_output.u1l(tmp0_desc);
|
|
767
767
|
};
|
|
768
|
-
$serializer_1.prototype.
|
|
769
|
-
return this.
|
|
768
|
+
$serializer_1.prototype.m1i = function (encoder, value) {
|
|
769
|
+
return this.l2l(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
770
770
|
};
|
|
771
771
|
$serializer_1.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
772
772
|
var $serializer_instance_1;
|
|
@@ -777,13 +777,13 @@
|
|
|
777
777
|
}
|
|
778
778
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
779
779
|
if (!(0 === (0 & seen1))) {
|
|
780
|
-
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().
|
|
780
|
+
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().k2l_1);
|
|
781
781
|
}
|
|
782
782
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
783
783
|
if (0 === (seen1 & 1))
|
|
784
|
-
$this.
|
|
784
|
+
$this.m2l_1 = null;
|
|
785
785
|
else
|
|
786
|
-
$this.
|
|
786
|
+
$this.m2l_1 = reason;
|
|
787
787
|
return $this;
|
|
788
788
|
}
|
|
789
789
|
function GameFinishedReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -808,13 +808,13 @@
|
|
|
808
808
|
function GameFinishedReason(reason) {
|
|
809
809
|
Companion_getInstance_4();
|
|
810
810
|
TerminationGameReason.call(this);
|
|
811
|
-
this.
|
|
811
|
+
this.m2l_1 = reason;
|
|
812
812
|
}
|
|
813
813
|
GameFinishedReason.prototype.toString = function () {
|
|
814
|
-
return 'GameFinishedReason(reason=' + this.
|
|
814
|
+
return 'GameFinishedReason(reason=' + this.m2l_1 + ')';
|
|
815
815
|
};
|
|
816
816
|
GameFinishedReason.prototype.hashCode = function () {
|
|
817
|
-
return this.
|
|
817
|
+
return this.m2l_1 == null ? 0 : this.m2l_1.hashCode();
|
|
818
818
|
};
|
|
819
819
|
GameFinishedReason.prototype.equals = function (other) {
|
|
820
820
|
if (this === other)
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
if (!(other instanceof GameFinishedReason))
|
|
823
823
|
return false;
|
|
824
824
|
var tmp0_other_with_cast = other instanceof GameFinishedReason ? other : THROW_CCE();
|
|
825
|
-
if (!equals(this.
|
|
825
|
+
if (!equals(this.m2l_1, tmp0_other_with_cast.m2l_1))
|
|
826
826
|
return false;
|
|
827
827
|
return true;
|
|
828
828
|
};
|
|
@@ -840,13 +840,13 @@
|
|
|
840
840
|
function $serializer_2() {
|
|
841
841
|
$serializer_instance_2 = this;
|
|
842
842
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
843
|
-
tmp0_serialDesc.
|
|
844
|
-
this.
|
|
843
|
+
tmp0_serialDesc.a1t('playerId', false);
|
|
844
|
+
this.n2l_1 = tmp0_serialDesc;
|
|
845
845
|
}
|
|
846
|
-
$serializer_2.prototype.
|
|
847
|
-
return this.
|
|
846
|
+
$serializer_2.prototype.l1i = function () {
|
|
847
|
+
return this.n2l_1;
|
|
848
848
|
};
|
|
849
|
-
$serializer_2.prototype.
|
|
849
|
+
$serializer_2.prototype.p1t = function () {
|
|
850
850
|
var tmp$ret$2;
|
|
851
851
|
// Inline function 'kotlin.arrayOf' call
|
|
852
852
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -859,42 +859,42 @@
|
|
|
859
859
|
tmp$ret$2 = tmp$ret$1;
|
|
860
860
|
return tmp$ret$2;
|
|
861
861
|
};
|
|
862
|
-
$serializer_2.prototype.
|
|
863
|
-
var tmp0_desc = this.
|
|
862
|
+
$serializer_2.prototype.n1i = function (decoder) {
|
|
863
|
+
var tmp0_desc = this.n2l_1;
|
|
864
864
|
var tmp1_flag = true;
|
|
865
865
|
var tmp2_index = 0;
|
|
866
866
|
var tmp3_bitMask0 = 0;
|
|
867
867
|
var tmp4_local0 = null;
|
|
868
|
-
var tmp5_input = decoder.
|
|
869
|
-
if (tmp5_input.
|
|
870
|
-
tmp4_local0 = tmp5_input.
|
|
868
|
+
var tmp5_input = decoder.t1l(tmp0_desc);
|
|
869
|
+
if (tmp5_input.i1m()) {
|
|
870
|
+
tmp4_local0 = tmp5_input.d1m(tmp0_desc, 0);
|
|
871
871
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
872
872
|
} else
|
|
873
873
|
while (tmp1_flag) {
|
|
874
|
-
tmp2_index = tmp5_input.
|
|
874
|
+
tmp2_index = tmp5_input.j1m(tmp0_desc);
|
|
875
875
|
switch (tmp2_index) {
|
|
876
876
|
case -1:
|
|
877
877
|
tmp1_flag = false;
|
|
878
878
|
break;
|
|
879
879
|
case 0:
|
|
880
|
-
tmp4_local0 = tmp5_input.
|
|
880
|
+
tmp4_local0 = tmp5_input.d1m(tmp0_desc, 0);
|
|
881
881
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
882
882
|
break;
|
|
883
883
|
default:
|
|
884
884
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
|
-
tmp5_input.
|
|
887
|
+
tmp5_input.u1l(tmp0_desc);
|
|
888
888
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
889
889
|
};
|
|
890
|
-
$serializer_2.prototype.
|
|
891
|
-
var tmp0_desc = this.
|
|
892
|
-
var tmp1_output = encoder.
|
|
893
|
-
tmp1_output.
|
|
894
|
-
tmp1_output.
|
|
890
|
+
$serializer_2.prototype.o2l = function (encoder, value) {
|
|
891
|
+
var tmp0_desc = this.n2l_1;
|
|
892
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
893
|
+
tmp1_output.h1n(tmp0_desc, 0, value.p2l_1);
|
|
894
|
+
tmp1_output.u1l(tmp0_desc);
|
|
895
895
|
};
|
|
896
|
-
$serializer_2.prototype.
|
|
897
|
-
return this.
|
|
896
|
+
$serializer_2.prototype.m1i = function (encoder, value) {
|
|
897
|
+
return this.o2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
898
898
|
};
|
|
899
899
|
$serializer_2.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
900
900
|
var $serializer_instance_2;
|
|
@@ -905,10 +905,10 @@
|
|
|
905
905
|
}
|
|
906
906
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
907
907
|
if (!(1 === (1 & seen1))) {
|
|
908
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
908
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().n2l_1);
|
|
909
909
|
}
|
|
910
910
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
911
|
-
$this.
|
|
911
|
+
$this.p2l_1 = playerId;
|
|
912
912
|
return $this;
|
|
913
913
|
}
|
|
914
914
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -917,16 +917,16 @@
|
|
|
917
917
|
function PlayerExitReason(playerId) {
|
|
918
918
|
Companion_getInstance_5();
|
|
919
919
|
TerminationGameReason.call(this);
|
|
920
|
-
this.
|
|
920
|
+
this.p2l_1 = playerId;
|
|
921
921
|
}
|
|
922
|
-
PlayerExitReason.prototype.
|
|
923
|
-
return this.
|
|
922
|
+
PlayerExitReason.prototype.q2l = function () {
|
|
923
|
+
return this.p2l_1;
|
|
924
924
|
};
|
|
925
925
|
PlayerExitReason.prototype.toString = function () {
|
|
926
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
926
|
+
return 'PlayerExitReason(playerId=' + this.p2l_1 + ')';
|
|
927
927
|
};
|
|
928
928
|
PlayerExitReason.prototype.hashCode = function () {
|
|
929
|
-
return getStringHashCode(this.
|
|
929
|
+
return getStringHashCode(this.p2l_1);
|
|
930
930
|
};
|
|
931
931
|
PlayerExitReason.prototype.equals = function (other) {
|
|
932
932
|
if (this === other)
|
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
if (!(other instanceof PlayerExitReason))
|
|
935
935
|
return false;
|
|
936
936
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
937
|
-
if (!(this.
|
|
937
|
+
if (!(this.p2l_1 === tmp0_other_with_cast.p2l_1))
|
|
938
938
|
return false;
|
|
939
939
|
return true;
|
|
940
940
|
};
|
|
@@ -952,14 +952,14 @@
|
|
|
952
952
|
function $serializer_3() {
|
|
953
953
|
$serializer_instance_3 = this;
|
|
954
954
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
955
|
-
tmp0_serialDesc.
|
|
956
|
-
tmp0_serialDesc.
|
|
957
|
-
this.
|
|
955
|
+
tmp0_serialDesc.a1t('playerId', false);
|
|
956
|
+
tmp0_serialDesc.a1t('tag', false);
|
|
957
|
+
this.r2l_1 = tmp0_serialDesc;
|
|
958
958
|
}
|
|
959
|
-
$serializer_3.prototype.
|
|
960
|
-
return this.
|
|
959
|
+
$serializer_3.prototype.l1i = function () {
|
|
960
|
+
return this.r2l_1;
|
|
961
961
|
};
|
|
962
|
-
$serializer_3.prototype.
|
|
962
|
+
$serializer_3.prototype.p1t = function () {
|
|
963
963
|
var tmp$ret$2;
|
|
964
964
|
// Inline function 'kotlin.arrayOf' call
|
|
965
965
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -972,50 +972,50 @@
|
|
|
972
972
|
tmp$ret$2 = tmp$ret$1;
|
|
973
973
|
return tmp$ret$2;
|
|
974
974
|
};
|
|
975
|
-
$serializer_3.prototype.
|
|
976
|
-
var tmp0_desc = this.
|
|
975
|
+
$serializer_3.prototype.n1i = function (decoder) {
|
|
976
|
+
var tmp0_desc = this.r2l_1;
|
|
977
977
|
var tmp1_flag = true;
|
|
978
978
|
var tmp2_index = 0;
|
|
979
979
|
var tmp3_bitMask0 = 0;
|
|
980
980
|
var tmp4_local0 = null;
|
|
981
981
|
var tmp5_local1 = null;
|
|
982
|
-
var tmp6_input = decoder.
|
|
983
|
-
if (tmp6_input.
|
|
984
|
-
tmp4_local0 = tmp6_input.
|
|
982
|
+
var tmp6_input = decoder.t1l(tmp0_desc);
|
|
983
|
+
if (tmp6_input.i1m()) {
|
|
984
|
+
tmp4_local0 = tmp6_input.d1m(tmp0_desc, 0);
|
|
985
985
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
986
|
-
tmp5_local1 = tmp6_input.
|
|
986
|
+
tmp5_local1 = tmp6_input.h1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
987
987
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
988
988
|
} else
|
|
989
989
|
while (tmp1_flag) {
|
|
990
|
-
tmp2_index = tmp6_input.
|
|
990
|
+
tmp2_index = tmp6_input.j1m(tmp0_desc);
|
|
991
991
|
switch (tmp2_index) {
|
|
992
992
|
case -1:
|
|
993
993
|
tmp1_flag = false;
|
|
994
994
|
break;
|
|
995
995
|
case 0:
|
|
996
|
-
tmp4_local0 = tmp6_input.
|
|
996
|
+
tmp4_local0 = tmp6_input.d1m(tmp0_desc, 0);
|
|
997
997
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
998
998
|
break;
|
|
999
999
|
case 1:
|
|
1000
|
-
tmp5_local1 = tmp6_input.
|
|
1000
|
+
tmp5_local1 = tmp6_input.h1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1001
1001
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1002
1002
|
break;
|
|
1003
1003
|
default:
|
|
1004
1004
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
|
-
tmp6_input.
|
|
1007
|
+
tmp6_input.u1l(tmp0_desc);
|
|
1008
1008
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1009
1009
|
};
|
|
1010
|
-
$serializer_3.prototype.
|
|
1011
|
-
var tmp0_desc = this.
|
|
1012
|
-
var tmp1_output = encoder.
|
|
1013
|
-
tmp1_output.
|
|
1014
|
-
tmp1_output.
|
|
1015
|
-
tmp1_output.
|
|
1010
|
+
$serializer_3.prototype.s2l = function (encoder, value) {
|
|
1011
|
+
var tmp0_desc = this.r2l_1;
|
|
1012
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
1013
|
+
tmp1_output.h1n(tmp0_desc, 0, value.t2l_1);
|
|
1014
|
+
tmp1_output.l1n(tmp0_desc, 1, StringSerializer_getInstance(), value.u2l_1);
|
|
1015
|
+
tmp1_output.u1l(tmp0_desc);
|
|
1016
1016
|
};
|
|
1017
|
-
$serializer_3.prototype.
|
|
1018
|
-
return this.
|
|
1017
|
+
$serializer_3.prototype.m1i = function (encoder, value) {
|
|
1018
|
+
return this.s2l(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
1019
1019
|
};
|
|
1020
1020
|
$serializer_3.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
1021
1021
|
var $serializer_instance_3;
|
|
@@ -1026,11 +1026,11 @@
|
|
|
1026
1026
|
}
|
|
1027
1027
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1028
1028
|
if (!(3 === (3 & seen1))) {
|
|
1029
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().
|
|
1029
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().r2l_1);
|
|
1030
1030
|
}
|
|
1031
1031
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1032
|
-
$this.
|
|
1033
|
-
$this.
|
|
1032
|
+
$this.t2l_1 = playerId;
|
|
1033
|
+
$this.u2l_1 = tag;
|
|
1034
1034
|
return $this;
|
|
1035
1035
|
}
|
|
1036
1036
|
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1039,18 +1039,18 @@
|
|
|
1039
1039
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
1040
1040
|
Companion_getInstance_6();
|
|
1041
1041
|
TerminationGameReason.call(this);
|
|
1042
|
-
this.
|
|
1043
|
-
this.
|
|
1042
|
+
this.t2l_1 = playerId;
|
|
1043
|
+
this.u2l_1 = tag;
|
|
1044
1044
|
}
|
|
1045
|
-
PlayerLostConnectionReason.prototype.
|
|
1046
|
-
return this.
|
|
1045
|
+
PlayerLostConnectionReason.prototype.q2l = function () {
|
|
1046
|
+
return this.t2l_1;
|
|
1047
1047
|
};
|
|
1048
1048
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
1049
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
1049
|
+
return 'PlayerLostConnectionReason(playerId=' + this.t2l_1 + ', tag=' + this.u2l_1 + ')';
|
|
1050
1050
|
};
|
|
1051
1051
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
1052
|
-
var result = getStringHashCode(this.
|
|
1053
|
-
result = imul(result, 31) + (this.
|
|
1052
|
+
var result = getStringHashCode(this.t2l_1);
|
|
1053
|
+
result = imul(result, 31) + (this.u2l_1 == null ? 0 : getStringHashCode(this.u2l_1)) | 0;
|
|
1054
1054
|
return result;
|
|
1055
1055
|
};
|
|
1056
1056
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -1059,9 +1059,9 @@
|
|
|
1059
1059
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
1060
1060
|
return false;
|
|
1061
1061
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
1062
|
-
if (!(this.
|
|
1062
|
+
if (!(this.t2l_1 === tmp0_other_with_cast.t2l_1))
|
|
1063
1063
|
return false;
|
|
1064
|
-
if (!(this.
|
|
1064
|
+
if (!(this.u2l_1 == tmp0_other_with_cast.u2l_1))
|
|
1065
1065
|
return false;
|
|
1066
1066
|
return true;
|
|
1067
1067
|
};
|
|
@@ -1079,14 +1079,14 @@
|
|
|
1079
1079
|
function $serializer_4() {
|
|
1080
1080
|
$serializer_instance_4 = this;
|
|
1081
1081
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
1082
|
-
tmp0_serialDesc.
|
|
1083
|
-
tmp0_serialDesc.
|
|
1084
|
-
this.
|
|
1082
|
+
tmp0_serialDesc.a1t('playerId', false);
|
|
1083
|
+
tmp0_serialDesc.a1t('tag', false);
|
|
1084
|
+
this.v2l_1 = tmp0_serialDesc;
|
|
1085
1085
|
}
|
|
1086
|
-
$serializer_4.prototype.
|
|
1087
|
-
return this.
|
|
1086
|
+
$serializer_4.prototype.l1i = function () {
|
|
1087
|
+
return this.v2l_1;
|
|
1088
1088
|
};
|
|
1089
|
-
$serializer_4.prototype.
|
|
1089
|
+
$serializer_4.prototype.p1t = function () {
|
|
1090
1090
|
var tmp$ret$2;
|
|
1091
1091
|
// Inline function 'kotlin.arrayOf' call
|
|
1092
1092
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -1099,50 +1099,50 @@
|
|
|
1099
1099
|
tmp$ret$2 = tmp$ret$1;
|
|
1100
1100
|
return tmp$ret$2;
|
|
1101
1101
|
};
|
|
1102
|
-
$serializer_4.prototype.
|
|
1103
|
-
var tmp0_desc = this.
|
|
1102
|
+
$serializer_4.prototype.n1i = function (decoder) {
|
|
1103
|
+
var tmp0_desc = this.v2l_1;
|
|
1104
1104
|
var tmp1_flag = true;
|
|
1105
1105
|
var tmp2_index = 0;
|
|
1106
1106
|
var tmp3_bitMask0 = 0;
|
|
1107
1107
|
var tmp4_local0 = null;
|
|
1108
1108
|
var tmp5_local1 = null;
|
|
1109
|
-
var tmp6_input = decoder.
|
|
1110
|
-
if (tmp6_input.
|
|
1111
|
-
tmp4_local0 = tmp6_input.
|
|
1109
|
+
var tmp6_input = decoder.t1l(tmp0_desc);
|
|
1110
|
+
if (tmp6_input.i1m()) {
|
|
1111
|
+
tmp4_local0 = tmp6_input.d1m(tmp0_desc, 0);
|
|
1112
1112
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1113
|
-
tmp5_local1 = tmp6_input.
|
|
1113
|
+
tmp5_local1 = tmp6_input.h1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1114
1114
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1115
1115
|
} else
|
|
1116
1116
|
while (tmp1_flag) {
|
|
1117
|
-
tmp2_index = tmp6_input.
|
|
1117
|
+
tmp2_index = tmp6_input.j1m(tmp0_desc);
|
|
1118
1118
|
switch (tmp2_index) {
|
|
1119
1119
|
case -1:
|
|
1120
1120
|
tmp1_flag = false;
|
|
1121
1121
|
break;
|
|
1122
1122
|
case 0:
|
|
1123
|
-
tmp4_local0 = tmp6_input.
|
|
1123
|
+
tmp4_local0 = tmp6_input.d1m(tmp0_desc, 0);
|
|
1124
1124
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1125
1125
|
break;
|
|
1126
1126
|
case 1:
|
|
1127
|
-
tmp5_local1 = tmp6_input.
|
|
1127
|
+
tmp5_local1 = tmp6_input.h1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1128
1128
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1129
1129
|
break;
|
|
1130
1130
|
default:
|
|
1131
1131
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1132
1132
|
}
|
|
1133
1133
|
}
|
|
1134
|
-
tmp6_input.
|
|
1134
|
+
tmp6_input.u1l(tmp0_desc);
|
|
1135
1135
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1136
1136
|
};
|
|
1137
|
-
$serializer_4.prototype.
|
|
1138
|
-
var tmp0_desc = this.
|
|
1139
|
-
var tmp1_output = encoder.
|
|
1140
|
-
tmp1_output.
|
|
1141
|
-
tmp1_output.
|
|
1142
|
-
tmp1_output.
|
|
1137
|
+
$serializer_4.prototype.w2l = function (encoder, value) {
|
|
1138
|
+
var tmp0_desc = this.v2l_1;
|
|
1139
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
1140
|
+
tmp1_output.h1n(tmp0_desc, 0, value.x2l_1);
|
|
1141
|
+
tmp1_output.l1n(tmp0_desc, 1, StringSerializer_getInstance(), value.y2l_1);
|
|
1142
|
+
tmp1_output.u1l(tmp0_desc);
|
|
1143
1143
|
};
|
|
1144
|
-
$serializer_4.prototype.
|
|
1145
|
-
return this.
|
|
1144
|
+
$serializer_4.prototype.m1i = function (encoder, value) {
|
|
1145
|
+
return this.w2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
1146
1146
|
};
|
|
1147
1147
|
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
1148
1148
|
var $serializer_instance_4;
|
|
@@ -1153,11 +1153,11 @@
|
|
|
1153
1153
|
}
|
|
1154
1154
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1155
1155
|
if (!(3 === (3 & seen1))) {
|
|
1156
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().
|
|
1156
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().v2l_1);
|
|
1157
1157
|
}
|
|
1158
1158
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1159
|
-
$this.
|
|
1160
|
-
$this.
|
|
1159
|
+
$this.x2l_1 = playerId;
|
|
1160
|
+
$this.y2l_1 = tag;
|
|
1161
1161
|
return $this;
|
|
1162
1162
|
}
|
|
1163
1163
|
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1166,18 +1166,18 @@
|
|
|
1166
1166
|
function PlayerTimeoutReason(playerId, tag) {
|
|
1167
1167
|
Companion_getInstance_7();
|
|
1168
1168
|
TerminationGameReason.call(this);
|
|
1169
|
-
this.
|
|
1170
|
-
this.
|
|
1169
|
+
this.x2l_1 = playerId;
|
|
1170
|
+
this.y2l_1 = tag;
|
|
1171
1171
|
}
|
|
1172
|
-
PlayerTimeoutReason.prototype.
|
|
1173
|
-
return this.
|
|
1172
|
+
PlayerTimeoutReason.prototype.q2l = function () {
|
|
1173
|
+
return this.x2l_1;
|
|
1174
1174
|
};
|
|
1175
1175
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
1176
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1176
|
+
return 'PlayerTimeoutReason(playerId=' + this.x2l_1 + ', tag=' + this.y2l_1 + ')';
|
|
1177
1177
|
};
|
|
1178
1178
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
1179
|
-
var result = getStringHashCode(this.
|
|
1180
|
-
result = imul(result, 31) + (this.
|
|
1179
|
+
var result = getStringHashCode(this.x2l_1);
|
|
1180
|
+
result = imul(result, 31) + (this.y2l_1 == null ? 0 : getStringHashCode(this.y2l_1)) | 0;
|
|
1181
1181
|
return result;
|
|
1182
1182
|
};
|
|
1183
1183
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -1186,9 +1186,9 @@
|
|
|
1186
1186
|
if (!(other instanceof PlayerTimeoutReason))
|
|
1187
1187
|
return false;
|
|
1188
1188
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1189
|
-
if (!(this.
|
|
1189
|
+
if (!(this.x2l_1 === tmp0_other_with_cast.x2l_1))
|
|
1190
1190
|
return false;
|
|
1191
|
-
if (!(this.
|
|
1191
|
+
if (!(this.y2l_1 == tmp0_other_with_cast.y2l_1))
|
|
1192
1192
|
return false;
|
|
1193
1193
|
return true;
|
|
1194
1194
|
};
|
|
@@ -1211,16 +1211,16 @@
|
|
|
1211
1211
|
TerminationGameReason.call(this);
|
|
1212
1212
|
var tmp = this;
|
|
1213
1213
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1214
|
-
tmp.
|
|
1214
|
+
tmp.z2l_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
1215
1215
|
}
|
|
1216
1216
|
ProcessingReason.prototype.toString = function () {
|
|
1217
1217
|
return 'ProcessingReason';
|
|
1218
1218
|
};
|
|
1219
|
-
ProcessingReason.prototype.
|
|
1220
|
-
return this.
|
|
1219
|
+
ProcessingReason.prototype.n25 = function () {
|
|
1220
|
+
return this.z2l_1.c2();
|
|
1221
1221
|
};
|
|
1222
|
-
ProcessingReason.prototype.
|
|
1223
|
-
return this.
|
|
1222
|
+
ProcessingReason.prototype.a1u = function (typeParamsSerializers) {
|
|
1223
|
+
return this.n25();
|
|
1224
1224
|
};
|
|
1225
1225
|
ProcessingReason.$metadata$ = objectMeta('ProcessingReason', [SerializerFactory], undefined, {0: ProcessingReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
1226
1226
|
var ProcessingReason_instance;
|
|
@@ -1247,16 +1247,16 @@
|
|
|
1247
1247
|
TerminationGameReason.call(this);
|
|
1248
1248
|
var tmp = this;
|
|
1249
1249
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1250
|
-
tmp.
|
|
1250
|
+
tmp.a2m_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
1251
1251
|
}
|
|
1252
1252
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
1253
1253
|
return 'WaitingForConnectionReason';
|
|
1254
1254
|
};
|
|
1255
|
-
WaitingForConnectionReason.prototype.
|
|
1256
|
-
return this.
|
|
1255
|
+
WaitingForConnectionReason.prototype.n25 = function () {
|
|
1256
|
+
return this.a2m_1.c2();
|
|
1257
1257
|
};
|
|
1258
|
-
WaitingForConnectionReason.prototype.
|
|
1259
|
-
return this.
|
|
1258
|
+
WaitingForConnectionReason.prototype.a1u = function (typeParamsSerializers) {
|
|
1259
|
+
return this.n25();
|
|
1260
1260
|
};
|
|
1261
1261
|
WaitingForConnectionReason.$metadata$ = objectMeta('WaitingForConnectionReason', [SerializerFactory], undefined, {0: WaitingForConnectionReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
1262
1262
|
var WaitingForConnectionReason_instance;
|
|
@@ -1287,70 +1287,70 @@
|
|
|
1287
1287
|
function GameUserInfo(playerId, name, avatarUrl, isBot, payload) {
|
|
1288
1288
|
var isBot_0 = isBot === void 1 ? false : isBot;
|
|
1289
1289
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1290
|
-
this.
|
|
1291
|
-
this.
|
|
1292
|
-
this.
|
|
1293
|
-
this.
|
|
1294
|
-
this.
|
|
1290
|
+
this.b2m_1 = playerId;
|
|
1291
|
+
this.c2m_1 = name;
|
|
1292
|
+
this.d2m_1 = avatarUrl;
|
|
1293
|
+
this.e2m_1 = isBot_0;
|
|
1294
|
+
this.f2m_1 = payload_0;
|
|
1295
1295
|
}
|
|
1296
|
-
GameUserInfo.prototype.
|
|
1297
|
-
return this.
|
|
1296
|
+
GameUserInfo.prototype.q2l = function () {
|
|
1297
|
+
return this.b2m_1;
|
|
1298
1298
|
};
|
|
1299
1299
|
GameUserInfo.prototype.f5 = function () {
|
|
1300
|
-
return this.
|
|
1300
|
+
return this.c2m_1;
|
|
1301
1301
|
};
|
|
1302
|
-
GameUserInfo.prototype.
|
|
1303
|
-
return this.
|
|
1302
|
+
GameUserInfo.prototype.g2m = function () {
|
|
1303
|
+
return this.d2m_1;
|
|
1304
1304
|
};
|
|
1305
|
-
GameUserInfo.prototype.
|
|
1306
|
-
return this.
|
|
1305
|
+
GameUserInfo.prototype.h2m = function () {
|
|
1306
|
+
return this.e2m_1;
|
|
1307
1307
|
};
|
|
1308
|
-
GameUserInfo.prototype.
|
|
1309
|
-
return this.
|
|
1308
|
+
GameUserInfo.prototype.i2m = function () {
|
|
1309
|
+
return this.f2m_1;
|
|
1310
1310
|
};
|
|
1311
1311
|
GameUserInfo.prototype.component1 = function () {
|
|
1312
|
-
return this.
|
|
1312
|
+
return this.b2m_1;
|
|
1313
1313
|
};
|
|
1314
1314
|
GameUserInfo.prototype.component2 = function () {
|
|
1315
|
-
return this.
|
|
1315
|
+
return this.c2m_1;
|
|
1316
1316
|
};
|
|
1317
1317
|
GameUserInfo.prototype.component3 = function () {
|
|
1318
|
-
return this.
|
|
1318
|
+
return this.d2m_1;
|
|
1319
1319
|
};
|
|
1320
1320
|
GameUserInfo.prototype.component4 = function () {
|
|
1321
|
-
return this.
|
|
1321
|
+
return this.e2m_1;
|
|
1322
1322
|
};
|
|
1323
1323
|
GameUserInfo.prototype.component5 = function () {
|
|
1324
|
-
return this.
|
|
1324
|
+
return this.f2m_1;
|
|
1325
1325
|
};
|
|
1326
1326
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1327
|
-
return this.
|
|
1327
|
+
return this.j2m(playerId === void 1 ? this.b2m_1 : playerId, name === void 1 ? this.c2m_1 : name, avatarUrl === void 1 ? this.d2m_1 : avatarUrl, isBot === void 1 ? this.e2m_1 : isBot, payload === void 1 ? this.f2m_1 : payload);
|
|
1328
1328
|
};
|
|
1329
|
-
GameUserInfo.prototype.
|
|
1329
|
+
GameUserInfo.prototype.j2m = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1330
1330
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, payload);
|
|
1331
1331
|
};
|
|
1332
|
-
GameUserInfo.prototype.
|
|
1332
|
+
GameUserInfo.prototype.k2m = function (playerId, name, avatarUrl, isBot, payload, $mask0, $handler) {
|
|
1333
1333
|
if (!(($mask0 & 1) === 0))
|
|
1334
|
-
playerId = this.
|
|
1334
|
+
playerId = this.b2m_1;
|
|
1335
1335
|
if (!(($mask0 & 2) === 0))
|
|
1336
|
-
name = this.
|
|
1336
|
+
name = this.c2m_1;
|
|
1337
1337
|
if (!(($mask0 & 4) === 0))
|
|
1338
|
-
avatarUrl = this.
|
|
1338
|
+
avatarUrl = this.d2m_1;
|
|
1339
1339
|
if (!(($mask0 & 8) === 0))
|
|
1340
|
-
isBot = this.
|
|
1340
|
+
isBot = this.e2m_1;
|
|
1341
1341
|
if (!(($mask0 & 16) === 0))
|
|
1342
|
-
payload = this.
|
|
1343
|
-
return this.
|
|
1342
|
+
payload = this.f2m_1;
|
|
1343
|
+
return this.j2m(playerId, name, avatarUrl, isBot, payload);
|
|
1344
1344
|
};
|
|
1345
1345
|
GameUserInfo.prototype.toString = function () {
|
|
1346
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1346
|
+
return 'GameUserInfo(playerId=' + this.b2m_1 + ', name=' + this.c2m_1 + ', avatarUrl=' + this.d2m_1 + ', isBot=' + this.e2m_1 + ', payload=' + toString(this.f2m_1) + ')';
|
|
1347
1347
|
};
|
|
1348
1348
|
GameUserInfo.prototype.hashCode = function () {
|
|
1349
|
-
var result = getStringHashCode(this.
|
|
1350
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1351
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1352
|
-
result = imul(result, 31) + (this.
|
|
1353
|
-
result = imul(result, 31) + (this.
|
|
1349
|
+
var result = getStringHashCode(this.b2m_1);
|
|
1350
|
+
result = imul(result, 31) + getStringHashCode(this.c2m_1) | 0;
|
|
1351
|
+
result = imul(result, 31) + getStringHashCode(this.d2m_1) | 0;
|
|
1352
|
+
result = imul(result, 31) + (this.e2m_1 | 0) | 0;
|
|
1353
|
+
result = imul(result, 31) + (this.f2m_1 == null ? 0 : hashCode(this.f2m_1)) | 0;
|
|
1354
1354
|
return result;
|
|
1355
1355
|
};
|
|
1356
1356
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -1359,15 +1359,15 @@
|
|
|
1359
1359
|
if (!(other instanceof GameUserInfo))
|
|
1360
1360
|
return false;
|
|
1361
1361
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1362
|
-
if (!(this.
|
|
1362
|
+
if (!(this.b2m_1 === tmp0_other_with_cast.b2m_1))
|
|
1363
1363
|
return false;
|
|
1364
|
-
if (!(this.
|
|
1364
|
+
if (!(this.c2m_1 === tmp0_other_with_cast.c2m_1))
|
|
1365
1365
|
return false;
|
|
1366
|
-
if (!(this.
|
|
1366
|
+
if (!(this.d2m_1 === tmp0_other_with_cast.d2m_1))
|
|
1367
1367
|
return false;
|
|
1368
|
-
if (!(this.
|
|
1368
|
+
if (!(this.e2m_1 === tmp0_other_with_cast.e2m_1))
|
|
1369
1369
|
return false;
|
|
1370
|
-
if (!equals(this.
|
|
1370
|
+
if (!equals(this.f2m_1, tmp0_other_with_cast.f2m_1))
|
|
1371
1371
|
return false;
|
|
1372
1372
|
return true;
|
|
1373
1373
|
};
|
|
@@ -1375,7 +1375,7 @@
|
|
|
1375
1375
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
1376
1376
|
configurable: true,
|
|
1377
1377
|
get: function () {
|
|
1378
|
-
return this.
|
|
1378
|
+
return this.q2l();
|
|
1379
1379
|
}
|
|
1380
1380
|
});
|
|
1381
1381
|
Object.defineProperty(GameUserInfo.prototype, 'name', {
|
|
@@ -1384,15 +1384,15 @@
|
|
|
1384
1384
|
});
|
|
1385
1385
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
1386
1386
|
configurable: true,
|
|
1387
|
-
get: GameUserInfo.prototype.
|
|
1387
|
+
get: GameUserInfo.prototype.g2m
|
|
1388
1388
|
});
|
|
1389
1389
|
Object.defineProperty(GameUserInfo.prototype, 'isBot', {
|
|
1390
1390
|
configurable: true,
|
|
1391
|
-
get: GameUserInfo.prototype.
|
|
1391
|
+
get: GameUserInfo.prototype.h2m
|
|
1392
1392
|
});
|
|
1393
1393
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
1394
1394
|
configurable: true,
|
|
1395
|
-
get: GameUserInfo.prototype.
|
|
1395
|
+
get: GameUserInfo.prototype.i2m
|
|
1396
1396
|
});
|
|
1397
1397
|
function get_byIdPlayerPredicate() {
|
|
1398
1398
|
init_properties_Player_kt_txblev();
|
|
@@ -1502,7 +1502,7 @@
|
|
|
1502
1502
|
}
|
|
1503
1503
|
function playerTurnPredicate$lambda(p1) {
|
|
1504
1504
|
init_properties_Player_kt_txblev();
|
|
1505
|
-
return p1.
|
|
1505
|
+
return p1.dm().r2m() ? true : p1.dm().q2m();
|
|
1506
1506
|
}
|
|
1507
1507
|
var properties_initialized_Player_kt_56shkt;
|
|
1508
1508
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1526,12 +1526,12 @@
|
|
|
1526
1526
|
Companion_instance_8 = this;
|
|
1527
1527
|
var tmp = this;
|
|
1528
1528
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1529
|
-
tmp.
|
|
1529
|
+
tmp.s2m_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1530
1530
|
}
|
|
1531
1531
|
Companion_8.prototype.serializer = function () {
|
|
1532
|
-
return this.
|
|
1532
|
+
return this.s2m_1.c2();
|
|
1533
1533
|
};
|
|
1534
|
-
Companion_8.prototype.
|
|
1534
|
+
Companion_8.prototype.a1u = function (typeParamsSerializers) {
|
|
1535
1535
|
return this.serializer();
|
|
1536
1536
|
};
|
|
1537
1537
|
Companion_8.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
@@ -1581,62 +1581,62 @@
|
|
|
1581
1581
|
function PlayerConnectionState(name, ordinal) {
|
|
1582
1582
|
Enum.call(this, name, ordinal);
|
|
1583
1583
|
}
|
|
1584
|
-
PlayerConnectionState.prototype.
|
|
1584
|
+
PlayerConnectionState.prototype.v2m = function () {
|
|
1585
1585
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1586
1586
|
};
|
|
1587
|
-
PlayerConnectionState.prototype.
|
|
1587
|
+
PlayerConnectionState.prototype.w2m = function () {
|
|
1588
1588
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1589
1589
|
};
|
|
1590
|
-
PlayerConnectionState.prototype.
|
|
1590
|
+
PlayerConnectionState.prototype.x2m = function () {
|
|
1591
1591
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1592
1592
|
};
|
|
1593
|
-
PlayerConnectionState.prototype.
|
|
1593
|
+
PlayerConnectionState.prototype.y2m = function () {
|
|
1594
1594
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1595
1595
|
};
|
|
1596
|
-
PlayerConnectionState.prototype.
|
|
1596
|
+
PlayerConnectionState.prototype.z2m = function () {
|
|
1597
1597
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1598
1598
|
};
|
|
1599
|
-
PlayerConnectionState.prototype.
|
|
1599
|
+
PlayerConnectionState.prototype.a2n = function () {
|
|
1600
1600
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1601
1601
|
};
|
|
1602
|
-
PlayerConnectionState.prototype.
|
|
1602
|
+
PlayerConnectionState.prototype.b2n = function () {
|
|
1603
1603
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1604
1604
|
};
|
|
1605
|
-
PlayerConnectionState.prototype.
|
|
1605
|
+
PlayerConnectionState.prototype.c2n = function () {
|
|
1606
1606
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1607
1607
|
};
|
|
1608
1608
|
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0: Companion_getInstance_8}, undefined, Enum.prototype);
|
|
1609
1609
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1610
1610
|
configurable: true,
|
|
1611
|
-
get: PlayerConnectionState.prototype.
|
|
1611
|
+
get: PlayerConnectionState.prototype.v2m
|
|
1612
1612
|
});
|
|
1613
1613
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1614
1614
|
configurable: true,
|
|
1615
|
-
get: PlayerConnectionState.prototype.
|
|
1615
|
+
get: PlayerConnectionState.prototype.w2m
|
|
1616
1616
|
});
|
|
1617
1617
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1618
1618
|
configurable: true,
|
|
1619
|
-
get: PlayerConnectionState.prototype.
|
|
1619
|
+
get: PlayerConnectionState.prototype.x2m
|
|
1620
1620
|
});
|
|
1621
1621
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1622
1622
|
configurable: true,
|
|
1623
|
-
get: PlayerConnectionState.prototype.
|
|
1623
|
+
get: PlayerConnectionState.prototype.y2m
|
|
1624
1624
|
});
|
|
1625
1625
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1626
1626
|
configurable: true,
|
|
1627
|
-
get: PlayerConnectionState.prototype.
|
|
1627
|
+
get: PlayerConnectionState.prototype.z2m
|
|
1628
1628
|
});
|
|
1629
1629
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1630
1630
|
configurable: true,
|
|
1631
|
-
get: PlayerConnectionState.prototype.
|
|
1631
|
+
get: PlayerConnectionState.prototype.a2n
|
|
1632
1632
|
});
|
|
1633
1633
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1634
1634
|
configurable: true,
|
|
1635
|
-
get: PlayerConnectionState.prototype.
|
|
1635
|
+
get: PlayerConnectionState.prototype.b2n
|
|
1636
1636
|
});
|
|
1637
1637
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1638
1638
|
configurable: true,
|
|
1639
|
-
get: PlayerConnectionState.prototype.
|
|
1639
|
+
get: PlayerConnectionState.prototype.c2n
|
|
1640
1640
|
});
|
|
1641
1641
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1642
1642
|
configurable: true,
|
|
@@ -1680,13 +1680,13 @@
|
|
|
1680
1680
|
Companion_instance_9 = this;
|
|
1681
1681
|
var tmp = this;
|
|
1682
1682
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1683
|
-
tmp.
|
|
1683
|
+
tmp.d2n_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1684
1684
|
}
|
|
1685
|
-
Companion_9.prototype.
|
|
1686
|
-
return this.
|
|
1685
|
+
Companion_9.prototype.n25 = function () {
|
|
1686
|
+
return this.d2n_1.c2();
|
|
1687
1687
|
};
|
|
1688
|
-
Companion_9.prototype.
|
|
1689
|
-
return this.
|
|
1688
|
+
Companion_9.prototype.a1u = function (typeParamsSerializers) {
|
|
1689
|
+
return this.n25();
|
|
1690
1690
|
};
|
|
1691
1691
|
Companion_9.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
1692
1692
|
var Companion_instance_9;
|
|
@@ -1712,28 +1712,28 @@
|
|
|
1712
1712
|
function PlayerWaitingState(name, ordinal) {
|
|
1713
1713
|
Enum.call(this, name, ordinal);
|
|
1714
1714
|
}
|
|
1715
|
-
PlayerWaitingState.prototype.
|
|
1716
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1715
|
+
PlayerWaitingState.prototype.r2m = function () {
|
|
1716
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.q2m();
|
|
1717
1717
|
};
|
|
1718
|
-
PlayerWaitingState.prototype.
|
|
1718
|
+
PlayerWaitingState.prototype.q2m = function () {
|
|
1719
1719
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1720
1720
|
};
|
|
1721
1721
|
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0: Companion_getInstance_9}, undefined, Enum.prototype);
|
|
1722
1722
|
function Companion_10() {
|
|
1723
1723
|
Companion_instance_10 = this;
|
|
1724
1724
|
}
|
|
1725
|
-
Companion_10.prototype.
|
|
1725
|
+
Companion_10.prototype.g2n = function (connectionState) {
|
|
1726
1726
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1727
1727
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1728
1728
|
};
|
|
1729
|
-
Companion_10.prototype.
|
|
1729
|
+
Companion_10.prototype.h2n = function (_this__u8e3s4) {
|
|
1730
1730
|
var tmp = new Long(0, 0);
|
|
1731
1731
|
var tmp_0 = PlayerWaitingState_IDLE_getInstance();
|
|
1732
|
-
return _this__u8e3s4.
|
|
1732
|
+
return _this__u8e3s4.i2n(tmp, tmp_0, false, null, null, 12, null);
|
|
1733
1733
|
};
|
|
1734
|
-
Companion_10.prototype.
|
|
1734
|
+
Companion_10.prototype.j2n = function (_this__u8e3s4, startFromTime, tag) {
|
|
1735
1735
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1736
|
-
return _this__u8e3s4.
|
|
1736
|
+
return _this__u8e3s4.i2n(startFromTime, tmp0_state, false, null, tag, 8, null);
|
|
1737
1737
|
};
|
|
1738
1738
|
Companion_10.$metadata$ = objectMeta('Companion');
|
|
1739
1739
|
var Companion_instance_10;
|
|
@@ -1756,25 +1756,25 @@
|
|
|
1756
1756
|
}
|
|
1757
1757
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1758
1758
|
Companion_getInstance_10();
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1763
|
-
this.
|
|
1759
|
+
this.l2m_1 = startFromTime;
|
|
1760
|
+
this.m2m_1 = state;
|
|
1761
|
+
this.n2m_1 = ready;
|
|
1762
|
+
this.o2m_1 = connectionState;
|
|
1763
|
+
this.p2m_1 = tag;
|
|
1764
1764
|
}
|
|
1765
|
-
PlayerState.prototype.
|
|
1766
|
-
return this.
|
|
1765
|
+
PlayerState.prototype.k2n = function () {
|
|
1766
|
+
return this.n2m_1;
|
|
1767
1767
|
};
|
|
1768
|
-
PlayerState.prototype.
|
|
1769
|
-
return this.
|
|
1768
|
+
PlayerState.prototype.l2n = function () {
|
|
1769
|
+
return this.o2m_1;
|
|
1770
1770
|
};
|
|
1771
|
-
PlayerState.prototype.
|
|
1772
|
-
return this.
|
|
1771
|
+
PlayerState.prototype.e2f = function () {
|
|
1772
|
+
return this.p2m_1;
|
|
1773
1773
|
};
|
|
1774
|
-
PlayerState.prototype.
|
|
1774
|
+
PlayerState.prototype.m2n = function () {
|
|
1775
1775
|
var tmp$ret$2;
|
|
1776
1776
|
// Inline function 'kotlin.requireNotNull' call
|
|
1777
|
-
var tmp0_requireNotNull = this.
|
|
1777
|
+
var tmp0_requireNotNull = this.p2m_1;
|
|
1778
1778
|
// Inline function 'kotlin.contracts.contract' call
|
|
1779
1779
|
var tmp$ret$1;
|
|
1780
1780
|
$l$block: {
|
|
@@ -1794,41 +1794,41 @@
|
|
|
1794
1794
|
tmp$ret$2 = tmp$ret$1;
|
|
1795
1795
|
return tmp$ret$2;
|
|
1796
1796
|
};
|
|
1797
|
-
PlayerState.prototype.
|
|
1798
|
-
var tmp0_elvis_lhs = this.
|
|
1797
|
+
PlayerState.prototype.n2n = function () {
|
|
1798
|
+
var tmp0_elvis_lhs = this.p2m_1;
|
|
1799
1799
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1800
1800
|
};
|
|
1801
|
-
PlayerState.prototype.
|
|
1802
|
-
return this.
|
|
1801
|
+
PlayerState.prototype.r2m = function () {
|
|
1802
|
+
return this.m2m_1.r2m();
|
|
1803
1803
|
};
|
|
1804
|
-
PlayerState.prototype.
|
|
1805
|
-
return this.
|
|
1804
|
+
PlayerState.prototype.q2m = function () {
|
|
1805
|
+
return this.m2m_1.q2m();
|
|
1806
1806
|
};
|
|
1807
|
-
PlayerState.prototype.
|
|
1807
|
+
PlayerState.prototype.o2n = function (startFromTime, state, ready, connectionState, tag) {
|
|
1808
1808
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1809
1809
|
};
|
|
1810
|
-
PlayerState.prototype.
|
|
1810
|
+
PlayerState.prototype.i2n = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1811
1811
|
if (!(($mask0 & 1) === 0))
|
|
1812
|
-
startFromTime = this.
|
|
1812
|
+
startFromTime = this.l2m_1;
|
|
1813
1813
|
if (!(($mask0 & 2) === 0))
|
|
1814
|
-
state = this.
|
|
1814
|
+
state = this.m2m_1;
|
|
1815
1815
|
if (!(($mask0 & 4) === 0))
|
|
1816
|
-
ready = this.
|
|
1816
|
+
ready = this.n2m_1;
|
|
1817
1817
|
if (!(($mask0 & 8) === 0))
|
|
1818
|
-
connectionState = this.
|
|
1818
|
+
connectionState = this.o2m_1;
|
|
1819
1819
|
if (!(($mask0 & 16) === 0))
|
|
1820
|
-
tag = this.
|
|
1821
|
-
return this.
|
|
1820
|
+
tag = this.p2m_1;
|
|
1821
|
+
return this.o2n(startFromTime, state, ready, connectionState, tag);
|
|
1822
1822
|
};
|
|
1823
1823
|
PlayerState.prototype.toString = function () {
|
|
1824
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1824
|
+
return 'PlayerState(startFromTime=' + toString_0(this.l2m_1) + ', state=' + this.m2m_1 + ', ready=' + this.n2m_1 + ', connectionState=' + this.o2m_1 + ', tag=' + this.p2m_1 + ')';
|
|
1825
1825
|
};
|
|
1826
1826
|
PlayerState.prototype.hashCode = function () {
|
|
1827
|
-
var result = this.
|
|
1828
|
-
result = imul(result, 31) + this.
|
|
1829
|
-
result = imul(result, 31) + (this.
|
|
1830
|
-
result = imul(result, 31) + this.
|
|
1831
|
-
result = imul(result, 31) + (this.
|
|
1827
|
+
var result = this.l2m_1.hashCode();
|
|
1828
|
+
result = imul(result, 31) + this.m2m_1.hashCode() | 0;
|
|
1829
|
+
result = imul(result, 31) + (this.n2m_1 | 0) | 0;
|
|
1830
|
+
result = imul(result, 31) + this.o2m_1.hashCode() | 0;
|
|
1831
|
+
result = imul(result, 31) + (this.p2m_1 == null ? 0 : getStringHashCode(this.p2m_1)) | 0;
|
|
1832
1832
|
return result;
|
|
1833
1833
|
};
|
|
1834
1834
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1837,27 +1837,27 @@
|
|
|
1837
1837
|
if (!(other instanceof PlayerState))
|
|
1838
1838
|
return false;
|
|
1839
1839
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1840
|
-
if (!this.
|
|
1840
|
+
if (!this.l2m_1.equals(tmp0_other_with_cast.l2m_1))
|
|
1841
1841
|
return false;
|
|
1842
|
-
if (!this.
|
|
1842
|
+
if (!this.m2m_1.equals(tmp0_other_with_cast.m2m_1))
|
|
1843
1843
|
return false;
|
|
1844
|
-
if (!(this.
|
|
1844
|
+
if (!(this.n2m_1 === tmp0_other_with_cast.n2m_1))
|
|
1845
1845
|
return false;
|
|
1846
|
-
if (!this.
|
|
1846
|
+
if (!this.o2m_1.equals(tmp0_other_with_cast.o2m_1))
|
|
1847
1847
|
return false;
|
|
1848
|
-
if (!(this.
|
|
1848
|
+
if (!(this.p2m_1 == tmp0_other_with_cast.p2m_1))
|
|
1849
1849
|
return false;
|
|
1850
1850
|
return true;
|
|
1851
1851
|
};
|
|
1852
1852
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1853
1853
|
function Team(playerIds) {
|
|
1854
|
-
this.
|
|
1854
|
+
this.p2n_1 = playerIds;
|
|
1855
1855
|
}
|
|
1856
1856
|
Team.prototype.toString = function () {
|
|
1857
|
-
return 'Team(playerIds=' + this.
|
|
1857
|
+
return 'Team(playerIds=' + this.p2n_1 + ')';
|
|
1858
1858
|
};
|
|
1859
1859
|
Team.prototype.hashCode = function () {
|
|
1860
|
-
return hashCode(this.
|
|
1860
|
+
return hashCode(this.p2n_1);
|
|
1861
1861
|
};
|
|
1862
1862
|
Team.prototype.equals = function (other) {
|
|
1863
1863
|
if (this === other)
|
|
@@ -1865,7 +1865,7 @@
|
|
|
1865
1865
|
if (!(other instanceof Team))
|
|
1866
1866
|
return false;
|
|
1867
1867
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1868
|
-
if (!equals(this.
|
|
1868
|
+
if (!equals(this.p2n_1, tmp0_other_with_cast.p2n_1))
|
|
1869
1869
|
return false;
|
|
1870
1870
|
return true;
|
|
1871
1871
|
};
|
|
@@ -1897,190 +1897,190 @@
|
|
|
1897
1897
|
}
|
|
1898
1898
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1899
1899
|
Companion_getInstance_11();
|
|
1900
|
-
this.
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1903
|
-
this.
|
|
1904
|
-
this.
|
|
1905
|
-
this.
|
|
1906
|
-
this.
|
|
1907
|
-
this.
|
|
1908
|
-
this.
|
|
1909
|
-
this.
|
|
1910
|
-
this.
|
|
1911
|
-
this.
|
|
1912
|
-
this.
|
|
1913
|
-
this.
|
|
1914
|
-
this.
|
|
1915
|
-
this.
|
|
1916
|
-
this.
|
|
1900
|
+
this.q2n_1 = needToPutHigherTrump;
|
|
1901
|
+
this.r2n_1 = distributePoints;
|
|
1902
|
+
this.s2n_1 = protectBella;
|
|
1903
|
+
this.t2n_1 = oneTryToProtectBella;
|
|
1904
|
+
this.u2n_1 = enableFourSevensCombination;
|
|
1905
|
+
this.v2n_1 = enableTrumpSevenCombination;
|
|
1906
|
+
this.w2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1907
|
+
this.x2n_1 = playerWhoChooseSuitGoFirst;
|
|
1908
|
+
this.y2n_1 = winnerShuffleCards;
|
|
1909
|
+
this.z2n_1 = playWithoutLiabilities;
|
|
1910
|
+
this.a2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1911
|
+
this.b2o_1 = enableFineIfNoBribes;
|
|
1912
|
+
this.c2o_1 = fineIfNoBribes;
|
|
1913
|
+
this.d2o_1 = enableFineAfterThirdByte;
|
|
1914
|
+
this.e2o_1 = checkTrumpCombination;
|
|
1915
|
+
this.f2o_1 = checkOnlyTrumpDebertz;
|
|
1916
|
+
this.g2o_1 = tenCardsInHand;
|
|
1917
1917
|
}
|
|
1918
|
-
Rules.prototype.
|
|
1919
|
-
return this.
|
|
1918
|
+
Rules.prototype.h2o = function () {
|
|
1919
|
+
return this.q2n_1;
|
|
1920
1920
|
};
|
|
1921
|
-
Rules.prototype.
|
|
1922
|
-
return this.
|
|
1921
|
+
Rules.prototype.i2o = function () {
|
|
1922
|
+
return this.r2n_1;
|
|
1923
1923
|
};
|
|
1924
|
-
Rules.prototype.
|
|
1925
|
-
return this.
|
|
1924
|
+
Rules.prototype.j2o = function () {
|
|
1925
|
+
return this.s2n_1;
|
|
1926
1926
|
};
|
|
1927
|
-
Rules.prototype.
|
|
1928
|
-
return this.
|
|
1927
|
+
Rules.prototype.k2o = function () {
|
|
1928
|
+
return this.t2n_1;
|
|
1929
1929
|
};
|
|
1930
|
-
Rules.prototype.
|
|
1931
|
-
return this.
|
|
1930
|
+
Rules.prototype.l2o = function () {
|
|
1931
|
+
return this.u2n_1;
|
|
1932
1932
|
};
|
|
1933
|
-
Rules.prototype.
|
|
1934
|
-
return this.
|
|
1933
|
+
Rules.prototype.m2o = function () {
|
|
1934
|
+
return this.v2n_1;
|
|
1935
1935
|
};
|
|
1936
|
-
Rules.prototype.
|
|
1937
|
-
return this.
|
|
1936
|
+
Rules.prototype.n2o = function () {
|
|
1937
|
+
return this.w2n_1;
|
|
1938
1938
|
};
|
|
1939
|
-
Rules.prototype.
|
|
1940
|
-
return this.
|
|
1939
|
+
Rules.prototype.o2o = function () {
|
|
1940
|
+
return this.x2n_1;
|
|
1941
1941
|
};
|
|
1942
|
-
Rules.prototype.
|
|
1943
|
-
return this.
|
|
1942
|
+
Rules.prototype.p2o = function () {
|
|
1943
|
+
return this.y2n_1;
|
|
1944
1944
|
};
|
|
1945
|
-
Rules.prototype.
|
|
1946
|
-
return this.
|
|
1945
|
+
Rules.prototype.q2o = function () {
|
|
1946
|
+
return this.z2n_1;
|
|
1947
1947
|
};
|
|
1948
|
-
Rules.prototype.
|
|
1949
|
-
return this.
|
|
1948
|
+
Rules.prototype.r2o = function () {
|
|
1949
|
+
return this.a2o_1;
|
|
1950
1950
|
};
|
|
1951
|
-
Rules.prototype.
|
|
1952
|
-
return this.
|
|
1951
|
+
Rules.prototype.s2o = function () {
|
|
1952
|
+
return this.b2o_1;
|
|
1953
1953
|
};
|
|
1954
|
-
Rules.prototype.
|
|
1955
|
-
return this.
|
|
1954
|
+
Rules.prototype.t2o = function () {
|
|
1955
|
+
return this.c2o_1;
|
|
1956
1956
|
};
|
|
1957
|
-
Rules.prototype.
|
|
1958
|
-
return this.
|
|
1957
|
+
Rules.prototype.u2o = function () {
|
|
1958
|
+
return this.d2o_1;
|
|
1959
1959
|
};
|
|
1960
|
-
Rules.prototype.
|
|
1961
|
-
return this.
|
|
1960
|
+
Rules.prototype.v2o = function () {
|
|
1961
|
+
return this.e2o_1;
|
|
1962
1962
|
};
|
|
1963
|
-
Rules.prototype.
|
|
1964
|
-
return this.
|
|
1963
|
+
Rules.prototype.w2o = function () {
|
|
1964
|
+
return this.f2o_1;
|
|
1965
1965
|
};
|
|
1966
|
-
Rules.prototype.
|
|
1967
|
-
return this.
|
|
1966
|
+
Rules.prototype.x2o = function () {
|
|
1967
|
+
return this.g2o_1;
|
|
1968
1968
|
};
|
|
1969
1969
|
Rules.prototype.component1 = function () {
|
|
1970
|
-
return this.
|
|
1970
|
+
return this.q2n_1;
|
|
1971
1971
|
};
|
|
1972
1972
|
Rules.prototype.component2 = function () {
|
|
1973
|
-
return this.
|
|
1973
|
+
return this.r2n_1;
|
|
1974
1974
|
};
|
|
1975
1975
|
Rules.prototype.component3 = function () {
|
|
1976
|
-
return this.
|
|
1976
|
+
return this.s2n_1;
|
|
1977
1977
|
};
|
|
1978
1978
|
Rules.prototype.component4 = function () {
|
|
1979
|
-
return this.
|
|
1979
|
+
return this.t2n_1;
|
|
1980
1980
|
};
|
|
1981
1981
|
Rules.prototype.component5 = function () {
|
|
1982
|
-
return this.
|
|
1982
|
+
return this.u2n_1;
|
|
1983
1983
|
};
|
|
1984
1984
|
Rules.prototype.component6 = function () {
|
|
1985
|
-
return this.
|
|
1985
|
+
return this.v2n_1;
|
|
1986
1986
|
};
|
|
1987
1987
|
Rules.prototype.component7 = function () {
|
|
1988
|
-
return this.
|
|
1988
|
+
return this.w2n_1;
|
|
1989
1989
|
};
|
|
1990
1990
|
Rules.prototype.component8 = function () {
|
|
1991
|
-
return this.
|
|
1991
|
+
return this.x2n_1;
|
|
1992
1992
|
};
|
|
1993
1993
|
Rules.prototype.component9 = function () {
|
|
1994
|
-
return this.
|
|
1994
|
+
return this.y2n_1;
|
|
1995
1995
|
};
|
|
1996
1996
|
Rules.prototype.component10 = function () {
|
|
1997
|
-
return this.
|
|
1997
|
+
return this.z2n_1;
|
|
1998
1998
|
};
|
|
1999
1999
|
Rules.prototype.component11 = function () {
|
|
2000
|
-
return this.
|
|
2000
|
+
return this.a2o_1;
|
|
2001
2001
|
};
|
|
2002
2002
|
Rules.prototype.component12 = function () {
|
|
2003
|
-
return this.
|
|
2003
|
+
return this.b2o_1;
|
|
2004
2004
|
};
|
|
2005
2005
|
Rules.prototype.component13 = function () {
|
|
2006
|
-
return this.
|
|
2006
|
+
return this.c2o_1;
|
|
2007
2007
|
};
|
|
2008
2008
|
Rules.prototype.component14 = function () {
|
|
2009
|
-
return this.
|
|
2009
|
+
return this.d2o_1;
|
|
2010
2010
|
};
|
|
2011
2011
|
Rules.prototype.component15 = function () {
|
|
2012
|
-
return this.
|
|
2012
|
+
return this.e2o_1;
|
|
2013
2013
|
};
|
|
2014
2014
|
Rules.prototype.component16 = function () {
|
|
2015
|
-
return this.
|
|
2015
|
+
return this.f2o_1;
|
|
2016
2016
|
};
|
|
2017
2017
|
Rules.prototype.component17 = function () {
|
|
2018
|
-
return this.
|
|
2018
|
+
return this.g2o_1;
|
|
2019
2019
|
};
|
|
2020
2020
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2021
|
-
return this.
|
|
2021
|
+
return this.y2o(needToPutHigherTrump === void 1 ? this.q2n_1 : needToPutHigherTrump, distributePoints === void 1 ? this.r2n_1 : distributePoints, protectBella === void 1 ? this.s2n_1 : protectBella, oneTryToProtectBella === void 1 ? this.t2n_1 : oneTryToProtectBella, enableFourSevensCombination === void 1 ? this.u2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.v2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.w2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.x2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.y2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.z2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.a2o_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.b2o_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.c2o_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.d2o_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.e2o_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.f2o_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.g2o_1 : tenCardsInHand);
|
|
2022
2022
|
};
|
|
2023
|
-
Rules.prototype.
|
|
2023
|
+
Rules.prototype.y2o = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2024
2024
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2025
2025
|
};
|
|
2026
|
-
Rules.prototype.
|
|
2026
|
+
Rules.prototype.z2o = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
2027
2027
|
if (!(($mask0 & 1) === 0))
|
|
2028
|
-
needToPutHigherTrump = this.
|
|
2028
|
+
needToPutHigherTrump = this.q2n_1;
|
|
2029
2029
|
if (!(($mask0 & 2) === 0))
|
|
2030
|
-
distributePoints = this.
|
|
2030
|
+
distributePoints = this.r2n_1;
|
|
2031
2031
|
if (!(($mask0 & 4) === 0))
|
|
2032
|
-
protectBella = this.
|
|
2032
|
+
protectBella = this.s2n_1;
|
|
2033
2033
|
if (!(($mask0 & 8) === 0))
|
|
2034
|
-
oneTryToProtectBella = this.
|
|
2034
|
+
oneTryToProtectBella = this.t2n_1;
|
|
2035
2035
|
if (!(($mask0 & 16) === 0))
|
|
2036
|
-
enableFourSevensCombination = this.
|
|
2036
|
+
enableFourSevensCombination = this.u2n_1;
|
|
2037
2037
|
if (!(($mask0 & 32) === 0))
|
|
2038
|
-
enableTrumpSevenCombination = this.
|
|
2038
|
+
enableTrumpSevenCombination = this.v2n_1;
|
|
2039
2039
|
if (!(($mask0 & 64) === 0))
|
|
2040
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
2040
|
+
enableTrumpSevenCombinationAfterDistribution = this.w2n_1;
|
|
2041
2041
|
if (!(($mask0 & 128) === 0))
|
|
2042
|
-
playerWhoChooseSuitGoFirst = this.
|
|
2042
|
+
playerWhoChooseSuitGoFirst = this.x2n_1;
|
|
2043
2043
|
if (!(($mask0 & 256) === 0))
|
|
2044
|
-
winnerShuffleCards = this.
|
|
2044
|
+
winnerShuffleCards = this.y2n_1;
|
|
2045
2045
|
if (!(($mask0 & 512) === 0))
|
|
2046
|
-
playWithoutLiabilities = this.
|
|
2046
|
+
playWithoutLiabilities = this.z2n_1;
|
|
2047
2047
|
if (!(($mask0 & 1024) === 0))
|
|
2048
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
2048
|
+
trumpCardGoToPlayerWhoShuffleCards = this.a2o_1;
|
|
2049
2049
|
if (!(($mask0 & 2048) === 0))
|
|
2050
|
-
enableFineIfNoBribes = this.
|
|
2050
|
+
enableFineIfNoBribes = this.b2o_1;
|
|
2051
2051
|
if (!(($mask0 & 4096) === 0))
|
|
2052
|
-
fineIfNoBribes = this.
|
|
2052
|
+
fineIfNoBribes = this.c2o_1;
|
|
2053
2053
|
if (!(($mask0 & 8192) === 0))
|
|
2054
|
-
enableFineAfterThirdByte = this.
|
|
2054
|
+
enableFineAfterThirdByte = this.d2o_1;
|
|
2055
2055
|
if (!(($mask0 & 16384) === 0))
|
|
2056
|
-
checkTrumpCombination = this.
|
|
2056
|
+
checkTrumpCombination = this.e2o_1;
|
|
2057
2057
|
if (!(($mask0 & 32768) === 0))
|
|
2058
|
-
checkOnlyTrumpDebertz = this.
|
|
2058
|
+
checkOnlyTrumpDebertz = this.f2o_1;
|
|
2059
2059
|
if (!(($mask0 & 65536) === 0))
|
|
2060
|
-
tenCardsInHand = this.
|
|
2061
|
-
return this.
|
|
2060
|
+
tenCardsInHand = this.g2o_1;
|
|
2061
|
+
return this.y2o(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2062
2062
|
};
|
|
2063
2063
|
Rules.prototype.toString = function () {
|
|
2064
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
2064
|
+
return 'Rules(needToPutHigherTrump=' + this.q2n_1 + ', distributePoints=' + this.r2n_1 + ', protectBella=' + this.s2n_1 + ', oneTryToProtectBella=' + this.t2n_1 + ', enableFourSevensCombination=' + this.u2n_1 + ', enableTrumpSevenCombination=' + this.v2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.w2n_1 + ', playerWhoChooseSuitGoFirst=' + this.x2n_1 + ', winnerShuffleCards=' + this.y2n_1 + ', playWithoutLiabilities=' + this.z2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.a2o_1 + ', enableFineIfNoBribes=' + this.b2o_1 + ', fineIfNoBribes=' + this.c2o_1 + ', enableFineAfterThirdByte=' + this.d2o_1 + ', checkTrumpCombination=' + this.e2o_1 + ', checkOnlyTrumpDebertz=' + this.f2o_1 + ', tenCardsInHand=' + this.g2o_1 + ')';
|
|
2065
2065
|
};
|
|
2066
2066
|
Rules.prototype.hashCode = function () {
|
|
2067
|
-
var result = this.
|
|
2068
|
-
result = imul(result, 31) + (this.
|
|
2069
|
-
result = imul(result, 31) + (this.
|
|
2070
|
-
result = imul(result, 31) + (this.
|
|
2071
|
-
result = imul(result, 31) + (this.
|
|
2072
|
-
result = imul(result, 31) + (this.
|
|
2073
|
-
result = imul(result, 31) + (this.
|
|
2074
|
-
result = imul(result, 31) + (this.
|
|
2075
|
-
result = imul(result, 31) + (this.
|
|
2076
|
-
result = imul(result, 31) + (this.
|
|
2077
|
-
result = imul(result, 31) + (this.
|
|
2078
|
-
result = imul(result, 31) + (this.
|
|
2079
|
-
result = imul(result, 31) + this.
|
|
2080
|
-
result = imul(result, 31) + (this.
|
|
2081
|
-
result = imul(result, 31) + (this.
|
|
2082
|
-
result = imul(result, 31) + (this.
|
|
2083
|
-
result = imul(result, 31) + (this.
|
|
2067
|
+
var result = this.q2n_1 | 0;
|
|
2068
|
+
result = imul(result, 31) + (this.r2n_1 | 0) | 0;
|
|
2069
|
+
result = imul(result, 31) + (this.s2n_1 | 0) | 0;
|
|
2070
|
+
result = imul(result, 31) + (this.t2n_1 | 0) | 0;
|
|
2071
|
+
result = imul(result, 31) + (this.u2n_1 | 0) | 0;
|
|
2072
|
+
result = imul(result, 31) + (this.v2n_1 | 0) | 0;
|
|
2073
|
+
result = imul(result, 31) + (this.w2n_1 | 0) | 0;
|
|
2074
|
+
result = imul(result, 31) + (this.x2n_1 | 0) | 0;
|
|
2075
|
+
result = imul(result, 31) + (this.y2n_1 | 0) | 0;
|
|
2076
|
+
result = imul(result, 31) + (this.z2n_1 | 0) | 0;
|
|
2077
|
+
result = imul(result, 31) + (this.a2o_1 | 0) | 0;
|
|
2078
|
+
result = imul(result, 31) + (this.b2o_1 | 0) | 0;
|
|
2079
|
+
result = imul(result, 31) + this.c2o_1 | 0;
|
|
2080
|
+
result = imul(result, 31) + (this.d2o_1 | 0) | 0;
|
|
2081
|
+
result = imul(result, 31) + (this.e2o_1 | 0) | 0;
|
|
2082
|
+
result = imul(result, 31) + (this.f2o_1 | 0) | 0;
|
|
2083
|
+
result = imul(result, 31) + (this.g2o_1 | 0) | 0;
|
|
2084
2084
|
return result;
|
|
2085
2085
|
};
|
|
2086
2086
|
Rules.prototype.equals = function (other) {
|
|
@@ -2089,110 +2089,110 @@
|
|
|
2089
2089
|
if (!(other instanceof Rules))
|
|
2090
2090
|
return false;
|
|
2091
2091
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
2092
|
-
if (!(this.
|
|
2092
|
+
if (!(this.q2n_1 === tmp0_other_with_cast.q2n_1))
|
|
2093
2093
|
return false;
|
|
2094
|
-
if (!(this.
|
|
2094
|
+
if (!(this.r2n_1 === tmp0_other_with_cast.r2n_1))
|
|
2095
2095
|
return false;
|
|
2096
|
-
if (!(this.
|
|
2096
|
+
if (!(this.s2n_1 === tmp0_other_with_cast.s2n_1))
|
|
2097
2097
|
return false;
|
|
2098
|
-
if (!(this.
|
|
2098
|
+
if (!(this.t2n_1 === tmp0_other_with_cast.t2n_1))
|
|
2099
2099
|
return false;
|
|
2100
|
-
if (!(this.
|
|
2100
|
+
if (!(this.u2n_1 === tmp0_other_with_cast.u2n_1))
|
|
2101
2101
|
return false;
|
|
2102
|
-
if (!(this.
|
|
2102
|
+
if (!(this.v2n_1 === tmp0_other_with_cast.v2n_1))
|
|
2103
2103
|
return false;
|
|
2104
|
-
if (!(this.
|
|
2104
|
+
if (!(this.w2n_1 === tmp0_other_with_cast.w2n_1))
|
|
2105
2105
|
return false;
|
|
2106
|
-
if (!(this.
|
|
2106
|
+
if (!(this.x2n_1 === tmp0_other_with_cast.x2n_1))
|
|
2107
2107
|
return false;
|
|
2108
|
-
if (!(this.
|
|
2108
|
+
if (!(this.y2n_1 === tmp0_other_with_cast.y2n_1))
|
|
2109
2109
|
return false;
|
|
2110
|
-
if (!(this.
|
|
2110
|
+
if (!(this.z2n_1 === tmp0_other_with_cast.z2n_1))
|
|
2111
2111
|
return false;
|
|
2112
|
-
if (!(this.
|
|
2112
|
+
if (!(this.a2o_1 === tmp0_other_with_cast.a2o_1))
|
|
2113
2113
|
return false;
|
|
2114
|
-
if (!(this.
|
|
2114
|
+
if (!(this.b2o_1 === tmp0_other_with_cast.b2o_1))
|
|
2115
2115
|
return false;
|
|
2116
|
-
if (!(this.
|
|
2116
|
+
if (!(this.c2o_1 === tmp0_other_with_cast.c2o_1))
|
|
2117
2117
|
return false;
|
|
2118
|
-
if (!(this.
|
|
2118
|
+
if (!(this.d2o_1 === tmp0_other_with_cast.d2o_1))
|
|
2119
2119
|
return false;
|
|
2120
|
-
if (!(this.
|
|
2120
|
+
if (!(this.e2o_1 === tmp0_other_with_cast.e2o_1))
|
|
2121
2121
|
return false;
|
|
2122
|
-
if (!(this.
|
|
2122
|
+
if (!(this.f2o_1 === tmp0_other_with_cast.f2o_1))
|
|
2123
2123
|
return false;
|
|
2124
|
-
if (!(this.
|
|
2124
|
+
if (!(this.g2o_1 === tmp0_other_with_cast.g2o_1))
|
|
2125
2125
|
return false;
|
|
2126
2126
|
return true;
|
|
2127
2127
|
};
|
|
2128
2128
|
Rules.$metadata$ = classMeta('Rules');
|
|
2129
2129
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
2130
2130
|
configurable: true,
|
|
2131
|
-
get: Rules.prototype.
|
|
2131
|
+
get: Rules.prototype.h2o
|
|
2132
2132
|
});
|
|
2133
2133
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
2134
2134
|
configurable: true,
|
|
2135
|
-
get: Rules.prototype.
|
|
2135
|
+
get: Rules.prototype.i2o
|
|
2136
2136
|
});
|
|
2137
2137
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
2138
2138
|
configurable: true,
|
|
2139
|
-
get: Rules.prototype.
|
|
2139
|
+
get: Rules.prototype.j2o
|
|
2140
2140
|
});
|
|
2141
2141
|
Object.defineProperty(Rules.prototype, 'oneTryToProtectBella', {
|
|
2142
2142
|
configurable: true,
|
|
2143
|
-
get: Rules.prototype.
|
|
2143
|
+
get: Rules.prototype.k2o
|
|
2144
2144
|
});
|
|
2145
2145
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
2146
2146
|
configurable: true,
|
|
2147
|
-
get: Rules.prototype.
|
|
2147
|
+
get: Rules.prototype.l2o
|
|
2148
2148
|
});
|
|
2149
2149
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
2150
2150
|
configurable: true,
|
|
2151
|
-
get: Rules.prototype.
|
|
2151
|
+
get: Rules.prototype.m2o
|
|
2152
2152
|
});
|
|
2153
2153
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
2154
2154
|
configurable: true,
|
|
2155
|
-
get: Rules.prototype.
|
|
2155
|
+
get: Rules.prototype.n2o
|
|
2156
2156
|
});
|
|
2157
2157
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
2158
2158
|
configurable: true,
|
|
2159
|
-
get: Rules.prototype.
|
|
2159
|
+
get: Rules.prototype.o2o
|
|
2160
2160
|
});
|
|
2161
2161
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
2162
2162
|
configurable: true,
|
|
2163
|
-
get: Rules.prototype.
|
|
2163
|
+
get: Rules.prototype.p2o
|
|
2164
2164
|
});
|
|
2165
2165
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
2166
2166
|
configurable: true,
|
|
2167
|
-
get: Rules.prototype.
|
|
2167
|
+
get: Rules.prototype.q2o
|
|
2168
2168
|
});
|
|
2169
2169
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
2170
2170
|
configurable: true,
|
|
2171
|
-
get: Rules.prototype.
|
|
2171
|
+
get: Rules.prototype.r2o
|
|
2172
2172
|
});
|
|
2173
2173
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
2174
2174
|
configurable: true,
|
|
2175
|
-
get: Rules.prototype.
|
|
2175
|
+
get: Rules.prototype.s2o
|
|
2176
2176
|
});
|
|
2177
2177
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
2178
2178
|
configurable: true,
|
|
2179
|
-
get: Rules.prototype.
|
|
2179
|
+
get: Rules.prototype.t2o
|
|
2180
2180
|
});
|
|
2181
2181
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
2182
2182
|
configurable: true,
|
|
2183
|
-
get: Rules.prototype.
|
|
2183
|
+
get: Rules.prototype.u2o
|
|
2184
2184
|
});
|
|
2185
2185
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
2186
2186
|
configurable: true,
|
|
2187
|
-
get: Rules.prototype.
|
|
2187
|
+
get: Rules.prototype.v2o
|
|
2188
2188
|
});
|
|
2189
2189
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
2190
2190
|
configurable: true,
|
|
2191
|
-
get: Rules.prototype.
|
|
2191
|
+
get: Rules.prototype.w2o
|
|
2192
2192
|
});
|
|
2193
2193
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
2194
2194
|
configurable: true,
|
|
2195
|
-
get: Rules.prototype.
|
|
2195
|
+
get: Rules.prototype.x2o
|
|
2196
2196
|
});
|
|
2197
2197
|
var RulesSetType_belot_instance;
|
|
2198
2198
|
var RulesSetType_klabor_instance;
|
|
@@ -2264,25 +2264,25 @@
|
|
|
2264
2264
|
return RulesSetType_custom_instance;
|
|
2265
2265
|
}
|
|
2266
2266
|
function mapToDto(_this__u8e3s4) {
|
|
2267
|
-
return _this__u8e3s4.
|
|
2267
|
+
return _this__u8e3s4.c2p_1;
|
|
2268
2268
|
}
|
|
2269
2269
|
function mapFromDto(_this__u8e3s4) {
|
|
2270
2270
|
return new GameCard(_this__u8e3s4);
|
|
2271
2271
|
}
|
|
2272
2272
|
function mapToDto_0(_this__u8e3s4) {
|
|
2273
|
-
return _this__u8e3s4.
|
|
2273
|
+
return _this__u8e3s4.e2p_1.c2p_1;
|
|
2274
2274
|
}
|
|
2275
2275
|
function mapToDto_1(_this__u8e3s4) {
|
|
2276
|
-
return RulesDto_init_$Create$(_this__u8e3s4.
|
|
2276
|
+
return RulesDto_init_$Create$(_this__u8e3s4.q2n_1, _this__u8e3s4.r2n_1, _this__u8e3s4.s2n_1, null, _this__u8e3s4.u2n_1, _this__u8e3s4.v2n_1, _this__u8e3s4.w2n_1, _this__u8e3s4.x2n_1, _this__u8e3s4.y2n_1, _this__u8e3s4.z2n_1, _this__u8e3s4.a2o_1, _this__u8e3s4.b2o_1, _this__u8e3s4.c2o_1, _this__u8e3s4.d2o_1, _this__u8e3s4.e2o_1, _this__u8e3s4.f2o_1, _this__u8e3s4.g2o_1, 8, null);
|
|
2277
2277
|
}
|
|
2278
2278
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2279
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2280
|
-
return new Rules(_this__u8e3s4.
|
|
2279
|
+
var tmp0_elvis_lhs = _this__u8e3s4.i2p_1;
|
|
2280
|
+
return new Rules(_this__u8e3s4.f2p_1, _this__u8e3s4.g2p_1, _this__u8e3s4.h2p_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.j2p_1, _this__u8e3s4.k2p_1, _this__u8e3s4.l2p_1, _this__u8e3s4.m2p_1, _this__u8e3s4.n2p_1, _this__u8e3s4.o2p_1, _this__u8e3s4.p2p_1, _this__u8e3s4.q2p_1, _this__u8e3s4.r2p_1, _this__u8e3s4.s2p_1, _this__u8e3s4.t2p_1, _this__u8e3s4.u2p_1, _this__u8e3s4.v2p_1);
|
|
2281
2281
|
}
|
|
2282
2282
|
function mapToDto_2(_this__u8e3s4) {
|
|
2283
2283
|
var tmp$ret$1;
|
|
2284
2284
|
// Inline function 'kotlin.takeIf' call
|
|
2285
|
-
var tmp0_takeIf = _this__u8e3s4.
|
|
2285
|
+
var tmp0_takeIf = _this__u8e3s4.e2m_1;
|
|
2286
2286
|
// Inline function 'kotlin.contracts.contract' call
|
|
2287
2287
|
var tmp;
|
|
2288
2288
|
var tmp$ret$0;
|
|
@@ -2294,25 +2294,25 @@
|
|
|
2294
2294
|
tmp = null;
|
|
2295
2295
|
}
|
|
2296
2296
|
tmp$ret$1 = tmp;
|
|
2297
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2297
|
+
return new GameUserInfoDto(_this__u8e3s4.b2m_1, _this__u8e3s4.c2m_1, _this__u8e3s4.d2m_1, tmp$ret$1);
|
|
2298
2298
|
}
|
|
2299
2299
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2300
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2300
|
+
var tmp0_elvis_lhs = _this__u8e3s4.z2p_1;
|
|
2301
2301
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2302
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2302
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.w2p_1, _this__u8e3s4.x2p_1, _this__u8e3s4.y2p_1, tmp, null, 16, null);
|
|
2303
2303
|
}
|
|
2304
2304
|
function mapToDto_3(_this__u8e3s4) {
|
|
2305
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2306
|
-
var tmp1_state = _this__u8e3s4.
|
|
2307
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2308
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2305
|
+
var tmp0_startFromTime = _this__u8e3s4.l2m_1;
|
|
2306
|
+
var tmp1_state = _this__u8e3s4.m2m_1;
|
|
2307
|
+
var tmp2_tag = _this__u8e3s4.p2m_1;
|
|
2308
|
+
var tmp3_ready = _this__u8e3s4.n2m_1;
|
|
2309
2309
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2310
2310
|
}
|
|
2311
2311
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2312
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2313
|
-
var tmp1_state = _this__u8e3s4.
|
|
2314
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2315
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2312
|
+
var tmp0_startFromTime = _this__u8e3s4.a2q_1;
|
|
2313
|
+
var tmp1_state = _this__u8e3s4.b2q_1;
|
|
2314
|
+
var tmp2_tag = _this__u8e3s4.d2q_1;
|
|
2315
|
+
var tmp3_ready = _this__u8e3s4.c2q_1;
|
|
2316
2316
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2317
2317
|
}
|
|
2318
2318
|
function Companion_12() {
|
|
@@ -2328,16 +2328,16 @@
|
|
|
2328
2328
|
function $serializer_5() {
|
|
2329
2329
|
$serializer_instance_5 = this;
|
|
2330
2330
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 4);
|
|
2331
|
-
tmp0_serialDesc.
|
|
2332
|
-
tmp0_serialDesc.
|
|
2333
|
-
tmp0_serialDesc.
|
|
2334
|
-
tmp0_serialDesc.
|
|
2335
|
-
this.
|
|
2331
|
+
tmp0_serialDesc.a1t('playerId', false);
|
|
2332
|
+
tmp0_serialDesc.a1t('name', false);
|
|
2333
|
+
tmp0_serialDesc.a1t('avatarUrl', false);
|
|
2334
|
+
tmp0_serialDesc.a1t('isBot', true);
|
|
2335
|
+
this.e2q_1 = tmp0_serialDesc;
|
|
2336
2336
|
}
|
|
2337
|
-
$serializer_5.prototype.
|
|
2338
|
-
return this.
|
|
2337
|
+
$serializer_5.prototype.l1i = function () {
|
|
2338
|
+
return this.e2q_1;
|
|
2339
2339
|
};
|
|
2340
|
-
$serializer_5.prototype.
|
|
2340
|
+
$serializer_5.prototype.p1t = function () {
|
|
2341
2341
|
var tmp$ret$2;
|
|
2342
2342
|
// Inline function 'kotlin.arrayOf' call
|
|
2343
2343
|
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance())];
|
|
@@ -2350,8 +2350,8 @@
|
|
|
2350
2350
|
tmp$ret$2 = tmp$ret$1;
|
|
2351
2351
|
return tmp$ret$2;
|
|
2352
2352
|
};
|
|
2353
|
-
$serializer_5.prototype.
|
|
2354
|
-
var tmp0_desc = this.
|
|
2353
|
+
$serializer_5.prototype.n1i = function (decoder) {
|
|
2354
|
+
var tmp0_desc = this.e2q_1;
|
|
2355
2355
|
var tmp1_flag = true;
|
|
2356
2356
|
var tmp2_index = 0;
|
|
2357
2357
|
var tmp3_bitMask0 = 0;
|
|
@@ -2359,59 +2359,59 @@
|
|
|
2359
2359
|
var tmp5_local1 = null;
|
|
2360
2360
|
var tmp6_local2 = null;
|
|
2361
2361
|
var tmp7_local3 = null;
|
|
2362
|
-
var tmp8_input = decoder.
|
|
2363
|
-
if (tmp8_input.
|
|
2364
|
-
tmp4_local0 = tmp8_input.
|
|
2362
|
+
var tmp8_input = decoder.t1l(tmp0_desc);
|
|
2363
|
+
if (tmp8_input.i1m()) {
|
|
2364
|
+
tmp4_local0 = tmp8_input.d1m(tmp0_desc, 0);
|
|
2365
2365
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2366
|
-
tmp5_local1 = tmp8_input.
|
|
2366
|
+
tmp5_local1 = tmp8_input.d1m(tmp0_desc, 1);
|
|
2367
2367
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2368
|
-
tmp6_local2 = tmp8_input.
|
|
2368
|
+
tmp6_local2 = tmp8_input.d1m(tmp0_desc, 2);
|
|
2369
2369
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2370
|
-
tmp7_local3 = tmp8_input.
|
|
2370
|
+
tmp7_local3 = tmp8_input.h1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2371
2371
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2372
2372
|
} else
|
|
2373
2373
|
while (tmp1_flag) {
|
|
2374
|
-
tmp2_index = tmp8_input.
|
|
2374
|
+
tmp2_index = tmp8_input.j1m(tmp0_desc);
|
|
2375
2375
|
switch (tmp2_index) {
|
|
2376
2376
|
case -1:
|
|
2377
2377
|
tmp1_flag = false;
|
|
2378
2378
|
break;
|
|
2379
2379
|
case 0:
|
|
2380
|
-
tmp4_local0 = tmp8_input.
|
|
2380
|
+
tmp4_local0 = tmp8_input.d1m(tmp0_desc, 0);
|
|
2381
2381
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2382
2382
|
break;
|
|
2383
2383
|
case 1:
|
|
2384
|
-
tmp5_local1 = tmp8_input.
|
|
2384
|
+
tmp5_local1 = tmp8_input.d1m(tmp0_desc, 1);
|
|
2385
2385
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2386
2386
|
break;
|
|
2387
2387
|
case 2:
|
|
2388
|
-
tmp6_local2 = tmp8_input.
|
|
2388
|
+
tmp6_local2 = tmp8_input.d1m(tmp0_desc, 2);
|
|
2389
2389
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2390
2390
|
break;
|
|
2391
2391
|
case 3:
|
|
2392
|
-
tmp7_local3 = tmp8_input.
|
|
2392
|
+
tmp7_local3 = tmp8_input.h1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2393
2393
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2394
2394
|
break;
|
|
2395
2395
|
default:
|
|
2396
2396
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2397
2397
|
}
|
|
2398
2398
|
}
|
|
2399
|
-
tmp8_input.
|
|
2399
|
+
tmp8_input.u1l(tmp0_desc);
|
|
2400
2400
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2401
2401
|
};
|
|
2402
|
-
$serializer_5.prototype.
|
|
2403
|
-
var tmp0_desc = this.
|
|
2404
|
-
var tmp1_output = encoder.
|
|
2405
|
-
tmp1_output.
|
|
2406
|
-
tmp1_output.
|
|
2407
|
-
tmp1_output.
|
|
2408
|
-
if (tmp1_output.
|
|
2409
|
-
tmp1_output.
|
|
2402
|
+
$serializer_5.prototype.f2q = function (encoder, value) {
|
|
2403
|
+
var tmp0_desc = this.e2q_1;
|
|
2404
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
2405
|
+
tmp1_output.h1n(tmp0_desc, 0, value.w2p_1);
|
|
2406
|
+
tmp1_output.h1n(tmp0_desc, 1, value.x2p_1);
|
|
2407
|
+
tmp1_output.h1n(tmp0_desc, 2, value.y2p_1);
|
|
2408
|
+
if (tmp1_output.p1n(tmp0_desc, 3) ? true : !(value.z2p_1 === false)) {
|
|
2409
|
+
tmp1_output.l1n(tmp0_desc, 3, BooleanSerializer_getInstance(), value.z2p_1);
|
|
2410
2410
|
}
|
|
2411
|
-
tmp1_output.
|
|
2411
|
+
tmp1_output.u1l(tmp0_desc);
|
|
2412
2412
|
};
|
|
2413
|
-
$serializer_5.prototype.
|
|
2414
|
-
return this.
|
|
2413
|
+
$serializer_5.prototype.m1i = function (encoder, value) {
|
|
2414
|
+
return this.f2q(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2415
2415
|
};
|
|
2416
2416
|
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2417
2417
|
var $serializer_instance_5;
|
|
@@ -2422,15 +2422,15 @@
|
|
|
2422
2422
|
}
|
|
2423
2423
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2424
2424
|
if (!(7 === (7 & seen1))) {
|
|
2425
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2425
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().e2q_1);
|
|
2426
2426
|
}
|
|
2427
|
-
$this.
|
|
2428
|
-
$this.
|
|
2429
|
-
$this.
|
|
2427
|
+
$this.w2p_1 = playerId;
|
|
2428
|
+
$this.x2p_1 = name;
|
|
2429
|
+
$this.y2p_1 = avatarUrl;
|
|
2430
2430
|
if (0 === (seen1 & 8))
|
|
2431
|
-
$this.
|
|
2431
|
+
$this.z2p_1 = false;
|
|
2432
2432
|
else
|
|
2433
|
-
$this.
|
|
2433
|
+
$this.z2p_1 = isBot;
|
|
2434
2434
|
return $this;
|
|
2435
2435
|
}
|
|
2436
2436
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
@@ -2438,19 +2438,19 @@
|
|
|
2438
2438
|
}
|
|
2439
2439
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2440
2440
|
Companion_getInstance_12();
|
|
2441
|
-
this.
|
|
2442
|
-
this.
|
|
2443
|
-
this.
|
|
2444
|
-
this.
|
|
2441
|
+
this.w2p_1 = playerId;
|
|
2442
|
+
this.x2p_1 = name;
|
|
2443
|
+
this.y2p_1 = avatarUrl;
|
|
2444
|
+
this.z2p_1 = isBot;
|
|
2445
2445
|
}
|
|
2446
2446
|
GameUserInfoDto.prototype.toString = function () {
|
|
2447
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2447
|
+
return 'GameUserInfoDto(playerId=' + this.w2p_1 + ', name=' + this.x2p_1 + ', avatarUrl=' + this.y2p_1 + ', isBot=' + this.z2p_1 + ')';
|
|
2448
2448
|
};
|
|
2449
2449
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2450
|
-
var result = getStringHashCode(this.
|
|
2451
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2452
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2453
|
-
result = imul(result, 31) + (this.
|
|
2450
|
+
var result = getStringHashCode(this.w2p_1);
|
|
2451
|
+
result = imul(result, 31) + getStringHashCode(this.x2p_1) | 0;
|
|
2452
|
+
result = imul(result, 31) + getStringHashCode(this.y2p_1) | 0;
|
|
2453
|
+
result = imul(result, 31) + (this.z2p_1 == null ? 0 : this.z2p_1 | 0) | 0;
|
|
2454
2454
|
return result;
|
|
2455
2455
|
};
|
|
2456
2456
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2459,13 +2459,13 @@
|
|
|
2459
2459
|
if (!(other instanceof GameUserInfoDto))
|
|
2460
2460
|
return false;
|
|
2461
2461
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2462
|
-
if (!(this.
|
|
2462
|
+
if (!(this.w2p_1 === tmp0_other_with_cast.w2p_1))
|
|
2463
2463
|
return false;
|
|
2464
|
-
if (!(this.
|
|
2464
|
+
if (!(this.x2p_1 === tmp0_other_with_cast.x2p_1))
|
|
2465
2465
|
return false;
|
|
2466
|
-
if (!(this.
|
|
2466
|
+
if (!(this.y2p_1 === tmp0_other_with_cast.y2p_1))
|
|
2467
2467
|
return false;
|
|
2468
|
-
if (!(this.
|
|
2468
|
+
if (!(this.z2p_1 == tmp0_other_with_cast.z2p_1))
|
|
2469
2469
|
return false;
|
|
2470
2470
|
return true;
|
|
2471
2471
|
};
|
|
@@ -2483,19 +2483,19 @@
|
|
|
2483
2483
|
function $serializer_6() {
|
|
2484
2484
|
$serializer_instance_6 = this;
|
|
2485
2485
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 4);
|
|
2486
|
-
tmp0_serialDesc.
|
|
2487
|
-
tmp0_serialDesc.
|
|
2488
|
-
tmp0_serialDesc.
|
|
2489
|
-
tmp0_serialDesc.
|
|
2490
|
-
this.
|
|
2486
|
+
tmp0_serialDesc.a1t('startFromTime', false);
|
|
2487
|
+
tmp0_serialDesc.a1t('state', false);
|
|
2488
|
+
tmp0_serialDesc.a1t('ready', false);
|
|
2489
|
+
tmp0_serialDesc.a1t('tag', true);
|
|
2490
|
+
this.g2q_1 = tmp0_serialDesc;
|
|
2491
2491
|
}
|
|
2492
|
-
$serializer_6.prototype.
|
|
2493
|
-
return this.
|
|
2492
|
+
$serializer_6.prototype.l1i = function () {
|
|
2493
|
+
return this.g2q_1;
|
|
2494
2494
|
};
|
|
2495
|
-
$serializer_6.prototype.
|
|
2495
|
+
$serializer_6.prototype.p1t = function () {
|
|
2496
2496
|
var tmp$ret$2;
|
|
2497
2497
|
// Inline function 'kotlin.arrayOf' call
|
|
2498
|
-
var tmp0_arrayOf = [LongSerializer_getInstance(), Companion_getInstance_9().
|
|
2498
|
+
var tmp0_arrayOf = [LongSerializer_getInstance(), Companion_getInstance_9().n25(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2499
2499
|
var tmp$ret$1;
|
|
2500
2500
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2501
2501
|
var tmp$ret$0;
|
|
@@ -2505,8 +2505,8 @@
|
|
|
2505
2505
|
tmp$ret$2 = tmp$ret$1;
|
|
2506
2506
|
return tmp$ret$2;
|
|
2507
2507
|
};
|
|
2508
|
-
$serializer_6.prototype.
|
|
2509
|
-
var tmp0_desc = this.
|
|
2508
|
+
$serializer_6.prototype.n1i = function (decoder) {
|
|
2509
|
+
var tmp0_desc = this.g2q_1;
|
|
2510
2510
|
var tmp1_flag = true;
|
|
2511
2511
|
var tmp2_index = 0;
|
|
2512
2512
|
var tmp3_bitMask0 = 0;
|
|
@@ -2514,59 +2514,59 @@
|
|
|
2514
2514
|
var tmp5_local1 = null;
|
|
2515
2515
|
var tmp6_local2 = false;
|
|
2516
2516
|
var tmp7_local3 = null;
|
|
2517
|
-
var tmp8_input = decoder.
|
|
2518
|
-
if (tmp8_input.
|
|
2519
|
-
tmp4_local0 = tmp8_input.
|
|
2517
|
+
var tmp8_input = decoder.t1l(tmp0_desc);
|
|
2518
|
+
if (tmp8_input.i1m()) {
|
|
2519
|
+
tmp4_local0 = tmp8_input.z1l(tmp0_desc, 0);
|
|
2520
2520
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2521
|
-
tmp5_local1 = tmp8_input.
|
|
2521
|
+
tmp5_local1 = tmp8_input.f1m(tmp0_desc, 1, Companion_getInstance_9().n25(), tmp5_local1);
|
|
2522
2522
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2523
|
-
tmp6_local2 = tmp8_input.
|
|
2523
|
+
tmp6_local2 = tmp8_input.v1l(tmp0_desc, 2);
|
|
2524
2524
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2525
|
-
tmp7_local3 = tmp8_input.
|
|
2525
|
+
tmp7_local3 = tmp8_input.h1m(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2526
2526
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2527
2527
|
} else
|
|
2528
2528
|
while (tmp1_flag) {
|
|
2529
|
-
tmp2_index = tmp8_input.
|
|
2529
|
+
tmp2_index = tmp8_input.j1m(tmp0_desc);
|
|
2530
2530
|
switch (tmp2_index) {
|
|
2531
2531
|
case -1:
|
|
2532
2532
|
tmp1_flag = false;
|
|
2533
2533
|
break;
|
|
2534
2534
|
case 0:
|
|
2535
|
-
tmp4_local0 = tmp8_input.
|
|
2535
|
+
tmp4_local0 = tmp8_input.z1l(tmp0_desc, 0);
|
|
2536
2536
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2537
2537
|
break;
|
|
2538
2538
|
case 1:
|
|
2539
|
-
tmp5_local1 = tmp8_input.
|
|
2539
|
+
tmp5_local1 = tmp8_input.f1m(tmp0_desc, 1, Companion_getInstance_9().n25(), tmp5_local1);
|
|
2540
2540
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2541
2541
|
break;
|
|
2542
2542
|
case 2:
|
|
2543
|
-
tmp6_local2 = tmp8_input.
|
|
2543
|
+
tmp6_local2 = tmp8_input.v1l(tmp0_desc, 2);
|
|
2544
2544
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2545
2545
|
break;
|
|
2546
2546
|
case 3:
|
|
2547
|
-
tmp7_local3 = tmp8_input.
|
|
2547
|
+
tmp7_local3 = tmp8_input.h1m(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2548
2548
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2549
2549
|
break;
|
|
2550
2550
|
default:
|
|
2551
2551
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2552
2552
|
}
|
|
2553
2553
|
}
|
|
2554
|
-
tmp8_input.
|
|
2554
|
+
tmp8_input.u1l(tmp0_desc);
|
|
2555
2555
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2556
2556
|
};
|
|
2557
|
-
$serializer_6.prototype.
|
|
2558
|
-
var tmp0_desc = this.
|
|
2559
|
-
var tmp1_output = encoder.
|
|
2560
|
-
tmp1_output.
|
|
2561
|
-
tmp1_output.
|
|
2562
|
-
tmp1_output.
|
|
2563
|
-
if (tmp1_output.
|
|
2564
|
-
tmp1_output.
|
|
2557
|
+
$serializer_6.prototype.h2q = function (encoder, value) {
|
|
2558
|
+
var tmp0_desc = this.g2q_1;
|
|
2559
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
2560
|
+
tmp1_output.d1n(tmp0_desc, 0, value.a2q_1);
|
|
2561
|
+
tmp1_output.j1n(tmp0_desc, 1, Companion_getInstance_9().n25(), value.b2q_1);
|
|
2562
|
+
tmp1_output.z1m(tmp0_desc, 2, value.c2q_1);
|
|
2563
|
+
if (tmp1_output.p1n(tmp0_desc, 3) ? true : !(value.d2q_1 == null)) {
|
|
2564
|
+
tmp1_output.l1n(tmp0_desc, 3, StringSerializer_getInstance(), value.d2q_1);
|
|
2565
2565
|
}
|
|
2566
|
-
tmp1_output.
|
|
2566
|
+
tmp1_output.u1l(tmp0_desc);
|
|
2567
2567
|
};
|
|
2568
|
-
$serializer_6.prototype.
|
|
2569
|
-
return this.
|
|
2568
|
+
$serializer_6.prototype.m1i = function (encoder, value) {
|
|
2569
|
+
return this.h2q(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2570
2570
|
};
|
|
2571
2571
|
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2572
2572
|
var $serializer_instance_6;
|
|
@@ -2577,15 +2577,15 @@
|
|
|
2577
2577
|
}
|
|
2578
2578
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2579
2579
|
if (!(7 === (7 & seen1))) {
|
|
2580
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
2580
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().g2q_1);
|
|
2581
2581
|
}
|
|
2582
|
-
$this.
|
|
2583
|
-
$this.
|
|
2584
|
-
$this.
|
|
2582
|
+
$this.a2q_1 = startFromTime;
|
|
2583
|
+
$this.b2q_1 = state;
|
|
2584
|
+
$this.c2q_1 = ready;
|
|
2585
2585
|
if (0 === (seen1 & 8))
|
|
2586
|
-
$this.
|
|
2586
|
+
$this.d2q_1 = null;
|
|
2587
2587
|
else
|
|
2588
|
-
$this.
|
|
2588
|
+
$this.d2q_1 = tag;
|
|
2589
2589
|
return $this;
|
|
2590
2590
|
}
|
|
2591
2591
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2593,19 +2593,19 @@
|
|
|
2593
2593
|
}
|
|
2594
2594
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2595
2595
|
Companion_getInstance_13();
|
|
2596
|
-
this.
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2599
|
-
this.
|
|
2596
|
+
this.a2q_1 = startFromTime;
|
|
2597
|
+
this.b2q_1 = state;
|
|
2598
|
+
this.c2q_1 = ready;
|
|
2599
|
+
this.d2q_1 = tag;
|
|
2600
2600
|
}
|
|
2601
2601
|
PlayerStateDto.prototype.toString = function () {
|
|
2602
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2602
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.a2q_1) + ', state=' + this.b2q_1 + ', ready=' + this.c2q_1 + ', tag=' + this.d2q_1 + ')';
|
|
2603
2603
|
};
|
|
2604
2604
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2605
|
-
var result = this.
|
|
2606
|
-
result = imul(result, 31) + this.
|
|
2607
|
-
result = imul(result, 31) + (this.
|
|
2608
|
-
result = imul(result, 31) + (this.
|
|
2605
|
+
var result = this.a2q_1.hashCode();
|
|
2606
|
+
result = imul(result, 31) + this.b2q_1.hashCode() | 0;
|
|
2607
|
+
result = imul(result, 31) + (this.c2q_1 | 0) | 0;
|
|
2608
|
+
result = imul(result, 31) + (this.d2q_1 == null ? 0 : getStringHashCode(this.d2q_1)) | 0;
|
|
2609
2609
|
return result;
|
|
2610
2610
|
};
|
|
2611
2611
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2614,13 +2614,13 @@
|
|
|
2614
2614
|
if (!(other instanceof PlayerStateDto))
|
|
2615
2615
|
return false;
|
|
2616
2616
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2617
|
-
if (!this.
|
|
2617
|
+
if (!this.a2q_1.equals(tmp0_other_with_cast.a2q_1))
|
|
2618
2618
|
return false;
|
|
2619
|
-
if (!this.
|
|
2619
|
+
if (!this.b2q_1.equals(tmp0_other_with_cast.b2q_1))
|
|
2620
2620
|
return false;
|
|
2621
|
-
if (!(this.
|
|
2621
|
+
if (!(this.c2q_1 === tmp0_other_with_cast.c2q_1))
|
|
2622
2622
|
return false;
|
|
2623
|
-
if (!(this.
|
|
2623
|
+
if (!(this.d2q_1 == tmp0_other_with_cast.d2q_1))
|
|
2624
2624
|
return false;
|
|
2625
2625
|
return true;
|
|
2626
2626
|
};
|
|
@@ -2647,29 +2647,29 @@
|
|
|
2647
2647
|
function $serializer_7() {
|
|
2648
2648
|
$serializer_instance_7 = this;
|
|
2649
2649
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 17);
|
|
2650
|
-
tmp0_serialDesc.
|
|
2651
|
-
tmp0_serialDesc.
|
|
2652
|
-
tmp0_serialDesc.
|
|
2653
|
-
tmp0_serialDesc.
|
|
2654
|
-
tmp0_serialDesc.
|
|
2655
|
-
tmp0_serialDesc.
|
|
2656
|
-
tmp0_serialDesc.
|
|
2657
|
-
tmp0_serialDesc.
|
|
2658
|
-
tmp0_serialDesc.
|
|
2659
|
-
tmp0_serialDesc.
|
|
2660
|
-
tmp0_serialDesc.
|
|
2661
|
-
tmp0_serialDesc.
|
|
2662
|
-
tmp0_serialDesc.
|
|
2663
|
-
tmp0_serialDesc.
|
|
2664
|
-
tmp0_serialDesc.
|
|
2665
|
-
tmp0_serialDesc.
|
|
2666
|
-
tmp0_serialDesc.
|
|
2667
|
-
this.
|
|
2668
|
-
}
|
|
2669
|
-
$serializer_7.prototype.
|
|
2670
|
-
return this.
|
|
2671
|
-
};
|
|
2672
|
-
$serializer_7.prototype.
|
|
2650
|
+
tmp0_serialDesc.a1t('needToPutHigherTrump', false);
|
|
2651
|
+
tmp0_serialDesc.a1t('distributePoints', false);
|
|
2652
|
+
tmp0_serialDesc.a1t('protectBella', false);
|
|
2653
|
+
tmp0_serialDesc.a1t('oneTryToProtectBella', true);
|
|
2654
|
+
tmp0_serialDesc.a1t('enableFourSevensCombination', false);
|
|
2655
|
+
tmp0_serialDesc.a1t('enableTrumpSevenCombination', false);
|
|
2656
|
+
tmp0_serialDesc.a1t('enableTrumpSevenCombinationAfterDistribution', false);
|
|
2657
|
+
tmp0_serialDesc.a1t('playerWhoChooseSuitGoFirst', false);
|
|
2658
|
+
tmp0_serialDesc.a1t('winnerShuffleCards', false);
|
|
2659
|
+
tmp0_serialDesc.a1t('playWithoutLiabilities', false);
|
|
2660
|
+
tmp0_serialDesc.a1t('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
2661
|
+
tmp0_serialDesc.a1t('enableFineIfNoBribes', false);
|
|
2662
|
+
tmp0_serialDesc.a1t('fineIfNoBribes', false);
|
|
2663
|
+
tmp0_serialDesc.a1t('enableFineAfterThirdByte', false);
|
|
2664
|
+
tmp0_serialDesc.a1t('checkTrumpCombination', false);
|
|
2665
|
+
tmp0_serialDesc.a1t('checkOnlyTrumpDebertz', false);
|
|
2666
|
+
tmp0_serialDesc.a1t('tenCardsInHand', false);
|
|
2667
|
+
this.i2q_1 = tmp0_serialDesc;
|
|
2668
|
+
}
|
|
2669
|
+
$serializer_7.prototype.l1i = function () {
|
|
2670
|
+
return this.i2q_1;
|
|
2671
|
+
};
|
|
2672
|
+
$serializer_7.prototype.p1t = function () {
|
|
2673
2673
|
var tmp$ret$2;
|
|
2674
2674
|
// Inline function 'kotlin.arrayOf' call
|
|
2675
2675
|
var tmp0_arrayOf = [BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance()];
|
|
@@ -2682,8 +2682,8 @@
|
|
|
2682
2682
|
tmp$ret$2 = tmp$ret$1;
|
|
2683
2683
|
return tmp$ret$2;
|
|
2684
2684
|
};
|
|
2685
|
-
$serializer_7.prototype.
|
|
2686
|
-
var tmp0_desc = this.
|
|
2685
|
+
$serializer_7.prototype.n1i = function (decoder) {
|
|
2686
|
+
var tmp0_desc = this.i2q_1;
|
|
2687
2687
|
var tmp1_flag = true;
|
|
2688
2688
|
var tmp2_index = 0;
|
|
2689
2689
|
var tmp3_bitMask0 = 0;
|
|
@@ -2704,150 +2704,150 @@
|
|
|
2704
2704
|
var tmp18_local14 = false;
|
|
2705
2705
|
var tmp19_local15 = false;
|
|
2706
2706
|
var tmp20_local16 = false;
|
|
2707
|
-
var tmp21_input = decoder.
|
|
2708
|
-
if (tmp21_input.
|
|
2709
|
-
tmp4_local0 = tmp21_input.
|
|
2707
|
+
var tmp21_input = decoder.t1l(tmp0_desc);
|
|
2708
|
+
if (tmp21_input.i1m()) {
|
|
2709
|
+
tmp4_local0 = tmp21_input.v1l(tmp0_desc, 0);
|
|
2710
2710
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2711
|
-
tmp5_local1 = tmp21_input.
|
|
2711
|
+
tmp5_local1 = tmp21_input.v1l(tmp0_desc, 1);
|
|
2712
2712
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2713
|
-
tmp6_local2 = tmp21_input.
|
|
2713
|
+
tmp6_local2 = tmp21_input.v1l(tmp0_desc, 2);
|
|
2714
2714
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2715
|
-
tmp7_local3 = tmp21_input.
|
|
2715
|
+
tmp7_local3 = tmp21_input.h1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2716
2716
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2717
|
-
tmp8_local4 = tmp21_input.
|
|
2717
|
+
tmp8_local4 = tmp21_input.v1l(tmp0_desc, 4);
|
|
2718
2718
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2719
|
-
tmp9_local5 = tmp21_input.
|
|
2719
|
+
tmp9_local5 = tmp21_input.v1l(tmp0_desc, 5);
|
|
2720
2720
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2721
|
-
tmp10_local6 = tmp21_input.
|
|
2721
|
+
tmp10_local6 = tmp21_input.v1l(tmp0_desc, 6);
|
|
2722
2722
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2723
|
-
tmp11_local7 = tmp21_input.
|
|
2723
|
+
tmp11_local7 = tmp21_input.v1l(tmp0_desc, 7);
|
|
2724
2724
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2725
|
-
tmp12_local8 = tmp21_input.
|
|
2725
|
+
tmp12_local8 = tmp21_input.v1l(tmp0_desc, 8);
|
|
2726
2726
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2727
|
-
tmp13_local9 = tmp21_input.
|
|
2727
|
+
tmp13_local9 = tmp21_input.v1l(tmp0_desc, 9);
|
|
2728
2728
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2729
|
-
tmp14_local10 = tmp21_input.
|
|
2729
|
+
tmp14_local10 = tmp21_input.v1l(tmp0_desc, 10);
|
|
2730
2730
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2731
|
-
tmp15_local11 = tmp21_input.
|
|
2731
|
+
tmp15_local11 = tmp21_input.v1l(tmp0_desc, 11);
|
|
2732
2732
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2733
|
-
tmp16_local12 = tmp21_input.
|
|
2733
|
+
tmp16_local12 = tmp21_input.y1l(tmp0_desc, 12);
|
|
2734
2734
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2735
|
-
tmp17_local13 = tmp21_input.
|
|
2735
|
+
tmp17_local13 = tmp21_input.v1l(tmp0_desc, 13);
|
|
2736
2736
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2737
|
-
tmp18_local14 = tmp21_input.
|
|
2737
|
+
tmp18_local14 = tmp21_input.v1l(tmp0_desc, 14);
|
|
2738
2738
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2739
|
-
tmp19_local15 = tmp21_input.
|
|
2739
|
+
tmp19_local15 = tmp21_input.v1l(tmp0_desc, 15);
|
|
2740
2740
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2741
|
-
tmp20_local16 = tmp21_input.
|
|
2741
|
+
tmp20_local16 = tmp21_input.v1l(tmp0_desc, 16);
|
|
2742
2742
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2743
2743
|
} else
|
|
2744
2744
|
while (tmp1_flag) {
|
|
2745
|
-
tmp2_index = tmp21_input.
|
|
2745
|
+
tmp2_index = tmp21_input.j1m(tmp0_desc);
|
|
2746
2746
|
switch (tmp2_index) {
|
|
2747
2747
|
case -1:
|
|
2748
2748
|
tmp1_flag = false;
|
|
2749
2749
|
break;
|
|
2750
2750
|
case 0:
|
|
2751
|
-
tmp4_local0 = tmp21_input.
|
|
2751
|
+
tmp4_local0 = tmp21_input.v1l(tmp0_desc, 0);
|
|
2752
2752
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2753
2753
|
break;
|
|
2754
2754
|
case 1:
|
|
2755
|
-
tmp5_local1 = tmp21_input.
|
|
2755
|
+
tmp5_local1 = tmp21_input.v1l(tmp0_desc, 1);
|
|
2756
2756
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2757
2757
|
break;
|
|
2758
2758
|
case 2:
|
|
2759
|
-
tmp6_local2 = tmp21_input.
|
|
2759
|
+
tmp6_local2 = tmp21_input.v1l(tmp0_desc, 2);
|
|
2760
2760
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2761
2761
|
break;
|
|
2762
2762
|
case 3:
|
|
2763
|
-
tmp7_local3 = tmp21_input.
|
|
2763
|
+
tmp7_local3 = tmp21_input.h1m(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2764
2764
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2765
2765
|
break;
|
|
2766
2766
|
case 4:
|
|
2767
|
-
tmp8_local4 = tmp21_input.
|
|
2767
|
+
tmp8_local4 = tmp21_input.v1l(tmp0_desc, 4);
|
|
2768
2768
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2769
2769
|
break;
|
|
2770
2770
|
case 5:
|
|
2771
|
-
tmp9_local5 = tmp21_input.
|
|
2771
|
+
tmp9_local5 = tmp21_input.v1l(tmp0_desc, 5);
|
|
2772
2772
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2773
2773
|
break;
|
|
2774
2774
|
case 6:
|
|
2775
|
-
tmp10_local6 = tmp21_input.
|
|
2775
|
+
tmp10_local6 = tmp21_input.v1l(tmp0_desc, 6);
|
|
2776
2776
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2777
2777
|
break;
|
|
2778
2778
|
case 7:
|
|
2779
|
-
tmp11_local7 = tmp21_input.
|
|
2779
|
+
tmp11_local7 = tmp21_input.v1l(tmp0_desc, 7);
|
|
2780
2780
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2781
2781
|
break;
|
|
2782
2782
|
case 8:
|
|
2783
|
-
tmp12_local8 = tmp21_input.
|
|
2783
|
+
tmp12_local8 = tmp21_input.v1l(tmp0_desc, 8);
|
|
2784
2784
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2785
2785
|
break;
|
|
2786
2786
|
case 9:
|
|
2787
|
-
tmp13_local9 = tmp21_input.
|
|
2787
|
+
tmp13_local9 = tmp21_input.v1l(tmp0_desc, 9);
|
|
2788
2788
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2789
2789
|
break;
|
|
2790
2790
|
case 10:
|
|
2791
|
-
tmp14_local10 = tmp21_input.
|
|
2791
|
+
tmp14_local10 = tmp21_input.v1l(tmp0_desc, 10);
|
|
2792
2792
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2793
2793
|
break;
|
|
2794
2794
|
case 11:
|
|
2795
|
-
tmp15_local11 = tmp21_input.
|
|
2795
|
+
tmp15_local11 = tmp21_input.v1l(tmp0_desc, 11);
|
|
2796
2796
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2797
2797
|
break;
|
|
2798
2798
|
case 12:
|
|
2799
|
-
tmp16_local12 = tmp21_input.
|
|
2799
|
+
tmp16_local12 = tmp21_input.y1l(tmp0_desc, 12);
|
|
2800
2800
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2801
2801
|
break;
|
|
2802
2802
|
case 13:
|
|
2803
|
-
tmp17_local13 = tmp21_input.
|
|
2803
|
+
tmp17_local13 = tmp21_input.v1l(tmp0_desc, 13);
|
|
2804
2804
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2805
2805
|
break;
|
|
2806
2806
|
case 14:
|
|
2807
|
-
tmp18_local14 = tmp21_input.
|
|
2807
|
+
tmp18_local14 = tmp21_input.v1l(tmp0_desc, 14);
|
|
2808
2808
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2809
2809
|
break;
|
|
2810
2810
|
case 15:
|
|
2811
|
-
tmp19_local15 = tmp21_input.
|
|
2811
|
+
tmp19_local15 = tmp21_input.v1l(tmp0_desc, 15);
|
|
2812
2812
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2813
2813
|
break;
|
|
2814
2814
|
case 16:
|
|
2815
|
-
tmp20_local16 = tmp21_input.
|
|
2815
|
+
tmp20_local16 = tmp21_input.v1l(tmp0_desc, 16);
|
|
2816
2816
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2817
2817
|
break;
|
|
2818
2818
|
default:
|
|
2819
2819
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2820
2820
|
}
|
|
2821
2821
|
}
|
|
2822
|
-
tmp21_input.
|
|
2822
|
+
tmp21_input.u1l(tmp0_desc);
|
|
2823
2823
|
return RulesDto_init_$Create$_0(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
2824
2824
|
};
|
|
2825
|
-
$serializer_7.prototype.
|
|
2826
|
-
var tmp0_desc = this.
|
|
2827
|
-
var tmp1_output = encoder.
|
|
2828
|
-
tmp1_output.
|
|
2829
|
-
tmp1_output.
|
|
2830
|
-
tmp1_output.
|
|
2831
|
-
if (tmp1_output.
|
|
2832
|
-
tmp1_output.
|
|
2825
|
+
$serializer_7.prototype.j2q = function (encoder, value) {
|
|
2826
|
+
var tmp0_desc = this.i2q_1;
|
|
2827
|
+
var tmp1_output = encoder.t1l(tmp0_desc);
|
|
2828
|
+
tmp1_output.z1m(tmp0_desc, 0, value.f2p_1);
|
|
2829
|
+
tmp1_output.z1m(tmp0_desc, 1, value.g2p_1);
|
|
2830
|
+
tmp1_output.z1m(tmp0_desc, 2, value.h2p_1);
|
|
2831
|
+
if (tmp1_output.p1n(tmp0_desc, 3) ? true : !(value.i2p_1 == null)) {
|
|
2832
|
+
tmp1_output.l1n(tmp0_desc, 3, BooleanSerializer_getInstance(), value.i2p_1);
|
|
2833
2833
|
}
|
|
2834
|
-
tmp1_output.
|
|
2835
|
-
tmp1_output.
|
|
2836
|
-
tmp1_output.
|
|
2837
|
-
tmp1_output.
|
|
2838
|
-
tmp1_output.
|
|
2839
|
-
tmp1_output.
|
|
2840
|
-
tmp1_output.
|
|
2841
|
-
tmp1_output.
|
|
2842
|
-
tmp1_output.
|
|
2843
|
-
tmp1_output.
|
|
2844
|
-
tmp1_output.
|
|
2845
|
-
tmp1_output.
|
|
2846
|
-
tmp1_output.
|
|
2847
|
-
tmp1_output.
|
|
2848
|
-
};
|
|
2849
|
-
$serializer_7.prototype.
|
|
2850
|
-
return this.
|
|
2834
|
+
tmp1_output.z1m(tmp0_desc, 4, value.j2p_1);
|
|
2835
|
+
tmp1_output.z1m(tmp0_desc, 5, value.k2p_1);
|
|
2836
|
+
tmp1_output.z1m(tmp0_desc, 6, value.l2p_1);
|
|
2837
|
+
tmp1_output.z1m(tmp0_desc, 7, value.m2p_1);
|
|
2838
|
+
tmp1_output.z1m(tmp0_desc, 8, value.n2p_1);
|
|
2839
|
+
tmp1_output.z1m(tmp0_desc, 9, value.o2p_1);
|
|
2840
|
+
tmp1_output.z1m(tmp0_desc, 10, value.p2p_1);
|
|
2841
|
+
tmp1_output.z1m(tmp0_desc, 11, value.q2p_1);
|
|
2842
|
+
tmp1_output.c1n(tmp0_desc, 12, value.r2p_1);
|
|
2843
|
+
tmp1_output.z1m(tmp0_desc, 13, value.s2p_1);
|
|
2844
|
+
tmp1_output.z1m(tmp0_desc, 14, value.t2p_1);
|
|
2845
|
+
tmp1_output.z1m(tmp0_desc, 15, value.u2p_1);
|
|
2846
|
+
tmp1_output.z1m(tmp0_desc, 16, value.v2p_1);
|
|
2847
|
+
tmp1_output.u1l(tmp0_desc);
|
|
2848
|
+
};
|
|
2849
|
+
$serializer_7.prototype.m1i = function (encoder, value) {
|
|
2850
|
+
return this.j2q(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2851
2851
|
};
|
|
2852
2852
|
$serializer_7.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2853
2853
|
var $serializer_instance_7;
|
|
@@ -2858,28 +2858,28 @@
|
|
|
2858
2858
|
}
|
|
2859
2859
|
function RulesDto_init_$Init$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2860
2860
|
if (!(131063 === (131063 & seen1))) {
|
|
2861
|
-
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().
|
|
2861
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().i2q_1);
|
|
2862
2862
|
}
|
|
2863
|
-
$this.
|
|
2864
|
-
$this.
|
|
2865
|
-
$this.
|
|
2863
|
+
$this.f2p_1 = needToPutHigherTrump;
|
|
2864
|
+
$this.g2p_1 = distributePoints;
|
|
2865
|
+
$this.h2p_1 = protectBella;
|
|
2866
2866
|
if (0 === (seen1 & 8))
|
|
2867
|
-
$this.
|
|
2867
|
+
$this.i2p_1 = null;
|
|
2868
2868
|
else
|
|
2869
|
-
$this.
|
|
2870
|
-
$this.
|
|
2871
|
-
$this.
|
|
2872
|
-
$this.
|
|
2873
|
-
$this.
|
|
2874
|
-
$this.
|
|
2875
|
-
$this.
|
|
2876
|
-
$this.
|
|
2877
|
-
$this.
|
|
2878
|
-
$this.
|
|
2879
|
-
$this.
|
|
2880
|
-
$this.
|
|
2881
|
-
$this.
|
|
2882
|
-
$this.
|
|
2869
|
+
$this.i2p_1 = oneTryToProtectBella;
|
|
2870
|
+
$this.j2p_1 = enableFourSevensCombination;
|
|
2871
|
+
$this.k2p_1 = enableTrumpSevenCombination;
|
|
2872
|
+
$this.l2p_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2873
|
+
$this.m2p_1 = playerWhoChooseSuitGoFirst;
|
|
2874
|
+
$this.n2p_1 = winnerShuffleCards;
|
|
2875
|
+
$this.o2p_1 = playWithoutLiabilities;
|
|
2876
|
+
$this.p2p_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2877
|
+
$this.q2p_1 = enableFineIfNoBribes;
|
|
2878
|
+
$this.r2p_1 = fineIfNoBribes;
|
|
2879
|
+
$this.s2p_1 = enableFineAfterThirdByte;
|
|
2880
|
+
$this.t2p_1 = checkTrumpCombination;
|
|
2881
|
+
$this.u2p_1 = checkOnlyTrumpDebertz;
|
|
2882
|
+
$this.v2p_1 = tenCardsInHand;
|
|
2883
2883
|
return $this;
|
|
2884
2884
|
}
|
|
2885
2885
|
function RulesDto_init_$Create$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2887,45 +2887,45 @@
|
|
|
2887
2887
|
}
|
|
2888
2888
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2889
2889
|
Companion_getInstance_14();
|
|
2890
|
-
this.
|
|
2891
|
-
this.
|
|
2892
|
-
this.
|
|
2893
|
-
this.
|
|
2894
|
-
this.
|
|
2895
|
-
this.
|
|
2896
|
-
this.
|
|
2897
|
-
this.
|
|
2898
|
-
this.
|
|
2899
|
-
this.
|
|
2900
|
-
this.
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2904
|
-
this.
|
|
2905
|
-
this.
|
|
2906
|
-
this.
|
|
2890
|
+
this.f2p_1 = needToPutHigherTrump;
|
|
2891
|
+
this.g2p_1 = distributePoints;
|
|
2892
|
+
this.h2p_1 = protectBella;
|
|
2893
|
+
this.i2p_1 = oneTryToProtectBella;
|
|
2894
|
+
this.j2p_1 = enableFourSevensCombination;
|
|
2895
|
+
this.k2p_1 = enableTrumpSevenCombination;
|
|
2896
|
+
this.l2p_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2897
|
+
this.m2p_1 = playerWhoChooseSuitGoFirst;
|
|
2898
|
+
this.n2p_1 = winnerShuffleCards;
|
|
2899
|
+
this.o2p_1 = playWithoutLiabilities;
|
|
2900
|
+
this.p2p_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2901
|
+
this.q2p_1 = enableFineIfNoBribes;
|
|
2902
|
+
this.r2p_1 = fineIfNoBribes;
|
|
2903
|
+
this.s2p_1 = enableFineAfterThirdByte;
|
|
2904
|
+
this.t2p_1 = checkTrumpCombination;
|
|
2905
|
+
this.u2p_1 = checkOnlyTrumpDebertz;
|
|
2906
|
+
this.v2p_1 = tenCardsInHand;
|
|
2907
2907
|
}
|
|
2908
2908
|
RulesDto.prototype.toString = function () {
|
|
2909
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2909
|
+
return 'RulesDto(needToPutHigherTrump=' + this.f2p_1 + ', distributePoints=' + this.g2p_1 + ', protectBella=' + this.h2p_1 + ', oneTryToProtectBella=' + this.i2p_1 + ', enableFourSevensCombination=' + this.j2p_1 + ', enableTrumpSevenCombination=' + this.k2p_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.l2p_1 + ', playerWhoChooseSuitGoFirst=' + this.m2p_1 + ', winnerShuffleCards=' + this.n2p_1 + ', playWithoutLiabilities=' + this.o2p_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.p2p_1 + ', enableFineIfNoBribes=' + this.q2p_1 + ', fineIfNoBribes=' + this.r2p_1 + ', enableFineAfterThirdByte=' + this.s2p_1 + ', checkTrumpCombination=' + this.t2p_1 + ', checkOnlyTrumpDebertz=' + this.u2p_1 + ', tenCardsInHand=' + this.v2p_1 + ')';
|
|
2910
2910
|
};
|
|
2911
2911
|
RulesDto.prototype.hashCode = function () {
|
|
2912
|
-
var result = this.
|
|
2913
|
-
result = imul(result, 31) + (this.
|
|
2914
|
-
result = imul(result, 31) + (this.
|
|
2915
|
-
result = imul(result, 31) + (this.
|
|
2916
|
-
result = imul(result, 31) + (this.
|
|
2917
|
-
result = imul(result, 31) + (this.
|
|
2918
|
-
result = imul(result, 31) + (this.
|
|
2919
|
-
result = imul(result, 31) + (this.
|
|
2920
|
-
result = imul(result, 31) + (this.
|
|
2921
|
-
result = imul(result, 31) + (this.
|
|
2922
|
-
result = imul(result, 31) + (this.
|
|
2923
|
-
result = imul(result, 31) + (this.
|
|
2924
|
-
result = imul(result, 31) + this.
|
|
2925
|
-
result = imul(result, 31) + (this.
|
|
2926
|
-
result = imul(result, 31) + (this.
|
|
2927
|
-
result = imul(result, 31) + (this.
|
|
2928
|
-
result = imul(result, 31) + (this.
|
|
2912
|
+
var result = this.f2p_1 | 0;
|
|
2913
|
+
result = imul(result, 31) + (this.g2p_1 | 0) | 0;
|
|
2914
|
+
result = imul(result, 31) + (this.h2p_1 | 0) | 0;
|
|
2915
|
+
result = imul(result, 31) + (this.i2p_1 == null ? 0 : this.i2p_1 | 0) | 0;
|
|
2916
|
+
result = imul(result, 31) + (this.j2p_1 | 0) | 0;
|
|
2917
|
+
result = imul(result, 31) + (this.k2p_1 | 0) | 0;
|
|
2918
|
+
result = imul(result, 31) + (this.l2p_1 | 0) | 0;
|
|
2919
|
+
result = imul(result, 31) + (this.m2p_1 | 0) | 0;
|
|
2920
|
+
result = imul(result, 31) + (this.n2p_1 | 0) | 0;
|
|
2921
|
+
result = imul(result, 31) + (this.o2p_1 | 0) | 0;
|
|
2922
|
+
result = imul(result, 31) + (this.p2p_1 | 0) | 0;
|
|
2923
|
+
result = imul(result, 31) + (this.q2p_1 | 0) | 0;
|
|
2924
|
+
result = imul(result, 31) + this.r2p_1 | 0;
|
|
2925
|
+
result = imul(result, 31) + (this.s2p_1 | 0) | 0;
|
|
2926
|
+
result = imul(result, 31) + (this.t2p_1 | 0) | 0;
|
|
2927
|
+
result = imul(result, 31) + (this.u2p_1 | 0) | 0;
|
|
2928
|
+
result = imul(result, 31) + (this.v2p_1 | 0) | 0;
|
|
2929
2929
|
return result;
|
|
2930
2930
|
};
|
|
2931
2931
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2934,53 +2934,53 @@
|
|
|
2934
2934
|
if (!(other instanceof RulesDto))
|
|
2935
2935
|
return false;
|
|
2936
2936
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2937
|
-
if (!(this.
|
|
2937
|
+
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2938
2938
|
return false;
|
|
2939
|
-
if (!(this.
|
|
2939
|
+
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2940
2940
|
return false;
|
|
2941
|
-
if (!(this.
|
|
2941
|
+
if (!(this.h2p_1 === tmp0_other_with_cast.h2p_1))
|
|
2942
2942
|
return false;
|
|
2943
|
-
if (!(this.
|
|
2943
|
+
if (!(this.i2p_1 == tmp0_other_with_cast.i2p_1))
|
|
2944
2944
|
return false;
|
|
2945
|
-
if (!(this.
|
|
2945
|
+
if (!(this.j2p_1 === tmp0_other_with_cast.j2p_1))
|
|
2946
2946
|
return false;
|
|
2947
|
-
if (!(this.
|
|
2947
|
+
if (!(this.k2p_1 === tmp0_other_with_cast.k2p_1))
|
|
2948
2948
|
return false;
|
|
2949
|
-
if (!(this.
|
|
2949
|
+
if (!(this.l2p_1 === tmp0_other_with_cast.l2p_1))
|
|
2950
2950
|
return false;
|
|
2951
|
-
if (!(this.
|
|
2951
|
+
if (!(this.m2p_1 === tmp0_other_with_cast.m2p_1))
|
|
2952
2952
|
return false;
|
|
2953
|
-
if (!(this.
|
|
2953
|
+
if (!(this.n2p_1 === tmp0_other_with_cast.n2p_1))
|
|
2954
2954
|
return false;
|
|
2955
|
-
if (!(this.
|
|
2955
|
+
if (!(this.o2p_1 === tmp0_other_with_cast.o2p_1))
|
|
2956
2956
|
return false;
|
|
2957
|
-
if (!(this.
|
|
2957
|
+
if (!(this.p2p_1 === tmp0_other_with_cast.p2p_1))
|
|
2958
2958
|
return false;
|
|
2959
|
-
if (!(this.
|
|
2959
|
+
if (!(this.q2p_1 === tmp0_other_with_cast.q2p_1))
|
|
2960
2960
|
return false;
|
|
2961
|
-
if (!(this.
|
|
2961
|
+
if (!(this.r2p_1 === tmp0_other_with_cast.r2p_1))
|
|
2962
2962
|
return false;
|
|
2963
|
-
if (!(this.
|
|
2963
|
+
if (!(this.s2p_1 === tmp0_other_with_cast.s2p_1))
|
|
2964
2964
|
return false;
|
|
2965
|
-
if (!(this.
|
|
2965
|
+
if (!(this.t2p_1 === tmp0_other_with_cast.t2p_1))
|
|
2966
2966
|
return false;
|
|
2967
|
-
if (!(this.
|
|
2967
|
+
if (!(this.u2p_1 === tmp0_other_with_cast.u2p_1))
|
|
2968
2968
|
return false;
|
|
2969
|
-
if (!(this.
|
|
2969
|
+
if (!(this.v2p_1 === tmp0_other_with_cast.v2p_1))
|
|
2970
2970
|
return false;
|
|
2971
2971
|
return true;
|
|
2972
2972
|
};
|
|
2973
2973
|
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_7});
|
|
2974
2974
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2975
|
-
this.
|
|
2976
|
-
this.
|
|
2975
|
+
this.k2q_1 = trump;
|
|
2976
|
+
this.l2q_1 = firstCardSuit;
|
|
2977
2977
|
}
|
|
2978
|
-
CardGrowthComparator.prototype.
|
|
2979
|
-
return getGrowth(b, this.
|
|
2978
|
+
CardGrowthComparator.prototype.m2q = function (a, b) {
|
|
2979
|
+
return getGrowth(b, this.k2q_1, this.l2q_1) - getGrowth(a, this.k2q_1, this.l2q_1) | 0;
|
|
2980
2980
|
};
|
|
2981
2981
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2982
2982
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2983
|
-
return this.
|
|
2983
|
+
return this.m2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2984
2984
|
};
|
|
2985
2985
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
2986
2986
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -3004,12 +3004,12 @@
|
|
|
3004
3004
|
function CardIndexComparator() {
|
|
3005
3005
|
CardIndexComparator_instance = this;
|
|
3006
3006
|
}
|
|
3007
|
-
CardIndexComparator.prototype.
|
|
3008
|
-
return a.
|
|
3007
|
+
CardIndexComparator.prototype.m2q = function (a, b) {
|
|
3008
|
+
return a.c2p_1 - b.c2p_1 | 0;
|
|
3009
3009
|
};
|
|
3010
3010
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
3011
3011
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3012
|
-
return this.
|
|
3012
|
+
return this.m2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3013
3013
|
};
|
|
3014
3014
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
3015
3015
|
var CardIndexComparator_instance;
|
|
@@ -3039,12 +3039,12 @@
|
|
|
3039
3039
|
function CardNumberComparator() {
|
|
3040
3040
|
CardNumberComparator_instance = this;
|
|
3041
3041
|
}
|
|
3042
|
-
CardNumberComparator.prototype.
|
|
3043
|
-
return b.
|
|
3042
|
+
CardNumberComparator.prototype.m2q = function (a, b) {
|
|
3043
|
+
return b.n2q() - a.n2q() | 0;
|
|
3044
3044
|
};
|
|
3045
3045
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
3046
3046
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3047
|
-
return this.
|
|
3047
|
+
return this.m2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3048
3048
|
};
|
|
3049
3049
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
3050
3050
|
var CardNumberComparator_instance;
|
|
@@ -3054,7 +3054,7 @@
|
|
|
3054
3054
|
return CardNumberComparator_instance;
|
|
3055
3055
|
}
|
|
3056
3056
|
function getPoint(_this__u8e3s4, trump) {
|
|
3057
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
3057
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.o2q());
|
|
3058
3058
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
3059
3059
|
var tmp0 = tmp0_subject.e5_1;
|
|
3060
3060
|
var tmp;
|
|
@@ -3088,8 +3088,8 @@
|
|
|
3088
3088
|
}
|
|
3089
3089
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3090
3090
|
var minPoint = 0;
|
|
3091
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3092
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3091
|
+
var isTrump = trump.equals(_this__u8e3s4.o2q());
|
|
3092
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.o2q());
|
|
3093
3093
|
var minGrowth;
|
|
3094
3094
|
var maxGrowth;
|
|
3095
3095
|
var tmp0_subject = _this__u8e3s4.f5();
|
|
@@ -3187,7 +3187,7 @@
|
|
|
3187
3187
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3188
3188
|
var tmp$ret$0;
|
|
3189
3189
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3190
|
-
tmp$ret$0 = p1.
|
|
3190
|
+
tmp$ret$0 = p1.o2q().equals(element);
|
|
3191
3191
|
if (tmp$ret$0) {
|
|
3192
3192
|
tmp$ret$1 = true;
|
|
3193
3193
|
break $l$block;
|
|
@@ -3235,10 +3235,10 @@
|
|
|
3235
3235
|
function Companion_15() {
|
|
3236
3236
|
Companion_instance_15 = this;
|
|
3237
3237
|
}
|
|
3238
|
-
Companion_15.prototype.
|
|
3238
|
+
Companion_15.prototype.p2q = function (suit, cardNumber) {
|
|
3239
3239
|
return new GameCard(getNumber(Companion_getInstance_16(), cardNumber, suit));
|
|
3240
3240
|
};
|
|
3241
|
-
Companion_15.prototype.
|
|
3241
|
+
Companion_15.prototype.q2q = function (position, playerIndex, reverse) {
|
|
3242
3242
|
var tmp;
|
|
3243
3243
|
if (reverse) {
|
|
3244
3244
|
Companion_getInstance_16();
|
|
@@ -3252,10 +3252,10 @@
|
|
|
3252
3252
|
var index = tmp;
|
|
3253
3253
|
return new GameCard(index);
|
|
3254
3254
|
};
|
|
3255
|
-
Companion_15.prototype.
|
|
3255
|
+
Companion_15.prototype.r2q = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3256
3256
|
if (!(($mask0 & 4) === 0))
|
|
3257
3257
|
reverse = false;
|
|
3258
|
-
return this.
|
|
3258
|
+
return this.q2q(position, playerIndex, reverse);
|
|
3259
3259
|
};
|
|
3260
3260
|
Companion_15.$metadata$ = objectMeta('Companion');
|
|
3261
3261
|
var Companion_instance_15;
|
|
@@ -3365,7 +3365,7 @@
|
|
|
3365
3365
|
return tmp;
|
|
3366
3366
|
}
|
|
3367
3367
|
function _get_isShirt__vd98rp($this) {
|
|
3368
|
-
var tmp = $this.
|
|
3368
|
+
var tmp = $this.c2p_1;
|
|
3369
3369
|
Companion_getInstance_16();
|
|
3370
3370
|
return tmp === 52;
|
|
3371
3371
|
}
|
|
@@ -3375,10 +3375,10 @@
|
|
|
3375
3375
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3376
3376
|
function Companion_16() {
|
|
3377
3377
|
Companion_instance_16 = this;
|
|
3378
|
-
this.
|
|
3379
|
-
this.
|
|
3380
|
-
this.
|
|
3381
|
-
this.
|
|
3378
|
+
this.s2q_1 = -1;
|
|
3379
|
+
this.t2q_1 = 13;
|
|
3380
|
+
this.u2q_1 = 52;
|
|
3381
|
+
this.v2q_1 = 53;
|
|
3382
3382
|
}
|
|
3383
3383
|
Companion_16.$metadata$ = objectMeta('Companion');
|
|
3384
3384
|
var Companion_instance_16;
|
|
@@ -3445,58 +3445,58 @@
|
|
|
3445
3445
|
}
|
|
3446
3446
|
function GameCard(index) {
|
|
3447
3447
|
Companion_getInstance_16();
|
|
3448
|
-
this.
|
|
3448
|
+
this.c2p_1 = index;
|
|
3449
3449
|
}
|
|
3450
3450
|
GameCard.prototype.b3 = function () {
|
|
3451
|
-
return this.
|
|
3451
|
+
return this.c2p_1;
|
|
3452
3452
|
};
|
|
3453
|
-
GameCard.prototype.
|
|
3453
|
+
GameCard.prototype.o2q = function () {
|
|
3454
3454
|
var tmp;
|
|
3455
3455
|
Companion_getInstance_16();
|
|
3456
3456
|
var containsUpper = 13;
|
|
3457
|
-
var containsArg = this.
|
|
3457
|
+
var containsArg = this.c2p_1;
|
|
3458
3458
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3459
3459
|
tmp = Suit_DIAMOND_getInstance();
|
|
3460
3460
|
} else {
|
|
3461
|
-
var tmp_0 = this.
|
|
3461
|
+
var tmp_0 = this.c2p_1;
|
|
3462
3462
|
Companion_getInstance_16();
|
|
3463
3463
|
if (tmp_0 <= imul(13, 2)) {
|
|
3464
3464
|
tmp = Suit_SPADE_getInstance();
|
|
3465
3465
|
} else {
|
|
3466
|
-
var tmp_1 = this.
|
|
3466
|
+
var tmp_1 = this.c2p_1;
|
|
3467
3467
|
Companion_getInstance_16();
|
|
3468
3468
|
if (tmp_1 <= imul(13, 3)) {
|
|
3469
3469
|
tmp = Suit_HEART_getInstance();
|
|
3470
3470
|
} else {
|
|
3471
|
-
var tmp_2 = this.
|
|
3471
|
+
var tmp_2 = this.c2p_1;
|
|
3472
3472
|
Companion_getInstance_16();
|
|
3473
3473
|
if (tmp_2 <= imul(13, 4)) {
|
|
3474
3474
|
tmp = Suit_CLUB_getInstance();
|
|
3475
3475
|
} else {
|
|
3476
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3476
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.c2p_1);
|
|
3477
3477
|
}
|
|
3478
3478
|
}
|
|
3479
3479
|
}
|
|
3480
3480
|
}
|
|
3481
3481
|
return tmp;
|
|
3482
3482
|
};
|
|
3483
|
-
GameCard.prototype.
|
|
3483
|
+
GameCard.prototype.n2q = function () {
|
|
3484
3484
|
var tmp;
|
|
3485
|
-
if (this.
|
|
3485
|
+
if (this.w2q()) {
|
|
3486
3486
|
Companion_getInstance_16();
|
|
3487
3487
|
tmp = -1;
|
|
3488
3488
|
} else {
|
|
3489
|
-
var tmp_0 = this.
|
|
3489
|
+
var tmp_0 = this.c2p_1;
|
|
3490
3490
|
Companion_getInstance_16();
|
|
3491
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3491
|
+
tmp = tmp_0 - imul(13, getIndex(this.o2q())) | 0;
|
|
3492
3492
|
}
|
|
3493
3493
|
return tmp;
|
|
3494
3494
|
};
|
|
3495
3495
|
GameCard.prototype.f5 = function () {
|
|
3496
|
-
return this.
|
|
3496
|
+
return this.w2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_16(), this.n2q());
|
|
3497
3497
|
};
|
|
3498
|
-
GameCard.prototype.
|
|
3499
|
-
var tmp = this.
|
|
3498
|
+
GameCard.prototype.w2q = function () {
|
|
3499
|
+
var tmp = this.c2p_1;
|
|
3500
3500
|
Companion_getInstance_16();
|
|
3501
3501
|
return tmp >= 53;
|
|
3502
3502
|
};
|
|
@@ -3504,13 +3504,13 @@
|
|
|
3504
3504
|
if (_get_isShirt__vd98rp(this)) {
|
|
3505
3505
|
return 'GameCard(SHIRT)';
|
|
3506
3506
|
}
|
|
3507
|
-
if (this.
|
|
3508
|
-
return 'GameCard(STUB, ' + this.
|
|
3507
|
+
if (this.w2q()) {
|
|
3508
|
+
return 'GameCard(STUB, ' + this.c2p_1 + ')';
|
|
3509
3509
|
}
|
|
3510
|
-
return 'GameCard(' + this.f5() + ', suit: ' + this.
|
|
3510
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.o2q() + ', index=' + this.c2p_1 + ')';
|
|
3511
3511
|
};
|
|
3512
3512
|
GameCard.prototype.hashCode = function () {
|
|
3513
|
-
return this.
|
|
3513
|
+
return this.c2p_1;
|
|
3514
3514
|
};
|
|
3515
3515
|
GameCard.prototype.equals = function (other) {
|
|
3516
3516
|
if (this === other)
|
|
@@ -3518,24 +3518,24 @@
|
|
|
3518
3518
|
if (!(other instanceof GameCard))
|
|
3519
3519
|
return false;
|
|
3520
3520
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3521
|
-
if (!(this.
|
|
3521
|
+
if (!(this.c2p_1 === tmp0_other_with_cast.c2p_1))
|
|
3522
3522
|
return false;
|
|
3523
3523
|
return true;
|
|
3524
3524
|
};
|
|
3525
3525
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
3526
3526
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3527
|
-
this.
|
|
3528
|
-
this.
|
|
3527
|
+
this.d2p_1 = playerId;
|
|
3528
|
+
this.e2p_1 = gameCard;
|
|
3529
3529
|
}
|
|
3530
|
-
GameCardWIthPlayerId.prototype.
|
|
3531
|
-
return this.
|
|
3530
|
+
GameCardWIthPlayerId.prototype.q2l = function () {
|
|
3531
|
+
return this.d2p_1;
|
|
3532
3532
|
};
|
|
3533
3533
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3534
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3534
|
+
return 'GameCardWIthPlayerId(playerId=' + this.d2p_1 + ', gameCard=' + this.e2p_1 + ')';
|
|
3535
3535
|
};
|
|
3536
3536
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3537
|
-
var result = getStringHashCode(this.
|
|
3538
|
-
result = imul(result, 31) + this.
|
|
3537
|
+
var result = getStringHashCode(this.d2p_1);
|
|
3538
|
+
result = imul(result, 31) + this.e2p_1.hashCode() | 0;
|
|
3539
3539
|
return result;
|
|
3540
3540
|
};
|
|
3541
3541
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3544,9 +3544,9 @@
|
|
|
3544
3544
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3545
3545
|
return false;
|
|
3546
3546
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3547
|
-
if (!(this.
|
|
3547
|
+
if (!(this.d2p_1 === tmp0_other_with_cast.d2p_1))
|
|
3548
3548
|
return false;
|
|
3549
|
-
if (!this.
|
|
3549
|
+
if (!this.e2p_1.equals(tmp0_other_with_cast.e2p_1))
|
|
3550
3550
|
return false;
|
|
3551
3551
|
return true;
|
|
3552
3552
|
};
|
|
@@ -3554,22 +3554,22 @@
|
|
|
3554
3554
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
3555
3555
|
configurable: true,
|
|
3556
3556
|
get: function () {
|
|
3557
|
-
return this.
|
|
3557
|
+
return this.q2l();
|
|
3558
3558
|
}
|
|
3559
3559
|
});
|
|
3560
3560
|
function ProcessingCard(gameCard, payload) {
|
|
3561
|
-
this.
|
|
3562
|
-
this.
|
|
3561
|
+
this.x2q_1 = gameCard;
|
|
3562
|
+
this.y2q_1 = payload;
|
|
3563
3563
|
}
|
|
3564
|
-
ProcessingCard.prototype.
|
|
3565
|
-
return this.
|
|
3564
|
+
ProcessingCard.prototype.z2q = function () {
|
|
3565
|
+
return this.x2q_1;
|
|
3566
3566
|
};
|
|
3567
3567
|
ProcessingCard.prototype.toString = function () {
|
|
3568
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3568
|
+
return 'ProcessingCard(gameCard=' + this.x2q_1 + ', payload=' + this.y2q_1 + ')';
|
|
3569
3569
|
};
|
|
3570
3570
|
ProcessingCard.prototype.hashCode = function () {
|
|
3571
|
-
var result = this.
|
|
3572
|
-
result = imul(result, 31) + (this.
|
|
3571
|
+
var result = this.x2q_1.hashCode();
|
|
3572
|
+
result = imul(result, 31) + (this.y2q_1 == null ? 0 : hashCode(this.y2q_1)) | 0;
|
|
3573
3573
|
return result;
|
|
3574
3574
|
};
|
|
3575
3575
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3578,9 +3578,9 @@
|
|
|
3578
3578
|
if (!(other instanceof ProcessingCard))
|
|
3579
3579
|
return false;
|
|
3580
3580
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3581
|
-
if (!this.
|
|
3581
|
+
if (!this.x2q_1.equals(tmp0_other_with_cast.x2q_1))
|
|
3582
3582
|
return false;
|
|
3583
|
-
if (!equals(this.
|
|
3583
|
+
if (!equals(this.y2q_1, tmp0_other_with_cast.y2q_1))
|
|
3584
3584
|
return false;
|
|
3585
3585
|
return true;
|
|
3586
3586
|
};
|
|
@@ -3596,13 +3596,13 @@
|
|
|
3596
3596
|
Companion_instance_17 = this;
|
|
3597
3597
|
var tmp = this;
|
|
3598
3598
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3599
|
-
tmp.
|
|
3599
|
+
tmp.a2r_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3600
3600
|
}
|
|
3601
|
-
Companion_17.prototype.
|
|
3602
|
-
return this.
|
|
3601
|
+
Companion_17.prototype.n25 = function () {
|
|
3602
|
+
return this.a2r_1.c2();
|
|
3603
3603
|
};
|
|
3604
|
-
Companion_17.prototype.
|
|
3605
|
-
return this.
|
|
3604
|
+
Companion_17.prototype.a1u = function (typeParamsSerializers) {
|
|
3605
|
+
return this.n25();
|
|
3606
3606
|
};
|
|
3607
3607
|
Companion_17.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
3608
3608
|
var Companion_instance_17;
|
|
@@ -3670,37 +3670,37 @@
|
|
|
3670
3670
|
return tmp;
|
|
3671
3671
|
}
|
|
3672
3672
|
function _no_name_provided__qut3iv($logger) {
|
|
3673
|
-
this.
|
|
3673
|
+
this.c2r_1 = $logger;
|
|
3674
3674
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3675
3675
|
}
|
|
3676
|
-
_no_name_provided__qut3iv.prototype.
|
|
3676
|
+
_no_name_provided__qut3iv.prototype.hq = function (context, exception) {
|
|
3677
3677
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3678
|
-
return this.
|
|
3678
|
+
return this.c2r_1.d2r('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3679
3679
|
};
|
|
3680
3680
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
3681
3681
|
function AsyncProviderImpl(logger) {
|
|
3682
3682
|
var tmp = this;
|
|
3683
|
-
tmp.
|
|
3683
|
+
tmp.e2r_1 = Job$default(null, 1, null);
|
|
3684
3684
|
var tmp_0 = this;
|
|
3685
3685
|
var tmp$ret$0;
|
|
3686
3686
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3687
3687
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3688
|
-
tmp_0.
|
|
3689
|
-
this.
|
|
3690
|
-
this.
|
|
3688
|
+
tmp_0.f2r_1 = tmp$ret$0;
|
|
3689
|
+
this.g2r_1 = CoroutineScope(Dispatchers_getInstance().ou().y4(this.e2r_1));
|
|
3690
|
+
this.h2r_1 = CoroutineScope(Dispatchers_getInstance().ku_1.y4(this.e2r_1));
|
|
3691
3691
|
}
|
|
3692
|
-
AsyncProviderImpl.prototype.
|
|
3693
|
-
return this.
|
|
3692
|
+
AsyncProviderImpl.prototype.i2r = function () {
|
|
3693
|
+
return this.f2r_1;
|
|
3694
3694
|
};
|
|
3695
|
-
AsyncProviderImpl.prototype.
|
|
3696
|
-
return launch$default(this.
|
|
3695
|
+
AsyncProviderImpl.prototype.j2r = function (context, block) {
|
|
3696
|
+
return launch$default(this.g2r_1, context, null, block, 2, null);
|
|
3697
3697
|
};
|
|
3698
|
-
AsyncProviderImpl.prototype.
|
|
3699
|
-
return launch$default(this.
|
|
3698
|
+
AsyncProviderImpl.prototype.l2r = function (context, block) {
|
|
3699
|
+
return launch$default(this.h2r_1, context, null, block, 2, null);
|
|
3700
3700
|
};
|
|
3701
|
-
AsyncProviderImpl.prototype.
|
|
3702
|
-
if (!this.
|
|
3703
|
-
this.
|
|
3701
|
+
AsyncProviderImpl.prototype.un = function () {
|
|
3702
|
+
if (!this.e2r_1.aq()) {
|
|
3703
|
+
this.e2r_1.rm(null, 1, null);
|
|
3704
3704
|
}
|
|
3705
3705
|
};
|
|
3706
3706
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
@@ -3708,56 +3708,56 @@
|
|
|
3708
3708
|
}
|
|
3709
3709
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3710
3710
|
function JobsProviderImpl(logger) {
|
|
3711
|
-
this.
|
|
3711
|
+
this.n2r_1 = logger;
|
|
3712
3712
|
var tmp = this;
|
|
3713
3713
|
var tmp$ret$0;
|
|
3714
3714
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3715
3715
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3716
|
-
tmp.
|
|
3716
|
+
tmp.o2r_1 = tmp$ret$0;
|
|
3717
3717
|
}
|
|
3718
|
-
JobsProviderImpl.prototype.
|
|
3719
|
-
if (this.
|
|
3718
|
+
JobsProviderImpl.prototype.p2r = function (timerTag, job) {
|
|
3719
|
+
if (this.r2r(timerTag)) {
|
|
3720
3720
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3721
|
-
this.
|
|
3721
|
+
this.n2r_1.q2r(null, tmp, null, 5, null);
|
|
3722
3722
|
}
|
|
3723
3723
|
// Inline function 'kotlin.collections.set' call
|
|
3724
|
-
var tmp0_set = this.
|
|
3724
|
+
var tmp0_set = this.o2r_1;
|
|
3725
3725
|
tmp0_set.p(timerTag, job);
|
|
3726
3726
|
};
|
|
3727
|
-
JobsProviderImpl.prototype.
|
|
3728
|
-
return this.
|
|
3727
|
+
JobsProviderImpl.prototype.r2r = function (timerTag) {
|
|
3728
|
+
return this.o2r_1.j2(timerTag);
|
|
3729
3729
|
};
|
|
3730
|
-
JobsProviderImpl.prototype.
|
|
3731
|
-
if (!this.
|
|
3730
|
+
JobsProviderImpl.prototype.s2r = function (timerTag) {
|
|
3731
|
+
if (!this.r2r(timerTag)) {
|
|
3732
3732
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3733
|
-
this.
|
|
3733
|
+
this.n2r_1.q2r(null, tmp, null, 5, null);
|
|
3734
3734
|
}
|
|
3735
|
-
this.
|
|
3735
|
+
this.o2r_1.od(timerTag);
|
|
3736
3736
|
};
|
|
3737
|
-
JobsProviderImpl.prototype.
|
|
3737
|
+
JobsProviderImpl.prototype.t2r = function (timers) {
|
|
3738
3738
|
// Inline function 'kotlin.collections.forEach' call
|
|
3739
3739
|
var tmp0_iterator = timers.f();
|
|
3740
3740
|
while (tmp0_iterator.g()) {
|
|
3741
3741
|
var element = tmp0_iterator.h();
|
|
3742
3742
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3743
|
-
var timer = this.
|
|
3743
|
+
var timer = this.o2r_1.s(element);
|
|
3744
3744
|
var tmp0_safe_receiver = timer;
|
|
3745
3745
|
if (tmp0_safe_receiver == null)
|
|
3746
3746
|
null;
|
|
3747
3747
|
else {
|
|
3748
|
-
tmp0_safe_receiver.
|
|
3748
|
+
tmp0_safe_receiver.rm(null, 1, null);
|
|
3749
3749
|
}
|
|
3750
3750
|
}
|
|
3751
|
-
this.
|
|
3751
|
+
this.o2r_1.m2().mc(toSet(timers));
|
|
3752
3752
|
};
|
|
3753
|
-
JobsProviderImpl.prototype.
|
|
3754
|
-
var timer = this.
|
|
3755
|
-
this.
|
|
3753
|
+
JobsProviderImpl.prototype.u2r = function (timerTag) {
|
|
3754
|
+
var timer = this.o2r_1.s(timerTag);
|
|
3755
|
+
this.o2r_1.od(timerTag);
|
|
3756
3756
|
var tmp0_safe_receiver = timer;
|
|
3757
3757
|
if (tmp0_safe_receiver == null)
|
|
3758
3758
|
null;
|
|
3759
3759
|
else {
|
|
3760
|
-
tmp0_safe_receiver.
|
|
3760
|
+
tmp0_safe_receiver.rm(null, 1, null);
|
|
3761
3761
|
}
|
|
3762
3762
|
};
|
|
3763
3763
|
JobsProviderImpl.$metadata$ = classMeta('JobsProviderImpl', [JobsProvider]);
|
|
@@ -3777,64 +3777,64 @@
|
|
|
3777
3777
|
// Inline function 'org.kodein.type.generic' call
|
|
3778
3778
|
var tmp = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3779
3779
|
tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
3780
|
-
tmp$ret$1 = $this$$receiver.
|
|
3780
|
+
tmp$ret$1 = $this$$receiver.i2f(tmp$ret$0, null, null);
|
|
3781
3781
|
var tmp_0 = tmp$ret$1;
|
|
3782
3782
|
var tmp$ret$3;
|
|
3783
3783
|
// Inline function 'org.kodein.di.singleton' call
|
|
3784
3784
|
var tmp0_singleton = coreModule$lambda$lambda;
|
|
3785
|
-
var tmp_1 = $this$$receiver.
|
|
3786
|
-
var tmp_2 = $this$$receiver.
|
|
3787
|
-
var tmp_3 = $this$$receiver.
|
|
3785
|
+
var tmp_1 = $this$$receiver.u2e();
|
|
3786
|
+
var tmp_2 = $this$$receiver.v2e();
|
|
3787
|
+
var tmp_3 = $this$$receiver.w2e();
|
|
3788
3788
|
var tmp$ret$2;
|
|
3789
3789
|
// Inline function 'org.kodein.type.generic' call
|
|
3790
3790
|
var tmp_4 = typeToken(createKType(getKClass(AsyncProviderImpl), arrayOf([]), false));
|
|
3791
3791
|
tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3792
3792
|
tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, tmp0_singleton);
|
|
3793
|
-
tmp_0.
|
|
3793
|
+
tmp_0.x2e(tmp$ret$3);
|
|
3794
3794
|
var tmp$ret$5;
|
|
3795
3795
|
// Inline function 'org.kodein.di.bind' call
|
|
3796
3796
|
var tmp$ret$4;
|
|
3797
3797
|
// Inline function 'org.kodein.type.generic' call
|
|
3798
3798
|
var tmp_5 = typeToken(createKType(getKClass(JobsProvider), arrayOf([]), false));
|
|
3799
3799
|
tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
3800
|
-
tmp$ret$5 = $this$$receiver.
|
|
3800
|
+
tmp$ret$5 = $this$$receiver.i2f(tmp$ret$4, null, null);
|
|
3801
3801
|
var tmp_6 = tmp$ret$5;
|
|
3802
3802
|
var tmp$ret$7;
|
|
3803
3803
|
// Inline function 'org.kodein.di.singleton' call
|
|
3804
3804
|
var tmp1_singleton = coreModule$lambda$lambda_0;
|
|
3805
|
-
var tmp_7 = $this$$receiver.
|
|
3806
|
-
var tmp_8 = $this$$receiver.
|
|
3807
|
-
var tmp_9 = $this$$receiver.
|
|
3805
|
+
var tmp_7 = $this$$receiver.u2e();
|
|
3806
|
+
var tmp_8 = $this$$receiver.v2e();
|
|
3807
|
+
var tmp_9 = $this$$receiver.w2e();
|
|
3808
3808
|
var tmp$ret$6;
|
|
3809
3809
|
// Inline function 'org.kodein.type.generic' call
|
|
3810
3810
|
var tmp_10 = typeToken(createKType(getKClass(JobsProviderImpl), arrayOf([]), false));
|
|
3811
3811
|
tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3812
3812
|
tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, tmp1_singleton);
|
|
3813
|
-
tmp_6.
|
|
3813
|
+
tmp_6.x2e(tmp$ret$7);
|
|
3814
3814
|
return Unit_getInstance();
|
|
3815
3815
|
}
|
|
3816
3816
|
function coreModule$lambda$lambda($this$singleton) {
|
|
3817
3817
|
init_properties_DI_kt_pa5hx();
|
|
3818
3818
|
var tmp$ret$1;
|
|
3819
3819
|
// Inline function 'org.kodein.di.instance' call
|
|
3820
|
-
var tmp = $this$singleton.
|
|
3820
|
+
var tmp = $this$singleton.k2g();
|
|
3821
3821
|
var tmp$ret$0;
|
|
3822
3822
|
// Inline function 'org.kodein.type.generic' call
|
|
3823
3823
|
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
3824
3824
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3825
|
-
tmp$ret$1 = tmp.
|
|
3825
|
+
tmp$ret$1 = tmp.s2g(tmp$ret$0, null);
|
|
3826
3826
|
return new AsyncProviderImpl(tmp$ret$1);
|
|
3827
3827
|
}
|
|
3828
3828
|
function coreModule$lambda$lambda_0($this$singleton) {
|
|
3829
3829
|
init_properties_DI_kt_pa5hx();
|
|
3830
3830
|
var tmp$ret$1;
|
|
3831
3831
|
// Inline function 'org.kodein.di.instance' call
|
|
3832
|
-
var tmp = $this$singleton.
|
|
3832
|
+
var tmp = $this$singleton.k2g();
|
|
3833
3833
|
var tmp$ret$0;
|
|
3834
3834
|
// Inline function 'org.kodein.type.generic' call
|
|
3835
3835
|
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
3836
3836
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3837
|
-
tmp$ret$1 = tmp.
|
|
3837
|
+
tmp$ret$1 = tmp.s2g(tmp$ret$0, null);
|
|
3838
3838
|
return new JobsProviderImpl(tmp$ret$1);
|
|
3839
3839
|
}
|
|
3840
3840
|
var properties_initialized_DI_kt_3whi87;
|
|
@@ -3884,10 +3884,10 @@
|
|
|
3884
3884
|
}
|
|
3885
3885
|
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3886
3886
|
try {
|
|
3887
|
-
currentState.
|
|
3887
|
+
currentState.a12(currentReducer._v.v2r(currentState.c2(), action));
|
|
3888
3888
|
} catch ($p) {
|
|
3889
3889
|
if ($p instanceof Exception) {
|
|
3890
|
-
$logger.
|
|
3890
|
+
$logger.d2r('createStore.dispatch', null, $p, null, 10, null);
|
|
3891
3891
|
} else {
|
|
3892
3892
|
throw $p;
|
|
3893
3893
|
}
|
|
@@ -3919,53 +3919,53 @@
|
|
|
3919
3919
|
return l;
|
|
3920
3920
|
}
|
|
3921
3921
|
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3922
|
-
this.
|
|
3922
|
+
this.y2r_1 = $currentState;
|
|
3923
3923
|
var tmp = this;
|
|
3924
|
-
tmp.
|
|
3924
|
+
tmp.w2r_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3925
3925
|
var tmp_0 = this;
|
|
3926
|
-
tmp_0.
|
|
3926
|
+
tmp_0.x2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3927
3927
|
}
|
|
3928
|
-
createStore$2.prototype.
|
|
3929
|
-
this.
|
|
3928
|
+
createStore$2.prototype.z2r = function (_set____db54di) {
|
|
3929
|
+
this.w2r_1 = _set____db54di;
|
|
3930
3930
|
};
|
|
3931
|
-
createStore$2.prototype.
|
|
3932
|
-
return this.
|
|
3931
|
+
createStore$2.prototype.a2s = function () {
|
|
3932
|
+
return this.w2r_1;
|
|
3933
3933
|
};
|
|
3934
|
-
createStore$2.prototype.
|
|
3935
|
-
return this.
|
|
3934
|
+
createStore$2.prototype.b2s = function () {
|
|
3935
|
+
return this.y2r_1;
|
|
3936
3936
|
};
|
|
3937
|
-
createStore$2.prototype.
|
|
3938
|
-
return this.
|
|
3937
|
+
createStore$2.prototype.c2s = function () {
|
|
3938
|
+
return this.x2r_1;
|
|
3939
3939
|
};
|
|
3940
|
-
createStore$2.prototype.
|
|
3941
|
-
return this.
|
|
3940
|
+
createStore$2.prototype.dm = function () {
|
|
3941
|
+
return this.y2r_1.c2();
|
|
3942
3942
|
};
|
|
3943
3943
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
3944
3944
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3945
3945
|
configurable: true,
|
|
3946
3946
|
get: function () {
|
|
3947
|
-
return this.
|
|
3947
|
+
return this.a2s();
|
|
3948
3948
|
},
|
|
3949
3949
|
set: function (value) {
|
|
3950
|
-
this.
|
|
3950
|
+
this.z2r(value);
|
|
3951
3951
|
}
|
|
3952
3952
|
});
|
|
3953
3953
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3954
3954
|
configurable: true,
|
|
3955
3955
|
get: function () {
|
|
3956
|
-
return this.
|
|
3956
|
+
return this.b2s();
|
|
3957
3957
|
}
|
|
3958
3958
|
});
|
|
3959
3959
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3960
3960
|
configurable: true,
|
|
3961
3961
|
get: function () {
|
|
3962
|
-
return this.
|
|
3962
|
+
return this.c2s();
|
|
3963
3963
|
}
|
|
3964
3964
|
});
|
|
3965
3965
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
3966
3966
|
configurable: true,
|
|
3967
3967
|
get: function () {
|
|
3968
|
-
return this.
|
|
3968
|
+
return this.dm();
|
|
3969
3969
|
}
|
|
3970
3970
|
});
|
|
3971
3971
|
function Action() {
|
|
@@ -3994,10 +3994,10 @@
|
|
|
3994
3994
|
return new middleware$1(dispatch);
|
|
3995
3995
|
}
|
|
3996
3996
|
function middleware$1($dispatch) {
|
|
3997
|
-
this.
|
|
3997
|
+
this.g2s_1 = $dispatch;
|
|
3998
3998
|
}
|
|
3999
|
-
middleware$1.prototype.
|
|
4000
|
-
this.
|
|
3999
|
+
middleware$1.prototype.f2s = function (store, next, action) {
|
|
4000
|
+
this.g2s_1(store, next, action);
|
|
4001
4001
|
};
|
|
4002
4002
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4003
4003
|
function Reducer() {
|
|
@@ -4007,9 +4007,9 @@
|
|
|
4007
4007
|
return new combineReducers$1(reducers);
|
|
4008
4008
|
}
|
|
4009
4009
|
function combineReducers$1($reducers) {
|
|
4010
|
-
this.
|
|
4010
|
+
this.h2s_1 = $reducers;
|
|
4011
4011
|
}
|
|
4012
|
-
combineReducers$1.prototype.
|
|
4012
|
+
combineReducers$1.prototype.i2s = function (state, action) {
|
|
4013
4013
|
var tmp$ret$4;
|
|
4014
4014
|
// Inline function 'kotlin.collections.fold' call
|
|
4015
4015
|
var tmp$ret$2;
|
|
@@ -4017,7 +4017,7 @@
|
|
|
4017
4017
|
var tmp$ret$1;
|
|
4018
4018
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4019
4019
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
4020
|
-
var indexedObject = this.
|
|
4020
|
+
var indexedObject = this.h2s_1;
|
|
4021
4021
|
var inductionVariable = 0;
|
|
4022
4022
|
var last = indexedObject.length;
|
|
4023
4023
|
while (inductionVariable < last) {
|
|
@@ -4025,7 +4025,7 @@
|
|
|
4025
4025
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4026
4026
|
var tmp$ret$0;
|
|
4027
4027
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4028
|
-
tmp$ret$0 = element.
|
|
4028
|
+
tmp$ret$0 = element.e2s(action);
|
|
4029
4029
|
if (tmp$ret$0) {
|
|
4030
4030
|
tmp0_filterTo.a(element);
|
|
4031
4031
|
}
|
|
@@ -4040,14 +4040,14 @@
|
|
|
4040
4040
|
var tmp$ret$3;
|
|
4041
4041
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4042
4042
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
4043
|
-
tmp$ret$3 = element_0.
|
|
4043
|
+
tmp$ret$3 = element_0.v2r(tmp1__anonymous__uwfjfc, action);
|
|
4044
4044
|
accumulator = tmp$ret$3;
|
|
4045
4045
|
}
|
|
4046
4046
|
tmp$ret$4 = accumulator;
|
|
4047
4047
|
return tmp$ret$4;
|
|
4048
4048
|
};
|
|
4049
|
-
combineReducers$1.prototype.
|
|
4050
|
-
return this.
|
|
4049
|
+
combineReducers$1.prototype.v2r = function (state, action) {
|
|
4050
|
+
return this.i2s((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
4051
4051
|
};
|
|
4052
4052
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
4053
4053
|
function Store() {
|
|
@@ -4061,7 +4061,7 @@
|
|
|
4061
4061
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
4062
4062
|
configurable: true,
|
|
4063
4063
|
get: function () {
|
|
4064
|
-
return this.
|
|
4064
|
+
return this.d2s();
|
|
4065
4065
|
}
|
|
4066
4066
|
});
|
|
4067
4067
|
var INIT_instance;
|
|
@@ -4078,7 +4078,7 @@
|
|
|
4078
4078
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
4079
4079
|
configurable: true,
|
|
4080
4080
|
get: function () {
|
|
4081
|
-
return this.
|
|
4081
|
+
return this.d2s();
|
|
4082
4082
|
}
|
|
4083
4083
|
});
|
|
4084
4084
|
var REPLACE_instance;
|
|
@@ -4093,7 +4093,7 @@
|
|
|
4093
4093
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
4094
4094
|
configurable: true,
|
|
4095
4095
|
get: function () {
|
|
4096
|
-
return this.
|
|
4096
|
+
return this.d2s();
|
|
4097
4097
|
}
|
|
4098
4098
|
});
|
|
4099
4099
|
function BufferedAction() {
|
|
@@ -4110,16 +4110,16 @@
|
|
|
4110
4110
|
TimerTag.$metadata$ = interfaceMeta('TimerTag', [NotValidateIfGameFinished]);
|
|
4111
4111
|
function StopTimerAction(timerTag) {
|
|
4112
4112
|
TimerAction.call(this);
|
|
4113
|
-
this.
|
|
4113
|
+
this.k2s_1 = timerTag;
|
|
4114
4114
|
}
|
|
4115
|
-
StopTimerAction.prototype.
|
|
4116
|
-
return this.
|
|
4115
|
+
StopTimerAction.prototype.l2s = function () {
|
|
4116
|
+
return this.k2s_1;
|
|
4117
4117
|
};
|
|
4118
4118
|
StopTimerAction.prototype.toString = function () {
|
|
4119
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4119
|
+
return 'StopTimerAction(timerTag=' + this.k2s_1 + ')';
|
|
4120
4120
|
};
|
|
4121
4121
|
StopTimerAction.prototype.hashCode = function () {
|
|
4122
|
-
return hashCode(this.
|
|
4122
|
+
return hashCode(this.k2s_1);
|
|
4123
4123
|
};
|
|
4124
4124
|
StopTimerAction.prototype.equals = function (other) {
|
|
4125
4125
|
if (this === other)
|
|
@@ -4127,7 +4127,7 @@
|
|
|
4127
4127
|
if (!(other instanceof StopTimerAction))
|
|
4128
4128
|
return false;
|
|
4129
4129
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4130
|
-
if (!equals(this.
|
|
4130
|
+
if (!equals(this.k2s_1, tmp0_other_with_cast.k2s_1))
|
|
4131
4131
|
return false;
|
|
4132
4132
|
return true;
|
|
4133
4133
|
};
|
|
@@ -4135,7 +4135,7 @@
|
|
|
4135
4135
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
4136
4136
|
configurable: true,
|
|
4137
4137
|
get: function () {
|
|
4138
|
-
return this.
|
|
4138
|
+
return this.d2s();
|
|
4139
4139
|
}
|
|
4140
4140
|
});
|
|
4141
4141
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -4151,31 +4151,31 @@
|
|
|
4151
4151
|
}
|
|
4152
4152
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
4153
4153
|
TimerAction.call(this);
|
|
4154
|
-
this.
|
|
4155
|
-
this.
|
|
4156
|
-
this.
|
|
4157
|
-
this.
|
|
4154
|
+
this.m2s_1 = timerTag;
|
|
4155
|
+
this.n2s_1 = delayMillis;
|
|
4156
|
+
this.o2s_1 = initialDelay;
|
|
4157
|
+
this.p2s_1 = type;
|
|
4158
4158
|
}
|
|
4159
|
-
StartTimerAction.prototype.
|
|
4160
|
-
return this.
|
|
4159
|
+
StartTimerAction.prototype.l2s = function () {
|
|
4160
|
+
return this.m2s_1;
|
|
4161
4161
|
};
|
|
4162
|
-
StartTimerAction.prototype.
|
|
4163
|
-
return this.
|
|
4162
|
+
StartTimerAction.prototype.q2s = function () {
|
|
4163
|
+
return this.n2s_1;
|
|
4164
4164
|
};
|
|
4165
|
-
StartTimerAction.prototype.
|
|
4166
|
-
return this.
|
|
4165
|
+
StartTimerAction.prototype.r2s = function () {
|
|
4166
|
+
return this.o2s_1;
|
|
4167
4167
|
};
|
|
4168
4168
|
StartTimerAction.prototype.f7 = function () {
|
|
4169
|
-
return this.
|
|
4169
|
+
return this.p2s_1;
|
|
4170
4170
|
};
|
|
4171
4171
|
StartTimerAction.prototype.toString = function () {
|
|
4172
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4172
|
+
return 'StartTimerAction(timerTag=' + this.m2s_1 + ', delayMillis=' + toString_0(this.n2s_1) + ', initialDelay=' + toString_0(this.o2s_1) + ', type=' + this.p2s_1 + ')';
|
|
4173
4173
|
};
|
|
4174
4174
|
StartTimerAction.prototype.hashCode = function () {
|
|
4175
|
-
var result = hashCode(this.
|
|
4176
|
-
result = imul(result, 31) + this.
|
|
4177
|
-
result = imul(result, 31) + this.
|
|
4178
|
-
result = imul(result, 31) + this.
|
|
4175
|
+
var result = hashCode(this.m2s_1);
|
|
4176
|
+
result = imul(result, 31) + this.n2s_1.hashCode() | 0;
|
|
4177
|
+
result = imul(result, 31) + this.o2s_1.hashCode() | 0;
|
|
4178
|
+
result = imul(result, 31) + this.p2s_1.hashCode() | 0;
|
|
4179
4179
|
return result;
|
|
4180
4180
|
};
|
|
4181
4181
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -4184,13 +4184,13 @@
|
|
|
4184
4184
|
if (!(other instanceof StartTimerAction))
|
|
4185
4185
|
return false;
|
|
4186
4186
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4187
|
-
if (!equals(this.
|
|
4187
|
+
if (!equals(this.m2s_1, tmp0_other_with_cast.m2s_1))
|
|
4188
4188
|
return false;
|
|
4189
|
-
if (!this.
|
|
4189
|
+
if (!this.n2s_1.equals(tmp0_other_with_cast.n2s_1))
|
|
4190
4190
|
return false;
|
|
4191
|
-
if (!this.
|
|
4191
|
+
if (!this.o2s_1.equals(tmp0_other_with_cast.o2s_1))
|
|
4192
4192
|
return false;
|
|
4193
|
-
if (!this.
|
|
4193
|
+
if (!this.p2s_1.equals(tmp0_other_with_cast.p2s_1))
|
|
4194
4194
|
return false;
|
|
4195
4195
|
return true;
|
|
4196
4196
|
};
|
|
@@ -4198,7 +4198,7 @@
|
|
|
4198
4198
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4199
4199
|
configurable: true,
|
|
4200
4200
|
get: function () {
|
|
4201
|
-
return this.
|
|
4201
|
+
return this.d2s();
|
|
4202
4202
|
}
|
|
4203
4203
|
});
|
|
4204
4204
|
var TimerType_DELAY_instance;
|
|
@@ -4217,24 +4217,24 @@
|
|
|
4217
4217
|
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4218
4218
|
function TimerTickAction(timerTag, type) {
|
|
4219
4219
|
TimerAction.call(this);
|
|
4220
|
-
this.
|
|
4221
|
-
this.
|
|
4220
|
+
this.s2s_1 = timerTag;
|
|
4221
|
+
this.t2s_1 = type;
|
|
4222
4222
|
}
|
|
4223
|
-
TimerTickAction.prototype.
|
|
4224
|
-
return this.
|
|
4223
|
+
TimerTickAction.prototype.l2s = function () {
|
|
4224
|
+
return this.s2s_1;
|
|
4225
4225
|
};
|
|
4226
4226
|
TimerTickAction.prototype.f7 = function () {
|
|
4227
|
-
return this.
|
|
4227
|
+
return this.t2s_1;
|
|
4228
4228
|
};
|
|
4229
4229
|
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4230
|
-
return this.
|
|
4230
|
+
return this.s2s_1.notValidateWhenFinished();
|
|
4231
4231
|
};
|
|
4232
4232
|
TimerTickAction.prototype.toString = function () {
|
|
4233
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4233
|
+
return 'TimerTickAction(timerTag=' + this.s2s_1 + ', type=' + this.t2s_1 + ')';
|
|
4234
4234
|
};
|
|
4235
4235
|
TimerTickAction.prototype.hashCode = function () {
|
|
4236
|
-
var result = hashCode(this.
|
|
4237
|
-
result = imul(result, 31) + this.
|
|
4236
|
+
var result = hashCode(this.s2s_1);
|
|
4237
|
+
result = imul(result, 31) + this.t2s_1.hashCode() | 0;
|
|
4238
4238
|
return result;
|
|
4239
4239
|
};
|
|
4240
4240
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4243,9 +4243,9 @@
|
|
|
4243
4243
|
if (!(other instanceof TimerTickAction))
|
|
4244
4244
|
return false;
|
|
4245
4245
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4246
|
-
if (!equals(this.
|
|
4246
|
+
if (!equals(this.s2s_1, tmp0_other_with_cast.s2s_1))
|
|
4247
4247
|
return false;
|
|
4248
|
-
if (!this.
|
|
4248
|
+
if (!this.t2s_1.equals(tmp0_other_with_cast.t2s_1))
|
|
4249
4249
|
return false;
|
|
4250
4250
|
return true;
|
|
4251
4251
|
};
|
|
@@ -4253,7 +4253,7 @@
|
|
|
4253
4253
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4254
4254
|
configurable: true,
|
|
4255
4255
|
get: function () {
|
|
4256
|
-
return this.
|
|
4256
|
+
return this.d2s();
|
|
4257
4257
|
}
|
|
4258
4258
|
});
|
|
4259
4259
|
function TimerAction() {
|
|
@@ -4262,7 +4262,7 @@
|
|
|
4262
4262
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4263
4263
|
configurable: true,
|
|
4264
4264
|
get: function () {
|
|
4265
|
-
return this.
|
|
4265
|
+
return this.d2s();
|
|
4266
4266
|
}
|
|
4267
4267
|
});
|
|
4268
4268
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4291,7 +4291,7 @@
|
|
|
4291
4291
|
var tmp_0;
|
|
4292
4292
|
if ($p instanceof Exception) {
|
|
4293
4293
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4294
|
-
$logger.
|
|
4294
|
+
$logger.d2r('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4295
4295
|
tmp_0 = Unit_getInstance();
|
|
4296
4296
|
} else {
|
|
4297
4297
|
throw $p;
|
|
@@ -4319,7 +4319,7 @@
|
|
|
4319
4319
|
}
|
|
4320
4320
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4321
4321
|
return function (action) {
|
|
4322
|
-
$tmp0__anonymous__1nv1x1.
|
|
4322
|
+
$tmp0__anonymous__1nv1x1.f2s($store, $tmp1__anonymous__6ijp4k, action);
|
|
4323
4323
|
return Unit_getInstance();
|
|
4324
4324
|
};
|
|
4325
4325
|
}
|
|
@@ -4338,7 +4338,7 @@
|
|
|
4338
4338
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4339
4339
|
var tmp$ret$0;
|
|
4340
4340
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4341
|
-
tmp$ret$0 = element.
|
|
4341
|
+
tmp$ret$0 = element.e2s(action);
|
|
4342
4342
|
if (tmp$ret$0) {
|
|
4343
4343
|
tmp0_filterTo.a(element);
|
|
4344
4344
|
}
|
|
@@ -4386,261 +4386,261 @@
|
|
|
4386
4386
|
return tmp$ret$0;
|
|
4387
4387
|
}
|
|
4388
4388
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4389
|
-
this.
|
|
4390
|
-
this.
|
|
4391
|
-
this.
|
|
4389
|
+
this.c2t_1 = $jobsProvider;
|
|
4390
|
+
this.d2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4391
|
+
this.e2t_1 = $store;
|
|
4392
4392
|
CoroutineImpl.call(this, resultContinuation);
|
|
4393
4393
|
}
|
|
4394
|
-
timerMiddleware$o$handle$slambda$slambda.prototype.
|
|
4395
|
-
var tmp = this.
|
|
4396
|
-
tmp.
|
|
4397
|
-
tmp.
|
|
4398
|
-
return tmp.
|
|
4394
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.m16 = function ($this$launchStore, $cont) {
|
|
4395
|
+
var tmp = this.n16($this$launchStore, $cont);
|
|
4396
|
+
tmp.rj_1 = Unit_getInstance();
|
|
4397
|
+
tmp.sj_1 = null;
|
|
4398
|
+
return tmp.yj();
|
|
4399
4399
|
};
|
|
4400
|
-
timerMiddleware$o$handle$slambda$slambda.prototype.
|
|
4401
|
-
return this.
|
|
4400
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.zj = function (p1, $cont) {
|
|
4401
|
+
return this.m16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4402
4402
|
};
|
|
4403
|
-
timerMiddleware$o$handle$slambda$slambda.prototype.
|
|
4404
|
-
var suspendResult = this.
|
|
4403
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.yj = function () {
|
|
4404
|
+
var suspendResult = this.rj_1;
|
|
4405
4405
|
$sm: do
|
|
4406
4406
|
try {
|
|
4407
|
-
var tmp = this.
|
|
4407
|
+
var tmp = this.pj_1;
|
|
4408
4408
|
if (tmp === 0) {
|
|
4409
|
-
this.
|
|
4410
|
-
if (this.
|
|
4411
|
-
this.
|
|
4409
|
+
this.qj_1 = 1;
|
|
4410
|
+
if (this.c2t_1.r2r(this.d2t_1.l2s())) {
|
|
4411
|
+
this.e2t_1.dispatch(new TimerTickAction(this.d2t_1.l2s(), TimerType_DELAY_getInstance()));
|
|
4412
4412
|
}
|
|
4413
4413
|
return Unit_getInstance();
|
|
4414
4414
|
} else if (tmp === 1) {
|
|
4415
|
-
throw this.
|
|
4415
|
+
throw this.sj_1;
|
|
4416
4416
|
}
|
|
4417
4417
|
} catch ($p) {
|
|
4418
4418
|
throw $p;
|
|
4419
4419
|
}
|
|
4420
4420
|
while (true);
|
|
4421
4421
|
};
|
|
4422
|
-
timerMiddleware$o$handle$slambda$slambda.prototype.
|
|
4423
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4424
|
-
i.
|
|
4422
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.n16 = function ($this$launchStore, completion) {
|
|
4423
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.c2t_1, this.d2t_1, this.e2t_1, completion);
|
|
4424
|
+
i.f2t_1 = $this$launchStore;
|
|
4425
4425
|
return i;
|
|
4426
4426
|
};
|
|
4427
4427
|
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4428
4428
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4429
4429
|
var i = new timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4430
4430
|
var l = function ($this$launchStore, $cont) {
|
|
4431
|
-
return i.
|
|
4431
|
+
return i.m16($this$launchStore, $cont);
|
|
4432
4432
|
};
|
|
4433
4433
|
l.$arity = 1;
|
|
4434
4434
|
return l;
|
|
4435
4435
|
}
|
|
4436
4436
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4437
|
-
this.
|
|
4438
|
-
this.
|
|
4439
|
-
this.
|
|
4437
|
+
this.o2t_1 = $jobsProvider;
|
|
4438
|
+
this.p2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4439
|
+
this.q2t_1 = $store;
|
|
4440
4440
|
CoroutineImpl.call(this, resultContinuation);
|
|
4441
4441
|
}
|
|
4442
|
-
timerMiddleware$o$handle$slambda$slambda_1.prototype.
|
|
4443
|
-
var tmp = this.
|
|
4444
|
-
tmp.
|
|
4445
|
-
tmp.
|
|
4446
|
-
return tmp.
|
|
4442
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.m16 = function ($this$launchStore, $cont) {
|
|
4443
|
+
var tmp = this.n16($this$launchStore, $cont);
|
|
4444
|
+
tmp.rj_1 = Unit_getInstance();
|
|
4445
|
+
tmp.sj_1 = null;
|
|
4446
|
+
return tmp.yj();
|
|
4447
4447
|
};
|
|
4448
|
-
timerMiddleware$o$handle$slambda$slambda_1.prototype.
|
|
4449
|
-
return this.
|
|
4448
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.zj = function (p1, $cont) {
|
|
4449
|
+
return this.m16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4450
4450
|
};
|
|
4451
|
-
timerMiddleware$o$handle$slambda$slambda_1.prototype.
|
|
4452
|
-
var suspendResult = this.
|
|
4451
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.yj = function () {
|
|
4452
|
+
var suspendResult = this.rj_1;
|
|
4453
4453
|
$sm: do
|
|
4454
4454
|
try {
|
|
4455
|
-
var tmp = this.
|
|
4455
|
+
var tmp = this.pj_1;
|
|
4456
4456
|
if (tmp === 0) {
|
|
4457
|
-
this.
|
|
4458
|
-
if (this.
|
|
4459
|
-
this.
|
|
4457
|
+
this.qj_1 = 1;
|
|
4458
|
+
if (this.o2t_1.r2r(this.p2t_1.l2s())) {
|
|
4459
|
+
this.q2t_1.dispatch(new TimerTickAction(this.p2t_1.l2s(), TimerType_INTERVAL_getInstance()));
|
|
4460
4460
|
}
|
|
4461
4461
|
return Unit_getInstance();
|
|
4462
4462
|
} else if (tmp === 1) {
|
|
4463
|
-
throw this.
|
|
4463
|
+
throw this.sj_1;
|
|
4464
4464
|
}
|
|
4465
4465
|
} catch ($p) {
|
|
4466
4466
|
throw $p;
|
|
4467
4467
|
}
|
|
4468
4468
|
while (true);
|
|
4469
4469
|
};
|
|
4470
|
-
timerMiddleware$o$handle$slambda$slambda_1.prototype.
|
|
4471
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4472
|
-
i.
|
|
4470
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.n16 = function ($this$launchStore, completion) {
|
|
4471
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.o2t_1, this.p2t_1, this.q2t_1, completion);
|
|
4472
|
+
i.r2t_1 = $this$launchStore;
|
|
4473
4473
|
return i;
|
|
4474
4474
|
};
|
|
4475
4475
|
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4476
4476
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4477
4477
|
var i = new timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4478
4478
|
var l = function ($this$launchStore, $cont) {
|
|
4479
|
-
return i.
|
|
4479
|
+
return i.m16($this$launchStore, $cont);
|
|
4480
4480
|
};
|
|
4481
4481
|
l.$arity = 1;
|
|
4482
4482
|
return l;
|
|
4483
4483
|
}
|
|
4484
4484
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4485
|
-
this.
|
|
4486
|
-
this.
|
|
4487
|
-
this.
|
|
4488
|
-
this.
|
|
4485
|
+
this.a2u_1 = $tmp0__anonymous__1nv1x1;
|
|
4486
|
+
this.b2u_1 = $asyncProvider;
|
|
4487
|
+
this.c2u_1 = $jobsProvider;
|
|
4488
|
+
this.d2u_1 = $store;
|
|
4489
4489
|
CoroutineImpl.call(this, resultContinuation);
|
|
4490
4490
|
}
|
|
4491
|
-
timerMiddleware$o$handle$slambda.prototype.
|
|
4492
|
-
var tmp = this.
|
|
4493
|
-
tmp.
|
|
4494
|
-
tmp.
|
|
4495
|
-
return tmp.
|
|
4491
|
+
timerMiddleware$o$handle$slambda.prototype.m16 = function ($this$launchWorker, $cont) {
|
|
4492
|
+
var tmp = this.n16($this$launchWorker, $cont);
|
|
4493
|
+
tmp.rj_1 = Unit_getInstance();
|
|
4494
|
+
tmp.sj_1 = null;
|
|
4495
|
+
return tmp.yj();
|
|
4496
4496
|
};
|
|
4497
|
-
timerMiddleware$o$handle$slambda.prototype.
|
|
4498
|
-
return this.
|
|
4497
|
+
timerMiddleware$o$handle$slambda.prototype.zj = function (p1, $cont) {
|
|
4498
|
+
return this.m16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4499
4499
|
};
|
|
4500
|
-
timerMiddleware$o$handle$slambda.prototype.
|
|
4501
|
-
var suspendResult = this.
|
|
4500
|
+
timerMiddleware$o$handle$slambda.prototype.yj = function () {
|
|
4501
|
+
var suspendResult = this.rj_1;
|
|
4502
4502
|
$sm: do
|
|
4503
4503
|
try {
|
|
4504
|
-
var tmp = this.
|
|
4504
|
+
var tmp = this.pj_1;
|
|
4505
4505
|
switch (tmp) {
|
|
4506
4506
|
case 0:
|
|
4507
|
-
this.
|
|
4508
|
-
if (!this.
|
|
4509
|
-
this.
|
|
4510
|
-
suspendResult = delay(this.
|
|
4507
|
+
this.qj_1 = 10;
|
|
4508
|
+
if (!this.a2u_1.o2s_1.equals(new Long(0, 0)) ? this.a2u_1.p2s_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4509
|
+
this.pj_1 = 1;
|
|
4510
|
+
suspendResult = delay(this.a2u_1.o2s_1, this);
|
|
4511
4511
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4512
4512
|
return suspendResult;
|
|
4513
4513
|
}
|
|
4514
4514
|
continue $sm;
|
|
4515
4515
|
} else {
|
|
4516
|
-
this.
|
|
4516
|
+
this.pj_1 = 2;
|
|
4517
4517
|
continue $sm;
|
|
4518
4518
|
}
|
|
4519
4519
|
|
|
4520
4520
|
break;
|
|
4521
4521
|
case 1:
|
|
4522
|
-
this.
|
|
4522
|
+
this.pj_1 = 2;
|
|
4523
4523
|
continue $sm;
|
|
4524
4524
|
case 2:
|
|
4525
|
-
this.
|
|
4526
|
-
this.
|
|
4527
|
-
if (this.
|
|
4528
|
-
this.
|
|
4529
|
-
suspendResult = delay(this.
|
|
4525
|
+
this.f2u_1 = this.a2u_1.p2s_1;
|
|
4526
|
+
this.g2u_1 = this.f2u_1.e5_1;
|
|
4527
|
+
if (this.g2u_1 === 0) {
|
|
4528
|
+
this.pj_1 = 8;
|
|
4529
|
+
suspendResult = delay(this.a2u_1.n2s_1, this);
|
|
4530
4530
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4531
4531
|
return suspendResult;
|
|
4532
4532
|
}
|
|
4533
4533
|
continue $sm;
|
|
4534
4534
|
} else {
|
|
4535
|
-
if (this.
|
|
4536
|
-
if (!this.
|
|
4537
|
-
this.
|
|
4538
|
-
suspendResult = delay(this.
|
|
4535
|
+
if (this.g2u_1 === 1) {
|
|
4536
|
+
if (!this.a2u_1.o2s_1.equals(new Long(0, 0))) {
|
|
4537
|
+
this.pj_1 = 3;
|
|
4538
|
+
suspendResult = delay(this.a2u_1.o2s_1, this);
|
|
4539
4539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4540
4540
|
return suspendResult;
|
|
4541
4541
|
}
|
|
4542
4542
|
continue $sm;
|
|
4543
4543
|
} else {
|
|
4544
|
-
this.
|
|
4544
|
+
this.pj_1 = 4;
|
|
4545
4545
|
continue $sm;
|
|
4546
4546
|
}
|
|
4547
4547
|
} else {
|
|
4548
|
-
this.
|
|
4548
|
+
this.pj_1 = 9;
|
|
4549
4549
|
continue $sm;
|
|
4550
4550
|
}
|
|
4551
4551
|
}
|
|
4552
4552
|
|
|
4553
4553
|
break;
|
|
4554
4554
|
case 3:
|
|
4555
|
-
this.
|
|
4555
|
+
this.pj_1 = 4;
|
|
4556
4556
|
continue $sm;
|
|
4557
4557
|
case 4:
|
|
4558
|
-
this.
|
|
4558
|
+
this.pj_1 = 5;
|
|
4559
4559
|
continue $sm;
|
|
4560
4560
|
case 5:
|
|
4561
|
-
if (!get_isActive(this.
|
|
4562
|
-
this.
|
|
4561
|
+
if (!get_isActive(this.e2u_1)) {
|
|
4562
|
+
this.pj_1 = 7;
|
|
4563
4563
|
continue $sm;
|
|
4564
4564
|
}
|
|
4565
4565
|
|
|
4566
|
-
this.
|
|
4566
|
+
this.b2u_1.k2r(null, timerMiddleware$o$handle$slambda$slambda_2(this.c2u_1, this.a2u_1, this.d2u_1, null), 1, null);
|
|
4567
4567
|
;
|
|
4568
|
-
this.
|
|
4569
|
-
suspendResult = delay(this.
|
|
4568
|
+
this.pj_1 = 6;
|
|
4569
|
+
suspendResult = delay(this.a2u_1.o2s_1, this);
|
|
4570
4570
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4571
4571
|
return suspendResult;
|
|
4572
4572
|
}
|
|
4573
4573
|
|
|
4574
4574
|
continue $sm;
|
|
4575
4575
|
case 6:
|
|
4576
|
-
this.
|
|
4576
|
+
this.pj_1 = 5;
|
|
4577
4577
|
continue $sm;
|
|
4578
4578
|
case 7:
|
|
4579
|
-
this.
|
|
4579
|
+
this.pj_1 = 9;
|
|
4580
4580
|
continue $sm;
|
|
4581
4581
|
case 8:
|
|
4582
|
-
this.
|
|
4582
|
+
this.b2u_1.k2r(null, timerMiddleware$o$handle$slambda$slambda_0(this.c2u_1, this.a2u_1, this.d2u_1, null), 1, null);
|
|
4583
4583
|
;
|
|
4584
|
-
this.
|
|
4584
|
+
this.pj_1 = 9;
|
|
4585
4585
|
continue $sm;
|
|
4586
4586
|
case 9:
|
|
4587
4587
|
return Unit_getInstance();
|
|
4588
4588
|
case 10:
|
|
4589
|
-
throw this.
|
|
4589
|
+
throw this.sj_1;
|
|
4590
4590
|
}
|
|
4591
4591
|
} catch ($p) {
|
|
4592
|
-
if (this.
|
|
4592
|
+
if (this.qj_1 === 10) {
|
|
4593
4593
|
throw $p;
|
|
4594
4594
|
} else {
|
|
4595
|
-
this.
|
|
4596
|
-
this.
|
|
4595
|
+
this.pj_1 = this.qj_1;
|
|
4596
|
+
this.sj_1 = $p;
|
|
4597
4597
|
}
|
|
4598
4598
|
}
|
|
4599
4599
|
while (true);
|
|
4600
4600
|
};
|
|
4601
|
-
timerMiddleware$o$handle$slambda.prototype.
|
|
4602
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4603
|
-
i.
|
|
4601
|
+
timerMiddleware$o$handle$slambda.prototype.n16 = function ($this$launchWorker, completion) {
|
|
4602
|
+
var i = new timerMiddleware$o$handle$slambda(this.a2u_1, this.b2u_1, this.c2u_1, this.d2u_1, completion);
|
|
4603
|
+
i.e2u_1 = $this$launchWorker;
|
|
4604
4604
|
return i;
|
|
4605
4605
|
};
|
|
4606
4606
|
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4607
4607
|
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4608
4608
|
var i = new timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation);
|
|
4609
4609
|
var l = function ($this$launchWorker, $cont) {
|
|
4610
|
-
return i.
|
|
4610
|
+
return i.m16($this$launchWorker, $cont);
|
|
4611
4611
|
};
|
|
4612
4612
|
l.$arity = 1;
|
|
4613
4613
|
return l;
|
|
4614
4614
|
}
|
|
4615
4615
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4616
|
-
this.
|
|
4617
|
-
this.
|
|
4616
|
+
this.h2u_1 = $asyncProvider;
|
|
4617
|
+
this.i2u_1 = $jobsProvider;
|
|
4618
4618
|
}
|
|
4619
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4619
|
+
_no_name_provided__qut3iv_0.prototype.e2s = function (action) {
|
|
4620
4620
|
return action instanceof TimerAction;
|
|
4621
4621
|
};
|
|
4622
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4622
|
+
_no_name_provided__qut3iv_0.prototype.j2u = function (store, next, action) {
|
|
4623
4623
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4624
4624
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4625
4625
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4626
4626
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4627
|
-
var job = this.
|
|
4628
|
-
this.
|
|
4627
|
+
var job = this.h2u_1.m2r(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.h2u_1, this.i2u_1, store, null), 1, null);
|
|
4628
|
+
this.i2u_1.p2r(tmp0__anonymous__q1qw7t.l2s(), job);
|
|
4629
4629
|
} else {
|
|
4630
4630
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4631
|
-
this.
|
|
4631
|
+
this.i2u_1.u2r(tmp0__anonymous__q1qw7t.l2s());
|
|
4632
4632
|
} else {
|
|
4633
4633
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4634
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4635
|
-
this.
|
|
4634
|
+
if (tmp0__anonymous__q1qw7t.t2s_1.equals(TimerType_DELAY_getInstance())) {
|
|
4635
|
+
this.i2u_1.s2r(tmp0__anonymous__q1qw7t.l2s());
|
|
4636
4636
|
}
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
4639
|
}
|
|
4640
4640
|
next(tmp0__anonymous__q1qw7t);
|
|
4641
4641
|
};
|
|
4642
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4643
|
-
return this.
|
|
4642
|
+
_no_name_provided__qut3iv_0.prototype.f2s = function (store, next, action) {
|
|
4643
|
+
return this.j2u(store, next, action);
|
|
4644
4644
|
};
|
|
4645
4645
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4646
4646
|
function enumToString(_this__u8e3s4, mapping) {
|
|
@@ -4807,12 +4807,6 @@
|
|
|
4807
4807
|
while (inductionVariable <= last);
|
|
4808
4808
|
return newList;
|
|
4809
4809
|
}
|
|
4810
|
-
function GameLogger() {
|
|
4811
|
-
}
|
|
4812
|
-
GameLogger.$metadata$ = interfaceMeta('GameLogger', [LoggerOutput]);
|
|
4813
|
-
function LoggerOutput() {
|
|
4814
|
-
}
|
|
4815
|
-
LoggerOutput.$metadata$ = interfaceMeta('LoggerOutput');
|
|
4816
4810
|
var Category_LIFECYCLE_instance;
|
|
4817
4811
|
var Category_NONE_instance;
|
|
4818
4812
|
var Category_entriesInitialized;
|
|
@@ -4824,24 +4818,24 @@
|
|
|
4824
4818
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4825
4819
|
}
|
|
4826
4820
|
function generateTag($this, tag) {
|
|
4827
|
-
return (!($this.
|
|
4821
|
+
return (!($this.m2u_1 == null) ? !(tag == null) : false) ? '' + $this.m2u_1 + ':' + tag : tag;
|
|
4828
4822
|
}
|
|
4829
4823
|
function Category(name, ordinal, isEnabled) {
|
|
4830
4824
|
Enum.call(this, name, ordinal);
|
|
4831
|
-
this.
|
|
4825
|
+
this.p2u_1 = isEnabled;
|
|
4832
4826
|
}
|
|
4833
4827
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4834
4828
|
function Logger$loggerSource$1() {
|
|
4835
|
-
this.
|
|
4829
|
+
this.q2u_1 = new PlatformLogger();
|
|
4836
4830
|
}
|
|
4837
|
-
Logger$loggerSource$1.prototype.
|
|
4838
|
-
this.
|
|
4831
|
+
Logger$loggerSource$1.prototype.r2u = function (tag, msg) {
|
|
4832
|
+
this.q2u_1.r2u(tag, msg);
|
|
4839
4833
|
};
|
|
4840
|
-
Logger$loggerSource$1.prototype.
|
|
4841
|
-
this.
|
|
4834
|
+
Logger$loggerSource$1.prototype.s2u = function (tag, msg, exception) {
|
|
4835
|
+
this.q2u_1.s2u(tag, msg, exception);
|
|
4842
4836
|
};
|
|
4843
|
-
Logger$loggerSource$1.prototype.
|
|
4844
|
-
this.
|
|
4837
|
+
Logger$loggerSource$1.prototype.t2u = function (tag, msg) {
|
|
4838
|
+
this.q2u_1.t2u(tag, msg);
|
|
4845
4839
|
};
|
|
4846
4840
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
4847
4841
|
function Category_NONE_getInstance() {
|
|
@@ -4851,42 +4845,42 @@
|
|
|
4851
4845
|
function Logger() {
|
|
4852
4846
|
Logger_instance = this;
|
|
4853
4847
|
var tmp = this;
|
|
4854
|
-
tmp.
|
|
4855
|
-
this.
|
|
4856
|
-
this.
|
|
4848
|
+
tmp.k2u_1 = new Logger$loggerSource$1();
|
|
4849
|
+
this.l2u_1 = true;
|
|
4850
|
+
this.m2u_1 = null;
|
|
4857
4851
|
}
|
|
4858
|
-
Logger.prototype.
|
|
4859
|
-
this.
|
|
4852
|
+
Logger.prototype.u2u = function (tag, message) {
|
|
4853
|
+
this.v2u(tag, message, Category_NONE_getInstance());
|
|
4860
4854
|
};
|
|
4861
|
-
Logger.prototype.
|
|
4862
|
-
if (this.
|
|
4863
|
-
this.
|
|
4855
|
+
Logger.prototype.w2u = function (tag, message, category) {
|
|
4856
|
+
if (this.l2u_1 ? category.p2u_1 : false) {
|
|
4857
|
+
this.k2u_1.t2u(generateTag(this, tag), message);
|
|
4864
4858
|
}
|
|
4865
4859
|
};
|
|
4866
|
-
Logger.prototype.
|
|
4860
|
+
Logger.prototype.x2u = function (tag, message, category, $mask0, $handler) {
|
|
4867
4861
|
if (!(($mask0 & 1) === 0))
|
|
4868
4862
|
tag = null;
|
|
4869
4863
|
if (!(($mask0 & 4) === 0))
|
|
4870
4864
|
category = Category_NONE_getInstance();
|
|
4871
|
-
return this.
|
|
4865
|
+
return this.w2u(tag, message, category);
|
|
4872
4866
|
};
|
|
4873
|
-
Logger.prototype.
|
|
4874
|
-
if (this.
|
|
4875
|
-
this.
|
|
4867
|
+
Logger.prototype.v2u = function (tag, message, category) {
|
|
4868
|
+
if (this.l2u_1 ? category.p2u_1 : false) {
|
|
4869
|
+
this.k2u_1.r2u(generateTag(this, tag), message);
|
|
4876
4870
|
}
|
|
4877
4871
|
};
|
|
4878
|
-
Logger.prototype.
|
|
4879
|
-
if (this.
|
|
4872
|
+
Logger.prototype.y2u = function (tag, message, exception, category) {
|
|
4873
|
+
if (this.l2u_1 ? category.p2u_1 : false) {
|
|
4880
4874
|
var tmp0_safe_receiver = exception;
|
|
4881
4875
|
if (tmp0_safe_receiver == null)
|
|
4882
4876
|
null;
|
|
4883
4877
|
else {
|
|
4884
4878
|
printStackTrace(tmp0_safe_receiver);
|
|
4885
4879
|
}
|
|
4886
|
-
this.
|
|
4880
|
+
this.k2u_1.s2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4887
4881
|
}
|
|
4888
4882
|
};
|
|
4889
|
-
Logger.prototype.
|
|
4883
|
+
Logger.prototype.z2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
4890
4884
|
if (!(($mask0 & 1) === 0))
|
|
4891
4885
|
tag = null;
|
|
4892
4886
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4895,7 +4889,7 @@
|
|
|
4895
4889
|
exception = null;
|
|
4896
4890
|
if (!(($mask0 & 8) === 0))
|
|
4897
4891
|
category = Category_NONE_getInstance();
|
|
4898
|
-
return this.
|
|
4892
|
+
return this.y2u(tag, message, exception, category);
|
|
4899
4893
|
};
|
|
4900
4894
|
Logger.$metadata$ = objectMeta('Logger');
|
|
4901
4895
|
var Logger_instance;
|
|
@@ -4935,112 +4929,130 @@
|
|
|
4935
4929
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4936
4930
|
}
|
|
4937
4931
|
function CombinedGameLogger(logOutputs) {
|
|
4938
|
-
this.
|
|
4932
|
+
this.a2v_1 = logOutputs;
|
|
4939
4933
|
}
|
|
4940
|
-
CombinedGameLogger.prototype.
|
|
4934
|
+
CombinedGameLogger.prototype.b2v = function (tag, message, payload) {
|
|
4941
4935
|
// Inline function 'kotlin.collections.forEach' call
|
|
4942
|
-
var tmp0_forEach = this.
|
|
4936
|
+
var tmp0_forEach = this.a2v_1;
|
|
4943
4937
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4944
4938
|
while (tmp0_iterator.g()) {
|
|
4945
4939
|
var element = tmp0_iterator.h();
|
|
4946
4940
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4947
|
-
element.
|
|
4941
|
+
element.b2v(tag, message, payload);
|
|
4948
4942
|
}
|
|
4949
4943
|
};
|
|
4950
|
-
CombinedGameLogger.prototype.
|
|
4944
|
+
CombinedGameLogger.prototype.d2v = function (tag, message, exception, payload) {
|
|
4951
4945
|
// Inline function 'kotlin.collections.forEach' call
|
|
4952
|
-
var tmp0_forEach = this.
|
|
4946
|
+
var tmp0_forEach = this.a2v_1;
|
|
4953
4947
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4954
4948
|
while (tmp0_iterator.g()) {
|
|
4955
4949
|
var element = tmp0_iterator.h();
|
|
4956
4950
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4957
|
-
element.
|
|
4951
|
+
element.d2v(tag, message, exception, payload);
|
|
4958
4952
|
}
|
|
4959
4953
|
};
|
|
4960
|
-
CombinedGameLogger.prototype.
|
|
4954
|
+
CombinedGameLogger.prototype.e2v = function (tag, message, payload) {
|
|
4961
4955
|
// Inline function 'kotlin.collections.forEach' call
|
|
4962
|
-
var tmp0_forEach = this.
|
|
4956
|
+
var tmp0_forEach = this.a2v_1;
|
|
4963
4957
|
var tmp0_iterator = tmp0_forEach.f();
|
|
4964
4958
|
while (tmp0_iterator.g()) {
|
|
4965
4959
|
var element = tmp0_iterator.h();
|
|
4966
4960
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4967
|
-
element.
|
|
4961
|
+
element.e2v(tag, message, payload);
|
|
4968
4962
|
}
|
|
4969
4963
|
};
|
|
4970
4964
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
4965
|
+
function GameLogger() {
|
|
4966
|
+
}
|
|
4967
|
+
GameLogger.$metadata$ = interfaceMeta('GameLogger', [LoggerOutput]);
|
|
4971
4968
|
function LoggerPayload() {
|
|
4972
4969
|
}
|
|
4973
4970
|
LoggerPayload.$metadata$ = interfaceMeta('LoggerPayload');
|
|
4974
|
-
function
|
|
4975
|
-
|
|
4971
|
+
function PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, $this) {
|
|
4972
|
+
if (!(($mask0 & 1) === 0))
|
|
4973
|
+
enabled = true;
|
|
4974
|
+
PlatformGameLogger.call($this, enabled);
|
|
4975
|
+
return $this;
|
|
4976
|
+
}
|
|
4977
|
+
function PlatformGameLogger_init_$Create$(enabled, $mask0, $marker) {
|
|
4978
|
+
return PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, Object.create(PlatformGameLogger.prototype));
|
|
4976
4979
|
}
|
|
4977
|
-
|
|
4978
|
-
|
|
4980
|
+
function PlatformGameLogger(enabled) {
|
|
4981
|
+
this.f2v_1 = enabled;
|
|
4982
|
+
}
|
|
4983
|
+
PlatformGameLogger.prototype.b2v = function (tag, message, payload) {
|
|
4984
|
+
if (!this.f2v_1)
|
|
4985
|
+
return Unit_getInstance();
|
|
4986
|
+
Logger_getInstance().u2u(tag, message);
|
|
4979
4987
|
};
|
|
4980
|
-
PlatformGameLogger.prototype.
|
|
4988
|
+
PlatformGameLogger.prototype.d2v = function (tag, message, exception, payload) {
|
|
4989
|
+
if (!this.f2v_1)
|
|
4990
|
+
return Unit_getInstance();
|
|
4981
4991
|
var tmp = Logger_getInstance();
|
|
4982
|
-
tmp.
|
|
4992
|
+
tmp.z2u(tag, message, exception, null, 8, null);
|
|
4983
4993
|
};
|
|
4984
|
-
PlatformGameLogger.prototype.
|
|
4994
|
+
PlatformGameLogger.prototype.e2v = function (tag, message, payload) {
|
|
4995
|
+
if (!this.f2v_1)
|
|
4996
|
+
return Unit_getInstance();
|
|
4985
4997
|
var tmp = Logger_getInstance();
|
|
4986
|
-
tmp.
|
|
4998
|
+
tmp.x2u(tag, message, null, 4, null);
|
|
4987
4999
|
};
|
|
4988
|
-
PlatformGameLogger.$metadata$ =
|
|
4989
|
-
|
|
4990
|
-
function PlatformGameLogger_getInstance() {
|
|
4991
|
-
if (PlatformGameLogger_instance == null)
|
|
4992
|
-
new PlatformGameLogger();
|
|
4993
|
-
return PlatformGameLogger_instance;
|
|
5000
|
+
PlatformGameLogger.$metadata$ = classMeta('PlatformGameLogger', [GameLogger, LoggerEnabledTrigger]);
|
|
5001
|
+
function LoggerEnabledTrigger() {
|
|
4994
5002
|
}
|
|
5003
|
+
LoggerEnabledTrigger.$metadata$ = interfaceMeta('LoggerEnabledTrigger');
|
|
5004
|
+
function LoggerOutput() {
|
|
5005
|
+
}
|
|
5006
|
+
LoggerOutput.$metadata$ = interfaceMeta('LoggerOutput');
|
|
4995
5007
|
function PlatformLogger() {
|
|
4996
5008
|
}
|
|
4997
|
-
PlatformLogger.prototype.
|
|
5009
|
+
PlatformLogger.prototype.r2u = function (tag, msg) {
|
|
4998
5010
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4999
5011
|
};
|
|
5000
|
-
PlatformLogger.prototype.
|
|
5012
|
+
PlatformLogger.prototype.s2u = function (tag, msg, exception) {
|
|
5001
5013
|
if (!(exception == null)) {
|
|
5002
5014
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
5003
5015
|
} else {
|
|
5004
5016
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
5005
5017
|
}
|
|
5006
5018
|
};
|
|
5007
|
-
PlatformLogger.prototype.
|
|
5019
|
+
PlatformLogger.prototype.t2u = function (tag, msg) {
|
|
5008
5020
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
5009
5021
|
};
|
|
5010
5022
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
5011
5023
|
//region block: post-declaration
|
|
5012
|
-
$serializer.prototype.
|
|
5013
|
-
$serializer_0.prototype.
|
|
5014
|
-
$serializer_1.prototype.
|
|
5015
|
-
$serializer_2.prototype.
|
|
5016
|
-
$serializer_3.prototype.
|
|
5017
|
-
$serializer_4.prototype.
|
|
5018
|
-
$serializer_5.prototype.
|
|
5019
|
-
$serializer_6.prototype.
|
|
5020
|
-
$serializer_7.prototype.
|
|
5024
|
+
$serializer.prototype.q1t = typeParametersSerializers;
|
|
5025
|
+
$serializer_0.prototype.q1t = typeParametersSerializers;
|
|
5026
|
+
$serializer_1.prototype.q1t = typeParametersSerializers;
|
|
5027
|
+
$serializer_2.prototype.q1t = typeParametersSerializers;
|
|
5028
|
+
$serializer_3.prototype.q1t = typeParametersSerializers;
|
|
5029
|
+
$serializer_4.prototype.q1t = typeParametersSerializers;
|
|
5030
|
+
$serializer_5.prototype.q1t = typeParametersSerializers;
|
|
5031
|
+
$serializer_6.prototype.q1t = typeParametersSerializers;
|
|
5032
|
+
$serializer_7.prototype.q1t = typeParametersSerializers;
|
|
5021
5033
|
_no_name_provided__qut3iv.prototype.r4 = get;
|
|
5022
5034
|
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
5023
5035
|
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
5024
5036
|
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
5025
|
-
AsyncProviderImpl.prototype.
|
|
5026
|
-
AsyncProviderImpl.prototype.
|
|
5027
|
-
middleware$1.prototype.
|
|
5028
|
-
combineReducers$1.prototype.
|
|
5029
|
-
StoreLifecycleAction.prototype.
|
|
5030
|
-
INIT.prototype.
|
|
5031
|
-
REPLACE.prototype.
|
|
5032
|
-
TimerAction.prototype.
|
|
5033
|
-
StopTimerAction.prototype.
|
|
5037
|
+
AsyncProviderImpl.prototype.k2r = launchStore$default;
|
|
5038
|
+
AsyncProviderImpl.prototype.m2r = launchWorker$default;
|
|
5039
|
+
middleware$1.prototype.e2s = canHandle;
|
|
5040
|
+
combineReducers$1.prototype.e2s = canHandle_0;
|
|
5041
|
+
StoreLifecycleAction.prototype.d2s = get_actionTag;
|
|
5042
|
+
INIT.prototype.d2s = get_actionTag;
|
|
5043
|
+
REPLACE.prototype.d2s = get_actionTag;
|
|
5044
|
+
TimerAction.prototype.d2s = get_actionTag;
|
|
5045
|
+
StopTimerAction.prototype.d2s = get_actionTag;
|
|
5034
5046
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5035
5047
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
5036
|
-
StartTimerAction.prototype.
|
|
5037
|
-
TimerTickAction.prototype.
|
|
5038
|
-
CombinedGameLogger.prototype.
|
|
5039
|
-
CombinedGameLogger.prototype.
|
|
5040
|
-
CombinedGameLogger.prototype.
|
|
5041
|
-
PlatformGameLogger.prototype.
|
|
5042
|
-
PlatformGameLogger.prototype.
|
|
5043
|
-
PlatformGameLogger.prototype.
|
|
5048
|
+
StartTimerAction.prototype.d2s = get_actionTag;
|
|
5049
|
+
TimerTickAction.prototype.d2s = get_actionTag;
|
|
5050
|
+
CombinedGameLogger.prototype.c2v = d$default;
|
|
5051
|
+
CombinedGameLogger.prototype.d2r = e$default;
|
|
5052
|
+
CombinedGameLogger.prototype.q2r = w$default;
|
|
5053
|
+
PlatformGameLogger.prototype.c2v = d$default;
|
|
5054
|
+
PlatformGameLogger.prototype.d2r = e$default;
|
|
5055
|
+
PlatformGameLogger.prototype.q2r = w$default;
|
|
5044
5056
|
//endregion
|
|
5045
5057
|
//region block: exports
|
|
5046
5058
|
function $jsExportAll$(_) {
|
|
@@ -5246,8 +5258,8 @@
|
|
|
5246
5258
|
_.$_$.l2 = applyMiddleware;
|
|
5247
5259
|
_.$_$.m2 = timerMiddleware;
|
|
5248
5260
|
_.$_$.n2 = CombinedGameLogger;
|
|
5249
|
-
_.$_$.o2 =
|
|
5250
|
-
_.$_$.p2 =
|
|
5261
|
+
_.$_$.o2 = GameLogger;
|
|
5262
|
+
_.$_$.p2 = LoggerPayload;
|
|
5251
5263
|
_.$_$.q2 = LoggerOutput;
|
|
5252
5264
|
_.$_$.r2 = generateMsg;
|
|
5253
5265
|
_.$_$.s2 = enumToString;
|
|
@@ -5279,20 +5291,20 @@
|
|
|
5279
5291
|
_.$_$.s3 = e$default;
|
|
5280
5292
|
_.$_$.t3 = w$default;
|
|
5281
5293
|
_.$_$.u3 = StartTimerAction_init_$Create$;
|
|
5282
|
-
_.$_$.v3 =
|
|
5283
|
-
_.$_$.w3 =
|
|
5284
|
-
_.$_$.x3 =
|
|
5285
|
-
_.$_$.y3 = $
|
|
5286
|
-
_.$_$.z3 = $
|
|
5287
|
-
_.$_$.a4 =
|
|
5288
|
-
_.$_$.b4 =
|
|
5289
|
-
_.$_$.c4 =
|
|
5290
|
-
_.$_$.d4 =
|
|
5291
|
-
_.$_$.e4 =
|
|
5292
|
-
_.$_$.f4 =
|
|
5293
|
-
_.$_$.g4 =
|
|
5294
|
-
_.$_$.h4 =
|
|
5295
|
-
_.$_$.i4 =
|
|
5294
|
+
_.$_$.v3 = PlatformGameLogger_init_$Create$;
|
|
5295
|
+
_.$_$.w3 = Companion_getInstance_8;
|
|
5296
|
+
_.$_$.x3 = Companion_getInstance_10;
|
|
5297
|
+
_.$_$.y3 = $serializer_getInstance_5;
|
|
5298
|
+
_.$_$.z3 = $serializer_getInstance_6;
|
|
5299
|
+
_.$_$.a4 = $serializer_getInstance_7;
|
|
5300
|
+
_.$_$.b4 = CardIndexComparator_getInstance;
|
|
5301
|
+
_.$_$.c4 = CardNumberComparator_getInstance;
|
|
5302
|
+
_.$_$.d4 = Companion_getInstance_15;
|
|
5303
|
+
_.$_$.e4 = Companion_getInstance_17;
|
|
5304
|
+
_.$_$.f4 = Companion_getInstance;
|
|
5305
|
+
_.$_$.g4 = ProcessingReason_getInstance;
|
|
5306
|
+
_.$_$.h4 = RestartGameReason_getInstance;
|
|
5307
|
+
_.$_$.i4 = Companion_getInstance_1;
|
|
5296
5308
|
_.$_$.j4 = Logger_getInstance;
|
|
5297
5309
|
//endregion
|
|
5298
5310
|
return _;
|