game_client_logic_deb 1.4.13 → 1.4.20
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 +4 -4
- package/Kaverit-kaverit.js +14 -14
- package/Kodein-kodein-di.js +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +53 -49
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +857 -742
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6942 -6600
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +38 -2
- package/Logic_Debertz-game_client.js +2341 -2300
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +210 -202
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +94 -94
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +66 -66
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +51 -51
- package/package.json +1 -1
- package/uuid-js-ir.js +26 -26
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', './uuid-js-ir.js', './Kaverit-kaverit.js', './Kodein-kodein-di.js'], factory);
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js', './Kotlin-DateTime-library-kotlinx-datetime-js-ir.js', './kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js', './uuid-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('./uuid-js-ir.js'), require('./Kaverit-kaverit.js'), require('./Kodein-kodein-di.js'));
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./Kotlin-DateTime-library-kotlinx-datetime-js-ir.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./uuid-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'.");
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
if (typeof this['kotlinx-serialization-kotlinx-serialization-core-js-ir'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core-js-ir' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
12
12
|
}
|
|
13
|
+
if (typeof this['Kotlin-DateTime-library-kotlinx-datetime-js-ir'] === 'undefined') {
|
|
14
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kotlin-DateTime-library-kotlinx-datetime-js-ir' was not found. Please, check whether 'Kotlin-DateTime-library-kotlinx-datetime-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
15
|
+
}
|
|
13
16
|
if (typeof this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'] === 'undefined') {
|
|
14
17
|
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
18
|
}
|
|
@@ -22,89 +25,91 @@
|
|
|
22
25
|
if (typeof this['Kodein-kodein-di'] === 'undefined') {
|
|
23
26
|
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'.");
|
|
24
27
|
}
|
|
25
|
-
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['uuid-js-ir'], this['Kaverit-kaverit'], this['Kodein-kodein-di']);
|
|
28
|
+
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['Kotlin-DateTime-library-kotlinx-datetime-js-ir'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], this['uuid-js-ir'], this['Kaverit-kaverit'], this['Kodein-kodein-di']);
|
|
26
29
|
}
|
|
27
|
-
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_benasher44_uuid, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di) {
|
|
30
|
+
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_datetime, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_benasher44_uuid, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di) {
|
|
28
31
|
'use strict';
|
|
29
32
|
//region block: imports
|
|
30
33
|
var imul = Math.imul;
|
|
31
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
32
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
34
|
+
var objectMeta = kotlin_kotlin.$_$.r9;
|
|
35
|
+
var setMetadataFor = kotlin_kotlin.$_$.s9;
|
|
33
36
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
34
37
|
var Unit_getInstance = kotlin_kotlin.$_$.n4;
|
|
35
38
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
36
39
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
|
|
37
|
-
var lazy = kotlin_kotlin.$_$.
|
|
40
|
+
var lazy = kotlin_kotlin.$_$.sc;
|
|
38
41
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
39
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
42
|
+
var classMeta = kotlin_kotlin.$_$.t8;
|
|
40
43
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
41
44
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
42
45
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
46
|
+
var THROW_CCE = kotlin_kotlin.$_$.xb;
|
|
44
47
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
45
48
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
46
49
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
47
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
50
|
+
var getStringHashCode = kotlin_kotlin.$_$.y8;
|
|
48
51
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
49
52
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
50
|
-
var Enum = kotlin_kotlin.$_$.
|
|
53
|
+
var Enum = kotlin_kotlin.$_$.nb;
|
|
51
54
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
52
|
-
var equals = kotlin_kotlin.$_$.
|
|
53
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
54
|
-
var Exception = kotlin_kotlin.$_$.
|
|
55
|
+
var equals = kotlin_kotlin.$_$.v8;
|
|
56
|
+
var interfaceMeta = kotlin_kotlin.$_$.a9;
|
|
57
|
+
var Exception = kotlin_kotlin.$_$.pb;
|
|
55
58
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.i1;
|
|
56
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
57
|
-
var toString = kotlin_kotlin.$_$.
|
|
58
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
59
|
+
var captureStack = kotlin_kotlin.$_$.o8;
|
|
60
|
+
var toString = kotlin_kotlin.$_$.zc;
|
|
61
|
+
var hashCode = kotlin_kotlin.$_$.z8;
|
|
59
62
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
60
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
61
|
-
var
|
|
62
|
-
var toString_0 = kotlin_kotlin.$_$.v9;
|
|
63
|
+
var THROW_ISE = kotlin_kotlin.$_$.yb;
|
|
64
|
+
var toString_0 = kotlin_kotlin.$_$.w9;
|
|
63
65
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
66
|
+
var Long = kotlin_kotlin.$_$.sb;
|
|
67
|
+
var toInstant = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.c;
|
|
64
68
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
65
69
|
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
70
|
+
var ensureNotNull = kotlin_kotlin.$_$.oc;
|
|
66
71
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
67
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
72
|
+
var Comparator = kotlin_kotlin.$_$.kb;
|
|
68
73
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
69
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
70
|
-
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.
|
|
74
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.uc;
|
|
75
|
+
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.y7;
|
|
71
76
|
var Key_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
72
|
-
var get = kotlin_kotlin.$_$.
|
|
73
|
-
var fold = kotlin_kotlin.$_$.
|
|
74
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
75
|
-
var plus = kotlin_kotlin.$_$.
|
|
76
|
-
var Element = kotlin_kotlin.$_$.
|
|
77
|
+
var get = kotlin_kotlin.$_$.f8;
|
|
78
|
+
var fold = kotlin_kotlin.$_$.e8;
|
|
79
|
+
var minusKey = kotlin_kotlin.$_$.g8;
|
|
80
|
+
var plus = kotlin_kotlin.$_$.i8;
|
|
81
|
+
var Element = kotlin_kotlin.$_$.h8;
|
|
77
82
|
var Job$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
78
83
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
79
84
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
80
85
|
var launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
81
86
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
82
87
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
83
|
-
var toSet = kotlin_kotlin.$_$.
|
|
84
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
88
|
+
var toSet = kotlin_kotlin.$_$.q7;
|
|
89
|
+
var arrayOf = kotlin_kotlin.$_$.lc;
|
|
85
90
|
var createKType = kotlin_kotlin.$_$.b;
|
|
86
91
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
87
92
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
88
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
93
|
+
var isInterface = kotlin_kotlin.$_$.i9;
|
|
89
94
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
90
95
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
91
96
|
var MutableStateFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
|
|
92
97
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
93
98
|
var split$default = kotlin_kotlin.$_$.k;
|
|
94
|
-
var first = kotlin_kotlin.$_$.
|
|
95
|
-
var isObject = kotlin_kotlin.$_$.
|
|
96
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
99
|
+
var first = kotlin_kotlin.$_$.f6;
|
|
100
|
+
var isObject = kotlin_kotlin.$_$.k9;
|
|
101
|
+
var CoroutineImpl = kotlin_kotlin.$_$.j8;
|
|
97
102
|
var CoroutineScope_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
98
103
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
99
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
104
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v7;
|
|
100
105
|
var get_isActive = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
101
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
102
|
-
var single = kotlin_kotlin.$_$.
|
|
103
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
104
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
105
|
-
var printStackTrace = kotlin_kotlin.$_$.
|
|
106
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
107
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
106
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.g5;
|
|
107
|
+
var single = kotlin_kotlin.$_$.f7;
|
|
108
|
+
var get_lastIndex = kotlin_kotlin.$_$.n6;
|
|
109
|
+
var toMutableList = kotlin_kotlin.$_$.p7;
|
|
110
|
+
var printStackTrace = kotlin_kotlin.$_$.wc;
|
|
111
|
+
var isBlank = kotlin_kotlin.$_$.pa;
|
|
112
|
+
var stackTraceToString = kotlin_kotlin.$_$.xc;
|
|
108
113
|
//endregion
|
|
109
114
|
//region block: pre-declaration
|
|
110
115
|
setMetadataFor(GameEngineConfig, 'GameEngineConfig', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
@@ -172,13 +177,13 @@
|
|
|
172
177
|
setMetadataFor(_no_name_provided__qut3iv, undefined, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element], undefined, undefined, []);
|
|
173
178
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
174
179
|
if (!(($mask0 & 1) === 0))
|
|
175
|
-
context = this.
|
|
176
|
-
return $handler == null ? this.
|
|
180
|
+
context = this.v2h();
|
|
181
|
+
return $handler == null ? this.y2h(context, block) : $handler(context, block);
|
|
177
182
|
}
|
|
178
183
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
179
184
|
if (!(($mask0 & 1) === 0))
|
|
180
|
-
context = this.
|
|
181
|
-
return $handler == null ? this.
|
|
185
|
+
context = this.v2h();
|
|
186
|
+
return $handler == null ? this.w2h(context, block) : $handler(context, block);
|
|
182
187
|
}
|
|
183
188
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
184
189
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, undefined, [AsyncProvider], undefined, undefined, []);
|
|
@@ -238,7 +243,7 @@
|
|
|
238
243
|
payload = null;
|
|
239
244
|
var tmp;
|
|
240
245
|
if ($handler == null) {
|
|
241
|
-
this.
|
|
246
|
+
this.n2l(tag, message, payload);
|
|
242
247
|
tmp = Unit_getInstance();
|
|
243
248
|
} else {
|
|
244
249
|
tmp = $handler(tag, message, payload);
|
|
@@ -256,7 +261,7 @@
|
|
|
256
261
|
payload = null;
|
|
257
262
|
var tmp;
|
|
258
263
|
if ($handler == null) {
|
|
259
|
-
this.
|
|
264
|
+
this.p2l(tag, message, exception, payload);
|
|
260
265
|
tmp = Unit_getInstance();
|
|
261
266
|
} else {
|
|
262
267
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -270,7 +275,7 @@
|
|
|
270
275
|
payload = null;
|
|
271
276
|
var tmp;
|
|
272
277
|
if ($handler == null) {
|
|
273
|
-
this.
|
|
278
|
+
this.q2l(tag, message, payload);
|
|
274
279
|
tmp = Unit_getInstance();
|
|
275
280
|
} else {
|
|
276
281
|
tmp = $handler(tag, message, payload);
|
|
@@ -286,9 +291,9 @@
|
|
|
286
291
|
//endregion
|
|
287
292
|
function GameEngineConfig() {
|
|
288
293
|
GameEngineConfig_instance = this;
|
|
289
|
-
this.version = '1.4.
|
|
294
|
+
this.version = '1.4.20';
|
|
290
295
|
}
|
|
291
|
-
GameEngineConfig.prototype.
|
|
296
|
+
GameEngineConfig.prototype.f2c = function () {
|
|
292
297
|
return this.version;
|
|
293
298
|
};
|
|
294
299
|
var GameEngineConfig_instance;
|
|
@@ -336,10 +341,10 @@
|
|
|
336
341
|
Companion_instance = this;
|
|
337
342
|
var tmp = this;
|
|
338
343
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
339
|
-
tmp.
|
|
344
|
+
tmp.g2c_1 = lazy(tmp_0, ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon);
|
|
340
345
|
}
|
|
341
346
|
Companion.prototype.l1w = function () {
|
|
342
|
-
return this.
|
|
347
|
+
return this.g2c_1.j1();
|
|
343
348
|
};
|
|
344
349
|
Companion.prototype.b1l = function (typeParamsSerializers) {
|
|
345
350
|
return this.l1w();
|
|
@@ -369,10 +374,10 @@
|
|
|
369
374
|
$serializer_instance = this;
|
|
370
375
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
371
376
|
tmp0_serialDesc.b1k('playerId', false);
|
|
372
|
-
this.
|
|
377
|
+
this.h2c_1 = tmp0_serialDesc;
|
|
373
378
|
}
|
|
374
379
|
$serializer.prototype.p19 = function () {
|
|
375
|
-
return this.
|
|
380
|
+
return this.h2c_1;
|
|
376
381
|
};
|
|
377
382
|
$serializer.prototype.q1k = function () {
|
|
378
383
|
var tmp$ret$2;
|
|
@@ -388,7 +393,7 @@
|
|
|
388
393
|
return tmp$ret$2;
|
|
389
394
|
};
|
|
390
395
|
$serializer.prototype.r19 = function (decoder) {
|
|
391
|
-
var tmp0_desc = this.
|
|
396
|
+
var tmp0_desc = this.h2c_1;
|
|
392
397
|
var tmp1_flag = true;
|
|
393
398
|
var tmp2_index = 0;
|
|
394
399
|
var tmp3_bitMask0 = 0;
|
|
@@ -415,14 +420,14 @@
|
|
|
415
420
|
tmp5_input.x1c(tmp0_desc);
|
|
416
421
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
417
422
|
};
|
|
418
|
-
$serializer.prototype.
|
|
419
|
-
var tmp0_desc = this.
|
|
423
|
+
$serializer.prototype.i2c = function (encoder, value) {
|
|
424
|
+
var tmp0_desc = this.h2c_1;
|
|
420
425
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
421
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
426
|
+
tmp1_output.l1e(tmp0_desc, 0, value.j2c_1);
|
|
422
427
|
tmp1_output.x1c(tmp0_desc);
|
|
423
428
|
};
|
|
424
429
|
$serializer.prototype.q19 = function (encoder, value) {
|
|
425
|
-
return this.
|
|
430
|
+
return this.i2c(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
426
431
|
};
|
|
427
432
|
var $serializer_instance;
|
|
428
433
|
function $serializer_getInstance() {
|
|
@@ -432,10 +437,10 @@
|
|
|
432
437
|
}
|
|
433
438
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
434
439
|
if (!(1 === (1 & seen1))) {
|
|
435
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
440
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().h2c_1);
|
|
436
441
|
}
|
|
437
442
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
438
|
-
$this.
|
|
443
|
+
$this.j2c_1 = playerId;
|
|
439
444
|
return $this;
|
|
440
445
|
}
|
|
441
446
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -444,13 +449,13 @@
|
|
|
444
449
|
function PlayerReturnsReason(playerId) {
|
|
445
450
|
Companion_getInstance_0();
|
|
446
451
|
ContinueGameReason.call(this);
|
|
447
|
-
this.
|
|
452
|
+
this.j2c_1 = playerId;
|
|
448
453
|
}
|
|
449
454
|
PlayerReturnsReason.prototype.toString = function () {
|
|
450
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
455
|
+
return 'PlayerReturnsReason(playerId=' + this.j2c_1 + ')';
|
|
451
456
|
};
|
|
452
457
|
PlayerReturnsReason.prototype.hashCode = function () {
|
|
453
|
-
return getStringHashCode(this.
|
|
458
|
+
return getStringHashCode(this.j2c_1);
|
|
454
459
|
};
|
|
455
460
|
PlayerReturnsReason.prototype.equals = function (other) {
|
|
456
461
|
if (this === other)
|
|
@@ -458,7 +463,7 @@
|
|
|
458
463
|
if (!(other instanceof PlayerReturnsReason))
|
|
459
464
|
return false;
|
|
460
465
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
461
|
-
if (!(this.
|
|
466
|
+
if (!(this.j2c_1 === tmp0_other_with_cast.j2c_1))
|
|
462
467
|
return false;
|
|
463
468
|
return true;
|
|
464
469
|
};
|
|
@@ -479,13 +484,13 @@
|
|
|
479
484
|
RestartGameReason_instance = this;
|
|
480
485
|
var tmp = this;
|
|
481
486
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
482
|
-
tmp.
|
|
487
|
+
tmp.k2c_1 = lazy(tmp_0, RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb);
|
|
483
488
|
}
|
|
484
489
|
RestartGameReason.prototype.toString = function () {
|
|
485
490
|
return 'RestartGameReason';
|
|
486
491
|
};
|
|
487
492
|
RestartGameReason.prototype.l1w = function () {
|
|
488
|
-
return this.
|
|
493
|
+
return this.k2c_1.j1();
|
|
489
494
|
};
|
|
490
495
|
RestartGameReason.prototype.b1l = function (typeParamsSerializers) {
|
|
491
496
|
return this.l1w();
|
|
@@ -561,10 +566,10 @@
|
|
|
561
566
|
Companion_instance_1 = this;
|
|
562
567
|
var tmp = this;
|
|
563
568
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
564
|
-
tmp.
|
|
569
|
+
tmp.l2c_1 = lazy(tmp_0, TerminationGameReason$Companion$$cachedSerializer$delegate$_anonymous__honqx0);
|
|
565
570
|
}
|
|
566
571
|
Companion_1.prototype.serializer = function () {
|
|
567
|
-
return this.
|
|
572
|
+
return this.l2c_1.j1();
|
|
568
573
|
};
|
|
569
574
|
Companion_1.prototype.b1l = function (typeParamsSerializers) {
|
|
570
575
|
return this.serializer();
|
|
@@ -597,10 +602,10 @@
|
|
|
597
602
|
$serializer_instance_0 = this;
|
|
598
603
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
599
604
|
tmp0_serialDesc.b1k('reason', false);
|
|
600
|
-
this.
|
|
605
|
+
this.m2c_1 = tmp0_serialDesc;
|
|
601
606
|
}
|
|
602
607
|
$serializer_0.prototype.p19 = function () {
|
|
603
|
-
return this.
|
|
608
|
+
return this.m2c_1;
|
|
604
609
|
};
|
|
605
610
|
$serializer_0.prototype.q1k = function () {
|
|
606
611
|
var tmp$ret$2;
|
|
@@ -616,7 +621,7 @@
|
|
|
616
621
|
return tmp$ret$2;
|
|
617
622
|
};
|
|
618
623
|
$serializer_0.prototype.r19 = function (decoder) {
|
|
619
|
-
var tmp0_desc = this.
|
|
624
|
+
var tmp0_desc = this.m2c_1;
|
|
620
625
|
var tmp1_flag = true;
|
|
621
626
|
var tmp2_index = 0;
|
|
622
627
|
var tmp3_bitMask0 = 0;
|
|
@@ -643,14 +648,14 @@
|
|
|
643
648
|
tmp5_input.x1c(tmp0_desc);
|
|
644
649
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
645
650
|
};
|
|
646
|
-
$serializer_0.prototype.
|
|
647
|
-
var tmp0_desc = this.
|
|
651
|
+
$serializer_0.prototype.n2c = function (encoder, value) {
|
|
652
|
+
var tmp0_desc = this.m2c_1;
|
|
648
653
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
649
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
654
|
+
tmp1_output.l1e(tmp0_desc, 0, value.o2c_1);
|
|
650
655
|
tmp1_output.x1c(tmp0_desc);
|
|
651
656
|
};
|
|
652
657
|
$serializer_0.prototype.q19 = function (encoder, value) {
|
|
653
|
-
return this.
|
|
658
|
+
return this.n2c(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
654
659
|
};
|
|
655
660
|
var $serializer_instance_0;
|
|
656
661
|
function $serializer_getInstance_0() {
|
|
@@ -660,10 +665,10 @@
|
|
|
660
665
|
}
|
|
661
666
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
662
667
|
if (!(1 === (1 & seen1))) {
|
|
663
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().
|
|
668
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().m2c_1);
|
|
664
669
|
}
|
|
665
670
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
666
|
-
$this.
|
|
671
|
+
$this.o2c_1 = reason;
|
|
667
672
|
return $this;
|
|
668
673
|
}
|
|
669
674
|
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -672,13 +677,13 @@
|
|
|
672
677
|
function GameErrorReason(reason) {
|
|
673
678
|
Companion_getInstance_2();
|
|
674
679
|
TerminationGameReason.call(this);
|
|
675
|
-
this.
|
|
680
|
+
this.o2c_1 = reason;
|
|
676
681
|
}
|
|
677
682
|
GameErrorReason.prototype.toString = function () {
|
|
678
|
-
return 'GameErrorReason(reason=' + this.
|
|
683
|
+
return 'GameErrorReason(reason=' + this.o2c_1 + ')';
|
|
679
684
|
};
|
|
680
685
|
GameErrorReason.prototype.hashCode = function () {
|
|
681
|
-
return getStringHashCode(this.
|
|
686
|
+
return getStringHashCode(this.o2c_1);
|
|
682
687
|
};
|
|
683
688
|
GameErrorReason.prototype.equals = function (other) {
|
|
684
689
|
if (this === other)
|
|
@@ -686,7 +691,7 @@
|
|
|
686
691
|
if (!(other instanceof GameErrorReason))
|
|
687
692
|
return false;
|
|
688
693
|
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
689
|
-
if (!(this.
|
|
694
|
+
if (!(this.o2c_1 === tmp0_other_with_cast.o2c_1))
|
|
690
695
|
return false;
|
|
691
696
|
return true;
|
|
692
697
|
};
|
|
@@ -701,10 +706,10 @@
|
|
|
701
706
|
Companion_instance_3 = this;
|
|
702
707
|
var tmp = this;
|
|
703
708
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
704
|
-
tmp.
|
|
709
|
+
tmp.p2c_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$$cachedSerializer$delegate$_anonymous__1olwq2);
|
|
705
710
|
}
|
|
706
711
|
Companion_3.prototype.l1w = function () {
|
|
707
|
-
return this.
|
|
712
|
+
return this.p2c_1.j1();
|
|
708
713
|
};
|
|
709
714
|
Companion_3.prototype.b1l = function (typeParamsSerializers) {
|
|
710
715
|
return this.l1w();
|
|
@@ -746,10 +751,10 @@
|
|
|
746
751
|
$serializer_instance_1 = this;
|
|
747
752
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
748
753
|
tmp0_serialDesc.b1k('reason', true);
|
|
749
|
-
this.
|
|
754
|
+
this.q2c_1 = tmp0_serialDesc;
|
|
750
755
|
}
|
|
751
756
|
$serializer_1.prototype.p19 = function () {
|
|
752
|
-
return this.
|
|
757
|
+
return this.q2c_1;
|
|
753
758
|
};
|
|
754
759
|
$serializer_1.prototype.q1k = function () {
|
|
755
760
|
var tmp$ret$2;
|
|
@@ -765,7 +770,7 @@
|
|
|
765
770
|
return tmp$ret$2;
|
|
766
771
|
};
|
|
767
772
|
$serializer_1.prototype.r19 = function (decoder) {
|
|
768
|
-
var tmp0_desc = this.
|
|
773
|
+
var tmp0_desc = this.q2c_1;
|
|
769
774
|
var tmp1_flag = true;
|
|
770
775
|
var tmp2_index = 0;
|
|
771
776
|
var tmp3_bitMask0 = 0;
|
|
@@ -792,16 +797,16 @@
|
|
|
792
797
|
tmp5_input.x1c(tmp0_desc);
|
|
793
798
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
794
799
|
};
|
|
795
|
-
$serializer_1.prototype.
|
|
796
|
-
var tmp0_desc = this.
|
|
800
|
+
$serializer_1.prototype.r2c = function (encoder, value) {
|
|
801
|
+
var tmp0_desc = this.q2c_1;
|
|
797
802
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
798
|
-
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.
|
|
799
|
-
tmp1_output.p1e(tmp0_desc, 0, Companion_getInstance_3().l1w(), value.
|
|
803
|
+
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.s2c_1 == null)) {
|
|
804
|
+
tmp1_output.p1e(tmp0_desc, 0, Companion_getInstance_3().l1w(), value.s2c_1);
|
|
800
805
|
}
|
|
801
806
|
tmp1_output.x1c(tmp0_desc);
|
|
802
807
|
};
|
|
803
808
|
$serializer_1.prototype.q19 = function (encoder, value) {
|
|
804
|
-
return this.
|
|
809
|
+
return this.r2c(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
805
810
|
};
|
|
806
811
|
var $serializer_instance_1;
|
|
807
812
|
function $serializer_getInstance_1() {
|
|
@@ -811,13 +816,13 @@
|
|
|
811
816
|
}
|
|
812
817
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
813
818
|
if (!(0 === (0 & seen1))) {
|
|
814
|
-
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().
|
|
819
|
+
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().q2c_1);
|
|
815
820
|
}
|
|
816
821
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
817
822
|
if (0 === (seen1 & 1))
|
|
818
|
-
$this.
|
|
823
|
+
$this.s2c_1 = null;
|
|
819
824
|
else
|
|
820
|
-
$this.
|
|
825
|
+
$this.s2c_1 = reason;
|
|
821
826
|
return $this;
|
|
822
827
|
}
|
|
823
828
|
function GameFinishedReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -842,13 +847,13 @@
|
|
|
842
847
|
function GameFinishedReason(reason) {
|
|
843
848
|
Companion_getInstance_4();
|
|
844
849
|
TerminationGameReason.call(this);
|
|
845
|
-
this.
|
|
850
|
+
this.s2c_1 = reason;
|
|
846
851
|
}
|
|
847
852
|
GameFinishedReason.prototype.toString = function () {
|
|
848
|
-
return 'GameFinishedReason(reason=' + this.
|
|
853
|
+
return 'GameFinishedReason(reason=' + this.s2c_1 + ')';
|
|
849
854
|
};
|
|
850
855
|
GameFinishedReason.prototype.hashCode = function () {
|
|
851
|
-
return this.
|
|
856
|
+
return this.s2c_1 == null ? 0 : this.s2c_1.hashCode();
|
|
852
857
|
};
|
|
853
858
|
GameFinishedReason.prototype.equals = function (other) {
|
|
854
859
|
if (this === other)
|
|
@@ -856,7 +861,7 @@
|
|
|
856
861
|
if (!(other instanceof GameFinishedReason))
|
|
857
862
|
return false;
|
|
858
863
|
var tmp0_other_with_cast = other instanceof GameFinishedReason ? other : THROW_CCE();
|
|
859
|
-
if (!equals(this.
|
|
864
|
+
if (!equals(this.s2c_1, tmp0_other_with_cast.s2c_1))
|
|
860
865
|
return false;
|
|
861
866
|
return true;
|
|
862
867
|
};
|
|
@@ -873,10 +878,10 @@
|
|
|
873
878
|
$serializer_instance_2 = this;
|
|
874
879
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
875
880
|
tmp0_serialDesc.b1k('playerId', false);
|
|
876
|
-
this.
|
|
881
|
+
this.t2c_1 = tmp0_serialDesc;
|
|
877
882
|
}
|
|
878
883
|
$serializer_2.prototype.p19 = function () {
|
|
879
|
-
return this.
|
|
884
|
+
return this.t2c_1;
|
|
880
885
|
};
|
|
881
886
|
$serializer_2.prototype.q1k = function () {
|
|
882
887
|
var tmp$ret$2;
|
|
@@ -892,7 +897,7 @@
|
|
|
892
897
|
return tmp$ret$2;
|
|
893
898
|
};
|
|
894
899
|
$serializer_2.prototype.r19 = function (decoder) {
|
|
895
|
-
var tmp0_desc = this.
|
|
900
|
+
var tmp0_desc = this.t2c_1;
|
|
896
901
|
var tmp1_flag = true;
|
|
897
902
|
var tmp2_index = 0;
|
|
898
903
|
var tmp3_bitMask0 = 0;
|
|
@@ -919,14 +924,14 @@
|
|
|
919
924
|
tmp5_input.x1c(tmp0_desc);
|
|
920
925
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
921
926
|
};
|
|
922
|
-
$serializer_2.prototype.
|
|
923
|
-
var tmp0_desc = this.
|
|
927
|
+
$serializer_2.prototype.u2c = function (encoder, value) {
|
|
928
|
+
var tmp0_desc = this.t2c_1;
|
|
924
929
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
925
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
930
|
+
tmp1_output.l1e(tmp0_desc, 0, value.v2c_1);
|
|
926
931
|
tmp1_output.x1c(tmp0_desc);
|
|
927
932
|
};
|
|
928
933
|
$serializer_2.prototype.q19 = function (encoder, value) {
|
|
929
|
-
return this.
|
|
934
|
+
return this.u2c(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
930
935
|
};
|
|
931
936
|
var $serializer_instance_2;
|
|
932
937
|
function $serializer_getInstance_2() {
|
|
@@ -936,10 +941,10 @@
|
|
|
936
941
|
}
|
|
937
942
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
938
943
|
if (!(1 === (1 & seen1))) {
|
|
939
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
944
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().t2c_1);
|
|
940
945
|
}
|
|
941
946
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
942
|
-
$this.
|
|
947
|
+
$this.v2c_1 = playerId;
|
|
943
948
|
return $this;
|
|
944
949
|
}
|
|
945
950
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -948,16 +953,16 @@
|
|
|
948
953
|
function PlayerExitReason(playerId) {
|
|
949
954
|
Companion_getInstance_5();
|
|
950
955
|
TerminationGameReason.call(this);
|
|
951
|
-
this.
|
|
956
|
+
this.v2c_1 = playerId;
|
|
952
957
|
}
|
|
953
|
-
PlayerExitReason.prototype.
|
|
954
|
-
return this.
|
|
958
|
+
PlayerExitReason.prototype.w2c = function () {
|
|
959
|
+
return this.v2c_1;
|
|
955
960
|
};
|
|
956
961
|
PlayerExitReason.prototype.toString = function () {
|
|
957
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
962
|
+
return 'PlayerExitReason(playerId=' + this.v2c_1 + ')';
|
|
958
963
|
};
|
|
959
964
|
PlayerExitReason.prototype.hashCode = function () {
|
|
960
|
-
return getStringHashCode(this.
|
|
965
|
+
return getStringHashCode(this.v2c_1);
|
|
961
966
|
};
|
|
962
967
|
PlayerExitReason.prototype.equals = function (other) {
|
|
963
968
|
if (this === other)
|
|
@@ -965,7 +970,7 @@
|
|
|
965
970
|
if (!(other instanceof PlayerExitReason))
|
|
966
971
|
return false;
|
|
967
972
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
968
|
-
if (!(this.
|
|
973
|
+
if (!(this.v2c_1 === tmp0_other_with_cast.v2c_1))
|
|
969
974
|
return false;
|
|
970
975
|
return true;
|
|
971
976
|
};
|
|
@@ -983,10 +988,10 @@
|
|
|
983
988
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
984
989
|
tmp0_serialDesc.b1k('playerId', false);
|
|
985
990
|
tmp0_serialDesc.b1k('tag', false);
|
|
986
|
-
this.
|
|
991
|
+
this.x2c_1 = tmp0_serialDesc;
|
|
987
992
|
}
|
|
988
993
|
$serializer_3.prototype.p19 = function () {
|
|
989
|
-
return this.
|
|
994
|
+
return this.x2c_1;
|
|
990
995
|
};
|
|
991
996
|
$serializer_3.prototype.q1k = function () {
|
|
992
997
|
var tmp$ret$2;
|
|
@@ -1002,7 +1007,7 @@
|
|
|
1002
1007
|
return tmp$ret$2;
|
|
1003
1008
|
};
|
|
1004
1009
|
$serializer_3.prototype.r19 = function (decoder) {
|
|
1005
|
-
var tmp0_desc = this.
|
|
1010
|
+
var tmp0_desc = this.x2c_1;
|
|
1006
1011
|
var tmp1_flag = true;
|
|
1007
1012
|
var tmp2_index = 0;
|
|
1008
1013
|
var tmp3_bitMask0 = 0;
|
|
@@ -1036,15 +1041,15 @@
|
|
|
1036
1041
|
tmp6_input.x1c(tmp0_desc);
|
|
1037
1042
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1038
1043
|
};
|
|
1039
|
-
$serializer_3.prototype.
|
|
1040
|
-
var tmp0_desc = this.
|
|
1044
|
+
$serializer_3.prototype.y2c = function (encoder, value) {
|
|
1045
|
+
var tmp0_desc = this.x2c_1;
|
|
1041
1046
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
1042
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
1043
|
-
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1047
|
+
tmp1_output.l1e(tmp0_desc, 0, value.z2c_1);
|
|
1048
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.a2d_1);
|
|
1044
1049
|
tmp1_output.x1c(tmp0_desc);
|
|
1045
1050
|
};
|
|
1046
1051
|
$serializer_3.prototype.q19 = function (encoder, value) {
|
|
1047
|
-
return this.
|
|
1052
|
+
return this.y2c(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
1048
1053
|
};
|
|
1049
1054
|
var $serializer_instance_3;
|
|
1050
1055
|
function $serializer_getInstance_3() {
|
|
@@ -1054,11 +1059,11 @@
|
|
|
1054
1059
|
}
|
|
1055
1060
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1056
1061
|
if (!(3 === (3 & seen1))) {
|
|
1057
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().
|
|
1062
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().x2c_1);
|
|
1058
1063
|
}
|
|
1059
1064
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1060
|
-
$this.
|
|
1061
|
-
$this.
|
|
1065
|
+
$this.z2c_1 = playerId;
|
|
1066
|
+
$this.a2d_1 = tag;
|
|
1062
1067
|
return $this;
|
|
1063
1068
|
}
|
|
1064
1069
|
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1067,18 +1072,18 @@
|
|
|
1067
1072
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
1068
1073
|
Companion_getInstance_6();
|
|
1069
1074
|
TerminationGameReason.call(this);
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1075
|
+
this.z2c_1 = playerId;
|
|
1076
|
+
this.a2d_1 = tag;
|
|
1072
1077
|
}
|
|
1073
|
-
PlayerLostConnectionReason.prototype.
|
|
1074
|
-
return this.
|
|
1078
|
+
PlayerLostConnectionReason.prototype.w2c = function () {
|
|
1079
|
+
return this.z2c_1;
|
|
1075
1080
|
};
|
|
1076
1081
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
1077
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
1082
|
+
return 'PlayerLostConnectionReason(playerId=' + this.z2c_1 + ', tag=' + this.a2d_1 + ')';
|
|
1078
1083
|
};
|
|
1079
1084
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
1080
|
-
var result = getStringHashCode(this.
|
|
1081
|
-
result = imul(result, 31) + (this.
|
|
1085
|
+
var result = getStringHashCode(this.z2c_1);
|
|
1086
|
+
result = imul(result, 31) + (this.a2d_1 == null ? 0 : getStringHashCode(this.a2d_1)) | 0;
|
|
1082
1087
|
return result;
|
|
1083
1088
|
};
|
|
1084
1089
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -1087,9 +1092,9 @@
|
|
|
1087
1092
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
1088
1093
|
return false;
|
|
1089
1094
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
1090
|
-
if (!(this.
|
|
1095
|
+
if (!(this.z2c_1 === tmp0_other_with_cast.z2c_1))
|
|
1091
1096
|
return false;
|
|
1092
|
-
if (!(this.
|
|
1097
|
+
if (!(this.a2d_1 == tmp0_other_with_cast.a2d_1))
|
|
1093
1098
|
return false;
|
|
1094
1099
|
return true;
|
|
1095
1100
|
};
|
|
@@ -1107,10 +1112,10 @@
|
|
|
1107
1112
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
1108
1113
|
tmp0_serialDesc.b1k('playerId', false);
|
|
1109
1114
|
tmp0_serialDesc.b1k('tag', false);
|
|
1110
|
-
this.
|
|
1115
|
+
this.b2d_1 = tmp0_serialDesc;
|
|
1111
1116
|
}
|
|
1112
1117
|
$serializer_4.prototype.p19 = function () {
|
|
1113
|
-
return this.
|
|
1118
|
+
return this.b2d_1;
|
|
1114
1119
|
};
|
|
1115
1120
|
$serializer_4.prototype.q1k = function () {
|
|
1116
1121
|
var tmp$ret$2;
|
|
@@ -1126,7 +1131,7 @@
|
|
|
1126
1131
|
return tmp$ret$2;
|
|
1127
1132
|
};
|
|
1128
1133
|
$serializer_4.prototype.r19 = function (decoder) {
|
|
1129
|
-
var tmp0_desc = this.
|
|
1134
|
+
var tmp0_desc = this.b2d_1;
|
|
1130
1135
|
var tmp1_flag = true;
|
|
1131
1136
|
var tmp2_index = 0;
|
|
1132
1137
|
var tmp3_bitMask0 = 0;
|
|
@@ -1160,15 +1165,15 @@
|
|
|
1160
1165
|
tmp6_input.x1c(tmp0_desc);
|
|
1161
1166
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1162
1167
|
};
|
|
1163
|
-
$serializer_4.prototype.
|
|
1164
|
-
var tmp0_desc = this.
|
|
1168
|
+
$serializer_4.prototype.c2d = function (encoder, value) {
|
|
1169
|
+
var tmp0_desc = this.b2d_1;
|
|
1165
1170
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
1166
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
1167
|
-
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1171
|
+
tmp1_output.l1e(tmp0_desc, 0, value.d2d_1);
|
|
1172
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.e2d_1);
|
|
1168
1173
|
tmp1_output.x1c(tmp0_desc);
|
|
1169
1174
|
};
|
|
1170
1175
|
$serializer_4.prototype.q19 = function (encoder, value) {
|
|
1171
|
-
return this.
|
|
1176
|
+
return this.c2d(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
1172
1177
|
};
|
|
1173
1178
|
var $serializer_instance_4;
|
|
1174
1179
|
function $serializer_getInstance_4() {
|
|
@@ -1178,11 +1183,11 @@
|
|
|
1178
1183
|
}
|
|
1179
1184
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1180
1185
|
if (!(3 === (3 & seen1))) {
|
|
1181
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().
|
|
1186
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().b2d_1);
|
|
1182
1187
|
}
|
|
1183
1188
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1184
|
-
$this.
|
|
1185
|
-
$this.
|
|
1189
|
+
$this.d2d_1 = playerId;
|
|
1190
|
+
$this.e2d_1 = tag;
|
|
1186
1191
|
return $this;
|
|
1187
1192
|
}
|
|
1188
1193
|
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1191,18 +1196,18 @@
|
|
|
1191
1196
|
function PlayerTimeoutReason(playerId, tag) {
|
|
1192
1197
|
Companion_getInstance_7();
|
|
1193
1198
|
TerminationGameReason.call(this);
|
|
1194
|
-
this.
|
|
1195
|
-
this.
|
|
1199
|
+
this.d2d_1 = playerId;
|
|
1200
|
+
this.e2d_1 = tag;
|
|
1196
1201
|
}
|
|
1197
|
-
PlayerTimeoutReason.prototype.
|
|
1198
|
-
return this.
|
|
1202
|
+
PlayerTimeoutReason.prototype.w2c = function () {
|
|
1203
|
+
return this.d2d_1;
|
|
1199
1204
|
};
|
|
1200
1205
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
1201
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1206
|
+
return 'PlayerTimeoutReason(playerId=' + this.d2d_1 + ', tag=' + this.e2d_1 + ')';
|
|
1202
1207
|
};
|
|
1203
1208
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
1204
|
-
var result = getStringHashCode(this.
|
|
1205
|
-
result = imul(result, 31) + (this.
|
|
1209
|
+
var result = getStringHashCode(this.d2d_1);
|
|
1210
|
+
result = imul(result, 31) + (this.e2d_1 == null ? 0 : getStringHashCode(this.e2d_1)) | 0;
|
|
1206
1211
|
return result;
|
|
1207
1212
|
};
|
|
1208
1213
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -1211,9 +1216,9 @@
|
|
|
1211
1216
|
if (!(other instanceof PlayerTimeoutReason))
|
|
1212
1217
|
return false;
|
|
1213
1218
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1214
|
-
if (!(this.
|
|
1219
|
+
if (!(this.d2d_1 === tmp0_other_with_cast.d2d_1))
|
|
1215
1220
|
return false;
|
|
1216
|
-
if (!(this.
|
|
1221
|
+
if (!(this.e2d_1 == tmp0_other_with_cast.e2d_1))
|
|
1217
1222
|
return false;
|
|
1218
1223
|
return true;
|
|
1219
1224
|
};
|
|
@@ -1235,13 +1240,13 @@
|
|
|
1235
1240
|
TerminationGameReason.call(this);
|
|
1236
1241
|
var tmp = this;
|
|
1237
1242
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1238
|
-
tmp.
|
|
1243
|
+
tmp.f2d_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
1239
1244
|
}
|
|
1240
1245
|
ProcessingReason.prototype.toString = function () {
|
|
1241
1246
|
return 'ProcessingReason';
|
|
1242
1247
|
};
|
|
1243
1248
|
ProcessingReason.prototype.l1w = function () {
|
|
1244
|
-
return this.
|
|
1249
|
+
return this.f2d_1.j1();
|
|
1245
1250
|
};
|
|
1246
1251
|
ProcessingReason.prototype.b1l = function (typeParamsSerializers) {
|
|
1247
1252
|
return this.l1w();
|
|
@@ -1270,13 +1275,13 @@
|
|
|
1270
1275
|
TerminationGameReason.call(this);
|
|
1271
1276
|
var tmp = this;
|
|
1272
1277
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1273
|
-
tmp.
|
|
1278
|
+
tmp.g2d_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
1274
1279
|
}
|
|
1275
1280
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
1276
1281
|
return 'WaitingForConnectionReason';
|
|
1277
1282
|
};
|
|
1278
1283
|
WaitingForConnectionReason.prototype.l1w = function () {
|
|
1279
|
-
return this.
|
|
1284
|
+
return this.g2d_1.j1();
|
|
1280
1285
|
};
|
|
1281
1286
|
WaitingForConnectionReason.prototype.b1l = function (typeParamsSerializers) {
|
|
1282
1287
|
return this.l1w();
|
|
@@ -1307,29 +1312,29 @@
|
|
|
1307
1312
|
function GameUserInfo(playerId, name, avatarUrl, isBot, payload) {
|
|
1308
1313
|
var isBot_0 = isBot === void 1 ? false : isBot;
|
|
1309
1314
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1310
|
-
this.
|
|
1315
|
+
this.h2d_1 = playerId;
|
|
1311
1316
|
this.name = name;
|
|
1312
1317
|
this.avatarUrl = avatarUrl;
|
|
1313
1318
|
this.isBot = isBot_0;
|
|
1314
1319
|
this.payload = payload_0;
|
|
1315
1320
|
}
|
|
1316
|
-
GameUserInfo.prototype.
|
|
1317
|
-
return this.
|
|
1321
|
+
GameUserInfo.prototype.w2c = function () {
|
|
1322
|
+
return this.h2d_1;
|
|
1318
1323
|
};
|
|
1319
1324
|
GameUserInfo.prototype.zf = function () {
|
|
1320
1325
|
return this.name;
|
|
1321
1326
|
};
|
|
1322
|
-
GameUserInfo.prototype.
|
|
1327
|
+
GameUserInfo.prototype.i2d = function () {
|
|
1323
1328
|
return this.avatarUrl;
|
|
1324
1329
|
};
|
|
1325
|
-
GameUserInfo.prototype.
|
|
1330
|
+
GameUserInfo.prototype.j2d = function () {
|
|
1326
1331
|
return this.isBot;
|
|
1327
1332
|
};
|
|
1328
|
-
GameUserInfo.prototype.
|
|
1333
|
+
GameUserInfo.prototype.k2d = function () {
|
|
1329
1334
|
return this.payload;
|
|
1330
1335
|
};
|
|
1331
1336
|
GameUserInfo.prototype.component1 = function () {
|
|
1332
|
-
return this.
|
|
1337
|
+
return this.h2d_1;
|
|
1333
1338
|
};
|
|
1334
1339
|
GameUserInfo.prototype.component2 = function () {
|
|
1335
1340
|
return this.name;
|
|
@@ -1344,14 +1349,14 @@
|
|
|
1344
1349
|
return this.payload;
|
|
1345
1350
|
};
|
|
1346
1351
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1347
|
-
return this.
|
|
1352
|
+
return this.l2d(playerId === void 1 ? this.h2d_1 : playerId, name === void 1 ? this.name : name, avatarUrl === void 1 ? this.avatarUrl : avatarUrl, isBot === void 1 ? this.isBot : isBot, payload === void 1 ? this.payload : payload);
|
|
1348
1353
|
};
|
|
1349
|
-
GameUserInfo.prototype.
|
|
1354
|
+
GameUserInfo.prototype.l2d = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1350
1355
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, payload);
|
|
1351
1356
|
};
|
|
1352
|
-
GameUserInfo.prototype.
|
|
1357
|
+
GameUserInfo.prototype.m2d = function (playerId, name, avatarUrl, isBot, payload, $mask0, $handler) {
|
|
1353
1358
|
if (!(($mask0 & 1) === 0))
|
|
1354
|
-
playerId = this.
|
|
1359
|
+
playerId = this.h2d_1;
|
|
1355
1360
|
if (!(($mask0 & 2) === 0))
|
|
1356
1361
|
name = this.name;
|
|
1357
1362
|
if (!(($mask0 & 4) === 0))
|
|
@@ -1360,13 +1365,13 @@
|
|
|
1360
1365
|
isBot = this.isBot;
|
|
1361
1366
|
if (!(($mask0 & 16) === 0))
|
|
1362
1367
|
payload = this.payload;
|
|
1363
|
-
return this.
|
|
1368
|
+
return this.l2d(playerId, name, avatarUrl, isBot, payload);
|
|
1364
1369
|
};
|
|
1365
1370
|
GameUserInfo.prototype.toString = function () {
|
|
1366
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1371
|
+
return 'GameUserInfo(playerId=' + this.h2d_1 + ', name=' + this.name + ', avatarUrl=' + this.avatarUrl + ', isBot=' + this.isBot + ', payload=' + toString(this.payload) + ')';
|
|
1367
1372
|
};
|
|
1368
1373
|
GameUserInfo.prototype.hashCode = function () {
|
|
1369
|
-
var result = getStringHashCode(this.
|
|
1374
|
+
var result = getStringHashCode(this.h2d_1);
|
|
1370
1375
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1371
1376
|
result = imul(result, 31) + getStringHashCode(this.avatarUrl) | 0;
|
|
1372
1377
|
result = imul(result, 31) + (this.isBot | 0) | 0;
|
|
@@ -1379,7 +1384,7 @@
|
|
|
1379
1384
|
if (!(other instanceof GameUserInfo))
|
|
1380
1385
|
return false;
|
|
1381
1386
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1382
|
-
if (!(this.
|
|
1387
|
+
if (!(this.h2d_1 === tmp0_other_with_cast.h2d_1))
|
|
1383
1388
|
return false;
|
|
1384
1389
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1385
1390
|
return false;
|
|
@@ -1394,7 +1399,7 @@
|
|
|
1394
1399
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
1395
1400
|
configurable: true,
|
|
1396
1401
|
get: function () {
|
|
1397
|
-
return this.
|
|
1402
|
+
return this.w2c();
|
|
1398
1403
|
}
|
|
1399
1404
|
});
|
|
1400
1405
|
function get_byIdPlayerPredicate() {
|
|
@@ -1498,7 +1503,7 @@
|
|
|
1498
1503
|
}
|
|
1499
1504
|
function playerTurnPredicate$lambda(p1) {
|
|
1500
1505
|
init_properties_Player_kt_txblev();
|
|
1501
|
-
return p1.xi().
|
|
1506
|
+
return p1.xi().u2d() ? true : p1.xi().t2d();
|
|
1502
1507
|
}
|
|
1503
1508
|
var properties_initialized_Player_kt_56shkt;
|
|
1504
1509
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1522,10 +1527,10 @@
|
|
|
1522
1527
|
Companion_instance_8 = this;
|
|
1523
1528
|
var tmp = this;
|
|
1524
1529
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1525
|
-
tmp.
|
|
1530
|
+
tmp.v2d_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1526
1531
|
}
|
|
1527
1532
|
Companion_8.prototype.serializer = function () {
|
|
1528
|
-
return this.
|
|
1533
|
+
return this.v2d_1.j1();
|
|
1529
1534
|
};
|
|
1530
1535
|
Companion_8.prototype.b1l = function (typeParamsSerializers) {
|
|
1531
1536
|
return this.serializer();
|
|
@@ -1576,61 +1581,61 @@
|
|
|
1576
1581
|
function PlayerConnectionState(name, ordinal) {
|
|
1577
1582
|
Enum.call(this, name, ordinal);
|
|
1578
1583
|
}
|
|
1579
|
-
PlayerConnectionState.prototype.
|
|
1584
|
+
PlayerConnectionState.prototype.y2d = function () {
|
|
1580
1585
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1581
1586
|
};
|
|
1582
|
-
PlayerConnectionState.prototype.
|
|
1587
|
+
PlayerConnectionState.prototype.z2d = function () {
|
|
1583
1588
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1584
1589
|
};
|
|
1585
|
-
PlayerConnectionState.prototype.
|
|
1590
|
+
PlayerConnectionState.prototype.a2e = function () {
|
|
1586
1591
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1587
1592
|
};
|
|
1588
|
-
PlayerConnectionState.prototype.
|
|
1593
|
+
PlayerConnectionState.prototype.b2e = function () {
|
|
1589
1594
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1590
1595
|
};
|
|
1591
|
-
PlayerConnectionState.prototype.
|
|
1596
|
+
PlayerConnectionState.prototype.c2e = function () {
|
|
1592
1597
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1593
1598
|
};
|
|
1594
|
-
PlayerConnectionState.prototype.
|
|
1599
|
+
PlayerConnectionState.prototype.d2e = function () {
|
|
1595
1600
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1596
1601
|
};
|
|
1597
|
-
PlayerConnectionState.prototype.
|
|
1602
|
+
PlayerConnectionState.prototype.e2e = function () {
|
|
1598
1603
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1599
1604
|
};
|
|
1600
|
-
PlayerConnectionState.prototype.
|
|
1605
|
+
PlayerConnectionState.prototype.f2e = function () {
|
|
1601
1606
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1602
1607
|
};
|
|
1603
1608
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1604
1609
|
configurable: true,
|
|
1605
|
-
get: PlayerConnectionState.prototype.
|
|
1610
|
+
get: PlayerConnectionState.prototype.y2d
|
|
1606
1611
|
});
|
|
1607
1612
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1608
1613
|
configurable: true,
|
|
1609
|
-
get: PlayerConnectionState.prototype.
|
|
1614
|
+
get: PlayerConnectionState.prototype.z2d
|
|
1610
1615
|
});
|
|
1611
1616
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1612
1617
|
configurable: true,
|
|
1613
|
-
get: PlayerConnectionState.prototype.
|
|
1618
|
+
get: PlayerConnectionState.prototype.a2e
|
|
1614
1619
|
});
|
|
1615
1620
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1616
1621
|
configurable: true,
|
|
1617
|
-
get: PlayerConnectionState.prototype.
|
|
1622
|
+
get: PlayerConnectionState.prototype.b2e
|
|
1618
1623
|
});
|
|
1619
1624
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1620
1625
|
configurable: true,
|
|
1621
|
-
get: PlayerConnectionState.prototype.
|
|
1626
|
+
get: PlayerConnectionState.prototype.c2e
|
|
1622
1627
|
});
|
|
1623
1628
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1624
1629
|
configurable: true,
|
|
1625
|
-
get: PlayerConnectionState.prototype.
|
|
1630
|
+
get: PlayerConnectionState.prototype.d2e
|
|
1626
1631
|
});
|
|
1627
1632
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1628
1633
|
configurable: true,
|
|
1629
|
-
get: PlayerConnectionState.prototype.
|
|
1634
|
+
get: PlayerConnectionState.prototype.e2e
|
|
1630
1635
|
});
|
|
1631
1636
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1632
1637
|
configurable: true,
|
|
1633
|
-
get: PlayerConnectionState.prototype.
|
|
1638
|
+
get: PlayerConnectionState.prototype.f2e
|
|
1634
1639
|
});
|
|
1635
1640
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1636
1641
|
configurable: true,
|
|
@@ -1674,10 +1679,10 @@
|
|
|
1674
1679
|
Companion_instance_9 = this;
|
|
1675
1680
|
var tmp = this;
|
|
1676
1681
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1677
|
-
tmp.
|
|
1682
|
+
tmp.g2e_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1678
1683
|
}
|
|
1679
1684
|
Companion_9.prototype.l1w = function () {
|
|
1680
|
-
return this.
|
|
1685
|
+
return this.g2e_1.j1();
|
|
1681
1686
|
};
|
|
1682
1687
|
Companion_9.prototype.b1l = function (typeParamsSerializers) {
|
|
1683
1688
|
return this.l1w();
|
|
@@ -1705,27 +1710,26 @@
|
|
|
1705
1710
|
function PlayerWaitingState(name, ordinal) {
|
|
1706
1711
|
Enum.call(this, name, ordinal);
|
|
1707
1712
|
}
|
|
1708
|
-
PlayerWaitingState.prototype.
|
|
1709
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1713
|
+
PlayerWaitingState.prototype.u2d = function () {
|
|
1714
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.t2d();
|
|
1710
1715
|
};
|
|
1711
|
-
PlayerWaitingState.prototype.
|
|
1716
|
+
PlayerWaitingState.prototype.t2d = function () {
|
|
1712
1717
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1713
1718
|
};
|
|
1714
1719
|
function Companion_10() {
|
|
1715
1720
|
Companion_instance_10 = this;
|
|
1716
1721
|
}
|
|
1717
|
-
Companion_10.prototype.
|
|
1722
|
+
Companion_10.prototype.j2e = function (connectionState) {
|
|
1718
1723
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1719
|
-
return new PlayerState(
|
|
1724
|
+
return new PlayerState(null, null, tmp0_state, false, connectionState, null);
|
|
1720
1725
|
};
|
|
1721
|
-
Companion_10.prototype.
|
|
1722
|
-
var tmp =
|
|
1723
|
-
|
|
1724
|
-
return _this__u8e3s4.v2d(tmp, tmp_0, false, null, null, 12, null);
|
|
1726
|
+
Companion_10.prototype.k2e = function (_this__u8e3s4) {
|
|
1727
|
+
var tmp = PlayerWaitingState_IDLE_getInstance();
|
|
1728
|
+
return _this__u8e3s4.l2e(null, null, tmp, false, null, null, 26, null);
|
|
1725
1729
|
};
|
|
1726
|
-
Companion_10.prototype.
|
|
1730
|
+
Companion_10.prototype.m2e = function (_this__u8e3s4, startFromTime, tag) {
|
|
1727
1731
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1728
|
-
return _this__u8e3s4.
|
|
1732
|
+
return _this__u8e3s4.l2e(startFromTime, null, tmp0_state, false, null, tag, 18, null);
|
|
1729
1733
|
};
|
|
1730
1734
|
var Companion_instance_10;
|
|
1731
1735
|
function Companion_getInstance_10() {
|
|
@@ -1745,18 +1749,19 @@
|
|
|
1745
1749
|
PlayerWaitingState_initEntries();
|
|
1746
1750
|
return PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1747
1751
|
}
|
|
1748
|
-
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1752
|
+
function PlayerState(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1749
1753
|
Companion_getInstance_10();
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1755
|
-
|
|
1756
|
-
|
|
1754
|
+
this.n2d_1 = startFromTime;
|
|
1755
|
+
this.o2d_1 = waitPlayerUntilTime;
|
|
1756
|
+
this.p2d_1 = state;
|
|
1757
|
+
this.q2d_1 = ready;
|
|
1758
|
+
this.r2d_1 = connectionState;
|
|
1759
|
+
this.s2d_1 = tag;
|
|
1760
|
+
}
|
|
1761
|
+
PlayerState.prototype.n2e = function () {
|
|
1757
1762
|
var tmp$ret$2;
|
|
1758
1763
|
// Inline function 'kotlin.requireNotNull' call
|
|
1759
|
-
var tmp0_requireNotNull = this.
|
|
1764
|
+
var tmp0_requireNotNull = this.s2d_1;
|
|
1760
1765
|
// Inline function 'kotlin.contracts.contract' call
|
|
1761
1766
|
var tmp$ret$1;
|
|
1762
1767
|
$l$block: {
|
|
@@ -1776,41 +1781,44 @@
|
|
|
1776
1781
|
tmp$ret$2 = tmp$ret$1;
|
|
1777
1782
|
return tmp$ret$2;
|
|
1778
1783
|
};
|
|
1779
|
-
PlayerState.prototype.
|
|
1780
|
-
var tmp0_elvis_lhs = this.
|
|
1784
|
+
PlayerState.prototype.o2e = function () {
|
|
1785
|
+
var tmp0_elvis_lhs = this.s2d_1;
|
|
1781
1786
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1782
1787
|
};
|
|
1783
|
-
PlayerState.prototype.
|
|
1784
|
-
return this.
|
|
1788
|
+
PlayerState.prototype.u2d = function () {
|
|
1789
|
+
return this.p2d_1.u2d();
|
|
1785
1790
|
};
|
|
1786
|
-
PlayerState.prototype.
|
|
1787
|
-
return this.
|
|
1791
|
+
PlayerState.prototype.t2d = function () {
|
|
1792
|
+
return this.p2d_1.t2d();
|
|
1788
1793
|
};
|
|
1789
|
-
PlayerState.prototype.
|
|
1790
|
-
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1794
|
+
PlayerState.prototype.p2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1795
|
+
return new PlayerState(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1791
1796
|
};
|
|
1792
|
-
PlayerState.prototype.
|
|
1797
|
+
PlayerState.prototype.l2e = function (startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1793
1798
|
if (!(($mask0 & 1) === 0))
|
|
1794
|
-
startFromTime = this.
|
|
1799
|
+
startFromTime = this.n2d_1;
|
|
1795
1800
|
if (!(($mask0 & 2) === 0))
|
|
1796
|
-
|
|
1801
|
+
waitPlayerUntilTime = this.o2d_1;
|
|
1797
1802
|
if (!(($mask0 & 4) === 0))
|
|
1798
|
-
|
|
1803
|
+
state = this.p2d_1;
|
|
1799
1804
|
if (!(($mask0 & 8) === 0))
|
|
1800
|
-
|
|
1805
|
+
ready = this.q2d_1;
|
|
1801
1806
|
if (!(($mask0 & 16) === 0))
|
|
1802
|
-
|
|
1803
|
-
|
|
1807
|
+
connectionState = this.r2d_1;
|
|
1808
|
+
if (!(($mask0 & 32) === 0))
|
|
1809
|
+
tag = this.s2d_1;
|
|
1810
|
+
return this.p2e(startFromTime, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1804
1811
|
};
|
|
1805
1812
|
PlayerState.prototype.toString = function () {
|
|
1806
|
-
return 'PlayerState(startFromTime=' +
|
|
1813
|
+
return 'PlayerState(startFromTime=' + this.n2d_1 + ', waitPlayerUntilTime=' + this.o2d_1 + ', state=' + this.p2d_1 + ', ready=' + this.q2d_1 + ', connectionState=' + this.r2d_1 + ', tag=' + this.s2d_1 + ')';
|
|
1807
1814
|
};
|
|
1808
1815
|
PlayerState.prototype.hashCode = function () {
|
|
1809
|
-
var result = this.
|
|
1810
|
-
result = imul(result, 31) + this.
|
|
1811
|
-
result = imul(result, 31) +
|
|
1812
|
-
result = imul(result, 31) + this.
|
|
1813
|
-
result = imul(result, 31) +
|
|
1816
|
+
var result = this.n2d_1 == null ? 0 : this.n2d_1.hashCode();
|
|
1817
|
+
result = imul(result, 31) + (this.o2d_1 == null ? 0 : this.o2d_1.hashCode()) | 0;
|
|
1818
|
+
result = imul(result, 31) + this.p2d_1.hashCode() | 0;
|
|
1819
|
+
result = imul(result, 31) + (this.q2d_1 | 0) | 0;
|
|
1820
|
+
result = imul(result, 31) + this.r2d_1.hashCode() | 0;
|
|
1821
|
+
result = imul(result, 31) + (this.s2d_1 == null ? 0 : getStringHashCode(this.s2d_1)) | 0;
|
|
1814
1822
|
return result;
|
|
1815
1823
|
};
|
|
1816
1824
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1819,26 +1827,28 @@
|
|
|
1819
1827
|
if (!(other instanceof PlayerState))
|
|
1820
1828
|
return false;
|
|
1821
1829
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1822
|
-
if (!this.
|
|
1830
|
+
if (!equals(this.n2d_1, tmp0_other_with_cast.n2d_1))
|
|
1831
|
+
return false;
|
|
1832
|
+
if (!equals(this.o2d_1, tmp0_other_with_cast.o2d_1))
|
|
1823
1833
|
return false;
|
|
1824
|
-
if (!this.
|
|
1834
|
+
if (!this.p2d_1.equals(tmp0_other_with_cast.p2d_1))
|
|
1825
1835
|
return false;
|
|
1826
|
-
if (!(this.
|
|
1836
|
+
if (!(this.q2d_1 === tmp0_other_with_cast.q2d_1))
|
|
1827
1837
|
return false;
|
|
1828
|
-
if (!this.
|
|
1838
|
+
if (!this.r2d_1.equals(tmp0_other_with_cast.r2d_1))
|
|
1829
1839
|
return false;
|
|
1830
|
-
if (!(this.
|
|
1840
|
+
if (!(this.s2d_1 == tmp0_other_with_cast.s2d_1))
|
|
1831
1841
|
return false;
|
|
1832
1842
|
return true;
|
|
1833
1843
|
};
|
|
1834
1844
|
function Team(playerIds) {
|
|
1835
|
-
this.
|
|
1845
|
+
this.q2e_1 = playerIds;
|
|
1836
1846
|
}
|
|
1837
1847
|
Team.prototype.toString = function () {
|
|
1838
|
-
return 'Team(playerIds=' + this.
|
|
1848
|
+
return 'Team(playerIds=' + this.q2e_1 + ')';
|
|
1839
1849
|
};
|
|
1840
1850
|
Team.prototype.hashCode = function () {
|
|
1841
|
-
return hashCode(this.
|
|
1851
|
+
return hashCode(this.q2e_1);
|
|
1842
1852
|
};
|
|
1843
1853
|
Team.prototype.equals = function (other) {
|
|
1844
1854
|
if (this === other)
|
|
@@ -1846,7 +1856,7 @@
|
|
|
1846
1856
|
if (!(other instanceof Team))
|
|
1847
1857
|
return false;
|
|
1848
1858
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1849
|
-
if (!equals(this.
|
|
1859
|
+
if (!equals(this.q2e_1, tmp0_other_with_cast.q2e_1))
|
|
1850
1860
|
return false;
|
|
1851
1861
|
return true;
|
|
1852
1862
|
};
|
|
@@ -1894,55 +1904,55 @@
|
|
|
1894
1904
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1895
1905
|
this.tenCardsInHand = tenCardsInHand;
|
|
1896
1906
|
}
|
|
1897
|
-
Rules.prototype.
|
|
1907
|
+
Rules.prototype.r2e = function () {
|
|
1898
1908
|
return this.needToPutHigherTrump;
|
|
1899
1909
|
};
|
|
1900
|
-
Rules.prototype.
|
|
1910
|
+
Rules.prototype.s2e = function () {
|
|
1901
1911
|
return this.distributePoints;
|
|
1902
1912
|
};
|
|
1903
|
-
Rules.prototype.
|
|
1913
|
+
Rules.prototype.t2e = function () {
|
|
1904
1914
|
return this.protectBella;
|
|
1905
1915
|
};
|
|
1906
|
-
Rules.prototype.
|
|
1916
|
+
Rules.prototype.u2e = function () {
|
|
1907
1917
|
return this.oneTryToProtectBella;
|
|
1908
1918
|
};
|
|
1909
|
-
Rules.prototype.
|
|
1919
|
+
Rules.prototype.v2e = function () {
|
|
1910
1920
|
return this.enableFourSevensCombination;
|
|
1911
1921
|
};
|
|
1912
|
-
Rules.prototype.
|
|
1922
|
+
Rules.prototype.w2e = function () {
|
|
1913
1923
|
return this.enableTrumpSevenCombination;
|
|
1914
1924
|
};
|
|
1915
|
-
Rules.prototype.
|
|
1925
|
+
Rules.prototype.x2e = function () {
|
|
1916
1926
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1917
1927
|
};
|
|
1918
|
-
Rules.prototype.
|
|
1928
|
+
Rules.prototype.y2e = function () {
|
|
1919
1929
|
return this.playerWhoChooseSuitGoFirst;
|
|
1920
1930
|
};
|
|
1921
|
-
Rules.prototype.
|
|
1931
|
+
Rules.prototype.z2e = function () {
|
|
1922
1932
|
return this.winnerShuffleCards;
|
|
1923
1933
|
};
|
|
1924
|
-
Rules.prototype.
|
|
1934
|
+
Rules.prototype.a2f = function () {
|
|
1925
1935
|
return this.playWithoutLiabilities;
|
|
1926
1936
|
};
|
|
1927
|
-
Rules.prototype.
|
|
1937
|
+
Rules.prototype.b2f = function () {
|
|
1928
1938
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
1929
1939
|
};
|
|
1930
|
-
Rules.prototype.
|
|
1940
|
+
Rules.prototype.c2f = function () {
|
|
1931
1941
|
return this.enableFineIfNoBribes;
|
|
1932
1942
|
};
|
|
1933
|
-
Rules.prototype.
|
|
1943
|
+
Rules.prototype.d2f = function () {
|
|
1934
1944
|
return this.fineIfNoBribes;
|
|
1935
1945
|
};
|
|
1936
|
-
Rules.prototype.
|
|
1946
|
+
Rules.prototype.e2f = function () {
|
|
1937
1947
|
return this.enableFineAfterThirdByte;
|
|
1938
1948
|
};
|
|
1939
|
-
Rules.prototype.
|
|
1949
|
+
Rules.prototype.f2f = function () {
|
|
1940
1950
|
return this.checkTrumpCombination;
|
|
1941
1951
|
};
|
|
1942
|
-
Rules.prototype.
|
|
1952
|
+
Rules.prototype.g2f = function () {
|
|
1943
1953
|
return this.checkOnlyTrumpDebertz;
|
|
1944
1954
|
};
|
|
1945
|
-
Rules.prototype.
|
|
1955
|
+
Rules.prototype.h2f = function () {
|
|
1946
1956
|
return this.tenCardsInHand;
|
|
1947
1957
|
};
|
|
1948
1958
|
Rules.prototype.component1 = function () {
|
|
@@ -1997,12 +2007,12 @@
|
|
|
1997
2007
|
return this.tenCardsInHand;
|
|
1998
2008
|
};
|
|
1999
2009
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2000
|
-
return this.
|
|
2010
|
+
return this.i2f(needToPutHigherTrump === void 1 ? this.needToPutHigherTrump : needToPutHigherTrump, distributePoints === void 1 ? this.distributePoints : distributePoints, protectBella === void 1 ? this.protectBella : protectBella, oneTryToProtectBella === void 1 ? this.oneTryToProtectBella : oneTryToProtectBella, enableFourSevensCombination === void 1 ? this.enableFourSevensCombination : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.enableTrumpSevenCombination : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.enableTrumpSevenCombinationAfterDistribution : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.playerWhoChooseSuitGoFirst : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.winnerShuffleCards : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.playWithoutLiabilities : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.trumpCardGoToPlayerWhoShuffleCards : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.enableFineIfNoBribes : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.fineIfNoBribes : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.enableFineAfterThirdByte : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.checkTrumpCombination : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.tenCardsInHand : tenCardsInHand);
|
|
2001
2011
|
};
|
|
2002
|
-
Rules.prototype.
|
|
2012
|
+
Rules.prototype.i2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2003
2013
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2004
2014
|
};
|
|
2005
|
-
Rules.prototype.
|
|
2015
|
+
Rules.prototype.j2f = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
2006
2016
|
if (!(($mask0 & 1) === 0))
|
|
2007
2017
|
needToPutHigherTrump = this.needToPutHigherTrump;
|
|
2008
2018
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2037,7 +2047,7 @@
|
|
|
2037
2047
|
checkOnlyTrumpDebertz = this.checkOnlyTrumpDebertz;
|
|
2038
2048
|
if (!(($mask0 & 65536) === 0))
|
|
2039
2049
|
tenCardsInHand = this.tenCardsInHand;
|
|
2040
|
-
return this.
|
|
2050
|
+
return this.i2f(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2041
2051
|
};
|
|
2042
2052
|
Rules.prototype.toString = function () {
|
|
2043
2053
|
return 'Rules(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -2173,20 +2183,20 @@
|
|
|
2173
2183
|
return RulesSetType_custom_instance;
|
|
2174
2184
|
}
|
|
2175
2185
|
function mapToDto(_this__u8e3s4) {
|
|
2176
|
-
return _this__u8e3s4.
|
|
2186
|
+
return _this__u8e3s4.m2f_1;
|
|
2177
2187
|
}
|
|
2178
2188
|
function mapFromDto(_this__u8e3s4) {
|
|
2179
2189
|
return new GameCard(_this__u8e3s4);
|
|
2180
2190
|
}
|
|
2181
2191
|
function mapToDto_0(_this__u8e3s4) {
|
|
2182
|
-
return _this__u8e3s4.
|
|
2192
|
+
return _this__u8e3s4.o2f_1.m2f_1;
|
|
2183
2193
|
}
|
|
2184
2194
|
function mapToDto_1(_this__u8e3s4) {
|
|
2185
2195
|
return RulesDto_init_$Create$(_this__u8e3s4.needToPutHigherTrump, _this__u8e3s4.distributePoints, _this__u8e3s4.protectBella, null, _this__u8e3s4.enableFourSevensCombination, _this__u8e3s4.enableTrumpSevenCombination, _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution, _this__u8e3s4.playerWhoChooseSuitGoFirst, _this__u8e3s4.winnerShuffleCards, _this__u8e3s4.playWithoutLiabilities, _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards, _this__u8e3s4.enableFineIfNoBribes, _this__u8e3s4.fineIfNoBribes, _this__u8e3s4.enableFineAfterThirdByte, _this__u8e3s4.checkTrumpCombination, _this__u8e3s4.checkOnlyTrumpDebertz, _this__u8e3s4.tenCardsInHand, 8, null);
|
|
2186
2196
|
}
|
|
2187
2197
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2188
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2189
|
-
return new Rules(_this__u8e3s4.
|
|
2198
|
+
var tmp0_elvis_lhs = _this__u8e3s4.s2f_1;
|
|
2199
|
+
return new Rules(_this__u8e3s4.p2f_1, _this__u8e3s4.q2f_1, _this__u8e3s4.r2f_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.t2f_1, _this__u8e3s4.u2f_1, _this__u8e3s4.v2f_1, _this__u8e3s4.w2f_1, _this__u8e3s4.x2f_1, _this__u8e3s4.y2f_1, _this__u8e3s4.z2f_1, _this__u8e3s4.a2g_1, _this__u8e3s4.b2g_1, _this__u8e3s4.c2g_1, _this__u8e3s4.d2g_1, _this__u8e3s4.e2g_1, _this__u8e3s4.f2g_1);
|
|
2190
2200
|
}
|
|
2191
2201
|
function mapToDto_2(_this__u8e3s4) {
|
|
2192
2202
|
var tmp$ret$1;
|
|
@@ -2203,26 +2213,34 @@
|
|
|
2203
2213
|
tmp = null;
|
|
2204
2214
|
}
|
|
2205
2215
|
tmp$ret$1 = tmp;
|
|
2206
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2216
|
+
return new GameUserInfoDto(_this__u8e3s4.h2d_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1);
|
|
2207
2217
|
}
|
|
2208
2218
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2209
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2219
|
+
var tmp0_elvis_lhs = _this__u8e3s4.j2g_1;
|
|
2210
2220
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2211
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2221
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.g2g_1, _this__u8e3s4.h2g_1, _this__u8e3s4.i2g_1, tmp, null, 16, null);
|
|
2212
2222
|
}
|
|
2213
2223
|
function mapToDto_3(_this__u8e3s4) {
|
|
2214
|
-
var
|
|
2215
|
-
var
|
|
2216
|
-
var
|
|
2217
|
-
var
|
|
2218
|
-
|
|
2224
|
+
var tmp0_safe_receiver = _this__u8e3s4.n2d_1;
|
|
2225
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2c();
|
|
2226
|
+
var tmp4_startFromTime = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
|
|
2227
|
+
var tmp2_safe_receiver = _this__u8e3s4.n2d_1;
|
|
2228
|
+
var tmp5_startFrom = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2229
|
+
var tmp3_safe_receiver = _this__u8e3s4.o2d_1;
|
|
2230
|
+
var tmp6_waitPlayerUntilTime = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
|
|
2231
|
+
var tmp7_state = _this__u8e3s4.p2d_1;
|
|
2232
|
+
var tmp8_tag = _this__u8e3s4.s2d_1;
|
|
2233
|
+
var tmp9_ready = _this__u8e3s4.q2d_1;
|
|
2234
|
+
return new PlayerStateDto(tmp4_startFromTime, tmp5_startFrom, tmp6_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag);
|
|
2219
2235
|
}
|
|
2220
2236
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2221
|
-
var
|
|
2222
|
-
var
|
|
2223
|
-
var
|
|
2224
|
-
var
|
|
2225
|
-
|
|
2237
|
+
var tmp1_startFromTime = _this__u8e3s4.q2g();
|
|
2238
|
+
var tmp0_safe_receiver = _this__u8e3s4.m2g_1;
|
|
2239
|
+
var tmp2_waitPlayerUntilTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2240
|
+
var tmp3_state = _this__u8e3s4.n2g_1;
|
|
2241
|
+
var tmp4_tag = _this__u8e3s4.p2g_1;
|
|
2242
|
+
var tmp5_ready = _this__u8e3s4.o2g_1;
|
|
2243
|
+
return new PlayerState(tmp1_startFromTime, tmp2_waitPlayerUntilTime, tmp3_state, tmp5_ready, connectionState, tmp4_tag);
|
|
2226
2244
|
}
|
|
2227
2245
|
function Companion_12() {
|
|
2228
2246
|
Companion_instance_12 = this;
|
|
@@ -2240,10 +2258,10 @@
|
|
|
2240
2258
|
tmp0_serialDesc.b1k('name', false);
|
|
2241
2259
|
tmp0_serialDesc.b1k('avatarUrl', false);
|
|
2242
2260
|
tmp0_serialDesc.b1k('isBot', true);
|
|
2243
|
-
this.
|
|
2261
|
+
this.r2g_1 = tmp0_serialDesc;
|
|
2244
2262
|
}
|
|
2245
2263
|
$serializer_5.prototype.p19 = function () {
|
|
2246
|
-
return this.
|
|
2264
|
+
return this.r2g_1;
|
|
2247
2265
|
};
|
|
2248
2266
|
$serializer_5.prototype.q1k = function () {
|
|
2249
2267
|
var tmp$ret$2;
|
|
@@ -2259,7 +2277,7 @@
|
|
|
2259
2277
|
return tmp$ret$2;
|
|
2260
2278
|
};
|
|
2261
2279
|
$serializer_5.prototype.r19 = function (decoder) {
|
|
2262
|
-
var tmp0_desc = this.
|
|
2280
|
+
var tmp0_desc = this.r2g_1;
|
|
2263
2281
|
var tmp1_flag = true;
|
|
2264
2282
|
var tmp2_index = 0;
|
|
2265
2283
|
var tmp3_bitMask0 = 0;
|
|
@@ -2307,19 +2325,19 @@
|
|
|
2307
2325
|
tmp8_input.x1c(tmp0_desc);
|
|
2308
2326
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2309
2327
|
};
|
|
2310
|
-
$serializer_5.prototype.
|
|
2311
|
-
var tmp0_desc = this.
|
|
2328
|
+
$serializer_5.prototype.s2g = function (encoder, value) {
|
|
2329
|
+
var tmp0_desc = this.r2g_1;
|
|
2312
2330
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2313
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
2314
|
-
tmp1_output.l1e(tmp0_desc, 1, value.
|
|
2315
|
-
tmp1_output.l1e(tmp0_desc, 2, value.
|
|
2316
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2317
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2331
|
+
tmp1_output.l1e(tmp0_desc, 0, value.g2g_1);
|
|
2332
|
+
tmp1_output.l1e(tmp0_desc, 1, value.h2g_1);
|
|
2333
|
+
tmp1_output.l1e(tmp0_desc, 2, value.i2g_1);
|
|
2334
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.j2g_1 === false)) {
|
|
2335
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.j2g_1);
|
|
2318
2336
|
}
|
|
2319
2337
|
tmp1_output.x1c(tmp0_desc);
|
|
2320
2338
|
};
|
|
2321
2339
|
$serializer_5.prototype.q19 = function (encoder, value) {
|
|
2322
|
-
return this.
|
|
2340
|
+
return this.s2g(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2323
2341
|
};
|
|
2324
2342
|
var $serializer_instance_5;
|
|
2325
2343
|
function $serializer_getInstance_5() {
|
|
@@ -2329,15 +2347,15 @@
|
|
|
2329
2347
|
}
|
|
2330
2348
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2331
2349
|
if (!(7 === (7 & seen1))) {
|
|
2332
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2350
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().r2g_1);
|
|
2333
2351
|
}
|
|
2334
|
-
$this.
|
|
2335
|
-
$this.
|
|
2336
|
-
$this.
|
|
2352
|
+
$this.g2g_1 = playerId;
|
|
2353
|
+
$this.h2g_1 = name;
|
|
2354
|
+
$this.i2g_1 = avatarUrl;
|
|
2337
2355
|
if (0 === (seen1 & 8))
|
|
2338
|
-
$this.
|
|
2356
|
+
$this.j2g_1 = false;
|
|
2339
2357
|
else
|
|
2340
|
-
$this.
|
|
2358
|
+
$this.j2g_1 = isBot;
|
|
2341
2359
|
return $this;
|
|
2342
2360
|
}
|
|
2343
2361
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
@@ -2345,19 +2363,19 @@
|
|
|
2345
2363
|
}
|
|
2346
2364
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2347
2365
|
Companion_getInstance_12();
|
|
2348
|
-
this.
|
|
2349
|
-
this.
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2366
|
+
this.g2g_1 = playerId;
|
|
2367
|
+
this.h2g_1 = name;
|
|
2368
|
+
this.i2g_1 = avatarUrl;
|
|
2369
|
+
this.j2g_1 = isBot;
|
|
2352
2370
|
}
|
|
2353
2371
|
GameUserInfoDto.prototype.toString = function () {
|
|
2354
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2372
|
+
return 'GameUserInfoDto(playerId=' + this.g2g_1 + ', name=' + this.h2g_1 + ', avatarUrl=' + this.i2g_1 + ', isBot=' + this.j2g_1 + ')';
|
|
2355
2373
|
};
|
|
2356
2374
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2357
|
-
var result = getStringHashCode(this.
|
|
2358
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2359
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2360
|
-
result = imul(result, 31) + (this.
|
|
2375
|
+
var result = getStringHashCode(this.g2g_1);
|
|
2376
|
+
result = imul(result, 31) + getStringHashCode(this.h2g_1) | 0;
|
|
2377
|
+
result = imul(result, 31) + getStringHashCode(this.i2g_1) | 0;
|
|
2378
|
+
result = imul(result, 31) + (this.j2g_1 == null ? 0 : this.j2g_1 | 0) | 0;
|
|
2361
2379
|
return result;
|
|
2362
2380
|
};
|
|
2363
2381
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2366,13 +2384,13 @@
|
|
|
2366
2384
|
if (!(other instanceof GameUserInfoDto))
|
|
2367
2385
|
return false;
|
|
2368
2386
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2369
|
-
if (!(this.
|
|
2387
|
+
if (!(this.g2g_1 === tmp0_other_with_cast.g2g_1))
|
|
2370
2388
|
return false;
|
|
2371
|
-
if (!(this.
|
|
2389
|
+
if (!(this.h2g_1 === tmp0_other_with_cast.h2g_1))
|
|
2372
2390
|
return false;
|
|
2373
|
-
if (!(this.
|
|
2391
|
+
if (!(this.i2g_1 === tmp0_other_with_cast.i2g_1))
|
|
2374
2392
|
return false;
|
|
2375
|
-
if (!(this.
|
|
2393
|
+
if (!(this.j2g_1 == tmp0_other_with_cast.j2g_1))
|
|
2376
2394
|
return false;
|
|
2377
2395
|
return true;
|
|
2378
2396
|
};
|
|
@@ -2387,20 +2405,22 @@
|
|
|
2387
2405
|
}
|
|
2388
2406
|
function $serializer_6() {
|
|
2389
2407
|
$serializer_instance_6 = this;
|
|
2390
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this,
|
|
2391
|
-
tmp0_serialDesc.b1k('startFromTime',
|
|
2408
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 6);
|
|
2409
|
+
tmp0_serialDesc.b1k('startFromTime', true);
|
|
2410
|
+
tmp0_serialDesc.b1k('startFrom', true);
|
|
2411
|
+
tmp0_serialDesc.b1k('waitPlayerUntilTime', true);
|
|
2392
2412
|
tmp0_serialDesc.b1k('state', false);
|
|
2393
2413
|
tmp0_serialDesc.b1k('ready', false);
|
|
2394
2414
|
tmp0_serialDesc.b1k('tag', true);
|
|
2395
|
-
this.
|
|
2415
|
+
this.t2g_1 = tmp0_serialDesc;
|
|
2396
2416
|
}
|
|
2397
2417
|
$serializer_6.prototype.p19 = function () {
|
|
2398
|
-
return this.
|
|
2418
|
+
return this.t2g_1;
|
|
2399
2419
|
};
|
|
2400
2420
|
$serializer_6.prototype.q1k = function () {
|
|
2401
2421
|
var tmp$ret$2;
|
|
2402
2422
|
// Inline function 'kotlin.arrayOf' call
|
|
2403
|
-
var tmp0_arrayOf = [LongSerializer_getInstance(), Companion_getInstance_9().l1w(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2423
|
+
var tmp0_arrayOf = [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), Companion_getInstance_9().l1w(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2404
2424
|
var tmp$ret$1;
|
|
2405
2425
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2406
2426
|
var tmp$ret$0;
|
|
@@ -2411,67 +2431,89 @@
|
|
|
2411
2431
|
return tmp$ret$2;
|
|
2412
2432
|
};
|
|
2413
2433
|
$serializer_6.prototype.r19 = function (decoder) {
|
|
2414
|
-
var tmp0_desc = this.
|
|
2434
|
+
var tmp0_desc = this.t2g_1;
|
|
2415
2435
|
var tmp1_flag = true;
|
|
2416
2436
|
var tmp2_index = 0;
|
|
2417
2437
|
var tmp3_bitMask0 = 0;
|
|
2418
|
-
var tmp4_local0 =
|
|
2438
|
+
var tmp4_local0 = null;
|
|
2419
2439
|
var tmp5_local1 = null;
|
|
2420
|
-
var tmp6_local2 =
|
|
2440
|
+
var tmp6_local2 = null;
|
|
2421
2441
|
var tmp7_local3 = null;
|
|
2422
|
-
var
|
|
2423
|
-
|
|
2424
|
-
|
|
2442
|
+
var tmp8_local4 = false;
|
|
2443
|
+
var tmp9_local5 = null;
|
|
2444
|
+
var tmp10_input = decoder.w1c(tmp0_desc);
|
|
2445
|
+
if (tmp10_input.m1d()) {
|
|
2446
|
+
tmp4_local0 = tmp10_input.k1d(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
2425
2447
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2426
|
-
tmp5_local1 =
|
|
2448
|
+
tmp5_local1 = tmp10_input.k1d(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2427
2449
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2428
|
-
tmp6_local2 =
|
|
2450
|
+
tmp6_local2 = tmp10_input.k1d(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2429
2451
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2430
|
-
tmp7_local3 =
|
|
2452
|
+
tmp7_local3 = tmp10_input.i1d(tmp0_desc, 3, Companion_getInstance_9().l1w(), tmp7_local3);
|
|
2431
2453
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2454
|
+
tmp8_local4 = tmp10_input.y1c(tmp0_desc, 4);
|
|
2455
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2456
|
+
tmp9_local5 = tmp10_input.k1d(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2457
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2432
2458
|
} else
|
|
2433
2459
|
while (tmp1_flag) {
|
|
2434
|
-
tmp2_index =
|
|
2460
|
+
tmp2_index = tmp10_input.n1d(tmp0_desc);
|
|
2435
2461
|
switch (tmp2_index) {
|
|
2436
2462
|
case -1:
|
|
2437
2463
|
tmp1_flag = false;
|
|
2438
2464
|
break;
|
|
2439
2465
|
case 0:
|
|
2440
|
-
tmp4_local0 =
|
|
2466
|
+
tmp4_local0 = tmp10_input.k1d(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
2441
2467
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2442
2468
|
break;
|
|
2443
2469
|
case 1:
|
|
2444
|
-
tmp5_local1 =
|
|
2470
|
+
tmp5_local1 = tmp10_input.k1d(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2445
2471
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2446
2472
|
break;
|
|
2447
2473
|
case 2:
|
|
2448
|
-
tmp6_local2 =
|
|
2474
|
+
tmp6_local2 = tmp10_input.k1d(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2449
2475
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2450
2476
|
break;
|
|
2451
2477
|
case 3:
|
|
2452
|
-
tmp7_local3 =
|
|
2478
|
+
tmp7_local3 = tmp10_input.i1d(tmp0_desc, 3, Companion_getInstance_9().l1w(), tmp7_local3);
|
|
2453
2479
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2454
2480
|
break;
|
|
2481
|
+
case 4:
|
|
2482
|
+
tmp8_local4 = tmp10_input.y1c(tmp0_desc, 4);
|
|
2483
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2484
|
+
break;
|
|
2485
|
+
case 5:
|
|
2486
|
+
tmp9_local5 = tmp10_input.k1d(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2487
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2488
|
+
break;
|
|
2455
2489
|
default:
|
|
2456
2490
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2457
2491
|
}
|
|
2458
2492
|
}
|
|
2459
|
-
|
|
2460
|
-
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2493
|
+
tmp10_input.x1c(tmp0_desc);
|
|
2494
|
+
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
2461
2495
|
};
|
|
2462
|
-
$serializer_6.prototype.
|
|
2463
|
-
var tmp0_desc = this.
|
|
2496
|
+
$serializer_6.prototype.u2g = function (encoder, value) {
|
|
2497
|
+
var tmp0_desc = this.t2g_1;
|
|
2464
2498
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2465
|
-
tmp1_output.
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
if (tmp1_output.t1e(tmp0_desc,
|
|
2469
|
-
tmp1_output.p1e(tmp0_desc,
|
|
2499
|
+
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.k2g_1 == null)) {
|
|
2500
|
+
tmp1_output.p1e(tmp0_desc, 0, LongSerializer_getInstance(), value.k2g_1);
|
|
2501
|
+
}
|
|
2502
|
+
if (tmp1_output.t1e(tmp0_desc, 1) ? true : !(value.l2g_1 == null)) {
|
|
2503
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.l2g_1);
|
|
2504
|
+
}
|
|
2505
|
+
if (tmp1_output.t1e(tmp0_desc, 2) ? true : !(value.m2g_1 == null)) {
|
|
2506
|
+
tmp1_output.p1e(tmp0_desc, 2, StringSerializer_getInstance(), value.m2g_1);
|
|
2507
|
+
}
|
|
2508
|
+
tmp1_output.n1e(tmp0_desc, 3, Companion_getInstance_9().l1w(), value.n2g_1);
|
|
2509
|
+
tmp1_output.d1e(tmp0_desc, 4, value.o2g_1);
|
|
2510
|
+
if (tmp1_output.t1e(tmp0_desc, 5) ? true : !(value.p2g_1 == null)) {
|
|
2511
|
+
tmp1_output.p1e(tmp0_desc, 5, StringSerializer_getInstance(), value.p2g_1);
|
|
2470
2512
|
}
|
|
2471
2513
|
tmp1_output.x1c(tmp0_desc);
|
|
2472
2514
|
};
|
|
2473
2515
|
$serializer_6.prototype.q19 = function (encoder, value) {
|
|
2474
|
-
return this.
|
|
2516
|
+
return this.u2g(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2475
2517
|
};
|
|
2476
2518
|
var $serializer_instance_6;
|
|
2477
2519
|
function $serializer_getInstance_6() {
|
|
@@ -2479,37 +2521,57 @@
|
|
|
2479
2521
|
new $serializer_6();
|
|
2480
2522
|
return $serializer_instance_6;
|
|
2481
2523
|
}
|
|
2482
|
-
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2483
|
-
if (!(
|
|
2484
|
-
throwMissingFieldException(seen1,
|
|
2524
|
+
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2525
|
+
if (!(24 === (24 & seen1))) {
|
|
2526
|
+
throwMissingFieldException(seen1, 24, $serializer_getInstance_6().t2g_1);
|
|
2485
2527
|
}
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2528
|
+
if (0 === (seen1 & 1))
|
|
2529
|
+
$this.k2g_1 = null;
|
|
2530
|
+
else
|
|
2531
|
+
$this.k2g_1 = startFromTime;
|
|
2532
|
+
if (0 === (seen1 & 2))
|
|
2533
|
+
$this.l2g_1 = null;
|
|
2534
|
+
else
|
|
2535
|
+
$this.l2g_1 = startFrom;
|
|
2536
|
+
if (0 === (seen1 & 4))
|
|
2537
|
+
$this.m2g_1 = null;
|
|
2491
2538
|
else
|
|
2492
|
-
$this.
|
|
2539
|
+
$this.m2g_1 = waitPlayerUntilTime;
|
|
2540
|
+
$this.n2g_1 = state;
|
|
2541
|
+
$this.o2g_1 = ready;
|
|
2542
|
+
if (0 === (seen1 & 32))
|
|
2543
|
+
$this.p2g_1 = null;
|
|
2544
|
+
else
|
|
2545
|
+
$this.p2g_1 = tag;
|
|
2493
2546
|
return $this;
|
|
2494
2547
|
}
|
|
2495
|
-
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
2496
|
-
return PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, Object.create(PlayerStateDto.prototype));
|
|
2548
|
+
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker) {
|
|
2549
|
+
return PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker, Object.create(PlayerStateDto.prototype));
|
|
2497
2550
|
}
|
|
2498
|
-
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2551
|
+
function PlayerStateDto(startFromTime, startFrom, waitPlayerUntilTime, state, ready, tag) {
|
|
2499
2552
|
Companion_getInstance_13();
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2502
|
-
this.
|
|
2503
|
-
this.
|
|
2504
|
-
|
|
2553
|
+
this.k2g_1 = startFromTime;
|
|
2554
|
+
this.l2g_1 = startFrom;
|
|
2555
|
+
this.m2g_1 = waitPlayerUntilTime;
|
|
2556
|
+
this.n2g_1 = state;
|
|
2557
|
+
this.o2g_1 = ready;
|
|
2558
|
+
this.p2g_1 = tag;
|
|
2559
|
+
}
|
|
2560
|
+
PlayerStateDto.prototype.q2g = function () {
|
|
2561
|
+
var tmp0_safe_receiver = this.l2g_1;
|
|
2562
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2563
|
+
return tmp1_elvis_lhs == null ? toInstant(ensureNotNull(this.l2g_1)) : tmp1_elvis_lhs;
|
|
2564
|
+
};
|
|
2505
2565
|
PlayerStateDto.prototype.toString = function () {
|
|
2506
|
-
return 'PlayerStateDto(startFromTime=' +
|
|
2566
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.k2g_1) + ', startFrom=' + this.l2g_1 + ', waitPlayerUntilTime=' + this.m2g_1 + ', state=' + this.n2g_1 + ', ready=' + this.o2g_1 + ', tag=' + this.p2g_1 + ')';
|
|
2507
2567
|
};
|
|
2508
2568
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2509
|
-
var result = this.
|
|
2510
|
-
result = imul(result, 31) + this.
|
|
2511
|
-
result = imul(result, 31) + (this.
|
|
2512
|
-
result = imul(result, 31) +
|
|
2569
|
+
var result = this.k2g_1 == null ? 0 : this.k2g_1.hashCode();
|
|
2570
|
+
result = imul(result, 31) + (this.l2g_1 == null ? 0 : getStringHashCode(this.l2g_1)) | 0;
|
|
2571
|
+
result = imul(result, 31) + (this.m2g_1 == null ? 0 : getStringHashCode(this.m2g_1)) | 0;
|
|
2572
|
+
result = imul(result, 31) + this.n2g_1.hashCode() | 0;
|
|
2573
|
+
result = imul(result, 31) + (this.o2g_1 | 0) | 0;
|
|
2574
|
+
result = imul(result, 31) + (this.p2g_1 == null ? 0 : getStringHashCode(this.p2g_1)) | 0;
|
|
2513
2575
|
return result;
|
|
2514
2576
|
};
|
|
2515
2577
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2518,13 +2580,17 @@
|
|
|
2518
2580
|
if (!(other instanceof PlayerStateDto))
|
|
2519
2581
|
return false;
|
|
2520
2582
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2521
|
-
if (!this.
|
|
2583
|
+
if (!equals(this.k2g_1, tmp0_other_with_cast.k2g_1))
|
|
2522
2584
|
return false;
|
|
2523
|
-
if (!this.
|
|
2585
|
+
if (!(this.l2g_1 == tmp0_other_with_cast.l2g_1))
|
|
2524
2586
|
return false;
|
|
2525
|
-
if (!(this.
|
|
2587
|
+
if (!(this.m2g_1 == tmp0_other_with_cast.m2g_1))
|
|
2588
|
+
return false;
|
|
2589
|
+
if (!this.n2g_1.equals(tmp0_other_with_cast.n2g_1))
|
|
2526
2590
|
return false;
|
|
2527
|
-
if (!(this.
|
|
2591
|
+
if (!(this.o2g_1 === tmp0_other_with_cast.o2g_1))
|
|
2592
|
+
return false;
|
|
2593
|
+
if (!(this.p2g_1 == tmp0_other_with_cast.p2g_1))
|
|
2528
2594
|
return false;
|
|
2529
2595
|
return true;
|
|
2530
2596
|
};
|
|
@@ -2566,10 +2632,10 @@
|
|
|
2566
2632
|
tmp0_serialDesc.b1k('checkTrumpCombination', false);
|
|
2567
2633
|
tmp0_serialDesc.b1k('checkOnlyTrumpDebertz', false);
|
|
2568
2634
|
tmp0_serialDesc.b1k('tenCardsInHand', false);
|
|
2569
|
-
this.
|
|
2635
|
+
this.v2g_1 = tmp0_serialDesc;
|
|
2570
2636
|
}
|
|
2571
2637
|
$serializer_7.prototype.p19 = function () {
|
|
2572
|
-
return this.
|
|
2638
|
+
return this.v2g_1;
|
|
2573
2639
|
};
|
|
2574
2640
|
$serializer_7.prototype.q1k = function () {
|
|
2575
2641
|
var tmp$ret$2;
|
|
@@ -2585,7 +2651,7 @@
|
|
|
2585
2651
|
return tmp$ret$2;
|
|
2586
2652
|
};
|
|
2587
2653
|
$serializer_7.prototype.r19 = function (decoder) {
|
|
2588
|
-
var tmp0_desc = this.
|
|
2654
|
+
var tmp0_desc = this.v2g_1;
|
|
2589
2655
|
var tmp1_flag = true;
|
|
2590
2656
|
var tmp2_index = 0;
|
|
2591
2657
|
var tmp3_bitMask0 = 0;
|
|
@@ -2724,32 +2790,32 @@
|
|
|
2724
2790
|
tmp21_input.x1c(tmp0_desc);
|
|
2725
2791
|
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);
|
|
2726
2792
|
};
|
|
2727
|
-
$serializer_7.prototype.
|
|
2728
|
-
var tmp0_desc = this.
|
|
2793
|
+
$serializer_7.prototype.w2g = function (encoder, value) {
|
|
2794
|
+
var tmp0_desc = this.v2g_1;
|
|
2729
2795
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2730
|
-
tmp1_output.d1e(tmp0_desc, 0, value.
|
|
2731
|
-
tmp1_output.d1e(tmp0_desc, 1, value.
|
|
2732
|
-
tmp1_output.d1e(tmp0_desc, 2, value.
|
|
2733
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2734
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2796
|
+
tmp1_output.d1e(tmp0_desc, 0, value.p2f_1);
|
|
2797
|
+
tmp1_output.d1e(tmp0_desc, 1, value.q2f_1);
|
|
2798
|
+
tmp1_output.d1e(tmp0_desc, 2, value.r2f_1);
|
|
2799
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.s2f_1 == null)) {
|
|
2800
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.s2f_1);
|
|
2735
2801
|
}
|
|
2736
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2737
|
-
tmp1_output.d1e(tmp0_desc, 5, value.
|
|
2738
|
-
tmp1_output.d1e(tmp0_desc, 6, value.
|
|
2739
|
-
tmp1_output.d1e(tmp0_desc, 7, value.
|
|
2740
|
-
tmp1_output.d1e(tmp0_desc, 8, value.
|
|
2741
|
-
tmp1_output.d1e(tmp0_desc, 9, value.
|
|
2742
|
-
tmp1_output.d1e(tmp0_desc, 10, value.
|
|
2743
|
-
tmp1_output.d1e(tmp0_desc, 11, value.
|
|
2744
|
-
tmp1_output.g1e(tmp0_desc, 12, value.
|
|
2745
|
-
tmp1_output.d1e(tmp0_desc, 13, value.
|
|
2746
|
-
tmp1_output.d1e(tmp0_desc, 14, value.
|
|
2747
|
-
tmp1_output.d1e(tmp0_desc, 15, value.
|
|
2748
|
-
tmp1_output.d1e(tmp0_desc, 16, value.
|
|
2802
|
+
tmp1_output.d1e(tmp0_desc, 4, value.t2f_1);
|
|
2803
|
+
tmp1_output.d1e(tmp0_desc, 5, value.u2f_1);
|
|
2804
|
+
tmp1_output.d1e(tmp0_desc, 6, value.v2f_1);
|
|
2805
|
+
tmp1_output.d1e(tmp0_desc, 7, value.w2f_1);
|
|
2806
|
+
tmp1_output.d1e(tmp0_desc, 8, value.x2f_1);
|
|
2807
|
+
tmp1_output.d1e(tmp0_desc, 9, value.y2f_1);
|
|
2808
|
+
tmp1_output.d1e(tmp0_desc, 10, value.z2f_1);
|
|
2809
|
+
tmp1_output.d1e(tmp0_desc, 11, value.a2g_1);
|
|
2810
|
+
tmp1_output.g1e(tmp0_desc, 12, value.b2g_1);
|
|
2811
|
+
tmp1_output.d1e(tmp0_desc, 13, value.c2g_1);
|
|
2812
|
+
tmp1_output.d1e(tmp0_desc, 14, value.d2g_1);
|
|
2813
|
+
tmp1_output.d1e(tmp0_desc, 15, value.e2g_1);
|
|
2814
|
+
tmp1_output.d1e(tmp0_desc, 16, value.f2g_1);
|
|
2749
2815
|
tmp1_output.x1c(tmp0_desc);
|
|
2750
2816
|
};
|
|
2751
2817
|
$serializer_7.prototype.q19 = function (encoder, value) {
|
|
2752
|
-
return this.
|
|
2818
|
+
return this.w2g(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2753
2819
|
};
|
|
2754
2820
|
var $serializer_instance_7;
|
|
2755
2821
|
function $serializer_getInstance_7() {
|
|
@@ -2759,28 +2825,28 @@
|
|
|
2759
2825
|
}
|
|
2760
2826
|
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) {
|
|
2761
2827
|
if (!(131063 === (131063 & seen1))) {
|
|
2762
|
-
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().
|
|
2828
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().v2g_1);
|
|
2763
2829
|
}
|
|
2764
|
-
$this.
|
|
2765
|
-
$this.
|
|
2766
|
-
$this.
|
|
2830
|
+
$this.p2f_1 = needToPutHigherTrump;
|
|
2831
|
+
$this.q2f_1 = distributePoints;
|
|
2832
|
+
$this.r2f_1 = protectBella;
|
|
2767
2833
|
if (0 === (seen1 & 8))
|
|
2768
|
-
$this.
|
|
2834
|
+
$this.s2f_1 = null;
|
|
2769
2835
|
else
|
|
2770
|
-
$this.
|
|
2771
|
-
$this.
|
|
2772
|
-
$this.
|
|
2773
|
-
$this.
|
|
2774
|
-
$this.
|
|
2775
|
-
$this.
|
|
2776
|
-
$this.
|
|
2777
|
-
$this.
|
|
2778
|
-
$this.
|
|
2779
|
-
$this.
|
|
2780
|
-
$this.
|
|
2781
|
-
$this.
|
|
2782
|
-
$this.
|
|
2783
|
-
$this.
|
|
2836
|
+
$this.s2f_1 = oneTryToProtectBella;
|
|
2837
|
+
$this.t2f_1 = enableFourSevensCombination;
|
|
2838
|
+
$this.u2f_1 = enableTrumpSevenCombination;
|
|
2839
|
+
$this.v2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2840
|
+
$this.w2f_1 = playerWhoChooseSuitGoFirst;
|
|
2841
|
+
$this.x2f_1 = winnerShuffleCards;
|
|
2842
|
+
$this.y2f_1 = playWithoutLiabilities;
|
|
2843
|
+
$this.z2f_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2844
|
+
$this.a2g_1 = enableFineIfNoBribes;
|
|
2845
|
+
$this.b2g_1 = fineIfNoBribes;
|
|
2846
|
+
$this.c2g_1 = enableFineAfterThirdByte;
|
|
2847
|
+
$this.d2g_1 = checkTrumpCombination;
|
|
2848
|
+
$this.e2g_1 = checkOnlyTrumpDebertz;
|
|
2849
|
+
$this.f2g_1 = tenCardsInHand;
|
|
2784
2850
|
return $this;
|
|
2785
2851
|
}
|
|
2786
2852
|
function RulesDto_init_$Create$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2788,45 +2854,45 @@
|
|
|
2788
2854
|
}
|
|
2789
2855
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2790
2856
|
Companion_getInstance_14();
|
|
2791
|
-
this.
|
|
2792
|
-
this.
|
|
2793
|
-
this.
|
|
2794
|
-
this.
|
|
2795
|
-
this.
|
|
2796
|
-
this.
|
|
2797
|
-
this.
|
|
2798
|
-
this.
|
|
2799
|
-
this.
|
|
2800
|
-
this.
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2803
|
-
this.
|
|
2804
|
-
this.
|
|
2805
|
-
this.
|
|
2806
|
-
this.
|
|
2807
|
-
this.
|
|
2857
|
+
this.p2f_1 = needToPutHigherTrump;
|
|
2858
|
+
this.q2f_1 = distributePoints;
|
|
2859
|
+
this.r2f_1 = protectBella;
|
|
2860
|
+
this.s2f_1 = oneTryToProtectBella;
|
|
2861
|
+
this.t2f_1 = enableFourSevensCombination;
|
|
2862
|
+
this.u2f_1 = enableTrumpSevenCombination;
|
|
2863
|
+
this.v2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2864
|
+
this.w2f_1 = playerWhoChooseSuitGoFirst;
|
|
2865
|
+
this.x2f_1 = winnerShuffleCards;
|
|
2866
|
+
this.y2f_1 = playWithoutLiabilities;
|
|
2867
|
+
this.z2f_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2868
|
+
this.a2g_1 = enableFineIfNoBribes;
|
|
2869
|
+
this.b2g_1 = fineIfNoBribes;
|
|
2870
|
+
this.c2g_1 = enableFineAfterThirdByte;
|
|
2871
|
+
this.d2g_1 = checkTrumpCombination;
|
|
2872
|
+
this.e2g_1 = checkOnlyTrumpDebertz;
|
|
2873
|
+
this.f2g_1 = tenCardsInHand;
|
|
2808
2874
|
}
|
|
2809
2875
|
RulesDto.prototype.toString = function () {
|
|
2810
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2876
|
+
return 'RulesDto(needToPutHigherTrump=' + this.p2f_1 + ', distributePoints=' + this.q2f_1 + ', protectBella=' + this.r2f_1 + ', oneTryToProtectBella=' + this.s2f_1 + ', enableFourSevensCombination=' + this.t2f_1 + ', enableTrumpSevenCombination=' + this.u2f_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.v2f_1 + ', playerWhoChooseSuitGoFirst=' + this.w2f_1 + ', winnerShuffleCards=' + this.x2f_1 + ', playWithoutLiabilities=' + this.y2f_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.z2f_1 + ', enableFineIfNoBribes=' + this.a2g_1 + ', fineIfNoBribes=' + this.b2g_1 + ', enableFineAfterThirdByte=' + this.c2g_1 + ', checkTrumpCombination=' + this.d2g_1 + ', checkOnlyTrumpDebertz=' + this.e2g_1 + ', tenCardsInHand=' + this.f2g_1 + ')';
|
|
2811
2877
|
};
|
|
2812
2878
|
RulesDto.prototype.hashCode = function () {
|
|
2813
|
-
var result = this.
|
|
2814
|
-
result = imul(result, 31) + (this.
|
|
2815
|
-
result = imul(result, 31) + (this.
|
|
2816
|
-
result = imul(result, 31) + (this.
|
|
2817
|
-
result = imul(result, 31) + (this.
|
|
2818
|
-
result = imul(result, 31) + (this.
|
|
2819
|
-
result = imul(result, 31) + (this.
|
|
2820
|
-
result = imul(result, 31) + (this.
|
|
2821
|
-
result = imul(result, 31) + (this.
|
|
2822
|
-
result = imul(result, 31) + (this.
|
|
2823
|
-
result = imul(result, 31) + (this.
|
|
2824
|
-
result = imul(result, 31) + (this.
|
|
2825
|
-
result = imul(result, 31) + this.
|
|
2826
|
-
result = imul(result, 31) + (this.
|
|
2827
|
-
result = imul(result, 31) + (this.
|
|
2828
|
-
result = imul(result, 31) + (this.
|
|
2829
|
-
result = imul(result, 31) + (this.
|
|
2879
|
+
var result = this.p2f_1 | 0;
|
|
2880
|
+
result = imul(result, 31) + (this.q2f_1 | 0) | 0;
|
|
2881
|
+
result = imul(result, 31) + (this.r2f_1 | 0) | 0;
|
|
2882
|
+
result = imul(result, 31) + (this.s2f_1 == null ? 0 : this.s2f_1 | 0) | 0;
|
|
2883
|
+
result = imul(result, 31) + (this.t2f_1 | 0) | 0;
|
|
2884
|
+
result = imul(result, 31) + (this.u2f_1 | 0) | 0;
|
|
2885
|
+
result = imul(result, 31) + (this.v2f_1 | 0) | 0;
|
|
2886
|
+
result = imul(result, 31) + (this.w2f_1 | 0) | 0;
|
|
2887
|
+
result = imul(result, 31) + (this.x2f_1 | 0) | 0;
|
|
2888
|
+
result = imul(result, 31) + (this.y2f_1 | 0) | 0;
|
|
2889
|
+
result = imul(result, 31) + (this.z2f_1 | 0) | 0;
|
|
2890
|
+
result = imul(result, 31) + (this.a2g_1 | 0) | 0;
|
|
2891
|
+
result = imul(result, 31) + this.b2g_1 | 0;
|
|
2892
|
+
result = imul(result, 31) + (this.c2g_1 | 0) | 0;
|
|
2893
|
+
result = imul(result, 31) + (this.d2g_1 | 0) | 0;
|
|
2894
|
+
result = imul(result, 31) + (this.e2g_1 | 0) | 0;
|
|
2895
|
+
result = imul(result, 31) + (this.f2g_1 | 0) | 0;
|
|
2830
2896
|
return result;
|
|
2831
2897
|
};
|
|
2832
2898
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2835,52 +2901,52 @@
|
|
|
2835
2901
|
if (!(other instanceof RulesDto))
|
|
2836
2902
|
return false;
|
|
2837
2903
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2838
|
-
if (!(this.
|
|
2904
|
+
if (!(this.p2f_1 === tmp0_other_with_cast.p2f_1))
|
|
2839
2905
|
return false;
|
|
2840
|
-
if (!(this.
|
|
2906
|
+
if (!(this.q2f_1 === tmp0_other_with_cast.q2f_1))
|
|
2841
2907
|
return false;
|
|
2842
|
-
if (!(this.
|
|
2908
|
+
if (!(this.r2f_1 === tmp0_other_with_cast.r2f_1))
|
|
2843
2909
|
return false;
|
|
2844
|
-
if (!(this.
|
|
2910
|
+
if (!(this.s2f_1 == tmp0_other_with_cast.s2f_1))
|
|
2845
2911
|
return false;
|
|
2846
|
-
if (!(this.
|
|
2912
|
+
if (!(this.t2f_1 === tmp0_other_with_cast.t2f_1))
|
|
2847
2913
|
return false;
|
|
2848
|
-
if (!(this.
|
|
2914
|
+
if (!(this.u2f_1 === tmp0_other_with_cast.u2f_1))
|
|
2849
2915
|
return false;
|
|
2850
|
-
if (!(this.
|
|
2916
|
+
if (!(this.v2f_1 === tmp0_other_with_cast.v2f_1))
|
|
2851
2917
|
return false;
|
|
2852
|
-
if (!(this.
|
|
2918
|
+
if (!(this.w2f_1 === tmp0_other_with_cast.w2f_1))
|
|
2853
2919
|
return false;
|
|
2854
|
-
if (!(this.
|
|
2920
|
+
if (!(this.x2f_1 === tmp0_other_with_cast.x2f_1))
|
|
2855
2921
|
return false;
|
|
2856
|
-
if (!(this.
|
|
2922
|
+
if (!(this.y2f_1 === tmp0_other_with_cast.y2f_1))
|
|
2857
2923
|
return false;
|
|
2858
|
-
if (!(this.
|
|
2924
|
+
if (!(this.z2f_1 === tmp0_other_with_cast.z2f_1))
|
|
2859
2925
|
return false;
|
|
2860
|
-
if (!(this.
|
|
2926
|
+
if (!(this.a2g_1 === tmp0_other_with_cast.a2g_1))
|
|
2861
2927
|
return false;
|
|
2862
|
-
if (!(this.
|
|
2928
|
+
if (!(this.b2g_1 === tmp0_other_with_cast.b2g_1))
|
|
2863
2929
|
return false;
|
|
2864
|
-
if (!(this.
|
|
2930
|
+
if (!(this.c2g_1 === tmp0_other_with_cast.c2g_1))
|
|
2865
2931
|
return false;
|
|
2866
|
-
if (!(this.
|
|
2932
|
+
if (!(this.d2g_1 === tmp0_other_with_cast.d2g_1))
|
|
2867
2933
|
return false;
|
|
2868
|
-
if (!(this.
|
|
2934
|
+
if (!(this.e2g_1 === tmp0_other_with_cast.e2g_1))
|
|
2869
2935
|
return false;
|
|
2870
|
-
if (!(this.
|
|
2936
|
+
if (!(this.f2g_1 === tmp0_other_with_cast.f2g_1))
|
|
2871
2937
|
return false;
|
|
2872
2938
|
return true;
|
|
2873
2939
|
};
|
|
2874
2940
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2875
|
-
this.
|
|
2876
|
-
this.
|
|
2941
|
+
this.x2g_1 = trump;
|
|
2942
|
+
this.y2g_1 = firstCardSuit;
|
|
2877
2943
|
}
|
|
2878
|
-
CardGrowthComparator.prototype.
|
|
2879
|
-
return getGrowth(b, this.
|
|
2944
|
+
CardGrowthComparator.prototype.z2g = function (a, b) {
|
|
2945
|
+
return getGrowth(b, this.x2g_1, this.y2g_1) - getGrowth(a, this.x2g_1, this.y2g_1) | 0;
|
|
2880
2946
|
};
|
|
2881
2947
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2882
2948
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2883
|
-
return this.
|
|
2949
|
+
return this.z2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2884
2950
|
};
|
|
2885
2951
|
function filterByCardName(_this__u8e3s4, name) {
|
|
2886
2952
|
var tmp$ret$1;
|
|
@@ -2903,12 +2969,12 @@
|
|
|
2903
2969
|
function CardIndexComparator() {
|
|
2904
2970
|
CardIndexComparator_instance = this;
|
|
2905
2971
|
}
|
|
2906
|
-
CardIndexComparator.prototype.
|
|
2907
|
-
return a.
|
|
2972
|
+
CardIndexComparator.prototype.z2g = function (a, b) {
|
|
2973
|
+
return a.m2f_1 - b.m2f_1 | 0;
|
|
2908
2974
|
};
|
|
2909
2975
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2910
2976
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2911
|
-
return this.
|
|
2977
|
+
return this.z2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2912
2978
|
};
|
|
2913
2979
|
var CardIndexComparator_instance;
|
|
2914
2980
|
function CardIndexComparator_getInstance() {
|
|
@@ -2937,12 +3003,12 @@
|
|
|
2937
3003
|
function CardNumberComparator() {
|
|
2938
3004
|
CardNumberComparator_instance = this;
|
|
2939
3005
|
}
|
|
2940
|
-
CardNumberComparator.prototype.
|
|
2941
|
-
return b.
|
|
3006
|
+
CardNumberComparator.prototype.z2g = function (a, b) {
|
|
3007
|
+
return b.a2h() - a.a2h() | 0;
|
|
2942
3008
|
};
|
|
2943
3009
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2944
3010
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2945
|
-
return this.
|
|
3011
|
+
return this.z2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2946
3012
|
};
|
|
2947
3013
|
var CardNumberComparator_instance;
|
|
2948
3014
|
function CardNumberComparator_getInstance() {
|
|
@@ -2951,7 +3017,7 @@
|
|
|
2951
3017
|
return CardNumberComparator_instance;
|
|
2952
3018
|
}
|
|
2953
3019
|
function getPoint(_this__u8e3s4, trump) {
|
|
2954
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
3020
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.b2h());
|
|
2955
3021
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
2956
3022
|
var tmp0 = tmp0_subject.n4_1;
|
|
2957
3023
|
var tmp;
|
|
@@ -2985,8 +3051,8 @@
|
|
|
2985
3051
|
}
|
|
2986
3052
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2987
3053
|
var minPoint = 0;
|
|
2988
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2989
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3054
|
+
var isTrump = trump.equals(_this__u8e3s4.b2h());
|
|
3055
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.b2h());
|
|
2990
3056
|
var minGrowth;
|
|
2991
3057
|
var maxGrowth;
|
|
2992
3058
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
@@ -3084,7 +3150,7 @@
|
|
|
3084
3150
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3085
3151
|
var tmp$ret$0;
|
|
3086
3152
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3087
|
-
tmp$ret$0 = p1.
|
|
3153
|
+
tmp$ret$0 = p1.b2h().equals(element);
|
|
3088
3154
|
if (tmp$ret$0) {
|
|
3089
3155
|
tmp$ret$1 = true;
|
|
3090
3156
|
break $l$block;
|
|
@@ -3132,27 +3198,67 @@
|
|
|
3132
3198
|
function Companion_15() {
|
|
3133
3199
|
Companion_instance_15 = this;
|
|
3134
3200
|
}
|
|
3135
|
-
Companion_15.prototype.
|
|
3201
|
+
Companion_15.prototype.c2h = function (suit, cardNumber) {
|
|
3136
3202
|
return new GameCard(getNumber(Companion_getInstance_16(), cardNumber, suit));
|
|
3137
3203
|
};
|
|
3138
|
-
Companion_15.prototype.
|
|
3204
|
+
Companion_15.prototype.d2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
3205
|
+
var tmp0_safe_receiver = previousStubCardWithMaxIndex;
|
|
3139
3206
|
var tmp;
|
|
3207
|
+
if (tmp0_safe_receiver == null) {
|
|
3208
|
+
tmp = null;
|
|
3209
|
+
} else {
|
|
3210
|
+
var tmp$ret$1;
|
|
3211
|
+
// Inline function 'kotlin.takeIf' call
|
|
3212
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3213
|
+
var tmp_0;
|
|
3214
|
+
var tmp$ret$0;
|
|
3215
|
+
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3216
|
+
tmp$ret$0 = tmp0_safe_receiver.e2h();
|
|
3217
|
+
if (tmp$ret$0) {
|
|
3218
|
+
tmp_0 = tmp0_safe_receiver;
|
|
3219
|
+
} else {
|
|
3220
|
+
tmp_0 = null;
|
|
3221
|
+
}
|
|
3222
|
+
tmp$ret$1 = tmp_0;
|
|
3223
|
+
tmp = tmp$ret$1;
|
|
3224
|
+
}
|
|
3225
|
+
var tmp1_safe_receiver = tmp;
|
|
3226
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.m2f_1;
|
|
3227
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_16().j2h(tmp2_safe_receiver, playerIndex, reverse);
|
|
3228
|
+
var tmp_1;
|
|
3229
|
+
if (tmp3_safe_receiver == null) {
|
|
3230
|
+
tmp_1 = null;
|
|
3231
|
+
} else {
|
|
3232
|
+
var tmp$ret$3;
|
|
3233
|
+
// Inline function 'kotlin.let' call
|
|
3234
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3235
|
+
var tmp$ret$2;
|
|
3236
|
+
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3237
|
+
tmp$ret$2 = tmp3_safe_receiver + 1 | 0;
|
|
3238
|
+
tmp$ret$3 = tmp$ret$2;
|
|
3239
|
+
tmp_1 = tmp$ret$3;
|
|
3240
|
+
}
|
|
3241
|
+
var tmp4_elvis_lhs = tmp_1;
|
|
3242
|
+
var previousGameCardIndex = tmp4_elvis_lhs == null ? 0 : tmp4_elvis_lhs;
|
|
3243
|
+
var tmp_2;
|
|
3140
3244
|
if (reverse) {
|
|
3141
3245
|
Companion_getInstance_16();
|
|
3142
3246
|
Companion_getInstance_16();
|
|
3143
|
-
|
|
3247
|
+
tmp_2 = ((53 + imul(playerIndex, 13 + 1 | 0) | 0) - position | 0) - previousGameCardIndex | 0;
|
|
3144
3248
|
} else {
|
|
3145
3249
|
Companion_getInstance_16();
|
|
3146
3250
|
Companion_getInstance_16();
|
|
3147
|
-
|
|
3251
|
+
tmp_2 = ((53 + imul(playerIndex, 13) | 0) + position | 0) + previousGameCardIndex | 0;
|
|
3148
3252
|
}
|
|
3149
|
-
var index =
|
|
3253
|
+
var index = tmp_2;
|
|
3150
3254
|
return new GameCard(index);
|
|
3151
3255
|
};
|
|
3152
|
-
Companion_15.prototype.
|
|
3256
|
+
Companion_15.prototype.k2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $mask0, $handler) {
|
|
3153
3257
|
if (!(($mask0 & 4) === 0))
|
|
3258
|
+
previousStubCardWithMaxIndex = null;
|
|
3259
|
+
if (!(($mask0 & 8) === 0))
|
|
3154
3260
|
reverse = false;
|
|
3155
|
-
return this.
|
|
3261
|
+
return this.d2h(position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3156
3262
|
};
|
|
3157
3263
|
var Companion_instance_15;
|
|
3158
3264
|
function Companion_getInstance_15() {
|
|
@@ -3261,7 +3367,7 @@
|
|
|
3261
3367
|
return tmp;
|
|
3262
3368
|
}
|
|
3263
3369
|
function _get_isShirt__vd98rp($this) {
|
|
3264
|
-
var tmp = $this.
|
|
3370
|
+
var tmp = $this.m2f_1;
|
|
3265
3371
|
Companion_getInstance_16();
|
|
3266
3372
|
return tmp === 52;
|
|
3267
3373
|
}
|
|
@@ -3270,11 +3376,20 @@
|
|
|
3270
3376
|
}
|
|
3271
3377
|
function Companion_16() {
|
|
3272
3378
|
Companion_instance_16 = this;
|
|
3273
|
-
this.
|
|
3274
|
-
this.
|
|
3275
|
-
this.
|
|
3276
|
-
this.
|
|
3379
|
+
this.f2h_1 = -1;
|
|
3380
|
+
this.g2h_1 = 13;
|
|
3381
|
+
this.h2h_1 = 52;
|
|
3382
|
+
this.i2h_1 = 53;
|
|
3277
3383
|
}
|
|
3384
|
+
Companion_16.prototype.j2h = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3385
|
+
var tmp;
|
|
3386
|
+
if (reverse) {
|
|
3387
|
+
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
3388
|
+
} else {
|
|
3389
|
+
tmp = _this__u8e3s4 - (53 + imul(playerIndex, 13) | 0) | 0;
|
|
3390
|
+
}
|
|
3391
|
+
return tmp;
|
|
3392
|
+
};
|
|
3278
3393
|
var Companion_instance_16;
|
|
3279
3394
|
function Companion_getInstance_16() {
|
|
3280
3395
|
if (Companion_instance_16 == null)
|
|
@@ -3339,55 +3454,55 @@
|
|
|
3339
3454
|
}
|
|
3340
3455
|
function GameCard(index) {
|
|
3341
3456
|
Companion_getInstance_16();
|
|
3342
|
-
this.
|
|
3457
|
+
this.m2f_1 = index;
|
|
3343
3458
|
}
|
|
3344
|
-
GameCard.prototype.
|
|
3459
|
+
GameCard.prototype.b2h = function () {
|
|
3345
3460
|
var tmp;
|
|
3346
3461
|
Companion_getInstance_16();
|
|
3347
3462
|
var containsUpper = 13;
|
|
3348
|
-
var containsArg = this.
|
|
3463
|
+
var containsArg = this.m2f_1;
|
|
3349
3464
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3350
3465
|
tmp = Suit_DIAMOND_getInstance();
|
|
3351
3466
|
} else {
|
|
3352
|
-
var tmp_0 = this.
|
|
3467
|
+
var tmp_0 = this.m2f_1;
|
|
3353
3468
|
Companion_getInstance_16();
|
|
3354
3469
|
if (tmp_0 <= imul(13, 2)) {
|
|
3355
3470
|
tmp = Suit_SPADE_getInstance();
|
|
3356
3471
|
} else {
|
|
3357
|
-
var tmp_1 = this.
|
|
3472
|
+
var tmp_1 = this.m2f_1;
|
|
3358
3473
|
Companion_getInstance_16();
|
|
3359
3474
|
if (tmp_1 <= imul(13, 3)) {
|
|
3360
3475
|
tmp = Suit_HEART_getInstance();
|
|
3361
3476
|
} else {
|
|
3362
|
-
var tmp_2 = this.
|
|
3477
|
+
var tmp_2 = this.m2f_1;
|
|
3363
3478
|
Companion_getInstance_16();
|
|
3364
3479
|
if (tmp_2 <= imul(13, 4)) {
|
|
3365
3480
|
tmp = Suit_CLUB_getInstance();
|
|
3366
3481
|
} else {
|
|
3367
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3482
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.m2f_1);
|
|
3368
3483
|
}
|
|
3369
3484
|
}
|
|
3370
3485
|
}
|
|
3371
3486
|
}
|
|
3372
3487
|
return tmp;
|
|
3373
3488
|
};
|
|
3374
|
-
GameCard.prototype.
|
|
3489
|
+
GameCard.prototype.a2h = function () {
|
|
3375
3490
|
var tmp;
|
|
3376
|
-
if (this.
|
|
3491
|
+
if (this.e2h()) {
|
|
3377
3492
|
Companion_getInstance_16();
|
|
3378
3493
|
tmp = -1;
|
|
3379
3494
|
} else {
|
|
3380
|
-
var tmp_0 = this.
|
|
3495
|
+
var tmp_0 = this.m2f_1;
|
|
3381
3496
|
Companion_getInstance_16();
|
|
3382
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3497
|
+
tmp = tmp_0 - imul(13, getIndex(this.b2h())) | 0;
|
|
3383
3498
|
}
|
|
3384
3499
|
return tmp;
|
|
3385
3500
|
};
|
|
3386
3501
|
GameCard.prototype.zf = function () {
|
|
3387
|
-
return this.
|
|
3502
|
+
return this.e2h() ? CardName_STUB_getInstance() : getName(Companion_getInstance_16(), this.a2h());
|
|
3388
3503
|
};
|
|
3389
|
-
GameCard.prototype.
|
|
3390
|
-
var tmp = this.
|
|
3504
|
+
GameCard.prototype.e2h = function () {
|
|
3505
|
+
var tmp = this.m2f_1;
|
|
3391
3506
|
Companion_getInstance_16();
|
|
3392
3507
|
return tmp >= 53;
|
|
3393
3508
|
};
|
|
@@ -3395,13 +3510,13 @@
|
|
|
3395
3510
|
if (_get_isShirt__vd98rp(this)) {
|
|
3396
3511
|
return 'GameCard(SHIRT)';
|
|
3397
3512
|
}
|
|
3398
|
-
if (this.
|
|
3399
|
-
return 'GameCard(STUB, ' + this.
|
|
3513
|
+
if (this.e2h()) {
|
|
3514
|
+
return 'GameCard(STUB, ' + this.m2f_1 + ')';
|
|
3400
3515
|
}
|
|
3401
|
-
return 'GameCard(' + this.zf() + ', suit: ' + this.
|
|
3516
|
+
return 'GameCard(' + this.zf() + ', suit: ' + this.b2h() + ', index=' + this.m2f_1 + ')';
|
|
3402
3517
|
};
|
|
3403
3518
|
GameCard.prototype.hashCode = function () {
|
|
3404
|
-
return this.
|
|
3519
|
+
return this.m2f_1;
|
|
3405
3520
|
};
|
|
3406
3521
|
GameCard.prototype.equals = function (other) {
|
|
3407
3522
|
if (this === other)
|
|
@@ -3409,23 +3524,23 @@
|
|
|
3409
3524
|
if (!(other instanceof GameCard))
|
|
3410
3525
|
return false;
|
|
3411
3526
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3412
|
-
if (!(this.
|
|
3527
|
+
if (!(this.m2f_1 === tmp0_other_with_cast.m2f_1))
|
|
3413
3528
|
return false;
|
|
3414
3529
|
return true;
|
|
3415
3530
|
};
|
|
3416
3531
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3417
|
-
this.
|
|
3418
|
-
this.
|
|
3532
|
+
this.n2f_1 = playerId;
|
|
3533
|
+
this.o2f_1 = gameCard;
|
|
3419
3534
|
}
|
|
3420
|
-
GameCardWIthPlayerId.prototype.
|
|
3421
|
-
return this.
|
|
3535
|
+
GameCardWIthPlayerId.prototype.w2c = function () {
|
|
3536
|
+
return this.n2f_1;
|
|
3422
3537
|
};
|
|
3423
3538
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3424
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3539
|
+
return 'GameCardWIthPlayerId(playerId=' + this.n2f_1 + ', gameCard=' + this.o2f_1 + ')';
|
|
3425
3540
|
};
|
|
3426
3541
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3427
|
-
var result = getStringHashCode(this.
|
|
3428
|
-
result = imul(result, 31) + this.
|
|
3542
|
+
var result = getStringHashCode(this.n2f_1);
|
|
3543
|
+
result = imul(result, 31) + this.o2f_1.hashCode() | 0;
|
|
3429
3544
|
return result;
|
|
3430
3545
|
};
|
|
3431
3546
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3434,28 +3549,28 @@
|
|
|
3434
3549
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3435
3550
|
return false;
|
|
3436
3551
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3437
|
-
if (!(this.
|
|
3552
|
+
if (!(this.n2f_1 === tmp0_other_with_cast.n2f_1))
|
|
3438
3553
|
return false;
|
|
3439
|
-
if (!this.
|
|
3554
|
+
if (!this.o2f_1.equals(tmp0_other_with_cast.o2f_1))
|
|
3440
3555
|
return false;
|
|
3441
3556
|
return true;
|
|
3442
3557
|
};
|
|
3443
3558
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
3444
3559
|
configurable: true,
|
|
3445
3560
|
get: function () {
|
|
3446
|
-
return this.
|
|
3561
|
+
return this.w2c();
|
|
3447
3562
|
}
|
|
3448
3563
|
});
|
|
3449
3564
|
function ProcessingCard(gameCard, payload) {
|
|
3450
|
-
this.
|
|
3451
|
-
this.
|
|
3565
|
+
this.l2h_1 = gameCard;
|
|
3566
|
+
this.m2h_1 = payload;
|
|
3452
3567
|
}
|
|
3453
3568
|
ProcessingCard.prototype.toString = function () {
|
|
3454
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3569
|
+
return 'ProcessingCard(gameCard=' + this.l2h_1 + ', payload=' + this.m2h_1 + ')';
|
|
3455
3570
|
};
|
|
3456
3571
|
ProcessingCard.prototype.hashCode = function () {
|
|
3457
|
-
var result = this.
|
|
3458
|
-
result = imul(result, 31) + (this.
|
|
3572
|
+
var result = this.l2h_1.hashCode();
|
|
3573
|
+
result = imul(result, 31) + (this.m2h_1 == null ? 0 : hashCode(this.m2h_1)) | 0;
|
|
3459
3574
|
return result;
|
|
3460
3575
|
};
|
|
3461
3576
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3464,9 +3579,9 @@
|
|
|
3464
3579
|
if (!(other instanceof ProcessingCard))
|
|
3465
3580
|
return false;
|
|
3466
3581
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3467
|
-
if (!this.
|
|
3582
|
+
if (!this.l2h_1.equals(tmp0_other_with_cast.l2h_1))
|
|
3468
3583
|
return false;
|
|
3469
|
-
if (!equals(this.
|
|
3584
|
+
if (!equals(this.m2h_1, tmp0_other_with_cast.m2h_1))
|
|
3470
3585
|
return false;
|
|
3471
3586
|
return true;
|
|
3472
3587
|
};
|
|
@@ -3481,10 +3596,10 @@
|
|
|
3481
3596
|
Companion_instance_17 = this;
|
|
3482
3597
|
var tmp = this;
|
|
3483
3598
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3484
|
-
tmp.
|
|
3599
|
+
tmp.n2h_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3485
3600
|
}
|
|
3486
3601
|
Companion_17.prototype.l1w = function () {
|
|
3487
|
-
return this.
|
|
3602
|
+
return this.n2h_1.j1();
|
|
3488
3603
|
};
|
|
3489
3604
|
Companion_17.prototype.b1l = function (typeParamsSerializers) {
|
|
3490
3605
|
return this.l1w();
|
|
@@ -3553,81 +3668,81 @@
|
|
|
3553
3668
|
return tmp;
|
|
3554
3669
|
}
|
|
3555
3670
|
function _no_name_provided__qut3iv($logger) {
|
|
3556
|
-
this.
|
|
3671
|
+
this.p2h_1 = $logger;
|
|
3557
3672
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3558
3673
|
}
|
|
3559
3674
|
_no_name_provided__qut3iv.prototype.vm = function (context, exception) {
|
|
3560
3675
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3561
|
-
return this.
|
|
3676
|
+
return this.p2h_1.q2h('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3562
3677
|
};
|
|
3563
3678
|
function AsyncProviderImpl(logger) {
|
|
3564
3679
|
var tmp = this;
|
|
3565
|
-
tmp.
|
|
3680
|
+
tmp.r2h_1 = Job$default(null, 1, null);
|
|
3566
3681
|
var tmp_0 = this;
|
|
3567
3682
|
var tmp$ret$0;
|
|
3568
3683
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3569
3684
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3570
|
-
tmp_0.
|
|
3571
|
-
this.
|
|
3572
|
-
this.
|
|
3685
|
+
tmp_0.s2h_1 = tmp$ret$0;
|
|
3686
|
+
this.t2h_1 = CoroutineScope(Dispatchers_getInstance().vq().h4(this.r2h_1));
|
|
3687
|
+
this.u2h_1 = CoroutineScope(Dispatchers_getInstance().rq_1.h4(this.r2h_1));
|
|
3573
3688
|
}
|
|
3574
|
-
AsyncProviderImpl.prototype.
|
|
3575
|
-
return this.
|
|
3689
|
+
AsyncProviderImpl.prototype.v2h = function () {
|
|
3690
|
+
return this.s2h_1;
|
|
3576
3691
|
};
|
|
3577
|
-
AsyncProviderImpl.prototype.
|
|
3578
|
-
return launch$default(this.
|
|
3692
|
+
AsyncProviderImpl.prototype.w2h = function (context, block) {
|
|
3693
|
+
return launch$default(this.t2h_1, context, null, block, 2, null);
|
|
3579
3694
|
};
|
|
3580
|
-
AsyncProviderImpl.prototype.
|
|
3581
|
-
return launch$default(this.
|
|
3695
|
+
AsyncProviderImpl.prototype.y2h = function (context, block) {
|
|
3696
|
+
return launch$default(this.u2h_1, context, null, block, 2, null);
|
|
3582
3697
|
};
|
|
3583
3698
|
AsyncProviderImpl.prototype.nk = function () {
|
|
3584
|
-
if (!this.
|
|
3585
|
-
this.
|
|
3699
|
+
if (!this.r2h_1.np()) {
|
|
3700
|
+
this.r2h_1.lj(null, 1, null);
|
|
3586
3701
|
}
|
|
3587
3702
|
};
|
|
3588
3703
|
function AsyncProvider() {
|
|
3589
3704
|
}
|
|
3590
3705
|
function UUIDIdsProvider() {
|
|
3591
3706
|
}
|
|
3592
|
-
UUIDIdsProvider.prototype.
|
|
3707
|
+
UUIDIdsProvider.prototype.a2i = function () {
|
|
3593
3708
|
return uuid4().toString();
|
|
3594
3709
|
};
|
|
3595
3710
|
function IdsProvider() {
|
|
3596
3711
|
}
|
|
3597
3712
|
function JobsProviderImpl(logger) {
|
|
3598
|
-
this.
|
|
3713
|
+
this.b2i_1 = logger;
|
|
3599
3714
|
var tmp = this;
|
|
3600
3715
|
var tmp$ret$0;
|
|
3601
3716
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3602
3717
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3603
|
-
tmp.
|
|
3718
|
+
tmp.c2i_1 = tmp$ret$0;
|
|
3604
3719
|
}
|
|
3605
|
-
JobsProviderImpl.prototype.
|
|
3606
|
-
if (this.
|
|
3720
|
+
JobsProviderImpl.prototype.d2i = function (timerTag, job) {
|
|
3721
|
+
if (this.f2i(timerTag)) {
|
|
3607
3722
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3608
|
-
this.
|
|
3723
|
+
this.b2i_1.e2i(null, tmp, null, 5, null);
|
|
3609
3724
|
}
|
|
3610
3725
|
// Inline function 'kotlin.collections.set' call
|
|
3611
|
-
var tmp0_set = this.
|
|
3726
|
+
var tmp0_set = this.c2i_1;
|
|
3612
3727
|
tmp0_set.w2(timerTag, job);
|
|
3613
3728
|
};
|
|
3614
|
-
JobsProviderImpl.prototype.
|
|
3615
|
-
return this.
|
|
3729
|
+
JobsProviderImpl.prototype.f2i = function (timerTag) {
|
|
3730
|
+
return this.c2i_1.q1(timerTag);
|
|
3616
3731
|
};
|
|
3617
|
-
JobsProviderImpl.prototype.
|
|
3618
|
-
if (!this.
|
|
3732
|
+
JobsProviderImpl.prototype.g2i = function (timerTag) {
|
|
3733
|
+
if (!this.f2i(timerTag)) {
|
|
3619
3734
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3620
|
-
this.
|
|
3735
|
+
this.b2i_1.e2i(null, tmp, null, 5, null);
|
|
3621
3736
|
}
|
|
3622
|
-
this.
|
|
3737
|
+
this.c2i_1.sb(timerTag);
|
|
3623
3738
|
};
|
|
3624
|
-
JobsProviderImpl.prototype.
|
|
3739
|
+
JobsProviderImpl.prototype.h2i = function (timers) {
|
|
3625
3740
|
// Inline function 'kotlin.collections.forEach' call
|
|
3626
3741
|
var tmp0_iterator = timers.g();
|
|
3627
3742
|
while (tmp0_iterator.h()) {
|
|
3628
3743
|
var element = tmp0_iterator.i();
|
|
3629
3744
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3630
|
-
var timer = this.
|
|
3745
|
+
var timer = this.c2i_1.t1(element);
|
|
3631
3746
|
var tmp0_safe_receiver = timer;
|
|
3632
3747
|
if (tmp0_safe_receiver == null)
|
|
3633
3748
|
null;
|
|
@@ -3635,11 +3750,11 @@
|
|
|
3635
3750
|
tmp0_safe_receiver.lj(null, 1, null);
|
|
3636
3751
|
}
|
|
3637
3752
|
}
|
|
3638
|
-
this.
|
|
3753
|
+
this.c2i_1.u1().qa(toSet(timers));
|
|
3639
3754
|
};
|
|
3640
|
-
JobsProviderImpl.prototype.
|
|
3641
|
-
var timer = this.
|
|
3642
|
-
this.
|
|
3755
|
+
JobsProviderImpl.prototype.i2i = function (timerTag) {
|
|
3756
|
+
var timer = this.c2i_1.t1(timerTag);
|
|
3757
|
+
this.c2i_1.sb(timerTag);
|
|
3643
3758
|
var tmp0_safe_receiver = timer;
|
|
3644
3759
|
if (tmp0_safe_receiver == null)
|
|
3645
3760
|
null;
|
|
@@ -3793,10 +3908,10 @@
|
|
|
3793
3908
|
}
|
|
3794
3909
|
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3795
3910
|
try {
|
|
3796
|
-
currentState.fy(currentReducer._v.
|
|
3911
|
+
currentState.fy(currentReducer._v.j2i(currentState.j1(), action));
|
|
3797
3912
|
} catch ($p) {
|
|
3798
3913
|
if ($p instanceof Exception) {
|
|
3799
|
-
$logger.
|
|
3914
|
+
$logger.q2h('createStore.dispatch', null, $p, null, 10, null);
|
|
3800
3915
|
} else {
|
|
3801
3916
|
throw $p;
|
|
3802
3917
|
}
|
|
@@ -3828,46 +3943,46 @@
|
|
|
3828
3943
|
return l;
|
|
3829
3944
|
}
|
|
3830
3945
|
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3831
|
-
this.
|
|
3946
|
+
this.m2i_1 = $currentState;
|
|
3832
3947
|
var tmp = this;
|
|
3833
|
-
tmp.
|
|
3948
|
+
tmp.k2i_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3834
3949
|
var tmp_0 = this;
|
|
3835
|
-
tmp_0.
|
|
3950
|
+
tmp_0.l2i_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3836
3951
|
}
|
|
3837
|
-
createStore$2.prototype.
|
|
3838
|
-
this.
|
|
3952
|
+
createStore$2.prototype.n2i = function (_set____db54di) {
|
|
3953
|
+
this.k2i_1 = _set____db54di;
|
|
3839
3954
|
};
|
|
3840
|
-
createStore$2.prototype.
|
|
3841
|
-
return this.
|
|
3955
|
+
createStore$2.prototype.o2i = function () {
|
|
3956
|
+
return this.k2i_1;
|
|
3842
3957
|
};
|
|
3843
|
-
createStore$2.prototype.
|
|
3844
|
-
return this.
|
|
3958
|
+
createStore$2.prototype.p2i = function () {
|
|
3959
|
+
return this.m2i_1;
|
|
3845
3960
|
};
|
|
3846
|
-
createStore$2.prototype.
|
|
3847
|
-
return this.
|
|
3961
|
+
createStore$2.prototype.q2i = function () {
|
|
3962
|
+
return this.l2i_1;
|
|
3848
3963
|
};
|
|
3849
3964
|
createStore$2.prototype.xi = function () {
|
|
3850
|
-
return this.
|
|
3965
|
+
return this.m2i_1.j1();
|
|
3851
3966
|
};
|
|
3852
3967
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3853
3968
|
configurable: true,
|
|
3854
3969
|
get: function () {
|
|
3855
|
-
return this.
|
|
3970
|
+
return this.o2i();
|
|
3856
3971
|
},
|
|
3857
3972
|
set: function (value) {
|
|
3858
|
-
this.
|
|
3973
|
+
this.n2i(value);
|
|
3859
3974
|
}
|
|
3860
3975
|
});
|
|
3861
3976
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3862
3977
|
configurable: true,
|
|
3863
3978
|
get: function () {
|
|
3864
|
-
return this.
|
|
3979
|
+
return this.p2i();
|
|
3865
3980
|
}
|
|
3866
3981
|
});
|
|
3867
3982
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3868
3983
|
configurable: true,
|
|
3869
3984
|
get: function () {
|
|
3870
|
-
return this.
|
|
3985
|
+
return this.q2i();
|
|
3871
3986
|
}
|
|
3872
3987
|
});
|
|
3873
3988
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3900,10 +4015,10 @@
|
|
|
3900
4015
|
return new middleware$1(dispatch);
|
|
3901
4016
|
}
|
|
3902
4017
|
function middleware$1($dispatch) {
|
|
3903
|
-
this.
|
|
4018
|
+
this.u2i_1 = $dispatch;
|
|
3904
4019
|
}
|
|
3905
|
-
middleware$1.prototype.
|
|
3906
|
-
this.
|
|
4020
|
+
middleware$1.prototype.t2i = function (store, next, action) {
|
|
4021
|
+
this.u2i_1(store, next, action);
|
|
3907
4022
|
};
|
|
3908
4023
|
function Reducer() {
|
|
3909
4024
|
}
|
|
@@ -3911,9 +4026,9 @@
|
|
|
3911
4026
|
return new combineReducers$1(reducers);
|
|
3912
4027
|
}
|
|
3913
4028
|
function combineReducers$1($reducers) {
|
|
3914
|
-
this.
|
|
4029
|
+
this.v2i_1 = $reducers;
|
|
3915
4030
|
}
|
|
3916
|
-
combineReducers$1.prototype.
|
|
4031
|
+
combineReducers$1.prototype.w2i = function (state, action) {
|
|
3917
4032
|
var tmp$ret$4;
|
|
3918
4033
|
// Inline function 'kotlin.collections.fold' call
|
|
3919
4034
|
var tmp$ret$2;
|
|
@@ -3921,7 +4036,7 @@
|
|
|
3921
4036
|
var tmp$ret$1;
|
|
3922
4037
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3923
4038
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3924
|
-
var indexedObject = this.
|
|
4039
|
+
var indexedObject = this.v2i_1;
|
|
3925
4040
|
var inductionVariable = 0;
|
|
3926
4041
|
var last = indexedObject.length;
|
|
3927
4042
|
while (inductionVariable < last) {
|
|
@@ -3929,7 +4044,7 @@
|
|
|
3929
4044
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3930
4045
|
var tmp$ret$0;
|
|
3931
4046
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3932
|
-
tmp$ret$0 = element.
|
|
4047
|
+
tmp$ret$0 = element.s2i(action);
|
|
3933
4048
|
if (tmp$ret$0) {
|
|
3934
4049
|
tmp0_filterTo.a(element);
|
|
3935
4050
|
}
|
|
@@ -3944,14 +4059,14 @@
|
|
|
3944
4059
|
var tmp$ret$3;
|
|
3945
4060
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3946
4061
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3947
|
-
tmp$ret$3 = element_0.
|
|
4062
|
+
tmp$ret$3 = element_0.j2i(tmp1__anonymous__uwfjfc, action);
|
|
3948
4063
|
accumulator = tmp$ret$3;
|
|
3949
4064
|
}
|
|
3950
4065
|
tmp$ret$4 = accumulator;
|
|
3951
4066
|
return tmp$ret$4;
|
|
3952
4067
|
};
|
|
3953
|
-
combineReducers$1.prototype.
|
|
3954
|
-
return this.
|
|
4068
|
+
combineReducers$1.prototype.j2i = function (state, action) {
|
|
4069
|
+
return this.w2i((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3955
4070
|
};
|
|
3956
4071
|
function Store() {
|
|
3957
4072
|
}
|
|
@@ -3962,7 +4077,7 @@
|
|
|
3962
4077
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3963
4078
|
configurable: true,
|
|
3964
4079
|
get: function () {
|
|
3965
|
-
return this.
|
|
4080
|
+
return this.r2i();
|
|
3966
4081
|
}
|
|
3967
4082
|
});
|
|
3968
4083
|
var INIT_instance;
|
|
@@ -3978,7 +4093,7 @@
|
|
|
3978
4093
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3979
4094
|
configurable: true,
|
|
3980
4095
|
get: function () {
|
|
3981
|
-
return this.
|
|
4096
|
+
return this.r2i();
|
|
3982
4097
|
}
|
|
3983
4098
|
});
|
|
3984
4099
|
var REPLACE_instance;
|
|
@@ -3992,7 +4107,7 @@
|
|
|
3992
4107
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3993
4108
|
configurable: true,
|
|
3994
4109
|
get: function () {
|
|
3995
|
-
return this.
|
|
4110
|
+
return this.r2i();
|
|
3996
4111
|
}
|
|
3997
4112
|
});
|
|
3998
4113
|
function BufferedAction() {
|
|
@@ -4003,16 +4118,16 @@
|
|
|
4003
4118
|
}
|
|
4004
4119
|
function StopTimerAction(timerTag) {
|
|
4005
4120
|
TimerAction.call(this);
|
|
4006
|
-
this.
|
|
4121
|
+
this.y2i_1 = timerTag;
|
|
4007
4122
|
}
|
|
4008
|
-
StopTimerAction.prototype.
|
|
4009
|
-
return this.
|
|
4123
|
+
StopTimerAction.prototype.z2i = function () {
|
|
4124
|
+
return this.y2i_1;
|
|
4010
4125
|
};
|
|
4011
4126
|
StopTimerAction.prototype.toString = function () {
|
|
4012
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4127
|
+
return 'StopTimerAction(timerTag=' + this.y2i_1 + ')';
|
|
4013
4128
|
};
|
|
4014
4129
|
StopTimerAction.prototype.hashCode = function () {
|
|
4015
|
-
return hashCode(this.
|
|
4130
|
+
return hashCode(this.y2i_1);
|
|
4016
4131
|
};
|
|
4017
4132
|
StopTimerAction.prototype.equals = function (other) {
|
|
4018
4133
|
if (this === other)
|
|
@@ -4020,14 +4135,14 @@
|
|
|
4020
4135
|
if (!(other instanceof StopTimerAction))
|
|
4021
4136
|
return false;
|
|
4022
4137
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4023
|
-
if (!equals(this.
|
|
4138
|
+
if (!equals(this.y2i_1, tmp0_other_with_cast.y2i_1))
|
|
4024
4139
|
return false;
|
|
4025
4140
|
return true;
|
|
4026
4141
|
};
|
|
4027
4142
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
4028
4143
|
configurable: true,
|
|
4029
4144
|
get: function () {
|
|
4030
|
-
return this.
|
|
4145
|
+
return this.r2i();
|
|
4031
4146
|
}
|
|
4032
4147
|
});
|
|
4033
4148
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -4043,22 +4158,22 @@
|
|
|
4043
4158
|
}
|
|
4044
4159
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
4045
4160
|
TimerAction.call(this);
|
|
4046
|
-
this.
|
|
4047
|
-
this.
|
|
4048
|
-
this.
|
|
4049
|
-
this.
|
|
4161
|
+
this.a2j_1 = timerTag;
|
|
4162
|
+
this.b2j_1 = delayMillis;
|
|
4163
|
+
this.c2j_1 = initialDelay;
|
|
4164
|
+
this.d2j_1 = type;
|
|
4050
4165
|
}
|
|
4051
|
-
StartTimerAction.prototype.
|
|
4052
|
-
return this.
|
|
4166
|
+
StartTimerAction.prototype.z2i = function () {
|
|
4167
|
+
return this.a2j_1;
|
|
4053
4168
|
};
|
|
4054
4169
|
StartTimerAction.prototype.toString = function () {
|
|
4055
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4170
|
+
return 'StartTimerAction(timerTag=' + this.a2j_1 + ', delayMillis=' + toString_0(this.b2j_1) + ', initialDelay=' + toString_0(this.c2j_1) + ', type=' + this.d2j_1 + ')';
|
|
4056
4171
|
};
|
|
4057
4172
|
StartTimerAction.prototype.hashCode = function () {
|
|
4058
|
-
var result = hashCode(this.
|
|
4059
|
-
result = imul(result, 31) + this.
|
|
4060
|
-
result = imul(result, 31) + this.
|
|
4061
|
-
result = imul(result, 31) + this.
|
|
4173
|
+
var result = hashCode(this.a2j_1);
|
|
4174
|
+
result = imul(result, 31) + this.b2j_1.hashCode() | 0;
|
|
4175
|
+
result = imul(result, 31) + this.c2j_1.hashCode() | 0;
|
|
4176
|
+
result = imul(result, 31) + this.d2j_1.hashCode() | 0;
|
|
4062
4177
|
return result;
|
|
4063
4178
|
};
|
|
4064
4179
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -4067,20 +4182,20 @@
|
|
|
4067
4182
|
if (!(other instanceof StartTimerAction))
|
|
4068
4183
|
return false;
|
|
4069
4184
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4070
|
-
if (!equals(this.
|
|
4185
|
+
if (!equals(this.a2j_1, tmp0_other_with_cast.a2j_1))
|
|
4071
4186
|
return false;
|
|
4072
|
-
if (!this.
|
|
4187
|
+
if (!this.b2j_1.equals(tmp0_other_with_cast.b2j_1))
|
|
4073
4188
|
return false;
|
|
4074
|
-
if (!this.
|
|
4189
|
+
if (!this.c2j_1.equals(tmp0_other_with_cast.c2j_1))
|
|
4075
4190
|
return false;
|
|
4076
|
-
if (!this.
|
|
4191
|
+
if (!this.d2j_1.equals(tmp0_other_with_cast.d2j_1))
|
|
4077
4192
|
return false;
|
|
4078
4193
|
return true;
|
|
4079
4194
|
};
|
|
4080
4195
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4081
4196
|
configurable: true,
|
|
4082
4197
|
get: function () {
|
|
4083
|
-
return this.
|
|
4198
|
+
return this.r2i();
|
|
4084
4199
|
}
|
|
4085
4200
|
});
|
|
4086
4201
|
var TimerType_DELAY_instance;
|
|
@@ -4098,21 +4213,21 @@
|
|
|
4098
4213
|
}
|
|
4099
4214
|
function TimerTickAction(timerTag, type) {
|
|
4100
4215
|
TimerAction.call(this);
|
|
4101
|
-
this.
|
|
4102
|
-
this.
|
|
4216
|
+
this.e2j_1 = timerTag;
|
|
4217
|
+
this.f2j_1 = type;
|
|
4103
4218
|
}
|
|
4104
|
-
TimerTickAction.prototype.
|
|
4105
|
-
return this.
|
|
4219
|
+
TimerTickAction.prototype.z2i = function () {
|
|
4220
|
+
return this.e2j_1;
|
|
4106
4221
|
};
|
|
4107
4222
|
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4108
|
-
return this.
|
|
4223
|
+
return this.e2j_1.notValidateWhenFinished();
|
|
4109
4224
|
};
|
|
4110
4225
|
TimerTickAction.prototype.toString = function () {
|
|
4111
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4226
|
+
return 'TimerTickAction(timerTag=' + this.e2j_1 + ', type=' + this.f2j_1 + ')';
|
|
4112
4227
|
};
|
|
4113
4228
|
TimerTickAction.prototype.hashCode = function () {
|
|
4114
|
-
var result = hashCode(this.
|
|
4115
|
-
result = imul(result, 31) + this.
|
|
4229
|
+
var result = hashCode(this.e2j_1);
|
|
4230
|
+
result = imul(result, 31) + this.f2j_1.hashCode() | 0;
|
|
4116
4231
|
return result;
|
|
4117
4232
|
};
|
|
4118
4233
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4121,16 +4236,16 @@
|
|
|
4121
4236
|
if (!(other instanceof TimerTickAction))
|
|
4122
4237
|
return false;
|
|
4123
4238
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4124
|
-
if (!equals(this.
|
|
4239
|
+
if (!equals(this.e2j_1, tmp0_other_with_cast.e2j_1))
|
|
4125
4240
|
return false;
|
|
4126
|
-
if (!this.
|
|
4241
|
+
if (!this.f2j_1.equals(tmp0_other_with_cast.f2j_1))
|
|
4127
4242
|
return false;
|
|
4128
4243
|
return true;
|
|
4129
4244
|
};
|
|
4130
4245
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4131
4246
|
configurable: true,
|
|
4132
4247
|
get: function () {
|
|
4133
|
-
return this.
|
|
4248
|
+
return this.r2i();
|
|
4134
4249
|
}
|
|
4135
4250
|
});
|
|
4136
4251
|
function TimerAction() {
|
|
@@ -4138,7 +4253,7 @@
|
|
|
4138
4253
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4139
4254
|
configurable: true,
|
|
4140
4255
|
get: function () {
|
|
4141
|
-
return this.
|
|
4256
|
+
return this.r2i();
|
|
4142
4257
|
}
|
|
4143
4258
|
});
|
|
4144
4259
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4165,7 +4280,7 @@
|
|
|
4165
4280
|
var tmp_0;
|
|
4166
4281
|
if ($p instanceof Exception) {
|
|
4167
4282
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4168
|
-
$logger.
|
|
4283
|
+
$logger.q2h('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4169
4284
|
tmp_0 = Unit_getInstance();
|
|
4170
4285
|
} else {
|
|
4171
4286
|
throw $p;
|
|
@@ -4193,7 +4308,7 @@
|
|
|
4193
4308
|
}
|
|
4194
4309
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4195
4310
|
return function (action) {
|
|
4196
|
-
$tmp0__anonymous__1nv1x1.
|
|
4311
|
+
$tmp0__anonymous__1nv1x1.t2i($store, $tmp1__anonymous__6ijp4k, action);
|
|
4197
4312
|
return Unit_getInstance();
|
|
4198
4313
|
};
|
|
4199
4314
|
}
|
|
@@ -4212,7 +4327,7 @@
|
|
|
4212
4327
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4213
4328
|
var tmp$ret$0;
|
|
4214
4329
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4215
|
-
tmp$ret$0 = element.
|
|
4330
|
+
tmp$ret$0 = element.s2i(action);
|
|
4216
4331
|
if (tmp$ret$0) {
|
|
4217
4332
|
tmp0_filterTo.a(element);
|
|
4218
4333
|
}
|
|
@@ -4260,9 +4375,9 @@
|
|
|
4260
4375
|
return tmp$ret$0;
|
|
4261
4376
|
}
|
|
4262
4377
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4263
|
-
this.
|
|
4264
|
-
this.
|
|
4265
|
-
this.
|
|
4378
|
+
this.o2j_1 = $jobsProvider;
|
|
4379
|
+
this.p2j_1 = $tmp0__anonymous__1nv1x1;
|
|
4380
|
+
this.q2j_1 = $store;
|
|
4266
4381
|
CoroutineImpl.call(this, resultContinuation);
|
|
4267
4382
|
}
|
|
4268
4383
|
timerMiddleware$o$handle$slambda$slambda.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4281,8 +4396,8 @@
|
|
|
4281
4396
|
var tmp = this.xg_1;
|
|
4282
4397
|
if (tmp === 0) {
|
|
4283
4398
|
this.yg_1 = 1;
|
|
4284
|
-
if (this.
|
|
4285
|
-
this.
|
|
4399
|
+
if (this.o2j_1.f2i(this.p2j_1.z2i())) {
|
|
4400
|
+
this.q2j_1.dispatch(new TimerTickAction(this.p2j_1.z2i(), TimerType_DELAY_getInstance()));
|
|
4286
4401
|
}
|
|
4287
4402
|
return Unit_getInstance();
|
|
4288
4403
|
} else if (tmp === 1) {
|
|
@@ -4294,8 +4409,8 @@
|
|
|
4294
4409
|
while (true);
|
|
4295
4410
|
};
|
|
4296
4411
|
timerMiddleware$o$handle$slambda$slambda.prototype.l12 = function ($this$launchStore, completion) {
|
|
4297
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4298
|
-
i.
|
|
4412
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.o2j_1, this.p2j_1, this.q2j_1, completion);
|
|
4413
|
+
i.r2j_1 = $this$launchStore;
|
|
4299
4414
|
return i;
|
|
4300
4415
|
};
|
|
4301
4416
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4307,9 +4422,9 @@
|
|
|
4307
4422
|
return l;
|
|
4308
4423
|
}
|
|
4309
4424
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4310
|
-
this.
|
|
4311
|
-
this.
|
|
4312
|
-
this.
|
|
4425
|
+
this.a2k_1 = $jobsProvider;
|
|
4426
|
+
this.b2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4427
|
+
this.c2k_1 = $store;
|
|
4313
4428
|
CoroutineImpl.call(this, resultContinuation);
|
|
4314
4429
|
}
|
|
4315
4430
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4328,8 +4443,8 @@
|
|
|
4328
4443
|
var tmp = this.xg_1;
|
|
4329
4444
|
if (tmp === 0) {
|
|
4330
4445
|
this.yg_1 = 1;
|
|
4331
|
-
if (this.
|
|
4332
|
-
this.
|
|
4446
|
+
if (this.a2k_1.f2i(this.b2k_1.z2i())) {
|
|
4447
|
+
this.c2k_1.dispatch(new TimerTickAction(this.b2k_1.z2i(), TimerType_INTERVAL_getInstance()));
|
|
4333
4448
|
}
|
|
4334
4449
|
return Unit_getInstance();
|
|
4335
4450
|
} else if (tmp === 1) {
|
|
@@ -4341,8 +4456,8 @@
|
|
|
4341
4456
|
while (true);
|
|
4342
4457
|
};
|
|
4343
4458
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.l12 = function ($this$launchStore, completion) {
|
|
4344
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4345
|
-
i.
|
|
4459
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.a2k_1, this.b2k_1, this.c2k_1, completion);
|
|
4460
|
+
i.d2k_1 = $this$launchStore;
|
|
4346
4461
|
return i;
|
|
4347
4462
|
};
|
|
4348
4463
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4354,10 +4469,10 @@
|
|
|
4354
4469
|
return l;
|
|
4355
4470
|
}
|
|
4356
4471
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4357
|
-
this.
|
|
4358
|
-
this.
|
|
4359
|
-
this.
|
|
4360
|
-
this.
|
|
4472
|
+
this.m2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4473
|
+
this.n2k_1 = $asyncProvider;
|
|
4474
|
+
this.o2k_1 = $jobsProvider;
|
|
4475
|
+
this.p2k_1 = $store;
|
|
4361
4476
|
CoroutineImpl.call(this, resultContinuation);
|
|
4362
4477
|
}
|
|
4363
4478
|
timerMiddleware$o$handle$slambda.prototype.k12 = function ($this$launchWorker, $cont) {
|
|
@@ -4377,9 +4492,9 @@
|
|
|
4377
4492
|
switch (tmp) {
|
|
4378
4493
|
case 0:
|
|
4379
4494
|
this.yg_1 = 10;
|
|
4380
|
-
if (!this.
|
|
4495
|
+
if (!this.m2k_1.c2j_1.equals(new Long(0, 0)) ? this.m2k_1.d2j_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4381
4496
|
this.xg_1 = 1;
|
|
4382
|
-
suspendResult = delay(this.
|
|
4497
|
+
suspendResult = delay(this.m2k_1.c2j_1, this);
|
|
4383
4498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4384
4499
|
return suspendResult;
|
|
4385
4500
|
}
|
|
@@ -4394,20 +4509,20 @@
|
|
|
4394
4509
|
this.xg_1 = 2;
|
|
4395
4510
|
continue $sm;
|
|
4396
4511
|
case 2:
|
|
4397
|
-
this.
|
|
4398
|
-
this.
|
|
4399
|
-
if (this.
|
|
4512
|
+
this.r2k_1 = this.m2k_1.d2j_1;
|
|
4513
|
+
this.s2k_1 = this.r2k_1.n4_1;
|
|
4514
|
+
if (this.s2k_1 === 0) {
|
|
4400
4515
|
this.xg_1 = 8;
|
|
4401
|
-
suspendResult = delay(this.
|
|
4516
|
+
suspendResult = delay(this.m2k_1.b2j_1, this);
|
|
4402
4517
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4403
4518
|
return suspendResult;
|
|
4404
4519
|
}
|
|
4405
4520
|
continue $sm;
|
|
4406
4521
|
} else {
|
|
4407
|
-
if (this.
|
|
4408
|
-
if (!this.
|
|
4522
|
+
if (this.s2k_1 === 1) {
|
|
4523
|
+
if (!this.m2k_1.c2j_1.equals(new Long(0, 0))) {
|
|
4409
4524
|
this.xg_1 = 3;
|
|
4410
|
-
suspendResult = delay(this.
|
|
4525
|
+
suspendResult = delay(this.m2k_1.c2j_1, this);
|
|
4411
4526
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4412
4527
|
return suspendResult;
|
|
4413
4528
|
}
|
|
@@ -4430,15 +4545,15 @@
|
|
|
4430
4545
|
this.xg_1 = 5;
|
|
4431
4546
|
continue $sm;
|
|
4432
4547
|
case 5:
|
|
4433
|
-
if (!get_isActive(this.
|
|
4548
|
+
if (!get_isActive(this.q2k_1)) {
|
|
4434
4549
|
this.xg_1 = 7;
|
|
4435
4550
|
continue $sm;
|
|
4436
4551
|
}
|
|
4437
4552
|
|
|
4438
|
-
this.
|
|
4553
|
+
this.n2k_1.x2h(null, timerMiddleware$o$handle$slambda$slambda_2(this.o2k_1, this.m2k_1, this.p2k_1, null), 1, null);
|
|
4439
4554
|
;
|
|
4440
4555
|
this.xg_1 = 6;
|
|
4441
|
-
suspendResult = delay(this.
|
|
4556
|
+
suspendResult = delay(this.m2k_1.c2j_1, this);
|
|
4442
4557
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4443
4558
|
return suspendResult;
|
|
4444
4559
|
}
|
|
@@ -4451,7 +4566,7 @@
|
|
|
4451
4566
|
this.xg_1 = 9;
|
|
4452
4567
|
continue $sm;
|
|
4453
4568
|
case 8:
|
|
4454
|
-
this.
|
|
4569
|
+
this.n2k_1.x2h(null, timerMiddleware$o$handle$slambda$slambda_0(this.o2k_1, this.m2k_1, this.p2k_1, null), 1, null);
|
|
4455
4570
|
;
|
|
4456
4571
|
this.xg_1 = 9;
|
|
4457
4572
|
continue $sm;
|
|
@@ -4471,8 +4586,8 @@
|
|
|
4471
4586
|
while (true);
|
|
4472
4587
|
};
|
|
4473
4588
|
timerMiddleware$o$handle$slambda.prototype.l12 = function ($this$launchWorker, completion) {
|
|
4474
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4475
|
-
i.
|
|
4589
|
+
var i = new timerMiddleware$o$handle$slambda(this.m2k_1, this.n2k_1, this.o2k_1, this.p2k_1, completion);
|
|
4590
|
+
i.q2k_1 = $this$launchWorker;
|
|
4476
4591
|
return i;
|
|
4477
4592
|
};
|
|
4478
4593
|
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -4484,34 +4599,34 @@
|
|
|
4484
4599
|
return l;
|
|
4485
4600
|
}
|
|
4486
4601
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4487
|
-
this.
|
|
4488
|
-
this.
|
|
4602
|
+
this.t2k_1 = $asyncProvider;
|
|
4603
|
+
this.u2k_1 = $jobsProvider;
|
|
4489
4604
|
}
|
|
4490
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4605
|
+
_no_name_provided__qut3iv_0.prototype.s2i = function (action) {
|
|
4491
4606
|
return action instanceof TimerAction;
|
|
4492
4607
|
};
|
|
4493
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4608
|
+
_no_name_provided__qut3iv_0.prototype.v2k = function (store, next, action) {
|
|
4494
4609
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4495
4610
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4496
4611
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4497
4612
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4498
|
-
var job = this.
|
|
4499
|
-
this.
|
|
4613
|
+
var job = this.t2k_1.z2h(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.t2k_1, this.u2k_1, store, null), 1, null);
|
|
4614
|
+
this.u2k_1.d2i(tmp0__anonymous__q1qw7t.z2i(), job);
|
|
4500
4615
|
} else {
|
|
4501
4616
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4502
|
-
this.
|
|
4617
|
+
this.u2k_1.i2i(tmp0__anonymous__q1qw7t.z2i());
|
|
4503
4618
|
} else {
|
|
4504
4619
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4505
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4506
|
-
this.
|
|
4620
|
+
if (tmp0__anonymous__q1qw7t.f2j_1.equals(TimerType_DELAY_getInstance())) {
|
|
4621
|
+
this.u2k_1.g2i(tmp0__anonymous__q1qw7t.z2i());
|
|
4507
4622
|
}
|
|
4508
4623
|
}
|
|
4509
4624
|
}
|
|
4510
4625
|
}
|
|
4511
4626
|
next(tmp0__anonymous__q1qw7t);
|
|
4512
4627
|
};
|
|
4513
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4514
|
-
return this.
|
|
4628
|
+
_no_name_provided__qut3iv_0.prototype.t2i = function (store, next, action) {
|
|
4629
|
+
return this.v2k(store, next, action);
|
|
4515
4630
|
};
|
|
4516
4631
|
function enumToString(_this__u8e3s4, mapping) {
|
|
4517
4632
|
var tmp$ret$2;
|
|
@@ -4679,23 +4794,23 @@
|
|
|
4679
4794
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4680
4795
|
}
|
|
4681
4796
|
function generateTag($this, tag) {
|
|
4682
|
-
return (!($this.
|
|
4797
|
+
return (!($this.y2k_1 == null) ? !(tag == null) : false) ? '' + $this.y2k_1 + ':' + tag : tag;
|
|
4683
4798
|
}
|
|
4684
4799
|
function Category(name, ordinal, isEnabled) {
|
|
4685
4800
|
Enum.call(this, name, ordinal);
|
|
4686
|
-
this.
|
|
4801
|
+
this.b2l_1 = isEnabled;
|
|
4687
4802
|
}
|
|
4688
4803
|
function Logger$loggerSource$1() {
|
|
4689
|
-
this.
|
|
4804
|
+
this.c2l_1 = new PlatformLogger();
|
|
4690
4805
|
}
|
|
4691
|
-
Logger$loggerSource$1.prototype.
|
|
4692
|
-
this.
|
|
4806
|
+
Logger$loggerSource$1.prototype.d2l = function (tag, msg) {
|
|
4807
|
+
this.c2l_1.d2l(tag, msg);
|
|
4693
4808
|
};
|
|
4694
|
-
Logger$loggerSource$1.prototype.
|
|
4695
|
-
this.
|
|
4809
|
+
Logger$loggerSource$1.prototype.e2l = function (tag, msg, exception) {
|
|
4810
|
+
this.c2l_1.e2l(tag, msg, exception);
|
|
4696
4811
|
};
|
|
4697
|
-
Logger$loggerSource$1.prototype.
|
|
4698
|
-
this.
|
|
4812
|
+
Logger$loggerSource$1.prototype.f2l = function (tag, msg) {
|
|
4813
|
+
this.c2l_1.f2l(tag, msg);
|
|
4699
4814
|
};
|
|
4700
4815
|
function Category_NONE_getInstance() {
|
|
4701
4816
|
Category_initEntries();
|
|
@@ -4704,42 +4819,42 @@
|
|
|
4704
4819
|
function Logger() {
|
|
4705
4820
|
Logger_instance = this;
|
|
4706
4821
|
var tmp = this;
|
|
4707
|
-
tmp.
|
|
4708
|
-
this.
|
|
4709
|
-
this.
|
|
4822
|
+
tmp.w2k_1 = new Logger$loggerSource$1();
|
|
4823
|
+
this.x2k_1 = true;
|
|
4824
|
+
this.y2k_1 = null;
|
|
4710
4825
|
}
|
|
4711
|
-
Logger.prototype.
|
|
4712
|
-
this.
|
|
4826
|
+
Logger.prototype.g2l = function (tag, message) {
|
|
4827
|
+
this.h2l(tag, message, Category_NONE_getInstance());
|
|
4713
4828
|
};
|
|
4714
|
-
Logger.prototype.
|
|
4715
|
-
if (this.
|
|
4716
|
-
this.
|
|
4829
|
+
Logger.prototype.i2l = function (tag, message, category) {
|
|
4830
|
+
if (this.x2k_1 ? category.b2l_1 : false) {
|
|
4831
|
+
this.w2k_1.f2l(generateTag(this, tag), message);
|
|
4717
4832
|
}
|
|
4718
4833
|
};
|
|
4719
|
-
Logger.prototype.
|
|
4834
|
+
Logger.prototype.j2l = function (tag, message, category, $mask0, $handler) {
|
|
4720
4835
|
if (!(($mask0 & 1) === 0))
|
|
4721
4836
|
tag = null;
|
|
4722
4837
|
if (!(($mask0 & 4) === 0))
|
|
4723
4838
|
category = Category_NONE_getInstance();
|
|
4724
|
-
return this.
|
|
4839
|
+
return this.i2l(tag, message, category);
|
|
4725
4840
|
};
|
|
4726
|
-
Logger.prototype.
|
|
4727
|
-
if (this.
|
|
4728
|
-
this.
|
|
4841
|
+
Logger.prototype.h2l = function (tag, message, category) {
|
|
4842
|
+
if (this.x2k_1 ? category.b2l_1 : false) {
|
|
4843
|
+
this.w2k_1.d2l(generateTag(this, tag), message);
|
|
4729
4844
|
}
|
|
4730
4845
|
};
|
|
4731
|
-
Logger.prototype.
|
|
4732
|
-
if (this.
|
|
4846
|
+
Logger.prototype.k2l = function (tag, message, exception, category) {
|
|
4847
|
+
if (this.x2k_1 ? category.b2l_1 : false) {
|
|
4733
4848
|
var tmp0_safe_receiver = exception;
|
|
4734
4849
|
if (tmp0_safe_receiver == null)
|
|
4735
4850
|
null;
|
|
4736
4851
|
else {
|
|
4737
4852
|
printStackTrace(tmp0_safe_receiver);
|
|
4738
4853
|
}
|
|
4739
|
-
this.
|
|
4854
|
+
this.w2k_1.e2l(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4740
4855
|
}
|
|
4741
4856
|
};
|
|
4742
|
-
Logger.prototype.
|
|
4857
|
+
Logger.prototype.l2l = function (tag, message, exception, category, $mask0, $handler) {
|
|
4743
4858
|
if (!(($mask0 & 1) === 0))
|
|
4744
4859
|
tag = null;
|
|
4745
4860
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4748,7 +4863,7 @@
|
|
|
4748
4863
|
exception = null;
|
|
4749
4864
|
if (!(($mask0 & 8) === 0))
|
|
4750
4865
|
category = Category_NONE_getInstance();
|
|
4751
|
-
return this.
|
|
4866
|
+
return this.k2l(tag, message, exception, category);
|
|
4752
4867
|
};
|
|
4753
4868
|
var Logger_instance;
|
|
4754
4869
|
function Logger_getInstance() {
|
|
@@ -4784,36 +4899,36 @@
|
|
|
4784
4899
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4785
4900
|
}
|
|
4786
4901
|
function CombinedGameLogger(logOutputs) {
|
|
4787
|
-
this.
|
|
4902
|
+
this.m2l_1 = logOutputs;
|
|
4788
4903
|
}
|
|
4789
|
-
CombinedGameLogger.prototype.
|
|
4904
|
+
CombinedGameLogger.prototype.n2l = function (tag, message, payload) {
|
|
4790
4905
|
// Inline function 'kotlin.collections.forEach' call
|
|
4791
|
-
var tmp0_forEach = this.
|
|
4906
|
+
var tmp0_forEach = this.m2l_1;
|
|
4792
4907
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4793
4908
|
while (tmp0_iterator.h()) {
|
|
4794
4909
|
var element = tmp0_iterator.i();
|
|
4795
4910
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4796
|
-
element.
|
|
4911
|
+
element.n2l(tag, message, payload);
|
|
4797
4912
|
}
|
|
4798
4913
|
};
|
|
4799
|
-
CombinedGameLogger.prototype.
|
|
4914
|
+
CombinedGameLogger.prototype.p2l = function (tag, message, exception, payload) {
|
|
4800
4915
|
// Inline function 'kotlin.collections.forEach' call
|
|
4801
|
-
var tmp0_forEach = this.
|
|
4916
|
+
var tmp0_forEach = this.m2l_1;
|
|
4802
4917
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4803
4918
|
while (tmp0_iterator.h()) {
|
|
4804
4919
|
var element = tmp0_iterator.i();
|
|
4805
4920
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4806
|
-
element.
|
|
4921
|
+
element.p2l(tag, message, exception, payload);
|
|
4807
4922
|
}
|
|
4808
4923
|
};
|
|
4809
|
-
CombinedGameLogger.prototype.
|
|
4924
|
+
CombinedGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4810
4925
|
// Inline function 'kotlin.collections.forEach' call
|
|
4811
|
-
var tmp0_forEach = this.
|
|
4926
|
+
var tmp0_forEach = this.m2l_1;
|
|
4812
4927
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4813
4928
|
while (tmp0_iterator.h()) {
|
|
4814
4929
|
var element = tmp0_iterator.i();
|
|
4815
4930
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4816
|
-
element.
|
|
4931
|
+
element.q2l(tag, message, payload);
|
|
4817
4932
|
}
|
|
4818
4933
|
};
|
|
4819
4934
|
function GameLogger() {
|
|
@@ -4830,40 +4945,40 @@
|
|
|
4830
4945
|
return PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, Object.create(PlatformGameLogger.prototype));
|
|
4831
4946
|
}
|
|
4832
4947
|
function PlatformGameLogger(enabled) {
|
|
4833
|
-
this.
|
|
4948
|
+
this.r2l_1 = enabled;
|
|
4834
4949
|
}
|
|
4835
|
-
PlatformGameLogger.prototype.
|
|
4836
|
-
if (!this.
|
|
4950
|
+
PlatformGameLogger.prototype.n2l = function (tag, message, payload) {
|
|
4951
|
+
if (!this.r2l_1)
|
|
4837
4952
|
return Unit_getInstance();
|
|
4838
|
-
Logger_getInstance().
|
|
4953
|
+
Logger_getInstance().g2l(tag, message);
|
|
4839
4954
|
};
|
|
4840
|
-
PlatformGameLogger.prototype.
|
|
4841
|
-
if (!this.
|
|
4955
|
+
PlatformGameLogger.prototype.p2l = function (tag, message, exception, payload) {
|
|
4956
|
+
if (!this.r2l_1)
|
|
4842
4957
|
return Unit_getInstance();
|
|
4843
4958
|
var tmp = Logger_getInstance();
|
|
4844
|
-
tmp.
|
|
4959
|
+
tmp.l2l(tag, message, exception, null, 8, null);
|
|
4845
4960
|
};
|
|
4846
|
-
PlatformGameLogger.prototype.
|
|
4847
|
-
if (!this.
|
|
4961
|
+
PlatformGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4962
|
+
if (!this.r2l_1)
|
|
4848
4963
|
return Unit_getInstance();
|
|
4849
4964
|
var tmp = Logger_getInstance();
|
|
4850
|
-
tmp.
|
|
4965
|
+
tmp.j2l(tag, message, null, 4, null);
|
|
4851
4966
|
};
|
|
4852
4967
|
function LoggerOutput() {
|
|
4853
4968
|
}
|
|
4854
4969
|
function PlatformLogger() {
|
|
4855
4970
|
}
|
|
4856
|
-
PlatformLogger.prototype.
|
|
4971
|
+
PlatformLogger.prototype.d2l = function (tag, msg) {
|
|
4857
4972
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4858
4973
|
};
|
|
4859
|
-
PlatformLogger.prototype.
|
|
4974
|
+
PlatformLogger.prototype.e2l = function (tag, msg, exception) {
|
|
4860
4975
|
if (!(exception == null)) {
|
|
4861
4976
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4862
4977
|
} else {
|
|
4863
4978
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4864
4979
|
}
|
|
4865
4980
|
};
|
|
4866
|
-
PlatformLogger.prototype.
|
|
4981
|
+
PlatformLogger.prototype.f2l = function (tag, msg) {
|
|
4867
4982
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4868
4983
|
};
|
|
4869
4984
|
//region block: post-declaration
|
|
@@ -4880,25 +4995,25 @@
|
|
|
4880
4995
|
_no_name_provided__qut3iv.prototype.g4 = fold;
|
|
4881
4996
|
_no_name_provided__qut3iv.prototype.f4 = minusKey;
|
|
4882
4997
|
_no_name_provided__qut3iv.prototype.h4 = plus;
|
|
4883
|
-
AsyncProviderImpl.prototype.
|
|
4884
|
-
AsyncProviderImpl.prototype.
|
|
4885
|
-
middleware$1.prototype.
|
|
4886
|
-
combineReducers$1.prototype.
|
|
4887
|
-
StoreLifecycleAction.prototype.
|
|
4888
|
-
INIT.prototype.
|
|
4889
|
-
REPLACE.prototype.
|
|
4890
|
-
TimerAction.prototype.
|
|
4891
|
-
StopTimerAction.prototype.
|
|
4998
|
+
AsyncProviderImpl.prototype.x2h = launchStore$default;
|
|
4999
|
+
AsyncProviderImpl.prototype.z2h = launchWorker$default;
|
|
5000
|
+
middleware$1.prototype.s2i = canHandle;
|
|
5001
|
+
combineReducers$1.prototype.s2i = canHandle_0;
|
|
5002
|
+
StoreLifecycleAction.prototype.r2i = get_actionTag;
|
|
5003
|
+
INIT.prototype.r2i = get_actionTag;
|
|
5004
|
+
REPLACE.prototype.r2i = get_actionTag;
|
|
5005
|
+
TimerAction.prototype.r2i = get_actionTag;
|
|
5006
|
+
StopTimerAction.prototype.r2i = get_actionTag;
|
|
4892
5007
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4893
5008
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4894
|
-
StartTimerAction.prototype.
|
|
4895
|
-
TimerTickAction.prototype.
|
|
4896
|
-
CombinedGameLogger.prototype.
|
|
4897
|
-
CombinedGameLogger.prototype.
|
|
4898
|
-
CombinedGameLogger.prototype.
|
|
4899
|
-
PlatformGameLogger.prototype.
|
|
4900
|
-
PlatformGameLogger.prototype.
|
|
4901
|
-
PlatformGameLogger.prototype.
|
|
5009
|
+
StartTimerAction.prototype.r2i = get_actionTag;
|
|
5010
|
+
TimerTickAction.prototype.r2i = get_actionTag;
|
|
5011
|
+
CombinedGameLogger.prototype.o2l = d$default;
|
|
5012
|
+
CombinedGameLogger.prototype.q2h = e$default;
|
|
5013
|
+
CombinedGameLogger.prototype.e2i = w$default;
|
|
5014
|
+
PlatformGameLogger.prototype.o2l = d$default;
|
|
5015
|
+
PlatformGameLogger.prototype.q2h = e$default;
|
|
5016
|
+
PlatformGameLogger.prototype.e2i = w$default;
|
|
4902
5017
|
//endregion
|
|
4903
5018
|
//region block: exports
|
|
4904
5019
|
function $jsExportAll$(_) {
|