raspberry_games_server_game_logic 1.8.376 → 1.8.377
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 +17 -17
- package/Kotlin-DateTime-library-kotlinx-datetime.js +35 -35
- package/Logic_Debertz-core.js +788 -685
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10856 -10787
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +11 -12
- package/Logic_Debertz-game_server.js +861 -833
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +1 -1
- package/kotlin-kotlin-stdlib.js +156 -164
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-coroutines-core.js +29 -29
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +10 -10
- package/kotlinx-serialization-kotlinx-serialization-core.js +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json.js +44 -44
- 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 +37 -37
- package/ktor-ktor-io.js +17 -17
- 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 +5 -5
- 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.$_$.jh;
|
|
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.$_$.oi;
|
|
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.$_$.fe;
|
|
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;
|
|
@@ -80,13 +80,13 @@
|
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
81
81
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t3;
|
|
82
82
|
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
83
|
-
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
-
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
83
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
84
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
85
85
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
86
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
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
89
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
90
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;
|
|
@@ -102,7 +102,8 @@
|
|
|
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
|
-
var
|
|
105
|
+
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
106
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
|
|
106
107
|
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
107
108
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.x3;
|
|
108
109
|
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
@@ -112,28 +113,28 @@
|
|
|
112
113
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
|
|
113
114
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b4;
|
|
114
115
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
115
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
116
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
116
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.hi;
|
|
117
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
117
118
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
118
119
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
119
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
120
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
121
|
-
var createKType = kotlin_kotlin.$_$.
|
|
120
|
+
var getKClass = kotlin_kotlin.$_$.be;
|
|
121
|
+
var arrayOf = kotlin_kotlin.$_$.xh;
|
|
122
|
+
var createKType = kotlin_kotlin.$_$.zd;
|
|
122
123
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
123
124
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
124
125
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
125
126
|
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
126
127
|
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
127
128
|
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
128
|
-
var lazy = kotlin_kotlin.$_$.
|
|
129
|
+
var lazy = kotlin_kotlin.$_$.gi;
|
|
129
130
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
130
131
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
131
132
|
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
132
133
|
var plus = kotlin_kotlin.$_$.p8;
|
|
133
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
134
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
134
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
135
|
+
var toString_0 = kotlin_kotlin.$_$.ni;
|
|
135
136
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
136
|
-
var Enum = kotlin_kotlin.$_$.
|
|
137
|
+
var Enum = kotlin_kotlin.$_$.zg;
|
|
137
138
|
var getBooleanHashCode = kotlin_kotlin.$_$.cc;
|
|
138
139
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
139
140
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
@@ -160,15 +161,15 @@
|
|
|
160
161
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
161
162
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
162
163
|
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e3;
|
|
163
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
165
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
165
166
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
166
167
|
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
167
168
|
var single = kotlin_kotlin.$_$.z8;
|
|
168
169
|
var copyToArray = kotlin_kotlin.$_$.y6;
|
|
169
170
|
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
170
171
|
var KtList = kotlin_kotlin.$_$.n5;
|
|
171
|
-
var Long = kotlin_kotlin.$_$.
|
|
172
|
+
var Long = kotlin_kotlin.$_$.eh;
|
|
172
173
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
173
174
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
174
175
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
@@ -190,7 +191,7 @@
|
|
|
190
191
|
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.v;
|
|
191
192
|
var listOf = kotlin_kotlin.$_$.g8;
|
|
192
193
|
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
193
|
-
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
+
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
194
195
|
var listOfNotNull = kotlin_kotlin.$_$.d8;
|
|
195
196
|
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
196
197
|
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
@@ -204,7 +205,7 @@
|
|
|
204
205
|
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
205
206
|
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
206
207
|
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.d4;
|
|
207
|
-
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
208
|
+
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
208
209
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
209
210
|
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
210
211
|
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
|
|
@@ -228,7 +229,7 @@
|
|
|
228
229
|
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.z1;
|
|
229
230
|
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n2;
|
|
230
231
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
|
|
231
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
232
233
|
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.x1;
|
|
233
234
|
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
|
|
234
235
|
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.u1;
|
|
@@ -251,16 +252,16 @@
|
|
|
251
252
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
252
253
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
253
254
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
254
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
255
|
+
var toDuration = kotlin_kotlin.$_$.rg;
|
|
255
256
|
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
256
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
257
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
|
|
257
258
|
var singleOrNull = kotlin_kotlin.$_$.y8;
|
|
258
259
|
var Collection = kotlin_kotlin.$_$.h5;
|
|
259
260
|
var toSet = kotlin_kotlin.$_$.q9;
|
|
260
261
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
261
262
|
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
262
263
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
263
|
-
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
264
|
+
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.p4;
|
|
264
265
|
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
265
266
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.g1;
|
|
266
267
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
@@ -273,7 +274,7 @@
|
|
|
273
274
|
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
274
275
|
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
275
276
|
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
276
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
277
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
277
278
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
278
279
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
279
280
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
@@ -359,10 +360,10 @@
|
|
|
359
360
|
spectators = tmp;
|
|
360
361
|
var tmp_0;
|
|
361
362
|
if ($super === VOID) {
|
|
362
|
-
this.
|
|
363
|
+
this.z9u(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
363
364
|
tmp_0 = Unit_instance;
|
|
364
365
|
} else {
|
|
365
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.z9u.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
366
367
|
}
|
|
367
368
|
return tmp_0;
|
|
368
369
|
}
|
|
@@ -370,10 +371,10 @@
|
|
|
370
371
|
newRid = newRid === VOID ? null : newRid;
|
|
371
372
|
var tmp;
|
|
372
373
|
if ($super === VOID) {
|
|
373
|
-
this.
|
|
374
|
+
this.a9v(newRid);
|
|
374
375
|
tmp = Unit_instance;
|
|
375
376
|
} else {
|
|
376
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.a9v.call(this, newRid);
|
|
377
378
|
}
|
|
378
379
|
return tmp;
|
|
379
380
|
}
|
|
@@ -381,10 +382,10 @@
|
|
|
381
382
|
roomId = roomId === VOID ? null : roomId;
|
|
382
383
|
var tmp;
|
|
383
384
|
if ($super === VOID) {
|
|
384
|
-
this.
|
|
385
|
+
this.b9v(reason, roomId);
|
|
385
386
|
tmp = Unit_instance;
|
|
386
387
|
} else {
|
|
387
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.b9v.call(this, reason, roomId);
|
|
388
389
|
}
|
|
389
390
|
return tmp;
|
|
390
391
|
}
|
|
@@ -449,7 +450,7 @@
|
|
|
449
450
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
450
451
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
451
452
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
452
|
-
return $super === VOID ? this.
|
|
453
|
+
return $super === VOID ? this.p9z(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.p9z.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
453
454
|
}
|
|
454
455
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
455
456
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -460,17 +461,17 @@
|
|
|
460
461
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
461
462
|
//endregion
|
|
462
463
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
463
|
-
this.
|
|
464
|
+
this.r9e_1 = $subscriber;
|
|
464
465
|
CoroutineImpl.call(this, resultContinuation);
|
|
465
466
|
}
|
|
466
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
467
|
-
var tmp = this.
|
|
467
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).t9e = function (it, $completion) {
|
|
468
|
+
var tmp = this.u9e(it, $completion);
|
|
468
469
|
tmp.t8_1 = Unit_instance;
|
|
469
470
|
tmp.u8_1 = null;
|
|
470
471
|
return tmp.z8();
|
|
471
472
|
};
|
|
472
473
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
473
|
-
return this.
|
|
474
|
+
return this.t9e(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
474
475
|
};
|
|
475
476
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
476
477
|
var suspendResult = this.t8_1;
|
|
@@ -479,7 +480,7 @@
|
|
|
479
480
|
var tmp = this.r8_1;
|
|
480
481
|
if (tmp === 0) {
|
|
481
482
|
this.s8_1 = 1;
|
|
482
|
-
this.
|
|
483
|
+
this.r9e_1(this.s9e_1);
|
|
483
484
|
return Unit_instance;
|
|
484
485
|
} else if (tmp === 1) {
|
|
485
486
|
throw this.u8_1;
|
|
@@ -490,31 +491,31 @@
|
|
|
490
491
|
}
|
|
491
492
|
while (true);
|
|
492
493
|
};
|
|
493
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
494
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
495
|
-
i.
|
|
494
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).u9e = function (it, completion) {
|
|
495
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.r9e_1, completion);
|
|
496
|
+
i.s9e_1 = it;
|
|
496
497
|
return i;
|
|
497
498
|
};
|
|
498
499
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
499
500
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
500
501
|
var l = function (it, $completion) {
|
|
501
|
-
return i.
|
|
502
|
+
return i.t9e(it, $completion);
|
|
502
503
|
};
|
|
503
504
|
l.$arity = 1;
|
|
504
505
|
return l;
|
|
505
506
|
}
|
|
506
507
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
507
|
-
this.
|
|
508
|
+
this.d9f_1 = $subscriber;
|
|
508
509
|
CoroutineImpl.call(this, resultContinuation);
|
|
509
510
|
}
|
|
510
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
511
|
-
var tmp = this.
|
|
511
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).f9f = function (it, $completion) {
|
|
512
|
+
var tmp = this.g9f(it, $completion);
|
|
512
513
|
tmp.t8_1 = Unit_instance;
|
|
513
514
|
tmp.u8_1 = null;
|
|
514
515
|
return tmp.z8();
|
|
515
516
|
};
|
|
516
517
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
517
|
-
return this.
|
|
518
|
+
return this.f9f((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
518
519
|
};
|
|
519
520
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
520
521
|
var suspendResult = this.t8_1;
|
|
@@ -523,7 +524,7 @@
|
|
|
523
524
|
var tmp = this.r8_1;
|
|
524
525
|
if (tmp === 0) {
|
|
525
526
|
this.s8_1 = 1;
|
|
526
|
-
this.
|
|
527
|
+
this.d9f_1(this.e9f_1);
|
|
527
528
|
return Unit_instance;
|
|
528
529
|
} else if (tmp === 1) {
|
|
529
530
|
throw this.u8_1;
|
|
@@ -534,22 +535,22 @@
|
|
|
534
535
|
}
|
|
535
536
|
while (true);
|
|
536
537
|
};
|
|
537
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
538
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
539
|
-
i.
|
|
538
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).g9f = function (it, completion) {
|
|
539
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.d9f_1, completion);
|
|
540
|
+
i.e9f_1 = it;
|
|
540
541
|
return i;
|
|
541
542
|
};
|
|
542
543
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
543
544
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
544
545
|
var l = function (it, $completion) {
|
|
545
|
-
return i.
|
|
546
|
+
return i.f9f(it, $completion);
|
|
546
547
|
};
|
|
547
548
|
l.$arity = 1;
|
|
548
549
|
return l;
|
|
549
550
|
}
|
|
550
551
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
552
|
+
this.p9f_1 = $$this$unsafeFlow;
|
|
553
|
+
this.q9f_1 = this$0;
|
|
553
554
|
CoroutineImpl.call(this, resultContinuation);
|
|
554
555
|
}
|
|
555
556
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -569,10 +570,10 @@
|
|
|
569
570
|
switch (tmp) {
|
|
570
571
|
case 0:
|
|
571
572
|
this.s8_1 = 2;
|
|
572
|
-
var tmp0 = this.
|
|
573
|
-
var value = this.
|
|
573
|
+
var tmp0 = this.p9f_1;
|
|
574
|
+
var value = this.r9f_1;
|
|
574
575
|
this.r8_1 = 1;
|
|
575
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
576
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.q9f_1)), this);
|
|
576
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
577
578
|
return suspendResult;
|
|
578
579
|
}
|
|
@@ -595,8 +596,8 @@
|
|
|
595
596
|
while (true);
|
|
596
597
|
};
|
|
597
598
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
598
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
599
|
-
i.
|
|
599
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.p9f_1, this.q9f_1, completion);
|
|
600
|
+
i.r9f_1 = value;
|
|
600
601
|
return i;
|
|
601
602
|
};
|
|
602
603
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -609,8 +610,8 @@
|
|
|
609
610
|
}
|
|
610
611
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
611
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
613
|
+
this.a9g_1 = _this__u8e3s4;
|
|
614
|
+
this.b9g_1 = collector;
|
|
614
615
|
}
|
|
615
616
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
616
617
|
var suspendResult = this.t8_1;
|
|
@@ -620,10 +621,10 @@
|
|
|
620
621
|
switch (tmp) {
|
|
621
622
|
case 0:
|
|
622
623
|
this.s8_1 = 2;
|
|
623
|
-
var $this$unsafeFlow = this.
|
|
624
|
+
var $this$unsafeFlow = this.b9g_1;
|
|
624
625
|
this.r8_1 = 1;
|
|
625
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
626
|
-
suspendResult = this.
|
|
626
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.a9g_1.d9g_1, null);
|
|
627
|
+
suspendResult = this.a9g_1.c9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
627
628
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
628
629
|
return suspendResult;
|
|
629
630
|
}
|
|
@@ -646,8 +647,8 @@
|
|
|
646
647
|
while (true);
|
|
647
648
|
};
|
|
648
649
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
650
|
+
this.c9g_1 = $this;
|
|
651
|
+
this.d9g_1 = this$0;
|
|
651
652
|
}
|
|
652
653
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
653
654
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -659,17 +660,17 @@
|
|
|
659
660
|
return this.m28(collector, $completion);
|
|
660
661
|
};
|
|
661
662
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
662
|
-
this.
|
|
663
|
+
this.m9g_1 = $subscriber;
|
|
663
664
|
CoroutineImpl.call(this, resultContinuation);
|
|
664
665
|
}
|
|
665
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
666
|
-
var tmp = this.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).o9g = function (it, $completion) {
|
|
667
|
+
var tmp = this.p9g(it, $completion);
|
|
667
668
|
tmp.t8_1 = Unit_instance;
|
|
668
669
|
tmp.u8_1 = null;
|
|
669
670
|
return tmp.z8();
|
|
670
671
|
};
|
|
671
672
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
672
|
-
return this.
|
|
673
|
+
return this.o9g((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
673
674
|
};
|
|
674
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
675
676
|
var suspendResult = this.t8_1;
|
|
@@ -678,7 +679,7 @@
|
|
|
678
679
|
var tmp = this.r8_1;
|
|
679
680
|
if (tmp === 0) {
|
|
680
681
|
this.s8_1 = 1;
|
|
681
|
-
this.
|
|
682
|
+
this.m9g_1(this.n9g_1);
|
|
682
683
|
return Unit_instance;
|
|
683
684
|
} else if (tmp === 1) {
|
|
684
685
|
throw this.u8_1;
|
|
@@ -689,21 +690,21 @@
|
|
|
689
690
|
}
|
|
690
691
|
while (true);
|
|
691
692
|
};
|
|
692
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
693
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
694
|
-
i.
|
|
693
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).p9g = function (it, completion) {
|
|
694
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.m9g_1, completion);
|
|
695
|
+
i.n9g_1 = it;
|
|
695
696
|
return i;
|
|
696
697
|
};
|
|
697
698
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
698
699
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
699
700
|
var l = function (it, $completion) {
|
|
700
|
-
return i.
|
|
701
|
+
return i.o9g(it, $completion);
|
|
701
702
|
};
|
|
702
703
|
l.$arity = 1;
|
|
703
704
|
return l;
|
|
704
705
|
}
|
|
705
706
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
706
|
-
this.
|
|
707
|
+
this.y9g_1 = $$this$unsafeFlow;
|
|
707
708
|
CoroutineImpl.call(this, resultContinuation);
|
|
708
709
|
}
|
|
709
710
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -723,8 +724,8 @@
|
|
|
723
724
|
switch (tmp) {
|
|
724
725
|
case 0:
|
|
725
726
|
this.s8_1 = 2;
|
|
726
|
-
var tmp0 = this.
|
|
727
|
-
var value = this.
|
|
727
|
+
var tmp0 = this.y9g_1;
|
|
728
|
+
var value = this.z9g_1;
|
|
728
729
|
this.r8_1 = 1;
|
|
729
730
|
suspendResult = tmp0.l28(new ActionsStateUpdate(value), this);
|
|
730
731
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -749,8 +750,8 @@
|
|
|
749
750
|
while (true);
|
|
750
751
|
};
|
|
751
752
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
752
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
753
|
-
i.
|
|
753
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.y9g_1, completion);
|
|
754
|
+
i.z9g_1 = value;
|
|
754
755
|
return i;
|
|
755
756
|
};
|
|
756
757
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -763,8 +764,8 @@
|
|
|
763
764
|
}
|
|
764
765
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
765
766
|
CoroutineImpl.call(this, resultContinuation);
|
|
766
|
-
this.
|
|
767
|
-
this.
|
|
767
|
+
this.i9h_1 = _this__u8e3s4;
|
|
768
|
+
this.j9h_1 = collector;
|
|
768
769
|
}
|
|
769
770
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
770
771
|
var suspendResult = this.t8_1;
|
|
@@ -774,10 +775,10 @@
|
|
|
774
775
|
switch (tmp) {
|
|
775
776
|
case 0:
|
|
776
777
|
this.s8_1 = 2;
|
|
777
|
-
var $this$unsafeFlow = this.
|
|
778
|
+
var $this$unsafeFlow = this.j9h_1;
|
|
778
779
|
this.r8_1 = 1;
|
|
779
780
|
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, null);
|
|
780
|
-
suspendResult = this.
|
|
781
|
+
suspendResult = this.i9h_1.k9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
781
782
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
782
783
|
return suspendResult;
|
|
783
784
|
}
|
|
@@ -800,7 +801,7 @@
|
|
|
800
801
|
while (true);
|
|
801
802
|
};
|
|
802
803
|
function _no_name_provided__qut3iv($this) {
|
|
803
|
-
this.
|
|
804
|
+
this.k9h_1 = $this;
|
|
804
805
|
}
|
|
805
806
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
806
807
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -812,18 +813,18 @@
|
|
|
812
813
|
return this.m28(collector, $completion);
|
|
813
814
|
};
|
|
814
815
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
815
|
-
this.
|
|
816
|
-
this.
|
|
816
|
+
this.t9h_1 = $table;
|
|
817
|
+
this.u9h_1 = this$0;
|
|
817
818
|
CoroutineImpl.call(this, resultContinuation);
|
|
818
819
|
}
|
|
819
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
820
|
-
var tmp = this.
|
|
820
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).w9h = function ($this$flow, $completion) {
|
|
821
|
+
var tmp = this.x9h($this$flow, $completion);
|
|
821
822
|
tmp.t8_1 = Unit_instance;
|
|
822
823
|
tmp.u8_1 = null;
|
|
823
824
|
return tmp.z8();
|
|
824
825
|
};
|
|
825
826
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
826
|
-
return this.
|
|
827
|
+
return this.w9h((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
827
828
|
};
|
|
828
829
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
829
830
|
var suspendResult = this.t8_1;
|
|
@@ -834,7 +835,7 @@
|
|
|
834
835
|
case 0:
|
|
835
836
|
this.s8_1 = 3;
|
|
836
837
|
this.r8_1 = 1;
|
|
837
|
-
suspendResult = this.
|
|
838
|
+
suspendResult = this.v9h_1.l28(new TableStateUpdate(this.t9h_1), this);
|
|
838
839
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
839
840
|
return suspendResult;
|
|
840
841
|
}
|
|
@@ -842,8 +843,8 @@
|
|
|
842
843
|
continue $sm;
|
|
843
844
|
case 1:
|
|
844
845
|
this.r8_1 = 2;
|
|
845
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
846
|
-
suspendResult = emitAll(this.
|
|
846
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.u9h_1).k8j(), fromInt(_get_serverReduxConfig__rprcrm(this.u9h_1).serverStateUpdateIntervalMillis));
|
|
847
|
+
suspendResult = emitAll(this.v9h_1, new _no_name_provided__qut3iv(this_0), this);
|
|
847
848
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
848
849
|
return suspendResult;
|
|
849
850
|
}
|
|
@@ -865,21 +866,21 @@
|
|
|
865
866
|
}
|
|
866
867
|
while (true);
|
|
867
868
|
};
|
|
868
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
869
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
870
|
-
i.
|
|
869
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).x9h = function ($this$flow, completion) {
|
|
870
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.t9h_1, this.u9h_1, completion);
|
|
871
|
+
i.v9h_1 = $this$flow;
|
|
871
872
|
return i;
|
|
872
873
|
};
|
|
873
874
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
874
875
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
875
876
|
var l = function ($this$flow, $completion) {
|
|
876
|
-
return i.
|
|
877
|
+
return i.w9h($this$flow, $completion);
|
|
877
878
|
};
|
|
878
879
|
l.$arity = 1;
|
|
879
880
|
return l;
|
|
880
881
|
}
|
|
881
882
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
882
|
-
this.
|
|
883
|
+
this.g9i_1 = $$this$unsafeFlow;
|
|
883
884
|
CoroutineImpl.call(this, resultContinuation);
|
|
884
885
|
}
|
|
885
886
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -900,28 +901,28 @@
|
|
|
900
901
|
case 0:
|
|
901
902
|
this.s8_1 = 5;
|
|
902
903
|
var tmp_0 = this;
|
|
903
|
-
tmp_0.
|
|
904
|
+
tmp_0.l9i_1 = this.g9i_1;
|
|
904
905
|
var tmp_1 = this;
|
|
905
|
-
tmp_1.
|
|
906
|
+
tmp_1.k9i_1 = this.h9i_1;
|
|
906
907
|
this.r8_1 = 1;
|
|
907
908
|
continue $sm;
|
|
908
909
|
case 1:
|
|
909
|
-
this.
|
|
910
|
-
var tmp0_elvis_lhs = this.
|
|
910
|
+
this.i9i_1 = this.l9i_1;
|
|
911
|
+
var tmp0_elvis_lhs = this.k9i_1.l6m_1;
|
|
911
912
|
if (tmp0_elvis_lhs == null) {
|
|
912
913
|
this.r8_1 = 4;
|
|
913
914
|
var tmp_2 = this;
|
|
914
915
|
continue $sm;
|
|
915
916
|
} else {
|
|
916
|
-
this.
|
|
917
|
+
this.j9i_1 = tmp0_elvis_lhs;
|
|
917
918
|
this.r8_1 = 2;
|
|
918
919
|
continue $sm;
|
|
919
920
|
}
|
|
920
921
|
|
|
921
922
|
case 2:
|
|
922
|
-
var transformed = this.
|
|
923
|
+
var transformed = this.j9i_1;
|
|
923
924
|
this.r8_1 = 3;
|
|
924
|
-
suspendResult = this.
|
|
925
|
+
suspendResult = this.i9i_1.l28(transformed, this);
|
|
925
926
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
926
927
|
return suspendResult;
|
|
927
928
|
}
|
|
@@ -952,8 +953,8 @@
|
|
|
952
953
|
while (true);
|
|
953
954
|
};
|
|
954
955
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
955
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
956
|
-
i.
|
|
956
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.g9i_1, completion);
|
|
957
|
+
i.h9i_1 = value;
|
|
957
958
|
return i;
|
|
958
959
|
};
|
|
959
960
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -966,8 +967,8 @@
|
|
|
966
967
|
}
|
|
967
968
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
968
969
|
CoroutineImpl.call(this, resultContinuation);
|
|
969
|
-
this.
|
|
970
|
-
this.
|
|
970
|
+
this.u9i_1 = _this__u8e3s4;
|
|
971
|
+
this.v9i_1 = collector;
|
|
971
972
|
}
|
|
972
973
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
973
974
|
var suspendResult = this.t8_1;
|
|
@@ -977,10 +978,10 @@
|
|
|
977
978
|
switch (tmp) {
|
|
978
979
|
case 0:
|
|
979
980
|
this.s8_1 = 2;
|
|
980
|
-
var $this$unsafeFlow = this.
|
|
981
|
+
var $this$unsafeFlow = this.v9i_1;
|
|
981
982
|
this.r8_1 = 1;
|
|
982
983
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
983
|
-
suspendResult = this.
|
|
984
|
+
suspendResult = this.u9i_1.w9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
984
985
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
985
986
|
return suspendResult;
|
|
986
987
|
}
|
|
@@ -1003,7 +1004,7 @@
|
|
|
1003
1004
|
while (true);
|
|
1004
1005
|
};
|
|
1005
1006
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1006
|
-
this.
|
|
1007
|
+
this.f9j_1 = $$this$unsafeFlow;
|
|
1007
1008
|
CoroutineImpl.call(this, resultContinuation);
|
|
1008
1009
|
}
|
|
1009
1010
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1023,8 +1024,8 @@
|
|
|
1023
1024
|
switch (tmp) {
|
|
1024
1025
|
case 0:
|
|
1025
1026
|
this.s8_1 = 2;
|
|
1026
|
-
var tmp0 = this.
|
|
1027
|
-
var value = this.
|
|
1027
|
+
var tmp0 = this.f9j_1;
|
|
1028
|
+
var value = this.g9j_1;
|
|
1028
1029
|
this.r8_1 = 1;
|
|
1029
1030
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1030
1031
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1049,8 +1050,8 @@
|
|
|
1049
1050
|
while (true);
|
|
1050
1051
|
};
|
|
1051
1052
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1052
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1053
|
-
i.
|
|
1053
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.f9j_1, completion);
|
|
1054
|
+
i.g9j_1 = value;
|
|
1054
1055
|
return i;
|
|
1055
1056
|
};
|
|
1056
1057
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1063,8 +1064,8 @@
|
|
|
1063
1064
|
}
|
|
1064
1065
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1065
1066
|
CoroutineImpl.call(this, resultContinuation);
|
|
1066
|
-
this.
|
|
1067
|
-
this.
|
|
1067
|
+
this.p9j_1 = _this__u8e3s4;
|
|
1068
|
+
this.q9j_1 = collector;
|
|
1068
1069
|
}
|
|
1069
1070
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1070
1071
|
var suspendResult = this.t8_1;
|
|
@@ -1074,10 +1075,10 @@
|
|
|
1074
1075
|
switch (tmp) {
|
|
1075
1076
|
case 0:
|
|
1076
1077
|
this.s8_1 = 2;
|
|
1077
|
-
var $this$unsafeFlow = this.
|
|
1078
|
+
var $this$unsafeFlow = this.q9j_1;
|
|
1078
1079
|
this.r8_1 = 1;
|
|
1079
1080
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1080
|
-
suspendResult = this.
|
|
1081
|
+
suspendResult = this.p9j_1.r9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1081
1082
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1082
1083
|
return suspendResult;
|
|
1083
1084
|
}
|
|
@@ -1100,7 +1101,7 @@
|
|
|
1100
1101
|
while (true);
|
|
1101
1102
|
};
|
|
1102
1103
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1103
|
-
this.
|
|
1104
|
+
this.a9k_1 = $$this$unsafeFlow;
|
|
1104
1105
|
CoroutineImpl.call(this, resultContinuation);
|
|
1105
1106
|
}
|
|
1106
1107
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1120,8 +1121,8 @@
|
|
|
1120
1121
|
switch (tmp) {
|
|
1121
1122
|
case 0:
|
|
1122
1123
|
this.s8_1 = 2;
|
|
1123
|
-
var tmp0 = this.
|
|
1124
|
-
var value = this.
|
|
1124
|
+
var tmp0 = this.a9k_1;
|
|
1125
|
+
var value = this.b9k_1;
|
|
1125
1126
|
this.r8_1 = 1;
|
|
1126
1127
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1127
1128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1146,8 +1147,8 @@
|
|
|
1146
1147
|
while (true);
|
|
1147
1148
|
};
|
|
1148
1149
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1149
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1150
|
-
i.
|
|
1150
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.a9k_1, completion);
|
|
1151
|
+
i.b9k_1 = value;
|
|
1151
1152
|
return i;
|
|
1152
1153
|
};
|
|
1153
1154
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1160,8 +1161,8 @@
|
|
|
1160
1161
|
}
|
|
1161
1162
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1162
1163
|
CoroutineImpl.call(this, resultContinuation);
|
|
1163
|
-
this.
|
|
1164
|
-
this.
|
|
1164
|
+
this.k9k_1 = _this__u8e3s4;
|
|
1165
|
+
this.l9k_1 = collector;
|
|
1165
1166
|
}
|
|
1166
1167
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1167
1168
|
var suspendResult = this.t8_1;
|
|
@@ -1171,10 +1172,10 @@
|
|
|
1171
1172
|
switch (tmp) {
|
|
1172
1173
|
case 0:
|
|
1173
1174
|
this.s8_1 = 2;
|
|
1174
|
-
var $this$unsafeFlow = this.
|
|
1175
|
+
var $this$unsafeFlow = this.l9k_1;
|
|
1175
1176
|
this.r8_1 = 1;
|
|
1176
1177
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1177
|
-
suspendResult = this.
|
|
1178
|
+
suspendResult = this.k9k_1.m9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1178
1179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1179
1180
|
return suspendResult;
|
|
1180
1181
|
}
|
|
@@ -1197,17 +1198,17 @@
|
|
|
1197
1198
|
while (true);
|
|
1198
1199
|
};
|
|
1199
1200
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1200
|
-
this.
|
|
1201
|
+
this.v9k_1 = $subscriber;
|
|
1201
1202
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
1203
|
}
|
|
1203
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1204
|
-
var tmp = this.
|
|
1204
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).x9k = function (it, $completion) {
|
|
1205
|
+
var tmp = this.y9k(it, $completion);
|
|
1205
1206
|
tmp.t8_1 = Unit_instance;
|
|
1206
1207
|
tmp.u8_1 = null;
|
|
1207
1208
|
return tmp.z8();
|
|
1208
1209
|
};
|
|
1209
1210
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1210
|
-
return this.
|
|
1211
|
+
return this.x9k(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1211
1212
|
};
|
|
1212
1213
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1213
1214
|
var suspendResult = this.t8_1;
|
|
@@ -1216,7 +1217,7 @@
|
|
|
1216
1217
|
var tmp = this.r8_1;
|
|
1217
1218
|
if (tmp === 0) {
|
|
1218
1219
|
this.s8_1 = 1;
|
|
1219
|
-
this.
|
|
1220
|
+
this.v9k_1(this.w9k_1);
|
|
1220
1221
|
return Unit_instance;
|
|
1221
1222
|
} else if (tmp === 1) {
|
|
1222
1223
|
throw this.u8_1;
|
|
@@ -1227,83 +1228,83 @@
|
|
|
1227
1228
|
}
|
|
1228
1229
|
while (true);
|
|
1229
1230
|
};
|
|
1230
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1231
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1232
|
-
i.
|
|
1231
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).y9k = function (it, completion) {
|
|
1232
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.v9k_1, completion);
|
|
1233
|
+
i.w9k_1 = it;
|
|
1233
1234
|
return i;
|
|
1234
1235
|
};
|
|
1235
1236
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1236
1237
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1237
1238
|
var l = function (it, $completion) {
|
|
1238
|
-
return i.
|
|
1239
|
+
return i.x9k(it, $completion);
|
|
1239
1240
|
};
|
|
1240
1241
|
l.$arity = 1;
|
|
1241
1242
|
return l;
|
|
1242
1243
|
}
|
|
1243
1244
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1244
|
-
this.
|
|
1245
|
+
this.z9k_1 = $playerId;
|
|
1245
1246
|
}
|
|
1246
1247
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1247
|
-
return this.
|
|
1248
|
+
return this.z9k_1;
|
|
1248
1249
|
};
|
|
1249
1250
|
function _get_logger__rkp4sl($this) {
|
|
1250
|
-
var tmp0 = $this.
|
|
1251
|
+
var tmp0 = $this.c9l_1;
|
|
1251
1252
|
var tmp = KProperty1;
|
|
1252
1253
|
// Inline function 'kotlin.getValue' call
|
|
1253
1254
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1254
1255
|
return tmp0.w();
|
|
1255
1256
|
}
|
|
1256
1257
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1257
|
-
var tmp0 = $this.
|
|
1258
|
+
var tmp0 = $this.d9l_1;
|
|
1258
1259
|
var tmp = KProperty1;
|
|
1259
1260
|
// Inline function 'kotlin.getValue' call
|
|
1260
1261
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1261
1262
|
return tmp0.w();
|
|
1262
1263
|
}
|
|
1263
1264
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1264
|
-
var tmp0 = $this.
|
|
1265
|
+
var tmp0 = $this.e9l_1;
|
|
1265
1266
|
var tmp = KProperty1;
|
|
1266
1267
|
// Inline function 'kotlin.getValue' call
|
|
1267
1268
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1268
1269
|
return tmp0.w();
|
|
1269
1270
|
}
|
|
1270
1271
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1271
|
-
var tmp0 = $this.
|
|
1272
|
+
var tmp0 = $this.f9l_1;
|
|
1272
1273
|
var tmp = KProperty1;
|
|
1273
1274
|
// Inline function 'kotlin.getValue' call
|
|
1274
1275
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1275
1276
|
return tmp0.w();
|
|
1276
1277
|
}
|
|
1277
1278
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1278
|
-
var tmp0 = $this.
|
|
1279
|
+
var tmp0 = $this.g9l_1;
|
|
1279
1280
|
var tmp = KProperty1;
|
|
1280
1281
|
// Inline function 'kotlin.getValue' call
|
|
1281
1282
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1282
1283
|
return tmp0.w();
|
|
1283
1284
|
}
|
|
1284
1285
|
function _get_random__h29cgo($this) {
|
|
1285
|
-
var tmp0 = $this.
|
|
1286
|
+
var tmp0 = $this.h9l_1;
|
|
1286
1287
|
var tmp = KProperty1;
|
|
1287
1288
|
// Inline function 'kotlin.getValue' call
|
|
1288
1289
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1289
1290
|
return tmp0.w();
|
|
1290
1291
|
}
|
|
1291
1292
|
function _get_idsProvider__fnfajc($this) {
|
|
1292
|
-
var tmp0 = $this.
|
|
1293
|
+
var tmp0 = $this.i9l_1;
|
|
1293
1294
|
var tmp = KProperty1;
|
|
1294
1295
|
// Inline function 'kotlin.getValue' call
|
|
1295
1296
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1296
1297
|
return tmp0.w();
|
|
1297
1298
|
}
|
|
1298
1299
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1299
|
-
var tmp0 = $this.
|
|
1300
|
+
var tmp0 = $this.j9l_1;
|
|
1300
1301
|
var tmp = KProperty1;
|
|
1301
1302
|
// Inline function 'kotlin.getValue' call
|
|
1302
1303
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1303
1304
|
return tmp0.w();
|
|
1304
1305
|
}
|
|
1305
1306
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1306
|
-
var tmp0 = $this.
|
|
1307
|
+
var tmp0 = $this.k9l_1;
|
|
1307
1308
|
var tmp = KProperty1;
|
|
1308
1309
|
// Inline function 'kotlin.getValue' call
|
|
1309
1310
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1311,7 +1312,7 @@
|
|
|
1311
1312
|
}
|
|
1312
1313
|
function observeTableStateUpdates($this) {
|
|
1313
1314
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1314
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1315
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.k6m());
|
|
1315
1316
|
return transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1316
1317
|
}
|
|
1317
1318
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
@@ -1330,20 +1331,20 @@
|
|
|
1330
1331
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1331
1332
|
}
|
|
1332
1333
|
function Companion() {
|
|
1333
|
-
this.
|
|
1334
|
+
this.m9l_1 = 'GameEngine_API';
|
|
1334
1335
|
}
|
|
1335
1336
|
var Companion_instance_7;
|
|
1336
1337
|
function Companion_getInstance_0() {
|
|
1337
1338
|
return Companion_instance_7;
|
|
1338
1339
|
}
|
|
1339
1340
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1340
|
-
this.
|
|
1341
|
+
this.n9l_1 = function_0;
|
|
1341
1342
|
}
|
|
1342
1343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1343
|
-
return this.
|
|
1344
|
+
return this.n9l_1(value, $completion);
|
|
1344
1345
|
};
|
|
1345
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1346
|
-
return this.
|
|
1347
|
+
return this.n9l_1;
|
|
1347
1348
|
};
|
|
1348
1349
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1349
1350
|
var tmp;
|
|
@@ -1364,13 +1365,13 @@
|
|
|
1364
1365
|
return hashCode(this.a3());
|
|
1365
1366
|
};
|
|
1366
1367
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1367
|
-
this.
|
|
1368
|
+
this.o9l_1 = function_0;
|
|
1368
1369
|
}
|
|
1369
1370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1370
|
-
return this.
|
|
1371
|
+
return this.o9l_1(value, $completion);
|
|
1371
1372
|
};
|
|
1372
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1373
|
-
return this.
|
|
1374
|
+
return this.o9l_1;
|
|
1374
1375
|
};
|
|
1375
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1376
1377
|
var tmp;
|
|
@@ -1391,13 +1392,13 @@
|
|
|
1391
1392
|
return hashCode(this.a3());
|
|
1392
1393
|
};
|
|
1393
1394
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1394
|
-
this.
|
|
1395
|
+
this.p9l_1 = function_0;
|
|
1395
1396
|
}
|
|
1396
1397
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1397
|
-
return this.
|
|
1398
|
+
return this.p9l_1(value, $completion);
|
|
1398
1399
|
};
|
|
1399
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1400
|
-
return this.
|
|
1401
|
+
return this.p9l_1;
|
|
1401
1402
|
};
|
|
1402
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1403
1404
|
var tmp;
|
|
@@ -1418,13 +1419,13 @@
|
|
|
1418
1419
|
return hashCode(this.a3());
|
|
1419
1420
|
};
|
|
1420
1421
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1421
|
-
this.
|
|
1422
|
+
this.q9l_1 = function_0;
|
|
1422
1423
|
}
|
|
1423
1424
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1424
|
-
return this.
|
|
1425
|
+
return this.q9l_1(value, $completion);
|
|
1425
1426
|
};
|
|
1426
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1427
|
-
return this.
|
|
1428
|
+
return this.q9l_1;
|
|
1428
1429
|
};
|
|
1429
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1430
1431
|
var tmp;
|
|
@@ -1445,13 +1446,13 @@
|
|
|
1445
1446
|
return hashCode(this.a3());
|
|
1446
1447
|
};
|
|
1447
1448
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1448
|
-
this.
|
|
1449
|
+
this.r9l_1 = function_0;
|
|
1449
1450
|
}
|
|
1450
1451
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1451
|
-
return this.
|
|
1452
|
+
return this.r9l_1(value, $completion);
|
|
1452
1453
|
};
|
|
1453
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1454
|
-
return this.
|
|
1455
|
+
return this.r9l_1;
|
|
1455
1456
|
};
|
|
1456
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1457
1458
|
var tmp;
|
|
@@ -1472,13 +1473,13 @@
|
|
|
1472
1473
|
return hashCode(this.a3());
|
|
1473
1474
|
};
|
|
1474
1475
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1475
|
-
this.
|
|
1476
|
+
this.s9l_1 = function_0;
|
|
1476
1477
|
}
|
|
1477
1478
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1478
|
-
return this.
|
|
1479
|
+
return this.s9l_1(value, $completion);
|
|
1479
1480
|
};
|
|
1480
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1481
|
-
return this.
|
|
1482
|
+
return this.s9l_1;
|
|
1482
1483
|
};
|
|
1483
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1484
1485
|
var tmp;
|
|
@@ -1589,8 +1590,8 @@
|
|
|
1589
1590
|
};
|
|
1590
1591
|
}
|
|
1591
1592
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1592
|
-
this.
|
|
1593
|
-
this.
|
|
1593
|
+
this.b9m_1 = this$0;
|
|
1594
|
+
this.c9m_1 = $subscriber;
|
|
1594
1595
|
CoroutineImpl.call(this, resultContinuation);
|
|
1595
1596
|
}
|
|
1596
1597
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1611,8 +1612,8 @@
|
|
|
1611
1612
|
case 0:
|
|
1612
1613
|
this.s8_1 = 2;
|
|
1613
1614
|
this.r8_1 = 1;
|
|
1614
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1615
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1615
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.b9m_1).e9m();
|
|
1616
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.c9m_1, null);
|
|
1616
1617
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1617
1618
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1618
1619
|
return suspendResult;
|
|
@@ -1636,8 +1637,8 @@
|
|
|
1636
1637
|
while (true);
|
|
1637
1638
|
};
|
|
1638
1639
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1639
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1640
|
-
i.
|
|
1640
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.b9m_1, this.c9m_1, completion);
|
|
1641
|
+
i.d9m_1 = $this$launchDefault;
|
|
1641
1642
|
return i;
|
|
1642
1643
|
};
|
|
1643
1644
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1649,8 +1650,8 @@
|
|
|
1649
1650
|
return l;
|
|
1650
1651
|
}
|
|
1651
1652
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1652
|
-
this.
|
|
1653
|
-
this.
|
|
1653
|
+
this.n9m_1 = this$0;
|
|
1654
|
+
this.o9m_1 = $subscriber;
|
|
1654
1655
|
CoroutineImpl.call(this, resultContinuation);
|
|
1655
1656
|
}
|
|
1656
1657
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1671,8 +1672,8 @@
|
|
|
1671
1672
|
case 0:
|
|
1672
1673
|
this.s8_1 = 2;
|
|
1673
1674
|
this.r8_1 = 1;
|
|
1674
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1675
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1675
|
+
var tmp_0 = observeTableStateUpdates(this.n9m_1);
|
|
1676
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.o9m_1, null);
|
|
1676
1677
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1677
1678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1678
1679
|
return suspendResult;
|
|
@@ -1696,8 +1697,8 @@
|
|
|
1696
1697
|
while (true);
|
|
1697
1698
|
};
|
|
1698
1699
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1699
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1700
|
-
i.
|
|
1700
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.n9m_1, this.o9m_1, completion);
|
|
1701
|
+
i.p9m_1 = $this$launchDefault;
|
|
1701
1702
|
return i;
|
|
1702
1703
|
};
|
|
1703
1704
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1709,8 +1710,8 @@
|
|
|
1709
1710
|
return l;
|
|
1710
1711
|
}
|
|
1711
1712
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1712
|
-
this.
|
|
1713
|
-
this.
|
|
1713
|
+
this.y9m_1 = this$0;
|
|
1714
|
+
this.z9m_1 = $subscriber;
|
|
1714
1715
|
CoroutineImpl.call(this, resultContinuation);
|
|
1715
1716
|
}
|
|
1716
1717
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1731,9 +1732,9 @@
|
|
|
1731
1732
|
case 0:
|
|
1732
1733
|
this.s8_1 = 2;
|
|
1733
1734
|
this.r8_1 = 1;
|
|
1734
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1735
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1736
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1735
|
+
var this_0 = observeTableStateUpdates(this.y9m_1);
|
|
1736
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.y9m_1);
|
|
1737
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.z9m_1, null);
|
|
1737
1738
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1738
1739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1739
1740
|
return suspendResult;
|
|
@@ -1757,8 +1758,8 @@
|
|
|
1757
1758
|
while (true);
|
|
1758
1759
|
};
|
|
1759
1760
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1760
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1761
|
-
i.
|
|
1761
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.y9m_1, this.z9m_1, completion);
|
|
1762
|
+
i.a9n_1 = $this$launchDefault;
|
|
1762
1763
|
return i;
|
|
1763
1764
|
};
|
|
1764
1765
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1770,18 +1771,18 @@
|
|
|
1770
1771
|
return l;
|
|
1771
1772
|
}
|
|
1772
1773
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1773
|
-
this.
|
|
1774
|
+
this.j9n_1 = this$0;
|
|
1774
1775
|
CoroutineImpl.call(this, resultContinuation);
|
|
1775
1776
|
}
|
|
1776
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1777
|
-
var tmp = this.
|
|
1777
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).m9n = function ($this$transformLatest, it, $completion) {
|
|
1778
|
+
var tmp = this.n9n($this$transformLatest, it, $completion);
|
|
1778
1779
|
tmp.t8_1 = Unit_instance;
|
|
1779
1780
|
tmp.u8_1 = null;
|
|
1780
1781
|
return tmp.z8();
|
|
1781
1782
|
};
|
|
1782
1783
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1783
1784
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1784
|
-
return this.
|
|
1785
|
+
return this.m9n(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1785
1786
|
};
|
|
1786
1787
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1787
1788
|
var suspendResult = this.t8_1;
|
|
@@ -1792,8 +1793,8 @@
|
|
|
1792
1793
|
case 0:
|
|
1793
1794
|
this.s8_1 = 2;
|
|
1794
1795
|
this.r8_1 = 1;
|
|
1795
|
-
var table = this.
|
|
1796
|
-
suspendResult = emitAll(this.
|
|
1796
|
+
var table = this.l9n_1;
|
|
1797
|
+
suspendResult = emitAll(this.k9n_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.j9n_1, null)), this);
|
|
1797
1798
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1798
1799
|
return suspendResult;
|
|
1799
1800
|
}
|
|
@@ -1815,22 +1816,22 @@
|
|
|
1815
1816
|
}
|
|
1816
1817
|
while (true);
|
|
1817
1818
|
};
|
|
1818
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1819
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1820
|
-
i.
|
|
1821
|
-
i.
|
|
1819
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).n9n = function ($this$transformLatest, it, completion) {
|
|
1820
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.j9n_1, completion);
|
|
1821
|
+
i.k9n_1 = $this$transformLatest;
|
|
1822
|
+
i.l9n_1 = it;
|
|
1822
1823
|
return i;
|
|
1823
1824
|
};
|
|
1824
1825
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1825
1826
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1826
1827
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1827
|
-
return i.
|
|
1828
|
+
return i.m9n($this$transformLatest, it, $completion);
|
|
1828
1829
|
};
|
|
1829
1830
|
l.$arity = 2;
|
|
1830
1831
|
return l;
|
|
1831
1832
|
}
|
|
1832
1833
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1833
|
-
this.
|
|
1834
|
+
this.w9i_1 = $this;
|
|
1834
1835
|
}
|
|
1835
1836
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1836
1837
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1842,7 +1843,7 @@
|
|
|
1842
1843
|
return this.m28(collector, $completion);
|
|
1843
1844
|
};
|
|
1844
1845
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1845
|
-
this.
|
|
1846
|
+
this.r9j_1 = $this;
|
|
1846
1847
|
}
|
|
1847
1848
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1848
1849
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1857,7 +1858,7 @@
|
|
|
1857
1858
|
return old.le_1 === new_0.le_1;
|
|
1858
1859
|
}
|
|
1859
1860
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1860
|
-
this.
|
|
1861
|
+
this.m9k_1 = $this;
|
|
1861
1862
|
}
|
|
1862
1863
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1863
1864
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1869,8 +1870,8 @@
|
|
|
1869
1870
|
return this.m28(collector, $completion);
|
|
1870
1871
|
};
|
|
1871
1872
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1872
|
-
this.
|
|
1873
|
-
this.
|
|
1873
|
+
this.w9n_1 = this$0;
|
|
1874
|
+
this.x9n_1 = $subscriber;
|
|
1874
1875
|
CoroutineImpl.call(this, resultContinuation);
|
|
1875
1876
|
}
|
|
1876
1877
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1891,8 +1892,8 @@
|
|
|
1891
1892
|
case 0:
|
|
1892
1893
|
this.s8_1 = 2;
|
|
1893
1894
|
this.r8_1 = 1;
|
|
1894
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1895
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1895
|
+
var tmp_0 = distinctUntilChanged_0(this.w9n_1.k6m());
|
|
1896
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.x9n_1, null);
|
|
1896
1897
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1897
1898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1898
1899
|
return suspendResult;
|
|
@@ -1916,8 +1917,8 @@
|
|
|
1916
1917
|
while (true);
|
|
1917
1918
|
};
|
|
1918
1919
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1919
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1920
|
-
i.
|
|
1920
|
+
var i = new GameServer$subscribeWith$slambda(this.w9n_1, this.x9n_1, completion);
|
|
1921
|
+
i.y9n_1 = $this$launchDefault;
|
|
1921
1922
|
return i;
|
|
1922
1923
|
};
|
|
1923
1924
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1929,18 +1930,18 @@
|
|
|
1929
1930
|
return l;
|
|
1930
1931
|
}
|
|
1931
1932
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1932
|
-
this.
|
|
1933
|
+
this.h9o_1 = $action;
|
|
1933
1934
|
CoroutineImpl.call(this, resultContinuation);
|
|
1934
1935
|
}
|
|
1935
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1936
|
-
var tmp = this.
|
|
1936
|
+
protoOf(GameServer$fromClientEvent$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
1937
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
1937
1938
|
tmp.t8_1 = Unit_instance;
|
|
1938
1939
|
tmp.u8_1 = null;
|
|
1939
1940
|
return tmp.z8();
|
|
1940
1941
|
};
|
|
1941
1942
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1942
1943
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1943
|
-
return this.
|
|
1944
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1944
1945
|
};
|
|
1945
1946
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1946
1947
|
var suspendResult = this.t8_1;
|
|
@@ -1949,11 +1950,11 @@
|
|
|
1949
1950
|
var tmp = this.r8_1;
|
|
1950
1951
|
if (tmp === 0) {
|
|
1951
1952
|
this.s8_1 = 1;
|
|
1952
|
-
if (this.
|
|
1953
|
-
if (!get_isCreated(this.
|
|
1953
|
+
if (this.h9o_1 instanceof PlayerReadyFromClientAction)
|
|
1954
|
+
if (!get_isCreated(this.j9o_1.state)) {
|
|
1954
1955
|
return Unit_instance;
|
|
1955
1956
|
}
|
|
1956
|
-
this.
|
|
1957
|
+
this.j9o_1.dispatch(this.h9o_1);
|
|
1957
1958
|
return Unit_instance;
|
|
1958
1959
|
} else if (tmp === 1) {
|
|
1959
1960
|
throw this.u8_1;
|
|
@@ -1964,33 +1965,33 @@
|
|
|
1964
1965
|
}
|
|
1965
1966
|
while (true);
|
|
1966
1967
|
};
|
|
1967
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1968
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1969
|
-
i.
|
|
1970
|
-
i.
|
|
1968
|
+
protoOf(GameServer$fromClientEvent$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
1969
|
+
var i = new GameServer$fromClientEvent$slambda(this.h9o_1, completion);
|
|
1970
|
+
i.i9o_1 = $this$dispatchAsync;
|
|
1971
|
+
i.j9o_1 = store;
|
|
1971
1972
|
return i;
|
|
1972
1973
|
};
|
|
1973
1974
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1974
1975
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1975
1976
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1976
|
-
return i.
|
|
1977
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
1977
1978
|
};
|
|
1978
1979
|
l.$arity = 2;
|
|
1979
1980
|
return l;
|
|
1980
1981
|
}
|
|
1981
1982
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1982
|
-
this.
|
|
1983
|
+
this.u9o_1 = $playerId;
|
|
1983
1984
|
CoroutineImpl.call(this, resultContinuation);
|
|
1984
1985
|
}
|
|
1985
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1986
|
-
var tmp = this.
|
|
1986
|
+
protoOf(GameServer$playerLostConnection$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
1987
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
1987
1988
|
tmp.t8_1 = Unit_instance;
|
|
1988
1989
|
tmp.u8_1 = null;
|
|
1989
1990
|
return tmp.z8();
|
|
1990
1991
|
};
|
|
1991
1992
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1992
1993
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1993
|
-
return this.
|
|
1994
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1994
1995
|
};
|
|
1995
1996
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1996
1997
|
var suspendResult = this.t8_1;
|
|
@@ -1999,12 +2000,12 @@
|
|
|
1999
2000
|
var tmp = this.r8_1;
|
|
2000
2001
|
if (tmp === 0) {
|
|
2001
2002
|
this.s8_1 = 1;
|
|
2002
|
-
if (!get_isCreated(this.
|
|
2003
|
+
if (!get_isCreated(this.w9o_1.state)) {
|
|
2003
2004
|
return Unit_instance;
|
|
2004
2005
|
}
|
|
2005
|
-
var tmp_0 = this.
|
|
2006
|
+
var tmp_0 = this.w9o_1.dispatch;
|
|
2006
2007
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2007
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2008
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.u9o_1));
|
|
2008
2009
|
return Unit_instance;
|
|
2009
2010
|
} else if (tmp === 1) {
|
|
2010
2011
|
throw this.u8_1;
|
|
@@ -2015,34 +2016,34 @@
|
|
|
2015
2016
|
}
|
|
2016
2017
|
while (true);
|
|
2017
2018
|
};
|
|
2018
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2019
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2020
|
-
i.
|
|
2021
|
-
i.
|
|
2019
|
+
protoOf(GameServer$playerLostConnection$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2020
|
+
var i = new GameServer$playerLostConnection$slambda(this.u9o_1, completion);
|
|
2021
|
+
i.v9o_1 = $this$dispatchAsync;
|
|
2022
|
+
i.w9o_1 = store;
|
|
2022
2023
|
return i;
|
|
2023
2024
|
};
|
|
2024
2025
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2025
2026
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2026
2027
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2027
|
-
return i.
|
|
2028
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2028
2029
|
};
|
|
2029
2030
|
l.$arity = 2;
|
|
2030
2031
|
return l;
|
|
2031
2032
|
}
|
|
2032
2033
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2033
|
-
this.
|
|
2034
|
-
this.
|
|
2034
|
+
this.f9p_1 = this$0;
|
|
2035
|
+
this.g9p_1 = $playerId;
|
|
2035
2036
|
CoroutineImpl.call(this, resultContinuation);
|
|
2036
2037
|
}
|
|
2037
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2038
|
-
var tmp = this.
|
|
2038
|
+
protoOf(GameServer$playerLive$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2039
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2039
2040
|
tmp.t8_1 = Unit_instance;
|
|
2040
2041
|
tmp.u8_1 = null;
|
|
2041
2042
|
return tmp.z8();
|
|
2042
2043
|
};
|
|
2043
2044
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2044
2045
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2045
|
-
return this.
|
|
2046
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2046
2047
|
};
|
|
2047
2048
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2048
2049
|
var suspendResult = this.t8_1;
|
|
@@ -2051,16 +2052,16 @@
|
|
|
2051
2052
|
var tmp = this.r8_1;
|
|
2052
2053
|
if (tmp === 0) {
|
|
2053
2054
|
this.s8_1 = 1;
|
|
2054
|
-
if (get_isFinished(this.
|
|
2055
|
+
if (get_isFinished(this.i9p_1.state) || get_isFinishing(this.i9p_1.state)) {
|
|
2055
2056
|
return Unit_instance;
|
|
2056
2057
|
}
|
|
2057
|
-
if (!get_isCreated(this.
|
|
2058
|
-
_get_logger__rkp4sl(this.
|
|
2058
|
+
if (!get_isCreated(this.i9p_1.state) || !this.f9p_1.s66().o6n()) {
|
|
2059
|
+
_get_logger__rkp4sl(this.f9p_1).w('GameEngine_API', 'playerLive: ' + this.g9p_1 + ' before game is created');
|
|
2059
2060
|
return Unit_instance;
|
|
2060
2061
|
}
|
|
2061
|
-
var tmp_0 = this.
|
|
2062
|
+
var tmp_0 = this.i9p_1.dispatch;
|
|
2062
2063
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2063
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2064
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.g9p_1));
|
|
2064
2065
|
return Unit_instance;
|
|
2065
2066
|
} else if (tmp === 1) {
|
|
2066
2067
|
throw this.u8_1;
|
|
@@ -2071,34 +2072,34 @@
|
|
|
2071
2072
|
}
|
|
2072
2073
|
while (true);
|
|
2073
2074
|
};
|
|
2074
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2075
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2076
|
-
i.
|
|
2077
|
-
i.
|
|
2075
|
+
protoOf(GameServer$playerLive$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2076
|
+
var i = new GameServer$playerLive$slambda(this.f9p_1, this.g9p_1, completion);
|
|
2077
|
+
i.h9p_1 = $this$dispatchAsync;
|
|
2078
|
+
i.i9p_1 = store;
|
|
2078
2079
|
return i;
|
|
2079
2080
|
};
|
|
2080
2081
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2081
2082
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2082
2083
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2083
|
-
return i.
|
|
2084
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2084
2085
|
};
|
|
2085
2086
|
l.$arity = 2;
|
|
2086
2087
|
return l;
|
|
2087
2088
|
}
|
|
2088
2089
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2089
|
-
this.
|
|
2090
|
-
this.
|
|
2090
|
+
this.r9p_1 = this$0;
|
|
2091
|
+
this.s9p_1 = $playerId;
|
|
2091
2092
|
CoroutineImpl.call(this, resultContinuation);
|
|
2092
2093
|
}
|
|
2093
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2094
|
-
var tmp = this.
|
|
2094
|
+
protoOf(GameServer$playerLeft$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2095
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2095
2096
|
tmp.t8_1 = Unit_instance;
|
|
2096
2097
|
tmp.u8_1 = null;
|
|
2097
2098
|
return tmp.z8();
|
|
2098
2099
|
};
|
|
2099
2100
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2100
2101
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2101
|
-
return this.
|
|
2102
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2102
2103
|
};
|
|
2103
2104
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2104
2105
|
var suspendResult = this.t8_1;
|
|
@@ -2107,16 +2108,16 @@
|
|
|
2107
2108
|
var tmp = this.r8_1;
|
|
2108
2109
|
if (tmp === 0) {
|
|
2109
2110
|
this.s8_1 = 1;
|
|
2110
|
-
if (get_isFinished(this.
|
|
2111
|
+
if (get_isFinished(this.u9p_1.state) || get_isFinishing(this.u9p_1.state)) {
|
|
2111
2112
|
return Unit_instance;
|
|
2112
2113
|
}
|
|
2113
|
-
if (!get_isCreated(this.
|
|
2114
|
-
_get_logger__rkp4sl(this.
|
|
2114
|
+
if (!get_isCreated(this.u9p_1.state) || !this.r9p_1.s66().o6n()) {
|
|
2115
|
+
_get_logger__rkp4sl(this.r9p_1).w('GameEngine_API', 'playerLeft: ' + this.s9p_1 + ' before game is created');
|
|
2115
2116
|
return Unit_instance;
|
|
2116
2117
|
}
|
|
2117
|
-
var tmp_0 = this.
|
|
2118
|
+
var tmp_0 = this.u9p_1.dispatch;
|
|
2118
2119
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2119
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2120
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.s9p_1));
|
|
2120
2121
|
return Unit_instance;
|
|
2121
2122
|
} else if (tmp === 1) {
|
|
2122
2123
|
throw this.u8_1;
|
|
@@ -2127,39 +2128,39 @@
|
|
|
2127
2128
|
}
|
|
2128
2129
|
while (true);
|
|
2129
2130
|
};
|
|
2130
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2131
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2132
|
-
i.
|
|
2133
|
-
i.
|
|
2131
|
+
protoOf(GameServer$playerLeft$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2132
|
+
var i = new GameServer$playerLeft$slambda(this.r9p_1, this.s9p_1, completion);
|
|
2133
|
+
i.t9p_1 = $this$dispatchAsync;
|
|
2134
|
+
i.u9p_1 = store;
|
|
2134
2135
|
return i;
|
|
2135
2136
|
};
|
|
2136
2137
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2137
2138
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2138
2139
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2139
|
-
return i.
|
|
2140
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2140
2141
|
};
|
|
2141
2142
|
l.$arity = 2;
|
|
2142
2143
|
return l;
|
|
2143
2144
|
}
|
|
2144
2145
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2146
|
+
this.d9q_1 = $usersArray;
|
|
2147
|
+
this.e9q_1 = $config;
|
|
2148
|
+
this.f9q_1 = this$0;
|
|
2149
|
+
this.g9q_1 = $roomId;
|
|
2150
|
+
this.h9q_1 = $transition;
|
|
2151
|
+
this.i9q_1 = $gameCreatorId;
|
|
2152
|
+
this.j9q_1 = $spectators;
|
|
2152
2153
|
CoroutineImpl.call(this, resultContinuation);
|
|
2153
2154
|
}
|
|
2154
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2155
|
-
var tmp = this.
|
|
2155
|
+
protoOf(GameServer$roomOnCreate$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2156
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2156
2157
|
tmp.t8_1 = Unit_instance;
|
|
2157
2158
|
tmp.u8_1 = null;
|
|
2158
2159
|
return tmp.z8();
|
|
2159
2160
|
};
|
|
2160
2161
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2161
2162
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2162
|
-
return this.
|
|
2163
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2163
2164
|
};
|
|
2164
2165
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2165
2166
|
var suspendResult = this.t8_1;
|
|
@@ -2168,28 +2169,28 @@
|
|
|
2168
2169
|
var tmp = this.r8_1;
|
|
2169
2170
|
if (tmp === 0) {
|
|
2170
2171
|
this.s8_1 = 1;
|
|
2171
|
-
var users = toList(this.
|
|
2172
|
-
if (!(this.
|
|
2173
|
-
_get_logger__rkp4sl(this.
|
|
2174
|
-
this.
|
|
2172
|
+
var users = toList(this.d9q_1);
|
|
2173
|
+
if (!(this.e9q_1.playersMode.count === users.o())) {
|
|
2174
|
+
_get_logger__rkp4sl(this.f9q_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.g9q_1 + ', config = ' + this.e9q_1.toString() + ', users = ' + toString(users));
|
|
2175
|
+
this.l9q_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.f9q_1.table.isGameFinished, this.f9q_1.table));
|
|
2175
2176
|
return Unit_instance;
|
|
2176
2177
|
}
|
|
2177
2178
|
var tmp_0;
|
|
2178
|
-
if (this.
|
|
2179
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2179
|
+
if (this.e9q_1.mode.shufflePlayers && this.h9q_1 == null) {
|
|
2180
|
+
tmp_0 = _get_random__h29cgo(this.f9q_1).o5d(toMutableList(users));
|
|
2180
2181
|
} else {
|
|
2181
|
-
var tmp0_safe_receiver = this.
|
|
2182
|
+
var tmp0_safe_receiver = this.h9q_1;
|
|
2182
2183
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2183
2184
|
var tmp_1;
|
|
2184
|
-
if (!(previousPlayers == null) && this.
|
|
2185
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2185
|
+
if (!(previousPlayers == null) && this.e9q_1.playersMode.isTeamGame) {
|
|
2186
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.f9q_1);
|
|
2186
2187
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2187
2188
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2188
2189
|
while (_iterator__ex2g4s.m()) {
|
|
2189
2190
|
var item = _iterator__ex2g4s.n();
|
|
2190
2191
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2191
2192
|
}
|
|
2192
|
-
var previousTeams = tmp_2.
|
|
2193
|
+
var previousTeams = tmp_2.b8j(destination);
|
|
2193
2194
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2194
2195
|
var _iterator__ex2g4s_0 = users.l();
|
|
2195
2196
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2213,19 +2214,19 @@
|
|
|
2213
2214
|
destination_1.j(destination_2);
|
|
2214
2215
|
}
|
|
2215
2216
|
var updatedTeams = destination_1;
|
|
2216
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2217
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.f9q_1).f8j(updatedTeams);
|
|
2217
2218
|
} else {
|
|
2218
2219
|
tmp_1 = users;
|
|
2219
2220
|
}
|
|
2220
2221
|
tmp_0 = tmp_1;
|
|
2221
2222
|
}
|
|
2222
2223
|
var updatedUsers = tmp_0;
|
|
2223
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2224
|
-
var tmp_3 = this.
|
|
2224
|
+
var gameCreatorUser = getPlayer(users, this.i9q_1);
|
|
2225
|
+
var tmp_3 = this.l9q_1.dispatch;
|
|
2225
2226
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2226
2227
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2227
|
-
var tmp3_spectators = toList(this.
|
|
2228
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2228
|
+
var tmp3_spectators = toList(this.j9q_1);
|
|
2229
|
+
tmp_3(new StartGameMechanicAction(this.e9q_1, this.g9q_1, tmp1_version, this.i9q_1, tmp2_users, VOID, tmp3_spectators));
|
|
2229
2230
|
return Unit_instance;
|
|
2230
2231
|
} else if (tmp === 1) {
|
|
2231
2232
|
throw this.u8_1;
|
|
@@ -2236,33 +2237,33 @@
|
|
|
2236
2237
|
}
|
|
2237
2238
|
while (true);
|
|
2238
2239
|
};
|
|
2239
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2240
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2241
|
-
i.
|
|
2242
|
-
i.
|
|
2240
|
+
protoOf(GameServer$roomOnCreate$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2241
|
+
var i = new GameServer$roomOnCreate$slambda(this.d9q_1, this.e9q_1, this.f9q_1, this.g9q_1, this.h9q_1, this.i9q_1, this.j9q_1, completion);
|
|
2242
|
+
i.k9q_1 = $this$dispatchAsync;
|
|
2243
|
+
i.l9q_1 = store;
|
|
2243
2244
|
return i;
|
|
2244
2245
|
};
|
|
2245
2246
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2246
2247
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2247
2248
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2248
|
-
return i.
|
|
2249
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2249
2250
|
};
|
|
2250
2251
|
l.$arity = 2;
|
|
2251
2252
|
return l;
|
|
2252
2253
|
}
|
|
2253
2254
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2254
|
-
this.
|
|
2255
|
+
this.u9q_1 = $state;
|
|
2255
2256
|
CoroutineImpl.call(this, resultContinuation);
|
|
2256
2257
|
}
|
|
2257
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2258
|
-
var tmp = this.
|
|
2258
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).x9q = function ($this$dispatchAwait, store, $completion) {
|
|
2259
|
+
var tmp = this.l9o($this$dispatchAwait, store, $completion);
|
|
2259
2260
|
tmp.t8_1 = Unit_instance;
|
|
2260
2261
|
tmp.u8_1 = null;
|
|
2261
2262
|
return tmp.z8();
|
|
2262
2263
|
};
|
|
2263
2264
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2264
2265
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2265
|
-
return this.
|
|
2266
|
+
return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2266
2267
|
};
|
|
2267
2268
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2268
2269
|
var suspendResult = this.t8_1;
|
|
@@ -2271,11 +2272,14 @@
|
|
|
2271
2272
|
var tmp = this.r8_1;
|
|
2272
2273
|
if (tmp === 0) {
|
|
2273
2274
|
this.s8_1 = 1;
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2275
|
+
if (get_isCreating(this.w9q_1.state)) {
|
|
2276
|
+
var tmp_0 = this.w9q_1.dispatch;
|
|
2277
|
+
var tmp0_reason = new RestartRoundReason(null);
|
|
2278
|
+
var tmp1_table = this.u9q_1.table;
|
|
2279
|
+
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2280
|
+
return true;
|
|
2281
|
+
}
|
|
2282
|
+
return false;
|
|
2279
2283
|
} else if (tmp === 1) {
|
|
2280
2284
|
throw this.u8_1;
|
|
2281
2285
|
}
|
|
@@ -2285,85 +2289,109 @@
|
|
|
2285
2289
|
}
|
|
2286
2290
|
while (true);
|
|
2287
2291
|
};
|
|
2288
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2289
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2290
|
-
i.
|
|
2291
|
-
i.
|
|
2292
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).l9o = function ($this$dispatchAwait, store, completion) {
|
|
2293
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.u9q_1, completion);
|
|
2294
|
+
i.v9q_1 = $this$dispatchAwait;
|
|
2295
|
+
i.w9q_1 = store;
|
|
2292
2296
|
return i;
|
|
2293
2297
|
};
|
|
2294
2298
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2295
2299
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2296
|
-
var l = function ($this$
|
|
2297
|
-
return i.
|
|
2300
|
+
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2301
|
+
return i.x9q($this$dispatchAwait, store, $completion);
|
|
2298
2302
|
};
|
|
2299
2303
|
l.$arity = 2;
|
|
2300
2304
|
return l;
|
|
2301
2305
|
}
|
|
2302
|
-
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
2303
|
-
this.
|
|
2306
|
+
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2307
|
+
this.g9r_1 = $isCreated;
|
|
2308
|
+
this.h9r_1 = $state;
|
|
2304
2309
|
CoroutineImpl.call(this, resultContinuation);
|
|
2305
2310
|
}
|
|
2306
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2307
|
-
var tmp = this.
|
|
2311
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2312
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2308
2313
|
tmp.t8_1 = Unit_instance;
|
|
2309
2314
|
tmp.u8_1 = null;
|
|
2310
2315
|
return tmp.z8();
|
|
2311
2316
|
};
|
|
2312
2317
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2313
2318
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2314
|
-
return this.
|
|
2319
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2315
2320
|
};
|
|
2316
2321
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2317
2322
|
var suspendResult = this.t8_1;
|
|
2318
2323
|
$sm: do
|
|
2319
2324
|
try {
|
|
2320
2325
|
var tmp = this.r8_1;
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2326
|
+
switch (tmp) {
|
|
2327
|
+
case 0:
|
|
2328
|
+
this.s8_1 = 3;
|
|
2329
|
+
this.r8_1 = 1;
|
|
2330
|
+
suspendResult = this.g9r_1.z1t(this);
|
|
2331
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2332
|
+
return suspendResult;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
continue $sm;
|
|
2336
|
+
case 1:
|
|
2337
|
+
if (suspendResult) {
|
|
2338
|
+
var _iterator__ex2g4s = this.h9r_1.actions.l();
|
|
2339
|
+
while (_iterator__ex2g4s.m()) {
|
|
2340
|
+
var element = _iterator__ex2g4s.n();
|
|
2341
|
+
this.j9r_1.dispatch(element);
|
|
2342
|
+
}
|
|
2343
|
+
this.r8_1 = 2;
|
|
2344
|
+
continue $sm;
|
|
2345
|
+
} else {
|
|
2346
|
+
this.r8_1 = 2;
|
|
2347
|
+
continue $sm;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
case 2:
|
|
2351
|
+
return Unit_instance;
|
|
2352
|
+
case 3:
|
|
2353
|
+
throw this.u8_1;
|
|
2331
2354
|
}
|
|
2332
2355
|
} catch ($p) {
|
|
2333
2356
|
var e = $p;
|
|
2334
|
-
|
|
2357
|
+
if (this.s8_1 === 3) {
|
|
2358
|
+
throw e;
|
|
2359
|
+
} else {
|
|
2360
|
+
this.r8_1 = this.s8_1;
|
|
2361
|
+
this.u8_1 = e;
|
|
2362
|
+
}
|
|
2335
2363
|
}
|
|
2336
2364
|
while (true);
|
|
2337
2365
|
};
|
|
2338
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2339
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2340
|
-
i.
|
|
2341
|
-
i.
|
|
2366
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2367
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.g9r_1, this.h9r_1, completion);
|
|
2368
|
+
i.i9r_1 = $this$dispatchAsync;
|
|
2369
|
+
i.j9r_1 = store;
|
|
2342
2370
|
return i;
|
|
2343
2371
|
};
|
|
2344
|
-
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
2345
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
2372
|
+
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2373
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2346
2374
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2347
|
-
return i.
|
|
2375
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2348
2376
|
};
|
|
2349
2377
|
l.$arity = 2;
|
|
2350
2378
|
return l;
|
|
2351
2379
|
}
|
|
2352
2380
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2355
|
-
this.
|
|
2381
|
+
this.s9r_1 = $tableLite;
|
|
2382
|
+
this.t9r_1 = $roomId;
|
|
2383
|
+
this.u9r_1 = this$0;
|
|
2356
2384
|
CoroutineImpl.call(this, resultContinuation);
|
|
2357
2385
|
}
|
|
2358
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2359
|
-
var tmp = this.
|
|
2386
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2387
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2360
2388
|
tmp.t8_1 = Unit_instance;
|
|
2361
2389
|
tmp.u8_1 = null;
|
|
2362
2390
|
return tmp.z8();
|
|
2363
2391
|
};
|
|
2364
2392
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2365
2393
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2366
|
-
return this.
|
|
2394
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2367
2395
|
};
|
|
2368
2396
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2369
2397
|
var suspendResult = this.t8_1;
|
|
@@ -2372,9 +2400,9 @@
|
|
|
2372
2400
|
var tmp = this.r8_1;
|
|
2373
2401
|
if (tmp === 0) {
|
|
2374
2402
|
this.s8_1 = 1;
|
|
2375
|
-
var tmp_0 = this.
|
|
2376
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2377
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2403
|
+
var tmp_0 = this.w9r_1.dispatch;
|
|
2404
|
+
var tmp0_reason = new RestartRoundReason(this.s9r_1.gameInfo.round.roundNumber);
|
|
2405
|
+
var tmp1_table = Companion_instance_0.restartRound(this.t9r_1, _get_idsProvider__fnfajc(this.u9r_1).z6d(), get_versionOrDefault(GameEngineConfig_instance), this.s9r_1);
|
|
2378
2406
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2379
2407
|
return Unit_instance;
|
|
2380
2408
|
} else if (tmp === 1) {
|
|
@@ -2386,16 +2414,16 @@
|
|
|
2386
2414
|
}
|
|
2387
2415
|
while (true);
|
|
2388
2416
|
};
|
|
2389
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2390
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2391
|
-
i.
|
|
2392
|
-
i.
|
|
2417
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2418
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.s9r_1, this.t9r_1, this.u9r_1, completion);
|
|
2419
|
+
i.v9r_1 = $this$dispatchAsync;
|
|
2420
|
+
i.w9r_1 = store;
|
|
2393
2421
|
return i;
|
|
2394
2422
|
};
|
|
2395
2423
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2396
2424
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2397
2425
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2398
|
-
return i.
|
|
2426
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2399
2427
|
};
|
|
2400
2428
|
l.$arity = 2;
|
|
2401
2429
|
return l;
|
|
@@ -2403,15 +2431,15 @@
|
|
|
2403
2431
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2404
2432
|
CoroutineImpl.call(this, resultContinuation);
|
|
2405
2433
|
}
|
|
2406
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2407
|
-
var tmp = this.
|
|
2434
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2435
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2408
2436
|
tmp.t8_1 = Unit_instance;
|
|
2409
2437
|
tmp.u8_1 = null;
|
|
2410
2438
|
return tmp.z8();
|
|
2411
2439
|
};
|
|
2412
2440
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2413
2441
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2414
|
-
return this.
|
|
2442
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2415
2443
|
};
|
|
2416
2444
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2417
2445
|
var suspendResult = this.t8_1;
|
|
@@ -2420,7 +2448,7 @@
|
|
|
2420
2448
|
var tmp = this.r8_1;
|
|
2421
2449
|
if (tmp === 0) {
|
|
2422
2450
|
this.s8_1 = 1;
|
|
2423
|
-
this.
|
|
2451
|
+
this.g9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2424
2452
|
return Unit_instance;
|
|
2425
2453
|
} else if (tmp === 1) {
|
|
2426
2454
|
throw this.u8_1;
|
|
@@ -2431,33 +2459,33 @@
|
|
|
2431
2459
|
}
|
|
2432
2460
|
while (true);
|
|
2433
2461
|
};
|
|
2434
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2462
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2435
2463
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2436
|
-
i.
|
|
2437
|
-
i.
|
|
2464
|
+
i.f9s_1 = $this$dispatchAsync;
|
|
2465
|
+
i.g9s_1 = store;
|
|
2438
2466
|
return i;
|
|
2439
2467
|
};
|
|
2440
2468
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2441
2469
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2442
2470
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2443
|
-
return i.
|
|
2471
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2444
2472
|
};
|
|
2445
2473
|
l.$arity = 2;
|
|
2446
2474
|
return l;
|
|
2447
2475
|
}
|
|
2448
2476
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2449
|
-
this.
|
|
2477
|
+
this.p9s_1 = $spectators;
|
|
2450
2478
|
CoroutineImpl.call(this, resultContinuation);
|
|
2451
2479
|
}
|
|
2452
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2453
|
-
var tmp = this.
|
|
2480
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2481
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2454
2482
|
tmp.t8_1 = Unit_instance;
|
|
2455
2483
|
tmp.u8_1 = null;
|
|
2456
2484
|
return tmp.z8();
|
|
2457
2485
|
};
|
|
2458
2486
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2459
2487
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2460
|
-
return this.
|
|
2488
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2461
2489
|
};
|
|
2462
2490
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2463
2491
|
var suspendResult = this.t8_1;
|
|
@@ -2466,7 +2494,7 @@
|
|
|
2466
2494
|
var tmp = this.r8_1;
|
|
2467
2495
|
if (tmp === 0) {
|
|
2468
2496
|
this.s8_1 = 1;
|
|
2469
|
-
this.
|
|
2497
|
+
this.r9s_1.dispatch(new AddSpectatorsAction(toList(this.p9s_1)));
|
|
2470
2498
|
return Unit_instance;
|
|
2471
2499
|
} else if (tmp === 1) {
|
|
2472
2500
|
throw this.u8_1;
|
|
@@ -2477,33 +2505,33 @@
|
|
|
2477
2505
|
}
|
|
2478
2506
|
while (true);
|
|
2479
2507
|
};
|
|
2480
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2481
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2482
|
-
i.
|
|
2483
|
-
i.
|
|
2508
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2509
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.p9s_1, completion);
|
|
2510
|
+
i.q9s_1 = $this$dispatchAsync;
|
|
2511
|
+
i.r9s_1 = store;
|
|
2484
2512
|
return i;
|
|
2485
2513
|
};
|
|
2486
2514
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2487
2515
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2488
2516
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2489
|
-
return i.
|
|
2517
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2490
2518
|
};
|
|
2491
2519
|
l.$arity = 2;
|
|
2492
2520
|
return l;
|
|
2493
2521
|
}
|
|
2494
2522
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2495
|
-
this.
|
|
2523
|
+
this.a9t_1 = $spectators;
|
|
2496
2524
|
CoroutineImpl.call(this, resultContinuation);
|
|
2497
2525
|
}
|
|
2498
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2499
|
-
var tmp = this.
|
|
2526
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2527
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2500
2528
|
tmp.t8_1 = Unit_instance;
|
|
2501
2529
|
tmp.u8_1 = null;
|
|
2502
2530
|
return tmp.z8();
|
|
2503
2531
|
};
|
|
2504
2532
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2505
2533
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2506
|
-
return this.
|
|
2534
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2507
2535
|
};
|
|
2508
2536
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2509
2537
|
var suspendResult = this.t8_1;
|
|
@@ -2512,7 +2540,7 @@
|
|
|
2512
2540
|
var tmp = this.r8_1;
|
|
2513
2541
|
if (tmp === 0) {
|
|
2514
2542
|
this.s8_1 = 1;
|
|
2515
|
-
this.
|
|
2543
|
+
this.c9t_1.dispatch(new RemoveSpectatorsAction(toList(this.a9t_1)));
|
|
2516
2544
|
return Unit_instance;
|
|
2517
2545
|
} else if (tmp === 1) {
|
|
2518
2546
|
throw this.u8_1;
|
|
@@ -2523,34 +2551,34 @@
|
|
|
2523
2551
|
}
|
|
2524
2552
|
while (true);
|
|
2525
2553
|
};
|
|
2526
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2527
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2528
|
-
i.
|
|
2529
|
-
i.
|
|
2554
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2555
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.a9t_1, completion);
|
|
2556
|
+
i.b9t_1 = $this$dispatchAsync;
|
|
2557
|
+
i.c9t_1 = store;
|
|
2530
2558
|
return i;
|
|
2531
2559
|
};
|
|
2532
2560
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2533
2561
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2534
2562
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2535
|
-
return i.
|
|
2563
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2536
2564
|
};
|
|
2537
2565
|
l.$arity = 2;
|
|
2538
2566
|
return l;
|
|
2539
2567
|
}
|
|
2540
2568
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2541
|
-
this.
|
|
2542
|
-
this.
|
|
2569
|
+
this.l9t_1 = $playerId;
|
|
2570
|
+
this.m9t_1 = this$0;
|
|
2543
2571
|
CoroutineImpl.call(this, resultContinuation);
|
|
2544
2572
|
}
|
|
2545
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2546
|
-
var tmp = this.
|
|
2573
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2574
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2547
2575
|
tmp.t8_1 = Unit_instance;
|
|
2548
2576
|
tmp.u8_1 = null;
|
|
2549
2577
|
return tmp.z8();
|
|
2550
2578
|
};
|
|
2551
2579
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2552
2580
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2553
|
-
return this.
|
|
2581
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2554
2582
|
};
|
|
2555
2583
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2556
2584
|
var suspendResult = this.t8_1;
|
|
@@ -2559,14 +2587,14 @@
|
|
|
2559
2587
|
var tmp = this.r8_1;
|
|
2560
2588
|
if (tmp === 0) {
|
|
2561
2589
|
this.s8_1 = 1;
|
|
2562
|
-
var table = this.
|
|
2563
|
-
var player = getPlayer(table.players, this.
|
|
2564
|
-
if (player.
|
|
2565
|
-
this.
|
|
2590
|
+
var table = this.o9t_1.state.n6n();
|
|
2591
|
+
var player = getPlayer(table.players, this.l9t_1);
|
|
2592
|
+
if (player.n6q_1.v68().m67_1.isLive) {
|
|
2593
|
+
this.o9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.m9t_1).v8p(player, table));
|
|
2566
2594
|
} else {
|
|
2567
|
-
var tmp_0 = this.
|
|
2595
|
+
var tmp_0 = this.o9t_1.dispatch;
|
|
2568
2596
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2569
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2597
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.l9t_1));
|
|
2570
2598
|
}
|
|
2571
2599
|
return Unit_instance;
|
|
2572
2600
|
} else if (tmp === 1) {
|
|
@@ -2578,34 +2606,34 @@
|
|
|
2578
2606
|
}
|
|
2579
2607
|
while (true);
|
|
2580
2608
|
};
|
|
2581
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2582
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2583
|
-
i.
|
|
2584
|
-
i.
|
|
2609
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2610
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.l9t_1, this.m9t_1, completion);
|
|
2611
|
+
i.n9t_1 = $this$dispatchAsync;
|
|
2612
|
+
i.o9t_1 = store;
|
|
2585
2613
|
return i;
|
|
2586
2614
|
};
|
|
2587
2615
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2588
2616
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2589
2617
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2590
|
-
return i.
|
|
2618
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2591
2619
|
};
|
|
2592
2620
|
l.$arity = 2;
|
|
2593
2621
|
return l;
|
|
2594
2622
|
}
|
|
2595
2623
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2596
|
-
this.
|
|
2597
|
-
this.
|
|
2624
|
+
this.x9t_1 = this$0;
|
|
2625
|
+
this.y9t_1 = $newRid;
|
|
2598
2626
|
CoroutineImpl.call(this, resultContinuation);
|
|
2599
2627
|
}
|
|
2600
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2601
|
-
var tmp = this.
|
|
2628
|
+
protoOf(GameServer$roomOnDelete$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2629
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2602
2630
|
tmp.t8_1 = Unit_instance;
|
|
2603
2631
|
tmp.u8_1 = null;
|
|
2604
2632
|
return tmp.z8();
|
|
2605
2633
|
};
|
|
2606
2634
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2607
2635
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2608
|
-
return this.
|
|
2636
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2609
2637
|
};
|
|
2610
2638
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2611
2639
|
var suspendResult = this.t8_1;
|
|
@@ -2614,27 +2642,27 @@
|
|
|
2614
2642
|
var tmp = this.r8_1;
|
|
2615
2643
|
if (tmp === 0) {
|
|
2616
2644
|
this.s8_1 = 1;
|
|
2617
|
-
var it = this.
|
|
2645
|
+
var it = this.x9t_1.s66().n6m_1;
|
|
2618
2646
|
var tmp_0;
|
|
2619
2647
|
if (it == null) {
|
|
2620
|
-
_get_logger__rkp4sl(this.
|
|
2648
|
+
_get_logger__rkp4sl(this.x9t_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2621
2649
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2622
2650
|
} else {
|
|
2623
2651
|
tmp_0 = it;
|
|
2624
2652
|
}
|
|
2625
2653
|
var terminationState = tmp_0;
|
|
2626
|
-
var gameTransition = terminationState.
|
|
2654
|
+
var gameTransition = terminationState.s8t_1;
|
|
2627
2655
|
var tmp_1;
|
|
2628
2656
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2629
|
-
var tmp0_elvis_lhs = this.
|
|
2657
|
+
var tmp0_elvis_lhs = this.y9t_1;
|
|
2630
2658
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2631
2659
|
} else {
|
|
2632
2660
|
tmp_1 = gameTransition;
|
|
2633
2661
|
}
|
|
2634
2662
|
var transition = tmp_1;
|
|
2635
|
-
var tmp_2 = this.
|
|
2636
|
-
var tmp0_reason = terminationState.
|
|
2637
|
-
var tmp1_isGameFinished = this.
|
|
2663
|
+
var tmp_2 = this.a9u_1.dispatch;
|
|
2664
|
+
var tmp0_reason = terminationState.r8t_1;
|
|
2665
|
+
var tmp1_isGameFinished = this.x9t_1.s66().n6n().isGameFinished;
|
|
2638
2666
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2639
2667
|
return Unit_instance;
|
|
2640
2668
|
} else if (tmp === 1) {
|
|
@@ -2646,33 +2674,33 @@
|
|
|
2646
2674
|
}
|
|
2647
2675
|
while (true);
|
|
2648
2676
|
};
|
|
2649
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2650
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2651
|
-
i.
|
|
2652
|
-
i.
|
|
2677
|
+
protoOf(GameServer$roomOnDelete$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2678
|
+
var i = new GameServer$roomOnDelete$slambda(this.x9t_1, this.y9t_1, completion);
|
|
2679
|
+
i.z9t_1 = $this$dispatchAsync;
|
|
2680
|
+
i.a9u_1 = store;
|
|
2653
2681
|
return i;
|
|
2654
2682
|
};
|
|
2655
2683
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2656
2684
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2657
2685
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2658
|
-
return i.
|
|
2686
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2659
2687
|
};
|
|
2660
2688
|
l.$arity = 2;
|
|
2661
2689
|
return l;
|
|
2662
2690
|
}
|
|
2663
2691
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2664
|
-
this.
|
|
2692
|
+
this.j9u_1 = $enabled;
|
|
2665
2693
|
CoroutineImpl.call(this, resultContinuation);
|
|
2666
2694
|
}
|
|
2667
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2668
|
-
var tmp = this.
|
|
2695
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2696
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2669
2697
|
tmp.t8_1 = Unit_instance;
|
|
2670
2698
|
tmp.u8_1 = null;
|
|
2671
2699
|
return tmp.z8();
|
|
2672
2700
|
};
|
|
2673
2701
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2674
2702
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2675
|
-
return this.
|
|
2703
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2676
2704
|
};
|
|
2677
2705
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2678
2706
|
var suspendResult = this.t8_1;
|
|
@@ -2681,7 +2709,7 @@
|
|
|
2681
2709
|
var tmp = this.r8_1;
|
|
2682
2710
|
if (tmp === 0) {
|
|
2683
2711
|
this.s8_1 = 1;
|
|
2684
|
-
this.
|
|
2712
|
+
this.l9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.l9u_1.state).config.copy(VOID, this.j9u_1)));
|
|
2685
2713
|
return Unit_instance;
|
|
2686
2714
|
} else if (tmp === 1) {
|
|
2687
2715
|
throw this.u8_1;
|
|
@@ -2692,35 +2720,35 @@
|
|
|
2692
2720
|
}
|
|
2693
2721
|
while (true);
|
|
2694
2722
|
};
|
|
2695
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2696
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2697
|
-
i.
|
|
2698
|
-
i.
|
|
2723
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2724
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.j9u_1, completion);
|
|
2725
|
+
i.k9u_1 = $this$dispatchAsync;
|
|
2726
|
+
i.l9u_1 = store;
|
|
2699
2727
|
return i;
|
|
2700
2728
|
};
|
|
2701
2729
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2702
2730
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2703
2731
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2704
|
-
return i.
|
|
2732
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2705
2733
|
};
|
|
2706
2734
|
l.$arity = 2;
|
|
2707
2735
|
return l;
|
|
2708
2736
|
}
|
|
2709
2737
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2710
|
-
this.
|
|
2711
|
-
this.
|
|
2712
|
-
this.
|
|
2738
|
+
this.u9u_1 = $reason;
|
|
2739
|
+
this.v9u_1 = this$0;
|
|
2740
|
+
this.w9u_1 = $roomId;
|
|
2713
2741
|
CoroutineImpl.call(this, resultContinuation);
|
|
2714
2742
|
}
|
|
2715
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2716
|
-
var tmp = this.
|
|
2743
|
+
protoOf(GameServer$shutdown$slambda).k9o = function ($this$dispatchAsync, store, $completion) {
|
|
2744
|
+
var tmp = this.l9o($this$dispatchAsync, store, $completion);
|
|
2717
2745
|
tmp.t8_1 = Unit_instance;
|
|
2718
2746
|
tmp.u8_1 = null;
|
|
2719
2747
|
return tmp.z8();
|
|
2720
2748
|
};
|
|
2721
2749
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2722
2750
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2723
|
-
return this.
|
|
2751
|
+
return this.k9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2724
2752
|
};
|
|
2725
2753
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2726
2754
|
var suspendResult = this.t8_1;
|
|
@@ -2729,11 +2757,11 @@
|
|
|
2729
2757
|
var tmp = this.r8_1;
|
|
2730
2758
|
if (tmp === 0) {
|
|
2731
2759
|
this.s8_1 = 1;
|
|
2732
|
-
var state = this.
|
|
2733
|
-
if (state.
|
|
2734
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2760
|
+
var state = this.y9u_1.store.state;
|
|
2761
|
+
if (state.o6n()) {
|
|
2762
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.u9u_1, get_serverShutdownReasonMapping());
|
|
2735
2763
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2736
|
-
var tmp_0 = this.
|
|
2764
|
+
var tmp_0 = this.y9u_1.dispatch;
|
|
2737
2765
|
var tmp_1 = Companion_instance;
|
|
2738
2766
|
var tmp_2;
|
|
2739
2767
|
switch (shutdownReason.p2_1) {
|
|
@@ -2747,12 +2775,12 @@
|
|
|
2747
2775
|
noWhenBranchMatchedException();
|
|
2748
2776
|
break;
|
|
2749
2777
|
}
|
|
2750
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2778
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.v9u_1.table.isGameFinished, this.v9u_1.table));
|
|
2751
2779
|
} else {
|
|
2752
|
-
_get_logger__rkp4sl(this.
|
|
2753
|
-
var tmp_3 = this.
|
|
2754
|
-
var tmp2_safe_receiver = state.
|
|
2755
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2780
|
+
_get_logger__rkp4sl(this.v9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.w9u_1);
|
|
2781
|
+
var tmp_3 = this.y9u_1.dispatch;
|
|
2782
|
+
var tmp2_safe_receiver = state.n6m_1;
|
|
2783
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s8t_1));
|
|
2756
2784
|
}
|
|
2757
2785
|
return Unit_instance;
|
|
2758
2786
|
} else if (tmp === 1) {
|
|
@@ -2764,16 +2792,16 @@
|
|
|
2764
2792
|
}
|
|
2765
2793
|
while (true);
|
|
2766
2794
|
};
|
|
2767
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2768
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2769
|
-
i.
|
|
2770
|
-
i.
|
|
2795
|
+
protoOf(GameServer$shutdown$slambda).l9o = function ($this$dispatchAsync, store, completion) {
|
|
2796
|
+
var i = new GameServer$shutdown$slambda(this.u9u_1, this.v9u_1, this.w9u_1, completion);
|
|
2797
|
+
i.x9u_1 = $this$dispatchAsync;
|
|
2798
|
+
i.y9u_1 = store;
|
|
2771
2799
|
return i;
|
|
2772
2800
|
};
|
|
2773
2801
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2774
2802
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2775
2803
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2776
|
-
return i.
|
|
2804
|
+
return i.k9o($this$dispatchAsync, store, $completion);
|
|
2777
2805
|
};
|
|
2778
2806
|
l.$arity = 2;
|
|
2779
2807
|
return l;
|
|
@@ -2804,7 +2832,7 @@
|
|
|
2804
2832
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2805
2833
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2806
2834
|
var tmp_4 = KProperty1;
|
|
2807
|
-
tmp_1.
|
|
2835
|
+
tmp_1.c9l_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2808
2836
|
var tmp_5 = this;
|
|
2809
2837
|
// Inline function 'org.kodein.di.instance' call
|
|
2810
2838
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2812,7 +2840,7 @@
|
|
|
2812
2840
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2813
2841
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2814
2842
|
var tmp_8 = KProperty1;
|
|
2815
|
-
tmp_5.
|
|
2843
|
+
tmp_5.d9l_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2816
2844
|
var tmp_9 = this;
|
|
2817
2845
|
// Inline function 'org.kodein.di.instance' call
|
|
2818
2846
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2820,7 +2848,7 @@
|
|
|
2820
2848
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2821
2849
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2822
2850
|
var tmp_12 = KProperty1;
|
|
2823
|
-
tmp_9.
|
|
2851
|
+
tmp_9.e9l_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2824
2852
|
var tmp_13 = this;
|
|
2825
2853
|
// Inline function 'org.kodein.di.instance' call
|
|
2826
2854
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2828,7 +2856,7 @@
|
|
|
2828
2856
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2829
2857
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2830
2858
|
var tmp_16 = KProperty1;
|
|
2831
|
-
tmp_13.
|
|
2859
|
+
tmp_13.f9l_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2832
2860
|
var tmp_17 = this;
|
|
2833
2861
|
// Inline function 'org.kodein.di.instance' call
|
|
2834
2862
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2836,9 +2864,9 @@
|
|
|
2836
2864
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2837
2865
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2838
2866
|
var tmp_20 = KProperty1;
|
|
2839
|
-
tmp_17.
|
|
2867
|
+
tmp_17.g9l_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2840
2868
|
var tmp_21 = this;
|
|
2841
|
-
tmp_21.
|
|
2869
|
+
tmp_21.h9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2842
2870
|
var tmp_22 = this;
|
|
2843
2871
|
// Inline function 'org.kodein.di.instance' call
|
|
2844
2872
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2846,7 +2874,7 @@
|
|
|
2846
2874
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2847
2875
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2848
2876
|
var tmp_25 = KProperty1;
|
|
2849
|
-
tmp_22.
|
|
2877
|
+
tmp_22.i9l_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2850
2878
|
var tmp_26 = this;
|
|
2851
2879
|
// Inline function 'org.kodein.di.instance' call
|
|
2852
2880
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2854,7 +2882,7 @@
|
|
|
2854
2882
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2855
2883
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2856
2884
|
var tmp_29 = KProperty1;
|
|
2857
|
-
tmp_26.
|
|
2885
|
+
tmp_26.j9l_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2858
2886
|
var tmp_30 = this;
|
|
2859
2887
|
// Inline function 'org.kodein.di.instance' call
|
|
2860
2888
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2862,94 +2890,94 @@
|
|
|
2862
2890
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2863
2891
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2864
2892
|
var tmp_33 = KProperty1;
|
|
2865
|
-
tmp_30.
|
|
2893
|
+
tmp_30.k9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2866
2894
|
var tmp_34 = this;
|
|
2867
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2868
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2869
|
-
tmp_34.
|
|
2895
|
+
var tmp0_externalMiddlewares = plus(storeContract.f8y(), externalMiddlewares);
|
|
2896
|
+
var tmp1_externalReducers = plus(storeContract.e8y(), externalReducers);
|
|
2897
|
+
tmp_34.l9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2870
2898
|
}
|
|
2871
|
-
protoOf(GameServer).
|
|
2872
|
-
return this.
|
|
2899
|
+
protoOf(GameServer).b6m = function () {
|
|
2900
|
+
return this.l9l_1;
|
|
2873
2901
|
};
|
|
2874
2902
|
protoOf(GameServer).w53 = function () {
|
|
2875
|
-
return this.s66().
|
|
2903
|
+
return this.s66().n6n().id;
|
|
2876
2904
|
};
|
|
2877
|
-
protoOf(GameServer).
|
|
2878
|
-
return this.s66().
|
|
2905
|
+
protoOf(GameServer).n6n = function () {
|
|
2906
|
+
return this.s66().n6n();
|
|
2879
2907
|
};
|
|
2880
|
-
protoOf(GameServer).
|
|
2881
|
-
return this.s66().
|
|
2908
|
+
protoOf(GameServer).o6n = function () {
|
|
2909
|
+
return this.s66().o6n();
|
|
2882
2910
|
};
|
|
2883
|
-
protoOf(GameServer).
|
|
2911
|
+
protoOf(GameServer).p6n = function () {
|
|
2884
2912
|
return this.s66().gameLifecycleState;
|
|
2885
2913
|
};
|
|
2886
2914
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
2887
|
-
var tmp = this.
|
|
2888
|
-
tmp.
|
|
2915
|
+
var tmp = this.z6l();
|
|
2916
|
+
tmp.f6c(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
2889
2917
|
};
|
|
2890
2918
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
2891
|
-
var tmp = this.
|
|
2892
|
-
tmp.
|
|
2919
|
+
var tmp = this.z6l();
|
|
2920
|
+
tmp.f6c(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
2893
2921
|
};
|
|
2894
2922
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
2895
|
-
var tmp = this.
|
|
2896
|
-
tmp.
|
|
2923
|
+
var tmp = this.z6l();
|
|
2924
|
+
tmp.f6c(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
2897
2925
|
};
|
|
2898
2926
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
2899
|
-
var tmp = this.
|
|
2900
|
-
tmp.
|
|
2927
|
+
var tmp = this.z6l();
|
|
2928
|
+
tmp.f6c(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
2901
2929
|
};
|
|
2902
2930
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2903
2931
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2904
|
-
this.
|
|
2932
|
+
this.l9l_1.l6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2905
2933
|
};
|
|
2906
2934
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2907
2935
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2908
|
-
this.
|
|
2936
|
+
this.l9l_1.l6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2909
2937
|
};
|
|
2910
2938
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2911
2939
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2912
|
-
this.
|
|
2940
|
+
this.l9l_1.l6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2913
2941
|
};
|
|
2914
2942
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2915
2943
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2916
|
-
this.
|
|
2944
|
+
this.l9l_1.l6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2917
2945
|
};
|
|
2918
|
-
protoOf(GameServer).
|
|
2946
|
+
protoOf(GameServer).z9u = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2919
2947
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2920
|
-
this.
|
|
2948
|
+
this.l9l_1.l6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2921
2949
|
};
|
|
2922
2950
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2923
2951
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2924
|
-
this.
|
|
2925
|
-
this.
|
|
2952
|
+
var isCreated = this.l9l_1.m6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2953
|
+
this.l9l_1.l6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2926
2954
|
};
|
|
2927
2955
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2928
2956
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2929
|
-
this.
|
|
2930
|
-
this.
|
|
2957
|
+
this.l9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2958
|
+
this.l9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2931
2959
|
};
|
|
2932
2960
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2933
|
-
this.
|
|
2961
|
+
this.l9l_1.l6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2934
2962
|
};
|
|
2935
2963
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2936
|
-
this.
|
|
2964
|
+
this.l9l_1.l6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2937
2965
|
};
|
|
2938
2966
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2939
2967
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2940
|
-
this.
|
|
2968
|
+
this.l9l_1.l6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2941
2969
|
};
|
|
2942
|
-
protoOf(GameServer).
|
|
2970
|
+
protoOf(GameServer).a9v = function (newRid) {
|
|
2943
2971
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2944
|
-
this.
|
|
2972
|
+
this.l9l_1.l6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2945
2973
|
};
|
|
2946
2974
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2947
2975
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2948
|
-
this.
|
|
2976
|
+
this.l9l_1.l6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2949
2977
|
};
|
|
2950
|
-
protoOf(GameServer).
|
|
2978
|
+
protoOf(GameServer).b9v = function (reason, roomId) {
|
|
2951
2979
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2952
|
-
this.
|
|
2980
|
+
this.l9l_1.l6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2953
2981
|
};
|
|
2954
2982
|
protoOf(GameServer).clear = function () {
|
|
2955
2983
|
return this.h2();
|
|
@@ -3000,10 +3028,10 @@
|
|
|
3000
3028
|
this.fromRound = fromRound;
|
|
3001
3029
|
this.canStartNewGame = canStartNewGame;
|
|
3002
3030
|
}
|
|
3003
|
-
protoOf(ServerConfig).
|
|
3031
|
+
protoOf(ServerConfig).c9v = function () {
|
|
3004
3032
|
return this.fromRound;
|
|
3005
3033
|
};
|
|
3006
|
-
protoOf(ServerConfig).
|
|
3034
|
+
protoOf(ServerConfig).d9v = function () {
|
|
3007
3035
|
return this.canStartNewGame;
|
|
3008
3036
|
};
|
|
3009
3037
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3012,13 +3040,13 @@
|
|
|
3012
3040
|
protoOf(ServerConfig).oe = function () {
|
|
3013
3041
|
return this.canStartNewGame;
|
|
3014
3042
|
};
|
|
3015
|
-
protoOf(ServerConfig).
|
|
3043
|
+
protoOf(ServerConfig).e9v = function (fromRound, canStartNewGame) {
|
|
3016
3044
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3017
3045
|
};
|
|
3018
3046
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3019
3047
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3020
3048
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3021
|
-
return $super === VOID ? this.
|
|
3049
|
+
return $super === VOID ? this.e9v(fromRound, canStartNewGame) : $super.e9v.call(this, fromRound, canStartNewGame);
|
|
3022
3050
|
};
|
|
3023
3051
|
protoOf(ServerConfig).toString = function () {
|
|
3024
3052
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3079,19 +3107,19 @@
|
|
|
3079
3107
|
$serializer_instance = this;
|
|
3080
3108
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3081
3109
|
tmp0_serialDesc.gz('table', false);
|
|
3082
|
-
this.
|
|
3110
|
+
this.f9v_1 = tmp0_serialDesc;
|
|
3083
3111
|
}
|
|
3084
|
-
protoOf($serializer).
|
|
3085
|
-
var tmp0_desc = this.
|
|
3112
|
+
protoOf($serializer).g9v = function (encoder, value) {
|
|
3113
|
+
var tmp0_desc = this.f9v_1;
|
|
3086
3114
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3087
3115
|
tmp1_output.dt(tmp0_desc, 0, value.table);
|
|
3088
3116
|
tmp1_output.pr(tmp0_desc);
|
|
3089
3117
|
};
|
|
3090
3118
|
protoOf($serializer).co = function (encoder, value) {
|
|
3091
|
-
return this.
|
|
3119
|
+
return this.g9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3092
3120
|
};
|
|
3093
3121
|
protoOf($serializer).do = function (decoder) {
|
|
3094
|
-
var tmp0_desc = this.
|
|
3122
|
+
var tmp0_desc = this.f9v_1;
|
|
3095
3123
|
var tmp1_flag = true;
|
|
3096
3124
|
var tmp2_index = 0;
|
|
3097
3125
|
var tmp3_bitMask0 = 0;
|
|
@@ -3119,7 +3147,7 @@
|
|
|
3119
3147
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3120
3148
|
};
|
|
3121
3149
|
protoOf($serializer).bo = function () {
|
|
3122
|
-
return this.
|
|
3150
|
+
return this.f9v_1;
|
|
3123
3151
|
};
|
|
3124
3152
|
protoOf($serializer).vz = function () {
|
|
3125
3153
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3135,7 +3163,7 @@
|
|
|
3135
3163
|
}
|
|
3136
3164
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3137
3165
|
if (!(1 === (1 & seen0))) {
|
|
3138
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3166
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().f9v_1);
|
|
3139
3167
|
}
|
|
3140
3168
|
$this.table = table;
|
|
3141
3169
|
return $this;
|
|
@@ -3146,7 +3174,7 @@
|
|
|
3146
3174
|
function TableStateUpdateDto(table) {
|
|
3147
3175
|
this.table = table;
|
|
3148
3176
|
}
|
|
3149
|
-
protoOf(TableStateUpdateDto).
|
|
3177
|
+
protoOf(TableStateUpdateDto).n6n = function () {
|
|
3150
3178
|
return this.table;
|
|
3151
3179
|
};
|
|
3152
3180
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
@@ -3187,19 +3215,19 @@
|
|
|
3187
3215
|
$serializer_instance_0 = this;
|
|
3188
3216
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3189
3217
|
tmp0_serialDesc.gz('actions', false);
|
|
3190
|
-
this.
|
|
3218
|
+
this.h9v_1 = tmp0_serialDesc;
|
|
3191
3219
|
}
|
|
3192
|
-
protoOf($serializer_0).
|
|
3193
|
-
var tmp0_desc = this.
|
|
3220
|
+
protoOf($serializer_0).i9v = function (encoder, value) {
|
|
3221
|
+
var tmp0_desc = this.h9v_1;
|
|
3194
3222
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3195
3223
|
tmp1_output.dt(tmp0_desc, 0, value.actions);
|
|
3196
3224
|
tmp1_output.pr(tmp0_desc);
|
|
3197
3225
|
};
|
|
3198
3226
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3199
|
-
return this.
|
|
3227
|
+
return this.i9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3200
3228
|
};
|
|
3201
3229
|
protoOf($serializer_0).do = function (decoder) {
|
|
3202
|
-
var tmp0_desc = this.
|
|
3230
|
+
var tmp0_desc = this.h9v_1;
|
|
3203
3231
|
var tmp1_flag = true;
|
|
3204
3232
|
var tmp2_index = 0;
|
|
3205
3233
|
var tmp3_bitMask0 = 0;
|
|
@@ -3227,7 +3255,7 @@
|
|
|
3227
3255
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3228
3256
|
};
|
|
3229
3257
|
protoOf($serializer_0).bo = function () {
|
|
3230
|
-
return this.
|
|
3258
|
+
return this.h9v_1;
|
|
3231
3259
|
};
|
|
3232
3260
|
protoOf($serializer_0).vz = function () {
|
|
3233
3261
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3243,7 +3271,7 @@
|
|
|
3243
3271
|
}
|
|
3244
3272
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3245
3273
|
if (!(1 === (1 & seen0))) {
|
|
3246
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3274
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().h9v_1);
|
|
3247
3275
|
}
|
|
3248
3276
|
$this.actions = actions;
|
|
3249
3277
|
return $this;
|
|
@@ -3254,7 +3282,7 @@
|
|
|
3254
3282
|
function ActionsStateUpdateDto(actions) {
|
|
3255
3283
|
this.actions = actions;
|
|
3256
3284
|
}
|
|
3257
|
-
protoOf(ActionsStateUpdateDto).
|
|
3285
|
+
protoOf(ActionsStateUpdateDto).r8b = function () {
|
|
3258
3286
|
return this.actions;
|
|
3259
3287
|
};
|
|
3260
3288
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
@@ -3306,28 +3334,28 @@
|
|
|
3306
3334
|
var tmp$ret$0 = mapToDto(item);
|
|
3307
3335
|
destination.j(tmp$ret$0);
|
|
3308
3336
|
}
|
|
3309
|
-
return new ActionsStateUpdateDto(encoderDecoderProvider.
|
|
3337
|
+
return new ActionsStateUpdateDto(encoderDecoderProvider.k8i(destination));
|
|
3310
3338
|
}
|
|
3311
3339
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3312
|
-
return new TableStateUpdateDto(encoderDecoderProvider.
|
|
3340
|
+
return new TableStateUpdateDto(encoderDecoderProvider.i8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3313
3341
|
}
|
|
3314
3342
|
function ServerStateUpdate() {
|
|
3315
3343
|
}
|
|
3316
3344
|
function TableStateUpdate(table) {
|
|
3317
3345
|
this.table = table;
|
|
3318
3346
|
}
|
|
3319
|
-
protoOf(TableStateUpdate).
|
|
3347
|
+
protoOf(TableStateUpdate).n6n = function () {
|
|
3320
3348
|
return this.table;
|
|
3321
3349
|
};
|
|
3322
3350
|
protoOf(TableStateUpdate).ne = function () {
|
|
3323
3351
|
return this.table;
|
|
3324
3352
|
};
|
|
3325
|
-
protoOf(TableStateUpdate).
|
|
3353
|
+
protoOf(TableStateUpdate).j9v = function (table) {
|
|
3326
3354
|
return new TableStateUpdate(table);
|
|
3327
3355
|
};
|
|
3328
3356
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3329
3357
|
table = table === VOID ? this.table : table;
|
|
3330
|
-
return $super === VOID ? this.
|
|
3358
|
+
return $super === VOID ? this.j9v(table) : $super.j9v.call(this, table);
|
|
3331
3359
|
};
|
|
3332
3360
|
protoOf(TableStateUpdate).toString = function () {
|
|
3333
3361
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3347,18 +3375,18 @@
|
|
|
3347
3375
|
function ActionsStateUpdate(actions) {
|
|
3348
3376
|
this.actions = actions;
|
|
3349
3377
|
}
|
|
3350
|
-
protoOf(ActionsStateUpdate).
|
|
3378
|
+
protoOf(ActionsStateUpdate).r8b = function () {
|
|
3351
3379
|
return this.actions;
|
|
3352
3380
|
};
|
|
3353
3381
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3354
3382
|
return this.actions;
|
|
3355
3383
|
};
|
|
3356
|
-
protoOf(ActionsStateUpdate).
|
|
3384
|
+
protoOf(ActionsStateUpdate).k9v = function (actions) {
|
|
3357
3385
|
return new ActionsStateUpdate(actions);
|
|
3358
3386
|
};
|
|
3359
3387
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3360
3388
|
actions = actions === VOID ? this.actions : actions;
|
|
3361
|
-
return $super === VOID ? this.
|
|
3389
|
+
return $super === VOID ? this.k9v(actions) : $super.k9v.call(this, actions);
|
|
3362
3390
|
};
|
|
3363
3391
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3364
3392
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3603,18 +3631,18 @@
|
|
|
3603
3631
|
function ToClientEventsObserver() {
|
|
3604
3632
|
}
|
|
3605
3633
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3606
|
-
this.
|
|
3607
|
-
this.
|
|
3634
|
+
this.u9v_1 = this$0;
|
|
3635
|
+
this.v9v_1 = $actions;
|
|
3608
3636
|
CoroutineImpl.call(this, resultContinuation);
|
|
3609
3637
|
}
|
|
3610
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3611
|
-
var tmp = this.
|
|
3638
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).y9v = function ($this$flow, $completion) {
|
|
3639
|
+
var tmp = this.z9v($this$flow, $completion);
|
|
3612
3640
|
tmp.t8_1 = Unit_instance;
|
|
3613
3641
|
tmp.u8_1 = null;
|
|
3614
3642
|
return tmp.z8();
|
|
3615
3643
|
};
|
|
3616
3644
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3617
|
-
return this.
|
|
3645
|
+
return this.y9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3618
3646
|
};
|
|
3619
3647
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3620
3648
|
var suspendResult = this.t8_1;
|
|
@@ -3624,19 +3652,19 @@
|
|
|
3624
3652
|
switch (tmp) {
|
|
3625
3653
|
case 0:
|
|
3626
3654
|
this.s8_1 = 4;
|
|
3627
|
-
this.
|
|
3628
|
-
this.
|
|
3655
|
+
this.u9v_1.e9w_1;
|
|
3656
|
+
this.x9v_1 = transformToEmits(this.u9v_1, this.v9v_1).l();
|
|
3629
3657
|
this.r8_1 = 1;
|
|
3630
3658
|
continue $sm;
|
|
3631
3659
|
case 1:
|
|
3632
|
-
if (!this.
|
|
3660
|
+
if (!this.x9v_1.m()) {
|
|
3633
3661
|
this.r8_1 = 3;
|
|
3634
3662
|
continue $sm;
|
|
3635
3663
|
}
|
|
3636
3664
|
|
|
3637
|
-
var element = this.
|
|
3665
|
+
var element = this.x9v_1.n();
|
|
3638
3666
|
this.r8_1 = 2;
|
|
3639
|
-
suspendResult = this.
|
|
3667
|
+
suspendResult = this.w9v_1.l28(element, this);
|
|
3640
3668
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3641
3669
|
return suspendResult;
|
|
3642
3670
|
}
|
|
@@ -3646,11 +3674,11 @@
|
|
|
3646
3674
|
this.r8_1 = 1;
|
|
3647
3675
|
continue $sm;
|
|
3648
3676
|
case 3:
|
|
3649
|
-
var tmp0 = this.
|
|
3677
|
+
var tmp0 = this.u9v_1.d9w_1;
|
|
3650
3678
|
l$ret$1: do {
|
|
3651
3679
|
while (true) {
|
|
3652
3680
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3653
|
-
var upd = cur - this.
|
|
3681
|
+
var upd = cur - this.v9v_1.o() | 0;
|
|
3654
3682
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3655
3683
|
break l$ret$1;
|
|
3656
3684
|
}
|
|
@@ -3672,15 +3700,15 @@
|
|
|
3672
3700
|
}
|
|
3673
3701
|
while (true);
|
|
3674
3702
|
};
|
|
3675
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3676
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3677
|
-
i.
|
|
3703
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z9v = function ($this$flow, completion) {
|
|
3704
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.u9v_1, this.v9v_1, completion);
|
|
3705
|
+
i.w9v_1 = $this$flow;
|
|
3678
3706
|
return i;
|
|
3679
3707
|
};
|
|
3680
3708
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3681
3709
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3682
3710
|
var l = function ($this$flow, $completion) {
|
|
3683
|
-
return i.
|
|
3711
|
+
return i.y9v($this$flow, $completion);
|
|
3684
3712
|
};
|
|
3685
3713
|
l.$arity = 1;
|
|
3686
3714
|
return l;
|
|
@@ -3750,29 +3778,29 @@
|
|
|
3750
3778
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3751
3779
|
}
|
|
3752
3780
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3753
|
-
var tmp = $this.
|
|
3781
|
+
var tmp = $this.c9w_1.z6d();
|
|
3754
3782
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3755
|
-
var this_0 = _this__u8e3s4.
|
|
3783
|
+
var this_0 = _this__u8e3s4.h9w_1;
|
|
3756
3784
|
var tmp_0 = copyToArray(this_0);
|
|
3757
3785
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3758
|
-
var this_1 = _this__u8e3s4.
|
|
3786
|
+
var this_1 = _this__u8e3s4.i9w_1;
|
|
3759
3787
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3760
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3788
|
+
return new ActionDeliveryPayload(_this__u8e3s4.g9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.j9w_1);
|
|
3761
3789
|
}
|
|
3762
3790
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3763
|
-
this.
|
|
3764
|
-
this.
|
|
3765
|
-
this.
|
|
3766
|
-
this.
|
|
3791
|
+
this.g9w_1 = tableId;
|
|
3792
|
+
this.h9w_1 = includePlayers;
|
|
3793
|
+
this.i9w_1 = excludePlayers;
|
|
3794
|
+
this.j9w_1 = deliveryType;
|
|
3767
3795
|
}
|
|
3768
3796
|
protoOf(GroupKey).toString = function () {
|
|
3769
|
-
return 'GroupKey(tableId=' + this.
|
|
3797
|
+
return 'GroupKey(tableId=' + this.g9w_1 + ', includePlayers=' + toString(this.h9w_1) + ', excludePlayers=' + toString(this.i9w_1) + ', deliveryType=' + this.j9w_1.toString() + ')';
|
|
3770
3798
|
};
|
|
3771
3799
|
protoOf(GroupKey).hashCode = function () {
|
|
3772
|
-
var result = getStringHashCode(this.
|
|
3773
|
-
result = imul(result, 31) + hashCode(this.
|
|
3774
|
-
result = imul(result, 31) + hashCode(this.
|
|
3775
|
-
result = imul(result, 31) + this.
|
|
3800
|
+
var result = getStringHashCode(this.g9w_1);
|
|
3801
|
+
result = imul(result, 31) + hashCode(this.h9w_1) | 0;
|
|
3802
|
+
result = imul(result, 31) + hashCode(this.i9w_1) | 0;
|
|
3803
|
+
result = imul(result, 31) + this.j9w_1.hashCode() | 0;
|
|
3776
3804
|
return result;
|
|
3777
3805
|
};
|
|
3778
3806
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3780,35 +3808,35 @@
|
|
|
3780
3808
|
return true;
|
|
3781
3809
|
if (!(other instanceof GroupKey))
|
|
3782
3810
|
return false;
|
|
3783
|
-
if (!(this.
|
|
3811
|
+
if (!(this.g9w_1 === other.g9w_1))
|
|
3784
3812
|
return false;
|
|
3785
|
-
if (!equals(this.
|
|
3813
|
+
if (!equals(this.h9w_1, other.h9w_1))
|
|
3786
3814
|
return false;
|
|
3787
|
-
if (!equals(this.
|
|
3815
|
+
if (!equals(this.i9w_1, other.i9w_1))
|
|
3788
3816
|
return false;
|
|
3789
|
-
if (!this.
|
|
3817
|
+
if (!this.j9w_1.equals(other.j9w_1))
|
|
3790
3818
|
return false;
|
|
3791
3819
|
return true;
|
|
3792
3820
|
};
|
|
3793
3821
|
function Companion_4() {
|
|
3794
|
-
this.
|
|
3822
|
+
this.k9w_1 = 6;
|
|
3795
3823
|
}
|
|
3796
3824
|
var Companion_instance_12;
|
|
3797
3825
|
function Companion_getInstance_5() {
|
|
3798
3826
|
return Companion_instance_12;
|
|
3799
3827
|
}
|
|
3800
3828
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3801
|
-
this.
|
|
3829
|
+
this.t9w_1 = this$0;
|
|
3802
3830
|
CoroutineImpl.call(this, resultContinuation);
|
|
3803
3831
|
}
|
|
3804
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3805
|
-
var tmp = this.
|
|
3832
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).v9w = function (actions, $completion) {
|
|
3833
|
+
var tmp = this.w9w(actions, $completion);
|
|
3806
3834
|
tmp.t8_1 = Unit_instance;
|
|
3807
3835
|
tmp.u8_1 = null;
|
|
3808
3836
|
return tmp.z8();
|
|
3809
3837
|
};
|
|
3810
3838
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3811
|
-
return this.
|
|
3839
|
+
return this.v9w((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3812
3840
|
};
|
|
3813
3841
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3814
3842
|
var suspendResult = this.t8_1;
|
|
@@ -3817,7 +3845,7 @@
|
|
|
3817
3845
|
var tmp = this.r8_1;
|
|
3818
3846
|
if (tmp === 0) {
|
|
3819
3847
|
this.s8_1 = 1;
|
|
3820
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3848
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.t9w_1, this.u9w_1, null));
|
|
3821
3849
|
} else if (tmp === 1) {
|
|
3822
3850
|
throw this.u8_1;
|
|
3823
3851
|
}
|
|
@@ -3827,23 +3855,23 @@
|
|
|
3827
3855
|
}
|
|
3828
3856
|
while (true);
|
|
3829
3857
|
};
|
|
3830
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3831
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3832
|
-
i.
|
|
3858
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9w = function (actions, completion) {
|
|
3859
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.t9w_1, completion);
|
|
3860
|
+
i.u9w_1 = actions;
|
|
3833
3861
|
return i;
|
|
3834
3862
|
};
|
|
3835
3863
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3836
3864
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3837
3865
|
var l = function (actions, $completion) {
|
|
3838
|
-
return i.
|
|
3866
|
+
return i.v9w(actions, $completion);
|
|
3839
3867
|
};
|
|
3840
3868
|
l.$arity = 1;
|
|
3841
3869
|
return l;
|
|
3842
3870
|
}
|
|
3843
3871
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3844
3872
|
CoroutineImpl.call(this, resultContinuation);
|
|
3845
|
-
this.
|
|
3846
|
-
this.
|
|
3873
|
+
this.f9x_1 = _this__u8e3s4;
|
|
3874
|
+
this.g9x_1 = fromEvent;
|
|
3847
3875
|
}
|
|
3848
3876
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3849
3877
|
var suspendResult = this.t8_1;
|
|
@@ -3853,8 +3881,8 @@
|
|
|
3853
3881
|
switch (tmp) {
|
|
3854
3882
|
case 0:
|
|
3855
3883
|
this.s8_1 = 2;
|
|
3856
|
-
this.
|
|
3857
|
-
var tmp0 = this.
|
|
3884
|
+
this.f9x_1.e9w_1;
|
|
3885
|
+
var tmp0 = this.f9x_1.d9w_1;
|
|
3858
3886
|
l$ret$1: do {
|
|
3859
3887
|
while (true) {
|
|
3860
3888
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3866,7 +3894,7 @@
|
|
|
3866
3894
|
}
|
|
3867
3895
|
while (false);
|
|
3868
3896
|
this.r8_1 = 1;
|
|
3869
|
-
suspendResult = this.f9w_1.
|
|
3897
|
+
suspendResult = this.f9x_1.f9w_1.l28(this.g9x_1, this);
|
|
3870
3898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3871
3899
|
return suspendResult;
|
|
3872
3900
|
}
|
|
@@ -3890,7 +3918,7 @@
|
|
|
3890
3918
|
};
|
|
3891
3919
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3892
3920
|
CoroutineImpl.call(this, resultContinuation);
|
|
3893
|
-
this.
|
|
3921
|
+
this.p9x_1 = _this__u8e3s4;
|
|
3894
3922
|
}
|
|
3895
3923
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3896
3924
|
var suspendResult = this.t8_1;
|
|
@@ -3900,12 +3928,12 @@
|
|
|
3900
3928
|
switch (tmp) {
|
|
3901
3929
|
case 0:
|
|
3902
3930
|
this.s8_1 = 5;
|
|
3903
|
-
this.
|
|
3904
|
-
this.
|
|
3931
|
+
this.p9x_1.e9w_1;
|
|
3932
|
+
this.q9x_1 = 0;
|
|
3905
3933
|
this.r8_1 = 1;
|
|
3906
3934
|
continue $sm;
|
|
3907
3935
|
case 1:
|
|
3908
|
-
if (!!(this.
|
|
3936
|
+
if (!!(this.p9x_1.d9w_1.kotlinx$atomicfu$value === 0)) {
|
|
3909
3937
|
this.r8_1 = 4;
|
|
3910
3938
|
continue $sm;
|
|
3911
3939
|
}
|
|
@@ -3918,9 +3946,9 @@
|
|
|
3918
3946
|
|
|
3919
3947
|
continue $sm;
|
|
3920
3948
|
case 2:
|
|
3921
|
-
this.
|
|
3922
|
-
if (this.
|
|
3923
|
-
this.
|
|
3949
|
+
this.q9x_1 = this.q9x_1 + 1 | 0;
|
|
3950
|
+
if (this.q9x_1 > 6) {
|
|
3951
|
+
this.p9x_1.b9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.p9x_1.d9w_1.kotlinx$atomicfu$value);
|
|
3924
3952
|
this.r8_1 = 4;
|
|
3925
3953
|
continue $sm;
|
|
3926
3954
|
} else {
|
|
@@ -3948,183 +3976,183 @@
|
|
|
3948
3976
|
while (true);
|
|
3949
3977
|
};
|
|
3950
3978
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3951
|
-
this.
|
|
3952
|
-
this.
|
|
3953
|
-
this.
|
|
3954
|
-
this.
|
|
3979
|
+
this.a9w_1 = serverReduxConfig;
|
|
3980
|
+
this.b9w_1 = logger;
|
|
3981
|
+
this.c9w_1 = idsProvider;
|
|
3982
|
+
this.d9w_1 = atomic$ref$1(0);
|
|
3955
3983
|
var tmp = this;
|
|
3956
3984
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3957
|
-
tmp.
|
|
3958
|
-
this.
|
|
3985
|
+
tmp.e9w_1 = get_atomicfu$reentrantLock();
|
|
3986
|
+
this.f9w_1 = MutableSharedFlow();
|
|
3959
3987
|
}
|
|
3960
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3988
|
+
protoOf(ToClientEventsObserverImpl).l9v = function (fromEvent, $completion) {
|
|
3961
3989
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
3962
3990
|
tmp.t8_1 = Unit_instance;
|
|
3963
3991
|
tmp.u8_1 = null;
|
|
3964
3992
|
return tmp.z8();
|
|
3965
3993
|
};
|
|
3966
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3994
|
+
protoOf(ToClientEventsObserverImpl).q96 = function ($completion) {
|
|
3967
3995
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
3968
3996
|
tmp.t8_1 = Unit_instance;
|
|
3969
3997
|
tmp.u8_1 = null;
|
|
3970
3998
|
return tmp.z8();
|
|
3971
3999
|
};
|
|
3972
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3973
|
-
if (!this.
|
|
3974
|
-
return this.
|
|
4000
|
+
protoOf(ToClientEventsObserverImpl).e9m = function () {
|
|
4001
|
+
if (!this.a9w_1.enabledCombinedEvents) {
|
|
4002
|
+
return this.f9w_1;
|
|
3975
4003
|
}
|
|
3976
|
-
var tmp = windowedByInterval(this.
|
|
4004
|
+
var tmp = windowedByInterval(this.f9w_1, fromInt(this.a9w_1.combinedEventsIntervalMillis));
|
|
3977
4005
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3978
4006
|
};
|
|
3979
4007
|
function UpdateServerConfigAction(serverConfig) {
|
|
3980
|
-
this.
|
|
4008
|
+
this.r9x_1 = serverConfig;
|
|
3981
4009
|
}
|
|
3982
4010
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3983
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4011
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.r9x_1.toString() + ')';
|
|
3984
4012
|
};
|
|
3985
4013
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3986
|
-
return this.
|
|
4014
|
+
return this.r9x_1.hashCode();
|
|
3987
4015
|
};
|
|
3988
4016
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3989
4017
|
if (this === other)
|
|
3990
4018
|
return true;
|
|
3991
4019
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3992
4020
|
return false;
|
|
3993
|
-
if (!this.
|
|
4021
|
+
if (!this.r9x_1.equals(other.r9x_1))
|
|
3994
4022
|
return false;
|
|
3995
4023
|
return true;
|
|
3996
4024
|
};
|
|
3997
4025
|
function SpectatorsAction() {
|
|
3998
4026
|
}
|
|
3999
4027
|
function AddSpectatorsAction(spectators) {
|
|
4000
|
-
this.
|
|
4028
|
+
this.s9x_1 = spectators;
|
|
4001
4029
|
}
|
|
4002
4030
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4003
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4031
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.s9x_1) + ')';
|
|
4004
4032
|
};
|
|
4005
4033
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4006
|
-
return hashCode(this.
|
|
4034
|
+
return hashCode(this.s9x_1);
|
|
4007
4035
|
};
|
|
4008
4036
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4009
4037
|
if (this === other)
|
|
4010
4038
|
return true;
|
|
4011
4039
|
if (!(other instanceof AddSpectatorsAction))
|
|
4012
4040
|
return false;
|
|
4013
|
-
if (!equals(this.
|
|
4041
|
+
if (!equals(this.s9x_1, other.s9x_1))
|
|
4014
4042
|
return false;
|
|
4015
4043
|
return true;
|
|
4016
4044
|
};
|
|
4017
4045
|
function RemoveSpectatorsAction(spectators) {
|
|
4018
|
-
this.
|
|
4046
|
+
this.t9x_1 = spectators;
|
|
4019
4047
|
}
|
|
4020
4048
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4021
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4049
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.t9x_1) + ')';
|
|
4022
4050
|
};
|
|
4023
4051
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4024
|
-
return hashCode(this.
|
|
4052
|
+
return hashCode(this.t9x_1);
|
|
4025
4053
|
};
|
|
4026
4054
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4027
4055
|
if (this === other)
|
|
4028
4056
|
return true;
|
|
4029
4057
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4030
4058
|
return false;
|
|
4031
|
-
if (!equals(this.
|
|
4059
|
+
if (!equals(this.t9x_1, other.t9x_1))
|
|
4032
4060
|
return false;
|
|
4033
4061
|
return true;
|
|
4034
4062
|
};
|
|
4035
4063
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4036
|
-
var tmp0 = $this.
|
|
4064
|
+
var tmp0 = $this.z9x_1;
|
|
4037
4065
|
var tmp = KProperty1;
|
|
4038
4066
|
// Inline function 'kotlin.getValue' call
|
|
4039
4067
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4040
4068
|
return tmp0.w();
|
|
4041
4069
|
}
|
|
4042
4070
|
function _get_logger__rkp4sl_0($this) {
|
|
4043
|
-
var tmp0 = $this.
|
|
4071
|
+
var tmp0 = $this.a9y_1;
|
|
4044
4072
|
var tmp = KProperty1;
|
|
4045
4073
|
// Inline function 'kotlin.getValue' call
|
|
4046
4074
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4047
4075
|
return tmp0.w();
|
|
4048
4076
|
}
|
|
4049
4077
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4050
|
-
var tmp0 = $this.
|
|
4078
|
+
var tmp0 = $this.b9y_1;
|
|
4051
4079
|
var tmp = KProperty1;
|
|
4052
4080
|
// Inline function 'kotlin.getValue' call
|
|
4053
4081
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4054
4082
|
return tmp0.w();
|
|
4055
4083
|
}
|
|
4056
4084
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4057
|
-
var tmp0 = $this.
|
|
4085
|
+
var tmp0 = $this.c9y_1;
|
|
4058
4086
|
var tmp = KProperty1;
|
|
4059
4087
|
// Inline function 'kotlin.getValue' call
|
|
4060
4088
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4061
4089
|
return tmp0.w();
|
|
4062
4090
|
}
|
|
4063
4091
|
function _get_serverConfig__rk2g06($this) {
|
|
4064
|
-
var tmp0 = $this.
|
|
4092
|
+
var tmp0 = $this.d9y_1;
|
|
4065
4093
|
var tmp = KProperty1;
|
|
4066
4094
|
// Inline function 'kotlin.getValue' call
|
|
4067
4095
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4068
4096
|
return tmp0.w();
|
|
4069
4097
|
}
|
|
4070
4098
|
function _get_logicConfig__52ww9d($this) {
|
|
4071
|
-
var tmp0 = $this.
|
|
4099
|
+
var tmp0 = $this.e9y_1;
|
|
4072
4100
|
var tmp = KProperty1;
|
|
4073
4101
|
// Inline function 'kotlin.getValue' call
|
|
4074
4102
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4075
4103
|
return tmp0.w();
|
|
4076
4104
|
}
|
|
4077
4105
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4078
|
-
var tmp0 = $this.
|
|
4106
|
+
var tmp0 = $this.f9y_1;
|
|
4079
4107
|
var tmp = KProperty1;
|
|
4080
4108
|
// Inline function 'kotlin.getValue' call
|
|
4081
4109
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4082
4110
|
return tmp0.w();
|
|
4083
4111
|
}
|
|
4084
4112
|
function _get_botConfig__cpaxzc($this) {
|
|
4085
|
-
var tmp0 = $this.
|
|
4113
|
+
var tmp0 = $this.g9y_1;
|
|
4086
4114
|
var tmp = KProperty1;
|
|
4087
4115
|
// Inline function 'kotlin.getValue' call
|
|
4088
4116
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4089
4117
|
return tmp0.w();
|
|
4090
4118
|
}
|
|
4091
4119
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4092
|
-
var tmp0 = $this.
|
|
4120
|
+
var tmp0 = $this.h9y_1;
|
|
4093
4121
|
var tmp = KProperty1;
|
|
4094
4122
|
// Inline function 'kotlin.getValue' call
|
|
4095
4123
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4096
4124
|
return tmp0.w();
|
|
4097
4125
|
}
|
|
4098
4126
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4099
|
-
var tmp0 = $this.
|
|
4127
|
+
var tmp0 = $this.i9y_1;
|
|
4100
4128
|
var tmp = KProperty1;
|
|
4101
4129
|
// Inline function 'kotlin.getValue' call
|
|
4102
4130
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4103
4131
|
return tmp0.w();
|
|
4104
4132
|
}
|
|
4105
4133
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4106
|
-
var tmp0 = $this.
|
|
4134
|
+
var tmp0 = $this.j9y_1;
|
|
4107
4135
|
var tmp = KProperty1;
|
|
4108
4136
|
// Inline function 'kotlin.getValue' call
|
|
4109
4137
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4110
4138
|
return tmp0.w();
|
|
4111
4139
|
}
|
|
4112
4140
|
function _get_dealerConfig__183ci8($this) {
|
|
4113
|
-
var tmp0 = $this.
|
|
4141
|
+
var tmp0 = $this.k9y_1;
|
|
4114
4142
|
var tmp = KProperty1;
|
|
4115
4143
|
// Inline function 'kotlin.getValue' call
|
|
4116
4144
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4117
4145
|
return tmp0.w();
|
|
4118
4146
|
}
|
|
4119
4147
|
function _get_poolProvider__tqti6a($this) {
|
|
4120
|
-
var tmp0 = $this.
|
|
4148
|
+
var tmp0 = $this.l9y_1;
|
|
4121
4149
|
var tmp = KProperty1;
|
|
4122
4150
|
// Inline function 'kotlin.getValue' call
|
|
4123
4151
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4124
4152
|
return tmp0.w();
|
|
4125
4153
|
}
|
|
4126
4154
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4127
|
-
var tmp0 = $this.
|
|
4155
|
+
var tmp0 = $this.m9y_1;
|
|
4128
4156
|
var tmp = KProperty1;
|
|
4129
4157
|
// Inline function 'kotlin.getValue' call
|
|
4130
4158
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4288,11 +4316,11 @@
|
|
|
4288
4316
|
tmp = fileLoggerStoreContract;
|
|
4289
4317
|
}
|
|
4290
4318
|
fileLoggerStoreContract = tmp;
|
|
4291
|
-
this.
|
|
4292
|
-
this.
|
|
4293
|
-
this.
|
|
4294
|
-
this.
|
|
4295
|
-
this.
|
|
4319
|
+
this.u9x_1 = validationStoreContract;
|
|
4320
|
+
this.v9x_1 = timersStoreContract;
|
|
4321
|
+
this.w9x_1 = botGameStoreContract;
|
|
4322
|
+
this.x9x_1 = gameMechanicStoreContract;
|
|
4323
|
+
this.y9x_1 = fileLoggerStoreContract;
|
|
4296
4324
|
var tmp_0 = this;
|
|
4297
4325
|
// Inline function 'org.kodein.di.instance' call
|
|
4298
4326
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4300,7 +4328,7 @@
|
|
|
4300
4328
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4301
4329
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4302
4330
|
var tmp_3 = KProperty1;
|
|
4303
|
-
tmp_0.
|
|
4331
|
+
tmp_0.z9x_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4304
4332
|
var tmp_4 = this;
|
|
4305
4333
|
// Inline function 'org.kodein.di.instance' call
|
|
4306
4334
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4308,7 +4336,7 @@
|
|
|
4308
4336
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4309
4337
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4310
4338
|
var tmp_7 = KProperty1;
|
|
4311
|
-
tmp_4.
|
|
4339
|
+
tmp_4.a9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4312
4340
|
var tmp_8 = this;
|
|
4313
4341
|
// Inline function 'org.kodein.di.instance' call
|
|
4314
4342
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4316,7 +4344,7 @@
|
|
|
4316
4344
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4317
4345
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4318
4346
|
var tmp_11 = KProperty1;
|
|
4319
|
-
tmp_8.
|
|
4347
|
+
tmp_8.b9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4320
4348
|
var tmp_12 = this;
|
|
4321
4349
|
// Inline function 'org.kodein.di.instance' call
|
|
4322
4350
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4324,7 +4352,7 @@
|
|
|
4324
4352
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4325
4353
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4326
4354
|
var tmp_15 = KProperty1;
|
|
4327
|
-
tmp_12.
|
|
4355
|
+
tmp_12.c9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4328
4356
|
var tmp_16 = this;
|
|
4329
4357
|
// Inline function 'org.kodein.di.instance' call
|
|
4330
4358
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4332,7 +4360,7 @@
|
|
|
4332
4360
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4333
4361
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4334
4362
|
var tmp_19 = KProperty1;
|
|
4335
|
-
tmp_16.
|
|
4363
|
+
tmp_16.d9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4336
4364
|
var tmp_20 = this;
|
|
4337
4365
|
// Inline function 'org.kodein.di.instance' call
|
|
4338
4366
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4340,7 +4368,7 @@
|
|
|
4340
4368
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4341
4369
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4342
4370
|
var tmp_23 = KProperty1;
|
|
4343
|
-
tmp_20.
|
|
4371
|
+
tmp_20.e9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4344
4372
|
var tmp_24 = this;
|
|
4345
4373
|
// Inline function 'org.kodein.di.instance' call
|
|
4346
4374
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4348,7 +4376,7 @@
|
|
|
4348
4376
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4349
4377
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4350
4378
|
var tmp_27 = KProperty1;
|
|
4351
|
-
tmp_24.
|
|
4379
|
+
tmp_24.f9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4352
4380
|
var tmp_28 = this;
|
|
4353
4381
|
// Inline function 'org.kodein.di.instance' call
|
|
4354
4382
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4356,7 +4384,7 @@
|
|
|
4356
4384
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4357
4385
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4358
4386
|
var tmp_31 = KProperty1;
|
|
4359
|
-
tmp_28.
|
|
4387
|
+
tmp_28.g9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4360
4388
|
var tmp_32 = this;
|
|
4361
4389
|
// Inline function 'org.kodein.di.instance' call
|
|
4362
4390
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4364,7 +4392,7 @@
|
|
|
4364
4392
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4365
4393
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4366
4394
|
var tmp_35 = KProperty1;
|
|
4367
|
-
tmp_32.
|
|
4395
|
+
tmp_32.h9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4368
4396
|
var tmp_36 = this;
|
|
4369
4397
|
// Inline function 'org.kodein.di.instance' call
|
|
4370
4398
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4372,7 +4400,7 @@
|
|
|
4372
4400
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4373
4401
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4374
4402
|
var tmp_39 = KProperty1;
|
|
4375
|
-
tmp_36.
|
|
4403
|
+
tmp_36.i9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4376
4404
|
var tmp_40 = this;
|
|
4377
4405
|
// Inline function 'org.kodein.di.instance' call
|
|
4378
4406
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4380,7 +4408,7 @@
|
|
|
4380
4408
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4381
4409
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4382
4410
|
var tmp_43 = KProperty1;
|
|
4383
|
-
tmp_40.
|
|
4411
|
+
tmp_40.j9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4384
4412
|
var tmp_44 = this;
|
|
4385
4413
|
// Inline function 'org.kodein.di.instance' call
|
|
4386
4414
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4388,7 +4416,7 @@
|
|
|
4388
4416
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4389
4417
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4390
4418
|
var tmp_47 = KProperty1;
|
|
4391
|
-
tmp_44.
|
|
4419
|
+
tmp_44.k9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4392
4420
|
var tmp_48 = this;
|
|
4393
4421
|
// Inline function 'org.kodein.di.instance' call
|
|
4394
4422
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4396,7 +4424,7 @@
|
|
|
4396
4424
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4397
4425
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4398
4426
|
var tmp_51 = KProperty1;
|
|
4399
|
-
tmp_48.
|
|
4427
|
+
tmp_48.l9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4400
4428
|
var tmp_52 = this;
|
|
4401
4429
|
// Inline function 'org.kodein.di.instance' call
|
|
4402
4430
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4404,13 +4432,13 @@
|
|
|
4404
4432
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4405
4433
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4406
4434
|
var tmp_55 = KProperty1;
|
|
4407
|
-
tmp_52.
|
|
4435
|
+
tmp_52.m9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4408
4436
|
}
|
|
4409
|
-
protoOf(ServerGameStoreContract).
|
|
4410
|
-
return plus(plus(plus(plus(plus(this.
|
|
4437
|
+
protoOf(ServerGameStoreContract).e8y = function () {
|
|
4438
|
+
return plus(plus(plus(plus(plus(this.u9x_1.e8y(), this.x9x_1.e8y()), this.v9x_1.e8y()), this.w9x_1.e8y()), this.y9x_1.e8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4411
4439
|
};
|
|
4412
|
-
protoOf(ServerGameStoreContract).
|
|
4413
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4440
|
+
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4441
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.u9x_1.f8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.x9x_1.f8y()), this.v9x_1.f8y()), this.w9x_1.f8y()), this.y9x_1.f8y()), 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))).l90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4414
4442
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4415
4443
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4416
4444
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4437,46 +4465,46 @@
|
|
|
4437
4465
|
}
|
|
4438
4466
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4439
4467
|
}
|
|
4440
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4468
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4441
4469
|
return action instanceof RoundEndedAction;
|
|
4442
4470
|
};
|
|
4443
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4471
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
4444
4472
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4445
4473
|
$l$block_0: {
|
|
4446
4474
|
next(tmp4);
|
|
4447
4475
|
var state = store.state;
|
|
4448
4476
|
if (tmp4.isGameFinished) {
|
|
4449
4477
|
if (!get_serverStatePayload_0(state).config.canStartNewGame) {
|
|
4450
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
4478
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.l6m_1));
|
|
4451
4479
|
break $l$block_0;
|
|
4452
4480
|
}
|
|
4453
|
-
if (state.
|
|
4454
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.
|
|
4481
|
+
if (state.n6n().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4482
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.l6m_1));
|
|
4455
4483
|
break $l$block_0;
|
|
4456
4484
|
}
|
|
4457
4485
|
}
|
|
4458
4486
|
}
|
|
4459
4487
|
};
|
|
4460
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4461
|
-
return this.
|
|
4488
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
4489
|
+
return this.m6h(store, next, action);
|
|
4462
4490
|
};
|
|
4463
4491
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4464
|
-
this.
|
|
4492
|
+
this.p9y_1 = this$0;
|
|
4465
4493
|
}
|
|
4466
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4494
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4467
4495
|
return action instanceof MechanicAction;
|
|
4468
4496
|
};
|
|
4469
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4497
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
4470
4498
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4471
4499
|
var state = store.state;
|
|
4472
4500
|
// Inline function 'kotlin.with' call
|
|
4473
4501
|
var tmp;
|
|
4474
4502
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4475
|
-
var tmp0 = this.
|
|
4476
|
-
var tmp2 = action_0.
|
|
4477
|
-
var tmp4 = action_0.
|
|
4503
|
+
var tmp0 = this.p9y_1;
|
|
4504
|
+
var tmp2 = action_0.p8u_1;
|
|
4505
|
+
var tmp4 = action_0.r8u_1;
|
|
4478
4506
|
// Inline function 'kotlin.collections.map' call
|
|
4479
|
-
var this_0 = action_0.
|
|
4507
|
+
var this_0 = action_0.s8u_1;
|
|
4480
4508
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4481
4509
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4482
4510
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4512,7 +4540,7 @@
|
|
|
4512
4540
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4513
4541
|
while (_iterator__ex2g4s_2.m()) {
|
|
4514
4542
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4515
|
-
var tmp0_aid = tmp0.
|
|
4543
|
+
var tmp0_aid = tmp0.o9y_1.z6d();
|
|
4516
4544
|
// Inline function 'kotlin.collections.map' call
|
|
4517
4545
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4518
4546
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4534,16 +4562,16 @@
|
|
|
4534
4562
|
tmp = destination_2;
|
|
4535
4563
|
} else {
|
|
4536
4564
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4537
|
-
var tmp0_0 = this.
|
|
4565
|
+
var tmp0_0 = this.p9y_1;
|
|
4538
4566
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4539
|
-
var table = state.
|
|
4540
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4567
|
+
var table = state.n6n();
|
|
4568
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.o9y_1.z6d(), table.id, null);
|
|
4541
4569
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4542
4570
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4543
4571
|
} else {
|
|
4544
4572
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4545
|
-
var tmp0_1 = this.
|
|
4546
|
-
var tmp2_0 = action_0.
|
|
4573
|
+
var tmp0_1 = this.p9y_1;
|
|
4574
|
+
var tmp2_0 = action_0.v8u_1.id;
|
|
4547
4575
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4548
4576
|
// Inline function 'kotlin.collections.map' call
|
|
4549
4577
|
var this_1 = action_0.users;
|
|
@@ -4582,7 +4610,7 @@
|
|
|
4582
4610
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4583
4611
|
while (_iterator__ex2g4s_7.m()) {
|
|
4584
4612
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4585
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4613
|
+
var tmp0_aid_0 = tmp0_1.o9y_1.z6d();
|
|
4586
4614
|
// Inline function 'kotlin.collections.map' call
|
|
4587
4615
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4588
4616
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4604,41 +4632,41 @@
|
|
|
4604
4632
|
tmp = destination_7;
|
|
4605
4633
|
} else {
|
|
4606
4634
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4607
|
-
var tmp0_2 = this.
|
|
4635
|
+
var tmp0_2 = this.p9y_1;
|
|
4608
4636
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4609
|
-
var table_0 = state.
|
|
4610
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4637
|
+
var table_0 = state.n6n();
|
|
4638
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.o9y_1.z6d(), table_0.id, null);
|
|
4611
4639
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4612
4640
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4613
4641
|
} else {
|
|
4614
4642
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4615
|
-
var tmp0_3 = this.
|
|
4643
|
+
var tmp0_3 = this.p9y_1;
|
|
4616
4644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4617
|
-
var table_1 = state.
|
|
4618
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4645
|
+
var table_1 = state.n6n();
|
|
4646
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.o9y_1.z6d(), table_1.id, null);
|
|
4619
4647
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4620
4648
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4621
4649
|
} else {
|
|
4622
4650
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4623
|
-
var tmp0_4 = this.
|
|
4651
|
+
var tmp0_4 = this.p9y_1;
|
|
4624
4652
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4625
|
-
var table_2 = state.
|
|
4626
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4653
|
+
var table_2 = state.n6n();
|
|
4654
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.o9y_1.z6d(), table_2.id, null);
|
|
4627
4655
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4628
4656
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4629
4657
|
} else {
|
|
4630
4658
|
if (action_0 instanceof ErrorAction) {
|
|
4631
|
-
var tmp0_5 = this.
|
|
4659
|
+
var tmp0_5 = this.p9y_1;
|
|
4632
4660
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4633
|
-
var table_3 = state.
|
|
4634
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4661
|
+
var table_3 = state.n6n();
|
|
4662
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.o9y_1.z6d(), table_3.id, null);
|
|
4635
4663
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4636
4664
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4637
4665
|
} else {
|
|
4638
4666
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4639
|
-
var tmp0_6 = this.
|
|
4667
|
+
var tmp0_6 = this.p9y_1;
|
|
4640
4668
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4641
|
-
var table_4 = state.
|
|
4669
|
+
var table_4 = state.n6n();
|
|
4642
4670
|
var tmp2_1 = table_4.id;
|
|
4643
4671
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4644
4672
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4669,7 +4697,7 @@
|
|
|
4669
4697
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4670
4698
|
while (_iterator__ex2g4s_11.m()) {
|
|
4671
4699
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4672
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4700
|
+
var tmp0_aid_1 = tmp0_6.o9y_1.z6d();
|
|
4673
4701
|
// Inline function 'kotlin.collections.map' call
|
|
4674
4702
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4675
4703
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4691,9 +4719,9 @@
|
|
|
4691
4719
|
tmp = destination_11;
|
|
4692
4720
|
} else {
|
|
4693
4721
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4694
|
-
var tmp0_7 = this.
|
|
4722
|
+
var tmp0_7 = this.p9y_1;
|
|
4695
4723
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4696
|
-
var table_5 = state.
|
|
4724
|
+
var table_5 = state.n6n();
|
|
4697
4725
|
var tmp2_2 = table_5.id;
|
|
4698
4726
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4699
4727
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4724,7 +4752,7 @@
|
|
|
4724
4752
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4725
4753
|
while (_iterator__ex2g4s_15.m()) {
|
|
4726
4754
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4727
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4755
|
+
var tmp0_aid_2 = tmp0_7.o9y_1.z6d();
|
|
4728
4756
|
// Inline function 'kotlin.collections.map' call
|
|
4729
4757
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4730
4758
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4746,9 +4774,9 @@
|
|
|
4746
4774
|
tmp = destination_15;
|
|
4747
4775
|
} else {
|
|
4748
4776
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4749
|
-
var tmp0_8 = this.
|
|
4777
|
+
var tmp0_8 = this.p9y_1;
|
|
4750
4778
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4751
|
-
var table_6 = state.
|
|
4779
|
+
var table_6 = state.n6n();
|
|
4752
4780
|
var tmp2_3 = table_6.id;
|
|
4753
4781
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4754
4782
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4779,7 +4807,7 @@
|
|
|
4779
4807
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4780
4808
|
while (_iterator__ex2g4s_19.m()) {
|
|
4781
4809
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4782
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4810
|
+
var tmp0_aid_3 = tmp0_8.o9y_1.z6d();
|
|
4783
4811
|
// Inline function 'kotlin.collections.map' call
|
|
4784
4812
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4785
4813
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4791,7 +4819,7 @@
|
|
|
4791
4819
|
}
|
|
4792
4820
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4793
4821
|
var tmp_0;
|
|
4794
|
-
if (this.
|
|
4822
|
+
if (this.p9y_1.n9y_1.supportBackwardActions && getPlayer(state.n6n().players, sendToPlayer_8.a7b_1).p6q_1.e6u_1) {
|
|
4795
4823
|
tmp_0 = null;
|
|
4796
4824
|
} else {
|
|
4797
4825
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4807,72 +4835,72 @@
|
|
|
4807
4835
|
tmp = destination_19;
|
|
4808
4836
|
} else {
|
|
4809
4837
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4810
|
-
var tmp0_9 = this.
|
|
4811
|
-
var tmp2_4 = state.
|
|
4838
|
+
var tmp0_9 = this.p9y_1;
|
|
4839
|
+
var tmp2_4 = state.n6n();
|
|
4812
4840
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4813
|
-
var exceptPlayerId = this.
|
|
4814
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4841
|
+
var exceptPlayerId = this.p9y_1.n9y_1.supportBackwardActions ? action_0.q8v_1 : null;
|
|
4842
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.o9y_1.z6d(), tmp2_4.id, exceptPlayerId);
|
|
4815
4843
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4816
4844
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4817
4845
|
} else {
|
|
4818
4846
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4819
|
-
var tmp0_10 = this.
|
|
4820
|
-
var tmp2_5 = state.
|
|
4847
|
+
var tmp0_10 = this.p9y_1;
|
|
4848
|
+
var tmp2_5 = state.n6n();
|
|
4821
4849
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4822
|
-
var exceptPlayerId_0 = this.
|
|
4823
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4850
|
+
var exceptPlayerId_0 = this.p9y_1.n9y_1.supportBackwardActions ? action_0.s8q_1 : null;
|
|
4851
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.o9y_1.z6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4824
4852
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4825
4853
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4826
4854
|
} else {
|
|
4827
4855
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4828
|
-
var tmp0_11 = this.
|
|
4856
|
+
var tmp0_11 = this.p9y_1;
|
|
4829
4857
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4830
|
-
var table_7 = state.
|
|
4831
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4858
|
+
var table_7 = state.n6n();
|
|
4859
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.o9y_1.z6d(), table_7.id, null);
|
|
4832
4860
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4833
4861
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4834
4862
|
} else {
|
|
4835
4863
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4836
|
-
var tmp0_12 = this.
|
|
4837
|
-
var tmp2_6 = state.
|
|
4864
|
+
var tmp0_12 = this.p9y_1;
|
|
4865
|
+
var tmp2_6 = state.n6n();
|
|
4838
4866
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4839
|
-
var exceptPlayerId_1 = this.
|
|
4840
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4867
|
+
var exceptPlayerId_1 = this.p9y_1.n9y_1.supportBackwardActions ? action_0.w8v_1 : null;
|
|
4868
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.o9y_1.z6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4841
4869
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4842
4870
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4843
4871
|
} else {
|
|
4844
4872
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4845
|
-
var tmp0_13 = this.
|
|
4846
|
-
var tmp2_7 = state.
|
|
4873
|
+
var tmp0_13 = this.p9y_1;
|
|
4874
|
+
var tmp2_7 = state.n6n();
|
|
4847
4875
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4848
|
-
var exceptPlayerId_2 = this.
|
|
4849
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4876
|
+
var exceptPlayerId_2 = this.p9y_1.n9y_1.supportBackwardActions ? action_0.x8q_1 : null;
|
|
4877
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.o9y_1.z6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4850
4878
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4851
4879
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4852
4880
|
} else {
|
|
4853
4881
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4854
|
-
var tmp0_14 = this.
|
|
4882
|
+
var tmp0_14 = this.p9y_1;
|
|
4855
4883
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4856
|
-
var table_8 = state.
|
|
4857
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4884
|
+
var table_8 = state.n6n();
|
|
4885
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.o9y_1.z6d(), table_8.id, null);
|
|
4858
4886
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4859
4887
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4860
4888
|
} else {
|
|
4861
4889
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4862
|
-
var tmp0_15 = this.
|
|
4890
|
+
var tmp0_15 = this.p9y_1;
|
|
4863
4891
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4864
|
-
var table_9 = state.
|
|
4865
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4892
|
+
var table_9 = state.n6n();
|
|
4893
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.o9y_1.z6d(), table_9.id, null);
|
|
4866
4894
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4867
4895
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4868
4896
|
} else {
|
|
4869
4897
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4870
|
-
var message = action_0.
|
|
4871
|
-
var tmp0_16 = this.
|
|
4872
|
-
var tmp2_8 = state.
|
|
4898
|
+
var message = action_0.a8w_1;
|
|
4899
|
+
var tmp0_16 = this.p9y_1;
|
|
4900
|
+
var tmp2_8 = state.n6n();
|
|
4873
4901
|
var tmp_1;
|
|
4874
4902
|
var tmp_2;
|
|
4875
|
-
if (this.
|
|
4903
|
+
if (this.p9y_1.n9y_1.supportBackwardActions) {
|
|
4876
4904
|
tmp_2 = isInterface(message, UserMessage);
|
|
4877
4905
|
} else {
|
|
4878
4906
|
tmp_2 = false;
|
|
@@ -4884,16 +4912,16 @@
|
|
|
4884
4912
|
}
|
|
4885
4913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4886
4914
|
var exceptPlayerId_3 = tmp_1;
|
|
4887
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4915
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.o9y_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4888
4916
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4889
4917
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4890
4918
|
} else {
|
|
4891
4919
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4892
|
-
var tmp0_17 = this.
|
|
4893
|
-
var tmp2_9 = state.
|
|
4920
|
+
var tmp0_17 = this.p9y_1;
|
|
4921
|
+
var tmp2_9 = state.n6n();
|
|
4894
4922
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4895
4923
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4896
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4924
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.o9y_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4897
4925
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4898
4926
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4899
4927
|
} else {
|
|
@@ -4926,14 +4954,14 @@
|
|
|
4926
4954
|
}
|
|
4927
4955
|
next(action_0);
|
|
4928
4956
|
};
|
|
4929
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4930
|
-
return this.
|
|
4957
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
4958
|
+
return this.m6h(store, next, action);
|
|
4931
4959
|
};
|
|
4932
4960
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4933
|
-
this.
|
|
4934
|
-
this.
|
|
4961
|
+
this.n9y_1 = logicConfig;
|
|
4962
|
+
this.o9y_1 = idsProvider;
|
|
4935
4963
|
}
|
|
4936
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4964
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).l90 = function () {
|
|
4937
4965
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4938
4966
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
4939
4967
|
};
|
|
@@ -4942,8 +4970,8 @@
|
|
|
4942
4970
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4943
4971
|
}
|
|
4944
4972
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4945
|
-
this.
|
|
4946
|
-
this.
|
|
4973
|
+
this.y9y_1 = $provider;
|
|
4974
|
+
this.z9y_1 = $action;
|
|
4947
4975
|
CoroutineImpl.call(this, resultContinuation);
|
|
4948
4976
|
}
|
|
4949
4977
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -4964,7 +4992,7 @@
|
|
|
4964
4992
|
case 0:
|
|
4965
4993
|
this.s8_1 = 2;
|
|
4966
4994
|
this.r8_1 = 1;
|
|
4967
|
-
suspendResult = this.
|
|
4995
|
+
suspendResult = this.y9y_1.l9v(this.z9y_1, this);
|
|
4968
4996
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4969
4997
|
return suspendResult;
|
|
4970
4998
|
}
|
|
@@ -4987,8 +5015,8 @@
|
|
|
4987
5015
|
while (true);
|
|
4988
5016
|
};
|
|
4989
5017
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
4990
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4991
|
-
i.
|
|
5018
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.y9y_1, this.z9y_1, completion);
|
|
5019
|
+
i.a9z_1 = $this$launchDefault;
|
|
4992
5020
|
return i;
|
|
4993
5021
|
};
|
|
4994
5022
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5000,19 +5028,19 @@
|
|
|
5000
5028
|
return l;
|
|
5001
5029
|
}
|
|
5002
5030
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5003
|
-
this.
|
|
5004
|
-
this.
|
|
5031
|
+
this.b9z_1 = $asyncProvider;
|
|
5032
|
+
this.c9z_1 = $provider;
|
|
5005
5033
|
}
|
|
5006
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5034
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5007
5035
|
return action instanceof ToClientAction;
|
|
5008
5036
|
};
|
|
5009
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5037
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5010
5038
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5011
|
-
this.
|
|
5039
|
+
this.b9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.c9z_1, action_0, null));
|
|
5012
5040
|
next(action_0);
|
|
5013
5041
|
};
|
|
5014
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5015
|
-
return this.
|
|
5042
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
5043
|
+
return this.m6h(store, next, action);
|
|
5016
5044
|
};
|
|
5017
5045
|
function serverConfigReducer() {
|
|
5018
5046
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5020,15 +5048,15 @@
|
|
|
5020
5048
|
}
|
|
5021
5049
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5022
5050
|
}
|
|
5023
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5051
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5024
5052
|
return action instanceof UpdateServerConfigAction;
|
|
5025
5053
|
};
|
|
5026
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5054
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).h98 = function (state, action) {
|
|
5027
5055
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5028
|
-
return state.
|
|
5056
|
+
return state.q8t(VOID, get_serverStatePayload_0(state).copy(action_0.r9x_1));
|
|
5029
5057
|
};
|
|
5030
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5031
|
-
return this.
|
|
5058
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5059
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5032
5060
|
};
|
|
5033
5061
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5034
5062
|
return function (it) {
|
|
@@ -5041,7 +5069,7 @@
|
|
|
5041
5069
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5042
5070
|
Companion_getInstance();
|
|
5043
5071
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5044
|
-
var this_0 = $action.
|
|
5072
|
+
var this_0 = $action.o8u_1.timeoutTimeMillis;
|
|
5045
5073
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5046
5074
|
tmp_0 = tmp_1.j67(tmp_2, tmp$ret$0);
|
|
5047
5075
|
}
|
|
@@ -5050,63 +5078,63 @@
|
|
|
5050
5078
|
}
|
|
5051
5079
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5052
5080
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5053
|
-
this.
|
|
5081
|
+
this.f9z_1 = logger;
|
|
5054
5082
|
}
|
|
5055
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5056
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
5083
|
+
protoOf(ServerMechanicLifecycleReducer).t99 = function (state, action) {
|
|
5084
|
+
var serverState = get_serverStatePayloadOrNull(state.m6m_1);
|
|
5057
5085
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5058
|
-
var tmp0_$this = this.
|
|
5059
|
-
var tmp1_tableId = action.
|
|
5060
|
-
var tmp2_gameId = action.
|
|
5061
|
-
var tmp3_version = action.
|
|
5062
|
-
var tmp4_config = action.
|
|
5063
|
-
var tmp5_users = action.
|
|
5086
|
+
var tmp0_$this = this.u99_1;
|
|
5087
|
+
var tmp1_tableId = action.p8u_1;
|
|
5088
|
+
var tmp2_gameId = action.p8u_1;
|
|
5089
|
+
var tmp3_version = action.q8u_1;
|
|
5090
|
+
var tmp4_config = action.o8u_1;
|
|
5091
|
+
var tmp5_users = action.s8u_1;
|
|
5064
5092
|
var tmp6_spectators = action.spectators;
|
|
5065
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5066
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5093
|
+
var tmp7_gameCreatorPlayerId = action.r8u_1;
|
|
5094
|
+
var tmp9_tableOrNull = tmp0_$this.a9b(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5067
5095
|
var tmp;
|
|
5068
5096
|
if (serverState == null) {
|
|
5069
|
-
this.
|
|
5097
|
+
this.f9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5070
5098
|
tmp = Companion_instance_13.initial();
|
|
5071
5099
|
} else {
|
|
5072
5100
|
tmp = serverState;
|
|
5073
5101
|
}
|
|
5074
5102
|
var tmp10_payload = tmp;
|
|
5075
|
-
return state.
|
|
5103
|
+
return state.q8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5076
5104
|
};
|
|
5077
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5105
|
+
protoOf(ServerMechanicLifecycleReducer).r99 = function (state, action) {
|
|
5078
5106
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5079
|
-
var tmp2_tableOrNull = action.
|
|
5107
|
+
var tmp2_tableOrNull = action.v8u_1;
|
|
5080
5108
|
var tmp = Companion_instance_13;
|
|
5081
5109
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5082
|
-
var tmp_1 = action.
|
|
5110
|
+
var tmp_1 = action.w8u_1;
|
|
5083
5111
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5084
5112
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5085
|
-
return state.
|
|
5113
|
+
return state.q8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5086
5114
|
};
|
|
5087
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5088
|
-
this.
|
|
5115
|
+
protoOf(ServerMechanicLifecycleReducer).s99 = function (state, action) {
|
|
5116
|
+
this.v99_1.l58(action.previousGameId);
|
|
5089
5117
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5090
|
-
var tmp1_tableOrNull = this.
|
|
5091
|
-
return state.
|
|
5118
|
+
var tmp1_tableOrNull = this.u99_1.b9b(state.n6n(), action.gameId);
|
|
5119
|
+
return state.q8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5092
5120
|
};
|
|
5093
5121
|
function spectatorsReducer(logger) {
|
|
5094
5122
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5095
5123
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5096
5124
|
}
|
|
5097
5125
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5098
|
-
this.
|
|
5126
|
+
this.g9z_1 = $logger;
|
|
5099
5127
|
}
|
|
5100
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5128
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5101
5129
|
return isInterface(action, SpectatorsAction);
|
|
5102
5130
|
};
|
|
5103
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5131
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).h98 = function (state, action) {
|
|
5104
5132
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5105
|
-
var table = state.
|
|
5133
|
+
var table = state.n6n();
|
|
5106
5134
|
var tmp;
|
|
5107
5135
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5108
5136
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5109
|
-
var tmp0 = action_0.
|
|
5137
|
+
var tmp0 = action_0.s9x_1;
|
|
5110
5138
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5111
5139
|
var destination = ArrayList_init_$Create$_0();
|
|
5112
5140
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5125,9 +5153,9 @@
|
|
|
5125
5153
|
var tmp_0;
|
|
5126
5154
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5127
5155
|
if (!sameSpectators.r()) {
|
|
5128
|
-
this.
|
|
5156
|
+
this.g9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5129
5157
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5130
|
-
var tmp0_0 = action_0.
|
|
5158
|
+
var tmp0_0 = action_0.s9x_1;
|
|
5131
5159
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5132
5160
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5133
5161
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5162,7 +5190,7 @@
|
|
|
5162
5190
|
}
|
|
5163
5191
|
tmp_0 = destination_0;
|
|
5164
5192
|
} else {
|
|
5165
|
-
tmp_0 = action_0.
|
|
5193
|
+
tmp_0 = action_0.s9x_1;
|
|
5166
5194
|
}
|
|
5167
5195
|
// Inline function 'kotlin.collections.map' call
|
|
5168
5196
|
var this_0 = tmp_0;
|
|
@@ -5175,11 +5203,11 @@
|
|
|
5175
5203
|
destination_1.j(tmp$ret$13);
|
|
5176
5204
|
}
|
|
5177
5205
|
var spectatorsToAdd = toSet(destination_1);
|
|
5178
|
-
tmp = state.
|
|
5206
|
+
tmp = state.q8t(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5179
5207
|
} else {
|
|
5180
5208
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5181
5209
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5182
|
-
var tmp0_1 = action_0.
|
|
5210
|
+
var tmp0_1 = action_0.t9x_1;
|
|
5183
5211
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5184
5212
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5185
5213
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5198,9 +5226,9 @@
|
|
|
5198
5226
|
var tmp_2;
|
|
5199
5227
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5200
5228
|
if (!sameSpectators_0.r()) {
|
|
5201
|
-
this.
|
|
5229
|
+
this.g9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5202
5230
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5203
|
-
var tmp0_2 = action_0.
|
|
5231
|
+
var tmp0_2 = action_0.t9x_1;
|
|
5204
5232
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5205
5233
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5206
5234
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5235,7 +5263,7 @@
|
|
|
5235
5263
|
}
|
|
5236
5264
|
tmp_2 = destination_3;
|
|
5237
5265
|
} else {
|
|
5238
|
-
tmp_2 = action_0.
|
|
5266
|
+
tmp_2 = action_0.t9x_1;
|
|
5239
5267
|
}
|
|
5240
5268
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5241
5269
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5272,24 +5300,24 @@
|
|
|
5272
5300
|
destination_4.j(element_5);
|
|
5273
5301
|
}
|
|
5274
5302
|
}
|
|
5275
|
-
tmp = state.
|
|
5303
|
+
tmp = state.q8t(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5276
5304
|
} else {
|
|
5277
5305
|
noWhenBranchMatchedException();
|
|
5278
5306
|
}
|
|
5279
5307
|
}
|
|
5280
5308
|
return tmp;
|
|
5281
5309
|
};
|
|
5282
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5283
|
-
return this.
|
|
5310
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5311
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5284
5312
|
};
|
|
5285
5313
|
function Companion_5() {
|
|
5286
5314
|
}
|
|
5287
|
-
protoOf(Companion_5).
|
|
5315
|
+
protoOf(Companion_5).h9z = function (config) {
|
|
5288
5316
|
return new ServerStatePayload(config);
|
|
5289
5317
|
};
|
|
5290
5318
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5291
5319
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5292
|
-
return $super === VOID ? this.
|
|
5320
|
+
return $super === VOID ? this.h9z(config) : $super.h9z.call(this, config);
|
|
5293
5321
|
};
|
|
5294
5322
|
var Companion_instance_13;
|
|
5295
5323
|
function Companion_getInstance_6() {
|
|
@@ -5304,12 +5332,12 @@
|
|
|
5304
5332
|
protoOf(ServerStatePayload).ne = function () {
|
|
5305
5333
|
return this.config;
|
|
5306
5334
|
};
|
|
5307
|
-
protoOf(ServerStatePayload).
|
|
5335
|
+
protoOf(ServerStatePayload).i9z = function (config) {
|
|
5308
5336
|
return new ServerStatePayload(config);
|
|
5309
5337
|
};
|
|
5310
5338
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5311
5339
|
config = config === VOID ? this.config : config;
|
|
5312
|
-
return $super === VOID ? this.
|
|
5340
|
+
return $super === VOID ? this.i9z(config) : $super.i9z.call(this, config);
|
|
5313
5341
|
};
|
|
5314
5342
|
protoOf(ServerStatePayload).toString = function () {
|
|
5315
5343
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5334,7 +5362,7 @@
|
|
|
5334
5362
|
}
|
|
5335
5363
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
5336
5364
|
// Inline function 'kotlin.requireNotNull' call
|
|
5337
|
-
var tmp0 = _this__u8e3s4.
|
|
5365
|
+
var tmp0 = _this__u8e3s4.m6m_1;
|
|
5338
5366
|
var tmp$ret$1;
|
|
5339
5367
|
$l$block: {
|
|
5340
5368
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -5353,12 +5381,12 @@
|
|
|
5353
5381
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5354
5382
|
}
|
|
5355
5383
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5356
|
-
var gameId = Companion_instance_3.
|
|
5384
|
+
var gameId = Companion_instance_3.b9d(payload);
|
|
5357
5385
|
var tmp;
|
|
5358
5386
|
if (!(gameId == null)) {
|
|
5359
5387
|
tmp = new ServerLoggerKey(gameId);
|
|
5360
5388
|
} else {
|
|
5361
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
5389
|
+
var tmp0_safe_receiver = _this__u8e3s4.l6m_1;
|
|
5362
5390
|
tmp = tmp0_safe_receiver == null ? null : get_serverLoggerKey(tmp0_safe_receiver);
|
|
5363
5391
|
}
|
|
5364
5392
|
return tmp;
|
|
@@ -5370,14 +5398,14 @@
|
|
|
5370
5398
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5371
5399
|
}
|
|
5372
5400
|
function _get_logger__rkp4sl_1($this) {
|
|
5373
|
-
var tmp0 = $this.
|
|
5401
|
+
var tmp0 = $this.s9z_1;
|
|
5374
5402
|
var tmp = KProperty1;
|
|
5375
5403
|
// Inline function 'kotlin.getValue' call
|
|
5376
5404
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5377
5405
|
return tmp0.w();
|
|
5378
5406
|
}
|
|
5379
5407
|
function _get_di__ndbzja($this) {
|
|
5380
|
-
var tmp0 = $this.
|
|
5408
|
+
var tmp0 = $this.t9z_1;
|
|
5381
5409
|
var tmp = KProperty1;
|
|
5382
5410
|
// Inline function 'kotlin.getValue' call
|
|
5383
5411
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5390,11 +5418,11 @@
|
|
|
5390
5418
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5391
5419
|
return function () {
|
|
5392
5420
|
var tmp;
|
|
5393
|
-
if (this$0.
|
|
5421
|
+
if (this$0.q9z_1 == null) {
|
|
5394
5422
|
tmp = null;
|
|
5395
5423
|
} else {
|
|
5396
5424
|
// Inline function 'kotlin.let' call
|
|
5397
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5425
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.q9z_1)]));
|
|
5398
5426
|
}
|
|
5399
5427
|
var tmp1_elvis_lhs = tmp;
|
|
5400
5428
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5427,7 +5455,7 @@
|
|
|
5427
5455
|
tmp_0.x62(tmp$ret$3);
|
|
5428
5456
|
$this$DI.b5z(jsonModule());
|
|
5429
5457
|
$this$DI.b5z(serverHelpersModule());
|
|
5430
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5458
|
+
$this$DI.b5z(randomOrgModule(this$0.r9z_1));
|
|
5431
5459
|
return Unit_instance;
|
|
5432
5460
|
};
|
|
5433
5461
|
}
|
|
@@ -5503,16 +5531,16 @@
|
|
|
5503
5531
|
};
|
|
5504
5532
|
}
|
|
5505
5533
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5506
|
-
this.
|
|
5534
|
+
this.aa0_1 = $reducer;
|
|
5507
5535
|
}
|
|
5508
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5536
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5509
5537
|
return isInterface(action, Action);
|
|
5510
5538
|
};
|
|
5511
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5512
|
-
return this.
|
|
5539
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).h98 = function (state, action) {
|
|
5540
|
+
return this.aa0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5513
5541
|
};
|
|
5514
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5515
|
-
return this.
|
|
5542
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5543
|
+
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5516
5544
|
};
|
|
5517
5545
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
5518
5546
|
return function ($this$singleton) {
|
|
@@ -5574,10 +5602,10 @@
|
|
|
5574
5602
|
}
|
|
5575
5603
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
5576
5604
|
return function (it) {
|
|
5577
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
5605
|
+
var tmp0_elvis_lhs = Companion_instance_5.o9b(it);
|
|
5578
5606
|
var tmp;
|
|
5579
5607
|
if (tmp0_elvis_lhs == null) {
|
|
5580
|
-
var tmp1_safe_receiver = $gameServer.s66().
|
|
5608
|
+
var tmp1_safe_receiver = $gameServer.s66().l6m_1;
|
|
5581
5609
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
5582
5610
|
} else {
|
|
5583
5611
|
tmp = tmp0_elvis_lhs;
|
|
@@ -5595,7 +5623,7 @@
|
|
|
5595
5623
|
// Inline function 'kotlin.let' call
|
|
5596
5624
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5597
5625
|
}
|
|
5598
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5626
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.r9z_1));
|
|
5599
5627
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5600
5628
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5601
5629
|
return Unit_instance;
|
|
@@ -5604,13 +5632,13 @@
|
|
|
5604
5632
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5605
5633
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5606
5634
|
production = production === VOID ? true : production;
|
|
5607
|
-
this.
|
|
5608
|
-
this.
|
|
5609
|
-
AppEnvironment_getInstance().
|
|
5635
|
+
this.q9z_1 = loggerCallback;
|
|
5636
|
+
this.r9z_1 = randomOrgConfig;
|
|
5637
|
+
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5610
5638
|
var tmp = this;
|
|
5611
|
-
tmp.
|
|
5639
|
+
tmp.s9z_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5612
5640
|
var tmp_0 = this;
|
|
5613
|
-
tmp_0.
|
|
5641
|
+
tmp_0.t9z_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5614
5642
|
var tmp_1 = this;
|
|
5615
5643
|
// Inline function 'org.kodein.di.instance' call
|
|
5616
5644
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5619,7 +5647,7 @@
|
|
|
5619
5647
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5620
5648
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5621
5649
|
var tmp_4 = KProperty1;
|
|
5622
|
-
tmp_1.
|
|
5650
|
+
tmp_1.u9z_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5623
5651
|
var tmp_5 = this;
|
|
5624
5652
|
// Inline function 'org.kodein.di.instance' call
|
|
5625
5653
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5628,7 +5656,7 @@
|
|
|
5628
5656
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5629
5657
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5630
5658
|
var tmp_8 = KProperty1;
|
|
5631
|
-
tmp_5.
|
|
5659
|
+
tmp_5.v9z_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5632
5660
|
var tmp_9 = this;
|
|
5633
5661
|
// Inline function 'org.kodein.di.instance' call
|
|
5634
5662
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5637,7 +5665,7 @@
|
|
|
5637
5665
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5638
5666
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5639
5667
|
var tmp_12 = KProperty1;
|
|
5640
|
-
tmp_9.
|
|
5668
|
+
tmp_9.w9z_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5641
5669
|
var tmp_13 = this;
|
|
5642
5670
|
// Inline function 'org.kodein.di.instance' call
|
|
5643
5671
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5646,7 +5674,7 @@
|
|
|
5646
5674
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5647
5675
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5648
5676
|
var tmp_16 = KProperty1;
|
|
5649
|
-
tmp_13.
|
|
5677
|
+
tmp_13.x9z_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5650
5678
|
var tmp_17 = this;
|
|
5651
5679
|
// Inline function 'org.kodein.di.instance' call
|
|
5652
5680
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5655,7 +5683,7 @@
|
|
|
5655
5683
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5656
5684
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5657
5685
|
var tmp_20 = KProperty1;
|
|
5658
|
-
tmp_17.
|
|
5686
|
+
tmp_17.y9z_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5659
5687
|
var tmp_21 = this;
|
|
5660
5688
|
// Inline function 'org.kodein.di.instance' call
|
|
5661
5689
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5664,45 +5692,45 @@
|
|
|
5664
5692
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5665
5693
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5666
5694
|
var tmp_24 = KProperty1;
|
|
5667
|
-
tmp_21.
|
|
5695
|
+
tmp_21.z9z_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5668
5696
|
}
|
|
5669
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5670
|
-
var tmp0 = this.
|
|
5697
|
+
protoOf(GameServerEngineControllerImpl).j9z = function () {
|
|
5698
|
+
var tmp0 = this.u9z_1;
|
|
5671
5699
|
var tmp = KProperty1;
|
|
5672
5700
|
// Inline function 'kotlin.getValue' call
|
|
5673
5701
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5674
5702
|
return tmp0.w();
|
|
5675
5703
|
};
|
|
5676
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5677
|
-
var tmp0 = this.
|
|
5704
|
+
protoOf(GameServerEngineControllerImpl).l9z = function () {
|
|
5705
|
+
var tmp0 = this.v9z_1;
|
|
5678
5706
|
var tmp = KProperty1;
|
|
5679
5707
|
// Inline function 'kotlin.getValue' call
|
|
5680
5708
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5681
5709
|
return tmp0.w();
|
|
5682
5710
|
};
|
|
5683
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5684
|
-
var tmp0 = this.
|
|
5711
|
+
protoOf(GameServerEngineControllerImpl).m9z = function () {
|
|
5712
|
+
var tmp0 = this.w9z_1;
|
|
5685
5713
|
var tmp = KProperty1;
|
|
5686
5714
|
// Inline function 'kotlin.getValue' call
|
|
5687
5715
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5688
5716
|
return tmp0.w();
|
|
5689
5717
|
};
|
|
5690
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5691
|
-
var tmp0 = this.
|
|
5718
|
+
protoOf(GameServerEngineControllerImpl).n9z = function () {
|
|
5719
|
+
var tmp0 = this.x9z_1;
|
|
5692
5720
|
var tmp = KProperty1;
|
|
5693
5721
|
// Inline function 'kotlin.getValue' call
|
|
5694
5722
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5695
5723
|
return tmp0.w();
|
|
5696
5724
|
};
|
|
5697
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5698
|
-
var tmp0 = this.
|
|
5725
|
+
protoOf(GameServerEngineControllerImpl).k9z = function () {
|
|
5726
|
+
var tmp0 = this.y9z_1;
|
|
5699
5727
|
var tmp = KProperty1;
|
|
5700
5728
|
// Inline function 'kotlin.getValue' call
|
|
5701
5729
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5702
5730
|
return tmp0.w();
|
|
5703
5731
|
};
|
|
5704
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5705
|
-
var tmp0 = this.
|
|
5732
|
+
protoOf(GameServerEngineControllerImpl).o9z = function () {
|
|
5733
|
+
var tmp0 = this.z9z_1;
|
|
5706
5734
|
var tmp = KProperty1;
|
|
5707
5735
|
// Inline function 'kotlin.getValue' call
|
|
5708
5736
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5714,7 +5742,7 @@
|
|
|
5714
5742
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5715
5743
|
return this.createGameEngineWithLogic();
|
|
5716
5744
|
};
|
|
5717
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5745
|
+
protoOf(GameServerEngineControllerImpl).p9z = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5718
5746
|
var combinedLogger = Companion_instance_6.mx();
|
|
5719
5747
|
var tmp;
|
|
5720
5748
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5724,8 +5752,8 @@
|
|
|
5724
5752
|
}
|
|
5725
5753
|
var fileLoggerOutput = tmp;
|
|
5726
5754
|
var tmp_0;
|
|
5727
|
-
if (!(this.
|
|
5728
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5755
|
+
if (!(this.q9z_1 == null)) {
|
|
5756
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.q9z_1));
|
|
5729
5757
|
} else {
|
|
5730
5758
|
tmp_0 = null;
|
|
5731
5759
|
}
|
|
@@ -5766,12 +5794,12 @@
|
|
|
5766
5794
|
var gameServer = tmp_1.l60(tmp$ret$7, null);
|
|
5767
5795
|
if (!(fileLoggerOutput == null)) {
|
|
5768
5796
|
var tmp_3 = fileLoggerOutput;
|
|
5769
|
-
tmp_3.
|
|
5797
|
+
tmp_3.q9c_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5770
5798
|
combinedLogger.w1k(fileLoggerOutput);
|
|
5771
5799
|
}
|
|
5772
5800
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5773
5801
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5774
|
-
tmp_4.
|
|
5802
|
+
tmp_4.q9b_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5775
5803
|
combinedLogger.w1k(callbackWrapperLoggerOutput);
|
|
5776
5804
|
}
|
|
5777
5805
|
return gameServer;
|
|
@@ -5786,7 +5814,7 @@
|
|
|
5786
5814
|
function TestHelper() {
|
|
5787
5815
|
}
|
|
5788
5816
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5789
|
-
var tmp0 = $this.
|
|
5817
|
+
var tmp0 = $this.da0_1;
|
|
5790
5818
|
var tmp = KProperty1;
|
|
5791
5819
|
// Inline function 'kotlin.getValue' call
|
|
5792
5820
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5794,7 +5822,7 @@
|
|
|
5794
5822
|
}
|
|
5795
5823
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5796
5824
|
return function ($this$singleton) {
|
|
5797
|
-
return this$0.
|
|
5825
|
+
return this$0.ba0_1;
|
|
5798
5826
|
};
|
|
5799
5827
|
}
|
|
5800
5828
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5833,27 +5861,27 @@
|
|
|
5833
5861
|
return emptyMap();
|
|
5834
5862
|
}
|
|
5835
5863
|
function TestHelperImpl(logger) {
|
|
5836
|
-
this.
|
|
5864
|
+
this.ba0_1 = logger;
|
|
5837
5865
|
var tmp = this;
|
|
5838
5866
|
var tmp_0 = Companion_instance_4;
|
|
5839
|
-
tmp.
|
|
5867
|
+
tmp.ca0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5840
5868
|
var tmp_1 = this;
|
|
5841
5869
|
// Inline function 'org.kodein.di.instance' call
|
|
5842
|
-
var this_0 = this.
|
|
5870
|
+
var this_0 = this.ca0_1;
|
|
5843
5871
|
// Inline function 'org.kodein.type.generic' call
|
|
5844
5872
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5845
5873
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5846
5874
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5847
5875
|
var tmp_4 = KProperty1;
|
|
5848
|
-
tmp_1.
|
|
5876
|
+
tmp_1.da0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5849
5877
|
}
|
|
5850
5878
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5851
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5879
|
+
return _get_playerAnswerInteractor__msggz1(this).a8k(playerId, table, botConfig);
|
|
5852
5880
|
};
|
|
5853
5881
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5854
5882
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5855
5883
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5856
|
-
var tmp0 = mechanicAction.
|
|
5884
|
+
var tmp0 = mechanicAction.k8x();
|
|
5857
5885
|
var tmp$ret$0;
|
|
5858
5886
|
$l$block_0: {
|
|
5859
5887
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5885,7 +5913,7 @@
|
|
|
5885
5913
|
};
|
|
5886
5914
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5887
5915
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5888
|
-
var tmp0 = action.
|
|
5916
|
+
var tmp0 = action.k8x();
|
|
5889
5917
|
var tmp$ret$0;
|
|
5890
5918
|
$l$block_0: {
|
|
5891
5919
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5976,46 +6004,46 @@
|
|
|
5976
6004
|
return this.w53();
|
|
5977
6005
|
});
|
|
5978
6006
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5979
|
-
return this.
|
|
6007
|
+
return this.n6n();
|
|
5980
6008
|
});
|
|
5981
6009
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5982
|
-
return this.
|
|
6010
|
+
return this.o6n();
|
|
5983
6011
|
});
|
|
5984
6012
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5985
|
-
return this.
|
|
6013
|
+
return this.p6n();
|
|
5986
6014
|
});
|
|
5987
6015
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
5988
6016
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
5989
|
-
protoOf(UpdateServerConfigAction).
|
|
6017
|
+
protoOf(UpdateServerConfigAction).n6f = get_actionTag;
|
|
5990
6018
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5991
|
-
return this.
|
|
6019
|
+
return this.n6f();
|
|
5992
6020
|
});
|
|
5993
|
-
protoOf(AddSpectatorsAction).
|
|
6021
|
+
protoOf(AddSpectatorsAction).n6f = get_actionTag;
|
|
5994
6022
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5995
|
-
return this.
|
|
6023
|
+
return this.n6f();
|
|
5996
6024
|
});
|
|
5997
|
-
protoOf(RemoveSpectatorsAction).
|
|
6025
|
+
protoOf(RemoveSpectatorsAction).n6f = get_actionTag;
|
|
5998
6026
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5999
|
-
return this.
|
|
6027
|
+
return this.n6f();
|
|
6000
6028
|
});
|
|
6001
6029
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6002
6030
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6003
|
-
return this.
|
|
6031
|
+
return this.j9z();
|
|
6004
6032
|
});
|
|
6005
6033
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6006
|
-
return this.
|
|
6034
|
+
return this.l9z();
|
|
6007
6035
|
});
|
|
6008
6036
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6009
|
-
return this.
|
|
6037
|
+
return this.m9z();
|
|
6010
6038
|
});
|
|
6011
6039
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6012
|
-
return this.
|
|
6040
|
+
return this.n9z();
|
|
6013
6041
|
});
|
|
6014
6042
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6015
|
-
return this.
|
|
6043
|
+
return this.k9z();
|
|
6016
6044
|
});
|
|
6017
6045
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6018
|
-
return this.
|
|
6046
|
+
return this.o9z();
|
|
6019
6047
|
});
|
|
6020
6048
|
//endregion
|
|
6021
6049
|
//region block: init
|