raspberry_games_server_game_logic 1.8.310 → 1.8.311
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +645 -637
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +792 -730
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +49 -13
- package/Logic_Debertz-game_server.js +779 -677
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +37 -37
- package/raspberry-cardgame-lib-core.js.map +1 -1
|
@@ -68,17 +68,19 @@
|
|
|
68
68
|
var hashCode = kotlin_kotlin.$_$.tb;
|
|
69
69
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
70
70
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
|
|
71
|
-
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
71
|
+
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
72
72
|
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
73
73
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
74
|
-
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
74
|
+
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o3;
|
|
75
75
|
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w2;
|
|
76
|
-
var
|
|
77
|
-
var
|
|
76
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
77
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
78
|
+
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.n3;
|
|
79
|
+
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m3;
|
|
78
80
|
var toList = kotlin_kotlin.$_$.u9;
|
|
79
81
|
var toString = kotlin_kotlin.$_$.zc;
|
|
80
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
81
|
-
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
82
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
83
|
+
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u3;
|
|
82
84
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
|
|
83
85
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
|
|
84
86
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
@@ -87,23 +89,24 @@
|
|
|
87
89
|
var firstOrNull = kotlin_kotlin.$_$.r7;
|
|
88
90
|
var toMutableList = kotlin_kotlin.$_$.x9;
|
|
89
91
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
90
|
-
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
91
|
-
var
|
|
92
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.s4;
|
|
93
|
+
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
94
|
+
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.w2;
|
|
92
95
|
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
|
|
93
96
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.l1;
|
|
94
97
|
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z1;
|
|
95
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
98
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
96
99
|
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
97
|
-
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
100
|
+
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
98
101
|
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
|
|
99
102
|
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.d2;
|
|
100
103
|
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
101
104
|
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
|
|
102
|
-
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
103
|
-
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
105
|
+
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.y2;
|
|
106
|
+
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
|
|
104
107
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
105
108
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
|
|
106
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
109
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
107
110
|
var emptyList = kotlin_kotlin.$_$.n7;
|
|
108
111
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
109
112
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -118,7 +121,7 @@
|
|
|
118
121
|
var lazy = kotlin_kotlin.$_$.ph;
|
|
119
122
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
120
123
|
var plus = kotlin_kotlin.$_$.z8;
|
|
121
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
124
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
122
125
|
var toString_0 = kotlin_kotlin.$_$.wh;
|
|
123
126
|
var KProperty1 = kotlin_kotlin.$_$.qd;
|
|
124
127
|
var getPropertyCallableRef = kotlin_kotlin.$_$.rb;
|
|
@@ -139,8 +142,8 @@
|
|
|
139
142
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
140
143
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
141
144
|
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.$_$.
|
|
145
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
146
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
144
147
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
145
148
|
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
|
|
146
149
|
var single = kotlin_kotlin.$_$.j9;
|
|
@@ -154,8 +157,8 @@
|
|
|
154
157
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
155
158
|
var toLong = kotlin_kotlin.$_$.xc;
|
|
156
159
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
157
|
-
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
158
|
-
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
160
|
+
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
161
|
+
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
159
162
|
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.c3;
|
|
160
163
|
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.b3;
|
|
161
164
|
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
|
|
@@ -181,7 +184,7 @@
|
|
|
181
184
|
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.d3;
|
|
182
185
|
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
|
|
183
186
|
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x1;
|
|
184
|
-
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
187
|
+
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
185
188
|
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
|
|
186
189
|
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
|
|
187
190
|
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.m1;
|
|
@@ -204,7 +207,7 @@
|
|
|
204
207
|
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.v1;
|
|
205
208
|
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j2;
|
|
206
209
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
207
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
210
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
208
211
|
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.t1;
|
|
209
212
|
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r2;
|
|
210
213
|
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.q1;
|
|
@@ -222,14 +225,14 @@
|
|
|
222
225
|
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
223
226
|
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p2;
|
|
224
227
|
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
|
|
225
|
-
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
226
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
227
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
228
|
+
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
229
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.i4;
|
|
230
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.g4;
|
|
228
231
|
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
229
232
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
230
233
|
var toDuration = kotlin_kotlin.$_$.ag;
|
|
231
234
|
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
232
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
235
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
233
236
|
var singleOrNull = kotlin_kotlin.$_$.i9;
|
|
234
237
|
var Collection = kotlin_kotlin.$_$.r5;
|
|
235
238
|
var toSet = kotlin_kotlin.$_$.aa;
|
|
@@ -243,26 +246,26 @@
|
|
|
243
246
|
var mutableListOf = kotlin_kotlin.$_$.v8;
|
|
244
247
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
245
248
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
246
|
-
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
249
|
+
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
247
250
|
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
248
251
|
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
249
252
|
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
250
|
-
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
251
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
253
|
+
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
254
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
252
255
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
|
|
253
|
-
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
254
|
-
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
255
|
-
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
256
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
257
|
-
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
258
|
-
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
256
|
+
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
257
|
+
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
258
|
+
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
259
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u4;
|
|
260
|
+
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
|
|
261
|
+
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.f4;
|
|
259
262
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
260
263
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
261
264
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
262
265
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
263
266
|
var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
264
267
|
var toList_0 = kotlin_kotlin.$_$.t9;
|
|
265
|
-
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
268
|
+
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
266
269
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
267
270
|
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.o;
|
|
268
271
|
var emptyMap = kotlin_kotlin.$_$.o7;
|
|
@@ -323,15 +326,15 @@
|
|
|
323
326
|
tmp = spectators;
|
|
324
327
|
}
|
|
325
328
|
spectators = tmp;
|
|
326
|
-
return this.
|
|
329
|
+
return this.g9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
327
330
|
}
|
|
328
331
|
function roomOnDelete(newRid, $super) {
|
|
329
332
|
newRid = newRid === VOID ? null : newRid;
|
|
330
|
-
return this.
|
|
333
|
+
return this.h9w(newRid);
|
|
331
334
|
}
|
|
332
335
|
function shutdown(reason, roomId, $super) {
|
|
333
336
|
roomId = roomId === VOID ? null : roomId;
|
|
334
|
-
return this.
|
|
337
|
+
return this.i9w(reason, roomId);
|
|
335
338
|
}
|
|
336
339
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
337
340
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -385,26 +388,28 @@
|
|
|
385
388
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
386
389
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
387
390
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
388
|
-
return this.
|
|
391
|
+
return this.ya0(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
389
392
|
}
|
|
390
393
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
391
394
|
initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
|
|
392
395
|
initMetadataForClass(GameServerEngineControllerImpl, 'GameServerEngineControllerImpl', VOID, VOID, [GameEngineController]);
|
|
396
|
+
initMetadataForInterface(GameServerHelper, 'GameServerHelper');
|
|
397
|
+
initMetadataForClass(GameServerHelperImpl, 'GameServerHelperImpl', GameServerHelperImpl, VOID, [GameServerHelper]);
|
|
393
398
|
initMetadataForInterface(TestHelper, 'TestHelper');
|
|
394
399
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
395
400
|
//endregion
|
|
396
401
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
397
|
-
this.
|
|
402
|
+
this.z9h_1 = $subscriber;
|
|
398
403
|
CoroutineImpl.call(this, resultContinuation);
|
|
399
404
|
}
|
|
400
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
401
|
-
var tmp = this.
|
|
405
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).b9i = function (it, $completion) {
|
|
406
|
+
var tmp = this.c9i(it, $completion);
|
|
402
407
|
tmp.h9_1 = Unit_instance;
|
|
403
408
|
tmp.i9_1 = null;
|
|
404
409
|
return tmp.n9();
|
|
405
410
|
};
|
|
406
411
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).x9 = function (p1, $completion) {
|
|
407
|
-
return this.
|
|
412
|
+
return this.b9i(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
408
413
|
};
|
|
409
414
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).n9 = function () {
|
|
410
415
|
var suspendResult = this.h9_1;
|
|
@@ -413,7 +418,7 @@
|
|
|
413
418
|
var tmp = this.f9_1;
|
|
414
419
|
if (tmp === 0) {
|
|
415
420
|
this.g9_1 = 1;
|
|
416
|
-
this.
|
|
421
|
+
this.z9h_1(this.a9i_1);
|
|
417
422
|
return Unit_instance;
|
|
418
423
|
} else if (tmp === 1) {
|
|
419
424
|
throw this.i9_1;
|
|
@@ -424,21 +429,21 @@
|
|
|
424
429
|
}
|
|
425
430
|
while (true);
|
|
426
431
|
};
|
|
427
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
428
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
429
|
-
i.
|
|
432
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).c9i = function (it, completion) {
|
|
433
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.z9h_1, completion);
|
|
434
|
+
i.a9i_1 = it;
|
|
430
435
|
return i;
|
|
431
436
|
};
|
|
432
437
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
433
438
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
434
439
|
var l = function (it, $completion) {
|
|
435
|
-
return i.
|
|
440
|
+
return i.b9i(it, $completion);
|
|
436
441
|
};
|
|
437
442
|
l.$arity = 1;
|
|
438
443
|
return l;
|
|
439
444
|
}
|
|
440
445
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
441
|
-
this.
|
|
446
|
+
this.l9i_1 = $$this$unsafeFlow;
|
|
442
447
|
CoroutineImpl.call(this, resultContinuation);
|
|
443
448
|
}
|
|
444
449
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).w1h = function (value, $completion) {
|
|
@@ -459,12 +464,12 @@
|
|
|
459
464
|
case 0:
|
|
460
465
|
this.g9_1 = 2;
|
|
461
466
|
var tmp_0 = this;
|
|
462
|
-
tmp_0.
|
|
467
|
+
tmp_0.n9i_1 = this.l9i_1;
|
|
463
468
|
var tmp_1 = this;
|
|
464
|
-
tmp_1.
|
|
469
|
+
tmp_1.o9i_1 = this.m9i_1;
|
|
465
470
|
this.f9_1 = 1;
|
|
466
|
-
var it = this.
|
|
467
|
-
suspendResult = this.
|
|
471
|
+
var it = this.o9i_1;
|
|
472
|
+
suspendResult = this.n9i_1.d18(new ActionsStateUpdate(it), this);
|
|
468
473
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
469
474
|
return suspendResult;
|
|
470
475
|
}
|
|
@@ -487,8 +492,8 @@
|
|
|
487
492
|
while (true);
|
|
488
493
|
};
|
|
489
494
|
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.
|
|
491
|
-
i.
|
|
495
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.l9i_1, completion);
|
|
496
|
+
i.m9i_1 = value;
|
|
492
497
|
return i;
|
|
493
498
|
};
|
|
494
499
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -501,8 +506,8 @@
|
|
|
501
506
|
}
|
|
502
507
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
503
508
|
CoroutineImpl.call(this, resultContinuation);
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
509
|
+
this.x9i_1 = _this__u8e3s4;
|
|
510
|
+
this.y9i_1 = collector;
|
|
506
511
|
}
|
|
507
512
|
protoOf($collectCOROUTINE$0).n9 = function () {
|
|
508
513
|
var suspendResult = this.h9_1;
|
|
@@ -513,10 +518,10 @@
|
|
|
513
518
|
case 0:
|
|
514
519
|
this.g9_1 = 2;
|
|
515
520
|
var tmp_0 = this;
|
|
516
|
-
tmp_0.
|
|
521
|
+
tmp_0.z9i_1 = this.y9i_1;
|
|
517
522
|
this.f9_1 = 1;
|
|
518
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.
|
|
519
|
-
suspendResult = this.
|
|
523
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.z9i_1, null);
|
|
524
|
+
suspendResult = this.x9i_1.a9j_1.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
520
525
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
521
526
|
return suspendResult;
|
|
522
527
|
}
|
|
@@ -539,7 +544,7 @@
|
|
|
539
544
|
while (true);
|
|
540
545
|
};
|
|
541
546
|
function _no_name_provided__qut3iv($this) {
|
|
542
|
-
this.
|
|
547
|
+
this.a9j_1 = $this;
|
|
543
548
|
}
|
|
544
549
|
protoOf(_no_name_provided__qut3iv).e18 = function (collector, $completion) {
|
|
545
550
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -551,18 +556,18 @@
|
|
|
551
556
|
return this.e18(collector, $completion);
|
|
552
557
|
};
|
|
553
558
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation) {
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
559
|
+
this.j9j_1 = $table;
|
|
560
|
+
this.k9j_1 = this$0;
|
|
556
561
|
CoroutineImpl.call(this, resultContinuation);
|
|
557
562
|
}
|
|
558
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
559
|
-
var tmp = this.
|
|
563
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).m9j = function ($this$flow, $completion) {
|
|
564
|
+
var tmp = this.n9j($this$flow, $completion);
|
|
560
565
|
tmp.h9_1 = Unit_instance;
|
|
561
566
|
tmp.i9_1 = null;
|
|
562
567
|
return tmp.n9();
|
|
563
568
|
};
|
|
564
569
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).x9 = function (p1, $completion) {
|
|
565
|
-
return this.
|
|
570
|
+
return this.m9j((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
566
571
|
};
|
|
567
572
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).n9 = function () {
|
|
568
573
|
var suspendResult = this.h9_1;
|
|
@@ -573,7 +578,7 @@
|
|
|
573
578
|
case 0:
|
|
574
579
|
this.g9_1 = 3;
|
|
575
580
|
this.f9_1 = 1;
|
|
576
|
-
suspendResult = this.
|
|
581
|
+
suspendResult = this.l9j_1.d18(new TableStateUpdate(this.j9j_1), this);
|
|
577
582
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
583
|
return suspendResult;
|
|
579
584
|
}
|
|
@@ -581,8 +586,8 @@
|
|
|
581
586
|
continue $sm;
|
|
582
587
|
case 1:
|
|
583
588
|
this.f9_1 = 2;
|
|
584
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
585
|
-
suspendResult = emitAll(this.
|
|
589
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.k9j_1).q8m(), new Long(150, 0));
|
|
590
|
+
suspendResult = emitAll(this.l9j_1, new _no_name_provided__qut3iv(this_0), this);
|
|
586
591
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
587
592
|
return suspendResult;
|
|
588
593
|
}
|
|
@@ -604,32 +609,32 @@
|
|
|
604
609
|
}
|
|
605
610
|
while (true);
|
|
606
611
|
};
|
|
607
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
608
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.
|
|
609
|
-
i.
|
|
612
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).n9j = function ($this$flow, completion) {
|
|
613
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.j9j_1, this.k9j_1, completion);
|
|
614
|
+
i.l9j_1 = $this$flow;
|
|
610
615
|
return i;
|
|
611
616
|
};
|
|
612
617
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
613
618
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation);
|
|
614
619
|
var l = function ($this$flow, $completion) {
|
|
615
|
-
return i.
|
|
620
|
+
return i.m9j($this$flow, $completion);
|
|
616
621
|
};
|
|
617
622
|
l.$arity = 1;
|
|
618
623
|
return l;
|
|
619
624
|
}
|
|
620
625
|
function GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation) {
|
|
621
|
-
this.
|
|
626
|
+
this.w9j_1 = this$0;
|
|
622
627
|
CoroutineImpl.call(this, resultContinuation);
|
|
623
628
|
}
|
|
624
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
625
|
-
var tmp = this.
|
|
629
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z9j = function ($this$transformLatest, it, $completion) {
|
|
630
|
+
var tmp = this.a9k($this$transformLatest, it, $completion);
|
|
626
631
|
tmp.h9_1 = Unit_instance;
|
|
627
632
|
tmp.i9_1 = null;
|
|
628
633
|
return tmp.n9();
|
|
629
634
|
};
|
|
630
635
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).y9 = function (p1, p2, $completion) {
|
|
631
636
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
632
|
-
return this.
|
|
637
|
+
return this.z9j(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
633
638
|
};
|
|
634
639
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).n9 = function () {
|
|
635
640
|
var suspendResult = this.h9_1;
|
|
@@ -640,8 +645,8 @@
|
|
|
640
645
|
case 0:
|
|
641
646
|
this.g9_1 = 2;
|
|
642
647
|
this.f9_1 = 1;
|
|
643
|
-
var table = this.
|
|
644
|
-
suspendResult = emitAll(this.
|
|
648
|
+
var table = this.y9j_1;
|
|
649
|
+
suspendResult = emitAll(this.x9j_1, flow(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0(table, this.w9j_1, null)), this);
|
|
645
650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
646
651
|
return suspendResult;
|
|
647
652
|
}
|
|
@@ -663,32 +668,32 @@
|
|
|
663
668
|
}
|
|
664
669
|
while (true);
|
|
665
670
|
};
|
|
666
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
667
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
668
|
-
i.
|
|
669
|
-
i.
|
|
671
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9k = function ($this$transformLatest, it, completion) {
|
|
672
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.w9j_1, completion);
|
|
673
|
+
i.x9j_1 = $this$transformLatest;
|
|
674
|
+
i.y9j_1 = it;
|
|
670
675
|
return i;
|
|
671
676
|
};
|
|
672
677
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0(this$0, resultContinuation) {
|
|
673
678
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation);
|
|
674
679
|
var l = function ($this$transformLatest, it, $completion) {
|
|
675
|
-
return i.
|
|
680
|
+
return i.z9j($this$transformLatest, it, $completion);
|
|
676
681
|
};
|
|
677
682
|
l.$arity = 2;
|
|
678
683
|
return l;
|
|
679
684
|
}
|
|
680
685
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation) {
|
|
681
|
-
this.
|
|
686
|
+
this.j9k_1 = $subscriber;
|
|
682
687
|
CoroutineImpl.call(this, resultContinuation);
|
|
683
688
|
}
|
|
684
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
685
|
-
var tmp = this.
|
|
689
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).l9k = function (it, $completion) {
|
|
690
|
+
var tmp = this.m9k(it, $completion);
|
|
686
691
|
tmp.h9_1 = Unit_instance;
|
|
687
692
|
tmp.i9_1 = null;
|
|
688
693
|
return tmp.n9();
|
|
689
694
|
};
|
|
690
695
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).x9 = function (p1, $completion) {
|
|
691
|
-
return this.
|
|
696
|
+
return this.l9k((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
692
697
|
};
|
|
693
698
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).n9 = function () {
|
|
694
699
|
var suspendResult = this.h9_1;
|
|
@@ -697,7 +702,7 @@
|
|
|
697
702
|
var tmp = this.f9_1;
|
|
698
703
|
if (tmp === 0) {
|
|
699
704
|
this.g9_1 = 1;
|
|
700
|
-
this.
|
|
705
|
+
this.j9k_1(this.k9k_1);
|
|
701
706
|
return Unit_instance;
|
|
702
707
|
} else if (tmp === 1) {
|
|
703
708
|
throw this.i9_1;
|
|
@@ -708,21 +713,21 @@
|
|
|
708
713
|
}
|
|
709
714
|
while (true);
|
|
710
715
|
};
|
|
711
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
712
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.
|
|
713
|
-
i.
|
|
716
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).m9k = function (it, completion) {
|
|
717
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.j9k_1, completion);
|
|
718
|
+
i.k9k_1 = it;
|
|
714
719
|
return i;
|
|
715
720
|
};
|
|
716
721
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_2($subscriber, resultContinuation) {
|
|
717
722
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation);
|
|
718
723
|
var l = function (it, $completion) {
|
|
719
|
-
return i.
|
|
724
|
+
return i.l9k(it, $completion);
|
|
720
725
|
};
|
|
721
726
|
l.$arity = 1;
|
|
722
727
|
return l;
|
|
723
728
|
}
|
|
724
729
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
725
|
-
this.
|
|
730
|
+
this.v9k_1 = $$this$unsafeFlow;
|
|
726
731
|
CoroutineImpl.call(this, resultContinuation);
|
|
727
732
|
}
|
|
728
733
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w1h = function (value, $completion) {
|
|
@@ -743,12 +748,12 @@
|
|
|
743
748
|
case 0:
|
|
744
749
|
this.g9_1 = 2;
|
|
745
750
|
var tmp_0 = this;
|
|
746
|
-
tmp_0.
|
|
751
|
+
tmp_0.x9k_1 = this.v9k_1;
|
|
747
752
|
var tmp_1 = this;
|
|
748
|
-
tmp_1.
|
|
753
|
+
tmp_1.y9k_1 = this.w9k_1;
|
|
749
754
|
this.f9_1 = 1;
|
|
750
|
-
var state = this.
|
|
751
|
-
suspendResult = this.
|
|
755
|
+
var state = this.y9k_1;
|
|
756
|
+
suspendResult = this.x9k_1.d18(state.p6r().gameInfo.roundNumberTotal, this);
|
|
752
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
753
758
|
return suspendResult;
|
|
754
759
|
}
|
|
@@ -771,8 +776,8 @@
|
|
|
771
776
|
while (true);
|
|
772
777
|
};
|
|
773
778
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x1h = function (value, completion) {
|
|
774
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
775
|
-
i.
|
|
779
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.v9k_1, completion);
|
|
780
|
+
i.w9k_1 = value;
|
|
776
781
|
return i;
|
|
777
782
|
};
|
|
778
783
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -785,8 +790,8 @@
|
|
|
785
790
|
}
|
|
786
791
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
787
792
|
CoroutineImpl.call(this, resultContinuation);
|
|
788
|
-
this.
|
|
789
|
-
this.
|
|
793
|
+
this.h9l_1 = _this__u8e3s4;
|
|
794
|
+
this.i9l_1 = collector;
|
|
790
795
|
}
|
|
791
796
|
protoOf($collectCOROUTINE$1).n9 = function () {
|
|
792
797
|
var suspendResult = this.h9_1;
|
|
@@ -797,10 +802,10 @@
|
|
|
797
802
|
case 0:
|
|
798
803
|
this.g9_1 = 2;
|
|
799
804
|
var tmp_0 = this;
|
|
800
|
-
tmp_0.
|
|
805
|
+
tmp_0.j9l_1 = this.i9l_1;
|
|
801
806
|
this.f9_1 = 1;
|
|
802
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
803
|
-
suspendResult = this.
|
|
807
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.j9l_1, null);
|
|
808
|
+
suspendResult = this.h9l_1.k9l_1.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
804
809
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
805
810
|
return suspendResult;
|
|
806
811
|
}
|
|
@@ -823,7 +828,7 @@
|
|
|
823
828
|
while (true);
|
|
824
829
|
};
|
|
825
830
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
826
|
-
this.
|
|
831
|
+
this.t9l_1 = $$this$unsafeFlow;
|
|
827
832
|
CoroutineImpl.call(this, resultContinuation);
|
|
828
833
|
}
|
|
829
834
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).w1h = function (value, $completion) {
|
|
@@ -847,33 +852,33 @@
|
|
|
847
852
|
continue $sm;
|
|
848
853
|
case 1:
|
|
849
854
|
var tmp_0 = this;
|
|
850
|
-
tmp_0.
|
|
855
|
+
tmp_0.w9l_1 = this.t9l_1;
|
|
851
856
|
var tmp_1 = this;
|
|
852
|
-
tmp_1.
|
|
857
|
+
tmp_1.x9l_1 = this.u9l_1;
|
|
853
858
|
var tmp_2 = this;
|
|
854
|
-
tmp_2.
|
|
855
|
-
if (this.
|
|
856
|
-
this.
|
|
859
|
+
tmp_2.y9l_1 = this.x9l_1.n6q_1;
|
|
860
|
+
if (this.y9l_1 == null) {
|
|
861
|
+
this.v9l_1 = Unit_instance;
|
|
857
862
|
this.f9_1 = 4;
|
|
858
863
|
var tmp_3 = this;
|
|
859
864
|
continue $sm;
|
|
860
865
|
} else {
|
|
861
|
-
this.
|
|
866
|
+
this.z9l_1 = this.y9l_1;
|
|
862
867
|
this.f9_1 = 2;
|
|
863
868
|
continue $sm;
|
|
864
869
|
}
|
|
865
870
|
|
|
866
871
|
case 2:
|
|
867
|
-
this.
|
|
872
|
+
this.a9m_1 = this.z9l_1;
|
|
868
873
|
this.f9_1 = 3;
|
|
869
|
-
suspendResult = this.
|
|
874
|
+
suspendResult = this.w9l_1.d18(this.a9m_1, this);
|
|
870
875
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
871
876
|
return suspendResult;
|
|
872
877
|
}
|
|
873
878
|
|
|
874
879
|
continue $sm;
|
|
875
880
|
case 3:
|
|
876
|
-
this.
|
|
881
|
+
this.v9l_1 = suspendResult;
|
|
877
882
|
if (false) {
|
|
878
883
|
this.f9_1 = 1;
|
|
879
884
|
continue $sm;
|
|
@@ -898,8 +903,8 @@
|
|
|
898
903
|
while (true);
|
|
899
904
|
};
|
|
900
905
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).x1h = function (value, completion) {
|
|
901
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
902
|
-
i.
|
|
906
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.t9l_1, completion);
|
|
907
|
+
i.u9l_1 = value;
|
|
903
908
|
return i;
|
|
904
909
|
};
|
|
905
910
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -912,8 +917,8 @@
|
|
|
912
917
|
}
|
|
913
918
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
914
919
|
CoroutineImpl.call(this, resultContinuation);
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
920
|
+
this.j9m_1 = _this__u8e3s4;
|
|
921
|
+
this.k9m_1 = collector;
|
|
917
922
|
}
|
|
918
923
|
protoOf($collectCOROUTINE$2).n9 = function () {
|
|
919
924
|
var suspendResult = this.h9_1;
|
|
@@ -924,10 +929,10 @@
|
|
|
924
929
|
case 0:
|
|
925
930
|
this.g9_1 = 2;
|
|
926
931
|
var tmp_0 = this;
|
|
927
|
-
tmp_0.
|
|
932
|
+
tmp_0.l9m_1 = this.k9m_1;
|
|
928
933
|
this.f9_1 = 1;
|
|
929
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
930
|
-
suspendResult = this.
|
|
934
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.l9m_1, null);
|
|
935
|
+
suspendResult = this.j9m_1.m9m_1.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
931
936
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
932
937
|
return suspendResult;
|
|
933
938
|
}
|
|
@@ -950,7 +955,7 @@
|
|
|
950
955
|
while (true);
|
|
951
956
|
};
|
|
952
957
|
function _no_name_provided__qut3iv_0($this) {
|
|
953
|
-
this.
|
|
958
|
+
this.m9m_1 = $this;
|
|
954
959
|
}
|
|
955
960
|
protoOf(_no_name_provided__qut3iv_0).e18 = function (collector, $completion) {
|
|
956
961
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -962,17 +967,17 @@
|
|
|
962
967
|
return this.e18(collector, $completion);
|
|
963
968
|
};
|
|
964
969
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
965
|
-
this.
|
|
970
|
+
this.v9m_1 = $subscriber;
|
|
966
971
|
CoroutineImpl.call(this, resultContinuation);
|
|
967
972
|
}
|
|
968
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
969
|
-
var tmp = this.
|
|
973
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).x9m = function (it, $completion) {
|
|
974
|
+
var tmp = this.y9m(it, $completion);
|
|
970
975
|
tmp.h9_1 = Unit_instance;
|
|
971
976
|
tmp.i9_1 = null;
|
|
972
977
|
return tmp.n9();
|
|
973
978
|
};
|
|
974
979
|
protoOf(GameServer$subscribeWith$slambda$slambda).x9 = function (p1, $completion) {
|
|
975
|
-
return this.
|
|
980
|
+
return this.x9m(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
976
981
|
};
|
|
977
982
|
protoOf(GameServer$subscribeWith$slambda$slambda).n9 = function () {
|
|
978
983
|
var suspendResult = this.h9_1;
|
|
@@ -981,7 +986,7 @@
|
|
|
981
986
|
var tmp = this.f9_1;
|
|
982
987
|
if (tmp === 0) {
|
|
983
988
|
this.g9_1 = 1;
|
|
984
|
-
this.
|
|
989
|
+
this.v9m_1(this.w9m_1);
|
|
985
990
|
return Unit_instance;
|
|
986
991
|
} else if (tmp === 1) {
|
|
987
992
|
throw this.i9_1;
|
|
@@ -992,64 +997,64 @@
|
|
|
992
997
|
}
|
|
993
998
|
while (true);
|
|
994
999
|
};
|
|
995
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
996
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
997
|
-
i.
|
|
1000
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).y9m = function (it, completion) {
|
|
1001
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.v9m_1, completion);
|
|
1002
|
+
i.w9m_1 = it;
|
|
998
1003
|
return i;
|
|
999
1004
|
};
|
|
1000
1005
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1001
1006
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1002
1007
|
var l = function (it, $completion) {
|
|
1003
|
-
return i.
|
|
1008
|
+
return i.x9m(it, $completion);
|
|
1004
1009
|
};
|
|
1005
1010
|
l.$arity = 1;
|
|
1006
1011
|
return l;
|
|
1007
1012
|
}
|
|
1008
1013
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
1009
|
-
this.
|
|
1014
|
+
this.z9m_1 = $playerId;
|
|
1010
1015
|
}
|
|
1011
1016
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).i6a = function () {
|
|
1012
|
-
return this.
|
|
1017
|
+
return this.z9m_1;
|
|
1013
1018
|
};
|
|
1014
1019
|
function _get_logger__rkp4sl($this) {
|
|
1015
1020
|
// Inline function 'kotlin.getValue' call
|
|
1016
|
-
var this_0 = $this.
|
|
1021
|
+
var this_0 = $this.c9n_1;
|
|
1017
1022
|
logger$factory_0();
|
|
1018
1023
|
return this_0.u();
|
|
1019
1024
|
}
|
|
1020
1025
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1021
1026
|
// Inline function 'kotlin.getValue' call
|
|
1022
|
-
var this_0 = $this.
|
|
1027
|
+
var this_0 = $this.d9n_1;
|
|
1023
1028
|
toClientEventsObserver$factory_0();
|
|
1024
1029
|
return this_0.u();
|
|
1025
1030
|
}
|
|
1026
1031
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1027
1032
|
// Inline function 'kotlin.getValue' call
|
|
1028
|
-
var this_0 = $this.
|
|
1033
|
+
var this_0 = $this.e9n_1;
|
|
1029
1034
|
fromClientEventsObserver$factory_0();
|
|
1030
1035
|
return this_0.u();
|
|
1031
1036
|
}
|
|
1032
1037
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1033
1038
|
// Inline function 'kotlin.getValue' call
|
|
1034
|
-
var this_0 = $this.
|
|
1039
|
+
var this_0 = $this.f9n_1;
|
|
1035
1040
|
playerConnectionInteractor$factory_0();
|
|
1036
1041
|
return this_0.u();
|
|
1037
1042
|
}
|
|
1038
1043
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1039
1044
|
// Inline function 'kotlin.getValue' call
|
|
1040
|
-
var this_0 = $this.
|
|
1045
|
+
var this_0 = $this.g9n_1;
|
|
1041
1046
|
teamsLogicProvider$factory_0();
|
|
1042
1047
|
return this_0.u();
|
|
1043
1048
|
}
|
|
1044
1049
|
function _get_random__h29cgo($this) {
|
|
1045
1050
|
// Inline function 'kotlin.getValue' call
|
|
1046
|
-
var this_0 = $this.
|
|
1051
|
+
var this_0 = $this.h9n_1;
|
|
1047
1052
|
random$factory();
|
|
1048
1053
|
return this_0.u();
|
|
1049
1054
|
}
|
|
1050
1055
|
function _get_idsProvider__fnfajc($this) {
|
|
1051
1056
|
// Inline function 'kotlin.getValue' call
|
|
1052
|
-
var this_0 = $this.
|
|
1057
|
+
var this_0 = $this.i9n_1;
|
|
1053
1058
|
idsProvider$factory_0();
|
|
1054
1059
|
return this_0.u();
|
|
1055
1060
|
}
|
|
@@ -1063,20 +1068,20 @@
|
|
|
1063
1068
|
return transformLatest(this_0, GameServer$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
1064
1069
|
}
|
|
1065
1070
|
function Companion() {
|
|
1066
|
-
this.
|
|
1071
|
+
this.k9n_1 = 'GameEngine_API';
|
|
1067
1072
|
}
|
|
1068
1073
|
var Companion_instance_7;
|
|
1069
1074
|
function Companion_getInstance_0() {
|
|
1070
1075
|
return Companion_instance_7;
|
|
1071
1076
|
}
|
|
1072
1077
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1073
|
-
this.
|
|
1078
|
+
this.l9n_1 = function_0;
|
|
1074
1079
|
}
|
|
1075
1080
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d18 = function (value, $completion) {
|
|
1076
|
-
return this.
|
|
1081
|
+
return this.l9n_1(value, $completion);
|
|
1077
1082
|
};
|
|
1078
1083
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
1079
|
-
return this.
|
|
1084
|
+
return this.l9n_1;
|
|
1080
1085
|
};
|
|
1081
1086
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1082
1087
|
var tmp;
|
|
@@ -1097,13 +1102,13 @@
|
|
|
1097
1102
|
return hashCode(this.p3());
|
|
1098
1103
|
};
|
|
1099
1104
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1100
|
-
this.
|
|
1105
|
+
this.m9n_1 = function_0;
|
|
1101
1106
|
}
|
|
1102
1107
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d18 = function (value, $completion) {
|
|
1103
|
-
return this.
|
|
1108
|
+
return this.m9n_1(value, $completion);
|
|
1104
1109
|
};
|
|
1105
1110
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
1106
|
-
return this.
|
|
1111
|
+
return this.m9n_1;
|
|
1107
1112
|
};
|
|
1108
1113
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1109
1114
|
var tmp;
|
|
@@ -1124,13 +1129,13 @@
|
|
|
1124
1129
|
return hashCode(this.p3());
|
|
1125
1130
|
};
|
|
1126
1131
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1127
|
-
this.
|
|
1132
|
+
this.n9n_1 = function_0;
|
|
1128
1133
|
}
|
|
1129
1134
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).d18 = function (value, $completion) {
|
|
1130
|
-
return this.
|
|
1135
|
+
return this.n9n_1(value, $completion);
|
|
1131
1136
|
};
|
|
1132
1137
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).p3 = function () {
|
|
1133
|
-
return this.
|
|
1138
|
+
return this.n9n_1;
|
|
1134
1139
|
};
|
|
1135
1140
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1136
1141
|
var tmp;
|
|
@@ -1151,13 +1156,13 @@
|
|
|
1151
1156
|
return hashCode(this.p3());
|
|
1152
1157
|
};
|
|
1153
1158
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1154
|
-
this.
|
|
1159
|
+
this.o9n_1 = function_0;
|
|
1155
1160
|
}
|
|
1156
1161
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).d18 = function (value, $completion) {
|
|
1157
|
-
return this.
|
|
1162
|
+
return this.o9n_1(value, $completion);
|
|
1158
1163
|
};
|
|
1159
1164
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p3 = function () {
|
|
1160
|
-
return this.
|
|
1165
|
+
return this.o9n_1;
|
|
1161
1166
|
};
|
|
1162
1167
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1163
1168
|
var tmp;
|
|
@@ -1183,8 +1188,8 @@
|
|
|
1183
1188
|
};
|
|
1184
1189
|
}
|
|
1185
1190
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1186
|
-
this.
|
|
1187
|
-
this.
|
|
1191
|
+
this.x9n_1 = this$0;
|
|
1192
|
+
this.y9n_1 = $subscriber;
|
|
1188
1193
|
CoroutineImpl.call(this, resultContinuation);
|
|
1189
1194
|
}
|
|
1190
1195
|
protoOf(GameServer$subscribeToClientAction$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -1205,8 +1210,8 @@
|
|
|
1205
1210
|
case 0:
|
|
1206
1211
|
this.g9_1 = 2;
|
|
1207
1212
|
this.f9_1 = 1;
|
|
1208
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1209
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1213
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.x9n_1).a9o();
|
|
1214
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.y9n_1, null);
|
|
1210
1215
|
suspendResult = tmp_0.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1211
1216
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1212
1217
|
return suspendResult;
|
|
@@ -1230,8 +1235,8 @@
|
|
|
1230
1235
|
while (true);
|
|
1231
1236
|
};
|
|
1232
1237
|
protoOf(GameServer$subscribeToClientAction$slambda).z1d = function ($this$launchDefault, completion) {
|
|
1233
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1234
|
-
i.
|
|
1238
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.x9n_1, this.y9n_1, completion);
|
|
1239
|
+
i.z9n_1 = $this$launchDefault;
|
|
1235
1240
|
return i;
|
|
1236
1241
|
};
|
|
1237
1242
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1243,8 +1248,8 @@
|
|
|
1243
1248
|
return l;
|
|
1244
1249
|
}
|
|
1245
1250
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1246
|
-
this.
|
|
1247
|
-
this.
|
|
1251
|
+
this.j9o_1 = this$0;
|
|
1252
|
+
this.k9o_1 = $subscriber;
|
|
1248
1253
|
CoroutineImpl.call(this, resultContinuation);
|
|
1249
1254
|
}
|
|
1250
1255
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -1265,9 +1270,9 @@
|
|
|
1265
1270
|
case 0:
|
|
1266
1271
|
this.g9_1 = 2;
|
|
1267
1272
|
this.f9_1 = 1;
|
|
1268
|
-
var this_0 = observeTableWhenRoundChanges(this.
|
|
1269
|
-
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1270
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.
|
|
1273
|
+
var this_0 = observeTableWhenRoundChanges(this.j9o_1, this.j9o_1.m6q());
|
|
1274
|
+
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.j9o_1, null));
|
|
1275
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.k9o_1, null);
|
|
1271
1276
|
suspendResult = tmp_0.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1272
1277
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1273
1278
|
return suspendResult;
|
|
@@ -1291,8 +1296,8 @@
|
|
|
1291
1296
|
while (true);
|
|
1292
1297
|
};
|
|
1293
1298
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z1d = function ($this$launchDefault, completion) {
|
|
1294
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1295
|
-
i.
|
|
1299
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.j9o_1, this.k9o_1, completion);
|
|
1300
|
+
i.l9o_1 = $this$launchDefault;
|
|
1296
1301
|
return i;
|
|
1297
1302
|
};
|
|
1298
1303
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1304,7 +1309,7 @@
|
|
|
1304
1309
|
return l;
|
|
1305
1310
|
}
|
|
1306
1311
|
function _no_name_provided__qut3iv_1($this) {
|
|
1307
|
-
this.
|
|
1312
|
+
this.k9l_1 = $this;
|
|
1308
1313
|
}
|
|
1309
1314
|
protoOf(_no_name_provided__qut3iv_1).e18 = function (collector, $completion) {
|
|
1310
1315
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -1316,18 +1321,18 @@
|
|
|
1316
1321
|
return this.e18(collector, $completion);
|
|
1317
1322
|
};
|
|
1318
1323
|
function GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
1319
|
-
this.
|
|
1324
|
+
this.u9o_1 = $observeState;
|
|
1320
1325
|
CoroutineImpl.call(this, resultContinuation);
|
|
1321
1326
|
}
|
|
1322
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1323
|
-
var tmp = this.
|
|
1327
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).z9j = function ($this$transformLatest, it, $completion) {
|
|
1328
|
+
var tmp = this.a9k($this$transformLatest, it, $completion);
|
|
1324
1329
|
tmp.h9_1 = Unit_instance;
|
|
1325
1330
|
tmp.i9_1 = null;
|
|
1326
1331
|
return tmp.n9();
|
|
1327
1332
|
};
|
|
1328
1333
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).y9 = function (p1, p2, $completion) {
|
|
1329
1334
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1330
|
-
return this.
|
|
1335
|
+
return this.z9j(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1331
1336
|
};
|
|
1332
1337
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).n9 = function () {
|
|
1333
1338
|
var suspendResult = this.h9_1;
|
|
@@ -1338,9 +1343,9 @@
|
|
|
1338
1343
|
case 0:
|
|
1339
1344
|
this.g9_1 = 2;
|
|
1340
1345
|
this.f9_1 = 1;
|
|
1341
|
-
this.
|
|
1342
|
-
var this_0 = this.
|
|
1343
|
-
suspendResult = emitAll(this.
|
|
1346
|
+
this.w9o_1;
|
|
1347
|
+
var this_0 = this.u9o_1;
|
|
1348
|
+
suspendResult = emitAll(this.v9o_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
1344
1349
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1345
1350
|
return suspendResult;
|
|
1346
1351
|
}
|
|
@@ -1362,23 +1367,23 @@
|
|
|
1362
1367
|
}
|
|
1363
1368
|
while (true);
|
|
1364
1369
|
};
|
|
1365
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1366
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.
|
|
1367
|
-
i.
|
|
1368
|
-
i.
|
|
1370
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).a9k = function ($this$transformLatest, it, completion) {
|
|
1371
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.u9o_1, completion);
|
|
1372
|
+
i.v9o_1 = $this$transformLatest;
|
|
1373
|
+
i.w9o_1 = it;
|
|
1369
1374
|
return i;
|
|
1370
1375
|
};
|
|
1371
1376
|
function GameServer$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
1372
1377
|
var i = new GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
1373
1378
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1374
|
-
return i.
|
|
1379
|
+
return i.z9j($this$transformLatest, it, $completion);
|
|
1375
1380
|
};
|
|
1376
1381
|
l.$arity = 2;
|
|
1377
1382
|
return l;
|
|
1378
1383
|
}
|
|
1379
1384
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1380
|
-
this.
|
|
1381
|
-
this.
|
|
1385
|
+
this.f9p_1 = this$0;
|
|
1386
|
+
this.g9p_1 = $subscriber;
|
|
1382
1387
|
CoroutineImpl.call(this, resultContinuation);
|
|
1383
1388
|
}
|
|
1384
1389
|
protoOf(GameServer$subscribeWith$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -1399,8 +1404,8 @@
|
|
|
1399
1404
|
case 0:
|
|
1400
1405
|
this.g9_1 = 2;
|
|
1401
1406
|
this.f9_1 = 1;
|
|
1402
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1403
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1407
|
+
var tmp_0 = distinctUntilChanged(this.f9p_1.m6q());
|
|
1408
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.g9p_1, null);
|
|
1404
1409
|
suspendResult = tmp_0.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
1405
1410
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1406
1411
|
return suspendResult;
|
|
@@ -1424,8 +1429,8 @@
|
|
|
1424
1429
|
while (true);
|
|
1425
1430
|
};
|
|
1426
1431
|
protoOf(GameServer$subscribeWith$slambda).z1d = function ($this$launchDefault, completion) {
|
|
1427
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1428
|
-
i.
|
|
1432
|
+
var i = new GameServer$subscribeWith$slambda(this.f9p_1, this.g9p_1, completion);
|
|
1433
|
+
i.h9p_1 = $this$launchDefault;
|
|
1429
1434
|
return i;
|
|
1430
1435
|
};
|
|
1431
1436
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1437,18 +1442,18 @@
|
|
|
1437
1442
|
return l;
|
|
1438
1443
|
}
|
|
1439
1444
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1440
|
-
this.
|
|
1445
|
+
this.q9p_1 = $action;
|
|
1441
1446
|
CoroutineImpl.call(this, resultContinuation);
|
|
1442
1447
|
}
|
|
1443
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1444
|
-
var tmp = this.
|
|
1448
|
+
protoOf(GameServer$fromClientEvent$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1449
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1445
1450
|
tmp.h9_1 = Unit_instance;
|
|
1446
1451
|
tmp.i9_1 = null;
|
|
1447
1452
|
return tmp.n9();
|
|
1448
1453
|
};
|
|
1449
1454
|
protoOf(GameServer$fromClientEvent$slambda).y9 = function (p1, p2, $completion) {
|
|
1450
1455
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1451
|
-
return this.
|
|
1456
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1452
1457
|
};
|
|
1453
1458
|
protoOf(GameServer$fromClientEvent$slambda).n9 = function () {
|
|
1454
1459
|
var suspendResult = this.h9_1;
|
|
@@ -1457,11 +1462,11 @@
|
|
|
1457
1462
|
var tmp = this.f9_1;
|
|
1458
1463
|
if (tmp === 0) {
|
|
1459
1464
|
this.g9_1 = 1;
|
|
1460
|
-
if (this.
|
|
1461
|
-
if (!get_isCreated(this.
|
|
1465
|
+
if (this.q9p_1 instanceof PlayerReadyFromClientAction)
|
|
1466
|
+
if (!get_isCreated(this.s9p_1.state)) {
|
|
1462
1467
|
return Unit_instance;
|
|
1463
1468
|
}
|
|
1464
|
-
this.
|
|
1469
|
+
this.s9p_1.dispatch(this.q9p_1);
|
|
1465
1470
|
return Unit_instance;
|
|
1466
1471
|
} else if (tmp === 1) {
|
|
1467
1472
|
throw this.i9_1;
|
|
@@ -1472,33 +1477,33 @@
|
|
|
1472
1477
|
}
|
|
1473
1478
|
while (true);
|
|
1474
1479
|
};
|
|
1475
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1476
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1477
|
-
i.
|
|
1478
|
-
i.
|
|
1480
|
+
protoOf(GameServer$fromClientEvent$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1481
|
+
var i = new GameServer$fromClientEvent$slambda(this.q9p_1, completion);
|
|
1482
|
+
i.r9p_1 = $this$dispatchAsync;
|
|
1483
|
+
i.s9p_1 = store;
|
|
1479
1484
|
return i;
|
|
1480
1485
|
};
|
|
1481
1486
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1482
1487
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1483
1488
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1484
|
-
return i.
|
|
1489
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1485
1490
|
};
|
|
1486
1491
|
l.$arity = 2;
|
|
1487
1492
|
return l;
|
|
1488
1493
|
}
|
|
1489
1494
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1490
|
-
this.
|
|
1495
|
+
this.d9q_1 = $playerId;
|
|
1491
1496
|
CoroutineImpl.call(this, resultContinuation);
|
|
1492
1497
|
}
|
|
1493
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1494
|
-
var tmp = this.
|
|
1498
|
+
protoOf(GameServer$playerLostConnection$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1499
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1495
1500
|
tmp.h9_1 = Unit_instance;
|
|
1496
1501
|
tmp.i9_1 = null;
|
|
1497
1502
|
return tmp.n9();
|
|
1498
1503
|
};
|
|
1499
1504
|
protoOf(GameServer$playerLostConnection$slambda).y9 = function (p1, p2, $completion) {
|
|
1500
1505
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1501
|
-
return this.
|
|
1506
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1502
1507
|
};
|
|
1503
1508
|
protoOf(GameServer$playerLostConnection$slambda).n9 = function () {
|
|
1504
1509
|
var suspendResult = this.h9_1;
|
|
@@ -1507,12 +1512,12 @@
|
|
|
1507
1512
|
var tmp = this.f9_1;
|
|
1508
1513
|
if (tmp === 0) {
|
|
1509
1514
|
this.g9_1 = 1;
|
|
1510
|
-
if (!get_isCreated(this.
|
|
1515
|
+
if (!get_isCreated(this.f9q_1.state)) {
|
|
1511
1516
|
return Unit_instance;
|
|
1512
1517
|
}
|
|
1513
|
-
var tmp_0 = this.
|
|
1518
|
+
var tmp_0 = this.f9q_1.dispatch;
|
|
1514
1519
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1515
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1520
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.d9q_1));
|
|
1516
1521
|
return Unit_instance;
|
|
1517
1522
|
} else if (tmp === 1) {
|
|
1518
1523
|
throw this.i9_1;
|
|
@@ -1523,34 +1528,34 @@
|
|
|
1523
1528
|
}
|
|
1524
1529
|
while (true);
|
|
1525
1530
|
};
|
|
1526
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1527
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
1528
|
-
i.
|
|
1529
|
-
i.
|
|
1531
|
+
protoOf(GameServer$playerLostConnection$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1532
|
+
var i = new GameServer$playerLostConnection$slambda(this.d9q_1, completion);
|
|
1533
|
+
i.e9q_1 = $this$dispatchAsync;
|
|
1534
|
+
i.f9q_1 = store;
|
|
1530
1535
|
return i;
|
|
1531
1536
|
};
|
|
1532
1537
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
1533
1538
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
1534
1539
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1535
|
-
return i.
|
|
1540
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1536
1541
|
};
|
|
1537
1542
|
l.$arity = 2;
|
|
1538
1543
|
return l;
|
|
1539
1544
|
}
|
|
1540
1545
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
1541
|
-
this.
|
|
1542
|
-
this.
|
|
1546
|
+
this.o9q_1 = this$0;
|
|
1547
|
+
this.p9q_1 = $playerId;
|
|
1543
1548
|
CoroutineImpl.call(this, resultContinuation);
|
|
1544
1549
|
}
|
|
1545
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1546
|
-
var tmp = this.
|
|
1550
|
+
protoOf(GameServer$playerLive$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1551
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1547
1552
|
tmp.h9_1 = Unit_instance;
|
|
1548
1553
|
tmp.i9_1 = null;
|
|
1549
1554
|
return tmp.n9();
|
|
1550
1555
|
};
|
|
1551
1556
|
protoOf(GameServer$playerLive$slambda).y9 = function (p1, p2, $completion) {
|
|
1552
1557
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1553
|
-
return this.
|
|
1558
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1554
1559
|
};
|
|
1555
1560
|
protoOf(GameServer$playerLive$slambda).n9 = function () {
|
|
1556
1561
|
var suspendResult = this.h9_1;
|
|
@@ -1559,12 +1564,16 @@
|
|
|
1559
1564
|
var tmp = this.f9_1;
|
|
1560
1565
|
if (tmp === 0) {
|
|
1561
1566
|
this.g9_1 = 1;
|
|
1562
|
-
if (
|
|
1567
|
+
if (get_isFinished(this.r9q_1.state) || get_isFinishing(this.r9q_1.state)) {
|
|
1568
|
+
return Unit_instance;
|
|
1569
|
+
}
|
|
1570
|
+
if (!get_isCreated(this.r9q_1.state) || !this.o9q_1.h6b().q6r()) {
|
|
1571
|
+
_get_logger__rkp4sl(this.o9q_1).w('GameEngine_API', 'playerLive: ' + this.p9q_1 + ' before game is created');
|
|
1563
1572
|
return Unit_instance;
|
|
1564
1573
|
}
|
|
1565
|
-
var tmp_0 = this.
|
|
1574
|
+
var tmp_0 = this.r9q_1.dispatch;
|
|
1566
1575
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1567
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1576
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.p9q_1));
|
|
1568
1577
|
return Unit_instance;
|
|
1569
1578
|
} else if (tmp === 1) {
|
|
1570
1579
|
throw this.i9_1;
|
|
@@ -1575,34 +1584,34 @@
|
|
|
1575
1584
|
}
|
|
1576
1585
|
while (true);
|
|
1577
1586
|
};
|
|
1578
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1579
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
1580
|
-
i.
|
|
1581
|
-
i.
|
|
1587
|
+
protoOf(GameServer$playerLive$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1588
|
+
var i = new GameServer$playerLive$slambda(this.o9q_1, this.p9q_1, completion);
|
|
1589
|
+
i.q9q_1 = $this$dispatchAsync;
|
|
1590
|
+
i.r9q_1 = store;
|
|
1582
1591
|
return i;
|
|
1583
1592
|
};
|
|
1584
1593
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1585
1594
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
1586
1595
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1587
|
-
return i.
|
|
1596
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1588
1597
|
};
|
|
1589
1598
|
l.$arity = 2;
|
|
1590
1599
|
return l;
|
|
1591
1600
|
}
|
|
1592
1601
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
1593
|
-
this.
|
|
1594
|
-
this.
|
|
1602
|
+
this.a9r_1 = this$0;
|
|
1603
|
+
this.b9r_1 = $playerId;
|
|
1595
1604
|
CoroutineImpl.call(this, resultContinuation);
|
|
1596
1605
|
}
|
|
1597
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1598
|
-
var tmp = this.
|
|
1606
|
+
protoOf(GameServer$playerLeft$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1607
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1599
1608
|
tmp.h9_1 = Unit_instance;
|
|
1600
1609
|
tmp.i9_1 = null;
|
|
1601
1610
|
return tmp.n9();
|
|
1602
1611
|
};
|
|
1603
1612
|
protoOf(GameServer$playerLeft$slambda).y9 = function (p1, p2, $completion) {
|
|
1604
1613
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1605
|
-
return this.
|
|
1614
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1606
1615
|
};
|
|
1607
1616
|
protoOf(GameServer$playerLeft$slambda).n9 = function () {
|
|
1608
1617
|
var suspendResult = this.h9_1;
|
|
@@ -1611,13 +1620,16 @@
|
|
|
1611
1620
|
var tmp = this.f9_1;
|
|
1612
1621
|
if (tmp === 0) {
|
|
1613
1622
|
this.g9_1 = 1;
|
|
1614
|
-
if (
|
|
1615
|
-
_get_logger__rkp4sl(this.z9q_1).w('GameEngine_API', 'playerLeft: ' + this.a9r_1 + ' called before the game start');
|
|
1623
|
+
if (get_isFinished(this.d9r_1.state) || get_isFinishing(this.d9r_1.state)) {
|
|
1616
1624
|
return Unit_instance;
|
|
1617
1625
|
}
|
|
1618
|
-
|
|
1626
|
+
if (!get_isCreated(this.d9r_1.state) || !this.a9r_1.h6b().q6r()) {
|
|
1627
|
+
_get_logger__rkp4sl(this.a9r_1).w('GameEngine_API', 'playerLeft: ' + this.b9r_1 + ' before game is created');
|
|
1628
|
+
return Unit_instance;
|
|
1629
|
+
}
|
|
1630
|
+
var tmp_0 = this.d9r_1.dispatch;
|
|
1619
1631
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1620
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1632
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.b9r_1));
|
|
1621
1633
|
return Unit_instance;
|
|
1622
1634
|
} else if (tmp === 1) {
|
|
1623
1635
|
throw this.i9_1;
|
|
@@ -1628,39 +1640,39 @@
|
|
|
1628
1640
|
}
|
|
1629
1641
|
while (true);
|
|
1630
1642
|
};
|
|
1631
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1632
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1633
|
-
i.
|
|
1634
|
-
i.
|
|
1643
|
+
protoOf(GameServer$playerLeft$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1644
|
+
var i = new GameServer$playerLeft$slambda(this.a9r_1, this.b9r_1, completion);
|
|
1645
|
+
i.c9r_1 = $this$dispatchAsync;
|
|
1646
|
+
i.d9r_1 = store;
|
|
1635
1647
|
return i;
|
|
1636
1648
|
};
|
|
1637
1649
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1638
1650
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
1639
1651
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1640
|
-
return i.
|
|
1652
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1641
1653
|
};
|
|
1642
1654
|
l.$arity = 2;
|
|
1643
1655
|
return l;
|
|
1644
1656
|
}
|
|
1645
1657
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1646
|
-
this.
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1658
|
+
this.m9r_1 = $usersArray;
|
|
1659
|
+
this.n9r_1 = $config;
|
|
1660
|
+
this.o9r_1 = this$0;
|
|
1661
|
+
this.p9r_1 = $roomId;
|
|
1662
|
+
this.q9r_1 = $transition;
|
|
1663
|
+
this.r9r_1 = $gameCreatorId;
|
|
1664
|
+
this.s9r_1 = $spectators;
|
|
1653
1665
|
CoroutineImpl.call(this, resultContinuation);
|
|
1654
1666
|
}
|
|
1655
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1656
|
-
var tmp = this.
|
|
1667
|
+
protoOf(GameServer$roomOnCreate$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1668
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1657
1669
|
tmp.h9_1 = Unit_instance;
|
|
1658
1670
|
tmp.i9_1 = null;
|
|
1659
1671
|
return tmp.n9();
|
|
1660
1672
|
};
|
|
1661
1673
|
protoOf(GameServer$roomOnCreate$slambda).y9 = function (p1, p2, $completion) {
|
|
1662
1674
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1663
|
-
return this.
|
|
1675
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1664
1676
|
};
|
|
1665
1677
|
protoOf(GameServer$roomOnCreate$slambda).n9 = function () {
|
|
1666
1678
|
var suspendResult = this.h9_1;
|
|
@@ -1669,21 +1681,21 @@
|
|
|
1669
1681
|
var tmp = this.f9_1;
|
|
1670
1682
|
if (tmp === 0) {
|
|
1671
1683
|
this.g9_1 = 1;
|
|
1672
|
-
var users = toList(this.
|
|
1673
|
-
if (!(this.
|
|
1674
|
-
_get_logger__rkp4sl(this.
|
|
1675
|
-
this.
|
|
1684
|
+
var users = toList(this.m9r_1);
|
|
1685
|
+
if (!(this.n9r_1.playersMode.count === users.m())) {
|
|
1686
|
+
_get_logger__rkp4sl(this.o9r_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.p9r_1 + ', config = ' + this.n9r_1.toString() + ', users = ' + toString(users));
|
|
1687
|
+
this.u9r_1.dispatch(Companion_instance.withAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.o9r_1.table.isGameFinished, this.o9r_1.table));
|
|
1676
1688
|
return Unit_instance;
|
|
1677
1689
|
}
|
|
1678
1690
|
var tmp_0;
|
|
1679
|
-
if (this.
|
|
1680
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
1691
|
+
if (this.n9r_1.mode.shufflePlayers && this.q9r_1 == null) {
|
|
1692
|
+
tmp_0 = _get_random__h29cgo(this.o9r_1).d5w(toMutableList(users));
|
|
1681
1693
|
} else {
|
|
1682
|
-
var tmp0_safe_receiver = this.
|
|
1694
|
+
var tmp0_safe_receiver = this.q9r_1;
|
|
1683
1695
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1684
1696
|
var tmp_1;
|
|
1685
|
-
if (!(previousPlayers == null) && this.
|
|
1686
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1697
|
+
if (!(previousPlayers == null) && this.n9r_1.playersMode.isTeamGame) {
|
|
1698
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.o9r_1);
|
|
1687
1699
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1688
1700
|
var tmp0_iterator = previousPlayers.j();
|
|
1689
1701
|
while (tmp0_iterator.k()) {
|
|
@@ -1714,19 +1726,19 @@
|
|
|
1714
1726
|
destination_1.e(destination_2);
|
|
1715
1727
|
}
|
|
1716
1728
|
var updatedTeams = destination_1;
|
|
1717
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1729
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.o9r_1).l8m(updatedTeams);
|
|
1718
1730
|
} else {
|
|
1719
1731
|
tmp_1 = users;
|
|
1720
1732
|
}
|
|
1721
1733
|
tmp_0 = tmp_1;
|
|
1722
1734
|
}
|
|
1723
1735
|
var updatedUsers = tmp_0;
|
|
1724
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1725
|
-
var tmp_3 = this.
|
|
1726
|
-
var tmp1_version = GameEngineConfig_instance
|
|
1736
|
+
var gameCreatorUser = getPlayer(users, this.r9r_1);
|
|
1737
|
+
var tmp_3 = this.u9r_1.dispatch;
|
|
1738
|
+
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
1727
1739
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
1728
|
-
var tmp3_spectators = toList(this.
|
|
1729
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1740
|
+
var tmp3_spectators = toList(this.s9r_1);
|
|
1741
|
+
tmp_3(new StartGameMechanicAction(this.n9r_1, this.p9r_1, tmp1_version, this.r9r_1, tmp2_users, VOID, tmp3_spectators));
|
|
1730
1742
|
return Unit_instance;
|
|
1731
1743
|
} else if (tmp === 1) {
|
|
1732
1744
|
throw this.i9_1;
|
|
@@ -1737,33 +1749,33 @@
|
|
|
1737
1749
|
}
|
|
1738
1750
|
while (true);
|
|
1739
1751
|
};
|
|
1740
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1741
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1742
|
-
i.
|
|
1743
|
-
i.
|
|
1752
|
+
protoOf(GameServer$roomOnCreate$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1753
|
+
var i = new GameServer$roomOnCreate$slambda(this.m9r_1, this.n9r_1, this.o9r_1, this.p9r_1, this.q9r_1, this.r9r_1, this.s9r_1, completion);
|
|
1754
|
+
i.t9r_1 = $this$dispatchAsync;
|
|
1755
|
+
i.u9r_1 = store;
|
|
1744
1756
|
return i;
|
|
1745
1757
|
};
|
|
1746
1758
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1747
1759
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
1748
1760
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1749
|
-
return i.
|
|
1761
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1750
1762
|
};
|
|
1751
1763
|
l.$arity = 2;
|
|
1752
1764
|
return l;
|
|
1753
1765
|
}
|
|
1754
1766
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1755
|
-
this.
|
|
1767
|
+
this.d9s_1 = $state;
|
|
1756
1768
|
CoroutineImpl.call(this, resultContinuation);
|
|
1757
1769
|
}
|
|
1758
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1759
|
-
var tmp = this.
|
|
1770
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1771
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1760
1772
|
tmp.h9_1 = Unit_instance;
|
|
1761
1773
|
tmp.i9_1 = null;
|
|
1762
1774
|
return tmp.n9();
|
|
1763
1775
|
};
|
|
1764
1776
|
protoOf(GameServer$roomOnContinueFromState$slambda).y9 = function (p1, p2, $completion) {
|
|
1765
1777
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1766
|
-
return this.
|
|
1778
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1767
1779
|
};
|
|
1768
1780
|
protoOf(GameServer$roomOnContinueFromState$slambda).n9 = function () {
|
|
1769
1781
|
var suspendResult = this.h9_1;
|
|
@@ -1772,9 +1784,9 @@
|
|
|
1772
1784
|
var tmp = this.f9_1;
|
|
1773
1785
|
if (tmp === 0) {
|
|
1774
1786
|
this.g9_1 = 1;
|
|
1775
|
-
var tmp_0 = this.
|
|
1787
|
+
var tmp_0 = this.f9s_1.dispatch;
|
|
1776
1788
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1777
|
-
var tmp1_table = this.
|
|
1789
|
+
var tmp1_table = this.d9s_1.table;
|
|
1778
1790
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1779
1791
|
return Unit_instance;
|
|
1780
1792
|
} else if (tmp === 1) {
|
|
@@ -1786,33 +1798,33 @@
|
|
|
1786
1798
|
}
|
|
1787
1799
|
while (true);
|
|
1788
1800
|
};
|
|
1789
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1790
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1791
|
-
i.
|
|
1792
|
-
i.
|
|
1801
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1802
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.d9s_1, completion);
|
|
1803
|
+
i.e9s_1 = $this$dispatchAsync;
|
|
1804
|
+
i.f9s_1 = store;
|
|
1793
1805
|
return i;
|
|
1794
1806
|
};
|
|
1795
1807
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1796
1808
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1797
1809
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1798
|
-
return i.
|
|
1810
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1799
1811
|
};
|
|
1800
1812
|
l.$arity = 2;
|
|
1801
1813
|
return l;
|
|
1802
1814
|
}
|
|
1803
1815
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1804
|
-
this.
|
|
1816
|
+
this.o9s_1 = $state;
|
|
1805
1817
|
CoroutineImpl.call(this, resultContinuation);
|
|
1806
1818
|
}
|
|
1807
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1808
|
-
var tmp = this.
|
|
1819
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1820
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1809
1821
|
tmp.h9_1 = Unit_instance;
|
|
1810
1822
|
tmp.i9_1 = null;
|
|
1811
1823
|
return tmp.n9();
|
|
1812
1824
|
};
|
|
1813
1825
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1814
1826
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1815
|
-
return this.
|
|
1827
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1816
1828
|
};
|
|
1817
1829
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).n9 = function () {
|
|
1818
1830
|
var suspendResult = this.h9_1;
|
|
@@ -1821,10 +1833,10 @@
|
|
|
1821
1833
|
var tmp = this.f9_1;
|
|
1822
1834
|
if (tmp === 0) {
|
|
1823
1835
|
this.g9_1 = 1;
|
|
1824
|
-
var tmp0_iterator = this.
|
|
1836
|
+
var tmp0_iterator = this.o9s_1.actions.j();
|
|
1825
1837
|
while (tmp0_iterator.k()) {
|
|
1826
1838
|
var element = tmp0_iterator.l();
|
|
1827
|
-
this.
|
|
1839
|
+
this.q9s_1.dispatch(element);
|
|
1828
1840
|
}
|
|
1829
1841
|
return Unit_instance;
|
|
1830
1842
|
} else if (tmp === 1) {
|
|
@@ -1836,35 +1848,35 @@
|
|
|
1836
1848
|
}
|
|
1837
1849
|
while (true);
|
|
1838
1850
|
};
|
|
1839
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1840
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1841
|
-
i.
|
|
1842
|
-
i.
|
|
1851
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1852
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.o9s_1, completion);
|
|
1853
|
+
i.p9s_1 = $this$dispatchAsync;
|
|
1854
|
+
i.q9s_1 = store;
|
|
1843
1855
|
return i;
|
|
1844
1856
|
};
|
|
1845
1857
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1846
1858
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1847
1859
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1848
|
-
return i.
|
|
1860
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1849
1861
|
};
|
|
1850
1862
|
l.$arity = 2;
|
|
1851
1863
|
return l;
|
|
1852
1864
|
}
|
|
1853
1865
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1854
|
-
this.
|
|
1855
|
-
this.
|
|
1856
|
-
this.
|
|
1866
|
+
this.z9s_1 = $tableLite;
|
|
1867
|
+
this.a9t_1 = $roomId;
|
|
1868
|
+
this.b9t_1 = this$0;
|
|
1857
1869
|
CoroutineImpl.call(this, resultContinuation);
|
|
1858
1870
|
}
|
|
1859
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1860
|
-
var tmp = this.
|
|
1871
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1872
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1861
1873
|
tmp.h9_1 = Unit_instance;
|
|
1862
1874
|
tmp.i9_1 = null;
|
|
1863
1875
|
return tmp.n9();
|
|
1864
1876
|
};
|
|
1865
1877
|
protoOf(GameServer$roomOnContinueFromRound$slambda).y9 = function (p1, p2, $completion) {
|
|
1866
1878
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1867
|
-
return this.
|
|
1879
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1868
1880
|
};
|
|
1869
1881
|
protoOf(GameServer$roomOnContinueFromRound$slambda).n9 = function () {
|
|
1870
1882
|
var suspendResult = this.h9_1;
|
|
@@ -1873,9 +1885,9 @@
|
|
|
1873
1885
|
var tmp = this.f9_1;
|
|
1874
1886
|
if (tmp === 0) {
|
|
1875
1887
|
this.g9_1 = 1;
|
|
1876
|
-
var tmp_0 = this.
|
|
1877
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1878
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
1888
|
+
var tmp_0 = this.d9t_1.dispatch;
|
|
1889
|
+
var tmp0_reason = new RestartRoundReason(this.z9s_1.gameInfo.round.roundNumber);
|
|
1890
|
+
var tmp1_table = Companion_instance_0.restartRound(this.a9t_1, _get_idsProvider__fnfajc(this.b9t_1).v6h(), get_versionOrDefault(GameEngineConfig_instance), this.z9s_1);
|
|
1879
1891
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1880
1892
|
return Unit_instance;
|
|
1881
1893
|
} else if (tmp === 1) {
|
|
@@ -1887,16 +1899,16 @@
|
|
|
1887
1899
|
}
|
|
1888
1900
|
while (true);
|
|
1889
1901
|
};
|
|
1890
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1891
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1892
|
-
i.
|
|
1893
|
-
i.
|
|
1902
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1903
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.z9s_1, this.a9t_1, this.b9t_1, completion);
|
|
1904
|
+
i.c9t_1 = $this$dispatchAsync;
|
|
1905
|
+
i.d9t_1 = store;
|
|
1894
1906
|
return i;
|
|
1895
1907
|
};
|
|
1896
1908
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1897
1909
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1898
1910
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1899
|
-
return i.
|
|
1911
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1900
1912
|
};
|
|
1901
1913
|
l.$arity = 2;
|
|
1902
1914
|
return l;
|
|
@@ -1904,15 +1916,15 @@
|
|
|
1904
1916
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1905
1917
|
CoroutineImpl.call(this, resultContinuation);
|
|
1906
1918
|
}
|
|
1907
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1908
|
-
var tmp = this.
|
|
1919
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1920
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1909
1921
|
tmp.h9_1 = Unit_instance;
|
|
1910
1922
|
tmp.i9_1 = null;
|
|
1911
1923
|
return tmp.n9();
|
|
1912
1924
|
};
|
|
1913
1925
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1914
1926
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1915
|
-
return this.
|
|
1927
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1916
1928
|
};
|
|
1917
1929
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9 = function () {
|
|
1918
1930
|
var suspendResult = this.h9_1;
|
|
@@ -1921,7 +1933,7 @@
|
|
|
1921
1933
|
var tmp = this.f9_1;
|
|
1922
1934
|
if (tmp === 0) {
|
|
1923
1935
|
this.g9_1 = 1;
|
|
1924
|
-
this.
|
|
1936
|
+
this.n9t_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1925
1937
|
return Unit_instance;
|
|
1926
1938
|
} else if (tmp === 1) {
|
|
1927
1939
|
throw this.i9_1;
|
|
@@ -1932,33 +1944,33 @@
|
|
|
1932
1944
|
}
|
|
1933
1945
|
while (true);
|
|
1934
1946
|
};
|
|
1935
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1947
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1936
1948
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1937
|
-
i.
|
|
1938
|
-
i.
|
|
1949
|
+
i.m9t_1 = $this$dispatchAsync;
|
|
1950
|
+
i.n9t_1 = store;
|
|
1939
1951
|
return i;
|
|
1940
1952
|
};
|
|
1941
1953
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1942
1954
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1943
1955
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1944
|
-
return i.
|
|
1956
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1945
1957
|
};
|
|
1946
1958
|
l.$arity = 2;
|
|
1947
1959
|
return l;
|
|
1948
1960
|
}
|
|
1949
1961
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1950
|
-
this.
|
|
1962
|
+
this.w9t_1 = $spectators;
|
|
1951
1963
|
CoroutineImpl.call(this, resultContinuation);
|
|
1952
1964
|
}
|
|
1953
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1954
|
-
var tmp = this.
|
|
1965
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
1966
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
1955
1967
|
tmp.h9_1 = Unit_instance;
|
|
1956
1968
|
tmp.i9_1 = null;
|
|
1957
1969
|
return tmp.n9();
|
|
1958
1970
|
};
|
|
1959
1971
|
protoOf(GameServer$addSpectatorsToRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
1960
1972
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1961
|
-
return this.
|
|
1973
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1962
1974
|
};
|
|
1963
1975
|
protoOf(GameServer$addSpectatorsToRoom$slambda).n9 = function () {
|
|
1964
1976
|
var suspendResult = this.h9_1;
|
|
@@ -1967,7 +1979,7 @@
|
|
|
1967
1979
|
var tmp = this.f9_1;
|
|
1968
1980
|
if (tmp === 0) {
|
|
1969
1981
|
this.g9_1 = 1;
|
|
1970
|
-
this.
|
|
1982
|
+
this.y9t_1.dispatch(new AddSpectatorsAction(toList(this.w9t_1)));
|
|
1971
1983
|
return Unit_instance;
|
|
1972
1984
|
} else if (tmp === 1) {
|
|
1973
1985
|
throw this.i9_1;
|
|
@@ -1978,33 +1990,33 @@
|
|
|
1978
1990
|
}
|
|
1979
1991
|
while (true);
|
|
1980
1992
|
};
|
|
1981
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1982
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1983
|
-
i.
|
|
1984
|
-
i.
|
|
1993
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
1994
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.w9t_1, completion);
|
|
1995
|
+
i.x9t_1 = $this$dispatchAsync;
|
|
1996
|
+
i.y9t_1 = store;
|
|
1985
1997
|
return i;
|
|
1986
1998
|
};
|
|
1987
1999
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1988
2000
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1989
2001
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1990
|
-
return i.
|
|
2002
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
1991
2003
|
};
|
|
1992
2004
|
l.$arity = 2;
|
|
1993
2005
|
return l;
|
|
1994
2006
|
}
|
|
1995
2007
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1996
|
-
this.
|
|
2008
|
+
this.h9u_1 = $spectators;
|
|
1997
2009
|
CoroutineImpl.call(this, resultContinuation);
|
|
1998
2010
|
}
|
|
1999
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2000
|
-
var tmp = this.
|
|
2011
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
2012
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
2001
2013
|
tmp.h9_1 = Unit_instance;
|
|
2002
2014
|
tmp.i9_1 = null;
|
|
2003
2015
|
return tmp.n9();
|
|
2004
2016
|
};
|
|
2005
2017
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
2006
2018
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2007
|
-
return this.
|
|
2019
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2008
2020
|
};
|
|
2009
2021
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).n9 = function () {
|
|
2010
2022
|
var suspendResult = this.h9_1;
|
|
@@ -2013,7 +2025,7 @@
|
|
|
2013
2025
|
var tmp = this.f9_1;
|
|
2014
2026
|
if (tmp === 0) {
|
|
2015
2027
|
this.g9_1 = 1;
|
|
2016
|
-
this.
|
|
2028
|
+
this.j9u_1.dispatch(new RemoveSpectatorsAction(toList(this.h9u_1)));
|
|
2017
2029
|
return Unit_instance;
|
|
2018
2030
|
} else if (tmp === 1) {
|
|
2019
2031
|
throw this.i9_1;
|
|
@@ -2024,34 +2036,34 @@
|
|
|
2024
2036
|
}
|
|
2025
2037
|
while (true);
|
|
2026
2038
|
};
|
|
2027
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2028
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2029
|
-
i.
|
|
2030
|
-
i.
|
|
2039
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
2040
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.h9u_1, completion);
|
|
2041
|
+
i.i9u_1 = $this$dispatchAsync;
|
|
2042
|
+
i.j9u_1 = store;
|
|
2031
2043
|
return i;
|
|
2032
2044
|
};
|
|
2033
2045
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2034
2046
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2035
2047
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2036
|
-
return i.
|
|
2048
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
2037
2049
|
};
|
|
2038
2050
|
l.$arity = 2;
|
|
2039
2051
|
return l;
|
|
2040
2052
|
}
|
|
2041
2053
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2042
|
-
this.
|
|
2043
|
-
this.
|
|
2054
|
+
this.s9u_1 = $playerId;
|
|
2055
|
+
this.t9u_1 = this$0;
|
|
2044
2056
|
CoroutineImpl.call(this, resultContinuation);
|
|
2045
2057
|
}
|
|
2046
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2047
|
-
var tmp = this.
|
|
2058
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
2059
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
2048
2060
|
tmp.h9_1 = Unit_instance;
|
|
2049
2061
|
tmp.i9_1 = null;
|
|
2050
2062
|
return tmp.n9();
|
|
2051
2063
|
};
|
|
2052
2064
|
protoOf(GameServer$roomRefreshPlayerState$slambda).y9 = function (p1, p2, $completion) {
|
|
2053
2065
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2054
|
-
return this.
|
|
2066
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2055
2067
|
};
|
|
2056
2068
|
protoOf(GameServer$roomRefreshPlayerState$slambda).n9 = function () {
|
|
2057
2069
|
var suspendResult = this.h9_1;
|
|
@@ -2060,14 +2072,14 @@
|
|
|
2060
2072
|
var tmp = this.f9_1;
|
|
2061
2073
|
if (tmp === 0) {
|
|
2062
2074
|
this.g9_1 = 1;
|
|
2063
|
-
var table = this.
|
|
2064
|
-
var player = getPlayer(table.players, this.
|
|
2075
|
+
var table = this.v9u_1.state.p6r();
|
|
2076
|
+
var player = getPlayer(table.players, this.s9u_1);
|
|
2065
2077
|
if (player.k6x_1.k6d().b6c_1.isLive) {
|
|
2066
|
-
this.
|
|
2078
|
+
this.v9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.t9u_1).f8t(player, table));
|
|
2067
2079
|
} else {
|
|
2068
|
-
var tmp_0 = this.
|
|
2080
|
+
var tmp_0 = this.v9u_1.dispatch;
|
|
2069
2081
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2070
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2082
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9u_1));
|
|
2071
2083
|
}
|
|
2072
2084
|
return Unit_instance;
|
|
2073
2085
|
} else if (tmp === 1) {
|
|
@@ -2079,34 +2091,34 @@
|
|
|
2079
2091
|
}
|
|
2080
2092
|
while (true);
|
|
2081
2093
|
};
|
|
2082
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2083
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2084
|
-
i.
|
|
2085
|
-
i.
|
|
2094
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
2095
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.s9u_1, this.t9u_1, completion);
|
|
2096
|
+
i.u9u_1 = $this$dispatchAsync;
|
|
2097
|
+
i.v9u_1 = store;
|
|
2086
2098
|
return i;
|
|
2087
2099
|
};
|
|
2088
2100
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2089
2101
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2090
2102
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2091
|
-
return i.
|
|
2103
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
2092
2104
|
};
|
|
2093
2105
|
l.$arity = 2;
|
|
2094
2106
|
return l;
|
|
2095
2107
|
}
|
|
2096
2108
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2097
|
-
this.
|
|
2098
|
-
this.
|
|
2109
|
+
this.e9v_1 = this$0;
|
|
2110
|
+
this.f9v_1 = $newRid;
|
|
2099
2111
|
CoroutineImpl.call(this, resultContinuation);
|
|
2100
2112
|
}
|
|
2101
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2102
|
-
var tmp = this.
|
|
2113
|
+
protoOf(GameServer$roomOnDelete$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
2114
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
2103
2115
|
tmp.h9_1 = Unit_instance;
|
|
2104
2116
|
tmp.i9_1 = null;
|
|
2105
2117
|
return tmp.n9();
|
|
2106
2118
|
};
|
|
2107
2119
|
protoOf(GameServer$roomOnDelete$slambda).y9 = function (p1, p2, $completion) {
|
|
2108
2120
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2109
|
-
return this.
|
|
2121
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2110
2122
|
};
|
|
2111
2123
|
protoOf(GameServer$roomOnDelete$slambda).n9 = function () {
|
|
2112
2124
|
var suspendResult = this.h9_1;
|
|
@@ -2115,10 +2127,10 @@
|
|
|
2115
2127
|
var tmp = this.f9_1;
|
|
2116
2128
|
if (tmp === 0) {
|
|
2117
2129
|
this.g9_1 = 1;
|
|
2118
|
-
var it = this.
|
|
2130
|
+
var it = this.e9v_1.h6b().q6q_1;
|
|
2119
2131
|
var tmp_0;
|
|
2120
2132
|
if (it == null) {
|
|
2121
|
-
_get_logger__rkp4sl(this.
|
|
2133
|
+
_get_logger__rkp4sl(this.e9v_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2122
2134
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2123
2135
|
} else {
|
|
2124
2136
|
tmp_0 = it;
|
|
@@ -2127,15 +2139,15 @@
|
|
|
2127
2139
|
var gameTransition = terminationState.j8x_1;
|
|
2128
2140
|
var tmp_1;
|
|
2129
2141
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2130
|
-
var tmp0_elvis_lhs = this.
|
|
2142
|
+
var tmp0_elvis_lhs = this.f9v_1;
|
|
2131
2143
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2132
2144
|
} else {
|
|
2133
2145
|
tmp_1 = gameTransition;
|
|
2134
2146
|
}
|
|
2135
2147
|
var transition = tmp_1;
|
|
2136
|
-
var tmp_2 = this.
|
|
2148
|
+
var tmp_2 = this.h9v_1.dispatch;
|
|
2137
2149
|
var tmp0_reason = terminationState.i8x_1;
|
|
2138
|
-
var tmp1_isGameFinished = this.
|
|
2150
|
+
var tmp1_isGameFinished = this.e9v_1.h6b().p6r().isGameFinished;
|
|
2139
2151
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2140
2152
|
return Unit_instance;
|
|
2141
2153
|
} else if (tmp === 1) {
|
|
@@ -2147,33 +2159,33 @@
|
|
|
2147
2159
|
}
|
|
2148
2160
|
while (true);
|
|
2149
2161
|
};
|
|
2150
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2151
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2152
|
-
i.
|
|
2153
|
-
i.
|
|
2162
|
+
protoOf(GameServer$roomOnDelete$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
2163
|
+
var i = new GameServer$roomOnDelete$slambda(this.e9v_1, this.f9v_1, completion);
|
|
2164
|
+
i.g9v_1 = $this$dispatchAsync;
|
|
2165
|
+
i.h9v_1 = store;
|
|
2154
2166
|
return i;
|
|
2155
2167
|
};
|
|
2156
2168
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2157
2169
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2158
2170
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2159
|
-
return i.
|
|
2171
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
2160
2172
|
};
|
|
2161
2173
|
l.$arity = 2;
|
|
2162
2174
|
return l;
|
|
2163
2175
|
}
|
|
2164
2176
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2165
|
-
this.
|
|
2177
|
+
this.q9v_1 = $enabled;
|
|
2166
2178
|
CoroutineImpl.call(this, resultContinuation);
|
|
2167
2179
|
}
|
|
2168
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2169
|
-
var tmp = this.
|
|
2180
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
2181
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
2170
2182
|
tmp.h9_1 = Unit_instance;
|
|
2171
2183
|
tmp.i9_1 = null;
|
|
2172
2184
|
return tmp.n9();
|
|
2173
2185
|
};
|
|
2174
2186
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).y9 = function (p1, p2, $completion) {
|
|
2175
2187
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2176
|
-
return this.
|
|
2188
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2177
2189
|
};
|
|
2178
2190
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9 = function () {
|
|
2179
2191
|
var suspendResult = this.h9_1;
|
|
@@ -2182,7 +2194,7 @@
|
|
|
2182
2194
|
var tmp = this.f9_1;
|
|
2183
2195
|
if (tmp === 0) {
|
|
2184
2196
|
this.g9_1 = 1;
|
|
2185
|
-
this.
|
|
2197
|
+
this.s9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.s9v_1.state).config.copy(VOID, this.q9v_1)));
|
|
2186
2198
|
return Unit_instance;
|
|
2187
2199
|
} else if (tmp === 1) {
|
|
2188
2200
|
throw this.i9_1;
|
|
@@ -2193,35 +2205,35 @@
|
|
|
2193
2205
|
}
|
|
2194
2206
|
while (true);
|
|
2195
2207
|
};
|
|
2196
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2197
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2198
|
-
i.
|
|
2199
|
-
i.
|
|
2208
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
2209
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.q9v_1, completion);
|
|
2210
|
+
i.r9v_1 = $this$dispatchAsync;
|
|
2211
|
+
i.s9v_1 = store;
|
|
2200
2212
|
return i;
|
|
2201
2213
|
};
|
|
2202
2214
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2203
2215
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2204
2216
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2205
|
-
return i.
|
|
2217
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
2206
2218
|
};
|
|
2207
2219
|
l.$arity = 2;
|
|
2208
2220
|
return l;
|
|
2209
2221
|
}
|
|
2210
2222
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2211
|
-
this.
|
|
2212
|
-
this.
|
|
2213
|
-
this.
|
|
2223
|
+
this.b9w_1 = $reason;
|
|
2224
|
+
this.c9w_1 = this$0;
|
|
2225
|
+
this.d9w_1 = $roomId;
|
|
2214
2226
|
CoroutineImpl.call(this, resultContinuation);
|
|
2215
2227
|
}
|
|
2216
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2217
|
-
var tmp = this.
|
|
2228
|
+
protoOf(GameServer$shutdown$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
|
|
2229
|
+
var tmp = this.u9p($this$dispatchAsync, store, $completion);
|
|
2218
2230
|
tmp.h9_1 = Unit_instance;
|
|
2219
2231
|
tmp.i9_1 = null;
|
|
2220
2232
|
return tmp.n9();
|
|
2221
2233
|
};
|
|
2222
2234
|
protoOf(GameServer$shutdown$slambda).y9 = function (p1, p2, $completion) {
|
|
2223
2235
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2224
|
-
return this.
|
|
2236
|
+
return this.t9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2225
2237
|
};
|
|
2226
2238
|
protoOf(GameServer$shutdown$slambda).n9 = function () {
|
|
2227
2239
|
var suspendResult = this.h9_1;
|
|
@@ -2230,11 +2242,11 @@
|
|
|
2230
2242
|
var tmp = this.f9_1;
|
|
2231
2243
|
if (tmp === 0) {
|
|
2232
2244
|
this.g9_1 = 1;
|
|
2233
|
-
var state = this.
|
|
2245
|
+
var state = this.f9w_1.store.state;
|
|
2234
2246
|
if (state.q6r()) {
|
|
2235
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2247
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.b9w_1, get_serverShutdownReasonMapping());
|
|
2236
2248
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2237
|
-
var tmp_0 = this.
|
|
2249
|
+
var tmp_0 = this.f9w_1.dispatch;
|
|
2238
2250
|
var tmp_1 = Companion_instance;
|
|
2239
2251
|
var tmp_2;
|
|
2240
2252
|
switch (shutdownReason.o2_1) {
|
|
@@ -2248,10 +2260,10 @@
|
|
|
2248
2260
|
noWhenBranchMatchedException();
|
|
2249
2261
|
break;
|
|
2250
2262
|
}
|
|
2251
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
2263
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.c9w_1.table.isGameFinished, this.c9w_1.table));
|
|
2252
2264
|
} else {
|
|
2253
|
-
_get_logger__rkp4sl(this.
|
|
2254
|
-
this.
|
|
2265
|
+
_get_logger__rkp4sl(this.c9w_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.d9w_1);
|
|
2266
|
+
this.f9w_1.dispatch(new ClearAction());
|
|
2255
2267
|
}
|
|
2256
2268
|
return Unit_instance;
|
|
2257
2269
|
} else if (tmp === 1) {
|
|
@@ -2263,22 +2275,22 @@
|
|
|
2263
2275
|
}
|
|
2264
2276
|
while (true);
|
|
2265
2277
|
};
|
|
2266
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2267
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2268
|
-
i.
|
|
2269
|
-
i.
|
|
2278
|
+
protoOf(GameServer$shutdown$slambda).u9p = function ($this$dispatchAsync, store, completion) {
|
|
2279
|
+
var i = new GameServer$shutdown$slambda(this.b9w_1, this.c9w_1, this.d9w_1, completion);
|
|
2280
|
+
i.e9w_1 = $this$dispatchAsync;
|
|
2281
|
+
i.f9w_1 = store;
|
|
2270
2282
|
return i;
|
|
2271
2283
|
};
|
|
2272
2284
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2273
2285
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2274
2286
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2275
|
-
return i.
|
|
2287
|
+
return i.t9p($this$dispatchAsync, store, $completion);
|
|
2276
2288
|
};
|
|
2277
2289
|
l.$arity = 2;
|
|
2278
2290
|
return l;
|
|
2279
2291
|
}
|
|
2280
2292
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
2281
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.
|
|
2293
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.initial()) : preloadedState;
|
|
2282
2294
|
var tmp;
|
|
2283
2295
|
if (externalReducers === VOID) {
|
|
2284
2296
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -2301,46 +2313,46 @@
|
|
|
2301
2313
|
// Inline function 'org.kodein.type.generic' call
|
|
2302
2314
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2303
2315
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2304
|
-
tmp_1.
|
|
2316
|
+
tmp_1.c9n_1 = Instance(di, tmp$ret$2, null).p63(this, logger$factory());
|
|
2305
2317
|
var tmp_3 = this;
|
|
2306
2318
|
// Inline function 'org.kodein.di.instance' call
|
|
2307
2319
|
// Inline function 'org.kodein.type.generic' call
|
|
2308
2320
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2309
2321
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2310
|
-
tmp_3.
|
|
2322
|
+
tmp_3.d9n_1 = Instance(di, tmp$ret$4, null).p63(this, toClientEventsObserver$factory());
|
|
2311
2323
|
var tmp_5 = this;
|
|
2312
2324
|
// Inline function 'org.kodein.di.instance' call
|
|
2313
2325
|
// Inline function 'org.kodein.type.generic' call
|
|
2314
2326
|
var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
2315
2327
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2316
|
-
tmp_5.
|
|
2328
|
+
tmp_5.e9n_1 = Instance(di, tmp$ret$6, null).p63(this, fromClientEventsObserver$factory());
|
|
2317
2329
|
var tmp_7 = this;
|
|
2318
2330
|
// Inline function 'org.kodein.di.instance' call
|
|
2319
2331
|
// Inline function 'org.kodein.type.generic' call
|
|
2320
2332
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2321
2333
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2322
|
-
tmp_7.
|
|
2334
|
+
tmp_7.f9n_1 = Instance(di, tmp$ret$8, null).p63(this, playerConnectionInteractor$factory());
|
|
2323
2335
|
var tmp_9 = this;
|
|
2324
2336
|
// Inline function 'org.kodein.di.instance' call
|
|
2325
2337
|
// Inline function 'org.kodein.type.generic' call
|
|
2326
2338
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
2327
2339
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2328
|
-
tmp_9.
|
|
2340
|
+
tmp_9.g9n_1 = Instance(di, tmp$ret$10, null).p63(this, teamsLogicProvider$factory());
|
|
2329
2341
|
var tmp_11 = this;
|
|
2330
|
-
tmp_11.
|
|
2342
|
+
tmp_11.h9n_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2331
2343
|
var tmp_12 = this;
|
|
2332
2344
|
// Inline function 'org.kodein.di.instance' call
|
|
2333
2345
|
// Inline function 'org.kodein.type.generic' call
|
|
2334
2346
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2335
2347
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2336
|
-
tmp_12.
|
|
2348
|
+
tmp_12.i9n_1 = Instance(di, tmp$ret$12, null).p63(this, idsProvider$factory());
|
|
2337
2349
|
var tmp_14 = this;
|
|
2338
2350
|
var tmp0_externalMiddlewares = plus(storeContract.u91(), externalMiddlewares);
|
|
2339
2351
|
var tmp1_externalReducers = plus(storeContract.t91(), externalReducers);
|
|
2340
|
-
tmp_14.
|
|
2352
|
+
tmp_14.j9n_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2341
2353
|
}
|
|
2342
2354
|
protoOf(GameServer).c6q = function () {
|
|
2343
|
-
return this.
|
|
2355
|
+
return this.j9n_1;
|
|
2344
2356
|
};
|
|
2345
2357
|
protoOf(GameServer).s5k = function () {
|
|
2346
2358
|
return this.h6b().p6r().id;
|
|
@@ -2368,55 +2380,55 @@
|
|
|
2368
2380
|
};
|
|
2369
2381
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2370
2382
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2371
|
-
this.
|
|
2383
|
+
this.j9n_1.o6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2372
2384
|
};
|
|
2373
2385
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2374
2386
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2375
|
-
this.
|
|
2387
|
+
this.j9n_1.o6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2376
2388
|
};
|
|
2377
2389
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2378
2390
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2379
|
-
this.
|
|
2391
|
+
this.j9n_1.o6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2380
2392
|
};
|
|
2381
2393
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2382
2394
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2383
|
-
this.
|
|
2395
|
+
this.j9n_1.o6r(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2384
2396
|
};
|
|
2385
|
-
protoOf(GameServer).
|
|
2397
|
+
protoOf(GameServer).g9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2386
2398
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2387
|
-
this.
|
|
2399
|
+
this.j9n_1.o6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2388
2400
|
};
|
|
2389
2401
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2390
2402
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2403
|
+
this.j9n_1.o6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2404
|
+
this.j9n_1.o6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2393
2405
|
};
|
|
2394
2406
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2395
2407
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2396
|
-
this.
|
|
2397
|
-
this.
|
|
2408
|
+
this.j9n_1.o6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2409
|
+
this.j9n_1.o6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2398
2410
|
};
|
|
2399
2411
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2400
|
-
this.
|
|
2412
|
+
this.j9n_1.o6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2401
2413
|
};
|
|
2402
2414
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2403
|
-
this.
|
|
2415
|
+
this.j9n_1.o6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2404
2416
|
};
|
|
2405
2417
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2406
2418
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2407
|
-
this.
|
|
2419
|
+
this.j9n_1.o6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2408
2420
|
};
|
|
2409
|
-
protoOf(GameServer).
|
|
2421
|
+
protoOf(GameServer).h9w = function (newRid) {
|
|
2410
2422
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2411
|
-
this.
|
|
2423
|
+
this.j9n_1.o6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2412
2424
|
};
|
|
2413
2425
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2414
2426
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2415
|
-
this.
|
|
2427
|
+
this.j9n_1.o6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2416
2428
|
};
|
|
2417
|
-
protoOf(GameServer).
|
|
2429
|
+
protoOf(GameServer).i9w = function (reason, roomId) {
|
|
2418
2430
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2419
|
-
this.
|
|
2431
|
+
this.j9n_1.o6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2420
2432
|
};
|
|
2421
2433
|
protoOf(GameServer).clear = function () {
|
|
2422
2434
|
return this.a2();
|
|
@@ -2521,7 +2533,7 @@
|
|
|
2521
2533
|
}
|
|
2522
2534
|
function Companion_0() {
|
|
2523
2535
|
}
|
|
2524
|
-
protoOf(Companion_0).
|
|
2536
|
+
protoOf(Companion_0).initial = function (fromRound) {
|
|
2525
2537
|
return new ServerConfig(fromRound, true);
|
|
2526
2538
|
};
|
|
2527
2539
|
var Companion_instance_8;
|
|
@@ -2529,23 +2541,35 @@
|
|
|
2529
2541
|
return Companion_instance_8;
|
|
2530
2542
|
}
|
|
2531
2543
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
2532
|
-
this.
|
|
2533
|
-
this.
|
|
2544
|
+
this.fromRound = fromRound;
|
|
2545
|
+
this.canStartNewGame = canStartNewGame;
|
|
2534
2546
|
}
|
|
2535
|
-
protoOf(ServerConfig).
|
|
2547
|
+
protoOf(ServerConfig).j9w = function () {
|
|
2548
|
+
return this.fromRound;
|
|
2549
|
+
};
|
|
2550
|
+
protoOf(ServerConfig).k9w = function () {
|
|
2551
|
+
return this.canStartNewGame;
|
|
2552
|
+
};
|
|
2553
|
+
protoOf(ServerConfig).qe = function () {
|
|
2554
|
+
return this.fromRound;
|
|
2555
|
+
};
|
|
2556
|
+
protoOf(ServerConfig).re = function () {
|
|
2557
|
+
return this.canStartNewGame;
|
|
2558
|
+
};
|
|
2559
|
+
protoOf(ServerConfig).l9w = function (fromRound, canStartNewGame) {
|
|
2536
2560
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
2537
2561
|
};
|
|
2538
|
-
protoOf(ServerConfig).
|
|
2539
|
-
fromRound = fromRound === VOID ? this.
|
|
2540
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
2541
|
-
return
|
|
2562
|
+
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
2563
|
+
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
2564
|
+
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
2565
|
+
return this.l9w(fromRound, canStartNewGame);
|
|
2542
2566
|
};
|
|
2543
2567
|
protoOf(ServerConfig).toString = function () {
|
|
2544
|
-
return 'ServerConfig(fromRound=' + this.
|
|
2568
|
+
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
2545
2569
|
};
|
|
2546
2570
|
protoOf(ServerConfig).hashCode = function () {
|
|
2547
|
-
var result = this.
|
|
2548
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2571
|
+
var result = this.fromRound == null ? 0 : this.fromRound;
|
|
2572
|
+
result = imul(result, 31) + getBooleanHashCode(this.canStartNewGame) | 0;
|
|
2549
2573
|
return result;
|
|
2550
2574
|
};
|
|
2551
2575
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -2554,9 +2578,9 @@
|
|
|
2554
2578
|
if (!(other instanceof ServerConfig))
|
|
2555
2579
|
return false;
|
|
2556
2580
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
2557
|
-
if (!(this.
|
|
2581
|
+
if (!(this.fromRound == tmp0_other_with_cast.fromRound))
|
|
2558
2582
|
return false;
|
|
2559
|
-
if (!(this.
|
|
2583
|
+
if (!(this.canStartNewGame === tmp0_other_with_cast.canStartNewGame))
|
|
2560
2584
|
return false;
|
|
2561
2585
|
return true;
|
|
2562
2586
|
};
|
|
@@ -2571,12 +2595,12 @@
|
|
|
2571
2595
|
protoOf(TableStateUpdate).qe = function () {
|
|
2572
2596
|
return this.table;
|
|
2573
2597
|
};
|
|
2574
|
-
protoOf(TableStateUpdate).
|
|
2598
|
+
protoOf(TableStateUpdate).m9w = function (table) {
|
|
2575
2599
|
return new TableStateUpdate(table);
|
|
2576
2600
|
};
|
|
2577
2601
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
2578
2602
|
table = table === VOID ? this.table : table;
|
|
2579
|
-
return this.
|
|
2603
|
+
return this.m9w(table);
|
|
2580
2604
|
};
|
|
2581
2605
|
protoOf(TableStateUpdate).toString = function () {
|
|
2582
2606
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2603,12 +2627,12 @@
|
|
|
2603
2627
|
protoOf(ActionsStateUpdate).qe = function () {
|
|
2604
2628
|
return this.actions;
|
|
2605
2629
|
};
|
|
2606
|
-
protoOf(ActionsStateUpdate).
|
|
2630
|
+
protoOf(ActionsStateUpdate).n9w = function (actions) {
|
|
2607
2631
|
return new ActionsStateUpdate(actions);
|
|
2608
2632
|
};
|
|
2609
2633
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2610
2634
|
actions = actions === VOID ? this.actions : actions;
|
|
2611
|
-
return this.
|
|
2635
|
+
return this.n9w(actions);
|
|
2612
2636
|
};
|
|
2613
2637
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2614
2638
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2854,18 +2878,18 @@
|
|
|
2854
2878
|
function ToClientEventsObserver() {
|
|
2855
2879
|
}
|
|
2856
2880
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2857
|
-
this.
|
|
2858
|
-
this.
|
|
2881
|
+
this.x9w_1 = this$0;
|
|
2882
|
+
this.y9w_1 = $actions;
|
|
2859
2883
|
CoroutineImpl.call(this, resultContinuation);
|
|
2860
2884
|
}
|
|
2861
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2862
|
-
var tmp = this.
|
|
2885
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).f9x = function ($this$flow, $completion) {
|
|
2886
|
+
var tmp = this.g9x($this$flow, $completion);
|
|
2863
2887
|
tmp.h9_1 = Unit_instance;
|
|
2864
2888
|
tmp.i9_1 = null;
|
|
2865
2889
|
return tmp.n9();
|
|
2866
2890
|
};
|
|
2867
2891
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).x9 = function (p1, $completion) {
|
|
2868
|
-
return this.
|
|
2892
|
+
return this.f9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2869
2893
|
};
|
|
2870
2894
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).n9 = function () {
|
|
2871
2895
|
var suspendResult = this.h9_1;
|
|
@@ -2876,23 +2900,23 @@
|
|
|
2876
2900
|
case 0:
|
|
2877
2901
|
this.g9_1 = 4;
|
|
2878
2902
|
var tmp_0 = this;
|
|
2879
|
-
tmp_0.
|
|
2903
|
+
tmp_0.a9x_1 = this.x9w_1.l9x_1;
|
|
2880
2904
|
var tmp_1 = this;
|
|
2881
|
-
tmp_1.
|
|
2882
|
-
this.
|
|
2905
|
+
tmp_1.b9x_1 = transformToEmits(this.x9w_1, this.y9w_1);
|
|
2906
|
+
this.c9x_1 = this.b9x_1.j();
|
|
2883
2907
|
this.f9_1 = 1;
|
|
2884
2908
|
continue $sm;
|
|
2885
2909
|
case 1:
|
|
2886
|
-
if (!this.
|
|
2910
|
+
if (!this.c9x_1.k()) {
|
|
2887
2911
|
this.f9_1 = 3;
|
|
2888
2912
|
continue $sm;
|
|
2889
2913
|
}
|
|
2890
2914
|
|
|
2891
|
-
this.
|
|
2915
|
+
this.d9x_1 = this.c9x_1.l();
|
|
2892
2916
|
var tmp_2 = this;
|
|
2893
|
-
tmp_2.
|
|
2917
|
+
tmp_2.e9x_1 = this.d9x_1;
|
|
2894
2918
|
this.f9_1 = 2;
|
|
2895
|
-
suspendResult = this.
|
|
2919
|
+
suspendResult = this.z9w_1.d18(this.e9x_1, this);
|
|
2896
2920
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2897
2921
|
return suspendResult;
|
|
2898
2922
|
}
|
|
@@ -2903,10 +2927,10 @@
|
|
|
2903
2927
|
continue $sm;
|
|
2904
2928
|
case 3:
|
|
2905
2929
|
l$ret$1: do {
|
|
2906
|
-
var this_0 = this.
|
|
2930
|
+
var this_0 = this.x9w_1.k9x_1;
|
|
2907
2931
|
while (true) {
|
|
2908
2932
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2909
|
-
var upd = cur - this.
|
|
2933
|
+
var upd = cur - this.y9w_1.m() | 0;
|
|
2910
2934
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2911
2935
|
break l$ret$1;
|
|
2912
2936
|
}
|
|
@@ -2928,15 +2952,15 @@
|
|
|
2928
2952
|
}
|
|
2929
2953
|
while (true);
|
|
2930
2954
|
};
|
|
2931
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2932
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2933
|
-
i.
|
|
2955
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).g9x = function ($this$flow, completion) {
|
|
2956
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.x9w_1, this.y9w_1, completion);
|
|
2957
|
+
i.z9w_1 = $this$flow;
|
|
2934
2958
|
return i;
|
|
2935
2959
|
};
|
|
2936
2960
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2937
2961
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2938
2962
|
var l = function ($this$flow, $completion) {
|
|
2939
|
-
return i.
|
|
2963
|
+
return i.f9x($this$flow, $completion);
|
|
2940
2964
|
};
|
|
2941
2965
|
l.$arity = 1;
|
|
2942
2966
|
return l;
|
|
@@ -3009,29 +3033,29 @@
|
|
|
3009
3033
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3010
3034
|
}
|
|
3011
3035
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3012
|
-
var tmp = $this.
|
|
3036
|
+
var tmp = $this.j9x_1.v6h();
|
|
3013
3037
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3014
|
-
var this_0 = _this__u8e3s4.
|
|
3038
|
+
var this_0 = _this__u8e3s4.o9x_1;
|
|
3015
3039
|
var tmp_0 = copyToArray(this_0);
|
|
3016
3040
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3017
|
-
var this_1 = _this__u8e3s4.
|
|
3041
|
+
var this_1 = _this__u8e3s4.p9x_1;
|
|
3018
3042
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3019
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3043
|
+
return new ActionDeliveryPayload(_this__u8e3s4.n9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.q9x_1);
|
|
3020
3044
|
}
|
|
3021
3045
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3022
|
-
this.
|
|
3023
|
-
this.
|
|
3024
|
-
this.
|
|
3025
|
-
this.
|
|
3046
|
+
this.n9x_1 = tableId;
|
|
3047
|
+
this.o9x_1 = includePlayers;
|
|
3048
|
+
this.p9x_1 = excludePlayers;
|
|
3049
|
+
this.q9x_1 = deliveryType;
|
|
3026
3050
|
}
|
|
3027
3051
|
protoOf(GroupKey).toString = function () {
|
|
3028
|
-
return 'GroupKey(tableId=' + this.
|
|
3052
|
+
return 'GroupKey(tableId=' + this.n9x_1 + ', includePlayers=' + toString(this.o9x_1) + ', excludePlayers=' + toString(this.p9x_1) + ', deliveryType=' + this.q9x_1.toString() + ')';
|
|
3029
3053
|
};
|
|
3030
3054
|
protoOf(GroupKey).hashCode = function () {
|
|
3031
|
-
var result = getStringHashCode(this.
|
|
3032
|
-
result = imul(result, 31) + hashCode(this.
|
|
3033
|
-
result = imul(result, 31) + hashCode(this.
|
|
3034
|
-
result = imul(result, 31) + this.
|
|
3055
|
+
var result = getStringHashCode(this.n9x_1);
|
|
3056
|
+
result = imul(result, 31) + hashCode(this.o9x_1) | 0;
|
|
3057
|
+
result = imul(result, 31) + hashCode(this.p9x_1) | 0;
|
|
3058
|
+
result = imul(result, 31) + this.q9x_1.hashCode() | 0;
|
|
3035
3059
|
return result;
|
|
3036
3060
|
};
|
|
3037
3061
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3040,35 +3064,35 @@
|
|
|
3040
3064
|
if (!(other instanceof GroupKey))
|
|
3041
3065
|
return false;
|
|
3042
3066
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3043
|
-
if (!(this.
|
|
3067
|
+
if (!(this.n9x_1 === tmp0_other_with_cast.n9x_1))
|
|
3044
3068
|
return false;
|
|
3045
|
-
if (!equals(this.
|
|
3069
|
+
if (!equals(this.o9x_1, tmp0_other_with_cast.o9x_1))
|
|
3046
3070
|
return false;
|
|
3047
|
-
if (!equals(this.
|
|
3071
|
+
if (!equals(this.p9x_1, tmp0_other_with_cast.p9x_1))
|
|
3048
3072
|
return false;
|
|
3049
|
-
if (!this.
|
|
3073
|
+
if (!this.q9x_1.equals(tmp0_other_with_cast.q9x_1))
|
|
3050
3074
|
return false;
|
|
3051
3075
|
return true;
|
|
3052
3076
|
};
|
|
3053
3077
|
function Companion_1() {
|
|
3054
|
-
this.
|
|
3078
|
+
this.r9x_1 = 6;
|
|
3055
3079
|
}
|
|
3056
3080
|
var Companion_instance_9;
|
|
3057
3081
|
function Companion_getInstance_2() {
|
|
3058
3082
|
return Companion_instance_9;
|
|
3059
3083
|
}
|
|
3060
3084
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3061
|
-
this.
|
|
3085
|
+
this.a9y_1 = this$0;
|
|
3062
3086
|
CoroutineImpl.call(this, resultContinuation);
|
|
3063
3087
|
}
|
|
3064
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3065
|
-
var tmp = this.
|
|
3088
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).c9y = function (actions, $completion) {
|
|
3089
|
+
var tmp = this.d9y(actions, $completion);
|
|
3066
3090
|
tmp.h9_1 = Unit_instance;
|
|
3067
3091
|
tmp.i9_1 = null;
|
|
3068
3092
|
return tmp.n9();
|
|
3069
3093
|
};
|
|
3070
3094
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).x9 = function (p1, $completion) {
|
|
3071
|
-
return this.
|
|
3095
|
+
return this.c9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3072
3096
|
};
|
|
3073
3097
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9 = function () {
|
|
3074
3098
|
var suspendResult = this.h9_1;
|
|
@@ -3077,7 +3101,7 @@
|
|
|
3077
3101
|
var tmp = this.f9_1;
|
|
3078
3102
|
if (tmp === 0) {
|
|
3079
3103
|
this.g9_1 = 1;
|
|
3080
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3104
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.a9y_1, this.b9y_1, null));
|
|
3081
3105
|
} else if (tmp === 1) {
|
|
3082
3106
|
throw this.i9_1;
|
|
3083
3107
|
}
|
|
@@ -3087,23 +3111,23 @@
|
|
|
3087
3111
|
}
|
|
3088
3112
|
while (true);
|
|
3089
3113
|
};
|
|
3090
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3091
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3092
|
-
i.
|
|
3114
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).d9y = function (actions, completion) {
|
|
3115
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.a9y_1, completion);
|
|
3116
|
+
i.b9y_1 = actions;
|
|
3093
3117
|
return i;
|
|
3094
3118
|
};
|
|
3095
3119
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3096
3120
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3097
3121
|
var l = function (actions, $completion) {
|
|
3098
|
-
return i.
|
|
3122
|
+
return i.c9y(actions, $completion);
|
|
3099
3123
|
};
|
|
3100
3124
|
l.$arity = 1;
|
|
3101
3125
|
return l;
|
|
3102
3126
|
}
|
|
3103
3127
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3104
3128
|
CoroutineImpl.call(this, resultContinuation);
|
|
3105
|
-
this.
|
|
3106
|
-
this.
|
|
3129
|
+
this.m9y_1 = _this__u8e3s4;
|
|
3130
|
+
this.n9y_1 = fromEvent;
|
|
3107
3131
|
}
|
|
3108
3132
|
protoOf($sentEventCOROUTINE$3).n9 = function () {
|
|
3109
3133
|
var suspendResult = this.h9_1;
|
|
@@ -3114,9 +3138,9 @@
|
|
|
3114
3138
|
case 0:
|
|
3115
3139
|
this.g9_1 = 2;
|
|
3116
3140
|
var tmp_0 = this;
|
|
3117
|
-
tmp_0.
|
|
3141
|
+
tmp_0.o9y_1 = this.m9y_1.l9x_1;
|
|
3118
3142
|
l$ret$1: do {
|
|
3119
|
-
var this_0 = this.
|
|
3143
|
+
var this_0 = this.m9y_1.k9x_1;
|
|
3120
3144
|
while (true) {
|
|
3121
3145
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3122
3146
|
var upd = cur + 1 | 0;
|
|
@@ -3127,7 +3151,7 @@
|
|
|
3127
3151
|
}
|
|
3128
3152
|
while (false);
|
|
3129
3153
|
this.f9_1 = 1;
|
|
3130
|
-
suspendResult = this.
|
|
3154
|
+
suspendResult = this.m9y_1.m9x_1.d18(this.n9y_1, this);
|
|
3131
3155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3132
3156
|
return suspendResult;
|
|
3133
3157
|
}
|
|
@@ -3151,7 +3175,7 @@
|
|
|
3151
3175
|
};
|
|
3152
3176
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3153
3177
|
CoroutineImpl.call(this, resultContinuation);
|
|
3154
|
-
this.
|
|
3178
|
+
this.x9y_1 = _this__u8e3s4;
|
|
3155
3179
|
}
|
|
3156
3180
|
protoOf($waitForCOROUTINE$4).n9 = function () {
|
|
3157
3181
|
var suspendResult = this.h9_1;
|
|
@@ -3162,12 +3186,12 @@
|
|
|
3162
3186
|
case 0:
|
|
3163
3187
|
this.g9_1 = 5;
|
|
3164
3188
|
var tmp_0 = this;
|
|
3165
|
-
tmp_0.
|
|
3166
|
-
this.
|
|
3189
|
+
tmp_0.y9y_1 = this.x9y_1.l9x_1;
|
|
3190
|
+
this.z9y_1 = 0;
|
|
3167
3191
|
this.f9_1 = 1;
|
|
3168
3192
|
continue $sm;
|
|
3169
3193
|
case 1:
|
|
3170
|
-
if (!!(this.
|
|
3194
|
+
if (!!(this.x9y_1.k9x_1.kotlinx$atomicfu$value === 0)) {
|
|
3171
3195
|
this.f9_1 = 4;
|
|
3172
3196
|
continue $sm;
|
|
3173
3197
|
}
|
|
@@ -3180,9 +3204,9 @@
|
|
|
3180
3204
|
|
|
3181
3205
|
continue $sm;
|
|
3182
3206
|
case 2:
|
|
3183
|
-
this.
|
|
3184
|
-
if (this.
|
|
3185
|
-
this.
|
|
3207
|
+
this.z9y_1 = this.z9y_1 + 1 | 0;
|
|
3208
|
+
if (this.z9y_1 > 6) {
|
|
3209
|
+
this.x9y_1.i9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.x9y_1.k9x_1.kotlinx$atomicfu$value);
|
|
3186
3210
|
this.f9_1 = 4;
|
|
3187
3211
|
continue $sm;
|
|
3188
3212
|
} else {
|
|
@@ -3210,16 +3234,16 @@
|
|
|
3210
3234
|
while (true);
|
|
3211
3235
|
};
|
|
3212
3236
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3215
|
-
this.
|
|
3216
|
-
this.
|
|
3237
|
+
this.h9x_1 = serverReduxConfig;
|
|
3238
|
+
this.i9x_1 = logger;
|
|
3239
|
+
this.j9x_1 = idsProvider;
|
|
3240
|
+
this.k9x_1 = atomic$ref$1(0);
|
|
3217
3241
|
var tmp = this;
|
|
3218
3242
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3219
|
-
tmp.
|
|
3220
|
-
this.
|
|
3243
|
+
tmp.l9x_1 = get_atomicfu$reentrantLock();
|
|
3244
|
+
this.m9x_1 = MutableSharedFlow();
|
|
3221
3245
|
}
|
|
3222
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3246
|
+
protoOf(ToClientEventsObserverImpl).o9w = function (fromEvent, $completion) {
|
|
3223
3247
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3224
3248
|
tmp.h9_1 = Unit_instance;
|
|
3225
3249
|
tmp.i9_1 = null;
|
|
@@ -3231,21 +3255,21 @@
|
|
|
3231
3255
|
tmp.i9_1 = null;
|
|
3232
3256
|
return tmp.n9();
|
|
3233
3257
|
};
|
|
3234
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3235
|
-
if (!this.
|
|
3236
|
-
return this.
|
|
3258
|
+
protoOf(ToClientEventsObserverImpl).a9o = function () {
|
|
3259
|
+
if (!this.h9x_1.enabledCombinedEvents) {
|
|
3260
|
+
return this.m9x_1;
|
|
3237
3261
|
}
|
|
3238
|
-
var tmp = windowedByInterval(this.
|
|
3262
|
+
var tmp = windowedByInterval(this.m9x_1, toLong(this.h9x_1.combinedEventsPeriod));
|
|
3239
3263
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3240
3264
|
};
|
|
3241
3265
|
function UpdateServerConfigAction(serverConfig) {
|
|
3242
|
-
this.
|
|
3266
|
+
this.a9z_1 = serverConfig;
|
|
3243
3267
|
}
|
|
3244
3268
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3245
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3269
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.a9z_1.toString() + ')';
|
|
3246
3270
|
};
|
|
3247
3271
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3248
|
-
return this.
|
|
3272
|
+
return this.a9z_1.hashCode();
|
|
3249
3273
|
};
|
|
3250
3274
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3251
3275
|
if (this === other)
|
|
@@ -3253,20 +3277,20 @@
|
|
|
3253
3277
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3254
3278
|
return false;
|
|
3255
3279
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3256
|
-
if (!this.
|
|
3280
|
+
if (!this.a9z_1.equals(tmp0_other_with_cast.a9z_1))
|
|
3257
3281
|
return false;
|
|
3258
3282
|
return true;
|
|
3259
3283
|
};
|
|
3260
3284
|
function SpectatorsAction() {
|
|
3261
3285
|
}
|
|
3262
3286
|
function AddSpectatorsAction(spectators) {
|
|
3263
|
-
this.
|
|
3287
|
+
this.b9z_1 = spectators;
|
|
3264
3288
|
}
|
|
3265
3289
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3266
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3290
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.b9z_1) + ')';
|
|
3267
3291
|
};
|
|
3268
3292
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3269
|
-
return hashCode(this.
|
|
3293
|
+
return hashCode(this.b9z_1);
|
|
3270
3294
|
};
|
|
3271
3295
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3272
3296
|
if (this === other)
|
|
@@ -3274,18 +3298,18 @@
|
|
|
3274
3298
|
if (!(other instanceof AddSpectatorsAction))
|
|
3275
3299
|
return false;
|
|
3276
3300
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3277
|
-
if (!equals(this.
|
|
3301
|
+
if (!equals(this.b9z_1, tmp0_other_with_cast.b9z_1))
|
|
3278
3302
|
return false;
|
|
3279
3303
|
return true;
|
|
3280
3304
|
};
|
|
3281
3305
|
function RemoveSpectatorsAction(spectators) {
|
|
3282
|
-
this.
|
|
3306
|
+
this.c9z_1 = spectators;
|
|
3283
3307
|
}
|
|
3284
3308
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3285
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3309
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.c9z_1) + ')';
|
|
3286
3310
|
};
|
|
3287
3311
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3288
|
-
return hashCode(this.
|
|
3312
|
+
return hashCode(this.c9z_1);
|
|
3289
3313
|
};
|
|
3290
3314
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3291
3315
|
if (this === other)
|
|
@@ -3293,91 +3317,91 @@
|
|
|
3293
3317
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3294
3318
|
return false;
|
|
3295
3319
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3296
|
-
if (!equals(this.
|
|
3320
|
+
if (!equals(this.c9z_1, tmp0_other_with_cast.c9z_1))
|
|
3297
3321
|
return false;
|
|
3298
3322
|
return true;
|
|
3299
3323
|
};
|
|
3300
3324
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3301
3325
|
// Inline function 'kotlin.getValue' call
|
|
3302
|
-
var this_0 = $this.
|
|
3326
|
+
var this_0 = $this.i9z_1;
|
|
3303
3327
|
asyncProvider$factory_0();
|
|
3304
3328
|
return this_0.u();
|
|
3305
3329
|
}
|
|
3306
3330
|
function _get_logger__rkp4sl_0($this) {
|
|
3307
3331
|
// Inline function 'kotlin.getValue' call
|
|
3308
|
-
var this_0 = $this.
|
|
3332
|
+
var this_0 = $this.j9z_1;
|
|
3309
3333
|
logger$factory_2();
|
|
3310
3334
|
return this_0.u();
|
|
3311
3335
|
}
|
|
3312
3336
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3313
3337
|
// Inline function 'kotlin.getValue' call
|
|
3314
|
-
var this_0 = $this.
|
|
3338
|
+
var this_0 = $this.k9z_1;
|
|
3315
3339
|
playerConnectionInteractor$factory_2();
|
|
3316
3340
|
return this_0.u();
|
|
3317
3341
|
}
|
|
3318
3342
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3319
3343
|
// Inline function 'kotlin.getValue' call
|
|
3320
|
-
var this_0 = $this.
|
|
3344
|
+
var this_0 = $this.l9z_1;
|
|
3321
3345
|
lastCardInteractor$factory_0();
|
|
3322
3346
|
return this_0.u();
|
|
3323
3347
|
}
|
|
3324
3348
|
function _get_serverConfig__rk2g06($this) {
|
|
3325
3349
|
// Inline function 'kotlin.getValue' call
|
|
3326
|
-
var this_0 = $this.
|
|
3350
|
+
var this_0 = $this.m9z_1;
|
|
3327
3351
|
serverConfig$factory_0();
|
|
3328
3352
|
return this_0.u();
|
|
3329
3353
|
}
|
|
3330
3354
|
function _get_logicConfig__52ww9d($this) {
|
|
3331
3355
|
// Inline function 'kotlin.getValue' call
|
|
3332
|
-
var this_0 = $this.
|
|
3356
|
+
var this_0 = $this.n9z_1;
|
|
3333
3357
|
logicConfig$factory_0();
|
|
3334
3358
|
return this_0.u();
|
|
3335
3359
|
}
|
|
3336
3360
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3337
3361
|
// Inline function 'kotlin.getValue' call
|
|
3338
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.o9z_1;
|
|
3339
3363
|
idsProvider$factory_2();
|
|
3340
3364
|
return this_0.u();
|
|
3341
3365
|
}
|
|
3342
3366
|
function _get_botConfig__cpaxzc($this) {
|
|
3343
3367
|
// Inline function 'kotlin.getValue' call
|
|
3344
|
-
var this_0 = $this.
|
|
3368
|
+
var this_0 = $this.p9z_1;
|
|
3345
3369
|
botConfig$factory_0();
|
|
3346
3370
|
return this_0.u();
|
|
3347
3371
|
}
|
|
3348
3372
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3349
3373
|
// Inline function 'kotlin.getValue' call
|
|
3350
|
-
var this_0 = $this.
|
|
3374
|
+
var this_0 = $this.q9z_1;
|
|
3351
3375
|
scenePositionProvider$factory_0();
|
|
3352
3376
|
return this_0.u();
|
|
3353
3377
|
}
|
|
3354
3378
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3355
3379
|
// Inline function 'kotlin.getValue' call
|
|
3356
|
-
var this_0 = $this.
|
|
3380
|
+
var this_0 = $this.r9z_1;
|
|
3357
3381
|
toClientEventsObserver$factory_2();
|
|
3358
3382
|
return this_0.u();
|
|
3359
3383
|
}
|
|
3360
3384
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
3361
3385
|
// Inline function 'kotlin.getValue' call
|
|
3362
|
-
var this_0 = $this.
|
|
3386
|
+
var this_0 = $this.s9z_1;
|
|
3363
3387
|
fromClientEventsObserver$factory_2();
|
|
3364
3388
|
return this_0.u();
|
|
3365
3389
|
}
|
|
3366
3390
|
function _get_dealerConfig__183ci8($this) {
|
|
3367
3391
|
// Inline function 'kotlin.getValue' call
|
|
3368
|
-
var this_0 = $this.
|
|
3392
|
+
var this_0 = $this.t9z_1;
|
|
3369
3393
|
dealerConfig$factory_0();
|
|
3370
3394
|
return this_0.u();
|
|
3371
3395
|
}
|
|
3372
3396
|
function _get_poolProvider__tqti6a($this) {
|
|
3373
3397
|
// Inline function 'kotlin.getValue' call
|
|
3374
|
-
var this_0 = $this.
|
|
3398
|
+
var this_0 = $this.u9z_1;
|
|
3375
3399
|
poolProvider$factory_0();
|
|
3376
3400
|
return this_0.u();
|
|
3377
3401
|
}
|
|
3378
3402
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
3379
3403
|
// Inline function 'kotlin.getValue' call
|
|
3380
|
-
var this_0 = $this.
|
|
3404
|
+
var this_0 = $this.v9z_1;
|
|
3381
3405
|
cardsDealerProvider$factory_0();
|
|
3382
3406
|
return this_0.u();
|
|
3383
3407
|
}
|
|
@@ -3390,101 +3414,101 @@
|
|
|
3390
3414
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3391
3415
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3392
3416
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3395
|
-
this.
|
|
3396
|
-
this.
|
|
3397
|
-
this.
|
|
3417
|
+
this.d9z_1 = validationStoreContract;
|
|
3418
|
+
this.e9z_1 = timersStoreContract;
|
|
3419
|
+
this.f9z_1 = botGameStoreContract;
|
|
3420
|
+
this.g9z_1 = gameMechanicStoreContract;
|
|
3421
|
+
this.h9z_1 = fileLoggerStoreContract;
|
|
3398
3422
|
var tmp = this;
|
|
3399
3423
|
// Inline function 'org.kodein.di.instance' call
|
|
3400
3424
|
// Inline function 'org.kodein.type.generic' call
|
|
3401
3425
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3402
3426
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3403
|
-
tmp.
|
|
3427
|
+
tmp.i9z_1 = Instance(di, tmp$ret$0, null).p63(this, asyncProvider$factory());
|
|
3404
3428
|
var tmp_1 = this;
|
|
3405
3429
|
// Inline function 'org.kodein.di.instance' call
|
|
3406
3430
|
// Inline function 'org.kodein.type.generic' call
|
|
3407
3431
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3408
3432
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3409
|
-
tmp_1.
|
|
3433
|
+
tmp_1.j9z_1 = Instance(di, tmp$ret$2, null).p63(this, logger$factory_1());
|
|
3410
3434
|
var tmp_3 = this;
|
|
3411
3435
|
// Inline function 'org.kodein.di.instance' call
|
|
3412
3436
|
// Inline function 'org.kodein.type.generic' call
|
|
3413
3437
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3414
3438
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3415
|
-
tmp_3.
|
|
3439
|
+
tmp_3.k9z_1 = Instance(di, tmp$ret$4, null).p63(this, playerConnectionInteractor$factory_1());
|
|
3416
3440
|
var tmp_5 = this;
|
|
3417
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3418
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3419
3443
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3420
3444
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3421
|
-
tmp_5.
|
|
3445
|
+
tmp_5.l9z_1 = Instance(di, tmp$ret$6, null).p63(this, lastCardInteractor$factory());
|
|
3422
3446
|
var tmp_7 = this;
|
|
3423
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3424
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3425
3449
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3426
3450
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3427
|
-
tmp_7.
|
|
3451
|
+
tmp_7.m9z_1 = Instance(di, tmp$ret$8, null).p63(this, serverConfig$factory());
|
|
3428
3452
|
var tmp_9 = this;
|
|
3429
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3430
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3431
3455
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3432
3456
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3433
|
-
tmp_9.
|
|
3457
|
+
tmp_9.n9z_1 = Instance(di, tmp$ret$10, null).p63(this, logicConfig$factory());
|
|
3434
3458
|
var tmp_11 = this;
|
|
3435
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3436
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3437
3461
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3438
3462
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3439
|
-
tmp_11.
|
|
3463
|
+
tmp_11.o9z_1 = Instance(di, tmp$ret$12, null).p63(this, idsProvider$factory_1());
|
|
3440
3464
|
var tmp_13 = this;
|
|
3441
3465
|
// Inline function 'org.kodein.di.instance' call
|
|
3442
3466
|
// Inline function 'org.kodein.type.generic' call
|
|
3443
3467
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3444
3468
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3445
|
-
tmp_13.
|
|
3469
|
+
tmp_13.p9z_1 = Instance(di, tmp$ret$14, null).p63(this, botConfig$factory());
|
|
3446
3470
|
var tmp_15 = this;
|
|
3447
3471
|
// Inline function 'org.kodein.di.instance' call
|
|
3448
3472
|
// Inline function 'org.kodein.type.generic' call
|
|
3449
3473
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3450
3474
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3451
|
-
tmp_15.
|
|
3475
|
+
tmp_15.q9z_1 = Instance(di, tmp$ret$16, null).p63(this, scenePositionProvider$factory());
|
|
3452
3476
|
var tmp_17 = this;
|
|
3453
3477
|
// Inline function 'org.kodein.di.instance' call
|
|
3454
3478
|
// Inline function 'org.kodein.type.generic' call
|
|
3455
3479
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3456
3480
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3457
|
-
tmp_17.
|
|
3481
|
+
tmp_17.r9z_1 = Instance(di, tmp$ret$18, null).p63(this, toClientEventsObserver$factory_1());
|
|
3458
3482
|
var tmp_19 = this;
|
|
3459
3483
|
// Inline function 'org.kodein.di.instance' call
|
|
3460
3484
|
// Inline function 'org.kodein.type.generic' call
|
|
3461
3485
|
var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
3462
3486
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3463
|
-
tmp_19.
|
|
3487
|
+
tmp_19.s9z_1 = Instance(di, tmp$ret$20, null).p63(this, fromClientEventsObserver$factory_1());
|
|
3464
3488
|
var tmp_21 = this;
|
|
3465
3489
|
// Inline function 'org.kodein.di.instance' call
|
|
3466
3490
|
// Inline function 'org.kodein.type.generic' call
|
|
3467
3491
|
var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
3468
3492
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
3469
|
-
tmp_21.
|
|
3493
|
+
tmp_21.t9z_1 = Instance(di, tmp$ret$22, null).p63(this, dealerConfig$factory());
|
|
3470
3494
|
var tmp_23 = this;
|
|
3471
3495
|
// Inline function 'org.kodein.di.instance' call
|
|
3472
3496
|
// Inline function 'org.kodein.type.generic' call
|
|
3473
3497
|
var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3474
3498
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
3475
|
-
tmp_23.
|
|
3499
|
+
tmp_23.u9z_1 = Instance(di, tmp$ret$24, null).p63(this, poolProvider$factory());
|
|
3476
3500
|
var tmp_25 = this;
|
|
3477
3501
|
// Inline function 'org.kodein.di.instance' call
|
|
3478
3502
|
// Inline function 'org.kodein.type.generic' call
|
|
3479
3503
|
var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
3480
3504
|
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
3481
|
-
tmp_25.
|
|
3505
|
+
tmp_25.v9z_1 = Instance(di, tmp$ret$26, null).p63(this, cardsDealerProvider$factory());
|
|
3482
3506
|
}
|
|
3483
3507
|
protoOf(ServerGameStoreContract).t91 = function () {
|
|
3484
|
-
return plus(plus(plus(plus(plus(this.
|
|
3508
|
+
return plus(plus(plus(plus(plus(this.d9z_1.t91(), this.e9z_1.t91()), this.f9z_1.t91()), this.g9z_1.t91()), this.h9z_1.t91()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3485
3509
|
};
|
|
3486
3510
|
protoOf(ServerGameStoreContract).u91 = function () {
|
|
3487
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3511
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.d9z_1.u91(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.e9z_1.u91()), this.f9z_1.u91()), this.g9z_1.u91()), this.h9z_1.u91()), 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))).n93(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3488
3512
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3489
3513
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3490
3514
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3659,7 +3683,7 @@
|
|
|
3659
3683
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3660
3684
|
next(action_0);
|
|
3661
3685
|
var state = store.state;
|
|
3662
|
-
if (!get_serverStatePayload_0(state).
|
|
3686
|
+
if (!get_serverStatePayload_0(state).config.canStartNewGame && action_0.isGameFinished) {
|
|
3663
3687
|
store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.n6q_1));
|
|
3664
3688
|
}
|
|
3665
3689
|
};
|
|
@@ -3667,7 +3691,7 @@
|
|
|
3667
3691
|
return this.j6l(store, next, action);
|
|
3668
3692
|
};
|
|
3669
3693
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3670
|
-
this.
|
|
3694
|
+
this.y9z_1 = this$0;
|
|
3671
3695
|
}
|
|
3672
3696
|
protoOf(_no_name_provided__qut3iv_3).s6j = function (action) {
|
|
3673
3697
|
return action instanceof MechanicAction;
|
|
@@ -3681,7 +3705,7 @@
|
|
|
3681
3705
|
var tmp;
|
|
3682
3706
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3683
3707
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3684
|
-
var this_0 = this.
|
|
3708
|
+
var this_0 = this.y9z_1;
|
|
3685
3709
|
var tableId = action_0.g8y_1;
|
|
3686
3710
|
var gameCreatorPlayerId = action_0.i8y_1;
|
|
3687
3711
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3726,7 +3750,7 @@
|
|
|
3726
3750
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3727
3751
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3728
3752
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3729
|
-
var tmp0_aid = this_0.
|
|
3753
|
+
var tmp0_aid = this_0.x9z_1.v6h();
|
|
3730
3754
|
// Inline function 'kotlin.collections.map' call
|
|
3731
3755
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3732
3756
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3751,16 +3775,16 @@
|
|
|
3751
3775
|
} else {
|
|
3752
3776
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3753
3777
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3754
|
-
var this_2 = this.
|
|
3778
|
+
var this_2 = this.y9z_1;
|
|
3755
3779
|
var table = state.p6r();
|
|
3756
3780
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3757
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3781
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.x9z_1.v6h(), table.id, null);
|
|
3758
3782
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3759
3783
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3760
3784
|
} else {
|
|
3761
3785
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3762
3786
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3763
|
-
var this_3 = this.
|
|
3787
|
+
var this_3 = this.y9z_1;
|
|
3764
3788
|
var tableId_0 = action_0.m8y_1.id;
|
|
3765
3789
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3766
3790
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3805,7 +3829,7 @@
|
|
|
3805
3829
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3806
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3807
3831
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3808
|
-
var tmp0_aid_0 = this_3.
|
|
3832
|
+
var tmp0_aid_0 = this_3.x9z_1.v6h();
|
|
3809
3833
|
// Inline function 'kotlin.collections.map' call
|
|
3810
3834
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3811
3835
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3830,43 +3854,43 @@
|
|
|
3830
3854
|
} else {
|
|
3831
3855
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3832
3856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3833
|
-
var this_5 = this.
|
|
3857
|
+
var this_5 = this.y9z_1;
|
|
3834
3858
|
var table_0 = state.p6r();
|
|
3835
3859
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3836
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3860
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.x9z_1.v6h(), table_0.id, null);
|
|
3837
3861
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3838
3862
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3839
3863
|
} else {
|
|
3840
3864
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3841
3865
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3842
|
-
var this_6 = this.
|
|
3866
|
+
var this_6 = this.y9z_1;
|
|
3843
3867
|
var table_1 = state.p6r();
|
|
3844
3868
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3845
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3869
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.x9z_1.v6h(), table_1.id, null);
|
|
3846
3870
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3847
3871
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3848
3872
|
} else {
|
|
3849
3873
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3850
3874
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3851
|
-
var this_7 = this.
|
|
3875
|
+
var this_7 = this.y9z_1;
|
|
3852
3876
|
var table_2 = state.p6r();
|
|
3853
3877
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3854
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3878
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.x9z_1.v6h(), table_2.id, null);
|
|
3855
3879
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3856
3880
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3857
3881
|
} else {
|
|
3858
3882
|
if (action_0 instanceof ErrorAction) {
|
|
3859
3883
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3860
|
-
var this_8 = this.
|
|
3884
|
+
var this_8 = this.y9z_1;
|
|
3861
3885
|
var table_3 = state.p6r();
|
|
3862
3886
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3863
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3887
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.x9z_1.v6h(), table_3.id, null);
|
|
3864
3888
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3865
3889
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3866
3890
|
} else {
|
|
3867
3891
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3868
3892
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3869
|
-
var this_9 = this.
|
|
3893
|
+
var this_9 = this.y9z_1;
|
|
3870
3894
|
var table_4 = state.p6r();
|
|
3871
3895
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3872
3896
|
var tableId_1 = table_4.id;
|
|
@@ -3903,7 +3927,7 @@
|
|
|
3903
3927
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3904
3928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3905
3929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3906
|
-
var tmp0_aid_1 = this_9.
|
|
3930
|
+
var tmp0_aid_1 = this_9.x9z_1.v6h();
|
|
3907
3931
|
// Inline function 'kotlin.collections.map' call
|
|
3908
3932
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3909
3933
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3928,7 +3952,7 @@
|
|
|
3928
3952
|
} else {
|
|
3929
3953
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3930
3954
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3931
|
-
var this_10 = this.
|
|
3955
|
+
var this_10 = this.y9z_1;
|
|
3932
3956
|
var table_5 = state.p6r();
|
|
3933
3957
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3934
3958
|
var tableId_2 = table_5.id;
|
|
@@ -3965,7 +3989,7 @@
|
|
|
3965
3989
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3966
3990
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3967
3991
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3968
|
-
var tmp0_aid_2 = this_10.
|
|
3992
|
+
var tmp0_aid_2 = this_10.x9z_1.v6h();
|
|
3969
3993
|
// Inline function 'kotlin.collections.map' call
|
|
3970
3994
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3971
3995
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3990,7 +4014,7 @@
|
|
|
3990
4014
|
} else {
|
|
3991
4015
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3992
4016
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3993
|
-
var this_11 = this.
|
|
4017
|
+
var this_11 = this.y9z_1;
|
|
3994
4018
|
var table_6 = state.p6r();
|
|
3995
4019
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3996
4020
|
var tableId_3 = table_6.id;
|
|
@@ -4027,7 +4051,7 @@
|
|
|
4027
4051
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4028
4052
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4029
4053
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4030
|
-
var tmp0_aid_3 = this_11.
|
|
4054
|
+
var tmp0_aid_3 = this_11.x9z_1.v6h();
|
|
4031
4055
|
// Inline function 'kotlin.collections.map' call
|
|
4032
4056
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4033
4057
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4040,7 +4064,7 @@
|
|
|
4040
4064
|
}
|
|
4041
4065
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4042
4066
|
var tmp_0;
|
|
4043
|
-
if (this.
|
|
4067
|
+
if (this.y9z_1.w9z_1.supportBackwardActions && getPlayer(state.p6r().players, sendToPlayer_8.j7e_1).m6x_1.q6x_1) {
|
|
4044
4068
|
tmp_0 = null;
|
|
4045
4069
|
} else {
|
|
4046
4070
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4058,79 +4082,79 @@
|
|
|
4058
4082
|
} else {
|
|
4059
4083
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4060
4084
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4061
|
-
var this_12 = this.
|
|
4085
|
+
var this_12 = this.y9z_1;
|
|
4062
4086
|
var table_7 = state.p6r();
|
|
4063
|
-
var exceptPlayerId = this.
|
|
4087
|
+
var exceptPlayerId = this.y9z_1.w9z_1.supportBackwardActions ? action_0.g8z_1 : null;
|
|
4064
4088
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4065
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4089
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.x9z_1.v6h(), table_7.id, exceptPlayerId);
|
|
4066
4090
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4067
4091
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4068
4092
|
} else {
|
|
4069
4093
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4070
4094
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4071
|
-
var this_13 = this.
|
|
4095
|
+
var this_13 = this.y9z_1;
|
|
4072
4096
|
var table_8 = state.p6r();
|
|
4073
|
-
var exceptPlayerId_0 = this.
|
|
4097
|
+
var exceptPlayerId_0 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.c8u_1 : null;
|
|
4074
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4075
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4099
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.x9z_1.v6h(), table_8.id, exceptPlayerId_0);
|
|
4076
4100
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4077
4101
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4078
4102
|
} else {
|
|
4079
4103
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4080
4104
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4081
|
-
var this_14 = this.
|
|
4105
|
+
var this_14 = this.y9z_1;
|
|
4082
4106
|
var table_9 = state.p6r();
|
|
4083
4107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4084
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4108
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.x9z_1.v6h(), table_9.id, null);
|
|
4085
4109
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4086
4110
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4087
4111
|
} else {
|
|
4088
4112
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4089
4113
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4090
|
-
var this_15 = this.
|
|
4114
|
+
var this_15 = this.y9z_1;
|
|
4091
4115
|
var table_10 = state.p6r();
|
|
4092
|
-
var exceptPlayerId_1 = this.
|
|
4116
|
+
var exceptPlayerId_1 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.m8z_1 : null;
|
|
4093
4117
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4094
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4118
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.x9z_1.v6h(), table_10.id, exceptPlayerId_1);
|
|
4095
4119
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4096
4120
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4097
4121
|
} else {
|
|
4098
4122
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4099
4123
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4100
|
-
var this_16 = this.
|
|
4124
|
+
var this_16 = this.y9z_1;
|
|
4101
4125
|
var table_11 = state.p6r();
|
|
4102
|
-
var exceptPlayerId_2 = this.
|
|
4126
|
+
var exceptPlayerId_2 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.h8u_1 : null;
|
|
4103
4127
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4104
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4128
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.x9z_1.v6h(), table_11.id, exceptPlayerId_2);
|
|
4105
4129
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4106
4130
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4107
4131
|
} else {
|
|
4108
4132
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4109
4133
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4110
|
-
var this_17 = this.
|
|
4134
|
+
var this_17 = this.y9z_1;
|
|
4111
4135
|
var table_12 = state.p6r();
|
|
4112
4136
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4113
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4137
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.x9z_1.v6h(), table_12.id, null);
|
|
4114
4138
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4115
4139
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4116
4140
|
} else {
|
|
4117
4141
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4118
4142
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4119
|
-
var this_18 = this.
|
|
4143
|
+
var this_18 = this.y9z_1;
|
|
4120
4144
|
var table_13 = state.p6r();
|
|
4121
4145
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4122
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4146
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.x9z_1.v6h(), table_13.id, null);
|
|
4123
4147
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4124
4148
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4125
4149
|
} else {
|
|
4126
4150
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4127
4151
|
var message = action_0.q8z_1;
|
|
4128
4152
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4129
|
-
var this_19 = this.
|
|
4153
|
+
var this_19 = this.y9z_1;
|
|
4130
4154
|
var table_14 = state.p6r();
|
|
4131
4155
|
var tmp_1;
|
|
4132
4156
|
var tmp_2;
|
|
4133
|
-
if (this.
|
|
4157
|
+
if (this.y9z_1.w9z_1.supportBackwardActions) {
|
|
4134
4158
|
tmp_2 = isInterface(message, UserMessage);
|
|
4135
4159
|
} else {
|
|
4136
4160
|
tmp_2 = false;
|
|
@@ -4142,17 +4166,17 @@
|
|
|
4142
4166
|
}
|
|
4143
4167
|
var exceptPlayerId_3 = tmp_1;
|
|
4144
4168
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4145
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4169
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.x9z_1.v6h(), table_14.id, exceptPlayerId_3);
|
|
4146
4170
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4147
4171
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4148
4172
|
} else {
|
|
4149
4173
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4150
4174
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4151
|
-
var this_20 = this.
|
|
4175
|
+
var this_20 = this.y9z_1;
|
|
4152
4176
|
var table_15 = state.p6r();
|
|
4153
4177
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4154
4178
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4155
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4179
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.x9z_1.v6h(), table_15.id, exceptPlayerId_4);
|
|
4156
4180
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4157
4181
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4158
4182
|
} else {
|
|
@@ -4190,8 +4214,8 @@
|
|
|
4190
4214
|
return this.j6l(store, next, action);
|
|
4191
4215
|
};
|
|
4192
4216
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4193
|
-
this.
|
|
4194
|
-
this.
|
|
4217
|
+
this.w9z_1 = logicConfig;
|
|
4218
|
+
this.x9z_1 = idsProvider;
|
|
4195
4219
|
}
|
|
4196
4220
|
protoOf(ServerMapMechanicToClientActionMiddleware).n93 = function () {
|
|
4197
4221
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4202,8 +4226,8 @@
|
|
|
4202
4226
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4203
4227
|
}
|
|
4204
4228
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4205
|
-
this.
|
|
4206
|
-
this.
|
|
4229
|
+
this.ha0_1 = $provider;
|
|
4230
|
+
this.ia0_1 = $action;
|
|
4207
4231
|
CoroutineImpl.call(this, resultContinuation);
|
|
4208
4232
|
}
|
|
4209
4233
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -4224,7 +4248,7 @@
|
|
|
4224
4248
|
case 0:
|
|
4225
4249
|
this.g9_1 = 2;
|
|
4226
4250
|
this.f9_1 = 1;
|
|
4227
|
-
suspendResult = this.
|
|
4251
|
+
suspendResult = this.ha0_1.o9w(this.ia0_1, this);
|
|
4228
4252
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4229
4253
|
return suspendResult;
|
|
4230
4254
|
}
|
|
@@ -4247,8 +4271,8 @@
|
|
|
4247
4271
|
while (true);
|
|
4248
4272
|
};
|
|
4249
4273
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z1d = function ($this$launchDefault, completion) {
|
|
4250
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4251
|
-
i.
|
|
4274
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ha0_1, this.ia0_1, completion);
|
|
4275
|
+
i.ja0_1 = $this$launchDefault;
|
|
4252
4276
|
return i;
|
|
4253
4277
|
};
|
|
4254
4278
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4260,8 +4284,8 @@
|
|
|
4260
4284
|
return l;
|
|
4261
4285
|
}
|
|
4262
4286
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4263
|
-
this.
|
|
4264
|
-
this.
|
|
4287
|
+
this.ka0_1 = $asyncProvider;
|
|
4288
|
+
this.la0_1 = $provider;
|
|
4265
4289
|
}
|
|
4266
4290
|
protoOf(_no_name_provided__qut3iv_4).s6j = function (action) {
|
|
4267
4291
|
return action instanceof ToClientAction;
|
|
@@ -4269,7 +4293,7 @@
|
|
|
4269
4293
|
protoOf(_no_name_provided__qut3iv_4).j6l = function (store, next, action) {
|
|
4270
4294
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4271
4295
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4272
|
-
this.
|
|
4296
|
+
this.ka0_1.s6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.la0_1, action_0, null));
|
|
4273
4297
|
next(action_0);
|
|
4274
4298
|
};
|
|
4275
4299
|
protoOf(_no_name_provided__qut3iv_4).r6j = function (store, next, action) {
|
|
@@ -4287,7 +4311,7 @@
|
|
|
4287
4311
|
protoOf(_no_name_provided__qut3iv_5).p9b = function (state, action) {
|
|
4288
4312
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4289
4313
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4290
|
-
return state.h8x(VOID, get_serverStatePayload_0(state).
|
|
4314
|
+
return state.h8x(VOID, get_serverStatePayload_0(state).copy(action_0.a9z_1));
|
|
4291
4315
|
};
|
|
4292
4316
|
protoOf(_no_name_provided__qut3iv_5).k6l = function (state, action) {
|
|
4293
4317
|
return this.p9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -4312,7 +4336,7 @@
|
|
|
4312
4336
|
}
|
|
4313
4337
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4314
4338
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4315
|
-
this.
|
|
4339
|
+
this.oa0_1 = logger;
|
|
4316
4340
|
}
|
|
4317
4341
|
protoOf(ServerMechanicLifecycleReducer).b9d = function (state, action) {
|
|
4318
4342
|
var serverState = get_serverStatePayloadOrNull(state.o6q_1);
|
|
@@ -4325,11 +4349,11 @@
|
|
|
4325
4349
|
var tmp5_users = action.j8y_1;
|
|
4326
4350
|
var tmp6_spectators = action.spectators;
|
|
4327
4351
|
var tmp7_gameCreatorPlayerId = action.i8y_1;
|
|
4328
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4352
|
+
var tmp9_tableOrNull = tmp0_$this.i9e(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4329
4353
|
var tmp;
|
|
4330
4354
|
if (serverState == null) {
|
|
4331
|
-
this.
|
|
4332
|
-
tmp = Companion_instance_10.
|
|
4355
|
+
this.oa0_1.w(VOID, 'ServerPayload is not onStart');
|
|
4356
|
+
tmp = Companion_instance_10.initial();
|
|
4333
4357
|
} else {
|
|
4334
4358
|
tmp = serverState;
|
|
4335
4359
|
}
|
|
@@ -4340,16 +4364,16 @@
|
|
|
4340
4364
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4341
4365
|
var tmp2_tableOrNull = action.m8y_1;
|
|
4342
4366
|
var tmp = Companion_instance_10;
|
|
4343
|
-
var tmp_0 = get_serverStatePayload_0(state).
|
|
4367
|
+
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
4344
4368
|
var tmp_1 = action.n8y_1;
|
|
4345
4369
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4346
|
-
var tmp3_payload = tmp.
|
|
4370
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p69_1));
|
|
4347
4371
|
return state.h8x(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4348
4372
|
};
|
|
4349
4373
|
protoOf(ServerMechanicLifecycleReducer).a9d = function (state, action) {
|
|
4350
4374
|
this.d9d_1.v5q(action.previousGameId);
|
|
4351
4375
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4352
|
-
var tmp1_tableOrNull = this.c9d_1.
|
|
4376
|
+
var tmp1_tableOrNull = this.c9d_1.j9e(state.p6r(), action.gameId);
|
|
4353
4377
|
return state.h8x(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4354
4378
|
};
|
|
4355
4379
|
function spectatorsReducer(logger) {
|
|
@@ -4357,7 +4381,7 @@
|
|
|
4357
4381
|
return new _no_name_provided__qut3iv_6(logger);
|
|
4358
4382
|
}
|
|
4359
4383
|
function _no_name_provided__qut3iv_6($logger) {
|
|
4360
|
-
this.
|
|
4384
|
+
this.pa0_1 = $logger;
|
|
4361
4385
|
}
|
|
4362
4386
|
protoOf(_no_name_provided__qut3iv_6).s6j = function (action) {
|
|
4363
4387
|
return isInterface(action, SpectatorsAction);
|
|
@@ -4370,7 +4394,7 @@
|
|
|
4370
4394
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4371
4395
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4372
4396
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4373
|
-
var this_0 = action_0.
|
|
4397
|
+
var this_0 = action_0.b9z_1;
|
|
4374
4398
|
var destination = ArrayList_init_$Create$_0();
|
|
4375
4399
|
// Inline function 'kotlin.collections.forEach' call
|
|
4376
4400
|
var tmp0_iterator = this_0.j();
|
|
@@ -4392,10 +4416,10 @@
|
|
|
4392
4416
|
var tmp_0;
|
|
4393
4417
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4394
4418
|
if (!sameSpectators.p()) {
|
|
4395
|
-
this.
|
|
4419
|
+
this.pa0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4396
4420
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4397
4421
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4398
|
-
var this_1 = action_0.
|
|
4422
|
+
var this_1 = action_0.b9z_1;
|
|
4399
4423
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4400
4424
|
var tmp0_iterator_0 = this_1.j();
|
|
4401
4425
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4431,7 +4455,7 @@
|
|
|
4431
4455
|
}
|
|
4432
4456
|
tmp_0 = destination_0;
|
|
4433
4457
|
} else {
|
|
4434
|
-
tmp_0 = action_0.
|
|
4458
|
+
tmp_0 = action_0.b9z_1;
|
|
4435
4459
|
}
|
|
4436
4460
|
var this_2 = tmp_0;
|
|
4437
4461
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4449,7 +4473,7 @@
|
|
|
4449
4473
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4450
4474
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4451
4475
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4452
|
-
var this_3 = action_0.
|
|
4476
|
+
var this_3 = action_0.c9z_1;
|
|
4453
4477
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4454
4478
|
// Inline function 'kotlin.collections.forEach' call
|
|
4455
4479
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4470,10 +4494,10 @@
|
|
|
4470
4494
|
var tmp_2;
|
|
4471
4495
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4472
4496
|
if (!sameSpectators_0.p()) {
|
|
4473
|
-
this.
|
|
4497
|
+
this.pa0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4474
4498
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4475
4499
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4476
|
-
var this_4 = action_0.
|
|
4500
|
+
var this_4 = action_0.c9z_1;
|
|
4477
4501
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4478
4502
|
var tmp0_iterator_4 = this_4.j();
|
|
4479
4503
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4509,7 +4533,7 @@
|
|
|
4509
4533
|
}
|
|
4510
4534
|
tmp_2 = destination_3;
|
|
4511
4535
|
} else {
|
|
4512
|
-
tmp_2 = action_0.
|
|
4536
|
+
tmp_2 = action_0.c9z_1;
|
|
4513
4537
|
}
|
|
4514
4538
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4515
4539
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4560,28 +4584,38 @@
|
|
|
4560
4584
|
};
|
|
4561
4585
|
function Companion_2() {
|
|
4562
4586
|
}
|
|
4563
|
-
protoOf(Companion_2).
|
|
4587
|
+
protoOf(Companion_2).qa0 = function (config) {
|
|
4564
4588
|
return new ServerStatePayload(config);
|
|
4565
4589
|
};
|
|
4566
|
-
protoOf(Companion_2).
|
|
4567
|
-
config = config === VOID ? Companion_instance_8.
|
|
4568
|
-
return
|
|
4590
|
+
protoOf(Companion_2).initial = function (config, $super) {
|
|
4591
|
+
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
4592
|
+
return this.qa0(config);
|
|
4569
4593
|
};
|
|
4570
4594
|
var Companion_instance_10;
|
|
4571
4595
|
function Companion_getInstance_3() {
|
|
4572
4596
|
return Companion_instance_10;
|
|
4573
4597
|
}
|
|
4574
4598
|
function ServerStatePayload(config) {
|
|
4575
|
-
this.
|
|
4599
|
+
this.config = config;
|
|
4576
4600
|
}
|
|
4577
|
-
protoOf(ServerStatePayload).
|
|
4601
|
+
protoOf(ServerStatePayload).z2v = function () {
|
|
4602
|
+
return this.config;
|
|
4603
|
+
};
|
|
4604
|
+
protoOf(ServerStatePayload).qe = function () {
|
|
4605
|
+
return this.config;
|
|
4606
|
+
};
|
|
4607
|
+
protoOf(ServerStatePayload).ra0 = function (config) {
|
|
4578
4608
|
return new ServerStatePayload(config);
|
|
4579
4609
|
};
|
|
4610
|
+
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
4611
|
+
config = config === VOID ? this.config : config;
|
|
4612
|
+
return this.ra0(config);
|
|
4613
|
+
};
|
|
4580
4614
|
protoOf(ServerStatePayload).toString = function () {
|
|
4581
|
-
return 'ServerStatePayload(config=' + this.
|
|
4615
|
+
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
4582
4616
|
};
|
|
4583
4617
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4584
|
-
return this.
|
|
4618
|
+
return this.config.hashCode();
|
|
4585
4619
|
};
|
|
4586
4620
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4587
4621
|
if (this === other)
|
|
@@ -4589,7 +4623,7 @@
|
|
|
4589
4623
|
if (!(other instanceof ServerStatePayload))
|
|
4590
4624
|
return false;
|
|
4591
4625
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4592
|
-
if (!this.
|
|
4626
|
+
if (!this.config.equals(tmp0_other_with_cast.config))
|
|
4593
4627
|
return false;
|
|
4594
4628
|
return true;
|
|
4595
4629
|
};
|
|
@@ -4627,13 +4661,13 @@
|
|
|
4627
4661
|
}
|
|
4628
4662
|
function _get_logger__rkp4sl_1($this) {
|
|
4629
4663
|
// Inline function 'kotlin.getValue' call
|
|
4630
|
-
var this_0 = $this.
|
|
4664
|
+
var this_0 = $this.ba1_1;
|
|
4631
4665
|
logger$factory_3();
|
|
4632
4666
|
return this_0.u();
|
|
4633
4667
|
}
|
|
4634
4668
|
function _get_di__ndbzja($this) {
|
|
4635
4669
|
// Inline function 'kotlin.getValue' call
|
|
4636
|
-
var this_0 = $this.
|
|
4670
|
+
var this_0 = $this.ca1_1;
|
|
4637
4671
|
di$factory();
|
|
4638
4672
|
return this_0.u();
|
|
4639
4673
|
}
|
|
@@ -4644,13 +4678,13 @@
|
|
|
4644
4678
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4645
4679
|
return function () {
|
|
4646
4680
|
var tmp;
|
|
4647
|
-
if (this$0.
|
|
4681
|
+
if (this$0.za0_1 == null) {
|
|
4648
4682
|
tmp = null;
|
|
4649
4683
|
} else {
|
|
4650
4684
|
// Inline function 'kotlin.let' call
|
|
4651
4685
|
// Inline function 'kotlin.contracts.contract' call
|
|
4652
4686
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4653
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4687
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.za0_1)]));
|
|
4654
4688
|
}
|
|
4655
4689
|
var tmp1_elvis_lhs = tmp;
|
|
4656
4690
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4678,7 +4712,7 @@
|
|
|
4678
4712
|
tmp_0.s61(tmp$ret$3);
|
|
4679
4713
|
$this$DI.w5x(jsonModule());
|
|
4680
4714
|
$this$DI.w5x(serverHelpersModule());
|
|
4681
|
-
$this$DI.w5x(randomOrgModule(this$0.
|
|
4715
|
+
$this$DI.w5x(randomOrgModule(this$0.aa1_1));
|
|
4682
4716
|
return Unit_instance;
|
|
4683
4717
|
};
|
|
4684
4718
|
}
|
|
@@ -4689,13 +4723,13 @@
|
|
|
4689
4723
|
};
|
|
4690
4724
|
}
|
|
4691
4725
|
function _no_name_provided__qut3iv_7($item) {
|
|
4692
|
-
this.
|
|
4726
|
+
this.ja1_1 = $item;
|
|
4693
4727
|
}
|
|
4694
4728
|
protoOf(_no_name_provided__qut3iv_7).s6j = function (action) {
|
|
4695
4729
|
return isInterface(action, Action);
|
|
4696
4730
|
};
|
|
4697
4731
|
protoOf(_no_name_provided__qut3iv_7).p9b = function (state, action) {
|
|
4698
|
-
return this.
|
|
4732
|
+
return this.ja1_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4699
4733
|
};
|
|
4700
4734
|
protoOf(_no_name_provided__qut3iv_7).k6l = function (state, action) {
|
|
4701
4735
|
return this.p9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -4755,7 +4789,7 @@
|
|
|
4755
4789
|
}
|
|
4756
4790
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4757
4791
|
return function (it) {
|
|
4758
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4792
|
+
var tmp0_elvis_lhs = Companion_instance_4.l9g(it);
|
|
4759
4793
|
var tmp;
|
|
4760
4794
|
if (tmp0_elvis_lhs == null) {
|
|
4761
4795
|
var tmp1_safe_receiver = $gameServer.h6b().n6q_1;
|
|
@@ -4768,7 +4802,7 @@
|
|
|
4768
4802
|
}
|
|
4769
4803
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4770
4804
|
return function (it) {
|
|
4771
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4805
|
+
var tmp0_elvis_lhs = Companion_instance_5.w9e(it);
|
|
4772
4806
|
var tmp;
|
|
4773
4807
|
if (tmp0_elvis_lhs == null) {
|
|
4774
4808
|
var tmp1_safe_receiver = $gameServer.h6b().n6q_1;
|
|
@@ -4790,7 +4824,7 @@
|
|
|
4790
4824
|
// Inline function 'kotlin.contracts.contract' call
|
|
4791
4825
|
$this$DI.w5x(tmp0_safe_receiver);
|
|
4792
4826
|
}
|
|
4793
|
-
$this$DI.w5x(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4827
|
+
$this$DI.w5x(dealerModule(this$0.randomPoolProvider, this$0.aa1_1));
|
|
4794
4828
|
$this$DI.w5x(coreModule($coreConfig));
|
|
4795
4829
|
$this$DI.w5x(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4796
4830
|
return Unit_instance;
|
|
@@ -4799,76 +4833,89 @@
|
|
|
4799
4833
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4800
4834
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4801
4835
|
production = production === VOID ? true : production;
|
|
4802
|
-
this.
|
|
4803
|
-
this.
|
|
4836
|
+
this.za0_1 = loggerCallback;
|
|
4837
|
+
this.aa1_1 = randomOrgConfig;
|
|
4804
4838
|
AppEnvironment_getInstance().v6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4805
4839
|
var tmp = this;
|
|
4806
|
-
tmp.
|
|
4840
|
+
tmp.ba1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4807
4841
|
var tmp_0 = this;
|
|
4808
|
-
tmp_0.
|
|
4842
|
+
tmp_0.ca1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4809
4843
|
var tmp_1 = this;
|
|
4810
4844
|
// Inline function 'org.kodein.di.instance' call
|
|
4811
4845
|
var this_0 = _get_di__ndbzja(this);
|
|
4812
4846
|
// Inline function 'org.kodein.type.generic' call
|
|
4813
4847
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4814
4848
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4815
|
-
tmp_1.
|
|
4849
|
+
tmp_1.da1_1 = Instance(this_0, tmp$ret$0, null).p63(this, parser$factory());
|
|
4816
4850
|
var tmp_3 = this;
|
|
4817
4851
|
// Inline function 'org.kodein.di.instance' call
|
|
4818
4852
|
var this_1 = _get_di__ndbzja(this);
|
|
4819
4853
|
// Inline function 'org.kodein.type.generic' call
|
|
4820
4854
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4821
4855
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4822
|
-
tmp_3.
|
|
4856
|
+
tmp_3.ea1_1 = Instance(this_1, tmp$ret$2, null).p63(this, helper$factory());
|
|
4823
4857
|
var tmp_5 = this;
|
|
4824
4858
|
// Inline function 'org.kodein.di.instance' call
|
|
4825
4859
|
var this_2 = _get_di__ndbzja(this);
|
|
4826
4860
|
// Inline function 'org.kodein.type.generic' call
|
|
4827
|
-
var tmp_6 = typeToken(createKType(getKClass(
|
|
4861
|
+
var tmp_6 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
|
|
4828
4862
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4829
|
-
tmp_5.
|
|
4863
|
+
tmp_5.fa1_1 = Instance(this_2, tmp$ret$4, null).p63(this, serverHelper$factory());
|
|
4830
4864
|
var tmp_7 = this;
|
|
4831
4865
|
// Inline function 'org.kodein.di.instance' call
|
|
4832
4866
|
var this_3 = _get_di__ndbzja(this);
|
|
4833
4867
|
// Inline function 'org.kodein.type.generic' call
|
|
4834
|
-
var tmp_8 = typeToken(createKType(getKClass(
|
|
4868
|
+
var tmp_8 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4835
4869
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4836
|
-
tmp_7.
|
|
4870
|
+
tmp_7.ga1_1 = Instance(this_3, tmp$ret$6, null).p63(this, resources$factory());
|
|
4837
4871
|
var tmp_9 = this;
|
|
4838
4872
|
// Inline function 'org.kodein.di.instance' call
|
|
4839
4873
|
var this_4 = _get_di__ndbzja(this);
|
|
4840
4874
|
// Inline function 'org.kodein.type.generic' call
|
|
4841
|
-
var tmp_10 = typeToken(createKType(getKClass(
|
|
4875
|
+
var tmp_10 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4842
4876
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4843
|
-
tmp_9.
|
|
4877
|
+
tmp_9.ha1_1 = Instance(this_4, tmp$ret$8, null).p63(this, test$factory());
|
|
4878
|
+
var tmp_11 = this;
|
|
4879
|
+
// Inline function 'org.kodein.di.instance' call
|
|
4880
|
+
var this_5 = _get_di__ndbzja(this);
|
|
4881
|
+
// Inline function 'org.kodein.type.generic' call
|
|
4882
|
+
var tmp_12 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4883
|
+
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4884
|
+
tmp_11.ia1_1 = Instance(this_5, tmp$ret$10, null).p63(this, randomPoolProvider$factory());
|
|
4844
4885
|
}
|
|
4845
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4886
|
+
protoOf(GameServerEngineControllerImpl).sa0 = function () {
|
|
4846
4887
|
// Inline function 'kotlin.getValue' call
|
|
4847
|
-
var this_0 = this.
|
|
4888
|
+
var this_0 = this.da1_1;
|
|
4848
4889
|
parser$factory_0();
|
|
4849
4890
|
return this_0.u();
|
|
4850
4891
|
};
|
|
4851
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4892
|
+
protoOf(GameServerEngineControllerImpl).ua0 = function () {
|
|
4852
4893
|
// Inline function 'kotlin.getValue' call
|
|
4853
|
-
var this_0 = this.
|
|
4894
|
+
var this_0 = this.ea1_1;
|
|
4854
4895
|
helper$factory_0();
|
|
4855
4896
|
return this_0.u();
|
|
4856
4897
|
};
|
|
4857
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4898
|
+
protoOf(GameServerEngineControllerImpl).va0 = function () {
|
|
4858
4899
|
// Inline function 'kotlin.getValue' call
|
|
4859
|
-
var this_0 = this.
|
|
4860
|
-
|
|
4900
|
+
var this_0 = this.fa1_1;
|
|
4901
|
+
serverHelper$factory_0();
|
|
4861
4902
|
return this_0.u();
|
|
4862
4903
|
};
|
|
4863
4904
|
protoOf(GameServerEngineControllerImpl).wa0 = function () {
|
|
4864
4905
|
// Inline function 'kotlin.getValue' call
|
|
4865
|
-
var this_0 = this.
|
|
4906
|
+
var this_0 = this.ga1_1;
|
|
4907
|
+
resources$factory_0();
|
|
4908
|
+
return this_0.u();
|
|
4909
|
+
};
|
|
4910
|
+
protoOf(GameServerEngineControllerImpl).ta0 = function () {
|
|
4911
|
+
// Inline function 'kotlin.getValue' call
|
|
4912
|
+
var this_0 = this.ha1_1;
|
|
4866
4913
|
test$factory_0();
|
|
4867
4914
|
return this_0.u();
|
|
4868
4915
|
};
|
|
4869
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4916
|
+
protoOf(GameServerEngineControllerImpl).xa0 = function () {
|
|
4870
4917
|
// Inline function 'kotlin.getValue' call
|
|
4871
|
-
var this_0 = this.
|
|
4918
|
+
var this_0 = this.ia1_1;
|
|
4872
4919
|
randomPoolProvider$factory_0();
|
|
4873
4920
|
return this_0.u();
|
|
4874
4921
|
};
|
|
@@ -4878,7 +4925,7 @@
|
|
|
4878
4925
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4879
4926
|
return this.createGameEngineWithLogic();
|
|
4880
4927
|
};
|
|
4881
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4928
|
+
protoOf(GameServerEngineControllerImpl).ya0 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4882
4929
|
var combinedLogger = Companion_instance_6.rm();
|
|
4883
4930
|
var tmp;
|
|
4884
4931
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4888,8 +4935,8 @@
|
|
|
4888
4935
|
}
|
|
4889
4936
|
var fileLoggerOutput = tmp;
|
|
4890
4937
|
var tmp_0;
|
|
4891
|
-
if (!(this.
|
|
4892
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4938
|
+
if (!(this.za0_1 == null)) {
|
|
4939
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.za0_1));
|
|
4893
4940
|
} else {
|
|
4894
4941
|
tmp_0 = null;
|
|
4895
4942
|
}
|
|
@@ -4932,12 +4979,12 @@
|
|
|
4932
4979
|
var gameServer = tmp_1.g5z(tmp$ret$7, null);
|
|
4933
4980
|
if (!(fileLoggerOutput == null)) {
|
|
4934
4981
|
var tmp_3 = fileLoggerOutput;
|
|
4935
|
-
tmp_3.
|
|
4982
|
+
tmp_3.a9g_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4936
4983
|
combinedLogger.tm(fileLoggerOutput);
|
|
4937
4984
|
}
|
|
4938
4985
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4939
4986
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4940
|
-
tmp_4.
|
|
4987
|
+
tmp_4.y9e_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4941
4988
|
combinedLogger.tm(callbackWrapperLoggerOutput);
|
|
4942
4989
|
}
|
|
4943
4990
|
return gameServer;
|
|
@@ -4952,6 +4999,11 @@
|
|
|
4952
4999
|
return receiver.helper;
|
|
4953
5000
|
}, null);
|
|
4954
5001
|
}
|
|
5002
|
+
function serverHelper$factory() {
|
|
5003
|
+
return getPropertyCallableRef('serverHelper', 1, KProperty1, function (receiver) {
|
|
5004
|
+
return receiver.serverHelper;
|
|
5005
|
+
}, null);
|
|
5006
|
+
}
|
|
4955
5007
|
function resources$factory() {
|
|
4956
5008
|
return getPropertyCallableRef('resources', 1, KProperty1, function (receiver) {
|
|
4957
5009
|
return receiver.resources;
|
|
@@ -4987,6 +5039,11 @@
|
|
|
4987
5039
|
return receiver.helper;
|
|
4988
5040
|
}, null);
|
|
4989
5041
|
}
|
|
5042
|
+
function serverHelper$factory_0() {
|
|
5043
|
+
return getPropertyCallableRef('serverHelper', 1, KProperty1, function (receiver) {
|
|
5044
|
+
return receiver.serverHelper;
|
|
5045
|
+
}, null);
|
|
5046
|
+
}
|
|
4990
5047
|
function resources$factory_0() {
|
|
4991
5048
|
return getPropertyCallableRef('resources', 1, KProperty1, function (receiver) {
|
|
4992
5049
|
return receiver.resources;
|
|
@@ -5002,17 +5059,24 @@
|
|
|
5002
5059
|
return receiver.randomPoolProvider;
|
|
5003
5060
|
}, null);
|
|
5004
5061
|
}
|
|
5062
|
+
function GameServerHelper() {
|
|
5063
|
+
}
|
|
5064
|
+
function GameServerHelperImpl() {
|
|
5065
|
+
}
|
|
5066
|
+
protoOf(GameServerHelperImpl).getServerConfig = function (state) {
|
|
5067
|
+
return get_serverStatePayload_0(state).config;
|
|
5068
|
+
};
|
|
5005
5069
|
function TestHelper() {
|
|
5006
5070
|
}
|
|
5007
5071
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5008
5072
|
// Inline function 'kotlin.getValue' call
|
|
5009
|
-
var this_0 = $this.
|
|
5073
|
+
var this_0 = $this.ma1_1;
|
|
5010
5074
|
playerAnswerInteractor$factory_0();
|
|
5011
5075
|
return this_0.u();
|
|
5012
5076
|
}
|
|
5013
5077
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5014
5078
|
return function ($this$singleton) {
|
|
5015
|
-
return this$0.
|
|
5079
|
+
return this$0.ka1_1;
|
|
5016
5080
|
};
|
|
5017
5081
|
}
|
|
5018
5082
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5041,17 +5105,17 @@
|
|
|
5041
5105
|
return emptyMap();
|
|
5042
5106
|
}
|
|
5043
5107
|
function TestHelperImpl(logger) {
|
|
5044
|
-
this.
|
|
5108
|
+
this.ka1_1 = logger;
|
|
5045
5109
|
var tmp = this;
|
|
5046
5110
|
var tmp_0 = Companion_instance_3;
|
|
5047
|
-
tmp.
|
|
5111
|
+
tmp.la1_1 = tmp_0.d5y(VOID, TestHelperImpl$di$lambda(this));
|
|
5048
5112
|
var tmp_1 = this;
|
|
5049
5113
|
// Inline function 'org.kodein.di.instance' call
|
|
5050
|
-
var this_0 = this.
|
|
5114
|
+
var this_0 = this.la1_1;
|
|
5051
5115
|
// Inline function 'org.kodein.type.generic' call
|
|
5052
5116
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5053
5117
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5054
|
-
tmp_1.
|
|
5118
|
+
tmp_1.ma1_1 = Instance(this_0, tmp$ret$0, null).p63(this, playerAnswerInteractor$factory());
|
|
5055
5119
|
}
|
|
5056
5120
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5057
5121
|
return _get_playerAnswerInteractor__msggz1(this).g8n(playerId, table, botConfig);
|
|
@@ -5154,6 +5218,21 @@
|
|
|
5154
5218
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5155
5219
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5156
5220
|
tmp_0.s61(tmp$ret$3);
|
|
5221
|
+
// Inline function 'org.kodein.di.bind' call
|
|
5222
|
+
// Inline function 'org.kodein.type.generic' call
|
|
5223
|
+
var tmp_5 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
|
|
5224
|
+
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5225
|
+
var tmp_6 = $this$Module.u5x(tmp$ret$4, null, null);
|
|
5226
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
5227
|
+
var creator_0 = serverHelpersModule$lambda$lambda_0;
|
|
5228
|
+
var tmp_7 = $this$Module.z5x();
|
|
5229
|
+
var tmp_8 = $this$Module.x5x();
|
|
5230
|
+
var tmp_9 = $this$Module.y5x();
|
|
5231
|
+
// Inline function 'org.kodein.type.generic' call
|
|
5232
|
+
var tmp_10 = typeToken(createKType(getKClass(GameServerHelperImpl), arrayOf([]), false));
|
|
5233
|
+
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5234
|
+
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
5235
|
+
tmp_6.s61(tmp$ret$7);
|
|
5157
5236
|
return Unit_instance;
|
|
5158
5237
|
}
|
|
5159
5238
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
@@ -5165,6 +5244,9 @@
|
|
|
5165
5244
|
var tmp$ret$1 = tmp.g5z(tmp$ret$0, null);
|
|
5166
5245
|
return new TestHelperImpl(tmp$ret$1);
|
|
5167
5246
|
}
|
|
5247
|
+
function serverHelpersModule$lambda$lambda_0($this$singleton) {
|
|
5248
|
+
return new GameServerHelperImpl();
|
|
5249
|
+
}
|
|
5168
5250
|
//region block: post-declaration
|
|
5169
5251
|
defineProp(protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1), 'playerId', function () {
|
|
5170
5252
|
return this.i6a();
|
|
@@ -5198,19 +5280,22 @@
|
|
|
5198
5280
|
});
|
|
5199
5281
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5200
5282
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5201
|
-
return this.
|
|
5283
|
+
return this.sa0();
|
|
5202
5284
|
});
|
|
5203
5285
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5204
|
-
return this.
|
|
5286
|
+
return this.ua0();
|
|
5287
|
+
});
|
|
5288
|
+
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
5289
|
+
return this.va0();
|
|
5205
5290
|
});
|
|
5206
5291
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5207
|
-
return this.
|
|
5292
|
+
return this.wa0();
|
|
5208
5293
|
});
|
|
5209
5294
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5210
|
-
return this.
|
|
5295
|
+
return this.ta0();
|
|
5211
5296
|
});
|
|
5212
5297
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5213
|
-
return this.
|
|
5298
|
+
return this.xa0();
|
|
5214
5299
|
});
|
|
5215
5300
|
//endregion
|
|
5216
5301
|
//region block: init
|
|
@@ -5221,6 +5306,15 @@
|
|
|
5221
5306
|
//endregion
|
|
5222
5307
|
//region block: exports
|
|
5223
5308
|
function $jsExportAll$(_) {
|
|
5309
|
+
var $games = _.games || (_.games = {});
|
|
5310
|
+
var $games$jass = $games.jass || ($games.jass = {});
|
|
5311
|
+
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
5312
|
+
var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
|
|
5313
|
+
var $games$jass$logic$server$data = $games$jass$logic$server.data || ($games$jass$logic$server.data = {});
|
|
5314
|
+
var $games$jass$logic$server$data$models = $games$jass$logic$server$data.models || ($games$jass$logic$server$data.models = {});
|
|
5315
|
+
var $games$jass$logic$server$data$models$config = $games$jass$logic$server$data$models.config || ($games$jass$logic$server$data$models.config = {});
|
|
5316
|
+
$games$jass$logic$server$data$models$config.ServerConfig = ServerConfig;
|
|
5317
|
+
defineProp($games$jass$logic$server$data$models$config.ServerConfig, 'Companion', Companion_getInstance_1);
|
|
5224
5318
|
var $games = _.games || (_.games = {});
|
|
5225
5319
|
var $games$jass = $games.jass || ($games.jass = {});
|
|
5226
5320
|
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
@@ -5235,6 +5329,14 @@
|
|
|
5235
5329
|
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
5236
5330
|
var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
|
|
5237
5331
|
var $games$jass$logic$server$domain = $games$jass$logic$server.domain || ($games$jass$logic$server.domain = {});
|
|
5332
|
+
var $games = _.games || (_.games = {});
|
|
5333
|
+
var $games$jass = $games.jass || ($games.jass = {});
|
|
5334
|
+
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
5335
|
+
var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
|
|
5336
|
+
var $games$jass$logic$server$redux = $games$jass$logic$server.redux || ($games$jass$logic$server.redux = {});
|
|
5337
|
+
var $games$jass$logic$server$redux$state = $games$jass$logic$server$redux.state || ($games$jass$logic$server$redux.state = {});
|
|
5338
|
+
$games$jass$logic$server$redux$state.ServerStatePayload = ServerStatePayload;
|
|
5339
|
+
defineProp($games$jass$logic$server$redux$state.ServerStatePayload, 'Companion', Companion_getInstance_3);
|
|
5238
5340
|
_.createGameServerController = createGameServerController;
|
|
5239
5341
|
}
|
|
5240
5342
|
$jsExportAll$(_);
|