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