raspberry_games_server_game_logic 1.8.358 → 1.8.361
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/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +10544 -10329
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +28 -1
- package/Logic_Debertz-game_server.js +882 -880
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
48
48
|
var protoOf = kotlin_kotlin.$_$.qc;
|
|
49
49
|
var THROW_CCE = kotlin_kotlin.$_$.qg;
|
|
50
|
-
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
50
|
+
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g1;
|
|
51
51
|
var initMetadataForLambda = kotlin_kotlin.$_$.tb;
|
|
52
52
|
var VOID = kotlin_kotlin.$_$.f;
|
|
53
53
|
var isInterface = kotlin_kotlin.$_$.dc;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
62
62
|
var to = kotlin_kotlin.$_$.vh;
|
|
63
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
63
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
64
64
|
var defineProp = kotlin_kotlin.$_$.hb;
|
|
65
65
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
66
66
|
var KProperty1 = kotlin_kotlin.$_$.md;
|
|
@@ -76,17 +76,17 @@
|
|
|
76
76
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
77
77
|
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
78
78
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
79
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
80
|
-
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
79
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
80
|
+
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
81
81
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
82
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
83
|
-
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
-
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
82
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
83
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
84
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
85
85
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
|
|
86
86
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.q3;
|
|
87
87
|
var toList = kotlin_kotlin.$_$.o9;
|
|
88
88
|
var toString = kotlin_kotlin.$_$.uc;
|
|
89
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
89
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
|
|
90
90
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
91
91
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
|
|
92
92
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.m6;
|
|
@@ -99,21 +99,21 @@
|
|
|
99
99
|
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.y4;
|
|
100
100
|
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.k3;
|
|
101
101
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.x2;
|
|
102
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
102
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
|
|
103
103
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.l1;
|
|
104
|
-
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
105
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
106
|
-
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
104
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d2;
|
|
105
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
106
|
+
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
107
107
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
|
|
108
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
109
|
-
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
110
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
111
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
108
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
109
|
+
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.h2;
|
|
110
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f2;
|
|
111
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
|
|
112
112
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.z2;
|
|
113
113
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
114
114
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
115
115
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.oh;
|
|
116
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
116
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
117
117
|
var emptyList = kotlin_kotlin.$_$.h7;
|
|
118
118
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
119
119
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -122,15 +122,15 @@
|
|
|
122
122
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
123
123
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
124
124
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
125
|
-
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
126
|
-
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
127
|
-
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
125
|
+
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
126
|
+
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
127
|
+
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
128
128
|
var lazy = kotlin_kotlin.$_$.nh;
|
|
129
129
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
130
|
-
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
131
|
-
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
130
|
+
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
131
|
+
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
132
132
|
var plus = kotlin_kotlin.$_$.t8;
|
|
133
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
133
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
134
134
|
var toString_0 = kotlin_kotlin.$_$.uh;
|
|
135
135
|
var mapOf = kotlin_kotlin.$_$.n8;
|
|
136
136
|
var Enum = kotlin_kotlin.$_$.gg;
|
|
@@ -147,26 +147,26 @@
|
|
|
147
147
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
148
148
|
var objectCreate = kotlin_kotlin.$_$.pc;
|
|
149
149
|
var getStringHashCode = kotlin_kotlin.$_$.nb;
|
|
150
|
-
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
151
|
-
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
150
|
+
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
151
|
+
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
152
152
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
153
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
153
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
154
154
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
155
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
156
|
-
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
157
|
-
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
158
|
-
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
159
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
155
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
|
|
156
|
+
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
|
|
157
|
+
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.u;
|
|
158
|
+
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
|
|
159
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
|
|
160
160
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
161
161
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
162
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
163
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
162
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e3;
|
|
163
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
164
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
165
165
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
166
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
166
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
167
167
|
var single = kotlin_kotlin.$_$.d9;
|
|
168
168
|
var copyToArray = kotlin_kotlin.$_$.c7;
|
|
169
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
169
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
170
170
|
var KtList = kotlin_kotlin.$_$.r5;
|
|
171
171
|
var Long = kotlin_kotlin.$_$.lg;
|
|
172
172
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
@@ -176,89 +176,90 @@
|
|
|
176
176
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
177
177
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
178
178
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
179
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
180
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
181
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
183
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
179
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
|
|
180
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f3;
|
|
181
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.b3;
|
|
182
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.d3;
|
|
183
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.c3;
|
|
184
184
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.m1;
|
|
185
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
-
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
187
|
-
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
188
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
185
|
+
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
|
|
186
|
+
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.o;
|
|
187
|
+
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
|
|
188
|
+
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.n;
|
|
189
189
|
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.v;
|
|
190
190
|
var listOf = kotlin_kotlin.$_$.k8;
|
|
191
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
192
|
-
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
191
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
192
|
+
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
193
193
|
var listOfNotNull = kotlin_kotlin.$_$.h8;
|
|
194
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
195
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
195
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
196
196
|
var listOfNotNull_0 = kotlin_kotlin.$_$.i8;
|
|
197
|
-
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
199
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
+
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
|
|
198
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.j3;
|
|
199
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
200
200
|
var listOf_0 = kotlin_kotlin.$_$.j8;
|
|
201
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
202
|
-
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
203
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
204
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
202
|
+
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
|
|
203
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
204
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
205
205
|
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c4;
|
|
206
|
-
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
206
|
+
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
207
207
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
208
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
209
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
210
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
211
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
212
|
-
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
213
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
214
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
215
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
216
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
217
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
218
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
219
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
220
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
221
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
222
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
223
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
224
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
225
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
226
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
228
|
-
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
229
|
-
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
230
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
231
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
233
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
234
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
235
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
236
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
237
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
238
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
239
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
240
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
241
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
242
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
243
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
244
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
-
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
246
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
247
|
-
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
208
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
209
|
+
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
|
|
210
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.q1;
|
|
211
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m2;
|
|
212
|
+
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.h;
|
|
213
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.v1;
|
|
214
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j2;
|
|
215
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.o1;
|
|
216
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
|
|
217
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.m1;
|
|
218
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l2;
|
|
219
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.t1;
|
|
220
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
|
|
221
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.i1;
|
|
222
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
|
|
223
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.w1;
|
|
224
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w2;
|
|
225
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.a2;
|
|
226
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
227
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.z1;
|
|
228
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n2;
|
|
229
|
+
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
|
|
230
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
|
|
231
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.x1;
|
|
232
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
|
|
233
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.u1;
|
|
234
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q2;
|
|
235
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.y1;
|
|
236
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r2;
|
|
237
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.r1;
|
|
238
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
|
|
239
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.k1;
|
|
240
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p2;
|
|
241
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.p1;
|
|
242
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.s1;
|
|
243
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g2;
|
|
244
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.l1;
|
|
245
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.n1;
|
|
246
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
247
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
248
248
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
249
249
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.n4;
|
|
250
250
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
251
251
|
var Companion_getInstance = kotlin_kotlin.$_$.z4;
|
|
252
252
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
253
253
|
var toDuration = kotlin_kotlin.$_$.yf;
|
|
254
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
255
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
254
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
255
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
256
256
|
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
257
257
|
var Collection = kotlin_kotlin.$_$.l5;
|
|
258
258
|
var toSet = kotlin_kotlin.$_$.u9;
|
|
259
|
-
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
260
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
259
|
+
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
260
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
261
261
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
262
|
+
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
262
263
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.g1;
|
|
263
264
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
264
265
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
@@ -267,12 +268,12 @@
|
|
|
267
268
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
268
269
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
269
270
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
270
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
271
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
272
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
273
|
-
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
274
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
275
|
-
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
271
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
272
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
273
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
274
|
+
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
275
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
276
|
+
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
276
277
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
277
278
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
278
279
|
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
@@ -287,13 +288,13 @@
|
|
|
287
288
|
var toList_0 = kotlin_kotlin.$_$.n9;
|
|
288
289
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
289
290
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
290
|
-
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
291
|
+
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
291
292
|
var emptyMap = kotlin_kotlin.$_$.i7;
|
|
292
|
-
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
293
|
-
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
294
|
-
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
295
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
296
|
-
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
293
|
+
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
294
|
+
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
|
|
295
|
+
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.h1;
|
|
296
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k2;
|
|
297
|
+
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
297
298
|
var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
|
|
298
299
|
//endregion
|
|
299
300
|
//region block: pre-declaration
|
|
@@ -357,10 +358,10 @@
|
|
|
357
358
|
spectators = tmp;
|
|
358
359
|
var tmp_0;
|
|
359
360
|
if ($super === VOID) {
|
|
360
|
-
this.
|
|
361
|
+
this.xa6(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
361
362
|
tmp_0 = Unit_instance;
|
|
362
363
|
} else {
|
|
363
|
-
tmp_0 = $super.
|
|
364
|
+
tmp_0 = $super.xa6.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
365
|
}
|
|
365
366
|
return tmp_0;
|
|
366
367
|
}
|
|
@@ -368,10 +369,10 @@
|
|
|
368
369
|
newRid = newRid === VOID ? null : newRid;
|
|
369
370
|
var tmp;
|
|
370
371
|
if ($super === VOID) {
|
|
371
|
-
this.
|
|
372
|
+
this.ya6(newRid);
|
|
372
373
|
tmp = Unit_instance;
|
|
373
374
|
} else {
|
|
374
|
-
tmp = $super.
|
|
375
|
+
tmp = $super.ya6.call(this, newRid);
|
|
375
376
|
}
|
|
376
377
|
return tmp;
|
|
377
378
|
}
|
|
@@ -379,10 +380,10 @@
|
|
|
379
380
|
roomId = roomId === VOID ? null : roomId;
|
|
380
381
|
var tmp;
|
|
381
382
|
if ($super === VOID) {
|
|
382
|
-
this.
|
|
383
|
+
this.za6(reason, roomId);
|
|
383
384
|
tmp = Unit_instance;
|
|
384
385
|
} else {
|
|
385
|
-
tmp = $super.
|
|
386
|
+
tmp = $super.za6.call(this, reason, roomId);
|
|
386
387
|
}
|
|
387
388
|
return tmp;
|
|
388
389
|
}
|
|
@@ -425,7 +426,7 @@
|
|
|
425
426
|
initMetadataForClass(spectatorsReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
426
427
|
initMetadataForCompanion(Companion_5);
|
|
427
428
|
initMetadataForClass(ServerStatePayload, 'ServerStatePayload', VOID, VOID, [AppStatePayload]);
|
|
428
|
-
function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig, $super) {
|
|
429
|
+
function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, $super) {
|
|
429
430
|
var tmp;
|
|
430
431
|
if (reducers === VOID) {
|
|
431
432
|
// Inline function 'kotlin.emptyArray' call
|
|
@@ -445,8 +446,9 @@
|
|
|
445
446
|
serverConfig = serverConfig === VOID ? new ServerReduxConfig() : serverConfig;
|
|
446
447
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
447
448
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
449
|
+
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
448
450
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
449
|
-
return $super === VOID ? this.
|
|
451
|
+
return $super === VOID ? this.yab(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.yab.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
450
452
|
}
|
|
451
453
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
452
454
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -457,17 +459,17 @@
|
|
|
457
459
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
458
460
|
//endregion
|
|
459
461
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
460
|
-
this.
|
|
462
|
+
this.n9p_1 = $subscriber;
|
|
461
463
|
CoroutineImpl.call(this, resultContinuation);
|
|
462
464
|
}
|
|
463
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
464
|
-
var tmp = this.
|
|
465
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).p9p = function (it, $completion) {
|
|
466
|
+
var tmp = this.q9p(it, $completion);
|
|
465
467
|
tmp.n9_1 = Unit_instance;
|
|
466
468
|
tmp.o9_1 = null;
|
|
467
469
|
return tmp.t9();
|
|
468
470
|
};
|
|
469
471
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).da = function (p1, $completion) {
|
|
470
|
-
return this.
|
|
472
|
+
return this.p9p(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
471
473
|
};
|
|
472
474
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).t9 = function () {
|
|
473
475
|
var suspendResult = this.n9_1;
|
|
@@ -476,7 +478,7 @@
|
|
|
476
478
|
var tmp = this.l9_1;
|
|
477
479
|
if (tmp === 0) {
|
|
478
480
|
this.m9_1 = 1;
|
|
479
|
-
this.
|
|
481
|
+
this.n9p_1(this.o9p_1);
|
|
480
482
|
return Unit_instance;
|
|
481
483
|
} else if (tmp === 1) {
|
|
482
484
|
throw this.o9_1;
|
|
@@ -487,31 +489,31 @@
|
|
|
487
489
|
}
|
|
488
490
|
while (true);
|
|
489
491
|
};
|
|
490
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
491
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
492
|
-
i.
|
|
492
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).q9p = function (it, completion) {
|
|
493
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.n9p_1, completion);
|
|
494
|
+
i.o9p_1 = it;
|
|
493
495
|
return i;
|
|
494
496
|
};
|
|
495
497
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
496
498
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
497
499
|
var l = function (it, $completion) {
|
|
498
|
-
return i.
|
|
500
|
+
return i.p9p(it, $completion);
|
|
499
501
|
};
|
|
500
502
|
l.$arity = 1;
|
|
501
503
|
return l;
|
|
502
504
|
}
|
|
503
505
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
504
|
-
this.
|
|
506
|
+
this.z9p_1 = $subscriber;
|
|
505
507
|
CoroutineImpl.call(this, resultContinuation);
|
|
506
508
|
}
|
|
507
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
508
|
-
var tmp = this.
|
|
509
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).b9q = function (it, $completion) {
|
|
510
|
+
var tmp = this.c9q(it, $completion);
|
|
509
511
|
tmp.n9_1 = Unit_instance;
|
|
510
512
|
tmp.o9_1 = null;
|
|
511
513
|
return tmp.t9();
|
|
512
514
|
};
|
|
513
515
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).da = function (p1, $completion) {
|
|
514
|
-
return this.
|
|
516
|
+
return this.b9q((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
515
517
|
};
|
|
516
518
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).t9 = function () {
|
|
517
519
|
var suspendResult = this.n9_1;
|
|
@@ -520,7 +522,7 @@
|
|
|
520
522
|
var tmp = this.l9_1;
|
|
521
523
|
if (tmp === 0) {
|
|
522
524
|
this.m9_1 = 1;
|
|
523
|
-
this.
|
|
525
|
+
this.z9p_1(this.a9q_1);
|
|
524
526
|
return Unit_instance;
|
|
525
527
|
} else if (tmp === 1) {
|
|
526
528
|
throw this.o9_1;
|
|
@@ -531,22 +533,22 @@
|
|
|
531
533
|
}
|
|
532
534
|
while (true);
|
|
533
535
|
};
|
|
534
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
535
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
536
|
-
i.
|
|
536
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).c9q = function (it, completion) {
|
|
537
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.z9p_1, completion);
|
|
538
|
+
i.a9q_1 = it;
|
|
537
539
|
return i;
|
|
538
540
|
};
|
|
539
541
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
540
542
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
541
543
|
var l = function (it, $completion) {
|
|
542
|
-
return i.
|
|
544
|
+
return i.b9q(it, $completion);
|
|
543
545
|
};
|
|
544
546
|
l.$arity = 1;
|
|
545
547
|
return l;
|
|
546
548
|
}
|
|
547
549
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
+
this.l9q_1 = $$this$unsafeFlow;
|
|
551
|
+
this.m9q_1 = this$0;
|
|
550
552
|
CoroutineImpl.call(this, resultContinuation);
|
|
551
553
|
}
|
|
552
554
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).z1k = function (value, $completion) {
|
|
@@ -567,14 +569,14 @@
|
|
|
567
569
|
case 0:
|
|
568
570
|
this.m9_1 = 2;
|
|
569
571
|
var tmp_0 = this;
|
|
570
|
-
tmp_0.
|
|
572
|
+
tmp_0.o9q_1 = this.l9q_1;
|
|
571
573
|
var tmp_1 = this;
|
|
572
|
-
tmp_1.
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
574
|
+
tmp_1.p9q_1 = this.n9q_1;
|
|
575
|
+
this.q9q_1 = this.o9q_1;
|
|
576
|
+
this.r9q_1 = this.p9q_1;
|
|
575
577
|
this.l9_1 = 1;
|
|
576
|
-
var it = this.
|
|
577
|
-
suspendResult = this.
|
|
578
|
+
var it = this.r9q_1;
|
|
579
|
+
suspendResult = this.q9q_1.c1b(mapToDto_1(it, _get_encoderDecoderProvider__qqgrji(this.m9q_1)), this);
|
|
578
580
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
579
581
|
return suspendResult;
|
|
580
582
|
}
|
|
@@ -597,8 +599,8 @@
|
|
|
597
599
|
while (true);
|
|
598
600
|
};
|
|
599
601
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).a1l = function (value, completion) {
|
|
600
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
601
|
-
i.
|
|
602
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.l9q_1, this.m9q_1, completion);
|
|
603
|
+
i.n9q_1 = value;
|
|
602
604
|
return i;
|
|
603
605
|
};
|
|
604
606
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -611,8 +613,8 @@
|
|
|
611
613
|
}
|
|
612
614
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
613
615
|
CoroutineImpl.call(this, resultContinuation);
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
616
|
+
this.a9r_1 = _this__u8e3s4;
|
|
617
|
+
this.b9r_1 = collector;
|
|
616
618
|
}
|
|
617
619
|
protoOf($collectCOROUTINE$).t9 = function () {
|
|
618
620
|
var suspendResult = this.n9_1;
|
|
@@ -623,11 +625,11 @@
|
|
|
623
625
|
case 0:
|
|
624
626
|
this.m9_1 = 2;
|
|
625
627
|
var tmp_0 = this;
|
|
626
|
-
tmp_0.
|
|
627
|
-
this.
|
|
628
|
+
tmp_0.c9r_1 = this.b9r_1;
|
|
629
|
+
this.d9r_1 = this.c9r_1;
|
|
628
630
|
this.l9_1 = 1;
|
|
629
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0(this.
|
|
630
|
-
suspendResult = this.
|
|
631
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0(this.d9r_1, this.a9r_1.f9r_1, null);
|
|
632
|
+
suspendResult = this.a9r_1.e9r_1.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
631
633
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
632
634
|
return suspendResult;
|
|
633
635
|
}
|
|
@@ -650,8 +652,8 @@
|
|
|
650
652
|
while (true);
|
|
651
653
|
};
|
|
652
654
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
653
|
-
this.
|
|
654
|
-
this.
|
|
655
|
+
this.e9r_1 = $this;
|
|
656
|
+
this.f9r_1 = this$0;
|
|
655
657
|
}
|
|
656
658
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).d1b = function (collector, $completion) {
|
|
657
659
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -663,17 +665,17 @@
|
|
|
663
665
|
return this.d1b(collector, $completion);
|
|
664
666
|
};
|
|
665
667
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
666
|
-
this.
|
|
668
|
+
this.o9r_1 = $subscriber;
|
|
667
669
|
CoroutineImpl.call(this, resultContinuation);
|
|
668
670
|
}
|
|
669
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
670
|
-
var tmp = this.
|
|
671
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9r = function (it, $completion) {
|
|
672
|
+
var tmp = this.r9r(it, $completion);
|
|
671
673
|
tmp.n9_1 = Unit_instance;
|
|
672
674
|
tmp.o9_1 = null;
|
|
673
675
|
return tmp.t9();
|
|
674
676
|
};
|
|
675
677
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).da = function (p1, $completion) {
|
|
676
|
-
return this.
|
|
678
|
+
return this.q9r((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
677
679
|
};
|
|
678
680
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).t9 = function () {
|
|
679
681
|
var suspendResult = this.n9_1;
|
|
@@ -682,7 +684,7 @@
|
|
|
682
684
|
var tmp = this.l9_1;
|
|
683
685
|
if (tmp === 0) {
|
|
684
686
|
this.m9_1 = 1;
|
|
685
|
-
this.
|
|
687
|
+
this.o9r_1(this.p9r_1);
|
|
686
688
|
return Unit_instance;
|
|
687
689
|
} else if (tmp === 1) {
|
|
688
690
|
throw this.o9_1;
|
|
@@ -693,21 +695,21 @@
|
|
|
693
695
|
}
|
|
694
696
|
while (true);
|
|
695
697
|
};
|
|
696
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
697
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
698
|
-
i.
|
|
698
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).r9r = function (it, completion) {
|
|
699
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.o9r_1, completion);
|
|
700
|
+
i.p9r_1 = it;
|
|
699
701
|
return i;
|
|
700
702
|
};
|
|
701
703
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
702
704
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
703
705
|
var l = function (it, $completion) {
|
|
704
|
-
return i.
|
|
706
|
+
return i.q9r(it, $completion);
|
|
705
707
|
};
|
|
706
708
|
l.$arity = 1;
|
|
707
709
|
return l;
|
|
708
710
|
}
|
|
709
711
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
710
|
-
this.
|
|
712
|
+
this.a9s_1 = $$this$unsafeFlow;
|
|
711
713
|
CoroutineImpl.call(this, resultContinuation);
|
|
712
714
|
}
|
|
713
715
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).z1k = function (value, $completion) {
|
|
@@ -728,14 +730,14 @@
|
|
|
728
730
|
case 0:
|
|
729
731
|
this.m9_1 = 2;
|
|
730
732
|
var tmp_0 = this;
|
|
731
|
-
tmp_0.
|
|
733
|
+
tmp_0.c9s_1 = this.a9s_1;
|
|
732
734
|
var tmp_1 = this;
|
|
733
|
-
tmp_1.
|
|
734
|
-
this.
|
|
735
|
-
this.
|
|
735
|
+
tmp_1.d9s_1 = this.b9s_1;
|
|
736
|
+
this.e9s_1 = this.c9s_1;
|
|
737
|
+
this.f9s_1 = this.d9s_1;
|
|
736
738
|
this.l9_1 = 1;
|
|
737
|
-
var actions = this.
|
|
738
|
-
suspendResult = this.
|
|
739
|
+
var actions = this.f9s_1;
|
|
740
|
+
suspendResult = this.e9s_1.c1b(new ActionsStateUpdate(actions), this);
|
|
739
741
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
740
742
|
return suspendResult;
|
|
741
743
|
}
|
|
@@ -758,8 +760,8 @@
|
|
|
758
760
|
while (true);
|
|
759
761
|
};
|
|
760
762
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).a1l = function (value, completion) {
|
|
761
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
762
|
-
i.
|
|
763
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.a9s_1, completion);
|
|
764
|
+
i.b9s_1 = value;
|
|
763
765
|
return i;
|
|
764
766
|
};
|
|
765
767
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -772,8 +774,8 @@
|
|
|
772
774
|
}
|
|
773
775
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
774
776
|
CoroutineImpl.call(this, resultContinuation);
|
|
775
|
-
this.
|
|
776
|
-
this.
|
|
777
|
+
this.o9s_1 = _this__u8e3s4;
|
|
778
|
+
this.p9s_1 = collector;
|
|
777
779
|
}
|
|
778
780
|
protoOf($collectCOROUTINE$_0).t9 = function () {
|
|
779
781
|
var suspendResult = this.n9_1;
|
|
@@ -784,11 +786,11 @@
|
|
|
784
786
|
case 0:
|
|
785
787
|
this.m9_1 = 2;
|
|
786
788
|
var tmp_0 = this;
|
|
787
|
-
tmp_0.
|
|
788
|
-
this.
|
|
789
|
+
tmp_0.q9s_1 = this.p9s_1;
|
|
790
|
+
this.r9s_1 = this.q9s_1;
|
|
789
791
|
this.l9_1 = 1;
|
|
790
|
-
var tmp_1 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
791
|
-
suspendResult = this.
|
|
792
|
+
var tmp_1 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0(this.r9s_1, null);
|
|
793
|
+
suspendResult = this.o9s_1.s9s_1.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
792
794
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
793
795
|
return suspendResult;
|
|
794
796
|
}
|
|
@@ -811,7 +813,7 @@
|
|
|
811
813
|
while (true);
|
|
812
814
|
};
|
|
813
815
|
function _no_name_provided__qut3iv($this) {
|
|
814
|
-
this.
|
|
816
|
+
this.s9s_1 = $this;
|
|
815
817
|
}
|
|
816
818
|
protoOf(_no_name_provided__qut3iv).d1b = function (collector, $completion) {
|
|
817
819
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -823,18 +825,18 @@
|
|
|
823
825
|
return this.d1b(collector, $completion);
|
|
824
826
|
};
|
|
825
827
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
828
|
+
this.b9t_1 = $table;
|
|
829
|
+
this.c9t_1 = this$0;
|
|
828
830
|
CoroutineImpl.call(this, resultContinuation);
|
|
829
831
|
}
|
|
830
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
831
|
-
var tmp = this.
|
|
832
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).e9t = function ($this$flow, $completion) {
|
|
833
|
+
var tmp = this.f9t($this$flow, $completion);
|
|
832
834
|
tmp.n9_1 = Unit_instance;
|
|
833
835
|
tmp.o9_1 = null;
|
|
834
836
|
return tmp.t9();
|
|
835
837
|
};
|
|
836
838
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).da = function (p1, $completion) {
|
|
837
|
-
return this.
|
|
839
|
+
return this.e9t((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
838
840
|
};
|
|
839
841
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).t9 = function () {
|
|
840
842
|
var suspendResult = this.n9_1;
|
|
@@ -845,7 +847,7 @@
|
|
|
845
847
|
case 0:
|
|
846
848
|
this.m9_1 = 3;
|
|
847
849
|
this.l9_1 = 1;
|
|
848
|
-
suspendResult = this.
|
|
850
|
+
suspendResult = this.d9t_1.c1b(new TableStateUpdate(this.b9t_1), this);
|
|
849
851
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
850
852
|
return suspendResult;
|
|
851
853
|
}
|
|
@@ -853,8 +855,8 @@
|
|
|
853
855
|
continue $sm;
|
|
854
856
|
case 1:
|
|
855
857
|
this.l9_1 = 2;
|
|
856
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
857
|
-
suspendResult = emitAll(this.
|
|
858
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.c9t_1).m8t(), toLong(_get_serverReduxConfig__rprcrm(this.c9t_1).serverStateUpdateIntervalMillis));
|
|
859
|
+
suspendResult = emitAll(this.d9t_1, new _no_name_provided__qut3iv(this_0), this);
|
|
858
860
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
859
861
|
return suspendResult;
|
|
860
862
|
}
|
|
@@ -876,21 +878,21 @@
|
|
|
876
878
|
}
|
|
877
879
|
while (true);
|
|
878
880
|
};
|
|
879
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
880
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
881
|
-
i.
|
|
881
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).f9t = function ($this$flow, completion) {
|
|
882
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.b9t_1, this.c9t_1, completion);
|
|
883
|
+
i.d9t_1 = $this$flow;
|
|
882
884
|
return i;
|
|
883
885
|
};
|
|
884
886
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
885
887
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
886
888
|
var l = function ($this$flow, $completion) {
|
|
887
|
-
return i.
|
|
889
|
+
return i.e9t($this$flow, $completion);
|
|
888
890
|
};
|
|
889
891
|
l.$arity = 1;
|
|
890
892
|
return l;
|
|
891
893
|
}
|
|
892
894
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
893
|
-
this.
|
|
895
|
+
this.o9t_1 = $$this$unsafeFlow;
|
|
894
896
|
CoroutineImpl.call(this, resultContinuation);
|
|
895
897
|
}
|
|
896
898
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).z1k = function (value, $completion) {
|
|
@@ -911,38 +913,38 @@
|
|
|
911
913
|
case 0:
|
|
912
914
|
this.m9_1 = 5;
|
|
913
915
|
var tmp_0 = this;
|
|
914
|
-
tmp_0.
|
|
916
|
+
tmp_0.q9t_1 = this.o9t_1;
|
|
915
917
|
var tmp_1 = this;
|
|
916
|
-
tmp_1.
|
|
918
|
+
tmp_1.r9t_1 = this.p9t_1;
|
|
917
919
|
this.l9_1 = 1;
|
|
918
920
|
continue $sm;
|
|
919
921
|
case 1:
|
|
920
|
-
this.
|
|
921
|
-
this.
|
|
922
|
+
this.t9t_1 = this.q9t_1;
|
|
923
|
+
this.u9t_1 = this.r9t_1;
|
|
922
924
|
var tmp_2 = this;
|
|
923
|
-
tmp_2.
|
|
924
|
-
if (this.
|
|
925
|
-
this.
|
|
925
|
+
tmp_2.v9t_1 = this.u9t_1.s6w_1;
|
|
926
|
+
if (this.v9t_1 == null) {
|
|
927
|
+
this.s9t_1 = Unit_instance;
|
|
926
928
|
this.l9_1 = 4;
|
|
927
929
|
var tmp_3 = this;
|
|
928
930
|
continue $sm;
|
|
929
931
|
} else {
|
|
930
|
-
this.
|
|
932
|
+
this.w9t_1 = this.v9t_1;
|
|
931
933
|
this.l9_1 = 2;
|
|
932
934
|
continue $sm;
|
|
933
935
|
}
|
|
934
936
|
|
|
935
937
|
case 2:
|
|
936
|
-
this.
|
|
938
|
+
this.x9t_1 = this.w9t_1;
|
|
937
939
|
this.l9_1 = 3;
|
|
938
|
-
suspendResult = this.
|
|
940
|
+
suspendResult = this.t9t_1.c1b(this.x9t_1, this);
|
|
939
941
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
940
942
|
return suspendResult;
|
|
941
943
|
}
|
|
942
944
|
|
|
943
945
|
continue $sm;
|
|
944
946
|
case 3:
|
|
945
|
-
this.
|
|
947
|
+
this.s9t_1 = suspendResult;
|
|
946
948
|
if (false) {
|
|
947
949
|
this.l9_1 = 1;
|
|
948
950
|
continue $sm;
|
|
@@ -967,8 +969,8 @@
|
|
|
967
969
|
while (true);
|
|
968
970
|
};
|
|
969
971
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).a1l = function (value, completion) {
|
|
970
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
971
|
-
i.
|
|
972
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.o9t_1, completion);
|
|
973
|
+
i.p9t_1 = value;
|
|
972
974
|
return i;
|
|
973
975
|
};
|
|
974
976
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -981,8 +983,8 @@
|
|
|
981
983
|
}
|
|
982
984
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
983
985
|
CoroutineImpl.call(this, resultContinuation);
|
|
984
|
-
this.
|
|
985
|
-
this.
|
|
986
|
+
this.g9u_1 = _this__u8e3s4;
|
|
987
|
+
this.h9u_1 = collector;
|
|
986
988
|
}
|
|
987
989
|
protoOf($collectCOROUTINE$_1).t9 = function () {
|
|
988
990
|
var suspendResult = this.n9_1;
|
|
@@ -993,11 +995,11 @@
|
|
|
993
995
|
case 0:
|
|
994
996
|
this.m9_1 = 2;
|
|
995
997
|
var tmp_0 = this;
|
|
996
|
-
tmp_0.
|
|
997
|
-
this.
|
|
998
|
+
tmp_0.i9u_1 = this.h9u_1;
|
|
999
|
+
this.j9u_1 = this.i9u_1;
|
|
998
1000
|
this.l9_1 = 1;
|
|
999
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
1000
|
-
suspendResult = this.
|
|
1001
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.j9u_1, null);
|
|
1002
|
+
suspendResult = this.g9u_1.k9u_1.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1001
1003
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1002
1004
|
return suspendResult;
|
|
1003
1005
|
}
|
|
@@ -1020,7 +1022,7 @@
|
|
|
1020
1022
|
while (true);
|
|
1021
1023
|
};
|
|
1022
1024
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1023
|
-
this.
|
|
1025
|
+
this.t9u_1 = $$this$unsafeFlow;
|
|
1024
1026
|
CoroutineImpl.call(this, resultContinuation);
|
|
1025
1027
|
}
|
|
1026
1028
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).z1k = function (value, $completion) {
|
|
@@ -1041,14 +1043,14 @@
|
|
|
1041
1043
|
case 0:
|
|
1042
1044
|
this.m9_1 = 2;
|
|
1043
1045
|
var tmp_0 = this;
|
|
1044
|
-
tmp_0.
|
|
1046
|
+
tmp_0.v9u_1 = this.t9u_1;
|
|
1045
1047
|
var tmp_1 = this;
|
|
1046
|
-
tmp_1.
|
|
1047
|
-
this.
|
|
1048
|
-
this.
|
|
1048
|
+
tmp_1.w9u_1 = this.u9u_1;
|
|
1049
|
+
this.x9u_1 = this.v9u_1;
|
|
1050
|
+
this.y9u_1 = this.w9u_1;
|
|
1049
1051
|
this.l9_1 = 1;
|
|
1050
|
-
var table = this.
|
|
1051
|
-
suspendResult = this.
|
|
1052
|
+
var table = this.y9u_1;
|
|
1053
|
+
suspendResult = this.x9u_1.c1b(to(table.gameInfo.roundNumberTotal, table), this);
|
|
1052
1054
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1053
1055
|
return suspendResult;
|
|
1054
1056
|
}
|
|
@@ -1071,8 +1073,8 @@
|
|
|
1071
1073
|
while (true);
|
|
1072
1074
|
};
|
|
1073
1075
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).a1l = function (value, completion) {
|
|
1074
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1075
|
-
i.
|
|
1076
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.t9u_1, completion);
|
|
1077
|
+
i.u9u_1 = value;
|
|
1076
1078
|
return i;
|
|
1077
1079
|
};
|
|
1078
1080
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1085,8 +1087,8 @@
|
|
|
1085
1087
|
}
|
|
1086
1088
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1087
1089
|
CoroutineImpl.call(this, resultContinuation);
|
|
1088
|
-
this.
|
|
1089
|
-
this.
|
|
1090
|
+
this.h9v_1 = _this__u8e3s4;
|
|
1091
|
+
this.i9v_1 = collector;
|
|
1090
1092
|
}
|
|
1091
1093
|
protoOf($collectCOROUTINE$_2).t9 = function () {
|
|
1092
1094
|
var suspendResult = this.n9_1;
|
|
@@ -1097,11 +1099,11 @@
|
|
|
1097
1099
|
case 0:
|
|
1098
1100
|
this.m9_1 = 2;
|
|
1099
1101
|
var tmp_0 = this;
|
|
1100
|
-
tmp_0.
|
|
1101
|
-
this.
|
|
1102
|
+
tmp_0.j9v_1 = this.i9v_1;
|
|
1103
|
+
this.k9v_1 = this.j9v_1;
|
|
1102
1104
|
this.l9_1 = 1;
|
|
1103
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2(this.
|
|
1104
|
-
suspendResult = this.
|
|
1105
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2(this.k9v_1, null);
|
|
1106
|
+
suspendResult = this.h9v_1.l9v_1.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1105
1107
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1106
1108
|
return suspendResult;
|
|
1107
1109
|
}
|
|
@@ -1124,7 +1126,7 @@
|
|
|
1124
1126
|
while (true);
|
|
1125
1127
|
};
|
|
1126
1128
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1127
|
-
this.
|
|
1129
|
+
this.u9v_1 = $$this$unsafeFlow;
|
|
1128
1130
|
CoroutineImpl.call(this, resultContinuation);
|
|
1129
1131
|
}
|
|
1130
1132
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).z1k = function (value, $completion) {
|
|
@@ -1145,14 +1147,14 @@
|
|
|
1145
1147
|
case 0:
|
|
1146
1148
|
this.m9_1 = 2;
|
|
1147
1149
|
var tmp_0 = this;
|
|
1148
|
-
tmp_0.
|
|
1150
|
+
tmp_0.w9v_1 = this.u9v_1;
|
|
1149
1151
|
var tmp_1 = this;
|
|
1150
|
-
tmp_1.
|
|
1151
|
-
this.
|
|
1152
|
-
this.
|
|
1152
|
+
tmp_1.x9v_1 = this.v9v_1;
|
|
1153
|
+
this.y9v_1 = this.w9v_1;
|
|
1154
|
+
this.z9v_1 = this.x9v_1;
|
|
1153
1155
|
this.l9_1 = 1;
|
|
1154
|
-
var it = this.
|
|
1155
|
-
suspendResult = this.
|
|
1156
|
+
var it = this.z9v_1;
|
|
1157
|
+
suspendResult = this.y9v_1.c1b(it.jf_1, this);
|
|
1156
1158
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1157
1159
|
return suspendResult;
|
|
1158
1160
|
}
|
|
@@ -1175,8 +1177,8 @@
|
|
|
1175
1177
|
while (true);
|
|
1176
1178
|
};
|
|
1177
1179
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).a1l = function (value, completion) {
|
|
1178
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1179
|
-
i.
|
|
1180
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.u9v_1, completion);
|
|
1181
|
+
i.v9v_1 = value;
|
|
1180
1182
|
return i;
|
|
1181
1183
|
};
|
|
1182
1184
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1189,8 +1191,8 @@
|
|
|
1189
1191
|
}
|
|
1190
1192
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1191
1193
|
CoroutineImpl.call(this, resultContinuation);
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1194
|
+
this.i9w_1 = _this__u8e3s4;
|
|
1195
|
+
this.j9w_1 = collector;
|
|
1194
1196
|
}
|
|
1195
1197
|
protoOf($collectCOROUTINE$_3).t9 = function () {
|
|
1196
1198
|
var suspendResult = this.n9_1;
|
|
@@ -1201,11 +1203,11 @@
|
|
|
1201
1203
|
case 0:
|
|
1202
1204
|
this.m9_1 = 2;
|
|
1203
1205
|
var tmp_0 = this;
|
|
1204
|
-
tmp_0.
|
|
1205
|
-
this.
|
|
1206
|
+
tmp_0.k9w_1 = this.j9w_1;
|
|
1207
|
+
this.l9w_1 = this.k9w_1;
|
|
1206
1208
|
this.l9_1 = 1;
|
|
1207
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4(this.
|
|
1208
|
-
suspendResult = this.
|
|
1209
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4(this.l9w_1, null);
|
|
1210
|
+
suspendResult = this.i9w_1.m9w_1.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1209
1211
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1210
1212
|
return suspendResult;
|
|
1211
1213
|
}
|
|
@@ -1228,17 +1230,17 @@
|
|
|
1228
1230
|
while (true);
|
|
1229
1231
|
};
|
|
1230
1232
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1231
|
-
this.
|
|
1233
|
+
this.v9w_1 = $subscriber;
|
|
1232
1234
|
CoroutineImpl.call(this, resultContinuation);
|
|
1233
1235
|
}
|
|
1234
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1235
|
-
var tmp = this.
|
|
1236
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).x9w = function (it, $completion) {
|
|
1237
|
+
var tmp = this.y9w(it, $completion);
|
|
1236
1238
|
tmp.n9_1 = Unit_instance;
|
|
1237
1239
|
tmp.o9_1 = null;
|
|
1238
1240
|
return tmp.t9();
|
|
1239
1241
|
};
|
|
1240
1242
|
protoOf(GameServer$subscribeWith$slambda$slambda).da = function (p1, $completion) {
|
|
1241
|
-
return this.
|
|
1243
|
+
return this.x9w(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1242
1244
|
};
|
|
1243
1245
|
protoOf(GameServer$subscribeWith$slambda$slambda).t9 = function () {
|
|
1244
1246
|
var suspendResult = this.n9_1;
|
|
@@ -1247,7 +1249,7 @@
|
|
|
1247
1249
|
var tmp = this.l9_1;
|
|
1248
1250
|
if (tmp === 0) {
|
|
1249
1251
|
this.m9_1 = 1;
|
|
1250
|
-
this.
|
|
1252
|
+
this.v9w_1(this.w9w_1);
|
|
1251
1253
|
return Unit_instance;
|
|
1252
1254
|
} else if (tmp === 1) {
|
|
1253
1255
|
throw this.o9_1;
|
|
@@ -1258,83 +1260,83 @@
|
|
|
1258
1260
|
}
|
|
1259
1261
|
while (true);
|
|
1260
1262
|
};
|
|
1261
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1262
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1263
|
-
i.
|
|
1263
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).y9w = function (it, completion) {
|
|
1264
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.v9w_1, completion);
|
|
1265
|
+
i.w9w_1 = it;
|
|
1264
1266
|
return i;
|
|
1265
1267
|
};
|
|
1266
1268
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1267
1269
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1268
1270
|
var l = function (it, $completion) {
|
|
1269
|
-
return i.
|
|
1271
|
+
return i.x9w(it, $completion);
|
|
1270
1272
|
};
|
|
1271
1273
|
l.$arity = 1;
|
|
1272
1274
|
return l;
|
|
1273
1275
|
}
|
|
1274
1276
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1275
|
-
this.
|
|
1277
|
+
this.z9w_1 = $playerId;
|
|
1276
1278
|
}
|
|
1277
1279
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).g6g = function () {
|
|
1278
|
-
return this.
|
|
1280
|
+
return this.z9w_1;
|
|
1279
1281
|
};
|
|
1280
1282
|
function _get_logger__rkp4sl($this) {
|
|
1281
|
-
var tmp0 = $this.
|
|
1283
|
+
var tmp0 = $this.c9x_1;
|
|
1282
1284
|
var tmp = KProperty1;
|
|
1283
1285
|
// Inline function 'kotlin.getValue' call
|
|
1284
1286
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1285
1287
|
return tmp0.u();
|
|
1286
1288
|
}
|
|
1287
1289
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1288
|
-
var tmp0 = $this.
|
|
1290
|
+
var tmp0 = $this.d9x_1;
|
|
1289
1291
|
var tmp = KProperty1;
|
|
1290
1292
|
// Inline function 'kotlin.getValue' call
|
|
1291
1293
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1292
1294
|
return tmp0.u();
|
|
1293
1295
|
}
|
|
1294
1296
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1295
|
-
var tmp0 = $this.
|
|
1297
|
+
var tmp0 = $this.e9x_1;
|
|
1296
1298
|
var tmp = KProperty1;
|
|
1297
1299
|
// Inline function 'kotlin.getValue' call
|
|
1298
1300
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1299
1301
|
return tmp0.u();
|
|
1300
1302
|
}
|
|
1301
1303
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1302
|
-
var tmp0 = $this.
|
|
1304
|
+
var tmp0 = $this.f9x_1;
|
|
1303
1305
|
var tmp = KProperty1;
|
|
1304
1306
|
// Inline function 'kotlin.getValue' call
|
|
1305
1307
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1306
1308
|
return tmp0.u();
|
|
1307
1309
|
}
|
|
1308
1310
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1309
|
-
var tmp0 = $this.
|
|
1311
|
+
var tmp0 = $this.g9x_1;
|
|
1310
1312
|
var tmp = KProperty1;
|
|
1311
1313
|
// Inline function 'kotlin.getValue' call
|
|
1312
1314
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1313
1315
|
return tmp0.u();
|
|
1314
1316
|
}
|
|
1315
1317
|
function _get_random__h29cgo($this) {
|
|
1316
|
-
var tmp0 = $this.
|
|
1318
|
+
var tmp0 = $this.h9x_1;
|
|
1317
1319
|
var tmp = KProperty1;
|
|
1318
1320
|
// Inline function 'kotlin.getValue' call
|
|
1319
1321
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1320
1322
|
return tmp0.u();
|
|
1321
1323
|
}
|
|
1322
1324
|
function _get_idsProvider__fnfajc($this) {
|
|
1323
|
-
var tmp0 = $this.
|
|
1325
|
+
var tmp0 = $this.i9x_1;
|
|
1324
1326
|
var tmp = KProperty1;
|
|
1325
1327
|
// Inline function 'kotlin.getValue' call
|
|
1326
1328
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1327
1329
|
return tmp0.u();
|
|
1328
1330
|
}
|
|
1329
1331
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1330
|
-
var tmp0 = $this.
|
|
1332
|
+
var tmp0 = $this.j9x_1;
|
|
1331
1333
|
var tmp = KProperty1;
|
|
1332
1334
|
// Inline function 'kotlin.getValue' call
|
|
1333
1335
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1334
1336
|
return tmp0.u();
|
|
1335
1337
|
}
|
|
1336
1338
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1337
|
-
var tmp0 = $this.
|
|
1339
|
+
var tmp0 = $this.k9x_1;
|
|
1338
1340
|
var tmp = KProperty1;
|
|
1339
1341
|
// Inline function 'kotlin.getValue' call
|
|
1340
1342
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1361,20 +1363,20 @@
|
|
|
1361
1363
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1362
1364
|
}
|
|
1363
1365
|
function Companion() {
|
|
1364
|
-
this.
|
|
1366
|
+
this.m9x_1 = 'GameEngine_API';
|
|
1365
1367
|
}
|
|
1366
1368
|
var Companion_instance_7;
|
|
1367
1369
|
function Companion_getInstance_0() {
|
|
1368
1370
|
return Companion_instance_7;
|
|
1369
1371
|
}
|
|
1370
1372
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1371
|
-
this.
|
|
1373
|
+
this.n9x_1 = function_0;
|
|
1372
1374
|
}
|
|
1373
1375
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).c1b = function (value, $completion) {
|
|
1374
|
-
return this.
|
|
1376
|
+
return this.n9x_1(value, $completion);
|
|
1375
1377
|
};
|
|
1376
1378
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).u3 = function () {
|
|
1377
|
-
return this.
|
|
1379
|
+
return this.n9x_1;
|
|
1378
1380
|
};
|
|
1379
1381
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1380
1382
|
var tmp;
|
|
@@ -1395,13 +1397,13 @@
|
|
|
1395
1397
|
return hashCode(this.u3());
|
|
1396
1398
|
};
|
|
1397
1399
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1398
|
-
this.
|
|
1400
|
+
this.o9x_1 = function_0;
|
|
1399
1401
|
}
|
|
1400
1402
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).c1b = function (value, $completion) {
|
|
1401
|
-
return this.
|
|
1403
|
+
return this.o9x_1(value, $completion);
|
|
1402
1404
|
};
|
|
1403
1405
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).u3 = function () {
|
|
1404
|
-
return this.
|
|
1406
|
+
return this.o9x_1;
|
|
1405
1407
|
};
|
|
1406
1408
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1407
1409
|
var tmp;
|
|
@@ -1422,13 +1424,13 @@
|
|
|
1422
1424
|
return hashCode(this.u3());
|
|
1423
1425
|
};
|
|
1424
1426
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1425
|
-
this.
|
|
1427
|
+
this.p9x_1 = function_0;
|
|
1426
1428
|
}
|
|
1427
1429
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).c1b = function (value, $completion) {
|
|
1428
|
-
return this.
|
|
1430
|
+
return this.p9x_1(value, $completion);
|
|
1429
1431
|
};
|
|
1430
1432
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).u3 = function () {
|
|
1431
|
-
return this.
|
|
1433
|
+
return this.p9x_1;
|
|
1432
1434
|
};
|
|
1433
1435
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1434
1436
|
var tmp;
|
|
@@ -1449,13 +1451,13 @@
|
|
|
1449
1451
|
return hashCode(this.u3());
|
|
1450
1452
|
};
|
|
1451
1453
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1452
|
-
this.
|
|
1454
|
+
this.q9x_1 = function_0;
|
|
1453
1455
|
}
|
|
1454
1456
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).c1b = function (value, $completion) {
|
|
1455
|
-
return this.
|
|
1457
|
+
return this.q9x_1(value, $completion);
|
|
1456
1458
|
};
|
|
1457
1459
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).u3 = function () {
|
|
1458
|
-
return this.
|
|
1460
|
+
return this.q9x_1;
|
|
1459
1461
|
};
|
|
1460
1462
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1461
1463
|
var tmp;
|
|
@@ -1476,13 +1478,13 @@
|
|
|
1476
1478
|
return hashCode(this.u3());
|
|
1477
1479
|
};
|
|
1478
1480
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1479
|
-
this.
|
|
1481
|
+
this.r9x_1 = function_0;
|
|
1480
1482
|
}
|
|
1481
1483
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).c1b = function (value, $completion) {
|
|
1482
|
-
return this.
|
|
1484
|
+
return this.r9x_1(value, $completion);
|
|
1483
1485
|
};
|
|
1484
1486
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).u3 = function () {
|
|
1485
|
-
return this.
|
|
1487
|
+
return this.r9x_1;
|
|
1486
1488
|
};
|
|
1487
1489
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1488
1490
|
var tmp;
|
|
@@ -1503,13 +1505,13 @@
|
|
|
1503
1505
|
return hashCode(this.u3());
|
|
1504
1506
|
};
|
|
1505
1507
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1506
|
-
this.
|
|
1508
|
+
this.s9x_1 = function_0;
|
|
1507
1509
|
}
|
|
1508
1510
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).c1b = function (value, $completion) {
|
|
1509
|
-
return this.
|
|
1511
|
+
return this.s9x_1(value, $completion);
|
|
1510
1512
|
};
|
|
1511
1513
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).u3 = function () {
|
|
1512
|
-
return this.
|
|
1514
|
+
return this.s9x_1;
|
|
1513
1515
|
};
|
|
1514
1516
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1515
1517
|
var tmp;
|
|
@@ -1620,8 +1622,8 @@
|
|
|
1620
1622
|
};
|
|
1621
1623
|
}
|
|
1622
1624
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1625
|
+
this.b9y_1 = this$0;
|
|
1626
|
+
this.c9y_1 = $subscriber;
|
|
1625
1627
|
CoroutineImpl.call(this, resultContinuation);
|
|
1626
1628
|
}
|
|
1627
1629
|
protoOf(GameServer$subscribeToClientAction$slambda).x1g = function ($this$launchDefault, $completion) {
|
|
@@ -1642,8 +1644,8 @@
|
|
|
1642
1644
|
case 0:
|
|
1643
1645
|
this.m9_1 = 2;
|
|
1644
1646
|
this.l9_1 = 1;
|
|
1645
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1646
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1647
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.b9y_1).e9y();
|
|
1648
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.c9y_1, null);
|
|
1647
1649
|
suspendResult = tmp_0.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1648
1650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1649
1651
|
return suspendResult;
|
|
@@ -1667,8 +1669,8 @@
|
|
|
1667
1669
|
while (true);
|
|
1668
1670
|
};
|
|
1669
1671
|
protoOf(GameServer$subscribeToClientAction$slambda).y1g = function ($this$launchDefault, completion) {
|
|
1670
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1671
|
-
i.
|
|
1672
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.b9y_1, this.c9y_1, completion);
|
|
1673
|
+
i.d9y_1 = $this$launchDefault;
|
|
1672
1674
|
return i;
|
|
1673
1675
|
};
|
|
1674
1676
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1680,8 +1682,8 @@
|
|
|
1680
1682
|
return l;
|
|
1681
1683
|
}
|
|
1682
1684
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1683
|
-
this.
|
|
1684
|
-
this.
|
|
1685
|
+
this.n9y_1 = this$0;
|
|
1686
|
+
this.o9y_1 = $subscriber;
|
|
1685
1687
|
CoroutineImpl.call(this, resultContinuation);
|
|
1686
1688
|
}
|
|
1687
1689
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).x1g = function ($this$launchDefault, $completion) {
|
|
@@ -1702,8 +1704,8 @@
|
|
|
1702
1704
|
case 0:
|
|
1703
1705
|
this.m9_1 = 2;
|
|
1704
1706
|
this.l9_1 = 1;
|
|
1705
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1706
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1707
|
+
var tmp_0 = observeTableStateUpdates(this.n9y_1);
|
|
1708
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.o9y_1, null);
|
|
1707
1709
|
suspendResult = tmp_0.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1708
1710
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1709
1711
|
return suspendResult;
|
|
@@ -1727,8 +1729,8 @@
|
|
|
1727
1729
|
while (true);
|
|
1728
1730
|
};
|
|
1729
1731
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).y1g = function ($this$launchDefault, completion) {
|
|
1730
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1731
|
-
i.
|
|
1732
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.n9y_1, this.o9y_1, completion);
|
|
1733
|
+
i.p9y_1 = $this$launchDefault;
|
|
1732
1734
|
return i;
|
|
1733
1735
|
};
|
|
1734
1736
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1740,8 +1742,8 @@
|
|
|
1740
1742
|
return l;
|
|
1741
1743
|
}
|
|
1742
1744
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1743
|
-
this.
|
|
1744
|
-
this.
|
|
1745
|
+
this.y9y_1 = this$0;
|
|
1746
|
+
this.z9y_1 = $subscriber;
|
|
1745
1747
|
CoroutineImpl.call(this, resultContinuation);
|
|
1746
1748
|
}
|
|
1747
1749
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).x1g = function ($this$launchDefault, $completion) {
|
|
@@ -1762,9 +1764,9 @@
|
|
|
1762
1764
|
case 0:
|
|
1763
1765
|
this.m9_1 = 2;
|
|
1764
1766
|
this.l9_1 = 1;
|
|
1765
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1766
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1767
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1767
|
+
var this_0 = observeTableStateUpdates(this.y9y_1);
|
|
1768
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.y9y_1);
|
|
1769
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.z9y_1, null);
|
|
1768
1770
|
suspendResult = tmp_0.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1769
1771
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1770
1772
|
return suspendResult;
|
|
@@ -1788,8 +1790,8 @@
|
|
|
1788
1790
|
while (true);
|
|
1789
1791
|
};
|
|
1790
1792
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).y1g = function ($this$launchDefault, completion) {
|
|
1791
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1792
|
-
i.
|
|
1793
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.y9y_1, this.z9y_1, completion);
|
|
1794
|
+
i.a9z_1 = $this$launchDefault;
|
|
1793
1795
|
return i;
|
|
1794
1796
|
};
|
|
1795
1797
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1801,18 +1803,18 @@
|
|
|
1801
1803
|
return l;
|
|
1802
1804
|
}
|
|
1803
1805
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1804
|
-
this.
|
|
1806
|
+
this.j9z_1 = this$0;
|
|
1805
1807
|
CoroutineImpl.call(this, resultContinuation);
|
|
1806
1808
|
}
|
|
1807
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1808
|
-
var tmp = this.
|
|
1809
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).m9z = function ($this$transformLatest, it, $completion) {
|
|
1810
|
+
var tmp = this.n9z($this$transformLatest, it, $completion);
|
|
1809
1811
|
tmp.n9_1 = Unit_instance;
|
|
1810
1812
|
tmp.o9_1 = null;
|
|
1811
1813
|
return tmp.t9();
|
|
1812
1814
|
};
|
|
1813
1815
|
protoOf(GameServer$observeTableStateUpdates$slambda).ea = function (p1, p2, $completion) {
|
|
1814
1816
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1815
|
-
return this.
|
|
1817
|
+
return this.m9z(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1816
1818
|
};
|
|
1817
1819
|
protoOf(GameServer$observeTableStateUpdates$slambda).t9 = function () {
|
|
1818
1820
|
var suspendResult = this.n9_1;
|
|
@@ -1823,8 +1825,8 @@
|
|
|
1823
1825
|
case 0:
|
|
1824
1826
|
this.m9_1 = 2;
|
|
1825
1827
|
this.l9_1 = 1;
|
|
1826
|
-
var table = this.
|
|
1827
|
-
suspendResult = emitAll(this.
|
|
1828
|
+
var table = this.l9z_1;
|
|
1829
|
+
suspendResult = emitAll(this.k9z_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.j9z_1, null)), this);
|
|
1828
1830
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1829
1831
|
return suspendResult;
|
|
1830
1832
|
}
|
|
@@ -1846,22 +1848,22 @@
|
|
|
1846
1848
|
}
|
|
1847
1849
|
while (true);
|
|
1848
1850
|
};
|
|
1849
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1850
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1851
|
-
i.
|
|
1852
|
-
i.
|
|
1851
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).n9z = function ($this$transformLatest, it, completion) {
|
|
1852
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.j9z_1, completion);
|
|
1853
|
+
i.k9z_1 = $this$transformLatest;
|
|
1854
|
+
i.l9z_1 = it;
|
|
1853
1855
|
return i;
|
|
1854
1856
|
};
|
|
1855
1857
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1856
1858
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1857
1859
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1858
|
-
return i.
|
|
1860
|
+
return i.m9z($this$transformLatest, it, $completion);
|
|
1859
1861
|
};
|
|
1860
1862
|
l.$arity = 2;
|
|
1861
1863
|
return l;
|
|
1862
1864
|
}
|
|
1863
1865
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1864
|
-
this.
|
|
1866
|
+
this.k9u_1 = $this;
|
|
1865
1867
|
}
|
|
1866
1868
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).d1b = function (collector, $completion) {
|
|
1867
1869
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1873,7 +1875,7 @@
|
|
|
1873
1875
|
return this.d1b(collector, $completion);
|
|
1874
1876
|
};
|
|
1875
1877
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1876
|
-
this.
|
|
1878
|
+
this.l9v_1 = $this;
|
|
1877
1879
|
}
|
|
1878
1880
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).d1b = function (collector, $completion) {
|
|
1879
1881
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1888,7 +1890,7 @@
|
|
|
1888
1890
|
return old.if_1 === new_0.if_1;
|
|
1889
1891
|
}
|
|
1890
1892
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1891
|
-
this.
|
|
1893
|
+
this.m9w_1 = $this;
|
|
1892
1894
|
}
|
|
1893
1895
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).d1b = function (collector, $completion) {
|
|
1894
1896
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1900,8 +1902,8 @@
|
|
|
1900
1902
|
return this.d1b(collector, $completion);
|
|
1901
1903
|
};
|
|
1902
1904
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1903
|
-
this.
|
|
1904
|
-
this.
|
|
1905
|
+
this.w9z_1 = this$0;
|
|
1906
|
+
this.x9z_1 = $subscriber;
|
|
1905
1907
|
CoroutineImpl.call(this, resultContinuation);
|
|
1906
1908
|
}
|
|
1907
1909
|
protoOf(GameServer$subscribeWith$slambda).x1g = function ($this$launchDefault, $completion) {
|
|
@@ -1922,8 +1924,8 @@
|
|
|
1922
1924
|
case 0:
|
|
1923
1925
|
this.m9_1 = 2;
|
|
1924
1926
|
this.l9_1 = 1;
|
|
1925
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1926
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1927
|
+
var tmp_0 = distinctUntilChanged_0(this.w9z_1.r6w());
|
|
1928
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.x9z_1, null);
|
|
1927
1929
|
suspendResult = tmp_0.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1928
1930
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1929
1931
|
return suspendResult;
|
|
@@ -1947,8 +1949,8 @@
|
|
|
1947
1949
|
while (true);
|
|
1948
1950
|
};
|
|
1949
1951
|
protoOf(GameServer$subscribeWith$slambda).y1g = function ($this$launchDefault, completion) {
|
|
1950
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1951
|
-
i.
|
|
1952
|
+
var i = new GameServer$subscribeWith$slambda(this.w9z_1, this.x9z_1, completion);
|
|
1953
|
+
i.y9z_1 = $this$launchDefault;
|
|
1952
1954
|
return i;
|
|
1953
1955
|
};
|
|
1954
1956
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1960,18 +1962,18 @@
|
|
|
1960
1962
|
return l;
|
|
1961
1963
|
}
|
|
1962
1964
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1963
|
-
this.
|
|
1965
|
+
this.ha0_1 = $action;
|
|
1964
1966
|
CoroutineImpl.call(this, resultContinuation);
|
|
1965
1967
|
}
|
|
1966
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1967
|
-
var tmp = this.
|
|
1968
|
+
protoOf(GameServer$fromClientEvent$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
1969
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
1968
1970
|
tmp.n9_1 = Unit_instance;
|
|
1969
1971
|
tmp.o9_1 = null;
|
|
1970
1972
|
return tmp.t9();
|
|
1971
1973
|
};
|
|
1972
1974
|
protoOf(GameServer$fromClientEvent$slambda).ea = function (p1, p2, $completion) {
|
|
1973
1975
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1974
|
-
return this.
|
|
1976
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1975
1977
|
};
|
|
1976
1978
|
protoOf(GameServer$fromClientEvent$slambda).t9 = function () {
|
|
1977
1979
|
var suspendResult = this.n9_1;
|
|
@@ -1980,11 +1982,11 @@
|
|
|
1980
1982
|
var tmp = this.l9_1;
|
|
1981
1983
|
if (tmp === 0) {
|
|
1982
1984
|
this.m9_1 = 1;
|
|
1983
|
-
if (this.
|
|
1984
|
-
if (!get_isCreated(this.
|
|
1985
|
+
if (this.ha0_1 instanceof PlayerReadyFromClientAction)
|
|
1986
|
+
if (!get_isCreated(this.ja0_1.state)) {
|
|
1985
1987
|
return Unit_instance;
|
|
1986
1988
|
}
|
|
1987
|
-
this.
|
|
1989
|
+
this.ja0_1.dispatch(this.ha0_1);
|
|
1988
1990
|
return Unit_instance;
|
|
1989
1991
|
} else if (tmp === 1) {
|
|
1990
1992
|
throw this.o9_1;
|
|
@@ -1995,33 +1997,33 @@
|
|
|
1995
1997
|
}
|
|
1996
1998
|
while (true);
|
|
1997
1999
|
};
|
|
1998
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1999
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2000
|
-
i.
|
|
2001
|
-
i.
|
|
2000
|
+
protoOf(GameServer$fromClientEvent$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2001
|
+
var i = new GameServer$fromClientEvent$slambda(this.ha0_1, completion);
|
|
2002
|
+
i.ia0_1 = $this$dispatchAsync;
|
|
2003
|
+
i.ja0_1 = store;
|
|
2002
2004
|
return i;
|
|
2003
2005
|
};
|
|
2004
2006
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2005
2007
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2006
2008
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2007
|
-
return i.
|
|
2009
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2008
2010
|
};
|
|
2009
2011
|
l.$arity = 2;
|
|
2010
2012
|
return l;
|
|
2011
2013
|
}
|
|
2012
2014
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2013
|
-
this.
|
|
2015
|
+
this.ua0_1 = $playerId;
|
|
2014
2016
|
CoroutineImpl.call(this, resultContinuation);
|
|
2015
2017
|
}
|
|
2016
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2017
|
-
var tmp = this.
|
|
2018
|
+
protoOf(GameServer$playerLostConnection$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2019
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2018
2020
|
tmp.n9_1 = Unit_instance;
|
|
2019
2021
|
tmp.o9_1 = null;
|
|
2020
2022
|
return tmp.t9();
|
|
2021
2023
|
};
|
|
2022
2024
|
protoOf(GameServer$playerLostConnection$slambda).ea = function (p1, p2, $completion) {
|
|
2023
2025
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2024
|
-
return this.
|
|
2026
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2025
2027
|
};
|
|
2026
2028
|
protoOf(GameServer$playerLostConnection$slambda).t9 = function () {
|
|
2027
2029
|
var suspendResult = this.n9_1;
|
|
@@ -2030,12 +2032,12 @@
|
|
|
2030
2032
|
var tmp = this.l9_1;
|
|
2031
2033
|
if (tmp === 0) {
|
|
2032
2034
|
this.m9_1 = 1;
|
|
2033
|
-
if (!get_isCreated(this.
|
|
2035
|
+
if (!get_isCreated(this.wa0_1.state)) {
|
|
2034
2036
|
return Unit_instance;
|
|
2035
2037
|
}
|
|
2036
|
-
var tmp_0 = this.
|
|
2038
|
+
var tmp_0 = this.wa0_1.dispatch;
|
|
2037
2039
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2038
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2040
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ua0_1));
|
|
2039
2041
|
return Unit_instance;
|
|
2040
2042
|
} else if (tmp === 1) {
|
|
2041
2043
|
throw this.o9_1;
|
|
@@ -2046,34 +2048,34 @@
|
|
|
2046
2048
|
}
|
|
2047
2049
|
while (true);
|
|
2048
2050
|
};
|
|
2049
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2050
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2051
|
-
i.
|
|
2052
|
-
i.
|
|
2051
|
+
protoOf(GameServer$playerLostConnection$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2052
|
+
var i = new GameServer$playerLostConnection$slambda(this.ua0_1, completion);
|
|
2053
|
+
i.va0_1 = $this$dispatchAsync;
|
|
2054
|
+
i.wa0_1 = store;
|
|
2053
2055
|
return i;
|
|
2054
2056
|
};
|
|
2055
2057
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2056
2058
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2057
2059
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2058
|
-
return i.
|
|
2060
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2059
2061
|
};
|
|
2060
2062
|
l.$arity = 2;
|
|
2061
2063
|
return l;
|
|
2062
2064
|
}
|
|
2063
2065
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2064
|
-
this.
|
|
2065
|
-
this.
|
|
2066
|
+
this.fa1_1 = this$0;
|
|
2067
|
+
this.ga1_1 = $playerId;
|
|
2066
2068
|
CoroutineImpl.call(this, resultContinuation);
|
|
2067
2069
|
}
|
|
2068
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2069
|
-
var tmp = this.
|
|
2070
|
+
protoOf(GameServer$playerLive$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2071
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2070
2072
|
tmp.n9_1 = Unit_instance;
|
|
2071
2073
|
tmp.o9_1 = null;
|
|
2072
2074
|
return tmp.t9();
|
|
2073
2075
|
};
|
|
2074
2076
|
protoOf(GameServer$playerLive$slambda).ea = function (p1, p2, $completion) {
|
|
2075
2077
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2076
|
-
return this.
|
|
2078
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2077
2079
|
};
|
|
2078
2080
|
protoOf(GameServer$playerLive$slambda).t9 = function () {
|
|
2079
2081
|
var suspendResult = this.n9_1;
|
|
@@ -2082,16 +2084,16 @@
|
|
|
2082
2084
|
var tmp = this.l9_1;
|
|
2083
2085
|
if (tmp === 0) {
|
|
2084
2086
|
this.m9_1 = 1;
|
|
2085
|
-
if (get_isFinished(this.
|
|
2087
|
+
if (get_isFinished(this.ia1_1.state) || get_isFinishing(this.ia1_1.state)) {
|
|
2086
2088
|
return Unit_instance;
|
|
2087
2089
|
}
|
|
2088
|
-
if (!get_isCreated(this.
|
|
2089
|
-
_get_logger__rkp4sl(this.
|
|
2090
|
+
if (!get_isCreated(this.ia1_1.state) || !this.fa1_1.f6h().j6x()) {
|
|
2091
|
+
_get_logger__rkp4sl(this.fa1_1).w('GameEngine_API', 'playerLive: ' + this.ga1_1 + ' before game is created');
|
|
2090
2092
|
return Unit_instance;
|
|
2091
2093
|
}
|
|
2092
|
-
var tmp_0 = this.
|
|
2094
|
+
var tmp_0 = this.ia1_1.dispatch;
|
|
2093
2095
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2094
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2096
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ga1_1));
|
|
2095
2097
|
return Unit_instance;
|
|
2096
2098
|
} else if (tmp === 1) {
|
|
2097
2099
|
throw this.o9_1;
|
|
@@ -2102,34 +2104,34 @@
|
|
|
2102
2104
|
}
|
|
2103
2105
|
while (true);
|
|
2104
2106
|
};
|
|
2105
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2106
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2107
|
-
i.
|
|
2108
|
-
i.
|
|
2107
|
+
protoOf(GameServer$playerLive$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2108
|
+
var i = new GameServer$playerLive$slambda(this.fa1_1, this.ga1_1, completion);
|
|
2109
|
+
i.ha1_1 = $this$dispatchAsync;
|
|
2110
|
+
i.ia1_1 = store;
|
|
2109
2111
|
return i;
|
|
2110
2112
|
};
|
|
2111
2113
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2112
2114
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2113
2115
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2114
|
-
return i.
|
|
2116
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2115
2117
|
};
|
|
2116
2118
|
l.$arity = 2;
|
|
2117
2119
|
return l;
|
|
2118
2120
|
}
|
|
2119
2121
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2120
|
-
this.
|
|
2121
|
-
this.
|
|
2122
|
+
this.ra1_1 = this$0;
|
|
2123
|
+
this.sa1_1 = $playerId;
|
|
2122
2124
|
CoroutineImpl.call(this, resultContinuation);
|
|
2123
2125
|
}
|
|
2124
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2125
|
-
var tmp = this.
|
|
2126
|
+
protoOf(GameServer$playerLeft$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2127
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2126
2128
|
tmp.n9_1 = Unit_instance;
|
|
2127
2129
|
tmp.o9_1 = null;
|
|
2128
2130
|
return tmp.t9();
|
|
2129
2131
|
};
|
|
2130
2132
|
protoOf(GameServer$playerLeft$slambda).ea = function (p1, p2, $completion) {
|
|
2131
2133
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2132
|
-
return this.
|
|
2134
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2133
2135
|
};
|
|
2134
2136
|
protoOf(GameServer$playerLeft$slambda).t9 = function () {
|
|
2135
2137
|
var suspendResult = this.n9_1;
|
|
@@ -2138,16 +2140,16 @@
|
|
|
2138
2140
|
var tmp = this.l9_1;
|
|
2139
2141
|
if (tmp === 0) {
|
|
2140
2142
|
this.m9_1 = 1;
|
|
2141
|
-
if (get_isFinished(this.
|
|
2143
|
+
if (get_isFinished(this.ua1_1.state) || get_isFinishing(this.ua1_1.state)) {
|
|
2142
2144
|
return Unit_instance;
|
|
2143
2145
|
}
|
|
2144
|
-
if (!get_isCreated(this.
|
|
2145
|
-
_get_logger__rkp4sl(this.
|
|
2146
|
+
if (!get_isCreated(this.ua1_1.state) || !this.ra1_1.f6h().j6x()) {
|
|
2147
|
+
_get_logger__rkp4sl(this.ra1_1).w('GameEngine_API', 'playerLeft: ' + this.sa1_1 + ' before game is created');
|
|
2146
2148
|
return Unit_instance;
|
|
2147
2149
|
}
|
|
2148
|
-
var tmp_0 = this.
|
|
2150
|
+
var tmp_0 = this.ua1_1.dispatch;
|
|
2149
2151
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2150
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2152
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.sa1_1));
|
|
2151
2153
|
return Unit_instance;
|
|
2152
2154
|
} else if (tmp === 1) {
|
|
2153
2155
|
throw this.o9_1;
|
|
@@ -2158,39 +2160,39 @@
|
|
|
2158
2160
|
}
|
|
2159
2161
|
while (true);
|
|
2160
2162
|
};
|
|
2161
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2162
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2163
|
-
i.
|
|
2164
|
-
i.
|
|
2163
|
+
protoOf(GameServer$playerLeft$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2164
|
+
var i = new GameServer$playerLeft$slambda(this.ra1_1, this.sa1_1, completion);
|
|
2165
|
+
i.ta1_1 = $this$dispatchAsync;
|
|
2166
|
+
i.ua1_1 = store;
|
|
2165
2167
|
return i;
|
|
2166
2168
|
};
|
|
2167
2169
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2168
2170
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2169
2171
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2170
|
-
return i.
|
|
2172
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2171
2173
|
};
|
|
2172
2174
|
l.$arity = 2;
|
|
2173
2175
|
return l;
|
|
2174
2176
|
}
|
|
2175
2177
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2178
|
-
this.
|
|
2179
|
-
this.
|
|
2180
|
-
this.
|
|
2181
|
-
this.
|
|
2182
|
-
this.
|
|
2178
|
+
this.da2_1 = $usersArray;
|
|
2179
|
+
this.ea2_1 = $config;
|
|
2180
|
+
this.fa2_1 = this$0;
|
|
2181
|
+
this.ga2_1 = $roomId;
|
|
2182
|
+
this.ha2_1 = $transition;
|
|
2183
|
+
this.ia2_1 = $gameCreatorId;
|
|
2184
|
+
this.ja2_1 = $spectators;
|
|
2183
2185
|
CoroutineImpl.call(this, resultContinuation);
|
|
2184
2186
|
}
|
|
2185
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2186
|
-
var tmp = this.
|
|
2187
|
+
protoOf(GameServer$roomOnCreate$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2188
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2187
2189
|
tmp.n9_1 = Unit_instance;
|
|
2188
2190
|
tmp.o9_1 = null;
|
|
2189
2191
|
return tmp.t9();
|
|
2190
2192
|
};
|
|
2191
2193
|
protoOf(GameServer$roomOnCreate$slambda).ea = function (p1, p2, $completion) {
|
|
2192
2194
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2193
|
-
return this.
|
|
2195
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2194
2196
|
};
|
|
2195
2197
|
protoOf(GameServer$roomOnCreate$slambda).t9 = function () {
|
|
2196
2198
|
var suspendResult = this.n9_1;
|
|
@@ -2199,28 +2201,28 @@
|
|
|
2199
2201
|
var tmp = this.l9_1;
|
|
2200
2202
|
if (tmp === 0) {
|
|
2201
2203
|
this.m9_1 = 1;
|
|
2202
|
-
var users = toList(this.
|
|
2203
|
-
if (!(this.
|
|
2204
|
-
_get_logger__rkp4sl(this.
|
|
2205
|
-
this.
|
|
2204
|
+
var users = toList(this.da2_1);
|
|
2205
|
+
if (!(this.ea2_1.playersMode.count === users.m())) {
|
|
2206
|
+
_get_logger__rkp4sl(this.fa2_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.ga2_1 + ', config = ' + this.ea2_1.toString() + ', users = ' + toString(users));
|
|
2207
|
+
this.la2_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.fa2_1.table.isGameFinished, this.fa2_1.table));
|
|
2206
2208
|
return Unit_instance;
|
|
2207
2209
|
}
|
|
2208
2210
|
var tmp_0;
|
|
2209
|
-
if (this.
|
|
2210
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2211
|
+
if (this.ea2_1.mode.shufflePlayers && this.ha2_1 == null) {
|
|
2212
|
+
tmp_0 = _get_random__h29cgo(this.fa2_1).c62(toMutableList(users));
|
|
2211
2213
|
} else {
|
|
2212
|
-
var tmp0_safe_receiver = this.
|
|
2214
|
+
var tmp0_safe_receiver = this.ha2_1;
|
|
2213
2215
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2214
2216
|
var tmp_1;
|
|
2215
|
-
if (!(previousPlayers == null) && this.
|
|
2216
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2217
|
+
if (!(previousPlayers == null) && this.ea2_1.playersMode.isTeamGame) {
|
|
2218
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.fa2_1);
|
|
2217
2219
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2218
2220
|
var _iterator__ex2g4s = previousPlayers.j();
|
|
2219
2221
|
while (_iterator__ex2g4s.k()) {
|
|
2220
2222
|
var item = _iterator__ex2g4s.l();
|
|
2221
2223
|
destination.e(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2222
2224
|
}
|
|
2223
|
-
var previousTeams = tmp_2.
|
|
2225
|
+
var previousTeams = tmp_2.d8t(destination);
|
|
2224
2226
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2225
2227
|
var _iterator__ex2g4s_0 = users.j();
|
|
2226
2228
|
while (_iterator__ex2g4s_0.k()) {
|
|
@@ -2244,19 +2246,19 @@
|
|
|
2244
2246
|
destination_1.e(destination_2);
|
|
2245
2247
|
}
|
|
2246
2248
|
var updatedTeams = destination_1;
|
|
2247
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2249
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.fa2_1).h8t(updatedTeams);
|
|
2248
2250
|
} else {
|
|
2249
2251
|
tmp_1 = users;
|
|
2250
2252
|
}
|
|
2251
2253
|
tmp_0 = tmp_1;
|
|
2252
2254
|
}
|
|
2253
2255
|
var updatedUsers = tmp_0;
|
|
2254
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2255
|
-
var tmp_3 = this.
|
|
2256
|
+
var gameCreatorUser = getPlayer(users, this.ia2_1);
|
|
2257
|
+
var tmp_3 = this.la2_1.dispatch;
|
|
2256
2258
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2257
2259
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2258
|
-
var tmp3_spectators = toList(this.
|
|
2259
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2260
|
+
var tmp3_spectators = toList(this.ja2_1);
|
|
2261
|
+
tmp_3(new StartGameMechanicAction(this.ea2_1, this.ga2_1, tmp1_version, this.ia2_1, tmp2_users, VOID, tmp3_spectators));
|
|
2260
2262
|
return Unit_instance;
|
|
2261
2263
|
} else if (tmp === 1) {
|
|
2262
2264
|
throw this.o9_1;
|
|
@@ -2267,33 +2269,33 @@
|
|
|
2267
2269
|
}
|
|
2268
2270
|
while (true);
|
|
2269
2271
|
};
|
|
2270
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2271
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2272
|
-
i.
|
|
2273
|
-
i.
|
|
2272
|
+
protoOf(GameServer$roomOnCreate$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2273
|
+
var i = new GameServer$roomOnCreate$slambda(this.da2_1, this.ea2_1, this.fa2_1, this.ga2_1, this.ha2_1, this.ia2_1, this.ja2_1, completion);
|
|
2274
|
+
i.ka2_1 = $this$dispatchAsync;
|
|
2275
|
+
i.la2_1 = store;
|
|
2274
2276
|
return i;
|
|
2275
2277
|
};
|
|
2276
2278
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2277
2279
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2278
2280
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2279
|
-
return i.
|
|
2281
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2280
2282
|
};
|
|
2281
2283
|
l.$arity = 2;
|
|
2282
2284
|
return l;
|
|
2283
2285
|
}
|
|
2284
2286
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2285
|
-
this.
|
|
2287
|
+
this.ua2_1 = $state;
|
|
2286
2288
|
CoroutineImpl.call(this, resultContinuation);
|
|
2287
2289
|
}
|
|
2288
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2289
|
-
var tmp = this.
|
|
2290
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2291
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2290
2292
|
tmp.n9_1 = Unit_instance;
|
|
2291
2293
|
tmp.o9_1 = null;
|
|
2292
2294
|
return tmp.t9();
|
|
2293
2295
|
};
|
|
2294
2296
|
protoOf(GameServer$roomOnContinueFromState$slambda).ea = function (p1, p2, $completion) {
|
|
2295
2297
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2296
|
-
return this.
|
|
2298
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2297
2299
|
};
|
|
2298
2300
|
protoOf(GameServer$roomOnContinueFromState$slambda).t9 = function () {
|
|
2299
2301
|
var suspendResult = this.n9_1;
|
|
@@ -2302,9 +2304,9 @@
|
|
|
2302
2304
|
var tmp = this.l9_1;
|
|
2303
2305
|
if (tmp === 0) {
|
|
2304
2306
|
this.m9_1 = 1;
|
|
2305
|
-
var tmp_0 = this.
|
|
2307
|
+
var tmp_0 = this.wa2_1.dispatch;
|
|
2306
2308
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2307
|
-
var tmp1_table = this.
|
|
2309
|
+
var tmp1_table = this.ua2_1.table;
|
|
2308
2310
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2309
2311
|
return Unit_instance;
|
|
2310
2312
|
} else if (tmp === 1) {
|
|
@@ -2316,33 +2318,33 @@
|
|
|
2316
2318
|
}
|
|
2317
2319
|
while (true);
|
|
2318
2320
|
};
|
|
2319
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2320
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2321
|
-
i.
|
|
2322
|
-
i.
|
|
2321
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2322
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ua2_1, completion);
|
|
2323
|
+
i.va2_1 = $this$dispatchAsync;
|
|
2324
|
+
i.wa2_1 = store;
|
|
2323
2325
|
return i;
|
|
2324
2326
|
};
|
|
2325
2327
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2326
2328
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2327
2329
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2328
|
-
return i.
|
|
2330
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2329
2331
|
};
|
|
2330
2332
|
l.$arity = 2;
|
|
2331
2333
|
return l;
|
|
2332
2334
|
}
|
|
2333
2335
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
2334
|
-
this.
|
|
2336
|
+
this.fa3_1 = $state;
|
|
2335
2337
|
CoroutineImpl.call(this, resultContinuation);
|
|
2336
2338
|
}
|
|
2337
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2338
|
-
var tmp = this.
|
|
2339
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2340
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2339
2341
|
tmp.n9_1 = Unit_instance;
|
|
2340
2342
|
tmp.o9_1 = null;
|
|
2341
2343
|
return tmp.t9();
|
|
2342
2344
|
};
|
|
2343
2345
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).ea = function (p1, p2, $completion) {
|
|
2344
2346
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2345
|
-
return this.
|
|
2347
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2346
2348
|
};
|
|
2347
2349
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).t9 = function () {
|
|
2348
2350
|
var suspendResult = this.n9_1;
|
|
@@ -2351,10 +2353,10 @@
|
|
|
2351
2353
|
var tmp = this.l9_1;
|
|
2352
2354
|
if (tmp === 0) {
|
|
2353
2355
|
this.m9_1 = 1;
|
|
2354
|
-
var _iterator__ex2g4s = this.
|
|
2356
|
+
var _iterator__ex2g4s = this.fa3_1.actions.j();
|
|
2355
2357
|
while (_iterator__ex2g4s.k()) {
|
|
2356
2358
|
var element = _iterator__ex2g4s.l();
|
|
2357
|
-
this.
|
|
2359
|
+
this.ha3_1.dispatch(element);
|
|
2358
2360
|
}
|
|
2359
2361
|
return Unit_instance;
|
|
2360
2362
|
} else if (tmp === 1) {
|
|
@@ -2366,35 +2368,35 @@
|
|
|
2366
2368
|
}
|
|
2367
2369
|
while (true);
|
|
2368
2370
|
};
|
|
2369
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2370
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2371
|
-
i.
|
|
2372
|
-
i.
|
|
2371
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2372
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.fa3_1, completion);
|
|
2373
|
+
i.ga3_1 = $this$dispatchAsync;
|
|
2374
|
+
i.ha3_1 = store;
|
|
2373
2375
|
return i;
|
|
2374
2376
|
};
|
|
2375
2377
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
2376
2378
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
2377
2379
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
-
return i.
|
|
2380
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2379
2381
|
};
|
|
2380
2382
|
l.$arity = 2;
|
|
2381
2383
|
return l;
|
|
2382
2384
|
}
|
|
2383
2385
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2386
|
+
this.qa3_1 = $tableLite;
|
|
2387
|
+
this.ra3_1 = $roomId;
|
|
2388
|
+
this.sa3_1 = this$0;
|
|
2387
2389
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2390
|
}
|
|
2389
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2391
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2392
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2391
2393
|
tmp.n9_1 = Unit_instance;
|
|
2392
2394
|
tmp.o9_1 = null;
|
|
2393
2395
|
return tmp.t9();
|
|
2394
2396
|
};
|
|
2395
2397
|
protoOf(GameServer$roomOnContinueFromRound$slambda).ea = function (p1, p2, $completion) {
|
|
2396
2398
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2397
|
-
return this.
|
|
2399
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2398
2400
|
};
|
|
2399
2401
|
protoOf(GameServer$roomOnContinueFromRound$slambda).t9 = function () {
|
|
2400
2402
|
var suspendResult = this.n9_1;
|
|
@@ -2403,9 +2405,9 @@
|
|
|
2403
2405
|
var tmp = this.l9_1;
|
|
2404
2406
|
if (tmp === 0) {
|
|
2405
2407
|
this.m9_1 = 1;
|
|
2406
|
-
var tmp_0 = this.
|
|
2407
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2408
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2408
|
+
var tmp_0 = this.ua3_1.dispatch;
|
|
2409
|
+
var tmp0_reason = new RestartRoundReason(this.qa3_1.gameInfo.round.roundNumber);
|
|
2410
|
+
var tmp1_table = Companion_instance_0.restartRound(this.ra3_1, _get_idsProvider__fnfajc(this.sa3_1).v6n(), get_versionOrDefault(GameEngineConfig_instance), this.qa3_1);
|
|
2409
2411
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2410
2412
|
return Unit_instance;
|
|
2411
2413
|
} else if (tmp === 1) {
|
|
@@ -2417,16 +2419,16 @@
|
|
|
2417
2419
|
}
|
|
2418
2420
|
while (true);
|
|
2419
2421
|
};
|
|
2420
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2421
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2422
|
-
i.
|
|
2423
|
-
i.
|
|
2422
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2423
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.qa3_1, this.ra3_1, this.sa3_1, completion);
|
|
2424
|
+
i.ta3_1 = $this$dispatchAsync;
|
|
2425
|
+
i.ua3_1 = store;
|
|
2424
2426
|
return i;
|
|
2425
2427
|
};
|
|
2426
2428
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2427
2429
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2428
2430
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
-
return i.
|
|
2431
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2430
2432
|
};
|
|
2431
2433
|
l.$arity = 2;
|
|
2432
2434
|
return l;
|
|
@@ -2434,15 +2436,15 @@
|
|
|
2434
2436
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2435
2437
|
CoroutineImpl.call(this, resultContinuation);
|
|
2436
2438
|
}
|
|
2437
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2438
|
-
var tmp = this.
|
|
2439
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2440
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2439
2441
|
tmp.n9_1 = Unit_instance;
|
|
2440
2442
|
tmp.o9_1 = null;
|
|
2441
2443
|
return tmp.t9();
|
|
2442
2444
|
};
|
|
2443
2445
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ea = function (p1, p2, $completion) {
|
|
2444
2446
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2445
|
-
return this.
|
|
2447
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2446
2448
|
};
|
|
2447
2449
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).t9 = function () {
|
|
2448
2450
|
var suspendResult = this.n9_1;
|
|
@@ -2451,7 +2453,7 @@
|
|
|
2451
2453
|
var tmp = this.l9_1;
|
|
2452
2454
|
if (tmp === 0) {
|
|
2453
2455
|
this.m9_1 = 1;
|
|
2454
|
-
this.
|
|
2456
|
+
this.ea4_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2455
2457
|
return Unit_instance;
|
|
2456
2458
|
} else if (tmp === 1) {
|
|
2457
2459
|
throw this.o9_1;
|
|
@@ -2462,33 +2464,33 @@
|
|
|
2462
2464
|
}
|
|
2463
2465
|
while (true);
|
|
2464
2466
|
};
|
|
2465
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2467
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2466
2468
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2467
|
-
i.
|
|
2468
|
-
i.
|
|
2469
|
+
i.da4_1 = $this$dispatchAsync;
|
|
2470
|
+
i.ea4_1 = store;
|
|
2469
2471
|
return i;
|
|
2470
2472
|
};
|
|
2471
2473
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2472
2474
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2473
2475
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2474
|
-
return i.
|
|
2476
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2475
2477
|
};
|
|
2476
2478
|
l.$arity = 2;
|
|
2477
2479
|
return l;
|
|
2478
2480
|
}
|
|
2479
2481
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2480
|
-
this.
|
|
2482
|
+
this.na4_1 = $spectators;
|
|
2481
2483
|
CoroutineImpl.call(this, resultContinuation);
|
|
2482
2484
|
}
|
|
2483
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2484
|
-
var tmp = this.
|
|
2485
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2486
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2485
2487
|
tmp.n9_1 = Unit_instance;
|
|
2486
2488
|
tmp.o9_1 = null;
|
|
2487
2489
|
return tmp.t9();
|
|
2488
2490
|
};
|
|
2489
2491
|
protoOf(GameServer$addSpectatorsToRoom$slambda).ea = function (p1, p2, $completion) {
|
|
2490
2492
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2491
|
-
return this.
|
|
2493
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2492
2494
|
};
|
|
2493
2495
|
protoOf(GameServer$addSpectatorsToRoom$slambda).t9 = function () {
|
|
2494
2496
|
var suspendResult = this.n9_1;
|
|
@@ -2497,7 +2499,7 @@
|
|
|
2497
2499
|
var tmp = this.l9_1;
|
|
2498
2500
|
if (tmp === 0) {
|
|
2499
2501
|
this.m9_1 = 1;
|
|
2500
|
-
this.
|
|
2502
|
+
this.pa4_1.dispatch(new AddSpectatorsAction(toList(this.na4_1)));
|
|
2501
2503
|
return Unit_instance;
|
|
2502
2504
|
} else if (tmp === 1) {
|
|
2503
2505
|
throw this.o9_1;
|
|
@@ -2508,33 +2510,33 @@
|
|
|
2508
2510
|
}
|
|
2509
2511
|
while (true);
|
|
2510
2512
|
};
|
|
2511
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2512
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2513
|
-
i.
|
|
2514
|
-
i.
|
|
2513
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2514
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.na4_1, completion);
|
|
2515
|
+
i.oa4_1 = $this$dispatchAsync;
|
|
2516
|
+
i.pa4_1 = store;
|
|
2515
2517
|
return i;
|
|
2516
2518
|
};
|
|
2517
2519
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2518
2520
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2519
2521
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2520
|
-
return i.
|
|
2522
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2521
2523
|
};
|
|
2522
2524
|
l.$arity = 2;
|
|
2523
2525
|
return l;
|
|
2524
2526
|
}
|
|
2525
2527
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2526
|
-
this.
|
|
2528
|
+
this.ya4_1 = $spectators;
|
|
2527
2529
|
CoroutineImpl.call(this, resultContinuation);
|
|
2528
2530
|
}
|
|
2529
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2530
|
-
var tmp = this.
|
|
2531
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2532
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2531
2533
|
tmp.n9_1 = Unit_instance;
|
|
2532
2534
|
tmp.o9_1 = null;
|
|
2533
2535
|
return tmp.t9();
|
|
2534
2536
|
};
|
|
2535
2537
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ea = function (p1, p2, $completion) {
|
|
2536
2538
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2537
|
-
return this.
|
|
2539
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2538
2540
|
};
|
|
2539
2541
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).t9 = function () {
|
|
2540
2542
|
var suspendResult = this.n9_1;
|
|
@@ -2543,7 +2545,7 @@
|
|
|
2543
2545
|
var tmp = this.l9_1;
|
|
2544
2546
|
if (tmp === 0) {
|
|
2545
2547
|
this.m9_1 = 1;
|
|
2546
|
-
this.
|
|
2548
|
+
this.aa5_1.dispatch(new RemoveSpectatorsAction(toList(this.ya4_1)));
|
|
2547
2549
|
return Unit_instance;
|
|
2548
2550
|
} else if (tmp === 1) {
|
|
2549
2551
|
throw this.o9_1;
|
|
@@ -2554,34 +2556,34 @@
|
|
|
2554
2556
|
}
|
|
2555
2557
|
while (true);
|
|
2556
2558
|
};
|
|
2557
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2558
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2559
|
-
i.
|
|
2560
|
-
i.
|
|
2559
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2560
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ya4_1, completion);
|
|
2561
|
+
i.za4_1 = $this$dispatchAsync;
|
|
2562
|
+
i.aa5_1 = store;
|
|
2561
2563
|
return i;
|
|
2562
2564
|
};
|
|
2563
2565
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2564
2566
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2565
2567
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2566
|
-
return i.
|
|
2568
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2567
2569
|
};
|
|
2568
2570
|
l.$arity = 2;
|
|
2569
2571
|
return l;
|
|
2570
2572
|
}
|
|
2571
2573
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2574
|
+
this.ja5_1 = $playerId;
|
|
2575
|
+
this.ka5_1 = this$0;
|
|
2574
2576
|
CoroutineImpl.call(this, resultContinuation);
|
|
2575
2577
|
}
|
|
2576
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2577
|
-
var tmp = this.
|
|
2578
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2579
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2578
2580
|
tmp.n9_1 = Unit_instance;
|
|
2579
2581
|
tmp.o9_1 = null;
|
|
2580
2582
|
return tmp.t9();
|
|
2581
2583
|
};
|
|
2582
2584
|
protoOf(GameServer$roomRefreshPlayerState$slambda).ea = function (p1, p2, $completion) {
|
|
2583
2585
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2584
|
-
return this.
|
|
2586
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2585
2587
|
};
|
|
2586
2588
|
protoOf(GameServer$roomRefreshPlayerState$slambda).t9 = function () {
|
|
2587
2589
|
var suspendResult = this.n9_1;
|
|
@@ -2590,14 +2592,14 @@
|
|
|
2590
2592
|
var tmp = this.l9_1;
|
|
2591
2593
|
if (tmp === 0) {
|
|
2592
2594
|
this.m9_1 = 1;
|
|
2593
|
-
var table = this.
|
|
2594
|
-
var player = getPlayer(table.players, this.
|
|
2595
|
-
if (player.
|
|
2596
|
-
this.
|
|
2595
|
+
var table = this.ma5_1.state.i6x();
|
|
2596
|
+
var player = getPlayer(table.players, this.ja5_1);
|
|
2597
|
+
if (player.t70_1.i6j().z6h_1.isLive) {
|
|
2598
|
+
this.ma5_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ka5_1).a90(player, table));
|
|
2597
2599
|
} else {
|
|
2598
|
-
var tmp_0 = this.
|
|
2600
|
+
var tmp_0 = this.ma5_1.dispatch;
|
|
2599
2601
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2600
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2602
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ja5_1));
|
|
2601
2603
|
}
|
|
2602
2604
|
return Unit_instance;
|
|
2603
2605
|
} else if (tmp === 1) {
|
|
@@ -2609,34 +2611,34 @@
|
|
|
2609
2611
|
}
|
|
2610
2612
|
while (true);
|
|
2611
2613
|
};
|
|
2612
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2613
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2614
|
-
i.
|
|
2615
|
-
i.
|
|
2614
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2615
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ja5_1, this.ka5_1, completion);
|
|
2616
|
+
i.la5_1 = $this$dispatchAsync;
|
|
2617
|
+
i.ma5_1 = store;
|
|
2616
2618
|
return i;
|
|
2617
2619
|
};
|
|
2618
2620
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2619
2621
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2620
2622
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2621
|
-
return i.
|
|
2623
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2622
2624
|
};
|
|
2623
2625
|
l.$arity = 2;
|
|
2624
2626
|
return l;
|
|
2625
2627
|
}
|
|
2626
2628
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2629
|
+
this.va5_1 = this$0;
|
|
2630
|
+
this.wa5_1 = $newRid;
|
|
2629
2631
|
CoroutineImpl.call(this, resultContinuation);
|
|
2630
2632
|
}
|
|
2631
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2632
|
-
var tmp = this.
|
|
2633
|
+
protoOf(GameServer$roomOnDelete$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2634
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2633
2635
|
tmp.n9_1 = Unit_instance;
|
|
2634
2636
|
tmp.o9_1 = null;
|
|
2635
2637
|
return tmp.t9();
|
|
2636
2638
|
};
|
|
2637
2639
|
protoOf(GameServer$roomOnDelete$slambda).ea = function (p1, p2, $completion) {
|
|
2638
2640
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2639
|
-
return this.
|
|
2641
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2640
2642
|
};
|
|
2641
2643
|
protoOf(GameServer$roomOnDelete$slambda).t9 = function () {
|
|
2642
2644
|
var suspendResult = this.n9_1;
|
|
@@ -2645,27 +2647,27 @@
|
|
|
2645
2647
|
var tmp = this.l9_1;
|
|
2646
2648
|
if (tmp === 0) {
|
|
2647
2649
|
this.m9_1 = 1;
|
|
2648
|
-
var it = this.
|
|
2650
|
+
var it = this.va5_1.f6h().u6w_1;
|
|
2649
2651
|
var tmp_0;
|
|
2650
2652
|
if (it == null) {
|
|
2651
|
-
_get_logger__rkp4sl(this.
|
|
2653
|
+
_get_logger__rkp4sl(this.va5_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2652
2654
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2653
2655
|
} else {
|
|
2654
2656
|
tmp_0 = it;
|
|
2655
2657
|
}
|
|
2656
2658
|
var terminationState = tmp_0;
|
|
2657
|
-
var gameTransition = terminationState.
|
|
2659
|
+
var gameTransition = terminationState.e94_1;
|
|
2658
2660
|
var tmp_1;
|
|
2659
2661
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2660
|
-
var tmp0_elvis_lhs = this.
|
|
2662
|
+
var tmp0_elvis_lhs = this.wa5_1;
|
|
2661
2663
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2662
2664
|
} else {
|
|
2663
2665
|
tmp_1 = gameTransition;
|
|
2664
2666
|
}
|
|
2665
2667
|
var transition = tmp_1;
|
|
2666
|
-
var tmp_2 = this.
|
|
2667
|
-
var tmp0_reason = terminationState.
|
|
2668
|
-
var tmp1_isGameFinished = this.
|
|
2668
|
+
var tmp_2 = this.ya5_1.dispatch;
|
|
2669
|
+
var tmp0_reason = terminationState.d94_1;
|
|
2670
|
+
var tmp1_isGameFinished = this.va5_1.f6h().i6x().isGameFinished;
|
|
2669
2671
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2670
2672
|
return Unit_instance;
|
|
2671
2673
|
} else if (tmp === 1) {
|
|
@@ -2677,33 +2679,33 @@
|
|
|
2677
2679
|
}
|
|
2678
2680
|
while (true);
|
|
2679
2681
|
};
|
|
2680
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2681
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2682
|
-
i.
|
|
2683
|
-
i.
|
|
2682
|
+
protoOf(GameServer$roomOnDelete$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2683
|
+
var i = new GameServer$roomOnDelete$slambda(this.va5_1, this.wa5_1, completion);
|
|
2684
|
+
i.xa5_1 = $this$dispatchAsync;
|
|
2685
|
+
i.ya5_1 = store;
|
|
2684
2686
|
return i;
|
|
2685
2687
|
};
|
|
2686
2688
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2687
2689
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2688
2690
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2689
|
-
return i.
|
|
2691
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2690
2692
|
};
|
|
2691
2693
|
l.$arity = 2;
|
|
2692
2694
|
return l;
|
|
2693
2695
|
}
|
|
2694
2696
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2695
|
-
this.
|
|
2697
|
+
this.ha6_1 = $enabled;
|
|
2696
2698
|
CoroutineImpl.call(this, resultContinuation);
|
|
2697
2699
|
}
|
|
2698
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2699
|
-
var tmp = this.
|
|
2700
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2701
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2700
2702
|
tmp.n9_1 = Unit_instance;
|
|
2701
2703
|
tmp.o9_1 = null;
|
|
2702
2704
|
return tmp.t9();
|
|
2703
2705
|
};
|
|
2704
2706
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ea = function (p1, p2, $completion) {
|
|
2705
2707
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2706
|
-
return this.
|
|
2708
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2707
2709
|
};
|
|
2708
2710
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).t9 = function () {
|
|
2709
2711
|
var suspendResult = this.n9_1;
|
|
@@ -2712,7 +2714,7 @@
|
|
|
2712
2714
|
var tmp = this.l9_1;
|
|
2713
2715
|
if (tmp === 0) {
|
|
2714
2716
|
this.m9_1 = 1;
|
|
2715
|
-
this.
|
|
2717
|
+
this.ja6_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ja6_1.state).config.copy(VOID, this.ha6_1)));
|
|
2716
2718
|
return Unit_instance;
|
|
2717
2719
|
} else if (tmp === 1) {
|
|
2718
2720
|
throw this.o9_1;
|
|
@@ -2723,35 +2725,35 @@
|
|
|
2723
2725
|
}
|
|
2724
2726
|
while (true);
|
|
2725
2727
|
};
|
|
2726
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2727
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2728
|
-
i.
|
|
2729
|
-
i.
|
|
2728
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2729
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ha6_1, completion);
|
|
2730
|
+
i.ia6_1 = $this$dispatchAsync;
|
|
2731
|
+
i.ja6_1 = store;
|
|
2730
2732
|
return i;
|
|
2731
2733
|
};
|
|
2732
2734
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2733
2735
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2734
2736
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2735
|
-
return i.
|
|
2737
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2736
2738
|
};
|
|
2737
2739
|
l.$arity = 2;
|
|
2738
2740
|
return l;
|
|
2739
2741
|
}
|
|
2740
2742
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2741
|
-
this.
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2743
|
+
this.sa6_1 = $reason;
|
|
2744
|
+
this.ta6_1 = this$0;
|
|
2745
|
+
this.ua6_1 = $roomId;
|
|
2744
2746
|
CoroutineImpl.call(this, resultContinuation);
|
|
2745
2747
|
}
|
|
2746
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2747
|
-
var tmp = this.
|
|
2748
|
+
protoOf(GameServer$shutdown$slambda).ka0 = function ($this$dispatchAsync, store, $completion) {
|
|
2749
|
+
var tmp = this.la0($this$dispatchAsync, store, $completion);
|
|
2748
2750
|
tmp.n9_1 = Unit_instance;
|
|
2749
2751
|
tmp.o9_1 = null;
|
|
2750
2752
|
return tmp.t9();
|
|
2751
2753
|
};
|
|
2752
2754
|
protoOf(GameServer$shutdown$slambda).ea = function (p1, p2, $completion) {
|
|
2753
2755
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2754
|
-
return this.
|
|
2756
|
+
return this.ka0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2755
2757
|
};
|
|
2756
2758
|
protoOf(GameServer$shutdown$slambda).t9 = function () {
|
|
2757
2759
|
var suspendResult = this.n9_1;
|
|
@@ -2760,11 +2762,11 @@
|
|
|
2760
2762
|
var tmp = this.l9_1;
|
|
2761
2763
|
if (tmp === 0) {
|
|
2762
2764
|
this.m9_1 = 1;
|
|
2763
|
-
var state = this.
|
|
2765
|
+
var state = this.wa6_1.store.state;
|
|
2764
2766
|
if (state.j6x()) {
|
|
2765
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2767
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.sa6_1, get_serverShutdownReasonMapping());
|
|
2766
2768
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2767
|
-
var tmp_0 = this.
|
|
2769
|
+
var tmp_0 = this.wa6_1.dispatch;
|
|
2768
2770
|
var tmp_1 = Companion_instance;
|
|
2769
2771
|
var tmp_2;
|
|
2770
2772
|
switch (shutdownReason.r2_1) {
|
|
@@ -2778,12 +2780,12 @@
|
|
|
2778
2780
|
noWhenBranchMatchedException();
|
|
2779
2781
|
break;
|
|
2780
2782
|
}
|
|
2781
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2783
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ta6_1.table.isGameFinished, this.ta6_1.table));
|
|
2782
2784
|
} else {
|
|
2783
|
-
_get_logger__rkp4sl(this.
|
|
2784
|
-
var tmp_3 = this.
|
|
2785
|
+
_get_logger__rkp4sl(this.ta6_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ua6_1);
|
|
2786
|
+
var tmp_3 = this.wa6_1.dispatch;
|
|
2785
2787
|
var tmp2_safe_receiver = state.u6w_1;
|
|
2786
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2788
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.e94_1));
|
|
2787
2789
|
}
|
|
2788
2790
|
return Unit_instance;
|
|
2789
2791
|
} else if (tmp === 1) {
|
|
@@ -2795,16 +2797,16 @@
|
|
|
2795
2797
|
}
|
|
2796
2798
|
while (true);
|
|
2797
2799
|
};
|
|
2798
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2799
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2800
|
-
i.
|
|
2801
|
-
i.
|
|
2800
|
+
protoOf(GameServer$shutdown$slambda).la0 = function ($this$dispatchAsync, store, completion) {
|
|
2801
|
+
var i = new GameServer$shutdown$slambda(this.sa6_1, this.ta6_1, this.ua6_1, completion);
|
|
2802
|
+
i.va6_1 = $this$dispatchAsync;
|
|
2803
|
+
i.wa6_1 = store;
|
|
2802
2804
|
return i;
|
|
2803
2805
|
};
|
|
2804
2806
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2805
2807
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2806
2808
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2807
|
-
return i.
|
|
2809
|
+
return i.ka0($this$dispatchAsync, store, $completion);
|
|
2808
2810
|
};
|
|
2809
2811
|
l.$arity = 2;
|
|
2810
2812
|
return l;
|
|
@@ -2835,7 +2837,7 @@
|
|
|
2835
2837
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2836
2838
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2837
2839
|
var tmp_4 = KProperty1;
|
|
2838
|
-
tmp_1.
|
|
2840
|
+
tmp_1.c9x_1 = tmp_3.o69(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2839
2841
|
var tmp_5 = this;
|
|
2840
2842
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2843
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2843,7 +2845,7 @@
|
|
|
2843
2845
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2844
2846
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2845
2847
|
var tmp_8 = KProperty1;
|
|
2846
|
-
tmp_5.
|
|
2848
|
+
tmp_5.d9x_1 = tmp_7.o69(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2847
2849
|
var tmp_9 = this;
|
|
2848
2850
|
// Inline function 'org.kodein.di.instance' call
|
|
2849
2851
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2851,7 +2853,7 @@
|
|
|
2851
2853
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2852
2854
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2853
2855
|
var tmp_12 = KProperty1;
|
|
2854
|
-
tmp_9.
|
|
2856
|
+
tmp_9.e9x_1 = tmp_11.o69(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2855
2857
|
var tmp_13 = this;
|
|
2856
2858
|
// Inline function 'org.kodein.di.instance' call
|
|
2857
2859
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2859,7 +2861,7 @@
|
|
|
2859
2861
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2860
2862
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2861
2863
|
var tmp_16 = KProperty1;
|
|
2862
|
-
tmp_13.
|
|
2864
|
+
tmp_13.f9x_1 = tmp_15.o69(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2863
2865
|
var tmp_17 = this;
|
|
2864
2866
|
// Inline function 'org.kodein.di.instance' call
|
|
2865
2867
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2867,9 +2869,9 @@
|
|
|
2867
2869
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2868
2870
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2869
2871
|
var tmp_20 = KProperty1;
|
|
2870
|
-
tmp_17.
|
|
2872
|
+
tmp_17.g9x_1 = tmp_19.o69(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2871
2873
|
var tmp_21 = this;
|
|
2872
|
-
tmp_21.
|
|
2874
|
+
tmp_21.h9x_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2873
2875
|
var tmp_22 = this;
|
|
2874
2876
|
// Inline function 'org.kodein.di.instance' call
|
|
2875
2877
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2877,7 +2879,7 @@
|
|
|
2877
2879
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2878
2880
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2879
2881
|
var tmp_25 = KProperty1;
|
|
2880
|
-
tmp_22.
|
|
2882
|
+
tmp_22.i9x_1 = tmp_24.o69(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2881
2883
|
var tmp_26 = this;
|
|
2882
2884
|
// Inline function 'org.kodein.di.instance' call
|
|
2883
2885
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2885,7 +2887,7 @@
|
|
|
2885
2887
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2886
2888
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2887
2889
|
var tmp_29 = KProperty1;
|
|
2888
|
-
tmp_26.
|
|
2890
|
+
tmp_26.j9x_1 = tmp_28.o69(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2889
2891
|
var tmp_30 = this;
|
|
2890
2892
|
// Inline function 'org.kodein.di.instance' call
|
|
2891
2893
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2893,14 +2895,14 @@
|
|
|
2893
2895
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2894
2896
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2895
2897
|
var tmp_33 = KProperty1;
|
|
2896
|
-
tmp_30.
|
|
2898
|
+
tmp_30.k9x_1 = tmp_32.o69(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2897
2899
|
var tmp_34 = this;
|
|
2898
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2899
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2900
|
-
tmp_34.
|
|
2900
|
+
var tmp0_externalMiddlewares = plus(storeContract.p98(), externalMiddlewares);
|
|
2901
|
+
var tmp1_externalReducers = plus(storeContract.o98(), externalReducers);
|
|
2902
|
+
tmp_34.l9x_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2901
2903
|
}
|
|
2902
2904
|
protoOf(GameServer).i6w = function () {
|
|
2903
|
-
return this.
|
|
2905
|
+
return this.l9x_1;
|
|
2904
2906
|
};
|
|
2905
2907
|
protoOf(GameServer).o5p = function () {
|
|
2906
2908
|
return this.f6h().i6x().id;
|
|
@@ -2932,55 +2934,55 @@
|
|
|
2932
2934
|
};
|
|
2933
2935
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2934
2936
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2935
|
-
this.
|
|
2937
|
+
this.l9x_1.h6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2936
2938
|
};
|
|
2937
2939
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2938
2940
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2939
|
-
this.
|
|
2941
|
+
this.l9x_1.h6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2940
2942
|
};
|
|
2941
2943
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2942
2944
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2943
|
-
this.
|
|
2945
|
+
this.l9x_1.h6x(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2944
2946
|
};
|
|
2945
2947
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2946
2948
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2947
|
-
this.
|
|
2949
|
+
this.l9x_1.h6x(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2948
2950
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2951
|
+
protoOf(GameServer).xa6 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2950
2952
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2951
|
-
this.
|
|
2953
|
+
this.l9x_1.h6x(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2952
2954
|
};
|
|
2953
2955
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2954
2956
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2955
|
-
this.
|
|
2956
|
-
this.
|
|
2957
|
+
this.l9x_1.h6x(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2958
|
+
this.l9x_1.h6x(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2957
2959
|
};
|
|
2958
2960
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2959
2961
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2962
|
+
this.l9x_1.h6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2963
|
+
this.l9x_1.h6x(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2962
2964
|
};
|
|
2963
2965
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2964
|
-
this.
|
|
2966
|
+
this.l9x_1.h6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2965
2967
|
};
|
|
2966
2968
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2967
|
-
this.
|
|
2969
|
+
this.l9x_1.h6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2968
2970
|
};
|
|
2969
2971
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2970
2972
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2971
|
-
this.
|
|
2973
|
+
this.l9x_1.h6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2972
2974
|
};
|
|
2973
|
-
protoOf(GameServer).
|
|
2975
|
+
protoOf(GameServer).ya6 = function (newRid) {
|
|
2974
2976
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2975
|
-
this.
|
|
2977
|
+
this.l9x_1.h6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2976
2978
|
};
|
|
2977
2979
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2978
2980
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2979
|
-
this.
|
|
2981
|
+
this.l9x_1.h6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2980
2982
|
};
|
|
2981
|
-
protoOf(GameServer).
|
|
2983
|
+
protoOf(GameServer).za6 = function (reason, roomId) {
|
|
2982
2984
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2983
|
-
this.
|
|
2985
|
+
this.l9x_1.h6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2984
2986
|
};
|
|
2985
2987
|
protoOf(GameServer).clear = function () {
|
|
2986
2988
|
return this.d2();
|
|
@@ -3031,10 +3033,10 @@
|
|
|
3031
3033
|
this.fromRound = fromRound;
|
|
3032
3034
|
this.canStartNewGame = canStartNewGame;
|
|
3033
3035
|
}
|
|
3034
|
-
protoOf(ServerConfig).
|
|
3036
|
+
protoOf(ServerConfig).aa7 = function () {
|
|
3035
3037
|
return this.fromRound;
|
|
3036
3038
|
};
|
|
3037
|
-
protoOf(ServerConfig).
|
|
3039
|
+
protoOf(ServerConfig).ba7 = function () {
|
|
3038
3040
|
return this.canStartNewGame;
|
|
3039
3041
|
};
|
|
3040
3042
|
protoOf(ServerConfig).kf = function () {
|
|
@@ -3043,13 +3045,13 @@
|
|
|
3043
3045
|
protoOf(ServerConfig).lf = function () {
|
|
3044
3046
|
return this.canStartNewGame;
|
|
3045
3047
|
};
|
|
3046
|
-
protoOf(ServerConfig).
|
|
3048
|
+
protoOf(ServerConfig).ca7 = function (fromRound, canStartNewGame) {
|
|
3047
3049
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3048
3050
|
};
|
|
3049
3051
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3050
3052
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3051
3053
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3052
|
-
return $super === VOID ? this.
|
|
3054
|
+
return $super === VOID ? this.ca7(fromRound, canStartNewGame) : $super.ca7.call(this, fromRound, canStartNewGame);
|
|
3053
3055
|
};
|
|
3054
3056
|
protoOf(ServerConfig).toString = function () {
|
|
3055
3057
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3111,19 +3113,19 @@
|
|
|
3111
3113
|
$serializer_instance = this;
|
|
3112
3114
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3113
3115
|
tmp0_serialDesc.z4j('table', false);
|
|
3114
|
-
this.
|
|
3116
|
+
this.da7_1 = tmp0_serialDesc;
|
|
3115
3117
|
}
|
|
3116
|
-
protoOf($serializer).
|
|
3117
|
-
var tmp0_desc = this.
|
|
3118
|
+
protoOf($serializer).ea7 = function (encoder, value) {
|
|
3119
|
+
var tmp0_desc = this.da7_1;
|
|
3118
3120
|
var tmp1_output = encoder.i4c(tmp0_desc);
|
|
3119
3121
|
tmp1_output.x4d(tmp0_desc, 0, value.table);
|
|
3120
3122
|
tmp1_output.j4c(tmp0_desc);
|
|
3121
3123
|
};
|
|
3122
3124
|
protoOf($serializer).w48 = function (encoder, value) {
|
|
3123
|
-
return this.
|
|
3125
|
+
return this.ea7(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3124
3126
|
};
|
|
3125
3127
|
protoOf($serializer).x48 = function (decoder) {
|
|
3126
|
-
var tmp0_desc = this.
|
|
3128
|
+
var tmp0_desc = this.da7_1;
|
|
3127
3129
|
var tmp1_flag = true;
|
|
3128
3130
|
var tmp2_index = 0;
|
|
3129
3131
|
var tmp3_bitMask0 = 0;
|
|
@@ -3151,7 +3153,7 @@
|
|
|
3151
3153
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3152
3154
|
};
|
|
3153
3155
|
protoOf($serializer).v48 = function () {
|
|
3154
|
-
return this.
|
|
3156
|
+
return this.da7_1;
|
|
3155
3157
|
};
|
|
3156
3158
|
protoOf($serializer).o4k = function () {
|
|
3157
3159
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3167,7 +3169,7 @@
|
|
|
3167
3169
|
}
|
|
3168
3170
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3169
3171
|
if (!(1 === (1 & seen0))) {
|
|
3170
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3172
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().da7_1);
|
|
3171
3173
|
}
|
|
3172
3174
|
$this.table = table;
|
|
3173
3175
|
return $this;
|
|
@@ -3220,19 +3222,19 @@
|
|
|
3220
3222
|
$serializer_instance_0 = this;
|
|
3221
3223
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3222
3224
|
tmp0_serialDesc.z4j('actions', false);
|
|
3223
|
-
this.
|
|
3225
|
+
this.fa7_1 = tmp0_serialDesc;
|
|
3224
3226
|
}
|
|
3225
|
-
protoOf($serializer_0).
|
|
3226
|
-
var tmp0_desc = this.
|
|
3227
|
+
protoOf($serializer_0).ga7 = function (encoder, value) {
|
|
3228
|
+
var tmp0_desc = this.fa7_1;
|
|
3227
3229
|
var tmp1_output = encoder.i4c(tmp0_desc);
|
|
3228
3230
|
tmp1_output.x4d(tmp0_desc, 0, value.actions);
|
|
3229
3231
|
tmp1_output.j4c(tmp0_desc);
|
|
3230
3232
|
};
|
|
3231
3233
|
protoOf($serializer_0).w48 = function (encoder, value) {
|
|
3232
|
-
return this.
|
|
3234
|
+
return this.ga7(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3233
3235
|
};
|
|
3234
3236
|
protoOf($serializer_0).x48 = function (decoder) {
|
|
3235
|
-
var tmp0_desc = this.
|
|
3237
|
+
var tmp0_desc = this.fa7_1;
|
|
3236
3238
|
var tmp1_flag = true;
|
|
3237
3239
|
var tmp2_index = 0;
|
|
3238
3240
|
var tmp3_bitMask0 = 0;
|
|
@@ -3260,7 +3262,7 @@
|
|
|
3260
3262
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3261
3263
|
};
|
|
3262
3264
|
protoOf($serializer_0).v48 = function () {
|
|
3263
|
-
return this.
|
|
3265
|
+
return this.fa7_1;
|
|
3264
3266
|
};
|
|
3265
3267
|
protoOf($serializer_0).o4k = function () {
|
|
3266
3268
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3276,7 +3278,7 @@
|
|
|
3276
3278
|
}
|
|
3277
3279
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3278
3280
|
if (!(1 === (1 & seen0))) {
|
|
3279
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3281
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().fa7_1);
|
|
3280
3282
|
}
|
|
3281
3283
|
$this.actions = actions;
|
|
3282
3284
|
return $this;
|
|
@@ -3287,7 +3289,7 @@
|
|
|
3287
3289
|
function ActionsStateUpdateDto(actions) {
|
|
3288
3290
|
this.actions = actions;
|
|
3289
3291
|
}
|
|
3290
|
-
protoOf(ActionsStateUpdateDto).
|
|
3292
|
+
protoOf(ActionsStateUpdateDto).t8l = function () {
|
|
3291
3293
|
return this.actions;
|
|
3292
3294
|
};
|
|
3293
3295
|
protoOf(ActionsStateUpdateDto).kf = function () {
|
|
@@ -3340,10 +3342,10 @@
|
|
|
3340
3342
|
var tmp$ret$0 = mapToDto(item);
|
|
3341
3343
|
destination.e(tmp$ret$0);
|
|
3342
3344
|
}
|
|
3343
|
-
return new ActionsStateUpdateDto(encoderDecoderProvider.
|
|
3345
|
+
return new ActionsStateUpdateDto(encoderDecoderProvider.m8s(destination));
|
|
3344
3346
|
}
|
|
3345
3347
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3346
|
-
return new TableStateUpdateDto(encoderDecoderProvider.
|
|
3348
|
+
return new TableStateUpdateDto(encoderDecoderProvider.k8s(mapToDto_0(_this__u8e3s4.table)));
|
|
3347
3349
|
}
|
|
3348
3350
|
function ServerStateUpdate() {
|
|
3349
3351
|
}
|
|
@@ -3356,12 +3358,12 @@
|
|
|
3356
3358
|
protoOf(TableStateUpdate).kf = function () {
|
|
3357
3359
|
return this.table;
|
|
3358
3360
|
};
|
|
3359
|
-
protoOf(TableStateUpdate).
|
|
3361
|
+
protoOf(TableStateUpdate).ha7 = function (table) {
|
|
3360
3362
|
return new TableStateUpdate(table);
|
|
3361
3363
|
};
|
|
3362
3364
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3363
3365
|
table = table === VOID ? this.table : table;
|
|
3364
|
-
return $super === VOID ? this.
|
|
3366
|
+
return $super === VOID ? this.ha7(table) : $super.ha7.call(this, table);
|
|
3365
3367
|
};
|
|
3366
3368
|
protoOf(TableStateUpdate).toString = function () {
|
|
3367
3369
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3382,18 +3384,18 @@
|
|
|
3382
3384
|
function ActionsStateUpdate(actions) {
|
|
3383
3385
|
this.actions = actions;
|
|
3384
3386
|
}
|
|
3385
|
-
protoOf(ActionsStateUpdate).
|
|
3387
|
+
protoOf(ActionsStateUpdate).t8l = function () {
|
|
3386
3388
|
return this.actions;
|
|
3387
3389
|
};
|
|
3388
3390
|
protoOf(ActionsStateUpdate).kf = function () {
|
|
3389
3391
|
return this.actions;
|
|
3390
3392
|
};
|
|
3391
|
-
protoOf(ActionsStateUpdate).
|
|
3393
|
+
protoOf(ActionsStateUpdate).ia7 = function (actions) {
|
|
3392
3394
|
return new ActionsStateUpdate(actions);
|
|
3393
3395
|
};
|
|
3394
3396
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3395
3397
|
actions = actions === VOID ? this.actions : actions;
|
|
3396
|
-
return $super === VOID ? this.
|
|
3398
|
+
return $super === VOID ? this.ia7(actions) : $super.ia7.call(this, actions);
|
|
3397
3399
|
};
|
|
3398
3400
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3399
3401
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3411,13 +3413,13 @@
|
|
|
3411
3413
|
return false;
|
|
3412
3414
|
return true;
|
|
3413
3415
|
};
|
|
3414
|
-
function getServerEngineGameDI(engineBotConfig, engineLogicConfig, dealerConfig) {
|
|
3415
|
-
return Module_init_$Create$('Server Game engine module', VOID, VOID, getServerEngineGameDI$lambda(engineBotConfig, engineLogicConfig, dealerConfig));
|
|
3416
|
+
function getServerEngineGameDI(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig) {
|
|
3417
|
+
return Module_init_$Create$('Server Game engine module', VOID, VOID, getServerEngineGameDI$lambda(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig));
|
|
3416
3418
|
}
|
|
3417
|
-
function createGameServerDI(serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares) {
|
|
3419
|
+
function createGameServerDI(serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares) {
|
|
3418
3420
|
externalReducers = externalReducers === VOID ? emptyList() : externalReducers;
|
|
3419
3421
|
externalMiddlewares = externalMiddlewares === VOID ? emptyList() : externalMiddlewares;
|
|
3420
|
-
return Module_init_$Create$('Server Game DI module', VOID, VOID, createGameServerDI$lambda(botConfig, logicConfig, dealerConfig, serverConfig, externalReducers, externalMiddlewares));
|
|
3422
|
+
return Module_init_$Create$('Server Game DI module', VOID, VOID, createGameServerDI$lambda(botConfig, logicConfig, dealerConfig, ratingConfig, serverConfig, externalReducers, externalMiddlewares));
|
|
3421
3423
|
}
|
|
3422
3424
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
3423
3425
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -3494,10 +3496,10 @@
|
|
|
3494
3496
|
var tmp$ret$5 = tmp_5.f65(tmp$ret$4, null);
|
|
3495
3497
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
3496
3498
|
}
|
|
3497
|
-
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig) {
|
|
3499
|
+
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig) {
|
|
3498
3500
|
return function ($this$Module) {
|
|
3499
3501
|
$this$Module.v63(jsonModule(emptyList()));
|
|
3500
|
-
$this$Module.v63(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
|
|
3502
|
+
$this$Module.v63(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig));
|
|
3501
3503
|
// Inline function 'org.kodein.di.bind' call
|
|
3502
3504
|
// Inline function 'org.kodein.type.generic' call
|
|
3503
3505
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
@@ -3570,7 +3572,7 @@
|
|
|
3570
3572
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3571
3573
|
return tmp.f65(tmp$ret$0, null);
|
|
3572
3574
|
}
|
|
3573
|
-
function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
3575
|
+
function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $ratingConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
3574
3576
|
return function ($this$Module) {
|
|
3575
3577
|
// Inline function 'org.kodein.di.bind' call
|
|
3576
3578
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3587,7 +3589,7 @@
|
|
|
3587
3589
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3588
3590
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
3589
3591
|
tmp_0.r67(tmp$ret$3);
|
|
3590
|
-
$this$Module.v63(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
|
|
3592
|
+
$this$Module.v63(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig, $ratingConfig));
|
|
3591
3593
|
// Inline function 'org.kodein.di.bind' call
|
|
3592
3594
|
// Inline function 'org.kodein.type.generic' call
|
|
3593
3595
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
@@ -3639,18 +3641,18 @@
|
|
|
3639
3641
|
function ToClientEventsObserver() {
|
|
3640
3642
|
}
|
|
3641
3643
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3642
|
-
this.
|
|
3643
|
-
this.
|
|
3644
|
+
this.sa7_1 = this$0;
|
|
3645
|
+
this.ta7_1 = $actions;
|
|
3644
3646
|
CoroutineImpl.call(this, resultContinuation);
|
|
3645
3647
|
}
|
|
3646
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3647
|
-
var tmp = this.
|
|
3648
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da8 = function ($this$flow, $completion) {
|
|
3649
|
+
var tmp = this.ea8($this$flow, $completion);
|
|
3648
3650
|
tmp.n9_1 = Unit_instance;
|
|
3649
3651
|
tmp.o9_1 = null;
|
|
3650
3652
|
return tmp.t9();
|
|
3651
3653
|
};
|
|
3652
3654
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da = function (p1, $completion) {
|
|
3653
|
-
return this.
|
|
3655
|
+
return this.da8((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3654
3656
|
};
|
|
3655
3657
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).t9 = function () {
|
|
3656
3658
|
var suspendResult = this.n9_1;
|
|
@@ -3661,26 +3663,26 @@
|
|
|
3661
3663
|
case 0:
|
|
3662
3664
|
this.m9_1 = 4;
|
|
3663
3665
|
var tmp_0 = this;
|
|
3664
|
-
tmp_0.
|
|
3665
|
-
this.
|
|
3666
|
+
tmp_0.va7_1 = this.sa7_1.ja8_1;
|
|
3667
|
+
this.wa7_1 = this.va7_1;
|
|
3666
3668
|
var tmp_1 = this;
|
|
3667
|
-
tmp_1.
|
|
3668
|
-
this.
|
|
3669
|
-
this.
|
|
3669
|
+
tmp_1.xa7_1 = transformToEmits(this.sa7_1, this.ta7_1);
|
|
3670
|
+
this.ya7_1 = this.xa7_1;
|
|
3671
|
+
this.za7_1 = this.ya7_1.j();
|
|
3670
3672
|
this.l9_1 = 1;
|
|
3671
3673
|
continue $sm;
|
|
3672
3674
|
case 1:
|
|
3673
|
-
if (!this.
|
|
3675
|
+
if (!this.za7_1.k()) {
|
|
3674
3676
|
this.l9_1 = 3;
|
|
3675
3677
|
continue $sm;
|
|
3676
3678
|
}
|
|
3677
3679
|
|
|
3678
|
-
this.
|
|
3680
|
+
this.aa8_1 = this.za7_1.l();
|
|
3679
3681
|
var tmp_2 = this;
|
|
3680
|
-
tmp_2.
|
|
3681
|
-
this.
|
|
3682
|
+
tmp_2.ba8_1 = this.aa8_1;
|
|
3683
|
+
this.ca8_1 = this.ba8_1;
|
|
3682
3684
|
this.l9_1 = 2;
|
|
3683
|
-
suspendResult = this.
|
|
3685
|
+
suspendResult = this.ua7_1.c1b(this.ca8_1, this);
|
|
3684
3686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3685
3687
|
return suspendResult;
|
|
3686
3688
|
}
|
|
@@ -3690,11 +3692,11 @@
|
|
|
3690
3692
|
this.l9_1 = 1;
|
|
3691
3693
|
continue $sm;
|
|
3692
3694
|
case 3:
|
|
3693
|
-
var tmp0 = this.
|
|
3695
|
+
var tmp0 = this.sa7_1.ia8_1;
|
|
3694
3696
|
l$ret$1: do {
|
|
3695
3697
|
while (true) {
|
|
3696
3698
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3697
|
-
var upd = cur - this.
|
|
3699
|
+
var upd = cur - this.ta7_1.m() | 0;
|
|
3698
3700
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3699
3701
|
break l$ret$1;
|
|
3700
3702
|
}
|
|
@@ -3716,15 +3718,15 @@
|
|
|
3716
3718
|
}
|
|
3717
3719
|
while (true);
|
|
3718
3720
|
};
|
|
3719
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3720
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3721
|
-
i.
|
|
3721
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ea8 = function ($this$flow, completion) {
|
|
3722
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.sa7_1, this.ta7_1, completion);
|
|
3723
|
+
i.ua7_1 = $this$flow;
|
|
3722
3724
|
return i;
|
|
3723
3725
|
};
|
|
3724
3726
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3725
3727
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3726
3728
|
var l = function ($this$flow, $completion) {
|
|
3727
|
-
return i.
|
|
3729
|
+
return i.da8($this$flow, $completion);
|
|
3728
3730
|
};
|
|
3729
3731
|
l.$arity = 1;
|
|
3730
3732
|
return l;
|
|
@@ -3794,29 +3796,29 @@
|
|
|
3794
3796
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3795
3797
|
}
|
|
3796
3798
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3797
|
-
var tmp = $this.
|
|
3799
|
+
var tmp = $this.ha8_1.v6n();
|
|
3798
3800
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3799
|
-
var this_0 = _this__u8e3s4.
|
|
3801
|
+
var this_0 = _this__u8e3s4.ma8_1;
|
|
3800
3802
|
var tmp_0 = copyToArray(this_0);
|
|
3801
3803
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3802
|
-
var this_1 = _this__u8e3s4.
|
|
3804
|
+
var this_1 = _this__u8e3s4.na8_1;
|
|
3803
3805
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3804
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3806
|
+
return new ActionDeliveryPayload(_this__u8e3s4.la8_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.oa8_1);
|
|
3805
3807
|
}
|
|
3806
3808
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3807
|
-
this.
|
|
3808
|
-
this.
|
|
3809
|
-
this.
|
|
3810
|
-
this.
|
|
3809
|
+
this.la8_1 = tableId;
|
|
3810
|
+
this.ma8_1 = includePlayers;
|
|
3811
|
+
this.na8_1 = excludePlayers;
|
|
3812
|
+
this.oa8_1 = deliveryType;
|
|
3811
3813
|
}
|
|
3812
3814
|
protoOf(GroupKey).toString = function () {
|
|
3813
|
-
return 'GroupKey(tableId=' + this.
|
|
3815
|
+
return 'GroupKey(tableId=' + this.la8_1 + ', includePlayers=' + toString(this.ma8_1) + ', excludePlayers=' + toString(this.na8_1) + ', deliveryType=' + this.oa8_1.toString() + ')';
|
|
3814
3816
|
};
|
|
3815
3817
|
protoOf(GroupKey).hashCode = function () {
|
|
3816
|
-
var result = getStringHashCode(this.
|
|
3817
|
-
result = imul(result, 31) + hashCode(this.
|
|
3818
|
-
result = imul(result, 31) + hashCode(this.
|
|
3819
|
-
result = imul(result, 31) + this.
|
|
3818
|
+
var result = getStringHashCode(this.la8_1);
|
|
3819
|
+
result = imul(result, 31) + hashCode(this.ma8_1) | 0;
|
|
3820
|
+
result = imul(result, 31) + hashCode(this.na8_1) | 0;
|
|
3821
|
+
result = imul(result, 31) + this.oa8_1.hashCode() | 0;
|
|
3820
3822
|
return result;
|
|
3821
3823
|
};
|
|
3822
3824
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3825,35 +3827,35 @@
|
|
|
3825
3827
|
if (!(other instanceof GroupKey))
|
|
3826
3828
|
return false;
|
|
3827
3829
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3828
|
-
if (!(this.
|
|
3830
|
+
if (!(this.la8_1 === tmp0_other_with_cast.la8_1))
|
|
3829
3831
|
return false;
|
|
3830
|
-
if (!equals(this.
|
|
3832
|
+
if (!equals(this.ma8_1, tmp0_other_with_cast.ma8_1))
|
|
3831
3833
|
return false;
|
|
3832
|
-
if (!equals(this.
|
|
3834
|
+
if (!equals(this.na8_1, tmp0_other_with_cast.na8_1))
|
|
3833
3835
|
return false;
|
|
3834
|
-
if (!this.
|
|
3836
|
+
if (!this.oa8_1.equals(tmp0_other_with_cast.oa8_1))
|
|
3835
3837
|
return false;
|
|
3836
3838
|
return true;
|
|
3837
3839
|
};
|
|
3838
3840
|
function Companion_4() {
|
|
3839
|
-
this.
|
|
3841
|
+
this.pa8_1 = 6;
|
|
3840
3842
|
}
|
|
3841
3843
|
var Companion_instance_12;
|
|
3842
3844
|
function Companion_getInstance_5() {
|
|
3843
3845
|
return Companion_instance_12;
|
|
3844
3846
|
}
|
|
3845
3847
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3846
|
-
this.
|
|
3848
|
+
this.ya8_1 = this$0;
|
|
3847
3849
|
CoroutineImpl.call(this, resultContinuation);
|
|
3848
3850
|
}
|
|
3849
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3850
|
-
var tmp = this.
|
|
3851
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).aa9 = function (actions, $completion) {
|
|
3852
|
+
var tmp = this.ba9(actions, $completion);
|
|
3851
3853
|
tmp.n9_1 = Unit_instance;
|
|
3852
3854
|
tmp.o9_1 = null;
|
|
3853
3855
|
return tmp.t9();
|
|
3854
3856
|
};
|
|
3855
3857
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).da = function (p1, $completion) {
|
|
3856
|
-
return this.
|
|
3858
|
+
return this.aa9((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3857
3859
|
};
|
|
3858
3860
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).t9 = function () {
|
|
3859
3861
|
var suspendResult = this.n9_1;
|
|
@@ -3862,7 +3864,7 @@
|
|
|
3862
3864
|
var tmp = this.l9_1;
|
|
3863
3865
|
if (tmp === 0) {
|
|
3864
3866
|
this.m9_1 = 1;
|
|
3865
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3867
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ya8_1, this.za8_1, null));
|
|
3866
3868
|
} else if (tmp === 1) {
|
|
3867
3869
|
throw this.o9_1;
|
|
3868
3870
|
}
|
|
@@ -3872,23 +3874,23 @@
|
|
|
3872
3874
|
}
|
|
3873
3875
|
while (true);
|
|
3874
3876
|
};
|
|
3875
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3876
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3877
|
-
i.
|
|
3877
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba9 = function (actions, completion) {
|
|
3878
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ya8_1, completion);
|
|
3879
|
+
i.za8_1 = actions;
|
|
3878
3880
|
return i;
|
|
3879
3881
|
};
|
|
3880
3882
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3881
3883
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3882
3884
|
var l = function (actions, $completion) {
|
|
3883
|
-
return i.
|
|
3885
|
+
return i.aa9(actions, $completion);
|
|
3884
3886
|
};
|
|
3885
3887
|
l.$arity = 1;
|
|
3886
3888
|
return l;
|
|
3887
3889
|
}
|
|
3888
3890
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3889
3891
|
CoroutineImpl.call(this, resultContinuation);
|
|
3890
|
-
this.
|
|
3891
|
-
this.
|
|
3892
|
+
this.ka9_1 = _this__u8e3s4;
|
|
3893
|
+
this.la9_1 = fromEvent;
|
|
3892
3894
|
}
|
|
3893
3895
|
protoOf($sentEventCOROUTINE$).t9 = function () {
|
|
3894
3896
|
var suspendResult = this.n9_1;
|
|
@@ -3899,9 +3901,9 @@
|
|
|
3899
3901
|
case 0:
|
|
3900
3902
|
this.m9_1 = 2;
|
|
3901
3903
|
var tmp_0 = this;
|
|
3902
|
-
tmp_0.
|
|
3903
|
-
this.
|
|
3904
|
-
var tmp0 = this.
|
|
3904
|
+
tmp_0.ma9_1 = this.ka9_1.ja8_1;
|
|
3905
|
+
this.na9_1 = this.ma9_1;
|
|
3906
|
+
var tmp0 = this.ka9_1.ia8_1;
|
|
3905
3907
|
l$ret$1: do {
|
|
3906
3908
|
while (true) {
|
|
3907
3909
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3913,7 +3915,7 @@
|
|
|
3913
3915
|
}
|
|
3914
3916
|
while (false);
|
|
3915
3917
|
this.l9_1 = 1;
|
|
3916
|
-
suspendResult = this.
|
|
3918
|
+
suspendResult = this.ka9_1.ka8_1.c1b(this.la9_1, this);
|
|
3917
3919
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3918
3920
|
return suspendResult;
|
|
3919
3921
|
}
|
|
@@ -3937,7 +3939,7 @@
|
|
|
3937
3939
|
};
|
|
3938
3940
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3939
3941
|
CoroutineImpl.call(this, resultContinuation);
|
|
3940
|
-
this.
|
|
3942
|
+
this.wa9_1 = _this__u8e3s4;
|
|
3941
3943
|
}
|
|
3942
3944
|
protoOf($waitForCOROUTINE$).t9 = function () {
|
|
3943
3945
|
var suspendResult = this.n9_1;
|
|
@@ -3948,13 +3950,13 @@
|
|
|
3948
3950
|
case 0:
|
|
3949
3951
|
this.m9_1 = 5;
|
|
3950
3952
|
var tmp_0 = this;
|
|
3951
|
-
tmp_0.
|
|
3952
|
-
this.
|
|
3953
|
-
this.
|
|
3953
|
+
tmp_0.xa9_1 = this.wa9_1.ja8_1;
|
|
3954
|
+
this.ya9_1 = this.xa9_1;
|
|
3955
|
+
this.za9_1 = 0;
|
|
3954
3956
|
this.l9_1 = 1;
|
|
3955
3957
|
continue $sm;
|
|
3956
3958
|
case 1:
|
|
3957
|
-
if (!!(this.
|
|
3959
|
+
if (!!(this.wa9_1.ia8_1.kotlinx$atomicfu$value === 0)) {
|
|
3958
3960
|
this.l9_1 = 4;
|
|
3959
3961
|
continue $sm;
|
|
3960
3962
|
}
|
|
@@ -3967,9 +3969,9 @@
|
|
|
3967
3969
|
|
|
3968
3970
|
continue $sm;
|
|
3969
3971
|
case 2:
|
|
3970
|
-
this.
|
|
3971
|
-
if (this.
|
|
3972
|
-
this.
|
|
3972
|
+
this.za9_1 = this.za9_1 + 1 | 0;
|
|
3973
|
+
if (this.za9_1 > 6) {
|
|
3974
|
+
this.wa9_1.ga8_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.wa9_1.ia8_1.kotlinx$atomicfu$value);
|
|
3973
3975
|
this.l9_1 = 4;
|
|
3974
3976
|
continue $sm;
|
|
3975
3977
|
} else {
|
|
@@ -3997,42 +3999,42 @@
|
|
|
3997
3999
|
while (true);
|
|
3998
4000
|
};
|
|
3999
4001
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4000
|
-
this.
|
|
4001
|
-
this.
|
|
4002
|
-
this.
|
|
4003
|
-
this.
|
|
4002
|
+
this.fa8_1 = serverReduxConfig;
|
|
4003
|
+
this.ga8_1 = logger;
|
|
4004
|
+
this.ha8_1 = idsProvider;
|
|
4005
|
+
this.ia8_1 = atomic$ref$1(0);
|
|
4004
4006
|
var tmp = this;
|
|
4005
4007
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4006
|
-
tmp.
|
|
4007
|
-
this.
|
|
4008
|
+
tmp.ja8_1 = get_atomicfu$reentrantLock();
|
|
4009
|
+
this.ka8_1 = MutableSharedFlow();
|
|
4008
4010
|
}
|
|
4009
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4011
|
+
protoOf(ToClientEventsObserverImpl).ja7 = function (fromEvent, $completion) {
|
|
4010
4012
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4011
4013
|
tmp.n9_1 = Unit_instance;
|
|
4012
4014
|
tmp.o9_1 = null;
|
|
4013
4015
|
return tmp.t9();
|
|
4014
4016
|
};
|
|
4015
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4017
|
+
protoOf(ToClientEventsObserverImpl).g9h = function ($completion) {
|
|
4016
4018
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4017
4019
|
tmp.n9_1 = Unit_instance;
|
|
4018
4020
|
tmp.o9_1 = null;
|
|
4019
4021
|
return tmp.t9();
|
|
4020
4022
|
};
|
|
4021
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4022
|
-
if (!this.
|
|
4023
|
-
return this.
|
|
4023
|
+
protoOf(ToClientEventsObserverImpl).e9y = function () {
|
|
4024
|
+
if (!this.fa8_1.enabledCombinedEvents) {
|
|
4025
|
+
return this.ka8_1;
|
|
4024
4026
|
}
|
|
4025
|
-
var tmp = windowedByInterval(this.
|
|
4027
|
+
var tmp = windowedByInterval(this.ka8_1, toLong(this.fa8_1.combinedEventsIntervalMillis));
|
|
4026
4028
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4027
4029
|
};
|
|
4028
4030
|
function UpdateServerConfigAction(serverConfig) {
|
|
4029
|
-
this.
|
|
4031
|
+
this.aaa_1 = serverConfig;
|
|
4030
4032
|
}
|
|
4031
4033
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4032
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4034
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.aaa_1.toString() + ')';
|
|
4033
4035
|
};
|
|
4034
4036
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4035
|
-
return this.
|
|
4037
|
+
return this.aaa_1.hashCode();
|
|
4036
4038
|
};
|
|
4037
4039
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4038
4040
|
if (this === other)
|
|
@@ -4040,20 +4042,20 @@
|
|
|
4040
4042
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4041
4043
|
return false;
|
|
4042
4044
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
4043
|
-
if (!this.
|
|
4045
|
+
if (!this.aaa_1.equals(tmp0_other_with_cast.aaa_1))
|
|
4044
4046
|
return false;
|
|
4045
4047
|
return true;
|
|
4046
4048
|
};
|
|
4047
4049
|
function SpectatorsAction() {
|
|
4048
4050
|
}
|
|
4049
4051
|
function AddSpectatorsAction(spectators) {
|
|
4050
|
-
this.
|
|
4052
|
+
this.baa_1 = spectators;
|
|
4051
4053
|
}
|
|
4052
4054
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4053
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4055
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.baa_1) + ')';
|
|
4054
4056
|
};
|
|
4055
4057
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4056
|
-
return hashCode(this.
|
|
4058
|
+
return hashCode(this.baa_1);
|
|
4057
4059
|
};
|
|
4058
4060
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4059
4061
|
if (this === other)
|
|
@@ -4061,18 +4063,18 @@
|
|
|
4061
4063
|
if (!(other instanceof AddSpectatorsAction))
|
|
4062
4064
|
return false;
|
|
4063
4065
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
4064
|
-
if (!equals(this.
|
|
4066
|
+
if (!equals(this.baa_1, tmp0_other_with_cast.baa_1))
|
|
4065
4067
|
return false;
|
|
4066
4068
|
return true;
|
|
4067
4069
|
};
|
|
4068
4070
|
function RemoveSpectatorsAction(spectators) {
|
|
4069
|
-
this.
|
|
4071
|
+
this.caa_1 = spectators;
|
|
4070
4072
|
}
|
|
4071
4073
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4072
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4074
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.caa_1) + ')';
|
|
4073
4075
|
};
|
|
4074
4076
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4075
|
-
return hashCode(this.
|
|
4077
|
+
return hashCode(this.caa_1);
|
|
4076
4078
|
};
|
|
4077
4079
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4078
4080
|
if (this === other)
|
|
@@ -4080,103 +4082,103 @@
|
|
|
4080
4082
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4081
4083
|
return false;
|
|
4082
4084
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
4083
|
-
if (!equals(this.
|
|
4085
|
+
if (!equals(this.caa_1, tmp0_other_with_cast.caa_1))
|
|
4084
4086
|
return false;
|
|
4085
4087
|
return true;
|
|
4086
4088
|
};
|
|
4087
4089
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4088
|
-
var tmp0 = $this.
|
|
4090
|
+
var tmp0 = $this.iaa_1;
|
|
4089
4091
|
var tmp = KProperty1;
|
|
4090
4092
|
// Inline function 'kotlin.getValue' call
|
|
4091
4093
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4092
4094
|
return tmp0.u();
|
|
4093
4095
|
}
|
|
4094
4096
|
function _get_logger__rkp4sl_0($this) {
|
|
4095
|
-
var tmp0 = $this.
|
|
4097
|
+
var tmp0 = $this.jaa_1;
|
|
4096
4098
|
var tmp = KProperty1;
|
|
4097
4099
|
// Inline function 'kotlin.getValue' call
|
|
4098
4100
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4099
4101
|
return tmp0.u();
|
|
4100
4102
|
}
|
|
4101
4103
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4102
|
-
var tmp0 = $this.
|
|
4104
|
+
var tmp0 = $this.kaa_1;
|
|
4103
4105
|
var tmp = KProperty1;
|
|
4104
4106
|
// Inline function 'kotlin.getValue' call
|
|
4105
4107
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4106
4108
|
return tmp0.u();
|
|
4107
4109
|
}
|
|
4108
4110
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4109
|
-
var tmp0 = $this.
|
|
4111
|
+
var tmp0 = $this.laa_1;
|
|
4110
4112
|
var tmp = KProperty1;
|
|
4111
4113
|
// Inline function 'kotlin.getValue' call
|
|
4112
4114
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4113
4115
|
return tmp0.u();
|
|
4114
4116
|
}
|
|
4115
4117
|
function _get_serverConfig__rk2g06($this) {
|
|
4116
|
-
var tmp0 = $this.
|
|
4118
|
+
var tmp0 = $this.maa_1;
|
|
4117
4119
|
var tmp = KProperty1;
|
|
4118
4120
|
// Inline function 'kotlin.getValue' call
|
|
4119
4121
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4120
4122
|
return tmp0.u();
|
|
4121
4123
|
}
|
|
4122
4124
|
function _get_logicConfig__52ww9d($this) {
|
|
4123
|
-
var tmp0 = $this.
|
|
4125
|
+
var tmp0 = $this.naa_1;
|
|
4124
4126
|
var tmp = KProperty1;
|
|
4125
4127
|
// Inline function 'kotlin.getValue' call
|
|
4126
4128
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4127
4129
|
return tmp0.u();
|
|
4128
4130
|
}
|
|
4129
4131
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4130
|
-
var tmp0 = $this.
|
|
4132
|
+
var tmp0 = $this.oaa_1;
|
|
4131
4133
|
var tmp = KProperty1;
|
|
4132
4134
|
// Inline function 'kotlin.getValue' call
|
|
4133
4135
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4134
4136
|
return tmp0.u();
|
|
4135
4137
|
}
|
|
4136
4138
|
function _get_botConfig__cpaxzc($this) {
|
|
4137
|
-
var tmp0 = $this.
|
|
4139
|
+
var tmp0 = $this.paa_1;
|
|
4138
4140
|
var tmp = KProperty1;
|
|
4139
4141
|
// Inline function 'kotlin.getValue' call
|
|
4140
4142
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4141
4143
|
return tmp0.u();
|
|
4142
4144
|
}
|
|
4143
4145
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4144
|
-
var tmp0 = $this.
|
|
4146
|
+
var tmp0 = $this.qaa_1;
|
|
4145
4147
|
var tmp = KProperty1;
|
|
4146
4148
|
// Inline function 'kotlin.getValue' call
|
|
4147
4149
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4148
4150
|
return tmp0.u();
|
|
4149
4151
|
}
|
|
4150
4152
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4151
|
-
var tmp0 = $this.
|
|
4153
|
+
var tmp0 = $this.raa_1;
|
|
4152
4154
|
var tmp = KProperty1;
|
|
4153
4155
|
// Inline function 'kotlin.getValue' call
|
|
4154
4156
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4155
4157
|
return tmp0.u();
|
|
4156
4158
|
}
|
|
4157
4159
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4158
|
-
var tmp0 = $this.
|
|
4160
|
+
var tmp0 = $this.saa_1;
|
|
4159
4161
|
var tmp = KProperty1;
|
|
4160
4162
|
// Inline function 'kotlin.getValue' call
|
|
4161
4163
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4162
4164
|
return tmp0.u();
|
|
4163
4165
|
}
|
|
4164
4166
|
function _get_dealerConfig__183ci8($this) {
|
|
4165
|
-
var tmp0 = $this.
|
|
4167
|
+
var tmp0 = $this.taa_1;
|
|
4166
4168
|
var tmp = KProperty1;
|
|
4167
4169
|
// Inline function 'kotlin.getValue' call
|
|
4168
4170
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4169
4171
|
return tmp0.u();
|
|
4170
4172
|
}
|
|
4171
4173
|
function _get_poolProvider__tqti6a($this) {
|
|
4172
|
-
var tmp0 = $this.
|
|
4174
|
+
var tmp0 = $this.uaa_1;
|
|
4173
4175
|
var tmp = KProperty1;
|
|
4174
4176
|
// Inline function 'kotlin.getValue' call
|
|
4175
4177
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4176
4178
|
return tmp0.u();
|
|
4177
4179
|
}
|
|
4178
4180
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4179
|
-
var tmp0 = $this.
|
|
4181
|
+
var tmp0 = $this.vaa_1;
|
|
4180
4182
|
var tmp = KProperty1;
|
|
4181
4183
|
// Inline function 'kotlin.getValue' call
|
|
4182
4184
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4331,11 +4333,11 @@
|
|
|
4331
4333
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
4332
4334
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
4333
4335
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
4334
|
-
this.
|
|
4335
|
-
this.
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4338
|
-
this.
|
|
4336
|
+
this.daa_1 = validationStoreContract;
|
|
4337
|
+
this.eaa_1 = timersStoreContract;
|
|
4338
|
+
this.faa_1 = botGameStoreContract;
|
|
4339
|
+
this.gaa_1 = gameMechanicStoreContract;
|
|
4340
|
+
this.haa_1 = fileLoggerStoreContract;
|
|
4339
4341
|
var tmp = this;
|
|
4340
4342
|
// Inline function 'org.kodein.di.instance' call
|
|
4341
4343
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4343,7 +4345,7 @@
|
|
|
4343
4345
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4344
4346
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
4345
4347
|
var tmp_2 = KProperty1;
|
|
4346
|
-
tmp.
|
|
4348
|
+
tmp.iaa_1 = tmp_1.o69(this, getPropertyCallableRef('asyncProvider', 1, tmp_2, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4347
4349
|
var tmp_3 = this;
|
|
4348
4350
|
// Inline function 'org.kodein.di.instance' call
|
|
4349
4351
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4351,7 +4353,7 @@
|
|
|
4351
4353
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4352
4354
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
4353
4355
|
var tmp_6 = KProperty1;
|
|
4354
|
-
tmp_3.
|
|
4356
|
+
tmp_3.jaa_1 = tmp_5.o69(this, getPropertyCallableRef('logger', 1, tmp_6, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4355
4357
|
var tmp_7 = this;
|
|
4356
4358
|
// Inline function 'org.kodein.di.instance' call
|
|
4357
4359
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4359,7 +4361,7 @@
|
|
|
4359
4361
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4360
4362
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
4361
4363
|
var tmp_10 = KProperty1;
|
|
4362
|
-
tmp_7.
|
|
4364
|
+
tmp_7.kaa_1 = tmp_9.o69(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_10, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4363
4365
|
var tmp_11 = this;
|
|
4364
4366
|
// Inline function 'org.kodein.di.instance' call
|
|
4365
4367
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4367,7 +4369,7 @@
|
|
|
4367
4369
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4368
4370
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
4369
4371
|
var tmp_14 = KProperty1;
|
|
4370
|
-
tmp_11.
|
|
4372
|
+
tmp_11.laa_1 = tmp_13.o69(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_14, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4371
4373
|
var tmp_15 = this;
|
|
4372
4374
|
// Inline function 'org.kodein.di.instance' call
|
|
4373
4375
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4375,7 +4377,7 @@
|
|
|
4375
4377
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4376
4378
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
4377
4379
|
var tmp_18 = KProperty1;
|
|
4378
|
-
tmp_15.
|
|
4380
|
+
tmp_15.maa_1 = tmp_17.o69(this, getPropertyCallableRef('serverConfig', 1, tmp_18, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4379
4381
|
var tmp_19 = this;
|
|
4380
4382
|
// Inline function 'org.kodein.di.instance' call
|
|
4381
4383
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4383,7 +4385,7 @@
|
|
|
4383
4385
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
4384
4386
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
4385
4387
|
var tmp_22 = KProperty1;
|
|
4386
|
-
tmp_19.
|
|
4388
|
+
tmp_19.naa_1 = tmp_21.o69(this, getPropertyCallableRef('logicConfig', 1, tmp_22, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4387
4389
|
var tmp_23 = this;
|
|
4388
4390
|
// Inline function 'org.kodein.di.instance' call
|
|
4389
4391
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4391,7 +4393,7 @@
|
|
|
4391
4393
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
4392
4394
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
4393
4395
|
var tmp_26 = KProperty1;
|
|
4394
|
-
tmp_23.
|
|
4396
|
+
tmp_23.oaa_1 = tmp_25.o69(this, getPropertyCallableRef('idsProvider', 1, tmp_26, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4395
4397
|
var tmp_27 = this;
|
|
4396
4398
|
// Inline function 'org.kodein.di.instance' call
|
|
4397
4399
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4399,7 +4401,7 @@
|
|
|
4399
4401
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
4400
4402
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
4401
4403
|
var tmp_30 = KProperty1;
|
|
4402
|
-
tmp_27.
|
|
4404
|
+
tmp_27.paa_1 = tmp_29.o69(this, getPropertyCallableRef('botConfig', 1, tmp_30, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4403
4405
|
var tmp_31 = this;
|
|
4404
4406
|
// Inline function 'org.kodein.di.instance' call
|
|
4405
4407
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4407,7 +4409,7 @@
|
|
|
4407
4409
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
4408
4410
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
4409
4411
|
var tmp_34 = KProperty1;
|
|
4410
|
-
tmp_31.
|
|
4412
|
+
tmp_31.qaa_1 = tmp_33.o69(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_34, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4411
4413
|
var tmp_35 = this;
|
|
4412
4414
|
// Inline function 'org.kodein.di.instance' call
|
|
4413
4415
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4415,7 +4417,7 @@
|
|
|
4415
4417
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
4416
4418
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
4417
4419
|
var tmp_38 = KProperty1;
|
|
4418
|
-
tmp_35.
|
|
4420
|
+
tmp_35.raa_1 = tmp_37.o69(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_38, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4419
4421
|
var tmp_39 = this;
|
|
4420
4422
|
// Inline function 'org.kodein.di.instance' call
|
|
4421
4423
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4423,7 +4425,7 @@
|
|
|
4423
4425
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
4424
4426
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
4425
4427
|
var tmp_42 = KProperty1;
|
|
4426
|
-
tmp_39.
|
|
4428
|
+
tmp_39.saa_1 = tmp_41.o69(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_42, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4427
4429
|
var tmp_43 = this;
|
|
4428
4430
|
// Inline function 'org.kodein.di.instance' call
|
|
4429
4431
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4431,7 +4433,7 @@
|
|
|
4431
4433
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
4432
4434
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
4433
4435
|
var tmp_46 = KProperty1;
|
|
4434
|
-
tmp_43.
|
|
4436
|
+
tmp_43.taa_1 = tmp_45.o69(this, getPropertyCallableRef('dealerConfig', 1, tmp_46, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4435
4437
|
var tmp_47 = this;
|
|
4436
4438
|
// Inline function 'org.kodein.di.instance' call
|
|
4437
4439
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4439,7 +4441,7 @@
|
|
|
4439
4441
|
var tmp$ret$24 = isInterface(tmp_48, TypeToken) ? tmp_48 : THROW_CCE();
|
|
4440
4442
|
var tmp_49 = Instance(di, tmp$ret$24, null);
|
|
4441
4443
|
var tmp_50 = KProperty1;
|
|
4442
|
-
tmp_47.
|
|
4444
|
+
tmp_47.uaa_1 = tmp_49.o69(this, getPropertyCallableRef('poolProvider', 1, tmp_50, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4443
4445
|
var tmp_51 = this;
|
|
4444
4446
|
// Inline function 'org.kodein.di.instance' call
|
|
4445
4447
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4447,13 +4449,13 @@
|
|
|
4447
4449
|
var tmp$ret$26 = isInterface(tmp_52, TypeToken) ? tmp_52 : THROW_CCE();
|
|
4448
4450
|
var tmp_53 = Instance(di, tmp$ret$26, null);
|
|
4449
4451
|
var tmp_54 = KProperty1;
|
|
4450
|
-
tmp_51.
|
|
4452
|
+
tmp_51.vaa_1 = tmp_53.o69(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_54, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4451
4453
|
}
|
|
4452
|
-
protoOf(ServerGameStoreContract).
|
|
4453
|
-
return plus(plus(plus(plus(plus(this.
|
|
4454
|
+
protoOf(ServerGameStoreContract).o98 = function () {
|
|
4455
|
+
return plus(plus(plus(plus(plus(this.daa_1.o98(), this.gaa_1.o98()), this.eaa_1.o98()), this.faa_1.o98()), this.haa_1.o98()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4454
4456
|
};
|
|
4455
|
-
protoOf(ServerGameStoreContract).
|
|
4456
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4457
|
+
protoOf(ServerGameStoreContract).p98 = function () {
|
|
4458
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.daa_1.p98(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.gaa_1.p98()), this.eaa_1.p98()), this.faa_1.p98()), this.haa_1.p98()), 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))).u9a(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4457
4459
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
4458
4460
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4459
4461
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4504,7 +4506,7 @@
|
|
|
4504
4506
|
return this.k6r(store, next, action);
|
|
4505
4507
|
};
|
|
4506
4508
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4507
|
-
this.
|
|
4509
|
+
this.yaa_1 = this$0;
|
|
4508
4510
|
}
|
|
4509
4511
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).t6p = function (action) {
|
|
4510
4512
|
return action instanceof MechanicAction;
|
|
@@ -4515,11 +4517,11 @@
|
|
|
4515
4517
|
// Inline function 'kotlin.with' call
|
|
4516
4518
|
var tmp;
|
|
4517
4519
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4518
|
-
var tmp0 = this.
|
|
4519
|
-
var tmp2 = action_0.
|
|
4520
|
-
var tmp4 = action_0.
|
|
4520
|
+
var tmp0 = this.yaa_1;
|
|
4521
|
+
var tmp2 = action_0.b95_1;
|
|
4522
|
+
var tmp4 = action_0.d95_1;
|
|
4521
4523
|
// Inline function 'kotlin.collections.map' call
|
|
4522
|
-
var this_0 = action_0.
|
|
4524
|
+
var this_0 = action_0.e95_1;
|
|
4523
4525
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4524
4526
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4525
4527
|
var _iterator__ex2g4s = this_0.j();
|
|
@@ -4555,7 +4557,7 @@
|
|
|
4555
4557
|
var _iterator__ex2g4s_2 = destination_1.j();
|
|
4556
4558
|
while (_iterator__ex2g4s_2.k()) {
|
|
4557
4559
|
var element_0 = _iterator__ex2g4s_2.l();
|
|
4558
|
-
var tmp0_aid = tmp0.
|
|
4560
|
+
var tmp0_aid = tmp0.xaa_1.v6n();
|
|
4559
4561
|
// Inline function 'kotlin.collections.map' call
|
|
4560
4562
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4561
4563
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4577,16 +4579,16 @@
|
|
|
4577
4579
|
tmp = destination_2;
|
|
4578
4580
|
} else {
|
|
4579
4581
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4580
|
-
var tmp0_0 = this.
|
|
4582
|
+
var tmp0_0 = this.yaa_1;
|
|
4581
4583
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4582
4584
|
var table = state.i6x();
|
|
4583
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4585
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.xaa_1.v6n(), table.id, null);
|
|
4584
4586
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4585
4587
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4586
4588
|
} else {
|
|
4587
4589
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4588
|
-
var tmp0_1 = this.
|
|
4589
|
-
var tmp2_0 = action_0.
|
|
4590
|
+
var tmp0_1 = this.yaa_1;
|
|
4591
|
+
var tmp2_0 = action_0.h95_1.id;
|
|
4590
4592
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4591
4593
|
// Inline function 'kotlin.collections.map' call
|
|
4592
4594
|
var this_1 = action_0.users;
|
|
@@ -4625,7 +4627,7 @@
|
|
|
4625
4627
|
var _iterator__ex2g4s_7 = destination_6.j();
|
|
4626
4628
|
while (_iterator__ex2g4s_7.k()) {
|
|
4627
4629
|
var element_2 = _iterator__ex2g4s_7.l();
|
|
4628
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4630
|
+
var tmp0_aid_0 = tmp0_1.xaa_1.v6n();
|
|
4629
4631
|
// Inline function 'kotlin.collections.map' call
|
|
4630
4632
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4631
4633
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4647,39 +4649,39 @@
|
|
|
4647
4649
|
tmp = destination_7;
|
|
4648
4650
|
} else {
|
|
4649
4651
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4650
|
-
var tmp0_2 = this.
|
|
4652
|
+
var tmp0_2 = this.yaa_1;
|
|
4651
4653
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4652
4654
|
var table_0 = state.i6x();
|
|
4653
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4655
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.xaa_1.v6n(), table_0.id, null);
|
|
4654
4656
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4655
4657
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4656
4658
|
} else {
|
|
4657
4659
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4658
|
-
var tmp0_3 = this.
|
|
4660
|
+
var tmp0_3 = this.yaa_1;
|
|
4659
4661
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4660
4662
|
var table_1 = state.i6x();
|
|
4661
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4663
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.xaa_1.v6n(), table_1.id, null);
|
|
4662
4664
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4663
4665
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4664
4666
|
} else {
|
|
4665
4667
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4666
|
-
var tmp0_4 = this.
|
|
4668
|
+
var tmp0_4 = this.yaa_1;
|
|
4667
4669
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4668
4670
|
var table_2 = state.i6x();
|
|
4669
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4671
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.xaa_1.v6n(), table_2.id, null);
|
|
4670
4672
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4671
4673
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4672
4674
|
} else {
|
|
4673
4675
|
if (action_0 instanceof ErrorAction) {
|
|
4674
|
-
var tmp0_5 = this.
|
|
4676
|
+
var tmp0_5 = this.yaa_1;
|
|
4675
4677
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4676
4678
|
var table_3 = state.i6x();
|
|
4677
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4679
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.xaa_1.v6n(), table_3.id, null);
|
|
4678
4680
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4679
4681
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4680
4682
|
} else {
|
|
4681
4683
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4682
|
-
var tmp0_6 = this.
|
|
4684
|
+
var tmp0_6 = this.yaa_1;
|
|
4683
4685
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4684
4686
|
var table_4 = state.i6x();
|
|
4685
4687
|
var tmp2_1 = table_4.id;
|
|
@@ -4712,7 +4714,7 @@
|
|
|
4712
4714
|
var _iterator__ex2g4s_11 = destination_10.j();
|
|
4713
4715
|
while (_iterator__ex2g4s_11.k()) {
|
|
4714
4716
|
var element_4 = _iterator__ex2g4s_11.l();
|
|
4715
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4717
|
+
var tmp0_aid_1 = tmp0_6.xaa_1.v6n();
|
|
4716
4718
|
// Inline function 'kotlin.collections.map' call
|
|
4717
4719
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4718
4720
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4734,7 +4736,7 @@
|
|
|
4734
4736
|
tmp = destination_11;
|
|
4735
4737
|
} else {
|
|
4736
4738
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4737
|
-
var tmp0_7 = this.
|
|
4739
|
+
var tmp0_7 = this.yaa_1;
|
|
4738
4740
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4739
4741
|
var table_5 = state.i6x();
|
|
4740
4742
|
var tmp2_2 = table_5.id;
|
|
@@ -4767,7 +4769,7 @@
|
|
|
4767
4769
|
var _iterator__ex2g4s_15 = destination_14.j();
|
|
4768
4770
|
while (_iterator__ex2g4s_15.k()) {
|
|
4769
4771
|
var element_6 = _iterator__ex2g4s_15.l();
|
|
4770
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4772
|
+
var tmp0_aid_2 = tmp0_7.xaa_1.v6n();
|
|
4771
4773
|
// Inline function 'kotlin.collections.map' call
|
|
4772
4774
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4773
4775
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4789,7 +4791,7 @@
|
|
|
4789
4791
|
tmp = destination_15;
|
|
4790
4792
|
} else {
|
|
4791
4793
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4792
|
-
var tmp0_8 = this.
|
|
4794
|
+
var tmp0_8 = this.yaa_1;
|
|
4793
4795
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4794
4796
|
var table_6 = state.i6x();
|
|
4795
4797
|
var tmp2_3 = table_6.id;
|
|
@@ -4822,7 +4824,7 @@
|
|
|
4822
4824
|
var _iterator__ex2g4s_19 = destination_18.j();
|
|
4823
4825
|
while (_iterator__ex2g4s_19.k()) {
|
|
4824
4826
|
var element_8 = _iterator__ex2g4s_19.l();
|
|
4825
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4827
|
+
var tmp0_aid_3 = tmp0_8.xaa_1.v6n();
|
|
4826
4828
|
// Inline function 'kotlin.collections.map' call
|
|
4827
4829
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4828
4830
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4834,7 +4836,7 @@
|
|
|
4834
4836
|
}
|
|
4835
4837
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4836
4838
|
var tmp_0;
|
|
4837
|
-
if (this.
|
|
4839
|
+
if (this.yaa_1.waa_1.supportBackwardActions && getPlayer(state.i6x().players, sendToPlayer_8.c7l_1).v70_1.k74_1) {
|
|
4838
4840
|
tmp_0 = null;
|
|
4839
4841
|
} else {
|
|
4840
4842
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4850,72 +4852,72 @@
|
|
|
4850
4852
|
tmp = destination_19;
|
|
4851
4853
|
} else {
|
|
4852
4854
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4853
|
-
var tmp0_9 = this.
|
|
4855
|
+
var tmp0_9 = this.yaa_1;
|
|
4854
4856
|
var tmp2_4 = state.i6x();
|
|
4855
4857
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4856
|
-
var exceptPlayerId = this.
|
|
4857
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4858
|
+
var exceptPlayerId = this.yaa_1.waa_1.supportBackwardActions ? action_0.b96_1 : null;
|
|
4859
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.xaa_1.v6n(), tmp2_4.id, exceptPlayerId);
|
|
4858
4860
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4859
4861
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4860
4862
|
} else {
|
|
4861
4863
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4862
|
-
var tmp0_10 = this.
|
|
4864
|
+
var tmp0_10 = this.yaa_1;
|
|
4863
4865
|
var tmp2_5 = state.i6x();
|
|
4864
4866
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4865
|
-
var exceptPlayerId_0 = this.
|
|
4866
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4867
|
+
var exceptPlayerId_0 = this.yaa_1.waa_1.supportBackwardActions ? action_0.x90_1 : null;
|
|
4868
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.xaa_1.v6n(), tmp2_5.id, exceptPlayerId_0);
|
|
4867
4869
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4868
4870
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4869
4871
|
} else {
|
|
4870
4872
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4871
|
-
var tmp0_11 = this.
|
|
4873
|
+
var tmp0_11 = this.yaa_1;
|
|
4872
4874
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4873
4875
|
var table_7 = state.i6x();
|
|
4874
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4876
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.xaa_1.v6n(), table_7.id, null);
|
|
4875
4877
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4876
4878
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4877
4879
|
} else {
|
|
4878
4880
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4879
|
-
var tmp0_12 = this.
|
|
4881
|
+
var tmp0_12 = this.yaa_1;
|
|
4880
4882
|
var tmp2_6 = state.i6x();
|
|
4881
4883
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4882
|
-
var exceptPlayerId_1 = this.
|
|
4883
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4884
|
+
var exceptPlayerId_1 = this.yaa_1.waa_1.supportBackwardActions ? action_0.h96_1 : null;
|
|
4885
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.xaa_1.v6n(), tmp2_6.id, exceptPlayerId_1);
|
|
4884
4886
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4885
4887
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4886
4888
|
} else {
|
|
4887
4889
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4888
|
-
var tmp0_13 = this.
|
|
4890
|
+
var tmp0_13 = this.yaa_1;
|
|
4889
4891
|
var tmp2_7 = state.i6x();
|
|
4890
4892
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4891
|
-
var exceptPlayerId_2 = this.
|
|
4892
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4893
|
+
var exceptPlayerId_2 = this.yaa_1.waa_1.supportBackwardActions ? action_0.c91_1 : null;
|
|
4894
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.xaa_1.v6n(), tmp2_7.id, exceptPlayerId_2);
|
|
4893
4895
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4894
4896
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4895
4897
|
} else {
|
|
4896
4898
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4897
|
-
var tmp0_14 = this.
|
|
4899
|
+
var tmp0_14 = this.yaa_1;
|
|
4898
4900
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4899
4901
|
var table_8 = state.i6x();
|
|
4900
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4902
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.xaa_1.v6n(), table_8.id, null);
|
|
4901
4903
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4902
4904
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4903
4905
|
} else {
|
|
4904
4906
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4905
|
-
var tmp0_15 = this.
|
|
4907
|
+
var tmp0_15 = this.yaa_1;
|
|
4906
4908
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4907
4909
|
var table_9 = state.i6x();
|
|
4908
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4910
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.xaa_1.v6n(), table_9.id, null);
|
|
4909
4911
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4910
4912
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4911
4913
|
} else {
|
|
4912
4914
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4913
|
-
var message = action_0.
|
|
4914
|
-
var tmp0_16 = this.
|
|
4915
|
+
var message = action_0.l96_1;
|
|
4916
|
+
var tmp0_16 = this.yaa_1;
|
|
4915
4917
|
var tmp2_8 = state.i6x();
|
|
4916
4918
|
var tmp_1;
|
|
4917
4919
|
var tmp_2;
|
|
4918
|
-
if (this.
|
|
4920
|
+
if (this.yaa_1.waa_1.supportBackwardActions) {
|
|
4919
4921
|
tmp_2 = isInterface(message, UserMessage);
|
|
4920
4922
|
} else {
|
|
4921
4923
|
tmp_2 = false;
|
|
@@ -4927,16 +4929,16 @@
|
|
|
4927
4929
|
}
|
|
4928
4930
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
4931
|
var exceptPlayerId_3 = tmp_1;
|
|
4930
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4932
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.xaa_1.v6n(), tmp2_8.id, exceptPlayerId_3);
|
|
4931
4933
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4932
4934
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4933
4935
|
} else {
|
|
4934
4936
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4935
|
-
var tmp0_17 = this.
|
|
4937
|
+
var tmp0_17 = this.yaa_1;
|
|
4936
4938
|
var tmp2_9 = state.i6x();
|
|
4937
4939
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
4940
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4939
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4941
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.xaa_1.v6n(), tmp2_9.id, exceptPlayerId_4);
|
|
4940
4942
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4941
4943
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4942
4944
|
} else {
|
|
@@ -4973,10 +4975,10 @@
|
|
|
4973
4975
|
return this.k6r(store, next, action);
|
|
4974
4976
|
};
|
|
4975
4977
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4976
|
-
this.
|
|
4977
|
-
this.
|
|
4978
|
+
this.waa_1 = logicConfig;
|
|
4979
|
+
this.xaa_1 = idsProvider;
|
|
4978
4980
|
}
|
|
4979
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4981
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).u9a = function () {
|
|
4980
4982
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4981
4983
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
4982
4984
|
};
|
|
@@ -4985,8 +4987,8 @@
|
|
|
4985
4987
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4986
4988
|
}
|
|
4987
4989
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4988
|
-
this.
|
|
4989
|
-
this.
|
|
4990
|
+
this.hab_1 = $provider;
|
|
4991
|
+
this.iab_1 = $action;
|
|
4990
4992
|
CoroutineImpl.call(this, resultContinuation);
|
|
4991
4993
|
}
|
|
4992
4994
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).x1g = function ($this$launchDefault, $completion) {
|
|
@@ -5007,7 +5009,7 @@
|
|
|
5007
5009
|
case 0:
|
|
5008
5010
|
this.m9_1 = 2;
|
|
5009
5011
|
this.l9_1 = 1;
|
|
5010
|
-
suspendResult = this.
|
|
5012
|
+
suspendResult = this.hab_1.ja7(this.iab_1, this);
|
|
5011
5013
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5012
5014
|
return suspendResult;
|
|
5013
5015
|
}
|
|
@@ -5030,8 +5032,8 @@
|
|
|
5030
5032
|
while (true);
|
|
5031
5033
|
};
|
|
5032
5034
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).y1g = function ($this$launchDefault, completion) {
|
|
5033
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5034
|
-
i.
|
|
5035
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.hab_1, this.iab_1, completion);
|
|
5036
|
+
i.jab_1 = $this$launchDefault;
|
|
5035
5037
|
return i;
|
|
5036
5038
|
};
|
|
5037
5039
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5043,15 +5045,15 @@
|
|
|
5043
5045
|
return l;
|
|
5044
5046
|
}
|
|
5045
5047
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5046
|
-
this.
|
|
5047
|
-
this.
|
|
5048
|
+
this.kab_1 = $asyncProvider;
|
|
5049
|
+
this.lab_1 = $provider;
|
|
5048
5050
|
}
|
|
5049
5051
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).t6p = function (action) {
|
|
5050
5052
|
return action instanceof ToClientAction;
|
|
5051
5053
|
};
|
|
5052
5054
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).k6r = function (store, next, action) {
|
|
5053
5055
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5054
|
-
this.
|
|
5056
|
+
this.kab_1.r6m(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.lab_1, action_0, null));
|
|
5055
5057
|
next(action_0);
|
|
5056
5058
|
};
|
|
5057
5059
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).s6p = function (store, next, action) {
|
|
@@ -5066,12 +5068,12 @@
|
|
|
5066
5068
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).t6p = function (action) {
|
|
5067
5069
|
return action instanceof UpdateServerConfigAction;
|
|
5068
5070
|
};
|
|
5069
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5071
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).y9i = function (state, action) {
|
|
5070
5072
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5071
|
-
return state.
|
|
5073
|
+
return state.c94(VOID, get_serverStatePayload_0(state).copy(action_0.aaa_1));
|
|
5072
5074
|
};
|
|
5073
5075
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).l6r = function (state, action) {
|
|
5074
|
-
return this.
|
|
5076
|
+
return this.y9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5075
5077
|
};
|
|
5076
5078
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5077
5079
|
return function (it) {
|
|
@@ -5084,7 +5086,7 @@
|
|
|
5084
5086
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5085
5087
|
Companion_getInstance();
|
|
5086
5088
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5087
|
-
var this_0 = $action.
|
|
5089
|
+
var this_0 = $action.a95_1.timeoutTimeMillis;
|
|
5088
5090
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5089
5091
|
tmp_0 = tmp_1.w6h(tmp_2, tmp$ret$0);
|
|
5090
5092
|
}
|
|
@@ -5093,63 +5095,63 @@
|
|
|
5093
5095
|
}
|
|
5094
5096
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5095
5097
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5096
|
-
this.
|
|
5098
|
+
this.oab_1 = logger;
|
|
5097
5099
|
}
|
|
5098
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5100
|
+
protoOf(ServerMechanicLifecycleReducer).k9k = function (state, action) {
|
|
5099
5101
|
var serverState = get_serverStatePayloadOrNull(state.t6w_1);
|
|
5100
5102
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5101
|
-
var tmp0_$this = this.
|
|
5102
|
-
var tmp1_tableId = action.
|
|
5103
|
-
var tmp2_gameId = action.
|
|
5104
|
-
var tmp3_version = action.
|
|
5105
|
-
var tmp4_config = action.
|
|
5106
|
-
var tmp5_users = action.
|
|
5103
|
+
var tmp0_$this = this.l9k_1;
|
|
5104
|
+
var tmp1_tableId = action.b95_1;
|
|
5105
|
+
var tmp2_gameId = action.b95_1;
|
|
5106
|
+
var tmp3_version = action.c95_1;
|
|
5107
|
+
var tmp4_config = action.a95_1;
|
|
5108
|
+
var tmp5_users = action.e95_1;
|
|
5107
5109
|
var tmp6_spectators = action.spectators;
|
|
5108
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5109
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5110
|
+
var tmp7_gameCreatorPlayerId = action.d95_1;
|
|
5111
|
+
var tmp9_tableOrNull = tmp0_$this.r9l(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5110
5112
|
var tmp;
|
|
5111
5113
|
if (serverState == null) {
|
|
5112
|
-
this.
|
|
5114
|
+
this.oab_1.w(VOID, 'ServerPayload is not onStart');
|
|
5113
5115
|
tmp = Companion_instance_13.initial();
|
|
5114
5116
|
} else {
|
|
5115
5117
|
tmp = serverState;
|
|
5116
5118
|
}
|
|
5117
5119
|
var tmp10_payload = tmp;
|
|
5118
|
-
return state.
|
|
5120
|
+
return state.c94(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5119
5121
|
};
|
|
5120
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5122
|
+
protoOf(ServerMechanicLifecycleReducer).i9k = function (state, action) {
|
|
5121
5123
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5122
|
-
var tmp2_tableOrNull = action.
|
|
5124
|
+
var tmp2_tableOrNull = action.h95_1;
|
|
5123
5125
|
var tmp = Companion_instance_13;
|
|
5124
5126
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5125
|
-
var tmp_1 = action.
|
|
5127
|
+
var tmp_1 = action.i95_1;
|
|
5126
5128
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5127
5129
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n6f_1));
|
|
5128
|
-
return state.
|
|
5130
|
+
return state.c94(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5129
5131
|
};
|
|
5130
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5131
|
-
this.
|
|
5132
|
+
protoOf(ServerMechanicLifecycleReducer).j9k = function (state, action) {
|
|
5133
|
+
this.m9k_1.s5w(action.previousGameId);
|
|
5132
5134
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5133
|
-
var tmp1_tableOrNull = this.
|
|
5134
|
-
return state.
|
|
5135
|
+
var tmp1_tableOrNull = this.l9k_1.s9l(state.i6x(), action.gameId);
|
|
5136
|
+
return state.c94(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5135
5137
|
};
|
|
5136
5138
|
function spectatorsReducer(logger) {
|
|
5137
5139
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5138
5140
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5139
5141
|
}
|
|
5140
5142
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5141
|
-
this.
|
|
5143
|
+
this.pab_1 = $logger;
|
|
5142
5144
|
}
|
|
5143
5145
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).t6p = function (action) {
|
|
5144
5146
|
return isInterface(action, SpectatorsAction);
|
|
5145
5147
|
};
|
|
5146
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5148
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).y9i = function (state, action) {
|
|
5147
5149
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5148
5150
|
var table = state.i6x();
|
|
5149
5151
|
var tmp;
|
|
5150
5152
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5151
5153
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5152
|
-
var tmp0 = action_0.
|
|
5154
|
+
var tmp0 = action_0.baa_1;
|
|
5153
5155
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5154
5156
|
var destination = ArrayList_init_$Create$_0();
|
|
5155
5157
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5168,9 +5170,9 @@
|
|
|
5168
5170
|
var tmp_0;
|
|
5169
5171
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5170
5172
|
if (!sameSpectators.p()) {
|
|
5171
|
-
this.
|
|
5173
|
+
this.pab_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5172
5174
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5173
|
-
var tmp0_0 = action_0.
|
|
5175
|
+
var tmp0_0 = action_0.baa_1;
|
|
5174
5176
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5175
5177
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5176
5178
|
var _iterator__ex2g4s_0 = tmp0_0.j();
|
|
@@ -5205,7 +5207,7 @@
|
|
|
5205
5207
|
}
|
|
5206
5208
|
tmp_0 = destination_0;
|
|
5207
5209
|
} else {
|
|
5208
|
-
tmp_0 = action_0.
|
|
5210
|
+
tmp_0 = action_0.baa_1;
|
|
5209
5211
|
}
|
|
5210
5212
|
// Inline function 'kotlin.collections.map' call
|
|
5211
5213
|
var this_0 = tmp_0;
|
|
@@ -5218,11 +5220,11 @@
|
|
|
5218
5220
|
destination_1.e(tmp$ret$13);
|
|
5219
5221
|
}
|
|
5220
5222
|
var spectatorsToAdd = toSet(destination_1);
|
|
5221
|
-
tmp = state.
|
|
5223
|
+
tmp = state.c94(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5222
5224
|
} else {
|
|
5223
5225
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5224
5226
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5225
|
-
var tmp0_1 = action_0.
|
|
5227
|
+
var tmp0_1 = action_0.caa_1;
|
|
5226
5228
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5227
5229
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5228
5230
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5241,9 +5243,9 @@
|
|
|
5241
5243
|
var tmp_2;
|
|
5242
5244
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5243
5245
|
if (!sameSpectators_0.p()) {
|
|
5244
|
-
this.
|
|
5246
|
+
this.pab_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5245
5247
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5246
|
-
var tmp0_2 = action_0.
|
|
5248
|
+
var tmp0_2 = action_0.caa_1;
|
|
5247
5249
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5248
5250
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5249
5251
|
var _iterator__ex2g4s_4 = tmp0_2.j();
|
|
@@ -5278,7 +5280,7 @@
|
|
|
5278
5280
|
}
|
|
5279
5281
|
tmp_2 = destination_3;
|
|
5280
5282
|
} else {
|
|
5281
|
-
tmp_2 = action_0.
|
|
5283
|
+
tmp_2 = action_0.caa_1;
|
|
5282
5284
|
}
|
|
5283
5285
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5284
5286
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5315,7 +5317,7 @@
|
|
|
5315
5317
|
destination_4.e(element_5);
|
|
5316
5318
|
}
|
|
5317
5319
|
}
|
|
5318
|
-
tmp = state.
|
|
5320
|
+
tmp = state.c94(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5319
5321
|
} else {
|
|
5320
5322
|
noWhenBranchMatchedException();
|
|
5321
5323
|
}
|
|
@@ -5323,16 +5325,16 @@
|
|
|
5323
5325
|
return tmp;
|
|
5324
5326
|
};
|
|
5325
5327
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).l6r = function (state, action) {
|
|
5326
|
-
return this.
|
|
5328
|
+
return this.y9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5327
5329
|
};
|
|
5328
5330
|
function Companion_5() {
|
|
5329
5331
|
}
|
|
5330
|
-
protoOf(Companion_5).
|
|
5332
|
+
protoOf(Companion_5).qab = function (config) {
|
|
5331
5333
|
return new ServerStatePayload(config);
|
|
5332
5334
|
};
|
|
5333
5335
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5334
5336
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5335
|
-
return $super === VOID ? this.
|
|
5337
|
+
return $super === VOID ? this.qab(config) : $super.qab.call(this, config);
|
|
5336
5338
|
};
|
|
5337
5339
|
var Companion_instance_13;
|
|
5338
5340
|
function Companion_getInstance_6() {
|
|
@@ -5347,12 +5349,12 @@
|
|
|
5347
5349
|
protoOf(ServerStatePayload).kf = function () {
|
|
5348
5350
|
return this.config;
|
|
5349
5351
|
};
|
|
5350
|
-
protoOf(ServerStatePayload).
|
|
5352
|
+
protoOf(ServerStatePayload).rab = function (config) {
|
|
5351
5353
|
return new ServerStatePayload(config);
|
|
5352
5354
|
};
|
|
5353
5355
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5354
5356
|
config = config === VOID ? this.config : config;
|
|
5355
|
-
return $super === VOID ? this.
|
|
5357
|
+
return $super === VOID ? this.rab(config) : $super.rab.call(this, config);
|
|
5356
5358
|
};
|
|
5357
5359
|
protoOf(ServerStatePayload).toString = function () {
|
|
5358
5360
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5400,31 +5402,31 @@
|
|
|
5400
5402
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5401
5403
|
}
|
|
5402
5404
|
function _get_logger__rkp4sl_1($this) {
|
|
5403
|
-
var tmp0 = $this.
|
|
5405
|
+
var tmp0 = $this.bac_1;
|
|
5404
5406
|
var tmp = KProperty1;
|
|
5405
5407
|
// Inline function 'kotlin.getValue' call
|
|
5406
5408
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5407
5409
|
return tmp0.u();
|
|
5408
5410
|
}
|
|
5409
5411
|
function _get_di__ndbzja($this) {
|
|
5410
|
-
var tmp0 = $this.
|
|
5412
|
+
var tmp0 = $this.cac_1;
|
|
5411
5413
|
var tmp = KProperty1;
|
|
5412
5414
|
// Inline function 'kotlin.getValue' call
|
|
5413
5415
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
5414
5416
|
return tmp0.u();
|
|
5415
5417
|
}
|
|
5416
|
-
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
5418
|
+
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
5417
5419
|
var tmp = Companion_instance_3;
|
|
5418
|
-
return tmp.c64(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
|
|
5420
|
+
return tmp.c64(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
|
|
5419
5421
|
}
|
|
5420
5422
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5421
5423
|
return function () {
|
|
5422
5424
|
var tmp;
|
|
5423
|
-
if (this$0.
|
|
5425
|
+
if (this$0.zab_1 == null) {
|
|
5424
5426
|
tmp = null;
|
|
5425
5427
|
} else {
|
|
5426
5428
|
// Inline function 'kotlin.let' call
|
|
5427
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5429
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.zab_1)]));
|
|
5428
5430
|
}
|
|
5429
5431
|
var tmp1_elvis_lhs = tmp;
|
|
5430
5432
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5457,7 +5459,7 @@
|
|
|
5457
5459
|
tmp_0.r67(tmp$ret$3);
|
|
5458
5460
|
$this$DI.v63(jsonModule());
|
|
5459
5461
|
$this$DI.v63(serverHelpersModule());
|
|
5460
|
-
$this$DI.v63(randomOrgModule(this$0.
|
|
5462
|
+
$this$DI.v63(randomOrgModule(this$0.aac_1));
|
|
5461
5463
|
return Unit_instance;
|
|
5462
5464
|
};
|
|
5463
5465
|
}
|
|
@@ -5533,16 +5535,16 @@
|
|
|
5533
5535
|
};
|
|
5534
5536
|
}
|
|
5535
5537
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5536
|
-
this.
|
|
5538
|
+
this.jac_1 = $reducer;
|
|
5537
5539
|
}
|
|
5538
5540
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).t6p = function (action) {
|
|
5539
5541
|
return isInterface(action, Action);
|
|
5540
5542
|
};
|
|
5541
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5542
|
-
return this.
|
|
5543
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).y9i = function (state, action) {
|
|
5544
|
+
return this.jac_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5543
5545
|
};
|
|
5544
5546
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).l6r = function (state, action) {
|
|
5545
|
-
return this.
|
|
5547
|
+
return this.y9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5546
5548
|
};
|
|
5547
5549
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
5548
5550
|
return function ($this$singleton) {
|
|
@@ -5599,7 +5601,7 @@
|
|
|
5599
5601
|
}
|
|
5600
5602
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
5601
5603
|
return function (it) {
|
|
5602
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
5604
|
+
var tmp0_elvis_lhs = Companion_instance_4.x9n(it);
|
|
5603
5605
|
var tmp;
|
|
5604
5606
|
if (tmp0_elvis_lhs == null) {
|
|
5605
5607
|
var tmp1_safe_receiver = $gameServer.f6h().s6w_1;
|
|
@@ -5612,7 +5614,7 @@
|
|
|
5612
5614
|
}
|
|
5613
5615
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
5614
5616
|
return function (it) {
|
|
5615
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
5617
|
+
var tmp0_elvis_lhs = Companion_instance_5.f9m(it);
|
|
5616
5618
|
var tmp;
|
|
5617
5619
|
if (tmp0_elvis_lhs == null) {
|
|
5618
5620
|
var tmp1_safe_receiver = $gameServer.f6h().s6w_1;
|
|
@@ -5623,7 +5625,7 @@
|
|
|
5623
5625
|
return tmp;
|
|
5624
5626
|
};
|
|
5625
5627
|
}
|
|
5626
|
-
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares) {
|
|
5628
|
+
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares) {
|
|
5627
5629
|
return function ($this$DI) {
|
|
5628
5630
|
$this$DI.v63(combinedLoggerModule($combinedLogger));
|
|
5629
5631
|
var tmp0_safe_receiver = $externalModule;
|
|
@@ -5633,22 +5635,22 @@
|
|
|
5633
5635
|
// Inline function 'kotlin.let' call
|
|
5634
5636
|
$this$DI.v63(tmp0_safe_receiver);
|
|
5635
5637
|
}
|
|
5636
|
-
$this$DI.v63(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5638
|
+
$this$DI.v63(dealerModule(this$0.randomPoolProvider, this$0.aac_1));
|
|
5637
5639
|
$this$DI.v63(coreModule($coreConfig));
|
|
5638
|
-
$this$DI.v63(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
5640
|
+
$this$DI.v63(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5639
5641
|
return Unit_instance;
|
|
5640
5642
|
};
|
|
5641
5643
|
}
|
|
5642
5644
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5643
5645
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5644
5646
|
production = production === VOID ? true : production;
|
|
5645
|
-
this.
|
|
5646
|
-
this.
|
|
5647
|
+
this.zab_1 = loggerCallback;
|
|
5648
|
+
this.aac_1 = randomOrgConfig;
|
|
5647
5649
|
AppEnvironment_getInstance().b6w(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5648
5650
|
var tmp = this;
|
|
5649
|
-
tmp.
|
|
5651
|
+
tmp.bac_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5650
5652
|
var tmp_0 = this;
|
|
5651
|
-
tmp_0.
|
|
5653
|
+
tmp_0.cac_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5652
5654
|
var tmp_1 = this;
|
|
5653
5655
|
// Inline function 'org.kodein.di.instance' call
|
|
5654
5656
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5657,7 +5659,7 @@
|
|
|
5657
5659
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5658
5660
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5659
5661
|
var tmp_4 = KProperty1;
|
|
5660
|
-
tmp_1.
|
|
5662
|
+
tmp_1.dac_1 = tmp_3.o69(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5661
5663
|
var tmp_5 = this;
|
|
5662
5664
|
// Inline function 'org.kodein.di.instance' call
|
|
5663
5665
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5666,7 +5668,7 @@
|
|
|
5666
5668
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5667
5669
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5668
5670
|
var tmp_8 = KProperty1;
|
|
5669
|
-
tmp_5.
|
|
5671
|
+
tmp_5.eac_1 = tmp_7.o69(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5670
5672
|
var tmp_9 = this;
|
|
5671
5673
|
// Inline function 'org.kodein.di.instance' call
|
|
5672
5674
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5675,7 +5677,7 @@
|
|
|
5675
5677
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5676
5678
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5677
5679
|
var tmp_12 = KProperty1;
|
|
5678
|
-
tmp_9.
|
|
5680
|
+
tmp_9.fac_1 = tmp_11.o69(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5679
5681
|
var tmp_13 = this;
|
|
5680
5682
|
// Inline function 'org.kodein.di.instance' call
|
|
5681
5683
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5684,7 +5686,7 @@
|
|
|
5684
5686
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5685
5687
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5686
5688
|
var tmp_16 = KProperty1;
|
|
5687
|
-
tmp_13.
|
|
5689
|
+
tmp_13.gac_1 = tmp_15.o69(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5688
5690
|
var tmp_17 = this;
|
|
5689
5691
|
// Inline function 'org.kodein.di.instance' call
|
|
5690
5692
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5693,7 +5695,7 @@
|
|
|
5693
5695
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5694
5696
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5695
5697
|
var tmp_20 = KProperty1;
|
|
5696
|
-
tmp_17.
|
|
5698
|
+
tmp_17.hac_1 = tmp_19.o69(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5697
5699
|
var tmp_21 = this;
|
|
5698
5700
|
// Inline function 'org.kodein.di.instance' call
|
|
5699
5701
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5702,45 +5704,45 @@
|
|
|
5702
5704
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5703
5705
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5704
5706
|
var tmp_24 = KProperty1;
|
|
5705
|
-
tmp_21.
|
|
5707
|
+
tmp_21.iac_1 = tmp_23.o69(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5706
5708
|
}
|
|
5707
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5708
|
-
var tmp0 = this.
|
|
5709
|
+
protoOf(GameServerEngineControllerImpl).sab = function () {
|
|
5710
|
+
var tmp0 = this.dac_1;
|
|
5709
5711
|
var tmp = KProperty1;
|
|
5710
5712
|
// Inline function 'kotlin.getValue' call
|
|
5711
5713
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5712
5714
|
return tmp0.u();
|
|
5713
5715
|
};
|
|
5714
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5715
|
-
var tmp0 = this.
|
|
5716
|
+
protoOf(GameServerEngineControllerImpl).uab = function () {
|
|
5717
|
+
var tmp0 = this.eac_1;
|
|
5716
5718
|
var tmp = KProperty1;
|
|
5717
5719
|
// Inline function 'kotlin.getValue' call
|
|
5718
5720
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5719
5721
|
return tmp0.u();
|
|
5720
5722
|
};
|
|
5721
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5722
|
-
var tmp0 = this.
|
|
5723
|
+
protoOf(GameServerEngineControllerImpl).vab = function () {
|
|
5724
|
+
var tmp0 = this.fac_1;
|
|
5723
5725
|
var tmp = KProperty1;
|
|
5724
5726
|
// Inline function 'kotlin.getValue' call
|
|
5725
5727
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5726
5728
|
return tmp0.u();
|
|
5727
5729
|
};
|
|
5728
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5729
|
-
var tmp0 = this.
|
|
5730
|
+
protoOf(GameServerEngineControllerImpl).wab = function () {
|
|
5731
|
+
var tmp0 = this.gac_1;
|
|
5730
5732
|
var tmp = KProperty1;
|
|
5731
5733
|
// Inline function 'kotlin.getValue' call
|
|
5732
5734
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5733
5735
|
return tmp0.u();
|
|
5734
5736
|
};
|
|
5735
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5736
|
-
var tmp0 = this.
|
|
5737
|
+
protoOf(GameServerEngineControllerImpl).tab = function () {
|
|
5738
|
+
var tmp0 = this.hac_1;
|
|
5737
5739
|
var tmp = KProperty1;
|
|
5738
5740
|
// Inline function 'kotlin.getValue' call
|
|
5739
5741
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5740
5742
|
return tmp0.u();
|
|
5741
5743
|
};
|
|
5742
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5743
|
-
var tmp0 = this.
|
|
5744
|
+
protoOf(GameServerEngineControllerImpl).xab = function () {
|
|
5745
|
+
var tmp0 = this.iac_1;
|
|
5744
5746
|
var tmp = KProperty1;
|
|
5745
5747
|
// Inline function 'kotlin.getValue' call
|
|
5746
5748
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5752,7 +5754,7 @@
|
|
|
5752
5754
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5753
5755
|
return this.createGameEngineWithLogic();
|
|
5754
5756
|
};
|
|
5755
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5757
|
+
protoOf(GameServerEngineControllerImpl).yab = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5756
5758
|
var combinedLogger = Companion_instance_6.zo();
|
|
5757
5759
|
var tmp;
|
|
5758
5760
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5762,8 +5764,8 @@
|
|
|
5762
5764
|
}
|
|
5763
5765
|
var fileLoggerOutput = tmp;
|
|
5764
5766
|
var tmp_0;
|
|
5765
|
-
if (!(this.
|
|
5766
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5767
|
+
if (!(this.zab_1 == null)) {
|
|
5768
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.zab_1));
|
|
5767
5769
|
} else {
|
|
5768
5770
|
tmp_0 = null;
|
|
5769
5771
|
}
|
|
@@ -5795,7 +5797,7 @@
|
|
|
5795
5797
|
}
|
|
5796
5798
|
var tmp2_externalMiddlewares = toList_0(destination_0);
|
|
5797
5799
|
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
|
|
5798
|
-
var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
5800
|
+
var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, ratingConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
5799
5801
|
// Inline function 'org.kodein.di.instance' call
|
|
5800
5802
|
var tmp_1 = get_direct(di).g65();
|
|
5801
5803
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5804,12 +5806,12 @@
|
|
|
5804
5806
|
var gameServer = tmp_1.f65(tmp$ret$7, null);
|
|
5805
5807
|
if (!(fileLoggerOutput == null)) {
|
|
5806
5808
|
var tmp_3 = fileLoggerOutput;
|
|
5807
|
-
tmp_3.
|
|
5809
|
+
tmp_3.m9n_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5808
5810
|
combinedLogger.bp(fileLoggerOutput);
|
|
5809
5811
|
}
|
|
5810
5812
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5811
5813
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5812
|
-
tmp_4.
|
|
5814
|
+
tmp_4.h9m_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5813
5815
|
combinedLogger.bp(callbackWrapperLoggerOutput);
|
|
5814
5816
|
}
|
|
5815
5817
|
return gameServer;
|
|
@@ -5824,7 +5826,7 @@
|
|
|
5824
5826
|
function TestHelper() {
|
|
5825
5827
|
}
|
|
5826
5828
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5827
|
-
var tmp0 = $this.
|
|
5829
|
+
var tmp0 = $this.mac_1;
|
|
5828
5830
|
var tmp = KProperty1;
|
|
5829
5831
|
// Inline function 'kotlin.getValue' call
|
|
5830
5832
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5832,7 +5834,7 @@
|
|
|
5832
5834
|
}
|
|
5833
5835
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5834
5836
|
return function ($this$singleton) {
|
|
5835
|
-
return this$0.
|
|
5837
|
+
return this$0.kac_1;
|
|
5836
5838
|
};
|
|
5837
5839
|
}
|
|
5838
5840
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5871,27 +5873,27 @@
|
|
|
5871
5873
|
return emptyMap();
|
|
5872
5874
|
}
|
|
5873
5875
|
function TestHelperImpl(logger) {
|
|
5874
|
-
this.
|
|
5876
|
+
this.kac_1 = logger;
|
|
5875
5877
|
var tmp = this;
|
|
5876
5878
|
var tmp_0 = Companion_instance_3;
|
|
5877
|
-
tmp.
|
|
5879
|
+
tmp.lac_1 = tmp_0.c64(VOID, TestHelperImpl$di$lambda(this));
|
|
5878
5880
|
var tmp_1 = this;
|
|
5879
5881
|
// Inline function 'org.kodein.di.instance' call
|
|
5880
|
-
var this_0 = this.
|
|
5882
|
+
var this_0 = this.lac_1;
|
|
5881
5883
|
// Inline function 'org.kodein.type.generic' call
|
|
5882
5884
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5883
5885
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5884
5886
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5885
5887
|
var tmp_4 = KProperty1;
|
|
5886
|
-
tmp_1.
|
|
5888
|
+
tmp_1.mac_1 = tmp_3.o69(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5887
5889
|
}
|
|
5888
5890
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5889
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5891
|
+
return _get_playerAnswerInteractor__msggz1(this).c8u(playerId, table, botConfig);
|
|
5890
5892
|
};
|
|
5891
5893
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5892
5894
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5893
5895
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5894
|
-
var tmp0 = mechanicAction.
|
|
5896
|
+
var tmp0 = mechanicAction.u97();
|
|
5895
5897
|
var tmp$ret$0;
|
|
5896
5898
|
$l$block_0: {
|
|
5897
5899
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5923,7 +5925,7 @@
|
|
|
5923
5925
|
};
|
|
5924
5926
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5925
5927
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5926
|
-
var tmp0 = action.
|
|
5928
|
+
var tmp0 = action.u97();
|
|
5927
5929
|
var tmp$ret$0;
|
|
5928
5930
|
$l$block_0: {
|
|
5929
5931
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6038,22 +6040,22 @@
|
|
|
6038
6040
|
});
|
|
6039
6041
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6040
6042
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6041
|
-
return this.
|
|
6043
|
+
return this.sab();
|
|
6042
6044
|
});
|
|
6043
6045
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6044
|
-
return this.
|
|
6046
|
+
return this.uab();
|
|
6045
6047
|
});
|
|
6046
6048
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6047
|
-
return this.
|
|
6049
|
+
return this.vab();
|
|
6048
6050
|
});
|
|
6049
6051
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6050
|
-
return this.
|
|
6052
|
+
return this.wab();
|
|
6051
6053
|
});
|
|
6052
6054
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6053
|
-
return this.
|
|
6055
|
+
return this.tab();
|
|
6054
6056
|
});
|
|
6055
6057
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6056
|
-
return this.
|
|
6058
|
+
return this.xab();
|
|
6057
6059
|
});
|
|
6058
6060
|
//endregion
|
|
6059
6061
|
//region block: init
|