game_client_logic_deb 1.4.19 → 1.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +36 -32
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +772 -706
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6309 -6222
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +8 -4
- package/Logic_Debertz-game_client.js +2269 -2260
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +11 -11
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,9 +25,9 @@
|
|
|
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;
|
|
@@ -58,11 +61,13 @@
|
|
|
58
61
|
var hashCode = kotlin_kotlin.$_$.z8;
|
|
59
62
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
60
63
|
var THROW_ISE = kotlin_kotlin.$_$.yb;
|
|
61
|
-
var Long = kotlin_kotlin.$_$.sb;
|
|
62
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
72
|
var Comparator = kotlin_kotlin.$_$.kb;
|
|
68
73
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
@@ -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.21';
|
|
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))
|
|
2590
|
+
return false;
|
|
2591
|
+
if (!(this.o2g_1 === tmp0_other_with_cast.o2g_1))
|
|
2526
2592
|
return false;
|
|
2527
|
-
if (!(this.
|
|
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,10 +3198,10 @@
|
|
|
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) {
|
|
3139
3205
|
var tmp0_safe_receiver = previousStubCardWithMaxIndex;
|
|
3140
3206
|
var tmp;
|
|
3141
3207
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3147,7 +3213,7 @@
|
|
|
3147
3213
|
var tmp_0;
|
|
3148
3214
|
var tmp$ret$0;
|
|
3149
3215
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3150
|
-
tmp$ret$0 = tmp0_safe_receiver.
|
|
3216
|
+
tmp$ret$0 = tmp0_safe_receiver.e2h();
|
|
3151
3217
|
if (tmp$ret$0) {
|
|
3152
3218
|
tmp_0 = tmp0_safe_receiver;
|
|
3153
3219
|
} else {
|
|
@@ -3157,8 +3223,8 @@
|
|
|
3157
3223
|
tmp = tmp$ret$1;
|
|
3158
3224
|
}
|
|
3159
3225
|
var tmp1_safe_receiver = tmp;
|
|
3160
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3161
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_16().
|
|
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);
|
|
3162
3228
|
var tmp_1;
|
|
3163
3229
|
if (tmp3_safe_receiver == null) {
|
|
3164
3230
|
tmp_1 = null;
|
|
@@ -3187,12 +3253,12 @@
|
|
|
3187
3253
|
var index = tmp_2;
|
|
3188
3254
|
return new GameCard(index);
|
|
3189
3255
|
};
|
|
3190
|
-
Companion_15.prototype.
|
|
3256
|
+
Companion_15.prototype.k2h = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $mask0, $handler) {
|
|
3191
3257
|
if (!(($mask0 & 4) === 0))
|
|
3192
3258
|
previousStubCardWithMaxIndex = null;
|
|
3193
3259
|
if (!(($mask0 & 8) === 0))
|
|
3194
3260
|
reverse = false;
|
|
3195
|
-
return this.
|
|
3261
|
+
return this.d2h(position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3196
3262
|
};
|
|
3197
3263
|
var Companion_instance_15;
|
|
3198
3264
|
function Companion_getInstance_15() {
|
|
@@ -3301,7 +3367,7 @@
|
|
|
3301
3367
|
return tmp;
|
|
3302
3368
|
}
|
|
3303
3369
|
function _get_isShirt__vd98rp($this) {
|
|
3304
|
-
var tmp = $this.
|
|
3370
|
+
var tmp = $this.m2f_1;
|
|
3305
3371
|
Companion_getInstance_16();
|
|
3306
3372
|
return tmp === 52;
|
|
3307
3373
|
}
|
|
@@ -3310,12 +3376,12 @@
|
|
|
3310
3376
|
}
|
|
3311
3377
|
function Companion_16() {
|
|
3312
3378
|
Companion_instance_16 = this;
|
|
3313
|
-
this.
|
|
3314
|
-
this.
|
|
3315
|
-
this.
|
|
3316
|
-
this.
|
|
3379
|
+
this.f2h_1 = -1;
|
|
3380
|
+
this.g2h_1 = 13;
|
|
3381
|
+
this.h2h_1 = 52;
|
|
3382
|
+
this.i2h_1 = 53;
|
|
3317
3383
|
}
|
|
3318
|
-
Companion_16.prototype.
|
|
3384
|
+
Companion_16.prototype.j2h = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3319
3385
|
var tmp;
|
|
3320
3386
|
if (reverse) {
|
|
3321
3387
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -3388,55 +3454,55 @@
|
|
|
3388
3454
|
}
|
|
3389
3455
|
function GameCard(index) {
|
|
3390
3456
|
Companion_getInstance_16();
|
|
3391
|
-
this.
|
|
3457
|
+
this.m2f_1 = index;
|
|
3392
3458
|
}
|
|
3393
|
-
GameCard.prototype.
|
|
3459
|
+
GameCard.prototype.b2h = function () {
|
|
3394
3460
|
var tmp;
|
|
3395
3461
|
Companion_getInstance_16();
|
|
3396
3462
|
var containsUpper = 13;
|
|
3397
|
-
var containsArg = this.
|
|
3463
|
+
var containsArg = this.m2f_1;
|
|
3398
3464
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3399
3465
|
tmp = Suit_DIAMOND_getInstance();
|
|
3400
3466
|
} else {
|
|
3401
|
-
var tmp_0 = this.
|
|
3467
|
+
var tmp_0 = this.m2f_1;
|
|
3402
3468
|
Companion_getInstance_16();
|
|
3403
3469
|
if (tmp_0 <= imul(13, 2)) {
|
|
3404
3470
|
tmp = Suit_SPADE_getInstance();
|
|
3405
3471
|
} else {
|
|
3406
|
-
var tmp_1 = this.
|
|
3472
|
+
var tmp_1 = this.m2f_1;
|
|
3407
3473
|
Companion_getInstance_16();
|
|
3408
3474
|
if (tmp_1 <= imul(13, 3)) {
|
|
3409
3475
|
tmp = Suit_HEART_getInstance();
|
|
3410
3476
|
} else {
|
|
3411
|
-
var tmp_2 = this.
|
|
3477
|
+
var tmp_2 = this.m2f_1;
|
|
3412
3478
|
Companion_getInstance_16();
|
|
3413
3479
|
if (tmp_2 <= imul(13, 4)) {
|
|
3414
3480
|
tmp = Suit_CLUB_getInstance();
|
|
3415
3481
|
} else {
|
|
3416
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3482
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.m2f_1);
|
|
3417
3483
|
}
|
|
3418
3484
|
}
|
|
3419
3485
|
}
|
|
3420
3486
|
}
|
|
3421
3487
|
return tmp;
|
|
3422
3488
|
};
|
|
3423
|
-
GameCard.prototype.
|
|
3489
|
+
GameCard.prototype.a2h = function () {
|
|
3424
3490
|
var tmp;
|
|
3425
|
-
if (this.
|
|
3491
|
+
if (this.e2h()) {
|
|
3426
3492
|
Companion_getInstance_16();
|
|
3427
3493
|
tmp = -1;
|
|
3428
3494
|
} else {
|
|
3429
|
-
var tmp_0 = this.
|
|
3495
|
+
var tmp_0 = this.m2f_1;
|
|
3430
3496
|
Companion_getInstance_16();
|
|
3431
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3497
|
+
tmp = tmp_0 - imul(13, getIndex(this.b2h())) | 0;
|
|
3432
3498
|
}
|
|
3433
3499
|
return tmp;
|
|
3434
3500
|
};
|
|
3435
3501
|
GameCard.prototype.zf = function () {
|
|
3436
|
-
return this.
|
|
3502
|
+
return this.e2h() ? CardName_STUB_getInstance() : getName(Companion_getInstance_16(), this.a2h());
|
|
3437
3503
|
};
|
|
3438
|
-
GameCard.prototype.
|
|
3439
|
-
var tmp = this.
|
|
3504
|
+
GameCard.prototype.e2h = function () {
|
|
3505
|
+
var tmp = this.m2f_1;
|
|
3440
3506
|
Companion_getInstance_16();
|
|
3441
3507
|
return tmp >= 53;
|
|
3442
3508
|
};
|
|
@@ -3444,13 +3510,13 @@
|
|
|
3444
3510
|
if (_get_isShirt__vd98rp(this)) {
|
|
3445
3511
|
return 'GameCard(SHIRT)';
|
|
3446
3512
|
}
|
|
3447
|
-
if (this.
|
|
3448
|
-
return 'GameCard(STUB, ' + this.
|
|
3513
|
+
if (this.e2h()) {
|
|
3514
|
+
return 'GameCard(STUB, ' + this.m2f_1 + ')';
|
|
3449
3515
|
}
|
|
3450
|
-
return 'GameCard(' + this.zf() + ', suit: ' + this.
|
|
3516
|
+
return 'GameCard(' + this.zf() + ', suit: ' + this.b2h() + ', index=' + this.m2f_1 + ')';
|
|
3451
3517
|
};
|
|
3452
3518
|
GameCard.prototype.hashCode = function () {
|
|
3453
|
-
return this.
|
|
3519
|
+
return this.m2f_1;
|
|
3454
3520
|
};
|
|
3455
3521
|
GameCard.prototype.equals = function (other) {
|
|
3456
3522
|
if (this === other)
|
|
@@ -3458,23 +3524,23 @@
|
|
|
3458
3524
|
if (!(other instanceof GameCard))
|
|
3459
3525
|
return false;
|
|
3460
3526
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3461
|
-
if (!(this.
|
|
3527
|
+
if (!(this.m2f_1 === tmp0_other_with_cast.m2f_1))
|
|
3462
3528
|
return false;
|
|
3463
3529
|
return true;
|
|
3464
3530
|
};
|
|
3465
3531
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3466
|
-
this.
|
|
3467
|
-
this.
|
|
3532
|
+
this.n2f_1 = playerId;
|
|
3533
|
+
this.o2f_1 = gameCard;
|
|
3468
3534
|
}
|
|
3469
|
-
GameCardWIthPlayerId.prototype.
|
|
3470
|
-
return this.
|
|
3535
|
+
GameCardWIthPlayerId.prototype.w2c = function () {
|
|
3536
|
+
return this.n2f_1;
|
|
3471
3537
|
};
|
|
3472
3538
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3473
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3539
|
+
return 'GameCardWIthPlayerId(playerId=' + this.n2f_1 + ', gameCard=' + this.o2f_1 + ')';
|
|
3474
3540
|
};
|
|
3475
3541
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3476
|
-
var result = getStringHashCode(this.
|
|
3477
|
-
result = imul(result, 31) + this.
|
|
3542
|
+
var result = getStringHashCode(this.n2f_1);
|
|
3543
|
+
result = imul(result, 31) + this.o2f_1.hashCode() | 0;
|
|
3478
3544
|
return result;
|
|
3479
3545
|
};
|
|
3480
3546
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3483,28 +3549,28 @@
|
|
|
3483
3549
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3484
3550
|
return false;
|
|
3485
3551
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3486
|
-
if (!(this.
|
|
3552
|
+
if (!(this.n2f_1 === tmp0_other_with_cast.n2f_1))
|
|
3487
3553
|
return false;
|
|
3488
|
-
if (!this.
|
|
3554
|
+
if (!this.o2f_1.equals(tmp0_other_with_cast.o2f_1))
|
|
3489
3555
|
return false;
|
|
3490
3556
|
return true;
|
|
3491
3557
|
};
|
|
3492
3558
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
3493
3559
|
configurable: true,
|
|
3494
3560
|
get: function () {
|
|
3495
|
-
return this.
|
|
3561
|
+
return this.w2c();
|
|
3496
3562
|
}
|
|
3497
3563
|
});
|
|
3498
3564
|
function ProcessingCard(gameCard, payload) {
|
|
3499
|
-
this.
|
|
3500
|
-
this.
|
|
3565
|
+
this.l2h_1 = gameCard;
|
|
3566
|
+
this.m2h_1 = payload;
|
|
3501
3567
|
}
|
|
3502
3568
|
ProcessingCard.prototype.toString = function () {
|
|
3503
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3569
|
+
return 'ProcessingCard(gameCard=' + this.l2h_1 + ', payload=' + this.m2h_1 + ')';
|
|
3504
3570
|
};
|
|
3505
3571
|
ProcessingCard.prototype.hashCode = function () {
|
|
3506
|
-
var result = this.
|
|
3507
|
-
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;
|
|
3508
3574
|
return result;
|
|
3509
3575
|
};
|
|
3510
3576
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3513,9 +3579,9 @@
|
|
|
3513
3579
|
if (!(other instanceof ProcessingCard))
|
|
3514
3580
|
return false;
|
|
3515
3581
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3516
|
-
if (!this.
|
|
3582
|
+
if (!this.l2h_1.equals(tmp0_other_with_cast.l2h_1))
|
|
3517
3583
|
return false;
|
|
3518
|
-
if (!equals(this.
|
|
3584
|
+
if (!equals(this.m2h_1, tmp0_other_with_cast.m2h_1))
|
|
3519
3585
|
return false;
|
|
3520
3586
|
return true;
|
|
3521
3587
|
};
|
|
@@ -3530,10 +3596,10 @@
|
|
|
3530
3596
|
Companion_instance_17 = this;
|
|
3531
3597
|
var tmp = this;
|
|
3532
3598
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3533
|
-
tmp.
|
|
3599
|
+
tmp.n2h_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3534
3600
|
}
|
|
3535
3601
|
Companion_17.prototype.l1w = function () {
|
|
3536
|
-
return this.
|
|
3602
|
+
return this.n2h_1.j1();
|
|
3537
3603
|
};
|
|
3538
3604
|
Companion_17.prototype.b1l = function (typeParamsSerializers) {
|
|
3539
3605
|
return this.l1w();
|
|
@@ -3602,81 +3668,81 @@
|
|
|
3602
3668
|
return tmp;
|
|
3603
3669
|
}
|
|
3604
3670
|
function _no_name_provided__qut3iv($logger) {
|
|
3605
|
-
this.
|
|
3671
|
+
this.p2h_1 = $logger;
|
|
3606
3672
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3607
3673
|
}
|
|
3608
3674
|
_no_name_provided__qut3iv.prototype.vm = function (context, exception) {
|
|
3609
3675
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3610
|
-
return this.
|
|
3676
|
+
return this.p2h_1.q2h('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3611
3677
|
};
|
|
3612
3678
|
function AsyncProviderImpl(logger) {
|
|
3613
3679
|
var tmp = this;
|
|
3614
|
-
tmp.
|
|
3680
|
+
tmp.r2h_1 = Job$default(null, 1, null);
|
|
3615
3681
|
var tmp_0 = this;
|
|
3616
3682
|
var tmp$ret$0;
|
|
3617
3683
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3618
3684
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3619
|
-
tmp_0.
|
|
3620
|
-
this.
|
|
3621
|
-
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));
|
|
3622
3688
|
}
|
|
3623
|
-
AsyncProviderImpl.prototype.
|
|
3624
|
-
return this.
|
|
3689
|
+
AsyncProviderImpl.prototype.v2h = function () {
|
|
3690
|
+
return this.s2h_1;
|
|
3625
3691
|
};
|
|
3626
|
-
AsyncProviderImpl.prototype.
|
|
3627
|
-
return launch$default(this.
|
|
3692
|
+
AsyncProviderImpl.prototype.w2h = function (context, block) {
|
|
3693
|
+
return launch$default(this.t2h_1, context, null, block, 2, null);
|
|
3628
3694
|
};
|
|
3629
|
-
AsyncProviderImpl.prototype.
|
|
3630
|
-
return launch$default(this.
|
|
3695
|
+
AsyncProviderImpl.prototype.y2h = function (context, block) {
|
|
3696
|
+
return launch$default(this.u2h_1, context, null, block, 2, null);
|
|
3631
3697
|
};
|
|
3632
3698
|
AsyncProviderImpl.prototype.nk = function () {
|
|
3633
|
-
if (!this.
|
|
3634
|
-
this.
|
|
3699
|
+
if (!this.r2h_1.np()) {
|
|
3700
|
+
this.r2h_1.lj(null, 1, null);
|
|
3635
3701
|
}
|
|
3636
3702
|
};
|
|
3637
3703
|
function AsyncProvider() {
|
|
3638
3704
|
}
|
|
3639
3705
|
function UUIDIdsProvider() {
|
|
3640
3706
|
}
|
|
3641
|
-
UUIDIdsProvider.prototype.
|
|
3707
|
+
UUIDIdsProvider.prototype.a2i = function () {
|
|
3642
3708
|
return uuid4().toString();
|
|
3643
3709
|
};
|
|
3644
3710
|
function IdsProvider() {
|
|
3645
3711
|
}
|
|
3646
3712
|
function JobsProviderImpl(logger) {
|
|
3647
|
-
this.
|
|
3713
|
+
this.b2i_1 = logger;
|
|
3648
3714
|
var tmp = this;
|
|
3649
3715
|
var tmp$ret$0;
|
|
3650
3716
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3651
3717
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3652
|
-
tmp.
|
|
3718
|
+
tmp.c2i_1 = tmp$ret$0;
|
|
3653
3719
|
}
|
|
3654
|
-
JobsProviderImpl.prototype.
|
|
3655
|
-
if (this.
|
|
3720
|
+
JobsProviderImpl.prototype.d2i = function (timerTag, job) {
|
|
3721
|
+
if (this.f2i(timerTag)) {
|
|
3656
3722
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3657
|
-
this.
|
|
3723
|
+
this.b2i_1.e2i(null, tmp, null, 5, null);
|
|
3658
3724
|
}
|
|
3659
3725
|
// Inline function 'kotlin.collections.set' call
|
|
3660
|
-
var tmp0_set = this.
|
|
3726
|
+
var tmp0_set = this.c2i_1;
|
|
3661
3727
|
tmp0_set.w2(timerTag, job);
|
|
3662
3728
|
};
|
|
3663
|
-
JobsProviderImpl.prototype.
|
|
3664
|
-
return this.
|
|
3729
|
+
JobsProviderImpl.prototype.f2i = function (timerTag) {
|
|
3730
|
+
return this.c2i_1.q1(timerTag);
|
|
3665
3731
|
};
|
|
3666
|
-
JobsProviderImpl.prototype.
|
|
3667
|
-
if (!this.
|
|
3732
|
+
JobsProviderImpl.prototype.g2i = function (timerTag) {
|
|
3733
|
+
if (!this.f2i(timerTag)) {
|
|
3668
3734
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3669
|
-
this.
|
|
3735
|
+
this.b2i_1.e2i(null, tmp, null, 5, null);
|
|
3670
3736
|
}
|
|
3671
|
-
this.
|
|
3737
|
+
this.c2i_1.sb(timerTag);
|
|
3672
3738
|
};
|
|
3673
|
-
JobsProviderImpl.prototype.
|
|
3739
|
+
JobsProviderImpl.prototype.h2i = function (timers) {
|
|
3674
3740
|
// Inline function 'kotlin.collections.forEach' call
|
|
3675
3741
|
var tmp0_iterator = timers.g();
|
|
3676
3742
|
while (tmp0_iterator.h()) {
|
|
3677
3743
|
var element = tmp0_iterator.i();
|
|
3678
3744
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3679
|
-
var timer = this.
|
|
3745
|
+
var timer = this.c2i_1.t1(element);
|
|
3680
3746
|
var tmp0_safe_receiver = timer;
|
|
3681
3747
|
if (tmp0_safe_receiver == null)
|
|
3682
3748
|
null;
|
|
@@ -3684,11 +3750,11 @@
|
|
|
3684
3750
|
tmp0_safe_receiver.lj(null, 1, null);
|
|
3685
3751
|
}
|
|
3686
3752
|
}
|
|
3687
|
-
this.
|
|
3753
|
+
this.c2i_1.u1().qa(toSet(timers));
|
|
3688
3754
|
};
|
|
3689
|
-
JobsProviderImpl.prototype.
|
|
3690
|
-
var timer = this.
|
|
3691
|
-
this.
|
|
3755
|
+
JobsProviderImpl.prototype.i2i = function (timerTag) {
|
|
3756
|
+
var timer = this.c2i_1.t1(timerTag);
|
|
3757
|
+
this.c2i_1.sb(timerTag);
|
|
3692
3758
|
var tmp0_safe_receiver = timer;
|
|
3693
3759
|
if (tmp0_safe_receiver == null)
|
|
3694
3760
|
null;
|
|
@@ -3842,10 +3908,10 @@
|
|
|
3842
3908
|
}
|
|
3843
3909
|
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3844
3910
|
try {
|
|
3845
|
-
currentState.fy(currentReducer._v.
|
|
3911
|
+
currentState.fy(currentReducer._v.j2i(currentState.j1(), action));
|
|
3846
3912
|
} catch ($p) {
|
|
3847
3913
|
if ($p instanceof Exception) {
|
|
3848
|
-
$logger.
|
|
3914
|
+
$logger.q2h('createStore.dispatch', null, $p, null, 10, null);
|
|
3849
3915
|
} else {
|
|
3850
3916
|
throw $p;
|
|
3851
3917
|
}
|
|
@@ -3877,46 +3943,46 @@
|
|
|
3877
3943
|
return l;
|
|
3878
3944
|
}
|
|
3879
3945
|
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3880
|
-
this.
|
|
3946
|
+
this.m2i_1 = $currentState;
|
|
3881
3947
|
var tmp = this;
|
|
3882
|
-
tmp.
|
|
3948
|
+
tmp.k2i_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3883
3949
|
var tmp_0 = this;
|
|
3884
|
-
tmp_0.
|
|
3950
|
+
tmp_0.l2i_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3885
3951
|
}
|
|
3886
|
-
createStore$2.prototype.
|
|
3887
|
-
this.
|
|
3952
|
+
createStore$2.prototype.n2i = function (_set____db54di) {
|
|
3953
|
+
this.k2i_1 = _set____db54di;
|
|
3888
3954
|
};
|
|
3889
|
-
createStore$2.prototype.
|
|
3890
|
-
return this.
|
|
3955
|
+
createStore$2.prototype.o2i = function () {
|
|
3956
|
+
return this.k2i_1;
|
|
3891
3957
|
};
|
|
3892
|
-
createStore$2.prototype.
|
|
3893
|
-
return this.
|
|
3958
|
+
createStore$2.prototype.p2i = function () {
|
|
3959
|
+
return this.m2i_1;
|
|
3894
3960
|
};
|
|
3895
|
-
createStore$2.prototype.
|
|
3896
|
-
return this.
|
|
3961
|
+
createStore$2.prototype.q2i = function () {
|
|
3962
|
+
return this.l2i_1;
|
|
3897
3963
|
};
|
|
3898
3964
|
createStore$2.prototype.xi = function () {
|
|
3899
|
-
return this.
|
|
3965
|
+
return this.m2i_1.j1();
|
|
3900
3966
|
};
|
|
3901
3967
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3902
3968
|
configurable: true,
|
|
3903
3969
|
get: function () {
|
|
3904
|
-
return this.
|
|
3970
|
+
return this.o2i();
|
|
3905
3971
|
},
|
|
3906
3972
|
set: function (value) {
|
|
3907
|
-
this.
|
|
3973
|
+
this.n2i(value);
|
|
3908
3974
|
}
|
|
3909
3975
|
});
|
|
3910
3976
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3911
3977
|
configurable: true,
|
|
3912
3978
|
get: function () {
|
|
3913
|
-
return this.
|
|
3979
|
+
return this.p2i();
|
|
3914
3980
|
}
|
|
3915
3981
|
});
|
|
3916
3982
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3917
3983
|
configurable: true,
|
|
3918
3984
|
get: function () {
|
|
3919
|
-
return this.
|
|
3985
|
+
return this.q2i();
|
|
3920
3986
|
}
|
|
3921
3987
|
});
|
|
3922
3988
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3949,10 +4015,10 @@
|
|
|
3949
4015
|
return new middleware$1(dispatch);
|
|
3950
4016
|
}
|
|
3951
4017
|
function middleware$1($dispatch) {
|
|
3952
|
-
this.
|
|
4018
|
+
this.u2i_1 = $dispatch;
|
|
3953
4019
|
}
|
|
3954
|
-
middleware$1.prototype.
|
|
3955
|
-
this.
|
|
4020
|
+
middleware$1.prototype.t2i = function (store, next, action) {
|
|
4021
|
+
this.u2i_1(store, next, action);
|
|
3956
4022
|
};
|
|
3957
4023
|
function Reducer() {
|
|
3958
4024
|
}
|
|
@@ -3960,9 +4026,9 @@
|
|
|
3960
4026
|
return new combineReducers$1(reducers);
|
|
3961
4027
|
}
|
|
3962
4028
|
function combineReducers$1($reducers) {
|
|
3963
|
-
this.
|
|
4029
|
+
this.v2i_1 = $reducers;
|
|
3964
4030
|
}
|
|
3965
|
-
combineReducers$1.prototype.
|
|
4031
|
+
combineReducers$1.prototype.w2i = function (state, action) {
|
|
3966
4032
|
var tmp$ret$4;
|
|
3967
4033
|
// Inline function 'kotlin.collections.fold' call
|
|
3968
4034
|
var tmp$ret$2;
|
|
@@ -3970,7 +4036,7 @@
|
|
|
3970
4036
|
var tmp$ret$1;
|
|
3971
4037
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3972
4038
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3973
|
-
var indexedObject = this.
|
|
4039
|
+
var indexedObject = this.v2i_1;
|
|
3974
4040
|
var inductionVariable = 0;
|
|
3975
4041
|
var last = indexedObject.length;
|
|
3976
4042
|
while (inductionVariable < last) {
|
|
@@ -3978,7 +4044,7 @@
|
|
|
3978
4044
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3979
4045
|
var tmp$ret$0;
|
|
3980
4046
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3981
|
-
tmp$ret$0 = element.
|
|
4047
|
+
tmp$ret$0 = element.s2i(action);
|
|
3982
4048
|
if (tmp$ret$0) {
|
|
3983
4049
|
tmp0_filterTo.a(element);
|
|
3984
4050
|
}
|
|
@@ -3993,14 +4059,14 @@
|
|
|
3993
4059
|
var tmp$ret$3;
|
|
3994
4060
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3995
4061
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3996
|
-
tmp$ret$3 = element_0.
|
|
4062
|
+
tmp$ret$3 = element_0.j2i(tmp1__anonymous__uwfjfc, action);
|
|
3997
4063
|
accumulator = tmp$ret$3;
|
|
3998
4064
|
}
|
|
3999
4065
|
tmp$ret$4 = accumulator;
|
|
4000
4066
|
return tmp$ret$4;
|
|
4001
4067
|
};
|
|
4002
|
-
combineReducers$1.prototype.
|
|
4003
|
-
return this.
|
|
4068
|
+
combineReducers$1.prototype.j2i = function (state, action) {
|
|
4069
|
+
return this.w2i((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
4004
4070
|
};
|
|
4005
4071
|
function Store() {
|
|
4006
4072
|
}
|
|
@@ -4011,7 +4077,7 @@
|
|
|
4011
4077
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
4012
4078
|
configurable: true,
|
|
4013
4079
|
get: function () {
|
|
4014
|
-
return this.
|
|
4080
|
+
return this.r2i();
|
|
4015
4081
|
}
|
|
4016
4082
|
});
|
|
4017
4083
|
var INIT_instance;
|
|
@@ -4027,7 +4093,7 @@
|
|
|
4027
4093
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
4028
4094
|
configurable: true,
|
|
4029
4095
|
get: function () {
|
|
4030
|
-
return this.
|
|
4096
|
+
return this.r2i();
|
|
4031
4097
|
}
|
|
4032
4098
|
});
|
|
4033
4099
|
var REPLACE_instance;
|
|
@@ -4041,7 +4107,7 @@
|
|
|
4041
4107
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
4042
4108
|
configurable: true,
|
|
4043
4109
|
get: function () {
|
|
4044
|
-
return this.
|
|
4110
|
+
return this.r2i();
|
|
4045
4111
|
}
|
|
4046
4112
|
});
|
|
4047
4113
|
function BufferedAction() {
|
|
@@ -4052,16 +4118,16 @@
|
|
|
4052
4118
|
}
|
|
4053
4119
|
function StopTimerAction(timerTag) {
|
|
4054
4120
|
TimerAction.call(this);
|
|
4055
|
-
this.
|
|
4121
|
+
this.y2i_1 = timerTag;
|
|
4056
4122
|
}
|
|
4057
|
-
StopTimerAction.prototype.
|
|
4058
|
-
return this.
|
|
4123
|
+
StopTimerAction.prototype.z2i = function () {
|
|
4124
|
+
return this.y2i_1;
|
|
4059
4125
|
};
|
|
4060
4126
|
StopTimerAction.prototype.toString = function () {
|
|
4061
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4127
|
+
return 'StopTimerAction(timerTag=' + this.y2i_1 + ')';
|
|
4062
4128
|
};
|
|
4063
4129
|
StopTimerAction.prototype.hashCode = function () {
|
|
4064
|
-
return hashCode(this.
|
|
4130
|
+
return hashCode(this.y2i_1);
|
|
4065
4131
|
};
|
|
4066
4132
|
StopTimerAction.prototype.equals = function (other) {
|
|
4067
4133
|
if (this === other)
|
|
@@ -4069,14 +4135,14 @@
|
|
|
4069
4135
|
if (!(other instanceof StopTimerAction))
|
|
4070
4136
|
return false;
|
|
4071
4137
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4072
|
-
if (!equals(this.
|
|
4138
|
+
if (!equals(this.y2i_1, tmp0_other_with_cast.y2i_1))
|
|
4073
4139
|
return false;
|
|
4074
4140
|
return true;
|
|
4075
4141
|
};
|
|
4076
4142
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
4077
4143
|
configurable: true,
|
|
4078
4144
|
get: function () {
|
|
4079
|
-
return this.
|
|
4145
|
+
return this.r2i();
|
|
4080
4146
|
}
|
|
4081
4147
|
});
|
|
4082
4148
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -4092,22 +4158,22 @@
|
|
|
4092
4158
|
}
|
|
4093
4159
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
4094
4160
|
TimerAction.call(this);
|
|
4095
|
-
this.
|
|
4096
|
-
this.
|
|
4097
|
-
this.
|
|
4098
|
-
this.
|
|
4161
|
+
this.a2j_1 = timerTag;
|
|
4162
|
+
this.b2j_1 = delayMillis;
|
|
4163
|
+
this.c2j_1 = initialDelay;
|
|
4164
|
+
this.d2j_1 = type;
|
|
4099
4165
|
}
|
|
4100
|
-
StartTimerAction.prototype.
|
|
4101
|
-
return this.
|
|
4166
|
+
StartTimerAction.prototype.z2i = function () {
|
|
4167
|
+
return this.a2j_1;
|
|
4102
4168
|
};
|
|
4103
4169
|
StartTimerAction.prototype.toString = function () {
|
|
4104
|
-
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 + ')';
|
|
4105
4171
|
};
|
|
4106
4172
|
StartTimerAction.prototype.hashCode = function () {
|
|
4107
|
-
var result = hashCode(this.
|
|
4108
|
-
result = imul(result, 31) + this.
|
|
4109
|
-
result = imul(result, 31) + this.
|
|
4110
|
-
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;
|
|
4111
4177
|
return result;
|
|
4112
4178
|
};
|
|
4113
4179
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -4116,20 +4182,20 @@
|
|
|
4116
4182
|
if (!(other instanceof StartTimerAction))
|
|
4117
4183
|
return false;
|
|
4118
4184
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4119
|
-
if (!equals(this.
|
|
4185
|
+
if (!equals(this.a2j_1, tmp0_other_with_cast.a2j_1))
|
|
4120
4186
|
return false;
|
|
4121
|
-
if (!this.
|
|
4187
|
+
if (!this.b2j_1.equals(tmp0_other_with_cast.b2j_1))
|
|
4122
4188
|
return false;
|
|
4123
|
-
if (!this.
|
|
4189
|
+
if (!this.c2j_1.equals(tmp0_other_with_cast.c2j_1))
|
|
4124
4190
|
return false;
|
|
4125
|
-
if (!this.
|
|
4191
|
+
if (!this.d2j_1.equals(tmp0_other_with_cast.d2j_1))
|
|
4126
4192
|
return false;
|
|
4127
4193
|
return true;
|
|
4128
4194
|
};
|
|
4129
4195
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4130
4196
|
configurable: true,
|
|
4131
4197
|
get: function () {
|
|
4132
|
-
return this.
|
|
4198
|
+
return this.r2i();
|
|
4133
4199
|
}
|
|
4134
4200
|
});
|
|
4135
4201
|
var TimerType_DELAY_instance;
|
|
@@ -4147,21 +4213,21 @@
|
|
|
4147
4213
|
}
|
|
4148
4214
|
function TimerTickAction(timerTag, type) {
|
|
4149
4215
|
TimerAction.call(this);
|
|
4150
|
-
this.
|
|
4151
|
-
this.
|
|
4216
|
+
this.e2j_1 = timerTag;
|
|
4217
|
+
this.f2j_1 = type;
|
|
4152
4218
|
}
|
|
4153
|
-
TimerTickAction.prototype.
|
|
4154
|
-
return this.
|
|
4219
|
+
TimerTickAction.prototype.z2i = function () {
|
|
4220
|
+
return this.e2j_1;
|
|
4155
4221
|
};
|
|
4156
4222
|
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4157
|
-
return this.
|
|
4223
|
+
return this.e2j_1.notValidateWhenFinished();
|
|
4158
4224
|
};
|
|
4159
4225
|
TimerTickAction.prototype.toString = function () {
|
|
4160
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4226
|
+
return 'TimerTickAction(timerTag=' + this.e2j_1 + ', type=' + this.f2j_1 + ')';
|
|
4161
4227
|
};
|
|
4162
4228
|
TimerTickAction.prototype.hashCode = function () {
|
|
4163
|
-
var result = hashCode(this.
|
|
4164
|
-
result = imul(result, 31) + this.
|
|
4229
|
+
var result = hashCode(this.e2j_1);
|
|
4230
|
+
result = imul(result, 31) + this.f2j_1.hashCode() | 0;
|
|
4165
4231
|
return result;
|
|
4166
4232
|
};
|
|
4167
4233
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4170,16 +4236,16 @@
|
|
|
4170
4236
|
if (!(other instanceof TimerTickAction))
|
|
4171
4237
|
return false;
|
|
4172
4238
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4173
|
-
if (!equals(this.
|
|
4239
|
+
if (!equals(this.e2j_1, tmp0_other_with_cast.e2j_1))
|
|
4174
4240
|
return false;
|
|
4175
|
-
if (!this.
|
|
4241
|
+
if (!this.f2j_1.equals(tmp0_other_with_cast.f2j_1))
|
|
4176
4242
|
return false;
|
|
4177
4243
|
return true;
|
|
4178
4244
|
};
|
|
4179
4245
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4180
4246
|
configurable: true,
|
|
4181
4247
|
get: function () {
|
|
4182
|
-
return this.
|
|
4248
|
+
return this.r2i();
|
|
4183
4249
|
}
|
|
4184
4250
|
});
|
|
4185
4251
|
function TimerAction() {
|
|
@@ -4187,7 +4253,7 @@
|
|
|
4187
4253
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4188
4254
|
configurable: true,
|
|
4189
4255
|
get: function () {
|
|
4190
|
-
return this.
|
|
4256
|
+
return this.r2i();
|
|
4191
4257
|
}
|
|
4192
4258
|
});
|
|
4193
4259
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4214,7 +4280,7 @@
|
|
|
4214
4280
|
var tmp_0;
|
|
4215
4281
|
if ($p instanceof Exception) {
|
|
4216
4282
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4217
|
-
$logger.
|
|
4283
|
+
$logger.q2h('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4218
4284
|
tmp_0 = Unit_getInstance();
|
|
4219
4285
|
} else {
|
|
4220
4286
|
throw $p;
|
|
@@ -4242,7 +4308,7 @@
|
|
|
4242
4308
|
}
|
|
4243
4309
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4244
4310
|
return function (action) {
|
|
4245
|
-
$tmp0__anonymous__1nv1x1.
|
|
4311
|
+
$tmp0__anonymous__1nv1x1.t2i($store, $tmp1__anonymous__6ijp4k, action);
|
|
4246
4312
|
return Unit_getInstance();
|
|
4247
4313
|
};
|
|
4248
4314
|
}
|
|
@@ -4261,7 +4327,7 @@
|
|
|
4261
4327
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4262
4328
|
var tmp$ret$0;
|
|
4263
4329
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4264
|
-
tmp$ret$0 = element.
|
|
4330
|
+
tmp$ret$0 = element.s2i(action);
|
|
4265
4331
|
if (tmp$ret$0) {
|
|
4266
4332
|
tmp0_filterTo.a(element);
|
|
4267
4333
|
}
|
|
@@ -4309,9 +4375,9 @@
|
|
|
4309
4375
|
return tmp$ret$0;
|
|
4310
4376
|
}
|
|
4311
4377
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4312
|
-
this.
|
|
4313
|
-
this.
|
|
4314
|
-
this.
|
|
4378
|
+
this.o2j_1 = $jobsProvider;
|
|
4379
|
+
this.p2j_1 = $tmp0__anonymous__1nv1x1;
|
|
4380
|
+
this.q2j_1 = $store;
|
|
4315
4381
|
CoroutineImpl.call(this, resultContinuation);
|
|
4316
4382
|
}
|
|
4317
4383
|
timerMiddleware$o$handle$slambda$slambda.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4330,8 +4396,8 @@
|
|
|
4330
4396
|
var tmp = this.xg_1;
|
|
4331
4397
|
if (tmp === 0) {
|
|
4332
4398
|
this.yg_1 = 1;
|
|
4333
|
-
if (this.
|
|
4334
|
-
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()));
|
|
4335
4401
|
}
|
|
4336
4402
|
return Unit_getInstance();
|
|
4337
4403
|
} else if (tmp === 1) {
|
|
@@ -4343,8 +4409,8 @@
|
|
|
4343
4409
|
while (true);
|
|
4344
4410
|
};
|
|
4345
4411
|
timerMiddleware$o$handle$slambda$slambda.prototype.l12 = function ($this$launchStore, completion) {
|
|
4346
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4347
|
-
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;
|
|
4348
4414
|
return i;
|
|
4349
4415
|
};
|
|
4350
4416
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4356,9 +4422,9 @@
|
|
|
4356
4422
|
return l;
|
|
4357
4423
|
}
|
|
4358
4424
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4359
|
-
this.
|
|
4360
|
-
this.
|
|
4361
|
-
this.
|
|
4425
|
+
this.a2k_1 = $jobsProvider;
|
|
4426
|
+
this.b2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4427
|
+
this.c2k_1 = $store;
|
|
4362
4428
|
CoroutineImpl.call(this, resultContinuation);
|
|
4363
4429
|
}
|
|
4364
4430
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4377,8 +4443,8 @@
|
|
|
4377
4443
|
var tmp = this.xg_1;
|
|
4378
4444
|
if (tmp === 0) {
|
|
4379
4445
|
this.yg_1 = 1;
|
|
4380
|
-
if (this.
|
|
4381
|
-
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()));
|
|
4382
4448
|
}
|
|
4383
4449
|
return Unit_getInstance();
|
|
4384
4450
|
} else if (tmp === 1) {
|
|
@@ -4390,8 +4456,8 @@
|
|
|
4390
4456
|
while (true);
|
|
4391
4457
|
};
|
|
4392
4458
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.l12 = function ($this$launchStore, completion) {
|
|
4393
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4394
|
-
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;
|
|
4395
4461
|
return i;
|
|
4396
4462
|
};
|
|
4397
4463
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4403,10 +4469,10 @@
|
|
|
4403
4469
|
return l;
|
|
4404
4470
|
}
|
|
4405
4471
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4406
|
-
this.
|
|
4407
|
-
this.
|
|
4408
|
-
this.
|
|
4409
|
-
this.
|
|
4472
|
+
this.m2k_1 = $tmp0__anonymous__1nv1x1;
|
|
4473
|
+
this.n2k_1 = $asyncProvider;
|
|
4474
|
+
this.o2k_1 = $jobsProvider;
|
|
4475
|
+
this.p2k_1 = $store;
|
|
4410
4476
|
CoroutineImpl.call(this, resultContinuation);
|
|
4411
4477
|
}
|
|
4412
4478
|
timerMiddleware$o$handle$slambda.prototype.k12 = function ($this$launchWorker, $cont) {
|
|
@@ -4426,9 +4492,9 @@
|
|
|
4426
4492
|
switch (tmp) {
|
|
4427
4493
|
case 0:
|
|
4428
4494
|
this.yg_1 = 10;
|
|
4429
|
-
if (!this.
|
|
4495
|
+
if (!this.m2k_1.c2j_1.equals(new Long(0, 0)) ? this.m2k_1.d2j_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4430
4496
|
this.xg_1 = 1;
|
|
4431
|
-
suspendResult = delay(this.
|
|
4497
|
+
suspendResult = delay(this.m2k_1.c2j_1, this);
|
|
4432
4498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4433
4499
|
return suspendResult;
|
|
4434
4500
|
}
|
|
@@ -4443,20 +4509,20 @@
|
|
|
4443
4509
|
this.xg_1 = 2;
|
|
4444
4510
|
continue $sm;
|
|
4445
4511
|
case 2:
|
|
4446
|
-
this.
|
|
4447
|
-
this.
|
|
4448
|
-
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) {
|
|
4449
4515
|
this.xg_1 = 8;
|
|
4450
|
-
suspendResult = delay(this.
|
|
4516
|
+
suspendResult = delay(this.m2k_1.b2j_1, this);
|
|
4451
4517
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4452
4518
|
return suspendResult;
|
|
4453
4519
|
}
|
|
4454
4520
|
continue $sm;
|
|
4455
4521
|
} else {
|
|
4456
|
-
if (this.
|
|
4457
|
-
if (!this.
|
|
4522
|
+
if (this.s2k_1 === 1) {
|
|
4523
|
+
if (!this.m2k_1.c2j_1.equals(new Long(0, 0))) {
|
|
4458
4524
|
this.xg_1 = 3;
|
|
4459
|
-
suspendResult = delay(this.
|
|
4525
|
+
suspendResult = delay(this.m2k_1.c2j_1, this);
|
|
4460
4526
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4461
4527
|
return suspendResult;
|
|
4462
4528
|
}
|
|
@@ -4479,15 +4545,15 @@
|
|
|
4479
4545
|
this.xg_1 = 5;
|
|
4480
4546
|
continue $sm;
|
|
4481
4547
|
case 5:
|
|
4482
|
-
if (!get_isActive(this.
|
|
4548
|
+
if (!get_isActive(this.q2k_1)) {
|
|
4483
4549
|
this.xg_1 = 7;
|
|
4484
4550
|
continue $sm;
|
|
4485
4551
|
}
|
|
4486
4552
|
|
|
4487
|
-
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);
|
|
4488
4554
|
;
|
|
4489
4555
|
this.xg_1 = 6;
|
|
4490
|
-
suspendResult = delay(this.
|
|
4556
|
+
suspendResult = delay(this.m2k_1.c2j_1, this);
|
|
4491
4557
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4492
4558
|
return suspendResult;
|
|
4493
4559
|
}
|
|
@@ -4500,7 +4566,7 @@
|
|
|
4500
4566
|
this.xg_1 = 9;
|
|
4501
4567
|
continue $sm;
|
|
4502
4568
|
case 8:
|
|
4503
|
-
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);
|
|
4504
4570
|
;
|
|
4505
4571
|
this.xg_1 = 9;
|
|
4506
4572
|
continue $sm;
|
|
@@ -4520,8 +4586,8 @@
|
|
|
4520
4586
|
while (true);
|
|
4521
4587
|
};
|
|
4522
4588
|
timerMiddleware$o$handle$slambda.prototype.l12 = function ($this$launchWorker, completion) {
|
|
4523
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4524
|
-
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;
|
|
4525
4591
|
return i;
|
|
4526
4592
|
};
|
|
4527
4593
|
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -4533,34 +4599,34 @@
|
|
|
4533
4599
|
return l;
|
|
4534
4600
|
}
|
|
4535
4601
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4536
|
-
this.
|
|
4537
|
-
this.
|
|
4602
|
+
this.t2k_1 = $asyncProvider;
|
|
4603
|
+
this.u2k_1 = $jobsProvider;
|
|
4538
4604
|
}
|
|
4539
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4605
|
+
_no_name_provided__qut3iv_0.prototype.s2i = function (action) {
|
|
4540
4606
|
return action instanceof TimerAction;
|
|
4541
4607
|
};
|
|
4542
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4608
|
+
_no_name_provided__qut3iv_0.prototype.v2k = function (store, next, action) {
|
|
4543
4609
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4544
4610
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4545
4611
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4546
4612
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4547
|
-
var job = this.
|
|
4548
|
-
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);
|
|
4549
4615
|
} else {
|
|
4550
4616
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4551
|
-
this.
|
|
4617
|
+
this.u2k_1.i2i(tmp0__anonymous__q1qw7t.z2i());
|
|
4552
4618
|
} else {
|
|
4553
4619
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4554
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4555
|
-
this.
|
|
4620
|
+
if (tmp0__anonymous__q1qw7t.f2j_1.equals(TimerType_DELAY_getInstance())) {
|
|
4621
|
+
this.u2k_1.g2i(tmp0__anonymous__q1qw7t.z2i());
|
|
4556
4622
|
}
|
|
4557
4623
|
}
|
|
4558
4624
|
}
|
|
4559
4625
|
}
|
|
4560
4626
|
next(tmp0__anonymous__q1qw7t);
|
|
4561
4627
|
};
|
|
4562
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4563
|
-
return this.
|
|
4628
|
+
_no_name_provided__qut3iv_0.prototype.t2i = function (store, next, action) {
|
|
4629
|
+
return this.v2k(store, next, action);
|
|
4564
4630
|
};
|
|
4565
4631
|
function enumToString(_this__u8e3s4, mapping) {
|
|
4566
4632
|
var tmp$ret$2;
|
|
@@ -4728,23 +4794,23 @@
|
|
|
4728
4794
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4729
4795
|
}
|
|
4730
4796
|
function generateTag($this, tag) {
|
|
4731
|
-
return (!($this.
|
|
4797
|
+
return (!($this.y2k_1 == null) ? !(tag == null) : false) ? '' + $this.y2k_1 + ':' + tag : tag;
|
|
4732
4798
|
}
|
|
4733
4799
|
function Category(name, ordinal, isEnabled) {
|
|
4734
4800
|
Enum.call(this, name, ordinal);
|
|
4735
|
-
this.
|
|
4801
|
+
this.b2l_1 = isEnabled;
|
|
4736
4802
|
}
|
|
4737
4803
|
function Logger$loggerSource$1() {
|
|
4738
|
-
this.
|
|
4804
|
+
this.c2l_1 = new PlatformLogger();
|
|
4739
4805
|
}
|
|
4740
|
-
Logger$loggerSource$1.prototype.
|
|
4741
|
-
this.
|
|
4806
|
+
Logger$loggerSource$1.prototype.d2l = function (tag, msg) {
|
|
4807
|
+
this.c2l_1.d2l(tag, msg);
|
|
4742
4808
|
};
|
|
4743
|
-
Logger$loggerSource$1.prototype.
|
|
4744
|
-
this.
|
|
4809
|
+
Logger$loggerSource$1.prototype.e2l = function (tag, msg, exception) {
|
|
4810
|
+
this.c2l_1.e2l(tag, msg, exception);
|
|
4745
4811
|
};
|
|
4746
|
-
Logger$loggerSource$1.prototype.
|
|
4747
|
-
this.
|
|
4812
|
+
Logger$loggerSource$1.prototype.f2l = function (tag, msg) {
|
|
4813
|
+
this.c2l_1.f2l(tag, msg);
|
|
4748
4814
|
};
|
|
4749
4815
|
function Category_NONE_getInstance() {
|
|
4750
4816
|
Category_initEntries();
|
|
@@ -4753,42 +4819,42 @@
|
|
|
4753
4819
|
function Logger() {
|
|
4754
4820
|
Logger_instance = this;
|
|
4755
4821
|
var tmp = this;
|
|
4756
|
-
tmp.
|
|
4757
|
-
this.
|
|
4758
|
-
this.
|
|
4822
|
+
tmp.w2k_1 = new Logger$loggerSource$1();
|
|
4823
|
+
this.x2k_1 = true;
|
|
4824
|
+
this.y2k_1 = null;
|
|
4759
4825
|
}
|
|
4760
|
-
Logger.prototype.
|
|
4761
|
-
this.
|
|
4826
|
+
Logger.prototype.g2l = function (tag, message) {
|
|
4827
|
+
this.h2l(tag, message, Category_NONE_getInstance());
|
|
4762
4828
|
};
|
|
4763
|
-
Logger.prototype.
|
|
4764
|
-
if (this.
|
|
4765
|
-
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);
|
|
4766
4832
|
}
|
|
4767
4833
|
};
|
|
4768
|
-
Logger.prototype.
|
|
4834
|
+
Logger.prototype.j2l = function (tag, message, category, $mask0, $handler) {
|
|
4769
4835
|
if (!(($mask0 & 1) === 0))
|
|
4770
4836
|
tag = null;
|
|
4771
4837
|
if (!(($mask0 & 4) === 0))
|
|
4772
4838
|
category = Category_NONE_getInstance();
|
|
4773
|
-
return this.
|
|
4839
|
+
return this.i2l(tag, message, category);
|
|
4774
4840
|
};
|
|
4775
|
-
Logger.prototype.
|
|
4776
|
-
if (this.
|
|
4777
|
-
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);
|
|
4778
4844
|
}
|
|
4779
4845
|
};
|
|
4780
|
-
Logger.prototype.
|
|
4781
|
-
if (this.
|
|
4846
|
+
Logger.prototype.k2l = function (tag, message, exception, category) {
|
|
4847
|
+
if (this.x2k_1 ? category.b2l_1 : false) {
|
|
4782
4848
|
var tmp0_safe_receiver = exception;
|
|
4783
4849
|
if (tmp0_safe_receiver == null)
|
|
4784
4850
|
null;
|
|
4785
4851
|
else {
|
|
4786
4852
|
printStackTrace(tmp0_safe_receiver);
|
|
4787
4853
|
}
|
|
4788
|
-
this.
|
|
4854
|
+
this.w2k_1.e2l(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4789
4855
|
}
|
|
4790
4856
|
};
|
|
4791
|
-
Logger.prototype.
|
|
4857
|
+
Logger.prototype.l2l = function (tag, message, exception, category, $mask0, $handler) {
|
|
4792
4858
|
if (!(($mask0 & 1) === 0))
|
|
4793
4859
|
tag = null;
|
|
4794
4860
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4797,7 +4863,7 @@
|
|
|
4797
4863
|
exception = null;
|
|
4798
4864
|
if (!(($mask0 & 8) === 0))
|
|
4799
4865
|
category = Category_NONE_getInstance();
|
|
4800
|
-
return this.
|
|
4866
|
+
return this.k2l(tag, message, exception, category);
|
|
4801
4867
|
};
|
|
4802
4868
|
var Logger_instance;
|
|
4803
4869
|
function Logger_getInstance() {
|
|
@@ -4833,36 +4899,36 @@
|
|
|
4833
4899
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4834
4900
|
}
|
|
4835
4901
|
function CombinedGameLogger(logOutputs) {
|
|
4836
|
-
this.
|
|
4902
|
+
this.m2l_1 = logOutputs;
|
|
4837
4903
|
}
|
|
4838
|
-
CombinedGameLogger.prototype.
|
|
4904
|
+
CombinedGameLogger.prototype.n2l = function (tag, message, payload) {
|
|
4839
4905
|
// Inline function 'kotlin.collections.forEach' call
|
|
4840
|
-
var tmp0_forEach = this.
|
|
4906
|
+
var tmp0_forEach = this.m2l_1;
|
|
4841
4907
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4842
4908
|
while (tmp0_iterator.h()) {
|
|
4843
4909
|
var element = tmp0_iterator.i();
|
|
4844
4910
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4845
|
-
element.
|
|
4911
|
+
element.n2l(tag, message, payload);
|
|
4846
4912
|
}
|
|
4847
4913
|
};
|
|
4848
|
-
CombinedGameLogger.prototype.
|
|
4914
|
+
CombinedGameLogger.prototype.p2l = function (tag, message, exception, payload) {
|
|
4849
4915
|
// Inline function 'kotlin.collections.forEach' call
|
|
4850
|
-
var tmp0_forEach = this.
|
|
4916
|
+
var tmp0_forEach = this.m2l_1;
|
|
4851
4917
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4852
4918
|
while (tmp0_iterator.h()) {
|
|
4853
4919
|
var element = tmp0_iterator.i();
|
|
4854
4920
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4855
|
-
element.
|
|
4921
|
+
element.p2l(tag, message, exception, payload);
|
|
4856
4922
|
}
|
|
4857
4923
|
};
|
|
4858
|
-
CombinedGameLogger.prototype.
|
|
4924
|
+
CombinedGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4859
4925
|
// Inline function 'kotlin.collections.forEach' call
|
|
4860
|
-
var tmp0_forEach = this.
|
|
4926
|
+
var tmp0_forEach = this.m2l_1;
|
|
4861
4927
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4862
4928
|
while (tmp0_iterator.h()) {
|
|
4863
4929
|
var element = tmp0_iterator.i();
|
|
4864
4930
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4865
|
-
element.
|
|
4931
|
+
element.q2l(tag, message, payload);
|
|
4866
4932
|
}
|
|
4867
4933
|
};
|
|
4868
4934
|
function GameLogger() {
|
|
@@ -4879,40 +4945,40 @@
|
|
|
4879
4945
|
return PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, Object.create(PlatformGameLogger.prototype));
|
|
4880
4946
|
}
|
|
4881
4947
|
function PlatformGameLogger(enabled) {
|
|
4882
|
-
this.
|
|
4948
|
+
this.r2l_1 = enabled;
|
|
4883
4949
|
}
|
|
4884
|
-
PlatformGameLogger.prototype.
|
|
4885
|
-
if (!this.
|
|
4950
|
+
PlatformGameLogger.prototype.n2l = function (tag, message, payload) {
|
|
4951
|
+
if (!this.r2l_1)
|
|
4886
4952
|
return Unit_getInstance();
|
|
4887
|
-
Logger_getInstance().
|
|
4953
|
+
Logger_getInstance().g2l(tag, message);
|
|
4888
4954
|
};
|
|
4889
|
-
PlatformGameLogger.prototype.
|
|
4890
|
-
if (!this.
|
|
4955
|
+
PlatformGameLogger.prototype.p2l = function (tag, message, exception, payload) {
|
|
4956
|
+
if (!this.r2l_1)
|
|
4891
4957
|
return Unit_getInstance();
|
|
4892
4958
|
var tmp = Logger_getInstance();
|
|
4893
|
-
tmp.
|
|
4959
|
+
tmp.l2l(tag, message, exception, null, 8, null);
|
|
4894
4960
|
};
|
|
4895
|
-
PlatformGameLogger.prototype.
|
|
4896
|
-
if (!this.
|
|
4961
|
+
PlatformGameLogger.prototype.q2l = function (tag, message, payload) {
|
|
4962
|
+
if (!this.r2l_1)
|
|
4897
4963
|
return Unit_getInstance();
|
|
4898
4964
|
var tmp = Logger_getInstance();
|
|
4899
|
-
tmp.
|
|
4965
|
+
tmp.j2l(tag, message, null, 4, null);
|
|
4900
4966
|
};
|
|
4901
4967
|
function LoggerOutput() {
|
|
4902
4968
|
}
|
|
4903
4969
|
function PlatformLogger() {
|
|
4904
4970
|
}
|
|
4905
|
-
PlatformLogger.prototype.
|
|
4971
|
+
PlatformLogger.prototype.d2l = function (tag, msg) {
|
|
4906
4972
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4907
4973
|
};
|
|
4908
|
-
PlatformLogger.prototype.
|
|
4974
|
+
PlatformLogger.prototype.e2l = function (tag, msg, exception) {
|
|
4909
4975
|
if (!(exception == null)) {
|
|
4910
4976
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4911
4977
|
} else {
|
|
4912
4978
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4913
4979
|
}
|
|
4914
4980
|
};
|
|
4915
|
-
PlatformLogger.prototype.
|
|
4981
|
+
PlatformLogger.prototype.f2l = function (tag, msg) {
|
|
4916
4982
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4917
4983
|
};
|
|
4918
4984
|
//region block: post-declaration
|
|
@@ -4929,25 +4995,25 @@
|
|
|
4929
4995
|
_no_name_provided__qut3iv.prototype.g4 = fold;
|
|
4930
4996
|
_no_name_provided__qut3iv.prototype.f4 = minusKey;
|
|
4931
4997
|
_no_name_provided__qut3iv.prototype.h4 = plus;
|
|
4932
|
-
AsyncProviderImpl.prototype.
|
|
4933
|
-
AsyncProviderImpl.prototype.
|
|
4934
|
-
middleware$1.prototype.
|
|
4935
|
-
combineReducers$1.prototype.
|
|
4936
|
-
StoreLifecycleAction.prototype.
|
|
4937
|
-
INIT.prototype.
|
|
4938
|
-
REPLACE.prototype.
|
|
4939
|
-
TimerAction.prototype.
|
|
4940
|
-
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;
|
|
4941
5007
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4942
5008
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4943
|
-
StartTimerAction.prototype.
|
|
4944
|
-
TimerTickAction.prototype.
|
|
4945
|
-
CombinedGameLogger.prototype.
|
|
4946
|
-
CombinedGameLogger.prototype.
|
|
4947
|
-
CombinedGameLogger.prototype.
|
|
4948
|
-
PlatformGameLogger.prototype.
|
|
4949
|
-
PlatformGameLogger.prototype.
|
|
4950
|
-
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;
|
|
4951
5017
|
//endregion
|
|
4952
5018
|
//region block: exports
|
|
4953
5019
|
function $jsExportAll$(_) {
|