raspberry_games_server_game_logic 1.8.379 → 1.8.381
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 +90 -90
- package/Logic_Debertz-core.js +56 -56
- package/Logic_Debertz-engine.js +237 -169
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +14 -8
- package/Logic_Debertz-game_server.js +900 -803
- 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 +80 -80
- package/kotlinx-coroutines-core.js.map +1 -1
- 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,38 +43,38 @@
|
|
|
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
|
-
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
69
|
+
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
70
|
+
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
71
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.jc;
|
|
72
|
+
var equals = kotlin_kotlin.$_$.bc;
|
|
73
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ob;
|
|
74
|
+
var hashCode = kotlin_kotlin.$_$.hc;
|
|
74
75
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
75
76
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
76
77
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
77
|
-
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
78
78
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
79
79
|
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
@@ -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]);
|
|
@@ -703,8 +703,9 @@
|
|
|
703
703
|
l.$arity = 1;
|
|
704
704
|
return l;
|
|
705
705
|
}
|
|
706
|
-
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
706
|
+
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
707
707
|
this.z9g_1 = $$this$unsafeFlow;
|
|
708
|
+
this.a9h_1 = $table;
|
|
708
709
|
CoroutineImpl.call(this, resultContinuation);
|
|
709
710
|
}
|
|
710
711
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -725,9 +726,9 @@
|
|
|
725
726
|
case 0:
|
|
726
727
|
this.s8_1 = 2;
|
|
727
728
|
var tmp0 = this.z9g_1;
|
|
728
|
-
var value = this.
|
|
729
|
+
var value = this.b9h_1;
|
|
729
730
|
this.r8_1 = 1;
|
|
730
|
-
suspendResult = tmp0.l28(new ActionsStateUpdate(value), this);
|
|
731
|
+
suspendResult = tmp0.l28(new ActionsStateUpdate(this.a9h_1.id, value), this);
|
|
731
732
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
732
733
|
return suspendResult;
|
|
733
734
|
}
|
|
@@ -750,12 +751,12 @@
|
|
|
750
751
|
while (true);
|
|
751
752
|
};
|
|
752
753
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
753
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.z9g_1, completion);
|
|
754
|
-
i.
|
|
754
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.z9g_1, this.a9h_1, completion);
|
|
755
|
+
i.b9h_1 = value;
|
|
755
756
|
return i;
|
|
756
757
|
};
|
|
757
|
-
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
758
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
758
|
+
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
759
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation);
|
|
759
760
|
var l = function (value, $completion) {
|
|
760
761
|
return i.u2h(value, $completion);
|
|
761
762
|
};
|
|
@@ -764,8 +765,8 @@
|
|
|
764
765
|
}
|
|
765
766
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
766
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
767
|
-
this.
|
|
768
|
-
this.
|
|
768
|
+
this.k9h_1 = _this__u8e3s4;
|
|
769
|
+
this.l9h_1 = collector;
|
|
769
770
|
}
|
|
770
771
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
771
772
|
var suspendResult = this.t8_1;
|
|
@@ -775,10 +776,10 @@
|
|
|
775
776
|
switch (tmp) {
|
|
776
777
|
case 0:
|
|
777
778
|
this.s8_1 = 2;
|
|
778
|
-
var $this$unsafeFlow = this.
|
|
779
|
+
var $this$unsafeFlow = this.l9h_1;
|
|
779
780
|
this.r8_1 = 1;
|
|
780
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, null);
|
|
781
|
-
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);
|
|
782
783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
783
784
|
return suspendResult;
|
|
784
785
|
}
|
|
@@ -800,8 +801,9 @@
|
|
|
800
801
|
}
|
|
801
802
|
while (true);
|
|
802
803
|
};
|
|
803
|
-
function _no_name_provided__qut3iv($this) {
|
|
804
|
-
this.
|
|
804
|
+
function _no_name_provided__qut3iv($this, $table) {
|
|
805
|
+
this.m9h_1 = $this;
|
|
806
|
+
this.n9h_1 = $table;
|
|
805
807
|
}
|
|
806
808
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
807
809
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -813,18 +815,18 @@
|
|
|
813
815
|
return this.m28(collector, $completion);
|
|
814
816
|
};
|
|
815
817
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
818
|
+
this.w9h_1 = $table;
|
|
819
|
+
this.x9h_1 = this$0;
|
|
818
820
|
CoroutineImpl.call(this, resultContinuation);
|
|
819
821
|
}
|
|
820
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
821
|
-
var tmp = this.
|
|
822
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z9h = function ($this$flow, $completion) {
|
|
823
|
+
var tmp = this.a9i($this$flow, $completion);
|
|
822
824
|
tmp.t8_1 = Unit_instance;
|
|
823
825
|
tmp.u8_1 = null;
|
|
824
826
|
return tmp.z8();
|
|
825
827
|
};
|
|
826
828
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
827
|
-
return this.
|
|
829
|
+
return this.z9h((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
828
830
|
};
|
|
829
831
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
830
832
|
var suspendResult = this.t8_1;
|
|
@@ -835,7 +837,7 @@
|
|
|
835
837
|
case 0:
|
|
836
838
|
this.s8_1 = 3;
|
|
837
839
|
this.r8_1 = 1;
|
|
838
|
-
suspendResult = this.
|
|
840
|
+
suspendResult = this.y9h_1.l28(new TableStateUpdate(this.w9h_1.id, this.w9h_1), this);
|
|
839
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
840
842
|
return suspendResult;
|
|
841
843
|
}
|
|
@@ -843,8 +845,8 @@
|
|
|
843
845
|
continue $sm;
|
|
844
846
|
case 1:
|
|
845
847
|
this.r8_1 = 2;
|
|
846
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
847
|
-
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);
|
|
848
850
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
849
851
|
return suspendResult;
|
|
850
852
|
}
|
|
@@ -866,21 +868,21 @@
|
|
|
866
868
|
}
|
|
867
869
|
while (true);
|
|
868
870
|
};
|
|
869
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
870
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
871
|
-
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;
|
|
872
874
|
return i;
|
|
873
875
|
};
|
|
874
876
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
875
877
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
876
878
|
var l = function ($this$flow, $completion) {
|
|
877
|
-
return i.
|
|
879
|
+
return i.z9h($this$flow, $completion);
|
|
878
880
|
};
|
|
879
881
|
l.$arity = 1;
|
|
880
882
|
return l;
|
|
881
883
|
}
|
|
882
884
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
883
|
-
this.
|
|
885
|
+
this.j9i_1 = $$this$unsafeFlow;
|
|
884
886
|
CoroutineImpl.call(this, resultContinuation);
|
|
885
887
|
}
|
|
886
888
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -901,28 +903,28 @@
|
|
|
901
903
|
case 0:
|
|
902
904
|
this.s8_1 = 5;
|
|
903
905
|
var tmp_0 = this;
|
|
904
|
-
tmp_0.
|
|
906
|
+
tmp_0.o9i_1 = this.j9i_1;
|
|
905
907
|
var tmp_1 = this;
|
|
906
|
-
tmp_1.
|
|
908
|
+
tmp_1.n9i_1 = this.k9i_1;
|
|
907
909
|
this.r8_1 = 1;
|
|
908
910
|
continue $sm;
|
|
909
911
|
case 1:
|
|
910
|
-
this.
|
|
911
|
-
var tmp0_elvis_lhs = this.
|
|
912
|
+
this.l9i_1 = this.o9i_1;
|
|
913
|
+
var tmp0_elvis_lhs = this.n9i_1.l6m_1;
|
|
912
914
|
if (tmp0_elvis_lhs == null) {
|
|
913
915
|
this.r8_1 = 4;
|
|
914
916
|
var tmp_2 = this;
|
|
915
917
|
continue $sm;
|
|
916
918
|
} else {
|
|
917
|
-
this.
|
|
919
|
+
this.m9i_1 = tmp0_elvis_lhs;
|
|
918
920
|
this.r8_1 = 2;
|
|
919
921
|
continue $sm;
|
|
920
922
|
}
|
|
921
923
|
|
|
922
924
|
case 2:
|
|
923
|
-
var transformed = this.
|
|
925
|
+
var transformed = this.m9i_1;
|
|
924
926
|
this.r8_1 = 3;
|
|
925
|
-
suspendResult = this.
|
|
927
|
+
suspendResult = this.l9i_1.l28(transformed, this);
|
|
926
928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
927
929
|
return suspendResult;
|
|
928
930
|
}
|
|
@@ -953,8 +955,8 @@
|
|
|
953
955
|
while (true);
|
|
954
956
|
};
|
|
955
957
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
956
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
957
|
-
i.
|
|
958
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.j9i_1, completion);
|
|
959
|
+
i.k9i_1 = value;
|
|
958
960
|
return i;
|
|
959
961
|
};
|
|
960
962
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -967,8 +969,8 @@
|
|
|
967
969
|
}
|
|
968
970
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
969
971
|
CoroutineImpl.call(this, resultContinuation);
|
|
970
|
-
this.
|
|
971
|
-
this.
|
|
972
|
+
this.x9i_1 = _this__u8e3s4;
|
|
973
|
+
this.y9i_1 = collector;
|
|
972
974
|
}
|
|
973
975
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
974
976
|
var suspendResult = this.t8_1;
|
|
@@ -978,10 +980,10 @@
|
|
|
978
980
|
switch (tmp) {
|
|
979
981
|
case 0:
|
|
980
982
|
this.s8_1 = 2;
|
|
981
|
-
var $this$unsafeFlow = this.
|
|
983
|
+
var $this$unsafeFlow = this.y9i_1;
|
|
982
984
|
this.r8_1 = 1;
|
|
983
985
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
984
|
-
suspendResult = this.
|
|
986
|
+
suspendResult = this.x9i_1.z9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
985
987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
986
988
|
return suspendResult;
|
|
987
989
|
}
|
|
@@ -1004,7 +1006,7 @@
|
|
|
1004
1006
|
while (true);
|
|
1005
1007
|
};
|
|
1006
1008
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1007
|
-
this.
|
|
1009
|
+
this.i9j_1 = $$this$unsafeFlow;
|
|
1008
1010
|
CoroutineImpl.call(this, resultContinuation);
|
|
1009
1011
|
}
|
|
1010
1012
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1024,8 +1026,8 @@
|
|
|
1024
1026
|
switch (tmp) {
|
|
1025
1027
|
case 0:
|
|
1026
1028
|
this.s8_1 = 2;
|
|
1027
|
-
var tmp0 = this.
|
|
1028
|
-
var value = this.
|
|
1029
|
+
var tmp0 = this.i9j_1;
|
|
1030
|
+
var value = this.j9j_1;
|
|
1029
1031
|
this.r8_1 = 1;
|
|
1030
1032
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1031
1033
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1050,8 +1052,8 @@
|
|
|
1050
1052
|
while (true);
|
|
1051
1053
|
};
|
|
1052
1054
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1053
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1054
|
-
i.
|
|
1055
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.i9j_1, completion);
|
|
1056
|
+
i.j9j_1 = value;
|
|
1055
1057
|
return i;
|
|
1056
1058
|
};
|
|
1057
1059
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1064,8 +1066,8 @@
|
|
|
1064
1066
|
}
|
|
1065
1067
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1066
1068
|
CoroutineImpl.call(this, resultContinuation);
|
|
1067
|
-
this.
|
|
1068
|
-
this.
|
|
1069
|
+
this.s9j_1 = _this__u8e3s4;
|
|
1070
|
+
this.t9j_1 = collector;
|
|
1069
1071
|
}
|
|
1070
1072
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1071
1073
|
var suspendResult = this.t8_1;
|
|
@@ -1075,10 +1077,10 @@
|
|
|
1075
1077
|
switch (tmp) {
|
|
1076
1078
|
case 0:
|
|
1077
1079
|
this.s8_1 = 2;
|
|
1078
|
-
var $this$unsafeFlow = this.
|
|
1080
|
+
var $this$unsafeFlow = this.t9j_1;
|
|
1079
1081
|
this.r8_1 = 1;
|
|
1080
1082
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1081
|
-
suspendResult = this.
|
|
1083
|
+
suspendResult = this.s9j_1.u9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1082
1084
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1083
1085
|
return suspendResult;
|
|
1084
1086
|
}
|
|
@@ -1101,7 +1103,7 @@
|
|
|
1101
1103
|
while (true);
|
|
1102
1104
|
};
|
|
1103
1105
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1104
|
-
this.
|
|
1106
|
+
this.d9k_1 = $$this$unsafeFlow;
|
|
1105
1107
|
CoroutineImpl.call(this, resultContinuation);
|
|
1106
1108
|
}
|
|
1107
1109
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1121,8 +1123,8 @@
|
|
|
1121
1123
|
switch (tmp) {
|
|
1122
1124
|
case 0:
|
|
1123
1125
|
this.s8_1 = 2;
|
|
1124
|
-
var tmp0 = this.
|
|
1125
|
-
var value = this.
|
|
1126
|
+
var tmp0 = this.d9k_1;
|
|
1127
|
+
var value = this.e9k_1;
|
|
1126
1128
|
this.r8_1 = 1;
|
|
1127
1129
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1128
1130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1147,8 +1149,8 @@
|
|
|
1147
1149
|
while (true);
|
|
1148
1150
|
};
|
|
1149
1151
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1150
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1151
|
-
i.
|
|
1152
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.d9k_1, completion);
|
|
1153
|
+
i.e9k_1 = value;
|
|
1152
1154
|
return i;
|
|
1153
1155
|
};
|
|
1154
1156
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1161,8 +1163,8 @@
|
|
|
1161
1163
|
}
|
|
1162
1164
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1163
1165
|
CoroutineImpl.call(this, resultContinuation);
|
|
1164
|
-
this.
|
|
1165
|
-
this.
|
|
1166
|
+
this.n9k_1 = _this__u8e3s4;
|
|
1167
|
+
this.o9k_1 = collector;
|
|
1166
1168
|
}
|
|
1167
1169
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1168
1170
|
var suspendResult = this.t8_1;
|
|
@@ -1172,10 +1174,10 @@
|
|
|
1172
1174
|
switch (tmp) {
|
|
1173
1175
|
case 0:
|
|
1174
1176
|
this.s8_1 = 2;
|
|
1175
|
-
var $this$unsafeFlow = this.
|
|
1177
|
+
var $this$unsafeFlow = this.o9k_1;
|
|
1176
1178
|
this.r8_1 = 1;
|
|
1177
1179
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1178
|
-
suspendResult = this.
|
|
1180
|
+
suspendResult = this.n9k_1.p9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1179
1181
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1180
1182
|
return suspendResult;
|
|
1181
1183
|
}
|
|
@@ -1198,17 +1200,17 @@
|
|
|
1198
1200
|
while (true);
|
|
1199
1201
|
};
|
|
1200
1202
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1201
|
-
this.
|
|
1203
|
+
this.y9k_1 = $subscriber;
|
|
1202
1204
|
CoroutineImpl.call(this, resultContinuation);
|
|
1203
1205
|
}
|
|
1204
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1205
|
-
var tmp = this.
|
|
1206
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).a9l = function (it, $completion) {
|
|
1207
|
+
var tmp = this.b9l(it, $completion);
|
|
1206
1208
|
tmp.t8_1 = Unit_instance;
|
|
1207
1209
|
tmp.u8_1 = null;
|
|
1208
1210
|
return tmp.z8();
|
|
1209
1211
|
};
|
|
1210
1212
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1211
|
-
return this.
|
|
1213
|
+
return this.a9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1212
1214
|
};
|
|
1213
1215
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1214
1216
|
var suspendResult = this.t8_1;
|
|
@@ -1217,7 +1219,7 @@
|
|
|
1217
1219
|
var tmp = this.r8_1;
|
|
1218
1220
|
if (tmp === 0) {
|
|
1219
1221
|
this.s8_1 = 1;
|
|
1220
|
-
this.
|
|
1222
|
+
this.y9k_1(this.z9k_1);
|
|
1221
1223
|
return Unit_instance;
|
|
1222
1224
|
} else if (tmp === 1) {
|
|
1223
1225
|
throw this.u8_1;
|
|
@@ -1228,83 +1230,83 @@
|
|
|
1228
1230
|
}
|
|
1229
1231
|
while (true);
|
|
1230
1232
|
};
|
|
1231
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1232
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1233
|
-
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;
|
|
1234
1236
|
return i;
|
|
1235
1237
|
};
|
|
1236
1238
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1237
1239
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1238
1240
|
var l = function (it, $completion) {
|
|
1239
|
-
return i.
|
|
1241
|
+
return i.a9l(it, $completion);
|
|
1240
1242
|
};
|
|
1241
1243
|
l.$arity = 1;
|
|
1242
1244
|
return l;
|
|
1243
1245
|
}
|
|
1244
1246
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1245
|
-
this.
|
|
1247
|
+
this.c9l_1 = $playerId;
|
|
1246
1248
|
}
|
|
1247
1249
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1248
|
-
return this.
|
|
1250
|
+
return this.c9l_1;
|
|
1249
1251
|
};
|
|
1250
1252
|
function _get_logger__rkp4sl($this) {
|
|
1251
|
-
var tmp0 = $this.
|
|
1253
|
+
var tmp0 = $this.f9l_1;
|
|
1252
1254
|
var tmp = KProperty1;
|
|
1253
1255
|
// Inline function 'kotlin.getValue' call
|
|
1254
1256
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1255
1257
|
return tmp0.w();
|
|
1256
1258
|
}
|
|
1257
1259
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1258
|
-
var tmp0 = $this.
|
|
1260
|
+
var tmp0 = $this.g9l_1;
|
|
1259
1261
|
var tmp = KProperty1;
|
|
1260
1262
|
// Inline function 'kotlin.getValue' call
|
|
1261
1263
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1262
1264
|
return tmp0.w();
|
|
1263
1265
|
}
|
|
1264
1266
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1265
|
-
var tmp0 = $this.
|
|
1267
|
+
var tmp0 = $this.h9l_1;
|
|
1266
1268
|
var tmp = KProperty1;
|
|
1267
1269
|
// Inline function 'kotlin.getValue' call
|
|
1268
1270
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1269
1271
|
return tmp0.w();
|
|
1270
1272
|
}
|
|
1271
1273
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1272
|
-
var tmp0 = $this.
|
|
1274
|
+
var tmp0 = $this.i9l_1;
|
|
1273
1275
|
var tmp = KProperty1;
|
|
1274
1276
|
// Inline function 'kotlin.getValue' call
|
|
1275
1277
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1276
1278
|
return tmp0.w();
|
|
1277
1279
|
}
|
|
1278
1280
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1279
|
-
var tmp0 = $this.
|
|
1281
|
+
var tmp0 = $this.j9l_1;
|
|
1280
1282
|
var tmp = KProperty1;
|
|
1281
1283
|
// Inline function 'kotlin.getValue' call
|
|
1282
1284
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1283
1285
|
return tmp0.w();
|
|
1284
1286
|
}
|
|
1285
1287
|
function _get_random__h29cgo($this) {
|
|
1286
|
-
var tmp0 = $this.
|
|
1288
|
+
var tmp0 = $this.k9l_1;
|
|
1287
1289
|
var tmp = KProperty1;
|
|
1288
1290
|
// Inline function 'kotlin.getValue' call
|
|
1289
1291
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1290
1292
|
return tmp0.w();
|
|
1291
1293
|
}
|
|
1292
1294
|
function _get_idsProvider__fnfajc($this) {
|
|
1293
|
-
var tmp0 = $this.
|
|
1295
|
+
var tmp0 = $this.l9l_1;
|
|
1294
1296
|
var tmp = KProperty1;
|
|
1295
1297
|
// Inline function 'kotlin.getValue' call
|
|
1296
1298
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1297
1299
|
return tmp0.w();
|
|
1298
1300
|
}
|
|
1299
1301
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1300
|
-
var tmp0 = $this.
|
|
1302
|
+
var tmp0 = $this.m9l_1;
|
|
1301
1303
|
var tmp = KProperty1;
|
|
1302
1304
|
// Inline function 'kotlin.getValue' call
|
|
1303
1305
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1304
1306
|
return tmp0.w();
|
|
1305
1307
|
}
|
|
1306
1308
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1307
|
-
var tmp0 = $this.
|
|
1309
|
+
var tmp0 = $this.n9l_1;
|
|
1308
1310
|
var tmp = KProperty1;
|
|
1309
1311
|
// Inline function 'kotlin.getValue' call
|
|
1310
1312
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1313,7 +1315,8 @@
|
|
|
1313
1315
|
function observeTableStateUpdates($this) {
|
|
1314
1316
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1315
1317
|
var this_0 = observeTableWhenRoundChanges($this, $this.k6m());
|
|
1316
|
-
|
|
1318
|
+
var tmp$ret$0 = transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1319
|
+
return distinctUntilChanged(tmp$ret$0);
|
|
1317
1320
|
}
|
|
1318
1321
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
1319
1322
|
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
@@ -1326,25 +1329,25 @@
|
|
|
1326
1329
|
var tmp = new GameServer$observeTableWhenRoundChanges$$inlined$map$1(this_0);
|
|
1327
1330
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
1328
1331
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1329
|
-
var this_1 =
|
|
1332
|
+
var this_1 = distinctUntilChanged_0(tmp, GameServer$observeTableWhenRoundChanges$lambda);
|
|
1330
1333
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
1331
1334
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1332
1335
|
}
|
|
1333
1336
|
function Companion() {
|
|
1334
|
-
this.
|
|
1337
|
+
this.p9l_1 = 'GameEngine_API';
|
|
1335
1338
|
}
|
|
1336
1339
|
var Companion_instance_7;
|
|
1337
1340
|
function Companion_getInstance_0() {
|
|
1338
1341
|
return Companion_instance_7;
|
|
1339
1342
|
}
|
|
1340
1343
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1341
|
-
this.
|
|
1344
|
+
this.q9l_1 = function_0;
|
|
1342
1345
|
}
|
|
1343
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1344
|
-
return this.
|
|
1347
|
+
return this.q9l_1(value, $completion);
|
|
1345
1348
|
};
|
|
1346
1349
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1347
|
-
return this.
|
|
1350
|
+
return this.q9l_1;
|
|
1348
1351
|
};
|
|
1349
1352
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1350
1353
|
var tmp;
|
|
@@ -1365,13 +1368,13 @@
|
|
|
1365
1368
|
return hashCode(this.a3());
|
|
1366
1369
|
};
|
|
1367
1370
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1368
|
-
this.
|
|
1371
|
+
this.r9l_1 = function_0;
|
|
1369
1372
|
}
|
|
1370
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1371
|
-
return this.
|
|
1374
|
+
return this.r9l_1(value, $completion);
|
|
1372
1375
|
};
|
|
1373
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1374
|
-
return this.
|
|
1377
|
+
return this.r9l_1;
|
|
1375
1378
|
};
|
|
1376
1379
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1377
1380
|
var tmp;
|
|
@@ -1392,13 +1395,13 @@
|
|
|
1392
1395
|
return hashCode(this.a3());
|
|
1393
1396
|
};
|
|
1394
1397
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1395
|
-
this.
|
|
1398
|
+
this.s9l_1 = function_0;
|
|
1396
1399
|
}
|
|
1397
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1398
|
-
return this.
|
|
1401
|
+
return this.s9l_1(value, $completion);
|
|
1399
1402
|
};
|
|
1400
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1401
|
-
return this.
|
|
1404
|
+
return this.s9l_1;
|
|
1402
1405
|
};
|
|
1403
1406
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1404
1407
|
var tmp;
|
|
@@ -1419,13 +1422,13 @@
|
|
|
1419
1422
|
return hashCode(this.a3());
|
|
1420
1423
|
};
|
|
1421
1424
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1422
|
-
this.
|
|
1425
|
+
this.t9l_1 = function_0;
|
|
1423
1426
|
}
|
|
1424
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1425
|
-
return this.
|
|
1428
|
+
return this.t9l_1(value, $completion);
|
|
1426
1429
|
};
|
|
1427
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1428
|
-
return this.
|
|
1431
|
+
return this.t9l_1;
|
|
1429
1432
|
};
|
|
1430
1433
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1431
1434
|
var tmp;
|
|
@@ -1446,13 +1449,13 @@
|
|
|
1446
1449
|
return hashCode(this.a3());
|
|
1447
1450
|
};
|
|
1448
1451
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1449
|
-
this.
|
|
1452
|
+
this.u9l_1 = function_0;
|
|
1450
1453
|
}
|
|
1451
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1452
|
-
return this.
|
|
1455
|
+
return this.u9l_1(value, $completion);
|
|
1453
1456
|
};
|
|
1454
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1455
|
-
return this.
|
|
1458
|
+
return this.u9l_1;
|
|
1456
1459
|
};
|
|
1457
1460
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1458
1461
|
var tmp;
|
|
@@ -1473,13 +1476,13 @@
|
|
|
1473
1476
|
return hashCode(this.a3());
|
|
1474
1477
|
};
|
|
1475
1478
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1476
|
-
this.
|
|
1479
|
+
this.v9l_1 = function_0;
|
|
1477
1480
|
}
|
|
1478
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1479
|
-
return this.
|
|
1482
|
+
return this.v9l_1(value, $completion);
|
|
1480
1483
|
};
|
|
1481
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1482
|
-
return this.
|
|
1485
|
+
return this.v9l_1;
|
|
1483
1486
|
};
|
|
1484
1487
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1485
1488
|
var tmp;
|
|
@@ -1590,8 +1593,8 @@
|
|
|
1590
1593
|
};
|
|
1591
1594
|
}
|
|
1592
1595
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1593
|
-
this.
|
|
1594
|
-
this.
|
|
1596
|
+
this.e9m_1 = this$0;
|
|
1597
|
+
this.f9m_1 = $subscriber;
|
|
1595
1598
|
CoroutineImpl.call(this, resultContinuation);
|
|
1596
1599
|
}
|
|
1597
1600
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1612,8 +1615,8 @@
|
|
|
1612
1615
|
case 0:
|
|
1613
1616
|
this.s8_1 = 2;
|
|
1614
1617
|
this.r8_1 = 1;
|
|
1615
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1616
|
-
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);
|
|
1617
1620
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1618
1621
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1619
1622
|
return suspendResult;
|
|
@@ -1637,8 +1640,8 @@
|
|
|
1637
1640
|
while (true);
|
|
1638
1641
|
};
|
|
1639
1642
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1640
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1641
|
-
i.
|
|
1643
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.e9m_1, this.f9m_1, completion);
|
|
1644
|
+
i.g9m_1 = $this$launchDefault;
|
|
1642
1645
|
return i;
|
|
1643
1646
|
};
|
|
1644
1647
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1650,8 +1653,8 @@
|
|
|
1650
1653
|
return l;
|
|
1651
1654
|
}
|
|
1652
1655
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1656
|
+
this.q9m_1 = this$0;
|
|
1657
|
+
this.r9m_1 = $subscriber;
|
|
1655
1658
|
CoroutineImpl.call(this, resultContinuation);
|
|
1656
1659
|
}
|
|
1657
1660
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1672,8 +1675,8 @@
|
|
|
1672
1675
|
case 0:
|
|
1673
1676
|
this.s8_1 = 2;
|
|
1674
1677
|
this.r8_1 = 1;
|
|
1675
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1676
|
-
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);
|
|
1677
1680
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1678
1681
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1679
1682
|
return suspendResult;
|
|
@@ -1697,8 +1700,8 @@
|
|
|
1697
1700
|
while (true);
|
|
1698
1701
|
};
|
|
1699
1702
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1700
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1701
|
-
i.
|
|
1703
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.q9m_1, this.r9m_1, completion);
|
|
1704
|
+
i.s9m_1 = $this$launchDefault;
|
|
1702
1705
|
return i;
|
|
1703
1706
|
};
|
|
1704
1707
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1710,8 +1713,8 @@
|
|
|
1710
1713
|
return l;
|
|
1711
1714
|
}
|
|
1712
1715
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1713
|
-
this.
|
|
1714
|
-
this.
|
|
1716
|
+
this.b9n_1 = this$0;
|
|
1717
|
+
this.c9n_1 = $subscriber;
|
|
1715
1718
|
CoroutineImpl.call(this, resultContinuation);
|
|
1716
1719
|
}
|
|
1717
1720
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1732,9 +1735,9 @@
|
|
|
1732
1735
|
case 0:
|
|
1733
1736
|
this.s8_1 = 2;
|
|
1734
1737
|
this.r8_1 = 1;
|
|
1735
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1736
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1737
|
-
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);
|
|
1738
1741
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1739
1742
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1740
1743
|
return suspendResult;
|
|
@@ -1758,8 +1761,8 @@
|
|
|
1758
1761
|
while (true);
|
|
1759
1762
|
};
|
|
1760
1763
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1761
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1762
|
-
i.
|
|
1764
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.b9n_1, this.c9n_1, completion);
|
|
1765
|
+
i.d9n_1 = $this$launchDefault;
|
|
1763
1766
|
return i;
|
|
1764
1767
|
};
|
|
1765
1768
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1771,18 +1774,18 @@
|
|
|
1771
1774
|
return l;
|
|
1772
1775
|
}
|
|
1773
1776
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1774
|
-
this.
|
|
1777
|
+
this.m9n_1 = this$0;
|
|
1775
1778
|
CoroutineImpl.call(this, resultContinuation);
|
|
1776
1779
|
}
|
|
1777
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1778
|
-
var tmp = this.
|
|
1780
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).p9n = function ($this$transformLatest, it, $completion) {
|
|
1781
|
+
var tmp = this.q9n($this$transformLatest, it, $completion);
|
|
1779
1782
|
tmp.t8_1 = Unit_instance;
|
|
1780
1783
|
tmp.u8_1 = null;
|
|
1781
1784
|
return tmp.z8();
|
|
1782
1785
|
};
|
|
1783
1786
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1784
1787
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1785
|
-
return this.
|
|
1788
|
+
return this.p9n(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1786
1789
|
};
|
|
1787
1790
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1788
1791
|
var suspendResult = this.t8_1;
|
|
@@ -1793,8 +1796,8 @@
|
|
|
1793
1796
|
case 0:
|
|
1794
1797
|
this.s8_1 = 2;
|
|
1795
1798
|
this.r8_1 = 1;
|
|
1796
|
-
var table = this.
|
|
1797
|
-
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);
|
|
1798
1801
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1799
1802
|
return suspendResult;
|
|
1800
1803
|
}
|
|
@@ -1816,22 +1819,22 @@
|
|
|
1816
1819
|
}
|
|
1817
1820
|
while (true);
|
|
1818
1821
|
};
|
|
1819
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1820
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1821
|
-
i.
|
|
1822
|
-
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;
|
|
1823
1826
|
return i;
|
|
1824
1827
|
};
|
|
1825
1828
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1826
1829
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1827
1830
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1828
|
-
return i.
|
|
1831
|
+
return i.p9n($this$transformLatest, it, $completion);
|
|
1829
1832
|
};
|
|
1830
1833
|
l.$arity = 2;
|
|
1831
1834
|
return l;
|
|
1832
1835
|
}
|
|
1833
1836
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1834
|
-
this.
|
|
1837
|
+
this.z9i_1 = $this;
|
|
1835
1838
|
}
|
|
1836
1839
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1837
1840
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1843,7 +1846,7 @@
|
|
|
1843
1846
|
return this.m28(collector, $completion);
|
|
1844
1847
|
};
|
|
1845
1848
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1846
|
-
this.
|
|
1849
|
+
this.u9j_1 = $this;
|
|
1847
1850
|
}
|
|
1848
1851
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1849
1852
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1858,7 +1861,7 @@
|
|
|
1858
1861
|
return old.le_1 === new_0.le_1;
|
|
1859
1862
|
}
|
|
1860
1863
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1861
|
-
this.
|
|
1864
|
+
this.p9k_1 = $this;
|
|
1862
1865
|
}
|
|
1863
1866
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1864
1867
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1870,8 +1873,8 @@
|
|
|
1870
1873
|
return this.m28(collector, $completion);
|
|
1871
1874
|
};
|
|
1872
1875
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1873
|
-
this.
|
|
1874
|
-
this.
|
|
1876
|
+
this.z9n_1 = this$0;
|
|
1877
|
+
this.a9o_1 = $subscriber;
|
|
1875
1878
|
CoroutineImpl.call(this, resultContinuation);
|
|
1876
1879
|
}
|
|
1877
1880
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1892,8 +1895,8 @@
|
|
|
1892
1895
|
case 0:
|
|
1893
1896
|
this.s8_1 = 2;
|
|
1894
1897
|
this.r8_1 = 1;
|
|
1895
|
-
var tmp_0 =
|
|
1896
|
-
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);
|
|
1897
1900
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1898
1901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1899
1902
|
return suspendResult;
|
|
@@ -1917,8 +1920,8 @@
|
|
|
1917
1920
|
while (true);
|
|
1918
1921
|
};
|
|
1919
1922
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1920
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1921
|
-
i.
|
|
1923
|
+
var i = new GameServer$subscribeWith$slambda(this.z9n_1, this.a9o_1, completion);
|
|
1924
|
+
i.b9o_1 = $this$launchDefault;
|
|
1922
1925
|
return i;
|
|
1923
1926
|
};
|
|
1924
1927
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1930,18 +1933,18 @@
|
|
|
1930
1933
|
return l;
|
|
1931
1934
|
}
|
|
1932
1935
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1933
|
-
this.
|
|
1936
|
+
this.k9o_1 = $action;
|
|
1934
1937
|
CoroutineImpl.call(this, resultContinuation);
|
|
1935
1938
|
}
|
|
1936
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1937
|
-
var tmp = this.
|
|
1939
|
+
protoOf(GameServer$fromClientEvent$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
1940
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
1938
1941
|
tmp.t8_1 = Unit_instance;
|
|
1939
1942
|
tmp.u8_1 = null;
|
|
1940
1943
|
return tmp.z8();
|
|
1941
1944
|
};
|
|
1942
1945
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1943
1946
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1944
|
-
return this.
|
|
1947
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1945
1948
|
};
|
|
1946
1949
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1947
1950
|
var suspendResult = this.t8_1;
|
|
@@ -1950,11 +1953,11 @@
|
|
|
1950
1953
|
var tmp = this.r8_1;
|
|
1951
1954
|
if (tmp === 0) {
|
|
1952
1955
|
this.s8_1 = 1;
|
|
1953
|
-
if (this.
|
|
1954
|
-
if (!get_isCreated(this.
|
|
1956
|
+
if (this.k9o_1 instanceof PlayerReadyFromClientAction)
|
|
1957
|
+
if (!get_isCreated(this.m9o_1.state)) {
|
|
1955
1958
|
return Unit_instance;
|
|
1956
1959
|
}
|
|
1957
|
-
this.
|
|
1960
|
+
this.m9o_1.dispatch(this.k9o_1);
|
|
1958
1961
|
return Unit_instance;
|
|
1959
1962
|
} else if (tmp === 1) {
|
|
1960
1963
|
throw this.u8_1;
|
|
@@ -1965,33 +1968,33 @@
|
|
|
1965
1968
|
}
|
|
1966
1969
|
while (true);
|
|
1967
1970
|
};
|
|
1968
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1969
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1970
|
-
i.
|
|
1971
|
-
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;
|
|
1972
1975
|
return i;
|
|
1973
1976
|
};
|
|
1974
1977
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1975
1978
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1976
1979
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1977
|
-
return i.
|
|
1980
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
1978
1981
|
};
|
|
1979
1982
|
l.$arity = 2;
|
|
1980
1983
|
return l;
|
|
1981
1984
|
}
|
|
1982
1985
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1983
|
-
this.
|
|
1986
|
+
this.x9o_1 = $playerId;
|
|
1984
1987
|
CoroutineImpl.call(this, resultContinuation);
|
|
1985
1988
|
}
|
|
1986
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1987
|
-
var tmp = this.
|
|
1989
|
+
protoOf(GameServer$playerLostConnection$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
1990
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
1988
1991
|
tmp.t8_1 = Unit_instance;
|
|
1989
1992
|
tmp.u8_1 = null;
|
|
1990
1993
|
return tmp.z8();
|
|
1991
1994
|
};
|
|
1992
1995
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1993
1996
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1994
|
-
return this.
|
|
1997
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1995
1998
|
};
|
|
1996
1999
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1997
2000
|
var suspendResult = this.t8_1;
|
|
@@ -2000,12 +2003,12 @@
|
|
|
2000
2003
|
var tmp = this.r8_1;
|
|
2001
2004
|
if (tmp === 0) {
|
|
2002
2005
|
this.s8_1 = 1;
|
|
2003
|
-
if (!get_isCreated(this.
|
|
2006
|
+
if (!get_isCreated(this.z9o_1.state)) {
|
|
2004
2007
|
return Unit_instance;
|
|
2005
2008
|
}
|
|
2006
|
-
var tmp_0 = this.
|
|
2009
|
+
var tmp_0 = this.z9o_1.dispatch;
|
|
2007
2010
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2008
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2011
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.x9o_1));
|
|
2009
2012
|
return Unit_instance;
|
|
2010
2013
|
} else if (tmp === 1) {
|
|
2011
2014
|
throw this.u8_1;
|
|
@@ -2016,34 +2019,34 @@
|
|
|
2016
2019
|
}
|
|
2017
2020
|
while (true);
|
|
2018
2021
|
};
|
|
2019
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2020
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2021
|
-
i.
|
|
2022
|
-
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;
|
|
2023
2026
|
return i;
|
|
2024
2027
|
};
|
|
2025
2028
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2026
2029
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2027
2030
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2028
|
-
return i.
|
|
2031
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2029
2032
|
};
|
|
2030
2033
|
l.$arity = 2;
|
|
2031
2034
|
return l;
|
|
2032
2035
|
}
|
|
2033
2036
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2034
|
-
this.
|
|
2035
|
-
this.
|
|
2037
|
+
this.i9p_1 = this$0;
|
|
2038
|
+
this.j9p_1 = $playerId;
|
|
2036
2039
|
CoroutineImpl.call(this, resultContinuation);
|
|
2037
2040
|
}
|
|
2038
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2039
|
-
var tmp = this.
|
|
2041
|
+
protoOf(GameServer$playerLive$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2042
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2040
2043
|
tmp.t8_1 = Unit_instance;
|
|
2041
2044
|
tmp.u8_1 = null;
|
|
2042
2045
|
return tmp.z8();
|
|
2043
2046
|
};
|
|
2044
2047
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2045
2048
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2046
|
-
return this.
|
|
2049
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2047
2050
|
};
|
|
2048
2051
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2049
2052
|
var suspendResult = this.t8_1;
|
|
@@ -2052,16 +2055,16 @@
|
|
|
2052
2055
|
var tmp = this.r8_1;
|
|
2053
2056
|
if (tmp === 0) {
|
|
2054
2057
|
this.s8_1 = 1;
|
|
2055
|
-
if (get_isFinished(this.
|
|
2058
|
+
if (get_isFinished(this.l9p_1.state) || get_isFinishing(this.l9p_1.state)) {
|
|
2056
2059
|
return Unit_instance;
|
|
2057
2060
|
}
|
|
2058
|
-
if (!get_isCreated(this.
|
|
2059
|
-
_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');
|
|
2060
2063
|
return Unit_instance;
|
|
2061
2064
|
}
|
|
2062
|
-
var tmp_0 = this.
|
|
2065
|
+
var tmp_0 = this.l9p_1.dispatch;
|
|
2063
2066
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2064
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2067
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.j9p_1));
|
|
2065
2068
|
return Unit_instance;
|
|
2066
2069
|
} else if (tmp === 1) {
|
|
2067
2070
|
throw this.u8_1;
|
|
@@ -2072,34 +2075,34 @@
|
|
|
2072
2075
|
}
|
|
2073
2076
|
while (true);
|
|
2074
2077
|
};
|
|
2075
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2076
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2077
|
-
i.
|
|
2078
|
-
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;
|
|
2079
2082
|
return i;
|
|
2080
2083
|
};
|
|
2081
2084
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2082
2085
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2083
2086
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2084
|
-
return i.
|
|
2087
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2085
2088
|
};
|
|
2086
2089
|
l.$arity = 2;
|
|
2087
2090
|
return l;
|
|
2088
2091
|
}
|
|
2089
2092
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2090
|
-
this.
|
|
2091
|
-
this.
|
|
2093
|
+
this.u9p_1 = this$0;
|
|
2094
|
+
this.v9p_1 = $playerId;
|
|
2092
2095
|
CoroutineImpl.call(this, resultContinuation);
|
|
2093
2096
|
}
|
|
2094
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2095
|
-
var tmp = this.
|
|
2097
|
+
protoOf(GameServer$playerLeft$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2098
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2096
2099
|
tmp.t8_1 = Unit_instance;
|
|
2097
2100
|
tmp.u8_1 = null;
|
|
2098
2101
|
return tmp.z8();
|
|
2099
2102
|
};
|
|
2100
2103
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2101
2104
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2102
|
-
return this.
|
|
2105
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2103
2106
|
};
|
|
2104
2107
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2105
2108
|
var suspendResult = this.t8_1;
|
|
@@ -2108,16 +2111,16 @@
|
|
|
2108
2111
|
var tmp = this.r8_1;
|
|
2109
2112
|
if (tmp === 0) {
|
|
2110
2113
|
this.s8_1 = 1;
|
|
2111
|
-
if (get_isFinished(this.
|
|
2114
|
+
if (get_isFinished(this.x9p_1.state) || get_isFinishing(this.x9p_1.state)) {
|
|
2112
2115
|
return Unit_instance;
|
|
2113
2116
|
}
|
|
2114
|
-
if (!get_isCreated(this.
|
|
2115
|
-
_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');
|
|
2116
2119
|
return Unit_instance;
|
|
2117
2120
|
}
|
|
2118
|
-
var tmp_0 = this.
|
|
2121
|
+
var tmp_0 = this.x9p_1.dispatch;
|
|
2119
2122
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2120
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2123
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.v9p_1));
|
|
2121
2124
|
return Unit_instance;
|
|
2122
2125
|
} else if (tmp === 1) {
|
|
2123
2126
|
throw this.u8_1;
|
|
@@ -2128,39 +2131,39 @@
|
|
|
2128
2131
|
}
|
|
2129
2132
|
while (true);
|
|
2130
2133
|
};
|
|
2131
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2132
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2133
|
-
i.
|
|
2134
|
-
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;
|
|
2135
2138
|
return i;
|
|
2136
2139
|
};
|
|
2137
2140
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2138
2141
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2139
2142
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2140
|
-
return i.
|
|
2143
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2141
2144
|
};
|
|
2142
2145
|
l.$arity = 2;
|
|
2143
2146
|
return l;
|
|
2144
2147
|
}
|
|
2145
2148
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
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;
|
|
2153
2156
|
CoroutineImpl.call(this, resultContinuation);
|
|
2154
2157
|
}
|
|
2155
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2156
|
-
var tmp = this.
|
|
2158
|
+
protoOf(GameServer$roomOnCreate$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2159
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2157
2160
|
tmp.t8_1 = Unit_instance;
|
|
2158
2161
|
tmp.u8_1 = null;
|
|
2159
2162
|
return tmp.z8();
|
|
2160
2163
|
};
|
|
2161
2164
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2162
2165
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2163
|
-
return this.
|
|
2166
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2164
2167
|
};
|
|
2165
2168
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2166
2169
|
var suspendResult = this.t8_1;
|
|
@@ -2169,21 +2172,21 @@
|
|
|
2169
2172
|
var tmp = this.r8_1;
|
|
2170
2173
|
if (tmp === 0) {
|
|
2171
2174
|
this.s8_1 = 1;
|
|
2172
|
-
var users = toList(this.
|
|
2173
|
-
if (!(this.
|
|
2174
|
-
_get_logger__rkp4sl(this.
|
|
2175
|
-
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));
|
|
2176
2179
|
return Unit_instance;
|
|
2177
2180
|
}
|
|
2178
2181
|
var tmp_0;
|
|
2179
|
-
if (this.
|
|
2180
|
-
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));
|
|
2181
2184
|
} else {
|
|
2182
|
-
var tmp0_safe_receiver = this.
|
|
2185
|
+
var tmp0_safe_receiver = this.k9q_1;
|
|
2183
2186
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2184
2187
|
var tmp_1;
|
|
2185
|
-
if (!(previousPlayers == null) && this.
|
|
2186
|
-
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);
|
|
2187
2190
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2188
2191
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2189
2192
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -2214,19 +2217,19 @@
|
|
|
2214
2217
|
destination_1.j(destination_2);
|
|
2215
2218
|
}
|
|
2216
2219
|
var updatedTeams = destination_1;
|
|
2217
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2220
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.i9q_1).g8j(updatedTeams);
|
|
2218
2221
|
} else {
|
|
2219
2222
|
tmp_1 = users;
|
|
2220
2223
|
}
|
|
2221
2224
|
tmp_0 = tmp_1;
|
|
2222
2225
|
}
|
|
2223
2226
|
var updatedUsers = tmp_0;
|
|
2224
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2225
|
-
var tmp_3 = this.
|
|
2227
|
+
var gameCreatorUser = getPlayer(users, this.l9q_1);
|
|
2228
|
+
var tmp_3 = this.o9q_1.dispatch;
|
|
2226
2229
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2227
2230
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2228
|
-
var tmp3_spectators = toList(this.
|
|
2229
|
-
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));
|
|
2230
2233
|
return Unit_instance;
|
|
2231
2234
|
} else if (tmp === 1) {
|
|
2232
2235
|
throw this.u8_1;
|
|
@@ -2237,33 +2240,33 @@
|
|
|
2237
2240
|
}
|
|
2238
2241
|
while (true);
|
|
2239
2242
|
};
|
|
2240
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2241
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2242
|
-
i.
|
|
2243
|
-
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;
|
|
2244
2247
|
return i;
|
|
2245
2248
|
};
|
|
2246
2249
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2247
2250
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2248
2251
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2249
|
-
return i.
|
|
2252
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2250
2253
|
};
|
|
2251
2254
|
l.$arity = 2;
|
|
2252
2255
|
return l;
|
|
2253
2256
|
}
|
|
2254
2257
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2255
|
-
this.
|
|
2258
|
+
this.x9q_1 = $state;
|
|
2256
2259
|
CoroutineImpl.call(this, resultContinuation);
|
|
2257
2260
|
}
|
|
2258
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2259
|
-
var tmp = this.
|
|
2261
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).a9r = function ($this$dispatchAwait, store, $completion) {
|
|
2262
|
+
var tmp = this.o9o($this$dispatchAwait, store, $completion);
|
|
2260
2263
|
tmp.t8_1 = Unit_instance;
|
|
2261
2264
|
tmp.u8_1 = null;
|
|
2262
2265
|
return tmp.z8();
|
|
2263
2266
|
};
|
|
2264
2267
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2265
2268
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2266
|
-
return this.
|
|
2269
|
+
return this.a9r(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2267
2270
|
};
|
|
2268
2271
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2269
2272
|
var suspendResult = this.t8_1;
|
|
@@ -2272,10 +2275,10 @@
|
|
|
2272
2275
|
var tmp = this.r8_1;
|
|
2273
2276
|
if (tmp === 0) {
|
|
2274
2277
|
this.s8_1 = 1;
|
|
2275
|
-
if (get_isCreating(this.
|
|
2276
|
-
var tmp_0 = this.
|
|
2278
|
+
if (get_isCreating(this.z9q_1.state)) {
|
|
2279
|
+
var tmp_0 = this.z9q_1.dispatch;
|
|
2277
2280
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2278
|
-
var tmp1_table = this.
|
|
2281
|
+
var tmp1_table = this.x9q_1.table;
|
|
2279
2282
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2280
2283
|
return true;
|
|
2281
2284
|
}
|
|
@@ -2289,34 +2292,34 @@
|
|
|
2289
2292
|
}
|
|
2290
2293
|
while (true);
|
|
2291
2294
|
};
|
|
2292
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2293
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2294
|
-
i.
|
|
2295
|
-
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;
|
|
2296
2299
|
return i;
|
|
2297
2300
|
};
|
|
2298
2301
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2299
2302
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2300
2303
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2301
|
-
return i.
|
|
2304
|
+
return i.a9r($this$dispatchAwait, store, $completion);
|
|
2302
2305
|
};
|
|
2303
2306
|
l.$arity = 2;
|
|
2304
2307
|
return l;
|
|
2305
2308
|
}
|
|
2306
2309
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2307
|
-
this.
|
|
2308
|
-
this.
|
|
2310
|
+
this.j9r_1 = $isCreated;
|
|
2311
|
+
this.k9r_1 = $state;
|
|
2309
2312
|
CoroutineImpl.call(this, resultContinuation);
|
|
2310
2313
|
}
|
|
2311
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2312
|
-
var tmp = this.
|
|
2314
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2315
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2313
2316
|
tmp.t8_1 = Unit_instance;
|
|
2314
2317
|
tmp.u8_1 = null;
|
|
2315
2318
|
return tmp.z8();
|
|
2316
2319
|
};
|
|
2317
2320
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2318
2321
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2319
|
-
return this.
|
|
2322
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2320
2323
|
};
|
|
2321
2324
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2322
2325
|
var suspendResult = this.t8_1;
|
|
@@ -2327,7 +2330,7 @@
|
|
|
2327
2330
|
case 0:
|
|
2328
2331
|
this.s8_1 = 3;
|
|
2329
2332
|
this.r8_1 = 1;
|
|
2330
|
-
suspendResult = this.
|
|
2333
|
+
suspendResult = this.j9r_1.z1t(this);
|
|
2331
2334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2332
2335
|
return suspendResult;
|
|
2333
2336
|
}
|
|
@@ -2335,10 +2338,10 @@
|
|
|
2335
2338
|
continue $sm;
|
|
2336
2339
|
case 1:
|
|
2337
2340
|
if (suspendResult) {
|
|
2338
|
-
var _iterator__ex2g4s = this.
|
|
2341
|
+
var _iterator__ex2g4s = this.k9r_1.actions.l();
|
|
2339
2342
|
while (_iterator__ex2g4s.m()) {
|
|
2340
2343
|
var element = _iterator__ex2g4s.n();
|
|
2341
|
-
this.
|
|
2344
|
+
this.m9r_1.dispatch(element);
|
|
2342
2345
|
}
|
|
2343
2346
|
this.r8_1 = 2;
|
|
2344
2347
|
continue $sm;
|
|
@@ -2363,35 +2366,35 @@
|
|
|
2363
2366
|
}
|
|
2364
2367
|
while (true);
|
|
2365
2368
|
};
|
|
2366
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2367
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2368
|
-
i.
|
|
2369
|
-
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;
|
|
2370
2373
|
return i;
|
|
2371
2374
|
};
|
|
2372
2375
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2373
2376
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2374
2377
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2375
|
-
return i.
|
|
2378
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2376
2379
|
};
|
|
2377
2380
|
l.$arity = 2;
|
|
2378
2381
|
return l;
|
|
2379
2382
|
}
|
|
2380
2383
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2381
|
-
this.
|
|
2382
|
-
this.
|
|
2383
|
-
this.
|
|
2384
|
+
this.v9r_1 = $tableLite;
|
|
2385
|
+
this.w9r_1 = $roomId;
|
|
2386
|
+
this.x9r_1 = this$0;
|
|
2384
2387
|
CoroutineImpl.call(this, resultContinuation);
|
|
2385
2388
|
}
|
|
2386
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2387
|
-
var tmp = this.
|
|
2389
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2390
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2388
2391
|
tmp.t8_1 = Unit_instance;
|
|
2389
2392
|
tmp.u8_1 = null;
|
|
2390
2393
|
return tmp.z8();
|
|
2391
2394
|
};
|
|
2392
2395
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2393
2396
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2394
|
-
return this.
|
|
2397
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2395
2398
|
};
|
|
2396
2399
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2397
2400
|
var suspendResult = this.t8_1;
|
|
@@ -2400,9 +2403,9 @@
|
|
|
2400
2403
|
var tmp = this.r8_1;
|
|
2401
2404
|
if (tmp === 0) {
|
|
2402
2405
|
this.s8_1 = 1;
|
|
2403
|
-
var tmp_0 = this.
|
|
2404
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2405
|
-
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);
|
|
2406
2409
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2407
2410
|
return Unit_instance;
|
|
2408
2411
|
} else if (tmp === 1) {
|
|
@@ -2414,16 +2417,16 @@
|
|
|
2414
2417
|
}
|
|
2415
2418
|
while (true);
|
|
2416
2419
|
};
|
|
2417
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2418
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2419
|
-
i.
|
|
2420
|
-
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;
|
|
2421
2424
|
return i;
|
|
2422
2425
|
};
|
|
2423
2426
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2424
2427
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2425
2428
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2426
|
-
return i.
|
|
2429
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2427
2430
|
};
|
|
2428
2431
|
l.$arity = 2;
|
|
2429
2432
|
return l;
|
|
@@ -2431,15 +2434,15 @@
|
|
|
2431
2434
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2432
2435
|
CoroutineImpl.call(this, resultContinuation);
|
|
2433
2436
|
}
|
|
2434
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2435
|
-
var tmp = this.
|
|
2437
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2438
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2436
2439
|
tmp.t8_1 = Unit_instance;
|
|
2437
2440
|
tmp.u8_1 = null;
|
|
2438
2441
|
return tmp.z8();
|
|
2439
2442
|
};
|
|
2440
2443
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2441
2444
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2442
|
-
return this.
|
|
2445
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2443
2446
|
};
|
|
2444
2447
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2445
2448
|
var suspendResult = this.t8_1;
|
|
@@ -2448,7 +2451,7 @@
|
|
|
2448
2451
|
var tmp = this.r8_1;
|
|
2449
2452
|
if (tmp === 0) {
|
|
2450
2453
|
this.s8_1 = 1;
|
|
2451
|
-
this.
|
|
2454
|
+
this.j9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2452
2455
|
return Unit_instance;
|
|
2453
2456
|
} else if (tmp === 1) {
|
|
2454
2457
|
throw this.u8_1;
|
|
@@ -2459,33 +2462,33 @@
|
|
|
2459
2462
|
}
|
|
2460
2463
|
while (true);
|
|
2461
2464
|
};
|
|
2462
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2465
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).o9o = function ($this$dispatchAsync, store, completion) {
|
|
2463
2466
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2464
|
-
i.
|
|
2465
|
-
i.
|
|
2467
|
+
i.i9s_1 = $this$dispatchAsync;
|
|
2468
|
+
i.j9s_1 = store;
|
|
2466
2469
|
return i;
|
|
2467
2470
|
};
|
|
2468
2471
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2469
2472
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2470
2473
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2471
|
-
return i.
|
|
2474
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2472
2475
|
};
|
|
2473
2476
|
l.$arity = 2;
|
|
2474
2477
|
return l;
|
|
2475
2478
|
}
|
|
2476
2479
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2477
|
-
this.
|
|
2480
|
+
this.s9s_1 = $spectators;
|
|
2478
2481
|
CoroutineImpl.call(this, resultContinuation);
|
|
2479
2482
|
}
|
|
2480
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2481
|
-
var tmp = this.
|
|
2483
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2484
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2482
2485
|
tmp.t8_1 = Unit_instance;
|
|
2483
2486
|
tmp.u8_1 = null;
|
|
2484
2487
|
return tmp.z8();
|
|
2485
2488
|
};
|
|
2486
2489
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2487
2490
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2488
|
-
return this.
|
|
2491
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2489
2492
|
};
|
|
2490
2493
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2491
2494
|
var suspendResult = this.t8_1;
|
|
@@ -2494,7 +2497,7 @@
|
|
|
2494
2497
|
var tmp = this.r8_1;
|
|
2495
2498
|
if (tmp === 0) {
|
|
2496
2499
|
this.s8_1 = 1;
|
|
2497
|
-
this.
|
|
2500
|
+
this.u9s_1.dispatch(new AddSpectatorsAction(toList(this.s9s_1)));
|
|
2498
2501
|
return Unit_instance;
|
|
2499
2502
|
} else if (tmp === 1) {
|
|
2500
2503
|
throw this.u8_1;
|
|
@@ -2505,33 +2508,33 @@
|
|
|
2505
2508
|
}
|
|
2506
2509
|
while (true);
|
|
2507
2510
|
};
|
|
2508
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2509
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2510
|
-
i.
|
|
2511
|
-
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;
|
|
2512
2515
|
return i;
|
|
2513
2516
|
};
|
|
2514
2517
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2515
2518
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2516
2519
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2517
|
-
return i.
|
|
2520
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2518
2521
|
};
|
|
2519
2522
|
l.$arity = 2;
|
|
2520
2523
|
return l;
|
|
2521
2524
|
}
|
|
2522
2525
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2523
|
-
this.
|
|
2526
|
+
this.d9t_1 = $spectators;
|
|
2524
2527
|
CoroutineImpl.call(this, resultContinuation);
|
|
2525
2528
|
}
|
|
2526
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2527
|
-
var tmp = this.
|
|
2529
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2530
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2528
2531
|
tmp.t8_1 = Unit_instance;
|
|
2529
2532
|
tmp.u8_1 = null;
|
|
2530
2533
|
return tmp.z8();
|
|
2531
2534
|
};
|
|
2532
2535
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2533
2536
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2534
|
-
return this.
|
|
2537
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2535
2538
|
};
|
|
2536
2539
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2537
2540
|
var suspendResult = this.t8_1;
|
|
@@ -2540,7 +2543,7 @@
|
|
|
2540
2543
|
var tmp = this.r8_1;
|
|
2541
2544
|
if (tmp === 0) {
|
|
2542
2545
|
this.s8_1 = 1;
|
|
2543
|
-
this.
|
|
2546
|
+
this.f9t_1.dispatch(new RemoveSpectatorsAction(toList(this.d9t_1)));
|
|
2544
2547
|
return Unit_instance;
|
|
2545
2548
|
} else if (tmp === 1) {
|
|
2546
2549
|
throw this.u8_1;
|
|
@@ -2551,34 +2554,34 @@
|
|
|
2551
2554
|
}
|
|
2552
2555
|
while (true);
|
|
2553
2556
|
};
|
|
2554
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2555
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2556
|
-
i.
|
|
2557
|
-
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;
|
|
2558
2561
|
return i;
|
|
2559
2562
|
};
|
|
2560
2563
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2561
2564
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2562
2565
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2563
|
-
return i.
|
|
2566
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2564
2567
|
};
|
|
2565
2568
|
l.$arity = 2;
|
|
2566
2569
|
return l;
|
|
2567
2570
|
}
|
|
2568
2571
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2569
|
-
this.
|
|
2570
|
-
this.
|
|
2572
|
+
this.o9t_1 = $playerId;
|
|
2573
|
+
this.p9t_1 = this$0;
|
|
2571
2574
|
CoroutineImpl.call(this, resultContinuation);
|
|
2572
2575
|
}
|
|
2573
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2574
|
-
var tmp = this.
|
|
2576
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2577
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2575
2578
|
tmp.t8_1 = Unit_instance;
|
|
2576
2579
|
tmp.u8_1 = null;
|
|
2577
2580
|
return tmp.z8();
|
|
2578
2581
|
};
|
|
2579
2582
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2580
2583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2581
|
-
return this.
|
|
2584
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2582
2585
|
};
|
|
2583
2586
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2584
2587
|
var suspendResult = this.t8_1;
|
|
@@ -2587,14 +2590,14 @@
|
|
|
2587
2590
|
var tmp = this.r8_1;
|
|
2588
2591
|
if (tmp === 0) {
|
|
2589
2592
|
this.s8_1 = 1;
|
|
2590
|
-
var table = this.
|
|
2591
|
-
var player = getPlayer(table.players, this.
|
|
2593
|
+
var table = this.r9t_1.state.n6n();
|
|
2594
|
+
var player = getPlayer(table.players, this.o9t_1);
|
|
2592
2595
|
if (player.o6q_1.v68().m67_1.isLive) {
|
|
2593
|
-
this.
|
|
2596
|
+
this.r9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.p9t_1).w8p(player, table));
|
|
2594
2597
|
} else {
|
|
2595
|
-
var tmp_0 = this.
|
|
2598
|
+
var tmp_0 = this.r9t_1.dispatch;
|
|
2596
2599
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2597
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2600
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.o9t_1));
|
|
2598
2601
|
}
|
|
2599
2602
|
return Unit_instance;
|
|
2600
2603
|
} else if (tmp === 1) {
|
|
@@ -2606,34 +2609,34 @@
|
|
|
2606
2609
|
}
|
|
2607
2610
|
while (true);
|
|
2608
2611
|
};
|
|
2609
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2610
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2611
|
-
i.
|
|
2612
|
-
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;
|
|
2613
2616
|
return i;
|
|
2614
2617
|
};
|
|
2615
2618
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2616
2619
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2617
2620
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2618
|
-
return i.
|
|
2621
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2619
2622
|
};
|
|
2620
2623
|
l.$arity = 2;
|
|
2621
2624
|
return l;
|
|
2622
2625
|
}
|
|
2623
2626
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2624
|
-
this.
|
|
2625
|
-
this.
|
|
2627
|
+
this.a9u_1 = this$0;
|
|
2628
|
+
this.b9u_1 = $newRid;
|
|
2626
2629
|
CoroutineImpl.call(this, resultContinuation);
|
|
2627
2630
|
}
|
|
2628
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2629
|
-
var tmp = this.
|
|
2631
|
+
protoOf(GameServer$roomOnDelete$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2632
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2630
2633
|
tmp.t8_1 = Unit_instance;
|
|
2631
2634
|
tmp.u8_1 = null;
|
|
2632
2635
|
return tmp.z8();
|
|
2633
2636
|
};
|
|
2634
2637
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2635
2638
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2636
|
-
return this.
|
|
2639
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2637
2640
|
};
|
|
2638
2641
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2639
2642
|
var suspendResult = this.t8_1;
|
|
@@ -2642,10 +2645,10 @@
|
|
|
2642
2645
|
var tmp = this.r8_1;
|
|
2643
2646
|
if (tmp === 0) {
|
|
2644
2647
|
this.s8_1 = 1;
|
|
2645
|
-
var it = this.
|
|
2648
|
+
var it = this.a9u_1.s66().n6m_1;
|
|
2646
2649
|
var tmp_0;
|
|
2647
2650
|
if (it == null) {
|
|
2648
|
-
_get_logger__rkp4sl(this.
|
|
2651
|
+
_get_logger__rkp4sl(this.a9u_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2649
2652
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2650
2653
|
} else {
|
|
2651
2654
|
tmp_0 = it;
|
|
@@ -2654,15 +2657,15 @@
|
|
|
2654
2657
|
var gameTransition = terminationState.t8t_1;
|
|
2655
2658
|
var tmp_1;
|
|
2656
2659
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2657
|
-
var tmp0_elvis_lhs = this.
|
|
2660
|
+
var tmp0_elvis_lhs = this.b9u_1;
|
|
2658
2661
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2659
2662
|
} else {
|
|
2660
2663
|
tmp_1 = gameTransition;
|
|
2661
2664
|
}
|
|
2662
2665
|
var transition = tmp_1;
|
|
2663
|
-
var tmp_2 = this.
|
|
2666
|
+
var tmp_2 = this.d9u_1.dispatch;
|
|
2664
2667
|
var tmp0_reason = terminationState.s8t_1;
|
|
2665
|
-
var tmp1_isGameFinished = this.
|
|
2668
|
+
var tmp1_isGameFinished = this.a9u_1.s66().n6n().isGameFinished;
|
|
2666
2669
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2667
2670
|
return Unit_instance;
|
|
2668
2671
|
} else if (tmp === 1) {
|
|
@@ -2674,33 +2677,33 @@
|
|
|
2674
2677
|
}
|
|
2675
2678
|
while (true);
|
|
2676
2679
|
};
|
|
2677
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2678
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2679
|
-
i.
|
|
2680
|
-
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;
|
|
2681
2684
|
return i;
|
|
2682
2685
|
};
|
|
2683
2686
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2684
2687
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2685
2688
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2686
|
-
return i.
|
|
2689
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2687
2690
|
};
|
|
2688
2691
|
l.$arity = 2;
|
|
2689
2692
|
return l;
|
|
2690
2693
|
}
|
|
2691
2694
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2692
|
-
this.
|
|
2695
|
+
this.m9u_1 = $enabled;
|
|
2693
2696
|
CoroutineImpl.call(this, resultContinuation);
|
|
2694
2697
|
}
|
|
2695
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2696
|
-
var tmp = this.
|
|
2698
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2699
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2697
2700
|
tmp.t8_1 = Unit_instance;
|
|
2698
2701
|
tmp.u8_1 = null;
|
|
2699
2702
|
return tmp.z8();
|
|
2700
2703
|
};
|
|
2701
2704
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2702
2705
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2703
|
-
return this.
|
|
2706
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2704
2707
|
};
|
|
2705
2708
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2706
2709
|
var suspendResult = this.t8_1;
|
|
@@ -2709,7 +2712,7 @@
|
|
|
2709
2712
|
var tmp = this.r8_1;
|
|
2710
2713
|
if (tmp === 0) {
|
|
2711
2714
|
this.s8_1 = 1;
|
|
2712
|
-
this.
|
|
2715
|
+
this.o9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.o9u_1.state).config.copy(VOID, this.m9u_1)));
|
|
2713
2716
|
return Unit_instance;
|
|
2714
2717
|
} else if (tmp === 1) {
|
|
2715
2718
|
throw this.u8_1;
|
|
@@ -2720,35 +2723,35 @@
|
|
|
2720
2723
|
}
|
|
2721
2724
|
while (true);
|
|
2722
2725
|
};
|
|
2723
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2724
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2725
|
-
i.
|
|
2726
|
-
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;
|
|
2727
2730
|
return i;
|
|
2728
2731
|
};
|
|
2729
2732
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2730
2733
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2731
2734
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2732
|
-
return i.
|
|
2735
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2733
2736
|
};
|
|
2734
2737
|
l.$arity = 2;
|
|
2735
2738
|
return l;
|
|
2736
2739
|
}
|
|
2737
2740
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2738
|
-
this.
|
|
2739
|
-
this.
|
|
2740
|
-
this.
|
|
2741
|
+
this.x9u_1 = $reason;
|
|
2742
|
+
this.y9u_1 = this$0;
|
|
2743
|
+
this.z9u_1 = $roomId;
|
|
2741
2744
|
CoroutineImpl.call(this, resultContinuation);
|
|
2742
2745
|
}
|
|
2743
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2744
|
-
var tmp = this.
|
|
2746
|
+
protoOf(GameServer$shutdown$slambda).n9o = function ($this$dispatchAsync, store, $completion) {
|
|
2747
|
+
var tmp = this.o9o($this$dispatchAsync, store, $completion);
|
|
2745
2748
|
tmp.t8_1 = Unit_instance;
|
|
2746
2749
|
tmp.u8_1 = null;
|
|
2747
2750
|
return tmp.z8();
|
|
2748
2751
|
};
|
|
2749
2752
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2750
2753
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2751
|
-
return this.
|
|
2754
|
+
return this.n9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2752
2755
|
};
|
|
2753
2756
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2754
2757
|
var suspendResult = this.t8_1;
|
|
@@ -2757,11 +2760,11 @@
|
|
|
2757
2760
|
var tmp = this.r8_1;
|
|
2758
2761
|
if (tmp === 0) {
|
|
2759
2762
|
this.s8_1 = 1;
|
|
2760
|
-
var state = this.
|
|
2763
|
+
var state = this.b9v_1.store.state;
|
|
2761
2764
|
if (state.o6n()) {
|
|
2762
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2765
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.x9u_1, get_serverShutdownReasonMapping());
|
|
2763
2766
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2764
|
-
var tmp_0 = this.
|
|
2767
|
+
var tmp_0 = this.b9v_1.dispatch;
|
|
2765
2768
|
var tmp_1 = Companion_instance;
|
|
2766
2769
|
var tmp_2;
|
|
2767
2770
|
switch (shutdownReason.p2_1) {
|
|
@@ -2775,10 +2778,10 @@
|
|
|
2775
2778
|
noWhenBranchMatchedException();
|
|
2776
2779
|
break;
|
|
2777
2780
|
}
|
|
2778
|
-
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));
|
|
2779
2782
|
} else {
|
|
2780
|
-
_get_logger__rkp4sl(this.
|
|
2781
|
-
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;
|
|
2782
2785
|
var tmp2_safe_receiver = state.n6m_1;
|
|
2783
2786
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t8t_1));
|
|
2784
2787
|
}
|
|
@@ -2792,16 +2795,16 @@
|
|
|
2792
2795
|
}
|
|
2793
2796
|
while (true);
|
|
2794
2797
|
};
|
|
2795
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2796
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2797
|
-
i.
|
|
2798
|
-
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;
|
|
2799
2802
|
return i;
|
|
2800
2803
|
};
|
|
2801
2804
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2802
2805
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2803
2806
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2804
|
-
return i.
|
|
2807
|
+
return i.n9o($this$dispatchAsync, store, $completion);
|
|
2805
2808
|
};
|
|
2806
2809
|
l.$arity = 2;
|
|
2807
2810
|
return l;
|
|
@@ -2832,7 +2835,7 @@
|
|
|
2832
2835
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2833
2836
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2834
2837
|
var tmp_4 = KProperty1;
|
|
2835
|
-
tmp_1.
|
|
2838
|
+
tmp_1.f9l_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2836
2839
|
var tmp_5 = this;
|
|
2837
2840
|
// Inline function 'org.kodein.di.instance' call
|
|
2838
2841
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2840,7 +2843,7 @@
|
|
|
2840
2843
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2841
2844
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2842
2845
|
var tmp_8 = KProperty1;
|
|
2843
|
-
tmp_5.
|
|
2846
|
+
tmp_5.g9l_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2844
2847
|
var tmp_9 = this;
|
|
2845
2848
|
// Inline function 'org.kodein.di.instance' call
|
|
2846
2849
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2848,7 +2851,7 @@
|
|
|
2848
2851
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2849
2852
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2850
2853
|
var tmp_12 = KProperty1;
|
|
2851
|
-
tmp_9.
|
|
2854
|
+
tmp_9.h9l_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2852
2855
|
var tmp_13 = this;
|
|
2853
2856
|
// Inline function 'org.kodein.di.instance' call
|
|
2854
2857
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2856,7 +2859,7 @@
|
|
|
2856
2859
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2857
2860
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2858
2861
|
var tmp_16 = KProperty1;
|
|
2859
|
-
tmp_13.
|
|
2862
|
+
tmp_13.i9l_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2860
2863
|
var tmp_17 = this;
|
|
2861
2864
|
// Inline function 'org.kodein.di.instance' call
|
|
2862
2865
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2864,9 +2867,9 @@
|
|
|
2864
2867
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2865
2868
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2866
2869
|
var tmp_20 = KProperty1;
|
|
2867
|
-
tmp_17.
|
|
2870
|
+
tmp_17.j9l_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2868
2871
|
var tmp_21 = this;
|
|
2869
|
-
tmp_21.
|
|
2872
|
+
tmp_21.k9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2870
2873
|
var tmp_22 = this;
|
|
2871
2874
|
// Inline function 'org.kodein.di.instance' call
|
|
2872
2875
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2874,7 +2877,7 @@
|
|
|
2874
2877
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2875
2878
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2876
2879
|
var tmp_25 = KProperty1;
|
|
2877
|
-
tmp_22.
|
|
2880
|
+
tmp_22.l9l_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2878
2881
|
var tmp_26 = this;
|
|
2879
2882
|
// Inline function 'org.kodein.di.instance' call
|
|
2880
2883
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2882,7 +2885,7 @@
|
|
|
2882
2885
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2883
2886
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2884
2887
|
var tmp_29 = KProperty1;
|
|
2885
|
-
tmp_26.
|
|
2888
|
+
tmp_26.m9l_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2886
2889
|
var tmp_30 = this;
|
|
2887
2890
|
// Inline function 'org.kodein.di.instance' call
|
|
2888
2891
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2890,14 +2893,14 @@
|
|
|
2890
2893
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2891
2894
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2892
2895
|
var tmp_33 = KProperty1;
|
|
2893
|
-
tmp_30.
|
|
2896
|
+
tmp_30.n9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2894
2897
|
var tmp_34 = this;
|
|
2895
2898
|
var tmp0_externalMiddlewares = plus(storeContract.g8y(), externalMiddlewares);
|
|
2896
2899
|
var tmp1_externalReducers = plus(storeContract.f8y(), externalReducers);
|
|
2897
|
-
tmp_34.
|
|
2900
|
+
tmp_34.o9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2898
2901
|
}
|
|
2899
2902
|
protoOf(GameServer).b6m = function () {
|
|
2900
|
-
return this.
|
|
2903
|
+
return this.o9l_1;
|
|
2901
2904
|
};
|
|
2902
2905
|
protoOf(GameServer).w53 = function () {
|
|
2903
2906
|
return this.s66().n6n().id;
|
|
@@ -2929,55 +2932,55 @@
|
|
|
2929
2932
|
};
|
|
2930
2933
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2931
2934
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2932
|
-
this.
|
|
2935
|
+
this.o9l_1.l6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2933
2936
|
};
|
|
2934
2937
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2935
2938
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2936
|
-
this.
|
|
2939
|
+
this.o9l_1.l6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2937
2940
|
};
|
|
2938
2941
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2939
2942
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2940
|
-
this.
|
|
2943
|
+
this.o9l_1.l6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2941
2944
|
};
|
|
2942
2945
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2943
2946
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2944
|
-
this.
|
|
2947
|
+
this.o9l_1.l6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2945
2948
|
};
|
|
2946
|
-
protoOf(GameServer).
|
|
2949
|
+
protoOf(GameServer).c9v = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2947
2950
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2948
|
-
this.
|
|
2951
|
+
this.o9l_1.l6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2949
2952
|
};
|
|
2950
2953
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2951
2954
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2952
|
-
var isCreated = this.
|
|
2953
|
-
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));
|
|
2954
2957
|
};
|
|
2955
2958
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2956
2959
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2957
|
-
this.
|
|
2958
|
-
this.
|
|
2960
|
+
this.o9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2961
|
+
this.o9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2959
2962
|
};
|
|
2960
2963
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2961
|
-
this.
|
|
2964
|
+
this.o9l_1.l6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2962
2965
|
};
|
|
2963
2966
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2964
|
-
this.
|
|
2967
|
+
this.o9l_1.l6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2965
2968
|
};
|
|
2966
2969
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2967
2970
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2968
|
-
this.
|
|
2971
|
+
this.o9l_1.l6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2969
2972
|
};
|
|
2970
|
-
protoOf(GameServer).
|
|
2973
|
+
protoOf(GameServer).d9v = function (newRid) {
|
|
2971
2974
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2972
|
-
this.
|
|
2975
|
+
this.o9l_1.l6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2973
2976
|
};
|
|
2974
2977
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2975
2978
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2976
|
-
this.
|
|
2979
|
+
this.o9l_1.l6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2977
2980
|
};
|
|
2978
|
-
protoOf(GameServer).
|
|
2981
|
+
protoOf(GameServer).e9v = function (reason, roomId) {
|
|
2979
2982
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2980
|
-
this.
|
|
2983
|
+
this.o9l_1.l6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2981
2984
|
};
|
|
2982
2985
|
protoOf(GameServer).clear = function () {
|
|
2983
2986
|
return this.h2();
|
|
@@ -3028,10 +3031,10 @@
|
|
|
3028
3031
|
this.fromRound = fromRound;
|
|
3029
3032
|
this.canStartNewGame = canStartNewGame;
|
|
3030
3033
|
}
|
|
3031
|
-
protoOf(ServerConfig).
|
|
3034
|
+
protoOf(ServerConfig).f9v = function () {
|
|
3032
3035
|
return this.fromRound;
|
|
3033
3036
|
};
|
|
3034
|
-
protoOf(ServerConfig).
|
|
3037
|
+
protoOf(ServerConfig).g9v = function () {
|
|
3035
3038
|
return this.canStartNewGame;
|
|
3036
3039
|
};
|
|
3037
3040
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3040,13 +3043,13 @@
|
|
|
3040
3043
|
protoOf(ServerConfig).oe = function () {
|
|
3041
3044
|
return this.canStartNewGame;
|
|
3042
3045
|
};
|
|
3043
|
-
protoOf(ServerConfig).
|
|
3046
|
+
protoOf(ServerConfig).h9v = function (fromRound, canStartNewGame) {
|
|
3044
3047
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3045
3048
|
};
|
|
3046
3049
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3047
3050
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3048
3051
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3049
|
-
return $super === VOID ? this.
|
|
3052
|
+
return $super === VOID ? this.h9v(fromRound, canStartNewGame) : $super.h9v.call(this, fromRound, canStartNewGame);
|
|
3050
3053
|
};
|
|
3051
3054
|
protoOf(ServerConfig).toString = function () {
|
|
3052
3055
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3105,55 +3108,64 @@
|
|
|
3105
3108
|
}
|
|
3106
3109
|
function $serializer() {
|
|
3107
3110
|
$serializer_instance = this;
|
|
3108
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this,
|
|
3111
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3112
|
+
tmp0_serialDesc.gz('roomId', false);
|
|
3109
3113
|
tmp0_serialDesc.gz('table', false);
|
|
3110
|
-
this.
|
|
3114
|
+
this.i9v_1 = tmp0_serialDesc;
|
|
3111
3115
|
}
|
|
3112
|
-
protoOf($serializer).
|
|
3113
|
-
var tmp0_desc = this.
|
|
3116
|
+
protoOf($serializer).j9v = function (encoder, value) {
|
|
3117
|
+
var tmp0_desc = this.i9v_1;
|
|
3114
3118
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3115
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3119
|
+
tmp1_output.dt(tmp0_desc, 0, value.k9v_1);
|
|
3120
|
+
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3116
3121
|
tmp1_output.pr(tmp0_desc);
|
|
3117
3122
|
};
|
|
3118
3123
|
protoOf($serializer).co = function (encoder, value) {
|
|
3119
|
-
return this.
|
|
3124
|
+
return this.j9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3120
3125
|
};
|
|
3121
3126
|
protoOf($serializer).do = function (decoder) {
|
|
3122
|
-
var tmp0_desc = this.
|
|
3127
|
+
var tmp0_desc = this.i9v_1;
|
|
3123
3128
|
var tmp1_flag = true;
|
|
3124
3129
|
var tmp2_index = 0;
|
|
3125
3130
|
var tmp3_bitMask0 = 0;
|
|
3126
3131
|
var tmp4_local0 = null;
|
|
3127
|
-
var
|
|
3128
|
-
|
|
3129
|
-
|
|
3132
|
+
var tmp5_local1 = null;
|
|
3133
|
+
var tmp6_input = decoder.or(tmp0_desc);
|
|
3134
|
+
if (tmp6_input.es()) {
|
|
3135
|
+
tmp4_local0 = tmp6_input.yr(tmp0_desc, 0);
|
|
3130
3136
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3137
|
+
tmp5_local1 = tmp6_input.yr(tmp0_desc, 1);
|
|
3138
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3131
3139
|
} else
|
|
3132
3140
|
while (tmp1_flag) {
|
|
3133
|
-
tmp2_index =
|
|
3141
|
+
tmp2_index = tmp6_input.fs(tmp0_desc);
|
|
3134
3142
|
switch (tmp2_index) {
|
|
3135
3143
|
case -1:
|
|
3136
3144
|
tmp1_flag = false;
|
|
3137
3145
|
break;
|
|
3138
3146
|
case 0:
|
|
3139
|
-
tmp4_local0 =
|
|
3147
|
+
tmp4_local0 = tmp6_input.yr(tmp0_desc, 0);
|
|
3140
3148
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3141
3149
|
break;
|
|
3150
|
+
case 1:
|
|
3151
|
+
tmp5_local1 = tmp6_input.yr(tmp0_desc, 1);
|
|
3152
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3153
|
+
break;
|
|
3142
3154
|
default:
|
|
3143
3155
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3144
3156
|
}
|
|
3145
3157
|
}
|
|
3146
|
-
|
|
3147
|
-
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3158
|
+
tmp6_input.pr(tmp0_desc);
|
|
3159
|
+
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3148
3160
|
};
|
|
3149
3161
|
protoOf($serializer).bo = function () {
|
|
3150
|
-
return this.
|
|
3162
|
+
return this.i9v_1;
|
|
3151
3163
|
};
|
|
3152
3164
|
protoOf($serializer).vz = function () {
|
|
3153
3165
|
// Inline function 'kotlin.arrayOf' call
|
|
3154
3166
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3155
3167
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3156
|
-
return [StringSerializer_getInstance()];
|
|
3168
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3157
3169
|
};
|
|
3158
3170
|
var $serializer_instance;
|
|
3159
3171
|
function $serializer_getInstance() {
|
|
@@ -3161,43 +3173,56 @@
|
|
|
3161
3173
|
new $serializer();
|
|
3162
3174
|
return $serializer_instance;
|
|
3163
3175
|
}
|
|
3164
|
-
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3165
|
-
if (!(
|
|
3166
|
-
throwMissingFieldException(seen0,
|
|
3176
|
+
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3177
|
+
if (!(3 === (3 & seen0))) {
|
|
3178
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().i9v_1);
|
|
3167
3179
|
}
|
|
3180
|
+
$this.k9v_1 = roomId;
|
|
3168
3181
|
$this.table = table;
|
|
3169
3182
|
return $this;
|
|
3170
3183
|
}
|
|
3171
|
-
function TableStateUpdateDto_init_$Create$(seen0, table, serializationConstructorMarker) {
|
|
3172
|
-
return TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3184
|
+
function TableStateUpdateDto_init_$Create$(seen0, roomId, table, serializationConstructorMarker) {
|
|
3185
|
+
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3173
3186
|
}
|
|
3174
|
-
function TableStateUpdateDto(table) {
|
|
3187
|
+
function TableStateUpdateDto(roomId, table) {
|
|
3188
|
+
this.k9v_1 = roomId;
|
|
3175
3189
|
this.table = table;
|
|
3176
3190
|
}
|
|
3191
|
+
protoOf(TableStateUpdateDto).v8w = function () {
|
|
3192
|
+
return this.k9v_1;
|
|
3193
|
+
};
|
|
3177
3194
|
protoOf(TableStateUpdateDto).n6n = function () {
|
|
3178
3195
|
return this.table;
|
|
3179
3196
|
};
|
|
3180
3197
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3198
|
+
return this.k9v_1;
|
|
3199
|
+
};
|
|
3200
|
+
protoOf(TableStateUpdateDto).oe = function () {
|
|
3181
3201
|
return this.table;
|
|
3182
3202
|
};
|
|
3183
|
-
protoOf(TableStateUpdateDto).
|
|
3184
|
-
return new TableStateUpdateDto(table);
|
|
3203
|
+
protoOf(TableStateUpdateDto).c54 = function (roomId, table) {
|
|
3204
|
+
return new TableStateUpdateDto(roomId, table);
|
|
3185
3205
|
};
|
|
3186
|
-
protoOf(TableStateUpdateDto).copy = function (table, $super) {
|
|
3206
|
+
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3207
|
+
roomId = roomId === VOID ? this.k9v_1 : roomId;
|
|
3187
3208
|
table = table === VOID ? this.table : table;
|
|
3188
|
-
return $super === VOID ? this.
|
|
3209
|
+
return $super === VOID ? this.c54(roomId, table) : $super.c54.call(this, roomId, table);
|
|
3189
3210
|
};
|
|
3190
3211
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3191
|
-
return 'TableStateUpdateDto(table=' + this.table + ')';
|
|
3212
|
+
return 'TableStateUpdateDto(roomId=' + this.k9v_1 + ', table=' + this.table + ')';
|
|
3192
3213
|
};
|
|
3193
3214
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3194
|
-
|
|
3215
|
+
var result = getStringHashCode(this.k9v_1);
|
|
3216
|
+
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3217
|
+
return result;
|
|
3195
3218
|
};
|
|
3196
3219
|
protoOf(TableStateUpdateDto).equals = function (other) {
|
|
3197
3220
|
if (this === other)
|
|
3198
3221
|
return true;
|
|
3199
3222
|
if (!(other instanceof TableStateUpdateDto))
|
|
3200
3223
|
return false;
|
|
3224
|
+
if (!(this.k9v_1 === other.k9v_1))
|
|
3225
|
+
return false;
|
|
3201
3226
|
if (!(this.table === other.table))
|
|
3202
3227
|
return false;
|
|
3203
3228
|
return true;
|
|
@@ -3213,55 +3238,64 @@
|
|
|
3213
3238
|
}
|
|
3214
3239
|
function $serializer_0() {
|
|
3215
3240
|
$serializer_instance_0 = this;
|
|
3216
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this,
|
|
3241
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3242
|
+
tmp0_serialDesc.gz('roomId', false);
|
|
3217
3243
|
tmp0_serialDesc.gz('actions', false);
|
|
3218
|
-
this.
|
|
3244
|
+
this.l9v_1 = tmp0_serialDesc;
|
|
3219
3245
|
}
|
|
3220
|
-
protoOf($serializer_0).
|
|
3221
|
-
var tmp0_desc = this.
|
|
3246
|
+
protoOf($serializer_0).m9v = function (encoder, value) {
|
|
3247
|
+
var tmp0_desc = this.l9v_1;
|
|
3222
3248
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3223
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3249
|
+
tmp1_output.dt(tmp0_desc, 0, value.n9v_1);
|
|
3250
|
+
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3224
3251
|
tmp1_output.pr(tmp0_desc);
|
|
3225
3252
|
};
|
|
3226
3253
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3227
|
-
return this.
|
|
3254
|
+
return this.m9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3228
3255
|
};
|
|
3229
3256
|
protoOf($serializer_0).do = function (decoder) {
|
|
3230
|
-
var tmp0_desc = this.
|
|
3257
|
+
var tmp0_desc = this.l9v_1;
|
|
3231
3258
|
var tmp1_flag = true;
|
|
3232
3259
|
var tmp2_index = 0;
|
|
3233
3260
|
var tmp3_bitMask0 = 0;
|
|
3234
3261
|
var tmp4_local0 = null;
|
|
3235
|
-
var
|
|
3236
|
-
|
|
3237
|
-
|
|
3262
|
+
var tmp5_local1 = null;
|
|
3263
|
+
var tmp6_input = decoder.or(tmp0_desc);
|
|
3264
|
+
if (tmp6_input.es()) {
|
|
3265
|
+
tmp4_local0 = tmp6_input.yr(tmp0_desc, 0);
|
|
3238
3266
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3267
|
+
tmp5_local1 = tmp6_input.yr(tmp0_desc, 1);
|
|
3268
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3239
3269
|
} else
|
|
3240
3270
|
while (tmp1_flag) {
|
|
3241
|
-
tmp2_index =
|
|
3271
|
+
tmp2_index = tmp6_input.fs(tmp0_desc);
|
|
3242
3272
|
switch (tmp2_index) {
|
|
3243
3273
|
case -1:
|
|
3244
3274
|
tmp1_flag = false;
|
|
3245
3275
|
break;
|
|
3246
3276
|
case 0:
|
|
3247
|
-
tmp4_local0 =
|
|
3277
|
+
tmp4_local0 = tmp6_input.yr(tmp0_desc, 0);
|
|
3248
3278
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3249
3279
|
break;
|
|
3280
|
+
case 1:
|
|
3281
|
+
tmp5_local1 = tmp6_input.yr(tmp0_desc, 1);
|
|
3282
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3283
|
+
break;
|
|
3250
3284
|
default:
|
|
3251
3285
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3252
3286
|
}
|
|
3253
3287
|
}
|
|
3254
|
-
|
|
3255
|
-
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3288
|
+
tmp6_input.pr(tmp0_desc);
|
|
3289
|
+
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3256
3290
|
};
|
|
3257
3291
|
protoOf($serializer_0).bo = function () {
|
|
3258
|
-
return this.
|
|
3292
|
+
return this.l9v_1;
|
|
3259
3293
|
};
|
|
3260
3294
|
protoOf($serializer_0).vz = function () {
|
|
3261
3295
|
// Inline function 'kotlin.arrayOf' call
|
|
3262
3296
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3263
3297
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3264
|
-
return [StringSerializer_getInstance()];
|
|
3298
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3265
3299
|
};
|
|
3266
3300
|
var $serializer_instance_0;
|
|
3267
3301
|
function $serializer_getInstance_0() {
|
|
@@ -3269,43 +3303,56 @@
|
|
|
3269
3303
|
new $serializer_0();
|
|
3270
3304
|
return $serializer_instance_0;
|
|
3271
3305
|
}
|
|
3272
|
-
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3273
|
-
if (!(
|
|
3274
|
-
throwMissingFieldException(seen0,
|
|
3306
|
+
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3307
|
+
if (!(3 === (3 & seen0))) {
|
|
3308
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().l9v_1);
|
|
3275
3309
|
}
|
|
3310
|
+
$this.n9v_1 = roomId;
|
|
3276
3311
|
$this.actions = actions;
|
|
3277
3312
|
return $this;
|
|
3278
3313
|
}
|
|
3279
|
-
function ActionsStateUpdateDto_init_$Create$(seen0, actions, serializationConstructorMarker) {
|
|
3280
|
-
return ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3314
|
+
function ActionsStateUpdateDto_init_$Create$(seen0, roomId, actions, serializationConstructorMarker) {
|
|
3315
|
+
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3281
3316
|
}
|
|
3282
|
-
function ActionsStateUpdateDto(actions) {
|
|
3317
|
+
function ActionsStateUpdateDto(roomId, actions) {
|
|
3318
|
+
this.n9v_1 = roomId;
|
|
3283
3319
|
this.actions = actions;
|
|
3284
3320
|
}
|
|
3321
|
+
protoOf(ActionsStateUpdateDto).v8w = function () {
|
|
3322
|
+
return this.n9v_1;
|
|
3323
|
+
};
|
|
3285
3324
|
protoOf(ActionsStateUpdateDto).s8b = function () {
|
|
3286
3325
|
return this.actions;
|
|
3287
3326
|
};
|
|
3288
3327
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3328
|
+
return this.n9v_1;
|
|
3329
|
+
};
|
|
3330
|
+
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3289
3331
|
return this.actions;
|
|
3290
3332
|
};
|
|
3291
|
-
protoOf(ActionsStateUpdateDto).
|
|
3292
|
-
return new ActionsStateUpdateDto(actions);
|
|
3333
|
+
protoOf(ActionsStateUpdateDto).c54 = function (roomId, actions) {
|
|
3334
|
+
return new ActionsStateUpdateDto(roomId, actions);
|
|
3293
3335
|
};
|
|
3294
|
-
protoOf(ActionsStateUpdateDto).copy = function (actions, $super) {
|
|
3336
|
+
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3337
|
+
roomId = roomId === VOID ? this.n9v_1 : roomId;
|
|
3295
3338
|
actions = actions === VOID ? this.actions : actions;
|
|
3296
|
-
return $super === VOID ? this.
|
|
3339
|
+
return $super === VOID ? this.c54(roomId, actions) : $super.c54.call(this, roomId, actions);
|
|
3297
3340
|
};
|
|
3298
3341
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3299
|
-
return 'ActionsStateUpdateDto(actions=' + this.actions + ')';
|
|
3342
|
+
return 'ActionsStateUpdateDto(roomId=' + this.n9v_1 + ', actions=' + this.actions + ')';
|
|
3300
3343
|
};
|
|
3301
3344
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3302
|
-
|
|
3345
|
+
var result = getStringHashCode(this.n9v_1);
|
|
3346
|
+
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3347
|
+
return result;
|
|
3303
3348
|
};
|
|
3304
3349
|
protoOf(ActionsStateUpdateDto).equals = function (other) {
|
|
3305
3350
|
if (this === other)
|
|
3306
3351
|
return true;
|
|
3307
3352
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3308
3353
|
return false;
|
|
3354
|
+
if (!(this.n9v_1 === other.n9v_1))
|
|
3355
|
+
return false;
|
|
3309
3356
|
if (!(this.actions === other.actions))
|
|
3310
3357
|
return false;
|
|
3311
3358
|
return true;
|
|
@@ -3334,71 +3381,95 @@
|
|
|
3334
3381
|
var tmp$ret$0 = mapToDto(item);
|
|
3335
3382
|
destination.j(tmp$ret$0);
|
|
3336
3383
|
}
|
|
3337
|
-
return new ActionsStateUpdateDto(encoderDecoderProvider.l8i(destination));
|
|
3384
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.o9v_1, encoderDecoderProvider.l8i(destination));
|
|
3338
3385
|
}
|
|
3339
3386
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3340
|
-
return new TableStateUpdateDto(encoderDecoderProvider.j8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3387
|
+
return new TableStateUpdateDto(_this__u8e3s4.p9v_1, encoderDecoderProvider.j8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3341
3388
|
}
|
|
3342
3389
|
function ServerStateUpdate() {
|
|
3343
3390
|
}
|
|
3344
|
-
function TableStateUpdate(table) {
|
|
3391
|
+
function TableStateUpdate(roomId, table) {
|
|
3392
|
+
this.p9v_1 = roomId;
|
|
3345
3393
|
this.table = table;
|
|
3346
3394
|
}
|
|
3395
|
+
protoOf(TableStateUpdate).v8w = function () {
|
|
3396
|
+
return this.p9v_1;
|
|
3397
|
+
};
|
|
3347
3398
|
protoOf(TableStateUpdate).n6n = function () {
|
|
3348
3399
|
return this.table;
|
|
3349
3400
|
};
|
|
3350
3401
|
protoOf(TableStateUpdate).ne = function () {
|
|
3402
|
+
return this.p9v_1;
|
|
3403
|
+
};
|
|
3404
|
+
protoOf(TableStateUpdate).oe = function () {
|
|
3351
3405
|
return this.table;
|
|
3352
3406
|
};
|
|
3353
|
-
protoOf(TableStateUpdate).
|
|
3354
|
-
return new TableStateUpdate(table);
|
|
3407
|
+
protoOf(TableStateUpdate).q9v = function (roomId, table) {
|
|
3408
|
+
return new TableStateUpdate(roomId, table);
|
|
3355
3409
|
};
|
|
3356
|
-
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3410
|
+
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3411
|
+
roomId = roomId === VOID ? this.p9v_1 : roomId;
|
|
3357
3412
|
table = table === VOID ? this.table : table;
|
|
3358
|
-
return $super === VOID ? this.
|
|
3413
|
+
return $super === VOID ? this.q9v(roomId, table) : $super.q9v.call(this, roomId, table);
|
|
3359
3414
|
};
|
|
3360
3415
|
protoOf(TableStateUpdate).toString = function () {
|
|
3361
|
-
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
3416
|
+
return 'TableStateUpdate(roomId=' + this.p9v_1 + ', table=' + this.table.toString() + ')';
|
|
3362
3417
|
};
|
|
3363
3418
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3364
|
-
|
|
3419
|
+
var result = getStringHashCode(this.p9v_1);
|
|
3420
|
+
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3421
|
+
return result;
|
|
3365
3422
|
};
|
|
3366
3423
|
protoOf(TableStateUpdate).equals = function (other) {
|
|
3367
3424
|
if (this === other)
|
|
3368
3425
|
return true;
|
|
3369
3426
|
if (!(other instanceof TableStateUpdate))
|
|
3370
3427
|
return false;
|
|
3428
|
+
if (!(this.p9v_1 === other.p9v_1))
|
|
3429
|
+
return false;
|
|
3371
3430
|
if (!this.table.equals(other.table))
|
|
3372
3431
|
return false;
|
|
3373
3432
|
return true;
|
|
3374
3433
|
};
|
|
3375
|
-
function ActionsStateUpdate(actions) {
|
|
3434
|
+
function ActionsStateUpdate(roomId, actions) {
|
|
3435
|
+
this.o9v_1 = roomId;
|
|
3376
3436
|
this.actions = actions;
|
|
3377
3437
|
}
|
|
3438
|
+
protoOf(ActionsStateUpdate).v8w = function () {
|
|
3439
|
+
return this.o9v_1;
|
|
3440
|
+
};
|
|
3378
3441
|
protoOf(ActionsStateUpdate).s8b = function () {
|
|
3379
3442
|
return this.actions;
|
|
3380
3443
|
};
|
|
3381
3444
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3445
|
+
return this.o9v_1;
|
|
3446
|
+
};
|
|
3447
|
+
protoOf(ActionsStateUpdate).oe = function () {
|
|
3382
3448
|
return this.actions;
|
|
3383
3449
|
};
|
|
3384
|
-
protoOf(ActionsStateUpdate).
|
|
3385
|
-
return new ActionsStateUpdate(actions);
|
|
3450
|
+
protoOf(ActionsStateUpdate).r9v = function (roomId, actions) {
|
|
3451
|
+
return new ActionsStateUpdate(roomId, actions);
|
|
3386
3452
|
};
|
|
3387
|
-
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3453
|
+
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3454
|
+
roomId = roomId === VOID ? this.o9v_1 : roomId;
|
|
3388
3455
|
actions = actions === VOID ? this.actions : actions;
|
|
3389
|
-
return $super === VOID ? this.
|
|
3456
|
+
return $super === VOID ? this.r9v(roomId, actions) : $super.r9v.call(this, roomId, actions);
|
|
3390
3457
|
};
|
|
3391
3458
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3392
|
-
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
3459
|
+
return 'ActionsStateUpdate(roomId=' + this.o9v_1 + ', actions=' + toString(this.actions) + ')';
|
|
3393
3460
|
};
|
|
3394
3461
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3395
|
-
|
|
3462
|
+
var result = getStringHashCode(this.o9v_1);
|
|
3463
|
+
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3464
|
+
return result;
|
|
3396
3465
|
};
|
|
3397
3466
|
protoOf(ActionsStateUpdate).equals = function (other) {
|
|
3398
3467
|
if (this === other)
|
|
3399
3468
|
return true;
|
|
3400
3469
|
if (!(other instanceof ActionsStateUpdate))
|
|
3401
3470
|
return false;
|
|
3471
|
+
if (!(this.o9v_1 === other.o9v_1))
|
|
3472
|
+
return false;
|
|
3402
3473
|
if (!equals(this.actions, other.actions))
|
|
3403
3474
|
return false;
|
|
3404
3475
|
return true;
|
|
@@ -3631,18 +3702,18 @@
|
|
|
3631
3702
|
function ToClientEventsObserver() {
|
|
3632
3703
|
}
|
|
3633
3704
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3634
|
-
this.
|
|
3635
|
-
this.
|
|
3705
|
+
this.b9w_1 = this$0;
|
|
3706
|
+
this.c9w_1 = $actions;
|
|
3636
3707
|
CoroutineImpl.call(this, resultContinuation);
|
|
3637
3708
|
}
|
|
3638
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3639
|
-
var tmp = this.
|
|
3709
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).f9w = function ($this$flow, $completion) {
|
|
3710
|
+
var tmp = this.g9w($this$flow, $completion);
|
|
3640
3711
|
tmp.t8_1 = Unit_instance;
|
|
3641
3712
|
tmp.u8_1 = null;
|
|
3642
3713
|
return tmp.z8();
|
|
3643
3714
|
};
|
|
3644
3715
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3645
|
-
return this.
|
|
3716
|
+
return this.f9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3646
3717
|
};
|
|
3647
3718
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3648
3719
|
var suspendResult = this.t8_1;
|
|
@@ -3652,19 +3723,19 @@
|
|
|
3652
3723
|
switch (tmp) {
|
|
3653
3724
|
case 0:
|
|
3654
3725
|
this.s8_1 = 4;
|
|
3655
|
-
this.
|
|
3656
|
-
this.
|
|
3726
|
+
this.b9w_1.l9w_1;
|
|
3727
|
+
this.e9w_1 = transformToEmits(this.b9w_1, this.c9w_1).l();
|
|
3657
3728
|
this.r8_1 = 1;
|
|
3658
3729
|
continue $sm;
|
|
3659
3730
|
case 1:
|
|
3660
|
-
if (!this.
|
|
3731
|
+
if (!this.e9w_1.m()) {
|
|
3661
3732
|
this.r8_1 = 3;
|
|
3662
3733
|
continue $sm;
|
|
3663
3734
|
}
|
|
3664
3735
|
|
|
3665
|
-
var element = this.
|
|
3736
|
+
var element = this.e9w_1.n();
|
|
3666
3737
|
this.r8_1 = 2;
|
|
3667
|
-
suspendResult = this.
|
|
3738
|
+
suspendResult = this.d9w_1.l28(element, this);
|
|
3668
3739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3669
3740
|
return suspendResult;
|
|
3670
3741
|
}
|
|
@@ -3674,11 +3745,11 @@
|
|
|
3674
3745
|
this.r8_1 = 1;
|
|
3675
3746
|
continue $sm;
|
|
3676
3747
|
case 3:
|
|
3677
|
-
var tmp0 = this.
|
|
3748
|
+
var tmp0 = this.b9w_1.k9w_1;
|
|
3678
3749
|
l$ret$1: do {
|
|
3679
3750
|
while (true) {
|
|
3680
3751
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3681
|
-
var upd = cur - this.
|
|
3752
|
+
var upd = cur - this.c9w_1.o() | 0;
|
|
3682
3753
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3683
3754
|
break l$ret$1;
|
|
3684
3755
|
}
|
|
@@ -3700,15 +3771,15 @@
|
|
|
3700
3771
|
}
|
|
3701
3772
|
while (true);
|
|
3702
3773
|
};
|
|
3703
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3704
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3705
|
-
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;
|
|
3706
3777
|
return i;
|
|
3707
3778
|
};
|
|
3708
3779
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3709
3780
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3710
3781
|
var l = function ($this$flow, $completion) {
|
|
3711
|
-
return i.
|
|
3782
|
+
return i.f9w($this$flow, $completion);
|
|
3712
3783
|
};
|
|
3713
3784
|
l.$arity = 1;
|
|
3714
3785
|
return l;
|
|
@@ -3778,29 +3849,29 @@
|
|
|
3778
3849
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3779
3850
|
}
|
|
3780
3851
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3781
|
-
var tmp = $this.
|
|
3852
|
+
var tmp = $this.j9w_1.z6d();
|
|
3782
3853
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3783
|
-
var this_0 = _this__u8e3s4.
|
|
3854
|
+
var this_0 = _this__u8e3s4.o9w_1;
|
|
3784
3855
|
var tmp_0 = copyToArray(this_0);
|
|
3785
3856
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3786
|
-
var this_1 = _this__u8e3s4.
|
|
3857
|
+
var this_1 = _this__u8e3s4.p9w_1;
|
|
3787
3858
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3788
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3859
|
+
return new ActionDeliveryPayload(_this__u8e3s4.n9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.q9w_1);
|
|
3789
3860
|
}
|
|
3790
3861
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3862
|
+
this.n9w_1 = tableId;
|
|
3863
|
+
this.o9w_1 = includePlayers;
|
|
3864
|
+
this.p9w_1 = excludePlayers;
|
|
3865
|
+
this.q9w_1 = deliveryType;
|
|
3795
3866
|
}
|
|
3796
3867
|
protoOf(GroupKey).toString = function () {
|
|
3797
|
-
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() + ')';
|
|
3798
3869
|
};
|
|
3799
3870
|
protoOf(GroupKey).hashCode = function () {
|
|
3800
|
-
var result = getStringHashCode(this.
|
|
3801
|
-
result = imul(result, 31) + hashCode(this.
|
|
3802
|
-
result = imul(result, 31) + hashCode(this.
|
|
3803
|
-
result = imul(result, 31) + this.
|
|
3871
|
+
var result = getStringHashCode(this.n9w_1);
|
|
3872
|
+
result = imul(result, 31) + hashCode(this.o9w_1) | 0;
|
|
3873
|
+
result = imul(result, 31) + hashCode(this.p9w_1) | 0;
|
|
3874
|
+
result = imul(result, 31) + this.q9w_1.hashCode() | 0;
|
|
3804
3875
|
return result;
|
|
3805
3876
|
};
|
|
3806
3877
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3808,35 +3879,35 @@
|
|
|
3808
3879
|
return true;
|
|
3809
3880
|
if (!(other instanceof GroupKey))
|
|
3810
3881
|
return false;
|
|
3811
|
-
if (!(this.
|
|
3882
|
+
if (!(this.n9w_1 === other.n9w_1))
|
|
3812
3883
|
return false;
|
|
3813
|
-
if (!equals(this.
|
|
3884
|
+
if (!equals(this.o9w_1, other.o9w_1))
|
|
3814
3885
|
return false;
|
|
3815
|
-
if (!equals(this.
|
|
3886
|
+
if (!equals(this.p9w_1, other.p9w_1))
|
|
3816
3887
|
return false;
|
|
3817
|
-
if (!this.
|
|
3888
|
+
if (!this.q9w_1.equals(other.q9w_1))
|
|
3818
3889
|
return false;
|
|
3819
3890
|
return true;
|
|
3820
3891
|
};
|
|
3821
3892
|
function Companion_4() {
|
|
3822
|
-
this.
|
|
3893
|
+
this.r9w_1 = 6;
|
|
3823
3894
|
}
|
|
3824
3895
|
var Companion_instance_12;
|
|
3825
3896
|
function Companion_getInstance_5() {
|
|
3826
3897
|
return Companion_instance_12;
|
|
3827
3898
|
}
|
|
3828
3899
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3829
|
-
this.
|
|
3900
|
+
this.a9x_1 = this$0;
|
|
3830
3901
|
CoroutineImpl.call(this, resultContinuation);
|
|
3831
3902
|
}
|
|
3832
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3833
|
-
var tmp = this.
|
|
3903
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).c9x = function (actions, $completion) {
|
|
3904
|
+
var tmp = this.d9x(actions, $completion);
|
|
3834
3905
|
tmp.t8_1 = Unit_instance;
|
|
3835
3906
|
tmp.u8_1 = null;
|
|
3836
3907
|
return tmp.z8();
|
|
3837
3908
|
};
|
|
3838
3909
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3839
|
-
return this.
|
|
3910
|
+
return this.c9x((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3840
3911
|
};
|
|
3841
3912
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3842
3913
|
var suspendResult = this.t8_1;
|
|
@@ -3845,7 +3916,7 @@
|
|
|
3845
3916
|
var tmp = this.r8_1;
|
|
3846
3917
|
if (tmp === 0) {
|
|
3847
3918
|
this.s8_1 = 1;
|
|
3848
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3919
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.a9x_1, this.b9x_1, null));
|
|
3849
3920
|
} else if (tmp === 1) {
|
|
3850
3921
|
throw this.u8_1;
|
|
3851
3922
|
}
|
|
@@ -3855,23 +3926,23 @@
|
|
|
3855
3926
|
}
|
|
3856
3927
|
while (true);
|
|
3857
3928
|
};
|
|
3858
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3859
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3860
|
-
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;
|
|
3861
3932
|
return i;
|
|
3862
3933
|
};
|
|
3863
3934
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3864
3935
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3865
3936
|
var l = function (actions, $completion) {
|
|
3866
|
-
return i.
|
|
3937
|
+
return i.c9x(actions, $completion);
|
|
3867
3938
|
};
|
|
3868
3939
|
l.$arity = 1;
|
|
3869
3940
|
return l;
|
|
3870
3941
|
}
|
|
3871
3942
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3872
3943
|
CoroutineImpl.call(this, resultContinuation);
|
|
3873
|
-
this.
|
|
3874
|
-
this.
|
|
3944
|
+
this.m9x_1 = _this__u8e3s4;
|
|
3945
|
+
this.n9x_1 = fromEvent;
|
|
3875
3946
|
}
|
|
3876
3947
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3877
3948
|
var suspendResult = this.t8_1;
|
|
@@ -3881,8 +3952,8 @@
|
|
|
3881
3952
|
switch (tmp) {
|
|
3882
3953
|
case 0:
|
|
3883
3954
|
this.s8_1 = 2;
|
|
3884
|
-
this.
|
|
3885
|
-
var tmp0 = this.
|
|
3955
|
+
this.m9x_1.l9w_1;
|
|
3956
|
+
var tmp0 = this.m9x_1.k9w_1;
|
|
3886
3957
|
l$ret$1: do {
|
|
3887
3958
|
while (true) {
|
|
3888
3959
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3894,7 +3965,7 @@
|
|
|
3894
3965
|
}
|
|
3895
3966
|
while (false);
|
|
3896
3967
|
this.r8_1 = 1;
|
|
3897
|
-
suspendResult = this.
|
|
3968
|
+
suspendResult = this.m9x_1.m9w_1.l28(this.n9x_1, this);
|
|
3898
3969
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3899
3970
|
return suspendResult;
|
|
3900
3971
|
}
|
|
@@ -3918,7 +3989,7 @@
|
|
|
3918
3989
|
};
|
|
3919
3990
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3920
3991
|
CoroutineImpl.call(this, resultContinuation);
|
|
3921
|
-
this.
|
|
3992
|
+
this.w9x_1 = _this__u8e3s4;
|
|
3922
3993
|
}
|
|
3923
3994
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3924
3995
|
var suspendResult = this.t8_1;
|
|
@@ -3928,12 +3999,12 @@
|
|
|
3928
3999
|
switch (tmp) {
|
|
3929
4000
|
case 0:
|
|
3930
4001
|
this.s8_1 = 5;
|
|
3931
|
-
this.
|
|
3932
|
-
this.
|
|
4002
|
+
this.w9x_1.l9w_1;
|
|
4003
|
+
this.x9x_1 = 0;
|
|
3933
4004
|
this.r8_1 = 1;
|
|
3934
4005
|
continue $sm;
|
|
3935
4006
|
case 1:
|
|
3936
|
-
if (!!(this.
|
|
4007
|
+
if (!!(this.w9x_1.k9w_1.kotlinx$atomicfu$value === 0)) {
|
|
3937
4008
|
this.r8_1 = 4;
|
|
3938
4009
|
continue $sm;
|
|
3939
4010
|
}
|
|
@@ -3946,9 +4017,9 @@
|
|
|
3946
4017
|
|
|
3947
4018
|
continue $sm;
|
|
3948
4019
|
case 2:
|
|
3949
|
-
this.
|
|
3950
|
-
if (this.
|
|
3951
|
-
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);
|
|
3952
4023
|
this.r8_1 = 4;
|
|
3953
4024
|
continue $sm;
|
|
3954
4025
|
} else {
|
|
@@ -3976,16 +4047,16 @@
|
|
|
3976
4047
|
while (true);
|
|
3977
4048
|
};
|
|
3978
4049
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3979
|
-
this.
|
|
3980
|
-
this.
|
|
3981
|
-
this.
|
|
3982
|
-
this.
|
|
4050
|
+
this.h9w_1 = serverReduxConfig;
|
|
4051
|
+
this.i9w_1 = logger;
|
|
4052
|
+
this.j9w_1 = idsProvider;
|
|
4053
|
+
this.k9w_1 = atomic$ref$1(0);
|
|
3983
4054
|
var tmp = this;
|
|
3984
4055
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3985
|
-
tmp.
|
|
3986
|
-
this.
|
|
4056
|
+
tmp.l9w_1 = get_atomicfu$reentrantLock();
|
|
4057
|
+
this.m9w_1 = MutableSharedFlow();
|
|
3987
4058
|
}
|
|
3988
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4059
|
+
protoOf(ToClientEventsObserverImpl).s9v = function (fromEvent, $completion) {
|
|
3989
4060
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
3990
4061
|
tmp.t8_1 = Unit_instance;
|
|
3991
4062
|
tmp.u8_1 = null;
|
|
@@ -3997,162 +4068,162 @@
|
|
|
3997
4068
|
tmp.u8_1 = null;
|
|
3998
4069
|
return tmp.z8();
|
|
3999
4070
|
};
|
|
4000
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4001
|
-
if (!this.
|
|
4002
|
-
return this.
|
|
4071
|
+
protoOf(ToClientEventsObserverImpl).h9m = function () {
|
|
4072
|
+
if (!this.h9w_1.enabledCombinedEvents) {
|
|
4073
|
+
return this.m9w_1;
|
|
4003
4074
|
}
|
|
4004
|
-
var tmp = windowedByInterval(this.
|
|
4075
|
+
var tmp = windowedByInterval(this.m9w_1, fromInt(this.h9w_1.combinedEventsIntervalMillis));
|
|
4005
4076
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4006
4077
|
};
|
|
4007
4078
|
function UpdateServerConfigAction(serverConfig) {
|
|
4008
|
-
this.
|
|
4079
|
+
this.y9x_1 = serverConfig;
|
|
4009
4080
|
}
|
|
4010
4081
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4011
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4082
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.y9x_1.toString() + ')';
|
|
4012
4083
|
};
|
|
4013
4084
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4014
|
-
return this.
|
|
4085
|
+
return this.y9x_1.hashCode();
|
|
4015
4086
|
};
|
|
4016
4087
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4017
4088
|
if (this === other)
|
|
4018
4089
|
return true;
|
|
4019
4090
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4020
4091
|
return false;
|
|
4021
|
-
if (!this.
|
|
4092
|
+
if (!this.y9x_1.equals(other.y9x_1))
|
|
4022
4093
|
return false;
|
|
4023
4094
|
return true;
|
|
4024
4095
|
};
|
|
4025
4096
|
function SpectatorsAction() {
|
|
4026
4097
|
}
|
|
4027
4098
|
function AddSpectatorsAction(spectators) {
|
|
4028
|
-
this.
|
|
4099
|
+
this.z9x_1 = spectators;
|
|
4029
4100
|
}
|
|
4030
4101
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4031
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4102
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.z9x_1) + ')';
|
|
4032
4103
|
};
|
|
4033
4104
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4034
|
-
return hashCode(this.
|
|
4105
|
+
return hashCode(this.z9x_1);
|
|
4035
4106
|
};
|
|
4036
4107
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4037
4108
|
if (this === other)
|
|
4038
4109
|
return true;
|
|
4039
4110
|
if (!(other instanceof AddSpectatorsAction))
|
|
4040
4111
|
return false;
|
|
4041
|
-
if (!equals(this.
|
|
4112
|
+
if (!equals(this.z9x_1, other.z9x_1))
|
|
4042
4113
|
return false;
|
|
4043
4114
|
return true;
|
|
4044
4115
|
};
|
|
4045
4116
|
function RemoveSpectatorsAction(spectators) {
|
|
4046
|
-
this.
|
|
4117
|
+
this.a9y_1 = spectators;
|
|
4047
4118
|
}
|
|
4048
4119
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4049
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4120
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.a9y_1) + ')';
|
|
4050
4121
|
};
|
|
4051
4122
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4052
|
-
return hashCode(this.
|
|
4123
|
+
return hashCode(this.a9y_1);
|
|
4053
4124
|
};
|
|
4054
4125
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4055
4126
|
if (this === other)
|
|
4056
4127
|
return true;
|
|
4057
4128
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4058
4129
|
return false;
|
|
4059
|
-
if (!equals(this.
|
|
4130
|
+
if (!equals(this.a9y_1, other.a9y_1))
|
|
4060
4131
|
return false;
|
|
4061
4132
|
return true;
|
|
4062
4133
|
};
|
|
4063
4134
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4064
|
-
var tmp0 = $this.
|
|
4135
|
+
var tmp0 = $this.g9y_1;
|
|
4065
4136
|
var tmp = KProperty1;
|
|
4066
4137
|
// Inline function 'kotlin.getValue' call
|
|
4067
4138
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4068
4139
|
return tmp0.w();
|
|
4069
4140
|
}
|
|
4070
4141
|
function _get_logger__rkp4sl_0($this) {
|
|
4071
|
-
var tmp0 = $this.
|
|
4142
|
+
var tmp0 = $this.h9y_1;
|
|
4072
4143
|
var tmp = KProperty1;
|
|
4073
4144
|
// Inline function 'kotlin.getValue' call
|
|
4074
4145
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4075
4146
|
return tmp0.w();
|
|
4076
4147
|
}
|
|
4077
4148
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4078
|
-
var tmp0 = $this.
|
|
4149
|
+
var tmp0 = $this.i9y_1;
|
|
4079
4150
|
var tmp = KProperty1;
|
|
4080
4151
|
// Inline function 'kotlin.getValue' call
|
|
4081
4152
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4082
4153
|
return tmp0.w();
|
|
4083
4154
|
}
|
|
4084
4155
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4085
|
-
var tmp0 = $this.
|
|
4156
|
+
var tmp0 = $this.j9y_1;
|
|
4086
4157
|
var tmp = KProperty1;
|
|
4087
4158
|
// Inline function 'kotlin.getValue' call
|
|
4088
4159
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4089
4160
|
return tmp0.w();
|
|
4090
4161
|
}
|
|
4091
4162
|
function _get_serverConfig__rk2g06($this) {
|
|
4092
|
-
var tmp0 = $this.
|
|
4163
|
+
var tmp0 = $this.k9y_1;
|
|
4093
4164
|
var tmp = KProperty1;
|
|
4094
4165
|
// Inline function 'kotlin.getValue' call
|
|
4095
4166
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4096
4167
|
return tmp0.w();
|
|
4097
4168
|
}
|
|
4098
4169
|
function _get_logicConfig__52ww9d($this) {
|
|
4099
|
-
var tmp0 = $this.
|
|
4170
|
+
var tmp0 = $this.l9y_1;
|
|
4100
4171
|
var tmp = KProperty1;
|
|
4101
4172
|
// Inline function 'kotlin.getValue' call
|
|
4102
4173
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4103
4174
|
return tmp0.w();
|
|
4104
4175
|
}
|
|
4105
4176
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4106
|
-
var tmp0 = $this.
|
|
4177
|
+
var tmp0 = $this.m9y_1;
|
|
4107
4178
|
var tmp = KProperty1;
|
|
4108
4179
|
// Inline function 'kotlin.getValue' call
|
|
4109
4180
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4110
4181
|
return tmp0.w();
|
|
4111
4182
|
}
|
|
4112
4183
|
function _get_botConfig__cpaxzc($this) {
|
|
4113
|
-
var tmp0 = $this.
|
|
4184
|
+
var tmp0 = $this.n9y_1;
|
|
4114
4185
|
var tmp = KProperty1;
|
|
4115
4186
|
// Inline function 'kotlin.getValue' call
|
|
4116
4187
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4117
4188
|
return tmp0.w();
|
|
4118
4189
|
}
|
|
4119
4190
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4120
|
-
var tmp0 = $this.
|
|
4191
|
+
var tmp0 = $this.o9y_1;
|
|
4121
4192
|
var tmp = KProperty1;
|
|
4122
4193
|
// Inline function 'kotlin.getValue' call
|
|
4123
4194
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4124
4195
|
return tmp0.w();
|
|
4125
4196
|
}
|
|
4126
4197
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4127
|
-
var tmp0 = $this.
|
|
4198
|
+
var tmp0 = $this.p9y_1;
|
|
4128
4199
|
var tmp = KProperty1;
|
|
4129
4200
|
// Inline function 'kotlin.getValue' call
|
|
4130
4201
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4131
4202
|
return tmp0.w();
|
|
4132
4203
|
}
|
|
4133
4204
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4134
|
-
var tmp0 = $this.
|
|
4205
|
+
var tmp0 = $this.q9y_1;
|
|
4135
4206
|
var tmp = KProperty1;
|
|
4136
4207
|
// Inline function 'kotlin.getValue' call
|
|
4137
4208
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4138
4209
|
return tmp0.w();
|
|
4139
4210
|
}
|
|
4140
4211
|
function _get_dealerConfig__183ci8($this) {
|
|
4141
|
-
var tmp0 = $this.
|
|
4212
|
+
var tmp0 = $this.r9y_1;
|
|
4142
4213
|
var tmp = KProperty1;
|
|
4143
4214
|
// Inline function 'kotlin.getValue' call
|
|
4144
4215
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4145
4216
|
return tmp0.w();
|
|
4146
4217
|
}
|
|
4147
4218
|
function _get_poolProvider__tqti6a($this) {
|
|
4148
|
-
var tmp0 = $this.
|
|
4219
|
+
var tmp0 = $this.s9y_1;
|
|
4149
4220
|
var tmp = KProperty1;
|
|
4150
4221
|
// Inline function 'kotlin.getValue' call
|
|
4151
4222
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4152
4223
|
return tmp0.w();
|
|
4153
4224
|
}
|
|
4154
4225
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4155
|
-
var tmp0 = $this.
|
|
4226
|
+
var tmp0 = $this.t9y_1;
|
|
4156
4227
|
var tmp = KProperty1;
|
|
4157
4228
|
// Inline function 'kotlin.getValue' call
|
|
4158
4229
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4316,11 +4387,11 @@
|
|
|
4316
4387
|
tmp = fileLoggerStoreContract;
|
|
4317
4388
|
}
|
|
4318
4389
|
fileLoggerStoreContract = tmp;
|
|
4319
|
-
this.
|
|
4320
|
-
this.
|
|
4321
|
-
this.
|
|
4322
|
-
this.
|
|
4323
|
-
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;
|
|
4324
4395
|
var tmp_0 = this;
|
|
4325
4396
|
// Inline function 'org.kodein.di.instance' call
|
|
4326
4397
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4328,7 +4399,7 @@
|
|
|
4328
4399
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4329
4400
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4330
4401
|
var tmp_3 = KProperty1;
|
|
4331
|
-
tmp_0.
|
|
4402
|
+
tmp_0.g9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4332
4403
|
var tmp_4 = this;
|
|
4333
4404
|
// Inline function 'org.kodein.di.instance' call
|
|
4334
4405
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4336,7 +4407,7 @@
|
|
|
4336
4407
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4337
4408
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4338
4409
|
var tmp_7 = KProperty1;
|
|
4339
|
-
tmp_4.
|
|
4410
|
+
tmp_4.h9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4340
4411
|
var tmp_8 = this;
|
|
4341
4412
|
// Inline function 'org.kodein.di.instance' call
|
|
4342
4413
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4344,7 +4415,7 @@
|
|
|
4344
4415
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4345
4416
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4346
4417
|
var tmp_11 = KProperty1;
|
|
4347
|
-
tmp_8.
|
|
4418
|
+
tmp_8.i9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4348
4419
|
var tmp_12 = this;
|
|
4349
4420
|
// Inline function 'org.kodein.di.instance' call
|
|
4350
4421
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4352,7 +4423,7 @@
|
|
|
4352
4423
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4353
4424
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4354
4425
|
var tmp_15 = KProperty1;
|
|
4355
|
-
tmp_12.
|
|
4426
|
+
tmp_12.j9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4356
4427
|
var tmp_16 = this;
|
|
4357
4428
|
// Inline function 'org.kodein.di.instance' call
|
|
4358
4429
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4360,7 +4431,7 @@
|
|
|
4360
4431
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4361
4432
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4362
4433
|
var tmp_19 = KProperty1;
|
|
4363
|
-
tmp_16.
|
|
4434
|
+
tmp_16.k9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4364
4435
|
var tmp_20 = this;
|
|
4365
4436
|
// Inline function 'org.kodein.di.instance' call
|
|
4366
4437
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4368,7 +4439,7 @@
|
|
|
4368
4439
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4369
4440
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4370
4441
|
var tmp_23 = KProperty1;
|
|
4371
|
-
tmp_20.
|
|
4442
|
+
tmp_20.l9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4372
4443
|
var tmp_24 = this;
|
|
4373
4444
|
// Inline function 'org.kodein.di.instance' call
|
|
4374
4445
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4376,7 +4447,7 @@
|
|
|
4376
4447
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4377
4448
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4378
4449
|
var tmp_27 = KProperty1;
|
|
4379
|
-
tmp_24.
|
|
4450
|
+
tmp_24.m9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4380
4451
|
var tmp_28 = this;
|
|
4381
4452
|
// Inline function 'org.kodein.di.instance' call
|
|
4382
4453
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4384,7 +4455,7 @@
|
|
|
4384
4455
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4385
4456
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4386
4457
|
var tmp_31 = KProperty1;
|
|
4387
|
-
tmp_28.
|
|
4458
|
+
tmp_28.n9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4388
4459
|
var tmp_32 = this;
|
|
4389
4460
|
// Inline function 'org.kodein.di.instance' call
|
|
4390
4461
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4392,7 +4463,7 @@
|
|
|
4392
4463
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4393
4464
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4394
4465
|
var tmp_35 = KProperty1;
|
|
4395
|
-
tmp_32.
|
|
4466
|
+
tmp_32.o9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4396
4467
|
var tmp_36 = this;
|
|
4397
4468
|
// Inline function 'org.kodein.di.instance' call
|
|
4398
4469
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4400,7 +4471,7 @@
|
|
|
4400
4471
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4401
4472
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4402
4473
|
var tmp_39 = KProperty1;
|
|
4403
|
-
tmp_36.
|
|
4474
|
+
tmp_36.p9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4404
4475
|
var tmp_40 = this;
|
|
4405
4476
|
// Inline function 'org.kodein.di.instance' call
|
|
4406
4477
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4408,7 +4479,7 @@
|
|
|
4408
4479
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4409
4480
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4410
4481
|
var tmp_43 = KProperty1;
|
|
4411
|
-
tmp_40.
|
|
4482
|
+
tmp_40.q9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4412
4483
|
var tmp_44 = this;
|
|
4413
4484
|
// Inline function 'org.kodein.di.instance' call
|
|
4414
4485
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4416,7 +4487,7 @@
|
|
|
4416
4487
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4417
4488
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4418
4489
|
var tmp_47 = KProperty1;
|
|
4419
|
-
tmp_44.
|
|
4490
|
+
tmp_44.r9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4420
4491
|
var tmp_48 = this;
|
|
4421
4492
|
// Inline function 'org.kodein.di.instance' call
|
|
4422
4493
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4424,7 +4495,7 @@
|
|
|
4424
4495
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4425
4496
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4426
4497
|
var tmp_51 = KProperty1;
|
|
4427
|
-
tmp_48.
|
|
4498
|
+
tmp_48.s9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4428
4499
|
var tmp_52 = this;
|
|
4429
4500
|
// Inline function 'org.kodein.di.instance' call
|
|
4430
4501
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4432,13 +4503,13 @@
|
|
|
4432
4503
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4433
4504
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4434
4505
|
var tmp_55 = KProperty1;
|
|
4435
|
-
tmp_52.
|
|
4506
|
+
tmp_52.t9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4436
4507
|
}
|
|
4437
4508
|
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4438
|
-
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))]));
|
|
4439
4510
|
};
|
|
4440
4511
|
protoOf(ServerGameStoreContract).g8y = function () {
|
|
4441
|
-
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()]));
|
|
4442
4513
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4443
4514
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4444
4515
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4489,7 +4560,7 @@
|
|
|
4489
4560
|
return this.m6h(store, next, action);
|
|
4490
4561
|
};
|
|
4491
4562
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4492
|
-
this.
|
|
4563
|
+
this.w9y_1 = this$0;
|
|
4493
4564
|
}
|
|
4494
4565
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4495
4566
|
return action instanceof MechanicAction;
|
|
@@ -4500,7 +4571,7 @@
|
|
|
4500
4571
|
// Inline function 'kotlin.with' call
|
|
4501
4572
|
var tmp;
|
|
4502
4573
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4503
|
-
var tmp0 = this.
|
|
4574
|
+
var tmp0 = this.w9y_1;
|
|
4504
4575
|
var tmp2 = action_0.q8u_1;
|
|
4505
4576
|
var tmp4 = action_0.s8u_1;
|
|
4506
4577
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4540,7 +4611,7 @@
|
|
|
4540
4611
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4541
4612
|
while (_iterator__ex2g4s_2.m()) {
|
|
4542
4613
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4543
|
-
var tmp0_aid = tmp0.
|
|
4614
|
+
var tmp0_aid = tmp0.v9y_1.z6d();
|
|
4544
4615
|
// Inline function 'kotlin.collections.map' call
|
|
4545
4616
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4546
4617
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4562,15 +4633,15 @@
|
|
|
4562
4633
|
tmp = destination_2;
|
|
4563
4634
|
} else {
|
|
4564
4635
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4565
|
-
var tmp0_0 = this.
|
|
4636
|
+
var tmp0_0 = this.w9y_1;
|
|
4566
4637
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4567
4638
|
var table = state.n6n();
|
|
4568
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4639
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.v9y_1.z6d(), table.id, null);
|
|
4569
4640
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4570
4641
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4571
4642
|
} else {
|
|
4572
4643
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4573
|
-
var tmp0_1 = this.
|
|
4644
|
+
var tmp0_1 = this.w9y_1;
|
|
4574
4645
|
var tmp2_0 = action_0.w8u_1.id;
|
|
4575
4646
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4576
4647
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4610,7 +4681,7 @@
|
|
|
4610
4681
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4611
4682
|
while (_iterator__ex2g4s_7.m()) {
|
|
4612
4683
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4613
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4684
|
+
var tmp0_aid_0 = tmp0_1.v9y_1.z6d();
|
|
4614
4685
|
// Inline function 'kotlin.collections.map' call
|
|
4615
4686
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4616
4687
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4632,39 +4703,39 @@
|
|
|
4632
4703
|
tmp = destination_7;
|
|
4633
4704
|
} else {
|
|
4634
4705
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4635
|
-
var tmp0_2 = this.
|
|
4706
|
+
var tmp0_2 = this.w9y_1;
|
|
4636
4707
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4637
4708
|
var table_0 = state.n6n();
|
|
4638
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4709
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.v9y_1.z6d(), table_0.id, null);
|
|
4639
4710
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4640
4711
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4641
4712
|
} else {
|
|
4642
4713
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4643
|
-
var tmp0_3 = this.
|
|
4714
|
+
var tmp0_3 = this.w9y_1;
|
|
4644
4715
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4645
4716
|
var table_1 = state.n6n();
|
|
4646
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4717
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.v9y_1.z6d(), table_1.id, null);
|
|
4647
4718
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4648
4719
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4649
4720
|
} else {
|
|
4650
4721
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4651
|
-
var tmp0_4 = this.
|
|
4722
|
+
var tmp0_4 = this.w9y_1;
|
|
4652
4723
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4653
4724
|
var table_2 = state.n6n();
|
|
4654
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4725
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.v9y_1.z6d(), table_2.id, null);
|
|
4655
4726
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4656
4727
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4657
4728
|
} else {
|
|
4658
4729
|
if (action_0 instanceof ErrorAction) {
|
|
4659
|
-
var tmp0_5 = this.
|
|
4730
|
+
var tmp0_5 = this.w9y_1;
|
|
4660
4731
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4661
4732
|
var table_3 = state.n6n();
|
|
4662
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4733
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.v9y_1.z6d(), table_3.id, null);
|
|
4663
4734
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4664
4735
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4665
4736
|
} else {
|
|
4666
4737
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4667
|
-
var tmp0_6 = this.
|
|
4738
|
+
var tmp0_6 = this.w9y_1;
|
|
4668
4739
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4669
4740
|
var table_4 = state.n6n();
|
|
4670
4741
|
var tmp2_1 = table_4.id;
|
|
@@ -4697,7 +4768,7 @@
|
|
|
4697
4768
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4698
4769
|
while (_iterator__ex2g4s_11.m()) {
|
|
4699
4770
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4700
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4771
|
+
var tmp0_aid_1 = tmp0_6.v9y_1.z6d();
|
|
4701
4772
|
// Inline function 'kotlin.collections.map' call
|
|
4702
4773
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4703
4774
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4719,7 +4790,7 @@
|
|
|
4719
4790
|
tmp = destination_11;
|
|
4720
4791
|
} else {
|
|
4721
4792
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4722
|
-
var tmp0_7 = this.
|
|
4793
|
+
var tmp0_7 = this.w9y_1;
|
|
4723
4794
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4724
4795
|
var table_5 = state.n6n();
|
|
4725
4796
|
var tmp2_2 = table_5.id;
|
|
@@ -4752,7 +4823,7 @@
|
|
|
4752
4823
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4753
4824
|
while (_iterator__ex2g4s_15.m()) {
|
|
4754
4825
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4755
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4826
|
+
var tmp0_aid_2 = tmp0_7.v9y_1.z6d();
|
|
4756
4827
|
// Inline function 'kotlin.collections.map' call
|
|
4757
4828
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4758
4829
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4774,7 +4845,7 @@
|
|
|
4774
4845
|
tmp = destination_15;
|
|
4775
4846
|
} else {
|
|
4776
4847
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4777
|
-
var tmp0_8 = this.
|
|
4848
|
+
var tmp0_8 = this.w9y_1;
|
|
4778
4849
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4779
4850
|
var table_6 = state.n6n();
|
|
4780
4851
|
var tmp2_3 = table_6.id;
|
|
@@ -4807,7 +4878,7 @@
|
|
|
4807
4878
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4808
4879
|
while (_iterator__ex2g4s_19.m()) {
|
|
4809
4880
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4810
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4881
|
+
var tmp0_aid_3 = tmp0_8.v9y_1.z6d();
|
|
4811
4882
|
// Inline function 'kotlin.collections.map' call
|
|
4812
4883
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4813
4884
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4819,7 +4890,7 @@
|
|
|
4819
4890
|
}
|
|
4820
4891
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4821
4892
|
var tmp_0;
|
|
4822
|
-
if (this.
|
|
4893
|
+
if (this.w9y_1.u9y_1.supportBackwardActions && getPlayer(state.n6n().players, sendToPlayer_8.b7b_1).q6q_1.f6u_1) {
|
|
4823
4894
|
tmp_0 = null;
|
|
4824
4895
|
} else {
|
|
4825
4896
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4835,72 +4906,72 @@
|
|
|
4835
4906
|
tmp = destination_19;
|
|
4836
4907
|
} else {
|
|
4837
4908
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4838
|
-
var tmp0_9 = this.
|
|
4909
|
+
var tmp0_9 = this.w9y_1;
|
|
4839
4910
|
var tmp2_4 = state.n6n();
|
|
4840
4911
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4841
|
-
var exceptPlayerId = this.
|
|
4842
|
-
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);
|
|
4843
4914
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4844
4915
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4845
4916
|
} else {
|
|
4846
4917
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4847
|
-
var tmp0_10 = this.
|
|
4918
|
+
var tmp0_10 = this.w9y_1;
|
|
4848
4919
|
var tmp2_5 = state.n6n();
|
|
4849
4920
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4850
|
-
var exceptPlayerId_0 = this.
|
|
4851
|
-
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);
|
|
4852
4923
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4853
4924
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4854
4925
|
} else {
|
|
4855
4926
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4856
|
-
var tmp0_11 = this.
|
|
4927
|
+
var tmp0_11 = this.w9y_1;
|
|
4857
4928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4858
4929
|
var table_7 = state.n6n();
|
|
4859
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4930
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.v9y_1.z6d(), table_7.id, null);
|
|
4860
4931
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4861
4932
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4862
4933
|
} else {
|
|
4863
4934
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4864
|
-
var tmp0_12 = this.
|
|
4935
|
+
var tmp0_12 = this.w9y_1;
|
|
4865
4936
|
var tmp2_6 = state.n6n();
|
|
4866
4937
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4867
|
-
var exceptPlayerId_1 = this.
|
|
4868
|
-
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);
|
|
4869
4940
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4870
4941
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4871
4942
|
} else {
|
|
4872
4943
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4873
|
-
var tmp0_13 = this.
|
|
4944
|
+
var tmp0_13 = this.w9y_1;
|
|
4874
4945
|
var tmp2_7 = state.n6n();
|
|
4875
4946
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4876
|
-
var exceptPlayerId_2 = this.
|
|
4877
|
-
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);
|
|
4878
4949
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4879
4950
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4880
4951
|
} else {
|
|
4881
4952
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4882
|
-
var tmp0_14 = this.
|
|
4953
|
+
var tmp0_14 = this.w9y_1;
|
|
4883
4954
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4884
4955
|
var table_8 = state.n6n();
|
|
4885
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4956
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.v9y_1.z6d(), table_8.id, null);
|
|
4886
4957
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4887
4958
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4888
4959
|
} else {
|
|
4889
4960
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4890
|
-
var tmp0_15 = this.
|
|
4961
|
+
var tmp0_15 = this.w9y_1;
|
|
4891
4962
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4892
4963
|
var table_9 = state.n6n();
|
|
4893
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4964
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.v9y_1.z6d(), table_9.id, null);
|
|
4894
4965
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4895
4966
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4896
4967
|
} else {
|
|
4897
4968
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4898
4969
|
var message = action_0.b8w_1;
|
|
4899
|
-
var tmp0_16 = this.
|
|
4970
|
+
var tmp0_16 = this.w9y_1;
|
|
4900
4971
|
var tmp2_8 = state.n6n();
|
|
4901
4972
|
var tmp_1;
|
|
4902
4973
|
var tmp_2;
|
|
4903
|
-
if (this.
|
|
4974
|
+
if (this.w9y_1.u9y_1.supportBackwardActions) {
|
|
4904
4975
|
tmp_2 = isInterface(message, UserMessage);
|
|
4905
4976
|
} else {
|
|
4906
4977
|
tmp_2 = false;
|
|
@@ -4912,16 +4983,16 @@
|
|
|
4912
4983
|
}
|
|
4913
4984
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4914
4985
|
var exceptPlayerId_3 = tmp_1;
|
|
4915
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4986
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.v9y_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4916
4987
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4917
4988
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4918
4989
|
} else {
|
|
4919
4990
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4920
|
-
var tmp0_17 = this.
|
|
4991
|
+
var tmp0_17 = this.w9y_1;
|
|
4921
4992
|
var tmp2_9 = state.n6n();
|
|
4922
4993
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4923
4994
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4924
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4995
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.v9y_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4925
4996
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4926
4997
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4927
4998
|
} else {
|
|
@@ -4958,8 +5029,8 @@
|
|
|
4958
5029
|
return this.m6h(store, next, action);
|
|
4959
5030
|
};
|
|
4960
5031
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4961
|
-
this.
|
|
4962
|
-
this.
|
|
5032
|
+
this.u9y_1 = logicConfig;
|
|
5033
|
+
this.v9y_1 = idsProvider;
|
|
4963
5034
|
}
|
|
4964
5035
|
protoOf(ServerMapMechanicToClientActionMiddleware).m90 = function () {
|
|
4965
5036
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4970,8 +5041,8 @@
|
|
|
4970
5041
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4971
5042
|
}
|
|
4972
5043
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4973
|
-
this.
|
|
4974
|
-
this.
|
|
5044
|
+
this.f9z_1 = $provider;
|
|
5045
|
+
this.g9z_1 = $action;
|
|
4975
5046
|
CoroutineImpl.call(this, resultContinuation);
|
|
4976
5047
|
}
|
|
4977
5048
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -4992,7 +5063,7 @@
|
|
|
4992
5063
|
case 0:
|
|
4993
5064
|
this.s8_1 = 2;
|
|
4994
5065
|
this.r8_1 = 1;
|
|
4995
|
-
suspendResult = this.
|
|
5066
|
+
suspendResult = this.f9z_1.s9v(this.g9z_1, this);
|
|
4996
5067
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4997
5068
|
return suspendResult;
|
|
4998
5069
|
}
|
|
@@ -5015,8 +5086,8 @@
|
|
|
5015
5086
|
while (true);
|
|
5016
5087
|
};
|
|
5017
5088
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5018
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5019
|
-
i.
|
|
5089
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.f9z_1, this.g9z_1, completion);
|
|
5090
|
+
i.h9z_1 = $this$launchDefault;
|
|
5020
5091
|
return i;
|
|
5021
5092
|
};
|
|
5022
5093
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5028,15 +5099,15 @@
|
|
|
5028
5099
|
return l;
|
|
5029
5100
|
}
|
|
5030
5101
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5031
|
-
this.
|
|
5032
|
-
this.
|
|
5102
|
+
this.i9z_1 = $asyncProvider;
|
|
5103
|
+
this.j9z_1 = $provider;
|
|
5033
5104
|
}
|
|
5034
5105
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5035
5106
|
return action instanceof ToClientAction;
|
|
5036
5107
|
};
|
|
5037
5108
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5038
5109
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5039
|
-
this.
|
|
5110
|
+
this.i9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.j9z_1, action_0, null));
|
|
5040
5111
|
next(action_0);
|
|
5041
5112
|
};
|
|
5042
5113
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
@@ -5053,7 +5124,7 @@
|
|
|
5053
5124
|
};
|
|
5054
5125
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
|
|
5055
5126
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5056
|
-
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));
|
|
5057
5128
|
};
|
|
5058
5129
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5059
5130
|
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5078,7 +5149,7 @@
|
|
|
5078
5149
|
}
|
|
5079
5150
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5080
5151
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5081
|
-
this.
|
|
5152
|
+
this.m9z_1 = logger;
|
|
5082
5153
|
}
|
|
5083
5154
|
protoOf(ServerMechanicLifecycleReducer).u99 = function (state, action) {
|
|
5084
5155
|
var serverState = get_serverStatePayloadOrNull(state.m6m_1);
|
|
@@ -5094,7 +5165,7 @@
|
|
|
5094
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));
|
|
5095
5166
|
var tmp;
|
|
5096
5167
|
if (serverState == null) {
|
|
5097
|
-
this.
|
|
5168
|
+
this.m9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5098
5169
|
tmp = Companion_instance_13.initial();
|
|
5099
5170
|
} else {
|
|
5100
5171
|
tmp = serverState;
|
|
@@ -5123,7 +5194,7 @@
|
|
|
5123
5194
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5124
5195
|
}
|
|
5125
5196
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5126
|
-
this.
|
|
5197
|
+
this.n9z_1 = $logger;
|
|
5127
5198
|
}
|
|
5128
5199
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5129
5200
|
return isInterface(action, SpectatorsAction);
|
|
@@ -5134,7 +5205,7 @@
|
|
|
5134
5205
|
var tmp;
|
|
5135
5206
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5136
5207
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5137
|
-
var tmp0 = action_0.
|
|
5208
|
+
var tmp0 = action_0.z9x_1;
|
|
5138
5209
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5139
5210
|
var destination = ArrayList_init_$Create$_0();
|
|
5140
5211
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5153,9 +5224,9 @@
|
|
|
5153
5224
|
var tmp_0;
|
|
5154
5225
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5155
5226
|
if (!sameSpectators.r()) {
|
|
5156
|
-
this.
|
|
5227
|
+
this.n9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5157
5228
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5158
|
-
var tmp0_0 = action_0.
|
|
5229
|
+
var tmp0_0 = action_0.z9x_1;
|
|
5159
5230
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5160
5231
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5161
5232
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5190,7 +5261,7 @@
|
|
|
5190
5261
|
}
|
|
5191
5262
|
tmp_0 = destination_0;
|
|
5192
5263
|
} else {
|
|
5193
|
-
tmp_0 = action_0.
|
|
5264
|
+
tmp_0 = action_0.z9x_1;
|
|
5194
5265
|
}
|
|
5195
5266
|
// Inline function 'kotlin.collections.map' call
|
|
5196
5267
|
var this_0 = tmp_0;
|
|
@@ -5207,7 +5278,7 @@
|
|
|
5207
5278
|
} else {
|
|
5208
5279
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5209
5280
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5210
|
-
var tmp0_1 = action_0.
|
|
5281
|
+
var tmp0_1 = action_0.a9y_1;
|
|
5211
5282
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5212
5283
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5213
5284
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5226,9 +5297,9 @@
|
|
|
5226
5297
|
var tmp_2;
|
|
5227
5298
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5228
5299
|
if (!sameSpectators_0.r()) {
|
|
5229
|
-
this.
|
|
5300
|
+
this.n9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5230
5301
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5231
|
-
var tmp0_2 = action_0.
|
|
5302
|
+
var tmp0_2 = action_0.a9y_1;
|
|
5232
5303
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5233
5304
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5234
5305
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5263,7 +5334,7 @@
|
|
|
5263
5334
|
}
|
|
5264
5335
|
tmp_2 = destination_3;
|
|
5265
5336
|
} else {
|
|
5266
|
-
tmp_2 = action_0.
|
|
5337
|
+
tmp_2 = action_0.a9y_1;
|
|
5267
5338
|
}
|
|
5268
5339
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5269
5340
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5312,12 +5383,12 @@
|
|
|
5312
5383
|
};
|
|
5313
5384
|
function Companion_5() {
|
|
5314
5385
|
}
|
|
5315
|
-
protoOf(Companion_5).
|
|
5386
|
+
protoOf(Companion_5).o9z = function (config) {
|
|
5316
5387
|
return new ServerStatePayload(config);
|
|
5317
5388
|
};
|
|
5318
5389
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5319
5390
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5320
|
-
return $super === VOID ? this.
|
|
5391
|
+
return $super === VOID ? this.o9z(config) : $super.o9z.call(this, config);
|
|
5321
5392
|
};
|
|
5322
5393
|
var Companion_instance_13;
|
|
5323
5394
|
function Companion_getInstance_6() {
|
|
@@ -5332,12 +5403,12 @@
|
|
|
5332
5403
|
protoOf(ServerStatePayload).ne = function () {
|
|
5333
5404
|
return this.config;
|
|
5334
5405
|
};
|
|
5335
|
-
protoOf(ServerStatePayload).
|
|
5406
|
+
protoOf(ServerStatePayload).p9z = function (config) {
|
|
5336
5407
|
return new ServerStatePayload(config);
|
|
5337
5408
|
};
|
|
5338
5409
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5339
5410
|
config = config === VOID ? this.config : config;
|
|
5340
|
-
return $super === VOID ? this.
|
|
5411
|
+
return $super === VOID ? this.p9z(config) : $super.p9z.call(this, config);
|
|
5341
5412
|
};
|
|
5342
5413
|
protoOf(ServerStatePayload).toString = function () {
|
|
5343
5414
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5398,19 +5469,38 @@
|
|
|
5398
5469
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5399
5470
|
}
|
|
5400
5471
|
function _get_logger__rkp4sl_1($this) {
|
|
5401
|
-
var tmp0 = $this.
|
|
5472
|
+
var tmp0 = $this.z9z_1;
|
|
5402
5473
|
var tmp = KProperty1;
|
|
5403
5474
|
// Inline function 'kotlin.getValue' call
|
|
5404
5475
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5405
5476
|
return tmp0.w();
|
|
5406
5477
|
}
|
|
5407
5478
|
function _get_di__ndbzja($this) {
|
|
5408
|
-
var tmp0 = $this.
|
|
5479
|
+
var tmp0 = $this.aa0_1;
|
|
5409
5480
|
var tmp = KProperty1;
|
|
5410
5481
|
// Inline function 'kotlin.getValue' call
|
|
5411
5482
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
5412
5483
|
return tmp0.w();
|
|
5413
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
|
+
}
|
|
5414
5504
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
5415
5505
|
var tmp = Companion_instance_4;
|
|
5416
5506
|
return tmp.i5z(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
|
|
@@ -5418,11 +5508,11 @@
|
|
|
5418
5508
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5419
5509
|
return function () {
|
|
5420
5510
|
var tmp;
|
|
5421
|
-
if (this$0.
|
|
5511
|
+
if (this$0.x9z_1 == null) {
|
|
5422
5512
|
tmp = null;
|
|
5423
5513
|
} else {
|
|
5424
5514
|
// Inline function 'kotlin.let' call
|
|
5425
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5515
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.x9z_1)]));
|
|
5426
5516
|
}
|
|
5427
5517
|
var tmp1_elvis_lhs = tmp;
|
|
5428
5518
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5455,7 +5545,7 @@
|
|
|
5455
5545
|
tmp_0.x62(tmp$ret$3);
|
|
5456
5546
|
$this$DI.b5z(jsonModule());
|
|
5457
5547
|
$this$DI.b5z(serverHelpersModule());
|
|
5458
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5548
|
+
$this$DI.b5z(randomOrgModule(this$0.y9z_1));
|
|
5459
5549
|
return Unit_instance;
|
|
5460
5550
|
};
|
|
5461
5551
|
}
|
|
@@ -5531,86 +5621,104 @@
|
|
|
5531
5621
|
};
|
|
5532
5622
|
}
|
|
5533
5623
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5534
|
-
this.
|
|
5624
|
+
this.ha0_1 = $reducer;
|
|
5535
5625
|
}
|
|
5536
5626
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5537
5627
|
return isInterface(action, Action);
|
|
5538
5628
|
};
|
|
5539
5629
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).i98 = function (state, action) {
|
|
5540
|
-
return this.
|
|
5630
|
+
return this.ha0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5541
5631
|
};
|
|
5542
5632
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5543
5633
|
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5544
5634
|
};
|
|
5545
|
-
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) {
|
|
5546
5641
|
return function ($this$singleton) {
|
|
5547
|
-
return $
|
|
5642
|
+
return $it;
|
|
5643
|
+
};
|
|
5644
|
+
}
|
|
5645
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_1($gameServer) {
|
|
5646
|
+
return function () {
|
|
5647
|
+
return $gameServer._v;
|
|
5548
5648
|
};
|
|
5549
5649
|
}
|
|
5550
|
-
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$
|
|
5650
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_2($it) {
|
|
5551
5651
|
return function ($this$singleton) {
|
|
5552
|
-
return $
|
|
5652
|
+
return $it;
|
|
5553
5653
|
};
|
|
5554
5654
|
}
|
|
5555
|
-
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda($
|
|
5655
|
+
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(this$0, $coreConfig, $combinedLogger, $gameServer) {
|
|
5556
5656
|
return function ($this$Module) {
|
|
5557
|
-
var
|
|
5558
|
-
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);
|
|
5559
5663
|
// Inline function 'org.kodein.di.bind' call
|
|
5560
5664
|
// Inline function 'org.kodein.type.generic' call
|
|
5561
|
-
var
|
|
5562
|
-
var tmp$ret$0 = isInterface(
|
|
5563
|
-
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);
|
|
5564
5668
|
// Inline function 'org.kodein.di.singleton' call
|
|
5565
|
-
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$
|
|
5566
|
-
var
|
|
5567
|
-
var
|
|
5568
|
-
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();
|
|
5569
5673
|
// Inline function 'org.kodein.type.generic' call
|
|
5570
|
-
var
|
|
5571
|
-
var tmp$ret$2 = isInterface(
|
|
5572
|
-
var tmp$ret$3 = new Singleton(tmp_2, tmp_3,
|
|
5573
|
-
|
|
5574
|
-
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);
|
|
5575
5678
|
}
|
|
5576
|
-
var
|
|
5577
|
-
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);
|
|
5578
5685
|
// Inline function 'org.kodein.di.bind' call
|
|
5579
5686
|
// Inline function 'org.kodein.type.generic' call
|
|
5580
|
-
var
|
|
5581
|
-
var tmp$ret$
|
|
5582
|
-
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);
|
|
5583
5690
|
// Inline function 'org.kodein.di.singleton' call
|
|
5584
|
-
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$
|
|
5585
|
-
var
|
|
5586
|
-
var
|
|
5587
|
-
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();
|
|
5588
5695
|
// Inline function 'org.kodein.type.generic' call
|
|
5589
|
-
var
|
|
5590
|
-
var tmp$ret$
|
|
5591
|
-
var tmp$ret$
|
|
5592
|
-
|
|
5593
|
-
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);
|
|
5594
5700
|
}
|
|
5595
5701
|
return Unit_instance;
|
|
5596
5702
|
};
|
|
5597
5703
|
}
|
|
5598
|
-
function GameServerEngineControllerImpl$
|
|
5704
|
+
function GameServerEngineControllerImpl$createFileLoggerOutput$lambda($gameServer) {
|
|
5599
5705
|
return function (it) {
|
|
5600
|
-
|
|
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);
|
|
5601
5709
|
};
|
|
5602
5710
|
}
|
|
5603
|
-
function GameServerEngineControllerImpl$
|
|
5711
|
+
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5604
5712
|
return function (it) {
|
|
5605
|
-
var
|
|
5713
|
+
var payload = Companion_instance_5.p9b(it);
|
|
5606
5714
|
var tmp;
|
|
5607
|
-
if (
|
|
5608
|
-
|
|
5609
|
-
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
5610
|
-
} else {
|
|
5611
|
-
tmp = tmp0_elvis_lhs;
|
|
5715
|
+
if (!(payload == null)) {
|
|
5716
|
+
return payload;
|
|
5612
5717
|
}
|
|
5613
|
-
|
|
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);
|
|
5614
5722
|
};
|
|
5615
5723
|
}
|
|
5616
5724
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares) {
|
|
@@ -5623,7 +5731,7 @@
|
|
|
5623
5731
|
// Inline function 'kotlin.let' call
|
|
5624
5732
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5625
5733
|
}
|
|
5626
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5734
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.y9z_1));
|
|
5627
5735
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5628
5736
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5629
5737
|
return Unit_instance;
|
|
@@ -5632,13 +5740,13 @@
|
|
|
5632
5740
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5633
5741
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5634
5742
|
production = production === VOID ? true : production;
|
|
5635
|
-
this.
|
|
5636
|
-
this.
|
|
5743
|
+
this.x9z_1 = loggerCallback;
|
|
5744
|
+
this.y9z_1 = randomOrgConfig;
|
|
5637
5745
|
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5638
5746
|
var tmp = this;
|
|
5639
|
-
tmp.
|
|
5747
|
+
tmp.z9z_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5640
5748
|
var tmp_0 = this;
|
|
5641
|
-
tmp_0.
|
|
5749
|
+
tmp_0.aa0_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5642
5750
|
var tmp_1 = this;
|
|
5643
5751
|
// Inline function 'org.kodein.di.instance' call
|
|
5644
5752
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5647,7 +5755,7 @@
|
|
|
5647
5755
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5648
5756
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5649
5757
|
var tmp_4 = KProperty1;
|
|
5650
|
-
tmp_1.
|
|
5758
|
+
tmp_1.ba0_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5651
5759
|
var tmp_5 = this;
|
|
5652
5760
|
// Inline function 'org.kodein.di.instance' call
|
|
5653
5761
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5656,7 +5764,7 @@
|
|
|
5656
5764
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5657
5765
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5658
5766
|
var tmp_8 = KProperty1;
|
|
5659
|
-
tmp_5.
|
|
5767
|
+
tmp_5.ca0_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5660
5768
|
var tmp_9 = this;
|
|
5661
5769
|
// Inline function 'org.kodein.di.instance' call
|
|
5662
5770
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5665,7 +5773,7 @@
|
|
|
5665
5773
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5666
5774
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5667
5775
|
var tmp_12 = KProperty1;
|
|
5668
|
-
tmp_9.
|
|
5776
|
+
tmp_9.da0_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5669
5777
|
var tmp_13 = this;
|
|
5670
5778
|
// Inline function 'org.kodein.di.instance' call
|
|
5671
5779
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5674,7 +5782,7 @@
|
|
|
5674
5782
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5675
5783
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5676
5784
|
var tmp_16 = KProperty1;
|
|
5677
|
-
tmp_13.
|
|
5785
|
+
tmp_13.ea0_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5678
5786
|
var tmp_17 = this;
|
|
5679
5787
|
// Inline function 'org.kodein.di.instance' call
|
|
5680
5788
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5683,7 +5791,7 @@
|
|
|
5683
5791
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5684
5792
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5685
5793
|
var tmp_20 = KProperty1;
|
|
5686
|
-
tmp_17.
|
|
5794
|
+
tmp_17.fa0_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5687
5795
|
var tmp_21 = this;
|
|
5688
5796
|
// Inline function 'org.kodein.di.instance' call
|
|
5689
5797
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5692,45 +5800,45 @@
|
|
|
5692
5800
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5693
5801
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5694
5802
|
var tmp_24 = KProperty1;
|
|
5695
|
-
tmp_21.
|
|
5803
|
+
tmp_21.ga0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5696
5804
|
}
|
|
5697
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5698
|
-
var tmp0 = this.
|
|
5805
|
+
protoOf(GameServerEngineControllerImpl).q9z = function () {
|
|
5806
|
+
var tmp0 = this.ba0_1;
|
|
5699
5807
|
var tmp = KProperty1;
|
|
5700
5808
|
// Inline function 'kotlin.getValue' call
|
|
5701
5809
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5702
5810
|
return tmp0.w();
|
|
5703
5811
|
};
|
|
5704
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5705
|
-
var tmp0 = this.
|
|
5812
|
+
protoOf(GameServerEngineControllerImpl).s9z = function () {
|
|
5813
|
+
var tmp0 = this.ca0_1;
|
|
5706
5814
|
var tmp = KProperty1;
|
|
5707
5815
|
// Inline function 'kotlin.getValue' call
|
|
5708
5816
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5709
5817
|
return tmp0.w();
|
|
5710
5818
|
};
|
|
5711
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5712
|
-
var tmp0 = this.
|
|
5819
|
+
protoOf(GameServerEngineControllerImpl).t9z = function () {
|
|
5820
|
+
var tmp0 = this.da0_1;
|
|
5713
5821
|
var tmp = KProperty1;
|
|
5714
5822
|
// Inline function 'kotlin.getValue' call
|
|
5715
5823
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5716
5824
|
return tmp0.w();
|
|
5717
5825
|
};
|
|
5718
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5719
|
-
var tmp0 = this.
|
|
5826
|
+
protoOf(GameServerEngineControllerImpl).u9z = function () {
|
|
5827
|
+
var tmp0 = this.ea0_1;
|
|
5720
5828
|
var tmp = KProperty1;
|
|
5721
5829
|
// Inline function 'kotlin.getValue' call
|
|
5722
5830
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5723
5831
|
return tmp0.w();
|
|
5724
5832
|
};
|
|
5725
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5726
|
-
var tmp0 = this.
|
|
5833
|
+
protoOf(GameServerEngineControllerImpl).r9z = function () {
|
|
5834
|
+
var tmp0 = this.fa0_1;
|
|
5727
5835
|
var tmp = KProperty1;
|
|
5728
5836
|
// Inline function 'kotlin.getValue' call
|
|
5729
5837
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5730
5838
|
return tmp0.w();
|
|
5731
5839
|
};
|
|
5732
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5733
|
-
var tmp0 = this.
|
|
5840
|
+
protoOf(GameServerEngineControllerImpl).v9z = function () {
|
|
5841
|
+
var tmp0 = this.ga0_1;
|
|
5734
5842
|
var tmp = KProperty1;
|
|
5735
5843
|
// Inline function 'kotlin.getValue' call
|
|
5736
5844
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5742,22 +5850,9 @@
|
|
|
5742
5850
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5743
5851
|
return this.createGameEngineWithLogic();
|
|
5744
5852
|
};
|
|
5745
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5853
|
+
protoOf(GameServerEngineControllerImpl).w9z = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5746
5854
|
var combinedLogger = Companion_instance_6.mx();
|
|
5747
|
-
var
|
|
5748
|
-
if (coreConfig.fileLogsEnabled) {
|
|
5749
|
-
tmp = new FileLoggerOutputImpl();
|
|
5750
|
-
} else {
|
|
5751
|
-
tmp = null;
|
|
5752
|
-
}
|
|
5753
|
-
var fileLoggerOutput = tmp;
|
|
5754
|
-
var tmp_0;
|
|
5755
|
-
if (!(this.r9z_1 == null)) {
|
|
5756
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.r9z_1));
|
|
5757
|
-
} else {
|
|
5758
|
-
tmp_0 = null;
|
|
5759
|
-
}
|
|
5760
|
-
var callbackWrapperLoggerOutput = tmp_0;
|
|
5855
|
+
var gameServer = {_v: null};
|
|
5761
5856
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
5762
5857
|
// Inline function 'kotlin.collections.map' call
|
|
5763
5858
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -5784,25 +5879,15 @@
|
|
|
5784
5879
|
destination_0.j(tmp$ret$4);
|
|
5785
5880
|
}
|
|
5786
5881
|
var tmp2_externalMiddlewares = toList_0(destination_0);
|
|
5787
|
-
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(
|
|
5788
|
-
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);
|
|
5789
5884
|
// Inline function 'org.kodein.di.instance' call
|
|
5790
|
-
var
|
|
5885
|
+
var tmp = get_direct(engineDI).m60();
|
|
5791
5886
|
// Inline function 'org.kodein.type.generic' call
|
|
5792
|
-
var
|
|
5793
|
-
var tmp$ret$7 = isInterface(
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
var tmp_3 = fileLoggerOutput;
|
|
5797
|
-
tmp_3.r9c_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5798
|
-
combinedLogger.w1k(fileLoggerOutput);
|
|
5799
|
-
}
|
|
5800
|
-
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5801
|
-
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5802
|
-
tmp_4.r9b_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5803
|
-
combinedLogger.w1k(callbackWrapperLoggerOutput);
|
|
5804
|
-
}
|
|
5805
|
-
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;
|
|
5806
5891
|
};
|
|
5807
5892
|
function GameServerHelper() {
|
|
5808
5893
|
}
|
|
@@ -5814,7 +5899,7 @@
|
|
|
5814
5899
|
function TestHelper() {
|
|
5815
5900
|
}
|
|
5816
5901
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5817
|
-
var tmp0 = $this.
|
|
5902
|
+
var tmp0 = $this.ka0_1;
|
|
5818
5903
|
var tmp = KProperty1;
|
|
5819
5904
|
// Inline function 'kotlin.getValue' call
|
|
5820
5905
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5822,7 +5907,7 @@
|
|
|
5822
5907
|
}
|
|
5823
5908
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5824
5909
|
return function ($this$singleton) {
|
|
5825
|
-
return this$0.
|
|
5910
|
+
return this$0.ia0_1;
|
|
5826
5911
|
};
|
|
5827
5912
|
}
|
|
5828
5913
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5861,19 +5946,19 @@
|
|
|
5861
5946
|
return emptyMap();
|
|
5862
5947
|
}
|
|
5863
5948
|
function TestHelperImpl(logger) {
|
|
5864
|
-
this.
|
|
5949
|
+
this.ia0_1 = logger;
|
|
5865
5950
|
var tmp = this;
|
|
5866
5951
|
var tmp_0 = Companion_instance_4;
|
|
5867
|
-
tmp.
|
|
5952
|
+
tmp.ja0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5868
5953
|
var tmp_1 = this;
|
|
5869
5954
|
// Inline function 'org.kodein.di.instance' call
|
|
5870
|
-
var this_0 = this.
|
|
5955
|
+
var this_0 = this.ja0_1;
|
|
5871
5956
|
// Inline function 'org.kodein.type.generic' call
|
|
5872
5957
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5873
5958
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5874
5959
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5875
5960
|
var tmp_4 = KProperty1;
|
|
5876
|
-
tmp_1.
|
|
5961
|
+
tmp_1.ka0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5877
5962
|
}
|
|
5878
5963
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5879
5964
|
return _get_playerAnswerInteractor__msggz1(this).b8k(playerId, table, botConfig);
|
|
@@ -6013,7 +6098,19 @@
|
|
|
6013
6098
|
return this.p6n();
|
|
6014
6099
|
});
|
|
6015
6100
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6101
|
+
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6102
|
+
return this.v8w();
|
|
6103
|
+
});
|
|
6016
6104
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6105
|
+
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6106
|
+
return this.v8w();
|
|
6107
|
+
});
|
|
6108
|
+
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6109
|
+
return this.v8w();
|
|
6110
|
+
});
|
|
6111
|
+
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6112
|
+
return this.v8w();
|
|
6113
|
+
});
|
|
6017
6114
|
protoOf(UpdateServerConfigAction).n6f = get_actionTag;
|
|
6018
6115
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
6019
6116
|
return this.n6f();
|
|
@@ -6028,22 +6125,22 @@
|
|
|
6028
6125
|
});
|
|
6029
6126
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6030
6127
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6031
|
-
return this.
|
|
6128
|
+
return this.q9z();
|
|
6032
6129
|
});
|
|
6033
6130
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6034
|
-
return this.
|
|
6131
|
+
return this.s9z();
|
|
6035
6132
|
});
|
|
6036
6133
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6037
|
-
return this.
|
|
6134
|
+
return this.t9z();
|
|
6038
6135
|
});
|
|
6039
6136
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6040
|
-
return this.
|
|
6137
|
+
return this.u9z();
|
|
6041
6138
|
});
|
|
6042
6139
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6043
|
-
return this.
|
|
6140
|
+
return this.r9z();
|
|
6044
6141
|
});
|
|
6045
6142
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6046
|
-
return this.
|
|
6143
|
+
return this.v9z();
|
|
6047
6144
|
});
|
|
6048
6145
|
//endregion
|
|
6049
6146
|
//region block: init
|