client_plugin_logic_deb 1.8.304 → 1.8.305
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/Kosi-Kaverit-kaverit.js +56 -56
- package/Kosi-Kodein-kodein-di.js +511 -511
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1377 -1377
- package/Logic_Debertz-client_plugin.d.ts +3 -3
- package/Logic_Debertz-client_plugin.js +2987 -2987
- package/Logic_Debertz-core.js +1732 -1732
- package/Logic_Debertz-engine.js +16154 -16048
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +7860 -7860
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1033 -958
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +1554 -1708
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +316 -316
- package/kotlinx-serialization-kotlinx-serialization-core.js +1801 -1801
- package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
- package/ktor-ktor-client-content-negotiation.js +133 -133
- package/ktor-ktor-client-core.js +1536 -1536
- package/ktor-ktor-client-logging.js +287 -287
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +599 -599
- package/ktor-ktor-io.js +1256 -1256
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +139 -139
- package/ktor-ktor-serialization.js +65 -65
- package/ktor-ktor-utils.js +498 -498
- package/ktor-ktor-websockets.js +41 -41
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +201 -195
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +881 -908
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +5 -5
- package/uuid.js +11 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-random.js', './raspberry-cardgame-lib-logger.js', './Kosi-Kaverit-kaverit.js', './Kosi-Kodein-kodein-di.js', './kotlinx-atomicfu.js'], factory);
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-random.js', './raspberry-cardgame-lib-logger.js', './Kosi-Kaverit-kaverit.js', './Kosi-Kodein-kodein-di.js', './kotlinx-atomicfu.js', './raspberry-cardgame-lib-core.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./raspberry-cardgame-lib-logger.js'), require('./Kosi-Kaverit-kaverit.js'), require('./Kosi-Kodein-kodein-di.js'), require('./kotlinx-atomicfu.js'));
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./raspberry-cardgame-lib-logger.js'), require('./Kosi-Kaverit-kaverit.js'), require('./Kosi-Kodein-kodein-di.js'), require('./kotlinx-atomicfu.js'), require('./raspberry-cardgame-lib-core.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Logic_Debertz-game_server'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Logic_Debertz-game_server'.");
|
|
@@ -31,9 +31,12 @@
|
|
|
31
31
|
if (typeof globalThis['kotlinx-atomicfu'] === 'undefined') {
|
|
32
32
|
throw new Error("Error loading module 'Logic_Debertz-game_server'. Its dependency 'kotlinx-atomicfu' was not found. Please, check whether 'kotlinx-atomicfu' is loaded prior to 'Logic_Debertz-game_server'.");
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
if (typeof globalThis['raspberry-cardgame-lib-core'] === 'undefined') {
|
|
35
|
+
throw new Error("Error loading module 'Logic_Debertz-game_server'. Its dependency 'raspberry-cardgame-lib-core' was not found. Please, check whether 'raspberry-cardgame-lib-core' is loaded prior to 'Logic_Debertz-game_server'.");
|
|
36
|
+
}
|
|
37
|
+
globalThis['Logic_Debertz-game_server'] = factory(typeof globalThis['Logic_Debertz-game_server'] === 'undefined' ? {} : globalThis['Logic_Debertz-game_server'], globalThis['kotlin-kotlin-stdlib'], globalThis['Logic_Debertz-engine'], globalThis['kotlinx-coroutines-core'], globalThis['Logic_Debertz-core'], globalThis['raspberry-cardgame-lib-random'], globalThis['raspberry-cardgame-lib-logger'], globalThis['Kosi-Kaverit-kaverit'], globalThis['Kosi-Kodein-kodein-di'], globalThis['kotlinx-atomicfu'], globalThis['raspberry-cardgame-lib-core']);
|
|
35
38
|
}
|
|
36
|
-
}(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_random, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di, kotlin_org_jetbrains_kotlinx_atomicfu) {
|
|
39
|
+
}(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_random, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_raspberryapps_cardgame_core) {
|
|
37
40
|
'use strict';
|
|
38
41
|
//region block: imports
|
|
39
42
|
var imul = Math.imul;
|
|
@@ -46,27 +49,27 @@
|
|
|
46
49
|
var VOID = kotlin_kotlin.$_$.f;
|
|
47
50
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ha;
|
|
48
51
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.wb;
|
|
49
|
-
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
52
|
+
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
50
53
|
var initMetadataForClass = kotlin_kotlin.$_$.ub;
|
|
51
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
54
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
52
55
|
var isInterface = kotlin_kotlin.$_$.ic;
|
|
53
56
|
var Long = kotlin_kotlin.$_$.ng;
|
|
54
57
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
55
58
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
56
|
-
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
57
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
59
|
+
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
60
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
|
|
58
61
|
var defineProp = kotlin_kotlin.$_$.lb;
|
|
59
62
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
60
|
-
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
61
|
-
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
63
|
+
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
64
|
+
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
|
|
62
65
|
var initMetadataForCompanion = kotlin_kotlin.$_$.vb;
|
|
63
66
|
var equals = kotlin_kotlin.$_$.mb;
|
|
64
67
|
var FunctionAdapter = kotlin_kotlin.$_$.ab;
|
|
65
68
|
var hashCode = kotlin_kotlin.$_$.tb;
|
|
66
69
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
67
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
70
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n1;
|
|
68
71
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.k3;
|
|
69
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
72
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
|
|
70
73
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
|
|
71
74
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
72
75
|
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f7;
|
|
@@ -74,7 +77,7 @@
|
|
|
74
77
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
75
78
|
var toList = kotlin_kotlin.$_$.u9;
|
|
76
79
|
var toString = kotlin_kotlin.$_$.zc;
|
|
77
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
80
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.da;
|
|
78
81
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w4;
|
|
79
82
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
|
|
80
83
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
|
|
@@ -89,10 +92,10 @@
|
|
|
89
92
|
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
|
|
90
93
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.b2;
|
|
91
94
|
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
|
|
92
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
95
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.ba;
|
|
93
96
|
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
|
|
94
97
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
95
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
98
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
|
|
96
99
|
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
|
|
97
100
|
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
|
|
98
101
|
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
|
|
@@ -100,7 +103,7 @@
|
|
|
100
103
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y4;
|
|
101
104
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
|
|
102
105
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.rh;
|
|
103
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
106
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
|
|
104
107
|
var emptyList = kotlin_kotlin.$_$.n7;
|
|
105
108
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
106
109
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -115,7 +118,7 @@
|
|
|
115
118
|
var lazy = kotlin_kotlin.$_$.qh;
|
|
116
119
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
117
120
|
var plus = kotlin_kotlin.$_$.z8;
|
|
118
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
121
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
|
|
119
122
|
var toString_0 = kotlin_kotlin.$_$.xh;
|
|
120
123
|
var KProperty1 = kotlin_kotlin.$_$.qd;
|
|
121
124
|
var getPropertyCallableRef = kotlin_kotlin.$_$.rb;
|
|
@@ -128,16 +131,16 @@
|
|
|
128
131
|
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
|
|
129
132
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
130
133
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
131
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
134
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
|
|
132
135
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
133
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
136
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
|
|
134
137
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
135
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
138
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
|
|
136
139
|
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
137
140
|
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
138
141
|
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
139
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
140
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
142
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
|
|
143
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
|
|
141
144
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
142
145
|
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
|
|
143
146
|
var single = kotlin_kotlin.$_$.j9;
|
|
@@ -148,9 +151,9 @@
|
|
|
148
151
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
149
152
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
150
153
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
151
|
-
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
154
|
+
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
152
155
|
var toLong = kotlin_kotlin.$_$.xc;
|
|
153
|
-
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
156
|
+
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
154
157
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
155
158
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
156
159
|
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
|
|
@@ -162,18 +165,21 @@
|
|
|
162
165
|
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
163
166
|
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
164
167
|
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
168
|
+
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
169
|
+
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.y;
|
|
165
170
|
var listOf = kotlin_kotlin.$_$.q8;
|
|
166
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
171
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
|
|
167
172
|
var listOfNotNull = kotlin_kotlin.$_$.n8;
|
|
168
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
169
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
|
|
174
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
|
|
170
175
|
var listOfNotNull_0 = kotlin_kotlin.$_$.o8;
|
|
171
|
-
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
172
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
176
|
+
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
|
|
177
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
|
|
178
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.v7;
|
|
174
179
|
var listOf_0 = kotlin_kotlin.$_$.p8;
|
|
175
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
176
|
-
var
|
|
180
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.w7;
|
|
181
|
+
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
|
|
182
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
|
|
177
183
|
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
|
|
178
184
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
179
185
|
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
|
|
@@ -198,7 +204,7 @@
|
|
|
198
204
|
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
|
|
199
205
|
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
|
|
200
206
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
201
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.d9;
|
|
202
208
|
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
|
|
203
209
|
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
|
|
204
210
|
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
|
|
@@ -222,15 +228,14 @@
|
|
|
222
228
|
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
223
229
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
224
230
|
var toDuration = kotlin_kotlin.$_$.ag;
|
|
225
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
226
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
231
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
|
|
232
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.y8;
|
|
227
233
|
var singleOrNull = kotlin_kotlin.$_$.i9;
|
|
228
234
|
var Collection = kotlin_kotlin.$_$.r5;
|
|
229
235
|
var toSet = kotlin_kotlin.$_$.aa;
|
|
230
236
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
231
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
237
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
|
|
232
238
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
233
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
234
239
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
|
|
235
240
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
236
241
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
@@ -239,11 +244,11 @@
|
|
|
239
244
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
240
245
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
241
246
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.k2;
|
|
242
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
243
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
244
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
-
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
246
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
247
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
|
|
248
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
|
|
249
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
|
|
250
|
+
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.fa;
|
|
251
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.ea;
|
|
247
252
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
248
253
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
249
254
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
@@ -318,15 +323,15 @@
|
|
|
318
323
|
tmp = spectators;
|
|
319
324
|
}
|
|
320
325
|
spectators = tmp;
|
|
321
|
-
return this.
|
|
326
|
+
return this.xdo(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
322
327
|
}
|
|
323
328
|
function roomOnDelete(newRid, $super) {
|
|
324
329
|
newRid = newRid === VOID ? null : newRid;
|
|
325
|
-
return this.
|
|
330
|
+
return this.ydo(newRid);
|
|
326
331
|
}
|
|
327
332
|
function shutdown(reason, roomId, $super) {
|
|
328
333
|
roomId = roomId === VOID ? null : roomId;
|
|
329
|
-
return this.
|
|
334
|
+
return this.zdo(reason, roomId);
|
|
330
335
|
}
|
|
331
336
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
332
337
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -380,7 +385,7 @@
|
|
|
380
385
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
381
386
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
382
387
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
383
|
-
return this.
|
|
388
|
+
return this.mdt(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
384
389
|
}
|
|
385
390
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
386
391
|
initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
|
|
@@ -389,17 +394,17 @@
|
|
|
389
394
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
390
395
|
//endregion
|
|
391
396
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
392
|
-
this.
|
|
397
|
+
this.qda_1 = $subscriber;
|
|
393
398
|
CoroutineImpl.call(this, resultContinuation);
|
|
394
399
|
}
|
|
395
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
396
|
-
var tmp = this.
|
|
400
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).sda = function (it, $completion) {
|
|
401
|
+
var tmp = this.tda(it, $completion);
|
|
397
402
|
tmp.h9_1 = Unit_instance;
|
|
398
403
|
tmp.i9_1 = null;
|
|
399
404
|
return tmp.n9();
|
|
400
405
|
};
|
|
401
406
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).x9 = function (p1, $completion) {
|
|
402
|
-
return this.
|
|
407
|
+
return this.sda(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
403
408
|
};
|
|
404
409
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).n9 = function () {
|
|
405
410
|
var suspendResult = this.h9_1;
|
|
@@ -408,7 +413,7 @@
|
|
|
408
413
|
var tmp = this.f9_1;
|
|
409
414
|
if (tmp === 0) {
|
|
410
415
|
this.g9_1 = 1;
|
|
411
|
-
this.
|
|
416
|
+
this.qda_1(this.rda_1);
|
|
412
417
|
return Unit_instance;
|
|
413
418
|
} else if (tmp === 1) {
|
|
414
419
|
throw this.i9_1;
|
|
@@ -419,31 +424,31 @@
|
|
|
419
424
|
}
|
|
420
425
|
while (true);
|
|
421
426
|
};
|
|
422
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
423
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
424
|
-
i.
|
|
427
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).tda = function (it, completion) {
|
|
428
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.qda_1, completion);
|
|
429
|
+
i.rda_1 = it;
|
|
425
430
|
return i;
|
|
426
431
|
};
|
|
427
432
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
428
433
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
429
434
|
var l = function (it, $completion) {
|
|
430
|
-
return i.
|
|
435
|
+
return i.sda(it, $completion);
|
|
431
436
|
};
|
|
432
437
|
l.$arity = 1;
|
|
433
438
|
return l;
|
|
434
439
|
}
|
|
435
440
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
436
|
-
this.
|
|
441
|
+
this.cdb_1 = $$this$unsafeFlow;
|
|
437
442
|
CoroutineImpl.call(this, resultContinuation);
|
|
438
443
|
}
|
|
439
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).
|
|
440
|
-
var tmp = this.
|
|
444
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).p1l = function (value, $completion) {
|
|
445
|
+
var tmp = this.q1l(value, $completion);
|
|
441
446
|
tmp.h9_1 = Unit_instance;
|
|
442
447
|
tmp.i9_1 = null;
|
|
443
448
|
return tmp.n9();
|
|
444
449
|
};
|
|
445
450
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).x9 = function (p1, $completion) {
|
|
446
|
-
return this.
|
|
451
|
+
return this.p1l((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
447
452
|
};
|
|
448
453
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).n9 = function () {
|
|
449
454
|
var suspendResult = this.h9_1;
|
|
@@ -454,12 +459,12 @@
|
|
|
454
459
|
case 0:
|
|
455
460
|
this.g9_1 = 2;
|
|
456
461
|
var tmp_0 = this;
|
|
457
|
-
tmp_0.
|
|
462
|
+
tmp_0.edb_1 = this.cdb_1;
|
|
458
463
|
var tmp_1 = this;
|
|
459
|
-
tmp_1.
|
|
464
|
+
tmp_1.fdb_1 = this.ddb_1;
|
|
460
465
|
this.f9_1 = 1;
|
|
461
|
-
var it = this.
|
|
462
|
-
suspendResult = this.
|
|
466
|
+
var it = this.fdb_1;
|
|
467
|
+
suspendResult = this.edb_1.d18(new ActionsStateUpdate(it), this);
|
|
463
468
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
464
469
|
return suspendResult;
|
|
465
470
|
}
|
|
@@ -481,23 +486,23 @@
|
|
|
481
486
|
}
|
|
482
487
|
while (true);
|
|
483
488
|
};
|
|
484
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).
|
|
485
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.
|
|
486
|
-
i.
|
|
489
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).q1l = function (value, completion) {
|
|
490
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.cdb_1, completion);
|
|
491
|
+
i.ddb_1 = value;
|
|
487
492
|
return i;
|
|
488
493
|
};
|
|
489
494
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
490
495
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
491
496
|
var l = function (value, $completion) {
|
|
492
|
-
return i.
|
|
497
|
+
return i.p1l(value, $completion);
|
|
493
498
|
};
|
|
494
499
|
l.$arity = 1;
|
|
495
500
|
return l;
|
|
496
501
|
}
|
|
497
502
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
498
503
|
CoroutineImpl.call(this, resultContinuation);
|
|
499
|
-
this.
|
|
500
|
-
this.
|
|
504
|
+
this.odb_1 = _this__u8e3s4;
|
|
505
|
+
this.pdb_1 = collector;
|
|
501
506
|
}
|
|
502
507
|
protoOf($collectCOROUTINE$0).n9 = function () {
|
|
503
508
|
var suspendResult = this.h9_1;
|
|
@@ -508,10 +513,10 @@
|
|
|
508
513
|
case 0:
|
|
509
514
|
this.g9_1 = 2;
|
|
510
515
|
var tmp_0 = this;
|
|
511
|
-
tmp_0.
|
|
516
|
+
tmp_0.qdb_1 = this.pdb_1;
|
|
512
517
|
this.f9_1 = 1;
|
|
513
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.
|
|
514
|
-
suspendResult = this.
|
|
518
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.qdb_1, null);
|
|
519
|
+
suspendResult = this.odb_1.rdb_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
515
520
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
516
521
|
return suspendResult;
|
|
517
522
|
}
|
|
@@ -534,30 +539,30 @@
|
|
|
534
539
|
while (true);
|
|
535
540
|
};
|
|
536
541
|
function _no_name_provided__qut3iv($this) {
|
|
537
|
-
this.
|
|
542
|
+
this.rdb_1 = $this;
|
|
538
543
|
}
|
|
539
|
-
protoOf(_no_name_provided__qut3iv).
|
|
544
|
+
protoOf(_no_name_provided__qut3iv).e18 = function (collector, $completion) {
|
|
540
545
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
541
546
|
tmp.h9_1 = Unit_instance;
|
|
542
547
|
tmp.i9_1 = null;
|
|
543
548
|
return tmp.n9();
|
|
544
549
|
};
|
|
545
|
-
protoOf(_no_name_provided__qut3iv).
|
|
546
|
-
return this.
|
|
550
|
+
protoOf(_no_name_provided__qut3iv).z16 = function (collector, $completion) {
|
|
551
|
+
return this.e18(collector, $completion);
|
|
547
552
|
};
|
|
548
553
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation) {
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
554
|
+
this.adc_1 = $table;
|
|
555
|
+
this.bdc_1 = this$0;
|
|
551
556
|
CoroutineImpl.call(this, resultContinuation);
|
|
552
557
|
}
|
|
553
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
554
|
-
var tmp = this.
|
|
558
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).ddc = function ($this$flow, $completion) {
|
|
559
|
+
var tmp = this.edc($this$flow, $completion);
|
|
555
560
|
tmp.h9_1 = Unit_instance;
|
|
556
561
|
tmp.i9_1 = null;
|
|
557
562
|
return tmp.n9();
|
|
558
563
|
};
|
|
559
564
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).x9 = function (p1, $completion) {
|
|
560
|
-
return this.
|
|
565
|
+
return this.ddc((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
561
566
|
};
|
|
562
567
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).n9 = function () {
|
|
563
568
|
var suspendResult = this.h9_1;
|
|
@@ -568,7 +573,7 @@
|
|
|
568
573
|
case 0:
|
|
569
574
|
this.g9_1 = 3;
|
|
570
575
|
this.f9_1 = 1;
|
|
571
|
-
suspendResult = this.
|
|
576
|
+
suspendResult = this.cdc_1.d18(new TableStateUpdate(this.adc_1), this);
|
|
572
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
573
578
|
return suspendResult;
|
|
574
579
|
}
|
|
@@ -576,8 +581,8 @@
|
|
|
576
581
|
continue $sm;
|
|
577
582
|
case 1:
|
|
578
583
|
this.f9_1 = 2;
|
|
579
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
580
|
-
suspendResult = emitAll(this.
|
|
584
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.bdc_1).r92(), new Long(150, 0));
|
|
585
|
+
suspendResult = emitAll(this.cdc_1, new _no_name_provided__qut3iv(this_0), this);
|
|
581
586
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
582
587
|
return suspendResult;
|
|
583
588
|
}
|
|
@@ -599,32 +604,32 @@
|
|
|
599
604
|
}
|
|
600
605
|
while (true);
|
|
601
606
|
};
|
|
602
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
603
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.
|
|
604
|
-
i.
|
|
607
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).edc = function ($this$flow, completion) {
|
|
608
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.adc_1, this.bdc_1, completion);
|
|
609
|
+
i.cdc_1 = $this$flow;
|
|
605
610
|
return i;
|
|
606
611
|
};
|
|
607
612
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
608
613
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation);
|
|
609
614
|
var l = function ($this$flow, $completion) {
|
|
610
|
-
return i.
|
|
615
|
+
return i.ddc($this$flow, $completion);
|
|
611
616
|
};
|
|
612
617
|
l.$arity = 1;
|
|
613
618
|
return l;
|
|
614
619
|
}
|
|
615
620
|
function GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation) {
|
|
616
|
-
this.
|
|
621
|
+
this.ndc_1 = this$0;
|
|
617
622
|
CoroutineImpl.call(this, resultContinuation);
|
|
618
623
|
}
|
|
619
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
620
|
-
var tmp = this.
|
|
624
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).hc0 = function ($this$transformLatest, it, $completion) {
|
|
625
|
+
var tmp = this.ic0($this$transformLatest, it, $completion);
|
|
621
626
|
tmp.h9_1 = Unit_instance;
|
|
622
627
|
tmp.i9_1 = null;
|
|
623
628
|
return tmp.n9();
|
|
624
629
|
};
|
|
625
630
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).y9 = function (p1, p2, $completion) {
|
|
626
631
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
627
|
-
return this.
|
|
632
|
+
return this.hc0(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
628
633
|
};
|
|
629
634
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).n9 = function () {
|
|
630
635
|
var suspendResult = this.h9_1;
|
|
@@ -635,8 +640,8 @@
|
|
|
635
640
|
case 0:
|
|
636
641
|
this.g9_1 = 2;
|
|
637
642
|
this.f9_1 = 1;
|
|
638
|
-
var table = this.
|
|
639
|
-
suspendResult = emitAll(this.
|
|
643
|
+
var table = this.pdc_1;
|
|
644
|
+
suspendResult = emitAll(this.odc_1, flow(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0(table, this.ndc_1, null)), this);
|
|
640
645
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
641
646
|
return suspendResult;
|
|
642
647
|
}
|
|
@@ -658,32 +663,32 @@
|
|
|
658
663
|
}
|
|
659
664
|
while (true);
|
|
660
665
|
};
|
|
661
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
662
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
663
|
-
i.
|
|
664
|
-
i.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ic0 = function ($this$transformLatest, it, completion) {
|
|
667
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.ndc_1, completion);
|
|
668
|
+
i.odc_1 = $this$transformLatest;
|
|
669
|
+
i.pdc_1 = it;
|
|
665
670
|
return i;
|
|
666
671
|
};
|
|
667
672
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0(this$0, resultContinuation) {
|
|
668
673
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation);
|
|
669
674
|
var l = function ($this$transformLatest, it, $completion) {
|
|
670
|
-
return i.
|
|
675
|
+
return i.hc0($this$transformLatest, it, $completion);
|
|
671
676
|
};
|
|
672
677
|
l.$arity = 2;
|
|
673
678
|
return l;
|
|
674
679
|
}
|
|
675
680
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation) {
|
|
676
|
-
this.
|
|
681
|
+
this.ydc_1 = $subscriber;
|
|
677
682
|
CoroutineImpl.call(this, resultContinuation);
|
|
678
683
|
}
|
|
679
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
680
|
-
var tmp = this.
|
|
684
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).add = function (it, $completion) {
|
|
685
|
+
var tmp = this.bdd(it, $completion);
|
|
681
686
|
tmp.h9_1 = Unit_instance;
|
|
682
687
|
tmp.i9_1 = null;
|
|
683
688
|
return tmp.n9();
|
|
684
689
|
};
|
|
685
690
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).x9 = function (p1, $completion) {
|
|
686
|
-
return this.
|
|
691
|
+
return this.add((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
687
692
|
};
|
|
688
693
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).n9 = function () {
|
|
689
694
|
var suspendResult = this.h9_1;
|
|
@@ -692,7 +697,7 @@
|
|
|
692
697
|
var tmp = this.f9_1;
|
|
693
698
|
if (tmp === 0) {
|
|
694
699
|
this.g9_1 = 1;
|
|
695
|
-
this.
|
|
700
|
+
this.ydc_1(this.zdc_1);
|
|
696
701
|
return Unit_instance;
|
|
697
702
|
} else if (tmp === 1) {
|
|
698
703
|
throw this.i9_1;
|
|
@@ -703,31 +708,31 @@
|
|
|
703
708
|
}
|
|
704
709
|
while (true);
|
|
705
710
|
};
|
|
706
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
707
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.
|
|
708
|
-
i.
|
|
711
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).bdd = function (it, completion) {
|
|
712
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.ydc_1, completion);
|
|
713
|
+
i.zdc_1 = it;
|
|
709
714
|
return i;
|
|
710
715
|
};
|
|
711
716
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_2($subscriber, resultContinuation) {
|
|
712
717
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation);
|
|
713
718
|
var l = function (it, $completion) {
|
|
714
|
-
return i.
|
|
719
|
+
return i.add(it, $completion);
|
|
715
720
|
};
|
|
716
721
|
l.$arity = 1;
|
|
717
722
|
return l;
|
|
718
723
|
}
|
|
719
724
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
720
|
-
this.
|
|
725
|
+
this.kdd_1 = $$this$unsafeFlow;
|
|
721
726
|
CoroutineImpl.call(this, resultContinuation);
|
|
722
727
|
}
|
|
723
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).
|
|
724
|
-
var tmp = this.
|
|
728
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).p1l = function (value, $completion) {
|
|
729
|
+
var tmp = this.q1l(value, $completion);
|
|
725
730
|
tmp.h9_1 = Unit_instance;
|
|
726
731
|
tmp.i9_1 = null;
|
|
727
732
|
return tmp.n9();
|
|
728
733
|
};
|
|
729
734
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x9 = function (p1, $completion) {
|
|
730
|
-
return this.
|
|
735
|
+
return this.p1l((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
731
736
|
};
|
|
732
737
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).n9 = function () {
|
|
733
738
|
var suspendResult = this.h9_1;
|
|
@@ -738,12 +743,12 @@
|
|
|
738
743
|
case 0:
|
|
739
744
|
this.g9_1 = 2;
|
|
740
745
|
var tmp_0 = this;
|
|
741
|
-
tmp_0.
|
|
746
|
+
tmp_0.mdd_1 = this.kdd_1;
|
|
742
747
|
var tmp_1 = this;
|
|
743
|
-
tmp_1.
|
|
748
|
+
tmp_1.ndd_1 = this.ldd_1;
|
|
744
749
|
this.f9_1 = 1;
|
|
745
|
-
var state = this.
|
|
746
|
-
suspendResult = this.
|
|
750
|
+
var state = this.ndd_1;
|
|
751
|
+
suspendResult = this.mdd_1.d18(state.k6x().gameInfo.roundNumberTotal, this);
|
|
747
752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
748
753
|
return suspendResult;
|
|
749
754
|
}
|
|
@@ -765,23 +770,23 @@
|
|
|
765
770
|
}
|
|
766
771
|
while (true);
|
|
767
772
|
};
|
|
768
|
-
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).
|
|
769
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
770
|
-
i.
|
|
773
|
+
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).q1l = function (value, completion) {
|
|
774
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.kdd_1, completion);
|
|
775
|
+
i.ldd_1 = value;
|
|
771
776
|
return i;
|
|
772
777
|
};
|
|
773
778
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
774
779
|
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
775
780
|
var l = function (value, $completion) {
|
|
776
|
-
return i.
|
|
781
|
+
return i.p1l(value, $completion);
|
|
777
782
|
};
|
|
778
783
|
l.$arity = 1;
|
|
779
784
|
return l;
|
|
780
785
|
}
|
|
781
786
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
782
787
|
CoroutineImpl.call(this, resultContinuation);
|
|
783
|
-
this.
|
|
784
|
-
this.
|
|
788
|
+
this.wdd_1 = _this__u8e3s4;
|
|
789
|
+
this.xdd_1 = collector;
|
|
785
790
|
}
|
|
786
791
|
protoOf($collectCOROUTINE$1).n9 = function () {
|
|
787
792
|
var suspendResult = this.h9_1;
|
|
@@ -792,10 +797,10 @@
|
|
|
792
797
|
case 0:
|
|
793
798
|
this.g9_1 = 2;
|
|
794
799
|
var tmp_0 = this;
|
|
795
|
-
tmp_0.
|
|
800
|
+
tmp_0.ydd_1 = this.xdd_1;
|
|
796
801
|
this.f9_1 = 1;
|
|
797
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
798
|
-
suspendResult = this.
|
|
802
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.ydd_1, null);
|
|
803
|
+
suspendResult = this.wdd_1.zdd_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
799
804
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
800
805
|
return suspendResult;
|
|
801
806
|
}
|
|
@@ -818,17 +823,17 @@
|
|
|
818
823
|
while (true);
|
|
819
824
|
};
|
|
820
825
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
821
|
-
this.
|
|
826
|
+
this.ide_1 = $$this$unsafeFlow;
|
|
822
827
|
CoroutineImpl.call(this, resultContinuation);
|
|
823
828
|
}
|
|
824
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
825
|
-
var tmp = this.
|
|
829
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).p1l = function (value, $completion) {
|
|
830
|
+
var tmp = this.q1l(value, $completion);
|
|
826
831
|
tmp.h9_1 = Unit_instance;
|
|
827
832
|
tmp.i9_1 = null;
|
|
828
833
|
return tmp.n9();
|
|
829
834
|
};
|
|
830
835
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).x9 = function (p1, $completion) {
|
|
831
|
-
return this.
|
|
836
|
+
return this.p1l((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
832
837
|
};
|
|
833
838
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).n9 = function () {
|
|
834
839
|
var suspendResult = this.h9_1;
|
|
@@ -842,33 +847,33 @@
|
|
|
842
847
|
continue $sm;
|
|
843
848
|
case 1:
|
|
844
849
|
var tmp_0 = this;
|
|
845
|
-
tmp_0.
|
|
850
|
+
tmp_0.lde_1 = this.ide_1;
|
|
846
851
|
var tmp_1 = this;
|
|
847
|
-
tmp_1.
|
|
852
|
+
tmp_1.mde_1 = this.jde_1;
|
|
848
853
|
var tmp_2 = this;
|
|
849
|
-
tmp_2.
|
|
850
|
-
if (this.
|
|
851
|
-
this.
|
|
854
|
+
tmp_2.nde_1 = this.mde_1.i6w_1;
|
|
855
|
+
if (this.nde_1 == null) {
|
|
856
|
+
this.kde_1 = Unit_instance;
|
|
852
857
|
this.f9_1 = 4;
|
|
853
858
|
var tmp_3 = this;
|
|
854
859
|
continue $sm;
|
|
855
860
|
} else {
|
|
856
|
-
this.
|
|
861
|
+
this.ode_1 = this.nde_1;
|
|
857
862
|
this.f9_1 = 2;
|
|
858
863
|
continue $sm;
|
|
859
864
|
}
|
|
860
865
|
|
|
861
866
|
case 2:
|
|
862
|
-
this.
|
|
867
|
+
this.pde_1 = this.ode_1;
|
|
863
868
|
this.f9_1 = 3;
|
|
864
|
-
suspendResult = this.
|
|
869
|
+
suspendResult = this.lde_1.d18(this.pde_1, this);
|
|
865
870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
866
871
|
return suspendResult;
|
|
867
872
|
}
|
|
868
873
|
|
|
869
874
|
continue $sm;
|
|
870
875
|
case 3:
|
|
871
|
-
this.
|
|
876
|
+
this.kde_1 = suspendResult;
|
|
872
877
|
if (false) {
|
|
873
878
|
this.f9_1 = 1;
|
|
874
879
|
continue $sm;
|
|
@@ -892,23 +897,23 @@
|
|
|
892
897
|
}
|
|
893
898
|
while (true);
|
|
894
899
|
};
|
|
895
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).
|
|
896
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
897
|
-
i.
|
|
900
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).q1l = function (value, completion) {
|
|
901
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.ide_1, completion);
|
|
902
|
+
i.jde_1 = value;
|
|
898
903
|
return i;
|
|
899
904
|
};
|
|
900
905
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
901
906
|
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
902
907
|
var l = function (value, $completion) {
|
|
903
|
-
return i.
|
|
908
|
+
return i.p1l(value, $completion);
|
|
904
909
|
};
|
|
905
910
|
l.$arity = 1;
|
|
906
911
|
return l;
|
|
907
912
|
}
|
|
908
913
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
909
914
|
CoroutineImpl.call(this, resultContinuation);
|
|
910
|
-
this.
|
|
911
|
-
this.
|
|
915
|
+
this.yde_1 = _this__u8e3s4;
|
|
916
|
+
this.zde_1 = collector;
|
|
912
917
|
}
|
|
913
918
|
protoOf($collectCOROUTINE$2).n9 = function () {
|
|
914
919
|
var suspendResult = this.h9_1;
|
|
@@ -919,10 +924,10 @@
|
|
|
919
924
|
case 0:
|
|
920
925
|
this.g9_1 = 2;
|
|
921
926
|
var tmp_0 = this;
|
|
922
|
-
tmp_0.
|
|
927
|
+
tmp_0.adf_1 = this.zde_1;
|
|
923
928
|
this.f9_1 = 1;
|
|
924
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
925
|
-
suspendResult = this.
|
|
929
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.adf_1, null);
|
|
930
|
+
suspendResult = this.yde_1.bdf_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
926
931
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
927
932
|
return suspendResult;
|
|
928
933
|
}
|
|
@@ -945,29 +950,29 @@
|
|
|
945
950
|
while (true);
|
|
946
951
|
};
|
|
947
952
|
function _no_name_provided__qut3iv_0($this) {
|
|
948
|
-
this.
|
|
953
|
+
this.bdf_1 = $this;
|
|
949
954
|
}
|
|
950
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
955
|
+
protoOf(_no_name_provided__qut3iv_0).e18 = function (collector, $completion) {
|
|
951
956
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
952
957
|
tmp.h9_1 = Unit_instance;
|
|
953
958
|
tmp.i9_1 = null;
|
|
954
959
|
return tmp.n9();
|
|
955
960
|
};
|
|
956
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
957
|
-
return this.
|
|
961
|
+
protoOf(_no_name_provided__qut3iv_0).z16 = function (collector, $completion) {
|
|
962
|
+
return this.e18(collector, $completion);
|
|
958
963
|
};
|
|
959
964
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
960
|
-
this.
|
|
965
|
+
this.kdf_1 = $subscriber;
|
|
961
966
|
CoroutineImpl.call(this, resultContinuation);
|
|
962
967
|
}
|
|
963
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
964
|
-
var tmp = this.
|
|
968
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).mdf = function (it, $completion) {
|
|
969
|
+
var tmp = this.ndf(it, $completion);
|
|
965
970
|
tmp.h9_1 = Unit_instance;
|
|
966
971
|
tmp.i9_1 = null;
|
|
967
972
|
return tmp.n9();
|
|
968
973
|
};
|
|
969
974
|
protoOf(GameServer$subscribeWith$slambda$slambda).x9 = function (p1, $completion) {
|
|
970
|
-
return this.
|
|
975
|
+
return this.mdf(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
971
976
|
};
|
|
972
977
|
protoOf(GameServer$subscribeWith$slambda$slambda).n9 = function () {
|
|
973
978
|
var suspendResult = this.h9_1;
|
|
@@ -976,7 +981,7 @@
|
|
|
976
981
|
var tmp = this.f9_1;
|
|
977
982
|
if (tmp === 0) {
|
|
978
983
|
this.g9_1 = 1;
|
|
979
|
-
this.
|
|
984
|
+
this.kdf_1(this.ldf_1);
|
|
980
985
|
return Unit_instance;
|
|
981
986
|
} else if (tmp === 1) {
|
|
982
987
|
throw this.i9_1;
|
|
@@ -987,64 +992,64 @@
|
|
|
987
992
|
}
|
|
988
993
|
while (true);
|
|
989
994
|
};
|
|
990
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
991
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
992
|
-
i.
|
|
995
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).ndf = function (it, completion) {
|
|
996
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.kdf_1, completion);
|
|
997
|
+
i.ldf_1 = it;
|
|
993
998
|
return i;
|
|
994
999
|
};
|
|
995
1000
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
996
1001
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
997
1002
|
var l = function (it, $completion) {
|
|
998
|
-
return i.
|
|
1003
|
+
return i.mdf(it, $completion);
|
|
999
1004
|
};
|
|
1000
1005
|
l.$arity = 1;
|
|
1001
1006
|
return l;
|
|
1002
1007
|
}
|
|
1003
1008
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
1004
|
-
this.
|
|
1009
|
+
this.odf_1 = $playerId;
|
|
1005
1010
|
}
|
|
1006
|
-
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).
|
|
1007
|
-
return this.
|
|
1011
|
+
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).z6d = function () {
|
|
1012
|
+
return this.odf_1;
|
|
1008
1013
|
};
|
|
1009
1014
|
function _get_logger__rkp4sl($this) {
|
|
1010
1015
|
// Inline function 'kotlin.getValue' call
|
|
1011
|
-
var this_0 = $this.
|
|
1016
|
+
var this_0 = $this.rdf_1;
|
|
1012
1017
|
logger$factory_0();
|
|
1013
1018
|
return this_0.u();
|
|
1014
1019
|
}
|
|
1015
1020
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1016
1021
|
// Inline function 'kotlin.getValue' call
|
|
1017
|
-
var this_0 = $this.
|
|
1022
|
+
var this_0 = $this.sdf_1;
|
|
1018
1023
|
toClientEventsObserver$factory_0();
|
|
1019
1024
|
return this_0.u();
|
|
1020
1025
|
}
|
|
1021
1026
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1022
1027
|
// Inline function 'kotlin.getValue' call
|
|
1023
|
-
var this_0 = $this.
|
|
1028
|
+
var this_0 = $this.tdf_1;
|
|
1024
1029
|
fromClientEventsObserver$factory_0();
|
|
1025
1030
|
return this_0.u();
|
|
1026
1031
|
}
|
|
1027
1032
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1028
1033
|
// Inline function 'kotlin.getValue' call
|
|
1029
|
-
var this_0 = $this.
|
|
1034
|
+
var this_0 = $this.udf_1;
|
|
1030
1035
|
playerConnectionInteractor$factory_0();
|
|
1031
1036
|
return this_0.u();
|
|
1032
1037
|
}
|
|
1033
1038
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1034
1039
|
// Inline function 'kotlin.getValue' call
|
|
1035
|
-
var this_0 = $this.
|
|
1040
|
+
var this_0 = $this.vdf_1;
|
|
1036
1041
|
teamsLogicProvider$factory_0();
|
|
1037
1042
|
return this_0.u();
|
|
1038
1043
|
}
|
|
1039
1044
|
function _get_random__h29cgo($this) {
|
|
1040
1045
|
// Inline function 'kotlin.getValue' call
|
|
1041
|
-
var this_0 = $this.
|
|
1046
|
+
var this_0 = $this.wdf_1;
|
|
1042
1047
|
random$factory();
|
|
1043
1048
|
return this_0.u();
|
|
1044
1049
|
}
|
|
1045
1050
|
function _get_idsProvider__fnfajc($this) {
|
|
1046
1051
|
// Inline function 'kotlin.getValue' call
|
|
1047
|
-
var this_0 = $this.
|
|
1052
|
+
var this_0 = $this.xdf_1;
|
|
1048
1053
|
idsProvider$factory_0();
|
|
1049
1054
|
return this_0.u();
|
|
1050
1055
|
}
|
|
@@ -1058,20 +1063,20 @@
|
|
|
1058
1063
|
return transformLatest(this_0, GameServer$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
1059
1064
|
}
|
|
1060
1065
|
function Companion() {
|
|
1061
|
-
this.
|
|
1066
|
+
this.zdf_1 = 'GameEngine_API';
|
|
1062
1067
|
}
|
|
1063
1068
|
var Companion_instance_7;
|
|
1064
1069
|
function Companion_getInstance_0() {
|
|
1065
1070
|
return Companion_instance_7;
|
|
1066
1071
|
}
|
|
1067
1072
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1068
|
-
this.
|
|
1073
|
+
this.adg_1 = function_0;
|
|
1069
1074
|
}
|
|
1070
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
1071
|
-
return this.
|
|
1075
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d18 = function (value, $completion) {
|
|
1076
|
+
return this.adg_1(value, $completion);
|
|
1072
1077
|
};
|
|
1073
1078
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
1074
|
-
return this.
|
|
1079
|
+
return this.adg_1;
|
|
1075
1080
|
};
|
|
1076
1081
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1077
1082
|
var tmp;
|
|
@@ -1092,13 +1097,13 @@
|
|
|
1092
1097
|
return hashCode(this.p3());
|
|
1093
1098
|
};
|
|
1094
1099
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1095
|
-
this.
|
|
1100
|
+
this.bdg_1 = function_0;
|
|
1096
1101
|
}
|
|
1097
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
1098
|
-
return this.
|
|
1102
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d18 = function (value, $completion) {
|
|
1103
|
+
return this.bdg_1(value, $completion);
|
|
1099
1104
|
};
|
|
1100
1105
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
1101
|
-
return this.
|
|
1106
|
+
return this.bdg_1;
|
|
1102
1107
|
};
|
|
1103
1108
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1104
1109
|
var tmp;
|
|
@@ -1119,13 +1124,13 @@
|
|
|
1119
1124
|
return hashCode(this.p3());
|
|
1120
1125
|
};
|
|
1121
1126
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1122
|
-
this.
|
|
1127
|
+
this.cdg_1 = function_0;
|
|
1123
1128
|
}
|
|
1124
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).
|
|
1125
|
-
return this.
|
|
1129
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).d18 = function (value, $completion) {
|
|
1130
|
+
return this.cdg_1(value, $completion);
|
|
1126
1131
|
};
|
|
1127
1132
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).p3 = function () {
|
|
1128
|
-
return this.
|
|
1133
|
+
return this.cdg_1;
|
|
1129
1134
|
};
|
|
1130
1135
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1131
1136
|
var tmp;
|
|
@@ -1146,13 +1151,13 @@
|
|
|
1146
1151
|
return hashCode(this.p3());
|
|
1147
1152
|
};
|
|
1148
1153
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1149
|
-
this.
|
|
1154
|
+
this.ddg_1 = function_0;
|
|
1150
1155
|
}
|
|
1151
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).
|
|
1152
|
-
return this.
|
|
1156
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).d18 = function (value, $completion) {
|
|
1157
|
+
return this.ddg_1(value, $completion);
|
|
1153
1158
|
};
|
|
1154
1159
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p3 = function () {
|
|
1155
|
-
return this.
|
|
1160
|
+
return this.ddg_1;
|
|
1156
1161
|
};
|
|
1157
1162
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1158
1163
|
var tmp;
|
|
@@ -1178,18 +1183,18 @@
|
|
|
1178
1183
|
};
|
|
1179
1184
|
}
|
|
1180
1185
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1181
|
-
this.
|
|
1182
|
-
this.
|
|
1186
|
+
this.mdg_1 = this$0;
|
|
1187
|
+
this.ndg_1 = $subscriber;
|
|
1183
1188
|
CoroutineImpl.call(this, resultContinuation);
|
|
1184
1189
|
}
|
|
1185
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
1186
|
-
var tmp = this.
|
|
1190
|
+
protoOf(GameServer$subscribeToClientAction$slambda).s1e = function ($this$launchDefault, $completion) {
|
|
1191
|
+
var tmp = this.t1e($this$launchDefault, $completion);
|
|
1187
1192
|
tmp.h9_1 = Unit_instance;
|
|
1188
1193
|
tmp.i9_1 = null;
|
|
1189
1194
|
return tmp.n9();
|
|
1190
1195
|
};
|
|
1191
1196
|
protoOf(GameServer$subscribeToClientAction$slambda).x9 = function (p1, $completion) {
|
|
1192
|
-
return this.
|
|
1197
|
+
return this.s1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1193
1198
|
};
|
|
1194
1199
|
protoOf(GameServer$subscribeToClientAction$slambda).n9 = function () {
|
|
1195
1200
|
var suspendResult = this.h9_1;
|
|
@@ -1200,9 +1205,9 @@
|
|
|
1200
1205
|
case 0:
|
|
1201
1206
|
this.g9_1 = 2;
|
|
1202
1207
|
this.f9_1 = 1;
|
|
1203
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1204
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1205
|
-
suspendResult = tmp_0.
|
|
1208
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.mdg_1).cap();
|
|
1209
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.ndg_1, null);
|
|
1210
|
+
suspendResult = tmp_0.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1206
1211
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1207
1212
|
return suspendResult;
|
|
1208
1213
|
}
|
|
@@ -1224,32 +1229,32 @@
|
|
|
1224
1229
|
}
|
|
1225
1230
|
while (true);
|
|
1226
1231
|
};
|
|
1227
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
1228
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1229
|
-
i.
|
|
1232
|
+
protoOf(GameServer$subscribeToClientAction$slambda).t1e = function ($this$launchDefault, completion) {
|
|
1233
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.mdg_1, this.ndg_1, completion);
|
|
1234
|
+
i.odg_1 = $this$launchDefault;
|
|
1230
1235
|
return i;
|
|
1231
1236
|
};
|
|
1232
1237
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1233
1238
|
var i = new GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation);
|
|
1234
1239
|
var l = function ($this$launchDefault, $completion) {
|
|
1235
|
-
return i.
|
|
1240
|
+
return i.s1e($this$launchDefault, $completion);
|
|
1236
1241
|
};
|
|
1237
1242
|
l.$arity = 1;
|
|
1238
1243
|
return l;
|
|
1239
1244
|
}
|
|
1240
1245
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1241
|
-
this.
|
|
1242
|
-
this.
|
|
1246
|
+
this.xdg_1 = this$0;
|
|
1247
|
+
this.ydg_1 = $subscriber;
|
|
1243
1248
|
CoroutineImpl.call(this, resultContinuation);
|
|
1244
1249
|
}
|
|
1245
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
1246
|
-
var tmp = this.
|
|
1250
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).s1e = function ($this$launchDefault, $completion) {
|
|
1251
|
+
var tmp = this.t1e($this$launchDefault, $completion);
|
|
1247
1252
|
tmp.h9_1 = Unit_instance;
|
|
1248
1253
|
tmp.i9_1 = null;
|
|
1249
1254
|
return tmp.n9();
|
|
1250
1255
|
};
|
|
1251
1256
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).x9 = function (p1, $completion) {
|
|
1252
|
-
return this.
|
|
1257
|
+
return this.s1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1253
1258
|
};
|
|
1254
1259
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).n9 = function () {
|
|
1255
1260
|
var suspendResult = this.h9_1;
|
|
@@ -1260,10 +1265,10 @@
|
|
|
1260
1265
|
case 0:
|
|
1261
1266
|
this.g9_1 = 2;
|
|
1262
1267
|
this.f9_1 = 1;
|
|
1263
|
-
var this_0 = observeTableWhenRoundChanges(this.
|
|
1264
|
-
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1265
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.
|
|
1266
|
-
suspendResult = tmp_0.
|
|
1268
|
+
var this_0 = observeTableWhenRoundChanges(this.xdg_1, this.xdg_1.h6w());
|
|
1269
|
+
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.xdg_1, null));
|
|
1270
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.ydg_1, null);
|
|
1271
|
+
suspendResult = tmp_0.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1267
1272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1268
1273
|
return suspendResult;
|
|
1269
1274
|
}
|
|
@@ -1285,44 +1290,44 @@
|
|
|
1285
1290
|
}
|
|
1286
1291
|
while (true);
|
|
1287
1292
|
};
|
|
1288
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda).
|
|
1289
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1290
|
-
i.
|
|
1293
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda).t1e = function ($this$launchDefault, completion) {
|
|
1294
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.xdg_1, this.ydg_1, completion);
|
|
1295
|
+
i.zdg_1 = $this$launchDefault;
|
|
1291
1296
|
return i;
|
|
1292
1297
|
};
|
|
1293
1298
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1294
1299
|
var i = new GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation);
|
|
1295
1300
|
var l = function ($this$launchDefault, $completion) {
|
|
1296
|
-
return i.
|
|
1301
|
+
return i.s1e($this$launchDefault, $completion);
|
|
1297
1302
|
};
|
|
1298
1303
|
l.$arity = 1;
|
|
1299
1304
|
return l;
|
|
1300
1305
|
}
|
|
1301
1306
|
function _no_name_provided__qut3iv_1($this) {
|
|
1302
|
-
this.
|
|
1307
|
+
this.zdd_1 = $this;
|
|
1303
1308
|
}
|
|
1304
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
1309
|
+
protoOf(_no_name_provided__qut3iv_1).e18 = function (collector, $completion) {
|
|
1305
1310
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
1306
1311
|
tmp.h9_1 = Unit_instance;
|
|
1307
1312
|
tmp.i9_1 = null;
|
|
1308
1313
|
return tmp.n9();
|
|
1309
1314
|
};
|
|
1310
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
1311
|
-
return this.
|
|
1315
|
+
protoOf(_no_name_provided__qut3iv_1).z16 = function (collector, $completion) {
|
|
1316
|
+
return this.e18(collector, $completion);
|
|
1312
1317
|
};
|
|
1313
1318
|
function GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
1314
|
-
this.
|
|
1319
|
+
this.idh_1 = $observeState;
|
|
1315
1320
|
CoroutineImpl.call(this, resultContinuation);
|
|
1316
1321
|
}
|
|
1317
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1318
|
-
var tmp = this.
|
|
1322
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).hc0 = function ($this$transformLatest, it, $completion) {
|
|
1323
|
+
var tmp = this.ic0($this$transformLatest, it, $completion);
|
|
1319
1324
|
tmp.h9_1 = Unit_instance;
|
|
1320
1325
|
tmp.i9_1 = null;
|
|
1321
1326
|
return tmp.n9();
|
|
1322
1327
|
};
|
|
1323
1328
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).y9 = function (p1, p2, $completion) {
|
|
1324
1329
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1325
|
-
return this.
|
|
1330
|
+
return this.hc0(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1326
1331
|
};
|
|
1327
1332
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).n9 = function () {
|
|
1328
1333
|
var suspendResult = this.h9_1;
|
|
@@ -1333,9 +1338,9 @@
|
|
|
1333
1338
|
case 0:
|
|
1334
1339
|
this.g9_1 = 2;
|
|
1335
1340
|
this.f9_1 = 1;
|
|
1336
|
-
this.
|
|
1337
|
-
var this_0 = this.
|
|
1338
|
-
suspendResult = emitAll(this.
|
|
1341
|
+
this.kdh_1;
|
|
1342
|
+
var this_0 = this.idh_1;
|
|
1343
|
+
suspendResult = emitAll(this.jdh_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
1339
1344
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1340
1345
|
return suspendResult;
|
|
1341
1346
|
}
|
|
@@ -1357,33 +1362,33 @@
|
|
|
1357
1362
|
}
|
|
1358
1363
|
while (true);
|
|
1359
1364
|
};
|
|
1360
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1361
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.
|
|
1362
|
-
i.
|
|
1363
|
-
i.
|
|
1365
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).ic0 = function ($this$transformLatest, it, completion) {
|
|
1366
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.idh_1, completion);
|
|
1367
|
+
i.jdh_1 = $this$transformLatest;
|
|
1368
|
+
i.kdh_1 = it;
|
|
1364
1369
|
return i;
|
|
1365
1370
|
};
|
|
1366
1371
|
function GameServer$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
1367
1372
|
var i = new GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
1368
1373
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1369
|
-
return i.
|
|
1374
|
+
return i.hc0($this$transformLatest, it, $completion);
|
|
1370
1375
|
};
|
|
1371
1376
|
l.$arity = 2;
|
|
1372
1377
|
return l;
|
|
1373
1378
|
}
|
|
1374
1379
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1380
|
+
this.tdh_1 = this$0;
|
|
1381
|
+
this.udh_1 = $subscriber;
|
|
1377
1382
|
CoroutineImpl.call(this, resultContinuation);
|
|
1378
1383
|
}
|
|
1379
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
1380
|
-
var tmp = this.
|
|
1384
|
+
protoOf(GameServer$subscribeWith$slambda).s1e = function ($this$launchDefault, $completion) {
|
|
1385
|
+
var tmp = this.t1e($this$launchDefault, $completion);
|
|
1381
1386
|
tmp.h9_1 = Unit_instance;
|
|
1382
1387
|
tmp.i9_1 = null;
|
|
1383
1388
|
return tmp.n9();
|
|
1384
1389
|
};
|
|
1385
1390
|
protoOf(GameServer$subscribeWith$slambda).x9 = function (p1, $completion) {
|
|
1386
|
-
return this.
|
|
1391
|
+
return this.s1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1387
1392
|
};
|
|
1388
1393
|
protoOf(GameServer$subscribeWith$slambda).n9 = function () {
|
|
1389
1394
|
var suspendResult = this.h9_1;
|
|
@@ -1394,9 +1399,9 @@
|
|
|
1394
1399
|
case 0:
|
|
1395
1400
|
this.g9_1 = 2;
|
|
1396
1401
|
this.f9_1 = 1;
|
|
1397
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1398
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1399
|
-
suspendResult = tmp_0.
|
|
1402
|
+
var tmp_0 = distinctUntilChanged(this.tdh_1.h6w());
|
|
1403
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.udh_1, null);
|
|
1404
|
+
suspendResult = tmp_0.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
1400
1405
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1401
1406
|
return suspendResult;
|
|
1402
1407
|
}
|
|
@@ -1418,32 +1423,32 @@
|
|
|
1418
1423
|
}
|
|
1419
1424
|
while (true);
|
|
1420
1425
|
};
|
|
1421
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
1422
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1423
|
-
i.
|
|
1426
|
+
protoOf(GameServer$subscribeWith$slambda).t1e = function ($this$launchDefault, completion) {
|
|
1427
|
+
var i = new GameServer$subscribeWith$slambda(this.tdh_1, this.udh_1, completion);
|
|
1428
|
+
i.vdh_1 = $this$launchDefault;
|
|
1424
1429
|
return i;
|
|
1425
1430
|
};
|
|
1426
1431
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
1427
1432
|
var i = new GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation);
|
|
1428
1433
|
var l = function ($this$launchDefault, $completion) {
|
|
1429
|
-
return i.
|
|
1434
|
+
return i.s1e($this$launchDefault, $completion);
|
|
1430
1435
|
};
|
|
1431
1436
|
l.$arity = 1;
|
|
1432
1437
|
return l;
|
|
1433
1438
|
}
|
|
1434
1439
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1435
|
-
this.
|
|
1440
|
+
this.edi_1 = $action;
|
|
1436
1441
|
CoroutineImpl.call(this, resultContinuation);
|
|
1437
1442
|
}
|
|
1438
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1439
|
-
var tmp = this.
|
|
1443
|
+
protoOf(GameServer$fromClientEvent$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1444
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1440
1445
|
tmp.h9_1 = Unit_instance;
|
|
1441
1446
|
tmp.i9_1 = null;
|
|
1442
1447
|
return tmp.n9();
|
|
1443
1448
|
};
|
|
1444
1449
|
protoOf(GameServer$fromClientEvent$slambda).y9 = function (p1, p2, $completion) {
|
|
1445
1450
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1446
|
-
return this.
|
|
1451
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1447
1452
|
};
|
|
1448
1453
|
protoOf(GameServer$fromClientEvent$slambda).n9 = function () {
|
|
1449
1454
|
var suspendResult = this.h9_1;
|
|
@@ -1452,11 +1457,11 @@
|
|
|
1452
1457
|
var tmp = this.f9_1;
|
|
1453
1458
|
if (tmp === 0) {
|
|
1454
1459
|
this.g9_1 = 1;
|
|
1455
|
-
if (this.
|
|
1456
|
-
if (!get_isCreated(this.
|
|
1460
|
+
if (this.edi_1 instanceof PlayerReadyFromClientAction)
|
|
1461
|
+
if (!get_isCreated(this.gdi_1.state)) {
|
|
1457
1462
|
return Unit_instance;
|
|
1458
1463
|
}
|
|
1459
|
-
this.
|
|
1464
|
+
this.gdi_1.dispatch(this.edi_1);
|
|
1460
1465
|
return Unit_instance;
|
|
1461
1466
|
} else if (tmp === 1) {
|
|
1462
1467
|
throw this.i9_1;
|
|
@@ -1467,33 +1472,33 @@
|
|
|
1467
1472
|
}
|
|
1468
1473
|
while (true);
|
|
1469
1474
|
};
|
|
1470
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1471
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1472
|
-
i.
|
|
1473
|
-
i.
|
|
1475
|
+
protoOf(GameServer$fromClientEvent$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1476
|
+
var i = new GameServer$fromClientEvent$slambda(this.edi_1, completion);
|
|
1477
|
+
i.fdi_1 = $this$dispatchAsync;
|
|
1478
|
+
i.gdi_1 = store;
|
|
1474
1479
|
return i;
|
|
1475
1480
|
};
|
|
1476
1481
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1477
1482
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1478
1483
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1479
|
-
return i.
|
|
1484
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1480
1485
|
};
|
|
1481
1486
|
l.$arity = 2;
|
|
1482
1487
|
return l;
|
|
1483
1488
|
}
|
|
1484
1489
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1485
|
-
this.
|
|
1490
|
+
this.pdi_1 = $playerId;
|
|
1486
1491
|
CoroutineImpl.call(this, resultContinuation);
|
|
1487
1492
|
}
|
|
1488
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1489
|
-
var tmp = this.
|
|
1493
|
+
protoOf(GameServer$playerLostConnection$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1494
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1490
1495
|
tmp.h9_1 = Unit_instance;
|
|
1491
1496
|
tmp.i9_1 = null;
|
|
1492
1497
|
return tmp.n9();
|
|
1493
1498
|
};
|
|
1494
1499
|
protoOf(GameServer$playerLostConnection$slambda).y9 = function (p1, p2, $completion) {
|
|
1495
1500
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1496
|
-
return this.
|
|
1501
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1497
1502
|
};
|
|
1498
1503
|
protoOf(GameServer$playerLostConnection$slambda).n9 = function () {
|
|
1499
1504
|
var suspendResult = this.h9_1;
|
|
@@ -1502,12 +1507,12 @@
|
|
|
1502
1507
|
var tmp = this.f9_1;
|
|
1503
1508
|
if (tmp === 0) {
|
|
1504
1509
|
this.g9_1 = 1;
|
|
1505
|
-
if (!get_isCreated(this.
|
|
1510
|
+
if (!get_isCreated(this.rdi_1.state)) {
|
|
1506
1511
|
return Unit_instance;
|
|
1507
1512
|
}
|
|
1508
|
-
var tmp_0 = this.
|
|
1513
|
+
var tmp_0 = this.rdi_1.dispatch;
|
|
1509
1514
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1510
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1515
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.pdi_1));
|
|
1511
1516
|
return Unit_instance;
|
|
1512
1517
|
} else if (tmp === 1) {
|
|
1513
1518
|
throw this.i9_1;
|
|
@@ -1518,34 +1523,34 @@
|
|
|
1518
1523
|
}
|
|
1519
1524
|
while (true);
|
|
1520
1525
|
};
|
|
1521
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1522
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
1523
|
-
i.
|
|
1524
|
-
i.
|
|
1526
|
+
protoOf(GameServer$playerLostConnection$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1527
|
+
var i = new GameServer$playerLostConnection$slambda(this.pdi_1, completion);
|
|
1528
|
+
i.qdi_1 = $this$dispatchAsync;
|
|
1529
|
+
i.rdi_1 = store;
|
|
1525
1530
|
return i;
|
|
1526
1531
|
};
|
|
1527
1532
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
1528
1533
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
1529
1534
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1530
|
-
return i.
|
|
1535
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1531
1536
|
};
|
|
1532
1537
|
l.$arity = 2;
|
|
1533
1538
|
return l;
|
|
1534
1539
|
}
|
|
1535
1540
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
1536
|
-
this.
|
|
1537
|
-
this.
|
|
1541
|
+
this.adj_1 = this$0;
|
|
1542
|
+
this.bdj_1 = $playerId;
|
|
1538
1543
|
CoroutineImpl.call(this, resultContinuation);
|
|
1539
1544
|
}
|
|
1540
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1541
|
-
var tmp = this.
|
|
1545
|
+
protoOf(GameServer$playerLive$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1546
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1542
1547
|
tmp.h9_1 = Unit_instance;
|
|
1543
1548
|
tmp.i9_1 = null;
|
|
1544
1549
|
return tmp.n9();
|
|
1545
1550
|
};
|
|
1546
1551
|
protoOf(GameServer$playerLive$slambda).y9 = function (p1, p2, $completion) {
|
|
1547
1552
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1548
|
-
return this.
|
|
1553
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1549
1554
|
};
|
|
1550
1555
|
protoOf(GameServer$playerLive$slambda).n9 = function () {
|
|
1551
1556
|
var suspendResult = this.h9_1;
|
|
@@ -1554,13 +1559,12 @@
|
|
|
1554
1559
|
var tmp = this.f9_1;
|
|
1555
1560
|
if (tmp === 0) {
|
|
1556
1561
|
this.g9_1 = 1;
|
|
1557
|
-
if (!get_isCreated(this.
|
|
1558
|
-
_get_logger__rkp4sl(this.sdi_1).w('GameEngine_API', 'playerLive: ' + this.tdi_1 + ' called before the game start');
|
|
1562
|
+
if (!get_isCreated(this.ddj_1.state) || !this.adj_1.y6e().l6x()) {
|
|
1559
1563
|
return Unit_instance;
|
|
1560
1564
|
}
|
|
1561
|
-
var tmp_0 = this.
|
|
1565
|
+
var tmp_0 = this.ddj_1.dispatch;
|
|
1562
1566
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1563
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1567
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.bdj_1));
|
|
1564
1568
|
return Unit_instance;
|
|
1565
1569
|
} else if (tmp === 1) {
|
|
1566
1570
|
throw this.i9_1;
|
|
@@ -1571,34 +1575,34 @@
|
|
|
1571
1575
|
}
|
|
1572
1576
|
while (true);
|
|
1573
1577
|
};
|
|
1574
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1575
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
1576
|
-
i.
|
|
1577
|
-
i.
|
|
1578
|
+
protoOf(GameServer$playerLive$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1579
|
+
var i = new GameServer$playerLive$slambda(this.adj_1, this.bdj_1, completion);
|
|
1580
|
+
i.cdj_1 = $this$dispatchAsync;
|
|
1581
|
+
i.ddj_1 = store;
|
|
1578
1582
|
return i;
|
|
1579
1583
|
};
|
|
1580
1584
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1581
1585
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
1582
1586
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1583
|
-
return i.
|
|
1587
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1584
1588
|
};
|
|
1585
1589
|
l.$arity = 2;
|
|
1586
1590
|
return l;
|
|
1587
1591
|
}
|
|
1588
1592
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
1589
|
-
this.
|
|
1590
|
-
this.
|
|
1593
|
+
this.mdj_1 = this$0;
|
|
1594
|
+
this.ndj_1 = $playerId;
|
|
1591
1595
|
CoroutineImpl.call(this, resultContinuation);
|
|
1592
1596
|
}
|
|
1593
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1594
|
-
var tmp = this.
|
|
1597
|
+
protoOf(GameServer$playerLeft$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1598
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1595
1599
|
tmp.h9_1 = Unit_instance;
|
|
1596
1600
|
tmp.i9_1 = null;
|
|
1597
1601
|
return tmp.n9();
|
|
1598
1602
|
};
|
|
1599
1603
|
protoOf(GameServer$playerLeft$slambda).y9 = function (p1, p2, $completion) {
|
|
1600
1604
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1601
|
-
return this.
|
|
1605
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1602
1606
|
};
|
|
1603
1607
|
protoOf(GameServer$playerLeft$slambda).n9 = function () {
|
|
1604
1608
|
var suspendResult = this.h9_1;
|
|
@@ -1607,13 +1611,13 @@
|
|
|
1607
1611
|
var tmp = this.f9_1;
|
|
1608
1612
|
if (tmp === 0) {
|
|
1609
1613
|
this.g9_1 = 1;
|
|
1610
|
-
if (!get_isCreated(this.
|
|
1611
|
-
_get_logger__rkp4sl(this.
|
|
1614
|
+
if (!get_isCreated(this.pdj_1.state) || !this.mdj_1.y6e().l6x()) {
|
|
1615
|
+
_get_logger__rkp4sl(this.mdj_1).w('GameEngine_API', 'playerLeft: ' + this.ndj_1 + ' called before the game start');
|
|
1612
1616
|
return Unit_instance;
|
|
1613
1617
|
}
|
|
1614
|
-
var tmp_0 = this.
|
|
1618
|
+
var tmp_0 = this.pdj_1.dispatch;
|
|
1615
1619
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1616
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1620
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ndj_1));
|
|
1617
1621
|
return Unit_instance;
|
|
1618
1622
|
} else if (tmp === 1) {
|
|
1619
1623
|
throw this.i9_1;
|
|
@@ -1624,39 +1628,39 @@
|
|
|
1624
1628
|
}
|
|
1625
1629
|
while (true);
|
|
1626
1630
|
};
|
|
1627
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1628
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1629
|
-
i.
|
|
1630
|
-
i.
|
|
1631
|
+
protoOf(GameServer$playerLeft$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1632
|
+
var i = new GameServer$playerLeft$slambda(this.mdj_1, this.ndj_1, completion);
|
|
1633
|
+
i.odj_1 = $this$dispatchAsync;
|
|
1634
|
+
i.pdj_1 = store;
|
|
1631
1635
|
return i;
|
|
1632
1636
|
};
|
|
1633
1637
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1634
1638
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
1635
1639
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1636
|
-
return i.
|
|
1640
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1637
1641
|
};
|
|
1638
1642
|
l.$arity = 2;
|
|
1639
1643
|
return l;
|
|
1640
1644
|
}
|
|
1641
1645
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1642
|
-
this.
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1645
|
-
this.
|
|
1646
|
-
this.
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1646
|
+
this.ydj_1 = $usersArray;
|
|
1647
|
+
this.zdj_1 = $config;
|
|
1648
|
+
this.adk_1 = this$0;
|
|
1649
|
+
this.bdk_1 = $roomId;
|
|
1650
|
+
this.cdk_1 = $transition;
|
|
1651
|
+
this.ddk_1 = $gameCreatorId;
|
|
1652
|
+
this.edk_1 = $spectators;
|
|
1649
1653
|
CoroutineImpl.call(this, resultContinuation);
|
|
1650
1654
|
}
|
|
1651
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1652
|
-
var tmp = this.
|
|
1655
|
+
protoOf(GameServer$roomOnCreate$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1656
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1653
1657
|
tmp.h9_1 = Unit_instance;
|
|
1654
1658
|
tmp.i9_1 = null;
|
|
1655
1659
|
return tmp.n9();
|
|
1656
1660
|
};
|
|
1657
1661
|
protoOf(GameServer$roomOnCreate$slambda).y9 = function (p1, p2, $completion) {
|
|
1658
1662
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1659
|
-
return this.
|
|
1663
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1660
1664
|
};
|
|
1661
1665
|
protoOf(GameServer$roomOnCreate$slambda).n9 = function () {
|
|
1662
1666
|
var suspendResult = this.h9_1;
|
|
@@ -1665,33 +1669,33 @@
|
|
|
1665
1669
|
var tmp = this.f9_1;
|
|
1666
1670
|
if (tmp === 0) {
|
|
1667
1671
|
this.g9_1 = 1;
|
|
1668
|
-
var users = toList(this.
|
|
1669
|
-
if (!(this.
|
|
1670
|
-
_get_logger__rkp4sl(this.
|
|
1671
|
-
this.
|
|
1672
|
+
var users = toList(this.ydj_1);
|
|
1673
|
+
if (!(this.zdj_1.playersMode.count === users.m())) {
|
|
1674
|
+
_get_logger__rkp4sl(this.adk_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.bdk_1 + ', config = ' + this.zdj_1.toString() + ', users = ' + toString(users));
|
|
1675
|
+
this.gdk_1.dispatch(Companion_instance.withAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.adk_1.table.isGameFinished, this.adk_1.table));
|
|
1672
1676
|
return Unit_instance;
|
|
1673
1677
|
}
|
|
1674
1678
|
var tmp_0;
|
|
1675
|
-
if (this.
|
|
1676
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
1679
|
+
if (this.zdj_1.mode.shufflePlayers && this.cdk_1 == null) {
|
|
1680
|
+
tmp_0 = _get_random__h29cgo(this.adk_1).s5z(toMutableList(users));
|
|
1677
1681
|
} else {
|
|
1678
|
-
var tmp0_safe_receiver = this.
|
|
1682
|
+
var tmp0_safe_receiver = this.cdk_1;
|
|
1679
1683
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1680
1684
|
var tmp_1;
|
|
1681
|
-
if (!(previousPlayers == null) && this.
|
|
1682
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1685
|
+
if (!(previousPlayers == null) && this.zdj_1.playersMode.isTeamGame) {
|
|
1686
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.adk_1);
|
|
1683
1687
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1684
1688
|
var tmp0_iterator = previousPlayers.j();
|
|
1685
1689
|
while (tmp0_iterator.k()) {
|
|
1686
1690
|
var item = tmp0_iterator.l();
|
|
1687
1691
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1688
1692
|
}
|
|
1689
|
-
var previousTeams = tmp_2.
|
|
1693
|
+
var previousTeams = tmp_2.i92(destination);
|
|
1690
1694
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1691
1695
|
var tmp0_iterator_0 = users.j();
|
|
1692
1696
|
while (tmp0_iterator_0.k()) {
|
|
1693
1697
|
var element = tmp0_iterator_0.l();
|
|
1694
|
-
if (!previousPlayers.s1(element.
|
|
1698
|
+
if (!previousPlayers.s1(element.o6e_1)) {
|
|
1695
1699
|
destination_0.e(element);
|
|
1696
1700
|
}
|
|
1697
1701
|
}
|
|
@@ -1710,19 +1714,19 @@
|
|
|
1710
1714
|
destination_1.e(destination_2);
|
|
1711
1715
|
}
|
|
1712
1716
|
var updatedTeams = destination_1;
|
|
1713
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1717
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.adk_1).m92(updatedTeams);
|
|
1714
1718
|
} else {
|
|
1715
1719
|
tmp_1 = users;
|
|
1716
1720
|
}
|
|
1717
1721
|
tmp_0 = tmp_1;
|
|
1718
1722
|
}
|
|
1719
1723
|
var updatedUsers = tmp_0;
|
|
1720
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1721
|
-
var tmp_3 = this.
|
|
1724
|
+
var gameCreatorUser = getPlayer(users, this.ddk_1);
|
|
1725
|
+
var tmp_3 = this.gdk_1.dispatch;
|
|
1722
1726
|
var tmp1_version = GameEngineConfig_instance.version;
|
|
1723
1727
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
1724
|
-
var tmp3_spectators = toList(this.
|
|
1725
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1728
|
+
var tmp3_spectators = toList(this.edk_1);
|
|
1729
|
+
tmp_3(new StartGameMechanicAction(this.zdj_1, this.bdk_1, tmp1_version, this.ddk_1, tmp2_users, VOID, tmp3_spectators));
|
|
1726
1730
|
return Unit_instance;
|
|
1727
1731
|
} else if (tmp === 1) {
|
|
1728
1732
|
throw this.i9_1;
|
|
@@ -1733,33 +1737,33 @@
|
|
|
1733
1737
|
}
|
|
1734
1738
|
while (true);
|
|
1735
1739
|
};
|
|
1736
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1737
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1738
|
-
i.
|
|
1739
|
-
i.
|
|
1740
|
+
protoOf(GameServer$roomOnCreate$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1741
|
+
var i = new GameServer$roomOnCreate$slambda(this.ydj_1, this.zdj_1, this.adk_1, this.bdk_1, this.cdk_1, this.ddk_1, this.edk_1, completion);
|
|
1742
|
+
i.fdk_1 = $this$dispatchAsync;
|
|
1743
|
+
i.gdk_1 = store;
|
|
1740
1744
|
return i;
|
|
1741
1745
|
};
|
|
1742
1746
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1743
1747
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
1744
1748
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1745
|
-
return i.
|
|
1749
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1746
1750
|
};
|
|
1747
1751
|
l.$arity = 2;
|
|
1748
1752
|
return l;
|
|
1749
1753
|
}
|
|
1750
1754
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1751
|
-
this.
|
|
1755
|
+
this.pdk_1 = $state;
|
|
1752
1756
|
CoroutineImpl.call(this, resultContinuation);
|
|
1753
1757
|
}
|
|
1754
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1755
|
-
var tmp = this.
|
|
1758
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1759
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1756
1760
|
tmp.h9_1 = Unit_instance;
|
|
1757
1761
|
tmp.i9_1 = null;
|
|
1758
1762
|
return tmp.n9();
|
|
1759
1763
|
};
|
|
1760
1764
|
protoOf(GameServer$roomOnContinueFromState$slambda).y9 = function (p1, p2, $completion) {
|
|
1761
1765
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1762
|
-
return this.
|
|
1766
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1763
1767
|
};
|
|
1764
1768
|
protoOf(GameServer$roomOnContinueFromState$slambda).n9 = function () {
|
|
1765
1769
|
var suspendResult = this.h9_1;
|
|
@@ -1768,9 +1772,9 @@
|
|
|
1768
1772
|
var tmp = this.f9_1;
|
|
1769
1773
|
if (tmp === 0) {
|
|
1770
1774
|
this.g9_1 = 1;
|
|
1771
|
-
var tmp_0 = this.
|
|
1775
|
+
var tmp_0 = this.rdk_1.dispatch;
|
|
1772
1776
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1773
|
-
var tmp1_table = this.
|
|
1777
|
+
var tmp1_table = this.pdk_1.table;
|
|
1774
1778
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1775
1779
|
return Unit_instance;
|
|
1776
1780
|
} else if (tmp === 1) {
|
|
@@ -1782,33 +1786,33 @@
|
|
|
1782
1786
|
}
|
|
1783
1787
|
while (true);
|
|
1784
1788
|
};
|
|
1785
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1786
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1787
|
-
i.
|
|
1788
|
-
i.
|
|
1789
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1790
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.pdk_1, completion);
|
|
1791
|
+
i.qdk_1 = $this$dispatchAsync;
|
|
1792
|
+
i.rdk_1 = store;
|
|
1789
1793
|
return i;
|
|
1790
1794
|
};
|
|
1791
1795
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1792
1796
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1793
1797
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1794
|
-
return i.
|
|
1798
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1795
1799
|
};
|
|
1796
1800
|
l.$arity = 2;
|
|
1797
1801
|
return l;
|
|
1798
1802
|
}
|
|
1799
1803
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1800
|
-
this.
|
|
1804
|
+
this.adl_1 = $state;
|
|
1801
1805
|
CoroutineImpl.call(this, resultContinuation);
|
|
1802
1806
|
}
|
|
1803
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1804
|
-
var tmp = this.
|
|
1807
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1808
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1805
1809
|
tmp.h9_1 = Unit_instance;
|
|
1806
1810
|
tmp.i9_1 = null;
|
|
1807
1811
|
return tmp.n9();
|
|
1808
1812
|
};
|
|
1809
1813
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1810
1814
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1811
|
-
return this.
|
|
1815
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1812
1816
|
};
|
|
1813
1817
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).n9 = function () {
|
|
1814
1818
|
var suspendResult = this.h9_1;
|
|
@@ -1817,10 +1821,10 @@
|
|
|
1817
1821
|
var tmp = this.f9_1;
|
|
1818
1822
|
if (tmp === 0) {
|
|
1819
1823
|
this.g9_1 = 1;
|
|
1820
|
-
var tmp0_iterator = this.
|
|
1824
|
+
var tmp0_iterator = this.adl_1.actions.j();
|
|
1821
1825
|
while (tmp0_iterator.k()) {
|
|
1822
1826
|
var element = tmp0_iterator.l();
|
|
1823
|
-
this.
|
|
1827
|
+
this.cdl_1.dispatch(element);
|
|
1824
1828
|
}
|
|
1825
1829
|
return Unit_instance;
|
|
1826
1830
|
} else if (tmp === 1) {
|
|
@@ -1832,35 +1836,35 @@
|
|
|
1832
1836
|
}
|
|
1833
1837
|
while (true);
|
|
1834
1838
|
};
|
|
1835
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1836
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1837
|
-
i.
|
|
1838
|
-
i.
|
|
1839
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1840
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.adl_1, completion);
|
|
1841
|
+
i.bdl_1 = $this$dispatchAsync;
|
|
1842
|
+
i.cdl_1 = store;
|
|
1839
1843
|
return i;
|
|
1840
1844
|
};
|
|
1841
1845
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1842
1846
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1843
1847
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1844
|
-
return i.
|
|
1848
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1845
1849
|
};
|
|
1846
1850
|
l.$arity = 2;
|
|
1847
1851
|
return l;
|
|
1848
1852
|
}
|
|
1849
1853
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1850
|
-
this.
|
|
1851
|
-
this.
|
|
1852
|
-
this.
|
|
1854
|
+
this.ldl_1 = $tableLite;
|
|
1855
|
+
this.mdl_1 = $roomId;
|
|
1856
|
+
this.ndl_1 = this$0;
|
|
1853
1857
|
CoroutineImpl.call(this, resultContinuation);
|
|
1854
1858
|
}
|
|
1855
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1856
|
-
var tmp = this.
|
|
1859
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1860
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1857
1861
|
tmp.h9_1 = Unit_instance;
|
|
1858
1862
|
tmp.i9_1 = null;
|
|
1859
1863
|
return tmp.n9();
|
|
1860
1864
|
};
|
|
1861
1865
|
protoOf(GameServer$roomOnContinueFromRound$slambda).y9 = function (p1, p2, $completion) {
|
|
1862
1866
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1863
|
-
return this.
|
|
1867
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1864
1868
|
};
|
|
1865
1869
|
protoOf(GameServer$roomOnContinueFromRound$slambda).n9 = function () {
|
|
1866
1870
|
var suspendResult = this.h9_1;
|
|
@@ -1869,9 +1873,9 @@
|
|
|
1869
1873
|
var tmp = this.f9_1;
|
|
1870
1874
|
if (tmp === 0) {
|
|
1871
1875
|
this.g9_1 = 1;
|
|
1872
|
-
var tmp_0 = this.
|
|
1873
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1874
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
1876
|
+
var tmp_0 = this.pdl_1.dispatch;
|
|
1877
|
+
var tmp0_reason = new RestartRoundReason(this.ldl_1.gameInfo.round.roundNumber);
|
|
1878
|
+
var tmp1_table = Companion_instance_0.restartRound(this.mdl_1, _get_idsProvider__fnfajc(this.ndl_1).g6m(), GameEngineConfig_instance.version, this.ldl_1);
|
|
1875
1879
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1876
1880
|
return Unit_instance;
|
|
1877
1881
|
} else if (tmp === 1) {
|
|
@@ -1883,16 +1887,16 @@
|
|
|
1883
1887
|
}
|
|
1884
1888
|
while (true);
|
|
1885
1889
|
};
|
|
1886
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1887
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1888
|
-
i.
|
|
1889
|
-
i.
|
|
1890
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1891
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ldl_1, this.mdl_1, this.ndl_1, completion);
|
|
1892
|
+
i.odl_1 = $this$dispatchAsync;
|
|
1893
|
+
i.pdl_1 = store;
|
|
1890
1894
|
return i;
|
|
1891
1895
|
};
|
|
1892
1896
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1893
1897
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1894
1898
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1895
|
-
return i.
|
|
1899
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1896
1900
|
};
|
|
1897
1901
|
l.$arity = 2;
|
|
1898
1902
|
return l;
|
|
@@ -1900,15 +1904,15 @@
|
|
|
1900
1904
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1901
1905
|
CoroutineImpl.call(this, resultContinuation);
|
|
1902
1906
|
}
|
|
1903
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1904
|
-
var tmp = this.
|
|
1907
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1908
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1905
1909
|
tmp.h9_1 = Unit_instance;
|
|
1906
1910
|
tmp.i9_1 = null;
|
|
1907
1911
|
return tmp.n9();
|
|
1908
1912
|
};
|
|
1909
1913
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1910
1914
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1911
|
-
return this.
|
|
1915
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1912
1916
|
};
|
|
1913
1917
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9 = function () {
|
|
1914
1918
|
var suspendResult = this.h9_1;
|
|
@@ -1917,7 +1921,7 @@
|
|
|
1917
1921
|
var tmp = this.f9_1;
|
|
1918
1922
|
if (tmp === 0) {
|
|
1919
1923
|
this.g9_1 = 1;
|
|
1920
|
-
this.
|
|
1924
|
+
this.zdl_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1921
1925
|
return Unit_instance;
|
|
1922
1926
|
} else if (tmp === 1) {
|
|
1923
1927
|
throw this.i9_1;
|
|
@@ -1928,33 +1932,33 @@
|
|
|
1928
1932
|
}
|
|
1929
1933
|
while (true);
|
|
1930
1934
|
};
|
|
1931
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1935
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1932
1936
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1933
|
-
i.
|
|
1934
|
-
i.
|
|
1937
|
+
i.ydl_1 = $this$dispatchAsync;
|
|
1938
|
+
i.zdl_1 = store;
|
|
1935
1939
|
return i;
|
|
1936
1940
|
};
|
|
1937
1941
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1938
1942
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1939
1943
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1940
|
-
return i.
|
|
1944
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1941
1945
|
};
|
|
1942
1946
|
l.$arity = 2;
|
|
1943
1947
|
return l;
|
|
1944
1948
|
}
|
|
1945
1949
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1946
|
-
this.
|
|
1950
|
+
this.idm_1 = $spectators;
|
|
1947
1951
|
CoroutineImpl.call(this, resultContinuation);
|
|
1948
1952
|
}
|
|
1949
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1950
|
-
var tmp = this.
|
|
1953
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
1954
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1951
1955
|
tmp.h9_1 = Unit_instance;
|
|
1952
1956
|
tmp.i9_1 = null;
|
|
1953
1957
|
return tmp.n9();
|
|
1954
1958
|
};
|
|
1955
1959
|
protoOf(GameServer$addSpectatorsToRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
1956
1960
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1957
|
-
return this.
|
|
1961
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1958
1962
|
};
|
|
1959
1963
|
protoOf(GameServer$addSpectatorsToRoom$slambda).n9 = function () {
|
|
1960
1964
|
var suspendResult = this.h9_1;
|
|
@@ -1963,7 +1967,7 @@
|
|
|
1963
1967
|
var tmp = this.f9_1;
|
|
1964
1968
|
if (tmp === 0) {
|
|
1965
1969
|
this.g9_1 = 1;
|
|
1966
|
-
this.
|
|
1970
|
+
this.kdm_1.dispatch(new AddSpectatorsAction(toList(this.idm_1)));
|
|
1967
1971
|
return Unit_instance;
|
|
1968
1972
|
} else if (tmp === 1) {
|
|
1969
1973
|
throw this.i9_1;
|
|
@@ -1974,33 +1978,33 @@
|
|
|
1974
1978
|
}
|
|
1975
1979
|
while (true);
|
|
1976
1980
|
};
|
|
1977
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1978
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1979
|
-
i.
|
|
1980
|
-
i.
|
|
1981
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
1982
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.idm_1, completion);
|
|
1983
|
+
i.jdm_1 = $this$dispatchAsync;
|
|
1984
|
+
i.kdm_1 = store;
|
|
1981
1985
|
return i;
|
|
1982
1986
|
};
|
|
1983
1987
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1984
1988
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1985
1989
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1986
|
-
return i.
|
|
1990
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
1987
1991
|
};
|
|
1988
1992
|
l.$arity = 2;
|
|
1989
1993
|
return l;
|
|
1990
1994
|
}
|
|
1991
1995
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1992
|
-
this.
|
|
1996
|
+
this.tdm_1 = $spectators;
|
|
1993
1997
|
CoroutineImpl.call(this, resultContinuation);
|
|
1994
1998
|
}
|
|
1995
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1996
|
-
var tmp = this.
|
|
1999
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
2000
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
1997
2001
|
tmp.h9_1 = Unit_instance;
|
|
1998
2002
|
tmp.i9_1 = null;
|
|
1999
2003
|
return tmp.n9();
|
|
2000
2004
|
};
|
|
2001
2005
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
2002
2006
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2003
|
-
return this.
|
|
2007
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2004
2008
|
};
|
|
2005
2009
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).n9 = function () {
|
|
2006
2010
|
var suspendResult = this.h9_1;
|
|
@@ -2009,7 +2013,7 @@
|
|
|
2009
2013
|
var tmp = this.f9_1;
|
|
2010
2014
|
if (tmp === 0) {
|
|
2011
2015
|
this.g9_1 = 1;
|
|
2012
|
-
this.
|
|
2016
|
+
this.vdm_1.dispatch(new RemoveSpectatorsAction(toList(this.tdm_1)));
|
|
2013
2017
|
return Unit_instance;
|
|
2014
2018
|
} else if (tmp === 1) {
|
|
2015
2019
|
throw this.i9_1;
|
|
@@ -2020,34 +2024,34 @@
|
|
|
2020
2024
|
}
|
|
2021
2025
|
while (true);
|
|
2022
2026
|
};
|
|
2023
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2024
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2025
|
-
i.
|
|
2026
|
-
i.
|
|
2027
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
2028
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.tdm_1, completion);
|
|
2029
|
+
i.udm_1 = $this$dispatchAsync;
|
|
2030
|
+
i.vdm_1 = store;
|
|
2027
2031
|
return i;
|
|
2028
2032
|
};
|
|
2029
2033
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2030
2034
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2031
2035
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2032
|
-
return i.
|
|
2036
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
2033
2037
|
};
|
|
2034
2038
|
l.$arity = 2;
|
|
2035
2039
|
return l;
|
|
2036
2040
|
}
|
|
2037
2041
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2038
|
-
this.
|
|
2039
|
-
this.
|
|
2042
|
+
this.edn_1 = $playerId;
|
|
2043
|
+
this.fdn_1 = this$0;
|
|
2040
2044
|
CoroutineImpl.call(this, resultContinuation);
|
|
2041
2045
|
}
|
|
2042
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2043
|
-
var tmp = this.
|
|
2046
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
2047
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
2044
2048
|
tmp.h9_1 = Unit_instance;
|
|
2045
2049
|
tmp.i9_1 = null;
|
|
2046
2050
|
return tmp.n9();
|
|
2047
2051
|
};
|
|
2048
2052
|
protoOf(GameServer$roomRefreshPlayerState$slambda).y9 = function (p1, p2, $completion) {
|
|
2049
2053
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2050
|
-
return this.
|
|
2054
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2051
2055
|
};
|
|
2052
2056
|
protoOf(GameServer$roomRefreshPlayerState$slambda).n9 = function () {
|
|
2053
2057
|
var suspendResult = this.h9_1;
|
|
@@ -2056,14 +2060,14 @@
|
|
|
2056
2060
|
var tmp = this.f9_1;
|
|
2057
2061
|
if (tmp === 0) {
|
|
2058
2062
|
this.g9_1 = 1;
|
|
2059
|
-
var table = this.
|
|
2060
|
-
var player = getPlayer(table.players, this.
|
|
2061
|
-
if (player.
|
|
2062
|
-
this.
|
|
2063
|
+
var table = this.hdn_1.state.k6x();
|
|
2064
|
+
var player = getPlayer(table.players, this.edn_1);
|
|
2065
|
+
if (player.i74_1.b6h().s6f_1.isLive) {
|
|
2066
|
+
this.hdn_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.fdn_1).o99(player, table));
|
|
2063
2067
|
} else {
|
|
2064
|
-
var tmp_0 = this.
|
|
2068
|
+
var tmp_0 = this.hdn_1.dispatch;
|
|
2065
2069
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2066
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2070
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.edn_1));
|
|
2067
2071
|
}
|
|
2068
2072
|
return Unit_instance;
|
|
2069
2073
|
} else if (tmp === 1) {
|
|
@@ -2075,34 +2079,34 @@
|
|
|
2075
2079
|
}
|
|
2076
2080
|
while (true);
|
|
2077
2081
|
};
|
|
2078
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2079
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2080
|
-
i.
|
|
2081
|
-
i.
|
|
2082
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
2083
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.edn_1, this.fdn_1, completion);
|
|
2084
|
+
i.gdn_1 = $this$dispatchAsync;
|
|
2085
|
+
i.hdn_1 = store;
|
|
2082
2086
|
return i;
|
|
2083
2087
|
};
|
|
2084
2088
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2085
2089
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2086
2090
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2087
|
-
return i.
|
|
2091
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
2088
2092
|
};
|
|
2089
2093
|
l.$arity = 2;
|
|
2090
2094
|
return l;
|
|
2091
2095
|
}
|
|
2092
2096
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2097
|
+
this.qdn_1 = this$0;
|
|
2098
|
+
this.rdn_1 = $newRid;
|
|
2095
2099
|
CoroutineImpl.call(this, resultContinuation);
|
|
2096
2100
|
}
|
|
2097
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2098
|
-
var tmp = this.
|
|
2101
|
+
protoOf(GameServer$roomOnDelete$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
2102
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
2099
2103
|
tmp.h9_1 = Unit_instance;
|
|
2100
2104
|
tmp.i9_1 = null;
|
|
2101
2105
|
return tmp.n9();
|
|
2102
2106
|
};
|
|
2103
2107
|
protoOf(GameServer$roomOnDelete$slambda).y9 = function (p1, p2, $completion) {
|
|
2104
2108
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2105
|
-
return this.
|
|
2109
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2106
2110
|
};
|
|
2107
2111
|
protoOf(GameServer$roomOnDelete$slambda).n9 = function () {
|
|
2108
2112
|
var suspendResult = this.h9_1;
|
|
@@ -2111,27 +2115,27 @@
|
|
|
2111
2115
|
var tmp = this.f9_1;
|
|
2112
2116
|
if (tmp === 0) {
|
|
2113
2117
|
this.g9_1 = 1;
|
|
2114
|
-
var it = this.
|
|
2118
|
+
var it = this.qdn_1.y6e().l6w_1;
|
|
2115
2119
|
var tmp_0;
|
|
2116
2120
|
if (it == null) {
|
|
2117
|
-
_get_logger__rkp4sl(this.
|
|
2121
|
+
_get_logger__rkp4sl(this.qdn_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2118
2122
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2119
2123
|
} else {
|
|
2120
2124
|
tmp_0 = it;
|
|
2121
2125
|
}
|
|
2122
2126
|
var terminationState = tmp_0;
|
|
2123
|
-
var gameTransition = terminationState.
|
|
2127
|
+
var gameTransition = terminationState.j8e_1;
|
|
2124
2128
|
var tmp_1;
|
|
2125
2129
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2126
|
-
var tmp0_elvis_lhs = this.
|
|
2130
|
+
var tmp0_elvis_lhs = this.rdn_1;
|
|
2127
2131
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2128
2132
|
} else {
|
|
2129
2133
|
tmp_1 = gameTransition;
|
|
2130
2134
|
}
|
|
2131
2135
|
var transition = tmp_1;
|
|
2132
|
-
var tmp_2 = this.
|
|
2133
|
-
var tmp0_reason = terminationState.
|
|
2134
|
-
var tmp1_isGameFinished = this.
|
|
2136
|
+
var tmp_2 = this.tdn_1.dispatch;
|
|
2137
|
+
var tmp0_reason = terminationState.i8e_1;
|
|
2138
|
+
var tmp1_isGameFinished = this.qdn_1.y6e().k6x().isGameFinished;
|
|
2135
2139
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2136
2140
|
return Unit_instance;
|
|
2137
2141
|
} else if (tmp === 1) {
|
|
@@ -2143,33 +2147,33 @@
|
|
|
2143
2147
|
}
|
|
2144
2148
|
while (true);
|
|
2145
2149
|
};
|
|
2146
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2147
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2148
|
-
i.
|
|
2149
|
-
i.
|
|
2150
|
+
protoOf(GameServer$roomOnDelete$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
2151
|
+
var i = new GameServer$roomOnDelete$slambda(this.qdn_1, this.rdn_1, completion);
|
|
2152
|
+
i.sdn_1 = $this$dispatchAsync;
|
|
2153
|
+
i.tdn_1 = store;
|
|
2150
2154
|
return i;
|
|
2151
2155
|
};
|
|
2152
2156
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2153
2157
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2154
2158
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2155
|
-
return i.
|
|
2159
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
2156
2160
|
};
|
|
2157
2161
|
l.$arity = 2;
|
|
2158
2162
|
return l;
|
|
2159
2163
|
}
|
|
2160
2164
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2161
|
-
this.
|
|
2165
|
+
this.cdo_1 = $enabled;
|
|
2162
2166
|
CoroutineImpl.call(this, resultContinuation);
|
|
2163
2167
|
}
|
|
2164
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2165
|
-
var tmp = this.
|
|
2168
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
2169
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
2166
2170
|
tmp.h9_1 = Unit_instance;
|
|
2167
2171
|
tmp.i9_1 = null;
|
|
2168
2172
|
return tmp.n9();
|
|
2169
2173
|
};
|
|
2170
2174
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).y9 = function (p1, p2, $completion) {
|
|
2171
2175
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2172
|
-
return this.
|
|
2176
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2173
2177
|
};
|
|
2174
2178
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9 = function () {
|
|
2175
2179
|
var suspendResult = this.h9_1;
|
|
@@ -2178,7 +2182,7 @@
|
|
|
2178
2182
|
var tmp = this.f9_1;
|
|
2179
2183
|
if (tmp === 0) {
|
|
2180
2184
|
this.g9_1 = 1;
|
|
2181
|
-
this.
|
|
2185
|
+
this.edo_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.edo_1.state).fdo_1.ido(VOID, this.cdo_1)));
|
|
2182
2186
|
return Unit_instance;
|
|
2183
2187
|
} else if (tmp === 1) {
|
|
2184
2188
|
throw this.i9_1;
|
|
@@ -2189,35 +2193,35 @@
|
|
|
2189
2193
|
}
|
|
2190
2194
|
while (true);
|
|
2191
2195
|
};
|
|
2192
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2193
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2194
|
-
i.
|
|
2195
|
-
i.
|
|
2196
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
2197
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.cdo_1, completion);
|
|
2198
|
+
i.ddo_1 = $this$dispatchAsync;
|
|
2199
|
+
i.edo_1 = store;
|
|
2196
2200
|
return i;
|
|
2197
2201
|
};
|
|
2198
2202
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2199
2203
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2200
2204
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2201
|
-
return i.
|
|
2205
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
2202
2206
|
};
|
|
2203
2207
|
l.$arity = 2;
|
|
2204
2208
|
return l;
|
|
2205
2209
|
}
|
|
2206
2210
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2207
|
-
this.
|
|
2208
|
-
this.
|
|
2209
|
-
this.
|
|
2211
|
+
this.rdo_1 = $reason;
|
|
2212
|
+
this.sdo_1 = this$0;
|
|
2213
|
+
this.tdo_1 = $roomId;
|
|
2210
2214
|
CoroutineImpl.call(this, resultContinuation);
|
|
2211
2215
|
}
|
|
2212
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2213
|
-
var tmp = this.
|
|
2216
|
+
protoOf(GameServer$shutdown$slambda).lb9 = function ($this$dispatchAsync, store, $completion) {
|
|
2217
|
+
var tmp = this.mb9($this$dispatchAsync, store, $completion);
|
|
2214
2218
|
tmp.h9_1 = Unit_instance;
|
|
2215
2219
|
tmp.i9_1 = null;
|
|
2216
2220
|
return tmp.n9();
|
|
2217
2221
|
};
|
|
2218
2222
|
protoOf(GameServer$shutdown$slambda).y9 = function (p1, p2, $completion) {
|
|
2219
2223
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2220
|
-
return this.
|
|
2224
|
+
return this.lb9(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2221
2225
|
};
|
|
2222
2226
|
protoOf(GameServer$shutdown$slambda).n9 = function () {
|
|
2223
2227
|
var suspendResult = this.h9_1;
|
|
@@ -2226,11 +2230,11 @@
|
|
|
2226
2230
|
var tmp = this.f9_1;
|
|
2227
2231
|
if (tmp === 0) {
|
|
2228
2232
|
this.g9_1 = 1;
|
|
2229
|
-
var state = this.
|
|
2230
|
-
if (state.
|
|
2231
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2233
|
+
var state = this.vdo_1.store.state;
|
|
2234
|
+
if (state.l6x()) {
|
|
2235
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.rdo_1, get_serverShutdownReasonMapping());
|
|
2232
2236
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2233
|
-
var tmp_0 = this.
|
|
2237
|
+
var tmp_0 = this.vdo_1.dispatch;
|
|
2234
2238
|
var tmp_1 = Companion_instance;
|
|
2235
2239
|
var tmp_2;
|
|
2236
2240
|
switch (shutdownReason.o2_1) {
|
|
@@ -2244,10 +2248,10 @@
|
|
|
2244
2248
|
noWhenBranchMatchedException();
|
|
2245
2249
|
break;
|
|
2246
2250
|
}
|
|
2247
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
2251
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.sdo_1.table.isGameFinished, this.sdo_1.table));
|
|
2248
2252
|
} else {
|
|
2249
|
-
_get_logger__rkp4sl(this.
|
|
2250
|
-
this.
|
|
2253
|
+
_get_logger__rkp4sl(this.sdo_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.tdo_1);
|
|
2254
|
+
this.vdo_1.dispatch(new ClearAction());
|
|
2251
2255
|
}
|
|
2252
2256
|
return Unit_instance;
|
|
2253
2257
|
} else if (tmp === 1) {
|
|
@@ -2259,22 +2263,22 @@
|
|
|
2259
2263
|
}
|
|
2260
2264
|
while (true);
|
|
2261
2265
|
};
|
|
2262
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2263
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2264
|
-
i.
|
|
2265
|
-
i.
|
|
2266
|
+
protoOf(GameServer$shutdown$slambda).mb9 = function ($this$dispatchAsync, store, completion) {
|
|
2267
|
+
var i = new GameServer$shutdown$slambda(this.rdo_1, this.sdo_1, this.tdo_1, completion);
|
|
2268
|
+
i.udo_1 = $this$dispatchAsync;
|
|
2269
|
+
i.vdo_1 = store;
|
|
2266
2270
|
return i;
|
|
2267
2271
|
};
|
|
2268
2272
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2269
2273
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2270
2274
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2271
|
-
return i.
|
|
2275
|
+
return i.lb9($this$dispatchAsync, store, $completion);
|
|
2272
2276
|
};
|
|
2273
2277
|
l.$arity = 2;
|
|
2274
2278
|
return l;
|
|
2275
2279
|
}
|
|
2276
2280
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
2277
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.
|
|
2281
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.wdo()) : preloadedState;
|
|
2278
2282
|
var tmp;
|
|
2279
2283
|
if (externalReducers === VOID) {
|
|
2280
2284
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -2297,122 +2301,122 @@
|
|
|
2297
2301
|
// Inline function 'org.kodein.type.generic' call
|
|
2298
2302
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2299
2303
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2300
|
-
tmp_1.
|
|
2304
|
+
tmp_1.rdf_1 = Instance(di, tmp$ret$2, null).e67(this, logger$factory());
|
|
2301
2305
|
var tmp_3 = this;
|
|
2302
2306
|
// Inline function 'org.kodein.di.instance' call
|
|
2303
2307
|
// Inline function 'org.kodein.type.generic' call
|
|
2304
2308
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2305
2309
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2306
|
-
tmp_3.
|
|
2310
|
+
tmp_3.sdf_1 = Instance(di, tmp$ret$4, null).e67(this, toClientEventsObserver$factory());
|
|
2307
2311
|
var tmp_5 = this;
|
|
2308
2312
|
// Inline function 'org.kodein.di.instance' call
|
|
2309
2313
|
// Inline function 'org.kodein.type.generic' call
|
|
2310
2314
|
var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
2311
2315
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2312
|
-
tmp_5.
|
|
2316
|
+
tmp_5.tdf_1 = Instance(di, tmp$ret$6, null).e67(this, fromClientEventsObserver$factory());
|
|
2313
2317
|
var tmp_7 = this;
|
|
2314
2318
|
// Inline function 'org.kodein.di.instance' call
|
|
2315
2319
|
// Inline function 'org.kodein.type.generic' call
|
|
2316
2320
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2317
2321
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2318
|
-
tmp_7.
|
|
2322
|
+
tmp_7.udf_1 = Instance(di, tmp$ret$8, null).e67(this, playerConnectionInteractor$factory());
|
|
2319
2323
|
var tmp_9 = this;
|
|
2320
2324
|
// Inline function 'org.kodein.di.instance' call
|
|
2321
2325
|
// Inline function 'org.kodein.type.generic' call
|
|
2322
2326
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
2323
2327
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2324
|
-
tmp_9.
|
|
2328
|
+
tmp_9.vdf_1 = Instance(di, tmp$ret$10, null).e67(this, teamsLogicProvider$factory());
|
|
2325
2329
|
var tmp_11 = this;
|
|
2326
|
-
tmp_11.
|
|
2330
|
+
tmp_11.wdf_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2327
2331
|
var tmp_12 = this;
|
|
2328
2332
|
// Inline function 'org.kodein.di.instance' call
|
|
2329
2333
|
// Inline function 'org.kodein.type.generic' call
|
|
2330
2334
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2331
2335
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2332
|
-
tmp_12.
|
|
2336
|
+
tmp_12.xdf_1 = Instance(di, tmp$ret$12, null).e67(this, idsProvider$factory());
|
|
2333
2337
|
var tmp_14 = this;
|
|
2334
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2335
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2336
|
-
tmp_14.
|
|
2338
|
+
var tmp0_externalMiddlewares = plus(storeContract.u9f(), externalMiddlewares);
|
|
2339
|
+
var tmp1_externalReducers = plus(storeContract.t9f(), externalReducers);
|
|
2340
|
+
tmp_14.ydf_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2337
2341
|
}
|
|
2338
|
-
protoOf(GameServer).
|
|
2339
|
-
return this.
|
|
2342
|
+
protoOf(GameServer).x6v = function () {
|
|
2343
|
+
return this.ydf_1;
|
|
2340
2344
|
};
|
|
2341
|
-
protoOf(GameServer).
|
|
2342
|
-
return this.
|
|
2345
|
+
protoOf(GameServer).l5o = function () {
|
|
2346
|
+
return this.y6e().k6x().id;
|
|
2343
2347
|
};
|
|
2344
|
-
protoOf(GameServer).
|
|
2345
|
-
return this.
|
|
2348
|
+
protoOf(GameServer).k6x = function () {
|
|
2349
|
+
return this.y6e().k6x();
|
|
2346
2350
|
};
|
|
2347
|
-
protoOf(GameServer).
|
|
2348
|
-
return this.
|
|
2351
|
+
protoOf(GameServer).l6x = function () {
|
|
2352
|
+
return this.y6e().l6x();
|
|
2349
2353
|
};
|
|
2350
|
-
protoOf(GameServer).
|
|
2351
|
-
return this.
|
|
2354
|
+
protoOf(GameServer).m6x = function () {
|
|
2355
|
+
return this.y6e().k6w_1;
|
|
2352
2356
|
};
|
|
2353
2357
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
2354
|
-
var tmp = this.
|
|
2355
|
-
tmp.
|
|
2358
|
+
var tmp = this.v6v();
|
|
2359
|
+
tmp.d6l(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
2356
2360
|
};
|
|
2357
2361
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
2358
|
-
var tmp = this.
|
|
2359
|
-
tmp.
|
|
2362
|
+
var tmp = this.v6v();
|
|
2363
|
+
tmp.d6l(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
2360
2364
|
};
|
|
2361
2365
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
2362
|
-
var tmp = this.
|
|
2363
|
-
tmp.
|
|
2366
|
+
var tmp = this.v6v();
|
|
2367
|
+
tmp.d6l(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
2364
2368
|
};
|
|
2365
2369
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2366
2370
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2367
|
-
this.
|
|
2371
|
+
this.ydf_1.j6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2368
2372
|
};
|
|
2369
2373
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2370
2374
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2371
|
-
this.
|
|
2375
|
+
this.ydf_1.j6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2372
2376
|
};
|
|
2373
2377
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2374
2378
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2375
|
-
this.
|
|
2379
|
+
this.ydf_1.j6x(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2376
2380
|
};
|
|
2377
2381
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2378
2382
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2379
|
-
this.
|
|
2383
|
+
this.ydf_1.j6x(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2380
2384
|
};
|
|
2381
|
-
protoOf(GameServer).
|
|
2385
|
+
protoOf(GameServer).xdo = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2382
2386
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2383
|
-
this.
|
|
2387
|
+
this.ydf_1.j6x(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2384
2388
|
};
|
|
2385
2389
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2386
2390
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2387
|
-
this.
|
|
2388
|
-
this.
|
|
2391
|
+
this.ydf_1.j6x(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2392
|
+
this.ydf_1.j6x(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2389
2393
|
};
|
|
2390
2394
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2391
2395
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2392
|
-
this.
|
|
2393
|
-
this.
|
|
2396
|
+
this.ydf_1.j6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2397
|
+
this.ydf_1.j6x(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2394
2398
|
};
|
|
2395
2399
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2396
|
-
this.
|
|
2400
|
+
this.ydf_1.j6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2397
2401
|
};
|
|
2398
2402
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2399
|
-
this.
|
|
2403
|
+
this.ydf_1.j6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2400
2404
|
};
|
|
2401
2405
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2402
2406
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2403
|
-
this.
|
|
2407
|
+
this.ydf_1.j6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2404
2408
|
};
|
|
2405
|
-
protoOf(GameServer).
|
|
2409
|
+
protoOf(GameServer).ydo = function (newRid) {
|
|
2406
2410
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2407
|
-
this.
|
|
2411
|
+
this.ydf_1.j6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2408
2412
|
};
|
|
2409
2413
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2410
2414
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2411
|
-
this.
|
|
2415
|
+
this.ydf_1.j6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2412
2416
|
};
|
|
2413
|
-
protoOf(GameServer).
|
|
2417
|
+
protoOf(GameServer).zdo = function (reason, roomId) {
|
|
2414
2418
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2415
|
-
this.
|
|
2419
|
+
this.ydf_1.j6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2416
2420
|
};
|
|
2417
2421
|
protoOf(GameServer).clear = function () {
|
|
2418
2422
|
return this.a2();
|
|
@@ -2517,7 +2521,7 @@
|
|
|
2517
2521
|
}
|
|
2518
2522
|
function Companion_0() {
|
|
2519
2523
|
}
|
|
2520
|
-
protoOf(Companion_0).
|
|
2524
|
+
protoOf(Companion_0).adp = function (fromRound) {
|
|
2521
2525
|
return new ServerConfig(fromRound, true);
|
|
2522
2526
|
};
|
|
2523
2527
|
var Companion_instance_8;
|
|
@@ -2525,23 +2529,23 @@
|
|
|
2525
2529
|
return Companion_instance_8;
|
|
2526
2530
|
}
|
|
2527
2531
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
2528
|
-
this.
|
|
2529
|
-
this.
|
|
2532
|
+
this.gdo_1 = fromRound;
|
|
2533
|
+
this.hdo_1 = canStartNewGame;
|
|
2530
2534
|
}
|
|
2531
|
-
protoOf(ServerConfig).
|
|
2535
|
+
protoOf(ServerConfig).bdp = function (fromRound, canStartNewGame) {
|
|
2532
2536
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
2533
2537
|
};
|
|
2534
|
-
protoOf(ServerConfig).
|
|
2535
|
-
fromRound = fromRound === VOID ? this.
|
|
2536
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
2537
|
-
return $super === VOID ? this.
|
|
2538
|
+
protoOf(ServerConfig).ido = function (fromRound, canStartNewGame, $super) {
|
|
2539
|
+
fromRound = fromRound === VOID ? this.gdo_1 : fromRound;
|
|
2540
|
+
canStartNewGame = canStartNewGame === VOID ? this.hdo_1 : canStartNewGame;
|
|
2541
|
+
return $super === VOID ? this.bdp(fromRound, canStartNewGame) : $super.bdp.call(this, fromRound, canStartNewGame);
|
|
2538
2542
|
};
|
|
2539
2543
|
protoOf(ServerConfig).toString = function () {
|
|
2540
|
-
return 'ServerConfig(fromRound=' + this.
|
|
2544
|
+
return 'ServerConfig(fromRound=' + this.gdo_1 + ', canStartNewGame=' + this.hdo_1 + ')';
|
|
2541
2545
|
};
|
|
2542
2546
|
protoOf(ServerConfig).hashCode = function () {
|
|
2543
|
-
var result = this.
|
|
2544
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2547
|
+
var result = this.gdo_1 == null ? 0 : this.gdo_1;
|
|
2548
|
+
result = imul(result, 31) + getBooleanHashCode(this.hdo_1) | 0;
|
|
2545
2549
|
return result;
|
|
2546
2550
|
};
|
|
2547
2551
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -2550,9 +2554,9 @@
|
|
|
2550
2554
|
if (!(other instanceof ServerConfig))
|
|
2551
2555
|
return false;
|
|
2552
2556
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
2553
|
-
if (!(this.
|
|
2557
|
+
if (!(this.gdo_1 == tmp0_other_with_cast.gdo_1))
|
|
2554
2558
|
return false;
|
|
2555
|
-
if (!(this.
|
|
2559
|
+
if (!(this.hdo_1 === tmp0_other_with_cast.hdo_1))
|
|
2556
2560
|
return false;
|
|
2557
2561
|
return true;
|
|
2558
2562
|
};
|
|
@@ -2561,18 +2565,18 @@
|
|
|
2561
2565
|
function TableStateUpdate(table) {
|
|
2562
2566
|
this.table = table;
|
|
2563
2567
|
}
|
|
2564
|
-
protoOf(TableStateUpdate).
|
|
2568
|
+
protoOf(TableStateUpdate).k6x = function () {
|
|
2565
2569
|
return this.table;
|
|
2566
2570
|
};
|
|
2567
2571
|
protoOf(TableStateUpdate).qe = function () {
|
|
2568
2572
|
return this.table;
|
|
2569
2573
|
};
|
|
2570
|
-
protoOf(TableStateUpdate).
|
|
2574
|
+
protoOf(TableStateUpdate).cdp = function (table) {
|
|
2571
2575
|
return new TableStateUpdate(table);
|
|
2572
2576
|
};
|
|
2573
2577
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
2574
2578
|
table = table === VOID ? this.table : table;
|
|
2575
|
-
return this.
|
|
2579
|
+
return this.cdp(table);
|
|
2576
2580
|
};
|
|
2577
2581
|
protoOf(TableStateUpdate).toString = function () {
|
|
2578
2582
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2593,18 +2597,18 @@
|
|
|
2593
2597
|
function ActionsStateUpdate(actions) {
|
|
2594
2598
|
this.actions = actions;
|
|
2595
2599
|
}
|
|
2596
|
-
protoOf(ActionsStateUpdate).
|
|
2600
|
+
protoOf(ActionsStateUpdate).b8v = function () {
|
|
2597
2601
|
return this.actions;
|
|
2598
2602
|
};
|
|
2599
2603
|
protoOf(ActionsStateUpdate).qe = function () {
|
|
2600
2604
|
return this.actions;
|
|
2601
2605
|
};
|
|
2602
|
-
protoOf(ActionsStateUpdate).
|
|
2606
|
+
protoOf(ActionsStateUpdate).ddp = function (actions) {
|
|
2603
2607
|
return new ActionsStateUpdate(actions);
|
|
2604
2608
|
};
|
|
2605
2609
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2606
2610
|
actions = actions === VOID ? this.actions : actions;
|
|
2607
|
-
return this.
|
|
2611
|
+
return this.ddp(actions);
|
|
2608
2612
|
};
|
|
2609
2613
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2610
2614
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2636,27 +2640,27 @@
|
|
|
2636
2640
|
};
|
|
2637
2641
|
}
|
|
2638
2642
|
function createGameServerDI$lambda$lambda_0($this$singleton) {
|
|
2639
|
-
return new ServerGameStoreContract($this$singleton.
|
|
2643
|
+
return new ServerGameStoreContract($this$singleton.t61());
|
|
2640
2644
|
}
|
|
2641
2645
|
function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
|
|
2642
2646
|
return function ($this$singleton) {
|
|
2643
|
-
var tmp = $this$singleton.
|
|
2647
|
+
var tmp = $this$singleton.t61();
|
|
2644
2648
|
// Inline function 'org.kodein.di.instance' call
|
|
2645
|
-
var tmp_0 = $this$singleton.
|
|
2649
|
+
var tmp_0 = $this$singleton.w62();
|
|
2646
2650
|
// Inline function 'org.kodein.type.generic' call
|
|
2647
2651
|
var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2648
2652
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
2649
|
-
var tmp$ret$1 = tmp_0.
|
|
2653
|
+
var tmp$ret$1 = tmp_0.v62(tmp$ret$0, null);
|
|
2650
2654
|
return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
|
|
2651
2655
|
};
|
|
2652
2656
|
}
|
|
2653
2657
|
function createGameServerDI$lambda$lambda_2($this$provider) {
|
|
2654
2658
|
// Inline function 'org.kodein.di.instance' call
|
|
2655
|
-
var tmp = $this$provider.
|
|
2659
|
+
var tmp = $this$provider.w62();
|
|
2656
2660
|
// Inline function 'org.kodein.type.generic' call
|
|
2657
2661
|
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2658
2662
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2659
|
-
return tmp.
|
|
2663
|
+
return tmp.v62(tmp$ret$0, null);
|
|
2660
2664
|
}
|
|
2661
2665
|
function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
2662
2666
|
return function ($this$Module) {
|
|
@@ -2664,184 +2668,184 @@
|
|
|
2664
2668
|
// Inline function 'org.kodein.type.generic' call
|
|
2665
2669
|
var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2666
2670
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2667
|
-
var tmp_0 = $this$Module.
|
|
2671
|
+
var tmp_0 = $this$Module.j61(tmp$ret$0, null, null);
|
|
2668
2672
|
// Inline function 'org.kodein.di.singleton' call
|
|
2669
2673
|
var creator = createGameServerDI$lambda$lambda($serverConfig);
|
|
2670
|
-
var tmp_1 = $this$Module.
|
|
2671
|
-
var tmp_2 = $this$Module.
|
|
2672
|
-
var tmp_3 = $this$Module.
|
|
2674
|
+
var tmp_1 = $this$Module.o61();
|
|
2675
|
+
var tmp_2 = $this$Module.m61();
|
|
2676
|
+
var tmp_3 = $this$Module.n61();
|
|
2673
2677
|
// Inline function 'org.kodein.type.generic' call
|
|
2674
2678
|
var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2675
2679
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2676
2680
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
2677
|
-
tmp_0.
|
|
2678
|
-
$this$Module.
|
|
2681
|
+
tmp_0.h65(tmp$ret$3);
|
|
2682
|
+
$this$Module.l61(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
|
|
2679
2683
|
// Inline function 'org.kodein.di.bind' call
|
|
2680
2684
|
// Inline function 'org.kodein.type.generic' call
|
|
2681
2685
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
2682
2686
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
2683
|
-
var tmp_6 = $this$Module.
|
|
2687
|
+
var tmp_6 = $this$Module.j61(tmp$ret$4, null, null);
|
|
2684
2688
|
// Inline function 'org.kodein.di.singleton' call
|
|
2685
2689
|
var creator_0 = createGameServerDI$lambda$lambda_0;
|
|
2686
|
-
var tmp_7 = $this$Module.
|
|
2687
|
-
var tmp_8 = $this$Module.
|
|
2688
|
-
var tmp_9 = $this$Module.
|
|
2690
|
+
var tmp_7 = $this$Module.o61();
|
|
2691
|
+
var tmp_8 = $this$Module.m61();
|
|
2692
|
+
var tmp_9 = $this$Module.n61();
|
|
2689
2693
|
// Inline function 'org.kodein.type.generic' call
|
|
2690
2694
|
var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
|
|
2691
2695
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2692
2696
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
2693
|
-
tmp_6.
|
|
2697
|
+
tmp_6.h65(tmp$ret$7);
|
|
2694
2698
|
// Inline function 'org.kodein.di.bind' call
|
|
2695
2699
|
// Inline function 'org.kodein.type.generic' call
|
|
2696
2700
|
var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2697
2701
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
2698
|
-
var tmp_12 = $this$Module.
|
|
2702
|
+
var tmp_12 = $this$Module.j61(tmp$ret$8, null, null);
|
|
2699
2703
|
// Inline function 'org.kodein.di.singleton' call
|
|
2700
2704
|
var creator_1 = createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares);
|
|
2701
|
-
var tmp_13 = $this$Module.
|
|
2702
|
-
var tmp_14 = $this$Module.
|
|
2703
|
-
var tmp_15 = $this$Module.
|
|
2705
|
+
var tmp_13 = $this$Module.o61();
|
|
2706
|
+
var tmp_14 = $this$Module.m61();
|
|
2707
|
+
var tmp_15 = $this$Module.n61();
|
|
2704
2708
|
// Inline function 'org.kodein.type.generic' call
|
|
2705
2709
|
var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2706
2710
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2707
2711
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
2708
|
-
tmp_12.
|
|
2712
|
+
tmp_12.h65(tmp$ret$11);
|
|
2709
2713
|
// Inline function 'org.kodein.di.bind' call
|
|
2710
2714
|
// Inline function 'org.kodein.type.generic' call
|
|
2711
2715
|
var tmp_17 = typeToken(createKType(getKClass(StateProvider), arrayOf([]), false));
|
|
2712
2716
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
2713
|
-
var tmp_18 = $this$Module.
|
|
2717
|
+
var tmp_18 = $this$Module.j61(tmp$ret$12, null, null);
|
|
2714
2718
|
// Inline function 'org.kodein.di.provider' call
|
|
2715
2719
|
var creator_2 = createGameServerDI$lambda$lambda_2;
|
|
2716
|
-
var tmp_19 = $this$Module.
|
|
2720
|
+
var tmp_19 = $this$Module.m61();
|
|
2717
2721
|
// Inline function 'org.kodein.type.generic' call
|
|
2718
2722
|
var tmp_20 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
2719
2723
|
var tmp$ret$14 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
2720
2724
|
var tmp$ret$15 = new Provider(tmp_19, tmp$ret$14, creator_2);
|
|
2721
|
-
tmp_18.
|
|
2725
|
+
tmp_18.h65(tmp$ret$15);
|
|
2722
2726
|
return Unit_instance;
|
|
2723
2727
|
};
|
|
2724
2728
|
}
|
|
2725
2729
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
2726
2730
|
// Inline function 'org.kodein.di.instance' call
|
|
2727
|
-
var tmp = $this$provider.
|
|
2731
|
+
var tmp = $this$provider.w62();
|
|
2728
2732
|
// Inline function 'org.kodein.type.generic' call
|
|
2729
2733
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2730
2734
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2731
|
-
var tmp_1 = tmp.
|
|
2735
|
+
var tmp_1 = tmp.v62(tmp$ret$0, null);
|
|
2732
2736
|
// Inline function 'org.kodein.di.instance' call
|
|
2733
|
-
var tmp_2 = $this$provider.
|
|
2737
|
+
var tmp_2 = $this$provider.w62();
|
|
2734
2738
|
// Inline function 'org.kodein.type.generic' call
|
|
2735
2739
|
var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
2736
2740
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2737
|
-
var tmp_4 = tmp_2.
|
|
2741
|
+
var tmp_4 = tmp_2.v62(tmp$ret$2, null);
|
|
2738
2742
|
// Inline function 'org.kodein.di.instance' call
|
|
2739
|
-
var tmp_5 = $this$provider.
|
|
2743
|
+
var tmp_5 = $this$provider.w62();
|
|
2740
2744
|
// Inline function 'org.kodein.type.generic' call
|
|
2741
2745
|
var tmp_6 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
2742
2746
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2743
|
-
var tmp$ret$5 = tmp_5.
|
|
2747
|
+
var tmp$ret$5 = tmp_5.v62(tmp$ret$4, null);
|
|
2744
2748
|
return new ServerMechanicLifecycleReducer(tmp_1, tmp_4, tmp$ret$5);
|
|
2745
2749
|
}
|
|
2746
2750
|
function getServerEngineGameDI$lambda$lambda_0($this$provider) {
|
|
2747
2751
|
// Inline function 'org.kodein.di.instance' call
|
|
2748
|
-
var tmp = $this$provider.
|
|
2752
|
+
var tmp = $this$provider.w62();
|
|
2749
2753
|
// Inline function 'org.kodein.type.generic' call
|
|
2750
2754
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2751
2755
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2752
|
-
var tmp0_serverConfig = tmp.
|
|
2756
|
+
var tmp0_serverConfig = tmp.v62(tmp$ret$0, null);
|
|
2753
2757
|
// Inline function 'org.kodein.di.instance' call
|
|
2754
|
-
var tmp_1 = $this$provider.
|
|
2758
|
+
var tmp_1 = $this$provider.w62();
|
|
2755
2759
|
// Inline function 'org.kodein.type.generic' call
|
|
2756
2760
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2757
2761
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2758
|
-
var tmp1_logger = tmp_1.
|
|
2762
|
+
var tmp1_logger = tmp_1.v62(tmp$ret$2, null);
|
|
2759
2763
|
// Inline function 'org.kodein.di.instance' call
|
|
2760
|
-
var tmp_3 = $this$provider.
|
|
2764
|
+
var tmp_3 = $this$provider.w62();
|
|
2761
2765
|
// Inline function 'org.kodein.type.generic' call
|
|
2762
2766
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
2763
2767
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2764
|
-
var tmp2_playerTurnMechanicReducer = tmp_3.
|
|
2768
|
+
var tmp2_playerTurnMechanicReducer = tmp_3.v62(tmp$ret$4, null);
|
|
2765
2769
|
// Inline function 'org.kodein.di.instance' call
|
|
2766
|
-
var tmp_5 = $this$provider.
|
|
2770
|
+
var tmp_5 = $this$provider.w62();
|
|
2767
2771
|
// Inline function 'org.kodein.type.generic' call
|
|
2768
2772
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2769
2773
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2770
|
-
var tmp3_idsProvider = tmp_5.
|
|
2774
|
+
var tmp3_idsProvider = tmp_5.v62(tmp$ret$6, null);
|
|
2771
2775
|
// Inline function 'org.kodein.di.instance' call
|
|
2772
|
-
var tmp_7 = $this$provider.
|
|
2776
|
+
var tmp_7 = $this$provider.w62();
|
|
2773
2777
|
// Inline function 'org.kodein.type.generic' call
|
|
2774
2778
|
var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2775
2779
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2776
|
-
var tmp4_engineLogicConfig = tmp_7.
|
|
2780
|
+
var tmp4_engineLogicConfig = tmp_7.v62(tmp$ret$8, null);
|
|
2777
2781
|
return new PlayerConnectionInteractor(tmp0_serverConfig, tmp4_engineLogicConfig, tmp1_logger, tmp2_playerTurnMechanicReducer, tmp3_idsProvider);
|
|
2778
2782
|
}
|
|
2779
2783
|
function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
|
|
2780
2784
|
// Inline function 'org.kodein.di.instance' call
|
|
2781
|
-
var tmp = $this$singleton.
|
|
2785
|
+
var tmp = $this$singleton.w62();
|
|
2782
2786
|
// Inline function 'org.kodein.type.generic' call
|
|
2783
2787
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2784
2788
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2785
|
-
var tmp_1 = tmp.
|
|
2789
|
+
var tmp_1 = tmp.v62(tmp$ret$0, null);
|
|
2786
2790
|
// Inline function 'org.kodein.di.instance' call
|
|
2787
|
-
var tmp_2 = $this$singleton.
|
|
2791
|
+
var tmp_2 = $this$singleton.w62();
|
|
2788
2792
|
// Inline function 'org.kodein.type.generic' call
|
|
2789
2793
|
var tmp_3 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2790
2794
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2791
|
-
var tmp_4 = tmp_2.
|
|
2795
|
+
var tmp_4 = tmp_2.v62(tmp$ret$2, null);
|
|
2792
2796
|
// Inline function 'org.kodein.di.instance' call
|
|
2793
|
-
var tmp_5 = $this$singleton.
|
|
2797
|
+
var tmp_5 = $this$singleton.w62();
|
|
2794
2798
|
// Inline function 'org.kodein.type.generic' call
|
|
2795
2799
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2796
2800
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2797
|
-
var tmp$ret$5 = tmp_5.
|
|
2801
|
+
var tmp$ret$5 = tmp_5.v62(tmp$ret$4, null);
|
|
2798
2802
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
2799
2803
|
}
|
|
2800
2804
|
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig) {
|
|
2801
2805
|
return function ($this$Module) {
|
|
2802
|
-
$this$Module.
|
|
2803
|
-
$this$Module.
|
|
2806
|
+
$this$Module.l61(jsonModule(emptyList()));
|
|
2807
|
+
$this$Module.l61(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
|
|
2804
2808
|
// Inline function 'org.kodein.di.bind' call
|
|
2805
2809
|
// Inline function 'org.kodein.type.generic' call
|
|
2806
2810
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
2807
2811
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2808
|
-
var tmp_0 = $this$Module.
|
|
2812
|
+
var tmp_0 = $this$Module.j61(tmp$ret$0, null, null);
|
|
2809
2813
|
// Inline function 'org.kodein.di.provider' call
|
|
2810
2814
|
var creator = getServerEngineGameDI$lambda$lambda;
|
|
2811
|
-
var tmp_1 = $this$Module.
|
|
2815
|
+
var tmp_1 = $this$Module.m61();
|
|
2812
2816
|
// Inline function 'org.kodein.type.generic' call
|
|
2813
2817
|
var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
|
|
2814
2818
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2815
2819
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
2816
|
-
tmp_0.
|
|
2820
|
+
tmp_0.h65(tmp$ret$3);
|
|
2817
2821
|
// Inline function 'org.kodein.di.bind' call
|
|
2818
2822
|
// Inline function 'org.kodein.type.generic' call
|
|
2819
2823
|
var tmp_3 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2820
2824
|
var tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
2821
|
-
var tmp_4 = $this$Module.
|
|
2825
|
+
var tmp_4 = $this$Module.j61(tmp$ret$4, null, null);
|
|
2822
2826
|
// Inline function 'org.kodein.di.provider' call
|
|
2823
2827
|
var creator_0 = getServerEngineGameDI$lambda$lambda_0;
|
|
2824
|
-
var tmp_5 = $this$Module.
|
|
2828
|
+
var tmp_5 = $this$Module.m61();
|
|
2825
2829
|
// Inline function 'org.kodein.type.generic' call
|
|
2826
2830
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2827
2831
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2828
2832
|
var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
|
|
2829
|
-
tmp_4.
|
|
2833
|
+
tmp_4.h65(tmp$ret$7);
|
|
2830
2834
|
// Inline function 'org.kodein.di.bind' call
|
|
2831
2835
|
// Inline function 'org.kodein.type.generic' call
|
|
2832
2836
|
var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2833
2837
|
var tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
2834
|
-
var tmp_8 = $this$Module.
|
|
2838
|
+
var tmp_8 = $this$Module.j61(tmp$ret$8, null, null);
|
|
2835
2839
|
// Inline function 'org.kodein.di.singleton' call
|
|
2836
2840
|
var creator_1 = getServerEngineGameDI$lambda$lambda_1;
|
|
2837
|
-
var tmp_9 = $this$Module.
|
|
2838
|
-
var tmp_10 = $this$Module.
|
|
2839
|
-
var tmp_11 = $this$Module.
|
|
2841
|
+
var tmp_9 = $this$Module.o61();
|
|
2842
|
+
var tmp_10 = $this$Module.m61();
|
|
2843
|
+
var tmp_11 = $this$Module.n61();
|
|
2840
2844
|
// Inline function 'org.kodein.type.generic' call
|
|
2841
2845
|
var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
|
|
2842
2846
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2843
2847
|
var tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, creator_1);
|
|
2844
|
-
tmp_8.
|
|
2848
|
+
tmp_8.h65(tmp$ret$11);
|
|
2845
2849
|
return Unit_instance;
|
|
2846
2850
|
};
|
|
2847
2851
|
}
|
|
@@ -2850,18 +2854,18 @@
|
|
|
2850
2854
|
function ToClientEventsObserver() {
|
|
2851
2855
|
}
|
|
2852
2856
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2853
|
-
this.
|
|
2854
|
-
this.
|
|
2857
|
+
this.ndp_1 = this$0;
|
|
2858
|
+
this.odp_1 = $actions;
|
|
2855
2859
|
CoroutineImpl.call(this, resultContinuation);
|
|
2856
2860
|
}
|
|
2857
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2858
|
-
var tmp = this.
|
|
2861
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).vdp = function ($this$flow, $completion) {
|
|
2862
|
+
var tmp = this.wdp($this$flow, $completion);
|
|
2859
2863
|
tmp.h9_1 = Unit_instance;
|
|
2860
2864
|
tmp.i9_1 = null;
|
|
2861
2865
|
return tmp.n9();
|
|
2862
2866
|
};
|
|
2863
2867
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).x9 = function (p1, $completion) {
|
|
2864
|
-
return this.
|
|
2868
|
+
return this.vdp((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2865
2869
|
};
|
|
2866
2870
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).n9 = function () {
|
|
2867
2871
|
var suspendResult = this.h9_1;
|
|
@@ -2872,23 +2876,23 @@
|
|
|
2872
2876
|
case 0:
|
|
2873
2877
|
this.g9_1 = 4;
|
|
2874
2878
|
var tmp_0 = this;
|
|
2875
|
-
tmp_0.
|
|
2879
|
+
tmp_0.qdp_1 = this.ndp_1.bdq_1;
|
|
2876
2880
|
var tmp_1 = this;
|
|
2877
|
-
tmp_1.
|
|
2878
|
-
this.
|
|
2881
|
+
tmp_1.rdp_1 = transformToEmits(this.ndp_1, this.odp_1);
|
|
2882
|
+
this.sdp_1 = this.rdp_1.j();
|
|
2879
2883
|
this.f9_1 = 1;
|
|
2880
2884
|
continue $sm;
|
|
2881
2885
|
case 1:
|
|
2882
|
-
if (!this.
|
|
2886
|
+
if (!this.sdp_1.k()) {
|
|
2883
2887
|
this.f9_1 = 3;
|
|
2884
2888
|
continue $sm;
|
|
2885
2889
|
}
|
|
2886
2890
|
|
|
2887
|
-
this.
|
|
2891
|
+
this.tdp_1 = this.sdp_1.l();
|
|
2888
2892
|
var tmp_2 = this;
|
|
2889
|
-
tmp_2.
|
|
2893
|
+
tmp_2.udp_1 = this.tdp_1;
|
|
2890
2894
|
this.f9_1 = 2;
|
|
2891
|
-
suspendResult = this.
|
|
2895
|
+
suspendResult = this.pdp_1.d18(this.udp_1, this);
|
|
2892
2896
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2893
2897
|
return suspendResult;
|
|
2894
2898
|
}
|
|
@@ -2899,10 +2903,10 @@
|
|
|
2899
2903
|
continue $sm;
|
|
2900
2904
|
case 3:
|
|
2901
2905
|
l$ret$1: do {
|
|
2902
|
-
var this_0 = this.
|
|
2906
|
+
var this_0 = this.ndp_1.adq_1;
|
|
2903
2907
|
while (true) {
|
|
2904
2908
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2905
|
-
var upd = cur - this.
|
|
2909
|
+
var upd = cur - this.odp_1.m() | 0;
|
|
2906
2910
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2907
2911
|
break l$ret$1;
|
|
2908
2912
|
}
|
|
@@ -2924,15 +2928,15 @@
|
|
|
2924
2928
|
}
|
|
2925
2929
|
while (true);
|
|
2926
2930
|
};
|
|
2927
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2928
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2929
|
-
i.
|
|
2931
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).wdp = function ($this$flow, completion) {
|
|
2932
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.ndp_1, this.odp_1, completion);
|
|
2933
|
+
i.pdp_1 = $this$flow;
|
|
2930
2934
|
return i;
|
|
2931
2935
|
};
|
|
2932
2936
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2933
2937
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2934
2938
|
var l = function ($this$flow, $completion) {
|
|
2935
|
-
return i.
|
|
2939
|
+
return i.vdp($this$flow, $completion);
|
|
2936
2940
|
};
|
|
2937
2941
|
l.$arity = 1;
|
|
2938
2942
|
return l;
|
|
@@ -3005,29 +3009,29 @@
|
|
|
3005
3009
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3006
3010
|
}
|
|
3007
3011
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3008
|
-
var tmp = $this.
|
|
3012
|
+
var tmp = $this.zdp_1.g6m();
|
|
3009
3013
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3010
|
-
var this_0 = _this__u8e3s4.
|
|
3014
|
+
var this_0 = _this__u8e3s4.edq_1;
|
|
3011
3015
|
var tmp_0 = copyToArray(this_0);
|
|
3012
3016
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3013
|
-
var this_1 = _this__u8e3s4.
|
|
3017
|
+
var this_1 = _this__u8e3s4.fdq_1;
|
|
3014
3018
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3015
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3019
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ddq_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.gdq_1);
|
|
3016
3020
|
}
|
|
3017
3021
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3018
|
-
this.
|
|
3019
|
-
this.
|
|
3020
|
-
this.
|
|
3021
|
-
this.
|
|
3022
|
+
this.ddq_1 = tableId;
|
|
3023
|
+
this.edq_1 = includePlayers;
|
|
3024
|
+
this.fdq_1 = excludePlayers;
|
|
3025
|
+
this.gdq_1 = deliveryType;
|
|
3022
3026
|
}
|
|
3023
3027
|
protoOf(GroupKey).toString = function () {
|
|
3024
|
-
return 'GroupKey(tableId=' + this.
|
|
3028
|
+
return 'GroupKey(tableId=' + this.ddq_1 + ', includePlayers=' + toString(this.edq_1) + ', excludePlayers=' + toString(this.fdq_1) + ', deliveryType=' + this.gdq_1.toString() + ')';
|
|
3025
3029
|
};
|
|
3026
3030
|
protoOf(GroupKey).hashCode = function () {
|
|
3027
|
-
var result = getStringHashCode(this.
|
|
3028
|
-
result = imul(result, 31) + hashCode(this.
|
|
3029
|
-
result = imul(result, 31) + hashCode(this.
|
|
3030
|
-
result = imul(result, 31) + this.
|
|
3031
|
+
var result = getStringHashCode(this.ddq_1);
|
|
3032
|
+
result = imul(result, 31) + hashCode(this.edq_1) | 0;
|
|
3033
|
+
result = imul(result, 31) + hashCode(this.fdq_1) | 0;
|
|
3034
|
+
result = imul(result, 31) + this.gdq_1.hashCode() | 0;
|
|
3031
3035
|
return result;
|
|
3032
3036
|
};
|
|
3033
3037
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3036,35 +3040,35 @@
|
|
|
3036
3040
|
if (!(other instanceof GroupKey))
|
|
3037
3041
|
return false;
|
|
3038
3042
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3039
|
-
if (!(this.
|
|
3043
|
+
if (!(this.ddq_1 === tmp0_other_with_cast.ddq_1))
|
|
3040
3044
|
return false;
|
|
3041
|
-
if (!equals(this.
|
|
3045
|
+
if (!equals(this.edq_1, tmp0_other_with_cast.edq_1))
|
|
3042
3046
|
return false;
|
|
3043
|
-
if (!equals(this.
|
|
3047
|
+
if (!equals(this.fdq_1, tmp0_other_with_cast.fdq_1))
|
|
3044
3048
|
return false;
|
|
3045
|
-
if (!this.
|
|
3049
|
+
if (!this.gdq_1.equals(tmp0_other_with_cast.gdq_1))
|
|
3046
3050
|
return false;
|
|
3047
3051
|
return true;
|
|
3048
3052
|
};
|
|
3049
3053
|
function Companion_1() {
|
|
3050
|
-
this.
|
|
3054
|
+
this.hdq_1 = 6;
|
|
3051
3055
|
}
|
|
3052
3056
|
var Companion_instance_9;
|
|
3053
3057
|
function Companion_getInstance_2() {
|
|
3054
3058
|
return Companion_instance_9;
|
|
3055
3059
|
}
|
|
3056
3060
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3057
|
-
this.
|
|
3061
|
+
this.qdq_1 = this$0;
|
|
3058
3062
|
CoroutineImpl.call(this, resultContinuation);
|
|
3059
3063
|
}
|
|
3060
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3061
|
-
var tmp = this.
|
|
3064
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).sdq = function (actions, $completion) {
|
|
3065
|
+
var tmp = this.tdq(actions, $completion);
|
|
3062
3066
|
tmp.h9_1 = Unit_instance;
|
|
3063
3067
|
tmp.i9_1 = null;
|
|
3064
3068
|
return tmp.n9();
|
|
3065
3069
|
};
|
|
3066
3070
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).x9 = function (p1, $completion) {
|
|
3067
|
-
return this.
|
|
3071
|
+
return this.sdq((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3068
3072
|
};
|
|
3069
3073
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9 = function () {
|
|
3070
3074
|
var suspendResult = this.h9_1;
|
|
@@ -3073,7 +3077,7 @@
|
|
|
3073
3077
|
var tmp = this.f9_1;
|
|
3074
3078
|
if (tmp === 0) {
|
|
3075
3079
|
this.g9_1 = 1;
|
|
3076
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3080
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.qdq_1, this.rdq_1, null));
|
|
3077
3081
|
} else if (tmp === 1) {
|
|
3078
3082
|
throw this.i9_1;
|
|
3079
3083
|
}
|
|
@@ -3083,23 +3087,23 @@
|
|
|
3083
3087
|
}
|
|
3084
3088
|
while (true);
|
|
3085
3089
|
};
|
|
3086
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3087
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3088
|
-
i.
|
|
3090
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).tdq = function (actions, completion) {
|
|
3091
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.qdq_1, completion);
|
|
3092
|
+
i.rdq_1 = actions;
|
|
3089
3093
|
return i;
|
|
3090
3094
|
};
|
|
3091
3095
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3092
3096
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3093
3097
|
var l = function (actions, $completion) {
|
|
3094
|
-
return i.
|
|
3098
|
+
return i.sdq(actions, $completion);
|
|
3095
3099
|
};
|
|
3096
3100
|
l.$arity = 1;
|
|
3097
3101
|
return l;
|
|
3098
3102
|
}
|
|
3099
3103
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3100
3104
|
CoroutineImpl.call(this, resultContinuation);
|
|
3101
|
-
this.
|
|
3102
|
-
this.
|
|
3105
|
+
this.cdr_1 = _this__u8e3s4;
|
|
3106
|
+
this.ddr_1 = fromEvent;
|
|
3103
3107
|
}
|
|
3104
3108
|
protoOf($sentEventCOROUTINE$3).n9 = function () {
|
|
3105
3109
|
var suspendResult = this.h9_1;
|
|
@@ -3110,9 +3114,9 @@
|
|
|
3110
3114
|
case 0:
|
|
3111
3115
|
this.g9_1 = 2;
|
|
3112
3116
|
var tmp_0 = this;
|
|
3113
|
-
tmp_0.
|
|
3117
|
+
tmp_0.edr_1 = this.cdr_1.bdq_1;
|
|
3114
3118
|
l$ret$1: do {
|
|
3115
|
-
var this_0 = this.
|
|
3119
|
+
var this_0 = this.cdr_1.adq_1;
|
|
3116
3120
|
while (true) {
|
|
3117
3121
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3118
3122
|
var upd = cur + 1 | 0;
|
|
@@ -3123,7 +3127,7 @@
|
|
|
3123
3127
|
}
|
|
3124
3128
|
while (false);
|
|
3125
3129
|
this.f9_1 = 1;
|
|
3126
|
-
suspendResult = this.
|
|
3130
|
+
suspendResult = this.cdr_1.cdq_1.d18(this.ddr_1, this);
|
|
3127
3131
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3128
3132
|
return suspendResult;
|
|
3129
3133
|
}
|
|
@@ -3147,7 +3151,7 @@
|
|
|
3147
3151
|
};
|
|
3148
3152
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3149
3153
|
CoroutineImpl.call(this, resultContinuation);
|
|
3150
|
-
this.
|
|
3154
|
+
this.ndr_1 = _this__u8e3s4;
|
|
3151
3155
|
}
|
|
3152
3156
|
protoOf($waitForCOROUTINE$4).n9 = function () {
|
|
3153
3157
|
var suspendResult = this.h9_1;
|
|
@@ -3158,12 +3162,12 @@
|
|
|
3158
3162
|
case 0:
|
|
3159
3163
|
this.g9_1 = 5;
|
|
3160
3164
|
var tmp_0 = this;
|
|
3161
|
-
tmp_0.
|
|
3162
|
-
this.
|
|
3165
|
+
tmp_0.odr_1 = this.ndr_1.bdq_1;
|
|
3166
|
+
this.pdr_1 = 0;
|
|
3163
3167
|
this.f9_1 = 1;
|
|
3164
3168
|
continue $sm;
|
|
3165
3169
|
case 1:
|
|
3166
|
-
if (!!(this.
|
|
3170
|
+
if (!!(this.ndr_1.adq_1.kotlinx$atomicfu$value === 0)) {
|
|
3167
3171
|
this.f9_1 = 4;
|
|
3168
3172
|
continue $sm;
|
|
3169
3173
|
}
|
|
@@ -3176,9 +3180,9 @@
|
|
|
3176
3180
|
|
|
3177
3181
|
continue $sm;
|
|
3178
3182
|
case 2:
|
|
3179
|
-
this.
|
|
3180
|
-
if (this.
|
|
3181
|
-
this.
|
|
3183
|
+
this.pdr_1 = this.pdr_1 + 1 | 0;
|
|
3184
|
+
if (this.pdr_1 > 6) {
|
|
3185
|
+
this.ndr_1.ydp_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.ndr_1.adq_1.kotlinx$atomicfu$value);
|
|
3182
3186
|
this.f9_1 = 4;
|
|
3183
3187
|
continue $sm;
|
|
3184
3188
|
} else {
|
|
@@ -3206,42 +3210,42 @@
|
|
|
3206
3210
|
while (true);
|
|
3207
3211
|
};
|
|
3208
3212
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3209
|
-
this.
|
|
3210
|
-
this.
|
|
3211
|
-
this.
|
|
3212
|
-
this.
|
|
3213
|
+
this.xdp_1 = serverReduxConfig;
|
|
3214
|
+
this.ydp_1 = logger;
|
|
3215
|
+
this.zdp_1 = idsProvider;
|
|
3216
|
+
this.adq_1 = atomic$ref$1(0);
|
|
3213
3217
|
var tmp = this;
|
|
3214
3218
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3215
|
-
tmp.
|
|
3216
|
-
this.
|
|
3219
|
+
tmp.bdq_1 = get_atomicfu$reentrantLock();
|
|
3220
|
+
this.cdq_1 = MutableSharedFlow();
|
|
3217
3221
|
}
|
|
3218
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3222
|
+
protoOf(ToClientEventsObserverImpl).edp = function (fromEvent, $completion) {
|
|
3219
3223
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3220
3224
|
tmp.h9_1 = Unit_instance;
|
|
3221
3225
|
tmp.i9_1 = null;
|
|
3222
3226
|
return tmp.n9();
|
|
3223
3227
|
};
|
|
3224
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3228
|
+
protoOf(ToClientEventsObserverImpl).j9o = function ($completion) {
|
|
3225
3229
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3226
3230
|
tmp.h9_1 = Unit_instance;
|
|
3227
3231
|
tmp.i9_1 = null;
|
|
3228
3232
|
return tmp.n9();
|
|
3229
3233
|
};
|
|
3230
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3231
|
-
if (!this.
|
|
3232
|
-
return this.
|
|
3234
|
+
protoOf(ToClientEventsObserverImpl).cap = function () {
|
|
3235
|
+
if (!this.xdp_1.enabledCombinedEvents) {
|
|
3236
|
+
return this.cdq_1;
|
|
3233
3237
|
}
|
|
3234
|
-
var tmp = windowedByInterval(this.
|
|
3238
|
+
var tmp = windowedByInterval(this.cdq_1, toLong(this.xdp_1.combinedEventsPeriod));
|
|
3235
3239
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3236
3240
|
};
|
|
3237
3241
|
function UpdateServerConfigAction(serverConfig) {
|
|
3238
|
-
this.
|
|
3242
|
+
this.qdr_1 = serverConfig;
|
|
3239
3243
|
}
|
|
3240
3244
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3241
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3245
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.qdr_1.toString() + ')';
|
|
3242
3246
|
};
|
|
3243
3247
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3244
|
-
return this.
|
|
3248
|
+
return this.qdr_1.hashCode();
|
|
3245
3249
|
};
|
|
3246
3250
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3247
3251
|
if (this === other)
|
|
@@ -3249,18 +3253,18 @@
|
|
|
3249
3253
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3250
3254
|
return false;
|
|
3251
3255
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3252
|
-
if (!this.
|
|
3256
|
+
if (!this.qdr_1.equals(tmp0_other_with_cast.qdr_1))
|
|
3253
3257
|
return false;
|
|
3254
3258
|
return true;
|
|
3255
3259
|
};
|
|
3256
3260
|
function AddSpectatorsAction(spectators) {
|
|
3257
|
-
this.
|
|
3261
|
+
this.rdr_1 = spectators;
|
|
3258
3262
|
}
|
|
3259
3263
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3260
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3264
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.rdr_1) + ')';
|
|
3261
3265
|
};
|
|
3262
3266
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3263
|
-
return hashCode(this.
|
|
3267
|
+
return hashCode(this.rdr_1);
|
|
3264
3268
|
};
|
|
3265
3269
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3266
3270
|
if (this === other)
|
|
@@ -3268,18 +3272,18 @@
|
|
|
3268
3272
|
if (!(other instanceof AddSpectatorsAction))
|
|
3269
3273
|
return false;
|
|
3270
3274
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3271
|
-
if (!equals(this.
|
|
3275
|
+
if (!equals(this.rdr_1, tmp0_other_with_cast.rdr_1))
|
|
3272
3276
|
return false;
|
|
3273
3277
|
return true;
|
|
3274
3278
|
};
|
|
3275
3279
|
function RemoveSpectatorsAction(spectators) {
|
|
3276
|
-
this.
|
|
3280
|
+
this.sdr_1 = spectators;
|
|
3277
3281
|
}
|
|
3278
3282
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3279
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3283
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.sdr_1) + ')';
|
|
3280
3284
|
};
|
|
3281
3285
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3282
|
-
return hashCode(this.
|
|
3286
|
+
return hashCode(this.sdr_1);
|
|
3283
3287
|
};
|
|
3284
3288
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3285
3289
|
if (this === other)
|
|
@@ -3287,7 +3291,7 @@
|
|
|
3287
3291
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3288
3292
|
return false;
|
|
3289
3293
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3290
|
-
if (!equals(this.
|
|
3294
|
+
if (!equals(this.sdr_1, tmp0_other_with_cast.sdr_1))
|
|
3291
3295
|
return false;
|
|
3292
3296
|
return true;
|
|
3293
3297
|
};
|
|
@@ -3295,72 +3299,90 @@
|
|
|
3295
3299
|
}
|
|
3296
3300
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3297
3301
|
// Inline function 'kotlin.getValue' call
|
|
3298
|
-
var this_0 = $this.
|
|
3302
|
+
var this_0 = $this.ydr_1;
|
|
3299
3303
|
asyncProvider$factory_0();
|
|
3300
3304
|
return this_0.u();
|
|
3301
3305
|
}
|
|
3302
3306
|
function _get_logger__rkp4sl_0($this) {
|
|
3303
3307
|
// Inline function 'kotlin.getValue' call
|
|
3304
|
-
var this_0 = $this.
|
|
3308
|
+
var this_0 = $this.zdr_1;
|
|
3305
3309
|
logger$factory_2();
|
|
3306
3310
|
return this_0.u();
|
|
3307
3311
|
}
|
|
3308
3312
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3309
3313
|
// Inline function 'kotlin.getValue' call
|
|
3310
|
-
var this_0 = $this.
|
|
3314
|
+
var this_0 = $this.ads_1;
|
|
3311
3315
|
playerConnectionInteractor$factory_2();
|
|
3312
3316
|
return this_0.u();
|
|
3313
3317
|
}
|
|
3314
3318
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3315
3319
|
// Inline function 'kotlin.getValue' call
|
|
3316
|
-
var this_0 = $this.
|
|
3320
|
+
var this_0 = $this.bds_1;
|
|
3317
3321
|
lastCardInteractor$factory_0();
|
|
3318
3322
|
return this_0.u();
|
|
3319
3323
|
}
|
|
3320
3324
|
function _get_serverConfig__rk2g06($this) {
|
|
3321
3325
|
// Inline function 'kotlin.getValue' call
|
|
3322
|
-
var this_0 = $this.
|
|
3326
|
+
var this_0 = $this.cds_1;
|
|
3323
3327
|
serverConfig$factory_0();
|
|
3324
3328
|
return this_0.u();
|
|
3325
3329
|
}
|
|
3326
3330
|
function _get_logicConfig__52ww9d($this) {
|
|
3327
3331
|
// Inline function 'kotlin.getValue' call
|
|
3328
|
-
var this_0 = $this.
|
|
3332
|
+
var this_0 = $this.dds_1;
|
|
3329
3333
|
logicConfig$factory_0();
|
|
3330
3334
|
return this_0.u();
|
|
3331
3335
|
}
|
|
3332
3336
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3333
3337
|
// Inline function 'kotlin.getValue' call
|
|
3334
|
-
var this_0 = $this.
|
|
3338
|
+
var this_0 = $this.eds_1;
|
|
3335
3339
|
idsProvider$factory_2();
|
|
3336
3340
|
return this_0.u();
|
|
3337
3341
|
}
|
|
3338
3342
|
function _get_botConfig__cpaxzc($this) {
|
|
3339
3343
|
// Inline function 'kotlin.getValue' call
|
|
3340
|
-
var this_0 = $this.
|
|
3344
|
+
var this_0 = $this.fds_1;
|
|
3341
3345
|
botConfig$factory_0();
|
|
3342
3346
|
return this_0.u();
|
|
3343
3347
|
}
|
|
3344
3348
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3345
3349
|
// Inline function 'kotlin.getValue' call
|
|
3346
|
-
var this_0 = $this.
|
|
3350
|
+
var this_0 = $this.gds_1;
|
|
3347
3351
|
scenePositionProvider$factory_0();
|
|
3348
3352
|
return this_0.u();
|
|
3349
3353
|
}
|
|
3350
3354
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3351
3355
|
// Inline function 'kotlin.getValue' call
|
|
3352
|
-
var this_0 = $this.
|
|
3356
|
+
var this_0 = $this.hds_1;
|
|
3353
3357
|
toClientEventsObserver$factory_2();
|
|
3354
3358
|
return this_0.u();
|
|
3355
3359
|
}
|
|
3356
3360
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
3357
3361
|
// Inline function 'kotlin.getValue' call
|
|
3358
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.ids_1;
|
|
3359
3363
|
fromClientEventsObserver$factory_2();
|
|
3360
3364
|
return this_0.u();
|
|
3361
3365
|
}
|
|
3366
|
+
function _get_dealerConfig__183ci8($this) {
|
|
3367
|
+
// Inline function 'kotlin.getValue' call
|
|
3368
|
+
var this_0 = $this.jds_1;
|
|
3369
|
+
dealerConfig$factory_0();
|
|
3370
|
+
return this_0.u();
|
|
3371
|
+
}
|
|
3372
|
+
function _get_poolProvider__tqti6a($this) {
|
|
3373
|
+
// Inline function 'kotlin.getValue' call
|
|
3374
|
+
var this_0 = $this.kds_1;
|
|
3375
|
+
poolProvider$factory_0();
|
|
3376
|
+
return this_0.u();
|
|
3377
|
+
}
|
|
3378
|
+
function _get_cardsDealerProvider__bekjpg($this) {
|
|
3379
|
+
// Inline function 'kotlin.getValue' call
|
|
3380
|
+
var this_0 = $this.lds_1;
|
|
3381
|
+
cardsDealerProvider$factory_0();
|
|
3382
|
+
return this_0.u();
|
|
3383
|
+
}
|
|
3362
3384
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
3363
|
-
return !player.
|
|
3385
|
+
return !player.h6g();
|
|
3364
3386
|
}
|
|
3365
3387
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
3366
3388
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -3368,97 +3390,120 @@
|
|
|
3368
3390
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3369
3391
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3370
3392
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3371
|
-
this.
|
|
3372
|
-
this.
|
|
3373
|
-
this.
|
|
3374
|
-
this.
|
|
3375
|
-
this.
|
|
3393
|
+
this.tdr_1 = validationStoreContract;
|
|
3394
|
+
this.udr_1 = timersStoreContract;
|
|
3395
|
+
this.vdr_1 = botGameStoreContract;
|
|
3396
|
+
this.wdr_1 = gameMechanicStoreContract;
|
|
3397
|
+
this.xdr_1 = fileLoggerStoreContract;
|
|
3376
3398
|
var tmp = this;
|
|
3377
3399
|
// Inline function 'org.kodein.di.instance' call
|
|
3378
3400
|
// Inline function 'org.kodein.type.generic' call
|
|
3379
3401
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3380
3402
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3381
|
-
tmp.
|
|
3403
|
+
tmp.ydr_1 = Instance(di, tmp$ret$0, null).e67(this, asyncProvider$factory());
|
|
3382
3404
|
var tmp_1 = this;
|
|
3383
3405
|
// Inline function 'org.kodein.di.instance' call
|
|
3384
3406
|
// Inline function 'org.kodein.type.generic' call
|
|
3385
3407
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3386
3408
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3387
|
-
tmp_1.
|
|
3409
|
+
tmp_1.zdr_1 = Instance(di, tmp$ret$2, null).e67(this, logger$factory_1());
|
|
3388
3410
|
var tmp_3 = this;
|
|
3389
3411
|
// Inline function 'org.kodein.di.instance' call
|
|
3390
3412
|
// Inline function 'org.kodein.type.generic' call
|
|
3391
3413
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3392
3414
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3393
|
-
tmp_3.
|
|
3415
|
+
tmp_3.ads_1 = Instance(di, tmp$ret$4, null).e67(this, playerConnectionInteractor$factory_1());
|
|
3394
3416
|
var tmp_5 = this;
|
|
3395
3417
|
// Inline function 'org.kodein.di.instance' call
|
|
3396
3418
|
// Inline function 'org.kodein.type.generic' call
|
|
3397
3419
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3398
3420
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3399
|
-
tmp_5.
|
|
3421
|
+
tmp_5.bds_1 = Instance(di, tmp$ret$6, null).e67(this, lastCardInteractor$factory());
|
|
3400
3422
|
var tmp_7 = this;
|
|
3401
3423
|
// Inline function 'org.kodein.di.instance' call
|
|
3402
3424
|
// Inline function 'org.kodein.type.generic' call
|
|
3403
3425
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3404
3426
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3405
|
-
tmp_7.
|
|
3427
|
+
tmp_7.cds_1 = Instance(di, tmp$ret$8, null).e67(this, serverConfig$factory());
|
|
3406
3428
|
var tmp_9 = this;
|
|
3407
3429
|
// Inline function 'org.kodein.di.instance' call
|
|
3408
3430
|
// Inline function 'org.kodein.type.generic' call
|
|
3409
3431
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3410
3432
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3411
|
-
tmp_9.
|
|
3433
|
+
tmp_9.dds_1 = Instance(di, tmp$ret$10, null).e67(this, logicConfig$factory());
|
|
3412
3434
|
var tmp_11 = this;
|
|
3413
3435
|
// Inline function 'org.kodein.di.instance' call
|
|
3414
3436
|
// Inline function 'org.kodein.type.generic' call
|
|
3415
3437
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3416
3438
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3417
|
-
tmp_11.
|
|
3439
|
+
tmp_11.eds_1 = Instance(di, tmp$ret$12, null).e67(this, idsProvider$factory_1());
|
|
3418
3440
|
var tmp_13 = this;
|
|
3419
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3420
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3421
3443
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3422
3444
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3423
|
-
tmp_13.
|
|
3445
|
+
tmp_13.fds_1 = Instance(di, tmp$ret$14, null).e67(this, botConfig$factory());
|
|
3424
3446
|
var tmp_15 = this;
|
|
3425
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3426
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3427
3449
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3428
3450
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3429
|
-
tmp_15.
|
|
3451
|
+
tmp_15.gds_1 = Instance(di, tmp$ret$16, null).e67(this, scenePositionProvider$factory());
|
|
3430
3452
|
var tmp_17 = this;
|
|
3431
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3432
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3433
3455
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3434
3456
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3435
|
-
tmp_17.
|
|
3457
|
+
tmp_17.hds_1 = Instance(di, tmp$ret$18, null).e67(this, toClientEventsObserver$factory_1());
|
|
3436
3458
|
var tmp_19 = this;
|
|
3437
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3438
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3439
3461
|
var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
3440
3462
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3441
|
-
tmp_19.
|
|
3463
|
+
tmp_19.ids_1 = Instance(di, tmp$ret$20, null).e67(this, fromClientEventsObserver$factory_1());
|
|
3464
|
+
var tmp_21 = this;
|
|
3465
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3466
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3467
|
+
var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
3468
|
+
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
3469
|
+
tmp_21.jds_1 = Instance(di, tmp$ret$22, null).e67(this, dealerConfig$factory());
|
|
3470
|
+
var tmp_23 = this;
|
|
3471
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3472
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3473
|
+
var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3474
|
+
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
3475
|
+
tmp_23.kds_1 = Instance(di, tmp$ret$24, null).e67(this, poolProvider$factory());
|
|
3476
|
+
var tmp_25 = this;
|
|
3477
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3478
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3479
|
+
var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
3480
|
+
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
3481
|
+
tmp_25.lds_1 = Instance(di, tmp$ret$26, null).e67(this, cardsDealerProvider$factory());
|
|
3442
3482
|
}
|
|
3443
|
-
protoOf(ServerGameStoreContract).
|
|
3444
|
-
return plus(plus(plus(plus(plus(this.
|
|
3483
|
+
protoOf(ServerGameStoreContract).t9f = function () {
|
|
3484
|
+
return plus(plus(plus(plus(plus(this.tdr_1.t9f(), this.udr_1.t9f()), this.vdr_1.t9f()), this.wdr_1.t9f()), this.xdr_1.t9f()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3445
3485
|
};
|
|
3446
|
-
protoOf(ServerGameStoreContract).
|
|
3447
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3486
|
+
protoOf(ServerGameStoreContract).u9f = function () {
|
|
3487
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.tdr_1.u9f(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.udr_1.u9f()), this.vdr_1.u9f()), this.wdr_1.u9f()), this.xdr_1.u9f()), 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))).n9h(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3448
3488
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3449
3489
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3450
3490
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
3451
3491
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
3452
3492
|
var tmp_1 = playerTurnTimeoutWhenHostMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
3453
3493
|
var tmp_2 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOf_0(_get_toClientEventsObserver__6rp51y_0(this)));
|
|
3454
|
-
var
|
|
3494
|
+
var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
3495
|
+
var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
|
|
3496
|
+
var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
|
|
3497
|
+
var tmp6_cardsDealerProvider = _get_cardsDealerProvider__bekjpg(this);
|
|
3498
|
+
var tmp_3 = prefetchRandomOrgPoolMiddleware(tmp5_poolProvider, tmp6_cardsDealerProvider, tmp3_asyncProvider, tmp4_dealerConfig);
|
|
3499
|
+
var tmp_4;
|
|
3455
3500
|
if (_get_botConfig__cpaxzc(this).autoStepLastCard) {
|
|
3456
|
-
var
|
|
3457
|
-
|
|
3501
|
+
var tmp_5 = _get_lastCardInteractor__h6lq3w(this);
|
|
3502
|
+
tmp_4 = putPlayerLastCardMiddleware(tmp_5, ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r);
|
|
3458
3503
|
} else {
|
|
3459
|
-
|
|
3504
|
+
tmp_4 = null;
|
|
3460
3505
|
}
|
|
3461
|
-
return plus(tmp, listOfNotNull_0([tmp_0, tmp_1, tmp_2, tmp_3]));
|
|
3506
|
+
return plus(tmp, listOfNotNull_0([tmp_0, tmp_1, tmp_2, tmp_3, tmp_4]));
|
|
3462
3507
|
};
|
|
3463
3508
|
function asyncProvider$factory() {
|
|
3464
3509
|
return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
|
|
@@ -3515,6 +3560,21 @@
|
|
|
3515
3560
|
return _get_fromClientEventsObserver__a7vzd3_0(receiver);
|
|
3516
3561
|
}, null);
|
|
3517
3562
|
}
|
|
3563
|
+
function dealerConfig$factory() {
|
|
3564
|
+
return getPropertyCallableRef('dealerConfig', 1, KProperty1, function (receiver) {
|
|
3565
|
+
return _get_dealerConfig__183ci8(receiver);
|
|
3566
|
+
}, null);
|
|
3567
|
+
}
|
|
3568
|
+
function poolProvider$factory() {
|
|
3569
|
+
return getPropertyCallableRef('poolProvider', 1, KProperty1, function (receiver) {
|
|
3570
|
+
return _get_poolProvider__tqti6a(receiver);
|
|
3571
|
+
}, null);
|
|
3572
|
+
}
|
|
3573
|
+
function cardsDealerProvider$factory() {
|
|
3574
|
+
return getPropertyCallableRef('cardsDealerProvider', 1, KProperty1, function (receiver) {
|
|
3575
|
+
return _get_cardsDealerProvider__bekjpg(receiver);
|
|
3576
|
+
}, null);
|
|
3577
|
+
}
|
|
3518
3578
|
function asyncProvider$factory_0() {
|
|
3519
3579
|
return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
|
|
3520
3580
|
return _get_asyncProvider__jbpyhw(receiver);
|
|
@@ -3570,34 +3630,49 @@
|
|
|
3570
3630
|
return _get_fromClientEventsObserver__a7vzd3_0(receiver);
|
|
3571
3631
|
}, null);
|
|
3572
3632
|
}
|
|
3633
|
+
function dealerConfig$factory_0() {
|
|
3634
|
+
return getPropertyCallableRef('dealerConfig', 1, KProperty1, function (receiver) {
|
|
3635
|
+
return _get_dealerConfig__183ci8(receiver);
|
|
3636
|
+
}, null);
|
|
3637
|
+
}
|
|
3638
|
+
function poolProvider$factory_0() {
|
|
3639
|
+
return getPropertyCallableRef('poolProvider', 1, KProperty1, function (receiver) {
|
|
3640
|
+
return _get_poolProvider__tqti6a(receiver);
|
|
3641
|
+
}, null);
|
|
3642
|
+
}
|
|
3643
|
+
function cardsDealerProvider$factory_0() {
|
|
3644
|
+
return getPropertyCallableRef('cardsDealerProvider', 1, KProperty1, function (receiver) {
|
|
3645
|
+
return _get_cardsDealerProvider__bekjpg(receiver);
|
|
3646
|
+
}, null);
|
|
3647
|
+
}
|
|
3573
3648
|
function finishingGameWhenCantStartNewMiddleware() {
|
|
3574
3649
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
3575
3650
|
return new _no_name_provided__qut3iv_2();
|
|
3576
3651
|
}
|
|
3577
3652
|
function _no_name_provided__qut3iv_2() {
|
|
3578
3653
|
}
|
|
3579
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3654
|
+
protoOf(_no_name_provided__qut3iv_2).h6o = function (action) {
|
|
3580
3655
|
return action instanceof RoundEndedAction;
|
|
3581
3656
|
};
|
|
3582
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3657
|
+
protoOf(_no_name_provided__qut3iv_2).y6p = function (store, next, action) {
|
|
3583
3658
|
// Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
|
|
3584
3659
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3585
3660
|
next(action_0);
|
|
3586
3661
|
var state = store.state;
|
|
3587
|
-
if (!get_serverStatePayload(state).
|
|
3588
|
-
store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
3662
|
+
if (!get_serverStatePayload(state).fdo_1.hdo_1 && action_0.isGameFinished) {
|
|
3663
|
+
store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.i6w_1));
|
|
3589
3664
|
}
|
|
3590
3665
|
};
|
|
3591
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3592
|
-
return this.
|
|
3666
|
+
protoOf(_no_name_provided__qut3iv_2).g6o = function (store, next, action) {
|
|
3667
|
+
return this.y6p(store, next, action);
|
|
3593
3668
|
};
|
|
3594
3669
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3595
|
-
this.
|
|
3670
|
+
this.ods_1 = this$0;
|
|
3596
3671
|
}
|
|
3597
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3672
|
+
protoOf(_no_name_provided__qut3iv_3).h6o = function (action) {
|
|
3598
3673
|
return action instanceof MechanicAction;
|
|
3599
3674
|
};
|
|
3600
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3675
|
+
protoOf(_no_name_provided__qut3iv_3).y6p = function (store, next, action) {
|
|
3601
3676
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
|
|
3602
3677
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
3603
3678
|
var state = store.state;
|
|
@@ -3606,18 +3681,18 @@
|
|
|
3606
3681
|
var tmp;
|
|
3607
3682
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3608
3683
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3609
|
-
var this_0 = this.
|
|
3610
|
-
var tableId = action_0.
|
|
3611
|
-
var gameCreatorPlayerId = action_0.
|
|
3684
|
+
var this_0 = this.ods_1;
|
|
3685
|
+
var tableId = action_0.t88_1;
|
|
3686
|
+
var gameCreatorPlayerId = action_0.v88_1;
|
|
3612
3687
|
// Inline function 'kotlin.collections.map' call
|
|
3613
|
-
var this_1 = action_0.
|
|
3688
|
+
var this_1 = action_0.w88_1;
|
|
3614
3689
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3615
3690
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3616
3691
|
var tmp0_iterator = this_1.j();
|
|
3617
3692
|
while (tmp0_iterator.k()) {
|
|
3618
3693
|
var item = tmp0_iterator.l();
|
|
3619
3694
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3620
|
-
var tmp$ret$0 = to(item.
|
|
3695
|
+
var tmp$ret$0 = to(item.o6e_1, PlayerConnectionState_LIVE_getInstance());
|
|
3621
3696
|
destination.e(tmp$ret$0);
|
|
3622
3697
|
}
|
|
3623
3698
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3651,7 +3726,7 @@
|
|
|
3651
3726
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3652
3727
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3653
3728
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3654
|
-
var tmp0_aid = this_0.
|
|
3729
|
+
var tmp0_aid = this_0.nds_1.g6m();
|
|
3655
3730
|
// Inline function 'kotlin.collections.map' call
|
|
3656
3731
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3657
3732
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3676,17 +3751,17 @@
|
|
|
3676
3751
|
} else {
|
|
3677
3752
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3678
3753
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3679
|
-
var this_2 = this.
|
|
3680
|
-
var table = state.
|
|
3754
|
+
var this_2 = this.ods_1;
|
|
3755
|
+
var table = state.k6x();
|
|
3681
3756
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3682
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3757
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.nds_1.g6m(), table.id, null);
|
|
3683
3758
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3684
3759
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3685
3760
|
} else {
|
|
3686
3761
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3687
3762
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3688
|
-
var this_3 = this.
|
|
3689
|
-
var tableId_0 = action_0.
|
|
3763
|
+
var this_3 = this.ods_1;
|
|
3764
|
+
var tableId_0 = action_0.z88_1.id;
|
|
3690
3765
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3691
3766
|
// Inline function 'kotlin.collections.map' call
|
|
3692
3767
|
var this_4 = action_0.users;
|
|
@@ -3696,7 +3771,7 @@
|
|
|
3696
3771
|
while (tmp0_iterator_4.k()) {
|
|
3697
3772
|
var item_2 = tmp0_iterator_4.l();
|
|
3698
3773
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3699
|
-
var tmp$ret$20 = to(item_2.
|
|
3774
|
+
var tmp$ret$20 = to(item_2.o6e_1, PlayerConnectionState_LIVE_getInstance());
|
|
3700
3775
|
destination_4.e(tmp$ret$20);
|
|
3701
3776
|
}
|
|
3702
3777
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -3730,7 +3805,7 @@
|
|
|
3730
3805
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3731
3806
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3732
3807
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3733
|
-
var tmp0_aid_0 = this_3.
|
|
3808
|
+
var tmp0_aid_0 = this_3.nds_1.g6m();
|
|
3734
3809
|
// Inline function 'kotlin.collections.map' call
|
|
3735
3810
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3736
3811
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3755,44 +3830,44 @@
|
|
|
3755
3830
|
} else {
|
|
3756
3831
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3757
3832
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3758
|
-
var this_5 = this.
|
|
3759
|
-
var table_0 = state.
|
|
3833
|
+
var this_5 = this.ods_1;
|
|
3834
|
+
var table_0 = state.k6x();
|
|
3760
3835
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3761
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3836
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.nds_1.g6m(), table_0.id, null);
|
|
3762
3837
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3763
3838
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3764
3839
|
} else {
|
|
3765
3840
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3766
3841
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3767
|
-
var this_6 = this.
|
|
3768
|
-
var table_1 = state.
|
|
3842
|
+
var this_6 = this.ods_1;
|
|
3843
|
+
var table_1 = state.k6x();
|
|
3769
3844
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3770
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3845
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.nds_1.g6m(), table_1.id, null);
|
|
3771
3846
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3772
3847
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3773
3848
|
} else {
|
|
3774
3849
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3775
3850
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3776
|
-
var this_7 = this.
|
|
3777
|
-
var table_2 = state.
|
|
3851
|
+
var this_7 = this.ods_1;
|
|
3852
|
+
var table_2 = state.k6x();
|
|
3778
3853
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3779
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3854
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.nds_1.g6m(), table_2.id, null);
|
|
3780
3855
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3781
3856
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3782
3857
|
} else {
|
|
3783
3858
|
if (action_0 instanceof ErrorAction) {
|
|
3784
3859
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3785
|
-
var this_8 = this.
|
|
3786
|
-
var table_3 = state.
|
|
3860
|
+
var this_8 = this.ods_1;
|
|
3861
|
+
var table_3 = state.k6x();
|
|
3787
3862
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3788
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3863
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.nds_1.g6m(), table_3.id, null);
|
|
3789
3864
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3790
3865
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3791
3866
|
} else {
|
|
3792
3867
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3793
3868
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3794
|
-
var this_9 = this.
|
|
3795
|
-
var table_4 = state.
|
|
3869
|
+
var this_9 = this.ods_1;
|
|
3870
|
+
var table_4 = state.k6x();
|
|
3796
3871
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3797
3872
|
var tableId_1 = table_4.id;
|
|
3798
3873
|
var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
|
|
@@ -3828,7 +3903,7 @@
|
|
|
3828
3903
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3829
3904
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3830
3905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3831
|
-
var tmp0_aid_1 = this_9.
|
|
3906
|
+
var tmp0_aid_1 = this_9.nds_1.g6m();
|
|
3832
3907
|
// Inline function 'kotlin.collections.map' call
|
|
3833
3908
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3834
3909
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3853,8 +3928,8 @@
|
|
|
3853
3928
|
} else {
|
|
3854
3929
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3855
3930
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3856
|
-
var this_10 = this.
|
|
3857
|
-
var table_5 = state.
|
|
3931
|
+
var this_10 = this.ods_1;
|
|
3932
|
+
var table_5 = state.k6x();
|
|
3858
3933
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3859
3934
|
var tableId_2 = table_5.id;
|
|
3860
3935
|
var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
|
|
@@ -3890,7 +3965,7 @@
|
|
|
3890
3965
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3891
3966
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3892
3967
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3893
|
-
var tmp0_aid_2 = this_10.
|
|
3968
|
+
var tmp0_aid_2 = this_10.nds_1.g6m();
|
|
3894
3969
|
// Inline function 'kotlin.collections.map' call
|
|
3895
3970
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3896
3971
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3915,8 +3990,8 @@
|
|
|
3915
3990
|
} else {
|
|
3916
3991
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3917
3992
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3918
|
-
var this_11 = this.
|
|
3919
|
-
var table_6 = state.
|
|
3993
|
+
var this_11 = this.ods_1;
|
|
3994
|
+
var table_6 = state.k6x();
|
|
3920
3995
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3921
3996
|
var tableId_3 = table_6.id;
|
|
3922
3997
|
var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
|
|
@@ -3952,7 +4027,7 @@
|
|
|
3952
4027
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3953
4028
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3954
4029
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3955
|
-
var tmp0_aid_3 = this_11.
|
|
4030
|
+
var tmp0_aid_3 = this_11.nds_1.g6m();
|
|
3956
4031
|
// Inline function 'kotlin.collections.map' call
|
|
3957
4032
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3958
4033
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -3965,7 +4040,7 @@
|
|
|
3965
4040
|
}
|
|
3966
4041
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
3967
4042
|
var tmp_0;
|
|
3968
|
-
if (this.
|
|
4043
|
+
if (this.ods_1.mds_1.supportBackwardActions && getPlayer(state.k6x().players, sendToPlayer_8.q7l_1).k74_1.o74_1) {
|
|
3969
4044
|
tmp_0 = null;
|
|
3970
4045
|
} else {
|
|
3971
4046
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -3983,79 +4058,79 @@
|
|
|
3983
4058
|
} else {
|
|
3984
4059
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
3985
4060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3986
|
-
var this_12 = this.
|
|
3987
|
-
var table_7 = state.
|
|
3988
|
-
var exceptPlayerId = this.
|
|
4061
|
+
var this_12 = this.ods_1;
|
|
4062
|
+
var table_7 = state.k6x();
|
|
4063
|
+
var exceptPlayerId = this.ods_1.mds_1.supportBackwardActions ? action_0.z89_1 : null;
|
|
3989
4064
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3990
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4065
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.nds_1.g6m(), table_7.id, exceptPlayerId);
|
|
3991
4066
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
3992
4067
|
tmp = listOfNotNull(tmp$ret$94);
|
|
3993
4068
|
} else {
|
|
3994
4069
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
3995
4070
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3996
|
-
var this_13 = this.
|
|
3997
|
-
var table_8 = state.
|
|
3998
|
-
var exceptPlayerId_0 = this.
|
|
4071
|
+
var this_13 = this.ods_1;
|
|
4072
|
+
var table_8 = state.k6x();
|
|
4073
|
+
var exceptPlayerId_0 = this.ods_1.mds_1.supportBackwardActions ? action_0.d8a_1 : null;
|
|
3999
4074
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4000
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4075
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.nds_1.g6m(), table_8.id, exceptPlayerId_0);
|
|
4001
4076
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4002
4077
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4003
4078
|
} else {
|
|
4004
4079
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4005
4080
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4006
|
-
var this_14 = this.
|
|
4007
|
-
var table_9 = state.
|
|
4081
|
+
var this_14 = this.ods_1;
|
|
4082
|
+
var table_9 = state.k6x();
|
|
4008
4083
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4009
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4084
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.nds_1.g6m(), table_9.id, null);
|
|
4010
4085
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4011
4086
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4012
4087
|
} else {
|
|
4013
4088
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4014
4089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4015
|
-
var this_15 = this.
|
|
4016
|
-
var table_10 = state.
|
|
4017
|
-
var exceptPlayerId_1 = this.
|
|
4090
|
+
var this_15 = this.ods_1;
|
|
4091
|
+
var table_10 = state.k6x();
|
|
4092
|
+
var exceptPlayerId_1 = this.ods_1.mds_1.supportBackwardActions ? action_0.k8a_1 : null;
|
|
4018
4093
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4019
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4094
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.nds_1.g6m(), table_10.id, exceptPlayerId_1);
|
|
4020
4095
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4021
4096
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4022
4097
|
} else {
|
|
4023
4098
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4024
4099
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4025
|
-
var this_16 = this.
|
|
4026
|
-
var table_11 = state.
|
|
4027
|
-
var exceptPlayerId_2 = this.
|
|
4100
|
+
var this_16 = this.ods_1;
|
|
4101
|
+
var table_11 = state.k6x();
|
|
4102
|
+
var exceptPlayerId_2 = this.ods_1.mds_1.supportBackwardActions ? action_0.o8a_1 : null;
|
|
4028
4103
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4029
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4104
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.nds_1.g6m(), table_11.id, exceptPlayerId_2);
|
|
4030
4105
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4031
4106
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4032
4107
|
} else {
|
|
4033
4108
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4034
4109
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4035
|
-
var this_17 = this.
|
|
4036
|
-
var table_12 = state.
|
|
4110
|
+
var this_17 = this.ods_1;
|
|
4111
|
+
var table_12 = state.k6x();
|
|
4037
4112
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4038
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4113
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.nds_1.g6m(), table_12.id, null);
|
|
4039
4114
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4040
4115
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4041
4116
|
} else {
|
|
4042
4117
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4043
4118
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4044
|
-
var this_18 = this.
|
|
4045
|
-
var table_13 = state.
|
|
4119
|
+
var this_18 = this.ods_1;
|
|
4120
|
+
var table_13 = state.k6x();
|
|
4046
4121
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4047
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4122
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.nds_1.g6m(), table_13.id, null);
|
|
4048
4123
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4049
4124
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4050
4125
|
} else {
|
|
4051
4126
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4052
|
-
var message = action_0.
|
|
4127
|
+
var message = action_0.w8a_1;
|
|
4053
4128
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4054
|
-
var this_19 = this.
|
|
4055
|
-
var table_14 = state.
|
|
4129
|
+
var this_19 = this.ods_1;
|
|
4130
|
+
var table_14 = state.k6x();
|
|
4056
4131
|
var tmp_1;
|
|
4057
4132
|
var tmp_2;
|
|
4058
|
-
if (this.
|
|
4133
|
+
if (this.ods_1.mds_1.supportBackwardActions) {
|
|
4059
4134
|
tmp_2 = isInterface(message, UserMessage);
|
|
4060
4135
|
} else {
|
|
4061
4136
|
tmp_2 = false;
|
|
@@ -4067,17 +4142,17 @@
|
|
|
4067
4142
|
}
|
|
4068
4143
|
var exceptPlayerId_3 = tmp_1;
|
|
4069
4144
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4070
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4145
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.nds_1.g6m(), table_14.id, exceptPlayerId_3);
|
|
4071
4146
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4072
4147
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4073
4148
|
} else {
|
|
4074
4149
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4075
4150
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4076
|
-
var this_20 = this.
|
|
4077
|
-
var table_15 = state.
|
|
4151
|
+
var this_20 = this.ods_1;
|
|
4152
|
+
var table_15 = state.k6x();
|
|
4078
4153
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4079
4154
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4080
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4155
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.nds_1.g6m(), table_15.id, exceptPlayerId_4);
|
|
4081
4156
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4082
4157
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4083
4158
|
} else {
|
|
@@ -4111,14 +4186,14 @@
|
|
|
4111
4186
|
}
|
|
4112
4187
|
next(action_0);
|
|
4113
4188
|
};
|
|
4114
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
4115
|
-
return this.
|
|
4189
|
+
protoOf(_no_name_provided__qut3iv_3).g6o = function (store, next, action) {
|
|
4190
|
+
return this.y6p(store, next, action);
|
|
4116
4191
|
};
|
|
4117
4192
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4118
|
-
this.
|
|
4119
|
-
this.
|
|
4193
|
+
this.mds_1 = logicConfig;
|
|
4194
|
+
this.nds_1 = idsProvider;
|
|
4120
4195
|
}
|
|
4121
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4196
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n9h = function () {
|
|
4122
4197
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4123
4198
|
return new _no_name_provided__qut3iv_3(this);
|
|
4124
4199
|
};
|
|
@@ -4127,18 +4202,18 @@
|
|
|
4127
4202
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4128
4203
|
}
|
|
4129
4204
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4130
|
-
this.
|
|
4131
|
-
this.
|
|
4205
|
+
this.xds_1 = $provider;
|
|
4206
|
+
this.yds_1 = $action;
|
|
4132
4207
|
CoroutineImpl.call(this, resultContinuation);
|
|
4133
4208
|
}
|
|
4134
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4135
|
-
var tmp = this.
|
|
4209
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).s1e = function ($this$launchDefault, $completion) {
|
|
4210
|
+
var tmp = this.t1e($this$launchDefault, $completion);
|
|
4136
4211
|
tmp.h9_1 = Unit_instance;
|
|
4137
4212
|
tmp.i9_1 = null;
|
|
4138
4213
|
return tmp.n9();
|
|
4139
4214
|
};
|
|
4140
4215
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).x9 = function (p1, $completion) {
|
|
4141
|
-
return this.
|
|
4216
|
+
return this.s1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4142
4217
|
};
|
|
4143
4218
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).n9 = function () {
|
|
4144
4219
|
var suspendResult = this.h9_1;
|
|
@@ -4149,7 +4224,7 @@
|
|
|
4149
4224
|
case 0:
|
|
4150
4225
|
this.g9_1 = 2;
|
|
4151
4226
|
this.f9_1 = 1;
|
|
4152
|
-
suspendResult = this.
|
|
4227
|
+
suspendResult = this.xds_1.edp(this.yds_1, this);
|
|
4153
4228
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4154
4229
|
return suspendResult;
|
|
4155
4230
|
}
|
|
@@ -4171,34 +4246,34 @@
|
|
|
4171
4246
|
}
|
|
4172
4247
|
while (true);
|
|
4173
4248
|
};
|
|
4174
|
-
protoOf(sendToClientActionMiddleware$o$handle$slambda).
|
|
4175
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4176
|
-
i.
|
|
4249
|
+
protoOf(sendToClientActionMiddleware$o$handle$slambda).t1e = function ($this$launchDefault, completion) {
|
|
4250
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.xds_1, this.yds_1, completion);
|
|
4251
|
+
i.zds_1 = $this$launchDefault;
|
|
4177
4252
|
return i;
|
|
4178
4253
|
};
|
|
4179
4254
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
4180
4255
|
var i = new sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
4181
4256
|
var l = function ($this$launchDefault, $completion) {
|
|
4182
|
-
return i.
|
|
4257
|
+
return i.s1e($this$launchDefault, $completion);
|
|
4183
4258
|
};
|
|
4184
4259
|
l.$arity = 1;
|
|
4185
4260
|
return l;
|
|
4186
4261
|
}
|
|
4187
4262
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4188
|
-
this.
|
|
4189
|
-
this.
|
|
4263
|
+
this.adt_1 = $asyncProvider;
|
|
4264
|
+
this.bdt_1 = $provider;
|
|
4190
4265
|
}
|
|
4191
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4266
|
+
protoOf(_no_name_provided__qut3iv_4).h6o = function (action) {
|
|
4192
4267
|
return action instanceof ToClientAction;
|
|
4193
4268
|
};
|
|
4194
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4269
|
+
protoOf(_no_name_provided__qut3iv_4).y6p = function (store, next, action) {
|
|
4195
4270
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4196
4271
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4197
|
-
this.
|
|
4272
|
+
this.adt_1.d6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.bdt_1, action_0, null));
|
|
4198
4273
|
next(action_0);
|
|
4199
4274
|
};
|
|
4200
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4201
|
-
return this.
|
|
4275
|
+
protoOf(_no_name_provided__qut3iv_4).g6o = function (store, next, action) {
|
|
4276
|
+
return this.y6p(store, next, action);
|
|
4202
4277
|
};
|
|
4203
4278
|
function serverConfigReducer() {
|
|
4204
4279
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -4206,96 +4281,96 @@
|
|
|
4206
4281
|
}
|
|
4207
4282
|
function _no_name_provided__qut3iv_5() {
|
|
4208
4283
|
}
|
|
4209
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4284
|
+
protoOf(_no_name_provided__qut3iv_5).h6o = function (action) {
|
|
4210
4285
|
return action instanceof UpdateServerConfigAction;
|
|
4211
4286
|
};
|
|
4212
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4287
|
+
protoOf(_no_name_provided__qut3iv_5).b9q = function (state, action) {
|
|
4213
4288
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4214
4289
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4215
|
-
return state.
|
|
4290
|
+
return state.t9c(VOID, get_serverStatePayload(state).cdt(action_0.qdr_1));
|
|
4216
4291
|
};
|
|
4217
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4218
|
-
return this.
|
|
4292
|
+
protoOf(_no_name_provided__qut3iv_5).z6p = function (state, action) {
|
|
4293
|
+
return this.b9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4219
4294
|
};
|
|
4220
4295
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4221
4296
|
return function (it) {
|
|
4222
4297
|
var tmp = Companion_instance_1;
|
|
4223
4298
|
var tmp_0;
|
|
4224
4299
|
if (it.isBot) {
|
|
4225
|
-
tmp_0 = Companion_instance_2.
|
|
4300
|
+
tmp_0 = Companion_instance_2.q6f(PlayerConnectionState_LEFT_getInstance());
|
|
4226
4301
|
} else {
|
|
4227
4302
|
var tmp_1 = Companion_instance_2;
|
|
4228
4303
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4229
4304
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4230
4305
|
Companion_getInstance();
|
|
4231
|
-
var this_0 = $action.
|
|
4306
|
+
var this_0 = $action.s88_1.timeoutTimeMillis;
|
|
4232
4307
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4233
|
-
tmp_0 = tmp_1.
|
|
4308
|
+
tmp_0 = tmp_1.p6f(tmp_2, tmp$ret$0);
|
|
4234
4309
|
}
|
|
4235
|
-
return tmp.
|
|
4310
|
+
return tmp.x6g(tmp_0);
|
|
4236
4311
|
};
|
|
4237
4312
|
}
|
|
4238
4313
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4239
4314
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4240
|
-
this.
|
|
4315
|
+
this.fdt_1 = logger;
|
|
4241
4316
|
}
|
|
4242
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4243
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
4317
|
+
protoOf(ServerMechanicLifecycleReducer).n9r = function (state, action) {
|
|
4318
|
+
var serverState = get_serverStatePayloadOrNull(state.j6w_1);
|
|
4244
4319
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4245
|
-
var tmp0_$this = this.
|
|
4246
|
-
var tmp1_tableId = action.
|
|
4247
|
-
var tmp2_gameId = action.
|
|
4248
|
-
var tmp3_version = action.
|
|
4249
|
-
var tmp4_config = action.
|
|
4250
|
-
var tmp5_users = action.
|
|
4320
|
+
var tmp0_$this = this.o9r_1;
|
|
4321
|
+
var tmp1_tableId = action.t88_1;
|
|
4322
|
+
var tmp2_gameId = action.t88_1;
|
|
4323
|
+
var tmp3_version = action.u88_1;
|
|
4324
|
+
var tmp4_config = action.s88_1;
|
|
4325
|
+
var tmp5_users = action.w88_1;
|
|
4251
4326
|
var tmp6_spectators = action.spectators;
|
|
4252
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4253
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4327
|
+
var tmp7_gameCreatorPlayerId = action.v88_1;
|
|
4328
|
+
var tmp9_tableOrNull = tmp0_$this.t9s(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4254
4329
|
var tmp;
|
|
4255
4330
|
if (serverState == null) {
|
|
4256
|
-
this.
|
|
4257
|
-
tmp = Companion_instance_10.
|
|
4331
|
+
this.fdt_1.w(VOID, 'ServerPayload is not onStart');
|
|
4332
|
+
tmp = Companion_instance_10.wdo();
|
|
4258
4333
|
} else {
|
|
4259
4334
|
tmp = serverState;
|
|
4260
4335
|
}
|
|
4261
4336
|
var tmp10_payload = tmp;
|
|
4262
|
-
return state.
|
|
4337
|
+
return state.t9c(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4263
4338
|
};
|
|
4264
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4339
|
+
protoOf(ServerMechanicLifecycleReducer).l9r = function (state, action) {
|
|
4265
4340
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4266
|
-
var tmp2_tableOrNull = action.
|
|
4341
|
+
var tmp2_tableOrNull = action.z88_1;
|
|
4267
4342
|
var tmp = Companion_instance_10;
|
|
4268
|
-
var tmp_0 = get_serverStatePayload(state).
|
|
4269
|
-
var tmp_1 = action.
|
|
4343
|
+
var tmp_0 = get_serverStatePayload(state).fdo_1;
|
|
4344
|
+
var tmp_1 = action.a89_1;
|
|
4270
4345
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4271
|
-
var tmp3_payload = tmp.
|
|
4272
|
-
return state.
|
|
4346
|
+
var tmp3_payload = tmp.gdt(tmp_0.ido(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j6d_1));
|
|
4347
|
+
return state.t9c(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4273
4348
|
};
|
|
4274
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4275
|
-
this.
|
|
4349
|
+
protoOf(ServerMechanicLifecycleReducer).m9r = function (state, action) {
|
|
4350
|
+
this.p9r_1.o5u(action.previousGameId);
|
|
4276
4351
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4277
|
-
var tmp1_tableOrNull = this.
|
|
4278
|
-
return state.
|
|
4352
|
+
var tmp1_tableOrNull = this.o9r_1.u9s(state.k6x(), action.gameId);
|
|
4353
|
+
return state.t9c(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4279
4354
|
};
|
|
4280
4355
|
function spectatorsReducer(logger) {
|
|
4281
4356
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4282
4357
|
return new _no_name_provided__qut3iv_6(logger);
|
|
4283
4358
|
}
|
|
4284
4359
|
function _no_name_provided__qut3iv_6($logger) {
|
|
4285
|
-
this.
|
|
4360
|
+
this.hdt_1 = $logger;
|
|
4286
4361
|
}
|
|
4287
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4362
|
+
protoOf(_no_name_provided__qut3iv_6).h6o = function (action) {
|
|
4288
4363
|
return isInterface(action, SpectatorsAction);
|
|
4289
4364
|
};
|
|
4290
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4365
|
+
protoOf(_no_name_provided__qut3iv_6).b9q = function (state, action) {
|
|
4291
4366
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4292
4367
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4293
|
-
var table = state.
|
|
4368
|
+
var table = state.k6x();
|
|
4294
4369
|
var tmp;
|
|
4295
4370
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4296
4371
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4297
4372
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4298
|
-
var this_0 = action_0.
|
|
4373
|
+
var this_0 = action_0.rdr_1;
|
|
4299
4374
|
var destination = ArrayList_init_$Create$_0();
|
|
4300
4375
|
// Inline function 'kotlin.collections.forEach' call
|
|
4301
4376
|
var tmp0_iterator = this_0.j();
|
|
@@ -4303,7 +4378,7 @@
|
|
|
4303
4378
|
var element = tmp0_iterator.l();
|
|
4304
4379
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4305
4380
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4306
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
4381
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.o6e_1));
|
|
4307
4382
|
if (tmp0_safe_receiver == null)
|
|
4308
4383
|
null;
|
|
4309
4384
|
else {
|
|
@@ -4317,10 +4392,10 @@
|
|
|
4317
4392
|
var tmp_0;
|
|
4318
4393
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4319
4394
|
if (!sameSpectators.p()) {
|
|
4320
|
-
this.
|
|
4395
|
+
this.hdt_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4321
4396
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4322
4397
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4323
|
-
var this_1 = action_0.
|
|
4398
|
+
var this_1 = action_0.rdr_1;
|
|
4324
4399
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4325
4400
|
var tmp0_iterator_0 = this_1.j();
|
|
4326
4401
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4343,7 +4418,7 @@
|
|
|
4343
4418
|
while (tmp0_iterator_1.k()) {
|
|
4344
4419
|
var element_1 = tmp0_iterator_1.l();
|
|
4345
4420
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4346
|
-
if (element_0.
|
|
4421
|
+
if (element_0.o6e_1 === element_1.playerId) {
|
|
4347
4422
|
tmp$ret$5 = true;
|
|
4348
4423
|
break $l$block_0;
|
|
4349
4424
|
}
|
|
@@ -4356,7 +4431,7 @@
|
|
|
4356
4431
|
}
|
|
4357
4432
|
tmp_0 = destination_0;
|
|
4358
4433
|
} else {
|
|
4359
|
-
tmp_0 = action_0.
|
|
4434
|
+
tmp_0 = action_0.rdr_1;
|
|
4360
4435
|
}
|
|
4361
4436
|
var this_2 = tmp_0;
|
|
4362
4437
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4369,12 +4444,12 @@
|
|
|
4369
4444
|
destination_1.e(tmp$ret$10);
|
|
4370
4445
|
}
|
|
4371
4446
|
var spectatorsToAdd = toSet(destination_1);
|
|
4372
|
-
tmp = state.
|
|
4447
|
+
tmp = state.t9c(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4373
4448
|
} else {
|
|
4374
4449
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4375
4450
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4376
4451
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4377
|
-
var this_3 = action_0.
|
|
4452
|
+
var this_3 = action_0.sdr_1;
|
|
4378
4453
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4379
4454
|
// Inline function 'kotlin.collections.forEach' call
|
|
4380
4455
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4382,7 +4457,7 @@
|
|
|
4382
4457
|
var element_2 = tmp0_iterator_3.l();
|
|
4383
4458
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4384
4459
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
4385
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
4460
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.o6e_1));
|
|
4386
4461
|
if (tmp0_safe_receiver_0 == null)
|
|
4387
4462
|
null;
|
|
4388
4463
|
else {
|
|
@@ -4395,10 +4470,10 @@
|
|
|
4395
4470
|
var tmp_2;
|
|
4396
4471
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4397
4472
|
if (!sameSpectators_0.p()) {
|
|
4398
|
-
this.
|
|
4473
|
+
this.hdt_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4399
4474
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4400
4475
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4401
|
-
var this_4 = action_0.
|
|
4476
|
+
var this_4 = action_0.sdr_1;
|
|
4402
4477
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4403
4478
|
var tmp0_iterator_4 = this_4.j();
|
|
4404
4479
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4421,7 +4496,7 @@
|
|
|
4421
4496
|
while (tmp0_iterator_5.k()) {
|
|
4422
4497
|
var element_4 = tmp0_iterator_5.l();
|
|
4423
4498
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4424
|
-
if (element_3.
|
|
4499
|
+
if (element_3.o6e_1 === element_4.playerId) {
|
|
4425
4500
|
tmp$ret$18 = true;
|
|
4426
4501
|
break $l$block_2;
|
|
4427
4502
|
}
|
|
@@ -4434,7 +4509,7 @@
|
|
|
4434
4509
|
}
|
|
4435
4510
|
tmp_2 = destination_3;
|
|
4436
4511
|
} else {
|
|
4437
|
-
tmp_2 = action_0.
|
|
4512
|
+
tmp_2 = action_0.sdr_1;
|
|
4438
4513
|
}
|
|
4439
4514
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4440
4515
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4462,7 +4537,7 @@
|
|
|
4462
4537
|
while (tmp0_iterator_7.k()) {
|
|
4463
4538
|
var element_6 = tmp0_iterator_7.l();
|
|
4464
4539
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
4465
|
-
if (element_5.playerId === element_6.
|
|
4540
|
+
if (element_5.playerId === element_6.o6e_1) {
|
|
4466
4541
|
tmp$ret$23 = true;
|
|
4467
4542
|
break $l$block_4;
|
|
4468
4543
|
}
|
|
@@ -4473,40 +4548,40 @@
|
|
|
4473
4548
|
destination_4.e(element_5);
|
|
4474
4549
|
}
|
|
4475
4550
|
}
|
|
4476
|
-
tmp = state.
|
|
4551
|
+
tmp = state.t9c(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4477
4552
|
} else {
|
|
4478
4553
|
noWhenBranchMatchedException();
|
|
4479
4554
|
}
|
|
4480
4555
|
}
|
|
4481
4556
|
return tmp;
|
|
4482
4557
|
};
|
|
4483
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4484
|
-
return this.
|
|
4558
|
+
protoOf(_no_name_provided__qut3iv_6).z6p = function (state, action) {
|
|
4559
|
+
return this.b9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4485
4560
|
};
|
|
4486
4561
|
function Companion_2() {
|
|
4487
4562
|
}
|
|
4488
|
-
protoOf(Companion_2).
|
|
4563
|
+
protoOf(Companion_2).gdt = function (config) {
|
|
4489
4564
|
return new ServerStatePayload(config);
|
|
4490
4565
|
};
|
|
4491
|
-
protoOf(Companion_2).
|
|
4492
|
-
config = config === VOID ? Companion_instance_8.
|
|
4493
|
-
return $super === VOID ? this.
|
|
4566
|
+
protoOf(Companion_2).wdo = function (config, $super) {
|
|
4567
|
+
config = config === VOID ? Companion_instance_8.adp(null) : config;
|
|
4568
|
+
return $super === VOID ? this.gdt(config) : $super.gdt.call(this, config);
|
|
4494
4569
|
};
|
|
4495
4570
|
var Companion_instance_10;
|
|
4496
4571
|
function Companion_getInstance_3() {
|
|
4497
4572
|
return Companion_instance_10;
|
|
4498
4573
|
}
|
|
4499
4574
|
function ServerStatePayload(config) {
|
|
4500
|
-
this.
|
|
4575
|
+
this.fdo_1 = config;
|
|
4501
4576
|
}
|
|
4502
|
-
protoOf(ServerStatePayload).
|
|
4577
|
+
protoOf(ServerStatePayload).cdt = function (config) {
|
|
4503
4578
|
return new ServerStatePayload(config);
|
|
4504
4579
|
};
|
|
4505
4580
|
protoOf(ServerStatePayload).toString = function () {
|
|
4506
|
-
return 'ServerStatePayload(config=' + this.
|
|
4581
|
+
return 'ServerStatePayload(config=' + this.fdo_1.toString() + ')';
|
|
4507
4582
|
};
|
|
4508
4583
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4509
|
-
return this.
|
|
4584
|
+
return this.fdo_1.hashCode();
|
|
4510
4585
|
};
|
|
4511
4586
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4512
4587
|
if (this === other)
|
|
@@ -4514,13 +4589,13 @@
|
|
|
4514
4589
|
if (!(other instanceof ServerStatePayload))
|
|
4515
4590
|
return false;
|
|
4516
4591
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4517
|
-
if (!this.
|
|
4592
|
+
if (!this.fdo_1.equals(tmp0_other_with_cast.fdo_1))
|
|
4518
4593
|
return false;
|
|
4519
4594
|
return true;
|
|
4520
4595
|
};
|
|
4521
4596
|
function get_serverStatePayload(_this__u8e3s4) {
|
|
4522
4597
|
// Inline function 'kotlin.requireNotNull' call
|
|
4523
|
-
var value = _this__u8e3s4.
|
|
4598
|
+
var value = _this__u8e3s4.j6w_1;
|
|
4524
4599
|
// Inline function 'kotlin.contracts.contract' call
|
|
4525
4600
|
var tmp$ret$1;
|
|
4526
4601
|
$l$block: {
|
|
@@ -4552,30 +4627,30 @@
|
|
|
4552
4627
|
}
|
|
4553
4628
|
function _get_logger__rkp4sl_1($this) {
|
|
4554
4629
|
// Inline function 'kotlin.getValue' call
|
|
4555
|
-
var this_0 = $this.
|
|
4630
|
+
var this_0 = $this.pdt_1;
|
|
4556
4631
|
logger$factory_3();
|
|
4557
4632
|
return this_0.u();
|
|
4558
4633
|
}
|
|
4559
4634
|
function _get_di__ndbzja($this) {
|
|
4560
4635
|
// Inline function 'kotlin.getValue' call
|
|
4561
|
-
var this_0 = $this.
|
|
4636
|
+
var this_0 = $this.qdt_1;
|
|
4562
4637
|
di$factory();
|
|
4563
4638
|
return this_0.u();
|
|
4564
4639
|
}
|
|
4565
4640
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
4566
4641
|
var tmp = Companion_instance_3;
|
|
4567
|
-
return tmp.
|
|
4642
|
+
return tmp.s61(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
|
|
4568
4643
|
}
|
|
4569
4644
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4570
4645
|
return function () {
|
|
4571
4646
|
var tmp;
|
|
4572
|
-
if (this$0.
|
|
4647
|
+
if (this$0.ndt_1 == null) {
|
|
4573
4648
|
tmp = null;
|
|
4574
4649
|
} else {
|
|
4575
4650
|
// Inline function 'kotlin.let' call
|
|
4576
4651
|
// Inline function 'kotlin.contracts.contract' call
|
|
4577
4652
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4578
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4653
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ndt_1)]));
|
|
4579
4654
|
}
|
|
4580
4655
|
var tmp1_elvis_lhs = tmp;
|
|
4581
4656
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4592,38 +4667,38 @@
|
|
|
4592
4667
|
// Inline function 'org.kodein.type.generic' call
|
|
4593
4668
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4594
4669
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4595
|
-
var tmp_0 = $this$DI.
|
|
4670
|
+
var tmp_0 = $this$DI.j61(tmp$ret$0, null, null);
|
|
4596
4671
|
// Inline function 'org.kodein.di.provider' call
|
|
4597
4672
|
var creator = GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0);
|
|
4598
|
-
var tmp_1 = $this$DI.
|
|
4673
|
+
var tmp_1 = $this$DI.m61();
|
|
4599
4674
|
// Inline function 'org.kodein.type.generic' call
|
|
4600
4675
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4601
4676
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4602
4677
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
4603
|
-
tmp_0.
|
|
4604
|
-
$this$DI.
|
|
4605
|
-
$this$DI.
|
|
4606
|
-
$this$DI.
|
|
4678
|
+
tmp_0.h65(tmp$ret$3);
|
|
4679
|
+
$this$DI.l61(jsonModule());
|
|
4680
|
+
$this$DI.l61(serverHelpersModule());
|
|
4681
|
+
$this$DI.l61(randomOrgModule(this$0.odt_1));
|
|
4607
4682
|
return Unit_instance;
|
|
4608
4683
|
};
|
|
4609
4684
|
}
|
|
4610
4685
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
4611
4686
|
return function () {
|
|
4612
4687
|
var tmp = Companion_instance_3;
|
|
4613
|
-
return tmp.
|
|
4688
|
+
return tmp.s61(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
4614
4689
|
};
|
|
4615
4690
|
}
|
|
4616
4691
|
function _no_name_provided__qut3iv_7($item) {
|
|
4617
|
-
this.
|
|
4692
|
+
this.wdt_1 = $item;
|
|
4618
4693
|
}
|
|
4619
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4694
|
+
protoOf(_no_name_provided__qut3iv_7).h6o = function (action) {
|
|
4620
4695
|
return isInterface(action, Action);
|
|
4621
4696
|
};
|
|
4622
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4623
|
-
return this.
|
|
4697
|
+
protoOf(_no_name_provided__qut3iv_7).b9q = function (state, action) {
|
|
4698
|
+
return this.wdt_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4624
4699
|
};
|
|
4625
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4626
|
-
return this.
|
|
4700
|
+
protoOf(_no_name_provided__qut3iv_7).z6p = function (state, action) {
|
|
4701
|
+
return this.b9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4627
4702
|
};
|
|
4628
4703
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4629
4704
|
return function ($this$singleton) {
|
|
@@ -4643,17 +4718,17 @@
|
|
|
4643
4718
|
// Inline function 'org.kodein.type.generic' call
|
|
4644
4719
|
var tmp_0 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
4645
4720
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4646
|
-
var tmp_1 = $this$Module.
|
|
4721
|
+
var tmp_1 = $this$Module.j61(tmp$ret$0, null, null);
|
|
4647
4722
|
// Inline function 'org.kodein.di.singleton' call
|
|
4648
4723
|
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput);
|
|
4649
|
-
var tmp_2 = $this$Module.
|
|
4650
|
-
var tmp_3 = $this$Module.
|
|
4651
|
-
var tmp_4 = $this$Module.
|
|
4724
|
+
var tmp_2 = $this$Module.o61();
|
|
4725
|
+
var tmp_3 = $this$Module.m61();
|
|
4726
|
+
var tmp_4 = $this$Module.n61();
|
|
4652
4727
|
// Inline function 'org.kodein.type.generic' call
|
|
4653
4728
|
var tmp_5 = typeToken(createKType(getKClass(FileLoggerOutputImpl), arrayOf([]), false));
|
|
4654
4729
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4655
4730
|
var tmp$ret$3 = new Singleton(tmp_2, tmp_3, tmp_4, tmp$ret$2, null, true, creator);
|
|
4656
|
-
tmp_1.
|
|
4731
|
+
tmp_1.h65(tmp$ret$3);
|
|
4657
4732
|
tmp = Unit_instance;
|
|
4658
4733
|
}
|
|
4659
4734
|
var tmp_6;
|
|
@@ -4662,17 +4737,17 @@
|
|
|
4662
4737
|
// Inline function 'org.kodein.type.generic' call
|
|
4663
4738
|
var tmp_7 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4664
4739
|
var tmp$ret$4 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
4665
|
-
var tmp_8 = $this$Module.
|
|
4740
|
+
var tmp_8 = $this$Module.j61(tmp$ret$4, null, null);
|
|
4666
4741
|
// Inline function 'org.kodein.di.singleton' call
|
|
4667
4742
|
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0($callbackWrapperLoggerOutput);
|
|
4668
|
-
var tmp_9 = $this$Module.
|
|
4669
|
-
var tmp_10 = $this$Module.
|
|
4670
|
-
var tmp_11 = $this$Module.
|
|
4743
|
+
var tmp_9 = $this$Module.o61();
|
|
4744
|
+
var tmp_10 = $this$Module.m61();
|
|
4745
|
+
var tmp_11 = $this$Module.n61();
|
|
4671
4746
|
// Inline function 'org.kodein.type.generic' call
|
|
4672
4747
|
var tmp_12 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4673
4748
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4674
4749
|
var tmp$ret$7 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$6, null, true, creator_0);
|
|
4675
|
-
tmp_8.
|
|
4750
|
+
tmp_8.h65(tmp$ret$7);
|
|
4676
4751
|
tmp_6 = Unit_instance;
|
|
4677
4752
|
}
|
|
4678
4753
|
return Unit_instance;
|
|
@@ -4680,10 +4755,10 @@
|
|
|
4680
4755
|
}
|
|
4681
4756
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4682
4757
|
return function (it) {
|
|
4683
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4758
|
+
var tmp0_elvis_lhs = Companion_instance_4.w9u(it);
|
|
4684
4759
|
var tmp;
|
|
4685
4760
|
if (tmp0_elvis_lhs == null) {
|
|
4686
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4761
|
+
var tmp1_safe_receiver = $gameServer.y6e().i6w_1;
|
|
4687
4762
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
4688
4763
|
} else {
|
|
4689
4764
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4693,10 +4768,10 @@
|
|
|
4693
4768
|
}
|
|
4694
4769
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4695
4770
|
return function (it) {
|
|
4696
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4771
|
+
var tmp0_elvis_lhs = Companion_instance_5.h9t(it);
|
|
4697
4772
|
var tmp;
|
|
4698
4773
|
if (tmp0_elvis_lhs == null) {
|
|
4699
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4774
|
+
var tmp1_safe_receiver = $gameServer.y6e().i6w_1;
|
|
4700
4775
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
4701
4776
|
} else {
|
|
4702
4777
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4706,94 +4781,94 @@
|
|
|
4706
4781
|
}
|
|
4707
4782
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares) {
|
|
4708
4783
|
return function ($this$DI) {
|
|
4709
|
-
$this$DI.
|
|
4784
|
+
$this$DI.l61(combinedLoggerModule($combinedLogger));
|
|
4710
4785
|
var tmp0_safe_receiver = $externalModule;
|
|
4711
4786
|
if (tmp0_safe_receiver == null)
|
|
4712
4787
|
null;
|
|
4713
4788
|
else {
|
|
4714
4789
|
// Inline function 'kotlin.let' call
|
|
4715
4790
|
// Inline function 'kotlin.contracts.contract' call
|
|
4716
|
-
$this$DI.
|
|
4791
|
+
$this$DI.l61(tmp0_safe_receiver);
|
|
4717
4792
|
}
|
|
4718
|
-
$this$DI.
|
|
4719
|
-
$this$DI.
|
|
4720
|
-
$this$DI.
|
|
4793
|
+
$this$DI.l61(dealerModule(this$0.randomPoolProvider, this$0.odt_1));
|
|
4794
|
+
$this$DI.l61(coreModule($coreConfig));
|
|
4795
|
+
$this$DI.l61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4721
4796
|
return Unit_instance;
|
|
4722
4797
|
};
|
|
4723
4798
|
}
|
|
4724
4799
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4725
4800
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4726
4801
|
production = production === VOID ? true : production;
|
|
4727
|
-
this.
|
|
4728
|
-
this.
|
|
4729
|
-
AppEnvironment_getInstance().
|
|
4802
|
+
this.ndt_1 = loggerCallback;
|
|
4803
|
+
this.odt_1 = randomOrgConfig;
|
|
4804
|
+
AppEnvironment_getInstance().q6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4730
4805
|
var tmp = this;
|
|
4731
|
-
tmp.
|
|
4806
|
+
tmp.pdt_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4732
4807
|
var tmp_0 = this;
|
|
4733
|
-
tmp_0.
|
|
4808
|
+
tmp_0.qdt_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4734
4809
|
var tmp_1 = this;
|
|
4735
4810
|
// Inline function 'org.kodein.di.instance' call
|
|
4736
4811
|
var this_0 = _get_di__ndbzja(this);
|
|
4737
4812
|
// Inline function 'org.kodein.type.generic' call
|
|
4738
4813
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4739
4814
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4740
|
-
tmp_1.
|
|
4815
|
+
tmp_1.rdt_1 = Instance(this_0, tmp$ret$0, null).e67(this, parser$factory());
|
|
4741
4816
|
var tmp_3 = this;
|
|
4742
4817
|
// Inline function 'org.kodein.di.instance' call
|
|
4743
4818
|
var this_1 = _get_di__ndbzja(this);
|
|
4744
4819
|
// Inline function 'org.kodein.type.generic' call
|
|
4745
4820
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4746
4821
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4747
|
-
tmp_3.
|
|
4822
|
+
tmp_3.sdt_1 = Instance(this_1, tmp$ret$2, null).e67(this, helper$factory());
|
|
4748
4823
|
var tmp_5 = this;
|
|
4749
4824
|
// Inline function 'org.kodein.di.instance' call
|
|
4750
4825
|
var this_2 = _get_di__ndbzja(this);
|
|
4751
4826
|
// Inline function 'org.kodein.type.generic' call
|
|
4752
4827
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4753
4828
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4754
|
-
tmp_5.
|
|
4829
|
+
tmp_5.tdt_1 = Instance(this_2, tmp$ret$4, null).e67(this, resources$factory());
|
|
4755
4830
|
var tmp_7 = this;
|
|
4756
4831
|
// Inline function 'org.kodein.di.instance' call
|
|
4757
4832
|
var this_3 = _get_di__ndbzja(this);
|
|
4758
4833
|
// Inline function 'org.kodein.type.generic' call
|
|
4759
4834
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4760
4835
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4761
|
-
tmp_7.
|
|
4836
|
+
tmp_7.udt_1 = Instance(this_3, tmp$ret$6, null).e67(this, test$factory());
|
|
4762
4837
|
var tmp_9 = this;
|
|
4763
4838
|
// Inline function 'org.kodein.di.instance' call
|
|
4764
4839
|
var this_4 = _get_di__ndbzja(this);
|
|
4765
4840
|
// Inline function 'org.kodein.type.generic' call
|
|
4766
4841
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4767
4842
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4768
|
-
tmp_9.
|
|
4843
|
+
tmp_9.vdt_1 = Instance(this_4, tmp$ret$8, null).e67(this, randomPoolProvider$factory());
|
|
4769
4844
|
}
|
|
4770
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4845
|
+
protoOf(GameServerEngineControllerImpl).bda = function () {
|
|
4771
4846
|
// Inline function 'kotlin.getValue' call
|
|
4772
|
-
var this_0 = this.
|
|
4847
|
+
var this_0 = this.rdt_1;
|
|
4773
4848
|
parser$factory_0();
|
|
4774
4849
|
return this_0.u();
|
|
4775
4850
|
};
|
|
4776
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4851
|
+
protoOf(GameServerEngineControllerImpl).jdt = function () {
|
|
4777
4852
|
// Inline function 'kotlin.getValue' call
|
|
4778
|
-
var this_0 = this.
|
|
4853
|
+
var this_0 = this.sdt_1;
|
|
4779
4854
|
helper$factory_0();
|
|
4780
4855
|
return this_0.u();
|
|
4781
4856
|
};
|
|
4782
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4857
|
+
protoOf(GameServerEngineControllerImpl).kdt = function () {
|
|
4783
4858
|
// Inline function 'kotlin.getValue' call
|
|
4784
|
-
var this_0 = this.
|
|
4859
|
+
var this_0 = this.tdt_1;
|
|
4785
4860
|
resources$factory_0();
|
|
4786
4861
|
return this_0.u();
|
|
4787
4862
|
};
|
|
4788
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4863
|
+
protoOf(GameServerEngineControllerImpl).idt = function () {
|
|
4789
4864
|
// Inline function 'kotlin.getValue' call
|
|
4790
|
-
var this_0 = this.
|
|
4865
|
+
var this_0 = this.udt_1;
|
|
4791
4866
|
test$factory_0();
|
|
4792
4867
|
return this_0.u();
|
|
4793
4868
|
};
|
|
4794
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4869
|
+
protoOf(GameServerEngineControllerImpl).ldt = function () {
|
|
4795
4870
|
// Inline function 'kotlin.getValue' call
|
|
4796
|
-
var this_0 = this.
|
|
4871
|
+
var this_0 = this.vdt_1;
|
|
4797
4872
|
randomPoolProvider$factory_0();
|
|
4798
4873
|
return this_0.u();
|
|
4799
4874
|
};
|
|
@@ -4803,7 +4878,7 @@
|
|
|
4803
4878
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4804
4879
|
return this.createGameEngineWithLogic();
|
|
4805
4880
|
};
|
|
4806
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4881
|
+
protoOf(GameServerEngineControllerImpl).mdt = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4807
4882
|
var combinedLogger = Companion_instance_6.rm();
|
|
4808
4883
|
var tmp;
|
|
4809
4884
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4813,8 +4888,8 @@
|
|
|
4813
4888
|
}
|
|
4814
4889
|
var fileLoggerOutput = tmp;
|
|
4815
4890
|
var tmp_0;
|
|
4816
|
-
if (!(this.
|
|
4817
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4891
|
+
if (!(this.ndt_1 == null)) {
|
|
4892
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ndt_1));
|
|
4818
4893
|
} else {
|
|
4819
4894
|
tmp_0 = null;
|
|
4820
4895
|
}
|
|
@@ -4850,19 +4925,19 @@
|
|
|
4850
4925
|
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
|
|
4851
4926
|
var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
4852
4927
|
// Inline function 'org.kodein.di.instance' call
|
|
4853
|
-
var tmp_1 = get_direct(di).
|
|
4928
|
+
var tmp_1 = get_direct(di).w62();
|
|
4854
4929
|
// Inline function 'org.kodein.type.generic' call
|
|
4855
4930
|
var tmp_2 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4856
4931
|
var tmp$ret$7 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4857
|
-
var gameServer = tmp_1.
|
|
4932
|
+
var gameServer = tmp_1.v62(tmp$ret$7, null);
|
|
4858
4933
|
if (!(fileLoggerOutput == null)) {
|
|
4859
4934
|
var tmp_3 = fileLoggerOutput;
|
|
4860
|
-
tmp_3.
|
|
4935
|
+
tmp_3.l9u_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4861
4936
|
combinedLogger.tm(fileLoggerOutput);
|
|
4862
4937
|
}
|
|
4863
4938
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4864
4939
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4865
|
-
tmp_4.
|
|
4940
|
+
tmp_4.j9t_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4866
4941
|
combinedLogger.tm(callbackWrapperLoggerOutput);
|
|
4867
4942
|
}
|
|
4868
4943
|
return gameServer;
|
|
@@ -4931,13 +5006,13 @@
|
|
|
4931
5006
|
}
|
|
4932
5007
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
4933
5008
|
// Inline function 'kotlin.getValue' call
|
|
4934
|
-
var this_0 = $this.
|
|
5009
|
+
var this_0 = $this.zdt_1;
|
|
4935
5010
|
playerAnswerInteractor$factory_0();
|
|
4936
5011
|
return this_0.u();
|
|
4937
5012
|
}
|
|
4938
5013
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
4939
5014
|
return function ($this$singleton) {
|
|
4940
|
-
return this$0.
|
|
5015
|
+
return this$0.xdt_1;
|
|
4941
5016
|
};
|
|
4942
5017
|
}
|
|
4943
5018
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -4946,19 +5021,19 @@
|
|
|
4946
5021
|
// Inline function 'org.kodein.type.generic' call
|
|
4947
5022
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4948
5023
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4949
|
-
var tmp_0 = $this$DI.
|
|
5024
|
+
var tmp_0 = $this$DI.j61(tmp$ret$0, null, null);
|
|
4950
5025
|
// Inline function 'org.kodein.di.singleton' call
|
|
4951
5026
|
var creator = TestHelperImpl$di$lambda$lambda(this$0);
|
|
4952
|
-
var tmp_1 = $this$DI.
|
|
4953
|
-
var tmp_2 = $this$DI.
|
|
4954
|
-
var tmp_3 = $this$DI.
|
|
5027
|
+
var tmp_1 = $this$DI.o61();
|
|
5028
|
+
var tmp_2 = $this$DI.m61();
|
|
5029
|
+
var tmp_3 = $this$DI.n61();
|
|
4955
5030
|
// Inline function 'org.kodein.type.generic' call
|
|
4956
5031
|
var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4957
5032
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4958
5033
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
4959
|
-
tmp_0.
|
|
4960
|
-
$this$DI.
|
|
4961
|
-
$this$DI.
|
|
5034
|
+
tmp_0.h65(tmp$ret$3);
|
|
5035
|
+
$this$DI.l61(jsonModule(emptyList()));
|
|
5036
|
+
$this$DI.l61(get_botGameModule());
|
|
4962
5037
|
return Unit_instance;
|
|
4963
5038
|
};
|
|
4964
5039
|
}
|
|
@@ -4966,20 +5041,20 @@
|
|
|
4966
5041
|
return emptyMap();
|
|
4967
5042
|
}
|
|
4968
5043
|
function TestHelperImpl(logger) {
|
|
4969
|
-
this.
|
|
5044
|
+
this.xdt_1 = logger;
|
|
4970
5045
|
var tmp = this;
|
|
4971
5046
|
var tmp_0 = Companion_instance_3;
|
|
4972
|
-
tmp.
|
|
5047
|
+
tmp.ydt_1 = tmp_0.s61(VOID, TestHelperImpl$di$lambda(this));
|
|
4973
5048
|
var tmp_1 = this;
|
|
4974
5049
|
// Inline function 'org.kodein.di.instance' call
|
|
4975
|
-
var this_0 = this.
|
|
5050
|
+
var this_0 = this.ydt_1;
|
|
4976
5051
|
// Inline function 'org.kodein.type.generic' call
|
|
4977
5052
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
4978
5053
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4979
|
-
tmp_1.
|
|
5054
|
+
tmp_1.zdt_1 = Instance(this_0, tmp$ret$0, null).e67(this, playerAnswerInteractor$factory());
|
|
4980
5055
|
}
|
|
4981
5056
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
4982
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5057
|
+
return _get_playerAnswerInteractor__msggz1(this).p93(playerId, table, botConfig);
|
|
4983
5058
|
};
|
|
4984
5059
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
4985
5060
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -4987,7 +5062,7 @@
|
|
|
4987
5062
|
var tmp$ret$0;
|
|
4988
5063
|
$l$block_0: {
|
|
4989
5064
|
// Inline function 'kotlin.collections.any' call
|
|
4990
|
-
var this_0 = mechanicAction.
|
|
5065
|
+
var this_0 = mechanicAction.w9e();
|
|
4991
5066
|
var tmp;
|
|
4992
5067
|
if (isInterface(this_0, Collection)) {
|
|
4993
5068
|
tmp = this_0.p();
|
|
@@ -5020,7 +5095,7 @@
|
|
|
5020
5095
|
var tmp$ret$0;
|
|
5021
5096
|
$l$block_0: {
|
|
5022
5097
|
// Inline function 'kotlin.collections.any' call
|
|
5023
|
-
var this_0 = action.
|
|
5098
|
+
var this_0 = action.w9e();
|
|
5024
5099
|
var tmp;
|
|
5025
5100
|
if (isInterface(this_0, Collection)) {
|
|
5026
5101
|
tmp = this_0.p();
|
|
@@ -5062,80 +5137,80 @@
|
|
|
5062
5137
|
return Module_init_$Create$('Server helpers Module', VOID, VOID, serverHelpersModule$lambda);
|
|
5063
5138
|
}
|
|
5064
5139
|
function serverHelpersModule$lambda($this$Module) {
|
|
5065
|
-
$this$Module.
|
|
5066
|
-
$this$Module.
|
|
5140
|
+
$this$Module.l61(get_ratingModule());
|
|
5141
|
+
$this$Module.l61(engineHelpersModule());
|
|
5067
5142
|
// Inline function 'org.kodein.di.bind' call
|
|
5068
5143
|
// Inline function 'org.kodein.type.generic' call
|
|
5069
5144
|
var tmp = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
5070
5145
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5071
|
-
var tmp_0 = $this$Module.
|
|
5146
|
+
var tmp_0 = $this$Module.j61(tmp$ret$0, null, null);
|
|
5072
5147
|
// Inline function 'org.kodein.di.singleton' call
|
|
5073
5148
|
var creator = serverHelpersModule$lambda$lambda;
|
|
5074
|
-
var tmp_1 = $this$Module.
|
|
5075
|
-
var tmp_2 = $this$Module.
|
|
5076
|
-
var tmp_3 = $this$Module.
|
|
5149
|
+
var tmp_1 = $this$Module.o61();
|
|
5150
|
+
var tmp_2 = $this$Module.m61();
|
|
5151
|
+
var tmp_3 = $this$Module.n61();
|
|
5077
5152
|
// Inline function 'org.kodein.type.generic' call
|
|
5078
5153
|
var tmp_4 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
|
|
5079
5154
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5080
5155
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5081
|
-
tmp_0.
|
|
5156
|
+
tmp_0.h65(tmp$ret$3);
|
|
5082
5157
|
return Unit_instance;
|
|
5083
5158
|
}
|
|
5084
5159
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
5085
5160
|
// Inline function 'org.kodein.di.instance' call
|
|
5086
|
-
var tmp = $this$singleton.
|
|
5161
|
+
var tmp = $this$singleton.w62();
|
|
5087
5162
|
// Inline function 'org.kodein.type.generic' call
|
|
5088
5163
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5089
5164
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5090
|
-
var tmp$ret$1 = tmp.
|
|
5165
|
+
var tmp$ret$1 = tmp.v62(tmp$ret$0, null);
|
|
5091
5166
|
return new TestHelperImpl(tmp$ret$1);
|
|
5092
5167
|
}
|
|
5093
5168
|
//region block: post-declaration
|
|
5094
5169
|
defineProp(protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
5095
|
-
return this.
|
|
5170
|
+
return this.z6d();
|
|
5096
5171
|
});
|
|
5097
5172
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
5098
5173
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
5099
5174
|
protoOf(GameServer).shutdown = shutdown;
|
|
5100
5175
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
5101
|
-
return this.
|
|
5176
|
+
return this.l5o();
|
|
5102
5177
|
});
|
|
5103
5178
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5104
|
-
return this.
|
|
5179
|
+
return this.k6x();
|
|
5105
5180
|
});
|
|
5106
5181
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5107
|
-
return this.
|
|
5182
|
+
return this.l6x();
|
|
5108
5183
|
});
|
|
5109
5184
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5110
|
-
return this.
|
|
5185
|
+
return this.m6x();
|
|
5111
5186
|
});
|
|
5112
|
-
protoOf(UpdateServerConfigAction).
|
|
5187
|
+
protoOf(UpdateServerConfigAction).u6n = get_actionTag;
|
|
5113
5188
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5114
|
-
return this.
|
|
5189
|
+
return this.u6n();
|
|
5115
5190
|
});
|
|
5116
|
-
protoOf(AddSpectatorsAction).
|
|
5191
|
+
protoOf(AddSpectatorsAction).u6n = get_actionTag;
|
|
5117
5192
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5118
|
-
return this.
|
|
5193
|
+
return this.u6n();
|
|
5119
5194
|
});
|
|
5120
|
-
protoOf(RemoveSpectatorsAction).
|
|
5195
|
+
protoOf(RemoveSpectatorsAction).u6n = get_actionTag;
|
|
5121
5196
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5122
|
-
return this.
|
|
5197
|
+
return this.u6n();
|
|
5123
5198
|
});
|
|
5124
5199
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5125
5200
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5126
|
-
return this.
|
|
5201
|
+
return this.bda();
|
|
5127
5202
|
});
|
|
5128
5203
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5129
|
-
return this.
|
|
5204
|
+
return this.jdt();
|
|
5130
5205
|
});
|
|
5131
5206
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5132
|
-
return this.
|
|
5207
|
+
return this.kdt();
|
|
5133
5208
|
});
|
|
5134
5209
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5135
|
-
return this.
|
|
5210
|
+
return this.idt();
|
|
5136
5211
|
});
|
|
5137
5212
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5138
|
-
return this.
|
|
5213
|
+
return this.ldt();
|
|
5139
5214
|
});
|
|
5140
5215
|
//endregion
|
|
5141
5216
|
//region block: init
|