client_plugin_logic_deb 1.8.374 → 1.8.377
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +5 -5
- package/Kosi-Kodein-kodein-di.js +17 -17
- package/Kotlin-DateTime-library-kotlinx-datetime.js +35 -35
- package/Logic_Debertz-client_plugin.d.ts +12 -13
- package/Logic_Debertz-client_plugin.js +2081 -2088
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1018 -855
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12209 -12240
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6824 -6793
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +979 -935
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +1 -1
- package/kotlin-kotlin-stdlib.js +147 -155
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-coroutines-core.js +105 -105
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +10 -10
- package/kotlinx-serialization-kotlinx-serialization-core.js +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json.js +44 -44
- package/ktor-ktor-client-content-negotiation.js +8 -8
- package/ktor-ktor-client-core.js +24 -24
- package/ktor-ktor-client-logging.js +5 -5
- package/ktor-ktor-events.js +2 -2
- package/ktor-ktor-http.js +37 -37
- package/ktor-ktor-io.js +17 -17
- package/ktor-ktor-serialization-kotlinx.js +2 -2
- package/ktor-ktor-serialization.js +3 -3
- package/ktor-ktor-utils.js +14 -14
- package/ktor-ktor-websockets.js +5 -5
- package/package.json +1 -1
- package/random-library-crypto-rand.js +3 -3
- package/random-library-secure-random.js +1 -1
- package/raspberry-cardgame-lib-core.js +8 -8
- package/raspberry-cardgame-lib-logger.js +5 -5
- package/raspberry-cardgame-lib-random.js +13 -13
- package/uuid.js +4 -4
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
var CoroutineImpl = kotlin_kotlin.$_$.sa;
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
48
48
|
var protoOf = kotlin_kotlin.$_$.md;
|
|
49
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
49
|
+
var THROW_CCE = kotlin_kotlin.$_$.ph;
|
|
50
50
|
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
|
|
51
51
|
var initMetadataForLambda = kotlin_kotlin.$_$.qc;
|
|
52
52
|
var VOID = kotlin_kotlin.$_$.b;
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
var fromInt = kotlin_kotlin.$_$.hb;
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
62
|
-
var to = kotlin_kotlin.$_$.
|
|
62
|
+
var to = kotlin_kotlin.$_$.ui;
|
|
63
63
|
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
|
|
64
64
|
var defineProp = kotlin_kotlin.$_$.ec;
|
|
65
65
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.g;
|
|
66
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.ke;
|
|
67
67
|
var getPropertyCallableRef = kotlin_kotlin.$_$.jc;
|
|
68
68
|
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
|
|
69
69
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
79
79
|
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
|
|
81
|
-
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
81
|
+
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w4;
|
|
82
82
|
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f7;
|
|
83
|
-
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
-
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
85
|
-
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
86
|
-
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
83
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
|
|
84
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.p8;
|
|
85
|
+
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
|
|
86
|
+
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u4;
|
|
87
87
|
var toList = kotlin_kotlin.$_$.o9;
|
|
88
88
|
var toString = kotlin_kotlin.$_$.pd;
|
|
89
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
90
|
-
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
89
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.pa;
|
|
90
|
+
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e5;
|
|
91
91
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
|
|
92
92
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
|
|
93
93
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
@@ -96,44 +96,45 @@
|
|
|
96
96
|
var firstOrNull = kotlin_kotlin.$_$.k7;
|
|
97
97
|
var toMutableList = kotlin_kotlin.$_$.s9;
|
|
98
98
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.q;
|
|
99
|
-
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
100
|
-
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
101
|
-
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
99
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.h6;
|
|
100
|
+
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
101
|
+
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.b4;
|
|
102
102
|
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
|
|
103
103
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.c2;
|
|
104
104
|
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
|
|
105
|
-
var
|
|
105
|
+
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
|
|
106
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.na;
|
|
106
107
|
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
|
|
107
|
-
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
108
|
+
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b5;
|
|
108
109
|
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
|
|
109
110
|
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
|
|
110
111
|
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
|
|
111
112
|
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
|
|
112
|
-
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
113
|
-
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
113
|
+
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.d4;
|
|
114
|
+
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.g5;
|
|
114
115
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.v1;
|
|
115
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
116
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
116
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ni;
|
|
117
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.q8;
|
|
117
118
|
var emptyList = kotlin_kotlin.$_$.f7;
|
|
118
119
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
119
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
120
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
121
|
-
var createKType = kotlin_kotlin.$_$.
|
|
120
|
+
var getKClass = kotlin_kotlin.$_$.ge;
|
|
121
|
+
var arrayOf = kotlin_kotlin.$_$.di;
|
|
122
|
+
var createKType = kotlin_kotlin.$_$.ee;
|
|
122
123
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
123
124
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
124
125
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
125
126
|
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
126
127
|
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
127
128
|
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
128
|
-
var lazy = kotlin_kotlin.$_$.
|
|
129
|
+
var lazy = kotlin_kotlin.$_$.mi;
|
|
129
130
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
130
131
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
131
132
|
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
132
133
|
var plus = kotlin_kotlin.$_$.t8;
|
|
133
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
134
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
134
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.s8;
|
|
135
|
+
var toString_0 = kotlin_kotlin.$_$.ti;
|
|
135
136
|
var mapOf = kotlin_kotlin.$_$.m8;
|
|
136
|
-
var Enum = kotlin_kotlin.$_$.
|
|
137
|
+
var Enum = kotlin_kotlin.$_$.eh;
|
|
137
138
|
var getBooleanHashCode = kotlin_kotlin.$_$.hc;
|
|
138
139
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
139
140
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
@@ -152,7 +153,7 @@
|
|
|
152
153
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
153
154
|
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
|
|
154
155
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
155
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
156
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.t8;
|
|
156
157
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
157
158
|
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
|
|
158
159
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
@@ -161,14 +162,14 @@
|
|
|
161
162
|
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
162
163
|
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
163
164
|
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
|
|
164
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.r8;
|
|
165
166
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
166
167
|
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
|
|
167
168
|
var single = kotlin_kotlin.$_$.d9;
|
|
168
169
|
var copyToArray = kotlin_kotlin.$_$.a7;
|
|
169
170
|
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
|
|
170
171
|
var KtList = kotlin_kotlin.$_$.p5;
|
|
171
|
-
var Long = kotlin_kotlin.$_$.
|
|
172
|
+
var Long = kotlin_kotlin.$_$.jh;
|
|
172
173
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
173
174
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
174
175
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
@@ -176,6 +177,7 @@
|
|
|
176
177
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
177
178
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.d3;
|
|
178
179
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
180
|
+
var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
179
181
|
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
|
|
180
182
|
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
|
|
181
183
|
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
|
|
@@ -189,7 +191,7 @@
|
|
|
189
191
|
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.y;
|
|
190
192
|
var listOf = kotlin_kotlin.$_$.j8;
|
|
191
193
|
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
|
|
192
|
-
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
+
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.u8;
|
|
193
195
|
var listOfNotNull = kotlin_kotlin.$_$.g8;
|
|
194
196
|
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
|
|
195
197
|
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
|
|
@@ -202,8 +204,8 @@
|
|
|
202
204
|
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
|
|
203
205
|
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
|
|
204
206
|
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
|
|
205
|
-
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
206
|
-
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
+
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.i5;
|
|
208
|
+
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i9;
|
|
207
209
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
208
210
|
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
|
|
209
211
|
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
|
|
@@ -227,7 +229,7 @@
|
|
|
227
229
|
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
|
|
228
230
|
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
|
|
229
231
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
230
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.o9;
|
|
231
233
|
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
|
|
232
234
|
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
|
|
233
235
|
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
|
|
@@ -246,40 +248,40 @@
|
|
|
246
248
|
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
|
|
247
249
|
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
|
|
248
250
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
249
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
250
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
251
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.t5;
|
|
252
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.r5;
|
|
251
253
|
var Companion_getInstance = kotlin_kotlin.$_$.w4;
|
|
252
254
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
253
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
255
|
+
var toDuration = kotlin_kotlin.$_$.wg;
|
|
254
256
|
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
|
|
255
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
257
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j9;
|
|
256
258
|
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
257
259
|
var Collection = kotlin_kotlin.$_$.i5;
|
|
258
260
|
var toSet = kotlin_kotlin.$_$.v9;
|
|
259
261
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
260
262
|
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
|
|
263
|
+
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.ra;
|
|
261
264
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
262
265
|
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
263
266
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.s1;
|
|
264
267
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
265
|
-
var
|
|
268
|
+
var Companion_instance_4 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
266
269
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
267
270
|
var mutableListOf = kotlin_kotlin.$_$.o8;
|
|
268
271
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
269
272
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
270
|
-
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
273
|
+
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
271
274
|
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
|
|
272
275
|
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
|
|
273
276
|
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
|
|
274
|
-
var
|
|
275
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.pa;
|
|
277
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.qa;
|
|
276
278
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
277
|
-
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
278
|
-
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
279
|
-
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
280
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
281
|
-
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
282
|
-
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
279
|
+
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
|
|
280
|
+
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
281
|
+
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
|
|
282
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j6;
|
|
283
|
+
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.p5;
|
|
284
|
+
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.q5;
|
|
283
285
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
284
286
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
285
287
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
@@ -358,10 +360,10 @@
|
|
|
358
360
|
spectators = tmp;
|
|
359
361
|
var tmp_0;
|
|
360
362
|
if ($super === VOID) {
|
|
361
|
-
this.
|
|
363
|
+
this.me0(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
362
364
|
tmp_0 = Unit_instance;
|
|
363
365
|
} else {
|
|
364
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.me0.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
365
367
|
}
|
|
366
368
|
return tmp_0;
|
|
367
369
|
}
|
|
@@ -369,10 +371,10 @@
|
|
|
369
371
|
newRid = newRid === VOID ? null : newRid;
|
|
370
372
|
var tmp;
|
|
371
373
|
if ($super === VOID) {
|
|
372
|
-
this.
|
|
374
|
+
this.ne0(newRid);
|
|
373
375
|
tmp = Unit_instance;
|
|
374
376
|
} else {
|
|
375
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.ne0.call(this, newRid);
|
|
376
378
|
}
|
|
377
379
|
return tmp;
|
|
378
380
|
}
|
|
@@ -380,10 +382,10 @@
|
|
|
380
382
|
roomId = roomId === VOID ? null : roomId;
|
|
381
383
|
var tmp;
|
|
382
384
|
if ($super === VOID) {
|
|
383
|
-
this.
|
|
385
|
+
this.oe0(reason, roomId);
|
|
384
386
|
tmp = Unit_instance;
|
|
385
387
|
} else {
|
|
386
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.oe0.call(this, reason, roomId);
|
|
387
389
|
}
|
|
388
390
|
return tmp;
|
|
389
391
|
}
|
|
@@ -448,7 +450,7 @@
|
|
|
448
450
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
449
451
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
450
452
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
451
|
-
return $super === VOID ? this.
|
|
453
|
+
return $super === VOID ? this.be5(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.be5.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
452
454
|
}
|
|
453
455
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
454
456
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -459,17 +461,17 @@
|
|
|
459
461
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
460
462
|
//endregion
|
|
461
463
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
462
|
-
this.
|
|
464
|
+
this.jdk_1 = $subscriber;
|
|
463
465
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
466
|
}
|
|
465
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
466
|
-
var tmp = this.
|
|
467
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ldk = function (it, $completion) {
|
|
468
|
+
var tmp = this.mdk(it, $completion);
|
|
467
469
|
tmp.t8_1 = Unit_instance;
|
|
468
470
|
tmp.u8_1 = null;
|
|
469
471
|
return tmp.z8();
|
|
470
472
|
};
|
|
471
473
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
472
|
-
return this.
|
|
474
|
+
return this.ldk(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
473
475
|
};
|
|
474
476
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
475
477
|
var suspendResult = this.t8_1;
|
|
@@ -478,7 +480,7 @@
|
|
|
478
480
|
var tmp = this.r8_1;
|
|
479
481
|
if (tmp === 0) {
|
|
480
482
|
this.s8_1 = 1;
|
|
481
|
-
this.
|
|
483
|
+
this.jdk_1(this.kdk_1);
|
|
482
484
|
return Unit_instance;
|
|
483
485
|
} else if (tmp === 1) {
|
|
484
486
|
throw this.u8_1;
|
|
@@ -489,31 +491,31 @@
|
|
|
489
491
|
}
|
|
490
492
|
while (true);
|
|
491
493
|
};
|
|
492
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
493
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
494
|
-
i.
|
|
494
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).mdk = function (it, completion) {
|
|
495
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.jdk_1, completion);
|
|
496
|
+
i.kdk_1 = it;
|
|
495
497
|
return i;
|
|
496
498
|
};
|
|
497
499
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
498
500
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
499
501
|
var l = function (it, $completion) {
|
|
500
|
-
return i.
|
|
502
|
+
return i.ldk(it, $completion);
|
|
501
503
|
};
|
|
502
504
|
l.$arity = 1;
|
|
503
505
|
return l;
|
|
504
506
|
}
|
|
505
507
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
506
|
-
this.
|
|
508
|
+
this.vdk_1 = $subscriber;
|
|
507
509
|
CoroutineImpl.call(this, resultContinuation);
|
|
508
510
|
}
|
|
509
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
510
|
-
var tmp = this.
|
|
511
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).xdk = function (it, $completion) {
|
|
512
|
+
var tmp = this.ydk(it, $completion);
|
|
511
513
|
tmp.t8_1 = Unit_instance;
|
|
512
514
|
tmp.u8_1 = null;
|
|
513
515
|
return tmp.z8();
|
|
514
516
|
};
|
|
515
517
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
516
|
-
return this.
|
|
518
|
+
return this.xdk((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
517
519
|
};
|
|
518
520
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
519
521
|
var suspendResult = this.t8_1;
|
|
@@ -522,7 +524,7 @@
|
|
|
522
524
|
var tmp = this.r8_1;
|
|
523
525
|
if (tmp === 0) {
|
|
524
526
|
this.s8_1 = 1;
|
|
525
|
-
this.
|
|
527
|
+
this.vdk_1(this.wdk_1);
|
|
526
528
|
return Unit_instance;
|
|
527
529
|
} else if (tmp === 1) {
|
|
528
530
|
throw this.u8_1;
|
|
@@ -533,22 +535,22 @@
|
|
|
533
535
|
}
|
|
534
536
|
while (true);
|
|
535
537
|
};
|
|
536
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
537
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
538
|
-
i.
|
|
538
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ydk = function (it, completion) {
|
|
539
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.vdk_1, completion);
|
|
540
|
+
i.wdk_1 = it;
|
|
539
541
|
return i;
|
|
540
542
|
};
|
|
541
543
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
542
544
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
543
545
|
var l = function (it, $completion) {
|
|
544
|
-
return i.
|
|
546
|
+
return i.xdk(it, $completion);
|
|
545
547
|
};
|
|
546
548
|
l.$arity = 1;
|
|
547
549
|
return l;
|
|
548
550
|
}
|
|
549
551
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
+
this.hdl_1 = $$this$unsafeFlow;
|
|
553
|
+
this.idl_1 = this$0;
|
|
552
554
|
CoroutineImpl.call(this, resultContinuation);
|
|
553
555
|
}
|
|
554
556
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).a2j = function (value, $completion) {
|
|
@@ -568,10 +570,10 @@
|
|
|
568
570
|
switch (tmp) {
|
|
569
571
|
case 0:
|
|
570
572
|
this.s8_1 = 2;
|
|
571
|
-
var tmp0 = this.
|
|
572
|
-
var value = this.
|
|
573
|
+
var tmp0 = this.hdl_1;
|
|
574
|
+
var value = this.jdl_1;
|
|
573
575
|
this.r8_1 = 1;
|
|
574
|
-
suspendResult = tmp0.g24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
576
|
+
suspendResult = tmp0.g24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.idl_1)), this);
|
|
575
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
576
578
|
return suspendResult;
|
|
577
579
|
}
|
|
@@ -594,8 +596,8 @@
|
|
|
594
596
|
while (true);
|
|
595
597
|
};
|
|
596
598
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).b2j = function (value, completion) {
|
|
597
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
598
|
-
i.
|
|
599
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.hdl_1, this.idl_1, completion);
|
|
600
|
+
i.jdl_1 = value;
|
|
599
601
|
return i;
|
|
600
602
|
};
|
|
601
603
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -608,8 +610,8 @@
|
|
|
608
610
|
}
|
|
609
611
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
610
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
613
|
+
this.sdl_1 = _this__u8e3s4;
|
|
614
|
+
this.tdl_1 = collector;
|
|
613
615
|
}
|
|
614
616
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
615
617
|
var suspendResult = this.t8_1;
|
|
@@ -619,10 +621,10 @@
|
|
|
619
621
|
switch (tmp) {
|
|
620
622
|
case 0:
|
|
621
623
|
this.s8_1 = 2;
|
|
622
|
-
var $this$unsafeFlow = this.
|
|
624
|
+
var $this$unsafeFlow = this.tdl_1;
|
|
623
625
|
this.r8_1 = 1;
|
|
624
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
625
|
-
suspendResult = this.
|
|
626
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.sdl_1.vdl_1, null);
|
|
627
|
+
suspendResult = this.sdl_1.udl_1.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
626
628
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
627
629
|
return suspendResult;
|
|
628
630
|
}
|
|
@@ -645,8 +647,8 @@
|
|
|
645
647
|
while (true);
|
|
646
648
|
};
|
|
647
649
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
648
|
-
this.
|
|
649
|
-
this.
|
|
650
|
+
this.udl_1 = $this;
|
|
651
|
+
this.vdl_1 = this$0;
|
|
650
652
|
}
|
|
651
653
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).h24 = function (collector, $completion) {
|
|
652
654
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -658,17 +660,17 @@
|
|
|
658
660
|
return this.h24(collector, $completion);
|
|
659
661
|
};
|
|
660
662
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
661
|
-
this.
|
|
663
|
+
this.edm_1 = $subscriber;
|
|
662
664
|
CoroutineImpl.call(this, resultContinuation);
|
|
663
665
|
}
|
|
664
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
665
|
-
var tmp = this.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).gdm = function (it, $completion) {
|
|
667
|
+
var tmp = this.hdm(it, $completion);
|
|
666
668
|
tmp.t8_1 = Unit_instance;
|
|
667
669
|
tmp.u8_1 = null;
|
|
668
670
|
return tmp.z8();
|
|
669
671
|
};
|
|
670
672
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
671
|
-
return this.
|
|
673
|
+
return this.gdm((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
672
674
|
};
|
|
673
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
674
676
|
var suspendResult = this.t8_1;
|
|
@@ -677,7 +679,7 @@
|
|
|
677
679
|
var tmp = this.r8_1;
|
|
678
680
|
if (tmp === 0) {
|
|
679
681
|
this.s8_1 = 1;
|
|
680
|
-
this.
|
|
682
|
+
this.edm_1(this.fdm_1);
|
|
681
683
|
return Unit_instance;
|
|
682
684
|
} else if (tmp === 1) {
|
|
683
685
|
throw this.u8_1;
|
|
@@ -688,21 +690,21 @@
|
|
|
688
690
|
}
|
|
689
691
|
while (true);
|
|
690
692
|
};
|
|
691
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
692
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
693
|
-
i.
|
|
693
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).hdm = function (it, completion) {
|
|
694
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.edm_1, completion);
|
|
695
|
+
i.fdm_1 = it;
|
|
694
696
|
return i;
|
|
695
697
|
};
|
|
696
698
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
697
699
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
698
700
|
var l = function (it, $completion) {
|
|
699
|
-
return i.
|
|
701
|
+
return i.gdm(it, $completion);
|
|
700
702
|
};
|
|
701
703
|
l.$arity = 1;
|
|
702
704
|
return l;
|
|
703
705
|
}
|
|
704
706
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
705
|
-
this.
|
|
707
|
+
this.qdm_1 = $$this$unsafeFlow;
|
|
706
708
|
CoroutineImpl.call(this, resultContinuation);
|
|
707
709
|
}
|
|
708
710
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).a2j = function (value, $completion) {
|
|
@@ -722,8 +724,8 @@
|
|
|
722
724
|
switch (tmp) {
|
|
723
725
|
case 0:
|
|
724
726
|
this.s8_1 = 2;
|
|
725
|
-
var tmp0 = this.
|
|
726
|
-
var value = this.
|
|
727
|
+
var tmp0 = this.qdm_1;
|
|
728
|
+
var value = this.rdm_1;
|
|
727
729
|
this.r8_1 = 1;
|
|
728
730
|
suspendResult = tmp0.g24(new ActionsStateUpdate(value), this);
|
|
729
731
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -748,8 +750,8 @@
|
|
|
748
750
|
while (true);
|
|
749
751
|
};
|
|
750
752
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).b2j = function (value, completion) {
|
|
751
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
752
|
-
i.
|
|
753
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.qdm_1, completion);
|
|
754
|
+
i.rdm_1 = value;
|
|
753
755
|
return i;
|
|
754
756
|
};
|
|
755
757
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -762,8 +764,8 @@
|
|
|
762
764
|
}
|
|
763
765
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
764
766
|
CoroutineImpl.call(this, resultContinuation);
|
|
765
|
-
this.
|
|
766
|
-
this.
|
|
767
|
+
this.adn_1 = _this__u8e3s4;
|
|
768
|
+
this.bdn_1 = collector;
|
|
767
769
|
}
|
|
768
770
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
769
771
|
var suspendResult = this.t8_1;
|
|
@@ -773,10 +775,10 @@
|
|
|
773
775
|
switch (tmp) {
|
|
774
776
|
case 0:
|
|
775
777
|
this.s8_1 = 2;
|
|
776
|
-
var $this$unsafeFlow = this.
|
|
778
|
+
var $this$unsafeFlow = this.bdn_1;
|
|
777
779
|
this.r8_1 = 1;
|
|
778
780
|
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, null);
|
|
779
|
-
suspendResult = this.
|
|
781
|
+
suspendResult = this.adn_1.cdn_1.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
780
782
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
781
783
|
return suspendResult;
|
|
782
784
|
}
|
|
@@ -799,7 +801,7 @@
|
|
|
799
801
|
while (true);
|
|
800
802
|
};
|
|
801
803
|
function _no_name_provided__qut3iv($this) {
|
|
802
|
-
this.
|
|
804
|
+
this.cdn_1 = $this;
|
|
803
805
|
}
|
|
804
806
|
protoOf(_no_name_provided__qut3iv).h24 = function (collector, $completion) {
|
|
805
807
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -811,18 +813,18 @@
|
|
|
811
813
|
return this.h24(collector, $completion);
|
|
812
814
|
};
|
|
813
815
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
814
|
-
this.
|
|
815
|
-
this.
|
|
816
|
+
this.ldn_1 = $table;
|
|
817
|
+
this.mdn_1 = this$0;
|
|
816
818
|
CoroutineImpl.call(this, resultContinuation);
|
|
817
819
|
}
|
|
818
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
819
|
-
var tmp = this.
|
|
820
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).odn = function ($this$flow, $completion) {
|
|
821
|
+
var tmp = this.pdn($this$flow, $completion);
|
|
820
822
|
tmp.t8_1 = Unit_instance;
|
|
821
823
|
tmp.u8_1 = null;
|
|
822
824
|
return tmp.z8();
|
|
823
825
|
};
|
|
824
826
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
825
|
-
return this.
|
|
827
|
+
return this.odn((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
826
828
|
};
|
|
827
829
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
828
830
|
var suspendResult = this.t8_1;
|
|
@@ -833,7 +835,7 @@
|
|
|
833
835
|
case 0:
|
|
834
836
|
this.s8_1 = 3;
|
|
835
837
|
this.r8_1 = 1;
|
|
836
|
-
suspendResult = this.
|
|
838
|
+
suspendResult = this.ndn_1.g24(new TableStateUpdate(this.ldn_1), this);
|
|
837
839
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
838
840
|
return suspendResult;
|
|
839
841
|
}
|
|
@@ -841,8 +843,8 @@
|
|
|
841
843
|
continue $sm;
|
|
842
844
|
case 1:
|
|
843
845
|
this.r8_1 = 2;
|
|
844
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
845
|
-
suspendResult = emitAll(this.
|
|
846
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.mdn_1).l93(), fromInt(_get_serverReduxConfig__rprcrm(this.mdn_1).serverStateUpdateIntervalMillis));
|
|
847
|
+
suspendResult = emitAll(this.ndn_1, new _no_name_provided__qut3iv(this_0), this);
|
|
846
848
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
847
849
|
return suspendResult;
|
|
848
850
|
}
|
|
@@ -864,21 +866,21 @@
|
|
|
864
866
|
}
|
|
865
867
|
while (true);
|
|
866
868
|
};
|
|
867
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
868
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
869
|
-
i.
|
|
869
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).pdn = function ($this$flow, completion) {
|
|
870
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.ldn_1, this.mdn_1, completion);
|
|
871
|
+
i.ndn_1 = $this$flow;
|
|
870
872
|
return i;
|
|
871
873
|
};
|
|
872
874
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
873
875
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
874
876
|
var l = function ($this$flow, $completion) {
|
|
875
|
-
return i.
|
|
877
|
+
return i.odn($this$flow, $completion);
|
|
876
878
|
};
|
|
877
879
|
l.$arity = 1;
|
|
878
880
|
return l;
|
|
879
881
|
}
|
|
880
882
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
881
|
-
this.
|
|
883
|
+
this.ydn_1 = $$this$unsafeFlow;
|
|
882
884
|
CoroutineImpl.call(this, resultContinuation);
|
|
883
885
|
}
|
|
884
886
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).a2j = function (value, $completion) {
|
|
@@ -899,28 +901,28 @@
|
|
|
899
901
|
case 0:
|
|
900
902
|
this.s8_1 = 5;
|
|
901
903
|
var tmp_0 = this;
|
|
902
|
-
tmp_0.
|
|
904
|
+
tmp_0.ddo_1 = this.ydn_1;
|
|
903
905
|
var tmp_1 = this;
|
|
904
|
-
tmp_1.
|
|
906
|
+
tmp_1.cdo_1 = this.zdn_1;
|
|
905
907
|
this.r8_1 = 1;
|
|
906
908
|
continue $sm;
|
|
907
909
|
case 1:
|
|
908
|
-
this.
|
|
909
|
-
var tmp0_elvis_lhs = this.
|
|
910
|
+
this.ado_1 = this.ddo_1;
|
|
911
|
+
var tmp0_elvis_lhs = this.cdo_1.r6v_1;
|
|
910
912
|
if (tmp0_elvis_lhs == null) {
|
|
911
913
|
this.r8_1 = 4;
|
|
912
914
|
var tmp_2 = this;
|
|
913
915
|
continue $sm;
|
|
914
916
|
} else {
|
|
915
|
-
this.
|
|
917
|
+
this.bdo_1 = tmp0_elvis_lhs;
|
|
916
918
|
this.r8_1 = 2;
|
|
917
919
|
continue $sm;
|
|
918
920
|
}
|
|
919
921
|
|
|
920
922
|
case 2:
|
|
921
|
-
var transformed = this.
|
|
923
|
+
var transformed = this.bdo_1;
|
|
922
924
|
this.r8_1 = 3;
|
|
923
|
-
suspendResult = this.
|
|
925
|
+
suspendResult = this.ado_1.g24(transformed, this);
|
|
924
926
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
925
927
|
return suspendResult;
|
|
926
928
|
}
|
|
@@ -951,8 +953,8 @@
|
|
|
951
953
|
while (true);
|
|
952
954
|
};
|
|
953
955
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).b2j = function (value, completion) {
|
|
954
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
955
|
-
i.
|
|
956
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.ydn_1, completion);
|
|
957
|
+
i.zdn_1 = value;
|
|
956
958
|
return i;
|
|
957
959
|
};
|
|
958
960
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -965,8 +967,8 @@
|
|
|
965
967
|
}
|
|
966
968
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
967
969
|
CoroutineImpl.call(this, resultContinuation);
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
970
|
+
this.mdo_1 = _this__u8e3s4;
|
|
971
|
+
this.ndo_1 = collector;
|
|
970
972
|
}
|
|
971
973
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
972
974
|
var suspendResult = this.t8_1;
|
|
@@ -976,10 +978,10 @@
|
|
|
976
978
|
switch (tmp) {
|
|
977
979
|
case 0:
|
|
978
980
|
this.s8_1 = 2;
|
|
979
|
-
var $this$unsafeFlow = this.
|
|
981
|
+
var $this$unsafeFlow = this.ndo_1;
|
|
980
982
|
this.r8_1 = 1;
|
|
981
983
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
982
|
-
suspendResult = this.
|
|
984
|
+
suspendResult = this.mdo_1.odo_1.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
983
985
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
984
986
|
return suspendResult;
|
|
985
987
|
}
|
|
@@ -1002,7 +1004,7 @@
|
|
|
1002
1004
|
while (true);
|
|
1003
1005
|
};
|
|
1004
1006
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1005
|
-
this.
|
|
1007
|
+
this.xdo_1 = $$this$unsafeFlow;
|
|
1006
1008
|
CoroutineImpl.call(this, resultContinuation);
|
|
1007
1009
|
}
|
|
1008
1010
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).a2j = function (value, $completion) {
|
|
@@ -1022,8 +1024,8 @@
|
|
|
1022
1024
|
switch (tmp) {
|
|
1023
1025
|
case 0:
|
|
1024
1026
|
this.s8_1 = 2;
|
|
1025
|
-
var tmp0 = this.
|
|
1026
|
-
var value = this.
|
|
1027
|
+
var tmp0 = this.xdo_1;
|
|
1028
|
+
var value = this.ydo_1;
|
|
1027
1029
|
this.r8_1 = 1;
|
|
1028
1030
|
suspendResult = tmp0.g24(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1029
1031
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1048,8 +1050,8 @@
|
|
|
1048
1050
|
while (true);
|
|
1049
1051
|
};
|
|
1050
1052
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).b2j = function (value, completion) {
|
|
1051
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1052
|
-
i.
|
|
1053
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.xdo_1, completion);
|
|
1054
|
+
i.ydo_1 = value;
|
|
1053
1055
|
return i;
|
|
1054
1056
|
};
|
|
1055
1057
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1062,8 +1064,8 @@
|
|
|
1062
1064
|
}
|
|
1063
1065
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1064
1066
|
CoroutineImpl.call(this, resultContinuation);
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1067
|
+
this.hdp_1 = _this__u8e3s4;
|
|
1068
|
+
this.idp_1 = collector;
|
|
1067
1069
|
}
|
|
1068
1070
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1069
1071
|
var suspendResult = this.t8_1;
|
|
@@ -1073,10 +1075,10 @@
|
|
|
1073
1075
|
switch (tmp) {
|
|
1074
1076
|
case 0:
|
|
1075
1077
|
this.s8_1 = 2;
|
|
1076
|
-
var $this$unsafeFlow = this.
|
|
1078
|
+
var $this$unsafeFlow = this.idp_1;
|
|
1077
1079
|
this.r8_1 = 1;
|
|
1078
1080
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1079
|
-
suspendResult = this.
|
|
1081
|
+
suspendResult = this.hdp_1.jdp_1.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1080
1082
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1081
1083
|
return suspendResult;
|
|
1082
1084
|
}
|
|
@@ -1099,7 +1101,7 @@
|
|
|
1099
1101
|
while (true);
|
|
1100
1102
|
};
|
|
1101
1103
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1102
|
-
this.
|
|
1104
|
+
this.sdp_1 = $$this$unsafeFlow;
|
|
1103
1105
|
CoroutineImpl.call(this, resultContinuation);
|
|
1104
1106
|
}
|
|
1105
1107
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).a2j = function (value, $completion) {
|
|
@@ -1119,8 +1121,8 @@
|
|
|
1119
1121
|
switch (tmp) {
|
|
1120
1122
|
case 0:
|
|
1121
1123
|
this.s8_1 = 2;
|
|
1122
|
-
var tmp0 = this.
|
|
1123
|
-
var value = this.
|
|
1124
|
+
var tmp0 = this.sdp_1;
|
|
1125
|
+
var value = this.tdp_1;
|
|
1124
1126
|
this.r8_1 = 1;
|
|
1125
1127
|
suspendResult = tmp0.g24(value.me_1, this);
|
|
1126
1128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1145,8 +1147,8 @@
|
|
|
1145
1147
|
while (true);
|
|
1146
1148
|
};
|
|
1147
1149
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).b2j = function (value, completion) {
|
|
1148
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1149
|
-
i.
|
|
1150
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.sdp_1, completion);
|
|
1151
|
+
i.tdp_1 = value;
|
|
1150
1152
|
return i;
|
|
1151
1153
|
};
|
|
1152
1154
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1159,8 +1161,8 @@
|
|
|
1159
1161
|
}
|
|
1160
1162
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1161
1163
|
CoroutineImpl.call(this, resultContinuation);
|
|
1162
|
-
this.
|
|
1163
|
-
this.
|
|
1164
|
+
this.cdq_1 = _this__u8e3s4;
|
|
1165
|
+
this.ddq_1 = collector;
|
|
1164
1166
|
}
|
|
1165
1167
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1166
1168
|
var suspendResult = this.t8_1;
|
|
@@ -1170,10 +1172,10 @@
|
|
|
1170
1172
|
switch (tmp) {
|
|
1171
1173
|
case 0:
|
|
1172
1174
|
this.s8_1 = 2;
|
|
1173
|
-
var $this$unsafeFlow = this.
|
|
1175
|
+
var $this$unsafeFlow = this.ddq_1;
|
|
1174
1176
|
this.r8_1 = 1;
|
|
1175
1177
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1176
|
-
suspendResult = this.
|
|
1178
|
+
suspendResult = this.cdq_1.edq_1.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1177
1179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1178
1180
|
return suspendResult;
|
|
1179
1181
|
}
|
|
@@ -1196,17 +1198,17 @@
|
|
|
1196
1198
|
while (true);
|
|
1197
1199
|
};
|
|
1198
1200
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1199
|
-
this.
|
|
1201
|
+
this.ndq_1 = $subscriber;
|
|
1200
1202
|
CoroutineImpl.call(this, resultContinuation);
|
|
1201
1203
|
}
|
|
1202
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1203
|
-
var tmp = this.
|
|
1204
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).pdq = function (it, $completion) {
|
|
1205
|
+
var tmp = this.qdq(it, $completion);
|
|
1204
1206
|
tmp.t8_1 = Unit_instance;
|
|
1205
1207
|
tmp.u8_1 = null;
|
|
1206
1208
|
return tmp.z8();
|
|
1207
1209
|
};
|
|
1208
1210
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1209
|
-
return this.
|
|
1211
|
+
return this.pdq(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1210
1212
|
};
|
|
1211
1213
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1212
1214
|
var suspendResult = this.t8_1;
|
|
@@ -1215,7 +1217,7 @@
|
|
|
1215
1217
|
var tmp = this.r8_1;
|
|
1216
1218
|
if (tmp === 0) {
|
|
1217
1219
|
this.s8_1 = 1;
|
|
1218
|
-
this.
|
|
1220
|
+
this.ndq_1(this.odq_1);
|
|
1219
1221
|
return Unit_instance;
|
|
1220
1222
|
} else if (tmp === 1) {
|
|
1221
1223
|
throw this.u8_1;
|
|
@@ -1226,83 +1228,83 @@
|
|
|
1226
1228
|
}
|
|
1227
1229
|
while (true);
|
|
1228
1230
|
};
|
|
1229
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1230
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1231
|
-
i.
|
|
1231
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).qdq = function (it, completion) {
|
|
1232
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.ndq_1, completion);
|
|
1233
|
+
i.odq_1 = it;
|
|
1232
1234
|
return i;
|
|
1233
1235
|
};
|
|
1234
1236
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1235
1237
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1236
1238
|
var l = function (it, $completion) {
|
|
1237
|
-
return i.
|
|
1239
|
+
return i.pdq(it, $completion);
|
|
1238
1240
|
};
|
|
1239
1241
|
l.$arity = 1;
|
|
1240
1242
|
return l;
|
|
1241
1243
|
}
|
|
1242
1244
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1243
|
-
this.
|
|
1245
|
+
this.rdq_1 = $playerId;
|
|
1244
1246
|
}
|
|
1245
1247
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).f6d = function () {
|
|
1246
|
-
return this.
|
|
1248
|
+
return this.rdq_1;
|
|
1247
1249
|
};
|
|
1248
1250
|
function _get_logger__rkp4sl($this) {
|
|
1249
|
-
var tmp0 = $this.
|
|
1251
|
+
var tmp0 = $this.udq_1;
|
|
1250
1252
|
var tmp = KProperty1;
|
|
1251
1253
|
// Inline function 'kotlin.getValue' call
|
|
1252
1254
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1253
1255
|
return tmp0.w();
|
|
1254
1256
|
}
|
|
1255
1257
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1256
|
-
var tmp0 = $this.
|
|
1258
|
+
var tmp0 = $this.vdq_1;
|
|
1257
1259
|
var tmp = KProperty1;
|
|
1258
1260
|
// Inline function 'kotlin.getValue' call
|
|
1259
1261
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1260
1262
|
return tmp0.w();
|
|
1261
1263
|
}
|
|
1262
1264
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1263
|
-
var tmp0 = $this.
|
|
1265
|
+
var tmp0 = $this.wdq_1;
|
|
1264
1266
|
var tmp = KProperty1;
|
|
1265
1267
|
// Inline function 'kotlin.getValue' call
|
|
1266
1268
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1267
1269
|
return tmp0.w();
|
|
1268
1270
|
}
|
|
1269
1271
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1270
|
-
var tmp0 = $this.
|
|
1272
|
+
var tmp0 = $this.xdq_1;
|
|
1271
1273
|
var tmp = KProperty1;
|
|
1272
1274
|
// Inline function 'kotlin.getValue' call
|
|
1273
1275
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1274
1276
|
return tmp0.w();
|
|
1275
1277
|
}
|
|
1276
1278
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1277
|
-
var tmp0 = $this.
|
|
1279
|
+
var tmp0 = $this.ydq_1;
|
|
1278
1280
|
var tmp = KProperty1;
|
|
1279
1281
|
// Inline function 'kotlin.getValue' call
|
|
1280
1282
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1281
1283
|
return tmp0.w();
|
|
1282
1284
|
}
|
|
1283
1285
|
function _get_random__h29cgo($this) {
|
|
1284
|
-
var tmp0 = $this.
|
|
1286
|
+
var tmp0 = $this.zdq_1;
|
|
1285
1287
|
var tmp = KProperty1;
|
|
1286
1288
|
// Inline function 'kotlin.getValue' call
|
|
1287
1289
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1288
1290
|
return tmp0.w();
|
|
1289
1291
|
}
|
|
1290
1292
|
function _get_idsProvider__fnfajc($this) {
|
|
1291
|
-
var tmp0 = $this.
|
|
1293
|
+
var tmp0 = $this.adr_1;
|
|
1292
1294
|
var tmp = KProperty1;
|
|
1293
1295
|
// Inline function 'kotlin.getValue' call
|
|
1294
1296
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1295
1297
|
return tmp0.w();
|
|
1296
1298
|
}
|
|
1297
1299
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1298
|
-
var tmp0 = $this.
|
|
1300
|
+
var tmp0 = $this.bdr_1;
|
|
1299
1301
|
var tmp = KProperty1;
|
|
1300
1302
|
// Inline function 'kotlin.getValue' call
|
|
1301
1303
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1302
1304
|
return tmp0.w();
|
|
1303
1305
|
}
|
|
1304
1306
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1305
|
-
var tmp0 = $this.
|
|
1307
|
+
var tmp0 = $this.cdr_1;
|
|
1306
1308
|
var tmp = KProperty1;
|
|
1307
1309
|
// Inline function 'kotlin.getValue' call
|
|
1308
1310
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1310,7 +1312,7 @@
|
|
|
1310
1312
|
}
|
|
1311
1313
|
function observeTableStateUpdates($this) {
|
|
1312
1314
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1313
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1315
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.q6v());
|
|
1314
1316
|
return transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
1315
1317
|
}
|
|
1316
1318
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
@@ -1329,20 +1331,20 @@
|
|
|
1329
1331
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1330
1332
|
}
|
|
1331
1333
|
function Companion() {
|
|
1332
|
-
this.
|
|
1334
|
+
this.edr_1 = 'GameEngine_API';
|
|
1333
1335
|
}
|
|
1334
1336
|
var Companion_instance_7;
|
|
1335
1337
|
function Companion_getInstance_0() {
|
|
1336
1338
|
return Companion_instance_7;
|
|
1337
1339
|
}
|
|
1338
1340
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1339
|
-
this.
|
|
1341
|
+
this.fdr_1 = function_0;
|
|
1340
1342
|
}
|
|
1341
1343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g24 = function (value, $completion) {
|
|
1342
|
-
return this.
|
|
1344
|
+
return this.fdr_1(value, $completion);
|
|
1343
1345
|
};
|
|
1344
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1345
|
-
return this.
|
|
1347
|
+
return this.fdr_1;
|
|
1346
1348
|
};
|
|
1347
1349
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1348
1350
|
var tmp;
|
|
@@ -1363,13 +1365,13 @@
|
|
|
1363
1365
|
return hashCode(this.a3());
|
|
1364
1366
|
};
|
|
1365
1367
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1366
|
-
this.
|
|
1368
|
+
this.gdr_1 = function_0;
|
|
1367
1369
|
}
|
|
1368
1370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).g24 = function (value, $completion) {
|
|
1369
|
-
return this.
|
|
1371
|
+
return this.gdr_1(value, $completion);
|
|
1370
1372
|
};
|
|
1371
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1372
|
-
return this.
|
|
1374
|
+
return this.gdr_1;
|
|
1373
1375
|
};
|
|
1374
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1375
1377
|
var tmp;
|
|
@@ -1390,13 +1392,13 @@
|
|
|
1390
1392
|
return hashCode(this.a3());
|
|
1391
1393
|
};
|
|
1392
1394
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1393
|
-
this.
|
|
1395
|
+
this.hdr_1 = function_0;
|
|
1394
1396
|
}
|
|
1395
1397
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).g24 = function (value, $completion) {
|
|
1396
|
-
return this.
|
|
1398
|
+
return this.hdr_1(value, $completion);
|
|
1397
1399
|
};
|
|
1398
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1399
|
-
return this.
|
|
1401
|
+
return this.hdr_1;
|
|
1400
1402
|
};
|
|
1401
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1402
1404
|
var tmp;
|
|
@@ -1417,13 +1419,13 @@
|
|
|
1417
1419
|
return hashCode(this.a3());
|
|
1418
1420
|
};
|
|
1419
1421
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1420
|
-
this.
|
|
1422
|
+
this.idr_1 = function_0;
|
|
1421
1423
|
}
|
|
1422
1424
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).g24 = function (value, $completion) {
|
|
1423
|
-
return this.
|
|
1425
|
+
return this.idr_1(value, $completion);
|
|
1424
1426
|
};
|
|
1425
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1426
|
-
return this.
|
|
1428
|
+
return this.idr_1;
|
|
1427
1429
|
};
|
|
1428
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1429
1431
|
var tmp;
|
|
@@ -1444,13 +1446,13 @@
|
|
|
1444
1446
|
return hashCode(this.a3());
|
|
1445
1447
|
};
|
|
1446
1448
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1447
|
-
this.
|
|
1449
|
+
this.jdr_1 = function_0;
|
|
1448
1450
|
}
|
|
1449
1451
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).g24 = function (value, $completion) {
|
|
1450
|
-
return this.
|
|
1452
|
+
return this.jdr_1(value, $completion);
|
|
1451
1453
|
};
|
|
1452
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1453
|
-
return this.
|
|
1455
|
+
return this.jdr_1;
|
|
1454
1456
|
};
|
|
1455
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1456
1458
|
var tmp;
|
|
@@ -1471,13 +1473,13 @@
|
|
|
1471
1473
|
return hashCode(this.a3());
|
|
1472
1474
|
};
|
|
1473
1475
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1474
|
-
this.
|
|
1476
|
+
this.kdr_1 = function_0;
|
|
1475
1477
|
}
|
|
1476
1478
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).g24 = function (value, $completion) {
|
|
1477
|
-
return this.
|
|
1479
|
+
return this.kdr_1(value, $completion);
|
|
1478
1480
|
};
|
|
1479
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1480
|
-
return this.
|
|
1482
|
+
return this.kdr_1;
|
|
1481
1483
|
};
|
|
1482
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1483
1485
|
var tmp;
|
|
@@ -1588,8 +1590,8 @@
|
|
|
1588
1590
|
};
|
|
1589
1591
|
}
|
|
1590
1592
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1591
|
-
this.
|
|
1592
|
-
this.
|
|
1593
|
+
this.tdr_1 = this$0;
|
|
1594
|
+
this.udr_1 = $subscriber;
|
|
1593
1595
|
CoroutineImpl.call(this, resultContinuation);
|
|
1594
1596
|
}
|
|
1595
1597
|
protoOf(GameServer$subscribeToClientAction$slambda).h29 = function ($this$launchDefault, $completion) {
|
|
@@ -1610,8 +1612,8 @@
|
|
|
1610
1612
|
case 0:
|
|
1611
1613
|
this.s8_1 = 2;
|
|
1612
1614
|
this.r8_1 = 1;
|
|
1613
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1614
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1615
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.tdr_1).kav();
|
|
1616
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.udr_1, null);
|
|
1615
1617
|
suspendResult = tmp_0.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1616
1618
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1617
1619
|
return suspendResult;
|
|
@@ -1635,8 +1637,8 @@
|
|
|
1635
1637
|
while (true);
|
|
1636
1638
|
};
|
|
1637
1639
|
protoOf(GameServer$subscribeToClientAction$slambda).i29 = function ($this$launchDefault, completion) {
|
|
1638
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1639
|
-
i.
|
|
1640
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.tdr_1, this.udr_1, completion);
|
|
1641
|
+
i.vdr_1 = $this$launchDefault;
|
|
1640
1642
|
return i;
|
|
1641
1643
|
};
|
|
1642
1644
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1648,8 +1650,8 @@
|
|
|
1648
1650
|
return l;
|
|
1649
1651
|
}
|
|
1650
1652
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1653
|
+
this.eds_1 = this$0;
|
|
1654
|
+
this.fds_1 = $subscriber;
|
|
1653
1655
|
CoroutineImpl.call(this, resultContinuation);
|
|
1654
1656
|
}
|
|
1655
1657
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).h29 = function ($this$launchDefault, $completion) {
|
|
@@ -1670,8 +1672,8 @@
|
|
|
1670
1672
|
case 0:
|
|
1671
1673
|
this.s8_1 = 2;
|
|
1672
1674
|
this.r8_1 = 1;
|
|
1673
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1674
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1675
|
+
var tmp_0 = observeTableStateUpdates(this.eds_1);
|
|
1676
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.fds_1, null);
|
|
1675
1677
|
suspendResult = tmp_0.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1676
1678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1677
1679
|
return suspendResult;
|
|
@@ -1695,8 +1697,8 @@
|
|
|
1695
1697
|
while (true);
|
|
1696
1698
|
};
|
|
1697
1699
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).i29 = function ($this$launchDefault, completion) {
|
|
1698
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1699
|
-
i.
|
|
1700
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.eds_1, this.fds_1, completion);
|
|
1701
|
+
i.gds_1 = $this$launchDefault;
|
|
1700
1702
|
return i;
|
|
1701
1703
|
};
|
|
1702
1704
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1708,8 +1710,8 @@
|
|
|
1708
1710
|
return l;
|
|
1709
1711
|
}
|
|
1710
1712
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1711
|
-
this.
|
|
1712
|
-
this.
|
|
1713
|
+
this.pds_1 = this$0;
|
|
1714
|
+
this.qds_1 = $subscriber;
|
|
1713
1715
|
CoroutineImpl.call(this, resultContinuation);
|
|
1714
1716
|
}
|
|
1715
1717
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).h29 = function ($this$launchDefault, $completion) {
|
|
@@ -1730,9 +1732,9 @@
|
|
|
1730
1732
|
case 0:
|
|
1731
1733
|
this.s8_1 = 2;
|
|
1732
1734
|
this.r8_1 = 1;
|
|
1733
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1734
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1735
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1735
|
+
var this_0 = observeTableStateUpdates(this.pds_1);
|
|
1736
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.pds_1);
|
|
1737
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.qds_1, null);
|
|
1736
1738
|
suspendResult = tmp_0.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1737
1739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1738
1740
|
return suspendResult;
|
|
@@ -1756,8 +1758,8 @@
|
|
|
1756
1758
|
while (true);
|
|
1757
1759
|
};
|
|
1758
1760
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).i29 = function ($this$launchDefault, completion) {
|
|
1759
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1760
|
-
i.
|
|
1761
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.pds_1, this.qds_1, completion);
|
|
1762
|
+
i.rds_1 = $this$launchDefault;
|
|
1761
1763
|
return i;
|
|
1762
1764
|
};
|
|
1763
1765
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1769,18 +1771,18 @@
|
|
|
1769
1771
|
return l;
|
|
1770
1772
|
}
|
|
1771
1773
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1772
|
-
this.
|
|
1774
|
+
this.adt_1 = this$0;
|
|
1773
1775
|
CoroutineImpl.call(this, resultContinuation);
|
|
1774
1776
|
}
|
|
1775
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1776
|
-
var tmp = this.
|
|
1777
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).ic4 = function ($this$transformLatest, it, $completion) {
|
|
1778
|
+
var tmp = this.jc4($this$transformLatest, it, $completion);
|
|
1777
1779
|
tmp.t8_1 = Unit_instance;
|
|
1778
1780
|
tmp.u8_1 = null;
|
|
1779
1781
|
return tmp.z8();
|
|
1780
1782
|
};
|
|
1781
1783
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1782
1784
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1783
|
-
return this.
|
|
1785
|
+
return this.ic4(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1784
1786
|
};
|
|
1785
1787
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1786
1788
|
var suspendResult = this.t8_1;
|
|
@@ -1791,8 +1793,8 @@
|
|
|
1791
1793
|
case 0:
|
|
1792
1794
|
this.s8_1 = 2;
|
|
1793
1795
|
this.r8_1 = 1;
|
|
1794
|
-
var table = this.
|
|
1795
|
-
suspendResult = emitAll(this.
|
|
1796
|
+
var table = this.cdt_1;
|
|
1797
|
+
suspendResult = emitAll(this.bdt_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.adt_1, null)), this);
|
|
1796
1798
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1797
1799
|
return suspendResult;
|
|
1798
1800
|
}
|
|
@@ -1814,22 +1816,22 @@
|
|
|
1814
1816
|
}
|
|
1815
1817
|
while (true);
|
|
1816
1818
|
};
|
|
1817
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1818
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1819
|
-
i.
|
|
1820
|
-
i.
|
|
1819
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).jc4 = function ($this$transformLatest, it, completion) {
|
|
1820
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.adt_1, completion);
|
|
1821
|
+
i.bdt_1 = $this$transformLatest;
|
|
1822
|
+
i.cdt_1 = it;
|
|
1821
1823
|
return i;
|
|
1822
1824
|
};
|
|
1823
1825
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1824
1826
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1825
1827
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1826
|
-
return i.
|
|
1828
|
+
return i.ic4($this$transformLatest, it, $completion);
|
|
1827
1829
|
};
|
|
1828
1830
|
l.$arity = 2;
|
|
1829
1831
|
return l;
|
|
1830
1832
|
}
|
|
1831
1833
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1832
|
-
this.
|
|
1834
|
+
this.odo_1 = $this;
|
|
1833
1835
|
}
|
|
1834
1836
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).h24 = function (collector, $completion) {
|
|
1835
1837
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1841,7 +1843,7 @@
|
|
|
1841
1843
|
return this.h24(collector, $completion);
|
|
1842
1844
|
};
|
|
1843
1845
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1844
|
-
this.
|
|
1846
|
+
this.jdp_1 = $this;
|
|
1845
1847
|
}
|
|
1846
1848
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).h24 = function (collector, $completion) {
|
|
1847
1849
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1856,7 +1858,7 @@
|
|
|
1856
1858
|
return old.le_1 === new_0.le_1;
|
|
1857
1859
|
}
|
|
1858
1860
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1859
|
-
this.
|
|
1861
|
+
this.edq_1 = $this;
|
|
1860
1862
|
}
|
|
1861
1863
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).h24 = function (collector, $completion) {
|
|
1862
1864
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1868,8 +1870,8 @@
|
|
|
1868
1870
|
return this.h24(collector, $completion);
|
|
1869
1871
|
};
|
|
1870
1872
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1871
|
-
this.
|
|
1872
|
-
this.
|
|
1873
|
+
this.ldt_1 = this$0;
|
|
1874
|
+
this.mdt_1 = $subscriber;
|
|
1873
1875
|
CoroutineImpl.call(this, resultContinuation);
|
|
1874
1876
|
}
|
|
1875
1877
|
protoOf(GameServer$subscribeWith$slambda).h29 = function ($this$launchDefault, $completion) {
|
|
@@ -1890,8 +1892,8 @@
|
|
|
1890
1892
|
case 0:
|
|
1891
1893
|
this.s8_1 = 2;
|
|
1892
1894
|
this.r8_1 = 1;
|
|
1893
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1894
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1895
|
+
var tmp_0 = distinctUntilChanged_0(this.ldt_1.q6v());
|
|
1896
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.mdt_1, null);
|
|
1895
1897
|
suspendResult = tmp_0.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1896
1898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1897
1899
|
return suspendResult;
|
|
@@ -1915,8 +1917,8 @@
|
|
|
1915
1917
|
while (true);
|
|
1916
1918
|
};
|
|
1917
1919
|
protoOf(GameServer$subscribeWith$slambda).i29 = function ($this$launchDefault, completion) {
|
|
1918
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1919
|
-
i.
|
|
1920
|
+
var i = new GameServer$subscribeWith$slambda(this.ldt_1, this.mdt_1, completion);
|
|
1921
|
+
i.ndt_1 = $this$launchDefault;
|
|
1920
1922
|
return i;
|
|
1921
1923
|
};
|
|
1922
1924
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1928,18 +1930,18 @@
|
|
|
1928
1930
|
return l;
|
|
1929
1931
|
}
|
|
1930
1932
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1931
|
-
this.
|
|
1933
|
+
this.wdt_1 = $action;
|
|
1932
1934
|
CoroutineImpl.call(this, resultContinuation);
|
|
1933
1935
|
}
|
|
1934
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1935
|
-
var tmp = this.
|
|
1936
|
+
protoOf(GameServer$fromClientEvent$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
1937
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
1936
1938
|
tmp.t8_1 = Unit_instance;
|
|
1937
1939
|
tmp.u8_1 = null;
|
|
1938
1940
|
return tmp.z8();
|
|
1939
1941
|
};
|
|
1940
1942
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1941
1943
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1942
|
-
return this.
|
|
1944
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1943
1945
|
};
|
|
1944
1946
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1945
1947
|
var suspendResult = this.t8_1;
|
|
@@ -1948,11 +1950,11 @@
|
|
|
1948
1950
|
var tmp = this.r8_1;
|
|
1949
1951
|
if (tmp === 0) {
|
|
1950
1952
|
this.s8_1 = 1;
|
|
1951
|
-
if (this.
|
|
1952
|
-
if (!get_isCreated(this.
|
|
1953
|
+
if (this.wdt_1 instanceof PlayerReadyFromClientAction)
|
|
1954
|
+
if (!get_isCreated(this.ydt_1.state)) {
|
|
1953
1955
|
return Unit_instance;
|
|
1954
1956
|
}
|
|
1955
|
-
this.
|
|
1957
|
+
this.ydt_1.dispatch(this.wdt_1);
|
|
1956
1958
|
return Unit_instance;
|
|
1957
1959
|
} else if (tmp === 1) {
|
|
1958
1960
|
throw this.u8_1;
|
|
@@ -1963,33 +1965,33 @@
|
|
|
1963
1965
|
}
|
|
1964
1966
|
while (true);
|
|
1965
1967
|
};
|
|
1966
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1967
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1968
|
-
i.
|
|
1969
|
-
i.
|
|
1968
|
+
protoOf(GameServer$fromClientEvent$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
1969
|
+
var i = new GameServer$fromClientEvent$slambda(this.wdt_1, completion);
|
|
1970
|
+
i.xdt_1 = $this$dispatchAsync;
|
|
1971
|
+
i.ydt_1 = store;
|
|
1970
1972
|
return i;
|
|
1971
1973
|
};
|
|
1972
1974
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1973
1975
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1974
1976
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1975
|
-
return i.
|
|
1977
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
1976
1978
|
};
|
|
1977
1979
|
l.$arity = 2;
|
|
1978
1980
|
return l;
|
|
1979
1981
|
}
|
|
1980
1982
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1981
|
-
this.
|
|
1983
|
+
this.hdu_1 = $playerId;
|
|
1982
1984
|
CoroutineImpl.call(this, resultContinuation);
|
|
1983
1985
|
}
|
|
1984
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1985
|
-
var tmp = this.
|
|
1986
|
+
protoOf(GameServer$playerLostConnection$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
1987
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
1986
1988
|
tmp.t8_1 = Unit_instance;
|
|
1987
1989
|
tmp.u8_1 = null;
|
|
1988
1990
|
return tmp.z8();
|
|
1989
1991
|
};
|
|
1990
1992
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1991
1993
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1992
|
-
return this.
|
|
1994
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1993
1995
|
};
|
|
1994
1996
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1995
1997
|
var suspendResult = this.t8_1;
|
|
@@ -1998,12 +2000,12 @@
|
|
|
1998
2000
|
var tmp = this.r8_1;
|
|
1999
2001
|
if (tmp === 0) {
|
|
2000
2002
|
this.s8_1 = 1;
|
|
2001
|
-
if (!get_isCreated(this.
|
|
2003
|
+
if (!get_isCreated(this.jdu_1.state)) {
|
|
2002
2004
|
return Unit_instance;
|
|
2003
2005
|
}
|
|
2004
|
-
var tmp_0 = this.
|
|
2006
|
+
var tmp_0 = this.jdu_1.dispatch;
|
|
2005
2007
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2006
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2008
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.hdu_1));
|
|
2007
2009
|
return Unit_instance;
|
|
2008
2010
|
} else if (tmp === 1) {
|
|
2009
2011
|
throw this.u8_1;
|
|
@@ -2014,34 +2016,34 @@
|
|
|
2014
2016
|
}
|
|
2015
2017
|
while (true);
|
|
2016
2018
|
};
|
|
2017
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2018
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2019
|
-
i.
|
|
2020
|
-
i.
|
|
2019
|
+
protoOf(GameServer$playerLostConnection$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2020
|
+
var i = new GameServer$playerLostConnection$slambda(this.hdu_1, completion);
|
|
2021
|
+
i.idu_1 = $this$dispatchAsync;
|
|
2022
|
+
i.jdu_1 = store;
|
|
2021
2023
|
return i;
|
|
2022
2024
|
};
|
|
2023
2025
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2024
2026
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2025
2027
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2026
|
-
return i.
|
|
2028
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2027
2029
|
};
|
|
2028
2030
|
l.$arity = 2;
|
|
2029
2031
|
return l;
|
|
2030
2032
|
}
|
|
2031
2033
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2034
|
+
this.sdu_1 = this$0;
|
|
2035
|
+
this.tdu_1 = $playerId;
|
|
2034
2036
|
CoroutineImpl.call(this, resultContinuation);
|
|
2035
2037
|
}
|
|
2036
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2037
|
-
var tmp = this.
|
|
2038
|
+
protoOf(GameServer$playerLive$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2039
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2038
2040
|
tmp.t8_1 = Unit_instance;
|
|
2039
2041
|
tmp.u8_1 = null;
|
|
2040
2042
|
return tmp.z8();
|
|
2041
2043
|
};
|
|
2042
2044
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2043
2045
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2044
|
-
return this.
|
|
2046
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2045
2047
|
};
|
|
2046
2048
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2047
2049
|
var suspendResult = this.t8_1;
|
|
@@ -2050,16 +2052,16 @@
|
|
|
2050
2052
|
var tmp = this.r8_1;
|
|
2051
2053
|
if (tmp === 0) {
|
|
2052
2054
|
this.s8_1 = 1;
|
|
2053
|
-
if (get_isFinished(this.
|
|
2055
|
+
if (get_isFinished(this.vdu_1.state) || get_isFinishing(this.vdu_1.state)) {
|
|
2054
2056
|
return Unit_instance;
|
|
2055
2057
|
}
|
|
2056
|
-
if (!get_isCreated(this.
|
|
2057
|
-
_get_logger__rkp4sl(this.
|
|
2058
|
+
if (!get_isCreated(this.vdu_1.state) || !this.sdu_1.g6e().u6w()) {
|
|
2059
|
+
_get_logger__rkp4sl(this.sdu_1).w('GameEngine_API', 'playerLive: ' + this.tdu_1 + ' before game is created');
|
|
2058
2060
|
return Unit_instance;
|
|
2059
2061
|
}
|
|
2060
|
-
var tmp_0 = this.
|
|
2062
|
+
var tmp_0 = this.vdu_1.dispatch;
|
|
2061
2063
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2062
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2064
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.tdu_1));
|
|
2063
2065
|
return Unit_instance;
|
|
2064
2066
|
} else if (tmp === 1) {
|
|
2065
2067
|
throw this.u8_1;
|
|
@@ -2070,34 +2072,34 @@
|
|
|
2070
2072
|
}
|
|
2071
2073
|
while (true);
|
|
2072
2074
|
};
|
|
2073
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2074
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2075
|
-
i.
|
|
2076
|
-
i.
|
|
2075
|
+
protoOf(GameServer$playerLive$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2076
|
+
var i = new GameServer$playerLive$slambda(this.sdu_1, this.tdu_1, completion);
|
|
2077
|
+
i.udu_1 = $this$dispatchAsync;
|
|
2078
|
+
i.vdu_1 = store;
|
|
2077
2079
|
return i;
|
|
2078
2080
|
};
|
|
2079
2081
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2080
2082
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2081
2083
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2082
|
-
return i.
|
|
2084
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2083
2085
|
};
|
|
2084
2086
|
l.$arity = 2;
|
|
2085
2087
|
return l;
|
|
2086
2088
|
}
|
|
2087
2089
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2090
|
+
this.edv_1 = this$0;
|
|
2091
|
+
this.fdv_1 = $playerId;
|
|
2090
2092
|
CoroutineImpl.call(this, resultContinuation);
|
|
2091
2093
|
}
|
|
2092
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2093
|
-
var tmp = this.
|
|
2094
|
+
protoOf(GameServer$playerLeft$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2095
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2094
2096
|
tmp.t8_1 = Unit_instance;
|
|
2095
2097
|
tmp.u8_1 = null;
|
|
2096
2098
|
return tmp.z8();
|
|
2097
2099
|
};
|
|
2098
2100
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2099
2101
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2100
|
-
return this.
|
|
2102
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2101
2103
|
};
|
|
2102
2104
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2103
2105
|
var suspendResult = this.t8_1;
|
|
@@ -2106,16 +2108,16 @@
|
|
|
2106
2108
|
var tmp = this.r8_1;
|
|
2107
2109
|
if (tmp === 0) {
|
|
2108
2110
|
this.s8_1 = 1;
|
|
2109
|
-
if (get_isFinished(this.
|
|
2111
|
+
if (get_isFinished(this.hdv_1.state) || get_isFinishing(this.hdv_1.state)) {
|
|
2110
2112
|
return Unit_instance;
|
|
2111
2113
|
}
|
|
2112
|
-
if (!get_isCreated(this.
|
|
2113
|
-
_get_logger__rkp4sl(this.
|
|
2114
|
+
if (!get_isCreated(this.hdv_1.state) || !this.edv_1.g6e().u6w()) {
|
|
2115
|
+
_get_logger__rkp4sl(this.edv_1).w('GameEngine_API', 'playerLeft: ' + this.fdv_1 + ' before game is created');
|
|
2114
2116
|
return Unit_instance;
|
|
2115
2117
|
}
|
|
2116
|
-
var tmp_0 = this.
|
|
2118
|
+
var tmp_0 = this.hdv_1.dispatch;
|
|
2117
2119
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2118
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2120
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.fdv_1));
|
|
2119
2121
|
return Unit_instance;
|
|
2120
2122
|
} else if (tmp === 1) {
|
|
2121
2123
|
throw this.u8_1;
|
|
@@ -2126,39 +2128,39 @@
|
|
|
2126
2128
|
}
|
|
2127
2129
|
while (true);
|
|
2128
2130
|
};
|
|
2129
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2130
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2131
|
-
i.
|
|
2132
|
-
i.
|
|
2131
|
+
protoOf(GameServer$playerLeft$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2132
|
+
var i = new GameServer$playerLeft$slambda(this.edv_1, this.fdv_1, completion);
|
|
2133
|
+
i.gdv_1 = $this$dispatchAsync;
|
|
2134
|
+
i.hdv_1 = store;
|
|
2133
2135
|
return i;
|
|
2134
2136
|
};
|
|
2135
2137
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2136
2138
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2137
2139
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2138
|
-
return i.
|
|
2140
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2139
2141
|
};
|
|
2140
2142
|
l.$arity = 2;
|
|
2141
2143
|
return l;
|
|
2142
2144
|
}
|
|
2143
2145
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2144
|
-
this.
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2146
|
+
this.qdv_1 = $usersArray;
|
|
2147
|
+
this.rdv_1 = $config;
|
|
2148
|
+
this.sdv_1 = this$0;
|
|
2149
|
+
this.tdv_1 = $roomId;
|
|
2150
|
+
this.udv_1 = $transition;
|
|
2151
|
+
this.vdv_1 = $gameCreatorId;
|
|
2152
|
+
this.wdv_1 = $spectators;
|
|
2151
2153
|
CoroutineImpl.call(this, resultContinuation);
|
|
2152
2154
|
}
|
|
2153
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2154
|
-
var tmp = this.
|
|
2155
|
+
protoOf(GameServer$roomOnCreate$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2156
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2155
2157
|
tmp.t8_1 = Unit_instance;
|
|
2156
2158
|
tmp.u8_1 = null;
|
|
2157
2159
|
return tmp.z8();
|
|
2158
2160
|
};
|
|
2159
2161
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2160
2162
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2161
|
-
return this.
|
|
2163
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2162
2164
|
};
|
|
2163
2165
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2164
2166
|
var suspendResult = this.t8_1;
|
|
@@ -2167,28 +2169,28 @@
|
|
|
2167
2169
|
var tmp = this.r8_1;
|
|
2168
2170
|
if (tmp === 0) {
|
|
2169
2171
|
this.s8_1 = 1;
|
|
2170
|
-
var users = toList(this.
|
|
2171
|
-
if (!(this.
|
|
2172
|
-
_get_logger__rkp4sl(this.
|
|
2173
|
-
this.
|
|
2172
|
+
var users = toList(this.qdv_1);
|
|
2173
|
+
if (!(this.rdv_1.playersMode.count === users.o())) {
|
|
2174
|
+
_get_logger__rkp4sl(this.sdv_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.tdv_1 + ', config = ' + this.rdv_1.toString() + ', users = ' + toString(users));
|
|
2175
|
+
this.ydv_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.sdv_1.table.isGameFinished, this.sdv_1.table));
|
|
2174
2176
|
return Unit_instance;
|
|
2175
2177
|
}
|
|
2176
2178
|
var tmp_0;
|
|
2177
|
-
if (this.
|
|
2178
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2179
|
+
if (this.rdv_1.mode.shufflePlayers && this.udv_1 == null) {
|
|
2180
|
+
tmp_0 = _get_random__h29cgo(this.sdv_1).j5s(toMutableList(users));
|
|
2179
2181
|
} else {
|
|
2180
|
-
var tmp0_safe_receiver = this.
|
|
2182
|
+
var tmp0_safe_receiver = this.udv_1;
|
|
2181
2183
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2182
2184
|
var tmp_1;
|
|
2183
|
-
if (!(previousPlayers == null) && this.
|
|
2184
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2185
|
+
if (!(previousPlayers == null) && this.rdv_1.playersMode.isTeamGame) {
|
|
2186
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.sdv_1);
|
|
2185
2187
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2186
2188
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2187
2189
|
while (_iterator__ex2g4s.m()) {
|
|
2188
2190
|
var item = _iterator__ex2g4s.n();
|
|
2189
2191
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2190
2192
|
}
|
|
2191
|
-
var previousTeams = tmp_2.
|
|
2193
|
+
var previousTeams = tmp_2.c93(destination);
|
|
2192
2194
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2193
2195
|
var _iterator__ex2g4s_0 = users.l();
|
|
2194
2196
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2212,19 +2214,19 @@
|
|
|
2212
2214
|
destination_1.j(destination_2);
|
|
2213
2215
|
}
|
|
2214
2216
|
var updatedTeams = destination_1;
|
|
2215
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2217
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.sdv_1).g93(updatedTeams);
|
|
2216
2218
|
} else {
|
|
2217
2219
|
tmp_1 = users;
|
|
2218
2220
|
}
|
|
2219
2221
|
tmp_0 = tmp_1;
|
|
2220
2222
|
}
|
|
2221
2223
|
var updatedUsers = tmp_0;
|
|
2222
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2223
|
-
var tmp_3 = this.
|
|
2224
|
+
var gameCreatorUser = getPlayer(users, this.vdv_1);
|
|
2225
|
+
var tmp_3 = this.ydv_1.dispatch;
|
|
2224
2226
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2225
2227
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2226
|
-
var tmp3_spectators = toList(this.
|
|
2227
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2228
|
+
var tmp3_spectators = toList(this.wdv_1);
|
|
2229
|
+
tmp_3(new StartGameMechanicAction(this.rdv_1, this.tdv_1, tmp1_version, this.vdv_1, tmp2_users, VOID, tmp3_spectators));
|
|
2228
2230
|
return Unit_instance;
|
|
2229
2231
|
} else if (tmp === 1) {
|
|
2230
2232
|
throw this.u8_1;
|
|
@@ -2235,33 +2237,33 @@
|
|
|
2235
2237
|
}
|
|
2236
2238
|
while (true);
|
|
2237
2239
|
};
|
|
2238
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2239
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2240
|
-
i.
|
|
2241
|
-
i.
|
|
2240
|
+
protoOf(GameServer$roomOnCreate$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2241
|
+
var i = new GameServer$roomOnCreate$slambda(this.qdv_1, this.rdv_1, this.sdv_1, this.tdv_1, this.udv_1, this.vdv_1, this.wdv_1, completion);
|
|
2242
|
+
i.xdv_1 = $this$dispatchAsync;
|
|
2243
|
+
i.ydv_1 = store;
|
|
2242
2244
|
return i;
|
|
2243
2245
|
};
|
|
2244
2246
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2245
2247
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2246
2248
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2247
|
-
return i.
|
|
2249
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2248
2250
|
};
|
|
2249
2251
|
l.$arity = 2;
|
|
2250
2252
|
return l;
|
|
2251
2253
|
}
|
|
2252
2254
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2253
|
-
this.
|
|
2255
|
+
this.hdw_1 = $state;
|
|
2254
2256
|
CoroutineImpl.call(this, resultContinuation);
|
|
2255
2257
|
}
|
|
2256
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2257
|
-
var tmp = this.
|
|
2258
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).kdw = function ($this$dispatchAwait, store, $completion) {
|
|
2259
|
+
var tmp = this.nbd($this$dispatchAwait, store, $completion);
|
|
2258
2260
|
tmp.t8_1 = Unit_instance;
|
|
2259
2261
|
tmp.u8_1 = null;
|
|
2260
2262
|
return tmp.z8();
|
|
2261
2263
|
};
|
|
2262
2264
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2263
2265
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2264
|
-
return this.
|
|
2266
|
+
return this.kdw(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2265
2267
|
};
|
|
2266
2268
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2267
2269
|
var suspendResult = this.t8_1;
|
|
@@ -2270,11 +2272,14 @@
|
|
|
2270
2272
|
var tmp = this.r8_1;
|
|
2271
2273
|
if (tmp === 0) {
|
|
2272
2274
|
this.s8_1 = 1;
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2275
|
+
if (get_isCreating(this.jdw_1.state)) {
|
|
2276
|
+
var tmp_0 = this.jdw_1.dispatch;
|
|
2277
|
+
var tmp0_reason = new RestartRoundReason(null);
|
|
2278
|
+
var tmp1_table = this.hdw_1.table;
|
|
2279
|
+
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2280
|
+
return true;
|
|
2281
|
+
}
|
|
2282
|
+
return false;
|
|
2278
2283
|
} else if (tmp === 1) {
|
|
2279
2284
|
throw this.u8_1;
|
|
2280
2285
|
}
|
|
@@ -2284,85 +2289,109 @@
|
|
|
2284
2289
|
}
|
|
2285
2290
|
while (true);
|
|
2286
2291
|
};
|
|
2287
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2288
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2289
|
-
i.
|
|
2290
|
-
i.
|
|
2292
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).nbd = function ($this$dispatchAwait, store, completion) {
|
|
2293
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.hdw_1, completion);
|
|
2294
|
+
i.idw_1 = $this$dispatchAwait;
|
|
2295
|
+
i.jdw_1 = store;
|
|
2291
2296
|
return i;
|
|
2292
2297
|
};
|
|
2293
2298
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2294
2299
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2295
|
-
var l = function ($this$
|
|
2296
|
-
return i.
|
|
2300
|
+
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2301
|
+
return i.kdw($this$dispatchAwait, store, $completion);
|
|
2297
2302
|
};
|
|
2298
2303
|
l.$arity = 2;
|
|
2299
2304
|
return l;
|
|
2300
2305
|
}
|
|
2301
|
-
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
2302
|
-
this.
|
|
2306
|
+
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2307
|
+
this.tdw_1 = $isCreated;
|
|
2308
|
+
this.udw_1 = $state;
|
|
2303
2309
|
CoroutineImpl.call(this, resultContinuation);
|
|
2304
2310
|
}
|
|
2305
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2306
|
-
var tmp = this.
|
|
2311
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2312
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2307
2313
|
tmp.t8_1 = Unit_instance;
|
|
2308
2314
|
tmp.u8_1 = null;
|
|
2309
2315
|
return tmp.z8();
|
|
2310
2316
|
};
|
|
2311
2317
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2312
2318
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2313
|
-
return this.
|
|
2319
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2314
2320
|
};
|
|
2315
2321
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2316
2322
|
var suspendResult = this.t8_1;
|
|
2317
2323
|
$sm: do
|
|
2318
2324
|
try {
|
|
2319
2325
|
var tmp = this.r8_1;
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2326
|
+
switch (tmp) {
|
|
2327
|
+
case 0:
|
|
2328
|
+
this.s8_1 = 3;
|
|
2329
|
+
this.r8_1 = 1;
|
|
2330
|
+
suspendResult = this.tdw_1.a1p(this);
|
|
2331
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2332
|
+
return suspendResult;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
continue $sm;
|
|
2336
|
+
case 1:
|
|
2337
|
+
if (suspendResult) {
|
|
2338
|
+
var _iterator__ex2g4s = this.udw_1.actions.l();
|
|
2339
|
+
while (_iterator__ex2g4s.m()) {
|
|
2340
|
+
var element = _iterator__ex2g4s.n();
|
|
2341
|
+
this.wdw_1.dispatch(element);
|
|
2342
|
+
}
|
|
2343
|
+
this.r8_1 = 2;
|
|
2344
|
+
continue $sm;
|
|
2345
|
+
} else {
|
|
2346
|
+
this.r8_1 = 2;
|
|
2347
|
+
continue $sm;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
case 2:
|
|
2351
|
+
return Unit_instance;
|
|
2352
|
+
case 3:
|
|
2353
|
+
throw this.u8_1;
|
|
2330
2354
|
}
|
|
2331
2355
|
} catch ($p) {
|
|
2332
2356
|
var e = $p;
|
|
2333
|
-
|
|
2357
|
+
if (this.s8_1 === 3) {
|
|
2358
|
+
throw e;
|
|
2359
|
+
} else {
|
|
2360
|
+
this.r8_1 = this.s8_1;
|
|
2361
|
+
this.u8_1 = e;
|
|
2362
|
+
}
|
|
2334
2363
|
}
|
|
2335
2364
|
while (true);
|
|
2336
2365
|
};
|
|
2337
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2338
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2339
|
-
i.
|
|
2340
|
-
i.
|
|
2366
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2367
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.tdw_1, this.udw_1, completion);
|
|
2368
|
+
i.vdw_1 = $this$dispatchAsync;
|
|
2369
|
+
i.wdw_1 = store;
|
|
2341
2370
|
return i;
|
|
2342
2371
|
};
|
|
2343
|
-
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
2344
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
2372
|
+
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2373
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2345
2374
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2346
|
-
return i.
|
|
2375
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2347
2376
|
};
|
|
2348
2377
|
l.$arity = 2;
|
|
2349
2378
|
return l;
|
|
2350
2379
|
}
|
|
2351
2380
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2352
|
-
this.
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2381
|
+
this.fdx_1 = $tableLite;
|
|
2382
|
+
this.gdx_1 = $roomId;
|
|
2383
|
+
this.hdx_1 = this$0;
|
|
2355
2384
|
CoroutineImpl.call(this, resultContinuation);
|
|
2356
2385
|
}
|
|
2357
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2358
|
-
var tmp = this.
|
|
2386
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2387
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2359
2388
|
tmp.t8_1 = Unit_instance;
|
|
2360
2389
|
tmp.u8_1 = null;
|
|
2361
2390
|
return tmp.z8();
|
|
2362
2391
|
};
|
|
2363
2392
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2364
2393
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2365
|
-
return this.
|
|
2394
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2366
2395
|
};
|
|
2367
2396
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2368
2397
|
var suspendResult = this.t8_1;
|
|
@@ -2371,9 +2400,9 @@
|
|
|
2371
2400
|
var tmp = this.r8_1;
|
|
2372
2401
|
if (tmp === 0) {
|
|
2373
2402
|
this.s8_1 = 1;
|
|
2374
|
-
var tmp_0 = this.
|
|
2375
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2376
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2403
|
+
var tmp_0 = this.jdx_1.dispatch;
|
|
2404
|
+
var tmp0_reason = new RestartRoundReason(this.fdx_1.gameInfo.round.roundNumber);
|
|
2405
|
+
var tmp1_table = Companion_instance_0.restartRound(this.gdx_1, _get_idsProvider__fnfajc(this.hdx_1).v6l(), get_versionOrDefault(GameEngineConfig_instance), this.fdx_1);
|
|
2377
2406
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2378
2407
|
return Unit_instance;
|
|
2379
2408
|
} else if (tmp === 1) {
|
|
@@ -2385,16 +2414,16 @@
|
|
|
2385
2414
|
}
|
|
2386
2415
|
while (true);
|
|
2387
2416
|
};
|
|
2388
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2389
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2390
|
-
i.
|
|
2391
|
-
i.
|
|
2417
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2418
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.fdx_1, this.gdx_1, this.hdx_1, completion);
|
|
2419
|
+
i.idx_1 = $this$dispatchAsync;
|
|
2420
|
+
i.jdx_1 = store;
|
|
2392
2421
|
return i;
|
|
2393
2422
|
};
|
|
2394
2423
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2395
2424
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2396
2425
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2397
|
-
return i.
|
|
2426
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2398
2427
|
};
|
|
2399
2428
|
l.$arity = 2;
|
|
2400
2429
|
return l;
|
|
@@ -2402,15 +2431,15 @@
|
|
|
2402
2431
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2403
2432
|
CoroutineImpl.call(this, resultContinuation);
|
|
2404
2433
|
}
|
|
2405
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2406
|
-
var tmp = this.
|
|
2434
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2435
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2407
2436
|
tmp.t8_1 = Unit_instance;
|
|
2408
2437
|
tmp.u8_1 = null;
|
|
2409
2438
|
return tmp.z8();
|
|
2410
2439
|
};
|
|
2411
2440
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2412
2441
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2413
|
-
return this.
|
|
2442
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2414
2443
|
};
|
|
2415
2444
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2416
2445
|
var suspendResult = this.t8_1;
|
|
@@ -2419,7 +2448,7 @@
|
|
|
2419
2448
|
var tmp = this.r8_1;
|
|
2420
2449
|
if (tmp === 0) {
|
|
2421
2450
|
this.s8_1 = 1;
|
|
2422
|
-
this.
|
|
2451
|
+
this.tdx_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2423
2452
|
return Unit_instance;
|
|
2424
2453
|
} else if (tmp === 1) {
|
|
2425
2454
|
throw this.u8_1;
|
|
@@ -2430,33 +2459,33 @@
|
|
|
2430
2459
|
}
|
|
2431
2460
|
while (true);
|
|
2432
2461
|
};
|
|
2433
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2462
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2434
2463
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2435
|
-
i.
|
|
2436
|
-
i.
|
|
2464
|
+
i.sdx_1 = $this$dispatchAsync;
|
|
2465
|
+
i.tdx_1 = store;
|
|
2437
2466
|
return i;
|
|
2438
2467
|
};
|
|
2439
2468
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2440
2469
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2441
2470
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2442
|
-
return i.
|
|
2471
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2443
2472
|
};
|
|
2444
2473
|
l.$arity = 2;
|
|
2445
2474
|
return l;
|
|
2446
2475
|
}
|
|
2447
2476
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2448
|
-
this.
|
|
2477
|
+
this.cdy_1 = $spectators;
|
|
2449
2478
|
CoroutineImpl.call(this, resultContinuation);
|
|
2450
2479
|
}
|
|
2451
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2452
|
-
var tmp = this.
|
|
2480
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2481
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2453
2482
|
tmp.t8_1 = Unit_instance;
|
|
2454
2483
|
tmp.u8_1 = null;
|
|
2455
2484
|
return tmp.z8();
|
|
2456
2485
|
};
|
|
2457
2486
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2458
2487
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2459
|
-
return this.
|
|
2488
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2460
2489
|
};
|
|
2461
2490
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2462
2491
|
var suspendResult = this.t8_1;
|
|
@@ -2465,7 +2494,7 @@
|
|
|
2465
2494
|
var tmp = this.r8_1;
|
|
2466
2495
|
if (tmp === 0) {
|
|
2467
2496
|
this.s8_1 = 1;
|
|
2468
|
-
this.
|
|
2497
|
+
this.edy_1.dispatch(new AddSpectatorsAction(toList(this.cdy_1)));
|
|
2469
2498
|
return Unit_instance;
|
|
2470
2499
|
} else if (tmp === 1) {
|
|
2471
2500
|
throw this.u8_1;
|
|
@@ -2476,33 +2505,33 @@
|
|
|
2476
2505
|
}
|
|
2477
2506
|
while (true);
|
|
2478
2507
|
};
|
|
2479
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2480
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2481
|
-
i.
|
|
2482
|
-
i.
|
|
2508
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2509
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.cdy_1, completion);
|
|
2510
|
+
i.ddy_1 = $this$dispatchAsync;
|
|
2511
|
+
i.edy_1 = store;
|
|
2483
2512
|
return i;
|
|
2484
2513
|
};
|
|
2485
2514
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2486
2515
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2487
2516
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2488
|
-
return i.
|
|
2517
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2489
2518
|
};
|
|
2490
2519
|
l.$arity = 2;
|
|
2491
2520
|
return l;
|
|
2492
2521
|
}
|
|
2493
2522
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2494
|
-
this.
|
|
2523
|
+
this.ndy_1 = $spectators;
|
|
2495
2524
|
CoroutineImpl.call(this, resultContinuation);
|
|
2496
2525
|
}
|
|
2497
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2498
|
-
var tmp = this.
|
|
2526
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2527
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2499
2528
|
tmp.t8_1 = Unit_instance;
|
|
2500
2529
|
tmp.u8_1 = null;
|
|
2501
2530
|
return tmp.z8();
|
|
2502
2531
|
};
|
|
2503
2532
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2504
2533
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2505
|
-
return this.
|
|
2534
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2506
2535
|
};
|
|
2507
2536
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2508
2537
|
var suspendResult = this.t8_1;
|
|
@@ -2511,7 +2540,7 @@
|
|
|
2511
2540
|
var tmp = this.r8_1;
|
|
2512
2541
|
if (tmp === 0) {
|
|
2513
2542
|
this.s8_1 = 1;
|
|
2514
|
-
this.
|
|
2543
|
+
this.pdy_1.dispatch(new RemoveSpectatorsAction(toList(this.ndy_1)));
|
|
2515
2544
|
return Unit_instance;
|
|
2516
2545
|
} else if (tmp === 1) {
|
|
2517
2546
|
throw this.u8_1;
|
|
@@ -2522,34 +2551,34 @@
|
|
|
2522
2551
|
}
|
|
2523
2552
|
while (true);
|
|
2524
2553
|
};
|
|
2525
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2526
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2527
|
-
i.
|
|
2528
|
-
i.
|
|
2554
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2555
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ndy_1, completion);
|
|
2556
|
+
i.ody_1 = $this$dispatchAsync;
|
|
2557
|
+
i.pdy_1 = store;
|
|
2529
2558
|
return i;
|
|
2530
2559
|
};
|
|
2531
2560
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2532
2561
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2533
2562
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2534
|
-
return i.
|
|
2563
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2535
2564
|
};
|
|
2536
2565
|
l.$arity = 2;
|
|
2537
2566
|
return l;
|
|
2538
2567
|
}
|
|
2539
2568
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2540
|
-
this.
|
|
2541
|
-
this.
|
|
2569
|
+
this.ydy_1 = $playerId;
|
|
2570
|
+
this.zdy_1 = this$0;
|
|
2542
2571
|
CoroutineImpl.call(this, resultContinuation);
|
|
2543
2572
|
}
|
|
2544
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2545
|
-
var tmp = this.
|
|
2573
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2574
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2546
2575
|
tmp.t8_1 = Unit_instance;
|
|
2547
2576
|
tmp.u8_1 = null;
|
|
2548
2577
|
return tmp.z8();
|
|
2549
2578
|
};
|
|
2550
2579
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2551
2580
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2552
|
-
return this.
|
|
2581
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2553
2582
|
};
|
|
2554
2583
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2555
2584
|
var suspendResult = this.t8_1;
|
|
@@ -2558,14 +2587,14 @@
|
|
|
2558
2587
|
var tmp = this.r8_1;
|
|
2559
2588
|
if (tmp === 0) {
|
|
2560
2589
|
this.s8_1 = 1;
|
|
2561
|
-
var table = this.
|
|
2562
|
-
var player = getPlayer(table.players, this.
|
|
2563
|
-
if (player.
|
|
2564
|
-
this.
|
|
2590
|
+
var table = this.bdz_1.state.t6w();
|
|
2591
|
+
var player = getPlayer(table.players, this.ydy_1);
|
|
2592
|
+
if (player.t6z_1.h6g().y6e_1.isLive) {
|
|
2593
|
+
this.bdz_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.zdy_1).e9a(player, table));
|
|
2565
2594
|
} else {
|
|
2566
|
-
var tmp_0 = this.
|
|
2595
|
+
var tmp_0 = this.bdz_1.dispatch;
|
|
2567
2596
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2568
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2597
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ydy_1));
|
|
2569
2598
|
}
|
|
2570
2599
|
return Unit_instance;
|
|
2571
2600
|
} else if (tmp === 1) {
|
|
@@ -2577,34 +2606,34 @@
|
|
|
2577
2606
|
}
|
|
2578
2607
|
while (true);
|
|
2579
2608
|
};
|
|
2580
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2581
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2582
|
-
i.
|
|
2583
|
-
i.
|
|
2609
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2610
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ydy_1, this.zdy_1, completion);
|
|
2611
|
+
i.adz_1 = $this$dispatchAsync;
|
|
2612
|
+
i.bdz_1 = store;
|
|
2584
2613
|
return i;
|
|
2585
2614
|
};
|
|
2586
2615
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2587
2616
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2588
2617
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2589
|
-
return i.
|
|
2618
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2590
2619
|
};
|
|
2591
2620
|
l.$arity = 2;
|
|
2592
2621
|
return l;
|
|
2593
2622
|
}
|
|
2594
2623
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2624
|
+
this.kdz_1 = this$0;
|
|
2625
|
+
this.ldz_1 = $newRid;
|
|
2597
2626
|
CoroutineImpl.call(this, resultContinuation);
|
|
2598
2627
|
}
|
|
2599
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2600
|
-
var tmp = this.
|
|
2628
|
+
protoOf(GameServer$roomOnDelete$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2629
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2601
2630
|
tmp.t8_1 = Unit_instance;
|
|
2602
2631
|
tmp.u8_1 = null;
|
|
2603
2632
|
return tmp.z8();
|
|
2604
2633
|
};
|
|
2605
2634
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2606
2635
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2607
|
-
return this.
|
|
2636
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2608
2637
|
};
|
|
2609
2638
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2610
2639
|
var suspendResult = this.t8_1;
|
|
@@ -2613,27 +2642,27 @@
|
|
|
2613
2642
|
var tmp = this.r8_1;
|
|
2614
2643
|
if (tmp === 0) {
|
|
2615
2644
|
this.s8_1 = 1;
|
|
2616
|
-
var it = this.
|
|
2645
|
+
var it = this.kdz_1.g6e().t6v_1;
|
|
2617
2646
|
var tmp_0;
|
|
2618
2647
|
if (it == null) {
|
|
2619
|
-
_get_logger__rkp4sl(this.
|
|
2648
|
+
_get_logger__rkp4sl(this.kdz_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2620
2649
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2621
2650
|
} else {
|
|
2622
2651
|
tmp_0 = it;
|
|
2623
2652
|
}
|
|
2624
2653
|
var terminationState = tmp_0;
|
|
2625
|
-
var gameTransition = terminationState.
|
|
2654
|
+
var gameTransition = terminationState.x8e_1;
|
|
2626
2655
|
var tmp_1;
|
|
2627
2656
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2628
|
-
var tmp0_elvis_lhs = this.
|
|
2657
|
+
var tmp0_elvis_lhs = this.ldz_1;
|
|
2629
2658
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2630
2659
|
} else {
|
|
2631
2660
|
tmp_1 = gameTransition;
|
|
2632
2661
|
}
|
|
2633
2662
|
var transition = tmp_1;
|
|
2634
|
-
var tmp_2 = this.
|
|
2635
|
-
var tmp0_reason = terminationState.
|
|
2636
|
-
var tmp1_isGameFinished = this.
|
|
2663
|
+
var tmp_2 = this.ndz_1.dispatch;
|
|
2664
|
+
var tmp0_reason = terminationState.w8e_1;
|
|
2665
|
+
var tmp1_isGameFinished = this.kdz_1.g6e().t6w().isGameFinished;
|
|
2637
2666
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2638
2667
|
return Unit_instance;
|
|
2639
2668
|
} else if (tmp === 1) {
|
|
@@ -2645,33 +2674,33 @@
|
|
|
2645
2674
|
}
|
|
2646
2675
|
while (true);
|
|
2647
2676
|
};
|
|
2648
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2649
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2650
|
-
i.
|
|
2651
|
-
i.
|
|
2677
|
+
protoOf(GameServer$roomOnDelete$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2678
|
+
var i = new GameServer$roomOnDelete$slambda(this.kdz_1, this.ldz_1, completion);
|
|
2679
|
+
i.mdz_1 = $this$dispatchAsync;
|
|
2680
|
+
i.ndz_1 = store;
|
|
2652
2681
|
return i;
|
|
2653
2682
|
};
|
|
2654
2683
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2655
2684
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2656
2685
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2657
|
-
return i.
|
|
2686
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2658
2687
|
};
|
|
2659
2688
|
l.$arity = 2;
|
|
2660
2689
|
return l;
|
|
2661
2690
|
}
|
|
2662
2691
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2663
|
-
this.
|
|
2692
|
+
this.wdz_1 = $enabled;
|
|
2664
2693
|
CoroutineImpl.call(this, resultContinuation);
|
|
2665
2694
|
}
|
|
2666
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2667
|
-
var tmp = this.
|
|
2695
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2696
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2668
2697
|
tmp.t8_1 = Unit_instance;
|
|
2669
2698
|
tmp.u8_1 = null;
|
|
2670
2699
|
return tmp.z8();
|
|
2671
2700
|
};
|
|
2672
2701
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2673
2702
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2674
|
-
return this.
|
|
2703
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2675
2704
|
};
|
|
2676
2705
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2677
2706
|
var suspendResult = this.t8_1;
|
|
@@ -2680,7 +2709,7 @@
|
|
|
2680
2709
|
var tmp = this.r8_1;
|
|
2681
2710
|
if (tmp === 0) {
|
|
2682
2711
|
this.s8_1 = 1;
|
|
2683
|
-
this.
|
|
2712
|
+
this.ydz_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.ydz_1.state).config.copy(VOID, this.wdz_1)));
|
|
2684
2713
|
return Unit_instance;
|
|
2685
2714
|
} else if (tmp === 1) {
|
|
2686
2715
|
throw this.u8_1;
|
|
@@ -2691,35 +2720,35 @@
|
|
|
2691
2720
|
}
|
|
2692
2721
|
while (true);
|
|
2693
2722
|
};
|
|
2694
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2695
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2696
|
-
i.
|
|
2697
|
-
i.
|
|
2723
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2724
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.wdz_1, completion);
|
|
2725
|
+
i.xdz_1 = $this$dispatchAsync;
|
|
2726
|
+
i.ydz_1 = store;
|
|
2698
2727
|
return i;
|
|
2699
2728
|
};
|
|
2700
2729
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2701
2730
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2702
2731
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2703
|
-
return i.
|
|
2732
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2704
2733
|
};
|
|
2705
2734
|
l.$arity = 2;
|
|
2706
2735
|
return l;
|
|
2707
2736
|
}
|
|
2708
2737
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2709
|
-
this.
|
|
2710
|
-
this.
|
|
2711
|
-
this.
|
|
2738
|
+
this.he0_1 = $reason;
|
|
2739
|
+
this.ie0_1 = this$0;
|
|
2740
|
+
this.je0_1 = $roomId;
|
|
2712
2741
|
CoroutineImpl.call(this, resultContinuation);
|
|
2713
2742
|
}
|
|
2714
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2715
|
-
var tmp = this.
|
|
2743
|
+
protoOf(GameServer$shutdown$slambda).mbd = function ($this$dispatchAsync, store, $completion) {
|
|
2744
|
+
var tmp = this.nbd($this$dispatchAsync, store, $completion);
|
|
2716
2745
|
tmp.t8_1 = Unit_instance;
|
|
2717
2746
|
tmp.u8_1 = null;
|
|
2718
2747
|
return tmp.z8();
|
|
2719
2748
|
};
|
|
2720
2749
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2721
2750
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2722
|
-
return this.
|
|
2751
|
+
return this.mbd(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2723
2752
|
};
|
|
2724
2753
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2725
2754
|
var suspendResult = this.t8_1;
|
|
@@ -2728,11 +2757,11 @@
|
|
|
2728
2757
|
var tmp = this.r8_1;
|
|
2729
2758
|
if (tmp === 0) {
|
|
2730
2759
|
this.s8_1 = 1;
|
|
2731
|
-
var state = this.
|
|
2732
|
-
if (state.
|
|
2733
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2760
|
+
var state = this.le0_1.store.state;
|
|
2761
|
+
if (state.u6w()) {
|
|
2762
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.he0_1, get_serverShutdownReasonMapping());
|
|
2734
2763
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2735
|
-
var tmp_0 = this.
|
|
2764
|
+
var tmp_0 = this.le0_1.dispatch;
|
|
2736
2765
|
var tmp_1 = Companion_instance;
|
|
2737
2766
|
var tmp_2;
|
|
2738
2767
|
switch (shutdownReason.p2_1) {
|
|
@@ -2746,12 +2775,12 @@
|
|
|
2746
2775
|
noWhenBranchMatchedException();
|
|
2747
2776
|
break;
|
|
2748
2777
|
}
|
|
2749
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2778
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ie0_1.table.isGameFinished, this.ie0_1.table));
|
|
2750
2779
|
} else {
|
|
2751
|
-
_get_logger__rkp4sl(this.
|
|
2752
|
-
var tmp_3 = this.
|
|
2753
|
-
var tmp2_safe_receiver = state.
|
|
2754
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2780
|
+
_get_logger__rkp4sl(this.ie0_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.je0_1);
|
|
2781
|
+
var tmp_3 = this.le0_1.dispatch;
|
|
2782
|
+
var tmp2_safe_receiver = state.t6v_1;
|
|
2783
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.x8e_1));
|
|
2755
2784
|
}
|
|
2756
2785
|
return Unit_instance;
|
|
2757
2786
|
} else if (tmp === 1) {
|
|
@@ -2763,16 +2792,16 @@
|
|
|
2763
2792
|
}
|
|
2764
2793
|
while (true);
|
|
2765
2794
|
};
|
|
2766
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2767
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2768
|
-
i.
|
|
2769
|
-
i.
|
|
2795
|
+
protoOf(GameServer$shutdown$slambda).nbd = function ($this$dispatchAsync, store, completion) {
|
|
2796
|
+
var i = new GameServer$shutdown$slambda(this.he0_1, this.ie0_1, this.je0_1, completion);
|
|
2797
|
+
i.ke0_1 = $this$dispatchAsync;
|
|
2798
|
+
i.le0_1 = store;
|
|
2770
2799
|
return i;
|
|
2771
2800
|
};
|
|
2772
2801
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2773
2802
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2774
2803
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2775
|
-
return i.
|
|
2804
|
+
return i.mbd($this$dispatchAsync, store, $completion);
|
|
2776
2805
|
};
|
|
2777
2806
|
l.$arity = 2;
|
|
2778
2807
|
return l;
|
|
@@ -2803,7 +2832,7 @@
|
|
|
2803
2832
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2804
2833
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2805
2834
|
var tmp_4 = KProperty1;
|
|
2806
|
-
tmp_1.
|
|
2835
|
+
tmp_1.udq_1 = tmp_3.c1h(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2807
2836
|
var tmp_5 = this;
|
|
2808
2837
|
// Inline function 'org.kodein.di.instance' call
|
|
2809
2838
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2811,7 +2840,7 @@
|
|
|
2811
2840
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2812
2841
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2813
2842
|
var tmp_8 = KProperty1;
|
|
2814
|
-
tmp_5.
|
|
2843
|
+
tmp_5.vdq_1 = tmp_7.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2815
2844
|
var tmp_9 = this;
|
|
2816
2845
|
// Inline function 'org.kodein.di.instance' call
|
|
2817
2846
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2819,7 +2848,7 @@
|
|
|
2819
2848
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2820
2849
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2821
2850
|
var tmp_12 = KProperty1;
|
|
2822
|
-
tmp_9.
|
|
2851
|
+
tmp_9.wdq_1 = tmp_11.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2823
2852
|
var tmp_13 = this;
|
|
2824
2853
|
// Inline function 'org.kodein.di.instance' call
|
|
2825
2854
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2827,7 +2856,7 @@
|
|
|
2827
2856
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2828
2857
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2829
2858
|
var tmp_16 = KProperty1;
|
|
2830
|
-
tmp_13.
|
|
2859
|
+
tmp_13.xdq_1 = tmp_15.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2831
2860
|
var tmp_17 = this;
|
|
2832
2861
|
// Inline function 'org.kodein.di.instance' call
|
|
2833
2862
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2835,9 +2864,9 @@
|
|
|
2835
2864
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2836
2865
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2837
2866
|
var tmp_20 = KProperty1;
|
|
2838
|
-
tmp_17.
|
|
2867
|
+
tmp_17.ydq_1 = tmp_19.c1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2839
2868
|
var tmp_21 = this;
|
|
2840
|
-
tmp_21.
|
|
2869
|
+
tmp_21.zdq_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2841
2870
|
var tmp_22 = this;
|
|
2842
2871
|
// Inline function 'org.kodein.di.instance' call
|
|
2843
2872
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2845,7 +2874,7 @@
|
|
|
2845
2874
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2846
2875
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2847
2876
|
var tmp_25 = KProperty1;
|
|
2848
|
-
tmp_22.
|
|
2877
|
+
tmp_22.adr_1 = tmp_24.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2849
2878
|
var tmp_26 = this;
|
|
2850
2879
|
// Inline function 'org.kodein.di.instance' call
|
|
2851
2880
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2853,7 +2882,7 @@
|
|
|
2853
2882
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2854
2883
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2855
2884
|
var tmp_29 = KProperty1;
|
|
2856
|
-
tmp_26.
|
|
2885
|
+
tmp_26.bdr_1 = tmp_28.c1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2857
2886
|
var tmp_30 = this;
|
|
2858
2887
|
// Inline function 'org.kodein.di.instance' call
|
|
2859
2888
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2861,94 +2890,94 @@
|
|
|
2861
2890
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2862
2891
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2863
2892
|
var tmp_33 = KProperty1;
|
|
2864
|
-
tmp_30.
|
|
2893
|
+
tmp_30.cdr_1 = tmp_32.c1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2865
2894
|
var tmp_34 = this;
|
|
2866
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2867
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2868
|
-
tmp_34.
|
|
2895
|
+
var tmp0_externalMiddlewares = plus(storeContract.f9g(), externalMiddlewares);
|
|
2896
|
+
var tmp1_externalReducers = plus(storeContract.e9g(), externalReducers);
|
|
2897
|
+
tmp_34.ddr_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2869
2898
|
}
|
|
2870
|
-
protoOf(GameServer).
|
|
2871
|
-
return this.
|
|
2899
|
+
protoOf(GameServer).h6v = function () {
|
|
2900
|
+
return this.ddr_1;
|
|
2872
2901
|
};
|
|
2873
2902
|
protoOf(GameServer).r5i = function () {
|
|
2874
|
-
return this.g6e().
|
|
2903
|
+
return this.g6e().t6w().id;
|
|
2875
2904
|
};
|
|
2876
|
-
protoOf(GameServer).
|
|
2877
|
-
return this.g6e().
|
|
2905
|
+
protoOf(GameServer).t6w = function () {
|
|
2906
|
+
return this.g6e().t6w();
|
|
2878
2907
|
};
|
|
2879
|
-
protoOf(GameServer).
|
|
2880
|
-
return this.g6e().
|
|
2908
|
+
protoOf(GameServer).u6w = function () {
|
|
2909
|
+
return this.g6e().u6w();
|
|
2881
2910
|
};
|
|
2882
|
-
protoOf(GameServer).
|
|
2911
|
+
protoOf(GameServer).v6w = function () {
|
|
2883
2912
|
return this.g6e().gameLifecycleState;
|
|
2884
2913
|
};
|
|
2885
2914
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
2886
|
-
var tmp = this.
|
|
2887
|
-
tmp.
|
|
2915
|
+
var tmp = this.f6v();
|
|
2916
|
+
tmp.b6k(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
2888
2917
|
};
|
|
2889
2918
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
2890
|
-
var tmp = this.
|
|
2891
|
-
tmp.
|
|
2919
|
+
var tmp = this.f6v();
|
|
2920
|
+
tmp.b6k(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
2892
2921
|
};
|
|
2893
2922
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
2894
|
-
var tmp = this.
|
|
2895
|
-
tmp.
|
|
2923
|
+
var tmp = this.f6v();
|
|
2924
|
+
tmp.b6k(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
2896
2925
|
};
|
|
2897
2926
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
2898
|
-
var tmp = this.
|
|
2899
|
-
tmp.
|
|
2927
|
+
var tmp = this.f6v();
|
|
2928
|
+
tmp.b6k(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
2900
2929
|
};
|
|
2901
2930
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2902
2931
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2903
|
-
this.
|
|
2932
|
+
this.ddr_1.r6w(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2904
2933
|
};
|
|
2905
2934
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2906
2935
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2907
|
-
this.
|
|
2936
|
+
this.ddr_1.r6w(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2908
2937
|
};
|
|
2909
2938
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2910
2939
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2911
|
-
this.
|
|
2940
|
+
this.ddr_1.r6w(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2912
2941
|
};
|
|
2913
2942
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2914
2943
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2915
|
-
this.
|
|
2944
|
+
this.ddr_1.r6w(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2916
2945
|
};
|
|
2917
|
-
protoOf(GameServer).
|
|
2946
|
+
protoOf(GameServer).me0 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2918
2947
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2919
|
-
this.
|
|
2948
|
+
this.ddr_1.r6w(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2920
2949
|
};
|
|
2921
2950
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2922
2951
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2923
|
-
this.
|
|
2924
|
-
this.
|
|
2952
|
+
var isCreated = this.ddr_1.s6w(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2953
|
+
this.ddr_1.r6w(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2925
2954
|
};
|
|
2926
2955
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2927
2956
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2928
|
-
this.
|
|
2929
|
-
this.
|
|
2957
|
+
this.ddr_1.r6w(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2958
|
+
this.ddr_1.r6w(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2930
2959
|
};
|
|
2931
2960
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2932
|
-
this.
|
|
2961
|
+
this.ddr_1.r6w(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2933
2962
|
};
|
|
2934
2963
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2935
|
-
this.
|
|
2964
|
+
this.ddr_1.r6w(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2936
2965
|
};
|
|
2937
2966
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2938
2967
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2939
|
-
this.
|
|
2968
|
+
this.ddr_1.r6w(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2940
2969
|
};
|
|
2941
|
-
protoOf(GameServer).
|
|
2970
|
+
protoOf(GameServer).ne0 = function (newRid) {
|
|
2942
2971
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2943
|
-
this.
|
|
2972
|
+
this.ddr_1.r6w(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2944
2973
|
};
|
|
2945
2974
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2946
2975
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2947
|
-
this.
|
|
2976
|
+
this.ddr_1.r6w(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2948
2977
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2978
|
+
protoOf(GameServer).oe0 = function (reason, roomId) {
|
|
2950
2979
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2951
|
-
this.
|
|
2980
|
+
this.ddr_1.r6w(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2952
2981
|
};
|
|
2953
2982
|
protoOf(GameServer).clear = function () {
|
|
2954
2983
|
return this.h2();
|
|
@@ -2999,10 +3028,10 @@
|
|
|
2999
3028
|
this.fromRound = fromRound;
|
|
3000
3029
|
this.canStartNewGame = canStartNewGame;
|
|
3001
3030
|
}
|
|
3002
|
-
protoOf(ServerConfig).
|
|
3031
|
+
protoOf(ServerConfig).pe0 = function () {
|
|
3003
3032
|
return this.fromRound;
|
|
3004
3033
|
};
|
|
3005
|
-
protoOf(ServerConfig).
|
|
3034
|
+
protoOf(ServerConfig).qe0 = function () {
|
|
3006
3035
|
return this.canStartNewGame;
|
|
3007
3036
|
};
|
|
3008
3037
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3011,13 +3040,13 @@
|
|
|
3011
3040
|
protoOf(ServerConfig).oe = function () {
|
|
3012
3041
|
return this.canStartNewGame;
|
|
3013
3042
|
};
|
|
3014
|
-
protoOf(ServerConfig).
|
|
3043
|
+
protoOf(ServerConfig).re0 = function (fromRound, canStartNewGame) {
|
|
3015
3044
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3016
3045
|
};
|
|
3017
3046
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3018
3047
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3019
3048
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3020
|
-
return $super === VOID ? this.
|
|
3049
|
+
return $super === VOID ? this.re0(fromRound, canStartNewGame) : $super.re0.call(this, fromRound, canStartNewGame);
|
|
3021
3050
|
};
|
|
3022
3051
|
protoOf(ServerConfig).toString = function () {
|
|
3023
3052
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3078,19 +3107,19 @@
|
|
|
3078
3107
|
$serializer_instance = this;
|
|
3079
3108
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3080
3109
|
tmp0_serialDesc.gz('table', false);
|
|
3081
|
-
this.
|
|
3110
|
+
this.se0_1 = tmp0_serialDesc;
|
|
3082
3111
|
}
|
|
3083
|
-
protoOf($serializer).
|
|
3084
|
-
var tmp0_desc = this.
|
|
3112
|
+
protoOf($serializer).te0 = function (encoder, value) {
|
|
3113
|
+
var tmp0_desc = this.se0_1;
|
|
3085
3114
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3086
3115
|
tmp1_output.dt(tmp0_desc, 0, value.table);
|
|
3087
3116
|
tmp1_output.pr(tmp0_desc);
|
|
3088
3117
|
};
|
|
3089
3118
|
protoOf($serializer).co = function (encoder, value) {
|
|
3090
|
-
return this.
|
|
3119
|
+
return this.te0(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3091
3120
|
};
|
|
3092
3121
|
protoOf($serializer).do = function (decoder) {
|
|
3093
|
-
var tmp0_desc = this.
|
|
3122
|
+
var tmp0_desc = this.se0_1;
|
|
3094
3123
|
var tmp1_flag = true;
|
|
3095
3124
|
var tmp2_index = 0;
|
|
3096
3125
|
var tmp3_bitMask0 = 0;
|
|
@@ -3118,7 +3147,7 @@
|
|
|
3118
3147
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3119
3148
|
};
|
|
3120
3149
|
protoOf($serializer).bo = function () {
|
|
3121
|
-
return this.
|
|
3150
|
+
return this.se0_1;
|
|
3122
3151
|
};
|
|
3123
3152
|
protoOf($serializer).vz = function () {
|
|
3124
3153
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3134,7 +3163,7 @@
|
|
|
3134
3163
|
}
|
|
3135
3164
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3136
3165
|
if (!(1 === (1 & seen0))) {
|
|
3137
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3166
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().se0_1);
|
|
3138
3167
|
}
|
|
3139
3168
|
$this.table = table;
|
|
3140
3169
|
return $this;
|
|
@@ -3145,7 +3174,7 @@
|
|
|
3145
3174
|
function TableStateUpdateDto(table) {
|
|
3146
3175
|
this.table = table;
|
|
3147
3176
|
}
|
|
3148
|
-
protoOf(TableStateUpdateDto).
|
|
3177
|
+
protoOf(TableStateUpdateDto).t6w = function () {
|
|
3149
3178
|
return this.table;
|
|
3150
3179
|
};
|
|
3151
3180
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
@@ -3186,19 +3215,19 @@
|
|
|
3186
3215
|
$serializer_instance_0 = this;
|
|
3187
3216
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3188
3217
|
tmp0_serialDesc.gz('actions', false);
|
|
3189
|
-
this.
|
|
3218
|
+
this.ue0_1 = tmp0_serialDesc;
|
|
3190
3219
|
}
|
|
3191
|
-
protoOf($serializer_0).
|
|
3192
|
-
var tmp0_desc = this.
|
|
3220
|
+
protoOf($serializer_0).ve0 = function (encoder, value) {
|
|
3221
|
+
var tmp0_desc = this.ue0_1;
|
|
3193
3222
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3194
3223
|
tmp1_output.dt(tmp0_desc, 0, value.actions);
|
|
3195
3224
|
tmp1_output.pr(tmp0_desc);
|
|
3196
3225
|
};
|
|
3197
3226
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3198
|
-
return this.
|
|
3227
|
+
return this.ve0(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3199
3228
|
};
|
|
3200
3229
|
protoOf($serializer_0).do = function (decoder) {
|
|
3201
|
-
var tmp0_desc = this.
|
|
3230
|
+
var tmp0_desc = this.ue0_1;
|
|
3202
3231
|
var tmp1_flag = true;
|
|
3203
3232
|
var tmp2_index = 0;
|
|
3204
3233
|
var tmp3_bitMask0 = 0;
|
|
@@ -3226,7 +3255,7 @@
|
|
|
3226
3255
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3227
3256
|
};
|
|
3228
3257
|
protoOf($serializer_0).bo = function () {
|
|
3229
|
-
return this.
|
|
3258
|
+
return this.ue0_1;
|
|
3230
3259
|
};
|
|
3231
3260
|
protoOf($serializer_0).vz = function () {
|
|
3232
3261
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3242,7 +3271,7 @@
|
|
|
3242
3271
|
}
|
|
3243
3272
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3244
3273
|
if (!(1 === (1 & seen0))) {
|
|
3245
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3274
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().ue0_1);
|
|
3246
3275
|
}
|
|
3247
3276
|
$this.actions = actions;
|
|
3248
3277
|
return $this;
|
|
@@ -3253,7 +3282,7 @@
|
|
|
3253
3282
|
function ActionsStateUpdateDto(actions) {
|
|
3254
3283
|
this.actions = actions;
|
|
3255
3284
|
}
|
|
3256
|
-
protoOf(ActionsStateUpdateDto).
|
|
3285
|
+
protoOf(ActionsStateUpdateDto).r8v = function () {
|
|
3257
3286
|
return this.actions;
|
|
3258
3287
|
};
|
|
3259
3288
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
@@ -3305,28 +3334,28 @@
|
|
|
3305
3334
|
var tmp$ret$0 = mapToDto(item);
|
|
3306
3335
|
destination.j(tmp$ret$0);
|
|
3307
3336
|
}
|
|
3308
|
-
return new ActionsStateUpdateDto(encoderDecoderProvider.
|
|
3337
|
+
return new ActionsStateUpdateDto(encoderDecoderProvider.l92(destination));
|
|
3309
3338
|
}
|
|
3310
3339
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3311
|
-
return new TableStateUpdateDto(encoderDecoderProvider.
|
|
3340
|
+
return new TableStateUpdateDto(encoderDecoderProvider.j92(mapToDto_0(_this__u8e3s4.table)));
|
|
3312
3341
|
}
|
|
3313
3342
|
function ServerStateUpdate() {
|
|
3314
3343
|
}
|
|
3315
3344
|
function TableStateUpdate(table) {
|
|
3316
3345
|
this.table = table;
|
|
3317
3346
|
}
|
|
3318
|
-
protoOf(TableStateUpdate).
|
|
3347
|
+
protoOf(TableStateUpdate).t6w = function () {
|
|
3319
3348
|
return this.table;
|
|
3320
3349
|
};
|
|
3321
3350
|
protoOf(TableStateUpdate).ne = function () {
|
|
3322
3351
|
return this.table;
|
|
3323
3352
|
};
|
|
3324
|
-
protoOf(TableStateUpdate).
|
|
3353
|
+
protoOf(TableStateUpdate).we0 = function (table) {
|
|
3325
3354
|
return new TableStateUpdate(table);
|
|
3326
3355
|
};
|
|
3327
3356
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3328
3357
|
table = table === VOID ? this.table : table;
|
|
3329
|
-
return $super === VOID ? this.
|
|
3358
|
+
return $super === VOID ? this.we0(table) : $super.we0.call(this, table);
|
|
3330
3359
|
};
|
|
3331
3360
|
protoOf(TableStateUpdate).toString = function () {
|
|
3332
3361
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3346,18 +3375,18 @@
|
|
|
3346
3375
|
function ActionsStateUpdate(actions) {
|
|
3347
3376
|
this.actions = actions;
|
|
3348
3377
|
}
|
|
3349
|
-
protoOf(ActionsStateUpdate).
|
|
3378
|
+
protoOf(ActionsStateUpdate).r8v = function () {
|
|
3350
3379
|
return this.actions;
|
|
3351
3380
|
};
|
|
3352
3381
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3353
3382
|
return this.actions;
|
|
3354
3383
|
};
|
|
3355
|
-
protoOf(ActionsStateUpdate).
|
|
3384
|
+
protoOf(ActionsStateUpdate).xe0 = function (actions) {
|
|
3356
3385
|
return new ActionsStateUpdate(actions);
|
|
3357
3386
|
};
|
|
3358
3387
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3359
3388
|
actions = actions === VOID ? this.actions : actions;
|
|
3360
|
-
return $super === VOID ? this.
|
|
3389
|
+
return $super === VOID ? this.xe0(actions) : $super.xe0.call(this, actions);
|
|
3361
3390
|
};
|
|
3362
3391
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3363
3392
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3602,18 +3631,18 @@
|
|
|
3602
3631
|
function ToClientEventsObserver() {
|
|
3603
3632
|
}
|
|
3604
3633
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3605
|
-
this.
|
|
3606
|
-
this.
|
|
3634
|
+
this.he1_1 = this$0;
|
|
3635
|
+
this.ie1_1 = $actions;
|
|
3607
3636
|
CoroutineImpl.call(this, resultContinuation);
|
|
3608
3637
|
}
|
|
3609
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3610
|
-
var tmp = this.
|
|
3638
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).le1 = function ($this$flow, $completion) {
|
|
3639
|
+
var tmp = this.me1($this$flow, $completion);
|
|
3611
3640
|
tmp.t8_1 = Unit_instance;
|
|
3612
3641
|
tmp.u8_1 = null;
|
|
3613
3642
|
return tmp.z8();
|
|
3614
3643
|
};
|
|
3615
3644
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3616
|
-
return this.
|
|
3645
|
+
return this.le1((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3617
3646
|
};
|
|
3618
3647
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3619
3648
|
var suspendResult = this.t8_1;
|
|
@@ -3623,19 +3652,19 @@
|
|
|
3623
3652
|
switch (tmp) {
|
|
3624
3653
|
case 0:
|
|
3625
3654
|
this.s8_1 = 4;
|
|
3626
|
-
this.
|
|
3627
|
-
this.
|
|
3655
|
+
this.he1_1.re1_1;
|
|
3656
|
+
this.ke1_1 = transformToEmits(this.he1_1, this.ie1_1).l();
|
|
3628
3657
|
this.r8_1 = 1;
|
|
3629
3658
|
continue $sm;
|
|
3630
3659
|
case 1:
|
|
3631
|
-
if (!this.
|
|
3660
|
+
if (!this.ke1_1.m()) {
|
|
3632
3661
|
this.r8_1 = 3;
|
|
3633
3662
|
continue $sm;
|
|
3634
3663
|
}
|
|
3635
3664
|
|
|
3636
|
-
var element = this.
|
|
3665
|
+
var element = this.ke1_1.n();
|
|
3637
3666
|
this.r8_1 = 2;
|
|
3638
|
-
suspendResult = this.
|
|
3667
|
+
suspendResult = this.je1_1.g24(element, this);
|
|
3639
3668
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3640
3669
|
return suspendResult;
|
|
3641
3670
|
}
|
|
@@ -3645,11 +3674,11 @@
|
|
|
3645
3674
|
this.r8_1 = 1;
|
|
3646
3675
|
continue $sm;
|
|
3647
3676
|
case 3:
|
|
3648
|
-
var tmp0 = this.
|
|
3677
|
+
var tmp0 = this.he1_1.qe1_1;
|
|
3649
3678
|
l$ret$1: do {
|
|
3650
3679
|
while (true) {
|
|
3651
3680
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3652
|
-
var upd = cur - this.
|
|
3681
|
+
var upd = cur - this.ie1_1.o() | 0;
|
|
3653
3682
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3654
3683
|
break l$ret$1;
|
|
3655
3684
|
}
|
|
@@ -3671,15 +3700,15 @@
|
|
|
3671
3700
|
}
|
|
3672
3701
|
while (true);
|
|
3673
3702
|
};
|
|
3674
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3675
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3676
|
-
i.
|
|
3703
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).me1 = function ($this$flow, completion) {
|
|
3704
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.he1_1, this.ie1_1, completion);
|
|
3705
|
+
i.je1_1 = $this$flow;
|
|
3677
3706
|
return i;
|
|
3678
3707
|
};
|
|
3679
3708
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3680
3709
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3681
3710
|
var l = function ($this$flow, $completion) {
|
|
3682
|
-
return i.
|
|
3711
|
+
return i.le1($this$flow, $completion);
|
|
3683
3712
|
};
|
|
3684
3713
|
l.$arity = 1;
|
|
3685
3714
|
return l;
|
|
@@ -3749,29 +3778,29 @@
|
|
|
3749
3778
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3750
3779
|
}
|
|
3751
3780
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3752
|
-
var tmp = $this.
|
|
3781
|
+
var tmp = $this.pe1_1.v6l();
|
|
3753
3782
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3754
|
-
var this_0 = _this__u8e3s4.
|
|
3783
|
+
var this_0 = _this__u8e3s4.ue1_1;
|
|
3755
3784
|
var tmp_0 = copyToArray(this_0);
|
|
3756
3785
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3757
|
-
var this_1 = _this__u8e3s4.
|
|
3786
|
+
var this_1 = _this__u8e3s4.ve1_1;
|
|
3758
3787
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3759
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3788
|
+
return new ActionDeliveryPayload(_this__u8e3s4.te1_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.we1_1);
|
|
3760
3789
|
}
|
|
3761
3790
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3762
|
-
this.
|
|
3763
|
-
this.
|
|
3764
|
-
this.
|
|
3765
|
-
this.
|
|
3791
|
+
this.te1_1 = tableId;
|
|
3792
|
+
this.ue1_1 = includePlayers;
|
|
3793
|
+
this.ve1_1 = excludePlayers;
|
|
3794
|
+
this.we1_1 = deliveryType;
|
|
3766
3795
|
}
|
|
3767
3796
|
protoOf(GroupKey).toString = function () {
|
|
3768
|
-
return 'GroupKey(tableId=' + this.
|
|
3797
|
+
return 'GroupKey(tableId=' + this.te1_1 + ', includePlayers=' + toString(this.ue1_1) + ', excludePlayers=' + toString(this.ve1_1) + ', deliveryType=' + this.we1_1.toString() + ')';
|
|
3769
3798
|
};
|
|
3770
3799
|
protoOf(GroupKey).hashCode = function () {
|
|
3771
|
-
var result = getStringHashCode(this.
|
|
3772
|
-
result = imul(result, 31) + hashCode(this.
|
|
3773
|
-
result = imul(result, 31) + hashCode(this.
|
|
3774
|
-
result = imul(result, 31) + this.
|
|
3800
|
+
var result = getStringHashCode(this.te1_1);
|
|
3801
|
+
result = imul(result, 31) + hashCode(this.ue1_1) | 0;
|
|
3802
|
+
result = imul(result, 31) + hashCode(this.ve1_1) | 0;
|
|
3803
|
+
result = imul(result, 31) + this.we1_1.hashCode() | 0;
|
|
3775
3804
|
return result;
|
|
3776
3805
|
};
|
|
3777
3806
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3779,35 +3808,35 @@
|
|
|
3779
3808
|
return true;
|
|
3780
3809
|
if (!(other instanceof GroupKey))
|
|
3781
3810
|
return false;
|
|
3782
|
-
if (!(this.
|
|
3811
|
+
if (!(this.te1_1 === other.te1_1))
|
|
3783
3812
|
return false;
|
|
3784
|
-
if (!equals(this.
|
|
3813
|
+
if (!equals(this.ue1_1, other.ue1_1))
|
|
3785
3814
|
return false;
|
|
3786
|
-
if (!equals(this.
|
|
3815
|
+
if (!equals(this.ve1_1, other.ve1_1))
|
|
3787
3816
|
return false;
|
|
3788
|
-
if (!this.
|
|
3817
|
+
if (!this.we1_1.equals(other.we1_1))
|
|
3789
3818
|
return false;
|
|
3790
3819
|
return true;
|
|
3791
3820
|
};
|
|
3792
3821
|
function Companion_4() {
|
|
3793
|
-
this.
|
|
3822
|
+
this.xe1_1 = 6;
|
|
3794
3823
|
}
|
|
3795
3824
|
var Companion_instance_12;
|
|
3796
3825
|
function Companion_getInstance_5() {
|
|
3797
3826
|
return Companion_instance_12;
|
|
3798
3827
|
}
|
|
3799
3828
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3800
|
-
this.
|
|
3829
|
+
this.ge2_1 = this$0;
|
|
3801
3830
|
CoroutineImpl.call(this, resultContinuation);
|
|
3802
3831
|
}
|
|
3803
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3804
|
-
var tmp = this.
|
|
3832
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ie2 = function (actions, $completion) {
|
|
3833
|
+
var tmp = this.je2(actions, $completion);
|
|
3805
3834
|
tmp.t8_1 = Unit_instance;
|
|
3806
3835
|
tmp.u8_1 = null;
|
|
3807
3836
|
return tmp.z8();
|
|
3808
3837
|
};
|
|
3809
3838
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3810
|
-
return this.
|
|
3839
|
+
return this.ie2((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3811
3840
|
};
|
|
3812
3841
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3813
3842
|
var suspendResult = this.t8_1;
|
|
@@ -3816,7 +3845,7 @@
|
|
|
3816
3845
|
var tmp = this.r8_1;
|
|
3817
3846
|
if (tmp === 0) {
|
|
3818
3847
|
this.s8_1 = 1;
|
|
3819
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3848
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ge2_1, this.he2_1, null));
|
|
3820
3849
|
} else if (tmp === 1) {
|
|
3821
3850
|
throw this.u8_1;
|
|
3822
3851
|
}
|
|
@@ -3826,23 +3855,23 @@
|
|
|
3826
3855
|
}
|
|
3827
3856
|
while (true);
|
|
3828
3857
|
};
|
|
3829
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3830
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3831
|
-
i.
|
|
3858
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).je2 = function (actions, completion) {
|
|
3859
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ge2_1, completion);
|
|
3860
|
+
i.he2_1 = actions;
|
|
3832
3861
|
return i;
|
|
3833
3862
|
};
|
|
3834
3863
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3835
3864
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3836
3865
|
var l = function (actions, $completion) {
|
|
3837
|
-
return i.
|
|
3866
|
+
return i.ie2(actions, $completion);
|
|
3838
3867
|
};
|
|
3839
3868
|
l.$arity = 1;
|
|
3840
3869
|
return l;
|
|
3841
3870
|
}
|
|
3842
3871
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3843
3872
|
CoroutineImpl.call(this, resultContinuation);
|
|
3844
|
-
this.
|
|
3845
|
-
this.
|
|
3873
|
+
this.se2_1 = _this__u8e3s4;
|
|
3874
|
+
this.te2_1 = fromEvent;
|
|
3846
3875
|
}
|
|
3847
3876
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3848
3877
|
var suspendResult = this.t8_1;
|
|
@@ -3852,8 +3881,8 @@
|
|
|
3852
3881
|
switch (tmp) {
|
|
3853
3882
|
case 0:
|
|
3854
3883
|
this.s8_1 = 2;
|
|
3855
|
-
this.
|
|
3856
|
-
var tmp0 = this.
|
|
3884
|
+
this.se2_1.re1_1;
|
|
3885
|
+
var tmp0 = this.se2_1.qe1_1;
|
|
3857
3886
|
l$ret$1: do {
|
|
3858
3887
|
while (true) {
|
|
3859
3888
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3865,7 +3894,7 @@
|
|
|
3865
3894
|
}
|
|
3866
3895
|
while (false);
|
|
3867
3896
|
this.r8_1 = 1;
|
|
3868
|
-
suspendResult = this.
|
|
3897
|
+
suspendResult = this.se2_1.se1_1.g24(this.te2_1, this);
|
|
3869
3898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3870
3899
|
return suspendResult;
|
|
3871
3900
|
}
|
|
@@ -3889,7 +3918,7 @@
|
|
|
3889
3918
|
};
|
|
3890
3919
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3891
3920
|
CoroutineImpl.call(this, resultContinuation);
|
|
3892
|
-
this.
|
|
3921
|
+
this.ce3_1 = _this__u8e3s4;
|
|
3893
3922
|
}
|
|
3894
3923
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3895
3924
|
var suspendResult = this.t8_1;
|
|
@@ -3899,12 +3928,12 @@
|
|
|
3899
3928
|
switch (tmp) {
|
|
3900
3929
|
case 0:
|
|
3901
3930
|
this.s8_1 = 5;
|
|
3902
|
-
this.
|
|
3903
|
-
this.
|
|
3931
|
+
this.ce3_1.re1_1;
|
|
3932
|
+
this.de3_1 = 0;
|
|
3904
3933
|
this.r8_1 = 1;
|
|
3905
3934
|
continue $sm;
|
|
3906
3935
|
case 1:
|
|
3907
|
-
if (!!(this.
|
|
3936
|
+
if (!!(this.ce3_1.qe1_1.kotlinx$atomicfu$value === 0)) {
|
|
3908
3937
|
this.r8_1 = 4;
|
|
3909
3938
|
continue $sm;
|
|
3910
3939
|
}
|
|
@@ -3917,9 +3946,9 @@
|
|
|
3917
3946
|
|
|
3918
3947
|
continue $sm;
|
|
3919
3948
|
case 2:
|
|
3920
|
-
this.
|
|
3921
|
-
if (this.
|
|
3922
|
-
this.
|
|
3949
|
+
this.de3_1 = this.de3_1 + 1 | 0;
|
|
3950
|
+
if (this.de3_1 > 6) {
|
|
3951
|
+
this.ce3_1.oe1_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.ce3_1.qe1_1.kotlinx$atomicfu$value);
|
|
3923
3952
|
this.r8_1 = 4;
|
|
3924
3953
|
continue $sm;
|
|
3925
3954
|
} else {
|
|
@@ -3947,188 +3976,191 @@
|
|
|
3947
3976
|
while (true);
|
|
3948
3977
|
};
|
|
3949
3978
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3950
|
-
this.
|
|
3951
|
-
this.
|
|
3952
|
-
this.
|
|
3953
|
-
this.
|
|
3979
|
+
this.ne1_1 = serverReduxConfig;
|
|
3980
|
+
this.oe1_1 = logger;
|
|
3981
|
+
this.pe1_1 = idsProvider;
|
|
3982
|
+
this.qe1_1 = atomic$ref$1(0);
|
|
3954
3983
|
var tmp = this;
|
|
3955
3984
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3956
|
-
tmp.
|
|
3957
|
-
this.
|
|
3985
|
+
tmp.re1_1 = get_atomicfu$reentrantLock();
|
|
3986
|
+
this.se1_1 = MutableSharedFlow();
|
|
3958
3987
|
}
|
|
3959
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3988
|
+
protoOf(ToClientEventsObserverImpl).ye0 = function (fromEvent, $completion) {
|
|
3960
3989
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
3961
3990
|
tmp.t8_1 = Unit_instance;
|
|
3962
3991
|
tmp.u8_1 = null;
|
|
3963
3992
|
return tmp.z8();
|
|
3964
3993
|
};
|
|
3965
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3994
|
+
protoOf(ToClientEventsObserverImpl).c9p = function ($completion) {
|
|
3966
3995
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
3967
3996
|
tmp.t8_1 = Unit_instance;
|
|
3968
3997
|
tmp.u8_1 = null;
|
|
3969
3998
|
return tmp.z8();
|
|
3970
3999
|
};
|
|
3971
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3972
|
-
if (!this.
|
|
3973
|
-
return this.
|
|
4000
|
+
protoOf(ToClientEventsObserverImpl).kav = function () {
|
|
4001
|
+
if (!this.ne1_1.enabledCombinedEvents) {
|
|
4002
|
+
return this.se1_1;
|
|
3974
4003
|
}
|
|
3975
|
-
var tmp = windowedByInterval(this.
|
|
4004
|
+
var tmp = windowedByInterval(this.se1_1, fromInt(this.ne1_1.combinedEventsIntervalMillis));
|
|
3976
4005
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3977
4006
|
};
|
|
3978
4007
|
function UpdateServerConfigAction(serverConfig) {
|
|
3979
|
-
this.
|
|
4008
|
+
this.ee3_1 = serverConfig;
|
|
3980
4009
|
}
|
|
3981
4010
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3982
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4011
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ee3_1.toString() + ')';
|
|
3983
4012
|
};
|
|
3984
4013
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3985
|
-
return this.
|
|
4014
|
+
return this.ee3_1.hashCode();
|
|
3986
4015
|
};
|
|
3987
4016
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3988
4017
|
if (this === other)
|
|
3989
4018
|
return true;
|
|
3990
4019
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3991
4020
|
return false;
|
|
3992
|
-
if (!this.
|
|
4021
|
+
if (!this.ee3_1.equals(other.ee3_1))
|
|
3993
4022
|
return false;
|
|
3994
4023
|
return true;
|
|
3995
4024
|
};
|
|
3996
4025
|
function AddSpectatorsAction(spectators) {
|
|
3997
|
-
this.
|
|
4026
|
+
this.fe3_1 = spectators;
|
|
3998
4027
|
}
|
|
3999
4028
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4000
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4029
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.fe3_1) + ')';
|
|
4001
4030
|
};
|
|
4002
4031
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4003
|
-
return hashCode(this.
|
|
4032
|
+
return hashCode(this.fe3_1);
|
|
4004
4033
|
};
|
|
4005
4034
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4006
4035
|
if (this === other)
|
|
4007
4036
|
return true;
|
|
4008
4037
|
if (!(other instanceof AddSpectatorsAction))
|
|
4009
4038
|
return false;
|
|
4010
|
-
if (!equals(this.
|
|
4039
|
+
if (!equals(this.fe3_1, other.fe3_1))
|
|
4011
4040
|
return false;
|
|
4012
4041
|
return true;
|
|
4013
4042
|
};
|
|
4014
4043
|
function RemoveSpectatorsAction(spectators) {
|
|
4015
|
-
this.
|
|
4044
|
+
this.ge3_1 = spectators;
|
|
4016
4045
|
}
|
|
4017
4046
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4018
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4047
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ge3_1) + ')';
|
|
4019
4048
|
};
|
|
4020
4049
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4021
|
-
return hashCode(this.
|
|
4050
|
+
return hashCode(this.ge3_1);
|
|
4022
4051
|
};
|
|
4023
4052
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4024
4053
|
if (this === other)
|
|
4025
4054
|
return true;
|
|
4026
4055
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4027
4056
|
return false;
|
|
4028
|
-
if (!equals(this.
|
|
4057
|
+
if (!equals(this.ge3_1, other.ge3_1))
|
|
4029
4058
|
return false;
|
|
4030
4059
|
return true;
|
|
4031
4060
|
};
|
|
4032
4061
|
function SpectatorsAction() {
|
|
4033
4062
|
}
|
|
4034
4063
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4035
|
-
var tmp0 = $this.
|
|
4064
|
+
var tmp0 = $this.me3_1;
|
|
4036
4065
|
var tmp = KProperty1;
|
|
4037
4066
|
// Inline function 'kotlin.getValue' call
|
|
4038
4067
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4039
4068
|
return tmp0.w();
|
|
4040
4069
|
}
|
|
4041
4070
|
function _get_logger__rkp4sl_0($this) {
|
|
4042
|
-
var tmp0 = $this.
|
|
4071
|
+
var tmp0 = $this.ne3_1;
|
|
4043
4072
|
var tmp = KProperty1;
|
|
4044
4073
|
// Inline function 'kotlin.getValue' call
|
|
4045
4074
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4046
4075
|
return tmp0.w();
|
|
4047
4076
|
}
|
|
4048
4077
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4049
|
-
var tmp0 = $this.
|
|
4078
|
+
var tmp0 = $this.oe3_1;
|
|
4050
4079
|
var tmp = KProperty1;
|
|
4051
4080
|
// Inline function 'kotlin.getValue' call
|
|
4052
4081
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4053
4082
|
return tmp0.w();
|
|
4054
4083
|
}
|
|
4055
4084
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4056
|
-
var tmp0 = $this.
|
|
4085
|
+
var tmp0 = $this.pe3_1;
|
|
4057
4086
|
var tmp = KProperty1;
|
|
4058
4087
|
// Inline function 'kotlin.getValue' call
|
|
4059
4088
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4060
4089
|
return tmp0.w();
|
|
4061
4090
|
}
|
|
4062
4091
|
function _get_serverConfig__rk2g06($this) {
|
|
4063
|
-
var tmp0 = $this.
|
|
4092
|
+
var tmp0 = $this.qe3_1;
|
|
4064
4093
|
var tmp = KProperty1;
|
|
4065
4094
|
// Inline function 'kotlin.getValue' call
|
|
4066
4095
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4067
4096
|
return tmp0.w();
|
|
4068
4097
|
}
|
|
4069
4098
|
function _get_logicConfig__52ww9d($this) {
|
|
4070
|
-
var tmp0 = $this.
|
|
4099
|
+
var tmp0 = $this.re3_1;
|
|
4071
4100
|
var tmp = KProperty1;
|
|
4072
4101
|
// Inline function 'kotlin.getValue' call
|
|
4073
4102
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4074
4103
|
return tmp0.w();
|
|
4075
4104
|
}
|
|
4076
4105
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4077
|
-
var tmp0 = $this.
|
|
4106
|
+
var tmp0 = $this.se3_1;
|
|
4078
4107
|
var tmp = KProperty1;
|
|
4079
4108
|
// Inline function 'kotlin.getValue' call
|
|
4080
4109
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4081
4110
|
return tmp0.w();
|
|
4082
4111
|
}
|
|
4083
4112
|
function _get_botConfig__cpaxzc($this) {
|
|
4084
|
-
var tmp0 = $this.
|
|
4113
|
+
var tmp0 = $this.te3_1;
|
|
4085
4114
|
var tmp = KProperty1;
|
|
4086
4115
|
// Inline function 'kotlin.getValue' call
|
|
4087
4116
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4088
4117
|
return tmp0.w();
|
|
4089
4118
|
}
|
|
4090
4119
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4091
|
-
var tmp0 = $this.
|
|
4120
|
+
var tmp0 = $this.ue3_1;
|
|
4092
4121
|
var tmp = KProperty1;
|
|
4093
4122
|
// Inline function 'kotlin.getValue' call
|
|
4094
4123
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4095
4124
|
return tmp0.w();
|
|
4096
4125
|
}
|
|
4097
4126
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4098
|
-
var tmp0 = $this.
|
|
4127
|
+
var tmp0 = $this.ve3_1;
|
|
4099
4128
|
var tmp = KProperty1;
|
|
4100
4129
|
// Inline function 'kotlin.getValue' call
|
|
4101
4130
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4102
4131
|
return tmp0.w();
|
|
4103
4132
|
}
|
|
4104
4133
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4105
|
-
var tmp0 = $this.
|
|
4134
|
+
var tmp0 = $this.we3_1;
|
|
4106
4135
|
var tmp = KProperty1;
|
|
4107
4136
|
// Inline function 'kotlin.getValue' call
|
|
4108
4137
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4109
4138
|
return tmp0.w();
|
|
4110
4139
|
}
|
|
4111
4140
|
function _get_dealerConfig__183ci8($this) {
|
|
4112
|
-
var tmp0 = $this.
|
|
4141
|
+
var tmp0 = $this.xe3_1;
|
|
4113
4142
|
var tmp = KProperty1;
|
|
4114
4143
|
// Inline function 'kotlin.getValue' call
|
|
4115
4144
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4116
4145
|
return tmp0.w();
|
|
4117
4146
|
}
|
|
4118
4147
|
function _get_poolProvider__tqti6a($this) {
|
|
4119
|
-
var tmp0 = $this.
|
|
4148
|
+
var tmp0 = $this.ye3_1;
|
|
4120
4149
|
var tmp = KProperty1;
|
|
4121
4150
|
// Inline function 'kotlin.getValue' call
|
|
4122
4151
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4123
4152
|
return tmp0.w();
|
|
4124
4153
|
}
|
|
4125
4154
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4126
|
-
var tmp0 = $this.
|
|
4155
|
+
var tmp0 = $this.ze3_1;
|
|
4127
4156
|
var tmp = KProperty1;
|
|
4128
4157
|
// Inline function 'kotlin.getValue' call
|
|
4129
4158
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
4130
4159
|
return tmp0.w();
|
|
4131
4160
|
}
|
|
4161
|
+
function ServerGameStoreContract$_init_$lambda_obu59v(it) {
|
|
4162
|
+
return new ServerLoggerKey(it);
|
|
4163
|
+
}
|
|
4132
4164
|
function ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3() {
|
|
4133
4165
|
return function (p0) {
|
|
4134
4166
|
return _get_asyncProvider__jbpyhw(p0);
|
|
@@ -4277,130 +4309,136 @@
|
|
|
4277
4309
|
timersStoreContract = timersStoreContract === VOID ? new TimersStoreContract(di) : timersStoreContract;
|
|
4278
4310
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
4279
4311
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4312
|
+
var tmp;
|
|
4313
|
+
if (fileLoggerStoreContract === VOID) {
|
|
4314
|
+
tmp = new FileLoggerStoreContract(di, VOID, ServerGameStoreContract$_init_$lambda_obu59v);
|
|
4315
|
+
} else {
|
|
4316
|
+
tmp = fileLoggerStoreContract;
|
|
4317
|
+
}
|
|
4318
|
+
fileLoggerStoreContract = tmp;
|
|
4319
|
+
this.he3_1 = validationStoreContract;
|
|
4320
|
+
this.ie3_1 = timersStoreContract;
|
|
4321
|
+
this.je3_1 = botGameStoreContract;
|
|
4322
|
+
this.ke3_1 = gameMechanicStoreContract;
|
|
4323
|
+
this.le3_1 = fileLoggerStoreContract;
|
|
4324
|
+
var tmp_0 = this;
|
|
4287
4325
|
// Inline function 'org.kodein.di.instance' call
|
|
4288
4326
|
// Inline function 'org.kodein.type.generic' call
|
|
4289
|
-
var
|
|
4290
|
-
var tmp$ret$0 = isInterface(
|
|
4291
|
-
var
|
|
4292
|
-
var
|
|
4293
|
-
|
|
4294
|
-
var
|
|
4327
|
+
var tmp_1 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
4328
|
+
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4329
|
+
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4330
|
+
var tmp_3 = KProperty1;
|
|
4331
|
+
tmp_0.me3_1 = tmp_2.c1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4332
|
+
var tmp_4 = this;
|
|
4295
4333
|
// Inline function 'org.kodein.di.instance' call
|
|
4296
4334
|
// Inline function 'org.kodein.type.generic' call
|
|
4297
|
-
var
|
|
4298
|
-
var tmp$ret$2 = isInterface(
|
|
4299
|
-
var
|
|
4300
|
-
var
|
|
4301
|
-
|
|
4302
|
-
var
|
|
4335
|
+
var tmp_5 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4336
|
+
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4337
|
+
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4338
|
+
var tmp_7 = KProperty1;
|
|
4339
|
+
tmp_4.ne3_1 = tmp_6.c1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4340
|
+
var tmp_8 = this;
|
|
4303
4341
|
// Inline function 'org.kodein.di.instance' call
|
|
4304
4342
|
// Inline function 'org.kodein.type.generic' call
|
|
4305
|
-
var
|
|
4306
|
-
var tmp$ret$4 = isInterface(
|
|
4307
|
-
var
|
|
4308
|
-
var
|
|
4309
|
-
|
|
4310
|
-
var
|
|
4343
|
+
var tmp_9 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
4344
|
+
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4345
|
+
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4346
|
+
var tmp_11 = KProperty1;
|
|
4347
|
+
tmp_8.oe3_1 = tmp_10.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4348
|
+
var tmp_12 = this;
|
|
4311
4349
|
// Inline function 'org.kodein.di.instance' call
|
|
4312
4350
|
// Inline function 'org.kodein.type.generic' call
|
|
4313
|
-
var
|
|
4314
|
-
var tmp$ret$6 = isInterface(
|
|
4315
|
-
var
|
|
4316
|
-
var
|
|
4317
|
-
|
|
4318
|
-
var
|
|
4351
|
+
var tmp_13 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
4352
|
+
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4353
|
+
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4354
|
+
var tmp_15 = KProperty1;
|
|
4355
|
+
tmp_12.pe3_1 = tmp_14.c1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4356
|
+
var tmp_16 = this;
|
|
4319
4357
|
// Inline function 'org.kodein.di.instance' call
|
|
4320
4358
|
// Inline function 'org.kodein.type.generic' call
|
|
4321
|
-
var
|
|
4322
|
-
var tmp$ret$8 = isInterface(
|
|
4323
|
-
var
|
|
4324
|
-
var
|
|
4325
|
-
|
|
4326
|
-
var
|
|
4359
|
+
var tmp_17 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
4360
|
+
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4361
|
+
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4362
|
+
var tmp_19 = KProperty1;
|
|
4363
|
+
tmp_16.qe3_1 = tmp_18.c1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4364
|
+
var tmp_20 = this;
|
|
4327
4365
|
// Inline function 'org.kodein.di.instance' call
|
|
4328
4366
|
// Inline function 'org.kodein.type.generic' call
|
|
4329
|
-
var
|
|
4330
|
-
var tmp$ret$10 = isInterface(
|
|
4331
|
-
var
|
|
4332
|
-
var
|
|
4333
|
-
|
|
4334
|
-
var
|
|
4367
|
+
var tmp_21 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
4368
|
+
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4369
|
+
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4370
|
+
var tmp_23 = KProperty1;
|
|
4371
|
+
tmp_20.re3_1 = tmp_22.c1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4372
|
+
var tmp_24 = this;
|
|
4335
4373
|
// Inline function 'org.kodein.di.instance' call
|
|
4336
4374
|
// Inline function 'org.kodein.type.generic' call
|
|
4337
|
-
var
|
|
4338
|
-
var tmp$ret$12 = isInterface(
|
|
4339
|
-
var
|
|
4340
|
-
var
|
|
4341
|
-
|
|
4342
|
-
var
|
|
4375
|
+
var tmp_25 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
4376
|
+
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4377
|
+
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4378
|
+
var tmp_27 = KProperty1;
|
|
4379
|
+
tmp_24.se3_1 = tmp_26.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4380
|
+
var tmp_28 = this;
|
|
4343
4381
|
// Inline function 'org.kodein.di.instance' call
|
|
4344
4382
|
// Inline function 'org.kodein.type.generic' call
|
|
4345
|
-
var
|
|
4346
|
-
var tmp$ret$14 = isInterface(
|
|
4347
|
-
var
|
|
4348
|
-
var
|
|
4349
|
-
|
|
4350
|
-
var
|
|
4383
|
+
var tmp_29 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
4384
|
+
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4385
|
+
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4386
|
+
var tmp_31 = KProperty1;
|
|
4387
|
+
tmp_28.te3_1 = tmp_30.c1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4388
|
+
var tmp_32 = this;
|
|
4351
4389
|
// Inline function 'org.kodein.di.instance' call
|
|
4352
4390
|
// Inline function 'org.kodein.type.generic' call
|
|
4353
|
-
var
|
|
4354
|
-
var tmp$ret$16 = isInterface(
|
|
4355
|
-
var
|
|
4356
|
-
var
|
|
4357
|
-
|
|
4358
|
-
var
|
|
4391
|
+
var tmp_33 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
4392
|
+
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4393
|
+
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4394
|
+
var tmp_35 = KProperty1;
|
|
4395
|
+
tmp_32.ue3_1 = tmp_34.c1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4396
|
+
var tmp_36 = this;
|
|
4359
4397
|
// Inline function 'org.kodein.di.instance' call
|
|
4360
4398
|
// Inline function 'org.kodein.type.generic' call
|
|
4361
|
-
var
|
|
4362
|
-
var tmp$ret$18 = isInterface(
|
|
4363
|
-
var
|
|
4364
|
-
var
|
|
4365
|
-
|
|
4366
|
-
var
|
|
4399
|
+
var tmp_37 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
4400
|
+
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4401
|
+
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4402
|
+
var tmp_39 = KProperty1;
|
|
4403
|
+
tmp_36.ve3_1 = tmp_38.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4404
|
+
var tmp_40 = this;
|
|
4367
4405
|
// Inline function 'org.kodein.di.instance' call
|
|
4368
4406
|
// Inline function 'org.kodein.type.generic' call
|
|
4369
|
-
var
|
|
4370
|
-
var tmp$ret$20 = isInterface(
|
|
4371
|
-
var
|
|
4372
|
-
var
|
|
4373
|
-
|
|
4374
|
-
var
|
|
4407
|
+
var tmp_41 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
4408
|
+
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4409
|
+
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4410
|
+
var tmp_43 = KProperty1;
|
|
4411
|
+
tmp_40.we3_1 = tmp_42.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4412
|
+
var tmp_44 = this;
|
|
4375
4413
|
// Inline function 'org.kodein.di.instance' call
|
|
4376
4414
|
// Inline function 'org.kodein.type.generic' call
|
|
4377
|
-
var
|
|
4378
|
-
var tmp$ret$22 = isInterface(
|
|
4379
|
-
var
|
|
4380
|
-
var
|
|
4381
|
-
|
|
4382
|
-
var
|
|
4415
|
+
var tmp_45 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
4416
|
+
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4417
|
+
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4418
|
+
var tmp_47 = KProperty1;
|
|
4419
|
+
tmp_44.xe3_1 = tmp_46.c1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4420
|
+
var tmp_48 = this;
|
|
4383
4421
|
// Inline function 'org.kodein.di.instance' call
|
|
4384
4422
|
// Inline function 'org.kodein.type.generic' call
|
|
4385
|
-
var
|
|
4386
|
-
var tmp$ret$24 = isInterface(
|
|
4387
|
-
var
|
|
4388
|
-
var
|
|
4389
|
-
|
|
4390
|
-
var
|
|
4423
|
+
var tmp_49 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4424
|
+
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4425
|
+
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4426
|
+
var tmp_51 = KProperty1;
|
|
4427
|
+
tmp_48.ye3_1 = tmp_50.c1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4428
|
+
var tmp_52 = this;
|
|
4391
4429
|
// Inline function 'org.kodein.di.instance' call
|
|
4392
4430
|
// Inline function 'org.kodein.type.generic' call
|
|
4393
|
-
var
|
|
4394
|
-
var tmp$ret$26 = isInterface(
|
|
4395
|
-
var
|
|
4396
|
-
var
|
|
4397
|
-
|
|
4431
|
+
var tmp_53 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
4432
|
+
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4433
|
+
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4434
|
+
var tmp_55 = KProperty1;
|
|
4435
|
+
tmp_52.ze3_1 = tmp_54.c1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4398
4436
|
}
|
|
4399
|
-
protoOf(ServerGameStoreContract).
|
|
4400
|
-
return plus(plus(plus(plus(plus(this.
|
|
4437
|
+
protoOf(ServerGameStoreContract).e9g = function () {
|
|
4438
|
+
return plus(plus(plus(plus(plus(this.he3_1.e9g(), this.ke3_1.e9g()), this.ie3_1.e9g()), this.je3_1.e9g()), this.le3_1.e9g()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4401
4439
|
};
|
|
4402
|
-
protoOf(ServerGameStoreContract).
|
|
4403
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4440
|
+
protoOf(ServerGameStoreContract).f9g = function () {
|
|
4441
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.he3_1.f9g(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.ke3_1.f9g()), this.ie3_1.f9g()), this.je3_1.f9g()), this.le3_1.f9g()), 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))).l9i(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4404
4442
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4405
4443
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4406
4444
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4427,46 +4465,46 @@
|
|
|
4427
4465
|
}
|
|
4428
4466
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4429
4467
|
}
|
|
4430
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4468
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).x6n = function (action) {
|
|
4431
4469
|
return action instanceof RoundEndedAction;
|
|
4432
4470
|
};
|
|
4433
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4471
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
4434
4472
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4435
4473
|
$l$block_0: {
|
|
4436
4474
|
next(tmp4);
|
|
4437
4475
|
var state = store.state;
|
|
4438
4476
|
if (tmp4.isGameFinished) {
|
|
4439
4477
|
if (!get_serverStatePayload(state).config.canStartNewGame) {
|
|
4440
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
4478
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.r6v_1));
|
|
4441
4479
|
break $l$block_0;
|
|
4442
4480
|
}
|
|
4443
|
-
if (state.
|
|
4444
|
-
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.
|
|
4481
|
+
if (state.t6w().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4482
|
+
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.r6v_1));
|
|
4445
4483
|
break $l$block_0;
|
|
4446
4484
|
}
|
|
4447
4485
|
}
|
|
4448
4486
|
}
|
|
4449
4487
|
};
|
|
4450
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4451
|
-
return this.
|
|
4488
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).w6n = function (store, next, action) {
|
|
4489
|
+
return this.m6p(store, next, action);
|
|
4452
4490
|
};
|
|
4453
4491
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4454
|
-
this.
|
|
4492
|
+
this.ce4_1 = this$0;
|
|
4455
4493
|
}
|
|
4456
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4494
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6n = function (action) {
|
|
4457
4495
|
return action instanceof MechanicAction;
|
|
4458
4496
|
};
|
|
4459
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4497
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
4460
4498
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4461
4499
|
var state = store.state;
|
|
4462
4500
|
// Inline function 'kotlin.with' call
|
|
4463
4501
|
var tmp;
|
|
4464
4502
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4465
|
-
var tmp0 = this.
|
|
4466
|
-
var tmp2 = action_0.
|
|
4467
|
-
var tmp4 = action_0.
|
|
4503
|
+
var tmp0 = this.ce4_1;
|
|
4504
|
+
var tmp2 = action_0.g89_1;
|
|
4505
|
+
var tmp4 = action_0.i89_1;
|
|
4468
4506
|
// Inline function 'kotlin.collections.map' call
|
|
4469
|
-
var this_0 = action_0.
|
|
4507
|
+
var this_0 = action_0.j89_1;
|
|
4470
4508
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4471
4509
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4472
4510
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4502,7 +4540,7 @@
|
|
|
4502
4540
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4503
4541
|
while (_iterator__ex2g4s_2.m()) {
|
|
4504
4542
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4505
|
-
var tmp0_aid = tmp0.
|
|
4543
|
+
var tmp0_aid = tmp0.be4_1.v6l();
|
|
4506
4544
|
// Inline function 'kotlin.collections.map' call
|
|
4507
4545
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4508
4546
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4524,16 +4562,16 @@
|
|
|
4524
4562
|
tmp = destination_2;
|
|
4525
4563
|
} else {
|
|
4526
4564
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4527
|
-
var tmp0_0 = this.
|
|
4565
|
+
var tmp0_0 = this.ce4_1;
|
|
4528
4566
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4529
|
-
var table = state.
|
|
4530
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4567
|
+
var table = state.t6w();
|
|
4568
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.be4_1.v6l(), table.id, null);
|
|
4531
4569
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4532
4570
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4533
4571
|
} else {
|
|
4534
4572
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4535
|
-
var tmp0_1 = this.
|
|
4536
|
-
var tmp2_0 = action_0.
|
|
4573
|
+
var tmp0_1 = this.ce4_1;
|
|
4574
|
+
var tmp2_0 = action_0.m89_1.id;
|
|
4537
4575
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4538
4576
|
// Inline function 'kotlin.collections.map' call
|
|
4539
4577
|
var this_1 = action_0.users;
|
|
@@ -4572,7 +4610,7 @@
|
|
|
4572
4610
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4573
4611
|
while (_iterator__ex2g4s_7.m()) {
|
|
4574
4612
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4575
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4613
|
+
var tmp0_aid_0 = tmp0_1.be4_1.v6l();
|
|
4576
4614
|
// Inline function 'kotlin.collections.map' call
|
|
4577
4615
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4578
4616
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4594,41 +4632,41 @@
|
|
|
4594
4632
|
tmp = destination_7;
|
|
4595
4633
|
} else {
|
|
4596
4634
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4597
|
-
var tmp0_2 = this.
|
|
4635
|
+
var tmp0_2 = this.ce4_1;
|
|
4598
4636
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4599
|
-
var table_0 = state.
|
|
4600
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4637
|
+
var table_0 = state.t6w();
|
|
4638
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.be4_1.v6l(), table_0.id, null);
|
|
4601
4639
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4602
4640
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4603
4641
|
} else {
|
|
4604
4642
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4605
|
-
var tmp0_3 = this.
|
|
4643
|
+
var tmp0_3 = this.ce4_1;
|
|
4606
4644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4607
|
-
var table_1 = state.
|
|
4608
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4645
|
+
var table_1 = state.t6w();
|
|
4646
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.be4_1.v6l(), table_1.id, null);
|
|
4609
4647
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4610
4648
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4611
4649
|
} else {
|
|
4612
4650
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4613
|
-
var tmp0_4 = this.
|
|
4651
|
+
var tmp0_4 = this.ce4_1;
|
|
4614
4652
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4615
|
-
var table_2 = state.
|
|
4616
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4653
|
+
var table_2 = state.t6w();
|
|
4654
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.be4_1.v6l(), table_2.id, null);
|
|
4617
4655
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4618
4656
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4619
4657
|
} else {
|
|
4620
4658
|
if (action_0 instanceof ErrorAction) {
|
|
4621
|
-
var tmp0_5 = this.
|
|
4659
|
+
var tmp0_5 = this.ce4_1;
|
|
4622
4660
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4623
|
-
var table_3 = state.
|
|
4624
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4661
|
+
var table_3 = state.t6w();
|
|
4662
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.be4_1.v6l(), table_3.id, null);
|
|
4625
4663
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4626
4664
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4627
4665
|
} else {
|
|
4628
4666
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4629
|
-
var tmp0_6 = this.
|
|
4667
|
+
var tmp0_6 = this.ce4_1;
|
|
4630
4668
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4631
|
-
var table_4 = state.
|
|
4669
|
+
var table_4 = state.t6w();
|
|
4632
4670
|
var tmp2_1 = table_4.id;
|
|
4633
4671
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4634
4672
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4659,7 +4697,7 @@
|
|
|
4659
4697
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4660
4698
|
while (_iterator__ex2g4s_11.m()) {
|
|
4661
4699
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4662
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4700
|
+
var tmp0_aid_1 = tmp0_6.be4_1.v6l();
|
|
4663
4701
|
// Inline function 'kotlin.collections.map' call
|
|
4664
4702
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4665
4703
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4681,9 +4719,9 @@
|
|
|
4681
4719
|
tmp = destination_11;
|
|
4682
4720
|
} else {
|
|
4683
4721
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4684
|
-
var tmp0_7 = this.
|
|
4722
|
+
var tmp0_7 = this.ce4_1;
|
|
4685
4723
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4686
|
-
var table_5 = state.
|
|
4724
|
+
var table_5 = state.t6w();
|
|
4687
4725
|
var tmp2_2 = table_5.id;
|
|
4688
4726
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4689
4727
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4714,7 +4752,7 @@
|
|
|
4714
4752
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4715
4753
|
while (_iterator__ex2g4s_15.m()) {
|
|
4716
4754
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4717
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4755
|
+
var tmp0_aid_2 = tmp0_7.be4_1.v6l();
|
|
4718
4756
|
// Inline function 'kotlin.collections.map' call
|
|
4719
4757
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4720
4758
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4736,9 +4774,9 @@
|
|
|
4736
4774
|
tmp = destination_15;
|
|
4737
4775
|
} else {
|
|
4738
4776
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4739
|
-
var tmp0_8 = this.
|
|
4777
|
+
var tmp0_8 = this.ce4_1;
|
|
4740
4778
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4741
|
-
var table_6 = state.
|
|
4779
|
+
var table_6 = state.t6w();
|
|
4742
4780
|
var tmp2_3 = table_6.id;
|
|
4743
4781
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
4744
4782
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4769,7 +4807,7 @@
|
|
|
4769
4807
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4770
4808
|
while (_iterator__ex2g4s_19.m()) {
|
|
4771
4809
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4772
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4810
|
+
var tmp0_aid_3 = tmp0_8.be4_1.v6l();
|
|
4773
4811
|
// Inline function 'kotlin.collections.map' call
|
|
4774
4812
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4775
4813
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4781,7 +4819,7 @@
|
|
|
4781
4819
|
}
|
|
4782
4820
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4783
4821
|
var tmp_0;
|
|
4784
|
-
if (this.
|
|
4822
|
+
if (this.ce4_1.ae4_1.supportBackwardActions && getPlayer(state.t6w().players, sendToPlayer_8.q7l_1).v6z_1.n74_1) {
|
|
4785
4823
|
tmp_0 = null;
|
|
4786
4824
|
} else {
|
|
4787
4825
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4797,72 +4835,72 @@
|
|
|
4797
4835
|
tmp = destination_19;
|
|
4798
4836
|
} else {
|
|
4799
4837
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4800
|
-
var tmp0_9 = this.
|
|
4801
|
-
var tmp2_4 = state.
|
|
4838
|
+
var tmp0_9 = this.ce4_1;
|
|
4839
|
+
var tmp2_4 = state.t6w();
|
|
4802
4840
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4803
|
-
var exceptPlayerId = this.
|
|
4804
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4841
|
+
var exceptPlayerId = this.ce4_1.ae4_1.supportBackwardActions ? action_0.n8a_1 : null;
|
|
4842
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.be4_1.v6l(), tmp2_4.id, exceptPlayerId);
|
|
4805
4843
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4806
4844
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4807
4845
|
} else {
|
|
4808
4846
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4809
|
-
var tmp0_10 = this.
|
|
4810
|
-
var tmp2_5 = state.
|
|
4847
|
+
var tmp0_10 = this.ce4_1;
|
|
4848
|
+
var tmp2_5 = state.t6w();
|
|
4811
4849
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4812
|
-
var exceptPlayerId_0 = this.
|
|
4813
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4850
|
+
var exceptPlayerId_0 = this.ce4_1.ae4_1.supportBackwardActions ? action_0.r8a_1 : null;
|
|
4851
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.be4_1.v6l(), tmp2_5.id, exceptPlayerId_0);
|
|
4814
4852
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4815
4853
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4816
4854
|
} else {
|
|
4817
4855
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4818
|
-
var tmp0_11 = this.
|
|
4856
|
+
var tmp0_11 = this.ce4_1;
|
|
4819
4857
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4820
|
-
var table_7 = state.
|
|
4821
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4858
|
+
var table_7 = state.t6w();
|
|
4859
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.be4_1.v6l(), table_7.id, null);
|
|
4822
4860
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4823
4861
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4824
4862
|
} else {
|
|
4825
4863
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4826
|
-
var tmp0_12 = this.
|
|
4827
|
-
var tmp2_6 = state.
|
|
4864
|
+
var tmp0_12 = this.ce4_1;
|
|
4865
|
+
var tmp2_6 = state.t6w();
|
|
4828
4866
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4829
|
-
var exceptPlayerId_1 = this.
|
|
4830
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4867
|
+
var exceptPlayerId_1 = this.ce4_1.ae4_1.supportBackwardActions ? action_0.y8a_1 : null;
|
|
4868
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.be4_1.v6l(), tmp2_6.id, exceptPlayerId_1);
|
|
4831
4869
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4832
4870
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4833
4871
|
} else {
|
|
4834
4872
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4835
|
-
var tmp0_13 = this.
|
|
4836
|
-
var tmp2_7 = state.
|
|
4873
|
+
var tmp0_13 = this.ce4_1;
|
|
4874
|
+
var tmp2_7 = state.t6w();
|
|
4837
4875
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4838
|
-
var exceptPlayerId_2 = this.
|
|
4839
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4876
|
+
var exceptPlayerId_2 = this.ce4_1.ae4_1.supportBackwardActions ? action_0.c8b_1 : null;
|
|
4877
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.be4_1.v6l(), tmp2_7.id, exceptPlayerId_2);
|
|
4840
4878
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4841
4879
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4842
4880
|
} else {
|
|
4843
4881
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4844
|
-
var tmp0_14 = this.
|
|
4882
|
+
var tmp0_14 = this.ce4_1;
|
|
4845
4883
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4846
|
-
var table_8 = state.
|
|
4847
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4884
|
+
var table_8 = state.t6w();
|
|
4885
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.be4_1.v6l(), table_8.id, null);
|
|
4848
4886
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4849
4887
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4850
4888
|
} else {
|
|
4851
4889
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4852
|
-
var tmp0_15 = this.
|
|
4890
|
+
var tmp0_15 = this.ce4_1;
|
|
4853
4891
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4854
|
-
var table_9 = state.
|
|
4855
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4892
|
+
var table_9 = state.t6w();
|
|
4893
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.be4_1.v6l(), table_9.id, null);
|
|
4856
4894
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4857
4895
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4858
4896
|
} else {
|
|
4859
4897
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4860
|
-
var message = action_0.
|
|
4861
|
-
var tmp0_16 = this.
|
|
4862
|
-
var tmp2_8 = state.
|
|
4898
|
+
var message = action_0.k8b_1;
|
|
4899
|
+
var tmp0_16 = this.ce4_1;
|
|
4900
|
+
var tmp2_8 = state.t6w();
|
|
4863
4901
|
var tmp_1;
|
|
4864
4902
|
var tmp_2;
|
|
4865
|
-
if (this.
|
|
4903
|
+
if (this.ce4_1.ae4_1.supportBackwardActions) {
|
|
4866
4904
|
tmp_2 = isInterface(message, UserMessage);
|
|
4867
4905
|
} else {
|
|
4868
4906
|
tmp_2 = false;
|
|
@@ -4874,16 +4912,16 @@
|
|
|
4874
4912
|
}
|
|
4875
4913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4876
4914
|
var exceptPlayerId_3 = tmp_1;
|
|
4877
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4915
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.be4_1.v6l(), tmp2_8.id, exceptPlayerId_3);
|
|
4878
4916
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4879
4917
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4880
4918
|
} else {
|
|
4881
4919
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4882
|
-
var tmp0_17 = this.
|
|
4883
|
-
var tmp2_9 = state.
|
|
4920
|
+
var tmp0_17 = this.ce4_1;
|
|
4921
|
+
var tmp2_9 = state.t6w();
|
|
4884
4922
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4885
4923
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4886
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4924
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.be4_1.v6l(), tmp2_9.id, exceptPlayerId_4);
|
|
4887
4925
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4888
4926
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4889
4927
|
} else {
|
|
@@ -4916,14 +4954,14 @@
|
|
|
4916
4954
|
}
|
|
4917
4955
|
next(action_0);
|
|
4918
4956
|
};
|
|
4919
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4920
|
-
return this.
|
|
4957
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).w6n = function (store, next, action) {
|
|
4958
|
+
return this.m6p(store, next, action);
|
|
4921
4959
|
};
|
|
4922
4960
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4923
|
-
this.
|
|
4924
|
-
this.
|
|
4961
|
+
this.ae4_1 = logicConfig;
|
|
4962
|
+
this.be4_1 = idsProvider;
|
|
4925
4963
|
}
|
|
4926
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4964
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).l9i = function () {
|
|
4927
4965
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4928
4966
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
4929
4967
|
};
|
|
@@ -4932,8 +4970,8 @@
|
|
|
4932
4970
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4933
4971
|
}
|
|
4934
4972
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4935
|
-
this.
|
|
4936
|
-
this.
|
|
4973
|
+
this.le4_1 = $provider;
|
|
4974
|
+
this.me4_1 = $action;
|
|
4937
4975
|
CoroutineImpl.call(this, resultContinuation);
|
|
4938
4976
|
}
|
|
4939
4977
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).h29 = function ($this$launchDefault, $completion) {
|
|
@@ -4954,7 +4992,7 @@
|
|
|
4954
4992
|
case 0:
|
|
4955
4993
|
this.s8_1 = 2;
|
|
4956
4994
|
this.r8_1 = 1;
|
|
4957
|
-
suspendResult = this.
|
|
4995
|
+
suspendResult = this.le4_1.ye0(this.me4_1, this);
|
|
4958
4996
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4959
4997
|
return suspendResult;
|
|
4960
4998
|
}
|
|
@@ -4977,8 +5015,8 @@
|
|
|
4977
5015
|
while (true);
|
|
4978
5016
|
};
|
|
4979
5017
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).i29 = function ($this$launchDefault, completion) {
|
|
4980
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4981
|
-
i.
|
|
5018
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.le4_1, this.me4_1, completion);
|
|
5019
|
+
i.ne4_1 = $this$launchDefault;
|
|
4982
5020
|
return i;
|
|
4983
5021
|
};
|
|
4984
5022
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4990,19 +5028,19 @@
|
|
|
4990
5028
|
return l;
|
|
4991
5029
|
}
|
|
4992
5030
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
4993
|
-
this.
|
|
4994
|
-
this.
|
|
5031
|
+
this.oe4_1 = $asyncProvider;
|
|
5032
|
+
this.pe4_1 = $provider;
|
|
4995
5033
|
}
|
|
4996
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5034
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6n = function (action) {
|
|
4997
5035
|
return action instanceof ToClientAction;
|
|
4998
5036
|
};
|
|
4999
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5037
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
5000
5038
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5001
|
-
this.
|
|
5039
|
+
this.oe4_1.b6k(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.pe4_1, action_0, null));
|
|
5002
5040
|
next(action_0);
|
|
5003
5041
|
};
|
|
5004
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5005
|
-
return this.
|
|
5042
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6n = function (store, next, action) {
|
|
5043
|
+
return this.m6p(store, next, action);
|
|
5006
5044
|
};
|
|
5007
5045
|
function serverConfigReducer() {
|
|
5008
5046
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5010,15 +5048,15 @@
|
|
|
5010
5048
|
}
|
|
5011
5049
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5012
5050
|
}
|
|
5013
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5051
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x6n = function (action) {
|
|
5014
5052
|
return action instanceof UpdateServerConfigAction;
|
|
5015
5053
|
};
|
|
5016
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5054
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).t9q = function (state, action) {
|
|
5017
5055
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5018
|
-
return state.
|
|
5056
|
+
return state.d9d(VOID, get_serverStatePayload(state).copy(action_0.ee3_1));
|
|
5019
5057
|
};
|
|
5020
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5021
|
-
return this.
|
|
5058
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
5059
|
+
return this.t9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5022
5060
|
};
|
|
5023
5061
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5024
5062
|
return function (it) {
|
|
@@ -5031,7 +5069,7 @@
|
|
|
5031
5069
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5032
5070
|
Companion_getInstance();
|
|
5033
5071
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5034
|
-
var this_0 = $action.
|
|
5072
|
+
var this_0 = $action.f89_1.timeoutTimeMillis;
|
|
5035
5073
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5036
5074
|
tmp_0 = tmp_1.v6e(tmp_2, tmp$ret$0);
|
|
5037
5075
|
}
|
|
@@ -5040,63 +5078,63 @@
|
|
|
5040
5078
|
}
|
|
5041
5079
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5042
5080
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5043
|
-
this.
|
|
5081
|
+
this.se4_1 = logger;
|
|
5044
5082
|
}
|
|
5045
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5046
|
-
var serverState = get_serverStatePayloadOrNull(state.
|
|
5083
|
+
protoOf(ServerMechanicLifecycleReducer).f9s = function (state, action) {
|
|
5084
|
+
var serverState = get_serverStatePayloadOrNull(state.s6v_1);
|
|
5047
5085
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5048
|
-
var tmp0_$this = this.
|
|
5049
|
-
var tmp1_tableId = action.
|
|
5050
|
-
var tmp2_gameId = action.
|
|
5051
|
-
var tmp3_version = action.
|
|
5052
|
-
var tmp4_config = action.
|
|
5053
|
-
var tmp5_users = action.
|
|
5086
|
+
var tmp0_$this = this.g9s_1;
|
|
5087
|
+
var tmp1_tableId = action.g89_1;
|
|
5088
|
+
var tmp2_gameId = action.g89_1;
|
|
5089
|
+
var tmp3_version = action.h89_1;
|
|
5090
|
+
var tmp4_config = action.f89_1;
|
|
5091
|
+
var tmp5_users = action.j89_1;
|
|
5054
5092
|
var tmp6_spectators = action.spectators;
|
|
5055
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5056
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5093
|
+
var tmp7_gameCreatorPlayerId = action.i89_1;
|
|
5094
|
+
var tmp9_tableOrNull = tmp0_$this.m9t(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5057
5095
|
var tmp;
|
|
5058
5096
|
if (serverState == null) {
|
|
5059
|
-
this.
|
|
5097
|
+
this.se4_1.w(VOID, 'ServerPayload is not onStart');
|
|
5060
5098
|
tmp = Companion_instance_13.initial();
|
|
5061
5099
|
} else {
|
|
5062
5100
|
tmp = serverState;
|
|
5063
5101
|
}
|
|
5064
5102
|
var tmp10_payload = tmp;
|
|
5065
|
-
return state.
|
|
5103
|
+
return state.d9d(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5066
5104
|
};
|
|
5067
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5105
|
+
protoOf(ServerMechanicLifecycleReducer).d9s = function (state, action) {
|
|
5068
5106
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5069
|
-
var tmp2_tableOrNull = action.
|
|
5107
|
+
var tmp2_tableOrNull = action.m89_1;
|
|
5070
5108
|
var tmp = Companion_instance_13;
|
|
5071
5109
|
var tmp_0 = get_serverStatePayload(state).config;
|
|
5072
|
-
var tmp_1 = action.
|
|
5110
|
+
var tmp_1 = action.n89_1;
|
|
5073
5111
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5074
5112
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o6c_1));
|
|
5075
|
-
return state.
|
|
5113
|
+
return state.d9d(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5076
5114
|
};
|
|
5077
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5078
|
-
this.
|
|
5115
|
+
protoOf(ServerMechanicLifecycleReducer).e9s = function (state, action) {
|
|
5116
|
+
this.h9s_1.g5n(action.previousGameId);
|
|
5079
5117
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5080
|
-
var tmp1_tableOrNull = this.
|
|
5081
|
-
return state.
|
|
5118
|
+
var tmp1_tableOrNull = this.g9s_1.n9t(state.t6w(), action.gameId);
|
|
5119
|
+
return state.d9d(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5082
5120
|
};
|
|
5083
5121
|
function spectatorsReducer(logger) {
|
|
5084
5122
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5085
5123
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5086
5124
|
}
|
|
5087
5125
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5088
|
-
this.
|
|
5126
|
+
this.te4_1 = $logger;
|
|
5089
5127
|
}
|
|
5090
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5128
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6n = function (action) {
|
|
5091
5129
|
return isInterface(action, SpectatorsAction);
|
|
5092
5130
|
};
|
|
5093
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5131
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).t9q = function (state, action) {
|
|
5094
5132
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5095
|
-
var table = state.
|
|
5133
|
+
var table = state.t6w();
|
|
5096
5134
|
var tmp;
|
|
5097
5135
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5098
5136
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5099
|
-
var tmp0 = action_0.
|
|
5137
|
+
var tmp0 = action_0.fe3_1;
|
|
5100
5138
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5101
5139
|
var destination = ArrayList_init_$Create$_0();
|
|
5102
5140
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5115,9 +5153,9 @@
|
|
|
5115
5153
|
var tmp_0;
|
|
5116
5154
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5117
5155
|
if (!sameSpectators.q()) {
|
|
5118
|
-
this.
|
|
5156
|
+
this.te4_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5119
5157
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5120
|
-
var tmp0_0 = action_0.
|
|
5158
|
+
var tmp0_0 = action_0.fe3_1;
|
|
5121
5159
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5122
5160
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5123
5161
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5152,7 +5190,7 @@
|
|
|
5152
5190
|
}
|
|
5153
5191
|
tmp_0 = destination_0;
|
|
5154
5192
|
} else {
|
|
5155
|
-
tmp_0 = action_0.
|
|
5193
|
+
tmp_0 = action_0.fe3_1;
|
|
5156
5194
|
}
|
|
5157
5195
|
// Inline function 'kotlin.collections.map' call
|
|
5158
5196
|
var this_0 = tmp_0;
|
|
@@ -5165,11 +5203,11 @@
|
|
|
5165
5203
|
destination_1.j(tmp$ret$13);
|
|
5166
5204
|
}
|
|
5167
5205
|
var spectatorsToAdd = toSet(destination_1);
|
|
5168
|
-
tmp = state.
|
|
5206
|
+
tmp = state.d9d(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5169
5207
|
} else {
|
|
5170
5208
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5171
5209
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5172
|
-
var tmp0_1 = action_0.
|
|
5210
|
+
var tmp0_1 = action_0.ge3_1;
|
|
5173
5211
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5174
5212
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5175
5213
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5188,9 +5226,9 @@
|
|
|
5188
5226
|
var tmp_2;
|
|
5189
5227
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5190
5228
|
if (!sameSpectators_0.q()) {
|
|
5191
|
-
this.
|
|
5229
|
+
this.te4_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5192
5230
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5193
|
-
var tmp0_2 = action_0.
|
|
5231
|
+
var tmp0_2 = action_0.ge3_1;
|
|
5194
5232
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5195
5233
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5196
5234
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5225,7 +5263,7 @@
|
|
|
5225
5263
|
}
|
|
5226
5264
|
tmp_2 = destination_3;
|
|
5227
5265
|
} else {
|
|
5228
|
-
tmp_2 = action_0.
|
|
5266
|
+
tmp_2 = action_0.ge3_1;
|
|
5229
5267
|
}
|
|
5230
5268
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5231
5269
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5262,24 +5300,24 @@
|
|
|
5262
5300
|
destination_4.j(element_5);
|
|
5263
5301
|
}
|
|
5264
5302
|
}
|
|
5265
|
-
tmp = state.
|
|
5303
|
+
tmp = state.d9d(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5266
5304
|
} else {
|
|
5267
5305
|
noWhenBranchMatchedException();
|
|
5268
5306
|
}
|
|
5269
5307
|
}
|
|
5270
5308
|
return tmp;
|
|
5271
5309
|
};
|
|
5272
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5273
|
-
return this.
|
|
5310
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
5311
|
+
return this.t9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5274
5312
|
};
|
|
5275
5313
|
function Companion_5() {
|
|
5276
5314
|
}
|
|
5277
|
-
protoOf(Companion_5).
|
|
5315
|
+
protoOf(Companion_5).ue4 = function (config) {
|
|
5278
5316
|
return new ServerStatePayload(config);
|
|
5279
5317
|
};
|
|
5280
5318
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5281
5319
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5282
|
-
return $super === VOID ? this.
|
|
5320
|
+
return $super === VOID ? this.ue4(config) : $super.ue4.call(this, config);
|
|
5283
5321
|
};
|
|
5284
5322
|
var Companion_instance_13;
|
|
5285
5323
|
function Companion_getInstance_6() {
|
|
@@ -5294,12 +5332,12 @@
|
|
|
5294
5332
|
protoOf(ServerStatePayload).ne = function () {
|
|
5295
5333
|
return this.config;
|
|
5296
5334
|
};
|
|
5297
|
-
protoOf(ServerStatePayload).
|
|
5335
|
+
protoOf(ServerStatePayload).ve4 = function (config) {
|
|
5298
5336
|
return new ServerStatePayload(config);
|
|
5299
5337
|
};
|
|
5300
5338
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5301
5339
|
config = config === VOID ? this.config : config;
|
|
5302
|
-
return $super === VOID ? this.
|
|
5340
|
+
return $super === VOID ? this.ve4(config) : $super.ve4.call(this, config);
|
|
5303
5341
|
};
|
|
5304
5342
|
protoOf(ServerStatePayload).toString = function () {
|
|
5305
5343
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5316,9 +5354,20 @@
|
|
|
5316
5354
|
return false;
|
|
5317
5355
|
return true;
|
|
5318
5356
|
};
|
|
5357
|
+
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5358
|
+
var gameId = Companion_instance_3.n9v(payload);
|
|
5359
|
+
var tmp;
|
|
5360
|
+
if (!(gameId == null)) {
|
|
5361
|
+
tmp = new ServerLoggerKey(gameId);
|
|
5362
|
+
} else {
|
|
5363
|
+
var tmp0_safe_receiver = _this__u8e3s4.r6v_1;
|
|
5364
|
+
tmp = tmp0_safe_receiver == null ? null : get_serverLoggerKey(tmp0_safe_receiver);
|
|
5365
|
+
}
|
|
5366
|
+
return tmp;
|
|
5367
|
+
}
|
|
5319
5368
|
function get_serverStatePayload(_this__u8e3s4) {
|
|
5320
5369
|
// Inline function 'kotlin.requireNotNull' call
|
|
5321
|
-
var tmp0 = _this__u8e3s4.
|
|
5370
|
+
var tmp0 = _this__u8e3s4.s6v_1;
|
|
5322
5371
|
var tmp$ret$1;
|
|
5323
5372
|
$l$block: {
|
|
5324
5373
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -5333,6 +5382,9 @@
|
|
|
5333
5382
|
var tmp$ret$2 = tmp$ret$1;
|
|
5334
5383
|
return get_serverStatePayload_0(tmp$ret$2);
|
|
5335
5384
|
}
|
|
5385
|
+
function get_serverLoggerKey(_this__u8e3s4) {
|
|
5386
|
+
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5387
|
+
}
|
|
5336
5388
|
function get_serverStatePayload_0(_this__u8e3s4) {
|
|
5337
5389
|
return _this__u8e3s4 instanceof ServerStatePayload ? _this__u8e3s4 : THROW_CCE();
|
|
5338
5390
|
}
|
|
@@ -5346,31 +5398,31 @@
|
|
|
5346
5398
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5347
5399
|
}
|
|
5348
5400
|
function _get_logger__rkp4sl_1($this) {
|
|
5349
|
-
var tmp0 = $this.
|
|
5401
|
+
var tmp0 = $this.ee5_1;
|
|
5350
5402
|
var tmp = KProperty1;
|
|
5351
5403
|
// Inline function 'kotlin.getValue' call
|
|
5352
5404
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5353
5405
|
return tmp0.w();
|
|
5354
5406
|
}
|
|
5355
5407
|
function _get_di__ndbzja($this) {
|
|
5356
|
-
var tmp0 = $this.
|
|
5408
|
+
var tmp0 = $this.fe5_1;
|
|
5357
5409
|
var tmp = KProperty1;
|
|
5358
5410
|
// Inline function 'kotlin.getValue' call
|
|
5359
5411
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
5360
5412
|
return tmp0.w();
|
|
5361
5413
|
}
|
|
5362
5414
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
5363
|
-
var tmp =
|
|
5415
|
+
var tmp = Companion_instance_4;
|
|
5364
5416
|
return tmp.q1b(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
|
|
5365
5417
|
}
|
|
5366
5418
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5367
5419
|
return function () {
|
|
5368
5420
|
var tmp;
|
|
5369
|
-
if (this$0.
|
|
5421
|
+
if (this$0.ce5_1 == null) {
|
|
5370
5422
|
tmp = null;
|
|
5371
5423
|
} else {
|
|
5372
5424
|
// Inline function 'kotlin.let' call
|
|
5373
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5425
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ce5_1)]));
|
|
5374
5426
|
}
|
|
5375
5427
|
var tmp1_elvis_lhs = tmp;
|
|
5376
5428
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5403,13 +5455,13 @@
|
|
|
5403
5455
|
tmp_0.f1f(tmp$ret$3);
|
|
5404
5456
|
$this$DI.j1b(jsonModule());
|
|
5405
5457
|
$this$DI.j1b(serverHelpersModule());
|
|
5406
|
-
$this$DI.j1b(randomOrgModule(this$0.
|
|
5458
|
+
$this$DI.j1b(randomOrgModule(this$0.de5_1));
|
|
5407
5459
|
return Unit_instance;
|
|
5408
5460
|
};
|
|
5409
5461
|
}
|
|
5410
5462
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
5411
5463
|
return function () {
|
|
5412
|
-
var tmp =
|
|
5464
|
+
var tmp = Companion_instance_4;
|
|
5413
5465
|
return tmp.q1b(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
5414
5466
|
};
|
|
5415
5467
|
}
|
|
@@ -5479,16 +5531,16 @@
|
|
|
5479
5531
|
};
|
|
5480
5532
|
}
|
|
5481
5533
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5482
|
-
this.
|
|
5534
|
+
this.me5_1 = $reducer;
|
|
5483
5535
|
}
|
|
5484
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5536
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6n = function (action) {
|
|
5485
5537
|
return isInterface(action, Action);
|
|
5486
5538
|
};
|
|
5487
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5488
|
-
return this.
|
|
5539
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).t9q = function (state, action) {
|
|
5540
|
+
return this.me5_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5489
5541
|
};
|
|
5490
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5491
|
-
return this.
|
|
5542
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6p = function (state, action) {
|
|
5543
|
+
return this.t9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5492
5544
|
};
|
|
5493
5545
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
5494
5546
|
return function ($this$singleton) {
|
|
@@ -5545,23 +5597,15 @@
|
|
|
5545
5597
|
}
|
|
5546
5598
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
5547
5599
|
return function (it) {
|
|
5548
|
-
|
|
5549
|
-
var tmp;
|
|
5550
|
-
if (tmp0_elvis_lhs == null) {
|
|
5551
|
-
var tmp1_safe_receiver = $gameServer.g6e().v6u_1;
|
|
5552
|
-
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
5553
|
-
} else {
|
|
5554
|
-
tmp = tmp0_elvis_lhs;
|
|
5555
|
-
}
|
|
5556
|
-
return tmp;
|
|
5600
|
+
return serverLoggerKeyFromPayload($gameServer.g6e(), it);
|
|
5557
5601
|
};
|
|
5558
5602
|
}
|
|
5559
5603
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
5560
5604
|
return function (it) {
|
|
5561
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
5605
|
+
var tmp0_elvis_lhs = Companion_instance_5.a9u(it);
|
|
5562
5606
|
var tmp;
|
|
5563
5607
|
if (tmp0_elvis_lhs == null) {
|
|
5564
|
-
var tmp1_safe_receiver = $gameServer.g6e().
|
|
5608
|
+
var tmp1_safe_receiver = $gameServer.g6e().r6v_1;
|
|
5565
5609
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
5566
5610
|
} else {
|
|
5567
5611
|
tmp = tmp0_elvis_lhs;
|
|
@@ -5579,7 +5623,7 @@
|
|
|
5579
5623
|
// Inline function 'kotlin.let' call
|
|
5580
5624
|
$this$DI.j1b(tmp0_safe_receiver);
|
|
5581
5625
|
}
|
|
5582
|
-
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5626
|
+
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.de5_1));
|
|
5583
5627
|
$this$DI.j1b(coreModule($coreConfig));
|
|
5584
5628
|
$this$DI.j1b(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5585
5629
|
return Unit_instance;
|
|
@@ -5588,13 +5632,13 @@
|
|
|
5588
5632
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5589
5633
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5590
5634
|
production = production === VOID ? true : production;
|
|
5591
|
-
this.
|
|
5592
|
-
this.
|
|
5593
|
-
AppEnvironment_getInstance().
|
|
5635
|
+
this.ce5_1 = loggerCallback;
|
|
5636
|
+
this.de5_1 = randomOrgConfig;
|
|
5637
|
+
AppEnvironment_getInstance().a6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5594
5638
|
var tmp = this;
|
|
5595
|
-
tmp.
|
|
5639
|
+
tmp.ee5_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5596
5640
|
var tmp_0 = this;
|
|
5597
|
-
tmp_0.
|
|
5641
|
+
tmp_0.fe5_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5598
5642
|
var tmp_1 = this;
|
|
5599
5643
|
// Inline function 'org.kodein.di.instance' call
|
|
5600
5644
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5603,7 +5647,7 @@
|
|
|
5603
5647
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5604
5648
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5605
5649
|
var tmp_4 = KProperty1;
|
|
5606
|
-
tmp_1.
|
|
5650
|
+
tmp_1.ge5_1 = tmp_3.c1h(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5607
5651
|
var tmp_5 = this;
|
|
5608
5652
|
// Inline function 'org.kodein.di.instance' call
|
|
5609
5653
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5612,7 +5656,7 @@
|
|
|
5612
5656
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5613
5657
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5614
5658
|
var tmp_8 = KProperty1;
|
|
5615
|
-
tmp_5.
|
|
5659
|
+
tmp_5.he5_1 = tmp_7.c1h(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5616
5660
|
var tmp_9 = this;
|
|
5617
5661
|
// Inline function 'org.kodein.di.instance' call
|
|
5618
5662
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5621,7 +5665,7 @@
|
|
|
5621
5665
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5622
5666
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5623
5667
|
var tmp_12 = KProperty1;
|
|
5624
|
-
tmp_9.
|
|
5668
|
+
tmp_9.ie5_1 = tmp_11.c1h(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5625
5669
|
var tmp_13 = this;
|
|
5626
5670
|
// Inline function 'org.kodein.di.instance' call
|
|
5627
5671
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5630,7 +5674,7 @@
|
|
|
5630
5674
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5631
5675
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5632
5676
|
var tmp_16 = KProperty1;
|
|
5633
|
-
tmp_13.
|
|
5677
|
+
tmp_13.je5_1 = tmp_15.c1h(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5634
5678
|
var tmp_17 = this;
|
|
5635
5679
|
// Inline function 'org.kodein.di.instance' call
|
|
5636
5680
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5639,7 +5683,7 @@
|
|
|
5639
5683
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5640
5684
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5641
5685
|
var tmp_20 = KProperty1;
|
|
5642
|
-
tmp_17.
|
|
5686
|
+
tmp_17.ke5_1 = tmp_19.c1h(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5643
5687
|
var tmp_21 = this;
|
|
5644
5688
|
// Inline function 'org.kodein.di.instance' call
|
|
5645
5689
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5648,45 +5692,45 @@
|
|
|
5648
5692
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5649
5693
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5650
5694
|
var tmp_24 = KProperty1;
|
|
5651
|
-
tmp_21.
|
|
5695
|
+
tmp_21.le5_1 = tmp_23.c1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5652
5696
|
}
|
|
5653
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5654
|
-
var tmp0 = this.
|
|
5697
|
+
protoOf(GameServerEngineControllerImpl).udj = function () {
|
|
5698
|
+
var tmp0 = this.ge5_1;
|
|
5655
5699
|
var tmp = KProperty1;
|
|
5656
5700
|
// Inline function 'kotlin.getValue' call
|
|
5657
5701
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5658
5702
|
return tmp0.w();
|
|
5659
5703
|
};
|
|
5660
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5661
|
-
var tmp0 = this.
|
|
5704
|
+
protoOf(GameServerEngineControllerImpl).xe4 = function () {
|
|
5705
|
+
var tmp0 = this.he5_1;
|
|
5662
5706
|
var tmp = KProperty1;
|
|
5663
5707
|
// Inline function 'kotlin.getValue' call
|
|
5664
5708
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5665
5709
|
return tmp0.w();
|
|
5666
5710
|
};
|
|
5667
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5668
|
-
var tmp0 = this.
|
|
5711
|
+
protoOf(GameServerEngineControllerImpl).ye4 = function () {
|
|
5712
|
+
var tmp0 = this.ie5_1;
|
|
5669
5713
|
var tmp = KProperty1;
|
|
5670
5714
|
// Inline function 'kotlin.getValue' call
|
|
5671
5715
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5672
5716
|
return tmp0.w();
|
|
5673
5717
|
};
|
|
5674
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5675
|
-
var tmp0 = this.
|
|
5718
|
+
protoOf(GameServerEngineControllerImpl).ze4 = function () {
|
|
5719
|
+
var tmp0 = this.je5_1;
|
|
5676
5720
|
var tmp = KProperty1;
|
|
5677
5721
|
// Inline function 'kotlin.getValue' call
|
|
5678
5722
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5679
5723
|
return tmp0.w();
|
|
5680
5724
|
};
|
|
5681
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5682
|
-
var tmp0 = this.
|
|
5725
|
+
protoOf(GameServerEngineControllerImpl).we4 = function () {
|
|
5726
|
+
var tmp0 = this.ke5_1;
|
|
5683
5727
|
var tmp = KProperty1;
|
|
5684
5728
|
// Inline function 'kotlin.getValue' call
|
|
5685
5729
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5686
5730
|
return tmp0.w();
|
|
5687
5731
|
};
|
|
5688
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5689
|
-
var tmp0 = this.
|
|
5732
|
+
protoOf(GameServerEngineControllerImpl).ae5 = function () {
|
|
5733
|
+
var tmp0 = this.le5_1;
|
|
5690
5734
|
var tmp = KProperty1;
|
|
5691
5735
|
// Inline function 'kotlin.getValue' call
|
|
5692
5736
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5698,7 +5742,7 @@
|
|
|
5698
5742
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5699
5743
|
return this.createGameEngineWithLogic();
|
|
5700
5744
|
};
|
|
5701
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5745
|
+
protoOf(GameServerEngineControllerImpl).be5 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5702
5746
|
var combinedLogger = Companion_instance_6.mx();
|
|
5703
5747
|
var tmp;
|
|
5704
5748
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5708,8 +5752,8 @@
|
|
|
5708
5752
|
}
|
|
5709
5753
|
var fileLoggerOutput = tmp;
|
|
5710
5754
|
var tmp_0;
|
|
5711
|
-
if (!(this.
|
|
5712
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5755
|
+
if (!(this.ce5_1 == null)) {
|
|
5756
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ce5_1));
|
|
5713
5757
|
} else {
|
|
5714
5758
|
tmp_0 = null;
|
|
5715
5759
|
}
|
|
@@ -5750,12 +5794,12 @@
|
|
|
5750
5794
|
var gameServer = tmp_1.t1c(tmp$ret$7, null);
|
|
5751
5795
|
if (!(fileLoggerOutput == null)) {
|
|
5752
5796
|
var tmp_3 = fileLoggerOutput;
|
|
5753
|
-
tmp_3.
|
|
5797
|
+
tmp_3.c9v_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5754
5798
|
combinedLogger.k51(fileLoggerOutput);
|
|
5755
5799
|
}
|
|
5756
5800
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5757
5801
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5758
|
-
tmp_4.
|
|
5802
|
+
tmp_4.c9u_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5759
5803
|
combinedLogger.k51(callbackWrapperLoggerOutput);
|
|
5760
5804
|
}
|
|
5761
5805
|
return gameServer;
|
|
@@ -5770,7 +5814,7 @@
|
|
|
5770
5814
|
function TestHelper() {
|
|
5771
5815
|
}
|
|
5772
5816
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5773
|
-
var tmp0 = $this.
|
|
5817
|
+
var tmp0 = $this.pe5_1;
|
|
5774
5818
|
var tmp = KProperty1;
|
|
5775
5819
|
// Inline function 'kotlin.getValue' call
|
|
5776
5820
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5778,7 +5822,7 @@
|
|
|
5778
5822
|
}
|
|
5779
5823
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5780
5824
|
return function ($this$singleton) {
|
|
5781
|
-
return this$0.
|
|
5825
|
+
return this$0.ne5_1;
|
|
5782
5826
|
};
|
|
5783
5827
|
}
|
|
5784
5828
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5817,27 +5861,27 @@
|
|
|
5817
5861
|
return emptyMap();
|
|
5818
5862
|
}
|
|
5819
5863
|
function TestHelperImpl(logger) {
|
|
5820
|
-
this.
|
|
5864
|
+
this.ne5_1 = logger;
|
|
5821
5865
|
var tmp = this;
|
|
5822
|
-
var tmp_0 =
|
|
5823
|
-
tmp.
|
|
5866
|
+
var tmp_0 = Companion_instance_4;
|
|
5867
|
+
tmp.oe5_1 = tmp_0.q1b(VOID, TestHelperImpl$di$lambda(this));
|
|
5824
5868
|
var tmp_1 = this;
|
|
5825
5869
|
// Inline function 'org.kodein.di.instance' call
|
|
5826
|
-
var this_0 = this.
|
|
5870
|
+
var this_0 = this.oe5_1;
|
|
5827
5871
|
// Inline function 'org.kodein.type.generic' call
|
|
5828
5872
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5829
5873
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5830
5874
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5831
5875
|
var tmp_4 = KProperty1;
|
|
5832
|
-
tmp_1.
|
|
5876
|
+
tmp_1.pe5_1 = tmp_3.c1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5833
5877
|
}
|
|
5834
5878
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5835
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5879
|
+
return _get_playerAnswerInteractor__msggz1(this).j94(playerId, table, botConfig);
|
|
5836
5880
|
};
|
|
5837
5881
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5838
5882
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5839
5883
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5840
|
-
var tmp0 = mechanicAction.
|
|
5884
|
+
var tmp0 = mechanicAction.h9f();
|
|
5841
5885
|
var tmp$ret$0;
|
|
5842
5886
|
$l$block_0: {
|
|
5843
5887
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5869,7 +5913,7 @@
|
|
|
5869
5913
|
};
|
|
5870
5914
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5871
5915
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5872
|
-
var tmp0 = action.
|
|
5916
|
+
var tmp0 = action.h9f();
|
|
5873
5917
|
var tmp$ret$0;
|
|
5874
5918
|
$l$block_0: {
|
|
5875
5919
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5960,46 +6004,46 @@
|
|
|
5960
6004
|
return this.r5i();
|
|
5961
6005
|
});
|
|
5962
6006
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5963
|
-
return this.
|
|
6007
|
+
return this.t6w();
|
|
5964
6008
|
});
|
|
5965
6009
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5966
|
-
return this.
|
|
6010
|
+
return this.u6w();
|
|
5967
6011
|
});
|
|
5968
6012
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5969
|
-
return this.
|
|
6013
|
+
return this.v6w();
|
|
5970
6014
|
});
|
|
5971
6015
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
5972
6016
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
5973
|
-
protoOf(UpdateServerConfigAction).
|
|
6017
|
+
protoOf(UpdateServerConfigAction).j6n = get_actionTag;
|
|
5974
6018
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5975
|
-
return this.
|
|
6019
|
+
return this.j6n();
|
|
5976
6020
|
});
|
|
5977
|
-
protoOf(AddSpectatorsAction).
|
|
6021
|
+
protoOf(AddSpectatorsAction).j6n = get_actionTag;
|
|
5978
6022
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5979
|
-
return this.
|
|
6023
|
+
return this.j6n();
|
|
5980
6024
|
});
|
|
5981
|
-
protoOf(RemoveSpectatorsAction).
|
|
6025
|
+
protoOf(RemoveSpectatorsAction).j6n = get_actionTag;
|
|
5982
6026
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5983
|
-
return this.
|
|
6027
|
+
return this.j6n();
|
|
5984
6028
|
});
|
|
5985
6029
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5986
6030
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5987
|
-
return this.
|
|
6031
|
+
return this.udj();
|
|
5988
6032
|
});
|
|
5989
6033
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5990
|
-
return this.
|
|
6034
|
+
return this.xe4();
|
|
5991
6035
|
});
|
|
5992
6036
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
5993
|
-
return this.
|
|
6037
|
+
return this.ye4();
|
|
5994
6038
|
});
|
|
5995
6039
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5996
|
-
return this.
|
|
6040
|
+
return this.ze4();
|
|
5997
6041
|
});
|
|
5998
6042
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5999
|
-
return this.
|
|
6043
|
+
return this.we4();
|
|
6000
6044
|
});
|
|
6001
6045
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6002
|
-
return this.
|
|
6046
|
+
return this.ae5();
|
|
6003
6047
|
});
|
|
6004
6048
|
//endregion
|
|
6005
6049
|
//region block: init
|