raspberry_games_server_game_logic 1.8.410 → 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 +1101 -1022
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
48
48
|
var protoOf = kotlin_kotlin.$_$.ld;
|
|
49
49
|
var THROW_CCE = kotlin_kotlin.$_$.oh;
|
|
50
|
-
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
50
|
+
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.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,133 +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
|
-
|
|
3131
|
+
if (!this.t66().c6s()) {
|
|
3132
|
+
return true;
|
|
3133
|
+
}
|
|
3134
|
+
var player_0 = firstOrNull(filterByPlayerId(this.t66().a6s().players, player));
|
|
3064
3135
|
if (player_0 == null) {
|
|
3065
3136
|
return false;
|
|
3066
3137
|
}
|
|
3067
|
-
return player_0.
|
|
3138
|
+
return player_0.k6v_1.y68().n67_1.canReconnect;
|
|
3068
3139
|
};
|
|
3069
3140
|
protoOf(GameServer).y53 = function () {
|
|
3070
|
-
return this.t66().
|
|
3141
|
+
return this.t66().a6s().id;
|
|
3071
3142
|
};
|
|
3072
|
-
protoOf(GameServer).
|
|
3073
|
-
return this.t66().
|
|
3143
|
+
protoOf(GameServer).a6s = function () {
|
|
3144
|
+
return this.t66().a6s();
|
|
3074
3145
|
};
|
|
3075
|
-
protoOf(GameServer).
|
|
3146
|
+
protoOf(GameServer).b6s = function () {
|
|
3076
3147
|
return this.t66().tableOrNull;
|
|
3077
3148
|
};
|
|
3078
|
-
protoOf(GameServer).
|
|
3079
|
-
return this.t66().
|
|
3149
|
+
protoOf(GameServer).c6s = function () {
|
|
3150
|
+
return this.t66().c6s();
|
|
3080
3151
|
};
|
|
3081
|
-
protoOf(GameServer).
|
|
3152
|
+
protoOf(GameServer).d6s = function () {
|
|
3082
3153
|
return this.t66().gameLifecycleState;
|
|
3083
3154
|
};
|
|
3084
3155
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
3085
|
-
var tmp = this.
|
|
3156
|
+
var tmp = this.n6q();
|
|
3086
3157
|
tmp.i6c(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
3087
3158
|
};
|
|
3088
3159
|
protoOf(GameServer).subscribeServerStateUpdate = function (subscriber) {
|
|
3089
|
-
var tmp = this.
|
|
3160
|
+
var tmp = this.n6q();
|
|
3090
3161
|
tmp.i6c(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
|
|
3091
3162
|
};
|
|
3092
3163
|
protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
|
|
3093
|
-
var tmp = this.
|
|
3164
|
+
var tmp = this.n6q();
|
|
3094
3165
|
tmp.i6c(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
|
|
3095
3166
|
};
|
|
3096
3167
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
3097
|
-
var tmp = this.
|
|
3168
|
+
var tmp = this.n6q();
|
|
3098
3169
|
tmp.i6c(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
3099
3170
|
};
|
|
3100
3171
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3101
3172
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3102
|
-
this.
|
|
3173
|
+
this.e9x_1.y6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3103
3174
|
};
|
|
3104
3175
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3105
3176
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3106
|
-
this.
|
|
3177
|
+
this.e9x_1.y6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3107
3178
|
};
|
|
3108
3179
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3109
3180
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3110
|
-
this.
|
|
3181
|
+
this.e9x_1.y6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3111
3182
|
};
|
|
3112
|
-
protoOf(GameServer).
|
|
3183
|
+
protoOf(GameServer).ta6 = function (playerId, permanently) {
|
|
3113
3184
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3114
|
-
|
|
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;
|
|
3115
3194
|
};
|
|
3116
|
-
protoOf(GameServer).
|
|
3195
|
+
protoOf(GameServer).ua6 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3117
3196
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3118
|
-
this.
|
|
3197
|
+
this.e9x_1.y6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3119
3198
|
};
|
|
3120
3199
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3121
3200
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3122
|
-
var isCreated = this.
|
|
3123
|
-
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));
|
|
3124
3203
|
};
|
|
3125
3204
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3126
3205
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3127
|
-
this.
|
|
3128
|
-
this.
|
|
3206
|
+
this.e9x_1.y6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3207
|
+
this.e9x_1.y6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3129
3208
|
};
|
|
3130
3209
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3131
|
-
this.
|
|
3210
|
+
this.e9x_1.y6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3132
3211
|
};
|
|
3133
3212
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3134
|
-
this.
|
|
3213
|
+
this.e9x_1.y6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3135
3214
|
};
|
|
3136
3215
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3137
3216
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3138
|
-
this.
|
|
3217
|
+
this.e9x_1.y6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3139
3218
|
};
|
|
3140
|
-
protoOf(GameServer).
|
|
3219
|
+
protoOf(GameServer).va6 = function (newRid) {
|
|
3141
3220
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3142
|
-
this.
|
|
3221
|
+
this.e9x_1.y6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3143
3222
|
};
|
|
3144
3223
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3145
3224
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3146
|
-
this.
|
|
3225
|
+
this.e9x_1.y6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3147
3226
|
};
|
|
3148
|
-
protoOf(GameServer).
|
|
3227
|
+
protoOf(GameServer).wa6 = function (reason, roomId) {
|
|
3149
3228
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3150
|
-
this.
|
|
3229
|
+
this.e9x_1.y6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3151
3230
|
};
|
|
3152
3231
|
protoOf(GameServer).clear = function () {
|
|
3153
3232
|
return this.i2();
|
|
@@ -3201,13 +3280,13 @@
|
|
|
3201
3280
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3202
3281
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3203
3282
|
}
|
|
3204
|
-
protoOf(ServerConfig).
|
|
3283
|
+
protoOf(ServerConfig).xa6 = function () {
|
|
3205
3284
|
return this.fromRound;
|
|
3206
3285
|
};
|
|
3207
|
-
protoOf(ServerConfig).
|
|
3286
|
+
protoOf(ServerConfig).ya6 = function () {
|
|
3208
3287
|
return this.shouldFinishGameWhenDeploy;
|
|
3209
3288
|
};
|
|
3210
|
-
protoOf(ServerConfig).
|
|
3289
|
+
protoOf(ServerConfig).za6 = function () {
|
|
3211
3290
|
return this.shouldFinishGameWithBots;
|
|
3212
3291
|
};
|
|
3213
3292
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3219,14 +3298,14 @@
|
|
|
3219
3298
|
protoOf(ServerConfig).xl = function () {
|
|
3220
3299
|
return this.shouldFinishGameWithBots;
|
|
3221
3300
|
};
|
|
3222
|
-
protoOf(ServerConfig).
|
|
3301
|
+
protoOf(ServerConfig).aa7 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3223
3302
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3224
3303
|
};
|
|
3225
3304
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3226
3305
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3227
3306
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3228
3307
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3229
|
-
return $super === VOID ? this.
|
|
3308
|
+
return $super === VOID ? this.aa7(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.aa7.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3230
3309
|
};
|
|
3231
3310
|
protoOf(ServerConfig).toString = function () {
|
|
3232
3311
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3291,20 +3370,20 @@
|
|
|
3291
3370
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3292
3371
|
tmp0_serialDesc.gz('roomId', false);
|
|
3293
3372
|
tmp0_serialDesc.gz('table', false);
|
|
3294
|
-
this.
|
|
3373
|
+
this.ba7_1 = tmp0_serialDesc;
|
|
3295
3374
|
}
|
|
3296
|
-
protoOf($serializer).
|
|
3297
|
-
var tmp0_desc = this.
|
|
3375
|
+
protoOf($serializer).ca7 = function (encoder, value) {
|
|
3376
|
+
var tmp0_desc = this.ba7_1;
|
|
3298
3377
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3299
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3378
|
+
tmp1_output.dt(tmp0_desc, 0, value.da7_1);
|
|
3300
3379
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3301
3380
|
tmp1_output.pr(tmp0_desc);
|
|
3302
3381
|
};
|
|
3303
3382
|
protoOf($serializer).co = function (encoder, value) {
|
|
3304
|
-
return this.
|
|
3383
|
+
return this.ca7(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3305
3384
|
};
|
|
3306
3385
|
protoOf($serializer).do = function (decoder) {
|
|
3307
|
-
var tmp0_desc = this.
|
|
3386
|
+
var tmp0_desc = this.ba7_1;
|
|
3308
3387
|
var tmp1_flag = true;
|
|
3309
3388
|
var tmp2_index = 0;
|
|
3310
3389
|
var tmp3_bitMask0 = 0;
|
|
@@ -3339,7 +3418,7 @@
|
|
|
3339
3418
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3340
3419
|
};
|
|
3341
3420
|
protoOf($serializer).bo = function () {
|
|
3342
|
-
return this.
|
|
3421
|
+
return this.ba7_1;
|
|
3343
3422
|
};
|
|
3344
3423
|
protoOf($serializer).vz = function () {
|
|
3345
3424
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3355,9 +3434,9 @@
|
|
|
3355
3434
|
}
|
|
3356
3435
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3357
3436
|
if (!(3 === (3 & seen0))) {
|
|
3358
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3437
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ba7_1);
|
|
3359
3438
|
}
|
|
3360
|
-
$this.
|
|
3439
|
+
$this.da7_1 = roomId;
|
|
3361
3440
|
$this.table = table;
|
|
3362
3441
|
return $this;
|
|
3363
3442
|
}
|
|
@@ -3365,17 +3444,17 @@
|
|
|
3365
3444
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3366
3445
|
}
|
|
3367
3446
|
function TableStateUpdateDto(roomId, table) {
|
|
3368
|
-
this.
|
|
3447
|
+
this.da7_1 = roomId;
|
|
3369
3448
|
this.table = table;
|
|
3370
3449
|
}
|
|
3371
|
-
protoOf(TableStateUpdateDto).
|
|
3372
|
-
return this.
|
|
3450
|
+
protoOf(TableStateUpdateDto).g8i = function () {
|
|
3451
|
+
return this.da7_1;
|
|
3373
3452
|
};
|
|
3374
|
-
protoOf(TableStateUpdateDto).
|
|
3453
|
+
protoOf(TableStateUpdateDto).a6s = function () {
|
|
3375
3454
|
return this.table;
|
|
3376
3455
|
};
|
|
3377
3456
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3378
|
-
return this.
|
|
3457
|
+
return this.da7_1;
|
|
3379
3458
|
};
|
|
3380
3459
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3381
3460
|
return this.table;
|
|
@@ -3384,15 +3463,15 @@
|
|
|
3384
3463
|
return new TableStateUpdateDto(roomId, table);
|
|
3385
3464
|
};
|
|
3386
3465
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3387
|
-
roomId = roomId === VOID ? this.
|
|
3466
|
+
roomId = roomId === VOID ? this.da7_1 : roomId;
|
|
3388
3467
|
table = table === VOID ? this.table : table;
|
|
3389
3468
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3390
3469
|
};
|
|
3391
3470
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3392
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3471
|
+
return 'TableStateUpdateDto(roomId=' + this.da7_1 + ', table=' + this.table + ')';
|
|
3393
3472
|
};
|
|
3394
3473
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3395
|
-
var result = getStringHashCode(this.
|
|
3474
|
+
var result = getStringHashCode(this.da7_1);
|
|
3396
3475
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3397
3476
|
return result;
|
|
3398
3477
|
};
|
|
@@ -3401,7 +3480,7 @@
|
|
|
3401
3480
|
return true;
|
|
3402
3481
|
if (!(other instanceof TableStateUpdateDto))
|
|
3403
3482
|
return false;
|
|
3404
|
-
if (!(this.
|
|
3483
|
+
if (!(this.da7_1 === other.da7_1))
|
|
3405
3484
|
return false;
|
|
3406
3485
|
if (!(this.table === other.table))
|
|
3407
3486
|
return false;
|
|
@@ -3421,20 +3500,20 @@
|
|
|
3421
3500
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3422
3501
|
tmp0_serialDesc.gz('roomId', false);
|
|
3423
3502
|
tmp0_serialDesc.gz('actions', false);
|
|
3424
|
-
this.
|
|
3503
|
+
this.ea7_1 = tmp0_serialDesc;
|
|
3425
3504
|
}
|
|
3426
|
-
protoOf($serializer_0).
|
|
3427
|
-
var tmp0_desc = this.
|
|
3505
|
+
protoOf($serializer_0).fa7 = function (encoder, value) {
|
|
3506
|
+
var tmp0_desc = this.ea7_1;
|
|
3428
3507
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3429
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3508
|
+
tmp1_output.dt(tmp0_desc, 0, value.ga7_1);
|
|
3430
3509
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3431
3510
|
tmp1_output.pr(tmp0_desc);
|
|
3432
3511
|
};
|
|
3433
3512
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3434
|
-
return this.
|
|
3513
|
+
return this.fa7(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3435
3514
|
};
|
|
3436
3515
|
protoOf($serializer_0).do = function (decoder) {
|
|
3437
|
-
var tmp0_desc = this.
|
|
3516
|
+
var tmp0_desc = this.ea7_1;
|
|
3438
3517
|
var tmp1_flag = true;
|
|
3439
3518
|
var tmp2_index = 0;
|
|
3440
3519
|
var tmp3_bitMask0 = 0;
|
|
@@ -3469,7 +3548,7 @@
|
|
|
3469
3548
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3470
3549
|
};
|
|
3471
3550
|
protoOf($serializer_0).bo = function () {
|
|
3472
|
-
return this.
|
|
3551
|
+
return this.ea7_1;
|
|
3473
3552
|
};
|
|
3474
3553
|
protoOf($serializer_0).vz = function () {
|
|
3475
3554
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3485,9 +3564,9 @@
|
|
|
3485
3564
|
}
|
|
3486
3565
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3487
3566
|
if (!(3 === (3 & seen0))) {
|
|
3488
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3567
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ea7_1);
|
|
3489
3568
|
}
|
|
3490
|
-
$this.
|
|
3569
|
+
$this.ga7_1 = roomId;
|
|
3491
3570
|
$this.actions = actions;
|
|
3492
3571
|
return $this;
|
|
3493
3572
|
}
|
|
@@ -3495,17 +3574,17 @@
|
|
|
3495
3574
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3496
3575
|
}
|
|
3497
3576
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3498
|
-
this.
|
|
3577
|
+
this.ga7_1 = roomId;
|
|
3499
3578
|
this.actions = actions;
|
|
3500
3579
|
}
|
|
3501
|
-
protoOf(ActionsStateUpdateDto).
|
|
3502
|
-
return this.
|
|
3580
|
+
protoOf(ActionsStateUpdateDto).g8i = function () {
|
|
3581
|
+
return this.ga7_1;
|
|
3503
3582
|
};
|
|
3504
|
-
protoOf(ActionsStateUpdateDto).
|
|
3583
|
+
protoOf(ActionsStateUpdateDto).u8i = function () {
|
|
3505
3584
|
return this.actions;
|
|
3506
3585
|
};
|
|
3507
3586
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3508
|
-
return this.
|
|
3587
|
+
return this.ga7_1;
|
|
3509
3588
|
};
|
|
3510
3589
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3511
3590
|
return this.actions;
|
|
@@ -3514,15 +3593,15 @@
|
|
|
3514
3593
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3515
3594
|
};
|
|
3516
3595
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3517
|
-
roomId = roomId === VOID ? this.
|
|
3596
|
+
roomId = roomId === VOID ? this.ga7_1 : roomId;
|
|
3518
3597
|
actions = actions === VOID ? this.actions : actions;
|
|
3519
3598
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3520
3599
|
};
|
|
3521
3600
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3522
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3601
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ga7_1 + ', actions=' + this.actions + ')';
|
|
3523
3602
|
};
|
|
3524
3603
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3525
|
-
var result = getStringHashCode(this.
|
|
3604
|
+
var result = getStringHashCode(this.ga7_1);
|
|
3526
3605
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3527
3606
|
return result;
|
|
3528
3607
|
};
|
|
@@ -3531,7 +3610,7 @@
|
|
|
3531
3610
|
return true;
|
|
3532
3611
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3533
3612
|
return false;
|
|
3534
|
-
if (!(this.
|
|
3613
|
+
if (!(this.ga7_1 === other.ga7_1))
|
|
3535
3614
|
return false;
|
|
3536
3615
|
if (!(this.actions === other.actions))
|
|
3537
3616
|
return false;
|
|
@@ -3561,42 +3640,42 @@
|
|
|
3561
3640
|
var tmp$ret$0 = mapToDto(item);
|
|
3562
3641
|
destination.j(tmp$ret$0);
|
|
3563
3642
|
}
|
|
3564
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3643
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ha7_1, encoderDecoderProvider.n8p(destination));
|
|
3565
3644
|
}
|
|
3566
3645
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3567
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3646
|
+
return new TableStateUpdateDto(_this__u8e3s4.ia7_1, encoderDecoderProvider.l8p(mapToDto_0(_this__u8e3s4.table)));
|
|
3568
3647
|
}
|
|
3569
3648
|
function ServerStateUpdate() {
|
|
3570
3649
|
}
|
|
3571
3650
|
function TableStateUpdate(roomId, table) {
|
|
3572
|
-
this.
|
|
3651
|
+
this.ia7_1 = roomId;
|
|
3573
3652
|
this.table = table;
|
|
3574
3653
|
}
|
|
3575
|
-
protoOf(TableStateUpdate).
|
|
3576
|
-
return this.
|
|
3654
|
+
protoOf(TableStateUpdate).g8i = function () {
|
|
3655
|
+
return this.ia7_1;
|
|
3577
3656
|
};
|
|
3578
|
-
protoOf(TableStateUpdate).
|
|
3657
|
+
protoOf(TableStateUpdate).a6s = function () {
|
|
3579
3658
|
return this.table;
|
|
3580
3659
|
};
|
|
3581
3660
|
protoOf(TableStateUpdate).oe = function () {
|
|
3582
|
-
return this.
|
|
3661
|
+
return this.ia7_1;
|
|
3583
3662
|
};
|
|
3584
3663
|
protoOf(TableStateUpdate).pe = function () {
|
|
3585
3664
|
return this.table;
|
|
3586
3665
|
};
|
|
3587
|
-
protoOf(TableStateUpdate).
|
|
3666
|
+
protoOf(TableStateUpdate).ja7 = function (roomId, table) {
|
|
3588
3667
|
return new TableStateUpdate(roomId, table);
|
|
3589
3668
|
};
|
|
3590
3669
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3591
|
-
roomId = roomId === VOID ? this.
|
|
3670
|
+
roomId = roomId === VOID ? this.ia7_1 : roomId;
|
|
3592
3671
|
table = table === VOID ? this.table : table;
|
|
3593
|
-
return $super === VOID ? this.
|
|
3672
|
+
return $super === VOID ? this.ja7(roomId, table) : $super.ja7.call(this, roomId, table);
|
|
3594
3673
|
};
|
|
3595
3674
|
protoOf(TableStateUpdate).toString = function () {
|
|
3596
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3675
|
+
return 'TableStateUpdate(roomId=' + this.ia7_1 + ', table=' + this.table.toString() + ')';
|
|
3597
3676
|
};
|
|
3598
3677
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3599
|
-
var result = getStringHashCode(this.
|
|
3678
|
+
var result = getStringHashCode(this.ia7_1);
|
|
3600
3679
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3601
3680
|
return result;
|
|
3602
3681
|
};
|
|
@@ -3605,41 +3684,41 @@
|
|
|
3605
3684
|
return true;
|
|
3606
3685
|
if (!(other instanceof TableStateUpdate))
|
|
3607
3686
|
return false;
|
|
3608
|
-
if (!(this.
|
|
3687
|
+
if (!(this.ia7_1 === other.ia7_1))
|
|
3609
3688
|
return false;
|
|
3610
3689
|
if (!this.table.equals(other.table))
|
|
3611
3690
|
return false;
|
|
3612
3691
|
return true;
|
|
3613
3692
|
};
|
|
3614
3693
|
function ActionsStateUpdate(roomId, actions) {
|
|
3615
|
-
this.
|
|
3694
|
+
this.ha7_1 = roomId;
|
|
3616
3695
|
this.actions = actions;
|
|
3617
3696
|
}
|
|
3618
|
-
protoOf(ActionsStateUpdate).
|
|
3619
|
-
return this.
|
|
3697
|
+
protoOf(ActionsStateUpdate).g8i = function () {
|
|
3698
|
+
return this.ha7_1;
|
|
3620
3699
|
};
|
|
3621
|
-
protoOf(ActionsStateUpdate).
|
|
3700
|
+
protoOf(ActionsStateUpdate).u8i = function () {
|
|
3622
3701
|
return this.actions;
|
|
3623
3702
|
};
|
|
3624
3703
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3625
|
-
return this.
|
|
3704
|
+
return this.ha7_1;
|
|
3626
3705
|
};
|
|
3627
3706
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3628
3707
|
return this.actions;
|
|
3629
3708
|
};
|
|
3630
|
-
protoOf(ActionsStateUpdate).
|
|
3709
|
+
protoOf(ActionsStateUpdate).ka7 = function (roomId, actions) {
|
|
3631
3710
|
return new ActionsStateUpdate(roomId, actions);
|
|
3632
3711
|
};
|
|
3633
3712
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3634
|
-
roomId = roomId === VOID ? this.
|
|
3713
|
+
roomId = roomId === VOID ? this.ha7_1 : roomId;
|
|
3635
3714
|
actions = actions === VOID ? this.actions : actions;
|
|
3636
|
-
return $super === VOID ? this.
|
|
3715
|
+
return $super === VOID ? this.ka7(roomId, actions) : $super.ka7.call(this, roomId, actions);
|
|
3637
3716
|
};
|
|
3638
3717
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3639
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3718
|
+
return 'ActionsStateUpdate(roomId=' + this.ha7_1 + ', actions=' + toString(this.actions) + ')';
|
|
3640
3719
|
};
|
|
3641
3720
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3642
|
-
var result = getStringHashCode(this.
|
|
3721
|
+
var result = getStringHashCode(this.ha7_1);
|
|
3643
3722
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3644
3723
|
return result;
|
|
3645
3724
|
};
|
|
@@ -3648,7 +3727,7 @@
|
|
|
3648
3727
|
return true;
|
|
3649
3728
|
if (!(other instanceof ActionsStateUpdate))
|
|
3650
3729
|
return false;
|
|
3651
|
-
if (!(this.
|
|
3730
|
+
if (!(this.ha7_1 === other.ha7_1))
|
|
3652
3731
|
return false;
|
|
3653
3732
|
if (!equals(this.actions, other.actions))
|
|
3654
3733
|
return false;
|
|
@@ -3882,18 +3961,18 @@
|
|
|
3882
3961
|
function ToClientEventsObserver() {
|
|
3883
3962
|
}
|
|
3884
3963
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3885
|
-
this.
|
|
3886
|
-
this.
|
|
3964
|
+
this.ua7_1 = this$0;
|
|
3965
|
+
this.va7_1 = $actions;
|
|
3887
3966
|
CoroutineImpl.call(this, resultContinuation);
|
|
3888
3967
|
}
|
|
3889
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3890
|
-
var tmp = this.
|
|
3968
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ya7 = function ($this$flow, $completion) {
|
|
3969
|
+
var tmp = this.za7($this$flow, $completion);
|
|
3891
3970
|
tmp.u8_1 = Unit_instance;
|
|
3892
3971
|
tmp.v8_1 = null;
|
|
3893
3972
|
return tmp.a9();
|
|
3894
3973
|
};
|
|
3895
3974
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3896
|
-
return this.
|
|
3975
|
+
return this.ya7((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3897
3976
|
};
|
|
3898
3977
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3899
3978
|
var suspendResult = this.u8_1;
|
|
@@ -3903,19 +3982,19 @@
|
|
|
3903
3982
|
switch (tmp) {
|
|
3904
3983
|
case 0:
|
|
3905
3984
|
this.t8_1 = 4;
|
|
3906
|
-
this.
|
|
3907
|
-
this.
|
|
3985
|
+
this.ua7_1.ea8_1;
|
|
3986
|
+
this.xa7_1 = transformToEmits(this.ua7_1, this.va7_1).l();
|
|
3908
3987
|
this.s8_1 = 1;
|
|
3909
3988
|
continue $sm;
|
|
3910
3989
|
case 1:
|
|
3911
|
-
if (!this.
|
|
3990
|
+
if (!this.xa7_1.m()) {
|
|
3912
3991
|
this.s8_1 = 3;
|
|
3913
3992
|
continue $sm;
|
|
3914
3993
|
}
|
|
3915
3994
|
|
|
3916
|
-
var element = this.
|
|
3995
|
+
var element = this.xa7_1.n();
|
|
3917
3996
|
this.s8_1 = 2;
|
|
3918
|
-
suspendResult = this.
|
|
3997
|
+
suspendResult = this.wa7_1.n28(element, this);
|
|
3919
3998
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3920
3999
|
return suspendResult;
|
|
3921
4000
|
}
|
|
@@ -3925,11 +4004,11 @@
|
|
|
3925
4004
|
this.s8_1 = 1;
|
|
3926
4005
|
continue $sm;
|
|
3927
4006
|
case 3:
|
|
3928
|
-
var tmp0 = this.
|
|
4007
|
+
var tmp0 = this.ua7_1.da8_1;
|
|
3929
4008
|
l$ret$1: do {
|
|
3930
4009
|
while (true) {
|
|
3931
4010
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3932
|
-
var upd = cur - this.
|
|
4011
|
+
var upd = cur - this.va7_1.o() | 0;
|
|
3933
4012
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3934
4013
|
break l$ret$1;
|
|
3935
4014
|
}
|
|
@@ -3951,15 +4030,15 @@
|
|
|
3951
4030
|
}
|
|
3952
4031
|
while (true);
|
|
3953
4032
|
};
|
|
3954
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3955
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3956
|
-
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;
|
|
3957
4036
|
return i;
|
|
3958
4037
|
};
|
|
3959
4038
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3960
4039
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3961
4040
|
var l = function ($this$flow, $completion) {
|
|
3962
|
-
return i.
|
|
4041
|
+
return i.ya7($this$flow, $completion);
|
|
3963
4042
|
};
|
|
3964
4043
|
l.$arity = 1;
|
|
3965
4044
|
return l;
|
|
@@ -4029,29 +4108,29 @@
|
|
|
4029
4108
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4030
4109
|
}
|
|
4031
4110
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4032
|
-
var tmp = $this.
|
|
4111
|
+
var tmp = $this.ca8_1.d6e();
|
|
4033
4112
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4034
|
-
var this_0 = _this__u8e3s4.
|
|
4113
|
+
var this_0 = _this__u8e3s4.ha8_1;
|
|
4035
4114
|
var tmp_0 = copyToArray(this_0);
|
|
4036
4115
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4037
|
-
var this_1 = _this__u8e3s4.
|
|
4116
|
+
var this_1 = _this__u8e3s4.ia8_1;
|
|
4038
4117
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4039
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4118
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ga8_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ja8_1);
|
|
4040
4119
|
}
|
|
4041
4120
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4042
|
-
this.
|
|
4043
|
-
this.
|
|
4044
|
-
this.
|
|
4045
|
-
this.
|
|
4121
|
+
this.ga8_1 = tableId;
|
|
4122
|
+
this.ha8_1 = includePlayers;
|
|
4123
|
+
this.ia8_1 = excludePlayers;
|
|
4124
|
+
this.ja8_1 = deliveryType;
|
|
4046
4125
|
}
|
|
4047
4126
|
protoOf(GroupKey).toString = function () {
|
|
4048
|
-
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() + ')';
|
|
4049
4128
|
};
|
|
4050
4129
|
protoOf(GroupKey).hashCode = function () {
|
|
4051
|
-
var result = getStringHashCode(this.
|
|
4052
|
-
result = imul(result, 31) + hashCode(this.
|
|
4053
|
-
result = imul(result, 31) + hashCode(this.
|
|
4054
|
-
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;
|
|
4055
4134
|
return result;
|
|
4056
4135
|
};
|
|
4057
4136
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4059,35 +4138,35 @@
|
|
|
4059
4138
|
return true;
|
|
4060
4139
|
if (!(other instanceof GroupKey))
|
|
4061
4140
|
return false;
|
|
4062
|
-
if (!(this.
|
|
4141
|
+
if (!(this.ga8_1 === other.ga8_1))
|
|
4063
4142
|
return false;
|
|
4064
|
-
if (!equals(this.
|
|
4143
|
+
if (!equals(this.ha8_1, other.ha8_1))
|
|
4065
4144
|
return false;
|
|
4066
|
-
if (!equals(this.
|
|
4145
|
+
if (!equals(this.ia8_1, other.ia8_1))
|
|
4067
4146
|
return false;
|
|
4068
|
-
if (!this.
|
|
4147
|
+
if (!this.ja8_1.equals(other.ja8_1))
|
|
4069
4148
|
return false;
|
|
4070
4149
|
return true;
|
|
4071
4150
|
};
|
|
4072
4151
|
function Companion_4() {
|
|
4073
|
-
this.
|
|
4152
|
+
this.ka8_1 = 6;
|
|
4074
4153
|
}
|
|
4075
4154
|
var Companion_instance_12;
|
|
4076
4155
|
function Companion_getInstance_5() {
|
|
4077
4156
|
return Companion_instance_12;
|
|
4078
4157
|
}
|
|
4079
4158
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4080
|
-
this.
|
|
4159
|
+
this.ta8_1 = this$0;
|
|
4081
4160
|
CoroutineImpl.call(this, resultContinuation);
|
|
4082
4161
|
}
|
|
4083
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4084
|
-
var tmp = this.
|
|
4162
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).va8 = function (actions, $completion) {
|
|
4163
|
+
var tmp = this.wa8(actions, $completion);
|
|
4085
4164
|
tmp.u8_1 = Unit_instance;
|
|
4086
4165
|
tmp.v8_1 = null;
|
|
4087
4166
|
return tmp.a9();
|
|
4088
4167
|
};
|
|
4089
4168
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4090
|
-
return this.
|
|
4169
|
+
return this.va8((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4091
4170
|
};
|
|
4092
4171
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4093
4172
|
var suspendResult = this.u8_1;
|
|
@@ -4096,7 +4175,7 @@
|
|
|
4096
4175
|
var tmp = this.s8_1;
|
|
4097
4176
|
if (tmp === 0) {
|
|
4098
4177
|
this.t8_1 = 1;
|
|
4099
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4178
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ta8_1, this.ua8_1, null));
|
|
4100
4179
|
} else if (tmp === 1) {
|
|
4101
4180
|
throw this.v8_1;
|
|
4102
4181
|
}
|
|
@@ -4106,23 +4185,23 @@
|
|
|
4106
4185
|
}
|
|
4107
4186
|
while (true);
|
|
4108
4187
|
};
|
|
4109
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4110
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4111
|
-
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;
|
|
4112
4191
|
return i;
|
|
4113
4192
|
};
|
|
4114
4193
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4115
4194
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4116
4195
|
var l = function (actions, $completion) {
|
|
4117
|
-
return i.
|
|
4196
|
+
return i.va8(actions, $completion);
|
|
4118
4197
|
};
|
|
4119
4198
|
l.$arity = 1;
|
|
4120
4199
|
return l;
|
|
4121
4200
|
}
|
|
4122
4201
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4123
4202
|
CoroutineImpl.call(this, resultContinuation);
|
|
4124
|
-
this.
|
|
4125
|
-
this.
|
|
4203
|
+
this.fa9_1 = _this__u8e3s4;
|
|
4204
|
+
this.ga9_1 = fromEvent;
|
|
4126
4205
|
}
|
|
4127
4206
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4128
4207
|
var suspendResult = this.u8_1;
|
|
@@ -4132,8 +4211,8 @@
|
|
|
4132
4211
|
switch (tmp) {
|
|
4133
4212
|
case 0:
|
|
4134
4213
|
this.t8_1 = 2;
|
|
4135
|
-
this.
|
|
4136
|
-
var tmp0 = this.
|
|
4214
|
+
this.fa9_1.ea8_1;
|
|
4215
|
+
var tmp0 = this.fa9_1.da8_1;
|
|
4137
4216
|
l$ret$1: do {
|
|
4138
4217
|
while (true) {
|
|
4139
4218
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4145,7 +4224,7 @@
|
|
|
4145
4224
|
}
|
|
4146
4225
|
while (false);
|
|
4147
4226
|
this.s8_1 = 1;
|
|
4148
|
-
suspendResult = this.
|
|
4227
|
+
suspendResult = this.fa9_1.fa8_1.n28(this.ga9_1, this);
|
|
4149
4228
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4150
4229
|
return suspendResult;
|
|
4151
4230
|
}
|
|
@@ -4169,7 +4248,7 @@
|
|
|
4169
4248
|
};
|
|
4170
4249
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4171
4250
|
CoroutineImpl.call(this, resultContinuation);
|
|
4172
|
-
this.
|
|
4251
|
+
this.pa9_1 = _this__u8e3s4;
|
|
4173
4252
|
}
|
|
4174
4253
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4175
4254
|
var suspendResult = this.u8_1;
|
|
@@ -4179,12 +4258,12 @@
|
|
|
4179
4258
|
switch (tmp) {
|
|
4180
4259
|
case 0:
|
|
4181
4260
|
this.t8_1 = 5;
|
|
4182
|
-
this.
|
|
4183
|
-
this.
|
|
4261
|
+
this.pa9_1.ea8_1;
|
|
4262
|
+
this.qa9_1 = 0;
|
|
4184
4263
|
this.s8_1 = 1;
|
|
4185
4264
|
continue $sm;
|
|
4186
4265
|
case 1:
|
|
4187
|
-
if (!!(this.
|
|
4266
|
+
if (!!(this.pa9_1.da8_1.kotlinx$atomicfu$value === 0)) {
|
|
4188
4267
|
this.s8_1 = 4;
|
|
4189
4268
|
continue $sm;
|
|
4190
4269
|
}
|
|
@@ -4197,9 +4276,9 @@
|
|
|
4197
4276
|
|
|
4198
4277
|
continue $sm;
|
|
4199
4278
|
case 2:
|
|
4200
|
-
this.
|
|
4201
|
-
if (this.
|
|
4202
|
-
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);
|
|
4203
4282
|
this.s8_1 = 4;
|
|
4204
4283
|
continue $sm;
|
|
4205
4284
|
} else {
|
|
@@ -4227,183 +4306,183 @@
|
|
|
4227
4306
|
while (true);
|
|
4228
4307
|
};
|
|
4229
4308
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4232
|
-
this.
|
|
4233
|
-
this.
|
|
4309
|
+
this.aa8_1 = serverReduxConfig;
|
|
4310
|
+
this.ba8_1 = logger;
|
|
4311
|
+
this.ca8_1 = idsProvider;
|
|
4312
|
+
this.da8_1 = atomic$ref$1(0);
|
|
4234
4313
|
var tmp = this;
|
|
4235
4314
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4236
|
-
tmp.
|
|
4237
|
-
this.
|
|
4315
|
+
tmp.ea8_1 = get_atomicfu$reentrantLock();
|
|
4316
|
+
this.fa8_1 = MutableSharedFlow();
|
|
4238
4317
|
}
|
|
4239
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4318
|
+
protoOf(ToClientEventsObserverImpl).la7 = function (fromEvent, $completion) {
|
|
4240
4319
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4241
4320
|
tmp.u8_1 = Unit_instance;
|
|
4242
4321
|
tmp.v8_1 = null;
|
|
4243
4322
|
return tmp.a9();
|
|
4244
4323
|
};
|
|
4245
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4324
|
+
protoOf(ToClientEventsObserverImpl).z9g = function ($completion) {
|
|
4246
4325
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4247
4326
|
tmp.u8_1 = Unit_instance;
|
|
4248
4327
|
tmp.v8_1 = null;
|
|
4249
4328
|
return tmp.a9();
|
|
4250
4329
|
};
|
|
4251
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4252
|
-
if (!this.
|
|
4253
|
-
return this.
|
|
4330
|
+
protoOf(ToClientEventsObserverImpl).x9x = function () {
|
|
4331
|
+
if (!this.aa8_1.enabledCombinedEvents) {
|
|
4332
|
+
return this.fa8_1;
|
|
4254
4333
|
}
|
|
4255
|
-
var tmp = windowedByInterval(this.
|
|
4334
|
+
var tmp = windowedByInterval(this.fa8_1, fromInt(this.aa8_1.combinedEventsIntervalMillis));
|
|
4256
4335
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4257
4336
|
};
|
|
4258
4337
|
function UpdateServerConfigAction(serverConfig) {
|
|
4259
|
-
this.
|
|
4338
|
+
this.ra9_1 = serverConfig;
|
|
4260
4339
|
}
|
|
4261
4340
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4262
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4341
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.ra9_1.toString() + ')';
|
|
4263
4342
|
};
|
|
4264
4343
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4265
|
-
return this.
|
|
4344
|
+
return this.ra9_1.hashCode();
|
|
4266
4345
|
};
|
|
4267
4346
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4268
4347
|
if (this === other)
|
|
4269
4348
|
return true;
|
|
4270
4349
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4271
4350
|
return false;
|
|
4272
|
-
if (!this.
|
|
4351
|
+
if (!this.ra9_1.equals(other.ra9_1))
|
|
4273
4352
|
return false;
|
|
4274
4353
|
return true;
|
|
4275
4354
|
};
|
|
4276
4355
|
function SpectatorsAction() {
|
|
4277
4356
|
}
|
|
4278
4357
|
function AddSpectatorsAction(spectators) {
|
|
4279
|
-
this.
|
|
4358
|
+
this.sa9_1 = spectators;
|
|
4280
4359
|
}
|
|
4281
4360
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4282
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4361
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.sa9_1) + ')';
|
|
4283
4362
|
};
|
|
4284
4363
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4285
|
-
return hashCode(this.
|
|
4364
|
+
return hashCode(this.sa9_1);
|
|
4286
4365
|
};
|
|
4287
4366
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4288
4367
|
if (this === other)
|
|
4289
4368
|
return true;
|
|
4290
4369
|
if (!(other instanceof AddSpectatorsAction))
|
|
4291
4370
|
return false;
|
|
4292
|
-
if (!equals(this.
|
|
4371
|
+
if (!equals(this.sa9_1, other.sa9_1))
|
|
4293
4372
|
return false;
|
|
4294
4373
|
return true;
|
|
4295
4374
|
};
|
|
4296
4375
|
function RemoveSpectatorsAction(spectators) {
|
|
4297
|
-
this.
|
|
4376
|
+
this.ta9_1 = spectators;
|
|
4298
4377
|
}
|
|
4299
4378
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4300
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4379
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ta9_1) + ')';
|
|
4301
4380
|
};
|
|
4302
4381
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4303
|
-
return hashCode(this.
|
|
4382
|
+
return hashCode(this.ta9_1);
|
|
4304
4383
|
};
|
|
4305
4384
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4306
4385
|
if (this === other)
|
|
4307
4386
|
return true;
|
|
4308
4387
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4309
4388
|
return false;
|
|
4310
|
-
if (!equals(this.
|
|
4389
|
+
if (!equals(this.ta9_1, other.ta9_1))
|
|
4311
4390
|
return false;
|
|
4312
4391
|
return true;
|
|
4313
4392
|
};
|
|
4314
4393
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4315
|
-
var tmp0 = $this.
|
|
4394
|
+
var tmp0 = $this.za9_1;
|
|
4316
4395
|
var tmp = KProperty1;
|
|
4317
4396
|
// Inline function 'kotlin.getValue' call
|
|
4318
4397
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4319
4398
|
return tmp0.x();
|
|
4320
4399
|
}
|
|
4321
4400
|
function _get_logger__rkp4sl($this) {
|
|
4322
|
-
var tmp0 = $this.
|
|
4401
|
+
var tmp0 = $this.aaa_1;
|
|
4323
4402
|
var tmp = KProperty1;
|
|
4324
4403
|
// Inline function 'kotlin.getValue' call
|
|
4325
4404
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4326
4405
|
return tmp0.x();
|
|
4327
4406
|
}
|
|
4328
4407
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4329
|
-
var tmp0 = $this.
|
|
4408
|
+
var tmp0 = $this.baa_1;
|
|
4330
4409
|
var tmp = KProperty1;
|
|
4331
4410
|
// Inline function 'kotlin.getValue' call
|
|
4332
4411
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4333
4412
|
return tmp0.x();
|
|
4334
4413
|
}
|
|
4335
4414
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4336
|
-
var tmp0 = $this.
|
|
4415
|
+
var tmp0 = $this.caa_1;
|
|
4337
4416
|
var tmp = KProperty1;
|
|
4338
4417
|
// Inline function 'kotlin.getValue' call
|
|
4339
4418
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4340
4419
|
return tmp0.x();
|
|
4341
4420
|
}
|
|
4342
4421
|
function _get_serverConfig__rk2g06($this) {
|
|
4343
|
-
var tmp0 = $this.
|
|
4422
|
+
var tmp0 = $this.daa_1;
|
|
4344
4423
|
var tmp = KProperty1;
|
|
4345
4424
|
// Inline function 'kotlin.getValue' call
|
|
4346
4425
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4347
4426
|
return tmp0.x();
|
|
4348
4427
|
}
|
|
4349
4428
|
function _get_logicConfig__52ww9d($this) {
|
|
4350
|
-
var tmp0 = $this.
|
|
4429
|
+
var tmp0 = $this.eaa_1;
|
|
4351
4430
|
var tmp = KProperty1;
|
|
4352
4431
|
// Inline function 'kotlin.getValue' call
|
|
4353
4432
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4354
4433
|
return tmp0.x();
|
|
4355
4434
|
}
|
|
4356
4435
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4357
|
-
var tmp0 = $this.
|
|
4436
|
+
var tmp0 = $this.faa_1;
|
|
4358
4437
|
var tmp = KProperty1;
|
|
4359
4438
|
// Inline function 'kotlin.getValue' call
|
|
4360
4439
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4361
4440
|
return tmp0.x();
|
|
4362
4441
|
}
|
|
4363
4442
|
function _get_botConfig__cpaxzc($this) {
|
|
4364
|
-
var tmp0 = $this.
|
|
4443
|
+
var tmp0 = $this.gaa_1;
|
|
4365
4444
|
var tmp = KProperty1;
|
|
4366
4445
|
// Inline function 'kotlin.getValue' call
|
|
4367
4446
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4368
4447
|
return tmp0.x();
|
|
4369
4448
|
}
|
|
4370
4449
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4371
|
-
var tmp0 = $this.
|
|
4450
|
+
var tmp0 = $this.haa_1;
|
|
4372
4451
|
var tmp = KProperty1;
|
|
4373
4452
|
// Inline function 'kotlin.getValue' call
|
|
4374
4453
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4375
4454
|
return tmp0.x();
|
|
4376
4455
|
}
|
|
4377
4456
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4378
|
-
var tmp0 = $this.
|
|
4457
|
+
var tmp0 = $this.iaa_1;
|
|
4379
4458
|
var tmp = KProperty1;
|
|
4380
4459
|
// Inline function 'kotlin.getValue' call
|
|
4381
4460
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4382
4461
|
return tmp0.x();
|
|
4383
4462
|
}
|
|
4384
4463
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4385
|
-
var tmp0 = $this.
|
|
4464
|
+
var tmp0 = $this.jaa_1;
|
|
4386
4465
|
var tmp = KProperty1;
|
|
4387
4466
|
// Inline function 'kotlin.getValue' call
|
|
4388
4467
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4389
4468
|
return tmp0.x();
|
|
4390
4469
|
}
|
|
4391
4470
|
function _get_dealerConfig__183ci8($this) {
|
|
4392
|
-
var tmp0 = $this.
|
|
4471
|
+
var tmp0 = $this.kaa_1;
|
|
4393
4472
|
var tmp = KProperty1;
|
|
4394
4473
|
// Inline function 'kotlin.getValue' call
|
|
4395
4474
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4396
4475
|
return tmp0.x();
|
|
4397
4476
|
}
|
|
4398
4477
|
function _get_poolProvider__tqti6a($this) {
|
|
4399
|
-
var tmp0 = $this.
|
|
4478
|
+
var tmp0 = $this.laa_1;
|
|
4400
4479
|
var tmp = KProperty1;
|
|
4401
4480
|
// Inline function 'kotlin.getValue' call
|
|
4402
4481
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4403
4482
|
return tmp0.x();
|
|
4404
4483
|
}
|
|
4405
4484
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4406
|
-
var tmp0 = $this.
|
|
4485
|
+
var tmp0 = $this.maa_1;
|
|
4407
4486
|
var tmp = KProperty1;
|
|
4408
4487
|
// Inline function 'kotlin.getValue' call
|
|
4409
4488
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4567,11 +4646,11 @@
|
|
|
4567
4646
|
tmp = fileLoggerStoreContract;
|
|
4568
4647
|
}
|
|
4569
4648
|
fileLoggerStoreContract = tmp;
|
|
4570
|
-
this.
|
|
4571
|
-
this.
|
|
4572
|
-
this.
|
|
4573
|
-
this.
|
|
4574
|
-
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;
|
|
4575
4654
|
var tmp_0 = this;
|
|
4576
4655
|
// Inline function 'org.kodein.di.instance' call
|
|
4577
4656
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4579,7 +4658,7 @@
|
|
|
4579
4658
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4580
4659
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4581
4660
|
var tmp_3 = KProperty1;
|
|
4582
|
-
tmp_0.
|
|
4661
|
+
tmp_0.za9_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4583
4662
|
var tmp_4 = this;
|
|
4584
4663
|
// Inline function 'org.kodein.di.instance' call
|
|
4585
4664
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4587,7 +4666,7 @@
|
|
|
4587
4666
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4588
4667
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4589
4668
|
var tmp_7 = KProperty1;
|
|
4590
|
-
tmp_4.
|
|
4669
|
+
tmp_4.aaa_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4591
4670
|
var tmp_8 = this;
|
|
4592
4671
|
// Inline function 'org.kodein.di.instance' call
|
|
4593
4672
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4595,7 +4674,7 @@
|
|
|
4595
4674
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4596
4675
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4597
4676
|
var tmp_11 = KProperty1;
|
|
4598
|
-
tmp_8.
|
|
4677
|
+
tmp_8.baa_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4599
4678
|
var tmp_12 = this;
|
|
4600
4679
|
// Inline function 'org.kodein.di.instance' call
|
|
4601
4680
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4603,7 +4682,7 @@
|
|
|
4603
4682
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4604
4683
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4605
4684
|
var tmp_15 = KProperty1;
|
|
4606
|
-
tmp_12.
|
|
4685
|
+
tmp_12.caa_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4607
4686
|
var tmp_16 = this;
|
|
4608
4687
|
// Inline function 'org.kodein.di.instance' call
|
|
4609
4688
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4611,7 +4690,7 @@
|
|
|
4611
4690
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4612
4691
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4613
4692
|
var tmp_19 = KProperty1;
|
|
4614
|
-
tmp_16.
|
|
4693
|
+
tmp_16.daa_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4615
4694
|
var tmp_20 = this;
|
|
4616
4695
|
// Inline function 'org.kodein.di.instance' call
|
|
4617
4696
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4619,7 +4698,7 @@
|
|
|
4619
4698
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4620
4699
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4621
4700
|
var tmp_23 = KProperty1;
|
|
4622
|
-
tmp_20.
|
|
4701
|
+
tmp_20.eaa_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4623
4702
|
var tmp_24 = this;
|
|
4624
4703
|
// Inline function 'org.kodein.di.instance' call
|
|
4625
4704
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4627,7 +4706,7 @@
|
|
|
4627
4706
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4628
4707
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4629
4708
|
var tmp_27 = KProperty1;
|
|
4630
|
-
tmp_24.
|
|
4709
|
+
tmp_24.faa_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4631
4710
|
var tmp_28 = this;
|
|
4632
4711
|
// Inline function 'org.kodein.di.instance' call
|
|
4633
4712
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4635,7 +4714,7 @@
|
|
|
4635
4714
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4636
4715
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4637
4716
|
var tmp_31 = KProperty1;
|
|
4638
|
-
tmp_28.
|
|
4717
|
+
tmp_28.gaa_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4639
4718
|
var tmp_32 = this;
|
|
4640
4719
|
// Inline function 'org.kodein.di.instance' call
|
|
4641
4720
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4643,7 +4722,7 @@
|
|
|
4643
4722
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4644
4723
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4645
4724
|
var tmp_35 = KProperty1;
|
|
4646
|
-
tmp_32.
|
|
4725
|
+
tmp_32.haa_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4647
4726
|
var tmp_36 = this;
|
|
4648
4727
|
// Inline function 'org.kodein.di.instance' call
|
|
4649
4728
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4651,7 +4730,7 @@
|
|
|
4651
4730
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4652
4731
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4653
4732
|
var tmp_39 = KProperty1;
|
|
4654
|
-
tmp_36.
|
|
4733
|
+
tmp_36.iaa_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4655
4734
|
var tmp_40 = this;
|
|
4656
4735
|
// Inline function 'org.kodein.di.instance' call
|
|
4657
4736
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4659,7 +4738,7 @@
|
|
|
4659
4738
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4660
4739
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4661
4740
|
var tmp_43 = KProperty1;
|
|
4662
|
-
tmp_40.
|
|
4741
|
+
tmp_40.jaa_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4663
4742
|
var tmp_44 = this;
|
|
4664
4743
|
// Inline function 'org.kodein.di.instance' call
|
|
4665
4744
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4667,7 +4746,7 @@
|
|
|
4667
4746
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4668
4747
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4669
4748
|
var tmp_47 = KProperty1;
|
|
4670
|
-
tmp_44.
|
|
4749
|
+
tmp_44.kaa_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4671
4750
|
var tmp_48 = this;
|
|
4672
4751
|
// Inline function 'org.kodein.di.instance' call
|
|
4673
4752
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4675,7 +4754,7 @@
|
|
|
4675
4754
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4676
4755
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4677
4756
|
var tmp_51 = KProperty1;
|
|
4678
|
-
tmp_48.
|
|
4757
|
+
tmp_48.laa_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4679
4758
|
var tmp_52 = this;
|
|
4680
4759
|
// Inline function 'org.kodein.di.instance' call
|
|
4681
4760
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4683,20 +4762,20 @@
|
|
|
4683
4762
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4684
4763
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4685
4764
|
var tmp_55 = KProperty1;
|
|
4686
|
-
tmp_52.
|
|
4765
|
+
tmp_52.maa_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4687
4766
|
}
|
|
4688
|
-
protoOf(ServerGameStoreContract).
|
|
4689
|
-
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))]));
|
|
4690
4769
|
};
|
|
4691
|
-
protoOf(ServerGameStoreContract).
|
|
4692
|
-
var tmp = this.
|
|
4770
|
+
protoOf(ServerGameStoreContract).x95 = function () {
|
|
4771
|
+
var tmp = this.ua9_1.x95();
|
|
4693
4772
|
var tmp_0;
|
|
4694
4773
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4695
4774
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4696
4775
|
} else {
|
|
4697
4776
|
tmp_0 = null;
|
|
4698
4777
|
}
|
|
4699
|
-
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()]));
|
|
4700
4779
|
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4701
4780
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4702
4781
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4723,10 +4802,10 @@
|
|
|
4723
4802
|
}
|
|
4724
4803
|
function finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1() {
|
|
4725
4804
|
}
|
|
4726
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4805
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
4727
4806
|
return action instanceof RoundEndedAction;
|
|
4728
4807
|
};
|
|
4729
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4808
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
4730
4809
|
var tmp4 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
4731
4810
|
$l$block_0: {
|
|
4732
4811
|
next(tmp4);
|
|
@@ -4736,33 +4815,33 @@
|
|
|
4736
4815
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.tableOrNull));
|
|
4737
4816
|
break $l$block_0;
|
|
4738
4817
|
}
|
|
4739
|
-
if (state.
|
|
4818
|
+
if (state.a6s().config.mode.equals(RoomMode_REVENGE_getInstance())) {
|
|
4740
4819
|
store.dispatch(Companion_instance.fromTableWithAnalytics(new GameFinishedReason(Reason_REVENGED_getInstance()), true, state.tableOrNull));
|
|
4741
4820
|
break $l$block_0;
|
|
4742
4821
|
}
|
|
4743
4822
|
}
|
|
4744
4823
|
}
|
|
4745
4824
|
};
|
|
4746
|
-
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).
|
|
4747
|
-
return this.
|
|
4825
|
+
protoOf(finishingGameWhenCantStartNewMiddleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
4826
|
+
return this.u6h(store, next, action);
|
|
4748
4827
|
};
|
|
4749
4828
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4750
|
-
this.
|
|
4829
|
+
this.paa_1 = this$0;
|
|
4751
4830
|
}
|
|
4752
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4831
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
4753
4832
|
return action instanceof MechanicAction;
|
|
4754
4833
|
};
|
|
4755
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
4834
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
4756
4835
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
4757
4836
|
var state = store.state;
|
|
4758
4837
|
// Inline function 'kotlin.with' call
|
|
4759
4838
|
var tmp;
|
|
4760
4839
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4761
|
-
var tmp0 = this.
|
|
4762
|
-
var tmp2 = action_0.
|
|
4763
|
-
var tmp4 = action_0.
|
|
4840
|
+
var tmp0 = this.paa_1;
|
|
4841
|
+
var tmp2 = action_0.b92_1;
|
|
4842
|
+
var tmp4 = action_0.d92_1;
|
|
4764
4843
|
// Inline function 'kotlin.collections.map' call
|
|
4765
|
-
var this_0 = action_0.
|
|
4844
|
+
var this_0 = action_0.e92_1;
|
|
4766
4845
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4767
4846
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4768
4847
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4798,7 +4877,7 @@
|
|
|
4798
4877
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4799
4878
|
while (_iterator__ex2g4s_2.m()) {
|
|
4800
4879
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4801
|
-
var tmp0_aid = tmp0.
|
|
4880
|
+
var tmp0_aid = tmp0.oaa_1.d6e();
|
|
4802
4881
|
// Inline function 'kotlin.collections.map' call
|
|
4803
4882
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4804
4883
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4820,16 +4899,16 @@
|
|
|
4820
4899
|
tmp = destination_2;
|
|
4821
4900
|
} else {
|
|
4822
4901
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4823
|
-
var tmp0_0 = this.
|
|
4902
|
+
var tmp0_0 = this.paa_1;
|
|
4824
4903
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4825
|
-
var table = state.
|
|
4826
|
-
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);
|
|
4827
4906
|
var tmp$ret$21 = mapToClient_17(action_0, sendToPlayer_0);
|
|
4828
4907
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4829
4908
|
} else {
|
|
4830
4909
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4831
|
-
var tmp0_1 = this.
|
|
4832
|
-
var tmp2_0 = action_0.
|
|
4910
|
+
var tmp0_1 = this.paa_1;
|
|
4911
|
+
var tmp2_0 = action_0.h92_1.id;
|
|
4833
4912
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4834
4913
|
// Inline function 'kotlin.collections.map' call
|
|
4835
4914
|
var this_1 = action_0.users;
|
|
@@ -4868,7 +4947,7 @@
|
|
|
4868
4947
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4869
4948
|
while (_iterator__ex2g4s_7.m()) {
|
|
4870
4949
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4871
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4950
|
+
var tmp0_aid_0 = tmp0_1.oaa_1.d6e();
|
|
4872
4951
|
// Inline function 'kotlin.collections.map' call
|
|
4873
4952
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4874
4953
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4890,41 +4969,41 @@
|
|
|
4890
4969
|
tmp = destination_7;
|
|
4891
4970
|
} else {
|
|
4892
4971
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4893
|
-
var tmp0_2 = this.
|
|
4972
|
+
var tmp0_2 = this.paa_1;
|
|
4894
4973
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4895
|
-
var table_0 = state.
|
|
4896
|
-
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);
|
|
4897
4976
|
var tmp$ret$44 = mapToClient_15(action_0, sendToPlayer_2);
|
|
4898
4977
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4899
4978
|
} else {
|
|
4900
4979
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4901
|
-
var tmp0_3 = this.
|
|
4980
|
+
var tmp0_3 = this.paa_1;
|
|
4902
4981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4903
|
-
var table_1 = state.
|
|
4904
|
-
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);
|
|
4905
4984
|
var tmp$ret$46 = mapToClient_14(action_0, sendToPlayer_3);
|
|
4906
4985
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4907
4986
|
} else {
|
|
4908
4987
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4909
|
-
var tmp0_4 = this.
|
|
4988
|
+
var tmp0_4 = this.paa_1;
|
|
4910
4989
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4911
|
-
var table_2 = state.
|
|
4912
|
-
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);
|
|
4913
4992
|
var tmp$ret$48 = mapToClient_13(action_0, sendToPlayer_4);
|
|
4914
4993
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4915
4994
|
} else {
|
|
4916
4995
|
if (action_0 instanceof ErrorAction) {
|
|
4917
|
-
var tmp0_5 = this.
|
|
4996
|
+
var tmp0_5 = this.paa_1;
|
|
4918
4997
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4919
|
-
var table_3 = state.
|
|
4920
|
-
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);
|
|
4921
5000
|
var tmp$ret$50 = mapToClient_12(action_0, sendToPlayer_5);
|
|
4922
5001
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4923
5002
|
} else {
|
|
4924
5003
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4925
|
-
var tmp0_6 = this.
|
|
5004
|
+
var tmp0_6 = this.paa_1;
|
|
4926
5005
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4927
|
-
var table_4 = state.
|
|
5006
|
+
var table_4 = state.a6s();
|
|
4928
5007
|
var tmp2_1 = table_4.id;
|
|
4929
5008
|
var tmp4_1 = getGameCreator(table_4.players).playerId;
|
|
4930
5009
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -4955,7 +5034,7 @@
|
|
|
4955
5034
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4956
5035
|
while (_iterator__ex2g4s_11.m()) {
|
|
4957
5036
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4958
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5037
|
+
var tmp0_aid_1 = tmp0_6.oaa_1.d6e();
|
|
4959
5038
|
// Inline function 'kotlin.collections.map' call
|
|
4960
5039
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4961
5040
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4977,9 +5056,9 @@
|
|
|
4977
5056
|
tmp = destination_11;
|
|
4978
5057
|
} else {
|
|
4979
5058
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4980
|
-
var tmp0_7 = this.
|
|
5059
|
+
var tmp0_7 = this.paa_1;
|
|
4981
5060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4982
|
-
var table_5 = state.
|
|
5061
|
+
var table_5 = state.a6s();
|
|
4983
5062
|
var tmp2_2 = table_5.id;
|
|
4984
5063
|
var tmp4_2 = getGameCreator(table_5.players).playerId;
|
|
4985
5064
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5010,7 +5089,7 @@
|
|
|
5010
5089
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5011
5090
|
while (_iterator__ex2g4s_15.m()) {
|
|
5012
5091
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5013
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5092
|
+
var tmp0_aid_2 = tmp0_7.oaa_1.d6e();
|
|
5014
5093
|
// Inline function 'kotlin.collections.map' call
|
|
5015
5094
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5016
5095
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5032,9 +5111,9 @@
|
|
|
5032
5111
|
tmp = destination_15;
|
|
5033
5112
|
} else {
|
|
5034
5113
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5035
|
-
var tmp0_8 = this.
|
|
5114
|
+
var tmp0_8 = this.paa_1;
|
|
5036
5115
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5037
|
-
var table_6 = state.
|
|
5116
|
+
var table_6 = state.a6s();
|
|
5038
5117
|
var tmp2_3 = table_6.id;
|
|
5039
5118
|
var tmp4_3 = getGameCreator(table_6.players).playerId;
|
|
5040
5119
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5065,7 +5144,7 @@
|
|
|
5065
5144
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5066
5145
|
while (_iterator__ex2g4s_19.m()) {
|
|
5067
5146
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5068
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5147
|
+
var tmp0_aid_3 = tmp0_8.oaa_1.d6e();
|
|
5069
5148
|
// Inline function 'kotlin.collections.map' call
|
|
5070
5149
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5071
5150
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5077,7 +5156,7 @@
|
|
|
5077
5156
|
}
|
|
5078
5157
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5079
5158
|
var tmp_0;
|
|
5080
|
-
if (this.
|
|
5159
|
+
if (this.paa_1.naa_1.supportBackwardActions && getPlayer(state.a6s().players, sendToPlayer_8.h7g_1).m6v_1.h6z_1) {
|
|
5081
5160
|
tmp_0 = null;
|
|
5082
5161
|
} else {
|
|
5083
5162
|
tmp_0 = mapToClient_9(action_0, sendToPlayer_8);
|
|
@@ -5093,81 +5172,81 @@
|
|
|
5093
5172
|
tmp = destination_19;
|
|
5094
5173
|
} else {
|
|
5095
5174
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5096
|
-
var tmp0_9 = this.
|
|
5097
|
-
var tmp2_4 = state.
|
|
5175
|
+
var tmp0_9 = this.paa_1;
|
|
5176
|
+
var tmp2_4 = state.a6s();
|
|
5098
5177
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5099
|
-
var exceptPlayerId = this.
|
|
5100
|
-
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);
|
|
5101
5180
|
var tmp$ret$109 = mapToClient_8(action_0, sendToPlayer_9);
|
|
5102
5181
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5103
5182
|
} else {
|
|
5104
5183
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5105
|
-
var tmp0_10 = this.
|
|
5106
|
-
var tmp2_5 = state.
|
|
5184
|
+
var tmp0_10 = this.paa_1;
|
|
5185
|
+
var tmp2_5 = state.a6s();
|
|
5107
5186
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5108
|
-
var exceptPlayerId_0 = this.
|
|
5109
|
-
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);
|
|
5110
5189
|
var tmp$ret$111 = mapToClient_7(action_0, sendToPlayer_10);
|
|
5111
5190
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5112
5191
|
} else {
|
|
5113
5192
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5114
|
-
var tmp0_11 = this.
|
|
5193
|
+
var tmp0_11 = this.paa_1;
|
|
5115
5194
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5116
|
-
var table_7 = state.
|
|
5117
|
-
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);
|
|
5118
5197
|
var tmp$ret$113 = mapToClient_6(action_0, sendToPlayer_11);
|
|
5119
5198
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5120
5199
|
} else {
|
|
5121
5200
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5122
|
-
var tmp0_12 = this.
|
|
5123
|
-
var tmp2_6 = state.
|
|
5201
|
+
var tmp0_12 = this.paa_1;
|
|
5202
|
+
var tmp2_6 = state.a6s();
|
|
5124
5203
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5125
|
-
var exceptPlayerId_1 = this.
|
|
5126
|
-
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);
|
|
5127
5206
|
var tmp$ret$115 = mapToClient_5(action_0, sendToPlayer_12);
|
|
5128
5207
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5129
5208
|
} else {
|
|
5130
5209
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5131
|
-
var tmp0_13 = this.
|
|
5132
|
-
var tmp2_7 = state.
|
|
5210
|
+
var tmp0_13 = this.paa_1;
|
|
5211
|
+
var tmp2_7 = state.a6s();
|
|
5133
5212
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5134
|
-
var exceptPlayerId_2 = this.
|
|
5135
|
-
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);
|
|
5136
5215
|
var tmp$ret$117 = mapToClient_4(action_0, sendToPlayer_13);
|
|
5137
5216
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5138
5217
|
} else {
|
|
5139
5218
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5140
|
-
var tmp0_14 = this.
|
|
5219
|
+
var tmp0_14 = this.paa_1;
|
|
5141
5220
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5142
|
-
var table_8 = state.
|
|
5143
|
-
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);
|
|
5144
5223
|
var tmp$ret$119 = mapToClient_3(action_0, sendToPlayer_14);
|
|
5145
5224
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5146
5225
|
} else {
|
|
5147
5226
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5148
|
-
var tmp0_15 = this.
|
|
5149
|
-
var tmp2_8 = state.
|
|
5227
|
+
var tmp0_15 = this.paa_1;
|
|
5228
|
+
var tmp2_8 = state.a6s();
|
|
5150
5229
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5151
|
-
var exceptPlayerId_3 = this.
|
|
5152
|
-
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);
|
|
5153
5232
|
var tmp$ret$121 = mapToClient_2(action_0, sendToPlayer_15);
|
|
5154
5233
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5155
5234
|
} else {
|
|
5156
5235
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5157
|
-
var tmp0_16 = this.
|
|
5236
|
+
var tmp0_16 = this.paa_1;
|
|
5158
5237
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5159
|
-
var table_9 = state.
|
|
5160
|
-
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);
|
|
5161
5240
|
var tmp$ret$123 = mapToClient_1(action_0, sendToPlayer_16);
|
|
5162
5241
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5163
5242
|
} else {
|
|
5164
5243
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5165
|
-
var message = action_0.
|
|
5166
|
-
var tmp0_17 = this.
|
|
5167
|
-
var tmp2_9 = state.
|
|
5244
|
+
var message = action_0.k93_1;
|
|
5245
|
+
var tmp0_17 = this.paa_1;
|
|
5246
|
+
var tmp2_9 = state.a6s();
|
|
5168
5247
|
var tmp_1;
|
|
5169
5248
|
var tmp_2;
|
|
5170
|
-
if (this.
|
|
5249
|
+
if (this.paa_1.naa_1.supportBackwardActions) {
|
|
5171
5250
|
tmp_2 = isInterface(message, UserMessage);
|
|
5172
5251
|
} else {
|
|
5173
5252
|
tmp_2 = false;
|
|
@@ -5179,16 +5258,16 @@
|
|
|
5179
5258
|
}
|
|
5180
5259
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5181
5260
|
var exceptPlayerId_4 = tmp_1;
|
|
5182
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5261
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.oaa_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5183
5262
|
var tmp$ret$125 = mapToClient_0(action_0, sendToPlayer_17);
|
|
5184
5263
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5185
5264
|
} else {
|
|
5186
5265
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5187
|
-
var tmp0_18 = this.
|
|
5188
|
-
var tmp2_10 = state.
|
|
5266
|
+
var tmp0_18 = this.paa_1;
|
|
5267
|
+
var tmp2_10 = state.a6s();
|
|
5189
5268
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5190
5269
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5191
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5270
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.oaa_1.d6e(), tmp2_10.id, exceptPlayerId_5);
|
|
5192
5271
|
var tmp$ret$127 = mapToClient(action_0, sendToPlayer_18);
|
|
5193
5272
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5194
5273
|
} else {
|
|
@@ -5222,14 +5301,14 @@
|
|
|
5222
5301
|
}
|
|
5223
5302
|
next(action_0);
|
|
5224
5303
|
};
|
|
5225
|
-
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).
|
|
5226
|
-
return this.
|
|
5304
|
+
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
5305
|
+
return this.u6h(store, next, action);
|
|
5227
5306
|
};
|
|
5228
5307
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5229
|
-
this.
|
|
5230
|
-
this.
|
|
5308
|
+
this.naa_1 = logicConfig;
|
|
5309
|
+
this.oaa_1 = idsProvider;
|
|
5231
5310
|
}
|
|
5232
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5311
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).d98 = function () {
|
|
5233
5312
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5234
5313
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5235
5314
|
};
|
|
@@ -5238,8 +5317,8 @@
|
|
|
5238
5317
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5239
5318
|
}
|
|
5240
5319
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5241
|
-
this.
|
|
5242
|
-
this.
|
|
5320
|
+
this.yaa_1 = $provider;
|
|
5321
|
+
this.zaa_1 = $action;
|
|
5243
5322
|
CoroutineImpl.call(this, resultContinuation);
|
|
5244
5323
|
}
|
|
5245
5324
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5260,7 +5339,7 @@
|
|
|
5260
5339
|
case 0:
|
|
5261
5340
|
this.t8_1 = 2;
|
|
5262
5341
|
this.s8_1 = 1;
|
|
5263
|
-
suspendResult = this.
|
|
5342
|
+
suspendResult = this.yaa_1.la7(this.zaa_1, this);
|
|
5264
5343
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5265
5344
|
return suspendResult;
|
|
5266
5345
|
}
|
|
@@ -5283,8 +5362,8 @@
|
|
|
5283
5362
|
while (true);
|
|
5284
5363
|
};
|
|
5285
5364
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5286
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5287
|
-
i.
|
|
5365
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.yaa_1, this.zaa_1, completion);
|
|
5366
|
+
i.aab_1 = $this$launchDefault;
|
|
5288
5367
|
return i;
|
|
5289
5368
|
};
|
|
5290
5369
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5296,19 +5375,19 @@
|
|
|
5296
5375
|
return l;
|
|
5297
5376
|
}
|
|
5298
5377
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5299
|
-
this.
|
|
5300
|
-
this.
|
|
5378
|
+
this.bab_1 = $asyncProvider;
|
|
5379
|
+
this.cab_1 = $provider;
|
|
5301
5380
|
}
|
|
5302
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5381
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5303
5382
|
return action instanceof ToClientAction;
|
|
5304
5383
|
};
|
|
5305
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5384
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
5306
5385
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5307
|
-
this.
|
|
5386
|
+
this.bab_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.cab_1, action_0, null));
|
|
5308
5387
|
next(action_0);
|
|
5309
5388
|
};
|
|
5310
|
-
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).
|
|
5311
|
-
return this.
|
|
5389
|
+
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
5390
|
+
return this.u6h(store, next, action);
|
|
5312
5391
|
};
|
|
5313
5392
|
function serverConfigReducer() {
|
|
5314
5393
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5316,22 +5395,22 @@
|
|
|
5316
5395
|
}
|
|
5317
5396
|
function serverConfigReducer$$inlined$reducerForActionType$1() {
|
|
5318
5397
|
}
|
|
5319
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5398
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
5320
5399
|
return action instanceof UpdateServerConfigAction;
|
|
5321
5400
|
};
|
|
5322
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5401
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q9i = function (state, action) {
|
|
5323
5402
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5324
|
-
return state.
|
|
5403
|
+
return state.c91(VOID, get_serverStatePayload_0(state).copy(action_0.ra9_1));
|
|
5325
5404
|
};
|
|
5326
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5327
|
-
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);
|
|
5328
5407
|
};
|
|
5329
5408
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5330
5409
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5331
5410
|
return _this__u8e3s4.metadata;
|
|
5332
5411
|
}
|
|
5333
5412
|
function Companion_5() {
|
|
5334
|
-
this.
|
|
5413
|
+
this.dab_1 = 'ServerMechanicLifecycleReducer';
|
|
5335
5414
|
}
|
|
5336
5415
|
var Companion_instance_13;
|
|
5337
5416
|
function Companion_getInstance_6() {
|
|
@@ -5348,7 +5427,7 @@
|
|
|
5348
5427
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5349
5428
|
Companion_getInstance();
|
|
5350
5429
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5351
|
-
var this_0 = $action.
|
|
5430
|
+
var this_0 = $action.a92_1.timeoutTimeMillis;
|
|
5352
5431
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5353
5432
|
tmp_0 = tmp_1.k67(tmp_2, tmp$ret$0);
|
|
5354
5433
|
}
|
|
@@ -5357,65 +5436,65 @@
|
|
|
5357
5436
|
}
|
|
5358
5437
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5359
5438
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5360
|
-
this.
|
|
5439
|
+
this.gab_1 = logger;
|
|
5361
5440
|
}
|
|
5362
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5363
|
-
this.
|
|
5441
|
+
protoOf(ServerMechanicLifecycleReducer).d9k = function (state, action) {
|
|
5442
|
+
this.gab_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5364
5443
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5365
|
-
var tableId = action.
|
|
5444
|
+
var tableId = action.b92_1;
|
|
5366
5445
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5367
|
-
var tmp0_$this = this.
|
|
5368
|
-
var tmp1_version = action.
|
|
5369
|
-
var tmp2_config = action.
|
|
5370
|
-
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;
|
|
5371
5450
|
var tmp4_spectators = action.spectators;
|
|
5372
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5373
|
-
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));
|
|
5374
5453
|
var tmp;
|
|
5375
5454
|
if (serverState == null) {
|
|
5376
|
-
this.
|
|
5455
|
+
this.gab_1.w(VOID, 'ServerPayload is not onStart');
|
|
5377
5456
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5378
5457
|
} else {
|
|
5379
5458
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5380
5459
|
}
|
|
5381
5460
|
var tmp8_payload = tmp;
|
|
5382
|
-
return state.
|
|
5461
|
+
return state.c91(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5383
5462
|
};
|
|
5384
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5385
|
-
this.
|
|
5463
|
+
protoOf(ServerMechanicLifecycleReducer).b9k = function (state, action) {
|
|
5464
|
+
this.gab_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5386
5465
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5387
|
-
var tmp2_tableOrNull = action.
|
|
5466
|
+
var tmp2_tableOrNull = action.h92_1;
|
|
5388
5467
|
var tmp = Companion_instance_14;
|
|
5389
5468
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5390
|
-
var tmp_1 = action.
|
|
5469
|
+
var tmp_1 = action.i92_1;
|
|
5391
5470
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5392
|
-
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.
|
|
5393
|
-
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);
|
|
5394
5473
|
};
|
|
5395
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5396
|
-
this.
|
|
5474
|
+
protoOf(ServerMechanicLifecycleReducer).c9k = function (state, action) {
|
|
5475
|
+
this.f9k_1.n58(action.previousGameId);
|
|
5397
5476
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5398
|
-
var tmp1_tableOrNull = this.
|
|
5477
|
+
var tmp1_tableOrNull = this.e9k_1.m9l(state.a6s(), action.gameId);
|
|
5399
5478
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5400
|
-
return state.
|
|
5479
|
+
return state.c91(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5401
5480
|
};
|
|
5402
5481
|
function spectatorsReducer(logger) {
|
|
5403
5482
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5404
5483
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5405
5484
|
}
|
|
5406
5485
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5407
|
-
this.
|
|
5486
|
+
this.hab_1 = $logger;
|
|
5408
5487
|
}
|
|
5409
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5488
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
5410
5489
|
return isInterface(action, SpectatorsAction);
|
|
5411
5490
|
};
|
|
5412
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5491
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).q9i = function (state, action) {
|
|
5413
5492
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5414
|
-
var table = state.
|
|
5493
|
+
var table = state.a6s();
|
|
5415
5494
|
var tmp;
|
|
5416
5495
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5417
5496
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5418
|
-
var tmp0 = action_0.
|
|
5497
|
+
var tmp0 = action_0.sa9_1;
|
|
5419
5498
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5420
5499
|
var destination = ArrayList_init_$Create$_0();
|
|
5421
5500
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5434,9 +5513,9 @@
|
|
|
5434
5513
|
var tmp_0;
|
|
5435
5514
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5436
5515
|
if (!sameSpectators.r()) {
|
|
5437
|
-
this.
|
|
5516
|
+
this.hab_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5438
5517
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5439
|
-
var tmp0_0 = action_0.
|
|
5518
|
+
var tmp0_0 = action_0.sa9_1;
|
|
5440
5519
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5441
5520
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5442
5521
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5471,7 +5550,7 @@
|
|
|
5471
5550
|
}
|
|
5472
5551
|
tmp_0 = destination_0;
|
|
5473
5552
|
} else {
|
|
5474
|
-
tmp_0 = action_0.
|
|
5553
|
+
tmp_0 = action_0.sa9_1;
|
|
5475
5554
|
}
|
|
5476
5555
|
// Inline function 'kotlin.collections.map' call
|
|
5477
5556
|
var this_0 = tmp_0;
|
|
@@ -5484,11 +5563,11 @@
|
|
|
5484
5563
|
destination_1.j(tmp$ret$13);
|
|
5485
5564
|
}
|
|
5486
5565
|
var spectatorsToAdd = toSet(destination_1);
|
|
5487
|
-
tmp = state.
|
|
5566
|
+
tmp = state.c91(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5488
5567
|
} else {
|
|
5489
5568
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5490
5569
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5491
|
-
var tmp0_1 = action_0.
|
|
5570
|
+
var tmp0_1 = action_0.ta9_1;
|
|
5492
5571
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5493
5572
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5494
5573
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5507,9 +5586,9 @@
|
|
|
5507
5586
|
var tmp_2;
|
|
5508
5587
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5509
5588
|
if (!sameSpectators_0.r()) {
|
|
5510
|
-
this.
|
|
5589
|
+
this.hab_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5511
5590
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5512
|
-
var tmp0_2 = action_0.
|
|
5591
|
+
var tmp0_2 = action_0.ta9_1;
|
|
5513
5592
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5514
5593
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5515
5594
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5544,7 +5623,7 @@
|
|
|
5544
5623
|
}
|
|
5545
5624
|
tmp_2 = destination_3;
|
|
5546
5625
|
} else {
|
|
5547
|
-
tmp_2 = action_0.
|
|
5626
|
+
tmp_2 = action_0.ta9_1;
|
|
5548
5627
|
}
|
|
5549
5628
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5550
5629
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5581,25 +5660,25 @@
|
|
|
5581
5660
|
destination_4.j(element_5);
|
|
5582
5661
|
}
|
|
5583
5662
|
}
|
|
5584
|
-
tmp = state.
|
|
5663
|
+
tmp = state.c91(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5585
5664
|
} else {
|
|
5586
5665
|
noWhenBranchMatchedException();
|
|
5587
5666
|
}
|
|
5588
5667
|
}
|
|
5589
5668
|
return tmp;
|
|
5590
5669
|
};
|
|
5591
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5592
|
-
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);
|
|
5593
5672
|
};
|
|
5594
5673
|
function Companion_6() {
|
|
5595
5674
|
}
|
|
5596
|
-
protoOf(Companion_6).
|
|
5675
|
+
protoOf(Companion_6).iab = function (config, metadata) {
|
|
5597
5676
|
return new ServerStatePayload(config, metadata);
|
|
5598
5677
|
};
|
|
5599
5678
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5600
5679
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5601
5680
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5602
|
-
return $super === VOID ? this.
|
|
5681
|
+
return $super === VOID ? this.iab(config, metadata) : $super.iab.call(this, config, metadata);
|
|
5603
5682
|
};
|
|
5604
5683
|
var Companion_instance_14;
|
|
5605
5684
|
function Companion_getInstance_7() {
|
|
@@ -5612,7 +5691,7 @@
|
|
|
5612
5691
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5613
5692
|
return this.config;
|
|
5614
5693
|
};
|
|
5615
|
-
protoOf(ServerStatePayload).
|
|
5694
|
+
protoOf(ServerStatePayload).n8l = function () {
|
|
5616
5695
|
return this.metadata;
|
|
5617
5696
|
};
|
|
5618
5697
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5621,13 +5700,13 @@
|
|
|
5621
5700
|
protoOf(ServerStatePayload).pe = function () {
|
|
5622
5701
|
return this.metadata;
|
|
5623
5702
|
};
|
|
5624
|
-
protoOf(ServerStatePayload).
|
|
5703
|
+
protoOf(ServerStatePayload).jab = function (config, metadata) {
|
|
5625
5704
|
return new ServerStatePayload(config, metadata);
|
|
5626
5705
|
};
|
|
5627
5706
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5628
5707
|
config = config === VOID ? this.config : config;
|
|
5629
5708
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5630
|
-
return $super === VOID ? this.
|
|
5709
|
+
return $super === VOID ? this.jab(config, metadata) : $super.jab.call(this, config, metadata);
|
|
5631
5710
|
};
|
|
5632
5711
|
protoOf(ServerStatePayload).toString = function () {
|
|
5633
5712
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5675,7 +5754,7 @@
|
|
|
5675
5754
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5676
5755
|
}
|
|
5677
5756
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5678
|
-
var gameId = Companion_instance_3.
|
|
5757
|
+
var gameId = Companion_instance_3.n9n(payload);
|
|
5679
5758
|
var tmp;
|
|
5680
5759
|
if (!(gameId == null)) {
|
|
5681
5760
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5692,14 +5771,14 @@
|
|
|
5692
5771
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5693
5772
|
}
|
|
5694
5773
|
function _get_logger__rkp4sl_0($this) {
|
|
5695
|
-
var tmp0 = $this.
|
|
5774
|
+
var tmp0 = $this.tab_1;
|
|
5696
5775
|
var tmp = KProperty1;
|
|
5697
5776
|
// Inline function 'kotlin.getValue' call
|
|
5698
5777
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5699
5778
|
return tmp0.x();
|
|
5700
5779
|
}
|
|
5701
5780
|
function _get_di__ndbzja($this) {
|
|
5702
|
-
var tmp0 = $this.
|
|
5781
|
+
var tmp0 = $this.uab_1;
|
|
5703
5782
|
var tmp = KProperty1;
|
|
5704
5783
|
// Inline function 'kotlin.getValue' call
|
|
5705
5784
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5716,8 +5795,8 @@
|
|
|
5716
5795
|
}
|
|
5717
5796
|
function createCallbackOutput($this, gameServer) {
|
|
5718
5797
|
var tmp;
|
|
5719
|
-
if (!($this.
|
|
5720
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5798
|
+
if (!($this.rab_1 == null)) {
|
|
5799
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.rab_1);
|
|
5721
5800
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5722
5801
|
} else {
|
|
5723
5802
|
tmp = null;
|
|
@@ -5731,11 +5810,11 @@
|
|
|
5731
5810
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5732
5811
|
return function () {
|
|
5733
5812
|
var tmp;
|
|
5734
|
-
if (this$0.
|
|
5813
|
+
if (this$0.rab_1 == null) {
|
|
5735
5814
|
tmp = null;
|
|
5736
5815
|
} else {
|
|
5737
5816
|
// Inline function 'kotlin.let' call
|
|
5738
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5817
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.rab_1)]));
|
|
5739
5818
|
}
|
|
5740
5819
|
var tmp1_elvis_lhs = tmp;
|
|
5741
5820
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5768,7 +5847,7 @@
|
|
|
5768
5847
|
tmp_0.z62(tmp$ret$3);
|
|
5769
5848
|
$this$DI.d5z(jsonModule());
|
|
5770
5849
|
$this$DI.d5z(serverHelpersModule());
|
|
5771
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5850
|
+
$this$DI.d5z(randomOrgModule(this$0.sab_1));
|
|
5772
5851
|
return Unit_instance;
|
|
5773
5852
|
};
|
|
5774
5853
|
}
|
|
@@ -5844,16 +5923,16 @@
|
|
|
5844
5923
|
};
|
|
5845
5924
|
}
|
|
5846
5925
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5847
|
-
this.
|
|
5926
|
+
this.bac_1 = $reducer;
|
|
5848
5927
|
}
|
|
5849
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5928
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).f6g = function (action) {
|
|
5850
5929
|
return isInterface(action, Action);
|
|
5851
5930
|
};
|
|
5852
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5853
|
-
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());
|
|
5854
5933
|
};
|
|
5855
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5856
|
-
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);
|
|
5857
5936
|
};
|
|
5858
5937
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5859
5938
|
return function () {
|
|
@@ -5933,7 +6012,7 @@
|
|
|
5933
6012
|
}
|
|
5934
6013
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5935
6014
|
return function (it) {
|
|
5936
|
-
var payload = Companion_instance_5.
|
|
6015
|
+
var payload = Companion_instance_5.z9l(it);
|
|
5937
6016
|
var tmp;
|
|
5938
6017
|
if (!(payload == null)) {
|
|
5939
6018
|
return payload;
|
|
@@ -5954,7 +6033,7 @@
|
|
|
5954
6033
|
// Inline function 'kotlin.let' call
|
|
5955
6034
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5956
6035
|
}
|
|
5957
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6036
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.sab_1));
|
|
5958
6037
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5959
6038
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5960
6039
|
return Unit_instance;
|
|
@@ -5963,8 +6042,8 @@
|
|
|
5963
6042
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5964
6043
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5965
6044
|
production = production === VOID ? true : production;
|
|
5966
|
-
this.
|
|
5967
|
-
this.
|
|
6045
|
+
this.rab_1 = loggerCallback;
|
|
6046
|
+
this.sab_1 = randomOrgConfig;
|
|
5968
6047
|
var tmp = AppEnvironment_getInstance();
|
|
5969
6048
|
var tmp_0;
|
|
5970
6049
|
if (production) {
|
|
@@ -5972,11 +6051,11 @@
|
|
|
5972
6051
|
} else {
|
|
5973
6052
|
tmp_0 = AppEnvironmentValue_DEVELOPMENT_getInstance();
|
|
5974
6053
|
}
|
|
5975
|
-
tmp.
|
|
6054
|
+
tmp.c6m(tmp_0);
|
|
5976
6055
|
var tmp_1 = this;
|
|
5977
|
-
tmp_1.
|
|
6056
|
+
tmp_1.tab_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5978
6057
|
var tmp_2 = this;
|
|
5979
|
-
tmp_2.
|
|
6058
|
+
tmp_2.uab_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5980
6059
|
var tmp_3 = this;
|
|
5981
6060
|
// Inline function 'org.kodein.di.instance' call
|
|
5982
6061
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5985,7 +6064,7 @@
|
|
|
5985
6064
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5986
6065
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5987
6066
|
var tmp_6 = KProperty1;
|
|
5988
|
-
tmp_3.
|
|
6067
|
+
tmp_3.vab_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5989
6068
|
var tmp_7 = this;
|
|
5990
6069
|
// Inline function 'org.kodein.di.instance' call
|
|
5991
6070
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5994,7 +6073,7 @@
|
|
|
5994
6073
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5995
6074
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5996
6075
|
var tmp_10 = KProperty1;
|
|
5997
|
-
tmp_7.
|
|
6076
|
+
tmp_7.wab_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5998
6077
|
var tmp_11 = this;
|
|
5999
6078
|
// Inline function 'org.kodein.di.instance' call
|
|
6000
6079
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6003,7 +6082,7 @@
|
|
|
6003
6082
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6004
6083
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6005
6084
|
var tmp_14 = KProperty1;
|
|
6006
|
-
tmp_11.
|
|
6085
|
+
tmp_11.xab_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6007
6086
|
var tmp_15 = this;
|
|
6008
6087
|
// Inline function 'org.kodein.di.instance' call
|
|
6009
6088
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6012,7 +6091,7 @@
|
|
|
6012
6091
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6013
6092
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6014
6093
|
var tmp_18 = KProperty1;
|
|
6015
|
-
tmp_15.
|
|
6094
|
+
tmp_15.yab_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6016
6095
|
var tmp_19 = this;
|
|
6017
6096
|
// Inline function 'org.kodein.di.instance' call
|
|
6018
6097
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6021,7 +6100,7 @@
|
|
|
6021
6100
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6022
6101
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6023
6102
|
var tmp_22 = KProperty1;
|
|
6024
|
-
tmp_19.
|
|
6103
|
+
tmp_19.zab_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6025
6104
|
var tmp_23 = this;
|
|
6026
6105
|
// Inline function 'org.kodein.di.instance' call
|
|
6027
6106
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6030,45 +6109,45 @@
|
|
|
6030
6109
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6031
6110
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6032
6111
|
var tmp_26 = KProperty1;
|
|
6033
|
-
tmp_23.
|
|
6112
|
+
tmp_23.aac_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6034
6113
|
}
|
|
6035
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6036
|
-
var tmp0 = this.
|
|
6114
|
+
protoOf(GameServerEngineControllerImpl).kab = function () {
|
|
6115
|
+
var tmp0 = this.vab_1;
|
|
6037
6116
|
var tmp = KProperty1;
|
|
6038
6117
|
// Inline function 'kotlin.getValue' call
|
|
6039
6118
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6040
6119
|
return tmp0.x();
|
|
6041
6120
|
};
|
|
6042
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6043
|
-
var tmp0 = this.
|
|
6121
|
+
protoOf(GameServerEngineControllerImpl).mab = function () {
|
|
6122
|
+
var tmp0 = this.wab_1;
|
|
6044
6123
|
var tmp = KProperty1;
|
|
6045
6124
|
// Inline function 'kotlin.getValue' call
|
|
6046
6125
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6047
6126
|
return tmp0.x();
|
|
6048
6127
|
};
|
|
6049
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6050
|
-
var tmp0 = this.
|
|
6128
|
+
protoOf(GameServerEngineControllerImpl).nab = function () {
|
|
6129
|
+
var tmp0 = this.xab_1;
|
|
6051
6130
|
var tmp = KProperty1;
|
|
6052
6131
|
// Inline function 'kotlin.getValue' call
|
|
6053
6132
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6054
6133
|
return tmp0.x();
|
|
6055
6134
|
};
|
|
6056
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6057
|
-
var tmp0 = this.
|
|
6135
|
+
protoOf(GameServerEngineControllerImpl).oab = function () {
|
|
6136
|
+
var tmp0 = this.yab_1;
|
|
6058
6137
|
var tmp = KProperty1;
|
|
6059
6138
|
// Inline function 'kotlin.getValue' call
|
|
6060
6139
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6061
6140
|
return tmp0.x();
|
|
6062
6141
|
};
|
|
6063
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6064
|
-
var tmp0 = this.
|
|
6142
|
+
protoOf(GameServerEngineControllerImpl).lab = function () {
|
|
6143
|
+
var tmp0 = this.zab_1;
|
|
6065
6144
|
var tmp = KProperty1;
|
|
6066
6145
|
// Inline function 'kotlin.getValue' call
|
|
6067
6146
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6068
6147
|
return tmp0.x();
|
|
6069
6148
|
};
|
|
6070
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6071
|
-
var tmp0 = this.
|
|
6149
|
+
protoOf(GameServerEngineControllerImpl).pab = function () {
|
|
6150
|
+
var tmp0 = this.aac_1;
|
|
6072
6151
|
var tmp = KProperty1;
|
|
6073
6152
|
// Inline function 'kotlin.getValue' call
|
|
6074
6153
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6080,7 +6159,7 @@
|
|
|
6080
6159
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6081
6160
|
return this.createGameEngineWithLogic();
|
|
6082
6161
|
};
|
|
6083
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6162
|
+
protoOf(GameServerEngineControllerImpl).qab = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6084
6163
|
var combinedLogger = Companion_instance_6.mx();
|
|
6085
6164
|
var gameServer = {_v: null};
|
|
6086
6165
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6128,7 +6207,7 @@
|
|
|
6128
6207
|
function TestHelper() {
|
|
6129
6208
|
}
|
|
6130
6209
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6131
|
-
var tmp0 = $this.
|
|
6210
|
+
var tmp0 = $this.eac_1;
|
|
6132
6211
|
var tmp = KProperty1;
|
|
6133
6212
|
// Inline function 'kotlin.getValue' call
|
|
6134
6213
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6136,7 +6215,7 @@
|
|
|
6136
6215
|
}
|
|
6137
6216
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6138
6217
|
return function ($this$singleton) {
|
|
6139
|
-
return this$0.
|
|
6218
|
+
return this$0.cac_1;
|
|
6140
6219
|
};
|
|
6141
6220
|
}
|
|
6142
6221
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6175,27 +6254,27 @@
|
|
|
6175
6254
|
return emptyMap();
|
|
6176
6255
|
}
|
|
6177
6256
|
function TestHelperImpl(logger) {
|
|
6178
|
-
this.
|
|
6257
|
+
this.cac_1 = logger;
|
|
6179
6258
|
var tmp = this;
|
|
6180
6259
|
var tmp_0 = Companion_instance_4;
|
|
6181
|
-
tmp.
|
|
6260
|
+
tmp.dac_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
6182
6261
|
var tmp_1 = this;
|
|
6183
6262
|
// Inline function 'org.kodein.di.instance' call
|
|
6184
|
-
var this_0 = this.
|
|
6263
|
+
var this_0 = this.dac_1;
|
|
6185
6264
|
// Inline function 'org.kodein.type.generic' call
|
|
6186
6265
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6187
6266
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6188
6267
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6189
6268
|
var tmp_4 = KProperty1;
|
|
6190
|
-
tmp_1.
|
|
6269
|
+
tmp_1.eac_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6191
6270
|
}
|
|
6192
6271
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6193
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6272
|
+
return _get_playerAnswerInteractor__msggz1(this).f8r(playerId, table, botConfig);
|
|
6194
6273
|
};
|
|
6195
6274
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6196
6275
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6197
6276
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6198
|
-
var tmp0 = mechanicAction.
|
|
6277
|
+
var tmp0 = mechanicAction.s94();
|
|
6199
6278
|
var tmp$ret$0;
|
|
6200
6279
|
$l$block_0: {
|
|
6201
6280
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6227,7 +6306,7 @@
|
|
|
6227
6306
|
};
|
|
6228
6307
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6229
6308
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6230
|
-
var tmp0 = action.
|
|
6309
|
+
var tmp0 = action.s94();
|
|
6231
6310
|
var tmp$ret$0;
|
|
6232
6311
|
$l$block_0: {
|
|
6233
6312
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6260,14 +6339,14 @@
|
|
|
6260
6339
|
function RoomMetadata() {
|
|
6261
6340
|
var tmp = this;
|
|
6262
6341
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6263
|
-
tmp.
|
|
6342
|
+
tmp.fac_1 = LinkedHashMap_init_$Create$();
|
|
6264
6343
|
this.extras = {};
|
|
6265
|
-
this.extras = this.
|
|
6344
|
+
this.extras = this.fac_1;
|
|
6266
6345
|
}
|
|
6267
|
-
protoOf(RoomMetadata).
|
|
6346
|
+
protoOf(RoomMetadata).gac = function () {
|
|
6268
6347
|
return this.extras;
|
|
6269
6348
|
};
|
|
6270
|
-
protoOf(RoomMetadata).
|
|
6349
|
+
protoOf(RoomMetadata).gac = function () {
|
|
6271
6350
|
return this.extras;
|
|
6272
6351
|
};
|
|
6273
6352
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6285,7 +6364,7 @@
|
|
|
6285
6364
|
};
|
|
6286
6365
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6287
6366
|
// Inline function 'kotlin.collections.set' call
|
|
6288
|
-
this.
|
|
6367
|
+
this.fac_1.f2(gameId, game);
|
|
6289
6368
|
};
|
|
6290
6369
|
function GameMetadata(gameId) {
|
|
6291
6370
|
this.gameId = gameId;
|
|
@@ -6294,7 +6373,7 @@
|
|
|
6294
6373
|
protoOf(GameMetadata).c54 = function () {
|
|
6295
6374
|
return this.gameId;
|
|
6296
6375
|
};
|
|
6297
|
-
protoOf(GameMetadata).
|
|
6376
|
+
protoOf(GameMetadata).gac = function () {
|
|
6298
6377
|
return this.extras;
|
|
6299
6378
|
};
|
|
6300
6379
|
function serverHelpersModule() {
|
|
@@ -6356,36 +6435,36 @@
|
|
|
6356
6435
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6357
6436
|
protoOf(GameServer).shutdown = shutdown;
|
|
6358
6437
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6359
|
-
return this.
|
|
6438
|
+
return this.n8l();
|
|
6360
6439
|
});
|
|
6361
6440
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6362
6441
|
return this.y53();
|
|
6363
6442
|
});
|
|
6364
6443
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6365
|
-
return this.
|
|
6444
|
+
return this.a6s();
|
|
6366
6445
|
});
|
|
6367
6446
|
defineProp(protoOf(GameServer), 'tableOrNull', function () {
|
|
6368
|
-
return this.
|
|
6447
|
+
return this.b6s();
|
|
6369
6448
|
});
|
|
6370
6449
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6371
|
-
return this.
|
|
6450
|
+
return this.c6s();
|
|
6372
6451
|
});
|
|
6373
6452
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6374
|
-
return this.
|
|
6453
|
+
return this.d6s();
|
|
6375
6454
|
});
|
|
6376
6455
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6377
6456
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6378
|
-
return this.
|
|
6457
|
+
return this.g8i();
|
|
6379
6458
|
});
|
|
6380
6459
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6381
6460
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6382
|
-
return this.
|
|
6461
|
+
return this.g8i();
|
|
6383
6462
|
});
|
|
6384
6463
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6385
|
-
return this.
|
|
6464
|
+
return this.g8i();
|
|
6386
6465
|
});
|
|
6387
6466
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6388
|
-
return this.
|
|
6467
|
+
return this.g8i();
|
|
6389
6468
|
});
|
|
6390
6469
|
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
6391
6470
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6401,22 +6480,22 @@
|
|
|
6401
6480
|
});
|
|
6402
6481
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6403
6482
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6404
|
-
return this.
|
|
6483
|
+
return this.kab();
|
|
6405
6484
|
});
|
|
6406
6485
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6407
|
-
return this.
|
|
6486
|
+
return this.mab();
|
|
6408
6487
|
});
|
|
6409
6488
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6410
|
-
return this.
|
|
6489
|
+
return this.nab();
|
|
6411
6490
|
});
|
|
6412
6491
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6413
|
-
return this.
|
|
6492
|
+
return this.oab();
|
|
6414
6493
|
});
|
|
6415
6494
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6416
|
-
return this.
|
|
6495
|
+
return this.lab();
|
|
6417
6496
|
});
|
|
6418
6497
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6419
|
-
return this.
|
|
6498
|
+
return this.pab();
|
|
6420
6499
|
});
|
|
6421
6500
|
//endregion
|
|
6422
6501
|
//region block: init
|