raspberry_games_server_game_logic 1.8.411 → 1.8.413
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-ai_module.js +314 -314
- package/Logic_Debertz-core.js +332 -291
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +13634 -13057
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +48 -1
- package/Logic_Debertz-game_server.js +1099 -1023
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- 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.$_$.k1;
|
|
51
51
|
var initMetadataForLambda = kotlin_kotlin.$_$.pc;
|
|
52
52
|
var VOID = kotlin_kotlin.$_$.b;
|
|
53
53
|
var isInterface = kotlin_kotlin.$_$.zc;
|
|
@@ -59,9 +59,9 @@
|
|
|
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.$_$.g4;
|
|
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.$_$.b4;
|
|
65
65
|
var defineProp = kotlin_kotlin.$_$.dc;
|
|
66
66
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
67
67
|
var KProperty1 = kotlin_kotlin.$_$.ke;
|
|
@@ -69,6 +69,10 @@
|
|
|
69
69
|
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
70
70
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
71
71
|
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
72
|
+
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
73
|
+
var PlayerAchievements = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
74
|
+
var mapToGameAnalytics = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
75
|
+
var PlayerLeftResult = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
|
|
72
76
|
var initMetadataForCompanion = kotlin_kotlin.$_$.mc;
|
|
73
77
|
var equals = kotlin_kotlin.$_$.ec;
|
|
74
78
|
var FunctionAdapter = kotlin_kotlin.$_$.rb;
|
|
@@ -76,18 +80,18 @@
|
|
|
76
80
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
77
81
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
78
82
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
79
|
-
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
80
|
-
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
81
|
-
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
82
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
83
|
-
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
-
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
85
|
-
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
86
|
-
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
83
|
+
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.p2;
|
|
84
|
+
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g1;
|
|
85
|
+
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
86
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
|
|
87
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
88
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
89
|
+
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.z3;
|
|
90
|
+
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
87
91
|
var toList = kotlin_kotlin.$_$.o9;
|
|
88
92
|
var toString = kotlin_kotlin.$_$.od;
|
|
89
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
90
|
-
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
93
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.t4;
|
|
94
|
+
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.g4;
|
|
91
95
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
92
96
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i6;
|
|
93
97
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
@@ -95,26 +99,25 @@
|
|
|
95
99
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
96
100
|
var firstOrNull = kotlin_kotlin.$_$.h7;
|
|
97
101
|
var toMutableList = kotlin_kotlin.$_$.r9;
|
|
98
|
-
var
|
|
99
|
-
var
|
|
100
|
-
var
|
|
101
|
-
var
|
|
102
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
102
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.g5;
|
|
103
|
+
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
|
|
104
|
+
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
105
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
|
|
103
106
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.m1;
|
|
104
|
-
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
105
|
-
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
106
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
107
|
-
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
108
|
-
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
109
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
110
|
-
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
111
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
112
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
-
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
114
|
-
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
107
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
108
|
+
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
109
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.s4;
|
|
110
|
+
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e3;
|
|
111
|
+
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
|
|
112
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
113
|
+
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.m2;
|
|
114
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k2;
|
|
115
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f3;
|
|
116
|
+
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
117
|
+
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.i4;
|
|
115
118
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.j1;
|
|
116
119
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.mi;
|
|
117
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
120
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
|
|
118
121
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
119
122
|
var getKClass = kotlin_kotlin.$_$.ge;
|
|
120
123
|
var arrayOf = kotlin_kotlin.$_$.ci;
|
|
@@ -122,15 +125,17 @@
|
|
|
122
125
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
123
126
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
124
127
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
125
|
-
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
126
|
-
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
127
|
-
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
128
|
+
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
129
|
+
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
130
|
+
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.u;
|
|
131
|
+
var UserRatingInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
128
132
|
var lazy = kotlin_kotlin.$_$.li;
|
|
129
133
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.o1;
|
|
130
134
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
131
|
-
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
135
|
+
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
|
|
136
|
+
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
132
137
|
var plus = kotlin_kotlin.$_$.r8;
|
|
133
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
138
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
|
|
134
139
|
var toString_0 = kotlin_kotlin.$_$.si;
|
|
135
140
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
136
141
|
var Enum = kotlin_kotlin.$_$.eh;
|
|
@@ -147,27 +152,26 @@
|
|
|
147
152
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
148
153
|
var objectCreate = kotlin_kotlin.$_$.kd;
|
|
149
154
|
var getStringHashCode = kotlin_kotlin.$_$.jc;
|
|
150
|
-
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
151
|
-
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
155
|
+
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.n;
|
|
156
|
+
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.o;
|
|
152
157
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
153
158
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
154
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
159
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
155
160
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
156
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
157
|
-
var
|
|
158
|
-
var
|
|
159
|
-
var
|
|
160
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
161
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
162
|
+
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
|
|
163
|
+
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
164
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
161
165
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
162
166
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
163
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
167
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
168
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
169
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
166
170
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
167
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
171
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i1;
|
|
168
172
|
var single = kotlin_kotlin.$_$.d9;
|
|
169
173
|
var copyToArray = kotlin_kotlin.$_$.y6;
|
|
170
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
174
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.h1;
|
|
171
175
|
var KtList = kotlin_kotlin.$_$.n5;
|
|
172
176
|
var Long = kotlin_kotlin.$_$.jh;
|
|
173
177
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
@@ -175,132 +179,132 @@
|
|
|
175
179
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
176
180
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
177
181
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
178
|
-
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
179
|
-
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
180
|
-
var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
181
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
183
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
184
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
185
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
+
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
183
|
+
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.m2;
|
|
184
|
+
var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.x2;
|
|
185
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
186
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
187
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
|
|
188
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.j3;
|
|
189
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
|
|
186
190
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
187
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
188
|
-
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
189
|
-
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
190
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
191
|
+
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
|
|
192
|
+
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
193
|
+
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
194
|
+
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
191
195
|
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.v;
|
|
192
196
|
var listOf = kotlin_kotlin.$_$.g8;
|
|
193
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
-
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
198
|
+
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
195
199
|
var listOfNotNull = kotlin_kotlin.$_$.d8;
|
|
196
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
|
|
201
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
|
|
198
202
|
var listOfNotNull_0 = kotlin_kotlin.$_$.e8;
|
|
199
|
-
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
203
|
+
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
204
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
205
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
202
206
|
var listOf_0 = kotlin_kotlin.$_$.f8;
|
|
203
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
204
|
-
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
205
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
206
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
-
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
208
|
-
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
209
|
-
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
210
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
211
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
212
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
213
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
208
|
+
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
209
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
210
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g2;
|
|
211
|
+
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
|
|
212
|
+
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.p4;
|
|
213
|
+
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.n2;
|
|
214
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n2;
|
|
215
|
+
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
216
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.v1;
|
|
217
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r2;
|
|
214
218
|
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.h;
|
|
215
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
216
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
217
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
218
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
219
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
220
|
-
var TakeAllRemainingCardsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
221
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
222
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
223
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
224
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
225
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
226
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
228
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
229
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
230
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
231
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
-
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
233
|
-
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
234
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
235
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
236
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
237
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
238
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
239
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
240
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
241
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
242
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
243
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
244
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
246
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
247
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
248
|
-
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
249
|
-
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
250
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
251
|
-
var mapToClient_18 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
252
|
-
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
253
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
254
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
219
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.a2;
|
|
220
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
|
|
221
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.t1;
|
|
222
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d3;
|
|
223
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.s1;
|
|
224
|
+
var TakeAllRemainingCardsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
225
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.q1;
|
|
226
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q2;
|
|
227
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.y1;
|
|
228
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
229
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.m1;
|
|
230
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h2;
|
|
231
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
232
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c3;
|
|
233
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.f2;
|
|
234
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
|
|
235
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
|
|
236
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
|
|
237
|
+
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
238
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.r4;
|
|
239
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
|
|
240
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b3;
|
|
241
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.z1;
|
|
242
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
|
|
243
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.d2;
|
|
244
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w2;
|
|
245
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.w1;
|
|
246
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j2;
|
|
247
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.o1;
|
|
248
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
249
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.u1;
|
|
250
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.x1;
|
|
251
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l2;
|
|
252
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.p1;
|
|
253
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.r1;
|
|
254
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
255
|
+
var mapToClient_18 = kotlin_io_raspberryapps_game_engine_engine.$_$.n1;
|
|
256
|
+
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.o2;
|
|
257
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
|
|
258
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
255
259
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
256
260
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
257
261
|
var toDuration = kotlin_kotlin.$_$.wg;
|
|
258
|
-
var PlayerConnectionState_LEFT_PERMANENTLY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
259
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
260
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
262
|
+
var PlayerConnectionState_LEFT_PERMANENTLY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.x3;
|
|
263
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
264
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.q4;
|
|
261
265
|
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
262
266
|
var Collection = kotlin_kotlin.$_$.h5;
|
|
263
267
|
var toSet = kotlin_kotlin.$_$.u9;
|
|
264
|
-
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
265
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
268
|
+
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
269
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
266
270
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
267
|
-
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
271
|
+
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
|
|
268
272
|
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
269
273
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
|
|
270
274
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
271
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
275
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
272
276
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
273
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
277
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
274
278
|
var Companion_instance_4 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
275
279
|
var mutableListOf = kotlin_kotlin.$_$.m8;
|
|
276
280
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
277
281
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
278
|
-
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
279
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
280
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
281
|
-
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
282
|
-
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
283
|
-
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
284
|
-
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
285
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
286
|
-
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
287
|
-
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
282
|
+
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.p3;
|
|
283
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
284
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.u4;
|
|
285
|
+
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
|
|
286
|
+
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.m3;
|
|
287
|
+
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.o3;
|
|
288
|
+
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.n3;
|
|
289
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.i5;
|
|
290
|
+
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
|
|
291
|
+
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s4;
|
|
288
292
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
289
293
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
290
294
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
291
295
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
292
296
|
var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
293
297
|
var toList_0 = kotlin_kotlin.$_$.n9;
|
|
294
|
-
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
298
|
+
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.r2;
|
|
295
299
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
296
|
-
var botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
300
|
+
var botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
297
301
|
var emptyMap = kotlin_kotlin.$_$.e7;
|
|
298
|
-
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
299
|
-
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
300
|
-
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
301
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
302
|
+
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
|
|
303
|
+
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
|
|
304
|
+
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.l1;
|
|
305
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p2;
|
|
302
306
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
303
|
-
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
307
|
+
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
304
308
|
var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
|
|
305
309
|
//endregion
|
|
306
310
|
//region block: pre-declaration
|
|
@@ -367,10 +371,10 @@
|
|
|
367
371
|
spectators = tmp;
|
|
368
372
|
var tmp_0;
|
|
369
373
|
if ($super === VOID) {
|
|
370
|
-
this.
|
|
374
|
+
this.ua6(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
371
375
|
tmp_0 = Unit_instance;
|
|
372
376
|
} else {
|
|
373
|
-
tmp_0 = $super.
|
|
377
|
+
tmp_0 = $super.ua6.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
374
378
|
}
|
|
375
379
|
return tmp_0;
|
|
376
380
|
}
|
|
@@ -378,32 +382,25 @@
|
|
|
378
382
|
newRid = newRid === VOID ? null : newRid;
|
|
379
383
|
var tmp;
|
|
380
384
|
if ($super === VOID) {
|
|
381
|
-
this.
|
|
385
|
+
this.va6(newRid);
|
|
382
386
|
tmp = Unit_instance;
|
|
383
387
|
} else {
|
|
384
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.va6.call(this, newRid);
|
|
385
389
|
}
|
|
386
390
|
return tmp;
|
|
387
391
|
}
|
|
388
392
|
function playerLeft(playerId, permanently, $super) {
|
|
389
393
|
permanently = permanently === VOID ? true : permanently;
|
|
390
|
-
|
|
391
|
-
if ($super === VOID) {
|
|
392
|
-
this.ua5(playerId, permanently);
|
|
393
|
-
tmp = Unit_instance;
|
|
394
|
-
} else {
|
|
395
|
-
tmp = $super.ua5.call(this, playerId, permanently);
|
|
396
|
-
}
|
|
397
|
-
return tmp;
|
|
394
|
+
return $super === VOID ? this.ta6(playerId, permanently) : $super.ta6.call(this, playerId, permanently);
|
|
398
395
|
}
|
|
399
396
|
function shutdown(reason, roomId, $super) {
|
|
400
397
|
roomId = roomId === VOID ? null : roomId;
|
|
401
398
|
var tmp;
|
|
402
399
|
if ($super === VOID) {
|
|
403
|
-
this.
|
|
400
|
+
this.wa6(reason, roomId);
|
|
404
401
|
tmp = Unit_instance;
|
|
405
402
|
} else {
|
|
406
|
-
tmp = $super.
|
|
403
|
+
tmp = $super.wa6.call(this, reason, roomId);
|
|
407
404
|
}
|
|
408
405
|
return tmp;
|
|
409
406
|
}
|
|
@@ -470,7 +467,7 @@
|
|
|
470
467
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
471
468
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
472
469
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
473
|
-
return $super === VOID ? this.
|
|
470
|
+
return $super === VOID ? this.qab(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.qab.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
474
471
|
}
|
|
475
472
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
476
473
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -483,17 +480,17 @@
|
|
|
483
480
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
484
481
|
//endregion
|
|
485
482
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
486
|
-
this.
|
|
483
|
+
this.e9p_1 = $subscriber;
|
|
487
484
|
CoroutineImpl.call(this, resultContinuation);
|
|
488
485
|
}
|
|
489
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
490
|
-
var tmp = this.
|
|
486
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).g9p = function (it, $completion) {
|
|
487
|
+
var tmp = this.h9p(it, $completion);
|
|
491
488
|
tmp.u8_1 = Unit_instance;
|
|
492
489
|
tmp.v8_1 = null;
|
|
493
490
|
return tmp.a9();
|
|
494
491
|
};
|
|
495
492
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
496
|
-
return this.
|
|
493
|
+
return this.g9p(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
497
494
|
};
|
|
498
495
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
499
496
|
var suspendResult = this.u8_1;
|
|
@@ -502,7 +499,7 @@
|
|
|
502
499
|
var tmp = this.s8_1;
|
|
503
500
|
if (tmp === 0) {
|
|
504
501
|
this.t8_1 = 1;
|
|
505
|
-
this.
|
|
502
|
+
this.e9p_1(this.f9p_1);
|
|
506
503
|
return Unit_instance;
|
|
507
504
|
} else if (tmp === 1) {
|
|
508
505
|
throw this.v8_1;
|
|
@@ -513,31 +510,31 @@
|
|
|
513
510
|
}
|
|
514
511
|
while (true);
|
|
515
512
|
};
|
|
516
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
517
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
518
|
-
i.
|
|
513
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9p = function (it, completion) {
|
|
514
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.e9p_1, completion);
|
|
515
|
+
i.f9p_1 = it;
|
|
519
516
|
return i;
|
|
520
517
|
};
|
|
521
518
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
522
519
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
523
520
|
var l = function (it, $completion) {
|
|
524
|
-
return i.
|
|
521
|
+
return i.g9p(it, $completion);
|
|
525
522
|
};
|
|
526
523
|
l.$arity = 1;
|
|
527
524
|
return l;
|
|
528
525
|
}
|
|
529
526
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
530
|
-
this.
|
|
527
|
+
this.q9p_1 = $subscriber;
|
|
531
528
|
CoroutineImpl.call(this, resultContinuation);
|
|
532
529
|
}
|
|
533
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
534
|
-
var tmp = this.
|
|
530
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).s9p = function (it, $completion) {
|
|
531
|
+
var tmp = this.t9p(it, $completion);
|
|
535
532
|
tmp.u8_1 = Unit_instance;
|
|
536
533
|
tmp.v8_1 = null;
|
|
537
534
|
return tmp.a9();
|
|
538
535
|
};
|
|
539
536
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
540
|
-
return this.
|
|
537
|
+
return this.s9p((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
541
538
|
};
|
|
542
539
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
543
540
|
var suspendResult = this.u8_1;
|
|
@@ -546,7 +543,7 @@
|
|
|
546
543
|
var tmp = this.s8_1;
|
|
547
544
|
if (tmp === 0) {
|
|
548
545
|
this.t8_1 = 1;
|
|
549
|
-
this.
|
|
546
|
+
this.q9p_1(this.r9p_1);
|
|
550
547
|
return Unit_instance;
|
|
551
548
|
} else if (tmp === 1) {
|
|
552
549
|
throw this.v8_1;
|
|
@@ -557,22 +554,22 @@
|
|
|
557
554
|
}
|
|
558
555
|
while (true);
|
|
559
556
|
};
|
|
560
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
561
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
562
|
-
i.
|
|
557
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).t9p = function (it, completion) {
|
|
558
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.q9p_1, completion);
|
|
559
|
+
i.r9p_1 = it;
|
|
563
560
|
return i;
|
|
564
561
|
};
|
|
565
562
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
566
563
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
567
564
|
var l = function (it, $completion) {
|
|
568
|
-
return i.
|
|
565
|
+
return i.s9p(it, $completion);
|
|
569
566
|
};
|
|
570
567
|
l.$arity = 1;
|
|
571
568
|
return l;
|
|
572
569
|
}
|
|
573
570
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
571
|
+
this.c9q_1 = $$this$unsafeFlow;
|
|
572
|
+
this.d9q_1 = this$0;
|
|
576
573
|
CoroutineImpl.call(this, resultContinuation);
|
|
577
574
|
}
|
|
578
575
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -592,10 +589,10 @@
|
|
|
592
589
|
switch (tmp) {
|
|
593
590
|
case 0:
|
|
594
591
|
this.t8_1 = 2;
|
|
595
|
-
var tmp0 = this.
|
|
596
|
-
var value = this.
|
|
592
|
+
var tmp0 = this.c9q_1;
|
|
593
|
+
var value = this.e9q_1;
|
|
597
594
|
this.s8_1 = 1;
|
|
598
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
595
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.d9q_1)), this);
|
|
599
596
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
600
597
|
return suspendResult;
|
|
601
598
|
}
|
|
@@ -618,8 +615,8 @@
|
|
|
618
615
|
while (true);
|
|
619
616
|
};
|
|
620
617
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
621
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
622
|
-
i.
|
|
618
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.c9q_1, this.d9q_1, completion);
|
|
619
|
+
i.e9q_1 = value;
|
|
623
620
|
return i;
|
|
624
621
|
};
|
|
625
622
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -632,8 +629,8 @@
|
|
|
632
629
|
}
|
|
633
630
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
634
631
|
CoroutineImpl.call(this, resultContinuation);
|
|
635
|
-
this.
|
|
636
|
-
this.
|
|
632
|
+
this.n9q_1 = _this__u8e3s4;
|
|
633
|
+
this.o9q_1 = collector;
|
|
637
634
|
}
|
|
638
635
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
639
636
|
var suspendResult = this.u8_1;
|
|
@@ -643,10 +640,10 @@
|
|
|
643
640
|
switch (tmp) {
|
|
644
641
|
case 0:
|
|
645
642
|
this.t8_1 = 2;
|
|
646
|
-
var $this$unsafeFlow = this.
|
|
643
|
+
var $this$unsafeFlow = this.o9q_1;
|
|
647
644
|
this.s8_1 = 1;
|
|
648
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
649
|
-
suspendResult = this.
|
|
645
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.n9q_1.q9q_1, null);
|
|
646
|
+
suspendResult = this.n9q_1.p9q_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
650
647
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
651
648
|
return suspendResult;
|
|
652
649
|
}
|
|
@@ -669,8 +666,8 @@
|
|
|
669
666
|
while (true);
|
|
670
667
|
};
|
|
671
668
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
669
|
+
this.p9q_1 = $this;
|
|
670
|
+
this.q9q_1 = this$0;
|
|
674
671
|
}
|
|
675
672
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
676
673
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -682,17 +679,17 @@
|
|
|
682
679
|
return this.o28(collector, $completion);
|
|
683
680
|
};
|
|
684
681
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
685
|
-
this.
|
|
682
|
+
this.z9q_1 = $subscriber;
|
|
686
683
|
CoroutineImpl.call(this, resultContinuation);
|
|
687
684
|
}
|
|
688
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
689
|
-
var tmp = this.
|
|
685
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).b9r = function (it, $completion) {
|
|
686
|
+
var tmp = this.c9r(it, $completion);
|
|
690
687
|
tmp.u8_1 = Unit_instance;
|
|
691
688
|
tmp.v8_1 = null;
|
|
692
689
|
return tmp.a9();
|
|
693
690
|
};
|
|
694
691
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
695
|
-
return this.
|
|
692
|
+
return this.b9r((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
696
693
|
};
|
|
697
694
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
698
695
|
var suspendResult = this.u8_1;
|
|
@@ -701,7 +698,7 @@
|
|
|
701
698
|
var tmp = this.s8_1;
|
|
702
699
|
if (tmp === 0) {
|
|
703
700
|
this.t8_1 = 1;
|
|
704
|
-
this.
|
|
701
|
+
this.z9q_1(this.a9r_1);
|
|
705
702
|
return Unit_instance;
|
|
706
703
|
} else if (tmp === 1) {
|
|
707
704
|
throw this.v8_1;
|
|
@@ -712,22 +709,22 @@
|
|
|
712
709
|
}
|
|
713
710
|
while (true);
|
|
714
711
|
};
|
|
715
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
716
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
717
|
-
i.
|
|
712
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).c9r = function (it, completion) {
|
|
713
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.z9q_1, completion);
|
|
714
|
+
i.a9r_1 = it;
|
|
718
715
|
return i;
|
|
719
716
|
};
|
|
720
717
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
721
718
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
722
719
|
var l = function (it, $completion) {
|
|
723
|
-
return i.
|
|
720
|
+
return i.b9r(it, $completion);
|
|
724
721
|
};
|
|
725
722
|
l.$arity = 1;
|
|
726
723
|
return l;
|
|
727
724
|
}
|
|
728
725
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
729
|
-
this.
|
|
730
|
-
this.
|
|
726
|
+
this.l9r_1 = $$this$unsafeFlow;
|
|
727
|
+
this.m9r_1 = $table;
|
|
731
728
|
CoroutineImpl.call(this, resultContinuation);
|
|
732
729
|
}
|
|
733
730
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -747,10 +744,10 @@
|
|
|
747
744
|
switch (tmp) {
|
|
748
745
|
case 0:
|
|
749
746
|
this.t8_1 = 2;
|
|
750
|
-
var tmp0 = this.
|
|
751
|
-
var value = this.
|
|
747
|
+
var tmp0 = this.l9r_1;
|
|
748
|
+
var value = this.n9r_1;
|
|
752
749
|
this.s8_1 = 1;
|
|
753
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
750
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.m9r_1.id, value), this);
|
|
754
751
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
755
752
|
return suspendResult;
|
|
756
753
|
}
|
|
@@ -773,8 +770,8 @@
|
|
|
773
770
|
while (true);
|
|
774
771
|
};
|
|
775
772
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
776
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
777
|
-
i.
|
|
773
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.l9r_1, this.m9r_1, completion);
|
|
774
|
+
i.n9r_1 = value;
|
|
778
775
|
return i;
|
|
779
776
|
};
|
|
780
777
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -787,8 +784,8 @@
|
|
|
787
784
|
}
|
|
788
785
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
789
786
|
CoroutineImpl.call(this, resultContinuation);
|
|
790
|
-
this.
|
|
791
|
-
this.
|
|
787
|
+
this.w9r_1 = _this__u8e3s4;
|
|
788
|
+
this.x9r_1 = collector;
|
|
792
789
|
}
|
|
793
790
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
794
791
|
var suspendResult = this.u8_1;
|
|
@@ -798,10 +795,10 @@
|
|
|
798
795
|
switch (tmp) {
|
|
799
796
|
case 0:
|
|
800
797
|
this.t8_1 = 2;
|
|
801
|
-
var $this$unsafeFlow = this.
|
|
798
|
+
var $this$unsafeFlow = this.x9r_1;
|
|
802
799
|
this.s8_1 = 1;
|
|
803
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
804
|
-
suspendResult = this.
|
|
800
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.w9r_1.z9r_1, null);
|
|
801
|
+
suspendResult = this.w9r_1.y9r_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
805
802
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
806
803
|
return suspendResult;
|
|
807
804
|
}
|
|
@@ -824,8 +821,8 @@
|
|
|
824
821
|
while (true);
|
|
825
822
|
};
|
|
826
823
|
function _no_name_provided__qut3iv($this, $table) {
|
|
827
|
-
this.
|
|
828
|
-
this.
|
|
824
|
+
this.y9r_1 = $this;
|
|
825
|
+
this.z9r_1 = $table;
|
|
829
826
|
}
|
|
830
827
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
831
828
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -837,18 +834,18 @@
|
|
|
837
834
|
return this.o28(collector, $completion);
|
|
838
835
|
};
|
|
839
836
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
840
|
-
this.
|
|
841
|
-
this.
|
|
837
|
+
this.i9s_1 = $table;
|
|
838
|
+
this.j9s_1 = this$0;
|
|
842
839
|
CoroutineImpl.call(this, resultContinuation);
|
|
843
840
|
}
|
|
844
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
845
|
-
var tmp = this.
|
|
841
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).l9s = function ($this$flow, $completion) {
|
|
842
|
+
var tmp = this.m9s($this$flow, $completion);
|
|
846
843
|
tmp.u8_1 = Unit_instance;
|
|
847
844
|
tmp.v8_1 = null;
|
|
848
845
|
return tmp.a9();
|
|
849
846
|
};
|
|
850
847
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
851
|
-
return this.
|
|
848
|
+
return this.l9s((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
852
849
|
};
|
|
853
850
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
854
851
|
var suspendResult = this.u8_1;
|
|
@@ -859,7 +856,7 @@
|
|
|
859
856
|
case 0:
|
|
860
857
|
this.t8_1 = 3;
|
|
861
858
|
this.s8_1 = 1;
|
|
862
|
-
suspendResult = this.
|
|
859
|
+
suspendResult = this.k9s_1.n28(new TableStateUpdate(this.i9s_1.id, this.i9s_1), this);
|
|
863
860
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
864
861
|
return suspendResult;
|
|
865
862
|
}
|
|
@@ -867,8 +864,8 @@
|
|
|
867
864
|
continue $sm;
|
|
868
865
|
case 1:
|
|
869
866
|
this.s8_1 = 2;
|
|
870
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
871
|
-
suspendResult = emitAll(this.
|
|
867
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.j9s_1).p8q(), fromInt(_get_serverReduxConfig__rprcrm(this.j9s_1).serverStateUpdateIntervalMillis));
|
|
868
|
+
suspendResult = emitAll(this.k9s_1, new _no_name_provided__qut3iv(this_0, this.i9s_1), this);
|
|
872
869
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
873
870
|
return suspendResult;
|
|
874
871
|
}
|
|
@@ -890,22 +887,22 @@
|
|
|
890
887
|
}
|
|
891
888
|
while (true);
|
|
892
889
|
};
|
|
893
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
894
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
895
|
-
i.
|
|
890
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).m9s = function ($this$flow, completion) {
|
|
891
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.i9s_1, this.j9s_1, completion);
|
|
892
|
+
i.k9s_1 = $this$flow;
|
|
896
893
|
return i;
|
|
897
894
|
};
|
|
898
895
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
899
896
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
900
897
|
var l = function ($this$flow, $completion) {
|
|
901
|
-
return i.
|
|
898
|
+
return i.l9s($this$flow, $completion);
|
|
902
899
|
};
|
|
903
900
|
l.$arity = 1;
|
|
904
901
|
return l;
|
|
905
902
|
}
|
|
906
903
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
907
|
-
this.
|
|
908
|
-
this.
|
|
904
|
+
this.v9s_1 = $$this$unsafeFlow;
|
|
905
|
+
this.w9s_1 = this$0;
|
|
909
906
|
CoroutineImpl.call(this, resultContinuation);
|
|
910
907
|
}
|
|
911
908
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -926,16 +923,16 @@
|
|
|
926
923
|
case 0:
|
|
927
924
|
this.t8_1 = 5;
|
|
928
925
|
var tmp_0 = this;
|
|
929
|
-
tmp_0.
|
|
926
|
+
tmp_0.b9t_1 = this.v9s_1;
|
|
930
927
|
var tmp_1 = this;
|
|
931
|
-
tmp_1.
|
|
928
|
+
tmp_1.a9t_1 = this.x9s_1;
|
|
932
929
|
this.s8_1 = 1;
|
|
933
930
|
continue $sm;
|
|
934
931
|
case 1:
|
|
935
|
-
this.
|
|
936
|
-
var it = this.
|
|
932
|
+
this.y9s_1 = this.b9t_1;
|
|
933
|
+
var it = this.a9t_1;
|
|
937
934
|
var tmp_2;
|
|
938
|
-
if (get_isCreated(this.
|
|
935
|
+
if (get_isCreated(this.w9s_1.t66())) {
|
|
939
936
|
tmp_2 = it;
|
|
940
937
|
} else {
|
|
941
938
|
tmp_2 = null;
|
|
@@ -947,15 +944,15 @@
|
|
|
947
944
|
var tmp_3 = this;
|
|
948
945
|
continue $sm;
|
|
949
946
|
} else {
|
|
950
|
-
this.
|
|
947
|
+
this.z9s_1 = tmp0_elvis_lhs;
|
|
951
948
|
this.s8_1 = 2;
|
|
952
949
|
continue $sm;
|
|
953
950
|
}
|
|
954
951
|
|
|
955
952
|
case 2:
|
|
956
|
-
var transformed = this.
|
|
953
|
+
var transformed = this.z9s_1;
|
|
957
954
|
this.s8_1 = 3;
|
|
958
|
-
suspendResult = this.
|
|
955
|
+
suspendResult = this.y9s_1.n28(transformed, this);
|
|
959
956
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
960
957
|
return suspendResult;
|
|
961
958
|
}
|
|
@@ -986,8 +983,8 @@
|
|
|
986
983
|
while (true);
|
|
987
984
|
};
|
|
988
985
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, completion) {
|
|
989
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
990
|
-
i.
|
|
986
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.v9s_1, this.w9s_1, completion);
|
|
987
|
+
i.x9s_1 = value;
|
|
991
988
|
return i;
|
|
992
989
|
};
|
|
993
990
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1000,8 +997,8 @@
|
|
|
1000
997
|
}
|
|
1001
998
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1002
999
|
CoroutineImpl.call(this, resultContinuation);
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1000
|
+
this.k9t_1 = _this__u8e3s4;
|
|
1001
|
+
this.l9t_1 = collector;
|
|
1005
1002
|
}
|
|
1006
1003
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1007
1004
|
var suspendResult = this.u8_1;
|
|
@@ -1011,10 +1008,10 @@
|
|
|
1011
1008
|
switch (tmp) {
|
|
1012
1009
|
case 0:
|
|
1013
1010
|
this.t8_1 = 2;
|
|
1014
|
-
var $this$unsafeFlow = this.
|
|
1011
|
+
var $this$unsafeFlow = this.l9t_1;
|
|
1015
1012
|
this.s8_1 = 1;
|
|
1016
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1017
|
-
suspendResult = this.
|
|
1013
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.k9t_1.n9t_1, null);
|
|
1014
|
+
suspendResult = this.k9t_1.m9t_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1018
1015
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1019
1016
|
return suspendResult;
|
|
1020
1017
|
}
|
|
@@ -1037,7 +1034,7 @@
|
|
|
1037
1034
|
while (true);
|
|
1038
1035
|
};
|
|
1039
1036
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1040
|
-
this.
|
|
1037
|
+
this.w9t_1 = $$this$unsafeFlow;
|
|
1041
1038
|
CoroutineImpl.call(this, resultContinuation);
|
|
1042
1039
|
}
|
|
1043
1040
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -1058,28 +1055,28 @@
|
|
|
1058
1055
|
case 0:
|
|
1059
1056
|
this.t8_1 = 5;
|
|
1060
1057
|
var tmp_0 = this;
|
|
1061
|
-
tmp_0.
|
|
1058
|
+
tmp_0.b9u_1 = this.w9t_1;
|
|
1062
1059
|
var tmp_1 = this;
|
|
1063
|
-
tmp_1.
|
|
1060
|
+
tmp_1.a9u_1 = this.x9t_1;
|
|
1064
1061
|
this.s8_1 = 1;
|
|
1065
1062
|
continue $sm;
|
|
1066
1063
|
case 1:
|
|
1067
|
-
this.
|
|
1068
|
-
var tmp0_elvis_lhs = this.
|
|
1064
|
+
this.y9t_1 = this.b9u_1;
|
|
1065
|
+
var tmp0_elvis_lhs = this.a9u_1.tableOrNull;
|
|
1069
1066
|
if (tmp0_elvis_lhs == null) {
|
|
1070
1067
|
this.s8_1 = 4;
|
|
1071
1068
|
var tmp_2 = this;
|
|
1072
1069
|
continue $sm;
|
|
1073
1070
|
} else {
|
|
1074
|
-
this.
|
|
1071
|
+
this.z9t_1 = tmp0_elvis_lhs;
|
|
1075
1072
|
this.s8_1 = 2;
|
|
1076
1073
|
continue $sm;
|
|
1077
1074
|
}
|
|
1078
1075
|
|
|
1079
1076
|
case 2:
|
|
1080
|
-
var transformed = this.
|
|
1077
|
+
var transformed = this.z9t_1;
|
|
1081
1078
|
this.s8_1 = 3;
|
|
1082
|
-
suspendResult = this.
|
|
1079
|
+
suspendResult = this.y9t_1.n28(transformed, this);
|
|
1083
1080
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1084
1081
|
return suspendResult;
|
|
1085
1082
|
}
|
|
@@ -1110,8 +1107,8 @@
|
|
|
1110
1107
|
while (true);
|
|
1111
1108
|
};
|
|
1112
1109
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
1113
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1114
|
-
i.
|
|
1110
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.w9t_1, completion);
|
|
1111
|
+
i.x9t_1 = value;
|
|
1115
1112
|
return i;
|
|
1116
1113
|
};
|
|
1117
1114
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1124,8 +1121,8 @@
|
|
|
1124
1121
|
}
|
|
1125
1122
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1126
1123
|
CoroutineImpl.call(this, resultContinuation);
|
|
1127
|
-
this.
|
|
1128
|
-
this.
|
|
1124
|
+
this.k9u_1 = _this__u8e3s4;
|
|
1125
|
+
this.l9u_1 = collector;
|
|
1129
1126
|
}
|
|
1130
1127
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1131
1128
|
var suspendResult = this.u8_1;
|
|
@@ -1135,10 +1132,10 @@
|
|
|
1135
1132
|
switch (tmp) {
|
|
1136
1133
|
case 0:
|
|
1137
1134
|
this.t8_1 = 2;
|
|
1138
|
-
var $this$unsafeFlow = this.
|
|
1135
|
+
var $this$unsafeFlow = this.l9u_1;
|
|
1139
1136
|
this.s8_1 = 1;
|
|
1140
1137
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1141
|
-
suspendResult = this.
|
|
1138
|
+
suspendResult = this.k9u_1.m9u_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1142
1139
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1143
1140
|
return suspendResult;
|
|
1144
1141
|
}
|
|
@@ -1161,7 +1158,7 @@
|
|
|
1161
1158
|
while (true);
|
|
1162
1159
|
};
|
|
1163
1160
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1164
|
-
this.
|
|
1161
|
+
this.v9u_1 = $$this$unsafeFlow;
|
|
1165
1162
|
CoroutineImpl.call(this, resultContinuation);
|
|
1166
1163
|
}
|
|
1167
1164
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1181,8 +1178,8 @@
|
|
|
1181
1178
|
switch (tmp) {
|
|
1182
1179
|
case 0:
|
|
1183
1180
|
this.t8_1 = 2;
|
|
1184
|
-
var tmp0 = this.
|
|
1185
|
-
var value = this.
|
|
1181
|
+
var tmp0 = this.v9u_1;
|
|
1182
|
+
var value = this.w9u_1;
|
|
1186
1183
|
this.s8_1 = 1;
|
|
1187
1184
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1188
1185
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1207,8 +1204,8 @@
|
|
|
1207
1204
|
while (true);
|
|
1208
1205
|
};
|
|
1209
1206
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1210
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1211
|
-
i.
|
|
1207
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.v9u_1, completion);
|
|
1208
|
+
i.w9u_1 = value;
|
|
1212
1209
|
return i;
|
|
1213
1210
|
};
|
|
1214
1211
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1221,8 +1218,8 @@
|
|
|
1221
1218
|
}
|
|
1222
1219
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1223
1220
|
CoroutineImpl.call(this, resultContinuation);
|
|
1224
|
-
this.
|
|
1225
|
-
this.
|
|
1221
|
+
this.f9v_1 = _this__u8e3s4;
|
|
1222
|
+
this.g9v_1 = collector;
|
|
1226
1223
|
}
|
|
1227
1224
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1228
1225
|
var suspendResult = this.u8_1;
|
|
@@ -1232,10 +1229,10 @@
|
|
|
1232
1229
|
switch (tmp) {
|
|
1233
1230
|
case 0:
|
|
1234
1231
|
this.t8_1 = 2;
|
|
1235
|
-
var $this$unsafeFlow = this.
|
|
1232
|
+
var $this$unsafeFlow = this.g9v_1;
|
|
1236
1233
|
this.s8_1 = 1;
|
|
1237
1234
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1238
|
-
suspendResult = this.
|
|
1235
|
+
suspendResult = this.f9v_1.h9v_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1239
1236
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1240
1237
|
return suspendResult;
|
|
1241
1238
|
}
|
|
@@ -1258,7 +1255,7 @@
|
|
|
1258
1255
|
while (true);
|
|
1259
1256
|
};
|
|
1260
1257
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1261
|
-
this.
|
|
1258
|
+
this.q9v_1 = $$this$unsafeFlow;
|
|
1262
1259
|
CoroutineImpl.call(this, resultContinuation);
|
|
1263
1260
|
}
|
|
1264
1261
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1278,8 +1275,8 @@
|
|
|
1278
1275
|
switch (tmp) {
|
|
1279
1276
|
case 0:
|
|
1280
1277
|
this.t8_1 = 2;
|
|
1281
|
-
var tmp0 = this.
|
|
1282
|
-
var value = this.
|
|
1278
|
+
var tmp0 = this.q9v_1;
|
|
1279
|
+
var value = this.r9v_1;
|
|
1283
1280
|
this.s8_1 = 1;
|
|
1284
1281
|
suspendResult = tmp0.n28(value.ne_1, this);
|
|
1285
1282
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1304,8 +1301,8 @@
|
|
|
1304
1301
|
while (true);
|
|
1305
1302
|
};
|
|
1306
1303
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1307
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1308
|
-
i.
|
|
1304
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.q9v_1, completion);
|
|
1305
|
+
i.r9v_1 = value;
|
|
1309
1306
|
return i;
|
|
1310
1307
|
};
|
|
1311
1308
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1318,8 +1315,8 @@
|
|
|
1318
1315
|
}
|
|
1319
1316
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1320
1317
|
CoroutineImpl.call(this, resultContinuation);
|
|
1321
|
-
this.
|
|
1322
|
-
this.
|
|
1318
|
+
this.a9w_1 = _this__u8e3s4;
|
|
1319
|
+
this.b9w_1 = collector;
|
|
1323
1320
|
}
|
|
1324
1321
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1325
1322
|
var suspendResult = this.u8_1;
|
|
@@ -1329,10 +1326,10 @@
|
|
|
1329
1326
|
switch (tmp) {
|
|
1330
1327
|
case 0:
|
|
1331
1328
|
this.t8_1 = 2;
|
|
1332
|
-
var $this$unsafeFlow = this.
|
|
1329
|
+
var $this$unsafeFlow = this.b9w_1;
|
|
1333
1330
|
this.s8_1 = 1;
|
|
1334
1331
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1335
|
-
suspendResult = this.
|
|
1332
|
+
suspendResult = this.a9w_1.c9w_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1336
1333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1337
1334
|
return suspendResult;
|
|
1338
1335
|
}
|
|
@@ -1355,17 +1352,17 @@
|
|
|
1355
1352
|
while (true);
|
|
1356
1353
|
};
|
|
1357
1354
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1358
|
-
this.
|
|
1355
|
+
this.l9w_1 = $subscriber;
|
|
1359
1356
|
CoroutineImpl.call(this, resultContinuation);
|
|
1360
1357
|
}
|
|
1361
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1362
|
-
var tmp = this.
|
|
1358
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).n9w = function (it, $completion) {
|
|
1359
|
+
var tmp = this.o9w(it, $completion);
|
|
1363
1360
|
tmp.u8_1 = Unit_instance;
|
|
1364
1361
|
tmp.v8_1 = null;
|
|
1365
1362
|
return tmp.a9();
|
|
1366
1363
|
};
|
|
1367
1364
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1368
|
-
return this.
|
|
1365
|
+
return this.n9w(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1369
1366
|
};
|
|
1370
1367
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1371
1368
|
var suspendResult = this.u8_1;
|
|
@@ -1374,7 +1371,7 @@
|
|
|
1374
1371
|
var tmp = this.s8_1;
|
|
1375
1372
|
if (tmp === 0) {
|
|
1376
1373
|
this.t8_1 = 1;
|
|
1377
|
-
this.
|
|
1374
|
+
this.l9w_1(this.m9w_1);
|
|
1378
1375
|
return Unit_instance;
|
|
1379
1376
|
} else if (tmp === 1) {
|
|
1380
1377
|
throw this.v8_1;
|
|
@@ -1385,84 +1382,98 @@
|
|
|
1385
1382
|
}
|
|
1386
1383
|
while (true);
|
|
1387
1384
|
};
|
|
1388
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1389
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1390
|
-
i.
|
|
1385
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).o9w = function (it, completion) {
|
|
1386
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.l9w_1, completion);
|
|
1387
|
+
i.m9w_1 = it;
|
|
1391
1388
|
return i;
|
|
1392
1389
|
};
|
|
1393
1390
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1394
1391
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1395
1392
|
var l = function (it, $completion) {
|
|
1396
|
-
return i.
|
|
1393
|
+
return i.n9w(it, $completion);
|
|
1397
1394
|
};
|
|
1398
1395
|
l.$arity = 1;
|
|
1399
1396
|
return l;
|
|
1400
1397
|
}
|
|
1401
1398
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1402
|
-
this.
|
|
1399
|
+
this.p9w_1 = $playerId;
|
|
1403
1400
|
}
|
|
1404
1401
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v65 = function () {
|
|
1405
|
-
return this.
|
|
1402
|
+
return this.p9w_1;
|
|
1406
1403
|
};
|
|
1407
1404
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1408
|
-
var tmp0 = $this.
|
|
1405
|
+
var tmp0 = $this.u9w_1;
|
|
1409
1406
|
var tmp = KProperty1;
|
|
1410
1407
|
// Inline function 'kotlin.getValue' call
|
|
1411
1408
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1412
1409
|
return tmp0.x();
|
|
1413
1410
|
}
|
|
1414
1411
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1415
|
-
var tmp0 = $this.
|
|
1412
|
+
var tmp0 = $this.v9w_1;
|
|
1416
1413
|
var tmp = KProperty1;
|
|
1417
1414
|
// Inline function 'kotlin.getValue' call
|
|
1418
1415
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1419
1416
|
return tmp0.x();
|
|
1420
1417
|
}
|
|
1421
1418
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1422
|
-
var tmp0 = $this.
|
|
1419
|
+
var tmp0 = $this.w9w_1;
|
|
1423
1420
|
var tmp = KProperty1;
|
|
1424
1421
|
// Inline function 'kotlin.getValue' call
|
|
1425
1422
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1426
1423
|
return tmp0.x();
|
|
1427
1424
|
}
|
|
1428
1425
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1429
|
-
var tmp0 = $this.
|
|
1426
|
+
var tmp0 = $this.x9w_1;
|
|
1430
1427
|
var tmp = KProperty1;
|
|
1431
1428
|
// Inline function 'kotlin.getValue' call
|
|
1432
1429
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1433
1430
|
return tmp0.x();
|
|
1434
1431
|
}
|
|
1432
|
+
function _get_userRatingInteractor__a09mdy($this) {
|
|
1433
|
+
var tmp0 = $this.y9w_1;
|
|
1434
|
+
var tmp = KProperty1;
|
|
1435
|
+
// Inline function 'kotlin.getValue' call
|
|
1436
|
+
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1437
|
+
return tmp0.x();
|
|
1438
|
+
}
|
|
1435
1439
|
function _get_random__h29cgo($this) {
|
|
1436
|
-
var tmp0 = $this.
|
|
1440
|
+
var tmp0 = $this.z9w_1;
|
|
1437
1441
|
var tmp = KProperty1;
|
|
1438
1442
|
// Inline function 'kotlin.getValue' call
|
|
1439
1443
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1440
1444
|
return tmp0.x();
|
|
1441
1445
|
}
|
|
1442
1446
|
function _get_idsProvider__fnfajc($this) {
|
|
1443
|
-
var tmp0 = $this.
|
|
1447
|
+
var tmp0 = $this.a9x_1;
|
|
1444
1448
|
var tmp = KProperty1;
|
|
1445
1449
|
// Inline function 'kotlin.getValue' call
|
|
1446
1450
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1447
1451
|
return tmp0.x();
|
|
1448
1452
|
}
|
|
1449
1453
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1450
|
-
var tmp0 = $this.
|
|
1454
|
+
var tmp0 = $this.b9x_1;
|
|
1451
1455
|
var tmp = KProperty1;
|
|
1452
1456
|
// Inline function 'kotlin.getValue' call
|
|
1453
1457
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1454
1458
|
return tmp0.x();
|
|
1455
1459
|
}
|
|
1456
1460
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1457
|
-
var tmp0 = $this.
|
|
1461
|
+
var tmp0 = $this.c9x_1;
|
|
1458
1462
|
var tmp = KProperty1;
|
|
1459
1463
|
// Inline function 'kotlin.getValue' call
|
|
1460
1464
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1461
1465
|
return tmp0.x();
|
|
1462
1466
|
}
|
|
1467
|
+
function _get_engineLogicConfig__l11qpf($this) {
|
|
1468
|
+
var tmp0 = $this.d9x_1;
|
|
1469
|
+
var tmp = KProperty1;
|
|
1470
|
+
// Inline function 'kotlin.getValue' call
|
|
1471
|
+
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1472
|
+
return tmp0.x();
|
|
1473
|
+
}
|
|
1463
1474
|
function observeTableStateUpdates($this) {
|
|
1464
1475
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1465
|
-
var this_0 = observeTableWhenRoundChanges($this, $this.
|
|
1476
|
+
var this_0 = observeTableWhenRoundChanges($this, $this.z6q());
|
|
1466
1477
|
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
1467
1478
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1468
1479
|
var this_1 = transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
|
|
@@ -1485,21 +1496,42 @@
|
|
|
1485
1496
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
1486
1497
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1487
1498
|
}
|
|
1499
|
+
function calculatePlayerLeftResult($this, playerId) {
|
|
1500
|
+
var table = $this.t66().a6s();
|
|
1501
|
+
var player = getPlayer(table.players, playerId);
|
|
1502
|
+
var tmp;
|
|
1503
|
+
if (_get_engineLogicConfig__l11qpf($this).updateRating) {
|
|
1504
|
+
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).x8w(player, table.players, table.config.playersMode, table.config.pointsMode);
|
|
1505
|
+
var tmp_0;
|
|
1506
|
+
if (tmp0_safe_receiver == null) {
|
|
1507
|
+
tmp_0 = null;
|
|
1508
|
+
} else {
|
|
1509
|
+
// Inline function 'kotlin.let' call
|
|
1510
|
+
tmp_0 = new PlayerAchievements(tmp0_safe_receiver.e76_1, tmp0_safe_receiver.f76_1, tmp0_safe_receiver.g76_1);
|
|
1511
|
+
}
|
|
1512
|
+
tmp = tmp_0;
|
|
1513
|
+
} else {
|
|
1514
|
+
tmp = null;
|
|
1515
|
+
}
|
|
1516
|
+
var playerAchievements = tmp;
|
|
1517
|
+
var playerAnalytics = mapToGameAnalytics(player, table.gameDuration);
|
|
1518
|
+
return new PlayerLeftResult(playerAchievements, playerAnalytics);
|
|
1519
|
+
}
|
|
1488
1520
|
function Companion() {
|
|
1489
|
-
this.
|
|
1521
|
+
this.f9x_1 = 'GameEngine_API';
|
|
1490
1522
|
}
|
|
1491
1523
|
var Companion_instance_7;
|
|
1492
1524
|
function Companion_getInstance_0() {
|
|
1493
1525
|
return Companion_instance_7;
|
|
1494
1526
|
}
|
|
1495
1527
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1496
|
-
this.
|
|
1528
|
+
this.g9x_1 = function_0;
|
|
1497
1529
|
}
|
|
1498
1530
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1499
|
-
return this.
|
|
1531
|
+
return this.g9x_1(value, $completion);
|
|
1500
1532
|
};
|
|
1501
1533
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1502
|
-
return this.
|
|
1534
|
+
return this.g9x_1;
|
|
1503
1535
|
};
|
|
1504
1536
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1505
1537
|
var tmp;
|
|
@@ -1520,13 +1552,13 @@
|
|
|
1520
1552
|
return hashCode(this.b3());
|
|
1521
1553
|
};
|
|
1522
1554
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1523
|
-
this.
|
|
1555
|
+
this.h9x_1 = function_0;
|
|
1524
1556
|
}
|
|
1525
1557
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1526
|
-
return this.
|
|
1558
|
+
return this.h9x_1(value, $completion);
|
|
1527
1559
|
};
|
|
1528
1560
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1529
|
-
return this.
|
|
1561
|
+
return this.h9x_1;
|
|
1530
1562
|
};
|
|
1531
1563
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1532
1564
|
var tmp;
|
|
@@ -1547,13 +1579,13 @@
|
|
|
1547
1579
|
return hashCode(this.b3());
|
|
1548
1580
|
};
|
|
1549
1581
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1550
|
-
this.
|
|
1582
|
+
this.i9x_1 = function_0;
|
|
1551
1583
|
}
|
|
1552
1584
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1553
|
-
return this.
|
|
1585
|
+
return this.i9x_1(value, $completion);
|
|
1554
1586
|
};
|
|
1555
1587
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1556
|
-
return this.
|
|
1588
|
+
return this.i9x_1;
|
|
1557
1589
|
};
|
|
1558
1590
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1559
1591
|
var tmp;
|
|
@@ -1574,13 +1606,13 @@
|
|
|
1574
1606
|
return hashCode(this.b3());
|
|
1575
1607
|
};
|
|
1576
1608
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1577
|
-
this.
|
|
1609
|
+
this.j9x_1 = function_0;
|
|
1578
1610
|
}
|
|
1579
1611
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1580
|
-
return this.
|
|
1612
|
+
return this.j9x_1(value, $completion);
|
|
1581
1613
|
};
|
|
1582
1614
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1583
|
-
return this.
|
|
1615
|
+
return this.j9x_1;
|
|
1584
1616
|
};
|
|
1585
1617
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1586
1618
|
var tmp;
|
|
@@ -1601,13 +1633,13 @@
|
|
|
1601
1633
|
return hashCode(this.b3());
|
|
1602
1634
|
};
|
|
1603
1635
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1604
|
-
this.
|
|
1636
|
+
this.k9x_1 = function_0;
|
|
1605
1637
|
}
|
|
1606
1638
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1607
|
-
return this.
|
|
1639
|
+
return this.k9x_1(value, $completion);
|
|
1608
1640
|
};
|
|
1609
1641
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1610
|
-
return this.
|
|
1642
|
+
return this.k9x_1;
|
|
1611
1643
|
};
|
|
1612
1644
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1613
1645
|
var tmp;
|
|
@@ -1628,13 +1660,13 @@
|
|
|
1628
1660
|
return hashCode(this.b3());
|
|
1629
1661
|
};
|
|
1630
1662
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1631
|
-
this.
|
|
1663
|
+
this.l9x_1 = function_0;
|
|
1632
1664
|
}
|
|
1633
1665
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1634
|
-
return this.
|
|
1666
|
+
return this.l9x_1(value, $completion);
|
|
1635
1667
|
};
|
|
1636
1668
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1637
|
-
return this.
|
|
1669
|
+
return this.l9x_1;
|
|
1638
1670
|
};
|
|
1639
1671
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1640
1672
|
var tmp;
|
|
@@ -1694,6 +1726,16 @@
|
|
|
1694
1726
|
return _get_teamsLogicProvider__u10pm6(p0);
|
|
1695
1727
|
};
|
|
1696
1728
|
}
|
|
1729
|
+
function GameServer$_get_userRatingInteractor_$ref_8uo6aw() {
|
|
1730
|
+
return function (p0) {
|
|
1731
|
+
return _get_userRatingInteractor__a09mdy(p0);
|
|
1732
|
+
};
|
|
1733
|
+
}
|
|
1734
|
+
function GameServer$_get_userRatingInteractor_$ref_8uo6aw_0() {
|
|
1735
|
+
return function (p0) {
|
|
1736
|
+
return _get_userRatingInteractor__a09mdy(p0);
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1697
1739
|
function GameServer$random$delegate$lambda(this$0) {
|
|
1698
1740
|
return function () {
|
|
1699
1741
|
return new SecureRandom(this$0.h4q());
|
|
@@ -1734,9 +1776,19 @@
|
|
|
1734
1776
|
return _get_encoderDecoderProvider__qqgrji(p0);
|
|
1735
1777
|
};
|
|
1736
1778
|
}
|
|
1779
|
+
function GameServer$_get_engineLogicConfig_$ref_nlkv2l() {
|
|
1780
|
+
return function (p0) {
|
|
1781
|
+
return _get_engineLogicConfig__l11qpf(p0);
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
function GameServer$_get_engineLogicConfig_$ref_nlkv2l_0() {
|
|
1785
|
+
return function (p0) {
|
|
1786
|
+
return _get_engineLogicConfig__l11qpf(p0);
|
|
1787
|
+
};
|
|
1788
|
+
}
|
|
1737
1789
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1738
|
-
this.
|
|
1739
|
-
this.
|
|
1790
|
+
this.u9x_1 = this$0;
|
|
1791
|
+
this.v9x_1 = $subscriber;
|
|
1740
1792
|
CoroutineImpl.call(this, resultContinuation);
|
|
1741
1793
|
}
|
|
1742
1794
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1757,8 +1809,8 @@
|
|
|
1757
1809
|
case 0:
|
|
1758
1810
|
this.t8_1 = 2;
|
|
1759
1811
|
this.s8_1 = 1;
|
|
1760
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1761
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1812
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.u9x_1).x9x();
|
|
1813
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.v9x_1, null);
|
|
1762
1814
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1763
1815
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1764
1816
|
return suspendResult;
|
|
@@ -1782,8 +1834,8 @@
|
|
|
1782
1834
|
while (true);
|
|
1783
1835
|
};
|
|
1784
1836
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1785
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1786
|
-
i.
|
|
1837
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.u9x_1, this.v9x_1, completion);
|
|
1838
|
+
i.w9x_1 = $this$launchDefault;
|
|
1787
1839
|
return i;
|
|
1788
1840
|
};
|
|
1789
1841
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1795,8 +1847,8 @@
|
|
|
1795
1847
|
return l;
|
|
1796
1848
|
}
|
|
1797
1849
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1798
|
-
this.
|
|
1799
|
-
this.
|
|
1850
|
+
this.g9y_1 = this$0;
|
|
1851
|
+
this.h9y_1 = $subscriber;
|
|
1800
1852
|
CoroutineImpl.call(this, resultContinuation);
|
|
1801
1853
|
}
|
|
1802
1854
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1817,8 +1869,8 @@
|
|
|
1817
1869
|
case 0:
|
|
1818
1870
|
this.t8_1 = 2;
|
|
1819
1871
|
this.s8_1 = 1;
|
|
1820
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1821
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1872
|
+
var tmp_0 = observeTableStateUpdates(this.g9y_1);
|
|
1873
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.h9y_1, null);
|
|
1822
1874
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1823
1875
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1824
1876
|
return suspendResult;
|
|
@@ -1842,8 +1894,8 @@
|
|
|
1842
1894
|
while (true);
|
|
1843
1895
|
};
|
|
1844
1896
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1845
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1846
|
-
i.
|
|
1897
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.g9y_1, this.h9y_1, completion);
|
|
1898
|
+
i.i9y_1 = $this$launchDefault;
|
|
1847
1899
|
return i;
|
|
1848
1900
|
};
|
|
1849
1901
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1855,8 +1907,8 @@
|
|
|
1855
1907
|
return l;
|
|
1856
1908
|
}
|
|
1857
1909
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1858
|
-
this.
|
|
1859
|
-
this.
|
|
1910
|
+
this.r9y_1 = this$0;
|
|
1911
|
+
this.s9y_1 = $subscriber;
|
|
1860
1912
|
CoroutineImpl.call(this, resultContinuation);
|
|
1861
1913
|
}
|
|
1862
1914
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1877,9 +1929,9 @@
|
|
|
1877
1929
|
case 0:
|
|
1878
1930
|
this.t8_1 = 2;
|
|
1879
1931
|
this.s8_1 = 1;
|
|
1880
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1881
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1882
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1932
|
+
var this_0 = observeTableStateUpdates(this.r9y_1);
|
|
1933
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.r9y_1);
|
|
1934
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.s9y_1, null);
|
|
1883
1935
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1884
1936
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1885
1937
|
return suspendResult;
|
|
@@ -1903,8 +1955,8 @@
|
|
|
1903
1955
|
while (true);
|
|
1904
1956
|
};
|
|
1905
1957
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1906
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1907
|
-
i.
|
|
1958
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.r9y_1, this.s9y_1, completion);
|
|
1959
|
+
i.t9y_1 = $this$launchDefault;
|
|
1908
1960
|
return i;
|
|
1909
1961
|
};
|
|
1910
1962
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1916,18 +1968,18 @@
|
|
|
1916
1968
|
return l;
|
|
1917
1969
|
}
|
|
1918
1970
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1919
|
-
this.
|
|
1971
|
+
this.c9z_1 = this$0;
|
|
1920
1972
|
CoroutineImpl.call(this, resultContinuation);
|
|
1921
1973
|
}
|
|
1922
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1923
|
-
var tmp = this.
|
|
1974
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).f9z = function ($this$transformLatest, it, $completion) {
|
|
1975
|
+
var tmp = this.g9z($this$transformLatest, it, $completion);
|
|
1924
1976
|
tmp.u8_1 = Unit_instance;
|
|
1925
1977
|
tmp.v8_1 = null;
|
|
1926
1978
|
return tmp.a9();
|
|
1927
1979
|
};
|
|
1928
1980
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
1929
1981
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1930
|
-
return this.
|
|
1982
|
+
return this.f9z(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1931
1983
|
};
|
|
1932
1984
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
1933
1985
|
var suspendResult = this.u8_1;
|
|
@@ -1938,8 +1990,8 @@
|
|
|
1938
1990
|
case 0:
|
|
1939
1991
|
this.t8_1 = 2;
|
|
1940
1992
|
this.s8_1 = 1;
|
|
1941
|
-
var table = this.
|
|
1942
|
-
suspendResult = emitAll(this.
|
|
1993
|
+
var table = this.e9z_1;
|
|
1994
|
+
suspendResult = emitAll(this.d9z_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.c9z_1, null)), this);
|
|
1943
1995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1944
1996
|
return suspendResult;
|
|
1945
1997
|
}
|
|
@@ -1961,23 +2013,23 @@
|
|
|
1961
2013
|
}
|
|
1962
2014
|
while (true);
|
|
1963
2015
|
};
|
|
1964
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1965
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1966
|
-
i.
|
|
1967
|
-
i.
|
|
2016
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).g9z = function ($this$transformLatest, it, completion) {
|
|
2017
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.c9z_1, completion);
|
|
2018
|
+
i.d9z_1 = $this$transformLatest;
|
|
2019
|
+
i.e9z_1 = it;
|
|
1968
2020
|
return i;
|
|
1969
2021
|
};
|
|
1970
2022
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1971
2023
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1972
2024
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1973
|
-
return i.
|
|
2025
|
+
return i.f9z($this$transformLatest, it, $completion);
|
|
1974
2026
|
};
|
|
1975
2027
|
l.$arity = 2;
|
|
1976
2028
|
return l;
|
|
1977
2029
|
}
|
|
1978
2030
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
1979
|
-
this.
|
|
1980
|
-
this.
|
|
2031
|
+
this.m9t_1 = $this;
|
|
2032
|
+
this.n9t_1 = this$0;
|
|
1981
2033
|
}
|
|
1982
2034
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1983
2035
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1989,7 +2041,7 @@
|
|
|
1989
2041
|
return this.o28(collector, $completion);
|
|
1990
2042
|
};
|
|
1991
2043
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1992
|
-
this.
|
|
2044
|
+
this.m9u_1 = $this;
|
|
1993
2045
|
}
|
|
1994
2046
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1995
2047
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2001,7 +2053,7 @@
|
|
|
2001
2053
|
return this.o28(collector, $completion);
|
|
2002
2054
|
};
|
|
2003
2055
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2004
|
-
this.
|
|
2056
|
+
this.h9v_1 = $this;
|
|
2005
2057
|
}
|
|
2006
2058
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
2007
2059
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2016,7 +2068,7 @@
|
|
|
2016
2068
|
return old.me_1 === new_0.me_1;
|
|
2017
2069
|
}
|
|
2018
2070
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2019
|
-
this.
|
|
2071
|
+
this.c9w_1 = $this;
|
|
2020
2072
|
}
|
|
2021
2073
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
2022
2074
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2028,8 +2080,8 @@
|
|
|
2028
2080
|
return this.o28(collector, $completion);
|
|
2029
2081
|
};
|
|
2030
2082
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2031
|
-
this.
|
|
2032
|
-
this.
|
|
2083
|
+
this.p9z_1 = this$0;
|
|
2084
|
+
this.q9z_1 = $subscriber;
|
|
2033
2085
|
CoroutineImpl.call(this, resultContinuation);
|
|
2034
2086
|
}
|
|
2035
2087
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2050,8 +2102,8 @@
|
|
|
2050
2102
|
case 0:
|
|
2051
2103
|
this.t8_1 = 2;
|
|
2052
2104
|
this.s8_1 = 1;
|
|
2053
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2054
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2105
|
+
var tmp_0 = distinctUntilChanged(this.p9z_1.z6q());
|
|
2106
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.q9z_1, null);
|
|
2055
2107
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2056
2108
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2057
2109
|
return suspendResult;
|
|
@@ -2075,8 +2127,8 @@
|
|
|
2075
2127
|
while (true);
|
|
2076
2128
|
};
|
|
2077
2129
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2078
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2079
|
-
i.
|
|
2130
|
+
var i = new GameServer$subscribeWith$slambda(this.p9z_1, this.q9z_1, completion);
|
|
2131
|
+
i.r9z_1 = $this$launchDefault;
|
|
2080
2132
|
return i;
|
|
2081
2133
|
};
|
|
2082
2134
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2088,18 +2140,18 @@
|
|
|
2088
2140
|
return l;
|
|
2089
2141
|
}
|
|
2090
2142
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2091
|
-
this.
|
|
2143
|
+
this.aa0_1 = $action;
|
|
2092
2144
|
CoroutineImpl.call(this, resultContinuation);
|
|
2093
2145
|
}
|
|
2094
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2095
|
-
var tmp = this.
|
|
2146
|
+
protoOf(GameServer$fromClientEvent$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2147
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2096
2148
|
tmp.u8_1 = Unit_instance;
|
|
2097
2149
|
tmp.v8_1 = null;
|
|
2098
2150
|
return tmp.a9();
|
|
2099
2151
|
};
|
|
2100
2152
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2101
2153
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2102
|
-
return this.
|
|
2154
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2103
2155
|
};
|
|
2104
2156
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2105
2157
|
var suspendResult = this.u8_1;
|
|
@@ -2108,11 +2160,11 @@
|
|
|
2108
2160
|
var tmp = this.s8_1;
|
|
2109
2161
|
if (tmp === 0) {
|
|
2110
2162
|
this.t8_1 = 1;
|
|
2111
|
-
if (this.
|
|
2112
|
-
if (!get_isCreated(this.
|
|
2163
|
+
if (this.aa0_1 instanceof PlayerReadyFromClientAction)
|
|
2164
|
+
if (!get_isCreated(this.ca0_1.state)) {
|
|
2113
2165
|
return Unit_instance;
|
|
2114
2166
|
}
|
|
2115
|
-
this.
|
|
2167
|
+
this.ca0_1.dispatch(this.aa0_1);
|
|
2116
2168
|
return Unit_instance;
|
|
2117
2169
|
} else if (tmp === 1) {
|
|
2118
2170
|
throw this.v8_1;
|
|
@@ -2123,33 +2175,33 @@
|
|
|
2123
2175
|
}
|
|
2124
2176
|
while (true);
|
|
2125
2177
|
};
|
|
2126
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2127
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2128
|
-
i.
|
|
2129
|
-
i.
|
|
2178
|
+
protoOf(GameServer$fromClientEvent$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2179
|
+
var i = new GameServer$fromClientEvent$slambda(this.aa0_1, completion);
|
|
2180
|
+
i.ba0_1 = $this$dispatchAsync;
|
|
2181
|
+
i.ca0_1 = store;
|
|
2130
2182
|
return i;
|
|
2131
2183
|
};
|
|
2132
2184
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2133
2185
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2134
2186
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2135
|
-
return i.
|
|
2187
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2136
2188
|
};
|
|
2137
2189
|
l.$arity = 2;
|
|
2138
2190
|
return l;
|
|
2139
2191
|
}
|
|
2140
2192
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2141
|
-
this.
|
|
2193
|
+
this.na0_1 = $playerId;
|
|
2142
2194
|
CoroutineImpl.call(this, resultContinuation);
|
|
2143
2195
|
}
|
|
2144
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2145
|
-
var tmp = this.
|
|
2196
|
+
protoOf(GameServer$playerLostConnection$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2197
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2146
2198
|
tmp.u8_1 = Unit_instance;
|
|
2147
2199
|
tmp.v8_1 = null;
|
|
2148
2200
|
return tmp.a9();
|
|
2149
2201
|
};
|
|
2150
2202
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2151
2203
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2152
|
-
return this.
|
|
2204
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2153
2205
|
};
|
|
2154
2206
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2155
2207
|
var suspendResult = this.u8_1;
|
|
@@ -2158,12 +2210,12 @@
|
|
|
2158
2210
|
var tmp = this.s8_1;
|
|
2159
2211
|
if (tmp === 0) {
|
|
2160
2212
|
this.t8_1 = 1;
|
|
2161
|
-
if (!get_isCreated(this.
|
|
2213
|
+
if (!get_isCreated(this.pa0_1.state)) {
|
|
2162
2214
|
return Unit_instance;
|
|
2163
2215
|
}
|
|
2164
|
-
var tmp_0 = this.
|
|
2216
|
+
var tmp_0 = this.pa0_1.dispatch;
|
|
2165
2217
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2166
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2218
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.na0_1));
|
|
2167
2219
|
return Unit_instance;
|
|
2168
2220
|
} else if (tmp === 1) {
|
|
2169
2221
|
throw this.v8_1;
|
|
@@ -2174,34 +2226,34 @@
|
|
|
2174
2226
|
}
|
|
2175
2227
|
while (true);
|
|
2176
2228
|
};
|
|
2177
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2178
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2179
|
-
i.
|
|
2180
|
-
i.
|
|
2229
|
+
protoOf(GameServer$playerLostConnection$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2230
|
+
var i = new GameServer$playerLostConnection$slambda(this.na0_1, completion);
|
|
2231
|
+
i.oa0_1 = $this$dispatchAsync;
|
|
2232
|
+
i.pa0_1 = store;
|
|
2181
2233
|
return i;
|
|
2182
2234
|
};
|
|
2183
2235
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2184
2236
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2185
2237
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2186
|
-
return i.
|
|
2238
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2187
2239
|
};
|
|
2188
2240
|
l.$arity = 2;
|
|
2189
2241
|
return l;
|
|
2190
2242
|
}
|
|
2191
2243
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2192
|
-
this.
|
|
2193
|
-
this.
|
|
2244
|
+
this.ya0_1 = this$0;
|
|
2245
|
+
this.za0_1 = $playerId;
|
|
2194
2246
|
CoroutineImpl.call(this, resultContinuation);
|
|
2195
2247
|
}
|
|
2196
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2197
|
-
var tmp = this.
|
|
2248
|
+
protoOf(GameServer$playerLive$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2249
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2198
2250
|
tmp.u8_1 = Unit_instance;
|
|
2199
2251
|
tmp.v8_1 = null;
|
|
2200
2252
|
return tmp.a9();
|
|
2201
2253
|
};
|
|
2202
2254
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2203
2255
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2204
|
-
return this.
|
|
2256
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2205
2257
|
};
|
|
2206
2258
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2207
2259
|
var suspendResult = this.u8_1;
|
|
@@ -2210,16 +2262,16 @@
|
|
|
2210
2262
|
var tmp = this.s8_1;
|
|
2211
2263
|
if (tmp === 0) {
|
|
2212
2264
|
this.t8_1 = 1;
|
|
2213
|
-
if (get_isFinished(this.
|
|
2265
|
+
if (get_isFinished(this.ba1_1.state) || get_isFinishing(this.ba1_1.state)) {
|
|
2214
2266
|
return Unit_instance;
|
|
2215
2267
|
}
|
|
2216
|
-
if (!get_isCreated(this.
|
|
2217
|
-
this.
|
|
2268
|
+
if (!get_isCreated(this.ba1_1.state) || !this.ya0_1.t66().c6s()) {
|
|
2269
|
+
this.ya0_1.h4q().v('GameEngine_API', 'playerLive: ' + this.za0_1 + ' before game is created');
|
|
2218
2270
|
return Unit_instance;
|
|
2219
2271
|
}
|
|
2220
|
-
var tmp_0 = this.
|
|
2272
|
+
var tmp_0 = this.ba1_1.dispatch;
|
|
2221
2273
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2222
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2274
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.za0_1));
|
|
2223
2275
|
return Unit_instance;
|
|
2224
2276
|
} else if (tmp === 1) {
|
|
2225
2277
|
throw this.v8_1;
|
|
@@ -2230,35 +2282,35 @@
|
|
|
2230
2282
|
}
|
|
2231
2283
|
while (true);
|
|
2232
2284
|
};
|
|
2233
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2234
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2235
|
-
i.
|
|
2236
|
-
i.
|
|
2285
|
+
protoOf(GameServer$playerLive$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2286
|
+
var i = new GameServer$playerLive$slambda(this.ya0_1, this.za0_1, completion);
|
|
2287
|
+
i.aa1_1 = $this$dispatchAsync;
|
|
2288
|
+
i.ba1_1 = store;
|
|
2237
2289
|
return i;
|
|
2238
2290
|
};
|
|
2239
2291
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2240
2292
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2241
2293
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2242
|
-
return i.
|
|
2294
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2243
2295
|
};
|
|
2244
2296
|
l.$arity = 2;
|
|
2245
2297
|
return l;
|
|
2246
2298
|
}
|
|
2247
2299
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2248
|
-
this.
|
|
2249
|
-
this.
|
|
2250
|
-
this.
|
|
2300
|
+
this.ka1_1 = this$0;
|
|
2301
|
+
this.la1_1 = $playerId;
|
|
2302
|
+
this.ma1_1 = $permanently;
|
|
2251
2303
|
CoroutineImpl.call(this, resultContinuation);
|
|
2252
2304
|
}
|
|
2253
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2254
|
-
var tmp = this.
|
|
2305
|
+
protoOf(GameServer$playerLeft$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2306
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2255
2307
|
tmp.u8_1 = Unit_instance;
|
|
2256
2308
|
tmp.v8_1 = null;
|
|
2257
2309
|
return tmp.a9();
|
|
2258
2310
|
};
|
|
2259
2311
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2260
2312
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2261
|
-
return this.
|
|
2313
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2262
2314
|
};
|
|
2263
2315
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2264
2316
|
var suspendResult = this.u8_1;
|
|
@@ -2267,22 +2319,22 @@
|
|
|
2267
2319
|
var tmp = this.s8_1;
|
|
2268
2320
|
if (tmp === 0) {
|
|
2269
2321
|
this.t8_1 = 1;
|
|
2270
|
-
if (get_isFinished(this.
|
|
2322
|
+
if (get_isFinished(this.oa1_1.state) || get_isFinishing(this.oa1_1.state)) {
|
|
2271
2323
|
return Unit_instance;
|
|
2272
2324
|
}
|
|
2273
|
-
if (!get_isCreated(this.
|
|
2274
|
-
this.
|
|
2325
|
+
if (!get_isCreated(this.oa1_1.state) || !this.ka1_1.t66().c6s()) {
|
|
2326
|
+
this.ka1_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.la1_1 + ' before game is created');
|
|
2275
2327
|
return Unit_instance;
|
|
2276
2328
|
}
|
|
2277
|
-
var tmp_0 = this.
|
|
2329
|
+
var tmp_0 = this.oa1_1.dispatch;
|
|
2278
2330
|
var tmp_1;
|
|
2279
|
-
if (this.
|
|
2331
|
+
if (this.ma1_1) {
|
|
2280
2332
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2281
2333
|
} else {
|
|
2282
2334
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2283
2335
|
}
|
|
2284
2336
|
var tmp0_connectionState = tmp_1;
|
|
2285
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2337
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.la1_1));
|
|
2286
2338
|
return Unit_instance;
|
|
2287
2339
|
} else if (tmp === 1) {
|
|
2288
2340
|
throw this.v8_1;
|
|
@@ -2293,39 +2345,39 @@
|
|
|
2293
2345
|
}
|
|
2294
2346
|
while (true);
|
|
2295
2347
|
};
|
|
2296
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2297
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2298
|
-
i.
|
|
2299
|
-
i.
|
|
2348
|
+
protoOf(GameServer$playerLeft$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2349
|
+
var i = new GameServer$playerLeft$slambda(this.ka1_1, this.la1_1, this.ma1_1, completion);
|
|
2350
|
+
i.na1_1 = $this$dispatchAsync;
|
|
2351
|
+
i.oa1_1 = store;
|
|
2300
2352
|
return i;
|
|
2301
2353
|
};
|
|
2302
2354
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2303
2355
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2304
2356
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2305
|
-
return i.
|
|
2357
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2306
2358
|
};
|
|
2307
2359
|
l.$arity = 2;
|
|
2308
2360
|
return l;
|
|
2309
2361
|
}
|
|
2310
2362
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2311
|
-
this.
|
|
2312
|
-
this.
|
|
2313
|
-
this.
|
|
2314
|
-
this.
|
|
2315
|
-
this.
|
|
2316
|
-
this.
|
|
2317
|
-
this.
|
|
2363
|
+
this.xa1_1 = $usersArray;
|
|
2364
|
+
this.ya1_1 = $config;
|
|
2365
|
+
this.za1_1 = this$0;
|
|
2366
|
+
this.aa2_1 = $roomId;
|
|
2367
|
+
this.ba2_1 = $transition;
|
|
2368
|
+
this.ca2_1 = $gameCreatorId;
|
|
2369
|
+
this.da2_1 = $spectators;
|
|
2318
2370
|
CoroutineImpl.call(this, resultContinuation);
|
|
2319
2371
|
}
|
|
2320
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2321
|
-
var tmp = this.
|
|
2372
|
+
protoOf(GameServer$roomOnCreate$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2373
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2322
2374
|
tmp.u8_1 = Unit_instance;
|
|
2323
2375
|
tmp.v8_1 = null;
|
|
2324
2376
|
return tmp.a9();
|
|
2325
2377
|
};
|
|
2326
2378
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2327
2379
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2328
|
-
return this.
|
|
2380
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2329
2381
|
};
|
|
2330
2382
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2331
2383
|
var suspendResult = this.u8_1;
|
|
@@ -2334,28 +2386,28 @@
|
|
|
2334
2386
|
var tmp = this.s8_1;
|
|
2335
2387
|
if (tmp === 0) {
|
|
2336
2388
|
this.t8_1 = 1;
|
|
2337
|
-
var users = toList(this.
|
|
2338
|
-
if (!(this.
|
|
2339
|
-
this.
|
|
2340
|
-
this.
|
|
2389
|
+
var users = toList(this.xa1_1);
|
|
2390
|
+
if (!(this.ya1_1.playersMode.count === users.o())) {
|
|
2391
|
+
this.za1_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.aa2_1 + ', config = ' + this.ya1_1.toString() + ', users = ' + toString(users));
|
|
2392
|
+
this.fa2_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.za1_1.table.isGameFinished, this.za1_1.table));
|
|
2341
2393
|
return Unit_instance;
|
|
2342
2394
|
}
|
|
2343
2395
|
var tmp_0;
|
|
2344
|
-
if (this.
|
|
2345
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2396
|
+
if (this.ya1_1.mode.shufflePlayers && this.ba2_1 == null) {
|
|
2397
|
+
tmp_0 = _get_random__h29cgo(this.za1_1).q5d(toMutableList(users));
|
|
2346
2398
|
} else {
|
|
2347
|
-
var tmp0_safe_receiver = this.
|
|
2399
|
+
var tmp0_safe_receiver = this.ba2_1;
|
|
2348
2400
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2349
2401
|
var tmp_1;
|
|
2350
|
-
if (!(previousPlayers == null) && this.
|
|
2351
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2402
|
+
if (!(previousPlayers == null) && this.ya1_1.playersMode.isTeamGame) {
|
|
2403
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.za1_1);
|
|
2352
2404
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2353
2405
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2354
2406
|
while (_iterator__ex2g4s.m()) {
|
|
2355
2407
|
var item = _iterator__ex2g4s.n();
|
|
2356
2408
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2357
2409
|
}
|
|
2358
|
-
var previousTeams = tmp_2.
|
|
2410
|
+
var previousTeams = tmp_2.g8q(destination);
|
|
2359
2411
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2360
2412
|
var _iterator__ex2g4s_0 = users.l();
|
|
2361
2413
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2379,19 +2431,19 @@
|
|
|
2379
2431
|
destination_1.j(destination_2);
|
|
2380
2432
|
}
|
|
2381
2433
|
var updatedTeams = destination_1;
|
|
2382
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2434
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.za1_1).k8q(updatedTeams);
|
|
2383
2435
|
} else {
|
|
2384
2436
|
tmp_1 = users;
|
|
2385
2437
|
}
|
|
2386
2438
|
tmp_0 = tmp_1;
|
|
2387
2439
|
}
|
|
2388
2440
|
var updatedUsers = tmp_0;
|
|
2389
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2390
|
-
var tmp_3 = this.
|
|
2441
|
+
var gameCreatorUser = getPlayer(users, this.ca2_1);
|
|
2442
|
+
var tmp_3 = this.fa2_1.dispatch;
|
|
2391
2443
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2392
2444
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2393
|
-
var tmp3_spectators = toList(this.
|
|
2394
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2445
|
+
var tmp3_spectators = toList(this.da2_1);
|
|
2446
|
+
tmp_3(new StartGameMechanicAction(this.ya1_1, this.aa2_1, tmp1_version, this.ca2_1, tmp2_users, VOID, tmp3_spectators));
|
|
2395
2447
|
return Unit_instance;
|
|
2396
2448
|
} else if (tmp === 1) {
|
|
2397
2449
|
throw this.v8_1;
|
|
@@ -2402,33 +2454,33 @@
|
|
|
2402
2454
|
}
|
|
2403
2455
|
while (true);
|
|
2404
2456
|
};
|
|
2405
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2406
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2407
|
-
i.
|
|
2408
|
-
i.
|
|
2457
|
+
protoOf(GameServer$roomOnCreate$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2458
|
+
var i = new GameServer$roomOnCreate$slambda(this.xa1_1, this.ya1_1, this.za1_1, this.aa2_1, this.ba2_1, this.ca2_1, this.da2_1, completion);
|
|
2459
|
+
i.ea2_1 = $this$dispatchAsync;
|
|
2460
|
+
i.fa2_1 = store;
|
|
2409
2461
|
return i;
|
|
2410
2462
|
};
|
|
2411
2463
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2412
2464
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2413
2465
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2414
|
-
return i.
|
|
2466
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2415
2467
|
};
|
|
2416
2468
|
l.$arity = 2;
|
|
2417
2469
|
return l;
|
|
2418
2470
|
}
|
|
2419
2471
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2420
|
-
this.
|
|
2472
|
+
this.oa2_1 = $state;
|
|
2421
2473
|
CoroutineImpl.call(this, resultContinuation);
|
|
2422
2474
|
}
|
|
2423
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2424
|
-
var tmp = this.
|
|
2475
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ra2 = function ($this$dispatchAwait, store, $completion) {
|
|
2476
|
+
var tmp = this.ea0($this$dispatchAwait, store, $completion);
|
|
2425
2477
|
tmp.u8_1 = Unit_instance;
|
|
2426
2478
|
tmp.v8_1 = null;
|
|
2427
2479
|
return tmp.a9();
|
|
2428
2480
|
};
|
|
2429
2481
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2430
2482
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2431
|
-
return this.
|
|
2483
|
+
return this.ra2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2432
2484
|
};
|
|
2433
2485
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2434
2486
|
var suspendResult = this.u8_1;
|
|
@@ -2437,10 +2489,10 @@
|
|
|
2437
2489
|
var tmp = this.s8_1;
|
|
2438
2490
|
if (tmp === 0) {
|
|
2439
2491
|
this.t8_1 = 1;
|
|
2440
|
-
if (get_isCreating(this.
|
|
2441
|
-
var tmp_0 = this.
|
|
2492
|
+
if (get_isCreating(this.qa2_1.state)) {
|
|
2493
|
+
var tmp_0 = this.qa2_1.dispatch;
|
|
2442
2494
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2443
|
-
var tmp1_table = this.
|
|
2495
|
+
var tmp1_table = this.oa2_1.table;
|
|
2444
2496
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2445
2497
|
return true;
|
|
2446
2498
|
}
|
|
@@ -2454,34 +2506,34 @@
|
|
|
2454
2506
|
}
|
|
2455
2507
|
while (true);
|
|
2456
2508
|
};
|
|
2457
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2458
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2459
|
-
i.
|
|
2460
|
-
i.
|
|
2509
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ea0 = function ($this$dispatchAwait, store, completion) {
|
|
2510
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.oa2_1, completion);
|
|
2511
|
+
i.pa2_1 = $this$dispatchAwait;
|
|
2512
|
+
i.qa2_1 = store;
|
|
2461
2513
|
return i;
|
|
2462
2514
|
};
|
|
2463
2515
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2464
2516
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2465
2517
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2466
|
-
return i.
|
|
2518
|
+
return i.ra2($this$dispatchAwait, store, $completion);
|
|
2467
2519
|
};
|
|
2468
2520
|
l.$arity = 2;
|
|
2469
2521
|
return l;
|
|
2470
2522
|
}
|
|
2471
2523
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2472
|
-
this.
|
|
2473
|
-
this.
|
|
2524
|
+
this.aa3_1 = $isCreated;
|
|
2525
|
+
this.ba3_1 = $state;
|
|
2474
2526
|
CoroutineImpl.call(this, resultContinuation);
|
|
2475
2527
|
}
|
|
2476
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2477
|
-
var tmp = this.
|
|
2528
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2529
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2478
2530
|
tmp.u8_1 = Unit_instance;
|
|
2479
2531
|
tmp.v8_1 = null;
|
|
2480
2532
|
return tmp.a9();
|
|
2481
2533
|
};
|
|
2482
2534
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2483
2535
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2484
|
-
return this.
|
|
2536
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2485
2537
|
};
|
|
2486
2538
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2487
2539
|
var suspendResult = this.u8_1;
|
|
@@ -2492,7 +2544,7 @@
|
|
|
2492
2544
|
case 0:
|
|
2493
2545
|
this.t8_1 = 3;
|
|
2494
2546
|
this.s8_1 = 1;
|
|
2495
|
-
suspendResult = this.
|
|
2547
|
+
suspendResult = this.aa3_1.z1t(this);
|
|
2496
2548
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2497
2549
|
return suspendResult;
|
|
2498
2550
|
}
|
|
@@ -2500,10 +2552,10 @@
|
|
|
2500
2552
|
continue $sm;
|
|
2501
2553
|
case 1:
|
|
2502
2554
|
if (suspendResult) {
|
|
2503
|
-
var _iterator__ex2g4s = this.
|
|
2555
|
+
var _iterator__ex2g4s = this.ba3_1.actions.l();
|
|
2504
2556
|
while (_iterator__ex2g4s.m()) {
|
|
2505
2557
|
var element = _iterator__ex2g4s.n();
|
|
2506
|
-
this.
|
|
2558
|
+
this.da3_1.dispatch(element);
|
|
2507
2559
|
}
|
|
2508
2560
|
this.s8_1 = 2;
|
|
2509
2561
|
continue $sm;
|
|
@@ -2528,35 +2580,35 @@
|
|
|
2528
2580
|
}
|
|
2529
2581
|
while (true);
|
|
2530
2582
|
};
|
|
2531
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2532
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2533
|
-
i.
|
|
2534
|
-
i.
|
|
2583
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2584
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.aa3_1, this.ba3_1, completion);
|
|
2585
|
+
i.ca3_1 = $this$dispatchAsync;
|
|
2586
|
+
i.da3_1 = store;
|
|
2535
2587
|
return i;
|
|
2536
2588
|
};
|
|
2537
2589
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2538
2590
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2539
2591
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2540
|
-
return i.
|
|
2592
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2541
2593
|
};
|
|
2542
2594
|
l.$arity = 2;
|
|
2543
2595
|
return l;
|
|
2544
2596
|
}
|
|
2545
2597
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2546
|
-
this.
|
|
2547
|
-
this.
|
|
2548
|
-
this.
|
|
2598
|
+
this.ma3_1 = $tableLite;
|
|
2599
|
+
this.na3_1 = $roomId;
|
|
2600
|
+
this.oa3_1 = this$0;
|
|
2549
2601
|
CoroutineImpl.call(this, resultContinuation);
|
|
2550
2602
|
}
|
|
2551
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2552
|
-
var tmp = this.
|
|
2603
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2604
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2553
2605
|
tmp.u8_1 = Unit_instance;
|
|
2554
2606
|
tmp.v8_1 = null;
|
|
2555
2607
|
return tmp.a9();
|
|
2556
2608
|
};
|
|
2557
2609
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2558
2610
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2559
|
-
return this.
|
|
2611
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2560
2612
|
};
|
|
2561
2613
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2562
2614
|
var suspendResult = this.u8_1;
|
|
@@ -2565,9 +2617,9 @@
|
|
|
2565
2617
|
var tmp = this.s8_1;
|
|
2566
2618
|
if (tmp === 0) {
|
|
2567
2619
|
this.t8_1 = 1;
|
|
2568
|
-
var tmp_0 = this.
|
|
2569
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2570
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2620
|
+
var tmp_0 = this.qa3_1.dispatch;
|
|
2621
|
+
var tmp0_reason = new RestartRoundReason(this.ma3_1.gameInfo.round.roundNumber);
|
|
2622
|
+
var tmp1_table = Companion_instance_0.restartRound(this.na3_1, _get_idsProvider__fnfajc(this.oa3_1).d6e(), get_versionOrDefault(GameEngineConfig_instance), this.ma3_1);
|
|
2571
2623
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2572
2624
|
return Unit_instance;
|
|
2573
2625
|
} else if (tmp === 1) {
|
|
@@ -2579,16 +2631,16 @@
|
|
|
2579
2631
|
}
|
|
2580
2632
|
while (true);
|
|
2581
2633
|
};
|
|
2582
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2583
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2584
|
-
i.
|
|
2585
|
-
i.
|
|
2634
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2635
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ma3_1, this.na3_1, this.oa3_1, completion);
|
|
2636
|
+
i.pa3_1 = $this$dispatchAsync;
|
|
2637
|
+
i.qa3_1 = store;
|
|
2586
2638
|
return i;
|
|
2587
2639
|
};
|
|
2588
2640
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2589
2641
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2590
2642
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2591
|
-
return i.
|
|
2643
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2592
2644
|
};
|
|
2593
2645
|
l.$arity = 2;
|
|
2594
2646
|
return l;
|
|
@@ -2596,15 +2648,15 @@
|
|
|
2596
2648
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2597
2649
|
CoroutineImpl.call(this, resultContinuation);
|
|
2598
2650
|
}
|
|
2599
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2600
|
-
var tmp = this.
|
|
2651
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2652
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2601
2653
|
tmp.u8_1 = Unit_instance;
|
|
2602
2654
|
tmp.v8_1 = null;
|
|
2603
2655
|
return tmp.a9();
|
|
2604
2656
|
};
|
|
2605
2657
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2606
2658
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2607
|
-
return this.
|
|
2659
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2608
2660
|
};
|
|
2609
2661
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2610
2662
|
var suspendResult = this.u8_1;
|
|
@@ -2613,7 +2665,7 @@
|
|
|
2613
2665
|
var tmp = this.s8_1;
|
|
2614
2666
|
if (tmp === 0) {
|
|
2615
2667
|
this.t8_1 = 1;
|
|
2616
|
-
this.
|
|
2668
|
+
this.aa4_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2617
2669
|
return Unit_instance;
|
|
2618
2670
|
} else if (tmp === 1) {
|
|
2619
2671
|
throw this.v8_1;
|
|
@@ -2624,33 +2676,33 @@
|
|
|
2624
2676
|
}
|
|
2625
2677
|
while (true);
|
|
2626
2678
|
};
|
|
2627
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2679
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2628
2680
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2629
|
-
i.
|
|
2630
|
-
i.
|
|
2681
|
+
i.za3_1 = $this$dispatchAsync;
|
|
2682
|
+
i.aa4_1 = store;
|
|
2631
2683
|
return i;
|
|
2632
2684
|
};
|
|
2633
2685
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2634
2686
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2635
2687
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2636
|
-
return i.
|
|
2688
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2637
2689
|
};
|
|
2638
2690
|
l.$arity = 2;
|
|
2639
2691
|
return l;
|
|
2640
2692
|
}
|
|
2641
2693
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2642
|
-
this.
|
|
2694
|
+
this.ja4_1 = $spectators;
|
|
2643
2695
|
CoroutineImpl.call(this, resultContinuation);
|
|
2644
2696
|
}
|
|
2645
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2646
|
-
var tmp = this.
|
|
2697
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2698
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2647
2699
|
tmp.u8_1 = Unit_instance;
|
|
2648
2700
|
tmp.v8_1 = null;
|
|
2649
2701
|
return tmp.a9();
|
|
2650
2702
|
};
|
|
2651
2703
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2652
2704
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2653
|
-
return this.
|
|
2705
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2654
2706
|
};
|
|
2655
2707
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2656
2708
|
var suspendResult = this.u8_1;
|
|
@@ -2659,7 +2711,7 @@
|
|
|
2659
2711
|
var tmp = this.s8_1;
|
|
2660
2712
|
if (tmp === 0) {
|
|
2661
2713
|
this.t8_1 = 1;
|
|
2662
|
-
this.
|
|
2714
|
+
this.la4_1.dispatch(new AddSpectatorsAction(toList(this.ja4_1)));
|
|
2663
2715
|
return Unit_instance;
|
|
2664
2716
|
} else if (tmp === 1) {
|
|
2665
2717
|
throw this.v8_1;
|
|
@@ -2670,33 +2722,33 @@
|
|
|
2670
2722
|
}
|
|
2671
2723
|
while (true);
|
|
2672
2724
|
};
|
|
2673
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2674
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2675
|
-
i.
|
|
2676
|
-
i.
|
|
2725
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2726
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ja4_1, completion);
|
|
2727
|
+
i.ka4_1 = $this$dispatchAsync;
|
|
2728
|
+
i.la4_1 = store;
|
|
2677
2729
|
return i;
|
|
2678
2730
|
};
|
|
2679
2731
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2680
2732
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2681
2733
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2682
|
-
return i.
|
|
2734
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2683
2735
|
};
|
|
2684
2736
|
l.$arity = 2;
|
|
2685
2737
|
return l;
|
|
2686
2738
|
}
|
|
2687
2739
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2688
|
-
this.
|
|
2740
|
+
this.ua4_1 = $spectators;
|
|
2689
2741
|
CoroutineImpl.call(this, resultContinuation);
|
|
2690
2742
|
}
|
|
2691
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2692
|
-
var tmp = this.
|
|
2743
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2744
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2693
2745
|
tmp.u8_1 = Unit_instance;
|
|
2694
2746
|
tmp.v8_1 = null;
|
|
2695
2747
|
return tmp.a9();
|
|
2696
2748
|
};
|
|
2697
2749
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2698
2750
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2699
|
-
return this.
|
|
2751
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2700
2752
|
};
|
|
2701
2753
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2702
2754
|
var suspendResult = this.u8_1;
|
|
@@ -2705,7 +2757,7 @@
|
|
|
2705
2757
|
var tmp = this.s8_1;
|
|
2706
2758
|
if (tmp === 0) {
|
|
2707
2759
|
this.t8_1 = 1;
|
|
2708
|
-
this.
|
|
2760
|
+
this.wa4_1.dispatch(new RemoveSpectatorsAction(toList(this.ua4_1)));
|
|
2709
2761
|
return Unit_instance;
|
|
2710
2762
|
} else if (tmp === 1) {
|
|
2711
2763
|
throw this.v8_1;
|
|
@@ -2716,34 +2768,34 @@
|
|
|
2716
2768
|
}
|
|
2717
2769
|
while (true);
|
|
2718
2770
|
};
|
|
2719
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2720
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2721
|
-
i.
|
|
2722
|
-
i.
|
|
2771
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2772
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ua4_1, completion);
|
|
2773
|
+
i.va4_1 = $this$dispatchAsync;
|
|
2774
|
+
i.wa4_1 = store;
|
|
2723
2775
|
return i;
|
|
2724
2776
|
};
|
|
2725
2777
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2726
2778
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2727
2779
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2728
|
-
return i.
|
|
2780
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2729
2781
|
};
|
|
2730
2782
|
l.$arity = 2;
|
|
2731
2783
|
return l;
|
|
2732
2784
|
}
|
|
2733
2785
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2734
|
-
this.
|
|
2735
|
-
this.
|
|
2786
|
+
this.fa5_1 = $playerId;
|
|
2787
|
+
this.ga5_1 = this$0;
|
|
2736
2788
|
CoroutineImpl.call(this, resultContinuation);
|
|
2737
2789
|
}
|
|
2738
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2739
|
-
var tmp = this.
|
|
2790
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2791
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2740
2792
|
tmp.u8_1 = Unit_instance;
|
|
2741
2793
|
tmp.v8_1 = null;
|
|
2742
2794
|
return tmp.a9();
|
|
2743
2795
|
};
|
|
2744
2796
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2745
2797
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2746
|
-
return this.
|
|
2798
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2747
2799
|
};
|
|
2748
2800
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2749
2801
|
var suspendResult = this.u8_1;
|
|
@@ -2752,14 +2804,14 @@
|
|
|
2752
2804
|
var tmp = this.s8_1;
|
|
2753
2805
|
if (tmp === 0) {
|
|
2754
2806
|
this.t8_1 = 1;
|
|
2755
|
-
var table = this.
|
|
2756
|
-
var player = getPlayer(table.players, this.
|
|
2757
|
-
if (player.
|
|
2758
|
-
this.
|
|
2807
|
+
var table = this.ia5_1.state.a6s();
|
|
2808
|
+
var player = getPlayer(table.players, this.fa5_1);
|
|
2809
|
+
if (player.k6v_1.y68().n67_1.isLive) {
|
|
2810
|
+
this.ia5_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ga5_1).f8x(player, table));
|
|
2759
2811
|
} else {
|
|
2760
|
-
var tmp_0 = this.
|
|
2812
|
+
var tmp_0 = this.ia5_1.dispatch;
|
|
2761
2813
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2762
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2814
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.fa5_1));
|
|
2763
2815
|
}
|
|
2764
2816
|
return Unit_instance;
|
|
2765
2817
|
} else if (tmp === 1) {
|
|
@@ -2771,34 +2823,34 @@
|
|
|
2771
2823
|
}
|
|
2772
2824
|
while (true);
|
|
2773
2825
|
};
|
|
2774
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2775
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2776
|
-
i.
|
|
2777
|
-
i.
|
|
2826
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2827
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.fa5_1, this.ga5_1, completion);
|
|
2828
|
+
i.ha5_1 = $this$dispatchAsync;
|
|
2829
|
+
i.ia5_1 = store;
|
|
2778
2830
|
return i;
|
|
2779
2831
|
};
|
|
2780
2832
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2781
2833
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2782
2834
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2783
|
-
return i.
|
|
2835
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2784
2836
|
};
|
|
2785
2837
|
l.$arity = 2;
|
|
2786
2838
|
return l;
|
|
2787
2839
|
}
|
|
2788
2840
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2789
|
-
this.
|
|
2790
|
-
this.
|
|
2841
|
+
this.ra5_1 = this$0;
|
|
2842
|
+
this.sa5_1 = $newRid;
|
|
2791
2843
|
CoroutineImpl.call(this, resultContinuation);
|
|
2792
2844
|
}
|
|
2793
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2794
|
-
var tmp = this.
|
|
2845
|
+
protoOf(GameServer$roomOnDelete$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2846
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2795
2847
|
tmp.u8_1 = Unit_instance;
|
|
2796
2848
|
tmp.v8_1 = null;
|
|
2797
2849
|
return tmp.a9();
|
|
2798
2850
|
};
|
|
2799
2851
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2800
2852
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2801
|
-
return this.
|
|
2853
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2802
2854
|
};
|
|
2803
2855
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2804
2856
|
var suspendResult = this.u8_1;
|
|
@@ -2807,27 +2859,27 @@
|
|
|
2807
2859
|
var tmp = this.s8_1;
|
|
2808
2860
|
if (tmp === 0) {
|
|
2809
2861
|
this.t8_1 = 1;
|
|
2810
|
-
var it = this.
|
|
2862
|
+
var it = this.ra5_1.t66().a6r_1;
|
|
2811
2863
|
var tmp_0;
|
|
2812
2864
|
if (it == null) {
|
|
2813
|
-
this.
|
|
2865
|
+
this.ra5_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2814
2866
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2815
2867
|
} else {
|
|
2816
2868
|
tmp_0 = it;
|
|
2817
2869
|
}
|
|
2818
2870
|
var terminationState = tmp_0;
|
|
2819
|
-
var gameTransition = terminationState.
|
|
2871
|
+
var gameTransition = terminationState.e91_1;
|
|
2820
2872
|
var tmp_1;
|
|
2821
2873
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2822
|
-
var tmp0_elvis_lhs = this.
|
|
2874
|
+
var tmp0_elvis_lhs = this.sa5_1;
|
|
2823
2875
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2824
2876
|
} else {
|
|
2825
2877
|
tmp_1 = gameTransition;
|
|
2826
2878
|
}
|
|
2827
2879
|
var transition = tmp_1;
|
|
2828
|
-
var tmp_2 = this.
|
|
2829
|
-
var tmp0_reason = terminationState.
|
|
2830
|
-
var tmp1_isGameFinished = this.
|
|
2880
|
+
var tmp_2 = this.ua5_1.dispatch;
|
|
2881
|
+
var tmp0_reason = terminationState.d91_1;
|
|
2882
|
+
var tmp1_isGameFinished = this.ra5_1.t66().a6s().isGameFinished;
|
|
2831
2883
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2832
2884
|
return Unit_instance;
|
|
2833
2885
|
} else if (tmp === 1) {
|
|
@@ -2839,33 +2891,33 @@
|
|
|
2839
2891
|
}
|
|
2840
2892
|
while (true);
|
|
2841
2893
|
};
|
|
2842
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2843
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2844
|
-
i.
|
|
2845
|
-
i.
|
|
2894
|
+
protoOf(GameServer$roomOnDelete$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2895
|
+
var i = new GameServer$roomOnDelete$slambda(this.ra5_1, this.sa5_1, completion);
|
|
2896
|
+
i.ta5_1 = $this$dispatchAsync;
|
|
2897
|
+
i.ua5_1 = store;
|
|
2846
2898
|
return i;
|
|
2847
2899
|
};
|
|
2848
2900
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2849
2901
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2850
2902
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2851
|
-
return i.
|
|
2903
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2852
2904
|
};
|
|
2853
2905
|
l.$arity = 2;
|
|
2854
2906
|
return l;
|
|
2855
2907
|
}
|
|
2856
2908
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2857
|
-
this.
|
|
2909
|
+
this.da6_1 = $enabled;
|
|
2858
2910
|
CoroutineImpl.call(this, resultContinuation);
|
|
2859
2911
|
}
|
|
2860
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2861
|
-
var tmp = this.
|
|
2912
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2913
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2862
2914
|
tmp.u8_1 = Unit_instance;
|
|
2863
2915
|
tmp.v8_1 = null;
|
|
2864
2916
|
return tmp.a9();
|
|
2865
2917
|
};
|
|
2866
2918
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
2867
2919
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2868
|
-
return this.
|
|
2920
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2869
2921
|
};
|
|
2870
2922
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
2871
2923
|
var suspendResult = this.u8_1;
|
|
@@ -2874,7 +2926,7 @@
|
|
|
2874
2926
|
var tmp = this.s8_1;
|
|
2875
2927
|
if (tmp === 0) {
|
|
2876
2928
|
this.t8_1 = 1;
|
|
2877
|
-
this.
|
|
2929
|
+
this.fa6_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.fa6_1.state).config.copy(VOID, !this.da6_1)));
|
|
2878
2930
|
return Unit_instance;
|
|
2879
2931
|
} else if (tmp === 1) {
|
|
2880
2932
|
throw this.v8_1;
|
|
@@ -2885,35 +2937,35 @@
|
|
|
2885
2937
|
}
|
|
2886
2938
|
while (true);
|
|
2887
2939
|
};
|
|
2888
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2889
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2890
|
-
i.
|
|
2891
|
-
i.
|
|
2940
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
2941
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.da6_1, completion);
|
|
2942
|
+
i.ea6_1 = $this$dispatchAsync;
|
|
2943
|
+
i.fa6_1 = store;
|
|
2892
2944
|
return i;
|
|
2893
2945
|
};
|
|
2894
2946
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2895
2947
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2896
2948
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2897
|
-
return i.
|
|
2949
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2898
2950
|
};
|
|
2899
2951
|
l.$arity = 2;
|
|
2900
2952
|
return l;
|
|
2901
2953
|
}
|
|
2902
2954
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2903
|
-
this.
|
|
2904
|
-
this.
|
|
2905
|
-
this.
|
|
2955
|
+
this.oa6_1 = $reason;
|
|
2956
|
+
this.pa6_1 = this$0;
|
|
2957
|
+
this.qa6_1 = $roomId;
|
|
2906
2958
|
CoroutineImpl.call(this, resultContinuation);
|
|
2907
2959
|
}
|
|
2908
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2909
|
-
var tmp = this.
|
|
2960
|
+
protoOf(GameServer$shutdown$slambda).da0 = function ($this$dispatchAsync, store, $completion) {
|
|
2961
|
+
var tmp = this.ea0($this$dispatchAsync, store, $completion);
|
|
2910
2962
|
tmp.u8_1 = Unit_instance;
|
|
2911
2963
|
tmp.v8_1 = null;
|
|
2912
2964
|
return tmp.a9();
|
|
2913
2965
|
};
|
|
2914
2966
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
2915
2967
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2916
|
-
return this.
|
|
2968
|
+
return this.da0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2917
2969
|
};
|
|
2918
2970
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
2919
2971
|
var suspendResult = this.u8_1;
|
|
@@ -2922,11 +2974,11 @@
|
|
|
2922
2974
|
var tmp = this.s8_1;
|
|
2923
2975
|
if (tmp === 0) {
|
|
2924
2976
|
this.t8_1 = 1;
|
|
2925
|
-
var state = this.
|
|
2926
|
-
if (state.
|
|
2927
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2977
|
+
var state = this.sa6_1.store.state;
|
|
2978
|
+
if (state.c6s()) {
|
|
2979
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.oa6_1, get_serverShutdownReasonMapping());
|
|
2928
2980
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2929
|
-
var tmp_0 = this.
|
|
2981
|
+
var tmp_0 = this.sa6_1.dispatch;
|
|
2930
2982
|
var tmp_1 = Companion_instance;
|
|
2931
2983
|
var tmp_2;
|
|
2932
2984
|
switch (shutdownReason.q2_1) {
|
|
@@ -2940,12 +2992,12 @@
|
|
|
2940
2992
|
noWhenBranchMatchedException();
|
|
2941
2993
|
break;
|
|
2942
2994
|
}
|
|
2943
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2995
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.pa6_1.table.isGameFinished, this.pa6_1.table));
|
|
2944
2996
|
} else {
|
|
2945
|
-
this.
|
|
2946
|
-
var tmp_3 = this.
|
|
2947
|
-
var tmp2_safe_receiver = state.
|
|
2948
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2997
|
+
this.pa6_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.qa6_1);
|
|
2998
|
+
var tmp_3 = this.sa6_1.dispatch;
|
|
2999
|
+
var tmp2_safe_receiver = state.a6r_1;
|
|
3000
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.e91_1));
|
|
2949
3001
|
}
|
|
2950
3002
|
return Unit_instance;
|
|
2951
3003
|
} else if (tmp === 1) {
|
|
@@ -2957,16 +3009,16 @@
|
|
|
2957
3009
|
}
|
|
2958
3010
|
while (true);
|
|
2959
3011
|
};
|
|
2960
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2961
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2962
|
-
i.
|
|
2963
|
-
i.
|
|
3012
|
+
protoOf(GameServer$shutdown$slambda).ea0 = function ($this$dispatchAsync, store, completion) {
|
|
3013
|
+
var i = new GameServer$shutdown$slambda(this.oa6_1, this.pa6_1, this.qa6_1, completion);
|
|
3014
|
+
i.ra6_1 = $this$dispatchAsync;
|
|
3015
|
+
i.sa6_1 = store;
|
|
2964
3016
|
return i;
|
|
2965
3017
|
};
|
|
2966
3018
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2967
3019
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2968
3020
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2969
|
-
return i.
|
|
3021
|
+
return i.da0($this$dispatchAsync, store, $completion);
|
|
2970
3022
|
};
|
|
2971
3023
|
l.$arity = 2;
|
|
2972
3024
|
return l;
|
|
@@ -2997,7 +3049,7 @@
|
|
|
2997
3049
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2998
3050
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2999
3051
|
var tmp_4 = KProperty1;
|
|
3000
|
-
tmp_1.
|
|
3052
|
+
tmp_1.u9w_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3001
3053
|
var tmp_5 = this;
|
|
3002
3054
|
// Inline function 'org.kodein.di.instance' call
|
|
3003
3055
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3005,7 +3057,7 @@
|
|
|
3005
3057
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3006
3058
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3007
3059
|
var tmp_8 = KProperty1;
|
|
3008
|
-
tmp_5.
|
|
3060
|
+
tmp_5.v9w_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3009
3061
|
var tmp_9 = this;
|
|
3010
3062
|
// Inline function 'org.kodein.di.instance' call
|
|
3011
3063
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3013,7 +3065,7 @@
|
|
|
3013
3065
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3014
3066
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3015
3067
|
var tmp_12 = KProperty1;
|
|
3016
|
-
tmp_9.
|
|
3068
|
+
tmp_9.w9w_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3017
3069
|
var tmp_13 = this;
|
|
3018
3070
|
// Inline function 'org.kodein.di.instance' call
|
|
3019
3071
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3021,136 +3073,160 @@
|
|
|
3021
3073
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3022
3074
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3023
3075
|
var tmp_16 = KProperty1;
|
|
3024
|
-
tmp_13.
|
|
3076
|
+
tmp_13.x9w_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3025
3077
|
var tmp_17 = this;
|
|
3026
|
-
tmp_17.b9w_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3027
|
-
var tmp_18 = this;
|
|
3028
3078
|
// Inline function 'org.kodein.di.instance' call
|
|
3029
3079
|
// Inline function 'org.kodein.type.generic' call
|
|
3030
|
-
var
|
|
3031
|
-
var tmp$ret$10 = isInterface(
|
|
3032
|
-
var
|
|
3033
|
-
var
|
|
3034
|
-
|
|
3080
|
+
var tmp_18 = typeToken(createKType(getKClass(UserRatingInteractor), arrayOf([]), false));
|
|
3081
|
+
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3082
|
+
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3083
|
+
var tmp_20 = KProperty1;
|
|
3084
|
+
tmp_17.y9w_1 = tmp_19.w64(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3085
|
+
var tmp_21 = this;
|
|
3086
|
+
tmp_21.z9w_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3035
3087
|
var tmp_22 = this;
|
|
3036
3088
|
// Inline function 'org.kodein.di.instance' call
|
|
3037
3089
|
// Inline function 'org.kodein.type.generic' call
|
|
3038
|
-
var tmp_23 = typeToken(createKType(getKClass(
|
|
3090
|
+
var tmp_23 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3039
3091
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3040
3092
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3041
3093
|
var tmp_25 = KProperty1;
|
|
3042
|
-
tmp_22.
|
|
3094
|
+
tmp_22.a9x_1 = tmp_24.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3043
3095
|
var tmp_26 = this;
|
|
3044
3096
|
// Inline function 'org.kodein.di.instance' call
|
|
3045
3097
|
// Inline function 'org.kodein.type.generic' call
|
|
3046
|
-
var tmp_27 = typeToken(createKType(getKClass(
|
|
3098
|
+
var tmp_27 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3047
3099
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3048
3100
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3049
3101
|
var tmp_29 = KProperty1;
|
|
3050
|
-
tmp_26.
|
|
3102
|
+
tmp_26.b9x_1 = tmp_28.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3051
3103
|
var tmp_30 = this;
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3104
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3105
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3106
|
+
var tmp_31 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
|
|
3107
|
+
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3108
|
+
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3109
|
+
var tmp_33 = KProperty1;
|
|
3110
|
+
tmp_30.c9x_1 = tmp_32.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3111
|
+
var tmp_34 = this;
|
|
3112
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3113
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3114
|
+
var tmp_35 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3115
|
+
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3116
|
+
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3117
|
+
var tmp_37 = KProperty1;
|
|
3118
|
+
tmp_34.d9x_1 = tmp_36.w64(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3119
|
+
var tmp_38 = this;
|
|
3120
|
+
var tmp0_externalMiddlewares = plus(storeContract.x95(), externalMiddlewares);
|
|
3121
|
+
var tmp1_externalReducers = plus(storeContract.w95(), externalReducers);
|
|
3122
|
+
tmp_38.e9x_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3123
|
+
}
|
|
3124
|
+
protoOf(GameServer).q6q = function () {
|
|
3125
|
+
return this.e9x_1;
|
|
3126
|
+
};
|
|
3127
|
+
protoOf(GameServer).n8l = function () {
|
|
3060
3128
|
return get_serverStatePayload_0(this.t66()).metadata;
|
|
3061
3129
|
};
|
|
3062
3130
|
protoOf(GameServer).canReconnectPlayer = function (player) {
|
|
3063
|
-
if (!this.t66().
|
|
3131
|
+
if (!this.t66().c6s()) {
|
|
3064
3132
|
return true;
|
|
3065
3133
|
}
|
|
3066
|
-
var player_0 = firstOrNull(filterByPlayerId(this.t66().
|
|
3134
|
+
var player_0 = firstOrNull(filterByPlayerId(this.t66().a6s().players, player));
|
|
3067
3135
|
if (player_0 == null) {
|
|
3068
3136
|
return false;
|
|
3069
3137
|
}
|
|
3070
|
-
return player_0.
|
|
3138
|
+
return player_0.k6v_1.y68().n67_1.canReconnect;
|
|
3071
3139
|
};
|
|
3072
3140
|
protoOf(GameServer).y53 = function () {
|
|
3073
|
-
return this.t66().
|
|
3141
|
+
return this.t66().a6s().id;
|
|
3074
3142
|
};
|
|
3075
|
-
protoOf(GameServer).
|
|
3076
|
-
return this.t66().
|
|
3143
|
+
protoOf(GameServer).a6s = function () {
|
|
3144
|
+
return this.t66().a6s();
|
|
3077
3145
|
};
|
|
3078
|
-
protoOf(GameServer).
|
|
3146
|
+
protoOf(GameServer).b6s = function () {
|
|
3079
3147
|
return this.t66().tableOrNull;
|
|
3080
3148
|
};
|
|
3081
|
-
protoOf(GameServer).
|
|
3082
|
-
return this.t66().
|
|
3149
|
+
protoOf(GameServer).c6s = function () {
|
|
3150
|
+
return this.t66().c6s();
|
|
3083
3151
|
};
|
|
3084
|
-
protoOf(GameServer).
|
|
3152
|
+
protoOf(GameServer).d6s = function () {
|
|
3085
3153
|
return this.t66().gameLifecycleState;
|
|
3086
3154
|
};
|
|
3087
3155
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
3088
|
-
var tmp = this.
|
|
3156
|
+
var tmp = this.n6q();
|
|
3089
3157
|
tmp.i6c(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
3090
3158
|
};
|
|
3091
3159
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
3092
|
-
var tmp = this.
|
|
3160
|
+
var tmp = this.n6q();
|
|
3093
3161
|
tmp.i6c(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
3094
3162
|
};
|
|
3095
3163
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
3096
|
-
var tmp = this.
|
|
3164
|
+
var tmp = this.n6q();
|
|
3097
3165
|
tmp.i6c(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
3098
3166
|
};
|
|
3099
3167
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
3100
|
-
var tmp = this.
|
|
3168
|
+
var tmp = this.n6q();
|
|
3101
3169
|
tmp.i6c(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
3102
3170
|
};
|
|
3103
3171
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3104
3172
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3105
|
-
this.
|
|
3173
|
+
this.e9x_1.y6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3106
3174
|
};
|
|
3107
3175
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3108
3176
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3109
|
-
this.
|
|
3177
|
+
this.e9x_1.y6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3110
3178
|
};
|
|
3111
3179
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3112
3180
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3113
|
-
this.
|
|
3181
|
+
this.e9x_1.y6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3114
3182
|
};
|
|
3115
|
-
protoOf(GameServer).
|
|
3183
|
+
protoOf(GameServer).ta6 = function (playerId, permanently) {
|
|
3116
3184
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3117
|
-
|
|
3185
|
+
var tmp;
|
|
3186
|
+
if (this.t66().c6s()) {
|
|
3187
|
+
tmp = calculatePlayerLeftResult(this, playerId);
|
|
3188
|
+
} else {
|
|
3189
|
+
tmp = new PlayerLeftResult(null, null);
|
|
3190
|
+
}
|
|
3191
|
+
var result = tmp;
|
|
3192
|
+
this.e9x_1.y6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3193
|
+
return result;
|
|
3118
3194
|
};
|
|
3119
|
-
protoOf(GameServer).
|
|
3195
|
+
protoOf(GameServer).ua6 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3120
3196
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3121
|
-
this.
|
|
3197
|
+
this.e9x_1.y6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3122
3198
|
};
|
|
3123
3199
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3124
3200
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3125
|
-
var isCreated = this.
|
|
3126
|
-
this.
|
|
3201
|
+
var isCreated = this.e9x_1.z6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3202
|
+
this.e9x_1.y6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3127
3203
|
};
|
|
3128
3204
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3129
3205
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3130
|
-
this.
|
|
3131
|
-
this.
|
|
3206
|
+
this.e9x_1.y6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3207
|
+
this.e9x_1.y6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3132
3208
|
};
|
|
3133
3209
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3134
|
-
this.
|
|
3210
|
+
this.e9x_1.y6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3135
3211
|
};
|
|
3136
3212
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3137
|
-
this.
|
|
3213
|
+
this.e9x_1.y6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3138
3214
|
};
|
|
3139
3215
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3140
3216
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3141
|
-
this.
|
|
3217
|
+
this.e9x_1.y6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3142
3218
|
};
|
|
3143
|
-
protoOf(GameServer).
|
|
3219
|
+
protoOf(GameServer).va6 = function (newRid) {
|
|
3144
3220
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3145
|
-
this.
|
|
3221
|
+
this.e9x_1.y6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3146
3222
|
};
|
|
3147
3223
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3148
3224
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3149
|
-
this.
|
|
3225
|
+
this.e9x_1.y6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3150
3226
|
};
|
|
3151
|
-
protoOf(GameServer).
|
|
3227
|
+
protoOf(GameServer).wa6 = function (reason, roomId) {
|
|
3152
3228
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3153
|
-
this.
|
|
3229
|
+
this.e9x_1.y6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3154
3230
|
};
|
|
3155
3231
|
protoOf(GameServer).clear = function () {
|
|
3156
3232
|
return this.i2();
|
|
@@ -3204,13 +3280,13 @@
|
|
|
3204
3280
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3205
3281
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3206
3282
|
}
|
|
3207
|
-
protoOf(ServerConfig).
|
|
3283
|
+
protoOf(ServerConfig).xa6 = function () {
|
|
3208
3284
|
return this.fromRound;
|
|
3209
3285
|
};
|
|
3210
|
-
protoOf(ServerConfig).
|
|
3286
|
+
protoOf(ServerConfig).ya6 = function () {
|
|
3211
3287
|
return this.shouldFinishGameWhenDeploy;
|
|
3212
3288
|
};
|
|
3213
|
-
protoOf(ServerConfig).
|
|
3289
|
+
protoOf(ServerConfig).za6 = function () {
|
|
3214
3290
|
return this.shouldFinishGameWithBots;
|
|
3215
3291
|
};
|
|
3216
3292
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3222,14 +3298,14 @@
|
|
|
3222
3298
|
protoOf(ServerConfig).xl = function () {
|
|
3223
3299
|
return this.shouldFinishGameWithBots;
|
|
3224
3300
|
};
|
|
3225
|
-
protoOf(ServerConfig).
|
|
3301
|
+
protoOf(ServerConfig).aa7 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3226
3302
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3227
3303
|
};
|
|
3228
3304
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3229
3305
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3230
3306
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3231
3307
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3232
|
-
return $super === VOID ? this.
|
|
3308
|
+
return $super === VOID ? this.aa7(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.aa7.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3233
3309
|
};
|
|
3234
3310
|
protoOf(ServerConfig).toString = function () {
|
|
3235
3311
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3294,20 +3370,20 @@
|
|
|
3294
3370
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3295
3371
|
tmp0_serialDesc.gz('roomId', false);
|
|
3296
3372
|
tmp0_serialDesc.gz('table', false);
|
|
3297
|
-
this.
|
|
3373
|
+
this.ba7_1 = tmp0_serialDesc;
|
|
3298
3374
|
}
|
|
3299
|
-
protoOf($serializer).
|
|
3300
|
-
var tmp0_desc = this.
|
|
3375
|
+
protoOf($serializer).ca7 = function (encoder, value) {
|
|
3376
|
+
var tmp0_desc = this.ba7_1;
|
|
3301
3377
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3302
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3378
|
+
tmp1_output.dt(tmp0_desc, 0, value.da7_1);
|
|
3303
3379
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3304
3380
|
tmp1_output.pr(tmp0_desc);
|
|
3305
3381
|
};
|
|
3306
3382
|
protoOf($serializer).co = function (encoder, value) {
|
|
3307
|
-
return this.
|
|
3383
|
+
return this.ca7(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3308
3384
|
};
|
|
3309
3385
|
protoOf($serializer).do = function (decoder) {
|
|
3310
|
-
var tmp0_desc = this.
|
|
3386
|
+
var tmp0_desc = this.ba7_1;
|
|
3311
3387
|
var tmp1_flag = true;
|
|
3312
3388
|
var tmp2_index = 0;
|
|
3313
3389
|
var tmp3_bitMask0 = 0;
|
|
@@ -3342,7 +3418,7 @@
|
|
|
3342
3418
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3343
3419
|
};
|
|
3344
3420
|
protoOf($serializer).bo = function () {
|
|
3345
|
-
return this.
|
|
3421
|
+
return this.ba7_1;
|
|
3346
3422
|
};
|
|
3347
3423
|
protoOf($serializer).vz = function () {
|
|
3348
3424
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3358,9 +3434,9 @@
|
|
|
3358
3434
|
}
|
|
3359
3435
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3360
3436
|
if (!(3 === (3 & seen0))) {
|
|
3361
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3437
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ba7_1);
|
|
3362
3438
|
}
|
|
3363
|
-
$this.
|
|
3439
|
+
$this.da7_1 = roomId;
|
|
3364
3440
|
$this.table = table;
|
|
3365
3441
|
return $this;
|
|
3366
3442
|
}
|
|
@@ -3368,17 +3444,17 @@
|
|
|
3368
3444
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3369
3445
|
}
|
|
3370
3446
|
function TableStateUpdateDto(roomId, table) {
|
|
3371
|
-
this.
|
|
3447
|
+
this.da7_1 = roomId;
|
|
3372
3448
|
this.table = table;
|
|
3373
3449
|
}
|
|
3374
|
-
protoOf(TableStateUpdateDto).
|
|
3375
|
-
return this.
|
|
3450
|
+
protoOf(TableStateUpdateDto).g8i = function () {
|
|
3451
|
+
return this.da7_1;
|
|
3376
3452
|
};
|
|
3377
|
-
protoOf(TableStateUpdateDto).
|
|
3453
|
+
protoOf(TableStateUpdateDto).a6s = function () {
|
|
3378
3454
|
return this.table;
|
|
3379
3455
|
};
|
|
3380
3456
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3381
|
-
return this.
|
|
3457
|
+
return this.da7_1;
|
|
3382
3458
|
};
|
|
3383
3459
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3384
3460
|
return this.table;
|
|
@@ -3387,15 +3463,15 @@
|
|
|
3387
3463
|
return new TableStateUpdateDto(roomId, table);
|
|
3388
3464
|
};
|
|
3389
3465
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3390
|
-
roomId = roomId === VOID ? this.
|
|
3466
|
+
roomId = roomId === VOID ? this.da7_1 : roomId;
|
|
3391
3467
|
table = table === VOID ? this.table : table;
|
|
3392
3468
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3393
3469
|
};
|
|
3394
3470
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3395
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3471
|
+
return 'TableStateUpdateDto(roomId=' + this.da7_1 + ', table=' + this.table + ')';
|
|
3396
3472
|
};
|
|
3397
3473
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3398
|
-
var result = getStringHashCode(this.
|
|
3474
|
+
var result = getStringHashCode(this.da7_1);
|
|
3399
3475
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3400
3476
|
return result;
|
|
3401
3477
|
};
|
|
@@ -3404,7 +3480,7 @@
|
|
|
3404
3480
|
return true;
|
|
3405
3481
|
if (!(other instanceof TableStateUpdateDto))
|
|
3406
3482
|
return false;
|
|
3407
|
-
if (!(this.
|
|
3483
|
+
if (!(this.da7_1 === other.da7_1))
|
|
3408
3484
|
return false;
|
|
3409
3485
|
if (!(this.table === other.table))
|
|
3410
3486
|
return false;
|
|
@@ -3424,20 +3500,20 @@
|
|
|
3424
3500
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3425
3501
|
tmp0_serialDesc.gz('roomId', false);
|
|
3426
3502
|
tmp0_serialDesc.gz('actions', false);
|
|
3427
|
-
this.
|
|
3503
|
+
this.ea7_1 = tmp0_serialDesc;
|
|
3428
3504
|
}
|
|
3429
|
-
protoOf($serializer_0).
|
|
3430
|
-
var tmp0_desc = this.
|
|
3505
|
+
protoOf($serializer_0).fa7 = function (encoder, value) {
|
|
3506
|
+
var tmp0_desc = this.ea7_1;
|
|
3431
3507
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3432
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3508
|
+
tmp1_output.dt(tmp0_desc, 0, value.ga7_1);
|
|
3433
3509
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3434
3510
|
tmp1_output.pr(tmp0_desc);
|
|
3435
3511
|
};
|
|
3436
3512
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3437
|
-
return this.
|
|
3513
|
+
return this.fa7(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3438
3514
|
};
|
|
3439
3515
|
protoOf($serializer_0).do = function (decoder) {
|
|
3440
|
-
var tmp0_desc = this.
|
|
3516
|
+
var tmp0_desc = this.ea7_1;
|
|
3441
3517
|
var tmp1_flag = true;
|
|
3442
3518
|
var tmp2_index = 0;
|
|
3443
3519
|
var tmp3_bitMask0 = 0;
|
|
@@ -3472,7 +3548,7 @@
|
|
|
3472
3548
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3473
3549
|
};
|
|
3474
3550
|
protoOf($serializer_0).bo = function () {
|
|
3475
|
-
return this.
|
|
3551
|
+
return this.ea7_1;
|
|
3476
3552
|
};
|
|
3477
3553
|
protoOf($serializer_0).vz = function () {
|
|
3478
3554
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3488,9 +3564,9 @@
|
|
|
3488
3564
|
}
|
|
3489
3565
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3490
3566
|
if (!(3 === (3 & seen0))) {
|
|
3491
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3567
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ea7_1);
|
|
3492
3568
|
}
|
|
3493
|
-
$this.
|
|
3569
|
+
$this.ga7_1 = roomId;
|
|
3494
3570
|
$this.actions = actions;
|
|
3495
3571
|
return $this;
|
|
3496
3572
|
}
|
|
@@ -3498,17 +3574,17 @@
|
|
|
3498
3574
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3499
3575
|
}
|
|
3500
3576
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3501
|
-
this.
|
|
3577
|
+
this.ga7_1 = roomId;
|
|
3502
3578
|
this.actions = actions;
|
|
3503
3579
|
}
|
|
3504
|
-
protoOf(ActionsStateUpdateDto).
|
|
3505
|
-
return this.
|
|
3580
|
+
protoOf(ActionsStateUpdateDto).g8i = function () {
|
|
3581
|
+
return this.ga7_1;
|
|
3506
3582
|
};
|
|
3507
|
-
protoOf(ActionsStateUpdateDto).
|
|
3583
|
+
protoOf(ActionsStateUpdateDto).u8i = function () {
|
|
3508
3584
|
return this.actions;
|
|
3509
3585
|
};
|
|
3510
3586
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3511
|
-
return this.
|
|
3587
|
+
return this.ga7_1;
|
|
3512
3588
|
};
|
|
3513
3589
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3514
3590
|
return this.actions;
|
|
@@ -3517,15 +3593,15 @@
|
|
|
3517
3593
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3518
3594
|
};
|
|
3519
3595
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3520
|
-
roomId = roomId === VOID ? this.
|
|
3596
|
+
roomId = roomId === VOID ? this.ga7_1 : roomId;
|
|
3521
3597
|
actions = actions === VOID ? this.actions : actions;
|
|
3522
3598
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3523
3599
|
};
|
|
3524
3600
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3525
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3601
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ga7_1 + ', actions=' + this.actions + ')';
|
|
3526
3602
|
};
|
|
3527
3603
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3528
|
-
var result = getStringHashCode(this.
|
|
3604
|
+
var result = getStringHashCode(this.ga7_1);
|
|
3529
3605
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3530
3606
|
return result;
|
|
3531
3607
|
};
|
|
@@ -3534,7 +3610,7 @@
|
|
|
3534
3610
|
return true;
|
|
3535
3611
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3536
3612
|
return false;
|
|
3537
|
-
if (!(this.
|
|
3613
|
+
if (!(this.ga7_1 === other.ga7_1))
|
|
3538
3614
|
return false;
|
|
3539
3615
|
if (!(this.actions === other.actions))
|
|
3540
3616
|
return false;
|
|
@@ -3564,42 +3640,42 @@
|
|
|
3564
3640
|
var tmp$ret$0 = mapToDto(item);
|
|
3565
3641
|
destination.j(tmp$ret$0);
|
|
3566
3642
|
}
|
|
3567
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3643
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ha7_1, encoderDecoderProvider.n8p(destination));
|
|
3568
3644
|
}
|
|
3569
3645
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3570
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3646
|
+
return new TableStateUpdateDto(_this__u8e3s4.ia7_1, encoderDecoderProvider.l8p(mapToDto_0(_this__u8e3s4.table)));
|
|
3571
3647
|
}
|
|
3572
3648
|
function ServerStateUpdate() {
|
|
3573
3649
|
}
|
|
3574
3650
|
function TableStateUpdate(roomId, table) {
|
|
3575
|
-
this.
|
|
3651
|
+
this.ia7_1 = roomId;
|
|
3576
3652
|
this.table = table;
|
|
3577
3653
|
}
|
|
3578
|
-
protoOf(TableStateUpdate).
|
|
3579
|
-
return this.
|
|
3654
|
+
protoOf(TableStateUpdate).g8i = function () {
|
|
3655
|
+
return this.ia7_1;
|
|
3580
3656
|
};
|
|
3581
|
-
protoOf(TableStateUpdate).
|
|
3657
|
+
protoOf(TableStateUpdate).a6s = function () {
|
|
3582
3658
|
return this.table;
|
|
3583
3659
|
};
|
|
3584
3660
|
protoOf(TableStateUpdate).oe = function () {
|
|
3585
|
-
return this.
|
|
3661
|
+
return this.ia7_1;
|
|
3586
3662
|
};
|
|
3587
3663
|
protoOf(TableStateUpdate).pe = function () {
|
|
3588
3664
|
return this.table;
|
|
3589
3665
|
};
|
|
3590
|
-
protoOf(TableStateUpdate).
|
|
3666
|
+
protoOf(TableStateUpdate).ja7 = function (roomId, table) {
|
|
3591
3667
|
return new TableStateUpdate(roomId, table);
|
|
3592
3668
|
};
|
|
3593
3669
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3594
|
-
roomId = roomId === VOID ? this.
|
|
3670
|
+
roomId = roomId === VOID ? this.ia7_1 : roomId;
|
|
3595
3671
|
table = table === VOID ? this.table : table;
|
|
3596
|
-
return $super === VOID ? this.
|
|
3672
|
+
return $super === VOID ? this.ja7(roomId, table) : $super.ja7.call(this, roomId, table);
|
|
3597
3673
|
};
|
|
3598
3674
|
protoOf(TableStateUpdate).toString = function () {
|
|
3599
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3675
|
+
return 'TableStateUpdate(roomId=' + this.ia7_1 + ', table=' + this.table.toString() + ')';
|
|
3600
3676
|
};
|
|
3601
3677
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3602
|
-
var result = getStringHashCode(this.
|
|
3678
|
+
var result = getStringHashCode(this.ia7_1);
|
|
3603
3679
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3604
3680
|
return result;
|
|
3605
3681
|
};
|
|
@@ -3608,41 +3684,41 @@
|
|
|
3608
3684
|
return true;
|
|
3609
3685
|
if (!(other instanceof TableStateUpdate))
|
|
3610
3686
|
return false;
|
|
3611
|
-
if (!(this.
|
|
3687
|
+
if (!(this.ia7_1 === other.ia7_1))
|
|
3612
3688
|
return false;
|
|
3613
3689
|
if (!this.table.equals(other.table))
|
|
3614
3690
|
return false;
|
|
3615
3691
|
return true;
|
|
3616
3692
|
};
|
|
3617
3693
|
function ActionsStateUpdate(roomId, actions) {
|
|
3618
|
-
this.
|
|
3694
|
+
this.ha7_1 = roomId;
|
|
3619
3695
|
this.actions = actions;
|
|
3620
3696
|
}
|
|
3621
|
-
protoOf(ActionsStateUpdate).
|
|
3622
|
-
return this.
|
|
3697
|
+
protoOf(ActionsStateUpdate).g8i = function () {
|
|
3698
|
+
return this.ha7_1;
|
|
3623
3699
|
};
|
|
3624
|
-
protoOf(ActionsStateUpdate).
|
|
3700
|
+
protoOf(ActionsStateUpdate).u8i = function () {
|
|
3625
3701
|
return this.actions;
|
|
3626
3702
|
};
|
|
3627
3703
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3628
|
-
return this.
|
|
3704
|
+
return this.ha7_1;
|
|
3629
3705
|
};
|
|
3630
3706
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3631
3707
|
return this.actions;
|
|
3632
3708
|
};
|
|
3633
|
-
protoOf(ActionsStateUpdate).
|
|
3709
|
+
protoOf(ActionsStateUpdate).ka7 = function (roomId, actions) {
|
|
3634
3710
|
return new ActionsStateUpdate(roomId, actions);
|
|
3635
3711
|
};
|
|
3636
3712
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3637
|
-
roomId = roomId === VOID ? this.
|
|
3713
|
+
roomId = roomId === VOID ? this.ha7_1 : roomId;
|
|
3638
3714
|
actions = actions === VOID ? this.actions : actions;
|
|
3639
|
-
return $super === VOID ? this.
|
|
3715
|
+
return $super === VOID ? this.ka7(roomId, actions) : $super.ka7.call(this, roomId, actions);
|
|
3640
3716
|
};
|
|
3641
3717
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3642
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3718
|
+
return 'ActionsStateUpdate(roomId=' + this.ha7_1 + ', actions=' + toString(this.actions) + ')';
|
|
3643
3719
|
};
|
|
3644
3720
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3645
|
-
var result = getStringHashCode(this.
|
|
3721
|
+
var result = getStringHashCode(this.ha7_1);
|
|
3646
3722
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3647
3723
|
return result;
|
|
3648
3724
|
};
|
|
@@ -3651,7 +3727,7 @@
|
|
|
3651
3727
|
return true;
|
|
3652
3728
|
if (!(other instanceof ActionsStateUpdate))
|
|
3653
3729
|
return false;
|
|
3654
|
-
if (!(this.
|
|
3730
|
+
if (!(this.ha7_1 === other.ha7_1))
|
|
3655
3731
|
return false;
|
|
3656
3732
|
if (!equals(this.actions, other.actions))
|
|
3657
3733
|
return false;
|
|
@@ -3885,18 +3961,18 @@
|
|
|
3885
3961
|
function ToClientEventsObserver() {
|
|
3886
3962
|
}
|
|
3887
3963
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3888
|
-
this.
|
|
3889
|
-
this.
|
|
3964
|
+
this.ua7_1 = this$0;
|
|
3965
|
+
this.va7_1 = $actions;
|
|
3890
3966
|
CoroutineImpl.call(this, resultContinuation);
|
|
3891
3967
|
}
|
|
3892
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3893
|
-
var tmp = this.
|
|
3968
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ya7 = function ($this$flow, $completion) {
|
|
3969
|
+
var tmp = this.za7($this$flow, $completion);
|
|
3894
3970
|
tmp.u8_1 = Unit_instance;
|
|
3895
3971
|
tmp.v8_1 = null;
|
|
3896
3972
|
return tmp.a9();
|
|
3897
3973
|
};
|
|
3898
3974
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3899
|
-
return this.
|
|
3975
|
+
return this.ya7((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3900
3976
|
};
|
|
3901
3977
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3902
3978
|
var suspendResult = this.u8_1;
|
|
@@ -3906,19 +3982,19 @@
|
|
|
3906
3982
|
switch (tmp) {
|
|
3907
3983
|
case 0:
|
|
3908
3984
|
this.t8_1 = 4;
|
|
3909
|
-
this.
|
|
3910
|
-
this.
|
|
3985
|
+
this.ua7_1.ea8_1;
|
|
3986
|
+
this.xa7_1 = transformToEmits(this.ua7_1, this.va7_1).l();
|
|
3911
3987
|
this.s8_1 = 1;
|
|
3912
3988
|
continue $sm;
|
|
3913
3989
|
case 1:
|
|
3914
|
-
if (!this.
|
|
3990
|
+
if (!this.xa7_1.m()) {
|
|
3915
3991
|
this.s8_1 = 3;
|
|
3916
3992
|
continue $sm;
|
|
3917
3993
|
}
|
|
3918
3994
|
|
|
3919
|
-
var element = this.
|
|
3995
|
+
var element = this.xa7_1.n();
|
|
3920
3996
|
this.s8_1 = 2;
|
|
3921
|
-
suspendResult = this.
|
|
3997
|
+
suspendResult = this.wa7_1.n28(element, this);
|
|
3922
3998
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3923
3999
|
return suspendResult;
|
|
3924
4000
|
}
|
|
@@ -3928,11 +4004,11 @@
|
|
|
3928
4004
|
this.s8_1 = 1;
|
|
3929
4005
|
continue $sm;
|
|
3930
4006
|
case 3:
|
|
3931
|
-
var tmp0 = this.
|
|
4007
|
+
var tmp0 = this.ua7_1.da8_1;
|
|
3932
4008
|
l$ret$1: do {
|
|
3933
4009
|
while (true) {
|
|
3934
4010
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3935
|
-
var upd = cur - this.
|
|
4011
|
+
var upd = cur - this.va7_1.o() | 0;
|
|
3936
4012
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3937
4013
|
break l$ret$1;
|
|
3938
4014
|
}
|
|
@@ -3954,15 +4030,15 @@
|
|
|
3954
4030
|
}
|
|
3955
4031
|
while (true);
|
|
3956
4032
|
};
|
|
3957
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3958
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3959
|
-
i.
|
|
4033
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).za7 = function ($this$flow, completion) {
|
|
4034
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.ua7_1, this.va7_1, completion);
|
|
4035
|
+
i.wa7_1 = $this$flow;
|
|
3960
4036
|
return i;
|
|
3961
4037
|
};
|
|
3962
4038
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3963
4039
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3964
4040
|
var l = function ($this$flow, $completion) {
|
|
3965
|
-
return i.
|
|
4041
|
+
return i.ya7($this$flow, $completion);
|
|
3966
4042
|
};
|
|
3967
4043
|
l.$arity = 1;
|
|
3968
4044
|
return l;
|
|
@@ -4032,29 +4108,29 @@
|
|
|
4032
4108
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4033
4109
|
}
|
|
4034
4110
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4035
|
-
var tmp = $this.
|
|
4111
|
+
var tmp = $this.ca8_1.d6e();
|
|
4036
4112
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4037
|
-
var this_0 = _this__u8e3s4.
|
|
4113
|
+
var this_0 = _this__u8e3s4.ha8_1;
|
|
4038
4114
|
var tmp_0 = copyToArray(this_0);
|
|
4039
4115
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4040
|
-
var this_1 = _this__u8e3s4.
|
|
4116
|
+
var this_1 = _this__u8e3s4.ia8_1;
|
|
4041
4117
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4042
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4118
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ga8_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ja8_1);
|
|
4043
4119
|
}
|
|
4044
4120
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4045
|
-
this.
|
|
4046
|
-
this.
|
|
4047
|
-
this.
|
|
4048
|
-
this.
|
|
4121
|
+
this.ga8_1 = tableId;
|
|
4122
|
+
this.ha8_1 = includePlayers;
|
|
4123
|
+
this.ia8_1 = excludePlayers;
|
|
4124
|
+
this.ja8_1 = deliveryType;
|
|
4049
4125
|
}
|
|
4050
4126
|
protoOf(GroupKey).toString = function () {
|
|
4051
|
-
return 'GroupKey(tableId=' + this.
|
|
4127
|
+
return 'GroupKey(tableId=' + this.ga8_1 + ', includePlayers=' + toString(this.ha8_1) + ', excludePlayers=' + toString(this.ia8_1) + ', deliveryType=' + this.ja8_1.toString() + ')';
|
|
4052
4128
|
};
|
|
4053
4129
|
protoOf(GroupKey).hashCode = function () {
|
|
4054
|
-
var result = getStringHashCode(this.
|
|
4055
|
-
result = imul(result, 31) + hashCode(this.
|
|
4056
|
-
result = imul(result, 31) + hashCode(this.
|
|
4057
|
-
result = imul(result, 31) + this.
|
|
4130
|
+
var result = getStringHashCode(this.ga8_1);
|
|
4131
|
+
result = imul(result, 31) + hashCode(this.ha8_1) | 0;
|
|
4132
|
+
result = imul(result, 31) + hashCode(this.ia8_1) | 0;
|
|
4133
|
+
result = imul(result, 31) + this.ja8_1.hashCode() | 0;
|
|
4058
4134
|
return result;
|
|
4059
4135
|
};
|
|
4060
4136
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4062,35 +4138,35 @@
|
|
|
4062
4138
|
return true;
|
|
4063
4139
|
if (!(other instanceof GroupKey))
|
|
4064
4140
|
return false;
|
|
4065
|
-
if (!(this.
|
|
4141
|
+
if (!(this.ga8_1 === other.ga8_1))
|
|
4066
4142
|
return false;
|
|
4067
|
-
if (!equals(this.
|
|
4143
|
+
if (!equals(this.ha8_1, other.ha8_1))
|
|
4068
4144
|
return false;
|
|
4069
|
-
if (!equals(this.
|
|
4145
|
+
if (!equals(this.ia8_1, other.ia8_1))
|
|
4070
4146
|
return false;
|
|
4071
|
-
if (!this.
|
|
4147
|
+
if (!this.ja8_1.equals(other.ja8_1))
|
|
4072
4148
|
return false;
|
|
4073
4149
|
return true;
|
|
4074
4150
|
};
|
|
4075
4151
|
function Companion_4() {
|
|
4076
|
-
this.
|
|
4152
|
+
this.ka8_1 = 6;
|
|
4077
4153
|
}
|
|
4078
4154
|
var Companion_instance_12;
|
|
4079
4155
|
function Companion_getInstance_5() {
|
|
4080
4156
|
return Companion_instance_12;
|
|
4081
4157
|
}
|
|
4082
4158
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4083
|
-
this.
|
|
4159
|
+
this.ta8_1 = this$0;
|
|
4084
4160
|
CoroutineImpl.call(this, resultContinuation);
|
|
4085
4161
|
}
|
|
4086
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4087
|
-
var tmp = this.
|
|
4162
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).va8 = function (actions, $completion) {
|
|
4163
|
+
var tmp = this.wa8(actions, $completion);
|
|
4088
4164
|
tmp.u8_1 = Unit_instance;
|
|
4089
4165
|
tmp.v8_1 = null;
|
|
4090
4166
|
return tmp.a9();
|
|
4091
4167
|
};
|
|
4092
4168
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4093
|
-
return this.
|
|
4169
|
+
return this.va8((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4094
4170
|
};
|
|
4095
4171
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4096
4172
|
var suspendResult = this.u8_1;
|
|
@@ -4099,7 +4175,7 @@
|
|
|
4099
4175
|
var tmp = this.s8_1;
|
|
4100
4176
|
if (tmp === 0) {
|
|
4101
4177
|
this.t8_1 = 1;
|
|
4102
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4178
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ta8_1, this.ua8_1, null));
|
|
4103
4179
|
} else if (tmp === 1) {
|
|
4104
4180
|
throw this.v8_1;
|
|
4105
4181
|
}
|
|
@@ -4109,23 +4185,23 @@
|
|
|
4109
4185
|
}
|
|
4110
4186
|
while (true);
|
|
4111
4187
|
};
|
|
4112
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4113
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4114
|
-
i.
|
|
4188
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).wa8 = function (actions, completion) {
|
|
4189
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ta8_1, completion);
|
|
4190
|
+
i.ua8_1 = actions;
|
|
4115
4191
|
return i;
|
|
4116
4192
|
};
|
|
4117
4193
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4118
4194
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4119
4195
|
var l = function (actions, $completion) {
|
|
4120
|
-
return i.
|
|
4196
|
+
return i.va8(actions, $completion);
|
|
4121
4197
|
};
|
|
4122
4198
|
l.$arity = 1;
|
|
4123
4199
|
return l;
|
|
4124
4200
|
}
|
|
4125
4201
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4126
4202
|
CoroutineImpl.call(this, resultContinuation);
|
|
4127
|
-
this.
|
|
4128
|
-
this.
|
|
4203
|
+
this.fa9_1 = _this__u8e3s4;
|
|
4204
|
+
this.ga9_1 = fromEvent;
|
|
4129
4205
|
}
|
|
4130
4206
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4131
4207
|
var suspendResult = this.u8_1;
|
|
@@ -4135,8 +4211,8 @@
|
|
|
4135
4211
|
switch (tmp) {
|
|
4136
4212
|
case 0:
|
|
4137
4213
|
this.t8_1 = 2;
|
|
4138
|
-
this.
|
|
4139
|
-
var tmp0 = this.
|
|
4214
|
+
this.fa9_1.ea8_1;
|
|
4215
|
+
var tmp0 = this.fa9_1.da8_1;
|
|
4140
4216
|
l$ret$1: do {
|
|
4141
4217
|
while (true) {
|
|
4142
4218
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4148,7 +4224,7 @@
|
|
|
4148
4224
|
}
|
|
4149
4225
|
while (false);
|
|
4150
4226
|
this.s8_1 = 1;
|
|
4151
|
-
suspendResult = this.
|
|
4227
|
+
suspendResult = this.fa9_1.fa8_1.n28(this.ga9_1, this);
|
|
4152
4228
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4153
4229
|
return suspendResult;
|
|
4154
4230
|
}
|
|
@@ -4172,7 +4248,7 @@
|
|
|
4172
4248
|
};
|
|
4173
4249
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4174
4250
|
CoroutineImpl.call(this, resultContinuation);
|
|
4175
|
-
this.
|
|
4251
|
+
this.pa9_1 = _this__u8e3s4;
|
|
4176
4252
|
}
|
|
4177
4253
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4178
4254
|
var suspendResult = this.u8_1;
|
|
@@ -4182,12 +4258,12 @@
|
|
|
4182
4258
|
switch (tmp) {
|
|
4183
4259
|
case 0:
|
|
4184
4260
|
this.t8_1 = 5;
|
|
4185
|
-
this.
|
|
4186
|
-
this.
|
|
4261
|
+
this.pa9_1.ea8_1;
|
|
4262
|
+
this.qa9_1 = 0;
|
|
4187
4263
|
this.s8_1 = 1;
|
|
4188
4264
|
continue $sm;
|
|
4189
4265
|
case 1:
|
|
4190
|
-
if (!!(this.
|
|
4266
|
+
if (!!(this.pa9_1.da8_1.kotlinx$atomicfu$value === 0)) {
|
|
4191
4267
|
this.s8_1 = 4;
|
|
4192
4268
|
continue $sm;
|
|
4193
4269
|
}
|
|
@@ -4200,9 +4276,9 @@
|
|
|
4200
4276
|
|
|
4201
4277
|
continue $sm;
|
|
4202
4278
|
case 2:
|
|
4203
|
-
this.
|
|
4204
|
-
if (this.
|
|
4205
|
-
this.
|
|
4279
|
+
this.qa9_1 = this.qa9_1 + 1 | 0;
|
|
4280
|
+
if (this.qa9_1 > 6) {
|
|
4281
|
+
this.pa9_1.ba8_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.pa9_1.da8_1.kotlinx$atomicfu$value);
|
|
4206
4282
|
this.s8_1 = 4;
|
|
4207
4283
|
continue $sm;
|
|
4208
4284
|
} else {
|
|
@@ -4230,183 +4306,183 @@
|
|
|
4230
4306
|
while (true);
|
|
4231
4307
|
};
|
|
4232
4308
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4233
|
-
this.
|
|
4234
|
-
this.
|
|
4235
|
-
this.
|
|
4236
|
-
this.
|
|
4309
|
+
this.aa8_1 = serverReduxConfig;
|
|
4310
|
+
this.ba8_1 = logger;
|
|
4311
|
+
this.ca8_1 = idsProvider;
|
|
4312
|
+
this.da8_1 = atomic$ref$1(0);
|
|
4237
4313
|
var tmp = this;
|
|
4238
4314
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4239
|
-
tmp.
|
|
4240
|
-
this.
|
|
4315
|
+
tmp.ea8_1 = get_atomicfu$reentrantLock();
|
|
4316
|
+
this.fa8_1 = MutableSharedFlow();
|
|
4241
4317
|
}
|
|
4242
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4318
|
+
protoOf(ToClientEventsObserverImpl).la7 = function (fromEvent, $completion) {
|
|
4243
4319
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4244
4320
|
tmp.u8_1 = Unit_instance;
|
|
4245
4321
|
tmp.v8_1 = null;
|
|
4246
4322
|
return tmp.a9();
|
|
4247
4323
|
};
|
|
4248
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4324
|
+
protoOf(ToClientEventsObserverImpl).z9g = function ($completion) {
|
|
4249
4325
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4250
4326
|
tmp.u8_1 = Unit_instance;
|
|
4251
4327
|
tmp.v8_1 = null;
|
|
4252
4328
|
return tmp.a9();
|
|
4253
4329
|
};
|
|
4254
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4255
|
-
if (!this.
|
|
4256
|
-
return this.
|
|
4330
|
+
protoOf(ToClientEventsObserverImpl).x9x = function () {
|
|
4331
|
+
if (!this.aa8_1.enabledCombinedEvents) {
|
|
4332
|
+
return this.fa8_1;
|
|
4257
4333
|
}
|
|
4258
|
-
var tmp = windowedByInterval(this.
|
|
4334
|
+
var tmp = windowedByInterval(this.fa8_1, fromInt(this.aa8_1.combinedEventsIntervalMillis));
|
|
4259
4335
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4260
4336
|
};
|
|
4261
4337
|
function UpdateServerConfigAction(serverConfig) {
|
|
4262
|
-
this.
|
|
4338
|
+
this.ra9_1 = serverConfig;
|
|
4263
4339
|
}
|
|
4264
4340
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4265
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4341
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ra9_1.toString() + ')';
|
|
4266
4342
|
};
|
|
4267
4343
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4268
|
-
return this.
|
|
4344
|
+
return this.ra9_1.hashCode();
|
|
4269
4345
|
};
|
|
4270
4346
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4271
4347
|
if (this === other)
|
|
4272
4348
|
return true;
|
|
4273
4349
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4274
4350
|
return false;
|
|
4275
|
-
if (!this.
|
|
4351
|
+
if (!this.ra9_1.equals(other.ra9_1))
|
|
4276
4352
|
return false;
|
|
4277
4353
|
return true;
|
|
4278
4354
|
};
|
|
4279
4355
|
function SpectatorsAction() {
|
|
4280
4356
|
}
|
|
4281
4357
|
function AddSpectatorsAction(spectators) {
|
|
4282
|
-
this.
|
|
4358
|
+
this.sa9_1 = spectators;
|
|
4283
4359
|
}
|
|
4284
4360
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4285
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4361
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.sa9_1) + ')';
|
|
4286
4362
|
};
|
|
4287
4363
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4288
|
-
return hashCode(this.
|
|
4364
|
+
return hashCode(this.sa9_1);
|
|
4289
4365
|
};
|
|
4290
4366
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4291
4367
|
if (this === other)
|
|
4292
4368
|
return true;
|
|
4293
4369
|
if (!(other instanceof AddSpectatorsAction))
|
|
4294
4370
|
return false;
|
|
4295
|
-
if (!equals(this.
|
|
4371
|
+
if (!equals(this.sa9_1, other.sa9_1))
|
|
4296
4372
|
return false;
|
|
4297
4373
|
return true;
|
|
4298
4374
|
};
|
|
4299
4375
|
function RemoveSpectatorsAction(spectators) {
|
|
4300
|
-
this.
|
|
4376
|
+
this.ta9_1 = spectators;
|
|
4301
4377
|
}
|
|
4302
4378
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4303
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4379
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ta9_1) + ')';
|
|
4304
4380
|
};
|
|
4305
4381
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4306
|
-
return hashCode(this.
|
|
4382
|
+
return hashCode(this.ta9_1);
|
|
4307
4383
|
};
|
|
4308
4384
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4309
4385
|
if (this === other)
|
|
4310
4386
|
return true;
|
|
4311
4387
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4312
4388
|
return false;
|
|
4313
|
-
if (!equals(this.
|
|
4389
|
+
if (!equals(this.ta9_1, other.ta9_1))
|
|
4314
4390
|
return false;
|
|
4315
4391
|
return true;
|
|
4316
4392
|
};
|
|
4317
4393
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4318
|
-
var tmp0 = $this.
|
|
4394
|
+
var tmp0 = $this.za9_1;
|
|
4319
4395
|
var tmp = KProperty1;
|
|
4320
4396
|
// Inline function 'kotlin.getValue' call
|
|
4321
4397
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4322
4398
|
return tmp0.x();
|
|
4323
4399
|
}
|
|
4324
4400
|
function _get_logger__rkp4sl($this) {
|
|
4325
|
-
var tmp0 = $this.
|
|
4401
|
+
var tmp0 = $this.aaa_1;
|
|
4326
4402
|
var tmp = KProperty1;
|
|
4327
4403
|
// Inline function 'kotlin.getValue' call
|
|
4328
4404
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4329
4405
|
return tmp0.x();
|
|
4330
4406
|
}
|
|
4331
4407
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4332
|
-
var tmp0 = $this.
|
|
4408
|
+
var tmp0 = $this.baa_1;
|
|
4333
4409
|
var tmp = KProperty1;
|
|
4334
4410
|
// Inline function 'kotlin.getValue' call
|
|
4335
4411
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4336
4412
|
return tmp0.x();
|
|
4337
4413
|
}
|
|
4338
4414
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4339
|
-
var tmp0 = $this.
|
|
4415
|
+
var tmp0 = $this.caa_1;
|
|
4340
4416
|
var tmp = KProperty1;
|
|
4341
4417
|
// Inline function 'kotlin.getValue' call
|
|
4342
4418
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4343
4419
|
return tmp0.x();
|
|
4344
4420
|
}
|
|
4345
4421
|
function _get_serverConfig__rk2g06($this) {
|
|
4346
|
-
var tmp0 = $this.
|
|
4422
|
+
var tmp0 = $this.daa_1;
|
|
4347
4423
|
var tmp = KProperty1;
|
|
4348
4424
|
// Inline function 'kotlin.getValue' call
|
|
4349
4425
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4350
4426
|
return tmp0.x();
|
|
4351
4427
|
}
|
|
4352
4428
|
function _get_logicConfig__52ww9d($this) {
|
|
4353
|
-
var tmp0 = $this.
|
|
4429
|
+
var tmp0 = $this.eaa_1;
|
|
4354
4430
|
var tmp = KProperty1;
|
|
4355
4431
|
// Inline function 'kotlin.getValue' call
|
|
4356
4432
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4357
4433
|
return tmp0.x();
|
|
4358
4434
|
}
|
|
4359
4435
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4360
|
-
var tmp0 = $this.
|
|
4436
|
+
var tmp0 = $this.faa_1;
|
|
4361
4437
|
var tmp = KProperty1;
|
|
4362
4438
|
// Inline function 'kotlin.getValue' call
|
|
4363
4439
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4364
4440
|
return tmp0.x();
|
|
4365
4441
|
}
|
|
4366
4442
|
function _get_botConfig__cpaxzc($this) {
|
|
4367
|
-
var tmp0 = $this.
|
|
4443
|
+
var tmp0 = $this.gaa_1;
|
|
4368
4444
|
var tmp = KProperty1;
|
|
4369
4445
|
// Inline function 'kotlin.getValue' call
|
|
4370
4446
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4371
4447
|
return tmp0.x();
|
|
4372
4448
|
}
|
|
4373
4449
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4374
|
-
var tmp0 = $this.
|
|
4450
|
+
var tmp0 = $this.haa_1;
|
|
4375
4451
|
var tmp = KProperty1;
|
|
4376
4452
|
// Inline function 'kotlin.getValue' call
|
|
4377
4453
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4378
4454
|
return tmp0.x();
|
|
4379
4455
|
}
|
|
4380
4456
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4381
|
-
var tmp0 = $this.
|
|
4457
|
+
var tmp0 = $this.iaa_1;
|
|
4382
4458
|
var tmp = KProperty1;
|
|
4383
4459
|
// Inline function 'kotlin.getValue' call
|
|
4384
4460
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4385
4461
|
return tmp0.x();
|
|
4386
4462
|
}
|
|
4387
4463
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4388
|
-
var tmp0 = $this.
|
|
4464
|
+
var tmp0 = $this.jaa_1;
|
|
4389
4465
|
var tmp = KProperty1;
|
|
4390
4466
|
// Inline function 'kotlin.getValue' call
|
|
4391
4467
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4392
4468
|
return tmp0.x();
|
|
4393
4469
|
}
|
|
4394
4470
|
function _get_dealerConfig__183ci8($this) {
|
|
4395
|
-
var tmp0 = $this.
|
|
4471
|
+
var tmp0 = $this.kaa_1;
|
|
4396
4472
|
var tmp = KProperty1;
|
|
4397
4473
|
// Inline function 'kotlin.getValue' call
|
|
4398
4474
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4399
4475
|
return tmp0.x();
|
|
4400
4476
|
}
|
|
4401
4477
|
function _get_poolProvider__tqti6a($this) {
|
|
4402
|
-
var tmp0 = $this.
|
|
4478
|
+
var tmp0 = $this.laa_1;
|
|
4403
4479
|
var tmp = KProperty1;
|
|
4404
4480
|
// Inline function 'kotlin.getValue' call
|
|
4405
4481
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4406
4482
|
return tmp0.x();
|
|
4407
4483
|
}
|
|
4408
4484
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4409
|
-
var tmp0 = $this.
|
|
4485
|
+
var tmp0 = $this.maa_1;
|
|
4410
4486
|
var tmp = KProperty1;
|
|
4411
4487
|
// Inline function 'kotlin.getValue' call
|
|
4412
4488
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4570,11 +4646,11 @@
|
|
|
4570
4646
|
tmp = fileLoggerStoreContract;
|
|
4571
4647
|
}
|
|
4572
4648
|
fileLoggerStoreContract = tmp;
|
|
4573
|
-
this.
|
|
4574
|
-
this.
|
|
4575
|
-
this.
|
|
4576
|
-
this.
|
|
4577
|
-
this.
|
|
4649
|
+
this.ua9_1 = validationStoreContract;
|
|
4650
|
+
this.va9_1 = timersStoreContract;
|
|
4651
|
+
this.wa9_1 = botGameStoreContract;
|
|
4652
|
+
this.xa9_1 = gameMechanicStoreContract;
|
|
4653
|
+
this.ya9_1 = fileLoggerStoreContract;
|
|
4578
4654
|
var tmp_0 = this;
|
|
4579
4655
|
// Inline function 'org.kodein.di.instance' call
|
|
4580
4656
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4582,7 +4658,7 @@
|
|
|
4582
4658
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4583
4659
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4584
4660
|
var tmp_3 = KProperty1;
|
|
4585
|
-
tmp_0.
|
|
4661
|
+
tmp_0.za9_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4586
4662
|
var tmp_4 = this;
|
|
4587
4663
|
// Inline function 'org.kodein.di.instance' call
|
|
4588
4664
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4590,7 +4666,7 @@
|
|
|
4590
4666
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4591
4667
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4592
4668
|
var tmp_7 = KProperty1;
|
|
4593
|
-
tmp_4.
|
|
4669
|
+
tmp_4.aaa_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4594
4670
|
var tmp_8 = this;
|
|
4595
4671
|
// Inline function 'org.kodein.di.instance' call
|
|
4596
4672
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4598,7 +4674,7 @@
|
|
|
4598
4674
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4599
4675
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4600
4676
|
var tmp_11 = KProperty1;
|
|
4601
|
-
tmp_8.
|
|
4677
|
+
tmp_8.baa_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4602
4678
|
var tmp_12 = this;
|
|
4603
4679
|
// Inline function 'org.kodein.di.instance' call
|
|
4604
4680
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4606,7 +4682,7 @@
|
|
|
4606
4682
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4607
4683
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4608
4684
|
var tmp_15 = KProperty1;
|
|
4609
|
-
tmp_12.
|
|
4685
|
+
tmp_12.caa_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4610
4686
|
var tmp_16 = this;
|
|
4611
4687
|
// Inline function 'org.kodein.di.instance' call
|
|
4612
4688
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4614,7 +4690,7 @@
|
|
|
4614
4690
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4615
4691
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4616
4692
|
var tmp_19 = KProperty1;
|
|
4617
|
-
tmp_16.
|
|
4693
|
+
tmp_16.daa_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4618
4694
|
var tmp_20 = this;
|
|
4619
4695
|
// Inline function 'org.kodein.di.instance' call
|
|
4620
4696
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4622,7 +4698,7 @@
|
|
|
4622
4698
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4623
4699
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4624
4700
|
var tmp_23 = KProperty1;
|
|
4625
|
-
tmp_20.
|
|
4701
|
+
tmp_20.eaa_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4626
4702
|
var tmp_24 = this;
|
|
4627
4703
|
// Inline function 'org.kodein.di.instance' call
|
|
4628
4704
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4630,7 +4706,7 @@
|
|
|
4630
4706
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4631
4707
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4632
4708
|
var tmp_27 = KProperty1;
|
|
4633
|
-
tmp_24.
|
|
4709
|
+
tmp_24.faa_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4634
4710
|
var tmp_28 = this;
|
|
4635
4711
|
// Inline function 'org.kodein.di.instance' call
|
|
4636
4712
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4638,7 +4714,7 @@
|
|
|
4638
4714
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4639
4715
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4640
4716
|
var tmp_31 = KProperty1;
|
|
4641
|
-
tmp_28.
|
|
4717
|
+
tmp_28.gaa_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4642
4718
|
var tmp_32 = this;
|
|
4643
4719
|
// Inline function 'org.kodein.di.instance' call
|
|
4644
4720
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4646,7 +4722,7 @@
|
|
|
4646
4722
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4647
4723
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4648
4724
|
var tmp_35 = KProperty1;
|
|
4649
|
-
tmp_32.
|
|
4725
|
+
tmp_32.haa_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4650
4726
|
var tmp_36 = this;
|
|
4651
4727
|
// Inline function 'org.kodein.di.instance' call
|
|
4652
4728
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4654,7 +4730,7 @@
|
|
|
4654
4730
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4655
4731
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4656
4732
|
var tmp_39 = KProperty1;
|
|
4657
|
-
tmp_36.
|
|
4733
|
+
tmp_36.iaa_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4658
4734
|
var tmp_40 = this;
|
|
4659
4735
|
// Inline function 'org.kodein.di.instance' call
|
|
4660
4736
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4662,7 +4738,7 @@
|
|
|
4662
4738
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4663
4739
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4664
4740
|
var tmp_43 = KProperty1;
|
|
4665
|
-
tmp_40.
|
|
4741
|
+
tmp_40.jaa_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4666
4742
|
var tmp_44 = this;
|
|
4667
4743
|
// Inline function 'org.kodein.di.instance' call
|
|
4668
4744
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4670,7 +4746,7 @@
|
|
|
4670
4746
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4671
4747
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4672
4748
|
var tmp_47 = KProperty1;
|
|
4673
|
-
tmp_44.
|
|
4749
|
+
tmp_44.kaa_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4674
4750
|
var tmp_48 = this;
|
|
4675
4751
|
// Inline function 'org.kodein.di.instance' call
|
|
4676
4752
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4678,7 +4754,7 @@
|
|
|
4678
4754
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4679
4755
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4680
4756
|
var tmp_51 = KProperty1;
|
|
4681
|
-
tmp_48.
|
|
4757
|
+
tmp_48.laa_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4682
4758
|
var tmp_52 = this;
|
|
4683
4759
|
// Inline function 'org.kodein.di.instance' call
|
|
4684
4760
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4686,20 +4762,20 @@
|
|
|
4686
4762
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4687
4763
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4688
4764
|
var tmp_55 = KProperty1;
|
|
4689
|
-
tmp_52.
|
|
4765
|
+
tmp_52.maa_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4690
4766
|
}
|
|
4691
|
-
protoOf(ServerGameStoreContract).
|
|
4692
|
-
return plus(plus(plus(plus(plus(this.
|
|
4767
|
+
protoOf(ServerGameStoreContract).w95 = function () {
|
|
4768
|
+
return plus(plus(plus(plus(plus(this.ua9_1.w95(), this.xa9_1.w95()), this.va9_1.w95()), this.wa9_1.w95()), this.ya9_1.w95()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4693
4769
|
};
|
|
4694
|
-
protoOf(ServerGameStoreContract).
|
|
4695
|
-
var tmp = this.
|
|
4770
|
+
protoOf(ServerGameStoreContract).x95 = function () {
|
|
4771
|
+
var tmp = this.ua9_1.x95();
|
|
4696
4772
|
var tmp_0;
|
|
4697
4773
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4698
4774
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4699
4775
|
} else {
|
|
4700
4776
|
tmp_0 = null;
|
|
4701
4777
|
}
|
|
4702
|
-
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
4778
|
+
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.xa9_1.x95()), this.va9_1.x95()), this.wa9_1.x95()), this.ya9_1.x95()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).d98(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4703
4779
|
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4704
4780
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4705
4781
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4726,10 +4802,10 @@
|
|
|
4726
4802
|
}
|
|
4727
4803
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4728
4804
|
}
|
|
4729
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4805
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
4730
4806
|
return action instanceof RoundEndedAction;
|
|
4731
4807
|
};
|
|
4732
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4808
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
4733
4809
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4734
4810
|
$l$block_0: {
|
|
4735
4811
|
next(tmp4);
|
|
@@ -4739,33 +4815,33 @@
|
|
|
4739
4815
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.tableOrNull));
|
|
4740
4816
|
break $l$block_0;
|
|
4741
4817
|
}
|
|
4742
|
-
if (state.
|
|
4818
|
+
if (state.a6s().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4743
4819
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.tableOrNull));
|
|
4744
4820
|
break $l$block_0;
|
|
4745
4821
|
}
|
|
4746
4822
|
}
|
|
4747
4823
|
}
|
|
4748
4824
|
};
|
|
4749
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4750
|
-
return this.
|
|
4825
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
4826
|
+
return this.u6h(store, next, action);
|
|
4751
4827
|
};
|
|
4752
4828
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4753
|
-
this.
|
|
4829
|
+
this.paa_1 = this$0;
|
|
4754
4830
|
}
|
|
4755
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4831
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
4756
4832
|
return action instanceof MechanicAction;
|
|
4757
4833
|
};
|
|
4758
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4834
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
4759
4835
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4760
4836
|
var state = store.state;
|
|
4761
4837
|
// Inline function 'kotlin.with' call
|
|
4762
4838
|
var tmp;
|
|
4763
4839
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4764
|
-
var tmp0 = this.
|
|
4765
|
-
var tmp2 = action_0.
|
|
4766
|
-
var tmp4 = action_0.
|
|
4840
|
+
var tmp0 = this.paa_1;
|
|
4841
|
+
var tmp2 = action_0.b92_1;
|
|
4842
|
+
var tmp4 = action_0.d92_1;
|
|
4767
4843
|
// Inline function 'kotlin.collections.map' call
|
|
4768
|
-
var this_0 = action_0.
|
|
4844
|
+
var this_0 = action_0.e92_1;
|
|
4769
4845
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4770
4846
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4771
4847
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4801,7 +4877,7 @@
|
|
|
4801
4877
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4802
4878
|
while (_iterator__ex2g4s_2.m()) {
|
|
4803
4879
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4804
|
-
var tmp0_aid = tmp0.
|
|
4880
|
+
var tmp0_aid = tmp0.oaa_1.d6e();
|
|
4805
4881
|
// Inline function 'kotlin.collections.map' call
|
|
4806
4882
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4807
4883
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4823,16 +4899,16 @@
|
|
|
4823
4899
|
tmp = destination_2;
|
|
4824
4900
|
} else {
|
|
4825
4901
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4826
|
-
var tmp0_0 = this.
|
|
4902
|
+
var tmp0_0 = this.paa_1;
|
|
4827
4903
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4828
|
-
var table = state.
|
|
4829
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4904
|
+
var table = state.a6s();
|
|
4905
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.oaa_1.d6e(), table.id, null);
|
|
4830
4906
|
var tmp$ret$21 = mapToClient_17(action_0, sendToPlayer_0);
|
|
4831
4907
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4832
4908
|
} else {
|
|
4833
4909
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4834
|
-
var tmp0_1 = this.
|
|
4835
|
-
var tmp2_0 = action_0.
|
|
4910
|
+
var tmp0_1 = this.paa_1;
|
|
4911
|
+
var tmp2_0 = action_0.h92_1.id;
|
|
4836
4912
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4837
4913
|
// Inline function 'kotlin.collections.map' call
|
|
4838
4914
|
var this_1 = action_0.users;
|
|
@@ -4871,7 +4947,7 @@
|
|
|
4871
4947
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4872
4948
|
while (_iterator__ex2g4s_7.m()) {
|
|
4873
4949
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4874
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4950
|
+
var tmp0_aid_0 = tmp0_1.oaa_1.d6e();
|
|
4875
4951
|
// Inline function 'kotlin.collections.map' call
|
|
4876
4952
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4877
4953
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4893,41 +4969,41 @@
|
|
|
4893
4969
|
tmp = destination_7;
|
|
4894
4970
|
} else {
|
|
4895
4971
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4896
|
-
var tmp0_2 = this.
|
|
4972
|
+
var tmp0_2 = this.paa_1;
|
|
4897
4973
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4898
|
-
var table_0 = state.
|
|
4899
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4974
|
+
var table_0 = state.a6s();
|
|
4975
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.oaa_1.d6e(), table_0.id, null);
|
|
4900
4976
|
var tmp$ret$44 = mapToClient_15(action_0, sendToPlayer_2);
|
|
4901
4977
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4902
4978
|
} else {
|
|
4903
4979
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4904
|
-
var tmp0_3 = this.
|
|
4980
|
+
var tmp0_3 = this.paa_1;
|
|
4905
4981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4906
|
-
var table_1 = state.
|
|
4907
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4982
|
+
var table_1 = state.a6s();
|
|
4983
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.oaa_1.d6e(), table_1.id, null);
|
|
4908
4984
|
var tmp$ret$46 = mapToClient_14(action_0, sendToPlayer_3);
|
|
4909
4985
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4910
4986
|
} else {
|
|
4911
4987
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4912
|
-
var tmp0_4 = this.
|
|
4988
|
+
var tmp0_4 = this.paa_1;
|
|
4913
4989
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4914
|
-
var table_2 = state.
|
|
4915
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4990
|
+
var table_2 = state.a6s();
|
|
4991
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.oaa_1.d6e(), table_2.id, null);
|
|
4916
4992
|
var tmp$ret$48 = mapToClient_13(action_0, sendToPlayer_4);
|
|
4917
4993
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4918
4994
|
} else {
|
|
4919
4995
|
if (action_0 instanceof ErrorAction) {
|
|
4920
|
-
var tmp0_5 = this.
|
|
4996
|
+
var tmp0_5 = this.paa_1;
|
|
4921
4997
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4922
|
-
var table_3 = state.
|
|
4923
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4998
|
+
var table_3 = state.a6s();
|
|
4999
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.oaa_1.d6e(), table_3.id, null);
|
|
4924
5000
|
var tmp$ret$50 = mapToClient_12(action_0, sendToPlayer_5);
|
|
4925
5001
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4926
5002
|
} else {
|
|
4927
5003
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4928
|
-
var tmp0_6 = this.
|
|
5004
|
+
var tmp0_6 = this.paa_1;
|
|
4929
5005
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4930
|
-
var table_4 = state.
|
|
5006
|
+
var table_4 = state.a6s();
|
|
4931
5007
|
var tmp2_1 = table_4.id;
|
|
4932
5008
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4933
5009
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4958,7 +5034,7 @@
|
|
|
4958
5034
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4959
5035
|
while (_iterator__ex2g4s_11.m()) {
|
|
4960
5036
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4961
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5037
|
+
var tmp0_aid_1 = tmp0_6.oaa_1.d6e();
|
|
4962
5038
|
// Inline function 'kotlin.collections.map' call
|
|
4963
5039
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4964
5040
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4980,9 +5056,9 @@
|
|
|
4980
5056
|
tmp = destination_11;
|
|
4981
5057
|
} else {
|
|
4982
5058
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4983
|
-
var tmp0_7 = this.
|
|
5059
|
+
var tmp0_7 = this.paa_1;
|
|
4984
5060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4985
|
-
var table_5 = state.
|
|
5061
|
+
var table_5 = state.a6s();
|
|
4986
5062
|
var tmp2_2 = table_5.id;
|
|
4987
5063
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4988
5064
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5013,7 +5089,7 @@
|
|
|
5013
5089
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5014
5090
|
while (_iterator__ex2g4s_15.m()) {
|
|
5015
5091
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5016
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5092
|
+
var tmp0_aid_2 = tmp0_7.oaa_1.d6e();
|
|
5017
5093
|
// Inline function 'kotlin.collections.map' call
|
|
5018
5094
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5019
5095
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5035,9 +5111,9 @@
|
|
|
5035
5111
|
tmp = destination_15;
|
|
5036
5112
|
} else {
|
|
5037
5113
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5038
|
-
var tmp0_8 = this.
|
|
5114
|
+
var tmp0_8 = this.paa_1;
|
|
5039
5115
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5040
|
-
var table_6 = state.
|
|
5116
|
+
var table_6 = state.a6s();
|
|
5041
5117
|
var tmp2_3 = table_6.id;
|
|
5042
5118
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
5043
5119
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5068,7 +5144,7 @@
|
|
|
5068
5144
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5069
5145
|
while (_iterator__ex2g4s_19.m()) {
|
|
5070
5146
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5071
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5147
|
+
var tmp0_aid_3 = tmp0_8.oaa_1.d6e();
|
|
5072
5148
|
// Inline function 'kotlin.collections.map' call
|
|
5073
5149
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5074
5150
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5080,7 +5156,7 @@
|
|
|
5080
5156
|
}
|
|
5081
5157
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5082
5158
|
var tmp_0;
|
|
5083
|
-
if (this.
|
|
5159
|
+
if (this.paa_1.naa_1.supportBackwardActions && getPlayer(state.a6s().players, sendToPlayer_8.h7g_1).m6v_1.h6z_1) {
|
|
5084
5160
|
tmp_0 = null;
|
|
5085
5161
|
} else {
|
|
5086
5162
|
tmp_0 = mapToClient_9(action_0, sendToPlayer_8);
|
|
@@ -5096,81 +5172,81 @@
|
|
|
5096
5172
|
tmp = destination_19;
|
|
5097
5173
|
} else {
|
|
5098
5174
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5099
|
-
var tmp0_9 = this.
|
|
5100
|
-
var tmp2_4 = state.
|
|
5175
|
+
var tmp0_9 = this.paa_1;
|
|
5176
|
+
var tmp2_4 = state.a6s();
|
|
5101
5177
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5102
|
-
var exceptPlayerId = this.
|
|
5103
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5178
|
+
var exceptPlayerId = this.paa_1.naa_1.supportBackwardActions ? action_0.x92_1 : null;
|
|
5179
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.oaa_1.d6e(), tmp2_4.id, exceptPlayerId);
|
|
5104
5180
|
var tmp$ret$109 = mapToClient_8(action_0, sendToPlayer_9);
|
|
5105
5181
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5106
5182
|
} else {
|
|
5107
5183
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5108
|
-
var tmp0_10 = this.
|
|
5109
|
-
var tmp2_5 = state.
|
|
5184
|
+
var tmp0_10 = this.paa_1;
|
|
5185
|
+
var tmp2_5 = state.a6s();
|
|
5110
5186
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5111
|
-
var exceptPlayerId_0 = this.
|
|
5112
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5187
|
+
var exceptPlayerId_0 = this.paa_1.naa_1.supportBackwardActions ? action_0.c8y_1 : null;
|
|
5188
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.oaa_1.d6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5113
5189
|
var tmp$ret$111 = mapToClient_7(action_0, sendToPlayer_10);
|
|
5114
5190
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5115
5191
|
} else {
|
|
5116
5192
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5117
|
-
var tmp0_11 = this.
|
|
5193
|
+
var tmp0_11 = this.paa_1;
|
|
5118
5194
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5119
|
-
var table_7 = state.
|
|
5120
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5195
|
+
var table_7 = state.a6s();
|
|
5196
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.oaa_1.d6e(), table_7.id, null);
|
|
5121
5197
|
var tmp$ret$113 = mapToClient_6(action_0, sendToPlayer_11);
|
|
5122
5198
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5123
5199
|
} else {
|
|
5124
5200
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5125
|
-
var tmp0_12 = this.
|
|
5126
|
-
var tmp2_6 = state.
|
|
5201
|
+
var tmp0_12 = this.paa_1;
|
|
5202
|
+
var tmp2_6 = state.a6s();
|
|
5127
5203
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5128
|
-
var exceptPlayerId_1 = this.
|
|
5129
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5204
|
+
var exceptPlayerId_1 = this.paa_1.naa_1.supportBackwardActions ? action_0.d93_1 : null;
|
|
5205
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.oaa_1.d6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5130
5206
|
var tmp$ret$115 = mapToClient_5(action_0, sendToPlayer_12);
|
|
5131
5207
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5132
5208
|
} else {
|
|
5133
5209
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5134
|
-
var tmp0_13 = this.
|
|
5135
|
-
var tmp2_7 = state.
|
|
5210
|
+
var tmp0_13 = this.paa_1;
|
|
5211
|
+
var tmp2_7 = state.a6s();
|
|
5136
5212
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5137
|
-
var exceptPlayerId_2 = this.
|
|
5138
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5213
|
+
var exceptPlayerId_2 = this.paa_1.naa_1.supportBackwardActions ? action_0.i8y_1 : null;
|
|
5214
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.oaa_1.d6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5139
5215
|
var tmp$ret$117 = mapToClient_4(action_0, sendToPlayer_13);
|
|
5140
5216
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5141
5217
|
} else {
|
|
5142
5218
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5143
|
-
var tmp0_14 = this.
|
|
5219
|
+
var tmp0_14 = this.paa_1;
|
|
5144
5220
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5145
|
-
var table_8 = state.
|
|
5146
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5221
|
+
var table_8 = state.a6s();
|
|
5222
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.oaa_1.d6e(), table_8.id, null);
|
|
5147
5223
|
var tmp$ret$119 = mapToClient_3(action_0, sendToPlayer_14);
|
|
5148
5224
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5149
5225
|
} else {
|
|
5150
5226
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5151
|
-
var tmp0_15 = this.
|
|
5152
|
-
var tmp2_8 = state.
|
|
5227
|
+
var tmp0_15 = this.paa_1;
|
|
5228
|
+
var tmp2_8 = state.a6s();
|
|
5153
5229
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5154
|
-
var exceptPlayerId_3 = this.
|
|
5155
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5230
|
+
var exceptPlayerId_3 = this.paa_1.naa_1.supportBackwardActions ? action_0.f93_1 : null;
|
|
5231
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.oaa_1.d6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5156
5232
|
var tmp$ret$121 = mapToClient_2(action_0, sendToPlayer_15);
|
|
5157
5233
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5158
5234
|
} else {
|
|
5159
5235
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5160
|
-
var tmp0_16 = this.
|
|
5236
|
+
var tmp0_16 = this.paa_1;
|
|
5161
5237
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5162
|
-
var table_9 = state.
|
|
5163
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5238
|
+
var table_9 = state.a6s();
|
|
5239
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.oaa_1.d6e(), table_9.id, null);
|
|
5164
5240
|
var tmp$ret$123 = mapToClient_1(action_0, sendToPlayer_16);
|
|
5165
5241
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5166
5242
|
} else {
|
|
5167
5243
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5168
|
-
var message = action_0.
|
|
5169
|
-
var tmp0_17 = this.
|
|
5170
|
-
var tmp2_9 = state.
|
|
5244
|
+
var message = action_0.k93_1;
|
|
5245
|
+
var tmp0_17 = this.paa_1;
|
|
5246
|
+
var tmp2_9 = state.a6s();
|
|
5171
5247
|
var tmp_1;
|
|
5172
5248
|
var tmp_2;
|
|
5173
|
-
if (this.
|
|
5249
|
+
if (this.paa_1.naa_1.supportBackwardActions) {
|
|
5174
5250
|
tmp_2 = isInterface(message, UserMessage);
|
|
5175
5251
|
} else {
|
|
5176
5252
|
tmp_2 = false;
|
|
@@ -5182,16 +5258,16 @@
|
|
|
5182
5258
|
}
|
|
5183
5259
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5184
5260
|
var exceptPlayerId_4 = tmp_1;
|
|
5185
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5261
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.oaa_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5186
5262
|
var tmp$ret$125 = mapToClient_0(action_0, sendToPlayer_17);
|
|
5187
5263
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5188
5264
|
} else {
|
|
5189
5265
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5190
|
-
var tmp0_18 = this.
|
|
5191
|
-
var tmp2_10 = state.
|
|
5266
|
+
var tmp0_18 = this.paa_1;
|
|
5267
|
+
var tmp2_10 = state.a6s();
|
|
5192
5268
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5193
5269
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5194
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5270
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.oaa_1.d6e(), tmp2_10.id, exceptPlayerId_5);
|
|
5195
5271
|
var tmp$ret$127 = mapToClient(action_0, sendToPlayer_18);
|
|
5196
5272
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5197
5273
|
} else {
|
|
@@ -5225,14 +5301,14 @@
|
|
|
5225
5301
|
}
|
|
5226
5302
|
next(action_0);
|
|
5227
5303
|
};
|
|
5228
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
5229
|
-
return this.
|
|
5304
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
5305
|
+
return this.u6h(store, next, action);
|
|
5230
5306
|
};
|
|
5231
5307
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5232
|
-
this.
|
|
5233
|
-
this.
|
|
5308
|
+
this.naa_1 = logicConfig;
|
|
5309
|
+
this.oaa_1 = idsProvider;
|
|
5234
5310
|
}
|
|
5235
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5311
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).d98 = function () {
|
|
5236
5312
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5237
5313
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5238
5314
|
};
|
|
@@ -5241,8 +5317,8 @@
|
|
|
5241
5317
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5242
5318
|
}
|
|
5243
5319
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5244
|
-
this.
|
|
5245
|
-
this.
|
|
5320
|
+
this.yaa_1 = $provider;
|
|
5321
|
+
this.zaa_1 = $action;
|
|
5246
5322
|
CoroutineImpl.call(this, resultContinuation);
|
|
5247
5323
|
}
|
|
5248
5324
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5263,7 +5339,7 @@
|
|
|
5263
5339
|
case 0:
|
|
5264
5340
|
this.t8_1 = 2;
|
|
5265
5341
|
this.s8_1 = 1;
|
|
5266
|
-
suspendResult = this.
|
|
5342
|
+
suspendResult = this.yaa_1.la7(this.zaa_1, this);
|
|
5267
5343
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5268
5344
|
return suspendResult;
|
|
5269
5345
|
}
|
|
@@ -5286,8 +5362,8 @@
|
|
|
5286
5362
|
while (true);
|
|
5287
5363
|
};
|
|
5288
5364
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5289
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5290
|
-
i.
|
|
5365
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.yaa_1, this.zaa_1, completion);
|
|
5366
|
+
i.aab_1 = $this$launchDefault;
|
|
5291
5367
|
return i;
|
|
5292
5368
|
};
|
|
5293
5369
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5299,19 +5375,19 @@
|
|
|
5299
5375
|
return l;
|
|
5300
5376
|
}
|
|
5301
5377
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5302
|
-
this.
|
|
5303
|
-
this.
|
|
5378
|
+
this.bab_1 = $asyncProvider;
|
|
5379
|
+
this.cab_1 = $provider;
|
|
5304
5380
|
}
|
|
5305
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5381
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5306
5382
|
return action instanceof ToClientAction;
|
|
5307
5383
|
};
|
|
5308
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5384
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
5309
5385
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5310
|
-
this.
|
|
5386
|
+
this.bab_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.cab_1, action_0, null));
|
|
5311
5387
|
next(action_0);
|
|
5312
5388
|
};
|
|
5313
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5314
|
-
return this.
|
|
5389
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
5390
|
+
return this.u6h(store, next, action);
|
|
5315
5391
|
};
|
|
5316
5392
|
function serverConfigReducer() {
|
|
5317
5393
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5319,22 +5395,22 @@
|
|
|
5319
5395
|
}
|
|
5320
5396
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5321
5397
|
}
|
|
5322
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5398
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
5323
5399
|
return action instanceof UpdateServerConfigAction;
|
|
5324
5400
|
};
|
|
5325
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5401
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q9i = function (state, action) {
|
|
5326
5402
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5327
|
-
return state.
|
|
5403
|
+
return state.c91(VOID, get_serverStatePayload_0(state).copy(action_0.ra9_1));
|
|
5328
5404
|
};
|
|
5329
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5330
|
-
return this.
|
|
5405
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
5406
|
+
return this.q9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5331
5407
|
};
|
|
5332
5408
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5333
5409
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5334
5410
|
return _this__u8e3s4.metadata;
|
|
5335
5411
|
}
|
|
5336
5412
|
function Companion_5() {
|
|
5337
|
-
this.
|
|
5413
|
+
this.dab_1 = 'ServerMechanicLifecycleReducer';
|
|
5338
5414
|
}
|
|
5339
5415
|
var Companion_instance_13;
|
|
5340
5416
|
function Companion_getInstance_6() {
|
|
@@ -5351,7 +5427,7 @@
|
|
|
5351
5427
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5352
5428
|
Companion_getInstance();
|
|
5353
5429
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5354
|
-
var this_0 = $action.
|
|
5430
|
+
var this_0 = $action.a92_1.timeoutTimeMillis;
|
|
5355
5431
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5356
5432
|
tmp_0 = tmp_1.k67(tmp_2, tmp$ret$0);
|
|
5357
5433
|
}
|
|
@@ -5360,65 +5436,65 @@
|
|
|
5360
5436
|
}
|
|
5361
5437
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5362
5438
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5363
|
-
this.
|
|
5439
|
+
this.gab_1 = logger;
|
|
5364
5440
|
}
|
|
5365
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5366
|
-
this.
|
|
5441
|
+
protoOf(ServerMechanicLifecycleReducer).d9k = function (state, action) {
|
|
5442
|
+
this.gab_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5367
5443
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5368
|
-
var tableId = action.
|
|
5444
|
+
var tableId = action.b92_1;
|
|
5369
5445
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5370
|
-
var tmp0_$this = this.
|
|
5371
|
-
var tmp1_version = action.
|
|
5372
|
-
var tmp2_config = action.
|
|
5373
|
-
var tmp3_users = action.
|
|
5446
|
+
var tmp0_$this = this.e9k_1;
|
|
5447
|
+
var tmp1_version = action.c92_1;
|
|
5448
|
+
var tmp2_config = action.a92_1;
|
|
5449
|
+
var tmp3_users = action.e92_1;
|
|
5374
5450
|
var tmp4_spectators = action.spectators;
|
|
5375
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5376
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
5451
|
+
var tmp5_gameCreatorPlayerId = action.d92_1;
|
|
5452
|
+
var tmp7_tableOrNull = tmp0_$this.l9l(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5377
5453
|
var tmp;
|
|
5378
5454
|
if (serverState == null) {
|
|
5379
|
-
this.
|
|
5455
|
+
this.gab_1.w(VOID, 'ServerPayload is not onStart');
|
|
5380
5456
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5381
5457
|
} else {
|
|
5382
5458
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5383
5459
|
}
|
|
5384
5460
|
var tmp8_payload = tmp;
|
|
5385
|
-
return state.
|
|
5461
|
+
return state.c91(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5386
5462
|
};
|
|
5387
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5388
|
-
this.
|
|
5463
|
+
protoOf(ServerMechanicLifecycleReducer).b9k = function (state, action) {
|
|
5464
|
+
this.gab_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5389
5465
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5390
|
-
var tmp2_tableOrNull = action.
|
|
5466
|
+
var tmp2_tableOrNull = action.h92_1;
|
|
5391
5467
|
var tmp = Companion_instance_14;
|
|
5392
5468
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5393
|
-
var tmp_1 = action.
|
|
5469
|
+
var tmp_1 = action.i92_1;
|
|
5394
5470
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5395
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.
|
|
5396
|
-
return state.
|
|
5471
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.h92_1.gameId));
|
|
5472
|
+
return state.c91(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5397
5473
|
};
|
|
5398
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5399
|
-
this.
|
|
5474
|
+
protoOf(ServerMechanicLifecycleReducer).c9k = function (state, action) {
|
|
5475
|
+
this.f9k_1.n58(action.previousGameId);
|
|
5400
5476
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5401
|
-
var tmp1_tableOrNull = this.
|
|
5477
|
+
var tmp1_tableOrNull = this.e9k_1.m9l(state.a6s(), action.gameId);
|
|
5402
5478
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5403
|
-
return state.
|
|
5479
|
+
return state.c91(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5404
5480
|
};
|
|
5405
5481
|
function spectatorsReducer(logger) {
|
|
5406
5482
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5407
5483
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5408
5484
|
}
|
|
5409
5485
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5410
|
-
this.
|
|
5486
|
+
this.hab_1 = $logger;
|
|
5411
5487
|
}
|
|
5412
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5488
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
5413
5489
|
return isInterface(action, SpectatorsAction);
|
|
5414
5490
|
};
|
|
5415
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5491
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).q9i = function (state, action) {
|
|
5416
5492
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5417
|
-
var table = state.
|
|
5493
|
+
var table = state.a6s();
|
|
5418
5494
|
var tmp;
|
|
5419
5495
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5420
5496
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5421
|
-
var tmp0 = action_0.
|
|
5497
|
+
var tmp0 = action_0.sa9_1;
|
|
5422
5498
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5423
5499
|
var destination = ArrayList_init_$Create$_0();
|
|
5424
5500
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5437,9 +5513,9 @@
|
|
|
5437
5513
|
var tmp_0;
|
|
5438
5514
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5439
5515
|
if (!sameSpectators.r()) {
|
|
5440
|
-
this.
|
|
5516
|
+
this.hab_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5441
5517
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5442
|
-
var tmp0_0 = action_0.
|
|
5518
|
+
var tmp0_0 = action_0.sa9_1;
|
|
5443
5519
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5444
5520
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5445
5521
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5474,7 +5550,7 @@
|
|
|
5474
5550
|
}
|
|
5475
5551
|
tmp_0 = destination_0;
|
|
5476
5552
|
} else {
|
|
5477
|
-
tmp_0 = action_0.
|
|
5553
|
+
tmp_0 = action_0.sa9_1;
|
|
5478
5554
|
}
|
|
5479
5555
|
// Inline function 'kotlin.collections.map' call
|
|
5480
5556
|
var this_0 = tmp_0;
|
|
@@ -5487,11 +5563,11 @@
|
|
|
5487
5563
|
destination_1.j(tmp$ret$13);
|
|
5488
5564
|
}
|
|
5489
5565
|
var spectatorsToAdd = toSet(destination_1);
|
|
5490
|
-
tmp = state.
|
|
5566
|
+
tmp = state.c91(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5491
5567
|
} else {
|
|
5492
5568
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5493
5569
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5494
|
-
var tmp0_1 = action_0.
|
|
5570
|
+
var tmp0_1 = action_0.ta9_1;
|
|
5495
5571
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5496
5572
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5497
5573
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5510,9 +5586,9 @@
|
|
|
5510
5586
|
var tmp_2;
|
|
5511
5587
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5512
5588
|
if (!sameSpectators_0.r()) {
|
|
5513
|
-
this.
|
|
5589
|
+
this.hab_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5514
5590
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5515
|
-
var tmp0_2 = action_0.
|
|
5591
|
+
var tmp0_2 = action_0.ta9_1;
|
|
5516
5592
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5517
5593
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5518
5594
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5547,7 +5623,7 @@
|
|
|
5547
5623
|
}
|
|
5548
5624
|
tmp_2 = destination_3;
|
|
5549
5625
|
} else {
|
|
5550
|
-
tmp_2 = action_0.
|
|
5626
|
+
tmp_2 = action_0.ta9_1;
|
|
5551
5627
|
}
|
|
5552
5628
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5553
5629
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5584,25 +5660,25 @@
|
|
|
5584
5660
|
destination_4.j(element_5);
|
|
5585
5661
|
}
|
|
5586
5662
|
}
|
|
5587
|
-
tmp = state.
|
|
5663
|
+
tmp = state.c91(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5588
5664
|
} else {
|
|
5589
5665
|
noWhenBranchMatchedException();
|
|
5590
5666
|
}
|
|
5591
5667
|
}
|
|
5592
5668
|
return tmp;
|
|
5593
5669
|
};
|
|
5594
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5595
|
-
return this.
|
|
5670
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
5671
|
+
return this.q9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5596
5672
|
};
|
|
5597
5673
|
function Companion_6() {
|
|
5598
5674
|
}
|
|
5599
|
-
protoOf(Companion_6).
|
|
5675
|
+
protoOf(Companion_6).iab = function (config, metadata) {
|
|
5600
5676
|
return new ServerStatePayload(config, metadata);
|
|
5601
5677
|
};
|
|
5602
5678
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5603
5679
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5604
5680
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5605
|
-
return $super === VOID ? this.
|
|
5681
|
+
return $super === VOID ? this.iab(config, metadata) : $super.iab.call(this, config, metadata);
|
|
5606
5682
|
};
|
|
5607
5683
|
var Companion_instance_14;
|
|
5608
5684
|
function Companion_getInstance_7() {
|
|
@@ -5615,7 +5691,7 @@
|
|
|
5615
5691
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5616
5692
|
return this.config;
|
|
5617
5693
|
};
|
|
5618
|
-
protoOf(ServerStatePayload).
|
|
5694
|
+
protoOf(ServerStatePayload).n8l = function () {
|
|
5619
5695
|
return this.metadata;
|
|
5620
5696
|
};
|
|
5621
5697
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5624,13 +5700,13 @@
|
|
|
5624
5700
|
protoOf(ServerStatePayload).pe = function () {
|
|
5625
5701
|
return this.metadata;
|
|
5626
5702
|
};
|
|
5627
|
-
protoOf(ServerStatePayload).
|
|
5703
|
+
protoOf(ServerStatePayload).jab = function (config, metadata) {
|
|
5628
5704
|
return new ServerStatePayload(config, metadata);
|
|
5629
5705
|
};
|
|
5630
5706
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5631
5707
|
config = config === VOID ? this.config : config;
|
|
5632
5708
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5633
|
-
return $super === VOID ? this.
|
|
5709
|
+
return $super === VOID ? this.jab(config, metadata) : $super.jab.call(this, config, metadata);
|
|
5634
5710
|
};
|
|
5635
5711
|
protoOf(ServerStatePayload).toString = function () {
|
|
5636
5712
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5678,7 +5754,7 @@
|
|
|
5678
5754
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5679
5755
|
}
|
|
5680
5756
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5681
|
-
var gameId = Companion_instance_3.
|
|
5757
|
+
var gameId = Companion_instance_3.n9n(payload);
|
|
5682
5758
|
var tmp;
|
|
5683
5759
|
if (!(gameId == null)) {
|
|
5684
5760
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5695,14 +5771,14 @@
|
|
|
5695
5771
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5696
5772
|
}
|
|
5697
5773
|
function _get_logger__rkp4sl_0($this) {
|
|
5698
|
-
var tmp0 = $this.
|
|
5774
|
+
var tmp0 = $this.tab_1;
|
|
5699
5775
|
var tmp = KProperty1;
|
|
5700
5776
|
// Inline function 'kotlin.getValue' call
|
|
5701
5777
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5702
5778
|
return tmp0.x();
|
|
5703
5779
|
}
|
|
5704
5780
|
function _get_di__ndbzja($this) {
|
|
5705
|
-
var tmp0 = $this.
|
|
5781
|
+
var tmp0 = $this.uab_1;
|
|
5706
5782
|
var tmp = KProperty1;
|
|
5707
5783
|
// Inline function 'kotlin.getValue' call
|
|
5708
5784
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5719,8 +5795,8 @@
|
|
|
5719
5795
|
}
|
|
5720
5796
|
function createCallbackOutput($this, gameServer) {
|
|
5721
5797
|
var tmp;
|
|
5722
|
-
if (!($this.
|
|
5723
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5798
|
+
if (!($this.rab_1 == null)) {
|
|
5799
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.rab_1);
|
|
5724
5800
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5725
5801
|
} else {
|
|
5726
5802
|
tmp = null;
|
|
@@ -5734,11 +5810,11 @@
|
|
|
5734
5810
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5735
5811
|
return function () {
|
|
5736
5812
|
var tmp;
|
|
5737
|
-
if (this$0.
|
|
5813
|
+
if (this$0.rab_1 == null) {
|
|
5738
5814
|
tmp = null;
|
|
5739
5815
|
} else {
|
|
5740
5816
|
// Inline function 'kotlin.let' call
|
|
5741
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5817
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.rab_1)]));
|
|
5742
5818
|
}
|
|
5743
5819
|
var tmp1_elvis_lhs = tmp;
|
|
5744
5820
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5771,7 +5847,7 @@
|
|
|
5771
5847
|
tmp_0.z62(tmp$ret$3);
|
|
5772
5848
|
$this$DI.d5z(jsonModule());
|
|
5773
5849
|
$this$DI.d5z(serverHelpersModule());
|
|
5774
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5850
|
+
$this$DI.d5z(randomOrgModule(this$0.sab_1));
|
|
5775
5851
|
return Unit_instance;
|
|
5776
5852
|
};
|
|
5777
5853
|
}
|
|
@@ -5847,16 +5923,16 @@
|
|
|
5847
5923
|
};
|
|
5848
5924
|
}
|
|
5849
5925
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5850
|
-
this.
|
|
5926
|
+
this.bac_1 = $reducer;
|
|
5851
5927
|
}
|
|
5852
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5928
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).f6g = function (action) {
|
|
5853
5929
|
return isInterface(action, Action);
|
|
5854
5930
|
};
|
|
5855
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5856
|
-
return this.
|
|
5931
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q9i = function (state, action) {
|
|
5932
|
+
return this.bac_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5857
5933
|
};
|
|
5858
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5859
|
-
return this.
|
|
5934
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).v6h = function (state, action) {
|
|
5935
|
+
return this.q9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5860
5936
|
};
|
|
5861
5937
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5862
5938
|
return function () {
|
|
@@ -5936,7 +6012,7 @@
|
|
|
5936
6012
|
}
|
|
5937
6013
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5938
6014
|
return function (it) {
|
|
5939
|
-
var payload = Companion_instance_5.
|
|
6015
|
+
var payload = Companion_instance_5.z9l(it);
|
|
5940
6016
|
var tmp;
|
|
5941
6017
|
if (!(payload == null)) {
|
|
5942
6018
|
return payload;
|
|
@@ -5957,7 +6033,7 @@
|
|
|
5957
6033
|
// Inline function 'kotlin.let' call
|
|
5958
6034
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5959
6035
|
}
|
|
5960
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6036
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.sab_1));
|
|
5961
6037
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5962
6038
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5963
6039
|
return Unit_instance;
|
|
@@ -5966,8 +6042,8 @@
|
|
|
5966
6042
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5967
6043
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5968
6044
|
production = production === VOID ? true : production;
|
|
5969
|
-
this.
|
|
5970
|
-
this.
|
|
6045
|
+
this.rab_1 = loggerCallback;
|
|
6046
|
+
this.sab_1 = randomOrgConfig;
|
|
5971
6047
|
var tmp = AppEnvironment_getInstance();
|
|
5972
6048
|
var tmp_0;
|
|
5973
6049
|
if (production) {
|
|
@@ -5975,11 +6051,11 @@
|
|
|
5975
6051
|
} else {
|
|
5976
6052
|
tmp_0 = AppEnvironmentValue_DEVELOPMENT_getInstance();
|
|
5977
6053
|
}
|
|
5978
|
-
tmp.
|
|
6054
|
+
tmp.c6m(tmp_0);
|
|
5979
6055
|
var tmp_1 = this;
|
|
5980
|
-
tmp_1.
|
|
6056
|
+
tmp_1.tab_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5981
6057
|
var tmp_2 = this;
|
|
5982
|
-
tmp_2.
|
|
6058
|
+
tmp_2.uab_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5983
6059
|
var tmp_3 = this;
|
|
5984
6060
|
// Inline function 'org.kodein.di.instance' call
|
|
5985
6061
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5988,7 +6064,7 @@
|
|
|
5988
6064
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5989
6065
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5990
6066
|
var tmp_6 = KProperty1;
|
|
5991
|
-
tmp_3.
|
|
6067
|
+
tmp_3.vab_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5992
6068
|
var tmp_7 = this;
|
|
5993
6069
|
// Inline function 'org.kodein.di.instance' call
|
|
5994
6070
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5997,7 +6073,7 @@
|
|
|
5997
6073
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5998
6074
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5999
6075
|
var tmp_10 = KProperty1;
|
|
6000
|
-
tmp_7.
|
|
6076
|
+
tmp_7.wab_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6001
6077
|
var tmp_11 = this;
|
|
6002
6078
|
// Inline function 'org.kodein.di.instance' call
|
|
6003
6079
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6006,7 +6082,7 @@
|
|
|
6006
6082
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6007
6083
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6008
6084
|
var tmp_14 = KProperty1;
|
|
6009
|
-
tmp_11.
|
|
6085
|
+
tmp_11.xab_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6010
6086
|
var tmp_15 = this;
|
|
6011
6087
|
// Inline function 'org.kodein.di.instance' call
|
|
6012
6088
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6015,7 +6091,7 @@
|
|
|
6015
6091
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6016
6092
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6017
6093
|
var tmp_18 = KProperty1;
|
|
6018
|
-
tmp_15.
|
|
6094
|
+
tmp_15.yab_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6019
6095
|
var tmp_19 = this;
|
|
6020
6096
|
// Inline function 'org.kodein.di.instance' call
|
|
6021
6097
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6024,7 +6100,7 @@
|
|
|
6024
6100
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6025
6101
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6026
6102
|
var tmp_22 = KProperty1;
|
|
6027
|
-
tmp_19.
|
|
6103
|
+
tmp_19.zab_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6028
6104
|
var tmp_23 = this;
|
|
6029
6105
|
// Inline function 'org.kodein.di.instance' call
|
|
6030
6106
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6033,45 +6109,45 @@
|
|
|
6033
6109
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6034
6110
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6035
6111
|
var tmp_26 = KProperty1;
|
|
6036
|
-
tmp_23.
|
|
6112
|
+
tmp_23.aac_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6037
6113
|
}
|
|
6038
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6039
|
-
var tmp0 = this.
|
|
6114
|
+
protoOf(GameServerEngineControllerImpl).kab = function () {
|
|
6115
|
+
var tmp0 = this.vab_1;
|
|
6040
6116
|
var tmp = KProperty1;
|
|
6041
6117
|
// Inline function 'kotlin.getValue' call
|
|
6042
6118
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6043
6119
|
return tmp0.x();
|
|
6044
6120
|
};
|
|
6045
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6046
|
-
var tmp0 = this.
|
|
6121
|
+
protoOf(GameServerEngineControllerImpl).mab = function () {
|
|
6122
|
+
var tmp0 = this.wab_1;
|
|
6047
6123
|
var tmp = KProperty1;
|
|
6048
6124
|
// Inline function 'kotlin.getValue' call
|
|
6049
6125
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6050
6126
|
return tmp0.x();
|
|
6051
6127
|
};
|
|
6052
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6053
|
-
var tmp0 = this.
|
|
6128
|
+
protoOf(GameServerEngineControllerImpl).nab = function () {
|
|
6129
|
+
var tmp0 = this.xab_1;
|
|
6054
6130
|
var tmp = KProperty1;
|
|
6055
6131
|
// Inline function 'kotlin.getValue' call
|
|
6056
6132
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6057
6133
|
return tmp0.x();
|
|
6058
6134
|
};
|
|
6059
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6060
|
-
var tmp0 = this.
|
|
6135
|
+
protoOf(GameServerEngineControllerImpl).oab = function () {
|
|
6136
|
+
var tmp0 = this.yab_1;
|
|
6061
6137
|
var tmp = KProperty1;
|
|
6062
6138
|
// Inline function 'kotlin.getValue' call
|
|
6063
6139
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6064
6140
|
return tmp0.x();
|
|
6065
6141
|
};
|
|
6066
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6067
|
-
var tmp0 = this.
|
|
6142
|
+
protoOf(GameServerEngineControllerImpl).lab = function () {
|
|
6143
|
+
var tmp0 = this.zab_1;
|
|
6068
6144
|
var tmp = KProperty1;
|
|
6069
6145
|
// Inline function 'kotlin.getValue' call
|
|
6070
6146
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6071
6147
|
return tmp0.x();
|
|
6072
6148
|
};
|
|
6073
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6074
|
-
var tmp0 = this.
|
|
6149
|
+
protoOf(GameServerEngineControllerImpl).pab = function () {
|
|
6150
|
+
var tmp0 = this.aac_1;
|
|
6075
6151
|
var tmp = KProperty1;
|
|
6076
6152
|
// Inline function 'kotlin.getValue' call
|
|
6077
6153
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6083,7 +6159,7 @@
|
|
|
6083
6159
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6084
6160
|
return this.createGameEngineWithLogic();
|
|
6085
6161
|
};
|
|
6086
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6162
|
+
protoOf(GameServerEngineControllerImpl).qab = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6087
6163
|
var combinedLogger = Companion_instance_6.mx();
|
|
6088
6164
|
var gameServer = {_v: null};
|
|
6089
6165
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6131,7 +6207,7 @@
|
|
|
6131
6207
|
function TestHelper() {
|
|
6132
6208
|
}
|
|
6133
6209
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6134
|
-
var tmp0 = $this.
|
|
6210
|
+
var tmp0 = $this.eac_1;
|
|
6135
6211
|
var tmp = KProperty1;
|
|
6136
6212
|
// Inline function 'kotlin.getValue' call
|
|
6137
6213
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6139,7 +6215,7 @@
|
|
|
6139
6215
|
}
|
|
6140
6216
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6141
6217
|
return function ($this$singleton) {
|
|
6142
|
-
return this$0.
|
|
6218
|
+
return this$0.cac_1;
|
|
6143
6219
|
};
|
|
6144
6220
|
}
|
|
6145
6221
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6178,27 +6254,27 @@
|
|
|
6178
6254
|
return emptyMap();
|
|
6179
6255
|
}
|
|
6180
6256
|
function TestHelperImpl(logger) {
|
|
6181
|
-
this.
|
|
6257
|
+
this.cac_1 = logger;
|
|
6182
6258
|
var tmp = this;
|
|
6183
6259
|
var tmp_0 = Companion_instance_4;
|
|
6184
|
-
tmp.
|
|
6260
|
+
tmp.dac_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
6185
6261
|
var tmp_1 = this;
|
|
6186
6262
|
// Inline function 'org.kodein.di.instance' call
|
|
6187
|
-
var this_0 = this.
|
|
6263
|
+
var this_0 = this.dac_1;
|
|
6188
6264
|
// Inline function 'org.kodein.type.generic' call
|
|
6189
6265
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6190
6266
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6191
6267
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6192
6268
|
var tmp_4 = KProperty1;
|
|
6193
|
-
tmp_1.
|
|
6269
|
+
tmp_1.eac_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6194
6270
|
}
|
|
6195
6271
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6196
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6272
|
+
return _get_playerAnswerInteractor__msggz1(this).f8r(playerId, table, botConfig);
|
|
6197
6273
|
};
|
|
6198
6274
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6199
6275
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6200
6276
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6201
|
-
var tmp0 = mechanicAction.
|
|
6277
|
+
var tmp0 = mechanicAction.s94();
|
|
6202
6278
|
var tmp$ret$0;
|
|
6203
6279
|
$l$block_0: {
|
|
6204
6280
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6230,7 +6306,7 @@
|
|
|
6230
6306
|
};
|
|
6231
6307
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6232
6308
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6233
|
-
var tmp0 = action.
|
|
6309
|
+
var tmp0 = action.s94();
|
|
6234
6310
|
var tmp$ret$0;
|
|
6235
6311
|
$l$block_0: {
|
|
6236
6312
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6263,14 +6339,14 @@
|
|
|
6263
6339
|
function RoomMetadata() {
|
|
6264
6340
|
var tmp = this;
|
|
6265
6341
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6266
|
-
tmp.
|
|
6342
|
+
tmp.fac_1 = LinkedHashMap_init_$Create$();
|
|
6267
6343
|
this.extras = {};
|
|
6268
|
-
this.extras = this.
|
|
6344
|
+
this.extras = this.fac_1;
|
|
6269
6345
|
}
|
|
6270
|
-
protoOf(RoomMetadata).
|
|
6346
|
+
protoOf(RoomMetadata).gac = function () {
|
|
6271
6347
|
return this.extras;
|
|
6272
6348
|
};
|
|
6273
|
-
protoOf(RoomMetadata).
|
|
6349
|
+
protoOf(RoomMetadata).gac = function () {
|
|
6274
6350
|
return this.extras;
|
|
6275
6351
|
};
|
|
6276
6352
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6288,7 +6364,7 @@
|
|
|
6288
6364
|
};
|
|
6289
6365
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6290
6366
|
// Inline function 'kotlin.collections.set' call
|
|
6291
|
-
this.
|
|
6367
|
+
this.fac_1.f2(gameId, game);
|
|
6292
6368
|
};
|
|
6293
6369
|
function GameMetadata(gameId) {
|
|
6294
6370
|
this.gameId = gameId;
|
|
@@ -6297,7 +6373,7 @@
|
|
|
6297
6373
|
protoOf(GameMetadata).c54 = function () {
|
|
6298
6374
|
return this.gameId;
|
|
6299
6375
|
};
|
|
6300
|
-
protoOf(GameMetadata).
|
|
6376
|
+
protoOf(GameMetadata).gac = function () {
|
|
6301
6377
|
return this.extras;
|
|
6302
6378
|
};
|
|
6303
6379
|
function serverHelpersModule() {
|
|
@@ -6359,36 +6435,36 @@
|
|
|
6359
6435
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6360
6436
|
protoOf(GameServer).shutdown = shutdown;
|
|
6361
6437
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6362
|
-
return this.
|
|
6438
|
+
return this.n8l();
|
|
6363
6439
|
});
|
|
6364
6440
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6365
6441
|
return this.y53();
|
|
6366
6442
|
});
|
|
6367
6443
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6368
|
-
return this.
|
|
6444
|
+
return this.a6s();
|
|
6369
6445
|
});
|
|
6370
6446
|
defineProp(protoOf(GameServer), 'tableOrNull', function () {
|
|
6371
|
-
return this.
|
|
6447
|
+
return this.b6s();
|
|
6372
6448
|
});
|
|
6373
6449
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6374
|
-
return this.
|
|
6450
|
+
return this.c6s();
|
|
6375
6451
|
});
|
|
6376
6452
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6377
|
-
return this.
|
|
6453
|
+
return this.d6s();
|
|
6378
6454
|
});
|
|
6379
6455
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6380
6456
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6381
|
-
return this.
|
|
6457
|
+
return this.g8i();
|
|
6382
6458
|
});
|
|
6383
6459
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6384
6460
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6385
|
-
return this.
|
|
6461
|
+
return this.g8i();
|
|
6386
6462
|
});
|
|
6387
6463
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6388
|
-
return this.
|
|
6464
|
+
return this.g8i();
|
|
6389
6465
|
});
|
|
6390
6466
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6391
|
-
return this.
|
|
6467
|
+
return this.g8i();
|
|
6392
6468
|
});
|
|
6393
6469
|
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
6394
6470
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6404,22 +6480,22 @@
|
|
|
6404
6480
|
});
|
|
6405
6481
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6406
6482
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6407
|
-
return this.
|
|
6483
|
+
return this.kab();
|
|
6408
6484
|
});
|
|
6409
6485
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6410
|
-
return this.
|
|
6486
|
+
return this.mab();
|
|
6411
6487
|
});
|
|
6412
6488
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6413
|
-
return this.
|
|
6489
|
+
return this.nab();
|
|
6414
6490
|
});
|
|
6415
6491
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6416
|
-
return this.
|
|
6492
|
+
return this.oab();
|
|
6417
6493
|
});
|
|
6418
6494
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6419
|
-
return this.
|
|
6495
|
+
return this.lab();
|
|
6420
6496
|
});
|
|
6421
6497
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6422
|
-
return this.
|
|
6498
|
+
return this.pab();
|
|
6423
6499
|
});
|
|
6424
6500
|
//endregion
|
|
6425
6501
|
//region block: init
|