raspberry_games_server_game_logic 1.8.443 → 1.8.444
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +2 -2
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +5 -0
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +810 -869
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.nc;
|
|
56
56
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
57
57
|
var initMetadataForClass = kotlin_kotlin.$_$.lc;
|
|
58
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
59
58
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
60
59
|
var fromInt = kotlin_kotlin.$_$.gb;
|
|
61
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
@@ -86,6 +85,7 @@
|
|
|
86
85
|
var FunctionAdapter = kotlin_kotlin.$_$.rb;
|
|
87
86
|
var hashCode = kotlin_kotlin.$_$.kc;
|
|
88
87
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
88
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
89
89
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
90
90
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.p2;
|
|
91
91
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l1;
|
|
@@ -344,7 +344,6 @@
|
|
|
344
344
|
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
345
345
|
initMetadataForClass(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1, VOID, VOID, VOID, [Flow], [1]);
|
|
346
346
|
initMetadataForLambda(GameServer$subscribeServerStateUpdateJson$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
347
|
-
initMetadataForLambda(GameServer$getServerTableState$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
348
347
|
initMetadataForLambda(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
349
348
|
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
350
349
|
initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, [Flow], [1]);
|
|
@@ -404,10 +403,10 @@
|
|
|
404
403
|
spectators = tmp;
|
|
405
404
|
var tmp_0;
|
|
406
405
|
if ($super === VOID) {
|
|
407
|
-
this.
|
|
406
|
+
this.na9(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
408
407
|
tmp_0 = Unit_instance;
|
|
409
408
|
} else {
|
|
410
|
-
tmp_0 = $super.
|
|
409
|
+
tmp_0 = $super.na9.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
411
410
|
}
|
|
412
411
|
return tmp_0;
|
|
413
412
|
}
|
|
@@ -415,10 +414,10 @@
|
|
|
415
414
|
newRid = newRid === VOID ? null : newRid;
|
|
416
415
|
var tmp;
|
|
417
416
|
if ($super === VOID) {
|
|
418
|
-
this.
|
|
417
|
+
this.pa9(newRid);
|
|
419
418
|
tmp = Unit_instance;
|
|
420
419
|
} else {
|
|
421
|
-
tmp = $super.
|
|
420
|
+
tmp = $super.pa9.call(this, newRid);
|
|
422
421
|
}
|
|
423
422
|
return tmp;
|
|
424
423
|
}
|
|
@@ -426,16 +425,16 @@
|
|
|
426
425
|
roomId = roomId === VOID ? null : roomId;
|
|
427
426
|
var tmp;
|
|
428
427
|
if ($super === VOID) {
|
|
429
|
-
this.
|
|
428
|
+
this.qa9(reason, roomId);
|
|
430
429
|
tmp = Unit_instance;
|
|
431
430
|
} else {
|
|
432
|
-
tmp = $super.
|
|
431
|
+
tmp = $super.qa9.call(this, reason, roomId);
|
|
433
432
|
}
|
|
434
433
|
return tmp;
|
|
435
434
|
}
|
|
436
435
|
function playerLeft(playerId, roomId, permanently, $super) {
|
|
437
436
|
permanently = permanently === VOID ? true : permanently;
|
|
438
|
-
return $super === VOID ? this.
|
|
437
|
+
return $super === VOID ? this.ma9(playerId, roomId, permanently) : $super.ma9.call(this, playerId, roomId, permanently);
|
|
439
438
|
}
|
|
440
439
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
441
440
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -509,7 +508,7 @@
|
|
|
509
508
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
510
509
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
511
510
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
512
|
-
return $super === VOID ? this.
|
|
511
|
+
return $super === VOID ? this.taf(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.taf.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
513
512
|
}
|
|
514
513
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
515
514
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -764,55 +763,9 @@
|
|
|
764
763
|
l.$arity = 1;
|
|
765
764
|
return l;
|
|
766
765
|
}
|
|
767
|
-
function GameServer$getServerTableState$slambda$slambda(this$0, resultContinuation) {
|
|
768
|
-
this.z9s_1 = this$0;
|
|
769
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
770
|
-
}
|
|
771
|
-
protoOf(GameServer$getServerTableState$slambda$slambda).b9t = function ($this$awaitDefaultWithLock, $completion) {
|
|
772
|
-
var tmp = this.d2d($this$awaitDefaultWithLock, $completion);
|
|
773
|
-
tmp.u8_1 = Unit_instance;
|
|
774
|
-
tmp.v8_1 = null;
|
|
775
|
-
return tmp.a9();
|
|
776
|
-
};
|
|
777
|
-
protoOf(GameServer$getServerTableState$slambda$slambda).i9 = function (p1, $completion) {
|
|
778
|
-
return this.b9t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
779
|
-
};
|
|
780
|
-
protoOf(GameServer$getServerTableState$slambda$slambda).a9 = function () {
|
|
781
|
-
var suspendResult = this.u8_1;
|
|
782
|
-
$sm: do
|
|
783
|
-
try {
|
|
784
|
-
var tmp = this.s8_1;
|
|
785
|
-
if (tmp === 0) {
|
|
786
|
-
this.t8_1 = 1;
|
|
787
|
-
if (!this.z9s_1.isTableExists) {
|
|
788
|
-
return null;
|
|
789
|
-
}
|
|
790
|
-
return mapToDto_3(new TableStateUpdate(this.z9s_1.table.id, this.z9s_1.table), _get_encoderDecoderProvider__qqgrji(this.z9s_1));
|
|
791
|
-
} else if (tmp === 1) {
|
|
792
|
-
throw this.v8_1;
|
|
793
|
-
}
|
|
794
|
-
} catch ($p) {
|
|
795
|
-
var e = $p;
|
|
796
|
-
throw e;
|
|
797
|
-
}
|
|
798
|
-
while (true);
|
|
799
|
-
};
|
|
800
|
-
protoOf(GameServer$getServerTableState$slambda$slambda).d2d = function ($this$awaitDefaultWithLock, completion) {
|
|
801
|
-
var i = new GameServer$getServerTableState$slambda$slambda(this.z9s_1, completion);
|
|
802
|
-
i.a9t_1 = $this$awaitDefaultWithLock;
|
|
803
|
-
return i;
|
|
804
|
-
};
|
|
805
|
-
function GameServer$getServerTableState$slambda$slambda_0(this$0, resultContinuation) {
|
|
806
|
-
var i = new GameServer$getServerTableState$slambda$slambda(this$0, resultContinuation);
|
|
807
|
-
var l = function ($this$awaitDefaultWithLock, $completion) {
|
|
808
|
-
return i.b9t($this$awaitDefaultWithLock, $completion);
|
|
809
|
-
};
|
|
810
|
-
l.$arity = 1;
|
|
811
|
-
return l;
|
|
812
|
-
}
|
|
813
766
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
814
|
-
this.
|
|
815
|
-
this.
|
|
767
|
+
this.z9s_1 = $$this$unsafeFlow;
|
|
768
|
+
this.a9t_1 = $table;
|
|
816
769
|
CoroutineImpl.call(this, resultContinuation);
|
|
817
770
|
}
|
|
818
771
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, $completion) {
|
|
@@ -832,10 +785,10 @@
|
|
|
832
785
|
switch (tmp) {
|
|
833
786
|
case 0:
|
|
834
787
|
this.t8_1 = 2;
|
|
835
|
-
var tmp0 = this.
|
|
836
|
-
var value = this.
|
|
788
|
+
var tmp0 = this.z9s_1;
|
|
789
|
+
var value = this.b9t_1;
|
|
837
790
|
this.s8_1 = 1;
|
|
838
|
-
suspendResult = tmp0.o28(new ActionsStateUpdate(this.
|
|
791
|
+
suspendResult = tmp0.o28(new ActionsStateUpdate(this.a9t_1.id, value), this);
|
|
839
792
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
840
793
|
return suspendResult;
|
|
841
794
|
}
|
|
@@ -858,8 +811,8 @@
|
|
|
858
811
|
while (true);
|
|
859
812
|
};
|
|
860
813
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).y2h = function (value, completion) {
|
|
861
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
862
|
-
i.
|
|
814
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.z9s_1, this.a9t_1, completion);
|
|
815
|
+
i.b9t_1 = value;
|
|
863
816
|
return i;
|
|
864
817
|
};
|
|
865
818
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -872,8 +825,8 @@
|
|
|
872
825
|
}
|
|
873
826
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
874
827
|
CoroutineImpl.call(this, resultContinuation);
|
|
875
|
-
this.
|
|
876
|
-
this.
|
|
828
|
+
this.k9t_1 = _this__u8e3s4;
|
|
829
|
+
this.l9t_1 = collector;
|
|
877
830
|
}
|
|
878
831
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
879
832
|
var suspendResult = this.u8_1;
|
|
@@ -883,10 +836,10 @@
|
|
|
883
836
|
switch (tmp) {
|
|
884
837
|
case 0:
|
|
885
838
|
this.t8_1 = 2;
|
|
886
|
-
var $this$unsafeFlow = this.
|
|
839
|
+
var $this$unsafeFlow = this.l9t_1;
|
|
887
840
|
this.s8_1 = 1;
|
|
888
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
889
|
-
suspendResult = this.
|
|
841
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.k9t_1.n9t_1, null);
|
|
842
|
+
suspendResult = this.k9t_1.m9t_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
890
843
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
891
844
|
return suspendResult;
|
|
892
845
|
}
|
|
@@ -909,8 +862,8 @@
|
|
|
909
862
|
while (true);
|
|
910
863
|
};
|
|
911
864
|
function _no_name_provided__qut3iv($this, $table) {
|
|
912
|
-
this.
|
|
913
|
-
this.
|
|
865
|
+
this.m9t_1 = $this;
|
|
866
|
+
this.n9t_1 = $table;
|
|
914
867
|
}
|
|
915
868
|
protoOf(_no_name_provided__qut3iv).p28 = function (collector, $completion) {
|
|
916
869
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -922,18 +875,18 @@
|
|
|
922
875
|
return this.p28(collector, $completion);
|
|
923
876
|
};
|
|
924
877
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
925
|
-
this.
|
|
926
|
-
this.
|
|
878
|
+
this.w9t_1 = $table;
|
|
879
|
+
this.x9t_1 = this$0;
|
|
927
880
|
CoroutineImpl.call(this, resultContinuation);
|
|
928
881
|
}
|
|
929
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
930
|
-
var tmp = this.
|
|
882
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z9t = function ($this$flow, $completion) {
|
|
883
|
+
var tmp = this.a9u($this$flow, $completion);
|
|
931
884
|
tmp.u8_1 = Unit_instance;
|
|
932
885
|
tmp.v8_1 = null;
|
|
933
886
|
return tmp.a9();
|
|
934
887
|
};
|
|
935
888
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
936
|
-
return this.
|
|
889
|
+
return this.z9t((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
937
890
|
};
|
|
938
891
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
939
892
|
var suspendResult = this.u8_1;
|
|
@@ -944,7 +897,7 @@
|
|
|
944
897
|
case 0:
|
|
945
898
|
this.t8_1 = 3;
|
|
946
899
|
this.s8_1 = 1;
|
|
947
|
-
suspendResult = this.
|
|
900
|
+
suspendResult = this.y9t_1.o28(new TableStateUpdate(this.w9t_1.id, this.w9t_1), this);
|
|
948
901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
949
902
|
return suspendResult;
|
|
950
903
|
}
|
|
@@ -952,8 +905,8 @@
|
|
|
952
905
|
continue $sm;
|
|
953
906
|
case 1:
|
|
954
907
|
this.s8_1 = 2;
|
|
955
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
956
|
-
suspendResult = emitAll(this.
|
|
908
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.x9t_1).g8s(), fromInt(_get_serverReduxConfig__rprcrm(this.x9t_1).serverStateUpdateIntervalMillis));
|
|
909
|
+
suspendResult = emitAll(this.y9t_1, new _no_name_provided__qut3iv(this_0, this.w9t_1), this);
|
|
957
910
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
958
911
|
return suspendResult;
|
|
959
912
|
}
|
|
@@ -975,22 +928,22 @@
|
|
|
975
928
|
}
|
|
976
929
|
while (true);
|
|
977
930
|
};
|
|
978
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
979
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
980
|
-
i.
|
|
931
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9u = function ($this$flow, completion) {
|
|
932
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.w9t_1, this.x9t_1, completion);
|
|
933
|
+
i.y9t_1 = $this$flow;
|
|
981
934
|
return i;
|
|
982
935
|
};
|
|
983
936
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
984
937
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
985
938
|
var l = function ($this$flow, $completion) {
|
|
986
|
-
return i.
|
|
939
|
+
return i.z9t($this$flow, $completion);
|
|
987
940
|
};
|
|
988
941
|
l.$arity = 1;
|
|
989
942
|
return l;
|
|
990
943
|
}
|
|
991
944
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
992
|
-
this.
|
|
993
|
-
this.
|
|
945
|
+
this.j9u_1 = $$this$unsafeFlow;
|
|
946
|
+
this.k9u_1 = this$0;
|
|
994
947
|
CoroutineImpl.call(this, resultContinuation);
|
|
995
948
|
}
|
|
996
949
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, $completion) {
|
|
@@ -1011,16 +964,16 @@
|
|
|
1011
964
|
case 0:
|
|
1012
965
|
this.t8_1 = 5;
|
|
1013
966
|
var tmp_0 = this;
|
|
1014
|
-
tmp_0.
|
|
967
|
+
tmp_0.p9u_1 = this.j9u_1;
|
|
1015
968
|
var tmp_1 = this;
|
|
1016
|
-
tmp_1.
|
|
969
|
+
tmp_1.o9u_1 = this.l9u_1;
|
|
1017
970
|
this.s8_1 = 1;
|
|
1018
971
|
continue $sm;
|
|
1019
972
|
case 1:
|
|
1020
|
-
this.
|
|
1021
|
-
var it = this.
|
|
973
|
+
this.m9u_1 = this.p9u_1;
|
|
974
|
+
var it = this.o9u_1;
|
|
1022
975
|
var tmp_2;
|
|
1023
|
-
if (get_isCreated(this.
|
|
976
|
+
if (get_isCreated(this.k9u_1.x66())) {
|
|
1024
977
|
tmp_2 = it;
|
|
1025
978
|
} else {
|
|
1026
979
|
tmp_2 = null;
|
|
@@ -1032,15 +985,15 @@
|
|
|
1032
985
|
var tmp_3 = this;
|
|
1033
986
|
continue $sm;
|
|
1034
987
|
} else {
|
|
1035
|
-
this.
|
|
988
|
+
this.n9u_1 = tmp0_elvis_lhs;
|
|
1036
989
|
this.s8_1 = 2;
|
|
1037
990
|
continue $sm;
|
|
1038
991
|
}
|
|
1039
992
|
|
|
1040
993
|
case 2:
|
|
1041
|
-
var transformed = this.
|
|
994
|
+
var transformed = this.n9u_1;
|
|
1042
995
|
this.s8_1 = 3;
|
|
1043
|
-
suspendResult = this.
|
|
996
|
+
suspendResult = this.m9u_1.o28(transformed, this);
|
|
1044
997
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1045
998
|
return suspendResult;
|
|
1046
999
|
}
|
|
@@ -1071,8 +1024,8 @@
|
|
|
1071
1024
|
while (true);
|
|
1072
1025
|
};
|
|
1073
1026
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).y2h = function (value, completion) {
|
|
1074
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1075
|
-
i.
|
|
1027
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.j9u_1, this.k9u_1, completion);
|
|
1028
|
+
i.l9u_1 = value;
|
|
1076
1029
|
return i;
|
|
1077
1030
|
};
|
|
1078
1031
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1085,8 +1038,8 @@
|
|
|
1085
1038
|
}
|
|
1086
1039
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1087
1040
|
CoroutineImpl.call(this, resultContinuation);
|
|
1088
|
-
this.
|
|
1089
|
-
this.
|
|
1041
|
+
this.y9u_1 = _this__u8e3s4;
|
|
1042
|
+
this.z9u_1 = collector;
|
|
1090
1043
|
}
|
|
1091
1044
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1092
1045
|
var suspendResult = this.u8_1;
|
|
@@ -1096,10 +1049,10 @@
|
|
|
1096
1049
|
switch (tmp) {
|
|
1097
1050
|
case 0:
|
|
1098
1051
|
this.t8_1 = 2;
|
|
1099
|
-
var $this$unsafeFlow = this.
|
|
1052
|
+
var $this$unsafeFlow = this.z9u_1;
|
|
1100
1053
|
this.s8_1 = 1;
|
|
1101
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1102
|
-
suspendResult = this.
|
|
1054
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.y9u_1.b9v_1, null);
|
|
1055
|
+
suspendResult = this.y9u_1.a9v_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1103
1056
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1104
1057
|
return suspendResult;
|
|
1105
1058
|
}
|
|
@@ -1122,7 +1075,7 @@
|
|
|
1122
1075
|
while (true);
|
|
1123
1076
|
};
|
|
1124
1077
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1125
|
-
this.
|
|
1078
|
+
this.k9v_1 = $$this$unsafeFlow;
|
|
1126
1079
|
CoroutineImpl.call(this, resultContinuation);
|
|
1127
1080
|
}
|
|
1128
1081
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, $completion) {
|
|
@@ -1143,28 +1096,28 @@
|
|
|
1143
1096
|
case 0:
|
|
1144
1097
|
this.t8_1 = 5;
|
|
1145
1098
|
var tmp_0 = this;
|
|
1146
|
-
tmp_0.
|
|
1099
|
+
tmp_0.p9v_1 = this.k9v_1;
|
|
1147
1100
|
var tmp_1 = this;
|
|
1148
|
-
tmp_1.
|
|
1101
|
+
tmp_1.o9v_1 = this.l9v_1;
|
|
1149
1102
|
this.s8_1 = 1;
|
|
1150
1103
|
continue $sm;
|
|
1151
1104
|
case 1:
|
|
1152
|
-
this.
|
|
1153
|
-
var tmp0_elvis_lhs = this.
|
|
1105
|
+
this.m9v_1 = this.p9v_1;
|
|
1106
|
+
var tmp0_elvis_lhs = this.o9v_1.tableOrNull;
|
|
1154
1107
|
if (tmp0_elvis_lhs == null) {
|
|
1155
1108
|
this.s8_1 = 4;
|
|
1156
1109
|
var tmp_2 = this;
|
|
1157
1110
|
continue $sm;
|
|
1158
1111
|
} else {
|
|
1159
|
-
this.
|
|
1112
|
+
this.n9v_1 = tmp0_elvis_lhs;
|
|
1160
1113
|
this.s8_1 = 2;
|
|
1161
1114
|
continue $sm;
|
|
1162
1115
|
}
|
|
1163
1116
|
|
|
1164
1117
|
case 2:
|
|
1165
|
-
var transformed = this.
|
|
1118
|
+
var transformed = this.n9v_1;
|
|
1166
1119
|
this.s8_1 = 3;
|
|
1167
|
-
suspendResult = this.
|
|
1120
|
+
suspendResult = this.m9v_1.o28(transformed, this);
|
|
1168
1121
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1169
1122
|
return suspendResult;
|
|
1170
1123
|
}
|
|
@@ -1195,8 +1148,8 @@
|
|
|
1195
1148
|
while (true);
|
|
1196
1149
|
};
|
|
1197
1150
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).y2h = function (value, completion) {
|
|
1198
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1199
|
-
i.
|
|
1151
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.k9v_1, completion);
|
|
1152
|
+
i.l9v_1 = value;
|
|
1200
1153
|
return i;
|
|
1201
1154
|
};
|
|
1202
1155
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1209,8 +1162,8 @@
|
|
|
1209
1162
|
}
|
|
1210
1163
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1211
1164
|
CoroutineImpl.call(this, resultContinuation);
|
|
1212
|
-
this.
|
|
1213
|
-
this.
|
|
1165
|
+
this.y9v_1 = _this__u8e3s4;
|
|
1166
|
+
this.z9v_1 = collector;
|
|
1214
1167
|
}
|
|
1215
1168
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1216
1169
|
var suspendResult = this.u8_1;
|
|
@@ -1220,10 +1173,10 @@
|
|
|
1220
1173
|
switch (tmp) {
|
|
1221
1174
|
case 0:
|
|
1222
1175
|
this.t8_1 = 2;
|
|
1223
|
-
var $this$unsafeFlow = this.
|
|
1176
|
+
var $this$unsafeFlow = this.z9v_1;
|
|
1224
1177
|
this.s8_1 = 1;
|
|
1225
1178
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1226
|
-
suspendResult = this.
|
|
1179
|
+
suspendResult = this.y9v_1.a9w_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1227
1180
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1228
1181
|
return suspendResult;
|
|
1229
1182
|
}
|
|
@@ -1246,7 +1199,7 @@
|
|
|
1246
1199
|
while (true);
|
|
1247
1200
|
};
|
|
1248
1201
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1249
|
-
this.
|
|
1202
|
+
this.j9w_1 = $$this$unsafeFlow;
|
|
1250
1203
|
CoroutineImpl.call(this, resultContinuation);
|
|
1251
1204
|
}
|
|
1252
1205
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, $completion) {
|
|
@@ -1266,8 +1219,8 @@
|
|
|
1266
1219
|
switch (tmp) {
|
|
1267
1220
|
case 0:
|
|
1268
1221
|
this.t8_1 = 2;
|
|
1269
|
-
var tmp0 = this.
|
|
1270
|
-
var value = this.
|
|
1222
|
+
var tmp0 = this.j9w_1;
|
|
1223
|
+
var value = this.k9w_1;
|
|
1271
1224
|
this.s8_1 = 1;
|
|
1272
1225
|
suspendResult = tmp0.o28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1273
1226
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1292,8 +1245,8 @@
|
|
|
1292
1245
|
while (true);
|
|
1293
1246
|
};
|
|
1294
1247
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).y2h = function (value, completion) {
|
|
1295
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1296
|
-
i.
|
|
1248
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.j9w_1, completion);
|
|
1249
|
+
i.k9w_1 = value;
|
|
1297
1250
|
return i;
|
|
1298
1251
|
};
|
|
1299
1252
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1306,8 +1259,8 @@
|
|
|
1306
1259
|
}
|
|
1307
1260
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1308
1261
|
CoroutineImpl.call(this, resultContinuation);
|
|
1309
|
-
this.
|
|
1310
|
-
this.
|
|
1262
|
+
this.t9w_1 = _this__u8e3s4;
|
|
1263
|
+
this.u9w_1 = collector;
|
|
1311
1264
|
}
|
|
1312
1265
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1313
1266
|
var suspendResult = this.u8_1;
|
|
@@ -1317,10 +1270,10 @@
|
|
|
1317
1270
|
switch (tmp) {
|
|
1318
1271
|
case 0:
|
|
1319
1272
|
this.t8_1 = 2;
|
|
1320
|
-
var $this$unsafeFlow = this.
|
|
1273
|
+
var $this$unsafeFlow = this.u9w_1;
|
|
1321
1274
|
this.s8_1 = 1;
|
|
1322
1275
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1323
|
-
suspendResult = this.
|
|
1276
|
+
suspendResult = this.t9w_1.v9w_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1324
1277
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1325
1278
|
return suspendResult;
|
|
1326
1279
|
}
|
|
@@ -1343,7 +1296,7 @@
|
|
|
1343
1296
|
while (true);
|
|
1344
1297
|
};
|
|
1345
1298
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1346
|
-
this.
|
|
1299
|
+
this.e9x_1 = $$this$unsafeFlow;
|
|
1347
1300
|
CoroutineImpl.call(this, resultContinuation);
|
|
1348
1301
|
}
|
|
1349
1302
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, $completion) {
|
|
@@ -1363,8 +1316,8 @@
|
|
|
1363
1316
|
switch (tmp) {
|
|
1364
1317
|
case 0:
|
|
1365
1318
|
this.t8_1 = 2;
|
|
1366
|
-
var tmp0 = this.
|
|
1367
|
-
var value = this.
|
|
1319
|
+
var tmp0 = this.e9x_1;
|
|
1320
|
+
var value = this.f9x_1;
|
|
1368
1321
|
this.s8_1 = 1;
|
|
1369
1322
|
suspendResult = tmp0.o28(value.ne_1, this);
|
|
1370
1323
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1389,8 +1342,8 @@
|
|
|
1389
1342
|
while (true);
|
|
1390
1343
|
};
|
|
1391
1344
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).y2h = function (value, completion) {
|
|
1392
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1393
|
-
i.
|
|
1345
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.e9x_1, completion);
|
|
1346
|
+
i.f9x_1 = value;
|
|
1394
1347
|
return i;
|
|
1395
1348
|
};
|
|
1396
1349
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1403,8 +1356,8 @@
|
|
|
1403
1356
|
}
|
|
1404
1357
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1405
1358
|
CoroutineImpl.call(this, resultContinuation);
|
|
1406
|
-
this.
|
|
1407
|
-
this.
|
|
1359
|
+
this.o9x_1 = _this__u8e3s4;
|
|
1360
|
+
this.p9x_1 = collector;
|
|
1408
1361
|
}
|
|
1409
1362
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1410
1363
|
var suspendResult = this.u8_1;
|
|
@@ -1414,10 +1367,10 @@
|
|
|
1414
1367
|
switch (tmp) {
|
|
1415
1368
|
case 0:
|
|
1416
1369
|
this.t8_1 = 2;
|
|
1417
|
-
var $this$unsafeFlow = this.
|
|
1370
|
+
var $this$unsafeFlow = this.p9x_1;
|
|
1418
1371
|
this.s8_1 = 1;
|
|
1419
1372
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1420
|
-
suspendResult = this.
|
|
1373
|
+
suspendResult = this.o9x_1.q9x_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1421
1374
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1422
1375
|
return suspendResult;
|
|
1423
1376
|
}
|
|
@@ -1440,17 +1393,17 @@
|
|
|
1440
1393
|
while (true);
|
|
1441
1394
|
};
|
|
1442
1395
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1443
|
-
this.
|
|
1396
|
+
this.z9x_1 = $subscriber;
|
|
1444
1397
|
CoroutineImpl.call(this, resultContinuation);
|
|
1445
1398
|
}
|
|
1446
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1447
|
-
var tmp = this.
|
|
1399
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).b9y = function (it, $completion) {
|
|
1400
|
+
var tmp = this.c9y(it, $completion);
|
|
1448
1401
|
tmp.u8_1 = Unit_instance;
|
|
1449
1402
|
tmp.v8_1 = null;
|
|
1450
1403
|
return tmp.a9();
|
|
1451
1404
|
};
|
|
1452
1405
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1453
|
-
return this.
|
|
1406
|
+
return this.b9y(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1454
1407
|
};
|
|
1455
1408
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1456
1409
|
var suspendResult = this.u8_1;
|
|
@@ -1459,7 +1412,7 @@
|
|
|
1459
1412
|
var tmp = this.s8_1;
|
|
1460
1413
|
if (tmp === 0) {
|
|
1461
1414
|
this.t8_1 = 1;
|
|
1462
|
-
this.
|
|
1415
|
+
this.z9x_1(this.a9y_1);
|
|
1463
1416
|
return Unit_instance;
|
|
1464
1417
|
} else if (tmp === 1) {
|
|
1465
1418
|
throw this.v8_1;
|
|
@@ -1470,91 +1423,91 @@
|
|
|
1470
1423
|
}
|
|
1471
1424
|
while (true);
|
|
1472
1425
|
};
|
|
1473
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1474
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1475
|
-
i.
|
|
1426
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).c9y = function (it, completion) {
|
|
1427
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.z9x_1, completion);
|
|
1428
|
+
i.a9y_1 = it;
|
|
1476
1429
|
return i;
|
|
1477
1430
|
};
|
|
1478
1431
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1479
1432
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1480
1433
|
var l = function (it, $completion) {
|
|
1481
|
-
return i.
|
|
1434
|
+
return i.b9y(it, $completion);
|
|
1482
1435
|
};
|
|
1483
1436
|
l.$arity = 1;
|
|
1484
1437
|
return l;
|
|
1485
1438
|
}
|
|
1486
1439
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1487
|
-
var tmp0 = $this.
|
|
1440
|
+
var tmp0 = $this.h9y_1;
|
|
1488
1441
|
var tmp = KProperty1;
|
|
1489
1442
|
// Inline function 'kotlin.getValue' call
|
|
1490
1443
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1491
1444
|
return tmp0.x();
|
|
1492
1445
|
}
|
|
1493
1446
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1494
|
-
var tmp0 = $this.
|
|
1447
|
+
var tmp0 = $this.i9y_1;
|
|
1495
1448
|
var tmp = KProperty1;
|
|
1496
1449
|
// Inline function 'kotlin.getValue' call
|
|
1497
1450
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1498
1451
|
return tmp0.x();
|
|
1499
1452
|
}
|
|
1500
1453
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1501
|
-
var tmp0 = $this.
|
|
1454
|
+
var tmp0 = $this.j9y_1;
|
|
1502
1455
|
var tmp = KProperty1;
|
|
1503
1456
|
// Inline function 'kotlin.getValue' call
|
|
1504
1457
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1505
1458
|
return tmp0.x();
|
|
1506
1459
|
}
|
|
1507
1460
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1508
|
-
var tmp0 = $this.
|
|
1461
|
+
var tmp0 = $this.k9y_1;
|
|
1509
1462
|
var tmp = KProperty1;
|
|
1510
1463
|
// Inline function 'kotlin.getValue' call
|
|
1511
1464
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1512
1465
|
return tmp0.x();
|
|
1513
1466
|
}
|
|
1514
1467
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1515
|
-
var tmp0 = $this.
|
|
1468
|
+
var tmp0 = $this.l9y_1;
|
|
1516
1469
|
var tmp = KProperty1;
|
|
1517
1470
|
// Inline function 'kotlin.getValue' call
|
|
1518
1471
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1519
1472
|
return tmp0.x();
|
|
1520
1473
|
}
|
|
1521
1474
|
function _get_random__h29cgo($this) {
|
|
1522
|
-
var tmp0 = $this.
|
|
1475
|
+
var tmp0 = $this.m9y_1;
|
|
1523
1476
|
var tmp = KProperty1;
|
|
1524
1477
|
// Inline function 'kotlin.getValue' call
|
|
1525
1478
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1526
1479
|
return tmp0.x();
|
|
1527
1480
|
}
|
|
1528
1481
|
function _get_idsProvider__fnfajc($this) {
|
|
1529
|
-
var tmp0 = $this.
|
|
1482
|
+
var tmp0 = $this.n9y_1;
|
|
1530
1483
|
var tmp = KProperty1;
|
|
1531
1484
|
// Inline function 'kotlin.getValue' call
|
|
1532
1485
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1533
1486
|
return tmp0.x();
|
|
1534
1487
|
}
|
|
1535
1488
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1536
|
-
var tmp0 = $this.
|
|
1489
|
+
var tmp0 = $this.o9y_1;
|
|
1537
1490
|
var tmp = KProperty1;
|
|
1538
1491
|
// Inline function 'kotlin.getValue' call
|
|
1539
1492
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1540
1493
|
return tmp0.x();
|
|
1541
1494
|
}
|
|
1542
1495
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1543
|
-
var tmp0 = $this.
|
|
1496
|
+
var tmp0 = $this.p9y_1;
|
|
1544
1497
|
var tmp = KProperty1;
|
|
1545
1498
|
// Inline function 'kotlin.getValue' call
|
|
1546
1499
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1547
1500
|
return tmp0.x();
|
|
1548
1501
|
}
|
|
1549
1502
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1550
|
-
var tmp0 = $this.
|
|
1503
|
+
var tmp0 = $this.q9y_1;
|
|
1551
1504
|
var tmp = KProperty1;
|
|
1552
1505
|
// Inline function 'kotlin.getValue' call
|
|
1553
1506
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1554
1507
|
return tmp0.x();
|
|
1555
1508
|
}
|
|
1556
1509
|
function _get_botChatInteractor__17f3on($this) {
|
|
1557
|
-
var tmp0 = $this.
|
|
1510
|
+
var tmp0 = $this.r9y_1;
|
|
1558
1511
|
var tmp = KProperty1;
|
|
1559
1512
|
// Inline function 'kotlin.getValue' call
|
|
1560
1513
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1687,20 +1640,20 @@
|
|
|
1687
1640
|
return _get_teamsLogicProvider__u10pm6($this).b8s(updatedTeams);
|
|
1688
1641
|
}
|
|
1689
1642
|
function Companion() {
|
|
1690
|
-
this.
|
|
1643
|
+
this.t9y_1 = 'GameEngine_API';
|
|
1691
1644
|
}
|
|
1692
1645
|
var Companion_instance_9;
|
|
1693
1646
|
function Companion_getInstance_0() {
|
|
1694
1647
|
return Companion_instance_9;
|
|
1695
1648
|
}
|
|
1696
1649
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1697
|
-
this.
|
|
1650
|
+
this.u9y_1 = function_0;
|
|
1698
1651
|
}
|
|
1699
1652
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
|
|
1700
|
-
return this.
|
|
1653
|
+
return this.u9y_1(value, $completion);
|
|
1701
1654
|
};
|
|
1702
1655
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1703
|
-
return this.
|
|
1656
|
+
return this.u9y_1;
|
|
1704
1657
|
};
|
|
1705
1658
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1706
1659
|
var tmp;
|
|
@@ -1721,13 +1674,13 @@
|
|
|
1721
1674
|
return hashCode(this.b3());
|
|
1722
1675
|
};
|
|
1723
1676
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1724
|
-
this.
|
|
1677
|
+
this.v9y_1 = function_0;
|
|
1725
1678
|
}
|
|
1726
1679
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o28 = function (value, $completion) {
|
|
1727
|
-
return this.
|
|
1680
|
+
return this.v9y_1(value, $completion);
|
|
1728
1681
|
};
|
|
1729
1682
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1730
|
-
return this.
|
|
1683
|
+
return this.v9y_1;
|
|
1731
1684
|
};
|
|
1732
1685
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1733
1686
|
var tmp;
|
|
@@ -1748,13 +1701,13 @@
|
|
|
1748
1701
|
return hashCode(this.b3());
|
|
1749
1702
|
};
|
|
1750
1703
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1751
|
-
this.
|
|
1704
|
+
this.w9y_1 = function_0;
|
|
1752
1705
|
}
|
|
1753
1706
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o28 = function (value, $completion) {
|
|
1754
|
-
return this.
|
|
1707
|
+
return this.w9y_1(value, $completion);
|
|
1755
1708
|
};
|
|
1756
1709
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1757
|
-
return this.
|
|
1710
|
+
return this.w9y_1;
|
|
1758
1711
|
};
|
|
1759
1712
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1760
1713
|
var tmp;
|
|
@@ -1775,13 +1728,13 @@
|
|
|
1775
1728
|
return hashCode(this.b3());
|
|
1776
1729
|
};
|
|
1777
1730
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1778
|
-
this.
|
|
1731
|
+
this.x9y_1 = function_0;
|
|
1779
1732
|
}
|
|
1780
1733
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o28 = function (value, $completion) {
|
|
1781
|
-
return this.
|
|
1734
|
+
return this.x9y_1(value, $completion);
|
|
1782
1735
|
};
|
|
1783
1736
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1784
|
-
return this.
|
|
1737
|
+
return this.x9y_1;
|
|
1785
1738
|
};
|
|
1786
1739
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1787
1740
|
var tmp;
|
|
@@ -1802,13 +1755,13 @@
|
|
|
1802
1755
|
return hashCode(this.b3());
|
|
1803
1756
|
};
|
|
1804
1757
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1805
|
-
this.
|
|
1758
|
+
this.y9y_1 = function_0;
|
|
1806
1759
|
}
|
|
1807
1760
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o28 = function (value, $completion) {
|
|
1808
|
-
return this.
|
|
1761
|
+
return this.y9y_1(value, $completion);
|
|
1809
1762
|
};
|
|
1810
1763
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1811
|
-
return this.
|
|
1764
|
+
return this.y9y_1;
|
|
1812
1765
|
};
|
|
1813
1766
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1814
1767
|
var tmp;
|
|
@@ -1829,13 +1782,13 @@
|
|
|
1829
1782
|
return hashCode(this.b3());
|
|
1830
1783
|
};
|
|
1831
1784
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1832
|
-
this.
|
|
1785
|
+
this.z9y_1 = function_0;
|
|
1833
1786
|
}
|
|
1834
1787
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).o28 = function (value, $completion) {
|
|
1835
|
-
return this.
|
|
1788
|
+
return this.z9y_1(value, $completion);
|
|
1836
1789
|
};
|
|
1837
1790
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1838
|
-
return this.
|
|
1791
|
+
return this.z9y_1;
|
|
1839
1792
|
};
|
|
1840
1793
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1841
1794
|
var tmp;
|
|
@@ -1966,8 +1919,8 @@
|
|
|
1966
1919
|
};
|
|
1967
1920
|
}
|
|
1968
1921
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1969
|
-
this.
|
|
1970
|
-
this.
|
|
1922
|
+
this.i9z_1 = this$0;
|
|
1923
|
+
this.j9z_1 = $subscriber;
|
|
1971
1924
|
CoroutineImpl.call(this, resultContinuation);
|
|
1972
1925
|
}
|
|
1973
1926
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -1988,8 +1941,8 @@
|
|
|
1988
1941
|
case 0:
|
|
1989
1942
|
this.t8_1 = 2;
|
|
1990
1943
|
this.s8_1 = 1;
|
|
1991
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1992
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1944
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.i9z_1).l9z();
|
|
1945
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.j9z_1, null);
|
|
1993
1946
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1994
1947
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1995
1948
|
return suspendResult;
|
|
@@ -2013,8 +1966,8 @@
|
|
|
2013
1966
|
while (true);
|
|
2014
1967
|
};
|
|
2015
1968
|
protoOf(GameServer$subscribeToClientAction$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2016
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
2017
|
-
i.
|
|
1969
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.i9z_1, this.j9z_1, completion);
|
|
1970
|
+
i.k9z_1 = $this$launchDefault;
|
|
2018
1971
|
return i;
|
|
2019
1972
|
};
|
|
2020
1973
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2026,8 +1979,8 @@
|
|
|
2026
1979
|
return l;
|
|
2027
1980
|
}
|
|
2028
1981
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
1982
|
+
this.u9z_1 = this$0;
|
|
1983
|
+
this.v9z_1 = $subscriber;
|
|
2031
1984
|
CoroutineImpl.call(this, resultContinuation);
|
|
2032
1985
|
}
|
|
2033
1986
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2048,8 +2001,8 @@
|
|
|
2048
2001
|
case 0:
|
|
2049
2002
|
this.t8_1 = 2;
|
|
2050
2003
|
this.s8_1 = 1;
|
|
2051
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2052
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2004
|
+
var tmp_0 = observeTableStateUpdates(this.u9z_1);
|
|
2005
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.v9z_1, null);
|
|
2053
2006
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2054
2007
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2055
2008
|
return suspendResult;
|
|
@@ -2073,8 +2026,8 @@
|
|
|
2073
2026
|
while (true);
|
|
2074
2027
|
};
|
|
2075
2028
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2076
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2077
|
-
i.
|
|
2029
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.u9z_1, this.v9z_1, completion);
|
|
2030
|
+
i.w9z_1 = $this$launchDefault;
|
|
2078
2031
|
return i;
|
|
2079
2032
|
};
|
|
2080
2033
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2086,8 +2039,8 @@
|
|
|
2086
2039
|
return l;
|
|
2087
2040
|
}
|
|
2088
2041
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2089
|
-
this.
|
|
2090
|
-
this.
|
|
2042
|
+
this.fa0_1 = this$0;
|
|
2043
|
+
this.ga0_1 = $subscriber;
|
|
2091
2044
|
CoroutineImpl.call(this, resultContinuation);
|
|
2092
2045
|
}
|
|
2093
2046
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2108,9 +2061,9 @@
|
|
|
2108
2061
|
case 0:
|
|
2109
2062
|
this.t8_1 = 2;
|
|
2110
2063
|
this.s8_1 = 1;
|
|
2111
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2112
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2113
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2064
|
+
var this_0 = observeTableStateUpdates(this.fa0_1);
|
|
2065
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.fa0_1);
|
|
2066
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.ga0_1, null);
|
|
2114
2067
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2115
2068
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2116
2069
|
return suspendResult;
|
|
@@ -2134,8 +2087,8 @@
|
|
|
2134
2087
|
while (true);
|
|
2135
2088
|
};
|
|
2136
2089
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2137
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2138
|
-
i.
|
|
2090
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.fa0_1, this.ga0_1, completion);
|
|
2091
|
+
i.ha0_1 = $this$launchDefault;
|
|
2139
2092
|
return i;
|
|
2140
2093
|
};
|
|
2141
2094
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2147,8 +2100,8 @@
|
|
|
2147
2100
|
return l;
|
|
2148
2101
|
}
|
|
2149
2102
|
function GameServer$getServerTableState$slambda(this$0, $callback, resultContinuation) {
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2103
|
+
this.qa0_1 = this$0;
|
|
2104
|
+
this.ra0_1 = $callback;
|
|
2152
2105
|
CoroutineImpl.call(this, resultContinuation);
|
|
2153
2106
|
}
|
|
2154
2107
|
protoOf(GameServer$getServerTableState$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2165,38 +2118,26 @@
|
|
|
2165
2118
|
$sm: do
|
|
2166
2119
|
try {
|
|
2167
2120
|
var tmp = this.s8_1;
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
this.s8_1 = 1;
|
|
2172
|
-
var tmp_0 = this.ba1_1.p6q();
|
|
2173
|
-
suspendResult = tmp_0.s6c(VOID, GameServer$getServerTableState$slambda$slambda_0(this.ba1_1, null)).a1u(this);
|
|
2174
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2175
|
-
return suspendResult;
|
|
2176
|
-
}
|
|
2177
|
-
|
|
2178
|
-
continue $sm;
|
|
2179
|
-
case 1:
|
|
2180
|
-
var result = suspendResult;
|
|
2181
|
-
this.ca1_1(result);
|
|
2121
|
+
if (tmp === 0) {
|
|
2122
|
+
this.t8_1 = 1;
|
|
2123
|
+
if (!this.qa0_1.isTableExists) {
|
|
2182
2124
|
return Unit_instance;
|
|
2183
|
-
|
|
2184
|
-
|
|
2125
|
+
}
|
|
2126
|
+
var dto = mapToDto_3(new TableStateUpdate(this.qa0_1.table.id, this.qa0_1.table), _get_encoderDecoderProvider__qqgrji(this.qa0_1));
|
|
2127
|
+
this.ra0_1(dto);
|
|
2128
|
+
return Unit_instance;
|
|
2129
|
+
} else if (tmp === 1) {
|
|
2130
|
+
throw this.v8_1;
|
|
2185
2131
|
}
|
|
2186
2132
|
} catch ($p) {
|
|
2187
2133
|
var e = $p;
|
|
2188
|
-
|
|
2189
|
-
throw e;
|
|
2190
|
-
} else {
|
|
2191
|
-
this.s8_1 = this.t8_1;
|
|
2192
|
-
this.v8_1 = e;
|
|
2193
|
-
}
|
|
2134
|
+
throw e;
|
|
2194
2135
|
}
|
|
2195
2136
|
while (true);
|
|
2196
2137
|
};
|
|
2197
2138
|
protoOf(GameServer$getServerTableState$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2198
|
-
var i = new GameServer$getServerTableState$slambda(this.
|
|
2199
|
-
i.
|
|
2139
|
+
var i = new GameServer$getServerTableState$slambda(this.qa0_1, this.ra0_1, completion);
|
|
2140
|
+
i.sa0_1 = $this$launchDefault;
|
|
2200
2141
|
return i;
|
|
2201
2142
|
};
|
|
2202
2143
|
function GameServer$getServerTableState$slambda_0(this$0, $callback, resultContinuation) {
|
|
@@ -2208,18 +2149,18 @@
|
|
|
2208
2149
|
return l;
|
|
2209
2150
|
}
|
|
2210
2151
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2211
|
-
this.
|
|
2152
|
+
this.ba1_1 = this$0;
|
|
2212
2153
|
CoroutineImpl.call(this, resultContinuation);
|
|
2213
2154
|
}
|
|
2214
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2215
|
-
var tmp = this.
|
|
2155
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).ea1 = function ($this$transformLatest, it, $completion) {
|
|
2156
|
+
var tmp = this.fa1($this$transformLatest, it, $completion);
|
|
2216
2157
|
tmp.u8_1 = Unit_instance;
|
|
2217
2158
|
tmp.v8_1 = null;
|
|
2218
2159
|
return tmp.a9();
|
|
2219
2160
|
};
|
|
2220
2161
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
2221
2162
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2222
|
-
return this.
|
|
2163
|
+
return this.ea1(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2223
2164
|
};
|
|
2224
2165
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
2225
2166
|
var suspendResult = this.u8_1;
|
|
@@ -2230,8 +2171,8 @@
|
|
|
2230
2171
|
case 0:
|
|
2231
2172
|
this.t8_1 = 2;
|
|
2232
2173
|
this.s8_1 = 1;
|
|
2233
|
-
var table = this.
|
|
2234
|
-
suspendResult = emitAll(this.
|
|
2174
|
+
var table = this.da1_1;
|
|
2175
|
+
suspendResult = emitAll(this.ca1_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.ba1_1, null)), this);
|
|
2235
2176
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2236
2177
|
return suspendResult;
|
|
2237
2178
|
}
|
|
@@ -2253,23 +2194,23 @@
|
|
|
2253
2194
|
}
|
|
2254
2195
|
while (true);
|
|
2255
2196
|
};
|
|
2256
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2257
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2258
|
-
i.
|
|
2259
|
-
i.
|
|
2197
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).fa1 = function ($this$transformLatest, it, completion) {
|
|
2198
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.ba1_1, completion);
|
|
2199
|
+
i.ca1_1 = $this$transformLatest;
|
|
2200
|
+
i.da1_1 = it;
|
|
2260
2201
|
return i;
|
|
2261
2202
|
};
|
|
2262
2203
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2263
2204
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2264
2205
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2265
|
-
return i.
|
|
2206
|
+
return i.ea1($this$transformLatest, it, $completion);
|
|
2266
2207
|
};
|
|
2267
2208
|
l.$arity = 2;
|
|
2268
2209
|
return l;
|
|
2269
2210
|
}
|
|
2270
2211
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2271
|
-
this.
|
|
2272
|
-
this.
|
|
2212
|
+
this.a9v_1 = $this;
|
|
2213
|
+
this.b9v_1 = this$0;
|
|
2273
2214
|
}
|
|
2274
2215
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).p28 = function (collector, $completion) {
|
|
2275
2216
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2281,7 +2222,7 @@
|
|
|
2281
2222
|
return this.p28(collector, $completion);
|
|
2282
2223
|
};
|
|
2283
2224
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2284
|
-
this.
|
|
2225
|
+
this.a9w_1 = $this;
|
|
2285
2226
|
}
|
|
2286
2227
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).p28 = function (collector, $completion) {
|
|
2287
2228
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2293,7 +2234,7 @@
|
|
|
2293
2234
|
return this.p28(collector, $completion);
|
|
2294
2235
|
};
|
|
2295
2236
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2296
|
-
this.
|
|
2237
|
+
this.v9w_1 = $this;
|
|
2297
2238
|
}
|
|
2298
2239
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).p28 = function (collector, $completion) {
|
|
2299
2240
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2308,7 +2249,7 @@
|
|
|
2308
2249
|
return old.me_1 === new_0.me_1;
|
|
2309
2250
|
}
|
|
2310
2251
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2311
|
-
this.
|
|
2252
|
+
this.q9x_1 = $this;
|
|
2312
2253
|
}
|
|
2313
2254
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).p28 = function (collector, $completion) {
|
|
2314
2255
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2320,8 +2261,8 @@
|
|
|
2320
2261
|
return this.p28(collector, $completion);
|
|
2321
2262
|
};
|
|
2322
2263
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2323
|
-
this.
|
|
2324
|
-
this.
|
|
2264
|
+
this.oa1_1 = this$0;
|
|
2265
|
+
this.pa1_1 = $subscriber;
|
|
2325
2266
|
CoroutineImpl.call(this, resultContinuation);
|
|
2326
2267
|
}
|
|
2327
2268
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2342,8 +2283,8 @@
|
|
|
2342
2283
|
case 0:
|
|
2343
2284
|
this.t8_1 = 2;
|
|
2344
2285
|
this.s8_1 = 1;
|
|
2345
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2346
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2286
|
+
var tmp_0 = distinctUntilChanged(this.oa1_1.b6r());
|
|
2287
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.pa1_1, null);
|
|
2347
2288
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2348
2289
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2349
2290
|
return suspendResult;
|
|
@@ -2367,8 +2308,8 @@
|
|
|
2367
2308
|
while (true);
|
|
2368
2309
|
};
|
|
2369
2310
|
protoOf(GameServer$subscribeWith$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2370
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2371
|
-
i.
|
|
2311
|
+
var i = new GameServer$subscribeWith$slambda(this.oa1_1, this.pa1_1, completion);
|
|
2312
|
+
i.qa1_1 = $this$launchDefault;
|
|
2372
2313
|
return i;
|
|
2373
2314
|
};
|
|
2374
2315
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2380,18 +2321,18 @@
|
|
|
2380
2321
|
return l;
|
|
2381
2322
|
}
|
|
2382
2323
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2383
|
-
this.
|
|
2324
|
+
this.za1_1 = $action;
|
|
2384
2325
|
CoroutineImpl.call(this, resultContinuation);
|
|
2385
2326
|
}
|
|
2386
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2387
|
-
var tmp = this.
|
|
2327
|
+
protoOf(GameServer$fromClientEvent$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2328
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2388
2329
|
tmp.u8_1 = Unit_instance;
|
|
2389
2330
|
tmp.v8_1 = null;
|
|
2390
2331
|
return tmp.a9();
|
|
2391
2332
|
};
|
|
2392
2333
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2393
2334
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2394
|
-
return this.
|
|
2335
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2395
2336
|
};
|
|
2396
2337
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2397
2338
|
var suspendResult = this.u8_1;
|
|
@@ -2400,11 +2341,11 @@
|
|
|
2400
2341
|
var tmp = this.s8_1;
|
|
2401
2342
|
if (tmp === 0) {
|
|
2402
2343
|
this.t8_1 = 1;
|
|
2403
|
-
if (this.
|
|
2404
|
-
if (!get_isCreated(this.
|
|
2344
|
+
if (this.za1_1 instanceof PlayerReadyFromClientAction)
|
|
2345
|
+
if (!get_isCreated(this.ba2_1.state)) {
|
|
2405
2346
|
return Unit_instance;
|
|
2406
2347
|
}
|
|
2407
|
-
this.
|
|
2348
|
+
this.ba2_1.dispatch(this.za1_1);
|
|
2408
2349
|
return Unit_instance;
|
|
2409
2350
|
} else if (tmp === 1) {
|
|
2410
2351
|
throw this.v8_1;
|
|
@@ -2415,34 +2356,34 @@
|
|
|
2415
2356
|
}
|
|
2416
2357
|
while (true);
|
|
2417
2358
|
};
|
|
2418
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2419
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2420
|
-
i.
|
|
2421
|
-
i.
|
|
2359
|
+
protoOf(GameServer$fromClientEvent$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2360
|
+
var i = new GameServer$fromClientEvent$slambda(this.za1_1, completion);
|
|
2361
|
+
i.aa2_1 = $this$dispatchAsync;
|
|
2362
|
+
i.ba2_1 = store;
|
|
2422
2363
|
return i;
|
|
2423
2364
|
};
|
|
2424
2365
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2425
2366
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2426
2367
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2427
|
-
return i.
|
|
2368
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2428
2369
|
};
|
|
2429
2370
|
l.$arity = 2;
|
|
2430
2371
|
return l;
|
|
2431
2372
|
}
|
|
2432
2373
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2433
|
-
this.
|
|
2434
|
-
this.
|
|
2374
|
+
this.ma2_1 = $playerId;
|
|
2375
|
+
this.na2_1 = $roomId;
|
|
2435
2376
|
CoroutineImpl.call(this, resultContinuation);
|
|
2436
2377
|
}
|
|
2437
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2438
|
-
var tmp = this.
|
|
2378
|
+
protoOf(GameServer$playerLostConnection$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2379
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2439
2380
|
tmp.u8_1 = Unit_instance;
|
|
2440
2381
|
tmp.v8_1 = null;
|
|
2441
2382
|
return tmp.a9();
|
|
2442
2383
|
};
|
|
2443
2384
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2444
2385
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2445
|
-
return this.
|
|
2386
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2446
2387
|
};
|
|
2447
2388
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2448
2389
|
var suspendResult = this.u8_1;
|
|
@@ -2451,12 +2392,12 @@
|
|
|
2451
2392
|
var tmp = this.s8_1;
|
|
2452
2393
|
if (tmp === 0) {
|
|
2453
2394
|
this.t8_1 = 1;
|
|
2454
|
-
if (!get_isCreated(this.
|
|
2395
|
+
if (!get_isCreated(this.pa2_1.state)) {
|
|
2455
2396
|
return Unit_instance;
|
|
2456
2397
|
}
|
|
2457
|
-
var tmp_0 = this.
|
|
2398
|
+
var tmp_0 = this.pa2_1.dispatch;
|
|
2458
2399
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2459
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2400
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ma2_1, this.na2_1));
|
|
2460
2401
|
return Unit_instance;
|
|
2461
2402
|
} else if (tmp === 1) {
|
|
2462
2403
|
throw this.v8_1;
|
|
@@ -2467,35 +2408,35 @@
|
|
|
2467
2408
|
}
|
|
2468
2409
|
while (true);
|
|
2469
2410
|
};
|
|
2470
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2471
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2472
|
-
i.
|
|
2473
|
-
i.
|
|
2411
|
+
protoOf(GameServer$playerLostConnection$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2412
|
+
var i = new GameServer$playerLostConnection$slambda(this.ma2_1, this.na2_1, completion);
|
|
2413
|
+
i.oa2_1 = $this$dispatchAsync;
|
|
2414
|
+
i.pa2_1 = store;
|
|
2474
2415
|
return i;
|
|
2475
2416
|
};
|
|
2476
2417
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2477
2418
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2478
2419
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2479
|
-
return i.
|
|
2420
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2480
2421
|
};
|
|
2481
2422
|
l.$arity = 2;
|
|
2482
2423
|
return l;
|
|
2483
2424
|
}
|
|
2484
2425
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2485
|
-
this.
|
|
2486
|
-
this.
|
|
2487
|
-
this.
|
|
2426
|
+
this.ya2_1 = this$0;
|
|
2427
|
+
this.za2_1 = $playerId;
|
|
2428
|
+
this.aa3_1 = $roomId;
|
|
2488
2429
|
CoroutineImpl.call(this, resultContinuation);
|
|
2489
2430
|
}
|
|
2490
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2491
|
-
var tmp = this.
|
|
2431
|
+
protoOf(GameServer$playerLive$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2432
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2492
2433
|
tmp.u8_1 = Unit_instance;
|
|
2493
2434
|
tmp.v8_1 = null;
|
|
2494
2435
|
return tmp.a9();
|
|
2495
2436
|
};
|
|
2496
2437
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2497
2438
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2498
|
-
return this.
|
|
2439
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2499
2440
|
};
|
|
2500
2441
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2501
2442
|
var suspendResult = this.u8_1;
|
|
@@ -2504,16 +2445,16 @@
|
|
|
2504
2445
|
var tmp = this.s8_1;
|
|
2505
2446
|
if (tmp === 0) {
|
|
2506
2447
|
this.t8_1 = 1;
|
|
2507
|
-
if (get_isFinished(this.
|
|
2448
|
+
if (get_isFinished(this.ca3_1.state) || get_isFinishing(this.ca3_1.state)) {
|
|
2508
2449
|
return Unit_instance;
|
|
2509
2450
|
}
|
|
2510
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2511
|
-
this.
|
|
2451
|
+
if (!_get_serverReduxConfig__rprcrm(this.ya2_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.ca3_1.state) || !this.ya2_1.x66().e6s())) {
|
|
2452
|
+
this.ya2_1.i4q().v('GameEngine_API', 'playerLive: ' + this.za2_1 + ' before game is created');
|
|
2512
2453
|
return Unit_instance;
|
|
2513
2454
|
}
|
|
2514
|
-
var tmp_0 = this.
|
|
2455
|
+
var tmp_0 = this.ca3_1.dispatch;
|
|
2515
2456
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2516
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2457
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.za2_1, this.aa3_1));
|
|
2517
2458
|
return Unit_instance;
|
|
2518
2459
|
} else if (tmp === 1) {
|
|
2519
2460
|
throw this.v8_1;
|
|
@@ -2524,36 +2465,36 @@
|
|
|
2524
2465
|
}
|
|
2525
2466
|
while (true);
|
|
2526
2467
|
};
|
|
2527
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2528
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2529
|
-
i.
|
|
2530
|
-
i.
|
|
2468
|
+
protoOf(GameServer$playerLive$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2469
|
+
var i = new GameServer$playerLive$slambda(this.ya2_1, this.za2_1, this.aa3_1, completion);
|
|
2470
|
+
i.ba3_1 = $this$dispatchAsync;
|
|
2471
|
+
i.ca3_1 = store;
|
|
2531
2472
|
return i;
|
|
2532
2473
|
};
|
|
2533
2474
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2534
2475
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2535
2476
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2536
|
-
return i.
|
|
2477
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2537
2478
|
};
|
|
2538
2479
|
l.$arity = 2;
|
|
2539
2480
|
return l;
|
|
2540
2481
|
}
|
|
2541
2482
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2542
|
-
this.
|
|
2543
|
-
this.
|
|
2544
|
-
this.
|
|
2545
|
-
this.
|
|
2483
|
+
this.la3_1 = this$0;
|
|
2484
|
+
this.ma3_1 = $playerId;
|
|
2485
|
+
this.na3_1 = $permanently;
|
|
2486
|
+
this.oa3_1 = $roomId;
|
|
2546
2487
|
CoroutineImpl.call(this, resultContinuation);
|
|
2547
2488
|
}
|
|
2548
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2549
|
-
var tmp = this.
|
|
2489
|
+
protoOf(GameServer$playerLeft$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2490
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2550
2491
|
tmp.u8_1 = Unit_instance;
|
|
2551
2492
|
tmp.v8_1 = null;
|
|
2552
2493
|
return tmp.a9();
|
|
2553
2494
|
};
|
|
2554
2495
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2555
2496
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2556
|
-
return this.
|
|
2497
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2557
2498
|
};
|
|
2558
2499
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2559
2500
|
var suspendResult = this.u8_1;
|
|
@@ -2562,22 +2503,22 @@
|
|
|
2562
2503
|
var tmp = this.s8_1;
|
|
2563
2504
|
if (tmp === 0) {
|
|
2564
2505
|
this.t8_1 = 1;
|
|
2565
|
-
if (get_isFinished(this.
|
|
2506
|
+
if (get_isFinished(this.qa3_1.state) || get_isFinishing(this.qa3_1.state)) {
|
|
2566
2507
|
return Unit_instance;
|
|
2567
2508
|
}
|
|
2568
|
-
if (!get_isCreated(this.
|
|
2569
|
-
this.
|
|
2509
|
+
if (!get_isCreated(this.qa3_1.state) || !this.la3_1.x66().e6s()) {
|
|
2510
|
+
this.la3_1.i4q().w('GameEngine_API', 'playerLeft: ' + this.ma3_1 + ' before game is created');
|
|
2570
2511
|
return Unit_instance;
|
|
2571
2512
|
}
|
|
2572
|
-
var tmp_0 = this.
|
|
2513
|
+
var tmp_0 = this.qa3_1.dispatch;
|
|
2573
2514
|
var tmp_1;
|
|
2574
|
-
if (this.
|
|
2515
|
+
if (this.na3_1) {
|
|
2575
2516
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2576
2517
|
} else {
|
|
2577
2518
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2578
2519
|
}
|
|
2579
2520
|
var tmp0_connectionState = tmp_1;
|
|
2580
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2521
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ma3_1, this.oa3_1));
|
|
2581
2522
|
return Unit_instance;
|
|
2582
2523
|
} else if (tmp === 1) {
|
|
2583
2524
|
throw this.v8_1;
|
|
@@ -2588,39 +2529,39 @@
|
|
|
2588
2529
|
}
|
|
2589
2530
|
while (true);
|
|
2590
2531
|
};
|
|
2591
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2592
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2593
|
-
i.
|
|
2594
|
-
i.
|
|
2532
|
+
protoOf(GameServer$playerLeft$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2533
|
+
var i = new GameServer$playerLeft$slambda(this.la3_1, this.ma3_1, this.na3_1, this.oa3_1, completion);
|
|
2534
|
+
i.pa3_1 = $this$dispatchAsync;
|
|
2535
|
+
i.qa3_1 = store;
|
|
2595
2536
|
return i;
|
|
2596
2537
|
};
|
|
2597
2538
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2598
2539
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2599
2540
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2600
|
-
return i.
|
|
2541
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2601
2542
|
};
|
|
2602
2543
|
l.$arity = 2;
|
|
2603
2544
|
return l;
|
|
2604
2545
|
}
|
|
2605
2546
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2606
|
-
this.
|
|
2607
|
-
this.
|
|
2608
|
-
this.
|
|
2609
|
-
this.
|
|
2610
|
-
this.
|
|
2611
|
-
this.
|
|
2612
|
-
this.
|
|
2547
|
+
this.za3_1 = $usersArray;
|
|
2548
|
+
this.aa4_1 = this$0;
|
|
2549
|
+
this.ba4_1 = $config;
|
|
2550
|
+
this.ca4_1 = $roomId;
|
|
2551
|
+
this.da4_1 = $transition;
|
|
2552
|
+
this.ea4_1 = $gameCreatorId;
|
|
2553
|
+
this.fa4_1 = $spectators;
|
|
2613
2554
|
CoroutineImpl.call(this, resultContinuation);
|
|
2614
2555
|
}
|
|
2615
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2616
|
-
var tmp = this.
|
|
2556
|
+
protoOf(GameServer$roomOnCreate$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2557
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2617
2558
|
tmp.u8_1 = Unit_instance;
|
|
2618
2559
|
tmp.v8_1 = null;
|
|
2619
2560
|
return tmp.a9();
|
|
2620
2561
|
};
|
|
2621
2562
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2622
2563
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2623
|
-
return this.
|
|
2564
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2624
2565
|
};
|
|
2625
2566
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2626
2567
|
var suspendResult = this.u8_1;
|
|
@@ -2629,18 +2570,18 @@
|
|
|
2629
2570
|
var tmp = this.s8_1;
|
|
2630
2571
|
if (tmp === 0) {
|
|
2631
2572
|
this.t8_1 = 1;
|
|
2632
|
-
var users = toList(this.
|
|
2633
|
-
if (!validatePlayerCount(this.
|
|
2634
|
-
this.
|
|
2573
|
+
var users = toList(this.za3_1);
|
|
2574
|
+
if (!validatePlayerCount(this.aa4_1, this.ba4_1, users, this.ca4_1)) {
|
|
2575
|
+
this.ha4_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.aa4_1.table.isGameFinished, this.aa4_1.table));
|
|
2635
2576
|
return Unit_instance;
|
|
2636
2577
|
}
|
|
2637
|
-
var orderedUsers = orderUsers(this.
|
|
2638
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2639
|
-
var tmp_0 = this.
|
|
2578
|
+
var orderedUsers = orderUsers(this.aa4_1, users, this.ba4_1, this.da4_1);
|
|
2579
|
+
var gameCreatorUser = getPlayer(users, this.ea4_1);
|
|
2580
|
+
var tmp_0 = this.ha4_1.dispatch;
|
|
2640
2581
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2641
2582
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2642
|
-
var tmp2_spectators = toList(this.
|
|
2643
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2583
|
+
var tmp2_spectators = toList(this.fa4_1);
|
|
2584
|
+
tmp_0(new StartGameMechanicAction(this.ba4_1, this.ca4_1, tmp0_version, this.ea4_1, tmp1_users, VOID, tmp2_spectators));
|
|
2644
2585
|
return Unit_instance;
|
|
2645
2586
|
} else if (tmp === 1) {
|
|
2646
2587
|
throw this.v8_1;
|
|
@@ -2651,39 +2592,39 @@
|
|
|
2651
2592
|
}
|
|
2652
2593
|
while (true);
|
|
2653
2594
|
};
|
|
2654
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2655
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2656
|
-
i.
|
|
2657
|
-
i.
|
|
2595
|
+
protoOf(GameServer$roomOnCreate$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2596
|
+
var i = new GameServer$roomOnCreate$slambda(this.za3_1, this.aa4_1, this.ba4_1, this.ca4_1, this.da4_1, this.ea4_1, this.fa4_1, completion);
|
|
2597
|
+
i.ga4_1 = $this$dispatchAsync;
|
|
2598
|
+
i.ha4_1 = store;
|
|
2658
2599
|
return i;
|
|
2659
2600
|
};
|
|
2660
2601
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2661
2602
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2662
2603
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2663
|
-
return i.
|
|
2604
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2664
2605
|
};
|
|
2665
2606
|
l.$arity = 2;
|
|
2666
2607
|
return l;
|
|
2667
2608
|
}
|
|
2668
2609
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2669
|
-
this.
|
|
2610
|
+
this.ia4_1 = $playerId;
|
|
2670
2611
|
}
|
|
2671
2612
|
protoOf(GameServer$preserveTeams$previousTeams$1).z65 = function () {
|
|
2672
|
-
return this.
|
|
2613
|
+
return this.ia4_1;
|
|
2673
2614
|
};
|
|
2674
2615
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2675
|
-
this.
|
|
2616
|
+
this.ra4_1 = $state;
|
|
2676
2617
|
CoroutineImpl.call(this, resultContinuation);
|
|
2677
2618
|
}
|
|
2678
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2679
|
-
var tmp = this.
|
|
2619
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ua4 = function ($this$dispatchAwait, store, $completion) {
|
|
2620
|
+
var tmp = this.da2($this$dispatchAwait, store, $completion);
|
|
2680
2621
|
tmp.u8_1 = Unit_instance;
|
|
2681
2622
|
tmp.v8_1 = null;
|
|
2682
2623
|
return tmp.a9();
|
|
2683
2624
|
};
|
|
2684
2625
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2685
2626
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2686
|
-
return this.
|
|
2627
|
+
return this.ua4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2687
2628
|
};
|
|
2688
2629
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2689
2630
|
var suspendResult = this.u8_1;
|
|
@@ -2692,10 +2633,10 @@
|
|
|
2692
2633
|
var tmp = this.s8_1;
|
|
2693
2634
|
if (tmp === 0) {
|
|
2694
2635
|
this.t8_1 = 1;
|
|
2695
|
-
if (get_isCreating(this.
|
|
2696
|
-
var tmp_0 = this.
|
|
2636
|
+
if (get_isCreating(this.ta4_1.state)) {
|
|
2637
|
+
var tmp_0 = this.ta4_1.dispatch;
|
|
2697
2638
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2698
|
-
var tmp1_table = this.
|
|
2639
|
+
var tmp1_table = this.ra4_1.table;
|
|
2699
2640
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2700
2641
|
return true;
|
|
2701
2642
|
}
|
|
@@ -2709,34 +2650,34 @@
|
|
|
2709
2650
|
}
|
|
2710
2651
|
while (true);
|
|
2711
2652
|
};
|
|
2712
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2713
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2714
|
-
i.
|
|
2715
|
-
i.
|
|
2653
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).da2 = function ($this$dispatchAwait, store, completion) {
|
|
2654
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ra4_1, completion);
|
|
2655
|
+
i.sa4_1 = $this$dispatchAwait;
|
|
2656
|
+
i.ta4_1 = store;
|
|
2716
2657
|
return i;
|
|
2717
2658
|
};
|
|
2718
2659
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2719
2660
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2720
2661
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2721
|
-
return i.
|
|
2662
|
+
return i.ua4($this$dispatchAwait, store, $completion);
|
|
2722
2663
|
};
|
|
2723
2664
|
l.$arity = 2;
|
|
2724
2665
|
return l;
|
|
2725
2666
|
}
|
|
2726
2667
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2727
|
-
this.
|
|
2728
|
-
this.
|
|
2668
|
+
this.da5_1 = $isCreated;
|
|
2669
|
+
this.ea5_1 = $state;
|
|
2729
2670
|
CoroutineImpl.call(this, resultContinuation);
|
|
2730
2671
|
}
|
|
2731
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2732
|
-
var tmp = this.
|
|
2672
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2673
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2733
2674
|
tmp.u8_1 = Unit_instance;
|
|
2734
2675
|
tmp.v8_1 = null;
|
|
2735
2676
|
return tmp.a9();
|
|
2736
2677
|
};
|
|
2737
2678
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2738
2679
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2739
|
-
return this.
|
|
2680
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2740
2681
|
};
|
|
2741
2682
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2742
2683
|
var suspendResult = this.u8_1;
|
|
@@ -2747,7 +2688,7 @@
|
|
|
2747
2688
|
case 0:
|
|
2748
2689
|
this.t8_1 = 3;
|
|
2749
2690
|
this.s8_1 = 1;
|
|
2750
|
-
suspendResult = this.
|
|
2691
|
+
suspendResult = this.da5_1.a1u(this);
|
|
2751
2692
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2752
2693
|
return suspendResult;
|
|
2753
2694
|
}
|
|
@@ -2755,10 +2696,10 @@
|
|
|
2755
2696
|
continue $sm;
|
|
2756
2697
|
case 1:
|
|
2757
2698
|
if (suspendResult) {
|
|
2758
|
-
var _iterator__ex2g4s = this.
|
|
2699
|
+
var _iterator__ex2g4s = this.ea5_1.actions.l();
|
|
2759
2700
|
while (_iterator__ex2g4s.m()) {
|
|
2760
2701
|
var element = _iterator__ex2g4s.n();
|
|
2761
|
-
this.
|
|
2702
|
+
this.ga5_1.dispatch(element);
|
|
2762
2703
|
}
|
|
2763
2704
|
this.s8_1 = 2;
|
|
2764
2705
|
continue $sm;
|
|
@@ -2783,35 +2724,35 @@
|
|
|
2783
2724
|
}
|
|
2784
2725
|
while (true);
|
|
2785
2726
|
};
|
|
2786
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2787
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2788
|
-
i.
|
|
2789
|
-
i.
|
|
2727
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2728
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.da5_1, this.ea5_1, completion);
|
|
2729
|
+
i.fa5_1 = $this$dispatchAsync;
|
|
2730
|
+
i.ga5_1 = store;
|
|
2790
2731
|
return i;
|
|
2791
2732
|
};
|
|
2792
2733
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2793
2734
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2794
2735
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2795
|
-
return i.
|
|
2736
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2796
2737
|
};
|
|
2797
2738
|
l.$arity = 2;
|
|
2798
2739
|
return l;
|
|
2799
2740
|
}
|
|
2800
2741
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2803
|
-
this.
|
|
2742
|
+
this.pa5_1 = $tableLite;
|
|
2743
|
+
this.qa5_1 = $roomId;
|
|
2744
|
+
this.ra5_1 = this$0;
|
|
2804
2745
|
CoroutineImpl.call(this, resultContinuation);
|
|
2805
2746
|
}
|
|
2806
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2807
|
-
var tmp = this.
|
|
2747
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2748
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2808
2749
|
tmp.u8_1 = Unit_instance;
|
|
2809
2750
|
tmp.v8_1 = null;
|
|
2810
2751
|
return tmp.a9();
|
|
2811
2752
|
};
|
|
2812
2753
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2813
2754
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2814
|
-
return this.
|
|
2755
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2815
2756
|
};
|
|
2816
2757
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2817
2758
|
var suspendResult = this.u8_1;
|
|
@@ -2820,9 +2761,9 @@
|
|
|
2820
2761
|
var tmp = this.s8_1;
|
|
2821
2762
|
if (tmp === 0) {
|
|
2822
2763
|
this.t8_1 = 1;
|
|
2823
|
-
var tmp_0 = this.
|
|
2824
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2825
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2764
|
+
var tmp_0 = this.ta5_1.dispatch;
|
|
2765
|
+
var tmp0_reason = new RestartRoundReason(this.pa5_1.gameInfo.round.roundNumber);
|
|
2766
|
+
var tmp1_table = Companion_instance_0.restartRound(this.qa5_1, _get_idsProvider__fnfajc(this.ra5_1).h6e(), get_versionOrDefault(GameEngineConfig_instance), this.pa5_1);
|
|
2826
2767
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2827
2768
|
return Unit_instance;
|
|
2828
2769
|
} else if (tmp === 1) {
|
|
@@ -2834,16 +2775,16 @@
|
|
|
2834
2775
|
}
|
|
2835
2776
|
while (true);
|
|
2836
2777
|
};
|
|
2837
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2838
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2839
|
-
i.
|
|
2840
|
-
i.
|
|
2778
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2779
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.pa5_1, this.qa5_1, this.ra5_1, completion);
|
|
2780
|
+
i.sa5_1 = $this$dispatchAsync;
|
|
2781
|
+
i.ta5_1 = store;
|
|
2841
2782
|
return i;
|
|
2842
2783
|
};
|
|
2843
2784
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2844
2785
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2845
2786
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2846
|
-
return i.
|
|
2787
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2847
2788
|
};
|
|
2848
2789
|
l.$arity = 2;
|
|
2849
2790
|
return l;
|
|
@@ -2851,15 +2792,15 @@
|
|
|
2851
2792
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2852
2793
|
CoroutineImpl.call(this, resultContinuation);
|
|
2853
2794
|
}
|
|
2854
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2855
|
-
var tmp = this.
|
|
2795
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2796
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2856
2797
|
tmp.u8_1 = Unit_instance;
|
|
2857
2798
|
tmp.v8_1 = null;
|
|
2858
2799
|
return tmp.a9();
|
|
2859
2800
|
};
|
|
2860
2801
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2861
2802
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2862
|
-
return this.
|
|
2803
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2863
2804
|
};
|
|
2864
2805
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2865
2806
|
var suspendResult = this.u8_1;
|
|
@@ -2868,7 +2809,7 @@
|
|
|
2868
2809
|
var tmp = this.s8_1;
|
|
2869
2810
|
if (tmp === 0) {
|
|
2870
2811
|
this.t8_1 = 1;
|
|
2871
|
-
this.
|
|
2812
|
+
this.da6_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2872
2813
|
return Unit_instance;
|
|
2873
2814
|
} else if (tmp === 1) {
|
|
2874
2815
|
throw this.v8_1;
|
|
@@ -2879,33 +2820,33 @@
|
|
|
2879
2820
|
}
|
|
2880
2821
|
while (true);
|
|
2881
2822
|
};
|
|
2882
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2823
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2883
2824
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2884
|
-
i.
|
|
2885
|
-
i.
|
|
2825
|
+
i.ca6_1 = $this$dispatchAsync;
|
|
2826
|
+
i.da6_1 = store;
|
|
2886
2827
|
return i;
|
|
2887
2828
|
};
|
|
2888
2829
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2889
2830
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2890
2831
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2891
|
-
return i.
|
|
2832
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2892
2833
|
};
|
|
2893
2834
|
l.$arity = 2;
|
|
2894
2835
|
return l;
|
|
2895
2836
|
}
|
|
2896
2837
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2897
|
-
this.
|
|
2838
|
+
this.ma6_1 = $spectators;
|
|
2898
2839
|
CoroutineImpl.call(this, resultContinuation);
|
|
2899
2840
|
}
|
|
2900
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2901
|
-
var tmp = this.
|
|
2841
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2842
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2902
2843
|
tmp.u8_1 = Unit_instance;
|
|
2903
2844
|
tmp.v8_1 = null;
|
|
2904
2845
|
return tmp.a9();
|
|
2905
2846
|
};
|
|
2906
2847
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2907
2848
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2908
|
-
return this.
|
|
2849
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2909
2850
|
};
|
|
2910
2851
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2911
2852
|
var suspendResult = this.u8_1;
|
|
@@ -2914,7 +2855,7 @@
|
|
|
2914
2855
|
var tmp = this.s8_1;
|
|
2915
2856
|
if (tmp === 0) {
|
|
2916
2857
|
this.t8_1 = 1;
|
|
2917
|
-
this.
|
|
2858
|
+
this.oa6_1.dispatch(new AddSpectatorsAction(toList(this.ma6_1)));
|
|
2918
2859
|
return Unit_instance;
|
|
2919
2860
|
} else if (tmp === 1) {
|
|
2920
2861
|
throw this.v8_1;
|
|
@@ -2925,33 +2866,33 @@
|
|
|
2925
2866
|
}
|
|
2926
2867
|
while (true);
|
|
2927
2868
|
};
|
|
2928
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2929
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2930
|
-
i.
|
|
2931
|
-
i.
|
|
2869
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2870
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ma6_1, completion);
|
|
2871
|
+
i.na6_1 = $this$dispatchAsync;
|
|
2872
|
+
i.oa6_1 = store;
|
|
2932
2873
|
return i;
|
|
2933
2874
|
};
|
|
2934
2875
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2935
2876
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2936
2877
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2937
|
-
return i.
|
|
2878
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2938
2879
|
};
|
|
2939
2880
|
l.$arity = 2;
|
|
2940
2881
|
return l;
|
|
2941
2882
|
}
|
|
2942
2883
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2943
|
-
this.
|
|
2884
|
+
this.xa6_1 = $spectators;
|
|
2944
2885
|
CoroutineImpl.call(this, resultContinuation);
|
|
2945
2886
|
}
|
|
2946
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2947
|
-
var tmp = this.
|
|
2887
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2888
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2948
2889
|
tmp.u8_1 = Unit_instance;
|
|
2949
2890
|
tmp.v8_1 = null;
|
|
2950
2891
|
return tmp.a9();
|
|
2951
2892
|
};
|
|
2952
2893
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2953
2894
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2954
|
-
return this.
|
|
2895
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2955
2896
|
};
|
|
2956
2897
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2957
2898
|
var suspendResult = this.u8_1;
|
|
@@ -2960,7 +2901,7 @@
|
|
|
2960
2901
|
var tmp = this.s8_1;
|
|
2961
2902
|
if (tmp === 0) {
|
|
2962
2903
|
this.t8_1 = 1;
|
|
2963
|
-
this.
|
|
2904
|
+
this.za6_1.dispatch(new RemoveSpectatorsAction(toList(this.xa6_1)));
|
|
2964
2905
|
return Unit_instance;
|
|
2965
2906
|
} else if (tmp === 1) {
|
|
2966
2907
|
throw this.v8_1;
|
|
@@ -2971,34 +2912,34 @@
|
|
|
2971
2912
|
}
|
|
2972
2913
|
while (true);
|
|
2973
2914
|
};
|
|
2974
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2975
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2976
|
-
i.
|
|
2977
|
-
i.
|
|
2915
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2916
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.xa6_1, completion);
|
|
2917
|
+
i.ya6_1 = $this$dispatchAsync;
|
|
2918
|
+
i.za6_1 = store;
|
|
2978
2919
|
return i;
|
|
2979
2920
|
};
|
|
2980
2921
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2981
2922
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2982
2923
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2983
|
-
return i.
|
|
2924
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
2984
2925
|
};
|
|
2985
2926
|
l.$arity = 2;
|
|
2986
2927
|
return l;
|
|
2987
2928
|
}
|
|
2988
2929
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2930
|
+
this.ia7_1 = $playerId;
|
|
2931
|
+
this.ja7_1 = this$0;
|
|
2991
2932
|
CoroutineImpl.call(this, resultContinuation);
|
|
2992
2933
|
}
|
|
2993
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2994
|
-
var tmp = this.
|
|
2934
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2935
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
2995
2936
|
tmp.u8_1 = Unit_instance;
|
|
2996
2937
|
tmp.v8_1 = null;
|
|
2997
2938
|
return tmp.a9();
|
|
2998
2939
|
};
|
|
2999
2940
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
3000
2941
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3001
|
-
return this.
|
|
2942
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3002
2943
|
};
|
|
3003
2944
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
3004
2945
|
var suspendResult = this.u8_1;
|
|
@@ -3007,14 +2948,14 @@
|
|
|
3007
2948
|
var tmp = this.s8_1;
|
|
3008
2949
|
if (tmp === 0) {
|
|
3009
2950
|
this.t8_1 = 1;
|
|
3010
|
-
var table = this.
|
|
3011
|
-
var player = getPlayer(table.players, this.
|
|
2951
|
+
var table = this.la7_1.state.c6s();
|
|
2952
|
+
var player = getPlayer(table.players, this.ia7_1);
|
|
3012
2953
|
if (player.q6v_1.d69().n67_1.isLive) {
|
|
3013
|
-
this.
|
|
2954
|
+
this.la7_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ja7_1).ma7(player, table));
|
|
3014
2955
|
} else {
|
|
3015
|
-
var tmp_0 = this.
|
|
2956
|
+
var tmp_0 = this.la7_1.dispatch;
|
|
3016
2957
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
3017
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2958
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ia7_1));
|
|
3018
2959
|
}
|
|
3019
2960
|
return Unit_instance;
|
|
3020
2961
|
} else if (tmp === 1) {
|
|
@@ -3026,34 +2967,34 @@
|
|
|
3026
2967
|
}
|
|
3027
2968
|
while (true);
|
|
3028
2969
|
};
|
|
3029
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
3030
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
3031
|
-
i.
|
|
3032
|
-
i.
|
|
2970
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
2971
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ia7_1, this.ja7_1, completion);
|
|
2972
|
+
i.ka7_1 = $this$dispatchAsync;
|
|
2973
|
+
i.la7_1 = store;
|
|
3033
2974
|
return i;
|
|
3034
2975
|
};
|
|
3035
2976
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
3036
2977
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
3037
2978
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3038
|
-
return i.
|
|
2979
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
3039
2980
|
};
|
|
3040
2981
|
l.$arity = 2;
|
|
3041
2982
|
return l;
|
|
3042
2983
|
}
|
|
3043
2984
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
3044
|
-
this.
|
|
3045
|
-
this.
|
|
2985
|
+
this.va7_1 = this$0;
|
|
2986
|
+
this.wa7_1 = $newRid;
|
|
3046
2987
|
CoroutineImpl.call(this, resultContinuation);
|
|
3047
2988
|
}
|
|
3048
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3049
|
-
var tmp = this.
|
|
2989
|
+
protoOf(GameServer$roomOnDelete$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
2990
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
3050
2991
|
tmp.u8_1 = Unit_instance;
|
|
3051
2992
|
tmp.v8_1 = null;
|
|
3052
2993
|
return tmp.a9();
|
|
3053
2994
|
};
|
|
3054
2995
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
3055
2996
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3056
|
-
return this.
|
|
2997
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3057
2998
|
};
|
|
3058
2999
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
3059
3000
|
var suspendResult = this.u8_1;
|
|
@@ -3062,10 +3003,10 @@
|
|
|
3062
3003
|
var tmp = this.s8_1;
|
|
3063
3004
|
if (tmp === 0) {
|
|
3064
3005
|
this.t8_1 = 1;
|
|
3065
|
-
var it = this.
|
|
3006
|
+
var it = this.va7_1.x66().c6r_1;
|
|
3066
3007
|
var tmp_0;
|
|
3067
3008
|
if (it == null) {
|
|
3068
|
-
this.
|
|
3009
|
+
this.va7_1.i4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3069
3010
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3070
3011
|
} else {
|
|
3071
3012
|
tmp_0 = it;
|
|
@@ -3074,15 +3015,15 @@
|
|
|
3074
3015
|
var gameTransition = terminationState.t93_1;
|
|
3075
3016
|
var tmp_1;
|
|
3076
3017
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3077
|
-
var tmp0_elvis_lhs = this.
|
|
3018
|
+
var tmp0_elvis_lhs = this.wa7_1;
|
|
3078
3019
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3079
3020
|
} else {
|
|
3080
3021
|
tmp_1 = gameTransition;
|
|
3081
3022
|
}
|
|
3082
3023
|
var transition = tmp_1;
|
|
3083
|
-
var tmp_2 = this.
|
|
3024
|
+
var tmp_2 = this.ya7_1.dispatch;
|
|
3084
3025
|
var tmp0_reason = terminationState.s93_1;
|
|
3085
|
-
var tmp1_isGameFinished = this.
|
|
3026
|
+
var tmp1_isGameFinished = this.va7_1.x66().c6s().isGameFinished;
|
|
3086
3027
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3087
3028
|
return Unit_instance;
|
|
3088
3029
|
} else if (tmp === 1) {
|
|
@@ -3094,33 +3035,33 @@
|
|
|
3094
3035
|
}
|
|
3095
3036
|
while (true);
|
|
3096
3037
|
};
|
|
3097
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3098
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3099
|
-
i.
|
|
3100
|
-
i.
|
|
3038
|
+
protoOf(GameServer$roomOnDelete$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
3039
|
+
var i = new GameServer$roomOnDelete$slambda(this.va7_1, this.wa7_1, completion);
|
|
3040
|
+
i.xa7_1 = $this$dispatchAsync;
|
|
3041
|
+
i.ya7_1 = store;
|
|
3101
3042
|
return i;
|
|
3102
3043
|
};
|
|
3103
3044
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3104
3045
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3105
3046
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3106
|
-
return i.
|
|
3047
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
3107
3048
|
};
|
|
3108
3049
|
l.$arity = 2;
|
|
3109
3050
|
return l;
|
|
3110
3051
|
}
|
|
3111
3052
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3112
|
-
this.
|
|
3053
|
+
this.ha8_1 = $enabled;
|
|
3113
3054
|
CoroutineImpl.call(this, resultContinuation);
|
|
3114
3055
|
}
|
|
3115
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3116
|
-
var tmp = this.
|
|
3056
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
3057
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
3117
3058
|
tmp.u8_1 = Unit_instance;
|
|
3118
3059
|
tmp.v8_1 = null;
|
|
3119
3060
|
return tmp.a9();
|
|
3120
3061
|
};
|
|
3121
3062
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
3122
3063
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3123
|
-
return this.
|
|
3064
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3124
3065
|
};
|
|
3125
3066
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
3126
3067
|
var suspendResult = this.u8_1;
|
|
@@ -3129,7 +3070,7 @@
|
|
|
3129
3070
|
var tmp = this.s8_1;
|
|
3130
3071
|
if (tmp === 0) {
|
|
3131
3072
|
this.t8_1 = 1;
|
|
3132
|
-
this.
|
|
3073
|
+
this.ja8_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ja8_1.state).config.copy(VOID, !this.ha8_1)));
|
|
3133
3074
|
return Unit_instance;
|
|
3134
3075
|
} else if (tmp === 1) {
|
|
3135
3076
|
throw this.v8_1;
|
|
@@ -3140,35 +3081,35 @@
|
|
|
3140
3081
|
}
|
|
3141
3082
|
while (true);
|
|
3142
3083
|
};
|
|
3143
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3144
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3145
|
-
i.
|
|
3146
|
-
i.
|
|
3084
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
3085
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ha8_1, completion);
|
|
3086
|
+
i.ia8_1 = $this$dispatchAsync;
|
|
3087
|
+
i.ja8_1 = store;
|
|
3147
3088
|
return i;
|
|
3148
3089
|
};
|
|
3149
3090
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3150
3091
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3151
3092
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3152
|
-
return i.
|
|
3093
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
3153
3094
|
};
|
|
3154
3095
|
l.$arity = 2;
|
|
3155
3096
|
return l;
|
|
3156
3097
|
}
|
|
3157
3098
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3158
|
-
this.
|
|
3159
|
-
this.
|
|
3160
|
-
this.
|
|
3099
|
+
this.sa8_1 = $reason;
|
|
3100
|
+
this.ta8_1 = this$0;
|
|
3101
|
+
this.ua8_1 = $roomId;
|
|
3161
3102
|
CoroutineImpl.call(this, resultContinuation);
|
|
3162
3103
|
}
|
|
3163
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3164
|
-
var tmp = this.
|
|
3104
|
+
protoOf(GameServer$shutdown$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
3105
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
3165
3106
|
tmp.u8_1 = Unit_instance;
|
|
3166
3107
|
tmp.v8_1 = null;
|
|
3167
3108
|
return tmp.a9();
|
|
3168
3109
|
};
|
|
3169
3110
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
3170
3111
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3171
|
-
return this.
|
|
3112
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3172
3113
|
};
|
|
3173
3114
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
3174
3115
|
var suspendResult = this.u8_1;
|
|
@@ -3177,11 +3118,11 @@
|
|
|
3177
3118
|
var tmp = this.s8_1;
|
|
3178
3119
|
if (tmp === 0) {
|
|
3179
3120
|
this.t8_1 = 1;
|
|
3180
|
-
var state = this.
|
|
3121
|
+
var state = this.wa8_1.store.state;
|
|
3181
3122
|
if (state.e6s()) {
|
|
3182
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3123
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.sa8_1, get_serverShutdownReasonMapping());
|
|
3183
3124
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3184
|
-
var tmp_0 = this.
|
|
3125
|
+
var tmp_0 = this.wa8_1.dispatch;
|
|
3185
3126
|
var tmp_1 = Companion_instance;
|
|
3186
3127
|
var tmp_2;
|
|
3187
3128
|
switch (shutdownReason.q2_1) {
|
|
@@ -3195,10 +3136,10 @@
|
|
|
3195
3136
|
noWhenBranchMatchedException();
|
|
3196
3137
|
break;
|
|
3197
3138
|
}
|
|
3198
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3139
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ta8_1.table.isGameFinished, this.ta8_1.table));
|
|
3199
3140
|
} else {
|
|
3200
|
-
this.
|
|
3201
|
-
var tmp_3 = this.
|
|
3141
|
+
this.ta8_1.i4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ua8_1);
|
|
3142
|
+
var tmp_3 = this.wa8_1.dispatch;
|
|
3202
3143
|
var tmp2_safe_receiver = state.c6r_1;
|
|
3203
3144
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t93_1));
|
|
3204
3145
|
}
|
|
@@ -3212,37 +3153,37 @@
|
|
|
3212
3153
|
}
|
|
3213
3154
|
while (true);
|
|
3214
3155
|
};
|
|
3215
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3216
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3217
|
-
i.
|
|
3218
|
-
i.
|
|
3156
|
+
protoOf(GameServer$shutdown$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
3157
|
+
var i = new GameServer$shutdown$slambda(this.sa8_1, this.ta8_1, this.ua8_1, completion);
|
|
3158
|
+
i.va8_1 = $this$dispatchAsync;
|
|
3159
|
+
i.wa8_1 = store;
|
|
3219
3160
|
return i;
|
|
3220
3161
|
};
|
|
3221
3162
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3222
3163
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3223
3164
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3224
|
-
return i.
|
|
3165
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
3225
3166
|
};
|
|
3226
3167
|
l.$arity = 2;
|
|
3227
3168
|
return l;
|
|
3228
3169
|
}
|
|
3229
3170
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3230
|
-
this.
|
|
3231
|
-
this.
|
|
3232
|
-
this.
|
|
3233
|
-
this.
|
|
3234
|
-
this.
|
|
3171
|
+
this.fa9_1 = $botChatInteractor;
|
|
3172
|
+
this.ga9_1 = $message;
|
|
3173
|
+
this.ha9_1 = $fromPlayerId;
|
|
3174
|
+
this.ia9_1 = $onMessageGenerated;
|
|
3175
|
+
this.ja9_1 = this$0;
|
|
3235
3176
|
CoroutineImpl.call(this, resultContinuation);
|
|
3236
3177
|
}
|
|
3237
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3238
|
-
var tmp = this.
|
|
3178
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ca2 = function ($this$dispatchAsync, store, $completion) {
|
|
3179
|
+
var tmp = this.da2($this$dispatchAsync, store, $completion);
|
|
3239
3180
|
tmp.u8_1 = Unit_instance;
|
|
3240
3181
|
tmp.v8_1 = null;
|
|
3241
3182
|
return tmp.a9();
|
|
3242
3183
|
};
|
|
3243
3184
|
protoOf(GameServer$handlePlayerMessage$slambda).j9 = function (p1, p2, $completion) {
|
|
3244
3185
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3245
|
-
return this.
|
|
3186
|
+
return this.ca2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3246
3187
|
};
|
|
3247
3188
|
protoOf(GameServer$handlePlayerMessage$slambda).a9 = function () {
|
|
3248
3189
|
var suspendResult = this.u8_1;
|
|
@@ -3252,18 +3193,18 @@
|
|
|
3252
3193
|
switch (tmp) {
|
|
3253
3194
|
case 0:
|
|
3254
3195
|
this.t8_1 = 3;
|
|
3255
|
-
var state = this.
|
|
3196
|
+
var state = this.la9_1.store.state;
|
|
3256
3197
|
if (state.e6s()) {
|
|
3257
3198
|
var tmp0_table = state.c6s();
|
|
3258
3199
|
this.s8_1 = 1;
|
|
3259
|
-
suspendResult = this.
|
|
3200
|
+
suspendResult = this.fa9_1.n8s(tmp0_table, this.ga9_1, this.ha9_1, VOID, this);
|
|
3260
3201
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3261
3202
|
return suspendResult;
|
|
3262
3203
|
}
|
|
3263
3204
|
continue $sm;
|
|
3264
3205
|
} else {
|
|
3265
|
-
this.
|
|
3266
|
-
var tmp_0 = this.
|
|
3206
|
+
this.ja9_1.i4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.ha9_1);
|
|
3207
|
+
var tmp_0 = this.la9_1.dispatch;
|
|
3267
3208
|
var tmp1_safe_receiver = state.c6r_1;
|
|
3268
3209
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t93_1));
|
|
3269
3210
|
this.s8_1 = 2;
|
|
@@ -3273,7 +3214,7 @@
|
|
|
3273
3214
|
case 1:
|
|
3274
3215
|
var message = suspendResult;
|
|
3275
3216
|
if (!(message == null)) {
|
|
3276
|
-
this.
|
|
3217
|
+
this.ia9_1(message);
|
|
3277
3218
|
}
|
|
3278
3219
|
|
|
3279
3220
|
this.s8_1 = 2;
|
|
@@ -3294,16 +3235,16 @@
|
|
|
3294
3235
|
}
|
|
3295
3236
|
while (true);
|
|
3296
3237
|
};
|
|
3297
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3298
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3299
|
-
i.
|
|
3300
|
-
i.
|
|
3238
|
+
protoOf(GameServer$handlePlayerMessage$slambda).da2 = function ($this$dispatchAsync, store, completion) {
|
|
3239
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.fa9_1, this.ga9_1, this.ha9_1, this.ia9_1, this.ja9_1, completion);
|
|
3240
|
+
i.ka9_1 = $this$dispatchAsync;
|
|
3241
|
+
i.la9_1 = store;
|
|
3301
3242
|
return i;
|
|
3302
3243
|
};
|
|
3303
3244
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3304
3245
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3305
3246
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3306
|
-
return i.
|
|
3247
|
+
return i.ca2($this$dispatchAsync, store, $completion);
|
|
3307
3248
|
};
|
|
3308
3249
|
l.$arity = 2;
|
|
3309
3250
|
return l;
|
|
@@ -3334,7 +3275,7 @@
|
|
|
3334
3275
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3335
3276
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3336
3277
|
var tmp_4 = KProperty1;
|
|
3337
|
-
tmp_1.
|
|
3278
|
+
tmp_1.h9y_1 = tmp_3.a65(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3338
3279
|
var tmp_5 = this;
|
|
3339
3280
|
// Inline function 'org.kodein.di.instance' call
|
|
3340
3281
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3342,7 +3283,7 @@
|
|
|
3342
3283
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3343
3284
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3344
3285
|
var tmp_8 = KProperty1;
|
|
3345
|
-
tmp_5.
|
|
3286
|
+
tmp_5.i9y_1 = tmp_7.a65(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3346
3287
|
var tmp_9 = this;
|
|
3347
3288
|
// Inline function 'org.kodein.di.instance' call
|
|
3348
3289
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3350,7 +3291,7 @@
|
|
|
3350
3291
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3351
3292
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3352
3293
|
var tmp_12 = KProperty1;
|
|
3353
|
-
tmp_9.
|
|
3294
|
+
tmp_9.j9y_1 = tmp_11.a65(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3354
3295
|
var tmp_13 = this;
|
|
3355
3296
|
// Inline function 'org.kodein.di.instance' call
|
|
3356
3297
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3358,7 +3299,7 @@
|
|
|
3358
3299
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3359
3300
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3360
3301
|
var tmp_16 = KProperty1;
|
|
3361
|
-
tmp_13.
|
|
3302
|
+
tmp_13.k9y_1 = tmp_15.a65(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3362
3303
|
var tmp_17 = this;
|
|
3363
3304
|
// Inline function 'org.kodein.di.instance' call
|
|
3364
3305
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3366,9 +3307,9 @@
|
|
|
3366
3307
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3367
3308
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3368
3309
|
var tmp_20 = KProperty1;
|
|
3369
|
-
tmp_17.
|
|
3310
|
+
tmp_17.l9y_1 = tmp_19.a65(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3370
3311
|
var tmp_21 = this;
|
|
3371
|
-
tmp_21.
|
|
3312
|
+
tmp_21.m9y_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3372
3313
|
var tmp_22 = this;
|
|
3373
3314
|
// Inline function 'org.kodein.di.instance' call
|
|
3374
3315
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3376,7 +3317,7 @@
|
|
|
3376
3317
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3377
3318
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3378
3319
|
var tmp_25 = KProperty1;
|
|
3379
|
-
tmp_22.
|
|
3320
|
+
tmp_22.n9y_1 = tmp_24.a65(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3380
3321
|
var tmp_26 = this;
|
|
3381
3322
|
// Inline function 'org.kodein.di.instance' call
|
|
3382
3323
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3384,7 +3325,7 @@
|
|
|
3384
3325
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3385
3326
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3386
3327
|
var tmp_29 = KProperty1;
|
|
3387
|
-
tmp_26.
|
|
3328
|
+
tmp_26.o9y_1 = tmp_28.a65(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3388
3329
|
var tmp_30 = this;
|
|
3389
3330
|
// Inline function 'org.kodein.di.instance' call
|
|
3390
3331
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3392,7 +3333,7 @@
|
|
|
3392
3333
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3393
3334
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3394
3335
|
var tmp_33 = KProperty1;
|
|
3395
|
-
tmp_30.
|
|
3336
|
+
tmp_30.p9y_1 = tmp_32.a65(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3396
3337
|
var tmp_34 = this;
|
|
3397
3338
|
// Inline function 'org.kodein.di.instance' call
|
|
3398
3339
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3400,7 +3341,7 @@
|
|
|
3400
3341
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3401
3342
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3402
3343
|
var tmp_37 = KProperty1;
|
|
3403
|
-
tmp_34.
|
|
3344
|
+
tmp_34.q9y_1 = tmp_36.a65(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3404
3345
|
var tmp_38 = this;
|
|
3405
3346
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3406
3347
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3408,14 +3349,14 @@
|
|
|
3408
3349
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3409
3350
|
var tmp_40 = InstanceOrNull(di, tmp$ret$20, null);
|
|
3410
3351
|
var tmp_41 = KProperty1;
|
|
3411
|
-
tmp_38.
|
|
3352
|
+
tmp_38.r9y_1 = tmp_40.a65(this, getPropertyCallableRef('botChatInteractor', 1, tmp_41, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3412
3353
|
var tmp_42 = this;
|
|
3413
3354
|
var tmp0_externalMiddlewares = plus(storeContract.l98(), externalMiddlewares);
|
|
3414
3355
|
var tmp1_externalReducers = plus(storeContract.k98(), externalReducers);
|
|
3415
|
-
tmp_42.
|
|
3356
|
+
tmp_42.s9y_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3416
3357
|
}
|
|
3417
3358
|
protoOf(GameServer).s6q = function () {
|
|
3418
|
-
return this.
|
|
3359
|
+
return this.s9y_1;
|
|
3419
3360
|
};
|
|
3420
3361
|
protoOf(GameServer).x8m = function () {
|
|
3421
3362
|
return get_serverStatePayload_0(this.x66()).metadata;
|
|
@@ -3467,17 +3408,17 @@
|
|
|
3467
3408
|
};
|
|
3468
3409
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3469
3410
|
this.i4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3470
|
-
this.
|
|
3411
|
+
this.s9y_1.a6s(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3471
3412
|
};
|
|
3472
3413
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3473
3414
|
this.i4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3474
|
-
this.
|
|
3415
|
+
this.s9y_1.a6s(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3475
3416
|
};
|
|
3476
3417
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3477
3418
|
this.i4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3478
|
-
this.
|
|
3419
|
+
this.s9y_1.a6s(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3479
3420
|
};
|
|
3480
|
-
protoOf(GameServer).
|
|
3421
|
+
protoOf(GameServer).ma9 = function (playerId, roomId, permanently) {
|
|
3481
3422
|
this.i4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3482
3423
|
var tmp;
|
|
3483
3424
|
if (this.x66().e6s()) {
|
|
@@ -3486,33 +3427,33 @@
|
|
|
3486
3427
|
tmp = null;
|
|
3487
3428
|
}
|
|
3488
3429
|
var result = tmp;
|
|
3489
|
-
this.
|
|
3430
|
+
this.s9y_1.a6s(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3490
3431
|
this.i4q().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3491
3432
|
return result;
|
|
3492
3433
|
};
|
|
3493
|
-
protoOf(GameServer).
|
|
3434
|
+
protoOf(GameServer).na9 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3494
3435
|
this.i4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3495
|
-
this.
|
|
3436
|
+
this.s9y_1.a6s(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3496
3437
|
};
|
|
3497
3438
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3498
3439
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3499
|
-
var isCreated = this.
|
|
3500
|
-
this.
|
|
3440
|
+
var isCreated = this.s9y_1.b6s(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3441
|
+
this.s9y_1.a6s(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3501
3442
|
};
|
|
3502
3443
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3503
3444
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3504
|
-
this.
|
|
3505
|
-
this.
|
|
3445
|
+
this.s9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3446
|
+
this.s9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3506
3447
|
};
|
|
3507
3448
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3508
|
-
this.
|
|
3449
|
+
this.s9y_1.a6s(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3509
3450
|
};
|
|
3510
3451
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3511
|
-
this.
|
|
3452
|
+
this.s9y_1.a6s(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3512
3453
|
};
|
|
3513
3454
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3514
3455
|
this.i4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3515
|
-
this.
|
|
3456
|
+
this.s9y_1.a6s(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3516
3457
|
};
|
|
3517
3458
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3518
3459
|
if (!this.isTableExists) {
|
|
@@ -3522,24 +3463,24 @@
|
|
|
3522
3463
|
var table = this.table;
|
|
3523
3464
|
var player = getPlayer(table.players, playerId);
|
|
3524
3465
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.q6v_1.d69().n67_1.toString() + ', ') + ('isBot = ' + player.p6v_1.isBot));
|
|
3525
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3466
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).oa9(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3526
3467
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3527
3468
|
if (actions.r()) {
|
|
3528
3469
|
return null;
|
|
3529
3470
|
}
|
|
3530
3471
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).h6e(), table.id, playerId));
|
|
3531
3472
|
};
|
|
3532
|
-
protoOf(GameServer).
|
|
3473
|
+
protoOf(GameServer).pa9 = function (newRid) {
|
|
3533
3474
|
this.i4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3534
|
-
this.
|
|
3475
|
+
this.s9y_1.a6s(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3535
3476
|
};
|
|
3536
3477
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3537
3478
|
this.i4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3538
|
-
this.
|
|
3479
|
+
this.s9y_1.a6s(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3539
3480
|
};
|
|
3540
|
-
protoOf(GameServer).
|
|
3481
|
+
protoOf(GameServer).qa9 = function (reason, roomId) {
|
|
3541
3482
|
this.i4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3542
|
-
this.
|
|
3483
|
+
this.s9y_1.a6s(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3543
3484
|
};
|
|
3544
3485
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3545
3486
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3551,7 +3492,7 @@
|
|
|
3551
3492
|
}
|
|
3552
3493
|
var botChatInteractor = tmp;
|
|
3553
3494
|
this.i4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3554
|
-
this.
|
|
3495
|
+
this.s9y_1.a6s(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3555
3496
|
};
|
|
3556
3497
|
protoOf(GameServer).clear = function () {
|
|
3557
3498
|
return this.i2();
|
|
@@ -3605,13 +3546,13 @@
|
|
|
3605
3546
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3606
3547
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3607
3548
|
}
|
|
3608
|
-
protoOf(ServerConfig).
|
|
3549
|
+
protoOf(ServerConfig).ra9 = function () {
|
|
3609
3550
|
return this.fromRound;
|
|
3610
3551
|
};
|
|
3611
|
-
protoOf(ServerConfig).
|
|
3552
|
+
protoOf(ServerConfig).sa9 = function () {
|
|
3612
3553
|
return this.shouldFinishGameWhenDeploy;
|
|
3613
3554
|
};
|
|
3614
|
-
protoOf(ServerConfig).
|
|
3555
|
+
protoOf(ServerConfig).ta9 = function () {
|
|
3615
3556
|
return this.shouldFinishGameWithBots;
|
|
3616
3557
|
};
|
|
3617
3558
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3623,14 +3564,14 @@
|
|
|
3623
3564
|
protoOf(ServerConfig).yl = function () {
|
|
3624
3565
|
return this.shouldFinishGameWithBots;
|
|
3625
3566
|
};
|
|
3626
|
-
protoOf(ServerConfig).
|
|
3567
|
+
protoOf(ServerConfig).ua9 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3627
3568
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3628
3569
|
};
|
|
3629
3570
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3630
3571
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3631
3572
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3632
3573
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3633
|
-
return $super === VOID ? this.
|
|
3574
|
+
return $super === VOID ? this.ua9(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ua9.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3634
3575
|
};
|
|
3635
3576
|
protoOf(ServerConfig).toString = function () {
|
|
3636
3577
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3695,20 +3636,20 @@
|
|
|
3695
3636
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3696
3637
|
tmp0_serialDesc.hz('roomId', false);
|
|
3697
3638
|
tmp0_serialDesc.hz('table', false);
|
|
3698
|
-
this.
|
|
3639
|
+
this.va9_1 = tmp0_serialDesc;
|
|
3699
3640
|
}
|
|
3700
|
-
protoOf($serializer).
|
|
3701
|
-
var tmp0_desc = this.
|
|
3641
|
+
protoOf($serializer).wa9 = function (encoder, value) {
|
|
3642
|
+
var tmp0_desc = this.va9_1;
|
|
3702
3643
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3703
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3644
|
+
tmp1_output.et(tmp0_desc, 0, value.xa9_1);
|
|
3704
3645
|
tmp1_output.et(tmp0_desc, 1, value.table);
|
|
3705
3646
|
tmp1_output.qr(tmp0_desc);
|
|
3706
3647
|
};
|
|
3707
3648
|
protoOf($serializer).do = function (encoder, value) {
|
|
3708
|
-
return this.
|
|
3649
|
+
return this.wa9(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3709
3650
|
};
|
|
3710
3651
|
protoOf($serializer).eo = function (decoder) {
|
|
3711
|
-
var tmp0_desc = this.
|
|
3652
|
+
var tmp0_desc = this.va9_1;
|
|
3712
3653
|
var tmp1_flag = true;
|
|
3713
3654
|
var tmp2_index = 0;
|
|
3714
3655
|
var tmp3_bitMask0 = 0;
|
|
@@ -3743,7 +3684,7 @@
|
|
|
3743
3684
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3744
3685
|
};
|
|
3745
3686
|
protoOf($serializer).co = function () {
|
|
3746
|
-
return this.
|
|
3687
|
+
return this.va9_1;
|
|
3747
3688
|
};
|
|
3748
3689
|
protoOf($serializer).wz = function () {
|
|
3749
3690
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3759,9 +3700,9 @@
|
|
|
3759
3700
|
}
|
|
3760
3701
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3761
3702
|
if (!(3 === (3 & seen0))) {
|
|
3762
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3703
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().va9_1);
|
|
3763
3704
|
}
|
|
3764
|
-
$this.
|
|
3705
|
+
$this.xa9_1 = roomId;
|
|
3765
3706
|
$this.table = table;
|
|
3766
3707
|
return $this;
|
|
3767
3708
|
}
|
|
@@ -3769,17 +3710,17 @@
|
|
|
3769
3710
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3770
3711
|
}
|
|
3771
3712
|
function TableStateUpdateDto(roomId, table) {
|
|
3772
|
-
this.
|
|
3713
|
+
this.xa9_1 = roomId;
|
|
3773
3714
|
this.table = table;
|
|
3774
3715
|
}
|
|
3775
3716
|
protoOf(TableStateUpdateDto).r8j = function () {
|
|
3776
|
-
return this.
|
|
3717
|
+
return this.xa9_1;
|
|
3777
3718
|
};
|
|
3778
3719
|
protoOf(TableStateUpdateDto).c6s = function () {
|
|
3779
3720
|
return this.table;
|
|
3780
3721
|
};
|
|
3781
3722
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3782
|
-
return this.
|
|
3723
|
+
return this.xa9_1;
|
|
3783
3724
|
};
|
|
3784
3725
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3785
3726
|
return this.table;
|
|
@@ -3788,15 +3729,15 @@
|
|
|
3788
3729
|
return new TableStateUpdateDto(roomId, table);
|
|
3789
3730
|
};
|
|
3790
3731
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3791
|
-
roomId = roomId === VOID ? this.
|
|
3732
|
+
roomId = roomId === VOID ? this.xa9_1 : roomId;
|
|
3792
3733
|
table = table === VOID ? this.table : table;
|
|
3793
3734
|
return $super === VOID ? this.f54(roomId, table) : $super.f54.call(this, roomId, table);
|
|
3794
3735
|
};
|
|
3795
3736
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3796
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3737
|
+
return 'TableStateUpdateDto(roomId=' + this.xa9_1 + ', table=' + this.table + ')';
|
|
3797
3738
|
};
|
|
3798
3739
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3799
|
-
var result = getStringHashCode(this.
|
|
3740
|
+
var result = getStringHashCode(this.xa9_1);
|
|
3800
3741
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3801
3742
|
return result;
|
|
3802
3743
|
};
|
|
@@ -3805,7 +3746,7 @@
|
|
|
3805
3746
|
return true;
|
|
3806
3747
|
if (!(other instanceof TableStateUpdateDto))
|
|
3807
3748
|
return false;
|
|
3808
|
-
if (!(this.
|
|
3749
|
+
if (!(this.xa9_1 === other.xa9_1))
|
|
3809
3750
|
return false;
|
|
3810
3751
|
if (!(this.table === other.table))
|
|
3811
3752
|
return false;
|
|
@@ -3825,20 +3766,20 @@
|
|
|
3825
3766
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3826
3767
|
tmp0_serialDesc.hz('roomId', false);
|
|
3827
3768
|
tmp0_serialDesc.hz('actions', false);
|
|
3828
|
-
this.
|
|
3769
|
+
this.ya9_1 = tmp0_serialDesc;
|
|
3829
3770
|
}
|
|
3830
|
-
protoOf($serializer_0).
|
|
3831
|
-
var tmp0_desc = this.
|
|
3771
|
+
protoOf($serializer_0).za9 = function (encoder, value) {
|
|
3772
|
+
var tmp0_desc = this.ya9_1;
|
|
3832
3773
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3833
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3774
|
+
tmp1_output.et(tmp0_desc, 0, value.aaa_1);
|
|
3834
3775
|
tmp1_output.et(tmp0_desc, 1, value.actions);
|
|
3835
3776
|
tmp1_output.qr(tmp0_desc);
|
|
3836
3777
|
};
|
|
3837
3778
|
protoOf($serializer_0).do = function (encoder, value) {
|
|
3838
|
-
return this.
|
|
3779
|
+
return this.za9(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3839
3780
|
};
|
|
3840
3781
|
protoOf($serializer_0).eo = function (decoder) {
|
|
3841
|
-
var tmp0_desc = this.
|
|
3782
|
+
var tmp0_desc = this.ya9_1;
|
|
3842
3783
|
var tmp1_flag = true;
|
|
3843
3784
|
var tmp2_index = 0;
|
|
3844
3785
|
var tmp3_bitMask0 = 0;
|
|
@@ -3873,7 +3814,7 @@
|
|
|
3873
3814
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3874
3815
|
};
|
|
3875
3816
|
protoOf($serializer_0).co = function () {
|
|
3876
|
-
return this.
|
|
3817
|
+
return this.ya9_1;
|
|
3877
3818
|
};
|
|
3878
3819
|
protoOf($serializer_0).wz = function () {
|
|
3879
3820
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3889,9 +3830,9 @@
|
|
|
3889
3830
|
}
|
|
3890
3831
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3891
3832
|
if (!(3 === (3 & seen0))) {
|
|
3892
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3833
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ya9_1);
|
|
3893
3834
|
}
|
|
3894
|
-
$this.
|
|
3835
|
+
$this.aaa_1 = roomId;
|
|
3895
3836
|
$this.actions = actions;
|
|
3896
3837
|
return $this;
|
|
3897
3838
|
}
|
|
@@ -3899,17 +3840,17 @@
|
|
|
3899
3840
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3900
3841
|
}
|
|
3901
3842
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3902
|
-
this.
|
|
3843
|
+
this.aaa_1 = roomId;
|
|
3903
3844
|
this.actions = actions;
|
|
3904
3845
|
}
|
|
3905
3846
|
protoOf(ActionsStateUpdateDto).r8j = function () {
|
|
3906
|
-
return this.
|
|
3847
|
+
return this.aaa_1;
|
|
3907
3848
|
};
|
|
3908
3849
|
protoOf(ActionsStateUpdateDto).e8k = function () {
|
|
3909
3850
|
return this.actions;
|
|
3910
3851
|
};
|
|
3911
3852
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3912
|
-
return this.
|
|
3853
|
+
return this.aaa_1;
|
|
3913
3854
|
};
|
|
3914
3855
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3915
3856
|
return this.actions;
|
|
@@ -3918,15 +3859,15 @@
|
|
|
3918
3859
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3919
3860
|
};
|
|
3920
3861
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3921
|
-
roomId = roomId === VOID ? this.
|
|
3862
|
+
roomId = roomId === VOID ? this.aaa_1 : roomId;
|
|
3922
3863
|
actions = actions === VOID ? this.actions : actions;
|
|
3923
3864
|
return $super === VOID ? this.f54(roomId, actions) : $super.f54.call(this, roomId, actions);
|
|
3924
3865
|
};
|
|
3925
3866
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3926
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3867
|
+
return 'ActionsStateUpdateDto(roomId=' + this.aaa_1 + ', actions=' + this.actions + ')';
|
|
3927
3868
|
};
|
|
3928
3869
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3929
|
-
var result = getStringHashCode(this.
|
|
3870
|
+
var result = getStringHashCode(this.aaa_1);
|
|
3930
3871
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3931
3872
|
return result;
|
|
3932
3873
|
};
|
|
@@ -3935,7 +3876,7 @@
|
|
|
3935
3876
|
return true;
|
|
3936
3877
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3937
3878
|
return false;
|
|
3938
|
-
if (!(this.
|
|
3879
|
+
if (!(this.aaa_1 === other.aaa_1))
|
|
3939
3880
|
return false;
|
|
3940
3881
|
if (!(this.actions === other.actions))
|
|
3941
3882
|
return false;
|
|
@@ -3965,42 +3906,42 @@
|
|
|
3965
3906
|
var tmp$ret$0 = mapToDto(item);
|
|
3966
3907
|
destination.j(tmp$ret$0);
|
|
3967
3908
|
}
|
|
3968
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3909
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.baa_1, encoderDecoderProvider.h8r(destination));
|
|
3969
3910
|
}
|
|
3970
3911
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3971
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3912
|
+
return new TableStateUpdateDto(_this__u8e3s4.caa_1, encoderDecoderProvider.f8r(mapToDto_0(_this__u8e3s4.table)));
|
|
3972
3913
|
}
|
|
3973
3914
|
function ServerStateUpdate() {
|
|
3974
3915
|
}
|
|
3975
3916
|
function TableStateUpdate(roomId, table) {
|
|
3976
|
-
this.
|
|
3917
|
+
this.caa_1 = roomId;
|
|
3977
3918
|
this.table = table;
|
|
3978
3919
|
}
|
|
3979
3920
|
protoOf(TableStateUpdate).r8j = function () {
|
|
3980
|
-
return this.
|
|
3921
|
+
return this.caa_1;
|
|
3981
3922
|
};
|
|
3982
3923
|
protoOf(TableStateUpdate).c6s = function () {
|
|
3983
3924
|
return this.table;
|
|
3984
3925
|
};
|
|
3985
3926
|
protoOf(TableStateUpdate).oe = function () {
|
|
3986
|
-
return this.
|
|
3927
|
+
return this.caa_1;
|
|
3987
3928
|
};
|
|
3988
3929
|
protoOf(TableStateUpdate).pe = function () {
|
|
3989
3930
|
return this.table;
|
|
3990
3931
|
};
|
|
3991
|
-
protoOf(TableStateUpdate).
|
|
3932
|
+
protoOf(TableStateUpdate).daa = function (roomId, table) {
|
|
3992
3933
|
return new TableStateUpdate(roomId, table);
|
|
3993
3934
|
};
|
|
3994
3935
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3995
|
-
roomId = roomId === VOID ? this.
|
|
3936
|
+
roomId = roomId === VOID ? this.caa_1 : roomId;
|
|
3996
3937
|
table = table === VOID ? this.table : table;
|
|
3997
|
-
return $super === VOID ? this.
|
|
3938
|
+
return $super === VOID ? this.daa(roomId, table) : $super.daa.call(this, roomId, table);
|
|
3998
3939
|
};
|
|
3999
3940
|
protoOf(TableStateUpdate).toString = function () {
|
|
4000
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3941
|
+
return 'TableStateUpdate(roomId=' + this.caa_1 + ', table=' + this.table.toString() + ')';
|
|
4001
3942
|
};
|
|
4002
3943
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
4003
|
-
var result = getStringHashCode(this.
|
|
3944
|
+
var result = getStringHashCode(this.caa_1);
|
|
4004
3945
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
4005
3946
|
return result;
|
|
4006
3947
|
};
|
|
@@ -4009,41 +3950,41 @@
|
|
|
4009
3950
|
return true;
|
|
4010
3951
|
if (!(other instanceof TableStateUpdate))
|
|
4011
3952
|
return false;
|
|
4012
|
-
if (!(this.
|
|
3953
|
+
if (!(this.caa_1 === other.caa_1))
|
|
4013
3954
|
return false;
|
|
4014
3955
|
if (!this.table.equals(other.table))
|
|
4015
3956
|
return false;
|
|
4016
3957
|
return true;
|
|
4017
3958
|
};
|
|
4018
3959
|
function ActionsStateUpdate(roomId, actions) {
|
|
4019
|
-
this.
|
|
3960
|
+
this.baa_1 = roomId;
|
|
4020
3961
|
this.actions = actions;
|
|
4021
3962
|
}
|
|
4022
3963
|
protoOf(ActionsStateUpdate).r8j = function () {
|
|
4023
|
-
return this.
|
|
3964
|
+
return this.baa_1;
|
|
4024
3965
|
};
|
|
4025
3966
|
protoOf(ActionsStateUpdate).e8k = function () {
|
|
4026
3967
|
return this.actions;
|
|
4027
3968
|
};
|
|
4028
3969
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
4029
|
-
return this.
|
|
3970
|
+
return this.baa_1;
|
|
4030
3971
|
};
|
|
4031
3972
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
4032
3973
|
return this.actions;
|
|
4033
3974
|
};
|
|
4034
|
-
protoOf(ActionsStateUpdate).
|
|
3975
|
+
protoOf(ActionsStateUpdate).eaa = function (roomId, actions) {
|
|
4035
3976
|
return new ActionsStateUpdate(roomId, actions);
|
|
4036
3977
|
};
|
|
4037
3978
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
4038
|
-
roomId = roomId === VOID ? this.
|
|
3979
|
+
roomId = roomId === VOID ? this.baa_1 : roomId;
|
|
4039
3980
|
actions = actions === VOID ? this.actions : actions;
|
|
4040
|
-
return $super === VOID ? this.
|
|
3981
|
+
return $super === VOID ? this.eaa(roomId, actions) : $super.eaa.call(this, roomId, actions);
|
|
4041
3982
|
};
|
|
4042
3983
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
4043
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3984
|
+
return 'ActionsStateUpdate(roomId=' + this.baa_1 + ', actions=' + toString(this.actions) + ')';
|
|
4044
3985
|
};
|
|
4045
3986
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
4046
|
-
var result = getStringHashCode(this.
|
|
3987
|
+
var result = getStringHashCode(this.baa_1);
|
|
4047
3988
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
4048
3989
|
return result;
|
|
4049
3990
|
};
|
|
@@ -4052,7 +3993,7 @@
|
|
|
4052
3993
|
return true;
|
|
4053
3994
|
if (!(other instanceof ActionsStateUpdate))
|
|
4054
3995
|
return false;
|
|
4055
|
-
if (!(this.
|
|
3996
|
+
if (!(this.baa_1 === other.baa_1))
|
|
4056
3997
|
return false;
|
|
4057
3998
|
if (!equals(this.actions, other.actions))
|
|
4058
3999
|
return false;
|
|
@@ -4292,18 +4233,18 @@
|
|
|
4292
4233
|
function ToClientEventsObserver() {
|
|
4293
4234
|
}
|
|
4294
4235
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4295
|
-
this.
|
|
4296
|
-
this.
|
|
4236
|
+
this.oaa_1 = this$0;
|
|
4237
|
+
this.paa_1 = $actions;
|
|
4297
4238
|
CoroutineImpl.call(this, resultContinuation);
|
|
4298
4239
|
}
|
|
4299
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4300
|
-
var tmp = this.
|
|
4240
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).saa = function ($this$flow, $completion) {
|
|
4241
|
+
var tmp = this.taa($this$flow, $completion);
|
|
4301
4242
|
tmp.u8_1 = Unit_instance;
|
|
4302
4243
|
tmp.v8_1 = null;
|
|
4303
4244
|
return tmp.a9();
|
|
4304
4245
|
};
|
|
4305
4246
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4306
|
-
return this.
|
|
4247
|
+
return this.saa((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4307
4248
|
};
|
|
4308
4249
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4309
4250
|
var suspendResult = this.u8_1;
|
|
@@ -4313,19 +4254,19 @@
|
|
|
4313
4254
|
switch (tmp) {
|
|
4314
4255
|
case 0:
|
|
4315
4256
|
this.t8_1 = 4;
|
|
4316
|
-
this.
|
|
4317
|
-
this.
|
|
4257
|
+
this.oaa_1.yaa_1;
|
|
4258
|
+
this.raa_1 = transformToEmits(this.oaa_1, this.paa_1).l();
|
|
4318
4259
|
this.s8_1 = 1;
|
|
4319
4260
|
continue $sm;
|
|
4320
4261
|
case 1:
|
|
4321
|
-
if (!this.
|
|
4262
|
+
if (!this.raa_1.m()) {
|
|
4322
4263
|
this.s8_1 = 3;
|
|
4323
4264
|
continue $sm;
|
|
4324
4265
|
}
|
|
4325
4266
|
|
|
4326
|
-
var element = this.
|
|
4267
|
+
var element = this.raa_1.n();
|
|
4327
4268
|
this.s8_1 = 2;
|
|
4328
|
-
suspendResult = this.
|
|
4269
|
+
suspendResult = this.qaa_1.o28(element, this);
|
|
4329
4270
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4330
4271
|
return suspendResult;
|
|
4331
4272
|
}
|
|
@@ -4335,11 +4276,11 @@
|
|
|
4335
4276
|
this.s8_1 = 1;
|
|
4336
4277
|
continue $sm;
|
|
4337
4278
|
case 3:
|
|
4338
|
-
var tmp0 = this.
|
|
4279
|
+
var tmp0 = this.oaa_1.xaa_1;
|
|
4339
4280
|
l$ret$1: do {
|
|
4340
4281
|
while (true) {
|
|
4341
4282
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4342
|
-
var upd = cur - this.
|
|
4283
|
+
var upd = cur - this.paa_1.o() | 0;
|
|
4343
4284
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4344
4285
|
break l$ret$1;
|
|
4345
4286
|
}
|
|
@@ -4361,15 +4302,15 @@
|
|
|
4361
4302
|
}
|
|
4362
4303
|
while (true);
|
|
4363
4304
|
};
|
|
4364
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4365
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4366
|
-
i.
|
|
4305
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).taa = function ($this$flow, completion) {
|
|
4306
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.oaa_1, this.paa_1, completion);
|
|
4307
|
+
i.qaa_1 = $this$flow;
|
|
4367
4308
|
return i;
|
|
4368
4309
|
};
|
|
4369
4310
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4370
4311
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4371
4312
|
var l = function ($this$flow, $completion) {
|
|
4372
|
-
return i.
|
|
4313
|
+
return i.saa($this$flow, $completion);
|
|
4373
4314
|
};
|
|
4374
4315
|
l.$arity = 1;
|
|
4375
4316
|
return l;
|
|
@@ -4439,29 +4380,29 @@
|
|
|
4439
4380
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4440
4381
|
}
|
|
4441
4382
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4442
|
-
var tmp = $this.
|
|
4383
|
+
var tmp = $this.waa_1.h6e();
|
|
4443
4384
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4444
|
-
var this_0 = _this__u8e3s4.
|
|
4385
|
+
var this_0 = _this__u8e3s4.bab_1;
|
|
4445
4386
|
var tmp_0 = copyToArray(this_0);
|
|
4446
4387
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4447
|
-
var this_1 = _this__u8e3s4.
|
|
4388
|
+
var this_1 = _this__u8e3s4.cab_1;
|
|
4448
4389
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4449
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4390
|
+
return new ActionDeliveryPayload(_this__u8e3s4.aab_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.dab_1);
|
|
4450
4391
|
}
|
|
4451
4392
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4452
|
-
this.
|
|
4453
|
-
this.
|
|
4454
|
-
this.
|
|
4455
|
-
this.
|
|
4393
|
+
this.aab_1 = tableId;
|
|
4394
|
+
this.bab_1 = includePlayers;
|
|
4395
|
+
this.cab_1 = excludePlayers;
|
|
4396
|
+
this.dab_1 = deliveryType;
|
|
4456
4397
|
}
|
|
4457
4398
|
protoOf(GroupKey).toString = function () {
|
|
4458
|
-
return 'GroupKey(tableId=' + this.
|
|
4399
|
+
return 'GroupKey(tableId=' + this.aab_1 + ', includePlayers=' + toString(this.bab_1) + ', excludePlayers=' + toString(this.cab_1) + ', deliveryType=' + this.dab_1.toString() + ')';
|
|
4459
4400
|
};
|
|
4460
4401
|
protoOf(GroupKey).hashCode = function () {
|
|
4461
|
-
var result = getStringHashCode(this.
|
|
4462
|
-
result = imul(result, 31) + hashCode(this.
|
|
4463
|
-
result = imul(result, 31) + hashCode(this.
|
|
4464
|
-
result = imul(result, 31) + this.
|
|
4402
|
+
var result = getStringHashCode(this.aab_1);
|
|
4403
|
+
result = imul(result, 31) + hashCode(this.bab_1) | 0;
|
|
4404
|
+
result = imul(result, 31) + hashCode(this.cab_1) | 0;
|
|
4405
|
+
result = imul(result, 31) + this.dab_1.hashCode() | 0;
|
|
4465
4406
|
return result;
|
|
4466
4407
|
};
|
|
4467
4408
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4469,35 +4410,35 @@
|
|
|
4469
4410
|
return true;
|
|
4470
4411
|
if (!(other instanceof GroupKey))
|
|
4471
4412
|
return false;
|
|
4472
|
-
if (!(this.
|
|
4413
|
+
if (!(this.aab_1 === other.aab_1))
|
|
4473
4414
|
return false;
|
|
4474
|
-
if (!equals(this.
|
|
4415
|
+
if (!equals(this.bab_1, other.bab_1))
|
|
4475
4416
|
return false;
|
|
4476
|
-
if (!equals(this.
|
|
4417
|
+
if (!equals(this.cab_1, other.cab_1))
|
|
4477
4418
|
return false;
|
|
4478
|
-
if (!this.
|
|
4419
|
+
if (!this.dab_1.equals(other.dab_1))
|
|
4479
4420
|
return false;
|
|
4480
4421
|
return true;
|
|
4481
4422
|
};
|
|
4482
4423
|
function Companion_4() {
|
|
4483
|
-
this.
|
|
4424
|
+
this.eab_1 = 6;
|
|
4484
4425
|
}
|
|
4485
4426
|
var Companion_instance_14;
|
|
4486
4427
|
function Companion_getInstance_5() {
|
|
4487
4428
|
return Companion_instance_14;
|
|
4488
4429
|
}
|
|
4489
4430
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4490
|
-
this.
|
|
4431
|
+
this.nab_1 = this$0;
|
|
4491
4432
|
CoroutineImpl.call(this, resultContinuation);
|
|
4492
4433
|
}
|
|
4493
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4494
|
-
var tmp = this.
|
|
4434
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).pab = function (actions, $completion) {
|
|
4435
|
+
var tmp = this.qab(actions, $completion);
|
|
4495
4436
|
tmp.u8_1 = Unit_instance;
|
|
4496
4437
|
tmp.v8_1 = null;
|
|
4497
4438
|
return tmp.a9();
|
|
4498
4439
|
};
|
|
4499
4440
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4500
|
-
return this.
|
|
4441
|
+
return this.pab((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4501
4442
|
};
|
|
4502
4443
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4503
4444
|
var suspendResult = this.u8_1;
|
|
@@ -4506,7 +4447,7 @@
|
|
|
4506
4447
|
var tmp = this.s8_1;
|
|
4507
4448
|
if (tmp === 0) {
|
|
4508
4449
|
this.t8_1 = 1;
|
|
4509
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4450
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.nab_1, this.oab_1, null));
|
|
4510
4451
|
} else if (tmp === 1) {
|
|
4511
4452
|
throw this.v8_1;
|
|
4512
4453
|
}
|
|
@@ -4516,23 +4457,23 @@
|
|
|
4516
4457
|
}
|
|
4517
4458
|
while (true);
|
|
4518
4459
|
};
|
|
4519
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4520
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4521
|
-
i.
|
|
4460
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).qab = function (actions, completion) {
|
|
4461
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.nab_1, completion);
|
|
4462
|
+
i.oab_1 = actions;
|
|
4522
4463
|
return i;
|
|
4523
4464
|
};
|
|
4524
4465
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4525
4466
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4526
4467
|
var l = function (actions, $completion) {
|
|
4527
|
-
return i.
|
|
4468
|
+
return i.pab(actions, $completion);
|
|
4528
4469
|
};
|
|
4529
4470
|
l.$arity = 1;
|
|
4530
4471
|
return l;
|
|
4531
4472
|
}
|
|
4532
4473
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4533
4474
|
CoroutineImpl.call(this, resultContinuation);
|
|
4534
|
-
this.
|
|
4535
|
-
this.
|
|
4475
|
+
this.zab_1 = _this__u8e3s4;
|
|
4476
|
+
this.aac_1 = fromEvent;
|
|
4536
4477
|
}
|
|
4537
4478
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4538
4479
|
var suspendResult = this.u8_1;
|
|
@@ -4542,8 +4483,8 @@
|
|
|
4542
4483
|
switch (tmp) {
|
|
4543
4484
|
case 0:
|
|
4544
4485
|
this.t8_1 = 2;
|
|
4545
|
-
this.
|
|
4546
|
-
var tmp0 = this.
|
|
4486
|
+
this.zab_1.yaa_1;
|
|
4487
|
+
var tmp0 = this.zab_1.xaa_1;
|
|
4547
4488
|
l$ret$1: do {
|
|
4548
4489
|
while (true) {
|
|
4549
4490
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4555,7 +4496,7 @@
|
|
|
4555
4496
|
}
|
|
4556
4497
|
while (false);
|
|
4557
4498
|
this.s8_1 = 1;
|
|
4558
|
-
suspendResult = this.
|
|
4499
|
+
suspendResult = this.zab_1.zaa_1.o28(this.aac_1, this);
|
|
4559
4500
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4560
4501
|
return suspendResult;
|
|
4561
4502
|
}
|
|
@@ -4579,7 +4520,7 @@
|
|
|
4579
4520
|
};
|
|
4580
4521
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4581
4522
|
CoroutineImpl.call(this, resultContinuation);
|
|
4582
|
-
this.
|
|
4523
|
+
this.jac_1 = _this__u8e3s4;
|
|
4583
4524
|
}
|
|
4584
4525
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4585
4526
|
var suspendResult = this.u8_1;
|
|
@@ -4589,12 +4530,12 @@
|
|
|
4589
4530
|
switch (tmp) {
|
|
4590
4531
|
case 0:
|
|
4591
4532
|
this.t8_1 = 5;
|
|
4592
|
-
this.
|
|
4593
|
-
this.
|
|
4533
|
+
this.jac_1.yaa_1;
|
|
4534
|
+
this.kac_1 = 0;
|
|
4594
4535
|
this.s8_1 = 1;
|
|
4595
4536
|
continue $sm;
|
|
4596
4537
|
case 1:
|
|
4597
|
-
if (!!(this.
|
|
4538
|
+
if (!!(this.jac_1.xaa_1.kotlinx$atomicfu$value === 0)) {
|
|
4598
4539
|
this.s8_1 = 4;
|
|
4599
4540
|
continue $sm;
|
|
4600
4541
|
}
|
|
@@ -4607,9 +4548,9 @@
|
|
|
4607
4548
|
|
|
4608
4549
|
continue $sm;
|
|
4609
4550
|
case 2:
|
|
4610
|
-
this.
|
|
4611
|
-
if (this.
|
|
4612
|
-
this.
|
|
4551
|
+
this.kac_1 = this.kac_1 + 1 | 0;
|
|
4552
|
+
if (this.kac_1 > 6) {
|
|
4553
|
+
this.jac_1.vaa_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.jac_1.xaa_1.kotlinx$atomicfu$value);
|
|
4613
4554
|
this.s8_1 = 4;
|
|
4614
4555
|
continue $sm;
|
|
4615
4556
|
} else {
|
|
@@ -4637,16 +4578,16 @@
|
|
|
4637
4578
|
while (true);
|
|
4638
4579
|
};
|
|
4639
4580
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4640
|
-
this.
|
|
4641
|
-
this.
|
|
4642
|
-
this.
|
|
4643
|
-
this.
|
|
4581
|
+
this.uaa_1 = serverReduxConfig;
|
|
4582
|
+
this.vaa_1 = logger;
|
|
4583
|
+
this.waa_1 = idsProvider;
|
|
4584
|
+
this.xaa_1 = atomic$ref$1(0);
|
|
4644
4585
|
var tmp = this;
|
|
4645
4586
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4646
|
-
tmp.
|
|
4647
|
-
this.
|
|
4587
|
+
tmp.yaa_1 = get_atomicfu$reentrantLock();
|
|
4588
|
+
this.zaa_1 = MutableSharedFlow();
|
|
4648
4589
|
}
|
|
4649
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4590
|
+
protoOf(ToClientEventsObserverImpl).faa = function (fromEvent, $completion) {
|
|
4650
4591
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4651
4592
|
tmp.u8_1 = Unit_instance;
|
|
4652
4593
|
tmp.v8_1 = null;
|
|
@@ -4658,33 +4599,33 @@
|
|
|
4658
4599
|
tmp.v8_1 = null;
|
|
4659
4600
|
return tmp.a9();
|
|
4660
4601
|
};
|
|
4661
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4662
|
-
if (!this.
|
|
4663
|
-
return this.
|
|
4602
|
+
protoOf(ToClientEventsObserverImpl).l9z = function () {
|
|
4603
|
+
if (!this.uaa_1.enabledCombinedEvents) {
|
|
4604
|
+
return this.zaa_1;
|
|
4664
4605
|
}
|
|
4665
|
-
var tmp = windowedByInterval(this.
|
|
4606
|
+
var tmp = windowedByInterval(this.zaa_1, fromInt(this.uaa_1.combinedEventsIntervalMillis));
|
|
4666
4607
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4667
4608
|
};
|
|
4668
4609
|
function PlayerConnectionInteractor() {
|
|
4669
4610
|
}
|
|
4670
4611
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4671
|
-
if (waitForPlayer && $this.
|
|
4612
|
+
if (waitForPlayer && $this.oac_1.waitForPlayerToReconnect) {
|
|
4672
4613
|
Companion_getInstance();
|
|
4673
4614
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4674
|
-
var this_0 = $this.
|
|
4615
|
+
var this_0 = $this.oac_1.reconnectionCheckDurationMillis;
|
|
4675
4616
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4676
4617
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.q6v_1.d69().x67(reconnectionCheckDurationMillis);
|
|
4677
4618
|
if (noRecentReconnects) {
|
|
4678
|
-
return $this.
|
|
4619
|
+
return $this.mac(player.playerId, newConnectionState, previousConnectionState);
|
|
4679
4620
|
}
|
|
4680
4621
|
}
|
|
4681
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.o6v($this.
|
|
4622
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.o6v($this.oac_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4682
4623
|
if (canRemoveGameWhenNoPlayers) {
|
|
4683
|
-
return listOf($this.
|
|
4624
|
+
return listOf($this.sac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4684
4625
|
}
|
|
4685
4626
|
if (table.sceneInfo.n7g()) {
|
|
4686
|
-
if (!$this.
|
|
4687
|
-
return listOf($this.
|
|
4627
|
+
if (!$this.pac_1.openRoomIfFinished) {
|
|
4628
|
+
return listOf($this.sac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4688
4629
|
}
|
|
4689
4630
|
// Inline function 'kotlin.collections.filter' call
|
|
4690
4631
|
var tmp0 = table.players;
|
|
@@ -4759,27 +4700,27 @@
|
|
|
4759
4700
|
}
|
|
4760
4701
|
var readyLivePlayers = destination_3;
|
|
4761
4702
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4762
|
-
if ($this.
|
|
4763
|
-
return listOf($this.
|
|
4703
|
+
if ($this.pac_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4704
|
+
return listOf($this.sac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4764
4705
|
}
|
|
4765
4706
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4766
4707
|
if (allPlayersMadeDecision) {
|
|
4767
|
-
var tmp0_$this = $this.
|
|
4708
|
+
var tmp0_$this = $this.sac_1;
|
|
4768
4709
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4769
4710
|
return listOf(tmp0_$this.e8y(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4770
4711
|
}
|
|
4771
4712
|
}
|
|
4772
|
-
if (!$this.
|
|
4773
|
-
return listOf($this.
|
|
4713
|
+
if (!$this.oac_1.botReplacesPlayerAfterTimeout) {
|
|
4714
|
+
return listOf($this.sac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4774
4715
|
}
|
|
4775
4716
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4776
4717
|
}
|
|
4777
4718
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4778
4719
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4779
4720
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4780
|
-
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4721
|
+
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.ma7(player, table)]));
|
|
4781
4722
|
if (player.q6v_1.m67()) {
|
|
4782
|
-
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4723
|
+
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.qac_1.i9m(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4783
4724
|
}
|
|
4784
4725
|
return actionsList;
|
|
4785
4726
|
}
|
|
@@ -4793,13 +4734,13 @@
|
|
|
4793
4734
|
return actionsList;
|
|
4794
4735
|
}
|
|
4795
4736
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4796
|
-
this.
|
|
4797
|
-
this.
|
|
4798
|
-
this.
|
|
4799
|
-
this.
|
|
4800
|
-
this.
|
|
4737
|
+
this.oac_1 = serverConfig;
|
|
4738
|
+
this.pac_1 = engineLogicConfig;
|
|
4739
|
+
this.qac_1 = playerTurnMechanicReducer;
|
|
4740
|
+
this.rac_1 = idsProvider;
|
|
4741
|
+
this.sac_1 = gameLifecycleInteractor;
|
|
4801
4742
|
}
|
|
4802
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4743
|
+
protoOf(PlayerConnectionInteractorImpl).lac = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4803
4744
|
var tmp;
|
|
4804
4745
|
switch (newConnectionState.q2_1) {
|
|
4805
4746
|
case 1:
|
|
@@ -4830,18 +4771,18 @@
|
|
|
4830
4771
|
}
|
|
4831
4772
|
return tmp;
|
|
4832
4773
|
};
|
|
4833
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4774
|
+
protoOf(PlayerConnectionInteractorImpl).oa9 = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4834
4775
|
if (!isLive) {
|
|
4835
4776
|
return emptyList();
|
|
4836
4777
|
}
|
|
4837
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4778
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.rac_1.h6e(), tableId, sendToPlayerId);
|
|
4838
4779
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4839
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4780
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.rac_1.h6e(), tableId, sendToPlayerId);
|
|
4840
4781
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4841
4782
|
};
|
|
4842
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4843
|
-
var updatedTable = this.
|
|
4844
|
-
var aid = this.
|
|
4783
|
+
protoOf(PlayerConnectionInteractorImpl).ma7 = function (sendToPlayer, table) {
|
|
4784
|
+
var updatedTable = this.qac_1.j9k(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4785
|
+
var aid = this.rac_1.h6e();
|
|
4845
4786
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4846
4787
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4847
4788
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4860,24 +4801,24 @@
|
|
|
4860
4801
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4861
4802
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4862
4803
|
};
|
|
4863
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4804
|
+
protoOf(PlayerConnectionInteractorImpl).mac = function (playerId, newConnectionState, previousConnectionState) {
|
|
4864
4805
|
var tmp = System_instance.dk();
|
|
4865
4806
|
Companion_getInstance();
|
|
4866
4807
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4867
|
-
var this_0 = this.
|
|
4808
|
+
var this_0 = this.oac_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4868
4809
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4869
4810
|
var reconnectUntilTime = tmp.sk(tmp$ret$0);
|
|
4870
4811
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4871
4812
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4872
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4813
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.oac_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4873
4814
|
};
|
|
4874
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4815
|
+
protoOf(PlayerConnectionInteractorImpl).nac = function (isBot, playerId, connectedPlayers) {
|
|
4875
4816
|
var tmp;
|
|
4876
4817
|
if (isBot) {
|
|
4877
4818
|
tmp = Companion_instance_3.s67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
4878
4819
|
} else {
|
|
4879
4820
|
var tmp_0;
|
|
4880
|
-
if (this.
|
|
4821
|
+
if (this.oac_1.waitForPlayerToConnectOnStart) {
|
|
4881
4822
|
var tmp_1;
|
|
4882
4823
|
if (connectedPlayers.u1(playerId)) {
|
|
4883
4824
|
tmp_1 = Companion_instance_3.s67(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -4893,154 +4834,154 @@
|
|
|
4893
4834
|
return tmp;
|
|
4894
4835
|
};
|
|
4895
4836
|
function UpdateServerConfigAction(serverConfig) {
|
|
4896
|
-
this.
|
|
4837
|
+
this.tac_1 = serverConfig;
|
|
4897
4838
|
}
|
|
4898
4839
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4899
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4840
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.tac_1.toString() + ')';
|
|
4900
4841
|
};
|
|
4901
4842
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4902
|
-
return this.
|
|
4843
|
+
return this.tac_1.hashCode();
|
|
4903
4844
|
};
|
|
4904
4845
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4905
4846
|
if (this === other)
|
|
4906
4847
|
return true;
|
|
4907
4848
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4908
4849
|
return false;
|
|
4909
|
-
if (!this.
|
|
4850
|
+
if (!this.tac_1.equals(other.tac_1))
|
|
4910
4851
|
return false;
|
|
4911
4852
|
return true;
|
|
4912
4853
|
};
|
|
4913
4854
|
function SpectatorsAction() {
|
|
4914
4855
|
}
|
|
4915
4856
|
function AddSpectatorsAction(spectators) {
|
|
4916
|
-
this.
|
|
4857
|
+
this.uac_1 = spectators;
|
|
4917
4858
|
}
|
|
4918
4859
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4919
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4860
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.uac_1) + ')';
|
|
4920
4861
|
};
|
|
4921
4862
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4922
|
-
return hashCode(this.
|
|
4863
|
+
return hashCode(this.uac_1);
|
|
4923
4864
|
};
|
|
4924
4865
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4925
4866
|
if (this === other)
|
|
4926
4867
|
return true;
|
|
4927
4868
|
if (!(other instanceof AddSpectatorsAction))
|
|
4928
4869
|
return false;
|
|
4929
|
-
if (!equals(this.
|
|
4870
|
+
if (!equals(this.uac_1, other.uac_1))
|
|
4930
4871
|
return false;
|
|
4931
4872
|
return true;
|
|
4932
4873
|
};
|
|
4933
4874
|
function RemoveSpectatorsAction(spectators) {
|
|
4934
|
-
this.
|
|
4875
|
+
this.vac_1 = spectators;
|
|
4935
4876
|
}
|
|
4936
4877
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4937
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4878
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.vac_1) + ')';
|
|
4938
4879
|
};
|
|
4939
4880
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4940
|
-
return hashCode(this.
|
|
4881
|
+
return hashCode(this.vac_1);
|
|
4941
4882
|
};
|
|
4942
4883
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4943
4884
|
if (this === other)
|
|
4944
4885
|
return true;
|
|
4945
4886
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4946
4887
|
return false;
|
|
4947
|
-
if (!equals(this.
|
|
4888
|
+
if (!equals(this.vac_1, other.vac_1))
|
|
4948
4889
|
return false;
|
|
4949
4890
|
return true;
|
|
4950
4891
|
};
|
|
4951
4892
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4952
|
-
var tmp0 = $this.
|
|
4893
|
+
var tmp0 = $this.bad_1;
|
|
4953
4894
|
var tmp = KProperty1;
|
|
4954
4895
|
// Inline function 'kotlin.getValue' call
|
|
4955
4896
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4956
4897
|
return tmp0.x();
|
|
4957
4898
|
}
|
|
4958
4899
|
function _get_logger__rkp4sl($this) {
|
|
4959
|
-
var tmp0 = $this.
|
|
4900
|
+
var tmp0 = $this.cad_1;
|
|
4960
4901
|
var tmp = KProperty1;
|
|
4961
4902
|
// Inline function 'kotlin.getValue' call
|
|
4962
4903
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4963
4904
|
return tmp0.x();
|
|
4964
4905
|
}
|
|
4965
4906
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4966
|
-
var tmp0 = $this.
|
|
4907
|
+
var tmp0 = $this.dad_1;
|
|
4967
4908
|
var tmp = KProperty1;
|
|
4968
4909
|
// Inline function 'kotlin.getValue' call
|
|
4969
4910
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4970
4911
|
return tmp0.x();
|
|
4971
4912
|
}
|
|
4972
4913
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4973
|
-
var tmp0 = $this.
|
|
4914
|
+
var tmp0 = $this.ead_1;
|
|
4974
4915
|
var tmp = KProperty1;
|
|
4975
4916
|
// Inline function 'kotlin.getValue' call
|
|
4976
4917
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4977
4918
|
return tmp0.x();
|
|
4978
4919
|
}
|
|
4979
4920
|
function _get_serverConfig__rk2g06($this) {
|
|
4980
|
-
var tmp0 = $this.
|
|
4921
|
+
var tmp0 = $this.fad_1;
|
|
4981
4922
|
var tmp = KProperty1;
|
|
4982
4923
|
// Inline function 'kotlin.getValue' call
|
|
4983
4924
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4984
4925
|
return tmp0.x();
|
|
4985
4926
|
}
|
|
4986
4927
|
function _get_logicConfig__52ww9d($this) {
|
|
4987
|
-
var tmp0 = $this.
|
|
4928
|
+
var tmp0 = $this.gad_1;
|
|
4988
4929
|
var tmp = KProperty1;
|
|
4989
4930
|
// Inline function 'kotlin.getValue' call
|
|
4990
4931
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4991
4932
|
return tmp0.x();
|
|
4992
4933
|
}
|
|
4993
4934
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4994
|
-
var tmp0 = $this.
|
|
4935
|
+
var tmp0 = $this.had_1;
|
|
4995
4936
|
var tmp = KProperty1;
|
|
4996
4937
|
// Inline function 'kotlin.getValue' call
|
|
4997
4938
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4998
4939
|
return tmp0.x();
|
|
4999
4940
|
}
|
|
5000
4941
|
function _get_botConfig__cpaxzc($this) {
|
|
5001
|
-
var tmp0 = $this.
|
|
4942
|
+
var tmp0 = $this.iad_1;
|
|
5002
4943
|
var tmp = KProperty1;
|
|
5003
4944
|
// Inline function 'kotlin.getValue' call
|
|
5004
4945
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
5005
4946
|
return tmp0.x();
|
|
5006
4947
|
}
|
|
5007
4948
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
5008
|
-
var tmp0 = $this.
|
|
4949
|
+
var tmp0 = $this.jad_1;
|
|
5009
4950
|
var tmp = KProperty1;
|
|
5010
4951
|
// Inline function 'kotlin.getValue' call
|
|
5011
4952
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
5012
4953
|
return tmp0.x();
|
|
5013
4954
|
}
|
|
5014
4955
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
5015
|
-
var tmp0 = $this.
|
|
4956
|
+
var tmp0 = $this.kad_1;
|
|
5016
4957
|
var tmp = KProperty1;
|
|
5017
4958
|
// Inline function 'kotlin.getValue' call
|
|
5018
4959
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
5019
4960
|
return tmp0.x();
|
|
5020
4961
|
}
|
|
5021
4962
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
5022
|
-
var tmp0 = $this.
|
|
4963
|
+
var tmp0 = $this.lad_1;
|
|
5023
4964
|
var tmp = KProperty1;
|
|
5024
4965
|
// Inline function 'kotlin.getValue' call
|
|
5025
4966
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
5026
4967
|
return tmp0.x();
|
|
5027
4968
|
}
|
|
5028
4969
|
function _get_dealerConfig__183ci8($this) {
|
|
5029
|
-
var tmp0 = $this.
|
|
4970
|
+
var tmp0 = $this.mad_1;
|
|
5030
4971
|
var tmp = KProperty1;
|
|
5031
4972
|
// Inline function 'kotlin.getValue' call
|
|
5032
4973
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
5033
4974
|
return tmp0.x();
|
|
5034
4975
|
}
|
|
5035
4976
|
function _get_poolProvider__tqti6a($this) {
|
|
5036
|
-
var tmp0 = $this.
|
|
4977
|
+
var tmp0 = $this.nad_1;
|
|
5037
4978
|
var tmp = KProperty1;
|
|
5038
4979
|
// Inline function 'kotlin.getValue' call
|
|
5039
4980
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
5040
4981
|
return tmp0.x();
|
|
5041
4982
|
}
|
|
5042
4983
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
5043
|
-
var tmp0 = $this.
|
|
4984
|
+
var tmp0 = $this.oad_1;
|
|
5044
4985
|
var tmp = KProperty1;
|
|
5045
4986
|
// Inline function 'kotlin.getValue' call
|
|
5046
4987
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5204,11 +5145,11 @@
|
|
|
5204
5145
|
tmp = fileLoggerStoreContract;
|
|
5205
5146
|
}
|
|
5206
5147
|
fileLoggerStoreContract = tmp;
|
|
5207
|
-
this.
|
|
5208
|
-
this.
|
|
5209
|
-
this.
|
|
5210
|
-
this.
|
|
5211
|
-
this.
|
|
5148
|
+
this.wac_1 = validationStoreContract;
|
|
5149
|
+
this.xac_1 = timersStoreContract;
|
|
5150
|
+
this.yac_1 = botGameStoreContract;
|
|
5151
|
+
this.zac_1 = gameMechanicStoreContract;
|
|
5152
|
+
this.aad_1 = fileLoggerStoreContract;
|
|
5212
5153
|
var tmp_0 = this;
|
|
5213
5154
|
// Inline function 'org.kodein.di.instance' call
|
|
5214
5155
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5216,7 +5157,7 @@
|
|
|
5216
5157
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5217
5158
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5218
5159
|
var tmp_3 = KProperty1;
|
|
5219
|
-
tmp_0.
|
|
5160
|
+
tmp_0.bad_1 = tmp_2.a65(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5220
5161
|
var tmp_4 = this;
|
|
5221
5162
|
// Inline function 'org.kodein.di.instance' call
|
|
5222
5163
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5224,7 +5165,7 @@
|
|
|
5224
5165
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5225
5166
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5226
5167
|
var tmp_7 = KProperty1;
|
|
5227
|
-
tmp_4.
|
|
5168
|
+
tmp_4.cad_1 = tmp_6.a65(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5228
5169
|
var tmp_8 = this;
|
|
5229
5170
|
// Inline function 'org.kodein.di.instance' call
|
|
5230
5171
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5232,7 +5173,7 @@
|
|
|
5232
5173
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5233
5174
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5234
5175
|
var tmp_11 = KProperty1;
|
|
5235
|
-
tmp_8.
|
|
5176
|
+
tmp_8.dad_1 = tmp_10.a65(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5236
5177
|
var tmp_12 = this;
|
|
5237
5178
|
// Inline function 'org.kodein.di.instance' call
|
|
5238
5179
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5240,7 +5181,7 @@
|
|
|
5240
5181
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5241
5182
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5242
5183
|
var tmp_15 = KProperty1;
|
|
5243
|
-
tmp_12.
|
|
5184
|
+
tmp_12.ead_1 = tmp_14.a65(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5244
5185
|
var tmp_16 = this;
|
|
5245
5186
|
// Inline function 'org.kodein.di.instance' call
|
|
5246
5187
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5248,7 +5189,7 @@
|
|
|
5248
5189
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5249
5190
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5250
5191
|
var tmp_19 = KProperty1;
|
|
5251
|
-
tmp_16.
|
|
5192
|
+
tmp_16.fad_1 = tmp_18.a65(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5252
5193
|
var tmp_20 = this;
|
|
5253
5194
|
// Inline function 'org.kodein.di.instance' call
|
|
5254
5195
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5256,7 +5197,7 @@
|
|
|
5256
5197
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5257
5198
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5258
5199
|
var tmp_23 = KProperty1;
|
|
5259
|
-
tmp_20.
|
|
5200
|
+
tmp_20.gad_1 = tmp_22.a65(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5260
5201
|
var tmp_24 = this;
|
|
5261
5202
|
// Inline function 'org.kodein.di.instance' call
|
|
5262
5203
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5264,7 +5205,7 @@
|
|
|
5264
5205
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5265
5206
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5266
5207
|
var tmp_27 = KProperty1;
|
|
5267
|
-
tmp_24.
|
|
5208
|
+
tmp_24.had_1 = tmp_26.a65(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5268
5209
|
var tmp_28 = this;
|
|
5269
5210
|
// Inline function 'org.kodein.di.instance' call
|
|
5270
5211
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5272,7 +5213,7 @@
|
|
|
5272
5213
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5273
5214
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5274
5215
|
var tmp_31 = KProperty1;
|
|
5275
|
-
tmp_28.
|
|
5216
|
+
tmp_28.iad_1 = tmp_30.a65(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5276
5217
|
var tmp_32 = this;
|
|
5277
5218
|
// Inline function 'org.kodein.di.instance' call
|
|
5278
5219
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5280,7 +5221,7 @@
|
|
|
5280
5221
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5281
5222
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5282
5223
|
var tmp_35 = KProperty1;
|
|
5283
|
-
tmp_32.
|
|
5224
|
+
tmp_32.jad_1 = tmp_34.a65(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5284
5225
|
var tmp_36 = this;
|
|
5285
5226
|
// Inline function 'org.kodein.di.instance' call
|
|
5286
5227
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5288,7 +5229,7 @@
|
|
|
5288
5229
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5289
5230
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5290
5231
|
var tmp_39 = KProperty1;
|
|
5291
|
-
tmp_36.
|
|
5232
|
+
tmp_36.kad_1 = tmp_38.a65(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5292
5233
|
var tmp_40 = this;
|
|
5293
5234
|
// Inline function 'org.kodein.di.instance' call
|
|
5294
5235
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5296,7 +5237,7 @@
|
|
|
5296
5237
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5297
5238
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5298
5239
|
var tmp_43 = KProperty1;
|
|
5299
|
-
tmp_40.
|
|
5240
|
+
tmp_40.lad_1 = tmp_42.a65(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5300
5241
|
var tmp_44 = this;
|
|
5301
5242
|
// Inline function 'org.kodein.di.instance' call
|
|
5302
5243
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5304,7 +5245,7 @@
|
|
|
5304
5245
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5305
5246
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5306
5247
|
var tmp_47 = KProperty1;
|
|
5307
|
-
tmp_44.
|
|
5248
|
+
tmp_44.mad_1 = tmp_46.a65(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5308
5249
|
var tmp_48 = this;
|
|
5309
5250
|
// Inline function 'org.kodein.di.instance' call
|
|
5310
5251
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5312,7 +5253,7 @@
|
|
|
5312
5253
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5313
5254
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5314
5255
|
var tmp_51 = KProperty1;
|
|
5315
|
-
tmp_48.
|
|
5256
|
+
tmp_48.nad_1 = tmp_50.a65(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5316
5257
|
var tmp_52 = this;
|
|
5317
5258
|
// Inline function 'org.kodein.di.instance' call
|
|
5318
5259
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5320,20 +5261,20 @@
|
|
|
5320
5261
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5321
5262
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5322
5263
|
var tmp_55 = KProperty1;
|
|
5323
|
-
tmp_52.
|
|
5264
|
+
tmp_52.oad_1 = tmp_54.a65(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5324
5265
|
}
|
|
5325
5266
|
protoOf(ServerGameStoreContract).k98 = function () {
|
|
5326
|
-
return plus(plus(plus(plus(plus(this.
|
|
5267
|
+
return plus(plus(plus(plus(plus(this.wac_1.k98(), this.zac_1.k98()), this.xac_1.k98()), this.yac_1.k98()), this.aad_1.k98()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5327
5268
|
};
|
|
5328
5269
|
protoOf(ServerGameStoreContract).l98 = function () {
|
|
5329
|
-
var tmp = this.
|
|
5270
|
+
var tmp = this.wac_1.l98();
|
|
5330
5271
|
var tmp_0;
|
|
5331
5272
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5332
5273
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5333
5274
|
} else {
|
|
5334
5275
|
tmp_0 = null;
|
|
5335
5276
|
}
|
|
5336
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5277
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.zac_1.l98()), this.xac_1.l98()), this.yac_1.l98()), this.aad_1.l98());
|
|
5337
5278
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5338
5279
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5339
5280
|
var tmp_4;
|
|
@@ -5393,7 +5334,7 @@
|
|
|
5393
5334
|
return this.y6h(store, next, action);
|
|
5394
5335
|
};
|
|
5395
5336
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5396
|
-
this.
|
|
5337
|
+
this.sad_1 = this$0;
|
|
5397
5338
|
}
|
|
5398
5339
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5399
5340
|
return action instanceof MechanicAction;
|
|
@@ -5404,7 +5345,7 @@
|
|
|
5404
5345
|
// Inline function 'kotlin.with' call
|
|
5405
5346
|
var tmp;
|
|
5406
5347
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5407
|
-
var tmp0 = this.
|
|
5348
|
+
var tmp0 = this.sad_1;
|
|
5408
5349
|
var tmp2 = action_0.r94_1;
|
|
5409
5350
|
var tmp4 = action_0.t94_1;
|
|
5410
5351
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5414,7 +5355,7 @@
|
|
|
5414
5355
|
var _iterator__ex2g4s = this_0.l();
|
|
5415
5356
|
while (_iterator__ex2g4s.m()) {
|
|
5416
5357
|
var item = _iterator__ex2g4s.n();
|
|
5417
|
-
var tmp$ret$0 = to(item.n66_1, this.
|
|
5358
|
+
var tmp$ret$0 = to(item.n66_1, this.sad_1.rad_1.nac(item.isBot, item.n66_1, get_serverStatePayload_0(state).connectedPlayers).n67_1);
|
|
5418
5359
|
destination.j(tmp$ret$0);
|
|
5419
5360
|
}
|
|
5420
5361
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5444,7 +5385,7 @@
|
|
|
5444
5385
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5445
5386
|
while (_iterator__ex2g4s_2.m()) {
|
|
5446
5387
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5447
|
-
var tmp0_aid = tmp0.
|
|
5388
|
+
var tmp0_aid = tmp0.qad_1.h6e();
|
|
5448
5389
|
// Inline function 'kotlin.collections.map' call
|
|
5449
5390
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5450
5391
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5466,15 +5407,15 @@
|
|
|
5466
5407
|
tmp = destination_2;
|
|
5467
5408
|
} else {
|
|
5468
5409
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5469
|
-
var tmp0_0 = this.
|
|
5410
|
+
var tmp0_0 = this.sad_1;
|
|
5470
5411
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5471
5412
|
var tableId = state.c6s().id;
|
|
5472
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5413
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.qad_1.h6e(), tableId, null);
|
|
5473
5414
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5474
5415
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5475
5416
|
} else {
|
|
5476
5417
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5477
|
-
var tmp0_1 = this.
|
|
5418
|
+
var tmp0_1 = this.sad_1;
|
|
5478
5419
|
var tmp2_0 = action_0.table.id;
|
|
5479
5420
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5480
5421
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5514,7 +5455,7 @@
|
|
|
5514
5455
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5515
5456
|
while (_iterator__ex2g4s_7.m()) {
|
|
5516
5457
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5517
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5458
|
+
var tmp0_aid_0 = tmp0_1.qad_1.h6e();
|
|
5518
5459
|
// Inline function 'kotlin.collections.map' call
|
|
5519
5460
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5520
5461
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5536,39 +5477,39 @@
|
|
|
5536
5477
|
tmp = destination_7;
|
|
5537
5478
|
} else {
|
|
5538
5479
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5539
|
-
var tmp0_2 = this.
|
|
5480
|
+
var tmp0_2 = this.sad_1;
|
|
5540
5481
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5541
5482
|
var tableId_0 = state.c6s().id;
|
|
5542
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5483
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.qad_1.h6e(), tableId_0, null);
|
|
5543
5484
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5544
5485
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5545
5486
|
} else {
|
|
5546
5487
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5547
|
-
var tmp0_3 = this.
|
|
5488
|
+
var tmp0_3 = this.sad_1;
|
|
5548
5489
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5549
5490
|
var tableId_1 = state.c6s().id;
|
|
5550
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5491
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.qad_1.h6e(), tableId_1, null);
|
|
5551
5492
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5552
5493
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5553
5494
|
} else {
|
|
5554
5495
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5555
|
-
var tmp0_4 = this.
|
|
5496
|
+
var tmp0_4 = this.sad_1;
|
|
5556
5497
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5557
5498
|
var tableId_2 = state.c6s().id;
|
|
5558
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5499
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.qad_1.h6e(), tableId_2, null);
|
|
5559
5500
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5560
5501
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5561
5502
|
} else {
|
|
5562
5503
|
if (action_0 instanceof ErrorAction) {
|
|
5563
|
-
var tmp0_5 = this.
|
|
5504
|
+
var tmp0_5 = this.sad_1;
|
|
5564
5505
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5565
5506
|
var tableId_3 = state.c6s().id;
|
|
5566
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5507
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.qad_1.h6e(), tableId_3, null);
|
|
5567
5508
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5568
5509
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5569
5510
|
} else {
|
|
5570
5511
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5571
|
-
var tmp0_6 = this.
|
|
5512
|
+
var tmp0_6 = this.sad_1;
|
|
5572
5513
|
var tmp2_1 = state.c6s().id;
|
|
5573
5514
|
var tmp4_1 = state.c6s().playersConnections;
|
|
5574
5515
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5600,7 +5541,7 @@
|
|
|
5600
5541
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5601
5542
|
while (_iterator__ex2g4s_11.m()) {
|
|
5602
5543
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5603
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5544
|
+
var tmp0_aid_1 = tmp0_6.qad_1.h6e();
|
|
5604
5545
|
// Inline function 'kotlin.collections.map' call
|
|
5605
5546
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5606
5547
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_1, 10));
|
|
@@ -5622,7 +5563,7 @@
|
|
|
5622
5563
|
tmp = destination_11;
|
|
5623
5564
|
} else {
|
|
5624
5565
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5625
|
-
var tmp0_7 = this.
|
|
5566
|
+
var tmp0_7 = this.sad_1;
|
|
5626
5567
|
var tmp2_2 = state.c6s().id;
|
|
5627
5568
|
var tmp4_2 = state.c6s().playersConnections;
|
|
5628
5569
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5654,7 +5595,7 @@
|
|
|
5654
5595
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5655
5596
|
while (_iterator__ex2g4s_15.m()) {
|
|
5656
5597
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5657
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5598
|
+
var tmp0_aid_2 = tmp0_7.qad_1.h6e();
|
|
5658
5599
|
// Inline function 'kotlin.collections.map' call
|
|
5659
5600
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5660
5601
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_2, 10));
|
|
@@ -5676,7 +5617,7 @@
|
|
|
5676
5617
|
tmp = destination_15;
|
|
5677
5618
|
} else {
|
|
5678
5619
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5679
|
-
var tmp0_8 = this.
|
|
5620
|
+
var tmp0_8 = this.sad_1;
|
|
5680
5621
|
var tmp2_3 = state.c6s().id;
|
|
5681
5622
|
var tmp4_3 = state.c6s().playersConnections;
|
|
5682
5623
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5708,7 +5649,7 @@
|
|
|
5708
5649
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5709
5650
|
while (_iterator__ex2g4s_19.m()) {
|
|
5710
5651
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5711
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5652
|
+
var tmp0_aid_3 = tmp0_8.qad_1.h6e();
|
|
5712
5653
|
// Inline function 'kotlin.collections.map' call
|
|
5713
5654
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5714
5655
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5720,7 +5661,7 @@
|
|
|
5720
5661
|
}
|
|
5721
5662
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, gameCreatorPlayerId_1, element_8, destination_20);
|
|
5722
5663
|
var tmp_0;
|
|
5723
|
-
if (this.
|
|
5664
|
+
if (this.sad_1.pad_1.supportBackwardActions && getPlayer(state.c6s().players, sendToPlayer_8.g7h_1).s6v_1.d70_1) {
|
|
5724
5665
|
tmp_0 = null;
|
|
5725
5666
|
} else {
|
|
5726
5667
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5736,81 +5677,81 @@
|
|
|
5736
5677
|
tmp = destination_19;
|
|
5737
5678
|
} else {
|
|
5738
5679
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5739
|
-
var tmp0_9 = this.
|
|
5680
|
+
var tmp0_9 = this.sad_1;
|
|
5740
5681
|
var tmp2_4 = state.c6s().id;
|
|
5741
5682
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5742
|
-
var exceptPlayerId = this.
|
|
5743
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5683
|
+
var exceptPlayerId = this.sad_1.pad_1.supportBackwardActions ? action_0.k95_1 : null;
|
|
5684
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.qad_1.h6e(), tmp2_4, exceptPlayerId);
|
|
5744
5685
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5745
5686
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5746
5687
|
} else {
|
|
5747
5688
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5748
|
-
var tmp0_10 = this.
|
|
5689
|
+
var tmp0_10 = this.sad_1;
|
|
5749
5690
|
var tmp2_5 = state.c6s().id;
|
|
5750
5691
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5751
|
-
var exceptPlayerId_0 = this.
|
|
5752
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5692
|
+
var exceptPlayerId_0 = this.sad_1.pad_1.supportBackwardActions ? action_0.r90_1 : null;
|
|
5693
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.qad_1.h6e(), tmp2_5, exceptPlayerId_0);
|
|
5753
5694
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5754
5695
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5755
5696
|
} else {
|
|
5756
5697
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5757
|
-
var tmp0_11 = this.
|
|
5698
|
+
var tmp0_11 = this.sad_1;
|
|
5758
5699
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5759
5700
|
var tableId_4 = state.c6s().id;
|
|
5760
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5701
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.qad_1.h6e(), tableId_4, null);
|
|
5761
5702
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5762
5703
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5763
5704
|
} else {
|
|
5764
5705
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5765
|
-
var tmp0_12 = this.
|
|
5706
|
+
var tmp0_12 = this.sad_1;
|
|
5766
5707
|
var tmp2_6 = state.c6s().id;
|
|
5767
5708
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5768
|
-
var exceptPlayerId_1 = this.
|
|
5769
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5709
|
+
var exceptPlayerId_1 = this.sad_1.pad_1.supportBackwardActions ? action_0.q95_1 : null;
|
|
5710
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.qad_1.h6e(), tmp2_6, exceptPlayerId_1);
|
|
5770
5711
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5771
5712
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5772
5713
|
} else {
|
|
5773
5714
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5774
|
-
var tmp0_13 = this.
|
|
5715
|
+
var tmp0_13 = this.sad_1;
|
|
5775
5716
|
var tmp2_7 = state.c6s().id;
|
|
5776
5717
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5777
|
-
var exceptPlayerId_2 = this.
|
|
5778
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5718
|
+
var exceptPlayerId_2 = this.sad_1.pad_1.supportBackwardActions ? action_0.x90_1 : null;
|
|
5719
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.qad_1.h6e(), tmp2_7, exceptPlayerId_2);
|
|
5779
5720
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5780
5721
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5781
5722
|
} else {
|
|
5782
5723
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5783
|
-
var tmp0_14 = this.
|
|
5724
|
+
var tmp0_14 = this.sad_1;
|
|
5784
5725
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5785
5726
|
var tableId_5 = state.c6s().id;
|
|
5786
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5727
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.qad_1.h6e(), tableId_5, null);
|
|
5787
5728
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5788
5729
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5789
5730
|
} else {
|
|
5790
5731
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5791
|
-
var tmp0_15 = this.
|
|
5732
|
+
var tmp0_15 = this.sad_1;
|
|
5792
5733
|
var tmp2_8 = state.c6s().id;
|
|
5793
5734
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5794
|
-
var exceptPlayerId_3 = this.
|
|
5795
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5735
|
+
var exceptPlayerId_3 = this.sad_1.pad_1.supportBackwardActions ? action_0.s95_1 : null;
|
|
5736
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.qad_1.h6e(), tmp2_8, exceptPlayerId_3);
|
|
5796
5737
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5797
5738
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5798
5739
|
} else {
|
|
5799
5740
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5800
|
-
var tmp0_16 = this.
|
|
5741
|
+
var tmp0_16 = this.sad_1;
|
|
5801
5742
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5802
5743
|
var tableId_6 = state.c6s().id;
|
|
5803
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5744
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.qad_1.h6e(), tableId_6, null);
|
|
5804
5745
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5805
5746
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5806
5747
|
} else {
|
|
5807
5748
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5808
5749
|
var message = action_0.message;
|
|
5809
|
-
var tmp0_17 = this.
|
|
5750
|
+
var tmp0_17 = this.sad_1;
|
|
5810
5751
|
var tmp2_9 = state.c6s().id;
|
|
5811
5752
|
var tmp_1;
|
|
5812
5753
|
var tmp_2;
|
|
5813
|
-
if (this.
|
|
5754
|
+
if (this.sad_1.pad_1.supportBackwardActions) {
|
|
5814
5755
|
tmp_2 = isInterface(message, UserMessage);
|
|
5815
5756
|
} else {
|
|
5816
5757
|
tmp_2 = false;
|
|
@@ -5822,16 +5763,16 @@
|
|
|
5822
5763
|
}
|
|
5823
5764
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5824
5765
|
var exceptPlayerId_4 = tmp_1;
|
|
5825
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5766
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.qad_1.h6e(), tmp2_9, exceptPlayerId_4);
|
|
5826
5767
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5827
5768
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5828
5769
|
} else {
|
|
5829
5770
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5830
|
-
var tmp0_18 = this.
|
|
5771
|
+
var tmp0_18 = this.sad_1;
|
|
5831
5772
|
var tmp2_10 = state.c6s().id;
|
|
5832
5773
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5833
5774
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5834
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5775
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.qad_1.h6e(), tmp2_10, exceptPlayerId_5);
|
|
5835
5776
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5836
5777
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5837
5778
|
} else {
|
|
@@ -5869,9 +5810,9 @@
|
|
|
5869
5810
|
return this.y6h(store, next, action);
|
|
5870
5811
|
};
|
|
5871
5812
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
5872
|
-
this.
|
|
5873
|
-
this.
|
|
5874
|
-
this.
|
|
5813
|
+
this.pad_1 = logicConfig;
|
|
5814
|
+
this.qad_1 = idsProvider;
|
|
5815
|
+
this.rad_1 = playerConnectionInteractor;
|
|
5875
5816
|
}
|
|
5876
5817
|
protoOf(ServerMapMechanicToClientActionMiddleware).r9a = function () {
|
|
5877
5818
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -5882,8 +5823,8 @@
|
|
|
5882
5823
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5883
5824
|
}
|
|
5884
5825
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5885
|
-
this.
|
|
5886
|
-
this.
|
|
5826
|
+
this.tad_1 = $logger;
|
|
5827
|
+
this.uad_1 = $playerConnectionInteractor;
|
|
5887
5828
|
}
|
|
5888
5829
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5889
5830
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5902,7 +5843,7 @@
|
|
|
5902
5843
|
break $l$block_1;
|
|
5903
5844
|
}
|
|
5904
5845
|
if (player.q6v_1.d69().n67_1.isLeftPermanently) {
|
|
5905
|
-
this.
|
|
5846
|
+
this.tad_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
5906
5847
|
break $l$block_1;
|
|
5907
5848
|
}
|
|
5908
5849
|
}
|
|
@@ -5925,7 +5866,7 @@
|
|
|
5925
5866
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5926
5867
|
while (_iterator__ex2g4s_0.m()) {
|
|
5927
5868
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5928
|
-
if (element_0.
|
|
5869
|
+
if (element_0.vad_1 === tmp4.z93_1) {
|
|
5929
5870
|
if (found) {
|
|
5930
5871
|
tmp$ret$4 = null;
|
|
5931
5872
|
break $l$block_3;
|
|
@@ -5944,7 +5885,7 @@
|
|
|
5944
5885
|
if (!(reconnectionTimerTag == null)) {
|
|
5945
5886
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5946
5887
|
}
|
|
5947
|
-
var actions = this.
|
|
5888
|
+
var actions = this.uad_1.lac(tmp4.y93_1, player.q6v_1.d69().n67_1, player, store.state.c6s(), tmp4.b94_1);
|
|
5948
5889
|
// Inline function 'kotlin.collections.forEach' call
|
|
5949
5890
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5950
5891
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5961,17 +5902,17 @@
|
|
|
5961
5902
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5962
5903
|
}
|
|
5963
5904
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5964
|
-
this.
|
|
5965
|
-
this.
|
|
5966
|
-
this.
|
|
5905
|
+
this.vad_1 = playerId;
|
|
5906
|
+
this.wad_1 = state;
|
|
5907
|
+
this.xad_1 = previousState;
|
|
5967
5908
|
}
|
|
5968
5909
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5969
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5910
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.vad_1 + ', state=' + this.wad_1.toString() + ', previousState=' + this.xad_1.toString() + ')';
|
|
5970
5911
|
};
|
|
5971
5912
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5972
|
-
var result = getStringHashCode(this.
|
|
5973
|
-
result = imul(result, 31) + this.
|
|
5974
|
-
result = imul(result, 31) + this.
|
|
5913
|
+
var result = getStringHashCode(this.vad_1);
|
|
5914
|
+
result = imul(result, 31) + this.wad_1.hashCode() | 0;
|
|
5915
|
+
result = imul(result, 31) + this.xad_1.hashCode() | 0;
|
|
5975
5916
|
return result;
|
|
5976
5917
|
};
|
|
5977
5918
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5979,16 +5920,16 @@
|
|
|
5979
5920
|
return true;
|
|
5980
5921
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5981
5922
|
return false;
|
|
5982
|
-
if (!(this.
|
|
5923
|
+
if (!(this.vad_1 === other.vad_1))
|
|
5983
5924
|
return false;
|
|
5984
|
-
if (!this.
|
|
5925
|
+
if (!this.wad_1.equals(other.wad_1))
|
|
5985
5926
|
return false;
|
|
5986
|
-
if (!this.
|
|
5927
|
+
if (!this.xad_1.equals(other.xad_1))
|
|
5987
5928
|
return false;
|
|
5988
5929
|
return true;
|
|
5989
5930
|
};
|
|
5990
5931
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5991
|
-
this.
|
|
5932
|
+
this.yad_1 = $playerConnectionInteractor;
|
|
5992
5933
|
}
|
|
5993
5934
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5994
5935
|
return action instanceof TimerTickAction;
|
|
@@ -6002,8 +5943,8 @@
|
|
|
6002
5943
|
var timerTag = tmp4.f6g_1;
|
|
6003
5944
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
6004
5945
|
var state = store.state;
|
|
6005
|
-
var player = getPlayer(state.c6s().players, timerTag.
|
|
6006
|
-
var actions = this.
|
|
5946
|
+
var player = getPlayer(state.c6s().players, timerTag.vad_1);
|
|
5947
|
+
var actions = this.yad_1.lac(timerTag.wad_1, timerTag.xad_1, player, state.c6s(), true);
|
|
6007
5948
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6008
5949
|
if (!actions.r()) {
|
|
6009
5950
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6025,7 +5966,7 @@
|
|
|
6025
5966
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6026
5967
|
}
|
|
6027
5968
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6028
|
-
this.
|
|
5969
|
+
this.zad_1 = $playerConnectionInteractor;
|
|
6029
5970
|
}
|
|
6030
5971
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6031
5972
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -6053,7 +5994,7 @@
|
|
|
6053
5994
|
var tmp1_previousConnectionState = element_0.q6v_1.d69().n67_1;
|
|
6054
5995
|
var tmp2_playerId = element_0.playerId;
|
|
6055
5996
|
// Inline function 'kotlin.collections.forEach' call
|
|
6056
|
-
var _iterator__ex2g4s_1 = this.
|
|
5997
|
+
var _iterator__ex2g4s_1 = this.zad_1.mac(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).l();
|
|
6057
5998
|
while (_iterator__ex2g4s_1.m()) {
|
|
6058
5999
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
6059
6000
|
store.dispatch(element_1);
|
|
@@ -6068,8 +6009,8 @@
|
|
|
6068
6009
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6069
6010
|
}
|
|
6070
6011
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6071
|
-
this.
|
|
6072
|
-
this.
|
|
6012
|
+
this.iae_1 = $provider;
|
|
6013
|
+
this.jae_1 = $action;
|
|
6073
6014
|
CoroutineImpl.call(this, resultContinuation);
|
|
6074
6015
|
}
|
|
6075
6016
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -6090,7 +6031,7 @@
|
|
|
6090
6031
|
case 0:
|
|
6091
6032
|
this.t8_1 = 2;
|
|
6092
6033
|
this.s8_1 = 1;
|
|
6093
|
-
suspendResult = this.
|
|
6034
|
+
suspendResult = this.iae_1.faa(this.jae_1, this);
|
|
6094
6035
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6095
6036
|
return suspendResult;
|
|
6096
6037
|
}
|
|
@@ -6113,8 +6054,8 @@
|
|
|
6113
6054
|
while (true);
|
|
6114
6055
|
};
|
|
6115
6056
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).d2d = function ($this$launchDefault, completion) {
|
|
6116
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6117
|
-
i.
|
|
6057
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.iae_1, this.jae_1, completion);
|
|
6058
|
+
i.kae_1 = $this$launchDefault;
|
|
6118
6059
|
return i;
|
|
6119
6060
|
};
|
|
6120
6061
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6126,15 +6067,15 @@
|
|
|
6126
6067
|
return l;
|
|
6127
6068
|
}
|
|
6128
6069
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6129
|
-
this.
|
|
6130
|
-
this.
|
|
6070
|
+
this.lae_1 = $asyncProvider;
|
|
6071
|
+
this.mae_1 = $provider;
|
|
6131
6072
|
}
|
|
6132
6073
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6133
6074
|
return action instanceof ToClientAction;
|
|
6134
6075
|
};
|
|
6135
6076
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).y6h = function (store, next, action) {
|
|
6136
6077
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6137
|
-
this.
|
|
6078
|
+
this.lae_1.m6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.mae_1, action_0, null));
|
|
6138
6079
|
next(action_0);
|
|
6139
6080
|
};
|
|
6140
6081
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).i6g = function (store, next, action) {
|
|
@@ -6145,11 +6086,11 @@
|
|
|
6145
6086
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6146
6087
|
}
|
|
6147
6088
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6148
|
-
this.
|
|
6149
|
-
this.
|
|
6150
|
-
this.
|
|
6151
|
-
this.
|
|
6152
|
-
this.
|
|
6089
|
+
this.vae_1 = $store;
|
|
6090
|
+
this.wae_1 = $timerTag;
|
|
6091
|
+
this.xae_1 = $serverConfig;
|
|
6092
|
+
this.yae_1 = $logger;
|
|
6093
|
+
this.zae_1 = $action;
|
|
6153
6094
|
CoroutineImpl.call(this, resultContinuation);
|
|
6154
6095
|
}
|
|
6155
6096
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).c2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6168,13 +6109,13 @@
|
|
|
6168
6109
|
var tmp = this.s8_1;
|
|
6169
6110
|
if (tmp === 0) {
|
|
6170
6111
|
this.t8_1 = 1;
|
|
6171
|
-
var table = this.
|
|
6172
|
-
var player = getPlayer(table.players, this.
|
|
6112
|
+
var table = this.vae_1.state.c6s();
|
|
6113
|
+
var player = getPlayer(table.players, this.wae_1.z65());
|
|
6173
6114
|
var connectionState = player.q6v_1.d69().n67_1;
|
|
6174
6115
|
var tmp_0;
|
|
6175
6116
|
switch (connectionState.q2_1) {
|
|
6176
6117
|
case 1:
|
|
6177
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6118
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.wae_1.n9h_1));
|
|
6178
6119
|
break;
|
|
6179
6120
|
case 6:
|
|
6180
6121
|
tmp_0 = emptyList();
|
|
@@ -6184,8 +6125,8 @@
|
|
|
6184
6125
|
case 3:
|
|
6185
6126
|
case 2:
|
|
6186
6127
|
var tmp_1;
|
|
6187
|
-
if (table.sceneInfo.n7g() && this.
|
|
6188
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6128
|
+
if (table.sceneInfo.n7g() && this.xae_1.closeIfBotsAtFinish) {
|
|
6129
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.wae_1.n9h_1);
|
|
6189
6130
|
} else {
|
|
6190
6131
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6191
6132
|
}
|
|
@@ -6194,7 +6135,7 @@
|
|
|
6194
6135
|
break;
|
|
6195
6136
|
case 0:
|
|
6196
6137
|
case 7:
|
|
6197
|
-
this.
|
|
6138
|
+
this.yae_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.zae_1.toString()));
|
|
6198
6139
|
tmp_0 = emptyList();
|
|
6199
6140
|
break;
|
|
6200
6141
|
default:
|
|
@@ -6206,7 +6147,7 @@
|
|
|
6206
6147
|
var _iterator__ex2g4s = actions.l();
|
|
6207
6148
|
while (_iterator__ex2g4s.m()) {
|
|
6208
6149
|
var element = _iterator__ex2g4s.n();
|
|
6209
|
-
this.
|
|
6150
|
+
this.vae_1.dispatch(element);
|
|
6210
6151
|
}
|
|
6211
6152
|
}
|
|
6212
6153
|
return Unit_instance;
|
|
@@ -6220,8 +6161,8 @@
|
|
|
6220
6161
|
while (true);
|
|
6221
6162
|
};
|
|
6222
6163
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).d2d = function ($this$launchDefaultWithLock, completion) {
|
|
6223
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6224
|
-
i.
|
|
6164
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.vae_1, this.wae_1, this.xae_1, this.yae_1, this.zae_1, completion);
|
|
6165
|
+
i.aaf_1 = $this$launchDefaultWithLock;
|
|
6225
6166
|
return i;
|
|
6226
6167
|
};
|
|
6227
6168
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6233,9 +6174,9 @@
|
|
|
6233
6174
|
return l;
|
|
6234
6175
|
}
|
|
6235
6176
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6236
|
-
this.
|
|
6237
|
-
this.
|
|
6238
|
-
this.
|
|
6177
|
+
this.baf_1 = $asyncProvider;
|
|
6178
|
+
this.caf_1 = $serverConfig;
|
|
6179
|
+
this.daf_1 = $logger;
|
|
6239
6180
|
}
|
|
6240
6181
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6241
6182
|
return action instanceof TimerTickAction;
|
|
@@ -6244,7 +6185,7 @@
|
|
|
6244
6185
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6245
6186
|
var timerTag = action_0.f6g_1;
|
|
6246
6187
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6247
|
-
this.
|
|
6188
|
+
this.baf_1.o6c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.caf_1, this.daf_1, action_0, null));
|
|
6248
6189
|
}
|
|
6249
6190
|
next(action_0);
|
|
6250
6191
|
};
|
|
@@ -6262,7 +6203,7 @@
|
|
|
6262
6203
|
};
|
|
6263
6204
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).w9j = function (state, action) {
|
|
6264
6205
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6265
|
-
return state.r93(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
6206
|
+
return state.r93(VOID, get_serverStatePayload_0(state).copy(action_0.tac_1));
|
|
6266
6207
|
};
|
|
6267
6208
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6268
6209
|
return this.w9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -6272,7 +6213,7 @@
|
|
|
6272
6213
|
return _this__u8e3s4.metadata;
|
|
6273
6214
|
}
|
|
6274
6215
|
function Companion_5() {
|
|
6275
|
-
this.
|
|
6216
|
+
this.eaf_1 = 'ServerMechanicLifecycleReducer';
|
|
6276
6217
|
}
|
|
6277
6218
|
var Companion_instance_15;
|
|
6278
6219
|
function Companion_getInstance_6() {
|
|
@@ -6280,17 +6221,17 @@
|
|
|
6280
6221
|
}
|
|
6281
6222
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6282
6223
|
return function (it) {
|
|
6283
|
-
return Companion_instance_4.z68(this$0.
|
|
6224
|
+
return Companion_instance_4.z68(this$0.iaf_1.nac(it.isBot, it.n66_1, $updatedServerPayload.connectedPlayers));
|
|
6284
6225
|
};
|
|
6285
6226
|
}
|
|
6286
6227
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6287
6228
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6288
|
-
this.
|
|
6289
|
-
this.
|
|
6229
|
+
this.haf_1 = logger;
|
|
6230
|
+
this.iaf_1 = connectionInteractor;
|
|
6290
6231
|
}
|
|
6291
6232
|
protoOf(ServerMechanicLifecycleReducer).n9l = function (state, action) {
|
|
6292
6233
|
var serverState = get_serverStatePayload_0(state);
|
|
6293
|
-
this.
|
|
6234
|
+
this.haf_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6294
6235
|
var tableId = action.r94_1;
|
|
6295
6236
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6296
6237
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -6304,7 +6245,7 @@
|
|
|
6304
6245
|
return state.r93(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6305
6246
|
};
|
|
6306
6247
|
protoOf(ServerMechanicLifecycleReducer).l9l = function (state, action) {
|
|
6307
|
-
this.
|
|
6248
|
+
this.haf_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6308
6249
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6309
6250
|
var tmp2_tableOrNull = action.table;
|
|
6310
6251
|
var tmp = Companion_instance_16;
|
|
@@ -6326,7 +6267,7 @@
|
|
|
6326
6267
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6327
6268
|
}
|
|
6328
6269
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6329
|
-
this.
|
|
6270
|
+
this.jaf_1 = $logger;
|
|
6330
6271
|
}
|
|
6331
6272
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6332
6273
|
return isInterface(action, SpectatorsAction);
|
|
@@ -6337,7 +6278,7 @@
|
|
|
6337
6278
|
var tmp;
|
|
6338
6279
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6339
6280
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6340
|
-
var tmp0 = action_0.
|
|
6281
|
+
var tmp0 = action_0.uac_1;
|
|
6341
6282
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6342
6283
|
var destination = ArrayList_init_$Create$_0();
|
|
6343
6284
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6356,9 +6297,9 @@
|
|
|
6356
6297
|
var tmp_0;
|
|
6357
6298
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6358
6299
|
if (!sameSpectators.r()) {
|
|
6359
|
-
this.
|
|
6300
|
+
this.jaf_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6360
6301
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6361
|
-
var tmp0_0 = action_0.
|
|
6302
|
+
var tmp0_0 = action_0.uac_1;
|
|
6362
6303
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6363
6304
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6364
6305
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6393,7 +6334,7 @@
|
|
|
6393
6334
|
}
|
|
6394
6335
|
tmp_0 = destination_0;
|
|
6395
6336
|
} else {
|
|
6396
|
-
tmp_0 = action_0.
|
|
6337
|
+
tmp_0 = action_0.uac_1;
|
|
6397
6338
|
}
|
|
6398
6339
|
// Inline function 'kotlin.collections.map' call
|
|
6399
6340
|
var this_0 = tmp_0;
|
|
@@ -6410,7 +6351,7 @@
|
|
|
6410
6351
|
} else {
|
|
6411
6352
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6412
6353
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6413
|
-
var tmp0_1 = action_0.
|
|
6354
|
+
var tmp0_1 = action_0.vac_1;
|
|
6414
6355
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6415
6356
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6416
6357
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6429,9 +6370,9 @@
|
|
|
6429
6370
|
var tmp_2;
|
|
6430
6371
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6431
6372
|
if (!sameSpectators_0.r()) {
|
|
6432
|
-
this.
|
|
6373
|
+
this.jaf_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6433
6374
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6434
|
-
var tmp0_2 = action_0.
|
|
6375
|
+
var tmp0_2 = action_0.vac_1;
|
|
6435
6376
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6436
6377
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6437
6378
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6466,7 +6407,7 @@
|
|
|
6466
6407
|
}
|
|
6467
6408
|
tmp_2 = destination_3;
|
|
6468
6409
|
} else {
|
|
6469
|
-
tmp_2 = action_0.
|
|
6410
|
+
tmp_2 = action_0.vac_1;
|
|
6470
6411
|
}
|
|
6471
6412
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6472
6413
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6538,13 +6479,13 @@
|
|
|
6538
6479
|
};
|
|
6539
6480
|
function Companion_6() {
|
|
6540
6481
|
}
|
|
6541
|
-
protoOf(Companion_6).
|
|
6482
|
+
protoOf(Companion_6).kaf = function (config, metadata) {
|
|
6542
6483
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6543
6484
|
};
|
|
6544
6485
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6545
6486
|
config = config === VOID ? Companion_instance_10.initial(null) : config;
|
|
6546
6487
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6547
|
-
return $super === VOID ? this.
|
|
6488
|
+
return $super === VOID ? this.kaf(config, metadata) : $super.kaf.call(this, config, metadata);
|
|
6548
6489
|
};
|
|
6549
6490
|
var Companion_instance_16;
|
|
6550
6491
|
function Companion_getInstance_7() {
|
|
@@ -6561,7 +6502,7 @@
|
|
|
6561
6502
|
protoOf(ServerStatePayload).x8m = function () {
|
|
6562
6503
|
return this.metadata;
|
|
6563
6504
|
};
|
|
6564
|
-
protoOf(ServerStatePayload).
|
|
6505
|
+
protoOf(ServerStatePayload).laf = function () {
|
|
6565
6506
|
return this.connectedPlayers;
|
|
6566
6507
|
};
|
|
6567
6508
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6573,14 +6514,14 @@
|
|
|
6573
6514
|
protoOf(ServerStatePayload).yl = function () {
|
|
6574
6515
|
return this.connectedPlayers;
|
|
6575
6516
|
};
|
|
6576
|
-
protoOf(ServerStatePayload).
|
|
6517
|
+
protoOf(ServerStatePayload).maf = function (config, metadata, connectedPlayers) {
|
|
6577
6518
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6578
6519
|
};
|
|
6579
6520
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6580
6521
|
config = config === VOID ? this.config : config;
|
|
6581
6522
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6582
6523
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6583
|
-
return $super === VOID ? this.
|
|
6524
|
+
return $super === VOID ? this.maf(config, metadata, connectedPlayers) : $super.maf.call(this, config, metadata, connectedPlayers);
|
|
6584
6525
|
};
|
|
6585
6526
|
protoOf(ServerStatePayload).toString = function () {
|
|
6586
6527
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6645,14 +6586,14 @@
|
|
|
6645
6586
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6646
6587
|
}
|
|
6647
6588
|
function _get_logger__rkp4sl_0($this) {
|
|
6648
|
-
var tmp0 = $this.
|
|
6589
|
+
var tmp0 = $this.waf_1;
|
|
6649
6590
|
var tmp = KProperty1;
|
|
6650
6591
|
// Inline function 'kotlin.getValue' call
|
|
6651
6592
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6652
6593
|
return tmp0.x();
|
|
6653
6594
|
}
|
|
6654
6595
|
function _get_di__ndbzja($this) {
|
|
6655
|
-
var tmp0 = $this.
|
|
6596
|
+
var tmp0 = $this.xaf_1;
|
|
6656
6597
|
var tmp = KProperty1;
|
|
6657
6598
|
// Inline function 'kotlin.getValue' call
|
|
6658
6599
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6669,8 +6610,8 @@
|
|
|
6669
6610
|
}
|
|
6670
6611
|
function createCallbackOutput($this, gameServer) {
|
|
6671
6612
|
var tmp;
|
|
6672
|
-
if (!($this.
|
|
6673
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6613
|
+
if (!($this.uaf_1 == null)) {
|
|
6614
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.uaf_1);
|
|
6674
6615
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6675
6616
|
} else {
|
|
6676
6617
|
tmp = null;
|
|
@@ -6684,11 +6625,11 @@
|
|
|
6684
6625
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6685
6626
|
return function () {
|
|
6686
6627
|
var tmp;
|
|
6687
|
-
if (this$0.
|
|
6628
|
+
if (this$0.uaf_1 == null) {
|
|
6688
6629
|
tmp = null;
|
|
6689
6630
|
} else {
|
|
6690
6631
|
// Inline function 'kotlin.let' call
|
|
6691
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6632
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.uaf_1)]));
|
|
6692
6633
|
}
|
|
6693
6634
|
var tmp1_elvis_lhs = tmp;
|
|
6694
6635
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6721,7 +6662,7 @@
|
|
|
6721
6662
|
tmp_0.d63(tmp$ret$3);
|
|
6722
6663
|
$this$DI.h5z(jsonModule());
|
|
6723
6664
|
$this$DI.h5z(serverHelpersModule());
|
|
6724
|
-
$this$DI.h5z(randomOrgModule(this$0.
|
|
6665
|
+
$this$DI.h5z(randomOrgModule(this$0.vaf_1));
|
|
6725
6666
|
return Unit_instance;
|
|
6726
6667
|
};
|
|
6727
6668
|
}
|
|
@@ -6797,13 +6738,13 @@
|
|
|
6797
6738
|
};
|
|
6798
6739
|
}
|
|
6799
6740
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6800
|
-
this.
|
|
6741
|
+
this.eag_1 = $reducer;
|
|
6801
6742
|
}
|
|
6802
6743
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j6g = function (action) {
|
|
6803
6744
|
return isInterface(action, Action);
|
|
6804
6745
|
};
|
|
6805
6746
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).w9j = function (state, action) {
|
|
6806
|
-
return this.
|
|
6747
|
+
return this.eag_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6807
6748
|
};
|
|
6808
6749
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).z6h = function (state, action) {
|
|
6809
6750
|
return this.w9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -6907,7 +6848,7 @@
|
|
|
6907
6848
|
// Inline function 'kotlin.let' call
|
|
6908
6849
|
$this$DI.h5z(tmp0_safe_receiver);
|
|
6909
6850
|
}
|
|
6910
|
-
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6851
|
+
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.vaf_1));
|
|
6911
6852
|
$this$DI.h5z(coreModule($coreConfig));
|
|
6912
6853
|
$this$DI.h5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6913
6854
|
return Unit_instance;
|
|
@@ -6916,8 +6857,8 @@
|
|
|
6916
6857
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6917
6858
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6918
6859
|
production = production === VOID ? true : production;
|
|
6919
|
-
this.
|
|
6920
|
-
this.
|
|
6860
|
+
this.uaf_1 = loggerCallback;
|
|
6861
|
+
this.vaf_1 = randomOrgConfig;
|
|
6921
6862
|
var tmp = AppEnvironment_getInstance();
|
|
6922
6863
|
var tmp_0;
|
|
6923
6864
|
if (production) {
|
|
@@ -6927,9 +6868,9 @@
|
|
|
6927
6868
|
}
|
|
6928
6869
|
tmp.g6m(tmp_0);
|
|
6929
6870
|
var tmp_1 = this;
|
|
6930
|
-
tmp_1.
|
|
6871
|
+
tmp_1.waf_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6931
6872
|
var tmp_2 = this;
|
|
6932
|
-
tmp_2.
|
|
6873
|
+
tmp_2.xaf_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6933
6874
|
var tmp_3 = this;
|
|
6934
6875
|
// Inline function 'org.kodein.di.instance' call
|
|
6935
6876
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6938,7 +6879,7 @@
|
|
|
6938
6879
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6939
6880
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6940
6881
|
var tmp_6 = KProperty1;
|
|
6941
|
-
tmp_3.
|
|
6882
|
+
tmp_3.yaf_1 = tmp_5.a65(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6942
6883
|
var tmp_7 = this;
|
|
6943
6884
|
// Inline function 'org.kodein.di.instance' call
|
|
6944
6885
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6947,7 +6888,7 @@
|
|
|
6947
6888
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6948
6889
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6949
6890
|
var tmp_10 = KProperty1;
|
|
6950
|
-
tmp_7.
|
|
6891
|
+
tmp_7.zaf_1 = tmp_9.a65(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6951
6892
|
var tmp_11 = this;
|
|
6952
6893
|
// Inline function 'org.kodein.di.instance' call
|
|
6953
6894
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6956,7 +6897,7 @@
|
|
|
6956
6897
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6957
6898
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6958
6899
|
var tmp_14 = KProperty1;
|
|
6959
|
-
tmp_11.
|
|
6900
|
+
tmp_11.aag_1 = tmp_13.a65(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6960
6901
|
var tmp_15 = this;
|
|
6961
6902
|
// Inline function 'org.kodein.di.instance' call
|
|
6962
6903
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6965,7 +6906,7 @@
|
|
|
6965
6906
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6966
6907
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6967
6908
|
var tmp_18 = KProperty1;
|
|
6968
|
-
tmp_15.
|
|
6909
|
+
tmp_15.bag_1 = tmp_17.a65(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6969
6910
|
var tmp_19 = this;
|
|
6970
6911
|
// Inline function 'org.kodein.di.instance' call
|
|
6971
6912
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6974,7 +6915,7 @@
|
|
|
6974
6915
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6975
6916
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6976
6917
|
var tmp_22 = KProperty1;
|
|
6977
|
-
tmp_19.
|
|
6918
|
+
tmp_19.cag_1 = tmp_21.a65(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6978
6919
|
var tmp_23 = this;
|
|
6979
6920
|
// Inline function 'org.kodein.di.instance' call
|
|
6980
6921
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6983,45 +6924,45 @@
|
|
|
6983
6924
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6984
6925
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6985
6926
|
var tmp_26 = KProperty1;
|
|
6986
|
-
tmp_23.
|
|
6927
|
+
tmp_23.dag_1 = tmp_25.a65(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6987
6928
|
}
|
|
6988
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6989
|
-
var tmp0 = this.
|
|
6929
|
+
protoOf(GameServerEngineControllerImpl).naf = function () {
|
|
6930
|
+
var tmp0 = this.yaf_1;
|
|
6990
6931
|
var tmp = KProperty1;
|
|
6991
6932
|
// Inline function 'kotlin.getValue' call
|
|
6992
6933
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6993
6934
|
return tmp0.x();
|
|
6994
6935
|
};
|
|
6995
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6996
|
-
var tmp0 = this.
|
|
6936
|
+
protoOf(GameServerEngineControllerImpl).paf = function () {
|
|
6937
|
+
var tmp0 = this.zaf_1;
|
|
6997
6938
|
var tmp = KProperty1;
|
|
6998
6939
|
// Inline function 'kotlin.getValue' call
|
|
6999
6940
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
7000
6941
|
return tmp0.x();
|
|
7001
6942
|
};
|
|
7002
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7003
|
-
var tmp0 = this.
|
|
6943
|
+
protoOf(GameServerEngineControllerImpl).qaf = function () {
|
|
6944
|
+
var tmp0 = this.aag_1;
|
|
7004
6945
|
var tmp = KProperty1;
|
|
7005
6946
|
// Inline function 'kotlin.getValue' call
|
|
7006
6947
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
7007
6948
|
return tmp0.x();
|
|
7008
6949
|
};
|
|
7009
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7010
|
-
var tmp0 = this.
|
|
6950
|
+
protoOf(GameServerEngineControllerImpl).raf = function () {
|
|
6951
|
+
var tmp0 = this.bag_1;
|
|
7011
6952
|
var tmp = KProperty1;
|
|
7012
6953
|
// Inline function 'kotlin.getValue' call
|
|
7013
6954
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
7014
6955
|
return tmp0.x();
|
|
7015
6956
|
};
|
|
7016
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7017
|
-
var tmp0 = this.
|
|
6957
|
+
protoOf(GameServerEngineControllerImpl).oaf = function () {
|
|
6958
|
+
var tmp0 = this.cag_1;
|
|
7018
6959
|
var tmp = KProperty1;
|
|
7019
6960
|
// Inline function 'kotlin.getValue' call
|
|
7020
6961
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
7021
6962
|
return tmp0.x();
|
|
7022
6963
|
};
|
|
7023
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7024
|
-
var tmp0 = this.
|
|
6964
|
+
protoOf(GameServerEngineControllerImpl).saf = function () {
|
|
6965
|
+
var tmp0 = this.dag_1;
|
|
7025
6966
|
var tmp = KProperty1;
|
|
7026
6967
|
// Inline function 'kotlin.getValue' call
|
|
7027
6968
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -7033,7 +6974,7 @@
|
|
|
7033
6974
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
7034
6975
|
return this.createGameEngineWithLogic();
|
|
7035
6976
|
};
|
|
7036
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6977
|
+
protoOf(GameServerEngineControllerImpl).taf = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
7037
6978
|
var combinedLogger = Companion_instance_8.nx();
|
|
7038
6979
|
var gameServer = {_v: null};
|
|
7039
6980
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -7081,7 +7022,7 @@
|
|
|
7081
7022
|
function TestHelper() {
|
|
7082
7023
|
}
|
|
7083
7024
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7084
|
-
var tmp0 = $this.
|
|
7025
|
+
var tmp0 = $this.hag_1;
|
|
7085
7026
|
var tmp = KProperty1;
|
|
7086
7027
|
// Inline function 'kotlin.getValue' call
|
|
7087
7028
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7089,7 +7030,7 @@
|
|
|
7089
7030
|
}
|
|
7090
7031
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7091
7032
|
return function ($this$singleton) {
|
|
7092
|
-
return this$0.
|
|
7033
|
+
return this$0.fag_1;
|
|
7093
7034
|
};
|
|
7094
7035
|
}
|
|
7095
7036
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7129,19 +7070,19 @@
|
|
|
7129
7070
|
return emptyMap();
|
|
7130
7071
|
}
|
|
7131
7072
|
function TestHelperImpl(logger) {
|
|
7132
|
-
this.
|
|
7073
|
+
this.fag_1 = logger;
|
|
7133
7074
|
var tmp = this;
|
|
7134
7075
|
var tmp_0 = Companion_instance_6;
|
|
7135
|
-
tmp.
|
|
7076
|
+
tmp.gag_1 = tmp_0.o5z(VOID, TestHelperImpl$di$lambda(this));
|
|
7136
7077
|
var tmp_1 = this;
|
|
7137
7078
|
// Inline function 'org.kodein.di.instance' call
|
|
7138
|
-
var this_0 = this.
|
|
7079
|
+
var this_0 = this.gag_1;
|
|
7139
7080
|
// Inline function 'org.kodein.type.generic' call
|
|
7140
7081
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7141
7082
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7142
7083
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7143
7084
|
var tmp_4 = KProperty1;
|
|
7144
|
-
tmp_1.
|
|
7085
|
+
tmp_1.hag_1 = tmp_3.a65(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7145
7086
|
}
|
|
7146
7087
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7147
7088
|
return _get_playerAnswerInteractor__msggz1(this).e8u(playerId, table, botConfig);
|
|
@@ -7214,14 +7155,14 @@
|
|
|
7214
7155
|
function RoomMetadata() {
|
|
7215
7156
|
var tmp = this;
|
|
7216
7157
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7217
|
-
tmp.
|
|
7158
|
+
tmp.iag_1 = LinkedHashMap_init_$Create$();
|
|
7218
7159
|
this.extras = {};
|
|
7219
|
-
this.extras = this.
|
|
7160
|
+
this.extras = this.iag_1;
|
|
7220
7161
|
}
|
|
7221
|
-
protoOf(RoomMetadata).
|
|
7162
|
+
protoOf(RoomMetadata).jag = function () {
|
|
7222
7163
|
return this.extras;
|
|
7223
7164
|
};
|
|
7224
|
-
protoOf(RoomMetadata).
|
|
7165
|
+
protoOf(RoomMetadata).jag = function () {
|
|
7225
7166
|
return this.extras;
|
|
7226
7167
|
};
|
|
7227
7168
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7239,7 +7180,7 @@
|
|
|
7239
7180
|
};
|
|
7240
7181
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7241
7182
|
// Inline function 'kotlin.collections.set' call
|
|
7242
|
-
this.
|
|
7183
|
+
this.iag_1.f2(gameId, game);
|
|
7243
7184
|
};
|
|
7244
7185
|
function GameMetadata(gameId) {
|
|
7245
7186
|
this.gameId = gameId;
|
|
@@ -7248,7 +7189,7 @@
|
|
|
7248
7189
|
protoOf(GameMetadata).d54 = function () {
|
|
7249
7190
|
return this.gameId;
|
|
7250
7191
|
};
|
|
7251
|
-
protoOf(GameMetadata).
|
|
7192
|
+
protoOf(GameMetadata).jag = function () {
|
|
7252
7193
|
return this.extras;
|
|
7253
7194
|
};
|
|
7254
7195
|
function serverHelpersModule() {
|
|
@@ -7357,22 +7298,22 @@
|
|
|
7357
7298
|
protoOf(PlayerReconnectionWaitingTimerTag).b93 = ignoreTimerResetValidation;
|
|
7358
7299
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7359
7300
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7360
|
-
return this.
|
|
7301
|
+
return this.naf();
|
|
7361
7302
|
});
|
|
7362
7303
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7363
|
-
return this.
|
|
7304
|
+
return this.paf();
|
|
7364
7305
|
});
|
|
7365
7306
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7366
|
-
return this.
|
|
7307
|
+
return this.qaf();
|
|
7367
7308
|
});
|
|
7368
7309
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7369
|
-
return this.
|
|
7310
|
+
return this.raf();
|
|
7370
7311
|
});
|
|
7371
7312
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7372
|
-
return this.
|
|
7313
|
+
return this.oaf();
|
|
7373
7314
|
});
|
|
7374
7315
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7375
|
-
return this.
|
|
7316
|
+
return this.saf();
|
|
7376
7317
|
});
|
|
7377
7318
|
//endregion
|
|
7378
7319
|
//region block: init
|