raspberry_games_server_game_logic 1.8.394 → 1.8.396
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +8 -10
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +813 -660
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
var fromInt = kotlin_kotlin.$_$.db;
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
62
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
62
63
|
var to = kotlin_kotlin.$_$.pi;
|
|
63
64
|
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
64
65
|
var defineProp = kotlin_kotlin.$_$.ac;
|
|
@@ -76,7 +77,6 @@
|
|
|
76
77
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
77
78
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
78
79
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
79
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
81
81
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t3;
|
|
82
82
|
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
@@ -311,12 +311,14 @@
|
|
|
311
311
|
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
312
312
|
initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, [Flow], [1]);
|
|
313
313
|
initMetadataForLambda(GameServer$observeTableStateUpdates$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
314
|
-
initMetadataForLambda(GameServer$
|
|
314
|
+
initMetadataForLambda(GameServer$observeTableStateUpdates$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
315
315
|
initMetadataForCoroutine($collectCOROUTINE$_1, CoroutineImpl);
|
|
316
|
-
initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$
|
|
316
|
+
initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
317
317
|
initMetadataForCoroutine($collectCOROUTINE$_2, CoroutineImpl);
|
|
318
|
-
initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$
|
|
318
|
+
initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1, CoroutineImpl, VOID, [1]);
|
|
319
319
|
initMetadataForCoroutine($collectCOROUTINE$_3, CoroutineImpl);
|
|
320
|
+
initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3, CoroutineImpl, VOID, [1]);
|
|
321
|
+
initMetadataForCoroutine($collectCOROUTINE$_4, CoroutineImpl);
|
|
320
322
|
initMetadataForLambda(GameServer$subscribeWith$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
321
323
|
initMetadataForClass(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1, VOID, VOID, VOID, [PlayerIdContract]);
|
|
322
324
|
initMetadataForCompanion(Companion);
|
|
@@ -330,6 +332,7 @@
|
|
|
330
332
|
initMetadataForLambda(GameServer$subscribeServerStateUpdate$slambda, CoroutineImpl, VOID, [1]);
|
|
331
333
|
initMetadataForLambda(GameServer$subscribeServerStateUpdateJson$slambda, CoroutineImpl, VOID, [1]);
|
|
332
334
|
initMetadataForLambda(GameServer$observeTableStateUpdates$slambda, CoroutineImpl, VOID, [2]);
|
|
335
|
+
initMetadataForClass(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1, VOID, VOID, VOID, [Flow], [1]);
|
|
333
336
|
initMetadataForClass(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1, VOID, VOID, VOID, [Flow], [1]);
|
|
334
337
|
initMetadataForClass(GameServer$observeTableWhenRoundChanges$$inlined$map$1, VOID, VOID, VOID, [Flow], [1]);
|
|
335
338
|
initMetadataForClass(GameServer$observeTableWhenRoundChanges$$inlined$map$2, VOID, VOID, VOID, [Flow], [1]);
|
|
@@ -361,10 +364,10 @@
|
|
|
361
364
|
spectators = tmp;
|
|
362
365
|
var tmp_0;
|
|
363
366
|
if ($super === VOID) {
|
|
364
|
-
this.
|
|
367
|
+
this.l9x(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
365
368
|
tmp_0 = Unit_instance;
|
|
366
369
|
} else {
|
|
367
|
-
tmp_0 = $super.
|
|
370
|
+
tmp_0 = $super.l9x.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
368
371
|
}
|
|
369
372
|
return tmp_0;
|
|
370
373
|
}
|
|
@@ -372,10 +375,10 @@
|
|
|
372
375
|
newRid = newRid === VOID ? null : newRid;
|
|
373
376
|
var tmp;
|
|
374
377
|
if ($super === VOID) {
|
|
375
|
-
this.
|
|
378
|
+
this.m9x(newRid);
|
|
376
379
|
tmp = Unit_instance;
|
|
377
380
|
} else {
|
|
378
|
-
tmp = $super.
|
|
381
|
+
tmp = $super.m9x.call(this, newRid);
|
|
379
382
|
}
|
|
380
383
|
return tmp;
|
|
381
384
|
}
|
|
@@ -383,10 +386,10 @@
|
|
|
383
386
|
roomId = roomId === VOID ? null : roomId;
|
|
384
387
|
var tmp;
|
|
385
388
|
if ($super === VOID) {
|
|
386
|
-
this.
|
|
389
|
+
this.n9x(reason, roomId);
|
|
387
390
|
tmp = Unit_instance;
|
|
388
391
|
} else {
|
|
389
|
-
tmp = $super.
|
|
392
|
+
tmp = $super.n9x.call(this, reason, roomId);
|
|
390
393
|
}
|
|
391
394
|
return tmp;
|
|
392
395
|
}
|
|
@@ -452,7 +455,7 @@
|
|
|
452
455
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
453
456
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
454
457
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
455
|
-
return $super === VOID ? this.
|
|
458
|
+
return $super === VOID ? this.ga2(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.ga2.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
456
459
|
}
|
|
457
460
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
458
461
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -885,8 +888,141 @@
|
|
|
885
888
|
l.$arity = 1;
|
|
886
889
|
return l;
|
|
887
890
|
}
|
|
888
|
-
function GameServer$
|
|
891
|
+
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
889
892
|
this.q9j_1 = $$this$unsafeFlow;
|
|
893
|
+
this.r9j_1 = this$0;
|
|
894
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
895
|
+
}
|
|
896
|
+
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).w2h = function (value, $completion) {
|
|
897
|
+
var tmp = this.x2h(value, $completion);
|
|
898
|
+
tmp.t8_1 = Unit_instance;
|
|
899
|
+
tmp.u8_1 = null;
|
|
900
|
+
return tmp.z8();
|
|
901
|
+
};
|
|
902
|
+
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).h9 = function (p1, $completion) {
|
|
903
|
+
return this.w2h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
904
|
+
};
|
|
905
|
+
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).z8 = function () {
|
|
906
|
+
var suspendResult = this.t8_1;
|
|
907
|
+
$sm: do
|
|
908
|
+
try {
|
|
909
|
+
var tmp = this.r8_1;
|
|
910
|
+
switch (tmp) {
|
|
911
|
+
case 0:
|
|
912
|
+
this.s8_1 = 5;
|
|
913
|
+
var tmp_0 = this;
|
|
914
|
+
tmp_0.w9j_1 = this.q9j_1;
|
|
915
|
+
var tmp_1 = this;
|
|
916
|
+
tmp_1.v9j_1 = this.s9j_1;
|
|
917
|
+
this.r8_1 = 1;
|
|
918
|
+
continue $sm;
|
|
919
|
+
case 1:
|
|
920
|
+
this.t9j_1 = this.w9j_1;
|
|
921
|
+
var it = this.v9j_1;
|
|
922
|
+
var tmp_2;
|
|
923
|
+
if (get_isCreated(this.r9j_1.u66())) {
|
|
924
|
+
tmp_2 = it;
|
|
925
|
+
} else {
|
|
926
|
+
tmp_2 = null;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
var tmp0_elvis_lhs = tmp_2;
|
|
930
|
+
if (tmp0_elvis_lhs == null) {
|
|
931
|
+
this.r8_1 = 4;
|
|
932
|
+
var tmp_3 = this;
|
|
933
|
+
continue $sm;
|
|
934
|
+
} else {
|
|
935
|
+
this.u9j_1 = tmp0_elvis_lhs;
|
|
936
|
+
this.r8_1 = 2;
|
|
937
|
+
continue $sm;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
case 2:
|
|
941
|
+
var transformed = this.u9j_1;
|
|
942
|
+
this.r8_1 = 3;
|
|
943
|
+
suspendResult = this.t9j_1.n28(transformed, this);
|
|
944
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
945
|
+
return suspendResult;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
continue $sm;
|
|
949
|
+
case 3:
|
|
950
|
+
if (false) {
|
|
951
|
+
this.r8_1 = 1;
|
|
952
|
+
continue $sm;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
this.r8_1 = 4;
|
|
956
|
+
continue $sm;
|
|
957
|
+
case 4:
|
|
958
|
+
return Unit_instance;
|
|
959
|
+
case 5:
|
|
960
|
+
throw this.u8_1;
|
|
961
|
+
}
|
|
962
|
+
} catch ($p) {
|
|
963
|
+
var e = $p;
|
|
964
|
+
if (this.s8_1 === 5) {
|
|
965
|
+
throw e;
|
|
966
|
+
} else {
|
|
967
|
+
this.r8_1 = this.s8_1;
|
|
968
|
+
this.u8_1 = e;
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
while (true);
|
|
972
|
+
};
|
|
973
|
+
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, completion) {
|
|
974
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.q9j_1, this.r9j_1, completion);
|
|
975
|
+
i.s9j_1 = value;
|
|
976
|
+
return i;
|
|
977
|
+
};
|
|
978
|
+
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
979
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation);
|
|
980
|
+
var l = function (value, $completion) {
|
|
981
|
+
return i.w2h(value, $completion);
|
|
982
|
+
};
|
|
983
|
+
l.$arity = 1;
|
|
984
|
+
return l;
|
|
985
|
+
}
|
|
986
|
+
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
987
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
988
|
+
this.f9k_1 = _this__u8e3s4;
|
|
989
|
+
this.g9k_1 = collector;
|
|
990
|
+
}
|
|
991
|
+
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
992
|
+
var suspendResult = this.t8_1;
|
|
993
|
+
$sm: do
|
|
994
|
+
try {
|
|
995
|
+
var tmp = this.r8_1;
|
|
996
|
+
switch (tmp) {
|
|
997
|
+
case 0:
|
|
998
|
+
this.s8_1 = 2;
|
|
999
|
+
var $this$unsafeFlow = this.g9k_1;
|
|
1000
|
+
this.r8_1 = 1;
|
|
1001
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.f9k_1.i9k_1, null);
|
|
1002
|
+
suspendResult = this.f9k_1.h9k_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1003
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1004
|
+
return suspendResult;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
continue $sm;
|
|
1008
|
+
case 1:
|
|
1009
|
+
return Unit_instance;
|
|
1010
|
+
case 2:
|
|
1011
|
+
throw this.u8_1;
|
|
1012
|
+
}
|
|
1013
|
+
} catch ($p) {
|
|
1014
|
+
var e = $p;
|
|
1015
|
+
if (this.s8_1 === 2) {
|
|
1016
|
+
throw e;
|
|
1017
|
+
} else {
|
|
1018
|
+
this.r8_1 = this.s8_1;
|
|
1019
|
+
this.u8_1 = e;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
while (true);
|
|
1023
|
+
};
|
|
1024
|
+
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1025
|
+
this.r9k_1 = $$this$unsafeFlow;
|
|
890
1026
|
CoroutineImpl.call(this, resultContinuation);
|
|
891
1027
|
}
|
|
892
1028
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -907,28 +1043,28 @@
|
|
|
907
1043
|
case 0:
|
|
908
1044
|
this.s8_1 = 5;
|
|
909
1045
|
var tmp_0 = this;
|
|
910
|
-
tmp_0.
|
|
1046
|
+
tmp_0.w9k_1 = this.r9k_1;
|
|
911
1047
|
var tmp_1 = this;
|
|
912
|
-
tmp_1.
|
|
1048
|
+
tmp_1.v9k_1 = this.s9k_1;
|
|
913
1049
|
this.r8_1 = 1;
|
|
914
1050
|
continue $sm;
|
|
915
1051
|
case 1:
|
|
916
|
-
this.
|
|
917
|
-
var tmp0_elvis_lhs = this.
|
|
1052
|
+
this.t9k_1 = this.w9k_1;
|
|
1053
|
+
var tmp0_elvis_lhs = this.v9k_1.s6m_1;
|
|
918
1054
|
if (tmp0_elvis_lhs == null) {
|
|
919
1055
|
this.r8_1 = 4;
|
|
920
1056
|
var tmp_2 = this;
|
|
921
1057
|
continue $sm;
|
|
922
1058
|
} else {
|
|
923
|
-
this.
|
|
1059
|
+
this.u9k_1 = tmp0_elvis_lhs;
|
|
924
1060
|
this.r8_1 = 2;
|
|
925
1061
|
continue $sm;
|
|
926
1062
|
}
|
|
927
1063
|
|
|
928
1064
|
case 2:
|
|
929
|
-
var transformed = this.
|
|
1065
|
+
var transformed = this.u9k_1;
|
|
930
1066
|
this.r8_1 = 3;
|
|
931
|
-
suspendResult = this.
|
|
1067
|
+
suspendResult = this.t9k_1.n28(transformed, this);
|
|
932
1068
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
933
1069
|
return suspendResult;
|
|
934
1070
|
}
|
|
@@ -959,8 +1095,8 @@
|
|
|
959
1095
|
while (true);
|
|
960
1096
|
};
|
|
961
1097
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
962
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
963
|
-
i.
|
|
1098
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.r9k_1, completion);
|
|
1099
|
+
i.s9k_1 = value;
|
|
964
1100
|
return i;
|
|
965
1101
|
};
|
|
966
1102
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -971,12 +1107,12 @@
|
|
|
971
1107
|
l.$arity = 1;
|
|
972
1108
|
return l;
|
|
973
1109
|
}
|
|
974
|
-
function $collectCOROUTINE$
|
|
1110
|
+
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
975
1111
|
CoroutineImpl.call(this, resultContinuation);
|
|
976
|
-
this.
|
|
977
|
-
this.
|
|
1112
|
+
this.f9l_1 = _this__u8e3s4;
|
|
1113
|
+
this.g9l_1 = collector;
|
|
978
1114
|
}
|
|
979
|
-
protoOf($collectCOROUTINE$
|
|
1115
|
+
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
980
1116
|
var suspendResult = this.t8_1;
|
|
981
1117
|
$sm: do
|
|
982
1118
|
try {
|
|
@@ -984,10 +1120,10 @@
|
|
|
984
1120
|
switch (tmp) {
|
|
985
1121
|
case 0:
|
|
986
1122
|
this.s8_1 = 2;
|
|
987
|
-
var $this$unsafeFlow = this.
|
|
1123
|
+
var $this$unsafeFlow = this.g9l_1;
|
|
988
1124
|
this.r8_1 = 1;
|
|
989
1125
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
990
|
-
suspendResult = this.
|
|
1126
|
+
suspendResult = this.f9l_1.h9l_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
991
1127
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
992
1128
|
return suspendResult;
|
|
993
1129
|
}
|
|
@@ -1010,7 +1146,7 @@
|
|
|
1010
1146
|
while (true);
|
|
1011
1147
|
};
|
|
1012
1148
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1013
|
-
this.
|
|
1149
|
+
this.q9l_1 = $$this$unsafeFlow;
|
|
1014
1150
|
CoroutineImpl.call(this, resultContinuation);
|
|
1015
1151
|
}
|
|
1016
1152
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1030,8 +1166,8 @@
|
|
|
1030
1166
|
switch (tmp) {
|
|
1031
1167
|
case 0:
|
|
1032
1168
|
this.s8_1 = 2;
|
|
1033
|
-
var tmp0 = this.
|
|
1034
|
-
var value = this.
|
|
1169
|
+
var tmp0 = this.q9l_1;
|
|
1170
|
+
var value = this.r9l_1;
|
|
1035
1171
|
this.r8_1 = 1;
|
|
1036
1172
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1037
1173
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1056,8 +1192,8 @@
|
|
|
1056
1192
|
while (true);
|
|
1057
1193
|
};
|
|
1058
1194
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1059
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1060
|
-
i.
|
|
1195
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.q9l_1, completion);
|
|
1196
|
+
i.r9l_1 = value;
|
|
1061
1197
|
return i;
|
|
1062
1198
|
};
|
|
1063
1199
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1068,12 +1204,12 @@
|
|
|
1068
1204
|
l.$arity = 1;
|
|
1069
1205
|
return l;
|
|
1070
1206
|
}
|
|
1071
|
-
function $collectCOROUTINE$
|
|
1207
|
+
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1072
1208
|
CoroutineImpl.call(this, resultContinuation);
|
|
1073
|
-
this.
|
|
1074
|
-
this.
|
|
1209
|
+
this.a9m_1 = _this__u8e3s4;
|
|
1210
|
+
this.b9m_1 = collector;
|
|
1075
1211
|
}
|
|
1076
|
-
protoOf($collectCOROUTINE$
|
|
1212
|
+
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1077
1213
|
var suspendResult = this.t8_1;
|
|
1078
1214
|
$sm: do
|
|
1079
1215
|
try {
|
|
@@ -1081,10 +1217,10 @@
|
|
|
1081
1217
|
switch (tmp) {
|
|
1082
1218
|
case 0:
|
|
1083
1219
|
this.s8_1 = 2;
|
|
1084
|
-
var $this$unsafeFlow = this.
|
|
1220
|
+
var $this$unsafeFlow = this.b9m_1;
|
|
1085
1221
|
this.r8_1 = 1;
|
|
1086
1222
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1087
|
-
suspendResult = this.
|
|
1223
|
+
suspendResult = this.a9m_1.c9m_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1088
1224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1089
1225
|
return suspendResult;
|
|
1090
1226
|
}
|
|
@@ -1107,7 +1243,7 @@
|
|
|
1107
1243
|
while (true);
|
|
1108
1244
|
};
|
|
1109
1245
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1110
|
-
this.
|
|
1246
|
+
this.l9m_1 = $$this$unsafeFlow;
|
|
1111
1247
|
CoroutineImpl.call(this, resultContinuation);
|
|
1112
1248
|
}
|
|
1113
1249
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1127,8 +1263,8 @@
|
|
|
1127
1263
|
switch (tmp) {
|
|
1128
1264
|
case 0:
|
|
1129
1265
|
this.s8_1 = 2;
|
|
1130
|
-
var tmp0 = this.
|
|
1131
|
-
var value = this.
|
|
1266
|
+
var tmp0 = this.l9m_1;
|
|
1267
|
+
var value = this.m9m_1;
|
|
1132
1268
|
this.r8_1 = 1;
|
|
1133
1269
|
suspendResult = tmp0.n28(value.me_1, this);
|
|
1134
1270
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1153,8 +1289,8 @@
|
|
|
1153
1289
|
while (true);
|
|
1154
1290
|
};
|
|
1155
1291
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1156
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1157
|
-
i.
|
|
1292
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.l9m_1, completion);
|
|
1293
|
+
i.m9m_1 = value;
|
|
1158
1294
|
return i;
|
|
1159
1295
|
};
|
|
1160
1296
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1165,12 +1301,12 @@
|
|
|
1165
1301
|
l.$arity = 1;
|
|
1166
1302
|
return l;
|
|
1167
1303
|
}
|
|
1168
|
-
function $collectCOROUTINE$
|
|
1304
|
+
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1169
1305
|
CoroutineImpl.call(this, resultContinuation);
|
|
1170
|
-
this.
|
|
1171
|
-
this.
|
|
1306
|
+
this.v9m_1 = _this__u8e3s4;
|
|
1307
|
+
this.w9m_1 = collector;
|
|
1172
1308
|
}
|
|
1173
|
-
protoOf($collectCOROUTINE$
|
|
1309
|
+
protoOf($collectCOROUTINE$_4).z8 = function () {
|
|
1174
1310
|
var suspendResult = this.t8_1;
|
|
1175
1311
|
$sm: do
|
|
1176
1312
|
try {
|
|
@@ -1178,10 +1314,10 @@
|
|
|
1178
1314
|
switch (tmp) {
|
|
1179
1315
|
case 0:
|
|
1180
1316
|
this.s8_1 = 2;
|
|
1181
|
-
var $this$unsafeFlow = this.
|
|
1317
|
+
var $this$unsafeFlow = this.w9m_1;
|
|
1182
1318
|
this.r8_1 = 1;
|
|
1183
1319
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1184
|
-
suspendResult = this.
|
|
1320
|
+
suspendResult = this.v9m_1.x9m_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1185
1321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1186
1322
|
return suspendResult;
|
|
1187
1323
|
}
|
|
@@ -1204,17 +1340,17 @@
|
|
|
1204
1340
|
while (true);
|
|
1205
1341
|
};
|
|
1206
1342
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1207
|
-
this.
|
|
1343
|
+
this.g9n_1 = $subscriber;
|
|
1208
1344
|
CoroutineImpl.call(this, resultContinuation);
|
|
1209
1345
|
}
|
|
1210
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1211
|
-
var tmp = this.
|
|
1346
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).i9n = function (it, $completion) {
|
|
1347
|
+
var tmp = this.j9n(it, $completion);
|
|
1212
1348
|
tmp.t8_1 = Unit_instance;
|
|
1213
1349
|
tmp.u8_1 = null;
|
|
1214
1350
|
return tmp.z8();
|
|
1215
1351
|
};
|
|
1216
1352
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1217
|
-
return this.
|
|
1353
|
+
return this.i9n(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1218
1354
|
};
|
|
1219
1355
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1220
1356
|
var suspendResult = this.t8_1;
|
|
@@ -1223,7 +1359,7 @@
|
|
|
1223
1359
|
var tmp = this.r8_1;
|
|
1224
1360
|
if (tmp === 0) {
|
|
1225
1361
|
this.s8_1 = 1;
|
|
1226
|
-
this.
|
|
1362
|
+
this.g9n_1(this.h9n_1);
|
|
1227
1363
|
return Unit_instance;
|
|
1228
1364
|
} else if (tmp === 1) {
|
|
1229
1365
|
throw this.u8_1;
|
|
@@ -1234,76 +1370,76 @@
|
|
|
1234
1370
|
}
|
|
1235
1371
|
while (true);
|
|
1236
1372
|
};
|
|
1237
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1238
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1239
|
-
i.
|
|
1373
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).j9n = function (it, completion) {
|
|
1374
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.g9n_1, completion);
|
|
1375
|
+
i.h9n_1 = it;
|
|
1240
1376
|
return i;
|
|
1241
1377
|
};
|
|
1242
1378
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1243
1379
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1244
1380
|
var l = function (it, $completion) {
|
|
1245
|
-
return i.
|
|
1381
|
+
return i.i9n(it, $completion);
|
|
1246
1382
|
};
|
|
1247
1383
|
l.$arity = 1;
|
|
1248
1384
|
return l;
|
|
1249
1385
|
}
|
|
1250
1386
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1251
|
-
this.
|
|
1387
|
+
this.k9n_1 = $playerId;
|
|
1252
1388
|
}
|
|
1253
1389
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v65 = function () {
|
|
1254
|
-
return this.
|
|
1390
|
+
return this.k9n_1;
|
|
1255
1391
|
};
|
|
1256
1392
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1257
|
-
var tmp0 = $this.
|
|
1393
|
+
var tmp0 = $this.p9n_1;
|
|
1258
1394
|
var tmp = KProperty1;
|
|
1259
1395
|
// Inline function 'kotlin.getValue' call
|
|
1260
1396
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1261
1397
|
return tmp0.w();
|
|
1262
1398
|
}
|
|
1263
1399
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1264
|
-
var tmp0 = $this.
|
|
1400
|
+
var tmp0 = $this.q9n_1;
|
|
1265
1401
|
var tmp = KProperty1;
|
|
1266
1402
|
// Inline function 'kotlin.getValue' call
|
|
1267
1403
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1268
1404
|
return tmp0.w();
|
|
1269
1405
|
}
|
|
1270
1406
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1271
|
-
var tmp0 = $this.
|
|
1407
|
+
var tmp0 = $this.r9n_1;
|
|
1272
1408
|
var tmp = KProperty1;
|
|
1273
1409
|
// Inline function 'kotlin.getValue' call
|
|
1274
1410
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1275
1411
|
return tmp0.w();
|
|
1276
1412
|
}
|
|
1277
1413
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1278
|
-
var tmp0 = $this.
|
|
1414
|
+
var tmp0 = $this.s9n_1;
|
|
1279
1415
|
var tmp = KProperty1;
|
|
1280
1416
|
// Inline function 'kotlin.getValue' call
|
|
1281
1417
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1282
1418
|
return tmp0.w();
|
|
1283
1419
|
}
|
|
1284
1420
|
function _get_random__h29cgo($this) {
|
|
1285
|
-
var tmp0 = $this.
|
|
1421
|
+
var tmp0 = $this.t9n_1;
|
|
1286
1422
|
var tmp = KProperty1;
|
|
1287
1423
|
// Inline function 'kotlin.getValue' call
|
|
1288
1424
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1289
1425
|
return tmp0.w();
|
|
1290
1426
|
}
|
|
1291
1427
|
function _get_idsProvider__fnfajc($this) {
|
|
1292
|
-
var tmp0 = $this.
|
|
1428
|
+
var tmp0 = $this.u9n_1;
|
|
1293
1429
|
var tmp = KProperty1;
|
|
1294
1430
|
// Inline function 'kotlin.getValue' call
|
|
1295
1431
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1296
1432
|
return tmp0.w();
|
|
1297
1433
|
}
|
|
1298
1434
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1299
|
-
var tmp0 = $this.
|
|
1435
|
+
var tmp0 = $this.v9n_1;
|
|
1300
1436
|
var tmp = KProperty1;
|
|
1301
1437
|
// Inline function 'kotlin.getValue' call
|
|
1302
1438
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1303
1439
|
return tmp0.w();
|
|
1304
1440
|
}
|
|
1305
1441
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1306
|
-
var tmp0 = $this.
|
|
1442
|
+
var tmp0 = $this.w9n_1;
|
|
1307
1443
|
var tmp = KProperty1;
|
|
1308
1444
|
// Inline function 'kotlin.getValue' call
|
|
1309
1445
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1312,8 +1448,12 @@
|
|
|
1312
1448
|
function observeTableStateUpdates($this) {
|
|
1313
1449
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1314
1450
|
var this_0 = observeTableWhenRoundChanges($this, $this.r6m());
|
|
1315
|
-
|
|
1316
|
-
|
|
1451
|
+
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
1452
|
+
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1453
|
+
var this_1 = transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1454
|
+
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
1455
|
+
var tmp$ret$3 = new GameServer$observeTableStateUpdates$$inlined$mapNotNull$1(this_1, $this);
|
|
1456
|
+
return distinctUntilChanged(tmp$ret$3);
|
|
1317
1457
|
}
|
|
1318
1458
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
1319
1459
|
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
@@ -1331,20 +1471,20 @@
|
|
|
1331
1471
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1332
1472
|
}
|
|
1333
1473
|
function Companion() {
|
|
1334
|
-
this.
|
|
1474
|
+
this.y9n_1 = 'GameEngine_API';
|
|
1335
1475
|
}
|
|
1336
1476
|
var Companion_instance_7;
|
|
1337
1477
|
function Companion_getInstance_0() {
|
|
1338
1478
|
return Companion_instance_7;
|
|
1339
1479
|
}
|
|
1340
1480
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1341
|
-
this.
|
|
1481
|
+
this.z9n_1 = function_0;
|
|
1342
1482
|
}
|
|
1343
1483
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1344
|
-
return this.
|
|
1484
|
+
return this.z9n_1(value, $completion);
|
|
1345
1485
|
};
|
|
1346
1486
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1347
|
-
return this.
|
|
1487
|
+
return this.z9n_1;
|
|
1348
1488
|
};
|
|
1349
1489
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1350
1490
|
var tmp;
|
|
@@ -1365,13 +1505,13 @@
|
|
|
1365
1505
|
return hashCode(this.a3());
|
|
1366
1506
|
};
|
|
1367
1507
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1368
|
-
this.
|
|
1508
|
+
this.a9o_1 = function_0;
|
|
1369
1509
|
}
|
|
1370
1510
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1371
|
-
return this.
|
|
1511
|
+
return this.a9o_1(value, $completion);
|
|
1372
1512
|
};
|
|
1373
1513
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1374
|
-
return this.
|
|
1514
|
+
return this.a9o_1;
|
|
1375
1515
|
};
|
|
1376
1516
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1377
1517
|
var tmp;
|
|
@@ -1392,13 +1532,13 @@
|
|
|
1392
1532
|
return hashCode(this.a3());
|
|
1393
1533
|
};
|
|
1394
1534
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1395
|
-
this.
|
|
1535
|
+
this.b9o_1 = function_0;
|
|
1396
1536
|
}
|
|
1397
1537
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1398
|
-
return this.
|
|
1538
|
+
return this.b9o_1(value, $completion);
|
|
1399
1539
|
};
|
|
1400
1540
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1401
|
-
return this.
|
|
1541
|
+
return this.b9o_1;
|
|
1402
1542
|
};
|
|
1403
1543
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1404
1544
|
var tmp;
|
|
@@ -1419,13 +1559,13 @@
|
|
|
1419
1559
|
return hashCode(this.a3());
|
|
1420
1560
|
};
|
|
1421
1561
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1422
|
-
this.
|
|
1562
|
+
this.c9o_1 = function_0;
|
|
1423
1563
|
}
|
|
1424
1564
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1425
|
-
return this.
|
|
1565
|
+
return this.c9o_1(value, $completion);
|
|
1426
1566
|
};
|
|
1427
1567
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1428
|
-
return this.
|
|
1568
|
+
return this.c9o_1;
|
|
1429
1569
|
};
|
|
1430
1570
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1431
1571
|
var tmp;
|
|
@@ -1446,13 +1586,13 @@
|
|
|
1446
1586
|
return hashCode(this.a3());
|
|
1447
1587
|
};
|
|
1448
1588
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1449
|
-
this.
|
|
1589
|
+
this.d9o_1 = function_0;
|
|
1450
1590
|
}
|
|
1451
1591
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1452
|
-
return this.
|
|
1592
|
+
return this.d9o_1(value, $completion);
|
|
1453
1593
|
};
|
|
1454
1594
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1455
|
-
return this.
|
|
1595
|
+
return this.d9o_1;
|
|
1456
1596
|
};
|
|
1457
1597
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1458
1598
|
var tmp;
|
|
@@ -1473,13 +1613,13 @@
|
|
|
1473
1613
|
return hashCode(this.a3());
|
|
1474
1614
|
};
|
|
1475
1615
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1476
|
-
this.
|
|
1616
|
+
this.e9o_1 = function_0;
|
|
1477
1617
|
}
|
|
1478
1618
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1479
|
-
return this.
|
|
1619
|
+
return this.e9o_1(value, $completion);
|
|
1480
1620
|
};
|
|
1481
1621
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1482
|
-
return this.
|
|
1622
|
+
return this.e9o_1;
|
|
1483
1623
|
};
|
|
1484
1624
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1485
1625
|
var tmp;
|
|
@@ -1580,8 +1720,8 @@
|
|
|
1580
1720
|
};
|
|
1581
1721
|
}
|
|
1582
1722
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1583
|
-
this.
|
|
1584
|
-
this.
|
|
1723
|
+
this.n9o_1 = this$0;
|
|
1724
|
+
this.o9o_1 = $subscriber;
|
|
1585
1725
|
CoroutineImpl.call(this, resultContinuation);
|
|
1586
1726
|
}
|
|
1587
1727
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1602,8 +1742,8 @@
|
|
|
1602
1742
|
case 0:
|
|
1603
1743
|
this.s8_1 = 2;
|
|
1604
1744
|
this.r8_1 = 1;
|
|
1605
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1606
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1745
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.n9o_1).q9o();
|
|
1746
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.o9o_1, null);
|
|
1607
1747
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1608
1748
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1609
1749
|
return suspendResult;
|
|
@@ -1627,8 +1767,8 @@
|
|
|
1627
1767
|
while (true);
|
|
1628
1768
|
};
|
|
1629
1769
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1630
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1631
|
-
i.
|
|
1770
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.n9o_1, this.o9o_1, completion);
|
|
1771
|
+
i.p9o_1 = $this$launchDefault;
|
|
1632
1772
|
return i;
|
|
1633
1773
|
};
|
|
1634
1774
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1640,8 +1780,8 @@
|
|
|
1640
1780
|
return l;
|
|
1641
1781
|
}
|
|
1642
1782
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1783
|
+
this.z9o_1 = this$0;
|
|
1784
|
+
this.a9p_1 = $subscriber;
|
|
1645
1785
|
CoroutineImpl.call(this, resultContinuation);
|
|
1646
1786
|
}
|
|
1647
1787
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1662,8 +1802,8 @@
|
|
|
1662
1802
|
case 0:
|
|
1663
1803
|
this.s8_1 = 2;
|
|
1664
1804
|
this.r8_1 = 1;
|
|
1665
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1666
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1805
|
+
var tmp_0 = observeTableStateUpdates(this.z9o_1);
|
|
1806
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.a9p_1, null);
|
|
1667
1807
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1668
1808
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1669
1809
|
return suspendResult;
|
|
@@ -1687,8 +1827,8 @@
|
|
|
1687
1827
|
while (true);
|
|
1688
1828
|
};
|
|
1689
1829
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1690
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1691
|
-
i.
|
|
1830
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.z9o_1, this.a9p_1, completion);
|
|
1831
|
+
i.b9p_1 = $this$launchDefault;
|
|
1692
1832
|
return i;
|
|
1693
1833
|
};
|
|
1694
1834
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1700,8 +1840,8 @@
|
|
|
1700
1840
|
return l;
|
|
1701
1841
|
}
|
|
1702
1842
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1703
|
-
this.
|
|
1704
|
-
this.
|
|
1843
|
+
this.k9p_1 = this$0;
|
|
1844
|
+
this.l9p_1 = $subscriber;
|
|
1705
1845
|
CoroutineImpl.call(this, resultContinuation);
|
|
1706
1846
|
}
|
|
1707
1847
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1722,9 +1862,9 @@
|
|
|
1722
1862
|
case 0:
|
|
1723
1863
|
this.s8_1 = 2;
|
|
1724
1864
|
this.r8_1 = 1;
|
|
1725
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1726
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1727
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1865
|
+
var this_0 = observeTableStateUpdates(this.k9p_1);
|
|
1866
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.k9p_1);
|
|
1867
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.l9p_1, null);
|
|
1728
1868
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1729
1869
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1730
1870
|
return suspendResult;
|
|
@@ -1748,8 +1888,8 @@
|
|
|
1748
1888
|
while (true);
|
|
1749
1889
|
};
|
|
1750
1890
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1751
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1752
|
-
i.
|
|
1891
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.k9p_1, this.l9p_1, completion);
|
|
1892
|
+
i.m9p_1 = $this$launchDefault;
|
|
1753
1893
|
return i;
|
|
1754
1894
|
};
|
|
1755
1895
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1761,18 +1901,18 @@
|
|
|
1761
1901
|
return l;
|
|
1762
1902
|
}
|
|
1763
1903
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1764
|
-
this.
|
|
1904
|
+
this.v9p_1 = this$0;
|
|
1765
1905
|
CoroutineImpl.call(this, resultContinuation);
|
|
1766
1906
|
}
|
|
1767
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1768
|
-
var tmp = this.
|
|
1907
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).y9p = function ($this$transformLatest, it, $completion) {
|
|
1908
|
+
var tmp = this.z9p($this$transformLatest, it, $completion);
|
|
1769
1909
|
tmp.t8_1 = Unit_instance;
|
|
1770
1910
|
tmp.u8_1 = null;
|
|
1771
1911
|
return tmp.z8();
|
|
1772
1912
|
};
|
|
1773
1913
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1774
1914
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1775
|
-
return this.
|
|
1915
|
+
return this.y9p(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1776
1916
|
};
|
|
1777
1917
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1778
1918
|
var suspendResult = this.t8_1;
|
|
@@ -1783,8 +1923,8 @@
|
|
|
1783
1923
|
case 0:
|
|
1784
1924
|
this.s8_1 = 2;
|
|
1785
1925
|
this.r8_1 = 1;
|
|
1786
|
-
var table = this.
|
|
1787
|
-
suspendResult = emitAll(this.
|
|
1926
|
+
var table = this.x9p_1;
|
|
1927
|
+
suspendResult = emitAll(this.w9p_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.v9p_1, null)), this);
|
|
1788
1928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1789
1929
|
return suspendResult;
|
|
1790
1930
|
}
|
|
@@ -1806,25 +1946,38 @@
|
|
|
1806
1946
|
}
|
|
1807
1947
|
while (true);
|
|
1808
1948
|
};
|
|
1809
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1810
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1811
|
-
i.
|
|
1812
|
-
i.
|
|
1949
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).z9p = function ($this$transformLatest, it, completion) {
|
|
1950
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.v9p_1, completion);
|
|
1951
|
+
i.w9p_1 = $this$transformLatest;
|
|
1952
|
+
i.x9p_1 = it;
|
|
1813
1953
|
return i;
|
|
1814
1954
|
};
|
|
1815
1955
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1816
1956
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1817
1957
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1818
|
-
return i.
|
|
1958
|
+
return i.y9p($this$transformLatest, it, $completion);
|
|
1819
1959
|
};
|
|
1820
1960
|
l.$arity = 2;
|
|
1821
1961
|
return l;
|
|
1822
1962
|
}
|
|
1963
|
+
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
1964
|
+
this.h9k_1 = $this;
|
|
1965
|
+
this.i9k_1 = this$0;
|
|
1966
|
+
}
|
|
1967
|
+
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1968
|
+
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
1969
|
+
tmp.t8_1 = Unit_instance;
|
|
1970
|
+
tmp.u8_1 = null;
|
|
1971
|
+
return tmp.z8();
|
|
1972
|
+
};
|
|
1973
|
+
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).n27 = function (collector, $completion) {
|
|
1974
|
+
return this.o28(collector, $completion);
|
|
1975
|
+
};
|
|
1823
1976
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1824
|
-
this.
|
|
1977
|
+
this.h9l_1 = $this;
|
|
1825
1978
|
}
|
|
1826
1979
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1827
|
-
var tmp = new $collectCOROUTINE$
|
|
1980
|
+
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
1828
1981
|
tmp.t8_1 = Unit_instance;
|
|
1829
1982
|
tmp.u8_1 = null;
|
|
1830
1983
|
return tmp.z8();
|
|
@@ -1833,10 +1986,10 @@
|
|
|
1833
1986
|
return this.o28(collector, $completion);
|
|
1834
1987
|
};
|
|
1835
1988
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1836
|
-
this.
|
|
1989
|
+
this.c9m_1 = $this;
|
|
1837
1990
|
}
|
|
1838
1991
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
1839
|
-
var tmp = new $collectCOROUTINE$
|
|
1992
|
+
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
1840
1993
|
tmp.t8_1 = Unit_instance;
|
|
1841
1994
|
tmp.u8_1 = null;
|
|
1842
1995
|
return tmp.z8();
|
|
@@ -1848,10 +2001,10 @@
|
|
|
1848
2001
|
return old.le_1 === new_0.le_1;
|
|
1849
2002
|
}
|
|
1850
2003
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1851
|
-
this.
|
|
2004
|
+
this.x9m_1 = $this;
|
|
1852
2005
|
}
|
|
1853
2006
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
1854
|
-
var tmp = new $collectCOROUTINE$
|
|
2007
|
+
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
1855
2008
|
tmp.t8_1 = Unit_instance;
|
|
1856
2009
|
tmp.u8_1 = null;
|
|
1857
2010
|
return tmp.z8();
|
|
@@ -1860,8 +2013,8 @@
|
|
|
1860
2013
|
return this.o28(collector, $completion);
|
|
1861
2014
|
};
|
|
1862
2015
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1863
|
-
this.
|
|
1864
|
-
this.
|
|
2016
|
+
this.i9q_1 = this$0;
|
|
2017
|
+
this.j9q_1 = $subscriber;
|
|
1865
2018
|
CoroutineImpl.call(this, resultContinuation);
|
|
1866
2019
|
}
|
|
1867
2020
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1882,8 +2035,8 @@
|
|
|
1882
2035
|
case 0:
|
|
1883
2036
|
this.s8_1 = 2;
|
|
1884
2037
|
this.r8_1 = 1;
|
|
1885
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1886
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2038
|
+
var tmp_0 = distinctUntilChanged(this.i9q_1.r6m());
|
|
2039
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.j9q_1, null);
|
|
1887
2040
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1888
2041
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1889
2042
|
return suspendResult;
|
|
@@ -1907,8 +2060,8 @@
|
|
|
1907
2060
|
while (true);
|
|
1908
2061
|
};
|
|
1909
2062
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1910
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1911
|
-
i.
|
|
2063
|
+
var i = new GameServer$subscribeWith$slambda(this.i9q_1, this.j9q_1, completion);
|
|
2064
|
+
i.k9q_1 = $this$launchDefault;
|
|
1912
2065
|
return i;
|
|
1913
2066
|
};
|
|
1914
2067
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1920,18 +2073,18 @@
|
|
|
1920
2073
|
return l;
|
|
1921
2074
|
}
|
|
1922
2075
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1923
|
-
this.
|
|
2076
|
+
this.t9q_1 = $action;
|
|
1924
2077
|
CoroutineImpl.call(this, resultContinuation);
|
|
1925
2078
|
}
|
|
1926
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1927
|
-
var tmp = this.
|
|
2079
|
+
protoOf(GameServer$fromClientEvent$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2080
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
1928
2081
|
tmp.t8_1 = Unit_instance;
|
|
1929
2082
|
tmp.u8_1 = null;
|
|
1930
2083
|
return tmp.z8();
|
|
1931
2084
|
};
|
|
1932
2085
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1933
2086
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1934
|
-
return this.
|
|
2087
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1935
2088
|
};
|
|
1936
2089
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1937
2090
|
var suspendResult = this.t8_1;
|
|
@@ -1940,11 +2093,11 @@
|
|
|
1940
2093
|
var tmp = this.r8_1;
|
|
1941
2094
|
if (tmp === 0) {
|
|
1942
2095
|
this.s8_1 = 1;
|
|
1943
|
-
if (this.
|
|
1944
|
-
if (!get_isCreated(this.
|
|
2096
|
+
if (this.t9q_1 instanceof PlayerReadyFromClientAction)
|
|
2097
|
+
if (!get_isCreated(this.v9q_1.state)) {
|
|
1945
2098
|
return Unit_instance;
|
|
1946
2099
|
}
|
|
1947
|
-
this.
|
|
2100
|
+
this.v9q_1.dispatch(this.t9q_1);
|
|
1948
2101
|
return Unit_instance;
|
|
1949
2102
|
} else if (tmp === 1) {
|
|
1950
2103
|
throw this.u8_1;
|
|
@@ -1955,33 +2108,33 @@
|
|
|
1955
2108
|
}
|
|
1956
2109
|
while (true);
|
|
1957
2110
|
};
|
|
1958
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1959
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1960
|
-
i.
|
|
1961
|
-
i.
|
|
2111
|
+
protoOf(GameServer$fromClientEvent$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2112
|
+
var i = new GameServer$fromClientEvent$slambda(this.t9q_1, completion);
|
|
2113
|
+
i.u9q_1 = $this$dispatchAsync;
|
|
2114
|
+
i.v9q_1 = store;
|
|
1962
2115
|
return i;
|
|
1963
2116
|
};
|
|
1964
2117
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1965
2118
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1966
2119
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1967
|
-
return i.
|
|
2120
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
1968
2121
|
};
|
|
1969
2122
|
l.$arity = 2;
|
|
1970
2123
|
return l;
|
|
1971
2124
|
}
|
|
1972
2125
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1973
|
-
this.
|
|
2126
|
+
this.g9r_1 = $playerId;
|
|
1974
2127
|
CoroutineImpl.call(this, resultContinuation);
|
|
1975
2128
|
}
|
|
1976
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1977
|
-
var tmp = this.
|
|
2129
|
+
protoOf(GameServer$playerLostConnection$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2130
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
1978
2131
|
tmp.t8_1 = Unit_instance;
|
|
1979
2132
|
tmp.u8_1 = null;
|
|
1980
2133
|
return tmp.z8();
|
|
1981
2134
|
};
|
|
1982
2135
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1983
2136
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1984
|
-
return this.
|
|
2137
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1985
2138
|
};
|
|
1986
2139
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1987
2140
|
var suspendResult = this.t8_1;
|
|
@@ -1990,12 +2143,12 @@
|
|
|
1990
2143
|
var tmp = this.r8_1;
|
|
1991
2144
|
if (tmp === 0) {
|
|
1992
2145
|
this.s8_1 = 1;
|
|
1993
|
-
if (!get_isCreated(this.
|
|
2146
|
+
if (!get_isCreated(this.i9r_1.state)) {
|
|
1994
2147
|
return Unit_instance;
|
|
1995
2148
|
}
|
|
1996
|
-
var tmp_0 = this.
|
|
2149
|
+
var tmp_0 = this.i9r_1.dispatch;
|
|
1997
2150
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1998
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2151
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.g9r_1));
|
|
1999
2152
|
return Unit_instance;
|
|
2000
2153
|
} else if (tmp === 1) {
|
|
2001
2154
|
throw this.u8_1;
|
|
@@ -2006,34 +2159,34 @@
|
|
|
2006
2159
|
}
|
|
2007
2160
|
while (true);
|
|
2008
2161
|
};
|
|
2009
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2010
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2011
|
-
i.
|
|
2012
|
-
i.
|
|
2162
|
+
protoOf(GameServer$playerLostConnection$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2163
|
+
var i = new GameServer$playerLostConnection$slambda(this.g9r_1, completion);
|
|
2164
|
+
i.h9r_1 = $this$dispatchAsync;
|
|
2165
|
+
i.i9r_1 = store;
|
|
2013
2166
|
return i;
|
|
2014
2167
|
};
|
|
2015
2168
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2016
2169
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2017
2170
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2018
|
-
return i.
|
|
2171
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2019
2172
|
};
|
|
2020
2173
|
l.$arity = 2;
|
|
2021
2174
|
return l;
|
|
2022
2175
|
}
|
|
2023
2176
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2024
|
-
this.
|
|
2025
|
-
this.
|
|
2177
|
+
this.r9r_1 = this$0;
|
|
2178
|
+
this.s9r_1 = $playerId;
|
|
2026
2179
|
CoroutineImpl.call(this, resultContinuation);
|
|
2027
2180
|
}
|
|
2028
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2029
|
-
var tmp = this.
|
|
2181
|
+
protoOf(GameServer$playerLive$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2182
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2030
2183
|
tmp.t8_1 = Unit_instance;
|
|
2031
2184
|
tmp.u8_1 = null;
|
|
2032
2185
|
return tmp.z8();
|
|
2033
2186
|
};
|
|
2034
2187
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2035
2188
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2036
|
-
return this.
|
|
2189
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2037
2190
|
};
|
|
2038
2191
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2039
2192
|
var suspendResult = this.t8_1;
|
|
@@ -2042,16 +2195,16 @@
|
|
|
2042
2195
|
var tmp = this.r8_1;
|
|
2043
2196
|
if (tmp === 0) {
|
|
2044
2197
|
this.s8_1 = 1;
|
|
2045
|
-
if (get_isFinished(this.
|
|
2198
|
+
if (get_isFinished(this.u9r_1.state) || get_isFinishing(this.u9r_1.state)) {
|
|
2046
2199
|
return Unit_instance;
|
|
2047
2200
|
}
|
|
2048
|
-
if (!get_isCreated(this.
|
|
2049
|
-
this.
|
|
2201
|
+
if (!get_isCreated(this.u9r_1.state) || !this.r9r_1.u66().u6n()) {
|
|
2202
|
+
this.r9r_1.h4q().v('GameEngine_API', 'playerLive: ' + this.s9r_1 + ' before game is created');
|
|
2050
2203
|
return Unit_instance;
|
|
2051
2204
|
}
|
|
2052
|
-
var tmp_0 = this.
|
|
2205
|
+
var tmp_0 = this.u9r_1.dispatch;
|
|
2053
2206
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2054
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2207
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9r_1));
|
|
2055
2208
|
return Unit_instance;
|
|
2056
2209
|
} else if (tmp === 1) {
|
|
2057
2210
|
throw this.u8_1;
|
|
@@ -2062,34 +2215,34 @@
|
|
|
2062
2215
|
}
|
|
2063
2216
|
while (true);
|
|
2064
2217
|
};
|
|
2065
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2066
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2067
|
-
i.
|
|
2068
|
-
i.
|
|
2218
|
+
protoOf(GameServer$playerLive$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2219
|
+
var i = new GameServer$playerLive$slambda(this.r9r_1, this.s9r_1, completion);
|
|
2220
|
+
i.t9r_1 = $this$dispatchAsync;
|
|
2221
|
+
i.u9r_1 = store;
|
|
2069
2222
|
return i;
|
|
2070
2223
|
};
|
|
2071
2224
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2072
2225
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2073
2226
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2074
|
-
return i.
|
|
2227
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2075
2228
|
};
|
|
2076
2229
|
l.$arity = 2;
|
|
2077
2230
|
return l;
|
|
2078
2231
|
}
|
|
2079
2232
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2080
|
-
this.
|
|
2081
|
-
this.
|
|
2233
|
+
this.d9s_1 = this$0;
|
|
2234
|
+
this.e9s_1 = $playerId;
|
|
2082
2235
|
CoroutineImpl.call(this, resultContinuation);
|
|
2083
2236
|
}
|
|
2084
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2085
|
-
var tmp = this.
|
|
2237
|
+
protoOf(GameServer$playerLeft$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2238
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2086
2239
|
tmp.t8_1 = Unit_instance;
|
|
2087
2240
|
tmp.u8_1 = null;
|
|
2088
2241
|
return tmp.z8();
|
|
2089
2242
|
};
|
|
2090
2243
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2091
2244
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2092
|
-
return this.
|
|
2245
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2093
2246
|
};
|
|
2094
2247
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2095
2248
|
var suspendResult = this.t8_1;
|
|
@@ -2098,16 +2251,16 @@
|
|
|
2098
2251
|
var tmp = this.r8_1;
|
|
2099
2252
|
if (tmp === 0) {
|
|
2100
2253
|
this.s8_1 = 1;
|
|
2101
|
-
if (get_isFinished(this.
|
|
2254
|
+
if (get_isFinished(this.g9s_1.state) || get_isFinishing(this.g9s_1.state)) {
|
|
2102
2255
|
return Unit_instance;
|
|
2103
2256
|
}
|
|
2104
|
-
if (!get_isCreated(this.
|
|
2105
|
-
this.
|
|
2257
|
+
if (!get_isCreated(this.g9s_1.state) || !this.d9s_1.u66().u6n()) {
|
|
2258
|
+
this.d9s_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.e9s_1 + ' before game is created');
|
|
2106
2259
|
return Unit_instance;
|
|
2107
2260
|
}
|
|
2108
|
-
var tmp_0 = this.
|
|
2261
|
+
var tmp_0 = this.g9s_1.dispatch;
|
|
2109
2262
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2110
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2263
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.e9s_1));
|
|
2111
2264
|
return Unit_instance;
|
|
2112
2265
|
} else if (tmp === 1) {
|
|
2113
2266
|
throw this.u8_1;
|
|
@@ -2118,39 +2271,39 @@
|
|
|
2118
2271
|
}
|
|
2119
2272
|
while (true);
|
|
2120
2273
|
};
|
|
2121
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2122
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2123
|
-
i.
|
|
2124
|
-
i.
|
|
2274
|
+
protoOf(GameServer$playerLeft$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2275
|
+
var i = new GameServer$playerLeft$slambda(this.d9s_1, this.e9s_1, completion);
|
|
2276
|
+
i.f9s_1 = $this$dispatchAsync;
|
|
2277
|
+
i.g9s_1 = store;
|
|
2125
2278
|
return i;
|
|
2126
2279
|
};
|
|
2127
2280
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2128
2281
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2129
2282
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2130
|
-
return i.
|
|
2283
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2131
2284
|
};
|
|
2132
2285
|
l.$arity = 2;
|
|
2133
2286
|
return l;
|
|
2134
2287
|
}
|
|
2135
2288
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2140
|
-
this.
|
|
2141
|
-
this.
|
|
2142
|
-
this.
|
|
2289
|
+
this.p9s_1 = $usersArray;
|
|
2290
|
+
this.q9s_1 = $config;
|
|
2291
|
+
this.r9s_1 = this$0;
|
|
2292
|
+
this.s9s_1 = $roomId;
|
|
2293
|
+
this.t9s_1 = $transition;
|
|
2294
|
+
this.u9s_1 = $gameCreatorId;
|
|
2295
|
+
this.v9s_1 = $spectators;
|
|
2143
2296
|
CoroutineImpl.call(this, resultContinuation);
|
|
2144
2297
|
}
|
|
2145
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2146
|
-
var tmp = this.
|
|
2298
|
+
protoOf(GameServer$roomOnCreate$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2299
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2147
2300
|
tmp.t8_1 = Unit_instance;
|
|
2148
2301
|
tmp.u8_1 = null;
|
|
2149
2302
|
return tmp.z8();
|
|
2150
2303
|
};
|
|
2151
2304
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2152
2305
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2153
|
-
return this.
|
|
2306
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2154
2307
|
};
|
|
2155
2308
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2156
2309
|
var suspendResult = this.t8_1;
|
|
@@ -2159,21 +2312,21 @@
|
|
|
2159
2312
|
var tmp = this.r8_1;
|
|
2160
2313
|
if (tmp === 0) {
|
|
2161
2314
|
this.s8_1 = 1;
|
|
2162
|
-
var users = toList(this.
|
|
2163
|
-
if (!(this.
|
|
2164
|
-
this.
|
|
2165
|
-
this.
|
|
2315
|
+
var users = toList(this.p9s_1);
|
|
2316
|
+
if (!(this.q9s_1.playersMode.count === users.o())) {
|
|
2317
|
+
this.r9s_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.s9s_1 + ', config = ' + this.q9s_1.toString() + ', users = ' + toString(users));
|
|
2318
|
+
this.x9s_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.r9s_1.table.isGameFinished, this.r9s_1.table));
|
|
2166
2319
|
return Unit_instance;
|
|
2167
2320
|
}
|
|
2168
2321
|
var tmp_0;
|
|
2169
|
-
if (this.
|
|
2170
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2322
|
+
if (this.q9s_1.mode.shufflePlayers && this.t9s_1 == null) {
|
|
2323
|
+
tmp_0 = _get_random__h29cgo(this.r9s_1).q5d(toMutableList(users));
|
|
2171
2324
|
} else {
|
|
2172
|
-
var tmp0_safe_receiver = this.
|
|
2325
|
+
var tmp0_safe_receiver = this.t9s_1;
|
|
2173
2326
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2174
2327
|
var tmp_1;
|
|
2175
|
-
if (!(previousPlayers == null) && this.
|
|
2176
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2328
|
+
if (!(previousPlayers == null) && this.q9s_1.playersMode.isTeamGame) {
|
|
2329
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.r9s_1);
|
|
2177
2330
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2178
2331
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2179
2332
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -2204,19 +2357,19 @@
|
|
|
2204
2357
|
destination_1.j(destination_2);
|
|
2205
2358
|
}
|
|
2206
2359
|
var updatedTeams = destination_1;
|
|
2207
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2360
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.r9s_1).q8j(updatedTeams);
|
|
2208
2361
|
} else {
|
|
2209
2362
|
tmp_1 = users;
|
|
2210
2363
|
}
|
|
2211
2364
|
tmp_0 = tmp_1;
|
|
2212
2365
|
}
|
|
2213
2366
|
var updatedUsers = tmp_0;
|
|
2214
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2215
|
-
var tmp_3 = this.
|
|
2367
|
+
var gameCreatorUser = getPlayer(users, this.u9s_1);
|
|
2368
|
+
var tmp_3 = this.x9s_1.dispatch;
|
|
2216
2369
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2217
2370
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2218
|
-
var tmp3_spectators = toList(this.
|
|
2219
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2371
|
+
var tmp3_spectators = toList(this.v9s_1);
|
|
2372
|
+
tmp_3(new StartGameMechanicAction(this.q9s_1, this.s9s_1, tmp1_version, this.u9s_1, tmp2_users, VOID, tmp3_spectators));
|
|
2220
2373
|
return Unit_instance;
|
|
2221
2374
|
} else if (tmp === 1) {
|
|
2222
2375
|
throw this.u8_1;
|
|
@@ -2227,33 +2380,33 @@
|
|
|
2227
2380
|
}
|
|
2228
2381
|
while (true);
|
|
2229
2382
|
};
|
|
2230
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2231
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2232
|
-
i.
|
|
2233
|
-
i.
|
|
2383
|
+
protoOf(GameServer$roomOnCreate$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2384
|
+
var i = new GameServer$roomOnCreate$slambda(this.p9s_1, this.q9s_1, this.r9s_1, this.s9s_1, this.t9s_1, this.u9s_1, this.v9s_1, completion);
|
|
2385
|
+
i.w9s_1 = $this$dispatchAsync;
|
|
2386
|
+
i.x9s_1 = store;
|
|
2234
2387
|
return i;
|
|
2235
2388
|
};
|
|
2236
2389
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2237
2390
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2238
2391
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2239
|
-
return i.
|
|
2392
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2240
2393
|
};
|
|
2241
2394
|
l.$arity = 2;
|
|
2242
2395
|
return l;
|
|
2243
2396
|
}
|
|
2244
2397
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2245
|
-
this.
|
|
2398
|
+
this.g9t_1 = $state;
|
|
2246
2399
|
CoroutineImpl.call(this, resultContinuation);
|
|
2247
2400
|
}
|
|
2248
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2249
|
-
var tmp = this.
|
|
2401
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).j9t = function ($this$dispatchAwait, store, $completion) {
|
|
2402
|
+
var tmp = this.x9q($this$dispatchAwait, store, $completion);
|
|
2250
2403
|
tmp.t8_1 = Unit_instance;
|
|
2251
2404
|
tmp.u8_1 = null;
|
|
2252
2405
|
return tmp.z8();
|
|
2253
2406
|
};
|
|
2254
2407
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2255
2408
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2256
|
-
return this.
|
|
2409
|
+
return this.j9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2257
2410
|
};
|
|
2258
2411
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2259
2412
|
var suspendResult = this.t8_1;
|
|
@@ -2262,10 +2415,10 @@
|
|
|
2262
2415
|
var tmp = this.r8_1;
|
|
2263
2416
|
if (tmp === 0) {
|
|
2264
2417
|
this.s8_1 = 1;
|
|
2265
|
-
if (get_isCreating(this.
|
|
2266
|
-
var tmp_0 = this.
|
|
2418
|
+
if (get_isCreating(this.i9t_1.state)) {
|
|
2419
|
+
var tmp_0 = this.i9t_1.dispatch;
|
|
2267
2420
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2268
|
-
var tmp1_table = this.
|
|
2421
|
+
var tmp1_table = this.g9t_1.table;
|
|
2269
2422
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2270
2423
|
return true;
|
|
2271
2424
|
}
|
|
@@ -2279,34 +2432,34 @@
|
|
|
2279
2432
|
}
|
|
2280
2433
|
while (true);
|
|
2281
2434
|
};
|
|
2282
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2283
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2284
|
-
i.
|
|
2285
|
-
i.
|
|
2435
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).x9q = function ($this$dispatchAwait, store, completion) {
|
|
2436
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.g9t_1, completion);
|
|
2437
|
+
i.h9t_1 = $this$dispatchAwait;
|
|
2438
|
+
i.i9t_1 = store;
|
|
2286
2439
|
return i;
|
|
2287
2440
|
};
|
|
2288
2441
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2289
2442
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2290
2443
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2291
|
-
return i.
|
|
2444
|
+
return i.j9t($this$dispatchAwait, store, $completion);
|
|
2292
2445
|
};
|
|
2293
2446
|
l.$arity = 2;
|
|
2294
2447
|
return l;
|
|
2295
2448
|
}
|
|
2296
2449
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2297
|
-
this.
|
|
2298
|
-
this.
|
|
2450
|
+
this.s9t_1 = $isCreated;
|
|
2451
|
+
this.t9t_1 = $state;
|
|
2299
2452
|
CoroutineImpl.call(this, resultContinuation);
|
|
2300
2453
|
}
|
|
2301
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2302
|
-
var tmp = this.
|
|
2454
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2455
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2303
2456
|
tmp.t8_1 = Unit_instance;
|
|
2304
2457
|
tmp.u8_1 = null;
|
|
2305
2458
|
return tmp.z8();
|
|
2306
2459
|
};
|
|
2307
2460
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2308
2461
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2309
|
-
return this.
|
|
2462
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2310
2463
|
};
|
|
2311
2464
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2312
2465
|
var suspendResult = this.t8_1;
|
|
@@ -2317,7 +2470,7 @@
|
|
|
2317
2470
|
case 0:
|
|
2318
2471
|
this.s8_1 = 3;
|
|
2319
2472
|
this.r8_1 = 1;
|
|
2320
|
-
suspendResult = this.
|
|
2473
|
+
suspendResult = this.s9t_1.z1t(this);
|
|
2321
2474
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2322
2475
|
return suspendResult;
|
|
2323
2476
|
}
|
|
@@ -2325,10 +2478,10 @@
|
|
|
2325
2478
|
continue $sm;
|
|
2326
2479
|
case 1:
|
|
2327
2480
|
if (suspendResult) {
|
|
2328
|
-
var _iterator__ex2g4s = this.
|
|
2481
|
+
var _iterator__ex2g4s = this.t9t_1.actions.l();
|
|
2329
2482
|
while (_iterator__ex2g4s.m()) {
|
|
2330
2483
|
var element = _iterator__ex2g4s.n();
|
|
2331
|
-
this.
|
|
2484
|
+
this.v9t_1.dispatch(element);
|
|
2332
2485
|
}
|
|
2333
2486
|
this.r8_1 = 2;
|
|
2334
2487
|
continue $sm;
|
|
@@ -2353,35 +2506,35 @@
|
|
|
2353
2506
|
}
|
|
2354
2507
|
while (true);
|
|
2355
2508
|
};
|
|
2356
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2357
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2358
|
-
i.
|
|
2359
|
-
i.
|
|
2509
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2510
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.s9t_1, this.t9t_1, completion);
|
|
2511
|
+
i.u9t_1 = $this$dispatchAsync;
|
|
2512
|
+
i.v9t_1 = store;
|
|
2360
2513
|
return i;
|
|
2361
2514
|
};
|
|
2362
2515
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2363
2516
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2364
2517
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2365
|
-
return i.
|
|
2518
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2366
2519
|
};
|
|
2367
2520
|
l.$arity = 2;
|
|
2368
2521
|
return l;
|
|
2369
2522
|
}
|
|
2370
2523
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2371
|
-
this.
|
|
2372
|
-
this.
|
|
2373
|
-
this.
|
|
2524
|
+
this.e9u_1 = $tableLite;
|
|
2525
|
+
this.f9u_1 = $roomId;
|
|
2526
|
+
this.g9u_1 = this$0;
|
|
2374
2527
|
CoroutineImpl.call(this, resultContinuation);
|
|
2375
2528
|
}
|
|
2376
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2377
|
-
var tmp = this.
|
|
2529
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2530
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2378
2531
|
tmp.t8_1 = Unit_instance;
|
|
2379
2532
|
tmp.u8_1 = null;
|
|
2380
2533
|
return tmp.z8();
|
|
2381
2534
|
};
|
|
2382
2535
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2383
2536
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2384
|
-
return this.
|
|
2537
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2385
2538
|
};
|
|
2386
2539
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2387
2540
|
var suspendResult = this.t8_1;
|
|
@@ -2390,9 +2543,9 @@
|
|
|
2390
2543
|
var tmp = this.r8_1;
|
|
2391
2544
|
if (tmp === 0) {
|
|
2392
2545
|
this.s8_1 = 1;
|
|
2393
|
-
var tmp_0 = this.
|
|
2394
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2395
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2546
|
+
var tmp_0 = this.i9u_1.dispatch;
|
|
2547
|
+
var tmp0_reason = new RestartRoundReason(this.e9u_1.gameInfo.round.roundNumber);
|
|
2548
|
+
var tmp1_table = Companion_instance_0.restartRound(this.f9u_1, _get_idsProvider__fnfajc(this.g9u_1).c6e(), get_versionOrDefault(GameEngineConfig_instance), this.e9u_1);
|
|
2396
2549
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2397
2550
|
return Unit_instance;
|
|
2398
2551
|
} else if (tmp === 1) {
|
|
@@ -2404,16 +2557,16 @@
|
|
|
2404
2557
|
}
|
|
2405
2558
|
while (true);
|
|
2406
2559
|
};
|
|
2407
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2408
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2409
|
-
i.
|
|
2410
|
-
i.
|
|
2560
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2561
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.e9u_1, this.f9u_1, this.g9u_1, completion);
|
|
2562
|
+
i.h9u_1 = $this$dispatchAsync;
|
|
2563
|
+
i.i9u_1 = store;
|
|
2411
2564
|
return i;
|
|
2412
2565
|
};
|
|
2413
2566
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2414
2567
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2415
2568
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2416
|
-
return i.
|
|
2569
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2417
2570
|
};
|
|
2418
2571
|
l.$arity = 2;
|
|
2419
2572
|
return l;
|
|
@@ -2421,15 +2574,15 @@
|
|
|
2421
2574
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2422
2575
|
CoroutineImpl.call(this, resultContinuation);
|
|
2423
2576
|
}
|
|
2424
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2425
|
-
var tmp = this.
|
|
2577
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2578
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2426
2579
|
tmp.t8_1 = Unit_instance;
|
|
2427
2580
|
tmp.u8_1 = null;
|
|
2428
2581
|
return tmp.z8();
|
|
2429
2582
|
};
|
|
2430
2583
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2431
2584
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2432
|
-
return this.
|
|
2585
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2433
2586
|
};
|
|
2434
2587
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2435
2588
|
var suspendResult = this.t8_1;
|
|
@@ -2438,7 +2591,7 @@
|
|
|
2438
2591
|
var tmp = this.r8_1;
|
|
2439
2592
|
if (tmp === 0) {
|
|
2440
2593
|
this.s8_1 = 1;
|
|
2441
|
-
this.
|
|
2594
|
+
this.s9u_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2442
2595
|
return Unit_instance;
|
|
2443
2596
|
} else if (tmp === 1) {
|
|
2444
2597
|
throw this.u8_1;
|
|
@@ -2449,33 +2602,33 @@
|
|
|
2449
2602
|
}
|
|
2450
2603
|
while (true);
|
|
2451
2604
|
};
|
|
2452
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2605
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2453
2606
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2454
|
-
i.
|
|
2455
|
-
i.
|
|
2607
|
+
i.r9u_1 = $this$dispatchAsync;
|
|
2608
|
+
i.s9u_1 = store;
|
|
2456
2609
|
return i;
|
|
2457
2610
|
};
|
|
2458
2611
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2459
2612
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2460
2613
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2461
|
-
return i.
|
|
2614
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2462
2615
|
};
|
|
2463
2616
|
l.$arity = 2;
|
|
2464
2617
|
return l;
|
|
2465
2618
|
}
|
|
2466
2619
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2467
|
-
this.
|
|
2620
|
+
this.b9v_1 = $spectators;
|
|
2468
2621
|
CoroutineImpl.call(this, resultContinuation);
|
|
2469
2622
|
}
|
|
2470
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2471
|
-
var tmp = this.
|
|
2623
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2624
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2472
2625
|
tmp.t8_1 = Unit_instance;
|
|
2473
2626
|
tmp.u8_1 = null;
|
|
2474
2627
|
return tmp.z8();
|
|
2475
2628
|
};
|
|
2476
2629
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2477
2630
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2478
|
-
return this.
|
|
2631
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2479
2632
|
};
|
|
2480
2633
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2481
2634
|
var suspendResult = this.t8_1;
|
|
@@ -2484,7 +2637,7 @@
|
|
|
2484
2637
|
var tmp = this.r8_1;
|
|
2485
2638
|
if (tmp === 0) {
|
|
2486
2639
|
this.s8_1 = 1;
|
|
2487
|
-
this.
|
|
2640
|
+
this.d9v_1.dispatch(new AddSpectatorsAction(toList(this.b9v_1)));
|
|
2488
2641
|
return Unit_instance;
|
|
2489
2642
|
} else if (tmp === 1) {
|
|
2490
2643
|
throw this.u8_1;
|
|
@@ -2495,33 +2648,33 @@
|
|
|
2495
2648
|
}
|
|
2496
2649
|
while (true);
|
|
2497
2650
|
};
|
|
2498
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2499
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2500
|
-
i.
|
|
2501
|
-
i.
|
|
2651
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2652
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.b9v_1, completion);
|
|
2653
|
+
i.c9v_1 = $this$dispatchAsync;
|
|
2654
|
+
i.d9v_1 = store;
|
|
2502
2655
|
return i;
|
|
2503
2656
|
};
|
|
2504
2657
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2505
2658
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2506
2659
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2507
|
-
return i.
|
|
2660
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2508
2661
|
};
|
|
2509
2662
|
l.$arity = 2;
|
|
2510
2663
|
return l;
|
|
2511
2664
|
}
|
|
2512
2665
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2513
|
-
this.
|
|
2666
|
+
this.m9v_1 = $spectators;
|
|
2514
2667
|
CoroutineImpl.call(this, resultContinuation);
|
|
2515
2668
|
}
|
|
2516
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2517
|
-
var tmp = this.
|
|
2669
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2670
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2518
2671
|
tmp.t8_1 = Unit_instance;
|
|
2519
2672
|
tmp.u8_1 = null;
|
|
2520
2673
|
return tmp.z8();
|
|
2521
2674
|
};
|
|
2522
2675
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2523
2676
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2524
|
-
return this.
|
|
2677
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2525
2678
|
};
|
|
2526
2679
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2527
2680
|
var suspendResult = this.t8_1;
|
|
@@ -2530,7 +2683,7 @@
|
|
|
2530
2683
|
var tmp = this.r8_1;
|
|
2531
2684
|
if (tmp === 0) {
|
|
2532
2685
|
this.s8_1 = 1;
|
|
2533
|
-
this.
|
|
2686
|
+
this.o9v_1.dispatch(new RemoveSpectatorsAction(toList(this.m9v_1)));
|
|
2534
2687
|
return Unit_instance;
|
|
2535
2688
|
} else if (tmp === 1) {
|
|
2536
2689
|
throw this.u8_1;
|
|
@@ -2541,34 +2694,34 @@
|
|
|
2541
2694
|
}
|
|
2542
2695
|
while (true);
|
|
2543
2696
|
};
|
|
2544
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2545
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2546
|
-
i.
|
|
2547
|
-
i.
|
|
2697
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2698
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.m9v_1, completion);
|
|
2699
|
+
i.n9v_1 = $this$dispatchAsync;
|
|
2700
|
+
i.o9v_1 = store;
|
|
2548
2701
|
return i;
|
|
2549
2702
|
};
|
|
2550
2703
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2551
2704
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2552
2705
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2553
|
-
return i.
|
|
2706
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2554
2707
|
};
|
|
2555
2708
|
l.$arity = 2;
|
|
2556
2709
|
return l;
|
|
2557
2710
|
}
|
|
2558
2711
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2559
|
-
this.
|
|
2560
|
-
this.
|
|
2712
|
+
this.x9v_1 = $playerId;
|
|
2713
|
+
this.y9v_1 = this$0;
|
|
2561
2714
|
CoroutineImpl.call(this, resultContinuation);
|
|
2562
2715
|
}
|
|
2563
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2564
|
-
var tmp = this.
|
|
2716
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2717
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2565
2718
|
tmp.t8_1 = Unit_instance;
|
|
2566
2719
|
tmp.u8_1 = null;
|
|
2567
2720
|
return tmp.z8();
|
|
2568
2721
|
};
|
|
2569
2722
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2570
2723
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2571
|
-
return this.
|
|
2724
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2572
2725
|
};
|
|
2573
2726
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2574
2727
|
var suspendResult = this.t8_1;
|
|
@@ -2577,14 +2730,14 @@
|
|
|
2577
2730
|
var tmp = this.r8_1;
|
|
2578
2731
|
if (tmp === 0) {
|
|
2579
2732
|
this.s8_1 = 1;
|
|
2580
|
-
var table = this.
|
|
2581
|
-
var player = getPlayer(table.players, this.
|
|
2733
|
+
var table = this.a9w_1.state.t6n();
|
|
2734
|
+
var player = getPlayer(table.players, this.x9v_1);
|
|
2582
2735
|
if (player.y6q_1.x68().o67_1.isLive) {
|
|
2583
|
-
this.
|
|
2736
|
+
this.a9w_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.y9v_1).g8q(player, table));
|
|
2584
2737
|
} else {
|
|
2585
|
-
var tmp_0 = this.
|
|
2738
|
+
var tmp_0 = this.a9w_1.dispatch;
|
|
2586
2739
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2587
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2740
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.x9v_1));
|
|
2588
2741
|
}
|
|
2589
2742
|
return Unit_instance;
|
|
2590
2743
|
} else if (tmp === 1) {
|
|
@@ -2596,34 +2749,34 @@
|
|
|
2596
2749
|
}
|
|
2597
2750
|
while (true);
|
|
2598
2751
|
};
|
|
2599
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2600
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2601
|
-
i.
|
|
2602
|
-
i.
|
|
2752
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2753
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.x9v_1, this.y9v_1, completion);
|
|
2754
|
+
i.z9v_1 = $this$dispatchAsync;
|
|
2755
|
+
i.a9w_1 = store;
|
|
2603
2756
|
return i;
|
|
2604
2757
|
};
|
|
2605
2758
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2606
2759
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2607
2760
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2608
|
-
return i.
|
|
2761
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2609
2762
|
};
|
|
2610
2763
|
l.$arity = 2;
|
|
2611
2764
|
return l;
|
|
2612
2765
|
}
|
|
2613
2766
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2767
|
+
this.j9w_1 = this$0;
|
|
2768
|
+
this.k9w_1 = $newRid;
|
|
2616
2769
|
CoroutineImpl.call(this, resultContinuation);
|
|
2617
2770
|
}
|
|
2618
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2619
|
-
var tmp = this.
|
|
2771
|
+
protoOf(GameServer$roomOnDelete$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2772
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2620
2773
|
tmp.t8_1 = Unit_instance;
|
|
2621
2774
|
tmp.u8_1 = null;
|
|
2622
2775
|
return tmp.z8();
|
|
2623
2776
|
};
|
|
2624
2777
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2625
2778
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2626
|
-
return this.
|
|
2779
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2627
2780
|
};
|
|
2628
2781
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2629
2782
|
var suspendResult = this.t8_1;
|
|
@@ -2632,10 +2785,10 @@
|
|
|
2632
2785
|
var tmp = this.r8_1;
|
|
2633
2786
|
if (tmp === 0) {
|
|
2634
2787
|
this.s8_1 = 1;
|
|
2635
|
-
var it = this.
|
|
2788
|
+
var it = this.j9w_1.u66().t6m_1;
|
|
2636
2789
|
var tmp_0;
|
|
2637
2790
|
if (it == null) {
|
|
2638
|
-
this.
|
|
2791
|
+
this.j9w_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2639
2792
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2640
2793
|
} else {
|
|
2641
2794
|
tmp_0 = it;
|
|
@@ -2644,15 +2797,15 @@
|
|
|
2644
2797
|
var gameTransition = terminationState.d8u_1;
|
|
2645
2798
|
var tmp_1;
|
|
2646
2799
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2647
|
-
var tmp0_elvis_lhs = this.
|
|
2800
|
+
var tmp0_elvis_lhs = this.k9w_1;
|
|
2648
2801
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2649
2802
|
} else {
|
|
2650
2803
|
tmp_1 = gameTransition;
|
|
2651
2804
|
}
|
|
2652
2805
|
var transition = tmp_1;
|
|
2653
|
-
var tmp_2 = this.
|
|
2806
|
+
var tmp_2 = this.m9w_1.dispatch;
|
|
2654
2807
|
var tmp0_reason = terminationState.c8u_1;
|
|
2655
|
-
var tmp1_isGameFinished = this.
|
|
2808
|
+
var tmp1_isGameFinished = this.j9w_1.u66().t6n().isGameFinished;
|
|
2656
2809
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2657
2810
|
return Unit_instance;
|
|
2658
2811
|
} else if (tmp === 1) {
|
|
@@ -2664,33 +2817,33 @@
|
|
|
2664
2817
|
}
|
|
2665
2818
|
while (true);
|
|
2666
2819
|
};
|
|
2667
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2668
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2669
|
-
i.
|
|
2670
|
-
i.
|
|
2820
|
+
protoOf(GameServer$roomOnDelete$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2821
|
+
var i = new GameServer$roomOnDelete$slambda(this.j9w_1, this.k9w_1, completion);
|
|
2822
|
+
i.l9w_1 = $this$dispatchAsync;
|
|
2823
|
+
i.m9w_1 = store;
|
|
2671
2824
|
return i;
|
|
2672
2825
|
};
|
|
2673
2826
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2674
2827
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2675
2828
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2676
|
-
return i.
|
|
2829
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2677
2830
|
};
|
|
2678
2831
|
l.$arity = 2;
|
|
2679
2832
|
return l;
|
|
2680
2833
|
}
|
|
2681
2834
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2682
|
-
this.
|
|
2835
|
+
this.v9w_1 = $enabled;
|
|
2683
2836
|
CoroutineImpl.call(this, resultContinuation);
|
|
2684
2837
|
}
|
|
2685
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2686
|
-
var tmp = this.
|
|
2838
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2839
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2687
2840
|
tmp.t8_1 = Unit_instance;
|
|
2688
2841
|
tmp.u8_1 = null;
|
|
2689
2842
|
return tmp.z8();
|
|
2690
2843
|
};
|
|
2691
2844
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2692
2845
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2693
|
-
return this.
|
|
2846
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2694
2847
|
};
|
|
2695
2848
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2696
2849
|
var suspendResult = this.t8_1;
|
|
@@ -2699,7 +2852,7 @@
|
|
|
2699
2852
|
var tmp = this.r8_1;
|
|
2700
2853
|
if (tmp === 0) {
|
|
2701
2854
|
this.s8_1 = 1;
|
|
2702
|
-
this.
|
|
2855
|
+
this.x9w_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.x9w_1.state).config.copy(VOID, this.v9w_1)));
|
|
2703
2856
|
return Unit_instance;
|
|
2704
2857
|
} else if (tmp === 1) {
|
|
2705
2858
|
throw this.u8_1;
|
|
@@ -2710,35 +2863,35 @@
|
|
|
2710
2863
|
}
|
|
2711
2864
|
while (true);
|
|
2712
2865
|
};
|
|
2713
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2714
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2715
|
-
i.
|
|
2716
|
-
i.
|
|
2866
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2867
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.v9w_1, completion);
|
|
2868
|
+
i.w9w_1 = $this$dispatchAsync;
|
|
2869
|
+
i.x9w_1 = store;
|
|
2717
2870
|
return i;
|
|
2718
2871
|
};
|
|
2719
2872
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2720
2873
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2721
2874
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2722
|
-
return i.
|
|
2875
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2723
2876
|
};
|
|
2724
2877
|
l.$arity = 2;
|
|
2725
2878
|
return l;
|
|
2726
2879
|
}
|
|
2727
2880
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2728
|
-
this.
|
|
2729
|
-
this.
|
|
2730
|
-
this.
|
|
2881
|
+
this.g9x_1 = $reason;
|
|
2882
|
+
this.h9x_1 = this$0;
|
|
2883
|
+
this.i9x_1 = $roomId;
|
|
2731
2884
|
CoroutineImpl.call(this, resultContinuation);
|
|
2732
2885
|
}
|
|
2733
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2734
|
-
var tmp = this.
|
|
2886
|
+
protoOf(GameServer$shutdown$slambda).w9q = function ($this$dispatchAsync, store, $completion) {
|
|
2887
|
+
var tmp = this.x9q($this$dispatchAsync, store, $completion);
|
|
2735
2888
|
tmp.t8_1 = Unit_instance;
|
|
2736
2889
|
tmp.u8_1 = null;
|
|
2737
2890
|
return tmp.z8();
|
|
2738
2891
|
};
|
|
2739
2892
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2740
2893
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2741
|
-
return this.
|
|
2894
|
+
return this.w9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2742
2895
|
};
|
|
2743
2896
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2744
2897
|
var suspendResult = this.t8_1;
|
|
@@ -2747,11 +2900,11 @@
|
|
|
2747
2900
|
var tmp = this.r8_1;
|
|
2748
2901
|
if (tmp === 0) {
|
|
2749
2902
|
this.s8_1 = 1;
|
|
2750
|
-
var state = this.
|
|
2903
|
+
var state = this.k9x_1.store.state;
|
|
2751
2904
|
if (state.u6n()) {
|
|
2752
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2905
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.g9x_1, get_serverShutdownReasonMapping());
|
|
2753
2906
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2754
|
-
var tmp_0 = this.
|
|
2907
|
+
var tmp_0 = this.k9x_1.dispatch;
|
|
2755
2908
|
var tmp_1 = Companion_instance;
|
|
2756
2909
|
var tmp_2;
|
|
2757
2910
|
switch (shutdownReason.p2_1) {
|
|
@@ -2765,10 +2918,10 @@
|
|
|
2765
2918
|
noWhenBranchMatchedException();
|
|
2766
2919
|
break;
|
|
2767
2920
|
}
|
|
2768
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2921
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.h9x_1.table.isGameFinished, this.h9x_1.table));
|
|
2769
2922
|
} else {
|
|
2770
|
-
this.
|
|
2771
|
-
var tmp_3 = this.
|
|
2923
|
+
this.h9x_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.i9x_1);
|
|
2924
|
+
var tmp_3 = this.k9x_1.dispatch;
|
|
2772
2925
|
var tmp2_safe_receiver = state.t6m_1;
|
|
2773
2926
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d8u_1));
|
|
2774
2927
|
}
|
|
@@ -2782,16 +2935,16 @@
|
|
|
2782
2935
|
}
|
|
2783
2936
|
while (true);
|
|
2784
2937
|
};
|
|
2785
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2786
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2787
|
-
i.
|
|
2788
|
-
i.
|
|
2938
|
+
protoOf(GameServer$shutdown$slambda).x9q = function ($this$dispatchAsync, store, completion) {
|
|
2939
|
+
var i = new GameServer$shutdown$slambda(this.g9x_1, this.h9x_1, this.i9x_1, completion);
|
|
2940
|
+
i.j9x_1 = $this$dispatchAsync;
|
|
2941
|
+
i.k9x_1 = store;
|
|
2789
2942
|
return i;
|
|
2790
2943
|
};
|
|
2791
2944
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2792
2945
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2793
2946
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2794
|
-
return i.
|
|
2947
|
+
return i.w9q($this$dispatchAsync, store, $completion);
|
|
2795
2948
|
};
|
|
2796
2949
|
l.$arity = 2;
|
|
2797
2950
|
return l;
|
|
@@ -2822,7 +2975,7 @@
|
|
|
2822
2975
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2823
2976
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2824
2977
|
var tmp_4 = KProperty1;
|
|
2825
|
-
tmp_1.
|
|
2978
|
+
tmp_1.p9n_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2826
2979
|
var tmp_5 = this;
|
|
2827
2980
|
// Inline function 'org.kodein.di.instance' call
|
|
2828
2981
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2830,7 +2983,7 @@
|
|
|
2830
2983
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2831
2984
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2832
2985
|
var tmp_8 = KProperty1;
|
|
2833
|
-
tmp_5.
|
|
2986
|
+
tmp_5.q9n_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2834
2987
|
var tmp_9 = this;
|
|
2835
2988
|
// Inline function 'org.kodein.di.instance' call
|
|
2836
2989
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2838,7 +2991,7 @@
|
|
|
2838
2991
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2839
2992
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2840
2993
|
var tmp_12 = KProperty1;
|
|
2841
|
-
tmp_9.
|
|
2994
|
+
tmp_9.r9n_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2842
2995
|
var tmp_13 = this;
|
|
2843
2996
|
// Inline function 'org.kodein.di.instance' call
|
|
2844
2997
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2846,9 +2999,9 @@
|
|
|
2846
2999
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2847
3000
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2848
3001
|
var tmp_16 = KProperty1;
|
|
2849
|
-
tmp_13.
|
|
3002
|
+
tmp_13.s9n_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2850
3003
|
var tmp_17 = this;
|
|
2851
|
-
tmp_17.
|
|
3004
|
+
tmp_17.t9n_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2852
3005
|
var tmp_18 = this;
|
|
2853
3006
|
// Inline function 'org.kodein.di.instance' call
|
|
2854
3007
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2856,7 +3009,7 @@
|
|
|
2856
3009
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
2857
3010
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
2858
3011
|
var tmp_21 = KProperty1;
|
|
2859
|
-
tmp_18.
|
|
3012
|
+
tmp_18.u9n_1 = tmp_20.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2860
3013
|
var tmp_22 = this;
|
|
2861
3014
|
// Inline function 'org.kodein.di.instance' call
|
|
2862
3015
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2864,7 +3017,7 @@
|
|
|
2864
3017
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2865
3018
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2866
3019
|
var tmp_25 = KProperty1;
|
|
2867
|
-
tmp_22.
|
|
3020
|
+
tmp_22.v9n_1 = tmp_24.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2868
3021
|
var tmp_26 = this;
|
|
2869
3022
|
// Inline function 'org.kodein.di.instance' call
|
|
2870
3023
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2872,14 +3025,14 @@
|
|
|
2872
3025
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2873
3026
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2874
3027
|
var tmp_29 = KProperty1;
|
|
2875
|
-
tmp_26.
|
|
3028
|
+
tmp_26.w9n_1 = tmp_28.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2876
3029
|
var tmp_30 = this;
|
|
2877
3030
|
var tmp0_externalMiddlewares = plus(storeContract.p8y(), externalMiddlewares);
|
|
2878
3031
|
var tmp1_externalReducers = plus(storeContract.o8y(), externalReducers);
|
|
2879
|
-
tmp_30.
|
|
3032
|
+
tmp_30.x9n_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2880
3033
|
}
|
|
2881
3034
|
protoOf(GameServer).i6m = function () {
|
|
2882
|
-
return this.
|
|
3035
|
+
return this.x9n_1;
|
|
2883
3036
|
};
|
|
2884
3037
|
protoOf(GameServer).v8e = function () {
|
|
2885
3038
|
return get_serverStatePayload_0(this.u66()).metadata;
|
|
@@ -2914,55 +3067,55 @@
|
|
|
2914
3067
|
};
|
|
2915
3068
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2916
3069
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2917
|
-
this.
|
|
3070
|
+
this.x9n_1.r6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2918
3071
|
};
|
|
2919
3072
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2920
3073
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2921
|
-
this.
|
|
3074
|
+
this.x9n_1.r6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2922
3075
|
};
|
|
2923
3076
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2924
3077
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2925
|
-
this.
|
|
3078
|
+
this.x9n_1.r6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2926
3079
|
};
|
|
2927
3080
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2928
3081
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2929
|
-
this.
|
|
3082
|
+
this.x9n_1.r6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2930
3083
|
};
|
|
2931
|
-
protoOf(GameServer).
|
|
3084
|
+
protoOf(GameServer).l9x = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2932
3085
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2933
|
-
this.
|
|
3086
|
+
this.x9n_1.r6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2934
3087
|
};
|
|
2935
3088
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2936
3089
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2937
|
-
var isCreated = this.
|
|
2938
|
-
this.
|
|
3090
|
+
var isCreated = this.x9n_1.s6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3091
|
+
this.x9n_1.r6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2939
3092
|
};
|
|
2940
3093
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2941
3094
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
3095
|
+
this.x9n_1.r6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3096
|
+
this.x9n_1.r6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2944
3097
|
};
|
|
2945
3098
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2946
|
-
this.
|
|
3099
|
+
this.x9n_1.r6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2947
3100
|
};
|
|
2948
3101
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2949
|
-
this.
|
|
3102
|
+
this.x9n_1.r6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2950
3103
|
};
|
|
2951
3104
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2952
3105
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2953
|
-
this.
|
|
3106
|
+
this.x9n_1.r6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2954
3107
|
};
|
|
2955
|
-
protoOf(GameServer).
|
|
3108
|
+
protoOf(GameServer).m9x = function (newRid) {
|
|
2956
3109
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
2957
|
-
this.
|
|
3110
|
+
this.x9n_1.r6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2958
3111
|
};
|
|
2959
3112
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2960
3113
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2961
|
-
this.
|
|
3114
|
+
this.x9n_1.r6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2962
3115
|
};
|
|
2963
|
-
protoOf(GameServer).
|
|
3116
|
+
protoOf(GameServer).n9x = function (reason, roomId) {
|
|
2964
3117
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2965
|
-
this.
|
|
3118
|
+
this.x9n_1.r6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2966
3119
|
};
|
|
2967
3120
|
protoOf(GameServer).clear = function () {
|
|
2968
3121
|
return this.h2();
|
|
@@ -3013,10 +3166,10 @@
|
|
|
3013
3166
|
this.fromRound = fromRound;
|
|
3014
3167
|
this.canStartNewGame = canStartNewGame;
|
|
3015
3168
|
}
|
|
3016
|
-
protoOf(ServerConfig).
|
|
3169
|
+
protoOf(ServerConfig).o9x = function () {
|
|
3017
3170
|
return this.fromRound;
|
|
3018
3171
|
};
|
|
3019
|
-
protoOf(ServerConfig).
|
|
3172
|
+
protoOf(ServerConfig).p9x = function () {
|
|
3020
3173
|
return this.canStartNewGame;
|
|
3021
3174
|
};
|
|
3022
3175
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3025,13 +3178,13 @@
|
|
|
3025
3178
|
protoOf(ServerConfig).oe = function () {
|
|
3026
3179
|
return this.canStartNewGame;
|
|
3027
3180
|
};
|
|
3028
|
-
protoOf(ServerConfig).
|
|
3181
|
+
protoOf(ServerConfig).q9x = function (fromRound, canStartNewGame) {
|
|
3029
3182
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3030
3183
|
};
|
|
3031
3184
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3032
3185
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3033
3186
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3034
|
-
return $super === VOID ? this.
|
|
3187
|
+
return $super === VOID ? this.q9x(fromRound, canStartNewGame) : $super.q9x.call(this, fromRound, canStartNewGame);
|
|
3035
3188
|
};
|
|
3036
3189
|
protoOf(ServerConfig).toString = function () {
|
|
3037
3190
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3093,20 +3246,20 @@
|
|
|
3093
3246
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3094
3247
|
tmp0_serialDesc.gz('roomId', false);
|
|
3095
3248
|
tmp0_serialDesc.gz('table', false);
|
|
3096
|
-
this.
|
|
3249
|
+
this.r9x_1 = tmp0_serialDesc;
|
|
3097
3250
|
}
|
|
3098
|
-
protoOf($serializer).
|
|
3099
|
-
var tmp0_desc = this.
|
|
3251
|
+
protoOf($serializer).s9x = function (encoder, value) {
|
|
3252
|
+
var tmp0_desc = this.r9x_1;
|
|
3100
3253
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3101
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3254
|
+
tmp1_output.dt(tmp0_desc, 0, value.t9x_1);
|
|
3102
3255
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3103
3256
|
tmp1_output.pr(tmp0_desc);
|
|
3104
3257
|
};
|
|
3105
3258
|
protoOf($serializer).co = function (encoder, value) {
|
|
3106
|
-
return this.
|
|
3259
|
+
return this.s9x(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3107
3260
|
};
|
|
3108
3261
|
protoOf($serializer).do = function (decoder) {
|
|
3109
|
-
var tmp0_desc = this.
|
|
3262
|
+
var tmp0_desc = this.r9x_1;
|
|
3110
3263
|
var tmp1_flag = true;
|
|
3111
3264
|
var tmp2_index = 0;
|
|
3112
3265
|
var tmp3_bitMask0 = 0;
|
|
@@ -3141,7 +3294,7 @@
|
|
|
3141
3294
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3142
3295
|
};
|
|
3143
3296
|
protoOf($serializer).bo = function () {
|
|
3144
|
-
return this.
|
|
3297
|
+
return this.r9x_1;
|
|
3145
3298
|
};
|
|
3146
3299
|
protoOf($serializer).vz = function () {
|
|
3147
3300
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3157,9 +3310,9 @@
|
|
|
3157
3310
|
}
|
|
3158
3311
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3159
3312
|
if (!(3 === (3 & seen0))) {
|
|
3160
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3313
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().r9x_1);
|
|
3161
3314
|
}
|
|
3162
|
-
$this.
|
|
3315
|
+
$this.t9x_1 = roomId;
|
|
3163
3316
|
$this.table = table;
|
|
3164
3317
|
return $this;
|
|
3165
3318
|
}
|
|
@@ -3167,17 +3320,17 @@
|
|
|
3167
3320
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3168
3321
|
}
|
|
3169
3322
|
function TableStateUpdateDto(roomId, table) {
|
|
3170
|
-
this.
|
|
3323
|
+
this.t9x_1 = roomId;
|
|
3171
3324
|
this.table = table;
|
|
3172
3325
|
}
|
|
3173
3326
|
protoOf(TableStateUpdateDto).p8b = function () {
|
|
3174
|
-
return this.
|
|
3327
|
+
return this.t9x_1;
|
|
3175
3328
|
};
|
|
3176
3329
|
protoOf(TableStateUpdateDto).t6n = function () {
|
|
3177
3330
|
return this.table;
|
|
3178
3331
|
};
|
|
3179
3332
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3180
|
-
return this.
|
|
3333
|
+
return this.t9x_1;
|
|
3181
3334
|
};
|
|
3182
3335
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3183
3336
|
return this.table;
|
|
@@ -3186,15 +3339,15 @@
|
|
|
3186
3339
|
return new TableStateUpdateDto(roomId, table);
|
|
3187
3340
|
};
|
|
3188
3341
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3189
|
-
roomId = roomId === VOID ? this.
|
|
3342
|
+
roomId = roomId === VOID ? this.t9x_1 : roomId;
|
|
3190
3343
|
table = table === VOID ? this.table : table;
|
|
3191
3344
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3192
3345
|
};
|
|
3193
3346
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3194
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3347
|
+
return 'TableStateUpdateDto(roomId=' + this.t9x_1 + ', table=' + this.table + ')';
|
|
3195
3348
|
};
|
|
3196
3349
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3197
|
-
var result = getStringHashCode(this.
|
|
3350
|
+
var result = getStringHashCode(this.t9x_1);
|
|
3198
3351
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3199
3352
|
return result;
|
|
3200
3353
|
};
|
|
@@ -3203,7 +3356,7 @@
|
|
|
3203
3356
|
return true;
|
|
3204
3357
|
if (!(other instanceof TableStateUpdateDto))
|
|
3205
3358
|
return false;
|
|
3206
|
-
if (!(this.
|
|
3359
|
+
if (!(this.t9x_1 === other.t9x_1))
|
|
3207
3360
|
return false;
|
|
3208
3361
|
if (!(this.table === other.table))
|
|
3209
3362
|
return false;
|
|
@@ -3223,20 +3376,20 @@
|
|
|
3223
3376
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3224
3377
|
tmp0_serialDesc.gz('roomId', false);
|
|
3225
3378
|
tmp0_serialDesc.gz('actions', false);
|
|
3226
|
-
this.
|
|
3379
|
+
this.u9x_1 = tmp0_serialDesc;
|
|
3227
3380
|
}
|
|
3228
|
-
protoOf($serializer_0).
|
|
3229
|
-
var tmp0_desc = this.
|
|
3381
|
+
protoOf($serializer_0).v9x = function (encoder, value) {
|
|
3382
|
+
var tmp0_desc = this.u9x_1;
|
|
3230
3383
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3231
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3384
|
+
tmp1_output.dt(tmp0_desc, 0, value.w9x_1);
|
|
3232
3385
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3233
3386
|
tmp1_output.pr(tmp0_desc);
|
|
3234
3387
|
};
|
|
3235
3388
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3236
|
-
return this.
|
|
3389
|
+
return this.v9x(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3237
3390
|
};
|
|
3238
3391
|
protoOf($serializer_0).do = function (decoder) {
|
|
3239
|
-
var tmp0_desc = this.
|
|
3392
|
+
var tmp0_desc = this.u9x_1;
|
|
3240
3393
|
var tmp1_flag = true;
|
|
3241
3394
|
var tmp2_index = 0;
|
|
3242
3395
|
var tmp3_bitMask0 = 0;
|
|
@@ -3271,7 +3424,7 @@
|
|
|
3271
3424
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3272
3425
|
};
|
|
3273
3426
|
protoOf($serializer_0).bo = function () {
|
|
3274
|
-
return this.
|
|
3427
|
+
return this.u9x_1;
|
|
3275
3428
|
};
|
|
3276
3429
|
protoOf($serializer_0).vz = function () {
|
|
3277
3430
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3287,9 +3440,9 @@
|
|
|
3287
3440
|
}
|
|
3288
3441
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3289
3442
|
if (!(3 === (3 & seen0))) {
|
|
3290
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3443
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().u9x_1);
|
|
3291
3444
|
}
|
|
3292
|
-
$this.
|
|
3445
|
+
$this.w9x_1 = roomId;
|
|
3293
3446
|
$this.actions = actions;
|
|
3294
3447
|
return $this;
|
|
3295
3448
|
}
|
|
@@ -3297,17 +3450,17 @@
|
|
|
3297
3450
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3298
3451
|
}
|
|
3299
3452
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3300
|
-
this.
|
|
3453
|
+
this.w9x_1 = roomId;
|
|
3301
3454
|
this.actions = actions;
|
|
3302
3455
|
}
|
|
3303
3456
|
protoOf(ActionsStateUpdateDto).p8b = function () {
|
|
3304
|
-
return this.
|
|
3457
|
+
return this.w9x_1;
|
|
3305
3458
|
};
|
|
3306
3459
|
protoOf(ActionsStateUpdateDto).c8c = function () {
|
|
3307
3460
|
return this.actions;
|
|
3308
3461
|
};
|
|
3309
3462
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3310
|
-
return this.
|
|
3463
|
+
return this.w9x_1;
|
|
3311
3464
|
};
|
|
3312
3465
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3313
3466
|
return this.actions;
|
|
@@ -3316,15 +3469,15 @@
|
|
|
3316
3469
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3317
3470
|
};
|
|
3318
3471
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3319
|
-
roomId = roomId === VOID ? this.
|
|
3472
|
+
roomId = roomId === VOID ? this.w9x_1 : roomId;
|
|
3320
3473
|
actions = actions === VOID ? this.actions : actions;
|
|
3321
3474
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3322
3475
|
};
|
|
3323
3476
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3324
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3477
|
+
return 'ActionsStateUpdateDto(roomId=' + this.w9x_1 + ', actions=' + this.actions + ')';
|
|
3325
3478
|
};
|
|
3326
3479
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3327
|
-
var result = getStringHashCode(this.
|
|
3480
|
+
var result = getStringHashCode(this.w9x_1);
|
|
3328
3481
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3329
3482
|
return result;
|
|
3330
3483
|
};
|
|
@@ -3333,7 +3486,7 @@
|
|
|
3333
3486
|
return true;
|
|
3334
3487
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3335
3488
|
return false;
|
|
3336
|
-
if (!(this.
|
|
3489
|
+
if (!(this.w9x_1 === other.w9x_1))
|
|
3337
3490
|
return false;
|
|
3338
3491
|
if (!(this.actions === other.actions))
|
|
3339
3492
|
return false;
|
|
@@ -3363,42 +3516,42 @@
|
|
|
3363
3516
|
var tmp$ret$0 = mapToDto(item);
|
|
3364
3517
|
destination.j(tmp$ret$0);
|
|
3365
3518
|
}
|
|
3366
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3519
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.x9x_1, encoderDecoderProvider.v8i(destination));
|
|
3367
3520
|
}
|
|
3368
3521
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3369
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3522
|
+
return new TableStateUpdateDto(_this__u8e3s4.y9x_1, encoderDecoderProvider.t8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3370
3523
|
}
|
|
3371
3524
|
function ServerStateUpdate() {
|
|
3372
3525
|
}
|
|
3373
3526
|
function TableStateUpdate(roomId, table) {
|
|
3374
|
-
this.
|
|
3527
|
+
this.y9x_1 = roomId;
|
|
3375
3528
|
this.table = table;
|
|
3376
3529
|
}
|
|
3377
3530
|
protoOf(TableStateUpdate).p8b = function () {
|
|
3378
|
-
return this.
|
|
3531
|
+
return this.y9x_1;
|
|
3379
3532
|
};
|
|
3380
3533
|
protoOf(TableStateUpdate).t6n = function () {
|
|
3381
3534
|
return this.table;
|
|
3382
3535
|
};
|
|
3383
3536
|
protoOf(TableStateUpdate).ne = function () {
|
|
3384
|
-
return this.
|
|
3537
|
+
return this.y9x_1;
|
|
3385
3538
|
};
|
|
3386
3539
|
protoOf(TableStateUpdate).oe = function () {
|
|
3387
3540
|
return this.table;
|
|
3388
3541
|
};
|
|
3389
|
-
protoOf(TableStateUpdate).
|
|
3542
|
+
protoOf(TableStateUpdate).z9x = function (roomId, table) {
|
|
3390
3543
|
return new TableStateUpdate(roomId, table);
|
|
3391
3544
|
};
|
|
3392
3545
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3393
|
-
roomId = roomId === VOID ? this.
|
|
3546
|
+
roomId = roomId === VOID ? this.y9x_1 : roomId;
|
|
3394
3547
|
table = table === VOID ? this.table : table;
|
|
3395
|
-
return $super === VOID ? this.
|
|
3548
|
+
return $super === VOID ? this.z9x(roomId, table) : $super.z9x.call(this, roomId, table);
|
|
3396
3549
|
};
|
|
3397
3550
|
protoOf(TableStateUpdate).toString = function () {
|
|
3398
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3551
|
+
return 'TableStateUpdate(roomId=' + this.y9x_1 + ', table=' + this.table.toString() + ')';
|
|
3399
3552
|
};
|
|
3400
3553
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3401
|
-
var result = getStringHashCode(this.
|
|
3554
|
+
var result = getStringHashCode(this.y9x_1);
|
|
3402
3555
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3403
3556
|
return result;
|
|
3404
3557
|
};
|
|
@@ -3407,41 +3560,41 @@
|
|
|
3407
3560
|
return true;
|
|
3408
3561
|
if (!(other instanceof TableStateUpdate))
|
|
3409
3562
|
return false;
|
|
3410
|
-
if (!(this.
|
|
3563
|
+
if (!(this.y9x_1 === other.y9x_1))
|
|
3411
3564
|
return false;
|
|
3412
3565
|
if (!this.table.equals(other.table))
|
|
3413
3566
|
return false;
|
|
3414
3567
|
return true;
|
|
3415
3568
|
};
|
|
3416
3569
|
function ActionsStateUpdate(roomId, actions) {
|
|
3417
|
-
this.
|
|
3570
|
+
this.x9x_1 = roomId;
|
|
3418
3571
|
this.actions = actions;
|
|
3419
3572
|
}
|
|
3420
3573
|
protoOf(ActionsStateUpdate).p8b = function () {
|
|
3421
|
-
return this.
|
|
3574
|
+
return this.x9x_1;
|
|
3422
3575
|
};
|
|
3423
3576
|
protoOf(ActionsStateUpdate).c8c = function () {
|
|
3424
3577
|
return this.actions;
|
|
3425
3578
|
};
|
|
3426
3579
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3427
|
-
return this.
|
|
3580
|
+
return this.x9x_1;
|
|
3428
3581
|
};
|
|
3429
3582
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3430
3583
|
return this.actions;
|
|
3431
3584
|
};
|
|
3432
|
-
protoOf(ActionsStateUpdate).
|
|
3585
|
+
protoOf(ActionsStateUpdate).a9y = function (roomId, actions) {
|
|
3433
3586
|
return new ActionsStateUpdate(roomId, actions);
|
|
3434
3587
|
};
|
|
3435
3588
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3436
|
-
roomId = roomId === VOID ? this.
|
|
3589
|
+
roomId = roomId === VOID ? this.x9x_1 : roomId;
|
|
3437
3590
|
actions = actions === VOID ? this.actions : actions;
|
|
3438
|
-
return $super === VOID ? this.
|
|
3591
|
+
return $super === VOID ? this.a9y(roomId, actions) : $super.a9y.call(this, roomId, actions);
|
|
3439
3592
|
};
|
|
3440
3593
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3441
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3594
|
+
return 'ActionsStateUpdate(roomId=' + this.x9x_1 + ', actions=' + toString(this.actions) + ')';
|
|
3442
3595
|
};
|
|
3443
3596
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3444
|
-
var result = getStringHashCode(this.
|
|
3597
|
+
var result = getStringHashCode(this.x9x_1);
|
|
3445
3598
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3446
3599
|
return result;
|
|
3447
3600
|
};
|
|
@@ -3450,7 +3603,7 @@
|
|
|
3450
3603
|
return true;
|
|
3451
3604
|
if (!(other instanceof ActionsStateUpdate))
|
|
3452
3605
|
return false;
|
|
3453
|
-
if (!(this.
|
|
3606
|
+
if (!(this.x9x_1 === other.x9x_1))
|
|
3454
3607
|
return false;
|
|
3455
3608
|
if (!equals(this.actions, other.actions))
|
|
3456
3609
|
return false;
|
|
@@ -3684,18 +3837,18 @@
|
|
|
3684
3837
|
function ToClientEventsObserver() {
|
|
3685
3838
|
}
|
|
3686
3839
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3687
|
-
this.
|
|
3688
|
-
this.
|
|
3840
|
+
this.k9y_1 = this$0;
|
|
3841
|
+
this.l9y_1 = $actions;
|
|
3689
3842
|
CoroutineImpl.call(this, resultContinuation);
|
|
3690
3843
|
}
|
|
3691
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3692
|
-
var tmp = this.
|
|
3844
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).o9y = function ($this$flow, $completion) {
|
|
3845
|
+
var tmp = this.p9y($this$flow, $completion);
|
|
3693
3846
|
tmp.t8_1 = Unit_instance;
|
|
3694
3847
|
tmp.u8_1 = null;
|
|
3695
3848
|
return tmp.z8();
|
|
3696
3849
|
};
|
|
3697
3850
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3698
|
-
return this.
|
|
3851
|
+
return this.o9y((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3699
3852
|
};
|
|
3700
3853
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3701
3854
|
var suspendResult = this.t8_1;
|
|
@@ -3705,19 +3858,19 @@
|
|
|
3705
3858
|
switch (tmp) {
|
|
3706
3859
|
case 0:
|
|
3707
3860
|
this.s8_1 = 4;
|
|
3708
|
-
this.
|
|
3709
|
-
this.
|
|
3861
|
+
this.k9y_1.u9y_1;
|
|
3862
|
+
this.n9y_1 = transformToEmits(this.k9y_1, this.l9y_1).l();
|
|
3710
3863
|
this.r8_1 = 1;
|
|
3711
3864
|
continue $sm;
|
|
3712
3865
|
case 1:
|
|
3713
|
-
if (!this.
|
|
3866
|
+
if (!this.n9y_1.m()) {
|
|
3714
3867
|
this.r8_1 = 3;
|
|
3715
3868
|
continue $sm;
|
|
3716
3869
|
}
|
|
3717
3870
|
|
|
3718
|
-
var element = this.
|
|
3871
|
+
var element = this.n9y_1.n();
|
|
3719
3872
|
this.r8_1 = 2;
|
|
3720
|
-
suspendResult = this.
|
|
3873
|
+
suspendResult = this.m9y_1.n28(element, this);
|
|
3721
3874
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3722
3875
|
return suspendResult;
|
|
3723
3876
|
}
|
|
@@ -3727,11 +3880,11 @@
|
|
|
3727
3880
|
this.r8_1 = 1;
|
|
3728
3881
|
continue $sm;
|
|
3729
3882
|
case 3:
|
|
3730
|
-
var tmp0 = this.
|
|
3883
|
+
var tmp0 = this.k9y_1.t9y_1;
|
|
3731
3884
|
l$ret$1: do {
|
|
3732
3885
|
while (true) {
|
|
3733
3886
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3734
|
-
var upd = cur - this.
|
|
3887
|
+
var upd = cur - this.l9y_1.o() | 0;
|
|
3735
3888
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3736
3889
|
break l$ret$1;
|
|
3737
3890
|
}
|
|
@@ -3753,15 +3906,15 @@
|
|
|
3753
3906
|
}
|
|
3754
3907
|
while (true);
|
|
3755
3908
|
};
|
|
3756
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3757
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3758
|
-
i.
|
|
3909
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).p9y = function ($this$flow, completion) {
|
|
3910
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.k9y_1, this.l9y_1, completion);
|
|
3911
|
+
i.m9y_1 = $this$flow;
|
|
3759
3912
|
return i;
|
|
3760
3913
|
};
|
|
3761
3914
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3762
3915
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3763
3916
|
var l = function ($this$flow, $completion) {
|
|
3764
|
-
return i.
|
|
3917
|
+
return i.o9y($this$flow, $completion);
|
|
3765
3918
|
};
|
|
3766
3919
|
l.$arity = 1;
|
|
3767
3920
|
return l;
|
|
@@ -3831,29 +3984,29 @@
|
|
|
3831
3984
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3832
3985
|
}
|
|
3833
3986
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3834
|
-
var tmp = $this.
|
|
3987
|
+
var tmp = $this.s9y_1.c6e();
|
|
3835
3988
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3836
|
-
var this_0 = _this__u8e3s4.
|
|
3989
|
+
var this_0 = _this__u8e3s4.x9y_1;
|
|
3837
3990
|
var tmp_0 = copyToArray(this_0);
|
|
3838
3991
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3839
|
-
var this_1 = _this__u8e3s4.
|
|
3992
|
+
var this_1 = _this__u8e3s4.y9y_1;
|
|
3840
3993
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3841
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3994
|
+
return new ActionDeliveryPayload(_this__u8e3s4.w9y_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.z9y_1);
|
|
3842
3995
|
}
|
|
3843
3996
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3844
|
-
this.
|
|
3845
|
-
this.
|
|
3846
|
-
this.
|
|
3847
|
-
this.
|
|
3997
|
+
this.w9y_1 = tableId;
|
|
3998
|
+
this.x9y_1 = includePlayers;
|
|
3999
|
+
this.y9y_1 = excludePlayers;
|
|
4000
|
+
this.z9y_1 = deliveryType;
|
|
3848
4001
|
}
|
|
3849
4002
|
protoOf(GroupKey).toString = function () {
|
|
3850
|
-
return 'GroupKey(tableId=' + this.
|
|
4003
|
+
return 'GroupKey(tableId=' + this.w9y_1 + ', includePlayers=' + toString(this.x9y_1) + ', excludePlayers=' + toString(this.y9y_1) + ', deliveryType=' + this.z9y_1.toString() + ')';
|
|
3851
4004
|
};
|
|
3852
4005
|
protoOf(GroupKey).hashCode = function () {
|
|
3853
|
-
var result = getStringHashCode(this.
|
|
3854
|
-
result = imul(result, 31) + hashCode(this.
|
|
3855
|
-
result = imul(result, 31) + hashCode(this.
|
|
3856
|
-
result = imul(result, 31) + this.
|
|
4006
|
+
var result = getStringHashCode(this.w9y_1);
|
|
4007
|
+
result = imul(result, 31) + hashCode(this.x9y_1) | 0;
|
|
4008
|
+
result = imul(result, 31) + hashCode(this.y9y_1) | 0;
|
|
4009
|
+
result = imul(result, 31) + this.z9y_1.hashCode() | 0;
|
|
3857
4010
|
return result;
|
|
3858
4011
|
};
|
|
3859
4012
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3861,35 +4014,35 @@
|
|
|
3861
4014
|
return true;
|
|
3862
4015
|
if (!(other instanceof GroupKey))
|
|
3863
4016
|
return false;
|
|
3864
|
-
if (!(this.
|
|
4017
|
+
if (!(this.w9y_1 === other.w9y_1))
|
|
3865
4018
|
return false;
|
|
3866
|
-
if (!equals(this.
|
|
4019
|
+
if (!equals(this.x9y_1, other.x9y_1))
|
|
3867
4020
|
return false;
|
|
3868
|
-
if (!equals(this.
|
|
4021
|
+
if (!equals(this.y9y_1, other.y9y_1))
|
|
3869
4022
|
return false;
|
|
3870
|
-
if (!this.
|
|
4023
|
+
if (!this.z9y_1.equals(other.z9y_1))
|
|
3871
4024
|
return false;
|
|
3872
4025
|
return true;
|
|
3873
4026
|
};
|
|
3874
4027
|
function Companion_4() {
|
|
3875
|
-
this.
|
|
4028
|
+
this.a9z_1 = 6;
|
|
3876
4029
|
}
|
|
3877
4030
|
var Companion_instance_12;
|
|
3878
4031
|
function Companion_getInstance_5() {
|
|
3879
4032
|
return Companion_instance_12;
|
|
3880
4033
|
}
|
|
3881
4034
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3882
|
-
this.
|
|
4035
|
+
this.j9z_1 = this$0;
|
|
3883
4036
|
CoroutineImpl.call(this, resultContinuation);
|
|
3884
4037
|
}
|
|
3885
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3886
|
-
var tmp = this.
|
|
4038
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).l9z = function (actions, $completion) {
|
|
4039
|
+
var tmp = this.m9z(actions, $completion);
|
|
3887
4040
|
tmp.t8_1 = Unit_instance;
|
|
3888
4041
|
tmp.u8_1 = null;
|
|
3889
4042
|
return tmp.z8();
|
|
3890
4043
|
};
|
|
3891
4044
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3892
|
-
return this.
|
|
4045
|
+
return this.l9z((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3893
4046
|
};
|
|
3894
4047
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3895
4048
|
var suspendResult = this.t8_1;
|
|
@@ -3898,7 +4051,7 @@
|
|
|
3898
4051
|
var tmp = this.r8_1;
|
|
3899
4052
|
if (tmp === 0) {
|
|
3900
4053
|
this.s8_1 = 1;
|
|
3901
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4054
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.j9z_1, this.k9z_1, null));
|
|
3902
4055
|
} else if (tmp === 1) {
|
|
3903
4056
|
throw this.u8_1;
|
|
3904
4057
|
}
|
|
@@ -3908,23 +4061,23 @@
|
|
|
3908
4061
|
}
|
|
3909
4062
|
while (true);
|
|
3910
4063
|
};
|
|
3911
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3912
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3913
|
-
i.
|
|
4064
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9z = function (actions, completion) {
|
|
4065
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.j9z_1, completion);
|
|
4066
|
+
i.k9z_1 = actions;
|
|
3914
4067
|
return i;
|
|
3915
4068
|
};
|
|
3916
4069
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3917
4070
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3918
4071
|
var l = function (actions, $completion) {
|
|
3919
|
-
return i.
|
|
4072
|
+
return i.l9z(actions, $completion);
|
|
3920
4073
|
};
|
|
3921
4074
|
l.$arity = 1;
|
|
3922
4075
|
return l;
|
|
3923
4076
|
}
|
|
3924
4077
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3925
4078
|
CoroutineImpl.call(this, resultContinuation);
|
|
3926
|
-
this.
|
|
3927
|
-
this.
|
|
4079
|
+
this.v9z_1 = _this__u8e3s4;
|
|
4080
|
+
this.w9z_1 = fromEvent;
|
|
3928
4081
|
}
|
|
3929
4082
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3930
4083
|
var suspendResult = this.t8_1;
|
|
@@ -3934,8 +4087,8 @@
|
|
|
3934
4087
|
switch (tmp) {
|
|
3935
4088
|
case 0:
|
|
3936
4089
|
this.s8_1 = 2;
|
|
3937
|
-
this.u9y_1
|
|
3938
|
-
var tmp0 = this.
|
|
4090
|
+
this.v9z_1.u9y_1;
|
|
4091
|
+
var tmp0 = this.v9z_1.t9y_1;
|
|
3939
4092
|
l$ret$1: do {
|
|
3940
4093
|
while (true) {
|
|
3941
4094
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3947,7 +4100,7 @@
|
|
|
3947
4100
|
}
|
|
3948
4101
|
while (false);
|
|
3949
4102
|
this.r8_1 = 1;
|
|
3950
|
-
suspendResult = this.
|
|
4103
|
+
suspendResult = this.v9z_1.v9y_1.n28(this.w9z_1, this);
|
|
3951
4104
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3952
4105
|
return suspendResult;
|
|
3953
4106
|
}
|
|
@@ -3971,7 +4124,7 @@
|
|
|
3971
4124
|
};
|
|
3972
4125
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3973
4126
|
CoroutineImpl.call(this, resultContinuation);
|
|
3974
|
-
this.
|
|
4127
|
+
this.fa0_1 = _this__u8e3s4;
|
|
3975
4128
|
}
|
|
3976
4129
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3977
4130
|
var suspendResult = this.t8_1;
|
|
@@ -3981,12 +4134,12 @@
|
|
|
3981
4134
|
switch (tmp) {
|
|
3982
4135
|
case 0:
|
|
3983
4136
|
this.s8_1 = 5;
|
|
3984
|
-
this.
|
|
3985
|
-
this.
|
|
4137
|
+
this.fa0_1.u9y_1;
|
|
4138
|
+
this.ga0_1 = 0;
|
|
3986
4139
|
this.r8_1 = 1;
|
|
3987
4140
|
continue $sm;
|
|
3988
4141
|
case 1:
|
|
3989
|
-
if (!!(this.
|
|
4142
|
+
if (!!(this.fa0_1.t9y_1.kotlinx$atomicfu$value === 0)) {
|
|
3990
4143
|
this.r8_1 = 4;
|
|
3991
4144
|
continue $sm;
|
|
3992
4145
|
}
|
|
@@ -3999,9 +4152,9 @@
|
|
|
3999
4152
|
|
|
4000
4153
|
continue $sm;
|
|
4001
4154
|
case 2:
|
|
4002
|
-
this.
|
|
4003
|
-
if (this.
|
|
4004
|
-
this.
|
|
4155
|
+
this.ga0_1 = this.ga0_1 + 1 | 0;
|
|
4156
|
+
if (this.ga0_1 > 6) {
|
|
4157
|
+
this.fa0_1.r9y_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.fa0_1.t9y_1.kotlinx$atomicfu$value);
|
|
4005
4158
|
this.r8_1 = 4;
|
|
4006
4159
|
continue $sm;
|
|
4007
4160
|
} else {
|
|
@@ -4029,16 +4182,16 @@
|
|
|
4029
4182
|
while (true);
|
|
4030
4183
|
};
|
|
4031
4184
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4032
|
-
this.
|
|
4033
|
-
this.
|
|
4034
|
-
this.
|
|
4035
|
-
this.
|
|
4185
|
+
this.q9y_1 = serverReduxConfig;
|
|
4186
|
+
this.r9y_1 = logger;
|
|
4187
|
+
this.s9y_1 = idsProvider;
|
|
4188
|
+
this.t9y_1 = atomic$ref$1(0);
|
|
4036
4189
|
var tmp = this;
|
|
4037
4190
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4038
|
-
tmp.
|
|
4039
|
-
this.
|
|
4191
|
+
tmp.u9y_1 = get_atomicfu$reentrantLock();
|
|
4192
|
+
this.v9y_1 = MutableSharedFlow();
|
|
4040
4193
|
}
|
|
4041
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4194
|
+
protoOf(ToClientEventsObserverImpl).b9y = function (fromEvent, $completion) {
|
|
4042
4195
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4043
4196
|
tmp.t8_1 = Unit_instance;
|
|
4044
4197
|
tmp.u8_1 = null;
|
|
@@ -4050,162 +4203,162 @@
|
|
|
4050
4203
|
tmp.u8_1 = null;
|
|
4051
4204
|
return tmp.z8();
|
|
4052
4205
|
};
|
|
4053
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4054
|
-
if (!this.
|
|
4055
|
-
return this.
|
|
4206
|
+
protoOf(ToClientEventsObserverImpl).q9o = function () {
|
|
4207
|
+
if (!this.q9y_1.enabledCombinedEvents) {
|
|
4208
|
+
return this.v9y_1;
|
|
4056
4209
|
}
|
|
4057
|
-
var tmp = windowedByInterval(this.
|
|
4210
|
+
var tmp = windowedByInterval(this.v9y_1, fromInt(this.q9y_1.combinedEventsIntervalMillis));
|
|
4058
4211
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4059
4212
|
};
|
|
4060
4213
|
function UpdateServerConfigAction(serverConfig) {
|
|
4061
|
-
this.
|
|
4214
|
+
this.ha0_1 = serverConfig;
|
|
4062
4215
|
}
|
|
4063
4216
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4064
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4217
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ha0_1.toString() + ')';
|
|
4065
4218
|
};
|
|
4066
4219
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4067
|
-
return this.
|
|
4220
|
+
return this.ha0_1.hashCode();
|
|
4068
4221
|
};
|
|
4069
4222
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4070
4223
|
if (this === other)
|
|
4071
4224
|
return true;
|
|
4072
4225
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4073
4226
|
return false;
|
|
4074
|
-
if (!this.
|
|
4227
|
+
if (!this.ha0_1.equals(other.ha0_1))
|
|
4075
4228
|
return false;
|
|
4076
4229
|
return true;
|
|
4077
4230
|
};
|
|
4078
4231
|
function SpectatorsAction() {
|
|
4079
4232
|
}
|
|
4080
4233
|
function AddSpectatorsAction(spectators) {
|
|
4081
|
-
this.
|
|
4234
|
+
this.ia0_1 = spectators;
|
|
4082
4235
|
}
|
|
4083
4236
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4084
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4237
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ia0_1) + ')';
|
|
4085
4238
|
};
|
|
4086
4239
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4087
|
-
return hashCode(this.
|
|
4240
|
+
return hashCode(this.ia0_1);
|
|
4088
4241
|
};
|
|
4089
4242
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4090
4243
|
if (this === other)
|
|
4091
4244
|
return true;
|
|
4092
4245
|
if (!(other instanceof AddSpectatorsAction))
|
|
4093
4246
|
return false;
|
|
4094
|
-
if (!equals(this.
|
|
4247
|
+
if (!equals(this.ia0_1, other.ia0_1))
|
|
4095
4248
|
return false;
|
|
4096
4249
|
return true;
|
|
4097
4250
|
};
|
|
4098
4251
|
function RemoveSpectatorsAction(spectators) {
|
|
4099
|
-
this.
|
|
4252
|
+
this.ja0_1 = spectators;
|
|
4100
4253
|
}
|
|
4101
4254
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4102
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4255
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ja0_1) + ')';
|
|
4103
4256
|
};
|
|
4104
4257
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4105
|
-
return hashCode(this.
|
|
4258
|
+
return hashCode(this.ja0_1);
|
|
4106
4259
|
};
|
|
4107
4260
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4108
4261
|
if (this === other)
|
|
4109
4262
|
return true;
|
|
4110
4263
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4111
4264
|
return false;
|
|
4112
|
-
if (!equals(this.
|
|
4265
|
+
if (!equals(this.ja0_1, other.ja0_1))
|
|
4113
4266
|
return false;
|
|
4114
4267
|
return true;
|
|
4115
4268
|
};
|
|
4116
4269
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4117
|
-
var tmp0 = $this.
|
|
4270
|
+
var tmp0 = $this.pa0_1;
|
|
4118
4271
|
var tmp = KProperty1;
|
|
4119
4272
|
// Inline function 'kotlin.getValue' call
|
|
4120
4273
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4121
4274
|
return tmp0.w();
|
|
4122
4275
|
}
|
|
4123
4276
|
function _get_logger__rkp4sl($this) {
|
|
4124
|
-
var tmp0 = $this.
|
|
4277
|
+
var tmp0 = $this.qa0_1;
|
|
4125
4278
|
var tmp = KProperty1;
|
|
4126
4279
|
// Inline function 'kotlin.getValue' call
|
|
4127
4280
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4128
4281
|
return tmp0.w();
|
|
4129
4282
|
}
|
|
4130
4283
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4131
|
-
var tmp0 = $this.
|
|
4284
|
+
var tmp0 = $this.ra0_1;
|
|
4132
4285
|
var tmp = KProperty1;
|
|
4133
4286
|
// Inline function 'kotlin.getValue' call
|
|
4134
4287
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4135
4288
|
return tmp0.w();
|
|
4136
4289
|
}
|
|
4137
4290
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4138
|
-
var tmp0 = $this.
|
|
4291
|
+
var tmp0 = $this.sa0_1;
|
|
4139
4292
|
var tmp = KProperty1;
|
|
4140
4293
|
// Inline function 'kotlin.getValue' call
|
|
4141
4294
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4142
4295
|
return tmp0.w();
|
|
4143
4296
|
}
|
|
4144
4297
|
function _get_serverConfig__rk2g06($this) {
|
|
4145
|
-
var tmp0 = $this.
|
|
4298
|
+
var tmp0 = $this.ta0_1;
|
|
4146
4299
|
var tmp = KProperty1;
|
|
4147
4300
|
// Inline function 'kotlin.getValue' call
|
|
4148
4301
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4149
4302
|
return tmp0.w();
|
|
4150
4303
|
}
|
|
4151
4304
|
function _get_logicConfig__52ww9d($this) {
|
|
4152
|
-
var tmp0 = $this.
|
|
4305
|
+
var tmp0 = $this.ua0_1;
|
|
4153
4306
|
var tmp = KProperty1;
|
|
4154
4307
|
// Inline function 'kotlin.getValue' call
|
|
4155
4308
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4156
4309
|
return tmp0.w();
|
|
4157
4310
|
}
|
|
4158
4311
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4159
|
-
var tmp0 = $this.
|
|
4312
|
+
var tmp0 = $this.va0_1;
|
|
4160
4313
|
var tmp = KProperty1;
|
|
4161
4314
|
// Inline function 'kotlin.getValue' call
|
|
4162
4315
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4163
4316
|
return tmp0.w();
|
|
4164
4317
|
}
|
|
4165
4318
|
function _get_botConfig__cpaxzc($this) {
|
|
4166
|
-
var tmp0 = $this.
|
|
4319
|
+
var tmp0 = $this.wa0_1;
|
|
4167
4320
|
var tmp = KProperty1;
|
|
4168
4321
|
// Inline function 'kotlin.getValue' call
|
|
4169
4322
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4170
4323
|
return tmp0.w();
|
|
4171
4324
|
}
|
|
4172
4325
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4173
|
-
var tmp0 = $this.
|
|
4326
|
+
var tmp0 = $this.xa0_1;
|
|
4174
4327
|
var tmp = KProperty1;
|
|
4175
4328
|
// Inline function 'kotlin.getValue' call
|
|
4176
4329
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4177
4330
|
return tmp0.w();
|
|
4178
4331
|
}
|
|
4179
4332
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4180
|
-
var tmp0 = $this.
|
|
4333
|
+
var tmp0 = $this.ya0_1;
|
|
4181
4334
|
var tmp = KProperty1;
|
|
4182
4335
|
// Inline function 'kotlin.getValue' call
|
|
4183
4336
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4184
4337
|
return tmp0.w();
|
|
4185
4338
|
}
|
|
4186
4339
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4187
|
-
var tmp0 = $this.
|
|
4340
|
+
var tmp0 = $this.za0_1;
|
|
4188
4341
|
var tmp = KProperty1;
|
|
4189
4342
|
// Inline function 'kotlin.getValue' call
|
|
4190
4343
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4191
4344
|
return tmp0.w();
|
|
4192
4345
|
}
|
|
4193
4346
|
function _get_dealerConfig__183ci8($this) {
|
|
4194
|
-
var tmp0 = $this.
|
|
4347
|
+
var tmp0 = $this.aa1_1;
|
|
4195
4348
|
var tmp = KProperty1;
|
|
4196
4349
|
// Inline function 'kotlin.getValue' call
|
|
4197
4350
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4198
4351
|
return tmp0.w();
|
|
4199
4352
|
}
|
|
4200
4353
|
function _get_poolProvider__tqti6a($this) {
|
|
4201
|
-
var tmp0 = $this.
|
|
4354
|
+
var tmp0 = $this.ba1_1;
|
|
4202
4355
|
var tmp = KProperty1;
|
|
4203
4356
|
// Inline function 'kotlin.getValue' call
|
|
4204
4357
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4205
4358
|
return tmp0.w();
|
|
4206
4359
|
}
|
|
4207
4360
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4208
|
-
var tmp0 = $this.
|
|
4361
|
+
var tmp0 = $this.ca1_1;
|
|
4209
4362
|
var tmp = KProperty1;
|
|
4210
4363
|
// Inline function 'kotlin.getValue' call
|
|
4211
4364
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4369,11 +4522,11 @@
|
|
|
4369
4522
|
tmp = fileLoggerStoreContract;
|
|
4370
4523
|
}
|
|
4371
4524
|
fileLoggerStoreContract = tmp;
|
|
4372
|
-
this.
|
|
4373
|
-
this.
|
|
4374
|
-
this.
|
|
4375
|
-
this.
|
|
4376
|
-
this.
|
|
4525
|
+
this.ka0_1 = validationStoreContract;
|
|
4526
|
+
this.la0_1 = timersStoreContract;
|
|
4527
|
+
this.ma0_1 = botGameStoreContract;
|
|
4528
|
+
this.na0_1 = gameMechanicStoreContract;
|
|
4529
|
+
this.oa0_1 = fileLoggerStoreContract;
|
|
4377
4530
|
var tmp_0 = this;
|
|
4378
4531
|
// Inline function 'org.kodein.di.instance' call
|
|
4379
4532
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4381,7 +4534,7 @@
|
|
|
4381
4534
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4382
4535
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4383
4536
|
var tmp_3 = KProperty1;
|
|
4384
|
-
tmp_0.
|
|
4537
|
+
tmp_0.pa0_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4385
4538
|
var tmp_4 = this;
|
|
4386
4539
|
// Inline function 'org.kodein.di.instance' call
|
|
4387
4540
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4389,7 +4542,7 @@
|
|
|
4389
4542
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4390
4543
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4391
4544
|
var tmp_7 = KProperty1;
|
|
4392
|
-
tmp_4.
|
|
4545
|
+
tmp_4.qa0_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4393
4546
|
var tmp_8 = this;
|
|
4394
4547
|
// Inline function 'org.kodein.di.instance' call
|
|
4395
4548
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4397,7 +4550,7 @@
|
|
|
4397
4550
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4398
4551
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4399
4552
|
var tmp_11 = KProperty1;
|
|
4400
|
-
tmp_8.
|
|
4553
|
+
tmp_8.ra0_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4401
4554
|
var tmp_12 = this;
|
|
4402
4555
|
// Inline function 'org.kodein.di.instance' call
|
|
4403
4556
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4405,7 +4558,7 @@
|
|
|
4405
4558
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4406
4559
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4407
4560
|
var tmp_15 = KProperty1;
|
|
4408
|
-
tmp_12.
|
|
4561
|
+
tmp_12.sa0_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4409
4562
|
var tmp_16 = this;
|
|
4410
4563
|
// Inline function 'org.kodein.di.instance' call
|
|
4411
4564
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4413,7 +4566,7 @@
|
|
|
4413
4566
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4414
4567
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4415
4568
|
var tmp_19 = KProperty1;
|
|
4416
|
-
tmp_16.
|
|
4569
|
+
tmp_16.ta0_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4417
4570
|
var tmp_20 = this;
|
|
4418
4571
|
// Inline function 'org.kodein.di.instance' call
|
|
4419
4572
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4421,7 +4574,7 @@
|
|
|
4421
4574
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4422
4575
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4423
4576
|
var tmp_23 = KProperty1;
|
|
4424
|
-
tmp_20.
|
|
4577
|
+
tmp_20.ua0_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4425
4578
|
var tmp_24 = this;
|
|
4426
4579
|
// Inline function 'org.kodein.di.instance' call
|
|
4427
4580
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4429,7 +4582,7 @@
|
|
|
4429
4582
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4430
4583
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4431
4584
|
var tmp_27 = KProperty1;
|
|
4432
|
-
tmp_24.
|
|
4585
|
+
tmp_24.va0_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4433
4586
|
var tmp_28 = this;
|
|
4434
4587
|
// Inline function 'org.kodein.di.instance' call
|
|
4435
4588
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4437,7 +4590,7 @@
|
|
|
4437
4590
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4438
4591
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4439
4592
|
var tmp_31 = KProperty1;
|
|
4440
|
-
tmp_28.
|
|
4593
|
+
tmp_28.wa0_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4441
4594
|
var tmp_32 = this;
|
|
4442
4595
|
// Inline function 'org.kodein.di.instance' call
|
|
4443
4596
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4445,7 +4598,7 @@
|
|
|
4445
4598
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4446
4599
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4447
4600
|
var tmp_35 = KProperty1;
|
|
4448
|
-
tmp_32.
|
|
4601
|
+
tmp_32.xa0_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4449
4602
|
var tmp_36 = this;
|
|
4450
4603
|
// Inline function 'org.kodein.di.instance' call
|
|
4451
4604
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4453,7 +4606,7 @@
|
|
|
4453
4606
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4454
4607
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4455
4608
|
var tmp_39 = KProperty1;
|
|
4456
|
-
tmp_36.
|
|
4609
|
+
tmp_36.ya0_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4457
4610
|
var tmp_40 = this;
|
|
4458
4611
|
// Inline function 'org.kodein.di.instance' call
|
|
4459
4612
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4461,7 +4614,7 @@
|
|
|
4461
4614
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4462
4615
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4463
4616
|
var tmp_43 = KProperty1;
|
|
4464
|
-
tmp_40.
|
|
4617
|
+
tmp_40.za0_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4465
4618
|
var tmp_44 = this;
|
|
4466
4619
|
// Inline function 'org.kodein.di.instance' call
|
|
4467
4620
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4469,7 +4622,7 @@
|
|
|
4469
4622
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4470
4623
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4471
4624
|
var tmp_47 = KProperty1;
|
|
4472
|
-
tmp_44.
|
|
4625
|
+
tmp_44.aa1_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4473
4626
|
var tmp_48 = this;
|
|
4474
4627
|
// Inline function 'org.kodein.di.instance' call
|
|
4475
4628
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4477,7 +4630,7 @@
|
|
|
4477
4630
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4478
4631
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4479
4632
|
var tmp_51 = KProperty1;
|
|
4480
|
-
tmp_48.
|
|
4633
|
+
tmp_48.ba1_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4481
4634
|
var tmp_52 = this;
|
|
4482
4635
|
// Inline function 'org.kodein.di.instance' call
|
|
4483
4636
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4485,13 +4638,13 @@
|
|
|
4485
4638
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4486
4639
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4487
4640
|
var tmp_55 = KProperty1;
|
|
4488
|
-
tmp_52.
|
|
4641
|
+
tmp_52.ca1_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4489
4642
|
}
|
|
4490
4643
|
protoOf(ServerGameStoreContract).o8y = function () {
|
|
4491
|
-
return plus(plus(plus(plus(plus(this.
|
|
4644
|
+
return plus(plus(plus(plus(plus(this.ka0_1.o8y(), this.na0_1.o8y()), this.la0_1.o8y()), this.ma0_1.o8y()), this.oa0_1.o8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4492
4645
|
};
|
|
4493
4646
|
protoOf(ServerGameStoreContract).p8y = function () {
|
|
4494
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4647
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.ka0_1.p8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.na0_1.p8y()), this.la0_1.p8y()), this.ma0_1.p8y()), this.oa0_1.p8y()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).v90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4495
4648
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4496
4649
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4497
4650
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4542,7 +4695,7 @@
|
|
|
4542
4695
|
return this.p6h(store, next, action);
|
|
4543
4696
|
};
|
|
4544
4697
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4545
|
-
this.
|
|
4698
|
+
this.fa1_1 = this$0;
|
|
4546
4699
|
}
|
|
4547
4700
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6g = function (action) {
|
|
4548
4701
|
return action instanceof MechanicAction;
|
|
@@ -4553,7 +4706,7 @@
|
|
|
4553
4706
|
// Inline function 'kotlin.with' call
|
|
4554
4707
|
var tmp;
|
|
4555
4708
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4556
|
-
var tmp0 = this.
|
|
4709
|
+
var tmp0 = this.fa1_1;
|
|
4557
4710
|
var tmp2 = action_0.a8v_1;
|
|
4558
4711
|
var tmp4 = action_0.c8v_1;
|
|
4559
4712
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4593,7 +4746,7 @@
|
|
|
4593
4746
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4594
4747
|
while (_iterator__ex2g4s_2.m()) {
|
|
4595
4748
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4596
|
-
var tmp0_aid = tmp0.
|
|
4749
|
+
var tmp0_aid = tmp0.ea1_1.c6e();
|
|
4597
4750
|
// Inline function 'kotlin.collections.map' call
|
|
4598
4751
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4599
4752
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4615,15 +4768,15 @@
|
|
|
4615
4768
|
tmp = destination_2;
|
|
4616
4769
|
} else {
|
|
4617
4770
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4618
|
-
var tmp0_0 = this.
|
|
4771
|
+
var tmp0_0 = this.fa1_1;
|
|
4619
4772
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4620
4773
|
var table = state.t6n();
|
|
4621
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4774
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.ea1_1.c6e(), table.id, null);
|
|
4622
4775
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4623
4776
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4624
4777
|
} else {
|
|
4625
4778
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4626
|
-
var tmp0_1 = this.
|
|
4779
|
+
var tmp0_1 = this.fa1_1;
|
|
4627
4780
|
var tmp2_0 = action_0.g8v_1.id;
|
|
4628
4781
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4629
4782
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4663,7 +4816,7 @@
|
|
|
4663
4816
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4664
4817
|
while (_iterator__ex2g4s_7.m()) {
|
|
4665
4818
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4666
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4819
|
+
var tmp0_aid_0 = tmp0_1.ea1_1.c6e();
|
|
4667
4820
|
// Inline function 'kotlin.collections.map' call
|
|
4668
4821
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4669
4822
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4685,39 +4838,39 @@
|
|
|
4685
4838
|
tmp = destination_7;
|
|
4686
4839
|
} else {
|
|
4687
4840
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4688
|
-
var tmp0_2 = this.
|
|
4841
|
+
var tmp0_2 = this.fa1_1;
|
|
4689
4842
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4690
4843
|
var table_0 = state.t6n();
|
|
4691
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4844
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.ea1_1.c6e(), table_0.id, null);
|
|
4692
4845
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4693
4846
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4694
4847
|
} else {
|
|
4695
4848
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4696
|
-
var tmp0_3 = this.
|
|
4849
|
+
var tmp0_3 = this.fa1_1;
|
|
4697
4850
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4698
4851
|
var table_1 = state.t6n();
|
|
4699
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4852
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.ea1_1.c6e(), table_1.id, null);
|
|
4700
4853
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4701
4854
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4702
4855
|
} else {
|
|
4703
4856
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4704
|
-
var tmp0_4 = this.
|
|
4857
|
+
var tmp0_4 = this.fa1_1;
|
|
4705
4858
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4706
4859
|
var table_2 = state.t6n();
|
|
4707
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4860
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.ea1_1.c6e(), table_2.id, null);
|
|
4708
4861
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4709
4862
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4710
4863
|
} else {
|
|
4711
4864
|
if (action_0 instanceof ErrorAction) {
|
|
4712
|
-
var tmp0_5 = this.
|
|
4865
|
+
var tmp0_5 = this.fa1_1;
|
|
4713
4866
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4714
4867
|
var table_3 = state.t6n();
|
|
4715
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4868
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.ea1_1.c6e(), table_3.id, null);
|
|
4716
4869
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4717
4870
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4718
4871
|
} else {
|
|
4719
4872
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4720
|
-
var tmp0_6 = this.
|
|
4873
|
+
var tmp0_6 = this.fa1_1;
|
|
4721
4874
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4722
4875
|
var table_4 = state.t6n();
|
|
4723
4876
|
var tmp2_1 = table_4.id;
|
|
@@ -4750,7 +4903,7 @@
|
|
|
4750
4903
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4751
4904
|
while (_iterator__ex2g4s_11.m()) {
|
|
4752
4905
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4753
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4906
|
+
var tmp0_aid_1 = tmp0_6.ea1_1.c6e();
|
|
4754
4907
|
// Inline function 'kotlin.collections.map' call
|
|
4755
4908
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4756
4909
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4772,7 +4925,7 @@
|
|
|
4772
4925
|
tmp = destination_11;
|
|
4773
4926
|
} else {
|
|
4774
4927
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4775
|
-
var tmp0_7 = this.
|
|
4928
|
+
var tmp0_7 = this.fa1_1;
|
|
4776
4929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4777
4930
|
var table_5 = state.t6n();
|
|
4778
4931
|
var tmp2_2 = table_5.id;
|
|
@@ -4805,7 +4958,7 @@
|
|
|
4805
4958
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4806
4959
|
while (_iterator__ex2g4s_15.m()) {
|
|
4807
4960
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4808
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4961
|
+
var tmp0_aid_2 = tmp0_7.ea1_1.c6e();
|
|
4809
4962
|
// Inline function 'kotlin.collections.map' call
|
|
4810
4963
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4811
4964
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4827,7 +4980,7 @@
|
|
|
4827
4980
|
tmp = destination_15;
|
|
4828
4981
|
} else {
|
|
4829
4982
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4830
|
-
var tmp0_8 = this.
|
|
4983
|
+
var tmp0_8 = this.fa1_1;
|
|
4831
4984
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4832
4985
|
var table_6 = state.t6n();
|
|
4833
4986
|
var tmp2_3 = table_6.id;
|
|
@@ -4860,7 +5013,7 @@
|
|
|
4860
5013
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4861
5014
|
while (_iterator__ex2g4s_19.m()) {
|
|
4862
5015
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4863
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5016
|
+
var tmp0_aid_3 = tmp0_8.ea1_1.c6e();
|
|
4864
5017
|
// Inline function 'kotlin.collections.map' call
|
|
4865
5018
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4866
5019
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4872,7 +5025,7 @@
|
|
|
4872
5025
|
}
|
|
4873
5026
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4874
5027
|
var tmp_0;
|
|
4875
|
-
if (this.
|
|
5028
|
+
if (this.fa1_1.da1_1.supportBackwardActions && getPlayer(state.t6n().players, sendToPlayer_8.k7b_1).a6r_1.p6u_1) {
|
|
4876
5029
|
tmp_0 = null;
|
|
4877
5030
|
} else {
|
|
4878
5031
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4888,72 +5041,72 @@
|
|
|
4888
5041
|
tmp = destination_19;
|
|
4889
5042
|
} else {
|
|
4890
5043
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4891
|
-
var tmp0_9 = this.
|
|
5044
|
+
var tmp0_9 = this.fa1_1;
|
|
4892
5045
|
var tmp2_4 = state.t6n();
|
|
4893
5046
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4894
|
-
var exceptPlayerId = this.
|
|
4895
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5047
|
+
var exceptPlayerId = this.fa1_1.da1_1.supportBackwardActions ? action_0.b8w_1 : null;
|
|
5048
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.ea1_1.c6e(), tmp2_4.id, exceptPlayerId);
|
|
4896
5049
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4897
5050
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4898
5051
|
} else {
|
|
4899
5052
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4900
|
-
var tmp0_10 = this.
|
|
5053
|
+
var tmp0_10 = this.fa1_1;
|
|
4901
5054
|
var tmp2_5 = state.t6n();
|
|
4902
5055
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4903
|
-
var exceptPlayerId_0 = this.
|
|
4904
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5056
|
+
var exceptPlayerId_0 = this.fa1_1.da1_1.supportBackwardActions ? action_0.d8r_1 : null;
|
|
5057
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.ea1_1.c6e(), tmp2_5.id, exceptPlayerId_0);
|
|
4905
5058
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4906
5059
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4907
5060
|
} else {
|
|
4908
5061
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4909
|
-
var tmp0_11 = this.
|
|
5062
|
+
var tmp0_11 = this.fa1_1;
|
|
4910
5063
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4911
5064
|
var table_7 = state.t6n();
|
|
4912
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5065
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.ea1_1.c6e(), table_7.id, null);
|
|
4913
5066
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4914
5067
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4915
5068
|
} else {
|
|
4916
5069
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4917
|
-
var tmp0_12 = this.
|
|
5070
|
+
var tmp0_12 = this.fa1_1;
|
|
4918
5071
|
var tmp2_6 = state.t6n();
|
|
4919
5072
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4920
|
-
var exceptPlayerId_1 = this.
|
|
4921
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5073
|
+
var exceptPlayerId_1 = this.fa1_1.da1_1.supportBackwardActions ? action_0.h8w_1 : null;
|
|
5074
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.ea1_1.c6e(), tmp2_6.id, exceptPlayerId_1);
|
|
4922
5075
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4923
5076
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4924
5077
|
} else {
|
|
4925
5078
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4926
|
-
var tmp0_13 = this.
|
|
5079
|
+
var tmp0_13 = this.fa1_1;
|
|
4927
5080
|
var tmp2_7 = state.t6n();
|
|
4928
5081
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
|
-
var exceptPlayerId_2 = this.
|
|
4930
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5082
|
+
var exceptPlayerId_2 = this.fa1_1.da1_1.supportBackwardActions ? action_0.i8r_1 : null;
|
|
5083
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.ea1_1.c6e(), tmp2_7.id, exceptPlayerId_2);
|
|
4931
5084
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4932
5085
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4933
5086
|
} else {
|
|
4934
5087
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4935
|
-
var tmp0_14 = this.
|
|
5088
|
+
var tmp0_14 = this.fa1_1;
|
|
4936
5089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4937
5090
|
var table_8 = state.t6n();
|
|
4938
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5091
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.ea1_1.c6e(), table_8.id, null);
|
|
4939
5092
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4940
5093
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4941
5094
|
} else {
|
|
4942
5095
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4943
|
-
var tmp0_15 = this.
|
|
5096
|
+
var tmp0_15 = this.fa1_1;
|
|
4944
5097
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4945
5098
|
var table_9 = state.t6n();
|
|
4946
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5099
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.ea1_1.c6e(), table_9.id, null);
|
|
4947
5100
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4948
5101
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4949
5102
|
} else {
|
|
4950
5103
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4951
5104
|
var message = action_0.l8w_1;
|
|
4952
|
-
var tmp0_16 = this.
|
|
5105
|
+
var tmp0_16 = this.fa1_1;
|
|
4953
5106
|
var tmp2_8 = state.t6n();
|
|
4954
5107
|
var tmp_1;
|
|
4955
5108
|
var tmp_2;
|
|
4956
|
-
if (this.
|
|
5109
|
+
if (this.fa1_1.da1_1.supportBackwardActions) {
|
|
4957
5110
|
tmp_2 = isInterface(message, UserMessage);
|
|
4958
5111
|
} else {
|
|
4959
5112
|
tmp_2 = false;
|
|
@@ -4965,16 +5118,16 @@
|
|
|
4965
5118
|
}
|
|
4966
5119
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4967
5120
|
var exceptPlayerId_3 = tmp_1;
|
|
4968
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5121
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.ea1_1.c6e(), tmp2_8.id, exceptPlayerId_3);
|
|
4969
5122
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4970
5123
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4971
5124
|
} else {
|
|
4972
5125
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4973
|
-
var tmp0_17 = this.
|
|
5126
|
+
var tmp0_17 = this.fa1_1;
|
|
4974
5127
|
var tmp2_9 = state.t6n();
|
|
4975
5128
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4976
5129
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4977
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5130
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.ea1_1.c6e(), tmp2_9.id, exceptPlayerId_4);
|
|
4978
5131
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4979
5132
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4980
5133
|
} else {
|
|
@@ -5011,8 +5164,8 @@
|
|
|
5011
5164
|
return this.p6h(store, next, action);
|
|
5012
5165
|
};
|
|
5013
5166
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5014
|
-
this.
|
|
5015
|
-
this.
|
|
5167
|
+
this.da1_1 = logicConfig;
|
|
5168
|
+
this.ea1_1 = idsProvider;
|
|
5016
5169
|
}
|
|
5017
5170
|
protoOf(ServerMapMechanicToClientActionMiddleware).v90 = function () {
|
|
5018
5171
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -5023,8 +5176,8 @@
|
|
|
5023
5176
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5024
5177
|
}
|
|
5025
5178
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5026
|
-
this.
|
|
5027
|
-
this.
|
|
5179
|
+
this.oa1_1 = $provider;
|
|
5180
|
+
this.pa1_1 = $action;
|
|
5028
5181
|
CoroutineImpl.call(this, resultContinuation);
|
|
5029
5182
|
}
|
|
5030
5183
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5045,7 +5198,7 @@
|
|
|
5045
5198
|
case 0:
|
|
5046
5199
|
this.s8_1 = 2;
|
|
5047
5200
|
this.r8_1 = 1;
|
|
5048
|
-
suspendResult = this.
|
|
5201
|
+
suspendResult = this.oa1_1.b9y(this.pa1_1, this);
|
|
5049
5202
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5050
5203
|
return suspendResult;
|
|
5051
5204
|
}
|
|
@@ -5068,8 +5221,8 @@
|
|
|
5068
5221
|
while (true);
|
|
5069
5222
|
};
|
|
5070
5223
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5071
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5072
|
-
i.
|
|
5224
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.oa1_1, this.pa1_1, completion);
|
|
5225
|
+
i.qa1_1 = $this$launchDefault;
|
|
5073
5226
|
return i;
|
|
5074
5227
|
};
|
|
5075
5228
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5081,15 +5234,15 @@
|
|
|
5081
5234
|
return l;
|
|
5082
5235
|
}
|
|
5083
5236
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5084
|
-
this.
|
|
5085
|
-
this.
|
|
5237
|
+
this.ra1_1 = $asyncProvider;
|
|
5238
|
+
this.sa1_1 = $provider;
|
|
5086
5239
|
}
|
|
5087
5240
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (action) {
|
|
5088
5241
|
return action instanceof ToClientAction;
|
|
5089
5242
|
};
|
|
5090
5243
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).p6h = function (store, next, action) {
|
|
5091
5244
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5092
|
-
this.
|
|
5245
|
+
this.ra1_1.h6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.sa1_1, action_0, null));
|
|
5093
5246
|
next(action_0);
|
|
5094
5247
|
};
|
|
5095
5248
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z6f = function (store, next, action) {
|
|
@@ -5106,7 +5259,7 @@
|
|
|
5106
5259
|
};
|
|
5107
5260
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).o99 = function (state, action) {
|
|
5108
5261
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5109
|
-
return state.b8u(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
5262
|
+
return state.b8u(VOID, get_serverStatePayload_0(state).copy(action_0.ha0_1));
|
|
5110
5263
|
};
|
|
5111
5264
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6h = function (state, action) {
|
|
5112
5265
|
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5116,7 +5269,7 @@
|
|
|
5116
5269
|
return _this__u8e3s4.metadata;
|
|
5117
5270
|
}
|
|
5118
5271
|
function Companion_5() {
|
|
5119
|
-
this.
|
|
5272
|
+
this.ta1_1 = 'ServerMechanicLifecycleReducer';
|
|
5120
5273
|
}
|
|
5121
5274
|
var Companion_instance_13;
|
|
5122
5275
|
function Companion_getInstance_6() {
|
|
@@ -5142,10 +5295,10 @@
|
|
|
5142
5295
|
}
|
|
5143
5296
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5144
5297
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5145
|
-
this.
|
|
5298
|
+
this.wa1_1 = logger;
|
|
5146
5299
|
}
|
|
5147
5300
|
protoOf(ServerMechanicLifecycleReducer).a9b = function (state, action) {
|
|
5148
|
-
this.
|
|
5301
|
+
this.wa1_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5149
5302
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5150
5303
|
var tableId = action.a8v_1;
|
|
5151
5304
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -5158,7 +5311,7 @@
|
|
|
5158
5311
|
var tmp7_tableOrNull = tmp0_$this.h9c(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5159
5312
|
var tmp;
|
|
5160
5313
|
if (serverState == null) {
|
|
5161
|
-
this.
|
|
5314
|
+
this.wa1_1.w(VOID, 'ServerPayload is not onStart');
|
|
5162
5315
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5163
5316
|
} else {
|
|
5164
5317
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
@@ -5167,7 +5320,7 @@
|
|
|
5167
5320
|
return state.b8u(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5168
5321
|
};
|
|
5169
5322
|
protoOf(ServerMechanicLifecycleReducer).y9a = function (state, action) {
|
|
5170
|
-
this.
|
|
5323
|
+
this.wa1_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5171
5324
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5172
5325
|
var tmp2_tableOrNull = action.g8v_1;
|
|
5173
5326
|
var tmp = Companion_instance_14;
|
|
@@ -5189,7 +5342,7 @@
|
|
|
5189
5342
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5190
5343
|
}
|
|
5191
5344
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5192
|
-
this.
|
|
5345
|
+
this.xa1_1 = $logger;
|
|
5193
5346
|
}
|
|
5194
5347
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a6g = function (action) {
|
|
5195
5348
|
return isInterface(action, SpectatorsAction);
|
|
@@ -5200,7 +5353,7 @@
|
|
|
5200
5353
|
var tmp;
|
|
5201
5354
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5202
5355
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5203
|
-
var tmp0 = action_0.
|
|
5356
|
+
var tmp0 = action_0.ia0_1;
|
|
5204
5357
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5205
5358
|
var destination = ArrayList_init_$Create$_0();
|
|
5206
5359
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5219,9 +5372,9 @@
|
|
|
5219
5372
|
var tmp_0;
|
|
5220
5373
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5221
5374
|
if (!sameSpectators.r()) {
|
|
5222
|
-
this.
|
|
5375
|
+
this.xa1_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5223
5376
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5224
|
-
var tmp0_0 = action_0.
|
|
5377
|
+
var tmp0_0 = action_0.ia0_1;
|
|
5225
5378
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5226
5379
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5227
5380
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5256,7 +5409,7 @@
|
|
|
5256
5409
|
}
|
|
5257
5410
|
tmp_0 = destination_0;
|
|
5258
5411
|
} else {
|
|
5259
|
-
tmp_0 = action_0.
|
|
5412
|
+
tmp_0 = action_0.ia0_1;
|
|
5260
5413
|
}
|
|
5261
5414
|
// Inline function 'kotlin.collections.map' call
|
|
5262
5415
|
var this_0 = tmp_0;
|
|
@@ -5273,7 +5426,7 @@
|
|
|
5273
5426
|
} else {
|
|
5274
5427
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5275
5428
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5276
|
-
var tmp0_1 = action_0.
|
|
5429
|
+
var tmp0_1 = action_0.ja0_1;
|
|
5277
5430
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5278
5431
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5279
5432
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5292,9 +5445,9 @@
|
|
|
5292
5445
|
var tmp_2;
|
|
5293
5446
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5294
5447
|
if (!sameSpectators_0.r()) {
|
|
5295
|
-
this.
|
|
5448
|
+
this.xa1_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5296
5449
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5297
|
-
var tmp0_2 = action_0.
|
|
5450
|
+
var tmp0_2 = action_0.ja0_1;
|
|
5298
5451
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5299
5452
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5300
5453
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5329,7 +5482,7 @@
|
|
|
5329
5482
|
}
|
|
5330
5483
|
tmp_2 = destination_3;
|
|
5331
5484
|
} else {
|
|
5332
|
-
tmp_2 = action_0.
|
|
5485
|
+
tmp_2 = action_0.ja0_1;
|
|
5333
5486
|
}
|
|
5334
5487
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5335
5488
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5378,13 +5531,13 @@
|
|
|
5378
5531
|
};
|
|
5379
5532
|
function Companion_6() {
|
|
5380
5533
|
}
|
|
5381
|
-
protoOf(Companion_6).
|
|
5534
|
+
protoOf(Companion_6).ya1 = function (config, metadata) {
|
|
5382
5535
|
return new ServerStatePayload(config, metadata);
|
|
5383
5536
|
};
|
|
5384
5537
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5385
5538
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5386
5539
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5387
|
-
return $super === VOID ? this.
|
|
5540
|
+
return $super === VOID ? this.ya1(config, metadata) : $super.ya1.call(this, config, metadata);
|
|
5388
5541
|
};
|
|
5389
5542
|
var Companion_instance_14;
|
|
5390
5543
|
function Companion_getInstance_7() {
|
|
@@ -5406,13 +5559,13 @@
|
|
|
5406
5559
|
protoOf(ServerStatePayload).oe = function () {
|
|
5407
5560
|
return this.metadata;
|
|
5408
5561
|
};
|
|
5409
|
-
protoOf(ServerStatePayload).
|
|
5562
|
+
protoOf(ServerStatePayload).za1 = function (config, metadata) {
|
|
5410
5563
|
return new ServerStatePayload(config, metadata);
|
|
5411
5564
|
};
|
|
5412
5565
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5413
5566
|
config = config === VOID ? this.config : config;
|
|
5414
5567
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5415
|
-
return $super === VOID ? this.
|
|
5568
|
+
return $super === VOID ? this.za1(config, metadata) : $super.za1.call(this, config, metadata);
|
|
5416
5569
|
};
|
|
5417
5570
|
protoOf(ServerStatePayload).toString = function () {
|
|
5418
5571
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5477,14 +5630,14 @@
|
|
|
5477
5630
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5478
5631
|
}
|
|
5479
5632
|
function _get_logger__rkp4sl_0($this) {
|
|
5480
|
-
var tmp0 = $this.
|
|
5633
|
+
var tmp0 = $this.ja2_1;
|
|
5481
5634
|
var tmp = KProperty1;
|
|
5482
5635
|
// Inline function 'kotlin.getValue' call
|
|
5483
5636
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5484
5637
|
return tmp0.w();
|
|
5485
5638
|
}
|
|
5486
5639
|
function _get_di__ndbzja($this) {
|
|
5487
|
-
var tmp0 = $this.
|
|
5640
|
+
var tmp0 = $this.ka2_1;
|
|
5488
5641
|
var tmp = KProperty1;
|
|
5489
5642
|
// Inline function 'kotlin.getValue' call
|
|
5490
5643
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5501,8 +5654,8 @@
|
|
|
5501
5654
|
}
|
|
5502
5655
|
function createCallbackOutput($this, gameServer) {
|
|
5503
5656
|
var tmp;
|
|
5504
|
-
if (!($this.
|
|
5505
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5657
|
+
if (!($this.ha2_1 == null)) {
|
|
5658
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ha2_1);
|
|
5506
5659
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5507
5660
|
} else {
|
|
5508
5661
|
tmp = null;
|
|
@@ -5516,11 +5669,11 @@
|
|
|
5516
5669
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5517
5670
|
return function () {
|
|
5518
5671
|
var tmp;
|
|
5519
|
-
if (this$0.
|
|
5672
|
+
if (this$0.ha2_1 == null) {
|
|
5520
5673
|
tmp = null;
|
|
5521
5674
|
} else {
|
|
5522
5675
|
// Inline function 'kotlin.let' call
|
|
5523
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5676
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ha2_1)]));
|
|
5524
5677
|
}
|
|
5525
5678
|
var tmp1_elvis_lhs = tmp;
|
|
5526
5679
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5553,7 +5706,7 @@
|
|
|
5553
5706
|
tmp_0.z62(tmp$ret$3);
|
|
5554
5707
|
$this$DI.d5z(jsonModule());
|
|
5555
5708
|
$this$DI.d5z(serverHelpersModule());
|
|
5556
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5709
|
+
$this$DI.d5z(randomOrgModule(this$0.ia2_1));
|
|
5557
5710
|
return Unit_instance;
|
|
5558
5711
|
};
|
|
5559
5712
|
}
|
|
@@ -5629,13 +5782,13 @@
|
|
|
5629
5782
|
};
|
|
5630
5783
|
}
|
|
5631
5784
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5632
|
-
this.
|
|
5785
|
+
this.ra2_1 = $reducer;
|
|
5633
5786
|
}
|
|
5634
5787
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a6g = function (action) {
|
|
5635
5788
|
return isInterface(action, Action);
|
|
5636
5789
|
};
|
|
5637
5790
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).o99 = function (state, action) {
|
|
5638
|
-
return this.
|
|
5791
|
+
return this.ra2_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5639
5792
|
};
|
|
5640
5793
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q6h = function (state, action) {
|
|
5641
5794
|
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5739,7 +5892,7 @@
|
|
|
5739
5892
|
// Inline function 'kotlin.let' call
|
|
5740
5893
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5741
5894
|
}
|
|
5742
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5895
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.ia2_1));
|
|
5743
5896
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5744
5897
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5745
5898
|
return Unit_instance;
|
|
@@ -5748,13 +5901,13 @@
|
|
|
5748
5901
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5749
5902
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5750
5903
|
production = production === VOID ? true : production;
|
|
5751
|
-
this.
|
|
5752
|
-
this.
|
|
5904
|
+
this.ha2_1 = loggerCallback;
|
|
5905
|
+
this.ia2_1 = randomOrgConfig;
|
|
5753
5906
|
AppEnvironment_getInstance().x6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5754
5907
|
var tmp = this;
|
|
5755
|
-
tmp.
|
|
5908
|
+
tmp.ja2_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5756
5909
|
var tmp_0 = this;
|
|
5757
|
-
tmp_0.
|
|
5910
|
+
tmp_0.ka2_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5758
5911
|
var tmp_1 = this;
|
|
5759
5912
|
// Inline function 'org.kodein.di.instance' call
|
|
5760
5913
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5763,7 +5916,7 @@
|
|
|
5763
5916
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5764
5917
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5765
5918
|
var tmp_4 = KProperty1;
|
|
5766
|
-
tmp_1.
|
|
5919
|
+
tmp_1.la2_1 = tmp_3.w64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5767
5920
|
var tmp_5 = this;
|
|
5768
5921
|
// Inline function 'org.kodein.di.instance' call
|
|
5769
5922
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5772,7 +5925,7 @@
|
|
|
5772
5925
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5773
5926
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5774
5927
|
var tmp_8 = KProperty1;
|
|
5775
|
-
tmp_5.
|
|
5928
|
+
tmp_5.ma2_1 = tmp_7.w64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5776
5929
|
var tmp_9 = this;
|
|
5777
5930
|
// Inline function 'org.kodein.di.instance' call
|
|
5778
5931
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5781,7 +5934,7 @@
|
|
|
5781
5934
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5782
5935
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5783
5936
|
var tmp_12 = KProperty1;
|
|
5784
|
-
tmp_9.
|
|
5937
|
+
tmp_9.na2_1 = tmp_11.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5785
5938
|
var tmp_13 = this;
|
|
5786
5939
|
// Inline function 'org.kodein.di.instance' call
|
|
5787
5940
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5790,7 +5943,7 @@
|
|
|
5790
5943
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5791
5944
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5792
5945
|
var tmp_16 = KProperty1;
|
|
5793
|
-
tmp_13.
|
|
5946
|
+
tmp_13.oa2_1 = tmp_15.w64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5794
5947
|
var tmp_17 = this;
|
|
5795
5948
|
// Inline function 'org.kodein.di.instance' call
|
|
5796
5949
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5799,7 +5952,7 @@
|
|
|
5799
5952
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5800
5953
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5801
5954
|
var tmp_20 = KProperty1;
|
|
5802
|
-
tmp_17.
|
|
5955
|
+
tmp_17.pa2_1 = tmp_19.w64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5803
5956
|
var tmp_21 = this;
|
|
5804
5957
|
// Inline function 'org.kodein.di.instance' call
|
|
5805
5958
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5808,45 +5961,45 @@
|
|
|
5808
5961
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5809
5962
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5810
5963
|
var tmp_24 = KProperty1;
|
|
5811
|
-
tmp_21.
|
|
5964
|
+
tmp_21.qa2_1 = tmp_23.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5812
5965
|
}
|
|
5813
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5814
|
-
var tmp0 = this.
|
|
5966
|
+
protoOf(GameServerEngineControllerImpl).aa2 = function () {
|
|
5967
|
+
var tmp0 = this.la2_1;
|
|
5815
5968
|
var tmp = KProperty1;
|
|
5816
5969
|
// Inline function 'kotlin.getValue' call
|
|
5817
5970
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5818
5971
|
return tmp0.w();
|
|
5819
5972
|
};
|
|
5820
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5821
|
-
var tmp0 = this.
|
|
5973
|
+
protoOf(GameServerEngineControllerImpl).ca2 = function () {
|
|
5974
|
+
var tmp0 = this.ma2_1;
|
|
5822
5975
|
var tmp = KProperty1;
|
|
5823
5976
|
// Inline function 'kotlin.getValue' call
|
|
5824
5977
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5825
5978
|
return tmp0.w();
|
|
5826
5979
|
};
|
|
5827
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5828
|
-
var tmp0 = this.
|
|
5980
|
+
protoOf(GameServerEngineControllerImpl).da2 = function () {
|
|
5981
|
+
var tmp0 = this.na2_1;
|
|
5829
5982
|
var tmp = KProperty1;
|
|
5830
5983
|
// Inline function 'kotlin.getValue' call
|
|
5831
5984
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5832
5985
|
return tmp0.w();
|
|
5833
5986
|
};
|
|
5834
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5835
|
-
var tmp0 = this.
|
|
5987
|
+
protoOf(GameServerEngineControllerImpl).ea2 = function () {
|
|
5988
|
+
var tmp0 = this.oa2_1;
|
|
5836
5989
|
var tmp = KProperty1;
|
|
5837
5990
|
// Inline function 'kotlin.getValue' call
|
|
5838
5991
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5839
5992
|
return tmp0.w();
|
|
5840
5993
|
};
|
|
5841
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5842
|
-
var tmp0 = this.
|
|
5994
|
+
protoOf(GameServerEngineControllerImpl).ba2 = function () {
|
|
5995
|
+
var tmp0 = this.pa2_1;
|
|
5843
5996
|
var tmp = KProperty1;
|
|
5844
5997
|
// Inline function 'kotlin.getValue' call
|
|
5845
5998
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5846
5999
|
return tmp0.w();
|
|
5847
6000
|
};
|
|
5848
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5849
|
-
var tmp0 = this.
|
|
6001
|
+
protoOf(GameServerEngineControllerImpl).fa2 = function () {
|
|
6002
|
+
var tmp0 = this.qa2_1;
|
|
5850
6003
|
var tmp = KProperty1;
|
|
5851
6004
|
// Inline function 'kotlin.getValue' call
|
|
5852
6005
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5858,7 +6011,7 @@
|
|
|
5858
6011
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5859
6012
|
return this.createGameEngineWithLogic();
|
|
5860
6013
|
};
|
|
5861
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6014
|
+
protoOf(GameServerEngineControllerImpl).ga2 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5862
6015
|
var combinedLogger = Companion_instance_6.mx();
|
|
5863
6016
|
var gameServer = {_v: null};
|
|
5864
6017
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5907,7 +6060,7 @@
|
|
|
5907
6060
|
function TestHelper() {
|
|
5908
6061
|
}
|
|
5909
6062
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5910
|
-
var tmp0 = $this.
|
|
6063
|
+
var tmp0 = $this.ua2_1;
|
|
5911
6064
|
var tmp = KProperty1;
|
|
5912
6065
|
// Inline function 'kotlin.getValue' call
|
|
5913
6066
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5915,7 +6068,7 @@
|
|
|
5915
6068
|
}
|
|
5916
6069
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5917
6070
|
return function ($this$singleton) {
|
|
5918
|
-
return this$0.
|
|
6071
|
+
return this$0.sa2_1;
|
|
5919
6072
|
};
|
|
5920
6073
|
}
|
|
5921
6074
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5954,19 +6107,19 @@
|
|
|
5954
6107
|
return emptyMap();
|
|
5955
6108
|
}
|
|
5956
6109
|
function TestHelperImpl(logger) {
|
|
5957
|
-
this.
|
|
6110
|
+
this.sa2_1 = logger;
|
|
5958
6111
|
var tmp = this;
|
|
5959
6112
|
var tmp_0 = Companion_instance_4;
|
|
5960
|
-
tmp.
|
|
6113
|
+
tmp.ta2_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5961
6114
|
var tmp_1 = this;
|
|
5962
6115
|
// Inline function 'org.kodein.di.instance' call
|
|
5963
|
-
var this_0 = this.
|
|
6116
|
+
var this_0 = this.ta2_1;
|
|
5964
6117
|
// Inline function 'org.kodein.type.generic' call
|
|
5965
6118
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5966
6119
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5967
6120
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5968
6121
|
var tmp_4 = KProperty1;
|
|
5969
|
-
tmp_1.
|
|
6122
|
+
tmp_1.ua2_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5970
6123
|
}
|
|
5971
6124
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5972
6125
|
return _get_playerAnswerInteractor__msggz1(this).l8k(playerId, table, botConfig);
|
|
@@ -6039,14 +6192,14 @@
|
|
|
6039
6192
|
function RoomMetadata() {
|
|
6040
6193
|
var tmp = this;
|
|
6041
6194
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6042
|
-
tmp.
|
|
6195
|
+
tmp.va2_1 = LinkedHashMap_init_$Create$();
|
|
6043
6196
|
this.extras = {};
|
|
6044
|
-
this.extras = this.
|
|
6197
|
+
this.extras = this.va2_1;
|
|
6045
6198
|
}
|
|
6046
|
-
protoOf(RoomMetadata).
|
|
6199
|
+
protoOf(RoomMetadata).wa2 = function () {
|
|
6047
6200
|
return this.extras;
|
|
6048
6201
|
};
|
|
6049
|
-
protoOf(RoomMetadata).
|
|
6202
|
+
protoOf(RoomMetadata).wa2 = function () {
|
|
6050
6203
|
return this.extras;
|
|
6051
6204
|
};
|
|
6052
6205
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6064,7 +6217,7 @@
|
|
|
6064
6217
|
};
|
|
6065
6218
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6066
6219
|
// Inline function 'kotlin.collections.set' call
|
|
6067
|
-
this.
|
|
6220
|
+
this.va2_1.e2(gameId, game);
|
|
6068
6221
|
};
|
|
6069
6222
|
function GameMetadata(gameId) {
|
|
6070
6223
|
this.gameId = gameId;
|
|
@@ -6073,7 +6226,7 @@
|
|
|
6073
6226
|
protoOf(GameMetadata).c54 = function () {
|
|
6074
6227
|
return this.gameId;
|
|
6075
6228
|
};
|
|
6076
|
-
protoOf(GameMetadata).
|
|
6229
|
+
protoOf(GameMetadata).wa2 = function () {
|
|
6077
6230
|
return this.extras;
|
|
6078
6231
|
};
|
|
6079
6232
|
function serverHelpersModule() {
|
|
@@ -6176,22 +6329,22 @@
|
|
|
6176
6329
|
});
|
|
6177
6330
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6178
6331
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6179
|
-
return this.
|
|
6332
|
+
return this.aa2();
|
|
6180
6333
|
});
|
|
6181
6334
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6182
|
-
return this.
|
|
6335
|
+
return this.ca2();
|
|
6183
6336
|
});
|
|
6184
6337
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6185
|
-
return this.
|
|
6338
|
+
return this.da2();
|
|
6186
6339
|
});
|
|
6187
6340
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6188
|
-
return this.
|
|
6341
|
+
return this.ea2();
|
|
6189
6342
|
});
|
|
6190
6343
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6191
|
-
return this.
|
|
6344
|
+
return this.ba2();
|
|
6192
6345
|
});
|
|
6193
6346
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6194
|
-
return this.
|
|
6347
|
+
return this.fa2();
|
|
6195
6348
|
});
|
|
6196
6349
|
//endregion
|
|
6197
6350
|
//region block: init
|