raspberry_games_server_game_logic 1.8.479 → 1.8.481
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/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-bot_engine.js +706 -706
- package/Logic_Debertz-bot_engine.js.map +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +9021 -8997
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +6 -0
- package/Logic_Debertz-game_server.js +927 -927
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -429,10 +429,10 @@
|
|
|
429
429
|
spectators = tmp;
|
|
430
430
|
var tmp_0;
|
|
431
431
|
if ($super === VOID) {
|
|
432
|
-
this.
|
|
432
|
+
this.ubc(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
433
433
|
tmp_0 = Unit_instance;
|
|
434
434
|
} else {
|
|
435
|
-
tmp_0 = $super.
|
|
435
|
+
tmp_0 = $super.ubc.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
436
436
|
}
|
|
437
437
|
return tmp_0;
|
|
438
438
|
}
|
|
@@ -440,10 +440,10 @@
|
|
|
440
440
|
newRid = newRid === VOID ? null : newRid;
|
|
441
441
|
var tmp;
|
|
442
442
|
if ($super === VOID) {
|
|
443
|
-
this.
|
|
443
|
+
this.wbc(newRid);
|
|
444
444
|
tmp = Unit_instance;
|
|
445
445
|
} else {
|
|
446
|
-
tmp = $super.
|
|
446
|
+
tmp = $super.wbc.call(this, newRid);
|
|
447
447
|
}
|
|
448
448
|
return tmp;
|
|
449
449
|
}
|
|
@@ -451,16 +451,16 @@
|
|
|
451
451
|
roomId = roomId === VOID ? null : roomId;
|
|
452
452
|
var tmp;
|
|
453
453
|
if ($super === VOID) {
|
|
454
|
-
this.
|
|
454
|
+
this.xbc(reason, roomId);
|
|
455
455
|
tmp = Unit_instance;
|
|
456
456
|
} else {
|
|
457
|
-
tmp = $super.
|
|
457
|
+
tmp = $super.xbc.call(this, reason, roomId);
|
|
458
458
|
}
|
|
459
459
|
return tmp;
|
|
460
460
|
}
|
|
461
461
|
function playerLeft(playerId, roomId, permanently, $super) {
|
|
462
462
|
permanently = permanently === VOID ? true : permanently;
|
|
463
|
-
return $super === VOID ? this.
|
|
463
|
+
return $super === VOID ? this.tbc(playerId, roomId, permanently) : $super.tbc.call(this, playerId, roomId, permanently);
|
|
464
464
|
}
|
|
465
465
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
466
466
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
initMetadataForClass(ToClientEventsObserverImpl, 'ToClientEventsObserverImpl', VOID, VOID, [ToClientEventsObserver], [1, 0]);
|
|
489
489
|
function getToClientContinueAction$default(sendToPlayer, table, previousConnectionState, $super) {
|
|
490
490
|
previousConnectionState = previousConnectionState === VOID ? null : previousConnectionState;
|
|
491
|
-
return $super === VOID ? this.
|
|
491
|
+
return $super === VOID ? this.wbf(sendToPlayer, table, previousConnectionState) : $super.wbf.call(this, sendToPlayer, table, previousConnectionState);
|
|
492
492
|
}
|
|
493
493
|
initMetadataForInterface(PlayerConnectionInteractor, 'PlayerConnectionInteractor');
|
|
494
494
|
initMetadataForClass(PlayerConnectionInteractorImpl, 'PlayerConnectionInteractorImpl', VOID, VOID, [PlayerConnectionInteractor]);
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
leaguesConfig = leaguesConfig === VOID ? Companion_instance_6.defaultConfig() : leaguesConfig;
|
|
540
540
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
541
541
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
542
|
-
return $super === VOID ? this.
|
|
542
|
+
return $super === VOID ? this.dbj(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) : $super.dbj.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig);
|
|
543
543
|
}
|
|
544
544
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
545
545
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -552,17 +552,17 @@
|
|
|
552
552
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
553
553
|
//endregion
|
|
554
554
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
555
|
-
this.
|
|
555
|
+
this.xat_1 = $subscriber;
|
|
556
556
|
CoroutineImpl.call(this, resultContinuation);
|
|
557
557
|
}
|
|
558
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
559
|
-
var tmp = this.
|
|
558
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).zat = function (it, $completion) {
|
|
559
|
+
var tmp = this.aau(it, $completion);
|
|
560
560
|
tmp.k9_1 = Unit_instance;
|
|
561
561
|
tmp.l9_1 = null;
|
|
562
562
|
return tmp.q9();
|
|
563
563
|
};
|
|
564
564
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ca = function (p1, $completion) {
|
|
565
|
-
return this.
|
|
565
|
+
return this.zat(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
566
566
|
};
|
|
567
567
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).q9 = function () {
|
|
568
568
|
var suspendResult = this.k9_1;
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
var tmp = this.i9_1;
|
|
572
572
|
if (tmp === 0) {
|
|
573
573
|
this.j9_1 = 1;
|
|
574
|
-
this.
|
|
574
|
+
this.xat_1(this.yat_1);
|
|
575
575
|
return Unit_instance;
|
|
576
576
|
} else if (tmp === 1) {
|
|
577
577
|
throw this.l9_1;
|
|
@@ -582,31 +582,31 @@
|
|
|
582
582
|
}
|
|
583
583
|
while (true);
|
|
584
584
|
};
|
|
585
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
586
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
587
|
-
i.
|
|
585
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).aau = function (it, completion) {
|
|
586
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.xat_1, completion);
|
|
587
|
+
i.yat_1 = it;
|
|
588
588
|
return i;
|
|
589
589
|
};
|
|
590
590
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
591
591
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
592
592
|
var l = function (it, $completion) {
|
|
593
|
-
return i.
|
|
593
|
+
return i.zat(it, $completion);
|
|
594
594
|
};
|
|
595
595
|
l.$arity = 1;
|
|
596
596
|
return l;
|
|
597
597
|
}
|
|
598
598
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
599
|
-
this.
|
|
599
|
+
this.jau_1 = $subscriber;
|
|
600
600
|
CoroutineImpl.call(this, resultContinuation);
|
|
601
601
|
}
|
|
602
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
603
|
-
var tmp = this.
|
|
602
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).lau = function (it, $completion) {
|
|
603
|
+
var tmp = this.mau(it, $completion);
|
|
604
604
|
tmp.k9_1 = Unit_instance;
|
|
605
605
|
tmp.l9_1 = null;
|
|
606
606
|
return tmp.q9();
|
|
607
607
|
};
|
|
608
608
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ca = function (p1, $completion) {
|
|
609
|
-
return this.
|
|
609
|
+
return this.lau((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
610
610
|
};
|
|
611
611
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).q9 = function () {
|
|
612
612
|
var suspendResult = this.k9_1;
|
|
@@ -615,7 +615,7 @@
|
|
|
615
615
|
var tmp = this.i9_1;
|
|
616
616
|
if (tmp === 0) {
|
|
617
617
|
this.j9_1 = 1;
|
|
618
|
-
this.
|
|
618
|
+
this.jau_1(this.kau_1);
|
|
619
619
|
return Unit_instance;
|
|
620
620
|
} else if (tmp === 1) {
|
|
621
621
|
throw this.l9_1;
|
|
@@ -626,22 +626,22 @@
|
|
|
626
626
|
}
|
|
627
627
|
while (true);
|
|
628
628
|
};
|
|
629
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
630
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
631
|
-
i.
|
|
629
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).mau = function (it, completion) {
|
|
630
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.jau_1, completion);
|
|
631
|
+
i.kau_1 = it;
|
|
632
632
|
return i;
|
|
633
633
|
};
|
|
634
634
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
635
635
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
636
636
|
var l = function (it, $completion) {
|
|
637
|
-
return i.
|
|
637
|
+
return i.lau(it, $completion);
|
|
638
638
|
};
|
|
639
639
|
l.$arity = 1;
|
|
640
640
|
return l;
|
|
641
641
|
}
|
|
642
642
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
643
|
-
this.
|
|
644
|
-
this.
|
|
643
|
+
this.vau_1 = $$this$unsafeFlow;
|
|
644
|
+
this.wau_1 = this$0;
|
|
645
645
|
CoroutineImpl.call(this, resultContinuation);
|
|
646
646
|
}
|
|
647
647
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).c2k = function (value, $completion) {
|
|
@@ -661,10 +661,10 @@
|
|
|
661
661
|
switch (tmp) {
|
|
662
662
|
case 0:
|
|
663
663
|
this.j9_1 = 2;
|
|
664
|
-
var tmp0 = this.
|
|
665
|
-
var value = this.
|
|
664
|
+
var tmp0 = this.vau_1;
|
|
665
|
+
var value = this.xau_1;
|
|
666
666
|
this.i9_1 = 1;
|
|
667
|
-
suspendResult = tmp0.t2a(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
667
|
+
suspendResult = tmp0.t2a(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.wau_1)), this);
|
|
668
668
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
669
669
|
return suspendResult;
|
|
670
670
|
}
|
|
@@ -687,8 +687,8 @@
|
|
|
687
687
|
while (true);
|
|
688
688
|
};
|
|
689
689
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2k = function (value, completion) {
|
|
690
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
691
|
-
i.
|
|
690
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.vau_1, this.wau_1, completion);
|
|
691
|
+
i.xau_1 = value;
|
|
692
692
|
return i;
|
|
693
693
|
};
|
|
694
694
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -701,8 +701,8 @@
|
|
|
701
701
|
}
|
|
702
702
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
703
703
|
CoroutineImpl.call(this, resultContinuation);
|
|
704
|
-
this.
|
|
705
|
-
this.
|
|
704
|
+
this.gav_1 = _this__u8e3s4;
|
|
705
|
+
this.hav_1 = collector;
|
|
706
706
|
}
|
|
707
707
|
protoOf($collectCOROUTINE$).q9 = function () {
|
|
708
708
|
var suspendResult = this.k9_1;
|
|
@@ -712,10 +712,10 @@
|
|
|
712
712
|
switch (tmp) {
|
|
713
713
|
case 0:
|
|
714
714
|
this.j9_1 = 2;
|
|
715
|
-
var $this$unsafeFlow = this.
|
|
715
|
+
var $this$unsafeFlow = this.hav_1;
|
|
716
716
|
this.i9_1 = 1;
|
|
717
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
718
|
-
suspendResult = this.
|
|
717
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.gav_1.jav_1, null);
|
|
718
|
+
suspendResult = this.gav_1.iav_1.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
719
719
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
720
720
|
return suspendResult;
|
|
721
721
|
}
|
|
@@ -738,8 +738,8 @@
|
|
|
738
738
|
while (true);
|
|
739
739
|
};
|
|
740
740
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
741
|
-
this.
|
|
742
|
-
this.
|
|
741
|
+
this.iav_1 = $this;
|
|
742
|
+
this.jav_1 = this$0;
|
|
743
743
|
}
|
|
744
744
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).u2a = function (collector, $completion) {
|
|
745
745
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -751,17 +751,17 @@
|
|
|
751
751
|
return this.u2a(collector, $completion);
|
|
752
752
|
};
|
|
753
753
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
754
|
-
this.
|
|
754
|
+
this.sav_1 = $subscriber;
|
|
755
755
|
CoroutineImpl.call(this, resultContinuation);
|
|
756
756
|
}
|
|
757
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
758
|
-
var tmp = this.
|
|
757
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).uav = function (it, $completion) {
|
|
758
|
+
var tmp = this.vav(it, $completion);
|
|
759
759
|
tmp.k9_1 = Unit_instance;
|
|
760
760
|
tmp.l9_1 = null;
|
|
761
761
|
return tmp.q9();
|
|
762
762
|
};
|
|
763
763
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ca = function (p1, $completion) {
|
|
764
|
-
return this.
|
|
764
|
+
return this.uav((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
765
765
|
};
|
|
766
766
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9 = function () {
|
|
767
767
|
var suspendResult = this.k9_1;
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
var tmp = this.i9_1;
|
|
771
771
|
if (tmp === 0) {
|
|
772
772
|
this.j9_1 = 1;
|
|
773
|
-
this.
|
|
773
|
+
this.sav_1(this.tav_1);
|
|
774
774
|
return Unit_instance;
|
|
775
775
|
} else if (tmp === 1) {
|
|
776
776
|
throw this.l9_1;
|
|
@@ -781,22 +781,22 @@
|
|
|
781
781
|
}
|
|
782
782
|
while (true);
|
|
783
783
|
};
|
|
784
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
785
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
786
|
-
i.
|
|
784
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).vav = function (it, completion) {
|
|
785
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.sav_1, completion);
|
|
786
|
+
i.tav_1 = it;
|
|
787
787
|
return i;
|
|
788
788
|
};
|
|
789
789
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
790
790
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
791
791
|
var l = function (it, $completion) {
|
|
792
|
-
return i.
|
|
792
|
+
return i.uav(it, $completion);
|
|
793
793
|
};
|
|
794
794
|
l.$arity = 1;
|
|
795
795
|
return l;
|
|
796
796
|
}
|
|
797
797
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
798
|
-
this.
|
|
799
|
-
this.
|
|
798
|
+
this.eaw_1 = $$this$unsafeFlow;
|
|
799
|
+
this.faw_1 = $table;
|
|
800
800
|
CoroutineImpl.call(this, resultContinuation);
|
|
801
801
|
}
|
|
802
802
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).c2k = function (value, $completion) {
|
|
@@ -816,10 +816,10 @@
|
|
|
816
816
|
switch (tmp) {
|
|
817
817
|
case 0:
|
|
818
818
|
this.j9_1 = 2;
|
|
819
|
-
var tmp0 = this.
|
|
820
|
-
var value = this.
|
|
819
|
+
var tmp0 = this.eaw_1;
|
|
820
|
+
var value = this.gaw_1;
|
|
821
821
|
this.i9_1 = 1;
|
|
822
|
-
suspendResult = tmp0.t2a(new ActionsStateUpdate(this.
|
|
822
|
+
suspendResult = tmp0.t2a(new ActionsStateUpdate(this.faw_1.id, copyToArray(value)), this);
|
|
823
823
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
824
824
|
return suspendResult;
|
|
825
825
|
}
|
|
@@ -842,8 +842,8 @@
|
|
|
842
842
|
while (true);
|
|
843
843
|
};
|
|
844
844
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2k = function (value, completion) {
|
|
845
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
846
|
-
i.
|
|
845
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.eaw_1, this.faw_1, completion);
|
|
846
|
+
i.gaw_1 = value;
|
|
847
847
|
return i;
|
|
848
848
|
};
|
|
849
849
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -856,8 +856,8 @@
|
|
|
856
856
|
}
|
|
857
857
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
858
858
|
CoroutineImpl.call(this, resultContinuation);
|
|
859
|
-
this.
|
|
860
|
-
this.
|
|
859
|
+
this.paw_1 = _this__u8e3s4;
|
|
860
|
+
this.qaw_1 = collector;
|
|
861
861
|
}
|
|
862
862
|
protoOf($collectCOROUTINE$_0).q9 = function () {
|
|
863
863
|
var suspendResult = this.k9_1;
|
|
@@ -867,10 +867,10 @@
|
|
|
867
867
|
switch (tmp) {
|
|
868
868
|
case 0:
|
|
869
869
|
this.j9_1 = 2;
|
|
870
|
-
var $this$unsafeFlow = this.
|
|
870
|
+
var $this$unsafeFlow = this.qaw_1;
|
|
871
871
|
this.i9_1 = 1;
|
|
872
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
873
|
-
suspendResult = this.
|
|
872
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.paw_1.saw_1, null);
|
|
873
|
+
suspendResult = this.paw_1.raw_1.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
874
874
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
875
875
|
return suspendResult;
|
|
876
876
|
}
|
|
@@ -893,8 +893,8 @@
|
|
|
893
893
|
while (true);
|
|
894
894
|
};
|
|
895
895
|
function GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1($this, $table) {
|
|
896
|
-
this.
|
|
897
|
-
this.
|
|
896
|
+
this.raw_1 = $this;
|
|
897
|
+
this.saw_1 = $table;
|
|
898
898
|
}
|
|
899
899
|
protoOf(GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1).u2a = function (collector, $completion) {
|
|
900
900
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -906,18 +906,18 @@
|
|
|
906
906
|
return this.u2a(collector, $completion);
|
|
907
907
|
};
|
|
908
908
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
909
|
-
this.
|
|
910
|
-
this.
|
|
909
|
+
this.bax_1 = $table;
|
|
910
|
+
this.cax_1 = this$0;
|
|
911
911
|
CoroutineImpl.call(this, resultContinuation);
|
|
912
912
|
}
|
|
913
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
914
|
-
var tmp = this.
|
|
913
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).eax = function ($this$flow, $completion) {
|
|
914
|
+
var tmp = this.fax($this$flow, $completion);
|
|
915
915
|
tmp.k9_1 = Unit_instance;
|
|
916
916
|
tmp.l9_1 = null;
|
|
917
917
|
return tmp.q9();
|
|
918
918
|
};
|
|
919
919
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ca = function (p1, $completion) {
|
|
920
|
-
return this.
|
|
920
|
+
return this.eax((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
921
921
|
};
|
|
922
922
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).q9 = function () {
|
|
923
923
|
var suspendResult = this.k9_1;
|
|
@@ -928,7 +928,7 @@
|
|
|
928
928
|
case 0:
|
|
929
929
|
this.j9_1 = 3;
|
|
930
930
|
this.i9_1 = 1;
|
|
931
|
-
suspendResult = this.
|
|
931
|
+
suspendResult = this.dax_1.t2a(new TableStateUpdate(this.bax_1.id, this.bax_1), this);
|
|
932
932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
933
933
|
return suspendResult;
|
|
934
934
|
}
|
|
@@ -936,8 +936,8 @@
|
|
|
936
936
|
continue $sm;
|
|
937
937
|
case 1:
|
|
938
938
|
this.i9_1 = 2;
|
|
939
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
940
|
-
suspendResult = emitAll(this.
|
|
939
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.cax_1).x9m(), fromInt(_get_serverReduxConfig__rprcrm(this.cax_1).serverStateUpdateIntervalMillis));
|
|
940
|
+
suspendResult = emitAll(this.dax_1, new GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1(this_0, this.bax_1), this);
|
|
941
941
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
942
942
|
return suspendResult;
|
|
943
943
|
}
|
|
@@ -959,22 +959,22 @@
|
|
|
959
959
|
}
|
|
960
960
|
while (true);
|
|
961
961
|
};
|
|
962
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
963
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
964
|
-
i.
|
|
962
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).fax = function ($this$flow, completion) {
|
|
963
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.bax_1, this.cax_1, completion);
|
|
964
|
+
i.dax_1 = $this$flow;
|
|
965
965
|
return i;
|
|
966
966
|
};
|
|
967
967
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
968
968
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
969
969
|
var l = function ($this$flow, $completion) {
|
|
970
|
-
return i.
|
|
970
|
+
return i.eax($this$flow, $completion);
|
|
971
971
|
};
|
|
972
972
|
l.$arity = 1;
|
|
973
973
|
return l;
|
|
974
974
|
}
|
|
975
975
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
976
|
-
this.
|
|
977
|
-
this.
|
|
976
|
+
this.pax_1 = $$this$unsafeFlow;
|
|
977
|
+
this.qax_1 = this$0;
|
|
978
978
|
CoroutineImpl.call(this, resultContinuation);
|
|
979
979
|
}
|
|
980
980
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).c2k = function (value, $completion) {
|
|
@@ -994,15 +994,15 @@
|
|
|
994
994
|
switch (tmp) {
|
|
995
995
|
case 0:
|
|
996
996
|
this.j9_1 = 5;
|
|
997
|
-
this.
|
|
998
|
-
this.
|
|
997
|
+
this.vax_1 = this.pax_1;
|
|
998
|
+
this.uax_1 = this.rax_1;
|
|
999
999
|
this.i9_1 = 1;
|
|
1000
1000
|
continue $sm;
|
|
1001
1001
|
case 1:
|
|
1002
|
-
this.
|
|
1003
|
-
var it = this.
|
|
1002
|
+
this.sax_1 = this.vax_1;
|
|
1003
|
+
var it = this.uax_1;
|
|
1004
1004
|
var tmp_0;
|
|
1005
|
-
if (get_isCreated(this.
|
|
1005
|
+
if (get_isCreated(this.qax_1.m6y())) {
|
|
1006
1006
|
tmp_0 = it;
|
|
1007
1007
|
} else {
|
|
1008
1008
|
tmp_0 = null;
|
|
@@ -1014,15 +1014,15 @@
|
|
|
1014
1014
|
var tmp_1 = this;
|
|
1015
1015
|
continue $sm;
|
|
1016
1016
|
} else {
|
|
1017
|
-
this.
|
|
1017
|
+
this.tax_1 = tmp0_elvis_lhs;
|
|
1018
1018
|
this.i9_1 = 2;
|
|
1019
1019
|
continue $sm;
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
case 2:
|
|
1023
|
-
var transformed = this.
|
|
1023
|
+
var transformed = this.tax_1;
|
|
1024
1024
|
this.i9_1 = 3;
|
|
1025
|
-
suspendResult = this.
|
|
1025
|
+
suspendResult = this.sax_1.t2a(transformed, this);
|
|
1026
1026
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1027
1027
|
return suspendResult;
|
|
1028
1028
|
}
|
|
@@ -1053,8 +1053,8 @@
|
|
|
1053
1053
|
while (true);
|
|
1054
1054
|
};
|
|
1055
1055
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).d2k = function (value, completion) {
|
|
1056
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1057
|
-
i.
|
|
1056
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.pax_1, this.qax_1, completion);
|
|
1057
|
+
i.rax_1 = value;
|
|
1058
1058
|
return i;
|
|
1059
1059
|
};
|
|
1060
1060
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1067,8 +1067,8 @@
|
|
|
1067
1067
|
}
|
|
1068
1068
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1069
1069
|
CoroutineImpl.call(this, resultContinuation);
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1070
|
+
this.eay_1 = _this__u8e3s4;
|
|
1071
|
+
this.fay_1 = collector;
|
|
1072
1072
|
}
|
|
1073
1073
|
protoOf($collectCOROUTINE$_1).q9 = function () {
|
|
1074
1074
|
var suspendResult = this.k9_1;
|
|
@@ -1078,10 +1078,10 @@
|
|
|
1078
1078
|
switch (tmp) {
|
|
1079
1079
|
case 0:
|
|
1080
1080
|
this.j9_1 = 2;
|
|
1081
|
-
var $this$unsafeFlow = this.
|
|
1081
|
+
var $this$unsafeFlow = this.fay_1;
|
|
1082
1082
|
this.i9_1 = 1;
|
|
1083
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1084
|
-
suspendResult = this.
|
|
1083
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.eay_1.hay_1, null);
|
|
1084
|
+
suspendResult = this.eay_1.gay_1.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1085
1085
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1086
1086
|
return suspendResult;
|
|
1087
1087
|
}
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
while (true);
|
|
1105
1105
|
};
|
|
1106
1106
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1107
|
-
this.
|
|
1107
|
+
this.qay_1 = $$this$unsafeFlow;
|
|
1108
1108
|
CoroutineImpl.call(this, resultContinuation);
|
|
1109
1109
|
}
|
|
1110
1110
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).c2k = function (value, $completion) {
|
|
@@ -1124,27 +1124,27 @@
|
|
|
1124
1124
|
switch (tmp) {
|
|
1125
1125
|
case 0:
|
|
1126
1126
|
this.j9_1 = 5;
|
|
1127
|
-
this.
|
|
1128
|
-
this.
|
|
1127
|
+
this.vay_1 = this.qay_1;
|
|
1128
|
+
this.uay_1 = this.ray_1;
|
|
1129
1129
|
this.i9_1 = 1;
|
|
1130
1130
|
continue $sm;
|
|
1131
1131
|
case 1:
|
|
1132
|
-
this.
|
|
1133
|
-
var tmp0_elvis_lhs = this.
|
|
1132
|
+
this.say_1 = this.vay_1;
|
|
1133
|
+
var tmp0_elvis_lhs = this.uay_1.tableOrNull;
|
|
1134
1134
|
if (tmp0_elvis_lhs == null) {
|
|
1135
1135
|
this.i9_1 = 4;
|
|
1136
1136
|
var tmp_0 = this;
|
|
1137
1137
|
continue $sm;
|
|
1138
1138
|
} else {
|
|
1139
|
-
this.
|
|
1139
|
+
this.tay_1 = tmp0_elvis_lhs;
|
|
1140
1140
|
this.i9_1 = 2;
|
|
1141
1141
|
continue $sm;
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
1144
|
case 2:
|
|
1145
|
-
var transformed = this.
|
|
1145
|
+
var transformed = this.tay_1;
|
|
1146
1146
|
this.i9_1 = 3;
|
|
1147
|
-
suspendResult = this.
|
|
1147
|
+
suspendResult = this.say_1.t2a(transformed, this);
|
|
1148
1148
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1149
1149
|
return suspendResult;
|
|
1150
1150
|
}
|
|
@@ -1175,8 +1175,8 @@
|
|
|
1175
1175
|
while (true);
|
|
1176
1176
|
};
|
|
1177
1177
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2k = function (value, completion) {
|
|
1178
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1179
|
-
i.
|
|
1178
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.qay_1, completion);
|
|
1179
|
+
i.ray_1 = value;
|
|
1180
1180
|
return i;
|
|
1181
1181
|
};
|
|
1182
1182
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1189,8 +1189,8 @@
|
|
|
1189
1189
|
}
|
|
1190
1190
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1191
1191
|
CoroutineImpl.call(this, resultContinuation);
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1192
|
+
this.eaz_1 = _this__u8e3s4;
|
|
1193
|
+
this.faz_1 = collector;
|
|
1194
1194
|
}
|
|
1195
1195
|
protoOf($collectCOROUTINE$_2).q9 = function () {
|
|
1196
1196
|
var suspendResult = this.k9_1;
|
|
@@ -1200,10 +1200,10 @@
|
|
|
1200
1200
|
switch (tmp) {
|
|
1201
1201
|
case 0:
|
|
1202
1202
|
this.j9_1 = 2;
|
|
1203
|
-
var $this$unsafeFlow = this.
|
|
1203
|
+
var $this$unsafeFlow = this.faz_1;
|
|
1204
1204
|
this.i9_1 = 1;
|
|
1205
1205
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1206
|
-
suspendResult = this.
|
|
1206
|
+
suspendResult = this.eaz_1.gaz_1.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1207
1207
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1208
1208
|
return suspendResult;
|
|
1209
1209
|
}
|
|
@@ -1226,7 +1226,7 @@
|
|
|
1226
1226
|
while (true);
|
|
1227
1227
|
};
|
|
1228
1228
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1229
|
-
this.
|
|
1229
|
+
this.paz_1 = $$this$unsafeFlow;
|
|
1230
1230
|
CoroutineImpl.call(this, resultContinuation);
|
|
1231
1231
|
}
|
|
1232
1232
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).c2k = function (value, $completion) {
|
|
@@ -1246,8 +1246,8 @@
|
|
|
1246
1246
|
switch (tmp) {
|
|
1247
1247
|
case 0:
|
|
1248
1248
|
this.j9_1 = 2;
|
|
1249
|
-
var tmp0 = this.
|
|
1250
|
-
var value = this.
|
|
1249
|
+
var tmp0 = this.paz_1;
|
|
1250
|
+
var value = this.qaz_1;
|
|
1251
1251
|
this.i9_1 = 1;
|
|
1252
1252
|
suspendResult = tmp0.t2a(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1253
1253
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1272,8 +1272,8 @@
|
|
|
1272
1272
|
while (true);
|
|
1273
1273
|
};
|
|
1274
1274
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2k = function (value, completion) {
|
|
1275
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1276
|
-
i.
|
|
1275
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.paz_1, completion);
|
|
1276
|
+
i.qaz_1 = value;
|
|
1277
1277
|
return i;
|
|
1278
1278
|
};
|
|
1279
1279
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1286,8 +1286,8 @@
|
|
|
1286
1286
|
}
|
|
1287
1287
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1288
1288
|
CoroutineImpl.call(this, resultContinuation);
|
|
1289
|
-
this.
|
|
1290
|
-
this.
|
|
1289
|
+
this.zaz_1 = _this__u8e3s4;
|
|
1290
|
+
this.ab0_1 = collector;
|
|
1291
1291
|
}
|
|
1292
1292
|
protoOf($collectCOROUTINE$_3).q9 = function () {
|
|
1293
1293
|
var suspendResult = this.k9_1;
|
|
@@ -1297,10 +1297,10 @@
|
|
|
1297
1297
|
switch (tmp) {
|
|
1298
1298
|
case 0:
|
|
1299
1299
|
this.j9_1 = 2;
|
|
1300
|
-
var $this$unsafeFlow = this.
|
|
1300
|
+
var $this$unsafeFlow = this.ab0_1;
|
|
1301
1301
|
this.i9_1 = 1;
|
|
1302
1302
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1303
|
-
suspendResult = this.
|
|
1303
|
+
suspendResult = this.zaz_1.bb0_1.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1304
1304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1305
1305
|
return suspendResult;
|
|
1306
1306
|
}
|
|
@@ -1323,7 +1323,7 @@
|
|
|
1323
1323
|
while (true);
|
|
1324
1324
|
};
|
|
1325
1325
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1326
|
-
this.
|
|
1326
|
+
this.kb0_1 = $$this$unsafeFlow;
|
|
1327
1327
|
CoroutineImpl.call(this, resultContinuation);
|
|
1328
1328
|
}
|
|
1329
1329
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).c2k = function (value, $completion) {
|
|
@@ -1343,8 +1343,8 @@
|
|
|
1343
1343
|
switch (tmp) {
|
|
1344
1344
|
case 0:
|
|
1345
1345
|
this.j9_1 = 2;
|
|
1346
|
-
var tmp0 = this.
|
|
1347
|
-
var value = this.
|
|
1346
|
+
var tmp0 = this.kb0_1;
|
|
1347
|
+
var value = this.lb0_1;
|
|
1348
1348
|
this.i9_1 = 1;
|
|
1349
1349
|
suspendResult = tmp0.t2a(value.second, this);
|
|
1350
1350
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1369,8 +1369,8 @@
|
|
|
1369
1369
|
while (true);
|
|
1370
1370
|
};
|
|
1371
1371
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2k = function (value, completion) {
|
|
1372
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1373
|
-
i.
|
|
1372
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.kb0_1, completion);
|
|
1373
|
+
i.lb0_1 = value;
|
|
1374
1374
|
return i;
|
|
1375
1375
|
};
|
|
1376
1376
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1383,8 +1383,8 @@
|
|
|
1383
1383
|
}
|
|
1384
1384
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1385
1385
|
CoroutineImpl.call(this, resultContinuation);
|
|
1386
|
-
this.
|
|
1387
|
-
this.
|
|
1386
|
+
this.ub0_1 = _this__u8e3s4;
|
|
1387
|
+
this.vb0_1 = collector;
|
|
1388
1388
|
}
|
|
1389
1389
|
protoOf($collectCOROUTINE$_4).q9 = function () {
|
|
1390
1390
|
var suspendResult = this.k9_1;
|
|
@@ -1394,10 +1394,10 @@
|
|
|
1394
1394
|
switch (tmp) {
|
|
1395
1395
|
case 0:
|
|
1396
1396
|
this.j9_1 = 2;
|
|
1397
|
-
var $this$unsafeFlow = this.
|
|
1397
|
+
var $this$unsafeFlow = this.vb0_1;
|
|
1398
1398
|
this.i9_1 = 1;
|
|
1399
1399
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1400
|
-
suspendResult = this.
|
|
1400
|
+
suspendResult = this.ub0_1.wb0_1.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1401
1401
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1402
1402
|
return suspendResult;
|
|
1403
1403
|
}
|
|
@@ -1420,17 +1420,17 @@
|
|
|
1420
1420
|
while (true);
|
|
1421
1421
|
};
|
|
1422
1422
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1423
|
-
this.
|
|
1423
|
+
this.fb1_1 = $subscriber;
|
|
1424
1424
|
CoroutineImpl.call(this, resultContinuation);
|
|
1425
1425
|
}
|
|
1426
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1427
|
-
var tmp = this.
|
|
1426
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).hb1 = function (it, $completion) {
|
|
1427
|
+
var tmp = this.ib1(it, $completion);
|
|
1428
1428
|
tmp.k9_1 = Unit_instance;
|
|
1429
1429
|
tmp.l9_1 = null;
|
|
1430
1430
|
return tmp.q9();
|
|
1431
1431
|
};
|
|
1432
1432
|
protoOf(GameServer$subscribeWith$slambda$slambda).ca = function (p1, $completion) {
|
|
1433
|
-
return this.
|
|
1433
|
+
return this.hb1(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1434
1434
|
};
|
|
1435
1435
|
protoOf(GameServer$subscribeWith$slambda$slambda).q9 = function () {
|
|
1436
1436
|
var suspendResult = this.k9_1;
|
|
@@ -1439,7 +1439,7 @@
|
|
|
1439
1439
|
var tmp = this.i9_1;
|
|
1440
1440
|
if (tmp === 0) {
|
|
1441
1441
|
this.j9_1 = 1;
|
|
1442
|
-
this.
|
|
1442
|
+
this.fb1_1(this.gb1_1);
|
|
1443
1443
|
return Unit_instance;
|
|
1444
1444
|
} else if (tmp === 1) {
|
|
1445
1445
|
throw this.l9_1;
|
|
@@ -1450,98 +1450,98 @@
|
|
|
1450
1450
|
}
|
|
1451
1451
|
while (true);
|
|
1452
1452
|
};
|
|
1453
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1454
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1455
|
-
i.
|
|
1453
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).ib1 = function (it, completion) {
|
|
1454
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.fb1_1, completion);
|
|
1455
|
+
i.gb1_1 = it;
|
|
1456
1456
|
return i;
|
|
1457
1457
|
};
|
|
1458
1458
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1459
1459
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1460
1460
|
var l = function (it, $completion) {
|
|
1461
|
-
return i.
|
|
1461
|
+
return i.hb1(it, $completion);
|
|
1462
1462
|
};
|
|
1463
1463
|
l.$arity = 1;
|
|
1464
1464
|
return l;
|
|
1465
1465
|
}
|
|
1466
1466
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1467
|
-
var tmp0 = $this.
|
|
1467
|
+
var tmp0 = $this.nb1_1;
|
|
1468
1468
|
var tmp = KProperty1;
|
|
1469
1469
|
// Inline function 'kotlin.getValue' call
|
|
1470
1470
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1471
1471
|
return tmp0.o1();
|
|
1472
1472
|
}
|
|
1473
1473
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1474
|
-
var tmp0 = $this.
|
|
1474
|
+
var tmp0 = $this.ob1_1;
|
|
1475
1475
|
var tmp = KProperty1;
|
|
1476
1476
|
// Inline function 'kotlin.getValue' call
|
|
1477
1477
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1478
1478
|
return tmp0.o1();
|
|
1479
1479
|
}
|
|
1480
1480
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1481
|
-
var tmp0 = $this.
|
|
1481
|
+
var tmp0 = $this.pb1_1;
|
|
1482
1482
|
var tmp = KProperty1;
|
|
1483
1483
|
// Inline function 'kotlin.getValue' call
|
|
1484
1484
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1485
1485
|
return tmp0.o1();
|
|
1486
1486
|
}
|
|
1487
1487
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1488
|
-
var tmp0 = $this.
|
|
1488
|
+
var tmp0 = $this.qb1_1;
|
|
1489
1489
|
var tmp = KProperty1;
|
|
1490
1490
|
// Inline function 'kotlin.getValue' call
|
|
1491
1491
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1492
1492
|
return tmp0.o1();
|
|
1493
1493
|
}
|
|
1494
1494
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1495
|
-
var tmp0 = $this.
|
|
1495
|
+
var tmp0 = $this.rb1_1;
|
|
1496
1496
|
var tmp = KProperty1;
|
|
1497
1497
|
// Inline function 'kotlin.getValue' call
|
|
1498
1498
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1499
1499
|
return tmp0.o1();
|
|
1500
1500
|
}
|
|
1501
1501
|
function _get_random__h29cgo($this) {
|
|
1502
|
-
var tmp0 = $this.
|
|
1502
|
+
var tmp0 = $this.sb1_1;
|
|
1503
1503
|
var tmp = KProperty1;
|
|
1504
1504
|
// Inline function 'kotlin.getValue' call
|
|
1505
1505
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1506
1506
|
return tmp0.o1();
|
|
1507
1507
|
}
|
|
1508
1508
|
function _get_idsProvider__fnfajc($this) {
|
|
1509
|
-
var tmp0 = $this.
|
|
1509
|
+
var tmp0 = $this.tb1_1;
|
|
1510
1510
|
var tmp = KProperty1;
|
|
1511
1511
|
// Inline function 'kotlin.getValue' call
|
|
1512
1512
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1513
1513
|
return tmp0.o1();
|
|
1514
1514
|
}
|
|
1515
1515
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1516
|
-
var tmp0 = $this.
|
|
1516
|
+
var tmp0 = $this.ub1_1;
|
|
1517
1517
|
var tmp = KProperty1;
|
|
1518
1518
|
// Inline function 'kotlin.getValue' call
|
|
1519
1519
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1520
1520
|
return tmp0.o1();
|
|
1521
1521
|
}
|
|
1522
1522
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1523
|
-
var tmp0 = $this.
|
|
1523
|
+
var tmp0 = $this.vb1_1;
|
|
1524
1524
|
var tmp = KProperty1;
|
|
1525
1525
|
// Inline function 'kotlin.getValue' call
|
|
1526
1526
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1527
1527
|
return tmp0.o1();
|
|
1528
1528
|
}
|
|
1529
1529
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1530
|
-
var tmp0 = $this.
|
|
1530
|
+
var tmp0 = $this.wb1_1;
|
|
1531
1531
|
var tmp = KProperty1;
|
|
1532
1532
|
// Inline function 'kotlin.getValue' call
|
|
1533
1533
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1534
1534
|
return tmp0.o1();
|
|
1535
1535
|
}
|
|
1536
1536
|
function _get_leaguesConfig__hvzxf9($this) {
|
|
1537
|
-
var tmp0 = $this.
|
|
1537
|
+
var tmp0 = $this.xb1_1;
|
|
1538
1538
|
var tmp = KProperty1;
|
|
1539
1539
|
// Inline function 'kotlin.getValue' call
|
|
1540
1540
|
getPropertyCallableRef('leaguesConfig', 1, tmp, GameServer$_get_leaguesConfig_$ref_fi951n_0(), null);
|
|
1541
1541
|
return tmp0.o1();
|
|
1542
1542
|
}
|
|
1543
1543
|
function _get_botChatInteractor__17f3on($this) {
|
|
1544
|
-
var tmp0 = $this.
|
|
1544
|
+
var tmp0 = $this.yb1_1;
|
|
1545
1545
|
var tmp = KProperty1;
|
|
1546
1546
|
// Inline function 'kotlin.getValue' call
|
|
1547
1547
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1577,7 +1577,7 @@
|
|
|
1577
1577
|
var player = getPlayer(table.players, playerId);
|
|
1578
1578
|
var tmp;
|
|
1579
1579
|
if (_get_engineLogicConfig__l11qpf($this).updateRating) {
|
|
1580
|
-
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).
|
|
1580
|
+
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).c9v(player, table.players, table.config, table.gameDuration, table.isGameFinished, VOID, _get_leaguesConfig__hvzxf9($this));
|
|
1581
1581
|
var tmp_0;
|
|
1582
1582
|
if (tmp0_safe_receiver == null) {
|
|
1583
1583
|
tmp_0 = null;
|
|
@@ -1640,7 +1640,7 @@
|
|
|
1640
1640
|
var tmp$ret$3 = new GameServer$preserveTeams$previousTeams$1(item);
|
|
1641
1641
|
destination.e1(tmp$ret$3);
|
|
1642
1642
|
}
|
|
1643
|
-
var previousTeams = tmp.
|
|
1643
|
+
var previousTeams = tmp.r9m(destination);
|
|
1644
1644
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1645
1645
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1646
1646
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
@@ -1671,23 +1671,23 @@
|
|
|
1671
1671
|
destination_1.e1(destination_2);
|
|
1672
1672
|
}
|
|
1673
1673
|
var updatedTeams = destination_1;
|
|
1674
|
-
return _get_teamsLogicProvider__u10pm6($this).
|
|
1674
|
+
return _get_teamsLogicProvider__u10pm6($this).s9m(updatedTeams);
|
|
1675
1675
|
}
|
|
1676
1676
|
function Companion() {
|
|
1677
|
-
this.
|
|
1677
|
+
this.ab2_1 = 'GameEngine_API';
|
|
1678
1678
|
}
|
|
1679
1679
|
var Companion_instance_10;
|
|
1680
1680
|
function Companion_getInstance_0() {
|
|
1681
1681
|
return Companion_instance_10;
|
|
1682
1682
|
}
|
|
1683
1683
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1684
|
-
this.
|
|
1684
|
+
this.bb2_1 = function_0;
|
|
1685
1685
|
}
|
|
1686
1686
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t2a = function (value, $completion) {
|
|
1687
|
-
return this.
|
|
1687
|
+
return this.bb2_1(value, $completion);
|
|
1688
1688
|
};
|
|
1689
1689
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
1690
|
-
return this.
|
|
1690
|
+
return this.bb2_1;
|
|
1691
1691
|
};
|
|
1692
1692
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1693
1693
|
var tmp;
|
|
@@ -1708,13 +1708,13 @@
|
|
|
1708
1708
|
return hashCode(this.s3());
|
|
1709
1709
|
};
|
|
1710
1710
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1711
|
-
this.
|
|
1711
|
+
this.cb2_1 = function_0;
|
|
1712
1712
|
}
|
|
1713
1713
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t2a = function (value, $completion) {
|
|
1714
|
-
return this.
|
|
1714
|
+
return this.cb2_1(value, $completion);
|
|
1715
1715
|
};
|
|
1716
1716
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
1717
|
-
return this.
|
|
1717
|
+
return this.cb2_1;
|
|
1718
1718
|
};
|
|
1719
1719
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1720
1720
|
var tmp;
|
|
@@ -1735,13 +1735,13 @@
|
|
|
1735
1735
|
return hashCode(this.s3());
|
|
1736
1736
|
};
|
|
1737
1737
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1738
|
-
this.
|
|
1738
|
+
this.db2_1 = function_0;
|
|
1739
1739
|
}
|
|
1740
1740
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).t2a = function (value, $completion) {
|
|
1741
|
-
return this.
|
|
1741
|
+
return this.db2_1(value, $completion);
|
|
1742
1742
|
};
|
|
1743
1743
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).s3 = function () {
|
|
1744
|
-
return this.
|
|
1744
|
+
return this.db2_1;
|
|
1745
1745
|
};
|
|
1746
1746
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1747
1747
|
var tmp;
|
|
@@ -1762,13 +1762,13 @@
|
|
|
1762
1762
|
return hashCode(this.s3());
|
|
1763
1763
|
};
|
|
1764
1764
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1765
|
-
this.
|
|
1765
|
+
this.eb2_1 = function_0;
|
|
1766
1766
|
}
|
|
1767
1767
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).t2a = function (value, $completion) {
|
|
1768
|
-
return this.
|
|
1768
|
+
return this.eb2_1(value, $completion);
|
|
1769
1769
|
};
|
|
1770
1770
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).s3 = function () {
|
|
1771
|
-
return this.
|
|
1771
|
+
return this.eb2_1;
|
|
1772
1772
|
};
|
|
1773
1773
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1774
1774
|
var tmp;
|
|
@@ -1789,13 +1789,13 @@
|
|
|
1789
1789
|
return hashCode(this.s3());
|
|
1790
1790
|
};
|
|
1791
1791
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1792
|
-
this.
|
|
1792
|
+
this.fb2_1 = function_0;
|
|
1793
1793
|
}
|
|
1794
1794
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).t2a = function (value, $completion) {
|
|
1795
|
-
return this.
|
|
1795
|
+
return this.fb2_1(value, $completion);
|
|
1796
1796
|
};
|
|
1797
1797
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).s3 = function () {
|
|
1798
|
-
return this.
|
|
1798
|
+
return this.fb2_1;
|
|
1799
1799
|
};
|
|
1800
1800
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1801
1801
|
var tmp;
|
|
@@ -1816,13 +1816,13 @@
|
|
|
1816
1816
|
return hashCode(this.s3());
|
|
1817
1817
|
};
|
|
1818
1818
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1819
|
-
this.
|
|
1819
|
+
this.gb2_1 = function_0;
|
|
1820
1820
|
}
|
|
1821
1821
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).t2a = function (value, $completion) {
|
|
1822
|
-
return this.
|
|
1822
|
+
return this.gb2_1(value, $completion);
|
|
1823
1823
|
};
|
|
1824
1824
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).s3 = function () {
|
|
1825
|
-
return this.
|
|
1825
|
+
return this.gb2_1;
|
|
1826
1826
|
};
|
|
1827
1827
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1828
1828
|
var tmp;
|
|
@@ -1963,8 +1963,8 @@
|
|
|
1963
1963
|
};
|
|
1964
1964
|
}
|
|
1965
1965
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1966
|
+
this.pb2_1 = this$0;
|
|
1967
|
+
this.qb2_1 = $subscriber;
|
|
1968
1968
|
CoroutineImpl.call(this, resultContinuation);
|
|
1969
1969
|
}
|
|
1970
1970
|
protoOf(GameServer$subscribeToClientAction$slambda).h2f = function ($this$launchDefault, $completion) {
|
|
@@ -1985,8 +1985,8 @@
|
|
|
1985
1985
|
case 0:
|
|
1986
1986
|
this.j9_1 = 2;
|
|
1987
1987
|
this.i9_1 = 1;
|
|
1988
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1989
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1988
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.pb2_1).sb2();
|
|
1989
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.qb2_1, null);
|
|
1990
1990
|
suspendResult = tmp_0.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1991
1991
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1992
1992
|
return suspendResult;
|
|
@@ -2010,8 +2010,8 @@
|
|
|
2010
2010
|
while (true);
|
|
2011
2011
|
};
|
|
2012
2012
|
protoOf(GameServer$subscribeToClientAction$slambda).i2f = function ($this$launchDefault, completion) {
|
|
2013
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
2014
|
-
i.
|
|
2013
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.pb2_1, this.qb2_1, completion);
|
|
2014
|
+
i.rb2_1 = $this$launchDefault;
|
|
2015
2015
|
return i;
|
|
2016
2016
|
};
|
|
2017
2017
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2023,8 +2023,8 @@
|
|
|
2023
2023
|
return l;
|
|
2024
2024
|
}
|
|
2025
2025
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
2026
|
-
this.
|
|
2027
|
-
this.
|
|
2026
|
+
this.bb3_1 = this$0;
|
|
2027
|
+
this.cb3_1 = $subscriber;
|
|
2028
2028
|
CoroutineImpl.call(this, resultContinuation);
|
|
2029
2029
|
}
|
|
2030
2030
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).h2f = function ($this$launchDefault, $completion) {
|
|
@@ -2045,8 +2045,8 @@
|
|
|
2045
2045
|
case 0:
|
|
2046
2046
|
this.j9_1 = 2;
|
|
2047
2047
|
this.i9_1 = 1;
|
|
2048
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2049
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2048
|
+
var tmp_0 = observeTableStateUpdates(this.bb3_1);
|
|
2049
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.cb3_1, null);
|
|
2050
2050
|
suspendResult = tmp_0.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2051
2051
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2052
2052
|
return suspendResult;
|
|
@@ -2070,8 +2070,8 @@
|
|
|
2070
2070
|
while (true);
|
|
2071
2071
|
};
|
|
2072
2072
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).i2f = function ($this$launchDefault, completion) {
|
|
2073
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2074
|
-
i.
|
|
2073
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.bb3_1, this.cb3_1, completion);
|
|
2074
|
+
i.db3_1 = $this$launchDefault;
|
|
2075
2075
|
return i;
|
|
2076
2076
|
};
|
|
2077
2077
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2083,8 +2083,8 @@
|
|
|
2083
2083
|
return l;
|
|
2084
2084
|
}
|
|
2085
2085
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2086
|
-
this.
|
|
2087
|
-
this.
|
|
2086
|
+
this.mb3_1 = this$0;
|
|
2087
|
+
this.nb3_1 = $subscriber;
|
|
2088
2088
|
CoroutineImpl.call(this, resultContinuation);
|
|
2089
2089
|
}
|
|
2090
2090
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).h2f = function ($this$launchDefault, $completion) {
|
|
@@ -2105,9 +2105,9 @@
|
|
|
2105
2105
|
case 0:
|
|
2106
2106
|
this.j9_1 = 2;
|
|
2107
2107
|
this.i9_1 = 1;
|
|
2108
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2109
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2110
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2108
|
+
var this_0 = observeTableStateUpdates(this.mb3_1);
|
|
2109
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.mb3_1);
|
|
2110
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.nb3_1, null);
|
|
2111
2111
|
suspendResult = tmp_0.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2112
2112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2113
2113
|
return suspendResult;
|
|
@@ -2131,8 +2131,8 @@
|
|
|
2131
2131
|
while (true);
|
|
2132
2132
|
};
|
|
2133
2133
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).i2f = function ($this$launchDefault, completion) {
|
|
2134
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2135
|
-
i.
|
|
2134
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.mb3_1, this.nb3_1, completion);
|
|
2135
|
+
i.ob3_1 = $this$launchDefault;
|
|
2136
2136
|
return i;
|
|
2137
2137
|
};
|
|
2138
2138
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2144,8 +2144,8 @@
|
|
|
2144
2144
|
return l;
|
|
2145
2145
|
}
|
|
2146
2146
|
function GameServer$getServerTableState$slambda(this$0, $callback, resultContinuation) {
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2147
|
+
this.xb3_1 = this$0;
|
|
2148
|
+
this.yb3_1 = $callback;
|
|
2149
2149
|
CoroutineImpl.call(this, resultContinuation);
|
|
2150
2150
|
}
|
|
2151
2151
|
protoOf(GameServer$getServerTableState$slambda).h2f = function ($this$launchDefault, $completion) {
|
|
@@ -2164,11 +2164,11 @@
|
|
|
2164
2164
|
var tmp = this.i9_1;
|
|
2165
2165
|
if (tmp === 0) {
|
|
2166
2166
|
this.j9_1 = 1;
|
|
2167
|
-
if (!this.
|
|
2167
|
+
if (!this.xb3_1.isTableExists) {
|
|
2168
2168
|
return Unit_instance;
|
|
2169
2169
|
}
|
|
2170
|
-
var dto = mapToDto_3(new TableStateUpdate(this.
|
|
2171
|
-
this.
|
|
2170
|
+
var dto = mapToDto_3(new TableStateUpdate(this.xb3_1.table.id, this.xb3_1.table), _get_encoderDecoderProvider__qqgrji(this.xb3_1));
|
|
2171
|
+
this.yb3_1(dto);
|
|
2172
2172
|
return Unit_instance;
|
|
2173
2173
|
} else if (tmp === 1) {
|
|
2174
2174
|
throw this.l9_1;
|
|
@@ -2180,8 +2180,8 @@
|
|
|
2180
2180
|
while (true);
|
|
2181
2181
|
};
|
|
2182
2182
|
protoOf(GameServer$getServerTableState$slambda).i2f = function ($this$launchDefault, completion) {
|
|
2183
|
-
var i = new GameServer$getServerTableState$slambda(this.
|
|
2184
|
-
i.
|
|
2183
|
+
var i = new GameServer$getServerTableState$slambda(this.xb3_1, this.yb3_1, completion);
|
|
2184
|
+
i.zb3_1 = $this$launchDefault;
|
|
2185
2185
|
return i;
|
|
2186
2186
|
};
|
|
2187
2187
|
function GameServer$getServerTableState$slambda_0(this$0, $callback, resultContinuation) {
|
|
@@ -2193,18 +2193,18 @@
|
|
|
2193
2193
|
return l;
|
|
2194
2194
|
}
|
|
2195
2195
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2196
|
-
this.
|
|
2196
|
+
this.ib4_1 = this$0;
|
|
2197
2197
|
CoroutineImpl.call(this, resultContinuation);
|
|
2198
2198
|
}
|
|
2199
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2200
|
-
var tmp = this.
|
|
2199
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).lb4 = function ($this$transformLatest, it, $completion) {
|
|
2200
|
+
var tmp = this.mb4($this$transformLatest, it, $completion);
|
|
2201
2201
|
tmp.k9_1 = Unit_instance;
|
|
2202
2202
|
tmp.l9_1 = null;
|
|
2203
2203
|
return tmp.q9();
|
|
2204
2204
|
};
|
|
2205
2205
|
protoOf(GameServer$observeTableStateUpdates$slambda).da = function (p1, p2, $completion) {
|
|
2206
2206
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2207
|
-
return this.
|
|
2207
|
+
return this.lb4(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2208
2208
|
};
|
|
2209
2209
|
protoOf(GameServer$observeTableStateUpdates$slambda).q9 = function () {
|
|
2210
2210
|
var suspendResult = this.k9_1;
|
|
@@ -2215,8 +2215,8 @@
|
|
|
2215
2215
|
case 0:
|
|
2216
2216
|
this.j9_1 = 2;
|
|
2217
2217
|
this.i9_1 = 1;
|
|
2218
|
-
var table = this.
|
|
2219
|
-
suspendResult = emitAll(this.
|
|
2218
|
+
var table = this.kb4_1;
|
|
2219
|
+
suspendResult = emitAll(this.jb4_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.ib4_1, null)), this);
|
|
2220
2220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2221
2221
|
return suspendResult;
|
|
2222
2222
|
}
|
|
@@ -2238,23 +2238,23 @@
|
|
|
2238
2238
|
}
|
|
2239
2239
|
while (true);
|
|
2240
2240
|
};
|
|
2241
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2242
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2243
|
-
i.
|
|
2244
|
-
i.
|
|
2241
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).mb4 = function ($this$transformLatest, it, completion) {
|
|
2242
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.ib4_1, completion);
|
|
2243
|
+
i.jb4_1 = $this$transformLatest;
|
|
2244
|
+
i.kb4_1 = it;
|
|
2245
2245
|
return i;
|
|
2246
2246
|
};
|
|
2247
2247
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2248
2248
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2249
2249
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2250
|
-
return i.
|
|
2250
|
+
return i.lb4($this$transformLatest, it, $completion);
|
|
2251
2251
|
};
|
|
2252
2252
|
l.$arity = 2;
|
|
2253
2253
|
return l;
|
|
2254
2254
|
}
|
|
2255
2255
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2256
|
-
this.
|
|
2257
|
-
this.
|
|
2256
|
+
this.gay_1 = $this;
|
|
2257
|
+
this.hay_1 = this$0;
|
|
2258
2258
|
}
|
|
2259
2259
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).u2a = function (collector, $completion) {
|
|
2260
2260
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2266,7 +2266,7 @@
|
|
|
2266
2266
|
return this.u2a(collector, $completion);
|
|
2267
2267
|
};
|
|
2268
2268
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2269
|
-
this.
|
|
2269
|
+
this.gaz_1 = $this;
|
|
2270
2270
|
}
|
|
2271
2271
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).u2a = function (collector, $completion) {
|
|
2272
2272
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
return this.u2a(collector, $completion);
|
|
2279
2279
|
};
|
|
2280
2280
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2281
|
-
this.
|
|
2281
|
+
this.bb0_1 = $this;
|
|
2282
2282
|
}
|
|
2283
2283
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).u2a = function (collector, $completion) {
|
|
2284
2284
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2293,7 +2293,7 @@
|
|
|
2293
2293
|
return old.first === new_0.first;
|
|
2294
2294
|
}
|
|
2295
2295
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2296
|
-
this.
|
|
2296
|
+
this.wb0_1 = $this;
|
|
2297
2297
|
}
|
|
2298
2298
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).u2a = function (collector, $completion) {
|
|
2299
2299
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2305,8 +2305,8 @@
|
|
|
2305
2305
|
return this.u2a(collector, $completion);
|
|
2306
2306
|
};
|
|
2307
2307
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2308
|
-
this.
|
|
2309
|
-
this.
|
|
2308
|
+
this.vb4_1 = this$0;
|
|
2309
|
+
this.wb4_1 = $subscriber;
|
|
2310
2310
|
CoroutineImpl.call(this, resultContinuation);
|
|
2311
2311
|
}
|
|
2312
2312
|
protoOf(GameServer$subscribeWith$slambda).h2f = function ($this$launchDefault, $completion) {
|
|
@@ -2327,8 +2327,8 @@
|
|
|
2327
2327
|
case 0:
|
|
2328
2328
|
this.j9_1 = 2;
|
|
2329
2329
|
this.i9_1 = 1;
|
|
2330
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2331
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2330
|
+
var tmp_0 = distinctUntilChanged(this.vb4_1.l7j());
|
|
2331
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.wb4_1, null);
|
|
2332
2332
|
suspendResult = tmp_0.t29(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2333
2333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2334
2334
|
return suspendResult;
|
|
@@ -2352,8 +2352,8 @@
|
|
|
2352
2352
|
while (true);
|
|
2353
2353
|
};
|
|
2354
2354
|
protoOf(GameServer$subscribeWith$slambda).i2f = function ($this$launchDefault, completion) {
|
|
2355
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2356
|
-
i.
|
|
2355
|
+
var i = new GameServer$subscribeWith$slambda(this.vb4_1, this.wb4_1, completion);
|
|
2356
|
+
i.xb4_1 = $this$launchDefault;
|
|
2357
2357
|
return i;
|
|
2358
2358
|
};
|
|
2359
2359
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2365,18 +2365,18 @@
|
|
|
2365
2365
|
return l;
|
|
2366
2366
|
}
|
|
2367
2367
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2368
|
-
this.
|
|
2368
|
+
this.gb5_1 = $action;
|
|
2369
2369
|
CoroutineImpl.call(this, resultContinuation);
|
|
2370
2370
|
}
|
|
2371
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2372
|
-
var tmp = this.
|
|
2371
|
+
protoOf(GameServer$fromClientEvent$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2372
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2373
2373
|
tmp.k9_1 = Unit_instance;
|
|
2374
2374
|
tmp.l9_1 = null;
|
|
2375
2375
|
return tmp.q9();
|
|
2376
2376
|
};
|
|
2377
2377
|
protoOf(GameServer$fromClientEvent$slambda).da = function (p1, p2, $completion) {
|
|
2378
2378
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2379
|
-
return this.
|
|
2379
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2380
2380
|
};
|
|
2381
2381
|
protoOf(GameServer$fromClientEvent$slambda).q9 = function () {
|
|
2382
2382
|
var suspendResult = this.k9_1;
|
|
@@ -2385,11 +2385,11 @@
|
|
|
2385
2385
|
var tmp = this.i9_1;
|
|
2386
2386
|
if (tmp === 0) {
|
|
2387
2387
|
this.j9_1 = 1;
|
|
2388
|
-
if (this.
|
|
2389
|
-
if (!get_isCreated(this.
|
|
2388
|
+
if (this.gb5_1 instanceof PlayerReadyFromClientAction)
|
|
2389
|
+
if (!get_isCreated(this.ib5_1.state)) {
|
|
2390
2390
|
return Unit_instance;
|
|
2391
2391
|
}
|
|
2392
|
-
this.
|
|
2392
|
+
this.ib5_1.dispatch(this.gb5_1);
|
|
2393
2393
|
return Unit_instance;
|
|
2394
2394
|
} else if (tmp === 1) {
|
|
2395
2395
|
throw this.l9_1;
|
|
@@ -2400,34 +2400,34 @@
|
|
|
2400
2400
|
}
|
|
2401
2401
|
while (true);
|
|
2402
2402
|
};
|
|
2403
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2404
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2405
|
-
i.
|
|
2406
|
-
i.
|
|
2403
|
+
protoOf(GameServer$fromClientEvent$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2404
|
+
var i = new GameServer$fromClientEvent$slambda(this.gb5_1, completion);
|
|
2405
|
+
i.hb5_1 = $this$dispatchAsync;
|
|
2406
|
+
i.ib5_1 = store;
|
|
2407
2407
|
return i;
|
|
2408
2408
|
};
|
|
2409
2409
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2410
2410
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2411
2411
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2412
|
-
return i.
|
|
2412
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2413
2413
|
};
|
|
2414
2414
|
l.$arity = 2;
|
|
2415
2415
|
return l;
|
|
2416
2416
|
}
|
|
2417
2417
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2418
|
-
this.
|
|
2419
|
-
this.
|
|
2418
|
+
this.tb5_1 = $playerId;
|
|
2419
|
+
this.ub5_1 = $roomId;
|
|
2420
2420
|
CoroutineImpl.call(this, resultContinuation);
|
|
2421
2421
|
}
|
|
2422
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2423
|
-
var tmp = this.
|
|
2422
|
+
protoOf(GameServer$playerLostConnection$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2423
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2424
2424
|
tmp.k9_1 = Unit_instance;
|
|
2425
2425
|
tmp.l9_1 = null;
|
|
2426
2426
|
return tmp.q9();
|
|
2427
2427
|
};
|
|
2428
2428
|
protoOf(GameServer$playerLostConnection$slambda).da = function (p1, p2, $completion) {
|
|
2429
2429
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2430
|
-
return this.
|
|
2430
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2431
2431
|
};
|
|
2432
2432
|
protoOf(GameServer$playerLostConnection$slambda).q9 = function () {
|
|
2433
2433
|
var suspendResult = this.k9_1;
|
|
@@ -2436,12 +2436,12 @@
|
|
|
2436
2436
|
var tmp = this.i9_1;
|
|
2437
2437
|
if (tmp === 0) {
|
|
2438
2438
|
this.j9_1 = 1;
|
|
2439
|
-
if (!get_isCreated(this.
|
|
2439
|
+
if (!get_isCreated(this.wb5_1.state)) {
|
|
2440
2440
|
return Unit_instance;
|
|
2441
2441
|
}
|
|
2442
|
-
var tmp_0 = this.
|
|
2442
|
+
var tmp_0 = this.wb5_1.dispatch;
|
|
2443
2443
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2444
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2444
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.tb5_1, this.ub5_1));
|
|
2445
2445
|
return Unit_instance;
|
|
2446
2446
|
} else if (tmp === 1) {
|
|
2447
2447
|
throw this.l9_1;
|
|
@@ -2452,35 +2452,35 @@
|
|
|
2452
2452
|
}
|
|
2453
2453
|
while (true);
|
|
2454
2454
|
};
|
|
2455
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2456
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2457
|
-
i.
|
|
2458
|
-
i.
|
|
2455
|
+
protoOf(GameServer$playerLostConnection$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2456
|
+
var i = new GameServer$playerLostConnection$slambda(this.tb5_1, this.ub5_1, completion);
|
|
2457
|
+
i.vb5_1 = $this$dispatchAsync;
|
|
2458
|
+
i.wb5_1 = store;
|
|
2459
2459
|
return i;
|
|
2460
2460
|
};
|
|
2461
2461
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2462
2462
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2463
2463
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2464
|
-
return i.
|
|
2464
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2465
2465
|
};
|
|
2466
2466
|
l.$arity = 2;
|
|
2467
2467
|
return l;
|
|
2468
2468
|
}
|
|
2469
2469
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2470
|
-
this.
|
|
2471
|
-
this.
|
|
2472
|
-
this.
|
|
2470
|
+
this.fb6_1 = this$0;
|
|
2471
|
+
this.gb6_1 = $playerId;
|
|
2472
|
+
this.hb6_1 = $roomId;
|
|
2473
2473
|
CoroutineImpl.call(this, resultContinuation);
|
|
2474
2474
|
}
|
|
2475
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2476
|
-
var tmp = this.
|
|
2475
|
+
protoOf(GameServer$playerLive$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2476
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2477
2477
|
tmp.k9_1 = Unit_instance;
|
|
2478
2478
|
tmp.l9_1 = null;
|
|
2479
2479
|
return tmp.q9();
|
|
2480
2480
|
};
|
|
2481
2481
|
protoOf(GameServer$playerLive$slambda).da = function (p1, p2, $completion) {
|
|
2482
2482
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2483
|
-
return this.
|
|
2483
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2484
2484
|
};
|
|
2485
2485
|
protoOf(GameServer$playerLive$slambda).q9 = function () {
|
|
2486
2486
|
var suspendResult = this.k9_1;
|
|
@@ -2489,16 +2489,16 @@
|
|
|
2489
2489
|
var tmp = this.i9_1;
|
|
2490
2490
|
if (tmp === 0) {
|
|
2491
2491
|
this.j9_1 = 1;
|
|
2492
|
-
if (get_isFinished(this.
|
|
2492
|
+
if (get_isFinished(this.jb6_1.state) || get_isFinishing(this.jb6_1.state)) {
|
|
2493
2493
|
return Unit_instance;
|
|
2494
2494
|
}
|
|
2495
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2496
|
-
this.
|
|
2495
|
+
if (!_get_serverReduxConfig__rprcrm(this.fb6_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.jb6_1.state) || !this.fb6_1.m6y().o7k())) {
|
|
2496
|
+
this.fb6_1.s5a().v('GameEngine_API', 'playerLive: ' + this.gb6_1 + ' before game is created');
|
|
2497
2497
|
return Unit_instance;
|
|
2498
2498
|
}
|
|
2499
|
-
var tmp_0 = this.
|
|
2499
|
+
var tmp_0 = this.jb6_1.dispatch;
|
|
2500
2500
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2501
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2501
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.gb6_1, this.hb6_1));
|
|
2502
2502
|
return Unit_instance;
|
|
2503
2503
|
} else if (tmp === 1) {
|
|
2504
2504
|
throw this.l9_1;
|
|
@@ -2509,36 +2509,36 @@
|
|
|
2509
2509
|
}
|
|
2510
2510
|
while (true);
|
|
2511
2511
|
};
|
|
2512
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2513
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2514
|
-
i.
|
|
2515
|
-
i.
|
|
2512
|
+
protoOf(GameServer$playerLive$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2513
|
+
var i = new GameServer$playerLive$slambda(this.fb6_1, this.gb6_1, this.hb6_1, completion);
|
|
2514
|
+
i.ib6_1 = $this$dispatchAsync;
|
|
2515
|
+
i.jb6_1 = store;
|
|
2516
2516
|
return i;
|
|
2517
2517
|
};
|
|
2518
2518
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2519
2519
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2520
2520
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2521
|
-
return i.
|
|
2521
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2522
2522
|
};
|
|
2523
2523
|
l.$arity = 2;
|
|
2524
2524
|
return l;
|
|
2525
2525
|
}
|
|
2526
2526
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2527
|
-
this.
|
|
2528
|
-
this.
|
|
2529
|
-
this.
|
|
2530
|
-
this.
|
|
2527
|
+
this.sb6_1 = this$0;
|
|
2528
|
+
this.tb6_1 = $playerId;
|
|
2529
|
+
this.ub6_1 = $permanently;
|
|
2530
|
+
this.vb6_1 = $roomId;
|
|
2531
2531
|
CoroutineImpl.call(this, resultContinuation);
|
|
2532
2532
|
}
|
|
2533
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2534
|
-
var tmp = this.
|
|
2533
|
+
protoOf(GameServer$playerLeft$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2534
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2535
2535
|
tmp.k9_1 = Unit_instance;
|
|
2536
2536
|
tmp.l9_1 = null;
|
|
2537
2537
|
return tmp.q9();
|
|
2538
2538
|
};
|
|
2539
2539
|
protoOf(GameServer$playerLeft$slambda).da = function (p1, p2, $completion) {
|
|
2540
2540
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2541
|
-
return this.
|
|
2541
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2542
2542
|
};
|
|
2543
2543
|
protoOf(GameServer$playerLeft$slambda).q9 = function () {
|
|
2544
2544
|
var suspendResult = this.k9_1;
|
|
@@ -2547,22 +2547,22 @@
|
|
|
2547
2547
|
var tmp = this.i9_1;
|
|
2548
2548
|
if (tmp === 0) {
|
|
2549
2549
|
this.j9_1 = 1;
|
|
2550
|
-
if (get_isFinished(this.
|
|
2550
|
+
if (get_isFinished(this.xb6_1.state) || get_isFinishing(this.xb6_1.state)) {
|
|
2551
2551
|
return Unit_instance;
|
|
2552
2552
|
}
|
|
2553
|
-
if (!get_isCreated(this.
|
|
2554
|
-
this.
|
|
2553
|
+
if (!get_isCreated(this.xb6_1.state) || !this.sb6_1.m6y().o7k()) {
|
|
2554
|
+
this.sb6_1.s5a().w('GameEngine_API', 'playerLeft: ' + this.tb6_1 + ' before game is created');
|
|
2555
2555
|
return Unit_instance;
|
|
2556
2556
|
}
|
|
2557
|
-
var tmp_0 = this.
|
|
2557
|
+
var tmp_0 = this.xb6_1.dispatch;
|
|
2558
2558
|
var tmp_1;
|
|
2559
|
-
if (this.
|
|
2559
|
+
if (this.ub6_1) {
|
|
2560
2560
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2561
2561
|
} else {
|
|
2562
2562
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2563
2563
|
}
|
|
2564
2564
|
var tmp0_connectionState = tmp_1;
|
|
2565
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2565
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.tb6_1, this.vb6_1));
|
|
2566
2566
|
return Unit_instance;
|
|
2567
2567
|
} else if (tmp === 1) {
|
|
2568
2568
|
throw this.l9_1;
|
|
@@ -2573,39 +2573,39 @@
|
|
|
2573
2573
|
}
|
|
2574
2574
|
while (true);
|
|
2575
2575
|
};
|
|
2576
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2577
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2578
|
-
i.
|
|
2579
|
-
i.
|
|
2576
|
+
protoOf(GameServer$playerLeft$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2577
|
+
var i = new GameServer$playerLeft$slambda(this.sb6_1, this.tb6_1, this.ub6_1, this.vb6_1, completion);
|
|
2578
|
+
i.wb6_1 = $this$dispatchAsync;
|
|
2579
|
+
i.xb6_1 = store;
|
|
2580
2580
|
return i;
|
|
2581
2581
|
};
|
|
2582
2582
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2583
2583
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2584
2584
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2585
|
-
return i.
|
|
2585
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2586
2586
|
};
|
|
2587
2587
|
l.$arity = 2;
|
|
2588
2588
|
return l;
|
|
2589
2589
|
}
|
|
2590
2590
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2591
|
-
this.
|
|
2592
|
-
this.
|
|
2593
|
-
this.
|
|
2594
|
-
this.
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2597
|
-
this.
|
|
2591
|
+
this.gb7_1 = $usersArray;
|
|
2592
|
+
this.hb7_1 = this$0;
|
|
2593
|
+
this.ib7_1 = $config;
|
|
2594
|
+
this.jb7_1 = $roomId;
|
|
2595
|
+
this.kb7_1 = $transition;
|
|
2596
|
+
this.lb7_1 = $gameCreatorId;
|
|
2597
|
+
this.mb7_1 = $spectators;
|
|
2598
2598
|
CoroutineImpl.call(this, resultContinuation);
|
|
2599
2599
|
}
|
|
2600
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2601
|
-
var tmp = this.
|
|
2600
|
+
protoOf(GameServer$roomOnCreate$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2601
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2602
2602
|
tmp.k9_1 = Unit_instance;
|
|
2603
2603
|
tmp.l9_1 = null;
|
|
2604
2604
|
return tmp.q9();
|
|
2605
2605
|
};
|
|
2606
2606
|
protoOf(GameServer$roomOnCreate$slambda).da = function (p1, p2, $completion) {
|
|
2607
2607
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2608
|
-
return this.
|
|
2608
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2609
2609
|
};
|
|
2610
2610
|
protoOf(GameServer$roomOnCreate$slambda).q9 = function () {
|
|
2611
2611
|
var suspendResult = this.k9_1;
|
|
@@ -2614,18 +2614,18 @@
|
|
|
2614
2614
|
var tmp = this.i9_1;
|
|
2615
2615
|
if (tmp === 0) {
|
|
2616
2616
|
this.j9_1 = 1;
|
|
2617
|
-
var users = toList(this.
|
|
2618
|
-
if (!validatePlayerCount(this.
|
|
2619
|
-
this.
|
|
2617
|
+
var users = toList(this.gb7_1);
|
|
2618
|
+
if (!validatePlayerCount(this.hb7_1, this.ib7_1, users, this.jb7_1)) {
|
|
2619
|
+
this.ob7_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.hb7_1.table.isGameFinished, this.hb7_1.table));
|
|
2620
2620
|
return Unit_instance;
|
|
2621
2621
|
}
|
|
2622
|
-
var orderedUsers = orderUsers(this.
|
|
2623
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2624
|
-
var tmp_0 = this.
|
|
2622
|
+
var orderedUsers = orderUsers(this.hb7_1, users, this.ib7_1, this.kb7_1);
|
|
2623
|
+
var gameCreatorUser = getPlayer(users, this.lb7_1);
|
|
2624
|
+
var tmp_0 = this.ob7_1.dispatch;
|
|
2625
2625
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2626
2626
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2627
|
-
var tmp2_spectators = toList(this.
|
|
2628
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2627
|
+
var tmp2_spectators = toList(this.mb7_1);
|
|
2628
|
+
tmp_0(new StartGameMechanicAction(this.ib7_1, this.jb7_1, tmp0_version, this.lb7_1, tmp1_users, VOID, tmp2_spectators));
|
|
2629
2629
|
return Unit_instance;
|
|
2630
2630
|
} else if (tmp === 1) {
|
|
2631
2631
|
throw this.l9_1;
|
|
@@ -2636,39 +2636,39 @@
|
|
|
2636
2636
|
}
|
|
2637
2637
|
while (true);
|
|
2638
2638
|
};
|
|
2639
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2640
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2641
|
-
i.
|
|
2642
|
-
i.
|
|
2639
|
+
protoOf(GameServer$roomOnCreate$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2640
|
+
var i = new GameServer$roomOnCreate$slambda(this.gb7_1, this.hb7_1, this.ib7_1, this.jb7_1, this.kb7_1, this.lb7_1, this.mb7_1, completion);
|
|
2641
|
+
i.nb7_1 = $this$dispatchAsync;
|
|
2642
|
+
i.ob7_1 = store;
|
|
2643
2643
|
return i;
|
|
2644
2644
|
};
|
|
2645
2645
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2646
2646
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2647
2647
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2648
|
-
return i.
|
|
2648
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2649
2649
|
};
|
|
2650
2650
|
l.$arity = 2;
|
|
2651
2651
|
return l;
|
|
2652
2652
|
}
|
|
2653
2653
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2654
|
-
this.
|
|
2654
|
+
this.pb7_1 = $playerId;
|
|
2655
2655
|
}
|
|
2656
2656
|
protoOf(GameServer$preserveTeams$previousTeams$1).p6x = function () {
|
|
2657
|
-
return this.
|
|
2657
|
+
return this.pb7_1;
|
|
2658
2658
|
};
|
|
2659
2659
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2660
|
-
this.
|
|
2660
|
+
this.yb7_1 = $state;
|
|
2661
2661
|
CoroutineImpl.call(this, resultContinuation);
|
|
2662
2662
|
}
|
|
2663
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2664
|
-
var tmp = this.
|
|
2663
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).bb8 = function ($this$dispatchAwait, store, $completion) {
|
|
2664
|
+
var tmp = this.kb5($this$dispatchAwait, store, $completion);
|
|
2665
2665
|
tmp.k9_1 = Unit_instance;
|
|
2666
2666
|
tmp.l9_1 = null;
|
|
2667
2667
|
return tmp.q9();
|
|
2668
2668
|
};
|
|
2669
2669
|
protoOf(GameServer$roomOnContinueFromState$slambda).da = function (p1, p2, $completion) {
|
|
2670
2670
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2671
|
-
return this.
|
|
2671
|
+
return this.bb8(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2672
2672
|
};
|
|
2673
2673
|
protoOf(GameServer$roomOnContinueFromState$slambda).q9 = function () {
|
|
2674
2674
|
var suspendResult = this.k9_1;
|
|
@@ -2677,10 +2677,10 @@
|
|
|
2677
2677
|
var tmp = this.i9_1;
|
|
2678
2678
|
if (tmp === 0) {
|
|
2679
2679
|
this.j9_1 = 1;
|
|
2680
|
-
if (get_isCreating(this.
|
|
2681
|
-
var tmp_0 = this.
|
|
2680
|
+
if (get_isCreating(this.ab8_1.state)) {
|
|
2681
|
+
var tmp_0 = this.ab8_1.dispatch;
|
|
2682
2682
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2683
|
-
var tmp1_table = this.
|
|
2683
|
+
var tmp1_table = this.yb7_1.table;
|
|
2684
2684
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2685
2685
|
return true;
|
|
2686
2686
|
}
|
|
@@ -2694,34 +2694,34 @@
|
|
|
2694
2694
|
}
|
|
2695
2695
|
while (true);
|
|
2696
2696
|
};
|
|
2697
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2698
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2699
|
-
i.
|
|
2700
|
-
i.
|
|
2697
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).kb5 = function ($this$dispatchAwait, store, completion) {
|
|
2698
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.yb7_1, completion);
|
|
2699
|
+
i.zb7_1 = $this$dispatchAwait;
|
|
2700
|
+
i.ab8_1 = store;
|
|
2701
2701
|
return i;
|
|
2702
2702
|
};
|
|
2703
2703
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2704
2704
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2705
2705
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2706
|
-
return i.
|
|
2706
|
+
return i.bb8($this$dispatchAwait, store, $completion);
|
|
2707
2707
|
};
|
|
2708
2708
|
l.$arity = 2;
|
|
2709
2709
|
return l;
|
|
2710
2710
|
}
|
|
2711
2711
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2712
|
-
this.
|
|
2713
|
-
this.
|
|
2712
|
+
this.kb8_1 = $isCreated;
|
|
2713
|
+
this.lb8_1 = $state;
|
|
2714
2714
|
CoroutineImpl.call(this, resultContinuation);
|
|
2715
2715
|
}
|
|
2716
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2717
|
-
var tmp = this.
|
|
2716
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2717
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2718
2718
|
tmp.k9_1 = Unit_instance;
|
|
2719
2719
|
tmp.l9_1 = null;
|
|
2720
2720
|
return tmp.q9();
|
|
2721
2721
|
};
|
|
2722
2722
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).da = function (p1, p2, $completion) {
|
|
2723
2723
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2724
|
-
return this.
|
|
2724
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2725
2725
|
};
|
|
2726
2726
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).q9 = function () {
|
|
2727
2727
|
var suspendResult = this.k9_1;
|
|
@@ -2732,7 +2732,7 @@
|
|
|
2732
2732
|
case 0:
|
|
2733
2733
|
this.j9_1 = 3;
|
|
2734
2734
|
this.i9_1 = 1;
|
|
2735
|
-
suspendResult = this.
|
|
2735
|
+
suspendResult = this.kb8_1.c1w(this);
|
|
2736
2736
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2737
2737
|
return suspendResult;
|
|
2738
2738
|
}
|
|
@@ -2740,10 +2740,10 @@
|
|
|
2740
2740
|
continue $sm;
|
|
2741
2741
|
case 1:
|
|
2742
2742
|
if (suspendResult) {
|
|
2743
|
-
var _iterator__ex2g4s = this.
|
|
2743
|
+
var _iterator__ex2g4s = this.lb8_1.actions.t();
|
|
2744
2744
|
while (_iterator__ex2g4s.u()) {
|
|
2745
2745
|
var element = _iterator__ex2g4s.v();
|
|
2746
|
-
this.
|
|
2746
|
+
this.nb8_1.dispatch(element);
|
|
2747
2747
|
}
|
|
2748
2748
|
this.i9_1 = 2;
|
|
2749
2749
|
continue $sm;
|
|
@@ -2768,35 +2768,35 @@
|
|
|
2768
2768
|
}
|
|
2769
2769
|
while (true);
|
|
2770
2770
|
};
|
|
2771
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2772
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2773
|
-
i.
|
|
2774
|
-
i.
|
|
2771
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2772
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.kb8_1, this.lb8_1, completion);
|
|
2773
|
+
i.mb8_1 = $this$dispatchAsync;
|
|
2774
|
+
i.nb8_1 = store;
|
|
2775
2775
|
return i;
|
|
2776
2776
|
};
|
|
2777
2777
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2778
2778
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2779
2779
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2780
|
-
return i.
|
|
2780
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2781
2781
|
};
|
|
2782
2782
|
l.$arity = 2;
|
|
2783
2783
|
return l;
|
|
2784
2784
|
}
|
|
2785
2785
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2786
|
-
this.
|
|
2787
|
-
this.
|
|
2788
|
-
this.
|
|
2786
|
+
this.wb8_1 = $tableLite;
|
|
2787
|
+
this.xb8_1 = $roomId;
|
|
2788
|
+
this.yb8_1 = this$0;
|
|
2789
2789
|
CoroutineImpl.call(this, resultContinuation);
|
|
2790
2790
|
}
|
|
2791
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2792
|
-
var tmp = this.
|
|
2791
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2792
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2793
2793
|
tmp.k9_1 = Unit_instance;
|
|
2794
2794
|
tmp.l9_1 = null;
|
|
2795
2795
|
return tmp.q9();
|
|
2796
2796
|
};
|
|
2797
2797
|
protoOf(GameServer$roomOnContinueFromRound$slambda).da = function (p1, p2, $completion) {
|
|
2798
2798
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2799
|
-
return this.
|
|
2799
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2800
2800
|
};
|
|
2801
2801
|
protoOf(GameServer$roomOnContinueFromRound$slambda).q9 = function () {
|
|
2802
2802
|
var suspendResult = this.k9_1;
|
|
@@ -2805,9 +2805,9 @@
|
|
|
2805
2805
|
var tmp = this.i9_1;
|
|
2806
2806
|
if (tmp === 0) {
|
|
2807
2807
|
this.j9_1 = 1;
|
|
2808
|
-
var tmp_0 = this.
|
|
2809
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2810
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2808
|
+
var tmp_0 = this.ab9_1.dispatch;
|
|
2809
|
+
var tmp0_reason = new RestartRoundReason(this.wb8_1.gameInfo.round.roundNumber);
|
|
2810
|
+
var tmp1_table = Companion_instance_0.restartRound(this.xb8_1, _get_idsProvider__fnfajc(this.yb8_1).e76(), get_versionOrDefault(GameEngineConfig_instance), this.wb8_1);
|
|
2811
2811
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2812
2812
|
return Unit_instance;
|
|
2813
2813
|
} else if (tmp === 1) {
|
|
@@ -2819,16 +2819,16 @@
|
|
|
2819
2819
|
}
|
|
2820
2820
|
while (true);
|
|
2821
2821
|
};
|
|
2822
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2823
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2824
|
-
i.
|
|
2825
|
-
i.
|
|
2822
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2823
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.wb8_1, this.xb8_1, this.yb8_1, completion);
|
|
2824
|
+
i.zb8_1 = $this$dispatchAsync;
|
|
2825
|
+
i.ab9_1 = store;
|
|
2826
2826
|
return i;
|
|
2827
2827
|
};
|
|
2828
2828
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2829
2829
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2830
2830
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2831
|
-
return i.
|
|
2831
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2832
2832
|
};
|
|
2833
2833
|
l.$arity = 2;
|
|
2834
2834
|
return l;
|
|
@@ -2836,15 +2836,15 @@
|
|
|
2836
2836
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2837
2837
|
CoroutineImpl.call(this, resultContinuation);
|
|
2838
2838
|
}
|
|
2839
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2840
|
-
var tmp = this.
|
|
2839
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2840
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2841
2841
|
tmp.k9_1 = Unit_instance;
|
|
2842
2842
|
tmp.l9_1 = null;
|
|
2843
2843
|
return tmp.q9();
|
|
2844
2844
|
};
|
|
2845
2845
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).da = function (p1, p2, $completion) {
|
|
2846
2846
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2847
|
-
return this.
|
|
2847
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2848
2848
|
};
|
|
2849
2849
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).q9 = function () {
|
|
2850
2850
|
var suspendResult = this.k9_1;
|
|
@@ -2853,7 +2853,7 @@
|
|
|
2853
2853
|
var tmp = this.i9_1;
|
|
2854
2854
|
if (tmp === 0) {
|
|
2855
2855
|
this.j9_1 = 1;
|
|
2856
|
-
this.
|
|
2856
|
+
this.kb9_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2857
2857
|
return Unit_instance;
|
|
2858
2858
|
} else if (tmp === 1) {
|
|
2859
2859
|
throw this.l9_1;
|
|
@@ -2864,33 +2864,33 @@
|
|
|
2864
2864
|
}
|
|
2865
2865
|
while (true);
|
|
2866
2866
|
};
|
|
2867
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2867
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2868
2868
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2869
|
-
i.
|
|
2870
|
-
i.
|
|
2869
|
+
i.jb9_1 = $this$dispatchAsync;
|
|
2870
|
+
i.kb9_1 = store;
|
|
2871
2871
|
return i;
|
|
2872
2872
|
};
|
|
2873
2873
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2874
2874
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2875
2875
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2876
|
-
return i.
|
|
2876
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2877
2877
|
};
|
|
2878
2878
|
l.$arity = 2;
|
|
2879
2879
|
return l;
|
|
2880
2880
|
}
|
|
2881
2881
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2882
|
-
this.
|
|
2882
|
+
this.tb9_1 = $spectators;
|
|
2883
2883
|
CoroutineImpl.call(this, resultContinuation);
|
|
2884
2884
|
}
|
|
2885
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2886
|
-
var tmp = this.
|
|
2885
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2886
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2887
2887
|
tmp.k9_1 = Unit_instance;
|
|
2888
2888
|
tmp.l9_1 = null;
|
|
2889
2889
|
return tmp.q9();
|
|
2890
2890
|
};
|
|
2891
2891
|
protoOf(GameServer$addSpectatorsToRoom$slambda).da = function (p1, p2, $completion) {
|
|
2892
2892
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2893
|
-
return this.
|
|
2893
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2894
2894
|
};
|
|
2895
2895
|
protoOf(GameServer$addSpectatorsToRoom$slambda).q9 = function () {
|
|
2896
2896
|
var suspendResult = this.k9_1;
|
|
@@ -2899,7 +2899,7 @@
|
|
|
2899
2899
|
var tmp = this.i9_1;
|
|
2900
2900
|
if (tmp === 0) {
|
|
2901
2901
|
this.j9_1 = 1;
|
|
2902
|
-
this.
|
|
2902
|
+
this.vb9_1.dispatch(new AddSpectatorsAction(toList(this.tb9_1)));
|
|
2903
2903
|
return Unit_instance;
|
|
2904
2904
|
} else if (tmp === 1) {
|
|
2905
2905
|
throw this.l9_1;
|
|
@@ -2910,33 +2910,33 @@
|
|
|
2910
2910
|
}
|
|
2911
2911
|
while (true);
|
|
2912
2912
|
};
|
|
2913
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2914
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2915
|
-
i.
|
|
2916
|
-
i.
|
|
2913
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2914
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.tb9_1, completion);
|
|
2915
|
+
i.ub9_1 = $this$dispatchAsync;
|
|
2916
|
+
i.vb9_1 = store;
|
|
2917
2917
|
return i;
|
|
2918
2918
|
};
|
|
2919
2919
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2920
2920
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2921
2921
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2922
|
-
return i.
|
|
2922
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2923
2923
|
};
|
|
2924
2924
|
l.$arity = 2;
|
|
2925
2925
|
return l;
|
|
2926
2926
|
}
|
|
2927
2927
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2928
|
-
this.
|
|
2928
|
+
this.eba_1 = $spectators;
|
|
2929
2929
|
CoroutineImpl.call(this, resultContinuation);
|
|
2930
2930
|
}
|
|
2931
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2932
|
-
var tmp = this.
|
|
2931
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2932
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2933
2933
|
tmp.k9_1 = Unit_instance;
|
|
2934
2934
|
tmp.l9_1 = null;
|
|
2935
2935
|
return tmp.q9();
|
|
2936
2936
|
};
|
|
2937
2937
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).da = function (p1, p2, $completion) {
|
|
2938
2938
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2939
|
-
return this.
|
|
2939
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).q9 = function () {
|
|
2942
2942
|
var suspendResult = this.k9_1;
|
|
@@ -2945,7 +2945,7 @@
|
|
|
2945
2945
|
var tmp = this.i9_1;
|
|
2946
2946
|
if (tmp === 0) {
|
|
2947
2947
|
this.j9_1 = 1;
|
|
2948
|
-
this.
|
|
2948
|
+
this.gba_1.dispatch(new RemoveSpectatorsAction(toList(this.eba_1)));
|
|
2949
2949
|
return Unit_instance;
|
|
2950
2950
|
} else if (tmp === 1) {
|
|
2951
2951
|
throw this.l9_1;
|
|
@@ -2956,34 +2956,34 @@
|
|
|
2956
2956
|
}
|
|
2957
2957
|
while (true);
|
|
2958
2958
|
};
|
|
2959
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2960
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2961
|
-
i.
|
|
2962
|
-
i.
|
|
2959
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
2960
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.eba_1, completion);
|
|
2961
|
+
i.fba_1 = $this$dispatchAsync;
|
|
2962
|
+
i.gba_1 = store;
|
|
2963
2963
|
return i;
|
|
2964
2964
|
};
|
|
2965
2965
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2966
2966
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2967
2967
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2968
|
-
return i.
|
|
2968
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
2969
2969
|
};
|
|
2970
2970
|
l.$arity = 2;
|
|
2971
2971
|
return l;
|
|
2972
2972
|
}
|
|
2973
2973
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2974
|
-
this.
|
|
2975
|
-
this.
|
|
2974
|
+
this.pba_1 = $playerId;
|
|
2975
|
+
this.qba_1 = this$0;
|
|
2976
2976
|
CoroutineImpl.call(this, resultContinuation);
|
|
2977
2977
|
}
|
|
2978
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2979
|
-
var tmp = this.
|
|
2978
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
2979
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
2980
2980
|
tmp.k9_1 = Unit_instance;
|
|
2981
2981
|
tmp.l9_1 = null;
|
|
2982
2982
|
return tmp.q9();
|
|
2983
2983
|
};
|
|
2984
2984
|
protoOf(GameServer$roomRefreshPlayerState$slambda).da = function (p1, p2, $completion) {
|
|
2985
2985
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2986
|
-
return this.
|
|
2986
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2987
2987
|
};
|
|
2988
2988
|
protoOf(GameServer$roomRefreshPlayerState$slambda).q9 = function () {
|
|
2989
2989
|
var suspendResult = this.k9_1;
|
|
@@ -2992,14 +2992,14 @@
|
|
|
2992
2992
|
var tmp = this.i9_1;
|
|
2993
2993
|
if (tmp === 0) {
|
|
2994
2994
|
this.j9_1 = 1;
|
|
2995
|
-
var table = this.
|
|
2996
|
-
var player = getPlayer(table.players, this.
|
|
2995
|
+
var table = this.sba_1.state.m7k();
|
|
2996
|
+
var player = getPlayer(table.players, this.pba_1);
|
|
2997
2997
|
if (player.d7o_1.s70().c6z_1.isLive) {
|
|
2998
|
-
this.
|
|
2998
|
+
this.sba_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.qba_1).tba(player, table));
|
|
2999
2999
|
} else {
|
|
3000
|
-
var tmp_0 = this.
|
|
3000
|
+
var tmp_0 = this.sba_1.dispatch;
|
|
3001
3001
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
3002
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
3002
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.pba_1));
|
|
3003
3003
|
}
|
|
3004
3004
|
return Unit_instance;
|
|
3005
3005
|
} else if (tmp === 1) {
|
|
@@ -3011,34 +3011,34 @@
|
|
|
3011
3011
|
}
|
|
3012
3012
|
while (true);
|
|
3013
3013
|
};
|
|
3014
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
3015
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
3016
|
-
i.
|
|
3017
|
-
i.
|
|
3014
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
3015
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.pba_1, this.qba_1, completion);
|
|
3016
|
+
i.rba_1 = $this$dispatchAsync;
|
|
3017
|
+
i.sba_1 = store;
|
|
3018
3018
|
return i;
|
|
3019
3019
|
};
|
|
3020
3020
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
3021
3021
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
3022
3022
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3023
|
-
return i.
|
|
3023
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
3024
3024
|
};
|
|
3025
3025
|
l.$arity = 2;
|
|
3026
3026
|
return l;
|
|
3027
3027
|
}
|
|
3028
3028
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
3029
|
-
this.
|
|
3030
|
-
this.
|
|
3029
|
+
this.cbb_1 = this$0;
|
|
3030
|
+
this.dbb_1 = $newRid;
|
|
3031
3031
|
CoroutineImpl.call(this, resultContinuation);
|
|
3032
3032
|
}
|
|
3033
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3034
|
-
var tmp = this.
|
|
3033
|
+
protoOf(GameServer$roomOnDelete$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
3034
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
3035
3035
|
tmp.k9_1 = Unit_instance;
|
|
3036
3036
|
tmp.l9_1 = null;
|
|
3037
3037
|
return tmp.q9();
|
|
3038
3038
|
};
|
|
3039
3039
|
protoOf(GameServer$roomOnDelete$slambda).da = function (p1, p2, $completion) {
|
|
3040
3040
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3041
|
-
return this.
|
|
3041
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3042
3042
|
};
|
|
3043
3043
|
protoOf(GameServer$roomOnDelete$slambda).q9 = function () {
|
|
3044
3044
|
var suspendResult = this.k9_1;
|
|
@@ -3047,27 +3047,27 @@
|
|
|
3047
3047
|
var tmp = this.i9_1;
|
|
3048
3048
|
if (tmp === 0) {
|
|
3049
3049
|
this.j9_1 = 1;
|
|
3050
|
-
var it = this.
|
|
3050
|
+
var it = this.cbb_1.m6y().m7j_1;
|
|
3051
3051
|
var tmp_0;
|
|
3052
3052
|
if (it == null) {
|
|
3053
|
-
this.
|
|
3053
|
+
this.cbb_1.s5a().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3054
3054
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3055
3055
|
} else {
|
|
3056
3056
|
tmp_0 = it;
|
|
3057
3057
|
}
|
|
3058
3058
|
var terminationState = tmp_0;
|
|
3059
|
-
var gameTransition = terminationState.
|
|
3059
|
+
var gameTransition = terminationState.d9z_1;
|
|
3060
3060
|
var tmp_1;
|
|
3061
3061
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3062
|
-
var tmp0_elvis_lhs = this.
|
|
3062
|
+
var tmp0_elvis_lhs = this.dbb_1;
|
|
3063
3063
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3064
3064
|
} else {
|
|
3065
3065
|
tmp_1 = gameTransition;
|
|
3066
3066
|
}
|
|
3067
3067
|
var transition = tmp_1;
|
|
3068
|
-
var tmp_2 = this.
|
|
3069
|
-
var tmp0_reason = terminationState.
|
|
3070
|
-
var tmp1_isGameFinished = this.
|
|
3068
|
+
var tmp_2 = this.fbb_1.dispatch;
|
|
3069
|
+
var tmp0_reason = terminationState.c9z_1;
|
|
3070
|
+
var tmp1_isGameFinished = this.cbb_1.m6y().m7k().isGameFinished;
|
|
3071
3071
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3072
3072
|
return Unit_instance;
|
|
3073
3073
|
} else if (tmp === 1) {
|
|
@@ -3079,33 +3079,33 @@
|
|
|
3079
3079
|
}
|
|
3080
3080
|
while (true);
|
|
3081
3081
|
};
|
|
3082
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3083
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3084
|
-
i.
|
|
3085
|
-
i.
|
|
3082
|
+
protoOf(GameServer$roomOnDelete$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
3083
|
+
var i = new GameServer$roomOnDelete$slambda(this.cbb_1, this.dbb_1, completion);
|
|
3084
|
+
i.ebb_1 = $this$dispatchAsync;
|
|
3085
|
+
i.fbb_1 = store;
|
|
3086
3086
|
return i;
|
|
3087
3087
|
};
|
|
3088
3088
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3089
3089
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3090
3090
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3091
|
-
return i.
|
|
3091
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
3092
3092
|
};
|
|
3093
3093
|
l.$arity = 2;
|
|
3094
3094
|
return l;
|
|
3095
3095
|
}
|
|
3096
3096
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3097
|
-
this.
|
|
3097
|
+
this.obb_1 = $enabled;
|
|
3098
3098
|
CoroutineImpl.call(this, resultContinuation);
|
|
3099
3099
|
}
|
|
3100
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3101
|
-
var tmp = this.
|
|
3100
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
3101
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
3102
3102
|
tmp.k9_1 = Unit_instance;
|
|
3103
3103
|
tmp.l9_1 = null;
|
|
3104
3104
|
return tmp.q9();
|
|
3105
3105
|
};
|
|
3106
3106
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).da = function (p1, p2, $completion) {
|
|
3107
3107
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3108
|
-
return this.
|
|
3108
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3109
3109
|
};
|
|
3110
3110
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).q9 = function () {
|
|
3111
3111
|
var suspendResult = this.k9_1;
|
|
@@ -3114,7 +3114,7 @@
|
|
|
3114
3114
|
var tmp = this.i9_1;
|
|
3115
3115
|
if (tmp === 0) {
|
|
3116
3116
|
this.j9_1 = 1;
|
|
3117
|
-
this.
|
|
3117
|
+
this.qbb_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.qbb_1.state).config.copy(VOID, !this.obb_1)));
|
|
3118
3118
|
return Unit_instance;
|
|
3119
3119
|
} else if (tmp === 1) {
|
|
3120
3120
|
throw this.l9_1;
|
|
@@ -3125,35 +3125,35 @@
|
|
|
3125
3125
|
}
|
|
3126
3126
|
while (true);
|
|
3127
3127
|
};
|
|
3128
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3129
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3130
|
-
i.
|
|
3131
|
-
i.
|
|
3128
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
3129
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.obb_1, completion);
|
|
3130
|
+
i.pbb_1 = $this$dispatchAsync;
|
|
3131
|
+
i.qbb_1 = store;
|
|
3132
3132
|
return i;
|
|
3133
3133
|
};
|
|
3134
3134
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3135
3135
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3136
3136
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3137
|
-
return i.
|
|
3137
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
3138
3138
|
};
|
|
3139
3139
|
l.$arity = 2;
|
|
3140
3140
|
return l;
|
|
3141
3141
|
}
|
|
3142
3142
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3143
|
-
this.
|
|
3144
|
-
this.
|
|
3145
|
-
this.
|
|
3143
|
+
this.zbb_1 = $reason;
|
|
3144
|
+
this.abc_1 = this$0;
|
|
3145
|
+
this.bbc_1 = $roomId;
|
|
3146
3146
|
CoroutineImpl.call(this, resultContinuation);
|
|
3147
3147
|
}
|
|
3148
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3149
|
-
var tmp = this.
|
|
3148
|
+
protoOf(GameServer$shutdown$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
3149
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
3150
3150
|
tmp.k9_1 = Unit_instance;
|
|
3151
3151
|
tmp.l9_1 = null;
|
|
3152
3152
|
return tmp.q9();
|
|
3153
3153
|
};
|
|
3154
3154
|
protoOf(GameServer$shutdown$slambda).da = function (p1, p2, $completion) {
|
|
3155
3155
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3156
|
-
return this.
|
|
3156
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3157
3157
|
};
|
|
3158
3158
|
protoOf(GameServer$shutdown$slambda).q9 = function () {
|
|
3159
3159
|
var suspendResult = this.k9_1;
|
|
@@ -3162,11 +3162,11 @@
|
|
|
3162
3162
|
var tmp = this.i9_1;
|
|
3163
3163
|
if (tmp === 0) {
|
|
3164
3164
|
this.j9_1 = 1;
|
|
3165
|
-
var state = this.
|
|
3165
|
+
var state = this.dbc_1.store.state;
|
|
3166
3166
|
if (state.o7k()) {
|
|
3167
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3167
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.zbb_1, get_serverShutdownReasonMapping());
|
|
3168
3168
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3169
|
-
var tmp_0 = this.
|
|
3169
|
+
var tmp_0 = this.dbc_1.dispatch;
|
|
3170
3170
|
var tmp_1 = Companion_instance;
|
|
3171
3171
|
var tmp_2;
|
|
3172
3172
|
switch (shutdownReason.a1_1) {
|
|
@@ -3180,12 +3180,12 @@
|
|
|
3180
3180
|
noWhenBranchMatchedException();
|
|
3181
3181
|
break;
|
|
3182
3182
|
}
|
|
3183
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3183
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.abc_1.table.isGameFinished, this.abc_1.table));
|
|
3184
3184
|
} else {
|
|
3185
|
-
this.
|
|
3186
|
-
var tmp_3 = this.
|
|
3185
|
+
this.abc_1.s5a().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.bbc_1);
|
|
3186
|
+
var tmp_3 = this.dbc_1.dispatch;
|
|
3187
3187
|
var tmp2_safe_receiver = state.m7j_1;
|
|
3188
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3188
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d9z_1));
|
|
3189
3189
|
}
|
|
3190
3190
|
return Unit_instance;
|
|
3191
3191
|
} else if (tmp === 1) {
|
|
@@ -3197,37 +3197,37 @@
|
|
|
3197
3197
|
}
|
|
3198
3198
|
while (true);
|
|
3199
3199
|
};
|
|
3200
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3201
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3202
|
-
i.
|
|
3203
|
-
i.
|
|
3200
|
+
protoOf(GameServer$shutdown$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
3201
|
+
var i = new GameServer$shutdown$slambda(this.zbb_1, this.abc_1, this.bbc_1, completion);
|
|
3202
|
+
i.cbc_1 = $this$dispatchAsync;
|
|
3203
|
+
i.dbc_1 = store;
|
|
3204
3204
|
return i;
|
|
3205
3205
|
};
|
|
3206
3206
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3207
3207
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3208
3208
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3209
|
-
return i.
|
|
3209
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
3210
3210
|
};
|
|
3211
3211
|
l.$arity = 2;
|
|
3212
3212
|
return l;
|
|
3213
3213
|
}
|
|
3214
3214
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3215
|
-
this.
|
|
3216
|
-
this.
|
|
3217
|
-
this.
|
|
3218
|
-
this.
|
|
3219
|
-
this.
|
|
3215
|
+
this.mbc_1 = $botChatInteractor;
|
|
3216
|
+
this.nbc_1 = $message;
|
|
3217
|
+
this.obc_1 = $fromPlayerId;
|
|
3218
|
+
this.pbc_1 = $onMessageGenerated;
|
|
3219
|
+
this.qbc_1 = this$0;
|
|
3220
3220
|
CoroutineImpl.call(this, resultContinuation);
|
|
3221
3221
|
}
|
|
3222
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3223
|
-
var tmp = this.
|
|
3222
|
+
protoOf(GameServer$handlePlayerMessage$slambda).jb5 = function ($this$dispatchAsync, store, $completion) {
|
|
3223
|
+
var tmp = this.kb5($this$dispatchAsync, store, $completion);
|
|
3224
3224
|
tmp.k9_1 = Unit_instance;
|
|
3225
3225
|
tmp.l9_1 = null;
|
|
3226
3226
|
return tmp.q9();
|
|
3227
3227
|
};
|
|
3228
3228
|
protoOf(GameServer$handlePlayerMessage$slambda).da = function (p1, p2, $completion) {
|
|
3229
3229
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3230
|
-
return this.
|
|
3230
|
+
return this.jb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3231
3231
|
};
|
|
3232
3232
|
protoOf(GameServer$handlePlayerMessage$slambda).q9 = function () {
|
|
3233
3233
|
var suspendResult = this.k9_1;
|
|
@@ -3237,20 +3237,20 @@
|
|
|
3237
3237
|
switch (tmp) {
|
|
3238
3238
|
case 0:
|
|
3239
3239
|
this.j9_1 = 3;
|
|
3240
|
-
var state = this.
|
|
3240
|
+
var state = this.sbc_1.store.state;
|
|
3241
3241
|
if (state.o7k()) {
|
|
3242
3242
|
var tmp0_table = state.m7k();
|
|
3243
3243
|
this.i9_1 = 1;
|
|
3244
|
-
suspendResult = this.
|
|
3244
|
+
suspendResult = this.mbc_1.e9n(tmp0_table, this.nbc_1, this.obc_1, VOID, this);
|
|
3245
3245
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3246
3246
|
return suspendResult;
|
|
3247
3247
|
}
|
|
3248
3248
|
continue $sm;
|
|
3249
3249
|
} else {
|
|
3250
|
-
this.
|
|
3251
|
-
var tmp_0 = this.
|
|
3250
|
+
this.qbc_1.s5a().w('GameEngine_API', "GameServer: can't generate message without table, " + this.obc_1);
|
|
3251
|
+
var tmp_0 = this.sbc_1.dispatch;
|
|
3252
3252
|
var tmp1_safe_receiver = state.m7j_1;
|
|
3253
|
-
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3253
|
+
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.d9z_1));
|
|
3254
3254
|
this.i9_1 = 2;
|
|
3255
3255
|
continue $sm;
|
|
3256
3256
|
}
|
|
@@ -3258,7 +3258,7 @@
|
|
|
3258
3258
|
case 1:
|
|
3259
3259
|
var message = suspendResult;
|
|
3260
3260
|
if (!(message == null)) {
|
|
3261
|
-
this.
|
|
3261
|
+
this.pbc_1(message);
|
|
3262
3262
|
}
|
|
3263
3263
|
|
|
3264
3264
|
this.i9_1 = 2;
|
|
@@ -3279,16 +3279,16 @@
|
|
|
3279
3279
|
}
|
|
3280
3280
|
while (true);
|
|
3281
3281
|
};
|
|
3282
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3283
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3284
|
-
i.
|
|
3285
|
-
i.
|
|
3282
|
+
protoOf(GameServer$handlePlayerMessage$slambda).kb5 = function ($this$dispatchAsync, store, completion) {
|
|
3283
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.mbc_1, this.nbc_1, this.obc_1, this.pbc_1, this.qbc_1, completion);
|
|
3284
|
+
i.rbc_1 = $this$dispatchAsync;
|
|
3285
|
+
i.sbc_1 = store;
|
|
3286
3286
|
return i;
|
|
3287
3287
|
};
|
|
3288
3288
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3289
3289
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3290
3290
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3291
|
-
return i.
|
|
3291
|
+
return i.jb5($this$dispatchAsync, store, $completion);
|
|
3292
3292
|
};
|
|
3293
3293
|
l.$arity = 2;
|
|
3294
3294
|
return l;
|
|
@@ -3319,7 +3319,7 @@
|
|
|
3319
3319
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3320
3320
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3321
3321
|
var tmp_4 = KProperty1;
|
|
3322
|
-
tmp_1.
|
|
3322
|
+
tmp_1.nb1_1 = tmp_3.e6w(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3323
3323
|
var tmp_5 = this;
|
|
3324
3324
|
// Inline function 'org.kodein.di.instance' call
|
|
3325
3325
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3327,7 +3327,7 @@
|
|
|
3327
3327
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3328
3328
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3329
3329
|
var tmp_8 = KProperty1;
|
|
3330
|
-
tmp_5.
|
|
3330
|
+
tmp_5.ob1_1 = tmp_7.e6w(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3331
3331
|
var tmp_9 = this;
|
|
3332
3332
|
// Inline function 'org.kodein.di.instance' call
|
|
3333
3333
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3335,7 +3335,7 @@
|
|
|
3335
3335
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3336
3336
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3337
3337
|
var tmp_12 = KProperty1;
|
|
3338
|
-
tmp_9.
|
|
3338
|
+
tmp_9.pb1_1 = tmp_11.e6w(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3339
3339
|
var tmp_13 = this;
|
|
3340
3340
|
// Inline function 'org.kodein.di.instance' call
|
|
3341
3341
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3343,7 +3343,7 @@
|
|
|
3343
3343
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3344
3344
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3345
3345
|
var tmp_16 = KProperty1;
|
|
3346
|
-
tmp_13.
|
|
3346
|
+
tmp_13.qb1_1 = tmp_15.e6w(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3347
3347
|
var tmp_17 = this;
|
|
3348
3348
|
// Inline function 'org.kodein.di.instance' call
|
|
3349
3349
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3351,9 +3351,9 @@
|
|
|
3351
3351
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3352
3352
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3353
3353
|
var tmp_20 = KProperty1;
|
|
3354
|
-
tmp_17.
|
|
3354
|
+
tmp_17.rb1_1 = tmp_19.e6w(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3355
3355
|
var tmp_21 = this;
|
|
3356
|
-
tmp_21.
|
|
3356
|
+
tmp_21.sb1_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3357
3357
|
var tmp_22 = this;
|
|
3358
3358
|
// Inline function 'org.kodein.di.instance' call
|
|
3359
3359
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3361,7 +3361,7 @@
|
|
|
3361
3361
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3362
3362
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3363
3363
|
var tmp_25 = KProperty1;
|
|
3364
|
-
tmp_22.
|
|
3364
|
+
tmp_22.tb1_1 = tmp_24.e6w(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3365
3365
|
var tmp_26 = this;
|
|
3366
3366
|
// Inline function 'org.kodein.di.instance' call
|
|
3367
3367
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3369,7 +3369,7 @@
|
|
|
3369
3369
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3370
3370
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3371
3371
|
var tmp_29 = KProperty1;
|
|
3372
|
-
tmp_26.
|
|
3372
|
+
tmp_26.ub1_1 = tmp_28.e6w(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3373
3373
|
var tmp_30 = this;
|
|
3374
3374
|
// Inline function 'org.kodein.di.instance' call
|
|
3375
3375
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3377,7 +3377,7 @@
|
|
|
3377
3377
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3378
3378
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3379
3379
|
var tmp_33 = KProperty1;
|
|
3380
|
-
tmp_30.
|
|
3380
|
+
tmp_30.vb1_1 = tmp_32.e6w(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3381
3381
|
var tmp_34 = this;
|
|
3382
3382
|
// Inline function 'org.kodein.di.instance' call
|
|
3383
3383
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3385,7 +3385,7 @@
|
|
|
3385
3385
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3386
3386
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3387
3387
|
var tmp_37 = KProperty1;
|
|
3388
|
-
tmp_34.
|
|
3388
|
+
tmp_34.wb1_1 = tmp_36.e6w(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3389
3389
|
var tmp_38 = this;
|
|
3390
3390
|
// Inline function 'org.kodein.di.instance' call
|
|
3391
3391
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3393,7 +3393,7 @@
|
|
|
3393
3393
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3394
3394
|
var tmp_40 = Instance(di, tmp$ret$20, null);
|
|
3395
3395
|
var tmp_41 = KProperty1;
|
|
3396
|
-
tmp_38.
|
|
3396
|
+
tmp_38.xb1_1 = tmp_40.e6w(this, getPropertyCallableRef('leaguesConfig', 1, tmp_41, GameServer$_get_leaguesConfig_$ref_fi951n(), null));
|
|
3397
3397
|
var tmp_42 = this;
|
|
3398
3398
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3399
3399
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3401,16 +3401,16 @@
|
|
|
3401
3401
|
var tmp$ret$22 = isInterface(tmp_43, TypeToken) ? tmp_43 : THROW_CCE();
|
|
3402
3402
|
var tmp_44 = InstanceOrNull(di, tmp$ret$22, null);
|
|
3403
3403
|
var tmp_45 = KProperty1;
|
|
3404
|
-
tmp_42.
|
|
3404
|
+
tmp_42.yb1_1 = tmp_44.e6w(this, getPropertyCallableRef('botChatInteractor', 1, tmp_45, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3405
3405
|
var tmp_46 = this;
|
|
3406
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3407
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3408
|
-
tmp_46.
|
|
3406
|
+
var tmp0_externalMiddlewares = plus(storeContract.va3(), externalMiddlewares);
|
|
3407
|
+
var tmp1_externalReducers = plus(storeContract.ua3(), externalReducers);
|
|
3408
|
+
tmp_46.zb1_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3409
3409
|
}
|
|
3410
3410
|
protoOf(GameServer).c7j = function () {
|
|
3411
|
-
return this.
|
|
3411
|
+
return this.zb1_1;
|
|
3412
3412
|
};
|
|
3413
|
-
protoOf(GameServer).
|
|
3413
|
+
protoOf(GameServer).r9h = function () {
|
|
3414
3414
|
return get_serverStatePayload_0(this.m6y()).metadata;
|
|
3415
3415
|
};
|
|
3416
3416
|
protoOf(GameServer).canReconnectPlayer = function (playerId) {
|
|
@@ -3460,17 +3460,17 @@
|
|
|
3460
3460
|
};
|
|
3461
3461
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3462
3462
|
this.s5a().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3463
|
-
this.
|
|
3463
|
+
this.zb1_1.k7k(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3464
3464
|
};
|
|
3465
3465
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3466
3466
|
this.s5a().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3467
|
-
this.
|
|
3467
|
+
this.zb1_1.k7k(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3468
3468
|
};
|
|
3469
3469
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3470
3470
|
this.s5a().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3471
|
-
this.
|
|
3471
|
+
this.zb1_1.k7k(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3472
3472
|
};
|
|
3473
|
-
protoOf(GameServer).
|
|
3473
|
+
protoOf(GameServer).tbc = function (playerId, roomId, permanently) {
|
|
3474
3474
|
this.s5a().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3475
3475
|
var tmp;
|
|
3476
3476
|
if (this.m6y().o7k() && !this.m6y().m7k().isGameFinished) {
|
|
@@ -3479,33 +3479,33 @@
|
|
|
3479
3479
|
tmp = null;
|
|
3480
3480
|
}
|
|
3481
3481
|
var result = tmp;
|
|
3482
|
-
this.
|
|
3482
|
+
this.zb1_1.k7k(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3483
3483
|
this.s5a().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3484
3484
|
return result;
|
|
3485
3485
|
};
|
|
3486
|
-
protoOf(GameServer).
|
|
3486
|
+
protoOf(GameServer).ubc = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3487
3487
|
this.s5a().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3488
|
-
this.
|
|
3488
|
+
this.zb1_1.k7k(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3489
3489
|
};
|
|
3490
3490
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3491
3491
|
this.s5a().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3492
|
-
var isCreated = this.
|
|
3493
|
-
this.
|
|
3492
|
+
var isCreated = this.zb1_1.l7k(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3493
|
+
this.zb1_1.k7k(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3494
3494
|
};
|
|
3495
3495
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3496
3496
|
this.s5a().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3497
|
-
this.
|
|
3498
|
-
this.
|
|
3497
|
+
this.zb1_1.k7k(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3498
|
+
this.zb1_1.k7k(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3499
3499
|
};
|
|
3500
3500
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3501
|
-
this.
|
|
3501
|
+
this.zb1_1.k7k(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3502
3502
|
};
|
|
3503
3503
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3504
|
-
this.
|
|
3504
|
+
this.zb1_1.k7k(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3505
3505
|
};
|
|
3506
3506
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3507
3507
|
this.s5a().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3508
|
-
this.
|
|
3508
|
+
this.zb1_1.k7k(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3509
3509
|
};
|
|
3510
3510
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3511
3511
|
if (!this.isTableExists) {
|
|
@@ -3515,24 +3515,24 @@
|
|
|
3515
3515
|
var table = this.table;
|
|
3516
3516
|
var player = getPlayer(table.players, playerId);
|
|
3517
3517
|
this.s5a().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.d7o_1.s70().c6z_1.toString() + ', ') + ('isBot = ' + player.c7o_1.isBot));
|
|
3518
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3518
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).vbc(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3519
3519
|
this.s5a().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3520
3520
|
if (actions.r()) {
|
|
3521
3521
|
return null;
|
|
3522
3522
|
}
|
|
3523
3523
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).e76(), table.id, playerId));
|
|
3524
3524
|
};
|
|
3525
|
-
protoOf(GameServer).
|
|
3525
|
+
protoOf(GameServer).wbc = function (newRid) {
|
|
3526
3526
|
this.s5a().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3527
|
-
this.
|
|
3527
|
+
this.zb1_1.k7k(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3528
3528
|
};
|
|
3529
3529
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3530
3530
|
this.s5a().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3531
|
-
this.
|
|
3531
|
+
this.zb1_1.k7k(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3532
3532
|
};
|
|
3533
|
-
protoOf(GameServer).
|
|
3533
|
+
protoOf(GameServer).xbc = function (reason, roomId) {
|
|
3534
3534
|
this.s5a().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3535
|
-
this.
|
|
3535
|
+
this.zb1_1.k7k(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3536
3536
|
};
|
|
3537
3537
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3538
3538
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3544,7 +3544,7 @@
|
|
|
3544
3544
|
}
|
|
3545
3545
|
var botChatInteractor = tmp;
|
|
3546
3546
|
this.s5a().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3547
|
-
this.
|
|
3547
|
+
this.zb1_1.k7k(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3548
3548
|
};
|
|
3549
3549
|
protoOf(GameServer).clear = function () {
|
|
3550
3550
|
return this.c3();
|
|
@@ -3598,13 +3598,13 @@
|
|
|
3598
3598
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3599
3599
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3600
3600
|
}
|
|
3601
|
-
protoOf(ServerConfig).
|
|
3601
|
+
protoOf(ServerConfig).ybc = function () {
|
|
3602
3602
|
return this.fromRound;
|
|
3603
3603
|
};
|
|
3604
|
-
protoOf(ServerConfig).
|
|
3604
|
+
protoOf(ServerConfig).zbc = function () {
|
|
3605
3605
|
return this.shouldFinishGameWhenDeploy;
|
|
3606
3606
|
};
|
|
3607
|
-
protoOf(ServerConfig).
|
|
3607
|
+
protoOf(ServerConfig).abd = function () {
|
|
3608
3608
|
return this.shouldFinishGameWithBots;
|
|
3609
3609
|
};
|
|
3610
3610
|
protoOf(ServerConfig).of = function () {
|
|
@@ -3616,14 +3616,14 @@
|
|
|
3616
3616
|
protoOf(ServerConfig).um = function () {
|
|
3617
3617
|
return this.shouldFinishGameWithBots;
|
|
3618
3618
|
};
|
|
3619
|
-
protoOf(ServerConfig).
|
|
3619
|
+
protoOf(ServerConfig).bbd = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3620
3620
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3621
3621
|
};
|
|
3622
3622
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3623
3623
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3624
3624
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3625
3625
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3626
|
-
return $super === VOID ? this.
|
|
3626
|
+
return $super === VOID ? this.bbd(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.bbd.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3627
3627
|
};
|
|
3628
3628
|
protoOf(ServerConfig).toString = function () {
|
|
3629
3629
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3685,20 +3685,20 @@
|
|
|
3685
3685
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3686
3686
|
tmp0_serialDesc.zz('roomId', false);
|
|
3687
3687
|
tmp0_serialDesc.zz('table', false);
|
|
3688
|
-
this.
|
|
3688
|
+
this.cbd_1 = tmp0_serialDesc;
|
|
3689
3689
|
}
|
|
3690
|
-
protoOf($serializer).
|
|
3691
|
-
var tmp0_desc = this.
|
|
3690
|
+
protoOf($serializer).dbd = function (encoder, value) {
|
|
3691
|
+
var tmp0_desc = this.cbd_1;
|
|
3692
3692
|
var tmp1_output = encoder.hs(tmp0_desc);
|
|
3693
|
-
tmp1_output.wt(tmp0_desc, 0, value.
|
|
3693
|
+
tmp1_output.wt(tmp0_desc, 0, value.ebd_1);
|
|
3694
3694
|
tmp1_output.wt(tmp0_desc, 1, value.table);
|
|
3695
3695
|
tmp1_output.is(tmp0_desc);
|
|
3696
3696
|
};
|
|
3697
3697
|
protoOf($serializer).vo = function (encoder, value) {
|
|
3698
|
-
return this.
|
|
3698
|
+
return this.dbd(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3699
3699
|
};
|
|
3700
3700
|
protoOf($serializer).wo = function (decoder) {
|
|
3701
|
-
var tmp0_desc = this.
|
|
3701
|
+
var tmp0_desc = this.cbd_1;
|
|
3702
3702
|
var tmp1_flag = true;
|
|
3703
3703
|
var tmp2_index = 0;
|
|
3704
3704
|
var tmp3_bitMask0 = 0;
|
|
@@ -3733,7 +3733,7 @@
|
|
|
3733
3733
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3734
3734
|
};
|
|
3735
3735
|
protoOf($serializer).uo = function () {
|
|
3736
|
-
return this.
|
|
3736
|
+
return this.cbd_1;
|
|
3737
3737
|
};
|
|
3738
3738
|
protoOf($serializer).o10 = function () {
|
|
3739
3739
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3749,9 +3749,9 @@
|
|
|
3749
3749
|
}
|
|
3750
3750
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3751
3751
|
if (!(3 === (3 & seen0))) {
|
|
3752
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3752
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().cbd_1);
|
|
3753
3753
|
}
|
|
3754
|
-
$this.
|
|
3754
|
+
$this.ebd_1 = roomId;
|
|
3755
3755
|
$this.table = table;
|
|
3756
3756
|
return $this;
|
|
3757
3757
|
}
|
|
@@ -3759,17 +3759,17 @@
|
|
|
3759
3759
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3760
3760
|
}
|
|
3761
3761
|
function TableStateUpdateDto(roomId, table) {
|
|
3762
|
-
this.
|
|
3762
|
+
this.ebd_1 = roomId;
|
|
3763
3763
|
this.table = table;
|
|
3764
3764
|
}
|
|
3765
|
-
protoOf(TableStateUpdateDto).
|
|
3766
|
-
return this.
|
|
3765
|
+
protoOf(TableStateUpdateDto).f9e = function () {
|
|
3766
|
+
return this.ebd_1;
|
|
3767
3767
|
};
|
|
3768
3768
|
protoOf(TableStateUpdateDto).m7k = function () {
|
|
3769
3769
|
return this.table;
|
|
3770
3770
|
};
|
|
3771
3771
|
protoOf(TableStateUpdateDto).of = function () {
|
|
3772
|
-
return this.
|
|
3772
|
+
return this.ebd_1;
|
|
3773
3773
|
};
|
|
3774
3774
|
protoOf(TableStateUpdateDto).pf = function () {
|
|
3775
3775
|
return this.table;
|
|
@@ -3778,15 +3778,15 @@
|
|
|
3778
3778
|
return new TableStateUpdateDto(roomId, table);
|
|
3779
3779
|
};
|
|
3780
3780
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3781
|
-
roomId = roomId === VOID ? this.
|
|
3781
|
+
roomId = roomId === VOID ? this.ebd_1 : roomId;
|
|
3782
3782
|
table = table === VOID ? this.table : table;
|
|
3783
3783
|
return $super === VOID ? this.f5v(roomId, table) : $super.f5v.call(this, roomId, table);
|
|
3784
3784
|
};
|
|
3785
3785
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3786
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3786
|
+
return 'TableStateUpdateDto(roomId=' + this.ebd_1 + ', table=' + this.table + ')';
|
|
3787
3787
|
};
|
|
3788
3788
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3789
|
-
var result = getStringHashCode(this.
|
|
3789
|
+
var result = getStringHashCode(this.ebd_1);
|
|
3790
3790
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3791
3791
|
return result;
|
|
3792
3792
|
};
|
|
@@ -3795,7 +3795,7 @@
|
|
|
3795
3795
|
return true;
|
|
3796
3796
|
if (!(other instanceof TableStateUpdateDto))
|
|
3797
3797
|
return false;
|
|
3798
|
-
if (!(this.
|
|
3798
|
+
if (!(this.ebd_1 === other.ebd_1))
|
|
3799
3799
|
return false;
|
|
3800
3800
|
if (!(this.table === other.table))
|
|
3801
3801
|
return false;
|
|
@@ -3811,7 +3811,7 @@
|
|
|
3811
3811
|
// Inline function 'kotlin.arrayOf' call
|
|
3812
3812
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3813
3813
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3814
|
-
tmp.
|
|
3814
|
+
tmp.fbd_1 = [null, lazy_0(tmp_0, ActionsStateUpdateDto$Companion$$childSerializers$_anonymous__oomzzs)];
|
|
3815
3815
|
}
|
|
3816
3816
|
var Companion_instance_14;
|
|
3817
3817
|
function Companion_getInstance_4() {
|
|
@@ -3824,28 +3824,28 @@
|
|
|
3824
3824
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3825
3825
|
tmp0_serialDesc.zz('roomId', false);
|
|
3826
3826
|
tmp0_serialDesc.zz('actions', false);
|
|
3827
|
-
this.
|
|
3827
|
+
this.gbd_1 = tmp0_serialDesc;
|
|
3828
3828
|
}
|
|
3829
|
-
protoOf($serializer_0).
|
|
3830
|
-
var tmp0_desc = this.
|
|
3829
|
+
protoOf($serializer_0).hbd = function (encoder, value) {
|
|
3830
|
+
var tmp0_desc = this.gbd_1;
|
|
3831
3831
|
var tmp1_output = encoder.hs(tmp0_desc);
|
|
3832
|
-
var tmp2_cached = Companion_getInstance_4().
|
|
3833
|
-
tmp1_output.wt(tmp0_desc, 0, value.
|
|
3832
|
+
var tmp2_cached = Companion_getInstance_4().fbd_1;
|
|
3833
|
+
tmp1_output.wt(tmp0_desc, 0, value.ibd_1);
|
|
3834
3834
|
tmp1_output.yt(tmp0_desc, 1, tmp2_cached[1].o1(), value.actions);
|
|
3835
3835
|
tmp1_output.is(tmp0_desc);
|
|
3836
3836
|
};
|
|
3837
3837
|
protoOf($serializer_0).vo = function (encoder, value) {
|
|
3838
|
-
return this.
|
|
3838
|
+
return this.hbd(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3839
3839
|
};
|
|
3840
3840
|
protoOf($serializer_0).wo = function (decoder) {
|
|
3841
|
-
var tmp0_desc = this.
|
|
3841
|
+
var tmp0_desc = this.gbd_1;
|
|
3842
3842
|
var tmp1_flag = true;
|
|
3843
3843
|
var tmp2_index = 0;
|
|
3844
3844
|
var tmp3_bitMask0 = 0;
|
|
3845
3845
|
var tmp4_local0 = null;
|
|
3846
3846
|
var tmp5_local1 = null;
|
|
3847
3847
|
var tmp6_input = decoder.hs(tmp0_desc);
|
|
3848
|
-
var tmp7_cached = Companion_getInstance_4().
|
|
3848
|
+
var tmp7_cached = Companion_getInstance_4().fbd_1;
|
|
3849
3849
|
if (tmp6_input.xs()) {
|
|
3850
3850
|
tmp4_local0 = tmp6_input.rs(tmp0_desc, 0);
|
|
3851
3851
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3874,10 +3874,10 @@
|
|
|
3874
3874
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3875
3875
|
};
|
|
3876
3876
|
protoOf($serializer_0).uo = function () {
|
|
3877
|
-
return this.
|
|
3877
|
+
return this.gbd_1;
|
|
3878
3878
|
};
|
|
3879
3879
|
protoOf($serializer_0).o10 = function () {
|
|
3880
|
-
var tmp0_cached = Companion_getInstance_4().
|
|
3880
|
+
var tmp0_cached = Companion_getInstance_4().fbd_1;
|
|
3881
3881
|
// Inline function 'kotlin.arrayOf' call
|
|
3882
3882
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3883
3883
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3891,9 +3891,9 @@
|
|
|
3891
3891
|
}
|
|
3892
3892
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3893
3893
|
if (!(3 === (3 & seen0))) {
|
|
3894
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3894
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().gbd_1);
|
|
3895
3895
|
}
|
|
3896
|
-
$this.
|
|
3896
|
+
$this.ibd_1 = roomId;
|
|
3897
3897
|
$this.actions = actions;
|
|
3898
3898
|
return $this;
|
|
3899
3899
|
}
|
|
@@ -3902,13 +3902,13 @@
|
|
|
3902
3902
|
}
|
|
3903
3903
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3904
3904
|
Companion_getInstance_4();
|
|
3905
|
-
this.
|
|
3905
|
+
this.ibd_1 = roomId;
|
|
3906
3906
|
this.actions = actions;
|
|
3907
3907
|
}
|
|
3908
|
-
protoOf(ActionsStateUpdateDto).
|
|
3909
|
-
return this.
|
|
3908
|
+
protoOf(ActionsStateUpdateDto).f9e = function () {
|
|
3909
|
+
return this.ibd_1;
|
|
3910
3910
|
};
|
|
3911
|
-
protoOf(ActionsStateUpdateDto).
|
|
3911
|
+
protoOf(ActionsStateUpdateDto).s9e = function () {
|
|
3912
3912
|
return this.actions;
|
|
3913
3913
|
};
|
|
3914
3914
|
protoOf(ActionsStateUpdateDto).equals = function (other) {
|
|
@@ -3918,33 +3918,33 @@
|
|
|
3918
3918
|
return false;
|
|
3919
3919
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3920
3920
|
THROW_CCE();
|
|
3921
|
-
if (!(this.
|
|
3921
|
+
if (!(this.ibd_1 === other.ibd_1))
|
|
3922
3922
|
return false;
|
|
3923
3923
|
if (!contentEquals(this.actions, other.actions))
|
|
3924
3924
|
return false;
|
|
3925
3925
|
return true;
|
|
3926
3926
|
};
|
|
3927
3927
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3928
|
-
var result = getStringHashCode(this.
|
|
3928
|
+
var result = getStringHashCode(this.ibd_1);
|
|
3929
3929
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
3930
3930
|
return result;
|
|
3931
3931
|
};
|
|
3932
3932
|
protoOf(ActionsStateUpdateDto).of = function () {
|
|
3933
|
-
return this.
|
|
3933
|
+
return this.ibd_1;
|
|
3934
3934
|
};
|
|
3935
3935
|
protoOf(ActionsStateUpdateDto).pf = function () {
|
|
3936
3936
|
return this.actions;
|
|
3937
3937
|
};
|
|
3938
|
-
protoOf(ActionsStateUpdateDto).
|
|
3938
|
+
protoOf(ActionsStateUpdateDto).jbd = function (roomId, actions) {
|
|
3939
3939
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3940
3940
|
};
|
|
3941
3941
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3942
|
-
roomId = roomId === VOID ? this.
|
|
3942
|
+
roomId = roomId === VOID ? this.ibd_1 : roomId;
|
|
3943
3943
|
actions = actions === VOID ? this.actions : actions;
|
|
3944
|
-
return $super === VOID ? this.
|
|
3944
|
+
return $super === VOID ? this.jbd(roomId, actions) : $super.jbd.call(this, roomId, actions);
|
|
3945
3945
|
};
|
|
3946
3946
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3947
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3947
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ibd_1 + ', actions=' + toString(this.actions) + ')';
|
|
3948
3948
|
};
|
|
3949
3949
|
function mapToDto_1(_this__u8e3s4, encoderDecoderProvider) {
|
|
3950
3950
|
var tmp;
|
|
@@ -3969,47 +3969,47 @@
|
|
|
3969
3969
|
while (inductionVariable < last) {
|
|
3970
3970
|
var item = this_0[inductionVariable];
|
|
3971
3971
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3972
|
-
var tmp$ret$0 = encoderDecoderProvider.
|
|
3972
|
+
var tmp$ret$0 = encoderDecoderProvider.w9l(mapToDto(item));
|
|
3973
3973
|
destination.e1(tmp$ret$0);
|
|
3974
3974
|
}
|
|
3975
3975
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3976
3976
|
var tmp$ret$3 = copyToArray(destination);
|
|
3977
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3977
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.kbd_1, tmp$ret$3);
|
|
3978
3978
|
}
|
|
3979
3979
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3980
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3980
|
+
return new TableStateUpdateDto(_this__u8e3s4.lbd_1, encoderDecoderProvider.v9l(mapToDto_0(_this__u8e3s4.table)));
|
|
3981
3981
|
}
|
|
3982
3982
|
function ServerStateUpdate() {
|
|
3983
3983
|
}
|
|
3984
3984
|
function TableStateUpdate(roomId, table) {
|
|
3985
|
-
this.
|
|
3985
|
+
this.lbd_1 = roomId;
|
|
3986
3986
|
this.table = table;
|
|
3987
3987
|
}
|
|
3988
|
-
protoOf(TableStateUpdate).
|
|
3989
|
-
return this.
|
|
3988
|
+
protoOf(TableStateUpdate).f9e = function () {
|
|
3989
|
+
return this.lbd_1;
|
|
3990
3990
|
};
|
|
3991
3991
|
protoOf(TableStateUpdate).m7k = function () {
|
|
3992
3992
|
return this.table;
|
|
3993
3993
|
};
|
|
3994
3994
|
protoOf(TableStateUpdate).of = function () {
|
|
3995
|
-
return this.
|
|
3995
|
+
return this.lbd_1;
|
|
3996
3996
|
};
|
|
3997
3997
|
protoOf(TableStateUpdate).pf = function () {
|
|
3998
3998
|
return this.table;
|
|
3999
3999
|
};
|
|
4000
|
-
protoOf(TableStateUpdate).
|
|
4000
|
+
protoOf(TableStateUpdate).mbd = function (roomId, table) {
|
|
4001
4001
|
return new TableStateUpdate(roomId, table);
|
|
4002
4002
|
};
|
|
4003
4003
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
4004
|
-
roomId = roomId === VOID ? this.
|
|
4004
|
+
roomId = roomId === VOID ? this.lbd_1 : roomId;
|
|
4005
4005
|
table = table === VOID ? this.table : table;
|
|
4006
|
-
return $super === VOID ? this.
|
|
4006
|
+
return $super === VOID ? this.mbd(roomId, table) : $super.mbd.call(this, roomId, table);
|
|
4007
4007
|
};
|
|
4008
4008
|
protoOf(TableStateUpdate).toString = function () {
|
|
4009
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
4009
|
+
return 'TableStateUpdate(roomId=' + this.lbd_1 + ', table=' + this.table.toString() + ')';
|
|
4010
4010
|
};
|
|
4011
4011
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
4012
|
-
var result = getStringHashCode(this.
|
|
4012
|
+
var result = getStringHashCode(this.lbd_1);
|
|
4013
4013
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
4014
4014
|
return result;
|
|
4015
4015
|
};
|
|
@@ -4018,20 +4018,20 @@
|
|
|
4018
4018
|
return true;
|
|
4019
4019
|
if (!(other instanceof TableStateUpdate))
|
|
4020
4020
|
return false;
|
|
4021
|
-
if (!(this.
|
|
4021
|
+
if (!(this.lbd_1 === other.lbd_1))
|
|
4022
4022
|
return false;
|
|
4023
4023
|
if (!this.table.equals(other.table))
|
|
4024
4024
|
return false;
|
|
4025
4025
|
return true;
|
|
4026
4026
|
};
|
|
4027
4027
|
function ActionsStateUpdate(roomId, actions) {
|
|
4028
|
-
this.
|
|
4028
|
+
this.kbd_1 = roomId;
|
|
4029
4029
|
this.actions = actions;
|
|
4030
4030
|
}
|
|
4031
|
-
protoOf(ActionsStateUpdate).
|
|
4032
|
-
return this.
|
|
4031
|
+
protoOf(ActionsStateUpdate).f9e = function () {
|
|
4032
|
+
return this.kbd_1;
|
|
4033
4033
|
};
|
|
4034
|
-
protoOf(ActionsStateUpdate).
|
|
4034
|
+
protoOf(ActionsStateUpdate).s9e = function () {
|
|
4035
4035
|
return this.actions;
|
|
4036
4036
|
};
|
|
4037
4037
|
protoOf(ActionsStateUpdate).equals = function (other) {
|
|
@@ -4041,33 +4041,33 @@
|
|
|
4041
4041
|
return false;
|
|
4042
4042
|
if (!(other instanceof ActionsStateUpdate))
|
|
4043
4043
|
THROW_CCE();
|
|
4044
|
-
if (!(this.
|
|
4044
|
+
if (!(this.kbd_1 === other.kbd_1))
|
|
4045
4045
|
return false;
|
|
4046
4046
|
if (!contentEquals(this.actions, other.actions))
|
|
4047
4047
|
return false;
|
|
4048
4048
|
return true;
|
|
4049
4049
|
};
|
|
4050
4050
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
4051
|
-
var result = getStringHashCode(this.
|
|
4051
|
+
var result = getStringHashCode(this.kbd_1);
|
|
4052
4052
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
4053
4053
|
return result;
|
|
4054
4054
|
};
|
|
4055
4055
|
protoOf(ActionsStateUpdate).of = function () {
|
|
4056
|
-
return this.
|
|
4056
|
+
return this.kbd_1;
|
|
4057
4057
|
};
|
|
4058
4058
|
protoOf(ActionsStateUpdate).pf = function () {
|
|
4059
4059
|
return this.actions;
|
|
4060
4060
|
};
|
|
4061
|
-
protoOf(ActionsStateUpdate).
|
|
4061
|
+
protoOf(ActionsStateUpdate).nbd = function (roomId, actions) {
|
|
4062
4062
|
return new ActionsStateUpdate(roomId, actions);
|
|
4063
4063
|
};
|
|
4064
4064
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
4065
|
-
roomId = roomId === VOID ? this.
|
|
4065
|
+
roomId = roomId === VOID ? this.kbd_1 : roomId;
|
|
4066
4066
|
actions = actions === VOID ? this.actions : actions;
|
|
4067
|
-
return $super === VOID ? this.
|
|
4067
|
+
return $super === VOID ? this.nbd(roomId, actions) : $super.nbd.call(this, roomId, actions);
|
|
4068
4068
|
};
|
|
4069
4069
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
4070
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
4070
|
+
return 'ActionsStateUpdate(roomId=' + this.kbd_1 + ', actions=' + toString(this.actions) + ')';
|
|
4071
4071
|
};
|
|
4072
4072
|
function getServerEngineGameDI(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig, leaguesConfig, botModelProvider) {
|
|
4073
4073
|
botModelProvider = botModelProvider === VOID ? null : botModelProvider;
|
|
@@ -4396,18 +4396,18 @@
|
|
|
4396
4396
|
function ToClientEventsObserver() {
|
|
4397
4397
|
}
|
|
4398
4398
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4399
|
-
this.
|
|
4400
|
-
this.
|
|
4399
|
+
this.xbd_1 = this$0;
|
|
4400
|
+
this.ybd_1 = $actions;
|
|
4401
4401
|
CoroutineImpl.call(this, resultContinuation);
|
|
4402
4402
|
}
|
|
4403
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4404
|
-
var tmp = this.
|
|
4403
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).bbe = function ($this$flow, $completion) {
|
|
4404
|
+
var tmp = this.cbe($this$flow, $completion);
|
|
4405
4405
|
tmp.k9_1 = Unit_instance;
|
|
4406
4406
|
tmp.l9_1 = null;
|
|
4407
4407
|
return tmp.q9();
|
|
4408
4408
|
};
|
|
4409
4409
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ca = function (p1, $completion) {
|
|
4410
|
-
return this.
|
|
4410
|
+
return this.bbe((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4411
4411
|
};
|
|
4412
4412
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9 = function () {
|
|
4413
4413
|
var suspendResult = this.k9_1;
|
|
@@ -4417,19 +4417,19 @@
|
|
|
4417
4417
|
switch (tmp) {
|
|
4418
4418
|
case 0:
|
|
4419
4419
|
this.j9_1 = 4;
|
|
4420
|
-
this.
|
|
4421
|
-
this.
|
|
4420
|
+
this.xbd_1.hbe_1;
|
|
4421
|
+
this.abe_1 = transformToEmits(this.xbd_1, this.ybd_1).t();
|
|
4422
4422
|
this.i9_1 = 1;
|
|
4423
4423
|
continue $sm;
|
|
4424
4424
|
case 1:
|
|
4425
|
-
if (!this.
|
|
4425
|
+
if (!this.abe_1.u()) {
|
|
4426
4426
|
this.i9_1 = 3;
|
|
4427
4427
|
continue $sm;
|
|
4428
4428
|
}
|
|
4429
4429
|
|
|
4430
|
-
var element = this.
|
|
4430
|
+
var element = this.abe_1.v();
|
|
4431
4431
|
this.i9_1 = 2;
|
|
4432
|
-
suspendResult = this.
|
|
4432
|
+
suspendResult = this.zbd_1.t2a(element, this);
|
|
4433
4433
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4434
4434
|
return suspendResult;
|
|
4435
4435
|
}
|
|
@@ -4439,11 +4439,11 @@
|
|
|
4439
4439
|
this.i9_1 = 1;
|
|
4440
4440
|
continue $sm;
|
|
4441
4441
|
case 3:
|
|
4442
|
-
var tmp0 = this.
|
|
4442
|
+
var tmp0 = this.xbd_1.gbe_1;
|
|
4443
4443
|
l$ret$1: do {
|
|
4444
4444
|
while (true) {
|
|
4445
4445
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4446
|
-
var upd = cur - this.
|
|
4446
|
+
var upd = cur - this.ybd_1.g1() | 0;
|
|
4447
4447
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4448
4448
|
break l$ret$1;
|
|
4449
4449
|
}
|
|
@@ -4465,15 +4465,15 @@
|
|
|
4465
4465
|
}
|
|
4466
4466
|
while (true);
|
|
4467
4467
|
};
|
|
4468
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4469
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4470
|
-
i.
|
|
4468
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).cbe = function ($this$flow, completion) {
|
|
4469
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.xbd_1, this.ybd_1, completion);
|
|
4470
|
+
i.zbd_1 = $this$flow;
|
|
4471
4471
|
return i;
|
|
4472
4472
|
};
|
|
4473
4473
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4474
4474
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4475
4475
|
var l = function ($this$flow, $completion) {
|
|
4476
|
-
return i.
|
|
4476
|
+
return i.bbe($this$flow, $completion);
|
|
4477
4477
|
};
|
|
4478
4478
|
l.$arity = 1;
|
|
4479
4479
|
return l;
|
|
@@ -4543,29 +4543,29 @@
|
|
|
4543
4543
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4544
4544
|
}
|
|
4545
4545
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4546
|
-
var tmp = $this.
|
|
4546
|
+
var tmp = $this.fbe_1.e76();
|
|
4547
4547
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4548
|
-
var this_0 = _this__u8e3s4.
|
|
4548
|
+
var this_0 = _this__u8e3s4.kbe_1;
|
|
4549
4549
|
var tmp_0 = copyToArray(this_0);
|
|
4550
4550
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4551
|
-
var this_1 = _this__u8e3s4.
|
|
4551
|
+
var this_1 = _this__u8e3s4.lbe_1;
|
|
4552
4552
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4553
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4553
|
+
return new ActionDeliveryPayload(_this__u8e3s4.jbe_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.mbe_1);
|
|
4554
4554
|
}
|
|
4555
4555
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4556
|
-
this.
|
|
4557
|
-
this.
|
|
4558
|
-
this.
|
|
4559
|
-
this.
|
|
4556
|
+
this.jbe_1 = tableId;
|
|
4557
|
+
this.kbe_1 = includePlayers;
|
|
4558
|
+
this.lbe_1 = excludePlayers;
|
|
4559
|
+
this.mbe_1 = deliveryType;
|
|
4560
4560
|
}
|
|
4561
4561
|
protoOf(GroupKey).toString = function () {
|
|
4562
|
-
return 'GroupKey(tableId=' + this.
|
|
4562
|
+
return 'GroupKey(tableId=' + this.jbe_1 + ', includePlayers=' + toString(this.kbe_1) + ', excludePlayers=' + toString(this.lbe_1) + ', deliveryType=' + this.mbe_1.toString() + ')';
|
|
4563
4563
|
};
|
|
4564
4564
|
protoOf(GroupKey).hashCode = function () {
|
|
4565
|
-
var result = getStringHashCode(this.
|
|
4566
|
-
result = imul(result, 31) + hashCode(this.
|
|
4567
|
-
result = imul(result, 31) + hashCode(this.
|
|
4568
|
-
result = imul(result, 31) + this.
|
|
4565
|
+
var result = getStringHashCode(this.jbe_1);
|
|
4566
|
+
result = imul(result, 31) + hashCode(this.kbe_1) | 0;
|
|
4567
|
+
result = imul(result, 31) + hashCode(this.lbe_1) | 0;
|
|
4568
|
+
result = imul(result, 31) + this.mbe_1.hashCode() | 0;
|
|
4569
4569
|
return result;
|
|
4570
4570
|
};
|
|
4571
4571
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4573,35 +4573,35 @@
|
|
|
4573
4573
|
return true;
|
|
4574
4574
|
if (!(other instanceof GroupKey))
|
|
4575
4575
|
return false;
|
|
4576
|
-
if (!(this.
|
|
4576
|
+
if (!(this.jbe_1 === other.jbe_1))
|
|
4577
4577
|
return false;
|
|
4578
|
-
if (!equals(this.
|
|
4578
|
+
if (!equals(this.kbe_1, other.kbe_1))
|
|
4579
4579
|
return false;
|
|
4580
|
-
if (!equals(this.
|
|
4580
|
+
if (!equals(this.lbe_1, other.lbe_1))
|
|
4581
4581
|
return false;
|
|
4582
|
-
if (!this.
|
|
4582
|
+
if (!this.mbe_1.equals(other.mbe_1))
|
|
4583
4583
|
return false;
|
|
4584
4584
|
return true;
|
|
4585
4585
|
};
|
|
4586
4586
|
function Companion_4() {
|
|
4587
|
-
this.
|
|
4587
|
+
this.nbe_1 = 6;
|
|
4588
4588
|
}
|
|
4589
4589
|
var Companion_instance_15;
|
|
4590
4590
|
function Companion_getInstance_5() {
|
|
4591
4591
|
return Companion_instance_15;
|
|
4592
4592
|
}
|
|
4593
4593
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4594
|
-
this.
|
|
4594
|
+
this.wbe_1 = this$0;
|
|
4595
4595
|
CoroutineImpl.call(this, resultContinuation);
|
|
4596
4596
|
}
|
|
4597
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4598
|
-
var tmp = this.
|
|
4597
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ybe = function (actions, $completion) {
|
|
4598
|
+
var tmp = this.zbe(actions, $completion);
|
|
4599
4599
|
tmp.k9_1 = Unit_instance;
|
|
4600
4600
|
tmp.l9_1 = null;
|
|
4601
4601
|
return tmp.q9();
|
|
4602
4602
|
};
|
|
4603
4603
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ca = function (p1, $completion) {
|
|
4604
|
-
return this.
|
|
4604
|
+
return this.ybe((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4605
4605
|
};
|
|
4606
4606
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).q9 = function () {
|
|
4607
4607
|
var suspendResult = this.k9_1;
|
|
@@ -4610,7 +4610,7 @@
|
|
|
4610
4610
|
var tmp = this.i9_1;
|
|
4611
4611
|
if (tmp === 0) {
|
|
4612
4612
|
this.j9_1 = 1;
|
|
4613
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4613
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.wbe_1, this.xbe_1, null));
|
|
4614
4614
|
} else if (tmp === 1) {
|
|
4615
4615
|
throw this.l9_1;
|
|
4616
4616
|
}
|
|
@@ -4620,23 +4620,23 @@
|
|
|
4620
4620
|
}
|
|
4621
4621
|
while (true);
|
|
4622
4622
|
};
|
|
4623
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4624
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4625
|
-
i.
|
|
4623
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).zbe = function (actions, completion) {
|
|
4624
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.wbe_1, completion);
|
|
4625
|
+
i.xbe_1 = actions;
|
|
4626
4626
|
return i;
|
|
4627
4627
|
};
|
|
4628
4628
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4629
4629
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4630
4630
|
var l = function (actions, $completion) {
|
|
4631
|
-
return i.
|
|
4631
|
+
return i.ybe(actions, $completion);
|
|
4632
4632
|
};
|
|
4633
4633
|
l.$arity = 1;
|
|
4634
4634
|
return l;
|
|
4635
4635
|
}
|
|
4636
4636
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4637
4637
|
CoroutineImpl.call(this, resultContinuation);
|
|
4638
|
-
this.
|
|
4639
|
-
this.
|
|
4638
|
+
this.ibf_1 = _this__u8e3s4;
|
|
4639
|
+
this.jbf_1 = fromEvent;
|
|
4640
4640
|
}
|
|
4641
4641
|
protoOf($sentEventCOROUTINE$).q9 = function () {
|
|
4642
4642
|
var suspendResult = this.k9_1;
|
|
@@ -4646,8 +4646,8 @@
|
|
|
4646
4646
|
switch (tmp) {
|
|
4647
4647
|
case 0:
|
|
4648
4648
|
this.j9_1 = 2;
|
|
4649
|
-
this.
|
|
4650
|
-
var tmp0 = this.
|
|
4649
|
+
this.ibf_1.hbe_1;
|
|
4650
|
+
var tmp0 = this.ibf_1.gbe_1;
|
|
4651
4651
|
l$ret$1: do {
|
|
4652
4652
|
while (true) {
|
|
4653
4653
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4659,7 +4659,7 @@
|
|
|
4659
4659
|
}
|
|
4660
4660
|
while (false);
|
|
4661
4661
|
this.i9_1 = 1;
|
|
4662
|
-
suspendResult = this.
|
|
4662
|
+
suspendResult = this.ibf_1.ibe_1.t2a(this.jbf_1, this);
|
|
4663
4663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4664
4664
|
return suspendResult;
|
|
4665
4665
|
}
|
|
@@ -4683,7 +4683,7 @@
|
|
|
4683
4683
|
};
|
|
4684
4684
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4685
4685
|
CoroutineImpl.call(this, resultContinuation);
|
|
4686
|
-
this.
|
|
4686
|
+
this.sbf_1 = _this__u8e3s4;
|
|
4687
4687
|
}
|
|
4688
4688
|
protoOf($waitForCOROUTINE$).q9 = function () {
|
|
4689
4689
|
var suspendResult = this.k9_1;
|
|
@@ -4693,12 +4693,12 @@
|
|
|
4693
4693
|
switch (tmp) {
|
|
4694
4694
|
case 0:
|
|
4695
4695
|
this.j9_1 = 5;
|
|
4696
|
-
this.
|
|
4697
|
-
this.
|
|
4696
|
+
this.sbf_1.hbe_1;
|
|
4697
|
+
this.tbf_1 = 0;
|
|
4698
4698
|
this.i9_1 = 1;
|
|
4699
4699
|
continue $sm;
|
|
4700
4700
|
case 1:
|
|
4701
|
-
if (!!(this.
|
|
4701
|
+
if (!!(this.sbf_1.gbe_1.kotlinx$atomicfu$value === 0)) {
|
|
4702
4702
|
this.i9_1 = 4;
|
|
4703
4703
|
continue $sm;
|
|
4704
4704
|
}
|
|
@@ -4711,9 +4711,9 @@
|
|
|
4711
4711
|
|
|
4712
4712
|
continue $sm;
|
|
4713
4713
|
case 2:
|
|
4714
|
-
this.
|
|
4715
|
-
if (this.
|
|
4716
|
-
this.
|
|
4714
|
+
this.tbf_1 = this.tbf_1 + 1 | 0;
|
|
4715
|
+
if (this.tbf_1 > 6) {
|
|
4716
|
+
this.sbf_1.ebe_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, " + ('not delivered events count = ' + this.sbf_1.gbe_1.kotlinx$atomicfu$value));
|
|
4717
4717
|
this.i9_1 = 4;
|
|
4718
4718
|
continue $sm;
|
|
4719
4719
|
} else {
|
|
@@ -4741,54 +4741,54 @@
|
|
|
4741
4741
|
while (true);
|
|
4742
4742
|
};
|
|
4743
4743
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4744
|
-
this.
|
|
4745
|
-
this.
|
|
4746
|
-
this.
|
|
4747
|
-
this.
|
|
4744
|
+
this.dbe_1 = serverReduxConfig;
|
|
4745
|
+
this.ebe_1 = logger;
|
|
4746
|
+
this.fbe_1 = idsProvider;
|
|
4747
|
+
this.gbe_1 = atomic$ref$1(0);
|
|
4748
4748
|
var tmp = this;
|
|
4749
4749
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4750
|
-
tmp.
|
|
4751
|
-
this.
|
|
4750
|
+
tmp.hbe_1 = get_atomicfu$reentrantLock();
|
|
4751
|
+
this.ibe_1 = MutableSharedFlow();
|
|
4752
4752
|
}
|
|
4753
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4753
|
+
protoOf(ToClientEventsObserverImpl).obd = function (fromEvent, $completion) {
|
|
4754
4754
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4755
4755
|
tmp.k9_1 = Unit_instance;
|
|
4756
4756
|
tmp.l9_1 = null;
|
|
4757
4757
|
return tmp.q9();
|
|
4758
4758
|
};
|
|
4759
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4759
|
+
protoOf(ToClientEventsObserverImpl).vac = function ($completion) {
|
|
4760
4760
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4761
4761
|
tmp.k9_1 = Unit_instance;
|
|
4762
4762
|
tmp.l9_1 = null;
|
|
4763
4763
|
return tmp.q9();
|
|
4764
4764
|
};
|
|
4765
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4766
|
-
if (!this.
|
|
4767
|
-
return this.
|
|
4765
|
+
protoOf(ToClientEventsObserverImpl).sb2 = function () {
|
|
4766
|
+
if (!this.dbe_1.enabledCombinedEvents) {
|
|
4767
|
+
return this.ibe_1;
|
|
4768
4768
|
}
|
|
4769
|
-
var tmp = windowedByInterval(this.
|
|
4769
|
+
var tmp = windowedByInterval(this.ibe_1, fromInt(this.dbe_1.combinedEventsIntervalMillis));
|
|
4770
4770
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4771
4771
|
};
|
|
4772
4772
|
function PlayerConnectionInteractor() {
|
|
4773
4773
|
}
|
|
4774
4774
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4775
|
-
if (waitForPlayer && $this.
|
|
4775
|
+
if (waitForPlayer && $this.ybf_1.waitForPlayerToReconnect) {
|
|
4776
4776
|
Companion_getInstance();
|
|
4777
4777
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4778
|
-
var this_0 = $this.
|
|
4778
|
+
var this_0 = $this.ybf_1.reconnectionCheckDurationMillis;
|
|
4779
4779
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4780
4780
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.d7o_1.s70().m6z(reconnectionCheckDurationMillis);
|
|
4781
4781
|
if (noRecentReconnects) {
|
|
4782
|
-
return $this.
|
|
4782
|
+
return $this.vbf(player.playerId, newConnectionState, previousConnectionState);
|
|
4783
4783
|
}
|
|
4784
4784
|
}
|
|
4785
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.b7o($this.
|
|
4785
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.b7o($this.ybf_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4786
4786
|
if (canRemoveGameWhenNoPlayers) {
|
|
4787
|
-
return listOf($this.
|
|
4787
|
+
return listOf($this.cbg_1.a9t(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4788
4788
|
}
|
|
4789
|
-
if (table.sceneInfo.
|
|
4790
|
-
if (!$this.
|
|
4791
|
-
return listOf($this.
|
|
4789
|
+
if (table.sceneInfo.s8a()) {
|
|
4790
|
+
if (!$this.zbf_1.openRoomIfFinished) {
|
|
4791
|
+
return listOf($this.cbg_1.a9t(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4792
4792
|
}
|
|
4793
4793
|
// Inline function 'kotlin.collections.filter' call
|
|
4794
4794
|
var tmp0 = table.players;
|
|
@@ -4863,27 +4863,27 @@
|
|
|
4863
4863
|
}
|
|
4864
4864
|
var readyLivePlayers = destination_3;
|
|
4865
4865
|
var usersToJoinRoomSize = table.players.g1() - notAlivePlayers.g1() | 0;
|
|
4866
|
-
if ($this.
|
|
4867
|
-
return listOf($this.
|
|
4866
|
+
if ($this.zbf_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4867
|
+
return listOf($this.cbg_1.a9t(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4868
4868
|
}
|
|
4869
4869
|
var allPlayersMadeDecision = (readyLivePlayers.g1() + notAlivePlayers.g1() | 0) === table.players.g1();
|
|
4870
4870
|
if (allPlayersMadeDecision) {
|
|
4871
|
-
var tmp0_$this = $this.
|
|
4871
|
+
var tmp0_$this = $this.cbg_1;
|
|
4872
4872
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4873
|
-
return listOf(tmp0_$this.
|
|
4873
|
+
return listOf(tmp0_$this.z9s(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4874
4874
|
}
|
|
4875
4875
|
}
|
|
4876
|
-
if (!$this.
|
|
4877
|
-
return listOf($this.
|
|
4876
|
+
if (!$this.ybf_1.botReplacesPlayerAfterTimeout) {
|
|
4877
|
+
return listOf($this.cbg_1.a9t(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4878
4878
|
}
|
|
4879
4879
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4880
4880
|
}
|
|
4881
4881
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4882
4882
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4883
4883
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4884
|
-
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4884
|
+
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.wbf(player, table, previousConnectionState)]));
|
|
4885
4885
|
if (player.d7o_1.b6z()) {
|
|
4886
|
-
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.d7o_1.i70())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.d7o_1.i70(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4886
|
+
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.d7o_1.i70())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.d7o_1.i70(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.abg_1.nai(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4887
4887
|
}
|
|
4888
4888
|
return actionsList;
|
|
4889
4889
|
}
|
|
@@ -4897,20 +4897,20 @@
|
|
|
4897
4897
|
return actionsList;
|
|
4898
4898
|
}
|
|
4899
4899
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4900
|
-
this.
|
|
4901
|
-
this.
|
|
4902
|
-
this.
|
|
4903
|
-
this.
|
|
4904
|
-
this.
|
|
4900
|
+
this.ybf_1 = serverConfig;
|
|
4901
|
+
this.zbf_1 = engineLogicConfig;
|
|
4902
|
+
this.abg_1 = playerTurnMechanicReducer;
|
|
4903
|
+
this.bbg_1 = idsProvider;
|
|
4904
|
+
this.cbg_1 = gameLifecycleInteractor;
|
|
4905
4905
|
}
|
|
4906
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4906
|
+
protoOf(PlayerConnectionInteractorImpl).ubf = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4907
4907
|
var tmp;
|
|
4908
4908
|
switch (newConnectionState.a1_1) {
|
|
4909
4909
|
case 1:
|
|
4910
4910
|
tmp = getPlayerConnectedActions(this, player, table, previousConnectionState);
|
|
4911
4911
|
break;
|
|
4912
4912
|
case 4:
|
|
4913
|
-
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.
|
|
4913
|
+
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.s8a() && table.config.isPrivate;
|
|
4914
4914
|
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, tmp1_waitForPlayer);
|
|
4915
4915
|
break;
|
|
4916
4916
|
case 5:
|
|
@@ -4936,18 +4936,18 @@
|
|
|
4936
4936
|
}
|
|
4937
4937
|
return tmp;
|
|
4938
4938
|
};
|
|
4939
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4939
|
+
protoOf(PlayerConnectionInteractorImpl).vbc = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4940
4940
|
if (!isLive) {
|
|
4941
4941
|
return emptyList();
|
|
4942
4942
|
}
|
|
4943
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4943
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.bbg_1.e76(), tableId, sendToPlayerId);
|
|
4944
4944
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4945
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4945
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.bbg_1.e76(), tableId, sendToPlayerId);
|
|
4946
4946
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4947
4947
|
};
|
|
4948
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4949
|
-
var updatedTable = this.
|
|
4950
|
-
var aid = this.
|
|
4948
|
+
protoOf(PlayerConnectionInteractorImpl).wbf = function (sendToPlayer, table, previousConnectionState) {
|
|
4949
|
+
var updatedTable = this.abg_1.nag(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4950
|
+
var aid = this.bbg_1.e76();
|
|
4951
4951
|
var tmp;
|
|
4952
4952
|
if (equals(previousConnectionState, PlayerConnectionState_WAITING_getInstance())) {
|
|
4953
4953
|
tmp = GameStartReason_getInstance();
|
|
@@ -4972,24 +4972,24 @@
|
|
|
4972
4972
|
var tmp5_table = mapToClient(updatedTable, UserActionPayload_init_$Create$(aid, tmp2_tableId, tmp1_gameCreatorPlayerId, tmp0_playerId, destination));
|
|
4973
4973
|
return new ContinueGameToClientAction(tmp5_table, reason, null, tmp4_deliveryPayload);
|
|
4974
4974
|
};
|
|
4975
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4975
|
+
protoOf(PlayerConnectionInteractorImpl).vbf = function (playerId, newConnectionState, previousConnectionState) {
|
|
4976
4976
|
var tmp = System_instance.ok();
|
|
4977
4977
|
Companion_getInstance();
|
|
4978
4978
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4979
|
-
var this_0 = this.
|
|
4979
|
+
var this_0 = this.ybf_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4980
4980
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4981
4981
|
var reconnectUntilTime = tmp.ml(tmp$ret$0);
|
|
4982
4982
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4983
4983
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4984
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4984
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.ybf_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4985
4985
|
};
|
|
4986
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4986
|
+
protoOf(PlayerConnectionInteractorImpl).xbf = function (isBot, playerId, connectedPlayers) {
|
|
4987
4987
|
var tmp;
|
|
4988
4988
|
if (isBot) {
|
|
4989
4989
|
tmp = Companion_instance_3.h6z(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
4990
4990
|
} else {
|
|
4991
4991
|
var tmp_0;
|
|
4992
|
-
if (this.
|
|
4992
|
+
if (this.ybf_1.waitForPlayerToConnectOnStart) {
|
|
4993
4993
|
var tmp_1;
|
|
4994
4994
|
if (connectedPlayers.m2(playerId)) {
|
|
4995
4995
|
tmp_1 = Companion_instance_3.h6z(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -5005,154 +5005,154 @@
|
|
|
5005
5005
|
return tmp;
|
|
5006
5006
|
};
|
|
5007
5007
|
function UpdateServerConfigAction(serverConfig) {
|
|
5008
|
-
this.
|
|
5008
|
+
this.dbg_1 = serverConfig;
|
|
5009
5009
|
}
|
|
5010
5010
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
5011
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
5011
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.dbg_1.toString() + ')';
|
|
5012
5012
|
};
|
|
5013
5013
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
5014
|
-
return this.
|
|
5014
|
+
return this.dbg_1.hashCode();
|
|
5015
5015
|
};
|
|
5016
5016
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
5017
5017
|
if (this === other)
|
|
5018
5018
|
return true;
|
|
5019
5019
|
if (!(other instanceof UpdateServerConfigAction))
|
|
5020
5020
|
return false;
|
|
5021
|
-
if (!this.
|
|
5021
|
+
if (!this.dbg_1.equals(other.dbg_1))
|
|
5022
5022
|
return false;
|
|
5023
5023
|
return true;
|
|
5024
5024
|
};
|
|
5025
5025
|
function SpectatorsAction() {
|
|
5026
5026
|
}
|
|
5027
5027
|
function AddSpectatorsAction(spectators) {
|
|
5028
|
-
this.
|
|
5028
|
+
this.ebg_1 = spectators;
|
|
5029
5029
|
}
|
|
5030
5030
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
5031
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
5031
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ebg_1) + ')';
|
|
5032
5032
|
};
|
|
5033
5033
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
5034
|
-
return hashCode(this.
|
|
5034
|
+
return hashCode(this.ebg_1);
|
|
5035
5035
|
};
|
|
5036
5036
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
5037
5037
|
if (this === other)
|
|
5038
5038
|
return true;
|
|
5039
5039
|
if (!(other instanceof AddSpectatorsAction))
|
|
5040
5040
|
return false;
|
|
5041
|
-
if (!equals(this.
|
|
5041
|
+
if (!equals(this.ebg_1, other.ebg_1))
|
|
5042
5042
|
return false;
|
|
5043
5043
|
return true;
|
|
5044
5044
|
};
|
|
5045
5045
|
function RemoveSpectatorsAction(spectators) {
|
|
5046
|
-
this.
|
|
5046
|
+
this.fbg_1 = spectators;
|
|
5047
5047
|
}
|
|
5048
5048
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
5049
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
5049
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.fbg_1) + ')';
|
|
5050
5050
|
};
|
|
5051
5051
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
5052
|
-
return hashCode(this.
|
|
5052
|
+
return hashCode(this.fbg_1);
|
|
5053
5053
|
};
|
|
5054
5054
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
5055
5055
|
if (this === other)
|
|
5056
5056
|
return true;
|
|
5057
5057
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
5058
5058
|
return false;
|
|
5059
|
-
if (!equals(this.
|
|
5059
|
+
if (!equals(this.fbg_1, other.fbg_1))
|
|
5060
5060
|
return false;
|
|
5061
5061
|
return true;
|
|
5062
5062
|
};
|
|
5063
5063
|
function _get_asyncProvider__jbpyhw($this) {
|
|
5064
|
-
var tmp0 = $this.
|
|
5064
|
+
var tmp0 = $this.lbg_1;
|
|
5065
5065
|
var tmp = KProperty1;
|
|
5066
5066
|
// Inline function 'kotlin.getValue' call
|
|
5067
5067
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
5068
5068
|
return tmp0.o1();
|
|
5069
5069
|
}
|
|
5070
5070
|
function _get_logger__rkp4sl($this) {
|
|
5071
|
-
var tmp0 = $this.
|
|
5071
|
+
var tmp0 = $this.mbg_1;
|
|
5072
5072
|
var tmp = KProperty1;
|
|
5073
5073
|
// Inline function 'kotlin.getValue' call
|
|
5074
5074
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
5075
5075
|
return tmp0.o1();
|
|
5076
5076
|
}
|
|
5077
5077
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
5078
|
-
var tmp0 = $this.
|
|
5078
|
+
var tmp0 = $this.nbg_1;
|
|
5079
5079
|
var tmp = KProperty1;
|
|
5080
5080
|
// Inline function 'kotlin.getValue' call
|
|
5081
5081
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
5082
5082
|
return tmp0.o1();
|
|
5083
5083
|
}
|
|
5084
5084
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
5085
|
-
var tmp0 = $this.
|
|
5085
|
+
var tmp0 = $this.obg_1;
|
|
5086
5086
|
var tmp = KProperty1;
|
|
5087
5087
|
// Inline function 'kotlin.getValue' call
|
|
5088
5088
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
5089
5089
|
return tmp0.o1();
|
|
5090
5090
|
}
|
|
5091
5091
|
function _get_serverConfig__rk2g06($this) {
|
|
5092
|
-
var tmp0 = $this.
|
|
5092
|
+
var tmp0 = $this.pbg_1;
|
|
5093
5093
|
var tmp = KProperty1;
|
|
5094
5094
|
// Inline function 'kotlin.getValue' call
|
|
5095
5095
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
5096
5096
|
return tmp0.o1();
|
|
5097
5097
|
}
|
|
5098
5098
|
function _get_logicConfig__52ww9d($this) {
|
|
5099
|
-
var tmp0 = $this.
|
|
5099
|
+
var tmp0 = $this.qbg_1;
|
|
5100
5100
|
var tmp = KProperty1;
|
|
5101
5101
|
// Inline function 'kotlin.getValue' call
|
|
5102
5102
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
5103
5103
|
return tmp0.o1();
|
|
5104
5104
|
}
|
|
5105
5105
|
function _get_idsProvider__fnfajc_0($this) {
|
|
5106
|
-
var tmp0 = $this.
|
|
5106
|
+
var tmp0 = $this.rbg_1;
|
|
5107
5107
|
var tmp = KProperty1;
|
|
5108
5108
|
// Inline function 'kotlin.getValue' call
|
|
5109
5109
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
5110
5110
|
return tmp0.o1();
|
|
5111
5111
|
}
|
|
5112
5112
|
function _get_botConfig__cpaxzc($this) {
|
|
5113
|
-
var tmp0 = $this.
|
|
5113
|
+
var tmp0 = $this.sbg_1;
|
|
5114
5114
|
var tmp = KProperty1;
|
|
5115
5115
|
// Inline function 'kotlin.getValue' call
|
|
5116
5116
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
5117
5117
|
return tmp0.o1();
|
|
5118
5118
|
}
|
|
5119
5119
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
5120
|
-
var tmp0 = $this.
|
|
5120
|
+
var tmp0 = $this.tbg_1;
|
|
5121
5121
|
var tmp = KProperty1;
|
|
5122
5122
|
// Inline function 'kotlin.getValue' call
|
|
5123
5123
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
5124
5124
|
return tmp0.o1();
|
|
5125
5125
|
}
|
|
5126
5126
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
5127
|
-
var tmp0 = $this.
|
|
5127
|
+
var tmp0 = $this.ubg_1;
|
|
5128
5128
|
var tmp = KProperty1;
|
|
5129
5129
|
// Inline function 'kotlin.getValue' call
|
|
5130
5130
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
5131
5131
|
return tmp0.o1();
|
|
5132
5132
|
}
|
|
5133
5133
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
5134
|
-
var tmp0 = $this.
|
|
5134
|
+
var tmp0 = $this.vbg_1;
|
|
5135
5135
|
var tmp = KProperty1;
|
|
5136
5136
|
// Inline function 'kotlin.getValue' call
|
|
5137
5137
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
5138
5138
|
return tmp0.o1();
|
|
5139
5139
|
}
|
|
5140
5140
|
function _get_dealerConfig__183ci8($this) {
|
|
5141
|
-
var tmp0 = $this.
|
|
5141
|
+
var tmp0 = $this.wbg_1;
|
|
5142
5142
|
var tmp = KProperty1;
|
|
5143
5143
|
// Inline function 'kotlin.getValue' call
|
|
5144
5144
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
5145
5145
|
return tmp0.o1();
|
|
5146
5146
|
}
|
|
5147
5147
|
function _get_poolProvider__tqti6a($this) {
|
|
5148
|
-
var tmp0 = $this.
|
|
5148
|
+
var tmp0 = $this.xbg_1;
|
|
5149
5149
|
var tmp = KProperty1;
|
|
5150
5150
|
// Inline function 'kotlin.getValue' call
|
|
5151
5151
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
5152
5152
|
return tmp0.o1();
|
|
5153
5153
|
}
|
|
5154
5154
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
5155
|
-
var tmp0 = $this.
|
|
5155
|
+
var tmp0 = $this.ybg_1;
|
|
5156
5156
|
var tmp = KProperty1;
|
|
5157
5157
|
// Inline function 'kotlin.getValue' call
|
|
5158
5158
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5316,11 +5316,11 @@
|
|
|
5316
5316
|
tmp = fileLoggerStoreContract;
|
|
5317
5317
|
}
|
|
5318
5318
|
fileLoggerStoreContract = tmp;
|
|
5319
|
-
this.
|
|
5320
|
-
this.
|
|
5321
|
-
this.
|
|
5322
|
-
this.
|
|
5323
|
-
this.
|
|
5319
|
+
this.gbg_1 = validationStoreContract;
|
|
5320
|
+
this.hbg_1 = timersStoreContract;
|
|
5321
|
+
this.ibg_1 = botGameStoreContract;
|
|
5322
|
+
this.jbg_1 = gameMechanicStoreContract;
|
|
5323
|
+
this.kbg_1 = fileLoggerStoreContract;
|
|
5324
5324
|
var tmp_0 = this;
|
|
5325
5325
|
// Inline function 'org.kodein.di.instance' call
|
|
5326
5326
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5328,7 +5328,7 @@
|
|
|
5328
5328
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5329
5329
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5330
5330
|
var tmp_3 = KProperty1;
|
|
5331
|
-
tmp_0.
|
|
5331
|
+
tmp_0.lbg_1 = tmp_2.e6w(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5332
5332
|
var tmp_4 = this;
|
|
5333
5333
|
// Inline function 'org.kodein.di.instance' call
|
|
5334
5334
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5336,7 +5336,7 @@
|
|
|
5336
5336
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5337
5337
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5338
5338
|
var tmp_7 = KProperty1;
|
|
5339
|
-
tmp_4.
|
|
5339
|
+
tmp_4.mbg_1 = tmp_6.e6w(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5340
5340
|
var tmp_8 = this;
|
|
5341
5341
|
// Inline function 'org.kodein.di.instance' call
|
|
5342
5342
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5344,7 +5344,7 @@
|
|
|
5344
5344
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5345
5345
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5346
5346
|
var tmp_11 = KProperty1;
|
|
5347
|
-
tmp_8.
|
|
5347
|
+
tmp_8.nbg_1 = tmp_10.e6w(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5348
5348
|
var tmp_12 = this;
|
|
5349
5349
|
// Inline function 'org.kodein.di.instance' call
|
|
5350
5350
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5352,7 +5352,7 @@
|
|
|
5352
5352
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5353
5353
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5354
5354
|
var tmp_15 = KProperty1;
|
|
5355
|
-
tmp_12.
|
|
5355
|
+
tmp_12.obg_1 = tmp_14.e6w(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5356
5356
|
var tmp_16 = this;
|
|
5357
5357
|
// Inline function 'org.kodein.di.instance' call
|
|
5358
5358
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5360,7 +5360,7 @@
|
|
|
5360
5360
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5361
5361
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5362
5362
|
var tmp_19 = KProperty1;
|
|
5363
|
-
tmp_16.
|
|
5363
|
+
tmp_16.pbg_1 = tmp_18.e6w(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5364
5364
|
var tmp_20 = this;
|
|
5365
5365
|
// Inline function 'org.kodein.di.instance' call
|
|
5366
5366
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5368,7 +5368,7 @@
|
|
|
5368
5368
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5369
5369
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5370
5370
|
var tmp_23 = KProperty1;
|
|
5371
|
-
tmp_20.
|
|
5371
|
+
tmp_20.qbg_1 = tmp_22.e6w(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5372
5372
|
var tmp_24 = this;
|
|
5373
5373
|
// Inline function 'org.kodein.di.instance' call
|
|
5374
5374
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5376,7 +5376,7 @@
|
|
|
5376
5376
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5377
5377
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5378
5378
|
var tmp_27 = KProperty1;
|
|
5379
|
-
tmp_24.
|
|
5379
|
+
tmp_24.rbg_1 = tmp_26.e6w(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5380
5380
|
var tmp_28 = this;
|
|
5381
5381
|
// Inline function 'org.kodein.di.instance' call
|
|
5382
5382
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5384,7 +5384,7 @@
|
|
|
5384
5384
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5385
5385
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5386
5386
|
var tmp_31 = KProperty1;
|
|
5387
|
-
tmp_28.
|
|
5387
|
+
tmp_28.sbg_1 = tmp_30.e6w(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5388
5388
|
var tmp_32 = this;
|
|
5389
5389
|
// Inline function 'org.kodein.di.instance' call
|
|
5390
5390
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5392,7 +5392,7 @@
|
|
|
5392
5392
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5393
5393
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5394
5394
|
var tmp_35 = KProperty1;
|
|
5395
|
-
tmp_32.
|
|
5395
|
+
tmp_32.tbg_1 = tmp_34.e6w(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5396
5396
|
var tmp_36 = this;
|
|
5397
5397
|
// Inline function 'org.kodein.di.instance' call
|
|
5398
5398
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5400,7 +5400,7 @@
|
|
|
5400
5400
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5401
5401
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5402
5402
|
var tmp_39 = KProperty1;
|
|
5403
|
-
tmp_36.
|
|
5403
|
+
tmp_36.ubg_1 = tmp_38.e6w(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5404
5404
|
var tmp_40 = this;
|
|
5405
5405
|
// Inline function 'org.kodein.di.instance' call
|
|
5406
5406
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5408,7 +5408,7 @@
|
|
|
5408
5408
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5409
5409
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5410
5410
|
var tmp_43 = KProperty1;
|
|
5411
|
-
tmp_40.
|
|
5411
|
+
tmp_40.vbg_1 = tmp_42.e6w(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5412
5412
|
var tmp_44 = this;
|
|
5413
5413
|
// Inline function 'org.kodein.di.instance' call
|
|
5414
5414
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5416,7 +5416,7 @@
|
|
|
5416
5416
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5417
5417
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5418
5418
|
var tmp_47 = KProperty1;
|
|
5419
|
-
tmp_44.
|
|
5419
|
+
tmp_44.wbg_1 = tmp_46.e6w(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5420
5420
|
var tmp_48 = this;
|
|
5421
5421
|
// Inline function 'org.kodein.di.instance' call
|
|
5422
5422
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5424,7 +5424,7 @@
|
|
|
5424
5424
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5425
5425
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5426
5426
|
var tmp_51 = KProperty1;
|
|
5427
|
-
tmp_48.
|
|
5427
|
+
tmp_48.xbg_1 = tmp_50.e6w(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5428
5428
|
var tmp_52 = this;
|
|
5429
5429
|
// Inline function 'org.kodein.di.instance' call
|
|
5430
5430
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5432,20 +5432,20 @@
|
|
|
5432
5432
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5433
5433
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5434
5434
|
var tmp_55 = KProperty1;
|
|
5435
|
-
tmp_52.
|
|
5435
|
+
tmp_52.ybg_1 = tmp_54.e6w(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5436
5436
|
}
|
|
5437
|
-
protoOf(ServerGameStoreContract).
|
|
5438
|
-
return plus(plus(plus(plus(plus(this.
|
|
5437
|
+
protoOf(ServerGameStoreContract).ua3 = function () {
|
|
5438
|
+
return plus(plus(plus(plus(plus(this.gbg_1.ua3(), this.jbg_1.ua3()), this.hbg_1.ua3()), this.ibg_1.ua3()), this.kbg_1.ua3()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5439
5439
|
};
|
|
5440
|
-
protoOf(ServerGameStoreContract).
|
|
5441
|
-
var tmp = this.
|
|
5440
|
+
protoOf(ServerGameStoreContract).va3 = function () {
|
|
5441
|
+
var tmp = this.gbg_1.va3();
|
|
5442
5442
|
var tmp_0;
|
|
5443
5443
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5444
5444
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5445
5445
|
} else {
|
|
5446
5446
|
tmp_0 = null;
|
|
5447
5447
|
}
|
|
5448
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5448
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.jbg_1.va3()), this.hbg_1.va3()), this.ibg_1.va3()), this.kbg_1.va3());
|
|
5449
5449
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5450
5450
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5451
5451
|
var tmp_4;
|
|
@@ -5454,13 +5454,13 @@
|
|
|
5454
5454
|
} else {
|
|
5455
5455
|
tmp_4 = null;
|
|
5456
5456
|
}
|
|
5457
|
-
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this), _get_playerConnectionInteractor__si6cxf_0(this))).
|
|
5457
|
+
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this), _get_playerConnectionInteractor__si6cxf_0(this))).da6(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5458
5458
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5459
5459
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5460
5460
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
5461
5461
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5462
5462
|
var tmp_7 = playerTurnTimeoutWhenHasConnectionMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
5463
|
-
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.
|
|
5463
|
+
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.kbg_1.ea4()]));
|
|
5464
5464
|
var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5465
5465
|
var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
|
|
5466
5466
|
var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
|
|
@@ -5505,7 +5505,7 @@
|
|
|
5505
5505
|
return this.i7a(store, next, action);
|
|
5506
5506
|
};
|
|
5507
5507
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5508
|
-
this.
|
|
5508
|
+
this.cbh_1 = this$0;
|
|
5509
5509
|
}
|
|
5510
5510
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).t78 = function (action) {
|
|
5511
5511
|
return action instanceof MechanicAction;
|
|
@@ -5516,17 +5516,17 @@
|
|
|
5516
5516
|
// Inline function 'kotlin.with' call
|
|
5517
5517
|
var tmp;
|
|
5518
5518
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5519
|
-
var tmp0 = this.
|
|
5520
|
-
var tmp2 = action_0.
|
|
5521
|
-
var tmp4 = action_0.
|
|
5519
|
+
var tmp0 = this.cbh_1;
|
|
5520
|
+
var tmp2 = action_0.ba0_1;
|
|
5521
|
+
var tmp4 = action_0.da0_1;
|
|
5522
5522
|
// Inline function 'kotlin.collections.map' call
|
|
5523
|
-
var this_0 = action_0.
|
|
5523
|
+
var this_0 = action_0.ea0_1;
|
|
5524
5524
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5525
5525
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5526
5526
|
var _iterator__ex2g4s = this_0.t();
|
|
5527
5527
|
while (_iterator__ex2g4s.u()) {
|
|
5528
5528
|
var item = _iterator__ex2g4s.v();
|
|
5529
|
-
var tmp$ret$0 = to(item.d6y_1, this.
|
|
5529
|
+
var tmp$ret$0 = to(item.d6y_1, this.cbh_1.bbh_1.xbf(item.isBot, item.d6y_1, get_serverStatePayload_0(state).connectedPlayers).c6z_1);
|
|
5530
5530
|
destination.e1(tmp$ret$0);
|
|
5531
5531
|
}
|
|
5532
5532
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5556,7 +5556,7 @@
|
|
|
5556
5556
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
5557
5557
|
while (_iterator__ex2g4s_2.u()) {
|
|
5558
5558
|
var element_0 = _iterator__ex2g4s_2.v();
|
|
5559
|
-
var tmp0_aid = tmp0.
|
|
5559
|
+
var tmp0_aid = tmp0.abh_1.e76();
|
|
5560
5560
|
// Inline function 'kotlin.collections.map' call
|
|
5561
5561
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5562
5562
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5578,15 +5578,15 @@
|
|
|
5578
5578
|
tmp = destination_2;
|
|
5579
5579
|
} else {
|
|
5580
5580
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5581
|
-
var tmp0_0 = this.
|
|
5581
|
+
var tmp0_0 = this.cbh_1;
|
|
5582
5582
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5583
5583
|
var tableId = state.m7k().id;
|
|
5584
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5584
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.abh_1.e76(), tableId, null);
|
|
5585
5585
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5586
5586
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5587
5587
|
} else {
|
|
5588
5588
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5589
|
-
var tmp0_1 = this.
|
|
5589
|
+
var tmp0_1 = this.cbh_1;
|
|
5590
5590
|
var tmp2_0 = action_0.table.id;
|
|
5591
5591
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5592
5592
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5626,7 +5626,7 @@
|
|
|
5626
5626
|
var _iterator__ex2g4s_7 = destination_6.t();
|
|
5627
5627
|
while (_iterator__ex2g4s_7.u()) {
|
|
5628
5628
|
var element_2 = _iterator__ex2g4s_7.v();
|
|
5629
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5629
|
+
var tmp0_aid_0 = tmp0_1.abh_1.e76();
|
|
5630
5630
|
// Inline function 'kotlin.collections.map' call
|
|
5631
5631
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5632
5632
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5648,39 +5648,39 @@
|
|
|
5648
5648
|
tmp = destination_7;
|
|
5649
5649
|
} else {
|
|
5650
5650
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5651
|
-
var tmp0_2 = this.
|
|
5651
|
+
var tmp0_2 = this.cbh_1;
|
|
5652
5652
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5653
5653
|
var tableId_0 = state.m7k().id;
|
|
5654
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5654
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.abh_1.e76(), tableId_0, null);
|
|
5655
5655
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5656
5656
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5657
5657
|
} else {
|
|
5658
5658
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5659
|
-
var tmp0_3 = this.
|
|
5659
|
+
var tmp0_3 = this.cbh_1;
|
|
5660
5660
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5661
5661
|
var tableId_1 = state.m7k().id;
|
|
5662
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5662
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.abh_1.e76(), tableId_1, null);
|
|
5663
5663
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5664
5664
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5665
5665
|
} else {
|
|
5666
5666
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5667
|
-
var tmp0_4 = this.
|
|
5667
|
+
var tmp0_4 = this.cbh_1;
|
|
5668
5668
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5669
5669
|
var tableId_2 = state.m7k().id;
|
|
5670
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5670
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.abh_1.e76(), tableId_2, null);
|
|
5671
5671
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5672
5672
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5673
5673
|
} else {
|
|
5674
5674
|
if (action_0 instanceof ErrorAction) {
|
|
5675
|
-
var tmp0_5 = this.
|
|
5675
|
+
var tmp0_5 = this.cbh_1;
|
|
5676
5676
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5677
5677
|
var tableId_3 = state.m7k().id;
|
|
5678
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5678
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.abh_1.e76(), tableId_3, null);
|
|
5679
5679
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5680
5680
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5681
5681
|
} else {
|
|
5682
5682
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5683
|
-
var tmp0_6 = this.
|
|
5683
|
+
var tmp0_6 = this.cbh_1;
|
|
5684
5684
|
var tmp2_1 = state.m7k().id;
|
|
5685
5685
|
var tmp4_1 = state.m7k().playersConnections;
|
|
5686
5686
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5712,7 +5712,7 @@
|
|
|
5712
5712
|
var _iterator__ex2g4s_11 = destination_10.t();
|
|
5713
5713
|
while (_iterator__ex2g4s_11.u()) {
|
|
5714
5714
|
var element_4 = _iterator__ex2g4s_11.v();
|
|
5715
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5715
|
+
var tmp0_aid_1 = tmp0_6.abh_1.e76();
|
|
5716
5716
|
// Inline function 'kotlin.collections.map' call
|
|
5717
5717
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5718
5718
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_1, 10));
|
|
@@ -5734,7 +5734,7 @@
|
|
|
5734
5734
|
tmp = destination_11;
|
|
5735
5735
|
} else {
|
|
5736
5736
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5737
|
-
var tmp0_7 = this.
|
|
5737
|
+
var tmp0_7 = this.cbh_1;
|
|
5738
5738
|
var tmp2_2 = state.m7k().id;
|
|
5739
5739
|
var tmp4_2 = state.m7k().playersConnections;
|
|
5740
5740
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5766,7 +5766,7 @@
|
|
|
5766
5766
|
var _iterator__ex2g4s_15 = destination_14.t();
|
|
5767
5767
|
while (_iterator__ex2g4s_15.u()) {
|
|
5768
5768
|
var element_6 = _iterator__ex2g4s_15.v();
|
|
5769
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5769
|
+
var tmp0_aid_2 = tmp0_7.abh_1.e76();
|
|
5770
5770
|
// Inline function 'kotlin.collections.map' call
|
|
5771
5771
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5772
5772
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_2, 10));
|
|
@@ -5788,7 +5788,7 @@
|
|
|
5788
5788
|
tmp = destination_15;
|
|
5789
5789
|
} else {
|
|
5790
5790
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5791
|
-
var tmp0_8 = this.
|
|
5791
|
+
var tmp0_8 = this.cbh_1;
|
|
5792
5792
|
var tmp2_3 = state.m7k().id;
|
|
5793
5793
|
var tmp4_3 = state.m7k().playersConnections;
|
|
5794
5794
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5820,7 +5820,7 @@
|
|
|
5820
5820
|
var _iterator__ex2g4s_19 = destination_18.t();
|
|
5821
5821
|
while (_iterator__ex2g4s_19.u()) {
|
|
5822
5822
|
var element_8 = _iterator__ex2g4s_19.v();
|
|
5823
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5823
|
+
var tmp0_aid_3 = tmp0_8.abh_1.e76();
|
|
5824
5824
|
// Inline function 'kotlin.collections.map' call
|
|
5825
5825
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5826
5826
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5832,7 +5832,7 @@
|
|
|
5832
5832
|
}
|
|
5833
5833
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, gameCreatorPlayerId_1, element_8, destination_20);
|
|
5834
5834
|
var tmp_0;
|
|
5835
|
-
if (this.
|
|
5835
|
+
if (this.cbh_1.zbg_1.supportBackwardActions && getPlayer(state.m7k().players, sendToPlayer_8.l8b_1).f7o_1.t7s_1) {
|
|
5836
5836
|
tmp_0 = null;
|
|
5837
5837
|
} else {
|
|
5838
5838
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5848,81 +5848,81 @@
|
|
|
5848
5848
|
tmp = destination_19;
|
|
5849
5849
|
} else {
|
|
5850
5850
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5851
|
-
var tmp0_9 = this.
|
|
5851
|
+
var tmp0_9 = this.cbh_1;
|
|
5852
5852
|
var tmp2_4 = state.m7k().id;
|
|
5853
5853
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5854
|
-
var exceptPlayerId = this.
|
|
5855
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5854
|
+
var exceptPlayerId = this.cbh_1.zbg_1.supportBackwardActions ? action_0.ua0_1 : null;
|
|
5855
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.abh_1.e76(), tmp2_4, exceptPlayerId);
|
|
5856
5856
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5857
5857
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5858
5858
|
} else {
|
|
5859
5859
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5860
|
-
var tmp0_10 = this.
|
|
5860
|
+
var tmp0_10 = this.cbh_1;
|
|
5861
5861
|
var tmp2_5 = state.m7k().id;
|
|
5862
5862
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5863
|
-
var exceptPlayerId_0 = this.
|
|
5864
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5863
|
+
var exceptPlayerId_0 = this.cbh_1.zbg_1.supportBackwardActions ? action_0.a9w_1 : null;
|
|
5864
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.abh_1.e76(), tmp2_5, exceptPlayerId_0);
|
|
5865
5865
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5866
5866
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5867
5867
|
} else {
|
|
5868
5868
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5869
|
-
var tmp0_11 = this.
|
|
5869
|
+
var tmp0_11 = this.cbh_1;
|
|
5870
5870
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5871
5871
|
var tableId_4 = state.m7k().id;
|
|
5872
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5872
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.abh_1.e76(), tableId_4, null);
|
|
5873
5873
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5874
5874
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5875
5875
|
} else {
|
|
5876
5876
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5877
|
-
var tmp0_12 = this.
|
|
5877
|
+
var tmp0_12 = this.cbh_1;
|
|
5878
5878
|
var tmp2_6 = state.m7k().id;
|
|
5879
5879
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5880
|
-
var exceptPlayerId_1 = this.
|
|
5881
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5880
|
+
var exceptPlayerId_1 = this.cbh_1.zbg_1.supportBackwardActions ? action_0.aa1_1 : null;
|
|
5881
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.abh_1.e76(), tmp2_6, exceptPlayerId_1);
|
|
5882
5882
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5883
5883
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5884
5884
|
} else {
|
|
5885
5885
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5886
|
-
var tmp0_13 = this.
|
|
5886
|
+
var tmp0_13 = this.cbh_1;
|
|
5887
5887
|
var tmp2_7 = state.m7k().id;
|
|
5888
5888
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5889
|
-
var exceptPlayerId_2 = this.
|
|
5890
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5889
|
+
var exceptPlayerId_2 = this.cbh_1.zbg_1.supportBackwardActions ? action_0.g9w_1 : null;
|
|
5890
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.abh_1.e76(), tmp2_7, exceptPlayerId_2);
|
|
5891
5891
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5892
5892
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5893
5893
|
} else {
|
|
5894
5894
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5895
|
-
var tmp0_14 = this.
|
|
5895
|
+
var tmp0_14 = this.cbh_1;
|
|
5896
5896
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5897
5897
|
var tableId_5 = state.m7k().id;
|
|
5898
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5898
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.abh_1.e76(), tableId_5, null);
|
|
5899
5899
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5900
5900
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5901
5901
|
} else {
|
|
5902
5902
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5903
|
-
var tmp0_15 = this.
|
|
5903
|
+
var tmp0_15 = this.cbh_1;
|
|
5904
5904
|
var tmp2_8 = state.m7k().id;
|
|
5905
5905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5906
|
-
var exceptPlayerId_3 = this.
|
|
5907
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5906
|
+
var exceptPlayerId_3 = this.cbh_1.zbg_1.supportBackwardActions ? action_0.ca1_1 : null;
|
|
5907
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.abh_1.e76(), tmp2_8, exceptPlayerId_3);
|
|
5908
5908
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5909
5909
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5910
5910
|
} else {
|
|
5911
5911
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5912
|
-
var tmp0_16 = this.
|
|
5912
|
+
var tmp0_16 = this.cbh_1;
|
|
5913
5913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5914
5914
|
var tableId_6 = state.m7k().id;
|
|
5915
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5915
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.abh_1.e76(), tableId_6, null);
|
|
5916
5916
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5917
5917
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5918
5918
|
} else {
|
|
5919
5919
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5920
5920
|
var message = action_0.message;
|
|
5921
|
-
var tmp0_17 = this.
|
|
5921
|
+
var tmp0_17 = this.cbh_1;
|
|
5922
5922
|
var tmp2_9 = state.m7k().id;
|
|
5923
5923
|
var tmp_1;
|
|
5924
5924
|
var tmp_2;
|
|
5925
|
-
if (this.
|
|
5925
|
+
if (this.cbh_1.zbg_1.supportBackwardActions) {
|
|
5926
5926
|
tmp_2 = isInterface(message, UserMessage);
|
|
5927
5927
|
} else {
|
|
5928
5928
|
tmp_2 = false;
|
|
@@ -5934,16 +5934,16 @@
|
|
|
5934
5934
|
}
|
|
5935
5935
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5936
5936
|
var exceptPlayerId_4 = tmp_1;
|
|
5937
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5937
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.abh_1.e76(), tmp2_9, exceptPlayerId_4);
|
|
5938
5938
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5939
5939
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5940
5940
|
} else {
|
|
5941
5941
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5942
|
-
var tmp0_18 = this.
|
|
5942
|
+
var tmp0_18 = this.cbh_1;
|
|
5943
5943
|
var tmp2_10 = state.m7k().id;
|
|
5944
5944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5945
5945
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5946
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5946
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.abh_1.e76(), tmp2_10, exceptPlayerId_5);
|
|
5947
5947
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5948
5948
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5949
5949
|
} else {
|
|
@@ -5981,11 +5981,11 @@
|
|
|
5981
5981
|
return this.i7a(store, next, action);
|
|
5982
5982
|
};
|
|
5983
5983
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
5984
|
-
this.
|
|
5985
|
-
this.
|
|
5986
|
-
this.
|
|
5984
|
+
this.zbg_1 = logicConfig;
|
|
5985
|
+
this.abh_1 = idsProvider;
|
|
5986
|
+
this.bbh_1 = playerConnectionInteractor;
|
|
5987
5987
|
}
|
|
5988
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5988
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).da6 = function () {
|
|
5989
5989
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5990
5990
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5991
5991
|
};
|
|
@@ -5994,8 +5994,8 @@
|
|
|
5994
5994
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5995
5995
|
}
|
|
5996
5996
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5997
|
-
this.
|
|
5998
|
-
this.
|
|
5997
|
+
this.dbh_1 = $logger;
|
|
5998
|
+
this.ebh_1 = $playerConnectionInteractor;
|
|
5999
5999
|
}
|
|
6000
6000
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).t78 = function (action) {
|
|
6001
6001
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -6008,15 +6008,15 @@
|
|
|
6008
6008
|
if (!get_isCreated(state)) {
|
|
6009
6009
|
break $l$block_1;
|
|
6010
6010
|
}
|
|
6011
|
-
var player = getPlayer(state.m7k().players, tmp4.
|
|
6012
|
-
if (tmp4.
|
|
6011
|
+
var player = getPlayer(state.m7k().players, tmp4.j9z_1);
|
|
6012
|
+
if (tmp4.i9z_1.isVisibleDisconnectedReason) {
|
|
6013
6013
|
if (player.d7o_1.s70().c6z_1.isDisconnecting) {
|
|
6014
|
-
if (tmp4.
|
|
6014
|
+
if (tmp4.i9z_1.canReconnect) {
|
|
6015
6015
|
break $l$block_1;
|
|
6016
6016
|
}
|
|
6017
6017
|
}
|
|
6018
6018
|
if (player.d7o_1.s70().c6z_1.isLeftPermanently) {
|
|
6019
|
-
this.
|
|
6019
|
+
this.dbh_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
6020
6020
|
break $l$block_1;
|
|
6021
6021
|
}
|
|
6022
6022
|
}
|
|
@@ -6039,7 +6039,7 @@
|
|
|
6039
6039
|
var _iterator__ex2g4s_0 = destination.t();
|
|
6040
6040
|
while (_iterator__ex2g4s_0.u()) {
|
|
6041
6041
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
6042
|
-
if (element_0.
|
|
6042
|
+
if (element_0.fbh_1 === tmp4.j9z_1) {
|
|
6043
6043
|
if (found) {
|
|
6044
6044
|
tmp$ret$4 = null;
|
|
6045
6045
|
break $l$block_3;
|
|
@@ -6058,7 +6058,7 @@
|
|
|
6058
6058
|
if (!(reconnectionTimerTag == null)) {
|
|
6059
6059
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
6060
6060
|
}
|
|
6061
|
-
var actions = this.
|
|
6061
|
+
var actions = this.ebh_1.ubf(tmp4.i9z_1, player.d7o_1.s70().c6z_1, player, store.state.m7k(), tmp4.l9z_1);
|
|
6062
6062
|
// Inline function 'kotlin.collections.forEach' call
|
|
6063
6063
|
var _iterator__ex2g4s_1 = actions.t();
|
|
6064
6064
|
while (_iterator__ex2g4s_1.u()) {
|
|
@@ -6075,17 +6075,17 @@
|
|
|
6075
6075
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6076
6076
|
}
|
|
6077
6077
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
6078
|
-
this.
|
|
6079
|
-
this.
|
|
6080
|
-
this.
|
|
6078
|
+
this.fbh_1 = playerId;
|
|
6079
|
+
this.gbh_1 = state;
|
|
6080
|
+
this.hbh_1 = previousState;
|
|
6081
6081
|
}
|
|
6082
6082
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
6083
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
6083
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.fbh_1 + ', state=' + this.gbh_1.toString() + ', previousState=' + this.hbh_1.toString() + ')';
|
|
6084
6084
|
};
|
|
6085
6085
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
6086
|
-
var result = getStringHashCode(this.
|
|
6087
|
-
result = imul(result, 31) + this.
|
|
6088
|
-
result = imul(result, 31) + this.
|
|
6086
|
+
var result = getStringHashCode(this.fbh_1);
|
|
6087
|
+
result = imul(result, 31) + this.gbh_1.hashCode() | 0;
|
|
6088
|
+
result = imul(result, 31) + this.hbh_1.hashCode() | 0;
|
|
6089
6089
|
return result;
|
|
6090
6090
|
};
|
|
6091
6091
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -6093,16 +6093,16 @@
|
|
|
6093
6093
|
return true;
|
|
6094
6094
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
6095
6095
|
return false;
|
|
6096
|
-
if (!(this.
|
|
6096
|
+
if (!(this.fbh_1 === other.fbh_1))
|
|
6097
6097
|
return false;
|
|
6098
|
-
if (!this.
|
|
6098
|
+
if (!this.gbh_1.equals(other.gbh_1))
|
|
6099
6099
|
return false;
|
|
6100
|
-
if (!this.
|
|
6100
|
+
if (!this.hbh_1.equals(other.hbh_1))
|
|
6101
6101
|
return false;
|
|
6102
6102
|
return true;
|
|
6103
6103
|
};
|
|
6104
6104
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6105
|
-
this.
|
|
6105
|
+
this.ibh_1 = $playerConnectionInteractor;
|
|
6106
6106
|
}
|
|
6107
6107
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).t78 = function (action) {
|
|
6108
6108
|
return action instanceof TimerTickAction;
|
|
@@ -6116,8 +6116,8 @@
|
|
|
6116
6116
|
var timerTag = tmp4.p78_1;
|
|
6117
6117
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
6118
6118
|
var state = store.state;
|
|
6119
|
-
var player = getPlayer(state.m7k().players, timerTag.
|
|
6120
|
-
var actions = this.
|
|
6119
|
+
var player = getPlayer(state.m7k().players, timerTag.fbh_1);
|
|
6120
|
+
var actions = this.ibh_1.ubf(timerTag.gbh_1, timerTag.hbh_1, player, state.m7k(), true);
|
|
6121
6121
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6122
6122
|
if (!actions.r()) {
|
|
6123
6123
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6139,7 +6139,7 @@
|
|
|
6139
6139
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6140
6140
|
}
|
|
6141
6141
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6142
|
-
this.
|
|
6142
|
+
this.jbh_1 = $playerConnectionInteractor;
|
|
6143
6143
|
}
|
|
6144
6144
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).t78 = function (action) {
|
|
6145
6145
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -6167,7 +6167,7 @@
|
|
|
6167
6167
|
var tmp1_previousConnectionState = element_0.d7o_1.s70().c6z_1;
|
|
6168
6168
|
var tmp2_playerId = element_0.playerId;
|
|
6169
6169
|
// Inline function 'kotlin.collections.forEach' call
|
|
6170
|
-
var _iterator__ex2g4s_1 = this.
|
|
6170
|
+
var _iterator__ex2g4s_1 = this.jbh_1.vbf(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).t();
|
|
6171
6171
|
while (_iterator__ex2g4s_1.u()) {
|
|
6172
6172
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
6173
6173
|
store.dispatch(element_1);
|
|
@@ -6182,8 +6182,8 @@
|
|
|
6182
6182
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6183
6183
|
}
|
|
6184
6184
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6185
|
-
this.
|
|
6186
|
-
this.
|
|
6185
|
+
this.sbh_1 = $provider;
|
|
6186
|
+
this.tbh_1 = $action;
|
|
6187
6187
|
CoroutineImpl.call(this, resultContinuation);
|
|
6188
6188
|
}
|
|
6189
6189
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).h2f = function ($this$launchDefault, $completion) {
|
|
@@ -6204,7 +6204,7 @@
|
|
|
6204
6204
|
case 0:
|
|
6205
6205
|
this.j9_1 = 2;
|
|
6206
6206
|
this.i9_1 = 1;
|
|
6207
|
-
suspendResult = this.
|
|
6207
|
+
suspendResult = this.sbh_1.obd(this.tbh_1, this);
|
|
6208
6208
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6209
6209
|
return suspendResult;
|
|
6210
6210
|
}
|
|
@@ -6227,8 +6227,8 @@
|
|
|
6227
6227
|
while (true);
|
|
6228
6228
|
};
|
|
6229
6229
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).i2f = function ($this$launchDefault, completion) {
|
|
6230
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6231
|
-
i.
|
|
6230
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.sbh_1, this.tbh_1, completion);
|
|
6231
|
+
i.ubh_1 = $this$launchDefault;
|
|
6232
6232
|
return i;
|
|
6233
6233
|
};
|
|
6234
6234
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6240,15 +6240,15 @@
|
|
|
6240
6240
|
return l;
|
|
6241
6241
|
}
|
|
6242
6242
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6243
|
-
this.
|
|
6244
|
-
this.
|
|
6243
|
+
this.vbh_1 = $asyncProvider;
|
|
6244
|
+
this.wbh_1 = $provider;
|
|
6245
6245
|
}
|
|
6246
6246
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).t78 = function (action) {
|
|
6247
6247
|
return action instanceof ToClientAction;
|
|
6248
6248
|
};
|
|
6249
6249
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).i7a = function (store, next, action) {
|
|
6250
6250
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6251
|
-
this.
|
|
6251
|
+
this.vbh_1.j74(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.wbh_1, action_0, null));
|
|
6252
6252
|
next(action_0);
|
|
6253
6253
|
};
|
|
6254
6254
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).s78 = function (store, next, action) {
|
|
@@ -6259,11 +6259,11 @@
|
|
|
6259
6259
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6260
6260
|
}
|
|
6261
6261
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6262
|
-
this.
|
|
6263
|
-
this.
|
|
6264
|
-
this.
|
|
6265
|
-
this.
|
|
6266
|
-
this.
|
|
6262
|
+
this.fbi_1 = $store;
|
|
6263
|
+
this.gbi_1 = $timerTag;
|
|
6264
|
+
this.hbi_1 = $serverConfig;
|
|
6265
|
+
this.ibi_1 = $logger;
|
|
6266
|
+
this.jbi_1 = $action;
|
|
6267
6267
|
CoroutineImpl.call(this, resultContinuation);
|
|
6268
6268
|
}
|
|
6269
6269
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).h2f = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6282,13 +6282,13 @@
|
|
|
6282
6282
|
var tmp = this.i9_1;
|
|
6283
6283
|
if (tmp === 0) {
|
|
6284
6284
|
this.j9_1 = 1;
|
|
6285
|
-
var table = this.
|
|
6286
|
-
var player = getPlayer(table.players, this.
|
|
6285
|
+
var table = this.fbi_1.state.m7k();
|
|
6286
|
+
var player = getPlayer(table.players, this.gbi_1.p6x());
|
|
6287
6287
|
var connectionState = player.d7o_1.s70().c6z_1;
|
|
6288
6288
|
var tmp_0;
|
|
6289
6289
|
switch (connectionState.a1_1) {
|
|
6290
6290
|
case 1:
|
|
6291
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6291
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.gbi_1.sad_1));
|
|
6292
6292
|
break;
|
|
6293
6293
|
case 6:
|
|
6294
6294
|
tmp_0 = emptyList();
|
|
@@ -6299,8 +6299,8 @@
|
|
|
6299
6299
|
case 2:
|
|
6300
6300
|
case 0:
|
|
6301
6301
|
var tmp_1;
|
|
6302
|
-
if (table.sceneInfo.
|
|
6303
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6302
|
+
if (table.sceneInfo.s8a() && this.hbi_1.closeIfBotsAtFinish) {
|
|
6303
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.gbi_1.sad_1);
|
|
6304
6304
|
} else {
|
|
6305
6305
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6306
6306
|
}
|
|
@@ -6308,7 +6308,7 @@
|
|
|
6308
6308
|
tmp_0 = listOf(tmp_1);
|
|
6309
6309
|
break;
|
|
6310
6310
|
case 7:
|
|
6311
|
-
this.
|
|
6311
|
+
this.ibi_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.jbi_1.toString()));
|
|
6312
6312
|
tmp_0 = emptyList();
|
|
6313
6313
|
break;
|
|
6314
6314
|
default:
|
|
@@ -6320,7 +6320,7 @@
|
|
|
6320
6320
|
var _iterator__ex2g4s = actions.t();
|
|
6321
6321
|
while (_iterator__ex2g4s.u()) {
|
|
6322
6322
|
var element = _iterator__ex2g4s.v();
|
|
6323
|
-
this.
|
|
6323
|
+
this.fbi_1.dispatch(element);
|
|
6324
6324
|
}
|
|
6325
6325
|
}
|
|
6326
6326
|
return Unit_instance;
|
|
@@ -6334,8 +6334,8 @@
|
|
|
6334
6334
|
while (true);
|
|
6335
6335
|
};
|
|
6336
6336
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).i2f = function ($this$launchDefaultWithLock, completion) {
|
|
6337
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6338
|
-
i.
|
|
6337
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.fbi_1, this.gbi_1, this.hbi_1, this.ibi_1, this.jbi_1, completion);
|
|
6338
|
+
i.kbi_1 = $this$launchDefaultWithLock;
|
|
6339
6339
|
return i;
|
|
6340
6340
|
};
|
|
6341
6341
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6347,9 +6347,9 @@
|
|
|
6347
6347
|
return l;
|
|
6348
6348
|
}
|
|
6349
6349
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6350
|
-
this.
|
|
6351
|
-
this.
|
|
6352
|
-
this.
|
|
6350
|
+
this.lbi_1 = $asyncProvider;
|
|
6351
|
+
this.mbi_1 = $serverConfig;
|
|
6352
|
+
this.nbi_1 = $logger;
|
|
6353
6353
|
}
|
|
6354
6354
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).t78 = function (action) {
|
|
6355
6355
|
return action instanceof TimerTickAction;
|
|
@@ -6358,7 +6358,7 @@
|
|
|
6358
6358
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6359
6359
|
var timerTag = action_0.p78_1;
|
|
6360
6360
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6361
|
-
this.
|
|
6361
|
+
this.lbi_1.l74(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.mbi_1, this.nbi_1, action_0, null));
|
|
6362
6362
|
}
|
|
6363
6363
|
next(action_0);
|
|
6364
6364
|
};
|
|
@@ -6374,19 +6374,19 @@
|
|
|
6374
6374
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).t78 = function (action) {
|
|
6375
6375
|
return action instanceof UpdateServerConfigAction;
|
|
6376
6376
|
};
|
|
6377
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6377
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).aag = function (state, action) {
|
|
6378
6378
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6379
|
-
return state.
|
|
6379
|
+
return state.b9z(VOID, get_serverStatePayload_0(state).copy(action_0.dbg_1));
|
|
6380
6380
|
};
|
|
6381
6381
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).j7a = function (state, action) {
|
|
6382
|
-
return this.
|
|
6382
|
+
return this.aag((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6383
6383
|
};
|
|
6384
6384
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6385
6385
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6386
6386
|
return _this__u8e3s4.metadata;
|
|
6387
6387
|
}
|
|
6388
6388
|
function Companion_5() {
|
|
6389
|
-
this.
|
|
6389
|
+
this.obi_1 = 'ServerMechanicLifecycleReducer';
|
|
6390
6390
|
}
|
|
6391
6391
|
var Companion_instance_16;
|
|
6392
6392
|
function Companion_getInstance_6() {
|
|
@@ -6394,31 +6394,31 @@
|
|
|
6394
6394
|
}
|
|
6395
6395
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6396
6396
|
return function (it) {
|
|
6397
|
-
return Companion_instance_4.o70(this$0.
|
|
6397
|
+
return Companion_instance_4.o70(this$0.sbi_1.xbf(it.isBot, it.d6y_1, $updatedServerPayload.connectedPlayers));
|
|
6398
6398
|
};
|
|
6399
6399
|
}
|
|
6400
6400
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6401
6401
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6402
|
-
this.
|
|
6403
|
-
this.
|
|
6402
|
+
this.rbi_1 = logger;
|
|
6403
|
+
this.sbi_1 = connectionInteractor;
|
|
6404
6404
|
}
|
|
6405
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6405
|
+
protoOf(ServerMechanicLifecycleReducer).sah = function (state, action) {
|
|
6406
6406
|
var serverState = get_serverStatePayload_0(state);
|
|
6407
|
-
this.
|
|
6408
|
-
var tableId = action.
|
|
6407
|
+
this.rbi_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6408
|
+
var tableId = action.ba0_1;
|
|
6409
6409
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6410
6410
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6411
|
-
var tmp0_$this = this.
|
|
6412
|
-
var tmp1_version = action.
|
|
6413
|
-
var tmp2_config = action.
|
|
6414
|
-
var tmp3_users = action.
|
|
6411
|
+
var tmp0_$this = this.tah_1;
|
|
6412
|
+
var tmp1_version = action.ca0_1;
|
|
6413
|
+
var tmp2_config = action.aa0_1;
|
|
6414
|
+
var tmp3_users = action.ea0_1;
|
|
6415
6415
|
var tmp4_spectators = action.spectators;
|
|
6416
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
6417
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6418
|
-
return state.
|
|
6416
|
+
var tmp5_gameCreatorPlayerId = action.da0_1;
|
|
6417
|
+
var tmp7_tableOrNull = tmp0_$this.baj(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload));
|
|
6418
|
+
return state.b9z(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6419
6419
|
};
|
|
6420
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6421
|
-
this.
|
|
6420
|
+
protoOf(ServerMechanicLifecycleReducer).qah = function (state, action) {
|
|
6421
|
+
this.rbi_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6422
6422
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6423
6423
|
var tmp2_tableOrNull = action.table;
|
|
6424
6424
|
var tmp = Companion_instance_17;
|
|
@@ -6426,32 +6426,32 @@
|
|
|
6426
6426
|
var tmp_1 = action.reason;
|
|
6427
6427
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
6428
6428
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o6w_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.table.gameId));
|
|
6429
|
-
return state.
|
|
6429
|
+
return state.b9z(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6430
6430
|
};
|
|
6431
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6432
|
-
this.
|
|
6431
|
+
protoOf(ServerMechanicLifecycleReducer).rah = function (state, action) {
|
|
6432
|
+
this.uah_1.o5z(action.previousGameId);
|
|
6433
6433
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6434
|
-
var tmp1_tableOrNull = this.
|
|
6434
|
+
var tmp1_tableOrNull = this.tah_1.caj(state.m7k(), action.gameId);
|
|
6435
6435
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
6436
|
-
return state.
|
|
6436
|
+
return state.b9z(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6437
6437
|
};
|
|
6438
6438
|
function spectatorsReducer(logger) {
|
|
6439
6439
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
6440
6440
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6441
6441
|
}
|
|
6442
6442
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6443
|
-
this.
|
|
6443
|
+
this.tbi_1 = $logger;
|
|
6444
6444
|
}
|
|
6445
6445
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).t78 = function (action) {
|
|
6446
6446
|
return isInterface(action, SpectatorsAction);
|
|
6447
6447
|
};
|
|
6448
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6448
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).aag = function (state, action) {
|
|
6449
6449
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6450
6450
|
var table = state.m7k();
|
|
6451
6451
|
var tmp;
|
|
6452
6452
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6453
6453
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6454
|
-
var tmp0 = action_0.
|
|
6454
|
+
var tmp0 = action_0.ebg_1;
|
|
6455
6455
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6456
6456
|
var destination = ArrayList_init_$Create$_0();
|
|
6457
6457
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6470,9 +6470,9 @@
|
|
|
6470
6470
|
var tmp_0;
|
|
6471
6471
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6472
6472
|
if (!sameSpectators.r()) {
|
|
6473
|
-
this.
|
|
6473
|
+
this.tbi_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6474
6474
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6475
|
-
var tmp0_0 = action_0.
|
|
6475
|
+
var tmp0_0 = action_0.ebg_1;
|
|
6476
6476
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6477
6477
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6478
6478
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -6507,7 +6507,7 @@
|
|
|
6507
6507
|
}
|
|
6508
6508
|
tmp_0 = destination_0;
|
|
6509
6509
|
} else {
|
|
6510
|
-
tmp_0 = action_0.
|
|
6510
|
+
tmp_0 = action_0.ebg_1;
|
|
6511
6511
|
}
|
|
6512
6512
|
// Inline function 'kotlin.collections.map' call
|
|
6513
6513
|
var this_0 = tmp_0;
|
|
@@ -6520,11 +6520,11 @@
|
|
|
6520
6520
|
destination_1.e1(tmp$ret$13);
|
|
6521
6521
|
}
|
|
6522
6522
|
var spectatorsToAdd = toSet(destination_1);
|
|
6523
|
-
tmp = state.
|
|
6523
|
+
tmp = state.b9z(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
6524
6524
|
} else {
|
|
6525
6525
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6526
6526
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6527
|
-
var tmp0_1 = action_0.
|
|
6527
|
+
var tmp0_1 = action_0.fbg_1;
|
|
6528
6528
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6529
6529
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6530
6530
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6543,9 +6543,9 @@
|
|
|
6543
6543
|
var tmp_2;
|
|
6544
6544
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6545
6545
|
if (!sameSpectators_0.r()) {
|
|
6546
|
-
this.
|
|
6546
|
+
this.tbi_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6547
6547
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6548
|
-
var tmp0_2 = action_0.
|
|
6548
|
+
var tmp0_2 = action_0.fbg_1;
|
|
6549
6549
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6550
6550
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6551
6551
|
var _iterator__ex2g4s_4 = tmp0_2.t();
|
|
@@ -6580,7 +6580,7 @@
|
|
|
6580
6580
|
}
|
|
6581
6581
|
tmp_2 = destination_3;
|
|
6582
6582
|
} else {
|
|
6583
|
-
tmp_2 = action_0.
|
|
6583
|
+
tmp_2 = action_0.fbg_1;
|
|
6584
6584
|
}
|
|
6585
6585
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6586
6586
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6617,7 +6617,7 @@
|
|
|
6617
6617
|
destination_4.e1(element_5);
|
|
6618
6618
|
}
|
|
6619
6619
|
}
|
|
6620
|
-
tmp = state.
|
|
6620
|
+
tmp = state.b9z(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
6621
6621
|
} else {
|
|
6622
6622
|
noWhenBranchMatchedException();
|
|
6623
6623
|
}
|
|
@@ -6625,7 +6625,7 @@
|
|
|
6625
6625
|
return tmp;
|
|
6626
6626
|
};
|
|
6627
6627
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j7a = function (state, action) {
|
|
6628
|
-
return this.
|
|
6628
|
+
return this.aag((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6629
6629
|
};
|
|
6630
6630
|
function playerConnectionUpdateReducer() {
|
|
6631
6631
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6636,29 +6636,29 @@
|
|
|
6636
6636
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).t78 = function (action) {
|
|
6637
6637
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6638
6638
|
};
|
|
6639
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6639
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).aag = function (state, action) {
|
|
6640
6640
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6641
6641
|
var statePayload = get_serverStatePayload_0(state);
|
|
6642
6642
|
var tmp;
|
|
6643
|
-
if (action_0.
|
|
6644
|
-
tmp = state.
|
|
6643
|
+
if (action_0.i9z_1.isLive) {
|
|
6644
|
+
tmp = state.b9z(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.j9z_1)));
|
|
6645
6645
|
} else {
|
|
6646
6646
|
tmp = state;
|
|
6647
6647
|
}
|
|
6648
6648
|
return tmp;
|
|
6649
6649
|
};
|
|
6650
6650
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).j7a = function (state, action) {
|
|
6651
|
-
return this.
|
|
6651
|
+
return this.aag((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6652
6652
|
};
|
|
6653
6653
|
function Companion_6() {
|
|
6654
6654
|
}
|
|
6655
|
-
protoOf(Companion_6).
|
|
6655
|
+
protoOf(Companion_6).ubi = function (config, metadata) {
|
|
6656
6656
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6657
6657
|
};
|
|
6658
6658
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6659
6659
|
config = config === VOID ? Companion_instance_11.initial(null) : config;
|
|
6660
6660
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6661
|
-
return $super === VOID ? this.
|
|
6661
|
+
return $super === VOID ? this.ubi(config, metadata) : $super.ubi.call(this, config, metadata);
|
|
6662
6662
|
};
|
|
6663
6663
|
var Companion_instance_17;
|
|
6664
6664
|
function Companion_getInstance_7() {
|
|
@@ -6672,10 +6672,10 @@
|
|
|
6672
6672
|
protoOf(ServerStatePayload).f41 = function () {
|
|
6673
6673
|
return this.config;
|
|
6674
6674
|
};
|
|
6675
|
-
protoOf(ServerStatePayload).
|
|
6675
|
+
protoOf(ServerStatePayload).r9h = function () {
|
|
6676
6676
|
return this.metadata;
|
|
6677
6677
|
};
|
|
6678
|
-
protoOf(ServerStatePayload).
|
|
6678
|
+
protoOf(ServerStatePayload).vbi = function () {
|
|
6679
6679
|
return this.connectedPlayers;
|
|
6680
6680
|
};
|
|
6681
6681
|
protoOf(ServerStatePayload).of = function () {
|
|
@@ -6687,14 +6687,14 @@
|
|
|
6687
6687
|
protoOf(ServerStatePayload).um = function () {
|
|
6688
6688
|
return this.connectedPlayers;
|
|
6689
6689
|
};
|
|
6690
|
-
protoOf(ServerStatePayload).
|
|
6690
|
+
protoOf(ServerStatePayload).wbi = function (config, metadata, connectedPlayers) {
|
|
6691
6691
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6692
6692
|
};
|
|
6693
6693
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6694
6694
|
config = config === VOID ? this.config : config;
|
|
6695
6695
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6696
6696
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6697
|
-
return $super === VOID ? this.
|
|
6697
|
+
return $super === VOID ? this.wbi(config, metadata, connectedPlayers) : $super.wbi.call(this, config, metadata, connectedPlayers);
|
|
6698
6698
|
};
|
|
6699
6699
|
protoOf(ServerStatePayload).toString = function () {
|
|
6700
6700
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6742,7 +6742,7 @@
|
|
|
6742
6742
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
6743
6743
|
}
|
|
6744
6744
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6745
|
-
var gameId = Companion_instance_5.
|
|
6745
|
+
var gameId = Companion_instance_5.cal(payload);
|
|
6746
6746
|
var tmp;
|
|
6747
6747
|
if (!(gameId == null)) {
|
|
6748
6748
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6759,14 +6759,14 @@
|
|
|
6759
6759
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6760
6760
|
}
|
|
6761
6761
|
function _get_logger__rkp4sl_0($this) {
|
|
6762
|
-
var tmp0 = $this.
|
|
6762
|
+
var tmp0 = $this.hbj_1;
|
|
6763
6763
|
var tmp = KProperty1;
|
|
6764
6764
|
// Inline function 'kotlin.getValue' call
|
|
6765
6765
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6766
6766
|
return tmp0.o1();
|
|
6767
6767
|
}
|
|
6768
6768
|
function _get_di__ndbzja($this) {
|
|
6769
|
-
var tmp0 = $this.
|
|
6769
|
+
var tmp0 = $this.ibj_1;
|
|
6770
6770
|
var tmp = KProperty1;
|
|
6771
6771
|
// Inline function 'kotlin.getValue' call
|
|
6772
6772
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6783,8 +6783,8 @@
|
|
|
6783
6783
|
}
|
|
6784
6784
|
function createCallbackOutput($this, gameServer) {
|
|
6785
6785
|
var tmp;
|
|
6786
|
-
if (!($this.
|
|
6787
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6786
|
+
if (!($this.ebj_1 == null)) {
|
|
6787
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ebj_1);
|
|
6788
6788
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6789
6789
|
} else {
|
|
6790
6790
|
tmp = null;
|
|
@@ -6798,11 +6798,11 @@
|
|
|
6798
6798
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6799
6799
|
return function () {
|
|
6800
6800
|
var tmp;
|
|
6801
|
-
if (this$0.
|
|
6801
|
+
if (this$0.ebj_1 == null) {
|
|
6802
6802
|
tmp = null;
|
|
6803
6803
|
} else {
|
|
6804
6804
|
// Inline function 'kotlin.let' call
|
|
6805
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6805
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ebj_1)]));
|
|
6806
6806
|
}
|
|
6807
6807
|
var tmp1_elvis_lhs = tmp;
|
|
6808
6808
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6835,7 +6835,7 @@
|
|
|
6835
6835
|
tmp_0.h6u(tmp$ret$3);
|
|
6836
6836
|
$this$DI.g6q(jsonModule());
|
|
6837
6837
|
$this$DI.g6q(serverHelpersModule());
|
|
6838
|
-
$this$DI.g6q(randomOrgModule(this$0.
|
|
6838
|
+
$this$DI.g6q(randomOrgModule(this$0.fbj_1));
|
|
6839
6839
|
return Unit_instance;
|
|
6840
6840
|
};
|
|
6841
6841
|
}
|
|
@@ -6911,16 +6911,16 @@
|
|
|
6911
6911
|
};
|
|
6912
6912
|
}
|
|
6913
6913
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6914
|
-
this.
|
|
6914
|
+
this.pbj_1 = $reducer;
|
|
6915
6915
|
}
|
|
6916
6916
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).t78 = function (action) {
|
|
6917
6917
|
return isInterface(action, Action);
|
|
6918
6918
|
};
|
|
6919
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6920
|
-
return this.
|
|
6919
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).aag = function (state, action) {
|
|
6920
|
+
return this.pbj_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6921
6921
|
};
|
|
6922
6922
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j7a = function (state, action) {
|
|
6923
|
-
return this.
|
|
6923
|
+
return this.aag((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6924
6924
|
};
|
|
6925
6925
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6926
6926
|
return function () {
|
|
@@ -7000,7 +7000,7 @@
|
|
|
7000
7000
|
}
|
|
7001
7001
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
7002
7002
|
return function (it) {
|
|
7003
|
-
var payload = Companion_instance_8.
|
|
7003
|
+
var payload = Companion_instance_8.paj(it);
|
|
7004
7004
|
var tmp;
|
|
7005
7005
|
if (!(payload == null)) {
|
|
7006
7006
|
return payload;
|
|
@@ -7021,18 +7021,18 @@
|
|
|
7021
7021
|
// Inline function 'kotlin.let' call
|
|
7022
7022
|
$this$DI.g6q(tmp0_safe_receiver);
|
|
7023
7023
|
}
|
|
7024
|
-
$this$DI.g6q(dealerModule(this$0.randomPoolProvider, this$0.
|
|
7024
|
+
$this$DI.g6q(dealerModule(this$0.randomPoolProvider, this$0.fbj_1));
|
|
7025
7025
|
$this$DI.g6q(coreModule($coreConfig));
|
|
7026
|
-
$this$DI.g6q(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.
|
|
7026
|
+
$this$DI.g6q(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.gbj_1.bap() ? this$0.gbj_1 : null));
|
|
7027
7027
|
return Unit_instance;
|
|
7028
7028
|
};
|
|
7029
7029
|
}
|
|
7030
7030
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
7031
7031
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
7032
7032
|
production = production === VOID ? true : production;
|
|
7033
|
-
this.
|
|
7034
|
-
this.
|
|
7035
|
-
this.
|
|
7033
|
+
this.ebj_1 = loggerCallback;
|
|
7034
|
+
this.fbj_1 = randomOrgConfig;
|
|
7035
|
+
this.gbj_1 = new BotModelRegistry();
|
|
7036
7036
|
var tmp = AppEnvironment_getInstance();
|
|
7037
7037
|
var tmp_0;
|
|
7038
7038
|
if (production) {
|
|
@@ -7042,9 +7042,9 @@
|
|
|
7042
7042
|
}
|
|
7043
7043
|
tmp.q7e(tmp_0);
|
|
7044
7044
|
var tmp_1 = this;
|
|
7045
|
-
tmp_1.
|
|
7045
|
+
tmp_1.hbj_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
7046
7046
|
var tmp_2 = this;
|
|
7047
|
-
tmp_2.
|
|
7047
|
+
tmp_2.ibj_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
7048
7048
|
var tmp_3 = this;
|
|
7049
7049
|
// Inline function 'org.kodein.di.instance' call
|
|
7050
7050
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -7053,7 +7053,7 @@
|
|
|
7053
7053
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
7054
7054
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
7055
7055
|
var tmp_6 = KProperty1;
|
|
7056
|
-
tmp_3.
|
|
7056
|
+
tmp_3.jbj_1 = tmp_5.e6w(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
7057
7057
|
var tmp_7 = this;
|
|
7058
7058
|
// Inline function 'org.kodein.di.instance' call
|
|
7059
7059
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -7062,7 +7062,7 @@
|
|
|
7062
7062
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
7063
7063
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
7064
7064
|
var tmp_10 = KProperty1;
|
|
7065
|
-
tmp_7.
|
|
7065
|
+
tmp_7.kbj_1 = tmp_9.e6w(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
7066
7066
|
var tmp_11 = this;
|
|
7067
7067
|
// Inline function 'org.kodein.di.instance' call
|
|
7068
7068
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -7071,7 +7071,7 @@
|
|
|
7071
7071
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
7072
7072
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
7073
7073
|
var tmp_14 = KProperty1;
|
|
7074
|
-
tmp_11.
|
|
7074
|
+
tmp_11.lbj_1 = tmp_13.e6w(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
7075
7075
|
var tmp_15 = this;
|
|
7076
7076
|
// Inline function 'org.kodein.di.instance' call
|
|
7077
7077
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -7080,7 +7080,7 @@
|
|
|
7080
7080
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
7081
7081
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
7082
7082
|
var tmp_18 = KProperty1;
|
|
7083
|
-
tmp_15.
|
|
7083
|
+
tmp_15.mbj_1 = tmp_17.e6w(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
7084
7084
|
var tmp_19 = this;
|
|
7085
7085
|
// Inline function 'org.kodein.di.instance' call
|
|
7086
7086
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -7089,7 +7089,7 @@
|
|
|
7089
7089
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
7090
7090
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
7091
7091
|
var tmp_22 = KProperty1;
|
|
7092
|
-
tmp_19.
|
|
7092
|
+
tmp_19.nbj_1 = tmp_21.e6w(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
7093
7093
|
var tmp_23 = this;
|
|
7094
7094
|
// Inline function 'org.kodein.di.instance' call
|
|
7095
7095
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -7098,52 +7098,52 @@
|
|
|
7098
7098
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
7099
7099
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
7100
7100
|
var tmp_26 = KProperty1;
|
|
7101
|
-
tmp_23.
|
|
7101
|
+
tmp_23.obj_1 = tmp_25.e6w(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
7102
7102
|
}
|
|
7103
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7104
|
-
var tmp0 = this.
|
|
7103
|
+
protoOf(GameServerEngineControllerImpl).xbi = function () {
|
|
7104
|
+
var tmp0 = this.jbj_1;
|
|
7105
7105
|
var tmp = KProperty1;
|
|
7106
7106
|
// Inline function 'kotlin.getValue' call
|
|
7107
7107
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
7108
7108
|
return tmp0.o1();
|
|
7109
7109
|
};
|
|
7110
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7111
|
-
var tmp0 = this.
|
|
7110
|
+
protoOf(GameServerEngineControllerImpl).zbi = function () {
|
|
7111
|
+
var tmp0 = this.kbj_1;
|
|
7112
7112
|
var tmp = KProperty1;
|
|
7113
7113
|
// Inline function 'kotlin.getValue' call
|
|
7114
7114
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
7115
7115
|
return tmp0.o1();
|
|
7116
7116
|
};
|
|
7117
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7118
|
-
var tmp0 = this.
|
|
7117
|
+
protoOf(GameServerEngineControllerImpl).abj = function () {
|
|
7118
|
+
var tmp0 = this.lbj_1;
|
|
7119
7119
|
var tmp = KProperty1;
|
|
7120
7120
|
// Inline function 'kotlin.getValue' call
|
|
7121
7121
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
7122
7122
|
return tmp0.o1();
|
|
7123
7123
|
};
|
|
7124
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7125
|
-
var tmp0 = this.
|
|
7124
|
+
protoOf(GameServerEngineControllerImpl).bbj = function () {
|
|
7125
|
+
var tmp0 = this.mbj_1;
|
|
7126
7126
|
var tmp = KProperty1;
|
|
7127
7127
|
// Inline function 'kotlin.getValue' call
|
|
7128
7128
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
7129
7129
|
return tmp0.o1();
|
|
7130
7130
|
};
|
|
7131
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7132
|
-
var tmp0 = this.
|
|
7131
|
+
protoOf(GameServerEngineControllerImpl).ybi = function () {
|
|
7132
|
+
var tmp0 = this.nbj_1;
|
|
7133
7133
|
var tmp = KProperty1;
|
|
7134
7134
|
// Inline function 'kotlin.getValue' call
|
|
7135
7135
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
7136
7136
|
return tmp0.o1();
|
|
7137
7137
|
};
|
|
7138
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7139
|
-
var tmp0 = this.
|
|
7138
|
+
protoOf(GameServerEngineControllerImpl).cbj = function () {
|
|
7139
|
+
var tmp0 = this.obj_1;
|
|
7140
7140
|
var tmp = KProperty1;
|
|
7141
7141
|
// Inline function 'kotlin.getValue' call
|
|
7142
7142
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
7143
7143
|
return tmp0.o1();
|
|
7144
7144
|
};
|
|
7145
7145
|
protoOf(GameServerEngineControllerImpl).loadModel = function (rulesSetType, playersMode, modelBytes) {
|
|
7146
|
-
this.
|
|
7146
|
+
this.gbj_1.zao(new BotModelConfig(valueOf(playersMode), valueOf_0(rulesSetType), modelBytes));
|
|
7147
7147
|
};
|
|
7148
7148
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
7149
7149
|
Logger_getInstance().z1l_1 = enabled;
|
|
@@ -7151,7 +7151,7 @@
|
|
|
7151
7151
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
7152
7152
|
return this.createGameEngineWithLogic();
|
|
7153
7153
|
};
|
|
7154
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7154
|
+
protoOf(GameServerEngineControllerImpl).dbj = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) {
|
|
7155
7155
|
var combinedLogger = Companion_instance_9.fy();
|
|
7156
7156
|
var gameServer = {_v: null};
|
|
7157
7157
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -7199,7 +7199,7 @@
|
|
|
7199
7199
|
function TestHelper() {
|
|
7200
7200
|
}
|
|
7201
7201
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7202
|
-
var tmp0 = $this.
|
|
7202
|
+
var tmp0 = $this.sbj_1;
|
|
7203
7203
|
var tmp = KProperty1;
|
|
7204
7204
|
// Inline function 'kotlin.getValue' call
|
|
7205
7205
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7207,7 +7207,7 @@
|
|
|
7207
7207
|
}
|
|
7208
7208
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7209
7209
|
return function ($this$singleton) {
|
|
7210
|
-
return this$0.
|
|
7210
|
+
return this$0.qbj_1;
|
|
7211
7211
|
};
|
|
7212
7212
|
}
|
|
7213
7213
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7247,27 +7247,27 @@
|
|
|
7247
7247
|
return emptyMap();
|
|
7248
7248
|
}
|
|
7249
7249
|
function TestHelperImpl(logger) {
|
|
7250
|
-
this.
|
|
7250
|
+
this.qbj_1 = logger;
|
|
7251
7251
|
var tmp = this;
|
|
7252
7252
|
var tmp_0 = Companion_instance_7;
|
|
7253
|
-
tmp.
|
|
7253
|
+
tmp.rbj_1 = tmp_0.o6q(VOID, TestHelperImpl$di$lambda(this));
|
|
7254
7254
|
var tmp_1 = this;
|
|
7255
7255
|
// Inline function 'org.kodein.di.instance' call
|
|
7256
|
-
var this_0 = this.
|
|
7256
|
+
var this_0 = this.rbj_1;
|
|
7257
7257
|
// Inline function 'org.kodein.type.generic' call
|
|
7258
7258
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7259
7259
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7260
7260
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7261
7261
|
var tmp_4 = KProperty1;
|
|
7262
|
-
tmp_1.
|
|
7262
|
+
tmp_1.sbj_1 = tmp_3.e6w(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7263
7263
|
}
|
|
7264
7264
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7265
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
7265
|
+
return _get_playerAnswerInteractor__msggz1(this).v9o(playerId, table, botConfig);
|
|
7266
7266
|
};
|
|
7267
7267
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7268
7268
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7269
7269
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7270
|
-
var tmp0 = mechanicAction.
|
|
7270
|
+
var tmp0 = mechanicAction.qa2();
|
|
7271
7271
|
var tmp$ret$0;
|
|
7272
7272
|
$l$block_0: {
|
|
7273
7273
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7299,7 +7299,7 @@
|
|
|
7299
7299
|
};
|
|
7300
7300
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7301
7301
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7302
|
-
var tmp0 = action.
|
|
7302
|
+
var tmp0 = action.qa2();
|
|
7303
7303
|
var tmp$ret$0;
|
|
7304
7304
|
$l$block_0: {
|
|
7305
7305
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7332,14 +7332,14 @@
|
|
|
7332
7332
|
function RoomMetadata() {
|
|
7333
7333
|
var tmp = this;
|
|
7334
7334
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7335
|
-
tmp.
|
|
7335
|
+
tmp.tbj_1 = LinkedHashMap_init_$Create$();
|
|
7336
7336
|
this.extras = {};
|
|
7337
|
-
this.extras = this.
|
|
7337
|
+
this.extras = this.tbj_1;
|
|
7338
7338
|
}
|
|
7339
|
-
protoOf(RoomMetadata).
|
|
7339
|
+
protoOf(RoomMetadata).ubj = function () {
|
|
7340
7340
|
return this.extras;
|
|
7341
7341
|
};
|
|
7342
|
-
protoOf(RoomMetadata).
|
|
7342
|
+
protoOf(RoomMetadata).ubj = function () {
|
|
7343
7343
|
return this.extras;
|
|
7344
7344
|
};
|
|
7345
7345
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7357,7 +7357,7 @@
|
|
|
7357
7357
|
};
|
|
7358
7358
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7359
7359
|
// Inline function 'kotlin.collections.set' call
|
|
7360
|
-
this.
|
|
7360
|
+
this.tbj_1.z2(gameId, game);
|
|
7361
7361
|
};
|
|
7362
7362
|
function GameMetadata(gameId) {
|
|
7363
7363
|
this.gameId = gameId;
|
|
@@ -7366,7 +7366,7 @@
|
|
|
7366
7366
|
protoOf(GameMetadata).d5v = function () {
|
|
7367
7367
|
return this.gameId;
|
|
7368
7368
|
};
|
|
7369
|
-
protoOf(GameMetadata).
|
|
7369
|
+
protoOf(GameMetadata).ubj = function () {
|
|
7370
7370
|
return this.extras;
|
|
7371
7371
|
};
|
|
7372
7372
|
function serverHelpersModule() {
|
|
@@ -7428,7 +7428,7 @@
|
|
|
7428
7428
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
7429
7429
|
protoOf(GameServer).shutdown = shutdown;
|
|
7430
7430
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
7431
|
-
return this.
|
|
7431
|
+
return this.r9h();
|
|
7432
7432
|
});
|
|
7433
7433
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7434
7434
|
return this.z5u();
|
|
@@ -7447,19 +7447,19 @@
|
|
|
7447
7447
|
});
|
|
7448
7448
|
protoOf($serializer).p10 = typeParametersSerializers;
|
|
7449
7449
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7450
|
-
return this.
|
|
7450
|
+
return this.f9e();
|
|
7451
7451
|
});
|
|
7452
7452
|
protoOf($serializer_0).p10 = typeParametersSerializers;
|
|
7453
7453
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7454
|
-
return this.
|
|
7454
|
+
return this.f9e();
|
|
7455
7455
|
});
|
|
7456
7456
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
7457
|
-
return this.
|
|
7457
|
+
return this.f9e();
|
|
7458
7458
|
});
|
|
7459
7459
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7460
|
-
return this.
|
|
7460
|
+
return this.f9e();
|
|
7461
7461
|
});
|
|
7462
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
7462
|
+
protoOf(PlayerConnectionInteractorImpl).tba = getToClientContinueAction$default;
|
|
7463
7463
|
protoOf(UpdateServerConfigAction).f78 = get_actionTag;
|
|
7464
7464
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
7465
7465
|
return this.f78();
|
|
@@ -7473,25 +7473,25 @@
|
|
|
7473
7473
|
return this.f78();
|
|
7474
7474
|
});
|
|
7475
7475
|
protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
|
|
7476
|
-
protoOf(PlayerReconnectionWaitingTimerTag).
|
|
7476
|
+
protoOf(PlayerReconnectionWaitingTimerTag).l9y = ignoreTimerResetValidation;
|
|
7477
7477
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7478
7478
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7479
|
-
return this.
|
|
7479
|
+
return this.xbi();
|
|
7480
7480
|
});
|
|
7481
7481
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7482
|
-
return this.
|
|
7482
|
+
return this.zbi();
|
|
7483
7483
|
});
|
|
7484
7484
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7485
|
-
return this.
|
|
7485
|
+
return this.abj();
|
|
7486
7486
|
});
|
|
7487
7487
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7488
|
-
return this.
|
|
7488
|
+
return this.bbj();
|
|
7489
7489
|
});
|
|
7490
7490
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7491
|
-
return this.
|
|
7491
|
+
return this.ybi();
|
|
7492
7492
|
});
|
|
7493
7493
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7494
|
-
return this.
|
|
7494
|
+
return this.cbj();
|
|
7495
7495
|
});
|
|
7496
7496
|
//endregion
|
|
7497
7497
|
//region block: init
|