raspberry_games_server_game_logic 1.8.380 → 1.8.382
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 +35 -35
- package/Kotlin-DateTime-library-kotlinx-datetime.js +91 -91
- package/Logic_Debertz-core.js +56 -56
- package/Logic_Debertz-engine.js +791 -724
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +3 -3
- package/Logic_Debertz-game_server.js +848 -834
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +284 -271
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +72 -72
- package/kotlinx-io-kotlinx-io-core.js +30 -30
- package/kotlinx-serialization-kotlinx-serialization-core.js +77 -77
- package/kotlinx-serialization-kotlinx-serialization-json.js +89 -89
- package/ktor-ktor-client-content-negotiation.js +22 -22
- package/ktor-ktor-client-core.js +64 -64
- package/ktor-ktor-client-logging.js +23 -23
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +70 -70
- 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 +46 -46
- 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 +35 -35
- package/raspberry-cardgame-lib-logger.js +13 -13
- 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.$_$.oa;
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
48
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
49
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
48
|
+
var protoOf = kotlin_kotlin.$_$.id;
|
|
49
|
+
var THROW_CCE = kotlin_kotlin.$_$.kh;
|
|
50
50
|
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g1;
|
|
51
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
51
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.mc;
|
|
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.$_$.wc;
|
|
54
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.z9;
|
|
55
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.kc;
|
|
56
56
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
57
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
57
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ic;
|
|
58
58
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
59
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
59
|
+
var fromInt = kotlin_kotlin.$_$.db;
|
|
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.$_$.pi;
|
|
63
63
|
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
64
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
64
|
+
var defineProp = kotlin_kotlin.$_$.ac;
|
|
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.$_$.ge;
|
|
67
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.fc;
|
|
68
68
|
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
69
69
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
70
70
|
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
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.$_$.jc;
|
|
72
|
+
var equals = kotlin_kotlin.$_$.bc;
|
|
73
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ob;
|
|
74
|
+
var hashCode = kotlin_kotlin.$_$.hc;
|
|
75
75
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
76
76
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
77
77
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
@@ -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.$_$.l9;
|
|
88
|
+
var toString = kotlin_kotlin.$_$.ld;
|
|
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.$_$.o9;
|
|
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,41 +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.$_$.ii;
|
|
117
117
|
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
118
118
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
119
119
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
120
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
121
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
122
|
-
var createKType = kotlin_kotlin.$_$.
|
|
120
|
+
var getKClass = kotlin_kotlin.$_$.ce;
|
|
121
|
+
var arrayOf = kotlin_kotlin.$_$.yh;
|
|
122
|
+
var createKType = kotlin_kotlin.$_$.ae;
|
|
123
123
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
124
124
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
125
125
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
126
126
|
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
127
127
|
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
128
128
|
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
129
|
-
var lazy = kotlin_kotlin.$_$.
|
|
129
|
+
var lazy = kotlin_kotlin.$_$.hi;
|
|
130
130
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
131
131
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
132
132
|
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
133
|
-
var plus = kotlin_kotlin.$_$.
|
|
133
|
+
var plus = kotlin_kotlin.$_$.q8;
|
|
134
134
|
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
135
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
135
|
+
var toString_0 = kotlin_kotlin.$_$.oi;
|
|
136
136
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
137
|
-
var Enum = kotlin_kotlin.$_$.
|
|
138
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
137
|
+
var Enum = kotlin_kotlin.$_$.ah;
|
|
138
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.dc;
|
|
139
139
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
140
140
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
141
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
141
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.lc;
|
|
142
142
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
143
143
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
144
144
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
145
145
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
146
146
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
147
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
147
|
+
var initMetadataForObject = kotlin_kotlin.$_$.nc;
|
|
148
148
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
149
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
150
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
149
|
+
var objectCreate = kotlin_kotlin.$_$.hd;
|
|
150
|
+
var getStringHashCode = kotlin_kotlin.$_$.gc;
|
|
151
151
|
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
152
152
|
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
153
153
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
@@ -165,11 +165,11 @@
|
|
|
165
165
|
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
166
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.$_$.a9;
|
|
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.$_$.fh;
|
|
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;
|
|
@@ -252,12 +252,12 @@
|
|
|
252
252
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
253
253
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
254
254
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
255
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
255
|
+
var toDuration = kotlin_kotlin.$_$.sg;
|
|
256
256
|
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
257
257
|
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
|
|
258
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
258
|
+
var singleOrNull = kotlin_kotlin.$_$.z8;
|
|
259
259
|
var Collection = kotlin_kotlin.$_$.h5;
|
|
260
|
-
var toSet = kotlin_kotlin.$_$.
|
|
260
|
+
var toSet = kotlin_kotlin.$_$.r9;
|
|
261
261
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
262
262
|
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
263
263
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
@@ -265,15 +265,15 @@
|
|
|
265
265
|
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
266
266
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.g1;
|
|
267
267
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
268
|
-
var
|
|
268
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
269
269
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
270
|
-
var
|
|
270
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
271
|
+
var Companion_instance_4 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
272
|
+
var mutableListOf = kotlin_kotlin.$_$.m8;
|
|
271
273
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
272
274
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
273
275
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
274
276
|
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
275
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
276
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
277
277
|
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
278
278
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
279
279
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
288
288
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
289
289
|
var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
290
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
290
|
+
var toList_0 = kotlin_kotlin.$_$.k9;
|
|
291
291
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
292
292
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
293
293
|
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
@@ -360,10 +360,10 @@
|
|
|
360
360
|
spectators = tmp;
|
|
361
361
|
var tmp_0;
|
|
362
362
|
if ($super === VOID) {
|
|
363
|
-
this.
|
|
363
|
+
this.c9v(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
tmp_0 = Unit_instance;
|
|
365
365
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.c9v.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
367
367
|
}
|
|
368
368
|
return tmp_0;
|
|
369
369
|
}
|
|
@@ -371,10 +371,10 @@
|
|
|
371
371
|
newRid = newRid === VOID ? null : newRid;
|
|
372
372
|
var tmp;
|
|
373
373
|
if ($super === VOID) {
|
|
374
|
-
this.
|
|
374
|
+
this.d9v(newRid);
|
|
375
375
|
tmp = Unit_instance;
|
|
376
376
|
} else {
|
|
377
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.d9v.call(this, newRid);
|
|
378
378
|
}
|
|
379
379
|
return tmp;
|
|
380
380
|
}
|
|
@@ -382,10 +382,10 @@
|
|
|
382
382
|
roomId = roomId === VOID ? null : roomId;
|
|
383
383
|
var tmp;
|
|
384
384
|
if ($super === VOID) {
|
|
385
|
-
this.
|
|
385
|
+
this.e9v(reason, roomId);
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.e9v.call(this, reason, roomId);
|
|
389
389
|
}
|
|
390
390
|
return tmp;
|
|
391
391
|
}
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
451
451
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
452
452
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
453
|
-
return $super === VOID ? this.
|
|
453
|
+
return $super === VOID ? this.w9z(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.w9z.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
454
454
|
}
|
|
455
455
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
456
456
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -461,17 +461,17 @@
|
|
|
461
461
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
462
462
|
//endregion
|
|
463
463
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
464
|
-
this.
|
|
464
|
+
this.s9e_1 = $subscriber;
|
|
465
465
|
CoroutineImpl.call(this, resultContinuation);
|
|
466
466
|
}
|
|
467
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
468
|
-
var tmp = this.
|
|
467
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).u9e = function (it, $completion) {
|
|
468
|
+
var tmp = this.v9e(it, $completion);
|
|
469
469
|
tmp.t8_1 = Unit_instance;
|
|
470
470
|
tmp.u8_1 = null;
|
|
471
471
|
return tmp.z8();
|
|
472
472
|
};
|
|
473
473
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
474
|
-
return this.
|
|
474
|
+
return this.u9e(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
475
475
|
};
|
|
476
476
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
477
477
|
var suspendResult = this.t8_1;
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
var tmp = this.r8_1;
|
|
481
481
|
if (tmp === 0) {
|
|
482
482
|
this.s8_1 = 1;
|
|
483
|
-
this.
|
|
483
|
+
this.s9e_1(this.t9e_1);
|
|
484
484
|
return Unit_instance;
|
|
485
485
|
} else if (tmp === 1) {
|
|
486
486
|
throw this.u8_1;
|
|
@@ -491,31 +491,31 @@
|
|
|
491
491
|
}
|
|
492
492
|
while (true);
|
|
493
493
|
};
|
|
494
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
495
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
496
|
-
i.
|
|
494
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).v9e = function (it, completion) {
|
|
495
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.s9e_1, completion);
|
|
496
|
+
i.t9e_1 = it;
|
|
497
497
|
return i;
|
|
498
498
|
};
|
|
499
499
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
500
500
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
501
501
|
var l = function (it, $completion) {
|
|
502
|
-
return i.
|
|
502
|
+
return i.u9e(it, $completion);
|
|
503
503
|
};
|
|
504
504
|
l.$arity = 1;
|
|
505
505
|
return l;
|
|
506
506
|
}
|
|
507
507
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
508
|
-
this.
|
|
508
|
+
this.e9f_1 = $subscriber;
|
|
509
509
|
CoroutineImpl.call(this, resultContinuation);
|
|
510
510
|
}
|
|
511
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
512
|
-
var tmp = this.
|
|
511
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).g9f = function (it, $completion) {
|
|
512
|
+
var tmp = this.h9f(it, $completion);
|
|
513
513
|
tmp.t8_1 = Unit_instance;
|
|
514
514
|
tmp.u8_1 = null;
|
|
515
515
|
return tmp.z8();
|
|
516
516
|
};
|
|
517
517
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
518
|
-
return this.
|
|
518
|
+
return this.g9f((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
519
519
|
};
|
|
520
520
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
521
521
|
var suspendResult = this.t8_1;
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
var tmp = this.r8_1;
|
|
525
525
|
if (tmp === 0) {
|
|
526
526
|
this.s8_1 = 1;
|
|
527
|
-
this.
|
|
527
|
+
this.e9f_1(this.f9f_1);
|
|
528
528
|
return Unit_instance;
|
|
529
529
|
} else if (tmp === 1) {
|
|
530
530
|
throw this.u8_1;
|
|
@@ -535,22 +535,22 @@
|
|
|
535
535
|
}
|
|
536
536
|
while (true);
|
|
537
537
|
};
|
|
538
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
539
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
540
|
-
i.
|
|
538
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9f = function (it, completion) {
|
|
539
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.e9f_1, completion);
|
|
540
|
+
i.f9f_1 = it;
|
|
541
541
|
return i;
|
|
542
542
|
};
|
|
543
543
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
544
544
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
545
545
|
var l = function (it, $completion) {
|
|
546
|
-
return i.
|
|
546
|
+
return i.g9f(it, $completion);
|
|
547
547
|
};
|
|
548
548
|
l.$arity = 1;
|
|
549
549
|
return l;
|
|
550
550
|
}
|
|
551
551
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
552
|
+
this.q9f_1 = $$this$unsafeFlow;
|
|
553
|
+
this.r9f_1 = this$0;
|
|
554
554
|
CoroutineImpl.call(this, resultContinuation);
|
|
555
555
|
}
|
|
556
556
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -570,10 +570,10 @@
|
|
|
570
570
|
switch (tmp) {
|
|
571
571
|
case 0:
|
|
572
572
|
this.s8_1 = 2;
|
|
573
|
-
var tmp0 = this.
|
|
574
|
-
var value = this.
|
|
573
|
+
var tmp0 = this.q9f_1;
|
|
574
|
+
var value = this.s9f_1;
|
|
575
575
|
this.r8_1 = 1;
|
|
576
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
576
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.r9f_1)), this);
|
|
577
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
578
|
return suspendResult;
|
|
579
579
|
}
|
|
@@ -596,8 +596,8 @@
|
|
|
596
596
|
while (true);
|
|
597
597
|
};
|
|
598
598
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
599
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
600
|
-
i.
|
|
599
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.q9f_1, this.r9f_1, completion);
|
|
600
|
+
i.s9f_1 = value;
|
|
601
601
|
return i;
|
|
602
602
|
};
|
|
603
603
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -610,8 +610,8 @@
|
|
|
610
610
|
}
|
|
611
611
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
612
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
613
|
+
this.b9g_1 = _this__u8e3s4;
|
|
614
|
+
this.c9g_1 = collector;
|
|
615
615
|
}
|
|
616
616
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
617
617
|
var suspendResult = this.t8_1;
|
|
@@ -621,10 +621,10 @@
|
|
|
621
621
|
switch (tmp) {
|
|
622
622
|
case 0:
|
|
623
623
|
this.s8_1 = 2;
|
|
624
|
-
var $this$unsafeFlow = this.
|
|
624
|
+
var $this$unsafeFlow = this.c9g_1;
|
|
625
625
|
this.r8_1 = 1;
|
|
626
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
627
|
-
suspendResult = this.
|
|
626
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.b9g_1.e9g_1, null);
|
|
627
|
+
suspendResult = this.b9g_1.d9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
628
628
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
629
629
|
return suspendResult;
|
|
630
630
|
}
|
|
@@ -647,8 +647,8 @@
|
|
|
647
647
|
while (true);
|
|
648
648
|
};
|
|
649
649
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
650
|
+
this.d9g_1 = $this;
|
|
651
|
+
this.e9g_1 = this$0;
|
|
652
652
|
}
|
|
653
653
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
654
654
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -660,17 +660,17 @@
|
|
|
660
660
|
return this.m28(collector, $completion);
|
|
661
661
|
};
|
|
662
662
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
663
|
-
this.
|
|
663
|
+
this.n9g_1 = $subscriber;
|
|
664
664
|
CoroutineImpl.call(this, resultContinuation);
|
|
665
665
|
}
|
|
666
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
667
|
-
var tmp = this.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).p9g = function (it, $completion) {
|
|
667
|
+
var tmp = this.q9g(it, $completion);
|
|
668
668
|
tmp.t8_1 = Unit_instance;
|
|
669
669
|
tmp.u8_1 = null;
|
|
670
670
|
return tmp.z8();
|
|
671
671
|
};
|
|
672
672
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
673
|
-
return this.
|
|
673
|
+
return this.p9g((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
674
674
|
};
|
|
675
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
676
676
|
var suspendResult = this.t8_1;
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
var tmp = this.r8_1;
|
|
680
680
|
if (tmp === 0) {
|
|
681
681
|
this.s8_1 = 1;
|
|
682
|
-
this.
|
|
682
|
+
this.n9g_1(this.o9g_1);
|
|
683
683
|
return Unit_instance;
|
|
684
684
|
} else if (tmp === 1) {
|
|
685
685
|
throw this.u8_1;
|
|
@@ -690,22 +690,22 @@
|
|
|
690
690
|
}
|
|
691
691
|
while (true);
|
|
692
692
|
};
|
|
693
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
694
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
695
|
-
i.
|
|
693
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9g = function (it, completion) {
|
|
694
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.n9g_1, completion);
|
|
695
|
+
i.o9g_1 = it;
|
|
696
696
|
return i;
|
|
697
697
|
};
|
|
698
698
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
699
699
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
700
700
|
var l = function (it, $completion) {
|
|
701
|
-
return i.
|
|
701
|
+
return i.p9g(it, $completion);
|
|
702
702
|
};
|
|
703
703
|
l.$arity = 1;
|
|
704
704
|
return l;
|
|
705
705
|
}
|
|
706
706
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
707
|
+
this.z9g_1 = $$this$unsafeFlow;
|
|
708
|
+
this.a9h_1 = $table;
|
|
709
709
|
CoroutineImpl.call(this, resultContinuation);
|
|
710
710
|
}
|
|
711
711
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -725,10 +725,10 @@
|
|
|
725
725
|
switch (tmp) {
|
|
726
726
|
case 0:
|
|
727
727
|
this.s8_1 = 2;
|
|
728
|
-
var tmp0 = this.
|
|
729
|
-
var value = this.
|
|
728
|
+
var tmp0 = this.z9g_1;
|
|
729
|
+
var value = this.b9h_1;
|
|
730
730
|
this.r8_1 = 1;
|
|
731
|
-
suspendResult = tmp0.l28(new ActionsStateUpdate(this.
|
|
731
|
+
suspendResult = tmp0.l28(new ActionsStateUpdate(this.a9h_1.id, value), this);
|
|
732
732
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
733
733
|
return suspendResult;
|
|
734
734
|
}
|
|
@@ -751,8 +751,8 @@
|
|
|
751
751
|
while (true);
|
|
752
752
|
};
|
|
753
753
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
754
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
755
|
-
i.
|
|
754
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.z9g_1, this.a9h_1, completion);
|
|
755
|
+
i.b9h_1 = value;
|
|
756
756
|
return i;
|
|
757
757
|
};
|
|
758
758
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -765,8 +765,8 @@
|
|
|
765
765
|
}
|
|
766
766
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
767
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
768
|
+
this.k9h_1 = _this__u8e3s4;
|
|
769
|
+
this.l9h_1 = collector;
|
|
770
770
|
}
|
|
771
771
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
772
772
|
var suspendResult = this.t8_1;
|
|
@@ -776,10 +776,10 @@
|
|
|
776
776
|
switch (tmp) {
|
|
777
777
|
case 0:
|
|
778
778
|
this.s8_1 = 2;
|
|
779
|
-
var $this$unsafeFlow = this.
|
|
779
|
+
var $this$unsafeFlow = this.l9h_1;
|
|
780
780
|
this.r8_1 = 1;
|
|
781
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
782
|
-
suspendResult = this.
|
|
781
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.k9h_1.n9h_1, null);
|
|
782
|
+
suspendResult = this.k9h_1.m9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
783
783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
784
784
|
return suspendResult;
|
|
785
785
|
}
|
|
@@ -802,8 +802,8 @@
|
|
|
802
802
|
while (true);
|
|
803
803
|
};
|
|
804
804
|
function _no_name_provided__qut3iv($this, $table) {
|
|
805
|
-
this.
|
|
806
|
-
this.
|
|
805
|
+
this.m9h_1 = $this;
|
|
806
|
+
this.n9h_1 = $table;
|
|
807
807
|
}
|
|
808
808
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
809
809
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -815,18 +815,18 @@
|
|
|
815
815
|
return this.m28(collector, $completion);
|
|
816
816
|
};
|
|
817
817
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
818
|
+
this.w9h_1 = $table;
|
|
819
|
+
this.x9h_1 = this$0;
|
|
820
820
|
CoroutineImpl.call(this, resultContinuation);
|
|
821
821
|
}
|
|
822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
823
|
-
var tmp = this.
|
|
822
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z9h = function ($this$flow, $completion) {
|
|
823
|
+
var tmp = this.a9i($this$flow, $completion);
|
|
824
824
|
tmp.t8_1 = Unit_instance;
|
|
825
825
|
tmp.u8_1 = null;
|
|
826
826
|
return tmp.z8();
|
|
827
827
|
};
|
|
828
828
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
829
|
-
return this.
|
|
829
|
+
return this.z9h((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
830
830
|
};
|
|
831
831
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
832
832
|
var suspendResult = this.t8_1;
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
case 0:
|
|
838
838
|
this.s8_1 = 3;
|
|
839
839
|
this.r8_1 = 1;
|
|
840
|
-
suspendResult = this.
|
|
840
|
+
suspendResult = this.y9h_1.l28(new TableStateUpdate(this.w9h_1.id, this.w9h_1), this);
|
|
841
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
842
|
return suspendResult;
|
|
843
843
|
}
|
|
@@ -845,8 +845,8 @@
|
|
|
845
845
|
continue $sm;
|
|
846
846
|
case 1:
|
|
847
847
|
this.r8_1 = 2;
|
|
848
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
849
|
-
suspendResult = emitAll(this.
|
|
848
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.x9h_1).l8j(), fromInt(_get_serverReduxConfig__rprcrm(this.x9h_1).serverStateUpdateIntervalMillis));
|
|
849
|
+
suspendResult = emitAll(this.y9h_1, new _no_name_provided__qut3iv(this_0, this.w9h_1), this);
|
|
850
850
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
851
851
|
return suspendResult;
|
|
852
852
|
}
|
|
@@ -868,21 +868,21 @@
|
|
|
868
868
|
}
|
|
869
869
|
while (true);
|
|
870
870
|
};
|
|
871
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
872
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
873
|
-
i.
|
|
871
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9i = function ($this$flow, completion) {
|
|
872
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.w9h_1, this.x9h_1, completion);
|
|
873
|
+
i.y9h_1 = $this$flow;
|
|
874
874
|
return i;
|
|
875
875
|
};
|
|
876
876
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
877
877
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
878
878
|
var l = function ($this$flow, $completion) {
|
|
879
|
-
return i.
|
|
879
|
+
return i.z9h($this$flow, $completion);
|
|
880
880
|
};
|
|
881
881
|
l.$arity = 1;
|
|
882
882
|
return l;
|
|
883
883
|
}
|
|
884
884
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
885
|
-
this.
|
|
885
|
+
this.j9i_1 = $$this$unsafeFlow;
|
|
886
886
|
CoroutineImpl.call(this, resultContinuation);
|
|
887
887
|
}
|
|
888
888
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -903,28 +903,28 @@
|
|
|
903
903
|
case 0:
|
|
904
904
|
this.s8_1 = 5;
|
|
905
905
|
var tmp_0 = this;
|
|
906
|
-
tmp_0.
|
|
906
|
+
tmp_0.o9i_1 = this.j9i_1;
|
|
907
907
|
var tmp_1 = this;
|
|
908
|
-
tmp_1.
|
|
908
|
+
tmp_1.n9i_1 = this.k9i_1;
|
|
909
909
|
this.r8_1 = 1;
|
|
910
910
|
continue $sm;
|
|
911
911
|
case 1:
|
|
912
|
-
this.
|
|
913
|
-
var tmp0_elvis_lhs = this.
|
|
912
|
+
this.l9i_1 = this.o9i_1;
|
|
913
|
+
var tmp0_elvis_lhs = this.n9i_1.l6m_1;
|
|
914
914
|
if (tmp0_elvis_lhs == null) {
|
|
915
915
|
this.r8_1 = 4;
|
|
916
916
|
var tmp_2 = this;
|
|
917
917
|
continue $sm;
|
|
918
918
|
} else {
|
|
919
|
-
this.
|
|
919
|
+
this.m9i_1 = tmp0_elvis_lhs;
|
|
920
920
|
this.r8_1 = 2;
|
|
921
921
|
continue $sm;
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
case 2:
|
|
925
|
-
var transformed = this.
|
|
925
|
+
var transformed = this.m9i_1;
|
|
926
926
|
this.r8_1 = 3;
|
|
927
|
-
suspendResult = this.
|
|
927
|
+
suspendResult = this.l9i_1.l28(transformed, this);
|
|
928
928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
929
929
|
return suspendResult;
|
|
930
930
|
}
|
|
@@ -955,8 +955,8 @@
|
|
|
955
955
|
while (true);
|
|
956
956
|
};
|
|
957
957
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
958
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
959
|
-
i.
|
|
958
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.j9i_1, completion);
|
|
959
|
+
i.k9i_1 = value;
|
|
960
960
|
return i;
|
|
961
961
|
};
|
|
962
962
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -969,8 +969,8 @@
|
|
|
969
969
|
}
|
|
970
970
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
971
971
|
CoroutineImpl.call(this, resultContinuation);
|
|
972
|
-
this.
|
|
973
|
-
this.
|
|
972
|
+
this.x9i_1 = _this__u8e3s4;
|
|
973
|
+
this.y9i_1 = collector;
|
|
974
974
|
}
|
|
975
975
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
976
976
|
var suspendResult = this.t8_1;
|
|
@@ -980,10 +980,10 @@
|
|
|
980
980
|
switch (tmp) {
|
|
981
981
|
case 0:
|
|
982
982
|
this.s8_1 = 2;
|
|
983
|
-
var $this$unsafeFlow = this.
|
|
983
|
+
var $this$unsafeFlow = this.y9i_1;
|
|
984
984
|
this.r8_1 = 1;
|
|
985
985
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
986
|
-
suspendResult = this.
|
|
986
|
+
suspendResult = this.x9i_1.z9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
987
987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
988
988
|
return suspendResult;
|
|
989
989
|
}
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
while (true);
|
|
1007
1007
|
};
|
|
1008
1008
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1009
|
-
this.
|
|
1009
|
+
this.i9j_1 = $$this$unsafeFlow;
|
|
1010
1010
|
CoroutineImpl.call(this, resultContinuation);
|
|
1011
1011
|
}
|
|
1012
1012
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1026,8 +1026,8 @@
|
|
|
1026
1026
|
switch (tmp) {
|
|
1027
1027
|
case 0:
|
|
1028
1028
|
this.s8_1 = 2;
|
|
1029
|
-
var tmp0 = this.
|
|
1030
|
-
var value = this.
|
|
1029
|
+
var tmp0 = this.i9j_1;
|
|
1030
|
+
var value = this.j9j_1;
|
|
1031
1031
|
this.r8_1 = 1;
|
|
1032
1032
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1033
1033
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1052,8 +1052,8 @@
|
|
|
1052
1052
|
while (true);
|
|
1053
1053
|
};
|
|
1054
1054
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1055
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1056
|
-
i.
|
|
1055
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.i9j_1, completion);
|
|
1056
|
+
i.j9j_1 = value;
|
|
1057
1057
|
return i;
|
|
1058
1058
|
};
|
|
1059
1059
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1066,8 +1066,8 @@
|
|
|
1066
1066
|
}
|
|
1067
1067
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1068
1068
|
CoroutineImpl.call(this, resultContinuation);
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1069
|
+
this.s9j_1 = _this__u8e3s4;
|
|
1070
|
+
this.t9j_1 = collector;
|
|
1071
1071
|
}
|
|
1072
1072
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1073
1073
|
var suspendResult = this.t8_1;
|
|
@@ -1077,10 +1077,10 @@
|
|
|
1077
1077
|
switch (tmp) {
|
|
1078
1078
|
case 0:
|
|
1079
1079
|
this.s8_1 = 2;
|
|
1080
|
-
var $this$unsafeFlow = this.
|
|
1080
|
+
var $this$unsafeFlow = this.t9j_1;
|
|
1081
1081
|
this.r8_1 = 1;
|
|
1082
1082
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1083
|
-
suspendResult = this.
|
|
1083
|
+
suspendResult = this.s9j_1.u9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1084
1084
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1085
1085
|
return suspendResult;
|
|
1086
1086
|
}
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
while (true);
|
|
1104
1104
|
};
|
|
1105
1105
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1106
|
-
this.
|
|
1106
|
+
this.d9k_1 = $$this$unsafeFlow;
|
|
1107
1107
|
CoroutineImpl.call(this, resultContinuation);
|
|
1108
1108
|
}
|
|
1109
1109
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1123,8 +1123,8 @@
|
|
|
1123
1123
|
switch (tmp) {
|
|
1124
1124
|
case 0:
|
|
1125
1125
|
this.s8_1 = 2;
|
|
1126
|
-
var tmp0 = this.
|
|
1127
|
-
var value = this.
|
|
1126
|
+
var tmp0 = this.d9k_1;
|
|
1127
|
+
var value = this.e9k_1;
|
|
1128
1128
|
this.r8_1 = 1;
|
|
1129
1129
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1130
1130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1149,8 +1149,8 @@
|
|
|
1149
1149
|
while (true);
|
|
1150
1150
|
};
|
|
1151
1151
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1152
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1153
|
-
i.
|
|
1152
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.d9k_1, completion);
|
|
1153
|
+
i.e9k_1 = value;
|
|
1154
1154
|
return i;
|
|
1155
1155
|
};
|
|
1156
1156
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1163,8 +1163,8 @@
|
|
|
1163
1163
|
}
|
|
1164
1164
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1165
1165
|
CoroutineImpl.call(this, resultContinuation);
|
|
1166
|
-
this.
|
|
1167
|
-
this.
|
|
1166
|
+
this.n9k_1 = _this__u8e3s4;
|
|
1167
|
+
this.o9k_1 = collector;
|
|
1168
1168
|
}
|
|
1169
1169
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1170
1170
|
var suspendResult = this.t8_1;
|
|
@@ -1174,10 +1174,10 @@
|
|
|
1174
1174
|
switch (tmp) {
|
|
1175
1175
|
case 0:
|
|
1176
1176
|
this.s8_1 = 2;
|
|
1177
|
-
var $this$unsafeFlow = this.
|
|
1177
|
+
var $this$unsafeFlow = this.o9k_1;
|
|
1178
1178
|
this.r8_1 = 1;
|
|
1179
1179
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1180
|
-
suspendResult = this.
|
|
1180
|
+
suspendResult = this.n9k_1.p9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1181
1181
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1182
1182
|
return suspendResult;
|
|
1183
1183
|
}
|
|
@@ -1200,17 +1200,17 @@
|
|
|
1200
1200
|
while (true);
|
|
1201
1201
|
};
|
|
1202
1202
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1203
|
-
this.
|
|
1203
|
+
this.y9k_1 = $subscriber;
|
|
1204
1204
|
CoroutineImpl.call(this, resultContinuation);
|
|
1205
1205
|
}
|
|
1206
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1207
|
-
var tmp = this.
|
|
1206
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).a9l = function (it, $completion) {
|
|
1207
|
+
var tmp = this.b9l(it, $completion);
|
|
1208
1208
|
tmp.t8_1 = Unit_instance;
|
|
1209
1209
|
tmp.u8_1 = null;
|
|
1210
1210
|
return tmp.z8();
|
|
1211
1211
|
};
|
|
1212
1212
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1213
|
-
return this.
|
|
1213
|
+
return this.a9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1214
1214
|
};
|
|
1215
1215
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1216
1216
|
var suspendResult = this.t8_1;
|
|
@@ -1219,7 +1219,7 @@
|
|
|
1219
1219
|
var tmp = this.r8_1;
|
|
1220
1220
|
if (tmp === 0) {
|
|
1221
1221
|
this.s8_1 = 1;
|
|
1222
|
-
this.
|
|
1222
|
+
this.y9k_1(this.z9k_1);
|
|
1223
1223
|
return Unit_instance;
|
|
1224
1224
|
} else if (tmp === 1) {
|
|
1225
1225
|
throw this.u8_1;
|
|
@@ -1230,83 +1230,83 @@
|
|
|
1230
1230
|
}
|
|
1231
1231
|
while (true);
|
|
1232
1232
|
};
|
|
1233
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1234
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1235
|
-
i.
|
|
1233
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).b9l = function (it, completion) {
|
|
1234
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.y9k_1, completion);
|
|
1235
|
+
i.z9k_1 = it;
|
|
1236
1236
|
return i;
|
|
1237
1237
|
};
|
|
1238
1238
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1239
1239
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1240
1240
|
var l = function (it, $completion) {
|
|
1241
|
-
return i.
|
|
1241
|
+
return i.a9l(it, $completion);
|
|
1242
1242
|
};
|
|
1243
1243
|
l.$arity = 1;
|
|
1244
1244
|
return l;
|
|
1245
1245
|
}
|
|
1246
1246
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1247
|
-
this.
|
|
1247
|
+
this.c9l_1 = $playerId;
|
|
1248
1248
|
}
|
|
1249
1249
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1250
|
-
return this.
|
|
1250
|
+
return this.c9l_1;
|
|
1251
1251
|
};
|
|
1252
1252
|
function _get_logger__rkp4sl($this) {
|
|
1253
|
-
var tmp0 = $this.
|
|
1253
|
+
var tmp0 = $this.f9l_1;
|
|
1254
1254
|
var tmp = KProperty1;
|
|
1255
1255
|
// Inline function 'kotlin.getValue' call
|
|
1256
1256
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1257
1257
|
return tmp0.w();
|
|
1258
1258
|
}
|
|
1259
1259
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1260
|
-
var tmp0 = $this.
|
|
1260
|
+
var tmp0 = $this.g9l_1;
|
|
1261
1261
|
var tmp = KProperty1;
|
|
1262
1262
|
// Inline function 'kotlin.getValue' call
|
|
1263
1263
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1264
1264
|
return tmp0.w();
|
|
1265
1265
|
}
|
|
1266
1266
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1267
|
-
var tmp0 = $this.
|
|
1267
|
+
var tmp0 = $this.h9l_1;
|
|
1268
1268
|
var tmp = KProperty1;
|
|
1269
1269
|
// Inline function 'kotlin.getValue' call
|
|
1270
1270
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1271
1271
|
return tmp0.w();
|
|
1272
1272
|
}
|
|
1273
1273
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1274
|
-
var tmp0 = $this.
|
|
1274
|
+
var tmp0 = $this.i9l_1;
|
|
1275
1275
|
var tmp = KProperty1;
|
|
1276
1276
|
// Inline function 'kotlin.getValue' call
|
|
1277
1277
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1278
1278
|
return tmp0.w();
|
|
1279
1279
|
}
|
|
1280
1280
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1281
|
-
var tmp0 = $this.
|
|
1281
|
+
var tmp0 = $this.j9l_1;
|
|
1282
1282
|
var tmp = KProperty1;
|
|
1283
1283
|
// Inline function 'kotlin.getValue' call
|
|
1284
1284
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1285
1285
|
return tmp0.w();
|
|
1286
1286
|
}
|
|
1287
1287
|
function _get_random__h29cgo($this) {
|
|
1288
|
-
var tmp0 = $this.
|
|
1288
|
+
var tmp0 = $this.k9l_1;
|
|
1289
1289
|
var tmp = KProperty1;
|
|
1290
1290
|
// Inline function 'kotlin.getValue' call
|
|
1291
1291
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1292
1292
|
return tmp0.w();
|
|
1293
1293
|
}
|
|
1294
1294
|
function _get_idsProvider__fnfajc($this) {
|
|
1295
|
-
var tmp0 = $this.
|
|
1295
|
+
var tmp0 = $this.l9l_1;
|
|
1296
1296
|
var tmp = KProperty1;
|
|
1297
1297
|
// Inline function 'kotlin.getValue' call
|
|
1298
1298
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1299
1299
|
return tmp0.w();
|
|
1300
1300
|
}
|
|
1301
1301
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1302
|
-
var tmp0 = $this.
|
|
1302
|
+
var tmp0 = $this.m9l_1;
|
|
1303
1303
|
var tmp = KProperty1;
|
|
1304
1304
|
// Inline function 'kotlin.getValue' call
|
|
1305
1305
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1306
1306
|
return tmp0.w();
|
|
1307
1307
|
}
|
|
1308
1308
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1309
|
-
var tmp0 = $this.
|
|
1309
|
+
var tmp0 = $this.n9l_1;
|
|
1310
1310
|
var tmp = KProperty1;
|
|
1311
1311
|
// Inline function 'kotlin.getValue' call
|
|
1312
1312
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1334,20 +1334,20 @@
|
|
|
1334
1334
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1335
1335
|
}
|
|
1336
1336
|
function Companion() {
|
|
1337
|
-
this.
|
|
1337
|
+
this.p9l_1 = 'GameEngine_API';
|
|
1338
1338
|
}
|
|
1339
1339
|
var Companion_instance_7;
|
|
1340
1340
|
function Companion_getInstance_0() {
|
|
1341
1341
|
return Companion_instance_7;
|
|
1342
1342
|
}
|
|
1343
1343
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1344
|
-
this.
|
|
1344
|
+
this.q9l_1 = function_0;
|
|
1345
1345
|
}
|
|
1346
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1347
|
-
return this.
|
|
1347
|
+
return this.q9l_1(value, $completion);
|
|
1348
1348
|
};
|
|
1349
1349
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1350
|
-
return this.
|
|
1350
|
+
return this.q9l_1;
|
|
1351
1351
|
};
|
|
1352
1352
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1353
1353
|
var tmp;
|
|
@@ -1368,13 +1368,13 @@
|
|
|
1368
1368
|
return hashCode(this.a3());
|
|
1369
1369
|
};
|
|
1370
1370
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1371
|
-
this.
|
|
1371
|
+
this.r9l_1 = function_0;
|
|
1372
1372
|
}
|
|
1373
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1374
|
-
return this.
|
|
1374
|
+
return this.r9l_1(value, $completion);
|
|
1375
1375
|
};
|
|
1376
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1377
|
-
return this.
|
|
1377
|
+
return this.r9l_1;
|
|
1378
1378
|
};
|
|
1379
1379
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1380
1380
|
var tmp;
|
|
@@ -1395,13 +1395,13 @@
|
|
|
1395
1395
|
return hashCode(this.a3());
|
|
1396
1396
|
};
|
|
1397
1397
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1398
|
-
this.
|
|
1398
|
+
this.s9l_1 = function_0;
|
|
1399
1399
|
}
|
|
1400
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1401
|
-
return this.
|
|
1401
|
+
return this.s9l_1(value, $completion);
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1404
|
-
return this.
|
|
1404
|
+
return this.s9l_1;
|
|
1405
1405
|
};
|
|
1406
1406
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1407
1407
|
var tmp;
|
|
@@ -1422,13 +1422,13 @@
|
|
|
1422
1422
|
return hashCode(this.a3());
|
|
1423
1423
|
};
|
|
1424
1424
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1425
|
-
this.
|
|
1425
|
+
this.t9l_1 = function_0;
|
|
1426
1426
|
}
|
|
1427
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1428
|
-
return this.
|
|
1428
|
+
return this.t9l_1(value, $completion);
|
|
1429
1429
|
};
|
|
1430
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1431
|
-
return this.
|
|
1431
|
+
return this.t9l_1;
|
|
1432
1432
|
};
|
|
1433
1433
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1434
1434
|
var tmp;
|
|
@@ -1449,13 +1449,13 @@
|
|
|
1449
1449
|
return hashCode(this.a3());
|
|
1450
1450
|
};
|
|
1451
1451
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1452
|
-
this.
|
|
1452
|
+
this.u9l_1 = function_0;
|
|
1453
1453
|
}
|
|
1454
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1455
|
-
return this.
|
|
1455
|
+
return this.u9l_1(value, $completion);
|
|
1456
1456
|
};
|
|
1457
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1458
|
-
return this.
|
|
1458
|
+
return this.u9l_1;
|
|
1459
1459
|
};
|
|
1460
1460
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1461
1461
|
var tmp;
|
|
@@ -1476,13 +1476,13 @@
|
|
|
1476
1476
|
return hashCode(this.a3());
|
|
1477
1477
|
};
|
|
1478
1478
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1479
|
-
this.
|
|
1479
|
+
this.v9l_1 = function_0;
|
|
1480
1480
|
}
|
|
1481
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1482
|
-
return this.
|
|
1482
|
+
return this.v9l_1(value, $completion);
|
|
1483
1483
|
};
|
|
1484
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1485
|
-
return this.
|
|
1485
|
+
return this.v9l_1;
|
|
1486
1486
|
};
|
|
1487
1487
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1488
1488
|
var tmp;
|
|
@@ -1593,8 +1593,8 @@
|
|
|
1593
1593
|
};
|
|
1594
1594
|
}
|
|
1595
1595
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1596
|
-
this.
|
|
1597
|
-
this.
|
|
1596
|
+
this.e9m_1 = this$0;
|
|
1597
|
+
this.f9m_1 = $subscriber;
|
|
1598
1598
|
CoroutineImpl.call(this, resultContinuation);
|
|
1599
1599
|
}
|
|
1600
1600
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1615,8 +1615,8 @@
|
|
|
1615
1615
|
case 0:
|
|
1616
1616
|
this.s8_1 = 2;
|
|
1617
1617
|
this.r8_1 = 1;
|
|
1618
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1619
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1618
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.e9m_1).h9m();
|
|
1619
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.f9m_1, null);
|
|
1620
1620
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1621
1621
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1622
1622
|
return suspendResult;
|
|
@@ -1640,8 +1640,8 @@
|
|
|
1640
1640
|
while (true);
|
|
1641
1641
|
};
|
|
1642
1642
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1643
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1644
|
-
i.
|
|
1643
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.e9m_1, this.f9m_1, completion);
|
|
1644
|
+
i.g9m_1 = $this$launchDefault;
|
|
1645
1645
|
return i;
|
|
1646
1646
|
};
|
|
1647
1647
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1653,8 +1653,8 @@
|
|
|
1653
1653
|
return l;
|
|
1654
1654
|
}
|
|
1655
1655
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1656
|
+
this.q9m_1 = this$0;
|
|
1657
|
+
this.r9m_1 = $subscriber;
|
|
1658
1658
|
CoroutineImpl.call(this, resultContinuation);
|
|
1659
1659
|
}
|
|
1660
1660
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1675,8 +1675,8 @@
|
|
|
1675
1675
|
case 0:
|
|
1676
1676
|
this.s8_1 = 2;
|
|
1677
1677
|
this.r8_1 = 1;
|
|
1678
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1679
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1678
|
+
var tmp_0 = observeTableStateUpdates(this.q9m_1);
|
|
1679
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.r9m_1, null);
|
|
1680
1680
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1681
1681
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1682
1682
|
return suspendResult;
|
|
@@ -1700,8 +1700,8 @@
|
|
|
1700
1700
|
while (true);
|
|
1701
1701
|
};
|
|
1702
1702
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1703
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1704
|
-
i.
|
|
1703
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.q9m_1, this.r9m_1, completion);
|
|
1704
|
+
i.s9m_1 = $this$launchDefault;
|
|
1705
1705
|
return i;
|
|
1706
1706
|
};
|
|
1707
1707
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1713,8 +1713,8 @@
|
|
|
1713
1713
|
return l;
|
|
1714
1714
|
}
|
|
1715
1715
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1716
|
-
this.
|
|
1717
|
-
this.
|
|
1716
|
+
this.b9n_1 = this$0;
|
|
1717
|
+
this.c9n_1 = $subscriber;
|
|
1718
1718
|
CoroutineImpl.call(this, resultContinuation);
|
|
1719
1719
|
}
|
|
1720
1720
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1735,9 +1735,9 @@
|
|
|
1735
1735
|
case 0:
|
|
1736
1736
|
this.s8_1 = 2;
|
|
1737
1737
|
this.r8_1 = 1;
|
|
1738
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1739
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1740
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1738
|
+
var this_0 = observeTableStateUpdates(this.b9n_1);
|
|
1739
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.b9n_1);
|
|
1740
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.c9n_1, null);
|
|
1741
1741
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1742
1742
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1743
1743
|
return suspendResult;
|
|
@@ -1761,8 +1761,8 @@
|
|
|
1761
1761
|
while (true);
|
|
1762
1762
|
};
|
|
1763
1763
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1764
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1765
|
-
i.
|
|
1764
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.b9n_1, this.c9n_1, completion);
|
|
1765
|
+
i.d9n_1 = $this$launchDefault;
|
|
1766
1766
|
return i;
|
|
1767
1767
|
};
|
|
1768
1768
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1774,18 +1774,18 @@
|
|
|
1774
1774
|
return l;
|
|
1775
1775
|
}
|
|
1776
1776
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1777
|
-
this.
|
|
1777
|
+
this.m9n_1 = this$0;
|
|
1778
1778
|
CoroutineImpl.call(this, resultContinuation);
|
|
1779
1779
|
}
|
|
1780
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1781
|
-
var tmp = this.
|
|
1780
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).p9n = function ($this$transformLatest, it, $completion) {
|
|
1781
|
+
var tmp = this.q9n($this$transformLatest, it, $completion);
|
|
1782
1782
|
tmp.t8_1 = Unit_instance;
|
|
1783
1783
|
tmp.u8_1 = null;
|
|
1784
1784
|
return tmp.z8();
|
|
1785
1785
|
};
|
|
1786
1786
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1787
1787
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1788
|
-
return this.
|
|
1788
|
+
return this.p9n(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1789
1789
|
};
|
|
1790
1790
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1791
1791
|
var suspendResult = this.t8_1;
|
|
@@ -1796,8 +1796,8 @@
|
|
|
1796
1796
|
case 0:
|
|
1797
1797
|
this.s8_1 = 2;
|
|
1798
1798
|
this.r8_1 = 1;
|
|
1799
|
-
var table = this.
|
|
1800
|
-
suspendResult = emitAll(this.
|
|
1799
|
+
var table = this.o9n_1;
|
|
1800
|
+
suspendResult = emitAll(this.n9n_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.m9n_1, null)), this);
|
|
1801
1801
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1802
1802
|
return suspendResult;
|
|
1803
1803
|
}
|
|
@@ -1819,22 +1819,22 @@
|
|
|
1819
1819
|
}
|
|
1820
1820
|
while (true);
|
|
1821
1821
|
};
|
|
1822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1823
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1824
|
-
i.
|
|
1825
|
-
i.
|
|
1822
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).q9n = function ($this$transformLatest, it, completion) {
|
|
1823
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.m9n_1, completion);
|
|
1824
|
+
i.n9n_1 = $this$transformLatest;
|
|
1825
|
+
i.o9n_1 = it;
|
|
1826
1826
|
return i;
|
|
1827
1827
|
};
|
|
1828
1828
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1829
1829
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1830
1830
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1831
|
-
return i.
|
|
1831
|
+
return i.p9n($this$transformLatest, it, $completion);
|
|
1832
1832
|
};
|
|
1833
1833
|
l.$arity = 2;
|
|
1834
1834
|
return l;
|
|
1835
1835
|
}
|
|
1836
1836
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1837
|
-
this.
|
|
1837
|
+
this.z9i_1 = $this;
|
|
1838
1838
|
}
|
|
1839
1839
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1840
1840
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1846,7 +1846,7 @@
|
|
|
1846
1846
|
return this.m28(collector, $completion);
|
|
1847
1847
|
};
|
|
1848
1848
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1849
|
-
this.
|
|
1849
|
+
this.u9j_1 = $this;
|
|
1850
1850
|
}
|
|
1851
1851
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1852
1852
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1861,7 +1861,7 @@
|
|
|
1861
1861
|
return old.le_1 === new_0.le_1;
|
|
1862
1862
|
}
|
|
1863
1863
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1864
|
-
this.
|
|
1864
|
+
this.p9k_1 = $this;
|
|
1865
1865
|
}
|
|
1866
1866
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1867
1867
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1873,8 +1873,8 @@
|
|
|
1873
1873
|
return this.m28(collector, $completion);
|
|
1874
1874
|
};
|
|
1875
1875
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1876
|
-
this.
|
|
1877
|
-
this.
|
|
1876
|
+
this.z9n_1 = this$0;
|
|
1877
|
+
this.a9o_1 = $subscriber;
|
|
1878
1878
|
CoroutineImpl.call(this, resultContinuation);
|
|
1879
1879
|
}
|
|
1880
1880
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1895,8 +1895,8 @@
|
|
|
1895
1895
|
case 0:
|
|
1896
1896
|
this.s8_1 = 2;
|
|
1897
1897
|
this.r8_1 = 1;
|
|
1898
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1899
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1898
|
+
var tmp_0 = distinctUntilChanged(this.z9n_1.k6m());
|
|
1899
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.a9o_1, null);
|
|
1900
1900
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1901
1901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1902
1902
|
return suspendResult;
|
|
@@ -1920,8 +1920,8 @@
|
|
|
1920
1920
|
while (true);
|
|
1921
1921
|
};
|
|
1922
1922
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1923
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1924
|
-
i.
|
|
1923
|
+
var i = new GameServer$subscribeWith$slambda(this.z9n_1, this.a9o_1, completion);
|
|
1924
|
+
i.b9o_1 = $this$launchDefault;
|
|
1925
1925
|
return i;
|
|
1926
1926
|
};
|
|
1927
1927
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1933,18 +1933,18 @@
|
|
|
1933
1933
|
return l;
|
|
1934
1934
|
}
|
|
1935
1935
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1936
|
-
this.
|
|
1936
|
+
this.k9o_1 = $action;
|
|
1937
1937
|
CoroutineImpl.call(this, resultContinuation);
|
|
1938
1938
|
}
|
|
1939
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1940
|
-
var tmp = this.
|
|
1939
|
+
protoOf(GameServer$fromClientEvent$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
1940
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
1941
1941
|
tmp.t8_1 = Unit_instance;
|
|
1942
1942
|
tmp.u8_1 = null;
|
|
1943
1943
|
return tmp.z8();
|
|
1944
1944
|
};
|
|
1945
1945
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1946
1946
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1947
|
-
return this.
|
|
1947
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1948
1948
|
};
|
|
1949
1949
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1950
1950
|
var suspendResult = this.t8_1;
|
|
@@ -1953,11 +1953,11 @@
|
|
|
1953
1953
|
var tmp = this.r8_1;
|
|
1954
1954
|
if (tmp === 0) {
|
|
1955
1955
|
this.s8_1 = 1;
|
|
1956
|
-
if (this.
|
|
1957
|
-
if (!get_isCreated(this.
|
|
1956
|
+
if (this.k9o_1 instanceof PlayerReadyFromClientAction)
|
|
1957
|
+
if (!get_isCreated(this.m9o_1.state)) {
|
|
1958
1958
|
return Unit_instance;
|
|
1959
1959
|
}
|
|
1960
|
-
this.
|
|
1960
|
+
this.m9o_1.dispatch(this.k9o_1);
|
|
1961
1961
|
return Unit_instance;
|
|
1962
1962
|
} else if (tmp === 1) {
|
|
1963
1963
|
throw this.u8_1;
|
|
@@ -1968,33 +1968,33 @@
|
|
|
1968
1968
|
}
|
|
1969
1969
|
while (true);
|
|
1970
1970
|
};
|
|
1971
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1972
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1973
|
-
i.
|
|
1974
|
-
i.
|
|
1971
|
+
protoOf(GameServer$fromClientEvent$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
1972
|
+
var i = new GameServer$fromClientEvent$slambda(this.k9o_1, completion);
|
|
1973
|
+
i.l9o_1 = $this$dispatchAsync;
|
|
1974
|
+
i.m9o_1 = store;
|
|
1975
1975
|
return i;
|
|
1976
1976
|
};
|
|
1977
1977
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1978
1978
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1979
1979
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1980
|
-
return i.
|
|
1980
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
1981
1981
|
};
|
|
1982
1982
|
l.$arity = 2;
|
|
1983
1983
|
return l;
|
|
1984
1984
|
}
|
|
1985
1985
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1986
|
-
this.
|
|
1986
|
+
this.x9o_1 = $playerId;
|
|
1987
1987
|
CoroutineImpl.call(this, resultContinuation);
|
|
1988
1988
|
}
|
|
1989
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1990
|
-
var tmp = this.
|
|
1989
|
+
protoOf(GameServer$playerLostConnection$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
1990
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
1991
1991
|
tmp.t8_1 = Unit_instance;
|
|
1992
1992
|
tmp.u8_1 = null;
|
|
1993
1993
|
return tmp.z8();
|
|
1994
1994
|
};
|
|
1995
1995
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1996
1996
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1997
|
-
return this.
|
|
1997
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1998
1998
|
};
|
|
1999
1999
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
2000
2000
|
var suspendResult = this.t8_1;
|
|
@@ -2003,12 +2003,12 @@
|
|
|
2003
2003
|
var tmp = this.r8_1;
|
|
2004
2004
|
if (tmp === 0) {
|
|
2005
2005
|
this.s8_1 = 1;
|
|
2006
|
-
if (!get_isCreated(this.
|
|
2006
|
+
if (!get_isCreated(this.z9o_1.state)) {
|
|
2007
2007
|
return Unit_instance;
|
|
2008
2008
|
}
|
|
2009
|
-
var tmp_0 = this.
|
|
2009
|
+
var tmp_0 = this.z9o_1.dispatch;
|
|
2010
2010
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2011
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2011
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.x9o_1));
|
|
2012
2012
|
return Unit_instance;
|
|
2013
2013
|
} else if (tmp === 1) {
|
|
2014
2014
|
throw this.u8_1;
|
|
@@ -2019,34 +2019,34 @@
|
|
|
2019
2019
|
}
|
|
2020
2020
|
while (true);
|
|
2021
2021
|
};
|
|
2022
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2023
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2024
|
-
i.
|
|
2025
|
-
i.
|
|
2022
|
+
protoOf(GameServer$playerLostConnection$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2023
|
+
var i = new GameServer$playerLostConnection$slambda(this.x9o_1, completion);
|
|
2024
|
+
i.y9o_1 = $this$dispatchAsync;
|
|
2025
|
+
i.z9o_1 = store;
|
|
2026
2026
|
return i;
|
|
2027
2027
|
};
|
|
2028
2028
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2029
2029
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2030
2030
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2031
|
-
return i.
|
|
2031
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2032
2032
|
};
|
|
2033
2033
|
l.$arity = 2;
|
|
2034
2034
|
return l;
|
|
2035
2035
|
}
|
|
2036
2036
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2037
|
-
this.
|
|
2038
|
-
this.
|
|
2037
|
+
this.i9p_1 = this$0;
|
|
2038
|
+
this.j9p_1 = $playerId;
|
|
2039
2039
|
CoroutineImpl.call(this, resultContinuation);
|
|
2040
2040
|
}
|
|
2041
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2042
|
-
var tmp = this.
|
|
2041
|
+
protoOf(GameServer$playerLive$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2042
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2043
2043
|
tmp.t8_1 = Unit_instance;
|
|
2044
2044
|
tmp.u8_1 = null;
|
|
2045
2045
|
return tmp.z8();
|
|
2046
2046
|
};
|
|
2047
2047
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2048
2048
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2049
|
-
return this.
|
|
2049
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2050
2050
|
};
|
|
2051
2051
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2052
2052
|
var suspendResult = this.t8_1;
|
|
@@ -2055,16 +2055,16 @@
|
|
|
2055
2055
|
var tmp = this.r8_1;
|
|
2056
2056
|
if (tmp === 0) {
|
|
2057
2057
|
this.s8_1 = 1;
|
|
2058
|
-
if (get_isFinished(this.
|
|
2058
|
+
if (get_isFinished(this.l9p_1.state) || get_isFinishing(this.l9p_1.state)) {
|
|
2059
2059
|
return Unit_instance;
|
|
2060
2060
|
}
|
|
2061
|
-
if (!get_isCreated(this.
|
|
2062
|
-
_get_logger__rkp4sl(this.
|
|
2061
|
+
if (!get_isCreated(this.l9p_1.state) || !this.i9p_1.s66().o6n()) {
|
|
2062
|
+
_get_logger__rkp4sl(this.i9p_1).w('GameEngine_API', 'playerLive: ' + this.j9p_1 + ' before game is created');
|
|
2063
2063
|
return Unit_instance;
|
|
2064
2064
|
}
|
|
2065
|
-
var tmp_0 = this.
|
|
2065
|
+
var tmp_0 = this.l9p_1.dispatch;
|
|
2066
2066
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2067
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2067
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.j9p_1));
|
|
2068
2068
|
return Unit_instance;
|
|
2069
2069
|
} else if (tmp === 1) {
|
|
2070
2070
|
throw this.u8_1;
|
|
@@ -2075,34 +2075,34 @@
|
|
|
2075
2075
|
}
|
|
2076
2076
|
while (true);
|
|
2077
2077
|
};
|
|
2078
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2079
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2080
|
-
i.
|
|
2081
|
-
i.
|
|
2078
|
+
protoOf(GameServer$playerLive$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2079
|
+
var i = new GameServer$playerLive$slambda(this.i9p_1, this.j9p_1, completion);
|
|
2080
|
+
i.k9p_1 = $this$dispatchAsync;
|
|
2081
|
+
i.l9p_1 = store;
|
|
2082
2082
|
return i;
|
|
2083
2083
|
};
|
|
2084
2084
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2085
2085
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2086
2086
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2087
|
-
return i.
|
|
2087
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2088
2088
|
};
|
|
2089
2089
|
l.$arity = 2;
|
|
2090
2090
|
return l;
|
|
2091
2091
|
}
|
|
2092
2092
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2093
|
+
this.u9p_1 = this$0;
|
|
2094
|
+
this.v9p_1 = $playerId;
|
|
2095
2095
|
CoroutineImpl.call(this, resultContinuation);
|
|
2096
2096
|
}
|
|
2097
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2098
|
-
var tmp = this.
|
|
2097
|
+
protoOf(GameServer$playerLeft$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2098
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2099
2099
|
tmp.t8_1 = Unit_instance;
|
|
2100
2100
|
tmp.u8_1 = null;
|
|
2101
2101
|
return tmp.z8();
|
|
2102
2102
|
};
|
|
2103
2103
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2104
2104
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2105
|
-
return this.
|
|
2105
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2106
2106
|
};
|
|
2107
2107
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2108
2108
|
var suspendResult = this.t8_1;
|
|
@@ -2111,16 +2111,16 @@
|
|
|
2111
2111
|
var tmp = this.r8_1;
|
|
2112
2112
|
if (tmp === 0) {
|
|
2113
2113
|
this.s8_1 = 1;
|
|
2114
|
-
if (get_isFinished(this.
|
|
2114
|
+
if (get_isFinished(this.x9p_1.state) || get_isFinishing(this.x9p_1.state)) {
|
|
2115
2115
|
return Unit_instance;
|
|
2116
2116
|
}
|
|
2117
|
-
if (!get_isCreated(this.
|
|
2118
|
-
_get_logger__rkp4sl(this.
|
|
2117
|
+
if (!get_isCreated(this.x9p_1.state) || !this.u9p_1.s66().o6n()) {
|
|
2118
|
+
_get_logger__rkp4sl(this.u9p_1).w('GameEngine_API', 'playerLeft: ' + this.v9p_1 + ' before game is created');
|
|
2119
2119
|
return Unit_instance;
|
|
2120
2120
|
}
|
|
2121
|
-
var tmp_0 = this.
|
|
2121
|
+
var tmp_0 = this.x9p_1.dispatch;
|
|
2122
2122
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2123
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2123
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.v9p_1));
|
|
2124
2124
|
return Unit_instance;
|
|
2125
2125
|
} else if (tmp === 1) {
|
|
2126
2126
|
throw this.u8_1;
|
|
@@ -2131,39 +2131,39 @@
|
|
|
2131
2131
|
}
|
|
2132
2132
|
while (true);
|
|
2133
2133
|
};
|
|
2134
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2135
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2136
|
-
i.
|
|
2137
|
-
i.
|
|
2134
|
+
protoOf(GameServer$playerLeft$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2135
|
+
var i = new GameServer$playerLeft$slambda(this.u9p_1, this.v9p_1, completion);
|
|
2136
|
+
i.w9p_1 = $this$dispatchAsync;
|
|
2137
|
+
i.x9p_1 = store;
|
|
2138
2138
|
return i;
|
|
2139
2139
|
};
|
|
2140
2140
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2141
2141
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2142
2142
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
-
return i.
|
|
2143
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2144
2144
|
};
|
|
2145
2145
|
l.$arity = 2;
|
|
2146
2146
|
return l;
|
|
2147
2147
|
}
|
|
2148
2148
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
this.
|
|
2153
|
-
this.
|
|
2154
|
-
this.
|
|
2155
|
-
this.
|
|
2149
|
+
this.g9q_1 = $usersArray;
|
|
2150
|
+
this.h9q_1 = $config;
|
|
2151
|
+
this.i9q_1 = this$0;
|
|
2152
|
+
this.j9q_1 = $roomId;
|
|
2153
|
+
this.k9q_1 = $transition;
|
|
2154
|
+
this.l9q_1 = $gameCreatorId;
|
|
2155
|
+
this.m9q_1 = $spectators;
|
|
2156
2156
|
CoroutineImpl.call(this, resultContinuation);
|
|
2157
2157
|
}
|
|
2158
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2159
|
-
var tmp = this.
|
|
2158
|
+
protoOf(GameServer$roomOnCreate$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2159
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2160
2160
|
tmp.t8_1 = Unit_instance;
|
|
2161
2161
|
tmp.u8_1 = null;
|
|
2162
2162
|
return tmp.z8();
|
|
2163
2163
|
};
|
|
2164
2164
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2165
2165
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2166
|
-
return this.
|
|
2166
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2167
2167
|
};
|
|
2168
2168
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2169
2169
|
var suspendResult = this.t8_1;
|
|
@@ -2172,21 +2172,21 @@
|
|
|
2172
2172
|
var tmp = this.r8_1;
|
|
2173
2173
|
if (tmp === 0) {
|
|
2174
2174
|
this.s8_1 = 1;
|
|
2175
|
-
var users = toList(this.
|
|
2176
|
-
if (!(this.
|
|
2177
|
-
_get_logger__rkp4sl(this.
|
|
2178
|
-
this.
|
|
2175
|
+
var users = toList(this.g9q_1);
|
|
2176
|
+
if (!(this.h9q_1.playersMode.count === users.o())) {
|
|
2177
|
+
_get_logger__rkp4sl(this.i9q_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.j9q_1 + ', config = ' + this.h9q_1.toString() + ', users = ' + toString(users));
|
|
2178
|
+
this.o9q_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.i9q_1.table.isGameFinished, this.i9q_1.table));
|
|
2179
2179
|
return Unit_instance;
|
|
2180
2180
|
}
|
|
2181
2181
|
var tmp_0;
|
|
2182
|
-
if (this.
|
|
2183
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2182
|
+
if (this.h9q_1.mode.shufflePlayers && this.k9q_1 == null) {
|
|
2183
|
+
tmp_0 = _get_random__h29cgo(this.i9q_1).o5d(toMutableList(users));
|
|
2184
2184
|
} else {
|
|
2185
|
-
var tmp0_safe_receiver = this.
|
|
2185
|
+
var tmp0_safe_receiver = this.k9q_1;
|
|
2186
2186
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2187
2187
|
var tmp_1;
|
|
2188
|
-
if (!(previousPlayers == null) && this.
|
|
2189
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2188
|
+
if (!(previousPlayers == null) && this.h9q_1.playersMode.isTeamGame) {
|
|
2189
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.i9q_1);
|
|
2190
2190
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2191
2191
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2192
2192
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -2217,19 +2217,19 @@
|
|
|
2217
2217
|
destination_1.j(destination_2);
|
|
2218
2218
|
}
|
|
2219
2219
|
var updatedTeams = destination_1;
|
|
2220
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2220
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.i9q_1).g8j(updatedTeams);
|
|
2221
2221
|
} else {
|
|
2222
2222
|
tmp_1 = users;
|
|
2223
2223
|
}
|
|
2224
2224
|
tmp_0 = tmp_1;
|
|
2225
2225
|
}
|
|
2226
2226
|
var updatedUsers = tmp_0;
|
|
2227
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2228
|
-
var tmp_3 = this.
|
|
2227
|
+
var gameCreatorUser = getPlayer(users, this.l9q_1);
|
|
2228
|
+
var tmp_3 = this.o9q_1.dispatch;
|
|
2229
2229
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2230
2230
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2231
|
-
var tmp3_spectators = toList(this.
|
|
2232
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2231
|
+
var tmp3_spectators = toList(this.m9q_1);
|
|
2232
|
+
tmp_3(new StartGameMechanicAction(this.h9q_1, this.j9q_1, tmp1_version, this.l9q_1, tmp2_users, VOID, tmp3_spectators));
|
|
2233
2233
|
return Unit_instance;
|
|
2234
2234
|
} else if (tmp === 1) {
|
|
2235
2235
|
throw this.u8_1;
|
|
@@ -2240,33 +2240,33 @@
|
|
|
2240
2240
|
}
|
|
2241
2241
|
while (true);
|
|
2242
2242
|
};
|
|
2243
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2244
|
-
var i = new GameServer$roomOnCreate$slambda(this.h9q_1, this.i9q_1, this.j9q_1, this.k9q_1, this.l9q_1, this.m9q_1,
|
|
2245
|
-
i.
|
|
2246
|
-
i.
|
|
2243
|
+
protoOf(GameServer$roomOnCreate$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2244
|
+
var i = new GameServer$roomOnCreate$slambda(this.g9q_1, this.h9q_1, this.i9q_1, this.j9q_1, this.k9q_1, this.l9q_1, this.m9q_1, completion);
|
|
2245
|
+
i.n9q_1 = $this$dispatchAsync;
|
|
2246
|
+
i.o9q_1 = store;
|
|
2247
2247
|
return i;
|
|
2248
2248
|
};
|
|
2249
2249
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2250
2250
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2251
2251
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2252
|
-
return i.
|
|
2252
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2253
2253
|
};
|
|
2254
2254
|
l.$arity = 2;
|
|
2255
2255
|
return l;
|
|
2256
2256
|
}
|
|
2257
2257
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2258
|
-
this.
|
|
2258
|
+
this.x9q_1 = $state;
|
|
2259
2259
|
CoroutineImpl.call(this, resultContinuation);
|
|
2260
2260
|
}
|
|
2261
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2262
|
-
var tmp = this.
|
|
2261
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).a9r = function ($this$dispatchAwait, store, $completion) {
|
|
2262
|
+
var tmp = this.o9o($this$dispatchAwait, store, $completion);
|
|
2263
2263
|
tmp.t8_1 = Unit_instance;
|
|
2264
2264
|
tmp.u8_1 = null;
|
|
2265
2265
|
return tmp.z8();
|
|
2266
2266
|
};
|
|
2267
2267
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2268
2268
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2269
|
-
return this.
|
|
2269
|
+
return this.a9r(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2270
2270
|
};
|
|
2271
2271
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2272
2272
|
var suspendResult = this.t8_1;
|
|
@@ -2275,10 +2275,10 @@
|
|
|
2275
2275
|
var tmp = this.r8_1;
|
|
2276
2276
|
if (tmp === 0) {
|
|
2277
2277
|
this.s8_1 = 1;
|
|
2278
|
-
if (get_isCreating(this.
|
|
2279
|
-
var tmp_0 = this.
|
|
2278
|
+
if (get_isCreating(this.z9q_1.state)) {
|
|
2279
|
+
var tmp_0 = this.z9q_1.dispatch;
|
|
2280
2280
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2281
|
-
var tmp1_table = this.
|
|
2281
|
+
var tmp1_table = this.x9q_1.table;
|
|
2282
2282
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2283
2283
|
return true;
|
|
2284
2284
|
}
|
|
@@ -2292,34 +2292,34 @@
|
|
|
2292
2292
|
}
|
|
2293
2293
|
while (true);
|
|
2294
2294
|
};
|
|
2295
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2296
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2297
|
-
i.
|
|
2298
|
-
i.
|
|
2295
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).o9o = function ($this$dispatchAwait, store, completion) {
|
|
2296
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.x9q_1, completion);
|
|
2297
|
+
i.y9q_1 = $this$dispatchAwait;
|
|
2298
|
+
i.z9q_1 = store;
|
|
2299
2299
|
return i;
|
|
2300
2300
|
};
|
|
2301
2301
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2302
2302
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2303
2303
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2304
|
-
return i.
|
|
2304
|
+
return i.a9r($this$dispatchAwait, store, $completion);
|
|
2305
2305
|
};
|
|
2306
2306
|
l.$arity = 2;
|
|
2307
2307
|
return l;
|
|
2308
2308
|
}
|
|
2309
2309
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2310
|
-
this.
|
|
2311
|
-
this.
|
|
2310
|
+
this.j9r_1 = $isCreated;
|
|
2311
|
+
this.k9r_1 = $state;
|
|
2312
2312
|
CoroutineImpl.call(this, resultContinuation);
|
|
2313
2313
|
}
|
|
2314
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2315
|
-
var tmp = this.
|
|
2314
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2315
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2316
2316
|
tmp.t8_1 = Unit_instance;
|
|
2317
2317
|
tmp.u8_1 = null;
|
|
2318
2318
|
return tmp.z8();
|
|
2319
2319
|
};
|
|
2320
2320
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2321
2321
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2322
|
-
return this.
|
|
2322
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2323
2323
|
};
|
|
2324
2324
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2325
2325
|
var suspendResult = this.t8_1;
|
|
@@ -2330,7 +2330,7 @@
|
|
|
2330
2330
|
case 0:
|
|
2331
2331
|
this.s8_1 = 3;
|
|
2332
2332
|
this.r8_1 = 1;
|
|
2333
|
-
suspendResult = this.
|
|
2333
|
+
suspendResult = this.j9r_1.z1t(this);
|
|
2334
2334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2335
2335
|
return suspendResult;
|
|
2336
2336
|
}
|
|
@@ -2338,10 +2338,10 @@
|
|
|
2338
2338
|
continue $sm;
|
|
2339
2339
|
case 1:
|
|
2340
2340
|
if (suspendResult) {
|
|
2341
|
-
var _iterator__ex2g4s = this.
|
|
2341
|
+
var _iterator__ex2g4s = this.k9r_1.actions.l();
|
|
2342
2342
|
while (_iterator__ex2g4s.m()) {
|
|
2343
2343
|
var element = _iterator__ex2g4s.n();
|
|
2344
|
-
this.
|
|
2344
|
+
this.m9r_1.dispatch(element);
|
|
2345
2345
|
}
|
|
2346
2346
|
this.r8_1 = 2;
|
|
2347
2347
|
continue $sm;
|
|
@@ -2366,35 +2366,35 @@
|
|
|
2366
2366
|
}
|
|
2367
2367
|
while (true);
|
|
2368
2368
|
};
|
|
2369
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2370
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2371
|
-
i.
|
|
2372
|
-
i.
|
|
2369
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2370
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.j9r_1, this.k9r_1, completion);
|
|
2371
|
+
i.l9r_1 = $this$dispatchAsync;
|
|
2372
|
+
i.m9r_1 = store;
|
|
2373
2373
|
return i;
|
|
2374
2374
|
};
|
|
2375
2375
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2376
2376
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2377
2377
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
-
return i.
|
|
2378
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2379
2379
|
};
|
|
2380
2380
|
l.$arity = 2;
|
|
2381
2381
|
return l;
|
|
2382
2382
|
}
|
|
2383
2383
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2384
|
+
this.v9r_1 = $tableLite;
|
|
2385
|
+
this.w9r_1 = $roomId;
|
|
2386
|
+
this.x9r_1 = this$0;
|
|
2387
2387
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2388
|
}
|
|
2389
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2389
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2390
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2391
2391
|
tmp.t8_1 = Unit_instance;
|
|
2392
2392
|
tmp.u8_1 = null;
|
|
2393
2393
|
return tmp.z8();
|
|
2394
2394
|
};
|
|
2395
2395
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2396
2396
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2397
|
-
return this.
|
|
2397
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2398
2398
|
};
|
|
2399
2399
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2400
2400
|
var suspendResult = this.t8_1;
|
|
@@ -2403,9 +2403,9 @@
|
|
|
2403
2403
|
var tmp = this.r8_1;
|
|
2404
2404
|
if (tmp === 0) {
|
|
2405
2405
|
this.s8_1 = 1;
|
|
2406
|
-
var tmp_0 = this.
|
|
2407
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2408
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2406
|
+
var tmp_0 = this.z9r_1.dispatch;
|
|
2407
|
+
var tmp0_reason = new RestartRoundReason(this.v9r_1.gameInfo.round.roundNumber);
|
|
2408
|
+
var tmp1_table = Companion_instance_0.restartRound(this.w9r_1, _get_idsProvider__fnfajc(this.x9r_1).z6d(), get_versionOrDefault(GameEngineConfig_instance), this.v9r_1);
|
|
2409
2409
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2410
2410
|
return Unit_instance;
|
|
2411
2411
|
} else if (tmp === 1) {
|
|
@@ -2417,16 +2417,16 @@
|
|
|
2417
2417
|
}
|
|
2418
2418
|
while (true);
|
|
2419
2419
|
};
|
|
2420
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2421
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2422
|
-
i.
|
|
2423
|
-
i.
|
|
2420
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2421
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.v9r_1, this.w9r_1, this.x9r_1, completion);
|
|
2422
|
+
i.y9r_1 = $this$dispatchAsync;
|
|
2423
|
+
i.z9r_1 = store;
|
|
2424
2424
|
return i;
|
|
2425
2425
|
};
|
|
2426
2426
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2427
2427
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2428
2428
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
-
return i.
|
|
2429
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2430
2430
|
};
|
|
2431
2431
|
l.$arity = 2;
|
|
2432
2432
|
return l;
|
|
@@ -2434,15 +2434,15 @@
|
|
|
2434
2434
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2435
2435
|
CoroutineImpl.call(this, resultContinuation);
|
|
2436
2436
|
}
|
|
2437
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2438
|
-
var tmp = this.
|
|
2437
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2438
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2439
2439
|
tmp.t8_1 = Unit_instance;
|
|
2440
2440
|
tmp.u8_1 = null;
|
|
2441
2441
|
return tmp.z8();
|
|
2442
2442
|
};
|
|
2443
2443
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2444
2444
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2445
|
-
return this.
|
|
2445
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2446
2446
|
};
|
|
2447
2447
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2448
2448
|
var suspendResult = this.t8_1;
|
|
@@ -2451,7 +2451,7 @@
|
|
|
2451
2451
|
var tmp = this.r8_1;
|
|
2452
2452
|
if (tmp === 0) {
|
|
2453
2453
|
this.s8_1 = 1;
|
|
2454
|
-
this.
|
|
2454
|
+
this.j9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2455
2455
|
return Unit_instance;
|
|
2456
2456
|
} else if (tmp === 1) {
|
|
2457
2457
|
throw this.u8_1;
|
|
@@ -2462,33 +2462,33 @@
|
|
|
2462
2462
|
}
|
|
2463
2463
|
while (true);
|
|
2464
2464
|
};
|
|
2465
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2465
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2466
2466
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2467
|
-
i.
|
|
2468
|
-
i.
|
|
2467
|
+
i.i9s_1 = $this$dispatchAsync;
|
|
2468
|
+
i.j9s_1 = store;
|
|
2469
2469
|
return i;
|
|
2470
2470
|
};
|
|
2471
2471
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2472
2472
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2473
2473
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2474
|
-
return i.
|
|
2474
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2475
2475
|
};
|
|
2476
2476
|
l.$arity = 2;
|
|
2477
2477
|
return l;
|
|
2478
2478
|
}
|
|
2479
2479
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2480
|
-
this.
|
|
2480
|
+
this.s9s_1 = $spectators;
|
|
2481
2481
|
CoroutineImpl.call(this, resultContinuation);
|
|
2482
2482
|
}
|
|
2483
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2484
|
-
var tmp = this.
|
|
2483
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2484
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2485
2485
|
tmp.t8_1 = Unit_instance;
|
|
2486
2486
|
tmp.u8_1 = null;
|
|
2487
2487
|
return tmp.z8();
|
|
2488
2488
|
};
|
|
2489
2489
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2490
2490
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2491
|
-
return this.
|
|
2491
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2492
2492
|
};
|
|
2493
2493
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2494
2494
|
var suspendResult = this.t8_1;
|
|
@@ -2497,7 +2497,7 @@
|
|
|
2497
2497
|
var tmp = this.r8_1;
|
|
2498
2498
|
if (tmp === 0) {
|
|
2499
2499
|
this.s8_1 = 1;
|
|
2500
|
-
this.
|
|
2500
|
+
this.u9s_1.dispatch(new AddSpectatorsAction(toList(this.s9s_1)));
|
|
2501
2501
|
return Unit_instance;
|
|
2502
2502
|
} else if (tmp === 1) {
|
|
2503
2503
|
throw this.u8_1;
|
|
@@ -2508,33 +2508,33 @@
|
|
|
2508
2508
|
}
|
|
2509
2509
|
while (true);
|
|
2510
2510
|
};
|
|
2511
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2512
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2513
|
-
i.
|
|
2514
|
-
i.
|
|
2511
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2512
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.s9s_1, completion);
|
|
2513
|
+
i.t9s_1 = $this$dispatchAsync;
|
|
2514
|
+
i.u9s_1 = store;
|
|
2515
2515
|
return i;
|
|
2516
2516
|
};
|
|
2517
2517
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2518
2518
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2519
2519
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2520
|
-
return i.
|
|
2520
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2521
2521
|
};
|
|
2522
2522
|
l.$arity = 2;
|
|
2523
2523
|
return l;
|
|
2524
2524
|
}
|
|
2525
2525
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2526
|
-
this.
|
|
2526
|
+
this.d9t_1 = $spectators;
|
|
2527
2527
|
CoroutineImpl.call(this, resultContinuation);
|
|
2528
2528
|
}
|
|
2529
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2530
|
-
var tmp = this.
|
|
2529
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2530
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2531
2531
|
tmp.t8_1 = Unit_instance;
|
|
2532
2532
|
tmp.u8_1 = null;
|
|
2533
2533
|
return tmp.z8();
|
|
2534
2534
|
};
|
|
2535
2535
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2536
2536
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2537
|
-
return this.
|
|
2537
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2538
2538
|
};
|
|
2539
2539
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2540
2540
|
var suspendResult = this.t8_1;
|
|
@@ -2543,7 +2543,7 @@
|
|
|
2543
2543
|
var tmp = this.r8_1;
|
|
2544
2544
|
if (tmp === 0) {
|
|
2545
2545
|
this.s8_1 = 1;
|
|
2546
|
-
this.
|
|
2546
|
+
this.f9t_1.dispatch(new RemoveSpectatorsAction(toList(this.d9t_1)));
|
|
2547
2547
|
return Unit_instance;
|
|
2548
2548
|
} else if (tmp === 1) {
|
|
2549
2549
|
throw this.u8_1;
|
|
@@ -2554,34 +2554,34 @@
|
|
|
2554
2554
|
}
|
|
2555
2555
|
while (true);
|
|
2556
2556
|
};
|
|
2557
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2558
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2559
|
-
i.
|
|
2560
|
-
i.
|
|
2557
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2558
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.d9t_1, completion);
|
|
2559
|
+
i.e9t_1 = $this$dispatchAsync;
|
|
2560
|
+
i.f9t_1 = store;
|
|
2561
2561
|
return i;
|
|
2562
2562
|
};
|
|
2563
2563
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2564
2564
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2565
2565
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2566
|
-
return i.
|
|
2566
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2567
2567
|
};
|
|
2568
2568
|
l.$arity = 2;
|
|
2569
2569
|
return l;
|
|
2570
2570
|
}
|
|
2571
2571
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2572
|
+
this.o9t_1 = $playerId;
|
|
2573
|
+
this.p9t_1 = this$0;
|
|
2574
2574
|
CoroutineImpl.call(this, resultContinuation);
|
|
2575
2575
|
}
|
|
2576
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2577
|
-
var tmp = this.
|
|
2576
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2577
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2578
2578
|
tmp.t8_1 = Unit_instance;
|
|
2579
2579
|
tmp.u8_1 = null;
|
|
2580
2580
|
return tmp.z8();
|
|
2581
2581
|
};
|
|
2582
2582
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2583
2583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2584
|
-
return this.
|
|
2584
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2585
2585
|
};
|
|
2586
2586
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2587
2587
|
var suspendResult = this.t8_1;
|
|
@@ -2590,14 +2590,14 @@
|
|
|
2590
2590
|
var tmp = this.r8_1;
|
|
2591
2591
|
if (tmp === 0) {
|
|
2592
2592
|
this.s8_1 = 1;
|
|
2593
|
-
var table = this.
|
|
2594
|
-
var player = getPlayer(table.players, this.
|
|
2593
|
+
var table = this.r9t_1.state.n6n();
|
|
2594
|
+
var player = getPlayer(table.players, this.o9t_1);
|
|
2595
2595
|
if (player.o6q_1.v68().m67_1.isLive) {
|
|
2596
|
-
this.
|
|
2596
|
+
this.r9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.p9t_1).w8p(player, table));
|
|
2597
2597
|
} else {
|
|
2598
|
-
var tmp_0 = this.
|
|
2598
|
+
var tmp_0 = this.r9t_1.dispatch;
|
|
2599
2599
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2600
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2600
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.o9t_1));
|
|
2601
2601
|
}
|
|
2602
2602
|
return Unit_instance;
|
|
2603
2603
|
} else if (tmp === 1) {
|
|
@@ -2609,34 +2609,34 @@
|
|
|
2609
2609
|
}
|
|
2610
2610
|
while (true);
|
|
2611
2611
|
};
|
|
2612
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2613
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2614
|
-
i.
|
|
2615
|
-
i.
|
|
2612
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2613
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.o9t_1, this.p9t_1, completion);
|
|
2614
|
+
i.q9t_1 = $this$dispatchAsync;
|
|
2615
|
+
i.r9t_1 = store;
|
|
2616
2616
|
return i;
|
|
2617
2617
|
};
|
|
2618
2618
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2619
2619
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2620
2620
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2621
|
-
return i.
|
|
2621
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2622
2622
|
};
|
|
2623
2623
|
l.$arity = 2;
|
|
2624
2624
|
return l;
|
|
2625
2625
|
}
|
|
2626
2626
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2627
|
+
this.a9u_1 = this$0;
|
|
2628
|
+
this.b9u_1 = $newRid;
|
|
2629
2629
|
CoroutineImpl.call(this, resultContinuation);
|
|
2630
2630
|
}
|
|
2631
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2632
|
-
var tmp = this.
|
|
2631
|
+
protoOf(GameServer$roomOnDelete$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2632
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2633
2633
|
tmp.t8_1 = Unit_instance;
|
|
2634
2634
|
tmp.u8_1 = null;
|
|
2635
2635
|
return tmp.z8();
|
|
2636
2636
|
};
|
|
2637
2637
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2638
2638
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2639
|
-
return this.
|
|
2639
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2640
2640
|
};
|
|
2641
2641
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2642
2642
|
var suspendResult = this.t8_1;
|
|
@@ -2645,10 +2645,10 @@
|
|
|
2645
2645
|
var tmp = this.r8_1;
|
|
2646
2646
|
if (tmp === 0) {
|
|
2647
2647
|
this.s8_1 = 1;
|
|
2648
|
-
var it = this.
|
|
2648
|
+
var it = this.a9u_1.s66().n6m_1;
|
|
2649
2649
|
var tmp_0;
|
|
2650
2650
|
if (it == null) {
|
|
2651
|
-
_get_logger__rkp4sl(this.
|
|
2651
|
+
_get_logger__rkp4sl(this.a9u_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2652
2652
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2653
2653
|
} else {
|
|
2654
2654
|
tmp_0 = it;
|
|
@@ -2657,15 +2657,15 @@
|
|
|
2657
2657
|
var gameTransition = terminationState.t8t_1;
|
|
2658
2658
|
var tmp_1;
|
|
2659
2659
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2660
|
-
var tmp0_elvis_lhs = this.
|
|
2660
|
+
var tmp0_elvis_lhs = this.b9u_1;
|
|
2661
2661
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2662
2662
|
} else {
|
|
2663
2663
|
tmp_1 = gameTransition;
|
|
2664
2664
|
}
|
|
2665
2665
|
var transition = tmp_1;
|
|
2666
|
-
var tmp_2 = this.
|
|
2666
|
+
var tmp_2 = this.d9u_1.dispatch;
|
|
2667
2667
|
var tmp0_reason = terminationState.s8t_1;
|
|
2668
|
-
var tmp1_isGameFinished = this.
|
|
2668
|
+
var tmp1_isGameFinished = this.a9u_1.s66().n6n().isGameFinished;
|
|
2669
2669
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2670
2670
|
return Unit_instance;
|
|
2671
2671
|
} else if (tmp === 1) {
|
|
@@ -2677,33 +2677,33 @@
|
|
|
2677
2677
|
}
|
|
2678
2678
|
while (true);
|
|
2679
2679
|
};
|
|
2680
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2681
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2682
|
-
i.
|
|
2683
|
-
i.
|
|
2680
|
+
protoOf(GameServer$roomOnDelete$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2681
|
+
var i = new GameServer$roomOnDelete$slambda(this.a9u_1, this.b9u_1, completion);
|
|
2682
|
+
i.c9u_1 = $this$dispatchAsync;
|
|
2683
|
+
i.d9u_1 = store;
|
|
2684
2684
|
return i;
|
|
2685
2685
|
};
|
|
2686
2686
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2687
2687
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2688
2688
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2689
|
-
return i.
|
|
2689
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2690
2690
|
};
|
|
2691
2691
|
l.$arity = 2;
|
|
2692
2692
|
return l;
|
|
2693
2693
|
}
|
|
2694
2694
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2695
|
-
this.
|
|
2695
|
+
this.m9u_1 = $enabled;
|
|
2696
2696
|
CoroutineImpl.call(this, resultContinuation);
|
|
2697
2697
|
}
|
|
2698
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2699
|
-
var tmp = this.
|
|
2698
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2699
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2700
2700
|
tmp.t8_1 = Unit_instance;
|
|
2701
2701
|
tmp.u8_1 = null;
|
|
2702
2702
|
return tmp.z8();
|
|
2703
2703
|
};
|
|
2704
2704
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2705
2705
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2706
|
-
return this.
|
|
2706
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2707
2707
|
};
|
|
2708
2708
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2709
2709
|
var suspendResult = this.t8_1;
|
|
@@ -2712,7 +2712,7 @@
|
|
|
2712
2712
|
var tmp = this.r8_1;
|
|
2713
2713
|
if (tmp === 0) {
|
|
2714
2714
|
this.s8_1 = 1;
|
|
2715
|
-
this.
|
|
2715
|
+
this.o9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.o9u_1.state).config.copy(VOID, this.m9u_1)));
|
|
2716
2716
|
return Unit_instance;
|
|
2717
2717
|
} else if (tmp === 1) {
|
|
2718
2718
|
throw this.u8_1;
|
|
@@ -2723,35 +2723,35 @@
|
|
|
2723
2723
|
}
|
|
2724
2724
|
while (true);
|
|
2725
2725
|
};
|
|
2726
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2727
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2728
|
-
i.
|
|
2729
|
-
i.
|
|
2726
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2727
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.m9u_1, completion);
|
|
2728
|
+
i.n9u_1 = $this$dispatchAsync;
|
|
2729
|
+
i.o9u_1 = store;
|
|
2730
2730
|
return i;
|
|
2731
2731
|
};
|
|
2732
2732
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2733
2733
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2734
2734
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2735
|
-
return i.
|
|
2735
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2736
2736
|
};
|
|
2737
2737
|
l.$arity = 2;
|
|
2738
2738
|
return l;
|
|
2739
2739
|
}
|
|
2740
2740
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2741
|
-
this.
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2741
|
+
this.x9u_1 = $reason;
|
|
2742
|
+
this.y9u_1 = this$0;
|
|
2743
|
+
this.z9u_1 = $roomId;
|
|
2744
2744
|
CoroutineImpl.call(this, resultContinuation);
|
|
2745
2745
|
}
|
|
2746
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2747
|
-
var tmp = this.
|
|
2746
|
+
protoOf(GameServer$shutdown$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2747
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2748
2748
|
tmp.t8_1 = Unit_instance;
|
|
2749
2749
|
tmp.u8_1 = null;
|
|
2750
2750
|
return tmp.z8();
|
|
2751
2751
|
};
|
|
2752
2752
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2753
2753
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2754
|
-
return this.
|
|
2754
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2755
2755
|
};
|
|
2756
2756
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2757
2757
|
var suspendResult = this.t8_1;
|
|
@@ -2760,11 +2760,11 @@
|
|
|
2760
2760
|
var tmp = this.r8_1;
|
|
2761
2761
|
if (tmp === 0) {
|
|
2762
2762
|
this.s8_1 = 1;
|
|
2763
|
-
var state = this.
|
|
2763
|
+
var state = this.b9v_1.store.state;
|
|
2764
2764
|
if (state.o6n()) {
|
|
2765
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2765
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.x9u_1, get_serverShutdownReasonMapping());
|
|
2766
2766
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2767
|
-
var tmp_0 = this.
|
|
2767
|
+
var tmp_0 = this.b9v_1.dispatch;
|
|
2768
2768
|
var tmp_1 = Companion_instance;
|
|
2769
2769
|
var tmp_2;
|
|
2770
2770
|
switch (shutdownReason.p2_1) {
|
|
@@ -2778,10 +2778,10 @@
|
|
|
2778
2778
|
noWhenBranchMatchedException();
|
|
2779
2779
|
break;
|
|
2780
2780
|
}
|
|
2781
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2781
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.y9u_1.table.isGameFinished, this.y9u_1.table));
|
|
2782
2782
|
} else {
|
|
2783
|
-
_get_logger__rkp4sl(this.
|
|
2784
|
-
var tmp_3 = this.
|
|
2783
|
+
_get_logger__rkp4sl(this.y9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.z9u_1);
|
|
2784
|
+
var tmp_3 = this.b9v_1.dispatch;
|
|
2785
2785
|
var tmp2_safe_receiver = state.n6m_1;
|
|
2786
2786
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t8t_1));
|
|
2787
2787
|
}
|
|
@@ -2795,16 +2795,16 @@
|
|
|
2795
2795
|
}
|
|
2796
2796
|
while (true);
|
|
2797
2797
|
};
|
|
2798
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2799
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2800
|
-
i.
|
|
2801
|
-
i.
|
|
2798
|
+
protoOf(GameServer$shutdown$slambda).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2799
|
+
var i = new GameServer$shutdown$slambda(this.x9u_1, this.y9u_1, this.z9u_1, completion);
|
|
2800
|
+
i.a9v_1 = $this$dispatchAsync;
|
|
2801
|
+
i.b9v_1 = store;
|
|
2802
2802
|
return i;
|
|
2803
2803
|
};
|
|
2804
2804
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2805
2805
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2806
2806
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2807
|
-
return i.
|
|
2807
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2808
2808
|
};
|
|
2809
2809
|
l.$arity = 2;
|
|
2810
2810
|
return l;
|
|
@@ -2835,7 +2835,7 @@
|
|
|
2835
2835
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2836
2836
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2837
2837
|
var tmp_4 = KProperty1;
|
|
2838
|
-
tmp_1.
|
|
2838
|
+
tmp_1.f9l_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2839
2839
|
var tmp_5 = this;
|
|
2840
2840
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2841
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2843,7 +2843,7 @@
|
|
|
2843
2843
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2844
2844
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2845
2845
|
var tmp_8 = KProperty1;
|
|
2846
|
-
tmp_5.
|
|
2846
|
+
tmp_5.g9l_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2847
2847
|
var tmp_9 = this;
|
|
2848
2848
|
// Inline function 'org.kodein.di.instance' call
|
|
2849
2849
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2851,7 +2851,7 @@
|
|
|
2851
2851
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2852
2852
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2853
2853
|
var tmp_12 = KProperty1;
|
|
2854
|
-
tmp_9.
|
|
2854
|
+
tmp_9.h9l_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2855
2855
|
var tmp_13 = this;
|
|
2856
2856
|
// Inline function 'org.kodein.di.instance' call
|
|
2857
2857
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2860
2860
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2861
2861
|
var tmp_16 = KProperty1;
|
|
2862
|
-
tmp_13.
|
|
2862
|
+
tmp_13.i9l_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2863
2863
|
var tmp_17 = this;
|
|
2864
2864
|
// Inline function 'org.kodein.di.instance' call
|
|
2865
2865
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2867,9 +2867,9 @@
|
|
|
2867
2867
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2868
2868
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2869
2869
|
var tmp_20 = KProperty1;
|
|
2870
|
-
tmp_17.
|
|
2870
|
+
tmp_17.j9l_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2871
2871
|
var tmp_21 = this;
|
|
2872
|
-
tmp_21.
|
|
2872
|
+
tmp_21.k9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2873
2873
|
var tmp_22 = this;
|
|
2874
2874
|
// Inline function 'org.kodein.di.instance' call
|
|
2875
2875
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2878
2878
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2879
2879
|
var tmp_25 = KProperty1;
|
|
2880
|
-
tmp_22.
|
|
2880
|
+
tmp_22.l9l_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2881
2881
|
var tmp_26 = this;
|
|
2882
2882
|
// Inline function 'org.kodein.di.instance' call
|
|
2883
2883
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2885,7 +2885,7 @@
|
|
|
2885
2885
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2886
2886
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2887
2887
|
var tmp_29 = KProperty1;
|
|
2888
|
-
tmp_26.
|
|
2888
|
+
tmp_26.m9l_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2889
2889
|
var tmp_30 = this;
|
|
2890
2890
|
// Inline function 'org.kodein.di.instance' call
|
|
2891
2891
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2893,14 +2893,14 @@
|
|
|
2893
2893
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2894
2894
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2895
2895
|
var tmp_33 = KProperty1;
|
|
2896
|
-
tmp_30.
|
|
2896
|
+
tmp_30.n9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2897
2897
|
var tmp_34 = this;
|
|
2898
2898
|
var tmp0_externalMiddlewares = plus(storeContract.g8y(), externalMiddlewares);
|
|
2899
2899
|
var tmp1_externalReducers = plus(storeContract.f8y(), externalReducers);
|
|
2900
|
-
tmp_34.
|
|
2900
|
+
tmp_34.o9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2901
2901
|
}
|
|
2902
2902
|
protoOf(GameServer).b6m = function () {
|
|
2903
|
-
return this.
|
|
2903
|
+
return this.o9l_1;
|
|
2904
2904
|
};
|
|
2905
2905
|
protoOf(GameServer).w53 = function () {
|
|
2906
2906
|
return this.s66().n6n().id;
|
|
@@ -2932,55 +2932,55 @@
|
|
|
2932
2932
|
};
|
|
2933
2933
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2934
2934
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2935
|
-
this.
|
|
2935
|
+
this.o9l_1.l6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2936
2936
|
};
|
|
2937
2937
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2938
2938
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2939
|
-
this.
|
|
2939
|
+
this.o9l_1.l6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2942
2942
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2943
|
-
this.
|
|
2943
|
+
this.o9l_1.l6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2944
2944
|
};
|
|
2945
2945
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2946
2946
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2947
|
-
this.
|
|
2947
|
+
this.o9l_1.l6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2948
2948
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2949
|
+
protoOf(GameServer).c9v = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2950
2950
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2951
|
-
this.
|
|
2951
|
+
this.o9l_1.l6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2952
2952
|
};
|
|
2953
2953
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2954
2954
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2955
|
-
var isCreated = this.
|
|
2956
|
-
this.
|
|
2955
|
+
var isCreated = this.o9l_1.m6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2956
|
+
this.o9l_1.l6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2957
2957
|
};
|
|
2958
2958
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2959
2959
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2960
|
+
this.o9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2961
|
+
this.o9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2962
2962
|
};
|
|
2963
2963
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2964
|
-
this.
|
|
2964
|
+
this.o9l_1.l6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2965
2965
|
};
|
|
2966
2966
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2967
|
-
this.
|
|
2967
|
+
this.o9l_1.l6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2968
2968
|
};
|
|
2969
2969
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2970
2970
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2971
|
-
this.
|
|
2971
|
+
this.o9l_1.l6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2972
2972
|
};
|
|
2973
|
-
protoOf(GameServer).
|
|
2973
|
+
protoOf(GameServer).d9v = function (newRid) {
|
|
2974
2974
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2975
|
-
this.
|
|
2975
|
+
this.o9l_1.l6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2976
2976
|
};
|
|
2977
2977
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2978
2978
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2979
|
-
this.
|
|
2979
|
+
this.o9l_1.l6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2980
2980
|
};
|
|
2981
|
-
protoOf(GameServer).
|
|
2981
|
+
protoOf(GameServer).e9v = function (reason, roomId) {
|
|
2982
2982
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2983
|
-
this.
|
|
2983
|
+
this.o9l_1.l6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2984
2984
|
};
|
|
2985
2985
|
protoOf(GameServer).clear = function () {
|
|
2986
2986
|
return this.h2();
|
|
@@ -3031,10 +3031,10 @@
|
|
|
3031
3031
|
this.fromRound = fromRound;
|
|
3032
3032
|
this.canStartNewGame = canStartNewGame;
|
|
3033
3033
|
}
|
|
3034
|
-
protoOf(ServerConfig).
|
|
3034
|
+
protoOf(ServerConfig).f9v = function () {
|
|
3035
3035
|
return this.fromRound;
|
|
3036
3036
|
};
|
|
3037
|
-
protoOf(ServerConfig).
|
|
3037
|
+
protoOf(ServerConfig).g9v = function () {
|
|
3038
3038
|
return this.canStartNewGame;
|
|
3039
3039
|
};
|
|
3040
3040
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3043,13 +3043,13 @@
|
|
|
3043
3043
|
protoOf(ServerConfig).oe = function () {
|
|
3044
3044
|
return this.canStartNewGame;
|
|
3045
3045
|
};
|
|
3046
|
-
protoOf(ServerConfig).
|
|
3046
|
+
protoOf(ServerConfig).h9v = function (fromRound, canStartNewGame) {
|
|
3047
3047
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3048
3048
|
};
|
|
3049
3049
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3050
3050
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3051
3051
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3052
|
-
return $super === VOID ? this.
|
|
3052
|
+
return $super === VOID ? this.h9v(fromRound, canStartNewGame) : $super.h9v.call(this, fromRound, canStartNewGame);
|
|
3053
3053
|
};
|
|
3054
3054
|
protoOf(ServerConfig).toString = function () {
|
|
3055
3055
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3111,20 +3111,20 @@
|
|
|
3111
3111
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3112
3112
|
tmp0_serialDesc.gz('roomId', false);
|
|
3113
3113
|
tmp0_serialDesc.gz('table', false);
|
|
3114
|
-
this.
|
|
3114
|
+
this.i9v_1 = tmp0_serialDesc;
|
|
3115
3115
|
}
|
|
3116
|
-
protoOf($serializer).
|
|
3117
|
-
var tmp0_desc = this.
|
|
3116
|
+
protoOf($serializer).j9v = function (encoder, value) {
|
|
3117
|
+
var tmp0_desc = this.i9v_1;
|
|
3118
3118
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3119
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3119
|
+
tmp1_output.dt(tmp0_desc, 0, value.k9v_1);
|
|
3120
3120
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3121
3121
|
tmp1_output.pr(tmp0_desc);
|
|
3122
3122
|
};
|
|
3123
3123
|
protoOf($serializer).co = function (encoder, value) {
|
|
3124
|
-
return this.
|
|
3124
|
+
return this.j9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3125
3125
|
};
|
|
3126
3126
|
protoOf($serializer).do = function (decoder) {
|
|
3127
|
-
var tmp0_desc = this.
|
|
3127
|
+
var tmp0_desc = this.i9v_1;
|
|
3128
3128
|
var tmp1_flag = true;
|
|
3129
3129
|
var tmp2_index = 0;
|
|
3130
3130
|
var tmp3_bitMask0 = 0;
|
|
@@ -3159,7 +3159,7 @@
|
|
|
3159
3159
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3160
3160
|
};
|
|
3161
3161
|
protoOf($serializer).bo = function () {
|
|
3162
|
-
return this.
|
|
3162
|
+
return this.i9v_1;
|
|
3163
3163
|
};
|
|
3164
3164
|
protoOf($serializer).vz = function () {
|
|
3165
3165
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3175,9 +3175,9 @@
|
|
|
3175
3175
|
}
|
|
3176
3176
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3177
3177
|
if (!(3 === (3 & seen0))) {
|
|
3178
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3178
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().i9v_1);
|
|
3179
3179
|
}
|
|
3180
|
-
$this.
|
|
3180
|
+
$this.k9v_1 = roomId;
|
|
3181
3181
|
$this.table = table;
|
|
3182
3182
|
return $this;
|
|
3183
3183
|
}
|
|
@@ -3185,17 +3185,17 @@
|
|
|
3185
3185
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3186
3186
|
}
|
|
3187
3187
|
function TableStateUpdateDto(roomId, table) {
|
|
3188
|
-
this.
|
|
3188
|
+
this.k9v_1 = roomId;
|
|
3189
3189
|
this.table = table;
|
|
3190
3190
|
}
|
|
3191
3191
|
protoOf(TableStateUpdateDto).v8w = function () {
|
|
3192
|
-
return this.
|
|
3192
|
+
return this.k9v_1;
|
|
3193
3193
|
};
|
|
3194
3194
|
protoOf(TableStateUpdateDto).n6n = function () {
|
|
3195
3195
|
return this.table;
|
|
3196
3196
|
};
|
|
3197
3197
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3198
|
-
return this.
|
|
3198
|
+
return this.k9v_1;
|
|
3199
3199
|
};
|
|
3200
3200
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3201
3201
|
return this.table;
|
|
@@ -3204,15 +3204,15 @@
|
|
|
3204
3204
|
return new TableStateUpdateDto(roomId, table);
|
|
3205
3205
|
};
|
|
3206
3206
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3207
|
-
roomId = roomId === VOID ? this.
|
|
3207
|
+
roomId = roomId === VOID ? this.k9v_1 : roomId;
|
|
3208
3208
|
table = table === VOID ? this.table : table;
|
|
3209
3209
|
return $super === VOID ? this.c54(roomId, table) : $super.c54.call(this, roomId, table);
|
|
3210
3210
|
};
|
|
3211
3211
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3212
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3212
|
+
return 'TableStateUpdateDto(roomId=' + this.k9v_1 + ', table=' + this.table + ')';
|
|
3213
3213
|
};
|
|
3214
3214
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3215
|
-
var result = getStringHashCode(this.
|
|
3215
|
+
var result = getStringHashCode(this.k9v_1);
|
|
3216
3216
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3217
3217
|
return result;
|
|
3218
3218
|
};
|
|
@@ -3221,7 +3221,7 @@
|
|
|
3221
3221
|
return true;
|
|
3222
3222
|
if (!(other instanceof TableStateUpdateDto))
|
|
3223
3223
|
return false;
|
|
3224
|
-
if (!(this.
|
|
3224
|
+
if (!(this.k9v_1 === other.k9v_1))
|
|
3225
3225
|
return false;
|
|
3226
3226
|
if (!(this.table === other.table))
|
|
3227
3227
|
return false;
|
|
@@ -3241,20 +3241,20 @@
|
|
|
3241
3241
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3242
3242
|
tmp0_serialDesc.gz('roomId', false);
|
|
3243
3243
|
tmp0_serialDesc.gz('actions', false);
|
|
3244
|
-
this.
|
|
3244
|
+
this.l9v_1 = tmp0_serialDesc;
|
|
3245
3245
|
}
|
|
3246
|
-
protoOf($serializer_0).
|
|
3247
|
-
var tmp0_desc = this.
|
|
3246
|
+
protoOf($serializer_0).m9v = function (encoder, value) {
|
|
3247
|
+
var tmp0_desc = this.l9v_1;
|
|
3248
3248
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3249
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3249
|
+
tmp1_output.dt(tmp0_desc, 0, value.n9v_1);
|
|
3250
3250
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3251
3251
|
tmp1_output.pr(tmp0_desc);
|
|
3252
3252
|
};
|
|
3253
3253
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3254
|
-
return this.
|
|
3254
|
+
return this.m9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3255
3255
|
};
|
|
3256
3256
|
protoOf($serializer_0).do = function (decoder) {
|
|
3257
|
-
var tmp0_desc = this.
|
|
3257
|
+
var tmp0_desc = this.l9v_1;
|
|
3258
3258
|
var tmp1_flag = true;
|
|
3259
3259
|
var tmp2_index = 0;
|
|
3260
3260
|
var tmp3_bitMask0 = 0;
|
|
@@ -3289,7 +3289,7 @@
|
|
|
3289
3289
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3290
3290
|
};
|
|
3291
3291
|
protoOf($serializer_0).bo = function () {
|
|
3292
|
-
return this.
|
|
3292
|
+
return this.l9v_1;
|
|
3293
3293
|
};
|
|
3294
3294
|
protoOf($serializer_0).vz = function () {
|
|
3295
3295
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3305,9 +3305,9 @@
|
|
|
3305
3305
|
}
|
|
3306
3306
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3307
3307
|
if (!(3 === (3 & seen0))) {
|
|
3308
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3308
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().l9v_1);
|
|
3309
3309
|
}
|
|
3310
|
-
$this.
|
|
3310
|
+
$this.n9v_1 = roomId;
|
|
3311
3311
|
$this.actions = actions;
|
|
3312
3312
|
return $this;
|
|
3313
3313
|
}
|
|
@@ -3315,17 +3315,17 @@
|
|
|
3315
3315
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3316
3316
|
}
|
|
3317
3317
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3318
|
-
this.
|
|
3318
|
+
this.n9v_1 = roomId;
|
|
3319
3319
|
this.actions = actions;
|
|
3320
3320
|
}
|
|
3321
3321
|
protoOf(ActionsStateUpdateDto).v8w = function () {
|
|
3322
|
-
return this.
|
|
3322
|
+
return this.n9v_1;
|
|
3323
3323
|
};
|
|
3324
3324
|
protoOf(ActionsStateUpdateDto).s8b = function () {
|
|
3325
3325
|
return this.actions;
|
|
3326
3326
|
};
|
|
3327
3327
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3328
|
-
return this.
|
|
3328
|
+
return this.n9v_1;
|
|
3329
3329
|
};
|
|
3330
3330
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3331
3331
|
return this.actions;
|
|
@@ -3334,15 +3334,15 @@
|
|
|
3334
3334
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3335
3335
|
};
|
|
3336
3336
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3337
|
-
roomId = roomId === VOID ? this.
|
|
3337
|
+
roomId = roomId === VOID ? this.n9v_1 : roomId;
|
|
3338
3338
|
actions = actions === VOID ? this.actions : actions;
|
|
3339
3339
|
return $super === VOID ? this.c54(roomId, actions) : $super.c54.call(this, roomId, actions);
|
|
3340
3340
|
};
|
|
3341
3341
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3342
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3342
|
+
return 'ActionsStateUpdateDto(roomId=' + this.n9v_1 + ', actions=' + this.actions + ')';
|
|
3343
3343
|
};
|
|
3344
3344
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3345
|
-
var result = getStringHashCode(this.
|
|
3345
|
+
var result = getStringHashCode(this.n9v_1);
|
|
3346
3346
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3347
3347
|
return result;
|
|
3348
3348
|
};
|
|
@@ -3351,7 +3351,7 @@
|
|
|
3351
3351
|
return true;
|
|
3352
3352
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3353
3353
|
return false;
|
|
3354
|
-
if (!(this.
|
|
3354
|
+
if (!(this.n9v_1 === other.n9v_1))
|
|
3355
3355
|
return false;
|
|
3356
3356
|
if (!(this.actions === other.actions))
|
|
3357
3357
|
return false;
|
|
@@ -3381,42 +3381,42 @@
|
|
|
3381
3381
|
var tmp$ret$0 = mapToDto(item);
|
|
3382
3382
|
destination.j(tmp$ret$0);
|
|
3383
3383
|
}
|
|
3384
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3384
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.o9v_1, encoderDecoderProvider.l8i(destination));
|
|
3385
3385
|
}
|
|
3386
3386
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3387
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3387
|
+
return new TableStateUpdateDto(_this__u8e3s4.p9v_1, encoderDecoderProvider.j8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3388
3388
|
}
|
|
3389
3389
|
function ServerStateUpdate() {
|
|
3390
3390
|
}
|
|
3391
3391
|
function TableStateUpdate(roomId, table) {
|
|
3392
|
-
this.
|
|
3392
|
+
this.p9v_1 = roomId;
|
|
3393
3393
|
this.table = table;
|
|
3394
3394
|
}
|
|
3395
3395
|
protoOf(TableStateUpdate).v8w = function () {
|
|
3396
|
-
return this.
|
|
3396
|
+
return this.p9v_1;
|
|
3397
3397
|
};
|
|
3398
3398
|
protoOf(TableStateUpdate).n6n = function () {
|
|
3399
3399
|
return this.table;
|
|
3400
3400
|
};
|
|
3401
3401
|
protoOf(TableStateUpdate).ne = function () {
|
|
3402
|
-
return this.
|
|
3402
|
+
return this.p9v_1;
|
|
3403
3403
|
};
|
|
3404
3404
|
protoOf(TableStateUpdate).oe = function () {
|
|
3405
3405
|
return this.table;
|
|
3406
3406
|
};
|
|
3407
|
-
protoOf(TableStateUpdate).
|
|
3407
|
+
protoOf(TableStateUpdate).q9v = function (roomId, table) {
|
|
3408
3408
|
return new TableStateUpdate(roomId, table);
|
|
3409
3409
|
};
|
|
3410
3410
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3411
|
-
roomId = roomId === VOID ? this.
|
|
3411
|
+
roomId = roomId === VOID ? this.p9v_1 : roomId;
|
|
3412
3412
|
table = table === VOID ? this.table : table;
|
|
3413
|
-
return $super === VOID ? this.
|
|
3413
|
+
return $super === VOID ? this.q9v(roomId, table) : $super.q9v.call(this, roomId, table);
|
|
3414
3414
|
};
|
|
3415
3415
|
protoOf(TableStateUpdate).toString = function () {
|
|
3416
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3416
|
+
return 'TableStateUpdate(roomId=' + this.p9v_1 + ', table=' + this.table.toString() + ')';
|
|
3417
3417
|
};
|
|
3418
3418
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3419
|
-
var result = getStringHashCode(this.
|
|
3419
|
+
var result = getStringHashCode(this.p9v_1);
|
|
3420
3420
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3421
3421
|
return result;
|
|
3422
3422
|
};
|
|
@@ -3425,41 +3425,41 @@
|
|
|
3425
3425
|
return true;
|
|
3426
3426
|
if (!(other instanceof TableStateUpdate))
|
|
3427
3427
|
return false;
|
|
3428
|
-
if (!(this.
|
|
3428
|
+
if (!(this.p9v_1 === other.p9v_1))
|
|
3429
3429
|
return false;
|
|
3430
3430
|
if (!this.table.equals(other.table))
|
|
3431
3431
|
return false;
|
|
3432
3432
|
return true;
|
|
3433
3433
|
};
|
|
3434
3434
|
function ActionsStateUpdate(roomId, actions) {
|
|
3435
|
-
this.
|
|
3435
|
+
this.o9v_1 = roomId;
|
|
3436
3436
|
this.actions = actions;
|
|
3437
3437
|
}
|
|
3438
3438
|
protoOf(ActionsStateUpdate).v8w = function () {
|
|
3439
|
-
return this.
|
|
3439
|
+
return this.o9v_1;
|
|
3440
3440
|
};
|
|
3441
3441
|
protoOf(ActionsStateUpdate).s8b = function () {
|
|
3442
3442
|
return this.actions;
|
|
3443
3443
|
};
|
|
3444
3444
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3445
|
-
return this.
|
|
3445
|
+
return this.o9v_1;
|
|
3446
3446
|
};
|
|
3447
3447
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3448
3448
|
return this.actions;
|
|
3449
3449
|
};
|
|
3450
|
-
protoOf(ActionsStateUpdate).
|
|
3450
|
+
protoOf(ActionsStateUpdate).r9v = function (roomId, actions) {
|
|
3451
3451
|
return new ActionsStateUpdate(roomId, actions);
|
|
3452
3452
|
};
|
|
3453
3453
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3454
|
-
roomId = roomId === VOID ? this.
|
|
3454
|
+
roomId = roomId === VOID ? this.o9v_1 : roomId;
|
|
3455
3455
|
actions = actions === VOID ? this.actions : actions;
|
|
3456
|
-
return $super === VOID ? this.
|
|
3456
|
+
return $super === VOID ? this.r9v(roomId, actions) : $super.r9v.call(this, roomId, actions);
|
|
3457
3457
|
};
|
|
3458
3458
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3459
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3459
|
+
return 'ActionsStateUpdate(roomId=' + this.o9v_1 + ', actions=' + toString(this.actions) + ')';
|
|
3460
3460
|
};
|
|
3461
3461
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3462
|
-
var result = getStringHashCode(this.
|
|
3462
|
+
var result = getStringHashCode(this.o9v_1);
|
|
3463
3463
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3464
3464
|
return result;
|
|
3465
3465
|
};
|
|
@@ -3468,7 +3468,7 @@
|
|
|
3468
3468
|
return true;
|
|
3469
3469
|
if (!(other instanceof ActionsStateUpdate))
|
|
3470
3470
|
return false;
|
|
3471
|
-
if (!(this.
|
|
3471
|
+
if (!(this.o9v_1 === other.o9v_1))
|
|
3472
3472
|
return false;
|
|
3473
3473
|
if (!equals(this.actions, other.actions))
|
|
3474
3474
|
return false;
|
|
@@ -3702,18 +3702,18 @@
|
|
|
3702
3702
|
function ToClientEventsObserver() {
|
|
3703
3703
|
}
|
|
3704
3704
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3705
|
-
this.
|
|
3706
|
-
this.
|
|
3705
|
+
this.b9w_1 = this$0;
|
|
3706
|
+
this.c9w_1 = $actions;
|
|
3707
3707
|
CoroutineImpl.call(this, resultContinuation);
|
|
3708
3708
|
}
|
|
3709
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3710
|
-
var tmp = this.
|
|
3709
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).f9w = function ($this$flow, $completion) {
|
|
3710
|
+
var tmp = this.g9w($this$flow, $completion);
|
|
3711
3711
|
tmp.t8_1 = Unit_instance;
|
|
3712
3712
|
tmp.u8_1 = null;
|
|
3713
3713
|
return tmp.z8();
|
|
3714
3714
|
};
|
|
3715
3715
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3716
|
-
return this.
|
|
3716
|
+
return this.f9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3717
3717
|
};
|
|
3718
3718
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3719
3719
|
var suspendResult = this.t8_1;
|
|
@@ -3723,19 +3723,19 @@
|
|
|
3723
3723
|
switch (tmp) {
|
|
3724
3724
|
case 0:
|
|
3725
3725
|
this.s8_1 = 4;
|
|
3726
|
-
this.
|
|
3727
|
-
this.
|
|
3726
|
+
this.b9w_1.l9w_1;
|
|
3727
|
+
this.e9w_1 = transformToEmits(this.b9w_1, this.c9w_1).l();
|
|
3728
3728
|
this.r8_1 = 1;
|
|
3729
3729
|
continue $sm;
|
|
3730
3730
|
case 1:
|
|
3731
|
-
if (!this.
|
|
3731
|
+
if (!this.e9w_1.m()) {
|
|
3732
3732
|
this.r8_1 = 3;
|
|
3733
3733
|
continue $sm;
|
|
3734
3734
|
}
|
|
3735
3735
|
|
|
3736
|
-
var element = this.
|
|
3736
|
+
var element = this.e9w_1.n();
|
|
3737
3737
|
this.r8_1 = 2;
|
|
3738
|
-
suspendResult = this.
|
|
3738
|
+
suspendResult = this.d9w_1.l28(element, this);
|
|
3739
3739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3740
3740
|
return suspendResult;
|
|
3741
3741
|
}
|
|
@@ -3745,11 +3745,11 @@
|
|
|
3745
3745
|
this.r8_1 = 1;
|
|
3746
3746
|
continue $sm;
|
|
3747
3747
|
case 3:
|
|
3748
|
-
var tmp0 = this.
|
|
3748
|
+
var tmp0 = this.b9w_1.k9w_1;
|
|
3749
3749
|
l$ret$1: do {
|
|
3750
3750
|
while (true) {
|
|
3751
3751
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3752
|
-
var upd = cur - this.
|
|
3752
|
+
var upd = cur - this.c9w_1.o() | 0;
|
|
3753
3753
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3754
3754
|
break l$ret$1;
|
|
3755
3755
|
}
|
|
@@ -3771,15 +3771,15 @@
|
|
|
3771
3771
|
}
|
|
3772
3772
|
while (true);
|
|
3773
3773
|
};
|
|
3774
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3775
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3776
|
-
i.
|
|
3774
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).g9w = function ($this$flow, completion) {
|
|
3775
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.b9w_1, this.c9w_1, completion);
|
|
3776
|
+
i.d9w_1 = $this$flow;
|
|
3777
3777
|
return i;
|
|
3778
3778
|
};
|
|
3779
3779
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3780
3780
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3781
3781
|
var l = function ($this$flow, $completion) {
|
|
3782
|
-
return i.
|
|
3782
|
+
return i.f9w($this$flow, $completion);
|
|
3783
3783
|
};
|
|
3784
3784
|
l.$arity = 1;
|
|
3785
3785
|
return l;
|
|
@@ -3849,29 +3849,29 @@
|
|
|
3849
3849
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3850
3850
|
}
|
|
3851
3851
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3852
|
-
var tmp = $this.
|
|
3852
|
+
var tmp = $this.j9w_1.z6d();
|
|
3853
3853
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3854
|
-
var this_0 = _this__u8e3s4.
|
|
3854
|
+
var this_0 = _this__u8e3s4.o9w_1;
|
|
3855
3855
|
var tmp_0 = copyToArray(this_0);
|
|
3856
3856
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3857
|
-
var this_1 = _this__u8e3s4.
|
|
3857
|
+
var this_1 = _this__u8e3s4.p9w_1;
|
|
3858
3858
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3859
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3859
|
+
return new ActionDeliveryPayload(_this__u8e3s4.n9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.q9w_1);
|
|
3860
3860
|
}
|
|
3861
3861
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3862
|
-
this.
|
|
3863
|
-
this.
|
|
3864
|
-
this.
|
|
3865
|
-
this.
|
|
3862
|
+
this.n9w_1 = tableId;
|
|
3863
|
+
this.o9w_1 = includePlayers;
|
|
3864
|
+
this.p9w_1 = excludePlayers;
|
|
3865
|
+
this.q9w_1 = deliveryType;
|
|
3866
3866
|
}
|
|
3867
3867
|
protoOf(GroupKey).toString = function () {
|
|
3868
|
-
return 'GroupKey(tableId=' + this.
|
|
3868
|
+
return 'GroupKey(tableId=' + this.n9w_1 + ', includePlayers=' + toString(this.o9w_1) + ', excludePlayers=' + toString(this.p9w_1) + ', deliveryType=' + this.q9w_1.toString() + ')';
|
|
3869
3869
|
};
|
|
3870
3870
|
protoOf(GroupKey).hashCode = function () {
|
|
3871
|
-
var result = getStringHashCode(this.
|
|
3871
|
+
var result = getStringHashCode(this.n9w_1);
|
|
3872
|
+
result = imul(result, 31) + hashCode(this.o9w_1) | 0;
|
|
3872
3873
|
result = imul(result, 31) + hashCode(this.p9w_1) | 0;
|
|
3873
|
-
result = imul(result, 31) +
|
|
3874
|
-
result = imul(result, 31) + this.r9w_1.hashCode() | 0;
|
|
3874
|
+
result = imul(result, 31) + this.q9w_1.hashCode() | 0;
|
|
3875
3875
|
return result;
|
|
3876
3876
|
};
|
|
3877
3877
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3879,35 +3879,35 @@
|
|
|
3879
3879
|
return true;
|
|
3880
3880
|
if (!(other instanceof GroupKey))
|
|
3881
3881
|
return false;
|
|
3882
|
-
if (!(this.
|
|
3882
|
+
if (!(this.n9w_1 === other.n9w_1))
|
|
3883
3883
|
return false;
|
|
3884
|
-
if (!equals(this.
|
|
3884
|
+
if (!equals(this.o9w_1, other.o9w_1))
|
|
3885
3885
|
return false;
|
|
3886
|
-
if (!equals(this.
|
|
3886
|
+
if (!equals(this.p9w_1, other.p9w_1))
|
|
3887
3887
|
return false;
|
|
3888
|
-
if (!this.
|
|
3888
|
+
if (!this.q9w_1.equals(other.q9w_1))
|
|
3889
3889
|
return false;
|
|
3890
3890
|
return true;
|
|
3891
3891
|
};
|
|
3892
3892
|
function Companion_4() {
|
|
3893
|
-
this.
|
|
3893
|
+
this.r9w_1 = 6;
|
|
3894
3894
|
}
|
|
3895
3895
|
var Companion_instance_12;
|
|
3896
3896
|
function Companion_getInstance_5() {
|
|
3897
3897
|
return Companion_instance_12;
|
|
3898
3898
|
}
|
|
3899
3899
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3900
|
-
this.
|
|
3900
|
+
this.a9x_1 = this$0;
|
|
3901
3901
|
CoroutineImpl.call(this, resultContinuation);
|
|
3902
3902
|
}
|
|
3903
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3904
|
-
var tmp = this.
|
|
3903
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).c9x = function (actions, $completion) {
|
|
3904
|
+
var tmp = this.d9x(actions, $completion);
|
|
3905
3905
|
tmp.t8_1 = Unit_instance;
|
|
3906
3906
|
tmp.u8_1 = null;
|
|
3907
3907
|
return tmp.z8();
|
|
3908
3908
|
};
|
|
3909
3909
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3910
|
-
return this.
|
|
3910
|
+
return this.c9x((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3911
3911
|
};
|
|
3912
3912
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3913
3913
|
var suspendResult = this.t8_1;
|
|
@@ -3916,7 +3916,7 @@
|
|
|
3916
3916
|
var tmp = this.r8_1;
|
|
3917
3917
|
if (tmp === 0) {
|
|
3918
3918
|
this.s8_1 = 1;
|
|
3919
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3919
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.a9x_1, this.b9x_1, null));
|
|
3920
3920
|
} else if (tmp === 1) {
|
|
3921
3921
|
throw this.u8_1;
|
|
3922
3922
|
}
|
|
@@ -3926,23 +3926,23 @@
|
|
|
3926
3926
|
}
|
|
3927
3927
|
while (true);
|
|
3928
3928
|
};
|
|
3929
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3930
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3931
|
-
i.
|
|
3929
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).d9x = function (actions, completion) {
|
|
3930
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.a9x_1, completion);
|
|
3931
|
+
i.b9x_1 = actions;
|
|
3932
3932
|
return i;
|
|
3933
3933
|
};
|
|
3934
3934
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3935
3935
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3936
3936
|
var l = function (actions, $completion) {
|
|
3937
|
-
return i.
|
|
3937
|
+
return i.c9x(actions, $completion);
|
|
3938
3938
|
};
|
|
3939
3939
|
l.$arity = 1;
|
|
3940
3940
|
return l;
|
|
3941
3941
|
}
|
|
3942
3942
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3943
3943
|
CoroutineImpl.call(this, resultContinuation);
|
|
3944
|
-
this.
|
|
3945
|
-
this.
|
|
3944
|
+
this.m9x_1 = _this__u8e3s4;
|
|
3945
|
+
this.n9x_1 = fromEvent;
|
|
3946
3946
|
}
|
|
3947
3947
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3948
3948
|
var suspendResult = this.t8_1;
|
|
@@ -3952,8 +3952,8 @@
|
|
|
3952
3952
|
switch (tmp) {
|
|
3953
3953
|
case 0:
|
|
3954
3954
|
this.s8_1 = 2;
|
|
3955
|
-
this.
|
|
3956
|
-
var tmp0 = this.
|
|
3955
|
+
this.m9x_1.l9w_1;
|
|
3956
|
+
var tmp0 = this.m9x_1.k9w_1;
|
|
3957
3957
|
l$ret$1: do {
|
|
3958
3958
|
while (true) {
|
|
3959
3959
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3965,7 +3965,7 @@
|
|
|
3965
3965
|
}
|
|
3966
3966
|
while (false);
|
|
3967
3967
|
this.r8_1 = 1;
|
|
3968
|
-
suspendResult = this.
|
|
3968
|
+
suspendResult = this.m9x_1.m9w_1.l28(this.n9x_1, this);
|
|
3969
3969
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3970
3970
|
return suspendResult;
|
|
3971
3971
|
}
|
|
@@ -3989,7 +3989,7 @@
|
|
|
3989
3989
|
};
|
|
3990
3990
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3991
3991
|
CoroutineImpl.call(this, resultContinuation);
|
|
3992
|
-
this.
|
|
3992
|
+
this.w9x_1 = _this__u8e3s4;
|
|
3993
3993
|
}
|
|
3994
3994
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3995
3995
|
var suspendResult = this.t8_1;
|
|
@@ -3999,12 +3999,12 @@
|
|
|
3999
3999
|
switch (tmp) {
|
|
4000
4000
|
case 0:
|
|
4001
4001
|
this.s8_1 = 5;
|
|
4002
|
-
this.
|
|
4003
|
-
this.
|
|
4002
|
+
this.w9x_1.l9w_1;
|
|
4003
|
+
this.x9x_1 = 0;
|
|
4004
4004
|
this.r8_1 = 1;
|
|
4005
4005
|
continue $sm;
|
|
4006
4006
|
case 1:
|
|
4007
|
-
if (!!(this.
|
|
4007
|
+
if (!!(this.w9x_1.k9w_1.kotlinx$atomicfu$value === 0)) {
|
|
4008
4008
|
this.r8_1 = 4;
|
|
4009
4009
|
continue $sm;
|
|
4010
4010
|
}
|
|
@@ -4017,9 +4017,9 @@
|
|
|
4017
4017
|
|
|
4018
4018
|
continue $sm;
|
|
4019
4019
|
case 2:
|
|
4020
|
-
this.
|
|
4021
|
-
if (this.
|
|
4022
|
-
this.
|
|
4020
|
+
this.x9x_1 = this.x9x_1 + 1 | 0;
|
|
4021
|
+
if (this.x9x_1 > 6) {
|
|
4022
|
+
this.w9x_1.i9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.w9x_1.k9w_1.kotlinx$atomicfu$value);
|
|
4023
4023
|
this.r8_1 = 4;
|
|
4024
4024
|
continue $sm;
|
|
4025
4025
|
} else {
|
|
@@ -4047,183 +4047,183 @@
|
|
|
4047
4047
|
while (true);
|
|
4048
4048
|
};
|
|
4049
4049
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4050
|
-
this.
|
|
4051
|
-
this.
|
|
4052
|
-
this.
|
|
4053
|
-
this.
|
|
4050
|
+
this.h9w_1 = serverReduxConfig;
|
|
4051
|
+
this.i9w_1 = logger;
|
|
4052
|
+
this.j9w_1 = idsProvider;
|
|
4053
|
+
this.k9w_1 = atomic$ref$1(0);
|
|
4054
4054
|
var tmp = this;
|
|
4055
4055
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4056
|
-
tmp.
|
|
4057
|
-
this.
|
|
4056
|
+
tmp.l9w_1 = get_atomicfu$reentrantLock();
|
|
4057
|
+
this.m9w_1 = MutableSharedFlow();
|
|
4058
4058
|
}
|
|
4059
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4059
|
+
protoOf(ToClientEventsObserverImpl).s9v = function (fromEvent, $completion) {
|
|
4060
4060
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4061
4061
|
tmp.t8_1 = Unit_instance;
|
|
4062
4062
|
tmp.u8_1 = null;
|
|
4063
4063
|
return tmp.z8();
|
|
4064
4064
|
};
|
|
4065
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4065
|
+
protoOf(ToClientEventsObserverImpl).r96 = function ($completion) {
|
|
4066
4066
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4067
4067
|
tmp.t8_1 = Unit_instance;
|
|
4068
4068
|
tmp.u8_1 = null;
|
|
4069
4069
|
return tmp.z8();
|
|
4070
4070
|
};
|
|
4071
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4072
|
-
if (!this.
|
|
4073
|
-
return this.
|
|
4071
|
+
protoOf(ToClientEventsObserverImpl).h9m = function () {
|
|
4072
|
+
if (!this.h9w_1.enabledCombinedEvents) {
|
|
4073
|
+
return this.m9w_1;
|
|
4074
4074
|
}
|
|
4075
|
-
var tmp = windowedByInterval(this.
|
|
4075
|
+
var tmp = windowedByInterval(this.m9w_1, fromInt(this.h9w_1.combinedEventsIntervalMillis));
|
|
4076
4076
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4077
4077
|
};
|
|
4078
4078
|
function UpdateServerConfigAction(serverConfig) {
|
|
4079
|
-
this.
|
|
4079
|
+
this.y9x_1 = serverConfig;
|
|
4080
4080
|
}
|
|
4081
4081
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4082
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4082
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.y9x_1.toString() + ')';
|
|
4083
4083
|
};
|
|
4084
4084
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4085
|
-
return this.
|
|
4085
|
+
return this.y9x_1.hashCode();
|
|
4086
4086
|
};
|
|
4087
4087
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4088
4088
|
if (this === other)
|
|
4089
4089
|
return true;
|
|
4090
4090
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4091
4091
|
return false;
|
|
4092
|
-
if (!this.
|
|
4092
|
+
if (!this.y9x_1.equals(other.y9x_1))
|
|
4093
4093
|
return false;
|
|
4094
4094
|
return true;
|
|
4095
4095
|
};
|
|
4096
4096
|
function SpectatorsAction() {
|
|
4097
4097
|
}
|
|
4098
4098
|
function AddSpectatorsAction(spectators) {
|
|
4099
|
-
this.
|
|
4099
|
+
this.z9x_1 = spectators;
|
|
4100
4100
|
}
|
|
4101
4101
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4102
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4102
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.z9x_1) + ')';
|
|
4103
4103
|
};
|
|
4104
4104
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4105
|
-
return hashCode(this.
|
|
4105
|
+
return hashCode(this.z9x_1);
|
|
4106
4106
|
};
|
|
4107
4107
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4108
4108
|
if (this === other)
|
|
4109
4109
|
return true;
|
|
4110
4110
|
if (!(other instanceof AddSpectatorsAction))
|
|
4111
4111
|
return false;
|
|
4112
|
-
if (!equals(this.
|
|
4112
|
+
if (!equals(this.z9x_1, other.z9x_1))
|
|
4113
4113
|
return false;
|
|
4114
4114
|
return true;
|
|
4115
4115
|
};
|
|
4116
4116
|
function RemoveSpectatorsAction(spectators) {
|
|
4117
|
-
this.
|
|
4117
|
+
this.a9y_1 = spectators;
|
|
4118
4118
|
}
|
|
4119
4119
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4120
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4120
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.a9y_1) + ')';
|
|
4121
4121
|
};
|
|
4122
4122
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4123
|
-
return hashCode(this.
|
|
4123
|
+
return hashCode(this.a9y_1);
|
|
4124
4124
|
};
|
|
4125
4125
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4126
4126
|
if (this === other)
|
|
4127
4127
|
return true;
|
|
4128
4128
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4129
4129
|
return false;
|
|
4130
|
-
if (!equals(this.
|
|
4130
|
+
if (!equals(this.a9y_1, other.a9y_1))
|
|
4131
4131
|
return false;
|
|
4132
4132
|
return true;
|
|
4133
4133
|
};
|
|
4134
4134
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4135
|
-
var tmp0 = $this.
|
|
4135
|
+
var tmp0 = $this.g9y_1;
|
|
4136
4136
|
var tmp = KProperty1;
|
|
4137
4137
|
// Inline function 'kotlin.getValue' call
|
|
4138
4138
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4139
4139
|
return tmp0.w();
|
|
4140
4140
|
}
|
|
4141
4141
|
function _get_logger__rkp4sl_0($this) {
|
|
4142
|
-
var tmp0 = $this.
|
|
4142
|
+
var tmp0 = $this.h9y_1;
|
|
4143
4143
|
var tmp = KProperty1;
|
|
4144
4144
|
// Inline function 'kotlin.getValue' call
|
|
4145
4145
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4146
4146
|
return tmp0.w();
|
|
4147
4147
|
}
|
|
4148
4148
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4149
|
-
var tmp0 = $this.
|
|
4149
|
+
var tmp0 = $this.i9y_1;
|
|
4150
4150
|
var tmp = KProperty1;
|
|
4151
4151
|
// Inline function 'kotlin.getValue' call
|
|
4152
4152
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4153
4153
|
return tmp0.w();
|
|
4154
4154
|
}
|
|
4155
4155
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4156
|
-
var tmp0 = $this.
|
|
4156
|
+
var tmp0 = $this.j9y_1;
|
|
4157
4157
|
var tmp = KProperty1;
|
|
4158
4158
|
// Inline function 'kotlin.getValue' call
|
|
4159
4159
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4160
4160
|
return tmp0.w();
|
|
4161
4161
|
}
|
|
4162
4162
|
function _get_serverConfig__rk2g06($this) {
|
|
4163
|
-
var tmp0 = $this.
|
|
4163
|
+
var tmp0 = $this.k9y_1;
|
|
4164
4164
|
var tmp = KProperty1;
|
|
4165
4165
|
// Inline function 'kotlin.getValue' call
|
|
4166
4166
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4167
4167
|
return tmp0.w();
|
|
4168
4168
|
}
|
|
4169
4169
|
function _get_logicConfig__52ww9d($this) {
|
|
4170
|
-
var tmp0 = $this.
|
|
4170
|
+
var tmp0 = $this.l9y_1;
|
|
4171
4171
|
var tmp = KProperty1;
|
|
4172
4172
|
// Inline function 'kotlin.getValue' call
|
|
4173
4173
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4174
4174
|
return tmp0.w();
|
|
4175
4175
|
}
|
|
4176
4176
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4177
|
-
var tmp0 = $this.
|
|
4177
|
+
var tmp0 = $this.m9y_1;
|
|
4178
4178
|
var tmp = KProperty1;
|
|
4179
4179
|
// Inline function 'kotlin.getValue' call
|
|
4180
4180
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4181
4181
|
return tmp0.w();
|
|
4182
4182
|
}
|
|
4183
4183
|
function _get_botConfig__cpaxzc($this) {
|
|
4184
|
-
var tmp0 = $this.
|
|
4184
|
+
var tmp0 = $this.n9y_1;
|
|
4185
4185
|
var tmp = KProperty1;
|
|
4186
4186
|
// Inline function 'kotlin.getValue' call
|
|
4187
4187
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4188
4188
|
return tmp0.w();
|
|
4189
4189
|
}
|
|
4190
4190
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4191
|
-
var tmp0 = $this.
|
|
4191
|
+
var tmp0 = $this.o9y_1;
|
|
4192
4192
|
var tmp = KProperty1;
|
|
4193
4193
|
// Inline function 'kotlin.getValue' call
|
|
4194
4194
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4195
4195
|
return tmp0.w();
|
|
4196
4196
|
}
|
|
4197
4197
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4198
|
-
var tmp0 = $this.
|
|
4198
|
+
var tmp0 = $this.p9y_1;
|
|
4199
4199
|
var tmp = KProperty1;
|
|
4200
4200
|
// Inline function 'kotlin.getValue' call
|
|
4201
4201
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4202
4202
|
return tmp0.w();
|
|
4203
4203
|
}
|
|
4204
4204
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4205
|
-
var tmp0 = $this.
|
|
4205
|
+
var tmp0 = $this.q9y_1;
|
|
4206
4206
|
var tmp = KProperty1;
|
|
4207
4207
|
// Inline function 'kotlin.getValue' call
|
|
4208
4208
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4209
4209
|
return tmp0.w();
|
|
4210
4210
|
}
|
|
4211
4211
|
function _get_dealerConfig__183ci8($this) {
|
|
4212
|
-
var tmp0 = $this.
|
|
4212
|
+
var tmp0 = $this.r9y_1;
|
|
4213
4213
|
var tmp = KProperty1;
|
|
4214
4214
|
// Inline function 'kotlin.getValue' call
|
|
4215
4215
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4216
4216
|
return tmp0.w();
|
|
4217
4217
|
}
|
|
4218
4218
|
function _get_poolProvider__tqti6a($this) {
|
|
4219
|
-
var tmp0 = $this.
|
|
4219
|
+
var tmp0 = $this.s9y_1;
|
|
4220
4220
|
var tmp = KProperty1;
|
|
4221
4221
|
// Inline function 'kotlin.getValue' call
|
|
4222
4222
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4223
4223
|
return tmp0.w();
|
|
4224
4224
|
}
|
|
4225
4225
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4226
|
-
var tmp0 = $this.
|
|
4226
|
+
var tmp0 = $this.t9y_1;
|
|
4227
4227
|
var tmp = KProperty1;
|
|
4228
4228
|
// Inline function 'kotlin.getValue' call
|
|
4229
4229
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4387,11 +4387,11 @@
|
|
|
4387
4387
|
tmp = fileLoggerStoreContract;
|
|
4388
4388
|
}
|
|
4389
4389
|
fileLoggerStoreContract = tmp;
|
|
4390
|
-
this.
|
|
4391
|
-
this.
|
|
4392
|
-
this.
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4390
|
+
this.b9y_1 = validationStoreContract;
|
|
4391
|
+
this.c9y_1 = timersStoreContract;
|
|
4392
|
+
this.d9y_1 = botGameStoreContract;
|
|
4393
|
+
this.e9y_1 = gameMechanicStoreContract;
|
|
4394
|
+
this.f9y_1 = fileLoggerStoreContract;
|
|
4395
4395
|
var tmp_0 = this;
|
|
4396
4396
|
// Inline function 'org.kodein.di.instance' call
|
|
4397
4397
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4399,7 +4399,7 @@
|
|
|
4399
4399
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4400
4400
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4401
4401
|
var tmp_3 = KProperty1;
|
|
4402
|
-
tmp_0.
|
|
4402
|
+
tmp_0.g9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4403
4403
|
var tmp_4 = this;
|
|
4404
4404
|
// Inline function 'org.kodein.di.instance' call
|
|
4405
4405
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4407,7 +4407,7 @@
|
|
|
4407
4407
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4408
4408
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4409
4409
|
var tmp_7 = KProperty1;
|
|
4410
|
-
tmp_4.
|
|
4410
|
+
tmp_4.h9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4411
4411
|
var tmp_8 = this;
|
|
4412
4412
|
// Inline function 'org.kodein.di.instance' call
|
|
4413
4413
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4415,7 +4415,7 @@
|
|
|
4415
4415
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4416
4416
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4417
4417
|
var tmp_11 = KProperty1;
|
|
4418
|
-
tmp_8.
|
|
4418
|
+
tmp_8.i9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4419
4419
|
var tmp_12 = this;
|
|
4420
4420
|
// Inline function 'org.kodein.di.instance' call
|
|
4421
4421
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4423,7 +4423,7 @@
|
|
|
4423
4423
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4424
4424
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4425
4425
|
var tmp_15 = KProperty1;
|
|
4426
|
-
tmp_12.
|
|
4426
|
+
tmp_12.j9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4427
4427
|
var tmp_16 = this;
|
|
4428
4428
|
// Inline function 'org.kodein.di.instance' call
|
|
4429
4429
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4431,7 +4431,7 @@
|
|
|
4431
4431
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4432
4432
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4433
4433
|
var tmp_19 = KProperty1;
|
|
4434
|
-
tmp_16.
|
|
4434
|
+
tmp_16.k9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4435
4435
|
var tmp_20 = this;
|
|
4436
4436
|
// Inline function 'org.kodein.di.instance' call
|
|
4437
4437
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4439,7 +4439,7 @@
|
|
|
4439
4439
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4440
4440
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4441
4441
|
var tmp_23 = KProperty1;
|
|
4442
|
-
tmp_20.
|
|
4442
|
+
tmp_20.l9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4443
4443
|
var tmp_24 = this;
|
|
4444
4444
|
// Inline function 'org.kodein.di.instance' call
|
|
4445
4445
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4447,7 +4447,7 @@
|
|
|
4447
4447
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4448
4448
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4449
4449
|
var tmp_27 = KProperty1;
|
|
4450
|
-
tmp_24.
|
|
4450
|
+
tmp_24.m9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4451
4451
|
var tmp_28 = this;
|
|
4452
4452
|
// Inline function 'org.kodein.di.instance' call
|
|
4453
4453
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4455,7 +4455,7 @@
|
|
|
4455
4455
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4456
4456
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4457
4457
|
var tmp_31 = KProperty1;
|
|
4458
|
-
tmp_28.
|
|
4458
|
+
tmp_28.n9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4459
4459
|
var tmp_32 = this;
|
|
4460
4460
|
// Inline function 'org.kodein.di.instance' call
|
|
4461
4461
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4463,7 +4463,7 @@
|
|
|
4463
4463
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4464
4464
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4465
4465
|
var tmp_35 = KProperty1;
|
|
4466
|
-
tmp_32.
|
|
4466
|
+
tmp_32.o9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4467
4467
|
var tmp_36 = this;
|
|
4468
4468
|
// Inline function 'org.kodein.di.instance' call
|
|
4469
4469
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4471,7 +4471,7 @@
|
|
|
4471
4471
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4472
4472
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4473
4473
|
var tmp_39 = KProperty1;
|
|
4474
|
-
tmp_36.
|
|
4474
|
+
tmp_36.p9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4475
4475
|
var tmp_40 = this;
|
|
4476
4476
|
// Inline function 'org.kodein.di.instance' call
|
|
4477
4477
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4479,7 +4479,7 @@
|
|
|
4479
4479
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4480
4480
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4481
4481
|
var tmp_43 = KProperty1;
|
|
4482
|
-
tmp_40.
|
|
4482
|
+
tmp_40.q9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4483
4483
|
var tmp_44 = this;
|
|
4484
4484
|
// Inline function 'org.kodein.di.instance' call
|
|
4485
4485
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4487,7 +4487,7 @@
|
|
|
4487
4487
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4488
4488
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4489
4489
|
var tmp_47 = KProperty1;
|
|
4490
|
-
tmp_44.
|
|
4490
|
+
tmp_44.r9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4491
4491
|
var tmp_48 = this;
|
|
4492
4492
|
// Inline function 'org.kodein.di.instance' call
|
|
4493
4493
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4495,7 +4495,7 @@
|
|
|
4495
4495
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4496
4496
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4497
4497
|
var tmp_51 = KProperty1;
|
|
4498
|
-
tmp_48.
|
|
4498
|
+
tmp_48.s9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4499
4499
|
var tmp_52 = this;
|
|
4500
4500
|
// Inline function 'org.kodein.di.instance' call
|
|
4501
4501
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4503,13 +4503,13 @@
|
|
|
4503
4503
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4504
4504
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4505
4505
|
var tmp_55 = KProperty1;
|
|
4506
|
-
tmp_52.
|
|
4506
|
+
tmp_52.t9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4507
4507
|
}
|
|
4508
4508
|
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4509
|
-
return plus(plus(plus(plus(plus(this.
|
|
4509
|
+
return plus(plus(plus(plus(plus(this.b9y_1.f8y(), this.e9y_1.f8y()), this.c9y_1.f8y()), this.d9y_1.f8y()), this.f9y_1.f8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4510
4510
|
};
|
|
4511
4511
|
protoOf(ServerGameStoreContract).g8y = function () {
|
|
4512
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4512
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.b9y_1.g8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.e9y_1.g8y()), this.c9y_1.g8y()), this.d9y_1.g8y()), this.f9y_1.g8y()), 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))).m90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4513
4513
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4514
4514
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4515
4515
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4560,7 +4560,7 @@
|
|
|
4560
4560
|
return this.m6h(store, next, action);
|
|
4561
4561
|
};
|
|
4562
4562
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4563
|
-
this.
|
|
4563
|
+
this.w9y_1 = this$0;
|
|
4564
4564
|
}
|
|
4565
4565
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4566
4566
|
return action instanceof MechanicAction;
|
|
@@ -4571,7 +4571,7 @@
|
|
|
4571
4571
|
// Inline function 'kotlin.with' call
|
|
4572
4572
|
var tmp;
|
|
4573
4573
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4574
|
-
var tmp0 = this.
|
|
4574
|
+
var tmp0 = this.w9y_1;
|
|
4575
4575
|
var tmp2 = action_0.q8u_1;
|
|
4576
4576
|
var tmp4 = action_0.s8u_1;
|
|
4577
4577
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4611,7 +4611,7 @@
|
|
|
4611
4611
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4612
4612
|
while (_iterator__ex2g4s_2.m()) {
|
|
4613
4613
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4614
|
-
var tmp0_aid = tmp0.
|
|
4614
|
+
var tmp0_aid = tmp0.v9y_1.z6d();
|
|
4615
4615
|
// Inline function 'kotlin.collections.map' call
|
|
4616
4616
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4617
4617
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4633,15 +4633,15 @@
|
|
|
4633
4633
|
tmp = destination_2;
|
|
4634
4634
|
} else {
|
|
4635
4635
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4636
|
-
var tmp0_0 = this.
|
|
4636
|
+
var tmp0_0 = this.w9y_1;
|
|
4637
4637
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4638
4638
|
var table = state.n6n();
|
|
4639
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4639
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.v9y_1.z6d(), table.id, null);
|
|
4640
4640
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4641
4641
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4642
4642
|
} else {
|
|
4643
4643
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4644
|
-
var tmp0_1 = this.
|
|
4644
|
+
var tmp0_1 = this.w9y_1;
|
|
4645
4645
|
var tmp2_0 = action_0.w8u_1.id;
|
|
4646
4646
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4647
4647
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4681,7 +4681,7 @@
|
|
|
4681
4681
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4682
4682
|
while (_iterator__ex2g4s_7.m()) {
|
|
4683
4683
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4684
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4684
|
+
var tmp0_aid_0 = tmp0_1.v9y_1.z6d();
|
|
4685
4685
|
// Inline function 'kotlin.collections.map' call
|
|
4686
4686
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4687
4687
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4703,39 +4703,39 @@
|
|
|
4703
4703
|
tmp = destination_7;
|
|
4704
4704
|
} else {
|
|
4705
4705
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4706
|
-
var tmp0_2 = this.
|
|
4706
|
+
var tmp0_2 = this.w9y_1;
|
|
4707
4707
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4708
4708
|
var table_0 = state.n6n();
|
|
4709
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4709
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.v9y_1.z6d(), table_0.id, null);
|
|
4710
4710
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4711
4711
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4712
4712
|
} else {
|
|
4713
4713
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4714
|
-
var tmp0_3 = this.
|
|
4714
|
+
var tmp0_3 = this.w9y_1;
|
|
4715
4715
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4716
4716
|
var table_1 = state.n6n();
|
|
4717
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4717
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.v9y_1.z6d(), table_1.id, null);
|
|
4718
4718
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4719
4719
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4720
4720
|
} else {
|
|
4721
4721
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4722
|
-
var tmp0_4 = this.
|
|
4722
|
+
var tmp0_4 = this.w9y_1;
|
|
4723
4723
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4724
4724
|
var table_2 = state.n6n();
|
|
4725
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4725
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.v9y_1.z6d(), table_2.id, null);
|
|
4726
4726
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4727
4727
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4728
4728
|
} else {
|
|
4729
4729
|
if (action_0 instanceof ErrorAction) {
|
|
4730
|
-
var tmp0_5 = this.
|
|
4730
|
+
var tmp0_5 = this.w9y_1;
|
|
4731
4731
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4732
4732
|
var table_3 = state.n6n();
|
|
4733
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4733
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.v9y_1.z6d(), table_3.id, null);
|
|
4734
4734
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4735
4735
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4736
4736
|
} else {
|
|
4737
4737
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4738
|
-
var tmp0_6 = this.
|
|
4738
|
+
var tmp0_6 = this.w9y_1;
|
|
4739
4739
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4740
4740
|
var table_4 = state.n6n();
|
|
4741
4741
|
var tmp2_1 = table_4.id;
|
|
@@ -4768,7 +4768,7 @@
|
|
|
4768
4768
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4769
4769
|
while (_iterator__ex2g4s_11.m()) {
|
|
4770
4770
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4771
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4771
|
+
var tmp0_aid_1 = tmp0_6.v9y_1.z6d();
|
|
4772
4772
|
// Inline function 'kotlin.collections.map' call
|
|
4773
4773
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4774
4774
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4790,7 +4790,7 @@
|
|
|
4790
4790
|
tmp = destination_11;
|
|
4791
4791
|
} else {
|
|
4792
4792
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4793
|
-
var tmp0_7 = this.
|
|
4793
|
+
var tmp0_7 = this.w9y_1;
|
|
4794
4794
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4795
4795
|
var table_5 = state.n6n();
|
|
4796
4796
|
var tmp2_2 = table_5.id;
|
|
@@ -4823,7 +4823,7 @@
|
|
|
4823
4823
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4824
4824
|
while (_iterator__ex2g4s_15.m()) {
|
|
4825
4825
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4826
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4826
|
+
var tmp0_aid_2 = tmp0_7.v9y_1.z6d();
|
|
4827
4827
|
// Inline function 'kotlin.collections.map' call
|
|
4828
4828
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4829
4829
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4845,7 +4845,7 @@
|
|
|
4845
4845
|
tmp = destination_15;
|
|
4846
4846
|
} else {
|
|
4847
4847
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4848
|
-
var tmp0_8 = this.
|
|
4848
|
+
var tmp0_8 = this.w9y_1;
|
|
4849
4849
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4850
4850
|
var table_6 = state.n6n();
|
|
4851
4851
|
var tmp2_3 = table_6.id;
|
|
@@ -4878,7 +4878,7 @@
|
|
|
4878
4878
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4879
4879
|
while (_iterator__ex2g4s_19.m()) {
|
|
4880
4880
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4881
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4881
|
+
var tmp0_aid_3 = tmp0_8.v9y_1.z6d();
|
|
4882
4882
|
// Inline function 'kotlin.collections.map' call
|
|
4883
4883
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4884
4884
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4890,7 +4890,7 @@
|
|
|
4890
4890
|
}
|
|
4891
4891
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4892
4892
|
var tmp_0;
|
|
4893
|
-
if (this.
|
|
4893
|
+
if (this.w9y_1.u9y_1.supportBackwardActions && getPlayer(state.n6n().players, sendToPlayer_8.b7b_1).q6q_1.f6u_1) {
|
|
4894
4894
|
tmp_0 = null;
|
|
4895
4895
|
} else {
|
|
4896
4896
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4906,72 +4906,72 @@
|
|
|
4906
4906
|
tmp = destination_19;
|
|
4907
4907
|
} else {
|
|
4908
4908
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4909
|
-
var tmp0_9 = this.
|
|
4909
|
+
var tmp0_9 = this.w9y_1;
|
|
4910
4910
|
var tmp2_4 = state.n6n();
|
|
4911
4911
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4912
|
-
var exceptPlayerId = this.
|
|
4913
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4912
|
+
var exceptPlayerId = this.w9y_1.u9y_1.supportBackwardActions ? action_0.r8v_1 : null;
|
|
4913
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.v9y_1.z6d(), tmp2_4.id, exceptPlayerId);
|
|
4914
4914
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4915
4915
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4916
4916
|
} else {
|
|
4917
4917
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4918
|
-
var tmp0_10 = this.
|
|
4918
|
+
var tmp0_10 = this.w9y_1;
|
|
4919
4919
|
var tmp2_5 = state.n6n();
|
|
4920
4920
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4921
|
-
var exceptPlayerId_0 = this.
|
|
4922
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4921
|
+
var exceptPlayerId_0 = this.w9y_1.u9y_1.supportBackwardActions ? action_0.t8q_1 : null;
|
|
4922
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.v9y_1.z6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4923
4923
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4924
4924
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4925
4925
|
} else {
|
|
4926
4926
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4927
|
-
var tmp0_11 = this.
|
|
4927
|
+
var tmp0_11 = this.w9y_1;
|
|
4928
4928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
4929
|
var table_7 = state.n6n();
|
|
4930
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4930
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.v9y_1.z6d(), table_7.id, null);
|
|
4931
4931
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4932
4932
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4933
4933
|
} else {
|
|
4934
4934
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4935
|
-
var tmp0_12 = this.
|
|
4935
|
+
var tmp0_12 = this.w9y_1;
|
|
4936
4936
|
var tmp2_6 = state.n6n();
|
|
4937
4937
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
|
-
var exceptPlayerId_1 = this.
|
|
4939
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4938
|
+
var exceptPlayerId_1 = this.w9y_1.u9y_1.supportBackwardActions ? action_0.x8v_1 : null;
|
|
4939
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.v9y_1.z6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4940
4940
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4941
4941
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4942
4942
|
} else {
|
|
4943
4943
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4944
|
-
var tmp0_13 = this.
|
|
4944
|
+
var tmp0_13 = this.w9y_1;
|
|
4945
4945
|
var tmp2_7 = state.n6n();
|
|
4946
4946
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4947
|
-
var exceptPlayerId_2 = this.
|
|
4948
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4947
|
+
var exceptPlayerId_2 = this.w9y_1.u9y_1.supportBackwardActions ? action_0.y8q_1 : null;
|
|
4948
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.v9y_1.z6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4949
4949
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4950
4950
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4951
4951
|
} else {
|
|
4952
4952
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4953
|
-
var tmp0_14 = this.
|
|
4953
|
+
var tmp0_14 = this.w9y_1;
|
|
4954
4954
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4955
4955
|
var table_8 = state.n6n();
|
|
4956
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4956
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.v9y_1.z6d(), table_8.id, null);
|
|
4957
4957
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4958
4958
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4959
4959
|
} else {
|
|
4960
4960
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4961
|
-
var tmp0_15 = this.
|
|
4961
|
+
var tmp0_15 = this.w9y_1;
|
|
4962
4962
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4963
4963
|
var table_9 = state.n6n();
|
|
4964
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4964
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.v9y_1.z6d(), table_9.id, null);
|
|
4965
4965
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4966
4966
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4967
4967
|
} else {
|
|
4968
4968
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4969
4969
|
var message = action_0.b8w_1;
|
|
4970
|
-
var tmp0_16 = this.
|
|
4970
|
+
var tmp0_16 = this.w9y_1;
|
|
4971
4971
|
var tmp2_8 = state.n6n();
|
|
4972
4972
|
var tmp_1;
|
|
4973
4973
|
var tmp_2;
|
|
4974
|
-
if (this.
|
|
4974
|
+
if (this.w9y_1.u9y_1.supportBackwardActions) {
|
|
4975
4975
|
tmp_2 = isInterface(message, UserMessage);
|
|
4976
4976
|
} else {
|
|
4977
4977
|
tmp_2 = false;
|
|
@@ -4983,16 +4983,16 @@
|
|
|
4983
4983
|
}
|
|
4984
4984
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4985
4985
|
var exceptPlayerId_3 = tmp_1;
|
|
4986
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4986
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.v9y_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4987
4987
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4988
4988
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4989
4989
|
} else {
|
|
4990
4990
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4991
|
-
var tmp0_17 = this.
|
|
4991
|
+
var tmp0_17 = this.w9y_1;
|
|
4992
4992
|
var tmp2_9 = state.n6n();
|
|
4993
4993
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4994
4994
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4995
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4995
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.v9y_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4996
4996
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4997
4997
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4998
4998
|
} else {
|
|
@@ -5029,8 +5029,8 @@
|
|
|
5029
5029
|
return this.m6h(store, next, action);
|
|
5030
5030
|
};
|
|
5031
5031
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5032
|
-
this.
|
|
5033
|
-
this.
|
|
5032
|
+
this.u9y_1 = logicConfig;
|
|
5033
|
+
this.v9y_1 = idsProvider;
|
|
5034
5034
|
}
|
|
5035
5035
|
protoOf(ServerMapMechanicToClientActionMiddleware).m90 = function () {
|
|
5036
5036
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -5041,8 +5041,8 @@
|
|
|
5041
5041
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5042
5042
|
}
|
|
5043
5043
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5044
|
-
this.
|
|
5045
|
-
this.
|
|
5044
|
+
this.f9z_1 = $provider;
|
|
5045
|
+
this.g9z_1 = $action;
|
|
5046
5046
|
CoroutineImpl.call(this, resultContinuation);
|
|
5047
5047
|
}
|
|
5048
5048
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -5063,7 +5063,7 @@
|
|
|
5063
5063
|
case 0:
|
|
5064
5064
|
this.s8_1 = 2;
|
|
5065
5065
|
this.r8_1 = 1;
|
|
5066
|
-
suspendResult = this.
|
|
5066
|
+
suspendResult = this.f9z_1.s9v(this.g9z_1, this);
|
|
5067
5067
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5068
5068
|
return suspendResult;
|
|
5069
5069
|
}
|
|
@@ -5086,8 +5086,8 @@
|
|
|
5086
5086
|
while (true);
|
|
5087
5087
|
};
|
|
5088
5088
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5089
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5090
|
-
i.
|
|
5089
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.f9z_1, this.g9z_1, completion);
|
|
5090
|
+
i.h9z_1 = $this$launchDefault;
|
|
5091
5091
|
return i;
|
|
5092
5092
|
};
|
|
5093
5093
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5099,15 +5099,15 @@
|
|
|
5099
5099
|
return l;
|
|
5100
5100
|
}
|
|
5101
5101
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5102
|
-
this.
|
|
5103
|
-
this.
|
|
5102
|
+
this.i9z_1 = $asyncProvider;
|
|
5103
|
+
this.j9z_1 = $provider;
|
|
5104
5104
|
}
|
|
5105
5105
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5106
5106
|
return action instanceof ToClientAction;
|
|
5107
5107
|
};
|
|
5108
5108
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5109
5109
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5110
|
-
this.
|
|
5110
|
+
this.i9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.j9z_1, action_0, null));
|
|
5111
5111
|
next(action_0);
|
|
5112
5112
|
};
|
|
5113
5113
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
@@ -5122,12 +5122,12 @@
|
|
|
5122
5122
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5123
5123
|
return action instanceof UpdateServerConfigAction;
|
|
5124
5124
|
};
|
|
5125
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5125
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
|
|
5126
5126
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5127
|
-
return state.r8t(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
5127
|
+
return state.r8t(VOID, get_serverStatePayload_0(state).copy(action_0.y9x_1));
|
|
5128
5128
|
};
|
|
5129
5129
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5130
|
-
return this.
|
|
5130
|
+
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5131
5131
|
};
|
|
5132
5132
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5133
5133
|
return function (it) {
|
|
@@ -5149,12 +5149,12 @@
|
|
|
5149
5149
|
}
|
|
5150
5150
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5151
5151
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5152
|
-
this.
|
|
5152
|
+
this.m9z_1 = logger;
|
|
5153
5153
|
}
|
|
5154
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5154
|
+
protoOf(ServerMechanicLifecycleReducer).u99 = function (state, action) {
|
|
5155
5155
|
var serverState = get_serverStatePayloadOrNull(state.m6m_1);
|
|
5156
5156
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5157
|
-
var tmp0_$this = this.
|
|
5157
|
+
var tmp0_$this = this.v99_1;
|
|
5158
5158
|
var tmp1_tableId = action.q8u_1;
|
|
5159
5159
|
var tmp2_gameId = action.q8u_1;
|
|
5160
5160
|
var tmp3_version = action.r8u_1;
|
|
@@ -5162,10 +5162,10 @@
|
|
|
5162
5162
|
var tmp5_users = action.t8u_1;
|
|
5163
5163
|
var tmp6_spectators = action.spectators;
|
|
5164
5164
|
var tmp7_gameCreatorPlayerId = action.s8u_1;
|
|
5165
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5165
|
+
var tmp9_tableOrNull = tmp0_$this.b9b(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5166
5166
|
var tmp;
|
|
5167
5167
|
if (serverState == null) {
|
|
5168
|
-
this.
|
|
5168
|
+
this.m9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5169
5169
|
tmp = Companion_instance_13.initial();
|
|
5170
5170
|
} else {
|
|
5171
5171
|
tmp = serverState;
|
|
@@ -5173,7 +5173,7 @@
|
|
|
5173
5173
|
var tmp10_payload = tmp;
|
|
5174
5174
|
return state.r8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5175
5175
|
};
|
|
5176
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5176
|
+
protoOf(ServerMechanicLifecycleReducer).s99 = function (state, action) {
|
|
5177
5177
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5178
5178
|
var tmp2_tableOrNull = action.w8u_1;
|
|
5179
5179
|
var tmp = Companion_instance_13;
|
|
@@ -5183,10 +5183,10 @@
|
|
|
5183
5183
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5184
5184
|
return state.r8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5185
5185
|
};
|
|
5186
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5187
|
-
this.
|
|
5186
|
+
protoOf(ServerMechanicLifecycleReducer).t99 = function (state, action) {
|
|
5187
|
+
this.w99_1.l58(action.previousGameId);
|
|
5188
5188
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5189
|
-
var tmp1_tableOrNull = this.
|
|
5189
|
+
var tmp1_tableOrNull = this.v99_1.c9b(state.n6n(), action.gameId);
|
|
5190
5190
|
return state.r8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5191
5191
|
};
|
|
5192
5192
|
function spectatorsReducer(logger) {
|
|
@@ -5194,18 +5194,18 @@
|
|
|
5194
5194
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5195
5195
|
}
|
|
5196
5196
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5197
|
-
this.
|
|
5197
|
+
this.n9z_1 = $logger;
|
|
5198
5198
|
}
|
|
5199
5199
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5200
5200
|
return isInterface(action, SpectatorsAction);
|
|
5201
5201
|
};
|
|
5202
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5202
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
|
|
5203
5203
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5204
5204
|
var table = state.n6n();
|
|
5205
5205
|
var tmp;
|
|
5206
5206
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5207
5207
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5208
|
-
var tmp0 = action_0.
|
|
5208
|
+
var tmp0 = action_0.z9x_1;
|
|
5209
5209
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5210
5210
|
var destination = ArrayList_init_$Create$_0();
|
|
5211
5211
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5224,9 +5224,9 @@
|
|
|
5224
5224
|
var tmp_0;
|
|
5225
5225
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5226
5226
|
if (!sameSpectators.r()) {
|
|
5227
|
-
this.
|
|
5227
|
+
this.n9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5228
5228
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5229
|
-
var tmp0_0 = action_0.
|
|
5229
|
+
var tmp0_0 = action_0.z9x_1;
|
|
5230
5230
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5231
5231
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5232
5232
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5261,7 +5261,7 @@
|
|
|
5261
5261
|
}
|
|
5262
5262
|
tmp_0 = destination_0;
|
|
5263
5263
|
} else {
|
|
5264
|
-
tmp_0 = action_0.
|
|
5264
|
+
tmp_0 = action_0.z9x_1;
|
|
5265
5265
|
}
|
|
5266
5266
|
// Inline function 'kotlin.collections.map' call
|
|
5267
5267
|
var this_0 = tmp_0;
|
|
@@ -5278,7 +5278,7 @@
|
|
|
5278
5278
|
} else {
|
|
5279
5279
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5280
5280
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5281
|
-
var tmp0_1 = action_0.
|
|
5281
|
+
var tmp0_1 = action_0.a9y_1;
|
|
5282
5282
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5283
5283
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5284
5284
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5297,9 +5297,9 @@
|
|
|
5297
5297
|
var tmp_2;
|
|
5298
5298
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5299
5299
|
if (!sameSpectators_0.r()) {
|
|
5300
|
-
this.
|
|
5300
|
+
this.n9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5301
5301
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5302
|
-
var tmp0_2 = action_0.
|
|
5302
|
+
var tmp0_2 = action_0.a9y_1;
|
|
5303
5303
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5304
5304
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5305
5305
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5334,7 +5334,7 @@
|
|
|
5334
5334
|
}
|
|
5335
5335
|
tmp_2 = destination_3;
|
|
5336
5336
|
} else {
|
|
5337
|
-
tmp_2 = action_0.
|
|
5337
|
+
tmp_2 = action_0.a9y_1;
|
|
5338
5338
|
}
|
|
5339
5339
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5340
5340
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5379,16 +5379,16 @@
|
|
|
5379
5379
|
return tmp;
|
|
5380
5380
|
};
|
|
5381
5381
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5382
|
-
return this.
|
|
5382
|
+
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5383
5383
|
};
|
|
5384
5384
|
function Companion_5() {
|
|
5385
5385
|
}
|
|
5386
|
-
protoOf(Companion_5).
|
|
5386
|
+
protoOf(Companion_5).o9z = function (config) {
|
|
5387
5387
|
return new ServerStatePayload(config);
|
|
5388
5388
|
};
|
|
5389
5389
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5390
5390
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5391
|
-
return $super === VOID ? this.
|
|
5391
|
+
return $super === VOID ? this.o9z(config) : $super.o9z.call(this, config);
|
|
5392
5392
|
};
|
|
5393
5393
|
var Companion_instance_13;
|
|
5394
5394
|
function Companion_getInstance_6() {
|
|
@@ -5403,12 +5403,12 @@
|
|
|
5403
5403
|
protoOf(ServerStatePayload).ne = function () {
|
|
5404
5404
|
return this.config;
|
|
5405
5405
|
};
|
|
5406
|
-
protoOf(ServerStatePayload).
|
|
5406
|
+
protoOf(ServerStatePayload).p9z = function (config) {
|
|
5407
5407
|
return new ServerStatePayload(config);
|
|
5408
5408
|
};
|
|
5409
5409
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5410
5410
|
config = config === VOID ? this.config : config;
|
|
5411
|
-
return $super === VOID ? this.
|
|
5411
|
+
return $super === VOID ? this.p9z(config) : $super.p9z.call(this, config);
|
|
5412
5412
|
};
|
|
5413
5413
|
protoOf(ServerStatePayload).toString = function () {
|
|
5414
5414
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5452,7 +5452,7 @@
|
|
|
5452
5452
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5453
5453
|
}
|
|
5454
5454
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5455
|
-
var gameId = Companion_instance_3.
|
|
5455
|
+
var gameId = Companion_instance_3.c9d(payload);
|
|
5456
5456
|
var tmp;
|
|
5457
5457
|
if (!(gameId == null)) {
|
|
5458
5458
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5469,19 +5469,38 @@
|
|
|
5469
5469
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5470
5470
|
}
|
|
5471
5471
|
function _get_logger__rkp4sl_1($this) {
|
|
5472
|
-
var tmp0 = $this.
|
|
5472
|
+
var tmp0 = $this.z9z_1;
|
|
5473
5473
|
var tmp = KProperty1;
|
|
5474
5474
|
// Inline function 'kotlin.getValue' call
|
|
5475
5475
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5476
5476
|
return tmp0.w();
|
|
5477
5477
|
}
|
|
5478
5478
|
function _get_di__ndbzja($this) {
|
|
5479
|
-
var tmp0 = $this.
|
|
5479
|
+
var tmp0 = $this.aa0_1;
|
|
5480
5480
|
var tmp = KProperty1;
|
|
5481
5481
|
// Inline function 'kotlin.getValue' call
|
|
5482
5482
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
5483
5483
|
return tmp0.w();
|
|
5484
5484
|
}
|
|
5485
|
+
function createFileLoggerOutput($this, coreConfig, gameServer) {
|
|
5486
|
+
var tmp;
|
|
5487
|
+
if (coreConfig.fileLogsEnabled) {
|
|
5488
|
+
tmp = new FileLoggerOutputImpl(GameServerEngineControllerImpl$createFileLoggerOutput$lambda(gameServer));
|
|
5489
|
+
} else {
|
|
5490
|
+
tmp = null;
|
|
5491
|
+
}
|
|
5492
|
+
return tmp;
|
|
5493
|
+
}
|
|
5494
|
+
function createCallbackOutput($this, gameServer) {
|
|
5495
|
+
var tmp;
|
|
5496
|
+
if (!($this.x9z_1 == null)) {
|
|
5497
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.x9z_1);
|
|
5498
|
+
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5499
|
+
} else {
|
|
5500
|
+
tmp = null;
|
|
5501
|
+
}
|
|
5502
|
+
return tmp;
|
|
5503
|
+
}
|
|
5485
5504
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
5486
5505
|
var tmp = Companion_instance_4;
|
|
5487
5506
|
return tmp.i5z(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
|
|
@@ -5489,11 +5508,11 @@
|
|
|
5489
5508
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5490
5509
|
return function () {
|
|
5491
5510
|
var tmp;
|
|
5492
|
-
if (this$0.
|
|
5511
|
+
if (this$0.x9z_1 == null) {
|
|
5493
5512
|
tmp = null;
|
|
5494
5513
|
} else {
|
|
5495
5514
|
// Inline function 'kotlin.let' call
|
|
5496
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5515
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.x9z_1)]));
|
|
5497
5516
|
}
|
|
5498
5517
|
var tmp1_elvis_lhs = tmp;
|
|
5499
5518
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5526,7 +5545,7 @@
|
|
|
5526
5545
|
tmp_0.x62(tmp$ret$3);
|
|
5527
5546
|
$this$DI.b5z(jsonModule());
|
|
5528
5547
|
$this$DI.b5z(serverHelpersModule());
|
|
5529
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5548
|
+
$this$DI.b5z(randomOrgModule(this$0.y9z_1));
|
|
5530
5549
|
return Unit_instance;
|
|
5531
5550
|
};
|
|
5532
5551
|
}
|
|
@@ -5602,86 +5621,104 @@
|
|
|
5602
5621
|
};
|
|
5603
5622
|
}
|
|
5604
5623
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5605
|
-
this.
|
|
5624
|
+
this.ha0_1 = $reducer;
|
|
5606
5625
|
}
|
|
5607
5626
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5608
5627
|
return isInterface(action, Action);
|
|
5609
5628
|
};
|
|
5610
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5611
|
-
return this.
|
|
5629
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).i98 = function (state, action) {
|
|
5630
|
+
return this.ha0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5612
5631
|
};
|
|
5613
5632
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5614
|
-
return this.
|
|
5633
|
+
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5615
5634
|
};
|
|
5616
|
-
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($
|
|
5635
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5636
|
+
return function () {
|
|
5637
|
+
return $gameServer._v;
|
|
5638
|
+
};
|
|
5639
|
+
}
|
|
5640
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0($it) {
|
|
5617
5641
|
return function ($this$singleton) {
|
|
5618
|
-
return $
|
|
5642
|
+
return $it;
|
|
5643
|
+
};
|
|
5644
|
+
}
|
|
5645
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_1($gameServer) {
|
|
5646
|
+
return function () {
|
|
5647
|
+
return $gameServer._v;
|
|
5619
5648
|
};
|
|
5620
5649
|
}
|
|
5621
|
-
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$
|
|
5650
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_2($it) {
|
|
5622
5651
|
return function ($this$singleton) {
|
|
5623
|
-
return $
|
|
5652
|
+
return $it;
|
|
5624
5653
|
};
|
|
5625
5654
|
}
|
|
5626
|
-
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda($
|
|
5655
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(this$0, $coreConfig, $combinedLogger, $gameServer) {
|
|
5627
5656
|
return function ($this$Module) {
|
|
5628
|
-
var
|
|
5629
|
-
if (
|
|
5657
|
+
var tmp0_safe_receiver = createFileLoggerOutput(this$0, $coreConfig, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer));
|
|
5658
|
+
if (tmp0_safe_receiver == null)
|
|
5659
|
+
null;
|
|
5660
|
+
else {
|
|
5661
|
+
// Inline function 'kotlin.also' call
|
|
5662
|
+
$combinedLogger.w1k(tmp0_safe_receiver);
|
|
5630
5663
|
// Inline function 'org.kodein.di.bind' call
|
|
5631
5664
|
// Inline function 'org.kodein.type.generic' call
|
|
5632
|
-
var
|
|
5633
|
-
var tmp$ret$0 = isInterface(
|
|
5634
|
-
var
|
|
5665
|
+
var tmp = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
5666
|
+
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
5667
|
+
var tmp_0 = $this$Module.z5y(tmp$ret$0, null, null);
|
|
5635
5668
|
// Inline function 'org.kodein.di.singleton' call
|
|
5636
|
-
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$
|
|
5637
|
-
var
|
|
5638
|
-
var
|
|
5639
|
-
var
|
|
5669
|
+
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0(tmp0_safe_receiver);
|
|
5670
|
+
var tmp_1 = $this$Module.e5z();
|
|
5671
|
+
var tmp_2 = $this$Module.c5z();
|
|
5672
|
+
var tmp_3 = $this$Module.d5z();
|
|
5640
5673
|
// Inline function 'org.kodein.type.generic' call
|
|
5641
|
-
var
|
|
5642
|
-
var tmp$ret$2 = isInterface(
|
|
5643
|
-
var tmp$ret$3 = new Singleton(tmp_2, tmp_3,
|
|
5644
|
-
|
|
5645
|
-
tmp = Unit_instance;
|
|
5674
|
+
var tmp_4 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
5675
|
+
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5676
|
+
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
5677
|
+
tmp_0.x62(tmp$ret$3);
|
|
5646
5678
|
}
|
|
5647
|
-
var
|
|
5648
|
-
if (
|
|
5679
|
+
var tmp1_safe_receiver = createCallbackOutput(this$0, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_1($gameServer));
|
|
5680
|
+
if (tmp1_safe_receiver == null)
|
|
5681
|
+
null;
|
|
5682
|
+
else {
|
|
5683
|
+
// Inline function 'kotlin.also' call
|
|
5684
|
+
$combinedLogger.w1k(tmp1_safe_receiver);
|
|
5649
5685
|
// Inline function 'org.kodein.di.bind' call
|
|
5650
5686
|
// Inline function 'org.kodein.type.generic' call
|
|
5651
|
-
var
|
|
5652
|
-
var tmp$ret$
|
|
5653
|
-
var
|
|
5687
|
+
var tmp_5 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
5688
|
+
var tmp$ret$6 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5689
|
+
var tmp_6 = $this$Module.z5y(tmp$ret$6, null, null);
|
|
5654
5690
|
// Inline function 'org.kodein.di.singleton' call
|
|
5655
|
-
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$
|
|
5656
|
-
var
|
|
5657
|
-
var
|
|
5658
|
-
var
|
|
5691
|
+
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_2(tmp1_safe_receiver);
|
|
5692
|
+
var tmp_7 = $this$Module.e5z();
|
|
5693
|
+
var tmp_8 = $this$Module.c5z();
|
|
5694
|
+
var tmp_9 = $this$Module.d5z();
|
|
5659
5695
|
// Inline function 'org.kodein.type.generic' call
|
|
5660
|
-
var
|
|
5661
|
-
var tmp$ret$
|
|
5662
|
-
var tmp$ret$
|
|
5663
|
-
|
|
5664
|
-
tmp_6 = Unit_instance;
|
|
5696
|
+
var tmp_10 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
5697
|
+
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5698
|
+
var tmp$ret$9 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$8, null, true, creator_0);
|
|
5699
|
+
tmp_6.x62(tmp$ret$9);
|
|
5665
5700
|
}
|
|
5666
5701
|
return Unit_instance;
|
|
5667
5702
|
};
|
|
5668
5703
|
}
|
|
5669
|
-
function GameServerEngineControllerImpl$
|
|
5704
|
+
function GameServerEngineControllerImpl$createFileLoggerOutput$lambda($gameServer) {
|
|
5670
5705
|
return function (it) {
|
|
5671
|
-
|
|
5706
|
+
var tmp0_safe_receiver = $gameServer();
|
|
5707
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s66();
|
|
5708
|
+
return tmp1_safe_receiver == null ? null : serverLoggerKeyFromPayload(tmp1_safe_receiver, it);
|
|
5672
5709
|
};
|
|
5673
5710
|
}
|
|
5674
|
-
function GameServerEngineControllerImpl$
|
|
5711
|
+
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5675
5712
|
return function (it) {
|
|
5676
|
-
var
|
|
5713
|
+
var payload = Companion_instance_5.p9b(it);
|
|
5677
5714
|
var tmp;
|
|
5678
|
-
if (
|
|
5679
|
-
|
|
5680
|
-
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
5681
|
-
} else {
|
|
5682
|
-
tmp = tmp0_elvis_lhs;
|
|
5715
|
+
if (!(payload == null)) {
|
|
5716
|
+
return payload;
|
|
5683
5717
|
}
|
|
5684
|
-
|
|
5718
|
+
var tmp0_safe_receiver = $gameServer();
|
|
5719
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s66();
|
|
5720
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.l6m_1;
|
|
5721
|
+
return tmp2_safe_receiver == null ? null : toLoggerPayload(tmp2_safe_receiver);
|
|
5685
5722
|
};
|
|
5686
5723
|
}
|
|
5687
5724
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares) {
|
|
@@ -5694,7 +5731,7 @@
|
|
|
5694
5731
|
// Inline function 'kotlin.let' call
|
|
5695
5732
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5696
5733
|
}
|
|
5697
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5734
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.y9z_1));
|
|
5698
5735
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5699
5736
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5700
5737
|
return Unit_instance;
|
|
@@ -5703,13 +5740,13 @@
|
|
|
5703
5740
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5704
5741
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5705
5742
|
production = production === VOID ? true : production;
|
|
5706
|
-
this.
|
|
5707
|
-
this.
|
|
5743
|
+
this.x9z_1 = loggerCallback;
|
|
5744
|
+
this.y9z_1 = randomOrgConfig;
|
|
5708
5745
|
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5709
5746
|
var tmp = this;
|
|
5710
|
-
tmp.
|
|
5747
|
+
tmp.z9z_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5711
5748
|
var tmp_0 = this;
|
|
5712
|
-
tmp_0.
|
|
5749
|
+
tmp_0.aa0_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5713
5750
|
var tmp_1 = this;
|
|
5714
5751
|
// Inline function 'org.kodein.di.instance' call
|
|
5715
5752
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5718,7 +5755,7 @@
|
|
|
5718
5755
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5719
5756
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5720
5757
|
var tmp_4 = KProperty1;
|
|
5721
|
-
tmp_1.
|
|
5758
|
+
tmp_1.ba0_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5722
5759
|
var tmp_5 = this;
|
|
5723
5760
|
// Inline function 'org.kodein.di.instance' call
|
|
5724
5761
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5727,7 +5764,7 @@
|
|
|
5727
5764
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5728
5765
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5729
5766
|
var tmp_8 = KProperty1;
|
|
5730
|
-
tmp_5.
|
|
5767
|
+
tmp_5.ca0_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5731
5768
|
var tmp_9 = this;
|
|
5732
5769
|
// Inline function 'org.kodein.di.instance' call
|
|
5733
5770
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5736,7 +5773,7 @@
|
|
|
5736
5773
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5737
5774
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5738
5775
|
var tmp_12 = KProperty1;
|
|
5739
|
-
tmp_9.
|
|
5776
|
+
tmp_9.da0_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5740
5777
|
var tmp_13 = this;
|
|
5741
5778
|
// Inline function 'org.kodein.di.instance' call
|
|
5742
5779
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5745,7 +5782,7 @@
|
|
|
5745
5782
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5746
5783
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5747
5784
|
var tmp_16 = KProperty1;
|
|
5748
|
-
tmp_13.
|
|
5785
|
+
tmp_13.ea0_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5749
5786
|
var tmp_17 = this;
|
|
5750
5787
|
// Inline function 'org.kodein.di.instance' call
|
|
5751
5788
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5754,7 +5791,7 @@
|
|
|
5754
5791
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5755
5792
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5756
5793
|
var tmp_20 = KProperty1;
|
|
5757
|
-
tmp_17.
|
|
5794
|
+
tmp_17.fa0_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5758
5795
|
var tmp_21 = this;
|
|
5759
5796
|
// Inline function 'org.kodein.di.instance' call
|
|
5760
5797
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5763,45 +5800,45 @@
|
|
|
5763
5800
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5764
5801
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5765
5802
|
var tmp_24 = KProperty1;
|
|
5766
|
-
tmp_21.
|
|
5803
|
+
tmp_21.ga0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5767
5804
|
}
|
|
5768
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5769
|
-
var tmp0 = this.
|
|
5805
|
+
protoOf(GameServerEngineControllerImpl).q9z = function () {
|
|
5806
|
+
var tmp0 = this.ba0_1;
|
|
5770
5807
|
var tmp = KProperty1;
|
|
5771
5808
|
// Inline function 'kotlin.getValue' call
|
|
5772
5809
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5773
5810
|
return tmp0.w();
|
|
5774
5811
|
};
|
|
5775
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5776
|
-
var tmp0 = this.
|
|
5812
|
+
protoOf(GameServerEngineControllerImpl).s9z = function () {
|
|
5813
|
+
var tmp0 = this.ca0_1;
|
|
5777
5814
|
var tmp = KProperty1;
|
|
5778
5815
|
// Inline function 'kotlin.getValue' call
|
|
5779
5816
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5780
5817
|
return tmp0.w();
|
|
5781
5818
|
};
|
|
5782
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5783
|
-
var tmp0 = this.
|
|
5819
|
+
protoOf(GameServerEngineControllerImpl).t9z = function () {
|
|
5820
|
+
var tmp0 = this.da0_1;
|
|
5784
5821
|
var tmp = KProperty1;
|
|
5785
5822
|
// Inline function 'kotlin.getValue' call
|
|
5786
5823
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5787
5824
|
return tmp0.w();
|
|
5788
5825
|
};
|
|
5789
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5790
|
-
var tmp0 = this.
|
|
5826
|
+
protoOf(GameServerEngineControllerImpl).u9z = function () {
|
|
5827
|
+
var tmp0 = this.ea0_1;
|
|
5791
5828
|
var tmp = KProperty1;
|
|
5792
5829
|
// Inline function 'kotlin.getValue' call
|
|
5793
5830
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5794
5831
|
return tmp0.w();
|
|
5795
5832
|
};
|
|
5796
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5797
|
-
var tmp0 = this.
|
|
5833
|
+
protoOf(GameServerEngineControllerImpl).r9z = function () {
|
|
5834
|
+
var tmp0 = this.fa0_1;
|
|
5798
5835
|
var tmp = KProperty1;
|
|
5799
5836
|
// Inline function 'kotlin.getValue' call
|
|
5800
5837
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5801
5838
|
return tmp0.w();
|
|
5802
5839
|
};
|
|
5803
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5804
|
-
var tmp0 = this.
|
|
5840
|
+
protoOf(GameServerEngineControllerImpl).v9z = function () {
|
|
5841
|
+
var tmp0 = this.ga0_1;
|
|
5805
5842
|
var tmp = KProperty1;
|
|
5806
5843
|
// Inline function 'kotlin.getValue' call
|
|
5807
5844
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5813,22 +5850,9 @@
|
|
|
5813
5850
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5814
5851
|
return this.createGameEngineWithLogic();
|
|
5815
5852
|
};
|
|
5816
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5853
|
+
protoOf(GameServerEngineControllerImpl).w9z = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5817
5854
|
var combinedLogger = Companion_instance_6.mx();
|
|
5818
|
-
var
|
|
5819
|
-
if (coreConfig.fileLogsEnabled) {
|
|
5820
|
-
tmp = new FileLoggerOutputImpl();
|
|
5821
|
-
} else {
|
|
5822
|
-
tmp = null;
|
|
5823
|
-
}
|
|
5824
|
-
var fileLoggerOutput = tmp;
|
|
5825
|
-
var tmp_0;
|
|
5826
|
-
if (!(this.y9z_1 == null)) {
|
|
5827
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.y9z_1));
|
|
5828
|
-
} else {
|
|
5829
|
-
tmp_0 = null;
|
|
5830
|
-
}
|
|
5831
|
-
var callbackWrapperLoggerOutput = tmp_0;
|
|
5855
|
+
var gameServer = {_v: null};
|
|
5832
5856
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
5833
5857
|
// Inline function 'kotlin.collections.map' call
|
|
5834
5858
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -5855,25 +5879,15 @@
|
|
|
5855
5879
|
destination_0.j(tmp$ret$4);
|
|
5856
5880
|
}
|
|
5857
5881
|
var tmp2_externalMiddlewares = toList_0(destination_0);
|
|
5858
|
-
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(
|
|
5859
|
-
var
|
|
5882
|
+
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(this, coreConfig, combinedLogger, gameServer));
|
|
5883
|
+
var engineDI = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, ratingConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
5860
5884
|
// Inline function 'org.kodein.di.instance' call
|
|
5861
|
-
var
|
|
5885
|
+
var tmp = get_direct(engineDI).m60();
|
|
5862
5886
|
// Inline function 'org.kodein.type.generic' call
|
|
5863
|
-
var
|
|
5864
|
-
var tmp$ret$7 = isInterface(
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
var tmp_3 = fileLoggerOutput;
|
|
5868
|
-
tmp_3.s9c_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5869
|
-
combinedLogger.w1k(fileLoggerOutput);
|
|
5870
|
-
}
|
|
5871
|
-
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5872
|
-
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5873
|
-
tmp_4.s9b_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5874
|
-
combinedLogger.w1k(callbackWrapperLoggerOutput);
|
|
5875
|
-
}
|
|
5876
|
-
return gameServer;
|
|
5887
|
+
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
5888
|
+
var tmp$ret$7 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5889
|
+
gameServer._v = tmp.l60(tmp$ret$7, null);
|
|
5890
|
+
return gameServer._v;
|
|
5877
5891
|
};
|
|
5878
5892
|
function GameServerHelper() {
|
|
5879
5893
|
}
|
|
@@ -5885,7 +5899,7 @@
|
|
|
5885
5899
|
function TestHelper() {
|
|
5886
5900
|
}
|
|
5887
5901
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5888
|
-
var tmp0 = $this.
|
|
5902
|
+
var tmp0 = $this.ka0_1;
|
|
5889
5903
|
var tmp = KProperty1;
|
|
5890
5904
|
// Inline function 'kotlin.getValue' call
|
|
5891
5905
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5893,7 +5907,7 @@
|
|
|
5893
5907
|
}
|
|
5894
5908
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5895
5909
|
return function ($this$singleton) {
|
|
5896
|
-
return this$0.
|
|
5910
|
+
return this$0.ia0_1;
|
|
5897
5911
|
};
|
|
5898
5912
|
}
|
|
5899
5913
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5932,19 +5946,19 @@
|
|
|
5932
5946
|
return emptyMap();
|
|
5933
5947
|
}
|
|
5934
5948
|
function TestHelperImpl(logger) {
|
|
5935
|
-
this.
|
|
5949
|
+
this.ia0_1 = logger;
|
|
5936
5950
|
var tmp = this;
|
|
5937
5951
|
var tmp_0 = Companion_instance_4;
|
|
5938
|
-
tmp.
|
|
5952
|
+
tmp.ja0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5939
5953
|
var tmp_1 = this;
|
|
5940
5954
|
// Inline function 'org.kodein.di.instance' call
|
|
5941
|
-
var this_0 = this.
|
|
5955
|
+
var this_0 = this.ja0_1;
|
|
5942
5956
|
// Inline function 'org.kodein.type.generic' call
|
|
5943
5957
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5944
5958
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5945
5959
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5946
5960
|
var tmp_4 = KProperty1;
|
|
5947
|
-
tmp_1.
|
|
5961
|
+
tmp_1.ka0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5948
5962
|
}
|
|
5949
5963
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5950
5964
|
return _get_playerAnswerInteractor__msggz1(this).b8k(playerId, table, botConfig);
|
|
@@ -6111,22 +6125,22 @@
|
|
|
6111
6125
|
});
|
|
6112
6126
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6113
6127
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6114
|
-
return this.
|
|
6128
|
+
return this.q9z();
|
|
6115
6129
|
});
|
|
6116
6130
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6117
|
-
return this.
|
|
6131
|
+
return this.s9z();
|
|
6118
6132
|
});
|
|
6119
6133
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6120
|
-
return this.
|
|
6134
|
+
return this.t9z();
|
|
6121
6135
|
});
|
|
6122
6136
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6123
|
-
return this.
|
|
6137
|
+
return this.u9z();
|
|
6124
6138
|
});
|
|
6125
6139
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6126
|
-
return this.
|
|
6140
|
+
return this.r9z();
|
|
6127
6141
|
});
|
|
6128
6142
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6129
|
-
return this.
|
|
6143
|
+
return this.v9z();
|
|
6130
6144
|
});
|
|
6131
6145
|
//endregion
|
|
6132
6146
|
//region block: init
|