raspberry_games_server_game_logic 1.8.389 → 1.8.391
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 +13 -13
- package/Kosi-Kodein-kodein-di.js +37 -37
- package/Kotlin-DateTime-library-kotlinx-datetime.js +89 -89
- package/Logic_Debertz-core.js +58 -58
- package/Logic_Debertz-engine.js +10041 -10031
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +36 -6
- package/Logic_Debertz-game_server.js +935 -843
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +295 -282
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +73 -73
- package/kotlinx-io-kotlinx-io-core.js +30 -30
- package/kotlinx-serialization-kotlinx-serialization-core.js +79 -79
- package/kotlinx-serialization-kotlinx-serialization-json.js +88 -88
- package/ktor-ktor-client-content-negotiation.js +21 -21
- package/ktor-ktor-client-core.js +67 -67
- package/ktor-ktor-client-logging.js +23 -23
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +72 -72
- package/ktor-ktor-io.js +50 -50
- package/ktor-ktor-serialization-kotlinx.js +15 -15
- package/ktor-ktor-serialization.js +15 -15
- package/ktor-ktor-utils.js +45 -45
- package/ktor-ktor-websockets.js +13 -13
- package/package.json +1 -1
- package/random-library-crypto-rand.js +11 -11
- package/random-library-secure-random.js +5 -5
- package/raspberry-cardgame-lib-core.js +34 -34
- package/raspberry-cardgame-lib-logger.js +12 -12
- package/raspberry-cardgame-lib-random.js +39 -39
- package/uuid.js +12 -12
|
@@ -43,35 +43,35 @@
|
|
|
43
43
|
'use strict';
|
|
44
44
|
//region block: imports
|
|
45
45
|
var imul = Math.imul;
|
|
46
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
46
|
+
var CoroutineImpl = kotlin_kotlin.$_$.pa;
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
48
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
49
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
48
|
+
var protoOf = kotlin_kotlin.$_$.jd;
|
|
49
|
+
var THROW_CCE = kotlin_kotlin.$_$.lh;
|
|
50
50
|
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g1;
|
|
51
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
51
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.nc;
|
|
52
52
|
var VOID = kotlin_kotlin.$_$.b;
|
|
53
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
54
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
55
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
53
|
+
var isInterface = kotlin_kotlin.$_$.xc;
|
|
54
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.aa;
|
|
55
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.lc;
|
|
56
56
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
57
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
57
|
+
var initMetadataForClass = kotlin_kotlin.$_$.jc;
|
|
58
58
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
59
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
59
|
+
var fromInt = kotlin_kotlin.$_$.eb;
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
62
|
-
var to = kotlin_kotlin.$_$.
|
|
62
|
+
var to = kotlin_kotlin.$_$.qi;
|
|
63
63
|
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
64
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
64
|
+
var defineProp = kotlin_kotlin.$_$.bc;
|
|
65
65
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
66
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
67
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.he;
|
|
67
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.gc;
|
|
68
68
|
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
69
69
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
70
70
|
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
71
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
72
|
-
var equals = kotlin_kotlin.$_$.
|
|
73
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
74
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
71
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.kc;
|
|
72
|
+
var equals = kotlin_kotlin.$_$.cc;
|
|
73
|
+
var FunctionAdapter = kotlin_kotlin.$_$.pb;
|
|
74
|
+
var hashCode = kotlin_kotlin.$_$.ic;
|
|
75
75
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
76
76
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
77
77
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
@@ -84,8 +84,8 @@
|
|
|
84
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
|
-
var toList = kotlin_kotlin.$_$.
|
|
88
|
-
var toString = kotlin_kotlin.$_$.
|
|
87
|
+
var toList = kotlin_kotlin.$_$.m9;
|
|
88
|
+
var toString = kotlin_kotlin.$_$.md;
|
|
89
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;
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
|
|
95
95
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
96
96
|
var firstOrNull = kotlin_kotlin.$_$.h7;
|
|
97
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
97
|
+
var toMutableList = kotlin_kotlin.$_$.p9;
|
|
98
98
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
99
99
|
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.z4;
|
|
100
100
|
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
@@ -113,40 +113,41 @@
|
|
|
113
113
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
|
|
114
114
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b4;
|
|
115
115
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
116
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
116
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ji;
|
|
117
117
|
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
118
118
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
119
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
120
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
121
|
-
var createKType = kotlin_kotlin.$_$.
|
|
119
|
+
var getKClass = kotlin_kotlin.$_$.de;
|
|
120
|
+
var arrayOf = kotlin_kotlin.$_$.zh;
|
|
121
|
+
var createKType = kotlin_kotlin.$_$.be;
|
|
122
122
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
123
123
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
124
124
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
125
125
|
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
126
126
|
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
127
127
|
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
128
|
-
var lazy = kotlin_kotlin.$_$.
|
|
128
|
+
var lazy = kotlin_kotlin.$_$.ii;
|
|
129
129
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
130
130
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
131
131
|
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
132
|
-
var plus = kotlin_kotlin.$_$.
|
|
132
|
+
var plus = kotlin_kotlin.$_$.r8;
|
|
133
133
|
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
134
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
134
|
+
var toString_0 = kotlin_kotlin.$_$.pi;
|
|
135
135
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
136
|
-
var
|
|
137
|
-
var
|
|
136
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
137
|
+
var getStringHashCode = kotlin_kotlin.$_$.hc;
|
|
138
|
+
var Enum = kotlin_kotlin.$_$.bh;
|
|
139
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ec;
|
|
138
140
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
139
141
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
140
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
142
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.mc;
|
|
141
143
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
142
144
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
143
145
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
144
146
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
145
147
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
146
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
148
|
+
var initMetadataForObject = kotlin_kotlin.$_$.oc;
|
|
147
149
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
148
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
149
|
-
var getStringHashCode = kotlin_kotlin.$_$.gc;
|
|
150
|
+
var objectCreate = kotlin_kotlin.$_$.id;
|
|
150
151
|
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
151
152
|
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
152
153
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
@@ -163,13 +164,12 @@
|
|
|
163
164
|
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e3;
|
|
164
165
|
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
165
166
|
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
166
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
167
167
|
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
168
|
-
var single = kotlin_kotlin.$_$.
|
|
168
|
+
var single = kotlin_kotlin.$_$.b9;
|
|
169
169
|
var copyToArray = kotlin_kotlin.$_$.y6;
|
|
170
170
|
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
171
171
|
var KtList = kotlin_kotlin.$_$.n5;
|
|
172
|
-
var Long = kotlin_kotlin.$_$.
|
|
172
|
+
var Long = kotlin_kotlin.$_$.gh;
|
|
173
173
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
174
174
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
175
175
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
@@ -248,16 +248,18 @@
|
|
|
248
248
|
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
249
249
|
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
250
250
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
251
|
+
var Pair = kotlin_kotlin.$_$.ih;
|
|
252
|
+
var plus_0 = kotlin_kotlin.$_$.p8;
|
|
251
253
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
252
254
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
253
255
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
254
256
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
255
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
257
|
+
var toDuration = kotlin_kotlin.$_$.tg;
|
|
256
258
|
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
257
259
|
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
|
|
258
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
260
|
+
var singleOrNull = kotlin_kotlin.$_$.a9;
|
|
259
261
|
var Collection = kotlin_kotlin.$_$.h5;
|
|
260
|
-
var toSet = kotlin_kotlin.$_$.
|
|
262
|
+
var toSet = kotlin_kotlin.$_$.s9;
|
|
261
263
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
262
264
|
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
263
265
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
@@ -287,7 +289,7 @@
|
|
|
287
289
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
288
290
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
289
291
|
var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
290
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
292
|
+
var toList_0 = kotlin_kotlin.$_$.l9;
|
|
291
293
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
292
294
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
293
295
|
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
@@ -360,10 +362,10 @@
|
|
|
360
362
|
spectators = tmp;
|
|
361
363
|
var tmp_0;
|
|
362
364
|
if ($super === VOID) {
|
|
363
|
-
this.
|
|
365
|
+
this.k9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
366
|
tmp_0 = Unit_instance;
|
|
365
367
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
368
|
+
tmp_0 = $super.k9w.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
367
369
|
}
|
|
368
370
|
return tmp_0;
|
|
369
371
|
}
|
|
@@ -371,10 +373,10 @@
|
|
|
371
373
|
newRid = newRid === VOID ? null : newRid;
|
|
372
374
|
var tmp;
|
|
373
375
|
if ($super === VOID) {
|
|
374
|
-
this.
|
|
376
|
+
this.l9w(newRid);
|
|
375
377
|
tmp = Unit_instance;
|
|
376
378
|
} else {
|
|
377
|
-
tmp = $super.
|
|
379
|
+
tmp = $super.l9w.call(this, newRid);
|
|
378
380
|
}
|
|
379
381
|
return tmp;
|
|
380
382
|
}
|
|
@@ -382,15 +384,17 @@
|
|
|
382
384
|
roomId = roomId === VOID ? null : roomId;
|
|
383
385
|
var tmp;
|
|
384
386
|
if ($super === VOID) {
|
|
385
|
-
this.
|
|
387
|
+
this.m9w(reason, roomId);
|
|
386
388
|
tmp = Unit_instance;
|
|
387
389
|
} else {
|
|
388
|
-
tmp = $super.
|
|
390
|
+
tmp = $super.m9w.call(this, reason, roomId);
|
|
389
391
|
}
|
|
390
392
|
return tmp;
|
|
391
393
|
}
|
|
392
394
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
393
395
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
396
|
+
initMetadataForClass(RoomMetadata, 'RoomMetadata', RoomMetadata);
|
|
397
|
+
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
394
398
|
initMetadataForClass(ServerShutdownReason, 'ServerShutdownReason', VOID, Enum);
|
|
395
399
|
initMetadataForCompanion(Companion_0);
|
|
396
400
|
initMetadataForClass(ServerConfig, 'ServerConfig');
|
|
@@ -451,7 +455,7 @@
|
|
|
451
455
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
452
456
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
453
457
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
454
|
-
return $super === VOID ? this.
|
|
458
|
+
return $super === VOID ? this.ha1(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.ha1.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
455
459
|
}
|
|
456
460
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
457
461
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -462,17 +466,17 @@
|
|
|
462
466
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
463
467
|
//endregion
|
|
464
468
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
465
|
-
this.
|
|
469
|
+
this.z9f_1 = $subscriber;
|
|
466
470
|
CoroutineImpl.call(this, resultContinuation);
|
|
467
471
|
}
|
|
468
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
469
|
-
var tmp = this.
|
|
472
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).b9g = function (it, $completion) {
|
|
473
|
+
var tmp = this.c9g(it, $completion);
|
|
470
474
|
tmp.t8_1 = Unit_instance;
|
|
471
475
|
tmp.u8_1 = null;
|
|
472
476
|
return tmp.z8();
|
|
473
477
|
};
|
|
474
478
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
475
|
-
return this.
|
|
479
|
+
return this.b9g(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
476
480
|
};
|
|
477
481
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
478
482
|
var suspendResult = this.t8_1;
|
|
@@ -481,7 +485,7 @@
|
|
|
481
485
|
var tmp = this.r8_1;
|
|
482
486
|
if (tmp === 0) {
|
|
483
487
|
this.s8_1 = 1;
|
|
484
|
-
this.
|
|
488
|
+
this.z9f_1(this.a9g_1);
|
|
485
489
|
return Unit_instance;
|
|
486
490
|
} else if (tmp === 1) {
|
|
487
491
|
throw this.u8_1;
|
|
@@ -492,31 +496,31 @@
|
|
|
492
496
|
}
|
|
493
497
|
while (true);
|
|
494
498
|
};
|
|
495
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
496
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
497
|
-
i.
|
|
499
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).c9g = function (it, completion) {
|
|
500
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.z9f_1, completion);
|
|
501
|
+
i.a9g_1 = it;
|
|
498
502
|
return i;
|
|
499
503
|
};
|
|
500
504
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
501
505
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
502
506
|
var l = function (it, $completion) {
|
|
503
|
-
return i.
|
|
507
|
+
return i.b9g(it, $completion);
|
|
504
508
|
};
|
|
505
509
|
l.$arity = 1;
|
|
506
510
|
return l;
|
|
507
511
|
}
|
|
508
512
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
509
|
-
this.
|
|
513
|
+
this.l9g_1 = $subscriber;
|
|
510
514
|
CoroutineImpl.call(this, resultContinuation);
|
|
511
515
|
}
|
|
512
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
513
|
-
var tmp = this.
|
|
516
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).n9g = function (it, $completion) {
|
|
517
|
+
var tmp = this.o9g(it, $completion);
|
|
514
518
|
tmp.t8_1 = Unit_instance;
|
|
515
519
|
tmp.u8_1 = null;
|
|
516
520
|
return tmp.z8();
|
|
517
521
|
};
|
|
518
522
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
519
|
-
return this.
|
|
523
|
+
return this.n9g((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
520
524
|
};
|
|
521
525
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
522
526
|
var suspendResult = this.t8_1;
|
|
@@ -525,7 +529,7 @@
|
|
|
525
529
|
var tmp = this.r8_1;
|
|
526
530
|
if (tmp === 0) {
|
|
527
531
|
this.s8_1 = 1;
|
|
528
|
-
this.
|
|
532
|
+
this.l9g_1(this.m9g_1);
|
|
529
533
|
return Unit_instance;
|
|
530
534
|
} else if (tmp === 1) {
|
|
531
535
|
throw this.u8_1;
|
|
@@ -536,22 +540,22 @@
|
|
|
536
540
|
}
|
|
537
541
|
while (true);
|
|
538
542
|
};
|
|
539
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
540
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
541
|
-
i.
|
|
543
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).o9g = function (it, completion) {
|
|
544
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.l9g_1, completion);
|
|
545
|
+
i.m9g_1 = it;
|
|
542
546
|
return i;
|
|
543
547
|
};
|
|
544
548
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
545
549
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
546
550
|
var l = function (it, $completion) {
|
|
547
|
-
return i.
|
|
551
|
+
return i.n9g(it, $completion);
|
|
548
552
|
};
|
|
549
553
|
l.$arity = 1;
|
|
550
554
|
return l;
|
|
551
555
|
}
|
|
552
556
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
557
|
+
this.x9g_1 = $$this$unsafeFlow;
|
|
558
|
+
this.y9g_1 = this$0;
|
|
555
559
|
CoroutineImpl.call(this, resultContinuation);
|
|
556
560
|
}
|
|
557
561
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -571,10 +575,10 @@
|
|
|
571
575
|
switch (tmp) {
|
|
572
576
|
case 0:
|
|
573
577
|
this.s8_1 = 2;
|
|
574
|
-
var tmp0 = this.
|
|
575
|
-
var value = this.
|
|
578
|
+
var tmp0 = this.x9g_1;
|
|
579
|
+
var value = this.z9g_1;
|
|
576
580
|
this.r8_1 = 1;
|
|
577
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
581
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.y9g_1)), this);
|
|
578
582
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
579
583
|
return suspendResult;
|
|
580
584
|
}
|
|
@@ -597,8 +601,8 @@
|
|
|
597
601
|
while (true);
|
|
598
602
|
};
|
|
599
603
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
600
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
601
|
-
i.
|
|
604
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.x9g_1, this.y9g_1, completion);
|
|
605
|
+
i.z9g_1 = value;
|
|
602
606
|
return i;
|
|
603
607
|
};
|
|
604
608
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -611,8 +615,8 @@
|
|
|
611
615
|
}
|
|
612
616
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
613
617
|
CoroutineImpl.call(this, resultContinuation);
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
618
|
+
this.i9h_1 = _this__u8e3s4;
|
|
619
|
+
this.j9h_1 = collector;
|
|
616
620
|
}
|
|
617
621
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
618
622
|
var suspendResult = this.t8_1;
|
|
@@ -622,10 +626,10 @@
|
|
|
622
626
|
switch (tmp) {
|
|
623
627
|
case 0:
|
|
624
628
|
this.s8_1 = 2;
|
|
625
|
-
var $this$unsafeFlow = this.
|
|
629
|
+
var $this$unsafeFlow = this.j9h_1;
|
|
626
630
|
this.r8_1 = 1;
|
|
627
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
628
|
-
suspendResult = this.
|
|
631
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.i9h_1.l9h_1, null);
|
|
632
|
+
suspendResult = this.i9h_1.k9h_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
629
633
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
630
634
|
return suspendResult;
|
|
631
635
|
}
|
|
@@ -648,8 +652,8 @@
|
|
|
648
652
|
while (true);
|
|
649
653
|
};
|
|
650
654
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
651
|
-
this.
|
|
652
|
-
this.
|
|
655
|
+
this.k9h_1 = $this;
|
|
656
|
+
this.l9h_1 = this$0;
|
|
653
657
|
}
|
|
654
658
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
655
659
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -661,17 +665,17 @@
|
|
|
661
665
|
return this.o28(collector, $completion);
|
|
662
666
|
};
|
|
663
667
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
664
|
-
this.
|
|
668
|
+
this.u9h_1 = $subscriber;
|
|
665
669
|
CoroutineImpl.call(this, resultContinuation);
|
|
666
670
|
}
|
|
667
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
668
|
-
var tmp = this.
|
|
671
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).w9h = function (it, $completion) {
|
|
672
|
+
var tmp = this.x9h(it, $completion);
|
|
669
673
|
tmp.t8_1 = Unit_instance;
|
|
670
674
|
tmp.u8_1 = null;
|
|
671
675
|
return tmp.z8();
|
|
672
676
|
};
|
|
673
677
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
674
|
-
return this.
|
|
678
|
+
return this.w9h((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
675
679
|
};
|
|
676
680
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
677
681
|
var suspendResult = this.t8_1;
|
|
@@ -680,7 +684,7 @@
|
|
|
680
684
|
var tmp = this.r8_1;
|
|
681
685
|
if (tmp === 0) {
|
|
682
686
|
this.s8_1 = 1;
|
|
683
|
-
this.
|
|
687
|
+
this.u9h_1(this.v9h_1);
|
|
684
688
|
return Unit_instance;
|
|
685
689
|
} else if (tmp === 1) {
|
|
686
690
|
throw this.u8_1;
|
|
@@ -691,22 +695,22 @@
|
|
|
691
695
|
}
|
|
692
696
|
while (true);
|
|
693
697
|
};
|
|
694
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
695
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
696
|
-
i.
|
|
698
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).x9h = function (it, completion) {
|
|
699
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.u9h_1, completion);
|
|
700
|
+
i.v9h_1 = it;
|
|
697
701
|
return i;
|
|
698
702
|
};
|
|
699
703
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
700
704
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
701
705
|
var l = function (it, $completion) {
|
|
702
|
-
return i.
|
|
706
|
+
return i.w9h(it, $completion);
|
|
703
707
|
};
|
|
704
708
|
l.$arity = 1;
|
|
705
709
|
return l;
|
|
706
710
|
}
|
|
707
711
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
712
|
+
this.g9i_1 = $$this$unsafeFlow;
|
|
713
|
+
this.h9i_1 = $table;
|
|
710
714
|
CoroutineImpl.call(this, resultContinuation);
|
|
711
715
|
}
|
|
712
716
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -726,10 +730,10 @@
|
|
|
726
730
|
switch (tmp) {
|
|
727
731
|
case 0:
|
|
728
732
|
this.s8_1 = 2;
|
|
729
|
-
var tmp0 = this.
|
|
730
|
-
var value = this.
|
|
733
|
+
var tmp0 = this.g9i_1;
|
|
734
|
+
var value = this.i9i_1;
|
|
731
735
|
this.r8_1 = 1;
|
|
732
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
736
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.h9i_1.id, value), this);
|
|
733
737
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
734
738
|
return suspendResult;
|
|
735
739
|
}
|
|
@@ -752,8 +756,8 @@
|
|
|
752
756
|
while (true);
|
|
753
757
|
};
|
|
754
758
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
755
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
756
|
-
i.
|
|
759
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.g9i_1, this.h9i_1, completion);
|
|
760
|
+
i.i9i_1 = value;
|
|
757
761
|
return i;
|
|
758
762
|
};
|
|
759
763
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -766,8 +770,8 @@
|
|
|
766
770
|
}
|
|
767
771
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
768
772
|
CoroutineImpl.call(this, resultContinuation);
|
|
769
|
-
this.
|
|
770
|
-
this.
|
|
773
|
+
this.r9i_1 = _this__u8e3s4;
|
|
774
|
+
this.s9i_1 = collector;
|
|
771
775
|
}
|
|
772
776
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
773
777
|
var suspendResult = this.t8_1;
|
|
@@ -777,10 +781,10 @@
|
|
|
777
781
|
switch (tmp) {
|
|
778
782
|
case 0:
|
|
779
783
|
this.s8_1 = 2;
|
|
780
|
-
var $this$unsafeFlow = this.
|
|
784
|
+
var $this$unsafeFlow = this.s9i_1;
|
|
781
785
|
this.r8_1 = 1;
|
|
782
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
783
|
-
suspendResult = this.
|
|
786
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.r9i_1.u9i_1, null);
|
|
787
|
+
suspendResult = this.r9i_1.t9i_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
784
788
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
785
789
|
return suspendResult;
|
|
786
790
|
}
|
|
@@ -803,8 +807,8 @@
|
|
|
803
807
|
while (true);
|
|
804
808
|
};
|
|
805
809
|
function _no_name_provided__qut3iv($this, $table) {
|
|
806
|
-
this.
|
|
807
|
-
this.
|
|
810
|
+
this.t9i_1 = $this;
|
|
811
|
+
this.u9i_1 = $table;
|
|
808
812
|
}
|
|
809
813
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
810
814
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -816,18 +820,18 @@
|
|
|
816
820
|
return this.o28(collector, $completion);
|
|
817
821
|
};
|
|
818
822
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
819
|
-
this.
|
|
820
|
-
this.
|
|
823
|
+
this.d9j_1 = $table;
|
|
824
|
+
this.e9j_1 = this$0;
|
|
821
825
|
CoroutineImpl.call(this, resultContinuation);
|
|
822
826
|
}
|
|
823
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
824
|
-
var tmp = this.
|
|
827
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).g9j = function ($this$flow, $completion) {
|
|
828
|
+
var tmp = this.h9j($this$flow, $completion);
|
|
825
829
|
tmp.t8_1 = Unit_instance;
|
|
826
830
|
tmp.u8_1 = null;
|
|
827
831
|
return tmp.z8();
|
|
828
832
|
};
|
|
829
833
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
830
|
-
return this.
|
|
834
|
+
return this.g9j((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
831
835
|
};
|
|
832
836
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
833
837
|
var suspendResult = this.t8_1;
|
|
@@ -838,7 +842,7 @@
|
|
|
838
842
|
case 0:
|
|
839
843
|
this.s8_1 = 3;
|
|
840
844
|
this.r8_1 = 1;
|
|
841
|
-
suspendResult = this.
|
|
845
|
+
suspendResult = this.f9j_1.n28(new TableStateUpdate(this.d9j_1.id, this.d9j_1), this);
|
|
842
846
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
843
847
|
return suspendResult;
|
|
844
848
|
}
|
|
@@ -846,8 +850,8 @@
|
|
|
846
850
|
continue $sm;
|
|
847
851
|
case 1:
|
|
848
852
|
this.r8_1 = 2;
|
|
849
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
850
|
-
suspendResult = emitAll(this.
|
|
853
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.e9j_1).v8j(), fromInt(_get_serverReduxConfig__rprcrm(this.e9j_1).serverStateUpdateIntervalMillis));
|
|
854
|
+
suspendResult = emitAll(this.f9j_1, new _no_name_provided__qut3iv(this_0, this.d9j_1), this);
|
|
851
855
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
852
856
|
return suspendResult;
|
|
853
857
|
}
|
|
@@ -869,21 +873,21 @@
|
|
|
869
873
|
}
|
|
870
874
|
while (true);
|
|
871
875
|
};
|
|
872
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
873
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
874
|
-
i.
|
|
876
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9j = function ($this$flow, completion) {
|
|
877
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.d9j_1, this.e9j_1, completion);
|
|
878
|
+
i.f9j_1 = $this$flow;
|
|
875
879
|
return i;
|
|
876
880
|
};
|
|
877
881
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
878
882
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
879
883
|
var l = function ($this$flow, $completion) {
|
|
880
|
-
return i.
|
|
884
|
+
return i.g9j($this$flow, $completion);
|
|
881
885
|
};
|
|
882
886
|
l.$arity = 1;
|
|
883
887
|
return l;
|
|
884
888
|
}
|
|
885
889
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
886
|
-
this.
|
|
890
|
+
this.q9j_1 = $$this$unsafeFlow;
|
|
887
891
|
CoroutineImpl.call(this, resultContinuation);
|
|
888
892
|
}
|
|
889
893
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -904,28 +908,28 @@
|
|
|
904
908
|
case 0:
|
|
905
909
|
this.s8_1 = 5;
|
|
906
910
|
var tmp_0 = this;
|
|
907
|
-
tmp_0.
|
|
911
|
+
tmp_0.v9j_1 = this.q9j_1;
|
|
908
912
|
var tmp_1 = this;
|
|
909
|
-
tmp_1.
|
|
913
|
+
tmp_1.u9j_1 = this.r9j_1;
|
|
910
914
|
this.r8_1 = 1;
|
|
911
915
|
continue $sm;
|
|
912
916
|
case 1:
|
|
913
|
-
this.
|
|
914
|
-
var tmp0_elvis_lhs = this.
|
|
917
|
+
this.s9j_1 = this.v9j_1;
|
|
918
|
+
var tmp0_elvis_lhs = this.u9j_1.s6m_1;
|
|
915
919
|
if (tmp0_elvis_lhs == null) {
|
|
916
920
|
this.r8_1 = 4;
|
|
917
921
|
var tmp_2 = this;
|
|
918
922
|
continue $sm;
|
|
919
923
|
} else {
|
|
920
|
-
this.
|
|
924
|
+
this.t9j_1 = tmp0_elvis_lhs;
|
|
921
925
|
this.r8_1 = 2;
|
|
922
926
|
continue $sm;
|
|
923
927
|
}
|
|
924
928
|
|
|
925
929
|
case 2:
|
|
926
|
-
var transformed = this.
|
|
930
|
+
var transformed = this.t9j_1;
|
|
927
931
|
this.r8_1 = 3;
|
|
928
|
-
suspendResult = this.
|
|
932
|
+
suspendResult = this.s9j_1.n28(transformed, this);
|
|
929
933
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
930
934
|
return suspendResult;
|
|
931
935
|
}
|
|
@@ -956,8 +960,8 @@
|
|
|
956
960
|
while (true);
|
|
957
961
|
};
|
|
958
962
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
959
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
960
|
-
i.
|
|
963
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.q9j_1, completion);
|
|
964
|
+
i.r9j_1 = value;
|
|
961
965
|
return i;
|
|
962
966
|
};
|
|
963
967
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -970,8 +974,8 @@
|
|
|
970
974
|
}
|
|
971
975
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
972
976
|
CoroutineImpl.call(this, resultContinuation);
|
|
973
|
-
this.
|
|
974
|
-
this.
|
|
977
|
+
this.e9k_1 = _this__u8e3s4;
|
|
978
|
+
this.f9k_1 = collector;
|
|
975
979
|
}
|
|
976
980
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
977
981
|
var suspendResult = this.t8_1;
|
|
@@ -981,10 +985,10 @@
|
|
|
981
985
|
switch (tmp) {
|
|
982
986
|
case 0:
|
|
983
987
|
this.s8_1 = 2;
|
|
984
|
-
var $this$unsafeFlow = this.
|
|
988
|
+
var $this$unsafeFlow = this.f9k_1;
|
|
985
989
|
this.r8_1 = 1;
|
|
986
990
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
987
|
-
suspendResult = this.
|
|
991
|
+
suspendResult = this.e9k_1.g9k_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
988
992
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
989
993
|
return suspendResult;
|
|
990
994
|
}
|
|
@@ -1007,7 +1011,7 @@
|
|
|
1007
1011
|
while (true);
|
|
1008
1012
|
};
|
|
1009
1013
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1010
|
-
this.
|
|
1014
|
+
this.p9k_1 = $$this$unsafeFlow;
|
|
1011
1015
|
CoroutineImpl.call(this, resultContinuation);
|
|
1012
1016
|
}
|
|
1013
1017
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1027,8 +1031,8 @@
|
|
|
1027
1031
|
switch (tmp) {
|
|
1028
1032
|
case 0:
|
|
1029
1033
|
this.s8_1 = 2;
|
|
1030
|
-
var tmp0 = this.
|
|
1031
|
-
var value = this.
|
|
1034
|
+
var tmp0 = this.p9k_1;
|
|
1035
|
+
var value = this.q9k_1;
|
|
1032
1036
|
this.r8_1 = 1;
|
|
1033
1037
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1034
1038
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1053,8 +1057,8 @@
|
|
|
1053
1057
|
while (true);
|
|
1054
1058
|
};
|
|
1055
1059
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1056
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1057
|
-
i.
|
|
1060
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.p9k_1, completion);
|
|
1061
|
+
i.q9k_1 = value;
|
|
1058
1062
|
return i;
|
|
1059
1063
|
};
|
|
1060
1064
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1067,8 +1071,8 @@
|
|
|
1067
1071
|
}
|
|
1068
1072
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1069
1073
|
CoroutineImpl.call(this, resultContinuation);
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1074
|
+
this.z9k_1 = _this__u8e3s4;
|
|
1075
|
+
this.a9l_1 = collector;
|
|
1072
1076
|
}
|
|
1073
1077
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1074
1078
|
var suspendResult = this.t8_1;
|
|
@@ -1078,10 +1082,10 @@
|
|
|
1078
1082
|
switch (tmp) {
|
|
1079
1083
|
case 0:
|
|
1080
1084
|
this.s8_1 = 2;
|
|
1081
|
-
var $this$unsafeFlow = this.
|
|
1085
|
+
var $this$unsafeFlow = this.a9l_1;
|
|
1082
1086
|
this.r8_1 = 1;
|
|
1083
1087
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1084
|
-
suspendResult = this.
|
|
1088
|
+
suspendResult = this.z9k_1.b9l_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1085
1089
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1086
1090
|
return suspendResult;
|
|
1087
1091
|
}
|
|
@@ -1104,7 +1108,7 @@
|
|
|
1104
1108
|
while (true);
|
|
1105
1109
|
};
|
|
1106
1110
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1107
|
-
this.
|
|
1111
|
+
this.k9l_1 = $$this$unsafeFlow;
|
|
1108
1112
|
CoroutineImpl.call(this, resultContinuation);
|
|
1109
1113
|
}
|
|
1110
1114
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1124,10 +1128,10 @@
|
|
|
1124
1128
|
switch (tmp) {
|
|
1125
1129
|
case 0:
|
|
1126
1130
|
this.s8_1 = 2;
|
|
1127
|
-
var tmp0 = this.
|
|
1128
|
-
var value = this.
|
|
1131
|
+
var tmp0 = this.k9l_1;
|
|
1132
|
+
var value = this.l9l_1;
|
|
1129
1133
|
this.r8_1 = 1;
|
|
1130
|
-
suspendResult = tmp0.n28(value.
|
|
1134
|
+
suspendResult = tmp0.n28(value.ie_1, this);
|
|
1131
1135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1132
1136
|
return suspendResult;
|
|
1133
1137
|
}
|
|
@@ -1150,8 +1154,8 @@
|
|
|
1150
1154
|
while (true);
|
|
1151
1155
|
};
|
|
1152
1156
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1153
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1154
|
-
i.
|
|
1157
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.k9l_1, completion);
|
|
1158
|
+
i.l9l_1 = value;
|
|
1155
1159
|
return i;
|
|
1156
1160
|
};
|
|
1157
1161
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1164,8 +1168,8 @@
|
|
|
1164
1168
|
}
|
|
1165
1169
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1166
1170
|
CoroutineImpl.call(this, resultContinuation);
|
|
1167
|
-
this.
|
|
1168
|
-
this.
|
|
1171
|
+
this.u9l_1 = _this__u8e3s4;
|
|
1172
|
+
this.v9l_1 = collector;
|
|
1169
1173
|
}
|
|
1170
1174
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1171
1175
|
var suspendResult = this.t8_1;
|
|
@@ -1175,10 +1179,10 @@
|
|
|
1175
1179
|
switch (tmp) {
|
|
1176
1180
|
case 0:
|
|
1177
1181
|
this.s8_1 = 2;
|
|
1178
|
-
var $this$unsafeFlow = this.
|
|
1182
|
+
var $this$unsafeFlow = this.v9l_1;
|
|
1179
1183
|
this.r8_1 = 1;
|
|
1180
1184
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1181
|
-
suspendResult = this.
|
|
1185
|
+
suspendResult = this.u9l_1.w9l_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1182
1186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1183
1187
|
return suspendResult;
|
|
1184
1188
|
}
|
|
@@ -1201,17 +1205,17 @@
|
|
|
1201
1205
|
while (true);
|
|
1202
1206
|
};
|
|
1203
1207
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1204
|
-
this.
|
|
1208
|
+
this.f9m_1 = $subscriber;
|
|
1205
1209
|
CoroutineImpl.call(this, resultContinuation);
|
|
1206
1210
|
}
|
|
1207
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1208
|
-
var tmp = this.
|
|
1211
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).h9m = function (it, $completion) {
|
|
1212
|
+
var tmp = this.i9m(it, $completion);
|
|
1209
1213
|
tmp.t8_1 = Unit_instance;
|
|
1210
1214
|
tmp.u8_1 = null;
|
|
1211
1215
|
return tmp.z8();
|
|
1212
1216
|
};
|
|
1213
1217
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1214
|
-
return this.
|
|
1218
|
+
return this.h9m(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1215
1219
|
};
|
|
1216
1220
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1217
1221
|
var suspendResult = this.t8_1;
|
|
@@ -1220,7 +1224,7 @@
|
|
|
1220
1224
|
var tmp = this.r8_1;
|
|
1221
1225
|
if (tmp === 0) {
|
|
1222
1226
|
this.s8_1 = 1;
|
|
1223
|
-
this.
|
|
1227
|
+
this.f9m_1(this.g9m_1);
|
|
1224
1228
|
return Unit_instance;
|
|
1225
1229
|
} else if (tmp === 1) {
|
|
1226
1230
|
throw this.u8_1;
|
|
@@ -1231,76 +1235,76 @@
|
|
|
1231
1235
|
}
|
|
1232
1236
|
while (true);
|
|
1233
1237
|
};
|
|
1234
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1235
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1236
|
-
i.
|
|
1238
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).i9m = function (it, completion) {
|
|
1239
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.f9m_1, completion);
|
|
1240
|
+
i.g9m_1 = it;
|
|
1237
1241
|
return i;
|
|
1238
1242
|
};
|
|
1239
1243
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1240
1244
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1241
1245
|
var l = function (it, $completion) {
|
|
1242
|
-
return i.
|
|
1246
|
+
return i.h9m(it, $completion);
|
|
1243
1247
|
};
|
|
1244
1248
|
l.$arity = 1;
|
|
1245
1249
|
return l;
|
|
1246
1250
|
}
|
|
1247
1251
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1248
|
-
this.
|
|
1252
|
+
this.j9m_1 = $playerId;
|
|
1249
1253
|
}
|
|
1250
1254
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v65 = function () {
|
|
1251
|
-
return this.
|
|
1255
|
+
return this.j9m_1;
|
|
1252
1256
|
};
|
|
1253
1257
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1254
|
-
var tmp0 = $this.
|
|
1258
|
+
var tmp0 = $this.o9m_1;
|
|
1255
1259
|
var tmp = KProperty1;
|
|
1256
1260
|
// Inline function 'kotlin.getValue' call
|
|
1257
1261
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1258
1262
|
return tmp0.w();
|
|
1259
1263
|
}
|
|
1260
1264
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1261
|
-
var tmp0 = $this.
|
|
1265
|
+
var tmp0 = $this.p9m_1;
|
|
1262
1266
|
var tmp = KProperty1;
|
|
1263
1267
|
// Inline function 'kotlin.getValue' call
|
|
1264
1268
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1265
1269
|
return tmp0.w();
|
|
1266
1270
|
}
|
|
1267
1271
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1268
|
-
var tmp0 = $this.
|
|
1272
|
+
var tmp0 = $this.q9m_1;
|
|
1269
1273
|
var tmp = KProperty1;
|
|
1270
1274
|
// Inline function 'kotlin.getValue' call
|
|
1271
1275
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1272
1276
|
return tmp0.w();
|
|
1273
1277
|
}
|
|
1274
1278
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1275
|
-
var tmp0 = $this.
|
|
1279
|
+
var tmp0 = $this.r9m_1;
|
|
1276
1280
|
var tmp = KProperty1;
|
|
1277
1281
|
// Inline function 'kotlin.getValue' call
|
|
1278
1282
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1279
1283
|
return tmp0.w();
|
|
1280
1284
|
}
|
|
1281
1285
|
function _get_random__h29cgo($this) {
|
|
1282
|
-
var tmp0 = $this.
|
|
1286
|
+
var tmp0 = $this.s9m_1;
|
|
1283
1287
|
var tmp = KProperty1;
|
|
1284
1288
|
// Inline function 'kotlin.getValue' call
|
|
1285
1289
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1286
1290
|
return tmp0.w();
|
|
1287
1291
|
}
|
|
1288
1292
|
function _get_idsProvider__fnfajc($this) {
|
|
1289
|
-
var tmp0 = $this.
|
|
1293
|
+
var tmp0 = $this.t9m_1;
|
|
1290
1294
|
var tmp = KProperty1;
|
|
1291
1295
|
// Inline function 'kotlin.getValue' call
|
|
1292
1296
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1293
1297
|
return tmp0.w();
|
|
1294
1298
|
}
|
|
1295
1299
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1296
|
-
var tmp0 = $this.
|
|
1300
|
+
var tmp0 = $this.u9m_1;
|
|
1297
1301
|
var tmp = KProperty1;
|
|
1298
1302
|
// Inline function 'kotlin.getValue' call
|
|
1299
1303
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1300
1304
|
return tmp0.w();
|
|
1301
1305
|
}
|
|
1302
1306
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1303
|
-
var tmp0 = $this.
|
|
1307
|
+
var tmp0 = $this.v9m_1;
|
|
1304
1308
|
var tmp = KProperty1;
|
|
1305
1309
|
// Inline function 'kotlin.getValue' call
|
|
1306
1310
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1328,20 +1332,20 @@
|
|
|
1328
1332
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1329
1333
|
}
|
|
1330
1334
|
function Companion() {
|
|
1331
|
-
this.
|
|
1335
|
+
this.x9m_1 = 'GameEngine_API';
|
|
1332
1336
|
}
|
|
1333
1337
|
var Companion_instance_7;
|
|
1334
1338
|
function Companion_getInstance_0() {
|
|
1335
1339
|
return Companion_instance_7;
|
|
1336
1340
|
}
|
|
1337
1341
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1338
|
-
this.
|
|
1342
|
+
this.y9m_1 = function_0;
|
|
1339
1343
|
}
|
|
1340
1344
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1341
|
-
return this.
|
|
1345
|
+
return this.y9m_1(value, $completion);
|
|
1342
1346
|
};
|
|
1343
1347
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1344
|
-
return this.
|
|
1348
|
+
return this.y9m_1;
|
|
1345
1349
|
};
|
|
1346
1350
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1347
1351
|
var tmp;
|
|
@@ -1362,13 +1366,13 @@
|
|
|
1362
1366
|
return hashCode(this.a3());
|
|
1363
1367
|
};
|
|
1364
1368
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1365
|
-
this.
|
|
1369
|
+
this.z9m_1 = function_0;
|
|
1366
1370
|
}
|
|
1367
1371
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1368
|
-
return this.
|
|
1372
|
+
return this.z9m_1(value, $completion);
|
|
1369
1373
|
};
|
|
1370
1374
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1371
|
-
return this.
|
|
1375
|
+
return this.z9m_1;
|
|
1372
1376
|
};
|
|
1373
1377
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1374
1378
|
var tmp;
|
|
@@ -1389,13 +1393,13 @@
|
|
|
1389
1393
|
return hashCode(this.a3());
|
|
1390
1394
|
};
|
|
1391
1395
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1392
|
-
this.
|
|
1396
|
+
this.a9n_1 = function_0;
|
|
1393
1397
|
}
|
|
1394
1398
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1395
|
-
return this.
|
|
1399
|
+
return this.a9n_1(value, $completion);
|
|
1396
1400
|
};
|
|
1397
1401
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1398
|
-
return this.
|
|
1402
|
+
return this.a9n_1;
|
|
1399
1403
|
};
|
|
1400
1404
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1401
1405
|
var tmp;
|
|
@@ -1416,13 +1420,13 @@
|
|
|
1416
1420
|
return hashCode(this.a3());
|
|
1417
1421
|
};
|
|
1418
1422
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1419
|
-
this.
|
|
1423
|
+
this.b9n_1 = function_0;
|
|
1420
1424
|
}
|
|
1421
1425
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1422
|
-
return this.
|
|
1426
|
+
return this.b9n_1(value, $completion);
|
|
1423
1427
|
};
|
|
1424
1428
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1425
|
-
return this.
|
|
1429
|
+
return this.b9n_1;
|
|
1426
1430
|
};
|
|
1427
1431
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1428
1432
|
var tmp;
|
|
@@ -1443,13 +1447,13 @@
|
|
|
1443
1447
|
return hashCode(this.a3());
|
|
1444
1448
|
};
|
|
1445
1449
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1446
|
-
this.
|
|
1450
|
+
this.c9n_1 = function_0;
|
|
1447
1451
|
}
|
|
1448
1452
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1449
|
-
return this.
|
|
1453
|
+
return this.c9n_1(value, $completion);
|
|
1450
1454
|
};
|
|
1451
1455
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1452
|
-
return this.
|
|
1456
|
+
return this.c9n_1;
|
|
1453
1457
|
};
|
|
1454
1458
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1455
1459
|
var tmp;
|
|
@@ -1470,13 +1474,13 @@
|
|
|
1470
1474
|
return hashCode(this.a3());
|
|
1471
1475
|
};
|
|
1472
1476
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1473
|
-
this.
|
|
1477
|
+
this.d9n_1 = function_0;
|
|
1474
1478
|
}
|
|
1475
1479
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1476
|
-
return this.
|
|
1480
|
+
return this.d9n_1(value, $completion);
|
|
1477
1481
|
};
|
|
1478
1482
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1479
|
-
return this.
|
|
1483
|
+
return this.d9n_1;
|
|
1480
1484
|
};
|
|
1481
1485
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1482
1486
|
var tmp;
|
|
@@ -1577,8 +1581,8 @@
|
|
|
1577
1581
|
};
|
|
1578
1582
|
}
|
|
1579
1583
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1580
|
-
this.
|
|
1581
|
-
this.
|
|
1584
|
+
this.m9n_1 = this$0;
|
|
1585
|
+
this.n9n_1 = $subscriber;
|
|
1582
1586
|
CoroutineImpl.call(this, resultContinuation);
|
|
1583
1587
|
}
|
|
1584
1588
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1599,8 +1603,8 @@
|
|
|
1599
1603
|
case 0:
|
|
1600
1604
|
this.s8_1 = 2;
|
|
1601
1605
|
this.r8_1 = 1;
|
|
1602
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1603
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1606
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.m9n_1).p9n();
|
|
1607
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.n9n_1, null);
|
|
1604
1608
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1605
1609
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1606
1610
|
return suspendResult;
|
|
@@ -1624,8 +1628,8 @@
|
|
|
1624
1628
|
while (true);
|
|
1625
1629
|
};
|
|
1626
1630
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1627
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1628
|
-
i.
|
|
1631
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.m9n_1, this.n9n_1, completion);
|
|
1632
|
+
i.o9n_1 = $this$launchDefault;
|
|
1629
1633
|
return i;
|
|
1630
1634
|
};
|
|
1631
1635
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1637,8 +1641,8 @@
|
|
|
1637
1641
|
return l;
|
|
1638
1642
|
}
|
|
1639
1643
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1640
|
-
this.
|
|
1641
|
-
this.
|
|
1644
|
+
this.y9n_1 = this$0;
|
|
1645
|
+
this.z9n_1 = $subscriber;
|
|
1642
1646
|
CoroutineImpl.call(this, resultContinuation);
|
|
1643
1647
|
}
|
|
1644
1648
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1659,8 +1663,8 @@
|
|
|
1659
1663
|
case 0:
|
|
1660
1664
|
this.s8_1 = 2;
|
|
1661
1665
|
this.r8_1 = 1;
|
|
1662
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1663
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1666
|
+
var tmp_0 = observeTableStateUpdates(this.y9n_1);
|
|
1667
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.z9n_1, null);
|
|
1664
1668
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1665
1669
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1666
1670
|
return suspendResult;
|
|
@@ -1684,8 +1688,8 @@
|
|
|
1684
1688
|
while (true);
|
|
1685
1689
|
};
|
|
1686
1690
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1687
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1688
|
-
i.
|
|
1691
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.y9n_1, this.z9n_1, completion);
|
|
1692
|
+
i.a9o_1 = $this$launchDefault;
|
|
1689
1693
|
return i;
|
|
1690
1694
|
};
|
|
1691
1695
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1697,8 +1701,8 @@
|
|
|
1697
1701
|
return l;
|
|
1698
1702
|
}
|
|
1699
1703
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1700
|
-
this.
|
|
1701
|
-
this.
|
|
1704
|
+
this.j9o_1 = this$0;
|
|
1705
|
+
this.k9o_1 = $subscriber;
|
|
1702
1706
|
CoroutineImpl.call(this, resultContinuation);
|
|
1703
1707
|
}
|
|
1704
1708
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1719,9 +1723,9 @@
|
|
|
1719
1723
|
case 0:
|
|
1720
1724
|
this.s8_1 = 2;
|
|
1721
1725
|
this.r8_1 = 1;
|
|
1722
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1723
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1724
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1726
|
+
var this_0 = observeTableStateUpdates(this.j9o_1);
|
|
1727
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.j9o_1);
|
|
1728
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.k9o_1, null);
|
|
1725
1729
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1726
1730
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1727
1731
|
return suspendResult;
|
|
@@ -1745,8 +1749,8 @@
|
|
|
1745
1749
|
while (true);
|
|
1746
1750
|
};
|
|
1747
1751
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1748
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1749
|
-
i.
|
|
1752
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.j9o_1, this.k9o_1, completion);
|
|
1753
|
+
i.l9o_1 = $this$launchDefault;
|
|
1750
1754
|
return i;
|
|
1751
1755
|
};
|
|
1752
1756
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1758,18 +1762,18 @@
|
|
|
1758
1762
|
return l;
|
|
1759
1763
|
}
|
|
1760
1764
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1761
|
-
this.
|
|
1765
|
+
this.u9o_1 = this$0;
|
|
1762
1766
|
CoroutineImpl.call(this, resultContinuation);
|
|
1763
1767
|
}
|
|
1764
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1765
|
-
var tmp = this.
|
|
1768
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).x9o = function ($this$transformLatest, it, $completion) {
|
|
1769
|
+
var tmp = this.y9o($this$transformLatest, it, $completion);
|
|
1766
1770
|
tmp.t8_1 = Unit_instance;
|
|
1767
1771
|
tmp.u8_1 = null;
|
|
1768
1772
|
return tmp.z8();
|
|
1769
1773
|
};
|
|
1770
1774
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1771
1775
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1772
|
-
return this.
|
|
1776
|
+
return this.x9o(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1773
1777
|
};
|
|
1774
1778
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1775
1779
|
var suspendResult = this.t8_1;
|
|
@@ -1780,8 +1784,8 @@
|
|
|
1780
1784
|
case 0:
|
|
1781
1785
|
this.s8_1 = 2;
|
|
1782
1786
|
this.r8_1 = 1;
|
|
1783
|
-
var table = this.
|
|
1784
|
-
suspendResult = emitAll(this.
|
|
1787
|
+
var table = this.w9o_1;
|
|
1788
|
+
suspendResult = emitAll(this.v9o_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.u9o_1, null)), this);
|
|
1785
1789
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1786
1790
|
return suspendResult;
|
|
1787
1791
|
}
|
|
@@ -1803,22 +1807,22 @@
|
|
|
1803
1807
|
}
|
|
1804
1808
|
while (true);
|
|
1805
1809
|
};
|
|
1806
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1807
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1808
|
-
i.
|
|
1809
|
-
i.
|
|
1810
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).y9o = function ($this$transformLatest, it, completion) {
|
|
1811
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.u9o_1, completion);
|
|
1812
|
+
i.v9o_1 = $this$transformLatest;
|
|
1813
|
+
i.w9o_1 = it;
|
|
1810
1814
|
return i;
|
|
1811
1815
|
};
|
|
1812
1816
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1813
1817
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1814
1818
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1815
|
-
return i.
|
|
1819
|
+
return i.x9o($this$transformLatest, it, $completion);
|
|
1816
1820
|
};
|
|
1817
1821
|
l.$arity = 2;
|
|
1818
1822
|
return l;
|
|
1819
1823
|
}
|
|
1820
1824
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1821
|
-
this.
|
|
1825
|
+
this.g9k_1 = $this;
|
|
1822
1826
|
}
|
|
1823
1827
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1824
1828
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1830,7 +1834,7 @@
|
|
|
1830
1834
|
return this.o28(collector, $completion);
|
|
1831
1835
|
};
|
|
1832
1836
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1833
|
-
this.
|
|
1837
|
+
this.b9l_1 = $this;
|
|
1834
1838
|
}
|
|
1835
1839
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
1836
1840
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1842,10 +1846,10 @@
|
|
|
1842
1846
|
return this.o28(collector, $completion);
|
|
1843
1847
|
};
|
|
1844
1848
|
function GameServer$observeTableWhenRoundChanges$lambda(old, new_0) {
|
|
1845
|
-
return old.
|
|
1849
|
+
return old.he_1 === new_0.he_1;
|
|
1846
1850
|
}
|
|
1847
1851
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1848
|
-
this.
|
|
1852
|
+
this.w9l_1 = $this;
|
|
1849
1853
|
}
|
|
1850
1854
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
1851
1855
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1857,8 +1861,8 @@
|
|
|
1857
1861
|
return this.o28(collector, $completion);
|
|
1858
1862
|
};
|
|
1859
1863
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1860
|
-
this.
|
|
1861
|
-
this.
|
|
1864
|
+
this.h9p_1 = this$0;
|
|
1865
|
+
this.i9p_1 = $subscriber;
|
|
1862
1866
|
CoroutineImpl.call(this, resultContinuation);
|
|
1863
1867
|
}
|
|
1864
1868
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1879,8 +1883,8 @@
|
|
|
1879
1883
|
case 0:
|
|
1880
1884
|
this.s8_1 = 2;
|
|
1881
1885
|
this.r8_1 = 1;
|
|
1882
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1883
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1886
|
+
var tmp_0 = distinctUntilChanged(this.h9p_1.r6m());
|
|
1887
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.i9p_1, null);
|
|
1884
1888
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1885
1889
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1886
1890
|
return suspendResult;
|
|
@@ -1904,8 +1908,8 @@
|
|
|
1904
1908
|
while (true);
|
|
1905
1909
|
};
|
|
1906
1910
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1907
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1908
|
-
i.
|
|
1911
|
+
var i = new GameServer$subscribeWith$slambda(this.h9p_1, this.i9p_1, completion);
|
|
1912
|
+
i.j9p_1 = $this$launchDefault;
|
|
1909
1913
|
return i;
|
|
1910
1914
|
};
|
|
1911
1915
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1917,18 +1921,18 @@
|
|
|
1917
1921
|
return l;
|
|
1918
1922
|
}
|
|
1919
1923
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1920
|
-
this.
|
|
1924
|
+
this.s9p_1 = $action;
|
|
1921
1925
|
CoroutineImpl.call(this, resultContinuation);
|
|
1922
1926
|
}
|
|
1923
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1924
|
-
var tmp = this.
|
|
1927
|
+
protoOf(GameServer$fromClientEvent$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
1928
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
1925
1929
|
tmp.t8_1 = Unit_instance;
|
|
1926
1930
|
tmp.u8_1 = null;
|
|
1927
1931
|
return tmp.z8();
|
|
1928
1932
|
};
|
|
1929
1933
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1930
1934
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1931
|
-
return this.
|
|
1935
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1932
1936
|
};
|
|
1933
1937
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1934
1938
|
var suspendResult = this.t8_1;
|
|
@@ -1937,11 +1941,11 @@
|
|
|
1937
1941
|
var tmp = this.r8_1;
|
|
1938
1942
|
if (tmp === 0) {
|
|
1939
1943
|
this.s8_1 = 1;
|
|
1940
|
-
if (this.
|
|
1941
|
-
if (!get_isCreated(this.
|
|
1944
|
+
if (this.s9p_1 instanceof PlayerReadyFromClientAction)
|
|
1945
|
+
if (!get_isCreated(this.u9p_1.state)) {
|
|
1942
1946
|
return Unit_instance;
|
|
1943
1947
|
}
|
|
1944
|
-
this.
|
|
1948
|
+
this.u9p_1.dispatch(this.s9p_1);
|
|
1945
1949
|
return Unit_instance;
|
|
1946
1950
|
} else if (tmp === 1) {
|
|
1947
1951
|
throw this.u8_1;
|
|
@@ -1952,33 +1956,33 @@
|
|
|
1952
1956
|
}
|
|
1953
1957
|
while (true);
|
|
1954
1958
|
};
|
|
1955
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1956
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1957
|
-
i.
|
|
1958
|
-
i.
|
|
1959
|
+
protoOf(GameServer$fromClientEvent$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
1960
|
+
var i = new GameServer$fromClientEvent$slambda(this.s9p_1, completion);
|
|
1961
|
+
i.t9p_1 = $this$dispatchAsync;
|
|
1962
|
+
i.u9p_1 = store;
|
|
1959
1963
|
return i;
|
|
1960
1964
|
};
|
|
1961
1965
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1962
1966
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1963
1967
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1964
|
-
return i.
|
|
1968
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
1965
1969
|
};
|
|
1966
1970
|
l.$arity = 2;
|
|
1967
1971
|
return l;
|
|
1968
1972
|
}
|
|
1969
1973
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1970
|
-
this.
|
|
1974
|
+
this.f9q_1 = $playerId;
|
|
1971
1975
|
CoroutineImpl.call(this, resultContinuation);
|
|
1972
1976
|
}
|
|
1973
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1974
|
-
var tmp = this.
|
|
1977
|
+
protoOf(GameServer$playerLostConnection$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
1978
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
1975
1979
|
tmp.t8_1 = Unit_instance;
|
|
1976
1980
|
tmp.u8_1 = null;
|
|
1977
1981
|
return tmp.z8();
|
|
1978
1982
|
};
|
|
1979
1983
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1980
1984
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1981
|
-
return this.
|
|
1985
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1982
1986
|
};
|
|
1983
1987
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1984
1988
|
var suspendResult = this.t8_1;
|
|
@@ -1987,12 +1991,12 @@
|
|
|
1987
1991
|
var tmp = this.r8_1;
|
|
1988
1992
|
if (tmp === 0) {
|
|
1989
1993
|
this.s8_1 = 1;
|
|
1990
|
-
if (!get_isCreated(this.
|
|
1994
|
+
if (!get_isCreated(this.h9q_1.state)) {
|
|
1991
1995
|
return Unit_instance;
|
|
1992
1996
|
}
|
|
1993
|
-
var tmp_0 = this.
|
|
1997
|
+
var tmp_0 = this.h9q_1.dispatch;
|
|
1994
1998
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1995
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1999
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.f9q_1));
|
|
1996
2000
|
return Unit_instance;
|
|
1997
2001
|
} else if (tmp === 1) {
|
|
1998
2002
|
throw this.u8_1;
|
|
@@ -2003,34 +2007,34 @@
|
|
|
2003
2007
|
}
|
|
2004
2008
|
while (true);
|
|
2005
2009
|
};
|
|
2006
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2007
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2008
|
-
i.
|
|
2009
|
-
i.
|
|
2010
|
+
protoOf(GameServer$playerLostConnection$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2011
|
+
var i = new GameServer$playerLostConnection$slambda(this.f9q_1, completion);
|
|
2012
|
+
i.g9q_1 = $this$dispatchAsync;
|
|
2013
|
+
i.h9q_1 = store;
|
|
2010
2014
|
return i;
|
|
2011
2015
|
};
|
|
2012
2016
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2013
2017
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2014
2018
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2015
|
-
return i.
|
|
2019
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2016
2020
|
};
|
|
2017
2021
|
l.$arity = 2;
|
|
2018
2022
|
return l;
|
|
2019
2023
|
}
|
|
2020
2024
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2021
|
-
this.
|
|
2022
|
-
this.
|
|
2025
|
+
this.q9q_1 = this$0;
|
|
2026
|
+
this.r9q_1 = $playerId;
|
|
2023
2027
|
CoroutineImpl.call(this, resultContinuation);
|
|
2024
2028
|
}
|
|
2025
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2026
|
-
var tmp = this.
|
|
2029
|
+
protoOf(GameServer$playerLive$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2030
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2027
2031
|
tmp.t8_1 = Unit_instance;
|
|
2028
2032
|
tmp.u8_1 = null;
|
|
2029
2033
|
return tmp.z8();
|
|
2030
2034
|
};
|
|
2031
2035
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2032
2036
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2033
|
-
return this.
|
|
2037
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2034
2038
|
};
|
|
2035
2039
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2036
2040
|
var suspendResult = this.t8_1;
|
|
@@ -2039,16 +2043,16 @@
|
|
|
2039
2043
|
var tmp = this.r8_1;
|
|
2040
2044
|
if (tmp === 0) {
|
|
2041
2045
|
this.s8_1 = 1;
|
|
2042
|
-
if (get_isFinished(this.
|
|
2046
|
+
if (get_isFinished(this.t9q_1.state) || get_isFinishing(this.t9q_1.state)) {
|
|
2043
2047
|
return Unit_instance;
|
|
2044
2048
|
}
|
|
2045
|
-
if (!get_isCreated(this.
|
|
2046
|
-
this.
|
|
2049
|
+
if (!get_isCreated(this.t9q_1.state) || !this.q9q_1.u66().u6n()) {
|
|
2050
|
+
this.q9q_1.h4q().w('GameEngine_API', 'playerLive: ' + this.r9q_1 + ' before game is created');
|
|
2047
2051
|
return Unit_instance;
|
|
2048
2052
|
}
|
|
2049
|
-
var tmp_0 = this.
|
|
2053
|
+
var tmp_0 = this.t9q_1.dispatch;
|
|
2050
2054
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2051
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2055
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.r9q_1));
|
|
2052
2056
|
return Unit_instance;
|
|
2053
2057
|
} else if (tmp === 1) {
|
|
2054
2058
|
throw this.u8_1;
|
|
@@ -2059,34 +2063,34 @@
|
|
|
2059
2063
|
}
|
|
2060
2064
|
while (true);
|
|
2061
2065
|
};
|
|
2062
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2063
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2064
|
-
i.
|
|
2065
|
-
i.
|
|
2066
|
+
protoOf(GameServer$playerLive$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2067
|
+
var i = new GameServer$playerLive$slambda(this.q9q_1, this.r9q_1, completion);
|
|
2068
|
+
i.s9q_1 = $this$dispatchAsync;
|
|
2069
|
+
i.t9q_1 = store;
|
|
2066
2070
|
return i;
|
|
2067
2071
|
};
|
|
2068
2072
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2069
2073
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2070
2074
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2071
|
-
return i.
|
|
2075
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2072
2076
|
};
|
|
2073
2077
|
l.$arity = 2;
|
|
2074
2078
|
return l;
|
|
2075
2079
|
}
|
|
2076
2080
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2077
|
-
this.
|
|
2078
|
-
this.
|
|
2081
|
+
this.c9r_1 = this$0;
|
|
2082
|
+
this.d9r_1 = $playerId;
|
|
2079
2083
|
CoroutineImpl.call(this, resultContinuation);
|
|
2080
2084
|
}
|
|
2081
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2082
|
-
var tmp = this.
|
|
2085
|
+
protoOf(GameServer$playerLeft$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2086
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2083
2087
|
tmp.t8_1 = Unit_instance;
|
|
2084
2088
|
tmp.u8_1 = null;
|
|
2085
2089
|
return tmp.z8();
|
|
2086
2090
|
};
|
|
2087
2091
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2088
2092
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2089
|
-
return this.
|
|
2093
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2090
2094
|
};
|
|
2091
2095
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2092
2096
|
var suspendResult = this.t8_1;
|
|
@@ -2095,16 +2099,16 @@
|
|
|
2095
2099
|
var tmp = this.r8_1;
|
|
2096
2100
|
if (tmp === 0) {
|
|
2097
2101
|
this.s8_1 = 1;
|
|
2098
|
-
if (get_isFinished(this.
|
|
2102
|
+
if (get_isFinished(this.f9r_1.state) || get_isFinishing(this.f9r_1.state)) {
|
|
2099
2103
|
return Unit_instance;
|
|
2100
2104
|
}
|
|
2101
|
-
if (!get_isCreated(this.
|
|
2102
|
-
this.
|
|
2105
|
+
if (!get_isCreated(this.f9r_1.state) || !this.c9r_1.u66().u6n()) {
|
|
2106
|
+
this.c9r_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.d9r_1 + ' before game is created');
|
|
2103
2107
|
return Unit_instance;
|
|
2104
2108
|
}
|
|
2105
|
-
var tmp_0 = this.
|
|
2109
|
+
var tmp_0 = this.f9r_1.dispatch;
|
|
2106
2110
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2107
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2111
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.d9r_1));
|
|
2108
2112
|
return Unit_instance;
|
|
2109
2113
|
} else if (tmp === 1) {
|
|
2110
2114
|
throw this.u8_1;
|
|
@@ -2115,39 +2119,39 @@
|
|
|
2115
2119
|
}
|
|
2116
2120
|
while (true);
|
|
2117
2121
|
};
|
|
2118
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2119
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2120
|
-
i.
|
|
2121
|
-
i.
|
|
2122
|
+
protoOf(GameServer$playerLeft$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2123
|
+
var i = new GameServer$playerLeft$slambda(this.c9r_1, this.d9r_1, completion);
|
|
2124
|
+
i.e9r_1 = $this$dispatchAsync;
|
|
2125
|
+
i.f9r_1 = store;
|
|
2122
2126
|
return i;
|
|
2123
2127
|
};
|
|
2124
2128
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2125
2129
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2126
2130
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2127
|
-
return i.
|
|
2131
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2128
2132
|
};
|
|
2129
2133
|
l.$arity = 2;
|
|
2130
2134
|
return l;
|
|
2131
2135
|
}
|
|
2132
2136
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2133
|
-
this.
|
|
2134
|
-
this.
|
|
2135
|
-
this.
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2137
|
+
this.o9r_1 = $usersArray;
|
|
2138
|
+
this.p9r_1 = $config;
|
|
2139
|
+
this.q9r_1 = this$0;
|
|
2140
|
+
this.r9r_1 = $roomId;
|
|
2141
|
+
this.s9r_1 = $transition;
|
|
2142
|
+
this.t9r_1 = $gameCreatorId;
|
|
2143
|
+
this.u9r_1 = $spectators;
|
|
2140
2144
|
CoroutineImpl.call(this, resultContinuation);
|
|
2141
2145
|
}
|
|
2142
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2143
|
-
var tmp = this.
|
|
2146
|
+
protoOf(GameServer$roomOnCreate$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2147
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2144
2148
|
tmp.t8_1 = Unit_instance;
|
|
2145
2149
|
tmp.u8_1 = null;
|
|
2146
2150
|
return tmp.z8();
|
|
2147
2151
|
};
|
|
2148
2152
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2149
2153
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2150
|
-
return this.
|
|
2154
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2151
2155
|
};
|
|
2152
2156
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2153
2157
|
var suspendResult = this.t8_1;
|
|
@@ -2156,28 +2160,28 @@
|
|
|
2156
2160
|
var tmp = this.r8_1;
|
|
2157
2161
|
if (tmp === 0) {
|
|
2158
2162
|
this.s8_1 = 1;
|
|
2159
|
-
var users = toList(this.
|
|
2160
|
-
if (!(this.
|
|
2161
|
-
this.
|
|
2162
|
-
this.
|
|
2163
|
+
var users = toList(this.o9r_1);
|
|
2164
|
+
if (!(this.p9r_1.playersMode.count === users.o())) {
|
|
2165
|
+
this.q9r_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.r9r_1 + ', config = ' + this.p9r_1.toString() + ', users = ' + toString(users));
|
|
2166
|
+
this.w9r_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.q9r_1.table.isGameFinished, this.q9r_1.table));
|
|
2163
2167
|
return Unit_instance;
|
|
2164
2168
|
}
|
|
2165
2169
|
var tmp_0;
|
|
2166
|
-
if (this.
|
|
2167
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2170
|
+
if (this.p9r_1.mode.shufflePlayers && this.s9r_1 == null) {
|
|
2171
|
+
tmp_0 = _get_random__h29cgo(this.q9r_1).q5d(toMutableList(users));
|
|
2168
2172
|
} else {
|
|
2169
|
-
var tmp0_safe_receiver = this.
|
|
2173
|
+
var tmp0_safe_receiver = this.s9r_1;
|
|
2170
2174
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2171
2175
|
var tmp_1;
|
|
2172
|
-
if (!(previousPlayers == null) && this.
|
|
2173
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2176
|
+
if (!(previousPlayers == null) && this.p9r_1.playersMode.isTeamGame) {
|
|
2177
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.q9r_1);
|
|
2174
2178
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2175
2179
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2176
2180
|
while (_iterator__ex2g4s.m()) {
|
|
2177
2181
|
var item = _iterator__ex2g4s.n();
|
|
2178
2182
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2179
2183
|
}
|
|
2180
|
-
var previousTeams = tmp_2.
|
|
2184
|
+
var previousTeams = tmp_2.m8j(destination);
|
|
2181
2185
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2182
2186
|
var _iterator__ex2g4s_0 = users.l();
|
|
2183
2187
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2201,19 +2205,19 @@
|
|
|
2201
2205
|
destination_1.j(destination_2);
|
|
2202
2206
|
}
|
|
2203
2207
|
var updatedTeams = destination_1;
|
|
2204
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2208
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.q9r_1).q8j(updatedTeams);
|
|
2205
2209
|
} else {
|
|
2206
2210
|
tmp_1 = users;
|
|
2207
2211
|
}
|
|
2208
2212
|
tmp_0 = tmp_1;
|
|
2209
2213
|
}
|
|
2210
2214
|
var updatedUsers = tmp_0;
|
|
2211
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2212
|
-
var tmp_3 = this.
|
|
2215
|
+
var gameCreatorUser = getPlayer(users, this.t9r_1);
|
|
2216
|
+
var tmp_3 = this.w9r_1.dispatch;
|
|
2213
2217
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2214
2218
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2215
|
-
var tmp3_spectators = toList(this.
|
|
2216
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2219
|
+
var tmp3_spectators = toList(this.u9r_1);
|
|
2220
|
+
tmp_3(new StartGameMechanicAction(this.p9r_1, this.r9r_1, tmp1_version, this.t9r_1, tmp2_users, VOID, tmp3_spectators));
|
|
2217
2221
|
return Unit_instance;
|
|
2218
2222
|
} else if (tmp === 1) {
|
|
2219
2223
|
throw this.u8_1;
|
|
@@ -2224,33 +2228,33 @@
|
|
|
2224
2228
|
}
|
|
2225
2229
|
while (true);
|
|
2226
2230
|
};
|
|
2227
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2228
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2229
|
-
i.
|
|
2230
|
-
i.
|
|
2231
|
+
protoOf(GameServer$roomOnCreate$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2232
|
+
var i = new GameServer$roomOnCreate$slambda(this.o9r_1, this.p9r_1, this.q9r_1, this.r9r_1, this.s9r_1, this.t9r_1, this.u9r_1, completion);
|
|
2233
|
+
i.v9r_1 = $this$dispatchAsync;
|
|
2234
|
+
i.w9r_1 = store;
|
|
2231
2235
|
return i;
|
|
2232
2236
|
};
|
|
2233
2237
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2234
2238
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2235
2239
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2236
|
-
return i.
|
|
2240
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2237
2241
|
};
|
|
2238
2242
|
l.$arity = 2;
|
|
2239
2243
|
return l;
|
|
2240
2244
|
}
|
|
2241
2245
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2242
|
-
this.
|
|
2246
|
+
this.f9s_1 = $state;
|
|
2243
2247
|
CoroutineImpl.call(this, resultContinuation);
|
|
2244
2248
|
}
|
|
2245
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2246
|
-
var tmp = this.
|
|
2249
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).i9s = function ($this$dispatchAwait, store, $completion) {
|
|
2250
|
+
var tmp = this.w9p($this$dispatchAwait, store, $completion);
|
|
2247
2251
|
tmp.t8_1 = Unit_instance;
|
|
2248
2252
|
tmp.u8_1 = null;
|
|
2249
2253
|
return tmp.z8();
|
|
2250
2254
|
};
|
|
2251
2255
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2252
2256
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2253
|
-
return this.
|
|
2257
|
+
return this.i9s(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2254
2258
|
};
|
|
2255
2259
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2256
2260
|
var suspendResult = this.t8_1;
|
|
@@ -2259,10 +2263,10 @@
|
|
|
2259
2263
|
var tmp = this.r8_1;
|
|
2260
2264
|
if (tmp === 0) {
|
|
2261
2265
|
this.s8_1 = 1;
|
|
2262
|
-
if (get_isCreating(this.
|
|
2263
|
-
var tmp_0 = this.
|
|
2266
|
+
if (get_isCreating(this.h9s_1.state)) {
|
|
2267
|
+
var tmp_0 = this.h9s_1.dispatch;
|
|
2264
2268
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2265
|
-
var tmp1_table = this.
|
|
2269
|
+
var tmp1_table = this.f9s_1.table;
|
|
2266
2270
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2267
2271
|
return true;
|
|
2268
2272
|
}
|
|
@@ -2276,34 +2280,34 @@
|
|
|
2276
2280
|
}
|
|
2277
2281
|
while (true);
|
|
2278
2282
|
};
|
|
2279
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2280
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2281
|
-
i.
|
|
2282
|
-
i.
|
|
2283
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).w9p = function ($this$dispatchAwait, store, completion) {
|
|
2284
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.f9s_1, completion);
|
|
2285
|
+
i.g9s_1 = $this$dispatchAwait;
|
|
2286
|
+
i.h9s_1 = store;
|
|
2283
2287
|
return i;
|
|
2284
2288
|
};
|
|
2285
2289
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2286
2290
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2287
2291
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2288
|
-
return i.
|
|
2292
|
+
return i.i9s($this$dispatchAwait, store, $completion);
|
|
2289
2293
|
};
|
|
2290
2294
|
l.$arity = 2;
|
|
2291
2295
|
return l;
|
|
2292
2296
|
}
|
|
2293
2297
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2294
|
-
this.
|
|
2295
|
-
this.
|
|
2298
|
+
this.r9s_1 = $isCreated;
|
|
2299
|
+
this.s9s_1 = $state;
|
|
2296
2300
|
CoroutineImpl.call(this, resultContinuation);
|
|
2297
2301
|
}
|
|
2298
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2299
|
-
var tmp = this.
|
|
2302
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2303
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2300
2304
|
tmp.t8_1 = Unit_instance;
|
|
2301
2305
|
tmp.u8_1 = null;
|
|
2302
2306
|
return tmp.z8();
|
|
2303
2307
|
};
|
|
2304
2308
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2305
2309
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2306
|
-
return this.
|
|
2310
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2307
2311
|
};
|
|
2308
2312
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2309
2313
|
var suspendResult = this.t8_1;
|
|
@@ -2314,7 +2318,7 @@
|
|
|
2314
2318
|
case 0:
|
|
2315
2319
|
this.s8_1 = 3;
|
|
2316
2320
|
this.r8_1 = 1;
|
|
2317
|
-
suspendResult = this.
|
|
2321
|
+
suspendResult = this.r9s_1.z1t(this);
|
|
2318
2322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2319
2323
|
return suspendResult;
|
|
2320
2324
|
}
|
|
@@ -2322,10 +2326,10 @@
|
|
|
2322
2326
|
continue $sm;
|
|
2323
2327
|
case 1:
|
|
2324
2328
|
if (suspendResult) {
|
|
2325
|
-
var _iterator__ex2g4s = this.
|
|
2329
|
+
var _iterator__ex2g4s = this.s9s_1.actions.l();
|
|
2326
2330
|
while (_iterator__ex2g4s.m()) {
|
|
2327
2331
|
var element = _iterator__ex2g4s.n();
|
|
2328
|
-
this.
|
|
2332
|
+
this.u9s_1.dispatch(element);
|
|
2329
2333
|
}
|
|
2330
2334
|
this.r8_1 = 2;
|
|
2331
2335
|
continue $sm;
|
|
@@ -2350,35 +2354,35 @@
|
|
|
2350
2354
|
}
|
|
2351
2355
|
while (true);
|
|
2352
2356
|
};
|
|
2353
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2354
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2355
|
-
i.
|
|
2356
|
-
i.
|
|
2357
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2358
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.r9s_1, this.s9s_1, completion);
|
|
2359
|
+
i.t9s_1 = $this$dispatchAsync;
|
|
2360
|
+
i.u9s_1 = store;
|
|
2357
2361
|
return i;
|
|
2358
2362
|
};
|
|
2359
2363
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2360
2364
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2361
2365
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2362
|
-
return i.
|
|
2366
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2363
2367
|
};
|
|
2364
2368
|
l.$arity = 2;
|
|
2365
2369
|
return l;
|
|
2366
2370
|
}
|
|
2367
2371
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2370
|
-
this.
|
|
2372
|
+
this.d9t_1 = $tableLite;
|
|
2373
|
+
this.e9t_1 = $roomId;
|
|
2374
|
+
this.f9t_1 = this$0;
|
|
2371
2375
|
CoroutineImpl.call(this, resultContinuation);
|
|
2372
2376
|
}
|
|
2373
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2374
|
-
var tmp = this.
|
|
2377
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2375
2379
|
tmp.t8_1 = Unit_instance;
|
|
2376
2380
|
tmp.u8_1 = null;
|
|
2377
2381
|
return tmp.z8();
|
|
2378
2382
|
};
|
|
2379
2383
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2380
2384
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2381
|
-
return this.
|
|
2385
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2382
2386
|
};
|
|
2383
2387
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2384
2388
|
var suspendResult = this.t8_1;
|
|
@@ -2387,9 +2391,9 @@
|
|
|
2387
2391
|
var tmp = this.r8_1;
|
|
2388
2392
|
if (tmp === 0) {
|
|
2389
2393
|
this.s8_1 = 1;
|
|
2390
|
-
var tmp_0 = this.
|
|
2391
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2392
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2394
|
+
var tmp_0 = this.h9t_1.dispatch;
|
|
2395
|
+
var tmp0_reason = new RestartRoundReason(this.d9t_1.gameInfo.round.roundNumber);
|
|
2396
|
+
var tmp1_table = Companion_instance_0.restartRound(this.e9t_1, _get_idsProvider__fnfajc(this.f9t_1).c6e(), get_versionOrDefault(GameEngineConfig_instance), this.d9t_1);
|
|
2393
2397
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2394
2398
|
return Unit_instance;
|
|
2395
2399
|
} else if (tmp === 1) {
|
|
@@ -2401,16 +2405,16 @@
|
|
|
2401
2405
|
}
|
|
2402
2406
|
while (true);
|
|
2403
2407
|
};
|
|
2404
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2405
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2406
|
-
i.
|
|
2407
|
-
i.
|
|
2408
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2409
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.d9t_1, this.e9t_1, this.f9t_1, completion);
|
|
2410
|
+
i.g9t_1 = $this$dispatchAsync;
|
|
2411
|
+
i.h9t_1 = store;
|
|
2408
2412
|
return i;
|
|
2409
2413
|
};
|
|
2410
2414
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2411
2415
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2412
2416
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2413
|
-
return i.
|
|
2417
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2414
2418
|
};
|
|
2415
2419
|
l.$arity = 2;
|
|
2416
2420
|
return l;
|
|
@@ -2418,15 +2422,15 @@
|
|
|
2418
2422
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2419
2423
|
CoroutineImpl.call(this, resultContinuation);
|
|
2420
2424
|
}
|
|
2421
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2422
|
-
var tmp = this.
|
|
2425
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2426
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2423
2427
|
tmp.t8_1 = Unit_instance;
|
|
2424
2428
|
tmp.u8_1 = null;
|
|
2425
2429
|
return tmp.z8();
|
|
2426
2430
|
};
|
|
2427
2431
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2428
2432
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2429
|
-
return this.
|
|
2433
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2430
2434
|
};
|
|
2431
2435
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2432
2436
|
var suspendResult = this.t8_1;
|
|
@@ -2435,7 +2439,7 @@
|
|
|
2435
2439
|
var tmp = this.r8_1;
|
|
2436
2440
|
if (tmp === 0) {
|
|
2437
2441
|
this.s8_1 = 1;
|
|
2438
|
-
this.
|
|
2442
|
+
this.r9t_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2439
2443
|
return Unit_instance;
|
|
2440
2444
|
} else if (tmp === 1) {
|
|
2441
2445
|
throw this.u8_1;
|
|
@@ -2446,33 +2450,33 @@
|
|
|
2446
2450
|
}
|
|
2447
2451
|
while (true);
|
|
2448
2452
|
};
|
|
2449
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2453
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2450
2454
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2451
|
-
i.
|
|
2452
|
-
i.
|
|
2455
|
+
i.q9t_1 = $this$dispatchAsync;
|
|
2456
|
+
i.r9t_1 = store;
|
|
2453
2457
|
return i;
|
|
2454
2458
|
};
|
|
2455
2459
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2456
2460
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2457
2461
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2458
|
-
return i.
|
|
2462
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2459
2463
|
};
|
|
2460
2464
|
l.$arity = 2;
|
|
2461
2465
|
return l;
|
|
2462
2466
|
}
|
|
2463
2467
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2464
|
-
this.
|
|
2468
|
+
this.a9u_1 = $spectators;
|
|
2465
2469
|
CoroutineImpl.call(this, resultContinuation);
|
|
2466
2470
|
}
|
|
2467
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2468
|
-
var tmp = this.
|
|
2471
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2472
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2469
2473
|
tmp.t8_1 = Unit_instance;
|
|
2470
2474
|
tmp.u8_1 = null;
|
|
2471
2475
|
return tmp.z8();
|
|
2472
2476
|
};
|
|
2473
2477
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2474
2478
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2475
|
-
return this.
|
|
2479
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2476
2480
|
};
|
|
2477
2481
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2478
2482
|
var suspendResult = this.t8_1;
|
|
@@ -2481,7 +2485,7 @@
|
|
|
2481
2485
|
var tmp = this.r8_1;
|
|
2482
2486
|
if (tmp === 0) {
|
|
2483
2487
|
this.s8_1 = 1;
|
|
2484
|
-
this.
|
|
2488
|
+
this.c9u_1.dispatch(new AddSpectatorsAction(toList(this.a9u_1)));
|
|
2485
2489
|
return Unit_instance;
|
|
2486
2490
|
} else if (tmp === 1) {
|
|
2487
2491
|
throw this.u8_1;
|
|
@@ -2492,33 +2496,33 @@
|
|
|
2492
2496
|
}
|
|
2493
2497
|
while (true);
|
|
2494
2498
|
};
|
|
2495
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2496
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2497
|
-
i.
|
|
2498
|
-
i.
|
|
2499
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2500
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.a9u_1, completion);
|
|
2501
|
+
i.b9u_1 = $this$dispatchAsync;
|
|
2502
|
+
i.c9u_1 = store;
|
|
2499
2503
|
return i;
|
|
2500
2504
|
};
|
|
2501
2505
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2502
2506
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2503
2507
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2504
|
-
return i.
|
|
2508
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2505
2509
|
};
|
|
2506
2510
|
l.$arity = 2;
|
|
2507
2511
|
return l;
|
|
2508
2512
|
}
|
|
2509
2513
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2510
|
-
this.
|
|
2514
|
+
this.l9u_1 = $spectators;
|
|
2511
2515
|
CoroutineImpl.call(this, resultContinuation);
|
|
2512
2516
|
}
|
|
2513
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2514
|
-
var tmp = this.
|
|
2517
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2518
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2515
2519
|
tmp.t8_1 = Unit_instance;
|
|
2516
2520
|
tmp.u8_1 = null;
|
|
2517
2521
|
return tmp.z8();
|
|
2518
2522
|
};
|
|
2519
2523
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2520
2524
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2521
|
-
return this.
|
|
2525
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2522
2526
|
};
|
|
2523
2527
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2524
2528
|
var suspendResult = this.t8_1;
|
|
@@ -2527,7 +2531,7 @@
|
|
|
2527
2531
|
var tmp = this.r8_1;
|
|
2528
2532
|
if (tmp === 0) {
|
|
2529
2533
|
this.s8_1 = 1;
|
|
2530
|
-
this.
|
|
2534
|
+
this.n9u_1.dispatch(new RemoveSpectatorsAction(toList(this.l9u_1)));
|
|
2531
2535
|
return Unit_instance;
|
|
2532
2536
|
} else if (tmp === 1) {
|
|
2533
2537
|
throw this.u8_1;
|
|
@@ -2538,34 +2542,34 @@
|
|
|
2538
2542
|
}
|
|
2539
2543
|
while (true);
|
|
2540
2544
|
};
|
|
2541
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2542
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2543
|
-
i.
|
|
2544
|
-
i.
|
|
2545
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2546
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.l9u_1, completion);
|
|
2547
|
+
i.m9u_1 = $this$dispatchAsync;
|
|
2548
|
+
i.n9u_1 = store;
|
|
2545
2549
|
return i;
|
|
2546
2550
|
};
|
|
2547
2551
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2548
2552
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2549
2553
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2550
|
-
return i.
|
|
2554
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2551
2555
|
};
|
|
2552
2556
|
l.$arity = 2;
|
|
2553
2557
|
return l;
|
|
2554
2558
|
}
|
|
2555
2559
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2556
|
-
this.
|
|
2557
|
-
this.
|
|
2560
|
+
this.w9u_1 = $playerId;
|
|
2561
|
+
this.x9u_1 = this$0;
|
|
2558
2562
|
CoroutineImpl.call(this, resultContinuation);
|
|
2559
2563
|
}
|
|
2560
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2561
|
-
var tmp = this.
|
|
2564
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2565
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2562
2566
|
tmp.t8_1 = Unit_instance;
|
|
2563
2567
|
tmp.u8_1 = null;
|
|
2564
2568
|
return tmp.z8();
|
|
2565
2569
|
};
|
|
2566
2570
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2567
2571
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2568
|
-
return this.
|
|
2572
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2569
2573
|
};
|
|
2570
2574
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2571
2575
|
var suspendResult = this.t8_1;
|
|
@@ -2574,14 +2578,14 @@
|
|
|
2574
2578
|
var tmp = this.r8_1;
|
|
2575
2579
|
if (tmp === 0) {
|
|
2576
2580
|
this.s8_1 = 1;
|
|
2577
|
-
var table = this.
|
|
2578
|
-
var player = getPlayer(table.players, this.
|
|
2579
|
-
if (player.
|
|
2580
|
-
this.
|
|
2581
|
+
var table = this.z9u_1.state.t6n();
|
|
2582
|
+
var player = getPlayer(table.players, this.w9u_1);
|
|
2583
|
+
if (player.y6q_1.x68().o67_1.isLive) {
|
|
2584
|
+
this.z9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.x9u_1).g8q(player, table));
|
|
2581
2585
|
} else {
|
|
2582
|
-
var tmp_0 = this.
|
|
2586
|
+
var tmp_0 = this.z9u_1.dispatch;
|
|
2583
2587
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2584
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2588
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.w9u_1));
|
|
2585
2589
|
}
|
|
2586
2590
|
return Unit_instance;
|
|
2587
2591
|
} else if (tmp === 1) {
|
|
@@ -2593,34 +2597,34 @@
|
|
|
2593
2597
|
}
|
|
2594
2598
|
while (true);
|
|
2595
2599
|
};
|
|
2596
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2597
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2598
|
-
i.
|
|
2599
|
-
i.
|
|
2600
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2601
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.w9u_1, this.x9u_1, completion);
|
|
2602
|
+
i.y9u_1 = $this$dispatchAsync;
|
|
2603
|
+
i.z9u_1 = store;
|
|
2600
2604
|
return i;
|
|
2601
2605
|
};
|
|
2602
2606
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2603
2607
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2604
2608
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2605
|
-
return i.
|
|
2609
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2606
2610
|
};
|
|
2607
2611
|
l.$arity = 2;
|
|
2608
2612
|
return l;
|
|
2609
2613
|
}
|
|
2610
2614
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2611
|
-
this.
|
|
2612
|
-
this.
|
|
2615
|
+
this.i9v_1 = this$0;
|
|
2616
|
+
this.j9v_1 = $newRid;
|
|
2613
2617
|
CoroutineImpl.call(this, resultContinuation);
|
|
2614
2618
|
}
|
|
2615
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2616
|
-
var tmp = this.
|
|
2619
|
+
protoOf(GameServer$roomOnDelete$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2620
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2617
2621
|
tmp.t8_1 = Unit_instance;
|
|
2618
2622
|
tmp.u8_1 = null;
|
|
2619
2623
|
return tmp.z8();
|
|
2620
2624
|
};
|
|
2621
2625
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2622
2626
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2623
|
-
return this.
|
|
2627
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2624
2628
|
};
|
|
2625
2629
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2626
2630
|
var suspendResult = this.t8_1;
|
|
@@ -2629,27 +2633,27 @@
|
|
|
2629
2633
|
var tmp = this.r8_1;
|
|
2630
2634
|
if (tmp === 0) {
|
|
2631
2635
|
this.s8_1 = 1;
|
|
2632
|
-
var it = this.
|
|
2636
|
+
var it = this.i9v_1.u66().t6m_1;
|
|
2633
2637
|
var tmp_0;
|
|
2634
2638
|
if (it == null) {
|
|
2635
|
-
this.
|
|
2639
|
+
this.i9v_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2636
2640
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2637
2641
|
} else {
|
|
2638
2642
|
tmp_0 = it;
|
|
2639
2643
|
}
|
|
2640
2644
|
var terminationState = tmp_0;
|
|
2641
|
-
var gameTransition = terminationState.
|
|
2645
|
+
var gameTransition = terminationState.d8u_1;
|
|
2642
2646
|
var tmp_1;
|
|
2643
2647
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2644
|
-
var tmp0_elvis_lhs = this.
|
|
2648
|
+
var tmp0_elvis_lhs = this.j9v_1;
|
|
2645
2649
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2646
2650
|
} else {
|
|
2647
2651
|
tmp_1 = gameTransition;
|
|
2648
2652
|
}
|
|
2649
2653
|
var transition = tmp_1;
|
|
2650
|
-
var tmp_2 = this.
|
|
2651
|
-
var tmp0_reason = terminationState.
|
|
2652
|
-
var tmp1_isGameFinished = this.
|
|
2654
|
+
var tmp_2 = this.l9v_1.dispatch;
|
|
2655
|
+
var tmp0_reason = terminationState.c8u_1;
|
|
2656
|
+
var tmp1_isGameFinished = this.i9v_1.u66().t6n().isGameFinished;
|
|
2653
2657
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2654
2658
|
return Unit_instance;
|
|
2655
2659
|
} else if (tmp === 1) {
|
|
@@ -2661,33 +2665,33 @@
|
|
|
2661
2665
|
}
|
|
2662
2666
|
while (true);
|
|
2663
2667
|
};
|
|
2664
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2665
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2666
|
-
i.
|
|
2667
|
-
i.
|
|
2668
|
+
protoOf(GameServer$roomOnDelete$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2669
|
+
var i = new GameServer$roomOnDelete$slambda(this.i9v_1, this.j9v_1, completion);
|
|
2670
|
+
i.k9v_1 = $this$dispatchAsync;
|
|
2671
|
+
i.l9v_1 = store;
|
|
2668
2672
|
return i;
|
|
2669
2673
|
};
|
|
2670
2674
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2671
2675
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2672
2676
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2673
|
-
return i.
|
|
2677
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2674
2678
|
};
|
|
2675
2679
|
l.$arity = 2;
|
|
2676
2680
|
return l;
|
|
2677
2681
|
}
|
|
2678
2682
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2679
|
-
this.
|
|
2683
|
+
this.u9v_1 = $enabled;
|
|
2680
2684
|
CoroutineImpl.call(this, resultContinuation);
|
|
2681
2685
|
}
|
|
2682
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2683
|
-
var tmp = this.
|
|
2686
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2687
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2684
2688
|
tmp.t8_1 = Unit_instance;
|
|
2685
2689
|
tmp.u8_1 = null;
|
|
2686
2690
|
return tmp.z8();
|
|
2687
2691
|
};
|
|
2688
2692
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2689
2693
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2690
|
-
return this.
|
|
2694
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2691
2695
|
};
|
|
2692
2696
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2693
2697
|
var suspendResult = this.t8_1;
|
|
@@ -2696,7 +2700,7 @@
|
|
|
2696
2700
|
var tmp = this.r8_1;
|
|
2697
2701
|
if (tmp === 0) {
|
|
2698
2702
|
this.s8_1 = 1;
|
|
2699
|
-
this.
|
|
2703
|
+
this.w9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.w9v_1.state).config.copy(VOID, this.u9v_1)));
|
|
2700
2704
|
return Unit_instance;
|
|
2701
2705
|
} else if (tmp === 1) {
|
|
2702
2706
|
throw this.u8_1;
|
|
@@ -2707,35 +2711,35 @@
|
|
|
2707
2711
|
}
|
|
2708
2712
|
while (true);
|
|
2709
2713
|
};
|
|
2710
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2711
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2712
|
-
i.
|
|
2713
|
-
i.
|
|
2714
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2715
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.u9v_1, completion);
|
|
2716
|
+
i.v9v_1 = $this$dispatchAsync;
|
|
2717
|
+
i.w9v_1 = store;
|
|
2714
2718
|
return i;
|
|
2715
2719
|
};
|
|
2716
2720
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2717
2721
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2718
2722
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2719
|
-
return i.
|
|
2723
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2720
2724
|
};
|
|
2721
2725
|
l.$arity = 2;
|
|
2722
2726
|
return l;
|
|
2723
2727
|
}
|
|
2724
2728
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2725
|
-
this.
|
|
2726
|
-
this.
|
|
2727
|
-
this.
|
|
2729
|
+
this.f9w_1 = $reason;
|
|
2730
|
+
this.g9w_1 = this$0;
|
|
2731
|
+
this.h9w_1 = $roomId;
|
|
2728
2732
|
CoroutineImpl.call(this, resultContinuation);
|
|
2729
2733
|
}
|
|
2730
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2731
|
-
var tmp = this.
|
|
2734
|
+
protoOf(GameServer$shutdown$slambda).v9p = function ($this$dispatchAsync, store, $completion) {
|
|
2735
|
+
var tmp = this.w9p($this$dispatchAsync, store, $completion);
|
|
2732
2736
|
tmp.t8_1 = Unit_instance;
|
|
2733
2737
|
tmp.u8_1 = null;
|
|
2734
2738
|
return tmp.z8();
|
|
2735
2739
|
};
|
|
2736
2740
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2737
2741
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2738
|
-
return this.
|
|
2742
|
+
return this.v9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2739
2743
|
};
|
|
2740
2744
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2741
2745
|
var suspendResult = this.t8_1;
|
|
@@ -2744,11 +2748,11 @@
|
|
|
2744
2748
|
var tmp = this.r8_1;
|
|
2745
2749
|
if (tmp === 0) {
|
|
2746
2750
|
this.s8_1 = 1;
|
|
2747
|
-
var state = this.
|
|
2751
|
+
var state = this.j9w_1.store.state;
|
|
2748
2752
|
if (state.u6n()) {
|
|
2749
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2753
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.f9w_1, get_serverShutdownReasonMapping());
|
|
2750
2754
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2751
|
-
var tmp_0 = this.
|
|
2755
|
+
var tmp_0 = this.j9w_1.dispatch;
|
|
2752
2756
|
var tmp_1 = Companion_instance;
|
|
2753
2757
|
var tmp_2;
|
|
2754
2758
|
switch (shutdownReason.p2_1) {
|
|
@@ -2762,12 +2766,12 @@
|
|
|
2762
2766
|
noWhenBranchMatchedException();
|
|
2763
2767
|
break;
|
|
2764
2768
|
}
|
|
2765
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2769
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.g9w_1.table.isGameFinished, this.g9w_1.table));
|
|
2766
2770
|
} else {
|
|
2767
|
-
this.
|
|
2768
|
-
var tmp_3 = this.
|
|
2771
|
+
this.g9w_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.h9w_1);
|
|
2772
|
+
var tmp_3 = this.j9w_1.dispatch;
|
|
2769
2773
|
var tmp2_safe_receiver = state.t6m_1;
|
|
2770
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2774
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d8u_1));
|
|
2771
2775
|
}
|
|
2772
2776
|
return Unit_instance;
|
|
2773
2777
|
} else if (tmp === 1) {
|
|
@@ -2779,16 +2783,16 @@
|
|
|
2779
2783
|
}
|
|
2780
2784
|
while (true);
|
|
2781
2785
|
};
|
|
2782
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2783
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2784
|
-
i.
|
|
2785
|
-
i.
|
|
2786
|
+
protoOf(GameServer$shutdown$slambda).w9p = function ($this$dispatchAsync, store, completion) {
|
|
2787
|
+
var i = new GameServer$shutdown$slambda(this.f9w_1, this.g9w_1, this.h9w_1, completion);
|
|
2788
|
+
i.i9w_1 = $this$dispatchAsync;
|
|
2789
|
+
i.j9w_1 = store;
|
|
2786
2790
|
return i;
|
|
2787
2791
|
};
|
|
2788
2792
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2789
2793
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2790
2794
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2791
|
-
return i.
|
|
2795
|
+
return i.v9p($this$dispatchAsync, store, $completion);
|
|
2792
2796
|
};
|
|
2793
2797
|
l.$arity = 2;
|
|
2794
2798
|
return l;
|
|
@@ -2819,7 +2823,7 @@
|
|
|
2819
2823
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2820
2824
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2821
2825
|
var tmp_4 = KProperty1;
|
|
2822
|
-
tmp_1.
|
|
2826
|
+
tmp_1.o9m_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2823
2827
|
var tmp_5 = this;
|
|
2824
2828
|
// Inline function 'org.kodein.di.instance' call
|
|
2825
2829
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2827,7 +2831,7 @@
|
|
|
2827
2831
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2828
2832
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2829
2833
|
var tmp_8 = KProperty1;
|
|
2830
|
-
tmp_5.
|
|
2834
|
+
tmp_5.p9m_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2831
2835
|
var tmp_9 = this;
|
|
2832
2836
|
// Inline function 'org.kodein.di.instance' call
|
|
2833
2837
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2835,7 +2839,7 @@
|
|
|
2835
2839
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2836
2840
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2837
2841
|
var tmp_12 = KProperty1;
|
|
2838
|
-
tmp_9.
|
|
2842
|
+
tmp_9.q9m_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2839
2843
|
var tmp_13 = this;
|
|
2840
2844
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2845
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2843,9 +2847,9 @@
|
|
|
2843
2847
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2844
2848
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2845
2849
|
var tmp_16 = KProperty1;
|
|
2846
|
-
tmp_13.
|
|
2850
|
+
tmp_13.r9m_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2847
2851
|
var tmp_17 = this;
|
|
2848
|
-
tmp_17.
|
|
2852
|
+
tmp_17.s9m_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2849
2853
|
var tmp_18 = this;
|
|
2850
2854
|
// Inline function 'org.kodein.di.instance' call
|
|
2851
2855
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2853,7 +2857,7 @@
|
|
|
2853
2857
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
2854
2858
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
2855
2859
|
var tmp_21 = KProperty1;
|
|
2856
|
-
tmp_18.
|
|
2860
|
+
tmp_18.t9m_1 = tmp_20.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2857
2861
|
var tmp_22 = this;
|
|
2858
2862
|
// Inline function 'org.kodein.di.instance' call
|
|
2859
2863
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2861,7 +2865,7 @@
|
|
|
2861
2865
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2862
2866
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2863
2867
|
var tmp_25 = KProperty1;
|
|
2864
|
-
tmp_22.
|
|
2868
|
+
tmp_22.u9m_1 = tmp_24.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2865
2869
|
var tmp_26 = this;
|
|
2866
2870
|
// Inline function 'org.kodein.di.instance' call
|
|
2867
2871
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2869,21 +2873,17 @@
|
|
|
2869
2873
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2870
2874
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2871
2875
|
var tmp_29 = KProperty1;
|
|
2872
|
-
tmp_26.
|
|
2876
|
+
tmp_26.v9m_1 = tmp_28.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2873
2877
|
var tmp_30 = this;
|
|
2874
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2875
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2876
|
-
tmp_30.
|
|
2877
|
-
this.u9m_1 = new Object();
|
|
2878
|
+
var tmp0_externalMiddlewares = plus(storeContract.p8y(), externalMiddlewares);
|
|
2879
|
+
var tmp1_externalReducers = plus(storeContract.o8y(), externalReducers);
|
|
2880
|
+
tmp_30.w9m_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2878
2881
|
}
|
|
2879
2882
|
protoOf(GameServer).i6m = function () {
|
|
2880
|
-
return this.
|
|
2881
|
-
};
|
|
2882
|
-
protoOf(GameServer).i9w = function (_set____db54di) {
|
|
2883
|
-
this.u9m_1 = _set____db54di;
|
|
2883
|
+
return this.w9m_1;
|
|
2884
2884
|
};
|
|
2885
|
-
protoOf(GameServer).
|
|
2886
|
-
return this.
|
|
2885
|
+
protoOf(GameServer).v8e = function () {
|
|
2886
|
+
return get_serverStatePayload_0(this.u66()).metadata;
|
|
2887
2887
|
};
|
|
2888
2888
|
protoOf(GameServer).y53 = function () {
|
|
2889
2889
|
return this.u66().t6n().id;
|
|
@@ -2915,55 +2915,55 @@
|
|
|
2915
2915
|
};
|
|
2916
2916
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2917
2917
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2918
|
-
this.
|
|
2918
|
+
this.w9m_1.r6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2919
2919
|
};
|
|
2920
2920
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2921
2921
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2922
|
-
this.
|
|
2922
|
+
this.w9m_1.r6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2923
2923
|
};
|
|
2924
2924
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2925
2925
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2926
|
-
this.
|
|
2926
|
+
this.w9m_1.r6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2927
2927
|
};
|
|
2928
2928
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2929
2929
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2930
|
-
this.
|
|
2930
|
+
this.w9m_1.r6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2931
2931
|
};
|
|
2932
|
-
protoOf(GameServer).
|
|
2932
|
+
protoOf(GameServer).k9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2933
2933
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2934
|
-
this.
|
|
2934
|
+
this.w9m_1.r6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2935
2935
|
};
|
|
2936
2936
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2937
2937
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2938
|
-
var isCreated = this.
|
|
2939
|
-
this.
|
|
2938
|
+
var isCreated = this.w9m_1.s6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2939
|
+
this.w9m_1.r6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2942
2942
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2943
|
-
this.
|
|
2944
|
-
this.
|
|
2943
|
+
this.w9m_1.r6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2944
|
+
this.w9m_1.r6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2945
2945
|
};
|
|
2946
2946
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2947
|
-
this.
|
|
2947
|
+
this.w9m_1.r6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2948
2948
|
};
|
|
2949
2949
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2950
|
-
this.
|
|
2950
|
+
this.w9m_1.r6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2951
2951
|
};
|
|
2952
2952
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2953
2953
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2954
|
-
this.
|
|
2954
|
+
this.w9m_1.r6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2955
2955
|
};
|
|
2956
|
-
protoOf(GameServer).
|
|
2956
|
+
protoOf(GameServer).l9w = function (newRid) {
|
|
2957
2957
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
2958
|
-
this.
|
|
2958
|
+
this.w9m_1.r6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2961
2961
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2962
|
-
this.
|
|
2962
|
+
this.w9m_1.r6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2963
2963
|
};
|
|
2964
|
-
protoOf(GameServer).
|
|
2964
|
+
protoOf(GameServer).m9w = function (reason, roomId) {
|
|
2965
2965
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2966
|
-
this.
|
|
2966
|
+
this.w9m_1.r6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2967
2967
|
};
|
|
2968
2968
|
protoOf(GameServer).clear = function () {
|
|
2969
2969
|
return this.h2();
|
|
@@ -2980,6 +2980,76 @@
|
|
|
2980
2980
|
serverShutdownReasonMapping = mapOf([to('deploy', ServerShutdownReason_DEPLOY_getInstance()), to('error', ServerShutdownReason_ERROR_getInstance())]);
|
|
2981
2981
|
}
|
|
2982
2982
|
}
|
|
2983
|
+
function RoomMetadata(games) {
|
|
2984
|
+
var tmp;
|
|
2985
|
+
if (games === VOID) {
|
|
2986
|
+
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2987
|
+
tmp = LinkedHashMap_init_$Create$();
|
|
2988
|
+
} else {
|
|
2989
|
+
tmp = games;
|
|
2990
|
+
}
|
|
2991
|
+
games = tmp;
|
|
2992
|
+
this.games = games;
|
|
2993
|
+
}
|
|
2994
|
+
protoOf(RoomMetadata).n9w = function () {
|
|
2995
|
+
return this.games;
|
|
2996
|
+
};
|
|
2997
|
+
protoOf(RoomMetadata).ne = function () {
|
|
2998
|
+
return this.games;
|
|
2999
|
+
};
|
|
3000
|
+
protoOf(RoomMetadata).o9w = function (games) {
|
|
3001
|
+
return new RoomMetadata(games);
|
|
3002
|
+
};
|
|
3003
|
+
protoOf(RoomMetadata).copy = function (games, $super) {
|
|
3004
|
+
games = games === VOID ? this.games : games;
|
|
3005
|
+
return $super === VOID ? this.o9w(games) : $super.o9w.call(this, games);
|
|
3006
|
+
};
|
|
3007
|
+
protoOf(RoomMetadata).toString = function () {
|
|
3008
|
+
return 'RoomMetadata(games=' + toString(this.games) + ')';
|
|
3009
|
+
};
|
|
3010
|
+
protoOf(RoomMetadata).hashCode = function () {
|
|
3011
|
+
return hashCode(this.games);
|
|
3012
|
+
};
|
|
3013
|
+
protoOf(RoomMetadata).equals = function (other) {
|
|
3014
|
+
if (this === other)
|
|
3015
|
+
return true;
|
|
3016
|
+
if (!(other instanceof RoomMetadata))
|
|
3017
|
+
return false;
|
|
3018
|
+
if (!equals(this.games, other.games))
|
|
3019
|
+
return false;
|
|
3020
|
+
return true;
|
|
3021
|
+
};
|
|
3022
|
+
function GameMetadata(gameId) {
|
|
3023
|
+
this.gameId = gameId;
|
|
3024
|
+
}
|
|
3025
|
+
protoOf(GameMetadata).c54 = function () {
|
|
3026
|
+
return this.gameId;
|
|
3027
|
+
};
|
|
3028
|
+
protoOf(GameMetadata).ne = function () {
|
|
3029
|
+
return this.gameId;
|
|
3030
|
+
};
|
|
3031
|
+
protoOf(GameMetadata).a66 = function (gameId) {
|
|
3032
|
+
return new GameMetadata(gameId);
|
|
3033
|
+
};
|
|
3034
|
+
protoOf(GameMetadata).copy = function (gameId, $super) {
|
|
3035
|
+
gameId = gameId === VOID ? this.gameId : gameId;
|
|
3036
|
+
return $super === VOID ? this.a66(gameId) : $super.a66.call(this, gameId);
|
|
3037
|
+
};
|
|
3038
|
+
protoOf(GameMetadata).toString = function () {
|
|
3039
|
+
return 'GameMetadata(gameId=' + this.gameId + ')';
|
|
3040
|
+
};
|
|
3041
|
+
protoOf(GameMetadata).hashCode = function () {
|
|
3042
|
+
return getStringHashCode(this.gameId);
|
|
3043
|
+
};
|
|
3044
|
+
protoOf(GameMetadata).equals = function (other) {
|
|
3045
|
+
if (this === other)
|
|
3046
|
+
return true;
|
|
3047
|
+
if (!(other instanceof GameMetadata))
|
|
3048
|
+
return false;
|
|
3049
|
+
if (!(this.gameId === other.gameId))
|
|
3050
|
+
return false;
|
|
3051
|
+
return true;
|
|
3052
|
+
};
|
|
2983
3053
|
var ServerShutdownReason_DEPLOY_instance;
|
|
2984
3054
|
var ServerShutdownReason_ERROR_instance;
|
|
2985
3055
|
var ServerShutdownReason_entriesInitialized;
|
|
@@ -3014,10 +3084,10 @@
|
|
|
3014
3084
|
this.fromRound = fromRound;
|
|
3015
3085
|
this.canStartNewGame = canStartNewGame;
|
|
3016
3086
|
}
|
|
3017
|
-
protoOf(ServerConfig).
|
|
3087
|
+
protoOf(ServerConfig).p9w = function () {
|
|
3018
3088
|
return this.fromRound;
|
|
3019
3089
|
};
|
|
3020
|
-
protoOf(ServerConfig).
|
|
3090
|
+
protoOf(ServerConfig).q9w = function () {
|
|
3021
3091
|
return this.canStartNewGame;
|
|
3022
3092
|
};
|
|
3023
3093
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3026,13 +3096,13 @@
|
|
|
3026
3096
|
protoOf(ServerConfig).oe = function () {
|
|
3027
3097
|
return this.canStartNewGame;
|
|
3028
3098
|
};
|
|
3029
|
-
protoOf(ServerConfig).
|
|
3099
|
+
protoOf(ServerConfig).r9w = function (fromRound, canStartNewGame) {
|
|
3030
3100
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3031
3101
|
};
|
|
3032
3102
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3033
3103
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3034
3104
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3035
|
-
return $super === VOID ? this.
|
|
3105
|
+
return $super === VOID ? this.r9w(fromRound, canStartNewGame) : $super.r9w.call(this, fromRound, canStartNewGame);
|
|
3036
3106
|
};
|
|
3037
3107
|
protoOf(ServerConfig).toString = function () {
|
|
3038
3108
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3094,20 +3164,20 @@
|
|
|
3094
3164
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3095
3165
|
tmp0_serialDesc.gz('roomId', false);
|
|
3096
3166
|
tmp0_serialDesc.gz('table', false);
|
|
3097
|
-
this.
|
|
3167
|
+
this.s9w_1 = tmp0_serialDesc;
|
|
3098
3168
|
}
|
|
3099
|
-
protoOf($serializer).
|
|
3100
|
-
var tmp0_desc = this.
|
|
3169
|
+
protoOf($serializer).t9w = function (encoder, value) {
|
|
3170
|
+
var tmp0_desc = this.s9w_1;
|
|
3101
3171
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3102
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3172
|
+
tmp1_output.dt(tmp0_desc, 0, value.u9w_1);
|
|
3103
3173
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3104
3174
|
tmp1_output.pr(tmp0_desc);
|
|
3105
3175
|
};
|
|
3106
3176
|
protoOf($serializer).co = function (encoder, value) {
|
|
3107
|
-
return this.
|
|
3177
|
+
return this.t9w(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3108
3178
|
};
|
|
3109
3179
|
protoOf($serializer).do = function (decoder) {
|
|
3110
|
-
var tmp0_desc = this.
|
|
3180
|
+
var tmp0_desc = this.s9w_1;
|
|
3111
3181
|
var tmp1_flag = true;
|
|
3112
3182
|
var tmp2_index = 0;
|
|
3113
3183
|
var tmp3_bitMask0 = 0;
|
|
@@ -3142,7 +3212,7 @@
|
|
|
3142
3212
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3143
3213
|
};
|
|
3144
3214
|
protoOf($serializer).bo = function () {
|
|
3145
|
-
return this.
|
|
3215
|
+
return this.s9w_1;
|
|
3146
3216
|
};
|
|
3147
3217
|
protoOf($serializer).vz = function () {
|
|
3148
3218
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3158,9 +3228,9 @@
|
|
|
3158
3228
|
}
|
|
3159
3229
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3160
3230
|
if (!(3 === (3 & seen0))) {
|
|
3161
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3231
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().s9w_1);
|
|
3162
3232
|
}
|
|
3163
|
-
$this.
|
|
3233
|
+
$this.u9w_1 = roomId;
|
|
3164
3234
|
$this.table = table;
|
|
3165
3235
|
return $this;
|
|
3166
3236
|
}
|
|
@@ -3168,17 +3238,17 @@
|
|
|
3168
3238
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3169
3239
|
}
|
|
3170
3240
|
function TableStateUpdateDto(roomId, table) {
|
|
3171
|
-
this.
|
|
3241
|
+
this.u9w_1 = roomId;
|
|
3172
3242
|
this.table = table;
|
|
3173
3243
|
}
|
|
3174
|
-
protoOf(TableStateUpdateDto).
|
|
3175
|
-
return this.
|
|
3244
|
+
protoOf(TableStateUpdateDto).p8b = function () {
|
|
3245
|
+
return this.u9w_1;
|
|
3176
3246
|
};
|
|
3177
3247
|
protoOf(TableStateUpdateDto).t6n = function () {
|
|
3178
3248
|
return this.table;
|
|
3179
3249
|
};
|
|
3180
3250
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3181
|
-
return this.
|
|
3251
|
+
return this.u9w_1;
|
|
3182
3252
|
};
|
|
3183
3253
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3184
3254
|
return this.table;
|
|
@@ -3187,15 +3257,15 @@
|
|
|
3187
3257
|
return new TableStateUpdateDto(roomId, table);
|
|
3188
3258
|
};
|
|
3189
3259
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3190
|
-
roomId = roomId === VOID ? this.
|
|
3260
|
+
roomId = roomId === VOID ? this.u9w_1 : roomId;
|
|
3191
3261
|
table = table === VOID ? this.table : table;
|
|
3192
3262
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3193
3263
|
};
|
|
3194
3264
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3195
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3265
|
+
return 'TableStateUpdateDto(roomId=' + this.u9w_1 + ', table=' + this.table + ')';
|
|
3196
3266
|
};
|
|
3197
3267
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3198
|
-
var result = getStringHashCode(this.
|
|
3268
|
+
var result = getStringHashCode(this.u9w_1);
|
|
3199
3269
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3200
3270
|
return result;
|
|
3201
3271
|
};
|
|
@@ -3204,7 +3274,7 @@
|
|
|
3204
3274
|
return true;
|
|
3205
3275
|
if (!(other instanceof TableStateUpdateDto))
|
|
3206
3276
|
return false;
|
|
3207
|
-
if (!(this.
|
|
3277
|
+
if (!(this.u9w_1 === other.u9w_1))
|
|
3208
3278
|
return false;
|
|
3209
3279
|
if (!(this.table === other.table))
|
|
3210
3280
|
return false;
|
|
@@ -3224,20 +3294,20 @@
|
|
|
3224
3294
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3225
3295
|
tmp0_serialDesc.gz('roomId', false);
|
|
3226
3296
|
tmp0_serialDesc.gz('actions', false);
|
|
3227
|
-
this.
|
|
3297
|
+
this.v9w_1 = tmp0_serialDesc;
|
|
3228
3298
|
}
|
|
3229
|
-
protoOf($serializer_0).
|
|
3230
|
-
var tmp0_desc = this.
|
|
3299
|
+
protoOf($serializer_0).w9w = function (encoder, value) {
|
|
3300
|
+
var tmp0_desc = this.v9w_1;
|
|
3231
3301
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3232
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3302
|
+
tmp1_output.dt(tmp0_desc, 0, value.x9w_1);
|
|
3233
3303
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3234
3304
|
tmp1_output.pr(tmp0_desc);
|
|
3235
3305
|
};
|
|
3236
3306
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3237
|
-
return this.
|
|
3307
|
+
return this.w9w(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3238
3308
|
};
|
|
3239
3309
|
protoOf($serializer_0).do = function (decoder) {
|
|
3240
|
-
var tmp0_desc = this.
|
|
3310
|
+
var tmp0_desc = this.v9w_1;
|
|
3241
3311
|
var tmp1_flag = true;
|
|
3242
3312
|
var tmp2_index = 0;
|
|
3243
3313
|
var tmp3_bitMask0 = 0;
|
|
@@ -3272,7 +3342,7 @@
|
|
|
3272
3342
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3273
3343
|
};
|
|
3274
3344
|
protoOf($serializer_0).bo = function () {
|
|
3275
|
-
return this.
|
|
3345
|
+
return this.v9w_1;
|
|
3276
3346
|
};
|
|
3277
3347
|
protoOf($serializer_0).vz = function () {
|
|
3278
3348
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3288,9 +3358,9 @@
|
|
|
3288
3358
|
}
|
|
3289
3359
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3290
3360
|
if (!(3 === (3 & seen0))) {
|
|
3291
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3361
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().v9w_1);
|
|
3292
3362
|
}
|
|
3293
|
-
$this.
|
|
3363
|
+
$this.x9w_1 = roomId;
|
|
3294
3364
|
$this.actions = actions;
|
|
3295
3365
|
return $this;
|
|
3296
3366
|
}
|
|
@@ -3298,17 +3368,17 @@
|
|
|
3298
3368
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3299
3369
|
}
|
|
3300
3370
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3301
|
-
this.
|
|
3371
|
+
this.x9w_1 = roomId;
|
|
3302
3372
|
this.actions = actions;
|
|
3303
3373
|
}
|
|
3304
|
-
protoOf(ActionsStateUpdateDto).
|
|
3305
|
-
return this.
|
|
3374
|
+
protoOf(ActionsStateUpdateDto).p8b = function () {
|
|
3375
|
+
return this.x9w_1;
|
|
3306
3376
|
};
|
|
3307
|
-
protoOf(ActionsStateUpdateDto).
|
|
3377
|
+
protoOf(ActionsStateUpdateDto).c8c = function () {
|
|
3308
3378
|
return this.actions;
|
|
3309
3379
|
};
|
|
3310
3380
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3311
|
-
return this.
|
|
3381
|
+
return this.x9w_1;
|
|
3312
3382
|
};
|
|
3313
3383
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3314
3384
|
return this.actions;
|
|
@@ -3317,15 +3387,15 @@
|
|
|
3317
3387
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3318
3388
|
};
|
|
3319
3389
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3320
|
-
roomId = roomId === VOID ? this.
|
|
3390
|
+
roomId = roomId === VOID ? this.x9w_1 : roomId;
|
|
3321
3391
|
actions = actions === VOID ? this.actions : actions;
|
|
3322
3392
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3323
3393
|
};
|
|
3324
3394
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3325
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3395
|
+
return 'ActionsStateUpdateDto(roomId=' + this.x9w_1 + ', actions=' + this.actions + ')';
|
|
3326
3396
|
};
|
|
3327
3397
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3328
|
-
var result = getStringHashCode(this.
|
|
3398
|
+
var result = getStringHashCode(this.x9w_1);
|
|
3329
3399
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3330
3400
|
return result;
|
|
3331
3401
|
};
|
|
@@ -3334,7 +3404,7 @@
|
|
|
3334
3404
|
return true;
|
|
3335
3405
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3336
3406
|
return false;
|
|
3337
|
-
if (!(this.
|
|
3407
|
+
if (!(this.x9w_1 === other.x9w_1))
|
|
3338
3408
|
return false;
|
|
3339
3409
|
if (!(this.actions === other.actions))
|
|
3340
3410
|
return false;
|
|
@@ -3364,42 +3434,42 @@
|
|
|
3364
3434
|
var tmp$ret$0 = mapToDto(item);
|
|
3365
3435
|
destination.j(tmp$ret$0);
|
|
3366
3436
|
}
|
|
3367
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3437
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.y9w_1, encoderDecoderProvider.v8i(destination));
|
|
3368
3438
|
}
|
|
3369
3439
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3370
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3440
|
+
return new TableStateUpdateDto(_this__u8e3s4.z9w_1, encoderDecoderProvider.t8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3371
3441
|
}
|
|
3372
3442
|
function ServerStateUpdate() {
|
|
3373
3443
|
}
|
|
3374
3444
|
function TableStateUpdate(roomId, table) {
|
|
3375
|
-
this.
|
|
3445
|
+
this.z9w_1 = roomId;
|
|
3376
3446
|
this.table = table;
|
|
3377
3447
|
}
|
|
3378
|
-
protoOf(TableStateUpdate).
|
|
3379
|
-
return this.
|
|
3448
|
+
protoOf(TableStateUpdate).p8b = function () {
|
|
3449
|
+
return this.z9w_1;
|
|
3380
3450
|
};
|
|
3381
3451
|
protoOf(TableStateUpdate).t6n = function () {
|
|
3382
3452
|
return this.table;
|
|
3383
3453
|
};
|
|
3384
3454
|
protoOf(TableStateUpdate).ne = function () {
|
|
3385
|
-
return this.
|
|
3455
|
+
return this.z9w_1;
|
|
3386
3456
|
};
|
|
3387
3457
|
protoOf(TableStateUpdate).oe = function () {
|
|
3388
3458
|
return this.table;
|
|
3389
3459
|
};
|
|
3390
|
-
protoOf(TableStateUpdate).
|
|
3460
|
+
protoOf(TableStateUpdate).a9x = function (roomId, table) {
|
|
3391
3461
|
return new TableStateUpdate(roomId, table);
|
|
3392
3462
|
};
|
|
3393
3463
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3394
|
-
roomId = roomId === VOID ? this.
|
|
3464
|
+
roomId = roomId === VOID ? this.z9w_1 : roomId;
|
|
3395
3465
|
table = table === VOID ? this.table : table;
|
|
3396
|
-
return $super === VOID ? this.
|
|
3466
|
+
return $super === VOID ? this.a9x(roomId, table) : $super.a9x.call(this, roomId, table);
|
|
3397
3467
|
};
|
|
3398
3468
|
protoOf(TableStateUpdate).toString = function () {
|
|
3399
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3469
|
+
return 'TableStateUpdate(roomId=' + this.z9w_1 + ', table=' + this.table.toString() + ')';
|
|
3400
3470
|
};
|
|
3401
3471
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3402
|
-
var result = getStringHashCode(this.
|
|
3472
|
+
var result = getStringHashCode(this.z9w_1);
|
|
3403
3473
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3404
3474
|
return result;
|
|
3405
3475
|
};
|
|
@@ -3408,41 +3478,41 @@
|
|
|
3408
3478
|
return true;
|
|
3409
3479
|
if (!(other instanceof TableStateUpdate))
|
|
3410
3480
|
return false;
|
|
3411
|
-
if (!(this.
|
|
3481
|
+
if (!(this.z9w_1 === other.z9w_1))
|
|
3412
3482
|
return false;
|
|
3413
3483
|
if (!this.table.equals(other.table))
|
|
3414
3484
|
return false;
|
|
3415
3485
|
return true;
|
|
3416
3486
|
};
|
|
3417
3487
|
function ActionsStateUpdate(roomId, actions) {
|
|
3418
|
-
this.
|
|
3488
|
+
this.y9w_1 = roomId;
|
|
3419
3489
|
this.actions = actions;
|
|
3420
3490
|
}
|
|
3421
|
-
protoOf(ActionsStateUpdate).
|
|
3422
|
-
return this.
|
|
3491
|
+
protoOf(ActionsStateUpdate).p8b = function () {
|
|
3492
|
+
return this.y9w_1;
|
|
3423
3493
|
};
|
|
3424
|
-
protoOf(ActionsStateUpdate).
|
|
3494
|
+
protoOf(ActionsStateUpdate).c8c = function () {
|
|
3425
3495
|
return this.actions;
|
|
3426
3496
|
};
|
|
3427
3497
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3428
|
-
return this.
|
|
3498
|
+
return this.y9w_1;
|
|
3429
3499
|
};
|
|
3430
3500
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3431
3501
|
return this.actions;
|
|
3432
3502
|
};
|
|
3433
|
-
protoOf(ActionsStateUpdate).
|
|
3503
|
+
protoOf(ActionsStateUpdate).b9x = function (roomId, actions) {
|
|
3434
3504
|
return new ActionsStateUpdate(roomId, actions);
|
|
3435
3505
|
};
|
|
3436
3506
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3437
|
-
roomId = roomId === VOID ? this.
|
|
3507
|
+
roomId = roomId === VOID ? this.y9w_1 : roomId;
|
|
3438
3508
|
actions = actions === VOID ? this.actions : actions;
|
|
3439
|
-
return $super === VOID ? this.
|
|
3509
|
+
return $super === VOID ? this.b9x(roomId, actions) : $super.b9x.call(this, roomId, actions);
|
|
3440
3510
|
};
|
|
3441
3511
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3442
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3512
|
+
return 'ActionsStateUpdate(roomId=' + this.y9w_1 + ', actions=' + toString(this.actions) + ')';
|
|
3443
3513
|
};
|
|
3444
3514
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3445
|
-
var result = getStringHashCode(this.
|
|
3515
|
+
var result = getStringHashCode(this.y9w_1);
|
|
3446
3516
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3447
3517
|
return result;
|
|
3448
3518
|
};
|
|
@@ -3451,7 +3521,7 @@
|
|
|
3451
3521
|
return true;
|
|
3452
3522
|
if (!(other instanceof ActionsStateUpdate))
|
|
3453
3523
|
return false;
|
|
3454
|
-
if (!(this.
|
|
3524
|
+
if (!(this.y9w_1 === other.y9w_1))
|
|
3455
3525
|
return false;
|
|
3456
3526
|
if (!equals(this.actions, other.actions))
|
|
3457
3527
|
return false;
|
|
@@ -3685,18 +3755,18 @@
|
|
|
3685
3755
|
function ToClientEventsObserver() {
|
|
3686
3756
|
}
|
|
3687
3757
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3688
|
-
this.
|
|
3689
|
-
this.
|
|
3758
|
+
this.l9x_1 = this$0;
|
|
3759
|
+
this.m9x_1 = $actions;
|
|
3690
3760
|
CoroutineImpl.call(this, resultContinuation);
|
|
3691
3761
|
}
|
|
3692
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3693
|
-
var tmp = this.
|
|
3762
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).p9x = function ($this$flow, $completion) {
|
|
3763
|
+
var tmp = this.q9x($this$flow, $completion);
|
|
3694
3764
|
tmp.t8_1 = Unit_instance;
|
|
3695
3765
|
tmp.u8_1 = null;
|
|
3696
3766
|
return tmp.z8();
|
|
3697
3767
|
};
|
|
3698
3768
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3699
|
-
return this.
|
|
3769
|
+
return this.p9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3700
3770
|
};
|
|
3701
3771
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3702
3772
|
var suspendResult = this.t8_1;
|
|
@@ -3706,19 +3776,19 @@
|
|
|
3706
3776
|
switch (tmp) {
|
|
3707
3777
|
case 0:
|
|
3708
3778
|
this.s8_1 = 4;
|
|
3709
|
-
this.
|
|
3710
|
-
this.
|
|
3779
|
+
this.l9x_1.v9x_1;
|
|
3780
|
+
this.o9x_1 = transformToEmits(this.l9x_1, this.m9x_1).l();
|
|
3711
3781
|
this.r8_1 = 1;
|
|
3712
3782
|
continue $sm;
|
|
3713
3783
|
case 1:
|
|
3714
|
-
if (!this.
|
|
3784
|
+
if (!this.o9x_1.m()) {
|
|
3715
3785
|
this.r8_1 = 3;
|
|
3716
3786
|
continue $sm;
|
|
3717
3787
|
}
|
|
3718
3788
|
|
|
3719
|
-
var element = this.
|
|
3789
|
+
var element = this.o9x_1.n();
|
|
3720
3790
|
this.r8_1 = 2;
|
|
3721
|
-
suspendResult = this.
|
|
3791
|
+
suspendResult = this.n9x_1.n28(element, this);
|
|
3722
3792
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3723
3793
|
return suspendResult;
|
|
3724
3794
|
}
|
|
@@ -3728,11 +3798,11 @@
|
|
|
3728
3798
|
this.r8_1 = 1;
|
|
3729
3799
|
continue $sm;
|
|
3730
3800
|
case 3:
|
|
3731
|
-
var tmp0 = this.
|
|
3801
|
+
var tmp0 = this.l9x_1.u9x_1;
|
|
3732
3802
|
l$ret$1: do {
|
|
3733
3803
|
while (true) {
|
|
3734
3804
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3735
|
-
var upd = cur - this.
|
|
3805
|
+
var upd = cur - this.m9x_1.o() | 0;
|
|
3736
3806
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3737
3807
|
break l$ret$1;
|
|
3738
3808
|
}
|
|
@@ -3754,15 +3824,15 @@
|
|
|
3754
3824
|
}
|
|
3755
3825
|
while (true);
|
|
3756
3826
|
};
|
|
3757
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3758
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3759
|
-
i.
|
|
3827
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9x = function ($this$flow, completion) {
|
|
3828
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.l9x_1, this.m9x_1, completion);
|
|
3829
|
+
i.n9x_1 = $this$flow;
|
|
3760
3830
|
return i;
|
|
3761
3831
|
};
|
|
3762
3832
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3763
3833
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3764
3834
|
var l = function ($this$flow, $completion) {
|
|
3765
|
-
return i.
|
|
3835
|
+
return i.p9x($this$flow, $completion);
|
|
3766
3836
|
};
|
|
3767
3837
|
l.$arity = 1;
|
|
3768
3838
|
return l;
|
|
@@ -3832,29 +3902,29 @@
|
|
|
3832
3902
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3833
3903
|
}
|
|
3834
3904
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3835
|
-
var tmp = $this.
|
|
3905
|
+
var tmp = $this.t9x_1.c6e();
|
|
3836
3906
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3837
|
-
var this_0 = _this__u8e3s4.
|
|
3907
|
+
var this_0 = _this__u8e3s4.y9x_1;
|
|
3838
3908
|
var tmp_0 = copyToArray(this_0);
|
|
3839
3909
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3840
|
-
var this_1 = _this__u8e3s4.
|
|
3910
|
+
var this_1 = _this__u8e3s4.z9x_1;
|
|
3841
3911
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3842
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3912
|
+
return new ActionDeliveryPayload(_this__u8e3s4.x9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.a9y_1);
|
|
3843
3913
|
}
|
|
3844
3914
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3845
|
-
this.
|
|
3846
|
-
this.
|
|
3847
|
-
this.
|
|
3848
|
-
this.
|
|
3915
|
+
this.x9x_1 = tableId;
|
|
3916
|
+
this.y9x_1 = includePlayers;
|
|
3917
|
+
this.z9x_1 = excludePlayers;
|
|
3918
|
+
this.a9y_1 = deliveryType;
|
|
3849
3919
|
}
|
|
3850
3920
|
protoOf(GroupKey).toString = function () {
|
|
3851
|
-
return 'GroupKey(tableId=' + this.
|
|
3921
|
+
return 'GroupKey(tableId=' + this.x9x_1 + ', includePlayers=' + toString(this.y9x_1) + ', excludePlayers=' + toString(this.z9x_1) + ', deliveryType=' + this.a9y_1.toString() + ')';
|
|
3852
3922
|
};
|
|
3853
3923
|
protoOf(GroupKey).hashCode = function () {
|
|
3854
|
-
var result = getStringHashCode(this.
|
|
3855
|
-
result = imul(result, 31) + hashCode(this.
|
|
3856
|
-
result = imul(result, 31) + hashCode(this.
|
|
3857
|
-
result = imul(result, 31) + this.
|
|
3924
|
+
var result = getStringHashCode(this.x9x_1);
|
|
3925
|
+
result = imul(result, 31) + hashCode(this.y9x_1) | 0;
|
|
3926
|
+
result = imul(result, 31) + hashCode(this.z9x_1) | 0;
|
|
3927
|
+
result = imul(result, 31) + this.a9y_1.hashCode() | 0;
|
|
3858
3928
|
return result;
|
|
3859
3929
|
};
|
|
3860
3930
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3862,35 +3932,35 @@
|
|
|
3862
3932
|
return true;
|
|
3863
3933
|
if (!(other instanceof GroupKey))
|
|
3864
3934
|
return false;
|
|
3865
|
-
if (!(this.
|
|
3935
|
+
if (!(this.x9x_1 === other.x9x_1))
|
|
3866
3936
|
return false;
|
|
3867
|
-
if (!equals(this.
|
|
3937
|
+
if (!equals(this.y9x_1, other.y9x_1))
|
|
3868
3938
|
return false;
|
|
3869
|
-
if (!equals(this.
|
|
3939
|
+
if (!equals(this.z9x_1, other.z9x_1))
|
|
3870
3940
|
return false;
|
|
3871
|
-
if (!this.
|
|
3941
|
+
if (!this.a9y_1.equals(other.a9y_1))
|
|
3872
3942
|
return false;
|
|
3873
3943
|
return true;
|
|
3874
3944
|
};
|
|
3875
3945
|
function Companion_4() {
|
|
3876
|
-
this.
|
|
3946
|
+
this.b9y_1 = 6;
|
|
3877
3947
|
}
|
|
3878
3948
|
var Companion_instance_12;
|
|
3879
3949
|
function Companion_getInstance_5() {
|
|
3880
3950
|
return Companion_instance_12;
|
|
3881
3951
|
}
|
|
3882
3952
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3883
|
-
this.
|
|
3953
|
+
this.k9y_1 = this$0;
|
|
3884
3954
|
CoroutineImpl.call(this, resultContinuation);
|
|
3885
3955
|
}
|
|
3886
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3887
|
-
var tmp = this.
|
|
3956
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9y = function (actions, $completion) {
|
|
3957
|
+
var tmp = this.n9y(actions, $completion);
|
|
3888
3958
|
tmp.t8_1 = Unit_instance;
|
|
3889
3959
|
tmp.u8_1 = null;
|
|
3890
3960
|
return tmp.z8();
|
|
3891
3961
|
};
|
|
3892
3962
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3893
|
-
return this.
|
|
3963
|
+
return this.m9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3894
3964
|
};
|
|
3895
3965
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3896
3966
|
var suspendResult = this.t8_1;
|
|
@@ -3899,7 +3969,7 @@
|
|
|
3899
3969
|
var tmp = this.r8_1;
|
|
3900
3970
|
if (tmp === 0) {
|
|
3901
3971
|
this.s8_1 = 1;
|
|
3902
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3972
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.k9y_1, this.l9y_1, null));
|
|
3903
3973
|
} else if (tmp === 1) {
|
|
3904
3974
|
throw this.u8_1;
|
|
3905
3975
|
}
|
|
@@ -3909,23 +3979,23 @@
|
|
|
3909
3979
|
}
|
|
3910
3980
|
while (true);
|
|
3911
3981
|
};
|
|
3912
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3913
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3914
|
-
i.
|
|
3982
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9y = function (actions, completion) {
|
|
3983
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.k9y_1, completion);
|
|
3984
|
+
i.l9y_1 = actions;
|
|
3915
3985
|
return i;
|
|
3916
3986
|
};
|
|
3917
3987
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3918
3988
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3919
3989
|
var l = function (actions, $completion) {
|
|
3920
|
-
return i.
|
|
3990
|
+
return i.m9y(actions, $completion);
|
|
3921
3991
|
};
|
|
3922
3992
|
l.$arity = 1;
|
|
3923
3993
|
return l;
|
|
3924
3994
|
}
|
|
3925
3995
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3926
3996
|
CoroutineImpl.call(this, resultContinuation);
|
|
3927
|
-
this.
|
|
3928
|
-
this.
|
|
3997
|
+
this.w9y_1 = _this__u8e3s4;
|
|
3998
|
+
this.x9y_1 = fromEvent;
|
|
3929
3999
|
}
|
|
3930
4000
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3931
4001
|
var suspendResult = this.t8_1;
|
|
@@ -3935,8 +4005,8 @@
|
|
|
3935
4005
|
switch (tmp) {
|
|
3936
4006
|
case 0:
|
|
3937
4007
|
this.s8_1 = 2;
|
|
3938
|
-
this.
|
|
3939
|
-
var tmp0 = this.
|
|
4008
|
+
this.w9y_1.v9x_1;
|
|
4009
|
+
var tmp0 = this.w9y_1.u9x_1;
|
|
3940
4010
|
l$ret$1: do {
|
|
3941
4011
|
while (true) {
|
|
3942
4012
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3948,7 +4018,7 @@
|
|
|
3948
4018
|
}
|
|
3949
4019
|
while (false);
|
|
3950
4020
|
this.r8_1 = 1;
|
|
3951
|
-
suspendResult = this.
|
|
4021
|
+
suspendResult = this.w9y_1.w9x_1.n28(this.x9y_1, this);
|
|
3952
4022
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3953
4023
|
return suspendResult;
|
|
3954
4024
|
}
|
|
@@ -3972,7 +4042,7 @@
|
|
|
3972
4042
|
};
|
|
3973
4043
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3974
4044
|
CoroutineImpl.call(this, resultContinuation);
|
|
3975
|
-
this.
|
|
4045
|
+
this.g9z_1 = _this__u8e3s4;
|
|
3976
4046
|
}
|
|
3977
4047
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3978
4048
|
var suspendResult = this.t8_1;
|
|
@@ -3982,12 +4052,12 @@
|
|
|
3982
4052
|
switch (tmp) {
|
|
3983
4053
|
case 0:
|
|
3984
4054
|
this.s8_1 = 5;
|
|
3985
|
-
this.
|
|
3986
|
-
this.
|
|
4055
|
+
this.g9z_1.v9x_1;
|
|
4056
|
+
this.h9z_1 = 0;
|
|
3987
4057
|
this.r8_1 = 1;
|
|
3988
4058
|
continue $sm;
|
|
3989
4059
|
case 1:
|
|
3990
|
-
if (!!(this.
|
|
4060
|
+
if (!!(this.g9z_1.u9x_1.kotlinx$atomicfu$value === 0)) {
|
|
3991
4061
|
this.r8_1 = 4;
|
|
3992
4062
|
continue $sm;
|
|
3993
4063
|
}
|
|
@@ -4000,9 +4070,9 @@
|
|
|
4000
4070
|
|
|
4001
4071
|
continue $sm;
|
|
4002
4072
|
case 2:
|
|
4003
|
-
this.
|
|
4004
|
-
if (this.
|
|
4005
|
-
this.
|
|
4073
|
+
this.h9z_1 = this.h9z_1 + 1 | 0;
|
|
4074
|
+
if (this.h9z_1 > 6) {
|
|
4075
|
+
this.g9z_1.s9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.g9z_1.u9x_1.kotlinx$atomicfu$value);
|
|
4006
4076
|
this.r8_1 = 4;
|
|
4007
4077
|
continue $sm;
|
|
4008
4078
|
} else {
|
|
@@ -4030,183 +4100,183 @@
|
|
|
4030
4100
|
while (true);
|
|
4031
4101
|
};
|
|
4032
4102
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4033
|
-
this.
|
|
4034
|
-
this.
|
|
4035
|
-
this.
|
|
4036
|
-
this.
|
|
4103
|
+
this.r9x_1 = serverReduxConfig;
|
|
4104
|
+
this.s9x_1 = logger;
|
|
4105
|
+
this.t9x_1 = idsProvider;
|
|
4106
|
+
this.u9x_1 = atomic$ref$1(0);
|
|
4037
4107
|
var tmp = this;
|
|
4038
4108
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4039
|
-
tmp.
|
|
4040
|
-
this.
|
|
4109
|
+
tmp.v9x_1 = get_atomicfu$reentrantLock();
|
|
4110
|
+
this.w9x_1 = MutableSharedFlow();
|
|
4041
4111
|
}
|
|
4042
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4112
|
+
protoOf(ToClientEventsObserverImpl).c9x = function (fromEvent, $completion) {
|
|
4043
4113
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4044
4114
|
tmp.t8_1 = Unit_instance;
|
|
4045
4115
|
tmp.u8_1 = null;
|
|
4046
4116
|
return tmp.z8();
|
|
4047
4117
|
};
|
|
4048
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4118
|
+
protoOf(ToClientEventsObserverImpl).x97 = function ($completion) {
|
|
4049
4119
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4050
4120
|
tmp.t8_1 = Unit_instance;
|
|
4051
4121
|
tmp.u8_1 = null;
|
|
4052
4122
|
return tmp.z8();
|
|
4053
4123
|
};
|
|
4054
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4055
|
-
if (!this.
|
|
4056
|
-
return this.
|
|
4124
|
+
protoOf(ToClientEventsObserverImpl).p9n = function () {
|
|
4125
|
+
if (!this.r9x_1.enabledCombinedEvents) {
|
|
4126
|
+
return this.w9x_1;
|
|
4057
4127
|
}
|
|
4058
|
-
var tmp = windowedByInterval(this.
|
|
4128
|
+
var tmp = windowedByInterval(this.w9x_1, fromInt(this.r9x_1.combinedEventsIntervalMillis));
|
|
4059
4129
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4060
4130
|
};
|
|
4061
4131
|
function UpdateServerConfigAction(serverConfig) {
|
|
4062
|
-
this.
|
|
4132
|
+
this.i9z_1 = serverConfig;
|
|
4063
4133
|
}
|
|
4064
4134
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4065
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4135
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.i9z_1.toString() + ')';
|
|
4066
4136
|
};
|
|
4067
4137
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4068
|
-
return this.
|
|
4138
|
+
return this.i9z_1.hashCode();
|
|
4069
4139
|
};
|
|
4070
4140
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4071
4141
|
if (this === other)
|
|
4072
4142
|
return true;
|
|
4073
4143
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4074
4144
|
return false;
|
|
4075
|
-
if (!this.
|
|
4145
|
+
if (!this.i9z_1.equals(other.i9z_1))
|
|
4076
4146
|
return false;
|
|
4077
4147
|
return true;
|
|
4078
4148
|
};
|
|
4079
4149
|
function SpectatorsAction() {
|
|
4080
4150
|
}
|
|
4081
4151
|
function AddSpectatorsAction(spectators) {
|
|
4082
|
-
this.
|
|
4152
|
+
this.j9z_1 = spectators;
|
|
4083
4153
|
}
|
|
4084
4154
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4085
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4155
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.j9z_1) + ')';
|
|
4086
4156
|
};
|
|
4087
4157
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4088
|
-
return hashCode(this.
|
|
4158
|
+
return hashCode(this.j9z_1);
|
|
4089
4159
|
};
|
|
4090
4160
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4091
4161
|
if (this === other)
|
|
4092
4162
|
return true;
|
|
4093
4163
|
if (!(other instanceof AddSpectatorsAction))
|
|
4094
4164
|
return false;
|
|
4095
|
-
if (!equals(this.
|
|
4165
|
+
if (!equals(this.j9z_1, other.j9z_1))
|
|
4096
4166
|
return false;
|
|
4097
4167
|
return true;
|
|
4098
4168
|
};
|
|
4099
4169
|
function RemoveSpectatorsAction(spectators) {
|
|
4100
|
-
this.
|
|
4170
|
+
this.k9z_1 = spectators;
|
|
4101
4171
|
}
|
|
4102
4172
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4103
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4173
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.k9z_1) + ')';
|
|
4104
4174
|
};
|
|
4105
4175
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4106
|
-
return hashCode(this.
|
|
4176
|
+
return hashCode(this.k9z_1);
|
|
4107
4177
|
};
|
|
4108
4178
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4109
4179
|
if (this === other)
|
|
4110
4180
|
return true;
|
|
4111
4181
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4112
4182
|
return false;
|
|
4113
|
-
if (!equals(this.
|
|
4183
|
+
if (!equals(this.k9z_1, other.k9z_1))
|
|
4114
4184
|
return false;
|
|
4115
4185
|
return true;
|
|
4116
4186
|
};
|
|
4117
4187
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4118
|
-
var tmp0 = $this.
|
|
4188
|
+
var tmp0 = $this.q9z_1;
|
|
4119
4189
|
var tmp = KProperty1;
|
|
4120
4190
|
// Inline function 'kotlin.getValue' call
|
|
4121
4191
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4122
4192
|
return tmp0.w();
|
|
4123
4193
|
}
|
|
4124
4194
|
function _get_logger__rkp4sl($this) {
|
|
4125
|
-
var tmp0 = $this.
|
|
4195
|
+
var tmp0 = $this.r9z_1;
|
|
4126
4196
|
var tmp = KProperty1;
|
|
4127
4197
|
// Inline function 'kotlin.getValue' call
|
|
4128
4198
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4129
4199
|
return tmp0.w();
|
|
4130
4200
|
}
|
|
4131
4201
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4132
|
-
var tmp0 = $this.
|
|
4202
|
+
var tmp0 = $this.s9z_1;
|
|
4133
4203
|
var tmp = KProperty1;
|
|
4134
4204
|
// Inline function 'kotlin.getValue' call
|
|
4135
4205
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4136
4206
|
return tmp0.w();
|
|
4137
4207
|
}
|
|
4138
4208
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4139
|
-
var tmp0 = $this.
|
|
4209
|
+
var tmp0 = $this.t9z_1;
|
|
4140
4210
|
var tmp = KProperty1;
|
|
4141
4211
|
// Inline function 'kotlin.getValue' call
|
|
4142
4212
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4143
4213
|
return tmp0.w();
|
|
4144
4214
|
}
|
|
4145
4215
|
function _get_serverConfig__rk2g06($this) {
|
|
4146
|
-
var tmp0 = $this.
|
|
4216
|
+
var tmp0 = $this.u9z_1;
|
|
4147
4217
|
var tmp = KProperty1;
|
|
4148
4218
|
// Inline function 'kotlin.getValue' call
|
|
4149
4219
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4150
4220
|
return tmp0.w();
|
|
4151
4221
|
}
|
|
4152
4222
|
function _get_logicConfig__52ww9d($this) {
|
|
4153
|
-
var tmp0 = $this.
|
|
4223
|
+
var tmp0 = $this.v9z_1;
|
|
4154
4224
|
var tmp = KProperty1;
|
|
4155
4225
|
// Inline function 'kotlin.getValue' call
|
|
4156
4226
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4157
4227
|
return tmp0.w();
|
|
4158
4228
|
}
|
|
4159
4229
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4160
|
-
var tmp0 = $this.
|
|
4230
|
+
var tmp0 = $this.w9z_1;
|
|
4161
4231
|
var tmp = KProperty1;
|
|
4162
4232
|
// Inline function 'kotlin.getValue' call
|
|
4163
4233
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4164
4234
|
return tmp0.w();
|
|
4165
4235
|
}
|
|
4166
4236
|
function _get_botConfig__cpaxzc($this) {
|
|
4167
|
-
var tmp0 = $this.
|
|
4237
|
+
var tmp0 = $this.x9z_1;
|
|
4168
4238
|
var tmp = KProperty1;
|
|
4169
4239
|
// Inline function 'kotlin.getValue' call
|
|
4170
4240
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4171
4241
|
return tmp0.w();
|
|
4172
4242
|
}
|
|
4173
4243
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4174
|
-
var tmp0 = $this.
|
|
4244
|
+
var tmp0 = $this.y9z_1;
|
|
4175
4245
|
var tmp = KProperty1;
|
|
4176
4246
|
// Inline function 'kotlin.getValue' call
|
|
4177
4247
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4178
4248
|
return tmp0.w();
|
|
4179
4249
|
}
|
|
4180
4250
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4181
|
-
var tmp0 = $this.
|
|
4251
|
+
var tmp0 = $this.z9z_1;
|
|
4182
4252
|
var tmp = KProperty1;
|
|
4183
4253
|
// Inline function 'kotlin.getValue' call
|
|
4184
4254
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4185
4255
|
return tmp0.w();
|
|
4186
4256
|
}
|
|
4187
4257
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4188
|
-
var tmp0 = $this.
|
|
4258
|
+
var tmp0 = $this.aa0_1;
|
|
4189
4259
|
var tmp = KProperty1;
|
|
4190
4260
|
// Inline function 'kotlin.getValue' call
|
|
4191
4261
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4192
4262
|
return tmp0.w();
|
|
4193
4263
|
}
|
|
4194
4264
|
function _get_dealerConfig__183ci8($this) {
|
|
4195
|
-
var tmp0 = $this.
|
|
4265
|
+
var tmp0 = $this.ba0_1;
|
|
4196
4266
|
var tmp = KProperty1;
|
|
4197
4267
|
// Inline function 'kotlin.getValue' call
|
|
4198
4268
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4199
4269
|
return tmp0.w();
|
|
4200
4270
|
}
|
|
4201
4271
|
function _get_poolProvider__tqti6a($this) {
|
|
4202
|
-
var tmp0 = $this.
|
|
4272
|
+
var tmp0 = $this.ca0_1;
|
|
4203
4273
|
var tmp = KProperty1;
|
|
4204
4274
|
// Inline function 'kotlin.getValue' call
|
|
4205
4275
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4206
4276
|
return tmp0.w();
|
|
4207
4277
|
}
|
|
4208
4278
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4209
|
-
var tmp0 = $this.
|
|
4279
|
+
var tmp0 = $this.da0_1;
|
|
4210
4280
|
var tmp = KProperty1;
|
|
4211
4281
|
// Inline function 'kotlin.getValue' call
|
|
4212
4282
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4370,11 +4440,11 @@
|
|
|
4370
4440
|
tmp = fileLoggerStoreContract;
|
|
4371
4441
|
}
|
|
4372
4442
|
fileLoggerStoreContract = tmp;
|
|
4373
|
-
this.
|
|
4374
|
-
this.
|
|
4375
|
-
this.
|
|
4376
|
-
this.
|
|
4377
|
-
this.
|
|
4443
|
+
this.l9z_1 = validationStoreContract;
|
|
4444
|
+
this.m9z_1 = timersStoreContract;
|
|
4445
|
+
this.n9z_1 = botGameStoreContract;
|
|
4446
|
+
this.o9z_1 = gameMechanicStoreContract;
|
|
4447
|
+
this.p9z_1 = fileLoggerStoreContract;
|
|
4378
4448
|
var tmp_0 = this;
|
|
4379
4449
|
// Inline function 'org.kodein.di.instance' call
|
|
4380
4450
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4382,7 +4452,7 @@
|
|
|
4382
4452
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4383
4453
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4384
4454
|
var tmp_3 = KProperty1;
|
|
4385
|
-
tmp_0.
|
|
4455
|
+
tmp_0.q9z_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4386
4456
|
var tmp_4 = this;
|
|
4387
4457
|
// Inline function 'org.kodein.di.instance' call
|
|
4388
4458
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4390,7 +4460,7 @@
|
|
|
4390
4460
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4391
4461
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4392
4462
|
var tmp_7 = KProperty1;
|
|
4393
|
-
tmp_4.
|
|
4463
|
+
tmp_4.r9z_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4394
4464
|
var tmp_8 = this;
|
|
4395
4465
|
// Inline function 'org.kodein.di.instance' call
|
|
4396
4466
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4398,7 +4468,7 @@
|
|
|
4398
4468
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4399
4469
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4400
4470
|
var tmp_11 = KProperty1;
|
|
4401
|
-
tmp_8.
|
|
4471
|
+
tmp_8.s9z_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4402
4472
|
var tmp_12 = this;
|
|
4403
4473
|
// Inline function 'org.kodein.di.instance' call
|
|
4404
4474
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4406,7 +4476,7 @@
|
|
|
4406
4476
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4407
4477
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4408
4478
|
var tmp_15 = KProperty1;
|
|
4409
|
-
tmp_12.
|
|
4479
|
+
tmp_12.t9z_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4410
4480
|
var tmp_16 = this;
|
|
4411
4481
|
// Inline function 'org.kodein.di.instance' call
|
|
4412
4482
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4414,7 +4484,7 @@
|
|
|
4414
4484
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4415
4485
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4416
4486
|
var tmp_19 = KProperty1;
|
|
4417
|
-
tmp_16.
|
|
4487
|
+
tmp_16.u9z_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4418
4488
|
var tmp_20 = this;
|
|
4419
4489
|
// Inline function 'org.kodein.di.instance' call
|
|
4420
4490
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4422,7 +4492,7 @@
|
|
|
4422
4492
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4423
4493
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4424
4494
|
var tmp_23 = KProperty1;
|
|
4425
|
-
tmp_20.
|
|
4495
|
+
tmp_20.v9z_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4426
4496
|
var tmp_24 = this;
|
|
4427
4497
|
// Inline function 'org.kodein.di.instance' call
|
|
4428
4498
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4430,7 +4500,7 @@
|
|
|
4430
4500
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4431
4501
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4432
4502
|
var tmp_27 = KProperty1;
|
|
4433
|
-
tmp_24.
|
|
4503
|
+
tmp_24.w9z_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4434
4504
|
var tmp_28 = this;
|
|
4435
4505
|
// Inline function 'org.kodein.di.instance' call
|
|
4436
4506
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4438,7 +4508,7 @@
|
|
|
4438
4508
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4439
4509
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4440
4510
|
var tmp_31 = KProperty1;
|
|
4441
|
-
tmp_28.
|
|
4511
|
+
tmp_28.x9z_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4442
4512
|
var tmp_32 = this;
|
|
4443
4513
|
// Inline function 'org.kodein.di.instance' call
|
|
4444
4514
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4446,7 +4516,7 @@
|
|
|
4446
4516
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4447
4517
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4448
4518
|
var tmp_35 = KProperty1;
|
|
4449
|
-
tmp_32.
|
|
4519
|
+
tmp_32.y9z_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4450
4520
|
var tmp_36 = this;
|
|
4451
4521
|
// Inline function 'org.kodein.di.instance' call
|
|
4452
4522
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4454,7 +4524,7 @@
|
|
|
4454
4524
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4455
4525
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4456
4526
|
var tmp_39 = KProperty1;
|
|
4457
|
-
tmp_36.
|
|
4527
|
+
tmp_36.z9z_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4458
4528
|
var tmp_40 = this;
|
|
4459
4529
|
// Inline function 'org.kodein.di.instance' call
|
|
4460
4530
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4462,7 +4532,7 @@
|
|
|
4462
4532
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4463
4533
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4464
4534
|
var tmp_43 = KProperty1;
|
|
4465
|
-
tmp_40.
|
|
4535
|
+
tmp_40.aa0_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4466
4536
|
var tmp_44 = this;
|
|
4467
4537
|
// Inline function 'org.kodein.di.instance' call
|
|
4468
4538
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4470,7 +4540,7 @@
|
|
|
4470
4540
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4471
4541
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4472
4542
|
var tmp_47 = KProperty1;
|
|
4473
|
-
tmp_44.
|
|
4543
|
+
tmp_44.ba0_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4474
4544
|
var tmp_48 = this;
|
|
4475
4545
|
// Inline function 'org.kodein.di.instance' call
|
|
4476
4546
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4478,7 +4548,7 @@
|
|
|
4478
4548
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4479
4549
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4480
4550
|
var tmp_51 = KProperty1;
|
|
4481
|
-
tmp_48.
|
|
4551
|
+
tmp_48.ca0_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4482
4552
|
var tmp_52 = this;
|
|
4483
4553
|
// Inline function 'org.kodein.di.instance' call
|
|
4484
4554
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4486,13 +4556,13 @@
|
|
|
4486
4556
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4487
4557
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4488
4558
|
var tmp_55 = KProperty1;
|
|
4489
|
-
tmp_52.
|
|
4559
|
+
tmp_52.da0_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4490
4560
|
}
|
|
4491
|
-
protoOf(ServerGameStoreContract).
|
|
4492
|
-
return plus(plus(plus(plus(plus(this.
|
|
4561
|
+
protoOf(ServerGameStoreContract).o8y = function () {
|
|
4562
|
+
return plus(plus(plus(plus(plus(this.l9z_1.o8y(), this.o9z_1.o8y()), this.m9z_1.o8y()), this.n9z_1.o8y()), this.p9z_1.o8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4493
4563
|
};
|
|
4494
|
-
protoOf(ServerGameStoreContract).
|
|
4495
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4564
|
+
protoOf(ServerGameStoreContract).p8y = function () {
|
|
4565
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.l9z_1.p8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.o9z_1.p8y()), this.m9z_1.p8y()), this.n9z_1.p8y()), this.p9z_1.p8y()), 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))).v90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4496
4566
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4497
4567
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4498
4568
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4543,7 +4613,7 @@
|
|
|
4543
4613
|
return this.p6h(store, next, action);
|
|
4544
4614
|
};
|
|
4545
4615
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4546
|
-
this.
|
|
4616
|
+
this.ga0_1 = this$0;
|
|
4547
4617
|
}
|
|
4548
4618
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6g = function (action) {
|
|
4549
4619
|
return action instanceof MechanicAction;
|
|
@@ -4554,11 +4624,11 @@
|
|
|
4554
4624
|
// Inline function 'kotlin.with' call
|
|
4555
4625
|
var tmp;
|
|
4556
4626
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4557
|
-
var tmp0 = this.
|
|
4558
|
-
var tmp2 = action_0.
|
|
4559
|
-
var tmp4 = action_0.
|
|
4627
|
+
var tmp0 = this.ga0_1;
|
|
4628
|
+
var tmp2 = action_0.a8v_1;
|
|
4629
|
+
var tmp4 = action_0.c8v_1;
|
|
4560
4630
|
// Inline function 'kotlin.collections.map' call
|
|
4561
|
-
var this_0 = action_0.
|
|
4631
|
+
var this_0 = action_0.d8v_1;
|
|
4562
4632
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4563
4633
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4564
4634
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4574,7 +4644,7 @@
|
|
|
4574
4644
|
var _iterator__ex2g4s_0 = destination.l();
|
|
4575
4645
|
while (_iterator__ex2g4s_0.m()) {
|
|
4576
4646
|
var element = _iterator__ex2g4s_0.n();
|
|
4577
|
-
if (element.
|
|
4647
|
+
if (element.ie_1.isLive) {
|
|
4578
4648
|
destination_0.j(element);
|
|
4579
4649
|
}
|
|
4580
4650
|
}
|
|
@@ -4584,7 +4654,7 @@
|
|
|
4584
4654
|
var _iterator__ex2g4s_1 = destination_0.l();
|
|
4585
4655
|
while (_iterator__ex2g4s_1.m()) {
|
|
4586
4656
|
var item_0 = _iterator__ex2g4s_1.n();
|
|
4587
|
-
var tmp$ret$6 = item_0.
|
|
4657
|
+
var tmp$ret$6 = item_0.he_1;
|
|
4588
4658
|
destination_1.j(tmp$ret$6);
|
|
4589
4659
|
}
|
|
4590
4660
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -4594,14 +4664,14 @@
|
|
|
4594
4664
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4595
4665
|
while (_iterator__ex2g4s_2.m()) {
|
|
4596
4666
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4597
|
-
var tmp0_aid = tmp0.
|
|
4667
|
+
var tmp0_aid = tmp0.fa0_1.c6e();
|
|
4598
4668
|
// Inline function 'kotlin.collections.map' call
|
|
4599
4669
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4600
4670
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
4601
4671
|
var _iterator__ex2g4s_3 = destination.l();
|
|
4602
4672
|
while (_iterator__ex2g4s_3.m()) {
|
|
4603
4673
|
var item_1 = _iterator__ex2g4s_3.n();
|
|
4604
|
-
var tmp$ret$9 = item_1.
|
|
4674
|
+
var tmp$ret$9 = item_1.he_1;
|
|
4605
4675
|
destination_3.j(tmp$ret$9);
|
|
4606
4676
|
}
|
|
4607
4677
|
var sendToPlayer = UserActionPayload_init_$Create$(tmp0_aid, tmp2, tmp4, element_0, destination_3);
|
|
@@ -4616,16 +4686,16 @@
|
|
|
4616
4686
|
tmp = destination_2;
|
|
4617
4687
|
} else {
|
|
4618
4688
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4619
|
-
var tmp0_0 = this.
|
|
4689
|
+
var tmp0_0 = this.ga0_1;
|
|
4620
4690
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4621
4691
|
var table = state.t6n();
|
|
4622
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4692
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.fa0_1.c6e(), table.id, null);
|
|
4623
4693
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4624
4694
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4625
4695
|
} else {
|
|
4626
4696
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4627
|
-
var tmp0_1 = this.
|
|
4628
|
-
var tmp2_0 = action_0.
|
|
4697
|
+
var tmp0_1 = this.ga0_1;
|
|
4698
|
+
var tmp2_0 = action_0.g8v_1.id;
|
|
4629
4699
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4630
4700
|
// Inline function 'kotlin.collections.map' call
|
|
4631
4701
|
var this_1 = action_0.users;
|
|
@@ -4644,7 +4714,7 @@
|
|
|
4644
4714
|
var _iterator__ex2g4s_5 = destination_4.l();
|
|
4645
4715
|
while (_iterator__ex2g4s_5.m()) {
|
|
4646
4716
|
var element_1 = _iterator__ex2g4s_5.n();
|
|
4647
|
-
if (element_1.
|
|
4717
|
+
if (element_1.ie_1.isLive) {
|
|
4648
4718
|
destination_5.j(element_1);
|
|
4649
4719
|
}
|
|
4650
4720
|
}
|
|
@@ -4654,7 +4724,7 @@
|
|
|
4654
4724
|
var _iterator__ex2g4s_6 = destination_5.l();
|
|
4655
4725
|
while (_iterator__ex2g4s_6.m()) {
|
|
4656
4726
|
var item_3 = _iterator__ex2g4s_6.n();
|
|
4657
|
-
var tmp$ret$29 = item_3.
|
|
4727
|
+
var tmp$ret$29 = item_3.he_1;
|
|
4658
4728
|
destination_6.j(tmp$ret$29);
|
|
4659
4729
|
}
|
|
4660
4730
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -4664,14 +4734,14 @@
|
|
|
4664
4734
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4665
4735
|
while (_iterator__ex2g4s_7.m()) {
|
|
4666
4736
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4667
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4737
|
+
var tmp0_aid_0 = tmp0_1.fa0_1.c6e();
|
|
4668
4738
|
// Inline function 'kotlin.collections.map' call
|
|
4669
4739
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4670
4740
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
4671
4741
|
var _iterator__ex2g4s_8 = destination_4.l();
|
|
4672
4742
|
while (_iterator__ex2g4s_8.m()) {
|
|
4673
4743
|
var item_4 = _iterator__ex2g4s_8.n();
|
|
4674
|
-
var tmp$ret$32 = item_4.
|
|
4744
|
+
var tmp$ret$32 = item_4.he_1;
|
|
4675
4745
|
destination_8.j(tmp$ret$32);
|
|
4676
4746
|
}
|
|
4677
4747
|
var sendToPlayer_1 = UserActionPayload_init_$Create$(tmp0_aid_0, tmp2_0, tmp4_0, element_2, destination_8);
|
|
@@ -4686,39 +4756,39 @@
|
|
|
4686
4756
|
tmp = destination_7;
|
|
4687
4757
|
} else {
|
|
4688
4758
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4689
|
-
var tmp0_2 = this.
|
|
4759
|
+
var tmp0_2 = this.ga0_1;
|
|
4690
4760
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4691
4761
|
var table_0 = state.t6n();
|
|
4692
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4762
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.fa0_1.c6e(), table_0.id, null);
|
|
4693
4763
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4694
4764
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4695
4765
|
} else {
|
|
4696
4766
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4697
|
-
var tmp0_3 = this.
|
|
4767
|
+
var tmp0_3 = this.ga0_1;
|
|
4698
4768
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4699
4769
|
var table_1 = state.t6n();
|
|
4700
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4770
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.fa0_1.c6e(), table_1.id, null);
|
|
4701
4771
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4702
4772
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4703
4773
|
} else {
|
|
4704
4774
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4705
|
-
var tmp0_4 = this.
|
|
4775
|
+
var tmp0_4 = this.ga0_1;
|
|
4706
4776
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4707
4777
|
var table_2 = state.t6n();
|
|
4708
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4778
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.fa0_1.c6e(), table_2.id, null);
|
|
4709
4779
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4710
4780
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4711
4781
|
} else {
|
|
4712
4782
|
if (action_0 instanceof ErrorAction) {
|
|
4713
|
-
var tmp0_5 = this.
|
|
4783
|
+
var tmp0_5 = this.ga0_1;
|
|
4714
4784
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4715
4785
|
var table_3 = state.t6n();
|
|
4716
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4786
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.fa0_1.c6e(), table_3.id, null);
|
|
4717
4787
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4718
4788
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4719
4789
|
} else {
|
|
4720
4790
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4721
|
-
var tmp0_6 = this.
|
|
4791
|
+
var tmp0_6 = this.ga0_1;
|
|
4722
4792
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4723
4793
|
var table_4 = state.t6n();
|
|
4724
4794
|
var tmp2_1 = table_4.id;
|
|
@@ -4731,7 +4801,7 @@
|
|
|
4731
4801
|
var _iterator__ex2g4s_9 = players.l();
|
|
4732
4802
|
while (_iterator__ex2g4s_9.m()) {
|
|
4733
4803
|
var element_3 = _iterator__ex2g4s_9.n();
|
|
4734
|
-
if (element_3.
|
|
4804
|
+
if (element_3.ie_1.isLive) {
|
|
4735
4805
|
destination_9.j(element_3);
|
|
4736
4806
|
}
|
|
4737
4807
|
}
|
|
@@ -4741,7 +4811,7 @@
|
|
|
4741
4811
|
var _iterator__ex2g4s_10 = destination_9.l();
|
|
4742
4812
|
while (_iterator__ex2g4s_10.m()) {
|
|
4743
4813
|
var item_5 = _iterator__ex2g4s_10.n();
|
|
4744
|
-
var tmp$ret$55 = item_5.
|
|
4814
|
+
var tmp$ret$55 = item_5.he_1;
|
|
4745
4815
|
destination_10.j(tmp$ret$55);
|
|
4746
4816
|
}
|
|
4747
4817
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -4751,14 +4821,14 @@
|
|
|
4751
4821
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4752
4822
|
while (_iterator__ex2g4s_11.m()) {
|
|
4753
4823
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4754
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4824
|
+
var tmp0_aid_1 = tmp0_6.fa0_1.c6e();
|
|
4755
4825
|
// Inline function 'kotlin.collections.map' call
|
|
4756
4826
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4757
4827
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
4758
4828
|
var _iterator__ex2g4s_12 = players.l();
|
|
4759
4829
|
while (_iterator__ex2g4s_12.m()) {
|
|
4760
4830
|
var item_6 = _iterator__ex2g4s_12.n();
|
|
4761
|
-
var tmp$ret$58 = item_6.
|
|
4831
|
+
var tmp$ret$58 = item_6.he_1;
|
|
4762
4832
|
destination_12.j(tmp$ret$58);
|
|
4763
4833
|
}
|
|
4764
4834
|
var sendToPlayer_6 = UserActionPayload_init_$Create$(tmp0_aid_1, tmp2_1, tmp4_1, element_4, destination_12);
|
|
@@ -4773,7 +4843,7 @@
|
|
|
4773
4843
|
tmp = destination_11;
|
|
4774
4844
|
} else {
|
|
4775
4845
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4776
|
-
var tmp0_7 = this.
|
|
4846
|
+
var tmp0_7 = this.ga0_1;
|
|
4777
4847
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4778
4848
|
var table_5 = state.t6n();
|
|
4779
4849
|
var tmp2_2 = table_5.id;
|
|
@@ -4786,7 +4856,7 @@
|
|
|
4786
4856
|
var _iterator__ex2g4s_13 = players_0.l();
|
|
4787
4857
|
while (_iterator__ex2g4s_13.m()) {
|
|
4788
4858
|
var element_5 = _iterator__ex2g4s_13.n();
|
|
4789
|
-
if (element_5.
|
|
4859
|
+
if (element_5.ie_1.isLive) {
|
|
4790
4860
|
destination_13.j(element_5);
|
|
4791
4861
|
}
|
|
4792
4862
|
}
|
|
@@ -4796,7 +4866,7 @@
|
|
|
4796
4866
|
var _iterator__ex2g4s_14 = destination_13.l();
|
|
4797
4867
|
while (_iterator__ex2g4s_14.m()) {
|
|
4798
4868
|
var item_7 = _iterator__ex2g4s_14.n();
|
|
4799
|
-
var tmp$ret$74 = item_7.
|
|
4869
|
+
var tmp$ret$74 = item_7.he_1;
|
|
4800
4870
|
destination_14.j(tmp$ret$74);
|
|
4801
4871
|
}
|
|
4802
4872
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -4806,14 +4876,14 @@
|
|
|
4806
4876
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4807
4877
|
while (_iterator__ex2g4s_15.m()) {
|
|
4808
4878
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4809
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4879
|
+
var tmp0_aid_2 = tmp0_7.fa0_1.c6e();
|
|
4810
4880
|
// Inline function 'kotlin.collections.map' call
|
|
4811
4881
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4812
4882
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
4813
4883
|
var _iterator__ex2g4s_16 = players_0.l();
|
|
4814
4884
|
while (_iterator__ex2g4s_16.m()) {
|
|
4815
4885
|
var item_8 = _iterator__ex2g4s_16.n();
|
|
4816
|
-
var tmp$ret$77 = item_8.
|
|
4886
|
+
var tmp$ret$77 = item_8.he_1;
|
|
4817
4887
|
destination_16.j(tmp$ret$77);
|
|
4818
4888
|
}
|
|
4819
4889
|
var sendToPlayer_7 = UserActionPayload_init_$Create$(tmp0_aid_2, tmp2_2, tmp4_2, element_6, destination_16);
|
|
@@ -4828,7 +4898,7 @@
|
|
|
4828
4898
|
tmp = destination_15;
|
|
4829
4899
|
} else {
|
|
4830
4900
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4831
|
-
var tmp0_8 = this.
|
|
4901
|
+
var tmp0_8 = this.ga0_1;
|
|
4832
4902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4833
4903
|
var table_6 = state.t6n();
|
|
4834
4904
|
var tmp2_3 = table_6.id;
|
|
@@ -4841,7 +4911,7 @@
|
|
|
4841
4911
|
var _iterator__ex2g4s_17 = players_1.l();
|
|
4842
4912
|
while (_iterator__ex2g4s_17.m()) {
|
|
4843
4913
|
var element_7 = _iterator__ex2g4s_17.n();
|
|
4844
|
-
if (element_7.
|
|
4914
|
+
if (element_7.ie_1.isLive) {
|
|
4845
4915
|
destination_17.j(element_7);
|
|
4846
4916
|
}
|
|
4847
4917
|
}
|
|
@@ -4851,7 +4921,7 @@
|
|
|
4851
4921
|
var _iterator__ex2g4s_18 = destination_17.l();
|
|
4852
4922
|
while (_iterator__ex2g4s_18.m()) {
|
|
4853
4923
|
var item_9 = _iterator__ex2g4s_18.n();
|
|
4854
|
-
var tmp$ret$93 = item_9.
|
|
4924
|
+
var tmp$ret$93 = item_9.he_1;
|
|
4855
4925
|
destination_18.j(tmp$ret$93);
|
|
4856
4926
|
}
|
|
4857
4927
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -4861,19 +4931,19 @@
|
|
|
4861
4931
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4862
4932
|
while (_iterator__ex2g4s_19.m()) {
|
|
4863
4933
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4864
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4934
|
+
var tmp0_aid_3 = tmp0_8.fa0_1.c6e();
|
|
4865
4935
|
// Inline function 'kotlin.collections.map' call
|
|
4866
4936
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4867
4937
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
4868
4938
|
var _iterator__ex2g4s_20 = players_1.l();
|
|
4869
4939
|
while (_iterator__ex2g4s_20.m()) {
|
|
4870
4940
|
var item_10 = _iterator__ex2g4s_20.n();
|
|
4871
|
-
var tmp$ret$96 = item_10.
|
|
4941
|
+
var tmp$ret$96 = item_10.he_1;
|
|
4872
4942
|
destination_20.j(tmp$ret$96);
|
|
4873
4943
|
}
|
|
4874
4944
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4875
4945
|
var tmp_0;
|
|
4876
|
-
if (this.
|
|
4946
|
+
if (this.ga0_1.ea0_1.supportBackwardActions && getPlayer(state.t6n().players, sendToPlayer_8.k7b_1).a6r_1.p6u_1) {
|
|
4877
4947
|
tmp_0 = null;
|
|
4878
4948
|
} else {
|
|
4879
4949
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4889,72 +4959,72 @@
|
|
|
4889
4959
|
tmp = destination_19;
|
|
4890
4960
|
} else {
|
|
4891
4961
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4892
|
-
var tmp0_9 = this.
|
|
4962
|
+
var tmp0_9 = this.ga0_1;
|
|
4893
4963
|
var tmp2_4 = state.t6n();
|
|
4894
4964
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4895
|
-
var exceptPlayerId = this.
|
|
4896
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4965
|
+
var exceptPlayerId = this.ga0_1.ea0_1.supportBackwardActions ? action_0.b8w_1 : null;
|
|
4966
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.fa0_1.c6e(), tmp2_4.id, exceptPlayerId);
|
|
4897
4967
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4898
4968
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4899
4969
|
} else {
|
|
4900
4970
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4901
|
-
var tmp0_10 = this.
|
|
4971
|
+
var tmp0_10 = this.ga0_1;
|
|
4902
4972
|
var tmp2_5 = state.t6n();
|
|
4903
4973
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4904
|
-
var exceptPlayerId_0 = this.
|
|
4905
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4974
|
+
var exceptPlayerId_0 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.d8r_1 : null;
|
|
4975
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.fa0_1.c6e(), tmp2_5.id, exceptPlayerId_0);
|
|
4906
4976
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4907
4977
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4908
4978
|
} else {
|
|
4909
4979
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4910
|
-
var tmp0_11 = this.
|
|
4980
|
+
var tmp0_11 = this.ga0_1;
|
|
4911
4981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4912
4982
|
var table_7 = state.t6n();
|
|
4913
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4983
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.fa0_1.c6e(), table_7.id, null);
|
|
4914
4984
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4915
4985
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4916
4986
|
} else {
|
|
4917
4987
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4918
|
-
var tmp0_12 = this.
|
|
4988
|
+
var tmp0_12 = this.ga0_1;
|
|
4919
4989
|
var tmp2_6 = state.t6n();
|
|
4920
4990
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4921
|
-
var exceptPlayerId_1 = this.
|
|
4922
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4991
|
+
var exceptPlayerId_1 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.h8w_1 : null;
|
|
4992
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.fa0_1.c6e(), tmp2_6.id, exceptPlayerId_1);
|
|
4923
4993
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4924
4994
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4925
4995
|
} else {
|
|
4926
4996
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4927
|
-
var tmp0_13 = this.
|
|
4997
|
+
var tmp0_13 = this.ga0_1;
|
|
4928
4998
|
var tmp2_7 = state.t6n();
|
|
4929
4999
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4930
|
-
var exceptPlayerId_2 = this.
|
|
4931
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5000
|
+
var exceptPlayerId_2 = this.ga0_1.ea0_1.supportBackwardActions ? action_0.i8r_1 : null;
|
|
5001
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.fa0_1.c6e(), tmp2_7.id, exceptPlayerId_2);
|
|
4932
5002
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4933
5003
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4934
5004
|
} else {
|
|
4935
5005
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4936
|
-
var tmp0_14 = this.
|
|
5006
|
+
var tmp0_14 = this.ga0_1;
|
|
4937
5007
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
5008
|
var table_8 = state.t6n();
|
|
4939
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5009
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.fa0_1.c6e(), table_8.id, null);
|
|
4940
5010
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4941
5011
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4942
5012
|
} else {
|
|
4943
5013
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4944
|
-
var tmp0_15 = this.
|
|
5014
|
+
var tmp0_15 = this.ga0_1;
|
|
4945
5015
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4946
5016
|
var table_9 = state.t6n();
|
|
4947
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5017
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.fa0_1.c6e(), table_9.id, null);
|
|
4948
5018
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4949
5019
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4950
5020
|
} else {
|
|
4951
5021
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4952
|
-
var message = action_0.
|
|
4953
|
-
var tmp0_16 = this.
|
|
5022
|
+
var message = action_0.l8w_1;
|
|
5023
|
+
var tmp0_16 = this.ga0_1;
|
|
4954
5024
|
var tmp2_8 = state.t6n();
|
|
4955
5025
|
var tmp_1;
|
|
4956
5026
|
var tmp_2;
|
|
4957
|
-
if (this.
|
|
5027
|
+
if (this.ga0_1.ea0_1.supportBackwardActions) {
|
|
4958
5028
|
tmp_2 = isInterface(message, UserMessage);
|
|
4959
5029
|
} else {
|
|
4960
5030
|
tmp_2 = false;
|
|
@@ -4966,16 +5036,16 @@
|
|
|
4966
5036
|
}
|
|
4967
5037
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4968
5038
|
var exceptPlayerId_3 = tmp_1;
|
|
4969
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5039
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.fa0_1.c6e(), tmp2_8.id, exceptPlayerId_3);
|
|
4970
5040
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4971
5041
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4972
5042
|
} else {
|
|
4973
5043
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4974
|
-
var tmp0_17 = this.
|
|
5044
|
+
var tmp0_17 = this.ga0_1;
|
|
4975
5045
|
var tmp2_9 = state.t6n();
|
|
4976
5046
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4977
5047
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4978
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5048
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.fa0_1.c6e(), tmp2_9.id, exceptPlayerId_4);
|
|
4979
5049
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4980
5050
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4981
5051
|
} else {
|
|
@@ -5012,10 +5082,10 @@
|
|
|
5012
5082
|
return this.p6h(store, next, action);
|
|
5013
5083
|
};
|
|
5014
5084
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5015
|
-
this.
|
|
5016
|
-
this.
|
|
5085
|
+
this.ea0_1 = logicConfig;
|
|
5086
|
+
this.fa0_1 = idsProvider;
|
|
5017
5087
|
}
|
|
5018
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5088
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).v90 = function () {
|
|
5019
5089
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5020
5090
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5021
5091
|
};
|
|
@@ -5024,8 +5094,8 @@
|
|
|
5024
5094
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5025
5095
|
}
|
|
5026
5096
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5027
|
-
this.
|
|
5028
|
-
this.
|
|
5097
|
+
this.pa0_1 = $provider;
|
|
5098
|
+
this.qa0_1 = $action;
|
|
5029
5099
|
CoroutineImpl.call(this, resultContinuation);
|
|
5030
5100
|
}
|
|
5031
5101
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5046,7 +5116,7 @@
|
|
|
5046
5116
|
case 0:
|
|
5047
5117
|
this.s8_1 = 2;
|
|
5048
5118
|
this.r8_1 = 1;
|
|
5049
|
-
suspendResult = this.
|
|
5119
|
+
suspendResult = this.pa0_1.c9x(this.qa0_1, this);
|
|
5050
5120
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5051
5121
|
return suspendResult;
|
|
5052
5122
|
}
|
|
@@ -5069,8 +5139,8 @@
|
|
|
5069
5139
|
while (true);
|
|
5070
5140
|
};
|
|
5071
5141
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5072
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5073
|
-
i.
|
|
5142
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.pa0_1, this.qa0_1, completion);
|
|
5143
|
+
i.ra0_1 = $this$launchDefault;
|
|
5074
5144
|
return i;
|
|
5075
5145
|
};
|
|
5076
5146
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5082,15 +5152,15 @@
|
|
|
5082
5152
|
return l;
|
|
5083
5153
|
}
|
|
5084
5154
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5085
|
-
this.
|
|
5086
|
-
this.
|
|
5155
|
+
this.sa0_1 = $asyncProvider;
|
|
5156
|
+
this.ta0_1 = $provider;
|
|
5087
5157
|
}
|
|
5088
5158
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (action) {
|
|
5089
5159
|
return action instanceof ToClientAction;
|
|
5090
5160
|
};
|
|
5091
5161
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).p6h = function (store, next, action) {
|
|
5092
5162
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5093
|
-
this.
|
|
5163
|
+
this.sa0_1.h6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ta0_1, action_0, null));
|
|
5094
5164
|
next(action_0);
|
|
5095
5165
|
};
|
|
5096
5166
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z6f = function (store, next, action) {
|
|
@@ -5105,15 +5175,18 @@
|
|
|
5105
5175
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a6g = function (action) {
|
|
5106
5176
|
return action instanceof UpdateServerConfigAction;
|
|
5107
5177
|
};
|
|
5108
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5178
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).o99 = function (state, action) {
|
|
5109
5179
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5110
|
-
return state.
|
|
5180
|
+
return state.b8u(VOID, get_serverStatePayload_0(state).copy(action_0.i9z_1));
|
|
5111
5181
|
};
|
|
5112
5182
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6h = function (state, action) {
|
|
5113
|
-
return this.
|
|
5183
|
+
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5114
5184
|
};
|
|
5185
|
+
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5186
|
+
return _this__u8e3s4.metadata.copy(plus_0(_this__u8e3s4.metadata.games, new Pair(gameId, new GameMetadata(gameId))));
|
|
5187
|
+
}
|
|
5115
5188
|
function Companion_5() {
|
|
5116
|
-
this.
|
|
5189
|
+
this.ua0_1 = 'ServerMechanicLifecycleReducer';
|
|
5117
5190
|
}
|
|
5118
5191
|
var Companion_instance_13;
|
|
5119
5192
|
function Companion_getInstance_6() {
|
|
@@ -5130,7 +5203,7 @@
|
|
|
5130
5203
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5131
5204
|
Companion_getInstance();
|
|
5132
5205
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5133
|
-
var this_0 = $action.
|
|
5206
|
+
var this_0 = $action.z8u_1.timeoutTimeMillis;
|
|
5134
5207
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5135
5208
|
tmp_0 = tmp_1.l67(tmp_2, tmp$ret$0);
|
|
5136
5209
|
}
|
|
@@ -5139,65 +5212,65 @@
|
|
|
5139
5212
|
}
|
|
5140
5213
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5141
5214
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5142
|
-
this.
|
|
5215
|
+
this.xa0_1 = logger;
|
|
5143
5216
|
}
|
|
5144
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5145
|
-
this.
|
|
5217
|
+
protoOf(ServerMechanicLifecycleReducer).a9b = function (state, action) {
|
|
5218
|
+
this.xa0_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5146
5219
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5147
|
-
var
|
|
5148
|
-
var
|
|
5149
|
-
var
|
|
5150
|
-
var
|
|
5151
|
-
var
|
|
5152
|
-
var
|
|
5153
|
-
var
|
|
5154
|
-
var
|
|
5155
|
-
var
|
|
5156
|
-
var tmp9_tableOrNull = tmp0_$this.e9c(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5220
|
+
var tableId = action.a8v_1;
|
|
5221
|
+
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5222
|
+
var tmp0_$this = this.b9b_1;
|
|
5223
|
+
var tmp1_version = action.b8v_1;
|
|
5224
|
+
var tmp2_config = action.z8u_1;
|
|
5225
|
+
var tmp3_users = action.d8v_1;
|
|
5226
|
+
var tmp4_spectators = action.spectators;
|
|
5227
|
+
var tmp5_gameCreatorPlayerId = action.c8v_1;
|
|
5228
|
+
var tmp7_tableOrNull = tmp0_$this.h9c(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5157
5229
|
var tmp;
|
|
5158
5230
|
if (serverState == null) {
|
|
5159
|
-
this.
|
|
5160
|
-
tmp = Companion_instance_14.initial();
|
|
5231
|
+
this.xa0_1.w(VOID, 'ServerPayload is not onStart');
|
|
5232
|
+
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5161
5233
|
} else {
|
|
5162
|
-
tmp = serverState;
|
|
5234
|
+
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5163
5235
|
}
|
|
5164
|
-
var
|
|
5165
|
-
return state.
|
|
5236
|
+
var tmp8_payload = tmp;
|
|
5237
|
+
return state.b8u(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5166
5238
|
};
|
|
5167
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5168
|
-
this.
|
|
5239
|
+
protoOf(ServerMechanicLifecycleReducer).y9a = function (state, action) {
|
|
5240
|
+
this.xa0_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5169
5241
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5170
|
-
var tmp2_tableOrNull = action.
|
|
5242
|
+
var tmp2_tableOrNull = action.g8v_1;
|
|
5171
5243
|
var tmp = Companion_instance_14;
|
|
5172
5244
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5173
|
-
var tmp_1 = action.
|
|
5245
|
+
var tmp_1 = action.h8v_1;
|
|
5174
5246
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5175
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1));
|
|
5176
|
-
return state.
|
|
5247
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.g8v_1.gameId));
|
|
5248
|
+
return state.b8u(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5177
5249
|
};
|
|
5178
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5179
|
-
this.
|
|
5250
|
+
protoOf(ServerMechanicLifecycleReducer).z9a = function (state, action) {
|
|
5251
|
+
this.c9b_1.n58(action.previousGameId);
|
|
5180
5252
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5181
|
-
var tmp1_tableOrNull = this.
|
|
5182
|
-
|
|
5253
|
+
var tmp1_tableOrNull = this.b9b_1.i9c(state.t6n(), action.gameId);
|
|
5254
|
+
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5255
|
+
return state.b8u(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5183
5256
|
};
|
|
5184
5257
|
function spectatorsReducer(logger) {
|
|
5185
5258
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5186
5259
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5187
5260
|
}
|
|
5188
5261
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5189
|
-
this.
|
|
5262
|
+
this.ya0_1 = $logger;
|
|
5190
5263
|
}
|
|
5191
5264
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a6g = function (action) {
|
|
5192
5265
|
return isInterface(action, SpectatorsAction);
|
|
5193
5266
|
};
|
|
5194
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5267
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).o99 = function (state, action) {
|
|
5195
5268
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5196
5269
|
var table = state.t6n();
|
|
5197
5270
|
var tmp;
|
|
5198
5271
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5199
5272
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5200
|
-
var tmp0 = action_0.
|
|
5273
|
+
var tmp0 = action_0.j9z_1;
|
|
5201
5274
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5202
5275
|
var destination = ArrayList_init_$Create$_0();
|
|
5203
5276
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5216,9 +5289,9 @@
|
|
|
5216
5289
|
var tmp_0;
|
|
5217
5290
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5218
5291
|
if (!sameSpectators.r()) {
|
|
5219
|
-
this.
|
|
5292
|
+
this.ya0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5220
5293
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5221
|
-
var tmp0_0 = action_0.
|
|
5294
|
+
var tmp0_0 = action_0.j9z_1;
|
|
5222
5295
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5223
5296
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5224
5297
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5253,7 +5326,7 @@
|
|
|
5253
5326
|
}
|
|
5254
5327
|
tmp_0 = destination_0;
|
|
5255
5328
|
} else {
|
|
5256
|
-
tmp_0 = action_0.
|
|
5329
|
+
tmp_0 = action_0.j9z_1;
|
|
5257
5330
|
}
|
|
5258
5331
|
// Inline function 'kotlin.collections.map' call
|
|
5259
5332
|
var this_0 = tmp_0;
|
|
@@ -5266,11 +5339,11 @@
|
|
|
5266
5339
|
destination_1.j(tmp$ret$13);
|
|
5267
5340
|
}
|
|
5268
5341
|
var spectatorsToAdd = toSet(destination_1);
|
|
5269
|
-
tmp = state.
|
|
5342
|
+
tmp = state.b8u(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5270
5343
|
} else {
|
|
5271
5344
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5272
5345
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5273
|
-
var tmp0_1 = action_0.
|
|
5346
|
+
var tmp0_1 = action_0.k9z_1;
|
|
5274
5347
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5275
5348
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5276
5349
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5289,9 +5362,9 @@
|
|
|
5289
5362
|
var tmp_2;
|
|
5290
5363
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5291
5364
|
if (!sameSpectators_0.r()) {
|
|
5292
|
-
this.
|
|
5365
|
+
this.ya0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5293
5366
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5294
|
-
var tmp0_2 = action_0.
|
|
5367
|
+
var tmp0_2 = action_0.k9z_1;
|
|
5295
5368
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5296
5369
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5297
5370
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5326,7 +5399,7 @@
|
|
|
5326
5399
|
}
|
|
5327
5400
|
tmp_2 = destination_3;
|
|
5328
5401
|
} else {
|
|
5329
|
-
tmp_2 = action_0.
|
|
5402
|
+
tmp_2 = action_0.k9z_1;
|
|
5330
5403
|
}
|
|
5331
5404
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5332
5405
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5363,7 +5436,7 @@
|
|
|
5363
5436
|
destination_4.j(element_5);
|
|
5364
5437
|
}
|
|
5365
5438
|
}
|
|
5366
|
-
tmp = state.
|
|
5439
|
+
tmp = state.b8u(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5367
5440
|
} else {
|
|
5368
5441
|
noWhenBranchMatchedException();
|
|
5369
5442
|
}
|
|
@@ -5371,42 +5444,53 @@
|
|
|
5371
5444
|
return tmp;
|
|
5372
5445
|
};
|
|
5373
5446
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).q6h = function (state, action) {
|
|
5374
|
-
return this.
|
|
5447
|
+
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5375
5448
|
};
|
|
5376
5449
|
function Companion_6() {
|
|
5377
5450
|
}
|
|
5378
|
-
protoOf(Companion_6).
|
|
5379
|
-
return new ServerStatePayload(config);
|
|
5451
|
+
protoOf(Companion_6).za0 = function (config, metadata) {
|
|
5452
|
+
return new ServerStatePayload(config, metadata);
|
|
5380
5453
|
};
|
|
5381
|
-
protoOf(Companion_6).initial = function (config, $super) {
|
|
5454
|
+
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5382
5455
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5383
|
-
|
|
5456
|
+
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5457
|
+
return $super === VOID ? this.za0(config, metadata) : $super.za0.call(this, config, metadata);
|
|
5384
5458
|
};
|
|
5385
5459
|
var Companion_instance_14;
|
|
5386
5460
|
function Companion_getInstance_7() {
|
|
5387
5461
|
return Companion_instance_14;
|
|
5388
5462
|
}
|
|
5389
|
-
function ServerStatePayload(config) {
|
|
5463
|
+
function ServerStatePayload(config, metadata) {
|
|
5390
5464
|
this.config = config;
|
|
5465
|
+
this.metadata = metadata;
|
|
5391
5466
|
}
|
|
5392
5467
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5393
5468
|
return this.config;
|
|
5394
5469
|
};
|
|
5470
|
+
protoOf(ServerStatePayload).v8e = function () {
|
|
5471
|
+
return this.metadata;
|
|
5472
|
+
};
|
|
5395
5473
|
protoOf(ServerStatePayload).ne = function () {
|
|
5396
5474
|
return this.config;
|
|
5397
5475
|
};
|
|
5398
|
-
protoOf(ServerStatePayload).
|
|
5399
|
-
return
|
|
5476
|
+
protoOf(ServerStatePayload).oe = function () {
|
|
5477
|
+
return this.metadata;
|
|
5400
5478
|
};
|
|
5401
|
-
protoOf(ServerStatePayload).
|
|
5479
|
+
protoOf(ServerStatePayload).aa1 = function (config, metadata) {
|
|
5480
|
+
return new ServerStatePayload(config, metadata);
|
|
5481
|
+
};
|
|
5482
|
+
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5402
5483
|
config = config === VOID ? this.config : config;
|
|
5403
|
-
|
|
5484
|
+
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5485
|
+
return $super === VOID ? this.aa1(config, metadata) : $super.aa1.call(this, config, metadata);
|
|
5404
5486
|
};
|
|
5405
5487
|
protoOf(ServerStatePayload).toString = function () {
|
|
5406
|
-
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
5488
|
+
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + this.metadata.toString() + ')';
|
|
5407
5489
|
};
|
|
5408
5490
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
5409
|
-
|
|
5491
|
+
var result = this.config.hashCode();
|
|
5492
|
+
result = imul(result, 31) + this.metadata.hashCode() | 0;
|
|
5493
|
+
return result;
|
|
5410
5494
|
};
|
|
5411
5495
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
5412
5496
|
if (this === other)
|
|
@@ -5415,6 +5499,8 @@
|
|
|
5415
5499
|
return false;
|
|
5416
5500
|
if (!this.config.equals(other.config))
|
|
5417
5501
|
return false;
|
|
5502
|
+
if (!this.metadata.equals(other.metadata))
|
|
5503
|
+
return false;
|
|
5418
5504
|
return true;
|
|
5419
5505
|
};
|
|
5420
5506
|
function get_serverStatePayload(_this__u8e3s4) {
|
|
@@ -5444,7 +5530,7 @@
|
|
|
5444
5530
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5445
5531
|
}
|
|
5446
5532
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5447
|
-
var gameId = Companion_instance_3.
|
|
5533
|
+
var gameId = Companion_instance_3.j9e(payload);
|
|
5448
5534
|
var tmp;
|
|
5449
5535
|
if (!(gameId == null)) {
|
|
5450
5536
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5461,14 +5547,14 @@
|
|
|
5461
5547
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5462
5548
|
}
|
|
5463
5549
|
function _get_logger__rkp4sl_0($this) {
|
|
5464
|
-
var tmp0 = $this.
|
|
5550
|
+
var tmp0 = $this.ka1_1;
|
|
5465
5551
|
var tmp = KProperty1;
|
|
5466
5552
|
// Inline function 'kotlin.getValue' call
|
|
5467
5553
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5468
5554
|
return tmp0.w();
|
|
5469
5555
|
}
|
|
5470
5556
|
function _get_di__ndbzja($this) {
|
|
5471
|
-
var tmp0 = $this.
|
|
5557
|
+
var tmp0 = $this.la1_1;
|
|
5472
5558
|
var tmp = KProperty1;
|
|
5473
5559
|
// Inline function 'kotlin.getValue' call
|
|
5474
5560
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5485,8 +5571,8 @@
|
|
|
5485
5571
|
}
|
|
5486
5572
|
function createCallbackOutput($this, gameServer) {
|
|
5487
5573
|
var tmp;
|
|
5488
|
-
if (!($this.
|
|
5489
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5574
|
+
if (!($this.ia1_1 == null)) {
|
|
5575
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ia1_1);
|
|
5490
5576
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5491
5577
|
} else {
|
|
5492
5578
|
tmp = null;
|
|
@@ -5500,11 +5586,11 @@
|
|
|
5500
5586
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5501
5587
|
return function () {
|
|
5502
5588
|
var tmp;
|
|
5503
|
-
if (this$0.
|
|
5589
|
+
if (this$0.ia1_1 == null) {
|
|
5504
5590
|
tmp = null;
|
|
5505
5591
|
} else {
|
|
5506
5592
|
// Inline function 'kotlin.let' call
|
|
5507
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5593
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ia1_1)]));
|
|
5508
5594
|
}
|
|
5509
5595
|
var tmp1_elvis_lhs = tmp;
|
|
5510
5596
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5537,7 +5623,7 @@
|
|
|
5537
5623
|
tmp_0.z62(tmp$ret$3);
|
|
5538
5624
|
$this$DI.d5z(jsonModule());
|
|
5539
5625
|
$this$DI.d5z(serverHelpersModule());
|
|
5540
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5626
|
+
$this$DI.d5z(randomOrgModule(this$0.ja1_1));
|
|
5541
5627
|
return Unit_instance;
|
|
5542
5628
|
};
|
|
5543
5629
|
}
|
|
@@ -5613,16 +5699,16 @@
|
|
|
5613
5699
|
};
|
|
5614
5700
|
}
|
|
5615
5701
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5616
|
-
this.
|
|
5702
|
+
this.sa1_1 = $reducer;
|
|
5617
5703
|
}
|
|
5618
5704
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a6g = function (action) {
|
|
5619
5705
|
return isInterface(action, Action);
|
|
5620
5706
|
};
|
|
5621
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5622
|
-
return this.
|
|
5707
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).o99 = function (state, action) {
|
|
5708
|
+
return this.sa1_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5623
5709
|
};
|
|
5624
5710
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q6h = function (state, action) {
|
|
5625
|
-
return this.
|
|
5711
|
+
return this.o99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5626
5712
|
};
|
|
5627
5713
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5628
5714
|
return function () {
|
|
@@ -5702,7 +5788,7 @@
|
|
|
5702
5788
|
}
|
|
5703
5789
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5704
5790
|
return function (it) {
|
|
5705
|
-
var payload = Companion_instance_5.
|
|
5791
|
+
var payload = Companion_instance_5.v9c(it);
|
|
5706
5792
|
var tmp;
|
|
5707
5793
|
if (!(payload == null)) {
|
|
5708
5794
|
return payload;
|
|
@@ -5723,7 +5809,7 @@
|
|
|
5723
5809
|
// Inline function 'kotlin.let' call
|
|
5724
5810
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5725
5811
|
}
|
|
5726
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5812
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.ja1_1));
|
|
5727
5813
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5728
5814
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5729
5815
|
return Unit_instance;
|
|
@@ -5732,13 +5818,13 @@
|
|
|
5732
5818
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5733
5819
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5734
5820
|
production = production === VOID ? true : production;
|
|
5735
|
-
this.
|
|
5736
|
-
this.
|
|
5821
|
+
this.ia1_1 = loggerCallback;
|
|
5822
|
+
this.ja1_1 = randomOrgConfig;
|
|
5737
5823
|
AppEnvironment_getInstance().x6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5738
5824
|
var tmp = this;
|
|
5739
|
-
tmp.
|
|
5825
|
+
tmp.ka1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5740
5826
|
var tmp_0 = this;
|
|
5741
|
-
tmp_0.
|
|
5827
|
+
tmp_0.la1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5742
5828
|
var tmp_1 = this;
|
|
5743
5829
|
// Inline function 'org.kodein.di.instance' call
|
|
5744
5830
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5747,7 +5833,7 @@
|
|
|
5747
5833
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5748
5834
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5749
5835
|
var tmp_4 = KProperty1;
|
|
5750
|
-
tmp_1.
|
|
5836
|
+
tmp_1.ma1_1 = tmp_3.w64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5751
5837
|
var tmp_5 = this;
|
|
5752
5838
|
// Inline function 'org.kodein.di.instance' call
|
|
5753
5839
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5756,7 +5842,7 @@
|
|
|
5756
5842
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5757
5843
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5758
5844
|
var tmp_8 = KProperty1;
|
|
5759
|
-
tmp_5.
|
|
5845
|
+
tmp_5.na1_1 = tmp_7.w64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5760
5846
|
var tmp_9 = this;
|
|
5761
5847
|
// Inline function 'org.kodein.di.instance' call
|
|
5762
5848
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5765,7 +5851,7 @@
|
|
|
5765
5851
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5766
5852
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5767
5853
|
var tmp_12 = KProperty1;
|
|
5768
|
-
tmp_9.
|
|
5854
|
+
tmp_9.oa1_1 = tmp_11.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5769
5855
|
var tmp_13 = this;
|
|
5770
5856
|
// Inline function 'org.kodein.di.instance' call
|
|
5771
5857
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5774,7 +5860,7 @@
|
|
|
5774
5860
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5775
5861
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5776
5862
|
var tmp_16 = KProperty1;
|
|
5777
|
-
tmp_13.
|
|
5863
|
+
tmp_13.pa1_1 = tmp_15.w64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5778
5864
|
var tmp_17 = this;
|
|
5779
5865
|
// Inline function 'org.kodein.di.instance' call
|
|
5780
5866
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5783,7 +5869,7 @@
|
|
|
5783
5869
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5784
5870
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5785
5871
|
var tmp_20 = KProperty1;
|
|
5786
|
-
tmp_17.
|
|
5872
|
+
tmp_17.qa1_1 = tmp_19.w64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5787
5873
|
var tmp_21 = this;
|
|
5788
5874
|
// Inline function 'org.kodein.di.instance' call
|
|
5789
5875
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5792,45 +5878,45 @@
|
|
|
5792
5878
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5793
5879
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5794
5880
|
var tmp_24 = KProperty1;
|
|
5795
|
-
tmp_21.
|
|
5881
|
+
tmp_21.ra1_1 = tmp_23.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5796
5882
|
}
|
|
5797
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5798
|
-
var tmp0 = this.
|
|
5883
|
+
protoOf(GameServerEngineControllerImpl).ba1 = function () {
|
|
5884
|
+
var tmp0 = this.ma1_1;
|
|
5799
5885
|
var tmp = KProperty1;
|
|
5800
5886
|
// Inline function 'kotlin.getValue' call
|
|
5801
5887
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5802
5888
|
return tmp0.w();
|
|
5803
5889
|
};
|
|
5804
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5805
|
-
var tmp0 = this.
|
|
5890
|
+
protoOf(GameServerEngineControllerImpl).da1 = function () {
|
|
5891
|
+
var tmp0 = this.na1_1;
|
|
5806
5892
|
var tmp = KProperty1;
|
|
5807
5893
|
// Inline function 'kotlin.getValue' call
|
|
5808
5894
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5809
5895
|
return tmp0.w();
|
|
5810
5896
|
};
|
|
5811
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5812
|
-
var tmp0 = this.
|
|
5897
|
+
protoOf(GameServerEngineControllerImpl).ea1 = function () {
|
|
5898
|
+
var tmp0 = this.oa1_1;
|
|
5813
5899
|
var tmp = KProperty1;
|
|
5814
5900
|
// Inline function 'kotlin.getValue' call
|
|
5815
5901
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5816
5902
|
return tmp0.w();
|
|
5817
5903
|
};
|
|
5818
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5819
|
-
var tmp0 = this.
|
|
5904
|
+
protoOf(GameServerEngineControllerImpl).fa1 = function () {
|
|
5905
|
+
var tmp0 = this.pa1_1;
|
|
5820
5906
|
var tmp = KProperty1;
|
|
5821
5907
|
// Inline function 'kotlin.getValue' call
|
|
5822
5908
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5823
5909
|
return tmp0.w();
|
|
5824
5910
|
};
|
|
5825
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5826
|
-
var tmp0 = this.
|
|
5911
|
+
protoOf(GameServerEngineControllerImpl).ca1 = function () {
|
|
5912
|
+
var tmp0 = this.qa1_1;
|
|
5827
5913
|
var tmp = KProperty1;
|
|
5828
5914
|
// Inline function 'kotlin.getValue' call
|
|
5829
5915
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5830
5916
|
return tmp0.w();
|
|
5831
5917
|
};
|
|
5832
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5833
|
-
var tmp0 = this.
|
|
5918
|
+
protoOf(GameServerEngineControllerImpl).ga1 = function () {
|
|
5919
|
+
var tmp0 = this.ra1_1;
|
|
5834
5920
|
var tmp = KProperty1;
|
|
5835
5921
|
// Inline function 'kotlin.getValue' call
|
|
5836
5922
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5842,7 +5928,7 @@
|
|
|
5842
5928
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5843
5929
|
return this.createGameEngineWithLogic();
|
|
5844
5930
|
};
|
|
5845
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5931
|
+
protoOf(GameServerEngineControllerImpl).ha1 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5846
5932
|
var combinedLogger = Companion_instance_6.mx();
|
|
5847
5933
|
var gameServer = {_v: null};
|
|
5848
5934
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5891,7 +5977,7 @@
|
|
|
5891
5977
|
function TestHelper() {
|
|
5892
5978
|
}
|
|
5893
5979
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5894
|
-
var tmp0 = $this.
|
|
5980
|
+
var tmp0 = $this.va1_1;
|
|
5895
5981
|
var tmp = KProperty1;
|
|
5896
5982
|
// Inline function 'kotlin.getValue' call
|
|
5897
5983
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5899,7 +5985,7 @@
|
|
|
5899
5985
|
}
|
|
5900
5986
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5901
5987
|
return function ($this$singleton) {
|
|
5902
|
-
return this$0.
|
|
5988
|
+
return this$0.ta1_1;
|
|
5903
5989
|
};
|
|
5904
5990
|
}
|
|
5905
5991
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5938,27 +6024,27 @@
|
|
|
5938
6024
|
return emptyMap();
|
|
5939
6025
|
}
|
|
5940
6026
|
function TestHelperImpl(logger) {
|
|
5941
|
-
this.
|
|
6027
|
+
this.ta1_1 = logger;
|
|
5942
6028
|
var tmp = this;
|
|
5943
6029
|
var tmp_0 = Companion_instance_4;
|
|
5944
|
-
tmp.
|
|
6030
|
+
tmp.ua1_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5945
6031
|
var tmp_1 = this;
|
|
5946
6032
|
// Inline function 'org.kodein.di.instance' call
|
|
5947
|
-
var this_0 = this.
|
|
6033
|
+
var this_0 = this.ua1_1;
|
|
5948
6034
|
// Inline function 'org.kodein.type.generic' call
|
|
5949
6035
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5950
6036
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5951
6037
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5952
6038
|
var tmp_4 = KProperty1;
|
|
5953
|
-
tmp_1.
|
|
6039
|
+
tmp_1.va1_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5954
6040
|
}
|
|
5955
6041
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5956
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6042
|
+
return _get_playerAnswerInteractor__msggz1(this).l8k(playerId, table, botConfig);
|
|
5957
6043
|
};
|
|
5958
6044
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5959
6045
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5960
6046
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5961
|
-
var tmp0 = mechanicAction.
|
|
6047
|
+
var tmp0 = mechanicAction.u8x();
|
|
5962
6048
|
var tmp$ret$0;
|
|
5963
6049
|
$l$block_0: {
|
|
5964
6050
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5990,7 +6076,7 @@
|
|
|
5990
6076
|
};
|
|
5991
6077
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5992
6078
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5993
|
-
var tmp0 = action.
|
|
6079
|
+
var tmp0 = action.u8x();
|
|
5994
6080
|
var tmp$ret$0;
|
|
5995
6081
|
$l$block_0: {
|
|
5996
6082
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6078,9 +6164,7 @@
|
|
|
6078
6164
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6079
6165
|
protoOf(GameServer).shutdown = shutdown;
|
|
6080
6166
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6081
|
-
return this.
|
|
6082
|
-
}, function (value) {
|
|
6083
|
-
this.i9w(value);
|
|
6167
|
+
return this.v8e();
|
|
6084
6168
|
});
|
|
6085
6169
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6086
6170
|
return this.y53();
|
|
@@ -6096,17 +6180,17 @@
|
|
|
6096
6180
|
});
|
|
6097
6181
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6098
6182
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6099
|
-
return this.
|
|
6183
|
+
return this.p8b();
|
|
6100
6184
|
});
|
|
6101
6185
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6102
6186
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6103
|
-
return this.
|
|
6187
|
+
return this.p8b();
|
|
6104
6188
|
});
|
|
6105
6189
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6106
|
-
return this.
|
|
6190
|
+
return this.p8b();
|
|
6107
6191
|
});
|
|
6108
6192
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6109
|
-
return this.
|
|
6193
|
+
return this.p8b();
|
|
6110
6194
|
});
|
|
6111
6195
|
protoOf(UpdateServerConfigAction).q6f = get_actionTag;
|
|
6112
6196
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6122,22 +6206,22 @@
|
|
|
6122
6206
|
});
|
|
6123
6207
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6124
6208
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6125
|
-
return this.
|
|
6209
|
+
return this.ba1();
|
|
6126
6210
|
});
|
|
6127
6211
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6128
|
-
return this.
|
|
6212
|
+
return this.da1();
|
|
6129
6213
|
});
|
|
6130
6214
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6131
|
-
return this.
|
|
6215
|
+
return this.ea1();
|
|
6132
6216
|
});
|
|
6133
6217
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6134
|
-
return this.
|
|
6218
|
+
return this.fa1();
|
|
6135
6219
|
});
|
|
6136
6220
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6137
|
-
return this.
|
|
6221
|
+
return this.ca1();
|
|
6138
6222
|
});
|
|
6139
6223
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6140
|
-
return this.
|
|
6224
|
+
return this.ga1();
|
|
6141
6225
|
});
|
|
6142
6226
|
//endregion
|
|
6143
6227
|
//region block: init
|
|
@@ -6152,6 +6236,14 @@
|
|
|
6152
6236
|
//endregion
|
|
6153
6237
|
//region block: exports
|
|
6154
6238
|
function $jsExportAll$(_) {
|
|
6239
|
+
var $games = _.games || (_.games = {});
|
|
6240
|
+
var $games$jass = $games.jass || ($games.jass = {});
|
|
6241
|
+
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
6242
|
+
var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
|
|
6243
|
+
var $games$jass$logic$server$data = $games$jass$logic$server.data || ($games$jass$logic$server.data = {});
|
|
6244
|
+
var $games$jass$logic$server$data$models = $games$jass$logic$server$data.models || ($games$jass$logic$server$data.models = {});
|
|
6245
|
+
$games$jass$logic$server$data$models.RoomMetadata = RoomMetadata;
|
|
6246
|
+
$games$jass$logic$server$data$models.GameMetadata = GameMetadata;
|
|
6155
6247
|
var $games = _.games || (_.games = {});
|
|
6156
6248
|
var $games$jass = $games.jass || ($games.jass = {});
|
|
6157
6249
|
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|