raspberry_games_server_game_logic 1.8.373 → 1.8.376
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +5 -5
- package/Kosi-Kodein-kodein-di.js +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime.js +35 -35
- package/Logic_Debertz-core.js +128 -105
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10282 -10248
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +6 -5
- package/Logic_Debertz-game_server.js +894 -878
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +1 -1
- package/kotlin-kotlin-stdlib.js +154 -150
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-coroutines-core.js +28 -28
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +10 -10
- package/kotlinx-serialization-kotlinx-serialization-core.js +38 -38
- package/kotlinx-serialization-kotlinx-serialization-json.js +43 -43
- package/ktor-ktor-client-content-negotiation.js +8 -8
- package/ktor-ktor-client-core.js +23 -23
- package/ktor-ktor-client-logging.js +5 -5
- package/ktor-ktor-events.js +2 -2
- package/ktor-ktor-http.js +36 -36
- package/ktor-ktor-io.js +16 -16
- package/ktor-ktor-serialization-kotlinx.js +2 -2
- package/ktor-ktor-serialization.js +3 -3
- package/ktor-ktor-utils.js +14 -14
- package/ktor-ktor-websockets.js +4 -4
- package/package.json +1 -1
- package/random-library-crypto-rand.js +3 -3
- package/random-library-secure-random.js +1 -1
- package/raspberry-cardgame-lib-core.js +8 -8
- package/raspberry-cardgame-lib-logger.js +5 -5
- package/raspberry-cardgame-lib-random.js +13 -13
- package/uuid.js +4 -4
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
var CoroutineImpl = kotlin_kotlin.$_$.na;
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
48
48
|
var protoOf = kotlin_kotlin.$_$.hd;
|
|
49
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
49
|
+
var THROW_CCE = kotlin_kotlin.$_$.lh;
|
|
50
50
|
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g1;
|
|
51
51
|
var initMetadataForLambda = kotlin_kotlin.$_$.lc;
|
|
52
52
|
var VOID = kotlin_kotlin.$_$.b;
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
var fromInt = kotlin_kotlin.$_$.cb;
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
62
|
-
var to = kotlin_kotlin.$_$.
|
|
62
|
+
var to = kotlin_kotlin.$_$.qi;
|
|
63
63
|
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
64
64
|
var defineProp = kotlin_kotlin.$_$.zb;
|
|
65
65
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
66
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.he;
|
|
67
67
|
var getPropertyCallableRef = kotlin_kotlin.$_$.ec;
|
|
68
68
|
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
69
69
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
79
79
|
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
81
|
-
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
81
|
+
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t3;
|
|
82
82
|
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
83
83
|
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
84
84
|
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
85
|
-
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
86
|
-
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
85
|
+
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
86
|
+
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
|
|
87
87
|
var toList = kotlin_kotlin.$_$.k9;
|
|
88
88
|
var toString = kotlin_kotlin.$_$.kd;
|
|
89
89
|
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
|
|
90
|
-
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
90
|
+
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.z3;
|
|
91
91
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
|
|
92
92
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i6;
|
|
93
93
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
@@ -96,44 +96,44 @@
|
|
|
96
96
|
var firstOrNull = kotlin_kotlin.$_$.h7;
|
|
97
97
|
var toMutableList = kotlin_kotlin.$_$.n9;
|
|
98
98
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
99
|
-
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
100
|
-
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
101
|
-
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
99
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.z4;
|
|
100
|
+
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
101
|
+
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y2;
|
|
102
102
|
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
|
|
103
103
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.l1;
|
|
104
104
|
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d2;
|
|
105
105
|
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
106
106
|
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
107
|
-
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
107
|
+
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.x3;
|
|
108
108
|
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
109
109
|
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.h2;
|
|
110
110
|
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f2;
|
|
111
111
|
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
|
|
112
|
-
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
113
|
-
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
112
|
+
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
|
|
113
|
+
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b4;
|
|
114
114
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
115
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
115
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ji;
|
|
116
116
|
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
117
117
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
118
118
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
119
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
120
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
121
|
-
var createKType = kotlin_kotlin.$_$.
|
|
119
|
+
var getKClass = kotlin_kotlin.$_$.de;
|
|
120
|
+
var arrayOf = kotlin_kotlin.$_$.zh;
|
|
121
|
+
var createKType = kotlin_kotlin.$_$.be;
|
|
122
122
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
123
123
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
124
124
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
125
125
|
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
126
126
|
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
127
127
|
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
128
|
-
var lazy = kotlin_kotlin.$_$.
|
|
128
|
+
var lazy = kotlin_kotlin.$_$.ii;
|
|
129
129
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
130
130
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
131
131
|
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
132
132
|
var plus = kotlin_kotlin.$_$.p8;
|
|
133
133
|
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
134
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
134
|
+
var toString_0 = kotlin_kotlin.$_$.pi;
|
|
135
135
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
136
|
-
var Enum = kotlin_kotlin.$_$.
|
|
136
|
+
var Enum = kotlin_kotlin.$_$.bh;
|
|
137
137
|
var getBooleanHashCode = kotlin_kotlin.$_$.cc;
|
|
138
138
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
139
139
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
var copyToArray = kotlin_kotlin.$_$.y6;
|
|
169
169
|
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
170
170
|
var KtList = kotlin_kotlin.$_$.n5;
|
|
171
|
-
var Long = kotlin_kotlin.$_$.
|
|
171
|
+
var Long = kotlin_kotlin.$_$.gh;
|
|
172
172
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
173
173
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
174
174
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
@@ -176,6 +176,7 @@
|
|
|
176
176
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
177
177
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
178
178
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
179
|
+
var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.r2;
|
|
179
180
|
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
|
|
180
181
|
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f3;
|
|
181
182
|
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.b3;
|
|
@@ -202,7 +203,7 @@
|
|
|
202
203
|
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
|
|
203
204
|
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
204
205
|
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
205
|
-
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
206
|
+
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.d4;
|
|
206
207
|
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
207
208
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
208
209
|
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
@@ -246,11 +247,11 @@
|
|
|
246
247
|
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
247
248
|
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
248
249
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
249
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
250
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
250
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
251
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
251
252
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
252
253
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
253
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
254
|
+
var toDuration = kotlin_kotlin.$_$.tg;
|
|
254
255
|
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
255
256
|
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
256
257
|
var singleOrNull = kotlin_kotlin.$_$.y8;
|
|
@@ -259,27 +260,27 @@
|
|
|
259
260
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
260
261
|
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
261
262
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
263
|
+
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
262
264
|
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
263
265
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.g1;
|
|
264
266
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
265
|
-
var
|
|
267
|
+
var Companion_instance_4 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
266
268
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
267
269
|
var mutableListOf = kotlin_kotlin.$_$.l8;
|
|
268
270
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
269
271
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
270
|
-
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
272
|
+
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
271
273
|
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
272
274
|
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
273
275
|
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
274
|
-
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
275
276
|
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
276
277
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
277
|
-
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
278
|
-
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
279
|
-
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
280
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
281
|
-
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
282
|
-
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
278
|
+
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
279
|
+
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
280
|
+
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
281
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b5;
|
|
282
|
+
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
|
|
283
|
+
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
283
284
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
284
285
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
285
286
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
@@ -358,10 +359,10 @@
|
|
|
358
359
|
spectators = tmp;
|
|
359
360
|
var tmp_0;
|
|
360
361
|
if ($super === VOID) {
|
|
361
|
-
this.
|
|
362
|
+
this.z9t(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
362
363
|
tmp_0 = Unit_instance;
|
|
363
364
|
} else {
|
|
364
|
-
tmp_0 = $super.
|
|
365
|
+
tmp_0 = $super.z9t.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
365
366
|
}
|
|
366
367
|
return tmp_0;
|
|
367
368
|
}
|
|
@@ -369,10 +370,10 @@
|
|
|
369
370
|
newRid = newRid === VOID ? null : newRid;
|
|
370
371
|
var tmp;
|
|
371
372
|
if ($super === VOID) {
|
|
372
|
-
this.
|
|
373
|
+
this.a9u(newRid);
|
|
373
374
|
tmp = Unit_instance;
|
|
374
375
|
} else {
|
|
375
|
-
tmp = $super.
|
|
376
|
+
tmp = $super.a9u.call(this, newRid);
|
|
376
377
|
}
|
|
377
378
|
return tmp;
|
|
378
379
|
}
|
|
@@ -380,10 +381,10 @@
|
|
|
380
381
|
roomId = roomId === VOID ? null : roomId;
|
|
381
382
|
var tmp;
|
|
382
383
|
if ($super === VOID) {
|
|
383
|
-
this.
|
|
384
|
+
this.b9u(reason, roomId);
|
|
384
385
|
tmp = Unit_instance;
|
|
385
386
|
} else {
|
|
386
|
-
tmp = $super.
|
|
387
|
+
tmp = $super.b9u.call(this, reason, roomId);
|
|
387
388
|
}
|
|
388
389
|
return tmp;
|
|
389
390
|
}
|
|
@@ -448,7 +449,7 @@
|
|
|
448
449
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
449
450
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
450
451
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
451
|
-
return $super === VOID ? this.
|
|
452
|
+
return $super === VOID ? this.p9y(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.p9y.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
452
453
|
}
|
|
453
454
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
454
455
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -459,17 +460,17 @@
|
|
|
459
460
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
460
461
|
//endregion
|
|
461
462
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
462
|
-
this.
|
|
463
|
+
this.t9d_1 = $subscriber;
|
|
463
464
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
465
|
}
|
|
465
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
466
|
-
var tmp = this.
|
|
466
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).v9d = function (it, $completion) {
|
|
467
|
+
var tmp = this.w9d(it, $completion);
|
|
467
468
|
tmp.t8_1 = Unit_instance;
|
|
468
469
|
tmp.u8_1 = null;
|
|
469
470
|
return tmp.z8();
|
|
470
471
|
};
|
|
471
472
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
472
|
-
return this.
|
|
473
|
+
return this.v9d(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
473
474
|
};
|
|
474
475
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
475
476
|
var suspendResult = this.t8_1;
|
|
@@ -478,7 +479,7 @@
|
|
|
478
479
|
var tmp = this.r8_1;
|
|
479
480
|
if (tmp === 0) {
|
|
480
481
|
this.s8_1 = 1;
|
|
481
|
-
this.
|
|
482
|
+
this.t9d_1(this.u9d_1);
|
|
482
483
|
return Unit_instance;
|
|
483
484
|
} else if (tmp === 1) {
|
|
484
485
|
throw this.u8_1;
|
|
@@ -489,31 +490,31 @@
|
|
|
489
490
|
}
|
|
490
491
|
while (true);
|
|
491
492
|
};
|
|
492
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
493
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
494
|
-
i.
|
|
493
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9d = function (it, completion) {
|
|
494
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.t9d_1, completion);
|
|
495
|
+
i.u9d_1 = it;
|
|
495
496
|
return i;
|
|
496
497
|
};
|
|
497
498
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
498
499
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
499
500
|
var l = function (it, $completion) {
|
|
500
|
-
return i.
|
|
501
|
+
return i.v9d(it, $completion);
|
|
501
502
|
};
|
|
502
503
|
l.$arity = 1;
|
|
503
504
|
return l;
|
|
504
505
|
}
|
|
505
506
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
506
|
-
this.
|
|
507
|
+
this.f9e_1 = $subscriber;
|
|
507
508
|
CoroutineImpl.call(this, resultContinuation);
|
|
508
509
|
}
|
|
509
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
510
|
-
var tmp = this.
|
|
510
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9e = function (it, $completion) {
|
|
511
|
+
var tmp = this.i9e(it, $completion);
|
|
511
512
|
tmp.t8_1 = Unit_instance;
|
|
512
513
|
tmp.u8_1 = null;
|
|
513
514
|
return tmp.z8();
|
|
514
515
|
};
|
|
515
516
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
516
|
-
return this.
|
|
517
|
+
return this.h9e((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
517
518
|
};
|
|
518
519
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
519
520
|
var suspendResult = this.t8_1;
|
|
@@ -522,7 +523,7 @@
|
|
|
522
523
|
var tmp = this.r8_1;
|
|
523
524
|
if (tmp === 0) {
|
|
524
525
|
this.s8_1 = 1;
|
|
525
|
-
this.
|
|
526
|
+
this.f9e_1(this.g9e_1);
|
|
526
527
|
return Unit_instance;
|
|
527
528
|
} else if (tmp === 1) {
|
|
528
529
|
throw this.u8_1;
|
|
@@ -533,22 +534,22 @@
|
|
|
533
534
|
}
|
|
534
535
|
while (true);
|
|
535
536
|
};
|
|
536
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
537
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
538
|
-
i.
|
|
537
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9e = function (it, completion) {
|
|
538
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.f9e_1, completion);
|
|
539
|
+
i.g9e_1 = it;
|
|
539
540
|
return i;
|
|
540
541
|
};
|
|
541
542
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
542
543
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
543
544
|
var l = function (it, $completion) {
|
|
544
|
-
return i.
|
|
545
|
+
return i.h9e(it, $completion);
|
|
545
546
|
};
|
|
546
547
|
l.$arity = 1;
|
|
547
548
|
return l;
|
|
548
549
|
}
|
|
549
550
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
551
|
+
this.r9e_1 = $$this$unsafeFlow;
|
|
552
|
+
this.s9e_1 = this$0;
|
|
552
553
|
CoroutineImpl.call(this, resultContinuation);
|
|
553
554
|
}
|
|
554
555
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -568,10 +569,10 @@
|
|
|
568
569
|
switch (tmp) {
|
|
569
570
|
case 0:
|
|
570
571
|
this.s8_1 = 2;
|
|
571
|
-
var tmp0 = this.
|
|
572
|
-
var value = this.
|
|
572
|
+
var tmp0 = this.r9e_1;
|
|
573
|
+
var value = this.t9e_1;
|
|
573
574
|
this.r8_1 = 1;
|
|
574
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
575
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.s9e_1)), this);
|
|
575
576
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
576
577
|
return suspendResult;
|
|
577
578
|
}
|
|
@@ -594,8 +595,8 @@
|
|
|
594
595
|
while (true);
|
|
595
596
|
};
|
|
596
597
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
597
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
598
|
-
i.
|
|
598
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.r9e_1, this.s9e_1, completion);
|
|
599
|
+
i.t9e_1 = value;
|
|
599
600
|
return i;
|
|
600
601
|
};
|
|
601
602
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -608,8 +609,8 @@
|
|
|
608
609
|
}
|
|
609
610
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
610
611
|
CoroutineImpl.call(this, resultContinuation);
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
612
|
+
this.c9f_1 = _this__u8e3s4;
|
|
613
|
+
this.d9f_1 = collector;
|
|
613
614
|
}
|
|
614
615
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
615
616
|
var suspendResult = this.t8_1;
|
|
@@ -619,10 +620,10 @@
|
|
|
619
620
|
switch (tmp) {
|
|
620
621
|
case 0:
|
|
621
622
|
this.s8_1 = 2;
|
|
622
|
-
var $this$unsafeFlow = this.
|
|
623
|
+
var $this$unsafeFlow = this.d9f_1;
|
|
623
624
|
this.r8_1 = 1;
|
|
624
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
625
|
-
suspendResult = this.
|
|
625
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.c9f_1.f9f_1, null);
|
|
626
|
+
suspendResult = this.c9f_1.e9f_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
626
627
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
627
628
|
return suspendResult;
|
|
628
629
|
}
|
|
@@ -645,8 +646,8 @@
|
|
|
645
646
|
while (true);
|
|
646
647
|
};
|
|
647
648
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
648
|
-
this.
|
|
649
|
-
this.
|
|
649
|
+
this.e9f_1 = $this;
|
|
650
|
+
this.f9f_1 = this$0;
|
|
650
651
|
}
|
|
651
652
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
652
653
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -658,17 +659,17 @@
|
|
|
658
659
|
return this.m28(collector, $completion);
|
|
659
660
|
};
|
|
660
661
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
661
|
-
this.
|
|
662
|
+
this.o9f_1 = $subscriber;
|
|
662
663
|
CoroutineImpl.call(this, resultContinuation);
|
|
663
664
|
}
|
|
664
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
665
|
-
var tmp = this.
|
|
665
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9f = function (it, $completion) {
|
|
666
|
+
var tmp = this.r9f(it, $completion);
|
|
666
667
|
tmp.t8_1 = Unit_instance;
|
|
667
668
|
tmp.u8_1 = null;
|
|
668
669
|
return tmp.z8();
|
|
669
670
|
};
|
|
670
671
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
671
|
-
return this.
|
|
672
|
+
return this.q9f((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
672
673
|
};
|
|
673
674
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
674
675
|
var suspendResult = this.t8_1;
|
|
@@ -677,7 +678,7 @@
|
|
|
677
678
|
var tmp = this.r8_1;
|
|
678
679
|
if (tmp === 0) {
|
|
679
680
|
this.s8_1 = 1;
|
|
680
|
-
this.
|
|
681
|
+
this.o9f_1(this.p9f_1);
|
|
681
682
|
return Unit_instance;
|
|
682
683
|
} else if (tmp === 1) {
|
|
683
684
|
throw this.u8_1;
|
|
@@ -688,21 +689,21 @@
|
|
|
688
689
|
}
|
|
689
690
|
while (true);
|
|
690
691
|
};
|
|
691
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
692
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
693
|
-
i.
|
|
692
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).r9f = function (it, completion) {
|
|
693
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.o9f_1, completion);
|
|
694
|
+
i.p9f_1 = it;
|
|
694
695
|
return i;
|
|
695
696
|
};
|
|
696
697
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
697
698
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
698
699
|
var l = function (it, $completion) {
|
|
699
|
-
return i.
|
|
700
|
+
return i.q9f(it, $completion);
|
|
700
701
|
};
|
|
701
702
|
l.$arity = 1;
|
|
702
703
|
return l;
|
|
703
704
|
}
|
|
704
705
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
705
|
-
this.
|
|
706
|
+
this.a9g_1 = $$this$unsafeFlow;
|
|
706
707
|
CoroutineImpl.call(this, resultContinuation);
|
|
707
708
|
}
|
|
708
709
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -722,8 +723,8 @@
|
|
|
722
723
|
switch (tmp) {
|
|
723
724
|
case 0:
|
|
724
725
|
this.s8_1 = 2;
|
|
725
|
-
var tmp0 = this.
|
|
726
|
-
var value = this.
|
|
726
|
+
var tmp0 = this.a9g_1;
|
|
727
|
+
var value = this.b9g_1;
|
|
727
728
|
this.r8_1 = 1;
|
|
728
729
|
suspendResult = tmp0.l28(new ActionsStateUpdate(value), this);
|
|
729
730
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -748,8 +749,8 @@
|
|
|
748
749
|
while (true);
|
|
749
750
|
};
|
|
750
751
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
751
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
752
|
-
i.
|
|
752
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.a9g_1, completion);
|
|
753
|
+
i.b9g_1 = value;
|
|
753
754
|
return i;
|
|
754
755
|
};
|
|
755
756
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -762,8 +763,8 @@
|
|
|
762
763
|
}
|
|
763
764
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
764
765
|
CoroutineImpl.call(this, resultContinuation);
|
|
765
|
-
this.
|
|
766
|
-
this.
|
|
766
|
+
this.k9g_1 = _this__u8e3s4;
|
|
767
|
+
this.l9g_1 = collector;
|
|
767
768
|
}
|
|
768
769
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
769
770
|
var suspendResult = this.t8_1;
|
|
@@ -773,10 +774,10 @@
|
|
|
773
774
|
switch (tmp) {
|
|
774
775
|
case 0:
|
|
775
776
|
this.s8_1 = 2;
|
|
776
|
-
var $this$unsafeFlow = this.
|
|
777
|
+
var $this$unsafeFlow = this.l9g_1;
|
|
777
778
|
this.r8_1 = 1;
|
|
778
779
|
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, null);
|
|
779
|
-
suspendResult = this.
|
|
780
|
+
suspendResult = this.k9g_1.m9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
780
781
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
781
782
|
return suspendResult;
|
|
782
783
|
}
|
|
@@ -799,7 +800,7 @@
|
|
|
799
800
|
while (true);
|
|
800
801
|
};
|
|
801
802
|
function _no_name_provided__qut3iv($this) {
|
|
802
|
-
this.
|
|
803
|
+
this.m9g_1 = $this;
|
|
803
804
|
}
|
|
804
805
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
805
806
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -811,18 +812,18 @@
|
|
|
811
812
|
return this.m28(collector, $completion);
|
|
812
813
|
};
|
|
813
814
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
814
|
-
this.
|
|
815
|
-
this.
|
|
815
|
+
this.v9g_1 = $table;
|
|
816
|
+
this.w9g_1 = this$0;
|
|
816
817
|
CoroutineImpl.call(this, resultContinuation);
|
|
817
818
|
}
|
|
818
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
819
|
-
var tmp = this.
|
|
819
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).y9g = function ($this$flow, $completion) {
|
|
820
|
+
var tmp = this.z9g($this$flow, $completion);
|
|
820
821
|
tmp.t8_1 = Unit_instance;
|
|
821
822
|
tmp.u8_1 = null;
|
|
822
823
|
return tmp.z8();
|
|
823
824
|
};
|
|
824
825
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
825
|
-
return this.
|
|
826
|
+
return this.y9g((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
826
827
|
};
|
|
827
828
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
828
829
|
var suspendResult = this.t8_1;
|
|
@@ -833,7 +834,7 @@
|
|
|
833
834
|
case 0:
|
|
834
835
|
this.s8_1 = 3;
|
|
835
836
|
this.r8_1 = 1;
|
|
836
|
-
suspendResult = this.
|
|
837
|
+
suspendResult = this.x9g_1.l28(new TableStateUpdate(this.v9g_1), this);
|
|
837
838
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
838
839
|
return suspendResult;
|
|
839
840
|
}
|
|
@@ -841,8 +842,8 @@
|
|
|
841
842
|
continue $sm;
|
|
842
843
|
case 1:
|
|
843
844
|
this.r8_1 = 2;
|
|
844
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
845
|
-
suspendResult = emitAll(this.
|
|
845
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.w9g_1).o8i(), fromInt(_get_serverReduxConfig__rprcrm(this.w9g_1).serverStateUpdateIntervalMillis));
|
|
846
|
+
suspendResult = emitAll(this.x9g_1, new _no_name_provided__qut3iv(this_0), this);
|
|
846
847
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
847
848
|
return suspendResult;
|
|
848
849
|
}
|
|
@@ -864,21 +865,21 @@
|
|
|
864
865
|
}
|
|
865
866
|
while (true);
|
|
866
867
|
};
|
|
867
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
868
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
869
|
-
i.
|
|
868
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z9g = function ($this$flow, completion) {
|
|
869
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.v9g_1, this.w9g_1, completion);
|
|
870
|
+
i.x9g_1 = $this$flow;
|
|
870
871
|
return i;
|
|
871
872
|
};
|
|
872
873
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
873
874
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
874
875
|
var l = function ($this$flow, $completion) {
|
|
875
|
-
return i.
|
|
876
|
+
return i.y9g($this$flow, $completion);
|
|
876
877
|
};
|
|
877
878
|
l.$arity = 1;
|
|
878
879
|
return l;
|
|
879
880
|
}
|
|
880
881
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
881
|
-
this.
|
|
882
|
+
this.i9h_1 = $$this$unsafeFlow;
|
|
882
883
|
CoroutineImpl.call(this, resultContinuation);
|
|
883
884
|
}
|
|
884
885
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -899,28 +900,28 @@
|
|
|
899
900
|
case 0:
|
|
900
901
|
this.s8_1 = 5;
|
|
901
902
|
var tmp_0 = this;
|
|
902
|
-
tmp_0.
|
|
903
|
+
tmp_0.n9h_1 = this.i9h_1;
|
|
903
904
|
var tmp_1 = this;
|
|
904
|
-
tmp_1.
|
|
905
|
+
tmp_1.m9h_1 = this.j9h_1;
|
|
905
906
|
this.r8_1 = 1;
|
|
906
907
|
continue $sm;
|
|
907
908
|
case 1:
|
|
908
|
-
this.
|
|
909
|
-
var tmp0_elvis_lhs = this.
|
|
909
|
+
this.k9h_1 = this.n9h_1;
|
|
910
|
+
var tmp0_elvis_lhs = this.m9h_1.t6l_1;
|
|
910
911
|
if (tmp0_elvis_lhs == null) {
|
|
911
912
|
this.r8_1 = 4;
|
|
912
913
|
var tmp_2 = this;
|
|
913
914
|
continue $sm;
|
|
914
915
|
} else {
|
|
915
|
-
this.
|
|
916
|
+
this.l9h_1 = tmp0_elvis_lhs;
|
|
916
917
|
this.r8_1 = 2;
|
|
917
918
|
continue $sm;
|
|
918
919
|
}
|
|
919
920
|
|
|
920
921
|
case 2:
|
|
921
|
-
var transformed = this.
|
|
922
|
+
var transformed = this.l9h_1;
|
|
922
923
|
this.r8_1 = 3;
|
|
923
|
-
suspendResult = this.
|
|
924
|
+
suspendResult = this.k9h_1.l28(transformed, this);
|
|
924
925
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
925
926
|
return suspendResult;
|
|
926
927
|
}
|
|
@@ -951,8 +952,8 @@
|
|
|
951
952
|
while (true);
|
|
952
953
|
};
|
|
953
954
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
954
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
955
|
-
i.
|
|
955
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.i9h_1, completion);
|
|
956
|
+
i.j9h_1 = value;
|
|
956
957
|
return i;
|
|
957
958
|
};
|
|
958
959
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -965,8 +966,8 @@
|
|
|
965
966
|
}
|
|
966
967
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
967
968
|
CoroutineImpl.call(this, resultContinuation);
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
969
|
+
this.w9h_1 = _this__u8e3s4;
|
|
970
|
+
this.x9h_1 = collector;
|
|
970
971
|
}
|
|
971
972
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
972
973
|
var suspendResult = this.t8_1;
|
|
@@ -976,10 +977,10 @@
|
|
|
976
977
|
switch (tmp) {
|
|
977
978
|
case 0:
|
|
978
979
|
this.s8_1 = 2;
|
|
979
|
-
var $this$unsafeFlow = this.
|
|
980
|
+
var $this$unsafeFlow = this.x9h_1;
|
|
980
981
|
this.r8_1 = 1;
|
|
981
982
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
982
|
-
suspendResult = this.
|
|
983
|
+
suspendResult = this.w9h_1.y9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
983
984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
984
985
|
return suspendResult;
|
|
985
986
|
}
|
|
@@ -1002,7 +1003,7 @@
|
|
|
1002
1003
|
while (true);
|
|
1003
1004
|
};
|
|
1004
1005
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1005
|
-
this.
|
|
1006
|
+
this.h9i_1 = $$this$unsafeFlow;
|
|
1006
1007
|
CoroutineImpl.call(this, resultContinuation);
|
|
1007
1008
|
}
|
|
1008
1009
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1022,8 +1023,8 @@
|
|
|
1022
1023
|
switch (tmp) {
|
|
1023
1024
|
case 0:
|
|
1024
1025
|
this.s8_1 = 2;
|
|
1025
|
-
var tmp0 = this.
|
|
1026
|
-
var value = this.
|
|
1026
|
+
var tmp0 = this.h9i_1;
|
|
1027
|
+
var value = this.i9i_1;
|
|
1027
1028
|
this.r8_1 = 1;
|
|
1028
1029
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1029
1030
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1048,8 +1049,8 @@
|
|
|
1048
1049
|
while (true);
|
|
1049
1050
|
};
|
|
1050
1051
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1051
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1052
|
-
i.
|
|
1052
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.h9i_1, completion);
|
|
1053
|
+
i.i9i_1 = value;
|
|
1053
1054
|
return i;
|
|
1054
1055
|
};
|
|
1055
1056
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1062,8 +1063,8 @@
|
|
|
1062
1063
|
}
|
|
1063
1064
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1064
1065
|
CoroutineImpl.call(this, resultContinuation);
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1066
|
+
this.r9i_1 = _this__u8e3s4;
|
|
1067
|
+
this.s9i_1 = collector;
|
|
1067
1068
|
}
|
|
1068
1069
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1069
1070
|
var suspendResult = this.t8_1;
|
|
@@ -1073,10 +1074,10 @@
|
|
|
1073
1074
|
switch (tmp) {
|
|
1074
1075
|
case 0:
|
|
1075
1076
|
this.s8_1 = 2;
|
|
1076
|
-
var $this$unsafeFlow = this.
|
|
1077
|
+
var $this$unsafeFlow = this.s9i_1;
|
|
1077
1078
|
this.r8_1 = 1;
|
|
1078
1079
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1079
|
-
suspendResult = this.
|
|
1080
|
+
suspendResult = this.r9i_1.t9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1080
1081
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1081
1082
|
return suspendResult;
|
|
1082
1083
|
}
|
|
@@ -1099,7 +1100,7 @@
|
|
|
1099
1100
|
while (true);
|
|
1100
1101
|
};
|
|
1101
1102
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1102
|
-
this.
|
|
1103
|
+
this.c9j_1 = $$this$unsafeFlow;
|
|
1103
1104
|
CoroutineImpl.call(this, resultContinuation);
|
|
1104
1105
|
}
|
|
1105
1106
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1119,8 +1120,8 @@
|
|
|
1119
1120
|
switch (tmp) {
|
|
1120
1121
|
case 0:
|
|
1121
1122
|
this.s8_1 = 2;
|
|
1122
|
-
var tmp0 = this.
|
|
1123
|
-
var value = this.
|
|
1123
|
+
var tmp0 = this.c9j_1;
|
|
1124
|
+
var value = this.d9j_1;
|
|
1124
1125
|
this.r8_1 = 1;
|
|
1125
1126
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1126
1127
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1145,8 +1146,8 @@
|
|
|
1145
1146
|
while (true);
|
|
1146
1147
|
};
|
|
1147
1148
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1148
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1149
|
-
i.
|
|
1149
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.c9j_1, completion);
|
|
1150
|
+
i.d9j_1 = value;
|
|
1150
1151
|
return i;
|
|
1151
1152
|
};
|
|
1152
1153
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1159,8 +1160,8 @@
|
|
|
1159
1160
|
}
|
|
1160
1161
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1161
1162
|
CoroutineImpl.call(this, resultContinuation);
|
|
1162
|
-
this.
|
|
1163
|
-
this.
|
|
1163
|
+
this.m9j_1 = _this__u8e3s4;
|
|
1164
|
+
this.n9j_1 = collector;
|
|
1164
1165
|
}
|
|
1165
1166
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1166
1167
|
var suspendResult = this.t8_1;
|
|
@@ -1170,10 +1171,10 @@
|
|
|
1170
1171
|
switch (tmp) {
|
|
1171
1172
|
case 0:
|
|
1172
1173
|
this.s8_1 = 2;
|
|
1173
|
-
var $this$unsafeFlow = this.
|
|
1174
|
+
var $this$unsafeFlow = this.n9j_1;
|
|
1174
1175
|
this.r8_1 = 1;
|
|
1175
1176
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1176
|
-
suspendResult = this.
|
|
1177
|
+
suspendResult = this.m9j_1.o9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1177
1178
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1178
1179
|
return suspendResult;
|
|
1179
1180
|
}
|
|
@@ -1196,17 +1197,17 @@
|
|
|
1196
1197
|
while (true);
|
|
1197
1198
|
};
|
|
1198
1199
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1199
|
-
this.
|
|
1200
|
+
this.x9j_1 = $subscriber;
|
|
1200
1201
|
CoroutineImpl.call(this, resultContinuation);
|
|
1201
1202
|
}
|
|
1202
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1203
|
-
var tmp = this.
|
|
1203
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).z9j = function (it, $completion) {
|
|
1204
|
+
var tmp = this.a9k(it, $completion);
|
|
1204
1205
|
tmp.t8_1 = Unit_instance;
|
|
1205
1206
|
tmp.u8_1 = null;
|
|
1206
1207
|
return tmp.z8();
|
|
1207
1208
|
};
|
|
1208
1209
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1209
|
-
return this.
|
|
1210
|
+
return this.z9j(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1210
1211
|
};
|
|
1211
1212
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1212
1213
|
var suspendResult = this.t8_1;
|
|
@@ -1215,7 +1216,7 @@
|
|
|
1215
1216
|
var tmp = this.r8_1;
|
|
1216
1217
|
if (tmp === 0) {
|
|
1217
1218
|
this.s8_1 = 1;
|
|
1218
|
-
this.
|
|
1219
|
+
this.x9j_1(this.y9j_1);
|
|
1219
1220
|
return Unit_instance;
|
|
1220
1221
|
} else if (tmp === 1) {
|
|
1221
1222
|
throw this.u8_1;
|
|
@@ -1226,83 +1227,83 @@
|
|
|
1226
1227
|
}
|
|
1227
1228
|
while (true);
|
|
1228
1229
|
};
|
|
1229
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1230
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1231
|
-
i.
|
|
1230
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).a9k = function (it, completion) {
|
|
1231
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.x9j_1, completion);
|
|
1232
|
+
i.y9j_1 = it;
|
|
1232
1233
|
return i;
|
|
1233
1234
|
};
|
|
1234
1235
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1235
1236
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1236
1237
|
var l = function (it, $completion) {
|
|
1237
|
-
return i.
|
|
1238
|
+
return i.z9j(it, $completion);
|
|
1238
1239
|
};
|
|
1239
1240
|
l.$arity = 1;
|
|
1240
1241
|
return l;
|
|
1241
1242
|
}
|
|
1242
1243
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1243
|
-
this.
|
|
1244
|
+
this.b9k_1 = $playerId;
|
|
1244
1245
|
}
|
|
1245
1246
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1246
|
-
return this.
|
|
1247
|
+
return this.b9k_1;
|
|
1247
1248
|
};
|
|
1248
1249
|
function _get_logger__rkp4sl($this) {
|
|
1249
|
-
var tmp0 = $this.
|
|
1250
|
+
var tmp0 = $this.e9k_1;
|
|
1250
1251
|
var tmp = KProperty1;
|
|
1251
1252
|
// Inline function 'kotlin.getValue' call
|
|
1252
1253
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1253
1254
|
return tmp0.w();
|
|
1254
1255
|
}
|
|
1255
1256
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1256
|
-
var tmp0 = $this.
|
|
1257
|
+
var tmp0 = $this.f9k_1;
|
|
1257
1258
|
var tmp = KProperty1;
|
|
1258
1259
|
// Inline function 'kotlin.getValue' call
|
|
1259
1260
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1260
1261
|
return tmp0.w();
|
|
1261
1262
|
}
|
|
1262
1263
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1263
|
-
var tmp0 = $this.
|
|
1264
|
+
var tmp0 = $this.g9k_1;
|
|
1264
1265
|
var tmp = KProperty1;
|
|
1265
1266
|
// Inline function 'kotlin.getValue' call
|
|
1266
1267
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1267
1268
|
return tmp0.w();
|
|
1268
1269
|
}
|
|
1269
1270
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1270
|
-
var tmp0 = $this.
|
|
1271
|
+
var tmp0 = $this.h9k_1;
|
|
1271
1272
|
var tmp = KProperty1;
|
|
1272
1273
|
// Inline function 'kotlin.getValue' call
|
|
1273
1274
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1274
1275
|
return tmp0.w();
|
|
1275
1276
|
}
|
|
1276
1277
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1277
|
-
var tmp0 = $this.
|
|
1278
|
+
var tmp0 = $this.i9k_1;
|
|
1278
1279
|
var tmp = KProperty1;
|
|
1279
1280
|
// Inline function 'kotlin.getValue' call
|
|
1280
1281
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1281
1282
|
return tmp0.w();
|
|
1282
1283
|
}
|
|
1283
1284
|
function _get_random__h29cgo($this) {
|
|
1284
|
-
var tmp0 = $this.
|
|
1285
|
+
var tmp0 = $this.j9k_1;
|
|
1285
1286
|
var tmp = KProperty1;
|
|
1286
1287
|
// Inline function 'kotlin.getValue' call
|
|
1287
1288
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1288
1289
|
return tmp0.w();
|
|
1289
1290
|
}
|
|
1290
1291
|
function _get_idsProvider__fnfajc($this) {
|
|
1291
|
-
var tmp0 = $this.
|
|
1292
|
+
var tmp0 = $this.k9k_1;
|
|
1292
1293
|
var tmp = KProperty1;
|
|
1293
1294
|
// Inline function 'kotlin.getValue' call
|
|
1294
1295
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1295
1296
|
return tmp0.w();
|
|
1296
1297
|
}
|
|
1297
1298
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1298
|
-
var tmp0 = $this.
|
|
1299
|
+
var tmp0 = $this.l9k_1;
|
|
1299
1300
|
var tmp = KProperty1;
|
|
1300
1301
|
// Inline function 'kotlin.getValue' call
|
|
1301
1302
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1302
1303
|
return tmp0.w();
|
|
1303
1304
|
}
|
|
1304
1305
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1305
|
-
var tmp0 = $this.
|
|
1306
|
+
var tmp0 = $this.m9k_1;
|
|
1306
1307
|
var tmp = KProperty1;
|
|
1307
1308
|
// Inline function 'kotlin.getValue' call
|
|
1308
1309
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1310,7 +1311,7 @@
|
|
|
1310
1311
|
}
|
|
1311
1312
|
function observeTableStateUpdates($this) {
|
|
1312
1313
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1313
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1314
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.s6l());
|
|
1314
1315
|
return transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1315
1316
|
}
|
|
1316
1317
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
@@ -1329,20 +1330,20 @@
|
|
|
1329
1330
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1330
1331
|
}
|
|
1331
1332
|
function Companion() {
|
|
1332
|
-
this.
|
|
1333
|
+
this.o9k_1 = 'GameEngine_API';
|
|
1333
1334
|
}
|
|
1334
1335
|
var Companion_instance_7;
|
|
1335
1336
|
function Companion_getInstance_0() {
|
|
1336
1337
|
return Companion_instance_7;
|
|
1337
1338
|
}
|
|
1338
1339
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1339
|
-
this.
|
|
1340
|
+
this.p9k_1 = function_0;
|
|
1340
1341
|
}
|
|
1341
1342
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1342
|
-
return this.
|
|
1343
|
+
return this.p9k_1(value, $completion);
|
|
1343
1344
|
};
|
|
1344
1345
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1345
|
-
return this.
|
|
1346
|
+
return this.p9k_1;
|
|
1346
1347
|
};
|
|
1347
1348
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1348
1349
|
var tmp;
|
|
@@ -1363,13 +1364,13 @@
|
|
|
1363
1364
|
return hashCode(this.a3());
|
|
1364
1365
|
};
|
|
1365
1366
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1366
|
-
this.
|
|
1367
|
+
this.q9k_1 = function_0;
|
|
1367
1368
|
}
|
|
1368
1369
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1369
|
-
return this.
|
|
1370
|
+
return this.q9k_1(value, $completion);
|
|
1370
1371
|
};
|
|
1371
1372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1372
|
-
return this.
|
|
1373
|
+
return this.q9k_1;
|
|
1373
1374
|
};
|
|
1374
1375
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1375
1376
|
var tmp;
|
|
@@ -1390,13 +1391,13 @@
|
|
|
1390
1391
|
return hashCode(this.a3());
|
|
1391
1392
|
};
|
|
1392
1393
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1393
|
-
this.
|
|
1394
|
+
this.r9k_1 = function_0;
|
|
1394
1395
|
}
|
|
1395
1396
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1396
|
-
return this.
|
|
1397
|
+
return this.r9k_1(value, $completion);
|
|
1397
1398
|
};
|
|
1398
1399
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1399
|
-
return this.
|
|
1400
|
+
return this.r9k_1;
|
|
1400
1401
|
};
|
|
1401
1402
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1402
1403
|
var tmp;
|
|
@@ -1417,13 +1418,13 @@
|
|
|
1417
1418
|
return hashCode(this.a3());
|
|
1418
1419
|
};
|
|
1419
1420
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1420
|
-
this.
|
|
1421
|
+
this.s9k_1 = function_0;
|
|
1421
1422
|
}
|
|
1422
1423
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1423
|
-
return this.
|
|
1424
|
+
return this.s9k_1(value, $completion);
|
|
1424
1425
|
};
|
|
1425
1426
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1426
|
-
return this.
|
|
1427
|
+
return this.s9k_1;
|
|
1427
1428
|
};
|
|
1428
1429
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1429
1430
|
var tmp;
|
|
@@ -1444,13 +1445,13 @@
|
|
|
1444
1445
|
return hashCode(this.a3());
|
|
1445
1446
|
};
|
|
1446
1447
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1447
|
-
this.
|
|
1448
|
+
this.t9k_1 = function_0;
|
|
1448
1449
|
}
|
|
1449
1450
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1450
|
-
return this.
|
|
1451
|
+
return this.t9k_1(value, $completion);
|
|
1451
1452
|
};
|
|
1452
1453
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1453
|
-
return this.
|
|
1454
|
+
return this.t9k_1;
|
|
1454
1455
|
};
|
|
1455
1456
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1456
1457
|
var tmp;
|
|
@@ -1471,13 +1472,13 @@
|
|
|
1471
1472
|
return hashCode(this.a3());
|
|
1472
1473
|
};
|
|
1473
1474
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1474
|
-
this.
|
|
1475
|
+
this.u9k_1 = function_0;
|
|
1475
1476
|
}
|
|
1476
1477
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1477
|
-
return this.
|
|
1478
|
+
return this.u9k_1(value, $completion);
|
|
1478
1479
|
};
|
|
1479
1480
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1480
|
-
return this.
|
|
1481
|
+
return this.u9k_1;
|
|
1481
1482
|
};
|
|
1482
1483
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1483
1484
|
var tmp;
|
|
@@ -1588,8 +1589,8 @@
|
|
|
1588
1589
|
};
|
|
1589
1590
|
}
|
|
1590
1591
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1591
|
-
this.
|
|
1592
|
-
this.
|
|
1592
|
+
this.d9l_1 = this$0;
|
|
1593
|
+
this.e9l_1 = $subscriber;
|
|
1593
1594
|
CoroutineImpl.call(this, resultContinuation);
|
|
1594
1595
|
}
|
|
1595
1596
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1610,8 +1611,8 @@
|
|
|
1610
1611
|
case 0:
|
|
1611
1612
|
this.s8_1 = 2;
|
|
1612
1613
|
this.r8_1 = 1;
|
|
1613
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1614
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1614
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.d9l_1).g9l();
|
|
1615
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.e9l_1, null);
|
|
1615
1616
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1616
1617
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1617
1618
|
return suspendResult;
|
|
@@ -1635,8 +1636,8 @@
|
|
|
1635
1636
|
while (true);
|
|
1636
1637
|
};
|
|
1637
1638
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1638
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1639
|
-
i.
|
|
1639
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.d9l_1, this.e9l_1, completion);
|
|
1640
|
+
i.f9l_1 = $this$launchDefault;
|
|
1640
1641
|
return i;
|
|
1641
1642
|
};
|
|
1642
1643
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1648,8 +1649,8 @@
|
|
|
1648
1649
|
return l;
|
|
1649
1650
|
}
|
|
1650
1651
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1652
|
+
this.p9l_1 = this$0;
|
|
1653
|
+
this.q9l_1 = $subscriber;
|
|
1653
1654
|
CoroutineImpl.call(this, resultContinuation);
|
|
1654
1655
|
}
|
|
1655
1656
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1670,8 +1671,8 @@
|
|
|
1670
1671
|
case 0:
|
|
1671
1672
|
this.s8_1 = 2;
|
|
1672
1673
|
this.r8_1 = 1;
|
|
1673
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1674
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1674
|
+
var tmp_0 = observeTableStateUpdates(this.p9l_1);
|
|
1675
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.q9l_1, null);
|
|
1675
1676
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1676
1677
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1677
1678
|
return suspendResult;
|
|
@@ -1695,8 +1696,8 @@
|
|
|
1695
1696
|
while (true);
|
|
1696
1697
|
};
|
|
1697
1698
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1698
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1699
|
-
i.
|
|
1699
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.p9l_1, this.q9l_1, completion);
|
|
1700
|
+
i.r9l_1 = $this$launchDefault;
|
|
1700
1701
|
return i;
|
|
1701
1702
|
};
|
|
1702
1703
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1708,8 +1709,8 @@
|
|
|
1708
1709
|
return l;
|
|
1709
1710
|
}
|
|
1710
1711
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1711
|
-
this.
|
|
1712
|
-
this.
|
|
1712
|
+
this.a9m_1 = this$0;
|
|
1713
|
+
this.b9m_1 = $subscriber;
|
|
1713
1714
|
CoroutineImpl.call(this, resultContinuation);
|
|
1714
1715
|
}
|
|
1715
1716
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1730,9 +1731,9 @@
|
|
|
1730
1731
|
case 0:
|
|
1731
1732
|
this.s8_1 = 2;
|
|
1732
1733
|
this.r8_1 = 1;
|
|
1733
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1734
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1735
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1734
|
+
var this_0 = observeTableStateUpdates(this.a9m_1);
|
|
1735
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.a9m_1);
|
|
1736
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.b9m_1, null);
|
|
1736
1737
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1737
1738
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1738
1739
|
return suspendResult;
|
|
@@ -1756,8 +1757,8 @@
|
|
|
1756
1757
|
while (true);
|
|
1757
1758
|
};
|
|
1758
1759
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1759
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1760
|
-
i.
|
|
1760
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.a9m_1, this.b9m_1, completion);
|
|
1761
|
+
i.c9m_1 = $this$launchDefault;
|
|
1761
1762
|
return i;
|
|
1762
1763
|
};
|
|
1763
1764
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1769,18 +1770,18 @@
|
|
|
1769
1770
|
return l;
|
|
1770
1771
|
}
|
|
1771
1772
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1772
|
-
this.
|
|
1773
|
+
this.l9m_1 = this$0;
|
|
1773
1774
|
CoroutineImpl.call(this, resultContinuation);
|
|
1774
1775
|
}
|
|
1775
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1776
|
-
var tmp = this.
|
|
1776
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).o9m = function ($this$transformLatest, it, $completion) {
|
|
1777
|
+
var tmp = this.p9m($this$transformLatest, it, $completion);
|
|
1777
1778
|
tmp.t8_1 = Unit_instance;
|
|
1778
1779
|
tmp.u8_1 = null;
|
|
1779
1780
|
return tmp.z8();
|
|
1780
1781
|
};
|
|
1781
1782
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1782
1783
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1783
|
-
return this.
|
|
1784
|
+
return this.o9m(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1784
1785
|
};
|
|
1785
1786
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1786
1787
|
var suspendResult = this.t8_1;
|
|
@@ -1791,8 +1792,8 @@
|
|
|
1791
1792
|
case 0:
|
|
1792
1793
|
this.s8_1 = 2;
|
|
1793
1794
|
this.r8_1 = 1;
|
|
1794
|
-
var table = this.
|
|
1795
|
-
suspendResult = emitAll(this.
|
|
1795
|
+
var table = this.n9m_1;
|
|
1796
|
+
suspendResult = emitAll(this.m9m_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.l9m_1, null)), this);
|
|
1796
1797
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1797
1798
|
return suspendResult;
|
|
1798
1799
|
}
|
|
@@ -1814,22 +1815,22 @@
|
|
|
1814
1815
|
}
|
|
1815
1816
|
while (true);
|
|
1816
1817
|
};
|
|
1817
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1818
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1819
|
-
i.
|
|
1820
|
-
i.
|
|
1818
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).p9m = function ($this$transformLatest, it, completion) {
|
|
1819
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.l9m_1, completion);
|
|
1820
|
+
i.m9m_1 = $this$transformLatest;
|
|
1821
|
+
i.n9m_1 = it;
|
|
1821
1822
|
return i;
|
|
1822
1823
|
};
|
|
1823
1824
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1824
1825
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1825
1826
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1826
|
-
return i.
|
|
1827
|
+
return i.o9m($this$transformLatest, it, $completion);
|
|
1827
1828
|
};
|
|
1828
1829
|
l.$arity = 2;
|
|
1829
1830
|
return l;
|
|
1830
1831
|
}
|
|
1831
1832
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1832
|
-
this.
|
|
1833
|
+
this.y9h_1 = $this;
|
|
1833
1834
|
}
|
|
1834
1835
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1835
1836
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1841,7 +1842,7 @@
|
|
|
1841
1842
|
return this.m28(collector, $completion);
|
|
1842
1843
|
};
|
|
1843
1844
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1844
|
-
this.
|
|
1845
|
+
this.t9i_1 = $this;
|
|
1845
1846
|
}
|
|
1846
1847
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1847
1848
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1856,7 +1857,7 @@
|
|
|
1856
1857
|
return old.le_1 === new_0.le_1;
|
|
1857
1858
|
}
|
|
1858
1859
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1859
|
-
this.
|
|
1860
|
+
this.o9j_1 = $this;
|
|
1860
1861
|
}
|
|
1861
1862
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1862
1863
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1868,8 +1869,8 @@
|
|
|
1868
1869
|
return this.m28(collector, $completion);
|
|
1869
1870
|
};
|
|
1870
1871
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1871
|
-
this.
|
|
1872
|
-
this.
|
|
1872
|
+
this.y9m_1 = this$0;
|
|
1873
|
+
this.z9m_1 = $subscriber;
|
|
1873
1874
|
CoroutineImpl.call(this, resultContinuation);
|
|
1874
1875
|
}
|
|
1875
1876
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1890,8 +1891,8 @@
|
|
|
1890
1891
|
case 0:
|
|
1891
1892
|
this.s8_1 = 2;
|
|
1892
1893
|
this.r8_1 = 1;
|
|
1893
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1894
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1894
|
+
var tmp_0 = distinctUntilChanged_0(this.y9m_1.s6l());
|
|
1895
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.z9m_1, null);
|
|
1895
1896
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1896
1897
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1897
1898
|
return suspendResult;
|
|
@@ -1915,8 +1916,8 @@
|
|
|
1915
1916
|
while (true);
|
|
1916
1917
|
};
|
|
1917
1918
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1918
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1919
|
-
i.
|
|
1919
|
+
var i = new GameServer$subscribeWith$slambda(this.y9m_1, this.z9m_1, completion);
|
|
1920
|
+
i.a9n_1 = $this$launchDefault;
|
|
1920
1921
|
return i;
|
|
1921
1922
|
};
|
|
1922
1923
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1928,18 +1929,18 @@
|
|
|
1928
1929
|
return l;
|
|
1929
1930
|
}
|
|
1930
1931
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1931
|
-
this.
|
|
1932
|
+
this.j9n_1 = $action;
|
|
1932
1933
|
CoroutineImpl.call(this, resultContinuation);
|
|
1933
1934
|
}
|
|
1934
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1935
|
-
var tmp = this.
|
|
1935
|
+
protoOf(GameServer$fromClientEvent$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1936
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1936
1937
|
tmp.t8_1 = Unit_instance;
|
|
1937
1938
|
tmp.u8_1 = null;
|
|
1938
1939
|
return tmp.z8();
|
|
1939
1940
|
};
|
|
1940
1941
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1941
1942
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1942
|
-
return this.
|
|
1943
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1943
1944
|
};
|
|
1944
1945
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1945
1946
|
var suspendResult = this.t8_1;
|
|
@@ -1948,11 +1949,11 @@
|
|
|
1948
1949
|
var tmp = this.r8_1;
|
|
1949
1950
|
if (tmp === 0) {
|
|
1950
1951
|
this.s8_1 = 1;
|
|
1951
|
-
if (this.
|
|
1952
|
-
if (!get_isCreated(this.
|
|
1952
|
+
if (this.j9n_1 instanceof PlayerReadyFromClientAction)
|
|
1953
|
+
if (!get_isCreated(this.l9n_1.state)) {
|
|
1953
1954
|
return Unit_instance;
|
|
1954
1955
|
}
|
|
1955
|
-
this.
|
|
1956
|
+
this.l9n_1.dispatch(this.j9n_1);
|
|
1956
1957
|
return Unit_instance;
|
|
1957
1958
|
} else if (tmp === 1) {
|
|
1958
1959
|
throw this.u8_1;
|
|
@@ -1963,33 +1964,33 @@
|
|
|
1963
1964
|
}
|
|
1964
1965
|
while (true);
|
|
1965
1966
|
};
|
|
1966
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1967
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1968
|
-
i.
|
|
1969
|
-
i.
|
|
1967
|
+
protoOf(GameServer$fromClientEvent$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
1968
|
+
var i = new GameServer$fromClientEvent$slambda(this.j9n_1, completion);
|
|
1969
|
+
i.k9n_1 = $this$dispatchAsync;
|
|
1970
|
+
i.l9n_1 = store;
|
|
1970
1971
|
return i;
|
|
1971
1972
|
};
|
|
1972
1973
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1973
1974
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1974
1975
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1975
|
-
return i.
|
|
1976
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
1976
1977
|
};
|
|
1977
1978
|
l.$arity = 2;
|
|
1978
1979
|
return l;
|
|
1979
1980
|
}
|
|
1980
1981
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1981
|
-
this.
|
|
1982
|
+
this.w9n_1 = $playerId;
|
|
1982
1983
|
CoroutineImpl.call(this, resultContinuation);
|
|
1983
1984
|
}
|
|
1984
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1985
|
-
var tmp = this.
|
|
1985
|
+
protoOf(GameServer$playerLostConnection$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
1986
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
1986
1987
|
tmp.t8_1 = Unit_instance;
|
|
1987
1988
|
tmp.u8_1 = null;
|
|
1988
1989
|
return tmp.z8();
|
|
1989
1990
|
};
|
|
1990
1991
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1991
1992
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1992
|
-
return this.
|
|
1993
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1993
1994
|
};
|
|
1994
1995
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1995
1996
|
var suspendResult = this.t8_1;
|
|
@@ -1998,12 +1999,12 @@
|
|
|
1998
1999
|
var tmp = this.r8_1;
|
|
1999
2000
|
if (tmp === 0) {
|
|
2000
2001
|
this.s8_1 = 1;
|
|
2001
|
-
if (!get_isCreated(this.
|
|
2002
|
+
if (!get_isCreated(this.y9n_1.state)) {
|
|
2002
2003
|
return Unit_instance;
|
|
2003
2004
|
}
|
|
2004
|
-
var tmp_0 = this.
|
|
2005
|
+
var tmp_0 = this.y9n_1.dispatch;
|
|
2005
2006
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2006
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2007
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.w9n_1));
|
|
2007
2008
|
return Unit_instance;
|
|
2008
2009
|
} else if (tmp === 1) {
|
|
2009
2010
|
throw this.u8_1;
|
|
@@ -2014,34 +2015,34 @@
|
|
|
2014
2015
|
}
|
|
2015
2016
|
while (true);
|
|
2016
2017
|
};
|
|
2017
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2018
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2019
|
-
i.
|
|
2020
|
-
i.
|
|
2018
|
+
protoOf(GameServer$playerLostConnection$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2019
|
+
var i = new GameServer$playerLostConnection$slambda(this.w9n_1, completion);
|
|
2020
|
+
i.x9n_1 = $this$dispatchAsync;
|
|
2021
|
+
i.y9n_1 = store;
|
|
2021
2022
|
return i;
|
|
2022
2023
|
};
|
|
2023
2024
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2024
2025
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2025
2026
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2026
|
-
return i.
|
|
2027
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2027
2028
|
};
|
|
2028
2029
|
l.$arity = 2;
|
|
2029
2030
|
return l;
|
|
2030
2031
|
}
|
|
2031
2032
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2033
|
+
this.h9o_1 = this$0;
|
|
2034
|
+
this.i9o_1 = $playerId;
|
|
2034
2035
|
CoroutineImpl.call(this, resultContinuation);
|
|
2035
2036
|
}
|
|
2036
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2037
|
-
var tmp = this.
|
|
2037
|
+
protoOf(GameServer$playerLive$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2038
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2038
2039
|
tmp.t8_1 = Unit_instance;
|
|
2039
2040
|
tmp.u8_1 = null;
|
|
2040
2041
|
return tmp.z8();
|
|
2041
2042
|
};
|
|
2042
2043
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2043
2044
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2044
|
-
return this.
|
|
2045
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2045
2046
|
};
|
|
2046
2047
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2047
2048
|
var suspendResult = this.t8_1;
|
|
@@ -2050,16 +2051,16 @@
|
|
|
2050
2051
|
var tmp = this.r8_1;
|
|
2051
2052
|
if (tmp === 0) {
|
|
2052
2053
|
this.s8_1 = 1;
|
|
2053
|
-
if (get_isFinished(this.
|
|
2054
|
+
if (get_isFinished(this.k9o_1.state) || get_isFinishing(this.k9o_1.state)) {
|
|
2054
2055
|
return Unit_instance;
|
|
2055
2056
|
}
|
|
2056
|
-
if (!get_isCreated(this.
|
|
2057
|
-
_get_logger__rkp4sl(this.
|
|
2057
|
+
if (!get_isCreated(this.k9o_1.state) || !this.h9o_1.s66().k6m()) {
|
|
2058
|
+
_get_logger__rkp4sl(this.h9o_1).w('GameEngine_API', 'playerLive: ' + this.i9o_1 + ' before game is created');
|
|
2058
2059
|
return Unit_instance;
|
|
2059
2060
|
}
|
|
2060
|
-
var tmp_0 = this.
|
|
2061
|
+
var tmp_0 = this.k9o_1.dispatch;
|
|
2061
2062
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2062
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2063
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.i9o_1));
|
|
2063
2064
|
return Unit_instance;
|
|
2064
2065
|
} else if (tmp === 1) {
|
|
2065
2066
|
throw this.u8_1;
|
|
@@ -2070,34 +2071,34 @@
|
|
|
2070
2071
|
}
|
|
2071
2072
|
while (true);
|
|
2072
2073
|
};
|
|
2073
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2074
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2075
|
-
i.
|
|
2076
|
-
i.
|
|
2074
|
+
protoOf(GameServer$playerLive$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2075
|
+
var i = new GameServer$playerLive$slambda(this.h9o_1, this.i9o_1, completion);
|
|
2076
|
+
i.j9o_1 = $this$dispatchAsync;
|
|
2077
|
+
i.k9o_1 = store;
|
|
2077
2078
|
return i;
|
|
2078
2079
|
};
|
|
2079
2080
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2080
2081
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2081
2082
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2082
|
-
return i.
|
|
2083
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2083
2084
|
};
|
|
2084
2085
|
l.$arity = 2;
|
|
2085
2086
|
return l;
|
|
2086
2087
|
}
|
|
2087
2088
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2089
|
+
this.t9o_1 = this$0;
|
|
2090
|
+
this.u9o_1 = $playerId;
|
|
2090
2091
|
CoroutineImpl.call(this, resultContinuation);
|
|
2091
2092
|
}
|
|
2092
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2093
|
-
var tmp = this.
|
|
2093
|
+
protoOf(GameServer$playerLeft$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2094
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2094
2095
|
tmp.t8_1 = Unit_instance;
|
|
2095
2096
|
tmp.u8_1 = null;
|
|
2096
2097
|
return tmp.z8();
|
|
2097
2098
|
};
|
|
2098
2099
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2099
2100
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2100
|
-
return this.
|
|
2101
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2101
2102
|
};
|
|
2102
2103
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2103
2104
|
var suspendResult = this.t8_1;
|
|
@@ -2106,16 +2107,16 @@
|
|
|
2106
2107
|
var tmp = this.r8_1;
|
|
2107
2108
|
if (tmp === 0) {
|
|
2108
2109
|
this.s8_1 = 1;
|
|
2109
|
-
if (get_isFinished(this.
|
|
2110
|
+
if (get_isFinished(this.w9o_1.state) || get_isFinishing(this.w9o_1.state)) {
|
|
2110
2111
|
return Unit_instance;
|
|
2111
2112
|
}
|
|
2112
|
-
if (!get_isCreated(this.
|
|
2113
|
-
_get_logger__rkp4sl(this.
|
|
2113
|
+
if (!get_isCreated(this.w9o_1.state) || !this.t9o_1.s66().k6m()) {
|
|
2114
|
+
_get_logger__rkp4sl(this.t9o_1).w('GameEngine_API', 'playerLeft: ' + this.u9o_1 + ' before game is created');
|
|
2114
2115
|
return Unit_instance;
|
|
2115
2116
|
}
|
|
2116
|
-
var tmp_0 = this.
|
|
2117
|
+
var tmp_0 = this.w9o_1.dispatch;
|
|
2117
2118
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2118
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2119
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.u9o_1));
|
|
2119
2120
|
return Unit_instance;
|
|
2120
2121
|
} else if (tmp === 1) {
|
|
2121
2122
|
throw this.u8_1;
|
|
@@ -2126,39 +2127,39 @@
|
|
|
2126
2127
|
}
|
|
2127
2128
|
while (true);
|
|
2128
2129
|
};
|
|
2129
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2130
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2131
|
-
i.
|
|
2132
|
-
i.
|
|
2130
|
+
protoOf(GameServer$playerLeft$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2131
|
+
var i = new GameServer$playerLeft$slambda(this.t9o_1, this.u9o_1, completion);
|
|
2132
|
+
i.v9o_1 = $this$dispatchAsync;
|
|
2133
|
+
i.w9o_1 = store;
|
|
2133
2134
|
return i;
|
|
2134
2135
|
};
|
|
2135
2136
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2136
2137
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2137
2138
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2138
|
-
return i.
|
|
2139
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2139
2140
|
};
|
|
2140
2141
|
l.$arity = 2;
|
|
2141
2142
|
return l;
|
|
2142
2143
|
}
|
|
2143
2144
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2144
|
-
this.
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2145
|
+
this.f9p_1 = $usersArray;
|
|
2146
|
+
this.g9p_1 = $config;
|
|
2147
|
+
this.h9p_1 = this$0;
|
|
2148
|
+
this.i9p_1 = $roomId;
|
|
2149
|
+
this.j9p_1 = $transition;
|
|
2150
|
+
this.k9p_1 = $gameCreatorId;
|
|
2151
|
+
this.l9p_1 = $spectators;
|
|
2151
2152
|
CoroutineImpl.call(this, resultContinuation);
|
|
2152
2153
|
}
|
|
2153
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2154
|
-
var tmp = this.
|
|
2154
|
+
protoOf(GameServer$roomOnCreate$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2155
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2155
2156
|
tmp.t8_1 = Unit_instance;
|
|
2156
2157
|
tmp.u8_1 = null;
|
|
2157
2158
|
return tmp.z8();
|
|
2158
2159
|
};
|
|
2159
2160
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2160
2161
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2161
|
-
return this.
|
|
2162
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2162
2163
|
};
|
|
2163
2164
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2164
2165
|
var suspendResult = this.t8_1;
|
|
@@ -2167,28 +2168,28 @@
|
|
|
2167
2168
|
var tmp = this.r8_1;
|
|
2168
2169
|
if (tmp === 0) {
|
|
2169
2170
|
this.s8_1 = 1;
|
|
2170
|
-
var users = toList(this.
|
|
2171
|
-
if (!(this.
|
|
2172
|
-
_get_logger__rkp4sl(this.
|
|
2173
|
-
this.
|
|
2171
|
+
var users = toList(this.f9p_1);
|
|
2172
|
+
if (!(this.g9p_1.playersMode.count === users.o())) {
|
|
2173
|
+
_get_logger__rkp4sl(this.h9p_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.i9p_1 + ', config = ' + this.g9p_1.toString() + ', users = ' + toString(users));
|
|
2174
|
+
this.n9p_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.h9p_1.table.isGameFinished, this.h9p_1.table));
|
|
2174
2175
|
return Unit_instance;
|
|
2175
2176
|
}
|
|
2176
2177
|
var tmp_0;
|
|
2177
|
-
if (this.
|
|
2178
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2178
|
+
if (this.g9p_1.mode.shufflePlayers && this.j9p_1 == null) {
|
|
2179
|
+
tmp_0 = _get_random__h29cgo(this.h9p_1).o5d(toMutableList(users));
|
|
2179
2180
|
} else {
|
|
2180
|
-
var tmp0_safe_receiver = this.
|
|
2181
|
+
var tmp0_safe_receiver = this.j9p_1;
|
|
2181
2182
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2182
2183
|
var tmp_1;
|
|
2183
|
-
if (!(previousPlayers == null) && this.
|
|
2184
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2184
|
+
if (!(previousPlayers == null) && this.g9p_1.playersMode.isTeamGame) {
|
|
2185
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.h9p_1);
|
|
2185
2186
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2186
2187
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2187
2188
|
while (_iterator__ex2g4s.m()) {
|
|
2188
2189
|
var item = _iterator__ex2g4s.n();
|
|
2189
2190
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2190
2191
|
}
|
|
2191
|
-
var previousTeams = tmp_2.
|
|
2192
|
+
var previousTeams = tmp_2.f8i(destination);
|
|
2192
2193
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2193
2194
|
var _iterator__ex2g4s_0 = users.l();
|
|
2194
2195
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2212,19 +2213,19 @@
|
|
|
2212
2213
|
destination_1.j(destination_2);
|
|
2213
2214
|
}
|
|
2214
2215
|
var updatedTeams = destination_1;
|
|
2215
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2216
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.h9p_1).j8i(updatedTeams);
|
|
2216
2217
|
} else {
|
|
2217
2218
|
tmp_1 = users;
|
|
2218
2219
|
}
|
|
2219
2220
|
tmp_0 = tmp_1;
|
|
2220
2221
|
}
|
|
2221
2222
|
var updatedUsers = tmp_0;
|
|
2222
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2223
|
-
var tmp_3 = this.
|
|
2223
|
+
var gameCreatorUser = getPlayer(users, this.k9p_1);
|
|
2224
|
+
var tmp_3 = this.n9p_1.dispatch;
|
|
2224
2225
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2225
2226
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2226
|
-
var tmp3_spectators = toList(this.
|
|
2227
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2227
|
+
var tmp3_spectators = toList(this.l9p_1);
|
|
2228
|
+
tmp_3(new StartGameMechanicAction(this.g9p_1, this.i9p_1, tmp1_version, this.k9p_1, tmp2_users, VOID, tmp3_spectators));
|
|
2228
2229
|
return Unit_instance;
|
|
2229
2230
|
} else if (tmp === 1) {
|
|
2230
2231
|
throw this.u8_1;
|
|
@@ -2235,33 +2236,33 @@
|
|
|
2235
2236
|
}
|
|
2236
2237
|
while (true);
|
|
2237
2238
|
};
|
|
2238
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2239
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2240
|
-
i.
|
|
2241
|
-
i.
|
|
2239
|
+
protoOf(GameServer$roomOnCreate$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2240
|
+
var i = new GameServer$roomOnCreate$slambda(this.f9p_1, this.g9p_1, this.h9p_1, this.i9p_1, this.j9p_1, this.k9p_1, this.l9p_1, completion);
|
|
2241
|
+
i.m9p_1 = $this$dispatchAsync;
|
|
2242
|
+
i.n9p_1 = store;
|
|
2242
2243
|
return i;
|
|
2243
2244
|
};
|
|
2244
2245
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2245
2246
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2246
2247
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2247
|
-
return i.
|
|
2248
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2248
2249
|
};
|
|
2249
2250
|
l.$arity = 2;
|
|
2250
2251
|
return l;
|
|
2251
2252
|
}
|
|
2252
2253
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2253
|
-
this.
|
|
2254
|
+
this.w9p_1 = $state;
|
|
2254
2255
|
CoroutineImpl.call(this, resultContinuation);
|
|
2255
2256
|
}
|
|
2256
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2257
|
-
var tmp = this.
|
|
2257
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2258
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2258
2259
|
tmp.t8_1 = Unit_instance;
|
|
2259
2260
|
tmp.u8_1 = null;
|
|
2260
2261
|
return tmp.z8();
|
|
2261
2262
|
};
|
|
2262
2263
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2263
2264
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2264
|
-
return this.
|
|
2265
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2265
2266
|
};
|
|
2266
2267
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2267
2268
|
var suspendResult = this.t8_1;
|
|
@@ -2270,9 +2271,9 @@
|
|
|
2270
2271
|
var tmp = this.r8_1;
|
|
2271
2272
|
if (tmp === 0) {
|
|
2272
2273
|
this.s8_1 = 1;
|
|
2273
|
-
var tmp_0 = this.
|
|
2274
|
+
var tmp_0 = this.y9p_1.dispatch;
|
|
2274
2275
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2275
|
-
var tmp1_table = this.
|
|
2276
|
+
var tmp1_table = this.w9p_1.table;
|
|
2276
2277
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2277
2278
|
return Unit_instance;
|
|
2278
2279
|
} else if (tmp === 1) {
|
|
@@ -2284,33 +2285,33 @@
|
|
|
2284
2285
|
}
|
|
2285
2286
|
while (true);
|
|
2286
2287
|
};
|
|
2287
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2288
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2289
|
-
i.
|
|
2290
|
-
i.
|
|
2288
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2289
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.w9p_1, completion);
|
|
2290
|
+
i.x9p_1 = $this$dispatchAsync;
|
|
2291
|
+
i.y9p_1 = store;
|
|
2291
2292
|
return i;
|
|
2292
2293
|
};
|
|
2293
2294
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2294
2295
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2295
2296
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2296
|
-
return i.
|
|
2297
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2297
2298
|
};
|
|
2298
2299
|
l.$arity = 2;
|
|
2299
2300
|
return l;
|
|
2300
2301
|
}
|
|
2301
2302
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
2302
|
-
this.
|
|
2303
|
+
this.h9q_1 = $state;
|
|
2303
2304
|
CoroutineImpl.call(this, resultContinuation);
|
|
2304
2305
|
}
|
|
2305
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2306
|
-
var tmp = this.
|
|
2306
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2307
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2307
2308
|
tmp.t8_1 = Unit_instance;
|
|
2308
2309
|
tmp.u8_1 = null;
|
|
2309
2310
|
return tmp.z8();
|
|
2310
2311
|
};
|
|
2311
2312
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2312
2313
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2313
|
-
return this.
|
|
2314
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2314
2315
|
};
|
|
2315
2316
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2316
2317
|
var suspendResult = this.t8_1;
|
|
@@ -2319,10 +2320,10 @@
|
|
|
2319
2320
|
var tmp = this.r8_1;
|
|
2320
2321
|
if (tmp === 0) {
|
|
2321
2322
|
this.s8_1 = 1;
|
|
2322
|
-
var _iterator__ex2g4s = this.
|
|
2323
|
+
var _iterator__ex2g4s = this.h9q_1.actions.l();
|
|
2323
2324
|
while (_iterator__ex2g4s.m()) {
|
|
2324
2325
|
var element = _iterator__ex2g4s.n();
|
|
2325
|
-
this.
|
|
2326
|
+
this.j9q_1.dispatch(element);
|
|
2326
2327
|
}
|
|
2327
2328
|
return Unit_instance;
|
|
2328
2329
|
} else if (tmp === 1) {
|
|
@@ -2334,35 +2335,35 @@
|
|
|
2334
2335
|
}
|
|
2335
2336
|
while (true);
|
|
2336
2337
|
};
|
|
2337
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2338
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2339
|
-
i.
|
|
2340
|
-
i.
|
|
2338
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2339
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.h9q_1, completion);
|
|
2340
|
+
i.i9q_1 = $this$dispatchAsync;
|
|
2341
|
+
i.j9q_1 = store;
|
|
2341
2342
|
return i;
|
|
2342
2343
|
};
|
|
2343
2344
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
2344
2345
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
2345
2346
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2346
|
-
return i.
|
|
2347
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2347
2348
|
};
|
|
2348
2349
|
l.$arity = 2;
|
|
2349
2350
|
return l;
|
|
2350
2351
|
}
|
|
2351
2352
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2352
|
-
this.
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2353
|
+
this.s9q_1 = $tableLite;
|
|
2354
|
+
this.t9q_1 = $roomId;
|
|
2355
|
+
this.u9q_1 = this$0;
|
|
2355
2356
|
CoroutineImpl.call(this, resultContinuation);
|
|
2356
2357
|
}
|
|
2357
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2358
|
-
var tmp = this.
|
|
2358
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2359
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2359
2360
|
tmp.t8_1 = Unit_instance;
|
|
2360
2361
|
tmp.u8_1 = null;
|
|
2361
2362
|
return tmp.z8();
|
|
2362
2363
|
};
|
|
2363
2364
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2364
2365
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2365
|
-
return this.
|
|
2366
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2366
2367
|
};
|
|
2367
2368
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2368
2369
|
var suspendResult = this.t8_1;
|
|
@@ -2371,9 +2372,9 @@
|
|
|
2371
2372
|
var tmp = this.r8_1;
|
|
2372
2373
|
if (tmp === 0) {
|
|
2373
2374
|
this.s8_1 = 1;
|
|
2374
|
-
var tmp_0 = this.
|
|
2375
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2376
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2375
|
+
var tmp_0 = this.w9q_1.dispatch;
|
|
2376
|
+
var tmp0_reason = new RestartRoundReason(this.s9q_1.gameInfo.round.roundNumber);
|
|
2377
|
+
var tmp1_table = Companion_instance_0.restartRound(this.t9q_1, _get_idsProvider__fnfajc(this.u9q_1).h6d(), get_versionOrDefault(GameEngineConfig_instance), this.s9q_1);
|
|
2377
2378
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2378
2379
|
return Unit_instance;
|
|
2379
2380
|
} else if (tmp === 1) {
|
|
@@ -2385,16 +2386,16 @@
|
|
|
2385
2386
|
}
|
|
2386
2387
|
while (true);
|
|
2387
2388
|
};
|
|
2388
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2389
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2390
|
-
i.
|
|
2391
|
-
i.
|
|
2389
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2390
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.s9q_1, this.t9q_1, this.u9q_1, completion);
|
|
2391
|
+
i.v9q_1 = $this$dispatchAsync;
|
|
2392
|
+
i.w9q_1 = store;
|
|
2392
2393
|
return i;
|
|
2393
2394
|
};
|
|
2394
2395
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2395
2396
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2396
2397
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2397
|
-
return i.
|
|
2398
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2398
2399
|
};
|
|
2399
2400
|
l.$arity = 2;
|
|
2400
2401
|
return l;
|
|
@@ -2402,15 +2403,15 @@
|
|
|
2402
2403
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2403
2404
|
CoroutineImpl.call(this, resultContinuation);
|
|
2404
2405
|
}
|
|
2405
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2406
|
-
var tmp = this.
|
|
2406
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2407
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2407
2408
|
tmp.t8_1 = Unit_instance;
|
|
2408
2409
|
tmp.u8_1 = null;
|
|
2409
2410
|
return tmp.z8();
|
|
2410
2411
|
};
|
|
2411
2412
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2412
2413
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2413
|
-
return this.
|
|
2414
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2414
2415
|
};
|
|
2415
2416
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2416
2417
|
var suspendResult = this.t8_1;
|
|
@@ -2419,7 +2420,7 @@
|
|
|
2419
2420
|
var tmp = this.r8_1;
|
|
2420
2421
|
if (tmp === 0) {
|
|
2421
2422
|
this.s8_1 = 1;
|
|
2422
|
-
this.
|
|
2423
|
+
this.g9r_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2423
2424
|
return Unit_instance;
|
|
2424
2425
|
} else if (tmp === 1) {
|
|
2425
2426
|
throw this.u8_1;
|
|
@@ -2430,33 +2431,33 @@
|
|
|
2430
2431
|
}
|
|
2431
2432
|
while (true);
|
|
2432
2433
|
};
|
|
2433
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2434
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2434
2435
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2435
|
-
i.
|
|
2436
|
-
i.
|
|
2436
|
+
i.f9r_1 = $this$dispatchAsync;
|
|
2437
|
+
i.g9r_1 = store;
|
|
2437
2438
|
return i;
|
|
2438
2439
|
};
|
|
2439
2440
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2440
2441
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2441
2442
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2442
|
-
return i.
|
|
2443
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2443
2444
|
};
|
|
2444
2445
|
l.$arity = 2;
|
|
2445
2446
|
return l;
|
|
2446
2447
|
}
|
|
2447
2448
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2448
|
-
this.
|
|
2449
|
+
this.p9r_1 = $spectators;
|
|
2449
2450
|
CoroutineImpl.call(this, resultContinuation);
|
|
2450
2451
|
}
|
|
2451
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2452
|
-
var tmp = this.
|
|
2452
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2453
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2453
2454
|
tmp.t8_1 = Unit_instance;
|
|
2454
2455
|
tmp.u8_1 = null;
|
|
2455
2456
|
return tmp.z8();
|
|
2456
2457
|
};
|
|
2457
2458
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2458
2459
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2459
|
-
return this.
|
|
2460
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2460
2461
|
};
|
|
2461
2462
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2462
2463
|
var suspendResult = this.t8_1;
|
|
@@ -2465,7 +2466,7 @@
|
|
|
2465
2466
|
var tmp = this.r8_1;
|
|
2466
2467
|
if (tmp === 0) {
|
|
2467
2468
|
this.s8_1 = 1;
|
|
2468
|
-
this.
|
|
2469
|
+
this.r9r_1.dispatch(new AddSpectatorsAction(toList(this.p9r_1)));
|
|
2469
2470
|
return Unit_instance;
|
|
2470
2471
|
} else if (tmp === 1) {
|
|
2471
2472
|
throw this.u8_1;
|
|
@@ -2476,33 +2477,33 @@
|
|
|
2476
2477
|
}
|
|
2477
2478
|
while (true);
|
|
2478
2479
|
};
|
|
2479
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2480
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2481
|
-
i.
|
|
2482
|
-
i.
|
|
2480
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2481
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.p9r_1, completion);
|
|
2482
|
+
i.q9r_1 = $this$dispatchAsync;
|
|
2483
|
+
i.r9r_1 = store;
|
|
2483
2484
|
return i;
|
|
2484
2485
|
};
|
|
2485
2486
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2486
2487
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2487
2488
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2488
|
-
return i.
|
|
2489
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2489
2490
|
};
|
|
2490
2491
|
l.$arity = 2;
|
|
2491
2492
|
return l;
|
|
2492
2493
|
}
|
|
2493
2494
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2494
|
-
this.
|
|
2495
|
+
this.a9s_1 = $spectators;
|
|
2495
2496
|
CoroutineImpl.call(this, resultContinuation);
|
|
2496
2497
|
}
|
|
2497
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2498
|
-
var tmp = this.
|
|
2498
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2499
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2499
2500
|
tmp.t8_1 = Unit_instance;
|
|
2500
2501
|
tmp.u8_1 = null;
|
|
2501
2502
|
return tmp.z8();
|
|
2502
2503
|
};
|
|
2503
2504
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2504
2505
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2505
|
-
return this.
|
|
2506
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2506
2507
|
};
|
|
2507
2508
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2508
2509
|
var suspendResult = this.t8_1;
|
|
@@ -2511,7 +2512,7 @@
|
|
|
2511
2512
|
var tmp = this.r8_1;
|
|
2512
2513
|
if (tmp === 0) {
|
|
2513
2514
|
this.s8_1 = 1;
|
|
2514
|
-
this.
|
|
2515
|
+
this.c9s_1.dispatch(new RemoveSpectatorsAction(toList(this.a9s_1)));
|
|
2515
2516
|
return Unit_instance;
|
|
2516
2517
|
} else if (tmp === 1) {
|
|
2517
2518
|
throw this.u8_1;
|
|
@@ -2522,34 +2523,34 @@
|
|
|
2522
2523
|
}
|
|
2523
2524
|
while (true);
|
|
2524
2525
|
};
|
|
2525
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2526
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2527
|
-
i.
|
|
2528
|
-
i.
|
|
2526
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2527
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.a9s_1, completion);
|
|
2528
|
+
i.b9s_1 = $this$dispatchAsync;
|
|
2529
|
+
i.c9s_1 = store;
|
|
2529
2530
|
return i;
|
|
2530
2531
|
};
|
|
2531
2532
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2532
2533
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2533
2534
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2534
|
-
return i.
|
|
2535
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2535
2536
|
};
|
|
2536
2537
|
l.$arity = 2;
|
|
2537
2538
|
return l;
|
|
2538
2539
|
}
|
|
2539
2540
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2540
|
-
this.
|
|
2541
|
-
this.
|
|
2541
|
+
this.l9s_1 = $playerId;
|
|
2542
|
+
this.m9s_1 = this$0;
|
|
2542
2543
|
CoroutineImpl.call(this, resultContinuation);
|
|
2543
2544
|
}
|
|
2544
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2545
|
-
var tmp = this.
|
|
2545
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2546
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2546
2547
|
tmp.t8_1 = Unit_instance;
|
|
2547
2548
|
tmp.u8_1 = null;
|
|
2548
2549
|
return tmp.z8();
|
|
2549
2550
|
};
|
|
2550
2551
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2551
2552
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2552
|
-
return this.
|
|
2553
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2553
2554
|
};
|
|
2554
2555
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2555
2556
|
var suspendResult = this.t8_1;
|
|
@@ -2558,14 +2559,14 @@
|
|
|
2558
2559
|
var tmp = this.r8_1;
|
|
2559
2560
|
if (tmp === 0) {
|
|
2560
2561
|
this.s8_1 = 1;
|
|
2561
|
-
var table = this.
|
|
2562
|
-
var player = getPlayer(table.players, this.
|
|
2563
|
-
if (player.
|
|
2564
|
-
this.
|
|
2562
|
+
var table = this.o9s_1.state.j6m();
|
|
2563
|
+
var player = getPlayer(table.players, this.l9s_1);
|
|
2564
|
+
if (player.w6p_1.v68().m67_1.isLive) {
|
|
2565
|
+
this.o9s_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.m9s_1).z8o(player, table));
|
|
2565
2566
|
} else {
|
|
2566
|
-
var tmp_0 = this.
|
|
2567
|
+
var tmp_0 = this.o9s_1.dispatch;
|
|
2567
2568
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2568
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2569
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.l9s_1));
|
|
2569
2570
|
}
|
|
2570
2571
|
return Unit_instance;
|
|
2571
2572
|
} else if (tmp === 1) {
|
|
@@ -2577,34 +2578,34 @@
|
|
|
2577
2578
|
}
|
|
2578
2579
|
while (true);
|
|
2579
2580
|
};
|
|
2580
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2581
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2582
|
-
i.
|
|
2583
|
-
i.
|
|
2581
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2582
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.l9s_1, this.m9s_1, completion);
|
|
2583
|
+
i.n9s_1 = $this$dispatchAsync;
|
|
2584
|
+
i.o9s_1 = store;
|
|
2584
2585
|
return i;
|
|
2585
2586
|
};
|
|
2586
2587
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2587
2588
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2588
2589
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2589
|
-
return i.
|
|
2590
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2590
2591
|
};
|
|
2591
2592
|
l.$arity = 2;
|
|
2592
2593
|
return l;
|
|
2593
2594
|
}
|
|
2594
2595
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2596
|
+
this.x9s_1 = this$0;
|
|
2597
|
+
this.y9s_1 = $newRid;
|
|
2597
2598
|
CoroutineImpl.call(this, resultContinuation);
|
|
2598
2599
|
}
|
|
2599
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2600
|
-
var tmp = this.
|
|
2600
|
+
protoOf(GameServer$roomOnDelete$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2601
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2601
2602
|
tmp.t8_1 = Unit_instance;
|
|
2602
2603
|
tmp.u8_1 = null;
|
|
2603
2604
|
return tmp.z8();
|
|
2604
2605
|
};
|
|
2605
2606
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2606
2607
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2607
|
-
return this.
|
|
2608
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2608
2609
|
};
|
|
2609
2610
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2610
2611
|
var suspendResult = this.t8_1;
|
|
@@ -2613,27 +2614,27 @@
|
|
|
2613
2614
|
var tmp = this.r8_1;
|
|
2614
2615
|
if (tmp === 0) {
|
|
2615
2616
|
this.s8_1 = 1;
|
|
2616
|
-
var it = this.
|
|
2617
|
+
var it = this.x9s_1.s66().v6l_1;
|
|
2617
2618
|
var tmp_0;
|
|
2618
2619
|
if (it == null) {
|
|
2619
|
-
_get_logger__rkp4sl(this.
|
|
2620
|
+
_get_logger__rkp4sl(this.x9s_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2620
2621
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2621
2622
|
} else {
|
|
2622
2623
|
tmp_0 = it;
|
|
2623
2624
|
}
|
|
2624
2625
|
var terminationState = tmp_0;
|
|
2625
|
-
var gameTransition = terminationState.
|
|
2626
|
+
var gameTransition = terminationState.w8s_1;
|
|
2626
2627
|
var tmp_1;
|
|
2627
2628
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2628
|
-
var tmp0_elvis_lhs = this.
|
|
2629
|
+
var tmp0_elvis_lhs = this.y9s_1;
|
|
2629
2630
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2630
2631
|
} else {
|
|
2631
2632
|
tmp_1 = gameTransition;
|
|
2632
2633
|
}
|
|
2633
2634
|
var transition = tmp_1;
|
|
2634
|
-
var tmp_2 = this.
|
|
2635
|
-
var tmp0_reason = terminationState.
|
|
2636
|
-
var tmp1_isGameFinished = this.
|
|
2635
|
+
var tmp_2 = this.a9t_1.dispatch;
|
|
2636
|
+
var tmp0_reason = terminationState.v8s_1;
|
|
2637
|
+
var tmp1_isGameFinished = this.x9s_1.s66().j6m().isGameFinished;
|
|
2637
2638
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2638
2639
|
return Unit_instance;
|
|
2639
2640
|
} else if (tmp === 1) {
|
|
@@ -2645,33 +2646,33 @@
|
|
|
2645
2646
|
}
|
|
2646
2647
|
while (true);
|
|
2647
2648
|
};
|
|
2648
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2649
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2650
|
-
i.
|
|
2651
|
-
i.
|
|
2649
|
+
protoOf(GameServer$roomOnDelete$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2650
|
+
var i = new GameServer$roomOnDelete$slambda(this.x9s_1, this.y9s_1, completion);
|
|
2651
|
+
i.z9s_1 = $this$dispatchAsync;
|
|
2652
|
+
i.a9t_1 = store;
|
|
2652
2653
|
return i;
|
|
2653
2654
|
};
|
|
2654
2655
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2655
2656
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2656
2657
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2657
|
-
return i.
|
|
2658
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2658
2659
|
};
|
|
2659
2660
|
l.$arity = 2;
|
|
2660
2661
|
return l;
|
|
2661
2662
|
}
|
|
2662
2663
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2663
|
-
this.
|
|
2664
|
+
this.j9t_1 = $enabled;
|
|
2664
2665
|
CoroutineImpl.call(this, resultContinuation);
|
|
2665
2666
|
}
|
|
2666
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2667
|
-
var tmp = this.
|
|
2667
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2668
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2668
2669
|
tmp.t8_1 = Unit_instance;
|
|
2669
2670
|
tmp.u8_1 = null;
|
|
2670
2671
|
return tmp.z8();
|
|
2671
2672
|
};
|
|
2672
2673
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2673
2674
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2674
|
-
return this.
|
|
2675
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2675
2676
|
};
|
|
2676
2677
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2677
2678
|
var suspendResult = this.t8_1;
|
|
@@ -2680,7 +2681,7 @@
|
|
|
2680
2681
|
var tmp = this.r8_1;
|
|
2681
2682
|
if (tmp === 0) {
|
|
2682
2683
|
this.s8_1 = 1;
|
|
2683
|
-
this.
|
|
2684
|
+
this.l9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.l9t_1.state).config.copy(VOID, this.j9t_1)));
|
|
2684
2685
|
return Unit_instance;
|
|
2685
2686
|
} else if (tmp === 1) {
|
|
2686
2687
|
throw this.u8_1;
|
|
@@ -2691,35 +2692,35 @@
|
|
|
2691
2692
|
}
|
|
2692
2693
|
while (true);
|
|
2693
2694
|
};
|
|
2694
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2695
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2696
|
-
i.
|
|
2697
|
-
i.
|
|
2695
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2696
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.j9t_1, completion);
|
|
2697
|
+
i.k9t_1 = $this$dispatchAsync;
|
|
2698
|
+
i.l9t_1 = store;
|
|
2698
2699
|
return i;
|
|
2699
2700
|
};
|
|
2700
2701
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2701
2702
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2702
2703
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2703
|
-
return i.
|
|
2704
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2704
2705
|
};
|
|
2705
2706
|
l.$arity = 2;
|
|
2706
2707
|
return l;
|
|
2707
2708
|
}
|
|
2708
2709
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2709
|
-
this.
|
|
2710
|
-
this.
|
|
2711
|
-
this.
|
|
2710
|
+
this.u9t_1 = $reason;
|
|
2711
|
+
this.v9t_1 = this$0;
|
|
2712
|
+
this.w9t_1 = $roomId;
|
|
2712
2713
|
CoroutineImpl.call(this, resultContinuation);
|
|
2713
2714
|
}
|
|
2714
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2715
|
-
var tmp = this.
|
|
2715
|
+
protoOf(GameServer$shutdown$slambda).m9n = function ($this$dispatchAsync, store, $completion) {
|
|
2716
|
+
var tmp = this.n9n($this$dispatchAsync, store, $completion);
|
|
2716
2717
|
tmp.t8_1 = Unit_instance;
|
|
2717
2718
|
tmp.u8_1 = null;
|
|
2718
2719
|
return tmp.z8();
|
|
2719
2720
|
};
|
|
2720
2721
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2721
2722
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2722
|
-
return this.
|
|
2723
|
+
return this.m9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2723
2724
|
};
|
|
2724
2725
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2725
2726
|
var suspendResult = this.t8_1;
|
|
@@ -2728,11 +2729,11 @@
|
|
|
2728
2729
|
var tmp = this.r8_1;
|
|
2729
2730
|
if (tmp === 0) {
|
|
2730
2731
|
this.s8_1 = 1;
|
|
2731
|
-
var state = this.
|
|
2732
|
-
if (state.
|
|
2733
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2732
|
+
var state = this.y9t_1.store.state;
|
|
2733
|
+
if (state.k6m()) {
|
|
2734
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.u9t_1, get_serverShutdownReasonMapping());
|
|
2734
2735
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2735
|
-
var tmp_0 = this.
|
|
2736
|
+
var tmp_0 = this.y9t_1.dispatch;
|
|
2736
2737
|
var tmp_1 = Companion_instance;
|
|
2737
2738
|
var tmp_2;
|
|
2738
2739
|
switch (shutdownReason.p2_1) {
|
|
@@ -2746,12 +2747,12 @@
|
|
|
2746
2747
|
noWhenBranchMatchedException();
|
|
2747
2748
|
break;
|
|
2748
2749
|
}
|
|
2749
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2750
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.v9t_1.table.isGameFinished, this.v9t_1.table));
|
|
2750
2751
|
} else {
|
|
2751
|
-
_get_logger__rkp4sl(this.
|
|
2752
|
-
var tmp_3 = this.
|
|
2753
|
-
var tmp2_safe_receiver = state.
|
|
2754
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2752
|
+
_get_logger__rkp4sl(this.v9t_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.w9t_1);
|
|
2753
|
+
var tmp_3 = this.y9t_1.dispatch;
|
|
2754
|
+
var tmp2_safe_receiver = state.v6l_1;
|
|
2755
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.w8s_1));
|
|
2755
2756
|
}
|
|
2756
2757
|
return Unit_instance;
|
|
2757
2758
|
} else if (tmp === 1) {
|
|
@@ -2763,16 +2764,16 @@
|
|
|
2763
2764
|
}
|
|
2764
2765
|
while (true);
|
|
2765
2766
|
};
|
|
2766
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2767
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2768
|
-
i.
|
|
2769
|
-
i.
|
|
2767
|
+
protoOf(GameServer$shutdown$slambda).n9n = function ($this$dispatchAsync, store, completion) {
|
|
2768
|
+
var i = new GameServer$shutdown$slambda(this.u9t_1, this.v9t_1, this.w9t_1, completion);
|
|
2769
|
+
i.x9t_1 = $this$dispatchAsync;
|
|
2770
|
+
i.y9t_1 = store;
|
|
2770
2771
|
return i;
|
|
2771
2772
|
};
|
|
2772
2773
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2773
2774
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2774
2775
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2775
|
-
return i.
|
|
2776
|
+
return i.m9n($this$dispatchAsync, store, $completion);
|
|
2776
2777
|
};
|
|
2777
2778
|
l.$arity = 2;
|
|
2778
2779
|
return l;
|
|
@@ -2803,7 +2804,7 @@
|
|
|
2803
2804
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2804
2805
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2805
2806
|
var tmp_4 = KProperty1;
|
|
2806
|
-
tmp_1.
|
|
2807
|
+
tmp_1.e9k_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2807
2808
|
var tmp_5 = this;
|
|
2808
2809
|
// Inline function 'org.kodein.di.instance' call
|
|
2809
2810
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2811,7 +2812,7 @@
|
|
|
2811
2812
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2812
2813
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2813
2814
|
var tmp_8 = KProperty1;
|
|
2814
|
-
tmp_5.
|
|
2815
|
+
tmp_5.f9k_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2815
2816
|
var tmp_9 = this;
|
|
2816
2817
|
// Inline function 'org.kodein.di.instance' call
|
|
2817
2818
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2819,7 +2820,7 @@
|
|
|
2819
2820
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2820
2821
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2821
2822
|
var tmp_12 = KProperty1;
|
|
2822
|
-
tmp_9.
|
|
2823
|
+
tmp_9.g9k_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2823
2824
|
var tmp_13 = this;
|
|
2824
2825
|
// Inline function 'org.kodein.di.instance' call
|
|
2825
2826
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2827,7 +2828,7 @@
|
|
|
2827
2828
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2828
2829
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2829
2830
|
var tmp_16 = KProperty1;
|
|
2830
|
-
tmp_13.
|
|
2831
|
+
tmp_13.h9k_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2831
2832
|
var tmp_17 = this;
|
|
2832
2833
|
// Inline function 'org.kodein.di.instance' call
|
|
2833
2834
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2835,9 +2836,9 @@
|
|
|
2835
2836
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2836
2837
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2837
2838
|
var tmp_20 = KProperty1;
|
|
2838
|
-
tmp_17.
|
|
2839
|
+
tmp_17.i9k_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2839
2840
|
var tmp_21 = this;
|
|
2840
|
-
tmp_21.
|
|
2841
|
+
tmp_21.j9k_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2841
2842
|
var tmp_22 = this;
|
|
2842
2843
|
// Inline function 'org.kodein.di.instance' call
|
|
2843
2844
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2845,7 +2846,7 @@
|
|
|
2845
2846
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2846
2847
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2847
2848
|
var tmp_25 = KProperty1;
|
|
2848
|
-
tmp_22.
|
|
2849
|
+
tmp_22.k9k_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2849
2850
|
var tmp_26 = this;
|
|
2850
2851
|
// Inline function 'org.kodein.di.instance' call
|
|
2851
2852
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2853,7 +2854,7 @@
|
|
|
2853
2854
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2854
2855
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2855
2856
|
var tmp_29 = KProperty1;
|
|
2856
|
-
tmp_26.
|
|
2857
|
+
tmp_26.l9k_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2857
2858
|
var tmp_30 = this;
|
|
2858
2859
|
// Inline function 'org.kodein.di.instance' call
|
|
2859
2860
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2861,94 +2862,94 @@
|
|
|
2861
2862
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2862
2863
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2863
2864
|
var tmp_33 = KProperty1;
|
|
2864
|
-
tmp_30.
|
|
2865
|
+
tmp_30.m9k_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2865
2866
|
var tmp_34 = this;
|
|
2866
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2867
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2868
|
-
tmp_34.
|
|
2867
|
+
var tmp0_externalMiddlewares = plus(storeContract.h8x(), externalMiddlewares);
|
|
2868
|
+
var tmp1_externalReducers = plus(storeContract.g8x(), externalReducers);
|
|
2869
|
+
tmp_34.n9k_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2869
2870
|
}
|
|
2870
|
-
protoOf(GameServer).
|
|
2871
|
-
return this.
|
|
2871
|
+
protoOf(GameServer).j6l = function () {
|
|
2872
|
+
return this.n9k_1;
|
|
2872
2873
|
};
|
|
2873
2874
|
protoOf(GameServer).w53 = function () {
|
|
2874
|
-
return this.s66().
|
|
2875
|
+
return this.s66().j6m().id;
|
|
2875
2876
|
};
|
|
2876
|
-
protoOf(GameServer).
|
|
2877
|
-
return this.s66().
|
|
2877
|
+
protoOf(GameServer).j6m = function () {
|
|
2878
|
+
return this.s66().j6m();
|
|
2878
2879
|
};
|
|
2879
|
-
protoOf(GameServer).
|
|
2880
|
-
return this.s66().
|
|
2880
|
+
protoOf(GameServer).k6m = function () {
|
|
2881
|
+
return this.s66().k6m();
|
|
2881
2882
|
};
|
|
2882
|
-
protoOf(GameServer).
|
|
2883
|
+
protoOf(GameServer).l6m = function () {
|
|
2883
2884
|
return this.s66().gameLifecycleState;
|
|
2884
2885
|
};
|
|
2885
2886
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
2886
|
-
var tmp = this.
|
|
2887
|
+
var tmp = this.h6l();
|
|
2887
2888
|
tmp.e6c(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
2888
2889
|
};
|
|
2889
2890
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
2890
|
-
var tmp = this.
|
|
2891
|
+
var tmp = this.h6l();
|
|
2891
2892
|
tmp.e6c(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
2892
2893
|
};
|
|
2893
2894
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
2894
|
-
var tmp = this.
|
|
2895
|
+
var tmp = this.h6l();
|
|
2895
2896
|
tmp.e6c(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
2896
2897
|
};
|
|
2897
2898
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
2898
|
-
var tmp = this.
|
|
2899
|
+
var tmp = this.h6l();
|
|
2899
2900
|
tmp.e6c(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
2900
2901
|
};
|
|
2901
2902
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2902
2903
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2903
|
-
this.
|
|
2904
|
+
this.n9k_1.i6m(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2904
2905
|
};
|
|
2905
2906
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2906
2907
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2907
|
-
this.
|
|
2908
|
+
this.n9k_1.i6m(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2908
2909
|
};
|
|
2909
2910
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2910
2911
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2911
|
-
this.
|
|
2912
|
+
this.n9k_1.i6m(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2912
2913
|
};
|
|
2913
2914
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2914
2915
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2915
|
-
this.
|
|
2916
|
+
this.n9k_1.i6m(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2916
2917
|
};
|
|
2917
|
-
protoOf(GameServer).
|
|
2918
|
+
protoOf(GameServer).z9t = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2918
2919
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2919
|
-
this.
|
|
2920
|
+
this.n9k_1.i6m(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2920
2921
|
};
|
|
2921
2922
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2922
2923
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2923
|
-
this.
|
|
2924
|
-
this.
|
|
2924
|
+
this.n9k_1.i6m(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2925
|
+
this.n9k_1.i6m(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2925
2926
|
};
|
|
2926
2927
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2927
2928
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2928
|
-
this.
|
|
2929
|
-
this.
|
|
2929
|
+
this.n9k_1.i6m(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2930
|
+
this.n9k_1.i6m(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2930
2931
|
};
|
|
2931
2932
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2932
|
-
this.
|
|
2933
|
+
this.n9k_1.i6m(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2933
2934
|
};
|
|
2934
2935
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2935
|
-
this.
|
|
2936
|
+
this.n9k_1.i6m(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2936
2937
|
};
|
|
2937
2938
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2938
2939
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2939
|
-
this.
|
|
2940
|
+
this.n9k_1.i6m(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2940
2941
|
};
|
|
2941
|
-
protoOf(GameServer).
|
|
2942
|
+
protoOf(GameServer).a9u = function (newRid) {
|
|
2942
2943
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2943
|
-
this.
|
|
2944
|
+
this.n9k_1.i6m(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2944
2945
|
};
|
|
2945
2946
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2946
2947
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2947
|
-
this.
|
|
2948
|
+
this.n9k_1.i6m(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2948
2949
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2950
|
+
protoOf(GameServer).b9u = function (reason, roomId) {
|
|
2950
2951
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2951
|
-
this.
|
|
2952
|
+
this.n9k_1.i6m(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2952
2953
|
};
|
|
2953
2954
|
protoOf(GameServer).clear = function () {
|
|
2954
2955
|
return this.h2();
|
|
@@ -2999,10 +3000,10 @@
|
|
|
2999
3000
|
this.fromRound = fromRound;
|
|
3000
3001
|
this.canStartNewGame = canStartNewGame;
|
|
3001
3002
|
}
|
|
3002
|
-
protoOf(ServerConfig).
|
|
3003
|
+
protoOf(ServerConfig).c9u = function () {
|
|
3003
3004
|
return this.fromRound;
|
|
3004
3005
|
};
|
|
3005
|
-
protoOf(ServerConfig).
|
|
3006
|
+
protoOf(ServerConfig).d9u = function () {
|
|
3006
3007
|
return this.canStartNewGame;
|
|
3007
3008
|
};
|
|
3008
3009
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3011,13 +3012,13 @@
|
|
|
3011
3012
|
protoOf(ServerConfig).oe = function () {
|
|
3012
3013
|
return this.canStartNewGame;
|
|
3013
3014
|
};
|
|
3014
|
-
protoOf(ServerConfig).
|
|
3015
|
+
protoOf(ServerConfig).e9u = function (fromRound, canStartNewGame) {
|
|
3015
3016
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3016
3017
|
};
|
|
3017
3018
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3018
3019
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3019
3020
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3020
|
-
return $super === VOID ? this.
|
|
3021
|
+
return $super === VOID ? this.e9u(fromRound, canStartNewGame) : $super.e9u.call(this, fromRound, canStartNewGame);
|
|
3021
3022
|
};
|
|
3022
3023
|
protoOf(ServerConfig).toString = function () {
|
|
3023
3024
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3078,19 +3079,19 @@
|
|
|
3078
3079
|
$serializer_instance = this;
|
|
3079
3080
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3080
3081
|
tmp0_serialDesc.gz('table', false);
|
|
3081
|
-
this.
|
|
3082
|
+
this.f9u_1 = tmp0_serialDesc;
|
|
3082
3083
|
}
|
|
3083
|
-
protoOf($serializer).
|
|
3084
|
-
var tmp0_desc = this.
|
|
3084
|
+
protoOf($serializer).g9u = function (encoder, value) {
|
|
3085
|
+
var tmp0_desc = this.f9u_1;
|
|
3085
3086
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3086
3087
|
tmp1_output.dt(tmp0_desc, 0, value.table);
|
|
3087
3088
|
tmp1_output.pr(tmp0_desc);
|
|
3088
3089
|
};
|
|
3089
3090
|
protoOf($serializer).co = function (encoder, value) {
|
|
3090
|
-
return this.
|
|
3091
|
+
return this.g9u(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3091
3092
|
};
|
|
3092
3093
|
protoOf($serializer).do = function (decoder) {
|
|
3093
|
-
var tmp0_desc = this.
|
|
3094
|
+
var tmp0_desc = this.f9u_1;
|
|
3094
3095
|
var tmp1_flag = true;
|
|
3095
3096
|
var tmp2_index = 0;
|
|
3096
3097
|
var tmp3_bitMask0 = 0;
|
|
@@ -3118,7 +3119,7 @@
|
|
|
3118
3119
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3119
3120
|
};
|
|
3120
3121
|
protoOf($serializer).bo = function () {
|
|
3121
|
-
return this.
|
|
3122
|
+
return this.f9u_1;
|
|
3122
3123
|
};
|
|
3123
3124
|
protoOf($serializer).vz = function () {
|
|
3124
3125
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3134,7 +3135,7 @@
|
|
|
3134
3135
|
}
|
|
3135
3136
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3136
3137
|
if (!(1 === (1 & seen0))) {
|
|
3137
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3138
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().f9u_1);
|
|
3138
3139
|
}
|
|
3139
3140
|
$this.table = table;
|
|
3140
3141
|
return $this;
|
|
@@ -3145,7 +3146,7 @@
|
|
|
3145
3146
|
function TableStateUpdateDto(table) {
|
|
3146
3147
|
this.table = table;
|
|
3147
3148
|
}
|
|
3148
|
-
protoOf(TableStateUpdateDto).
|
|
3149
|
+
protoOf(TableStateUpdateDto).j6m = function () {
|
|
3149
3150
|
return this.table;
|
|
3150
3151
|
};
|
|
3151
3152
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
@@ -3186,19 +3187,19 @@
|
|
|
3186
3187
|
$serializer_instance_0 = this;
|
|
3187
3188
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3188
3189
|
tmp0_serialDesc.gz('actions', false);
|
|
3189
|
-
this.
|
|
3190
|
+
this.h9u_1 = tmp0_serialDesc;
|
|
3190
3191
|
}
|
|
3191
|
-
protoOf($serializer_0).
|
|
3192
|
-
var tmp0_desc = this.
|
|
3192
|
+
protoOf($serializer_0).i9u = function (encoder, value) {
|
|
3193
|
+
var tmp0_desc = this.h9u_1;
|
|
3193
3194
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3194
3195
|
tmp1_output.dt(tmp0_desc, 0, value.actions);
|
|
3195
3196
|
tmp1_output.pr(tmp0_desc);
|
|
3196
3197
|
};
|
|
3197
3198
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3198
|
-
return this.
|
|
3199
|
+
return this.i9u(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3199
3200
|
};
|
|
3200
3201
|
protoOf($serializer_0).do = function (decoder) {
|
|
3201
|
-
var tmp0_desc = this.
|
|
3202
|
+
var tmp0_desc = this.h9u_1;
|
|
3202
3203
|
var tmp1_flag = true;
|
|
3203
3204
|
var tmp2_index = 0;
|
|
3204
3205
|
var tmp3_bitMask0 = 0;
|
|
@@ -3226,7 +3227,7 @@
|
|
|
3226
3227
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3227
3228
|
};
|
|
3228
3229
|
protoOf($serializer_0).bo = function () {
|
|
3229
|
-
return this.
|
|
3230
|
+
return this.h9u_1;
|
|
3230
3231
|
};
|
|
3231
3232
|
protoOf($serializer_0).vz = function () {
|
|
3232
3233
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3242,7 +3243,7 @@
|
|
|
3242
3243
|
}
|
|
3243
3244
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3244
3245
|
if (!(1 === (1 & seen0))) {
|
|
3245
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3246
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().h9u_1);
|
|
3246
3247
|
}
|
|
3247
3248
|
$this.actions = actions;
|
|
3248
3249
|
return $this;
|
|
@@ -3253,7 +3254,7 @@
|
|
|
3253
3254
|
function ActionsStateUpdateDto(actions) {
|
|
3254
3255
|
this.actions = actions;
|
|
3255
3256
|
}
|
|
3256
|
-
protoOf(ActionsStateUpdateDto).
|
|
3257
|
+
protoOf(ActionsStateUpdateDto).v8a = function () {
|
|
3257
3258
|
return this.actions;
|
|
3258
3259
|
};
|
|
3259
3260
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
@@ -3305,28 +3306,28 @@
|
|
|
3305
3306
|
var tmp$ret$0 = mapToDto(item);
|
|
3306
3307
|
destination.j(tmp$ret$0);
|
|
3307
3308
|
}
|
|
3308
|
-
return new ActionsStateUpdateDto(encoderDecoderProvider.
|
|
3309
|
+
return new ActionsStateUpdateDto(encoderDecoderProvider.o8h(destination));
|
|
3309
3310
|
}
|
|
3310
3311
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3311
|
-
return new TableStateUpdateDto(encoderDecoderProvider.
|
|
3312
|
+
return new TableStateUpdateDto(encoderDecoderProvider.m8h(mapToDto_0(_this__u8e3s4.table)));
|
|
3312
3313
|
}
|
|
3313
3314
|
function ServerStateUpdate() {
|
|
3314
3315
|
}
|
|
3315
3316
|
function TableStateUpdate(table) {
|
|
3316
3317
|
this.table = table;
|
|
3317
3318
|
}
|
|
3318
|
-
protoOf(TableStateUpdate).
|
|
3319
|
+
protoOf(TableStateUpdate).j6m = function () {
|
|
3319
3320
|
return this.table;
|
|
3320
3321
|
};
|
|
3321
3322
|
protoOf(TableStateUpdate).ne = function () {
|
|
3322
3323
|
return this.table;
|
|
3323
3324
|
};
|
|
3324
|
-
protoOf(TableStateUpdate).
|
|
3325
|
+
protoOf(TableStateUpdate).j9u = function (table) {
|
|
3325
3326
|
return new TableStateUpdate(table);
|
|
3326
3327
|
};
|
|
3327
3328
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3328
3329
|
table = table === VOID ? this.table : table;
|
|
3329
|
-
return $super === VOID ? this.
|
|
3330
|
+
return $super === VOID ? this.j9u(table) : $super.j9u.call(this, table);
|
|
3330
3331
|
};
|
|
3331
3332
|
protoOf(TableStateUpdate).toString = function () {
|
|
3332
3333
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3346,18 +3347,18 @@
|
|
|
3346
3347
|
function ActionsStateUpdate(actions) {
|
|
3347
3348
|
this.actions = actions;
|
|
3348
3349
|
}
|
|
3349
|
-
protoOf(ActionsStateUpdate).
|
|
3350
|
+
protoOf(ActionsStateUpdate).v8a = function () {
|
|
3350
3351
|
return this.actions;
|
|
3351
3352
|
};
|
|
3352
3353
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3353
3354
|
return this.actions;
|
|
3354
3355
|
};
|
|
3355
|
-
protoOf(ActionsStateUpdate).
|
|
3356
|
+
protoOf(ActionsStateUpdate).k9u = function (actions) {
|
|
3356
3357
|
return new ActionsStateUpdate(actions);
|
|
3357
3358
|
};
|
|
3358
3359
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3359
3360
|
actions = actions === VOID ? this.actions : actions;
|
|
3360
|
-
return $super === VOID ? this.
|
|
3361
|
+
return $super === VOID ? this.k9u(actions) : $super.k9u.call(this, actions);
|
|
3361
3362
|
};
|
|
3362
3363
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3363
3364
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3602,18 +3603,18 @@
|
|
|
3602
3603
|
function ToClientEventsObserver() {
|
|
3603
3604
|
}
|
|
3604
3605
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3605
|
-
this.
|
|
3606
|
-
this.
|
|
3606
|
+
this.u9u_1 = this$0;
|
|
3607
|
+
this.v9u_1 = $actions;
|
|
3607
3608
|
CoroutineImpl.call(this, resultContinuation);
|
|
3608
3609
|
}
|
|
3609
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3610
|
-
var tmp = this.
|
|
3610
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).y9u = function ($this$flow, $completion) {
|
|
3611
|
+
var tmp = this.z9u($this$flow, $completion);
|
|
3611
3612
|
tmp.t8_1 = Unit_instance;
|
|
3612
3613
|
tmp.u8_1 = null;
|
|
3613
3614
|
return tmp.z8();
|
|
3614
3615
|
};
|
|
3615
3616
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3616
|
-
return this.
|
|
3617
|
+
return this.y9u((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3617
3618
|
};
|
|
3618
3619
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3619
3620
|
var suspendResult = this.t8_1;
|
|
@@ -3623,19 +3624,19 @@
|
|
|
3623
3624
|
switch (tmp) {
|
|
3624
3625
|
case 0:
|
|
3625
3626
|
this.s8_1 = 4;
|
|
3626
|
-
this.
|
|
3627
|
-
this.
|
|
3627
|
+
this.u9u_1.e9v_1;
|
|
3628
|
+
this.x9u_1 = transformToEmits(this.u9u_1, this.v9u_1).l();
|
|
3628
3629
|
this.r8_1 = 1;
|
|
3629
3630
|
continue $sm;
|
|
3630
3631
|
case 1:
|
|
3631
|
-
if (!this.
|
|
3632
|
+
if (!this.x9u_1.m()) {
|
|
3632
3633
|
this.r8_1 = 3;
|
|
3633
3634
|
continue $sm;
|
|
3634
3635
|
}
|
|
3635
3636
|
|
|
3636
|
-
var element = this.
|
|
3637
|
+
var element = this.x9u_1.n();
|
|
3637
3638
|
this.r8_1 = 2;
|
|
3638
|
-
suspendResult = this.
|
|
3639
|
+
suspendResult = this.w9u_1.l28(element, this);
|
|
3639
3640
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3640
3641
|
return suspendResult;
|
|
3641
3642
|
}
|
|
@@ -3645,11 +3646,11 @@
|
|
|
3645
3646
|
this.r8_1 = 1;
|
|
3646
3647
|
continue $sm;
|
|
3647
3648
|
case 3:
|
|
3648
|
-
var tmp0 = this.
|
|
3649
|
+
var tmp0 = this.u9u_1.d9v_1;
|
|
3649
3650
|
l$ret$1: do {
|
|
3650
3651
|
while (true) {
|
|
3651
3652
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3652
|
-
var upd = cur - this.
|
|
3653
|
+
var upd = cur - this.v9u_1.o() | 0;
|
|
3653
3654
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3654
3655
|
break l$ret$1;
|
|
3655
3656
|
}
|
|
@@ -3671,15 +3672,15 @@
|
|
|
3671
3672
|
}
|
|
3672
3673
|
while (true);
|
|
3673
3674
|
};
|
|
3674
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3675
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3676
|
-
i.
|
|
3675
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z9u = function ($this$flow, completion) {
|
|
3676
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.u9u_1, this.v9u_1, completion);
|
|
3677
|
+
i.w9u_1 = $this$flow;
|
|
3677
3678
|
return i;
|
|
3678
3679
|
};
|
|
3679
3680
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3680
3681
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3681
3682
|
var l = function ($this$flow, $completion) {
|
|
3682
|
-
return i.
|
|
3683
|
+
return i.y9u($this$flow, $completion);
|
|
3683
3684
|
};
|
|
3684
3685
|
l.$arity = 1;
|
|
3685
3686
|
return l;
|
|
@@ -3749,29 +3750,29 @@
|
|
|
3749
3750
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3750
3751
|
}
|
|
3751
3752
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3752
|
-
var tmp = $this.
|
|
3753
|
+
var tmp = $this.c9v_1.h6d();
|
|
3753
3754
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3754
|
-
var this_0 = _this__u8e3s4.
|
|
3755
|
+
var this_0 = _this__u8e3s4.h9v_1;
|
|
3755
3756
|
var tmp_0 = copyToArray(this_0);
|
|
3756
3757
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3757
|
-
var this_1 = _this__u8e3s4.
|
|
3758
|
+
var this_1 = _this__u8e3s4.i9v_1;
|
|
3758
3759
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3759
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3760
|
+
return new ActionDeliveryPayload(_this__u8e3s4.g9v_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.j9v_1);
|
|
3760
3761
|
}
|
|
3761
3762
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3762
|
-
this.
|
|
3763
|
-
this.
|
|
3764
|
-
this.
|
|
3765
|
-
this.
|
|
3763
|
+
this.g9v_1 = tableId;
|
|
3764
|
+
this.h9v_1 = includePlayers;
|
|
3765
|
+
this.i9v_1 = excludePlayers;
|
|
3766
|
+
this.j9v_1 = deliveryType;
|
|
3766
3767
|
}
|
|
3767
3768
|
protoOf(GroupKey).toString = function () {
|
|
3768
|
-
return 'GroupKey(tableId=' + this.
|
|
3769
|
+
return 'GroupKey(tableId=' + this.g9v_1 + ', includePlayers=' + toString(this.h9v_1) + ', excludePlayers=' + toString(this.i9v_1) + ', deliveryType=' + this.j9v_1.toString() + ')';
|
|
3769
3770
|
};
|
|
3770
3771
|
protoOf(GroupKey).hashCode = function () {
|
|
3771
|
-
var result = getStringHashCode(this.
|
|
3772
|
-
result = imul(result, 31) + hashCode(this.
|
|
3773
|
-
result = imul(result, 31) + hashCode(this.
|
|
3774
|
-
result = imul(result, 31) + this.
|
|
3772
|
+
var result = getStringHashCode(this.g9v_1);
|
|
3773
|
+
result = imul(result, 31) + hashCode(this.h9v_1) | 0;
|
|
3774
|
+
result = imul(result, 31) + hashCode(this.i9v_1) | 0;
|
|
3775
|
+
result = imul(result, 31) + this.j9v_1.hashCode() | 0;
|
|
3775
3776
|
return result;
|
|
3776
3777
|
};
|
|
3777
3778
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3779,35 +3780,35 @@
|
|
|
3779
3780
|
return true;
|
|
3780
3781
|
if (!(other instanceof GroupKey))
|
|
3781
3782
|
return false;
|
|
3782
|
-
if (!(this.
|
|
3783
|
+
if (!(this.g9v_1 === other.g9v_1))
|
|
3783
3784
|
return false;
|
|
3784
|
-
if (!equals(this.
|
|
3785
|
+
if (!equals(this.h9v_1, other.h9v_1))
|
|
3785
3786
|
return false;
|
|
3786
|
-
if (!equals(this.
|
|
3787
|
+
if (!equals(this.i9v_1, other.i9v_1))
|
|
3787
3788
|
return false;
|
|
3788
|
-
if (!this.
|
|
3789
|
+
if (!this.j9v_1.equals(other.j9v_1))
|
|
3789
3790
|
return false;
|
|
3790
3791
|
return true;
|
|
3791
3792
|
};
|
|
3792
3793
|
function Companion_4() {
|
|
3793
|
-
this.
|
|
3794
|
+
this.k9v_1 = 6;
|
|
3794
3795
|
}
|
|
3795
3796
|
var Companion_instance_12;
|
|
3796
3797
|
function Companion_getInstance_5() {
|
|
3797
3798
|
return Companion_instance_12;
|
|
3798
3799
|
}
|
|
3799
3800
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3800
|
-
this.
|
|
3801
|
+
this.t9v_1 = this$0;
|
|
3801
3802
|
CoroutineImpl.call(this, resultContinuation);
|
|
3802
3803
|
}
|
|
3803
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3804
|
-
var tmp = this.
|
|
3804
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).v9v = function (actions, $completion) {
|
|
3805
|
+
var tmp = this.w9v(actions, $completion);
|
|
3805
3806
|
tmp.t8_1 = Unit_instance;
|
|
3806
3807
|
tmp.u8_1 = null;
|
|
3807
3808
|
return tmp.z8();
|
|
3808
3809
|
};
|
|
3809
3810
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3810
|
-
return this.
|
|
3811
|
+
return this.v9v((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3811
3812
|
};
|
|
3812
3813
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3813
3814
|
var suspendResult = this.t8_1;
|
|
@@ -3816,7 +3817,7 @@
|
|
|
3816
3817
|
var tmp = this.r8_1;
|
|
3817
3818
|
if (tmp === 0) {
|
|
3818
3819
|
this.s8_1 = 1;
|
|
3819
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3820
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.t9v_1, this.u9v_1, null));
|
|
3820
3821
|
} else if (tmp === 1) {
|
|
3821
3822
|
throw this.u8_1;
|
|
3822
3823
|
}
|
|
@@ -3826,23 +3827,23 @@
|
|
|
3826
3827
|
}
|
|
3827
3828
|
while (true);
|
|
3828
3829
|
};
|
|
3829
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3830
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3831
|
-
i.
|
|
3830
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9v = function (actions, completion) {
|
|
3831
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.t9v_1, completion);
|
|
3832
|
+
i.u9v_1 = actions;
|
|
3832
3833
|
return i;
|
|
3833
3834
|
};
|
|
3834
3835
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3835
3836
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3836
3837
|
var l = function (actions, $completion) {
|
|
3837
|
-
return i.
|
|
3838
|
+
return i.v9v(actions, $completion);
|
|
3838
3839
|
};
|
|
3839
3840
|
l.$arity = 1;
|
|
3840
3841
|
return l;
|
|
3841
3842
|
}
|
|
3842
3843
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3843
3844
|
CoroutineImpl.call(this, resultContinuation);
|
|
3844
|
-
this.
|
|
3845
|
-
this.
|
|
3845
|
+
this.f9w_1 = _this__u8e3s4;
|
|
3846
|
+
this.g9w_1 = fromEvent;
|
|
3846
3847
|
}
|
|
3847
3848
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3848
3849
|
var suspendResult = this.t8_1;
|
|
@@ -3852,8 +3853,8 @@
|
|
|
3852
3853
|
switch (tmp) {
|
|
3853
3854
|
case 0:
|
|
3854
3855
|
this.s8_1 = 2;
|
|
3855
|
-
this.
|
|
3856
|
-
var tmp0 = this.
|
|
3856
|
+
this.f9w_1.e9v_1;
|
|
3857
|
+
var tmp0 = this.f9w_1.d9v_1;
|
|
3857
3858
|
l$ret$1: do {
|
|
3858
3859
|
while (true) {
|
|
3859
3860
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3865,7 +3866,7 @@
|
|
|
3865
3866
|
}
|
|
3866
3867
|
while (false);
|
|
3867
3868
|
this.r8_1 = 1;
|
|
3868
|
-
suspendResult = this.
|
|
3869
|
+
suspendResult = this.f9w_1.f9v_1.l28(this.g9w_1, this);
|
|
3869
3870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3870
3871
|
return suspendResult;
|
|
3871
3872
|
}
|
|
@@ -3889,7 +3890,7 @@
|
|
|
3889
3890
|
};
|
|
3890
3891
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3891
3892
|
CoroutineImpl.call(this, resultContinuation);
|
|
3892
|
-
this.
|
|
3893
|
+
this.p9w_1 = _this__u8e3s4;
|
|
3893
3894
|
}
|
|
3894
3895
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3895
3896
|
var suspendResult = this.t8_1;
|
|
@@ -3899,12 +3900,12 @@
|
|
|
3899
3900
|
switch (tmp) {
|
|
3900
3901
|
case 0:
|
|
3901
3902
|
this.s8_1 = 5;
|
|
3902
|
-
this.
|
|
3903
|
-
this.
|
|
3903
|
+
this.p9w_1.e9v_1;
|
|
3904
|
+
this.q9w_1 = 0;
|
|
3904
3905
|
this.r8_1 = 1;
|
|
3905
3906
|
continue $sm;
|
|
3906
3907
|
case 1:
|
|
3907
|
-
if (!!(this.
|
|
3908
|
+
if (!!(this.p9w_1.d9v_1.kotlinx$atomicfu$value === 0)) {
|
|
3908
3909
|
this.r8_1 = 4;
|
|
3909
3910
|
continue $sm;
|
|
3910
3911
|
}
|
|
@@ -3917,9 +3918,9 @@
|
|
|
3917
3918
|
|
|
3918
3919
|
continue $sm;
|
|
3919
3920
|
case 2:
|
|
3920
|
-
this.
|
|
3921
|
-
if (this.
|
|
3922
|
-
this.
|
|
3921
|
+
this.q9w_1 = this.q9w_1 + 1 | 0;
|
|
3922
|
+
if (this.q9w_1 > 6) {
|
|
3923
|
+
this.p9w_1.b9v_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.p9w_1.d9v_1.kotlinx$atomicfu$value);
|
|
3923
3924
|
this.r8_1 = 4;
|
|
3924
3925
|
continue $sm;
|
|
3925
3926
|
} else {
|
|
@@ -3947,188 +3948,191 @@
|
|
|
3947
3948
|
while (true);
|
|
3948
3949
|
};
|
|
3949
3950
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3950
|
-
this.
|
|
3951
|
-
this.
|
|
3952
|
-
this.
|
|
3953
|
-
this.
|
|
3951
|
+
this.a9v_1 = serverReduxConfig;
|
|
3952
|
+
this.b9v_1 = logger;
|
|
3953
|
+
this.c9v_1 = idsProvider;
|
|
3954
|
+
this.d9v_1 = atomic$ref$1(0);
|
|
3954
3955
|
var tmp = this;
|
|
3955
3956
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3956
|
-
tmp.
|
|
3957
|
-
this.
|
|
3957
|
+
tmp.e9v_1 = get_atomicfu$reentrantLock();
|
|
3958
|
+
this.f9v_1 = MutableSharedFlow();
|
|
3958
3959
|
}
|
|
3959
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3960
|
+
protoOf(ToClientEventsObserverImpl).l9u = function (fromEvent, $completion) {
|
|
3960
3961
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
3961
3962
|
tmp.t8_1 = Unit_instance;
|
|
3962
3963
|
tmp.u8_1 = null;
|
|
3963
3964
|
return tmp.z8();
|
|
3964
3965
|
};
|
|
3965
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3966
|
+
protoOf(ToClientEventsObserverImpl).s95 = function ($completion) {
|
|
3966
3967
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
3967
3968
|
tmp.t8_1 = Unit_instance;
|
|
3968
3969
|
tmp.u8_1 = null;
|
|
3969
3970
|
return tmp.z8();
|
|
3970
3971
|
};
|
|
3971
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3972
|
-
if (!this.
|
|
3973
|
-
return this.
|
|
3972
|
+
protoOf(ToClientEventsObserverImpl).g9l = function () {
|
|
3973
|
+
if (!this.a9v_1.enabledCombinedEvents) {
|
|
3974
|
+
return this.f9v_1;
|
|
3974
3975
|
}
|
|
3975
|
-
var tmp = windowedByInterval(this.
|
|
3976
|
+
var tmp = windowedByInterval(this.f9v_1, fromInt(this.a9v_1.combinedEventsIntervalMillis));
|
|
3976
3977
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3977
3978
|
};
|
|
3978
3979
|
function UpdateServerConfigAction(serverConfig) {
|
|
3979
|
-
this.
|
|
3980
|
+
this.r9w_1 = serverConfig;
|
|
3980
3981
|
}
|
|
3981
3982
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3982
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3983
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.r9w_1.toString() + ')';
|
|
3983
3984
|
};
|
|
3984
3985
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3985
|
-
return this.
|
|
3986
|
+
return this.r9w_1.hashCode();
|
|
3986
3987
|
};
|
|
3987
3988
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3988
3989
|
if (this === other)
|
|
3989
3990
|
return true;
|
|
3990
3991
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3991
3992
|
return false;
|
|
3992
|
-
if (!this.
|
|
3993
|
+
if (!this.r9w_1.equals(other.r9w_1))
|
|
3993
3994
|
return false;
|
|
3994
3995
|
return true;
|
|
3995
3996
|
};
|
|
3996
3997
|
function SpectatorsAction() {
|
|
3997
3998
|
}
|
|
3998
3999
|
function AddSpectatorsAction(spectators) {
|
|
3999
|
-
this.
|
|
4000
|
+
this.s9w_1 = spectators;
|
|
4000
4001
|
}
|
|
4001
4002
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4002
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4003
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.s9w_1) + ')';
|
|
4003
4004
|
};
|
|
4004
4005
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4005
|
-
return hashCode(this.
|
|
4006
|
+
return hashCode(this.s9w_1);
|
|
4006
4007
|
};
|
|
4007
4008
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4008
4009
|
if (this === other)
|
|
4009
4010
|
return true;
|
|
4010
4011
|
if (!(other instanceof AddSpectatorsAction))
|
|
4011
4012
|
return false;
|
|
4012
|
-
if (!equals(this.
|
|
4013
|
+
if (!equals(this.s9w_1, other.s9w_1))
|
|
4013
4014
|
return false;
|
|
4014
4015
|
return true;
|
|
4015
4016
|
};
|
|
4016
4017
|
function RemoveSpectatorsAction(spectators) {
|
|
4017
|
-
this.
|
|
4018
|
+
this.t9w_1 = spectators;
|
|
4018
4019
|
}
|
|
4019
4020
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4020
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4021
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.t9w_1) + ')';
|
|
4021
4022
|
};
|
|
4022
4023
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4023
|
-
return hashCode(this.
|
|
4024
|
+
return hashCode(this.t9w_1);
|
|
4024
4025
|
};
|
|
4025
4026
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4026
4027
|
if (this === other)
|
|
4027
4028
|
return true;
|
|
4028
4029
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4029
4030
|
return false;
|
|
4030
|
-
if (!equals(this.
|
|
4031
|
+
if (!equals(this.t9w_1, other.t9w_1))
|
|
4031
4032
|
return false;
|
|
4032
4033
|
return true;
|
|
4033
4034
|
};
|
|
4034
4035
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4035
|
-
var tmp0 = $this.
|
|
4036
|
+
var tmp0 = $this.z9w_1;
|
|
4036
4037
|
var tmp = KProperty1;
|
|
4037
4038
|
// Inline function 'kotlin.getValue' call
|
|
4038
4039
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4039
4040
|
return tmp0.w();
|
|
4040
4041
|
}
|
|
4041
4042
|
function _get_logger__rkp4sl_0($this) {
|
|
4042
|
-
var tmp0 = $this.
|
|
4043
|
+
var tmp0 = $this.a9x_1;
|
|
4043
4044
|
var tmp = KProperty1;
|
|
4044
4045
|
// Inline function 'kotlin.getValue' call
|
|
4045
4046
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4046
4047
|
return tmp0.w();
|
|
4047
4048
|
}
|
|
4048
4049
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4049
|
-
var tmp0 = $this.
|
|
4050
|
+
var tmp0 = $this.b9x_1;
|
|
4050
4051
|
var tmp = KProperty1;
|
|
4051
4052
|
// Inline function 'kotlin.getValue' call
|
|
4052
4053
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4053
4054
|
return tmp0.w();
|
|
4054
4055
|
}
|
|
4055
4056
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4056
|
-
var tmp0 = $this.
|
|
4057
|
+
var tmp0 = $this.c9x_1;
|
|
4057
4058
|
var tmp = KProperty1;
|
|
4058
4059
|
// Inline function 'kotlin.getValue' call
|
|
4059
4060
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4060
4061
|
return tmp0.w();
|
|
4061
4062
|
}
|
|
4062
4063
|
function _get_serverConfig__rk2g06($this) {
|
|
4063
|
-
var tmp0 = $this.
|
|
4064
|
+
var tmp0 = $this.d9x_1;
|
|
4064
4065
|
var tmp = KProperty1;
|
|
4065
4066
|
// Inline function 'kotlin.getValue' call
|
|
4066
4067
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4067
4068
|
return tmp0.w();
|
|
4068
4069
|
}
|
|
4069
4070
|
function _get_logicConfig__52ww9d($this) {
|
|
4070
|
-
var tmp0 = $this.
|
|
4071
|
+
var tmp0 = $this.e9x_1;
|
|
4071
4072
|
var tmp = KProperty1;
|
|
4072
4073
|
// Inline function 'kotlin.getValue' call
|
|
4073
4074
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4074
4075
|
return tmp0.w();
|
|
4075
4076
|
}
|
|
4076
4077
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4077
|
-
var tmp0 = $this.
|
|
4078
|
+
var tmp0 = $this.f9x_1;
|
|
4078
4079
|
var tmp = KProperty1;
|
|
4079
4080
|
// Inline function 'kotlin.getValue' call
|
|
4080
4081
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4081
4082
|
return tmp0.w();
|
|
4082
4083
|
}
|
|
4083
4084
|
function _get_botConfig__cpaxzc($this) {
|
|
4084
|
-
var tmp0 = $this.
|
|
4085
|
+
var tmp0 = $this.g9x_1;
|
|
4085
4086
|
var tmp = KProperty1;
|
|
4086
4087
|
// Inline function 'kotlin.getValue' call
|
|
4087
4088
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4088
4089
|
return tmp0.w();
|
|
4089
4090
|
}
|
|
4090
4091
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4091
|
-
var tmp0 = $this.
|
|
4092
|
+
var tmp0 = $this.h9x_1;
|
|
4092
4093
|
var tmp = KProperty1;
|
|
4093
4094
|
// Inline function 'kotlin.getValue' call
|
|
4094
4095
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4095
4096
|
return tmp0.w();
|
|
4096
4097
|
}
|
|
4097
4098
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4098
|
-
var tmp0 = $this.
|
|
4099
|
+
var tmp0 = $this.i9x_1;
|
|
4099
4100
|
var tmp = KProperty1;
|
|
4100
4101
|
// Inline function 'kotlin.getValue' call
|
|
4101
4102
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4102
4103
|
return tmp0.w();
|
|
4103
4104
|
}
|
|
4104
4105
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4105
|
-
var tmp0 = $this.
|
|
4106
|
+
var tmp0 = $this.j9x_1;
|
|
4106
4107
|
var tmp = KProperty1;
|
|
4107
4108
|
// Inline function 'kotlin.getValue' call
|
|
4108
4109
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4109
4110
|
return tmp0.w();
|
|
4110
4111
|
}
|
|
4111
4112
|
function _get_dealerConfig__183ci8($this) {
|
|
4112
|
-
var tmp0 = $this.
|
|
4113
|
+
var tmp0 = $this.k9x_1;
|
|
4113
4114
|
var tmp = KProperty1;
|
|
4114
4115
|
// Inline function 'kotlin.getValue' call
|
|
4115
4116
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4116
4117
|
return tmp0.w();
|
|
4117
4118
|
}
|
|
4118
4119
|
function _get_poolProvider__tqti6a($this) {
|
|
4119
|
-
var tmp0 = $this.
|
|
4120
|
+
var tmp0 = $this.l9x_1;
|
|
4120
4121
|
var tmp = KProperty1;
|
|
4121
4122
|
// Inline function 'kotlin.getValue' call
|
|
4122
4123
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4123
4124
|
return tmp0.w();
|
|
4124
4125
|
}
|
|
4125
4126
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4126
|
-
var tmp0 = $this.
|
|
4127
|
+
var tmp0 = $this.m9x_1;
|
|
4127
4128
|
var tmp = KProperty1;
|
|
4128
4129
|
// Inline function 'kotlin.getValue' call
|
|
4129
4130
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
4130
4131
|
return tmp0.w();
|
|
4131
4132
|
}
|
|
4133
|
+
function ServerGameStoreContract$_init_$lambda_obu59v(it) {
|
|
4134
|
+
return new ServerLoggerKey(it);
|
|
4135
|
+
}
|
|
4132
4136
|
function ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3() {
|
|
4133
4137
|
return function (p0) {
|
|
4134
4138
|
return _get_asyncProvider__jbpyhw(p0);
|
|
@@ -4277,130 +4281,136 @@
|
|
|
4277
4281
|
timersStoreContract = timersStoreContract === VOID ? new TimersStoreContract(di) : timersStoreContract;
|
|
4278
4282
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
4279
4283
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4284
|
+
var tmp;
|
|
4285
|
+
if (fileLoggerStoreContract === VOID) {
|
|
4286
|
+
tmp = new FileLoggerStoreContract(di, VOID, ServerGameStoreContract$_init_$lambda_obu59v);
|
|
4287
|
+
} else {
|
|
4288
|
+
tmp = fileLoggerStoreContract;
|
|
4289
|
+
}
|
|
4290
|
+
fileLoggerStoreContract = tmp;
|
|
4291
|
+
this.u9w_1 = validationStoreContract;
|
|
4292
|
+
this.v9w_1 = timersStoreContract;
|
|
4293
|
+
this.w9w_1 = botGameStoreContract;
|
|
4294
|
+
this.x9w_1 = gameMechanicStoreContract;
|
|
4295
|
+
this.y9w_1 = fileLoggerStoreContract;
|
|
4296
|
+
var tmp_0 = this;
|
|
4287
4297
|
// Inline function 'org.kodein.di.instance' call
|
|
4288
4298
|
// Inline function 'org.kodein.type.generic' call
|
|
4289
|
-
var
|
|
4290
|
-
var tmp$ret$0 = isInterface(
|
|
4291
|
-
var
|
|
4292
|
-
var
|
|
4293
|
-
|
|
4294
|
-
var
|
|
4299
|
+
var tmp_1 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
4300
|
+
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4301
|
+
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4302
|
+
var tmp_3 = KProperty1;
|
|
4303
|
+
tmp_0.z9w_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4304
|
+
var tmp_4 = this;
|
|
4295
4305
|
// Inline function 'org.kodein.di.instance' call
|
|
4296
4306
|
// Inline function 'org.kodein.type.generic' call
|
|
4297
|
-
var
|
|
4298
|
-
var tmp$ret$2 = isInterface(
|
|
4299
|
-
var
|
|
4300
|
-
var
|
|
4301
|
-
|
|
4302
|
-
var
|
|
4307
|
+
var tmp_5 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4308
|
+
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4309
|
+
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4310
|
+
var tmp_7 = KProperty1;
|
|
4311
|
+
tmp_4.a9x_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4312
|
+
var tmp_8 = this;
|
|
4303
4313
|
// Inline function 'org.kodein.di.instance' call
|
|
4304
4314
|
// Inline function 'org.kodein.type.generic' call
|
|
4305
|
-
var
|
|
4306
|
-
var tmp$ret$4 = isInterface(
|
|
4307
|
-
var
|
|
4308
|
-
var
|
|
4309
|
-
|
|
4310
|
-
var
|
|
4315
|
+
var tmp_9 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
4316
|
+
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4317
|
+
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4318
|
+
var tmp_11 = KProperty1;
|
|
4319
|
+
tmp_8.b9x_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4320
|
+
var tmp_12 = this;
|
|
4311
4321
|
// Inline function 'org.kodein.di.instance' call
|
|
4312
4322
|
// Inline function 'org.kodein.type.generic' call
|
|
4313
|
-
var
|
|
4314
|
-
var tmp$ret$6 = isInterface(
|
|
4315
|
-
var
|
|
4316
|
-
var
|
|
4317
|
-
|
|
4318
|
-
var
|
|
4323
|
+
var tmp_13 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
4324
|
+
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4325
|
+
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4326
|
+
var tmp_15 = KProperty1;
|
|
4327
|
+
tmp_12.c9x_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4328
|
+
var tmp_16 = this;
|
|
4319
4329
|
// Inline function 'org.kodein.di.instance' call
|
|
4320
4330
|
// Inline function 'org.kodein.type.generic' call
|
|
4321
|
-
var
|
|
4322
|
-
var tmp$ret$8 = isInterface(
|
|
4323
|
-
var
|
|
4324
|
-
var
|
|
4325
|
-
|
|
4326
|
-
var
|
|
4331
|
+
var tmp_17 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
4332
|
+
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4333
|
+
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4334
|
+
var tmp_19 = KProperty1;
|
|
4335
|
+
tmp_16.d9x_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4336
|
+
var tmp_20 = this;
|
|
4327
4337
|
// Inline function 'org.kodein.di.instance' call
|
|
4328
4338
|
// Inline function 'org.kodein.type.generic' call
|
|
4329
|
-
var
|
|
4330
|
-
var tmp$ret$10 = isInterface(
|
|
4331
|
-
var
|
|
4332
|
-
var
|
|
4333
|
-
|
|
4334
|
-
var
|
|
4339
|
+
var tmp_21 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
4340
|
+
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4341
|
+
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4342
|
+
var tmp_23 = KProperty1;
|
|
4343
|
+
tmp_20.e9x_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4344
|
+
var tmp_24 = this;
|
|
4335
4345
|
// Inline function 'org.kodein.di.instance' call
|
|
4336
4346
|
// Inline function 'org.kodein.type.generic' call
|
|
4337
|
-
var
|
|
4338
|
-
var tmp$ret$12 = isInterface(
|
|
4339
|
-
var
|
|
4340
|
-
var
|
|
4341
|
-
|
|
4342
|
-
var
|
|
4347
|
+
var tmp_25 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
4348
|
+
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4349
|
+
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4350
|
+
var tmp_27 = KProperty1;
|
|
4351
|
+
tmp_24.f9x_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4352
|
+
var tmp_28 = this;
|
|
4343
4353
|
// Inline function 'org.kodein.di.instance' call
|
|
4344
4354
|
// Inline function 'org.kodein.type.generic' call
|
|
4345
|
-
var
|
|
4346
|
-
var tmp$ret$14 = isInterface(
|
|
4347
|
-
var
|
|
4348
|
-
var
|
|
4349
|
-
|
|
4350
|
-
var
|
|
4355
|
+
var tmp_29 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
4356
|
+
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4357
|
+
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4358
|
+
var tmp_31 = KProperty1;
|
|
4359
|
+
tmp_28.g9x_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4360
|
+
var tmp_32 = this;
|
|
4351
4361
|
// Inline function 'org.kodein.di.instance' call
|
|
4352
4362
|
// Inline function 'org.kodein.type.generic' call
|
|
4353
|
-
var
|
|
4354
|
-
var tmp$ret$16 = isInterface(
|
|
4355
|
-
var
|
|
4356
|
-
var
|
|
4357
|
-
|
|
4358
|
-
var
|
|
4363
|
+
var tmp_33 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
4364
|
+
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4365
|
+
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4366
|
+
var tmp_35 = KProperty1;
|
|
4367
|
+
tmp_32.h9x_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4368
|
+
var tmp_36 = this;
|
|
4359
4369
|
// Inline function 'org.kodein.di.instance' call
|
|
4360
4370
|
// Inline function 'org.kodein.type.generic' call
|
|
4361
|
-
var
|
|
4362
|
-
var tmp$ret$18 = isInterface(
|
|
4363
|
-
var
|
|
4364
|
-
var
|
|
4365
|
-
|
|
4366
|
-
var
|
|
4371
|
+
var tmp_37 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
4372
|
+
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4373
|
+
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4374
|
+
var tmp_39 = KProperty1;
|
|
4375
|
+
tmp_36.i9x_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4376
|
+
var tmp_40 = this;
|
|
4367
4377
|
// Inline function 'org.kodein.di.instance' call
|
|
4368
4378
|
// Inline function 'org.kodein.type.generic' call
|
|
4369
|
-
var
|
|
4370
|
-
var tmp$ret$20 = isInterface(
|
|
4371
|
-
var
|
|
4372
|
-
var
|
|
4373
|
-
|
|
4374
|
-
var
|
|
4379
|
+
var tmp_41 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
4380
|
+
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4381
|
+
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4382
|
+
var tmp_43 = KProperty1;
|
|
4383
|
+
tmp_40.j9x_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4384
|
+
var tmp_44 = this;
|
|
4375
4385
|
// Inline function 'org.kodein.di.instance' call
|
|
4376
4386
|
// Inline function 'org.kodein.type.generic' call
|
|
4377
|
-
var
|
|
4378
|
-
var tmp$ret$22 = isInterface(
|
|
4379
|
-
var
|
|
4380
|
-
var
|
|
4381
|
-
|
|
4382
|
-
var
|
|
4387
|
+
var tmp_45 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
4388
|
+
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4389
|
+
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4390
|
+
var tmp_47 = KProperty1;
|
|
4391
|
+
tmp_44.k9x_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4392
|
+
var tmp_48 = this;
|
|
4383
4393
|
// Inline function 'org.kodein.di.instance' call
|
|
4384
4394
|
// Inline function 'org.kodein.type.generic' call
|
|
4385
|
-
var
|
|
4386
|
-
var tmp$ret$24 = isInterface(
|
|
4387
|
-
var
|
|
4388
|
-
var
|
|
4389
|
-
|
|
4390
|
-
var
|
|
4395
|
+
var tmp_49 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4396
|
+
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4397
|
+
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4398
|
+
var tmp_51 = KProperty1;
|
|
4399
|
+
tmp_48.l9x_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4400
|
+
var tmp_52 = this;
|
|
4391
4401
|
// Inline function 'org.kodein.di.instance' call
|
|
4392
4402
|
// Inline function 'org.kodein.type.generic' call
|
|
4393
|
-
var
|
|
4394
|
-
var tmp$ret$26 = isInterface(
|
|
4395
|
-
var
|
|
4396
|
-
var
|
|
4397
|
-
|
|
4403
|
+
var tmp_53 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
4404
|
+
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4405
|
+
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4406
|
+
var tmp_55 = KProperty1;
|
|
4407
|
+
tmp_52.m9x_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4398
4408
|
}
|
|
4399
|
-
protoOf(ServerGameStoreContract).
|
|
4400
|
-
return plus(plus(plus(plus(plus(this.
|
|
4409
|
+
protoOf(ServerGameStoreContract).g8x = function () {
|
|
4410
|
+
return plus(plus(plus(plus(plus(this.u9w_1.g8x(), this.x9w_1.g8x()), this.v9w_1.g8x()), this.w9w_1.g8x()), this.y9w_1.g8x()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4401
4411
|
};
|
|
4402
|
-
protoOf(ServerGameStoreContract).
|
|
4403
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4412
|
+
protoOf(ServerGameStoreContract).h8x = function () {
|
|
4413
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.u9w_1.h8x(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.x9w_1.h8x()), this.v9w_1.h8x()), this.w9w_1.h8x()), this.y9w_1.h8x()), 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))).n8z(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4404
4414
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4405
4415
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4406
4416
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4437,11 +4447,11 @@
|
|
|
4437
4447
|
var state = store.state;
|
|
4438
4448
|
if (tmp4.isGameFinished) {
|
|
4439
4449
|
if (!get_serverStatePayload_0(state).config.canStartNewGame) {
|
|
4440
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
4450
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.t6l_1));
|
|
4441
4451
|
break $l$block_0;
|
|
4442
4452
|
}
|
|
4443
|
-
if (state.
|
|
4444
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.
|
|
4453
|
+
if (state.j6m().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4454
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.t6l_1));
|
|
4445
4455
|
break $l$block_0;
|
|
4446
4456
|
}
|
|
4447
4457
|
}
|
|
@@ -4451,7 +4461,7 @@
|
|
|
4451
4461
|
return this.u6g(store, next, action);
|
|
4452
4462
|
};
|
|
4453
4463
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4454
|
-
this.
|
|
4464
|
+
this.p9x_1 = this$0;
|
|
4455
4465
|
}
|
|
4456
4466
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).f6f = function (action) {
|
|
4457
4467
|
return action instanceof MechanicAction;
|
|
@@ -4462,11 +4472,11 @@
|
|
|
4462
4472
|
// Inline function 'kotlin.with' call
|
|
4463
4473
|
var tmp;
|
|
4464
4474
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4465
|
-
var tmp0 = this.
|
|
4466
|
-
var tmp2 = action_0.
|
|
4467
|
-
var tmp4 = action_0.
|
|
4475
|
+
var tmp0 = this.p9x_1;
|
|
4476
|
+
var tmp2 = action_0.t8t_1;
|
|
4477
|
+
var tmp4 = action_0.v8t_1;
|
|
4468
4478
|
// Inline function 'kotlin.collections.map' call
|
|
4469
|
-
var this_0 = action_0.
|
|
4479
|
+
var this_0 = action_0.w8t_1;
|
|
4470
4480
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4471
4481
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4472
4482
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4502,7 +4512,7 @@
|
|
|
4502
4512
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4503
4513
|
while (_iterator__ex2g4s_2.m()) {
|
|
4504
4514
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4505
|
-
var tmp0_aid = tmp0.
|
|
4515
|
+
var tmp0_aid = tmp0.o9x_1.h6d();
|
|
4506
4516
|
// Inline function 'kotlin.collections.map' call
|
|
4507
4517
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4508
4518
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4524,16 +4534,16 @@
|
|
|
4524
4534
|
tmp = destination_2;
|
|
4525
4535
|
} else {
|
|
4526
4536
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4527
|
-
var tmp0_0 = this.
|
|
4537
|
+
var tmp0_0 = this.p9x_1;
|
|
4528
4538
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4529
|
-
var table = state.
|
|
4530
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4539
|
+
var table = state.j6m();
|
|
4540
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.o9x_1.h6d(), table.id, null);
|
|
4531
4541
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4532
4542
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4533
4543
|
} else {
|
|
4534
4544
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4535
|
-
var tmp0_1 = this.
|
|
4536
|
-
var tmp2_0 = action_0.
|
|
4545
|
+
var tmp0_1 = this.p9x_1;
|
|
4546
|
+
var tmp2_0 = action_0.z8t_1.id;
|
|
4537
4547
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4538
4548
|
// Inline function 'kotlin.collections.map' call
|
|
4539
4549
|
var this_1 = action_0.users;
|
|
@@ -4572,7 +4582,7 @@
|
|
|
4572
4582
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4573
4583
|
while (_iterator__ex2g4s_7.m()) {
|
|
4574
4584
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4575
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4585
|
+
var tmp0_aid_0 = tmp0_1.o9x_1.h6d();
|
|
4576
4586
|
// Inline function 'kotlin.collections.map' call
|
|
4577
4587
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4578
4588
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4594,41 +4604,41 @@
|
|
|
4594
4604
|
tmp = destination_7;
|
|
4595
4605
|
} else {
|
|
4596
4606
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4597
|
-
var tmp0_2 = this.
|
|
4607
|
+
var tmp0_2 = this.p9x_1;
|
|
4598
4608
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4599
|
-
var table_0 = state.
|
|
4600
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4609
|
+
var table_0 = state.j6m();
|
|
4610
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.o9x_1.h6d(), table_0.id, null);
|
|
4601
4611
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4602
4612
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4603
4613
|
} else {
|
|
4604
4614
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4605
|
-
var tmp0_3 = this.
|
|
4615
|
+
var tmp0_3 = this.p9x_1;
|
|
4606
4616
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4607
|
-
var table_1 = state.
|
|
4608
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4617
|
+
var table_1 = state.j6m();
|
|
4618
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.o9x_1.h6d(), table_1.id, null);
|
|
4609
4619
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4610
4620
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4611
4621
|
} else {
|
|
4612
4622
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4613
|
-
var tmp0_4 = this.
|
|
4623
|
+
var tmp0_4 = this.p9x_1;
|
|
4614
4624
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4615
|
-
var table_2 = state.
|
|
4616
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4625
|
+
var table_2 = state.j6m();
|
|
4626
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.o9x_1.h6d(), table_2.id, null);
|
|
4617
4627
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4618
4628
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4619
4629
|
} else {
|
|
4620
4630
|
if (action_0 instanceof ErrorAction) {
|
|
4621
|
-
var tmp0_5 = this.
|
|
4631
|
+
var tmp0_5 = this.p9x_1;
|
|
4622
4632
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4623
|
-
var table_3 = state.
|
|
4624
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4633
|
+
var table_3 = state.j6m();
|
|
4634
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.o9x_1.h6d(), table_3.id, null);
|
|
4625
4635
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4626
4636
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4627
4637
|
} else {
|
|
4628
4638
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4629
|
-
var tmp0_6 = this.
|
|
4639
|
+
var tmp0_6 = this.p9x_1;
|
|
4630
4640
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4631
|
-
var table_4 = state.
|
|
4641
|
+
var table_4 = state.j6m();
|
|
4632
4642
|
var tmp2_1 = table_4.id;
|
|
4633
4643
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4634
4644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4659,7 +4669,7 @@
|
|
|
4659
4669
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4660
4670
|
while (_iterator__ex2g4s_11.m()) {
|
|
4661
4671
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4662
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4672
|
+
var tmp0_aid_1 = tmp0_6.o9x_1.h6d();
|
|
4663
4673
|
// Inline function 'kotlin.collections.map' call
|
|
4664
4674
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4665
4675
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4681,9 +4691,9 @@
|
|
|
4681
4691
|
tmp = destination_11;
|
|
4682
4692
|
} else {
|
|
4683
4693
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4684
|
-
var tmp0_7 = this.
|
|
4694
|
+
var tmp0_7 = this.p9x_1;
|
|
4685
4695
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4686
|
-
var table_5 = state.
|
|
4696
|
+
var table_5 = state.j6m();
|
|
4687
4697
|
var tmp2_2 = table_5.id;
|
|
4688
4698
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4689
4699
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4714,7 +4724,7 @@
|
|
|
4714
4724
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4715
4725
|
while (_iterator__ex2g4s_15.m()) {
|
|
4716
4726
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4717
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4727
|
+
var tmp0_aid_2 = tmp0_7.o9x_1.h6d();
|
|
4718
4728
|
// Inline function 'kotlin.collections.map' call
|
|
4719
4729
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4720
4730
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4736,9 +4746,9 @@
|
|
|
4736
4746
|
tmp = destination_15;
|
|
4737
4747
|
} else {
|
|
4738
4748
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4739
|
-
var tmp0_8 = this.
|
|
4749
|
+
var tmp0_8 = this.p9x_1;
|
|
4740
4750
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4741
|
-
var table_6 = state.
|
|
4751
|
+
var table_6 = state.j6m();
|
|
4742
4752
|
var tmp2_3 = table_6.id;
|
|
4743
4753
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4744
4754
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4769,7 +4779,7 @@
|
|
|
4769
4779
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4770
4780
|
while (_iterator__ex2g4s_19.m()) {
|
|
4771
4781
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4772
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4782
|
+
var tmp0_aid_3 = tmp0_8.o9x_1.h6d();
|
|
4773
4783
|
// Inline function 'kotlin.collections.map' call
|
|
4774
4784
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4775
4785
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4781,7 +4791,7 @@
|
|
|
4781
4791
|
}
|
|
4782
4792
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4783
4793
|
var tmp_0;
|
|
4784
|
-
if (this.
|
|
4794
|
+
if (this.p9x_1.n9x_1.supportBackwardActions && getPlayer(state.j6m().players, sendToPlayer_8.e7a_1).y6p_1.n6t_1) {
|
|
4785
4795
|
tmp_0 = null;
|
|
4786
4796
|
} else {
|
|
4787
4797
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4797,72 +4807,72 @@
|
|
|
4797
4807
|
tmp = destination_19;
|
|
4798
4808
|
} else {
|
|
4799
4809
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4800
|
-
var tmp0_9 = this.
|
|
4801
|
-
var tmp2_4 = state.
|
|
4810
|
+
var tmp0_9 = this.p9x_1;
|
|
4811
|
+
var tmp2_4 = state.j6m();
|
|
4802
4812
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4803
|
-
var exceptPlayerId = this.
|
|
4804
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4813
|
+
var exceptPlayerId = this.p9x_1.n9x_1.supportBackwardActions ? action_0.t8u_1 : null;
|
|
4814
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.o9x_1.h6d(), tmp2_4.id, exceptPlayerId);
|
|
4805
4815
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4806
4816
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4807
4817
|
} else {
|
|
4808
4818
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4809
|
-
var tmp0_10 = this.
|
|
4810
|
-
var tmp2_5 = state.
|
|
4819
|
+
var tmp0_10 = this.p9x_1;
|
|
4820
|
+
var tmp2_5 = state.j6m();
|
|
4811
4821
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4812
|
-
var exceptPlayerId_0 = this.
|
|
4813
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4822
|
+
var exceptPlayerId_0 = this.p9x_1.n9x_1.supportBackwardActions ? action_0.w8p_1 : null;
|
|
4823
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.o9x_1.h6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4814
4824
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4815
4825
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4816
4826
|
} else {
|
|
4817
4827
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4818
|
-
var tmp0_11 = this.
|
|
4828
|
+
var tmp0_11 = this.p9x_1;
|
|
4819
4829
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4820
|
-
var table_7 = state.
|
|
4821
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4830
|
+
var table_7 = state.j6m();
|
|
4831
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.o9x_1.h6d(), table_7.id, null);
|
|
4822
4832
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4823
4833
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4824
4834
|
} else {
|
|
4825
4835
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4826
|
-
var tmp0_12 = this.
|
|
4827
|
-
var tmp2_6 = state.
|
|
4836
|
+
var tmp0_12 = this.p9x_1;
|
|
4837
|
+
var tmp2_6 = state.j6m();
|
|
4828
4838
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4829
|
-
var exceptPlayerId_1 = this.
|
|
4830
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4839
|
+
var exceptPlayerId_1 = this.p9x_1.n9x_1.supportBackwardActions ? action_0.z8u_1 : null;
|
|
4840
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.o9x_1.h6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4831
4841
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4832
4842
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4833
4843
|
} else {
|
|
4834
4844
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4835
|
-
var tmp0_13 = this.
|
|
4836
|
-
var tmp2_7 = state.
|
|
4845
|
+
var tmp0_13 = this.p9x_1;
|
|
4846
|
+
var tmp2_7 = state.j6m();
|
|
4837
4847
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4838
|
-
var exceptPlayerId_2 = this.
|
|
4839
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4848
|
+
var exceptPlayerId_2 = this.p9x_1.n9x_1.supportBackwardActions ? action_0.b8q_1 : null;
|
|
4849
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.o9x_1.h6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4840
4850
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4841
4851
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4842
4852
|
} else {
|
|
4843
4853
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4844
|
-
var tmp0_14 = this.
|
|
4854
|
+
var tmp0_14 = this.p9x_1;
|
|
4845
4855
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4846
|
-
var table_8 = state.
|
|
4847
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4856
|
+
var table_8 = state.j6m();
|
|
4857
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.o9x_1.h6d(), table_8.id, null);
|
|
4848
4858
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4849
4859
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4850
4860
|
} else {
|
|
4851
4861
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4852
|
-
var tmp0_15 = this.
|
|
4862
|
+
var tmp0_15 = this.p9x_1;
|
|
4853
4863
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4854
|
-
var table_9 = state.
|
|
4855
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4864
|
+
var table_9 = state.j6m();
|
|
4865
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.o9x_1.h6d(), table_9.id, null);
|
|
4856
4866
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4857
4867
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4858
4868
|
} else {
|
|
4859
4869
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4860
|
-
var message = action_0.
|
|
4861
|
-
var tmp0_16 = this.
|
|
4862
|
-
var tmp2_8 = state.
|
|
4870
|
+
var message = action_0.d8v_1;
|
|
4871
|
+
var tmp0_16 = this.p9x_1;
|
|
4872
|
+
var tmp2_8 = state.j6m();
|
|
4863
4873
|
var tmp_1;
|
|
4864
4874
|
var tmp_2;
|
|
4865
|
-
if (this.
|
|
4875
|
+
if (this.p9x_1.n9x_1.supportBackwardActions) {
|
|
4866
4876
|
tmp_2 = isInterface(message, UserMessage);
|
|
4867
4877
|
} else {
|
|
4868
4878
|
tmp_2 = false;
|
|
@@ -4874,16 +4884,16 @@
|
|
|
4874
4884
|
}
|
|
4875
4885
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4876
4886
|
var exceptPlayerId_3 = tmp_1;
|
|
4877
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4887
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.o9x_1.h6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4878
4888
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4879
4889
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4880
4890
|
} else {
|
|
4881
4891
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4882
|
-
var tmp0_17 = this.
|
|
4883
|
-
var tmp2_9 = state.
|
|
4892
|
+
var tmp0_17 = this.p9x_1;
|
|
4893
|
+
var tmp2_9 = state.j6m();
|
|
4884
4894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4885
4895
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4886
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4896
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.o9x_1.h6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4887
4897
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4888
4898
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4889
4899
|
} else {
|
|
@@ -4920,10 +4930,10 @@
|
|
|
4920
4930
|
return this.u6g(store, next, action);
|
|
4921
4931
|
};
|
|
4922
4932
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4923
|
-
this.
|
|
4924
|
-
this.
|
|
4933
|
+
this.n9x_1 = logicConfig;
|
|
4934
|
+
this.o9x_1 = idsProvider;
|
|
4925
4935
|
}
|
|
4926
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4936
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).n8z = function () {
|
|
4927
4937
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4928
4938
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
4929
4939
|
};
|
|
@@ -4932,8 +4942,8 @@
|
|
|
4932
4942
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4933
4943
|
}
|
|
4934
4944
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4935
|
-
this.
|
|
4936
|
-
this.
|
|
4945
|
+
this.y9x_1 = $provider;
|
|
4946
|
+
this.z9x_1 = $action;
|
|
4937
4947
|
CoroutineImpl.call(this, resultContinuation);
|
|
4938
4948
|
}
|
|
4939
4949
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -4954,7 +4964,7 @@
|
|
|
4954
4964
|
case 0:
|
|
4955
4965
|
this.s8_1 = 2;
|
|
4956
4966
|
this.r8_1 = 1;
|
|
4957
|
-
suspendResult = this.
|
|
4967
|
+
suspendResult = this.y9x_1.l9u(this.z9x_1, this);
|
|
4958
4968
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4959
4969
|
return suspendResult;
|
|
4960
4970
|
}
|
|
@@ -4977,8 +4987,8 @@
|
|
|
4977
4987
|
while (true);
|
|
4978
4988
|
};
|
|
4979
4989
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
4980
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4981
|
-
i.
|
|
4990
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.y9x_1, this.z9x_1, completion);
|
|
4991
|
+
i.a9y_1 = $this$launchDefault;
|
|
4982
4992
|
return i;
|
|
4983
4993
|
};
|
|
4984
4994
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4990,15 +5000,15 @@
|
|
|
4990
5000
|
return l;
|
|
4991
5001
|
}
|
|
4992
5002
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
4993
|
-
this.
|
|
4994
|
-
this.
|
|
5003
|
+
this.b9y_1 = $asyncProvider;
|
|
5004
|
+
this.c9y_1 = $provider;
|
|
4995
5005
|
}
|
|
4996
5006
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
|
|
4997
5007
|
return action instanceof ToClientAction;
|
|
4998
5008
|
};
|
|
4999
5009
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u6g = function (store, next, action) {
|
|
5000
5010
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5001
|
-
this.
|
|
5011
|
+
this.b9y_1.e6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.c9y_1, action_0, null));
|
|
5002
5012
|
next(action_0);
|
|
5003
5013
|
};
|
|
5004
5014
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
|
|
@@ -5013,12 +5023,12 @@
|
|
|
5013
5023
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).f6f = function (action) {
|
|
5014
5024
|
return action instanceof UpdateServerConfigAction;
|
|
5015
5025
|
};
|
|
5016
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5026
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).j97 = function (state, action) {
|
|
5017
5027
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5018
|
-
return state.
|
|
5028
|
+
return state.u8s(VOID, get_serverStatePayload_0(state).copy(action_0.r9w_1));
|
|
5019
5029
|
};
|
|
5020
5030
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
|
|
5021
|
-
return this.
|
|
5031
|
+
return this.j97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5022
5032
|
};
|
|
5023
5033
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5024
5034
|
return function (it) {
|
|
@@ -5031,7 +5041,7 @@
|
|
|
5031
5041
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5032
5042
|
Companion_getInstance();
|
|
5033
5043
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5034
|
-
var this_0 = $action.
|
|
5044
|
+
var this_0 = $action.s8t_1.timeoutTimeMillis;
|
|
5035
5045
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5036
5046
|
tmp_0 = tmp_1.j67(tmp_2, tmp$ret$0);
|
|
5037
5047
|
}
|
|
@@ -5040,63 +5050,63 @@
|
|
|
5040
5050
|
}
|
|
5041
5051
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5042
5052
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5043
|
-
this.
|
|
5053
|
+
this.f9y_1 = logger;
|
|
5044
5054
|
}
|
|
5045
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5046
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
5055
|
+
protoOf(ServerMechanicLifecycleReducer).v98 = function (state, action) {
|
|
5056
|
+
var serverState = get_serverStatePayloadOrNull(state.u6l_1);
|
|
5047
5057
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5048
|
-
var tmp0_$this = this.
|
|
5049
|
-
var tmp1_tableId = action.
|
|
5050
|
-
var tmp2_gameId = action.
|
|
5051
|
-
var tmp3_version = action.
|
|
5052
|
-
var tmp4_config = action.
|
|
5053
|
-
var tmp5_users = action.
|
|
5058
|
+
var tmp0_$this = this.w98_1;
|
|
5059
|
+
var tmp1_tableId = action.t8t_1;
|
|
5060
|
+
var tmp2_gameId = action.t8t_1;
|
|
5061
|
+
var tmp3_version = action.u8t_1;
|
|
5062
|
+
var tmp4_config = action.s8t_1;
|
|
5063
|
+
var tmp5_users = action.w8t_1;
|
|
5054
5064
|
var tmp6_spectators = action.spectators;
|
|
5055
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5056
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5065
|
+
var tmp7_gameCreatorPlayerId = action.v8t_1;
|
|
5066
|
+
var tmp9_tableOrNull = tmp0_$this.c9a(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5057
5067
|
var tmp;
|
|
5058
5068
|
if (serverState == null) {
|
|
5059
|
-
this.
|
|
5069
|
+
this.f9y_1.w(VOID, 'ServerPayload is not onStart');
|
|
5060
5070
|
tmp = Companion_instance_13.initial();
|
|
5061
5071
|
} else {
|
|
5062
5072
|
tmp = serverState;
|
|
5063
5073
|
}
|
|
5064
5074
|
var tmp10_payload = tmp;
|
|
5065
|
-
return state.
|
|
5075
|
+
return state.u8s(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5066
5076
|
};
|
|
5067
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5077
|
+
protoOf(ServerMechanicLifecycleReducer).t98 = function (state, action) {
|
|
5068
5078
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5069
|
-
var tmp2_tableOrNull = action.
|
|
5079
|
+
var tmp2_tableOrNull = action.z8t_1;
|
|
5070
5080
|
var tmp = Companion_instance_13;
|
|
5071
5081
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5072
|
-
var tmp_1 = action.
|
|
5082
|
+
var tmp_1 = action.a8u_1;
|
|
5073
5083
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5074
5084
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5075
|
-
return state.
|
|
5085
|
+
return state.u8s(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5076
5086
|
};
|
|
5077
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5078
|
-
this.
|
|
5087
|
+
protoOf(ServerMechanicLifecycleReducer).u98 = function (state, action) {
|
|
5088
|
+
this.x98_1.l58(action.previousGameId);
|
|
5079
5089
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5080
|
-
var tmp1_tableOrNull = this.
|
|
5081
|
-
return state.
|
|
5090
|
+
var tmp1_tableOrNull = this.w98_1.d9a(state.j6m(), action.gameId);
|
|
5091
|
+
return state.u8s(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5082
5092
|
};
|
|
5083
5093
|
function spectatorsReducer(logger) {
|
|
5084
5094
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5085
5095
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5086
5096
|
}
|
|
5087
5097
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5088
|
-
this.
|
|
5098
|
+
this.g9y_1 = $logger;
|
|
5089
5099
|
}
|
|
5090
5100
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).f6f = function (action) {
|
|
5091
5101
|
return isInterface(action, SpectatorsAction);
|
|
5092
5102
|
};
|
|
5093
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5103
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j97 = function (state, action) {
|
|
5094
5104
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5095
|
-
var table = state.
|
|
5105
|
+
var table = state.j6m();
|
|
5096
5106
|
var tmp;
|
|
5097
5107
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5098
5108
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5099
|
-
var tmp0 = action_0.
|
|
5109
|
+
var tmp0 = action_0.s9w_1;
|
|
5100
5110
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5101
5111
|
var destination = ArrayList_init_$Create$_0();
|
|
5102
5112
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5115,9 +5125,9 @@
|
|
|
5115
5125
|
var tmp_0;
|
|
5116
5126
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5117
5127
|
if (!sameSpectators.r()) {
|
|
5118
|
-
this.
|
|
5128
|
+
this.g9y_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5119
5129
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5120
|
-
var tmp0_0 = action_0.
|
|
5130
|
+
var tmp0_0 = action_0.s9w_1;
|
|
5121
5131
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5122
5132
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5123
5133
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5152,7 +5162,7 @@
|
|
|
5152
5162
|
}
|
|
5153
5163
|
tmp_0 = destination_0;
|
|
5154
5164
|
} else {
|
|
5155
|
-
tmp_0 = action_0.
|
|
5165
|
+
tmp_0 = action_0.s9w_1;
|
|
5156
5166
|
}
|
|
5157
5167
|
// Inline function 'kotlin.collections.map' call
|
|
5158
5168
|
var this_0 = tmp_0;
|
|
@@ -5165,11 +5175,11 @@
|
|
|
5165
5175
|
destination_1.j(tmp$ret$13);
|
|
5166
5176
|
}
|
|
5167
5177
|
var spectatorsToAdd = toSet(destination_1);
|
|
5168
|
-
tmp = state.
|
|
5178
|
+
tmp = state.u8s(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5169
5179
|
} else {
|
|
5170
5180
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5171
5181
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5172
|
-
var tmp0_1 = action_0.
|
|
5182
|
+
var tmp0_1 = action_0.t9w_1;
|
|
5173
5183
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5174
5184
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5175
5185
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5188,9 +5198,9 @@
|
|
|
5188
5198
|
var tmp_2;
|
|
5189
5199
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5190
5200
|
if (!sameSpectators_0.r()) {
|
|
5191
|
-
this.
|
|
5201
|
+
this.g9y_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5192
5202
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5193
|
-
var tmp0_2 = action_0.
|
|
5203
|
+
var tmp0_2 = action_0.t9w_1;
|
|
5194
5204
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5195
5205
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5196
5206
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5225,7 +5235,7 @@
|
|
|
5225
5235
|
}
|
|
5226
5236
|
tmp_2 = destination_3;
|
|
5227
5237
|
} else {
|
|
5228
|
-
tmp_2 = action_0.
|
|
5238
|
+
tmp_2 = action_0.t9w_1;
|
|
5229
5239
|
}
|
|
5230
5240
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5231
5241
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5262,7 +5272,7 @@
|
|
|
5262
5272
|
destination_4.j(element_5);
|
|
5263
5273
|
}
|
|
5264
5274
|
}
|
|
5265
|
-
tmp = state.
|
|
5275
|
+
tmp = state.u8s(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5266
5276
|
} else {
|
|
5267
5277
|
noWhenBranchMatchedException();
|
|
5268
5278
|
}
|
|
@@ -5270,16 +5280,16 @@
|
|
|
5270
5280
|
return tmp;
|
|
5271
5281
|
};
|
|
5272
5282
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
|
|
5273
|
-
return this.
|
|
5283
|
+
return this.j97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5274
5284
|
};
|
|
5275
5285
|
function Companion_5() {
|
|
5276
5286
|
}
|
|
5277
|
-
protoOf(Companion_5).
|
|
5287
|
+
protoOf(Companion_5).h9y = function (config) {
|
|
5278
5288
|
return new ServerStatePayload(config);
|
|
5279
5289
|
};
|
|
5280
5290
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5281
5291
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5282
|
-
return $super === VOID ? this.
|
|
5292
|
+
return $super === VOID ? this.h9y(config) : $super.h9y.call(this, config);
|
|
5283
5293
|
};
|
|
5284
5294
|
var Companion_instance_13;
|
|
5285
5295
|
function Companion_getInstance_6() {
|
|
@@ -5294,12 +5304,12 @@
|
|
|
5294
5304
|
protoOf(ServerStatePayload).ne = function () {
|
|
5295
5305
|
return this.config;
|
|
5296
5306
|
};
|
|
5297
|
-
protoOf(ServerStatePayload).
|
|
5307
|
+
protoOf(ServerStatePayload).i9y = function (config) {
|
|
5298
5308
|
return new ServerStatePayload(config);
|
|
5299
5309
|
};
|
|
5300
5310
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5301
5311
|
config = config === VOID ? this.config : config;
|
|
5302
|
-
return $super === VOID ? this.
|
|
5312
|
+
return $super === VOID ? this.i9y(config) : $super.i9y.call(this, config);
|
|
5303
5313
|
};
|
|
5304
5314
|
protoOf(ServerStatePayload).toString = function () {
|
|
5305
5315
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5324,7 +5334,7 @@
|
|
|
5324
5334
|
}
|
|
5325
5335
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
5326
5336
|
// Inline function 'kotlin.requireNotNull' call
|
|
5327
|
-
var tmp0 = _this__u8e3s4.
|
|
5337
|
+
var tmp0 = _this__u8e3s4.u6l_1;
|
|
5328
5338
|
var tmp$ret$1;
|
|
5329
5339
|
$l$block: {
|
|
5330
5340
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -5339,6 +5349,20 @@
|
|
|
5339
5349
|
var tmp$ret$2 = tmp$ret$1;
|
|
5340
5350
|
return get_serverStatePayload(tmp$ret$2);
|
|
5341
5351
|
}
|
|
5352
|
+
function get_serverLoggerKey(_this__u8e3s4) {
|
|
5353
|
+
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5354
|
+
}
|
|
5355
|
+
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5356
|
+
var gameId = Companion_instance_3.d9c(payload);
|
|
5357
|
+
var tmp;
|
|
5358
|
+
if (!(gameId == null)) {
|
|
5359
|
+
tmp = new ServerLoggerKey(gameId);
|
|
5360
|
+
} else {
|
|
5361
|
+
var tmp0_safe_receiver = _this__u8e3s4.t6l_1;
|
|
5362
|
+
tmp = tmp0_safe_receiver == null ? null : get_serverLoggerKey(tmp0_safe_receiver);
|
|
5363
|
+
}
|
|
5364
|
+
return tmp;
|
|
5365
|
+
}
|
|
5342
5366
|
function GameEngineController() {
|
|
5343
5367
|
}
|
|
5344
5368
|
function createGameServerController(loggerCallback, randomOrgConfig) {
|
|
@@ -5346,31 +5370,31 @@
|
|
|
5346
5370
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5347
5371
|
}
|
|
5348
5372
|
function _get_logger__rkp4sl_1($this) {
|
|
5349
|
-
var tmp0 = $this.
|
|
5373
|
+
var tmp0 = $this.s9y_1;
|
|
5350
5374
|
var tmp = KProperty1;
|
|
5351
5375
|
// Inline function 'kotlin.getValue' call
|
|
5352
5376
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5353
5377
|
return tmp0.w();
|
|
5354
5378
|
}
|
|
5355
5379
|
function _get_di__ndbzja($this) {
|
|
5356
|
-
var tmp0 = $this.
|
|
5380
|
+
var tmp0 = $this.t9y_1;
|
|
5357
5381
|
var tmp = KProperty1;
|
|
5358
5382
|
// Inline function 'kotlin.getValue' call
|
|
5359
5383
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
5360
5384
|
return tmp0.w();
|
|
5361
5385
|
}
|
|
5362
5386
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
5363
|
-
var tmp =
|
|
5387
|
+
var tmp = Companion_instance_4;
|
|
5364
5388
|
return tmp.i5z(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
|
|
5365
5389
|
}
|
|
5366
5390
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5367
5391
|
return function () {
|
|
5368
5392
|
var tmp;
|
|
5369
|
-
if (this$0.
|
|
5393
|
+
if (this$0.q9y_1 == null) {
|
|
5370
5394
|
tmp = null;
|
|
5371
5395
|
} else {
|
|
5372
5396
|
// Inline function 'kotlin.let' call
|
|
5373
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5397
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.q9y_1)]));
|
|
5374
5398
|
}
|
|
5375
5399
|
var tmp1_elvis_lhs = tmp;
|
|
5376
5400
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5403,13 +5427,13 @@
|
|
|
5403
5427
|
tmp_0.x62(tmp$ret$3);
|
|
5404
5428
|
$this$DI.b5z(jsonModule());
|
|
5405
5429
|
$this$DI.b5z(serverHelpersModule());
|
|
5406
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5430
|
+
$this$DI.b5z(randomOrgModule(this$0.r9y_1));
|
|
5407
5431
|
return Unit_instance;
|
|
5408
5432
|
};
|
|
5409
5433
|
}
|
|
5410
5434
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
5411
5435
|
return function () {
|
|
5412
|
-
var tmp =
|
|
5436
|
+
var tmp = Companion_instance_4;
|
|
5413
5437
|
return tmp.i5z(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
5414
5438
|
};
|
|
5415
5439
|
}
|
|
@@ -5479,16 +5503,16 @@
|
|
|
5479
5503
|
};
|
|
5480
5504
|
}
|
|
5481
5505
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5482
|
-
this.
|
|
5506
|
+
this.a9z_1 = $reducer;
|
|
5483
5507
|
}
|
|
5484
5508
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).f6f = function (action) {
|
|
5485
5509
|
return isInterface(action, Action);
|
|
5486
5510
|
};
|
|
5487
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5488
|
-
return this.
|
|
5511
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j97 = function (state, action) {
|
|
5512
|
+
return this.a9z_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5489
5513
|
};
|
|
5490
5514
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).v6g = function (state, action) {
|
|
5491
|
-
return this.
|
|
5515
|
+
return this.j97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5492
5516
|
};
|
|
5493
5517
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
5494
5518
|
return function ($this$singleton) {
|
|
@@ -5545,23 +5569,15 @@
|
|
|
5545
5569
|
}
|
|
5546
5570
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
5547
5571
|
return function (it) {
|
|
5548
|
-
|
|
5549
|
-
var tmp;
|
|
5550
|
-
if (tmp0_elvis_lhs == null) {
|
|
5551
|
-
var tmp1_safe_receiver = $gameServer.s66().r6l_1;
|
|
5552
|
-
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
5553
|
-
} else {
|
|
5554
|
-
tmp = tmp0_elvis_lhs;
|
|
5555
|
-
}
|
|
5556
|
-
return tmp;
|
|
5572
|
+
return serverLoggerKeyFromPayload($gameServer.s66(), it);
|
|
5557
5573
|
};
|
|
5558
5574
|
}
|
|
5559
5575
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
5560
5576
|
return function (it) {
|
|
5561
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
5577
|
+
var tmp0_elvis_lhs = Companion_instance_5.q9a(it);
|
|
5562
5578
|
var tmp;
|
|
5563
5579
|
if (tmp0_elvis_lhs == null) {
|
|
5564
|
-
var tmp1_safe_receiver = $gameServer.s66().
|
|
5580
|
+
var tmp1_safe_receiver = $gameServer.s66().t6l_1;
|
|
5565
5581
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
5566
5582
|
} else {
|
|
5567
5583
|
tmp = tmp0_elvis_lhs;
|
|
@@ -5579,7 +5595,7 @@
|
|
|
5579
5595
|
// Inline function 'kotlin.let' call
|
|
5580
5596
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5581
5597
|
}
|
|
5582
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5598
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.r9y_1));
|
|
5583
5599
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5584
5600
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5585
5601
|
return Unit_instance;
|
|
@@ -5588,13 +5604,13 @@
|
|
|
5588
5604
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5589
5605
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5590
5606
|
production = production === VOID ? true : production;
|
|
5591
|
-
this.
|
|
5592
|
-
this.
|
|
5593
|
-
AppEnvironment_getInstance().
|
|
5607
|
+
this.q9y_1 = loggerCallback;
|
|
5608
|
+
this.r9y_1 = randomOrgConfig;
|
|
5609
|
+
AppEnvironment_getInstance().c6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5594
5610
|
var tmp = this;
|
|
5595
|
-
tmp.
|
|
5611
|
+
tmp.s9y_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5596
5612
|
var tmp_0 = this;
|
|
5597
|
-
tmp_0.
|
|
5613
|
+
tmp_0.t9y_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5598
5614
|
var tmp_1 = this;
|
|
5599
5615
|
// Inline function 'org.kodein.di.instance' call
|
|
5600
5616
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5603,7 +5619,7 @@
|
|
|
5603
5619
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5604
5620
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5605
5621
|
var tmp_4 = KProperty1;
|
|
5606
|
-
tmp_1.
|
|
5622
|
+
tmp_1.u9y_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5607
5623
|
var tmp_5 = this;
|
|
5608
5624
|
// Inline function 'org.kodein.di.instance' call
|
|
5609
5625
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5612,7 +5628,7 @@
|
|
|
5612
5628
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5613
5629
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5614
5630
|
var tmp_8 = KProperty1;
|
|
5615
|
-
tmp_5.
|
|
5631
|
+
tmp_5.v9y_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5616
5632
|
var tmp_9 = this;
|
|
5617
5633
|
// Inline function 'org.kodein.di.instance' call
|
|
5618
5634
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5621,7 +5637,7 @@
|
|
|
5621
5637
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5622
5638
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5623
5639
|
var tmp_12 = KProperty1;
|
|
5624
|
-
tmp_9.
|
|
5640
|
+
tmp_9.w9y_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5625
5641
|
var tmp_13 = this;
|
|
5626
5642
|
// Inline function 'org.kodein.di.instance' call
|
|
5627
5643
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5630,7 +5646,7 @@
|
|
|
5630
5646
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5631
5647
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5632
5648
|
var tmp_16 = KProperty1;
|
|
5633
|
-
tmp_13.
|
|
5649
|
+
tmp_13.x9y_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5634
5650
|
var tmp_17 = this;
|
|
5635
5651
|
// Inline function 'org.kodein.di.instance' call
|
|
5636
5652
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5639,7 +5655,7 @@
|
|
|
5639
5655
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5640
5656
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5641
5657
|
var tmp_20 = KProperty1;
|
|
5642
|
-
tmp_17.
|
|
5658
|
+
tmp_17.y9y_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5643
5659
|
var tmp_21 = this;
|
|
5644
5660
|
// Inline function 'org.kodein.di.instance' call
|
|
5645
5661
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5648,45 +5664,45 @@
|
|
|
5648
5664
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5649
5665
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5650
5666
|
var tmp_24 = KProperty1;
|
|
5651
|
-
tmp_21.
|
|
5667
|
+
tmp_21.z9y_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5652
5668
|
}
|
|
5653
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5654
|
-
var tmp0 = this.
|
|
5669
|
+
protoOf(GameServerEngineControllerImpl).j9y = function () {
|
|
5670
|
+
var tmp0 = this.u9y_1;
|
|
5655
5671
|
var tmp = KProperty1;
|
|
5656
5672
|
// Inline function 'kotlin.getValue' call
|
|
5657
5673
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5658
5674
|
return tmp0.w();
|
|
5659
5675
|
};
|
|
5660
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5661
|
-
var tmp0 = this.
|
|
5676
|
+
protoOf(GameServerEngineControllerImpl).l9y = function () {
|
|
5677
|
+
var tmp0 = this.v9y_1;
|
|
5662
5678
|
var tmp = KProperty1;
|
|
5663
5679
|
// Inline function 'kotlin.getValue' call
|
|
5664
5680
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5665
5681
|
return tmp0.w();
|
|
5666
5682
|
};
|
|
5667
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5668
|
-
var tmp0 = this.
|
|
5683
|
+
protoOf(GameServerEngineControllerImpl).m9y = function () {
|
|
5684
|
+
var tmp0 = this.w9y_1;
|
|
5669
5685
|
var tmp = KProperty1;
|
|
5670
5686
|
// Inline function 'kotlin.getValue' call
|
|
5671
5687
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5672
5688
|
return tmp0.w();
|
|
5673
5689
|
};
|
|
5674
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5675
|
-
var tmp0 = this.
|
|
5690
|
+
protoOf(GameServerEngineControllerImpl).n9y = function () {
|
|
5691
|
+
var tmp0 = this.x9y_1;
|
|
5676
5692
|
var tmp = KProperty1;
|
|
5677
5693
|
// Inline function 'kotlin.getValue' call
|
|
5678
5694
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5679
5695
|
return tmp0.w();
|
|
5680
5696
|
};
|
|
5681
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5682
|
-
var tmp0 = this.
|
|
5697
|
+
protoOf(GameServerEngineControllerImpl).k9y = function () {
|
|
5698
|
+
var tmp0 = this.y9y_1;
|
|
5683
5699
|
var tmp = KProperty1;
|
|
5684
5700
|
// Inline function 'kotlin.getValue' call
|
|
5685
5701
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5686
5702
|
return tmp0.w();
|
|
5687
5703
|
};
|
|
5688
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5689
|
-
var tmp0 = this.
|
|
5704
|
+
protoOf(GameServerEngineControllerImpl).o9y = function () {
|
|
5705
|
+
var tmp0 = this.z9y_1;
|
|
5690
5706
|
var tmp = KProperty1;
|
|
5691
5707
|
// Inline function 'kotlin.getValue' call
|
|
5692
5708
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5698,7 +5714,7 @@
|
|
|
5698
5714
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5699
5715
|
return this.createGameEngineWithLogic();
|
|
5700
5716
|
};
|
|
5701
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5717
|
+
protoOf(GameServerEngineControllerImpl).p9y = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5702
5718
|
var combinedLogger = Companion_instance_6.mx();
|
|
5703
5719
|
var tmp;
|
|
5704
5720
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5708,8 +5724,8 @@
|
|
|
5708
5724
|
}
|
|
5709
5725
|
var fileLoggerOutput = tmp;
|
|
5710
5726
|
var tmp_0;
|
|
5711
|
-
if (!(this.
|
|
5712
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5727
|
+
if (!(this.q9y_1 == null)) {
|
|
5728
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.q9y_1));
|
|
5713
5729
|
} else {
|
|
5714
5730
|
tmp_0 = null;
|
|
5715
5731
|
}
|
|
@@ -5750,12 +5766,12 @@
|
|
|
5750
5766
|
var gameServer = tmp_1.l60(tmp$ret$7, null);
|
|
5751
5767
|
if (!(fileLoggerOutput == null)) {
|
|
5752
5768
|
var tmp_3 = fileLoggerOutput;
|
|
5753
|
-
tmp_3.
|
|
5769
|
+
tmp_3.s9b_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5754
5770
|
combinedLogger.w1k(fileLoggerOutput);
|
|
5755
5771
|
}
|
|
5756
5772
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5757
5773
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5758
|
-
tmp_4.
|
|
5774
|
+
tmp_4.s9a_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5759
5775
|
combinedLogger.w1k(callbackWrapperLoggerOutput);
|
|
5760
5776
|
}
|
|
5761
5777
|
return gameServer;
|
|
@@ -5770,7 +5786,7 @@
|
|
|
5770
5786
|
function TestHelper() {
|
|
5771
5787
|
}
|
|
5772
5788
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5773
|
-
var tmp0 = $this.
|
|
5789
|
+
var tmp0 = $this.d9z_1;
|
|
5774
5790
|
var tmp = KProperty1;
|
|
5775
5791
|
// Inline function 'kotlin.getValue' call
|
|
5776
5792
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5778,7 +5794,7 @@
|
|
|
5778
5794
|
}
|
|
5779
5795
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5780
5796
|
return function ($this$singleton) {
|
|
5781
|
-
return this$0.
|
|
5797
|
+
return this$0.b9z_1;
|
|
5782
5798
|
};
|
|
5783
5799
|
}
|
|
5784
5800
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5817,27 +5833,27 @@
|
|
|
5817
5833
|
return emptyMap();
|
|
5818
5834
|
}
|
|
5819
5835
|
function TestHelperImpl(logger) {
|
|
5820
|
-
this.
|
|
5836
|
+
this.b9z_1 = logger;
|
|
5821
5837
|
var tmp = this;
|
|
5822
|
-
var tmp_0 =
|
|
5823
|
-
tmp.
|
|
5838
|
+
var tmp_0 = Companion_instance_4;
|
|
5839
|
+
tmp.c9z_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5824
5840
|
var tmp_1 = this;
|
|
5825
5841
|
// Inline function 'org.kodein.di.instance' call
|
|
5826
|
-
var this_0 = this.
|
|
5842
|
+
var this_0 = this.c9z_1;
|
|
5827
5843
|
// Inline function 'org.kodein.type.generic' call
|
|
5828
5844
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5829
5845
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5830
5846
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5831
5847
|
var tmp_4 = KProperty1;
|
|
5832
|
-
tmp_1.
|
|
5848
|
+
tmp_1.d9z_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5833
5849
|
}
|
|
5834
5850
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5835
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5851
|
+
return _get_playerAnswerInteractor__msggz1(this).e8j(playerId, table, botConfig);
|
|
5836
5852
|
};
|
|
5837
5853
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5838
5854
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5839
5855
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5840
|
-
var tmp0 = mechanicAction.
|
|
5856
|
+
var tmp0 = mechanicAction.m8w();
|
|
5841
5857
|
var tmp$ret$0;
|
|
5842
5858
|
$l$block_0: {
|
|
5843
5859
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5869,7 +5885,7 @@
|
|
|
5869
5885
|
};
|
|
5870
5886
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5871
5887
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5872
|
-
var tmp0 = action.
|
|
5888
|
+
var tmp0 = action.m8w();
|
|
5873
5889
|
var tmp$ret$0;
|
|
5874
5890
|
$l$block_0: {
|
|
5875
5891
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5960,13 +5976,13 @@
|
|
|
5960
5976
|
return this.w53();
|
|
5961
5977
|
});
|
|
5962
5978
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5963
|
-
return this.
|
|
5979
|
+
return this.j6m();
|
|
5964
5980
|
});
|
|
5965
5981
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5966
|
-
return this.
|
|
5982
|
+
return this.k6m();
|
|
5967
5983
|
});
|
|
5968
5984
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5969
|
-
return this.
|
|
5985
|
+
return this.l6m();
|
|
5970
5986
|
});
|
|
5971
5987
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
5972
5988
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
@@ -5984,22 +6000,22 @@
|
|
|
5984
6000
|
});
|
|
5985
6001
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5986
6002
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5987
|
-
return this.
|
|
6003
|
+
return this.j9y();
|
|
5988
6004
|
});
|
|
5989
6005
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5990
|
-
return this.
|
|
6006
|
+
return this.l9y();
|
|
5991
6007
|
});
|
|
5992
6008
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
5993
|
-
return this.
|
|
6009
|
+
return this.m9y();
|
|
5994
6010
|
});
|
|
5995
6011
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5996
|
-
return this.
|
|
6012
|
+
return this.n9y();
|
|
5997
6013
|
});
|
|
5998
6014
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5999
|
-
return this.
|
|
6015
|
+
return this.k9y();
|
|
6000
6016
|
});
|
|
6001
6017
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6002
|
-
return this.
|
|
6018
|
+
return this.o9y();
|
|
6003
6019
|
});
|
|
6004
6020
|
//endregion
|
|
6005
6021
|
//region block: init
|