client_plugin_logic_deb 1.8.250 → 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 +34 -25
- 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 +15858 -15127
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6655 -6246
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +620 -595
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +87 -87
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- 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,23 +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.$_$.
|
|
79
|
-
var
|
|
80
|
-
var
|
|
78
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
|
|
79
|
+
var toString = kotlin_kotlin.$_$.yc;
|
|
80
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
81
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
|
|
82
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
|
|
81
83
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.c4;
|
|
82
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.y9;
|
|
83
85
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
|
|
84
86
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
|
|
85
87
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
86
88
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
|
|
87
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
89
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
|
|
88
90
|
var emptyList = kotlin_kotlin.$_$.n7;
|
|
89
91
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
90
92
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -93,10 +95,10 @@
|
|
|
93
95
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
94
96
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
95
97
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
96
|
-
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
98
|
+
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
97
99
|
var lazy = kotlin_kotlin.$_$.ph;
|
|
98
100
|
var plus = kotlin_kotlin.$_$.z8;
|
|
99
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
101
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
|
|
100
102
|
var defineProp = kotlin_kotlin.$_$.kb;
|
|
101
103
|
var KProperty1 = kotlin_kotlin.$_$.pd;
|
|
102
104
|
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
@@ -105,29 +107,28 @@
|
|
|
105
107
|
var Enum = kotlin_kotlin.$_$.hg;
|
|
106
108
|
var getBooleanHashCode = kotlin_kotlin.$_$.ob;
|
|
107
109
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
108
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
110
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
|
|
109
111
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
110
112
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
111
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
|
|
112
114
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
113
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
115
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
|
|
114
116
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
115
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
117
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.w7;
|
|
116
118
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
117
|
-
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
118
|
-
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
119
|
-
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
120
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
121
|
-
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;
|
|
122
124
|
var initMetadataForInterface = kotlin_kotlin.$_$.wb;
|
|
123
125
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
124
126
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
125
127
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
126
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
128
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y4;
|
|
127
129
|
var single = kotlin_kotlin.$_$.i9;
|
|
128
130
|
var copyToArray = kotlin_kotlin.$_$.i7;
|
|
129
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
130
|
-
var toString = kotlin_kotlin.$_$.yc;
|
|
131
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.x4;
|
|
131
132
|
var getStringHashCode = kotlin_kotlin.$_$.rb;
|
|
132
133
|
var KtList = kotlin_kotlin.$_$.x5;
|
|
133
134
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
@@ -142,85 +143,84 @@
|
|
|
142
143
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
143
144
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
144
145
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
145
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
146
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
147
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
148
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
149
|
-
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;
|
|
150
151
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.d2;
|
|
151
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
152
|
-
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
153
|
-
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;
|
|
154
155
|
var listOf = kotlin_kotlin.$_$.q8;
|
|
155
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
156
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
|
|
156
157
|
var listOfNotNull = kotlin_kotlin.$_$.n8;
|
|
157
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
158
|
-
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;
|
|
159
160
|
var listOfNotNull_0 = kotlin_kotlin.$_$.o8;
|
|
160
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
161
|
-
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;
|
|
162
163
|
var listOf_0 = kotlin_kotlin.$_$.p8;
|
|
163
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
-
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;
|
|
166
167
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
167
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
168
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
169
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
170
|
-
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;
|
|
171
172
|
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
172
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
174
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
175
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
176
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
178
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
179
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
180
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
181
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
183
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
184
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
185
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
187
|
-
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;
|
|
188
189
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
189
190
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
|
|
190
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
191
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
192
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
193
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
195
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
196
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
199
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
202
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
203
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
204
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
205
|
-
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
206
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
-
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;
|
|
208
209
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
209
210
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.h5;
|
|
210
211
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
|
|
211
212
|
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
212
213
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
213
214
|
var toDuration = kotlin_kotlin.$_$.zf;
|
|
214
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
215
|
-
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;
|
|
216
217
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
217
218
|
var singleOrNull = kotlin_kotlin.$_$.h9;
|
|
218
219
|
var Collection = kotlin_kotlin.$_$.r5;
|
|
219
220
|
var toSet = kotlin_kotlin.$_$.z9;
|
|
220
221
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
221
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
222
|
-
var
|
|
223
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
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
|
|
@@ -278,7 +278,8 @@
|
|
|
278
278
|
initMetadataForLambda(GameServer$roomOnDelete$slambda, CoroutineImpl, VOID, [2]);
|
|
279
279
|
initMetadataForLambda(GameServer$setCanStartNewGameEnabled$slambda, CoroutineImpl, VOID, [2]);
|
|
280
280
|
initMetadataForLambda(GameServer$shutdown$slambda, CoroutineImpl, VOID, [2]);
|
|
281
|
-
function roomOnCreate(roomId, gameCreatorId, config, users, spectators, $super) {
|
|
281
|
+
function roomOnCreate(roomId, gameCreatorId, config, users, transition, spectators, $super) {
|
|
282
|
+
transition = transition === VOID ? null : transition;
|
|
282
283
|
var tmp;
|
|
283
284
|
if (spectators === VOID) {
|
|
284
285
|
// Inline function 'kotlin.emptyArray' call
|
|
@@ -287,15 +288,15 @@
|
|
|
287
288
|
tmp = spectators;
|
|
288
289
|
}
|
|
289
290
|
spectators = tmp;
|
|
290
|
-
return this.
|
|
291
|
+
return this.nde(roomId, gameCreatorId, config, users, transition, spectators);
|
|
291
292
|
}
|
|
292
293
|
function roomOnDelete(newRid, $super) {
|
|
293
294
|
newRid = newRid === VOID ? null : newRid;
|
|
294
|
-
return this.
|
|
295
|
+
return this.ode(newRid);
|
|
295
296
|
}
|
|
296
297
|
function shutdown(reason, roomId, $super) {
|
|
297
298
|
roomId = roomId === VOID ? null : roomId;
|
|
298
|
-
return this.
|
|
299
|
+
return this.pde(reason, roomId);
|
|
299
300
|
}
|
|
300
301
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
301
302
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -345,7 +346,7 @@
|
|
|
345
346
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
346
347
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
347
348
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
348
|
-
return this.
|
|
349
|
+
return this.udi(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
349
350
|
}
|
|
350
351
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
351
352
|
initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Reducer]);
|
|
@@ -354,17 +355,17 @@
|
|
|
354
355
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
355
356
|
//endregion
|
|
356
357
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
357
|
-
this.
|
|
358
|
+
this.cd7_1 = $subscriber;
|
|
358
359
|
CoroutineImpl.call(this, resultContinuation);
|
|
359
360
|
}
|
|
360
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
361
|
-
var tmp = this.
|
|
361
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ed7 = function (it, $completion) {
|
|
362
|
+
var tmp = this.fd7(it, $completion);
|
|
362
363
|
tmp.g9_1 = Unit_instance;
|
|
363
364
|
tmp.h9_1 = null;
|
|
364
365
|
return tmp.m9();
|
|
365
366
|
};
|
|
366
367
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
|
|
367
|
-
return this.
|
|
368
|
+
return this.ed7(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
368
369
|
};
|
|
369
370
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
370
371
|
var suspendResult = this.g9_1;
|
|
@@ -373,7 +374,7 @@
|
|
|
373
374
|
var tmp = this.e9_1;
|
|
374
375
|
if (tmp === 0) {
|
|
375
376
|
this.f9_1 = 1;
|
|
376
|
-
this.
|
|
377
|
+
this.cd7_1(this.dd7_1);
|
|
377
378
|
return Unit_instance;
|
|
378
379
|
} else if (tmp === 1) {
|
|
379
380
|
throw this.h9_1;
|
|
@@ -384,31 +385,31 @@
|
|
|
384
385
|
}
|
|
385
386
|
while (true);
|
|
386
387
|
};
|
|
387
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
388
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
389
|
-
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;
|
|
390
391
|
return i;
|
|
391
392
|
};
|
|
392
393
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
393
394
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
394
395
|
var l = function (it, $completion) {
|
|
395
|
-
return i.
|
|
396
|
+
return i.ed7(it, $completion);
|
|
396
397
|
};
|
|
397
398
|
l.$arity = 1;
|
|
398
399
|
return l;
|
|
399
400
|
}
|
|
400
401
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
401
|
-
this.
|
|
402
|
+
this.od7_1 = $subscriber;
|
|
402
403
|
CoroutineImpl.call(this, resultContinuation);
|
|
403
404
|
}
|
|
404
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
405
|
-
var tmp = this.
|
|
405
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).qd7 = function (it, $completion) {
|
|
406
|
+
var tmp = this.rd7(it, $completion);
|
|
406
407
|
tmp.g9_1 = Unit_instance;
|
|
407
408
|
tmp.h9_1 = null;
|
|
408
409
|
return tmp.m9();
|
|
409
410
|
};
|
|
410
411
|
protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
|
|
411
|
-
return this.
|
|
412
|
+
return this.qd7(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
412
413
|
};
|
|
413
414
|
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
414
415
|
var suspendResult = this.g9_1;
|
|
@@ -417,7 +418,7 @@
|
|
|
417
418
|
var tmp = this.e9_1;
|
|
418
419
|
if (tmp === 0) {
|
|
419
420
|
this.f9_1 = 1;
|
|
420
|
-
this.
|
|
421
|
+
this.od7_1(this.pd7_1);
|
|
421
422
|
return Unit_instance;
|
|
422
423
|
} else if (tmp === 1) {
|
|
423
424
|
throw this.h9_1;
|
|
@@ -428,58 +429,58 @@
|
|
|
428
429
|
}
|
|
429
430
|
while (true);
|
|
430
431
|
};
|
|
431
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
432
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
433
|
-
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;
|
|
434
435
|
return i;
|
|
435
436
|
};
|
|
436
437
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
437
438
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
438
439
|
var l = function (it, $completion) {
|
|
439
|
-
return i.
|
|
440
|
+
return i.qd7(it, $completion);
|
|
440
441
|
};
|
|
441
442
|
l.$arity = 1;
|
|
442
443
|
return l;
|
|
443
444
|
}
|
|
444
445
|
function _get_logger__rkp4sl($this) {
|
|
445
446
|
// Inline function 'kotlin.getValue' call
|
|
446
|
-
var this_0 = $this.
|
|
447
|
+
var this_0 = $this.ud7_1;
|
|
447
448
|
logger$factory_0();
|
|
448
449
|
return this_0.u();
|
|
449
450
|
}
|
|
450
451
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
451
452
|
// Inline function 'kotlin.getValue' call
|
|
452
|
-
var this_0 = $this.
|
|
453
|
+
var this_0 = $this.vd7_1;
|
|
453
454
|
toClientEventsObserver$factory_0();
|
|
454
455
|
return this_0.u();
|
|
455
456
|
}
|
|
456
457
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
457
458
|
// Inline function 'kotlin.getValue' call
|
|
458
|
-
var this_0 = $this.
|
|
459
|
+
var this_0 = $this.wd7_1;
|
|
459
460
|
playerConnectionInteractor$factory_0();
|
|
460
461
|
return this_0.u();
|
|
461
462
|
}
|
|
462
463
|
function _get_random__h29cgo($this) {
|
|
463
464
|
// Inline function 'kotlin.getValue' call
|
|
464
|
-
var this_0 = $this.
|
|
465
|
+
var this_0 = $this.xd7_1;
|
|
465
466
|
random$factory();
|
|
466
467
|
return this_0.u();
|
|
467
468
|
}
|
|
468
469
|
function Companion() {
|
|
469
|
-
this.
|
|
470
|
+
this.zd7_1 = 'GameEngine_API';
|
|
470
471
|
}
|
|
471
472
|
var Companion_instance_7;
|
|
472
473
|
function Companion_getInstance_0() {
|
|
473
474
|
return Companion_instance_7;
|
|
474
475
|
}
|
|
475
476
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
476
|
-
this.
|
|
477
|
+
this.ad8_1 = function_0;
|
|
477
478
|
}
|
|
478
479
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
|
|
479
|
-
return this.
|
|
480
|
+
return this.ad8_1(value, $completion);
|
|
480
481
|
};
|
|
481
482
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
482
|
-
return this.
|
|
483
|
+
return this.ad8_1;
|
|
483
484
|
};
|
|
484
485
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
485
486
|
var tmp;
|
|
@@ -500,13 +501,13 @@
|
|
|
500
501
|
return hashCode(this.o3());
|
|
501
502
|
};
|
|
502
503
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
503
|
-
this.
|
|
504
|
+
this.bd8_1 = function_0;
|
|
504
505
|
}
|
|
505
506
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
506
|
-
return this.
|
|
507
|
+
return this.bd8_1(value, $completion);
|
|
507
508
|
};
|
|
508
509
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
509
|
-
return this.
|
|
510
|
+
return this.bd8_1;
|
|
510
511
|
};
|
|
511
512
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
512
513
|
var tmp;
|
|
@@ -532,8 +533,8 @@
|
|
|
532
533
|
};
|
|
533
534
|
}
|
|
534
535
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
536
|
+
this.kd8_1 = this$0;
|
|
537
|
+
this.ld8_1 = $subscriber;
|
|
537
538
|
CoroutineImpl.call(this, resultContinuation);
|
|
538
539
|
}
|
|
539
540
|
protoOf(GameServer$subscribeToClientAction$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -554,8 +555,8 @@
|
|
|
554
555
|
case 0:
|
|
555
556
|
this.f9_1 = 2;
|
|
556
557
|
this.e9_1 = 1;
|
|
557
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
558
|
-
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);
|
|
559
560
|
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
560
561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
561
562
|
return suspendResult;
|
|
@@ -579,8 +580,8 @@
|
|
|
579
580
|
while (true);
|
|
580
581
|
};
|
|
581
582
|
protoOf(GameServer$subscribeToClientAction$slambda).f1f = function ($this$launchDefault, completion) {
|
|
582
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
583
|
-
i.
|
|
583
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.kd8_1, this.ld8_1, completion);
|
|
584
|
+
i.md8_1 = $this$launchDefault;
|
|
584
585
|
return i;
|
|
585
586
|
};
|
|
586
587
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -592,8 +593,8 @@
|
|
|
592
593
|
return l;
|
|
593
594
|
}
|
|
594
595
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
596
|
+
this.vd8_1 = this$0;
|
|
597
|
+
this.wd8_1 = $subscriber;
|
|
597
598
|
CoroutineImpl.call(this, resultContinuation);
|
|
598
599
|
}
|
|
599
600
|
protoOf(GameServer$subscribeWith$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -614,8 +615,8 @@
|
|
|
614
615
|
case 0:
|
|
615
616
|
this.f9_1 = 2;
|
|
616
617
|
this.e9_1 = 1;
|
|
617
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
618
|
-
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);
|
|
619
620
|
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
620
621
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
621
622
|
return suspendResult;
|
|
@@ -639,8 +640,8 @@
|
|
|
639
640
|
while (true);
|
|
640
641
|
};
|
|
641
642
|
protoOf(GameServer$subscribeWith$slambda).f1f = function ($this$launchDefault, completion) {
|
|
642
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
643
|
-
i.
|
|
643
|
+
var i = new GameServer$subscribeWith$slambda(this.vd8_1, this.wd8_1, completion);
|
|
644
|
+
i.xd8_1 = $this$launchDefault;
|
|
644
645
|
return i;
|
|
645
646
|
};
|
|
646
647
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -652,18 +653,18 @@
|
|
|
652
653
|
return l;
|
|
653
654
|
}
|
|
654
655
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
655
|
-
this.
|
|
656
|
+
this.gd9_1 = $action;
|
|
656
657
|
CoroutineImpl.call(this, resultContinuation);
|
|
657
658
|
}
|
|
658
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
659
|
-
var tmp = this.
|
|
659
|
+
protoOf(GameServer$fromClientEvent$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
660
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
660
661
|
tmp.g9_1 = Unit_instance;
|
|
661
662
|
tmp.h9_1 = null;
|
|
662
663
|
return tmp.m9();
|
|
663
664
|
};
|
|
664
665
|
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
665
666
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
666
|
-
return this.
|
|
667
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
667
668
|
};
|
|
668
669
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
669
670
|
var suspendResult = this.g9_1;
|
|
@@ -672,11 +673,11 @@
|
|
|
672
673
|
var tmp = this.e9_1;
|
|
673
674
|
if (tmp === 0) {
|
|
674
675
|
this.f9_1 = 1;
|
|
675
|
-
if (this.
|
|
676
|
-
if (!get_isCreated(this.
|
|
676
|
+
if (this.gd9_1 instanceof PlayerReadyFromClientAction)
|
|
677
|
+
if (!get_isCreated(this.id9_1.state)) {
|
|
677
678
|
return Unit_instance;
|
|
678
679
|
}
|
|
679
|
-
this.
|
|
680
|
+
this.id9_1.dispatch(this.gd9_1);
|
|
680
681
|
return Unit_instance;
|
|
681
682
|
} else if (tmp === 1) {
|
|
682
683
|
throw this.h9_1;
|
|
@@ -687,33 +688,33 @@
|
|
|
687
688
|
}
|
|
688
689
|
while (true);
|
|
689
690
|
};
|
|
690
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
691
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
692
|
-
i.
|
|
693
|
-
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;
|
|
694
695
|
return i;
|
|
695
696
|
};
|
|
696
697
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
697
698
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
698
699
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
699
|
-
return i.
|
|
700
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
700
701
|
};
|
|
701
702
|
l.$arity = 2;
|
|
702
703
|
return l;
|
|
703
704
|
}
|
|
704
705
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
705
|
-
this.
|
|
706
|
+
this.rd9_1 = $playerId;
|
|
706
707
|
CoroutineImpl.call(this, resultContinuation);
|
|
707
708
|
}
|
|
708
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
709
|
-
var tmp = this.
|
|
709
|
+
protoOf(GameServer$playerLostConnection$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
710
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
710
711
|
tmp.g9_1 = Unit_instance;
|
|
711
712
|
tmp.h9_1 = null;
|
|
712
713
|
return tmp.m9();
|
|
713
714
|
};
|
|
714
715
|
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
715
716
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
716
|
-
return this.
|
|
717
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
717
718
|
};
|
|
718
719
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
719
720
|
var suspendResult = this.g9_1;
|
|
@@ -722,12 +723,12 @@
|
|
|
722
723
|
var tmp = this.e9_1;
|
|
723
724
|
if (tmp === 0) {
|
|
724
725
|
this.f9_1 = 1;
|
|
725
|
-
if (!get_isCreated(this.
|
|
726
|
+
if (!get_isCreated(this.td9_1.state)) {
|
|
726
727
|
return Unit_instance;
|
|
727
728
|
}
|
|
728
|
-
var tmp_0 = this.
|
|
729
|
+
var tmp_0 = this.td9_1.dispatch;
|
|
729
730
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
730
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
731
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.rd9_1));
|
|
731
732
|
return Unit_instance;
|
|
732
733
|
} else if (tmp === 1) {
|
|
733
734
|
throw this.h9_1;
|
|
@@ -738,33 +739,33 @@
|
|
|
738
739
|
}
|
|
739
740
|
while (true);
|
|
740
741
|
};
|
|
741
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
742
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
743
|
-
i.
|
|
744
|
-
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;
|
|
745
746
|
return i;
|
|
746
747
|
};
|
|
747
748
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
748
749
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
749
750
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
750
|
-
return i.
|
|
751
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
751
752
|
};
|
|
752
753
|
l.$arity = 2;
|
|
753
754
|
return l;
|
|
754
755
|
}
|
|
755
756
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
756
|
-
this.
|
|
757
|
+
this.cda_1 = $playerId;
|
|
757
758
|
CoroutineImpl.call(this, resultContinuation);
|
|
758
759
|
}
|
|
759
|
-
protoOf(GameServer$playerLive$slambda).
|
|
760
|
-
var tmp = this.
|
|
760
|
+
protoOf(GameServer$playerLive$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
761
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
761
762
|
tmp.g9_1 = Unit_instance;
|
|
762
763
|
tmp.h9_1 = null;
|
|
763
764
|
return tmp.m9();
|
|
764
765
|
};
|
|
765
766
|
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
766
767
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
767
|
-
return this.
|
|
768
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
768
769
|
};
|
|
769
770
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
770
771
|
var suspendResult = this.g9_1;
|
|
@@ -773,9 +774,9 @@
|
|
|
773
774
|
var tmp = this.e9_1;
|
|
774
775
|
if (tmp === 0) {
|
|
775
776
|
this.f9_1 = 1;
|
|
776
|
-
var tmp_0 = this.
|
|
777
|
+
var tmp_0 = this.eda_1.dispatch;
|
|
777
778
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
778
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
779
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.cda_1));
|
|
779
780
|
return Unit_instance;
|
|
780
781
|
} else if (tmp === 1) {
|
|
781
782
|
throw this.h9_1;
|
|
@@ -786,33 +787,33 @@
|
|
|
786
787
|
}
|
|
787
788
|
while (true);
|
|
788
789
|
};
|
|
789
|
-
protoOf(GameServer$playerLive$slambda).
|
|
790
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
791
|
-
i.
|
|
792
|
-
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;
|
|
793
794
|
return i;
|
|
794
795
|
};
|
|
795
796
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
796
797
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
797
798
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
798
|
-
return i.
|
|
799
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
799
800
|
};
|
|
800
801
|
l.$arity = 2;
|
|
801
802
|
return l;
|
|
802
803
|
}
|
|
803
804
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
804
|
-
this.
|
|
805
|
+
this.nda_1 = $playerId;
|
|
805
806
|
CoroutineImpl.call(this, resultContinuation);
|
|
806
807
|
}
|
|
807
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
808
|
-
var tmp = this.
|
|
808
|
+
protoOf(GameServer$playerLeft$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
809
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
809
810
|
tmp.g9_1 = Unit_instance;
|
|
810
811
|
tmp.h9_1 = null;
|
|
811
812
|
return tmp.m9();
|
|
812
813
|
};
|
|
813
814
|
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
814
815
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
815
|
-
return this.
|
|
816
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
816
817
|
};
|
|
817
818
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
818
819
|
var suspendResult = this.g9_1;
|
|
@@ -821,9 +822,9 @@
|
|
|
821
822
|
var tmp = this.e9_1;
|
|
822
823
|
if (tmp === 0) {
|
|
823
824
|
this.f9_1 = 1;
|
|
824
|
-
var tmp_0 = this.
|
|
825
|
+
var tmp_0 = this.pda_1.dispatch;
|
|
825
826
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
826
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
827
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.nda_1));
|
|
827
828
|
return Unit_instance;
|
|
828
829
|
} else if (tmp === 1) {
|
|
829
830
|
throw this.h9_1;
|
|
@@ -834,38 +835,38 @@
|
|
|
834
835
|
}
|
|
835
836
|
while (true);
|
|
836
837
|
};
|
|
837
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
838
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
839
|
-
i.
|
|
840
|
-
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;
|
|
841
842
|
return i;
|
|
842
843
|
};
|
|
843
844
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
844
845
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
845
846
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
846
|
-
return i.
|
|
847
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
847
848
|
};
|
|
848
849
|
l.$arity = 2;
|
|
849
850
|
return l;
|
|
850
851
|
}
|
|
851
852
|
function GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
852
|
-
this.
|
|
853
|
-
this.
|
|
854
|
-
this.
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
857
|
-
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;
|
|
858
859
|
CoroutineImpl.call(this, resultContinuation);
|
|
859
860
|
}
|
|
860
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
861
|
-
var tmp = this.
|
|
861
|
+
protoOf(GameServer$roomOnCreate$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
862
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
862
863
|
tmp.g9_1 = Unit_instance;
|
|
863
864
|
tmp.h9_1 = null;
|
|
864
865
|
return tmp.m9();
|
|
865
866
|
};
|
|
866
867
|
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
867
868
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
868
|
-
return this.
|
|
869
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
869
870
|
};
|
|
870
871
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
871
872
|
var suspendResult = this.g9_1;
|
|
@@ -874,13 +875,13 @@
|
|
|
874
875
|
var tmp = this.e9_1;
|
|
875
876
|
if (tmp === 0) {
|
|
876
877
|
this.f9_1 = 1;
|
|
877
|
-
var usersList = toList(this.
|
|
878
|
-
var gameCreatorUser = getPlayer(usersList, this.
|
|
879
|
-
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;
|
|
880
881
|
var tmp0_version = GameEngineConfig_instance.version;
|
|
881
|
-
var tmp1_users = sortWithItem(_get_random__h29cgo(this.
|
|
882
|
-
var tmp2_spectators = toList(this.
|
|
883
|
-
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));
|
|
884
885
|
return Unit_instance;
|
|
885
886
|
} else if (tmp === 1) {
|
|
886
887
|
throw this.h9_1;
|
|
@@ -891,33 +892,33 @@
|
|
|
891
892
|
}
|
|
892
893
|
while (true);
|
|
893
894
|
};
|
|
894
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
895
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
896
|
-
i.
|
|
897
|
-
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;
|
|
898
899
|
return i;
|
|
899
900
|
};
|
|
900
901
|
function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
901
902
|
var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation);
|
|
902
903
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
903
|
-
return i.
|
|
904
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
904
905
|
};
|
|
905
906
|
l.$arity = 2;
|
|
906
907
|
return l;
|
|
907
908
|
}
|
|
908
909
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation) {
|
|
909
|
-
this.
|
|
910
|
+
this.odb_1 = $tableLite;
|
|
910
911
|
CoroutineImpl.call(this, resultContinuation);
|
|
911
912
|
}
|
|
912
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
913
|
-
var tmp = this.
|
|
913
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
914
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
914
915
|
tmp.g9_1 = Unit_instance;
|
|
915
916
|
tmp.h9_1 = null;
|
|
916
917
|
return tmp.m9();
|
|
917
918
|
};
|
|
918
919
|
protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
|
|
919
920
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
920
|
-
return this.
|
|
921
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
921
922
|
};
|
|
922
923
|
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
923
924
|
var suspendResult = this.g9_1;
|
|
@@ -926,11 +927,11 @@
|
|
|
926
927
|
var tmp = this.e9_1;
|
|
927
928
|
if (tmp === 0) {
|
|
928
929
|
this.f9_1 = 1;
|
|
929
|
-
var tmp_0 = this.
|
|
930
|
+
var tmp_0 = this.qdb_1.dispatch;
|
|
930
931
|
var tmp0_reason = RestartRoundReason_getInstance();
|
|
931
|
-
var tmp1_table = Companion_instance.restartRound(GameEngineConfig_instance.version, this.
|
|
932
|
+
var tmp1_table = Companion_instance.restartRound(GameEngineConfig_instance.version, this.odb_1);
|
|
932
933
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
933
|
-
this.
|
|
934
|
+
this.qdb_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
934
935
|
return Unit_instance;
|
|
935
936
|
} else if (tmp === 1) {
|
|
936
937
|
throw this.h9_1;
|
|
@@ -941,33 +942,33 @@
|
|
|
941
942
|
}
|
|
942
943
|
while (true);
|
|
943
944
|
};
|
|
944
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
945
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
946
|
-
i.
|
|
947
|
-
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;
|
|
948
949
|
return i;
|
|
949
950
|
};
|
|
950
951
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, resultContinuation) {
|
|
951
952
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation);
|
|
952
953
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
953
|
-
return i.
|
|
954
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
954
955
|
};
|
|
955
956
|
l.$arity = 2;
|
|
956
957
|
return l;
|
|
957
958
|
}
|
|
958
959
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
959
|
-
this.
|
|
960
|
+
this.zdb_1 = $spectators;
|
|
960
961
|
CoroutineImpl.call(this, resultContinuation);
|
|
961
962
|
}
|
|
962
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
963
|
-
var tmp = this.
|
|
963
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
964
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
964
965
|
tmp.g9_1 = Unit_instance;
|
|
965
966
|
tmp.h9_1 = null;
|
|
966
967
|
return tmp.m9();
|
|
967
968
|
};
|
|
968
969
|
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
969
970
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
970
|
-
return this.
|
|
971
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
971
972
|
};
|
|
972
973
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
973
974
|
var suspendResult = this.g9_1;
|
|
@@ -976,7 +977,7 @@
|
|
|
976
977
|
var tmp = this.e9_1;
|
|
977
978
|
if (tmp === 0) {
|
|
978
979
|
this.f9_1 = 1;
|
|
979
|
-
this.
|
|
980
|
+
this.bdc_1.dispatch(new AddSpectatorsAction(toList(this.zdb_1)));
|
|
980
981
|
return Unit_instance;
|
|
981
982
|
} else if (tmp === 1) {
|
|
982
983
|
throw this.h9_1;
|
|
@@ -987,33 +988,33 @@
|
|
|
987
988
|
}
|
|
988
989
|
while (true);
|
|
989
990
|
};
|
|
990
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
991
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
992
|
-
i.
|
|
993
|
-
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;
|
|
994
995
|
return i;
|
|
995
996
|
};
|
|
996
997
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
997
998
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
998
999
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
999
|
-
return i.
|
|
1000
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1000
1001
|
};
|
|
1001
1002
|
l.$arity = 2;
|
|
1002
1003
|
return l;
|
|
1003
1004
|
}
|
|
1004
1005
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1005
|
-
this.
|
|
1006
|
+
this.kdc_1 = $spectators;
|
|
1006
1007
|
CoroutineImpl.call(this, resultContinuation);
|
|
1007
1008
|
}
|
|
1008
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1009
|
-
var tmp = this.
|
|
1009
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1010
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1010
1011
|
tmp.g9_1 = Unit_instance;
|
|
1011
1012
|
tmp.h9_1 = null;
|
|
1012
1013
|
return tmp.m9();
|
|
1013
1014
|
};
|
|
1014
1015
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1015
1016
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1016
|
-
return this.
|
|
1017
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1017
1018
|
};
|
|
1018
1019
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1019
1020
|
var suspendResult = this.g9_1;
|
|
@@ -1022,7 +1023,7 @@
|
|
|
1022
1023
|
var tmp = this.e9_1;
|
|
1023
1024
|
if (tmp === 0) {
|
|
1024
1025
|
this.f9_1 = 1;
|
|
1025
|
-
this.
|
|
1026
|
+
this.mdc_1.dispatch(new RemoveSpectatorsAction(toList(this.kdc_1)));
|
|
1026
1027
|
return Unit_instance;
|
|
1027
1028
|
} else if (tmp === 1) {
|
|
1028
1029
|
throw this.h9_1;
|
|
@@ -1033,34 +1034,34 @@
|
|
|
1033
1034
|
}
|
|
1034
1035
|
while (true);
|
|
1035
1036
|
};
|
|
1036
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1037
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1038
|
-
i.
|
|
1039
|
-
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;
|
|
1040
1041
|
return i;
|
|
1041
1042
|
};
|
|
1042
1043
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1043
1044
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1044
1045
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1045
|
-
return i.
|
|
1046
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1046
1047
|
};
|
|
1047
1048
|
l.$arity = 2;
|
|
1048
1049
|
return l;
|
|
1049
1050
|
}
|
|
1050
1051
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1052
|
+
this.vdc_1 = $playerId;
|
|
1053
|
+
this.wdc_1 = this$0;
|
|
1053
1054
|
CoroutineImpl.call(this, resultContinuation);
|
|
1054
1055
|
}
|
|
1055
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1056
|
-
var tmp = this.
|
|
1056
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1057
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1057
1058
|
tmp.g9_1 = Unit_instance;
|
|
1058
1059
|
tmp.h9_1 = null;
|
|
1059
1060
|
return tmp.m9();
|
|
1060
1061
|
};
|
|
1061
1062
|
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1062
1063
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1063
|
-
return this.
|
|
1064
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1064
1065
|
};
|
|
1065
1066
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1066
1067
|
var suspendResult = this.g9_1;
|
|
@@ -1069,14 +1070,14 @@
|
|
|
1069
1070
|
var tmp = this.e9_1;
|
|
1070
1071
|
if (tmp === 0) {
|
|
1071
1072
|
this.f9_1 = 1;
|
|
1072
|
-
var table = this.
|
|
1073
|
-
var player = getPlayer(table.players, this.
|
|
1074
|
-
if (player.
|
|
1075
|
-
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));
|
|
1076
1077
|
} else {
|
|
1077
|
-
var tmp_0 = this.
|
|
1078
|
+
var tmp_0 = this.ydc_1.dispatch;
|
|
1078
1079
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1079
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1080
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.vdc_1));
|
|
1080
1081
|
}
|
|
1081
1082
|
return Unit_instance;
|
|
1082
1083
|
} else if (tmp === 1) {
|
|
@@ -1088,33 +1089,34 @@
|
|
|
1088
1089
|
}
|
|
1089
1090
|
while (true);
|
|
1090
1091
|
};
|
|
1091
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1092
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1093
|
-
i.
|
|
1094
|
-
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;
|
|
1095
1096
|
return i;
|
|
1096
1097
|
};
|
|
1097
1098
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1098
1099
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1099
1100
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1100
|
-
return i.
|
|
1101
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1101
1102
|
};
|
|
1102
1103
|
l.$arity = 2;
|
|
1103
1104
|
return l;
|
|
1104
1105
|
}
|
|
1105
|
-
function GameServer$roomOnDelete$slambda(this$0, resultContinuation) {
|
|
1106
|
-
this.
|
|
1106
|
+
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
1107
|
+
this.hdd_1 = this$0;
|
|
1108
|
+
this.idd_1 = $newRid;
|
|
1107
1109
|
CoroutineImpl.call(this, resultContinuation);
|
|
1108
1110
|
}
|
|
1109
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1110
|
-
var tmp = this.
|
|
1111
|
+
protoOf(GameServer$roomOnDelete$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1112
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1111
1113
|
tmp.g9_1 = Unit_instance;
|
|
1112
1114
|
tmp.h9_1 = null;
|
|
1113
1115
|
return tmp.m9();
|
|
1114
1116
|
};
|
|
1115
1117
|
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1116
1118
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1117
|
-
return this.
|
|
1119
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1118
1120
|
};
|
|
1119
1121
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1120
1122
|
var suspendResult = this.g9_1;
|
|
@@ -1123,16 +1125,39 @@
|
|
|
1123
1125
|
var tmp = this.e9_1;
|
|
1124
1126
|
if (tmp === 0) {
|
|
1125
1127
|
this.f9_1 = 1;
|
|
1126
|
-
var it = this.
|
|
1128
|
+
var it = this.hdd_1.x6e().g6w_1;
|
|
1127
1129
|
var tmp_0;
|
|
1128
1130
|
if (it == null) {
|
|
1129
|
-
_get_logger__rkp4sl(this.
|
|
1131
|
+
_get_logger__rkp4sl(this.hdd_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1130
1132
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1131
1133
|
} else {
|
|
1132
1134
|
tmp_0 = it;
|
|
1133
1135
|
}
|
|
1134
1136
|
var terminationState = tmp_0;
|
|
1135
|
-
|
|
1137
|
+
var tmp_1 = this.kdd_1.dispatch;
|
|
1138
|
+
var tmp1_reason = terminationState.z8c_1;
|
|
1139
|
+
var tmp0_safe_receiver = terminationState.a8d_1;
|
|
1140
|
+
var tmp_2;
|
|
1141
|
+
if (tmp0_safe_receiver == null) {
|
|
1142
|
+
tmp_2 = null;
|
|
1143
|
+
} else {
|
|
1144
|
+
var value = this.idd_1;
|
|
1145
|
+
var tmp$ret$0 = Unit_instance;
|
|
1146
|
+
l$ret$1: do {
|
|
1147
|
+
if (value == null) {
|
|
1148
|
+
var message = 'Required value was null.';
|
|
1149
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1150
|
+
} else {
|
|
1151
|
+
tmp$ret$0 = value;
|
|
1152
|
+
break l$ret$1;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
while (false);
|
|
1156
|
+
tmp_2 = tmp0_safe_receiver.copy(tmp$ret$0);
|
|
1157
|
+
}
|
|
1158
|
+
var tmp2_transition = tmp_2;
|
|
1159
|
+
var tmp3_isGameFinished = this.hdd_1.x6e().f6x().isGameFinished;
|
|
1160
|
+
tmp_1(new FinishGameMechanicAction(tmp1_reason, tmp3_isGameFinished, VOID, tmp2_transition));
|
|
1136
1161
|
return Unit_instance;
|
|
1137
1162
|
} else if (tmp === 1) {
|
|
1138
1163
|
throw this.h9_1;
|
|
@@ -1143,33 +1168,33 @@
|
|
|
1143
1168
|
}
|
|
1144
1169
|
while (true);
|
|
1145
1170
|
};
|
|
1146
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1147
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1148
|
-
i.
|
|
1149
|
-
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;
|
|
1150
1175
|
return i;
|
|
1151
1176
|
};
|
|
1152
|
-
function GameServer$roomOnDelete$slambda_0(this$0, resultContinuation) {
|
|
1153
|
-
var i = new GameServer$roomOnDelete$slambda(this$0, resultContinuation);
|
|
1177
|
+
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
1178
|
+
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
1154
1179
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1155
|
-
return i.
|
|
1180
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1156
1181
|
};
|
|
1157
1182
|
l.$arity = 2;
|
|
1158
1183
|
return l;
|
|
1159
1184
|
}
|
|
1160
1185
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1161
|
-
this.
|
|
1186
|
+
this.tdd_1 = $enabled;
|
|
1162
1187
|
CoroutineImpl.call(this, resultContinuation);
|
|
1163
1188
|
}
|
|
1164
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1165
|
-
var tmp = this.
|
|
1189
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1190
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1166
1191
|
tmp.g9_1 = Unit_instance;
|
|
1167
1192
|
tmp.h9_1 = null;
|
|
1168
1193
|
return tmp.m9();
|
|
1169
1194
|
};
|
|
1170
1195
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1171
1196
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1172
|
-
return this.
|
|
1197
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1173
1198
|
};
|
|
1174
1199
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1175
1200
|
var suspendResult = this.g9_1;
|
|
@@ -1178,7 +1203,7 @@
|
|
|
1178
1203
|
var tmp = this.e9_1;
|
|
1179
1204
|
if (tmp === 0) {
|
|
1180
1205
|
this.f9_1 = 1;
|
|
1181
|
-
this.
|
|
1206
|
+
this.vdd_1.dispatch(new UpdateServerConfigAction(get_serverState(this.vdd_1.state).wdd_1.ydd(this.tdd_1)));
|
|
1182
1207
|
return Unit_instance;
|
|
1183
1208
|
} else if (tmp === 1) {
|
|
1184
1209
|
throw this.h9_1;
|
|
@@ -1189,35 +1214,35 @@
|
|
|
1189
1214
|
}
|
|
1190
1215
|
while (true);
|
|
1191
1216
|
};
|
|
1192
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1193
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1194
|
-
i.
|
|
1195
|
-
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;
|
|
1196
1221
|
return i;
|
|
1197
1222
|
};
|
|
1198
1223
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1199
1224
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1200
1225
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1201
|
-
return i.
|
|
1226
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1202
1227
|
};
|
|
1203
1228
|
l.$arity = 2;
|
|
1204
1229
|
return l;
|
|
1205
1230
|
}
|
|
1206
1231
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1207
|
-
this.
|
|
1208
|
-
this.
|
|
1209
|
-
this.
|
|
1232
|
+
this.hde_1 = $reason;
|
|
1233
|
+
this.ide_1 = this$0;
|
|
1234
|
+
this.jde_1 = $roomId;
|
|
1210
1235
|
CoroutineImpl.call(this, resultContinuation);
|
|
1211
1236
|
}
|
|
1212
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1213
|
-
var tmp = this.
|
|
1237
|
+
protoOf(GameServer$shutdown$slambda).vb5 = function ($this$dispatchAsync, store, $completion) {
|
|
1238
|
+
var tmp = this.wb5($this$dispatchAsync, store, $completion);
|
|
1214
1239
|
tmp.g9_1 = Unit_instance;
|
|
1215
1240
|
tmp.h9_1 = null;
|
|
1216
1241
|
return tmp.m9();
|
|
1217
1242
|
};
|
|
1218
1243
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1219
1244
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1220
|
-
return this.
|
|
1245
|
+
return this.vb5(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1221
1246
|
};
|
|
1222
1247
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1223
1248
|
var suspendResult = this.g9_1;
|
|
@@ -1226,11 +1251,11 @@
|
|
|
1226
1251
|
var tmp = this.e9_1;
|
|
1227
1252
|
if (tmp === 0) {
|
|
1228
1253
|
this.f9_1 = 1;
|
|
1229
|
-
var state = this.
|
|
1254
|
+
var state = this.lde_1.store.state;
|
|
1230
1255
|
if (state.g6x()) {
|
|
1231
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1256
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.hde_1, get_serverShutdownReasonMapping());
|
|
1232
1257
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1233
|
-
var tmp_0 = this.
|
|
1258
|
+
var tmp_0 = this.lde_1.dispatch;
|
|
1234
1259
|
var tmp_1 = Companion_instance_0;
|
|
1235
1260
|
var tmp_2;
|
|
1236
1261
|
switch (shutdownReason.n2_1) {
|
|
@@ -1244,10 +1269,10 @@
|
|
|
1244
1269
|
noWhenBranchMatchedException();
|
|
1245
1270
|
break;
|
|
1246
1271
|
}
|
|
1247
|
-
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));
|
|
1248
1273
|
} else {
|
|
1249
|
-
_get_logger__rkp4sl(this.
|
|
1250
|
-
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());
|
|
1251
1276
|
}
|
|
1252
1277
|
return Unit_instance;
|
|
1253
1278
|
} else if (tmp === 1) {
|
|
@@ -1259,22 +1284,22 @@
|
|
|
1259
1284
|
}
|
|
1260
1285
|
while (true);
|
|
1261
1286
|
};
|
|
1262
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1263
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1264
|
-
i.
|
|
1265
|
-
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;
|
|
1266
1291
|
return i;
|
|
1267
1292
|
};
|
|
1268
1293
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1269
1294
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1270
1295
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1271
|
-
return i.
|
|
1296
|
+
return i.vb5($this$dispatchAsync, store, $completion);
|
|
1272
1297
|
};
|
|
1273
1298
|
l.$arity = 2;
|
|
1274
1299
|
return l;
|
|
1275
1300
|
}
|
|
1276
1301
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1277
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.
|
|
1302
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.mde()) : preloadedState;
|
|
1278
1303
|
var tmp;
|
|
1279
1304
|
if (externalReducers === VOID) {
|
|
1280
1305
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1297,28 +1322,28 @@
|
|
|
1297
1322
|
// Inline function 'org.kodein.type.generic' call
|
|
1298
1323
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1299
1324
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1300
|
-
tmp_1.
|
|
1325
|
+
tmp_1.ud7_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory());
|
|
1301
1326
|
var tmp_3 = this;
|
|
1302
1327
|
// Inline function 'org.kodein.di.instance' call
|
|
1303
1328
|
// Inline function 'org.kodein.type.generic' call
|
|
1304
1329
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1305
1330
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1306
|
-
tmp_3.
|
|
1331
|
+
tmp_3.vd7_1 = Instance(di, tmp$ret$4, null).m67(this, toClientEventsObserver$factory());
|
|
1307
1332
|
var tmp_5 = this;
|
|
1308
1333
|
// Inline function 'org.kodein.di.instance' call
|
|
1309
1334
|
// Inline function 'org.kodein.type.generic' call
|
|
1310
1335
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1311
1336
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1312
|
-
tmp_5.
|
|
1337
|
+
tmp_5.wd7_1 = Instance(di, tmp$ret$6, null).m67(this, playerConnectionInteractor$factory());
|
|
1313
1338
|
var tmp_7 = this;
|
|
1314
|
-
tmp_7.
|
|
1339
|
+
tmp_7.xd7_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1315
1340
|
var tmp_8 = this;
|
|
1316
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1317
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1318
|
-
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);
|
|
1319
1344
|
}
|
|
1320
1345
|
protoOf(GameServer).s6v = function () {
|
|
1321
|
-
return this.
|
|
1346
|
+
return this.yd7_1;
|
|
1322
1347
|
};
|
|
1323
1348
|
protoOf(GameServer).w5o = function () {
|
|
1324
1349
|
return this.x6e().f6x().id;
|
|
@@ -1342,44 +1367,44 @@
|
|
|
1342
1367
|
};
|
|
1343
1368
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1344
1369
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1345
|
-
this.
|
|
1370
|
+
this.yd7_1.e6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1346
1371
|
};
|
|
1347
1372
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1348
1373
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1349
|
-
this.
|
|
1374
|
+
this.yd7_1.e6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1350
1375
|
};
|
|
1351
1376
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1352
1377
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1353
|
-
this.
|
|
1378
|
+
this.yd7_1.e6x(GameServer$playerLive$slambda_0(playerId, null));
|
|
1354
1379
|
};
|
|
1355
1380
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1356
1381
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1357
|
-
this.
|
|
1382
|
+
this.yd7_1.e6x(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1358
1383
|
};
|
|
1359
|
-
protoOf(GameServer).
|
|
1360
|
-
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));
|
|
1361
1386
|
};
|
|
1362
1387
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1363
|
-
this.
|
|
1388
|
+
this.yd7_1.e6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, null));
|
|
1364
1389
|
};
|
|
1365
1390
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1366
|
-
this.
|
|
1391
|
+
this.yd7_1.e6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1367
1392
|
};
|
|
1368
1393
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1369
|
-
this.
|
|
1394
|
+
this.yd7_1.e6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1370
1395
|
};
|
|
1371
1396
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1372
1397
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1373
|
-
this.
|
|
1398
|
+
this.yd7_1.e6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1374
1399
|
};
|
|
1375
|
-
protoOf(GameServer).
|
|
1376
|
-
this.
|
|
1400
|
+
protoOf(GameServer).ode = function (newRid) {
|
|
1401
|
+
this.yd7_1.e6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
1377
1402
|
};
|
|
1378
1403
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1379
|
-
this.
|
|
1404
|
+
this.yd7_1.e6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1380
1405
|
};
|
|
1381
|
-
protoOf(GameServer).
|
|
1382
|
-
this.
|
|
1406
|
+
protoOf(GameServer).pde = function (reason, roomId) {
|
|
1407
|
+
this.yd7_1.e6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1383
1408
|
};
|
|
1384
1409
|
protoOf(GameServer).clear = function () {
|
|
1385
1410
|
return this.a2();
|
|
@@ -1453,16 +1478,16 @@
|
|
|
1453
1478
|
return ServerShutdownReason_ERROR_instance;
|
|
1454
1479
|
}
|
|
1455
1480
|
function ServerConfig(canStartNewGame) {
|
|
1456
|
-
this.
|
|
1481
|
+
this.xdd_1 = canStartNewGame;
|
|
1457
1482
|
}
|
|
1458
|
-
protoOf(ServerConfig).
|
|
1483
|
+
protoOf(ServerConfig).ydd = function (canStartNewGame) {
|
|
1459
1484
|
return new ServerConfig(canStartNewGame);
|
|
1460
1485
|
};
|
|
1461
1486
|
protoOf(ServerConfig).toString = function () {
|
|
1462
|
-
return 'ServerConfig(canStartNewGame=' + this.
|
|
1487
|
+
return 'ServerConfig(canStartNewGame=' + this.xdd_1 + ')';
|
|
1463
1488
|
};
|
|
1464
1489
|
protoOf(ServerConfig).hashCode = function () {
|
|
1465
|
-
return getBooleanHashCode(this.
|
|
1490
|
+
return getBooleanHashCode(this.xdd_1);
|
|
1466
1491
|
};
|
|
1467
1492
|
protoOf(ServerConfig).equals = function (other) {
|
|
1468
1493
|
if (this === other)
|
|
@@ -1470,7 +1495,7 @@
|
|
|
1470
1495
|
if (!(other instanceof ServerConfig))
|
|
1471
1496
|
return false;
|
|
1472
1497
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1473
|
-
if (!(this.
|
|
1498
|
+
if (!(this.xdd_1 === tmp0_other_with_cast.xdd_1))
|
|
1474
1499
|
return false;
|
|
1475
1500
|
return true;
|
|
1476
1501
|
};
|
|
@@ -1702,18 +1727,18 @@
|
|
|
1702
1727
|
function ToClientEventsObserver() {
|
|
1703
1728
|
}
|
|
1704
1729
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
1705
|
-
this.
|
|
1706
|
-
this.
|
|
1730
|
+
this.zde_1 = this$0;
|
|
1731
|
+
this.adf_1 = $actions;
|
|
1707
1732
|
CoroutineImpl.call(this, resultContinuation);
|
|
1708
1733
|
}
|
|
1709
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1710
|
-
var tmp = this.
|
|
1734
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).hdf = function ($this$flow, $completion) {
|
|
1735
|
+
var tmp = this.idf($this$flow, $completion);
|
|
1711
1736
|
tmp.g9_1 = Unit_instance;
|
|
1712
1737
|
tmp.h9_1 = null;
|
|
1713
1738
|
return tmp.m9();
|
|
1714
1739
|
};
|
|
1715
1740
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
1716
|
-
return this.
|
|
1741
|
+
return this.hdf((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
1717
1742
|
};
|
|
1718
1743
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).m9 = function () {
|
|
1719
1744
|
var suspendResult = this.g9_1;
|
|
@@ -1724,23 +1749,23 @@
|
|
|
1724
1749
|
case 0:
|
|
1725
1750
|
this.f9_1 = 4;
|
|
1726
1751
|
var tmp_0 = this;
|
|
1727
|
-
tmp_0.
|
|
1752
|
+
tmp_0.cdf_1 = this.zde_1.ndf_1;
|
|
1728
1753
|
var tmp_1 = this;
|
|
1729
|
-
tmp_1.
|
|
1730
|
-
this.
|
|
1754
|
+
tmp_1.ddf_1 = transformToEmits(this.zde_1, this.adf_1);
|
|
1755
|
+
this.edf_1 = this.ddf_1.j();
|
|
1731
1756
|
this.e9_1 = 1;
|
|
1732
1757
|
continue $sm;
|
|
1733
1758
|
case 1:
|
|
1734
|
-
if (!this.
|
|
1759
|
+
if (!this.edf_1.k()) {
|
|
1735
1760
|
this.e9_1 = 3;
|
|
1736
1761
|
continue $sm;
|
|
1737
1762
|
}
|
|
1738
1763
|
|
|
1739
|
-
this.
|
|
1764
|
+
this.fdf_1 = this.edf_1.l();
|
|
1740
1765
|
var tmp_2 = this;
|
|
1741
|
-
tmp_2.
|
|
1766
|
+
tmp_2.gdf_1 = this.fdf_1;
|
|
1742
1767
|
this.e9_1 = 2;
|
|
1743
|
-
suspendResult = this.
|
|
1768
|
+
suspendResult = this.bdf_1.p18(this.gdf_1, this);
|
|
1744
1769
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1745
1770
|
return suspendResult;
|
|
1746
1771
|
}
|
|
@@ -1751,10 +1776,10 @@
|
|
|
1751
1776
|
continue $sm;
|
|
1752
1777
|
case 3:
|
|
1753
1778
|
l$ret$1: do {
|
|
1754
|
-
var this_0 = this.
|
|
1779
|
+
var this_0 = this.zde_1.mdf_1;
|
|
1755
1780
|
while (true) {
|
|
1756
1781
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1757
|
-
var upd = cur - this.
|
|
1782
|
+
var upd = cur - this.adf_1.m() | 0;
|
|
1758
1783
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
1759
1784
|
break l$ret$1;
|
|
1760
1785
|
}
|
|
@@ -1776,15 +1801,15 @@
|
|
|
1776
1801
|
}
|
|
1777
1802
|
while (true);
|
|
1778
1803
|
};
|
|
1779
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1780
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.
|
|
1781
|
-
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;
|
|
1782
1807
|
return i;
|
|
1783
1808
|
};
|
|
1784
1809
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
1785
1810
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
1786
1811
|
var l = function ($this$flow, $completion) {
|
|
1787
|
-
return i.
|
|
1812
|
+
return i.hdf($this$flow, $completion);
|
|
1788
1813
|
};
|
|
1789
1814
|
l.$arity = 1;
|
|
1790
1815
|
return l;
|
|
@@ -1857,29 +1882,29 @@
|
|
|
1857
1882
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
1858
1883
|
}
|
|
1859
1884
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
1860
|
-
var tmp = $this.
|
|
1885
|
+
var tmp = $this.ldf_1.b6m();
|
|
1861
1886
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1862
|
-
var this_0 = _this__u8e3s4.
|
|
1887
|
+
var this_0 = _this__u8e3s4.qdf_1;
|
|
1863
1888
|
var tmp_0 = copyToArray(this_0);
|
|
1864
1889
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1865
|
-
var this_1 = _this__u8e3s4.
|
|
1890
|
+
var this_1 = _this__u8e3s4.rdf_1;
|
|
1866
1891
|
var tmp$ret$1 = copyToArray(this_1);
|
|
1867
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
1892
|
+
return new ActionDeliveryPayload(_this__u8e3s4.pdf_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.sdf_1);
|
|
1868
1893
|
}
|
|
1869
1894
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
1870
|
-
this.
|
|
1871
|
-
this.
|
|
1872
|
-
this.
|
|
1873
|
-
this.
|
|
1895
|
+
this.pdf_1 = tableId;
|
|
1896
|
+
this.qdf_1 = includePlayers;
|
|
1897
|
+
this.rdf_1 = excludePlayers;
|
|
1898
|
+
this.sdf_1 = deliveryType;
|
|
1874
1899
|
}
|
|
1875
1900
|
protoOf(GroupKey).toString = function () {
|
|
1876
|
-
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() + ')';
|
|
1877
1902
|
};
|
|
1878
1903
|
protoOf(GroupKey).hashCode = function () {
|
|
1879
|
-
var result = getStringHashCode(this.
|
|
1880
|
-
result = imul(result, 31) + hashCode(this.
|
|
1881
|
-
result = imul(result, 31) + hashCode(this.
|
|
1882
|
-
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;
|
|
1883
1908
|
return result;
|
|
1884
1909
|
};
|
|
1885
1910
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -1888,35 +1913,35 @@
|
|
|
1888
1913
|
if (!(other instanceof GroupKey))
|
|
1889
1914
|
return false;
|
|
1890
1915
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
1891
|
-
if (!(this.
|
|
1916
|
+
if (!(this.pdf_1 === tmp0_other_with_cast.pdf_1))
|
|
1892
1917
|
return false;
|
|
1893
|
-
if (!equals(this.
|
|
1918
|
+
if (!equals(this.qdf_1, tmp0_other_with_cast.qdf_1))
|
|
1894
1919
|
return false;
|
|
1895
|
-
if (!equals(this.
|
|
1920
|
+
if (!equals(this.rdf_1, tmp0_other_with_cast.rdf_1))
|
|
1896
1921
|
return false;
|
|
1897
|
-
if (!this.
|
|
1922
|
+
if (!this.sdf_1.equals(tmp0_other_with_cast.sdf_1))
|
|
1898
1923
|
return false;
|
|
1899
1924
|
return true;
|
|
1900
1925
|
};
|
|
1901
1926
|
function Companion_0() {
|
|
1902
|
-
this.
|
|
1927
|
+
this.tdf_1 = 6;
|
|
1903
1928
|
}
|
|
1904
1929
|
var Companion_instance_8;
|
|
1905
1930
|
function Companion_getInstance_1() {
|
|
1906
1931
|
return Companion_instance_8;
|
|
1907
1932
|
}
|
|
1908
1933
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation) {
|
|
1909
|
-
this.
|
|
1934
|
+
this.cdg_1 = this$0;
|
|
1910
1935
|
CoroutineImpl.call(this, resultContinuation);
|
|
1911
1936
|
}
|
|
1912
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1913
|
-
var tmp = this.
|
|
1937
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).edg = function (actions, $completion) {
|
|
1938
|
+
var tmp = this.fdg(actions, $completion);
|
|
1914
1939
|
tmp.g9_1 = Unit_instance;
|
|
1915
1940
|
tmp.h9_1 = null;
|
|
1916
1941
|
return tmp.m9();
|
|
1917
1942
|
};
|
|
1918
1943
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).w9 = function (p1, $completion) {
|
|
1919
|
-
return this.
|
|
1944
|
+
return this.edg((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
1920
1945
|
};
|
|
1921
1946
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).m9 = function () {
|
|
1922
1947
|
var suspendResult = this.g9_1;
|
|
@@ -1925,7 +1950,7 @@
|
|
|
1925
1950
|
var tmp = this.e9_1;
|
|
1926
1951
|
if (tmp === 0) {
|
|
1927
1952
|
this.f9_1 = 1;
|
|
1928
|
-
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.
|
|
1953
|
+
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.cdg_1, this.ddg_1, null));
|
|
1929
1954
|
} else if (tmp === 1) {
|
|
1930
1955
|
throw this.h9_1;
|
|
1931
1956
|
}
|
|
@@ -1935,23 +1960,23 @@
|
|
|
1935
1960
|
}
|
|
1936
1961
|
while (true);
|
|
1937
1962
|
};
|
|
1938
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1939
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.
|
|
1940
|
-
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;
|
|
1941
1966
|
return i;
|
|
1942
1967
|
};
|
|
1943
1968
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this$0, resultContinuation) {
|
|
1944
1969
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation);
|
|
1945
1970
|
var l = function (actions, $completion) {
|
|
1946
|
-
return i.
|
|
1971
|
+
return i.edg(actions, $completion);
|
|
1947
1972
|
};
|
|
1948
1973
|
l.$arity = 1;
|
|
1949
1974
|
return l;
|
|
1950
1975
|
}
|
|
1951
1976
|
function $sentEventCOROUTINE$0(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
1952
1977
|
CoroutineImpl.call(this, resultContinuation);
|
|
1953
|
-
this.
|
|
1954
|
-
this.
|
|
1978
|
+
this.odg_1 = _this__u8e3s4;
|
|
1979
|
+
this.pdg_1 = fromEvent;
|
|
1955
1980
|
}
|
|
1956
1981
|
protoOf($sentEventCOROUTINE$0).m9 = function () {
|
|
1957
1982
|
var suspendResult = this.g9_1;
|
|
@@ -1962,9 +1987,9 @@
|
|
|
1962
1987
|
case 0:
|
|
1963
1988
|
this.f9_1 = 2;
|
|
1964
1989
|
var tmp_0 = this;
|
|
1965
|
-
tmp_0.
|
|
1990
|
+
tmp_0.qdg_1 = this.odg_1.ndf_1;
|
|
1966
1991
|
l$ret$1: do {
|
|
1967
|
-
var this_0 = this.
|
|
1992
|
+
var this_0 = this.odg_1.mdf_1;
|
|
1968
1993
|
while (true) {
|
|
1969
1994
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1970
1995
|
var upd = cur + 1 | 0;
|
|
@@ -1975,7 +2000,7 @@
|
|
|
1975
2000
|
}
|
|
1976
2001
|
while (false);
|
|
1977
2002
|
this.e9_1 = 1;
|
|
1978
|
-
suspendResult = this.
|
|
2003
|
+
suspendResult = this.odg_1.odf_1.p18(this.pdg_1, this);
|
|
1979
2004
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1980
2005
|
return suspendResult;
|
|
1981
2006
|
}
|
|
@@ -1999,7 +2024,7 @@
|
|
|
1999
2024
|
};
|
|
2000
2025
|
function $waitForCOROUTINE$1(_this__u8e3s4, resultContinuation) {
|
|
2001
2026
|
CoroutineImpl.call(this, resultContinuation);
|
|
2002
|
-
this.
|
|
2027
|
+
this.zdg_1 = _this__u8e3s4;
|
|
2003
2028
|
}
|
|
2004
2029
|
protoOf($waitForCOROUTINE$1).m9 = function () {
|
|
2005
2030
|
var suspendResult = this.g9_1;
|
|
@@ -2010,12 +2035,12 @@
|
|
|
2010
2035
|
case 0:
|
|
2011
2036
|
this.f9_1 = 5;
|
|
2012
2037
|
var tmp_0 = this;
|
|
2013
|
-
tmp_0.
|
|
2014
|
-
this.
|
|
2038
|
+
tmp_0.adh_1 = this.zdg_1.ndf_1;
|
|
2039
|
+
this.bdh_1 = 0;
|
|
2015
2040
|
this.e9_1 = 1;
|
|
2016
2041
|
continue $sm;
|
|
2017
2042
|
case 1:
|
|
2018
|
-
if (!!(this.
|
|
2043
|
+
if (!!(this.zdg_1.mdf_1.kotlinx$atomicfu$value === 0)) {
|
|
2019
2044
|
this.e9_1 = 4;
|
|
2020
2045
|
continue $sm;
|
|
2021
2046
|
}
|
|
@@ -2028,9 +2053,9 @@
|
|
|
2028
2053
|
|
|
2029
2054
|
continue $sm;
|
|
2030
2055
|
case 2:
|
|
2031
|
-
this.
|
|
2032
|
-
if (this.
|
|
2033
|
-
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);
|
|
2034
2059
|
this.e9_1 = 4;
|
|
2035
2060
|
continue $sm;
|
|
2036
2061
|
} else {
|
|
@@ -2058,42 +2083,42 @@
|
|
|
2058
2083
|
while (true);
|
|
2059
2084
|
};
|
|
2060
2085
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
2061
|
-
this.
|
|
2062
|
-
this.
|
|
2063
|
-
this.
|
|
2064
|
-
this.
|
|
2086
|
+
this.jdf_1 = serverReduxConfig;
|
|
2087
|
+
this.kdf_1 = logger;
|
|
2088
|
+
this.ldf_1 = idsProvider;
|
|
2089
|
+
this.mdf_1 = atomic$ref$1(0);
|
|
2065
2090
|
var tmp = this;
|
|
2066
2091
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
2067
|
-
tmp.
|
|
2068
|
-
this.
|
|
2092
|
+
tmp.ndf_1 = get_atomicfu$reentrantLock();
|
|
2093
|
+
this.odf_1 = MutableSharedFlow();
|
|
2069
2094
|
}
|
|
2070
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2095
|
+
protoOf(ToClientEventsObserverImpl).qde = function (fromEvent, $completion) {
|
|
2071
2096
|
var tmp = new $sentEventCOROUTINE$0(this, fromEvent, $completion);
|
|
2072
2097
|
tmp.g9_1 = Unit_instance;
|
|
2073
2098
|
tmp.h9_1 = null;
|
|
2074
2099
|
return tmp.m9();
|
|
2075
2100
|
};
|
|
2076
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2101
|
+
protoOf(ToClientEventsObserverImpl).p9k = function ($completion) {
|
|
2077
2102
|
var tmp = new $waitForCOROUTINE$1(this, $completion);
|
|
2078
2103
|
tmp.g9_1 = Unit_instance;
|
|
2079
2104
|
tmp.h9_1 = null;
|
|
2080
2105
|
return tmp.m9();
|
|
2081
2106
|
};
|
|
2082
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2083
|
-
if (!this.
|
|
2084
|
-
return this.
|
|
2107
|
+
protoOf(ToClientEventsObserverImpl).uba = function () {
|
|
2108
|
+
if (!this.jdf_1.enabledCombinedEvents) {
|
|
2109
|
+
return this.odf_1;
|
|
2085
2110
|
}
|
|
2086
|
-
var tmp = windowedByInterval(this.
|
|
2111
|
+
var tmp = windowedByInterval(this.odf_1, toLong(this.jdf_1.combinedEventsPeriod));
|
|
2087
2112
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this, null));
|
|
2088
2113
|
};
|
|
2089
2114
|
function UpdateServerConfigAction(serverConfig) {
|
|
2090
|
-
this.
|
|
2115
|
+
this.cdh_1 = serverConfig;
|
|
2091
2116
|
}
|
|
2092
2117
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
2093
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
2118
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.cdh_1.toString() + ')';
|
|
2094
2119
|
};
|
|
2095
2120
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
2096
|
-
return this.
|
|
2121
|
+
return this.cdh_1.hashCode();
|
|
2097
2122
|
};
|
|
2098
2123
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
2099
2124
|
if (this === other)
|
|
@@ -2101,18 +2126,18 @@
|
|
|
2101
2126
|
if (!(other instanceof UpdateServerConfigAction))
|
|
2102
2127
|
return false;
|
|
2103
2128
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
2104
|
-
if (!this.
|
|
2129
|
+
if (!this.cdh_1.equals(tmp0_other_with_cast.cdh_1))
|
|
2105
2130
|
return false;
|
|
2106
2131
|
return true;
|
|
2107
2132
|
};
|
|
2108
2133
|
function AddSpectatorsAction(spectators) {
|
|
2109
|
-
this.
|
|
2134
|
+
this.ddh_1 = spectators;
|
|
2110
2135
|
}
|
|
2111
2136
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
2112
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
2137
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ddh_1) + ')';
|
|
2113
2138
|
};
|
|
2114
2139
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
2115
|
-
return hashCode(this.
|
|
2140
|
+
return hashCode(this.ddh_1);
|
|
2116
2141
|
};
|
|
2117
2142
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
2118
2143
|
if (this === other)
|
|
@@ -2120,18 +2145,18 @@
|
|
|
2120
2145
|
if (!(other instanceof AddSpectatorsAction))
|
|
2121
2146
|
return false;
|
|
2122
2147
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
2123
|
-
if (!equals(this.
|
|
2148
|
+
if (!equals(this.ddh_1, tmp0_other_with_cast.ddh_1))
|
|
2124
2149
|
return false;
|
|
2125
2150
|
return true;
|
|
2126
2151
|
};
|
|
2127
2152
|
function RemoveSpectatorsAction(spectators) {
|
|
2128
|
-
this.
|
|
2153
|
+
this.edh_1 = spectators;
|
|
2129
2154
|
}
|
|
2130
2155
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
2131
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
2156
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.edh_1) + ')';
|
|
2132
2157
|
};
|
|
2133
2158
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
2134
|
-
return hashCode(this.
|
|
2159
|
+
return hashCode(this.edh_1);
|
|
2135
2160
|
};
|
|
2136
2161
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
2137
2162
|
if (this === other)
|
|
@@ -2139,7 +2164,7 @@
|
|
|
2139
2164
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
2140
2165
|
return false;
|
|
2141
2166
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
2142
|
-
if (!equals(this.
|
|
2167
|
+
if (!equals(this.edh_1, tmp0_other_with_cast.edh_1))
|
|
2143
2168
|
return false;
|
|
2144
2169
|
return true;
|
|
2145
2170
|
};
|
|
@@ -2147,66 +2172,66 @@
|
|
|
2147
2172
|
}
|
|
2148
2173
|
function _get_asyncProvider__jbpyhw($this) {
|
|
2149
2174
|
// Inline function 'kotlin.getValue' call
|
|
2150
|
-
var this_0 = $this.
|
|
2175
|
+
var this_0 = $this.kdh_1;
|
|
2151
2176
|
asyncProvider$factory_0();
|
|
2152
2177
|
return this_0.u();
|
|
2153
2178
|
}
|
|
2154
2179
|
function _get_logger__rkp4sl_0($this) {
|
|
2155
2180
|
// Inline function 'kotlin.getValue' call
|
|
2156
|
-
var this_0 = $this.
|
|
2181
|
+
var this_0 = $this.ldh_1;
|
|
2157
2182
|
logger$factory_2();
|
|
2158
2183
|
return this_0.u();
|
|
2159
2184
|
}
|
|
2160
2185
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
2161
2186
|
// Inline function 'kotlin.getValue' call
|
|
2162
|
-
var this_0 = $this.
|
|
2187
|
+
var this_0 = $this.mdh_1;
|
|
2163
2188
|
playerConnectionInteractor$factory_2();
|
|
2164
2189
|
return this_0.u();
|
|
2165
2190
|
}
|
|
2166
2191
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
2167
2192
|
// Inline function 'kotlin.getValue' call
|
|
2168
|
-
var this_0 = $this.
|
|
2193
|
+
var this_0 = $this.ndh_1;
|
|
2169
2194
|
lastCardInteractor$factory_0();
|
|
2170
2195
|
return this_0.u();
|
|
2171
2196
|
}
|
|
2172
2197
|
function _get_serverConfig__rk2g06($this) {
|
|
2173
2198
|
// Inline function 'kotlin.getValue' call
|
|
2174
|
-
var this_0 = $this.
|
|
2199
|
+
var this_0 = $this.odh_1;
|
|
2175
2200
|
serverConfig$factory_0();
|
|
2176
2201
|
return this_0.u();
|
|
2177
2202
|
}
|
|
2178
2203
|
function _get_logicConfig__52ww9d($this) {
|
|
2179
2204
|
// Inline function 'kotlin.getValue' call
|
|
2180
|
-
var this_0 = $this.
|
|
2205
|
+
var this_0 = $this.pdh_1;
|
|
2181
2206
|
logicConfig$factory_0();
|
|
2182
2207
|
return this_0.u();
|
|
2183
2208
|
}
|
|
2184
2209
|
function _get_idsProvider__fnfajc($this) {
|
|
2185
2210
|
// Inline function 'kotlin.getValue' call
|
|
2186
|
-
var this_0 = $this.
|
|
2211
|
+
var this_0 = $this.qdh_1;
|
|
2187
2212
|
idsProvider$factory_0();
|
|
2188
2213
|
return this_0.u();
|
|
2189
2214
|
}
|
|
2190
2215
|
function _get_botConfig__cpaxzc($this) {
|
|
2191
2216
|
// Inline function 'kotlin.getValue' call
|
|
2192
|
-
var this_0 = $this.
|
|
2217
|
+
var this_0 = $this.rdh_1;
|
|
2193
2218
|
botConfig$factory_0();
|
|
2194
2219
|
return this_0.u();
|
|
2195
2220
|
}
|
|
2196
2221
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
2197
2222
|
// Inline function 'kotlin.getValue' call
|
|
2198
|
-
var this_0 = $this.
|
|
2223
|
+
var this_0 = $this.sdh_1;
|
|
2199
2224
|
scenePositionProvider$factory_0();
|
|
2200
2225
|
return this_0.u();
|
|
2201
2226
|
}
|
|
2202
2227
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
2203
2228
|
// Inline function 'kotlin.getValue' call
|
|
2204
|
-
var this_0 = $this.
|
|
2229
|
+
var this_0 = $this.tdh_1;
|
|
2205
2230
|
toClientEventsObserver$factory_2();
|
|
2206
2231
|
return this_0.u();
|
|
2207
2232
|
}
|
|
2208
2233
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
2209
|
-
return !player.
|
|
2234
|
+
return !player.g6g();
|
|
2210
2235
|
}
|
|
2211
2236
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
2212
2237
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -2214,77 +2239,77 @@
|
|
|
2214
2239
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
2215
2240
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
2216
2241
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
2217
|
-
this.
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2220
|
-
this.
|
|
2221
|
-
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;
|
|
2222
2247
|
var tmp = this;
|
|
2223
2248
|
// Inline function 'org.kodein.di.instance' call
|
|
2224
2249
|
// Inline function 'org.kodein.type.generic' call
|
|
2225
2250
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
2226
2251
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2227
|
-
tmp.
|
|
2252
|
+
tmp.kdh_1 = Instance(di, tmp$ret$0, null).m67(this, asyncProvider$factory());
|
|
2228
2253
|
var tmp_1 = this;
|
|
2229
2254
|
// Inline function 'org.kodein.di.instance' call
|
|
2230
2255
|
// Inline function 'org.kodein.type.generic' call
|
|
2231
2256
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2232
2257
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2233
|
-
tmp_1.
|
|
2258
|
+
tmp_1.ldh_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory_1());
|
|
2234
2259
|
var tmp_3 = this;
|
|
2235
2260
|
// Inline function 'org.kodein.di.instance' call
|
|
2236
2261
|
// Inline function 'org.kodein.type.generic' call
|
|
2237
2262
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2238
2263
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2239
|
-
tmp_3.
|
|
2264
|
+
tmp_3.mdh_1 = Instance(di, tmp$ret$4, null).m67(this, playerConnectionInteractor$factory_1());
|
|
2240
2265
|
var tmp_5 = this;
|
|
2241
2266
|
// Inline function 'org.kodein.di.instance' call
|
|
2242
2267
|
// Inline function 'org.kodein.type.generic' call
|
|
2243
2268
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
2244
2269
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2245
|
-
tmp_5.
|
|
2270
|
+
tmp_5.ndh_1 = Instance(di, tmp$ret$6, null).m67(this, lastCardInteractor$factory());
|
|
2246
2271
|
var tmp_7 = this;
|
|
2247
2272
|
// Inline function 'org.kodein.di.instance' call
|
|
2248
2273
|
// Inline function 'org.kodein.type.generic' call
|
|
2249
2274
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2250
2275
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2251
|
-
tmp_7.
|
|
2276
|
+
tmp_7.odh_1 = Instance(di, tmp$ret$8, null).m67(this, serverConfig$factory());
|
|
2252
2277
|
var tmp_9 = this;
|
|
2253
2278
|
// Inline function 'org.kodein.di.instance' call
|
|
2254
2279
|
// Inline function 'org.kodein.type.generic' call
|
|
2255
2280
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2256
2281
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2257
|
-
tmp_9.
|
|
2282
|
+
tmp_9.pdh_1 = Instance(di, tmp$ret$10, null).m67(this, logicConfig$factory());
|
|
2258
2283
|
var tmp_11 = this;
|
|
2259
2284
|
// Inline function 'org.kodein.di.instance' call
|
|
2260
2285
|
// Inline function 'org.kodein.type.generic' call
|
|
2261
2286
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2262
2287
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2263
|
-
tmp_11.
|
|
2288
|
+
tmp_11.qdh_1 = Instance(di, tmp$ret$12, null).m67(this, idsProvider$factory());
|
|
2264
2289
|
var tmp_13 = this;
|
|
2265
2290
|
// Inline function 'org.kodein.di.instance' call
|
|
2266
2291
|
// Inline function 'org.kodein.type.generic' call
|
|
2267
2292
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
2268
2293
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2269
|
-
tmp_13.
|
|
2294
|
+
tmp_13.rdh_1 = Instance(di, tmp$ret$14, null).m67(this, botConfig$factory());
|
|
2270
2295
|
var tmp_15 = this;
|
|
2271
2296
|
// Inline function 'org.kodein.di.instance' call
|
|
2272
2297
|
// Inline function 'org.kodein.type.generic' call
|
|
2273
2298
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
2274
2299
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2275
|
-
tmp_15.
|
|
2300
|
+
tmp_15.sdh_1 = Instance(di, tmp$ret$16, null).m67(this, scenePositionProvider$factory());
|
|
2276
2301
|
var tmp_17 = this;
|
|
2277
2302
|
// Inline function 'org.kodein.di.instance' call
|
|
2278
2303
|
// Inline function 'org.kodein.type.generic' call
|
|
2279
2304
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2280
2305
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2281
|
-
tmp_17.
|
|
2306
|
+
tmp_17.tdh_1 = Instance(di, tmp$ret$18, null).m67(this, toClientEventsObserver$factory_1());
|
|
2282
2307
|
}
|
|
2283
|
-
protoOf(ServerGameStoreContract).
|
|
2284
|
-
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))]));
|
|
2285
2310
|
};
|
|
2286
|
-
protoOf(ServerGameStoreContract).
|
|
2287
|
-
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()]));
|
|
2288
2313
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
2289
2314
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
2290
2315
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -2414,7 +2439,7 @@
|
|
|
2414
2439
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
2415
2440
|
next(action_0);
|
|
2416
2441
|
var state = store.state;
|
|
2417
|
-
if (!get_serverState(state).
|
|
2442
|
+
if (!get_serverState(state).wdd_1.xdd_1 && action_0.isGameFinished) {
|
|
2418
2443
|
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.d6w_1));
|
|
2419
2444
|
}
|
|
2420
2445
|
};
|
|
@@ -2427,7 +2452,7 @@
|
|
|
2427
2452
|
};
|
|
2428
2453
|
}
|
|
2429
2454
|
function _no_name_provided__qut3iv_0(this$0) {
|
|
2430
|
-
this.
|
|
2455
|
+
this.wdh_1 = this$0;
|
|
2431
2456
|
}
|
|
2432
2457
|
protoOf(_no_name_provided__qut3iv_0).c6o = function (action) {
|
|
2433
2458
|
return action instanceof MechanicAction;
|
|
@@ -2442,11 +2467,11 @@
|
|
|
2442
2467
|
var tmp;
|
|
2443
2468
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
2444
2469
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2445
|
-
var this_0 = this.
|
|
2446
|
-
var tableId = action_0.
|
|
2447
|
-
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;
|
|
2448
2473
|
// Inline function 'kotlin.collections.map' call
|
|
2449
|
-
var this_1 = action_0.
|
|
2474
|
+
var this_1 = action_0.e88_1;
|
|
2450
2475
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2451
2476
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
2452
2477
|
var tmp0_iterator = this_1.j();
|
|
@@ -2487,7 +2512,7 @@
|
|
|
2487
2512
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2488
2513
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2489
2514
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2490
|
-
var tmp0_aid = this_0.
|
|
2515
|
+
var tmp0_aid = this_0.vdh_1.b6m();
|
|
2491
2516
|
// Inline function 'kotlin.collections.map' call
|
|
2492
2517
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2493
2518
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
@@ -2512,17 +2537,17 @@
|
|
|
2512
2537
|
} else {
|
|
2513
2538
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
2514
2539
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2515
|
-
var this_2 = this.
|
|
2540
|
+
var this_2 = this.wdh_1;
|
|
2516
2541
|
var table = state.f6x();
|
|
2517
2542
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2518
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
2543
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.vdh_1.b6m(), table.id, null);
|
|
2519
2544
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
2520
2545
|
tmp = listOfNotNull(tmp$ret$18);
|
|
2521
2546
|
} else {
|
|
2522
2547
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
2523
2548
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2524
|
-
var this_3 = this.
|
|
2525
|
-
var tableId_0 = action_0.
|
|
2549
|
+
var this_3 = this.wdh_1;
|
|
2550
|
+
var tableId_0 = action_0.h88_1.id;
|
|
2526
2551
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
2527
2552
|
var players = getPlayers();
|
|
2528
2553
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -2556,7 +2581,7 @@
|
|
|
2556
2581
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2557
2582
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2558
2583
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2559
|
-
var tmp0_aid_0 = this_3.
|
|
2584
|
+
var tmp0_aid_0 = this_3.vdh_1.b6m();
|
|
2560
2585
|
// Inline function 'kotlin.collections.map' call
|
|
2561
2586
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2562
2587
|
var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
|
|
@@ -2581,43 +2606,43 @@
|
|
|
2581
2606
|
} else {
|
|
2582
2607
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
2583
2608
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2584
|
-
var this_4 = this.
|
|
2609
|
+
var this_4 = this.wdh_1;
|
|
2585
2610
|
var table_0 = state.f6x();
|
|
2586
2611
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2587
|
-
var sendToPlayer_2 = new RoomActionPayload(this_4.
|
|
2612
|
+
var sendToPlayer_2 = new RoomActionPayload(this_4.vdh_1.b6m(), table_0.id, null);
|
|
2588
2613
|
var tmp$ret$35 = mapToClient_14(action_0, sendToPlayer_2);
|
|
2589
2614
|
tmp = listOfNotNull(tmp$ret$35);
|
|
2590
2615
|
} else {
|
|
2591
2616
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
2592
2617
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2593
|
-
var this_5 = this.
|
|
2618
|
+
var this_5 = this.wdh_1;
|
|
2594
2619
|
var table_1 = state.f6x();
|
|
2595
2620
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2596
|
-
var sendToPlayer_3 = new RoomActionPayload(this_5.
|
|
2621
|
+
var sendToPlayer_3 = new RoomActionPayload(this_5.vdh_1.b6m(), table_1.id, null);
|
|
2597
2622
|
var tmp$ret$37 = mapToClient_13(action_0, sendToPlayer_3);
|
|
2598
2623
|
tmp = listOfNotNull(tmp$ret$37);
|
|
2599
2624
|
} else {
|
|
2600
2625
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
2601
2626
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2602
|
-
var this_6 = this.
|
|
2627
|
+
var this_6 = this.wdh_1;
|
|
2603
2628
|
var table_2 = state.f6x();
|
|
2604
2629
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2605
|
-
var sendToPlayer_4 = new RoomActionPayload(this_6.
|
|
2630
|
+
var sendToPlayer_4 = new RoomActionPayload(this_6.vdh_1.b6m(), table_2.id, null);
|
|
2606
2631
|
var tmp$ret$39 = mapToClient_12(action_0, sendToPlayer_4);
|
|
2607
2632
|
tmp = listOfNotNull(tmp$ret$39);
|
|
2608
2633
|
} else {
|
|
2609
2634
|
if (action_0 instanceof ErrorAction) {
|
|
2610
2635
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2611
|
-
var this_7 = this.
|
|
2636
|
+
var this_7 = this.wdh_1;
|
|
2612
2637
|
var table_3 = state.f6x();
|
|
2613
2638
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2614
|
-
var sendToPlayer_5 = new RoomActionPayload(this_7.
|
|
2639
|
+
var sendToPlayer_5 = new RoomActionPayload(this_7.vdh_1.b6m(), table_3.id, null);
|
|
2615
2640
|
var tmp$ret$41 = mapToClient_11(action_0, sendToPlayer_5);
|
|
2616
2641
|
tmp = listOfNotNull(tmp$ret$41);
|
|
2617
2642
|
} else {
|
|
2618
2643
|
if (action_0 instanceof SceneMechanicAction) {
|
|
2619
2644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2620
|
-
var this_8 = this.
|
|
2645
|
+
var this_8 = this.wdh_1;
|
|
2621
2646
|
var table_4 = state.f6x();
|
|
2622
2647
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2623
2648
|
var tableId_1 = table_4.id;
|
|
@@ -2654,7 +2679,7 @@
|
|
|
2654
2679
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2655
2680
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2656
2681
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2657
|
-
var tmp0_aid_1 = this_8.
|
|
2682
|
+
var tmp0_aid_1 = this_8.vdh_1.b6m();
|
|
2658
2683
|
// Inline function 'kotlin.collections.map' call
|
|
2659
2684
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2660
2685
|
var destination_11 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_0, 10));
|
|
@@ -2679,7 +2704,7 @@
|
|
|
2679
2704
|
} else {
|
|
2680
2705
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
2681
2706
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2682
|
-
var this_9 = this.
|
|
2707
|
+
var this_9 = this.wdh_1;
|
|
2683
2708
|
var table_5 = state.f6x();
|
|
2684
2709
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2685
2710
|
var tableId_2 = table_5.id;
|
|
@@ -2716,7 +2741,7 @@
|
|
|
2716
2741
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2717
2742
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2718
2743
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2719
|
-
var tmp0_aid_2 = this_9.
|
|
2744
|
+
var tmp0_aid_2 = this_9.vdh_1.b6m();
|
|
2720
2745
|
// Inline function 'kotlin.collections.map' call
|
|
2721
2746
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2722
2747
|
var destination_15 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_1, 10));
|
|
@@ -2741,7 +2766,7 @@
|
|
|
2741
2766
|
} else {
|
|
2742
2767
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
2743
2768
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2744
|
-
var this_10 = this.
|
|
2769
|
+
var this_10 = this.wdh_1;
|
|
2745
2770
|
var table_6 = state.f6x();
|
|
2746
2771
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2747
2772
|
var tableId_3 = table_6.id;
|
|
@@ -2778,7 +2803,7 @@
|
|
|
2778
2803
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2779
2804
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2780
2805
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2781
|
-
var tmp0_aid_3 = this_10.
|
|
2806
|
+
var tmp0_aid_3 = this_10.vdh_1.b6m();
|
|
2782
2807
|
// Inline function 'kotlin.collections.map' call
|
|
2783
2808
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2784
2809
|
var destination_19 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_2, 10));
|
|
@@ -2791,7 +2816,7 @@
|
|
|
2791
2816
|
}
|
|
2792
2817
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_19);
|
|
2793
2818
|
var tmp_0;
|
|
2794
|
-
if (this.
|
|
2819
|
+
if (this.wdh_1.udh_1.supportBackwardActions && getPlayer(state.f6x().players, sendToPlayer_8.w7k_1).c74_1.h74_1) {
|
|
2795
2820
|
tmp_0 = null;
|
|
2796
2821
|
} else {
|
|
2797
2822
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -2809,79 +2834,79 @@
|
|
|
2809
2834
|
} else {
|
|
2810
2835
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
2811
2836
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2812
|
-
var this_11 = this.
|
|
2837
|
+
var this_11 = this.wdh_1;
|
|
2813
2838
|
var table_7 = state.f6x();
|
|
2814
|
-
var exceptPlayerId = this.
|
|
2839
|
+
var exceptPlayerId = this.wdh_1.udh_1.supportBackwardActions ? action_0.g89_1 : null;
|
|
2815
2840
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2816
|
-
var sendToPlayer_9 = new RoomActionPayload(this_11.
|
|
2841
|
+
var sendToPlayer_9 = new RoomActionPayload(this_11.vdh_1.b6m(), table_7.id, exceptPlayerId);
|
|
2817
2842
|
var tmp$ret$91 = mapToClient_7(action_0, sendToPlayer_9);
|
|
2818
2843
|
tmp = listOfNotNull(tmp$ret$91);
|
|
2819
2844
|
} else {
|
|
2820
2845
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
2821
2846
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2822
|
-
var this_12 = this.
|
|
2847
|
+
var this_12 = this.wdh_1;
|
|
2823
2848
|
var table_8 = state.f6x();
|
|
2824
|
-
var exceptPlayerId_0 = this.
|
|
2849
|
+
var exceptPlayerId_0 = this.wdh_1.udh_1.supportBackwardActions ? action_0.k89_1 : null;
|
|
2825
2850
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2826
|
-
var sendToPlayer_10 = new RoomActionPayload(this_12.
|
|
2851
|
+
var sendToPlayer_10 = new RoomActionPayload(this_12.vdh_1.b6m(), table_8.id, exceptPlayerId_0);
|
|
2827
2852
|
var tmp$ret$93 = mapToClient_6(action_0, sendToPlayer_10);
|
|
2828
2853
|
tmp = listOfNotNull(tmp$ret$93);
|
|
2829
2854
|
} else {
|
|
2830
2855
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
2831
2856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2832
|
-
var this_13 = this.
|
|
2857
|
+
var this_13 = this.wdh_1;
|
|
2833
2858
|
var table_9 = state.f6x();
|
|
2834
2859
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2835
|
-
var sendToPlayer_11 = new RoomActionPayload(this_13.
|
|
2860
|
+
var sendToPlayer_11 = new RoomActionPayload(this_13.vdh_1.b6m(), table_9.id, null);
|
|
2836
2861
|
var tmp$ret$95 = mapToClient_5(action_0, sendToPlayer_11);
|
|
2837
2862
|
tmp = listOfNotNull(tmp$ret$95);
|
|
2838
2863
|
} else {
|
|
2839
2864
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
2840
2865
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2841
|
-
var this_14 = this.
|
|
2866
|
+
var this_14 = this.wdh_1;
|
|
2842
2867
|
var table_10 = state.f6x();
|
|
2843
|
-
var exceptPlayerId_1 = this.
|
|
2868
|
+
var exceptPlayerId_1 = this.wdh_1.udh_1.supportBackwardActions ? action_0.r89_1 : null;
|
|
2844
2869
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2845
|
-
var sendToPlayer_12 = new RoomActionPayload(this_14.
|
|
2870
|
+
var sendToPlayer_12 = new RoomActionPayload(this_14.vdh_1.b6m(), table_10.id, exceptPlayerId_1);
|
|
2846
2871
|
var tmp$ret$97 = mapToClient_4(action_0, sendToPlayer_12);
|
|
2847
2872
|
tmp = listOfNotNull(tmp$ret$97);
|
|
2848
2873
|
} else {
|
|
2849
2874
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
2850
2875
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2851
|
-
var this_15 = this.
|
|
2876
|
+
var this_15 = this.wdh_1;
|
|
2852
2877
|
var table_11 = state.f6x();
|
|
2853
|
-
var exceptPlayerId_2 = this.
|
|
2878
|
+
var exceptPlayerId_2 = this.wdh_1.udh_1.supportBackwardActions ? action_0.v89_1 : null;
|
|
2854
2879
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2855
|
-
var sendToPlayer_13 = new RoomActionPayload(this_15.
|
|
2880
|
+
var sendToPlayer_13 = new RoomActionPayload(this_15.vdh_1.b6m(), table_11.id, exceptPlayerId_2);
|
|
2856
2881
|
var tmp$ret$99 = mapToClient_3(action_0, sendToPlayer_13);
|
|
2857
2882
|
tmp = listOfNotNull(tmp$ret$99);
|
|
2858
2883
|
} else {
|
|
2859
2884
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
2860
2885
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2861
|
-
var this_16 = this.
|
|
2886
|
+
var this_16 = this.wdh_1;
|
|
2862
2887
|
var table_12 = state.f6x();
|
|
2863
2888
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2864
|
-
var sendToPlayer_14 = new RoomActionPayload(this_16.
|
|
2889
|
+
var sendToPlayer_14 = new RoomActionPayload(this_16.vdh_1.b6m(), table_12.id, null);
|
|
2865
2890
|
var tmp$ret$101 = mapToClient_2(action_0, sendToPlayer_14);
|
|
2866
2891
|
tmp = listOfNotNull(tmp$ret$101);
|
|
2867
2892
|
} else {
|
|
2868
2893
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
2869
2894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2870
|
-
var this_17 = this.
|
|
2895
|
+
var this_17 = this.wdh_1;
|
|
2871
2896
|
var table_13 = state.f6x();
|
|
2872
2897
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2873
|
-
var sendToPlayer_15 = new RoomActionPayload(this_17.
|
|
2898
|
+
var sendToPlayer_15 = new RoomActionPayload(this_17.vdh_1.b6m(), table_13.id, null);
|
|
2874
2899
|
var tmp$ret$103 = mapToClient_1(action_0, sendToPlayer_15);
|
|
2875
2900
|
tmp = listOfNotNull(tmp$ret$103);
|
|
2876
2901
|
} else {
|
|
2877
2902
|
if (action_0 instanceof MessageMechanicAction) {
|
|
2878
|
-
var message = action_0.
|
|
2903
|
+
var message = action_0.d8a_1;
|
|
2879
2904
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2880
|
-
var this_18 = this.
|
|
2905
|
+
var this_18 = this.wdh_1;
|
|
2881
2906
|
var table_14 = state.f6x();
|
|
2882
2907
|
var tmp_1;
|
|
2883
2908
|
var tmp_2;
|
|
2884
|
-
if (this.
|
|
2909
|
+
if (this.wdh_1.udh_1.supportBackwardActions) {
|
|
2885
2910
|
tmp_2 = isInterface(message, UserMessage);
|
|
2886
2911
|
} else {
|
|
2887
2912
|
tmp_2 = false;
|
|
@@ -2893,17 +2918,17 @@
|
|
|
2893
2918
|
}
|
|
2894
2919
|
var exceptPlayerId_3 = tmp_1;
|
|
2895
2920
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2896
|
-
var sendToPlayer_16 = new RoomActionPayload(this_18.
|
|
2921
|
+
var sendToPlayer_16 = new RoomActionPayload(this_18.vdh_1.b6m(), table_14.id, exceptPlayerId_3);
|
|
2897
2922
|
var tmp$ret$105 = mapToClient_0(action_0, sendToPlayer_16);
|
|
2898
2923
|
tmp = listOfNotNull(tmp$ret$105);
|
|
2899
2924
|
} else {
|
|
2900
2925
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
2901
2926
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2902
|
-
var this_19 = this.
|
|
2927
|
+
var this_19 = this.wdh_1;
|
|
2903
2928
|
var table_15 = state.f6x();
|
|
2904
2929
|
var exceptPlayerId_4 = action_0.playerId;
|
|
2905
2930
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2906
|
-
var sendToPlayer_17 = new RoomActionPayload(this_19.
|
|
2931
|
+
var sendToPlayer_17 = new RoomActionPayload(this_19.vdh_1.b6m(), table_15.id, exceptPlayerId_4);
|
|
2907
2932
|
var tmp$ret$107 = mapToClient(action_0, sendToPlayer_17);
|
|
2908
2933
|
tmp = listOfNotNull(tmp$ret$107);
|
|
2909
2934
|
} else {
|
|
@@ -2941,10 +2966,10 @@
|
|
|
2941
2966
|
return this.t6p(store, next, action);
|
|
2942
2967
|
};
|
|
2943
2968
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
2944
|
-
this.
|
|
2945
|
-
this.
|
|
2969
|
+
this.udh_1 = logicConfig;
|
|
2970
|
+
this.vdh_1 = idsProvider;
|
|
2946
2971
|
}
|
|
2947
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
2972
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).a9f = function () {
|
|
2948
2973
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
2949
2974
|
return new _no_name_provided__qut3iv_0(this);
|
|
2950
2975
|
};
|
|
@@ -2953,8 +2978,8 @@
|
|
|
2953
2978
|
return new _no_name_provided__qut3iv_1(asyncProvider, provider);
|
|
2954
2979
|
}
|
|
2955
2980
|
function serverSendEventsToClientsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
2956
|
-
this.
|
|
2957
|
-
this.
|
|
2981
|
+
this.fdi_1 = $provider;
|
|
2982
|
+
this.gdi_1 = $action;
|
|
2958
2983
|
CoroutineImpl.call(this, resultContinuation);
|
|
2959
2984
|
}
|
|
2960
2985
|
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -2975,7 +3000,7 @@
|
|
|
2975
3000
|
case 0:
|
|
2976
3001
|
this.f9_1 = 2;
|
|
2977
3002
|
this.e9_1 = 1;
|
|
2978
|
-
suspendResult = this.
|
|
3003
|
+
suspendResult = this.fdi_1.qde(this.gdi_1, this);
|
|
2979
3004
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2980
3005
|
return suspendResult;
|
|
2981
3006
|
}
|
|
@@ -2998,8 +3023,8 @@
|
|
|
2998
3023
|
while (true);
|
|
2999
3024
|
};
|
|
3000
3025
|
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).f1f = function ($this$launchDefault, completion) {
|
|
3001
|
-
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.
|
|
3002
|
-
i.
|
|
3026
|
+
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.fdi_1, this.gdi_1, completion);
|
|
3027
|
+
i.hdi_1 = $this$launchDefault;
|
|
3003
3028
|
return i;
|
|
3004
3029
|
};
|
|
3005
3030
|
function serverSendEventsToClientsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -3011,8 +3036,8 @@
|
|
|
3011
3036
|
return l;
|
|
3012
3037
|
}
|
|
3013
3038
|
function _no_name_provided__qut3iv_1($asyncProvider, $provider) {
|
|
3014
|
-
this.
|
|
3015
|
-
this.
|
|
3039
|
+
this.idi_1 = $asyncProvider;
|
|
3040
|
+
this.jdi_1 = $provider;
|
|
3016
3041
|
}
|
|
3017
3042
|
protoOf(_no_name_provided__qut3iv_1).c6o = function (action) {
|
|
3018
3043
|
return action instanceof ToClientAction;
|
|
@@ -3020,7 +3045,7 @@
|
|
|
3020
3045
|
protoOf(_no_name_provided__qut3iv_1).t6p = function (store, next, action) {
|
|
3021
3046
|
// Inline function 'games.jass.logic.server.redux.middlewares.client.serverSendEventsToClientsMiddleware.<anonymous>' call
|
|
3022
3047
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
3023
|
-
this.
|
|
3048
|
+
this.idi_1.y6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.jdi_1, action_0, null));
|
|
3024
3049
|
next(action_0);
|
|
3025
3050
|
};
|
|
3026
3051
|
protoOf(_no_name_provided__qut3iv_1).b6o = function (store, next, action) {
|
|
@@ -3035,13 +3060,13 @@
|
|
|
3035
3060
|
protoOf(_no_name_provided__qut3iv_2).c6o = function (action) {
|
|
3036
3061
|
return action instanceof UpdateServerConfigAction;
|
|
3037
3062
|
};
|
|
3038
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3063
|
+
protoOf(_no_name_provided__qut3iv_2).h9m = function (state, action) {
|
|
3039
3064
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
3040
3065
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
3041
|
-
return state.
|
|
3066
|
+
return state.m9a(VOID, get_serverState(state).kdi(action_0.cdh_1));
|
|
3042
3067
|
};
|
|
3043
3068
|
protoOf(_no_name_provided__qut3iv_2).u6p = function (state, action) {
|
|
3044
|
-
return this.
|
|
3069
|
+
return this.h9m((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3045
3070
|
};
|
|
3046
3071
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
3047
3072
|
return function (it) {
|
|
@@ -3054,7 +3079,7 @@
|
|
|
3054
3079
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
3055
3080
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
3056
3081
|
Companion_getInstance();
|
|
3057
|
-
var this_0 = $action.
|
|
3082
|
+
var this_0 = $action.a88_1.timeoutTimeMillis;
|
|
3058
3083
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
3059
3084
|
tmp_0 = tmp_1.o6f(tmp_2, tmp$ret$0);
|
|
3060
3085
|
}
|
|
@@ -3063,47 +3088,47 @@
|
|
|
3063
3088
|
}
|
|
3064
3089
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
3065
3090
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
3066
|
-
this.
|
|
3091
|
+
this.ndi_1 = logger;
|
|
3067
3092
|
}
|
|
3068
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3093
|
+
protoOf(ServerMechanicLifecycleReducer).t9n = function (state, action) {
|
|
3069
3094
|
var serverState = get_serverStateOrNull(state.e6w_1);
|
|
3070
3095
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3071
|
-
var tmp0_$this = this.
|
|
3072
|
-
var tmp1_tableId = action.
|
|
3073
|
-
var tmp2_gameId = action.
|
|
3074
|
-
var tmp3_version = action.
|
|
3075
|
-
var tmp4_config = action.
|
|
3076
|
-
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;
|
|
3077
3102
|
var tmp6_spectators = action.spectators;
|
|
3078
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
3079
|
-
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));
|
|
3080
3105
|
var tmp;
|
|
3081
3106
|
if (serverState == null) {
|
|
3082
|
-
this.
|
|
3083
|
-
tmp = Companion_instance_9.
|
|
3107
|
+
this.ndi_1.w(VOID, 'ServerPayload is not onStart');
|
|
3108
|
+
tmp = Companion_instance_9.mde();
|
|
3084
3109
|
} else {
|
|
3085
3110
|
tmp = serverState;
|
|
3086
3111
|
}
|
|
3087
3112
|
var tmp10_payload = tmp;
|
|
3088
|
-
return state.
|
|
3113
|
+
return state.m9a(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
3089
3114
|
};
|
|
3090
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3091
|
-
this.
|
|
3115
|
+
protoOf(ServerMechanicLifecycleReducer).s9n = function (state, action) {
|
|
3116
|
+
this.v9n_1.z5u(action.previousGameId);
|
|
3092
3117
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3093
|
-
var tmp1_tableOrNull = this.
|
|
3094
|
-
return state.
|
|
3118
|
+
var tmp1_tableOrNull = this.u9n_1.b9p(state.f6x(), action.gameId);
|
|
3119
|
+
return state.m9a(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
3095
3120
|
};
|
|
3096
3121
|
function spectatorsReducer(logger) {
|
|
3097
3122
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
3098
3123
|
return new _no_name_provided__qut3iv_3(logger);
|
|
3099
3124
|
}
|
|
3100
3125
|
function _no_name_provided__qut3iv_3($logger) {
|
|
3101
|
-
this.
|
|
3126
|
+
this.odi_1 = $logger;
|
|
3102
3127
|
}
|
|
3103
3128
|
protoOf(_no_name_provided__qut3iv_3).c6o = function (action) {
|
|
3104
3129
|
return isInterface(action, SpectatorsAction);
|
|
3105
3130
|
};
|
|
3106
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3131
|
+
protoOf(_no_name_provided__qut3iv_3).h9m = function (state, action) {
|
|
3107
3132
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
3108
3133
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
3109
3134
|
var table = state.f6x();
|
|
@@ -3111,7 +3136,7 @@
|
|
|
3111
3136
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
3112
3137
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3113
3138
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3114
|
-
var this_0 = action_0.
|
|
3139
|
+
var this_0 = action_0.ddh_1;
|
|
3115
3140
|
var destination = ArrayList_init_$Create$();
|
|
3116
3141
|
// Inline function 'kotlin.collections.forEach' call
|
|
3117
3142
|
var tmp0_iterator = this_0.j();
|
|
@@ -3133,10 +3158,10 @@
|
|
|
3133
3158
|
var tmp_0;
|
|
3134
3159
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3135
3160
|
if (!sameSpectators.p()) {
|
|
3136
|
-
this.
|
|
3161
|
+
this.odi_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
3137
3162
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3138
3163
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3139
|
-
var this_1 = action_0.
|
|
3164
|
+
var this_1 = action_0.ddh_1;
|
|
3140
3165
|
var destination_0 = ArrayList_init_$Create$();
|
|
3141
3166
|
var tmp0_iterator_0 = this_1.j();
|
|
3142
3167
|
while (tmp0_iterator_0.k()) {
|
|
@@ -3172,7 +3197,7 @@
|
|
|
3172
3197
|
}
|
|
3173
3198
|
tmp_0 = destination_0;
|
|
3174
3199
|
} else {
|
|
3175
|
-
tmp_0 = action_0.
|
|
3200
|
+
tmp_0 = action_0.ddh_1;
|
|
3176
3201
|
}
|
|
3177
3202
|
var this_2 = tmp_0;
|
|
3178
3203
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3185,12 +3210,12 @@
|
|
|
3185
3210
|
destination_1.e(tmp$ret$10);
|
|
3186
3211
|
}
|
|
3187
3212
|
var spectatorsToAdd = toSet(destination_1);
|
|
3188
|
-
tmp = state.
|
|
3213
|
+
tmp = state.m9a(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
3189
3214
|
} else {
|
|
3190
3215
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
3191
3216
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3192
3217
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3193
|
-
var this_3 = action_0.
|
|
3218
|
+
var this_3 = action_0.edh_1;
|
|
3194
3219
|
var destination_2 = ArrayList_init_$Create$();
|
|
3195
3220
|
// Inline function 'kotlin.collections.forEach' call
|
|
3196
3221
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -3211,10 +3236,10 @@
|
|
|
3211
3236
|
var tmp_2;
|
|
3212
3237
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3213
3238
|
if (!sameSpectators_0.p()) {
|
|
3214
|
-
this.
|
|
3239
|
+
this.odi_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
3215
3240
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3216
3241
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3217
|
-
var this_4 = action_0.
|
|
3242
|
+
var this_4 = action_0.edh_1;
|
|
3218
3243
|
var destination_3 = ArrayList_init_$Create$();
|
|
3219
3244
|
var tmp0_iterator_4 = this_4.j();
|
|
3220
3245
|
while (tmp0_iterator_4.k()) {
|
|
@@ -3250,7 +3275,7 @@
|
|
|
3250
3275
|
}
|
|
3251
3276
|
tmp_2 = destination_3;
|
|
3252
3277
|
} else {
|
|
3253
|
-
tmp_2 = action_0.
|
|
3278
|
+
tmp_2 = action_0.edh_1;
|
|
3254
3279
|
}
|
|
3255
3280
|
var spectatorsToRemove = toSet(tmp_2);
|
|
3256
3281
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -3289,7 +3314,7 @@
|
|
|
3289
3314
|
destination_4.e(element_5);
|
|
3290
3315
|
}
|
|
3291
3316
|
}
|
|
3292
|
-
tmp = state.
|
|
3317
|
+
tmp = state.m9a(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
3293
3318
|
} else {
|
|
3294
3319
|
noWhenBranchMatchedException();
|
|
3295
3320
|
}
|
|
@@ -3297,32 +3322,32 @@
|
|
|
3297
3322
|
return tmp;
|
|
3298
3323
|
};
|
|
3299
3324
|
protoOf(_no_name_provided__qut3iv_3).u6p = function (state, action) {
|
|
3300
|
-
return this.
|
|
3325
|
+
return this.h9m((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3301
3326
|
};
|
|
3302
3327
|
function Companion_1() {
|
|
3303
3328
|
}
|
|
3304
|
-
protoOf(Companion_1).
|
|
3329
|
+
protoOf(Companion_1).pdi = function (config) {
|
|
3305
3330
|
return new ServerState(config);
|
|
3306
3331
|
};
|
|
3307
|
-
protoOf(Companion_1).
|
|
3332
|
+
protoOf(Companion_1).mde = function (config, $super) {
|
|
3308
3333
|
config = config === VOID ? new ServerConfig(true) : config;
|
|
3309
|
-
return $super === VOID ? this.
|
|
3334
|
+
return $super === VOID ? this.pdi(config) : $super.pdi.call(this, config);
|
|
3310
3335
|
};
|
|
3311
3336
|
var Companion_instance_9;
|
|
3312
3337
|
function Companion_getInstance_2() {
|
|
3313
3338
|
return Companion_instance_9;
|
|
3314
3339
|
}
|
|
3315
3340
|
function ServerState(config) {
|
|
3316
|
-
this.
|
|
3341
|
+
this.wdd_1 = config;
|
|
3317
3342
|
}
|
|
3318
|
-
protoOf(ServerState).
|
|
3343
|
+
protoOf(ServerState).kdi = function (config) {
|
|
3319
3344
|
return new ServerState(config);
|
|
3320
3345
|
};
|
|
3321
3346
|
protoOf(ServerState).toString = function () {
|
|
3322
|
-
return 'ServerState(config=' + this.
|
|
3347
|
+
return 'ServerState(config=' + this.wdd_1.toString() + ')';
|
|
3323
3348
|
};
|
|
3324
3349
|
protoOf(ServerState).hashCode = function () {
|
|
3325
|
-
return this.
|
|
3350
|
+
return this.wdd_1.hashCode();
|
|
3326
3351
|
};
|
|
3327
3352
|
protoOf(ServerState).equals = function (other) {
|
|
3328
3353
|
if (this === other)
|
|
@@ -3330,7 +3355,7 @@
|
|
|
3330
3355
|
if (!(other instanceof ServerState))
|
|
3331
3356
|
return false;
|
|
3332
3357
|
var tmp0_other_with_cast = other instanceof ServerState ? other : THROW_CCE();
|
|
3333
|
-
if (!this.
|
|
3358
|
+
if (!this.wdd_1.equals(tmp0_other_with_cast.wdd_1))
|
|
3334
3359
|
return false;
|
|
3335
3360
|
return true;
|
|
3336
3361
|
};
|
|
@@ -3368,13 +3393,13 @@
|
|
|
3368
3393
|
}
|
|
3369
3394
|
function _get_controllerLogger__nbd727($this) {
|
|
3370
3395
|
// Inline function 'kotlin.getValue' call
|
|
3371
|
-
var this_0 = $this.
|
|
3396
|
+
var this_0 = $this.xdi_1;
|
|
3372
3397
|
controllerLogger$factory();
|
|
3373
3398
|
return this_0.u();
|
|
3374
3399
|
}
|
|
3375
3400
|
function _get_di__ndbzja($this) {
|
|
3376
3401
|
// Inline function 'kotlin.getValue' call
|
|
3377
|
-
var this_0 = $this.
|
|
3402
|
+
var this_0 = $this.ydi_1;
|
|
3378
3403
|
di$factory();
|
|
3379
3404
|
return this_0.u();
|
|
3380
3405
|
}
|
|
@@ -3385,13 +3410,13 @@
|
|
|
3385
3410
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
3386
3411
|
return function () {
|
|
3387
3412
|
var tmp;
|
|
3388
|
-
if (this$0.
|
|
3413
|
+
if (this$0.vdi_1 == null) {
|
|
3389
3414
|
tmp = null;
|
|
3390
3415
|
} else {
|
|
3391
3416
|
// Inline function 'kotlin.let' call
|
|
3392
3417
|
// Inline function 'kotlin.contracts.contract' call
|
|
3393
3418
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
3394
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
3419
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.vdi_1)]));
|
|
3395
3420
|
}
|
|
3396
3421
|
var tmp1_elvis_lhs = tmp;
|
|
3397
3422
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -3419,7 +3444,7 @@
|
|
|
3419
3444
|
tmp_0.p65(tmp$ret$3);
|
|
3420
3445
|
$this$DI.t61(jsonModule());
|
|
3421
3446
|
$this$DI.t61(serverHelpersModule());
|
|
3422
|
-
$this$DI.t61(randomOrgModule(this$0.
|
|
3447
|
+
$this$DI.t61(randomOrgModule(this$0.wdi_1));
|
|
3423
3448
|
return Unit_instance;
|
|
3424
3449
|
};
|
|
3425
3450
|
}
|
|
@@ -3430,16 +3455,16 @@
|
|
|
3430
3455
|
};
|
|
3431
3456
|
}
|
|
3432
3457
|
function _no_name_provided__qut3iv_4($item) {
|
|
3433
|
-
this.
|
|
3458
|
+
this.edj_1 = $item;
|
|
3434
3459
|
}
|
|
3435
3460
|
protoOf(_no_name_provided__qut3iv_4).c6o = function (action) {
|
|
3436
3461
|
return isInterface(action, Action);
|
|
3437
3462
|
};
|
|
3438
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
3439
|
-
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());
|
|
3440
3465
|
};
|
|
3441
3466
|
protoOf(_no_name_provided__qut3iv_4).u6p = function (state, action) {
|
|
3442
|
-
return this.
|
|
3467
|
+
return this.h9m((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3443
3468
|
};
|
|
3444
3469
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
3445
3470
|
return function ($this$singleton) {
|
|
@@ -3496,7 +3521,7 @@
|
|
|
3496
3521
|
}
|
|
3497
3522
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
3498
3523
|
return function (it) {
|
|
3499
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
3524
|
+
var tmp0_elvis_lhs = Companion_instance_4.d9r(it);
|
|
3500
3525
|
var tmp;
|
|
3501
3526
|
if (tmp0_elvis_lhs == null) {
|
|
3502
3527
|
var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
|
|
@@ -3509,7 +3534,7 @@
|
|
|
3509
3534
|
}
|
|
3510
3535
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
3511
3536
|
return function (it) {
|
|
3512
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
3537
|
+
var tmp0_elvis_lhs = Companion_instance_5.o9p(it);
|
|
3513
3538
|
var tmp;
|
|
3514
3539
|
if (tmp0_elvis_lhs == null) {
|
|
3515
3540
|
var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
|
|
@@ -3531,7 +3556,7 @@
|
|
|
3531
3556
|
// Inline function 'kotlin.contracts.contract' call
|
|
3532
3557
|
$this$DI.t61(tmp0_safe_receiver);
|
|
3533
3558
|
}
|
|
3534
|
-
$this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.
|
|
3559
|
+
$this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.wdi_1));
|
|
3535
3560
|
$this$DI.t61(coreModule($coreConfig));
|
|
3536
3561
|
$this$DI.t61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
3537
3562
|
return Unit_instance;
|
|
@@ -3540,76 +3565,76 @@
|
|
|
3540
3565
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
3541
3566
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
3542
3567
|
production = production === VOID ? true : production;
|
|
3543
|
-
this.
|
|
3544
|
-
this.
|
|
3568
|
+
this.vdi_1 = loggerCallback;
|
|
3569
|
+
this.wdi_1 = randomOrgConfig;
|
|
3545
3570
|
AppEnvironment_getInstance().l6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
3546
3571
|
var tmp = this;
|
|
3547
|
-
tmp.
|
|
3572
|
+
tmp.xdi_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
3548
3573
|
var tmp_0 = this;
|
|
3549
|
-
tmp_0.
|
|
3574
|
+
tmp_0.ydi_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
3550
3575
|
var tmp_1 = this;
|
|
3551
3576
|
// Inline function 'org.kodein.di.instance' call
|
|
3552
3577
|
var this_0 = _get_di__ndbzja(this);
|
|
3553
3578
|
// Inline function 'org.kodein.type.generic' call
|
|
3554
3579
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
3555
3580
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3556
|
-
tmp_1.
|
|
3581
|
+
tmp_1.zdi_1 = Instance(this_0, tmp$ret$0, null).m67(this, parser$factory());
|
|
3557
3582
|
var tmp_3 = this;
|
|
3558
3583
|
// Inline function 'org.kodein.di.instance' call
|
|
3559
3584
|
var this_1 = _get_di__ndbzja(this);
|
|
3560
3585
|
// Inline function 'org.kodein.type.generic' call
|
|
3561
3586
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
3562
3587
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3563
|
-
tmp_3.
|
|
3588
|
+
tmp_3.adj_1 = Instance(this_1, tmp$ret$2, null).m67(this, helper$factory());
|
|
3564
3589
|
var tmp_5 = this;
|
|
3565
3590
|
// Inline function 'org.kodein.di.instance' call
|
|
3566
3591
|
var this_2 = _get_di__ndbzja(this);
|
|
3567
3592
|
// Inline function 'org.kodein.type.generic' call
|
|
3568
3593
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
3569
3594
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3570
|
-
tmp_5.
|
|
3595
|
+
tmp_5.bdj_1 = Instance(this_2, tmp$ret$4, null).m67(this, resources$factory());
|
|
3571
3596
|
var tmp_7 = this;
|
|
3572
3597
|
// Inline function 'org.kodein.di.instance' call
|
|
3573
3598
|
var this_3 = _get_di__ndbzja(this);
|
|
3574
3599
|
// Inline function 'org.kodein.type.generic' call
|
|
3575
3600
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
3576
3601
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3577
|
-
tmp_7.
|
|
3602
|
+
tmp_7.cdj_1 = Instance(this_3, tmp$ret$6, null).m67(this, test$factory());
|
|
3578
3603
|
var tmp_9 = this;
|
|
3579
3604
|
// Inline function 'org.kodein.di.instance' call
|
|
3580
3605
|
var this_4 = _get_di__ndbzja(this);
|
|
3581
3606
|
// Inline function 'org.kodein.type.generic' call
|
|
3582
3607
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3583
3608
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3584
|
-
tmp_9.
|
|
3609
|
+
tmp_9.ddj_1 = Instance(this_4, tmp$ret$8, null).m67(this, randomPoolProvider$factory());
|
|
3585
3610
|
}
|
|
3586
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3611
|
+
protoOf(GameServerEngineControllerImpl).nd6 = function () {
|
|
3587
3612
|
// Inline function 'kotlin.getValue' call
|
|
3588
|
-
var this_0 = this.
|
|
3613
|
+
var this_0 = this.zdi_1;
|
|
3589
3614
|
parser$factory_0();
|
|
3590
3615
|
return this_0.u();
|
|
3591
3616
|
};
|
|
3592
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3617
|
+
protoOf(GameServerEngineControllerImpl).rdi = function () {
|
|
3593
3618
|
// Inline function 'kotlin.getValue' call
|
|
3594
|
-
var this_0 = this.
|
|
3619
|
+
var this_0 = this.adj_1;
|
|
3595
3620
|
helper$factory_0();
|
|
3596
3621
|
return this_0.u();
|
|
3597
3622
|
};
|
|
3598
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3623
|
+
protoOf(GameServerEngineControllerImpl).sdi = function () {
|
|
3599
3624
|
// Inline function 'kotlin.getValue' call
|
|
3600
|
-
var this_0 = this.
|
|
3625
|
+
var this_0 = this.bdj_1;
|
|
3601
3626
|
resources$factory_0();
|
|
3602
3627
|
return this_0.u();
|
|
3603
3628
|
};
|
|
3604
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3629
|
+
protoOf(GameServerEngineControllerImpl).qdi = function () {
|
|
3605
3630
|
// Inline function 'kotlin.getValue' call
|
|
3606
|
-
var this_0 = this.
|
|
3631
|
+
var this_0 = this.cdj_1;
|
|
3607
3632
|
test$factory_0();
|
|
3608
3633
|
return this_0.u();
|
|
3609
3634
|
};
|
|
3610
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3635
|
+
protoOf(GameServerEngineControllerImpl).tdi = function () {
|
|
3611
3636
|
// Inline function 'kotlin.getValue' call
|
|
3612
|
-
var this_0 = this.
|
|
3637
|
+
var this_0 = this.ddj_1;
|
|
3613
3638
|
randomPoolProvider$factory_0();
|
|
3614
3639
|
return this_0.u();
|
|
3615
3640
|
};
|
|
@@ -3619,7 +3644,7 @@
|
|
|
3619
3644
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
3620
3645
|
return this.createGameEngineWithLogic();
|
|
3621
3646
|
};
|
|
3622
|
-
protoOf(GameServerEngineControllerImpl).
|
|
3647
|
+
protoOf(GameServerEngineControllerImpl).udi = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
3623
3648
|
var combinedLogger = Companion_instance_6.qm();
|
|
3624
3649
|
var tmp;
|
|
3625
3650
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -3629,8 +3654,8 @@
|
|
|
3629
3654
|
}
|
|
3630
3655
|
var fileLoggerOutput = tmp;
|
|
3631
3656
|
var tmp_0;
|
|
3632
|
-
if (!(this.
|
|
3633
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
3657
|
+
if (!(this.vdi_1 == null)) {
|
|
3658
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.vdi_1));
|
|
3634
3659
|
} else {
|
|
3635
3660
|
tmp_0 = null;
|
|
3636
3661
|
}
|
|
@@ -3673,12 +3698,12 @@
|
|
|
3673
3698
|
var gameServer = tmp_1.d63(tmp$ret$7, null);
|
|
3674
3699
|
if (!(fileLoggerOutput == null)) {
|
|
3675
3700
|
var tmp_3 = fileLoggerOutput;
|
|
3676
|
-
tmp_3.
|
|
3701
|
+
tmp_3.s9q_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
3677
3702
|
combinedLogger.sm(fileLoggerOutput);
|
|
3678
3703
|
}
|
|
3679
3704
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
3680
3705
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
3681
|
-
tmp_4.
|
|
3706
|
+
tmp_4.q9p_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
3682
3707
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
3683
3708
|
}
|
|
3684
3709
|
return gameServer;
|
|
@@ -3747,13 +3772,13 @@
|
|
|
3747
3772
|
}
|
|
3748
3773
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
3749
3774
|
// Inline function 'kotlin.getValue' call
|
|
3750
|
-
var this_0 = $this.
|
|
3775
|
+
var this_0 = $this.hdj_1;
|
|
3751
3776
|
playerAnswerInteractor$factory_0();
|
|
3752
3777
|
return this_0.u();
|
|
3753
3778
|
}
|
|
3754
3779
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
3755
3780
|
return function ($this$singleton) {
|
|
3756
|
-
return this$0.
|
|
3781
|
+
return this$0.fdj_1;
|
|
3757
3782
|
};
|
|
3758
3783
|
}
|
|
3759
3784
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -3782,20 +3807,20 @@
|
|
|
3782
3807
|
return emptyMap();
|
|
3783
3808
|
}
|
|
3784
3809
|
function TestHelperImpl(logger) {
|
|
3785
|
-
this.
|
|
3810
|
+
this.fdj_1 = logger;
|
|
3786
3811
|
var tmp = this;
|
|
3787
3812
|
var tmp_0 = Companion_instance_3;
|
|
3788
|
-
tmp.
|
|
3813
|
+
tmp.gdj_1 = tmp_0.a62(VOID, TestHelperImpl$di$lambda(this));
|
|
3789
3814
|
var tmp_1 = this;
|
|
3790
3815
|
// Inline function 'org.kodein.di.instance' call
|
|
3791
|
-
var this_0 = this.
|
|
3816
|
+
var this_0 = this.gdj_1;
|
|
3792
3817
|
// Inline function 'org.kodein.type.generic' call
|
|
3793
3818
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
3794
3819
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3795
|
-
tmp_1.
|
|
3820
|
+
tmp_1.hdj_1 = Instance(this_0, tmp$ret$0, null).m67(this, playerAnswerInteractor$factory());
|
|
3796
3821
|
}
|
|
3797
3822
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
3798
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
3823
|
+
return _get_playerAnswerInteractor__msggz1(this).k91(playerId, table, botConfig);
|
|
3799
3824
|
};
|
|
3800
3825
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
3801
3826
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -3803,7 +3828,7 @@
|
|
|
3803
3828
|
var tmp$ret$0;
|
|
3804
3829
|
$l$block_0: {
|
|
3805
3830
|
// Inline function 'kotlin.collections.any' call
|
|
3806
|
-
var this_0 = mechanicAction.
|
|
3831
|
+
var this_0 = mechanicAction.j9c();
|
|
3807
3832
|
var tmp;
|
|
3808
3833
|
if (isInterface(this_0, Collection)) {
|
|
3809
3834
|
tmp = this_0.p();
|
|
@@ -3836,7 +3861,7 @@
|
|
|
3836
3861
|
var tmp$ret$0;
|
|
3837
3862
|
$l$block_0: {
|
|
3838
3863
|
// Inline function 'kotlin.collections.any' call
|
|
3839
|
-
var this_0 = action.
|
|
3864
|
+
var this_0 = action.j9c();
|
|
3840
3865
|
var tmp;
|
|
3841
3866
|
if (isInterface(this_0, Collection)) {
|
|
3842
3867
|
tmp = this_0.p();
|
|
@@ -3936,19 +3961,19 @@
|
|
|
3936
3961
|
});
|
|
3937
3962
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
3938
3963
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
3939
|
-
return this.
|
|
3964
|
+
return this.nd6();
|
|
3940
3965
|
});
|
|
3941
3966
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
3942
|
-
return this.
|
|
3967
|
+
return this.rdi();
|
|
3943
3968
|
});
|
|
3944
3969
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
3945
|
-
return this.
|
|
3970
|
+
return this.sdi();
|
|
3946
3971
|
});
|
|
3947
3972
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
3948
|
-
return this.
|
|
3973
|
+
return this.qdi();
|
|
3949
3974
|
});
|
|
3950
3975
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
3951
|
-
return this.
|
|
3976
|
+
return this.tdi();
|
|
3952
3977
|
});
|
|
3953
3978
|
//endregion
|
|
3954
3979
|
//region block: init
|