raspberry_games_server_game_logic 1.8.276 → 1.8.278
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +22 -12
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +5 -3
- package/Logic_Debertz-game_server.js +612 -589
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +1 -1
- package/raspberry-cardgame-lib-random.js +28 -16
- package/raspberry-cardgame-lib-random.js.map +1 -1
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.u;
|
|
110
110
|
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.n;
|
|
111
111
|
var lazy = kotlin_kotlin.$_$.oh;
|
|
112
|
+
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.o1;
|
|
112
113
|
var plus = kotlin_kotlin.$_$.z8;
|
|
113
114
|
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
114
115
|
var KProperty1 = kotlin_kotlin.$_$.pd;
|
|
@@ -123,7 +124,6 @@
|
|
|
123
124
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
124
125
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
125
126
|
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
126
|
-
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.o1;
|
|
127
127
|
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
128
128
|
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
129
129
|
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
|
|
@@ -305,15 +305,15 @@
|
|
|
305
305
|
tmp = spectators;
|
|
306
306
|
}
|
|
307
307
|
spectators = tmp;
|
|
308
|
-
return this.
|
|
308
|
+
return this.w9t(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
309
309
|
}
|
|
310
310
|
function roomOnDelete(newRid, $super) {
|
|
311
311
|
newRid = newRid === VOID ? null : newRid;
|
|
312
|
-
return this.
|
|
312
|
+
return this.x9t(newRid);
|
|
313
313
|
}
|
|
314
314
|
function shutdown(reason, roomId, $super) {
|
|
315
315
|
roomId = roomId === VOID ? null : roomId;
|
|
316
|
-
return this.
|
|
316
|
+
return this.y9t(reason, roomId);
|
|
317
317
|
}
|
|
318
318
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
319
319
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
387
387
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
388
388
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
389
|
-
return this.
|
|
389
|
+
return this.ia3(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
390
390
|
}
|
|
391
391
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
392
392
|
initMetadataForClass(_no_name_provided__qut3iv_8, VOID, VOID, VOID, [Reducer]);
|
|
@@ -568,21 +568,27 @@
|
|
|
568
568
|
random$factory();
|
|
569
569
|
return this_0.u();
|
|
570
570
|
}
|
|
571
|
+
function _get_idsProvider__fnfajc($this) {
|
|
572
|
+
// Inline function 'kotlin.getValue' call
|
|
573
|
+
var this_0 = $this.h9l_1;
|
|
574
|
+
idsProvider$factory_0();
|
|
575
|
+
return this_0.u();
|
|
576
|
+
}
|
|
571
577
|
function Companion() {
|
|
572
|
-
this.
|
|
578
|
+
this.j9l_1 = 'GameEngine_API';
|
|
573
579
|
}
|
|
574
580
|
var Companion_instance_7;
|
|
575
581
|
function Companion_getInstance_0() {
|
|
576
582
|
return Companion_instance_7;
|
|
577
583
|
}
|
|
578
584
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
579
|
-
this.
|
|
585
|
+
this.k9l_1 = function_0;
|
|
580
586
|
}
|
|
581
587
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
|
|
582
|
-
return this.
|
|
588
|
+
return this.k9l_1(value, $completion);
|
|
583
589
|
};
|
|
584
590
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
585
|
-
return this.
|
|
591
|
+
return this.k9l_1;
|
|
586
592
|
};
|
|
587
593
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
588
594
|
var tmp;
|
|
@@ -603,13 +609,13 @@
|
|
|
603
609
|
return hashCode(this.o3());
|
|
604
610
|
};
|
|
605
611
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
606
|
-
this.
|
|
612
|
+
this.l9l_1 = function_0;
|
|
607
613
|
}
|
|
608
614
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
609
|
-
return this.
|
|
615
|
+
return this.l9l_1(value, $completion);
|
|
610
616
|
};
|
|
611
617
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
612
|
-
return this.
|
|
618
|
+
return this.l9l_1;
|
|
613
619
|
};
|
|
614
620
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
615
621
|
var tmp;
|
|
@@ -630,13 +636,13 @@
|
|
|
630
636
|
return hashCode(this.o3());
|
|
631
637
|
};
|
|
632
638
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
633
|
-
this.
|
|
639
|
+
this.m9l_1 = function_0;
|
|
634
640
|
}
|
|
635
641
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).p18 = function (value, $completion) {
|
|
636
|
-
return this.
|
|
642
|
+
return this.m9l_1(value, $completion);
|
|
637
643
|
};
|
|
638
644
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o3 = function () {
|
|
639
|
-
return this.
|
|
645
|
+
return this.m9l_1;
|
|
640
646
|
};
|
|
641
647
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
642
648
|
var tmp;
|
|
@@ -662,8 +668,8 @@
|
|
|
662
668
|
};
|
|
663
669
|
}
|
|
664
670
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
665
|
-
this.
|
|
666
|
-
this.
|
|
671
|
+
this.v9l_1 = this$0;
|
|
672
|
+
this.w9l_1 = $subscriber;
|
|
667
673
|
CoroutineImpl.call(this, resultContinuation);
|
|
668
674
|
}
|
|
669
675
|
protoOf(GameServer$subscribeToClientAction$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -684,8 +690,8 @@
|
|
|
684
690
|
case 0:
|
|
685
691
|
this.f9_1 = 2;
|
|
686
692
|
this.e9_1 = 1;
|
|
687
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
688
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
693
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.v9l_1).y9l();
|
|
694
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.w9l_1, null);
|
|
689
695
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
690
696
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
691
697
|
return suspendResult;
|
|
@@ -709,8 +715,8 @@
|
|
|
709
715
|
while (true);
|
|
710
716
|
};
|
|
711
717
|
protoOf(GameServer$subscribeToClientAction$slambda).l1e = function ($this$launchDefault, completion) {
|
|
712
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
713
|
-
i.
|
|
718
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.v9l_1, this.w9l_1, completion);
|
|
719
|
+
i.x9l_1 = $this$launchDefault;
|
|
714
720
|
return i;
|
|
715
721
|
};
|
|
716
722
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -722,8 +728,8 @@
|
|
|
722
728
|
return l;
|
|
723
729
|
}
|
|
724
730
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
725
|
-
this.
|
|
726
|
-
this.
|
|
731
|
+
this.h9m_1 = this$0;
|
|
732
|
+
this.i9m_1 = $subscriber;
|
|
727
733
|
CoroutineImpl.call(this, resultContinuation);
|
|
728
734
|
}
|
|
729
735
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -744,8 +750,8 @@
|
|
|
744
750
|
case 0:
|
|
745
751
|
this.f9_1 = 2;
|
|
746
752
|
this.e9_1 = 1;
|
|
747
|
-
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.
|
|
748
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
753
|
+
var tmp_0 = _get_mechanicEventsObserver__ll1b9k(this.h9m_1).k9m(this.h9m_1.j6q());
|
|
754
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.i9m_1, null);
|
|
749
755
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
750
756
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
751
757
|
return suspendResult;
|
|
@@ -769,8 +775,8 @@
|
|
|
769
775
|
while (true);
|
|
770
776
|
};
|
|
771
777
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).l1e = function ($this$launchDefault, completion) {
|
|
772
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
773
|
-
i.
|
|
778
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.h9m_1, this.i9m_1, completion);
|
|
779
|
+
i.j9m_1 = $this$launchDefault;
|
|
774
780
|
return i;
|
|
775
781
|
};
|
|
776
782
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -782,8 +788,8 @@
|
|
|
782
788
|
return l;
|
|
783
789
|
}
|
|
784
790
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
785
|
-
this.
|
|
786
|
-
this.
|
|
791
|
+
this.t9m_1 = this$0;
|
|
792
|
+
this.u9m_1 = $subscriber;
|
|
787
793
|
CoroutineImpl.call(this, resultContinuation);
|
|
788
794
|
}
|
|
789
795
|
protoOf(GameServer$subscribeWith$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -804,8 +810,8 @@
|
|
|
804
810
|
case 0:
|
|
805
811
|
this.f9_1 = 2;
|
|
806
812
|
this.e9_1 = 1;
|
|
807
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
808
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
813
|
+
var tmp_0 = distinctUntilChanged(this.t9m_1.j6q());
|
|
814
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.u9m_1, null);
|
|
809
815
|
suspendResult = tmp_0.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
810
816
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
811
817
|
return suspendResult;
|
|
@@ -829,8 +835,8 @@
|
|
|
829
835
|
while (true);
|
|
830
836
|
};
|
|
831
837
|
protoOf(GameServer$subscribeWith$slambda).l1e = function ($this$launchDefault, completion) {
|
|
832
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
833
|
-
i.
|
|
838
|
+
var i = new GameServer$subscribeWith$slambda(this.t9m_1, this.u9m_1, completion);
|
|
839
|
+
i.v9m_1 = $this$launchDefault;
|
|
834
840
|
return i;
|
|
835
841
|
};
|
|
836
842
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -842,18 +848,18 @@
|
|
|
842
848
|
return l;
|
|
843
849
|
}
|
|
844
850
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
845
|
-
this.
|
|
851
|
+
this.e9n_1 = $action;
|
|
846
852
|
CoroutineImpl.call(this, resultContinuation);
|
|
847
853
|
}
|
|
848
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
849
|
-
var tmp = this.
|
|
854
|
+
protoOf(GameServer$fromClientEvent$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
855
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
850
856
|
tmp.g9_1 = Unit_instance;
|
|
851
857
|
tmp.h9_1 = null;
|
|
852
858
|
return tmp.m9();
|
|
853
859
|
};
|
|
854
860
|
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
855
861
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
856
|
-
return this.
|
|
862
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
857
863
|
};
|
|
858
864
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
859
865
|
var suspendResult = this.g9_1;
|
|
@@ -862,11 +868,11 @@
|
|
|
862
868
|
var tmp = this.e9_1;
|
|
863
869
|
if (tmp === 0) {
|
|
864
870
|
this.f9_1 = 1;
|
|
865
|
-
if (this.
|
|
866
|
-
if (!get_isCreated(this.
|
|
871
|
+
if (this.e9n_1 instanceof PlayerReadyFromClientAction)
|
|
872
|
+
if (!get_isCreated(this.g9n_1.state)) {
|
|
867
873
|
return Unit_instance;
|
|
868
874
|
}
|
|
869
|
-
this.
|
|
875
|
+
this.g9n_1.dispatch(this.e9n_1);
|
|
870
876
|
return Unit_instance;
|
|
871
877
|
} else if (tmp === 1) {
|
|
872
878
|
throw this.h9_1;
|
|
@@ -877,33 +883,33 @@
|
|
|
877
883
|
}
|
|
878
884
|
while (true);
|
|
879
885
|
};
|
|
880
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
881
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
882
|
-
i.
|
|
883
|
-
i.
|
|
886
|
+
protoOf(GameServer$fromClientEvent$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
887
|
+
var i = new GameServer$fromClientEvent$slambda(this.e9n_1, completion);
|
|
888
|
+
i.f9n_1 = $this$dispatchAsync;
|
|
889
|
+
i.g9n_1 = store;
|
|
884
890
|
return i;
|
|
885
891
|
};
|
|
886
892
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
887
893
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
888
894
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
889
|
-
return i.
|
|
895
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
890
896
|
};
|
|
891
897
|
l.$arity = 2;
|
|
892
898
|
return l;
|
|
893
899
|
}
|
|
894
900
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
895
|
-
this.
|
|
901
|
+
this.r9n_1 = $playerId;
|
|
896
902
|
CoroutineImpl.call(this, resultContinuation);
|
|
897
903
|
}
|
|
898
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
899
|
-
var tmp = this.
|
|
904
|
+
protoOf(GameServer$playerLostConnection$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
905
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
900
906
|
tmp.g9_1 = Unit_instance;
|
|
901
907
|
tmp.h9_1 = null;
|
|
902
908
|
return tmp.m9();
|
|
903
909
|
};
|
|
904
910
|
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
905
911
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
906
|
-
return this.
|
|
912
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
907
913
|
};
|
|
908
914
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
909
915
|
var suspendResult = this.g9_1;
|
|
@@ -912,12 +918,12 @@
|
|
|
912
918
|
var tmp = this.e9_1;
|
|
913
919
|
if (tmp === 0) {
|
|
914
920
|
this.f9_1 = 1;
|
|
915
|
-
if (!get_isCreated(this.
|
|
921
|
+
if (!get_isCreated(this.t9n_1.state)) {
|
|
916
922
|
return Unit_instance;
|
|
917
923
|
}
|
|
918
|
-
var tmp_0 = this.
|
|
924
|
+
var tmp_0 = this.t9n_1.dispatch;
|
|
919
925
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
920
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
926
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.r9n_1));
|
|
921
927
|
return Unit_instance;
|
|
922
928
|
} else if (tmp === 1) {
|
|
923
929
|
throw this.h9_1;
|
|
@@ -928,33 +934,33 @@
|
|
|
928
934
|
}
|
|
929
935
|
while (true);
|
|
930
936
|
};
|
|
931
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
932
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
933
|
-
i.
|
|
934
|
-
i.
|
|
937
|
+
protoOf(GameServer$playerLostConnection$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
938
|
+
var i = new GameServer$playerLostConnection$slambda(this.r9n_1, completion);
|
|
939
|
+
i.s9n_1 = $this$dispatchAsync;
|
|
940
|
+
i.t9n_1 = store;
|
|
935
941
|
return i;
|
|
936
942
|
};
|
|
937
943
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
938
944
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
939
945
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
940
|
-
return i.
|
|
946
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
941
947
|
};
|
|
942
948
|
l.$arity = 2;
|
|
943
949
|
return l;
|
|
944
950
|
}
|
|
945
951
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
946
|
-
this.
|
|
952
|
+
this.c9o_1 = $playerId;
|
|
947
953
|
CoroutineImpl.call(this, resultContinuation);
|
|
948
954
|
}
|
|
949
|
-
protoOf(GameServer$playerLive$slambda).
|
|
950
|
-
var tmp = this.
|
|
955
|
+
protoOf(GameServer$playerLive$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
956
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
951
957
|
tmp.g9_1 = Unit_instance;
|
|
952
958
|
tmp.h9_1 = null;
|
|
953
959
|
return tmp.m9();
|
|
954
960
|
};
|
|
955
961
|
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
956
962
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
957
|
-
return this.
|
|
963
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
958
964
|
};
|
|
959
965
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
960
966
|
var suspendResult = this.g9_1;
|
|
@@ -963,9 +969,9 @@
|
|
|
963
969
|
var tmp = this.e9_1;
|
|
964
970
|
if (tmp === 0) {
|
|
965
971
|
this.f9_1 = 1;
|
|
966
|
-
var tmp_0 = this.
|
|
972
|
+
var tmp_0 = this.e9o_1.dispatch;
|
|
967
973
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
968
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
974
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.c9o_1));
|
|
969
975
|
return Unit_instance;
|
|
970
976
|
} else if (tmp === 1) {
|
|
971
977
|
throw this.h9_1;
|
|
@@ -976,33 +982,33 @@
|
|
|
976
982
|
}
|
|
977
983
|
while (true);
|
|
978
984
|
};
|
|
979
|
-
protoOf(GameServer$playerLive$slambda).
|
|
980
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
981
|
-
i.
|
|
982
|
-
i.
|
|
985
|
+
protoOf(GameServer$playerLive$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
986
|
+
var i = new GameServer$playerLive$slambda(this.c9o_1, completion);
|
|
987
|
+
i.d9o_1 = $this$dispatchAsync;
|
|
988
|
+
i.e9o_1 = store;
|
|
983
989
|
return i;
|
|
984
990
|
};
|
|
985
991
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
986
992
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
987
993
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
988
|
-
return i.
|
|
994
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
989
995
|
};
|
|
990
996
|
l.$arity = 2;
|
|
991
997
|
return l;
|
|
992
998
|
}
|
|
993
999
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
994
|
-
this.
|
|
1000
|
+
this.n9o_1 = $playerId;
|
|
995
1001
|
CoroutineImpl.call(this, resultContinuation);
|
|
996
1002
|
}
|
|
997
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
998
|
-
var tmp = this.
|
|
1003
|
+
protoOf(GameServer$playerLeft$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1004
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
999
1005
|
tmp.g9_1 = Unit_instance;
|
|
1000
1006
|
tmp.h9_1 = null;
|
|
1001
1007
|
return tmp.m9();
|
|
1002
1008
|
};
|
|
1003
1009
|
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
1004
1010
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1005
|
-
return this.
|
|
1011
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1006
1012
|
};
|
|
1007
1013
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
1008
1014
|
var suspendResult = this.g9_1;
|
|
@@ -1011,9 +1017,9 @@
|
|
|
1011
1017
|
var tmp = this.e9_1;
|
|
1012
1018
|
if (tmp === 0) {
|
|
1013
1019
|
this.f9_1 = 1;
|
|
1014
|
-
var tmp_0 = this.
|
|
1020
|
+
var tmp_0 = this.p9o_1.dispatch;
|
|
1015
1021
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1016
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1022
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.n9o_1));
|
|
1017
1023
|
return Unit_instance;
|
|
1018
1024
|
} else if (tmp === 1) {
|
|
1019
1025
|
throw this.h9_1;
|
|
@@ -1024,39 +1030,39 @@
|
|
|
1024
1030
|
}
|
|
1025
1031
|
while (true);
|
|
1026
1032
|
};
|
|
1027
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1028
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1029
|
-
i.
|
|
1030
|
-
i.
|
|
1033
|
+
protoOf(GameServer$playerLeft$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1034
|
+
var i = new GameServer$playerLeft$slambda(this.n9o_1, completion);
|
|
1035
|
+
i.o9o_1 = $this$dispatchAsync;
|
|
1036
|
+
i.p9o_1 = store;
|
|
1031
1037
|
return i;
|
|
1032
1038
|
};
|
|
1033
1039
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
1034
1040
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
1035
1041
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1036
|
-
return i.
|
|
1042
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1037
1043
|
};
|
|
1038
1044
|
l.$arity = 2;
|
|
1039
1045
|
return l;
|
|
1040
1046
|
}
|
|
1041
1047
|
function GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1042
|
-
this.
|
|
1043
|
-
this.
|
|
1044
|
-
this.
|
|
1045
|
-
this.
|
|
1046
|
-
this.
|
|
1047
|
-
this.
|
|
1048
|
-
this.
|
|
1048
|
+
this.y9o_1 = $usersArray;
|
|
1049
|
+
this.z9o_1 = $gameCreatorId;
|
|
1050
|
+
this.a9p_1 = $config;
|
|
1051
|
+
this.b9p_1 = $transition;
|
|
1052
|
+
this.c9p_1 = this$0;
|
|
1053
|
+
this.d9p_1 = $spectators;
|
|
1054
|
+
this.e9p_1 = $roomId;
|
|
1049
1055
|
CoroutineImpl.call(this, resultContinuation);
|
|
1050
1056
|
}
|
|
1051
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1052
|
-
var tmp = this.
|
|
1057
|
+
protoOf(GameServer$roomOnCreate$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1058
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1053
1059
|
tmp.g9_1 = Unit_instance;
|
|
1054
1060
|
tmp.h9_1 = null;
|
|
1055
1061
|
return tmp.m9();
|
|
1056
1062
|
};
|
|
1057
1063
|
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
1058
1064
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1059
|
-
return this.
|
|
1065
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1060
1066
|
};
|
|
1061
1067
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
1062
1068
|
var suspendResult = this.g9_1;
|
|
@@ -1065,17 +1071,17 @@
|
|
|
1065
1071
|
var tmp = this.e9_1;
|
|
1066
1072
|
if (tmp === 0) {
|
|
1067
1073
|
this.f9_1 = 1;
|
|
1068
|
-
var users = toList(this.
|
|
1069
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1074
|
+
var users = toList(this.y9o_1);
|
|
1075
|
+
var gameCreatorUser = getPlayer(users, this.z9o_1);
|
|
1070
1076
|
var tmp_0;
|
|
1071
|
-
if (this.
|
|
1072
|
-
tmp_0 = sortWithItem(_get_random__h29cgo(this.
|
|
1077
|
+
if (this.a9p_1.mode.shufflePlayers && this.b9p_1 == null) {
|
|
1078
|
+
tmp_0 = sortWithItem(_get_random__h29cgo(this.c9p_1).h5w(toMutableList(users)), gameCreatorUser);
|
|
1073
1079
|
} else {
|
|
1074
|
-
var tmp0_safe_receiver = this.
|
|
1080
|
+
var tmp0_safe_receiver = this.b9p_1;
|
|
1075
1081
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1076
1082
|
var tmp_1;
|
|
1077
|
-
if (!(previousPlayers == null) && this.
|
|
1078
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1083
|
+
if (!(previousPlayers == null) && this.a9p_1.playersMode.isTeamGame) {
|
|
1084
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.c9p_1);
|
|
1079
1085
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1080
1086
|
var tmp0_iterator = previousPlayers.j();
|
|
1081
1087
|
while (tmp0_iterator.k()) {
|
|
@@ -1106,17 +1112,17 @@
|
|
|
1106
1112
|
destination_1.e(destination_2);
|
|
1107
1113
|
}
|
|
1108
1114
|
var updatedTeams = destination_1;
|
|
1109
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1115
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.c9p_1).k8s(updatedTeams);
|
|
1110
1116
|
} else {
|
|
1111
1117
|
tmp_1 = users;
|
|
1112
1118
|
}
|
|
1113
1119
|
tmp_0 = tmp_1;
|
|
1114
1120
|
}
|
|
1115
1121
|
var updatedUsers = tmp_0;
|
|
1116
|
-
var tmp_3 = this.
|
|
1122
|
+
var tmp_3 = this.g9p_1.dispatch;
|
|
1117
1123
|
var tmp1_version = GameEngineConfig_instance.version;
|
|
1118
|
-
var tmp2_spectators = toList(this.
|
|
1119
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1124
|
+
var tmp2_spectators = toList(this.d9p_1);
|
|
1125
|
+
tmp_3(new StartGameMechanicAction(this.a9p_1, this.e9p_1, tmp1_version, this.z9o_1, updatedUsers, VOID, tmp2_spectators));
|
|
1120
1126
|
return Unit_instance;
|
|
1121
1127
|
} else if (tmp === 1) {
|
|
1122
1128
|
throw this.h9_1;
|
|
@@ -1127,33 +1133,33 @@
|
|
|
1127
1133
|
}
|
|
1128
1134
|
while (true);
|
|
1129
1135
|
};
|
|
1130
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1131
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1132
|
-
i.
|
|
1133
|
-
i.
|
|
1136
|
+
protoOf(GameServer$roomOnCreate$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1137
|
+
var i = new GameServer$roomOnCreate$slambda(this.y9o_1, this.z9o_1, this.a9p_1, this.b9p_1, this.c9p_1, this.d9p_1, this.e9p_1, completion);
|
|
1138
|
+
i.f9p_1 = $this$dispatchAsync;
|
|
1139
|
+
i.g9p_1 = store;
|
|
1134
1140
|
return i;
|
|
1135
1141
|
};
|
|
1136
1142
|
function GameServer$roomOnCreate$slambda_0($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation) {
|
|
1137
1143
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $gameCreatorId, $config, $transition, this$0, $spectators, $roomId, resultContinuation);
|
|
1138
1144
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1139
|
-
return i.
|
|
1145
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1140
1146
|
};
|
|
1141
1147
|
l.$arity = 2;
|
|
1142
1148
|
return l;
|
|
1143
1149
|
}
|
|
1144
1150
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1145
|
-
this.
|
|
1151
|
+
this.p9p_1 = $state;
|
|
1146
1152
|
CoroutineImpl.call(this, resultContinuation);
|
|
1147
1153
|
}
|
|
1148
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1149
|
-
var tmp = this.
|
|
1154
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1155
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1150
1156
|
tmp.g9_1 = Unit_instance;
|
|
1151
1157
|
tmp.h9_1 = null;
|
|
1152
1158
|
return tmp.m9();
|
|
1153
1159
|
};
|
|
1154
1160
|
protoOf(GameServer$roomOnContinueFromState$slambda).x9 = function (p1, p2, $completion) {
|
|
1155
1161
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1156
|
-
return this.
|
|
1162
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1157
1163
|
};
|
|
1158
1164
|
protoOf(GameServer$roomOnContinueFromState$slambda).m9 = function () {
|
|
1159
1165
|
var suspendResult = this.g9_1;
|
|
@@ -1162,9 +1168,9 @@
|
|
|
1162
1168
|
var tmp = this.e9_1;
|
|
1163
1169
|
if (tmp === 0) {
|
|
1164
1170
|
this.f9_1 = 1;
|
|
1165
|
-
var tmp_0 = this.
|
|
1171
|
+
var tmp_0 = this.r9p_1.dispatch;
|
|
1166
1172
|
var tmp0_reason = RestartRoundReason_getInstance();
|
|
1167
|
-
var tmp1_table = this.
|
|
1173
|
+
var tmp1_table = this.p9p_1.table;
|
|
1168
1174
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1169
1175
|
return Unit_instance;
|
|
1170
1176
|
} else if (tmp === 1) {
|
|
@@ -1176,33 +1182,33 @@
|
|
|
1176
1182
|
}
|
|
1177
1183
|
while (true);
|
|
1178
1184
|
};
|
|
1179
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1180
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1181
|
-
i.
|
|
1182
|
-
i.
|
|
1185
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1186
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.p9p_1, completion);
|
|
1187
|
+
i.q9p_1 = $this$dispatchAsync;
|
|
1188
|
+
i.r9p_1 = store;
|
|
1183
1189
|
return i;
|
|
1184
1190
|
};
|
|
1185
1191
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1186
1192
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1187
1193
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1188
|
-
return i.
|
|
1194
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1189
1195
|
};
|
|
1190
1196
|
l.$arity = 2;
|
|
1191
1197
|
return l;
|
|
1192
1198
|
}
|
|
1193
1199
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1194
|
-
this.
|
|
1200
|
+
this.a9q_1 = $state;
|
|
1195
1201
|
CoroutineImpl.call(this, resultContinuation);
|
|
1196
1202
|
}
|
|
1197
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1198
|
-
var tmp = this.
|
|
1203
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1204
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1199
1205
|
tmp.g9_1 = Unit_instance;
|
|
1200
1206
|
tmp.h9_1 = null;
|
|
1201
1207
|
return tmp.m9();
|
|
1202
1208
|
};
|
|
1203
1209
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1204
1210
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1205
|
-
return this.
|
|
1211
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1206
1212
|
};
|
|
1207
1213
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9 = function () {
|
|
1208
1214
|
var suspendResult = this.g9_1;
|
|
@@ -1211,10 +1217,10 @@
|
|
|
1211
1217
|
var tmp = this.e9_1;
|
|
1212
1218
|
if (tmp === 0) {
|
|
1213
1219
|
this.f9_1 = 1;
|
|
1214
|
-
var tmp0_iterator = this.
|
|
1220
|
+
var tmp0_iterator = this.a9q_1.actions.j();
|
|
1215
1221
|
while (tmp0_iterator.k()) {
|
|
1216
1222
|
var element = tmp0_iterator.l();
|
|
1217
|
-
this.
|
|
1223
|
+
this.c9q_1.dispatch(element);
|
|
1218
1224
|
}
|
|
1219
1225
|
return Unit_instance;
|
|
1220
1226
|
} else if (tmp === 1) {
|
|
@@ -1226,34 +1232,35 @@
|
|
|
1226
1232
|
}
|
|
1227
1233
|
while (true);
|
|
1228
1234
|
};
|
|
1229
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1230
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1231
|
-
i.
|
|
1232
|
-
i.
|
|
1235
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1236
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.a9q_1, completion);
|
|
1237
|
+
i.b9q_1 = $this$dispatchAsync;
|
|
1238
|
+
i.c9q_1 = store;
|
|
1233
1239
|
return i;
|
|
1234
1240
|
};
|
|
1235
1241
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1236
1242
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1237
1243
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1238
|
-
return i.
|
|
1244
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1239
1245
|
};
|
|
1240
1246
|
l.$arity = 2;
|
|
1241
1247
|
return l;
|
|
1242
1248
|
}
|
|
1243
|
-
function GameServer$roomOnContinueFromRound$slambda($roomId, $tableLite, resultContinuation) {
|
|
1244
|
-
this.
|
|
1245
|
-
this.
|
|
1249
|
+
function GameServer$roomOnContinueFromRound$slambda($roomId, this$0, $tableLite, resultContinuation) {
|
|
1250
|
+
this.l9q_1 = $roomId;
|
|
1251
|
+
this.m9q_1 = this$0;
|
|
1252
|
+
this.n9q_1 = $tableLite;
|
|
1246
1253
|
CoroutineImpl.call(this, resultContinuation);
|
|
1247
1254
|
}
|
|
1248
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1249
|
-
var tmp = this.
|
|
1255
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1256
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1250
1257
|
tmp.g9_1 = Unit_instance;
|
|
1251
1258
|
tmp.h9_1 = null;
|
|
1252
1259
|
return tmp.m9();
|
|
1253
1260
|
};
|
|
1254
1261
|
protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
|
|
1255
1262
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1256
|
-
return this.
|
|
1263
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1257
1264
|
};
|
|
1258
1265
|
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
1259
1266
|
var suspendResult = this.g9_1;
|
|
@@ -1262,9 +1269,9 @@
|
|
|
1262
1269
|
var tmp = this.e9_1;
|
|
1263
1270
|
if (tmp === 0) {
|
|
1264
1271
|
this.f9_1 = 1;
|
|
1265
|
-
var tmp_0 = this.
|
|
1272
|
+
var tmp_0 = this.p9q_1.dispatch;
|
|
1266
1273
|
var tmp0_reason = RestartRoundReason_getInstance();
|
|
1267
|
-
var tmp1_table = Companion_instance.restartRound(this.
|
|
1274
|
+
var tmp1_table = Companion_instance.restartRound(this.l9q_1, _get_idsProvider__fnfajc(this.m9q_1).s6h(), GameEngineConfig_instance.version, this.n9q_1);
|
|
1268
1275
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1269
1276
|
return Unit_instance;
|
|
1270
1277
|
} else if (tmp === 1) {
|
|
@@ -1276,16 +1283,16 @@
|
|
|
1276
1283
|
}
|
|
1277
1284
|
while (true);
|
|
1278
1285
|
};
|
|
1279
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1280
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1281
|
-
i.
|
|
1282
|
-
i.
|
|
1286
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1287
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.l9q_1, this.m9q_1, this.n9q_1, completion);
|
|
1288
|
+
i.o9q_1 = $this$dispatchAsync;
|
|
1289
|
+
i.p9q_1 = store;
|
|
1283
1290
|
return i;
|
|
1284
1291
|
};
|
|
1285
|
-
function GameServer$roomOnContinueFromRound$slambda_0($roomId, $tableLite, resultContinuation) {
|
|
1286
|
-
var i = new GameServer$roomOnContinueFromRound$slambda($roomId, $tableLite, resultContinuation);
|
|
1292
|
+
function GameServer$roomOnContinueFromRound$slambda_0($roomId, this$0, $tableLite, resultContinuation) {
|
|
1293
|
+
var i = new GameServer$roomOnContinueFromRound$slambda($roomId, this$0, $tableLite, resultContinuation);
|
|
1287
1294
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1288
|
-
return i.
|
|
1295
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1289
1296
|
};
|
|
1290
1297
|
l.$arity = 2;
|
|
1291
1298
|
return l;
|
|
@@ -1293,15 +1300,15 @@
|
|
|
1293
1300
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1294
1301
|
CoroutineImpl.call(this, resultContinuation);
|
|
1295
1302
|
}
|
|
1296
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1297
|
-
var tmp = this.
|
|
1303
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1304
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1298
1305
|
tmp.g9_1 = Unit_instance;
|
|
1299
1306
|
tmp.h9_1 = null;
|
|
1300
1307
|
return tmp.m9();
|
|
1301
1308
|
};
|
|
1302
1309
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9 = function (p1, p2, $completion) {
|
|
1303
1310
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1304
|
-
return this.
|
|
1311
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1305
1312
|
};
|
|
1306
1313
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9 = function () {
|
|
1307
1314
|
var suspendResult = this.g9_1;
|
|
@@ -1310,7 +1317,7 @@
|
|
|
1310
1317
|
var tmp = this.e9_1;
|
|
1311
1318
|
if (tmp === 0) {
|
|
1312
1319
|
this.f9_1 = 1;
|
|
1313
|
-
this.
|
|
1320
|
+
this.z9q_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1314
1321
|
return Unit_instance;
|
|
1315
1322
|
} else if (tmp === 1) {
|
|
1316
1323
|
throw this.h9_1;
|
|
@@ -1321,33 +1328,33 @@
|
|
|
1321
1328
|
}
|
|
1322
1329
|
while (true);
|
|
1323
1330
|
};
|
|
1324
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1331
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1325
1332
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1326
|
-
i.
|
|
1327
|
-
i.
|
|
1333
|
+
i.y9q_1 = $this$dispatchAsync;
|
|
1334
|
+
i.z9q_1 = store;
|
|
1328
1335
|
return i;
|
|
1329
1336
|
};
|
|
1330
1337
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1331
1338
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1332
1339
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1333
|
-
return i.
|
|
1340
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1334
1341
|
};
|
|
1335
1342
|
l.$arity = 2;
|
|
1336
1343
|
return l;
|
|
1337
1344
|
}
|
|
1338
1345
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1339
|
-
this.
|
|
1346
|
+
this.i9r_1 = $spectators;
|
|
1340
1347
|
CoroutineImpl.call(this, resultContinuation);
|
|
1341
1348
|
}
|
|
1342
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1343
|
-
var tmp = this.
|
|
1349
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1350
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1344
1351
|
tmp.g9_1 = Unit_instance;
|
|
1345
1352
|
tmp.h9_1 = null;
|
|
1346
1353
|
return tmp.m9();
|
|
1347
1354
|
};
|
|
1348
1355
|
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1349
1356
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1350
|
-
return this.
|
|
1357
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1351
1358
|
};
|
|
1352
1359
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
1353
1360
|
var suspendResult = this.g9_1;
|
|
@@ -1356,7 +1363,7 @@
|
|
|
1356
1363
|
var tmp = this.e9_1;
|
|
1357
1364
|
if (tmp === 0) {
|
|
1358
1365
|
this.f9_1 = 1;
|
|
1359
|
-
this.
|
|
1366
|
+
this.k9r_1.dispatch(new AddSpectatorsAction(toList(this.i9r_1)));
|
|
1360
1367
|
return Unit_instance;
|
|
1361
1368
|
} else if (tmp === 1) {
|
|
1362
1369
|
throw this.h9_1;
|
|
@@ -1367,33 +1374,33 @@
|
|
|
1367
1374
|
}
|
|
1368
1375
|
while (true);
|
|
1369
1376
|
};
|
|
1370
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1371
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1372
|
-
i.
|
|
1373
|
-
i.
|
|
1377
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1378
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.i9r_1, completion);
|
|
1379
|
+
i.j9r_1 = $this$dispatchAsync;
|
|
1380
|
+
i.k9r_1 = store;
|
|
1374
1381
|
return i;
|
|
1375
1382
|
};
|
|
1376
1383
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1377
1384
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1378
1385
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1379
|
-
return i.
|
|
1386
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1380
1387
|
};
|
|
1381
1388
|
l.$arity = 2;
|
|
1382
1389
|
return l;
|
|
1383
1390
|
}
|
|
1384
1391
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1385
|
-
this.
|
|
1392
|
+
this.t9r_1 = $spectators;
|
|
1386
1393
|
CoroutineImpl.call(this, resultContinuation);
|
|
1387
1394
|
}
|
|
1388
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1389
|
-
var tmp = this.
|
|
1395
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1396
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1390
1397
|
tmp.g9_1 = Unit_instance;
|
|
1391
1398
|
tmp.h9_1 = null;
|
|
1392
1399
|
return tmp.m9();
|
|
1393
1400
|
};
|
|
1394
1401
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1395
1402
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1396
|
-
return this.
|
|
1403
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1397
1404
|
};
|
|
1398
1405
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1399
1406
|
var suspendResult = this.g9_1;
|
|
@@ -1402,7 +1409,7 @@
|
|
|
1402
1409
|
var tmp = this.e9_1;
|
|
1403
1410
|
if (tmp === 0) {
|
|
1404
1411
|
this.f9_1 = 1;
|
|
1405
|
-
this.
|
|
1412
|
+
this.v9r_1.dispatch(new RemoveSpectatorsAction(toList(this.t9r_1)));
|
|
1406
1413
|
return Unit_instance;
|
|
1407
1414
|
} else if (tmp === 1) {
|
|
1408
1415
|
throw this.h9_1;
|
|
@@ -1413,34 +1420,34 @@
|
|
|
1413
1420
|
}
|
|
1414
1421
|
while (true);
|
|
1415
1422
|
};
|
|
1416
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1417
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1418
|
-
i.
|
|
1419
|
-
i.
|
|
1423
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1424
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.t9r_1, completion);
|
|
1425
|
+
i.u9r_1 = $this$dispatchAsync;
|
|
1426
|
+
i.v9r_1 = store;
|
|
1420
1427
|
return i;
|
|
1421
1428
|
};
|
|
1422
1429
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1423
1430
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1424
1431
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1425
|
-
return i.
|
|
1432
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1426
1433
|
};
|
|
1427
1434
|
l.$arity = 2;
|
|
1428
1435
|
return l;
|
|
1429
1436
|
}
|
|
1430
1437
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1431
|
-
this.
|
|
1432
|
-
this.
|
|
1438
|
+
this.e9s_1 = $playerId;
|
|
1439
|
+
this.f9s_1 = this$0;
|
|
1433
1440
|
CoroutineImpl.call(this, resultContinuation);
|
|
1434
1441
|
}
|
|
1435
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1436
|
-
var tmp = this.
|
|
1442
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1443
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1437
1444
|
tmp.g9_1 = Unit_instance;
|
|
1438
1445
|
tmp.h9_1 = null;
|
|
1439
1446
|
return tmp.m9();
|
|
1440
1447
|
};
|
|
1441
1448
|
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1442
1449
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1443
|
-
return this.
|
|
1450
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1444
1451
|
};
|
|
1445
1452
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1446
1453
|
var suspendResult = this.g9_1;
|
|
@@ -1449,14 +1456,14 @@
|
|
|
1449
1456
|
var tmp = this.e9_1;
|
|
1450
1457
|
if (tmp === 0) {
|
|
1451
1458
|
this.f9_1 = 1;
|
|
1452
|
-
var table = this.
|
|
1453
|
-
var player = getPlayer(table.players, this.
|
|
1459
|
+
var table = this.h9s_1.state.m6r();
|
|
1460
|
+
var player = getPlayer(table.players, this.e9s_1);
|
|
1454
1461
|
if (player.f6x_1.h6d().y6b_1.isLive) {
|
|
1455
|
-
this.
|
|
1462
|
+
this.h9s_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.f9s_1).b8z(player, table));
|
|
1456
1463
|
} else {
|
|
1457
|
-
var tmp_0 = this.
|
|
1464
|
+
var tmp_0 = this.h9s_1.dispatch;
|
|
1458
1465
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1459
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1466
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.e9s_1));
|
|
1460
1467
|
}
|
|
1461
1468
|
return Unit_instance;
|
|
1462
1469
|
} else if (tmp === 1) {
|
|
@@ -1468,34 +1475,34 @@
|
|
|
1468
1475
|
}
|
|
1469
1476
|
while (true);
|
|
1470
1477
|
};
|
|
1471
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1472
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1473
|
-
i.
|
|
1474
|
-
i.
|
|
1478
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1479
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.e9s_1, this.f9s_1, completion);
|
|
1480
|
+
i.g9s_1 = $this$dispatchAsync;
|
|
1481
|
+
i.h9s_1 = store;
|
|
1475
1482
|
return i;
|
|
1476
1483
|
};
|
|
1477
1484
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1478
1485
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1479
1486
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1480
|
-
return i.
|
|
1487
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1481
1488
|
};
|
|
1482
1489
|
l.$arity = 2;
|
|
1483
1490
|
return l;
|
|
1484
1491
|
}
|
|
1485
1492
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
1486
|
-
this.
|
|
1487
|
-
this.
|
|
1493
|
+
this.q9s_1 = this$0;
|
|
1494
|
+
this.r9s_1 = $newRid;
|
|
1488
1495
|
CoroutineImpl.call(this, resultContinuation);
|
|
1489
1496
|
}
|
|
1490
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1491
|
-
var tmp = this.
|
|
1497
|
+
protoOf(GameServer$roomOnDelete$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1498
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1492
1499
|
tmp.g9_1 = Unit_instance;
|
|
1493
1500
|
tmp.h9_1 = null;
|
|
1494
1501
|
return tmp.m9();
|
|
1495
1502
|
};
|
|
1496
1503
|
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1497
1504
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1498
|
-
return this.
|
|
1505
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1499
1506
|
};
|
|
1500
1507
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1501
1508
|
var suspendResult = this.g9_1;
|
|
@@ -1504,10 +1511,10 @@
|
|
|
1504
1511
|
var tmp = this.e9_1;
|
|
1505
1512
|
if (tmp === 0) {
|
|
1506
1513
|
this.f9_1 = 1;
|
|
1507
|
-
var it = this.
|
|
1514
|
+
var it = this.q9s_1.e6b().n6q_1;
|
|
1508
1515
|
var tmp_0;
|
|
1509
1516
|
if (it == null) {
|
|
1510
|
-
_get_logger__rkp4sl(this.
|
|
1517
|
+
_get_logger__rkp4sl(this.q9s_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1511
1518
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1512
1519
|
} else {
|
|
1513
1520
|
tmp_0 = it;
|
|
@@ -1516,7 +1523,7 @@
|
|
|
1516
1523
|
var gameTransition = terminationState.h92_1;
|
|
1517
1524
|
var tmp_1;
|
|
1518
1525
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
1519
|
-
var value = this.
|
|
1526
|
+
var value = this.r9s_1;
|
|
1520
1527
|
var tmp$ret$0 = Unit_instance;
|
|
1521
1528
|
l$ret$1: do {
|
|
1522
1529
|
if (value == null) {
|
|
@@ -1533,9 +1540,9 @@
|
|
|
1533
1540
|
tmp_1 = gameTransition;
|
|
1534
1541
|
}
|
|
1535
1542
|
var transition = tmp_1;
|
|
1536
|
-
var tmp_2 = this.
|
|
1543
|
+
var tmp_2 = this.t9s_1.dispatch;
|
|
1537
1544
|
var tmp0_reason = terminationState.g92_1;
|
|
1538
|
-
var tmp1_isGameFinished = this.
|
|
1545
|
+
var tmp1_isGameFinished = this.q9s_1.e6b().m6r().isGameFinished;
|
|
1539
1546
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
1540
1547
|
return Unit_instance;
|
|
1541
1548
|
} else if (tmp === 1) {
|
|
@@ -1547,33 +1554,33 @@
|
|
|
1547
1554
|
}
|
|
1548
1555
|
while (true);
|
|
1549
1556
|
};
|
|
1550
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1551
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1552
|
-
i.
|
|
1553
|
-
i.
|
|
1557
|
+
protoOf(GameServer$roomOnDelete$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1558
|
+
var i = new GameServer$roomOnDelete$slambda(this.q9s_1, this.r9s_1, completion);
|
|
1559
|
+
i.s9s_1 = $this$dispatchAsync;
|
|
1560
|
+
i.t9s_1 = store;
|
|
1554
1561
|
return i;
|
|
1555
1562
|
};
|
|
1556
1563
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1557
1564
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1558
1565
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1559
|
-
return i.
|
|
1566
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1560
1567
|
};
|
|
1561
1568
|
l.$arity = 2;
|
|
1562
1569
|
return l;
|
|
1563
1570
|
}
|
|
1564
1571
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1565
|
-
this.
|
|
1572
|
+
this.c9t_1 = $enabled;
|
|
1566
1573
|
CoroutineImpl.call(this, resultContinuation);
|
|
1567
1574
|
}
|
|
1568
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1569
|
-
var tmp = this.
|
|
1575
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1576
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1570
1577
|
tmp.g9_1 = Unit_instance;
|
|
1571
1578
|
tmp.h9_1 = null;
|
|
1572
1579
|
return tmp.m9();
|
|
1573
1580
|
};
|
|
1574
1581
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1575
1582
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1576
|
-
return this.
|
|
1583
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1577
1584
|
};
|
|
1578
1585
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1579
1586
|
var suspendResult = this.g9_1;
|
|
@@ -1582,7 +1589,7 @@
|
|
|
1582
1589
|
var tmp = this.e9_1;
|
|
1583
1590
|
if (tmp === 0) {
|
|
1584
1591
|
this.f9_1 = 1;
|
|
1585
|
-
this.
|
|
1592
|
+
this.e9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.e9t_1.state).f9t_1.h9t(this.c9t_1)));
|
|
1586
1593
|
return Unit_instance;
|
|
1587
1594
|
} else if (tmp === 1) {
|
|
1588
1595
|
throw this.h9_1;
|
|
@@ -1593,35 +1600,35 @@
|
|
|
1593
1600
|
}
|
|
1594
1601
|
while (true);
|
|
1595
1602
|
};
|
|
1596
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1597
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1598
|
-
i.
|
|
1599
|
-
i.
|
|
1603
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1604
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.c9t_1, completion);
|
|
1605
|
+
i.d9t_1 = $this$dispatchAsync;
|
|
1606
|
+
i.e9t_1 = store;
|
|
1600
1607
|
return i;
|
|
1601
1608
|
};
|
|
1602
1609
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1603
1610
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1604
1611
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1605
|
-
return i.
|
|
1612
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1606
1613
|
};
|
|
1607
1614
|
l.$arity = 2;
|
|
1608
1615
|
return l;
|
|
1609
1616
|
}
|
|
1610
1617
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1618
|
+
this.q9t_1 = $reason;
|
|
1619
|
+
this.r9t_1 = this$0;
|
|
1620
|
+
this.s9t_1 = $roomId;
|
|
1614
1621
|
CoroutineImpl.call(this, resultContinuation);
|
|
1615
1622
|
}
|
|
1616
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1617
|
-
var tmp = this.
|
|
1623
|
+
protoOf(GameServer$shutdown$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1624
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1618
1625
|
tmp.g9_1 = Unit_instance;
|
|
1619
1626
|
tmp.h9_1 = null;
|
|
1620
1627
|
return tmp.m9();
|
|
1621
1628
|
};
|
|
1622
1629
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1623
1630
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1624
|
-
return this.
|
|
1631
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1625
1632
|
};
|
|
1626
1633
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1627
1634
|
var suspendResult = this.g9_1;
|
|
@@ -1630,11 +1637,11 @@
|
|
|
1630
1637
|
var tmp = this.e9_1;
|
|
1631
1638
|
if (tmp === 0) {
|
|
1632
1639
|
this.f9_1 = 1;
|
|
1633
|
-
var state = this.
|
|
1640
|
+
var state = this.u9t_1.store.state;
|
|
1634
1641
|
if (state.n6r()) {
|
|
1635
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1642
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.q9t_1, get_serverShutdownReasonMapping());
|
|
1636
1643
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1637
|
-
var tmp_0 = this.
|
|
1644
|
+
var tmp_0 = this.u9t_1.dispatch;
|
|
1638
1645
|
var tmp_1 = Companion_instance_0;
|
|
1639
1646
|
var tmp_2;
|
|
1640
1647
|
switch (shutdownReason.n2_1) {
|
|
@@ -1648,10 +1655,10 @@
|
|
|
1648
1655
|
noWhenBranchMatchedException();
|
|
1649
1656
|
break;
|
|
1650
1657
|
}
|
|
1651
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1658
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.r9t_1.table.isGameFinished, this.r9t_1.table));
|
|
1652
1659
|
} else {
|
|
1653
|
-
_get_logger__rkp4sl(this.
|
|
1654
|
-
this.
|
|
1660
|
+
_get_logger__rkp4sl(this.r9t_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.s9t_1);
|
|
1661
|
+
this.u9t_1.dispatch(new ClearAction());
|
|
1655
1662
|
}
|
|
1656
1663
|
return Unit_instance;
|
|
1657
1664
|
} else if (tmp === 1) {
|
|
@@ -1663,22 +1670,22 @@
|
|
|
1663
1670
|
}
|
|
1664
1671
|
while (true);
|
|
1665
1672
|
};
|
|
1666
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1667
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1668
|
-
i.
|
|
1669
|
-
i.
|
|
1673
|
+
protoOf(GameServer$shutdown$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1674
|
+
var i = new GameServer$shutdown$slambda(this.q9t_1, this.r9t_1, this.s9t_1, completion);
|
|
1675
|
+
i.t9t_1 = $this$dispatchAsync;
|
|
1676
|
+
i.u9t_1 = store;
|
|
1670
1677
|
return i;
|
|
1671
1678
|
};
|
|
1672
1679
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1673
1680
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1674
1681
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1675
|
-
return i.
|
|
1682
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1676
1683
|
};
|
|
1677
1684
|
l.$arity = 2;
|
|
1678
1685
|
return l;
|
|
1679
1686
|
}
|
|
1680
1687
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1681
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.
|
|
1688
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.v9t()) : preloadedState;
|
|
1682
1689
|
var tmp;
|
|
1683
1690
|
if (externalReducers === VOID) {
|
|
1684
1691
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1729,12 +1736,18 @@
|
|
|
1729
1736
|
var tmp_11 = this;
|
|
1730
1737
|
tmp_11.g9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1731
1738
|
var tmp_12 = this;
|
|
1739
|
+
// Inline function 'org.kodein.di.instance' call
|
|
1740
|
+
// Inline function 'org.kodein.type.generic' call
|
|
1741
|
+
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1742
|
+
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
1743
|
+
tmp_12.h9l_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory());
|
|
1744
|
+
var tmp_14 = this;
|
|
1732
1745
|
var tmp0_externalMiddlewares = plus(storeContract.d95(), externalMiddlewares);
|
|
1733
1746
|
var tmp1_externalReducers = plus(storeContract.c95(), externalReducers);
|
|
1734
|
-
|
|
1747
|
+
tmp_14.i9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1735
1748
|
}
|
|
1736
1749
|
protoOf(GameServer).z6p = function () {
|
|
1737
|
-
return this.
|
|
1750
|
+
return this.i9l_1;
|
|
1738
1751
|
};
|
|
1739
1752
|
protoOf(GameServer).d5l = function () {
|
|
1740
1753
|
return this.e6b().m6r().id;
|
|
@@ -1762,52 +1775,52 @@
|
|
|
1762
1775
|
};
|
|
1763
1776
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1764
1777
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1765
|
-
this.
|
|
1778
|
+
this.i9l_1.l6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1766
1779
|
};
|
|
1767
1780
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1768
1781
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1769
|
-
this.
|
|
1782
|
+
this.i9l_1.l6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1770
1783
|
};
|
|
1771
1784
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1772
1785
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1773
|
-
this.
|
|
1786
|
+
this.i9l_1.l6r(GameServer$playerLive$slambda_0(playerId, null));
|
|
1774
1787
|
};
|
|
1775
1788
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1776
1789
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1777
|
-
this.
|
|
1790
|
+
this.i9l_1.l6r(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1778
1791
|
};
|
|
1779
|
-
protoOf(GameServer).
|
|
1780
|
-
this.
|
|
1792
|
+
protoOf(GameServer).w9t = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
1793
|
+
this.i9l_1.l6r(GameServer$roomOnCreate$slambda_0(usersArray, gameCreatorId, config, transition, this, spectators, roomId, null));
|
|
1781
1794
|
};
|
|
1782
1795
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
1783
|
-
this.
|
|
1784
|
-
this.
|
|
1796
|
+
this.i9l_1.l6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
1797
|
+
this.i9l_1.l6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
1785
1798
|
};
|
|
1786
1799
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1787
|
-
this.
|
|
1788
|
-
this.
|
|
1800
|
+
this.i9l_1.l6r(GameServer$roomOnContinueFromRound$slambda_0(roomId, this, tableLite, null));
|
|
1801
|
+
this.i9l_1.l6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
1789
1802
|
};
|
|
1790
1803
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1791
|
-
this.
|
|
1804
|
+
this.i9l_1.l6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1792
1805
|
};
|
|
1793
1806
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1794
|
-
this.
|
|
1807
|
+
this.i9l_1.l6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1795
1808
|
};
|
|
1796
1809
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1797
1810
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1798
|
-
this.
|
|
1811
|
+
this.i9l_1.l6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1799
1812
|
};
|
|
1800
|
-
protoOf(GameServer).
|
|
1813
|
+
protoOf(GameServer).x9t = function (newRid) {
|
|
1801
1814
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
1802
|
-
this.
|
|
1815
|
+
this.i9l_1.l6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1803
1816
|
};
|
|
1804
1817
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1805
1818
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
1806
|
-
this.
|
|
1819
|
+
this.i9l_1.l6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1807
1820
|
};
|
|
1808
|
-
protoOf(GameServer).
|
|
1821
|
+
protoOf(GameServer).y9t = function (reason, roomId) {
|
|
1809
1822
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
1810
|
-
this.
|
|
1823
|
+
this.i9l_1.l6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1811
1824
|
};
|
|
1812
1825
|
protoOf(GameServer).clear = function () {
|
|
1813
1826
|
return this.a2();
|
|
@@ -1837,6 +1850,11 @@
|
|
|
1837
1850
|
return _get_teamsLogicProvider__u10pm6(receiver);
|
|
1838
1851
|
}, null);
|
|
1839
1852
|
}
|
|
1853
|
+
function idsProvider$factory() {
|
|
1854
|
+
return getPropertyCallableRef('idsProvider', 1, KProperty1, function (receiver) {
|
|
1855
|
+
return _get_idsProvider__fnfajc(receiver);
|
|
1856
|
+
}, null);
|
|
1857
|
+
}
|
|
1840
1858
|
function logger$factory_0() {
|
|
1841
1859
|
return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
|
|
1842
1860
|
return _get_logger__rkp4sl(receiver);
|
|
@@ -1867,6 +1885,11 @@
|
|
|
1867
1885
|
return _get_random__h29cgo(receiver);
|
|
1868
1886
|
}, null);
|
|
1869
1887
|
}
|
|
1888
|
+
function idsProvider$factory_0() {
|
|
1889
|
+
return getPropertyCallableRef('idsProvider', 1, KProperty1, function (receiver) {
|
|
1890
|
+
return _get_idsProvider__fnfajc(receiver);
|
|
1891
|
+
}, null);
|
|
1892
|
+
}
|
|
1870
1893
|
function get_serverShutdownReasonMapping() {
|
|
1871
1894
|
_init_properties_ReasonsMappers_kt__p6o0hv();
|
|
1872
1895
|
return serverShutdownReasonMapping;
|
|
@@ -1910,16 +1933,16 @@
|
|
|
1910
1933
|
return Companion_instance_8;
|
|
1911
1934
|
}
|
|
1912
1935
|
function ServerConfig(canStartNewGame) {
|
|
1913
|
-
this.
|
|
1936
|
+
this.g9t_1 = canStartNewGame;
|
|
1914
1937
|
}
|
|
1915
|
-
protoOf(ServerConfig).
|
|
1938
|
+
protoOf(ServerConfig).h9t = function (canStartNewGame) {
|
|
1916
1939
|
return new ServerConfig(canStartNewGame);
|
|
1917
1940
|
};
|
|
1918
1941
|
protoOf(ServerConfig).toString = function () {
|
|
1919
|
-
return 'ServerConfig(canStartNewGame=' + this.
|
|
1942
|
+
return 'ServerConfig(canStartNewGame=' + this.g9t_1 + ')';
|
|
1920
1943
|
};
|
|
1921
1944
|
protoOf(ServerConfig).hashCode = function () {
|
|
1922
|
-
return getBooleanHashCode(this.
|
|
1945
|
+
return getBooleanHashCode(this.g9t_1);
|
|
1923
1946
|
};
|
|
1924
1947
|
protoOf(ServerConfig).equals = function (other) {
|
|
1925
1948
|
if (this === other)
|
|
@@ -1927,7 +1950,7 @@
|
|
|
1927
1950
|
if (!(other instanceof ServerConfig))
|
|
1928
1951
|
return false;
|
|
1929
1952
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1930
|
-
if (!(this.
|
|
1953
|
+
if (!(this.g9t_1 === tmp0_other_with_cast.g9t_1))
|
|
1931
1954
|
return false;
|
|
1932
1955
|
return true;
|
|
1933
1956
|
};
|
|
@@ -1942,12 +1965,12 @@
|
|
|
1942
1965
|
protoOf(TableStateUpdate).pe = function () {
|
|
1943
1966
|
return this.table;
|
|
1944
1967
|
};
|
|
1945
|
-
protoOf(TableStateUpdate).
|
|
1968
|
+
protoOf(TableStateUpdate).z9t = function (table) {
|
|
1946
1969
|
return new TableStateUpdate(table);
|
|
1947
1970
|
};
|
|
1948
1971
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
1949
1972
|
table = table === VOID ? this.table : table;
|
|
1950
|
-
return this.
|
|
1973
|
+
return this.z9t(table);
|
|
1951
1974
|
};
|
|
1952
1975
|
protoOf(TableStateUpdate).toString = function () {
|
|
1953
1976
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -1974,12 +1997,12 @@
|
|
|
1974
1997
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
1975
1998
|
return this.actions;
|
|
1976
1999
|
};
|
|
1977
|
-
protoOf(ActionsStateUpdate).
|
|
2000
|
+
protoOf(ActionsStateUpdate).a9u = function (actions) {
|
|
1978
2001
|
return new ActionsStateUpdate(actions);
|
|
1979
2002
|
};
|
|
1980
2003
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
1981
2004
|
actions = actions === VOID ? this.actions : actions;
|
|
1982
|
-
return this.
|
|
2005
|
+
return this.a9u(actions);
|
|
1983
2006
|
};
|
|
1984
2007
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
1985
2008
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2243,7 +2266,7 @@
|
|
|
2243
2266
|
function MechanicEventsObserver() {
|
|
2244
2267
|
}
|
|
2245
2268
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2246
|
-
this.
|
|
2269
|
+
this.k9u_1 = $$this$unsafeFlow;
|
|
2247
2270
|
CoroutineImpl.call(this, resultContinuation);
|
|
2248
2271
|
}
|
|
2249
2272
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2264,12 +2287,12 @@
|
|
|
2264
2287
|
case 0:
|
|
2265
2288
|
this.f9_1 = 2;
|
|
2266
2289
|
var tmp_0 = this;
|
|
2267
|
-
tmp_0.
|
|
2290
|
+
tmp_0.m9u_1 = this.k9u_1;
|
|
2268
2291
|
var tmp_1 = this;
|
|
2269
|
-
tmp_1.
|
|
2292
|
+
tmp_1.n9u_1 = this.l9u_1;
|
|
2270
2293
|
this.e9_1 = 1;
|
|
2271
|
-
var it = this.
|
|
2272
|
-
suspendResult = this.
|
|
2294
|
+
var it = this.n9u_1;
|
|
2295
|
+
suspendResult = this.m9u_1.p18(new ActionsStateUpdate(it), this);
|
|
2273
2296
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2274
2297
|
return suspendResult;
|
|
2275
2298
|
}
|
|
@@ -2292,8 +2315,8 @@
|
|
|
2292
2315
|
while (true);
|
|
2293
2316
|
};
|
|
2294
2317
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2295
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.
|
|
2296
|
-
i.
|
|
2318
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda(this.k9u_1, completion);
|
|
2319
|
+
i.l9u_1 = value;
|
|
2297
2320
|
return i;
|
|
2298
2321
|
};
|
|
2299
2322
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2306,8 +2329,8 @@
|
|
|
2306
2329
|
}
|
|
2307
2330
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
2308
2331
|
CoroutineImpl.call(this, resultContinuation);
|
|
2309
|
-
this.
|
|
2310
|
-
this.
|
|
2332
|
+
this.w9u_1 = _this__u8e3s4;
|
|
2333
|
+
this.x9u_1 = collector;
|
|
2311
2334
|
}
|
|
2312
2335
|
protoOf($collectCOROUTINE$0).m9 = function () {
|
|
2313
2336
|
var suspendResult = this.g9_1;
|
|
@@ -2318,10 +2341,10 @@
|
|
|
2318
2341
|
case 0:
|
|
2319
2342
|
this.f9_1 = 2;
|
|
2320
2343
|
var tmp_0 = this;
|
|
2321
|
-
tmp_0.
|
|
2344
|
+
tmp_0.y9u_1 = this.x9u_1;
|
|
2322
2345
|
this.e9_1 = 1;
|
|
2323
|
-
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
2324
|
-
suspendResult = this.
|
|
2346
|
+
var tmp_1 = MechanicEventsObserverImpl$observeUpdates$slambda$slambda$o$collect$slambda_0(this.y9u_1, null);
|
|
2347
|
+
suspendResult = this.w9u_1.z9u_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
2325
2348
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2326
2349
|
return suspendResult;
|
|
2327
2350
|
}
|
|
@@ -2344,7 +2367,7 @@
|
|
|
2344
2367
|
while (true);
|
|
2345
2368
|
};
|
|
2346
2369
|
function _no_name_provided__qut3iv($this) {
|
|
2347
|
-
this.
|
|
2370
|
+
this.z9u_1 = $this;
|
|
2348
2371
|
}
|
|
2349
2372
|
protoOf(_no_name_provided__qut3iv).q18 = function (collector, $completion) {
|
|
2350
2373
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -2356,18 +2379,18 @@
|
|
|
2356
2379
|
return this.q18(collector, $completion);
|
|
2357
2380
|
};
|
|
2358
2381
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
2359
|
-
this.
|
|
2360
|
-
this.
|
|
2382
|
+
this.i9v_1 = $table;
|
|
2383
|
+
this.j9v_1 = this$0;
|
|
2361
2384
|
CoroutineImpl.call(this, resultContinuation);
|
|
2362
2385
|
}
|
|
2363
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2364
|
-
var tmp = this.
|
|
2386
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).l9v = function ($this$flow, $completion) {
|
|
2387
|
+
var tmp = this.m9v($this$flow, $completion);
|
|
2365
2388
|
tmp.g9_1 = Unit_instance;
|
|
2366
2389
|
tmp.h9_1 = null;
|
|
2367
2390
|
return tmp.m9();
|
|
2368
2391
|
};
|
|
2369
2392
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).w9 = function (p1, $completion) {
|
|
2370
|
-
return this.
|
|
2393
|
+
return this.l9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2371
2394
|
};
|
|
2372
2395
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9 = function () {
|
|
2373
2396
|
var suspendResult = this.g9_1;
|
|
@@ -2378,7 +2401,7 @@
|
|
|
2378
2401
|
case 0:
|
|
2379
2402
|
this.f9_1 = 3;
|
|
2380
2403
|
this.e9_1 = 1;
|
|
2381
|
-
suspendResult = this.
|
|
2404
|
+
suspendResult = this.k9v_1.p18(new TableStateUpdate(this.i9v_1), this);
|
|
2382
2405
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2383
2406
|
return suspendResult;
|
|
2384
2407
|
}
|
|
@@ -2386,8 +2409,8 @@
|
|
|
2386
2409
|
continue $sm;
|
|
2387
2410
|
case 1:
|
|
2388
2411
|
this.e9_1 = 2;
|
|
2389
|
-
var this_0 = windowedByInterval(this.
|
|
2390
|
-
suspendResult = emitAll(this.
|
|
2412
|
+
var this_0 = windowedByInterval(this.j9v_1.n9v_1, new Long(1000, 0));
|
|
2413
|
+
suspendResult = emitAll(this.k9v_1, new _no_name_provided__qut3iv(this_0), this);
|
|
2391
2414
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2392
2415
|
return suspendResult;
|
|
2393
2416
|
}
|
|
@@ -2409,21 +2432,21 @@
|
|
|
2409
2432
|
}
|
|
2410
2433
|
while (true);
|
|
2411
2434
|
};
|
|
2412
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).
|
|
2413
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.
|
|
2414
|
-
i.
|
|
2435
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda$slambda).m9v = function ($this$flow, completion) {
|
|
2436
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda(this.i9v_1, this.j9v_1, completion);
|
|
2437
|
+
i.k9v_1 = $this$flow;
|
|
2415
2438
|
return i;
|
|
2416
2439
|
};
|
|
2417
2440
|
function MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
2418
2441
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
2419
2442
|
var l = function ($this$flow, $completion) {
|
|
2420
|
-
return i.
|
|
2443
|
+
return i.l9v($this$flow, $completion);
|
|
2421
2444
|
};
|
|
2422
2445
|
l.$arity = 1;
|
|
2423
2446
|
return l;
|
|
2424
2447
|
}
|
|
2425
2448
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2426
|
-
this.
|
|
2449
|
+
this.w9v_1 = $$this$unsafeFlow;
|
|
2427
2450
|
CoroutineImpl.call(this, resultContinuation);
|
|
2428
2451
|
}
|
|
2429
2452
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2444,12 +2467,12 @@
|
|
|
2444
2467
|
case 0:
|
|
2445
2468
|
this.f9_1 = 2;
|
|
2446
2469
|
var tmp_0 = this;
|
|
2447
|
-
tmp_0.
|
|
2470
|
+
tmp_0.y9v_1 = this.w9v_1;
|
|
2448
2471
|
var tmp_1 = this;
|
|
2449
|
-
tmp_1.
|
|
2472
|
+
tmp_1.z9v_1 = this.x9v_1;
|
|
2450
2473
|
this.e9_1 = 1;
|
|
2451
|
-
var state = this.
|
|
2452
|
-
suspendResult = this.
|
|
2474
|
+
var state = this.z9v_1;
|
|
2475
|
+
suspendResult = this.y9v_1.p18(state.m6r().gameInfo.roundNumberTotal, this);
|
|
2453
2476
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2454
2477
|
return suspendResult;
|
|
2455
2478
|
}
|
|
@@ -2472,8 +2495,8 @@
|
|
|
2472
2495
|
while (true);
|
|
2473
2496
|
};
|
|
2474
2497
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda).j1i = function (value, completion) {
|
|
2475
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
2476
|
-
i.
|
|
2498
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda(this.w9v_1, completion);
|
|
2499
|
+
i.x9v_1 = value;
|
|
2477
2500
|
return i;
|
|
2478
2501
|
};
|
|
2479
2502
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2486,8 +2509,8 @@
|
|
|
2486
2509
|
}
|
|
2487
2510
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
2488
2511
|
CoroutineImpl.call(this, resultContinuation);
|
|
2489
|
-
this.
|
|
2490
|
-
this.
|
|
2512
|
+
this.i9w_1 = _this__u8e3s4;
|
|
2513
|
+
this.j9w_1 = collector;
|
|
2491
2514
|
}
|
|
2492
2515
|
protoOf($collectCOROUTINE$1).m9 = function () {
|
|
2493
2516
|
var suspendResult = this.g9_1;
|
|
@@ -2498,10 +2521,10 @@
|
|
|
2498
2521
|
case 0:
|
|
2499
2522
|
this.f9_1 = 2;
|
|
2500
2523
|
var tmp_0 = this;
|
|
2501
|
-
tmp_0.
|
|
2524
|
+
tmp_0.k9w_1 = this.j9w_1;
|
|
2502
2525
|
this.e9_1 = 1;
|
|
2503
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
2504
|
-
suspendResult = this.
|
|
2526
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$o$collect$slambda_0(this.k9w_1, null);
|
|
2527
|
+
suspendResult = this.i9w_1.l9w_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2505
2528
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2506
2529
|
return suspendResult;
|
|
2507
2530
|
}
|
|
@@ -2524,7 +2547,7 @@
|
|
|
2524
2547
|
while (true);
|
|
2525
2548
|
};
|
|
2526
2549
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
2527
|
-
this.
|
|
2550
|
+
this.u9w_1 = $$this$unsafeFlow;
|
|
2528
2551
|
CoroutineImpl.call(this, resultContinuation);
|
|
2529
2552
|
}
|
|
2530
2553
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).i1i = function (value, $completion) {
|
|
@@ -2548,33 +2571,33 @@
|
|
|
2548
2571
|
continue $sm;
|
|
2549
2572
|
case 1:
|
|
2550
2573
|
var tmp_0 = this;
|
|
2551
|
-
tmp_0.
|
|
2574
|
+
tmp_0.x9w_1 = this.u9w_1;
|
|
2552
2575
|
var tmp_1 = this;
|
|
2553
|
-
tmp_1.
|
|
2576
|
+
tmp_1.y9w_1 = this.v9w_1;
|
|
2554
2577
|
var tmp_2 = this;
|
|
2555
|
-
tmp_2.
|
|
2556
|
-
if (this.
|
|
2557
|
-
this.
|
|
2578
|
+
tmp_2.z9w_1 = this.y9w_1.k6q_1;
|
|
2579
|
+
if (this.z9w_1 == null) {
|
|
2580
|
+
this.w9w_1 = Unit_instance;
|
|
2558
2581
|
this.e9_1 = 4;
|
|
2559
2582
|
var tmp_3 = this;
|
|
2560
2583
|
continue $sm;
|
|
2561
2584
|
} else {
|
|
2562
|
-
this.
|
|
2585
|
+
this.a9x_1 = this.z9w_1;
|
|
2563
2586
|
this.e9_1 = 2;
|
|
2564
2587
|
continue $sm;
|
|
2565
2588
|
}
|
|
2566
2589
|
|
|
2567
2590
|
case 2:
|
|
2568
|
-
this.
|
|
2591
|
+
this.b9x_1 = this.a9x_1;
|
|
2569
2592
|
this.e9_1 = 3;
|
|
2570
|
-
suspendResult = this.
|
|
2593
|
+
suspendResult = this.x9w_1.p18(this.b9x_1, this);
|
|
2571
2594
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2572
2595
|
return suspendResult;
|
|
2573
2596
|
}
|
|
2574
2597
|
|
|
2575
2598
|
continue $sm;
|
|
2576
2599
|
case 3:
|
|
2577
|
-
this.
|
|
2600
|
+
this.w9w_1 = suspendResult;
|
|
2578
2601
|
if (false) {
|
|
2579
2602
|
this.e9_1 = 1;
|
|
2580
2603
|
continue $sm;
|
|
@@ -2599,8 +2622,8 @@
|
|
|
2599
2622
|
while (true);
|
|
2600
2623
|
};
|
|
2601
2624
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda).j1i = function (value, completion) {
|
|
2602
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
2603
|
-
i.
|
|
2625
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.u9w_1, completion);
|
|
2626
|
+
i.v9w_1 = value;
|
|
2604
2627
|
return i;
|
|
2605
2628
|
};
|
|
2606
2629
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -2613,8 +2636,8 @@
|
|
|
2613
2636
|
}
|
|
2614
2637
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
2615
2638
|
CoroutineImpl.call(this, resultContinuation);
|
|
2616
|
-
this.
|
|
2617
|
-
this.
|
|
2639
|
+
this.k9x_1 = _this__u8e3s4;
|
|
2640
|
+
this.l9x_1 = collector;
|
|
2618
2641
|
}
|
|
2619
2642
|
protoOf($collectCOROUTINE$2).m9 = function () {
|
|
2620
2643
|
var suspendResult = this.g9_1;
|
|
@@ -2625,10 +2648,10 @@
|
|
|
2625
2648
|
case 0:
|
|
2626
2649
|
this.f9_1 = 2;
|
|
2627
2650
|
var tmp_0 = this;
|
|
2628
|
-
tmp_0.
|
|
2651
|
+
tmp_0.m9x_1 = this.l9x_1;
|
|
2629
2652
|
this.e9_1 = 1;
|
|
2630
|
-
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
2631
|
-
suspendResult = this.
|
|
2653
|
+
var tmp_1 = MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.m9x_1, null);
|
|
2654
|
+
suspendResult = this.k9x_1.n9x_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
2632
2655
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2633
2656
|
return suspendResult;
|
|
2634
2657
|
}
|
|
@@ -2651,7 +2674,7 @@
|
|
|
2651
2674
|
while (true);
|
|
2652
2675
|
};
|
|
2653
2676
|
function _no_name_provided__qut3iv_0($this) {
|
|
2654
|
-
this.
|
|
2677
|
+
this.n9x_1 = $this;
|
|
2655
2678
|
}
|
|
2656
2679
|
protoOf(_no_name_provided__qut3iv_0).q18 = function (collector, $completion) {
|
|
2657
2680
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -2672,20 +2695,20 @@
|
|
|
2672
2695
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
2673
2696
|
}
|
|
2674
2697
|
function Companion_1() {
|
|
2675
|
-
this.
|
|
2698
|
+
this.o9x_1 = 1000;
|
|
2676
2699
|
}
|
|
2677
2700
|
var Companion_instance_9;
|
|
2678
2701
|
function Companion_getInstance_2() {
|
|
2679
2702
|
return Companion_instance_9;
|
|
2680
2703
|
}
|
|
2681
2704
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
2682
|
-
this.
|
|
2705
|
+
this.p9x_1 = function_0;
|
|
2683
2706
|
}
|
|
2684
2707
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p18 = function (value, $completion) {
|
|
2685
|
-
return this.
|
|
2708
|
+
return this.p9x_1(value, $completion);
|
|
2686
2709
|
};
|
|
2687
2710
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o3 = function () {
|
|
2688
|
-
return this.
|
|
2711
|
+
return this.p9x_1;
|
|
2689
2712
|
};
|
|
2690
2713
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
2691
2714
|
var tmp;
|
|
@@ -2706,13 +2729,13 @@
|
|
|
2706
2729
|
return hashCode(this.o3());
|
|
2707
2730
|
};
|
|
2708
2731
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
2709
|
-
this.
|
|
2732
|
+
this.q9x_1 = function_0;
|
|
2710
2733
|
}
|
|
2711
2734
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).p18 = function (value, $completion) {
|
|
2712
|
-
return this.
|
|
2735
|
+
return this.q9x_1(value, $completion);
|
|
2713
2736
|
};
|
|
2714
2737
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o3 = function () {
|
|
2715
|
-
return this.
|
|
2738
|
+
return this.q9x_1;
|
|
2716
2739
|
};
|
|
2717
2740
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
2718
2741
|
var tmp;
|
|
@@ -2733,18 +2756,18 @@
|
|
|
2733
2756
|
return hashCode(this.o3());
|
|
2734
2757
|
};
|
|
2735
2758
|
function MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation) {
|
|
2736
|
-
this.
|
|
2759
|
+
this.z9x_1 = this$0;
|
|
2737
2760
|
CoroutineImpl.call(this, resultContinuation);
|
|
2738
2761
|
}
|
|
2739
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2740
|
-
var tmp = this.
|
|
2762
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).c9y = function ($this$transformLatest, it, $completion) {
|
|
2763
|
+
var tmp = this.d9y($this$transformLatest, it, $completion);
|
|
2741
2764
|
tmp.g9_1 = Unit_instance;
|
|
2742
2765
|
tmp.h9_1 = null;
|
|
2743
2766
|
return tmp.m9();
|
|
2744
2767
|
};
|
|
2745
2768
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).x9 = function (p1, p2, $completion) {
|
|
2746
2769
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2747
|
-
return this.
|
|
2770
|
+
return this.c9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2748
2771
|
};
|
|
2749
2772
|
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).m9 = function () {
|
|
2750
2773
|
var suspendResult = this.g9_1;
|
|
@@ -2755,8 +2778,8 @@
|
|
|
2755
2778
|
case 0:
|
|
2756
2779
|
this.f9_1 = 2;
|
|
2757
2780
|
this.e9_1 = 1;
|
|
2758
|
-
var table = this.
|
|
2759
|
-
suspendResult = emitAll(this.
|
|
2781
|
+
var table = this.b9y_1;
|
|
2782
|
+
suspendResult = emitAll(this.a9y_1, flow(MechanicEventsObserverImpl$observeUpdates$slambda$slambda_0(table, this.z9x_1, null)), this);
|
|
2760
2783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2761
2784
|
return suspendResult;
|
|
2762
2785
|
}
|
|
@@ -2778,22 +2801,22 @@
|
|
|
2778
2801
|
}
|
|
2779
2802
|
while (true);
|
|
2780
2803
|
};
|
|
2781
|
-
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).
|
|
2782
|
-
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.
|
|
2783
|
-
i.
|
|
2784
|
-
i.
|
|
2804
|
+
protoOf(MechanicEventsObserverImpl$observeUpdates$slambda).d9y = function ($this$transformLatest, it, completion) {
|
|
2805
|
+
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this.z9x_1, completion);
|
|
2806
|
+
i.a9y_1 = $this$transformLatest;
|
|
2807
|
+
i.b9y_1 = it;
|
|
2785
2808
|
return i;
|
|
2786
2809
|
};
|
|
2787
2810
|
function MechanicEventsObserverImpl$observeUpdates$slambda_0(this$0, resultContinuation) {
|
|
2788
2811
|
var i = new MechanicEventsObserverImpl$observeUpdates$slambda(this$0, resultContinuation);
|
|
2789
2812
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2790
|
-
return i.
|
|
2813
|
+
return i.c9y($this$transformLatest, it, $completion);
|
|
2791
2814
|
};
|
|
2792
2815
|
l.$arity = 2;
|
|
2793
2816
|
return l;
|
|
2794
2817
|
}
|
|
2795
2818
|
function _no_name_provided__qut3iv_1($this) {
|
|
2796
|
-
this.
|
|
2819
|
+
this.l9w_1 = $this;
|
|
2797
2820
|
}
|
|
2798
2821
|
protoOf(_no_name_provided__qut3iv_1).q18 = function (collector, $completion) {
|
|
2799
2822
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -2805,18 +2828,18 @@
|
|
|
2805
2828
|
return this.q18(collector, $completion);
|
|
2806
2829
|
};
|
|
2807
2830
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
2808
|
-
this.
|
|
2831
|
+
this.m9y_1 = $observeState;
|
|
2809
2832
|
CoroutineImpl.call(this, resultContinuation);
|
|
2810
2833
|
}
|
|
2811
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2812
|
-
var tmp = this.
|
|
2834
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).c9y = function ($this$transformLatest, it, $completion) {
|
|
2835
|
+
var tmp = this.d9y($this$transformLatest, it, $completion);
|
|
2813
2836
|
tmp.g9_1 = Unit_instance;
|
|
2814
2837
|
tmp.h9_1 = null;
|
|
2815
2838
|
return tmp.m9();
|
|
2816
2839
|
};
|
|
2817
2840
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).x9 = function (p1, p2, $completion) {
|
|
2818
2841
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2819
|
-
return this.
|
|
2842
|
+
return this.c9y(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2820
2843
|
};
|
|
2821
2844
|
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).m9 = function () {
|
|
2822
2845
|
var suspendResult = this.g9_1;
|
|
@@ -2827,9 +2850,9 @@
|
|
|
2827
2850
|
case 0:
|
|
2828
2851
|
this.f9_1 = 2;
|
|
2829
2852
|
this.e9_1 = 1;
|
|
2830
|
-
this.
|
|
2831
|
-
var this_0 = this.
|
|
2832
|
-
suspendResult = emitAll(this.
|
|
2853
|
+
this.o9y_1;
|
|
2854
|
+
var this_0 = this.m9y_1;
|
|
2855
|
+
suspendResult = emitAll(this.n9y_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
2833
2856
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2834
2857
|
return suspendResult;
|
|
2835
2858
|
}
|
|
@@ -2851,27 +2874,27 @@
|
|
|
2851
2874
|
}
|
|
2852
2875
|
while (true);
|
|
2853
2876
|
};
|
|
2854
|
-
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).
|
|
2855
|
-
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.
|
|
2856
|
-
i.
|
|
2857
|
-
i.
|
|
2877
|
+
protoOf(MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda).d9y = function ($this$transformLatest, it, completion) {
|
|
2878
|
+
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda(this.m9y_1, completion);
|
|
2879
|
+
i.n9y_1 = $this$transformLatest;
|
|
2880
|
+
i.o9y_1 = it;
|
|
2858
2881
|
return i;
|
|
2859
2882
|
};
|
|
2860
2883
|
function MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
2861
2884
|
var i = new MechanicEventsObserverImpl$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
2862
2885
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2863
|
-
return i.
|
|
2886
|
+
return i.c9y($this$transformLatest, it, $completion);
|
|
2864
2887
|
};
|
|
2865
2888
|
l.$arity = 2;
|
|
2866
2889
|
return l;
|
|
2867
2890
|
}
|
|
2868
2891
|
function MechanicEventsObserverImpl() {
|
|
2869
|
-
this.
|
|
2892
|
+
this.n9v_1 = MutableSharedFlow();
|
|
2870
2893
|
}
|
|
2871
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2872
|
-
return this.
|
|
2894
|
+
protoOf(MechanicEventsObserverImpl).b9u = function (event, $completion) {
|
|
2895
|
+
return this.n9v_1.p18(event, $completion);
|
|
2873
2896
|
};
|
|
2874
|
-
protoOf(MechanicEventsObserverImpl).
|
|
2897
|
+
protoOf(MechanicEventsObserverImpl).k9m = function (observeState) {
|
|
2875
2898
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
2876
2899
|
var this_0 = observeTableWhenRoundChanges(this, observeState);
|
|
2877
2900
|
return transformLatest(this_0, MechanicEventsObserverImpl$observeUpdates$slambda_0(this, null));
|
|
@@ -2879,18 +2902,18 @@
|
|
|
2879
2902
|
function ToClientEventsObserver() {
|
|
2880
2903
|
}
|
|
2881
2904
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2905
|
+
this.y9y_1 = this$0;
|
|
2906
|
+
this.z9y_1 = $actions;
|
|
2884
2907
|
CoroutineImpl.call(this, resultContinuation);
|
|
2885
2908
|
}
|
|
2886
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2887
|
-
var tmp = this.
|
|
2909
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).g9z = function ($this$flow, $completion) {
|
|
2910
|
+
var tmp = this.h9z($this$flow, $completion);
|
|
2888
2911
|
tmp.g9_1 = Unit_instance;
|
|
2889
2912
|
tmp.h9_1 = null;
|
|
2890
2913
|
return tmp.m9();
|
|
2891
2914
|
};
|
|
2892
2915
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
2893
|
-
return this.
|
|
2916
|
+
return this.g9z((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2894
2917
|
};
|
|
2895
2918
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9 = function () {
|
|
2896
2919
|
var suspendResult = this.g9_1;
|
|
@@ -2901,23 +2924,23 @@
|
|
|
2901
2924
|
case 0:
|
|
2902
2925
|
this.f9_1 = 4;
|
|
2903
2926
|
var tmp_0 = this;
|
|
2904
|
-
tmp_0.
|
|
2927
|
+
tmp_0.b9z_1 = this.y9y_1.m9z_1;
|
|
2905
2928
|
var tmp_1 = this;
|
|
2906
|
-
tmp_1.
|
|
2907
|
-
this.
|
|
2929
|
+
tmp_1.c9z_1 = transformToEmits(this.y9y_1, this.z9y_1);
|
|
2930
|
+
this.d9z_1 = this.c9z_1.j();
|
|
2908
2931
|
this.e9_1 = 1;
|
|
2909
2932
|
continue $sm;
|
|
2910
2933
|
case 1:
|
|
2911
|
-
if (!this.
|
|
2934
|
+
if (!this.d9z_1.k()) {
|
|
2912
2935
|
this.e9_1 = 3;
|
|
2913
2936
|
continue $sm;
|
|
2914
2937
|
}
|
|
2915
2938
|
|
|
2916
|
-
this.
|
|
2939
|
+
this.e9z_1 = this.d9z_1.l();
|
|
2917
2940
|
var tmp_2 = this;
|
|
2918
|
-
tmp_2.
|
|
2941
|
+
tmp_2.f9z_1 = this.e9z_1;
|
|
2919
2942
|
this.e9_1 = 2;
|
|
2920
|
-
suspendResult = this.
|
|
2943
|
+
suspendResult = this.a9z_1.p18(this.f9z_1, this);
|
|
2921
2944
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2922
2945
|
return suspendResult;
|
|
2923
2946
|
}
|
|
@@ -2928,10 +2951,10 @@
|
|
|
2928
2951
|
continue $sm;
|
|
2929
2952
|
case 3:
|
|
2930
2953
|
l$ret$1: do {
|
|
2931
|
-
var this_0 = this.
|
|
2954
|
+
var this_0 = this.y9y_1.l9z_1;
|
|
2932
2955
|
while (true) {
|
|
2933
2956
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2934
|
-
var upd = cur - this.
|
|
2957
|
+
var upd = cur - this.z9y_1.m() | 0;
|
|
2935
2958
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2936
2959
|
break l$ret$1;
|
|
2937
2960
|
}
|
|
@@ -2953,15 +2976,15 @@
|
|
|
2953
2976
|
}
|
|
2954
2977
|
while (true);
|
|
2955
2978
|
};
|
|
2956
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2957
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2958
|
-
i.
|
|
2979
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9z = function ($this$flow, completion) {
|
|
2980
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.y9y_1, this.z9y_1, completion);
|
|
2981
|
+
i.a9z_1 = $this$flow;
|
|
2959
2982
|
return i;
|
|
2960
2983
|
};
|
|
2961
2984
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2962
2985
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2963
2986
|
var l = function ($this$flow, $completion) {
|
|
2964
|
-
return i.
|
|
2987
|
+
return i.g9z($this$flow, $completion);
|
|
2965
2988
|
};
|
|
2966
2989
|
l.$arity = 1;
|
|
2967
2990
|
return l;
|
|
@@ -3034,29 +3057,29 @@
|
|
|
3034
3057
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3035
3058
|
}
|
|
3036
3059
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3037
|
-
var tmp = $this.
|
|
3060
|
+
var tmp = $this.k9z_1.s6h();
|
|
3038
3061
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3039
|
-
var this_0 = _this__u8e3s4.
|
|
3062
|
+
var this_0 = _this__u8e3s4.p9z_1;
|
|
3040
3063
|
var tmp_0 = copyToArray(this_0);
|
|
3041
3064
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3042
|
-
var this_1 = _this__u8e3s4.
|
|
3065
|
+
var this_1 = _this__u8e3s4.q9z_1;
|
|
3043
3066
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3044
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3067
|
+
return new ActionDeliveryPayload(_this__u8e3s4.o9z_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.r9z_1);
|
|
3045
3068
|
}
|
|
3046
3069
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3047
|
-
this.
|
|
3048
|
-
this.
|
|
3049
|
-
this.
|
|
3050
|
-
this.
|
|
3070
|
+
this.o9z_1 = tableId;
|
|
3071
|
+
this.p9z_1 = includePlayers;
|
|
3072
|
+
this.q9z_1 = excludePlayers;
|
|
3073
|
+
this.r9z_1 = deliveryType;
|
|
3051
3074
|
}
|
|
3052
3075
|
protoOf(GroupKey).toString = function () {
|
|
3053
|
-
return 'GroupKey(tableId=' + this.
|
|
3076
|
+
return 'GroupKey(tableId=' + this.o9z_1 + ', includePlayers=' + toString(this.p9z_1) + ', excludePlayers=' + toString(this.q9z_1) + ', deliveryType=' + this.r9z_1.toString() + ')';
|
|
3054
3077
|
};
|
|
3055
3078
|
protoOf(GroupKey).hashCode = function () {
|
|
3056
|
-
var result = getStringHashCode(this.
|
|
3057
|
-
result = imul(result, 31) + hashCode(this.
|
|
3058
|
-
result = imul(result, 31) + hashCode(this.
|
|
3059
|
-
result = imul(result, 31) + this.
|
|
3079
|
+
var result = getStringHashCode(this.o9z_1);
|
|
3080
|
+
result = imul(result, 31) + hashCode(this.p9z_1) | 0;
|
|
3081
|
+
result = imul(result, 31) + hashCode(this.q9z_1) | 0;
|
|
3082
|
+
result = imul(result, 31) + this.r9z_1.hashCode() | 0;
|
|
3060
3083
|
return result;
|
|
3061
3084
|
};
|
|
3062
3085
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3065,35 +3088,35 @@
|
|
|
3065
3088
|
if (!(other instanceof GroupKey))
|
|
3066
3089
|
return false;
|
|
3067
3090
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3068
|
-
if (!(this.
|
|
3091
|
+
if (!(this.o9z_1 === tmp0_other_with_cast.o9z_1))
|
|
3069
3092
|
return false;
|
|
3070
|
-
if (!equals(this.
|
|
3093
|
+
if (!equals(this.p9z_1, tmp0_other_with_cast.p9z_1))
|
|
3071
3094
|
return false;
|
|
3072
|
-
if (!equals(this.
|
|
3095
|
+
if (!equals(this.q9z_1, tmp0_other_with_cast.q9z_1))
|
|
3073
3096
|
return false;
|
|
3074
|
-
if (!this.
|
|
3097
|
+
if (!this.r9z_1.equals(tmp0_other_with_cast.r9z_1))
|
|
3075
3098
|
return false;
|
|
3076
3099
|
return true;
|
|
3077
3100
|
};
|
|
3078
3101
|
function Companion_2() {
|
|
3079
|
-
this.
|
|
3102
|
+
this.s9z_1 = 6;
|
|
3080
3103
|
}
|
|
3081
3104
|
var Companion_instance_10;
|
|
3082
3105
|
function Companion_getInstance_3() {
|
|
3083
3106
|
return Companion_instance_10;
|
|
3084
3107
|
}
|
|
3085
3108
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3086
|
-
this.
|
|
3109
|
+
this.ba0_1 = this$0;
|
|
3087
3110
|
CoroutineImpl.call(this, resultContinuation);
|
|
3088
3111
|
}
|
|
3089
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3090
|
-
var tmp = this.
|
|
3112
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).da0 = function (actions, $completion) {
|
|
3113
|
+
var tmp = this.ea0(actions, $completion);
|
|
3091
3114
|
tmp.g9_1 = Unit_instance;
|
|
3092
3115
|
tmp.h9_1 = null;
|
|
3093
3116
|
return tmp.m9();
|
|
3094
3117
|
};
|
|
3095
3118
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9 = function (p1, $completion) {
|
|
3096
|
-
return this.
|
|
3119
|
+
return this.da0((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3097
3120
|
};
|
|
3098
3121
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9 = function () {
|
|
3099
3122
|
var suspendResult = this.g9_1;
|
|
@@ -3102,7 +3125,7 @@
|
|
|
3102
3125
|
var tmp = this.e9_1;
|
|
3103
3126
|
if (tmp === 0) {
|
|
3104
3127
|
this.f9_1 = 1;
|
|
3105
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3128
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ba0_1, this.ca0_1, null));
|
|
3106
3129
|
} else if (tmp === 1) {
|
|
3107
3130
|
throw this.h9_1;
|
|
3108
3131
|
}
|
|
@@ -3112,23 +3135,23 @@
|
|
|
3112
3135
|
}
|
|
3113
3136
|
while (true);
|
|
3114
3137
|
};
|
|
3115
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3116
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3117
|
-
i.
|
|
3138
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ea0 = function (actions, completion) {
|
|
3139
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ba0_1, completion);
|
|
3140
|
+
i.ca0_1 = actions;
|
|
3118
3141
|
return i;
|
|
3119
3142
|
};
|
|
3120
3143
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3121
3144
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3122
3145
|
var l = function (actions, $completion) {
|
|
3123
|
-
return i.
|
|
3146
|
+
return i.da0(actions, $completion);
|
|
3124
3147
|
};
|
|
3125
3148
|
l.$arity = 1;
|
|
3126
3149
|
return l;
|
|
3127
3150
|
}
|
|
3128
3151
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3129
3152
|
CoroutineImpl.call(this, resultContinuation);
|
|
3130
|
-
this.
|
|
3131
|
-
this.
|
|
3153
|
+
this.na0_1 = _this__u8e3s4;
|
|
3154
|
+
this.oa0_1 = fromEvent;
|
|
3132
3155
|
}
|
|
3133
3156
|
protoOf($sentEventCOROUTINE$3).m9 = function () {
|
|
3134
3157
|
var suspendResult = this.g9_1;
|
|
@@ -3139,9 +3162,9 @@
|
|
|
3139
3162
|
case 0:
|
|
3140
3163
|
this.f9_1 = 2;
|
|
3141
3164
|
var tmp_0 = this;
|
|
3142
|
-
tmp_0.
|
|
3165
|
+
tmp_0.pa0_1 = this.na0_1.m9z_1;
|
|
3143
3166
|
l$ret$1: do {
|
|
3144
|
-
var this_0 = this.
|
|
3167
|
+
var this_0 = this.na0_1.l9z_1;
|
|
3145
3168
|
while (true) {
|
|
3146
3169
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3147
3170
|
var upd = cur + 1 | 0;
|
|
@@ -3152,7 +3175,7 @@
|
|
|
3152
3175
|
}
|
|
3153
3176
|
while (false);
|
|
3154
3177
|
this.e9_1 = 1;
|
|
3155
|
-
suspendResult = this.
|
|
3178
|
+
suspendResult = this.na0_1.n9z_1.p18(this.oa0_1, this);
|
|
3156
3179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3157
3180
|
return suspendResult;
|
|
3158
3181
|
}
|
|
@@ -3176,7 +3199,7 @@
|
|
|
3176
3199
|
};
|
|
3177
3200
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3178
3201
|
CoroutineImpl.call(this, resultContinuation);
|
|
3179
|
-
this.
|
|
3202
|
+
this.ya0_1 = _this__u8e3s4;
|
|
3180
3203
|
}
|
|
3181
3204
|
protoOf($waitForCOROUTINE$4).m9 = function () {
|
|
3182
3205
|
var suspendResult = this.g9_1;
|
|
@@ -3187,12 +3210,12 @@
|
|
|
3187
3210
|
case 0:
|
|
3188
3211
|
this.f9_1 = 5;
|
|
3189
3212
|
var tmp_0 = this;
|
|
3190
|
-
tmp_0.
|
|
3191
|
-
this.
|
|
3213
|
+
tmp_0.za0_1 = this.ya0_1.m9z_1;
|
|
3214
|
+
this.aa1_1 = 0;
|
|
3192
3215
|
this.e9_1 = 1;
|
|
3193
3216
|
continue $sm;
|
|
3194
3217
|
case 1:
|
|
3195
|
-
if (!!(this.
|
|
3218
|
+
if (!!(this.ya0_1.l9z_1.kotlinx$atomicfu$value === 0)) {
|
|
3196
3219
|
this.e9_1 = 4;
|
|
3197
3220
|
continue $sm;
|
|
3198
3221
|
}
|
|
@@ -3205,9 +3228,9 @@
|
|
|
3205
3228
|
|
|
3206
3229
|
continue $sm;
|
|
3207
3230
|
case 2:
|
|
3208
|
-
this.
|
|
3209
|
-
if (this.
|
|
3210
|
-
this.
|
|
3231
|
+
this.aa1_1 = this.aa1_1 + 1 | 0;
|
|
3232
|
+
if (this.aa1_1 > 6) {
|
|
3233
|
+
this.ya0_1.j9z_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.ya0_1.l9z_1.kotlinx$atomicfu$value);
|
|
3211
3234
|
this.e9_1 = 4;
|
|
3212
3235
|
continue $sm;
|
|
3213
3236
|
} else {
|
|
@@ -3235,16 +3258,16 @@
|
|
|
3235
3258
|
while (true);
|
|
3236
3259
|
};
|
|
3237
3260
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3238
|
-
this.
|
|
3239
|
-
this.
|
|
3240
|
-
this.
|
|
3241
|
-
this.
|
|
3261
|
+
this.i9z_1 = serverReduxConfig;
|
|
3262
|
+
this.j9z_1 = logger;
|
|
3263
|
+
this.k9z_1 = idsProvider;
|
|
3264
|
+
this.l9z_1 = atomic$ref$1(0);
|
|
3242
3265
|
var tmp = this;
|
|
3243
3266
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3244
|
-
tmp.
|
|
3245
|
-
this.
|
|
3267
|
+
tmp.m9z_1 = get_atomicfu$reentrantLock();
|
|
3268
|
+
this.n9z_1 = MutableSharedFlow();
|
|
3246
3269
|
}
|
|
3247
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3270
|
+
protoOf(ToClientEventsObserverImpl).p9y = function (fromEvent, $completion) {
|
|
3248
3271
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3249
3272
|
tmp.g9_1 = Unit_instance;
|
|
3250
3273
|
tmp.h9_1 = null;
|
|
@@ -3256,21 +3279,21 @@
|
|
|
3256
3279
|
tmp.h9_1 = null;
|
|
3257
3280
|
return tmp.m9();
|
|
3258
3281
|
};
|
|
3259
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3260
|
-
if (!this.
|
|
3261
|
-
return this.
|
|
3282
|
+
protoOf(ToClientEventsObserverImpl).y9l = function () {
|
|
3283
|
+
if (!this.i9z_1.enabledCombinedEvents) {
|
|
3284
|
+
return this.n9z_1;
|
|
3262
3285
|
}
|
|
3263
|
-
var tmp = windowedByInterval(this.
|
|
3286
|
+
var tmp = windowedByInterval(this.n9z_1, toLong(this.i9z_1.combinedEventsPeriod));
|
|
3264
3287
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3265
3288
|
};
|
|
3266
3289
|
function UpdateServerConfigAction(serverConfig) {
|
|
3267
|
-
this.
|
|
3290
|
+
this.ba1_1 = serverConfig;
|
|
3268
3291
|
}
|
|
3269
3292
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3270
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3293
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ba1_1.toString() + ')';
|
|
3271
3294
|
};
|
|
3272
3295
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3273
|
-
return this.
|
|
3296
|
+
return this.ba1_1.hashCode();
|
|
3274
3297
|
};
|
|
3275
3298
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3276
3299
|
if (this === other)
|
|
@@ -3278,20 +3301,20 @@
|
|
|
3278
3301
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3279
3302
|
return false;
|
|
3280
3303
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3281
|
-
if (!this.
|
|
3304
|
+
if (!this.ba1_1.equals(tmp0_other_with_cast.ba1_1))
|
|
3282
3305
|
return false;
|
|
3283
3306
|
return true;
|
|
3284
3307
|
};
|
|
3285
3308
|
function SpectatorsAction() {
|
|
3286
3309
|
}
|
|
3287
3310
|
function AddSpectatorsAction(spectators) {
|
|
3288
|
-
this.
|
|
3311
|
+
this.ca1_1 = spectators;
|
|
3289
3312
|
}
|
|
3290
3313
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3291
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3314
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ca1_1) + ')';
|
|
3292
3315
|
};
|
|
3293
3316
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3294
|
-
return hashCode(this.
|
|
3317
|
+
return hashCode(this.ca1_1);
|
|
3295
3318
|
};
|
|
3296
3319
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3297
3320
|
if (this === other)
|
|
@@ -3299,18 +3322,18 @@
|
|
|
3299
3322
|
if (!(other instanceof AddSpectatorsAction))
|
|
3300
3323
|
return false;
|
|
3301
3324
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3302
|
-
if (!equals(this.
|
|
3325
|
+
if (!equals(this.ca1_1, tmp0_other_with_cast.ca1_1))
|
|
3303
3326
|
return false;
|
|
3304
3327
|
return true;
|
|
3305
3328
|
};
|
|
3306
3329
|
function RemoveSpectatorsAction(spectators) {
|
|
3307
|
-
this.
|
|
3330
|
+
this.da1_1 = spectators;
|
|
3308
3331
|
}
|
|
3309
3332
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3310
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3333
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.da1_1) + ')';
|
|
3311
3334
|
};
|
|
3312
3335
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3313
|
-
return hashCode(this.
|
|
3336
|
+
return hashCode(this.da1_1);
|
|
3314
3337
|
};
|
|
3315
3338
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3316
3339
|
if (this === other)
|
|
@@ -3318,73 +3341,73 @@
|
|
|
3318
3341
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3319
3342
|
return false;
|
|
3320
3343
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3321
|
-
if (!equals(this.
|
|
3344
|
+
if (!equals(this.da1_1, tmp0_other_with_cast.da1_1))
|
|
3322
3345
|
return false;
|
|
3323
3346
|
return true;
|
|
3324
3347
|
};
|
|
3325
3348
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3326
3349
|
// Inline function 'kotlin.getValue' call
|
|
3327
|
-
var this_0 = $this.
|
|
3350
|
+
var this_0 = $this.ja1_1;
|
|
3328
3351
|
asyncProvider$factory_0();
|
|
3329
3352
|
return this_0.u();
|
|
3330
3353
|
}
|
|
3331
3354
|
function _get_logger__rkp4sl_0($this) {
|
|
3332
3355
|
// Inline function 'kotlin.getValue' call
|
|
3333
|
-
var this_0 = $this.
|
|
3356
|
+
var this_0 = $this.ka1_1;
|
|
3334
3357
|
logger$factory_2();
|
|
3335
3358
|
return this_0.u();
|
|
3336
3359
|
}
|
|
3337
3360
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3338
3361
|
// Inline function 'kotlin.getValue' call
|
|
3339
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.la1_1;
|
|
3340
3363
|
playerConnectionInteractor$factory_2();
|
|
3341
3364
|
return this_0.u();
|
|
3342
3365
|
}
|
|
3343
3366
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3344
3367
|
// Inline function 'kotlin.getValue' call
|
|
3345
|
-
var this_0 = $this.
|
|
3368
|
+
var this_0 = $this.ma1_1;
|
|
3346
3369
|
lastCardInteractor$factory_0();
|
|
3347
3370
|
return this_0.u();
|
|
3348
3371
|
}
|
|
3349
3372
|
function _get_serverConfig__rk2g06($this) {
|
|
3350
3373
|
// Inline function 'kotlin.getValue' call
|
|
3351
|
-
var this_0 = $this.
|
|
3374
|
+
var this_0 = $this.na1_1;
|
|
3352
3375
|
serverConfig$factory_0();
|
|
3353
3376
|
return this_0.u();
|
|
3354
3377
|
}
|
|
3355
3378
|
function _get_logicConfig__52ww9d($this) {
|
|
3356
3379
|
// Inline function 'kotlin.getValue' call
|
|
3357
|
-
var this_0 = $this.
|
|
3380
|
+
var this_0 = $this.oa1_1;
|
|
3358
3381
|
logicConfig$factory_0();
|
|
3359
3382
|
return this_0.u();
|
|
3360
3383
|
}
|
|
3361
|
-
function
|
|
3384
|
+
function _get_idsProvider__fnfajc_0($this) {
|
|
3362
3385
|
// Inline function 'kotlin.getValue' call
|
|
3363
|
-
var this_0 = $this.
|
|
3364
|
-
idsProvider$
|
|
3386
|
+
var this_0 = $this.pa1_1;
|
|
3387
|
+
idsProvider$factory_2();
|
|
3365
3388
|
return this_0.u();
|
|
3366
3389
|
}
|
|
3367
3390
|
function _get_botConfig__cpaxzc($this) {
|
|
3368
3391
|
// Inline function 'kotlin.getValue' call
|
|
3369
|
-
var this_0 = $this.
|
|
3392
|
+
var this_0 = $this.qa1_1;
|
|
3370
3393
|
botConfig$factory_0();
|
|
3371
3394
|
return this_0.u();
|
|
3372
3395
|
}
|
|
3373
3396
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3374
3397
|
// Inline function 'kotlin.getValue' call
|
|
3375
|
-
var this_0 = $this.
|
|
3398
|
+
var this_0 = $this.ra1_1;
|
|
3376
3399
|
scenePositionProvider$factory_0();
|
|
3377
3400
|
return this_0.u();
|
|
3378
3401
|
}
|
|
3379
3402
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3380
3403
|
// Inline function 'kotlin.getValue' call
|
|
3381
|
-
var this_0 = $this.
|
|
3404
|
+
var this_0 = $this.sa1_1;
|
|
3382
3405
|
toClientEventsObserver$factory_2();
|
|
3383
3406
|
return this_0.u();
|
|
3384
3407
|
}
|
|
3385
3408
|
function _get_mechanicEventsObserver__ll1b9k_0($this) {
|
|
3386
3409
|
// Inline function 'kotlin.getValue' call
|
|
3387
|
-
var this_0 = $this.
|
|
3410
|
+
var this_0 = $this.ta1_1;
|
|
3388
3411
|
mechanicEventsObserver$factory_2();
|
|
3389
3412
|
return this_0.u();
|
|
3390
3413
|
}
|
|
@@ -3397,83 +3420,83 @@
|
|
|
3397
3420
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3398
3421
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3399
3422
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3400
|
-
this.
|
|
3401
|
-
this.
|
|
3402
|
-
this.
|
|
3403
|
-
this.
|
|
3404
|
-
this.
|
|
3423
|
+
this.ea1_1 = validationStoreContract;
|
|
3424
|
+
this.fa1_1 = timersStoreContract;
|
|
3425
|
+
this.ga1_1 = botGameStoreContract;
|
|
3426
|
+
this.ha1_1 = gameMechanicStoreContract;
|
|
3427
|
+
this.ia1_1 = fileLoggerStoreContract;
|
|
3405
3428
|
var tmp = this;
|
|
3406
3429
|
// Inline function 'org.kodein.di.instance' call
|
|
3407
3430
|
// Inline function 'org.kodein.type.generic' call
|
|
3408
3431
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3409
3432
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3410
|
-
tmp.
|
|
3433
|
+
tmp.ja1_1 = Instance(di, tmp$ret$0, null).t63(this, asyncProvider$factory());
|
|
3411
3434
|
var tmp_1 = this;
|
|
3412
3435
|
// Inline function 'org.kodein.di.instance' call
|
|
3413
3436
|
// Inline function 'org.kodein.type.generic' call
|
|
3414
3437
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3415
3438
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3416
|
-
tmp_1.
|
|
3439
|
+
tmp_1.ka1_1 = Instance(di, tmp$ret$2, null).t63(this, logger$factory_1());
|
|
3417
3440
|
var tmp_3 = this;
|
|
3418
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3419
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3420
3443
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3421
3444
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3422
|
-
tmp_3.
|
|
3445
|
+
tmp_3.la1_1 = Instance(di, tmp$ret$4, null).t63(this, playerConnectionInteractor$factory_1());
|
|
3423
3446
|
var tmp_5 = this;
|
|
3424
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3425
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3426
3449
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3427
3450
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3428
|
-
tmp_5.
|
|
3451
|
+
tmp_5.ma1_1 = Instance(di, tmp$ret$6, null).t63(this, lastCardInteractor$factory());
|
|
3429
3452
|
var tmp_7 = this;
|
|
3430
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3431
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3432
3455
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3433
3456
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3434
|
-
tmp_7.
|
|
3457
|
+
tmp_7.na1_1 = Instance(di, tmp$ret$8, null).t63(this, serverConfig$factory());
|
|
3435
3458
|
var tmp_9 = this;
|
|
3436
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3437
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3438
3461
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3439
3462
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3440
|
-
tmp_9.
|
|
3463
|
+
tmp_9.oa1_1 = Instance(di, tmp$ret$10, null).t63(this, logicConfig$factory());
|
|
3441
3464
|
var tmp_11 = this;
|
|
3442
3465
|
// Inline function 'org.kodein.di.instance' call
|
|
3443
3466
|
// Inline function 'org.kodein.type.generic' call
|
|
3444
3467
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3445
3468
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3446
|
-
tmp_11.
|
|
3469
|
+
tmp_11.pa1_1 = Instance(di, tmp$ret$12, null).t63(this, idsProvider$factory_1());
|
|
3447
3470
|
var tmp_13 = this;
|
|
3448
3471
|
// Inline function 'org.kodein.di.instance' call
|
|
3449
3472
|
// Inline function 'org.kodein.type.generic' call
|
|
3450
3473
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3451
3474
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3452
|
-
tmp_13.
|
|
3475
|
+
tmp_13.qa1_1 = Instance(di, tmp$ret$14, null).t63(this, botConfig$factory());
|
|
3453
3476
|
var tmp_15 = this;
|
|
3454
3477
|
// Inline function 'org.kodein.di.instance' call
|
|
3455
3478
|
// Inline function 'org.kodein.type.generic' call
|
|
3456
3479
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3457
3480
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3458
|
-
tmp_15.
|
|
3481
|
+
tmp_15.ra1_1 = Instance(di, tmp$ret$16, null).t63(this, scenePositionProvider$factory());
|
|
3459
3482
|
var tmp_17 = this;
|
|
3460
3483
|
// Inline function 'org.kodein.di.instance' call
|
|
3461
3484
|
// Inline function 'org.kodein.type.generic' call
|
|
3462
3485
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3463
3486
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3464
|
-
tmp_17.
|
|
3487
|
+
tmp_17.sa1_1 = Instance(di, tmp$ret$18, null).t63(this, toClientEventsObserver$factory_1());
|
|
3465
3488
|
var tmp_19 = this;
|
|
3466
3489
|
// Inline function 'org.kodein.di.instance' call
|
|
3467
3490
|
// Inline function 'org.kodein.type.generic' call
|
|
3468
3491
|
var tmp_20 = typeToken(createKType(getKClass(MechanicEventsObserver), arrayOf([]), false));
|
|
3469
3492
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3470
|
-
tmp_19.
|
|
3493
|
+
tmp_19.ta1_1 = Instance(di, tmp$ret$20, null).t63(this, mechanicEventsObserver$factory_1());
|
|
3471
3494
|
}
|
|
3472
3495
|
protoOf(ServerGameStoreContract).c95 = function () {
|
|
3473
|
-
return plus(plus(plus(plus(plus(this.
|
|
3496
|
+
return plus(plus(plus(plus(plus(this.ea1_1.c95(), this.fa1_1.c95()), this.ga1_1.c95()), this.ha1_1.c95()), this.ia1_1.c95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3474
3497
|
};
|
|
3475
3498
|
protoOf(ServerGameStoreContract).d95 = function () {
|
|
3476
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3499
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.ea1_1.d95(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.fa1_1.d95()), this.ga1_1.d95()), this.ha1_1.d95()), this.ia1_1.d95()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendMechanicEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_mechanicEventsObserver__ll1b9k_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).v96(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3477
3500
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3478
3501
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3479
3502
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3519,9 +3542,9 @@
|
|
|
3519
3542
|
return _get_logicConfig__52ww9d(receiver);
|
|
3520
3543
|
}, null);
|
|
3521
3544
|
}
|
|
3522
|
-
function idsProvider$
|
|
3545
|
+
function idsProvider$factory_1() {
|
|
3523
3546
|
return getPropertyCallableRef('idsProvider', 1, KProperty1, function (receiver) {
|
|
3524
|
-
return
|
|
3547
|
+
return _get_idsProvider__fnfajc_0(receiver);
|
|
3525
3548
|
}, null);
|
|
3526
3549
|
}
|
|
3527
3550
|
function botConfig$factory() {
|
|
@@ -3574,9 +3597,9 @@
|
|
|
3574
3597
|
return _get_logicConfig__52ww9d(receiver);
|
|
3575
3598
|
}, null);
|
|
3576
3599
|
}
|
|
3577
|
-
function idsProvider$
|
|
3600
|
+
function idsProvider$factory_2() {
|
|
3578
3601
|
return getPropertyCallableRef('idsProvider', 1, KProperty1, function (receiver) {
|
|
3579
|
-
return
|
|
3602
|
+
return _get_idsProvider__fnfajc_0(receiver);
|
|
3580
3603
|
}, null);
|
|
3581
3604
|
}
|
|
3582
3605
|
function botConfig$factory_0() {
|
|
@@ -3613,7 +3636,7 @@
|
|
|
3613
3636
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3614
3637
|
next(action_0);
|
|
3615
3638
|
var state = store.state;
|
|
3616
|
-
if (!get_serverStatePayload_0(state).
|
|
3639
|
+
if (!get_serverStatePayload_0(state).f9t_1.g9t_1 && action_0.isGameFinished) {
|
|
3617
3640
|
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.k6q_1));
|
|
3618
3641
|
}
|
|
3619
3642
|
};
|
|
@@ -3621,7 +3644,7 @@
|
|
|
3621
3644
|
return this.g6l(store, next, action);
|
|
3622
3645
|
};
|
|
3623
3646
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3624
|
-
this.
|
|
3647
|
+
this.wa1_1 = this$0;
|
|
3625
3648
|
}
|
|
3626
3649
|
protoOf(_no_name_provided__qut3iv_3).p6j = function (action) {
|
|
3627
3650
|
return action instanceof MechanicAction;
|
|
@@ -3635,7 +3658,7 @@
|
|
|
3635
3658
|
var tmp;
|
|
3636
3659
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3637
3660
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3638
|
-
var this_0 = this.
|
|
3661
|
+
var this_0 = this.wa1_1;
|
|
3639
3662
|
var tableId = action_0.t7z_1;
|
|
3640
3663
|
var gameCreatorPlayerId = action_0.v7z_1;
|
|
3641
3664
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3680,7 +3703,7 @@
|
|
|
3680
3703
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3681
3704
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3682
3705
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3683
|
-
var tmp0_aid = this_0.
|
|
3706
|
+
var tmp0_aid = this_0.va1_1.s6h();
|
|
3684
3707
|
// Inline function 'kotlin.collections.map' call
|
|
3685
3708
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3686
3709
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3705,16 +3728,16 @@
|
|
|
3705
3728
|
} else {
|
|
3706
3729
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3707
3730
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3708
|
-
var this_2 = this.
|
|
3731
|
+
var this_2 = this.wa1_1;
|
|
3709
3732
|
var table = state.m6r();
|
|
3710
3733
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3711
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3734
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.va1_1.s6h(), table.id, null);
|
|
3712
3735
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3713
3736
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3714
3737
|
} else {
|
|
3715
3738
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3716
3739
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3717
|
-
var this_3 = this.
|
|
3740
|
+
var this_3 = this.wa1_1;
|
|
3718
3741
|
var tableId_0 = action_0.z7z_1.id;
|
|
3719
3742
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3720
3743
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3759,7 +3782,7 @@
|
|
|
3759
3782
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3760
3783
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3761
3784
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3762
|
-
var tmp0_aid_0 = this_3.
|
|
3785
|
+
var tmp0_aid_0 = this_3.va1_1.s6h();
|
|
3763
3786
|
// Inline function 'kotlin.collections.map' call
|
|
3764
3787
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3765
3788
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3784,43 +3807,43 @@
|
|
|
3784
3807
|
} else {
|
|
3785
3808
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3786
3809
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3787
|
-
var this_5 = this.
|
|
3810
|
+
var this_5 = this.wa1_1;
|
|
3788
3811
|
var table_0 = state.m6r();
|
|
3789
3812
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3790
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3813
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.va1_1.s6h(), table_0.id, null);
|
|
3791
3814
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3792
3815
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3793
3816
|
} else {
|
|
3794
3817
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3795
3818
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3796
|
-
var this_6 = this.
|
|
3819
|
+
var this_6 = this.wa1_1;
|
|
3797
3820
|
var table_1 = state.m6r();
|
|
3798
3821
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3799
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3822
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.va1_1.s6h(), table_1.id, null);
|
|
3800
3823
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3801
3824
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3802
3825
|
} else {
|
|
3803
3826
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3804
3827
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3805
|
-
var this_7 = this.
|
|
3828
|
+
var this_7 = this.wa1_1;
|
|
3806
3829
|
var table_2 = state.m6r();
|
|
3807
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3808
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3831
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.va1_1.s6h(), table_2.id, null);
|
|
3809
3832
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3810
3833
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3811
3834
|
} else {
|
|
3812
3835
|
if (action_0 instanceof ErrorAction) {
|
|
3813
3836
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3814
|
-
var this_8 = this.
|
|
3837
|
+
var this_8 = this.wa1_1;
|
|
3815
3838
|
var table_3 = state.m6r();
|
|
3816
3839
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3817
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3840
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.va1_1.s6h(), table_3.id, null);
|
|
3818
3841
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3819
3842
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3820
3843
|
} else {
|
|
3821
3844
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3822
3845
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3823
|
-
var this_9 = this.
|
|
3846
|
+
var this_9 = this.wa1_1;
|
|
3824
3847
|
var table_4 = state.m6r();
|
|
3825
3848
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3826
3849
|
var tableId_1 = table_4.id;
|
|
@@ -3857,7 +3880,7 @@
|
|
|
3857
3880
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3858
3881
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3859
3882
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3860
|
-
var tmp0_aid_1 = this_9.
|
|
3883
|
+
var tmp0_aid_1 = this_9.va1_1.s6h();
|
|
3861
3884
|
// Inline function 'kotlin.collections.map' call
|
|
3862
3885
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3863
3886
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3882,7 +3905,7 @@
|
|
|
3882
3905
|
} else {
|
|
3883
3906
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3884
3907
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3885
|
-
var this_10 = this.
|
|
3908
|
+
var this_10 = this.wa1_1;
|
|
3886
3909
|
var table_5 = state.m6r();
|
|
3887
3910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3888
3911
|
var tableId_2 = table_5.id;
|
|
@@ -3919,7 +3942,7 @@
|
|
|
3919
3942
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3920
3943
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3921
3944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3922
|
-
var tmp0_aid_2 = this_10.
|
|
3945
|
+
var tmp0_aid_2 = this_10.va1_1.s6h();
|
|
3923
3946
|
// Inline function 'kotlin.collections.map' call
|
|
3924
3947
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3925
3948
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3944,7 +3967,7 @@
|
|
|
3944
3967
|
} else {
|
|
3945
3968
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3946
3969
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3947
|
-
var this_11 = this.
|
|
3970
|
+
var this_11 = this.wa1_1;
|
|
3948
3971
|
var table_6 = state.m6r();
|
|
3949
3972
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3950
3973
|
var tableId_3 = table_6.id;
|
|
@@ -3981,7 +4004,7 @@
|
|
|
3981
4004
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3982
4005
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3983
4006
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3984
|
-
var tmp0_aid_3 = this_11.
|
|
4007
|
+
var tmp0_aid_3 = this_11.va1_1.s6h();
|
|
3985
4008
|
// Inline function 'kotlin.collections.map' call
|
|
3986
4009
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3987
4010
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -3994,7 +4017,7 @@
|
|
|
3994
4017
|
}
|
|
3995
4018
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
3996
4019
|
var tmp_0;
|
|
3997
|
-
if (this.ua1_1.
|
|
4020
|
+
if (this.wa1_1.ua1_1.supportBackwardActions && getPlayer(state.m6r().players, sendToPlayer_8.b7e_1).h6x_1.l6x_1) {
|
|
3998
4021
|
tmp_0 = null;
|
|
3999
4022
|
} else {
|
|
4000
4023
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4012,79 +4035,79 @@
|
|
|
4012
4035
|
} else {
|
|
4013
4036
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4014
4037
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4015
|
-
var this_12 = this.
|
|
4038
|
+
var this_12 = this.wa1_1;
|
|
4016
4039
|
var table_7 = state.m6r();
|
|
4017
|
-
var exceptPlayerId = this.ua1_1.
|
|
4040
|
+
var exceptPlayerId = this.wa1_1.ua1_1.supportBackwardActions ? action_0.z80_1 : null;
|
|
4018
4041
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4019
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4042
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.va1_1.s6h(), table_7.id, exceptPlayerId);
|
|
4020
4043
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4021
4044
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4022
4045
|
} else {
|
|
4023
4046
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4024
4047
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4025
|
-
var this_13 = this.
|
|
4048
|
+
var this_13 = this.wa1_1;
|
|
4026
4049
|
var table_8 = state.m6r();
|
|
4027
|
-
var exceptPlayerId_0 = this.ua1_1.
|
|
4050
|
+
var exceptPlayerId_0 = this.wa1_1.ua1_1.supportBackwardActions ? action_0.d81_1 : null;
|
|
4028
4051
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4029
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4052
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.va1_1.s6h(), table_8.id, exceptPlayerId_0);
|
|
4030
4053
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4031
4054
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4032
4055
|
} else {
|
|
4033
4056
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4034
4057
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4035
|
-
var this_14 = this.
|
|
4058
|
+
var this_14 = this.wa1_1;
|
|
4036
4059
|
var table_9 = state.m6r();
|
|
4037
4060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4038
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4061
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.va1_1.s6h(), table_9.id, null);
|
|
4039
4062
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4040
4063
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4041
4064
|
} else {
|
|
4042
4065
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4043
4066
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4044
|
-
var this_15 = this.
|
|
4067
|
+
var this_15 = this.wa1_1;
|
|
4045
4068
|
var table_10 = state.m6r();
|
|
4046
|
-
var exceptPlayerId_1 = this.ua1_1.
|
|
4069
|
+
var exceptPlayerId_1 = this.wa1_1.ua1_1.supportBackwardActions ? action_0.k81_1 : null;
|
|
4047
4070
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4048
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4071
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.va1_1.s6h(), table_10.id, exceptPlayerId_1);
|
|
4049
4072
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4050
4073
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4051
4074
|
} else {
|
|
4052
4075
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4053
4076
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4054
|
-
var this_16 = this.
|
|
4077
|
+
var this_16 = this.wa1_1;
|
|
4055
4078
|
var table_11 = state.m6r();
|
|
4056
|
-
var exceptPlayerId_2 = this.ua1_1.
|
|
4079
|
+
var exceptPlayerId_2 = this.wa1_1.ua1_1.supportBackwardActions ? action_0.o81_1 : null;
|
|
4057
4080
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4058
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4081
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.va1_1.s6h(), table_11.id, exceptPlayerId_2);
|
|
4059
4082
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4060
4083
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4061
4084
|
} else {
|
|
4062
4085
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4063
4086
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4064
|
-
var this_17 = this.
|
|
4087
|
+
var this_17 = this.wa1_1;
|
|
4065
4088
|
var table_12 = state.m6r();
|
|
4066
4089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4067
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4090
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.va1_1.s6h(), table_12.id, null);
|
|
4068
4091
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4069
4092
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4070
4093
|
} else {
|
|
4071
4094
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4072
4095
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4073
|
-
var this_18 = this.
|
|
4096
|
+
var this_18 = this.wa1_1;
|
|
4074
4097
|
var table_13 = state.m6r();
|
|
4075
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4076
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4099
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.va1_1.s6h(), table_13.id, null);
|
|
4077
4100
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4078
4101
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4079
4102
|
} else {
|
|
4080
4103
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4081
4104
|
var message = action_0.w81_1;
|
|
4082
4105
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4083
|
-
var this_19 = this.
|
|
4106
|
+
var this_19 = this.wa1_1;
|
|
4084
4107
|
var table_14 = state.m6r();
|
|
4085
4108
|
var tmp_1;
|
|
4086
4109
|
var tmp_2;
|
|
4087
|
-
if (this.ua1_1.
|
|
4110
|
+
if (this.wa1_1.ua1_1.supportBackwardActions) {
|
|
4088
4111
|
tmp_2 = isInterface(message, UserMessage);
|
|
4089
4112
|
} else {
|
|
4090
4113
|
tmp_2 = false;
|
|
@@ -4096,17 +4119,17 @@
|
|
|
4096
4119
|
}
|
|
4097
4120
|
var exceptPlayerId_3 = tmp_1;
|
|
4098
4121
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4099
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4122
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.va1_1.s6h(), table_14.id, exceptPlayerId_3);
|
|
4100
4123
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4101
4124
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4102
4125
|
} else {
|
|
4103
4126
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4104
4127
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4105
|
-
var this_20 = this.
|
|
4128
|
+
var this_20 = this.wa1_1;
|
|
4106
4129
|
var table_15 = state.m6r();
|
|
4107
4130
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4108
4131
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4109
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4132
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.va1_1.s6h(), table_15.id, exceptPlayerId_4);
|
|
4110
4133
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4111
4134
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4112
4135
|
} else {
|
|
@@ -4144,8 +4167,8 @@
|
|
|
4144
4167
|
return this.g6l(store, next, action);
|
|
4145
4168
|
};
|
|
4146
4169
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4147
|
-
this.
|
|
4148
|
-
this.
|
|
4170
|
+
this.ua1_1 = logicConfig;
|
|
4171
|
+
this.va1_1 = idsProvider;
|
|
4149
4172
|
}
|
|
4150
4173
|
protoOf(ServerMapMechanicToClientActionMiddleware).v96 = function () {
|
|
4151
4174
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4156,8 +4179,8 @@
|
|
|
4156
4179
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4157
4180
|
}
|
|
4158
4181
|
function sendMechanicEventsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4159
|
-
this.
|
|
4160
|
-
this.
|
|
4182
|
+
this.fa2_1 = $provider;
|
|
4183
|
+
this.ga2_1 = $action;
|
|
4161
4184
|
CoroutineImpl.call(this, resultContinuation);
|
|
4162
4185
|
}
|
|
4163
4186
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -4178,7 +4201,7 @@
|
|
|
4178
4201
|
case 0:
|
|
4179
4202
|
this.f9_1 = 2;
|
|
4180
4203
|
this.e9_1 = 1;
|
|
4181
|
-
suspendResult = this.
|
|
4204
|
+
suspendResult = this.fa2_1.b9u(this.ga2_1, this);
|
|
4182
4205
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4183
4206
|
return suspendResult;
|
|
4184
4207
|
}
|
|
@@ -4201,8 +4224,8 @@
|
|
|
4201
4224
|
while (true);
|
|
4202
4225
|
};
|
|
4203
4226
|
protoOf(sendMechanicEventsMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4204
|
-
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.
|
|
4205
|
-
i.
|
|
4227
|
+
var i = new sendMechanicEventsMiddleware$o$handle$slambda(this.fa2_1, this.ga2_1, completion);
|
|
4228
|
+
i.ha2_1 = $this$launchDefault;
|
|
4206
4229
|
return i;
|
|
4207
4230
|
};
|
|
4208
4231
|
function sendMechanicEventsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4214,8 +4237,8 @@
|
|
|
4214
4237
|
return l;
|
|
4215
4238
|
}
|
|
4216
4239
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4217
|
-
this.
|
|
4218
|
-
this.
|
|
4240
|
+
this.ia2_1 = $asyncProvider;
|
|
4241
|
+
this.ja2_1 = $provider;
|
|
4219
4242
|
}
|
|
4220
4243
|
protoOf(_no_name_provided__qut3iv_4).p6j = function (action) {
|
|
4221
4244
|
return action instanceof MechanicAction;
|
|
@@ -4223,7 +4246,7 @@
|
|
|
4223
4246
|
protoOf(_no_name_provided__qut3iv_4).g6l = function (store, next, action) {
|
|
4224
4247
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendMechanicEventsMiddleware.<anonymous>' call
|
|
4225
4248
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4226
|
-
this.
|
|
4249
|
+
this.ia2_1.p6g(VOID, sendMechanicEventsMiddleware$o$handle$slambda_0(this.ja2_1, action_0, null));
|
|
4227
4250
|
next(action_0);
|
|
4228
4251
|
};
|
|
4229
4252
|
protoOf(_no_name_provided__qut3iv_4).o6j = function (store, next, action) {
|
|
@@ -4234,8 +4257,8 @@
|
|
|
4234
4257
|
return new _no_name_provided__qut3iv_5(asyncProvider, provider);
|
|
4235
4258
|
}
|
|
4236
4259
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4237
|
-
this.
|
|
4238
|
-
this.
|
|
4260
|
+
this.sa2_1 = $provider;
|
|
4261
|
+
this.ta2_1 = $action;
|
|
4239
4262
|
CoroutineImpl.call(this, resultContinuation);
|
|
4240
4263
|
}
|
|
4241
4264
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).k1e = function ($this$launchDefault, $completion) {
|
|
@@ -4256,7 +4279,7 @@
|
|
|
4256
4279
|
case 0:
|
|
4257
4280
|
this.f9_1 = 2;
|
|
4258
4281
|
this.e9_1 = 1;
|
|
4259
|
-
suspendResult = this.
|
|
4282
|
+
suspendResult = this.sa2_1.p9y(this.ta2_1, this);
|
|
4260
4283
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4261
4284
|
return suspendResult;
|
|
4262
4285
|
}
|
|
@@ -4279,8 +4302,8 @@
|
|
|
4279
4302
|
while (true);
|
|
4280
4303
|
};
|
|
4281
4304
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).l1e = function ($this$launchDefault, completion) {
|
|
4282
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4283
|
-
i.
|
|
4305
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.sa2_1, this.ta2_1, completion);
|
|
4306
|
+
i.ua2_1 = $this$launchDefault;
|
|
4284
4307
|
return i;
|
|
4285
4308
|
};
|
|
4286
4309
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4292,8 +4315,8 @@
|
|
|
4292
4315
|
return l;
|
|
4293
4316
|
}
|
|
4294
4317
|
function _no_name_provided__qut3iv_5($asyncProvider, $provider) {
|
|
4295
|
-
this.
|
|
4296
|
-
this.
|
|
4318
|
+
this.va2_1 = $asyncProvider;
|
|
4319
|
+
this.wa2_1 = $provider;
|
|
4297
4320
|
}
|
|
4298
4321
|
protoOf(_no_name_provided__qut3iv_5).p6j = function (action) {
|
|
4299
4322
|
return action instanceof ToClientAction;
|
|
@@ -4301,7 +4324,7 @@
|
|
|
4301
4324
|
protoOf(_no_name_provided__qut3iv_5).g6l = function (store, next, action) {
|
|
4302
4325
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4303
4326
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4304
|
-
this.
|
|
4327
|
+
this.va2_1.p6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.wa2_1, action_0, null));
|
|
4305
4328
|
next(action_0);
|
|
4306
4329
|
};
|
|
4307
4330
|
protoOf(_no_name_provided__qut3iv_5).o6j = function (store, next, action) {
|
|
@@ -4319,7 +4342,7 @@
|
|
|
4319
4342
|
protoOf(_no_name_provided__qut3iv_6).q9d = function (state, action) {
|
|
4320
4343
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4321
4344
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4322
|
-
return state.f92(VOID, get_serverStatePayload_0(state).
|
|
4345
|
+
return state.f92(VOID, get_serverStatePayload_0(state).xa2(action_0.ba1_1));
|
|
4323
4346
|
};
|
|
4324
4347
|
protoOf(_no_name_provided__qut3iv_6).h6l = function (state, action) {
|
|
4325
4348
|
return this.q9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -4344,7 +4367,7 @@
|
|
|
4344
4367
|
}
|
|
4345
4368
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4346
4369
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4347
|
-
this.
|
|
4370
|
+
this.aa3_1 = logger;
|
|
4348
4371
|
}
|
|
4349
4372
|
protoOf(ServerMechanicLifecycleReducer).c9f = function (state, action) {
|
|
4350
4373
|
var serverState = get_serverStatePayloadOrNull(state.l6q_1);
|
|
@@ -4360,8 +4383,8 @@
|
|
|
4360
4383
|
var tmp9_tableOrNull = tmp0_$this.i9g(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4361
4384
|
var tmp;
|
|
4362
4385
|
if (serverState == null) {
|
|
4363
|
-
this.
|
|
4364
|
-
tmp = Companion_instance_11.
|
|
4386
|
+
this.aa3_1.w(VOID, 'ServerPayload is not onStart');
|
|
4387
|
+
tmp = Companion_instance_11.v9t();
|
|
4365
4388
|
} else {
|
|
4366
4389
|
tmp = serverState;
|
|
4367
4390
|
}
|
|
@@ -4371,7 +4394,7 @@
|
|
|
4371
4394
|
protoOf(ServerMechanicLifecycleReducer).a9f = function (state, action) {
|
|
4372
4395
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4373
4396
|
var tmp1_tableOrNull = action.z7z_1;
|
|
4374
|
-
var tmp2_payload = Companion_instance_11.
|
|
4397
|
+
var tmp2_payload = Companion_instance_11.v9t();
|
|
4375
4398
|
return state.f92(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState, null);
|
|
4376
4399
|
};
|
|
4377
4400
|
protoOf(ServerMechanicLifecycleReducer).b9f = function (state, action) {
|
|
@@ -4385,7 +4408,7 @@
|
|
|
4385
4408
|
return new _no_name_provided__qut3iv_7(logger);
|
|
4386
4409
|
}
|
|
4387
4410
|
function _no_name_provided__qut3iv_7($logger) {
|
|
4388
|
-
this.
|
|
4411
|
+
this.ba3_1 = $logger;
|
|
4389
4412
|
}
|
|
4390
4413
|
protoOf(_no_name_provided__qut3iv_7).p6j = function (action) {
|
|
4391
4414
|
return isInterface(action, SpectatorsAction);
|
|
@@ -4398,7 +4421,7 @@
|
|
|
4398
4421
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4399
4422
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4400
4423
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4401
|
-
var this_0 = action_0.
|
|
4424
|
+
var this_0 = action_0.ca1_1;
|
|
4402
4425
|
var destination = ArrayList_init_$Create$_0();
|
|
4403
4426
|
// Inline function 'kotlin.collections.forEach' call
|
|
4404
4427
|
var tmp0_iterator = this_0.j();
|
|
@@ -4420,10 +4443,10 @@
|
|
|
4420
4443
|
var tmp_0;
|
|
4421
4444
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4422
4445
|
if (!sameSpectators.p()) {
|
|
4423
|
-
this.
|
|
4446
|
+
this.ba3_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4424
4447
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4425
4448
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4426
|
-
var this_1 = action_0.
|
|
4449
|
+
var this_1 = action_0.ca1_1;
|
|
4427
4450
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4428
4451
|
var tmp0_iterator_0 = this_1.j();
|
|
4429
4452
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4459,7 +4482,7 @@
|
|
|
4459
4482
|
}
|
|
4460
4483
|
tmp_0 = destination_0;
|
|
4461
4484
|
} else {
|
|
4462
|
-
tmp_0 = action_0.
|
|
4485
|
+
tmp_0 = action_0.ca1_1;
|
|
4463
4486
|
}
|
|
4464
4487
|
var this_2 = tmp_0;
|
|
4465
4488
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4477,7 +4500,7 @@
|
|
|
4477
4500
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4478
4501
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4479
4502
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4480
|
-
var this_3 = action_0.
|
|
4503
|
+
var this_3 = action_0.da1_1;
|
|
4481
4504
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4482
4505
|
// Inline function 'kotlin.collections.forEach' call
|
|
4483
4506
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4498,10 +4521,10 @@
|
|
|
4498
4521
|
var tmp_2;
|
|
4499
4522
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4500
4523
|
if (!sameSpectators_0.p()) {
|
|
4501
|
-
this.
|
|
4524
|
+
this.ba3_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4502
4525
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4503
4526
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4504
|
-
var this_4 = action_0.
|
|
4527
|
+
var this_4 = action_0.da1_1;
|
|
4505
4528
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4506
4529
|
var tmp0_iterator_4 = this_4.j();
|
|
4507
4530
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4537,7 +4560,7 @@
|
|
|
4537
4560
|
}
|
|
4538
4561
|
tmp_2 = destination_3;
|
|
4539
4562
|
} else {
|
|
4540
|
-
tmp_2 = action_0.
|
|
4563
|
+
tmp_2 = action_0.da1_1;
|
|
4541
4564
|
}
|
|
4542
4565
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4543
4566
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4588,28 +4611,28 @@
|
|
|
4588
4611
|
};
|
|
4589
4612
|
function Companion_3() {
|
|
4590
4613
|
}
|
|
4591
|
-
protoOf(Companion_3).
|
|
4614
|
+
protoOf(Companion_3).ca3 = function (config) {
|
|
4592
4615
|
return new ServerStatePayload(config);
|
|
4593
4616
|
};
|
|
4594
|
-
protoOf(Companion_3).
|
|
4617
|
+
protoOf(Companion_3).v9t = function (config, $super) {
|
|
4595
4618
|
config = config === VOID ? Companion_instance_8.z8j() : config;
|
|
4596
|
-
return $super === VOID ? this.
|
|
4619
|
+
return $super === VOID ? this.ca3(config) : $super.ca3.call(this, config);
|
|
4597
4620
|
};
|
|
4598
4621
|
var Companion_instance_11;
|
|
4599
4622
|
function Companion_getInstance_4() {
|
|
4600
4623
|
return Companion_instance_11;
|
|
4601
4624
|
}
|
|
4602
4625
|
function ServerStatePayload(config) {
|
|
4603
|
-
this.
|
|
4626
|
+
this.f9t_1 = config;
|
|
4604
4627
|
}
|
|
4605
|
-
protoOf(ServerStatePayload).
|
|
4628
|
+
protoOf(ServerStatePayload).xa2 = function (config) {
|
|
4606
4629
|
return new ServerStatePayload(config);
|
|
4607
4630
|
};
|
|
4608
4631
|
protoOf(ServerStatePayload).toString = function () {
|
|
4609
|
-
return 'ServerStatePayload(config=' + this.
|
|
4632
|
+
return 'ServerStatePayload(config=' + this.f9t_1.toString() + ')';
|
|
4610
4633
|
};
|
|
4611
4634
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4612
|
-
return this.
|
|
4635
|
+
return this.f9t_1.hashCode();
|
|
4613
4636
|
};
|
|
4614
4637
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4615
4638
|
if (this === other)
|
|
@@ -4617,7 +4640,7 @@
|
|
|
4617
4640
|
if (!(other instanceof ServerStatePayload))
|
|
4618
4641
|
return false;
|
|
4619
4642
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4620
|
-
if (!this.
|
|
4643
|
+
if (!this.f9t_1.equals(tmp0_other_with_cast.f9t_1))
|
|
4621
4644
|
return false;
|
|
4622
4645
|
return true;
|
|
4623
4646
|
};
|
|
@@ -4655,13 +4678,13 @@
|
|
|
4655
4678
|
}
|
|
4656
4679
|
function _get_controllerLogger__nbd727($this) {
|
|
4657
4680
|
// Inline function 'kotlin.getValue' call
|
|
4658
|
-
var this_0 = $this.
|
|
4681
|
+
var this_0 = $this.la3_1;
|
|
4659
4682
|
controllerLogger$factory();
|
|
4660
4683
|
return this_0.u();
|
|
4661
4684
|
}
|
|
4662
4685
|
function _get_di__ndbzja($this) {
|
|
4663
4686
|
// Inline function 'kotlin.getValue' call
|
|
4664
|
-
var this_0 = $this.
|
|
4687
|
+
var this_0 = $this.ma3_1;
|
|
4665
4688
|
di$factory();
|
|
4666
4689
|
return this_0.u();
|
|
4667
4690
|
}
|
|
@@ -4672,13 +4695,13 @@
|
|
|
4672
4695
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
4673
4696
|
return function () {
|
|
4674
4697
|
var tmp;
|
|
4675
|
-
if (this$0.
|
|
4698
|
+
if (this$0.ja3_1 == null) {
|
|
4676
4699
|
tmp = null;
|
|
4677
4700
|
} else {
|
|
4678
4701
|
// Inline function 'kotlin.let' call
|
|
4679
4702
|
// Inline function 'kotlin.contracts.contract' call
|
|
4680
4703
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
4681
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4704
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ja3_1)]));
|
|
4682
4705
|
}
|
|
4683
4706
|
var tmp1_elvis_lhs = tmp;
|
|
4684
4707
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4706,7 +4729,7 @@
|
|
|
4706
4729
|
tmp_0.w61(tmp$ret$3);
|
|
4707
4730
|
$this$DI.a5y(jsonModule());
|
|
4708
4731
|
$this$DI.a5y(serverHelpersModule());
|
|
4709
|
-
$this$DI.a5y(randomOrgModule(this$0.
|
|
4732
|
+
$this$DI.a5y(randomOrgModule(this$0.ka3_1));
|
|
4710
4733
|
return Unit_instance;
|
|
4711
4734
|
};
|
|
4712
4735
|
}
|
|
@@ -4717,13 +4740,13 @@
|
|
|
4717
4740
|
};
|
|
4718
4741
|
}
|
|
4719
4742
|
function _no_name_provided__qut3iv_8($item) {
|
|
4720
|
-
this.
|
|
4743
|
+
this.sa3_1 = $item;
|
|
4721
4744
|
}
|
|
4722
4745
|
protoOf(_no_name_provided__qut3iv_8).p6j = function (action) {
|
|
4723
4746
|
return isInterface(action, Action);
|
|
4724
4747
|
};
|
|
4725
4748
|
protoOf(_no_name_provided__qut3iv_8).q9d = function (state, action) {
|
|
4726
|
-
return this.
|
|
4749
|
+
return this.sa3_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4727
4750
|
};
|
|
4728
4751
|
protoOf(_no_name_provided__qut3iv_8).h6l = function (state, action) {
|
|
4729
4752
|
return this.q9d((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -4818,7 +4841,7 @@
|
|
|
4818
4841
|
// Inline function 'kotlin.contracts.contract' call
|
|
4819
4842
|
$this$DI.a5y(tmp0_safe_receiver);
|
|
4820
4843
|
}
|
|
4821
|
-
$this$DI.a5y(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4844
|
+
$this$DI.a5y(dealerModule(this$0.randomPoolProvider, this$0.ka3_1));
|
|
4822
4845
|
$this$DI.a5y(coreModule($coreConfig));
|
|
4823
4846
|
$this$DI.a5y(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4824
4847
|
return Unit_instance;
|
|
@@ -4827,76 +4850,76 @@
|
|
|
4827
4850
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4828
4851
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4829
4852
|
production = production === VOID ? true : production;
|
|
4830
|
-
this.
|
|
4831
|
-
this.
|
|
4853
|
+
this.ja3_1 = loggerCallback;
|
|
4854
|
+
this.ka3_1 = randomOrgConfig;
|
|
4832
4855
|
AppEnvironment_getInstance().s6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4833
4856
|
var tmp = this;
|
|
4834
|
-
tmp.
|
|
4857
|
+
tmp.la3_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
4835
4858
|
var tmp_0 = this;
|
|
4836
|
-
tmp_0.
|
|
4859
|
+
tmp_0.ma3_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4837
4860
|
var tmp_1 = this;
|
|
4838
4861
|
// Inline function 'org.kodein.di.instance' call
|
|
4839
4862
|
var this_0 = _get_di__ndbzja(this);
|
|
4840
4863
|
// Inline function 'org.kodein.type.generic' call
|
|
4841
4864
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4842
4865
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4843
|
-
tmp_1.
|
|
4866
|
+
tmp_1.na3_1 = Instance(this_0, tmp$ret$0, null).t63(this, parser$factory());
|
|
4844
4867
|
var tmp_3 = this;
|
|
4845
4868
|
// Inline function 'org.kodein.di.instance' call
|
|
4846
4869
|
var this_1 = _get_di__ndbzja(this);
|
|
4847
4870
|
// Inline function 'org.kodein.type.generic' call
|
|
4848
4871
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4849
4872
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4850
|
-
tmp_3.
|
|
4873
|
+
tmp_3.oa3_1 = Instance(this_1, tmp$ret$2, null).t63(this, helper$factory());
|
|
4851
4874
|
var tmp_5 = this;
|
|
4852
4875
|
// Inline function 'org.kodein.di.instance' call
|
|
4853
4876
|
var this_2 = _get_di__ndbzja(this);
|
|
4854
4877
|
// Inline function 'org.kodein.type.generic' call
|
|
4855
4878
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4856
4879
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4857
|
-
tmp_5.
|
|
4880
|
+
tmp_5.pa3_1 = Instance(this_2, tmp$ret$4, null).t63(this, resources$factory());
|
|
4858
4881
|
var tmp_7 = this;
|
|
4859
4882
|
// Inline function 'org.kodein.di.instance' call
|
|
4860
4883
|
var this_3 = _get_di__ndbzja(this);
|
|
4861
4884
|
// Inline function 'org.kodein.type.generic' call
|
|
4862
4885
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4863
4886
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4864
|
-
tmp_7.
|
|
4887
|
+
tmp_7.qa3_1 = Instance(this_3, tmp$ret$6, null).t63(this, test$factory());
|
|
4865
4888
|
var tmp_9 = this;
|
|
4866
4889
|
// Inline function 'org.kodein.di.instance' call
|
|
4867
4890
|
var this_4 = _get_di__ndbzja(this);
|
|
4868
4891
|
// Inline function 'org.kodein.type.generic' call
|
|
4869
4892
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4870
4893
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4871
|
-
tmp_9.
|
|
4894
|
+
tmp_9.ra3_1 = Instance(this_4, tmp$ret$8, null).t63(this, randomPoolProvider$factory());
|
|
4872
4895
|
}
|
|
4873
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4896
|
+
protoOf(GameServerEngineControllerImpl).da3 = function () {
|
|
4874
4897
|
// Inline function 'kotlin.getValue' call
|
|
4875
|
-
var this_0 = this.
|
|
4898
|
+
var this_0 = this.na3_1;
|
|
4876
4899
|
parser$factory_0();
|
|
4877
4900
|
return this_0.u();
|
|
4878
4901
|
};
|
|
4879
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4902
|
+
protoOf(GameServerEngineControllerImpl).fa3 = function () {
|
|
4880
4903
|
// Inline function 'kotlin.getValue' call
|
|
4881
|
-
var this_0 = this.
|
|
4904
|
+
var this_0 = this.oa3_1;
|
|
4882
4905
|
helper$factory_0();
|
|
4883
4906
|
return this_0.u();
|
|
4884
4907
|
};
|
|
4885
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4908
|
+
protoOf(GameServerEngineControllerImpl).ga3 = function () {
|
|
4886
4909
|
// Inline function 'kotlin.getValue' call
|
|
4887
|
-
var this_0 = this.
|
|
4910
|
+
var this_0 = this.pa3_1;
|
|
4888
4911
|
resources$factory_0();
|
|
4889
4912
|
return this_0.u();
|
|
4890
4913
|
};
|
|
4891
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4914
|
+
protoOf(GameServerEngineControllerImpl).ea3 = function () {
|
|
4892
4915
|
// Inline function 'kotlin.getValue' call
|
|
4893
|
-
var this_0 = this.
|
|
4916
|
+
var this_0 = this.qa3_1;
|
|
4894
4917
|
test$factory_0();
|
|
4895
4918
|
return this_0.u();
|
|
4896
4919
|
};
|
|
4897
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4920
|
+
protoOf(GameServerEngineControllerImpl).ha3 = function () {
|
|
4898
4921
|
// Inline function 'kotlin.getValue' call
|
|
4899
|
-
var this_0 = this.
|
|
4922
|
+
var this_0 = this.ra3_1;
|
|
4900
4923
|
randomPoolProvider$factory_0();
|
|
4901
4924
|
return this_0.u();
|
|
4902
4925
|
};
|
|
@@ -4906,7 +4929,7 @@
|
|
|
4906
4929
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4907
4930
|
return this.createGameEngineWithLogic();
|
|
4908
4931
|
};
|
|
4909
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4932
|
+
protoOf(GameServerEngineControllerImpl).ia3 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4910
4933
|
var combinedLogger = Companion_instance_6.qm();
|
|
4911
4934
|
var tmp;
|
|
4912
4935
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4916,8 +4939,8 @@
|
|
|
4916
4939
|
}
|
|
4917
4940
|
var fileLoggerOutput = tmp;
|
|
4918
4941
|
var tmp_0;
|
|
4919
|
-
if (!(this.
|
|
4920
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4942
|
+
if (!(this.ja3_1 == null)) {
|
|
4943
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ja3_1));
|
|
4921
4944
|
} else {
|
|
4922
4945
|
tmp_0 = null;
|
|
4923
4946
|
}
|
|
@@ -5034,13 +5057,13 @@
|
|
|
5034
5057
|
}
|
|
5035
5058
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5036
5059
|
// Inline function 'kotlin.getValue' call
|
|
5037
|
-
var this_0 = $this.
|
|
5060
|
+
var this_0 = $this.va3_1;
|
|
5038
5061
|
playerAnswerInteractor$factory_0();
|
|
5039
5062
|
return this_0.u();
|
|
5040
5063
|
}
|
|
5041
5064
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5042
5065
|
return function ($this$singleton) {
|
|
5043
|
-
return this$0.
|
|
5066
|
+
return this$0.ta3_1;
|
|
5044
5067
|
};
|
|
5045
5068
|
}
|
|
5046
5069
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5069,17 +5092,17 @@
|
|
|
5069
5092
|
return emptyMap();
|
|
5070
5093
|
}
|
|
5071
5094
|
function TestHelperImpl(logger) {
|
|
5072
|
-
this.
|
|
5095
|
+
this.ta3_1 = logger;
|
|
5073
5096
|
var tmp = this;
|
|
5074
5097
|
var tmp_0 = Companion_instance_3;
|
|
5075
|
-
tmp.
|
|
5098
|
+
tmp.ua3_1 = tmp_0.h5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5076
5099
|
var tmp_1 = this;
|
|
5077
5100
|
// Inline function 'org.kodein.di.instance' call
|
|
5078
|
-
var this_0 = this.
|
|
5101
|
+
var this_0 = this.ua3_1;
|
|
5079
5102
|
// Inline function 'org.kodein.type.generic' call
|
|
5080
5103
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5081
5104
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5082
|
-
tmp_1.
|
|
5105
|
+
tmp_1.va3_1 = Instance(this_0, tmp$ret$0, null).t63(this, playerAnswerInteractor$factory());
|
|
5083
5106
|
}
|
|
5084
5107
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5085
5108
|
return _get_playerAnswerInteractor__msggz1(this).c8t(playerId, table, botConfig);
|
|
@@ -5226,19 +5249,19 @@
|
|
|
5226
5249
|
});
|
|
5227
5250
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5228
5251
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5229
|
-
return this.
|
|
5252
|
+
return this.da3();
|
|
5230
5253
|
});
|
|
5231
5254
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5232
|
-
return this.
|
|
5255
|
+
return this.fa3();
|
|
5233
5256
|
});
|
|
5234
5257
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5235
|
-
return this.
|
|
5258
|
+
return this.ga3();
|
|
5236
5259
|
});
|
|
5237
5260
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5238
|
-
return this.
|
|
5261
|
+
return this.ea3();
|
|
5239
5262
|
});
|
|
5240
5263
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5241
|
-
return this.
|
|
5264
|
+
return this.ha3();
|
|
5242
5265
|
});
|
|
5243
5266
|
//endregion
|
|
5244
5267
|
//region block: init
|