raspberry_games_server_game_logic 1.8.277 → 1.8.279
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 +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +2176 -2176
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +657 -657
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -305,15 +305,15 @@
|
|
|
305
305
|
tmp = spectators;
|
|
306
306
|
}
|
|
307
307
|
spectators = tmp;
|
|
308
|
-
return this.
|
|
308
|
+
return this.x9t(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
309
309
|
}
|
|
310
310
|
function roomOnDelete(newRid, $super) {
|
|
311
311
|
newRid = newRid === VOID ? null : newRid;
|
|
312
|
-
return this.
|
|
312
|
+
return this.y9t(newRid);
|
|
313
313
|
}
|
|
314
314
|
function shutdown(reason, roomId, $super) {
|
|
315
315
|
roomId = roomId === VOID ? null : roomId;
|
|
316
|
-
return this.
|
|
316
|
+
return this.z9t(reason, roomId);
|
|
317
317
|
}
|
|
318
318
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
319
319
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
387
387
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
388
388
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
389
|
-
return this.
|
|
389
|
+
return this.ja3(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
390
390
|
}
|
|
391
391
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
392
392
|
initMetadataForClass(_no_name_provided__qut3iv_8, VOID, VOID, VOID, [Reducer]);
|
|
@@ -395,17 +395,17 @@
|
|
|
395
395
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
396
396
|
//endregion
|
|
397
397
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
398
|
-
this.
|
|
398
|
+
this.x9j_1 = $subscriber;
|
|
399
399
|
CoroutineImpl.call(this, resultContinuation);
|
|
400
400
|
}
|
|
401
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
402
|
-
var tmp = this.
|
|
401
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z9j = function (it, $completion) {
|
|
402
|
+
var tmp = this.a9k(it, $completion);
|
|
403
403
|
tmp.g9_1 = Unit_instance;
|
|
404
404
|
tmp.h9_1 = null;
|
|
405
405
|
return tmp.m9();
|
|
406
406
|
};
|
|
407
407
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
|
|
408
|
-
return this.
|
|
408
|
+
return this.z9j(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
409
409
|
};
|
|
410
410
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
411
411
|
var suspendResult = this.g9_1;
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
var tmp = this.e9_1;
|
|
415
415
|
if (tmp === 0) {
|
|
416
416
|
this.f9_1 = 1;
|
|
417
|
-
this.
|
|
417
|
+
this.x9j_1(this.y9j_1);
|
|
418
418
|
return Unit_instance;
|
|
419
419
|
} else if (tmp === 1) {
|
|
420
420
|
throw this.h9_1;
|
|
@@ -425,31 +425,31 @@
|
|
|
425
425
|
}
|
|
426
426
|
while (true);
|
|
427
427
|
};
|
|
428
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
429
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
430
|
-
i.
|
|
428
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9k = function (it, completion) {
|
|
429
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.x9j_1, completion);
|
|
430
|
+
i.y9j_1 = it;
|
|
431
431
|
return i;
|
|
432
432
|
};
|
|
433
433
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
434
434
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
435
435
|
var l = function (it, $completion) {
|
|
436
|
-
return i.
|
|
436
|
+
return i.z9j(it, $completion);
|
|
437
437
|
};
|
|
438
438
|
l.$arity = 1;
|
|
439
439
|
return l;
|
|
440
440
|
}
|
|
441
441
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
442
|
-
this.
|
|
442
|
+
this.j9k_1 = $subscriber;
|
|
443
443
|
CoroutineImpl.call(this, resultContinuation);
|
|
444
444
|
}
|
|
445
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
446
|
-
var tmp = this.
|
|
445
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).l9k = function (it, $completion) {
|
|
446
|
+
var tmp = this.m9k(it, $completion);
|
|
447
447
|
tmp.g9_1 = Unit_instance;
|
|
448
448
|
tmp.h9_1 = null;
|
|
449
449
|
return tmp.m9();
|
|
450
450
|
};
|
|
451
451
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).w9 = function (p1, $completion) {
|
|
452
|
-
return this.
|
|
452
|
+
return this.l9k((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
453
453
|
};
|
|
454
454
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).m9 = function () {
|
|
455
455
|
var suspendResult = this.g9_1;
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
var tmp = this.e9_1;
|
|
459
459
|
if (tmp === 0) {
|
|
460
460
|
this.f9_1 = 1;
|
|
461
|
-
this.
|
|
461
|
+
this.j9k_1(this.k9k_1);
|
|
462
462
|
return Unit_instance;
|
|
463
463
|
} else if (tmp === 1) {
|
|
464
464
|
throw this.h9_1;
|
|
@@ -469,31 +469,31 @@
|
|
|
469
469
|
}
|
|
470
470
|
while (true);
|
|
471
471
|
};
|
|
472
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
473
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
474
|
-
i.
|
|
472
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).m9k = function (it, completion) {
|
|
473
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.j9k_1, completion);
|
|
474
|
+
i.k9k_1 = it;
|
|
475
475
|
return i;
|
|
476
476
|
};
|
|
477
477
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
478
478
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
479
479
|
var l = function (it, $completion) {
|
|
480
|
-
return i.
|
|
480
|
+
return i.l9k(it, $completion);
|
|
481
481
|
};
|
|
482
482
|
l.$arity = 1;
|
|
483
483
|
return l;
|
|
484
484
|
}
|
|
485
485
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
486
|
-
this.
|
|
486
|
+
this.v9k_1 = $subscriber;
|
|
487
487
|
CoroutineImpl.call(this, resultContinuation);
|
|
488
488
|
}
|
|
489
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
490
|
-
var tmp = this.
|
|
489
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).x9k = function (it, $completion) {
|
|
490
|
+
var tmp = this.y9k(it, $completion);
|
|
491
491
|
tmp.g9_1 = Unit_instance;
|
|
492
492
|
tmp.h9_1 = null;
|
|
493
493
|
return tmp.m9();
|
|
494
494
|
};
|
|
495
495
|
protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
|
|
496
|
-
return this.
|
|
496
|
+
return this.x9k(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
497
497
|
};
|
|
498
498
|
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
499
499
|
var suspendResult = this.g9_1;
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
var tmp = this.e9_1;
|
|
503
503
|
if (tmp === 0) {
|
|
504
504
|
this.f9_1 = 1;
|
|
505
|
-
this.
|
|
505
|
+
this.v9k_1(this.w9k_1);
|
|
506
506
|
return Unit_instance;
|
|
507
507
|
} else if (tmp === 1) {
|
|
508
508
|
throw this.h9_1;
|
|
@@ -513,82 +513,82 @@
|
|
|
513
513
|
}
|
|
514
514
|
while (true);
|
|
515
515
|
};
|
|
516
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
517
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
518
|
-
i.
|
|
516
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).y9k = function (it, completion) {
|
|
517
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.v9k_1, completion);
|
|
518
|
+
i.w9k_1 = it;
|
|
519
519
|
return i;
|
|
520
520
|
};
|
|
521
521
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
522
522
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
523
523
|
var l = function (it, $completion) {
|
|
524
|
-
return i.
|
|
524
|
+
return i.x9k(it, $completion);
|
|
525
525
|
};
|
|
526
526
|
l.$arity = 1;
|
|
527
527
|
return l;
|
|
528
528
|
}
|
|
529
529
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($it) {
|
|
530
|
-
this.
|
|
530
|
+
this.z9k_1 = $it;
|
|
531
531
|
}
|
|
532
532
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).f6a = function () {
|
|
533
|
-
return this.
|
|
533
|
+
return this.z9k_1;
|
|
534
534
|
};
|
|
535
535
|
function _get_logger__rkp4sl($this) {
|
|
536
536
|
// Inline function 'kotlin.getValue' call
|
|
537
|
-
var this_0 = $this.
|
|
537
|
+
var this_0 = $this.c9l_1;
|
|
538
538
|
logger$factory_0();
|
|
539
539
|
return this_0.u();
|
|
540
540
|
}
|
|
541
541
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
542
542
|
// Inline function 'kotlin.getValue' call
|
|
543
|
-
var this_0 = $this.
|
|
543
|
+
var this_0 = $this.d9l_1;
|
|
544
544
|
toClientEventsObserver$factory_0();
|
|
545
545
|
return this_0.u();
|
|
546
546
|
}
|
|
547
547
|
function _get_mechanicEventsObserver__ll1b9k($this) {
|
|
548
548
|
// Inline function 'kotlin.getValue' call
|
|
549
|
-
var this_0 = $this.
|
|
549
|
+
var this_0 = $this.e9l_1;
|
|
550
550
|
mechanicEventsObserver$factory_0();
|
|
551
551
|
return this_0.u();
|
|
552
552
|
}
|
|
553
553
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
554
554
|
// Inline function 'kotlin.getValue' call
|
|
555
|
-
var this_0 = $this.
|
|
555
|
+
var this_0 = $this.f9l_1;
|
|
556
556
|
playerConnectionInteractor$factory_0();
|
|
557
557
|
return this_0.u();
|
|
558
558
|
}
|
|
559
559
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
560
560
|
// Inline function 'kotlin.getValue' call
|
|
561
|
-
var this_0 = $this.
|
|
561
|
+
var this_0 = $this.g9l_1;
|
|
562
562
|
teamsLogicProvider$factory_0();
|
|
563
563
|
return this_0.u();
|
|
564
564
|
}
|
|
565
565
|
function _get_random__h29cgo($this) {
|
|
566
566
|
// Inline function 'kotlin.getValue' call
|
|
567
|
-
var this_0 = $this.
|
|
567
|
+
var this_0 = $this.h9l_1;
|
|
568
568
|
random$factory();
|
|
569
569
|
return this_0.u();
|
|
570
570
|
}
|
|
571
571
|
function _get_idsProvider__fnfajc($this) {
|
|
572
572
|
// Inline function 'kotlin.getValue' call
|
|
573
|
-
var this_0 = $this.
|
|
573
|
+
var this_0 = $this.i9l_1;
|
|
574
574
|
idsProvider$factory_0();
|
|
575
575
|
return this_0.u();
|
|
576
576
|
}
|
|
577
577
|
function Companion() {
|
|
578
|
-
this.
|
|
578
|
+
this.k9l_1 = 'GameEngine_API';
|
|
579
579
|
}
|
|
580
580
|
var Companion_instance_7;
|
|
581
581
|
function Companion_getInstance_0() {
|
|
582
582
|
return Companion_instance_7;
|
|
583
583
|
}
|
|
584
584
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
585
|
-
this.
|
|
585
|
+
this.l9l_1 = function_0;
|
|
586
586
|
}
|
|
587
587
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
|
|
588
|
-
return this.
|
|
588
|
+
return this.l9l_1(value, $completion);
|
|
589
589
|
};
|
|
590
590
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
591
|
-
return this.
|
|
591
|
+
return this.l9l_1;
|
|
592
592
|
};
|
|
593
593
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
594
594
|
var tmp;
|
|
@@ -609,13 +609,13 @@
|
|
|
609
609
|
return hashCode(this.o3());
|
|
610
610
|
};
|
|
611
611
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
612
|
-
this.
|
|
612
|
+
this.m9l_1 = function_0;
|
|
613
613
|
}
|
|
614
614
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
615
|
-
return this.
|
|
615
|
+
return this.m9l_1(value, $completion);
|
|
616
616
|
};
|
|
617
617
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
618
|
-
return this.
|
|
618
|
+
return this.m9l_1;
|
|
619
619
|
};
|
|
620
620
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
621
621
|
var tmp;
|
|
@@ -636,13 +636,13 @@
|
|
|
636
636
|
return hashCode(this.o3());
|
|
637
637
|
};
|
|
638
638
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
639
|
-
this.
|
|
639
|
+
this.n9l_1 = function_0;
|
|
640
640
|
}
|
|
641
641
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).p18 = function (value, $completion) {
|
|
642
|
-
return this.
|
|
642
|
+
return this.n9l_1(value, $completion);
|
|
643
643
|
};
|
|
644
644
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o3 = function () {
|
|
645
|
-
return this.
|
|
645
|
+
return this.n9l_1;
|
|
646
646
|
};
|
|
647
647
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
648
648
|
var tmp;
|
|
@@ -668,8 +668,8 @@
|
|
|
668
668
|
};
|
|
669
669
|
}
|
|
670
670
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
671
|
-
this.
|
|
672
|
-
this.
|
|
671
|
+
this.w9l_1 = this$0;
|
|
672
|
+
this.x9l_1 = $subscriber;
|
|
673
673
|
CoroutineImpl.call(this, resultContinuation);
|
|
674
674
|
}
|
|
675
675
|
protoOf(GameServer$subscribeToClientAction$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -690,8 +690,8 @@
|
|
|
690
690
|
case 0:
|
|
691
691
|
this.f9_1 = 2;
|
|
692
692
|
this.e9_1 = 1;
|
|
693
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
694
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
693
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.w9l_1).z9l();
|
|
694
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.x9l_1, null);
|
|
695
695
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
696
696
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
697
697
|
return suspendResult;
|
|
@@ -715,8 +715,8 @@
|
|
|
715
715
|
while (true);
|
|
716
716
|
};
|
|
717
717
|
protoOf(GameServer$subscribeToClientAction$slambda).l1e = function ($this$launchDefault, completion) {
|
|
718
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
719
|
-
i.
|
|
718
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.w9l_1, this.x9l_1, completion);
|
|
719
|
+
i.y9l_1 = $this$launchDefault;
|
|
720
720
|
return i;
|
|
721
721
|
};
|
|
722
722
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -728,8 +728,8 @@
|
|
|
728
728
|
return l;
|
|
729
729
|
}
|
|
730
730
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
731
|
+
this.i9m_1 = this$0;
|
|
732
|
+
this.j9m_1 = $subscriber;
|
|
733
733
|
CoroutineImpl.call(this, resultContinuation);
|
|
734
734
|
}
|
|
735
735
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -750,8 +750,8 @@
|
|
|
750
750
|
case 0:
|
|
751
751
|
this.f9_1 = 2;
|
|
752
752
|
this.e9_1 = 1;
|
|
753
|
-
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.
|
|
754
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
753
|
+
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.i9m_1).l9m(this.i9m_1.j6q());
|
|
754
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.j9m_1, null);
|
|
755
755
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
756
756
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
757
757
|
return suspendResult;
|
|
@@ -775,8 +775,8 @@
|
|
|
775
775
|
while (true);
|
|
776
776
|
};
|
|
777
777
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).l1e = function ($this$launchDefault, completion) {
|
|
778
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
779
|
-
i.
|
|
778
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.i9m_1, this.j9m_1, completion);
|
|
779
|
+
i.k9m_1 = $this$launchDefault;
|
|
780
780
|
return i;
|
|
781
781
|
};
|
|
782
782
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -788,8 +788,8 @@
|
|
|
788
788
|
return l;
|
|
789
789
|
}
|
|
790
790
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
791
|
-
this.
|
|
792
|
-
this.
|
|
791
|
+
this.u9m_1 = this$0;
|
|
792
|
+
this.v9m_1 = $subscriber;
|
|
793
793
|
CoroutineImpl.call(this, resultContinuation);
|
|
794
794
|
}
|
|
795
795
|
protoOf(GameServer$subscribeWith$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -810,8 +810,8 @@
|
|
|
810
810
|
case 0:
|
|
811
811
|
this.f9_1 = 2;
|
|
812
812
|
this.e9_1 = 1;
|
|
813
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
814
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
813
|
+
var tmp_0 = distinctUntilChanged(this.u9m_1.j6q());
|
|
814
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.v9m_1, null);
|
|
815
815
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
816
816
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
817
817
|
return suspendResult;
|
|
@@ -835,8 +835,8 @@
|
|
|
835
835
|
while (true);
|
|
836
836
|
};
|
|
837
837
|
protoOf(GameServer$subscribeWith$slambda).l1e = function ($this$launchDefault, completion) {
|
|
838
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
839
|
-
i.
|
|
838
|
+
var i = new GameServer$subscribeWith$slambda(this.u9m_1, this.v9m_1, completion);
|
|
839
|
+
i.w9m_1 = $this$launchDefault;
|
|
840
840
|
return i;
|
|
841
841
|
};
|
|
842
842
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -848,18 +848,18 @@
|
|
|
848
848
|
return l;
|
|
849
849
|
}
|
|
850
850
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
851
|
-
this.
|
|
851
|
+
this.f9n_1 = $action;
|
|
852
852
|
CoroutineImpl.call(this, resultContinuation);
|
|
853
853
|
}
|
|
854
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
855
|
-
var tmp = this.
|
|
854
|
+
protoOf(GameServer$fromClientEvent$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
855
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
856
856
|
tmp.g9_1 = Unit_instance;
|
|
857
857
|
tmp.h9_1 = null;
|
|
858
858
|
return tmp.m9();
|
|
859
859
|
};
|
|
860
860
|
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
861
861
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
862
|
-
return this.
|
|
862
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
863
863
|
};
|
|
864
864
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
865
865
|
var suspendResult = this.g9_1;
|
|
@@ -868,11 +868,11 @@
|
|
|
868
868
|
var tmp = this.e9_1;
|
|
869
869
|
if (tmp === 0) {
|
|
870
870
|
this.f9_1 = 1;
|
|
871
|
-
if (this.
|
|
872
|
-
if (!get_isCreated(this.
|
|
871
|
+
if (this.f9n_1 instanceof PlayerReadyFromClientAction)
|
|
872
|
+
if (!get_isCreated(this.h9n_1.state)) {
|
|
873
873
|
return Unit_instance;
|
|
874
874
|
}
|
|
875
|
-
this.
|
|
875
|
+
this.h9n_1.dispatch(this.f9n_1);
|
|
876
876
|
return Unit_instance;
|
|
877
877
|
} else if (tmp === 1) {
|
|
878
878
|
throw this.h9_1;
|
|
@@ -883,33 +883,33 @@
|
|
|
883
883
|
}
|
|
884
884
|
while (true);
|
|
885
885
|
};
|
|
886
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
887
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
888
|
-
i.
|
|
889
|
-
i.
|
|
886
|
+
protoOf(GameServer$fromClientEvent$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
887
|
+
var i = new GameServer$fromClientEvent$slambda(this.f9n_1, completion);
|
|
888
|
+
i.g9n_1 = $this$dispatchAsync;
|
|
889
|
+
i.h9n_1 = store;
|
|
890
890
|
return i;
|
|
891
891
|
};
|
|
892
892
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
893
893
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
894
894
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
895
|
-
return i.
|
|
895
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
896
896
|
};
|
|
897
897
|
l.$arity = 2;
|
|
898
898
|
return l;
|
|
899
899
|
}
|
|
900
900
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
901
|
-
this.
|
|
901
|
+
this.s9n_1 = $playerId;
|
|
902
902
|
CoroutineImpl.call(this, resultContinuation);
|
|
903
903
|
}
|
|
904
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
905
|
-
var tmp = this.
|
|
904
|
+
protoOf(GameServer$playerLostConnection$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
905
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
906
906
|
tmp.g9_1 = Unit_instance;
|
|
907
907
|
tmp.h9_1 = null;
|
|
908
908
|
return tmp.m9();
|
|
909
909
|
};
|
|
910
910
|
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
911
911
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
912
|
-
return this.
|
|
912
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
913
913
|
};
|
|
914
914
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
915
915
|
var suspendResult = this.g9_1;
|
|
@@ -918,12 +918,12 @@
|
|
|
918
918
|
var tmp = this.e9_1;
|
|
919
919
|
if (tmp === 0) {
|
|
920
920
|
this.f9_1 = 1;
|
|
921
|
-
if (!get_isCreated(this.
|
|
921
|
+
if (!get_isCreated(this.u9n_1.state)) {
|
|
922
922
|
return Unit_instance;
|
|
923
923
|
}
|
|
924
|
-
var tmp_0 = this.
|
|
924
|
+
var tmp_0 = this.u9n_1.dispatch;
|
|
925
925
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
926
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
926
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9n_1));
|
|
927
927
|
return Unit_instance;
|
|
928
928
|
} else if (tmp === 1) {
|
|
929
929
|
throw this.h9_1;
|
|
@@ -934,33 +934,33 @@
|
|
|
934
934
|
}
|
|
935
935
|
while (true);
|
|
936
936
|
};
|
|
937
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
938
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
939
|
-
i.
|
|
940
|
-
i.
|
|
937
|
+
protoOf(GameServer$playerLostConnection$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
938
|
+
var i = new GameServer$playerLostConnection$slambda(this.s9n_1, completion);
|
|
939
|
+
i.t9n_1 = $this$dispatchAsync;
|
|
940
|
+
i.u9n_1 = store;
|
|
941
941
|
return i;
|
|
942
942
|
};
|
|
943
943
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
944
944
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
945
945
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
946
|
-
return i.
|
|
946
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
947
947
|
};
|
|
948
948
|
l.$arity = 2;
|
|
949
949
|
return l;
|
|
950
950
|
}
|
|
951
951
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
952
|
-
this.
|
|
952
|
+
this.d9o_1 = $playerId;
|
|
953
953
|
CoroutineImpl.call(this, resultContinuation);
|
|
954
954
|
}
|
|
955
|
-
protoOf(GameServer$playerLive$slambda).
|
|
956
|
-
var tmp = this.
|
|
955
|
+
protoOf(GameServer$playerLive$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
956
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
957
957
|
tmp.g9_1 = Unit_instance;
|
|
958
958
|
tmp.h9_1 = null;
|
|
959
959
|
return tmp.m9();
|
|
960
960
|
};
|
|
961
961
|
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
962
962
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
963
|
-
return this.
|
|
963
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
964
964
|
};
|
|
965
965
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
966
966
|
var suspendResult = this.g9_1;
|
|
@@ -969,9 +969,9 @@
|
|
|
969
969
|
var tmp = this.e9_1;
|
|
970
970
|
if (tmp === 0) {
|
|
971
971
|
this.f9_1 = 1;
|
|
972
|
-
var tmp_0 = this.
|
|
972
|
+
var tmp_0 = this.f9o_1.dispatch;
|
|
973
973
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
974
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
974
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.d9o_1));
|
|
975
975
|
return Unit_instance;
|
|
976
976
|
} else if (tmp === 1) {
|
|
977
977
|
throw this.h9_1;
|
|
@@ -982,33 +982,33 @@
|
|
|
982
982
|
}
|
|
983
983
|
while (true);
|
|
984
984
|
};
|
|
985
|
-
protoOf(GameServer$playerLive$slambda).
|
|
986
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
987
|
-
i.
|
|
988
|
-
i.
|
|
985
|
+
protoOf(GameServer$playerLive$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
986
|
+
var i = new GameServer$playerLive$slambda(this.d9o_1, completion);
|
|
987
|
+
i.e9o_1 = $this$dispatchAsync;
|
|
988
|
+
i.f9o_1 = store;
|
|
989
989
|
return i;
|
|
990
990
|
};
|
|
991
991
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
992
992
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
993
993
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
994
|
-
return i.
|
|
994
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
995
995
|
};
|
|
996
996
|
l.$arity = 2;
|
|
997
997
|
return l;
|
|
998
998
|
}
|
|
999
999
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
1000
|
-
this.
|
|
1000
|
+
this.o9o_1 = $playerId;
|
|
1001
1001
|
CoroutineImpl.call(this, resultContinuation);
|
|
1002
1002
|
}
|
|
1003
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1004
|
-
var tmp = this.
|
|
1003
|
+
protoOf(GameServer$playerLeft$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1004
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1005
1005
|
tmp.g9_1 = Unit_instance;
|
|
1006
1006
|
tmp.h9_1 = null;
|
|
1007
1007
|
return tmp.m9();
|
|
1008
1008
|
};
|
|
1009
1009
|
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
1010
1010
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1011
|
-
return this.
|
|
1011
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1012
1012
|
};
|
|
1013
1013
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
1014
1014
|
var suspendResult = this.g9_1;
|
|
@@ -1017,9 +1017,9 @@
|
|
|
1017
1017
|
var tmp = this.e9_1;
|
|
1018
1018
|
if (tmp === 0) {
|
|
1019
1019
|
this.f9_1 = 1;
|
|
1020
|
-
var tmp_0 = this.
|
|
1020
|
+
var tmp_0 = this.q9o_1.dispatch;
|
|
1021
1021
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1022
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1022
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.o9o_1));
|
|
1023
1023
|
return Unit_instance;
|
|
1024
1024
|
} else if (tmp === 1) {
|
|
1025
1025
|
throw this.h9_1;
|
|
@@ -1030,39 +1030,39 @@
|
|
|
1030
1030
|
}
|
|
1031
1031
|
while (true);
|
|
1032
1032
|
};
|
|
1033
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1034
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1035
|
-
i.
|
|
1036
|
-
i.
|
|
1033
|
+
protoOf(GameServer$playerLeft$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1034
|
+
var i = new GameServer$playerLeft$slambda(this.o9o_1, completion);
|
|
1035
|
+
i.p9o_1 = $this$dispatchAsync;
|
|
1036
|
+
i.q9o_1 = store;
|
|
1037
1037
|
return i;
|
|
1038
1038
|
};
|
|
1039
1039
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
1040
1040
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
1041
1041
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1042
|
-
return i.
|
|
1042
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1043
1043
|
};
|
|
1044
1044
|
l.$arity = 2;
|
|
1045
1045
|
return l;
|
|
1046
1046
|
}
|
|
1047
1047
|
function GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1048
|
-
this.
|
|
1049
|
-
this.
|
|
1050
|
-
this.
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1054
|
-
this.
|
|
1048
|
+
this.z9o_1 = $usersArray;
|
|
1049
|
+
this.a9p_1 = $gameCreatorId;
|
|
1050
|
+
this.b9p_1 = $config;
|
|
1051
|
+
this.c9p_1 = $transition;
|
|
1052
|
+
this.d9p_1 = this$0;
|
|
1053
|
+
this.e9p_1 = $spectators;
|
|
1054
|
+
this.f9p_1 = $roomId;
|
|
1055
1055
|
CoroutineImpl.call(this, resultContinuation);
|
|
1056
1056
|
}
|
|
1057
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1058
|
-
var tmp = this.
|
|
1057
|
+
protoOf(GameServer$roomOnCreate$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1058
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1059
1059
|
tmp.g9_1 = Unit_instance;
|
|
1060
1060
|
tmp.h9_1 = null;
|
|
1061
1061
|
return tmp.m9();
|
|
1062
1062
|
};
|
|
1063
1063
|
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
1064
1064
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1065
|
-
return this.
|
|
1065
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1066
1066
|
};
|
|
1067
1067
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
1068
1068
|
var suspendResult = this.g9_1;
|
|
@@ -1071,24 +1071,24 @@
|
|
|
1071
1071
|
var tmp = this.e9_1;
|
|
1072
1072
|
if (tmp === 0) {
|
|
1073
1073
|
this.f9_1 = 1;
|
|
1074
|
-
var users = toList(this.
|
|
1075
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1074
|
+
var users = toList(this.z9o_1);
|
|
1075
|
+
var gameCreatorUser = getPlayer(users, this.a9p_1);
|
|
1076
1076
|
var tmp_0;
|
|
1077
|
-
if (this.
|
|
1078
|
-
tmp_0 = sortWithItem(_get_random__h29cgo(this.
|
|
1077
|
+
if (this.b9p_1.mode.shufflePlayers && this.c9p_1 == null) {
|
|
1078
|
+
tmp_0 = sortWithItem(_get_random__h29cgo(this.d9p_1).h5w(toMutableList(users)), gameCreatorUser);
|
|
1079
1079
|
} else {
|
|
1080
|
-
var tmp0_safe_receiver = this.
|
|
1080
|
+
var tmp0_safe_receiver = this.c9p_1;
|
|
1081
1081
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1082
1082
|
var tmp_1;
|
|
1083
|
-
if (!(previousPlayers == null) && this.
|
|
1084
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1083
|
+
if (!(previousPlayers == null) && this.b9p_1.playersMode.isTeamGame) {
|
|
1084
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.d9p_1);
|
|
1085
1085
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1086
1086
|
var tmp0_iterator = previousPlayers.j();
|
|
1087
1087
|
while (tmp0_iterator.k()) {
|
|
1088
1088
|
var item = tmp0_iterator.l();
|
|
1089
1089
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1090
1090
|
}
|
|
1091
|
-
var previousTeams = tmp_2.
|
|
1091
|
+
var previousTeams = tmp_2.h8s(destination);
|
|
1092
1092
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1093
1093
|
var tmp0_iterator_0 = users.j();
|
|
1094
1094
|
while (tmp0_iterator_0.k()) {
|
|
@@ -1112,17 +1112,17 @@
|
|
|
1112
1112
|
destination_1.e(destination_2);
|
|
1113
1113
|
}
|
|
1114
1114
|
var updatedTeams = destination_1;
|
|
1115
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1115
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.d9p_1).l8s(updatedTeams);
|
|
1116
1116
|
} else {
|
|
1117
1117
|
tmp_1 = users;
|
|
1118
1118
|
}
|
|
1119
1119
|
tmp_0 = tmp_1;
|
|
1120
1120
|
}
|
|
1121
1121
|
var updatedUsers = tmp_0;
|
|
1122
|
-
var tmp_3 = this.
|
|
1122
|
+
var tmp_3 = this.h9p_1.dispatch;
|
|
1123
1123
|
var tmp1_version = GameEngineConfig_instance.version;
|
|
1124
|
-
var tmp2_spectators = toList(this.
|
|
1125
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1124
|
+
var tmp2_spectators = toList(this.e9p_1);
|
|
1125
|
+
tmp_3(new StartGameMechanicAction(this.b9p_1, this.f9p_1, tmp1_version, this.a9p_1, updatedUsers, VOID, tmp2_spectators));
|
|
1126
1126
|
return Unit_instance;
|
|
1127
1127
|
} else if (tmp === 1) {
|
|
1128
1128
|
throw this.h9_1;
|
|
@@ -1133,33 +1133,33 @@
|
|
|
1133
1133
|
}
|
|
1134
1134
|
while (true);
|
|
1135
1135
|
};
|
|
1136
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1137
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1138
|
-
i.
|
|
1139
|
-
i.
|
|
1136
|
+
protoOf(GameServer$roomOnCreate$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1137
|
+
var i = new GameServer$roomOnCreate$slambda(this.z9o_1, this.a9p_1, this.b9p_1, this.c9p_1, this.d9p_1, this.e9p_1, this.f9p_1, completion);
|
|
1138
|
+
i.g9p_1 = $this$dispatchAsync;
|
|
1139
|
+
i.h9p_1 = store;
|
|
1140
1140
|
return i;
|
|
1141
1141
|
};
|
|
1142
1142
|
function GameServer$roomOnCreate$slambda_0($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1143
1143
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation);
|
|
1144
1144
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1145
|
-
return i.
|
|
1145
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1146
1146
|
};
|
|
1147
1147
|
l.$arity = 2;
|
|
1148
1148
|
return l;
|
|
1149
1149
|
}
|
|
1150
1150
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1151
|
-
this.
|
|
1151
|
+
this.q9p_1 = $state;
|
|
1152
1152
|
CoroutineImpl.call(this, resultContinuation);
|
|
1153
1153
|
}
|
|
1154
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1155
|
-
var tmp = this.
|
|
1154
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1155
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1156
1156
|
tmp.g9_1 = Unit_instance;
|
|
1157
1157
|
tmp.h9_1 = null;
|
|
1158
1158
|
return tmp.m9();
|
|
1159
1159
|
};
|
|
1160
1160
|
protoOf(GameServer$roomOnContinueFromState$slambda).x9 = function (p1, p2, $completion) {
|
|
1161
1161
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1162
|
-
return this.
|
|
1162
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1163
1163
|
};
|
|
1164
1164
|
protoOf(GameServer$roomOnContinueFromState$slambda).m9 = function () {
|
|
1165
1165
|
var suspendResult = this.g9_1;
|
|
@@ -1168,9 +1168,9 @@
|
|
|
1168
1168
|
var tmp = this.e9_1;
|
|
1169
1169
|
if (tmp === 0) {
|
|
1170
1170
|
this.f9_1 = 1;
|
|
1171
|
-
var tmp_0 = this.
|
|
1171
|
+
var tmp_0 = this.s9p_1.dispatch;
|
|
1172
1172
|
var tmp0_reason = RestartRoundReason_getInstance();
|
|
1173
|
-
var tmp1_table = this.
|
|
1173
|
+
var tmp1_table = this.q9p_1.table;
|
|
1174
1174
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1175
1175
|
return Unit_instance;
|
|
1176
1176
|
} else if (tmp === 1) {
|
|
@@ -1182,33 +1182,33 @@
|
|
|
1182
1182
|
}
|
|
1183
1183
|
while (true);
|
|
1184
1184
|
};
|
|
1185
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1186
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1187
|
-
i.
|
|
1188
|
-
i.
|
|
1185
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1186
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.q9p_1, completion);
|
|
1187
|
+
i.r9p_1 = $this$dispatchAsync;
|
|
1188
|
+
i.s9p_1 = store;
|
|
1189
1189
|
return i;
|
|
1190
1190
|
};
|
|
1191
1191
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1192
1192
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1193
1193
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1194
|
-
return i.
|
|
1194
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1195
1195
|
};
|
|
1196
1196
|
l.$arity = 2;
|
|
1197
1197
|
return l;
|
|
1198
1198
|
}
|
|
1199
1199
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1200
|
-
this.
|
|
1200
|
+
this.b9q_1 = $state;
|
|
1201
1201
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
1202
|
}
|
|
1203
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1204
|
-
var tmp = this.
|
|
1203
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1204
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1205
1205
|
tmp.g9_1 = Unit_instance;
|
|
1206
1206
|
tmp.h9_1 = null;
|
|
1207
1207
|
return tmp.m9();
|
|
1208
1208
|
};
|
|
1209
1209
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1210
1210
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1211
|
-
return this.
|
|
1211
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1212
1212
|
};
|
|
1213
1213
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9 = function () {
|
|
1214
1214
|
var suspendResult = this.g9_1;
|
|
@@ -1217,10 +1217,10 @@
|
|
|
1217
1217
|
var tmp = this.e9_1;
|
|
1218
1218
|
if (tmp === 0) {
|
|
1219
1219
|
this.f9_1 = 1;
|
|
1220
|
-
var tmp0_iterator = this.
|
|
1220
|
+
var tmp0_iterator = this.b9q_1.actions.j();
|
|
1221
1221
|
while (tmp0_iterator.k()) {
|
|
1222
1222
|
var element = tmp0_iterator.l();
|
|
1223
|
-
this.
|
|
1223
|
+
this.d9q_1.dispatch(element);
|
|
1224
1224
|
}
|
|
1225
1225
|
return Unit_instance;
|
|
1226
1226
|
} else if (tmp === 1) {
|
|
@@ -1232,35 +1232,35 @@
|
|
|
1232
1232
|
}
|
|
1233
1233
|
while (true);
|
|
1234
1234
|
};
|
|
1235
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1236
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1237
|
-
i.
|
|
1238
|
-
i.
|
|
1235
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1236
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.b9q_1, completion);
|
|
1237
|
+
i.c9q_1 = $this$dispatchAsync;
|
|
1238
|
+
i.d9q_1 = store;
|
|
1239
1239
|
return i;
|
|
1240
1240
|
};
|
|
1241
1241
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1242
1242
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1243
1243
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1244
|
-
return i.
|
|
1244
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1245
1245
|
};
|
|
1246
1246
|
l.$arity = 2;
|
|
1247
1247
|
return l;
|
|
1248
1248
|
}
|
|
1249
1249
|
function GameServer$roomOnContinueFromRound$slambda($roomId, this$0, $tableLite, resultContinuation) {
|
|
1250
|
-
this.
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1250
|
+
this.m9q_1 = $roomId;
|
|
1251
|
+
this.n9q_1 = this$0;
|
|
1252
|
+
this.o9q_1 = $tableLite;
|
|
1253
1253
|
CoroutineImpl.call(this, resultContinuation);
|
|
1254
1254
|
}
|
|
1255
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1256
|
-
var tmp = this.
|
|
1255
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1256
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1257
1257
|
tmp.g9_1 = Unit_instance;
|
|
1258
1258
|
tmp.h9_1 = null;
|
|
1259
1259
|
return tmp.m9();
|
|
1260
1260
|
};
|
|
1261
1261
|
protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
|
|
1262
1262
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1263
|
-
return this.
|
|
1263
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1264
1264
|
};
|
|
1265
1265
|
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
1266
1266
|
var suspendResult = this.g9_1;
|
|
@@ -1269,9 +1269,9 @@
|
|
|
1269
1269
|
var tmp = this.e9_1;
|
|
1270
1270
|
if (tmp === 0) {
|
|
1271
1271
|
this.f9_1 = 1;
|
|
1272
|
-
var tmp_0 = this.
|
|
1272
|
+
var tmp_0 = this.q9q_1.dispatch;
|
|
1273
1273
|
var tmp0_reason = RestartRoundReason_getInstance();
|
|
1274
|
-
var tmp1_table = Companion_instance.restartRound(this.
|
|
1274
|
+
var tmp1_table = Companion_instance.restartRound(this.m9q_1, _get_idsProvider__fnfajc(this.n9q_1).s6h(), GameEngineConfig_instance.version, this.o9q_1);
|
|
1275
1275
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1276
1276
|
return Unit_instance;
|
|
1277
1277
|
} else if (tmp === 1) {
|
|
@@ -1283,16 +1283,16 @@
|
|
|
1283
1283
|
}
|
|
1284
1284
|
while (true);
|
|
1285
1285
|
};
|
|
1286
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1287
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1288
|
-
i.
|
|
1289
|
-
i.
|
|
1286
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1287
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.m9q_1, this.n9q_1, this.o9q_1, completion);
|
|
1288
|
+
i.p9q_1 = $this$dispatchAsync;
|
|
1289
|
+
i.q9q_1 = store;
|
|
1290
1290
|
return i;
|
|
1291
1291
|
};
|
|
1292
1292
|
function GameServer$roomOnContinueFromRound$slambda_0($roomId, this$0, $tableLite, resultContinuation) {
|
|
1293
1293
|
var i = new GameServer$roomOnContinueFromRound$slambda($roomId, this$0, $tableLite, resultContinuation);
|
|
1294
1294
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1295
|
-
return i.
|
|
1295
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1296
1296
|
};
|
|
1297
1297
|
l.$arity = 2;
|
|
1298
1298
|
return l;
|
|
@@ -1300,15 +1300,15 @@
|
|
|
1300
1300
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1301
1301
|
CoroutineImpl.call(this, resultContinuation);
|
|
1302
1302
|
}
|
|
1303
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1304
|
-
var tmp = this.
|
|
1303
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1304
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1305
1305
|
tmp.g9_1 = Unit_instance;
|
|
1306
1306
|
tmp.h9_1 = null;
|
|
1307
1307
|
return tmp.m9();
|
|
1308
1308
|
};
|
|
1309
1309
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1310
1310
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1311
|
-
return this.
|
|
1311
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1312
1312
|
};
|
|
1313
1313
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9 = function () {
|
|
1314
1314
|
var suspendResult = this.g9_1;
|
|
@@ -1317,7 +1317,7 @@
|
|
|
1317
1317
|
var tmp = this.e9_1;
|
|
1318
1318
|
if (tmp === 0) {
|
|
1319
1319
|
this.f9_1 = 1;
|
|
1320
|
-
this.
|
|
1320
|
+
this.a9r_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1321
1321
|
return Unit_instance;
|
|
1322
1322
|
} else if (tmp === 1) {
|
|
1323
1323
|
throw this.h9_1;
|
|
@@ -1328,33 +1328,33 @@
|
|
|
1328
1328
|
}
|
|
1329
1329
|
while (true);
|
|
1330
1330
|
};
|
|
1331
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1331
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1332
1332
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1333
|
-
i.
|
|
1334
|
-
i.
|
|
1333
|
+
i.z9q_1 = $this$dispatchAsync;
|
|
1334
|
+
i.a9r_1 = store;
|
|
1335
1335
|
return i;
|
|
1336
1336
|
};
|
|
1337
1337
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1338
1338
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1339
1339
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1340
|
-
return i.
|
|
1340
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1341
1341
|
};
|
|
1342
1342
|
l.$arity = 2;
|
|
1343
1343
|
return l;
|
|
1344
1344
|
}
|
|
1345
1345
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1346
|
-
this.
|
|
1346
|
+
this.j9r_1 = $spectators;
|
|
1347
1347
|
CoroutineImpl.call(this, resultContinuation);
|
|
1348
1348
|
}
|
|
1349
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1350
|
-
var tmp = this.
|
|
1349
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1350
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1351
1351
|
tmp.g9_1 = Unit_instance;
|
|
1352
1352
|
tmp.h9_1 = null;
|
|
1353
1353
|
return tmp.m9();
|
|
1354
1354
|
};
|
|
1355
1355
|
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1356
1356
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1357
|
-
return this.
|
|
1357
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1358
1358
|
};
|
|
1359
1359
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
1360
1360
|
var suspendResult = this.g9_1;
|
|
@@ -1363,7 +1363,7 @@
|
|
|
1363
1363
|
var tmp = this.e9_1;
|
|
1364
1364
|
if (tmp === 0) {
|
|
1365
1365
|
this.f9_1 = 1;
|
|
1366
|
-
this.
|
|
1366
|
+
this.l9r_1.dispatch(new AddSpectatorsAction(toList(this.j9r_1)));
|
|
1367
1367
|
return Unit_instance;
|
|
1368
1368
|
} else if (tmp === 1) {
|
|
1369
1369
|
throw this.h9_1;
|
|
@@ -1374,33 +1374,33 @@
|
|
|
1374
1374
|
}
|
|
1375
1375
|
while (true);
|
|
1376
1376
|
};
|
|
1377
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1378
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1379
|
-
i.
|
|
1380
|
-
i.
|
|
1377
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1378
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.j9r_1, completion);
|
|
1379
|
+
i.k9r_1 = $this$dispatchAsync;
|
|
1380
|
+
i.l9r_1 = store;
|
|
1381
1381
|
return i;
|
|
1382
1382
|
};
|
|
1383
1383
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1384
1384
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1385
1385
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1386
|
-
return i.
|
|
1386
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1387
1387
|
};
|
|
1388
1388
|
l.$arity = 2;
|
|
1389
1389
|
return l;
|
|
1390
1390
|
}
|
|
1391
1391
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1392
|
-
this.
|
|
1392
|
+
this.u9r_1 = $spectators;
|
|
1393
1393
|
CoroutineImpl.call(this, resultContinuation);
|
|
1394
1394
|
}
|
|
1395
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1396
|
-
var tmp = this.
|
|
1395
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1396
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1397
1397
|
tmp.g9_1 = Unit_instance;
|
|
1398
1398
|
tmp.h9_1 = null;
|
|
1399
1399
|
return tmp.m9();
|
|
1400
1400
|
};
|
|
1401
1401
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1402
1402
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1403
|
-
return this.
|
|
1403
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1404
1404
|
};
|
|
1405
1405
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1406
1406
|
var suspendResult = this.g9_1;
|
|
@@ -1409,7 +1409,7 @@
|
|
|
1409
1409
|
var tmp = this.e9_1;
|
|
1410
1410
|
if (tmp === 0) {
|
|
1411
1411
|
this.f9_1 = 1;
|
|
1412
|
-
this.
|
|
1412
|
+
this.w9r_1.dispatch(new RemoveSpectatorsAction(toList(this.u9r_1)));
|
|
1413
1413
|
return Unit_instance;
|
|
1414
1414
|
} else if (tmp === 1) {
|
|
1415
1415
|
throw this.h9_1;
|
|
@@ -1420,34 +1420,34 @@
|
|
|
1420
1420
|
}
|
|
1421
1421
|
while (true);
|
|
1422
1422
|
};
|
|
1423
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1424
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1425
|
-
i.
|
|
1426
|
-
i.
|
|
1423
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1424
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.u9r_1, completion);
|
|
1425
|
+
i.v9r_1 = $this$dispatchAsync;
|
|
1426
|
+
i.w9r_1 = store;
|
|
1427
1427
|
return i;
|
|
1428
1428
|
};
|
|
1429
1429
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1430
1430
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1431
1431
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1432
|
-
return i.
|
|
1432
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1433
1433
|
};
|
|
1434
1434
|
l.$arity = 2;
|
|
1435
1435
|
return l;
|
|
1436
1436
|
}
|
|
1437
1437
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1438
|
-
this.
|
|
1439
|
-
this.
|
|
1438
|
+
this.f9s_1 = $playerId;
|
|
1439
|
+
this.g9s_1 = this$0;
|
|
1440
1440
|
CoroutineImpl.call(this, resultContinuation);
|
|
1441
1441
|
}
|
|
1442
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1443
|
-
var tmp = this.
|
|
1442
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1443
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1444
1444
|
tmp.g9_1 = Unit_instance;
|
|
1445
1445
|
tmp.h9_1 = null;
|
|
1446
1446
|
return tmp.m9();
|
|
1447
1447
|
};
|
|
1448
1448
|
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1449
1449
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1450
|
-
return this.
|
|
1450
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1451
1451
|
};
|
|
1452
1452
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1453
1453
|
var suspendResult = this.g9_1;
|
|
@@ -1456,14 +1456,14 @@
|
|
|
1456
1456
|
var tmp = this.e9_1;
|
|
1457
1457
|
if (tmp === 0) {
|
|
1458
1458
|
this.f9_1 = 1;
|
|
1459
|
-
var table = this.
|
|
1460
|
-
var player = getPlayer(table.players, this.
|
|
1459
|
+
var table = this.i9s_1.state.m6r();
|
|
1460
|
+
var player = getPlayer(table.players, this.f9s_1);
|
|
1461
1461
|
if (player.f6x_1.h6d().y6b_1.isLive) {
|
|
1462
|
-
this.
|
|
1462
|
+
this.i9s_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.g9s_1).c8z(player, table));
|
|
1463
1463
|
} else {
|
|
1464
|
-
var tmp_0 = this.
|
|
1464
|
+
var tmp_0 = this.i9s_1.dispatch;
|
|
1465
1465
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1466
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1466
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.f9s_1));
|
|
1467
1467
|
}
|
|
1468
1468
|
return Unit_instance;
|
|
1469
1469
|
} else if (tmp === 1) {
|
|
@@ -1475,34 +1475,34 @@
|
|
|
1475
1475
|
}
|
|
1476
1476
|
while (true);
|
|
1477
1477
|
};
|
|
1478
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1479
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1480
|
-
i.
|
|
1481
|
-
i.
|
|
1478
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1479
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.f9s_1, this.g9s_1, completion);
|
|
1480
|
+
i.h9s_1 = $this$dispatchAsync;
|
|
1481
|
+
i.i9s_1 = store;
|
|
1482
1482
|
return i;
|
|
1483
1483
|
};
|
|
1484
1484
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1485
1485
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1486
1486
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1487
|
-
return i.
|
|
1487
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1488
1488
|
};
|
|
1489
1489
|
l.$arity = 2;
|
|
1490
1490
|
return l;
|
|
1491
1491
|
}
|
|
1492
1492
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1493
|
+
this.r9s_1 = this$0;
|
|
1494
|
+
this.s9s_1 = $newRid;
|
|
1495
1495
|
CoroutineImpl.call(this, resultContinuation);
|
|
1496
1496
|
}
|
|
1497
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1498
|
-
var tmp = this.
|
|
1497
|
+
protoOf(GameServer$roomOnDelete$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1498
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1499
1499
|
tmp.g9_1 = Unit_instance;
|
|
1500
1500
|
tmp.h9_1 = null;
|
|
1501
1501
|
return tmp.m9();
|
|
1502
1502
|
};
|
|
1503
1503
|
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1504
1504
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1505
|
-
return this.
|
|
1505
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1506
1506
|
};
|
|
1507
1507
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1508
1508
|
var suspendResult = this.g9_1;
|
|
@@ -1511,19 +1511,19 @@
|
|
|
1511
1511
|
var tmp = this.e9_1;
|
|
1512
1512
|
if (tmp === 0) {
|
|
1513
1513
|
this.f9_1 = 1;
|
|
1514
|
-
var it = this.
|
|
1514
|
+
var it = this.r9s_1.e6b().n6q_1;
|
|
1515
1515
|
var tmp_0;
|
|
1516
1516
|
if (it == null) {
|
|
1517
|
-
_get_logger__rkp4sl(this.
|
|
1517
|
+
_get_logger__rkp4sl(this.r9s_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1518
1518
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1519
1519
|
} else {
|
|
1520
1520
|
tmp_0 = it;
|
|
1521
1521
|
}
|
|
1522
1522
|
var terminationState = tmp_0;
|
|
1523
|
-
var gameTransition = terminationState.
|
|
1523
|
+
var gameTransition = terminationState.i92_1;
|
|
1524
1524
|
var tmp_1;
|
|
1525
1525
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
1526
|
-
var value = this.
|
|
1526
|
+
var value = this.s9s_1;
|
|
1527
1527
|
var tmp$ret$0 = Unit_instance;
|
|
1528
1528
|
l$ret$1: do {
|
|
1529
1529
|
if (value == null) {
|
|
@@ -1540,9 +1540,9 @@
|
|
|
1540
1540
|
tmp_1 = gameTransition;
|
|
1541
1541
|
}
|
|
1542
1542
|
var transition = tmp_1;
|
|
1543
|
-
var tmp_2 = this.
|
|
1544
|
-
var tmp0_reason = terminationState.
|
|
1545
|
-
var tmp1_isGameFinished = this.
|
|
1543
|
+
var tmp_2 = this.u9s_1.dispatch;
|
|
1544
|
+
var tmp0_reason = terminationState.h92_1;
|
|
1545
|
+
var tmp1_isGameFinished = this.r9s_1.e6b().m6r().isGameFinished;
|
|
1546
1546
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
1547
1547
|
return Unit_instance;
|
|
1548
1548
|
} else if (tmp === 1) {
|
|
@@ -1554,33 +1554,33 @@
|
|
|
1554
1554
|
}
|
|
1555
1555
|
while (true);
|
|
1556
1556
|
};
|
|
1557
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1558
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1559
|
-
i.
|
|
1560
|
-
i.
|
|
1557
|
+
protoOf(GameServer$roomOnDelete$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1558
|
+
var i = new GameServer$roomOnDelete$slambda(this.r9s_1, this.s9s_1, completion);
|
|
1559
|
+
i.t9s_1 = $this$dispatchAsync;
|
|
1560
|
+
i.u9s_1 = store;
|
|
1561
1561
|
return i;
|
|
1562
1562
|
};
|
|
1563
1563
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1564
1564
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1565
1565
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1566
|
-
return i.
|
|
1566
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1567
1567
|
};
|
|
1568
1568
|
l.$arity = 2;
|
|
1569
1569
|
return l;
|
|
1570
1570
|
}
|
|
1571
1571
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1572
|
-
this.
|
|
1572
|
+
this.d9t_1 = $enabled;
|
|
1573
1573
|
CoroutineImpl.call(this, resultContinuation);
|
|
1574
1574
|
}
|
|
1575
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1576
|
-
var tmp = this.
|
|
1575
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1576
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1577
1577
|
tmp.g9_1 = Unit_instance;
|
|
1578
1578
|
tmp.h9_1 = null;
|
|
1579
1579
|
return tmp.m9();
|
|
1580
1580
|
};
|
|
1581
1581
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1582
1582
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1583
|
-
return this.
|
|
1583
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1584
1584
|
};
|
|
1585
1585
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1586
1586
|
var suspendResult = this.g9_1;
|
|
@@ -1589,7 +1589,7 @@
|
|
|
1589
1589
|
var tmp = this.e9_1;
|
|
1590
1590
|
if (tmp === 0) {
|
|
1591
1591
|
this.f9_1 = 1;
|
|
1592
|
-
this.
|
|
1592
|
+
this.f9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.f9t_1.state).g9t_1.i9t(this.d9t_1)));
|
|
1593
1593
|
return Unit_instance;
|
|
1594
1594
|
} else if (tmp === 1) {
|
|
1595
1595
|
throw this.h9_1;
|
|
@@ -1600,35 +1600,35 @@
|
|
|
1600
1600
|
}
|
|
1601
1601
|
while (true);
|
|
1602
1602
|
};
|
|
1603
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1604
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1605
|
-
i.
|
|
1606
|
-
i.
|
|
1603
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1604
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.d9t_1, completion);
|
|
1605
|
+
i.e9t_1 = $this$dispatchAsync;
|
|
1606
|
+
i.f9t_1 = store;
|
|
1607
1607
|
return i;
|
|
1608
1608
|
};
|
|
1609
1609
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1610
1610
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1611
1611
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1612
|
-
return i.
|
|
1612
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1613
1613
|
};
|
|
1614
1614
|
l.$arity = 2;
|
|
1615
1615
|
return l;
|
|
1616
1616
|
}
|
|
1617
1617
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1620
|
-
this.
|
|
1618
|
+
this.r9t_1 = $reason;
|
|
1619
|
+
this.s9t_1 = this$0;
|
|
1620
|
+
this.t9t_1 = $roomId;
|
|
1621
1621
|
CoroutineImpl.call(this, resultContinuation);
|
|
1622
1622
|
}
|
|
1623
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1624
|
-
var tmp = this.
|
|
1623
|
+
protoOf(GameServer$shutdown$slambda).i9n = function ($this$dispatchAsync, store, $completion) {
|
|
1624
|
+
var tmp = this.j9n($this$dispatchAsync, store, $completion);
|
|
1625
1625
|
tmp.g9_1 = Unit_instance;
|
|
1626
1626
|
tmp.h9_1 = null;
|
|
1627
1627
|
return tmp.m9();
|
|
1628
1628
|
};
|
|
1629
1629
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1630
1630
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1631
|
-
return this.
|
|
1631
|
+
return this.i9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1632
1632
|
};
|
|
1633
1633
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1634
1634
|
var suspendResult = this.g9_1;
|
|
@@ -1637,11 +1637,11 @@
|
|
|
1637
1637
|
var tmp = this.e9_1;
|
|
1638
1638
|
if (tmp === 0) {
|
|
1639
1639
|
this.f9_1 = 1;
|
|
1640
|
-
var state = this.
|
|
1640
|
+
var state = this.v9t_1.store.state;
|
|
1641
1641
|
if (state.n6r()) {
|
|
1642
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1642
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.r9t_1, get_serverShutdownReasonMapping());
|
|
1643
1643
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1644
|
-
var tmp_0 = this.
|
|
1644
|
+
var tmp_0 = this.v9t_1.dispatch;
|
|
1645
1645
|
var tmp_1 = Companion_instance_0;
|
|
1646
1646
|
var tmp_2;
|
|
1647
1647
|
switch (shutdownReason.n2_1) {
|
|
@@ -1655,10 +1655,10 @@
|
|
|
1655
1655
|
noWhenBranchMatchedException();
|
|
1656
1656
|
break;
|
|
1657
1657
|
}
|
|
1658
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1658
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.s9t_1.table.isGameFinished, this.s9t_1.table));
|
|
1659
1659
|
} else {
|
|
1660
|
-
_get_logger__rkp4sl(this.
|
|
1661
|
-
this.
|
|
1660
|
+
_get_logger__rkp4sl(this.s9t_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.t9t_1);
|
|
1661
|
+
this.v9t_1.dispatch(new ClearAction());
|
|
1662
1662
|
}
|
|
1663
1663
|
return Unit_instance;
|
|
1664
1664
|
} else if (tmp === 1) {
|
|
@@ -1670,22 +1670,22 @@
|
|
|
1670
1670
|
}
|
|
1671
1671
|
while (true);
|
|
1672
1672
|
};
|
|
1673
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1674
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1675
|
-
i.
|
|
1676
|
-
i.
|
|
1673
|
+
protoOf(GameServer$shutdown$slambda).j9n = function ($this$dispatchAsync, store, completion) {
|
|
1674
|
+
var i = new GameServer$shutdown$slambda(this.r9t_1, this.s9t_1, this.t9t_1, completion);
|
|
1675
|
+
i.u9t_1 = $this$dispatchAsync;
|
|
1676
|
+
i.v9t_1 = store;
|
|
1677
1677
|
return i;
|
|
1678
1678
|
};
|
|
1679
1679
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1680
1680
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1681
1681
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1682
|
-
return i.
|
|
1682
|
+
return i.i9n($this$dispatchAsync, store, $completion);
|
|
1683
1683
|
};
|
|
1684
1684
|
l.$arity = 2;
|
|
1685
1685
|
return l;
|
|
1686
1686
|
}
|
|
1687
1687
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1688
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.
|
|
1688
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.w9t()) : preloadedState;
|
|
1689
1689
|
var tmp;
|
|
1690
1690
|
if (externalReducers === VOID) {
|
|
1691
1691
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1708,46 +1708,46 @@
|
|
|
1708
1708
|
// Inline function 'org.kodein.type.generic' call
|
|
1709
1709
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1710
1710
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1711
|
-
tmp_1.
|
|
1711
|
+
tmp_1.c9l_1 = Instance(di, tmp$ret$2, null).t63(this, logger$factory());
|
|
1712
1712
|
var tmp_3 = this;
|
|
1713
1713
|
// Inline function 'org.kodein.di.instance' call
|
|
1714
1714
|
// Inline function 'org.kodein.type.generic' call
|
|
1715
1715
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1716
1716
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1717
|
-
tmp_3.
|
|
1717
|
+
tmp_3.d9l_1 = Instance(di, tmp$ret$4, null).t63(this, toClientEventsObserver$factory());
|
|
1718
1718
|
var tmp_5 = this;
|
|
1719
1719
|
// Inline function 'org.kodein.di.instance' call
|
|
1720
1720
|
// Inline function 'org.kodein.type.generic' call
|
|
1721
1721
|
var tmp_6 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
1722
1722
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1723
|
-
tmp_5.
|
|
1723
|
+
tmp_5.e9l_1 = Instance(di, tmp$ret$6, null).t63(this, mechanicEventsObserver$factory());
|
|
1724
1724
|
var tmp_7 = this;
|
|
1725
1725
|
// Inline function 'org.kodein.di.instance' call
|
|
1726
1726
|
// Inline function 'org.kodein.type.generic' call
|
|
1727
1727
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1728
1728
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1729
|
-
tmp_7.
|
|
1729
|
+
tmp_7.f9l_1 = Instance(di, tmp$ret$8, null).t63(this, playerConnectionInteractor$factory());
|
|
1730
1730
|
var tmp_9 = this;
|
|
1731
1731
|
// Inline function 'org.kodein.di.instance' call
|
|
1732
1732
|
// Inline function 'org.kodein.type.generic' call
|
|
1733
1733
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
1734
1734
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1735
|
-
tmp_9.
|
|
1735
|
+
tmp_9.g9l_1 = Instance(di, tmp$ret$10, null).t63(this, teamsLogicProvider$factory());
|
|
1736
1736
|
var tmp_11 = this;
|
|
1737
|
-
tmp_11.
|
|
1737
|
+
tmp_11.h9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1738
1738
|
var tmp_12 = this;
|
|
1739
1739
|
// Inline function 'org.kodein.di.instance' call
|
|
1740
1740
|
// Inline function 'org.kodein.type.generic' call
|
|
1741
1741
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1742
1742
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
1743
|
-
tmp_12.
|
|
1743
|
+
tmp_12.i9l_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory());
|
|
1744
1744
|
var tmp_14 = this;
|
|
1745
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1746
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1747
|
-
tmp_14.
|
|
1745
|
+
var tmp0_externalMiddlewares = plus(storeContract.e95(), externalMiddlewares);
|
|
1746
|
+
var tmp1_externalReducers = plus(storeContract.d95(), externalReducers);
|
|
1747
|
+
tmp_14.j9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1748
1748
|
}
|
|
1749
1749
|
protoOf(GameServer).z6p = function () {
|
|
1750
|
-
return this.
|
|
1750
|
+
return this.j9l_1;
|
|
1751
1751
|
};
|
|
1752
1752
|
protoOf(GameServer).d5l = function () {
|
|
1753
1753
|
return this.e6b().m6r().id;
|
|
@@ -1775,52 +1775,52 @@
|
|
|
1775
1775
|
};
|
|
1776
1776
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1777
1777
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1778
|
-
this.
|
|
1778
|
+
this.j9l_1.l6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1779
1779
|
};
|
|
1780
1780
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1781
1781
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1782
|
-
this.
|
|
1782
|
+
this.j9l_1.l6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1783
1783
|
};
|
|
1784
1784
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1785
1785
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1786
|
-
this.
|
|
1786
|
+
this.j9l_1.l6r(GameServer$playerLive$slambda_0(playerId, null));
|
|
1787
1787
|
};
|
|
1788
1788
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1789
1789
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1790
|
-
this.
|
|
1790
|
+
this.j9l_1.l6r(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1791
1791
|
};
|
|
1792
|
-
protoOf(GameServer).
|
|
1793
|
-
this.
|
|
1792
|
+
protoOf(GameServer).x9t = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
1793
|
+
this.j9l_1.l6r(GameServer$roomOnCreate$slambda_0(usersArray, gameCreatorId, config, transition, this, spectators, roomId, null));
|
|
1794
1794
|
};
|
|
1795
1795
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1796
|
+
this.j9l_1.l6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
1797
|
+
this.j9l_1.l6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
1798
1798
|
};
|
|
1799
1799
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1800
|
-
this.
|
|
1801
|
-
this.
|
|
1800
|
+
this.j9l_1.l6r(GameServer$roomOnContinueFromRound$slambda_0(roomId, this, tableLite, null));
|
|
1801
|
+
this.j9l_1.l6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
1802
1802
|
};
|
|
1803
1803
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1804
|
-
this.
|
|
1804
|
+
this.j9l_1.l6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1805
1805
|
};
|
|
1806
1806
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1807
|
-
this.
|
|
1807
|
+
this.j9l_1.l6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1808
1808
|
};
|
|
1809
1809
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1810
1810
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1811
|
-
this.
|
|
1811
|
+
this.j9l_1.l6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1812
1812
|
};
|
|
1813
|
-
protoOf(GameServer).
|
|
1813
|
+
protoOf(GameServer).y9t = function (newRid) {
|
|
1814
1814
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
1815
|
-
this.
|
|
1815
|
+
this.j9l_1.l6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1816
1816
|
};
|
|
1817
1817
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1818
1818
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
1819
|
-
this.
|
|
1819
|
+
this.j9l_1.l6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1820
1820
|
};
|
|
1821
|
-
protoOf(GameServer).
|
|
1821
|
+
protoOf(GameServer).z9t = function (reason, roomId) {
|
|
1822
1822
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
1823
|
-
this.
|
|
1823
|
+
this.j9l_1.l6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1824
1824
|
};
|
|
1825
1825
|
protoOf(GameServer).clear = function () {
|
|
1826
1826
|
return this.a2();
|
|
@@ -1933,16 +1933,16 @@
|
|
|
1933
1933
|
return Companion_instance_8;
|
|
1934
1934
|
}
|
|
1935
1935
|
function ServerConfig(canStartNewGame) {
|
|
1936
|
-
this.
|
|
1936
|
+
this.h9t_1 = canStartNewGame;
|
|
1937
1937
|
}
|
|
1938
|
-
protoOf(ServerConfig).
|
|
1938
|
+
protoOf(ServerConfig).i9t = function (canStartNewGame) {
|
|
1939
1939
|
return new ServerConfig(canStartNewGame);
|
|
1940
1940
|
};
|
|
1941
1941
|
protoOf(ServerConfig).toString = function () {
|
|
1942
|
-
return 'ServerConfig(canStartNewGame=' + this.
|
|
1942
|
+
return 'ServerConfig(canStartNewGame=' + this.h9t_1 + ')';
|
|
1943
1943
|
};
|
|
1944
1944
|
protoOf(ServerConfig).hashCode = function () {
|
|
1945
|
-
return getBooleanHashCode(this.
|
|
1945
|
+
return getBooleanHashCode(this.h9t_1);
|
|
1946
1946
|
};
|
|
1947
1947
|
protoOf(ServerConfig).equals = function (other) {
|
|
1948
1948
|
if (this === other)
|
|
@@ -1950,7 +1950,7 @@
|
|
|
1950
1950
|
if (!(other instanceof ServerConfig))
|
|
1951
1951
|
return false;
|
|
1952
1952
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1953
|
-
if (!(this.
|
|
1953
|
+
if (!(this.h9t_1 === tmp0_other_with_cast.h9t_1))
|
|
1954
1954
|
return false;
|
|
1955
1955
|
return true;
|
|
1956
1956
|
};
|
|
@@ -1965,12 +1965,12 @@
|
|
|
1965
1965
|
protoOf(TableStateUpdate).pe = function () {
|
|
1966
1966
|
return this.table;
|
|
1967
1967
|
};
|
|
1968
|
-
protoOf(TableStateUpdate).
|
|
1968
|
+
protoOf(TableStateUpdate).a9u = function (table) {
|
|
1969
1969
|
return new TableStateUpdate(table);
|
|
1970
1970
|
};
|
|
1971
1971
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
1972
1972
|
table = table === VOID ? this.table : table;
|
|
1973
|
-
return this.
|
|
1973
|
+
return this.a9u(table);
|
|
1974
1974
|
};
|
|
1975
1975
|
protoOf(TableStateUpdate).toString = function () {
|
|
1976
1976
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -1991,18 +1991,18 @@
|
|
|
1991
1991
|
function ActionsStateUpdate(actions) {
|
|
1992
1992
|
this.actions = actions;
|
|
1993
1993
|
}
|
|
1994
|
-
protoOf(ActionsStateUpdate).
|
|
1994
|
+
protoOf(ActionsStateUpdate).b8l = function () {
|
|
1995
1995
|
return this.actions;
|
|
1996
1996
|
};
|
|
1997
1997
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
1998
1998
|
return this.actions;
|
|
1999
1999
|
};
|
|
2000
|
-
protoOf(ActionsStateUpdate).
|
|
2000
|
+
protoOf(ActionsStateUpdate).b9u = function (actions) {
|
|
2001
2001
|
return new ActionsStateUpdate(actions);
|
|
2002
2002
|
};
|
|
2003
2003
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2004
2004
|
actions = actions === VOID ? this.actions : actions;
|
|
2005
|
-
return this.
|
|
2005
|
+
return this.b9u(actions);
|
|
2006
2006
|
};
|
|
2007
2007
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2008
2008
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2266,7 +2266,7 @@
|
|
|
2266
2266
|
function MechanicEventsObserver() {
|
|
2267
2267
|
}
|
|
2268
2268
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2269
|
-
this.
|
|
2269
|
+
this.l9u_1 = $$this$unsafeFlow;
|
|
2270
2270
|
CoroutineImpl.call(this, resultContinuation);
|
|
2271
2271
|
}
|
|
2272
2272
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2287,12 +2287,12 @@
|
|
|
2287
2287
|
case 0:
|
|
2288
2288
|
this.f9_1 = 2;
|
|
2289
2289
|
var tmp_0 = this;
|
|
2290
|
-
tmp_0.
|
|
2290
|
+
tmp_0.n9u_1 = this.l9u_1;
|
|
2291
2291
|
var tmp_1 = this;
|
|
2292
|
-
tmp_1.
|
|
2292
|
+
tmp_1.o9u_1 = this.m9u_1;
|
|
2293
2293
|
this.e9_1 = 1;
|
|
2294
|
-
var it = this.
|
|
2295
|
-
suspendResult = this.
|
|
2294
|
+
var it = this.o9u_1;
|
|
2295
|
+
suspendResult = this.n9u_1.p18(new ActionsStateUpdate(it), this);
|
|
2296
2296
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2297
2297
|
return suspendResult;
|
|
2298
2298
|
}
|
|
@@ -2315,8 +2315,8 @@
|
|
|
2315
2315
|
while (true);
|
|
2316
2316
|
};
|
|
2317
2317
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2318
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.
|
|
2319
|
-
i.
|
|
2318
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.l9u_1, completion);
|
|
2319
|
+
i.m9u_1 = value;
|
|
2320
2320
|
return i;
|
|
2321
2321
|
};
|
|
2322
2322
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2329,8 +2329,8 @@
|
|
|
2329
2329
|
}
|
|
2330
2330
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
2331
2331
|
CoroutineImpl.call(this, resultContinuation);
|
|
2332
|
-
this.
|
|
2333
|
-
this.
|
|
2332
|
+
this.x9u_1 = _this__u8e3s4;
|
|
2333
|
+
this.y9u_1 = collector;
|
|
2334
2334
|
}
|
|
2335
2335
|
protoOf($collectCOROUTINE$0).m9 = function () {
|
|
2336
2336
|
var suspendResult = this.g9_1;
|
|
@@ -2341,10 +2341,10 @@
|
|
|
2341
2341
|
case 0:
|
|
2342
2342
|
this.f9_1 = 2;
|
|
2343
2343
|
var tmp_0 = this;
|
|
2344
|
-
tmp_0.
|
|
2344
|
+
tmp_0.z9u_1 = this.y9u_1;
|
|
2345
2345
|
this.e9_1 = 1;
|
|
2346
|
-
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
2347
|
-
suspendResult = this.
|
|
2346
|
+
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.z9u_1, null);
|
|
2347
|
+
suspendResult = this.x9u_1.a9v_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
2348
2348
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2349
2349
|
return suspendResult;
|
|
2350
2350
|
}
|
|
@@ -2367,7 +2367,7 @@
|
|
|
2367
2367
|
while (true);
|
|
2368
2368
|
};
|
|
2369
2369
|
function _no_name_provided__qut3iv($this) {
|
|
2370
|
-
this.
|
|
2370
|
+
this.a9v_1 = $this;
|
|
2371
2371
|
}
|
|
2372
2372
|
protoOf(_no_name_provided__qut3iv).q18 = function (collector, $completion) {
|
|
2373
2373
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -2379,18 +2379,18 @@
|
|
|
2379
2379
|
return this.q18(collector, $completion);
|
|
2380
2380
|
};
|
|
2381
2381
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
2382
|
-
this.
|
|
2383
|
-
this.
|
|
2382
|
+
this.j9v_1 = $table;
|
|
2383
|
+
this.k9v_1 = this$0;
|
|
2384
2384
|
CoroutineImpl.call(this, resultContinuation);
|
|
2385
2385
|
}
|
|
2386
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2387
|
-
var tmp = this.
|
|
2386
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9v = function ($this$flow, $completion) {
|
|
2387
|
+
var tmp = this.n9v($this$flow, $completion);
|
|
2388
2388
|
tmp.g9_1 = Unit_instance;
|
|
2389
2389
|
tmp.h9_1 = null;
|
|
2390
2390
|
return tmp.m9();
|
|
2391
2391
|
};
|
|
2392
2392
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).w9 = function (p1, $completion) {
|
|
2393
|
-
return this.
|
|
2393
|
+
return this.m9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2394
2394
|
};
|
|
2395
2395
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9 = function () {
|
|
2396
2396
|
var suspendResult = this.g9_1;
|
|
@@ -2401,7 +2401,7 @@
|
|
|
2401
2401
|
case 0:
|
|
2402
2402
|
this.f9_1 = 3;
|
|
2403
2403
|
this.e9_1 = 1;
|
|
2404
|
-
suspendResult = this.
|
|
2404
|
+
suspendResult = this.l9v_1.p18(new TableStateUpdate(this.j9v_1), this);
|
|
2405
2405
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2406
2406
|
return suspendResult;
|
|
2407
2407
|
}
|
|
@@ -2409,8 +2409,8 @@
|
|
|
2409
2409
|
continue $sm;
|
|
2410
2410
|
case 1:
|
|
2411
2411
|
this.e9_1 = 2;
|
|
2412
|
-
var this_0 = windowedByInterval(this.
|
|
2413
|
-
suspendResult = emitAll(this.
|
|
2412
|
+
var this_0 = windowedByInterval(this.k9v_1.o9v_1, new Long(1000, 0));
|
|
2413
|
+
suspendResult = emitAll(this.l9v_1, new _no_name_provided__qut3iv(this_0), this);
|
|
2414
2414
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2415
2415
|
return suspendResult;
|
|
2416
2416
|
}
|
|
@@ -2432,21 +2432,21 @@
|
|
|
2432
2432
|
}
|
|
2433
2433
|
while (true);
|
|
2434
2434
|
};
|
|
2435
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2436
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.
|
|
2437
|
-
i.
|
|
2435
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).n9v = function ($this$flow, completion) {
|
|
2436
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.j9v_1, this.k9v_1, completion);
|
|
2437
|
+
i.l9v_1 = $this$flow;
|
|
2438
2438
|
return i;
|
|
2439
2439
|
};
|
|
2440
2440
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
2441
2441
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
2442
2442
|
var l = function ($this$flow, $completion) {
|
|
2443
|
-
return i.
|
|
2443
|
+
return i.m9v($this$flow, $completion);
|
|
2444
2444
|
};
|
|
2445
2445
|
l.$arity = 1;
|
|
2446
2446
|
return l;
|
|
2447
2447
|
}
|
|
2448
2448
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2449
|
-
this.
|
|
2449
|
+
this.x9v_1 = $$this$unsafeFlow;
|
|
2450
2450
|
CoroutineImpl.call(this, resultContinuation);
|
|
2451
2451
|
}
|
|
2452
2452
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2467,12 +2467,12 @@
|
|
|
2467
2467
|
case 0:
|
|
2468
2468
|
this.f9_1 = 2;
|
|
2469
2469
|
var tmp_0 = this;
|
|
2470
|
-
tmp_0.
|
|
2470
|
+
tmp_0.z9v_1 = this.x9v_1;
|
|
2471
2471
|
var tmp_1 = this;
|
|
2472
|
-
tmp_1.
|
|
2472
|
+
tmp_1.a9w_1 = this.y9v_1;
|
|
2473
2473
|
this.e9_1 = 1;
|
|
2474
|
-
var state = this.
|
|
2475
|
-
suspendResult = this.
|
|
2474
|
+
var state = this.a9w_1;
|
|
2475
|
+
suspendResult = this.z9v_1.p18(state.m6r().gameInfo.roundNumberTotal, this);
|
|
2476
2476
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2477
2477
|
return suspendResult;
|
|
2478
2478
|
}
|
|
@@ -2495,8 +2495,8 @@
|
|
|
2495
2495
|
while (true);
|
|
2496
2496
|
};
|
|
2497
2497
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).j1i = function (value, completion) {
|
|
2498
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
2499
|
-
i.
|
|
2498
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.x9v_1, completion);
|
|
2499
|
+
i.y9v_1 = value;
|
|
2500
2500
|
return i;
|
|
2501
2501
|
};
|
|
2502
2502
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2509,8 +2509,8 @@
|
|
|
2509
2509
|
}
|
|
2510
2510
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
2511
2511
|
CoroutineImpl.call(this, resultContinuation);
|
|
2512
|
-
this.
|
|
2513
|
-
this.
|
|
2512
|
+
this.j9w_1 = _this__u8e3s4;
|
|
2513
|
+
this.k9w_1 = collector;
|
|
2514
2514
|
}
|
|
2515
2515
|
protoOf($collectCOROUTINE$1).m9 = function () {
|
|
2516
2516
|
var suspendResult = this.g9_1;
|
|
@@ -2521,10 +2521,10 @@
|
|
|
2521
2521
|
case 0:
|
|
2522
2522
|
this.f9_1 = 2;
|
|
2523
2523
|
var tmp_0 = this;
|
|
2524
|
-
tmp_0.
|
|
2524
|
+
tmp_0.l9w_1 = this.k9w_1;
|
|
2525
2525
|
this.e9_1 = 1;
|
|
2526
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
2527
|
-
suspendResult = this.
|
|
2526
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.l9w_1, null);
|
|
2527
|
+
suspendResult = this.j9w_1.m9w_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2528
2528
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2529
2529
|
return suspendResult;
|
|
2530
2530
|
}
|
|
@@ -2547,7 +2547,7 @@
|
|
|
2547
2547
|
while (true);
|
|
2548
2548
|
};
|
|
2549
2549
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2550
|
-
this.
|
|
2550
|
+
this.v9w_1 = $$this$unsafeFlow;
|
|
2551
2551
|
CoroutineImpl.call(this, resultContinuation);
|
|
2552
2552
|
}
|
|
2553
2553
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2571,33 +2571,33 @@
|
|
|
2571
2571
|
continue $sm;
|
|
2572
2572
|
case 1:
|
|
2573
2573
|
var tmp_0 = this;
|
|
2574
|
-
tmp_0.
|
|
2574
|
+
tmp_0.y9w_1 = this.v9w_1;
|
|
2575
2575
|
var tmp_1 = this;
|
|
2576
|
-
tmp_1.
|
|
2576
|
+
tmp_1.z9w_1 = this.w9w_1;
|
|
2577
2577
|
var tmp_2 = this;
|
|
2578
|
-
tmp_2.
|
|
2579
|
-
if (this.
|
|
2580
|
-
this.
|
|
2578
|
+
tmp_2.a9x_1 = this.z9w_1.k6q_1;
|
|
2579
|
+
if (this.a9x_1 == null) {
|
|
2580
|
+
this.x9w_1 = Unit_instance;
|
|
2581
2581
|
this.e9_1 = 4;
|
|
2582
2582
|
var tmp_3 = this;
|
|
2583
2583
|
continue $sm;
|
|
2584
2584
|
} else {
|
|
2585
|
-
this.
|
|
2585
|
+
this.b9x_1 = this.a9x_1;
|
|
2586
2586
|
this.e9_1 = 2;
|
|
2587
2587
|
continue $sm;
|
|
2588
2588
|
}
|
|
2589
2589
|
|
|
2590
2590
|
case 2:
|
|
2591
|
-
this.
|
|
2591
|
+
this.c9x_1 = this.b9x_1;
|
|
2592
2592
|
this.e9_1 = 3;
|
|
2593
|
-
suspendResult = this.
|
|
2593
|
+
suspendResult = this.y9w_1.p18(this.c9x_1, this);
|
|
2594
2594
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2595
2595
|
return suspendResult;
|
|
2596
2596
|
}
|
|
2597
2597
|
|
|
2598
2598
|
continue $sm;
|
|
2599
2599
|
case 3:
|
|
2600
|
-
this.
|
|
2600
|
+
this.x9w_1 = suspendResult;
|
|
2601
2601
|
if (false) {
|
|
2602
2602
|
this.e9_1 = 1;
|
|
2603
2603
|
continue $sm;
|
|
@@ -2622,8 +2622,8 @@
|
|
|
2622
2622
|
while (true);
|
|
2623
2623
|
};
|
|
2624
2624
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2625
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
2626
|
-
i.
|
|
2625
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.v9w_1, completion);
|
|
2626
|
+
i.w9w_1 = value;
|
|
2627
2627
|
return i;
|
|
2628
2628
|
};
|
|
2629
2629
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2636,8 +2636,8 @@
|
|
|
2636
2636
|
}
|
|
2637
2637
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
2638
2638
|
CoroutineImpl.call(this, resultContinuation);
|
|
2639
|
-
this.
|
|
2640
|
-
this.
|
|
2639
|
+
this.l9x_1 = _this__u8e3s4;
|
|
2640
|
+
this.m9x_1 = collector;
|
|
2641
2641
|
}
|
|
2642
2642
|
protoOf($collectCOROUTINE$2).m9 = function () {
|
|
2643
2643
|
var suspendResult = this.g9_1;
|
|
@@ -2648,10 +2648,10 @@
|
|
|
2648
2648
|
case 0:
|
|
2649
2649
|
this.f9_1 = 2;
|
|
2650
2650
|
var tmp_0 = this;
|
|
2651
|
-
tmp_0.
|
|
2651
|
+
tmp_0.n9x_1 = this.m9x_1;
|
|
2652
2652
|
this.e9_1 = 1;
|
|
2653
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
2654
|
-
suspendResult = this.
|
|
2653
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.n9x_1, null);
|
|
2654
|
+
suspendResult = this.l9x_1.o9x_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2655
2655
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2656
2656
|
return suspendResult;
|
|
2657
2657
|
}
|
|
@@ -2674,7 +2674,7 @@
|
|
|
2674
2674
|
while (true);
|
|
2675
2675
|
};
|
|
2676
2676
|
function _no_name_provided__qut3iv_0($this) {
|
|
2677
|
-
this.
|
|
2677
|
+
this.o9x_1 = $this;
|
|
2678
2678
|
}
|
|
2679
2679
|
protoOf(_no_name_provided__qut3iv_0).q18 = function (collector, $completion) {
|
|
2680
2680
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -2695,20 +2695,20 @@
|
|
|
2695
2695
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
2696
2696
|
}
|
|
2697
2697
|
function Companion_1() {
|
|
2698
|
-
this.
|
|
2698
|
+
this.p9x_1 = 1000;
|
|
2699
2699
|
}
|
|
2700
2700
|
var Companion_instance_9;
|
|
2701
2701
|
function Companion_getInstance_2() {
|
|
2702
2702
|
return Companion_instance_9;
|
|
2703
2703
|
}
|
|
2704
2704
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
2705
|
-
this.
|
|
2705
|
+
this.q9x_1 = function_0;
|
|
2706
2706
|
}
|
|
2707
2707
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p18 = function (value, $completion) {
|
|
2708
|
-
return this.
|
|
2708
|
+
return this.q9x_1(value, $completion);
|
|
2709
2709
|
};
|
|
2710
2710
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o3 = function () {
|
|
2711
|
-
return this.
|
|
2711
|
+
return this.q9x_1;
|
|
2712
2712
|
};
|
|
2713
2713
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
2714
2714
|
var tmp;
|
|
@@ -2729,13 +2729,13 @@
|
|
|
2729
2729
|
return hashCode(this.o3());
|
|
2730
2730
|
};
|
|
2731
2731
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
2732
|
-
this.
|
|
2732
|
+
this.r9x_1 = function_0;
|
|
2733
2733
|
}
|
|
2734
2734
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).p18 = function (value, $completion) {
|
|
2735
|
-
return this.
|
|
2735
|
+
return this.r9x_1(value, $completion);
|
|
2736
2736
|
};
|
|
2737
2737
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o3 = function () {
|
|
2738
|
-
return this.
|
|
2738
|
+
return this.r9x_1;
|
|
2739
2739
|
};
|
|
2740
2740
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
2741
2741
|
var tmp;
|
|
@@ -2756,18 +2756,18 @@
|
|
|
2756
2756
|
return hashCode(this.o3());
|
|
2757
2757
|
};
|
|
2758
2758
|
function MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation) {
|
|
2759
|
-
this.
|
|
2759
|
+
this.a9y_1 = this$0;
|
|
2760
2760
|
CoroutineImpl.call(this, resultContinuation);
|
|
2761
2761
|
}
|
|
2762
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2763
|
-
var tmp = this.
|
|
2762
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).d9y = function ($this$transformLatest, it, $completion) {
|
|
2763
|
+
var tmp = this.e9y($this$transformLatest, it, $completion);
|
|
2764
2764
|
tmp.g9_1 = Unit_instance;
|
|
2765
2765
|
tmp.h9_1 = null;
|
|
2766
2766
|
return tmp.m9();
|
|
2767
2767
|
};
|
|
2768
2768
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).x9 = function (p1, p2, $completion) {
|
|
2769
2769
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2770
|
-
return this.
|
|
2770
|
+
return this.d9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2771
2771
|
};
|
|
2772
2772
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).m9 = function () {
|
|
2773
2773
|
var suspendResult = this.g9_1;
|
|
@@ -2778,8 +2778,8 @@
|
|
|
2778
2778
|
case 0:
|
|
2779
2779
|
this.f9_1 = 2;
|
|
2780
2780
|
this.e9_1 = 1;
|
|
2781
|
-
var table = this.
|
|
2782
|
-
suspendResult = emitAll(this.
|
|
2781
|
+
var table = this.c9y_1;
|
|
2782
|
+
suspendResult = emitAll(this.b9y_1, flow(MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0(table, this.a9y_1, null)), this);
|
|
2783
2783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2784
2784
|
return suspendResult;
|
|
2785
2785
|
}
|
|
@@ -2801,22 +2801,22 @@
|
|
|
2801
2801
|
}
|
|
2802
2802
|
while (true);
|
|
2803
2803
|
};
|
|
2804
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2805
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.
|
|
2806
|
-
i.
|
|
2807
|
-
i.
|
|
2804
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).e9y = function ($this$transformLatest, it, completion) {
|
|
2805
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.a9y_1, completion);
|
|
2806
|
+
i.b9y_1 = $this$transformLatest;
|
|
2807
|
+
i.c9y_1 = it;
|
|
2808
2808
|
return i;
|
|
2809
2809
|
};
|
|
2810
2810
|
function MechanicEventsObserverImpl$observeUpdates$slambda_0(this$0, resultContinuation) {
|
|
2811
2811
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation);
|
|
2812
2812
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2813
|
-
return i.
|
|
2813
|
+
return i.d9y($this$transformLatest, it, $completion);
|
|
2814
2814
|
};
|
|
2815
2815
|
l.$arity = 2;
|
|
2816
2816
|
return l;
|
|
2817
2817
|
}
|
|
2818
2818
|
function _no_name_provided__qut3iv_1($this) {
|
|
2819
|
-
this.
|
|
2819
|
+
this.m9w_1 = $this;
|
|
2820
2820
|
}
|
|
2821
2821
|
protoOf(_no_name_provided__qut3iv_1).q18 = function (collector, $completion) {
|
|
2822
2822
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -2828,18 +2828,18 @@
|
|
|
2828
2828
|
return this.q18(collector, $completion);
|
|
2829
2829
|
};
|
|
2830
2830
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
2831
|
-
this.
|
|
2831
|
+
this.n9y_1 = $observeState;
|
|
2832
2832
|
CoroutineImpl.call(this, resultContinuation);
|
|
2833
2833
|
}
|
|
2834
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2835
|
-
var tmp = this.
|
|
2834
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).d9y = function ($this$transformLatest, it, $completion) {
|
|
2835
|
+
var tmp = this.e9y($this$transformLatest, it, $completion);
|
|
2836
2836
|
tmp.g9_1 = Unit_instance;
|
|
2837
2837
|
tmp.h9_1 = null;
|
|
2838
2838
|
return tmp.m9();
|
|
2839
2839
|
};
|
|
2840
2840
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).x9 = function (p1, p2, $completion) {
|
|
2841
2841
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2842
|
-
return this.
|
|
2842
|
+
return this.d9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2843
2843
|
};
|
|
2844
2844
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).m9 = function () {
|
|
2845
2845
|
var suspendResult = this.g9_1;
|
|
@@ -2850,9 +2850,9 @@
|
|
|
2850
2850
|
case 0:
|
|
2851
2851
|
this.f9_1 = 2;
|
|
2852
2852
|
this.e9_1 = 1;
|
|
2853
|
-
this.
|
|
2854
|
-
var this_0 = this.
|
|
2855
|
-
suspendResult = emitAll(this.
|
|
2853
|
+
this.p9y_1;
|
|
2854
|
+
var this_0 = this.n9y_1;
|
|
2855
|
+
suspendResult = emitAll(this.o9y_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
2856
2856
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2857
2857
|
return suspendResult;
|
|
2858
2858
|
}
|
|
@@ -2874,27 +2874,27 @@
|
|
|
2874
2874
|
}
|
|
2875
2875
|
while (true);
|
|
2876
2876
|
};
|
|
2877
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2878
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.
|
|
2879
|
-
i.
|
|
2880
|
-
i.
|
|
2877
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).e9y = function ($this$transformLatest, it, completion) {
|
|
2878
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.n9y_1, completion);
|
|
2879
|
+
i.o9y_1 = $this$transformLatest;
|
|
2880
|
+
i.p9y_1 = it;
|
|
2881
2881
|
return i;
|
|
2882
2882
|
};
|
|
2883
2883
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
2884
2884
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
2885
2885
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2886
|
-
return i.
|
|
2886
|
+
return i.d9y($this$transformLatest, it, $completion);
|
|
2887
2887
|
};
|
|
2888
2888
|
l.$arity = 2;
|
|
2889
2889
|
return l;
|
|
2890
2890
|
}
|
|
2891
2891
|
function MechanicEventsObserverImpl() {
|
|
2892
|
-
this.
|
|
2892
|
+
this.o9v_1 = MutableSharedFlow();
|
|
2893
2893
|
}
|
|
2894
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2895
|
-
return this.
|
|
2894
|
+
protoOf(MechanicEventsObserverImpl).c9u = function (event, $completion) {
|
|
2895
|
+
return this.o9v_1.p18(event, $completion);
|
|
2896
2896
|
};
|
|
2897
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2897
|
+
protoOf(MechanicEventsObserverImpl).l9m = function (observeState) {
|
|
2898
2898
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
2899
2899
|
var this_0 = observeTableWhenRoundChanges(this, observeState);
|
|
2900
2900
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeUpdates$slambda_0(this, null));
|
|
@@ -2902,18 +2902,18 @@
|
|
|
2902
2902
|
function ToClientEventsObserver() {
|
|
2903
2903
|
}
|
|
2904
2904
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2905
|
-
this.
|
|
2906
|
-
this.
|
|
2905
|
+
this.z9y_1 = this$0;
|
|
2906
|
+
this.a9z_1 = $actions;
|
|
2907
2907
|
CoroutineImpl.call(this, resultContinuation);
|
|
2908
2908
|
}
|
|
2909
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2910
|
-
var tmp = this.
|
|
2909
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9z = function ($this$flow, $completion) {
|
|
2910
|
+
var tmp = this.i9z($this$flow, $completion);
|
|
2911
2911
|
tmp.g9_1 = Unit_instance;
|
|
2912
2912
|
tmp.h9_1 = null;
|
|
2913
2913
|
return tmp.m9();
|
|
2914
2914
|
};
|
|
2915
2915
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
2916
|
-
return this.
|
|
2916
|
+
return this.h9z((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2917
2917
|
};
|
|
2918
2918
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9 = function () {
|
|
2919
2919
|
var suspendResult = this.g9_1;
|
|
@@ -2924,23 +2924,23 @@
|
|
|
2924
2924
|
case 0:
|
|
2925
2925
|
this.f9_1 = 4;
|
|
2926
2926
|
var tmp_0 = this;
|
|
2927
|
-
tmp_0.
|
|
2927
|
+
tmp_0.c9z_1 = this.z9y_1.n9z_1;
|
|
2928
2928
|
var tmp_1 = this;
|
|
2929
|
-
tmp_1.
|
|
2930
|
-
this.
|
|
2929
|
+
tmp_1.d9z_1 = transformToEmits(this.z9y_1, this.a9z_1);
|
|
2930
|
+
this.e9z_1 = this.d9z_1.j();
|
|
2931
2931
|
this.e9_1 = 1;
|
|
2932
2932
|
continue $sm;
|
|
2933
2933
|
case 1:
|
|
2934
|
-
if (!this.
|
|
2934
|
+
if (!this.e9z_1.k()) {
|
|
2935
2935
|
this.e9_1 = 3;
|
|
2936
2936
|
continue $sm;
|
|
2937
2937
|
}
|
|
2938
2938
|
|
|
2939
|
-
this.
|
|
2939
|
+
this.f9z_1 = this.e9z_1.l();
|
|
2940
2940
|
var tmp_2 = this;
|
|
2941
|
-
tmp_2.
|
|
2941
|
+
tmp_2.g9z_1 = this.f9z_1;
|
|
2942
2942
|
this.e9_1 = 2;
|
|
2943
|
-
suspendResult = this.
|
|
2943
|
+
suspendResult = this.b9z_1.p18(this.g9z_1, this);
|
|
2944
2944
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2945
2945
|
return suspendResult;
|
|
2946
2946
|
}
|
|
@@ -2951,10 +2951,10 @@
|
|
|
2951
2951
|
continue $sm;
|
|
2952
2952
|
case 3:
|
|
2953
2953
|
l$ret$1: do {
|
|
2954
|
-
var this_0 = this.
|
|
2954
|
+
var this_0 = this.z9y_1.m9z_1;
|
|
2955
2955
|
while (true) {
|
|
2956
2956
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2957
|
-
var upd = cur - this.
|
|
2957
|
+
var upd = cur - this.a9z_1.m() | 0;
|
|
2958
2958
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2959
2959
|
break l$ret$1;
|
|
2960
2960
|
}
|
|
@@ -2976,15 +2976,15 @@
|
|
|
2976
2976
|
}
|
|
2977
2977
|
while (true);
|
|
2978
2978
|
};
|
|
2979
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2980
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2981
|
-
i.
|
|
2979
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9z = function ($this$flow, completion) {
|
|
2980
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.z9y_1, this.a9z_1, completion);
|
|
2981
|
+
i.b9z_1 = $this$flow;
|
|
2982
2982
|
return i;
|
|
2983
2983
|
};
|
|
2984
2984
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2985
2985
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2986
2986
|
var l = function ($this$flow, $completion) {
|
|
2987
|
-
return i.
|
|
2987
|
+
return i.h9z($this$flow, $completion);
|
|
2988
2988
|
};
|
|
2989
2989
|
l.$arity = 1;
|
|
2990
2990
|
return l;
|
|
@@ -3057,29 +3057,29 @@
|
|
|
3057
3057
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3058
3058
|
}
|
|
3059
3059
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3060
|
-
var tmp = $this.
|
|
3060
|
+
var tmp = $this.l9z_1.s6h();
|
|
3061
3061
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3062
|
-
var this_0 = _this__u8e3s4.
|
|
3062
|
+
var this_0 = _this__u8e3s4.q9z_1;
|
|
3063
3063
|
var tmp_0 = copyToArray(this_0);
|
|
3064
3064
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3065
|
-
var this_1 = _this__u8e3s4.
|
|
3065
|
+
var this_1 = _this__u8e3s4.r9z_1;
|
|
3066
3066
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3067
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3067
|
+
return new ActionDeliveryPayload(_this__u8e3s4.p9z_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.s9z_1);
|
|
3068
3068
|
}
|
|
3069
3069
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3070
|
-
this.
|
|
3071
|
-
this.
|
|
3072
|
-
this.
|
|
3073
|
-
this.
|
|
3070
|
+
this.p9z_1 = tableId;
|
|
3071
|
+
this.q9z_1 = includePlayers;
|
|
3072
|
+
this.r9z_1 = excludePlayers;
|
|
3073
|
+
this.s9z_1 = deliveryType;
|
|
3074
3074
|
}
|
|
3075
3075
|
protoOf(GroupKey).toString = function () {
|
|
3076
|
-
return 'GroupKey(tableId=' + this.
|
|
3076
|
+
return 'GroupKey(tableId=' + this.p9z_1 + ', includePlayers=' + toString(this.q9z_1) + ', excludePlayers=' + toString(this.r9z_1) + ', deliveryType=' + this.s9z_1.toString() + ')';
|
|
3077
3077
|
};
|
|
3078
3078
|
protoOf(GroupKey).hashCode = function () {
|
|
3079
|
-
var result = getStringHashCode(this.
|
|
3080
|
-
result = imul(result, 31) + hashCode(this.p9z_1) | 0;
|
|
3079
|
+
var result = getStringHashCode(this.p9z_1);
|
|
3081
3080
|
result = imul(result, 31) + hashCode(this.q9z_1) | 0;
|
|
3082
|
-
result = imul(result, 31) + this.r9z_1
|
|
3081
|
+
result = imul(result, 31) + hashCode(this.r9z_1) | 0;
|
|
3082
|
+
result = imul(result, 31) + this.s9z_1.hashCode() | 0;
|
|
3083
3083
|
return result;
|
|
3084
3084
|
};
|
|
3085
3085
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3088,35 +3088,35 @@
|
|
|
3088
3088
|
if (!(other instanceof GroupKey))
|
|
3089
3089
|
return false;
|
|
3090
3090
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3091
|
-
if (!(this.
|
|
3092
|
-
return false;
|
|
3093
|
-
if (!equals(this.p9z_1, tmp0_other_with_cast.p9z_1))
|
|
3091
|
+
if (!(this.p9z_1 === tmp0_other_with_cast.p9z_1))
|
|
3094
3092
|
return false;
|
|
3095
3093
|
if (!equals(this.q9z_1, tmp0_other_with_cast.q9z_1))
|
|
3096
3094
|
return false;
|
|
3097
|
-
if (!this.r9z_1
|
|
3095
|
+
if (!equals(this.r9z_1, tmp0_other_with_cast.r9z_1))
|
|
3096
|
+
return false;
|
|
3097
|
+
if (!this.s9z_1.equals(tmp0_other_with_cast.s9z_1))
|
|
3098
3098
|
return false;
|
|
3099
3099
|
return true;
|
|
3100
3100
|
};
|
|
3101
3101
|
function Companion_2() {
|
|
3102
|
-
this.
|
|
3102
|
+
this.t9z_1 = 6;
|
|
3103
3103
|
}
|
|
3104
3104
|
var Companion_instance_10;
|
|
3105
3105
|
function Companion_getInstance_3() {
|
|
3106
3106
|
return Companion_instance_10;
|
|
3107
3107
|
}
|
|
3108
3108
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3109
|
-
this.
|
|
3109
|
+
this.ca0_1 = this$0;
|
|
3110
3110
|
CoroutineImpl.call(this, resultContinuation);
|
|
3111
3111
|
}
|
|
3112
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3113
|
-
var tmp = this.
|
|
3112
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ea0 = function (actions, $completion) {
|
|
3113
|
+
var tmp = this.fa0(actions, $completion);
|
|
3114
3114
|
tmp.g9_1 = Unit_instance;
|
|
3115
3115
|
tmp.h9_1 = null;
|
|
3116
3116
|
return tmp.m9();
|
|
3117
3117
|
};
|
|
3118
3118
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9 = function (p1, $completion) {
|
|
3119
|
-
return this.
|
|
3119
|
+
return this.ea0((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3120
3120
|
};
|
|
3121
3121
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9 = function () {
|
|
3122
3122
|
var suspendResult = this.g9_1;
|
|
@@ -3125,7 +3125,7 @@
|
|
|
3125
3125
|
var tmp = this.e9_1;
|
|
3126
3126
|
if (tmp === 0) {
|
|
3127
3127
|
this.f9_1 = 1;
|
|
3128
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3128
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ca0_1, this.da0_1, null));
|
|
3129
3129
|
} else if (tmp === 1) {
|
|
3130
3130
|
throw this.h9_1;
|
|
3131
3131
|
}
|
|
@@ -3135,23 +3135,23 @@
|
|
|
3135
3135
|
}
|
|
3136
3136
|
while (true);
|
|
3137
3137
|
};
|
|
3138
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3139
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3140
|
-
i.
|
|
3138
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).fa0 = function (actions, completion) {
|
|
3139
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ca0_1, completion);
|
|
3140
|
+
i.da0_1 = actions;
|
|
3141
3141
|
return i;
|
|
3142
3142
|
};
|
|
3143
3143
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3144
3144
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3145
3145
|
var l = function (actions, $completion) {
|
|
3146
|
-
return i.
|
|
3146
|
+
return i.ea0(actions, $completion);
|
|
3147
3147
|
};
|
|
3148
3148
|
l.$arity = 1;
|
|
3149
3149
|
return l;
|
|
3150
3150
|
}
|
|
3151
3151
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3152
3152
|
CoroutineImpl.call(this, resultContinuation);
|
|
3153
|
-
this.
|
|
3154
|
-
this.
|
|
3153
|
+
this.oa0_1 = _this__u8e3s4;
|
|
3154
|
+
this.pa0_1 = fromEvent;
|
|
3155
3155
|
}
|
|
3156
3156
|
protoOf($sentEventCOROUTINE$3).m9 = function () {
|
|
3157
3157
|
var suspendResult = this.g9_1;
|
|
@@ -3162,9 +3162,9 @@
|
|
|
3162
3162
|
case 0:
|
|
3163
3163
|
this.f9_1 = 2;
|
|
3164
3164
|
var tmp_0 = this;
|
|
3165
|
-
tmp_0.
|
|
3165
|
+
tmp_0.qa0_1 = this.oa0_1.n9z_1;
|
|
3166
3166
|
l$ret$1: do {
|
|
3167
|
-
var this_0 = this.
|
|
3167
|
+
var this_0 = this.oa0_1.m9z_1;
|
|
3168
3168
|
while (true) {
|
|
3169
3169
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3170
3170
|
var upd = cur + 1 | 0;
|
|
@@ -3175,7 +3175,7 @@
|
|
|
3175
3175
|
}
|
|
3176
3176
|
while (false);
|
|
3177
3177
|
this.e9_1 = 1;
|
|
3178
|
-
suspendResult = this.
|
|
3178
|
+
suspendResult = this.oa0_1.o9z_1.p18(this.pa0_1, this);
|
|
3179
3179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3180
3180
|
return suspendResult;
|
|
3181
3181
|
}
|
|
@@ -3199,7 +3199,7 @@
|
|
|
3199
3199
|
};
|
|
3200
3200
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3201
3201
|
CoroutineImpl.call(this, resultContinuation);
|
|
3202
|
-
this.
|
|
3202
|
+
this.za0_1 = _this__u8e3s4;
|
|
3203
3203
|
}
|
|
3204
3204
|
protoOf($waitForCOROUTINE$4).m9 = function () {
|
|
3205
3205
|
var suspendResult = this.g9_1;
|
|
@@ -3210,12 +3210,12 @@
|
|
|
3210
3210
|
case 0:
|
|
3211
3211
|
this.f9_1 = 5;
|
|
3212
3212
|
var tmp_0 = this;
|
|
3213
|
-
tmp_0.
|
|
3214
|
-
this.
|
|
3213
|
+
tmp_0.aa1_1 = this.za0_1.n9z_1;
|
|
3214
|
+
this.ba1_1 = 0;
|
|
3215
3215
|
this.e9_1 = 1;
|
|
3216
3216
|
continue $sm;
|
|
3217
3217
|
case 1:
|
|
3218
|
-
if (!!(this.
|
|
3218
|
+
if (!!(this.za0_1.m9z_1.kotlinx$atomicfu$value === 0)) {
|
|
3219
3219
|
this.e9_1 = 4;
|
|
3220
3220
|
continue $sm;
|
|
3221
3221
|
}
|
|
@@ -3228,9 +3228,9 @@
|
|
|
3228
3228
|
|
|
3229
3229
|
continue $sm;
|
|
3230
3230
|
case 2:
|
|
3231
|
-
this.
|
|
3232
|
-
if (this.
|
|
3233
|
-
this.
|
|
3231
|
+
this.ba1_1 = this.ba1_1 + 1 | 0;
|
|
3232
|
+
if (this.ba1_1 > 6) {
|
|
3233
|
+
this.za0_1.k9z_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.za0_1.m9z_1.kotlinx$atomicfu$value);
|
|
3234
3234
|
this.e9_1 = 4;
|
|
3235
3235
|
continue $sm;
|
|
3236
3236
|
} else {
|
|
@@ -3258,42 +3258,42 @@
|
|
|
3258
3258
|
while (true);
|
|
3259
3259
|
};
|
|
3260
3260
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3261
|
-
this.
|
|
3262
|
-
this.
|
|
3263
|
-
this.
|
|
3264
|
-
this.
|
|
3261
|
+
this.j9z_1 = serverReduxConfig;
|
|
3262
|
+
this.k9z_1 = logger;
|
|
3263
|
+
this.l9z_1 = idsProvider;
|
|
3264
|
+
this.m9z_1 = atomic$ref$1(0);
|
|
3265
3265
|
var tmp = this;
|
|
3266
3266
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3267
|
-
tmp.
|
|
3268
|
-
this.
|
|
3267
|
+
tmp.n9z_1 = get_atomicfu$reentrantLock();
|
|
3268
|
+
this.o9z_1 = MutableSharedFlow();
|
|
3269
3269
|
}
|
|
3270
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3270
|
+
protoOf(ToClientEventsObserverImpl).q9y = function (fromEvent, $completion) {
|
|
3271
3271
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3272
3272
|
tmp.g9_1 = Unit_instance;
|
|
3273
3273
|
tmp.h9_1 = null;
|
|
3274
3274
|
return tmp.m9();
|
|
3275
3275
|
};
|
|
3276
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3276
|
+
protoOf(ToClientEventsObserverImpl).z9b = function ($completion) {
|
|
3277
3277
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3278
3278
|
tmp.g9_1 = Unit_instance;
|
|
3279
3279
|
tmp.h9_1 = null;
|
|
3280
3280
|
return tmp.m9();
|
|
3281
3281
|
};
|
|
3282
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3283
|
-
if (!this.
|
|
3284
|
-
return this.
|
|
3282
|
+
protoOf(ToClientEventsObserverImpl).z9l = function () {
|
|
3283
|
+
if (!this.j9z_1.enabledCombinedEvents) {
|
|
3284
|
+
return this.o9z_1;
|
|
3285
3285
|
}
|
|
3286
|
-
var tmp = windowedByInterval(this.
|
|
3286
|
+
var tmp = windowedByInterval(this.o9z_1, toLong(this.j9z_1.combinedEventsPeriod));
|
|
3287
3287
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3288
3288
|
};
|
|
3289
3289
|
function UpdateServerConfigAction(serverConfig) {
|
|
3290
|
-
this.
|
|
3290
|
+
this.ca1_1 = serverConfig;
|
|
3291
3291
|
}
|
|
3292
3292
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3293
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3293
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ca1_1.toString() + ')';
|
|
3294
3294
|
};
|
|
3295
3295
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3296
|
-
return this.
|
|
3296
|
+
return this.ca1_1.hashCode();
|
|
3297
3297
|
};
|
|
3298
3298
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3299
3299
|
if (this === other)
|
|
@@ -3301,20 +3301,20 @@
|
|
|
3301
3301
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3302
3302
|
return false;
|
|
3303
3303
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3304
|
-
if (!this.
|
|
3304
|
+
if (!this.ca1_1.equals(tmp0_other_with_cast.ca1_1))
|
|
3305
3305
|
return false;
|
|
3306
3306
|
return true;
|
|
3307
3307
|
};
|
|
3308
3308
|
function SpectatorsAction() {
|
|
3309
3309
|
}
|
|
3310
3310
|
function AddSpectatorsAction(spectators) {
|
|
3311
|
-
this.
|
|
3311
|
+
this.da1_1 = spectators;
|
|
3312
3312
|
}
|
|
3313
3313
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3314
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3314
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.da1_1) + ')';
|
|
3315
3315
|
};
|
|
3316
3316
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3317
|
-
return hashCode(this.
|
|
3317
|
+
return hashCode(this.da1_1);
|
|
3318
3318
|
};
|
|
3319
3319
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3320
3320
|
if (this === other)
|
|
@@ -3322,18 +3322,18 @@
|
|
|
3322
3322
|
if (!(other instanceof AddSpectatorsAction))
|
|
3323
3323
|
return false;
|
|
3324
3324
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3325
|
-
if (!equals(this.
|
|
3325
|
+
if (!equals(this.da1_1, tmp0_other_with_cast.da1_1))
|
|
3326
3326
|
return false;
|
|
3327
3327
|
return true;
|
|
3328
3328
|
};
|
|
3329
3329
|
function RemoveSpectatorsAction(spectators) {
|
|
3330
|
-
this.
|
|
3330
|
+
this.ea1_1 = spectators;
|
|
3331
3331
|
}
|
|
3332
3332
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3333
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3333
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ea1_1) + ')';
|
|
3334
3334
|
};
|
|
3335
3335
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3336
|
-
return hashCode(this.
|
|
3336
|
+
return hashCode(this.ea1_1);
|
|
3337
3337
|
};
|
|
3338
3338
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3339
3339
|
if (this === other)
|
|
@@ -3341,73 +3341,73 @@
|
|
|
3341
3341
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3342
3342
|
return false;
|
|
3343
3343
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3344
|
-
if (!equals(this.
|
|
3344
|
+
if (!equals(this.ea1_1, tmp0_other_with_cast.ea1_1))
|
|
3345
3345
|
return false;
|
|
3346
3346
|
return true;
|
|
3347
3347
|
};
|
|
3348
3348
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3349
3349
|
// Inline function 'kotlin.getValue' call
|
|
3350
|
-
var this_0 = $this.
|
|
3350
|
+
var this_0 = $this.ka1_1;
|
|
3351
3351
|
asyncProvider$factory_0();
|
|
3352
3352
|
return this_0.u();
|
|
3353
3353
|
}
|
|
3354
3354
|
function _get_logger__rkp4sl_0($this) {
|
|
3355
3355
|
// Inline function 'kotlin.getValue' call
|
|
3356
|
-
var this_0 = $this.
|
|
3356
|
+
var this_0 = $this.la1_1;
|
|
3357
3357
|
logger$factory_2();
|
|
3358
3358
|
return this_0.u();
|
|
3359
3359
|
}
|
|
3360
3360
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3361
3361
|
// Inline function 'kotlin.getValue' call
|
|
3362
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.ma1_1;
|
|
3363
3363
|
playerConnectionInteractor$factory_2();
|
|
3364
3364
|
return this_0.u();
|
|
3365
3365
|
}
|
|
3366
3366
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3367
3367
|
// Inline function 'kotlin.getValue' call
|
|
3368
|
-
var this_0 = $this.
|
|
3368
|
+
var this_0 = $this.na1_1;
|
|
3369
3369
|
lastCardInteractor$factory_0();
|
|
3370
3370
|
return this_0.u();
|
|
3371
3371
|
}
|
|
3372
3372
|
function _get_serverConfig__rk2g06($this) {
|
|
3373
3373
|
// Inline function 'kotlin.getValue' call
|
|
3374
|
-
var this_0 = $this.
|
|
3374
|
+
var this_0 = $this.oa1_1;
|
|
3375
3375
|
serverConfig$factory_0();
|
|
3376
3376
|
return this_0.u();
|
|
3377
3377
|
}
|
|
3378
3378
|
function _get_logicConfig__52ww9d($this) {
|
|
3379
3379
|
// Inline function 'kotlin.getValue' call
|
|
3380
|
-
var this_0 = $this.
|
|
3380
|
+
var this_0 = $this.pa1_1;
|
|
3381
3381
|
logicConfig$factory_0();
|
|
3382
3382
|
return this_0.u();
|
|
3383
3383
|
}
|
|
3384
3384
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3385
3385
|
// Inline function 'kotlin.getValue' call
|
|
3386
|
-
var this_0 = $this.
|
|
3386
|
+
var this_0 = $this.qa1_1;
|
|
3387
3387
|
idsProvider$factory_2();
|
|
3388
3388
|
return this_0.u();
|
|
3389
3389
|
}
|
|
3390
3390
|
function _get_botConfig__cpaxzc($this) {
|
|
3391
3391
|
// Inline function 'kotlin.getValue' call
|
|
3392
|
-
var this_0 = $this.
|
|
3392
|
+
var this_0 = $this.ra1_1;
|
|
3393
3393
|
botConfig$factory_0();
|
|
3394
3394
|
return this_0.u();
|
|
3395
3395
|
}
|
|
3396
3396
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3397
3397
|
// Inline function 'kotlin.getValue' call
|
|
3398
|
-
var this_0 = $this.
|
|
3398
|
+
var this_0 = $this.sa1_1;
|
|
3399
3399
|
scenePositionProvider$factory_0();
|
|
3400
3400
|
return this_0.u();
|
|
3401
3401
|
}
|
|
3402
3402
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3403
3403
|
// Inline function 'kotlin.getValue' call
|
|
3404
|
-
var this_0 = $this.
|
|
3404
|
+
var this_0 = $this.ta1_1;
|
|
3405
3405
|
toClientEventsObserver$factory_2();
|
|
3406
3406
|
return this_0.u();
|
|
3407
3407
|
}
|
|
3408
3408
|
function _get_mechanicEventsObserver__ll1b9k_0($this) {
|
|
3409
3409
|
// Inline function 'kotlin.getValue' call
|
|
3410
|
-
var this_0 = $this.
|
|
3410
|
+
var this_0 = $this.ua1_1;
|
|
3411
3411
|
mechanicEventsObserver$factory_2();
|
|
3412
3412
|
return this_0.u();
|
|
3413
3413
|
}
|
|
@@ -3420,83 +3420,83 @@
|
|
|
3420
3420
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3421
3421
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3422
3422
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3423
|
-
this.
|
|
3424
|
-
this.
|
|
3425
|
-
this.
|
|
3426
|
-
this.
|
|
3427
|
-
this.
|
|
3423
|
+
this.fa1_1 = validationStoreContract;
|
|
3424
|
+
this.ga1_1 = timersStoreContract;
|
|
3425
|
+
this.ha1_1 = botGameStoreContract;
|
|
3426
|
+
this.ia1_1 = gameMechanicStoreContract;
|
|
3427
|
+
this.ja1_1 = fileLoggerStoreContract;
|
|
3428
3428
|
var tmp = this;
|
|
3429
3429
|
// Inline function 'org.kodein.di.instance' call
|
|
3430
3430
|
// Inline function 'org.kodein.type.generic' call
|
|
3431
3431
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3432
3432
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3433
|
-
tmp.
|
|
3433
|
+
tmp.ka1_1 = Instance(di, tmp$ret$0, null).t63(this, asyncProvider$factory());
|
|
3434
3434
|
var tmp_1 = this;
|
|
3435
3435
|
// Inline function 'org.kodein.di.instance' call
|
|
3436
3436
|
// Inline function 'org.kodein.type.generic' call
|
|
3437
3437
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3438
3438
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3439
|
-
tmp_1.
|
|
3439
|
+
tmp_1.la1_1 = Instance(di, tmp$ret$2, null).t63(this, logger$factory_1());
|
|
3440
3440
|
var tmp_3 = this;
|
|
3441
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3442
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3443
3443
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3444
3444
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3445
|
-
tmp_3.
|
|
3445
|
+
tmp_3.ma1_1 = Instance(di, tmp$ret$4, null).t63(this, playerConnectionInteractor$factory_1());
|
|
3446
3446
|
var tmp_5 = this;
|
|
3447
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3448
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3449
3449
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3450
3450
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3451
|
-
tmp_5.
|
|
3451
|
+
tmp_5.na1_1 = Instance(di, tmp$ret$6, null).t63(this, lastCardInteractor$factory());
|
|
3452
3452
|
var tmp_7 = this;
|
|
3453
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3454
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3455
3455
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3456
3456
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3457
|
-
tmp_7.
|
|
3457
|
+
tmp_7.oa1_1 = Instance(di, tmp$ret$8, null).t63(this, serverConfig$factory());
|
|
3458
3458
|
var tmp_9 = this;
|
|
3459
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3460
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3461
3461
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3462
3462
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3463
|
-
tmp_9.
|
|
3463
|
+
tmp_9.pa1_1 = Instance(di, tmp$ret$10, null).t63(this, logicConfig$factory());
|
|
3464
3464
|
var tmp_11 = this;
|
|
3465
3465
|
// Inline function 'org.kodein.di.instance' call
|
|
3466
3466
|
// Inline function 'org.kodein.type.generic' call
|
|
3467
3467
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3468
3468
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3469
|
-
tmp_11.
|
|
3469
|
+
tmp_11.qa1_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory_1());
|
|
3470
3470
|
var tmp_13 = this;
|
|
3471
3471
|
// Inline function 'org.kodein.di.instance' call
|
|
3472
3472
|
// Inline function 'org.kodein.type.generic' call
|
|
3473
3473
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3474
3474
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3475
|
-
tmp_13.
|
|
3475
|
+
tmp_13.ra1_1 = Instance(di, tmp$ret$14, null).t63(this, botConfig$factory());
|
|
3476
3476
|
var tmp_15 = this;
|
|
3477
3477
|
// Inline function 'org.kodein.di.instance' call
|
|
3478
3478
|
// Inline function 'org.kodein.type.generic' call
|
|
3479
3479
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3480
3480
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3481
|
-
tmp_15.
|
|
3481
|
+
tmp_15.sa1_1 = Instance(di, tmp$ret$16, null).t63(this, scenePositionProvider$factory());
|
|
3482
3482
|
var tmp_17 = this;
|
|
3483
3483
|
// Inline function 'org.kodein.di.instance' call
|
|
3484
3484
|
// Inline function 'org.kodein.type.generic' call
|
|
3485
3485
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3486
3486
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3487
|
-
tmp_17.
|
|
3487
|
+
tmp_17.ta1_1 = Instance(di, tmp$ret$18, null).t63(this, toClientEventsObserver$factory_1());
|
|
3488
3488
|
var tmp_19 = this;
|
|
3489
3489
|
// Inline function 'org.kodein.di.instance' call
|
|
3490
3490
|
// Inline function 'org.kodein.type.generic' call
|
|
3491
3491
|
var tmp_20 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
3492
3492
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3493
|
-
tmp_19.
|
|
3493
|
+
tmp_19.ua1_1 = Instance(di, tmp$ret$20, null).t63(this, mechanicEventsObserver$factory_1());
|
|
3494
3494
|
}
|
|
3495
|
-
protoOf(ServerGameStoreContract).c95 = function () {
|
|
3496
|
-
return plus(plus(plus(plus(plus(this.ea1_1.c95(), this.fa1_1.c95()), this.ga1_1.c95()), this.ha1_1.c95()), this.ia1_1.c95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3497
|
-
};
|
|
3498
3495
|
protoOf(ServerGameStoreContract).d95 = function () {
|
|
3499
|
-
|
|
3496
|
+
return plus(plus(plus(plus(plus(this.fa1_1.d95(), this.ga1_1.d95()), this.ha1_1.d95()), this.ia1_1.d95()), this.ja1_1.d95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3497
|
+
};
|
|
3498
|
+
protoOf(ServerGameStoreContract).e95 = function () {
|
|
3499
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.fa1_1.e95(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.ga1_1.e95()), this.ha1_1.e95()), this.ia1_1.e95()), this.ja1_1.e95()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendMechanicEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_mechanicEventsObserver__ll1b9k_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).w96(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3500
3500
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3501
3501
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3502
3502
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3636,7 +3636,7 @@
|
|
|
3636
3636
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3637
3637
|
next(action_0);
|
|
3638
3638
|
var state = store.state;
|
|
3639
|
-
if (!get_serverStatePayload_0(state).
|
|
3639
|
+
if (!get_serverStatePayload_0(state).g9t_1.h9t_1 && action_0.isGameFinished) {
|
|
3640
3640
|
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.k6q_1));
|
|
3641
3641
|
}
|
|
3642
3642
|
};
|
|
@@ -3644,7 +3644,7 @@
|
|
|
3644
3644
|
return this.g6l(store, next, action);
|
|
3645
3645
|
};
|
|
3646
3646
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3647
|
-
this.
|
|
3647
|
+
this.xa1_1 = this$0;
|
|
3648
3648
|
}
|
|
3649
3649
|
protoOf(_no_name_provided__qut3iv_3).p6j = function (action) {
|
|
3650
3650
|
return action instanceof MechanicAction;
|
|
@@ -3658,7 +3658,7 @@
|
|
|
3658
3658
|
var tmp;
|
|
3659
3659
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3660
3660
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3661
|
-
var this_0 = this.
|
|
3661
|
+
var this_0 = this.xa1_1;
|
|
3662
3662
|
var tableId = action_0.t7z_1;
|
|
3663
3663
|
var gameCreatorPlayerId = action_0.v7z_1;
|
|
3664
3664
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3703,7 +3703,7 @@
|
|
|
3703
3703
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3704
3704
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3705
3705
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3706
|
-
var tmp0_aid = this_0.
|
|
3706
|
+
var tmp0_aid = this_0.wa1_1.s6h();
|
|
3707
3707
|
// Inline function 'kotlin.collections.map' call
|
|
3708
3708
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3709
3709
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3728,16 +3728,16 @@
|
|
|
3728
3728
|
} else {
|
|
3729
3729
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3730
3730
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3731
|
-
var this_2 = this.
|
|
3731
|
+
var this_2 = this.xa1_1;
|
|
3732
3732
|
var table = state.m6r();
|
|
3733
3733
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3734
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3734
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.wa1_1.s6h(), table.id, null);
|
|
3735
3735
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3736
3736
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3737
3737
|
} else {
|
|
3738
3738
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3739
3739
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3740
|
-
var this_3 = this.
|
|
3740
|
+
var this_3 = this.xa1_1;
|
|
3741
3741
|
var tableId_0 = action_0.z7z_1.id;
|
|
3742
3742
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3743
3743
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3782,7 +3782,7 @@
|
|
|
3782
3782
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3783
3783
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3784
3784
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3785
|
-
var tmp0_aid_0 = this_3.
|
|
3785
|
+
var tmp0_aid_0 = this_3.wa1_1.s6h();
|
|
3786
3786
|
// Inline function 'kotlin.collections.map' call
|
|
3787
3787
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3788
3788
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3807,43 +3807,43 @@
|
|
|
3807
3807
|
} else {
|
|
3808
3808
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3809
3809
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3810
|
-
var this_5 = this.
|
|
3810
|
+
var this_5 = this.xa1_1;
|
|
3811
3811
|
var table_0 = state.m6r();
|
|
3812
3812
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3813
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3813
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.wa1_1.s6h(), table_0.id, null);
|
|
3814
3814
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3815
3815
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3816
3816
|
} else {
|
|
3817
3817
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3818
3818
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3819
|
-
var this_6 = this.
|
|
3819
|
+
var this_6 = this.xa1_1;
|
|
3820
3820
|
var table_1 = state.m6r();
|
|
3821
3821
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3822
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3822
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.wa1_1.s6h(), table_1.id, null);
|
|
3823
3823
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3824
3824
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3825
3825
|
} else {
|
|
3826
3826
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3827
3827
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3828
|
-
var this_7 = this.
|
|
3828
|
+
var this_7 = this.xa1_1;
|
|
3829
3829
|
var table_2 = state.m6r();
|
|
3830
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3831
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3831
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.wa1_1.s6h(), table_2.id, null);
|
|
3832
3832
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3833
3833
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3834
3834
|
} else {
|
|
3835
3835
|
if (action_0 instanceof ErrorAction) {
|
|
3836
3836
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3837
|
-
var this_8 = this.
|
|
3837
|
+
var this_8 = this.xa1_1;
|
|
3838
3838
|
var table_3 = state.m6r();
|
|
3839
3839
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3840
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3840
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.wa1_1.s6h(), table_3.id, null);
|
|
3841
3841
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3842
3842
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3843
3843
|
} else {
|
|
3844
3844
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3845
3845
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3846
|
-
var this_9 = this.
|
|
3846
|
+
var this_9 = this.xa1_1;
|
|
3847
3847
|
var table_4 = state.m6r();
|
|
3848
3848
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3849
3849
|
var tableId_1 = table_4.id;
|
|
@@ -3880,7 +3880,7 @@
|
|
|
3880
3880
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3881
3881
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3882
3882
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3883
|
-
var tmp0_aid_1 = this_9.
|
|
3883
|
+
var tmp0_aid_1 = this_9.wa1_1.s6h();
|
|
3884
3884
|
// Inline function 'kotlin.collections.map' call
|
|
3885
3885
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3886
3886
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3905,7 +3905,7 @@
|
|
|
3905
3905
|
} else {
|
|
3906
3906
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3907
3907
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3908
|
-
var this_10 = this.
|
|
3908
|
+
var this_10 = this.xa1_1;
|
|
3909
3909
|
var table_5 = state.m6r();
|
|
3910
3910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3911
3911
|
var tableId_2 = table_5.id;
|
|
@@ -3942,7 +3942,7 @@
|
|
|
3942
3942
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3943
3943
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3944
3944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3945
|
-
var tmp0_aid_2 = this_10.
|
|
3945
|
+
var tmp0_aid_2 = this_10.wa1_1.s6h();
|
|
3946
3946
|
// Inline function 'kotlin.collections.map' call
|
|
3947
3947
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3948
3948
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3967,7 +3967,7 @@
|
|
|
3967
3967
|
} else {
|
|
3968
3968
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3969
3969
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3970
|
-
var this_11 = this.
|
|
3970
|
+
var this_11 = this.xa1_1;
|
|
3971
3971
|
var table_6 = state.m6r();
|
|
3972
3972
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3973
3973
|
var tableId_3 = table_6.id;
|
|
@@ -4004,7 +4004,7 @@
|
|
|
4004
4004
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4005
4005
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4006
4006
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4007
|
-
var tmp0_aid_3 = this_11.
|
|
4007
|
+
var tmp0_aid_3 = this_11.wa1_1.s6h();
|
|
4008
4008
|
// Inline function 'kotlin.collections.map' call
|
|
4009
4009
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4010
4010
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4017,7 +4017,7 @@
|
|
|
4017
4017
|
}
|
|
4018
4018
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4019
4019
|
var tmp_0;
|
|
4020
|
-
if (this.
|
|
4020
|
+
if (this.xa1_1.va1_1.supportBackwardActions && getPlayer(state.m6r().players, sendToPlayer_8.b7e_1).h6x_1.l6x_1) {
|
|
4021
4021
|
tmp_0 = null;
|
|
4022
4022
|
} else {
|
|
4023
4023
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4035,79 +4035,79 @@
|
|
|
4035
4035
|
} else {
|
|
4036
4036
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4037
4037
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4038
|
-
var this_12 = this.
|
|
4038
|
+
var this_12 = this.xa1_1;
|
|
4039
4039
|
var table_7 = state.m6r();
|
|
4040
|
-
var exceptPlayerId = this.
|
|
4040
|
+
var exceptPlayerId = this.xa1_1.va1_1.supportBackwardActions ? action_0.z80_1 : null;
|
|
4041
4041
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4042
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4042
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.wa1_1.s6h(), table_7.id, exceptPlayerId);
|
|
4043
4043
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4044
4044
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4045
4045
|
} else {
|
|
4046
4046
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4047
4047
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4048
|
-
var this_13 = this.
|
|
4048
|
+
var this_13 = this.xa1_1;
|
|
4049
4049
|
var table_8 = state.m6r();
|
|
4050
|
-
var exceptPlayerId_0 = this.
|
|
4050
|
+
var exceptPlayerId_0 = this.xa1_1.va1_1.supportBackwardActions ? action_0.d81_1 : null;
|
|
4051
4051
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4052
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4052
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.wa1_1.s6h(), table_8.id, exceptPlayerId_0);
|
|
4053
4053
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4054
4054
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4055
4055
|
} else {
|
|
4056
4056
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4057
4057
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4058
|
-
var this_14 = this.
|
|
4058
|
+
var this_14 = this.xa1_1;
|
|
4059
4059
|
var table_9 = state.m6r();
|
|
4060
4060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4061
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4061
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.wa1_1.s6h(), table_9.id, null);
|
|
4062
4062
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4063
4063
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4064
4064
|
} else {
|
|
4065
4065
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4066
4066
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4067
|
-
var this_15 = this.
|
|
4067
|
+
var this_15 = this.xa1_1;
|
|
4068
4068
|
var table_10 = state.m6r();
|
|
4069
|
-
var exceptPlayerId_1 = this.
|
|
4069
|
+
var exceptPlayerId_1 = this.xa1_1.va1_1.supportBackwardActions ? action_0.k81_1 : null;
|
|
4070
4070
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4071
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4071
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.wa1_1.s6h(), table_10.id, exceptPlayerId_1);
|
|
4072
4072
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4073
4073
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4074
4074
|
} else {
|
|
4075
4075
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4076
4076
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4077
|
-
var this_16 = this.
|
|
4077
|
+
var this_16 = this.xa1_1;
|
|
4078
4078
|
var table_11 = state.m6r();
|
|
4079
|
-
var exceptPlayerId_2 = this.
|
|
4079
|
+
var exceptPlayerId_2 = this.xa1_1.va1_1.supportBackwardActions ? action_0.o81_1 : null;
|
|
4080
4080
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4081
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4081
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.wa1_1.s6h(), table_11.id, exceptPlayerId_2);
|
|
4082
4082
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4083
4083
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4084
4084
|
} else {
|
|
4085
4085
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4086
4086
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4087
|
-
var this_17 = this.
|
|
4087
|
+
var this_17 = this.xa1_1;
|
|
4088
4088
|
var table_12 = state.m6r();
|
|
4089
4089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4090
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4090
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.wa1_1.s6h(), table_12.id, null);
|
|
4091
4091
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4092
4092
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4093
4093
|
} else {
|
|
4094
4094
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4095
4095
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4096
|
-
var this_18 = this.
|
|
4096
|
+
var this_18 = this.xa1_1;
|
|
4097
4097
|
var table_13 = state.m6r();
|
|
4098
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4099
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4099
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.wa1_1.s6h(), table_13.id, null);
|
|
4100
4100
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4101
4101
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4102
4102
|
} else {
|
|
4103
4103
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4104
4104
|
var message = action_0.w81_1;
|
|
4105
4105
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4106
|
-
var this_19 = this.
|
|
4106
|
+
var this_19 = this.xa1_1;
|
|
4107
4107
|
var table_14 = state.m6r();
|
|
4108
4108
|
var tmp_1;
|
|
4109
4109
|
var tmp_2;
|
|
4110
|
-
if (this.
|
|
4110
|
+
if (this.xa1_1.va1_1.supportBackwardActions) {
|
|
4111
4111
|
tmp_2 = isInterface(message, UserMessage);
|
|
4112
4112
|
} else {
|
|
4113
4113
|
tmp_2 = false;
|
|
@@ -4119,17 +4119,17 @@
|
|
|
4119
4119
|
}
|
|
4120
4120
|
var exceptPlayerId_3 = tmp_1;
|
|
4121
4121
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4122
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4122
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.wa1_1.s6h(), table_14.id, exceptPlayerId_3);
|
|
4123
4123
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4124
4124
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4125
4125
|
} else {
|
|
4126
4126
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4127
4127
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4128
|
-
var this_20 = this.
|
|
4128
|
+
var this_20 = this.xa1_1;
|
|
4129
4129
|
var table_15 = state.m6r();
|
|
4130
4130
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4131
4131
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4132
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4132
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.wa1_1.s6h(), table_15.id, exceptPlayerId_4);
|
|
4133
4133
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4134
4134
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4135
4135
|
} else {
|
|
@@ -4167,10 +4167,10 @@
|
|
|
4167
4167
|
return this.g6l(store, next, action);
|
|
4168
4168
|
};
|
|
4169
4169
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4170
|
-
this.
|
|
4171
|
-
this.
|
|
4170
|
+
this.va1_1 = logicConfig;
|
|
4171
|
+
this.wa1_1 = idsProvider;
|
|
4172
4172
|
}
|
|
4173
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4173
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).w96 = function () {
|
|
4174
4174
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4175
4175
|
return new _no_name_provided__qut3iv_3(this);
|
|
4176
4176
|
};
|
|
@@ -4179,8 +4179,8 @@
|
|
|
4179
4179
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4180
4180
|
}
|
|
4181
4181
|
function sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4182
|
-
this.
|
|
4183
|
-
this.
|
|
4182
|
+
this.ga2_1 = $provider;
|
|
4183
|
+
this.ha2_1 = $action;
|
|
4184
4184
|
CoroutineImpl.call(this, resultContinuation);
|
|
4185
4185
|
}
|
|
4186
4186
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -4201,7 +4201,7 @@
|
|
|
4201
4201
|
case 0:
|
|
4202
4202
|
this.f9_1 = 2;
|
|
4203
4203
|
this.e9_1 = 1;
|
|
4204
|
-
suspendResult = this.
|
|
4204
|
+
suspendResult = this.ga2_1.c9u(this.ha2_1, this);
|
|
4205
4205
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4206
4206
|
return suspendResult;
|
|
4207
4207
|
}
|
|
@@ -4224,8 +4224,8 @@
|
|
|
4224
4224
|
while (true);
|
|
4225
4225
|
};
|
|
4226
4226
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4227
|
-
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.
|
|
4228
|
-
i.
|
|
4227
|
+
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.ga2_1, this.ha2_1, completion);
|
|
4228
|
+
i.ia2_1 = $this$launchDefault;
|
|
4229
4229
|
return i;
|
|
4230
4230
|
};
|
|
4231
4231
|
function sendMechanicEventsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4237,8 +4237,8 @@
|
|
|
4237
4237
|
return l;
|
|
4238
4238
|
}
|
|
4239
4239
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4240
|
-
this.
|
|
4241
|
-
this.
|
|
4240
|
+
this.ja2_1 = $asyncProvider;
|
|
4241
|
+
this.ka2_1 = $provider;
|
|
4242
4242
|
}
|
|
4243
4243
|
protoOf(_no_name_provided__qut3iv_4).p6j = function (action) {
|
|
4244
4244
|
return action instanceof MechanicAction;
|
|
@@ -4246,7 +4246,7 @@
|
|
|
4246
4246
|
protoOf(_no_name_provided__qut3iv_4).g6l = function (store, next, action) {
|
|
4247
4247
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendMechanicEventsMiddleware.<anonymous>' call
|
|
4248
4248
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4249
|
-
this.
|
|
4249
|
+
this.ja2_1.p6g(VOID, sendMechanicEventsMiddleware$o$handle$slambda_0(this.ka2_1, action_0, null));
|
|
4250
4250
|
next(action_0);
|
|
4251
4251
|
};
|
|
4252
4252
|
protoOf(_no_name_provided__qut3iv_4).o6j = function (store, next, action) {
|
|
@@ -4257,8 +4257,8 @@
|
|
|
4257
4257
|
return new _no_name_provided__qut3iv_5(asyncProvider, provider);
|
|
4258
4258
|
}
|
|
4259
4259
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4260
|
-
this.
|
|
4261
|
-
this.
|
|
4260
|
+
this.ta2_1 = $provider;
|
|
4261
|
+
this.ua2_1 = $action;
|
|
4262
4262
|
CoroutineImpl.call(this, resultContinuation);
|
|
4263
4263
|
}
|
|
4264
4264
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -4279,7 +4279,7 @@
|
|
|
4279
4279
|
case 0:
|
|
4280
4280
|
this.f9_1 = 2;
|
|
4281
4281
|
this.e9_1 = 1;
|
|
4282
|
-
suspendResult = this.
|
|
4282
|
+
suspendResult = this.ta2_1.q9y(this.ua2_1, this);
|
|
4283
4283
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4284
4284
|
return suspendResult;
|
|
4285
4285
|
}
|
|
@@ -4302,8 +4302,8 @@
|
|
|
4302
4302
|
while (true);
|
|
4303
4303
|
};
|
|
4304
4304
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4305
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4306
|
-
i.
|
|
4305
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ta2_1, this.ua2_1, completion);
|
|
4306
|
+
i.va2_1 = $this$launchDefault;
|
|
4307
4307
|
return i;
|
|
4308
4308
|
};
|
|
4309
4309
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4315,8 +4315,8 @@
|
|
|
4315
4315
|
return l;
|
|
4316
4316
|
}
|
|
4317
4317
|
function _no_name_provided__qut3iv_5($asyncProvider, $provider) {
|
|
4318
|
-
this.
|
|
4319
|
-
this.
|
|
4318
|
+
this.wa2_1 = $asyncProvider;
|
|
4319
|
+
this.xa2_1 = $provider;
|
|
4320
4320
|
}
|
|
4321
4321
|
protoOf(_no_name_provided__qut3iv_5).p6j = function (action) {
|
|
4322
4322
|
return action instanceof ToClientAction;
|
|
@@ -4324,7 +4324,7 @@
|
|
|
4324
4324
|
protoOf(_no_name_provided__qut3iv_5).g6l = function (store, next, action) {
|
|
4325
4325
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4326
4326
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4327
|
-
this.
|
|
4327
|
+
this.wa2_1.p6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.xa2_1, action_0, null));
|
|
4328
4328
|
next(action_0);
|
|
4329
4329
|
};
|
|
4330
4330
|
protoOf(_no_name_provided__qut3iv_5).o6j = function (store, next, action) {
|
|
@@ -4339,13 +4339,13 @@
|
|
|
4339
4339
|
protoOf(_no_name_provided__qut3iv_6).p6j = function (action) {
|
|
4340
4340
|
return action instanceof UpdateServerConfigAction;
|
|
4341
4341
|
};
|
|
4342
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4342
|
+
protoOf(_no_name_provided__qut3iv_6).r9d = function (state, action) {
|
|
4343
4343
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4344
4344
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4345
|
-
return state.
|
|
4345
|
+
return state.g92(VOID, get_serverStatePayload_0(state).ya2(action_0.ca1_1));
|
|
4346
4346
|
};
|
|
4347
4347
|
protoOf(_no_name_provided__qut3iv_6).h6l = function (state, action) {
|
|
4348
|
-
return this.
|
|
4348
|
+
return this.r9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4349
4349
|
};
|
|
4350
4350
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4351
4351
|
return function (it) {
|
|
@@ -4367,12 +4367,12 @@
|
|
|
4367
4367
|
}
|
|
4368
4368
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4369
4369
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4370
|
-
this.
|
|
4370
|
+
this.ba3_1 = logger;
|
|
4371
4371
|
}
|
|
4372
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4372
|
+
protoOf(ServerMechanicLifecycleReducer).d9f = function (state, action) {
|
|
4373
4373
|
var serverState = get_serverStatePayloadOrNull(state.l6q_1);
|
|
4374
4374
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4375
|
-
var tmp0_$this = this.
|
|
4375
|
+
var tmp0_$this = this.e9f_1;
|
|
4376
4376
|
var tmp1_tableId = action.t7z_1;
|
|
4377
4377
|
var tmp2_gameId = action.t7z_1;
|
|
4378
4378
|
var tmp3_version = action.u7z_1;
|
|
@@ -4380,40 +4380,40 @@
|
|
|
4380
4380
|
var tmp5_users = action.w7z_1;
|
|
4381
4381
|
var tmp6_spectators = action.spectators;
|
|
4382
4382
|
var tmp7_gameCreatorPlayerId = action.v7z_1;
|
|
4383
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4383
|
+
var tmp9_tableOrNull = tmp0_$this.j9g(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4384
4384
|
var tmp;
|
|
4385
4385
|
if (serverState == null) {
|
|
4386
|
-
this.
|
|
4387
|
-
tmp = Companion_instance_11.
|
|
4386
|
+
this.ba3_1.w(VOID, 'ServerPayload is not onStart');
|
|
4387
|
+
tmp = Companion_instance_11.w9t();
|
|
4388
4388
|
} else {
|
|
4389
4389
|
tmp = serverState;
|
|
4390
4390
|
}
|
|
4391
4391
|
var tmp10_payload = tmp;
|
|
4392
|
-
return state.
|
|
4392
|
+
return state.g92(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4393
4393
|
};
|
|
4394
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4394
|
+
protoOf(ServerMechanicLifecycleReducer).b9f = function (state, action) {
|
|
4395
4395
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4396
4396
|
var tmp1_tableOrNull = action.z7z_1;
|
|
4397
|
-
var tmp2_payload = Companion_instance_11.
|
|
4398
|
-
return state.
|
|
4397
|
+
var tmp2_payload = Companion_instance_11.w9t();
|
|
4398
|
+
return state.g92(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState, null);
|
|
4399
4399
|
};
|
|
4400
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4401
|
-
this.
|
|
4400
|
+
protoOf(ServerMechanicLifecycleReducer).c9f = function (state, action) {
|
|
4401
|
+
this.f9f_1.g5r(action.previousGameId);
|
|
4402
4402
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4403
|
-
var tmp1_tableOrNull = this.
|
|
4404
|
-
return state.
|
|
4403
|
+
var tmp1_tableOrNull = this.e9f_1.k9g(state.m6r(), action.gameId);
|
|
4404
|
+
return state.g92(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4405
4405
|
};
|
|
4406
4406
|
function spectatorsReducer(logger) {
|
|
4407
4407
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4408
4408
|
return new _no_name_provided__qut3iv_7(logger);
|
|
4409
4409
|
}
|
|
4410
4410
|
function _no_name_provided__qut3iv_7($logger) {
|
|
4411
|
-
this.
|
|
4411
|
+
this.ca3_1 = $logger;
|
|
4412
4412
|
}
|
|
4413
4413
|
protoOf(_no_name_provided__qut3iv_7).p6j = function (action) {
|
|
4414
4414
|
return isInterface(action, SpectatorsAction);
|
|
4415
4415
|
};
|
|
4416
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4416
|
+
protoOf(_no_name_provided__qut3iv_7).r9d = function (state, action) {
|
|
4417
4417
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4418
4418
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4419
4419
|
var table = state.m6r();
|
|
@@ -4421,7 +4421,7 @@
|
|
|
4421
4421
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4422
4422
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4423
4423
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4424
|
-
var this_0 = action_0.
|
|
4424
|
+
var this_0 = action_0.da1_1;
|
|
4425
4425
|
var destination = ArrayList_init_$Create$_0();
|
|
4426
4426
|
// Inline function 'kotlin.collections.forEach' call
|
|
4427
4427
|
var tmp0_iterator = this_0.j();
|
|
@@ -4443,10 +4443,10 @@
|
|
|
4443
4443
|
var tmp_0;
|
|
4444
4444
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4445
4445
|
if (!sameSpectators.p()) {
|
|
4446
|
-
this.
|
|
4446
|
+
this.ca3_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4447
4447
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4448
4448
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4449
|
-
var this_1 = action_0.
|
|
4449
|
+
var this_1 = action_0.da1_1;
|
|
4450
4450
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4451
4451
|
var tmp0_iterator_0 = this_1.j();
|
|
4452
4452
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4482,7 +4482,7 @@
|
|
|
4482
4482
|
}
|
|
4483
4483
|
tmp_0 = destination_0;
|
|
4484
4484
|
} else {
|
|
4485
|
-
tmp_0 = action_0.
|
|
4485
|
+
tmp_0 = action_0.da1_1;
|
|
4486
4486
|
}
|
|
4487
4487
|
var this_2 = tmp_0;
|
|
4488
4488
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4495,12 +4495,12 @@
|
|
|
4495
4495
|
destination_1.e(tmp$ret$10);
|
|
4496
4496
|
}
|
|
4497
4497
|
var spectatorsToAdd = toSet(destination_1);
|
|
4498
|
-
tmp = state.
|
|
4498
|
+
tmp = state.g92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4499
4499
|
} else {
|
|
4500
4500
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4501
4501
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4502
4502
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4503
|
-
var this_3 = action_0.
|
|
4503
|
+
var this_3 = action_0.ea1_1;
|
|
4504
4504
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4505
4505
|
// Inline function 'kotlin.collections.forEach' call
|
|
4506
4506
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4521,10 +4521,10 @@
|
|
|
4521
4521
|
var tmp_2;
|
|
4522
4522
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4523
4523
|
if (!sameSpectators_0.p()) {
|
|
4524
|
-
this.
|
|
4524
|
+
this.ca3_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4525
4525
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4526
4526
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4527
|
-
var this_4 = action_0.
|
|
4527
|
+
var this_4 = action_0.ea1_1;
|
|
4528
4528
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4529
4529
|
var tmp0_iterator_4 = this_4.j();
|
|
4530
4530
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4560,7 +4560,7 @@
|
|
|
4560
4560
|
}
|
|
4561
4561
|
tmp_2 = destination_3;
|
|
4562
4562
|
} else {
|
|
4563
|
-
tmp_2 = action_0.
|
|
4563
|
+
tmp_2 = action_0.ea1_1;
|
|
4564
4564
|
}
|
|
4565
4565
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4566
4566
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4599,7 +4599,7 @@
|
|
|
4599
4599
|
destination_4.e(element_5);
|
|
4600
4600
|
}
|
|
4601
4601
|
}
|
|
4602
|
-
tmp = state.
|
|
4602
|
+
tmp = state.g92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4603
4603
|
} else {
|
|
4604
4604
|
noWhenBranchMatchedException();
|
|
4605
4605
|
}
|
|
@@ -4607,32 +4607,32 @@
|
|
|
4607
4607
|
return tmp;
|
|
4608
4608
|
};
|
|
4609
4609
|
protoOf(_no_name_provided__qut3iv_7).h6l = function (state, action) {
|
|
4610
|
-
return this.
|
|
4610
|
+
return this.r9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4611
4611
|
};
|
|
4612
4612
|
function Companion_3() {
|
|
4613
4613
|
}
|
|
4614
|
-
protoOf(Companion_3).
|
|
4614
|
+
protoOf(Companion_3).da3 = function (config) {
|
|
4615
4615
|
return new ServerStatePayload(config);
|
|
4616
4616
|
};
|
|
4617
|
-
protoOf(Companion_3).
|
|
4617
|
+
protoOf(Companion_3).w9t = function (config, $super) {
|
|
4618
4618
|
config = config === VOID ? Companion_instance_8.z8j() : config;
|
|
4619
|
-
return $super === VOID ? this.
|
|
4619
|
+
return $super === VOID ? this.da3(config) : $super.da3.call(this, config);
|
|
4620
4620
|
};
|
|
4621
4621
|
var Companion_instance_11;
|
|
4622
4622
|
function Companion_getInstance_4() {
|
|
4623
4623
|
return Companion_instance_11;
|
|
4624
4624
|
}
|
|
4625
4625
|
function ServerStatePayload(config) {
|
|
4626
|
-
this.
|
|
4626
|
+
this.g9t_1 = config;
|
|
4627
4627
|
}
|
|
4628
|
-
protoOf(ServerStatePayload).
|
|
4628
|
+
protoOf(ServerStatePayload).ya2 = function (config) {
|
|
4629
4629
|
return new ServerStatePayload(config);
|
|
4630
4630
|
};
|
|
4631
4631
|
protoOf(ServerStatePayload).toString = function () {
|
|
4632
|
-
return 'ServerStatePayload(config=' + this.
|
|
4632
|
+
return 'ServerStatePayload(config=' + this.g9t_1.toString() + ')';
|
|
4633
4633
|
};
|
|
4634
4634
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4635
|
-
return this.
|
|
4635
|
+
return this.g9t_1.hashCode();
|
|
4636
4636
|
};
|
|
4637
4637
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4638
4638
|
if (this === other)
|
|
@@ -4640,7 +4640,7 @@
|
|
|
4640
4640
|
if (!(other instanceof ServerStatePayload))
|
|
4641
4641
|
return false;
|
|
4642
4642
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4643
|
-
if (!this.
|
|
4643
|
+
if (!this.g9t_1.equals(tmp0_other_with_cast.g9t_1))
|
|
4644
4644
|
return false;
|
|
4645
4645
|
return true;
|
|
4646
4646
|
};
|
|
@@ -4678,13 +4678,13 @@
|
|
|
4678
4678
|
}
|
|
4679
4679
|
function _get_controllerLogger__nbd727($this) {
|
|
4680
4680
|
// Inline function 'kotlin.getValue' call
|
|
4681
|
-
var this_0 = $this.
|
|
4681
|
+
var this_0 = $this.ma3_1;
|
|
4682
4682
|
controllerLogger$factory();
|
|
4683
4683
|
return this_0.u();
|
|
4684
4684
|
}
|
|
4685
4685
|
function _get_di__ndbzja($this) {
|
|
4686
4686
|
// Inline function 'kotlin.getValue' call
|
|
4687
|
-
var this_0 = $this.
|
|
4687
|
+
var this_0 = $this.na3_1;
|
|
4688
4688
|
di$factory();
|
|
4689
4689
|
return this_0.u();
|
|
4690
4690
|
}
|
|
@@ -4695,13 +4695,13 @@
|
|
|
4695
4695
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
4696
4696
|
return function () {
|
|
4697
4697
|
var tmp;
|
|
4698
|
-
if (this$0.
|
|
4698
|
+
if (this$0.ka3_1 == null) {
|
|
4699
4699
|
tmp = null;
|
|
4700
4700
|
} else {
|
|
4701
4701
|
// Inline function 'kotlin.let' call
|
|
4702
4702
|
// Inline function 'kotlin.contracts.contract' call
|
|
4703
4703
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
4704
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4704
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ka3_1)]));
|
|
4705
4705
|
}
|
|
4706
4706
|
var tmp1_elvis_lhs = tmp;
|
|
4707
4707
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4729,7 +4729,7 @@
|
|
|
4729
4729
|
tmp_0.w61(tmp$ret$3);
|
|
4730
4730
|
$this$DI.a5y(jsonModule());
|
|
4731
4731
|
$this$DI.a5y(serverHelpersModule());
|
|
4732
|
-
$this$DI.a5y(randomOrgModule(this$0.
|
|
4732
|
+
$this$DI.a5y(randomOrgModule(this$0.la3_1));
|
|
4733
4733
|
return Unit_instance;
|
|
4734
4734
|
};
|
|
4735
4735
|
}
|
|
@@ -4740,16 +4740,16 @@
|
|
|
4740
4740
|
};
|
|
4741
4741
|
}
|
|
4742
4742
|
function _no_name_provided__qut3iv_8($item) {
|
|
4743
|
-
this.
|
|
4743
|
+
this.ta3_1 = $item;
|
|
4744
4744
|
}
|
|
4745
4745
|
protoOf(_no_name_provided__qut3iv_8).p6j = function (action) {
|
|
4746
4746
|
return isInterface(action, Action);
|
|
4747
4747
|
};
|
|
4748
|
-
protoOf(_no_name_provided__qut3iv_8).
|
|
4749
|
-
return this.
|
|
4748
|
+
protoOf(_no_name_provided__qut3iv_8).r9d = function (state, action) {
|
|
4749
|
+
return this.ta3_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4750
4750
|
};
|
|
4751
4751
|
protoOf(_no_name_provided__qut3iv_8).h6l = function (state, action) {
|
|
4752
|
-
return this.
|
|
4752
|
+
return this.r9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4753
4753
|
};
|
|
4754
4754
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4755
4755
|
return function ($this$singleton) {
|
|
@@ -4806,7 +4806,7 @@
|
|
|
4806
4806
|
}
|
|
4807
4807
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4808
4808
|
return function (it) {
|
|
4809
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4809
|
+
var tmp0_elvis_lhs = Companion_instance_4.m9i(it);
|
|
4810
4810
|
var tmp;
|
|
4811
4811
|
if (tmp0_elvis_lhs == null) {
|
|
4812
4812
|
var tmp1_safe_receiver = $gameServer.e6b().k6q_1;
|
|
@@ -4819,7 +4819,7 @@
|
|
|
4819
4819
|
}
|
|
4820
4820
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4821
4821
|
return function (it) {
|
|
4822
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4822
|
+
var tmp0_elvis_lhs = Companion_instance_5.x9g(it);
|
|
4823
4823
|
var tmp;
|
|
4824
4824
|
if (tmp0_elvis_lhs == null) {
|
|
4825
4825
|
var tmp1_safe_receiver = $gameServer.e6b().k6q_1;
|
|
@@ -4841,7 +4841,7 @@
|
|
|
4841
4841
|
// Inline function 'kotlin.contracts.contract' call
|
|
4842
4842
|
$this$DI.a5y(tmp0_safe_receiver);
|
|
4843
4843
|
}
|
|
4844
|
-
$this$DI.a5y(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4844
|
+
$this$DI.a5y(dealerModule(this$0.randomPoolProvider, this$0.la3_1));
|
|
4845
4845
|
$this$DI.a5y(coreModule($coreConfig));
|
|
4846
4846
|
$this$DI.a5y(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4847
4847
|
return Unit_instance;
|
|
@@ -4850,76 +4850,76 @@
|
|
|
4850
4850
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4851
4851
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4852
4852
|
production = production === VOID ? true : production;
|
|
4853
|
-
this.
|
|
4854
|
-
this.
|
|
4853
|
+
this.ka3_1 = loggerCallback;
|
|
4854
|
+
this.la3_1 = randomOrgConfig;
|
|
4855
4855
|
AppEnvironment_getInstance().s6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4856
4856
|
var tmp = this;
|
|
4857
|
-
tmp.
|
|
4857
|
+
tmp.ma3_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
4858
4858
|
var tmp_0 = this;
|
|
4859
|
-
tmp_0.
|
|
4859
|
+
tmp_0.na3_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4860
4860
|
var tmp_1 = this;
|
|
4861
4861
|
// Inline function 'org.kodein.di.instance' call
|
|
4862
4862
|
var this_0 = _get_di__ndbzja(this);
|
|
4863
4863
|
// Inline function 'org.kodein.type.generic' call
|
|
4864
4864
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4865
4865
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4866
|
-
tmp_1.
|
|
4866
|
+
tmp_1.oa3_1 = Instance(this_0, tmp$ret$0, null).t63(this, parser$factory());
|
|
4867
4867
|
var tmp_3 = this;
|
|
4868
4868
|
// Inline function 'org.kodein.di.instance' call
|
|
4869
4869
|
var this_1 = _get_di__ndbzja(this);
|
|
4870
4870
|
// Inline function 'org.kodein.type.generic' call
|
|
4871
4871
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4872
4872
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4873
|
-
tmp_3.
|
|
4873
|
+
tmp_3.pa3_1 = Instance(this_1, tmp$ret$2, null).t63(this, helper$factory());
|
|
4874
4874
|
var tmp_5 = this;
|
|
4875
4875
|
// Inline function 'org.kodein.di.instance' call
|
|
4876
4876
|
var this_2 = _get_di__ndbzja(this);
|
|
4877
4877
|
// Inline function 'org.kodein.type.generic' call
|
|
4878
4878
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4879
4879
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4880
|
-
tmp_5.
|
|
4880
|
+
tmp_5.qa3_1 = Instance(this_2, tmp$ret$4, null).t63(this, resources$factory());
|
|
4881
4881
|
var tmp_7 = this;
|
|
4882
4882
|
// Inline function 'org.kodein.di.instance' call
|
|
4883
4883
|
var this_3 = _get_di__ndbzja(this);
|
|
4884
4884
|
// Inline function 'org.kodein.type.generic' call
|
|
4885
4885
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4886
4886
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4887
|
-
tmp_7.
|
|
4887
|
+
tmp_7.ra3_1 = Instance(this_3, tmp$ret$6, null).t63(this, test$factory());
|
|
4888
4888
|
var tmp_9 = this;
|
|
4889
4889
|
// Inline function 'org.kodein.di.instance' call
|
|
4890
4890
|
var this_4 = _get_di__ndbzja(this);
|
|
4891
4891
|
// Inline function 'org.kodein.type.generic' call
|
|
4892
4892
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4893
4893
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4894
|
-
tmp_9.
|
|
4894
|
+
tmp_9.sa3_1 = Instance(this_4, tmp$ret$8, null).t63(this, randomPoolProvider$factory());
|
|
4895
4895
|
}
|
|
4896
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4896
|
+
protoOf(GameServerEngineControllerImpl).ea3 = function () {
|
|
4897
4897
|
// Inline function 'kotlin.getValue' call
|
|
4898
|
-
var this_0 = this.
|
|
4898
|
+
var this_0 = this.oa3_1;
|
|
4899
4899
|
parser$factory_0();
|
|
4900
4900
|
return this_0.u();
|
|
4901
4901
|
};
|
|
4902
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4902
|
+
protoOf(GameServerEngineControllerImpl).ga3 = function () {
|
|
4903
4903
|
// Inline function 'kotlin.getValue' call
|
|
4904
|
-
var this_0 = this.
|
|
4904
|
+
var this_0 = this.pa3_1;
|
|
4905
4905
|
helper$factory_0();
|
|
4906
4906
|
return this_0.u();
|
|
4907
4907
|
};
|
|
4908
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4908
|
+
protoOf(GameServerEngineControllerImpl).ha3 = function () {
|
|
4909
4909
|
// Inline function 'kotlin.getValue' call
|
|
4910
|
-
var this_0 = this.
|
|
4910
|
+
var this_0 = this.qa3_1;
|
|
4911
4911
|
resources$factory_0();
|
|
4912
4912
|
return this_0.u();
|
|
4913
4913
|
};
|
|
4914
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4914
|
+
protoOf(GameServerEngineControllerImpl).fa3 = function () {
|
|
4915
4915
|
// Inline function 'kotlin.getValue' call
|
|
4916
|
-
var this_0 = this.
|
|
4916
|
+
var this_0 = this.ra3_1;
|
|
4917
4917
|
test$factory_0();
|
|
4918
4918
|
return this_0.u();
|
|
4919
4919
|
};
|
|
4920
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4920
|
+
protoOf(GameServerEngineControllerImpl).ia3 = function () {
|
|
4921
4921
|
// Inline function 'kotlin.getValue' call
|
|
4922
|
-
var this_0 = this.
|
|
4922
|
+
var this_0 = this.sa3_1;
|
|
4923
4923
|
randomPoolProvider$factory_0();
|
|
4924
4924
|
return this_0.u();
|
|
4925
4925
|
};
|
|
@@ -4929,7 +4929,7 @@
|
|
|
4929
4929
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4930
4930
|
return this.createGameEngineWithLogic();
|
|
4931
4931
|
};
|
|
4932
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4932
|
+
protoOf(GameServerEngineControllerImpl).ja3 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4933
4933
|
var combinedLogger = Companion_instance_6.qm();
|
|
4934
4934
|
var tmp;
|
|
4935
4935
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4939,8 +4939,8 @@
|
|
|
4939
4939
|
}
|
|
4940
4940
|
var fileLoggerOutput = tmp;
|
|
4941
4941
|
var tmp_0;
|
|
4942
|
-
if (!(this.
|
|
4943
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4942
|
+
if (!(this.ka3_1 == null)) {
|
|
4943
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ka3_1));
|
|
4944
4944
|
} else {
|
|
4945
4945
|
tmp_0 = null;
|
|
4946
4946
|
}
|
|
@@ -4983,12 +4983,12 @@
|
|
|
4983
4983
|
var gameServer = tmp_1.k5z(tmp$ret$7, null);
|
|
4984
4984
|
if (!(fileLoggerOutput == null)) {
|
|
4985
4985
|
var tmp_3 = fileLoggerOutput;
|
|
4986
|
-
tmp_3.
|
|
4986
|
+
tmp_3.b9i_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4987
4987
|
combinedLogger.sm(fileLoggerOutput);
|
|
4988
4988
|
}
|
|
4989
4989
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4990
4990
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4991
|
-
tmp_4.
|
|
4991
|
+
tmp_4.z9g_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4992
4992
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
4993
4993
|
}
|
|
4994
4994
|
return gameServer;
|
|
@@ -5057,13 +5057,13 @@
|
|
|
5057
5057
|
}
|
|
5058
5058
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5059
5059
|
// Inline function 'kotlin.getValue' call
|
|
5060
|
-
var this_0 = $this.
|
|
5060
|
+
var this_0 = $this.wa3_1;
|
|
5061
5061
|
playerAnswerInteractor$factory_0();
|
|
5062
5062
|
return this_0.u();
|
|
5063
5063
|
}
|
|
5064
5064
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5065
5065
|
return function ($this$singleton) {
|
|
5066
|
-
return this$0.
|
|
5066
|
+
return this$0.ua3_1;
|
|
5067
5067
|
};
|
|
5068
5068
|
}
|
|
5069
5069
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5092,20 +5092,20 @@
|
|
|
5092
5092
|
return emptyMap();
|
|
5093
5093
|
}
|
|
5094
5094
|
function TestHelperImpl(logger) {
|
|
5095
|
-
this.
|
|
5095
|
+
this.ua3_1 = logger;
|
|
5096
5096
|
var tmp = this;
|
|
5097
5097
|
var tmp_0 = Companion_instance_3;
|
|
5098
|
-
tmp.
|
|
5098
|
+
tmp.va3_1 = tmp_0.h5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5099
5099
|
var tmp_1 = this;
|
|
5100
5100
|
// Inline function 'org.kodein.di.instance' call
|
|
5101
|
-
var this_0 = this.
|
|
5101
|
+
var this_0 = this.va3_1;
|
|
5102
5102
|
// Inline function 'org.kodein.type.generic' call
|
|
5103
5103
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5104
5104
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5105
|
-
tmp_1.
|
|
5105
|
+
tmp_1.wa3_1 = Instance(this_0, tmp$ret$0, null).t63(this, playerAnswerInteractor$factory());
|
|
5106
5106
|
}
|
|
5107
5107
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5108
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5108
|
+
return _get_playerAnswerInteractor__msggz1(this).d8t(playerId, table, botConfig);
|
|
5109
5109
|
};
|
|
5110
5110
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5111
5111
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5113,7 +5113,7 @@
|
|
|
5113
5113
|
var tmp$ret$0;
|
|
5114
5114
|
$l$block_0: {
|
|
5115
5115
|
// Inline function 'kotlin.collections.any' call
|
|
5116
|
-
var this_0 = mechanicAction.
|
|
5116
|
+
var this_0 = mechanicAction.j94();
|
|
5117
5117
|
var tmp;
|
|
5118
5118
|
if (isInterface(this_0, Collection)) {
|
|
5119
5119
|
tmp = this_0.p();
|
|
@@ -5146,7 +5146,7 @@
|
|
|
5146
5146
|
var tmp$ret$0;
|
|
5147
5147
|
$l$block_0: {
|
|
5148
5148
|
// Inline function 'kotlin.collections.any' call
|
|
5149
|
-
var this_0 = action.
|
|
5149
|
+
var this_0 = action.j94();
|
|
5150
5150
|
var tmp;
|
|
5151
5151
|
if (isInterface(this_0, Collection)) {
|
|
5152
5152
|
tmp = this_0.p();
|
|
@@ -5249,19 +5249,19 @@
|
|
|
5249
5249
|
});
|
|
5250
5250
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5251
5251
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5252
|
-
return this.
|
|
5252
|
+
return this.ea3();
|
|
5253
5253
|
});
|
|
5254
5254
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5255
|
-
return this.
|
|
5255
|
+
return this.ga3();
|
|
5256
5256
|
});
|
|
5257
5257
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5258
|
-
return this.
|
|
5258
|
+
return this.ha3();
|
|
5259
5259
|
});
|
|
5260
5260
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5261
|
-
return this.
|
|
5261
|
+
return this.fa3();
|
|
5262
5262
|
});
|
|
5263
5263
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5264
|
-
return this.
|
|
5264
|
+
return this.ia3();
|
|
5265
5265
|
});
|
|
5266
5266
|
//endregion
|
|
5267
5267
|
//region block: init
|