client_plugin_logic_deb 1.8.253 → 1.8.259
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/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-client_plugin.d.ts +29 -22
- package/Logic_Debertz-client_plugin.js +2166 -2074
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +3 -3
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +15678 -14741
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6636 -6227
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +594 -594
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +89 -89
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +5 -4
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-random.js +3 -3
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
var Unit_instance = kotlin_kotlin.$_$.p5;
|
|
42
42
|
var protoOf = kotlin_kotlin.$_$.uc;
|
|
43
43
|
var THROW_CCE = kotlin_kotlin.$_$.sg;
|
|
44
|
-
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
44
|
+
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
|
|
45
45
|
var initMetadataForLambda = kotlin_kotlin.$_$.xb;
|
|
46
46
|
var VOID = kotlin_kotlin.$_$.f;
|
|
47
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
47
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
|
|
48
48
|
var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
|
|
49
49
|
var equals = kotlin_kotlin.$_$.lb;
|
|
50
50
|
var FunctionAdapter = kotlin_kotlin.$_$.za;
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
|
|
58
58
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
59
59
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
60
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
61
|
-
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
60
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
|
|
61
|
+
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t4;
|
|
62
62
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.n4;
|
|
63
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
63
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c7;
|
|
64
64
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
65
65
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
66
66
|
var toList = kotlin_kotlin.$_$.t9;
|
|
@@ -68,25 +68,25 @@
|
|
|
68
68
|
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.w5;
|
|
69
69
|
var toMutableList = kotlin_kotlin.$_$.w9;
|
|
70
70
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
71
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
71
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s6;
|
|
72
72
|
var RestartRoundReason_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v5;
|
|
73
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
74
|
-
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
75
|
-
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
73
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.w9;
|
|
74
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a6;
|
|
75
|
+
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
|
|
76
76
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.q4;
|
|
77
77
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
|
|
78
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
78
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
|
|
79
79
|
var toString = kotlin_kotlin.$_$.yc;
|
|
80
80
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
81
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
82
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
81
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
|
|
82
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
|
|
83
83
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.c4;
|
|
84
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.y9;
|
|
85
85
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
|
|
86
86
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
|
|
87
87
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
88
88
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
|
|
89
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
89
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
|
|
90
90
|
var emptyList = kotlin_kotlin.$_$.n7;
|
|
91
91
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
92
92
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
96
96
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
97
97
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
98
|
-
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
98
|
+
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
99
99
|
var lazy = kotlin_kotlin.$_$.ph;
|
|
100
100
|
var plus = kotlin_kotlin.$_$.z8;
|
|
101
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
101
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
|
|
102
102
|
var defineProp = kotlin_kotlin.$_$.kb;
|
|
103
103
|
var KProperty1 = kotlin_kotlin.$_$.pd;
|
|
104
104
|
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
@@ -107,28 +107,28 @@
|
|
|
107
107
|
var Enum = kotlin_kotlin.$_$.hg;
|
|
108
108
|
var getBooleanHashCode = kotlin_kotlin.$_$.ob;
|
|
109
109
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
110
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
110
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
|
|
111
111
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
112
112
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
113
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
|
|
114
114
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
115
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
115
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
|
|
116
116
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
117
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
117
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.w7;
|
|
118
118
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
119
|
-
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
120
|
-
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
121
|
-
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
122
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
123
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
119
|
+
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
120
|
+
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
121
|
+
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
122
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.v7;
|
|
123
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
|
|
124
124
|
var initMetadataForInterface = kotlin_kotlin.$_$.wb;
|
|
125
125
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
126
126
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
127
127
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
128
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
128
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y4;
|
|
129
129
|
var single = kotlin_kotlin.$_$.i9;
|
|
130
130
|
var copyToArray = kotlin_kotlin.$_$.i7;
|
|
131
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
131
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.x4;
|
|
132
132
|
var getStringHashCode = kotlin_kotlin.$_$.rb;
|
|
133
133
|
var KtList = kotlin_kotlin.$_$.x5;
|
|
134
134
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
@@ -143,84 +143,84 @@
|
|
|
143
143
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
144
144
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
145
145
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
146
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
147
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
148
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
149
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
150
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
146
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
|
|
147
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
|
|
148
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
|
|
149
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f7;
|
|
150
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
|
|
151
151
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.d2;
|
|
152
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
153
|
-
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
154
|
-
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
152
|
+
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
153
|
+
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
154
|
+
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
155
155
|
var listOf = kotlin_kotlin.$_$.q8;
|
|
156
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
156
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
|
|
157
157
|
var listOfNotNull = kotlin_kotlin.$_$.n8;
|
|
158
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
159
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
158
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
|
|
159
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
|
|
160
160
|
var listOfNotNull_0 = kotlin_kotlin.$_$.o8;
|
|
161
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
162
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
161
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
|
|
162
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
|
|
163
163
|
var listOf_0 = kotlin_kotlin.$_$.p8;
|
|
164
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
166
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
|
|
165
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
|
|
166
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
|
|
167
167
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
168
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
169
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
170
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
171
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
168
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
|
|
169
|
+
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
|
|
170
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
|
|
171
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
|
|
172
172
|
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
173
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
174
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
175
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
176
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
178
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
179
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
180
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
181
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
183
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
184
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
185
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
187
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
188
|
-
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
|
|
174
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
|
|
175
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
|
|
176
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
|
|
177
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
|
|
178
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k6;
|
|
179
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
|
|
180
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
|
|
181
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
|
|
182
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z5;
|
|
183
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
|
|
184
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
|
|
185
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
|
|
186
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
|
|
187
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
|
|
188
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
|
|
189
189
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
190
190
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
|
|
191
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
192
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
193
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
195
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
196
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
199
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
202
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
203
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
204
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
205
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
206
|
-
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
208
|
-
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
191
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.y8;
|
|
192
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
|
|
193
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
|
|
194
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
|
|
195
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
|
|
196
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
|
|
197
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
|
|
198
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
|
|
199
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b6;
|
|
200
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
|
|
201
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
|
|
202
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
|
|
203
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
|
|
204
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d6;
|
|
205
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
|
|
206
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
|
|
207
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
|
|
208
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
|
|
209
209
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
210
210
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.h5;
|
|
211
211
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
|
|
212
212
|
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
213
213
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
214
214
|
var toDuration = kotlin_kotlin.$_$.zf;
|
|
215
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
216
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
215
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.u7;
|
|
216
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.t8;
|
|
217
217
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
218
218
|
var singleOrNull = kotlin_kotlin.$_$.h9;
|
|
219
219
|
var Collection = kotlin_kotlin.$_$.r5;
|
|
220
220
|
var toSet = kotlin_kotlin.$_$.z9;
|
|
221
221
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
222
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
223
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
222
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
|
|
223
|
+
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
224
224
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
|
|
225
225
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
226
226
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
@@ -229,12 +229,12 @@
|
|
|
229
229
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
230
230
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
231
231
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
232
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
233
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
234
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
235
|
-
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
236
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
237
|
-
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
|
|
233
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
|
|
234
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
|
|
235
|
+
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.aa;
|
|
236
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.z9;
|
|
237
|
+
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
238
238
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
239
239
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
240
240
|
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
@@ -249,13 +249,13 @@
|
|
|
249
249
|
var toList_0 = kotlin_kotlin.$_$.s9;
|
|
250
250
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
251
251
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
252
|
-
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
252
|
+
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
253
253
|
var emptyMap = kotlin_kotlin.$_$.o7;
|
|
254
|
-
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
255
|
-
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
256
|
-
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
257
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
258
|
-
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
254
|
+
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
255
|
+
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.p4;
|
|
256
|
+
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
|
|
257
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
|
|
258
|
+
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
259
259
|
var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
|
|
260
260
|
//endregion
|
|
261
261
|
//region block: pre-declaration
|
|
@@ -288,15 +288,15 @@
|
|
|
288
288
|
tmp = spectators;
|
|
289
289
|
}
|
|
290
290
|
spectators = tmp;
|
|
291
|
-
return this.
|
|
291
|
+
return this.nde(roomId, gameCreatorId, config, users, transition, spectators);
|
|
292
292
|
}
|
|
293
293
|
function roomOnDelete(newRid, $super) {
|
|
294
294
|
newRid = newRid === VOID ? null : newRid;
|
|
295
|
-
return this.
|
|
295
|
+
return this.ode(newRid);
|
|
296
296
|
}
|
|
297
297
|
function shutdown(reason, roomId, $super) {
|
|
298
298
|
roomId = roomId === VOID ? null : roomId;
|
|
299
|
-
return this.
|
|
299
|
+
return this.pde(reason, roomId);
|
|
300
300
|
}
|
|
301
301
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
302
302
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
347
347
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
348
348
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
349
|
-
return this.
|
|
349
|
+
return this.udi(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
350
350
|
}
|
|
351
351
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
352
352
|
initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Reducer]);
|
|
@@ -355,17 +355,17 @@
|
|
|
355
355
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
356
356
|
//endregion
|
|
357
357
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
358
|
-
this.
|
|
358
|
+
this.cd7_1 = $subscriber;
|
|
359
359
|
CoroutineImpl.call(this, resultContinuation);
|
|
360
360
|
}
|
|
361
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
362
|
-
var tmp = this.
|
|
361
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ed7 = function (it, $completion) {
|
|
362
|
+
var tmp = this.fd7(it, $completion);
|
|
363
363
|
tmp.g9_1 = Unit_instance;
|
|
364
364
|
tmp.h9_1 = null;
|
|
365
365
|
return tmp.m9();
|
|
366
366
|
};
|
|
367
367
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
|
|
368
|
-
return this.
|
|
368
|
+
return this.ed7(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
369
369
|
};
|
|
370
370
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
371
371
|
var suspendResult = this.g9_1;
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
var tmp = this.e9_1;
|
|
375
375
|
if (tmp === 0) {
|
|
376
376
|
this.f9_1 = 1;
|
|
377
|
-
this.
|
|
377
|
+
this.cd7_1(this.dd7_1);
|
|
378
378
|
return Unit_instance;
|
|
379
379
|
} else if (tmp === 1) {
|
|
380
380
|
throw this.h9_1;
|
|
@@ -385,31 +385,31 @@
|
|
|
385
385
|
}
|
|
386
386
|
while (true);
|
|
387
387
|
};
|
|
388
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
389
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
390
|
-
i.
|
|
388
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).fd7 = function (it, completion) {
|
|
389
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.cd7_1, completion);
|
|
390
|
+
i.dd7_1 = it;
|
|
391
391
|
return i;
|
|
392
392
|
};
|
|
393
393
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
394
394
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
395
395
|
var l = function (it, $completion) {
|
|
396
|
-
return i.
|
|
396
|
+
return i.ed7(it, $completion);
|
|
397
397
|
};
|
|
398
398
|
l.$arity = 1;
|
|
399
399
|
return l;
|
|
400
400
|
}
|
|
401
401
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
402
|
-
this.
|
|
402
|
+
this.od7_1 = $subscriber;
|
|
403
403
|
CoroutineImpl.call(this, resultContinuation);
|
|
404
404
|
}
|
|
405
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
406
|
-
var tmp = this.
|
|
405
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).qd7 = function (it, $completion) {
|
|
406
|
+
var tmp = this.rd7(it, $completion);
|
|
407
407
|
tmp.g9_1 = Unit_instance;
|
|
408
408
|
tmp.h9_1 = null;
|
|
409
409
|
return tmp.m9();
|
|
410
410
|
};
|
|
411
411
|
protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
|
|
412
|
-
return this.
|
|
412
|
+
return this.qd7(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
413
413
|
};
|
|
414
414
|
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
415
415
|
var suspendResult = this.g9_1;
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
var tmp = this.e9_1;
|
|
419
419
|
if (tmp === 0) {
|
|
420
420
|
this.f9_1 = 1;
|
|
421
|
-
this.
|
|
421
|
+
this.od7_1(this.pd7_1);
|
|
422
422
|
return Unit_instance;
|
|
423
423
|
} else if (tmp === 1) {
|
|
424
424
|
throw this.h9_1;
|
|
@@ -429,58 +429,58 @@
|
|
|
429
429
|
}
|
|
430
430
|
while (true);
|
|
431
431
|
};
|
|
432
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
433
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
434
|
-
i.
|
|
432
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).rd7 = function (it, completion) {
|
|
433
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.od7_1, completion);
|
|
434
|
+
i.pd7_1 = it;
|
|
435
435
|
return i;
|
|
436
436
|
};
|
|
437
437
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
438
438
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
439
439
|
var l = function (it, $completion) {
|
|
440
|
-
return i.
|
|
440
|
+
return i.qd7(it, $completion);
|
|
441
441
|
};
|
|
442
442
|
l.$arity = 1;
|
|
443
443
|
return l;
|
|
444
444
|
}
|
|
445
445
|
function _get_logger__rkp4sl($this) {
|
|
446
446
|
// Inline function 'kotlin.getValue' call
|
|
447
|
-
var this_0 = $this.
|
|
447
|
+
var this_0 = $this.ud7_1;
|
|
448
448
|
logger$factory_0();
|
|
449
449
|
return this_0.u();
|
|
450
450
|
}
|
|
451
451
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
452
452
|
// Inline function 'kotlin.getValue' call
|
|
453
|
-
var this_0 = $this.
|
|
453
|
+
var this_0 = $this.vd7_1;
|
|
454
454
|
toClientEventsObserver$factory_0();
|
|
455
455
|
return this_0.u();
|
|
456
456
|
}
|
|
457
457
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
458
458
|
// Inline function 'kotlin.getValue' call
|
|
459
|
-
var this_0 = $this.
|
|
459
|
+
var this_0 = $this.wd7_1;
|
|
460
460
|
playerConnectionInteractor$factory_0();
|
|
461
461
|
return this_0.u();
|
|
462
462
|
}
|
|
463
463
|
function _get_random__h29cgo($this) {
|
|
464
464
|
// Inline function 'kotlin.getValue' call
|
|
465
|
-
var this_0 = $this.
|
|
465
|
+
var this_0 = $this.xd7_1;
|
|
466
466
|
random$factory();
|
|
467
467
|
return this_0.u();
|
|
468
468
|
}
|
|
469
469
|
function Companion() {
|
|
470
|
-
this.
|
|
470
|
+
this.zd7_1 = 'GameEngine_API';
|
|
471
471
|
}
|
|
472
472
|
var Companion_instance_7;
|
|
473
473
|
function Companion_getInstance_0() {
|
|
474
474
|
return Companion_instance_7;
|
|
475
475
|
}
|
|
476
476
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
477
|
-
this.
|
|
477
|
+
this.ad8_1 = function_0;
|
|
478
478
|
}
|
|
479
479
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
|
|
480
|
-
return this.
|
|
480
|
+
return this.ad8_1(value, $completion);
|
|
481
481
|
};
|
|
482
482
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
483
|
-
return this.
|
|
483
|
+
return this.ad8_1;
|
|
484
484
|
};
|
|
485
485
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
486
486
|
var tmp;
|
|
@@ -501,13 +501,13 @@
|
|
|
501
501
|
return hashCode(this.o3());
|
|
502
502
|
};
|
|
503
503
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
504
|
-
this.
|
|
504
|
+
this.bd8_1 = function_0;
|
|
505
505
|
}
|
|
506
506
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
507
|
-
return this.
|
|
507
|
+
return this.bd8_1(value, $completion);
|
|
508
508
|
};
|
|
509
509
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
510
|
-
return this.
|
|
510
|
+
return this.bd8_1;
|
|
511
511
|
};
|
|
512
512
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
513
513
|
var tmp;
|
|
@@ -533,8 +533,8 @@
|
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
535
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
536
|
+
this.kd8_1 = this$0;
|
|
537
|
+
this.ld8_1 = $subscriber;
|
|
538
538
|
CoroutineImpl.call(this, resultContinuation);
|
|
539
539
|
}
|
|
540
540
|
protoOf(GameServer$subscribeToClientAction$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -555,8 +555,8 @@
|
|
|
555
555
|
case 0:
|
|
556
556
|
this.f9_1 = 2;
|
|
557
557
|
this.e9_1 = 1;
|
|
558
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
559
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
558
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.kd8_1).uba();
|
|
559
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.ld8_1, null);
|
|
560
560
|
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
561
561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
562
562
|
return suspendResult;
|
|
@@ -580,8 +580,8 @@
|
|
|
580
580
|
while (true);
|
|
581
581
|
};
|
|
582
582
|
protoOf(GameServer$subscribeToClientAction$slambda).f1f = function ($this$launchDefault, completion) {
|
|
583
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
584
|
-
i.
|
|
583
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.kd8_1, this.ld8_1, completion);
|
|
584
|
+
i.md8_1 = $this$launchDefault;
|
|
585
585
|
return i;
|
|
586
586
|
};
|
|
587
587
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -593,8 +593,8 @@
|
|
|
593
593
|
return l;
|
|
594
594
|
}
|
|
595
595
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
596
|
-
this.
|
|
597
|
-
this.
|
|
596
|
+
this.vd8_1 = this$0;
|
|
597
|
+
this.wd8_1 = $subscriber;
|
|
598
598
|
CoroutineImpl.call(this, resultContinuation);
|
|
599
599
|
}
|
|
600
600
|
protoOf(GameServer$subscribeWith$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -615,8 +615,8 @@
|
|
|
615
615
|
case 0:
|
|
616
616
|
this.f9_1 = 2;
|
|
617
617
|
this.e9_1 = 1;
|
|
618
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
619
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
618
|
+
var tmp_0 = distinctUntilChanged(this.vd8_1.c6w());
|
|
619
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.wd8_1, null);
|
|
620
620
|
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
621
621
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
622
622
|
return suspendResult;
|
|
@@ -640,8 +640,8 @@
|
|
|
640
640
|
while (true);
|
|
641
641
|
};
|
|
642
642
|
protoOf(GameServer$subscribeWith$slambda).f1f = function ($this$launchDefault, completion) {
|
|
643
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
644
|
-
i.
|
|
643
|
+
var i = new GameServer$subscribeWith$slambda(this.vd8_1, this.wd8_1, completion);
|
|
644
|
+
i.xd8_1 = $this$launchDefault;
|
|
645
645
|
return i;
|
|
646
646
|
};
|
|
647
647
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -653,18 +653,18 @@
|
|
|
653
653
|
return l;
|
|
654
654
|
}
|
|
655
655
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
656
|
-
this.
|
|
656
|
+
this.gd9_1 = $action;
|
|
657
657
|
CoroutineImpl.call(this, resultContinuation);
|
|
658
658
|
}
|
|
659
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
660
|
-
var tmp = this.
|
|
659
|
+
protoOf(GameServer$fromClientEvent$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
660
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
661
661
|
tmp.g9_1 = Unit_instance;
|
|
662
662
|
tmp.h9_1 = null;
|
|
663
663
|
return tmp.m9();
|
|
664
664
|
};
|
|
665
665
|
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
666
666
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
667
|
-
return this.
|
|
667
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
668
668
|
};
|
|
669
669
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
670
670
|
var suspendResult = this.g9_1;
|
|
@@ -673,11 +673,11 @@
|
|
|
673
673
|
var tmp = this.e9_1;
|
|
674
674
|
if (tmp === 0) {
|
|
675
675
|
this.f9_1 = 1;
|
|
676
|
-
if (this.
|
|
677
|
-
if (!get_isCreated(this.
|
|
676
|
+
if (this.gd9_1 instanceof PlayerReadyFromClientAction)
|
|
677
|
+
if (!get_isCreated(this.id9_1.state)) {
|
|
678
678
|
return Unit_instance;
|
|
679
679
|
}
|
|
680
|
-
this.
|
|
680
|
+
this.id9_1.dispatch(this.gd9_1);
|
|
681
681
|
return Unit_instance;
|
|
682
682
|
} else if (tmp === 1) {
|
|
683
683
|
throw this.h9_1;
|
|
@@ -688,33 +688,33 @@
|
|
|
688
688
|
}
|
|
689
689
|
while (true);
|
|
690
690
|
};
|
|
691
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
692
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
693
|
-
i.
|
|
694
|
-
i.
|
|
691
|
+
protoOf(GameServer$fromClientEvent$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
692
|
+
var i = new GameServer$fromClientEvent$slambda(this.gd9_1, completion);
|
|
693
|
+
i.hd9_1 = $this$dispatchAsync;
|
|
694
|
+
i.id9_1 = store;
|
|
695
695
|
return i;
|
|
696
696
|
};
|
|
697
697
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
698
698
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
699
699
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
700
|
-
return i.
|
|
700
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
701
701
|
};
|
|
702
702
|
l.$arity = 2;
|
|
703
703
|
return l;
|
|
704
704
|
}
|
|
705
705
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
706
|
-
this.
|
|
706
|
+
this.rd9_1 = $playerId;
|
|
707
707
|
CoroutineImpl.call(this, resultContinuation);
|
|
708
708
|
}
|
|
709
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
710
|
-
var tmp = this.
|
|
709
|
+
protoOf(GameServer$playerLostConnection$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
710
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
711
711
|
tmp.g9_1 = Unit_instance;
|
|
712
712
|
tmp.h9_1 = null;
|
|
713
713
|
return tmp.m9();
|
|
714
714
|
};
|
|
715
715
|
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
716
716
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
717
|
-
return this.
|
|
717
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
718
718
|
};
|
|
719
719
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
720
720
|
var suspendResult = this.g9_1;
|
|
@@ -723,12 +723,12 @@
|
|
|
723
723
|
var tmp = this.e9_1;
|
|
724
724
|
if (tmp === 0) {
|
|
725
725
|
this.f9_1 = 1;
|
|
726
|
-
if (!get_isCreated(this.
|
|
726
|
+
if (!get_isCreated(this.td9_1.state)) {
|
|
727
727
|
return Unit_instance;
|
|
728
728
|
}
|
|
729
|
-
var tmp_0 = this.
|
|
729
|
+
var tmp_0 = this.td9_1.dispatch;
|
|
730
730
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
731
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
731
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.rd9_1));
|
|
732
732
|
return Unit_instance;
|
|
733
733
|
} else if (tmp === 1) {
|
|
734
734
|
throw this.h9_1;
|
|
@@ -739,33 +739,33 @@
|
|
|
739
739
|
}
|
|
740
740
|
while (true);
|
|
741
741
|
};
|
|
742
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
743
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
744
|
-
i.
|
|
745
|
-
i.
|
|
742
|
+
protoOf(GameServer$playerLostConnection$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
743
|
+
var i = new GameServer$playerLostConnection$slambda(this.rd9_1, completion);
|
|
744
|
+
i.sd9_1 = $this$dispatchAsync;
|
|
745
|
+
i.td9_1 = store;
|
|
746
746
|
return i;
|
|
747
747
|
};
|
|
748
748
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
749
749
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
750
750
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
751
|
-
return i.
|
|
751
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
752
752
|
};
|
|
753
753
|
l.$arity = 2;
|
|
754
754
|
return l;
|
|
755
755
|
}
|
|
756
756
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
757
|
-
this.
|
|
757
|
+
this.cda_1 = $playerId;
|
|
758
758
|
CoroutineImpl.call(this, resultContinuation);
|
|
759
759
|
}
|
|
760
|
-
protoOf(GameServer$playerLive$slambda).
|
|
761
|
-
var tmp = this.
|
|
760
|
+
protoOf(GameServer$playerLive$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
761
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
762
762
|
tmp.g9_1 = Unit_instance;
|
|
763
763
|
tmp.h9_1 = null;
|
|
764
764
|
return tmp.m9();
|
|
765
765
|
};
|
|
766
766
|
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
767
767
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
768
|
-
return this.
|
|
768
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
769
769
|
};
|
|
770
770
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
771
771
|
var suspendResult = this.g9_1;
|
|
@@ -774,9 +774,9 @@
|
|
|
774
774
|
var tmp = this.e9_1;
|
|
775
775
|
if (tmp === 0) {
|
|
776
776
|
this.f9_1 = 1;
|
|
777
|
-
var tmp_0 = this.
|
|
777
|
+
var tmp_0 = this.eda_1.dispatch;
|
|
778
778
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
779
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
779
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.cda_1));
|
|
780
780
|
return Unit_instance;
|
|
781
781
|
} else if (tmp === 1) {
|
|
782
782
|
throw this.h9_1;
|
|
@@ -787,33 +787,33 @@
|
|
|
787
787
|
}
|
|
788
788
|
while (true);
|
|
789
789
|
};
|
|
790
|
-
protoOf(GameServer$playerLive$slambda).
|
|
791
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
792
|
-
i.
|
|
793
|
-
i.
|
|
790
|
+
protoOf(GameServer$playerLive$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
791
|
+
var i = new GameServer$playerLive$slambda(this.cda_1, completion);
|
|
792
|
+
i.dda_1 = $this$dispatchAsync;
|
|
793
|
+
i.eda_1 = store;
|
|
794
794
|
return i;
|
|
795
795
|
};
|
|
796
796
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
797
797
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
798
798
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
799
|
-
return i.
|
|
799
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
800
800
|
};
|
|
801
801
|
l.$arity = 2;
|
|
802
802
|
return l;
|
|
803
803
|
}
|
|
804
804
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
805
|
-
this.
|
|
805
|
+
this.nda_1 = $playerId;
|
|
806
806
|
CoroutineImpl.call(this, resultContinuation);
|
|
807
807
|
}
|
|
808
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
809
|
-
var tmp = this.
|
|
808
|
+
protoOf(GameServer$playerLeft$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
809
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
810
810
|
tmp.g9_1 = Unit_instance;
|
|
811
811
|
tmp.h9_1 = null;
|
|
812
812
|
return tmp.m9();
|
|
813
813
|
};
|
|
814
814
|
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
815
815
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
816
|
-
return this.
|
|
816
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
817
817
|
};
|
|
818
818
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
819
819
|
var suspendResult = this.g9_1;
|
|
@@ -822,9 +822,9 @@
|
|
|
822
822
|
var tmp = this.e9_1;
|
|
823
823
|
if (tmp === 0) {
|
|
824
824
|
this.f9_1 = 1;
|
|
825
|
-
var tmp_0 = this.
|
|
825
|
+
var tmp_0 = this.pda_1.dispatch;
|
|
826
826
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
827
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
827
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.nda_1));
|
|
828
828
|
return Unit_instance;
|
|
829
829
|
} else if (tmp === 1) {
|
|
830
830
|
throw this.h9_1;
|
|
@@ -835,38 +835,38 @@
|
|
|
835
835
|
}
|
|
836
836
|
while (true);
|
|
837
837
|
};
|
|
838
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
839
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
840
|
-
i.
|
|
841
|
-
i.
|
|
838
|
+
protoOf(GameServer$playerLeft$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
839
|
+
var i = new GameServer$playerLeft$slambda(this.nda_1, completion);
|
|
840
|
+
i.oda_1 = $this$dispatchAsync;
|
|
841
|
+
i.pda_1 = store;
|
|
842
842
|
return i;
|
|
843
843
|
};
|
|
844
844
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
845
845
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
846
846
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
847
|
-
return i.
|
|
847
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
848
848
|
};
|
|
849
849
|
l.$arity = 2;
|
|
850
850
|
return l;
|
|
851
851
|
}
|
|
852
852
|
function GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
853
|
-
this.
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
853
|
+
this.yda_1 = $users;
|
|
854
|
+
this.zda_1 = $gameCreatorId;
|
|
855
|
+
this.adb_1 = this$0;
|
|
856
|
+
this.bdb_1 = $spectators;
|
|
857
|
+
this.cdb_1 = $config;
|
|
858
|
+
this.ddb_1 = $roomId;
|
|
859
859
|
CoroutineImpl.call(this, resultContinuation);
|
|
860
860
|
}
|
|
861
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
862
|
-
var tmp = this.
|
|
861
|
+
protoOf(GameServer$roomOnCreate$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
862
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
863
863
|
tmp.g9_1 = Unit_instance;
|
|
864
864
|
tmp.h9_1 = null;
|
|
865
865
|
return tmp.m9();
|
|
866
866
|
};
|
|
867
867
|
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
868
868
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
869
|
-
return this.
|
|
869
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
870
870
|
};
|
|
871
871
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
872
872
|
var suspendResult = this.g9_1;
|
|
@@ -875,13 +875,13 @@
|
|
|
875
875
|
var tmp = this.e9_1;
|
|
876
876
|
if (tmp === 0) {
|
|
877
877
|
this.f9_1 = 1;
|
|
878
|
-
var usersList = toList(this.
|
|
879
|
-
var gameCreatorUser = getPlayer(usersList, this.
|
|
880
|
-
var tmp_0 = this.
|
|
878
|
+
var usersList = toList(this.yda_1);
|
|
879
|
+
var gameCreatorUser = getPlayer(usersList, this.zda_1);
|
|
880
|
+
var tmp_0 = this.fdb_1.dispatch;
|
|
881
881
|
var tmp0_version = GameEngineConfig_instance.version;
|
|
882
|
-
var tmp1_users = sortWithItem(_get_random__h29cgo(this.
|
|
883
|
-
var tmp2_spectators = toList(this.
|
|
884
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
882
|
+
var tmp1_users = sortWithItem(_get_random__h29cgo(this.adb_1).a60(toMutableList(usersList)), gameCreatorUser);
|
|
883
|
+
var tmp2_spectators = toList(this.bdb_1);
|
|
884
|
+
tmp_0(new StartGameMechanicAction(this.cdb_1, this.ddb_1, tmp0_version, this.zda_1, tmp1_users, VOID, tmp2_spectators));
|
|
885
885
|
return Unit_instance;
|
|
886
886
|
} else if (tmp === 1) {
|
|
887
887
|
throw this.h9_1;
|
|
@@ -892,33 +892,33 @@
|
|
|
892
892
|
}
|
|
893
893
|
while (true);
|
|
894
894
|
};
|
|
895
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
896
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
897
|
-
i.
|
|
898
|
-
i.
|
|
895
|
+
protoOf(GameServer$roomOnCreate$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
896
|
+
var i = new GameServer$roomOnCreate$slambda(this.yda_1, this.zda_1, this.adb_1, this.bdb_1, this.cdb_1, this.ddb_1, completion);
|
|
897
|
+
i.edb_1 = $this$dispatchAsync;
|
|
898
|
+
i.fdb_1 = store;
|
|
899
899
|
return i;
|
|
900
900
|
};
|
|
901
901
|
function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
902
902
|
var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation);
|
|
903
903
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
904
|
-
return i.
|
|
904
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
905
905
|
};
|
|
906
906
|
l.$arity = 2;
|
|
907
907
|
return l;
|
|
908
908
|
}
|
|
909
909
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation) {
|
|
910
|
-
this.
|
|
910
|
+
this.odb_1 = $tableLite;
|
|
911
911
|
CoroutineImpl.call(this, resultContinuation);
|
|
912
912
|
}
|
|
913
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
914
|
-
var tmp = this.
|
|
913
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
914
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
915
915
|
tmp.g9_1 = Unit_instance;
|
|
916
916
|
tmp.h9_1 = null;
|
|
917
917
|
return tmp.m9();
|
|
918
918
|
};
|
|
919
919
|
protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
|
|
920
920
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
921
|
-
return this.
|
|
921
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
922
922
|
};
|
|
923
923
|
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
924
924
|
var suspendResult = this.g9_1;
|
|
@@ -927,11 +927,11 @@
|
|
|
927
927
|
var tmp = this.e9_1;
|
|
928
928
|
if (tmp === 0) {
|
|
929
929
|
this.f9_1 = 1;
|
|
930
|
-
var tmp_0 = this.
|
|
930
|
+
var tmp_0 = this.qdb_1.dispatch;
|
|
931
931
|
var tmp0_reason = RestartRoundReason_getInstance();
|
|
932
|
-
var tmp1_table = Companion_instance.restartRound(GameEngineConfig_instance.version, this.
|
|
932
|
+
var tmp1_table = Companion_instance.restartRound(GameEngineConfig_instance.version, this.odb_1);
|
|
933
933
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
934
|
-
this.
|
|
934
|
+
this.qdb_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
935
935
|
return Unit_instance;
|
|
936
936
|
} else if (tmp === 1) {
|
|
937
937
|
throw this.h9_1;
|
|
@@ -942,33 +942,33 @@
|
|
|
942
942
|
}
|
|
943
943
|
while (true);
|
|
944
944
|
};
|
|
945
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
946
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
947
|
-
i.
|
|
948
|
-
i.
|
|
945
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
946
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.odb_1, completion);
|
|
947
|
+
i.pdb_1 = $this$dispatchAsync;
|
|
948
|
+
i.qdb_1 = store;
|
|
949
949
|
return i;
|
|
950
950
|
};
|
|
951
951
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, resultContinuation) {
|
|
952
952
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation);
|
|
953
953
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
954
|
-
return i.
|
|
954
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
955
955
|
};
|
|
956
956
|
l.$arity = 2;
|
|
957
957
|
return l;
|
|
958
958
|
}
|
|
959
959
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
960
|
-
this.
|
|
960
|
+
this.zdb_1 = $spectators;
|
|
961
961
|
CoroutineImpl.call(this, resultContinuation);
|
|
962
962
|
}
|
|
963
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
964
|
-
var tmp = this.
|
|
963
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
964
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
965
965
|
tmp.g9_1 = Unit_instance;
|
|
966
966
|
tmp.h9_1 = null;
|
|
967
967
|
return tmp.m9();
|
|
968
968
|
};
|
|
969
969
|
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
970
970
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
971
|
-
return this.
|
|
971
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
972
972
|
};
|
|
973
973
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
974
974
|
var suspendResult = this.g9_1;
|
|
@@ -977,7 +977,7 @@
|
|
|
977
977
|
var tmp = this.e9_1;
|
|
978
978
|
if (tmp === 0) {
|
|
979
979
|
this.f9_1 = 1;
|
|
980
|
-
this.
|
|
980
|
+
this.bdc_1.dispatch(new AddSpectatorsAction(toList(this.zdb_1)));
|
|
981
981
|
return Unit_instance;
|
|
982
982
|
} else if (tmp === 1) {
|
|
983
983
|
throw this.h9_1;
|
|
@@ -988,33 +988,33 @@
|
|
|
988
988
|
}
|
|
989
989
|
while (true);
|
|
990
990
|
};
|
|
991
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
992
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
993
|
-
i.
|
|
994
|
-
i.
|
|
991
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
992
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.zdb_1, completion);
|
|
993
|
+
i.adc_1 = $this$dispatchAsync;
|
|
994
|
+
i.bdc_1 = store;
|
|
995
995
|
return i;
|
|
996
996
|
};
|
|
997
997
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
998
998
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
999
999
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1000
|
-
return i.
|
|
1000
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1001
1001
|
};
|
|
1002
1002
|
l.$arity = 2;
|
|
1003
1003
|
return l;
|
|
1004
1004
|
}
|
|
1005
1005
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1006
|
-
this.
|
|
1006
|
+
this.kdc_1 = $spectators;
|
|
1007
1007
|
CoroutineImpl.call(this, resultContinuation);
|
|
1008
1008
|
}
|
|
1009
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1010
|
-
var tmp = this.
|
|
1009
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1010
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1011
1011
|
tmp.g9_1 = Unit_instance;
|
|
1012
1012
|
tmp.h9_1 = null;
|
|
1013
1013
|
return tmp.m9();
|
|
1014
1014
|
};
|
|
1015
1015
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1016
1016
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1017
|
-
return this.
|
|
1017
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1018
1018
|
};
|
|
1019
1019
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1020
1020
|
var suspendResult = this.g9_1;
|
|
@@ -1023,7 +1023,7 @@
|
|
|
1023
1023
|
var tmp = this.e9_1;
|
|
1024
1024
|
if (tmp === 0) {
|
|
1025
1025
|
this.f9_1 = 1;
|
|
1026
|
-
this.
|
|
1026
|
+
this.mdc_1.dispatch(new RemoveSpectatorsAction(toList(this.kdc_1)));
|
|
1027
1027
|
return Unit_instance;
|
|
1028
1028
|
} else if (tmp === 1) {
|
|
1029
1029
|
throw this.h9_1;
|
|
@@ -1034,34 +1034,34 @@
|
|
|
1034
1034
|
}
|
|
1035
1035
|
while (true);
|
|
1036
1036
|
};
|
|
1037
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1038
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1039
|
-
i.
|
|
1040
|
-
i.
|
|
1037
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
1038
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.kdc_1, completion);
|
|
1039
|
+
i.ldc_1 = $this$dispatchAsync;
|
|
1040
|
+
i.mdc_1 = store;
|
|
1041
1041
|
return i;
|
|
1042
1042
|
};
|
|
1043
1043
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1044
1044
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1045
1045
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1046
|
-
return i.
|
|
1046
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1047
1047
|
};
|
|
1048
1048
|
l.$arity = 2;
|
|
1049
1049
|
return l;
|
|
1050
1050
|
}
|
|
1051
1051
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1052
|
+
this.vdc_1 = $playerId;
|
|
1053
|
+
this.wdc_1 = this$0;
|
|
1054
1054
|
CoroutineImpl.call(this, resultContinuation);
|
|
1055
1055
|
}
|
|
1056
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1057
|
-
var tmp = this.
|
|
1056
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1057
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1058
1058
|
tmp.g9_1 = Unit_instance;
|
|
1059
1059
|
tmp.h9_1 = null;
|
|
1060
1060
|
return tmp.m9();
|
|
1061
1061
|
};
|
|
1062
1062
|
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1063
1063
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1064
|
-
return this.
|
|
1064
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1065
1065
|
};
|
|
1066
1066
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1067
1067
|
var suspendResult = this.g9_1;
|
|
@@ -1070,14 +1070,14 @@
|
|
|
1070
1070
|
var tmp = this.e9_1;
|
|
1071
1071
|
if (tmp === 0) {
|
|
1072
1072
|
this.f9_1 = 1;
|
|
1073
|
-
var table = this.
|
|
1074
|
-
var player = getPlayer(table.players, this.
|
|
1075
|
-
if (player.
|
|
1076
|
-
this.
|
|
1073
|
+
var table = this.ydc_1.state.f6x();
|
|
1074
|
+
var player = getPlayer(table.players, this.vdc_1);
|
|
1075
|
+
if (player.a74_1.a6h().r6f_1.isLive) {
|
|
1076
|
+
this.ydc_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.wdc_1).h97(player, table));
|
|
1077
1077
|
} else {
|
|
1078
|
-
var tmp_0 = this.
|
|
1078
|
+
var tmp_0 = this.ydc_1.dispatch;
|
|
1079
1079
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1080
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1080
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.vdc_1));
|
|
1081
1081
|
}
|
|
1082
1082
|
return Unit_instance;
|
|
1083
1083
|
} else if (tmp === 1) {
|
|
@@ -1089,34 +1089,34 @@
|
|
|
1089
1089
|
}
|
|
1090
1090
|
while (true);
|
|
1091
1091
|
};
|
|
1092
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1093
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1094
|
-
i.
|
|
1095
|
-
i.
|
|
1092
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
1093
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.vdc_1, this.wdc_1, completion);
|
|
1094
|
+
i.xdc_1 = $this$dispatchAsync;
|
|
1095
|
+
i.ydc_1 = store;
|
|
1096
1096
|
return i;
|
|
1097
1097
|
};
|
|
1098
1098
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1099
1099
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1100
1100
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1101
|
-
return i.
|
|
1101
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1102
1102
|
};
|
|
1103
1103
|
l.$arity = 2;
|
|
1104
1104
|
return l;
|
|
1105
1105
|
}
|
|
1106
1106
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
1107
|
-
this.
|
|
1108
|
-
this.
|
|
1107
|
+
this.hdd_1 = this$0;
|
|
1108
|
+
this.idd_1 = $newRid;
|
|
1109
1109
|
CoroutineImpl.call(this, resultContinuation);
|
|
1110
1110
|
}
|
|
1111
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1112
|
-
var tmp = this.
|
|
1111
|
+
protoOf(GameServer$roomOnDelete$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1112
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1113
1113
|
tmp.g9_1 = Unit_instance;
|
|
1114
1114
|
tmp.h9_1 = null;
|
|
1115
1115
|
return tmp.m9();
|
|
1116
1116
|
};
|
|
1117
1117
|
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1118
1118
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1119
|
-
return this.
|
|
1119
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1120
1120
|
};
|
|
1121
1121
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1122
1122
|
var suspendResult = this.g9_1;
|
|
@@ -1125,23 +1125,23 @@
|
|
|
1125
1125
|
var tmp = this.e9_1;
|
|
1126
1126
|
if (tmp === 0) {
|
|
1127
1127
|
this.f9_1 = 1;
|
|
1128
|
-
var it = this.
|
|
1128
|
+
var it = this.hdd_1.x6e().g6w_1;
|
|
1129
1129
|
var tmp_0;
|
|
1130
1130
|
if (it == null) {
|
|
1131
|
-
_get_logger__rkp4sl(this.
|
|
1131
|
+
_get_logger__rkp4sl(this.hdd_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1132
1132
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1133
1133
|
} else {
|
|
1134
1134
|
tmp_0 = it;
|
|
1135
1135
|
}
|
|
1136
1136
|
var terminationState = tmp_0;
|
|
1137
|
-
var tmp_1 = this.
|
|
1138
|
-
var tmp1_reason = terminationState.
|
|
1139
|
-
var tmp0_safe_receiver = terminationState.
|
|
1137
|
+
var tmp_1 = this.kdd_1.dispatch;
|
|
1138
|
+
var tmp1_reason = terminationState.z8c_1;
|
|
1139
|
+
var tmp0_safe_receiver = terminationState.a8d_1;
|
|
1140
1140
|
var tmp_2;
|
|
1141
1141
|
if (tmp0_safe_receiver == null) {
|
|
1142
1142
|
tmp_2 = null;
|
|
1143
1143
|
} else {
|
|
1144
|
-
var value = this.
|
|
1144
|
+
var value = this.idd_1;
|
|
1145
1145
|
var tmp$ret$0 = Unit_instance;
|
|
1146
1146
|
l$ret$1: do {
|
|
1147
1147
|
if (value == null) {
|
|
@@ -1156,7 +1156,7 @@
|
|
|
1156
1156
|
tmp_2 = tmp0_safe_receiver.copy(tmp$ret$0);
|
|
1157
1157
|
}
|
|
1158
1158
|
var tmp2_transition = tmp_2;
|
|
1159
|
-
var tmp3_isGameFinished = this.
|
|
1159
|
+
var tmp3_isGameFinished = this.hdd_1.x6e().f6x().isGameFinished;
|
|
1160
1160
|
tmp_1(new FinishGameMechanicAction(tmp1_reason, tmp3_isGameFinished, VOID, tmp2_transition));
|
|
1161
1161
|
return Unit_instance;
|
|
1162
1162
|
} else if (tmp === 1) {
|
|
@@ -1168,33 +1168,33 @@
|
|
|
1168
1168
|
}
|
|
1169
1169
|
while (true);
|
|
1170
1170
|
};
|
|
1171
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1172
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1173
|
-
i.
|
|
1174
|
-
i.
|
|
1171
|
+
protoOf(GameServer$roomOnDelete$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
1172
|
+
var i = new GameServer$roomOnDelete$slambda(this.hdd_1, this.idd_1, completion);
|
|
1173
|
+
i.jdd_1 = $this$dispatchAsync;
|
|
1174
|
+
i.kdd_1 = store;
|
|
1175
1175
|
return i;
|
|
1176
1176
|
};
|
|
1177
1177
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1178
1178
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1179
1179
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1180
|
-
return i.
|
|
1180
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1181
1181
|
};
|
|
1182
1182
|
l.$arity = 2;
|
|
1183
1183
|
return l;
|
|
1184
1184
|
}
|
|
1185
1185
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1186
|
-
this.
|
|
1186
|
+
this.tdd_1 = $enabled;
|
|
1187
1187
|
CoroutineImpl.call(this, resultContinuation);
|
|
1188
1188
|
}
|
|
1189
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1190
|
-
var tmp = this.
|
|
1189
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1190
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1191
1191
|
tmp.g9_1 = Unit_instance;
|
|
1192
1192
|
tmp.h9_1 = null;
|
|
1193
1193
|
return tmp.m9();
|
|
1194
1194
|
};
|
|
1195
1195
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1196
1196
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1197
|
-
return this.
|
|
1197
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1198
1198
|
};
|
|
1199
1199
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1200
1200
|
var suspendResult = this.g9_1;
|
|
@@ -1203,7 +1203,7 @@
|
|
|
1203
1203
|
var tmp = this.e9_1;
|
|
1204
1204
|
if (tmp === 0) {
|
|
1205
1205
|
this.f9_1 = 1;
|
|
1206
|
-
this.
|
|
1206
|
+
this.vdd_1.dispatch(new UpdateServerConfigAction(get_serverState(this.vdd_1.state).wdd_1.ydd(this.tdd_1)));
|
|
1207
1207
|
return Unit_instance;
|
|
1208
1208
|
} else if (tmp === 1) {
|
|
1209
1209
|
throw this.h9_1;
|
|
@@ -1214,35 +1214,35 @@
|
|
|
1214
1214
|
}
|
|
1215
1215
|
while (true);
|
|
1216
1216
|
};
|
|
1217
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1218
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1219
|
-
i.
|
|
1220
|
-
i.
|
|
1217
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
1218
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.tdd_1, completion);
|
|
1219
|
+
i.udd_1 = $this$dispatchAsync;
|
|
1220
|
+
i.vdd_1 = store;
|
|
1221
1221
|
return i;
|
|
1222
1222
|
};
|
|
1223
1223
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1224
1224
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1225
1225
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1226
|
-
return i.
|
|
1226
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1227
1227
|
};
|
|
1228
1228
|
l.$arity = 2;
|
|
1229
1229
|
return l;
|
|
1230
1230
|
}
|
|
1231
1231
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1232
|
-
this.
|
|
1233
|
-
this.
|
|
1234
|
-
this.
|
|
1232
|
+
this.hde_1 = $reason;
|
|
1233
|
+
this.ide_1 = this$0;
|
|
1234
|
+
this.jde_1 = $roomId;
|
|
1235
1235
|
CoroutineImpl.call(this, resultContinuation);
|
|
1236
1236
|
}
|
|
1237
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1238
|
-
var tmp = this.
|
|
1237
|
+
protoOf(GameServer$shutdown$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1238
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1239
1239
|
tmp.g9_1 = Unit_instance;
|
|
1240
1240
|
tmp.h9_1 = null;
|
|
1241
1241
|
return tmp.m9();
|
|
1242
1242
|
};
|
|
1243
1243
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1244
1244
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1245
|
-
return this.
|
|
1245
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1246
1246
|
};
|
|
1247
1247
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1248
1248
|
var suspendResult = this.g9_1;
|
|
@@ -1251,11 +1251,11 @@
|
|
|
1251
1251
|
var tmp = this.e9_1;
|
|
1252
1252
|
if (tmp === 0) {
|
|
1253
1253
|
this.f9_1 = 1;
|
|
1254
|
-
var state = this.
|
|
1254
|
+
var state = this.lde_1.store.state;
|
|
1255
1255
|
if (state.g6x()) {
|
|
1256
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1256
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.hde_1, get_serverShutdownReasonMapping());
|
|
1257
1257
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1258
|
-
var tmp_0 = this.
|
|
1258
|
+
var tmp_0 = this.lde_1.dispatch;
|
|
1259
1259
|
var tmp_1 = Companion_instance_0;
|
|
1260
1260
|
var tmp_2;
|
|
1261
1261
|
switch (shutdownReason.n2_1) {
|
|
@@ -1269,10 +1269,10 @@
|
|
|
1269
1269
|
noWhenBranchMatchedException();
|
|
1270
1270
|
break;
|
|
1271
1271
|
}
|
|
1272
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1272
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.ide_1.table.isGameFinished, this.ide_1.table));
|
|
1273
1273
|
} else {
|
|
1274
|
-
_get_logger__rkp4sl(this.
|
|
1275
|
-
this.
|
|
1274
|
+
_get_logger__rkp4sl(this.ide_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.jde_1);
|
|
1275
|
+
this.lde_1.dispatch(new ClearAction());
|
|
1276
1276
|
}
|
|
1277
1277
|
return Unit_instance;
|
|
1278
1278
|
} else if (tmp === 1) {
|
|
@@ -1284,22 +1284,22 @@
|
|
|
1284
1284
|
}
|
|
1285
1285
|
while (true);
|
|
1286
1286
|
};
|
|
1287
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1288
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1289
|
-
i.
|
|
1290
|
-
i.
|
|
1287
|
+
protoOf(GameServer$shutdown$slambda).wb5 = function ($this$dispatchAsync, store, completion) {
|
|
1288
|
+
var i = new GameServer$shutdown$slambda(this.hde_1, this.ide_1, this.jde_1, completion);
|
|
1289
|
+
i.kde_1 = $this$dispatchAsync;
|
|
1290
|
+
i.lde_1 = store;
|
|
1291
1291
|
return i;
|
|
1292
1292
|
};
|
|
1293
1293
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1294
1294
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1295
1295
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1296
|
-
return i.
|
|
1296
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1297
1297
|
};
|
|
1298
1298
|
l.$arity = 2;
|
|
1299
1299
|
return l;
|
|
1300
1300
|
}
|
|
1301
1301
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1302
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.
|
|
1302
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.mde()) : preloadedState;
|
|
1303
1303
|
var tmp;
|
|
1304
1304
|
if (externalReducers === VOID) {
|
|
1305
1305
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1322,28 +1322,28 @@
|
|
|
1322
1322
|
// Inline function 'org.kodein.type.generic' call
|
|
1323
1323
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1324
1324
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1325
|
-
tmp_1.
|
|
1325
|
+
tmp_1.ud7_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory());
|
|
1326
1326
|
var tmp_3 = this;
|
|
1327
1327
|
// Inline function 'org.kodein.di.instance' call
|
|
1328
1328
|
// Inline function 'org.kodein.type.generic' call
|
|
1329
1329
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1330
1330
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1331
|
-
tmp_3.
|
|
1331
|
+
tmp_3.vd7_1 = Instance(di, tmp$ret$4, null).m67(this, toClientEventsObserver$factory());
|
|
1332
1332
|
var tmp_5 = this;
|
|
1333
1333
|
// Inline function 'org.kodein.di.instance' call
|
|
1334
1334
|
// Inline function 'org.kodein.type.generic' call
|
|
1335
1335
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1336
1336
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1337
|
-
tmp_5.
|
|
1337
|
+
tmp_5.wd7_1 = Instance(di, tmp$ret$6, null).m67(this, playerConnectionInteractor$factory());
|
|
1338
1338
|
var tmp_7 = this;
|
|
1339
|
-
tmp_7.
|
|
1339
|
+
tmp_7.xd7_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1340
1340
|
var tmp_8 = this;
|
|
1341
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1342
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1343
|
-
tmp_8.
|
|
1341
|
+
var tmp0_externalMiddlewares = plus(storeContract.i9d(), externalMiddlewares);
|
|
1342
|
+
var tmp1_externalReducers = plus(storeContract.h9d(), externalReducers);
|
|
1343
|
+
tmp_8.yd7_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1344
1344
|
}
|
|
1345
1345
|
protoOf(GameServer).s6v = function () {
|
|
1346
|
-
return this.
|
|
1346
|
+
return this.yd7_1;
|
|
1347
1347
|
};
|
|
1348
1348
|
protoOf(GameServer).w5o = function () {
|
|
1349
1349
|
return this.x6e().f6x().id;
|
|
@@ -1367,44 +1367,44 @@
|
|
|
1367
1367
|
};
|
|
1368
1368
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1369
1369
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1370
|
-
this.
|
|
1370
|
+
this.yd7_1.e6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1371
1371
|
};
|
|
1372
1372
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1373
1373
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1374
|
-
this.
|
|
1374
|
+
this.yd7_1.e6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1375
1375
|
};
|
|
1376
1376
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1377
1377
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1378
|
-
this.
|
|
1378
|
+
this.yd7_1.e6x(GameServer$playerLive$slambda_0(playerId, null));
|
|
1379
1379
|
};
|
|
1380
1380
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1381
1381
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1382
|
-
this.
|
|
1382
|
+
this.yd7_1.e6x(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1383
1383
|
};
|
|
1384
|
-
protoOf(GameServer).
|
|
1385
|
-
this.
|
|
1384
|
+
protoOf(GameServer).nde = function (roomId, gameCreatorId, config, users, transition, spectators) {
|
|
1385
|
+
this.yd7_1.e6x(GameServer$roomOnCreate$slambda_0(users, gameCreatorId, this, spectators, config, roomId, null));
|
|
1386
1386
|
};
|
|
1387
1387
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1388
|
-
this.
|
|
1388
|
+
this.yd7_1.e6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, null));
|
|
1389
1389
|
};
|
|
1390
1390
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1391
|
-
this.
|
|
1391
|
+
this.yd7_1.e6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1392
1392
|
};
|
|
1393
1393
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1394
|
-
this.
|
|
1394
|
+
this.yd7_1.e6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1395
1395
|
};
|
|
1396
1396
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1397
1397
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1398
|
-
this.
|
|
1398
|
+
this.yd7_1.e6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1399
1399
|
};
|
|
1400
|
-
protoOf(GameServer).
|
|
1401
|
-
this.
|
|
1400
|
+
protoOf(GameServer).ode = function (newRid) {
|
|
1401
|
+
this.yd7_1.e6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1404
|
-
this.
|
|
1404
|
+
this.yd7_1.e6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1405
1405
|
};
|
|
1406
|
-
protoOf(GameServer).
|
|
1407
|
-
this.
|
|
1406
|
+
protoOf(GameServer).pde = function (reason, roomId) {
|
|
1407
|
+
this.yd7_1.e6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1408
1408
|
};
|
|
1409
1409
|
protoOf(GameServer).clear = function () {
|
|
1410
1410
|
return this.a2();
|
|
@@ -1478,16 +1478,16 @@
|
|
|
1478
1478
|
return ServerShutdownReason_ERROR_instance;
|
|
1479
1479
|
}
|
|
1480
1480
|
function ServerConfig(canStartNewGame) {
|
|
1481
|
-
this.
|
|
1481
|
+
this.xdd_1 = canStartNewGame;
|
|
1482
1482
|
}
|
|
1483
|
-
protoOf(ServerConfig).
|
|
1483
|
+
protoOf(ServerConfig).ydd = function (canStartNewGame) {
|
|
1484
1484
|
return new ServerConfig(canStartNewGame);
|
|
1485
1485
|
};
|
|
1486
1486
|
protoOf(ServerConfig).toString = function () {
|
|
1487
|
-
return 'ServerConfig(canStartNewGame=' + this.
|
|
1487
|
+
return 'ServerConfig(canStartNewGame=' + this.xdd_1 + ')';
|
|
1488
1488
|
};
|
|
1489
1489
|
protoOf(ServerConfig).hashCode = function () {
|
|
1490
|
-
return getBooleanHashCode(this.
|
|
1490
|
+
return getBooleanHashCode(this.xdd_1);
|
|
1491
1491
|
};
|
|
1492
1492
|
protoOf(ServerConfig).equals = function (other) {
|
|
1493
1493
|
if (this === other)
|
|
@@ -1495,7 +1495,7 @@
|
|
|
1495
1495
|
if (!(other instanceof ServerConfig))
|
|
1496
1496
|
return false;
|
|
1497
1497
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1498
|
-
if (!(this.
|
|
1498
|
+
if (!(this.xdd_1 === tmp0_other_with_cast.xdd_1))
|
|
1499
1499
|
return false;
|
|
1500
1500
|
return true;
|
|
1501
1501
|
};
|
|
@@ -1727,18 +1727,18 @@
|
|
|
1727
1727
|
function ToClientEventsObserver() {
|
|
1728
1728
|
}
|
|
1729
1729
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
1730
|
-
this.
|
|
1731
|
-
this.
|
|
1730
|
+
this.zde_1 = this$0;
|
|
1731
|
+
this.adf_1 = $actions;
|
|
1732
1732
|
CoroutineImpl.call(this, resultContinuation);
|
|
1733
1733
|
}
|
|
1734
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1735
|
-
var tmp = this.
|
|
1734
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).hdf = function ($this$flow, $completion) {
|
|
1735
|
+
var tmp = this.idf($this$flow, $completion);
|
|
1736
1736
|
tmp.g9_1 = Unit_instance;
|
|
1737
1737
|
tmp.h9_1 = null;
|
|
1738
1738
|
return tmp.m9();
|
|
1739
1739
|
};
|
|
1740
1740
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
1741
|
-
return this.
|
|
1741
|
+
return this.hdf((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
1742
1742
|
};
|
|
1743
1743
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).m9 = function () {
|
|
1744
1744
|
var suspendResult = this.g9_1;
|
|
@@ -1749,23 +1749,23 @@
|
|
|
1749
1749
|
case 0:
|
|
1750
1750
|
this.f9_1 = 4;
|
|
1751
1751
|
var tmp_0 = this;
|
|
1752
|
-
tmp_0.
|
|
1752
|
+
tmp_0.cdf_1 = this.zde_1.ndf_1;
|
|
1753
1753
|
var tmp_1 = this;
|
|
1754
|
-
tmp_1.
|
|
1755
|
-
this.
|
|
1754
|
+
tmp_1.ddf_1 = transformToEmits(this.zde_1, this.adf_1);
|
|
1755
|
+
this.edf_1 = this.ddf_1.j();
|
|
1756
1756
|
this.e9_1 = 1;
|
|
1757
1757
|
continue $sm;
|
|
1758
1758
|
case 1:
|
|
1759
|
-
if (!this.
|
|
1759
|
+
if (!this.edf_1.k()) {
|
|
1760
1760
|
this.e9_1 = 3;
|
|
1761
1761
|
continue $sm;
|
|
1762
1762
|
}
|
|
1763
1763
|
|
|
1764
|
-
this.
|
|
1764
|
+
this.fdf_1 = this.edf_1.l();
|
|
1765
1765
|
var tmp_2 = this;
|
|
1766
|
-
tmp_2.
|
|
1766
|
+
tmp_2.gdf_1 = this.fdf_1;
|
|
1767
1767
|
this.e9_1 = 2;
|
|
1768
|
-
suspendResult = this.
|
|
1768
|
+
suspendResult = this.bdf_1.p18(this.gdf_1, this);
|
|
1769
1769
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1770
1770
|
return suspendResult;
|
|
1771
1771
|
}
|
|
@@ -1776,10 +1776,10 @@
|
|
|
1776
1776
|
continue $sm;
|
|
1777
1777
|
case 3:
|
|
1778
1778
|
l$ret$1: do {
|
|
1779
|
-
var this_0 = this.
|
|
1779
|
+
var this_0 = this.zde_1.mdf_1;
|
|
1780
1780
|
while (true) {
|
|
1781
1781
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1782
|
-
var upd = cur - this.
|
|
1782
|
+
var upd = cur - this.adf_1.m() | 0;
|
|
1783
1783
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
1784
1784
|
break l$ret$1;
|
|
1785
1785
|
}
|
|
@@ -1801,15 +1801,15 @@
|
|
|
1801
1801
|
}
|
|
1802
1802
|
while (true);
|
|
1803
1803
|
};
|
|
1804
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1805
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.
|
|
1806
|
-
i.
|
|
1804
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).idf = function ($this$flow, completion) {
|
|
1805
|
+
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.zde_1, this.adf_1, completion);
|
|
1806
|
+
i.bdf_1 = $this$flow;
|
|
1807
1807
|
return i;
|
|
1808
1808
|
};
|
|
1809
1809
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
1810
1810
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
1811
1811
|
var l = function ($this$flow, $completion) {
|
|
1812
|
-
return i.
|
|
1812
|
+
return i.hdf($this$flow, $completion);
|
|
1813
1813
|
};
|
|
1814
1814
|
l.$arity = 1;
|
|
1815
1815
|
return l;
|
|
@@ -1882,29 +1882,29 @@
|
|
|
1882
1882
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
1883
1883
|
}
|
|
1884
1884
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
1885
|
-
var tmp = $this.
|
|
1885
|
+
var tmp = $this.ldf_1.b6m();
|
|
1886
1886
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1887
|
-
var this_0 = _this__u8e3s4.
|
|
1887
|
+
var this_0 = _this__u8e3s4.qdf_1;
|
|
1888
1888
|
var tmp_0 = copyToArray(this_0);
|
|
1889
1889
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1890
|
-
var this_1 = _this__u8e3s4.
|
|
1890
|
+
var this_1 = _this__u8e3s4.rdf_1;
|
|
1891
1891
|
var tmp$ret$1 = copyToArray(this_1);
|
|
1892
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
1892
|
+
return new ActionDeliveryPayload(_this__u8e3s4.pdf_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.sdf_1);
|
|
1893
1893
|
}
|
|
1894
1894
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
1895
|
-
this.
|
|
1896
|
-
this.
|
|
1897
|
-
this.
|
|
1898
|
-
this.
|
|
1895
|
+
this.pdf_1 = tableId;
|
|
1896
|
+
this.qdf_1 = includePlayers;
|
|
1897
|
+
this.rdf_1 = excludePlayers;
|
|
1898
|
+
this.sdf_1 = deliveryType;
|
|
1899
1899
|
}
|
|
1900
1900
|
protoOf(GroupKey).toString = function () {
|
|
1901
|
-
return 'GroupKey(tableId=' + this.
|
|
1901
|
+
return 'GroupKey(tableId=' + this.pdf_1 + ', includePlayers=' + toString(this.qdf_1) + ', excludePlayers=' + toString(this.rdf_1) + ', deliveryType=' + this.sdf_1.toString() + ')';
|
|
1902
1902
|
};
|
|
1903
1903
|
protoOf(GroupKey).hashCode = function () {
|
|
1904
|
-
var result = getStringHashCode(this.
|
|
1905
|
-
result = imul(result, 31) + hashCode(this.
|
|
1906
|
-
result = imul(result, 31) + hashCode(this.
|
|
1907
|
-
result = imul(result, 31) + this.
|
|
1904
|
+
var result = getStringHashCode(this.pdf_1);
|
|
1905
|
+
result = imul(result, 31) + hashCode(this.qdf_1) | 0;
|
|
1906
|
+
result = imul(result, 31) + hashCode(this.rdf_1) | 0;
|
|
1907
|
+
result = imul(result, 31) + this.sdf_1.hashCode() | 0;
|
|
1908
1908
|
return result;
|
|
1909
1909
|
};
|
|
1910
1910
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -1913,35 +1913,35 @@
|
|
|
1913
1913
|
if (!(other instanceof GroupKey))
|
|
1914
1914
|
return false;
|
|
1915
1915
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
1916
|
-
if (!(this.
|
|
1916
|
+
if (!(this.pdf_1 === tmp0_other_with_cast.pdf_1))
|
|
1917
1917
|
return false;
|
|
1918
|
-
if (!equals(this.
|
|
1918
|
+
if (!equals(this.qdf_1, tmp0_other_with_cast.qdf_1))
|
|
1919
1919
|
return false;
|
|
1920
|
-
if (!equals(this.
|
|
1920
|
+
if (!equals(this.rdf_1, tmp0_other_with_cast.rdf_1))
|
|
1921
1921
|
return false;
|
|
1922
|
-
if (!this.
|
|
1922
|
+
if (!this.sdf_1.equals(tmp0_other_with_cast.sdf_1))
|
|
1923
1923
|
return false;
|
|
1924
1924
|
return true;
|
|
1925
1925
|
};
|
|
1926
1926
|
function Companion_0() {
|
|
1927
|
-
this.
|
|
1927
|
+
this.tdf_1 = 6;
|
|
1928
1928
|
}
|
|
1929
1929
|
var Companion_instance_8;
|
|
1930
1930
|
function Companion_getInstance_1() {
|
|
1931
1931
|
return Companion_instance_8;
|
|
1932
1932
|
}
|
|
1933
1933
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation) {
|
|
1934
|
-
this.
|
|
1934
|
+
this.cdg_1 = this$0;
|
|
1935
1935
|
CoroutineImpl.call(this, resultContinuation);
|
|
1936
1936
|
}
|
|
1937
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1938
|
-
var tmp = this.
|
|
1937
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).edg = function (actions, $completion) {
|
|
1938
|
+
var tmp = this.fdg(actions, $completion);
|
|
1939
1939
|
tmp.g9_1 = Unit_instance;
|
|
1940
1940
|
tmp.h9_1 = null;
|
|
1941
1941
|
return tmp.m9();
|
|
1942
1942
|
};
|
|
1943
1943
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).w9 = function (p1, $completion) {
|
|
1944
|
-
return this.
|
|
1944
|
+
return this.edg((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
1945
1945
|
};
|
|
1946
1946
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).m9 = function () {
|
|
1947
1947
|
var suspendResult = this.g9_1;
|
|
@@ -1950,7 +1950,7 @@
|
|
|
1950
1950
|
var tmp = this.e9_1;
|
|
1951
1951
|
if (tmp === 0) {
|
|
1952
1952
|
this.f9_1 = 1;
|
|
1953
|
-
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.
|
|
1953
|
+
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.cdg_1, this.ddg_1, null));
|
|
1954
1954
|
} else if (tmp === 1) {
|
|
1955
1955
|
throw this.h9_1;
|
|
1956
1956
|
}
|
|
@@ -1960,23 +1960,23 @@
|
|
|
1960
1960
|
}
|
|
1961
1961
|
while (true);
|
|
1962
1962
|
};
|
|
1963
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1964
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.
|
|
1965
|
-
i.
|
|
1963
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).fdg = function (actions, completion) {
|
|
1964
|
+
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.cdg_1, completion);
|
|
1965
|
+
i.ddg_1 = actions;
|
|
1966
1966
|
return i;
|
|
1967
1967
|
};
|
|
1968
1968
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this$0, resultContinuation) {
|
|
1969
1969
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation);
|
|
1970
1970
|
var l = function (actions, $completion) {
|
|
1971
|
-
return i.
|
|
1971
|
+
return i.edg(actions, $completion);
|
|
1972
1972
|
};
|
|
1973
1973
|
l.$arity = 1;
|
|
1974
1974
|
return l;
|
|
1975
1975
|
}
|
|
1976
1976
|
function $sentEventCOROUTINE$0(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
1977
1977
|
CoroutineImpl.call(this, resultContinuation);
|
|
1978
|
-
this.
|
|
1979
|
-
this.
|
|
1978
|
+
this.odg_1 = _this__u8e3s4;
|
|
1979
|
+
this.pdg_1 = fromEvent;
|
|
1980
1980
|
}
|
|
1981
1981
|
protoOf($sentEventCOROUTINE$0).m9 = function () {
|
|
1982
1982
|
var suspendResult = this.g9_1;
|
|
@@ -1987,9 +1987,9 @@
|
|
|
1987
1987
|
case 0:
|
|
1988
1988
|
this.f9_1 = 2;
|
|
1989
1989
|
var tmp_0 = this;
|
|
1990
|
-
tmp_0.
|
|
1990
|
+
tmp_0.qdg_1 = this.odg_1.ndf_1;
|
|
1991
1991
|
l$ret$1: do {
|
|
1992
|
-
var this_0 = this.
|
|
1992
|
+
var this_0 = this.odg_1.mdf_1;
|
|
1993
1993
|
while (true) {
|
|
1994
1994
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1995
1995
|
var upd = cur + 1 | 0;
|
|
@@ -2000,7 +2000,7 @@
|
|
|
2000
2000
|
}
|
|
2001
2001
|
while (false);
|
|
2002
2002
|
this.e9_1 = 1;
|
|
2003
|
-
suspendResult = this.
|
|
2003
|
+
suspendResult = this.odg_1.odf_1.p18(this.pdg_1, this);
|
|
2004
2004
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2005
2005
|
return suspendResult;
|
|
2006
2006
|
}
|
|
@@ -2024,7 +2024,7 @@
|
|
|
2024
2024
|
};
|
|
2025
2025
|
function $waitForCOROUTINE$1(_this__u8e3s4, resultContinuation) {
|
|
2026
2026
|
CoroutineImpl.call(this, resultContinuation);
|
|
2027
|
-
this.
|
|
2027
|
+
this.zdg_1 = _this__u8e3s4;
|
|
2028
2028
|
}
|
|
2029
2029
|
protoOf($waitForCOROUTINE$1).m9 = function () {
|
|
2030
2030
|
var suspendResult = this.g9_1;
|
|
@@ -2035,12 +2035,12 @@
|
|
|
2035
2035
|
case 0:
|
|
2036
2036
|
this.f9_1 = 5;
|
|
2037
2037
|
var tmp_0 = this;
|
|
2038
|
-
tmp_0.
|
|
2039
|
-
this.
|
|
2038
|
+
tmp_0.adh_1 = this.zdg_1.ndf_1;
|
|
2039
|
+
this.bdh_1 = 0;
|
|
2040
2040
|
this.e9_1 = 1;
|
|
2041
2041
|
continue $sm;
|
|
2042
2042
|
case 1:
|
|
2043
|
-
if (!!(this.
|
|
2043
|
+
if (!!(this.zdg_1.mdf_1.kotlinx$atomicfu$value === 0)) {
|
|
2044
2044
|
this.e9_1 = 4;
|
|
2045
2045
|
continue $sm;
|
|
2046
2046
|
}
|
|
@@ -2053,9 +2053,9 @@
|
|
|
2053
2053
|
|
|
2054
2054
|
continue $sm;
|
|
2055
2055
|
case 2:
|
|
2056
|
-
this.
|
|
2057
|
-
if (this.
|
|
2058
|
-
this.
|
|
2056
|
+
this.bdh_1 = this.bdh_1 + 1 | 0;
|
|
2057
|
+
if (this.bdh_1 > 6) {
|
|
2058
|
+
this.zdg_1.kdf_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.zdg_1.mdf_1.kotlinx$atomicfu$value);
|
|
2059
2059
|
this.e9_1 = 4;
|
|
2060
2060
|
continue $sm;
|
|
2061
2061
|
} else {
|
|
@@ -2083,42 +2083,42 @@
|
|
|
2083
2083
|
while (true);
|
|
2084
2084
|
};
|
|
2085
2085
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
2086
|
-
this.
|
|
2087
|
-
this.
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2086
|
+
this.jdf_1 = serverReduxConfig;
|
|
2087
|
+
this.kdf_1 = logger;
|
|
2088
|
+
this.ldf_1 = idsProvider;
|
|
2089
|
+
this.mdf_1 = atomic$ref$1(0);
|
|
2090
2090
|
var tmp = this;
|
|
2091
2091
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
2092
|
-
tmp.
|
|
2093
|
-
this.
|
|
2092
|
+
tmp.ndf_1 = get_atomicfu$reentrantLock();
|
|
2093
|
+
this.odf_1 = MutableSharedFlow();
|
|
2094
2094
|
}
|
|
2095
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2095
|
+
protoOf(ToClientEventsObserverImpl).qde = function (fromEvent, $completion) {
|
|
2096
2096
|
var tmp = new $sentEventCOROUTINE$0(this, fromEvent, $completion);
|
|
2097
2097
|
tmp.g9_1 = Unit_instance;
|
|
2098
2098
|
tmp.h9_1 = null;
|
|
2099
2099
|
return tmp.m9();
|
|
2100
2100
|
};
|
|
2101
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2101
|
+
protoOf(ToClientEventsObserverImpl).p9k = function ($completion) {
|
|
2102
2102
|
var tmp = new $waitForCOROUTINE$1(this, $completion);
|
|
2103
2103
|
tmp.g9_1 = Unit_instance;
|
|
2104
2104
|
tmp.h9_1 = null;
|
|
2105
2105
|
return tmp.m9();
|
|
2106
2106
|
};
|
|
2107
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2108
|
-
if (!this.
|
|
2109
|
-
return this.
|
|
2107
|
+
protoOf(ToClientEventsObserverImpl).uba = function () {
|
|
2108
|
+
if (!this.jdf_1.enabledCombinedEvents) {
|
|
2109
|
+
return this.odf_1;
|
|
2110
2110
|
}
|
|
2111
|
-
var tmp = windowedByInterval(this.
|
|
2111
|
+
var tmp = windowedByInterval(this.odf_1, toLong(this.jdf_1.combinedEventsPeriod));
|
|
2112
2112
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this, null));
|
|
2113
2113
|
};
|
|
2114
2114
|
function UpdateServerConfigAction(serverConfig) {
|
|
2115
|
-
this.
|
|
2115
|
+
this.cdh_1 = serverConfig;
|
|
2116
2116
|
}
|
|
2117
2117
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
2118
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
2118
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.cdh_1.toString() + ')';
|
|
2119
2119
|
};
|
|
2120
2120
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
2121
|
-
return this.
|
|
2121
|
+
return this.cdh_1.hashCode();
|
|
2122
2122
|
};
|
|
2123
2123
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
2124
2124
|
if (this === other)
|
|
@@ -2126,18 +2126,18 @@
|
|
|
2126
2126
|
if (!(other instanceof UpdateServerConfigAction))
|
|
2127
2127
|
return false;
|
|
2128
2128
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
2129
|
-
if (!this.
|
|
2129
|
+
if (!this.cdh_1.equals(tmp0_other_with_cast.cdh_1))
|
|
2130
2130
|
return false;
|
|
2131
2131
|
return true;
|
|
2132
2132
|
};
|
|
2133
2133
|
function AddSpectatorsAction(spectators) {
|
|
2134
|
-
this.
|
|
2134
|
+
this.ddh_1 = spectators;
|
|
2135
2135
|
}
|
|
2136
2136
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
2137
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
2137
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ddh_1) + ')';
|
|
2138
2138
|
};
|
|
2139
2139
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
2140
|
-
return hashCode(this.
|
|
2140
|
+
return hashCode(this.ddh_1);
|
|
2141
2141
|
};
|
|
2142
2142
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
2143
2143
|
if (this === other)
|
|
@@ -2145,18 +2145,18 @@
|
|
|
2145
2145
|
if (!(other instanceof AddSpectatorsAction))
|
|
2146
2146
|
return false;
|
|
2147
2147
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
2148
|
-
if (!equals(this.
|
|
2148
|
+
if (!equals(this.ddh_1, tmp0_other_with_cast.ddh_1))
|
|
2149
2149
|
return false;
|
|
2150
2150
|
return true;
|
|
2151
2151
|
};
|
|
2152
2152
|
function RemoveSpectatorsAction(spectators) {
|
|
2153
|
-
this.
|
|
2153
|
+
this.edh_1 = spectators;
|
|
2154
2154
|
}
|
|
2155
2155
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
2156
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
2156
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.edh_1) + ')';
|
|
2157
2157
|
};
|
|
2158
2158
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
2159
|
-
return hashCode(this.
|
|
2159
|
+
return hashCode(this.edh_1);
|
|
2160
2160
|
};
|
|
2161
2161
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
2162
2162
|
if (this === other)
|
|
@@ -2164,7 +2164,7 @@
|
|
|
2164
2164
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
2165
2165
|
return false;
|
|
2166
2166
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
2167
|
-
if (!equals(this.
|
|
2167
|
+
if (!equals(this.edh_1, tmp0_other_with_cast.edh_1))
|
|
2168
2168
|
return false;
|
|
2169
2169
|
return true;
|
|
2170
2170
|
};
|
|
@@ -2172,66 +2172,66 @@
|
|
|
2172
2172
|
}
|
|
2173
2173
|
function _get_asyncProvider__jbpyhw($this) {
|
|
2174
2174
|
// Inline function 'kotlin.getValue' call
|
|
2175
|
-
var this_0 = $this.
|
|
2175
|
+
var this_0 = $this.kdh_1;
|
|
2176
2176
|
asyncProvider$factory_0();
|
|
2177
2177
|
return this_0.u();
|
|
2178
2178
|
}
|
|
2179
2179
|
function _get_logger__rkp4sl_0($this) {
|
|
2180
2180
|
// Inline function 'kotlin.getValue' call
|
|
2181
|
-
var this_0 = $this.
|
|
2181
|
+
var this_0 = $this.ldh_1;
|
|
2182
2182
|
logger$factory_2();
|
|
2183
2183
|
return this_0.u();
|
|
2184
2184
|
}
|
|
2185
2185
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
2186
2186
|
// Inline function 'kotlin.getValue' call
|
|
2187
|
-
var this_0 = $this.
|
|
2187
|
+
var this_0 = $this.mdh_1;
|
|
2188
2188
|
playerConnectionInteractor$factory_2();
|
|
2189
2189
|
return this_0.u();
|
|
2190
2190
|
}
|
|
2191
2191
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
2192
2192
|
// Inline function 'kotlin.getValue' call
|
|
2193
|
-
var this_0 = $this.
|
|
2193
|
+
var this_0 = $this.ndh_1;
|
|
2194
2194
|
lastCardInteractor$factory_0();
|
|
2195
2195
|
return this_0.u();
|
|
2196
2196
|
}
|
|
2197
2197
|
function _get_serverConfig__rk2g06($this) {
|
|
2198
2198
|
// Inline function 'kotlin.getValue' call
|
|
2199
|
-
var this_0 = $this.
|
|
2199
|
+
var this_0 = $this.odh_1;
|
|
2200
2200
|
serverConfig$factory_0();
|
|
2201
2201
|
return this_0.u();
|
|
2202
2202
|
}
|
|
2203
2203
|
function _get_logicConfig__52ww9d($this) {
|
|
2204
2204
|
// Inline function 'kotlin.getValue' call
|
|
2205
|
-
var this_0 = $this.
|
|
2205
|
+
var this_0 = $this.pdh_1;
|
|
2206
2206
|
logicConfig$factory_0();
|
|
2207
2207
|
return this_0.u();
|
|
2208
2208
|
}
|
|
2209
2209
|
function _get_idsProvider__fnfajc($this) {
|
|
2210
2210
|
// Inline function 'kotlin.getValue' call
|
|
2211
|
-
var this_0 = $this.
|
|
2211
|
+
var this_0 = $this.qdh_1;
|
|
2212
2212
|
idsProvider$factory_0();
|
|
2213
2213
|
return this_0.u();
|
|
2214
2214
|
}
|
|
2215
2215
|
function _get_botConfig__cpaxzc($this) {
|
|
2216
2216
|
// Inline function 'kotlin.getValue' call
|
|
2217
|
-
var this_0 = $this.
|
|
2217
|
+
var this_0 = $this.rdh_1;
|
|
2218
2218
|
botConfig$factory_0();
|
|
2219
2219
|
return this_0.u();
|
|
2220
2220
|
}
|
|
2221
2221
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
2222
2222
|
// Inline function 'kotlin.getValue' call
|
|
2223
|
-
var this_0 = $this.
|
|
2223
|
+
var this_0 = $this.sdh_1;
|
|
2224
2224
|
scenePositionProvider$factory_0();
|
|
2225
2225
|
return this_0.u();
|
|
2226
2226
|
}
|
|
2227
2227
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
2228
2228
|
// Inline function 'kotlin.getValue' call
|
|
2229
|
-
var this_0 = $this.
|
|
2229
|
+
var this_0 = $this.tdh_1;
|
|
2230
2230
|
toClientEventsObserver$factory_2();
|
|
2231
2231
|
return this_0.u();
|
|
2232
2232
|
}
|
|
2233
2233
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
2234
|
-
return !player.
|
|
2234
|
+
return !player.g6g();
|
|
2235
2235
|
}
|
|
2236
2236
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
2237
2237
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -2239,77 +2239,77 @@
|
|
|
2239
2239
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
2240
2240
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
2241
2241
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
2242
|
-
this.
|
|
2243
|
-
this.
|
|
2244
|
-
this.
|
|
2245
|
-
this.
|
|
2246
|
-
this.
|
|
2242
|
+
this.fdh_1 = validationStoreContract;
|
|
2243
|
+
this.gdh_1 = timersStoreContract;
|
|
2244
|
+
this.hdh_1 = botGameStoreContract;
|
|
2245
|
+
this.idh_1 = gameMechanicStoreContract;
|
|
2246
|
+
this.jdh_1 = fileLoggerStoreContract;
|
|
2247
2247
|
var tmp = this;
|
|
2248
2248
|
// Inline function 'org.kodein.di.instance' call
|
|
2249
2249
|
// Inline function 'org.kodein.type.generic' call
|
|
2250
2250
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
2251
2251
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2252
|
-
tmp.
|
|
2252
|
+
tmp.kdh_1 = Instance(di, tmp$ret$0, null).m67(this, asyncProvider$factory());
|
|
2253
2253
|
var tmp_1 = this;
|
|
2254
2254
|
// Inline function 'org.kodein.di.instance' call
|
|
2255
2255
|
// Inline function 'org.kodein.type.generic' call
|
|
2256
2256
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2257
2257
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2258
|
-
tmp_1.
|
|
2258
|
+
tmp_1.ldh_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory_1());
|
|
2259
2259
|
var tmp_3 = this;
|
|
2260
2260
|
// Inline function 'org.kodein.di.instance' call
|
|
2261
2261
|
// Inline function 'org.kodein.type.generic' call
|
|
2262
2262
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2263
2263
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2264
|
-
tmp_3.
|
|
2264
|
+
tmp_3.mdh_1 = Instance(di, tmp$ret$4, null).m67(this, playerConnectionInteractor$factory_1());
|
|
2265
2265
|
var tmp_5 = this;
|
|
2266
2266
|
// Inline function 'org.kodein.di.instance' call
|
|
2267
2267
|
// Inline function 'org.kodein.type.generic' call
|
|
2268
2268
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
2269
2269
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2270
|
-
tmp_5.
|
|
2270
|
+
tmp_5.ndh_1 = Instance(di, tmp$ret$6, null).m67(this, lastCardInteractor$factory());
|
|
2271
2271
|
var tmp_7 = this;
|
|
2272
2272
|
// Inline function 'org.kodein.di.instance' call
|
|
2273
2273
|
// Inline function 'org.kodein.type.generic' call
|
|
2274
2274
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2275
2275
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2276
|
-
tmp_7.
|
|
2276
|
+
tmp_7.odh_1 = Instance(di, tmp$ret$8, null).m67(this, serverConfig$factory());
|
|
2277
2277
|
var tmp_9 = this;
|
|
2278
2278
|
// Inline function 'org.kodein.di.instance' call
|
|
2279
2279
|
// Inline function 'org.kodein.type.generic' call
|
|
2280
2280
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2281
2281
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2282
|
-
tmp_9.
|
|
2282
|
+
tmp_9.pdh_1 = Instance(di, tmp$ret$10, null).m67(this, logicConfig$factory());
|
|
2283
2283
|
var tmp_11 = this;
|
|
2284
2284
|
// Inline function 'org.kodein.di.instance' call
|
|
2285
2285
|
// Inline function 'org.kodein.type.generic' call
|
|
2286
2286
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2287
2287
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2288
|
-
tmp_11.
|
|
2288
|
+
tmp_11.qdh_1 = Instance(di, tmp$ret$12, null).m67(this, idsProvider$factory());
|
|
2289
2289
|
var tmp_13 = this;
|
|
2290
2290
|
// Inline function 'org.kodein.di.instance' call
|
|
2291
2291
|
// Inline function 'org.kodein.type.generic' call
|
|
2292
2292
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
2293
2293
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2294
|
-
tmp_13.
|
|
2294
|
+
tmp_13.rdh_1 = Instance(di, tmp$ret$14, null).m67(this, botConfig$factory());
|
|
2295
2295
|
var tmp_15 = this;
|
|
2296
2296
|
// Inline function 'org.kodein.di.instance' call
|
|
2297
2297
|
// Inline function 'org.kodein.type.generic' call
|
|
2298
2298
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
2299
2299
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2300
|
-
tmp_15.
|
|
2300
|
+
tmp_15.sdh_1 = Instance(di, tmp$ret$16, null).m67(this, scenePositionProvider$factory());
|
|
2301
2301
|
var tmp_17 = this;
|
|
2302
2302
|
// Inline function 'org.kodein.di.instance' call
|
|
2303
2303
|
// Inline function 'org.kodein.type.generic' call
|
|
2304
2304
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2305
2305
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2306
|
-
tmp_17.
|
|
2306
|
+
tmp_17.tdh_1 = Instance(di, tmp$ret$18, null).m67(this, toClientEventsObserver$factory_1());
|
|
2307
2307
|
}
|
|
2308
|
-
protoOf(ServerGameStoreContract).
|
|
2309
|
-
return plus(plus(plus(plus(plus(this.
|
|
2308
|
+
protoOf(ServerGameStoreContract).h9d = function () {
|
|
2309
|
+
return plus(plus(plus(plus(plus(this.fdh_1.h9d(), this.gdh_1.h9d()), this.hdh_1.h9d()), this.idh_1.h9d()), this.jdh_1.h9d()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
2310
2310
|
};
|
|
2311
|
-
protoOf(ServerGameStoreContract).
|
|
2312
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
2311
|
+
protoOf(ServerGameStoreContract).i9d = function () {
|
|
2312
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.fdh_1.i9d(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.gdh_1.i9d()), this.hdh_1.i9d()), this.idh_1.i9d()), this.jdh_1.i9d()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([serverSendEventsToClientsMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc(this))).a9f(), finishingGameWhenCantStartNewMiddleware()]));
|
|
2313
2313
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
2314
2314
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
2315
2315
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -2439,7 +2439,7 @@
|
|
|
2439
2439
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
2440
2440
|
next(action_0);
|
|
2441
2441
|
var state = store.state;
|
|
2442
|
-
if (!get_serverState(state).
|
|
2442
|
+
if (!get_serverState(state).wdd_1.xdd_1 && action_0.isGameFinished) {
|
|
2443
2443
|
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.d6w_1));
|
|
2444
2444
|
}
|
|
2445
2445
|
};
|
|
@@ -2452,7 +2452,7 @@
|
|
|
2452
2452
|
};
|
|
2453
2453
|
}
|
|
2454
2454
|
function _no_name_provided__qut3iv_0(this$0) {
|
|
2455
|
-
this.
|
|
2455
|
+
this.wdh_1 = this$0;
|
|
2456
2456
|
}
|
|
2457
2457
|
protoOf(_no_name_provided__qut3iv_0).c6o = function (action) {
|
|
2458
2458
|
return action instanceof MechanicAction;
|
|
@@ -2467,11 +2467,11 @@
|
|
|
2467
2467
|
var tmp;
|
|
2468
2468
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
2469
2469
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2470
|
-
var this_0 = this.
|
|
2471
|
-
var tableId = action_0.
|
|
2472
|
-
var gameCreatorPlayerId = action_0.
|
|
2470
|
+
var this_0 = this.wdh_1;
|
|
2471
|
+
var tableId = action_0.b88_1;
|
|
2472
|
+
var gameCreatorPlayerId = action_0.d88_1;
|
|
2473
2473
|
// Inline function 'kotlin.collections.map' call
|
|
2474
|
-
var this_1 = action_0.
|
|
2474
|
+
var this_1 = action_0.e88_1;
|
|
2475
2475
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2476
2476
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
2477
2477
|
var tmp0_iterator = this_1.j();
|
|
@@ -2512,7 +2512,7 @@
|
|
|
2512
2512
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2513
2513
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2514
2514
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2515
|
-
var tmp0_aid = this_0.
|
|
2515
|
+
var tmp0_aid = this_0.vdh_1.b6m();
|
|
2516
2516
|
// Inline function 'kotlin.collections.map' call
|
|
2517
2517
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2518
2518
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
@@ -2537,17 +2537,17 @@
|
|
|
2537
2537
|
} else {
|
|
2538
2538
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
2539
2539
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2540
|
-
var this_2 = this.
|
|
2540
|
+
var this_2 = this.wdh_1;
|
|
2541
2541
|
var table = state.f6x();
|
|
2542
2542
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2543
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
2543
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.vdh_1.b6m(), table.id, null);
|
|
2544
2544
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
2545
2545
|
tmp = listOfNotNull(tmp$ret$18);
|
|
2546
2546
|
} else {
|
|
2547
2547
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
2548
2548
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2549
|
-
var this_3 = this.
|
|
2550
|
-
var tableId_0 = action_0.
|
|
2549
|
+
var this_3 = this.wdh_1;
|
|
2550
|
+
var tableId_0 = action_0.h88_1.id;
|
|
2551
2551
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
2552
2552
|
var players = getPlayers();
|
|
2553
2553
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -2581,7 +2581,7 @@
|
|
|
2581
2581
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2582
2582
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2583
2583
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2584
|
-
var tmp0_aid_0 = this_3.
|
|
2584
|
+
var tmp0_aid_0 = this_3.vdh_1.b6m();
|
|
2585
2585
|
// Inline function 'kotlin.collections.map' call
|
|
2586
2586
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2587
2587
|
var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
|
|
@@ -2606,43 +2606,43 @@
|
|
|
2606
2606
|
} else {
|
|
2607
2607
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
2608
2608
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2609
|
-
var this_4 = this.
|
|
2609
|
+
var this_4 = this.wdh_1;
|
|
2610
2610
|
var table_0 = state.f6x();
|
|
2611
2611
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2612
|
-
var sendToPlayer_2 = new RoomActionPayload(this_4.
|
|
2612
|
+
var sendToPlayer_2 = new RoomActionPayload(this_4.vdh_1.b6m(), table_0.id, null);
|
|
2613
2613
|
var tmp$ret$35 = mapToClient_14(action_0, sendToPlayer_2);
|
|
2614
2614
|
tmp = listOfNotNull(tmp$ret$35);
|
|
2615
2615
|
} else {
|
|
2616
2616
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
2617
2617
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2618
|
-
var this_5 = this.
|
|
2618
|
+
var this_5 = this.wdh_1;
|
|
2619
2619
|
var table_1 = state.f6x();
|
|
2620
2620
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2621
|
-
var sendToPlayer_3 = new RoomActionPayload(this_5.
|
|
2621
|
+
var sendToPlayer_3 = new RoomActionPayload(this_5.vdh_1.b6m(), table_1.id, null);
|
|
2622
2622
|
var tmp$ret$37 = mapToClient_13(action_0, sendToPlayer_3);
|
|
2623
2623
|
tmp = listOfNotNull(tmp$ret$37);
|
|
2624
2624
|
} else {
|
|
2625
2625
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
2626
2626
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2627
|
-
var this_6 = this.
|
|
2627
|
+
var this_6 = this.wdh_1;
|
|
2628
2628
|
var table_2 = state.f6x();
|
|
2629
2629
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2630
|
-
var sendToPlayer_4 = new RoomActionPayload(this_6.
|
|
2630
|
+
var sendToPlayer_4 = new RoomActionPayload(this_6.vdh_1.b6m(), table_2.id, null);
|
|
2631
2631
|
var tmp$ret$39 = mapToClient_12(action_0, sendToPlayer_4);
|
|
2632
2632
|
tmp = listOfNotNull(tmp$ret$39);
|
|
2633
2633
|
} else {
|
|
2634
2634
|
if (action_0 instanceof ErrorAction) {
|
|
2635
2635
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2636
|
-
var this_7 = this.
|
|
2636
|
+
var this_7 = this.wdh_1;
|
|
2637
2637
|
var table_3 = state.f6x();
|
|
2638
2638
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2639
|
-
var sendToPlayer_5 = new RoomActionPayload(this_7.
|
|
2639
|
+
var sendToPlayer_5 = new RoomActionPayload(this_7.vdh_1.b6m(), table_3.id, null);
|
|
2640
2640
|
var tmp$ret$41 = mapToClient_11(action_0, sendToPlayer_5);
|
|
2641
2641
|
tmp = listOfNotNull(tmp$ret$41);
|
|
2642
2642
|
} else {
|
|
2643
2643
|
if (action_0 instanceof SceneMechanicAction) {
|
|
2644
2644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2645
|
-
var this_8 = this.
|
|
2645
|
+
var this_8 = this.wdh_1;
|
|
2646
2646
|
var table_4 = state.f6x();
|
|
2647
2647
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2648
2648
|
var tableId_1 = table_4.id;
|
|
@@ -2679,7 +2679,7 @@
|
|
|
2679
2679
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2680
2680
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2681
2681
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2682
|
-
var tmp0_aid_1 = this_8.
|
|
2682
|
+
var tmp0_aid_1 = this_8.vdh_1.b6m();
|
|
2683
2683
|
// Inline function 'kotlin.collections.map' call
|
|
2684
2684
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2685
2685
|
var destination_11 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_0, 10));
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
} else {
|
|
2705
2705
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
2706
2706
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2707
|
-
var this_9 = this.
|
|
2707
|
+
var this_9 = this.wdh_1;
|
|
2708
2708
|
var table_5 = state.f6x();
|
|
2709
2709
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2710
2710
|
var tableId_2 = table_5.id;
|
|
@@ -2741,7 +2741,7 @@
|
|
|
2741
2741
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2742
2742
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2743
2743
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2744
|
-
var tmp0_aid_2 = this_9.
|
|
2744
|
+
var tmp0_aid_2 = this_9.vdh_1.b6m();
|
|
2745
2745
|
// Inline function 'kotlin.collections.map' call
|
|
2746
2746
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2747
2747
|
var destination_15 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_1, 10));
|
|
@@ -2766,7 +2766,7 @@
|
|
|
2766
2766
|
} else {
|
|
2767
2767
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
2768
2768
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2769
|
-
var this_10 = this.
|
|
2769
|
+
var this_10 = this.wdh_1;
|
|
2770
2770
|
var table_6 = state.f6x();
|
|
2771
2771
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2772
2772
|
var tableId_3 = table_6.id;
|
|
@@ -2803,7 +2803,7 @@
|
|
|
2803
2803
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2804
2804
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2805
2805
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2806
|
-
var tmp0_aid_3 = this_10.
|
|
2806
|
+
var tmp0_aid_3 = this_10.vdh_1.b6m();
|
|
2807
2807
|
// Inline function 'kotlin.collections.map' call
|
|
2808
2808
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2809
2809
|
var destination_19 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_2, 10));
|
|
@@ -2816,7 +2816,7 @@
|
|
|
2816
2816
|
}
|
|
2817
2817
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_19);
|
|
2818
2818
|
var tmp_0;
|
|
2819
|
-
if (this.
|
|
2819
|
+
if (this.wdh_1.udh_1.supportBackwardActions && getPlayer(state.f6x().players, sendToPlayer_8.w7k_1).c74_1.h74_1) {
|
|
2820
2820
|
tmp_0 = null;
|
|
2821
2821
|
} else {
|
|
2822
2822
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -2834,79 +2834,79 @@
|
|
|
2834
2834
|
} else {
|
|
2835
2835
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
2836
2836
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2837
|
-
var this_11 = this.
|
|
2837
|
+
var this_11 = this.wdh_1;
|
|
2838
2838
|
var table_7 = state.f6x();
|
|
2839
|
-
var exceptPlayerId = this.
|
|
2839
|
+
var exceptPlayerId = this.wdh_1.udh_1.supportBackwardActions ? action_0.g89_1 : null;
|
|
2840
2840
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2841
|
-
var sendToPlayer_9 = new RoomActionPayload(this_11.
|
|
2841
|
+
var sendToPlayer_9 = new RoomActionPayload(this_11.vdh_1.b6m(), table_7.id, exceptPlayerId);
|
|
2842
2842
|
var tmp$ret$91 = mapToClient_7(action_0, sendToPlayer_9);
|
|
2843
2843
|
tmp = listOfNotNull(tmp$ret$91);
|
|
2844
2844
|
} else {
|
|
2845
2845
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
2846
2846
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2847
|
-
var this_12 = this.
|
|
2847
|
+
var this_12 = this.wdh_1;
|
|
2848
2848
|
var table_8 = state.f6x();
|
|
2849
|
-
var exceptPlayerId_0 = this.
|
|
2849
|
+
var exceptPlayerId_0 = this.wdh_1.udh_1.supportBackwardActions ? action_0.k89_1 : null;
|
|
2850
2850
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2851
|
-
var sendToPlayer_10 = new RoomActionPayload(this_12.
|
|
2851
|
+
var sendToPlayer_10 = new RoomActionPayload(this_12.vdh_1.b6m(), table_8.id, exceptPlayerId_0);
|
|
2852
2852
|
var tmp$ret$93 = mapToClient_6(action_0, sendToPlayer_10);
|
|
2853
2853
|
tmp = listOfNotNull(tmp$ret$93);
|
|
2854
2854
|
} else {
|
|
2855
2855
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
2856
2856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2857
|
-
var this_13 = this.
|
|
2857
|
+
var this_13 = this.wdh_1;
|
|
2858
2858
|
var table_9 = state.f6x();
|
|
2859
2859
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2860
|
-
var sendToPlayer_11 = new RoomActionPayload(this_13.
|
|
2860
|
+
var sendToPlayer_11 = new RoomActionPayload(this_13.vdh_1.b6m(), table_9.id, null);
|
|
2861
2861
|
var tmp$ret$95 = mapToClient_5(action_0, sendToPlayer_11);
|
|
2862
2862
|
tmp = listOfNotNull(tmp$ret$95);
|
|
2863
2863
|
} else {
|
|
2864
2864
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
2865
2865
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2866
|
-
var this_14 = this.
|
|
2866
|
+
var this_14 = this.wdh_1;
|
|
2867
2867
|
var table_10 = state.f6x();
|
|
2868
|
-
var exceptPlayerId_1 = this.
|
|
2868
|
+
var exceptPlayerId_1 = this.wdh_1.udh_1.supportBackwardActions ? action_0.r89_1 : null;
|
|
2869
2869
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2870
|
-
var sendToPlayer_12 = new RoomActionPayload(this_14.
|
|
2870
|
+
var sendToPlayer_12 = new RoomActionPayload(this_14.vdh_1.b6m(), table_10.id, exceptPlayerId_1);
|
|
2871
2871
|
var tmp$ret$97 = mapToClient_4(action_0, sendToPlayer_12);
|
|
2872
2872
|
tmp = listOfNotNull(tmp$ret$97);
|
|
2873
2873
|
} else {
|
|
2874
2874
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
2875
2875
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2876
|
-
var this_15 = this.
|
|
2876
|
+
var this_15 = this.wdh_1;
|
|
2877
2877
|
var table_11 = state.f6x();
|
|
2878
|
-
var exceptPlayerId_2 = this.
|
|
2878
|
+
var exceptPlayerId_2 = this.wdh_1.udh_1.supportBackwardActions ? action_0.v89_1 : null;
|
|
2879
2879
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2880
|
-
var sendToPlayer_13 = new RoomActionPayload(this_15.
|
|
2880
|
+
var sendToPlayer_13 = new RoomActionPayload(this_15.vdh_1.b6m(), table_11.id, exceptPlayerId_2);
|
|
2881
2881
|
var tmp$ret$99 = mapToClient_3(action_0, sendToPlayer_13);
|
|
2882
2882
|
tmp = listOfNotNull(tmp$ret$99);
|
|
2883
2883
|
} else {
|
|
2884
2884
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
2885
2885
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2886
|
-
var this_16 = this.
|
|
2886
|
+
var this_16 = this.wdh_1;
|
|
2887
2887
|
var table_12 = state.f6x();
|
|
2888
2888
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2889
|
-
var sendToPlayer_14 = new RoomActionPayload(this_16.
|
|
2889
|
+
var sendToPlayer_14 = new RoomActionPayload(this_16.vdh_1.b6m(), table_12.id, null);
|
|
2890
2890
|
var tmp$ret$101 = mapToClient_2(action_0, sendToPlayer_14);
|
|
2891
2891
|
tmp = listOfNotNull(tmp$ret$101);
|
|
2892
2892
|
} else {
|
|
2893
2893
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
2894
2894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2895
|
-
var this_17 = this.
|
|
2895
|
+
var this_17 = this.wdh_1;
|
|
2896
2896
|
var table_13 = state.f6x();
|
|
2897
2897
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2898
|
-
var sendToPlayer_15 = new RoomActionPayload(this_17.
|
|
2898
|
+
var sendToPlayer_15 = new RoomActionPayload(this_17.vdh_1.b6m(), table_13.id, null);
|
|
2899
2899
|
var tmp$ret$103 = mapToClient_1(action_0, sendToPlayer_15);
|
|
2900
2900
|
tmp = listOfNotNull(tmp$ret$103);
|
|
2901
2901
|
} else {
|
|
2902
2902
|
if (action_0 instanceof MessageMechanicAction) {
|
|
2903
|
-
var message = action_0.
|
|
2903
|
+
var message = action_0.d8a_1;
|
|
2904
2904
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2905
|
-
var this_18 = this.
|
|
2905
|
+
var this_18 = this.wdh_1;
|
|
2906
2906
|
var table_14 = state.f6x();
|
|
2907
2907
|
var tmp_1;
|
|
2908
2908
|
var tmp_2;
|
|
2909
|
-
if (this.
|
|
2909
|
+
if (this.wdh_1.udh_1.supportBackwardActions) {
|
|
2910
2910
|
tmp_2 = isInterface(message, UserMessage);
|
|
2911
2911
|
} else {
|
|
2912
2912
|
tmp_2 = false;
|
|
@@ -2918,17 +2918,17 @@
|
|
|
2918
2918
|
}
|
|
2919
2919
|
var exceptPlayerId_3 = tmp_1;
|
|
2920
2920
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2921
|
-
var sendToPlayer_16 = new RoomActionPayload(this_18.
|
|
2921
|
+
var sendToPlayer_16 = new RoomActionPayload(this_18.vdh_1.b6m(), table_14.id, exceptPlayerId_3);
|
|
2922
2922
|
var tmp$ret$105 = mapToClient_0(action_0, sendToPlayer_16);
|
|
2923
2923
|
tmp = listOfNotNull(tmp$ret$105);
|
|
2924
2924
|
} else {
|
|
2925
2925
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
2926
2926
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2927
|
-
var this_19 = this.
|
|
2927
|
+
var this_19 = this.wdh_1;
|
|
2928
2928
|
var table_15 = state.f6x();
|
|
2929
2929
|
var exceptPlayerId_4 = action_0.playerId;
|
|
2930
2930
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2931
|
-
var sendToPlayer_17 = new RoomActionPayload(this_19.
|
|
2931
|
+
var sendToPlayer_17 = new RoomActionPayload(this_19.vdh_1.b6m(), table_15.id, exceptPlayerId_4);
|
|
2932
2932
|
var tmp$ret$107 = mapToClient(action_0, sendToPlayer_17);
|
|
2933
2933
|
tmp = listOfNotNull(tmp$ret$107);
|
|
2934
2934
|
} else {
|
|
@@ -2966,10 +2966,10 @@
|
|
|
2966
2966
|
return this.t6p(store, next, action);
|
|
2967
2967
|
};
|
|
2968
2968
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
2969
|
-
this.
|
|
2970
|
-
this.
|
|
2969
|
+
this.udh_1 = logicConfig;
|
|
2970
|
+
this.vdh_1 = idsProvider;
|
|
2971
2971
|
}
|
|
2972
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
2972
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).a9f = function () {
|
|
2973
2973
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
2974
2974
|
return new _no_name_provided__qut3iv_0(this);
|
|
2975
2975
|
};
|
|
@@ -2978,8 +2978,8 @@
|
|
|
2978
2978
|
return new _no_name_provided__qut3iv_1(asyncProvider, provider);
|
|
2979
2979
|
}
|
|
2980
2980
|
function serverSendEventsToClientsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
2981
|
-
this.
|
|
2982
|
-
this.
|
|
2981
|
+
this.fdi_1 = $provider;
|
|
2982
|
+
this.gdi_1 = $action;
|
|
2983
2983
|
CoroutineImpl.call(this, resultContinuation);
|
|
2984
2984
|
}
|
|
2985
2985
|
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -3000,7 +3000,7 @@
|
|
|
3000
3000
|
case 0:
|
|
3001
3001
|
this.f9_1 = 2;
|
|
3002
3002
|
this.e9_1 = 1;
|
|
3003
|
-
suspendResult = this.
|
|
3003
|
+
suspendResult = this.fdi_1.qde(this.gdi_1, this);
|
|
3004
3004
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3005
3005
|
return suspendResult;
|
|
3006
3006
|
}
|
|
@@ -3023,8 +3023,8 @@
|
|
|
3023
3023
|
while (true);
|
|
3024
3024
|
};
|
|
3025
3025
|
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).f1f = function ($this$launchDefault, completion) {
|
|
3026
|
-
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.
|
|
3027
|
-
i.
|
|
3026
|
+
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.fdi_1, this.gdi_1, completion);
|
|
3027
|
+
i.hdi_1 = $this$launchDefault;
|
|
3028
3028
|
return i;
|
|
3029
3029
|
};
|
|
3030
3030
|
function serverSendEventsToClientsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -3036,8 +3036,8 @@
|
|
|
3036
3036
|
return l;
|
|
3037
3037
|
}
|
|
3038
3038
|
function _no_name_provided__qut3iv_1($asyncProvider, $provider) {
|
|
3039
|
-
this.
|
|
3040
|
-
this.
|
|
3039
|
+
this.idi_1 = $asyncProvider;
|
|
3040
|
+
this.jdi_1 = $provider;
|
|
3041
3041
|
}
|
|
3042
3042
|
protoOf(_no_name_provided__qut3iv_1).c6o = function (action) {
|
|
3043
3043
|
return action instanceof ToClientAction;
|
|
@@ -3045,7 +3045,7 @@
|
|
|
3045
3045
|
protoOf(_no_name_provided__qut3iv_1).t6p = function (store, next, action) {
|
|
3046
3046
|
// Inline function 'games.jass.logic.server.redux.middlewares.client.serverSendEventsToClientsMiddleware.<anonymous>' call
|
|
3047
3047
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
3048
|
-
this.
|
|
3048
|
+
this.idi_1.y6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.jdi_1, action_0, null));
|
|
3049
3049
|
next(action_0);
|
|
3050
3050
|
};
|
|
3051
3051
|
protoOf(_no_name_provided__qut3iv_1).b6o = function (store, next, action) {
|
|
@@ -3060,13 +3060,13 @@
|
|
|
3060
3060
|
protoOf(_no_name_provided__qut3iv_2).c6o = function (action) {
|
|
3061
3061
|
return action instanceof UpdateServerConfigAction;
|
|
3062
3062
|
};
|
|
3063
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3063
|
+
protoOf(_no_name_provided__qut3iv_2).h9m = function (state, action) {
|
|
3064
3064
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
3065
3065
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
3066
|
-
return state.
|
|
3066
|
+
return state.m9a(VOID, get_serverState(state).kdi(action_0.cdh_1));
|
|
3067
3067
|
};
|
|
3068
3068
|
protoOf(_no_name_provided__qut3iv_2).u6p = function (state, action) {
|
|
3069
|
-
return this.
|
|
3069
|
+
return this.h9m((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3070
3070
|
};
|
|
3071
3071
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
3072
3072
|
return function (it) {
|
|
@@ -3079,7 +3079,7 @@
|
|
|
3079
3079
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
3080
3080
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
3081
3081
|
Companion_getInstance();
|
|
3082
|
-
var this_0 = $action.
|
|
3082
|
+
var this_0 = $action.a88_1.timeoutTimeMillis;
|
|
3083
3083
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
3084
3084
|
tmp_0 = tmp_1.o6f(tmp_2, tmp$ret$0);
|
|
3085
3085
|
}
|
|
@@ -3088,47 +3088,47 @@
|
|
|
3088
3088
|
}
|
|
3089
3089
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
3090
3090
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
3091
|
-
this.
|
|
3091
|
+
this.ndi_1 = logger;
|
|
3092
3092
|
}
|
|
3093
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3093
|
+
protoOf(ServerMechanicLifecycleReducer).t9n = function (state, action) {
|
|
3094
3094
|
var serverState = get_serverStateOrNull(state.e6w_1);
|
|
3095
3095
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3096
|
-
var tmp0_$this = this.
|
|
3097
|
-
var tmp1_tableId = action.
|
|
3098
|
-
var tmp2_gameId = action.
|
|
3099
|
-
var tmp3_version = action.
|
|
3100
|
-
var tmp4_config = action.
|
|
3101
|
-
var tmp5_users = action.
|
|
3096
|
+
var tmp0_$this = this.u9n_1;
|
|
3097
|
+
var tmp1_tableId = action.b88_1;
|
|
3098
|
+
var tmp2_gameId = action.b88_1;
|
|
3099
|
+
var tmp3_version = action.c88_1;
|
|
3100
|
+
var tmp4_config = action.a88_1;
|
|
3101
|
+
var tmp5_users = action.e88_1;
|
|
3102
3102
|
var tmp6_spectators = action.spectators;
|
|
3103
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
3104
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
3103
|
+
var tmp7_gameCreatorPlayerId = action.d88_1;
|
|
3104
|
+
var tmp9_tableOrNull = tmp0_$this.a9p(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
3105
3105
|
var tmp;
|
|
3106
3106
|
if (serverState == null) {
|
|
3107
|
-
this.
|
|
3108
|
-
tmp = Companion_instance_9.
|
|
3107
|
+
this.ndi_1.w(VOID, 'ServerPayload is not onStart');
|
|
3108
|
+
tmp = Companion_instance_9.mde();
|
|
3109
3109
|
} else {
|
|
3110
3110
|
tmp = serverState;
|
|
3111
3111
|
}
|
|
3112
3112
|
var tmp10_payload = tmp;
|
|
3113
|
-
return state.
|
|
3113
|
+
return state.m9a(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
3114
3114
|
};
|
|
3115
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3116
|
-
this.
|
|
3115
|
+
protoOf(ServerMechanicLifecycleReducer).s9n = function (state, action) {
|
|
3116
|
+
this.v9n_1.z5u(action.previousGameId);
|
|
3117
3117
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3118
|
-
var tmp1_tableOrNull = this.
|
|
3119
|
-
return state.
|
|
3118
|
+
var tmp1_tableOrNull = this.u9n_1.b9p(state.f6x(), action.gameId);
|
|
3119
|
+
return state.m9a(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
3120
3120
|
};
|
|
3121
3121
|
function spectatorsReducer(logger) {
|
|
3122
3122
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
3123
3123
|
return new _no_name_provided__qut3iv_3(logger);
|
|
3124
3124
|
}
|
|
3125
3125
|
function _no_name_provided__qut3iv_3($logger) {
|
|
3126
|
-
this.
|
|
3126
|
+
this.odi_1 = $logger;
|
|
3127
3127
|
}
|
|
3128
3128
|
protoOf(_no_name_provided__qut3iv_3).c6o = function (action) {
|
|
3129
3129
|
return isInterface(action, SpectatorsAction);
|
|
3130
3130
|
};
|
|
3131
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3131
|
+
protoOf(_no_name_provided__qut3iv_3).h9m = function (state, action) {
|
|
3132
3132
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
3133
3133
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
3134
3134
|
var table = state.f6x();
|
|
@@ -3136,7 +3136,7 @@
|
|
|
3136
3136
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
3137
3137
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3138
3138
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3139
|
-
var this_0 = action_0.
|
|
3139
|
+
var this_0 = action_0.ddh_1;
|
|
3140
3140
|
var destination = ArrayList_init_$Create$();
|
|
3141
3141
|
// Inline function 'kotlin.collections.forEach' call
|
|
3142
3142
|
var tmp0_iterator = this_0.j();
|
|
@@ -3158,10 +3158,10 @@
|
|
|
3158
3158
|
var tmp_0;
|
|
3159
3159
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3160
3160
|
if (!sameSpectators.p()) {
|
|
3161
|
-
this.
|
|
3161
|
+
this.odi_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
3162
3162
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3163
3163
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3164
|
-
var this_1 = action_0.
|
|
3164
|
+
var this_1 = action_0.ddh_1;
|
|
3165
3165
|
var destination_0 = ArrayList_init_$Create$();
|
|
3166
3166
|
var tmp0_iterator_0 = this_1.j();
|
|
3167
3167
|
while (tmp0_iterator_0.k()) {
|
|
@@ -3197,7 +3197,7 @@
|
|
|
3197
3197
|
}
|
|
3198
3198
|
tmp_0 = destination_0;
|
|
3199
3199
|
} else {
|
|
3200
|
-
tmp_0 = action_0.
|
|
3200
|
+
tmp_0 = action_0.ddh_1;
|
|
3201
3201
|
}
|
|
3202
3202
|
var this_2 = tmp_0;
|
|
3203
3203
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3210,12 +3210,12 @@
|
|
|
3210
3210
|
destination_1.e(tmp$ret$10);
|
|
3211
3211
|
}
|
|
3212
3212
|
var spectatorsToAdd = toSet(destination_1);
|
|
3213
|
-
tmp = state.
|
|
3213
|
+
tmp = state.m9a(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
3214
3214
|
} else {
|
|
3215
3215
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
3216
3216
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3217
3217
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3218
|
-
var this_3 = action_0.
|
|
3218
|
+
var this_3 = action_0.edh_1;
|
|
3219
3219
|
var destination_2 = ArrayList_init_$Create$();
|
|
3220
3220
|
// Inline function 'kotlin.collections.forEach' call
|
|
3221
3221
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -3236,10 +3236,10 @@
|
|
|
3236
3236
|
var tmp_2;
|
|
3237
3237
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3238
3238
|
if (!sameSpectators_0.p()) {
|
|
3239
|
-
this.
|
|
3239
|
+
this.odi_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
3240
3240
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3241
3241
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3242
|
-
var this_4 = action_0.
|
|
3242
|
+
var this_4 = action_0.edh_1;
|
|
3243
3243
|
var destination_3 = ArrayList_init_$Create$();
|
|
3244
3244
|
var tmp0_iterator_4 = this_4.j();
|
|
3245
3245
|
while (tmp0_iterator_4.k()) {
|
|
@@ -3275,7 +3275,7 @@
|
|
|
3275
3275
|
}
|
|
3276
3276
|
tmp_2 = destination_3;
|
|
3277
3277
|
} else {
|
|
3278
|
-
tmp_2 = action_0.
|
|
3278
|
+
tmp_2 = action_0.edh_1;
|
|
3279
3279
|
}
|
|
3280
3280
|
var spectatorsToRemove = toSet(tmp_2);
|
|
3281
3281
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -3314,7 +3314,7 @@
|
|
|
3314
3314
|
destination_4.e(element_5);
|
|
3315
3315
|
}
|
|
3316
3316
|
}
|
|
3317
|
-
tmp = state.
|
|
3317
|
+
tmp = state.m9a(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
3318
3318
|
} else {
|
|
3319
3319
|
noWhenBranchMatchedException();
|
|
3320
3320
|
}
|
|
@@ -3322,32 +3322,32 @@
|
|
|
3322
3322
|
return tmp;
|
|
3323
3323
|
};
|
|
3324
3324
|
protoOf(_no_name_provided__qut3iv_3).u6p = function (state, action) {
|
|
3325
|
-
return this.
|
|
3325
|
+
return this.h9m((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3326
3326
|
};
|
|
3327
3327
|
function Companion_1() {
|
|
3328
3328
|
}
|
|
3329
|
-
protoOf(Companion_1).
|
|
3329
|
+
protoOf(Companion_1).pdi = function (config) {
|
|
3330
3330
|
return new ServerState(config);
|
|
3331
3331
|
};
|
|
3332
|
-
protoOf(Companion_1).
|
|
3332
|
+
protoOf(Companion_1).mde = function (config, $super) {
|
|
3333
3333
|
config = config === VOID ? new ServerConfig(true) : config;
|
|
3334
|
-
return $super === VOID ? this.
|
|
3334
|
+
return $super === VOID ? this.pdi(config) : $super.pdi.call(this, config);
|
|
3335
3335
|
};
|
|
3336
3336
|
var Companion_instance_9;
|
|
3337
3337
|
function Companion_getInstance_2() {
|
|
3338
3338
|
return Companion_instance_9;
|
|
3339
3339
|
}
|
|
3340
3340
|
function ServerState(config) {
|
|
3341
|
-
this.
|
|
3341
|
+
this.wdd_1 = config;
|
|
3342
3342
|
}
|
|
3343
|
-
protoOf(ServerState).
|
|
3343
|
+
protoOf(ServerState).kdi = function (config) {
|
|
3344
3344
|
return new ServerState(config);
|
|
3345
3345
|
};
|
|
3346
3346
|
protoOf(ServerState).toString = function () {
|
|
3347
|
-
return 'ServerState(config=' + this.
|
|
3347
|
+
return 'ServerState(config=' + this.wdd_1.toString() + ')';
|
|
3348
3348
|
};
|
|
3349
3349
|
protoOf(ServerState).hashCode = function () {
|
|
3350
|
-
return this.
|
|
3350
|
+
return this.wdd_1.hashCode();
|
|
3351
3351
|
};
|
|
3352
3352
|
protoOf(ServerState).equals = function (other) {
|
|
3353
3353
|
if (this === other)
|
|
@@ -3355,7 +3355,7 @@
|
|
|
3355
3355
|
if (!(other instanceof ServerState))
|
|
3356
3356
|
return false;
|
|
3357
3357
|
var tmp0_other_with_cast = other instanceof ServerState ? other : THROW_CCE();
|
|
3358
|
-
if (!this.
|
|
3358
|
+
if (!this.wdd_1.equals(tmp0_other_with_cast.wdd_1))
|
|
3359
3359
|
return false;
|
|
3360
3360
|
return true;
|
|
3361
3361
|
};
|
|
@@ -3393,13 +3393,13 @@
|
|
|
3393
3393
|
}
|
|
3394
3394
|
function _get_controllerLogger__nbd727($this) {
|
|
3395
3395
|
// Inline function 'kotlin.getValue' call
|
|
3396
|
-
var this_0 = $this.
|
|
3396
|
+
var this_0 = $this.xdi_1;
|
|
3397
3397
|
controllerLogger$factory();
|
|
3398
3398
|
return this_0.u();
|
|
3399
3399
|
}
|
|
3400
3400
|
function _get_di__ndbzja($this) {
|
|
3401
3401
|
// Inline function 'kotlin.getValue' call
|
|
3402
|
-
var this_0 = $this.
|
|
3402
|
+
var this_0 = $this.ydi_1;
|
|
3403
3403
|
di$factory();
|
|
3404
3404
|
return this_0.u();
|
|
3405
3405
|
}
|
|
@@ -3410,13 +3410,13 @@
|
|
|
3410
3410
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
3411
3411
|
return function () {
|
|
3412
3412
|
var tmp;
|
|
3413
|
-
if (this$0.
|
|
3413
|
+
if (this$0.vdi_1 == null) {
|
|
3414
3414
|
tmp = null;
|
|
3415
3415
|
} else {
|
|
3416
3416
|
// Inline function 'kotlin.let' call
|
|
3417
3417
|
// Inline function 'kotlin.contracts.contract' call
|
|
3418
3418
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
3419
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
3419
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.vdi_1)]));
|
|
3420
3420
|
}
|
|
3421
3421
|
var tmp1_elvis_lhs = tmp;
|
|
3422
3422
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -3444,7 +3444,7 @@
|
|
|
3444
3444
|
tmp_0.p65(tmp$ret$3);
|
|
3445
3445
|
$this$DI.t61(jsonModule());
|
|
3446
3446
|
$this$DI.t61(serverHelpersModule());
|
|
3447
|
-
$this$DI.t61(randomOrgModule(this$0.
|
|
3447
|
+
$this$DI.t61(randomOrgModule(this$0.wdi_1));
|
|
3448
3448
|
return Unit_instance;
|
|
3449
3449
|
};
|
|
3450
3450
|
}
|
|
@@ -3455,16 +3455,16 @@
|
|
|
3455
3455
|
};
|
|
3456
3456
|
}
|
|
3457
3457
|
function _no_name_provided__qut3iv_4($item) {
|
|
3458
|
-
this.
|
|
3458
|
+
this.edj_1 = $item;
|
|
3459
3459
|
}
|
|
3460
3460
|
protoOf(_no_name_provided__qut3iv_4).c6o = function (action) {
|
|
3461
3461
|
return isInterface(action, Action);
|
|
3462
3462
|
};
|
|
3463
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
3464
|
-
return this.
|
|
3463
|
+
protoOf(_no_name_provided__qut3iv_4).h9m = function (state, action) {
|
|
3464
|
+
return this.edj_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
3465
3465
|
};
|
|
3466
3466
|
protoOf(_no_name_provided__qut3iv_4).u6p = function (state, action) {
|
|
3467
|
-
return this.
|
|
3467
|
+
return this.h9m((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3468
3468
|
};
|
|
3469
3469
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
3470
3470
|
return function ($this$singleton) {
|
|
@@ -3521,7 +3521,7 @@
|
|
|
3521
3521
|
}
|
|
3522
3522
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
3523
3523
|
return function (it) {
|
|
3524
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
3524
|
+
var tmp0_elvis_lhs = Companion_instance_4.d9r(it);
|
|
3525
3525
|
var tmp;
|
|
3526
3526
|
if (tmp0_elvis_lhs == null) {
|
|
3527
3527
|
var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
|
|
@@ -3534,7 +3534,7 @@
|
|
|
3534
3534
|
}
|
|
3535
3535
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
3536
3536
|
return function (it) {
|
|
3537
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
3537
|
+
var tmp0_elvis_lhs = Companion_instance_5.o9p(it);
|
|
3538
3538
|
var tmp;
|
|
3539
3539
|
if (tmp0_elvis_lhs == null) {
|
|
3540
3540
|
var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
|
|
@@ -3556,7 +3556,7 @@
|
|
|
3556
3556
|
// Inline function 'kotlin.contracts.contract' call
|
|
3557
3557
|
$this$DI.t61(tmp0_safe_receiver);
|
|
3558
3558
|
}
|
|
3559
|
-
$this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.
|
|
3559
|
+
$this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.wdi_1));
|
|
3560
3560
|
$this$DI.t61(coreModule($coreConfig));
|
|
3561
3561
|
$this$DI.t61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
3562
3562
|
return Unit_instance;
|
|
@@ -3565,76 +3565,76 @@
|
|
|
3565
3565
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
3566
3566
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
3567
3567
|
production = production === VOID ? true : production;
|
|
3568
|
-
this.
|
|
3569
|
-
this.
|
|
3568
|
+
this.vdi_1 = loggerCallback;
|
|
3569
|
+
this.wdi_1 = randomOrgConfig;
|
|
3570
3570
|
AppEnvironment_getInstance().l6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
3571
3571
|
var tmp = this;
|
|
3572
|
-
tmp.
|
|
3572
|
+
tmp.xdi_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
3573
3573
|
var tmp_0 = this;
|
|
3574
|
-
tmp_0.
|
|
3574
|
+
tmp_0.ydi_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
3575
3575
|
var tmp_1 = this;
|
|
3576
3576
|
// Inline function 'org.kodein.di.instance' call
|
|
3577
3577
|
var this_0 = _get_di__ndbzja(this);
|
|
3578
3578
|
// Inline function 'org.kodein.type.generic' call
|
|
3579
3579
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
3580
3580
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3581
|
-
tmp_1.
|
|
3581
|
+
tmp_1.zdi_1 = Instance(this_0, tmp$ret$0, null).m67(this, parser$factory());
|
|
3582
3582
|
var tmp_3 = this;
|
|
3583
3583
|
// Inline function 'org.kodein.di.instance' call
|
|
3584
3584
|
var this_1 = _get_di__ndbzja(this);
|
|
3585
3585
|
// Inline function 'org.kodein.type.generic' call
|
|
3586
3586
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
3587
3587
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3588
|
-
tmp_3.
|
|
3588
|
+
tmp_3.adj_1 = Instance(this_1, tmp$ret$2, null).m67(this, helper$factory());
|
|
3589
3589
|
var tmp_5 = this;
|
|
3590
3590
|
// Inline function 'org.kodein.di.instance' call
|
|
3591
3591
|
var this_2 = _get_di__ndbzja(this);
|
|
3592
3592
|
// Inline function 'org.kodein.type.generic' call
|
|
3593
3593
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
3594
3594
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3595
|
-
tmp_5.
|
|
3595
|
+
tmp_5.bdj_1 = Instance(this_2, tmp$ret$4, null).m67(this, resources$factory());
|
|
3596
3596
|
var tmp_7 = this;
|
|
3597
3597
|
// Inline function 'org.kodein.di.instance' call
|
|
3598
3598
|
var this_3 = _get_di__ndbzja(this);
|
|
3599
3599
|
// Inline function 'org.kodein.type.generic' call
|
|
3600
3600
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
3601
3601
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3602
|
-
tmp_7.
|
|
3602
|
+
tmp_7.cdj_1 = Instance(this_3, tmp$ret$6, null).m67(this, test$factory());
|
|
3603
3603
|
var tmp_9 = this;
|
|
3604
3604
|
// Inline function 'org.kodein.di.instance' call
|
|
3605
3605
|
var this_4 = _get_di__ndbzja(this);
|
|
3606
3606
|
// Inline function 'org.kodein.type.generic' call
|
|
3607
3607
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3608
3608
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3609
|
-
tmp_9.
|
|
3609
|
+
tmp_9.ddj_1 = Instance(this_4, tmp$ret$8, null).m67(this, randomPoolProvider$factory());
|
|
3610
3610
|
}
|
|
3611
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3611
|
+
protoOf(GameServerEngineControllerImpl).nd6 = function () {
|
|
3612
3612
|
// Inline function 'kotlin.getValue' call
|
|
3613
|
-
var this_0 = this.
|
|
3613
|
+
var this_0 = this.zdi_1;
|
|
3614
3614
|
parser$factory_0();
|
|
3615
3615
|
return this_0.u();
|
|
3616
3616
|
};
|
|
3617
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3617
|
+
protoOf(GameServerEngineControllerImpl).rdi = function () {
|
|
3618
3618
|
// Inline function 'kotlin.getValue' call
|
|
3619
|
-
var this_0 = this.
|
|
3619
|
+
var this_0 = this.adj_1;
|
|
3620
3620
|
helper$factory_0();
|
|
3621
3621
|
return this_0.u();
|
|
3622
3622
|
};
|
|
3623
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3623
|
+
protoOf(GameServerEngineControllerImpl).sdi = function () {
|
|
3624
3624
|
// Inline function 'kotlin.getValue' call
|
|
3625
|
-
var this_0 = this.
|
|
3625
|
+
var this_0 = this.bdj_1;
|
|
3626
3626
|
resources$factory_0();
|
|
3627
3627
|
return this_0.u();
|
|
3628
3628
|
};
|
|
3629
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3629
|
+
protoOf(GameServerEngineControllerImpl).qdi = function () {
|
|
3630
3630
|
// Inline function 'kotlin.getValue' call
|
|
3631
|
-
var this_0 = this.
|
|
3631
|
+
var this_0 = this.cdj_1;
|
|
3632
3632
|
test$factory_0();
|
|
3633
3633
|
return this_0.u();
|
|
3634
3634
|
};
|
|
3635
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3635
|
+
protoOf(GameServerEngineControllerImpl).tdi = function () {
|
|
3636
3636
|
// Inline function 'kotlin.getValue' call
|
|
3637
|
-
var this_0 = this.
|
|
3637
|
+
var this_0 = this.ddj_1;
|
|
3638
3638
|
randomPoolProvider$factory_0();
|
|
3639
3639
|
return this_0.u();
|
|
3640
3640
|
};
|
|
@@ -3644,7 +3644,7 @@
|
|
|
3644
3644
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
3645
3645
|
return this.createGameEngineWithLogic();
|
|
3646
3646
|
};
|
|
3647
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3647
|
+
protoOf(GameServerEngineControllerImpl).udi = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
3648
3648
|
var combinedLogger = Companion_instance_6.qm();
|
|
3649
3649
|
var tmp;
|
|
3650
3650
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -3654,8 +3654,8 @@
|
|
|
3654
3654
|
}
|
|
3655
3655
|
var fileLoggerOutput = tmp;
|
|
3656
3656
|
var tmp_0;
|
|
3657
|
-
if (!(this.
|
|
3658
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
3657
|
+
if (!(this.vdi_1 == null)) {
|
|
3658
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.vdi_1));
|
|
3659
3659
|
} else {
|
|
3660
3660
|
tmp_0 = null;
|
|
3661
3661
|
}
|
|
@@ -3698,12 +3698,12 @@
|
|
|
3698
3698
|
var gameServer = tmp_1.d63(tmp$ret$7, null);
|
|
3699
3699
|
if (!(fileLoggerOutput == null)) {
|
|
3700
3700
|
var tmp_3 = fileLoggerOutput;
|
|
3701
|
-
tmp_3.
|
|
3701
|
+
tmp_3.s9q_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
3702
3702
|
combinedLogger.sm(fileLoggerOutput);
|
|
3703
3703
|
}
|
|
3704
3704
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
3705
3705
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
3706
|
-
tmp_4.
|
|
3706
|
+
tmp_4.q9p_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
3707
3707
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
3708
3708
|
}
|
|
3709
3709
|
return gameServer;
|
|
@@ -3772,13 +3772,13 @@
|
|
|
3772
3772
|
}
|
|
3773
3773
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
3774
3774
|
// Inline function 'kotlin.getValue' call
|
|
3775
|
-
var this_0 = $this.
|
|
3775
|
+
var this_0 = $this.hdj_1;
|
|
3776
3776
|
playerAnswerInteractor$factory_0();
|
|
3777
3777
|
return this_0.u();
|
|
3778
3778
|
}
|
|
3779
3779
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
3780
3780
|
return function ($this$singleton) {
|
|
3781
|
-
return this$0.
|
|
3781
|
+
return this$0.fdj_1;
|
|
3782
3782
|
};
|
|
3783
3783
|
}
|
|
3784
3784
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -3807,20 +3807,20 @@
|
|
|
3807
3807
|
return emptyMap();
|
|
3808
3808
|
}
|
|
3809
3809
|
function TestHelperImpl(logger) {
|
|
3810
|
-
this.
|
|
3810
|
+
this.fdj_1 = logger;
|
|
3811
3811
|
var tmp = this;
|
|
3812
3812
|
var tmp_0 = Companion_instance_3;
|
|
3813
|
-
tmp.
|
|
3813
|
+
tmp.gdj_1 = tmp_0.a62(VOID, TestHelperImpl$di$lambda(this));
|
|
3814
3814
|
var tmp_1 = this;
|
|
3815
3815
|
// Inline function 'org.kodein.di.instance' call
|
|
3816
|
-
var this_0 = this.
|
|
3816
|
+
var this_0 = this.gdj_1;
|
|
3817
3817
|
// Inline function 'org.kodein.type.generic' call
|
|
3818
3818
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
3819
3819
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3820
|
-
tmp_1.
|
|
3820
|
+
tmp_1.hdj_1 = Instance(this_0, tmp$ret$0, null).m67(this, playerAnswerInteractor$factory());
|
|
3821
3821
|
}
|
|
3822
3822
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
3823
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
3823
|
+
return _get_playerAnswerInteractor__msggz1(this).k91(playerId, table, botConfig);
|
|
3824
3824
|
};
|
|
3825
3825
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
3826
3826
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -3828,7 +3828,7 @@
|
|
|
3828
3828
|
var tmp$ret$0;
|
|
3829
3829
|
$l$block_0: {
|
|
3830
3830
|
// Inline function 'kotlin.collections.any' call
|
|
3831
|
-
var this_0 = mechanicAction.
|
|
3831
|
+
var this_0 = mechanicAction.j9c();
|
|
3832
3832
|
var tmp;
|
|
3833
3833
|
if (isInterface(this_0, Collection)) {
|
|
3834
3834
|
tmp = this_0.p();
|
|
@@ -3861,7 +3861,7 @@
|
|
|
3861
3861
|
var tmp$ret$0;
|
|
3862
3862
|
$l$block_0: {
|
|
3863
3863
|
// Inline function 'kotlin.collections.any' call
|
|
3864
|
-
var this_0 = action.
|
|
3864
|
+
var this_0 = action.j9c();
|
|
3865
3865
|
var tmp;
|
|
3866
3866
|
if (isInterface(this_0, Collection)) {
|
|
3867
3867
|
tmp = this_0.p();
|
|
@@ -3961,19 +3961,19 @@
|
|
|
3961
3961
|
});
|
|
3962
3962
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
3963
3963
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
3964
|
-
return this.
|
|
3964
|
+
return this.nd6();
|
|
3965
3965
|
});
|
|
3966
3966
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
3967
|
-
return this.
|
|
3967
|
+
return this.rdi();
|
|
3968
3968
|
});
|
|
3969
3969
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
3970
|
-
return this.
|
|
3970
|
+
return this.sdi();
|
|
3971
3971
|
});
|
|
3972
3972
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
3973
|
-
return this.
|
|
3973
|
+
return this.qdi();
|
|
3974
3974
|
});
|
|
3975
3975
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
3976
|
-
return this.
|
|
3976
|
+
return this.tdi();
|
|
3977
3977
|
});
|
|
3978
3978
|
//endregion
|
|
3979
3979
|
//region block: init
|