raspberry_games_server_game_logic 1.8.444 → 1.8.446
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 +900 -814
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +7 -4
- package/Logic_Debertz-game_server.js +901 -873
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
48
48
|
var protoOf = kotlin_kotlin.$_$.ld;
|
|
49
49
|
var THROW_CCE = kotlin_kotlin.$_$.oh;
|
|
50
|
-
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
50
|
+
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t1;
|
|
51
51
|
var initMetadataForLambda = kotlin_kotlin.$_$.pc;
|
|
52
52
|
var VOID = kotlin_kotlin.$_$.b;
|
|
53
53
|
var isInterface = kotlin_kotlin.$_$.zc;
|
|
@@ -59,18 +59,18 @@
|
|
|
59
59
|
var fromInt = kotlin_kotlin.$_$.gb;
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
62
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
62
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
63
63
|
var to = kotlin_kotlin.$_$.ti;
|
|
64
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
64
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
65
65
|
var KProperty1 = kotlin_kotlin.$_$.ke;
|
|
66
66
|
var getPropertyCallableRef = kotlin_kotlin.$_$.ic;
|
|
67
67
|
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
68
68
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
69
69
|
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
70
70
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
71
|
-
var PlayerAchievements = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
72
|
-
var mapToGameAnalytics = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
73
|
-
var PlayerLeftResult = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
71
|
+
var PlayerAchievements = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
|
|
72
|
+
var mapToGameAnalytics = kotlin_io_raspberryapps_game_engine_engine.$_$.n;
|
|
73
|
+
var PlayerLeftResult = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
74
74
|
var toString = kotlin_kotlin.$_$.od;
|
|
75
75
|
var ensureNotNull = kotlin_kotlin.$_$.fi;
|
|
76
76
|
var toMutableList = kotlin_kotlin.$_$.r9;
|
|
@@ -88,39 +88,39 @@
|
|
|
88
88
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
89
89
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
90
90
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.p2;
|
|
91
|
-
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
91
|
+
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m1;
|
|
92
92
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
93
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
94
|
-
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
95
|
-
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
93
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
94
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.q4;
|
|
95
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.r4;
|
|
96
96
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.z3;
|
|
97
97
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
98
98
|
var PlayerConnectionState_LEFT_PERMANENTLY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.x3;
|
|
99
99
|
var toList = kotlin_kotlin.$_$.o9;
|
|
100
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
100
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
|
|
101
101
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.h4;
|
|
102
102
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
103
103
|
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.h5;
|
|
104
104
|
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
|
|
105
105
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
106
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
106
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
|
|
107
107
|
var defineProp = kotlin_kotlin.$_$.dc;
|
|
108
108
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
109
109
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.m1;
|
|
110
|
-
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
111
|
-
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
112
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
-
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
110
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r2;
|
|
111
|
+
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.p4;
|
|
112
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
|
|
113
|
+
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
114
114
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.f4;
|
|
115
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
116
|
-
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
117
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
118
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
115
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
|
|
116
|
+
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.w2;
|
|
117
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
118
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
119
119
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
120
120
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
|
|
121
121
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.j1;
|
|
122
122
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.mi;
|
|
123
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
123
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.s4;
|
|
124
124
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
125
125
|
var getKClass = kotlin_kotlin.$_$.ge;
|
|
126
126
|
var arrayOf = kotlin_kotlin.$_$.ci;
|
|
@@ -128,22 +128,23 @@
|
|
|
128
128
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
129
129
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
130
130
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
131
|
-
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
132
|
-
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
133
|
-
var UserRatingInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
131
|
+
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
132
|
+
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
133
|
+
var UserRatingInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.h1;
|
|
134
134
|
var lazy = kotlin_kotlin.$_$.li;
|
|
135
135
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.o1;
|
|
136
136
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
137
|
-
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
138
|
-
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
139
|
-
var
|
|
137
|
+
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
138
|
+
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.u;
|
|
139
|
+
var LeaguesConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.h;
|
|
140
|
+
var BotChatInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
140
141
|
var InstanceOrNull = kotlin_org_kodein_di_kodein_di.$_$.e;
|
|
141
142
|
var plus = kotlin_kotlin.$_$.r8;
|
|
142
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
143
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.u4;
|
|
143
144
|
var toString_0 = kotlin_kotlin.$_$.si;
|
|
144
145
|
var mapToFinishReason = kotlin_io_raspberryapps_game_engine_core.$_$.q;
|
|
145
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
146
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
146
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
|
|
147
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o1;
|
|
147
148
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
148
149
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
149
150
|
var Enum = kotlin_kotlin.$_$.eh;
|
|
@@ -160,26 +161,26 @@
|
|
|
160
161
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
161
162
|
var objectCreate = kotlin_kotlin.$_$.kd;
|
|
162
163
|
var getStringHashCode = kotlin_kotlin.$_$.jc;
|
|
163
|
-
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
+
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.o;
|
|
165
|
+
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
|
|
165
166
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
166
167
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
167
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
168
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
168
169
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
169
|
-
var GameLifecycleInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
170
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
171
|
-
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
172
|
-
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
170
|
+
var GameLifecycleInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.g1;
|
|
171
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
172
|
+
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
|
|
173
|
+
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
174
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
174
175
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
175
176
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
176
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
178
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
178
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
|
|
179
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.t4;
|
|
179
180
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
180
181
|
var single = kotlin_kotlin.$_$.d9;
|
|
181
182
|
var copyToArray = kotlin_kotlin.$_$.y6;
|
|
182
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
183
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.n1;
|
|
183
184
|
var KtList = kotlin_kotlin.$_$.n5;
|
|
184
185
|
var Long = kotlin_kotlin.$_$.jh;
|
|
185
186
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
@@ -191,25 +192,25 @@
|
|
|
191
192
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
192
193
|
var toDuration = kotlin_kotlin.$_$.wg;
|
|
193
194
|
var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.e2;
|
|
194
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
195
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
|
|
195
196
|
var listOf = kotlin_kotlin.$_$.f8;
|
|
196
197
|
var plus_0 = kotlin_kotlin.$_$.s8;
|
|
197
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b3;
|
|
198
199
|
var listOf_0 = kotlin_kotlin.$_$.g8;
|
|
199
|
-
var PlayerTurnTimerTag_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
+
var PlayerTurnTimerTag_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
|
|
200
201
|
var StopTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
201
202
|
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.g2;
|
|
202
203
|
var TimerType_DELAY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
203
204
|
var StartTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
204
|
-
var AskBotAction_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
205
|
+
var AskBotAction_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
|
|
205
206
|
var MechanicException = kotlin_io_raspberryapps_game_engine_core.$_$.b;
|
|
206
|
-
var FinishingGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
-
var FinishGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
208
|
-
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
209
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
210
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
+
var FinishingGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r1;
|
|
208
|
+
var FinishGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q1;
|
|
209
|
+
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
210
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
|
|
211
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
211
212
|
var PlayerReturnsReason = kotlin_io_raspberryapps_game_engine_core.$_$.l1;
|
|
212
|
-
var ContinueGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
213
|
+
var ContinueGameToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p1;
|
|
213
214
|
var System_instance = kotlin_kotlin.$_$.u4;
|
|
214
215
|
var PlayerConnectionState_DISCONNECTING_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
|
|
215
216
|
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_core.$_$.u4;
|
|
@@ -217,102 +218,103 @@
|
|
|
217
218
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
218
219
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.m2;
|
|
219
220
|
var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.x2;
|
|
220
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
221
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
222
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
223
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
224
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
221
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
222
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
223
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
|
|
224
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
225
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
|
|
225
226
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
226
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
-
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
228
|
-
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
229
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
+
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
228
|
+
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
|
|
229
|
+
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.k1;
|
|
230
|
+
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
230
231
|
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.v;
|
|
231
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
-
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
233
|
+
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.w4;
|
|
233
234
|
var listOfNotNull = kotlin_kotlin.$_$.d8;
|
|
234
235
|
var listOfNotNull_0 = kotlin_kotlin.$_$.e8;
|
|
235
|
-
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
236
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
237
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
238
|
-
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
239
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
240
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
236
|
+
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
237
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
238
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
239
|
+
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
240
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
241
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p2;
|
|
241
242
|
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
242
|
-
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
243
|
+
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.x4;
|
|
243
244
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.n2;
|
|
244
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
246
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
247
|
-
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
248
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
249
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
250
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
251
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
252
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
253
|
-
var TakeAllRemainingCardsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
254
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
255
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
256
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
257
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
258
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
259
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
260
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
261
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
262
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
263
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
264
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
265
|
-
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
266
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
267
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
268
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
269
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
270
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
271
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
272
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
273
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
274
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
275
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
276
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
277
|
-
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
278
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
279
|
-
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
280
|
-
var mapToClient_18 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
281
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
282
|
-
var mapToClient_19 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
|
|
246
|
+
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.s1;
|
|
247
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
|
|
248
|
+
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
249
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.j2;
|
|
250
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
251
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
|
|
252
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
253
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
254
|
+
var TakeAllRemainingCardsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
255
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.z1;
|
|
256
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
257
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.h2;
|
|
258
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d3;
|
|
259
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.v1;
|
|
260
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q2;
|
|
261
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.k2;
|
|
262
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
263
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
|
|
264
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j3;
|
|
265
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.n2;
|
|
266
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c3;
|
|
267
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.l2;
|
|
268
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
269
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
270
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f3;
|
|
271
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.m2;
|
|
272
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
|
|
273
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.f2;
|
|
274
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
|
|
275
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.x1;
|
|
276
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e3;
|
|
277
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.d2;
|
|
278
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.g2;
|
|
279
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
280
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.y1;
|
|
281
|
+
var mapToClient_18 = kotlin_io_raspberryapps_game_engine_engine.$_$.a2;
|
|
282
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
|
|
283
|
+
var mapToClient_19 = kotlin_io_raspberryapps_game_engine_engine.$_$.w1;
|
|
283
284
|
var ignoreValidation = kotlin_io_raspberryapps_game_engine_core.$_$.s1;
|
|
284
|
-
var ignoreTimerResetValidation = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
285
|
+
var ignoreTimerResetValidation = kotlin_io_raspberryapps_game_engine_engine.$_$.i1;
|
|
285
286
|
var NotValidateIfGameFinished = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
|
|
286
|
-
var NotValidateTimerReset = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
287
|
+
var NotValidateTimerReset = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
287
288
|
var TimerTickAction = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
288
|
-
var FirstMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
289
|
+
var FirstMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
|
|
289
290
|
var PlayerConnectionState_TIMEOUT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b4;
|
|
290
291
|
var PlayerConnectionState_DELETED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v3;
|
|
291
|
-
var PlayerTurnTimerTag = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
292
|
+
var PlayerTurnTimerTag = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
292
293
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.o2;
|
|
293
294
|
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_core.$_$.w4;
|
|
294
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
295
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
295
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
296
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.y4;
|
|
296
297
|
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
297
298
|
var Collection = kotlin_kotlin.$_$.h5;
|
|
298
299
|
var toSet = kotlin_kotlin.$_$.u9;
|
|
299
|
-
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
300
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
301
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
300
|
+
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
301
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
302
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
|
|
302
303
|
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
304
|
+
var Companion_instance_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
|
|
303
305
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
|
|
304
306
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
305
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
307
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
|
|
306
308
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
307
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
308
|
-
var
|
|
309
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
310
|
+
var Companion_instance_7 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
309
311
|
var mutableListOf = kotlin_kotlin.$_$.m8;
|
|
310
312
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
311
313
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
312
314
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.p3;
|
|
313
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
314
|
-
var
|
|
315
|
-
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
315
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
316
|
+
var Companion_instance_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
|
|
317
|
+
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
316
318
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.m3;
|
|
317
319
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.o3;
|
|
318
320
|
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.n3;
|
|
@@ -323,18 +325,18 @@
|
|
|
323
325
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
324
326
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
325
327
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
326
|
-
var
|
|
328
|
+
var Companion_instance_9 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
327
329
|
var toList_0 = kotlin_kotlin.$_$.n9;
|
|
328
330
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.r2;
|
|
329
331
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
330
|
-
var engineGameLogicModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
331
|
-
var engineGameBotModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
332
|
+
var engineGameLogicModule = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
333
|
+
var engineGameBotModule = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
|
|
332
334
|
var emptyMap = kotlin_kotlin.$_$.e7;
|
|
333
|
-
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
334
|
-
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
335
|
-
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
336
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
337
|
-
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
335
|
+
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
|
|
336
|
+
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.l1;
|
|
337
|
+
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.u1;
|
|
338
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
|
|
339
|
+
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
|
|
338
340
|
var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
|
|
339
341
|
//endregion
|
|
340
342
|
//region block: pre-declaration
|
|
@@ -403,10 +405,10 @@
|
|
|
403
405
|
spectators = tmp;
|
|
404
406
|
var tmp_0;
|
|
405
407
|
if ($super === VOID) {
|
|
406
|
-
this.
|
|
408
|
+
this.oa9(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
407
409
|
tmp_0 = Unit_instance;
|
|
408
410
|
} else {
|
|
409
|
-
tmp_0 = $super.
|
|
411
|
+
tmp_0 = $super.oa9.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
410
412
|
}
|
|
411
413
|
return tmp_0;
|
|
412
414
|
}
|
|
@@ -414,10 +416,10 @@
|
|
|
414
416
|
newRid = newRid === VOID ? null : newRid;
|
|
415
417
|
var tmp;
|
|
416
418
|
if ($super === VOID) {
|
|
417
|
-
this.
|
|
419
|
+
this.qa9(newRid);
|
|
418
420
|
tmp = Unit_instance;
|
|
419
421
|
} else {
|
|
420
|
-
tmp = $super.
|
|
422
|
+
tmp = $super.qa9.call(this, newRid);
|
|
421
423
|
}
|
|
422
424
|
return tmp;
|
|
423
425
|
}
|
|
@@ -425,16 +427,16 @@
|
|
|
425
427
|
roomId = roomId === VOID ? null : roomId;
|
|
426
428
|
var tmp;
|
|
427
429
|
if ($super === VOID) {
|
|
428
|
-
this.
|
|
430
|
+
this.ra9(reason, roomId);
|
|
429
431
|
tmp = Unit_instance;
|
|
430
432
|
} else {
|
|
431
|
-
tmp = $super.
|
|
433
|
+
tmp = $super.ra9.call(this, reason, roomId);
|
|
432
434
|
}
|
|
433
435
|
return tmp;
|
|
434
436
|
}
|
|
435
437
|
function playerLeft(playerId, roomId, permanently, $super) {
|
|
436
438
|
permanently = permanently === VOID ? true : permanently;
|
|
437
|
-
return $super === VOID ? this.
|
|
439
|
+
return $super === VOID ? this.na9(playerId, roomId, permanently) : $super.na9.call(this, playerId, roomId, permanently);
|
|
438
440
|
}
|
|
439
441
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
440
442
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -485,7 +487,7 @@
|
|
|
485
487
|
initMetadataForClass(playerConnectionUpdateReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
486
488
|
initMetadataForCompanion(Companion_6);
|
|
487
489
|
initMetadataForClass(ServerStatePayload, 'ServerStatePayload', VOID, VOID, [AppStatePayload]);
|
|
488
|
-
function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig, $super) {
|
|
490
|
+
function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig, $super) {
|
|
489
491
|
var tmp;
|
|
490
492
|
if (reducers === VOID) {
|
|
491
493
|
// Inline function 'kotlin.emptyArray' call
|
|
@@ -506,9 +508,10 @@
|
|
|
506
508
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
507
509
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
508
510
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
511
|
+
leaguesConfig = leaguesConfig === VOID ? Companion_instance_6.defaultConfig() : leaguesConfig;
|
|
509
512
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
510
513
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
511
|
-
return $super === VOID ? this.
|
|
514
|
+
return $super === VOID ? this.uaf(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) : $super.uaf.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig);
|
|
512
515
|
}
|
|
513
516
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
514
517
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -1506,10 +1509,17 @@
|
|
|
1506
1509
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1507
1510
|
return tmp0.x();
|
|
1508
1511
|
}
|
|
1509
|
-
function
|
|
1512
|
+
function _get_leaguesConfig__hvzxf9($this) {
|
|
1510
1513
|
var tmp0 = $this.r9y_1;
|
|
1511
1514
|
var tmp = KProperty1;
|
|
1512
1515
|
// Inline function 'kotlin.getValue' call
|
|
1516
|
+
getPropertyCallableRef('leaguesConfig', 1, tmp, GameServer$_get_leaguesConfig_$ref_fi951n_0(), null);
|
|
1517
|
+
return tmp0.x();
|
|
1518
|
+
}
|
|
1519
|
+
function _get_botChatInteractor__17f3on($this) {
|
|
1520
|
+
var tmp0 = $this.s9y_1;
|
|
1521
|
+
var tmp = KProperty1;
|
|
1522
|
+
// Inline function 'kotlin.getValue' call
|
|
1513
1523
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
1514
1524
|
return tmp0.x();
|
|
1515
1525
|
}
|
|
@@ -1543,7 +1553,7 @@
|
|
|
1543
1553
|
var player = getPlayer(table.players, playerId);
|
|
1544
1554
|
var tmp;
|
|
1545
1555
|
if (_get_engineLogicConfig__l11qpf($this).updateRating) {
|
|
1546
|
-
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).
|
|
1556
|
+
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).s8z(player, table.players, table.config, table.gameDuration, table.isGameFinished, VOID, _get_leaguesConfig__hvzxf9($this));
|
|
1547
1557
|
var tmp_0;
|
|
1548
1558
|
if (tmp0_safe_receiver == null) {
|
|
1549
1559
|
tmp_0 = null;
|
|
@@ -1640,20 +1650,20 @@
|
|
|
1640
1650
|
return _get_teamsLogicProvider__u10pm6($this).b8s(updatedTeams);
|
|
1641
1651
|
}
|
|
1642
1652
|
function Companion() {
|
|
1643
|
-
this.
|
|
1653
|
+
this.u9y_1 = 'GameEngine_API';
|
|
1644
1654
|
}
|
|
1645
|
-
var
|
|
1655
|
+
var Companion_instance_10;
|
|
1646
1656
|
function Companion_getInstance_0() {
|
|
1647
|
-
return
|
|
1657
|
+
return Companion_instance_10;
|
|
1648
1658
|
}
|
|
1649
1659
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1650
|
-
this.
|
|
1660
|
+
this.v9y_1 = function_0;
|
|
1651
1661
|
}
|
|
1652
1662
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
|
|
1653
|
-
return this.
|
|
1663
|
+
return this.v9y_1(value, $completion);
|
|
1654
1664
|
};
|
|
1655
1665
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1656
|
-
return this.
|
|
1666
|
+
return this.v9y_1;
|
|
1657
1667
|
};
|
|
1658
1668
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1659
1669
|
var tmp;
|
|
@@ -1674,13 +1684,13 @@
|
|
|
1674
1684
|
return hashCode(this.b3());
|
|
1675
1685
|
};
|
|
1676
1686
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1677
|
-
this.
|
|
1687
|
+
this.w9y_1 = function_0;
|
|
1678
1688
|
}
|
|
1679
1689
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o28 = function (value, $completion) {
|
|
1680
|
-
return this.
|
|
1690
|
+
return this.w9y_1(value, $completion);
|
|
1681
1691
|
};
|
|
1682
1692
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1683
|
-
return this.
|
|
1693
|
+
return this.w9y_1;
|
|
1684
1694
|
};
|
|
1685
1695
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1686
1696
|
var tmp;
|
|
@@ -1701,13 +1711,13 @@
|
|
|
1701
1711
|
return hashCode(this.b3());
|
|
1702
1712
|
};
|
|
1703
1713
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1704
|
-
this.
|
|
1714
|
+
this.x9y_1 = function_0;
|
|
1705
1715
|
}
|
|
1706
1716
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o28 = function (value, $completion) {
|
|
1707
|
-
return this.
|
|
1717
|
+
return this.x9y_1(value, $completion);
|
|
1708
1718
|
};
|
|
1709
1719
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1710
|
-
return this.
|
|
1720
|
+
return this.x9y_1;
|
|
1711
1721
|
};
|
|
1712
1722
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1713
1723
|
var tmp;
|
|
@@ -1728,13 +1738,13 @@
|
|
|
1728
1738
|
return hashCode(this.b3());
|
|
1729
1739
|
};
|
|
1730
1740
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1731
|
-
this.
|
|
1741
|
+
this.y9y_1 = function_0;
|
|
1732
1742
|
}
|
|
1733
1743
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o28 = function (value, $completion) {
|
|
1734
|
-
return this.
|
|
1744
|
+
return this.y9y_1(value, $completion);
|
|
1735
1745
|
};
|
|
1736
1746
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1737
|
-
return this.
|
|
1747
|
+
return this.y9y_1;
|
|
1738
1748
|
};
|
|
1739
1749
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1740
1750
|
var tmp;
|
|
@@ -1755,13 +1765,13 @@
|
|
|
1755
1765
|
return hashCode(this.b3());
|
|
1756
1766
|
};
|
|
1757
1767
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1758
|
-
this.
|
|
1768
|
+
this.z9y_1 = function_0;
|
|
1759
1769
|
}
|
|
1760
1770
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o28 = function (value, $completion) {
|
|
1761
|
-
return this.
|
|
1771
|
+
return this.z9y_1(value, $completion);
|
|
1762
1772
|
};
|
|
1763
1773
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1764
|
-
return this.
|
|
1774
|
+
return this.z9y_1;
|
|
1765
1775
|
};
|
|
1766
1776
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1767
1777
|
var tmp;
|
|
@@ -1782,13 +1792,13 @@
|
|
|
1782
1792
|
return hashCode(this.b3());
|
|
1783
1793
|
};
|
|
1784
1794
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1785
|
-
this.
|
|
1795
|
+
this.a9z_1 = function_0;
|
|
1786
1796
|
}
|
|
1787
1797
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).o28 = function (value, $completion) {
|
|
1788
|
-
return this.
|
|
1798
|
+
return this.a9z_1(value, $completion);
|
|
1789
1799
|
};
|
|
1790
1800
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1791
|
-
return this.
|
|
1801
|
+
return this.a9z_1;
|
|
1792
1802
|
};
|
|
1793
1803
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1794
1804
|
var tmp;
|
|
@@ -1908,6 +1918,16 @@
|
|
|
1908
1918
|
return _get_engineLogicConfig__l11qpf(p0);
|
|
1909
1919
|
};
|
|
1910
1920
|
}
|
|
1921
|
+
function GameServer$_get_leaguesConfig_$ref_fi951n() {
|
|
1922
|
+
return function (p0) {
|
|
1923
|
+
return _get_leaguesConfig__hvzxf9(p0);
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
function GameServer$_get_leaguesConfig_$ref_fi951n_0() {
|
|
1927
|
+
return function (p0) {
|
|
1928
|
+
return _get_leaguesConfig__hvzxf9(p0);
|
|
1929
|
+
};
|
|
1930
|
+
}
|
|
1911
1931
|
function GameServer$_get_botChatInteractor_$ref_zf10ih() {
|
|
1912
1932
|
return function (p0) {
|
|
1913
1933
|
return _get_botChatInteractor__17f3on(p0);
|
|
@@ -1919,8 +1939,8 @@
|
|
|
1919
1939
|
};
|
|
1920
1940
|
}
|
|
1921
1941
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1922
|
-
this.
|
|
1923
|
-
this.
|
|
1942
|
+
this.j9z_1 = this$0;
|
|
1943
|
+
this.k9z_1 = $subscriber;
|
|
1924
1944
|
CoroutineImpl.call(this, resultContinuation);
|
|
1925
1945
|
}
|
|
1926
1946
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -1941,8 +1961,8 @@
|
|
|
1941
1961
|
case 0:
|
|
1942
1962
|
this.t8_1 = 2;
|
|
1943
1963
|
this.s8_1 = 1;
|
|
1944
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1945
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1964
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.j9z_1).m9z();
|
|
1965
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.k9z_1, null);
|
|
1946
1966
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1947
1967
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1948
1968
|
return suspendResult;
|
|
@@ -1966,8 +1986,8 @@
|
|
|
1966
1986
|
while (true);
|
|
1967
1987
|
};
|
|
1968
1988
|
protoOf(GameServer$subscribeToClientAction$slambda).d2d = function ($this$launchDefault, completion) {
|
|
1969
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1970
|
-
i.
|
|
1989
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.j9z_1, this.k9z_1, completion);
|
|
1990
|
+
i.l9z_1 = $this$launchDefault;
|
|
1971
1991
|
return i;
|
|
1972
1992
|
};
|
|
1973
1993
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1979,8 +1999,8 @@
|
|
|
1979
1999
|
return l;
|
|
1980
2000
|
}
|
|
1981
2001
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1982
|
-
this.
|
|
1983
|
-
this.
|
|
2002
|
+
this.v9z_1 = this$0;
|
|
2003
|
+
this.w9z_1 = $subscriber;
|
|
1984
2004
|
CoroutineImpl.call(this, resultContinuation);
|
|
1985
2005
|
}
|
|
1986
2006
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2001,8 +2021,8 @@
|
|
|
2001
2021
|
case 0:
|
|
2002
2022
|
this.t8_1 = 2;
|
|
2003
2023
|
this.s8_1 = 1;
|
|
2004
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2005
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2024
|
+
var tmp_0 = observeTableStateUpdates(this.v9z_1);
|
|
2025
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.w9z_1, null);
|
|
2006
2026
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2007
2027
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2008
2028
|
return suspendResult;
|
|
@@ -2026,8 +2046,8 @@
|
|
|
2026
2046
|
while (true);
|
|
2027
2047
|
};
|
|
2028
2048
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2029
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2030
|
-
i.
|
|
2049
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.v9z_1, this.w9z_1, completion);
|
|
2050
|
+
i.x9z_1 = $this$launchDefault;
|
|
2031
2051
|
return i;
|
|
2032
2052
|
};
|
|
2033
2053
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2039,8 +2059,8 @@
|
|
|
2039
2059
|
return l;
|
|
2040
2060
|
}
|
|
2041
2061
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2042
|
-
this.
|
|
2043
|
-
this.
|
|
2062
|
+
this.ga0_1 = this$0;
|
|
2063
|
+
this.ha0_1 = $subscriber;
|
|
2044
2064
|
CoroutineImpl.call(this, resultContinuation);
|
|
2045
2065
|
}
|
|
2046
2066
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2061,9 +2081,9 @@
|
|
|
2061
2081
|
case 0:
|
|
2062
2082
|
this.t8_1 = 2;
|
|
2063
2083
|
this.s8_1 = 1;
|
|
2064
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2065
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2066
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2084
|
+
var this_0 = observeTableStateUpdates(this.ga0_1);
|
|
2085
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.ga0_1);
|
|
2086
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.ha0_1, null);
|
|
2067
2087
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2068
2088
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2069
2089
|
return suspendResult;
|
|
@@ -2087,8 +2107,8 @@
|
|
|
2087
2107
|
while (true);
|
|
2088
2108
|
};
|
|
2089
2109
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2090
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2091
|
-
i.
|
|
2110
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.ga0_1, this.ha0_1, completion);
|
|
2111
|
+
i.ia0_1 = $this$launchDefault;
|
|
2092
2112
|
return i;
|
|
2093
2113
|
};
|
|
2094
2114
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2100,8 +2120,8 @@
|
|
|
2100
2120
|
return l;
|
|
2101
2121
|
}
|
|
2102
2122
|
function GameServer$getServerTableState$slambda(this$0, $callback, resultContinuation) {
|
|
2103
|
-
this.
|
|
2104
|
-
this.
|
|
2123
|
+
this.ra0_1 = this$0;
|
|
2124
|
+
this.sa0_1 = $callback;
|
|
2105
2125
|
CoroutineImpl.call(this, resultContinuation);
|
|
2106
2126
|
}
|
|
2107
2127
|
protoOf(GameServer$getServerTableState$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2120,11 +2140,11 @@
|
|
|
2120
2140
|
var tmp = this.s8_1;
|
|
2121
2141
|
if (tmp === 0) {
|
|
2122
2142
|
this.t8_1 = 1;
|
|
2123
|
-
if (!this.
|
|
2143
|
+
if (!this.ra0_1.isTableExists) {
|
|
2124
2144
|
return Unit_instance;
|
|
2125
2145
|
}
|
|
2126
|
-
var dto = mapToDto_3(new TableStateUpdate(this.
|
|
2127
|
-
this.
|
|
2146
|
+
var dto = mapToDto_3(new TableStateUpdate(this.ra0_1.table.id, this.ra0_1.table), _get_encoderDecoderProvider__qqgrji(this.ra0_1));
|
|
2147
|
+
this.sa0_1(dto);
|
|
2128
2148
|
return Unit_instance;
|
|
2129
2149
|
} else if (tmp === 1) {
|
|
2130
2150
|
throw this.v8_1;
|
|
@@ -2136,8 +2156,8 @@
|
|
|
2136
2156
|
while (true);
|
|
2137
2157
|
};
|
|
2138
2158
|
protoOf(GameServer$getServerTableState$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2139
|
-
var i = new GameServer$getServerTableState$slambda(this.
|
|
2140
|
-
i.
|
|
2159
|
+
var i = new GameServer$getServerTableState$slambda(this.ra0_1, this.sa0_1, completion);
|
|
2160
|
+
i.ta0_1 = $this$launchDefault;
|
|
2141
2161
|
return i;
|
|
2142
2162
|
};
|
|
2143
2163
|
function GameServer$getServerTableState$slambda_0(this$0, $callback, resultContinuation) {
|
|
@@ -2149,18 +2169,18 @@
|
|
|
2149
2169
|
return l;
|
|
2150
2170
|
}
|
|
2151
2171
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2152
|
-
this.
|
|
2172
|
+
this.ca1_1 = this$0;
|
|
2153
2173
|
CoroutineImpl.call(this, resultContinuation);
|
|
2154
2174
|
}
|
|
2155
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2156
|
-
var tmp = this.
|
|
2175
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).fa1 = function ($this$transformLatest, it, $completion) {
|
|
2176
|
+
var tmp = this.ga1($this$transformLatest, it, $completion);
|
|
2157
2177
|
tmp.u8_1 = Unit_instance;
|
|
2158
2178
|
tmp.v8_1 = null;
|
|
2159
2179
|
return tmp.a9();
|
|
2160
2180
|
};
|
|
2161
2181
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
2162
2182
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2163
|
-
return this.
|
|
2183
|
+
return this.fa1(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2164
2184
|
};
|
|
2165
2185
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
2166
2186
|
var suspendResult = this.u8_1;
|
|
@@ -2171,8 +2191,8 @@
|
|
|
2171
2191
|
case 0:
|
|
2172
2192
|
this.t8_1 = 2;
|
|
2173
2193
|
this.s8_1 = 1;
|
|
2174
|
-
var table = this.
|
|
2175
|
-
suspendResult = emitAll(this.
|
|
2194
|
+
var table = this.ea1_1;
|
|
2195
|
+
suspendResult = emitAll(this.da1_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.ca1_1, null)), this);
|
|
2176
2196
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2177
2197
|
return suspendResult;
|
|
2178
2198
|
}
|
|
@@ -2194,16 +2214,16 @@
|
|
|
2194
2214
|
}
|
|
2195
2215
|
while (true);
|
|
2196
2216
|
};
|
|
2197
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2198
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2199
|
-
i.
|
|
2200
|
-
i.
|
|
2217
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).ga1 = function ($this$transformLatest, it, completion) {
|
|
2218
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.ca1_1, completion);
|
|
2219
|
+
i.da1_1 = $this$transformLatest;
|
|
2220
|
+
i.ea1_1 = it;
|
|
2201
2221
|
return i;
|
|
2202
2222
|
};
|
|
2203
2223
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2204
2224
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2205
2225
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2206
|
-
return i.
|
|
2226
|
+
return i.fa1($this$transformLatest, it, $completion);
|
|
2207
2227
|
};
|
|
2208
2228
|
l.$arity = 2;
|
|
2209
2229
|
return l;
|
|
@@ -2261,8 +2281,8 @@
|
|
|
2261
2281
|
return this.p28(collector, $completion);
|
|
2262
2282
|
};
|
|
2263
2283
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2264
|
-
this.
|
|
2265
|
-
this.
|
|
2284
|
+
this.pa1_1 = this$0;
|
|
2285
|
+
this.qa1_1 = $subscriber;
|
|
2266
2286
|
CoroutineImpl.call(this, resultContinuation);
|
|
2267
2287
|
}
|
|
2268
2288
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2283,8 +2303,8 @@
|
|
|
2283
2303
|
case 0:
|
|
2284
2304
|
this.t8_1 = 2;
|
|
2285
2305
|
this.s8_1 = 1;
|
|
2286
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2287
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2306
|
+
var tmp_0 = distinctUntilChanged(this.pa1_1.b6r());
|
|
2307
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.qa1_1, null);
|
|
2288
2308
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2289
2309
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2290
2310
|
return suspendResult;
|
|
@@ -2308,8 +2328,8 @@
|
|
|
2308
2328
|
while (true);
|
|
2309
2329
|
};
|
|
2310
2330
|
protoOf(GameServer$subscribeWith$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2311
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2312
|
-
i.
|
|
2331
|
+
var i = new GameServer$subscribeWith$slambda(this.pa1_1, this.qa1_1, completion);
|
|
2332
|
+
i.ra1_1 = $this$launchDefault;
|
|
2313
2333
|
return i;
|
|
2314
2334
|
};
|
|
2315
2335
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2321,18 +2341,18 @@
|
|
|
2321
2341
|
return l;
|
|
2322
2342
|
}
|
|
2323
2343
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2324
|
-
this.
|
|
2344
|
+
this.aa2_1 = $action;
|
|
2325
2345
|
CoroutineImpl.call(this, resultContinuation);
|
|
2326
2346
|
}
|
|
2327
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2328
|
-
var tmp = this.
|
|
2347
|
+
protoOf(GameServer$fromClientEvent$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2348
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2329
2349
|
tmp.u8_1 = Unit_instance;
|
|
2330
2350
|
tmp.v8_1 = null;
|
|
2331
2351
|
return tmp.a9();
|
|
2332
2352
|
};
|
|
2333
2353
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2334
2354
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2335
|
-
return this.
|
|
2355
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2336
2356
|
};
|
|
2337
2357
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2338
2358
|
var suspendResult = this.u8_1;
|
|
@@ -2341,11 +2361,11 @@
|
|
|
2341
2361
|
var tmp = this.s8_1;
|
|
2342
2362
|
if (tmp === 0) {
|
|
2343
2363
|
this.t8_1 = 1;
|
|
2344
|
-
if (this.
|
|
2345
|
-
if (!get_isCreated(this.
|
|
2364
|
+
if (this.aa2_1 instanceof PlayerReadyFromClientAction)
|
|
2365
|
+
if (!get_isCreated(this.ca2_1.state)) {
|
|
2346
2366
|
return Unit_instance;
|
|
2347
2367
|
}
|
|
2348
|
-
this.
|
|
2368
|
+
this.ca2_1.dispatch(this.aa2_1);
|
|
2349
2369
|
return Unit_instance;
|
|
2350
2370
|
} else if (tmp === 1) {
|
|
2351
2371
|
throw this.v8_1;
|
|
@@ -2356,34 +2376,34 @@
|
|
|
2356
2376
|
}
|
|
2357
2377
|
while (true);
|
|
2358
2378
|
};
|
|
2359
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2360
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2361
|
-
i.
|
|
2362
|
-
i.
|
|
2379
|
+
protoOf(GameServer$fromClientEvent$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2380
|
+
var i = new GameServer$fromClientEvent$slambda(this.aa2_1, completion);
|
|
2381
|
+
i.ba2_1 = $this$dispatchAsync;
|
|
2382
|
+
i.ca2_1 = store;
|
|
2363
2383
|
return i;
|
|
2364
2384
|
};
|
|
2365
2385
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2366
2386
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2367
2387
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2368
|
-
return i.
|
|
2388
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2369
2389
|
};
|
|
2370
2390
|
l.$arity = 2;
|
|
2371
2391
|
return l;
|
|
2372
2392
|
}
|
|
2373
2393
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2374
|
-
this.
|
|
2375
|
-
this.
|
|
2394
|
+
this.na2_1 = $playerId;
|
|
2395
|
+
this.oa2_1 = $roomId;
|
|
2376
2396
|
CoroutineImpl.call(this, resultContinuation);
|
|
2377
2397
|
}
|
|
2378
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2379
|
-
var tmp = this.
|
|
2398
|
+
protoOf(GameServer$playerLostConnection$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2399
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2380
2400
|
tmp.u8_1 = Unit_instance;
|
|
2381
2401
|
tmp.v8_1 = null;
|
|
2382
2402
|
return tmp.a9();
|
|
2383
2403
|
};
|
|
2384
2404
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2385
2405
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2386
|
-
return this.
|
|
2406
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2387
2407
|
};
|
|
2388
2408
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2389
2409
|
var suspendResult = this.u8_1;
|
|
@@ -2392,12 +2412,12 @@
|
|
|
2392
2412
|
var tmp = this.s8_1;
|
|
2393
2413
|
if (tmp === 0) {
|
|
2394
2414
|
this.t8_1 = 1;
|
|
2395
|
-
if (!get_isCreated(this.
|
|
2415
|
+
if (!get_isCreated(this.qa2_1.state)) {
|
|
2396
2416
|
return Unit_instance;
|
|
2397
2417
|
}
|
|
2398
|
-
var tmp_0 = this.
|
|
2418
|
+
var tmp_0 = this.qa2_1.dispatch;
|
|
2399
2419
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2400
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2420
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.na2_1, this.oa2_1));
|
|
2401
2421
|
return Unit_instance;
|
|
2402
2422
|
} else if (tmp === 1) {
|
|
2403
2423
|
throw this.v8_1;
|
|
@@ -2408,35 +2428,35 @@
|
|
|
2408
2428
|
}
|
|
2409
2429
|
while (true);
|
|
2410
2430
|
};
|
|
2411
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2412
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2413
|
-
i.
|
|
2414
|
-
i.
|
|
2431
|
+
protoOf(GameServer$playerLostConnection$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2432
|
+
var i = new GameServer$playerLostConnection$slambda(this.na2_1, this.oa2_1, completion);
|
|
2433
|
+
i.pa2_1 = $this$dispatchAsync;
|
|
2434
|
+
i.qa2_1 = store;
|
|
2415
2435
|
return i;
|
|
2416
2436
|
};
|
|
2417
2437
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2418
2438
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2419
2439
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2420
|
-
return i.
|
|
2440
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2421
2441
|
};
|
|
2422
2442
|
l.$arity = 2;
|
|
2423
2443
|
return l;
|
|
2424
2444
|
}
|
|
2425
2445
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2426
|
-
this.
|
|
2427
|
-
this.
|
|
2428
|
-
this.
|
|
2446
|
+
this.za2_1 = this$0;
|
|
2447
|
+
this.aa3_1 = $playerId;
|
|
2448
|
+
this.ba3_1 = $roomId;
|
|
2429
2449
|
CoroutineImpl.call(this, resultContinuation);
|
|
2430
2450
|
}
|
|
2431
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2432
|
-
var tmp = this.
|
|
2451
|
+
protoOf(GameServer$playerLive$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2452
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2433
2453
|
tmp.u8_1 = Unit_instance;
|
|
2434
2454
|
tmp.v8_1 = null;
|
|
2435
2455
|
return tmp.a9();
|
|
2436
2456
|
};
|
|
2437
2457
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2438
2458
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2439
|
-
return this.
|
|
2459
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2440
2460
|
};
|
|
2441
2461
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2442
2462
|
var suspendResult = this.u8_1;
|
|
@@ -2445,16 +2465,16 @@
|
|
|
2445
2465
|
var tmp = this.s8_1;
|
|
2446
2466
|
if (tmp === 0) {
|
|
2447
2467
|
this.t8_1 = 1;
|
|
2448
|
-
if (get_isFinished(this.
|
|
2468
|
+
if (get_isFinished(this.da3_1.state) || get_isFinishing(this.da3_1.state)) {
|
|
2449
2469
|
return Unit_instance;
|
|
2450
2470
|
}
|
|
2451
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2452
|
-
this.
|
|
2471
|
+
if (!_get_serverReduxConfig__rprcrm(this.za2_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.da3_1.state) || !this.za2_1.x66().e6s())) {
|
|
2472
|
+
this.za2_1.i4q().v('GameEngine_API', 'playerLive: ' + this.aa3_1 + ' before game is created');
|
|
2453
2473
|
return Unit_instance;
|
|
2454
2474
|
}
|
|
2455
|
-
var tmp_0 = this.
|
|
2475
|
+
var tmp_0 = this.da3_1.dispatch;
|
|
2456
2476
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2457
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2477
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.aa3_1, this.ba3_1));
|
|
2458
2478
|
return Unit_instance;
|
|
2459
2479
|
} else if (tmp === 1) {
|
|
2460
2480
|
throw this.v8_1;
|
|
@@ -2465,36 +2485,36 @@
|
|
|
2465
2485
|
}
|
|
2466
2486
|
while (true);
|
|
2467
2487
|
};
|
|
2468
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2469
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2470
|
-
i.
|
|
2471
|
-
i.
|
|
2488
|
+
protoOf(GameServer$playerLive$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2489
|
+
var i = new GameServer$playerLive$slambda(this.za2_1, this.aa3_1, this.ba3_1, completion);
|
|
2490
|
+
i.ca3_1 = $this$dispatchAsync;
|
|
2491
|
+
i.da3_1 = store;
|
|
2472
2492
|
return i;
|
|
2473
2493
|
};
|
|
2474
2494
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2475
2495
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2476
2496
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2477
|
-
return i.
|
|
2497
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2478
2498
|
};
|
|
2479
2499
|
l.$arity = 2;
|
|
2480
2500
|
return l;
|
|
2481
2501
|
}
|
|
2482
2502
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2483
|
-
this.
|
|
2484
|
-
this.
|
|
2485
|
-
this.
|
|
2486
|
-
this.
|
|
2503
|
+
this.ma3_1 = this$0;
|
|
2504
|
+
this.na3_1 = $playerId;
|
|
2505
|
+
this.oa3_1 = $permanently;
|
|
2506
|
+
this.pa3_1 = $roomId;
|
|
2487
2507
|
CoroutineImpl.call(this, resultContinuation);
|
|
2488
2508
|
}
|
|
2489
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2490
|
-
var tmp = this.
|
|
2509
|
+
protoOf(GameServer$playerLeft$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2510
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2491
2511
|
tmp.u8_1 = Unit_instance;
|
|
2492
2512
|
tmp.v8_1 = null;
|
|
2493
2513
|
return tmp.a9();
|
|
2494
2514
|
};
|
|
2495
2515
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2496
2516
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2497
|
-
return this.
|
|
2517
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2498
2518
|
};
|
|
2499
2519
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2500
2520
|
var suspendResult = this.u8_1;
|
|
@@ -2503,22 +2523,22 @@
|
|
|
2503
2523
|
var tmp = this.s8_1;
|
|
2504
2524
|
if (tmp === 0) {
|
|
2505
2525
|
this.t8_1 = 1;
|
|
2506
|
-
if (get_isFinished(this.
|
|
2526
|
+
if (get_isFinished(this.ra3_1.state) || get_isFinishing(this.ra3_1.state)) {
|
|
2507
2527
|
return Unit_instance;
|
|
2508
2528
|
}
|
|
2509
|
-
if (!get_isCreated(this.
|
|
2510
|
-
this.
|
|
2529
|
+
if (!get_isCreated(this.ra3_1.state) || !this.ma3_1.x66().e6s()) {
|
|
2530
|
+
this.ma3_1.i4q().w('GameEngine_API', 'playerLeft: ' + this.na3_1 + ' before game is created');
|
|
2511
2531
|
return Unit_instance;
|
|
2512
2532
|
}
|
|
2513
|
-
var tmp_0 = this.
|
|
2533
|
+
var tmp_0 = this.ra3_1.dispatch;
|
|
2514
2534
|
var tmp_1;
|
|
2515
|
-
if (this.
|
|
2535
|
+
if (this.oa3_1) {
|
|
2516
2536
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2517
2537
|
} else {
|
|
2518
2538
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2519
2539
|
}
|
|
2520
2540
|
var tmp0_connectionState = tmp_1;
|
|
2521
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2541
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.na3_1, this.pa3_1));
|
|
2522
2542
|
return Unit_instance;
|
|
2523
2543
|
} else if (tmp === 1) {
|
|
2524
2544
|
throw this.v8_1;
|
|
@@ -2529,39 +2549,39 @@
|
|
|
2529
2549
|
}
|
|
2530
2550
|
while (true);
|
|
2531
2551
|
};
|
|
2532
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2533
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2534
|
-
i.
|
|
2535
|
-
i.
|
|
2552
|
+
protoOf(GameServer$playerLeft$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2553
|
+
var i = new GameServer$playerLeft$slambda(this.ma3_1, this.na3_1, this.oa3_1, this.pa3_1, completion);
|
|
2554
|
+
i.qa3_1 = $this$dispatchAsync;
|
|
2555
|
+
i.ra3_1 = store;
|
|
2536
2556
|
return i;
|
|
2537
2557
|
};
|
|
2538
2558
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2539
2559
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2540
2560
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2541
|
-
return i.
|
|
2561
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2542
2562
|
};
|
|
2543
2563
|
l.$arity = 2;
|
|
2544
2564
|
return l;
|
|
2545
2565
|
}
|
|
2546
2566
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2547
|
-
this.
|
|
2548
|
-
this.
|
|
2549
|
-
this.
|
|
2550
|
-
this.
|
|
2551
|
-
this.
|
|
2552
|
-
this.
|
|
2553
|
-
this.
|
|
2567
|
+
this.aa4_1 = $usersArray;
|
|
2568
|
+
this.ba4_1 = this$0;
|
|
2569
|
+
this.ca4_1 = $config;
|
|
2570
|
+
this.da4_1 = $roomId;
|
|
2571
|
+
this.ea4_1 = $transition;
|
|
2572
|
+
this.fa4_1 = $gameCreatorId;
|
|
2573
|
+
this.ga4_1 = $spectators;
|
|
2554
2574
|
CoroutineImpl.call(this, resultContinuation);
|
|
2555
2575
|
}
|
|
2556
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2557
|
-
var tmp = this.
|
|
2576
|
+
protoOf(GameServer$roomOnCreate$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2577
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2558
2578
|
tmp.u8_1 = Unit_instance;
|
|
2559
2579
|
tmp.v8_1 = null;
|
|
2560
2580
|
return tmp.a9();
|
|
2561
2581
|
};
|
|
2562
2582
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2563
2583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2564
|
-
return this.
|
|
2584
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2565
2585
|
};
|
|
2566
2586
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2567
2587
|
var suspendResult = this.u8_1;
|
|
@@ -2570,18 +2590,18 @@
|
|
|
2570
2590
|
var tmp = this.s8_1;
|
|
2571
2591
|
if (tmp === 0) {
|
|
2572
2592
|
this.t8_1 = 1;
|
|
2573
|
-
var users = toList(this.
|
|
2574
|
-
if (!validatePlayerCount(this.
|
|
2575
|
-
this.
|
|
2593
|
+
var users = toList(this.aa4_1);
|
|
2594
|
+
if (!validatePlayerCount(this.ba4_1, this.ca4_1, users, this.da4_1)) {
|
|
2595
|
+
this.ia4_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ba4_1.table.isGameFinished, this.ba4_1.table));
|
|
2576
2596
|
return Unit_instance;
|
|
2577
2597
|
}
|
|
2578
|
-
var orderedUsers = orderUsers(this.
|
|
2579
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2580
|
-
var tmp_0 = this.
|
|
2598
|
+
var orderedUsers = orderUsers(this.ba4_1, users, this.ca4_1, this.ea4_1);
|
|
2599
|
+
var gameCreatorUser = getPlayer(users, this.fa4_1);
|
|
2600
|
+
var tmp_0 = this.ia4_1.dispatch;
|
|
2581
2601
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2582
2602
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2583
|
-
var tmp2_spectators = toList(this.
|
|
2584
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2603
|
+
var tmp2_spectators = toList(this.ga4_1);
|
|
2604
|
+
tmp_0(new StartGameMechanicAction(this.ca4_1, this.da4_1, tmp0_version, this.fa4_1, tmp1_users, VOID, tmp2_spectators));
|
|
2585
2605
|
return Unit_instance;
|
|
2586
2606
|
} else if (tmp === 1) {
|
|
2587
2607
|
throw this.v8_1;
|
|
@@ -2592,39 +2612,39 @@
|
|
|
2592
2612
|
}
|
|
2593
2613
|
while (true);
|
|
2594
2614
|
};
|
|
2595
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2596
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2597
|
-
i.
|
|
2598
|
-
i.
|
|
2615
|
+
protoOf(GameServer$roomOnCreate$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2616
|
+
var i = new GameServer$roomOnCreate$slambda(this.aa4_1, this.ba4_1, this.ca4_1, this.da4_1, this.ea4_1, this.fa4_1, this.ga4_1, completion);
|
|
2617
|
+
i.ha4_1 = $this$dispatchAsync;
|
|
2618
|
+
i.ia4_1 = store;
|
|
2599
2619
|
return i;
|
|
2600
2620
|
};
|
|
2601
2621
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2602
2622
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2603
2623
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2604
|
-
return i.
|
|
2624
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2605
2625
|
};
|
|
2606
2626
|
l.$arity = 2;
|
|
2607
2627
|
return l;
|
|
2608
2628
|
}
|
|
2609
2629
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2610
|
-
this.
|
|
2630
|
+
this.ja4_1 = $playerId;
|
|
2611
2631
|
}
|
|
2612
2632
|
protoOf(GameServer$preserveTeams$previousTeams$1).z65 = function () {
|
|
2613
|
-
return this.
|
|
2633
|
+
return this.ja4_1;
|
|
2614
2634
|
};
|
|
2615
2635
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2616
|
-
this.
|
|
2636
|
+
this.sa4_1 = $state;
|
|
2617
2637
|
CoroutineImpl.call(this, resultContinuation);
|
|
2618
2638
|
}
|
|
2619
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2620
|
-
var tmp = this.
|
|
2639
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).va4 = function ($this$dispatchAwait, store, $completion) {
|
|
2640
|
+
var tmp = this.ea2($this$dispatchAwait, store, $completion);
|
|
2621
2641
|
tmp.u8_1 = Unit_instance;
|
|
2622
2642
|
tmp.v8_1 = null;
|
|
2623
2643
|
return tmp.a9();
|
|
2624
2644
|
};
|
|
2625
2645
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2626
2646
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2627
|
-
return this.
|
|
2647
|
+
return this.va4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2628
2648
|
};
|
|
2629
2649
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2630
2650
|
var suspendResult = this.u8_1;
|
|
@@ -2633,10 +2653,10 @@
|
|
|
2633
2653
|
var tmp = this.s8_1;
|
|
2634
2654
|
if (tmp === 0) {
|
|
2635
2655
|
this.t8_1 = 1;
|
|
2636
|
-
if (get_isCreating(this.
|
|
2637
|
-
var tmp_0 = this.
|
|
2656
|
+
if (get_isCreating(this.ua4_1.state)) {
|
|
2657
|
+
var tmp_0 = this.ua4_1.dispatch;
|
|
2638
2658
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2639
|
-
var tmp1_table = this.
|
|
2659
|
+
var tmp1_table = this.sa4_1.table;
|
|
2640
2660
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2641
2661
|
return true;
|
|
2642
2662
|
}
|
|
@@ -2650,34 +2670,34 @@
|
|
|
2650
2670
|
}
|
|
2651
2671
|
while (true);
|
|
2652
2672
|
};
|
|
2653
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2654
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2655
|
-
i.
|
|
2656
|
-
i.
|
|
2673
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ea2 = function ($this$dispatchAwait, store, completion) {
|
|
2674
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.sa4_1, completion);
|
|
2675
|
+
i.ta4_1 = $this$dispatchAwait;
|
|
2676
|
+
i.ua4_1 = store;
|
|
2657
2677
|
return i;
|
|
2658
2678
|
};
|
|
2659
2679
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2660
2680
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2661
2681
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2662
|
-
return i.
|
|
2682
|
+
return i.va4($this$dispatchAwait, store, $completion);
|
|
2663
2683
|
};
|
|
2664
2684
|
l.$arity = 2;
|
|
2665
2685
|
return l;
|
|
2666
2686
|
}
|
|
2667
2687
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2668
|
-
this.
|
|
2669
|
-
this.
|
|
2688
|
+
this.ea5_1 = $isCreated;
|
|
2689
|
+
this.fa5_1 = $state;
|
|
2670
2690
|
CoroutineImpl.call(this, resultContinuation);
|
|
2671
2691
|
}
|
|
2672
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2673
|
-
var tmp = this.
|
|
2692
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2693
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2674
2694
|
tmp.u8_1 = Unit_instance;
|
|
2675
2695
|
tmp.v8_1 = null;
|
|
2676
2696
|
return tmp.a9();
|
|
2677
2697
|
};
|
|
2678
2698
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2679
2699
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2680
|
-
return this.
|
|
2700
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2681
2701
|
};
|
|
2682
2702
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2683
2703
|
var suspendResult = this.u8_1;
|
|
@@ -2688,7 +2708,7 @@
|
|
|
2688
2708
|
case 0:
|
|
2689
2709
|
this.t8_1 = 3;
|
|
2690
2710
|
this.s8_1 = 1;
|
|
2691
|
-
suspendResult = this.
|
|
2711
|
+
suspendResult = this.ea5_1.a1u(this);
|
|
2692
2712
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2693
2713
|
return suspendResult;
|
|
2694
2714
|
}
|
|
@@ -2696,10 +2716,10 @@
|
|
|
2696
2716
|
continue $sm;
|
|
2697
2717
|
case 1:
|
|
2698
2718
|
if (suspendResult) {
|
|
2699
|
-
var _iterator__ex2g4s = this.
|
|
2719
|
+
var _iterator__ex2g4s = this.fa5_1.actions.l();
|
|
2700
2720
|
while (_iterator__ex2g4s.m()) {
|
|
2701
2721
|
var element = _iterator__ex2g4s.n();
|
|
2702
|
-
this.
|
|
2722
|
+
this.ha5_1.dispatch(element);
|
|
2703
2723
|
}
|
|
2704
2724
|
this.s8_1 = 2;
|
|
2705
2725
|
continue $sm;
|
|
@@ -2724,35 +2744,35 @@
|
|
|
2724
2744
|
}
|
|
2725
2745
|
while (true);
|
|
2726
2746
|
};
|
|
2727
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2728
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2729
|
-
i.
|
|
2730
|
-
i.
|
|
2747
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2748
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ea5_1, this.fa5_1, completion);
|
|
2749
|
+
i.ga5_1 = $this$dispatchAsync;
|
|
2750
|
+
i.ha5_1 = store;
|
|
2731
2751
|
return i;
|
|
2732
2752
|
};
|
|
2733
2753
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2734
2754
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2735
2755
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2736
|
-
return i.
|
|
2756
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2737
2757
|
};
|
|
2738
2758
|
l.$arity = 2;
|
|
2739
2759
|
return l;
|
|
2740
2760
|
}
|
|
2741
2761
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2744
|
-
this.
|
|
2762
|
+
this.qa5_1 = $tableLite;
|
|
2763
|
+
this.ra5_1 = $roomId;
|
|
2764
|
+
this.sa5_1 = this$0;
|
|
2745
2765
|
CoroutineImpl.call(this, resultContinuation);
|
|
2746
2766
|
}
|
|
2747
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2748
|
-
var tmp = this.
|
|
2767
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2768
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2749
2769
|
tmp.u8_1 = Unit_instance;
|
|
2750
2770
|
tmp.v8_1 = null;
|
|
2751
2771
|
return tmp.a9();
|
|
2752
2772
|
};
|
|
2753
2773
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2754
2774
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2755
|
-
return this.
|
|
2775
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2756
2776
|
};
|
|
2757
2777
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2758
2778
|
var suspendResult = this.u8_1;
|
|
@@ -2761,9 +2781,9 @@
|
|
|
2761
2781
|
var tmp = this.s8_1;
|
|
2762
2782
|
if (tmp === 0) {
|
|
2763
2783
|
this.t8_1 = 1;
|
|
2764
|
-
var tmp_0 = this.
|
|
2765
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2766
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2784
|
+
var tmp_0 = this.ua5_1.dispatch;
|
|
2785
|
+
var tmp0_reason = new RestartRoundReason(this.qa5_1.gameInfo.round.roundNumber);
|
|
2786
|
+
var tmp1_table = Companion_instance_0.restartRound(this.ra5_1, _get_idsProvider__fnfajc(this.sa5_1).h6e(), get_versionOrDefault(GameEngineConfig_instance), this.qa5_1);
|
|
2767
2787
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2768
2788
|
return Unit_instance;
|
|
2769
2789
|
} else if (tmp === 1) {
|
|
@@ -2775,16 +2795,16 @@
|
|
|
2775
2795
|
}
|
|
2776
2796
|
while (true);
|
|
2777
2797
|
};
|
|
2778
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2779
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2780
|
-
i.
|
|
2781
|
-
i.
|
|
2798
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2799
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.qa5_1, this.ra5_1, this.sa5_1, completion);
|
|
2800
|
+
i.ta5_1 = $this$dispatchAsync;
|
|
2801
|
+
i.ua5_1 = store;
|
|
2782
2802
|
return i;
|
|
2783
2803
|
};
|
|
2784
2804
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2785
2805
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2786
2806
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2787
|
-
return i.
|
|
2807
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2788
2808
|
};
|
|
2789
2809
|
l.$arity = 2;
|
|
2790
2810
|
return l;
|
|
@@ -2792,15 +2812,15 @@
|
|
|
2792
2812
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2793
2813
|
CoroutineImpl.call(this, resultContinuation);
|
|
2794
2814
|
}
|
|
2795
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2796
|
-
var tmp = this.
|
|
2815
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2816
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2797
2817
|
tmp.u8_1 = Unit_instance;
|
|
2798
2818
|
tmp.v8_1 = null;
|
|
2799
2819
|
return tmp.a9();
|
|
2800
2820
|
};
|
|
2801
2821
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2802
2822
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2803
|
-
return this.
|
|
2823
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2804
2824
|
};
|
|
2805
2825
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2806
2826
|
var suspendResult = this.u8_1;
|
|
@@ -2809,7 +2829,7 @@
|
|
|
2809
2829
|
var tmp = this.s8_1;
|
|
2810
2830
|
if (tmp === 0) {
|
|
2811
2831
|
this.t8_1 = 1;
|
|
2812
|
-
this.
|
|
2832
|
+
this.ea6_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2813
2833
|
return Unit_instance;
|
|
2814
2834
|
} else if (tmp === 1) {
|
|
2815
2835
|
throw this.v8_1;
|
|
@@ -2820,33 +2840,33 @@
|
|
|
2820
2840
|
}
|
|
2821
2841
|
while (true);
|
|
2822
2842
|
};
|
|
2823
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2843
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2824
2844
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2825
|
-
i.
|
|
2826
|
-
i.
|
|
2845
|
+
i.da6_1 = $this$dispatchAsync;
|
|
2846
|
+
i.ea6_1 = store;
|
|
2827
2847
|
return i;
|
|
2828
2848
|
};
|
|
2829
2849
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2830
2850
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2831
2851
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2832
|
-
return i.
|
|
2852
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2833
2853
|
};
|
|
2834
2854
|
l.$arity = 2;
|
|
2835
2855
|
return l;
|
|
2836
2856
|
}
|
|
2837
2857
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2838
|
-
this.
|
|
2858
|
+
this.na6_1 = $spectators;
|
|
2839
2859
|
CoroutineImpl.call(this, resultContinuation);
|
|
2840
2860
|
}
|
|
2841
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2842
|
-
var tmp = this.
|
|
2861
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2862
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2843
2863
|
tmp.u8_1 = Unit_instance;
|
|
2844
2864
|
tmp.v8_1 = null;
|
|
2845
2865
|
return tmp.a9();
|
|
2846
2866
|
};
|
|
2847
2867
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2848
2868
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2849
|
-
return this.
|
|
2869
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2850
2870
|
};
|
|
2851
2871
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2852
2872
|
var suspendResult = this.u8_1;
|
|
@@ -2855,7 +2875,7 @@
|
|
|
2855
2875
|
var tmp = this.s8_1;
|
|
2856
2876
|
if (tmp === 0) {
|
|
2857
2877
|
this.t8_1 = 1;
|
|
2858
|
-
this.
|
|
2878
|
+
this.pa6_1.dispatch(new AddSpectatorsAction(toList(this.na6_1)));
|
|
2859
2879
|
return Unit_instance;
|
|
2860
2880
|
} else if (tmp === 1) {
|
|
2861
2881
|
throw this.v8_1;
|
|
@@ -2866,33 +2886,33 @@
|
|
|
2866
2886
|
}
|
|
2867
2887
|
while (true);
|
|
2868
2888
|
};
|
|
2869
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2870
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2871
|
-
i.
|
|
2872
|
-
i.
|
|
2889
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2890
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.na6_1, completion);
|
|
2891
|
+
i.oa6_1 = $this$dispatchAsync;
|
|
2892
|
+
i.pa6_1 = store;
|
|
2873
2893
|
return i;
|
|
2874
2894
|
};
|
|
2875
2895
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2876
2896
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2877
2897
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2878
|
-
return i.
|
|
2898
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2879
2899
|
};
|
|
2880
2900
|
l.$arity = 2;
|
|
2881
2901
|
return l;
|
|
2882
2902
|
}
|
|
2883
2903
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2884
|
-
this.
|
|
2904
|
+
this.ya6_1 = $spectators;
|
|
2885
2905
|
CoroutineImpl.call(this, resultContinuation);
|
|
2886
2906
|
}
|
|
2887
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2888
|
-
var tmp = this.
|
|
2907
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2908
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2889
2909
|
tmp.u8_1 = Unit_instance;
|
|
2890
2910
|
tmp.v8_1 = null;
|
|
2891
2911
|
return tmp.a9();
|
|
2892
2912
|
};
|
|
2893
2913
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2894
2914
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2895
|
-
return this.
|
|
2915
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2896
2916
|
};
|
|
2897
2917
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2898
2918
|
var suspendResult = this.u8_1;
|
|
@@ -2901,7 +2921,7 @@
|
|
|
2901
2921
|
var tmp = this.s8_1;
|
|
2902
2922
|
if (tmp === 0) {
|
|
2903
2923
|
this.t8_1 = 1;
|
|
2904
|
-
this.
|
|
2924
|
+
this.aa7_1.dispatch(new RemoveSpectatorsAction(toList(this.ya6_1)));
|
|
2905
2925
|
return Unit_instance;
|
|
2906
2926
|
} else if (tmp === 1) {
|
|
2907
2927
|
throw this.v8_1;
|
|
@@ -2912,34 +2932,34 @@
|
|
|
2912
2932
|
}
|
|
2913
2933
|
while (true);
|
|
2914
2934
|
};
|
|
2915
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2916
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2917
|
-
i.
|
|
2918
|
-
i.
|
|
2935
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2936
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ya6_1, completion);
|
|
2937
|
+
i.za6_1 = $this$dispatchAsync;
|
|
2938
|
+
i.aa7_1 = store;
|
|
2919
2939
|
return i;
|
|
2920
2940
|
};
|
|
2921
2941
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2922
2942
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2923
2943
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2924
|
-
return i.
|
|
2944
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2925
2945
|
};
|
|
2926
2946
|
l.$arity = 2;
|
|
2927
2947
|
return l;
|
|
2928
2948
|
}
|
|
2929
2949
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2930
|
-
this.
|
|
2931
|
-
this.
|
|
2950
|
+
this.ja7_1 = $playerId;
|
|
2951
|
+
this.ka7_1 = this$0;
|
|
2932
2952
|
CoroutineImpl.call(this, resultContinuation);
|
|
2933
2953
|
}
|
|
2934
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2935
|
-
var tmp = this.
|
|
2954
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
2955
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2936
2956
|
tmp.u8_1 = Unit_instance;
|
|
2937
2957
|
tmp.v8_1 = null;
|
|
2938
2958
|
return tmp.a9();
|
|
2939
2959
|
};
|
|
2940
2960
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2941
2961
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2942
|
-
return this.
|
|
2962
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2943
2963
|
};
|
|
2944
2964
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2945
2965
|
var suspendResult = this.u8_1;
|
|
@@ -2948,14 +2968,14 @@
|
|
|
2948
2968
|
var tmp = this.s8_1;
|
|
2949
2969
|
if (tmp === 0) {
|
|
2950
2970
|
this.t8_1 = 1;
|
|
2951
|
-
var table = this.
|
|
2952
|
-
var player = getPlayer(table.players, this.
|
|
2971
|
+
var table = this.ma7_1.state.c6s();
|
|
2972
|
+
var player = getPlayer(table.players, this.ja7_1);
|
|
2953
2973
|
if (player.q6v_1.d69().n67_1.isLive) {
|
|
2954
|
-
this.
|
|
2974
|
+
this.ma7_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ka7_1).na7(player, table));
|
|
2955
2975
|
} else {
|
|
2956
|
-
var tmp_0 = this.
|
|
2976
|
+
var tmp_0 = this.ma7_1.dispatch;
|
|
2957
2977
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2958
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2978
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ja7_1));
|
|
2959
2979
|
}
|
|
2960
2980
|
return Unit_instance;
|
|
2961
2981
|
} else if (tmp === 1) {
|
|
@@ -2967,34 +2987,34 @@
|
|
|
2967
2987
|
}
|
|
2968
2988
|
while (true);
|
|
2969
2989
|
};
|
|
2970
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2971
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2972
|
-
i.
|
|
2973
|
-
i.
|
|
2990
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
2991
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ja7_1, this.ka7_1, completion);
|
|
2992
|
+
i.la7_1 = $this$dispatchAsync;
|
|
2993
|
+
i.ma7_1 = store;
|
|
2974
2994
|
return i;
|
|
2975
2995
|
};
|
|
2976
2996
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2977
2997
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2978
2998
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2979
|
-
return i.
|
|
2999
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
2980
3000
|
};
|
|
2981
3001
|
l.$arity = 2;
|
|
2982
3002
|
return l;
|
|
2983
3003
|
}
|
|
2984
3004
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2985
|
-
this.
|
|
2986
|
-
this.
|
|
3005
|
+
this.wa7_1 = this$0;
|
|
3006
|
+
this.xa7_1 = $newRid;
|
|
2987
3007
|
CoroutineImpl.call(this, resultContinuation);
|
|
2988
3008
|
}
|
|
2989
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2990
|
-
var tmp = this.
|
|
3009
|
+
protoOf(GameServer$roomOnDelete$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
3010
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
2991
3011
|
tmp.u8_1 = Unit_instance;
|
|
2992
3012
|
tmp.v8_1 = null;
|
|
2993
3013
|
return tmp.a9();
|
|
2994
3014
|
};
|
|
2995
3015
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2996
3016
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2997
|
-
return this.
|
|
3017
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2998
3018
|
};
|
|
2999
3019
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
3000
3020
|
var suspendResult = this.u8_1;
|
|
@@ -3003,10 +3023,10 @@
|
|
|
3003
3023
|
var tmp = this.s8_1;
|
|
3004
3024
|
if (tmp === 0) {
|
|
3005
3025
|
this.t8_1 = 1;
|
|
3006
|
-
var it = this.
|
|
3026
|
+
var it = this.wa7_1.x66().c6r_1;
|
|
3007
3027
|
var tmp_0;
|
|
3008
3028
|
if (it == null) {
|
|
3009
|
-
this.
|
|
3029
|
+
this.wa7_1.i4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3010
3030
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3011
3031
|
} else {
|
|
3012
3032
|
tmp_0 = it;
|
|
@@ -3015,15 +3035,15 @@
|
|
|
3015
3035
|
var gameTransition = terminationState.t93_1;
|
|
3016
3036
|
var tmp_1;
|
|
3017
3037
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3018
|
-
var tmp0_elvis_lhs = this.
|
|
3038
|
+
var tmp0_elvis_lhs = this.xa7_1;
|
|
3019
3039
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3020
3040
|
} else {
|
|
3021
3041
|
tmp_1 = gameTransition;
|
|
3022
3042
|
}
|
|
3023
3043
|
var transition = tmp_1;
|
|
3024
|
-
var tmp_2 = this.
|
|
3044
|
+
var tmp_2 = this.za7_1.dispatch;
|
|
3025
3045
|
var tmp0_reason = terminationState.s93_1;
|
|
3026
|
-
var tmp1_isGameFinished = this.
|
|
3046
|
+
var tmp1_isGameFinished = this.wa7_1.x66().c6s().isGameFinished;
|
|
3027
3047
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3028
3048
|
return Unit_instance;
|
|
3029
3049
|
} else if (tmp === 1) {
|
|
@@ -3035,33 +3055,33 @@
|
|
|
3035
3055
|
}
|
|
3036
3056
|
while (true);
|
|
3037
3057
|
};
|
|
3038
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3039
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3040
|
-
i.
|
|
3041
|
-
i.
|
|
3058
|
+
protoOf(GameServer$roomOnDelete$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
3059
|
+
var i = new GameServer$roomOnDelete$slambda(this.wa7_1, this.xa7_1, completion);
|
|
3060
|
+
i.ya7_1 = $this$dispatchAsync;
|
|
3061
|
+
i.za7_1 = store;
|
|
3042
3062
|
return i;
|
|
3043
3063
|
};
|
|
3044
3064
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3045
3065
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3046
3066
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3047
|
-
return i.
|
|
3067
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
3048
3068
|
};
|
|
3049
3069
|
l.$arity = 2;
|
|
3050
3070
|
return l;
|
|
3051
3071
|
}
|
|
3052
3072
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3053
|
-
this.
|
|
3073
|
+
this.ia8_1 = $enabled;
|
|
3054
3074
|
CoroutineImpl.call(this, resultContinuation);
|
|
3055
3075
|
}
|
|
3056
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3057
|
-
var tmp = this.
|
|
3076
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
3077
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
3058
3078
|
tmp.u8_1 = Unit_instance;
|
|
3059
3079
|
tmp.v8_1 = null;
|
|
3060
3080
|
return tmp.a9();
|
|
3061
3081
|
};
|
|
3062
3082
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
3063
3083
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3064
|
-
return this.
|
|
3084
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3065
3085
|
};
|
|
3066
3086
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
3067
3087
|
var suspendResult = this.u8_1;
|
|
@@ -3070,7 +3090,7 @@
|
|
|
3070
3090
|
var tmp = this.s8_1;
|
|
3071
3091
|
if (tmp === 0) {
|
|
3072
3092
|
this.t8_1 = 1;
|
|
3073
|
-
this.
|
|
3093
|
+
this.ka8_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ka8_1.state).config.copy(VOID, !this.ia8_1)));
|
|
3074
3094
|
return Unit_instance;
|
|
3075
3095
|
} else if (tmp === 1) {
|
|
3076
3096
|
throw this.v8_1;
|
|
@@ -3081,35 +3101,35 @@
|
|
|
3081
3101
|
}
|
|
3082
3102
|
while (true);
|
|
3083
3103
|
};
|
|
3084
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3085
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3086
|
-
i.
|
|
3087
|
-
i.
|
|
3104
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
3105
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ia8_1, completion);
|
|
3106
|
+
i.ja8_1 = $this$dispatchAsync;
|
|
3107
|
+
i.ka8_1 = store;
|
|
3088
3108
|
return i;
|
|
3089
3109
|
};
|
|
3090
3110
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3091
3111
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3092
3112
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3093
|
-
return i.
|
|
3113
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
3094
3114
|
};
|
|
3095
3115
|
l.$arity = 2;
|
|
3096
3116
|
return l;
|
|
3097
3117
|
}
|
|
3098
3118
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3099
|
-
this.
|
|
3100
|
-
this.
|
|
3101
|
-
this.
|
|
3119
|
+
this.ta8_1 = $reason;
|
|
3120
|
+
this.ua8_1 = this$0;
|
|
3121
|
+
this.va8_1 = $roomId;
|
|
3102
3122
|
CoroutineImpl.call(this, resultContinuation);
|
|
3103
3123
|
}
|
|
3104
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3105
|
-
var tmp = this.
|
|
3124
|
+
protoOf(GameServer$shutdown$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
3125
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
3106
3126
|
tmp.u8_1 = Unit_instance;
|
|
3107
3127
|
tmp.v8_1 = null;
|
|
3108
3128
|
return tmp.a9();
|
|
3109
3129
|
};
|
|
3110
3130
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
3111
3131
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3112
|
-
return this.
|
|
3132
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3113
3133
|
};
|
|
3114
3134
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
3115
3135
|
var suspendResult = this.u8_1;
|
|
@@ -3118,11 +3138,11 @@
|
|
|
3118
3138
|
var tmp = this.s8_1;
|
|
3119
3139
|
if (tmp === 0) {
|
|
3120
3140
|
this.t8_1 = 1;
|
|
3121
|
-
var state = this.
|
|
3141
|
+
var state = this.xa8_1.store.state;
|
|
3122
3142
|
if (state.e6s()) {
|
|
3123
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3143
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ta8_1, get_serverShutdownReasonMapping());
|
|
3124
3144
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3125
|
-
var tmp_0 = this.
|
|
3145
|
+
var tmp_0 = this.xa8_1.dispatch;
|
|
3126
3146
|
var tmp_1 = Companion_instance;
|
|
3127
3147
|
var tmp_2;
|
|
3128
3148
|
switch (shutdownReason.q2_1) {
|
|
@@ -3136,10 +3156,10 @@
|
|
|
3136
3156
|
noWhenBranchMatchedException();
|
|
3137
3157
|
break;
|
|
3138
3158
|
}
|
|
3139
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3159
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ua8_1.table.isGameFinished, this.ua8_1.table));
|
|
3140
3160
|
} else {
|
|
3141
|
-
this.
|
|
3142
|
-
var tmp_3 = this.
|
|
3161
|
+
this.ua8_1.i4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.va8_1);
|
|
3162
|
+
var tmp_3 = this.xa8_1.dispatch;
|
|
3143
3163
|
var tmp2_safe_receiver = state.c6r_1;
|
|
3144
3164
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t93_1));
|
|
3145
3165
|
}
|
|
@@ -3153,37 +3173,37 @@
|
|
|
3153
3173
|
}
|
|
3154
3174
|
while (true);
|
|
3155
3175
|
};
|
|
3156
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3157
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3158
|
-
i.
|
|
3159
|
-
i.
|
|
3176
|
+
protoOf(GameServer$shutdown$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
3177
|
+
var i = new GameServer$shutdown$slambda(this.ta8_1, this.ua8_1, this.va8_1, completion);
|
|
3178
|
+
i.wa8_1 = $this$dispatchAsync;
|
|
3179
|
+
i.xa8_1 = store;
|
|
3160
3180
|
return i;
|
|
3161
3181
|
};
|
|
3162
3182
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3163
3183
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3164
3184
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3165
|
-
return i.
|
|
3185
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
3166
3186
|
};
|
|
3167
3187
|
l.$arity = 2;
|
|
3168
3188
|
return l;
|
|
3169
3189
|
}
|
|
3170
3190
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3171
|
-
this.
|
|
3172
|
-
this.
|
|
3173
|
-
this.
|
|
3174
|
-
this.
|
|
3175
|
-
this.
|
|
3191
|
+
this.ga9_1 = $botChatInteractor;
|
|
3192
|
+
this.ha9_1 = $message;
|
|
3193
|
+
this.ia9_1 = $fromPlayerId;
|
|
3194
|
+
this.ja9_1 = $onMessageGenerated;
|
|
3195
|
+
this.ka9_1 = this$0;
|
|
3176
3196
|
CoroutineImpl.call(this, resultContinuation);
|
|
3177
3197
|
}
|
|
3178
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3179
|
-
var tmp = this.
|
|
3198
|
+
protoOf(GameServer$handlePlayerMessage$slambda).da2 = function ($this$dispatchAsync, store, $completion) {
|
|
3199
|
+
var tmp = this.ea2($this$dispatchAsync, store, $completion);
|
|
3180
3200
|
tmp.u8_1 = Unit_instance;
|
|
3181
3201
|
tmp.v8_1 = null;
|
|
3182
3202
|
return tmp.a9();
|
|
3183
3203
|
};
|
|
3184
3204
|
protoOf(GameServer$handlePlayerMessage$slambda).j9 = function (p1, p2, $completion) {
|
|
3185
3205
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3186
|
-
return this.
|
|
3206
|
+
return this.da2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3187
3207
|
};
|
|
3188
3208
|
protoOf(GameServer$handlePlayerMessage$slambda).a9 = function () {
|
|
3189
3209
|
var suspendResult = this.u8_1;
|
|
@@ -3193,18 +3213,18 @@
|
|
|
3193
3213
|
switch (tmp) {
|
|
3194
3214
|
case 0:
|
|
3195
3215
|
this.t8_1 = 3;
|
|
3196
|
-
var state = this.
|
|
3216
|
+
var state = this.ma9_1.store.state;
|
|
3197
3217
|
if (state.e6s()) {
|
|
3198
3218
|
var tmp0_table = state.c6s();
|
|
3199
3219
|
this.s8_1 = 1;
|
|
3200
|
-
suspendResult = this.
|
|
3220
|
+
suspendResult = this.ga9_1.n8s(tmp0_table, this.ha9_1, this.ia9_1, VOID, this);
|
|
3201
3221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3202
3222
|
return suspendResult;
|
|
3203
3223
|
}
|
|
3204
3224
|
continue $sm;
|
|
3205
3225
|
} else {
|
|
3206
|
-
this.
|
|
3207
|
-
var tmp_0 = this.
|
|
3226
|
+
this.ka9_1.i4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.ia9_1);
|
|
3227
|
+
var tmp_0 = this.ma9_1.dispatch;
|
|
3208
3228
|
var tmp1_safe_receiver = state.c6r_1;
|
|
3209
3229
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t93_1));
|
|
3210
3230
|
this.s8_1 = 2;
|
|
@@ -3214,7 +3234,7 @@
|
|
|
3214
3234
|
case 1:
|
|
3215
3235
|
var message = suspendResult;
|
|
3216
3236
|
if (!(message == null)) {
|
|
3217
|
-
this.
|
|
3237
|
+
this.ja9_1(message);
|
|
3218
3238
|
}
|
|
3219
3239
|
|
|
3220
3240
|
this.s8_1 = 2;
|
|
@@ -3235,22 +3255,22 @@
|
|
|
3235
3255
|
}
|
|
3236
3256
|
while (true);
|
|
3237
3257
|
};
|
|
3238
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3239
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3240
|
-
i.
|
|
3241
|
-
i.
|
|
3258
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ea2 = function ($this$dispatchAsync, store, completion) {
|
|
3259
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.ga9_1, this.ha9_1, this.ia9_1, this.ja9_1, this.ka9_1, completion);
|
|
3260
|
+
i.la9_1 = $this$dispatchAsync;
|
|
3261
|
+
i.ma9_1 = store;
|
|
3242
3262
|
return i;
|
|
3243
3263
|
};
|
|
3244
3264
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3245
3265
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3246
3266
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3247
|
-
return i.
|
|
3267
|
+
return i.da2($this$dispatchAsync, store, $completion);
|
|
3248
3268
|
};
|
|
3249
3269
|
l.$arity = 2;
|
|
3250
3270
|
return l;
|
|
3251
3271
|
}
|
|
3252
3272
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
3253
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID,
|
|
3273
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_17.initial()) : preloadedState;
|
|
3254
3274
|
var tmp;
|
|
3255
3275
|
if (externalReducers === VOID) {
|
|
3256
3276
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -3343,20 +3363,28 @@
|
|
|
3343
3363
|
var tmp_37 = KProperty1;
|
|
3344
3364
|
tmp_34.q9y_1 = tmp_36.a65(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3345
3365
|
var tmp_38 = this;
|
|
3346
|
-
// Inline function 'org.kodein.di.
|
|
3366
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3347
3367
|
// Inline function 'org.kodein.type.generic' call
|
|
3348
|
-
var tmp_39 = typeToken(createKType(getKClass(
|
|
3368
|
+
var tmp_39 = typeToken(createKType(getKClass(LeaguesConfig), arrayOf([]), false));
|
|
3349
3369
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3350
|
-
var tmp_40 =
|
|
3370
|
+
var tmp_40 = Instance(di, tmp$ret$20, null);
|
|
3351
3371
|
var tmp_41 = KProperty1;
|
|
3352
|
-
tmp_38.r9y_1 = tmp_40.a65(this, getPropertyCallableRef('
|
|
3372
|
+
tmp_38.r9y_1 = tmp_40.a65(this, getPropertyCallableRef('leaguesConfig', 1, tmp_41, GameServer$_get_leaguesConfig_$ref_fi951n(), null));
|
|
3353
3373
|
var tmp_42 = this;
|
|
3374
|
+
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3375
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3376
|
+
var tmp_43 = typeToken(createKType(getKClass(BotChatInteractor), arrayOf([]), false));
|
|
3377
|
+
var tmp$ret$22 = isInterface(tmp_43, TypeToken) ? tmp_43 : THROW_CCE();
|
|
3378
|
+
var tmp_44 = InstanceOrNull(di, tmp$ret$22, null);
|
|
3379
|
+
var tmp_45 = KProperty1;
|
|
3380
|
+
tmp_42.s9y_1 = tmp_44.a65(this, getPropertyCallableRef('botChatInteractor', 1, tmp_45, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3381
|
+
var tmp_46 = this;
|
|
3354
3382
|
var tmp0_externalMiddlewares = plus(storeContract.l98(), externalMiddlewares);
|
|
3355
3383
|
var tmp1_externalReducers = plus(storeContract.k98(), externalReducers);
|
|
3356
|
-
|
|
3384
|
+
tmp_46.t9y_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3357
3385
|
}
|
|
3358
3386
|
protoOf(GameServer).s6q = function () {
|
|
3359
|
-
return this.
|
|
3387
|
+
return this.t9y_1;
|
|
3360
3388
|
};
|
|
3361
3389
|
protoOf(GameServer).x8m = function () {
|
|
3362
3390
|
return get_serverStatePayload_0(this.x66()).metadata;
|
|
@@ -3408,17 +3436,17 @@
|
|
|
3408
3436
|
};
|
|
3409
3437
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3410
3438
|
this.i4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3411
|
-
this.
|
|
3439
|
+
this.t9y_1.a6s(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3412
3440
|
};
|
|
3413
3441
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3414
3442
|
this.i4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3415
|
-
this.
|
|
3443
|
+
this.t9y_1.a6s(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3416
3444
|
};
|
|
3417
3445
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3418
3446
|
this.i4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3419
|
-
this.
|
|
3447
|
+
this.t9y_1.a6s(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3420
3448
|
};
|
|
3421
|
-
protoOf(GameServer).
|
|
3449
|
+
protoOf(GameServer).na9 = function (playerId, roomId, permanently) {
|
|
3422
3450
|
this.i4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3423
3451
|
var tmp;
|
|
3424
3452
|
if (this.x66().e6s()) {
|
|
@@ -3427,33 +3455,33 @@
|
|
|
3427
3455
|
tmp = null;
|
|
3428
3456
|
}
|
|
3429
3457
|
var result = tmp;
|
|
3430
|
-
this.
|
|
3458
|
+
this.t9y_1.a6s(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3431
3459
|
this.i4q().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3432
3460
|
return result;
|
|
3433
3461
|
};
|
|
3434
|
-
protoOf(GameServer).
|
|
3462
|
+
protoOf(GameServer).oa9 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3435
3463
|
this.i4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3436
|
-
this.
|
|
3464
|
+
this.t9y_1.a6s(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3437
3465
|
};
|
|
3438
3466
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3439
3467
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3440
|
-
var isCreated = this.
|
|
3441
|
-
this.
|
|
3468
|
+
var isCreated = this.t9y_1.b6s(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3469
|
+
this.t9y_1.a6s(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3442
3470
|
};
|
|
3443
3471
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3444
3472
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3445
|
-
this.
|
|
3446
|
-
this.
|
|
3473
|
+
this.t9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3474
|
+
this.t9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3447
3475
|
};
|
|
3448
3476
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3449
|
-
this.
|
|
3477
|
+
this.t9y_1.a6s(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3450
3478
|
};
|
|
3451
3479
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3452
|
-
this.
|
|
3480
|
+
this.t9y_1.a6s(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3453
3481
|
};
|
|
3454
3482
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3455
3483
|
this.i4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3456
|
-
this.
|
|
3484
|
+
this.t9y_1.a6s(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3457
3485
|
};
|
|
3458
3486
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3459
3487
|
if (!this.isTableExists) {
|
|
@@ -3463,24 +3491,24 @@
|
|
|
3463
3491
|
var table = this.table;
|
|
3464
3492
|
var player = getPlayer(table.players, playerId);
|
|
3465
3493
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.q6v_1.d69().n67_1.toString() + ', ') + ('isBot = ' + player.p6v_1.isBot));
|
|
3466
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3494
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).pa9(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3467
3495
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3468
3496
|
if (actions.r()) {
|
|
3469
3497
|
return null;
|
|
3470
3498
|
}
|
|
3471
3499
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).h6e(), table.id, playerId));
|
|
3472
3500
|
};
|
|
3473
|
-
protoOf(GameServer).
|
|
3501
|
+
protoOf(GameServer).qa9 = function (newRid) {
|
|
3474
3502
|
this.i4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3475
|
-
this.
|
|
3503
|
+
this.t9y_1.a6s(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3476
3504
|
};
|
|
3477
3505
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3478
3506
|
this.i4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3479
|
-
this.
|
|
3507
|
+
this.t9y_1.a6s(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3480
3508
|
};
|
|
3481
|
-
protoOf(GameServer).
|
|
3509
|
+
protoOf(GameServer).ra9 = function (reason, roomId) {
|
|
3482
3510
|
this.i4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3483
|
-
this.
|
|
3511
|
+
this.t9y_1.a6s(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3484
3512
|
};
|
|
3485
3513
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3486
3514
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3492,7 +3520,7 @@
|
|
|
3492
3520
|
}
|
|
3493
3521
|
var botChatInteractor = tmp;
|
|
3494
3522
|
this.i4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3495
|
-
this.
|
|
3523
|
+
this.t9y_1.a6s(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3496
3524
|
};
|
|
3497
3525
|
protoOf(GameServer).clear = function () {
|
|
3498
3526
|
return this.i2();
|
|
@@ -3535,9 +3563,9 @@
|
|
|
3535
3563
|
protoOf(Companion_0).initial = function (fromRound) {
|
|
3536
3564
|
return new ServerConfig(fromRound, false, false);
|
|
3537
3565
|
};
|
|
3538
|
-
var
|
|
3566
|
+
var Companion_instance_11;
|
|
3539
3567
|
function Companion_getInstance_1() {
|
|
3540
|
-
return
|
|
3568
|
+
return Companion_instance_11;
|
|
3541
3569
|
}
|
|
3542
3570
|
function ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3543
3571
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? false : shouldFinishGameWhenDeploy;
|
|
@@ -3546,13 +3574,13 @@
|
|
|
3546
3574
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3547
3575
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3548
3576
|
}
|
|
3549
|
-
protoOf(ServerConfig).
|
|
3577
|
+
protoOf(ServerConfig).sa9 = function () {
|
|
3550
3578
|
return this.fromRound;
|
|
3551
3579
|
};
|
|
3552
|
-
protoOf(ServerConfig).
|
|
3580
|
+
protoOf(ServerConfig).ta9 = function () {
|
|
3553
3581
|
return this.shouldFinishGameWhenDeploy;
|
|
3554
3582
|
};
|
|
3555
|
-
protoOf(ServerConfig).
|
|
3583
|
+
protoOf(ServerConfig).ua9 = function () {
|
|
3556
3584
|
return this.shouldFinishGameWithBots;
|
|
3557
3585
|
};
|
|
3558
3586
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3564,14 +3592,14 @@
|
|
|
3564
3592
|
protoOf(ServerConfig).yl = function () {
|
|
3565
3593
|
return this.shouldFinishGameWithBots;
|
|
3566
3594
|
};
|
|
3567
|
-
protoOf(ServerConfig).
|
|
3595
|
+
protoOf(ServerConfig).va9 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3568
3596
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3569
3597
|
};
|
|
3570
3598
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3571
3599
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3572
3600
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3573
3601
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3574
|
-
return $super === VOID ? this.
|
|
3602
|
+
return $super === VOID ? this.va9(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.va9.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3575
3603
|
};
|
|
3576
3604
|
protoOf(ServerConfig).toString = function () {
|
|
3577
3605
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3616,9 +3644,9 @@
|
|
|
3616
3644
|
protoOf(Companion_1).h10 = function (typeParamsSerializers) {
|
|
3617
3645
|
return this.b1c();
|
|
3618
3646
|
};
|
|
3619
|
-
var
|
|
3647
|
+
var Companion_instance_12;
|
|
3620
3648
|
function Companion_getInstance_2() {
|
|
3621
|
-
return
|
|
3649
|
+
return Companion_instance_12;
|
|
3622
3650
|
}
|
|
3623
3651
|
function ServerStateUpdateDto() {
|
|
3624
3652
|
}
|
|
@@ -3627,29 +3655,29 @@
|
|
|
3627
3655
|
protoOf(Companion_2).b1c = function () {
|
|
3628
3656
|
return $serializer_getInstance();
|
|
3629
3657
|
};
|
|
3630
|
-
var
|
|
3658
|
+
var Companion_instance_13;
|
|
3631
3659
|
function Companion_getInstance_3() {
|
|
3632
|
-
return
|
|
3660
|
+
return Companion_instance_13;
|
|
3633
3661
|
}
|
|
3634
3662
|
function $serializer() {
|
|
3635
3663
|
$serializer_instance = this;
|
|
3636
3664
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3637
3665
|
tmp0_serialDesc.hz('roomId', false);
|
|
3638
3666
|
tmp0_serialDesc.hz('table', false);
|
|
3639
|
-
this.
|
|
3667
|
+
this.wa9_1 = tmp0_serialDesc;
|
|
3640
3668
|
}
|
|
3641
|
-
protoOf($serializer).
|
|
3642
|
-
var tmp0_desc = this.
|
|
3669
|
+
protoOf($serializer).xa9 = function (encoder, value) {
|
|
3670
|
+
var tmp0_desc = this.wa9_1;
|
|
3643
3671
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3644
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3672
|
+
tmp1_output.et(tmp0_desc, 0, value.ya9_1);
|
|
3645
3673
|
tmp1_output.et(tmp0_desc, 1, value.table);
|
|
3646
3674
|
tmp1_output.qr(tmp0_desc);
|
|
3647
3675
|
};
|
|
3648
3676
|
protoOf($serializer).do = function (encoder, value) {
|
|
3649
|
-
return this.
|
|
3677
|
+
return this.xa9(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3650
3678
|
};
|
|
3651
3679
|
protoOf($serializer).eo = function (decoder) {
|
|
3652
|
-
var tmp0_desc = this.
|
|
3680
|
+
var tmp0_desc = this.wa9_1;
|
|
3653
3681
|
var tmp1_flag = true;
|
|
3654
3682
|
var tmp2_index = 0;
|
|
3655
3683
|
var tmp3_bitMask0 = 0;
|
|
@@ -3684,7 +3712,7 @@
|
|
|
3684
3712
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3685
3713
|
};
|
|
3686
3714
|
protoOf($serializer).co = function () {
|
|
3687
|
-
return this.
|
|
3715
|
+
return this.wa9_1;
|
|
3688
3716
|
};
|
|
3689
3717
|
protoOf($serializer).wz = function () {
|
|
3690
3718
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3700,9 +3728,9 @@
|
|
|
3700
3728
|
}
|
|
3701
3729
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3702
3730
|
if (!(3 === (3 & seen0))) {
|
|
3703
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3731
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().wa9_1);
|
|
3704
3732
|
}
|
|
3705
|
-
$this.
|
|
3733
|
+
$this.ya9_1 = roomId;
|
|
3706
3734
|
$this.table = table;
|
|
3707
3735
|
return $this;
|
|
3708
3736
|
}
|
|
@@ -3710,17 +3738,17 @@
|
|
|
3710
3738
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3711
3739
|
}
|
|
3712
3740
|
function TableStateUpdateDto(roomId, table) {
|
|
3713
|
-
this.
|
|
3741
|
+
this.ya9_1 = roomId;
|
|
3714
3742
|
this.table = table;
|
|
3715
3743
|
}
|
|
3716
3744
|
protoOf(TableStateUpdateDto).r8j = function () {
|
|
3717
|
-
return this.
|
|
3745
|
+
return this.ya9_1;
|
|
3718
3746
|
};
|
|
3719
3747
|
protoOf(TableStateUpdateDto).c6s = function () {
|
|
3720
3748
|
return this.table;
|
|
3721
3749
|
};
|
|
3722
3750
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3723
|
-
return this.
|
|
3751
|
+
return this.ya9_1;
|
|
3724
3752
|
};
|
|
3725
3753
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3726
3754
|
return this.table;
|
|
@@ -3729,15 +3757,15 @@
|
|
|
3729
3757
|
return new TableStateUpdateDto(roomId, table);
|
|
3730
3758
|
};
|
|
3731
3759
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3732
|
-
roomId = roomId === VOID ? this.
|
|
3760
|
+
roomId = roomId === VOID ? this.ya9_1 : roomId;
|
|
3733
3761
|
table = table === VOID ? this.table : table;
|
|
3734
3762
|
return $super === VOID ? this.f54(roomId, table) : $super.f54.call(this, roomId, table);
|
|
3735
3763
|
};
|
|
3736
3764
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3737
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3765
|
+
return 'TableStateUpdateDto(roomId=' + this.ya9_1 + ', table=' + this.table + ')';
|
|
3738
3766
|
};
|
|
3739
3767
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3740
|
-
var result = getStringHashCode(this.
|
|
3768
|
+
var result = getStringHashCode(this.ya9_1);
|
|
3741
3769
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3742
3770
|
return result;
|
|
3743
3771
|
};
|
|
@@ -3746,7 +3774,7 @@
|
|
|
3746
3774
|
return true;
|
|
3747
3775
|
if (!(other instanceof TableStateUpdateDto))
|
|
3748
3776
|
return false;
|
|
3749
|
-
if (!(this.
|
|
3777
|
+
if (!(this.ya9_1 === other.ya9_1))
|
|
3750
3778
|
return false;
|
|
3751
3779
|
if (!(this.table === other.table))
|
|
3752
3780
|
return false;
|
|
@@ -3757,29 +3785,29 @@
|
|
|
3757
3785
|
protoOf(Companion_3).b1c = function () {
|
|
3758
3786
|
return $serializer_getInstance_0();
|
|
3759
3787
|
};
|
|
3760
|
-
var
|
|
3788
|
+
var Companion_instance_14;
|
|
3761
3789
|
function Companion_getInstance_4() {
|
|
3762
|
-
return
|
|
3790
|
+
return Companion_instance_14;
|
|
3763
3791
|
}
|
|
3764
3792
|
function $serializer_0() {
|
|
3765
3793
|
$serializer_instance_0 = this;
|
|
3766
3794
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3767
3795
|
tmp0_serialDesc.hz('roomId', false);
|
|
3768
3796
|
tmp0_serialDesc.hz('actions', false);
|
|
3769
|
-
this.
|
|
3797
|
+
this.za9_1 = tmp0_serialDesc;
|
|
3770
3798
|
}
|
|
3771
|
-
protoOf($serializer_0).
|
|
3772
|
-
var tmp0_desc = this.
|
|
3799
|
+
protoOf($serializer_0).aaa = function (encoder, value) {
|
|
3800
|
+
var tmp0_desc = this.za9_1;
|
|
3773
3801
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3774
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3802
|
+
tmp1_output.et(tmp0_desc, 0, value.baa_1);
|
|
3775
3803
|
tmp1_output.et(tmp0_desc, 1, value.actions);
|
|
3776
3804
|
tmp1_output.qr(tmp0_desc);
|
|
3777
3805
|
};
|
|
3778
3806
|
protoOf($serializer_0).do = function (encoder, value) {
|
|
3779
|
-
return this.
|
|
3807
|
+
return this.aaa(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3780
3808
|
};
|
|
3781
3809
|
protoOf($serializer_0).eo = function (decoder) {
|
|
3782
|
-
var tmp0_desc = this.
|
|
3810
|
+
var tmp0_desc = this.za9_1;
|
|
3783
3811
|
var tmp1_flag = true;
|
|
3784
3812
|
var tmp2_index = 0;
|
|
3785
3813
|
var tmp3_bitMask0 = 0;
|
|
@@ -3814,7 +3842,7 @@
|
|
|
3814
3842
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3815
3843
|
};
|
|
3816
3844
|
protoOf($serializer_0).co = function () {
|
|
3817
|
-
return this.
|
|
3845
|
+
return this.za9_1;
|
|
3818
3846
|
};
|
|
3819
3847
|
protoOf($serializer_0).wz = function () {
|
|
3820
3848
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3830,9 +3858,9 @@
|
|
|
3830
3858
|
}
|
|
3831
3859
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3832
3860
|
if (!(3 === (3 & seen0))) {
|
|
3833
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3861
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().za9_1);
|
|
3834
3862
|
}
|
|
3835
|
-
$this.
|
|
3863
|
+
$this.baa_1 = roomId;
|
|
3836
3864
|
$this.actions = actions;
|
|
3837
3865
|
return $this;
|
|
3838
3866
|
}
|
|
@@ -3840,17 +3868,17 @@
|
|
|
3840
3868
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3841
3869
|
}
|
|
3842
3870
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3843
|
-
this.
|
|
3871
|
+
this.baa_1 = roomId;
|
|
3844
3872
|
this.actions = actions;
|
|
3845
3873
|
}
|
|
3846
3874
|
protoOf(ActionsStateUpdateDto).r8j = function () {
|
|
3847
|
-
return this.
|
|
3875
|
+
return this.baa_1;
|
|
3848
3876
|
};
|
|
3849
3877
|
protoOf(ActionsStateUpdateDto).e8k = function () {
|
|
3850
3878
|
return this.actions;
|
|
3851
3879
|
};
|
|
3852
3880
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3853
|
-
return this.
|
|
3881
|
+
return this.baa_1;
|
|
3854
3882
|
};
|
|
3855
3883
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3856
3884
|
return this.actions;
|
|
@@ -3859,15 +3887,15 @@
|
|
|
3859
3887
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3860
3888
|
};
|
|
3861
3889
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3862
|
-
roomId = roomId === VOID ? this.
|
|
3890
|
+
roomId = roomId === VOID ? this.baa_1 : roomId;
|
|
3863
3891
|
actions = actions === VOID ? this.actions : actions;
|
|
3864
3892
|
return $super === VOID ? this.f54(roomId, actions) : $super.f54.call(this, roomId, actions);
|
|
3865
3893
|
};
|
|
3866
3894
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3867
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3895
|
+
return 'ActionsStateUpdateDto(roomId=' + this.baa_1 + ', actions=' + this.actions + ')';
|
|
3868
3896
|
};
|
|
3869
3897
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3870
|
-
var result = getStringHashCode(this.
|
|
3898
|
+
var result = getStringHashCode(this.baa_1);
|
|
3871
3899
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3872
3900
|
return result;
|
|
3873
3901
|
};
|
|
@@ -3876,7 +3904,7 @@
|
|
|
3876
3904
|
return true;
|
|
3877
3905
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3878
3906
|
return false;
|
|
3879
|
-
if (!(this.
|
|
3907
|
+
if (!(this.baa_1 === other.baa_1))
|
|
3880
3908
|
return false;
|
|
3881
3909
|
if (!(this.actions === other.actions))
|
|
3882
3910
|
return false;
|
|
@@ -3906,42 +3934,42 @@
|
|
|
3906
3934
|
var tmp$ret$0 = mapToDto(item);
|
|
3907
3935
|
destination.j(tmp$ret$0);
|
|
3908
3936
|
}
|
|
3909
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3937
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.caa_1, encoderDecoderProvider.h8r(destination));
|
|
3910
3938
|
}
|
|
3911
3939
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3912
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3940
|
+
return new TableStateUpdateDto(_this__u8e3s4.daa_1, encoderDecoderProvider.f8r(mapToDto_0(_this__u8e3s4.table)));
|
|
3913
3941
|
}
|
|
3914
3942
|
function ServerStateUpdate() {
|
|
3915
3943
|
}
|
|
3916
3944
|
function TableStateUpdate(roomId, table) {
|
|
3917
|
-
this.
|
|
3945
|
+
this.daa_1 = roomId;
|
|
3918
3946
|
this.table = table;
|
|
3919
3947
|
}
|
|
3920
3948
|
protoOf(TableStateUpdate).r8j = function () {
|
|
3921
|
-
return this.
|
|
3949
|
+
return this.daa_1;
|
|
3922
3950
|
};
|
|
3923
3951
|
protoOf(TableStateUpdate).c6s = function () {
|
|
3924
3952
|
return this.table;
|
|
3925
3953
|
};
|
|
3926
3954
|
protoOf(TableStateUpdate).oe = function () {
|
|
3927
|
-
return this.
|
|
3955
|
+
return this.daa_1;
|
|
3928
3956
|
};
|
|
3929
3957
|
protoOf(TableStateUpdate).pe = function () {
|
|
3930
3958
|
return this.table;
|
|
3931
3959
|
};
|
|
3932
|
-
protoOf(TableStateUpdate).
|
|
3960
|
+
protoOf(TableStateUpdate).eaa = function (roomId, table) {
|
|
3933
3961
|
return new TableStateUpdate(roomId, table);
|
|
3934
3962
|
};
|
|
3935
3963
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3936
|
-
roomId = roomId === VOID ? this.
|
|
3964
|
+
roomId = roomId === VOID ? this.daa_1 : roomId;
|
|
3937
3965
|
table = table === VOID ? this.table : table;
|
|
3938
|
-
return $super === VOID ? this.
|
|
3966
|
+
return $super === VOID ? this.eaa(roomId, table) : $super.eaa.call(this, roomId, table);
|
|
3939
3967
|
};
|
|
3940
3968
|
protoOf(TableStateUpdate).toString = function () {
|
|
3941
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3969
|
+
return 'TableStateUpdate(roomId=' + this.daa_1 + ', table=' + this.table.toString() + ')';
|
|
3942
3970
|
};
|
|
3943
3971
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3944
|
-
var result = getStringHashCode(this.
|
|
3972
|
+
var result = getStringHashCode(this.daa_1);
|
|
3945
3973
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3946
3974
|
return result;
|
|
3947
3975
|
};
|
|
@@ -3950,41 +3978,41 @@
|
|
|
3950
3978
|
return true;
|
|
3951
3979
|
if (!(other instanceof TableStateUpdate))
|
|
3952
3980
|
return false;
|
|
3953
|
-
if (!(this.
|
|
3981
|
+
if (!(this.daa_1 === other.daa_1))
|
|
3954
3982
|
return false;
|
|
3955
3983
|
if (!this.table.equals(other.table))
|
|
3956
3984
|
return false;
|
|
3957
3985
|
return true;
|
|
3958
3986
|
};
|
|
3959
3987
|
function ActionsStateUpdate(roomId, actions) {
|
|
3960
|
-
this.
|
|
3988
|
+
this.caa_1 = roomId;
|
|
3961
3989
|
this.actions = actions;
|
|
3962
3990
|
}
|
|
3963
3991
|
protoOf(ActionsStateUpdate).r8j = function () {
|
|
3964
|
-
return this.
|
|
3992
|
+
return this.caa_1;
|
|
3965
3993
|
};
|
|
3966
3994
|
protoOf(ActionsStateUpdate).e8k = function () {
|
|
3967
3995
|
return this.actions;
|
|
3968
3996
|
};
|
|
3969
3997
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3970
|
-
return this.
|
|
3998
|
+
return this.caa_1;
|
|
3971
3999
|
};
|
|
3972
4000
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3973
4001
|
return this.actions;
|
|
3974
4002
|
};
|
|
3975
|
-
protoOf(ActionsStateUpdate).
|
|
4003
|
+
protoOf(ActionsStateUpdate).faa = function (roomId, actions) {
|
|
3976
4004
|
return new ActionsStateUpdate(roomId, actions);
|
|
3977
4005
|
};
|
|
3978
4006
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3979
|
-
roomId = roomId === VOID ? this.
|
|
4007
|
+
roomId = roomId === VOID ? this.caa_1 : roomId;
|
|
3980
4008
|
actions = actions === VOID ? this.actions : actions;
|
|
3981
|
-
return $super === VOID ? this.
|
|
4009
|
+
return $super === VOID ? this.faa(roomId, actions) : $super.faa.call(this, roomId, actions);
|
|
3982
4010
|
};
|
|
3983
4011
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3984
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
4012
|
+
return 'ActionsStateUpdate(roomId=' + this.caa_1 + ', actions=' + toString(this.actions) + ')';
|
|
3985
4013
|
};
|
|
3986
4014
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3987
|
-
var result = getStringHashCode(this.
|
|
4015
|
+
var result = getStringHashCode(this.caa_1);
|
|
3988
4016
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3989
4017
|
return result;
|
|
3990
4018
|
};
|
|
@@ -3993,19 +4021,19 @@
|
|
|
3993
4021
|
return true;
|
|
3994
4022
|
if (!(other instanceof ActionsStateUpdate))
|
|
3995
4023
|
return false;
|
|
3996
|
-
if (!(this.
|
|
4024
|
+
if (!(this.caa_1 === other.caa_1))
|
|
3997
4025
|
return false;
|
|
3998
4026
|
if (!equals(this.actions, other.actions))
|
|
3999
4027
|
return false;
|
|
4000
4028
|
return true;
|
|
4001
4029
|
};
|
|
4002
|
-
function getServerEngineGameDI(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig) {
|
|
4003
|
-
return Module_init_$Create$('Server Game engine module', VOID, VOID, getServerEngineGameDI$lambda(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig));
|
|
4030
|
+
function getServerEngineGameDI(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig, leaguesConfig) {
|
|
4031
|
+
return Module_init_$Create$('Server Game engine module', VOID, VOID, getServerEngineGameDI$lambda(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig, leaguesConfig));
|
|
4004
4032
|
}
|
|
4005
|
-
function createGameServerDI(serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares) {
|
|
4033
|
+
function createGameServerDI(serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, leaguesConfig, externalReducers, externalMiddlewares) {
|
|
4006
4034
|
externalReducers = externalReducers === VOID ? emptyList() : externalReducers;
|
|
4007
4035
|
externalMiddlewares = externalMiddlewares === VOID ? emptyList() : externalMiddlewares;
|
|
4008
|
-
return Module_init_$Create$('Server Game DI module', VOID, VOID, createGameServerDI$lambda(engineBotConfig, logicConfig, dealerConfig, ratingConfig, serverConfig, externalReducers, externalMiddlewares));
|
|
4036
|
+
return Module_init_$Create$('Server Game DI module', VOID, VOID, createGameServerDI$lambda(engineBotConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, serverConfig, externalReducers, externalMiddlewares));
|
|
4009
4037
|
}
|
|
4010
4038
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
4011
4039
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -4088,10 +4116,10 @@
|
|
|
4088
4116
|
var tmp$ret$5 = tmp_5.r60(tmp$ret$4, null);
|
|
4089
4117
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
4090
4118
|
}
|
|
4091
|
-
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig) {
|
|
4119
|
+
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig, $leaguesConfig) {
|
|
4092
4120
|
return function ($this$Module) {
|
|
4093
4121
|
$this$Module.h5z(jsonModule(emptyList()));
|
|
4094
|
-
$this$Module.h5z(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig));
|
|
4122
|
+
$this$Module.h5z(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig, $ratingConfig, $leaguesConfig));
|
|
4095
4123
|
// Inline function 'org.kodein.di.bind' call
|
|
4096
4124
|
// Inline function 'org.kodein.type.generic' call
|
|
4097
4125
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
@@ -4164,7 +4192,7 @@
|
|
|
4164
4192
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4165
4193
|
return tmp.r60(tmp$ret$0, null);
|
|
4166
4194
|
}
|
|
4167
|
-
function createGameServerDI$lambda($engineBotConfig, $logicConfig, $dealerConfig, $ratingConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
4195
|
+
function createGameServerDI$lambda($engineBotConfig, $logicConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
4168
4196
|
return function ($this$Module) {
|
|
4169
4197
|
// Inline function 'org.kodein.di.bind' call
|
|
4170
4198
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4181,7 +4209,7 @@
|
|
|
4181
4209
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4182
4210
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
4183
4211
|
tmp_0.d63(tmp$ret$3);
|
|
4184
|
-
$this$Module.h5z(getServerEngineGameDI($engineBotConfig, $logicConfig, $dealerConfig, $ratingConfig));
|
|
4212
|
+
$this$Module.h5z(getServerEngineGameDI($engineBotConfig, $logicConfig, $dealerConfig, $ratingConfig, $leaguesConfig));
|
|
4185
4213
|
// Inline function 'org.kodein.di.bind' call
|
|
4186
4214
|
// Inline function 'org.kodein.type.generic' call
|
|
4187
4215
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
@@ -4233,18 +4261,18 @@
|
|
|
4233
4261
|
function ToClientEventsObserver() {
|
|
4234
4262
|
}
|
|
4235
4263
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4236
|
-
this.
|
|
4237
|
-
this.
|
|
4264
|
+
this.paa_1 = this$0;
|
|
4265
|
+
this.qaa_1 = $actions;
|
|
4238
4266
|
CoroutineImpl.call(this, resultContinuation);
|
|
4239
4267
|
}
|
|
4240
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4241
|
-
var tmp = this.
|
|
4268
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).taa = function ($this$flow, $completion) {
|
|
4269
|
+
var tmp = this.uaa($this$flow, $completion);
|
|
4242
4270
|
tmp.u8_1 = Unit_instance;
|
|
4243
4271
|
tmp.v8_1 = null;
|
|
4244
4272
|
return tmp.a9();
|
|
4245
4273
|
};
|
|
4246
4274
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4247
|
-
return this.
|
|
4275
|
+
return this.taa((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4248
4276
|
};
|
|
4249
4277
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4250
4278
|
var suspendResult = this.u8_1;
|
|
@@ -4254,19 +4282,19 @@
|
|
|
4254
4282
|
switch (tmp) {
|
|
4255
4283
|
case 0:
|
|
4256
4284
|
this.t8_1 = 4;
|
|
4257
|
-
this.
|
|
4258
|
-
this.
|
|
4285
|
+
this.paa_1.zaa_1;
|
|
4286
|
+
this.saa_1 = transformToEmits(this.paa_1, this.qaa_1).l();
|
|
4259
4287
|
this.s8_1 = 1;
|
|
4260
4288
|
continue $sm;
|
|
4261
4289
|
case 1:
|
|
4262
|
-
if (!this.
|
|
4290
|
+
if (!this.saa_1.m()) {
|
|
4263
4291
|
this.s8_1 = 3;
|
|
4264
4292
|
continue $sm;
|
|
4265
4293
|
}
|
|
4266
4294
|
|
|
4267
|
-
var element = this.
|
|
4295
|
+
var element = this.saa_1.n();
|
|
4268
4296
|
this.s8_1 = 2;
|
|
4269
|
-
suspendResult = this.
|
|
4297
|
+
suspendResult = this.raa_1.o28(element, this);
|
|
4270
4298
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4271
4299
|
return suspendResult;
|
|
4272
4300
|
}
|
|
@@ -4276,11 +4304,11 @@
|
|
|
4276
4304
|
this.s8_1 = 1;
|
|
4277
4305
|
continue $sm;
|
|
4278
4306
|
case 3:
|
|
4279
|
-
var tmp0 = this.
|
|
4307
|
+
var tmp0 = this.paa_1.yaa_1;
|
|
4280
4308
|
l$ret$1: do {
|
|
4281
4309
|
while (true) {
|
|
4282
4310
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4283
|
-
var upd = cur - this.
|
|
4311
|
+
var upd = cur - this.qaa_1.o() | 0;
|
|
4284
4312
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4285
4313
|
break l$ret$1;
|
|
4286
4314
|
}
|
|
@@ -4302,15 +4330,15 @@
|
|
|
4302
4330
|
}
|
|
4303
4331
|
while (true);
|
|
4304
4332
|
};
|
|
4305
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4306
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4307
|
-
i.
|
|
4333
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).uaa = function ($this$flow, completion) {
|
|
4334
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.paa_1, this.qaa_1, completion);
|
|
4335
|
+
i.raa_1 = $this$flow;
|
|
4308
4336
|
return i;
|
|
4309
4337
|
};
|
|
4310
4338
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4311
4339
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4312
4340
|
var l = function ($this$flow, $completion) {
|
|
4313
|
-
return i.
|
|
4341
|
+
return i.taa($this$flow, $completion);
|
|
4314
4342
|
};
|
|
4315
4343
|
l.$arity = 1;
|
|
4316
4344
|
return l;
|
|
@@ -4380,29 +4408,29 @@
|
|
|
4380
4408
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4381
4409
|
}
|
|
4382
4410
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4383
|
-
var tmp = $this.
|
|
4411
|
+
var tmp = $this.xaa_1.h6e();
|
|
4384
4412
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4385
|
-
var this_0 = _this__u8e3s4.
|
|
4413
|
+
var this_0 = _this__u8e3s4.cab_1;
|
|
4386
4414
|
var tmp_0 = copyToArray(this_0);
|
|
4387
4415
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4388
|
-
var this_1 = _this__u8e3s4.
|
|
4416
|
+
var this_1 = _this__u8e3s4.dab_1;
|
|
4389
4417
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4390
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4418
|
+
return new ActionDeliveryPayload(_this__u8e3s4.bab_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.eab_1);
|
|
4391
4419
|
}
|
|
4392
4420
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4395
|
-
this.
|
|
4396
|
-
this.
|
|
4421
|
+
this.bab_1 = tableId;
|
|
4422
|
+
this.cab_1 = includePlayers;
|
|
4423
|
+
this.dab_1 = excludePlayers;
|
|
4424
|
+
this.eab_1 = deliveryType;
|
|
4397
4425
|
}
|
|
4398
4426
|
protoOf(GroupKey).toString = function () {
|
|
4399
|
-
return 'GroupKey(tableId=' + this.
|
|
4427
|
+
return 'GroupKey(tableId=' + this.bab_1 + ', includePlayers=' + toString(this.cab_1) + ', excludePlayers=' + toString(this.dab_1) + ', deliveryType=' + this.eab_1.toString() + ')';
|
|
4400
4428
|
};
|
|
4401
4429
|
protoOf(GroupKey).hashCode = function () {
|
|
4402
|
-
var result = getStringHashCode(this.
|
|
4403
|
-
result = imul(result, 31) + hashCode(this.bab_1) | 0;
|
|
4430
|
+
var result = getStringHashCode(this.bab_1);
|
|
4404
4431
|
result = imul(result, 31) + hashCode(this.cab_1) | 0;
|
|
4405
|
-
result = imul(result, 31) + this.dab_1
|
|
4432
|
+
result = imul(result, 31) + hashCode(this.dab_1) | 0;
|
|
4433
|
+
result = imul(result, 31) + this.eab_1.hashCode() | 0;
|
|
4406
4434
|
return result;
|
|
4407
4435
|
};
|
|
4408
4436
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4410,35 +4438,35 @@
|
|
|
4410
4438
|
return true;
|
|
4411
4439
|
if (!(other instanceof GroupKey))
|
|
4412
4440
|
return false;
|
|
4413
|
-
if (!(this.
|
|
4414
|
-
return false;
|
|
4415
|
-
if (!equals(this.bab_1, other.bab_1))
|
|
4441
|
+
if (!(this.bab_1 === other.bab_1))
|
|
4416
4442
|
return false;
|
|
4417
4443
|
if (!equals(this.cab_1, other.cab_1))
|
|
4418
4444
|
return false;
|
|
4419
|
-
if (!this.dab_1
|
|
4445
|
+
if (!equals(this.dab_1, other.dab_1))
|
|
4446
|
+
return false;
|
|
4447
|
+
if (!this.eab_1.equals(other.eab_1))
|
|
4420
4448
|
return false;
|
|
4421
4449
|
return true;
|
|
4422
4450
|
};
|
|
4423
4451
|
function Companion_4() {
|
|
4424
|
-
this.
|
|
4452
|
+
this.fab_1 = 6;
|
|
4425
4453
|
}
|
|
4426
|
-
var
|
|
4454
|
+
var Companion_instance_15;
|
|
4427
4455
|
function Companion_getInstance_5() {
|
|
4428
|
-
return
|
|
4456
|
+
return Companion_instance_15;
|
|
4429
4457
|
}
|
|
4430
4458
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4431
|
-
this.
|
|
4459
|
+
this.oab_1 = this$0;
|
|
4432
4460
|
CoroutineImpl.call(this, resultContinuation);
|
|
4433
4461
|
}
|
|
4434
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4435
|
-
var tmp = this.
|
|
4462
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).qab = function (actions, $completion) {
|
|
4463
|
+
var tmp = this.rab(actions, $completion);
|
|
4436
4464
|
tmp.u8_1 = Unit_instance;
|
|
4437
4465
|
tmp.v8_1 = null;
|
|
4438
4466
|
return tmp.a9();
|
|
4439
4467
|
};
|
|
4440
4468
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4441
|
-
return this.
|
|
4469
|
+
return this.qab((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4442
4470
|
};
|
|
4443
4471
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4444
4472
|
var suspendResult = this.u8_1;
|
|
@@ -4447,7 +4475,7 @@
|
|
|
4447
4475
|
var tmp = this.s8_1;
|
|
4448
4476
|
if (tmp === 0) {
|
|
4449
4477
|
this.t8_1 = 1;
|
|
4450
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4478
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.oab_1, this.pab_1, null));
|
|
4451
4479
|
} else if (tmp === 1) {
|
|
4452
4480
|
throw this.v8_1;
|
|
4453
4481
|
}
|
|
@@ -4457,23 +4485,23 @@
|
|
|
4457
4485
|
}
|
|
4458
4486
|
while (true);
|
|
4459
4487
|
};
|
|
4460
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4461
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4462
|
-
i.
|
|
4488
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).rab = function (actions, completion) {
|
|
4489
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.oab_1, completion);
|
|
4490
|
+
i.pab_1 = actions;
|
|
4463
4491
|
return i;
|
|
4464
4492
|
};
|
|
4465
4493
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4466
4494
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4467
4495
|
var l = function (actions, $completion) {
|
|
4468
|
-
return i.
|
|
4496
|
+
return i.qab(actions, $completion);
|
|
4469
4497
|
};
|
|
4470
4498
|
l.$arity = 1;
|
|
4471
4499
|
return l;
|
|
4472
4500
|
}
|
|
4473
4501
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4474
4502
|
CoroutineImpl.call(this, resultContinuation);
|
|
4475
|
-
this.
|
|
4476
|
-
this.
|
|
4503
|
+
this.aac_1 = _this__u8e3s4;
|
|
4504
|
+
this.bac_1 = fromEvent;
|
|
4477
4505
|
}
|
|
4478
4506
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4479
4507
|
var suspendResult = this.u8_1;
|
|
@@ -4483,8 +4511,8 @@
|
|
|
4483
4511
|
switch (tmp) {
|
|
4484
4512
|
case 0:
|
|
4485
4513
|
this.t8_1 = 2;
|
|
4486
|
-
this.
|
|
4487
|
-
var tmp0 = this.
|
|
4514
|
+
this.aac_1.zaa_1;
|
|
4515
|
+
var tmp0 = this.aac_1.yaa_1;
|
|
4488
4516
|
l$ret$1: do {
|
|
4489
4517
|
while (true) {
|
|
4490
4518
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4496,7 +4524,7 @@
|
|
|
4496
4524
|
}
|
|
4497
4525
|
while (false);
|
|
4498
4526
|
this.s8_1 = 1;
|
|
4499
|
-
suspendResult = this.
|
|
4527
|
+
suspendResult = this.aac_1.aab_1.o28(this.bac_1, this);
|
|
4500
4528
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4501
4529
|
return suspendResult;
|
|
4502
4530
|
}
|
|
@@ -4520,7 +4548,7 @@
|
|
|
4520
4548
|
};
|
|
4521
4549
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4522
4550
|
CoroutineImpl.call(this, resultContinuation);
|
|
4523
|
-
this.
|
|
4551
|
+
this.kac_1 = _this__u8e3s4;
|
|
4524
4552
|
}
|
|
4525
4553
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4526
4554
|
var suspendResult = this.u8_1;
|
|
@@ -4530,12 +4558,12 @@
|
|
|
4530
4558
|
switch (tmp) {
|
|
4531
4559
|
case 0:
|
|
4532
4560
|
this.t8_1 = 5;
|
|
4533
|
-
this.
|
|
4534
|
-
this.
|
|
4561
|
+
this.kac_1.zaa_1;
|
|
4562
|
+
this.lac_1 = 0;
|
|
4535
4563
|
this.s8_1 = 1;
|
|
4536
4564
|
continue $sm;
|
|
4537
4565
|
case 1:
|
|
4538
|
-
if (!!(this.
|
|
4566
|
+
if (!!(this.kac_1.yaa_1.kotlinx$atomicfu$value === 0)) {
|
|
4539
4567
|
this.s8_1 = 4;
|
|
4540
4568
|
continue $sm;
|
|
4541
4569
|
}
|
|
@@ -4548,9 +4576,9 @@
|
|
|
4548
4576
|
|
|
4549
4577
|
continue $sm;
|
|
4550
4578
|
case 2:
|
|
4551
|
-
this.
|
|
4552
|
-
if (this.
|
|
4553
|
-
this.
|
|
4579
|
+
this.lac_1 = this.lac_1 + 1 | 0;
|
|
4580
|
+
if (this.lac_1 > 6) {
|
|
4581
|
+
this.kac_1.waa_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.kac_1.yaa_1.kotlinx$atomicfu$value);
|
|
4554
4582
|
this.s8_1 = 4;
|
|
4555
4583
|
continue $sm;
|
|
4556
4584
|
} else {
|
|
@@ -4578,16 +4606,16 @@
|
|
|
4578
4606
|
while (true);
|
|
4579
4607
|
};
|
|
4580
4608
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4581
|
-
this.
|
|
4582
|
-
this.
|
|
4583
|
-
this.
|
|
4584
|
-
this.
|
|
4609
|
+
this.vaa_1 = serverReduxConfig;
|
|
4610
|
+
this.waa_1 = logger;
|
|
4611
|
+
this.xaa_1 = idsProvider;
|
|
4612
|
+
this.yaa_1 = atomic$ref$1(0);
|
|
4585
4613
|
var tmp = this;
|
|
4586
4614
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4587
|
-
tmp.
|
|
4588
|
-
this.
|
|
4615
|
+
tmp.zaa_1 = get_atomicfu$reentrantLock();
|
|
4616
|
+
this.aab_1 = MutableSharedFlow();
|
|
4589
4617
|
}
|
|
4590
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4618
|
+
protoOf(ToClientEventsObserverImpl).gaa = function (fromEvent, $completion) {
|
|
4591
4619
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4592
4620
|
tmp.u8_1 = Unit_instance;
|
|
4593
4621
|
tmp.v8_1 = null;
|
|
@@ -4599,33 +4627,33 @@
|
|
|
4599
4627
|
tmp.v8_1 = null;
|
|
4600
4628
|
return tmp.a9();
|
|
4601
4629
|
};
|
|
4602
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4603
|
-
if (!this.
|
|
4604
|
-
return this.
|
|
4630
|
+
protoOf(ToClientEventsObserverImpl).m9z = function () {
|
|
4631
|
+
if (!this.vaa_1.enabledCombinedEvents) {
|
|
4632
|
+
return this.aab_1;
|
|
4605
4633
|
}
|
|
4606
|
-
var tmp = windowedByInterval(this.
|
|
4634
|
+
var tmp = windowedByInterval(this.aab_1, fromInt(this.vaa_1.combinedEventsIntervalMillis));
|
|
4607
4635
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4608
4636
|
};
|
|
4609
4637
|
function PlayerConnectionInteractor() {
|
|
4610
4638
|
}
|
|
4611
4639
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4612
|
-
if (waitForPlayer && $this.
|
|
4640
|
+
if (waitForPlayer && $this.pac_1.waitForPlayerToReconnect) {
|
|
4613
4641
|
Companion_getInstance();
|
|
4614
4642
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4615
|
-
var this_0 = $this.
|
|
4643
|
+
var this_0 = $this.pac_1.reconnectionCheckDurationMillis;
|
|
4616
4644
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4617
4645
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.q6v_1.d69().x67(reconnectionCheckDurationMillis);
|
|
4618
4646
|
if (noRecentReconnects) {
|
|
4619
|
-
return $this.
|
|
4647
|
+
return $this.nac(player.playerId, newConnectionState, previousConnectionState);
|
|
4620
4648
|
}
|
|
4621
4649
|
}
|
|
4622
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.o6v($this.
|
|
4650
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.o6v($this.pac_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4623
4651
|
if (canRemoveGameWhenNoPlayers) {
|
|
4624
|
-
return listOf($this.
|
|
4652
|
+
return listOf($this.tac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4625
4653
|
}
|
|
4626
4654
|
if (table.sceneInfo.n7g()) {
|
|
4627
|
-
if (!$this.
|
|
4628
|
-
return listOf($this.
|
|
4655
|
+
if (!$this.qac_1.openRoomIfFinished) {
|
|
4656
|
+
return listOf($this.tac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4629
4657
|
}
|
|
4630
4658
|
// Inline function 'kotlin.collections.filter' call
|
|
4631
4659
|
var tmp0 = table.players;
|
|
@@ -4700,27 +4728,27 @@
|
|
|
4700
4728
|
}
|
|
4701
4729
|
var readyLivePlayers = destination_3;
|
|
4702
4730
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4703
|
-
if ($this.
|
|
4704
|
-
return listOf($this.
|
|
4731
|
+
if ($this.qac_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4732
|
+
return listOf($this.tac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4705
4733
|
}
|
|
4706
4734
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4707
4735
|
if (allPlayersMadeDecision) {
|
|
4708
|
-
var tmp0_$this = $this.
|
|
4736
|
+
var tmp0_$this = $this.tac_1;
|
|
4709
4737
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4710
4738
|
return listOf(tmp0_$this.e8y(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4711
4739
|
}
|
|
4712
4740
|
}
|
|
4713
|
-
if (!$this.
|
|
4714
|
-
return listOf($this.
|
|
4741
|
+
if (!$this.pac_1.botReplacesPlayerAfterTimeout) {
|
|
4742
|
+
return listOf($this.tac_1.f8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4715
4743
|
}
|
|
4716
4744
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4717
4745
|
}
|
|
4718
4746
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4719
4747
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4720
4748
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4721
|
-
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4749
|
+
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.na7(player, table)]));
|
|
4722
4750
|
if (player.q6v_1.m67()) {
|
|
4723
|
-
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4751
|
+
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.q6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.rac_1.i9m(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4724
4752
|
}
|
|
4725
4753
|
return actionsList;
|
|
4726
4754
|
}
|
|
@@ -4734,13 +4762,13 @@
|
|
|
4734
4762
|
return actionsList;
|
|
4735
4763
|
}
|
|
4736
4764
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4737
|
-
this.
|
|
4738
|
-
this.
|
|
4739
|
-
this.
|
|
4740
|
-
this.
|
|
4741
|
-
this.
|
|
4765
|
+
this.pac_1 = serverConfig;
|
|
4766
|
+
this.qac_1 = engineLogicConfig;
|
|
4767
|
+
this.rac_1 = playerTurnMechanicReducer;
|
|
4768
|
+
this.sac_1 = idsProvider;
|
|
4769
|
+
this.tac_1 = gameLifecycleInteractor;
|
|
4742
4770
|
}
|
|
4743
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4771
|
+
protoOf(PlayerConnectionInteractorImpl).mac = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4744
4772
|
var tmp;
|
|
4745
4773
|
switch (newConnectionState.q2_1) {
|
|
4746
4774
|
case 1:
|
|
@@ -4771,18 +4799,18 @@
|
|
|
4771
4799
|
}
|
|
4772
4800
|
return tmp;
|
|
4773
4801
|
};
|
|
4774
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4802
|
+
protoOf(PlayerConnectionInteractorImpl).pa9 = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4775
4803
|
if (!isLive) {
|
|
4776
4804
|
return emptyList();
|
|
4777
4805
|
}
|
|
4778
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4806
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.sac_1.h6e(), tableId, sendToPlayerId);
|
|
4779
4807
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4780
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4808
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.sac_1.h6e(), tableId, sendToPlayerId);
|
|
4781
4809
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4782
4810
|
};
|
|
4783
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4784
|
-
var updatedTable = this.
|
|
4785
|
-
var aid = this.
|
|
4811
|
+
protoOf(PlayerConnectionInteractorImpl).na7 = function (sendToPlayer, table) {
|
|
4812
|
+
var updatedTable = this.rac_1.j9k(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4813
|
+
var aid = this.sac_1.h6e();
|
|
4786
4814
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4787
4815
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4788
4816
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4801,24 +4829,24 @@
|
|
|
4801
4829
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4802
4830
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4803
4831
|
};
|
|
4804
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4832
|
+
protoOf(PlayerConnectionInteractorImpl).nac = function (playerId, newConnectionState, previousConnectionState) {
|
|
4805
4833
|
var tmp = System_instance.dk();
|
|
4806
4834
|
Companion_getInstance();
|
|
4807
4835
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4808
|
-
var this_0 = this.
|
|
4836
|
+
var this_0 = this.pac_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4809
4837
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4810
4838
|
var reconnectUntilTime = tmp.sk(tmp$ret$0);
|
|
4811
4839
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4812
4840
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4813
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4841
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.pac_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4814
4842
|
};
|
|
4815
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4843
|
+
protoOf(PlayerConnectionInteractorImpl).oac = function (isBot, playerId, connectedPlayers) {
|
|
4816
4844
|
var tmp;
|
|
4817
4845
|
if (isBot) {
|
|
4818
4846
|
tmp = Companion_instance_3.s67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
4819
4847
|
} else {
|
|
4820
4848
|
var tmp_0;
|
|
4821
|
-
if (this.
|
|
4849
|
+
if (this.pac_1.waitForPlayerToConnectOnStart) {
|
|
4822
4850
|
var tmp_1;
|
|
4823
4851
|
if (connectedPlayers.u1(playerId)) {
|
|
4824
4852
|
tmp_1 = Companion_instance_3.s67(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -4834,154 +4862,154 @@
|
|
|
4834
4862
|
return tmp;
|
|
4835
4863
|
};
|
|
4836
4864
|
function UpdateServerConfigAction(serverConfig) {
|
|
4837
|
-
this.
|
|
4865
|
+
this.uac_1 = serverConfig;
|
|
4838
4866
|
}
|
|
4839
4867
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4840
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4868
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.uac_1.toString() + ')';
|
|
4841
4869
|
};
|
|
4842
4870
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4843
|
-
return this.
|
|
4871
|
+
return this.uac_1.hashCode();
|
|
4844
4872
|
};
|
|
4845
4873
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4846
4874
|
if (this === other)
|
|
4847
4875
|
return true;
|
|
4848
4876
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4849
4877
|
return false;
|
|
4850
|
-
if (!this.
|
|
4878
|
+
if (!this.uac_1.equals(other.uac_1))
|
|
4851
4879
|
return false;
|
|
4852
4880
|
return true;
|
|
4853
4881
|
};
|
|
4854
4882
|
function SpectatorsAction() {
|
|
4855
4883
|
}
|
|
4856
4884
|
function AddSpectatorsAction(spectators) {
|
|
4857
|
-
this.
|
|
4885
|
+
this.vac_1 = spectators;
|
|
4858
4886
|
}
|
|
4859
4887
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4860
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4888
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.vac_1) + ')';
|
|
4861
4889
|
};
|
|
4862
4890
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4863
|
-
return hashCode(this.
|
|
4891
|
+
return hashCode(this.vac_1);
|
|
4864
4892
|
};
|
|
4865
4893
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4866
4894
|
if (this === other)
|
|
4867
4895
|
return true;
|
|
4868
4896
|
if (!(other instanceof AddSpectatorsAction))
|
|
4869
4897
|
return false;
|
|
4870
|
-
if (!equals(this.
|
|
4898
|
+
if (!equals(this.vac_1, other.vac_1))
|
|
4871
4899
|
return false;
|
|
4872
4900
|
return true;
|
|
4873
4901
|
};
|
|
4874
4902
|
function RemoveSpectatorsAction(spectators) {
|
|
4875
|
-
this.
|
|
4903
|
+
this.wac_1 = spectators;
|
|
4876
4904
|
}
|
|
4877
4905
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4878
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4906
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.wac_1) + ')';
|
|
4879
4907
|
};
|
|
4880
4908
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4881
|
-
return hashCode(this.
|
|
4909
|
+
return hashCode(this.wac_1);
|
|
4882
4910
|
};
|
|
4883
4911
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4884
4912
|
if (this === other)
|
|
4885
4913
|
return true;
|
|
4886
4914
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4887
4915
|
return false;
|
|
4888
|
-
if (!equals(this.
|
|
4916
|
+
if (!equals(this.wac_1, other.wac_1))
|
|
4889
4917
|
return false;
|
|
4890
4918
|
return true;
|
|
4891
4919
|
};
|
|
4892
4920
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4893
|
-
var tmp0 = $this.
|
|
4921
|
+
var tmp0 = $this.cad_1;
|
|
4894
4922
|
var tmp = KProperty1;
|
|
4895
4923
|
// Inline function 'kotlin.getValue' call
|
|
4896
4924
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4897
4925
|
return tmp0.x();
|
|
4898
4926
|
}
|
|
4899
4927
|
function _get_logger__rkp4sl($this) {
|
|
4900
|
-
var tmp0 = $this.
|
|
4928
|
+
var tmp0 = $this.dad_1;
|
|
4901
4929
|
var tmp = KProperty1;
|
|
4902
4930
|
// Inline function 'kotlin.getValue' call
|
|
4903
4931
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4904
4932
|
return tmp0.x();
|
|
4905
4933
|
}
|
|
4906
4934
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4907
|
-
var tmp0 = $this.
|
|
4935
|
+
var tmp0 = $this.ead_1;
|
|
4908
4936
|
var tmp = KProperty1;
|
|
4909
4937
|
// Inline function 'kotlin.getValue' call
|
|
4910
4938
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4911
4939
|
return tmp0.x();
|
|
4912
4940
|
}
|
|
4913
4941
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4914
|
-
var tmp0 = $this.
|
|
4942
|
+
var tmp0 = $this.fad_1;
|
|
4915
4943
|
var tmp = KProperty1;
|
|
4916
4944
|
// Inline function 'kotlin.getValue' call
|
|
4917
4945
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4918
4946
|
return tmp0.x();
|
|
4919
4947
|
}
|
|
4920
4948
|
function _get_serverConfig__rk2g06($this) {
|
|
4921
|
-
var tmp0 = $this.
|
|
4949
|
+
var tmp0 = $this.gad_1;
|
|
4922
4950
|
var tmp = KProperty1;
|
|
4923
4951
|
// Inline function 'kotlin.getValue' call
|
|
4924
4952
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4925
4953
|
return tmp0.x();
|
|
4926
4954
|
}
|
|
4927
4955
|
function _get_logicConfig__52ww9d($this) {
|
|
4928
|
-
var tmp0 = $this.
|
|
4956
|
+
var tmp0 = $this.had_1;
|
|
4929
4957
|
var tmp = KProperty1;
|
|
4930
4958
|
// Inline function 'kotlin.getValue' call
|
|
4931
4959
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4932
4960
|
return tmp0.x();
|
|
4933
4961
|
}
|
|
4934
4962
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4935
|
-
var tmp0 = $this.
|
|
4963
|
+
var tmp0 = $this.iad_1;
|
|
4936
4964
|
var tmp = KProperty1;
|
|
4937
4965
|
// Inline function 'kotlin.getValue' call
|
|
4938
4966
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4939
4967
|
return tmp0.x();
|
|
4940
4968
|
}
|
|
4941
4969
|
function _get_botConfig__cpaxzc($this) {
|
|
4942
|
-
var tmp0 = $this.
|
|
4970
|
+
var tmp0 = $this.jad_1;
|
|
4943
4971
|
var tmp = KProperty1;
|
|
4944
4972
|
// Inline function 'kotlin.getValue' call
|
|
4945
4973
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4946
4974
|
return tmp0.x();
|
|
4947
4975
|
}
|
|
4948
4976
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4949
|
-
var tmp0 = $this.
|
|
4977
|
+
var tmp0 = $this.kad_1;
|
|
4950
4978
|
var tmp = KProperty1;
|
|
4951
4979
|
// Inline function 'kotlin.getValue' call
|
|
4952
4980
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4953
4981
|
return tmp0.x();
|
|
4954
4982
|
}
|
|
4955
4983
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4956
|
-
var tmp0 = $this.
|
|
4984
|
+
var tmp0 = $this.lad_1;
|
|
4957
4985
|
var tmp = KProperty1;
|
|
4958
4986
|
// Inline function 'kotlin.getValue' call
|
|
4959
4987
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4960
4988
|
return tmp0.x();
|
|
4961
4989
|
}
|
|
4962
4990
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4963
|
-
var tmp0 = $this.
|
|
4991
|
+
var tmp0 = $this.mad_1;
|
|
4964
4992
|
var tmp = KProperty1;
|
|
4965
4993
|
// Inline function 'kotlin.getValue' call
|
|
4966
4994
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4967
4995
|
return tmp0.x();
|
|
4968
4996
|
}
|
|
4969
4997
|
function _get_dealerConfig__183ci8($this) {
|
|
4970
|
-
var tmp0 = $this.
|
|
4998
|
+
var tmp0 = $this.nad_1;
|
|
4971
4999
|
var tmp = KProperty1;
|
|
4972
5000
|
// Inline function 'kotlin.getValue' call
|
|
4973
5001
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4974
5002
|
return tmp0.x();
|
|
4975
5003
|
}
|
|
4976
5004
|
function _get_poolProvider__tqti6a($this) {
|
|
4977
|
-
var tmp0 = $this.
|
|
5005
|
+
var tmp0 = $this.oad_1;
|
|
4978
5006
|
var tmp = KProperty1;
|
|
4979
5007
|
// Inline function 'kotlin.getValue' call
|
|
4980
5008
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4981
5009
|
return tmp0.x();
|
|
4982
5010
|
}
|
|
4983
5011
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4984
|
-
var tmp0 = $this.
|
|
5012
|
+
var tmp0 = $this.pad_1;
|
|
4985
5013
|
var tmp = KProperty1;
|
|
4986
5014
|
// Inline function 'kotlin.getValue' call
|
|
4987
5015
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5145,11 +5173,11 @@
|
|
|
5145
5173
|
tmp = fileLoggerStoreContract;
|
|
5146
5174
|
}
|
|
5147
5175
|
fileLoggerStoreContract = tmp;
|
|
5148
|
-
this.
|
|
5149
|
-
this.
|
|
5150
|
-
this.
|
|
5151
|
-
this.
|
|
5152
|
-
this.
|
|
5176
|
+
this.xac_1 = validationStoreContract;
|
|
5177
|
+
this.yac_1 = timersStoreContract;
|
|
5178
|
+
this.zac_1 = botGameStoreContract;
|
|
5179
|
+
this.aad_1 = gameMechanicStoreContract;
|
|
5180
|
+
this.bad_1 = fileLoggerStoreContract;
|
|
5153
5181
|
var tmp_0 = this;
|
|
5154
5182
|
// Inline function 'org.kodein.di.instance' call
|
|
5155
5183
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5157,7 +5185,7 @@
|
|
|
5157
5185
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5158
5186
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5159
5187
|
var tmp_3 = KProperty1;
|
|
5160
|
-
tmp_0.
|
|
5188
|
+
tmp_0.cad_1 = tmp_2.a65(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5161
5189
|
var tmp_4 = this;
|
|
5162
5190
|
// Inline function 'org.kodein.di.instance' call
|
|
5163
5191
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5165,7 +5193,7 @@
|
|
|
5165
5193
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5166
5194
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5167
5195
|
var tmp_7 = KProperty1;
|
|
5168
|
-
tmp_4.
|
|
5196
|
+
tmp_4.dad_1 = tmp_6.a65(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5169
5197
|
var tmp_8 = this;
|
|
5170
5198
|
// Inline function 'org.kodein.di.instance' call
|
|
5171
5199
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5173,7 +5201,7 @@
|
|
|
5173
5201
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5174
5202
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5175
5203
|
var tmp_11 = KProperty1;
|
|
5176
|
-
tmp_8.
|
|
5204
|
+
tmp_8.ead_1 = tmp_10.a65(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5177
5205
|
var tmp_12 = this;
|
|
5178
5206
|
// Inline function 'org.kodein.di.instance' call
|
|
5179
5207
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5181,7 +5209,7 @@
|
|
|
5181
5209
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5182
5210
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5183
5211
|
var tmp_15 = KProperty1;
|
|
5184
|
-
tmp_12.
|
|
5212
|
+
tmp_12.fad_1 = tmp_14.a65(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5185
5213
|
var tmp_16 = this;
|
|
5186
5214
|
// Inline function 'org.kodein.di.instance' call
|
|
5187
5215
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5189,7 +5217,7 @@
|
|
|
5189
5217
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5190
5218
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5191
5219
|
var tmp_19 = KProperty1;
|
|
5192
|
-
tmp_16.
|
|
5220
|
+
tmp_16.gad_1 = tmp_18.a65(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5193
5221
|
var tmp_20 = this;
|
|
5194
5222
|
// Inline function 'org.kodein.di.instance' call
|
|
5195
5223
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5197,7 +5225,7 @@
|
|
|
5197
5225
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5198
5226
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5199
5227
|
var tmp_23 = KProperty1;
|
|
5200
|
-
tmp_20.
|
|
5228
|
+
tmp_20.had_1 = tmp_22.a65(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5201
5229
|
var tmp_24 = this;
|
|
5202
5230
|
// Inline function 'org.kodein.di.instance' call
|
|
5203
5231
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5205,7 +5233,7 @@
|
|
|
5205
5233
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5206
5234
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5207
5235
|
var tmp_27 = KProperty1;
|
|
5208
|
-
tmp_24.
|
|
5236
|
+
tmp_24.iad_1 = tmp_26.a65(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5209
5237
|
var tmp_28 = this;
|
|
5210
5238
|
// Inline function 'org.kodein.di.instance' call
|
|
5211
5239
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5213,7 +5241,7 @@
|
|
|
5213
5241
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5214
5242
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5215
5243
|
var tmp_31 = KProperty1;
|
|
5216
|
-
tmp_28.
|
|
5244
|
+
tmp_28.jad_1 = tmp_30.a65(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5217
5245
|
var tmp_32 = this;
|
|
5218
5246
|
// Inline function 'org.kodein.di.instance' call
|
|
5219
5247
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5221,7 +5249,7 @@
|
|
|
5221
5249
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5222
5250
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5223
5251
|
var tmp_35 = KProperty1;
|
|
5224
|
-
tmp_32.
|
|
5252
|
+
tmp_32.kad_1 = tmp_34.a65(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5225
5253
|
var tmp_36 = this;
|
|
5226
5254
|
// Inline function 'org.kodein.di.instance' call
|
|
5227
5255
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5229,7 +5257,7 @@
|
|
|
5229
5257
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5230
5258
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5231
5259
|
var tmp_39 = KProperty1;
|
|
5232
|
-
tmp_36.
|
|
5260
|
+
tmp_36.lad_1 = tmp_38.a65(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5233
5261
|
var tmp_40 = this;
|
|
5234
5262
|
// Inline function 'org.kodein.di.instance' call
|
|
5235
5263
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5237,7 +5265,7 @@
|
|
|
5237
5265
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5238
5266
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5239
5267
|
var tmp_43 = KProperty1;
|
|
5240
|
-
tmp_40.
|
|
5268
|
+
tmp_40.mad_1 = tmp_42.a65(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5241
5269
|
var tmp_44 = this;
|
|
5242
5270
|
// Inline function 'org.kodein.di.instance' call
|
|
5243
5271
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5245,7 +5273,7 @@
|
|
|
5245
5273
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5246
5274
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5247
5275
|
var tmp_47 = KProperty1;
|
|
5248
|
-
tmp_44.
|
|
5276
|
+
tmp_44.nad_1 = tmp_46.a65(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5249
5277
|
var tmp_48 = this;
|
|
5250
5278
|
// Inline function 'org.kodein.di.instance' call
|
|
5251
5279
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5253,7 +5281,7 @@
|
|
|
5253
5281
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5254
5282
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5255
5283
|
var tmp_51 = KProperty1;
|
|
5256
|
-
tmp_48.
|
|
5284
|
+
tmp_48.oad_1 = tmp_50.a65(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5257
5285
|
var tmp_52 = this;
|
|
5258
5286
|
// Inline function 'org.kodein.di.instance' call
|
|
5259
5287
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5261,20 +5289,20 @@
|
|
|
5261
5289
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5262
5290
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5263
5291
|
var tmp_55 = KProperty1;
|
|
5264
|
-
tmp_52.
|
|
5292
|
+
tmp_52.pad_1 = tmp_54.a65(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5265
5293
|
}
|
|
5266
5294
|
protoOf(ServerGameStoreContract).k98 = function () {
|
|
5267
|
-
return plus(plus(plus(plus(plus(this.
|
|
5295
|
+
return plus(plus(plus(plus(plus(this.xac_1.k98(), this.aad_1.k98()), this.yac_1.k98()), this.zac_1.k98()), this.bad_1.k98()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5268
5296
|
};
|
|
5269
5297
|
protoOf(ServerGameStoreContract).l98 = function () {
|
|
5270
|
-
var tmp = this.
|
|
5298
|
+
var tmp = this.xac_1.l98();
|
|
5271
5299
|
var tmp_0;
|
|
5272
5300
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5273
5301
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5274
5302
|
} else {
|
|
5275
5303
|
tmp_0 = null;
|
|
5276
5304
|
}
|
|
5277
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5305
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.aad_1.l98()), this.yac_1.l98()), this.zac_1.l98()), this.bad_1.l98());
|
|
5278
5306
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5279
5307
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5280
5308
|
var tmp_4;
|
|
@@ -5334,7 +5362,7 @@
|
|
|
5334
5362
|
return this.y6h(store, next, action);
|
|
5335
5363
|
};
|
|
5336
5364
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5337
|
-
this.
|
|
5365
|
+
this.tad_1 = this$0;
|
|
5338
5366
|
}
|
|
5339
5367
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5340
5368
|
return action instanceof MechanicAction;
|
|
@@ -5345,7 +5373,7 @@
|
|
|
5345
5373
|
// Inline function 'kotlin.with' call
|
|
5346
5374
|
var tmp;
|
|
5347
5375
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5348
|
-
var tmp0 = this.
|
|
5376
|
+
var tmp0 = this.tad_1;
|
|
5349
5377
|
var tmp2 = action_0.r94_1;
|
|
5350
5378
|
var tmp4 = action_0.t94_1;
|
|
5351
5379
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5355,7 +5383,7 @@
|
|
|
5355
5383
|
var _iterator__ex2g4s = this_0.l();
|
|
5356
5384
|
while (_iterator__ex2g4s.m()) {
|
|
5357
5385
|
var item = _iterator__ex2g4s.n();
|
|
5358
|
-
var tmp$ret$0 = to(item.n66_1, this.sad_1.
|
|
5386
|
+
var tmp$ret$0 = to(item.n66_1, this.tad_1.sad_1.oac(item.isBot, item.n66_1, get_serverStatePayload_0(state).connectedPlayers).n67_1);
|
|
5359
5387
|
destination.j(tmp$ret$0);
|
|
5360
5388
|
}
|
|
5361
5389
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5385,7 +5413,7 @@
|
|
|
5385
5413
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5386
5414
|
while (_iterator__ex2g4s_2.m()) {
|
|
5387
5415
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5388
|
-
var tmp0_aid = tmp0.
|
|
5416
|
+
var tmp0_aid = tmp0.rad_1.h6e();
|
|
5389
5417
|
// Inline function 'kotlin.collections.map' call
|
|
5390
5418
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5391
5419
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5407,15 +5435,15 @@
|
|
|
5407
5435
|
tmp = destination_2;
|
|
5408
5436
|
} else {
|
|
5409
5437
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5410
|
-
var tmp0_0 = this.
|
|
5438
|
+
var tmp0_0 = this.tad_1;
|
|
5411
5439
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5412
5440
|
var tableId = state.c6s().id;
|
|
5413
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5441
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.rad_1.h6e(), tableId, null);
|
|
5414
5442
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5415
5443
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5416
5444
|
} else {
|
|
5417
5445
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5418
|
-
var tmp0_1 = this.
|
|
5446
|
+
var tmp0_1 = this.tad_1;
|
|
5419
5447
|
var tmp2_0 = action_0.table.id;
|
|
5420
5448
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5421
5449
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5455,7 +5483,7 @@
|
|
|
5455
5483
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5456
5484
|
while (_iterator__ex2g4s_7.m()) {
|
|
5457
5485
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5458
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5486
|
+
var tmp0_aid_0 = tmp0_1.rad_1.h6e();
|
|
5459
5487
|
// Inline function 'kotlin.collections.map' call
|
|
5460
5488
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5461
5489
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5477,39 +5505,39 @@
|
|
|
5477
5505
|
tmp = destination_7;
|
|
5478
5506
|
} else {
|
|
5479
5507
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5480
|
-
var tmp0_2 = this.
|
|
5508
|
+
var tmp0_2 = this.tad_1;
|
|
5481
5509
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5482
5510
|
var tableId_0 = state.c6s().id;
|
|
5483
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5511
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.rad_1.h6e(), tableId_0, null);
|
|
5484
5512
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5485
5513
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5486
5514
|
} else {
|
|
5487
5515
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5488
|
-
var tmp0_3 = this.
|
|
5516
|
+
var tmp0_3 = this.tad_1;
|
|
5489
5517
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5490
5518
|
var tableId_1 = state.c6s().id;
|
|
5491
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5519
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.rad_1.h6e(), tableId_1, null);
|
|
5492
5520
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5493
5521
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5494
5522
|
} else {
|
|
5495
5523
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5496
|
-
var tmp0_4 = this.
|
|
5524
|
+
var tmp0_4 = this.tad_1;
|
|
5497
5525
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5498
5526
|
var tableId_2 = state.c6s().id;
|
|
5499
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5527
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.rad_1.h6e(), tableId_2, null);
|
|
5500
5528
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5501
5529
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5502
5530
|
} else {
|
|
5503
5531
|
if (action_0 instanceof ErrorAction) {
|
|
5504
|
-
var tmp0_5 = this.
|
|
5532
|
+
var tmp0_5 = this.tad_1;
|
|
5505
5533
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5506
5534
|
var tableId_3 = state.c6s().id;
|
|
5507
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5535
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.rad_1.h6e(), tableId_3, null);
|
|
5508
5536
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5509
5537
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5510
5538
|
} else {
|
|
5511
5539
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5512
|
-
var tmp0_6 = this.
|
|
5540
|
+
var tmp0_6 = this.tad_1;
|
|
5513
5541
|
var tmp2_1 = state.c6s().id;
|
|
5514
5542
|
var tmp4_1 = state.c6s().playersConnections;
|
|
5515
5543
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5541,7 +5569,7 @@
|
|
|
5541
5569
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5542
5570
|
while (_iterator__ex2g4s_11.m()) {
|
|
5543
5571
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5544
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5572
|
+
var tmp0_aid_1 = tmp0_6.rad_1.h6e();
|
|
5545
5573
|
// Inline function 'kotlin.collections.map' call
|
|
5546
5574
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5547
5575
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_1, 10));
|
|
@@ -5563,7 +5591,7 @@
|
|
|
5563
5591
|
tmp = destination_11;
|
|
5564
5592
|
} else {
|
|
5565
5593
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5566
|
-
var tmp0_7 = this.
|
|
5594
|
+
var tmp0_7 = this.tad_1;
|
|
5567
5595
|
var tmp2_2 = state.c6s().id;
|
|
5568
5596
|
var tmp4_2 = state.c6s().playersConnections;
|
|
5569
5597
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5595,7 +5623,7 @@
|
|
|
5595
5623
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5596
5624
|
while (_iterator__ex2g4s_15.m()) {
|
|
5597
5625
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5598
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5626
|
+
var tmp0_aid_2 = tmp0_7.rad_1.h6e();
|
|
5599
5627
|
// Inline function 'kotlin.collections.map' call
|
|
5600
5628
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5601
5629
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_2, 10));
|
|
@@ -5617,7 +5645,7 @@
|
|
|
5617
5645
|
tmp = destination_15;
|
|
5618
5646
|
} else {
|
|
5619
5647
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5620
|
-
var tmp0_8 = this.
|
|
5648
|
+
var tmp0_8 = this.tad_1;
|
|
5621
5649
|
var tmp2_3 = state.c6s().id;
|
|
5622
5650
|
var tmp4_3 = state.c6s().playersConnections;
|
|
5623
5651
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5649,7 +5677,7 @@
|
|
|
5649
5677
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5650
5678
|
while (_iterator__ex2g4s_19.m()) {
|
|
5651
5679
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5652
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5680
|
+
var tmp0_aid_3 = tmp0_8.rad_1.h6e();
|
|
5653
5681
|
// Inline function 'kotlin.collections.map' call
|
|
5654
5682
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5655
5683
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5661,7 +5689,7 @@
|
|
|
5661
5689
|
}
|
|
5662
5690
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, gameCreatorPlayerId_1, element_8, destination_20);
|
|
5663
5691
|
var tmp_0;
|
|
5664
|
-
if (this.
|
|
5692
|
+
if (this.tad_1.qad_1.supportBackwardActions && getPlayer(state.c6s().players, sendToPlayer_8.g7h_1).s6v_1.d70_1) {
|
|
5665
5693
|
tmp_0 = null;
|
|
5666
5694
|
} else {
|
|
5667
5695
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5677,81 +5705,81 @@
|
|
|
5677
5705
|
tmp = destination_19;
|
|
5678
5706
|
} else {
|
|
5679
5707
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5680
|
-
var tmp0_9 = this.
|
|
5708
|
+
var tmp0_9 = this.tad_1;
|
|
5681
5709
|
var tmp2_4 = state.c6s().id;
|
|
5682
5710
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5683
|
-
var exceptPlayerId = this.
|
|
5684
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5711
|
+
var exceptPlayerId = this.tad_1.qad_1.supportBackwardActions ? action_0.k95_1 : null;
|
|
5712
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.rad_1.h6e(), tmp2_4, exceptPlayerId);
|
|
5685
5713
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5686
5714
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5687
5715
|
} else {
|
|
5688
5716
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5689
|
-
var tmp0_10 = this.
|
|
5717
|
+
var tmp0_10 = this.tad_1;
|
|
5690
5718
|
var tmp2_5 = state.c6s().id;
|
|
5691
5719
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5692
|
-
var exceptPlayerId_0 = this.
|
|
5693
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5720
|
+
var exceptPlayerId_0 = this.tad_1.qad_1.supportBackwardActions ? action_0.q90_1 : null;
|
|
5721
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.rad_1.h6e(), tmp2_5, exceptPlayerId_0);
|
|
5694
5722
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5695
5723
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5696
5724
|
} else {
|
|
5697
5725
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5698
|
-
var tmp0_11 = this.
|
|
5726
|
+
var tmp0_11 = this.tad_1;
|
|
5699
5727
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5700
5728
|
var tableId_4 = state.c6s().id;
|
|
5701
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5729
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.rad_1.h6e(), tableId_4, null);
|
|
5702
5730
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5703
5731
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5704
5732
|
} else {
|
|
5705
5733
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5706
|
-
var tmp0_12 = this.
|
|
5734
|
+
var tmp0_12 = this.tad_1;
|
|
5707
5735
|
var tmp2_6 = state.c6s().id;
|
|
5708
5736
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5709
|
-
var exceptPlayerId_1 = this.
|
|
5710
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5737
|
+
var exceptPlayerId_1 = this.tad_1.qad_1.supportBackwardActions ? action_0.q95_1 : null;
|
|
5738
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.rad_1.h6e(), tmp2_6, exceptPlayerId_1);
|
|
5711
5739
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5712
5740
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5713
5741
|
} else {
|
|
5714
5742
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5715
|
-
var tmp0_13 = this.
|
|
5743
|
+
var tmp0_13 = this.tad_1;
|
|
5716
5744
|
var tmp2_7 = state.c6s().id;
|
|
5717
5745
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5718
|
-
var exceptPlayerId_2 = this.
|
|
5719
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5746
|
+
var exceptPlayerId_2 = this.tad_1.qad_1.supportBackwardActions ? action_0.w90_1 : null;
|
|
5747
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.rad_1.h6e(), tmp2_7, exceptPlayerId_2);
|
|
5720
5748
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5721
5749
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5722
5750
|
} else {
|
|
5723
5751
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5724
|
-
var tmp0_14 = this.
|
|
5752
|
+
var tmp0_14 = this.tad_1;
|
|
5725
5753
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5726
5754
|
var tableId_5 = state.c6s().id;
|
|
5727
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5755
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.rad_1.h6e(), tableId_5, null);
|
|
5728
5756
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5729
5757
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5730
5758
|
} else {
|
|
5731
5759
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5732
|
-
var tmp0_15 = this.
|
|
5760
|
+
var tmp0_15 = this.tad_1;
|
|
5733
5761
|
var tmp2_8 = state.c6s().id;
|
|
5734
5762
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5735
|
-
var exceptPlayerId_3 = this.
|
|
5736
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5763
|
+
var exceptPlayerId_3 = this.tad_1.qad_1.supportBackwardActions ? action_0.s95_1 : null;
|
|
5764
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.rad_1.h6e(), tmp2_8, exceptPlayerId_3);
|
|
5737
5765
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5738
5766
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5739
5767
|
} else {
|
|
5740
5768
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5741
|
-
var tmp0_16 = this.
|
|
5769
|
+
var tmp0_16 = this.tad_1;
|
|
5742
5770
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5743
5771
|
var tableId_6 = state.c6s().id;
|
|
5744
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5772
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.rad_1.h6e(), tableId_6, null);
|
|
5745
5773
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5746
5774
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5747
5775
|
} else {
|
|
5748
5776
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5749
5777
|
var message = action_0.message;
|
|
5750
|
-
var tmp0_17 = this.
|
|
5778
|
+
var tmp0_17 = this.tad_1;
|
|
5751
5779
|
var tmp2_9 = state.c6s().id;
|
|
5752
5780
|
var tmp_1;
|
|
5753
5781
|
var tmp_2;
|
|
5754
|
-
if (this.
|
|
5782
|
+
if (this.tad_1.qad_1.supportBackwardActions) {
|
|
5755
5783
|
tmp_2 = isInterface(message, UserMessage);
|
|
5756
5784
|
} else {
|
|
5757
5785
|
tmp_2 = false;
|
|
@@ -5763,16 +5791,16 @@
|
|
|
5763
5791
|
}
|
|
5764
5792
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5765
5793
|
var exceptPlayerId_4 = tmp_1;
|
|
5766
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5794
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.rad_1.h6e(), tmp2_9, exceptPlayerId_4);
|
|
5767
5795
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5768
5796
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5769
5797
|
} else {
|
|
5770
5798
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5771
|
-
var tmp0_18 = this.
|
|
5799
|
+
var tmp0_18 = this.tad_1;
|
|
5772
5800
|
var tmp2_10 = state.c6s().id;
|
|
5773
5801
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5774
5802
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5775
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5803
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.rad_1.h6e(), tmp2_10, exceptPlayerId_5);
|
|
5776
5804
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5777
5805
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5778
5806
|
} else {
|
|
@@ -5810,9 +5838,9 @@
|
|
|
5810
5838
|
return this.y6h(store, next, action);
|
|
5811
5839
|
};
|
|
5812
5840
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
5813
|
-
this.
|
|
5814
|
-
this.
|
|
5815
|
-
this.
|
|
5841
|
+
this.qad_1 = logicConfig;
|
|
5842
|
+
this.rad_1 = idsProvider;
|
|
5843
|
+
this.sad_1 = playerConnectionInteractor;
|
|
5816
5844
|
}
|
|
5817
5845
|
protoOf(ServerMapMechanicToClientActionMiddleware).r9a = function () {
|
|
5818
5846
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -5823,8 +5851,8 @@
|
|
|
5823
5851
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5824
5852
|
}
|
|
5825
5853
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5826
|
-
this.
|
|
5827
|
-
this.
|
|
5854
|
+
this.uad_1 = $logger;
|
|
5855
|
+
this.vad_1 = $playerConnectionInteractor;
|
|
5828
5856
|
}
|
|
5829
5857
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5830
5858
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5843,7 +5871,7 @@
|
|
|
5843
5871
|
break $l$block_1;
|
|
5844
5872
|
}
|
|
5845
5873
|
if (player.q6v_1.d69().n67_1.isLeftPermanently) {
|
|
5846
|
-
this.
|
|
5874
|
+
this.uad_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
5847
5875
|
break $l$block_1;
|
|
5848
5876
|
}
|
|
5849
5877
|
}
|
|
@@ -5866,7 +5894,7 @@
|
|
|
5866
5894
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5867
5895
|
while (_iterator__ex2g4s_0.m()) {
|
|
5868
5896
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5869
|
-
if (element_0.
|
|
5897
|
+
if (element_0.wad_1 === tmp4.z93_1) {
|
|
5870
5898
|
if (found) {
|
|
5871
5899
|
tmp$ret$4 = null;
|
|
5872
5900
|
break $l$block_3;
|
|
@@ -5885,7 +5913,7 @@
|
|
|
5885
5913
|
if (!(reconnectionTimerTag == null)) {
|
|
5886
5914
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5887
5915
|
}
|
|
5888
|
-
var actions = this.
|
|
5916
|
+
var actions = this.vad_1.mac(tmp4.y93_1, player.q6v_1.d69().n67_1, player, store.state.c6s(), tmp4.b94_1);
|
|
5889
5917
|
// Inline function 'kotlin.collections.forEach' call
|
|
5890
5918
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5891
5919
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5902,17 +5930,17 @@
|
|
|
5902
5930
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5903
5931
|
}
|
|
5904
5932
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5905
|
-
this.
|
|
5906
|
-
this.
|
|
5907
|
-
this.
|
|
5933
|
+
this.wad_1 = playerId;
|
|
5934
|
+
this.xad_1 = state;
|
|
5935
|
+
this.yad_1 = previousState;
|
|
5908
5936
|
}
|
|
5909
5937
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5910
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5938
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.wad_1 + ', state=' + this.xad_1.toString() + ', previousState=' + this.yad_1.toString() + ')';
|
|
5911
5939
|
};
|
|
5912
5940
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5913
|
-
var result = getStringHashCode(this.
|
|
5914
|
-
result = imul(result, 31) + this.wad_1.hashCode() | 0;
|
|
5941
|
+
var result = getStringHashCode(this.wad_1);
|
|
5915
5942
|
result = imul(result, 31) + this.xad_1.hashCode() | 0;
|
|
5943
|
+
result = imul(result, 31) + this.yad_1.hashCode() | 0;
|
|
5916
5944
|
return result;
|
|
5917
5945
|
};
|
|
5918
5946
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5920,16 +5948,16 @@
|
|
|
5920
5948
|
return true;
|
|
5921
5949
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5922
5950
|
return false;
|
|
5923
|
-
if (!(this.
|
|
5924
|
-
return false;
|
|
5925
|
-
if (!this.wad_1.equals(other.wad_1))
|
|
5951
|
+
if (!(this.wad_1 === other.wad_1))
|
|
5926
5952
|
return false;
|
|
5927
5953
|
if (!this.xad_1.equals(other.xad_1))
|
|
5928
5954
|
return false;
|
|
5955
|
+
if (!this.yad_1.equals(other.yad_1))
|
|
5956
|
+
return false;
|
|
5929
5957
|
return true;
|
|
5930
5958
|
};
|
|
5931
5959
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5932
|
-
this.
|
|
5960
|
+
this.zad_1 = $playerConnectionInteractor;
|
|
5933
5961
|
}
|
|
5934
5962
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5935
5963
|
return action instanceof TimerTickAction;
|
|
@@ -5943,8 +5971,8 @@
|
|
|
5943
5971
|
var timerTag = tmp4.f6g_1;
|
|
5944
5972
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5945
5973
|
var state = store.state;
|
|
5946
|
-
var player = getPlayer(state.c6s().players, timerTag.
|
|
5947
|
-
var actions = this.
|
|
5974
|
+
var player = getPlayer(state.c6s().players, timerTag.wad_1);
|
|
5975
|
+
var actions = this.zad_1.mac(timerTag.xad_1, timerTag.yad_1, player, state.c6s(), true);
|
|
5948
5976
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5949
5977
|
if (!actions.r()) {
|
|
5950
5978
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5966,7 +5994,7 @@
|
|
|
5966
5994
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5967
5995
|
}
|
|
5968
5996
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5969
|
-
this.
|
|
5997
|
+
this.aae_1 = $playerConnectionInteractor;
|
|
5970
5998
|
}
|
|
5971
5999
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5972
6000
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -5994,7 +6022,7 @@
|
|
|
5994
6022
|
var tmp1_previousConnectionState = element_0.q6v_1.d69().n67_1;
|
|
5995
6023
|
var tmp2_playerId = element_0.playerId;
|
|
5996
6024
|
// Inline function 'kotlin.collections.forEach' call
|
|
5997
|
-
var _iterator__ex2g4s_1 = this.
|
|
6025
|
+
var _iterator__ex2g4s_1 = this.aae_1.nac(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).l();
|
|
5998
6026
|
while (_iterator__ex2g4s_1.m()) {
|
|
5999
6027
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
6000
6028
|
store.dispatch(element_1);
|
|
@@ -6009,8 +6037,8 @@
|
|
|
6009
6037
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6010
6038
|
}
|
|
6011
6039
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6012
|
-
this.
|
|
6013
|
-
this.
|
|
6040
|
+
this.jae_1 = $provider;
|
|
6041
|
+
this.kae_1 = $action;
|
|
6014
6042
|
CoroutineImpl.call(this, resultContinuation);
|
|
6015
6043
|
}
|
|
6016
6044
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -6031,7 +6059,7 @@
|
|
|
6031
6059
|
case 0:
|
|
6032
6060
|
this.t8_1 = 2;
|
|
6033
6061
|
this.s8_1 = 1;
|
|
6034
|
-
suspendResult = this.
|
|
6062
|
+
suspendResult = this.jae_1.gaa(this.kae_1, this);
|
|
6035
6063
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6036
6064
|
return suspendResult;
|
|
6037
6065
|
}
|
|
@@ -6054,8 +6082,8 @@
|
|
|
6054
6082
|
while (true);
|
|
6055
6083
|
};
|
|
6056
6084
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).d2d = function ($this$launchDefault, completion) {
|
|
6057
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6058
|
-
i.
|
|
6085
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.jae_1, this.kae_1, completion);
|
|
6086
|
+
i.lae_1 = $this$launchDefault;
|
|
6059
6087
|
return i;
|
|
6060
6088
|
};
|
|
6061
6089
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6067,15 +6095,15 @@
|
|
|
6067
6095
|
return l;
|
|
6068
6096
|
}
|
|
6069
6097
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6070
|
-
this.
|
|
6071
|
-
this.
|
|
6098
|
+
this.mae_1 = $asyncProvider;
|
|
6099
|
+
this.nae_1 = $provider;
|
|
6072
6100
|
}
|
|
6073
6101
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6074
6102
|
return action instanceof ToClientAction;
|
|
6075
6103
|
};
|
|
6076
6104
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).y6h = function (store, next, action) {
|
|
6077
6105
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6078
|
-
this.
|
|
6106
|
+
this.mae_1.m6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.nae_1, action_0, null));
|
|
6079
6107
|
next(action_0);
|
|
6080
6108
|
};
|
|
6081
6109
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).i6g = function (store, next, action) {
|
|
@@ -6086,11 +6114,11 @@
|
|
|
6086
6114
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6087
6115
|
}
|
|
6088
6116
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6089
|
-
this.
|
|
6090
|
-
this.
|
|
6091
|
-
this.
|
|
6092
|
-
this.
|
|
6093
|
-
this.
|
|
6117
|
+
this.wae_1 = $store;
|
|
6118
|
+
this.xae_1 = $timerTag;
|
|
6119
|
+
this.yae_1 = $serverConfig;
|
|
6120
|
+
this.zae_1 = $logger;
|
|
6121
|
+
this.aaf_1 = $action;
|
|
6094
6122
|
CoroutineImpl.call(this, resultContinuation);
|
|
6095
6123
|
}
|
|
6096
6124
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).c2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6109,13 +6137,13 @@
|
|
|
6109
6137
|
var tmp = this.s8_1;
|
|
6110
6138
|
if (tmp === 0) {
|
|
6111
6139
|
this.t8_1 = 1;
|
|
6112
|
-
var table = this.
|
|
6113
|
-
var player = getPlayer(table.players, this.
|
|
6140
|
+
var table = this.wae_1.state.c6s();
|
|
6141
|
+
var player = getPlayer(table.players, this.xae_1.z65());
|
|
6114
6142
|
var connectionState = player.q6v_1.d69().n67_1;
|
|
6115
6143
|
var tmp_0;
|
|
6116
6144
|
switch (connectionState.q2_1) {
|
|
6117
6145
|
case 1:
|
|
6118
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6146
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.xae_1.n9h_1));
|
|
6119
6147
|
break;
|
|
6120
6148
|
case 6:
|
|
6121
6149
|
tmp_0 = emptyList();
|
|
@@ -6125,8 +6153,8 @@
|
|
|
6125
6153
|
case 3:
|
|
6126
6154
|
case 2:
|
|
6127
6155
|
var tmp_1;
|
|
6128
|
-
if (table.sceneInfo.n7g() && this.
|
|
6129
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6156
|
+
if (table.sceneInfo.n7g() && this.yae_1.closeIfBotsAtFinish) {
|
|
6157
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.xae_1.n9h_1);
|
|
6130
6158
|
} else {
|
|
6131
6159
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6132
6160
|
}
|
|
@@ -6135,7 +6163,7 @@
|
|
|
6135
6163
|
break;
|
|
6136
6164
|
case 0:
|
|
6137
6165
|
case 7:
|
|
6138
|
-
this.
|
|
6166
|
+
this.zae_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.aaf_1.toString()));
|
|
6139
6167
|
tmp_0 = emptyList();
|
|
6140
6168
|
break;
|
|
6141
6169
|
default:
|
|
@@ -6147,7 +6175,7 @@
|
|
|
6147
6175
|
var _iterator__ex2g4s = actions.l();
|
|
6148
6176
|
while (_iterator__ex2g4s.m()) {
|
|
6149
6177
|
var element = _iterator__ex2g4s.n();
|
|
6150
|
-
this.
|
|
6178
|
+
this.wae_1.dispatch(element);
|
|
6151
6179
|
}
|
|
6152
6180
|
}
|
|
6153
6181
|
return Unit_instance;
|
|
@@ -6161,8 +6189,8 @@
|
|
|
6161
6189
|
while (true);
|
|
6162
6190
|
};
|
|
6163
6191
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).d2d = function ($this$launchDefaultWithLock, completion) {
|
|
6164
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6165
|
-
i.
|
|
6192
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.wae_1, this.xae_1, this.yae_1, this.zae_1, this.aaf_1, completion);
|
|
6193
|
+
i.baf_1 = $this$launchDefaultWithLock;
|
|
6166
6194
|
return i;
|
|
6167
6195
|
};
|
|
6168
6196
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6174,9 +6202,9 @@
|
|
|
6174
6202
|
return l;
|
|
6175
6203
|
}
|
|
6176
6204
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6177
|
-
this.
|
|
6178
|
-
this.
|
|
6179
|
-
this.
|
|
6205
|
+
this.caf_1 = $asyncProvider;
|
|
6206
|
+
this.daf_1 = $serverConfig;
|
|
6207
|
+
this.eaf_1 = $logger;
|
|
6180
6208
|
}
|
|
6181
6209
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6182
6210
|
return action instanceof TimerTickAction;
|
|
@@ -6185,7 +6213,7 @@
|
|
|
6185
6213
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6186
6214
|
var timerTag = action_0.f6g_1;
|
|
6187
6215
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6188
|
-
this.
|
|
6216
|
+
this.caf_1.o6c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.daf_1, this.eaf_1, action_0, null));
|
|
6189
6217
|
}
|
|
6190
6218
|
next(action_0);
|
|
6191
6219
|
};
|
|
@@ -6203,7 +6231,7 @@
|
|
|
6203
6231
|
};
|
|
6204
6232
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).w9j = function (state, action) {
|
|
6205
6233
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6206
|
-
return state.r93(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
6234
|
+
return state.r93(VOID, get_serverStatePayload_0(state).copy(action_0.uac_1));
|
|
6207
6235
|
};
|
|
6208
6236
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6209
6237
|
return this.w9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -6213,25 +6241,25 @@
|
|
|
6213
6241
|
return _this__u8e3s4.metadata;
|
|
6214
6242
|
}
|
|
6215
6243
|
function Companion_5() {
|
|
6216
|
-
this.
|
|
6244
|
+
this.faf_1 = 'ServerMechanicLifecycleReducer';
|
|
6217
6245
|
}
|
|
6218
|
-
var
|
|
6246
|
+
var Companion_instance_16;
|
|
6219
6247
|
function Companion_getInstance_6() {
|
|
6220
|
-
return
|
|
6248
|
+
return Companion_instance_16;
|
|
6221
6249
|
}
|
|
6222
6250
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6223
6251
|
return function (it) {
|
|
6224
|
-
return Companion_instance_4.z68(this$0.
|
|
6252
|
+
return Companion_instance_4.z68(this$0.jaf_1.oac(it.isBot, it.n66_1, $updatedServerPayload.connectedPlayers));
|
|
6225
6253
|
};
|
|
6226
6254
|
}
|
|
6227
6255
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6228
6256
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6229
|
-
this.
|
|
6230
|
-
this.
|
|
6257
|
+
this.iaf_1 = logger;
|
|
6258
|
+
this.jaf_1 = connectionInteractor;
|
|
6231
6259
|
}
|
|
6232
6260
|
protoOf(ServerMechanicLifecycleReducer).n9l = function (state, action) {
|
|
6233
6261
|
var serverState = get_serverStatePayload_0(state);
|
|
6234
|
-
this.
|
|
6262
|
+
this.iaf_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6235
6263
|
var tableId = action.r94_1;
|
|
6236
6264
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6237
6265
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -6245,10 +6273,10 @@
|
|
|
6245
6273
|
return state.r93(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6246
6274
|
};
|
|
6247
6275
|
protoOf(ServerMechanicLifecycleReducer).l9l = function (state, action) {
|
|
6248
|
-
this.
|
|
6276
|
+
this.iaf_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6249
6277
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6250
6278
|
var tmp2_tableOrNull = action.table;
|
|
6251
|
-
var tmp =
|
|
6279
|
+
var tmp = Companion_instance_17;
|
|
6252
6280
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
6253
6281
|
var tmp_1 = action.reason;
|
|
6254
6282
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
@@ -6267,7 +6295,7 @@
|
|
|
6267
6295
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6268
6296
|
}
|
|
6269
6297
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6270
|
-
this.
|
|
6298
|
+
this.kaf_1 = $logger;
|
|
6271
6299
|
}
|
|
6272
6300
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6273
6301
|
return isInterface(action, SpectatorsAction);
|
|
@@ -6278,7 +6306,7 @@
|
|
|
6278
6306
|
var tmp;
|
|
6279
6307
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6280
6308
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6281
|
-
var tmp0 = action_0.
|
|
6309
|
+
var tmp0 = action_0.vac_1;
|
|
6282
6310
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6283
6311
|
var destination = ArrayList_init_$Create$_0();
|
|
6284
6312
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6297,9 +6325,9 @@
|
|
|
6297
6325
|
var tmp_0;
|
|
6298
6326
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6299
6327
|
if (!sameSpectators.r()) {
|
|
6300
|
-
this.
|
|
6328
|
+
this.kaf_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6301
6329
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6302
|
-
var tmp0_0 = action_0.
|
|
6330
|
+
var tmp0_0 = action_0.vac_1;
|
|
6303
6331
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6304
6332
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6305
6333
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6334,7 +6362,7 @@
|
|
|
6334
6362
|
}
|
|
6335
6363
|
tmp_0 = destination_0;
|
|
6336
6364
|
} else {
|
|
6337
|
-
tmp_0 = action_0.
|
|
6365
|
+
tmp_0 = action_0.vac_1;
|
|
6338
6366
|
}
|
|
6339
6367
|
// Inline function 'kotlin.collections.map' call
|
|
6340
6368
|
var this_0 = tmp_0;
|
|
@@ -6351,7 +6379,7 @@
|
|
|
6351
6379
|
} else {
|
|
6352
6380
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6353
6381
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6354
|
-
var tmp0_1 = action_0.
|
|
6382
|
+
var tmp0_1 = action_0.wac_1;
|
|
6355
6383
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6356
6384
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6357
6385
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6370,9 +6398,9 @@
|
|
|
6370
6398
|
var tmp_2;
|
|
6371
6399
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6372
6400
|
if (!sameSpectators_0.r()) {
|
|
6373
|
-
this.
|
|
6401
|
+
this.kaf_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6374
6402
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6375
|
-
var tmp0_2 = action_0.
|
|
6403
|
+
var tmp0_2 = action_0.wac_1;
|
|
6376
6404
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6377
6405
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6378
6406
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6407,7 +6435,7 @@
|
|
|
6407
6435
|
}
|
|
6408
6436
|
tmp_2 = destination_3;
|
|
6409
6437
|
} else {
|
|
6410
|
-
tmp_2 = action_0.
|
|
6438
|
+
tmp_2 = action_0.wac_1;
|
|
6411
6439
|
}
|
|
6412
6440
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6413
6441
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6479,17 +6507,17 @@
|
|
|
6479
6507
|
};
|
|
6480
6508
|
function Companion_6() {
|
|
6481
6509
|
}
|
|
6482
|
-
protoOf(Companion_6).
|
|
6510
|
+
protoOf(Companion_6).laf = function (config, metadata) {
|
|
6483
6511
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6484
6512
|
};
|
|
6485
6513
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6486
|
-
config = config === VOID ?
|
|
6514
|
+
config = config === VOID ? Companion_instance_11.initial(null) : config;
|
|
6487
6515
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6488
|
-
return $super === VOID ? this.
|
|
6516
|
+
return $super === VOID ? this.laf(config, metadata) : $super.laf.call(this, config, metadata);
|
|
6489
6517
|
};
|
|
6490
|
-
var
|
|
6518
|
+
var Companion_instance_17;
|
|
6491
6519
|
function Companion_getInstance_7() {
|
|
6492
|
-
return
|
|
6520
|
+
return Companion_instance_17;
|
|
6493
6521
|
}
|
|
6494
6522
|
function ServerStatePayload(config, metadata, connectedPlayers) {
|
|
6495
6523
|
this.config = config;
|
|
@@ -6502,7 +6530,7 @@
|
|
|
6502
6530
|
protoOf(ServerStatePayload).x8m = function () {
|
|
6503
6531
|
return this.metadata;
|
|
6504
6532
|
};
|
|
6505
|
-
protoOf(ServerStatePayload).
|
|
6533
|
+
protoOf(ServerStatePayload).maf = function () {
|
|
6506
6534
|
return this.connectedPlayers;
|
|
6507
6535
|
};
|
|
6508
6536
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6514,14 +6542,14 @@
|
|
|
6514
6542
|
protoOf(ServerStatePayload).yl = function () {
|
|
6515
6543
|
return this.connectedPlayers;
|
|
6516
6544
|
};
|
|
6517
|
-
protoOf(ServerStatePayload).
|
|
6545
|
+
protoOf(ServerStatePayload).naf = function (config, metadata, connectedPlayers) {
|
|
6518
6546
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6519
6547
|
};
|
|
6520
6548
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6521
6549
|
config = config === VOID ? this.config : config;
|
|
6522
6550
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6523
6551
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6524
|
-
return $super === VOID ? this.
|
|
6552
|
+
return $super === VOID ? this.naf(config, metadata, connectedPlayers) : $super.naf.call(this, config, metadata, connectedPlayers);
|
|
6525
6553
|
};
|
|
6526
6554
|
protoOf(ServerStatePayload).toString = function () {
|
|
6527
6555
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6586,14 +6614,14 @@
|
|
|
6586
6614
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6587
6615
|
}
|
|
6588
6616
|
function _get_logger__rkp4sl_0($this) {
|
|
6589
|
-
var tmp0 = $this.
|
|
6617
|
+
var tmp0 = $this.xaf_1;
|
|
6590
6618
|
var tmp = KProperty1;
|
|
6591
6619
|
// Inline function 'kotlin.getValue' call
|
|
6592
6620
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6593
6621
|
return tmp0.x();
|
|
6594
6622
|
}
|
|
6595
6623
|
function _get_di__ndbzja($this) {
|
|
6596
|
-
var tmp0 = $this.
|
|
6624
|
+
var tmp0 = $this.yaf_1;
|
|
6597
6625
|
var tmp = KProperty1;
|
|
6598
6626
|
// Inline function 'kotlin.getValue' call
|
|
6599
6627
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6610,26 +6638,26 @@
|
|
|
6610
6638
|
}
|
|
6611
6639
|
function createCallbackOutput($this, gameServer) {
|
|
6612
6640
|
var tmp;
|
|
6613
|
-
if (!($this.
|
|
6614
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6641
|
+
if (!($this.vaf_1 == null)) {
|
|
6642
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.vaf_1);
|
|
6615
6643
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6616
6644
|
} else {
|
|
6617
6645
|
tmp = null;
|
|
6618
6646
|
}
|
|
6619
6647
|
return tmp;
|
|
6620
6648
|
}
|
|
6621
|
-
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
6622
|
-
var tmp =
|
|
6623
|
-
return tmp.o5z(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, externalReducers, externalMiddlewares));
|
|
6649
|
+
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, leaguesConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
6650
|
+
var tmp = Companion_instance_7;
|
|
6651
|
+
return tmp.o5z(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, leaguesConfig, externalReducers, externalMiddlewares));
|
|
6624
6652
|
}
|
|
6625
6653
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6626
6654
|
return function () {
|
|
6627
6655
|
var tmp;
|
|
6628
|
-
if (this$0.
|
|
6656
|
+
if (this$0.vaf_1 == null) {
|
|
6629
6657
|
tmp = null;
|
|
6630
6658
|
} else {
|
|
6631
6659
|
// Inline function 'kotlin.let' call
|
|
6632
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6660
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.vaf_1)]));
|
|
6633
6661
|
}
|
|
6634
6662
|
var tmp1_elvis_lhs = tmp;
|
|
6635
6663
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6662,13 +6690,13 @@
|
|
|
6662
6690
|
tmp_0.d63(tmp$ret$3);
|
|
6663
6691
|
$this$DI.h5z(jsonModule());
|
|
6664
6692
|
$this$DI.h5z(serverHelpersModule());
|
|
6665
|
-
$this$DI.h5z(randomOrgModule(this$0.
|
|
6693
|
+
$this$DI.h5z(randomOrgModule(this$0.waf_1));
|
|
6666
6694
|
return Unit_instance;
|
|
6667
6695
|
};
|
|
6668
6696
|
}
|
|
6669
6697
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
6670
6698
|
return function () {
|
|
6671
|
-
var tmp =
|
|
6699
|
+
var tmp = Companion_instance_7;
|
|
6672
6700
|
return tmp.o5z(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
6673
6701
|
};
|
|
6674
6702
|
}
|
|
@@ -6738,13 +6766,13 @@
|
|
|
6738
6766
|
};
|
|
6739
6767
|
}
|
|
6740
6768
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6741
|
-
this.
|
|
6769
|
+
this.fag_1 = $reducer;
|
|
6742
6770
|
}
|
|
6743
6771
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j6g = function (action) {
|
|
6744
6772
|
return isInterface(action, Action);
|
|
6745
6773
|
};
|
|
6746
6774
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).w9j = function (state, action) {
|
|
6747
|
-
return this.
|
|
6775
|
+
return this.fag_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6748
6776
|
};
|
|
6749
6777
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).z6h = function (state, action) {
|
|
6750
6778
|
return this.w9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -6827,7 +6855,7 @@
|
|
|
6827
6855
|
}
|
|
6828
6856
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6829
6857
|
return function (it) {
|
|
6830
|
-
var payload =
|
|
6858
|
+
var payload = Companion_instance_8.k9n(it);
|
|
6831
6859
|
var tmp;
|
|
6832
6860
|
if (!(payload == null)) {
|
|
6833
6861
|
return payload;
|
|
@@ -6838,7 +6866,7 @@
|
|
|
6838
6866
|
return tmp2_safe_receiver == null ? null : toLoggerPayload(tmp2_safe_receiver);
|
|
6839
6867
|
};
|
|
6840
6868
|
}
|
|
6841
|
-
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares) {
|
|
6869
|
+
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares) {
|
|
6842
6870
|
return function ($this$DI) {
|
|
6843
6871
|
$this$DI.h5z(combinedLoggerModule($combinedLogger));
|
|
6844
6872
|
var tmp0_safe_receiver = $externalModule;
|
|
@@ -6848,17 +6876,17 @@
|
|
|
6848
6876
|
// Inline function 'kotlin.let' call
|
|
6849
6877
|
$this$DI.h5z(tmp0_safe_receiver);
|
|
6850
6878
|
}
|
|
6851
|
-
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6879
|
+
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.waf_1));
|
|
6852
6880
|
$this$DI.h5z(coreModule($coreConfig));
|
|
6853
|
-
$this$DI.h5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6881
|
+
$this$DI.h5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares));
|
|
6854
6882
|
return Unit_instance;
|
|
6855
6883
|
};
|
|
6856
6884
|
}
|
|
6857
6885
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6858
6886
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6859
6887
|
production = production === VOID ? true : production;
|
|
6860
|
-
this.
|
|
6861
|
-
this.
|
|
6888
|
+
this.vaf_1 = loggerCallback;
|
|
6889
|
+
this.waf_1 = randomOrgConfig;
|
|
6862
6890
|
var tmp = AppEnvironment_getInstance();
|
|
6863
6891
|
var tmp_0;
|
|
6864
6892
|
if (production) {
|
|
@@ -6868,9 +6896,9 @@
|
|
|
6868
6896
|
}
|
|
6869
6897
|
tmp.g6m(tmp_0);
|
|
6870
6898
|
var tmp_1 = this;
|
|
6871
|
-
tmp_1.
|
|
6899
|
+
tmp_1.xaf_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6872
6900
|
var tmp_2 = this;
|
|
6873
|
-
tmp_2.
|
|
6901
|
+
tmp_2.yaf_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6874
6902
|
var tmp_3 = this;
|
|
6875
6903
|
// Inline function 'org.kodein.di.instance' call
|
|
6876
6904
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6879,7 +6907,7 @@
|
|
|
6879
6907
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6880
6908
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6881
6909
|
var tmp_6 = KProperty1;
|
|
6882
|
-
tmp_3.
|
|
6910
|
+
tmp_3.zaf_1 = tmp_5.a65(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6883
6911
|
var tmp_7 = this;
|
|
6884
6912
|
// Inline function 'org.kodein.di.instance' call
|
|
6885
6913
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6888,7 +6916,7 @@
|
|
|
6888
6916
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6889
6917
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6890
6918
|
var tmp_10 = KProperty1;
|
|
6891
|
-
tmp_7.
|
|
6919
|
+
tmp_7.aag_1 = tmp_9.a65(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6892
6920
|
var tmp_11 = this;
|
|
6893
6921
|
// Inline function 'org.kodein.di.instance' call
|
|
6894
6922
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6897,7 +6925,7 @@
|
|
|
6897
6925
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6898
6926
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6899
6927
|
var tmp_14 = KProperty1;
|
|
6900
|
-
tmp_11.
|
|
6928
|
+
tmp_11.bag_1 = tmp_13.a65(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6901
6929
|
var tmp_15 = this;
|
|
6902
6930
|
// Inline function 'org.kodein.di.instance' call
|
|
6903
6931
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6906,7 +6934,7 @@
|
|
|
6906
6934
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6907
6935
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6908
6936
|
var tmp_18 = KProperty1;
|
|
6909
|
-
tmp_15.
|
|
6937
|
+
tmp_15.cag_1 = tmp_17.a65(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6910
6938
|
var tmp_19 = this;
|
|
6911
6939
|
// Inline function 'org.kodein.di.instance' call
|
|
6912
6940
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6915,7 +6943,7 @@
|
|
|
6915
6943
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6916
6944
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6917
6945
|
var tmp_22 = KProperty1;
|
|
6918
|
-
tmp_19.
|
|
6946
|
+
tmp_19.dag_1 = tmp_21.a65(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6919
6947
|
var tmp_23 = this;
|
|
6920
6948
|
// Inline function 'org.kodein.di.instance' call
|
|
6921
6949
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6924,45 +6952,45 @@
|
|
|
6924
6952
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6925
6953
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6926
6954
|
var tmp_26 = KProperty1;
|
|
6927
|
-
tmp_23.
|
|
6955
|
+
tmp_23.eag_1 = tmp_25.a65(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6928
6956
|
}
|
|
6929
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6930
|
-
var tmp0 = this.
|
|
6957
|
+
protoOf(GameServerEngineControllerImpl).oaf = function () {
|
|
6958
|
+
var tmp0 = this.zaf_1;
|
|
6931
6959
|
var tmp = KProperty1;
|
|
6932
6960
|
// Inline function 'kotlin.getValue' call
|
|
6933
6961
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6934
6962
|
return tmp0.x();
|
|
6935
6963
|
};
|
|
6936
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6937
|
-
var tmp0 = this.
|
|
6964
|
+
protoOf(GameServerEngineControllerImpl).qaf = function () {
|
|
6965
|
+
var tmp0 = this.aag_1;
|
|
6938
6966
|
var tmp = KProperty1;
|
|
6939
6967
|
// Inline function 'kotlin.getValue' call
|
|
6940
6968
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6941
6969
|
return tmp0.x();
|
|
6942
6970
|
};
|
|
6943
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6944
|
-
var tmp0 = this.
|
|
6971
|
+
protoOf(GameServerEngineControllerImpl).raf = function () {
|
|
6972
|
+
var tmp0 = this.bag_1;
|
|
6945
6973
|
var tmp = KProperty1;
|
|
6946
6974
|
// Inline function 'kotlin.getValue' call
|
|
6947
6975
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6948
6976
|
return tmp0.x();
|
|
6949
6977
|
};
|
|
6950
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6951
|
-
var tmp0 = this.
|
|
6978
|
+
protoOf(GameServerEngineControllerImpl).saf = function () {
|
|
6979
|
+
var tmp0 = this.cag_1;
|
|
6952
6980
|
var tmp = KProperty1;
|
|
6953
6981
|
// Inline function 'kotlin.getValue' call
|
|
6954
6982
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6955
6983
|
return tmp0.x();
|
|
6956
6984
|
};
|
|
6957
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6958
|
-
var tmp0 = this.
|
|
6985
|
+
protoOf(GameServerEngineControllerImpl).paf = function () {
|
|
6986
|
+
var tmp0 = this.dag_1;
|
|
6959
6987
|
var tmp = KProperty1;
|
|
6960
6988
|
// Inline function 'kotlin.getValue' call
|
|
6961
6989
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6962
6990
|
return tmp0.x();
|
|
6963
6991
|
};
|
|
6964
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6965
|
-
var tmp0 = this.
|
|
6992
|
+
protoOf(GameServerEngineControllerImpl).taf = function () {
|
|
6993
|
+
var tmp0 = this.eag_1;
|
|
6966
6994
|
var tmp = KProperty1;
|
|
6967
6995
|
// Inline function 'kotlin.getValue' call
|
|
6968
6996
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6974,8 +7002,8 @@
|
|
|
6974
7002
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6975
7003
|
return this.createGameEngineWithLogic();
|
|
6976
7004
|
};
|
|
6977
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6978
|
-
var combinedLogger =
|
|
7005
|
+
protoOf(GameServerEngineControllerImpl).uaf = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) {
|
|
7006
|
+
var combinedLogger = Companion_instance_9.nx();
|
|
6979
7007
|
var gameServer = {_v: null};
|
|
6980
7008
|
// Inline function 'kotlin.collections.map' call
|
|
6981
7009
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -7003,7 +7031,7 @@
|
|
|
7003
7031
|
}
|
|
7004
7032
|
var tmp1_externalMiddlewares = toList_0(destination_0);
|
|
7005
7033
|
var tmp2_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(this, coreConfig, combinedLogger, gameServer));
|
|
7006
|
-
var engineDI = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, tmp0_externalReducers, tmp1_externalMiddlewares, tmp2_externalModule);
|
|
7034
|
+
var engineDI = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, ratingConfig, leaguesConfig, tmp0_externalReducers, tmp1_externalMiddlewares, tmp2_externalModule);
|
|
7007
7035
|
// Inline function 'org.kodein.di.instance' call
|
|
7008
7036
|
var tmp = get_direct(engineDI).s60();
|
|
7009
7037
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -7022,7 +7050,7 @@
|
|
|
7022
7050
|
function TestHelper() {
|
|
7023
7051
|
}
|
|
7024
7052
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7025
|
-
var tmp0 = $this.
|
|
7053
|
+
var tmp0 = $this.iag_1;
|
|
7026
7054
|
var tmp = KProperty1;
|
|
7027
7055
|
// Inline function 'kotlin.getValue' call
|
|
7028
7056
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7030,7 +7058,7 @@
|
|
|
7030
7058
|
}
|
|
7031
7059
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7032
7060
|
return function ($this$singleton) {
|
|
7033
|
-
return this$0.
|
|
7061
|
+
return this$0.gag_1;
|
|
7034
7062
|
};
|
|
7035
7063
|
}
|
|
7036
7064
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7070,19 +7098,19 @@
|
|
|
7070
7098
|
return emptyMap();
|
|
7071
7099
|
}
|
|
7072
7100
|
function TestHelperImpl(logger) {
|
|
7073
|
-
this.
|
|
7101
|
+
this.gag_1 = logger;
|
|
7074
7102
|
var tmp = this;
|
|
7075
|
-
var tmp_0 =
|
|
7076
|
-
tmp.
|
|
7103
|
+
var tmp_0 = Companion_instance_7;
|
|
7104
|
+
tmp.hag_1 = tmp_0.o5z(VOID, TestHelperImpl$di$lambda(this));
|
|
7077
7105
|
var tmp_1 = this;
|
|
7078
7106
|
// Inline function 'org.kodein.di.instance' call
|
|
7079
|
-
var this_0 = this.
|
|
7107
|
+
var this_0 = this.hag_1;
|
|
7080
7108
|
// Inline function 'org.kodein.type.generic' call
|
|
7081
7109
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7082
7110
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7083
7111
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7084
7112
|
var tmp_4 = KProperty1;
|
|
7085
|
-
tmp_1.
|
|
7113
|
+
tmp_1.iag_1 = tmp_3.a65(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7086
7114
|
}
|
|
7087
7115
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7088
7116
|
return _get_playerAnswerInteractor__msggz1(this).e8u(playerId, table, botConfig);
|
|
@@ -7155,14 +7183,14 @@
|
|
|
7155
7183
|
function RoomMetadata() {
|
|
7156
7184
|
var tmp = this;
|
|
7157
7185
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7158
|
-
tmp.
|
|
7186
|
+
tmp.jag_1 = LinkedHashMap_init_$Create$();
|
|
7159
7187
|
this.extras = {};
|
|
7160
|
-
this.extras = this.
|
|
7188
|
+
this.extras = this.jag_1;
|
|
7161
7189
|
}
|
|
7162
|
-
protoOf(RoomMetadata).
|
|
7190
|
+
protoOf(RoomMetadata).kag = function () {
|
|
7163
7191
|
return this.extras;
|
|
7164
7192
|
};
|
|
7165
|
-
protoOf(RoomMetadata).
|
|
7193
|
+
protoOf(RoomMetadata).kag = function () {
|
|
7166
7194
|
return this.extras;
|
|
7167
7195
|
};
|
|
7168
7196
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7180,7 +7208,7 @@
|
|
|
7180
7208
|
};
|
|
7181
7209
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7182
7210
|
// Inline function 'kotlin.collections.set' call
|
|
7183
|
-
this.
|
|
7211
|
+
this.jag_1.f2(gameId, game);
|
|
7184
7212
|
};
|
|
7185
7213
|
function GameMetadata(gameId) {
|
|
7186
7214
|
this.gameId = gameId;
|
|
@@ -7189,7 +7217,7 @@
|
|
|
7189
7217
|
protoOf(GameMetadata).d54 = function () {
|
|
7190
7218
|
return this.gameId;
|
|
7191
7219
|
};
|
|
7192
|
-
protoOf(GameMetadata).
|
|
7220
|
+
protoOf(GameMetadata).kag = function () {
|
|
7193
7221
|
return this.extras;
|
|
7194
7222
|
};
|
|
7195
7223
|
function serverHelpersModule() {
|
|
@@ -7298,33 +7326,33 @@
|
|
|
7298
7326
|
protoOf(PlayerReconnectionWaitingTimerTag).b93 = ignoreTimerResetValidation;
|
|
7299
7327
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7300
7328
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7301
|
-
return this.
|
|
7329
|
+
return this.oaf();
|
|
7302
7330
|
});
|
|
7303
7331
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7304
|
-
return this.
|
|
7332
|
+
return this.qaf();
|
|
7305
7333
|
});
|
|
7306
7334
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7307
|
-
return this.
|
|
7335
|
+
return this.raf();
|
|
7308
7336
|
});
|
|
7309
7337
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7310
|
-
return this.
|
|
7338
|
+
return this.saf();
|
|
7311
7339
|
});
|
|
7312
7340
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7313
|
-
return this.
|
|
7341
|
+
return this.paf();
|
|
7314
7342
|
});
|
|
7315
7343
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7316
|
-
return this.
|
|
7344
|
+
return this.taf();
|
|
7317
7345
|
});
|
|
7318
7346
|
//endregion
|
|
7319
7347
|
//region block: init
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7348
|
+
Companion_instance_10 = new Companion();
|
|
7349
|
+
Companion_instance_11 = new Companion_0();
|
|
7350
|
+
Companion_instance_12 = new Companion_1();
|
|
7351
|
+
Companion_instance_13 = new Companion_2();
|
|
7352
|
+
Companion_instance_14 = new Companion_3();
|
|
7353
|
+
Companion_instance_15 = new Companion_4();
|
|
7354
|
+
Companion_instance_16 = new Companion_5();
|
|
7355
|
+
Companion_instance_17 = new Companion_6();
|
|
7328
7356
|
//endregion
|
|
7329
7357
|
//region block: exports
|
|
7330
7358
|
function $jsExportAll$(_) {
|