game_client_logic_deb 1.4.9 → 1.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +32 -32
- package/Logic_Debertz-core.js +761 -723
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6192 -6171
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2352 -2305
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +8 -8
- package/kotlin-kotlin-stdlib-js-ir.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', './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', './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('./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('./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'.");
|
|
@@ -13,15 +13,18 @@
|
|
|
13
13
|
if (typeof this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx.coroutines-kotlinx-coroutines-core-js-ir' was not found. Please, check whether 'kotlinx.coroutines-kotlinx-coroutines-core-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
15
15
|
}
|
|
16
|
+
if (typeof this['uuid-js-ir'] === 'undefined') {
|
|
17
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'uuid-js-ir' was not found. Please, check whether 'uuid-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
|
+
}
|
|
16
19
|
if (typeof this['Kaverit-kaverit'] === 'undefined') {
|
|
17
20
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kaverit-kaverit' was not found. Please, check whether 'Kaverit-kaverit' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
21
|
}
|
|
19
22
|
if (typeof this['Kodein-kodein-di'] === 'undefined') {
|
|
20
23
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kodein-kodein-di' was not found. Please, check whether 'Kodein-kodein-di' is loaded prior to 'Logic_Debertz-core'.");
|
|
21
24
|
}
|
|
22
|
-
root['Logic_Debertz-core'] = factory(typeof this['Logic_Debertz-core'] === 'undefined' ? {} : this['Logic_Debertz-core'], this['kotlin-kotlin-stdlib-js-ir'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], this['Kaverit-kaverit'], this['Kodein-kodein-di']);
|
|
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']);
|
|
23
26
|
}
|
|
24
|
-
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di) {
|
|
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) {
|
|
25
28
|
'use strict';
|
|
26
29
|
//region block: imports
|
|
27
30
|
var imul = Math.imul;
|
|
@@ -75,6 +78,7 @@
|
|
|
75
78
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
76
79
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
77
80
|
var launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
81
|
+
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
78
82
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
79
83
|
var toSet = kotlin_kotlin.$_$.p7;
|
|
80
84
|
var arrayOf = kotlin_kotlin.$_$.jc;
|
|
@@ -168,16 +172,18 @@
|
|
|
168
172
|
setMetadataFor(_no_name_provided__qut3iv, undefined, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element], undefined, undefined, []);
|
|
169
173
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
170
174
|
if (!(($mask0 & 1) === 0))
|
|
171
|
-
context = this.
|
|
172
|
-
return $handler == null ? this.
|
|
175
|
+
context = this.b2h();
|
|
176
|
+
return $handler == null ? this.e2h(context, block) : $handler(context, block);
|
|
173
177
|
}
|
|
174
178
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
175
179
|
if (!(($mask0 & 1) === 0))
|
|
176
|
-
context = this.
|
|
177
|
-
return $handler == null ? this.
|
|
180
|
+
context = this.b2h();
|
|
181
|
+
return $handler == null ? this.c2h(context, block) : $handler(context, block);
|
|
178
182
|
}
|
|
179
183
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
180
184
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, undefined, [AsyncProvider], undefined, undefined, []);
|
|
185
|
+
setMetadataFor(IdsProvider, 'IdsProvider', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
186
|
+
setMetadataFor(UUIDIdsProvider, 'UUIDIdsProvider', classMeta, undefined, [IdsProvider], undefined, undefined, []);
|
|
181
187
|
setMetadataFor(JobsProvider, 'JobsProvider', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
182
188
|
setMetadataFor(JobsProviderImpl, 'JobsProviderImpl', classMeta, undefined, [JobsProvider], undefined, undefined, []);
|
|
183
189
|
setMetadataFor(Store, 'Store', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
@@ -232,7 +238,7 @@
|
|
|
232
238
|
payload = null;
|
|
233
239
|
var tmp;
|
|
234
240
|
if ($handler == null) {
|
|
235
|
-
this.
|
|
241
|
+
this.t2k(tag, message, payload);
|
|
236
242
|
tmp = Unit_getInstance();
|
|
237
243
|
} else {
|
|
238
244
|
tmp = $handler(tag, message, payload);
|
|
@@ -250,7 +256,7 @@
|
|
|
250
256
|
payload = null;
|
|
251
257
|
var tmp;
|
|
252
258
|
if ($handler == null) {
|
|
253
|
-
this.
|
|
259
|
+
this.v2k(tag, message, exception, payload);
|
|
254
260
|
tmp = Unit_getInstance();
|
|
255
261
|
} else {
|
|
256
262
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -264,7 +270,7 @@
|
|
|
264
270
|
payload = null;
|
|
265
271
|
var tmp;
|
|
266
272
|
if ($handler == null) {
|
|
267
|
-
this.
|
|
273
|
+
this.w2k(tag, message, payload);
|
|
268
274
|
tmp = Unit_getInstance();
|
|
269
275
|
} else {
|
|
270
276
|
tmp = $handler(tag, message, payload);
|
|
@@ -280,9 +286,9 @@
|
|
|
280
286
|
//endregion
|
|
281
287
|
function GameEngineConfig() {
|
|
282
288
|
GameEngineConfig_instance = this;
|
|
283
|
-
this.version = '1.4.
|
|
289
|
+
this.version = '1.4.11';
|
|
284
290
|
}
|
|
285
|
-
GameEngineConfig.prototype.
|
|
291
|
+
GameEngineConfig.prototype.q2b = function () {
|
|
286
292
|
return this.version;
|
|
287
293
|
};
|
|
288
294
|
var GameEngineConfig_instance;
|
|
@@ -330,10 +336,10 @@
|
|
|
330
336
|
Companion_instance = this;
|
|
331
337
|
var tmp = this;
|
|
332
338
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
333
|
-
tmp.
|
|
339
|
+
tmp.r2b_1 = lazy(tmp_0, ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon);
|
|
334
340
|
}
|
|
335
341
|
Companion.prototype.l1w = function () {
|
|
336
|
-
return this.
|
|
342
|
+
return this.r2b_1.j1();
|
|
337
343
|
};
|
|
338
344
|
Companion.prototype.b1l = function (typeParamsSerializers) {
|
|
339
345
|
return this.l1w();
|
|
@@ -363,10 +369,10 @@
|
|
|
363
369
|
$serializer_instance = this;
|
|
364
370
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
365
371
|
tmp0_serialDesc.b1k('playerId', false);
|
|
366
|
-
this.
|
|
372
|
+
this.s2b_1 = tmp0_serialDesc;
|
|
367
373
|
}
|
|
368
374
|
$serializer.prototype.p19 = function () {
|
|
369
|
-
return this.
|
|
375
|
+
return this.s2b_1;
|
|
370
376
|
};
|
|
371
377
|
$serializer.prototype.q1k = function () {
|
|
372
378
|
var tmp$ret$2;
|
|
@@ -382,7 +388,7 @@
|
|
|
382
388
|
return tmp$ret$2;
|
|
383
389
|
};
|
|
384
390
|
$serializer.prototype.r19 = function (decoder) {
|
|
385
|
-
var tmp0_desc = this.
|
|
391
|
+
var tmp0_desc = this.s2b_1;
|
|
386
392
|
var tmp1_flag = true;
|
|
387
393
|
var tmp2_index = 0;
|
|
388
394
|
var tmp3_bitMask0 = 0;
|
|
@@ -409,14 +415,14 @@
|
|
|
409
415
|
tmp5_input.x1c(tmp0_desc);
|
|
410
416
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
411
417
|
};
|
|
412
|
-
$serializer.prototype.
|
|
413
|
-
var tmp0_desc = this.
|
|
418
|
+
$serializer.prototype.t2b = function (encoder, value) {
|
|
419
|
+
var tmp0_desc = this.s2b_1;
|
|
414
420
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
415
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
421
|
+
tmp1_output.l1e(tmp0_desc, 0, value.u2b_1);
|
|
416
422
|
tmp1_output.x1c(tmp0_desc);
|
|
417
423
|
};
|
|
418
424
|
$serializer.prototype.q19 = function (encoder, value) {
|
|
419
|
-
return this.
|
|
425
|
+
return this.t2b(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
420
426
|
};
|
|
421
427
|
var $serializer_instance;
|
|
422
428
|
function $serializer_getInstance() {
|
|
@@ -426,10 +432,10 @@
|
|
|
426
432
|
}
|
|
427
433
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
428
434
|
if (!(1 === (1 & seen1))) {
|
|
429
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
435
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().s2b_1);
|
|
430
436
|
}
|
|
431
437
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
432
|
-
$this.
|
|
438
|
+
$this.u2b_1 = playerId;
|
|
433
439
|
return $this;
|
|
434
440
|
}
|
|
435
441
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -438,13 +444,13 @@
|
|
|
438
444
|
function PlayerReturnsReason(playerId) {
|
|
439
445
|
Companion_getInstance_0();
|
|
440
446
|
ContinueGameReason.call(this);
|
|
441
|
-
this.
|
|
447
|
+
this.u2b_1 = playerId;
|
|
442
448
|
}
|
|
443
449
|
PlayerReturnsReason.prototype.toString = function () {
|
|
444
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
450
|
+
return 'PlayerReturnsReason(playerId=' + this.u2b_1 + ')';
|
|
445
451
|
};
|
|
446
452
|
PlayerReturnsReason.prototype.hashCode = function () {
|
|
447
|
-
return getStringHashCode(this.
|
|
453
|
+
return getStringHashCode(this.u2b_1);
|
|
448
454
|
};
|
|
449
455
|
PlayerReturnsReason.prototype.equals = function (other) {
|
|
450
456
|
if (this === other)
|
|
@@ -452,7 +458,7 @@
|
|
|
452
458
|
if (!(other instanceof PlayerReturnsReason))
|
|
453
459
|
return false;
|
|
454
460
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
455
|
-
if (!(this.
|
|
461
|
+
if (!(this.u2b_1 === tmp0_other_with_cast.u2b_1))
|
|
456
462
|
return false;
|
|
457
463
|
return true;
|
|
458
464
|
};
|
|
@@ -473,13 +479,13 @@
|
|
|
473
479
|
RestartGameReason_instance = this;
|
|
474
480
|
var tmp = this;
|
|
475
481
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
476
|
-
tmp.
|
|
482
|
+
tmp.v2b_1 = lazy(tmp_0, RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb);
|
|
477
483
|
}
|
|
478
484
|
RestartGameReason.prototype.toString = function () {
|
|
479
485
|
return 'RestartGameReason';
|
|
480
486
|
};
|
|
481
487
|
RestartGameReason.prototype.l1w = function () {
|
|
482
|
-
return this.
|
|
488
|
+
return this.v2b_1.j1();
|
|
483
489
|
};
|
|
484
490
|
RestartGameReason.prototype.b1l = function (typeParamsSerializers) {
|
|
485
491
|
return this.l1w();
|
|
@@ -555,10 +561,10 @@
|
|
|
555
561
|
Companion_instance_1 = this;
|
|
556
562
|
var tmp = this;
|
|
557
563
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
558
|
-
tmp.
|
|
564
|
+
tmp.w2b_1 = lazy(tmp_0, TerminationGameReason$Companion$$cachedSerializer$delegate$_anonymous__honqx0);
|
|
559
565
|
}
|
|
560
566
|
Companion_1.prototype.serializer = function () {
|
|
561
|
-
return this.
|
|
567
|
+
return this.w2b_1.j1();
|
|
562
568
|
};
|
|
563
569
|
Companion_1.prototype.b1l = function (typeParamsSerializers) {
|
|
564
570
|
return this.serializer();
|
|
@@ -591,10 +597,10 @@
|
|
|
591
597
|
$serializer_instance_0 = this;
|
|
592
598
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
593
599
|
tmp0_serialDesc.b1k('reason', false);
|
|
594
|
-
this.
|
|
600
|
+
this.x2b_1 = tmp0_serialDesc;
|
|
595
601
|
}
|
|
596
602
|
$serializer_0.prototype.p19 = function () {
|
|
597
|
-
return this.
|
|
603
|
+
return this.x2b_1;
|
|
598
604
|
};
|
|
599
605
|
$serializer_0.prototype.q1k = function () {
|
|
600
606
|
var tmp$ret$2;
|
|
@@ -610,7 +616,7 @@
|
|
|
610
616
|
return tmp$ret$2;
|
|
611
617
|
};
|
|
612
618
|
$serializer_0.prototype.r19 = function (decoder) {
|
|
613
|
-
var tmp0_desc = this.
|
|
619
|
+
var tmp0_desc = this.x2b_1;
|
|
614
620
|
var tmp1_flag = true;
|
|
615
621
|
var tmp2_index = 0;
|
|
616
622
|
var tmp3_bitMask0 = 0;
|
|
@@ -637,14 +643,14 @@
|
|
|
637
643
|
tmp5_input.x1c(tmp0_desc);
|
|
638
644
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
639
645
|
};
|
|
640
|
-
$serializer_0.prototype.
|
|
641
|
-
var tmp0_desc = this.
|
|
646
|
+
$serializer_0.prototype.y2b = function (encoder, value) {
|
|
647
|
+
var tmp0_desc = this.x2b_1;
|
|
642
648
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
643
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
649
|
+
tmp1_output.l1e(tmp0_desc, 0, value.z2b_1);
|
|
644
650
|
tmp1_output.x1c(tmp0_desc);
|
|
645
651
|
};
|
|
646
652
|
$serializer_0.prototype.q19 = function (encoder, value) {
|
|
647
|
-
return this.
|
|
653
|
+
return this.y2b(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
648
654
|
};
|
|
649
655
|
var $serializer_instance_0;
|
|
650
656
|
function $serializer_getInstance_0() {
|
|
@@ -654,10 +660,10 @@
|
|
|
654
660
|
}
|
|
655
661
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
656
662
|
if (!(1 === (1 & seen1))) {
|
|
657
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().
|
|
663
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().x2b_1);
|
|
658
664
|
}
|
|
659
665
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
660
|
-
$this.
|
|
666
|
+
$this.z2b_1 = reason;
|
|
661
667
|
return $this;
|
|
662
668
|
}
|
|
663
669
|
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -666,13 +672,13 @@
|
|
|
666
672
|
function GameErrorReason(reason) {
|
|
667
673
|
Companion_getInstance_2();
|
|
668
674
|
TerminationGameReason.call(this);
|
|
669
|
-
this.
|
|
675
|
+
this.z2b_1 = reason;
|
|
670
676
|
}
|
|
671
677
|
GameErrorReason.prototype.toString = function () {
|
|
672
|
-
return 'GameErrorReason(reason=' + this.
|
|
678
|
+
return 'GameErrorReason(reason=' + this.z2b_1 + ')';
|
|
673
679
|
};
|
|
674
680
|
GameErrorReason.prototype.hashCode = function () {
|
|
675
|
-
return getStringHashCode(this.
|
|
681
|
+
return getStringHashCode(this.z2b_1);
|
|
676
682
|
};
|
|
677
683
|
GameErrorReason.prototype.equals = function (other) {
|
|
678
684
|
if (this === other)
|
|
@@ -680,7 +686,7 @@
|
|
|
680
686
|
if (!(other instanceof GameErrorReason))
|
|
681
687
|
return false;
|
|
682
688
|
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
683
|
-
if (!(this.
|
|
689
|
+
if (!(this.z2b_1 === tmp0_other_with_cast.z2b_1))
|
|
684
690
|
return false;
|
|
685
691
|
return true;
|
|
686
692
|
};
|
|
@@ -695,10 +701,10 @@
|
|
|
695
701
|
Companion_instance_3 = this;
|
|
696
702
|
var tmp = this;
|
|
697
703
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
698
|
-
tmp.
|
|
704
|
+
tmp.a2c_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$$cachedSerializer$delegate$_anonymous__1olwq2);
|
|
699
705
|
}
|
|
700
706
|
Companion_3.prototype.l1w = function () {
|
|
701
|
-
return this.
|
|
707
|
+
return this.a2c_1.j1();
|
|
702
708
|
};
|
|
703
709
|
Companion_3.prototype.b1l = function (typeParamsSerializers) {
|
|
704
710
|
return this.l1w();
|
|
@@ -740,10 +746,10 @@
|
|
|
740
746
|
$serializer_instance_1 = this;
|
|
741
747
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
742
748
|
tmp0_serialDesc.b1k('reason', true);
|
|
743
|
-
this.
|
|
749
|
+
this.b2c_1 = tmp0_serialDesc;
|
|
744
750
|
}
|
|
745
751
|
$serializer_1.prototype.p19 = function () {
|
|
746
|
-
return this.
|
|
752
|
+
return this.b2c_1;
|
|
747
753
|
};
|
|
748
754
|
$serializer_1.prototype.q1k = function () {
|
|
749
755
|
var tmp$ret$2;
|
|
@@ -759,7 +765,7 @@
|
|
|
759
765
|
return tmp$ret$2;
|
|
760
766
|
};
|
|
761
767
|
$serializer_1.prototype.r19 = function (decoder) {
|
|
762
|
-
var tmp0_desc = this.
|
|
768
|
+
var tmp0_desc = this.b2c_1;
|
|
763
769
|
var tmp1_flag = true;
|
|
764
770
|
var tmp2_index = 0;
|
|
765
771
|
var tmp3_bitMask0 = 0;
|
|
@@ -786,16 +792,16 @@
|
|
|
786
792
|
tmp5_input.x1c(tmp0_desc);
|
|
787
793
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
788
794
|
};
|
|
789
|
-
$serializer_1.prototype.
|
|
790
|
-
var tmp0_desc = this.
|
|
795
|
+
$serializer_1.prototype.c2c = function (encoder, value) {
|
|
796
|
+
var tmp0_desc = this.b2c_1;
|
|
791
797
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
792
|
-
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.
|
|
793
|
-
tmp1_output.p1e(tmp0_desc, 0, Companion_getInstance_3().l1w(), value.
|
|
798
|
+
if (tmp1_output.t1e(tmp0_desc, 0) ? true : !(value.d2c_1 == null)) {
|
|
799
|
+
tmp1_output.p1e(tmp0_desc, 0, Companion_getInstance_3().l1w(), value.d2c_1);
|
|
794
800
|
}
|
|
795
801
|
tmp1_output.x1c(tmp0_desc);
|
|
796
802
|
};
|
|
797
803
|
$serializer_1.prototype.q19 = function (encoder, value) {
|
|
798
|
-
return this.
|
|
804
|
+
return this.c2c(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
799
805
|
};
|
|
800
806
|
var $serializer_instance_1;
|
|
801
807
|
function $serializer_getInstance_1() {
|
|
@@ -805,13 +811,13 @@
|
|
|
805
811
|
}
|
|
806
812
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
807
813
|
if (!(0 === (0 & seen1))) {
|
|
808
|
-
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().
|
|
814
|
+
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().b2c_1);
|
|
809
815
|
}
|
|
810
816
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
811
817
|
if (0 === (seen1 & 1))
|
|
812
|
-
$this.
|
|
818
|
+
$this.d2c_1 = null;
|
|
813
819
|
else
|
|
814
|
-
$this.
|
|
820
|
+
$this.d2c_1 = reason;
|
|
815
821
|
return $this;
|
|
816
822
|
}
|
|
817
823
|
function GameFinishedReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -836,13 +842,13 @@
|
|
|
836
842
|
function GameFinishedReason(reason) {
|
|
837
843
|
Companion_getInstance_4();
|
|
838
844
|
TerminationGameReason.call(this);
|
|
839
|
-
this.
|
|
845
|
+
this.d2c_1 = reason;
|
|
840
846
|
}
|
|
841
847
|
GameFinishedReason.prototype.toString = function () {
|
|
842
|
-
return 'GameFinishedReason(reason=' + this.
|
|
848
|
+
return 'GameFinishedReason(reason=' + this.d2c_1 + ')';
|
|
843
849
|
};
|
|
844
850
|
GameFinishedReason.prototype.hashCode = function () {
|
|
845
|
-
return this.
|
|
851
|
+
return this.d2c_1 == null ? 0 : this.d2c_1.hashCode();
|
|
846
852
|
};
|
|
847
853
|
GameFinishedReason.prototype.equals = function (other) {
|
|
848
854
|
if (this === other)
|
|
@@ -850,7 +856,7 @@
|
|
|
850
856
|
if (!(other instanceof GameFinishedReason))
|
|
851
857
|
return false;
|
|
852
858
|
var tmp0_other_with_cast = other instanceof GameFinishedReason ? other : THROW_CCE();
|
|
853
|
-
if (!equals(this.
|
|
859
|
+
if (!equals(this.d2c_1, tmp0_other_with_cast.d2c_1))
|
|
854
860
|
return false;
|
|
855
861
|
return true;
|
|
856
862
|
};
|
|
@@ -867,10 +873,10 @@
|
|
|
867
873
|
$serializer_instance_2 = this;
|
|
868
874
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
869
875
|
tmp0_serialDesc.b1k('playerId', false);
|
|
870
|
-
this.
|
|
876
|
+
this.e2c_1 = tmp0_serialDesc;
|
|
871
877
|
}
|
|
872
878
|
$serializer_2.prototype.p19 = function () {
|
|
873
|
-
return this.
|
|
879
|
+
return this.e2c_1;
|
|
874
880
|
};
|
|
875
881
|
$serializer_2.prototype.q1k = function () {
|
|
876
882
|
var tmp$ret$2;
|
|
@@ -886,7 +892,7 @@
|
|
|
886
892
|
return tmp$ret$2;
|
|
887
893
|
};
|
|
888
894
|
$serializer_2.prototype.r19 = function (decoder) {
|
|
889
|
-
var tmp0_desc = this.
|
|
895
|
+
var tmp0_desc = this.e2c_1;
|
|
890
896
|
var tmp1_flag = true;
|
|
891
897
|
var tmp2_index = 0;
|
|
892
898
|
var tmp3_bitMask0 = 0;
|
|
@@ -913,14 +919,14 @@
|
|
|
913
919
|
tmp5_input.x1c(tmp0_desc);
|
|
914
920
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
915
921
|
};
|
|
916
|
-
$serializer_2.prototype.
|
|
917
|
-
var tmp0_desc = this.
|
|
922
|
+
$serializer_2.prototype.f2c = function (encoder, value) {
|
|
923
|
+
var tmp0_desc = this.e2c_1;
|
|
918
924
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
919
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
925
|
+
tmp1_output.l1e(tmp0_desc, 0, value.g2c_1);
|
|
920
926
|
tmp1_output.x1c(tmp0_desc);
|
|
921
927
|
};
|
|
922
928
|
$serializer_2.prototype.q19 = function (encoder, value) {
|
|
923
|
-
return this.
|
|
929
|
+
return this.f2c(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
924
930
|
};
|
|
925
931
|
var $serializer_instance_2;
|
|
926
932
|
function $serializer_getInstance_2() {
|
|
@@ -930,10 +936,10 @@
|
|
|
930
936
|
}
|
|
931
937
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
932
938
|
if (!(1 === (1 & seen1))) {
|
|
933
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
939
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().e2c_1);
|
|
934
940
|
}
|
|
935
941
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
936
|
-
$this.
|
|
942
|
+
$this.g2c_1 = playerId;
|
|
937
943
|
return $this;
|
|
938
944
|
}
|
|
939
945
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -942,16 +948,16 @@
|
|
|
942
948
|
function PlayerExitReason(playerId) {
|
|
943
949
|
Companion_getInstance_5();
|
|
944
950
|
TerminationGameReason.call(this);
|
|
945
|
-
this.
|
|
951
|
+
this.g2c_1 = playerId;
|
|
946
952
|
}
|
|
947
|
-
PlayerExitReason.prototype.
|
|
948
|
-
return this.
|
|
953
|
+
PlayerExitReason.prototype.h2c = function () {
|
|
954
|
+
return this.g2c_1;
|
|
949
955
|
};
|
|
950
956
|
PlayerExitReason.prototype.toString = function () {
|
|
951
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
957
|
+
return 'PlayerExitReason(playerId=' + this.g2c_1 + ')';
|
|
952
958
|
};
|
|
953
959
|
PlayerExitReason.prototype.hashCode = function () {
|
|
954
|
-
return getStringHashCode(this.
|
|
960
|
+
return getStringHashCode(this.g2c_1);
|
|
955
961
|
};
|
|
956
962
|
PlayerExitReason.prototype.equals = function (other) {
|
|
957
963
|
if (this === other)
|
|
@@ -959,7 +965,7 @@
|
|
|
959
965
|
if (!(other instanceof PlayerExitReason))
|
|
960
966
|
return false;
|
|
961
967
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
962
|
-
if (!(this.
|
|
968
|
+
if (!(this.g2c_1 === tmp0_other_with_cast.g2c_1))
|
|
963
969
|
return false;
|
|
964
970
|
return true;
|
|
965
971
|
};
|
|
@@ -977,10 +983,10 @@
|
|
|
977
983
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
978
984
|
tmp0_serialDesc.b1k('playerId', false);
|
|
979
985
|
tmp0_serialDesc.b1k('tag', false);
|
|
980
|
-
this.
|
|
986
|
+
this.i2c_1 = tmp0_serialDesc;
|
|
981
987
|
}
|
|
982
988
|
$serializer_3.prototype.p19 = function () {
|
|
983
|
-
return this.
|
|
989
|
+
return this.i2c_1;
|
|
984
990
|
};
|
|
985
991
|
$serializer_3.prototype.q1k = function () {
|
|
986
992
|
var tmp$ret$2;
|
|
@@ -996,7 +1002,7 @@
|
|
|
996
1002
|
return tmp$ret$2;
|
|
997
1003
|
};
|
|
998
1004
|
$serializer_3.prototype.r19 = function (decoder) {
|
|
999
|
-
var tmp0_desc = this.
|
|
1005
|
+
var tmp0_desc = this.i2c_1;
|
|
1000
1006
|
var tmp1_flag = true;
|
|
1001
1007
|
var tmp2_index = 0;
|
|
1002
1008
|
var tmp3_bitMask0 = 0;
|
|
@@ -1030,15 +1036,15 @@
|
|
|
1030
1036
|
tmp6_input.x1c(tmp0_desc);
|
|
1031
1037
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1032
1038
|
};
|
|
1033
|
-
$serializer_3.prototype.
|
|
1034
|
-
var tmp0_desc = this.
|
|
1039
|
+
$serializer_3.prototype.j2c = function (encoder, value) {
|
|
1040
|
+
var tmp0_desc = this.i2c_1;
|
|
1035
1041
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
1036
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
1037
|
-
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1042
|
+
tmp1_output.l1e(tmp0_desc, 0, value.k2c_1);
|
|
1043
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.l2c_1);
|
|
1038
1044
|
tmp1_output.x1c(tmp0_desc);
|
|
1039
1045
|
};
|
|
1040
1046
|
$serializer_3.prototype.q19 = function (encoder, value) {
|
|
1041
|
-
return this.
|
|
1047
|
+
return this.j2c(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
1042
1048
|
};
|
|
1043
1049
|
var $serializer_instance_3;
|
|
1044
1050
|
function $serializer_getInstance_3() {
|
|
@@ -1048,11 +1054,11 @@
|
|
|
1048
1054
|
}
|
|
1049
1055
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1050
1056
|
if (!(3 === (3 & seen1))) {
|
|
1051
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().
|
|
1057
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().i2c_1);
|
|
1052
1058
|
}
|
|
1053
1059
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1054
|
-
$this.
|
|
1055
|
-
$this.
|
|
1060
|
+
$this.k2c_1 = playerId;
|
|
1061
|
+
$this.l2c_1 = tag;
|
|
1056
1062
|
return $this;
|
|
1057
1063
|
}
|
|
1058
1064
|
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1061,18 +1067,18 @@
|
|
|
1061
1067
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
1062
1068
|
Companion_getInstance_6();
|
|
1063
1069
|
TerminationGameReason.call(this);
|
|
1064
|
-
this.
|
|
1065
|
-
this.
|
|
1070
|
+
this.k2c_1 = playerId;
|
|
1071
|
+
this.l2c_1 = tag;
|
|
1066
1072
|
}
|
|
1067
|
-
PlayerLostConnectionReason.prototype.
|
|
1068
|
-
return this.
|
|
1073
|
+
PlayerLostConnectionReason.prototype.h2c = function () {
|
|
1074
|
+
return this.k2c_1;
|
|
1069
1075
|
};
|
|
1070
1076
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
1071
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
1077
|
+
return 'PlayerLostConnectionReason(playerId=' + this.k2c_1 + ', tag=' + this.l2c_1 + ')';
|
|
1072
1078
|
};
|
|
1073
1079
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
1074
|
-
var result = getStringHashCode(this.
|
|
1075
|
-
result = imul(result, 31) + (this.
|
|
1080
|
+
var result = getStringHashCode(this.k2c_1);
|
|
1081
|
+
result = imul(result, 31) + (this.l2c_1 == null ? 0 : getStringHashCode(this.l2c_1)) | 0;
|
|
1076
1082
|
return result;
|
|
1077
1083
|
};
|
|
1078
1084
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -1081,9 +1087,9 @@
|
|
|
1081
1087
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
1082
1088
|
return false;
|
|
1083
1089
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
1084
|
-
if (!(this.
|
|
1090
|
+
if (!(this.k2c_1 === tmp0_other_with_cast.k2c_1))
|
|
1085
1091
|
return false;
|
|
1086
|
-
if (!(this.
|
|
1092
|
+
if (!(this.l2c_1 == tmp0_other_with_cast.l2c_1))
|
|
1087
1093
|
return false;
|
|
1088
1094
|
return true;
|
|
1089
1095
|
};
|
|
@@ -1101,10 +1107,10 @@
|
|
|
1101
1107
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
1102
1108
|
tmp0_serialDesc.b1k('playerId', false);
|
|
1103
1109
|
tmp0_serialDesc.b1k('tag', false);
|
|
1104
|
-
this.
|
|
1110
|
+
this.m2c_1 = tmp0_serialDesc;
|
|
1105
1111
|
}
|
|
1106
1112
|
$serializer_4.prototype.p19 = function () {
|
|
1107
|
-
return this.
|
|
1113
|
+
return this.m2c_1;
|
|
1108
1114
|
};
|
|
1109
1115
|
$serializer_4.prototype.q1k = function () {
|
|
1110
1116
|
var tmp$ret$2;
|
|
@@ -1120,7 +1126,7 @@
|
|
|
1120
1126
|
return tmp$ret$2;
|
|
1121
1127
|
};
|
|
1122
1128
|
$serializer_4.prototype.r19 = function (decoder) {
|
|
1123
|
-
var tmp0_desc = this.
|
|
1129
|
+
var tmp0_desc = this.m2c_1;
|
|
1124
1130
|
var tmp1_flag = true;
|
|
1125
1131
|
var tmp2_index = 0;
|
|
1126
1132
|
var tmp3_bitMask0 = 0;
|
|
@@ -1154,15 +1160,15 @@
|
|
|
1154
1160
|
tmp6_input.x1c(tmp0_desc);
|
|
1155
1161
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1156
1162
|
};
|
|
1157
|
-
$serializer_4.prototype.
|
|
1158
|
-
var tmp0_desc = this.
|
|
1163
|
+
$serializer_4.prototype.n2c = function (encoder, value) {
|
|
1164
|
+
var tmp0_desc = this.m2c_1;
|
|
1159
1165
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
1160
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
1161
|
-
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1166
|
+
tmp1_output.l1e(tmp0_desc, 0, value.o2c_1);
|
|
1167
|
+
tmp1_output.p1e(tmp0_desc, 1, StringSerializer_getInstance(), value.p2c_1);
|
|
1162
1168
|
tmp1_output.x1c(tmp0_desc);
|
|
1163
1169
|
};
|
|
1164
1170
|
$serializer_4.prototype.q19 = function (encoder, value) {
|
|
1165
|
-
return this.
|
|
1171
|
+
return this.n2c(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
1166
1172
|
};
|
|
1167
1173
|
var $serializer_instance_4;
|
|
1168
1174
|
function $serializer_getInstance_4() {
|
|
@@ -1172,11 +1178,11 @@
|
|
|
1172
1178
|
}
|
|
1173
1179
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1174
1180
|
if (!(3 === (3 & seen1))) {
|
|
1175
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().
|
|
1181
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().m2c_1);
|
|
1176
1182
|
}
|
|
1177
1183
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1178
|
-
$this.
|
|
1179
|
-
$this.
|
|
1184
|
+
$this.o2c_1 = playerId;
|
|
1185
|
+
$this.p2c_1 = tag;
|
|
1180
1186
|
return $this;
|
|
1181
1187
|
}
|
|
1182
1188
|
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1185,18 +1191,18 @@
|
|
|
1185
1191
|
function PlayerTimeoutReason(playerId, tag) {
|
|
1186
1192
|
Companion_getInstance_7();
|
|
1187
1193
|
TerminationGameReason.call(this);
|
|
1188
|
-
this.
|
|
1189
|
-
this.
|
|
1194
|
+
this.o2c_1 = playerId;
|
|
1195
|
+
this.p2c_1 = tag;
|
|
1190
1196
|
}
|
|
1191
|
-
PlayerTimeoutReason.prototype.
|
|
1192
|
-
return this.
|
|
1197
|
+
PlayerTimeoutReason.prototype.h2c = function () {
|
|
1198
|
+
return this.o2c_1;
|
|
1193
1199
|
};
|
|
1194
1200
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
1195
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1201
|
+
return 'PlayerTimeoutReason(playerId=' + this.o2c_1 + ', tag=' + this.p2c_1 + ')';
|
|
1196
1202
|
};
|
|
1197
1203
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
1198
|
-
var result = getStringHashCode(this.
|
|
1199
|
-
result = imul(result, 31) + (this.
|
|
1204
|
+
var result = getStringHashCode(this.o2c_1);
|
|
1205
|
+
result = imul(result, 31) + (this.p2c_1 == null ? 0 : getStringHashCode(this.p2c_1)) | 0;
|
|
1200
1206
|
return result;
|
|
1201
1207
|
};
|
|
1202
1208
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -1205,9 +1211,9 @@
|
|
|
1205
1211
|
if (!(other instanceof PlayerTimeoutReason))
|
|
1206
1212
|
return false;
|
|
1207
1213
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1208
|
-
if (!(this.
|
|
1214
|
+
if (!(this.o2c_1 === tmp0_other_with_cast.o2c_1))
|
|
1209
1215
|
return false;
|
|
1210
|
-
if (!(this.
|
|
1216
|
+
if (!(this.p2c_1 == tmp0_other_with_cast.p2c_1))
|
|
1211
1217
|
return false;
|
|
1212
1218
|
return true;
|
|
1213
1219
|
};
|
|
@@ -1229,13 +1235,13 @@
|
|
|
1229
1235
|
TerminationGameReason.call(this);
|
|
1230
1236
|
var tmp = this;
|
|
1231
1237
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1232
|
-
tmp.
|
|
1238
|
+
tmp.q2c_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
1233
1239
|
}
|
|
1234
1240
|
ProcessingReason.prototype.toString = function () {
|
|
1235
1241
|
return 'ProcessingReason';
|
|
1236
1242
|
};
|
|
1237
1243
|
ProcessingReason.prototype.l1w = function () {
|
|
1238
|
-
return this.
|
|
1244
|
+
return this.q2c_1.j1();
|
|
1239
1245
|
};
|
|
1240
1246
|
ProcessingReason.prototype.b1l = function (typeParamsSerializers) {
|
|
1241
1247
|
return this.l1w();
|
|
@@ -1264,13 +1270,13 @@
|
|
|
1264
1270
|
TerminationGameReason.call(this);
|
|
1265
1271
|
var tmp = this;
|
|
1266
1272
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1267
|
-
tmp.
|
|
1273
|
+
tmp.r2c_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
1268
1274
|
}
|
|
1269
1275
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
1270
1276
|
return 'WaitingForConnectionReason';
|
|
1271
1277
|
};
|
|
1272
1278
|
WaitingForConnectionReason.prototype.l1w = function () {
|
|
1273
|
-
return this.
|
|
1279
|
+
return this.r2c_1.j1();
|
|
1274
1280
|
};
|
|
1275
1281
|
WaitingForConnectionReason.prototype.b1l = function (typeParamsSerializers) {
|
|
1276
1282
|
return this.l1w();
|
|
@@ -1301,29 +1307,29 @@
|
|
|
1301
1307
|
function GameUserInfo(playerId, name, avatarUrl, isBot, payload) {
|
|
1302
1308
|
var isBot_0 = isBot === void 1 ? false : isBot;
|
|
1303
1309
|
var payload_0 = payload === void 1 ? null : payload;
|
|
1304
|
-
this.
|
|
1310
|
+
this.s2c_1 = playerId;
|
|
1305
1311
|
this.name = name;
|
|
1306
1312
|
this.avatarUrl = avatarUrl;
|
|
1307
1313
|
this.isBot = isBot_0;
|
|
1308
1314
|
this.payload = payload_0;
|
|
1309
1315
|
}
|
|
1310
|
-
GameUserInfo.prototype.
|
|
1311
|
-
return this.
|
|
1316
|
+
GameUserInfo.prototype.h2c = function () {
|
|
1317
|
+
return this.s2c_1;
|
|
1312
1318
|
};
|
|
1313
1319
|
GameUserInfo.prototype.zf = function () {
|
|
1314
1320
|
return this.name;
|
|
1315
1321
|
};
|
|
1316
|
-
GameUserInfo.prototype.
|
|
1322
|
+
GameUserInfo.prototype.t2c = function () {
|
|
1317
1323
|
return this.avatarUrl;
|
|
1318
1324
|
};
|
|
1319
|
-
GameUserInfo.prototype.
|
|
1325
|
+
GameUserInfo.prototype.u2c = function () {
|
|
1320
1326
|
return this.isBot;
|
|
1321
1327
|
};
|
|
1322
|
-
GameUserInfo.prototype.
|
|
1328
|
+
GameUserInfo.prototype.v2c = function () {
|
|
1323
1329
|
return this.payload;
|
|
1324
1330
|
};
|
|
1325
1331
|
GameUserInfo.prototype.component1 = function () {
|
|
1326
|
-
return this.
|
|
1332
|
+
return this.s2c_1;
|
|
1327
1333
|
};
|
|
1328
1334
|
GameUserInfo.prototype.component2 = function () {
|
|
1329
1335
|
return this.name;
|
|
@@ -1338,14 +1344,14 @@
|
|
|
1338
1344
|
return this.payload;
|
|
1339
1345
|
};
|
|
1340
1346
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1341
|
-
return this.
|
|
1347
|
+
return this.w2c(playerId === void 1 ? this.s2c_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);
|
|
1342
1348
|
};
|
|
1343
|
-
GameUserInfo.prototype.
|
|
1349
|
+
GameUserInfo.prototype.w2c = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1344
1350
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, payload);
|
|
1345
1351
|
};
|
|
1346
|
-
GameUserInfo.prototype.
|
|
1352
|
+
GameUserInfo.prototype.x2c = function (playerId, name, avatarUrl, isBot, payload, $mask0, $handler) {
|
|
1347
1353
|
if (!(($mask0 & 1) === 0))
|
|
1348
|
-
playerId = this.
|
|
1354
|
+
playerId = this.s2c_1;
|
|
1349
1355
|
if (!(($mask0 & 2) === 0))
|
|
1350
1356
|
name = this.name;
|
|
1351
1357
|
if (!(($mask0 & 4) === 0))
|
|
@@ -1354,13 +1360,13 @@
|
|
|
1354
1360
|
isBot = this.isBot;
|
|
1355
1361
|
if (!(($mask0 & 16) === 0))
|
|
1356
1362
|
payload = this.payload;
|
|
1357
|
-
return this.
|
|
1363
|
+
return this.w2c(playerId, name, avatarUrl, isBot, payload);
|
|
1358
1364
|
};
|
|
1359
1365
|
GameUserInfo.prototype.toString = function () {
|
|
1360
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1366
|
+
return 'GameUserInfo(playerId=' + this.s2c_1 + ', name=' + this.name + ', avatarUrl=' + this.avatarUrl + ', isBot=' + this.isBot + ', payload=' + toString(this.payload) + ')';
|
|
1361
1367
|
};
|
|
1362
1368
|
GameUserInfo.prototype.hashCode = function () {
|
|
1363
|
-
var result = getStringHashCode(this.
|
|
1369
|
+
var result = getStringHashCode(this.s2c_1);
|
|
1364
1370
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1365
1371
|
result = imul(result, 31) + getStringHashCode(this.avatarUrl) | 0;
|
|
1366
1372
|
result = imul(result, 31) + (this.isBot | 0) | 0;
|
|
@@ -1373,7 +1379,7 @@
|
|
|
1373
1379
|
if (!(other instanceof GameUserInfo))
|
|
1374
1380
|
return false;
|
|
1375
1381
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1376
|
-
if (!(this.
|
|
1382
|
+
if (!(this.s2c_1 === tmp0_other_with_cast.s2c_1))
|
|
1377
1383
|
return false;
|
|
1378
1384
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1379
1385
|
return false;
|
|
@@ -1388,7 +1394,7 @@
|
|
|
1388
1394
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
1389
1395
|
configurable: true,
|
|
1390
1396
|
get: function () {
|
|
1391
|
-
return this.
|
|
1397
|
+
return this.h2c();
|
|
1392
1398
|
}
|
|
1393
1399
|
});
|
|
1394
1400
|
function get_byIdPlayerPredicate() {
|
|
@@ -1492,7 +1498,7 @@
|
|
|
1492
1498
|
}
|
|
1493
1499
|
function playerTurnPredicate$lambda(p1) {
|
|
1494
1500
|
init_properties_Player_kt_txblev();
|
|
1495
|
-
return p1.xi().
|
|
1501
|
+
return p1.xi().e2d() ? true : p1.xi().d2d();
|
|
1496
1502
|
}
|
|
1497
1503
|
var properties_initialized_Player_kt_56shkt;
|
|
1498
1504
|
function init_properties_Player_kt_txblev() {
|
|
@@ -1516,10 +1522,10 @@
|
|
|
1516
1522
|
Companion_instance_8 = this;
|
|
1517
1523
|
var tmp = this;
|
|
1518
1524
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1519
|
-
tmp.
|
|
1525
|
+
tmp.f2d_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1520
1526
|
}
|
|
1521
1527
|
Companion_8.prototype.serializer = function () {
|
|
1522
|
-
return this.
|
|
1528
|
+
return this.f2d_1.j1();
|
|
1523
1529
|
};
|
|
1524
1530
|
Companion_8.prototype.b1l = function (typeParamsSerializers) {
|
|
1525
1531
|
return this.serializer();
|
|
@@ -1570,61 +1576,61 @@
|
|
|
1570
1576
|
function PlayerConnectionState(name, ordinal) {
|
|
1571
1577
|
Enum.call(this, name, ordinal);
|
|
1572
1578
|
}
|
|
1573
|
-
PlayerConnectionState.prototype.
|
|
1579
|
+
PlayerConnectionState.prototype.i2d = function () {
|
|
1574
1580
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1575
1581
|
};
|
|
1576
|
-
PlayerConnectionState.prototype.
|
|
1582
|
+
PlayerConnectionState.prototype.j2d = function () {
|
|
1577
1583
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1578
1584
|
};
|
|
1579
|
-
PlayerConnectionState.prototype.
|
|
1585
|
+
PlayerConnectionState.prototype.k2d = function () {
|
|
1580
1586
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1581
1587
|
};
|
|
1582
|
-
PlayerConnectionState.prototype.
|
|
1588
|
+
PlayerConnectionState.prototype.l2d = function () {
|
|
1583
1589
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1584
1590
|
};
|
|
1585
|
-
PlayerConnectionState.prototype.
|
|
1591
|
+
PlayerConnectionState.prototype.m2d = function () {
|
|
1586
1592
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1587
1593
|
};
|
|
1588
|
-
PlayerConnectionState.prototype.
|
|
1594
|
+
PlayerConnectionState.prototype.n2d = function () {
|
|
1589
1595
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1590
1596
|
};
|
|
1591
|
-
PlayerConnectionState.prototype.
|
|
1597
|
+
PlayerConnectionState.prototype.o2d = function () {
|
|
1592
1598
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1593
1599
|
};
|
|
1594
|
-
PlayerConnectionState.prototype.
|
|
1600
|
+
PlayerConnectionState.prototype.p2d = function () {
|
|
1595
1601
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1596
1602
|
};
|
|
1597
1603
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1598
1604
|
configurable: true,
|
|
1599
|
-
get: PlayerConnectionState.prototype.
|
|
1605
|
+
get: PlayerConnectionState.prototype.i2d
|
|
1600
1606
|
});
|
|
1601
1607
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1602
1608
|
configurable: true,
|
|
1603
|
-
get: PlayerConnectionState.prototype.
|
|
1609
|
+
get: PlayerConnectionState.prototype.j2d
|
|
1604
1610
|
});
|
|
1605
1611
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1606
1612
|
configurable: true,
|
|
1607
|
-
get: PlayerConnectionState.prototype.
|
|
1613
|
+
get: PlayerConnectionState.prototype.k2d
|
|
1608
1614
|
});
|
|
1609
1615
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1610
1616
|
configurable: true,
|
|
1611
|
-
get: PlayerConnectionState.prototype.
|
|
1617
|
+
get: PlayerConnectionState.prototype.l2d
|
|
1612
1618
|
});
|
|
1613
1619
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1614
1620
|
configurable: true,
|
|
1615
|
-
get: PlayerConnectionState.prototype.
|
|
1621
|
+
get: PlayerConnectionState.prototype.m2d
|
|
1616
1622
|
});
|
|
1617
1623
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1618
1624
|
configurable: true,
|
|
1619
|
-
get: PlayerConnectionState.prototype.
|
|
1625
|
+
get: PlayerConnectionState.prototype.n2d
|
|
1620
1626
|
});
|
|
1621
1627
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1622
1628
|
configurable: true,
|
|
1623
|
-
get: PlayerConnectionState.prototype.
|
|
1629
|
+
get: PlayerConnectionState.prototype.o2d
|
|
1624
1630
|
});
|
|
1625
1631
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1626
1632
|
configurable: true,
|
|
1627
|
-
get: PlayerConnectionState.prototype.
|
|
1633
|
+
get: PlayerConnectionState.prototype.p2d
|
|
1628
1634
|
});
|
|
1629
1635
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1630
1636
|
configurable: true,
|
|
@@ -1668,10 +1674,10 @@
|
|
|
1668
1674
|
Companion_instance_9 = this;
|
|
1669
1675
|
var tmp = this;
|
|
1670
1676
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1671
|
-
tmp.
|
|
1677
|
+
tmp.q2d_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1672
1678
|
}
|
|
1673
1679
|
Companion_9.prototype.l1w = function () {
|
|
1674
|
-
return this.
|
|
1680
|
+
return this.q2d_1.j1();
|
|
1675
1681
|
};
|
|
1676
1682
|
Companion_9.prototype.b1l = function (typeParamsSerializers) {
|
|
1677
1683
|
return this.l1w();
|
|
@@ -1699,27 +1705,27 @@
|
|
|
1699
1705
|
function PlayerWaitingState(name, ordinal) {
|
|
1700
1706
|
Enum.call(this, name, ordinal);
|
|
1701
1707
|
}
|
|
1702
|
-
PlayerWaitingState.prototype.
|
|
1703
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1708
|
+
PlayerWaitingState.prototype.e2d = function () {
|
|
1709
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.d2d();
|
|
1704
1710
|
};
|
|
1705
|
-
PlayerWaitingState.prototype.
|
|
1711
|
+
PlayerWaitingState.prototype.d2d = function () {
|
|
1706
1712
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1707
1713
|
};
|
|
1708
1714
|
function Companion_10() {
|
|
1709
1715
|
Companion_instance_10 = this;
|
|
1710
1716
|
}
|
|
1711
|
-
Companion_10.prototype.
|
|
1717
|
+
Companion_10.prototype.t2d = function (connectionState) {
|
|
1712
1718
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1713
1719
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1714
1720
|
};
|
|
1715
|
-
Companion_10.prototype.
|
|
1721
|
+
Companion_10.prototype.u2d = function (_this__u8e3s4) {
|
|
1716
1722
|
var tmp = new Long(0, 0);
|
|
1717
1723
|
var tmp_0 = PlayerWaitingState_IDLE_getInstance();
|
|
1718
|
-
return _this__u8e3s4.
|
|
1724
|
+
return _this__u8e3s4.v2d(tmp, tmp_0, false, null, null, 12, null);
|
|
1719
1725
|
};
|
|
1720
|
-
Companion_10.prototype.
|
|
1726
|
+
Companion_10.prototype.w2d = function (_this__u8e3s4, startFromTime, tag) {
|
|
1721
1727
|
var tmp0_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1722
|
-
return _this__u8e3s4.
|
|
1728
|
+
return _this__u8e3s4.v2d(startFromTime, tmp0_state, false, null, tag, 8, null);
|
|
1723
1729
|
};
|
|
1724
1730
|
var Companion_instance_10;
|
|
1725
1731
|
function Companion_getInstance_10() {
|
|
@@ -1741,16 +1747,16 @@
|
|
|
1741
1747
|
}
|
|
1742
1748
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1743
1749
|
Companion_getInstance_10();
|
|
1744
|
-
this.
|
|
1745
|
-
this.
|
|
1746
|
-
this.
|
|
1747
|
-
this.
|
|
1748
|
-
this.
|
|
1750
|
+
this.y2c_1 = startFromTime;
|
|
1751
|
+
this.z2c_1 = state;
|
|
1752
|
+
this.a2d_1 = ready;
|
|
1753
|
+
this.b2d_1 = connectionState;
|
|
1754
|
+
this.c2d_1 = tag;
|
|
1749
1755
|
}
|
|
1750
|
-
PlayerState.prototype.
|
|
1756
|
+
PlayerState.prototype.x2d = function () {
|
|
1751
1757
|
var tmp$ret$2;
|
|
1752
1758
|
// Inline function 'kotlin.requireNotNull' call
|
|
1753
|
-
var tmp0_requireNotNull = this.
|
|
1759
|
+
var tmp0_requireNotNull = this.c2d_1;
|
|
1754
1760
|
// Inline function 'kotlin.contracts.contract' call
|
|
1755
1761
|
var tmp$ret$1;
|
|
1756
1762
|
$l$block: {
|
|
@@ -1770,41 +1776,41 @@
|
|
|
1770
1776
|
tmp$ret$2 = tmp$ret$1;
|
|
1771
1777
|
return tmp$ret$2;
|
|
1772
1778
|
};
|
|
1773
|
-
PlayerState.prototype.
|
|
1774
|
-
var tmp0_elvis_lhs = this.
|
|
1779
|
+
PlayerState.prototype.y2d = function () {
|
|
1780
|
+
var tmp0_elvis_lhs = this.c2d_1;
|
|
1775
1781
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1776
1782
|
};
|
|
1777
|
-
PlayerState.prototype.
|
|
1778
|
-
return this.
|
|
1783
|
+
PlayerState.prototype.e2d = function () {
|
|
1784
|
+
return this.z2c_1.e2d();
|
|
1779
1785
|
};
|
|
1780
|
-
PlayerState.prototype.
|
|
1781
|
-
return this.
|
|
1786
|
+
PlayerState.prototype.d2d = function () {
|
|
1787
|
+
return this.z2c_1.d2d();
|
|
1782
1788
|
};
|
|
1783
|
-
PlayerState.prototype.
|
|
1789
|
+
PlayerState.prototype.z2d = function (startFromTime, state, ready, connectionState, tag) {
|
|
1784
1790
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1785
1791
|
};
|
|
1786
|
-
PlayerState.prototype.
|
|
1792
|
+
PlayerState.prototype.v2d = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1787
1793
|
if (!(($mask0 & 1) === 0))
|
|
1788
|
-
startFromTime = this.
|
|
1794
|
+
startFromTime = this.y2c_1;
|
|
1789
1795
|
if (!(($mask0 & 2) === 0))
|
|
1790
|
-
state = this.
|
|
1796
|
+
state = this.z2c_1;
|
|
1791
1797
|
if (!(($mask0 & 4) === 0))
|
|
1792
|
-
ready = this.
|
|
1798
|
+
ready = this.a2d_1;
|
|
1793
1799
|
if (!(($mask0 & 8) === 0))
|
|
1794
|
-
connectionState = this.
|
|
1800
|
+
connectionState = this.b2d_1;
|
|
1795
1801
|
if (!(($mask0 & 16) === 0))
|
|
1796
|
-
tag = this.
|
|
1797
|
-
return this.
|
|
1802
|
+
tag = this.c2d_1;
|
|
1803
|
+
return this.z2d(startFromTime, state, ready, connectionState, tag);
|
|
1798
1804
|
};
|
|
1799
1805
|
PlayerState.prototype.toString = function () {
|
|
1800
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1806
|
+
return 'PlayerState(startFromTime=' + toString_0(this.y2c_1) + ', state=' + this.z2c_1 + ', ready=' + this.a2d_1 + ', connectionState=' + this.b2d_1 + ', tag=' + this.c2d_1 + ')';
|
|
1801
1807
|
};
|
|
1802
1808
|
PlayerState.prototype.hashCode = function () {
|
|
1803
|
-
var result = this.
|
|
1804
|
-
result = imul(result, 31) + this.
|
|
1805
|
-
result = imul(result, 31) + (this.
|
|
1806
|
-
result = imul(result, 31) + this.
|
|
1807
|
-
result = imul(result, 31) + (this.
|
|
1809
|
+
var result = this.y2c_1.hashCode();
|
|
1810
|
+
result = imul(result, 31) + this.z2c_1.hashCode() | 0;
|
|
1811
|
+
result = imul(result, 31) + (this.a2d_1 | 0) | 0;
|
|
1812
|
+
result = imul(result, 31) + this.b2d_1.hashCode() | 0;
|
|
1813
|
+
result = imul(result, 31) + (this.c2d_1 == null ? 0 : getStringHashCode(this.c2d_1)) | 0;
|
|
1808
1814
|
return result;
|
|
1809
1815
|
};
|
|
1810
1816
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1813,26 +1819,26 @@
|
|
|
1813
1819
|
if (!(other instanceof PlayerState))
|
|
1814
1820
|
return false;
|
|
1815
1821
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1816
|
-
if (!this.
|
|
1822
|
+
if (!this.y2c_1.equals(tmp0_other_with_cast.y2c_1))
|
|
1817
1823
|
return false;
|
|
1818
|
-
if (!this.
|
|
1824
|
+
if (!this.z2c_1.equals(tmp0_other_with_cast.z2c_1))
|
|
1819
1825
|
return false;
|
|
1820
|
-
if (!(this.
|
|
1826
|
+
if (!(this.a2d_1 === tmp0_other_with_cast.a2d_1))
|
|
1821
1827
|
return false;
|
|
1822
|
-
if (!this.
|
|
1828
|
+
if (!this.b2d_1.equals(tmp0_other_with_cast.b2d_1))
|
|
1823
1829
|
return false;
|
|
1824
|
-
if (!(this.
|
|
1830
|
+
if (!(this.c2d_1 == tmp0_other_with_cast.c2d_1))
|
|
1825
1831
|
return false;
|
|
1826
1832
|
return true;
|
|
1827
1833
|
};
|
|
1828
1834
|
function Team(playerIds) {
|
|
1829
|
-
this.
|
|
1835
|
+
this.a2e_1 = playerIds;
|
|
1830
1836
|
}
|
|
1831
1837
|
Team.prototype.toString = function () {
|
|
1832
|
-
return 'Team(playerIds=' + this.
|
|
1838
|
+
return 'Team(playerIds=' + this.a2e_1 + ')';
|
|
1833
1839
|
};
|
|
1834
1840
|
Team.prototype.hashCode = function () {
|
|
1835
|
-
return hashCode(this.
|
|
1841
|
+
return hashCode(this.a2e_1);
|
|
1836
1842
|
};
|
|
1837
1843
|
Team.prototype.equals = function (other) {
|
|
1838
1844
|
if (this === other)
|
|
@@ -1840,7 +1846,7 @@
|
|
|
1840
1846
|
if (!(other instanceof Team))
|
|
1841
1847
|
return false;
|
|
1842
1848
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1843
|
-
if (!equals(this.
|
|
1849
|
+
if (!equals(this.a2e_1, tmp0_other_with_cast.a2e_1))
|
|
1844
1850
|
return false;
|
|
1845
1851
|
return true;
|
|
1846
1852
|
};
|
|
@@ -1888,55 +1894,55 @@
|
|
|
1888
1894
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1889
1895
|
this.tenCardsInHand = tenCardsInHand;
|
|
1890
1896
|
}
|
|
1891
|
-
Rules.prototype.
|
|
1897
|
+
Rules.prototype.b2e = function () {
|
|
1892
1898
|
return this.needToPutHigherTrump;
|
|
1893
1899
|
};
|
|
1894
|
-
Rules.prototype.
|
|
1900
|
+
Rules.prototype.c2e = function () {
|
|
1895
1901
|
return this.distributePoints;
|
|
1896
1902
|
};
|
|
1897
|
-
Rules.prototype.
|
|
1903
|
+
Rules.prototype.d2e = function () {
|
|
1898
1904
|
return this.protectBella;
|
|
1899
1905
|
};
|
|
1900
|
-
Rules.prototype.
|
|
1906
|
+
Rules.prototype.e2e = function () {
|
|
1901
1907
|
return this.oneTryToProtectBella;
|
|
1902
1908
|
};
|
|
1903
|
-
Rules.prototype.
|
|
1909
|
+
Rules.prototype.f2e = function () {
|
|
1904
1910
|
return this.enableFourSevensCombination;
|
|
1905
1911
|
};
|
|
1906
|
-
Rules.prototype.
|
|
1912
|
+
Rules.prototype.g2e = function () {
|
|
1907
1913
|
return this.enableTrumpSevenCombination;
|
|
1908
1914
|
};
|
|
1909
|
-
Rules.prototype.
|
|
1915
|
+
Rules.prototype.h2e = function () {
|
|
1910
1916
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1911
1917
|
};
|
|
1912
|
-
Rules.prototype.
|
|
1918
|
+
Rules.prototype.i2e = function () {
|
|
1913
1919
|
return this.playerWhoChooseSuitGoFirst;
|
|
1914
1920
|
};
|
|
1915
|
-
Rules.prototype.
|
|
1921
|
+
Rules.prototype.j2e = function () {
|
|
1916
1922
|
return this.winnerShuffleCards;
|
|
1917
1923
|
};
|
|
1918
|
-
Rules.prototype.
|
|
1924
|
+
Rules.prototype.k2e = function () {
|
|
1919
1925
|
return this.playWithoutLiabilities;
|
|
1920
1926
|
};
|
|
1921
|
-
Rules.prototype.
|
|
1927
|
+
Rules.prototype.l2e = function () {
|
|
1922
1928
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
1923
1929
|
};
|
|
1924
|
-
Rules.prototype.
|
|
1930
|
+
Rules.prototype.m2e = function () {
|
|
1925
1931
|
return this.enableFineIfNoBribes;
|
|
1926
1932
|
};
|
|
1927
|
-
Rules.prototype.
|
|
1933
|
+
Rules.prototype.n2e = function () {
|
|
1928
1934
|
return this.fineIfNoBribes;
|
|
1929
1935
|
};
|
|
1930
|
-
Rules.prototype.
|
|
1936
|
+
Rules.prototype.o2e = function () {
|
|
1931
1937
|
return this.enableFineAfterThirdByte;
|
|
1932
1938
|
};
|
|
1933
|
-
Rules.prototype.
|
|
1939
|
+
Rules.prototype.p2e = function () {
|
|
1934
1940
|
return this.checkTrumpCombination;
|
|
1935
1941
|
};
|
|
1936
|
-
Rules.prototype.
|
|
1942
|
+
Rules.prototype.q2e = function () {
|
|
1937
1943
|
return this.checkOnlyTrumpDebertz;
|
|
1938
1944
|
};
|
|
1939
|
-
Rules.prototype.
|
|
1945
|
+
Rules.prototype.r2e = function () {
|
|
1940
1946
|
return this.tenCardsInHand;
|
|
1941
1947
|
};
|
|
1942
1948
|
Rules.prototype.component1 = function () {
|
|
@@ -1991,12 +1997,12 @@
|
|
|
1991
1997
|
return this.tenCardsInHand;
|
|
1992
1998
|
};
|
|
1993
1999
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1994
|
-
return this.
|
|
2000
|
+
return this.s2e(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);
|
|
1995
2001
|
};
|
|
1996
|
-
Rules.prototype.
|
|
2002
|
+
Rules.prototype.s2e = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1997
2003
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1998
2004
|
};
|
|
1999
|
-
Rules.prototype.
|
|
2005
|
+
Rules.prototype.t2e = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
2000
2006
|
if (!(($mask0 & 1) === 0))
|
|
2001
2007
|
needToPutHigherTrump = this.needToPutHigherTrump;
|
|
2002
2008
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2031,7 +2037,7 @@
|
|
|
2031
2037
|
checkOnlyTrumpDebertz = this.checkOnlyTrumpDebertz;
|
|
2032
2038
|
if (!(($mask0 & 65536) === 0))
|
|
2033
2039
|
tenCardsInHand = this.tenCardsInHand;
|
|
2034
|
-
return this.
|
|
2040
|
+
return this.s2e(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2035
2041
|
};
|
|
2036
2042
|
Rules.prototype.toString = function () {
|
|
2037
2043
|
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 + ')';
|
|
@@ -2167,20 +2173,20 @@
|
|
|
2167
2173
|
return RulesSetType_custom_instance;
|
|
2168
2174
|
}
|
|
2169
2175
|
function mapToDto(_this__u8e3s4) {
|
|
2170
|
-
return _this__u8e3s4.
|
|
2176
|
+
return _this__u8e3s4.w2e_1;
|
|
2171
2177
|
}
|
|
2172
2178
|
function mapFromDto(_this__u8e3s4) {
|
|
2173
2179
|
return new GameCard(_this__u8e3s4);
|
|
2174
2180
|
}
|
|
2175
2181
|
function mapToDto_0(_this__u8e3s4) {
|
|
2176
|
-
return _this__u8e3s4.
|
|
2182
|
+
return _this__u8e3s4.y2e_1.w2e_1;
|
|
2177
2183
|
}
|
|
2178
2184
|
function mapToDto_1(_this__u8e3s4) {
|
|
2179
2185
|
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);
|
|
2180
2186
|
}
|
|
2181
2187
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2182
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2183
|
-
return new Rules(_this__u8e3s4.
|
|
2188
|
+
var tmp0_elvis_lhs = _this__u8e3s4.c2f_1;
|
|
2189
|
+
return new Rules(_this__u8e3s4.z2e_1, _this__u8e3s4.a2f_1, _this__u8e3s4.b2f_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.d2f_1, _this__u8e3s4.e2f_1, _this__u8e3s4.f2f_1, _this__u8e3s4.g2f_1, _this__u8e3s4.h2f_1, _this__u8e3s4.i2f_1, _this__u8e3s4.j2f_1, _this__u8e3s4.k2f_1, _this__u8e3s4.l2f_1, _this__u8e3s4.m2f_1, _this__u8e3s4.n2f_1, _this__u8e3s4.o2f_1, _this__u8e3s4.p2f_1);
|
|
2184
2190
|
}
|
|
2185
2191
|
function mapToDto_2(_this__u8e3s4) {
|
|
2186
2192
|
var tmp$ret$1;
|
|
@@ -2197,25 +2203,25 @@
|
|
|
2197
2203
|
tmp = null;
|
|
2198
2204
|
}
|
|
2199
2205
|
tmp$ret$1 = tmp;
|
|
2200
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2206
|
+
return new GameUserInfoDto(_this__u8e3s4.s2c_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1);
|
|
2201
2207
|
}
|
|
2202
2208
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2203
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2209
|
+
var tmp0_elvis_lhs = _this__u8e3s4.t2f_1;
|
|
2204
2210
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2205
|
-
return GameUserInfo_init_$Create$(_this__u8e3s4.
|
|
2211
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.q2f_1, _this__u8e3s4.r2f_1, _this__u8e3s4.s2f_1, tmp, null, 16, null);
|
|
2206
2212
|
}
|
|
2207
2213
|
function mapToDto_3(_this__u8e3s4) {
|
|
2208
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2209
|
-
var tmp1_state = _this__u8e3s4.
|
|
2210
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2211
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2214
|
+
var tmp0_startFromTime = _this__u8e3s4.y2c_1;
|
|
2215
|
+
var tmp1_state = _this__u8e3s4.z2c_1;
|
|
2216
|
+
var tmp2_tag = _this__u8e3s4.c2d_1;
|
|
2217
|
+
var tmp3_ready = _this__u8e3s4.a2d_1;
|
|
2212
2218
|
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2213
2219
|
}
|
|
2214
2220
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2215
|
-
var tmp0_startFromTime = _this__u8e3s4.
|
|
2216
|
-
var tmp1_state = _this__u8e3s4.
|
|
2217
|
-
var tmp2_tag = _this__u8e3s4.
|
|
2218
|
-
var tmp3_ready = _this__u8e3s4.
|
|
2221
|
+
var tmp0_startFromTime = _this__u8e3s4.u2f_1;
|
|
2222
|
+
var tmp1_state = _this__u8e3s4.v2f_1;
|
|
2223
|
+
var tmp2_tag = _this__u8e3s4.x2f_1;
|
|
2224
|
+
var tmp3_ready = _this__u8e3s4.w2f_1;
|
|
2219
2225
|
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2220
2226
|
}
|
|
2221
2227
|
function Companion_12() {
|
|
@@ -2234,10 +2240,10 @@
|
|
|
2234
2240
|
tmp0_serialDesc.b1k('name', false);
|
|
2235
2241
|
tmp0_serialDesc.b1k('avatarUrl', false);
|
|
2236
2242
|
tmp0_serialDesc.b1k('isBot', true);
|
|
2237
|
-
this.
|
|
2243
|
+
this.y2f_1 = tmp0_serialDesc;
|
|
2238
2244
|
}
|
|
2239
2245
|
$serializer_5.prototype.p19 = function () {
|
|
2240
|
-
return this.
|
|
2246
|
+
return this.y2f_1;
|
|
2241
2247
|
};
|
|
2242
2248
|
$serializer_5.prototype.q1k = function () {
|
|
2243
2249
|
var tmp$ret$2;
|
|
@@ -2253,7 +2259,7 @@
|
|
|
2253
2259
|
return tmp$ret$2;
|
|
2254
2260
|
};
|
|
2255
2261
|
$serializer_5.prototype.r19 = function (decoder) {
|
|
2256
|
-
var tmp0_desc = this.
|
|
2262
|
+
var tmp0_desc = this.y2f_1;
|
|
2257
2263
|
var tmp1_flag = true;
|
|
2258
2264
|
var tmp2_index = 0;
|
|
2259
2265
|
var tmp3_bitMask0 = 0;
|
|
@@ -2301,19 +2307,19 @@
|
|
|
2301
2307
|
tmp8_input.x1c(tmp0_desc);
|
|
2302
2308
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2303
2309
|
};
|
|
2304
|
-
$serializer_5.prototype.
|
|
2305
|
-
var tmp0_desc = this.
|
|
2310
|
+
$serializer_5.prototype.z2f = function (encoder, value) {
|
|
2311
|
+
var tmp0_desc = this.y2f_1;
|
|
2306
2312
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2307
|
-
tmp1_output.l1e(tmp0_desc, 0, value.
|
|
2308
|
-
tmp1_output.l1e(tmp0_desc, 1, value.
|
|
2309
|
-
tmp1_output.l1e(tmp0_desc, 2, value.
|
|
2310
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2311
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2313
|
+
tmp1_output.l1e(tmp0_desc, 0, value.q2f_1);
|
|
2314
|
+
tmp1_output.l1e(tmp0_desc, 1, value.r2f_1);
|
|
2315
|
+
tmp1_output.l1e(tmp0_desc, 2, value.s2f_1);
|
|
2316
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.t2f_1 === false)) {
|
|
2317
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.t2f_1);
|
|
2312
2318
|
}
|
|
2313
2319
|
tmp1_output.x1c(tmp0_desc);
|
|
2314
2320
|
};
|
|
2315
2321
|
$serializer_5.prototype.q19 = function (encoder, value) {
|
|
2316
|
-
return this.
|
|
2322
|
+
return this.z2f(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2317
2323
|
};
|
|
2318
2324
|
var $serializer_instance_5;
|
|
2319
2325
|
function $serializer_getInstance_5() {
|
|
@@ -2323,15 +2329,15 @@
|
|
|
2323
2329
|
}
|
|
2324
2330
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2325
2331
|
if (!(7 === (7 & seen1))) {
|
|
2326
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().
|
|
2332
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().y2f_1);
|
|
2327
2333
|
}
|
|
2328
|
-
$this.
|
|
2329
|
-
$this.
|
|
2330
|
-
$this.
|
|
2334
|
+
$this.q2f_1 = playerId;
|
|
2335
|
+
$this.r2f_1 = name;
|
|
2336
|
+
$this.s2f_1 = avatarUrl;
|
|
2331
2337
|
if (0 === (seen1 & 8))
|
|
2332
|
-
$this.
|
|
2338
|
+
$this.t2f_1 = false;
|
|
2333
2339
|
else
|
|
2334
|
-
$this.
|
|
2340
|
+
$this.t2f_1 = isBot;
|
|
2335
2341
|
return $this;
|
|
2336
2342
|
}
|
|
2337
2343
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
@@ -2339,19 +2345,19 @@
|
|
|
2339
2345
|
}
|
|
2340
2346
|
function GameUserInfoDto(playerId, name, avatarUrl, isBot) {
|
|
2341
2347
|
Companion_getInstance_12();
|
|
2342
|
-
this.
|
|
2343
|
-
this.
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2348
|
+
this.q2f_1 = playerId;
|
|
2349
|
+
this.r2f_1 = name;
|
|
2350
|
+
this.s2f_1 = avatarUrl;
|
|
2351
|
+
this.t2f_1 = isBot;
|
|
2346
2352
|
}
|
|
2347
2353
|
GameUserInfoDto.prototype.toString = function () {
|
|
2348
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2354
|
+
return 'GameUserInfoDto(playerId=' + this.q2f_1 + ', name=' + this.r2f_1 + ', avatarUrl=' + this.s2f_1 + ', isBot=' + this.t2f_1 + ')';
|
|
2349
2355
|
};
|
|
2350
2356
|
GameUserInfoDto.prototype.hashCode = function () {
|
|
2351
|
-
var result = getStringHashCode(this.
|
|
2352
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2353
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2354
|
-
result = imul(result, 31) + (this.
|
|
2357
|
+
var result = getStringHashCode(this.q2f_1);
|
|
2358
|
+
result = imul(result, 31) + getStringHashCode(this.r2f_1) | 0;
|
|
2359
|
+
result = imul(result, 31) + getStringHashCode(this.s2f_1) | 0;
|
|
2360
|
+
result = imul(result, 31) + (this.t2f_1 == null ? 0 : this.t2f_1 | 0) | 0;
|
|
2355
2361
|
return result;
|
|
2356
2362
|
};
|
|
2357
2363
|
GameUserInfoDto.prototype.equals = function (other) {
|
|
@@ -2360,13 +2366,13 @@
|
|
|
2360
2366
|
if (!(other instanceof GameUserInfoDto))
|
|
2361
2367
|
return false;
|
|
2362
2368
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2363
|
-
if (!(this.
|
|
2369
|
+
if (!(this.q2f_1 === tmp0_other_with_cast.q2f_1))
|
|
2364
2370
|
return false;
|
|
2365
|
-
if (!(this.
|
|
2371
|
+
if (!(this.r2f_1 === tmp0_other_with_cast.r2f_1))
|
|
2366
2372
|
return false;
|
|
2367
|
-
if (!(this.
|
|
2373
|
+
if (!(this.s2f_1 === tmp0_other_with_cast.s2f_1))
|
|
2368
2374
|
return false;
|
|
2369
|
-
if (!(this.
|
|
2375
|
+
if (!(this.t2f_1 == tmp0_other_with_cast.t2f_1))
|
|
2370
2376
|
return false;
|
|
2371
2377
|
return true;
|
|
2372
2378
|
};
|
|
@@ -2386,10 +2392,10 @@
|
|
|
2386
2392
|
tmp0_serialDesc.b1k('state', false);
|
|
2387
2393
|
tmp0_serialDesc.b1k('ready', false);
|
|
2388
2394
|
tmp0_serialDesc.b1k('tag', true);
|
|
2389
|
-
this.
|
|
2395
|
+
this.a2g_1 = tmp0_serialDesc;
|
|
2390
2396
|
}
|
|
2391
2397
|
$serializer_6.prototype.p19 = function () {
|
|
2392
|
-
return this.
|
|
2398
|
+
return this.a2g_1;
|
|
2393
2399
|
};
|
|
2394
2400
|
$serializer_6.prototype.q1k = function () {
|
|
2395
2401
|
var tmp$ret$2;
|
|
@@ -2405,7 +2411,7 @@
|
|
|
2405
2411
|
return tmp$ret$2;
|
|
2406
2412
|
};
|
|
2407
2413
|
$serializer_6.prototype.r19 = function (decoder) {
|
|
2408
|
-
var tmp0_desc = this.
|
|
2414
|
+
var tmp0_desc = this.a2g_1;
|
|
2409
2415
|
var tmp1_flag = true;
|
|
2410
2416
|
var tmp2_index = 0;
|
|
2411
2417
|
var tmp3_bitMask0 = 0;
|
|
@@ -2453,19 +2459,19 @@
|
|
|
2453
2459
|
tmp8_input.x1c(tmp0_desc);
|
|
2454
2460
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2455
2461
|
};
|
|
2456
|
-
$serializer_6.prototype.
|
|
2457
|
-
var tmp0_desc = this.
|
|
2462
|
+
$serializer_6.prototype.b2g = function (encoder, value) {
|
|
2463
|
+
var tmp0_desc = this.a2g_1;
|
|
2458
2464
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2459
|
-
tmp1_output.h1e(tmp0_desc, 0, value.
|
|
2460
|
-
tmp1_output.n1e(tmp0_desc, 1, Companion_getInstance_9().l1w(), value.
|
|
2461
|
-
tmp1_output.d1e(tmp0_desc, 2, value.
|
|
2462
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2463
|
-
tmp1_output.p1e(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2465
|
+
tmp1_output.h1e(tmp0_desc, 0, value.u2f_1);
|
|
2466
|
+
tmp1_output.n1e(tmp0_desc, 1, Companion_getInstance_9().l1w(), value.v2f_1);
|
|
2467
|
+
tmp1_output.d1e(tmp0_desc, 2, value.w2f_1);
|
|
2468
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.x2f_1 == null)) {
|
|
2469
|
+
tmp1_output.p1e(tmp0_desc, 3, StringSerializer_getInstance(), value.x2f_1);
|
|
2464
2470
|
}
|
|
2465
2471
|
tmp1_output.x1c(tmp0_desc);
|
|
2466
2472
|
};
|
|
2467
2473
|
$serializer_6.prototype.q19 = function (encoder, value) {
|
|
2468
|
-
return this.
|
|
2474
|
+
return this.b2g(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2469
2475
|
};
|
|
2470
2476
|
var $serializer_instance_6;
|
|
2471
2477
|
function $serializer_getInstance_6() {
|
|
@@ -2475,15 +2481,15 @@
|
|
|
2475
2481
|
}
|
|
2476
2482
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2477
2483
|
if (!(7 === (7 & seen1))) {
|
|
2478
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
2484
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().a2g_1);
|
|
2479
2485
|
}
|
|
2480
|
-
$this.
|
|
2481
|
-
$this.
|
|
2482
|
-
$this.
|
|
2486
|
+
$this.u2f_1 = startFromTime;
|
|
2487
|
+
$this.v2f_1 = state;
|
|
2488
|
+
$this.w2f_1 = ready;
|
|
2483
2489
|
if (0 === (seen1 & 8))
|
|
2484
|
-
$this.
|
|
2490
|
+
$this.x2f_1 = null;
|
|
2485
2491
|
else
|
|
2486
|
-
$this.
|
|
2492
|
+
$this.x2f_1 = tag;
|
|
2487
2493
|
return $this;
|
|
2488
2494
|
}
|
|
2489
2495
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2491,19 +2497,19 @@
|
|
|
2491
2497
|
}
|
|
2492
2498
|
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2493
2499
|
Companion_getInstance_13();
|
|
2494
|
-
this.
|
|
2495
|
-
this.
|
|
2496
|
-
this.
|
|
2497
|
-
this.
|
|
2500
|
+
this.u2f_1 = startFromTime;
|
|
2501
|
+
this.v2f_1 = state;
|
|
2502
|
+
this.w2f_1 = ready;
|
|
2503
|
+
this.x2f_1 = tag;
|
|
2498
2504
|
}
|
|
2499
2505
|
PlayerStateDto.prototype.toString = function () {
|
|
2500
|
-
return 'PlayerStateDto(startFromTime=' + toString_0(this.
|
|
2506
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.u2f_1) + ', state=' + this.v2f_1 + ', ready=' + this.w2f_1 + ', tag=' + this.x2f_1 + ')';
|
|
2501
2507
|
};
|
|
2502
2508
|
PlayerStateDto.prototype.hashCode = function () {
|
|
2503
|
-
var result = this.
|
|
2504
|
-
result = imul(result, 31) + this.
|
|
2505
|
-
result = imul(result, 31) + (this.
|
|
2506
|
-
result = imul(result, 31) + (this.
|
|
2509
|
+
var result = this.u2f_1.hashCode();
|
|
2510
|
+
result = imul(result, 31) + this.v2f_1.hashCode() | 0;
|
|
2511
|
+
result = imul(result, 31) + (this.w2f_1 | 0) | 0;
|
|
2512
|
+
result = imul(result, 31) + (this.x2f_1 == null ? 0 : getStringHashCode(this.x2f_1)) | 0;
|
|
2507
2513
|
return result;
|
|
2508
2514
|
};
|
|
2509
2515
|
PlayerStateDto.prototype.equals = function (other) {
|
|
@@ -2512,13 +2518,13 @@
|
|
|
2512
2518
|
if (!(other instanceof PlayerStateDto))
|
|
2513
2519
|
return false;
|
|
2514
2520
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2515
|
-
if (!this.
|
|
2521
|
+
if (!this.u2f_1.equals(tmp0_other_with_cast.u2f_1))
|
|
2516
2522
|
return false;
|
|
2517
|
-
if (!this.
|
|
2523
|
+
if (!this.v2f_1.equals(tmp0_other_with_cast.v2f_1))
|
|
2518
2524
|
return false;
|
|
2519
|
-
if (!(this.
|
|
2525
|
+
if (!(this.w2f_1 === tmp0_other_with_cast.w2f_1))
|
|
2520
2526
|
return false;
|
|
2521
|
-
if (!(this.
|
|
2527
|
+
if (!(this.x2f_1 == tmp0_other_with_cast.x2f_1))
|
|
2522
2528
|
return false;
|
|
2523
2529
|
return true;
|
|
2524
2530
|
};
|
|
@@ -2560,10 +2566,10 @@
|
|
|
2560
2566
|
tmp0_serialDesc.b1k('checkTrumpCombination', false);
|
|
2561
2567
|
tmp0_serialDesc.b1k('checkOnlyTrumpDebertz', false);
|
|
2562
2568
|
tmp0_serialDesc.b1k('tenCardsInHand', false);
|
|
2563
|
-
this.
|
|
2569
|
+
this.c2g_1 = tmp0_serialDesc;
|
|
2564
2570
|
}
|
|
2565
2571
|
$serializer_7.prototype.p19 = function () {
|
|
2566
|
-
return this.
|
|
2572
|
+
return this.c2g_1;
|
|
2567
2573
|
};
|
|
2568
2574
|
$serializer_7.prototype.q1k = function () {
|
|
2569
2575
|
var tmp$ret$2;
|
|
@@ -2579,7 +2585,7 @@
|
|
|
2579
2585
|
return tmp$ret$2;
|
|
2580
2586
|
};
|
|
2581
2587
|
$serializer_7.prototype.r19 = function (decoder) {
|
|
2582
|
-
var tmp0_desc = this.
|
|
2588
|
+
var tmp0_desc = this.c2g_1;
|
|
2583
2589
|
var tmp1_flag = true;
|
|
2584
2590
|
var tmp2_index = 0;
|
|
2585
2591
|
var tmp3_bitMask0 = 0;
|
|
@@ -2718,32 +2724,32 @@
|
|
|
2718
2724
|
tmp21_input.x1c(tmp0_desc);
|
|
2719
2725
|
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);
|
|
2720
2726
|
};
|
|
2721
|
-
$serializer_7.prototype.
|
|
2722
|
-
var tmp0_desc = this.
|
|
2727
|
+
$serializer_7.prototype.d2g = function (encoder, value) {
|
|
2728
|
+
var tmp0_desc = this.c2g_1;
|
|
2723
2729
|
var tmp1_output = encoder.w1c(tmp0_desc);
|
|
2724
|
-
tmp1_output.d1e(tmp0_desc, 0, value.
|
|
2725
|
-
tmp1_output.d1e(tmp0_desc, 1, value.
|
|
2726
|
-
tmp1_output.d1e(tmp0_desc, 2, value.
|
|
2727
|
-
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.
|
|
2728
|
-
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2730
|
+
tmp1_output.d1e(tmp0_desc, 0, value.z2e_1);
|
|
2731
|
+
tmp1_output.d1e(tmp0_desc, 1, value.a2f_1);
|
|
2732
|
+
tmp1_output.d1e(tmp0_desc, 2, value.b2f_1);
|
|
2733
|
+
if (tmp1_output.t1e(tmp0_desc, 3) ? true : !(value.c2f_1 == null)) {
|
|
2734
|
+
tmp1_output.p1e(tmp0_desc, 3, BooleanSerializer_getInstance(), value.c2f_1);
|
|
2729
2735
|
}
|
|
2730
|
-
tmp1_output.d1e(tmp0_desc, 4, value.
|
|
2731
|
-
tmp1_output.d1e(tmp0_desc, 5, value.
|
|
2732
|
-
tmp1_output.d1e(tmp0_desc, 6, value.
|
|
2733
|
-
tmp1_output.d1e(tmp0_desc, 7, value.
|
|
2734
|
-
tmp1_output.d1e(tmp0_desc, 8, value.
|
|
2735
|
-
tmp1_output.d1e(tmp0_desc, 9, value.
|
|
2736
|
-
tmp1_output.d1e(tmp0_desc, 10, value.
|
|
2737
|
-
tmp1_output.d1e(tmp0_desc, 11, value.
|
|
2738
|
-
tmp1_output.g1e(tmp0_desc, 12, value.
|
|
2739
|
-
tmp1_output.d1e(tmp0_desc, 13, value.
|
|
2740
|
-
tmp1_output.d1e(tmp0_desc, 14, value.
|
|
2741
|
-
tmp1_output.d1e(tmp0_desc, 15, value.
|
|
2742
|
-
tmp1_output.d1e(tmp0_desc, 16, value.
|
|
2736
|
+
tmp1_output.d1e(tmp0_desc, 4, value.d2f_1);
|
|
2737
|
+
tmp1_output.d1e(tmp0_desc, 5, value.e2f_1);
|
|
2738
|
+
tmp1_output.d1e(tmp0_desc, 6, value.f2f_1);
|
|
2739
|
+
tmp1_output.d1e(tmp0_desc, 7, value.g2f_1);
|
|
2740
|
+
tmp1_output.d1e(tmp0_desc, 8, value.h2f_1);
|
|
2741
|
+
tmp1_output.d1e(tmp0_desc, 9, value.i2f_1);
|
|
2742
|
+
tmp1_output.d1e(tmp0_desc, 10, value.j2f_1);
|
|
2743
|
+
tmp1_output.d1e(tmp0_desc, 11, value.k2f_1);
|
|
2744
|
+
tmp1_output.g1e(tmp0_desc, 12, value.l2f_1);
|
|
2745
|
+
tmp1_output.d1e(tmp0_desc, 13, value.m2f_1);
|
|
2746
|
+
tmp1_output.d1e(tmp0_desc, 14, value.n2f_1);
|
|
2747
|
+
tmp1_output.d1e(tmp0_desc, 15, value.o2f_1);
|
|
2748
|
+
tmp1_output.d1e(tmp0_desc, 16, value.p2f_1);
|
|
2743
2749
|
tmp1_output.x1c(tmp0_desc);
|
|
2744
2750
|
};
|
|
2745
2751
|
$serializer_7.prototype.q19 = function (encoder, value) {
|
|
2746
|
-
return this.
|
|
2752
|
+
return this.d2g(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2747
2753
|
};
|
|
2748
2754
|
var $serializer_instance_7;
|
|
2749
2755
|
function $serializer_getInstance_7() {
|
|
@@ -2753,28 +2759,28 @@
|
|
|
2753
2759
|
}
|
|
2754
2760
|
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) {
|
|
2755
2761
|
if (!(131063 === (131063 & seen1))) {
|
|
2756
|
-
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().
|
|
2762
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().c2g_1);
|
|
2757
2763
|
}
|
|
2758
|
-
$this.
|
|
2759
|
-
$this.
|
|
2760
|
-
$this.
|
|
2764
|
+
$this.z2e_1 = needToPutHigherTrump;
|
|
2765
|
+
$this.a2f_1 = distributePoints;
|
|
2766
|
+
$this.b2f_1 = protectBella;
|
|
2761
2767
|
if (0 === (seen1 & 8))
|
|
2762
|
-
$this.
|
|
2768
|
+
$this.c2f_1 = null;
|
|
2763
2769
|
else
|
|
2764
|
-
$this.
|
|
2765
|
-
$this.
|
|
2766
|
-
$this.
|
|
2767
|
-
$this.
|
|
2768
|
-
$this.
|
|
2769
|
-
$this.
|
|
2770
|
-
$this.
|
|
2771
|
-
$this.
|
|
2772
|
-
$this.
|
|
2773
|
-
$this.
|
|
2774
|
-
$this.
|
|
2775
|
-
$this.
|
|
2776
|
-
$this.
|
|
2777
|
-
$this.
|
|
2770
|
+
$this.c2f_1 = oneTryToProtectBella;
|
|
2771
|
+
$this.d2f_1 = enableFourSevensCombination;
|
|
2772
|
+
$this.e2f_1 = enableTrumpSevenCombination;
|
|
2773
|
+
$this.f2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2774
|
+
$this.g2f_1 = playerWhoChooseSuitGoFirst;
|
|
2775
|
+
$this.h2f_1 = winnerShuffleCards;
|
|
2776
|
+
$this.i2f_1 = playWithoutLiabilities;
|
|
2777
|
+
$this.j2f_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2778
|
+
$this.k2f_1 = enableFineIfNoBribes;
|
|
2779
|
+
$this.l2f_1 = fineIfNoBribes;
|
|
2780
|
+
$this.m2f_1 = enableFineAfterThirdByte;
|
|
2781
|
+
$this.n2f_1 = checkTrumpCombination;
|
|
2782
|
+
$this.o2f_1 = checkOnlyTrumpDebertz;
|
|
2783
|
+
$this.p2f_1 = tenCardsInHand;
|
|
2778
2784
|
return $this;
|
|
2779
2785
|
}
|
|
2780
2786
|
function RulesDto_init_$Create$_0(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2782,45 +2788,45 @@
|
|
|
2782
2788
|
}
|
|
2783
2789
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2784
2790
|
Companion_getInstance_14();
|
|
2785
|
-
this.
|
|
2786
|
-
this.
|
|
2787
|
-
this.
|
|
2788
|
-
this.
|
|
2789
|
-
this.
|
|
2790
|
-
this.
|
|
2791
|
-
this.
|
|
2792
|
-
this.
|
|
2793
|
-
this.
|
|
2794
|
-
this.
|
|
2795
|
-
this.
|
|
2796
|
-
this.
|
|
2797
|
-
this.
|
|
2798
|
-
this.
|
|
2799
|
-
this.
|
|
2800
|
-
this.
|
|
2801
|
-
this.
|
|
2791
|
+
this.z2e_1 = needToPutHigherTrump;
|
|
2792
|
+
this.a2f_1 = distributePoints;
|
|
2793
|
+
this.b2f_1 = protectBella;
|
|
2794
|
+
this.c2f_1 = oneTryToProtectBella;
|
|
2795
|
+
this.d2f_1 = enableFourSevensCombination;
|
|
2796
|
+
this.e2f_1 = enableTrumpSevenCombination;
|
|
2797
|
+
this.f2f_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2798
|
+
this.g2f_1 = playerWhoChooseSuitGoFirst;
|
|
2799
|
+
this.h2f_1 = winnerShuffleCards;
|
|
2800
|
+
this.i2f_1 = playWithoutLiabilities;
|
|
2801
|
+
this.j2f_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2802
|
+
this.k2f_1 = enableFineIfNoBribes;
|
|
2803
|
+
this.l2f_1 = fineIfNoBribes;
|
|
2804
|
+
this.m2f_1 = enableFineAfterThirdByte;
|
|
2805
|
+
this.n2f_1 = checkTrumpCombination;
|
|
2806
|
+
this.o2f_1 = checkOnlyTrumpDebertz;
|
|
2807
|
+
this.p2f_1 = tenCardsInHand;
|
|
2802
2808
|
}
|
|
2803
2809
|
RulesDto.prototype.toString = function () {
|
|
2804
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2810
|
+
return 'RulesDto(needToPutHigherTrump=' + this.z2e_1 + ', distributePoints=' + this.a2f_1 + ', protectBella=' + this.b2f_1 + ', oneTryToProtectBella=' + this.c2f_1 + ', enableFourSevensCombination=' + this.d2f_1 + ', enableTrumpSevenCombination=' + this.e2f_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.f2f_1 + ', playerWhoChooseSuitGoFirst=' + this.g2f_1 + ', winnerShuffleCards=' + this.h2f_1 + ', playWithoutLiabilities=' + this.i2f_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.j2f_1 + ', enableFineIfNoBribes=' + this.k2f_1 + ', fineIfNoBribes=' + this.l2f_1 + ', enableFineAfterThirdByte=' + this.m2f_1 + ', checkTrumpCombination=' + this.n2f_1 + ', checkOnlyTrumpDebertz=' + this.o2f_1 + ', tenCardsInHand=' + this.p2f_1 + ')';
|
|
2805
2811
|
};
|
|
2806
2812
|
RulesDto.prototype.hashCode = function () {
|
|
2807
|
-
var result = this.
|
|
2808
|
-
result = imul(result, 31) + (this.x2e_1 | 0) | 0;
|
|
2809
|
-
result = imul(result, 31) + (this.y2e_1 | 0) | 0;
|
|
2810
|
-
result = imul(result, 31) + (this.z2e_1 == null ? 0 : this.z2e_1 | 0) | 0;
|
|
2813
|
+
var result = this.z2e_1 | 0;
|
|
2811
2814
|
result = imul(result, 31) + (this.a2f_1 | 0) | 0;
|
|
2812
2815
|
result = imul(result, 31) + (this.b2f_1 | 0) | 0;
|
|
2813
|
-
result = imul(result, 31) + (this.c2f_1 | 0) | 0;
|
|
2816
|
+
result = imul(result, 31) + (this.c2f_1 == null ? 0 : this.c2f_1 | 0) | 0;
|
|
2814
2817
|
result = imul(result, 31) + (this.d2f_1 | 0) | 0;
|
|
2815
2818
|
result = imul(result, 31) + (this.e2f_1 | 0) | 0;
|
|
2816
2819
|
result = imul(result, 31) + (this.f2f_1 | 0) | 0;
|
|
2817
2820
|
result = imul(result, 31) + (this.g2f_1 | 0) | 0;
|
|
2818
2821
|
result = imul(result, 31) + (this.h2f_1 | 0) | 0;
|
|
2819
|
-
result = imul(result, 31) + this.i2f_1 | 0;
|
|
2822
|
+
result = imul(result, 31) + (this.i2f_1 | 0) | 0;
|
|
2820
2823
|
result = imul(result, 31) + (this.j2f_1 | 0) | 0;
|
|
2821
2824
|
result = imul(result, 31) + (this.k2f_1 | 0) | 0;
|
|
2822
|
-
result = imul(result, 31) +
|
|
2825
|
+
result = imul(result, 31) + this.l2f_1 | 0;
|
|
2823
2826
|
result = imul(result, 31) + (this.m2f_1 | 0) | 0;
|
|
2827
|
+
result = imul(result, 31) + (this.n2f_1 | 0) | 0;
|
|
2828
|
+
result = imul(result, 31) + (this.o2f_1 | 0) | 0;
|
|
2829
|
+
result = imul(result, 31) + (this.p2f_1 | 0) | 0;
|
|
2824
2830
|
return result;
|
|
2825
2831
|
};
|
|
2826
2832
|
RulesDto.prototype.equals = function (other) {
|
|
@@ -2829,19 +2835,13 @@
|
|
|
2829
2835
|
if (!(other instanceof RulesDto))
|
|
2830
2836
|
return false;
|
|
2831
2837
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2832
|
-
if (!(this.
|
|
2833
|
-
return false;
|
|
2834
|
-
if (!(this.x2e_1 === tmp0_other_with_cast.x2e_1))
|
|
2835
|
-
return false;
|
|
2836
|
-
if (!(this.y2e_1 === tmp0_other_with_cast.y2e_1))
|
|
2837
|
-
return false;
|
|
2838
|
-
if (!(this.z2e_1 == tmp0_other_with_cast.z2e_1))
|
|
2838
|
+
if (!(this.z2e_1 === tmp0_other_with_cast.z2e_1))
|
|
2839
2839
|
return false;
|
|
2840
2840
|
if (!(this.a2f_1 === tmp0_other_with_cast.a2f_1))
|
|
2841
2841
|
return false;
|
|
2842
2842
|
if (!(this.b2f_1 === tmp0_other_with_cast.b2f_1))
|
|
2843
2843
|
return false;
|
|
2844
|
-
if (!(this.c2f_1
|
|
2844
|
+
if (!(this.c2f_1 == tmp0_other_with_cast.c2f_1))
|
|
2845
2845
|
return false;
|
|
2846
2846
|
if (!(this.d2f_1 === tmp0_other_with_cast.d2f_1))
|
|
2847
2847
|
return false;
|
|
@@ -2863,18 +2863,24 @@
|
|
|
2863
2863
|
return false;
|
|
2864
2864
|
if (!(this.m2f_1 === tmp0_other_with_cast.m2f_1))
|
|
2865
2865
|
return false;
|
|
2866
|
+
if (!(this.n2f_1 === tmp0_other_with_cast.n2f_1))
|
|
2867
|
+
return false;
|
|
2868
|
+
if (!(this.o2f_1 === tmp0_other_with_cast.o2f_1))
|
|
2869
|
+
return false;
|
|
2870
|
+
if (!(this.p2f_1 === tmp0_other_with_cast.p2f_1))
|
|
2871
|
+
return false;
|
|
2866
2872
|
return true;
|
|
2867
2873
|
};
|
|
2868
2874
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
2869
|
-
this.
|
|
2870
|
-
this.
|
|
2875
|
+
this.e2g_1 = trump;
|
|
2876
|
+
this.f2g_1 = firstCardSuit;
|
|
2871
2877
|
}
|
|
2872
|
-
CardGrowthComparator.prototype.
|
|
2873
|
-
return getGrowth(b, this.
|
|
2878
|
+
CardGrowthComparator.prototype.g2g = function (a, b) {
|
|
2879
|
+
return getGrowth(b, this.e2g_1, this.f2g_1) - getGrowth(a, this.e2g_1, this.f2g_1) | 0;
|
|
2874
2880
|
};
|
|
2875
2881
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
2876
2882
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2877
|
-
return this.
|
|
2883
|
+
return this.g2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2878
2884
|
};
|
|
2879
2885
|
function filterByCardName(_this__u8e3s4, name) {
|
|
2880
2886
|
var tmp$ret$1;
|
|
@@ -2897,12 +2903,12 @@
|
|
|
2897
2903
|
function CardIndexComparator() {
|
|
2898
2904
|
CardIndexComparator_instance = this;
|
|
2899
2905
|
}
|
|
2900
|
-
CardIndexComparator.prototype.
|
|
2901
|
-
return a.
|
|
2906
|
+
CardIndexComparator.prototype.g2g = function (a, b) {
|
|
2907
|
+
return a.w2e_1 - b.w2e_1 | 0;
|
|
2902
2908
|
};
|
|
2903
2909
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
2904
2910
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2905
|
-
return this.
|
|
2911
|
+
return this.g2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2906
2912
|
};
|
|
2907
2913
|
var CardIndexComparator_instance;
|
|
2908
2914
|
function CardIndexComparator_getInstance() {
|
|
@@ -2931,12 +2937,12 @@
|
|
|
2931
2937
|
function CardNumberComparator() {
|
|
2932
2938
|
CardNumberComparator_instance = this;
|
|
2933
2939
|
}
|
|
2934
|
-
CardNumberComparator.prototype.
|
|
2935
|
-
return b.
|
|
2940
|
+
CardNumberComparator.prototype.g2g = function (a, b) {
|
|
2941
|
+
return b.h2g() - a.h2g() | 0;
|
|
2936
2942
|
};
|
|
2937
2943
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
2938
2944
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
2939
|
-
return this.
|
|
2945
|
+
return this.g2g(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
2940
2946
|
};
|
|
2941
2947
|
var CardNumberComparator_instance;
|
|
2942
2948
|
function CardNumberComparator_getInstance() {
|
|
@@ -2945,7 +2951,7 @@
|
|
|
2945
2951
|
return CardNumberComparator_instance;
|
|
2946
2952
|
}
|
|
2947
2953
|
function getPoint(_this__u8e3s4, trump) {
|
|
2948
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
2954
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.i2g());
|
|
2949
2955
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
2950
2956
|
var tmp0 = tmp0_subject.n4_1;
|
|
2951
2957
|
var tmp;
|
|
@@ -2979,8 +2985,8 @@
|
|
|
2979
2985
|
}
|
|
2980
2986
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
2981
2987
|
var minPoint = 0;
|
|
2982
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
2983
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2988
|
+
var isTrump = trump.equals(_this__u8e3s4.i2g());
|
|
2989
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.i2g());
|
|
2984
2990
|
var minGrowth;
|
|
2985
2991
|
var maxGrowth;
|
|
2986
2992
|
var tmp0_subject = _this__u8e3s4.zf();
|
|
@@ -3078,7 +3084,7 @@
|
|
|
3078
3084
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3079
3085
|
var tmp$ret$0;
|
|
3080
3086
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3081
|
-
tmp$ret$0 = p1.
|
|
3087
|
+
tmp$ret$0 = p1.i2g().equals(element);
|
|
3082
3088
|
if (tmp$ret$0) {
|
|
3083
3089
|
tmp$ret$1 = true;
|
|
3084
3090
|
break $l$block;
|
|
@@ -3126,10 +3132,10 @@
|
|
|
3126
3132
|
function Companion_15() {
|
|
3127
3133
|
Companion_instance_15 = this;
|
|
3128
3134
|
}
|
|
3129
|
-
Companion_15.prototype.
|
|
3135
|
+
Companion_15.prototype.j2g = function (suit, cardNumber) {
|
|
3130
3136
|
return new GameCard(getNumber(Companion_getInstance_16(), cardNumber, suit));
|
|
3131
3137
|
};
|
|
3132
|
-
Companion_15.prototype.
|
|
3138
|
+
Companion_15.prototype.k2g = function (position, playerIndex, reverse) {
|
|
3133
3139
|
var tmp;
|
|
3134
3140
|
if (reverse) {
|
|
3135
3141
|
Companion_getInstance_16();
|
|
@@ -3143,10 +3149,10 @@
|
|
|
3143
3149
|
var index = tmp;
|
|
3144
3150
|
return new GameCard(index);
|
|
3145
3151
|
};
|
|
3146
|
-
Companion_15.prototype.
|
|
3152
|
+
Companion_15.prototype.l2g = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3147
3153
|
if (!(($mask0 & 4) === 0))
|
|
3148
3154
|
reverse = false;
|
|
3149
|
-
return this.
|
|
3155
|
+
return this.k2g(position, playerIndex, reverse);
|
|
3150
3156
|
};
|
|
3151
3157
|
var Companion_instance_15;
|
|
3152
3158
|
function Companion_getInstance_15() {
|
|
@@ -3255,7 +3261,7 @@
|
|
|
3255
3261
|
return tmp;
|
|
3256
3262
|
}
|
|
3257
3263
|
function _get_isShirt__vd98rp($this) {
|
|
3258
|
-
var tmp = $this.
|
|
3264
|
+
var tmp = $this.w2e_1;
|
|
3259
3265
|
Companion_getInstance_16();
|
|
3260
3266
|
return tmp === 52;
|
|
3261
3267
|
}
|
|
@@ -3264,10 +3270,10 @@
|
|
|
3264
3270
|
}
|
|
3265
3271
|
function Companion_16() {
|
|
3266
3272
|
Companion_instance_16 = this;
|
|
3267
|
-
this.
|
|
3268
|
-
this.
|
|
3269
|
-
this.
|
|
3270
|
-
this.
|
|
3273
|
+
this.m2g_1 = -1;
|
|
3274
|
+
this.n2g_1 = 13;
|
|
3275
|
+
this.o2g_1 = 52;
|
|
3276
|
+
this.p2g_1 = 53;
|
|
3271
3277
|
}
|
|
3272
3278
|
var Companion_instance_16;
|
|
3273
3279
|
function Companion_getInstance_16() {
|
|
@@ -3333,55 +3339,55 @@
|
|
|
3333
3339
|
}
|
|
3334
3340
|
function GameCard(index) {
|
|
3335
3341
|
Companion_getInstance_16();
|
|
3336
|
-
this.
|
|
3342
|
+
this.w2e_1 = index;
|
|
3337
3343
|
}
|
|
3338
|
-
GameCard.prototype.
|
|
3344
|
+
GameCard.prototype.i2g = function () {
|
|
3339
3345
|
var tmp;
|
|
3340
3346
|
Companion_getInstance_16();
|
|
3341
3347
|
var containsUpper = 13;
|
|
3342
|
-
var containsArg = this.
|
|
3348
|
+
var containsArg = this.w2e_1;
|
|
3343
3349
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3344
3350
|
tmp = Suit_DIAMOND_getInstance();
|
|
3345
3351
|
} else {
|
|
3346
|
-
var tmp_0 = this.
|
|
3352
|
+
var tmp_0 = this.w2e_1;
|
|
3347
3353
|
Companion_getInstance_16();
|
|
3348
3354
|
if (tmp_0 <= imul(13, 2)) {
|
|
3349
3355
|
tmp = Suit_SPADE_getInstance();
|
|
3350
3356
|
} else {
|
|
3351
|
-
var tmp_1 = this.
|
|
3357
|
+
var tmp_1 = this.w2e_1;
|
|
3352
3358
|
Companion_getInstance_16();
|
|
3353
3359
|
if (tmp_1 <= imul(13, 3)) {
|
|
3354
3360
|
tmp = Suit_HEART_getInstance();
|
|
3355
3361
|
} else {
|
|
3356
|
-
var tmp_2 = this.
|
|
3362
|
+
var tmp_2 = this.w2e_1;
|
|
3357
3363
|
Companion_getInstance_16();
|
|
3358
3364
|
if (tmp_2 <= imul(13, 4)) {
|
|
3359
3365
|
tmp = Suit_CLUB_getInstance();
|
|
3360
3366
|
} else {
|
|
3361
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3367
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.w2e_1);
|
|
3362
3368
|
}
|
|
3363
3369
|
}
|
|
3364
3370
|
}
|
|
3365
3371
|
}
|
|
3366
3372
|
return tmp;
|
|
3367
3373
|
};
|
|
3368
|
-
GameCard.prototype.
|
|
3374
|
+
GameCard.prototype.h2g = function () {
|
|
3369
3375
|
var tmp;
|
|
3370
|
-
if (this.
|
|
3376
|
+
if (this.q2g()) {
|
|
3371
3377
|
Companion_getInstance_16();
|
|
3372
3378
|
tmp = -1;
|
|
3373
3379
|
} else {
|
|
3374
|
-
var tmp_0 = this.
|
|
3380
|
+
var tmp_0 = this.w2e_1;
|
|
3375
3381
|
Companion_getInstance_16();
|
|
3376
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3382
|
+
tmp = tmp_0 - imul(13, getIndex(this.i2g())) | 0;
|
|
3377
3383
|
}
|
|
3378
3384
|
return tmp;
|
|
3379
3385
|
};
|
|
3380
3386
|
GameCard.prototype.zf = function () {
|
|
3381
|
-
return this.
|
|
3387
|
+
return this.q2g() ? CardName_STUB_getInstance() : getName(Companion_getInstance_16(), this.h2g());
|
|
3382
3388
|
};
|
|
3383
|
-
GameCard.prototype.
|
|
3384
|
-
var tmp = this.
|
|
3389
|
+
GameCard.prototype.q2g = function () {
|
|
3390
|
+
var tmp = this.w2e_1;
|
|
3385
3391
|
Companion_getInstance_16();
|
|
3386
3392
|
return tmp >= 53;
|
|
3387
3393
|
};
|
|
@@ -3389,13 +3395,13 @@
|
|
|
3389
3395
|
if (_get_isShirt__vd98rp(this)) {
|
|
3390
3396
|
return 'GameCard(SHIRT)';
|
|
3391
3397
|
}
|
|
3392
|
-
if (this.
|
|
3393
|
-
return 'GameCard(STUB, ' + this.
|
|
3398
|
+
if (this.q2g()) {
|
|
3399
|
+
return 'GameCard(STUB, ' + this.w2e_1 + ')';
|
|
3394
3400
|
}
|
|
3395
|
-
return 'GameCard(' + this.zf() + ', suit: ' + this.
|
|
3401
|
+
return 'GameCard(' + this.zf() + ', suit: ' + this.i2g() + ', index=' + this.w2e_1 + ')';
|
|
3396
3402
|
};
|
|
3397
3403
|
GameCard.prototype.hashCode = function () {
|
|
3398
|
-
return this.
|
|
3404
|
+
return this.w2e_1;
|
|
3399
3405
|
};
|
|
3400
3406
|
GameCard.prototype.equals = function (other) {
|
|
3401
3407
|
if (this === other)
|
|
@@ -3403,23 +3409,23 @@
|
|
|
3403
3409
|
if (!(other instanceof GameCard))
|
|
3404
3410
|
return false;
|
|
3405
3411
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3406
|
-
if (!(this.
|
|
3412
|
+
if (!(this.w2e_1 === tmp0_other_with_cast.w2e_1))
|
|
3407
3413
|
return false;
|
|
3408
3414
|
return true;
|
|
3409
3415
|
};
|
|
3410
3416
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3411
|
-
this.
|
|
3412
|
-
this.
|
|
3417
|
+
this.x2e_1 = playerId;
|
|
3418
|
+
this.y2e_1 = gameCard;
|
|
3413
3419
|
}
|
|
3414
|
-
GameCardWIthPlayerId.prototype.
|
|
3415
|
-
return this.
|
|
3420
|
+
GameCardWIthPlayerId.prototype.h2c = function () {
|
|
3421
|
+
return this.x2e_1;
|
|
3416
3422
|
};
|
|
3417
3423
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
3418
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3424
|
+
return 'GameCardWIthPlayerId(playerId=' + this.x2e_1 + ', gameCard=' + this.y2e_1 + ')';
|
|
3419
3425
|
};
|
|
3420
3426
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
3421
|
-
var result = getStringHashCode(this.
|
|
3422
|
-
result = imul(result, 31) + this.
|
|
3427
|
+
var result = getStringHashCode(this.x2e_1);
|
|
3428
|
+
result = imul(result, 31) + this.y2e_1.hashCode() | 0;
|
|
3423
3429
|
return result;
|
|
3424
3430
|
};
|
|
3425
3431
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -3428,28 +3434,28 @@
|
|
|
3428
3434
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3429
3435
|
return false;
|
|
3430
3436
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3431
|
-
if (!(this.
|
|
3437
|
+
if (!(this.x2e_1 === tmp0_other_with_cast.x2e_1))
|
|
3432
3438
|
return false;
|
|
3433
|
-
if (!this.
|
|
3439
|
+
if (!this.y2e_1.equals(tmp0_other_with_cast.y2e_1))
|
|
3434
3440
|
return false;
|
|
3435
3441
|
return true;
|
|
3436
3442
|
};
|
|
3437
3443
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
3438
3444
|
configurable: true,
|
|
3439
3445
|
get: function () {
|
|
3440
|
-
return this.
|
|
3446
|
+
return this.h2c();
|
|
3441
3447
|
}
|
|
3442
3448
|
});
|
|
3443
3449
|
function ProcessingCard(gameCard, payload) {
|
|
3444
|
-
this.
|
|
3445
|
-
this.
|
|
3450
|
+
this.r2g_1 = gameCard;
|
|
3451
|
+
this.s2g_1 = payload;
|
|
3446
3452
|
}
|
|
3447
3453
|
ProcessingCard.prototype.toString = function () {
|
|
3448
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3454
|
+
return 'ProcessingCard(gameCard=' + this.r2g_1 + ', payload=' + this.s2g_1 + ')';
|
|
3449
3455
|
};
|
|
3450
3456
|
ProcessingCard.prototype.hashCode = function () {
|
|
3451
|
-
var result = this.
|
|
3452
|
-
result = imul(result, 31) + (this.
|
|
3457
|
+
var result = this.r2g_1.hashCode();
|
|
3458
|
+
result = imul(result, 31) + (this.s2g_1 == null ? 0 : hashCode(this.s2g_1)) | 0;
|
|
3453
3459
|
return result;
|
|
3454
3460
|
};
|
|
3455
3461
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -3458,9 +3464,9 @@
|
|
|
3458
3464
|
if (!(other instanceof ProcessingCard))
|
|
3459
3465
|
return false;
|
|
3460
3466
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3461
|
-
if (!this.
|
|
3467
|
+
if (!this.r2g_1.equals(tmp0_other_with_cast.r2g_1))
|
|
3462
3468
|
return false;
|
|
3463
|
-
if (!equals(this.
|
|
3469
|
+
if (!equals(this.s2g_1, tmp0_other_with_cast.s2g_1))
|
|
3464
3470
|
return false;
|
|
3465
3471
|
return true;
|
|
3466
3472
|
};
|
|
@@ -3475,10 +3481,10 @@
|
|
|
3475
3481
|
Companion_instance_17 = this;
|
|
3476
3482
|
var tmp = this;
|
|
3477
3483
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3478
|
-
tmp.
|
|
3484
|
+
tmp.t2g_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3479
3485
|
}
|
|
3480
3486
|
Companion_17.prototype.l1w = function () {
|
|
3481
|
-
return this.
|
|
3487
|
+
return this.t2g_1.j1();
|
|
3482
3488
|
};
|
|
3483
3489
|
Companion_17.prototype.b1l = function (typeParamsSerializers) {
|
|
3484
3490
|
return this.l1w();
|
|
@@ -3547,74 +3553,81 @@
|
|
|
3547
3553
|
return tmp;
|
|
3548
3554
|
}
|
|
3549
3555
|
function _no_name_provided__qut3iv($logger) {
|
|
3550
|
-
this.
|
|
3556
|
+
this.v2g_1 = $logger;
|
|
3551
3557
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3552
3558
|
}
|
|
3553
3559
|
_no_name_provided__qut3iv.prototype.vm = function (context, exception) {
|
|
3554
3560
|
var tmp = 'AsyncProvider error: ' + exception;
|
|
3555
|
-
return this.
|
|
3561
|
+
return this.v2g_1.w2g('AsyncErrorHandler', tmp, exception, null, 8, null);
|
|
3556
3562
|
};
|
|
3557
3563
|
function AsyncProviderImpl(logger) {
|
|
3558
3564
|
var tmp = this;
|
|
3559
|
-
tmp.
|
|
3565
|
+
tmp.x2g_1 = Job$default(null, 1, null);
|
|
3560
3566
|
var tmp_0 = this;
|
|
3561
3567
|
var tmp$ret$0;
|
|
3562
3568
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
3563
3569
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
3564
|
-
tmp_0.
|
|
3565
|
-
this.
|
|
3566
|
-
this.
|
|
3570
|
+
tmp_0.y2g_1 = tmp$ret$0;
|
|
3571
|
+
this.z2g_1 = CoroutineScope(Dispatchers_getInstance().vq().h4(this.x2g_1));
|
|
3572
|
+
this.a2h_1 = CoroutineScope(Dispatchers_getInstance().rq_1.h4(this.x2g_1));
|
|
3567
3573
|
}
|
|
3568
|
-
AsyncProviderImpl.prototype.
|
|
3569
|
-
return this.
|
|
3574
|
+
AsyncProviderImpl.prototype.b2h = function () {
|
|
3575
|
+
return this.y2g_1;
|
|
3570
3576
|
};
|
|
3571
|
-
AsyncProviderImpl.prototype.
|
|
3572
|
-
return launch$default(this.
|
|
3577
|
+
AsyncProviderImpl.prototype.c2h = function (context, block) {
|
|
3578
|
+
return launch$default(this.z2g_1, context, null, block, 2, null);
|
|
3573
3579
|
};
|
|
3574
|
-
AsyncProviderImpl.prototype.
|
|
3575
|
-
return launch$default(this.
|
|
3580
|
+
AsyncProviderImpl.prototype.e2h = function (context, block) {
|
|
3581
|
+
return launch$default(this.a2h_1, context, null, block, 2, null);
|
|
3576
3582
|
};
|
|
3577
3583
|
AsyncProviderImpl.prototype.nk = function () {
|
|
3578
|
-
if (!this.
|
|
3579
|
-
this.
|
|
3584
|
+
if (!this.x2g_1.np()) {
|
|
3585
|
+
this.x2g_1.lj(null, 1, null);
|
|
3580
3586
|
}
|
|
3581
3587
|
};
|
|
3582
3588
|
function AsyncProvider() {
|
|
3583
3589
|
}
|
|
3590
|
+
function UUIDIdsProvider() {
|
|
3591
|
+
}
|
|
3592
|
+
UUIDIdsProvider.prototype.g2h = function () {
|
|
3593
|
+
return uuid4().toString();
|
|
3594
|
+
};
|
|
3595
|
+
function IdsProvider() {
|
|
3596
|
+
}
|
|
3584
3597
|
function JobsProviderImpl(logger) {
|
|
3585
|
-
this.
|
|
3598
|
+
this.h2h_1 = logger;
|
|
3586
3599
|
var tmp = this;
|
|
3587
3600
|
var tmp$ret$0;
|
|
3588
3601
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3589
3602
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
3590
|
-
tmp.
|
|
3603
|
+
tmp.i2h_1 = tmp$ret$0;
|
|
3591
3604
|
}
|
|
3592
|
-
JobsProviderImpl.prototype.
|
|
3593
|
-
if (this.
|
|
3605
|
+
JobsProviderImpl.prototype.j2h = function (timerTag, job) {
|
|
3606
|
+
if (this.l2h(timerTag)) {
|
|
3594
3607
|
var tmp = 'Timer already exists for that tag: ' + timerTag;
|
|
3595
|
-
this.
|
|
3608
|
+
this.h2h_1.k2h(null, tmp, null, 5, null);
|
|
3596
3609
|
}
|
|
3597
3610
|
// Inline function 'kotlin.collections.set' call
|
|
3598
|
-
var tmp0_set = this.
|
|
3611
|
+
var tmp0_set = this.i2h_1;
|
|
3599
3612
|
tmp0_set.w2(timerTag, job);
|
|
3600
3613
|
};
|
|
3601
|
-
JobsProviderImpl.prototype.
|
|
3602
|
-
return this.
|
|
3614
|
+
JobsProviderImpl.prototype.l2h = function (timerTag) {
|
|
3615
|
+
return this.i2h_1.q1(timerTag);
|
|
3603
3616
|
};
|
|
3604
|
-
JobsProviderImpl.prototype.
|
|
3605
|
-
if (!this.
|
|
3617
|
+
JobsProviderImpl.prototype.m2h = function (timerTag) {
|
|
3618
|
+
if (!this.l2h(timerTag)) {
|
|
3606
3619
|
var tmp = "Can't find timer for that tag: " + timerTag;
|
|
3607
|
-
this.
|
|
3620
|
+
this.h2h_1.k2h(null, tmp, null, 5, null);
|
|
3608
3621
|
}
|
|
3609
|
-
this.
|
|
3622
|
+
this.i2h_1.sb(timerTag);
|
|
3610
3623
|
};
|
|
3611
|
-
JobsProviderImpl.prototype.
|
|
3624
|
+
JobsProviderImpl.prototype.n2h = function (timers) {
|
|
3612
3625
|
// Inline function 'kotlin.collections.forEach' call
|
|
3613
3626
|
var tmp0_iterator = timers.g();
|
|
3614
3627
|
while (tmp0_iterator.h()) {
|
|
3615
3628
|
var element = tmp0_iterator.i();
|
|
3616
3629
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3617
|
-
var timer = this.
|
|
3630
|
+
var timer = this.i2h_1.t1(element);
|
|
3618
3631
|
var tmp0_safe_receiver = timer;
|
|
3619
3632
|
if (tmp0_safe_receiver == null)
|
|
3620
3633
|
null;
|
|
@@ -3622,11 +3635,11 @@
|
|
|
3622
3635
|
tmp0_safe_receiver.lj(null, 1, null);
|
|
3623
3636
|
}
|
|
3624
3637
|
}
|
|
3625
|
-
this.
|
|
3638
|
+
this.i2h_1.u1().qa(toSet(timers));
|
|
3626
3639
|
};
|
|
3627
|
-
JobsProviderImpl.prototype.
|
|
3628
|
-
var timer = this.
|
|
3629
|
-
this.
|
|
3640
|
+
JobsProviderImpl.prototype.o2h = function (timerTag) {
|
|
3641
|
+
var timer = this.i2h_1.t1(timerTag);
|
|
3642
|
+
this.i2h_1.sb(timerTag);
|
|
3630
3643
|
var tmp0_safe_receiver = timer;
|
|
3631
3644
|
if (tmp0_safe_receiver == null)
|
|
3632
3645
|
null;
|
|
@@ -3683,6 +3696,26 @@
|
|
|
3683
3696
|
tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3684
3697
|
tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, tmp1_singleton);
|
|
3685
3698
|
tmp_6.o29(tmp$ret$7);
|
|
3699
|
+
var tmp$ret$9;
|
|
3700
|
+
// Inline function 'org.kodein.di.bind' call
|
|
3701
|
+
var tmp$ret$8;
|
|
3702
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3703
|
+
var tmp_11 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3704
|
+
tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
3705
|
+
tmp$ret$9 = $this$$receiver.u25(tmp$ret$8, null, null);
|
|
3706
|
+
var tmp_12 = tmp$ret$9;
|
|
3707
|
+
var tmp$ret$11;
|
|
3708
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
3709
|
+
var tmp2_singleton = coreModule$lambda$lambda_1;
|
|
3710
|
+
var tmp_13 = $this$$receiver.k27();
|
|
3711
|
+
var tmp_14 = $this$$receiver.l27();
|
|
3712
|
+
var tmp_15 = $this$$receiver.j29();
|
|
3713
|
+
var tmp$ret$10;
|
|
3714
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3715
|
+
var tmp_16 = typeToken(createKType(getKClass(UUIDIdsProvider), arrayOf([]), false));
|
|
3716
|
+
tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3717
|
+
tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, tmp2_singleton);
|
|
3718
|
+
tmp_12.o29(tmp$ret$11);
|
|
3686
3719
|
return Unit_getInstance();
|
|
3687
3720
|
}
|
|
3688
3721
|
function coreModule$lambda$lambda($this$singleton) {
|
|
@@ -3709,6 +3742,10 @@
|
|
|
3709
3742
|
tmp$ret$1 = tmp.e27(tmp$ret$0, null);
|
|
3710
3743
|
return new JobsProviderImpl(tmp$ret$1);
|
|
3711
3744
|
}
|
|
3745
|
+
function coreModule$lambda$lambda_1($this$singleton) {
|
|
3746
|
+
init_properties_DI_kt_pa5hx();
|
|
3747
|
+
return new UUIDIdsProvider();
|
|
3748
|
+
}
|
|
3712
3749
|
var properties_initialized_DI_kt_3whi87;
|
|
3713
3750
|
function init_properties_DI_kt_pa5hx() {
|
|
3714
3751
|
if (properties_initialized_DI_kt_3whi87) {
|
|
@@ -3756,10 +3793,10 @@
|
|
|
3756
3793
|
}
|
|
3757
3794
|
function createStore$dispatch(currentState, currentReducer, $logger, action) {
|
|
3758
3795
|
try {
|
|
3759
|
-
currentState.fy(currentReducer._v.
|
|
3796
|
+
currentState.fy(currentReducer._v.p2h(currentState.j1(), action));
|
|
3760
3797
|
} catch ($p) {
|
|
3761
3798
|
if ($p instanceof Exception) {
|
|
3762
|
-
$logger.
|
|
3799
|
+
$logger.w2g('createStore.dispatch', null, $p, null, 10, null);
|
|
3763
3800
|
} else {
|
|
3764
3801
|
throw $p;
|
|
3765
3802
|
}
|
|
@@ -3791,46 +3828,46 @@
|
|
|
3791
3828
|
return l;
|
|
3792
3829
|
}
|
|
3793
3830
|
function createStore$2($currentState, $currentReducer, $logger) {
|
|
3794
|
-
this.
|
|
3831
|
+
this.s2h_1 = $currentState;
|
|
3795
3832
|
var tmp = this;
|
|
3796
|
-
tmp.
|
|
3833
|
+
tmp.q2h_1 = createStore$dispatch$ref($currentState, $currentReducer, $logger);
|
|
3797
3834
|
var tmp_0 = this;
|
|
3798
|
-
tmp_0.
|
|
3835
|
+
tmp_0.r2h_1 = createStore$replaceReducer$ref($currentReducer, $currentState, $logger);
|
|
3799
3836
|
}
|
|
3800
|
-
createStore$2.prototype.
|
|
3801
|
-
this.
|
|
3837
|
+
createStore$2.prototype.t2h = function (_set____db54di) {
|
|
3838
|
+
this.q2h_1 = _set____db54di;
|
|
3802
3839
|
};
|
|
3803
|
-
createStore$2.prototype.
|
|
3804
|
-
return this.
|
|
3840
|
+
createStore$2.prototype.u2h = function () {
|
|
3841
|
+
return this.q2h_1;
|
|
3805
3842
|
};
|
|
3806
|
-
createStore$2.prototype.
|
|
3807
|
-
return this.
|
|
3843
|
+
createStore$2.prototype.v2h = function () {
|
|
3844
|
+
return this.s2h_1;
|
|
3808
3845
|
};
|
|
3809
|
-
createStore$2.prototype.
|
|
3810
|
-
return this.
|
|
3846
|
+
createStore$2.prototype.w2h = function () {
|
|
3847
|
+
return this.r2h_1;
|
|
3811
3848
|
};
|
|
3812
3849
|
createStore$2.prototype.xi = function () {
|
|
3813
|
-
return this.
|
|
3850
|
+
return this.s2h_1.j1();
|
|
3814
3851
|
};
|
|
3815
3852
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
3816
3853
|
configurable: true,
|
|
3817
3854
|
get: function () {
|
|
3818
|
-
return this.
|
|
3855
|
+
return this.u2h();
|
|
3819
3856
|
},
|
|
3820
3857
|
set: function (value) {
|
|
3821
|
-
this.
|
|
3858
|
+
this.t2h(value);
|
|
3822
3859
|
}
|
|
3823
3860
|
});
|
|
3824
3861
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
3825
3862
|
configurable: true,
|
|
3826
3863
|
get: function () {
|
|
3827
|
-
return this.
|
|
3864
|
+
return this.v2h();
|
|
3828
3865
|
}
|
|
3829
3866
|
});
|
|
3830
3867
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
3831
3868
|
configurable: true,
|
|
3832
3869
|
get: function () {
|
|
3833
|
-
return this.
|
|
3870
|
+
return this.w2h();
|
|
3834
3871
|
}
|
|
3835
3872
|
});
|
|
3836
3873
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
@@ -3863,10 +3900,10 @@
|
|
|
3863
3900
|
return new middleware$1(dispatch);
|
|
3864
3901
|
}
|
|
3865
3902
|
function middleware$1($dispatch) {
|
|
3866
|
-
this.
|
|
3903
|
+
this.a2i_1 = $dispatch;
|
|
3867
3904
|
}
|
|
3868
|
-
middleware$1.prototype.
|
|
3869
|
-
this.
|
|
3905
|
+
middleware$1.prototype.z2h = function (store, next, action) {
|
|
3906
|
+
this.a2i_1(store, next, action);
|
|
3870
3907
|
};
|
|
3871
3908
|
function Reducer() {
|
|
3872
3909
|
}
|
|
@@ -3874,9 +3911,9 @@
|
|
|
3874
3911
|
return new combineReducers$1(reducers);
|
|
3875
3912
|
}
|
|
3876
3913
|
function combineReducers$1($reducers) {
|
|
3877
|
-
this.
|
|
3914
|
+
this.b2i_1 = $reducers;
|
|
3878
3915
|
}
|
|
3879
|
-
combineReducers$1.prototype.
|
|
3916
|
+
combineReducers$1.prototype.c2i = function (state, action) {
|
|
3880
3917
|
var tmp$ret$4;
|
|
3881
3918
|
// Inline function 'kotlin.collections.fold' call
|
|
3882
3919
|
var tmp$ret$2;
|
|
@@ -3884,7 +3921,7 @@
|
|
|
3884
3921
|
var tmp$ret$1;
|
|
3885
3922
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3886
3923
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
3887
|
-
var indexedObject = this.
|
|
3924
|
+
var indexedObject = this.b2i_1;
|
|
3888
3925
|
var inductionVariable = 0;
|
|
3889
3926
|
var last = indexedObject.length;
|
|
3890
3927
|
while (inductionVariable < last) {
|
|
@@ -3892,7 +3929,7 @@
|
|
|
3892
3929
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3893
3930
|
var tmp$ret$0;
|
|
3894
3931
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3895
|
-
tmp$ret$0 = element.
|
|
3932
|
+
tmp$ret$0 = element.y2h(action);
|
|
3896
3933
|
if (tmp$ret$0) {
|
|
3897
3934
|
tmp0_filterTo.a(element);
|
|
3898
3935
|
}
|
|
@@ -3907,14 +3944,14 @@
|
|
|
3907
3944
|
var tmp$ret$3;
|
|
3908
3945
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
3909
3946
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
3910
|
-
tmp$ret$3 = element_0.
|
|
3947
|
+
tmp$ret$3 = element_0.p2h(tmp1__anonymous__uwfjfc, action);
|
|
3911
3948
|
accumulator = tmp$ret$3;
|
|
3912
3949
|
}
|
|
3913
3950
|
tmp$ret$4 = accumulator;
|
|
3914
3951
|
return tmp$ret$4;
|
|
3915
3952
|
};
|
|
3916
|
-
combineReducers$1.prototype.
|
|
3917
|
-
return this.
|
|
3953
|
+
combineReducers$1.prototype.p2h = function (state, action) {
|
|
3954
|
+
return this.c2i((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
3918
3955
|
};
|
|
3919
3956
|
function Store() {
|
|
3920
3957
|
}
|
|
@@ -3925,7 +3962,7 @@
|
|
|
3925
3962
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
3926
3963
|
configurable: true,
|
|
3927
3964
|
get: function () {
|
|
3928
|
-
return this.
|
|
3965
|
+
return this.x2h();
|
|
3929
3966
|
}
|
|
3930
3967
|
});
|
|
3931
3968
|
var INIT_instance;
|
|
@@ -3941,7 +3978,7 @@
|
|
|
3941
3978
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
3942
3979
|
configurable: true,
|
|
3943
3980
|
get: function () {
|
|
3944
|
-
return this.
|
|
3981
|
+
return this.x2h();
|
|
3945
3982
|
}
|
|
3946
3983
|
});
|
|
3947
3984
|
var REPLACE_instance;
|
|
@@ -3955,7 +3992,7 @@
|
|
|
3955
3992
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
3956
3993
|
configurable: true,
|
|
3957
3994
|
get: function () {
|
|
3958
|
-
return this.
|
|
3995
|
+
return this.x2h();
|
|
3959
3996
|
}
|
|
3960
3997
|
});
|
|
3961
3998
|
function BufferedAction() {
|
|
@@ -3966,16 +4003,16 @@
|
|
|
3966
4003
|
}
|
|
3967
4004
|
function StopTimerAction(timerTag) {
|
|
3968
4005
|
TimerAction.call(this);
|
|
3969
|
-
this.
|
|
4006
|
+
this.e2i_1 = timerTag;
|
|
3970
4007
|
}
|
|
3971
|
-
StopTimerAction.prototype.
|
|
3972
|
-
return this.
|
|
4008
|
+
StopTimerAction.prototype.f2i = function () {
|
|
4009
|
+
return this.e2i_1;
|
|
3973
4010
|
};
|
|
3974
4011
|
StopTimerAction.prototype.toString = function () {
|
|
3975
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4012
|
+
return 'StopTimerAction(timerTag=' + this.e2i_1 + ')';
|
|
3976
4013
|
};
|
|
3977
4014
|
StopTimerAction.prototype.hashCode = function () {
|
|
3978
|
-
return hashCode(this.
|
|
4015
|
+
return hashCode(this.e2i_1);
|
|
3979
4016
|
};
|
|
3980
4017
|
StopTimerAction.prototype.equals = function (other) {
|
|
3981
4018
|
if (this === other)
|
|
@@ -3983,14 +4020,14 @@
|
|
|
3983
4020
|
if (!(other instanceof StopTimerAction))
|
|
3984
4021
|
return false;
|
|
3985
4022
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3986
|
-
if (!equals(this.
|
|
4023
|
+
if (!equals(this.e2i_1, tmp0_other_with_cast.e2i_1))
|
|
3987
4024
|
return false;
|
|
3988
4025
|
return true;
|
|
3989
4026
|
};
|
|
3990
4027
|
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3991
4028
|
configurable: true,
|
|
3992
4029
|
get: function () {
|
|
3993
|
-
return this.
|
|
4030
|
+
return this.x2h();
|
|
3994
4031
|
}
|
|
3995
4032
|
});
|
|
3996
4033
|
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
@@ -4006,22 +4043,22 @@
|
|
|
4006
4043
|
}
|
|
4007
4044
|
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
4008
4045
|
TimerAction.call(this);
|
|
4009
|
-
this.
|
|
4010
|
-
this.
|
|
4011
|
-
this.
|
|
4012
|
-
this.
|
|
4046
|
+
this.g2i_1 = timerTag;
|
|
4047
|
+
this.h2i_1 = delayMillis;
|
|
4048
|
+
this.i2i_1 = initialDelay;
|
|
4049
|
+
this.j2i_1 = type;
|
|
4013
4050
|
}
|
|
4014
|
-
StartTimerAction.prototype.
|
|
4015
|
-
return this.
|
|
4051
|
+
StartTimerAction.prototype.f2i = function () {
|
|
4052
|
+
return this.g2i_1;
|
|
4016
4053
|
};
|
|
4017
4054
|
StartTimerAction.prototype.toString = function () {
|
|
4018
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4055
|
+
return 'StartTimerAction(timerTag=' + this.g2i_1 + ', delayMillis=' + toString_0(this.h2i_1) + ', initialDelay=' + toString_0(this.i2i_1) + ', type=' + this.j2i_1 + ')';
|
|
4019
4056
|
};
|
|
4020
4057
|
StartTimerAction.prototype.hashCode = function () {
|
|
4021
|
-
var result = hashCode(this.
|
|
4022
|
-
result = imul(result, 31) + this.
|
|
4023
|
-
result = imul(result, 31) + this.
|
|
4024
|
-
result = imul(result, 31) + this.
|
|
4058
|
+
var result = hashCode(this.g2i_1);
|
|
4059
|
+
result = imul(result, 31) + this.h2i_1.hashCode() | 0;
|
|
4060
|
+
result = imul(result, 31) + this.i2i_1.hashCode() | 0;
|
|
4061
|
+
result = imul(result, 31) + this.j2i_1.hashCode() | 0;
|
|
4025
4062
|
return result;
|
|
4026
4063
|
};
|
|
4027
4064
|
StartTimerAction.prototype.equals = function (other) {
|
|
@@ -4030,20 +4067,20 @@
|
|
|
4030
4067
|
if (!(other instanceof StartTimerAction))
|
|
4031
4068
|
return false;
|
|
4032
4069
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4033
|
-
if (!equals(this.
|
|
4070
|
+
if (!equals(this.g2i_1, tmp0_other_with_cast.g2i_1))
|
|
4034
4071
|
return false;
|
|
4035
|
-
if (!this.
|
|
4072
|
+
if (!this.h2i_1.equals(tmp0_other_with_cast.h2i_1))
|
|
4036
4073
|
return false;
|
|
4037
|
-
if (!this.
|
|
4074
|
+
if (!this.i2i_1.equals(tmp0_other_with_cast.i2i_1))
|
|
4038
4075
|
return false;
|
|
4039
|
-
if (!this.
|
|
4076
|
+
if (!this.j2i_1.equals(tmp0_other_with_cast.j2i_1))
|
|
4040
4077
|
return false;
|
|
4041
4078
|
return true;
|
|
4042
4079
|
};
|
|
4043
4080
|
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
4044
4081
|
configurable: true,
|
|
4045
4082
|
get: function () {
|
|
4046
|
-
return this.
|
|
4083
|
+
return this.x2h();
|
|
4047
4084
|
}
|
|
4048
4085
|
});
|
|
4049
4086
|
var TimerType_DELAY_instance;
|
|
@@ -4061,21 +4098,21 @@
|
|
|
4061
4098
|
}
|
|
4062
4099
|
function TimerTickAction(timerTag, type) {
|
|
4063
4100
|
TimerAction.call(this);
|
|
4064
|
-
this.
|
|
4065
|
-
this.
|
|
4101
|
+
this.k2i_1 = timerTag;
|
|
4102
|
+
this.l2i_1 = type;
|
|
4066
4103
|
}
|
|
4067
|
-
TimerTickAction.prototype.
|
|
4068
|
-
return this.
|
|
4104
|
+
TimerTickAction.prototype.f2i = function () {
|
|
4105
|
+
return this.k2i_1;
|
|
4069
4106
|
};
|
|
4070
4107
|
TimerTickAction.prototype.notValidateWhenFinished = function () {
|
|
4071
|
-
return this.
|
|
4108
|
+
return this.k2i_1.notValidateWhenFinished();
|
|
4072
4109
|
};
|
|
4073
4110
|
TimerTickAction.prototype.toString = function () {
|
|
4074
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4111
|
+
return 'TimerTickAction(timerTag=' + this.k2i_1 + ', type=' + this.l2i_1 + ')';
|
|
4075
4112
|
};
|
|
4076
4113
|
TimerTickAction.prototype.hashCode = function () {
|
|
4077
|
-
var result = hashCode(this.
|
|
4078
|
-
result = imul(result, 31) + this.
|
|
4114
|
+
var result = hashCode(this.k2i_1);
|
|
4115
|
+
result = imul(result, 31) + this.l2i_1.hashCode() | 0;
|
|
4079
4116
|
return result;
|
|
4080
4117
|
};
|
|
4081
4118
|
TimerTickAction.prototype.equals = function (other) {
|
|
@@ -4084,16 +4121,16 @@
|
|
|
4084
4121
|
if (!(other instanceof TimerTickAction))
|
|
4085
4122
|
return false;
|
|
4086
4123
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4087
|
-
if (!equals(this.
|
|
4124
|
+
if (!equals(this.k2i_1, tmp0_other_with_cast.k2i_1))
|
|
4088
4125
|
return false;
|
|
4089
|
-
if (!this.
|
|
4126
|
+
if (!this.l2i_1.equals(tmp0_other_with_cast.l2i_1))
|
|
4090
4127
|
return false;
|
|
4091
4128
|
return true;
|
|
4092
4129
|
};
|
|
4093
4130
|
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4094
4131
|
configurable: true,
|
|
4095
4132
|
get: function () {
|
|
4096
|
-
return this.
|
|
4133
|
+
return this.x2h();
|
|
4097
4134
|
}
|
|
4098
4135
|
});
|
|
4099
4136
|
function TimerAction() {
|
|
@@ -4101,7 +4138,7 @@
|
|
|
4101
4138
|
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4102
4139
|
configurable: true,
|
|
4103
4140
|
get: function () {
|
|
4104
|
-
return this.
|
|
4141
|
+
return this.x2h();
|
|
4105
4142
|
}
|
|
4106
4143
|
});
|
|
4107
4144
|
function TimerType_DELAY_getInstance() {
|
|
@@ -4128,7 +4165,7 @@
|
|
|
4128
4165
|
var tmp_0;
|
|
4129
4166
|
if ($p instanceof Exception) {
|
|
4130
4167
|
var tmp_1 = 'StoreEnhancer error: ' + $p;
|
|
4131
|
-
$logger.
|
|
4168
|
+
$logger.w2g('StoreEnhancer', tmp_1, $p, null, 8, null);
|
|
4132
4169
|
tmp_0 = Unit_getInstance();
|
|
4133
4170
|
} else {
|
|
4134
4171
|
throw $p;
|
|
@@ -4156,7 +4193,7 @@
|
|
|
4156
4193
|
}
|
|
4157
4194
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
4158
4195
|
return function (action) {
|
|
4159
|
-
$tmp0__anonymous__1nv1x1.
|
|
4196
|
+
$tmp0__anonymous__1nv1x1.z2h($store, $tmp1__anonymous__6ijp4k, action);
|
|
4160
4197
|
return Unit_getInstance();
|
|
4161
4198
|
};
|
|
4162
4199
|
}
|
|
@@ -4175,7 +4212,7 @@
|
|
|
4175
4212
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4176
4213
|
var tmp$ret$0;
|
|
4177
4214
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4178
|
-
tmp$ret$0 = element.
|
|
4215
|
+
tmp$ret$0 = element.y2h(action);
|
|
4179
4216
|
if (tmp$ret$0) {
|
|
4180
4217
|
tmp0_filterTo.a(element);
|
|
4181
4218
|
}
|
|
@@ -4223,9 +4260,9 @@
|
|
|
4223
4260
|
return tmp$ret$0;
|
|
4224
4261
|
}
|
|
4225
4262
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4226
|
-
this.
|
|
4227
|
-
this.
|
|
4228
|
-
this.
|
|
4263
|
+
this.u2i_1 = $jobsProvider;
|
|
4264
|
+
this.v2i_1 = $tmp0__anonymous__1nv1x1;
|
|
4265
|
+
this.w2i_1 = $store;
|
|
4229
4266
|
CoroutineImpl.call(this, resultContinuation);
|
|
4230
4267
|
}
|
|
4231
4268
|
timerMiddleware$o$handle$slambda$slambda.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4244,8 +4281,8 @@
|
|
|
4244
4281
|
var tmp = this.xg_1;
|
|
4245
4282
|
if (tmp === 0) {
|
|
4246
4283
|
this.yg_1 = 1;
|
|
4247
|
-
if (this.
|
|
4248
|
-
this.
|
|
4284
|
+
if (this.u2i_1.l2h(this.v2i_1.f2i())) {
|
|
4285
|
+
this.w2i_1.dispatch(new TimerTickAction(this.v2i_1.f2i(), TimerType_DELAY_getInstance()));
|
|
4249
4286
|
}
|
|
4250
4287
|
return Unit_getInstance();
|
|
4251
4288
|
} else if (tmp === 1) {
|
|
@@ -4257,8 +4294,8 @@
|
|
|
4257
4294
|
while (true);
|
|
4258
4295
|
};
|
|
4259
4296
|
timerMiddleware$o$handle$slambda$slambda.prototype.l12 = function ($this$launchStore, completion) {
|
|
4260
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4261
|
-
i.
|
|
4297
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.u2i_1, this.v2i_1, this.w2i_1, completion);
|
|
4298
|
+
i.x2i_1 = $this$launchStore;
|
|
4262
4299
|
return i;
|
|
4263
4300
|
};
|
|
4264
4301
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4270,9 +4307,9 @@
|
|
|
4270
4307
|
return l;
|
|
4271
4308
|
}
|
|
4272
4309
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4273
|
-
this.
|
|
4274
|
-
this.
|
|
4275
|
-
this.
|
|
4310
|
+
this.g2j_1 = $jobsProvider;
|
|
4311
|
+
this.h2j_1 = $tmp0__anonymous__1nv1x1;
|
|
4312
|
+
this.i2j_1 = $store;
|
|
4276
4313
|
CoroutineImpl.call(this, resultContinuation);
|
|
4277
4314
|
}
|
|
4278
4315
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.k12 = function ($this$launchStore, $cont) {
|
|
@@ -4291,8 +4328,8 @@
|
|
|
4291
4328
|
var tmp = this.xg_1;
|
|
4292
4329
|
if (tmp === 0) {
|
|
4293
4330
|
this.yg_1 = 1;
|
|
4294
|
-
if (this.
|
|
4295
|
-
this.
|
|
4331
|
+
if (this.g2j_1.l2h(this.h2j_1.f2i())) {
|
|
4332
|
+
this.i2j_1.dispatch(new TimerTickAction(this.h2j_1.f2i(), TimerType_INTERVAL_getInstance()));
|
|
4296
4333
|
}
|
|
4297
4334
|
return Unit_getInstance();
|
|
4298
4335
|
} else if (tmp === 1) {
|
|
@@ -4304,8 +4341,8 @@
|
|
|
4304
4341
|
while (true);
|
|
4305
4342
|
};
|
|
4306
4343
|
timerMiddleware$o$handle$slambda$slambda_1.prototype.l12 = function ($this$launchStore, completion) {
|
|
4307
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4308
|
-
i.
|
|
4344
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.g2j_1, this.h2j_1, this.i2j_1, completion);
|
|
4345
|
+
i.j2j_1 = $this$launchStore;
|
|
4309
4346
|
return i;
|
|
4310
4347
|
};
|
|
4311
4348
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
@@ -4317,10 +4354,10 @@
|
|
|
4317
4354
|
return l;
|
|
4318
4355
|
}
|
|
4319
4356
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4320
|
-
this.
|
|
4321
|
-
this.
|
|
4322
|
-
this.
|
|
4323
|
-
this.
|
|
4357
|
+
this.s2j_1 = $tmp0__anonymous__1nv1x1;
|
|
4358
|
+
this.t2j_1 = $asyncProvider;
|
|
4359
|
+
this.u2j_1 = $jobsProvider;
|
|
4360
|
+
this.v2j_1 = $store;
|
|
4324
4361
|
CoroutineImpl.call(this, resultContinuation);
|
|
4325
4362
|
}
|
|
4326
4363
|
timerMiddleware$o$handle$slambda.prototype.k12 = function ($this$launchWorker, $cont) {
|
|
@@ -4340,9 +4377,9 @@
|
|
|
4340
4377
|
switch (tmp) {
|
|
4341
4378
|
case 0:
|
|
4342
4379
|
this.yg_1 = 10;
|
|
4343
|
-
if (!this.
|
|
4380
|
+
if (!this.s2j_1.i2i_1.equals(new Long(0, 0)) ? this.s2j_1.j2i_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4344
4381
|
this.xg_1 = 1;
|
|
4345
|
-
suspendResult = delay(this.
|
|
4382
|
+
suspendResult = delay(this.s2j_1.i2i_1, this);
|
|
4346
4383
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4347
4384
|
return suspendResult;
|
|
4348
4385
|
}
|
|
@@ -4357,20 +4394,20 @@
|
|
|
4357
4394
|
this.xg_1 = 2;
|
|
4358
4395
|
continue $sm;
|
|
4359
4396
|
case 2:
|
|
4360
|
-
this.
|
|
4361
|
-
this.
|
|
4362
|
-
if (this.
|
|
4397
|
+
this.x2j_1 = this.s2j_1.j2i_1;
|
|
4398
|
+
this.y2j_1 = this.x2j_1.n4_1;
|
|
4399
|
+
if (this.y2j_1 === 0) {
|
|
4363
4400
|
this.xg_1 = 8;
|
|
4364
|
-
suspendResult = delay(this.
|
|
4401
|
+
suspendResult = delay(this.s2j_1.h2i_1, this);
|
|
4365
4402
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4366
4403
|
return suspendResult;
|
|
4367
4404
|
}
|
|
4368
4405
|
continue $sm;
|
|
4369
4406
|
} else {
|
|
4370
|
-
if (this.
|
|
4371
|
-
if (!this.
|
|
4407
|
+
if (this.y2j_1 === 1) {
|
|
4408
|
+
if (!this.s2j_1.i2i_1.equals(new Long(0, 0))) {
|
|
4372
4409
|
this.xg_1 = 3;
|
|
4373
|
-
suspendResult = delay(this.
|
|
4410
|
+
suspendResult = delay(this.s2j_1.i2i_1, this);
|
|
4374
4411
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4375
4412
|
return suspendResult;
|
|
4376
4413
|
}
|
|
@@ -4393,15 +4430,15 @@
|
|
|
4393
4430
|
this.xg_1 = 5;
|
|
4394
4431
|
continue $sm;
|
|
4395
4432
|
case 5:
|
|
4396
|
-
if (!get_isActive(this.
|
|
4433
|
+
if (!get_isActive(this.w2j_1)) {
|
|
4397
4434
|
this.xg_1 = 7;
|
|
4398
4435
|
continue $sm;
|
|
4399
4436
|
}
|
|
4400
4437
|
|
|
4401
|
-
this.
|
|
4438
|
+
this.t2j_1.d2h(null, timerMiddleware$o$handle$slambda$slambda_2(this.u2j_1, this.s2j_1, this.v2j_1, null), 1, null);
|
|
4402
4439
|
;
|
|
4403
4440
|
this.xg_1 = 6;
|
|
4404
|
-
suspendResult = delay(this.
|
|
4441
|
+
suspendResult = delay(this.s2j_1.i2i_1, this);
|
|
4405
4442
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4406
4443
|
return suspendResult;
|
|
4407
4444
|
}
|
|
@@ -4414,7 +4451,7 @@
|
|
|
4414
4451
|
this.xg_1 = 9;
|
|
4415
4452
|
continue $sm;
|
|
4416
4453
|
case 8:
|
|
4417
|
-
this.
|
|
4454
|
+
this.t2j_1.d2h(null, timerMiddleware$o$handle$slambda$slambda_0(this.u2j_1, this.s2j_1, this.v2j_1, null), 1, null);
|
|
4418
4455
|
;
|
|
4419
4456
|
this.xg_1 = 9;
|
|
4420
4457
|
continue $sm;
|
|
@@ -4434,8 +4471,8 @@
|
|
|
4434
4471
|
while (true);
|
|
4435
4472
|
};
|
|
4436
4473
|
timerMiddleware$o$handle$slambda.prototype.l12 = function ($this$launchWorker, completion) {
|
|
4437
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
4438
|
-
i.
|
|
4474
|
+
var i = new timerMiddleware$o$handle$slambda(this.s2j_1, this.t2j_1, this.u2j_1, this.v2j_1, completion);
|
|
4475
|
+
i.w2j_1 = $this$launchWorker;
|
|
4439
4476
|
return i;
|
|
4440
4477
|
};
|
|
4441
4478
|
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -4447,34 +4484,34 @@
|
|
|
4447
4484
|
return l;
|
|
4448
4485
|
}
|
|
4449
4486
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4450
|
-
this.
|
|
4451
|
-
this.
|
|
4487
|
+
this.z2j_1 = $asyncProvider;
|
|
4488
|
+
this.a2k_1 = $jobsProvider;
|
|
4452
4489
|
}
|
|
4453
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4490
|
+
_no_name_provided__qut3iv_0.prototype.y2h = function (action) {
|
|
4454
4491
|
return action instanceof TimerAction;
|
|
4455
4492
|
};
|
|
4456
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4493
|
+
_no_name_provided__qut3iv_0.prototype.b2k = function (store, next, action) {
|
|
4457
4494
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4458
4495
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4459
4496
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4460
4497
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
4461
|
-
var job = this.
|
|
4462
|
-
this.
|
|
4498
|
+
var job = this.z2j_1.f2h(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.z2j_1, this.a2k_1, store, null), 1, null);
|
|
4499
|
+
this.a2k_1.j2h(tmp0__anonymous__q1qw7t.f2i(), job);
|
|
4463
4500
|
} else {
|
|
4464
4501
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
4465
|
-
this.
|
|
4502
|
+
this.a2k_1.o2h(tmp0__anonymous__q1qw7t.f2i());
|
|
4466
4503
|
} else {
|
|
4467
4504
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
4468
|
-
if (tmp0__anonymous__q1qw7t.
|
|
4469
|
-
this.
|
|
4505
|
+
if (tmp0__anonymous__q1qw7t.l2i_1.equals(TimerType_DELAY_getInstance())) {
|
|
4506
|
+
this.a2k_1.m2h(tmp0__anonymous__q1qw7t.f2i());
|
|
4470
4507
|
}
|
|
4471
4508
|
}
|
|
4472
4509
|
}
|
|
4473
4510
|
}
|
|
4474
4511
|
next(tmp0__anonymous__q1qw7t);
|
|
4475
4512
|
};
|
|
4476
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
4477
|
-
return this.
|
|
4513
|
+
_no_name_provided__qut3iv_0.prototype.z2h = function (store, next, action) {
|
|
4514
|
+
return this.b2k(store, next, action);
|
|
4478
4515
|
};
|
|
4479
4516
|
function enumToString(_this__u8e3s4, mapping) {
|
|
4480
4517
|
var tmp$ret$2;
|
|
@@ -4642,23 +4679,23 @@
|
|
|
4642
4679
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
4643
4680
|
}
|
|
4644
4681
|
function generateTag($this, tag) {
|
|
4645
|
-
return (!($this.
|
|
4682
|
+
return (!($this.e2k_1 == null) ? !(tag == null) : false) ? '' + $this.e2k_1 + ':' + tag : tag;
|
|
4646
4683
|
}
|
|
4647
4684
|
function Category(name, ordinal, isEnabled) {
|
|
4648
4685
|
Enum.call(this, name, ordinal);
|
|
4649
|
-
this.
|
|
4686
|
+
this.h2k_1 = isEnabled;
|
|
4650
4687
|
}
|
|
4651
4688
|
function Logger$loggerSource$1() {
|
|
4652
|
-
this.
|
|
4689
|
+
this.i2k_1 = new PlatformLogger();
|
|
4653
4690
|
}
|
|
4654
|
-
Logger$loggerSource$1.prototype.
|
|
4655
|
-
this.
|
|
4691
|
+
Logger$loggerSource$1.prototype.j2k = function (tag, msg) {
|
|
4692
|
+
this.i2k_1.j2k(tag, msg);
|
|
4656
4693
|
};
|
|
4657
|
-
Logger$loggerSource$1.prototype.
|
|
4658
|
-
this.
|
|
4694
|
+
Logger$loggerSource$1.prototype.k2k = function (tag, msg, exception) {
|
|
4695
|
+
this.i2k_1.k2k(tag, msg, exception);
|
|
4659
4696
|
};
|
|
4660
|
-
Logger$loggerSource$1.prototype.
|
|
4661
|
-
this.
|
|
4697
|
+
Logger$loggerSource$1.prototype.l2k = function (tag, msg) {
|
|
4698
|
+
this.i2k_1.l2k(tag, msg);
|
|
4662
4699
|
};
|
|
4663
4700
|
function Category_NONE_getInstance() {
|
|
4664
4701
|
Category_initEntries();
|
|
@@ -4667,42 +4704,42 @@
|
|
|
4667
4704
|
function Logger() {
|
|
4668
4705
|
Logger_instance = this;
|
|
4669
4706
|
var tmp = this;
|
|
4670
|
-
tmp.
|
|
4671
|
-
this.
|
|
4672
|
-
this.
|
|
4707
|
+
tmp.c2k_1 = new Logger$loggerSource$1();
|
|
4708
|
+
this.d2k_1 = true;
|
|
4709
|
+
this.e2k_1 = null;
|
|
4673
4710
|
}
|
|
4674
|
-
Logger.prototype.
|
|
4675
|
-
this.
|
|
4711
|
+
Logger.prototype.m2k = function (tag, message) {
|
|
4712
|
+
this.n2k(tag, message, Category_NONE_getInstance());
|
|
4676
4713
|
};
|
|
4677
|
-
Logger.prototype.
|
|
4678
|
-
if (this.
|
|
4679
|
-
this.
|
|
4714
|
+
Logger.prototype.o2k = function (tag, message, category) {
|
|
4715
|
+
if (this.d2k_1 ? category.h2k_1 : false) {
|
|
4716
|
+
this.c2k_1.l2k(generateTag(this, tag), message);
|
|
4680
4717
|
}
|
|
4681
4718
|
};
|
|
4682
|
-
Logger.prototype.
|
|
4719
|
+
Logger.prototype.p2k = function (tag, message, category, $mask0, $handler) {
|
|
4683
4720
|
if (!(($mask0 & 1) === 0))
|
|
4684
4721
|
tag = null;
|
|
4685
4722
|
if (!(($mask0 & 4) === 0))
|
|
4686
4723
|
category = Category_NONE_getInstance();
|
|
4687
|
-
return this.
|
|
4724
|
+
return this.o2k(tag, message, category);
|
|
4688
4725
|
};
|
|
4689
|
-
Logger.prototype.
|
|
4690
|
-
if (this.
|
|
4691
|
-
this.
|
|
4726
|
+
Logger.prototype.n2k = function (tag, message, category) {
|
|
4727
|
+
if (this.d2k_1 ? category.h2k_1 : false) {
|
|
4728
|
+
this.c2k_1.j2k(generateTag(this, tag), message);
|
|
4692
4729
|
}
|
|
4693
4730
|
};
|
|
4694
|
-
Logger.prototype.
|
|
4695
|
-
if (this.
|
|
4731
|
+
Logger.prototype.q2k = function (tag, message, exception, category) {
|
|
4732
|
+
if (this.d2k_1 ? category.h2k_1 : false) {
|
|
4696
4733
|
var tmp0_safe_receiver = exception;
|
|
4697
4734
|
if (tmp0_safe_receiver == null)
|
|
4698
4735
|
null;
|
|
4699
4736
|
else {
|
|
4700
4737
|
printStackTrace(tmp0_safe_receiver);
|
|
4701
4738
|
}
|
|
4702
|
-
this.
|
|
4739
|
+
this.c2k_1.k2k(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
4703
4740
|
}
|
|
4704
4741
|
};
|
|
4705
|
-
Logger.prototype.
|
|
4742
|
+
Logger.prototype.r2k = function (tag, message, exception, category, $mask0, $handler) {
|
|
4706
4743
|
if (!(($mask0 & 1) === 0))
|
|
4707
4744
|
tag = null;
|
|
4708
4745
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4711,7 +4748,7 @@
|
|
|
4711
4748
|
exception = null;
|
|
4712
4749
|
if (!(($mask0 & 8) === 0))
|
|
4713
4750
|
category = Category_NONE_getInstance();
|
|
4714
|
-
return this.
|
|
4751
|
+
return this.q2k(tag, message, exception, category);
|
|
4715
4752
|
};
|
|
4716
4753
|
var Logger_instance;
|
|
4717
4754
|
function Logger_getInstance() {
|
|
@@ -4747,36 +4784,36 @@
|
|
|
4747
4784
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4748
4785
|
}
|
|
4749
4786
|
function CombinedGameLogger(logOutputs) {
|
|
4750
|
-
this.
|
|
4787
|
+
this.s2k_1 = logOutputs;
|
|
4751
4788
|
}
|
|
4752
|
-
CombinedGameLogger.prototype.
|
|
4789
|
+
CombinedGameLogger.prototype.t2k = function (tag, message, payload) {
|
|
4753
4790
|
// Inline function 'kotlin.collections.forEach' call
|
|
4754
|
-
var tmp0_forEach = this.
|
|
4791
|
+
var tmp0_forEach = this.s2k_1;
|
|
4755
4792
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4756
4793
|
while (tmp0_iterator.h()) {
|
|
4757
4794
|
var element = tmp0_iterator.i();
|
|
4758
4795
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
4759
|
-
element.
|
|
4796
|
+
element.t2k(tag, message, payload);
|
|
4760
4797
|
}
|
|
4761
4798
|
};
|
|
4762
|
-
CombinedGameLogger.prototype.
|
|
4799
|
+
CombinedGameLogger.prototype.v2k = function (tag, message, exception, payload) {
|
|
4763
4800
|
// Inline function 'kotlin.collections.forEach' call
|
|
4764
|
-
var tmp0_forEach = this.
|
|
4801
|
+
var tmp0_forEach = this.s2k_1;
|
|
4765
4802
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4766
4803
|
while (tmp0_iterator.h()) {
|
|
4767
4804
|
var element = tmp0_iterator.i();
|
|
4768
4805
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
4769
|
-
element.
|
|
4806
|
+
element.v2k(tag, message, exception, payload);
|
|
4770
4807
|
}
|
|
4771
4808
|
};
|
|
4772
|
-
CombinedGameLogger.prototype.
|
|
4809
|
+
CombinedGameLogger.prototype.w2k = function (tag, message, payload) {
|
|
4773
4810
|
// Inline function 'kotlin.collections.forEach' call
|
|
4774
|
-
var tmp0_forEach = this.
|
|
4811
|
+
var tmp0_forEach = this.s2k_1;
|
|
4775
4812
|
var tmp0_iterator = tmp0_forEach.g();
|
|
4776
4813
|
while (tmp0_iterator.h()) {
|
|
4777
4814
|
var element = tmp0_iterator.i();
|
|
4778
4815
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
4779
|
-
element.
|
|
4816
|
+
element.w2k(tag, message, payload);
|
|
4780
4817
|
}
|
|
4781
4818
|
};
|
|
4782
4819
|
function GameLogger() {
|
|
@@ -4793,40 +4830,40 @@
|
|
|
4793
4830
|
return PlatformGameLogger_init_$Init$(enabled, $mask0, $marker, Object.create(PlatformGameLogger.prototype));
|
|
4794
4831
|
}
|
|
4795
4832
|
function PlatformGameLogger(enabled) {
|
|
4796
|
-
this.
|
|
4833
|
+
this.x2k_1 = enabled;
|
|
4797
4834
|
}
|
|
4798
|
-
PlatformGameLogger.prototype.
|
|
4799
|
-
if (!this.
|
|
4835
|
+
PlatformGameLogger.prototype.t2k = function (tag, message, payload) {
|
|
4836
|
+
if (!this.x2k_1)
|
|
4800
4837
|
return Unit_getInstance();
|
|
4801
|
-
Logger_getInstance().
|
|
4838
|
+
Logger_getInstance().m2k(tag, message);
|
|
4802
4839
|
};
|
|
4803
|
-
PlatformGameLogger.prototype.
|
|
4804
|
-
if (!this.
|
|
4840
|
+
PlatformGameLogger.prototype.v2k = function (tag, message, exception, payload) {
|
|
4841
|
+
if (!this.x2k_1)
|
|
4805
4842
|
return Unit_getInstance();
|
|
4806
4843
|
var tmp = Logger_getInstance();
|
|
4807
|
-
tmp.
|
|
4844
|
+
tmp.r2k(tag, message, exception, null, 8, null);
|
|
4808
4845
|
};
|
|
4809
|
-
PlatformGameLogger.prototype.
|
|
4810
|
-
if (!this.
|
|
4846
|
+
PlatformGameLogger.prototype.w2k = function (tag, message, payload) {
|
|
4847
|
+
if (!this.x2k_1)
|
|
4811
4848
|
return Unit_getInstance();
|
|
4812
4849
|
var tmp = Logger_getInstance();
|
|
4813
|
-
tmp.
|
|
4850
|
+
tmp.p2k(tag, message, null, 4, null);
|
|
4814
4851
|
};
|
|
4815
4852
|
function LoggerOutput() {
|
|
4816
4853
|
}
|
|
4817
4854
|
function PlatformLogger() {
|
|
4818
4855
|
}
|
|
4819
|
-
PlatformLogger.prototype.
|
|
4856
|
+
PlatformLogger.prototype.j2k = function (tag, msg) {
|
|
4820
4857
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
4821
4858
|
};
|
|
4822
|
-
PlatformLogger.prototype.
|
|
4859
|
+
PlatformLogger.prototype.k2k = function (tag, msg, exception) {
|
|
4823
4860
|
if (!(exception == null)) {
|
|
4824
4861
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
4825
4862
|
} else {
|
|
4826
4863
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
4827
4864
|
}
|
|
4828
4865
|
};
|
|
4829
|
-
PlatformLogger.prototype.
|
|
4866
|
+
PlatformLogger.prototype.l2k = function (tag, msg) {
|
|
4830
4867
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
4831
4868
|
};
|
|
4832
4869
|
//region block: post-declaration
|
|
@@ -4843,25 +4880,25 @@
|
|
|
4843
4880
|
_no_name_provided__qut3iv.prototype.g4 = fold;
|
|
4844
4881
|
_no_name_provided__qut3iv.prototype.f4 = minusKey;
|
|
4845
4882
|
_no_name_provided__qut3iv.prototype.h4 = plus;
|
|
4846
|
-
AsyncProviderImpl.prototype.
|
|
4847
|
-
AsyncProviderImpl.prototype.
|
|
4848
|
-
middleware$1.prototype.
|
|
4849
|
-
combineReducers$1.prototype.
|
|
4850
|
-
StoreLifecycleAction.prototype.
|
|
4851
|
-
INIT.prototype.
|
|
4852
|
-
REPLACE.prototype.
|
|
4853
|
-
TimerAction.prototype.
|
|
4854
|
-
StopTimerAction.prototype.
|
|
4883
|
+
AsyncProviderImpl.prototype.d2h = launchStore$default;
|
|
4884
|
+
AsyncProviderImpl.prototype.f2h = launchWorker$default;
|
|
4885
|
+
middleware$1.prototype.y2h = canHandle;
|
|
4886
|
+
combineReducers$1.prototype.y2h = canHandle_0;
|
|
4887
|
+
StoreLifecycleAction.prototype.x2h = get_actionTag;
|
|
4888
|
+
INIT.prototype.x2h = get_actionTag;
|
|
4889
|
+
REPLACE.prototype.x2h = get_actionTag;
|
|
4890
|
+
TimerAction.prototype.x2h = get_actionTag;
|
|
4891
|
+
StopTimerAction.prototype.x2h = get_actionTag;
|
|
4855
4892
|
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4856
4893
|
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4857
|
-
StartTimerAction.prototype.
|
|
4858
|
-
TimerTickAction.prototype.
|
|
4859
|
-
CombinedGameLogger.prototype.
|
|
4860
|
-
CombinedGameLogger.prototype.
|
|
4861
|
-
CombinedGameLogger.prototype.
|
|
4862
|
-
PlatformGameLogger.prototype.
|
|
4863
|
-
PlatformGameLogger.prototype.
|
|
4864
|
-
PlatformGameLogger.prototype.
|
|
4894
|
+
StartTimerAction.prototype.x2h = get_actionTag;
|
|
4895
|
+
TimerTickAction.prototype.x2h = get_actionTag;
|
|
4896
|
+
CombinedGameLogger.prototype.u2k = d$default;
|
|
4897
|
+
CombinedGameLogger.prototype.w2g = e$default;
|
|
4898
|
+
CombinedGameLogger.prototype.k2h = w$default;
|
|
4899
|
+
PlatformGameLogger.prototype.u2k = d$default;
|
|
4900
|
+
PlatformGameLogger.prototype.w2g = e$default;
|
|
4901
|
+
PlatformGameLogger.prototype.k2h = w$default;
|
|
4865
4902
|
//endregion
|
|
4866
4903
|
//region block: exports
|
|
4867
4904
|
function $jsExportAll$(_) {
|
|
@@ -5037,81 +5074,82 @@
|
|
|
5037
5074
|
_.$_$.h1 = ProcessingReason;
|
|
5038
5075
|
_.$_$.i1 = WaitingForConnectionReason;
|
|
5039
5076
|
_.$_$.j1 = AsyncProvider;
|
|
5040
|
-
_.$_$.k1 =
|
|
5041
|
-
_.$_$.l1 =
|
|
5042
|
-
_.$_$.m1 =
|
|
5043
|
-
_.$_$.n1 =
|
|
5044
|
-
_.$_$.o1 =
|
|
5045
|
-
_.$_$.p1 =
|
|
5046
|
-
_.$_$.q1 =
|
|
5047
|
-
_.$_$.r1 =
|
|
5048
|
-
_.$_$.s1 =
|
|
5049
|
-
_.$_$.t1 =
|
|
5050
|
-
_.$_$.u1 =
|
|
5051
|
-
_.$_$.v1 =
|
|
5052
|
-
_.$_$.w1 =
|
|
5053
|
-
_.$_$.x1 =
|
|
5054
|
-
_.$_$.y1 =
|
|
5055
|
-
_.$_$.z1 =
|
|
5056
|
-
_.$_$.a2 =
|
|
5057
|
-
_.$_$.b2 =
|
|
5058
|
-
_.$_$.c2 =
|
|
5059
|
-
_.$_$.d2 =
|
|
5060
|
-
_.$_$.e2 =
|
|
5061
|
-
_.$_$.f2 =
|
|
5062
|
-
_.$_$.g2 =
|
|
5063
|
-
_.$_$.h2 =
|
|
5064
|
-
_.$_$.i2 =
|
|
5065
|
-
_.$_$.j2 =
|
|
5066
|
-
_.$_$.k2 =
|
|
5067
|
-
_.$_$.l2 =
|
|
5068
|
-
_.$_$.m2 =
|
|
5069
|
-
_.$_$.n2 =
|
|
5070
|
-
_.$_$.o2 =
|
|
5071
|
-
_.$_$.p2 =
|
|
5072
|
-
_.$_$.q2 =
|
|
5073
|
-
_.$_$.r2 =
|
|
5074
|
-
_.$_$.s2 =
|
|
5075
|
-
_.$_$.t2 =
|
|
5076
|
-
_.$_$.u2 =
|
|
5077
|
-
_.$_$.v2 =
|
|
5078
|
-
_.$_$.w2 =
|
|
5079
|
-
_.$_$.x2 =
|
|
5080
|
-
_.$_$.y2 =
|
|
5081
|
-
_.$_$.z2 =
|
|
5082
|
-
_.$_$.a3 =
|
|
5083
|
-
_.$_$.b3 =
|
|
5084
|
-
_.$_$.c3 =
|
|
5085
|
-
_.$_$.d3 =
|
|
5086
|
-
_.$_$.e3 =
|
|
5087
|
-
_.$_$.f3 =
|
|
5088
|
-
_.$_$.g3 =
|
|
5089
|
-
_.$_$.h3 =
|
|
5090
|
-
_.$_$.i3 =
|
|
5091
|
-
_.$_$.j3 =
|
|
5092
|
-
_.$_$.k3 =
|
|
5093
|
-
_.$_$.l3 =
|
|
5094
|
-
_.$_$.m3 =
|
|
5095
|
-
_.$_$.n3 =
|
|
5096
|
-
_.$_$.o3 =
|
|
5097
|
-
_.$_$.p3 =
|
|
5098
|
-
_.$_$.q3 =
|
|
5099
|
-
_.$_$.r3 =
|
|
5100
|
-
_.$_$.s3 =
|
|
5101
|
-
_.$_$.t3 =
|
|
5102
|
-
_.$_$.u3 =
|
|
5103
|
-
_.$_$.v3 =
|
|
5104
|
-
_.$_$.w3 = $
|
|
5105
|
-
_.$_$.x3 = $
|
|
5106
|
-
_.$_$.y3 =
|
|
5107
|
-
_.$_$.z3 =
|
|
5108
|
-
_.$_$.a4 =
|
|
5109
|
-
_.$_$.b4 =
|
|
5110
|
-
_.$_$.c4 =
|
|
5111
|
-
_.$_$.d4 =
|
|
5112
|
-
_.$_$.e4 =
|
|
5113
|
-
_.$_$.f4 =
|
|
5114
|
-
_.$_$.g4 =
|
|
5077
|
+
_.$_$.k1 = IdsProvider;
|
|
5078
|
+
_.$_$.l1 = JobsProvider;
|
|
5079
|
+
_.$_$.m1 = get_coreModule;
|
|
5080
|
+
_.$_$.n1 = get_actionTag;
|
|
5081
|
+
_.$_$.o1 = Action;
|
|
5082
|
+
_.$_$.p1 = Middleware;
|
|
5083
|
+
_.$_$.q1 = Reducer;
|
|
5084
|
+
_.$_$.r1 = combineReducers;
|
|
5085
|
+
_.$_$.s1 = middleware;
|
|
5086
|
+
_.$_$.t1 = parseActionName;
|
|
5087
|
+
_.$_$.u1 = compose;
|
|
5088
|
+
_.$_$.v1 = createStore;
|
|
5089
|
+
_.$_$.w1 = notValidateWhenFinished;
|
|
5090
|
+
_.$_$.x1 = NotValidateIfGameFinished;
|
|
5091
|
+
_.$_$.y1 = notValidateWhenFinishing;
|
|
5092
|
+
_.$_$.z1 = NotValidateIfGameFinishing;
|
|
5093
|
+
_.$_$.a2 = BufferedAction;
|
|
5094
|
+
_.$_$.b2 = ignoreExpectant;
|
|
5095
|
+
_.$_$.c2 = ExpectantAction;
|
|
5096
|
+
_.$_$.d2 = ReleaseBufferTriggerAction;
|
|
5097
|
+
_.$_$.e2 = StartTimerAction;
|
|
5098
|
+
_.$_$.f2 = StopTimerAction;
|
|
5099
|
+
_.$_$.g2 = TimerAction;
|
|
5100
|
+
_.$_$.h2 = TimerTickAction;
|
|
5101
|
+
_.$_$.i2 = applyCatcher;
|
|
5102
|
+
_.$_$.j2 = applyMiddleware;
|
|
5103
|
+
_.$_$.k2 = timerMiddleware;
|
|
5104
|
+
_.$_$.l2 = CombinedGameLogger;
|
|
5105
|
+
_.$_$.m2 = GameLogger;
|
|
5106
|
+
_.$_$.n2 = LoggerPayload;
|
|
5107
|
+
_.$_$.o2 = LoggerOutput;
|
|
5108
|
+
_.$_$.p2 = generateMsg;
|
|
5109
|
+
_.$_$.q2 = enumToString;
|
|
5110
|
+
_.$_$.r2 = nextTo;
|
|
5111
|
+
_.$_$.s2 = sortWithItem;
|
|
5112
|
+
_.$_$.t2 = toDomainEnumSafe;
|
|
5113
|
+
_.$_$.u2 = updateItem;
|
|
5114
|
+
_.$_$.v2 = updated;
|
|
5115
|
+
_.$_$.w2 = PlayerConnectionState_DELETED_getInstance;
|
|
5116
|
+
_.$_$.x2 = PlayerConnectionState_LEFT_getInstance;
|
|
5117
|
+
_.$_$.y2 = PlayerConnectionState_LIVE_getInstance;
|
|
5118
|
+
_.$_$.z2 = PlayerConnectionState_LOST_CONNECTION_getInstance;
|
|
5119
|
+
_.$_$.a3 = PlayerConnectionState_TIMEOUT_getInstance;
|
|
5120
|
+
_.$_$.b3 = RulesSetType_belot_getInstance;
|
|
5121
|
+
_.$_$.c3 = RulesSetType_custom_getInstance;
|
|
5122
|
+
_.$_$.d3 = RulesSetType_debertzCommon_getInstance;
|
|
5123
|
+
_.$_$.e3 = RulesSetType_debertzKharkiv_getInstance;
|
|
5124
|
+
_.$_$.f3 = RulesSetType_klabor_getInstance;
|
|
5125
|
+
_.$_$.g3 = CardName_ACE_getInstance;
|
|
5126
|
+
_.$_$.h3 = CardName_DAME_getInstance;
|
|
5127
|
+
_.$_$.i3 = CardName_EIGHT_getInstance;
|
|
5128
|
+
_.$_$.j3 = CardName_JACK_getInstance;
|
|
5129
|
+
_.$_$.k3 = CardName_KING_getInstance;
|
|
5130
|
+
_.$_$.l3 = CardName_NINE_getInstance;
|
|
5131
|
+
_.$_$.m3 = CardName_SEVEN_getInstance;
|
|
5132
|
+
_.$_$.n3 = CardName_TEN_getInstance;
|
|
5133
|
+
_.$_$.o3 = TimerType_DELAY_getInstance;
|
|
5134
|
+
_.$_$.p3 = d$default;
|
|
5135
|
+
_.$_$.q3 = e$default;
|
|
5136
|
+
_.$_$.r3 = w$default;
|
|
5137
|
+
_.$_$.s3 = StartTimerAction_init_$Create$;
|
|
5138
|
+
_.$_$.t3 = PlatformGameLogger_init_$Create$;
|
|
5139
|
+
_.$_$.u3 = Companion_getInstance_8;
|
|
5140
|
+
_.$_$.v3 = Companion_getInstance_10;
|
|
5141
|
+
_.$_$.w3 = $serializer_getInstance_5;
|
|
5142
|
+
_.$_$.x3 = $serializer_getInstance_6;
|
|
5143
|
+
_.$_$.y3 = $serializer_getInstance_7;
|
|
5144
|
+
_.$_$.z3 = CardIndexComparator_getInstance;
|
|
5145
|
+
_.$_$.a4 = CardNumberComparator_getInstance;
|
|
5146
|
+
_.$_$.b4 = Companion_getInstance_15;
|
|
5147
|
+
_.$_$.c4 = Companion_getInstance_17;
|
|
5148
|
+
_.$_$.d4 = Companion_getInstance;
|
|
5149
|
+
_.$_$.e4 = ProcessingReason_getInstance;
|
|
5150
|
+
_.$_$.f4 = RestartGameReason_getInstance;
|
|
5151
|
+
_.$_$.g4 = Companion_getInstance_1;
|
|
5152
|
+
_.$_$.h4 = Logger_getInstance;
|
|
5115
5153
|
//endregion
|
|
5116
5154
|
return _;
|
|
5117
5155
|
}));
|