client_plugin_logic_deb 1.8.338 → 1.8.341
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-client_plugin.d.ts +6 -4
- package/Logic_Debertz-client_plugin.js +2056 -2056
- package/Logic_Debertz-core.js +121 -120
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +1941 -1920
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +5557 -5556
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +899 -812
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -44,20 +44,24 @@
|
|
|
44
44
|
var Unit_instance = kotlin_kotlin.$_$.q5;
|
|
45
45
|
var protoOf = kotlin_kotlin.$_$.wc;
|
|
46
46
|
var THROW_CCE = kotlin_kotlin.$_$.ug;
|
|
47
|
-
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
47
|
+
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
|
|
48
48
|
var initMetadataForLambda = kotlin_kotlin.$_$.zb;
|
|
49
49
|
var VOID = kotlin_kotlin.$_$.f;
|
|
50
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
|
|
51
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
52
|
+
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.j2;
|
|
50
53
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
|
|
51
54
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.xb;
|
|
52
55
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
53
56
|
var initMetadataForClass = kotlin_kotlin.$_$.vb;
|
|
54
57
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
55
58
|
var isInterface = kotlin_kotlin.$_$.jc;
|
|
59
|
+
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.n2;
|
|
56
60
|
var Long = kotlin_kotlin.$_$.og;
|
|
57
61
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
58
62
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
59
63
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
60
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
64
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
|
|
61
65
|
var defineProp = kotlin_kotlin.$_$.mb;
|
|
62
66
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
63
67
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
@@ -68,45 +72,43 @@
|
|
|
68
72
|
var hashCode = kotlin_kotlin.$_$.ub;
|
|
69
73
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
70
74
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n1;
|
|
71
|
-
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
72
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
73
|
-
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
74
|
-
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
75
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
76
|
-
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
77
|
-
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
78
|
-
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
79
|
-
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
75
|
+
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
76
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
|
|
77
|
+
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x4;
|
|
78
|
+
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.q4;
|
|
79
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
|
|
80
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.p8;
|
|
81
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.q8;
|
|
82
|
+
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.p4;
|
|
83
|
+
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
80
84
|
var toList = kotlin_kotlin.$_$.v9;
|
|
81
85
|
var toString = kotlin_kotlin.$_$.ad;
|
|
82
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
83
|
-
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
84
|
-
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
85
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
|
|
86
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
86
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.oa;
|
|
87
|
+
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y4;
|
|
88
|
+
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
|
|
87
89
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.n;
|
|
88
90
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
89
91
|
var firstOrNull = kotlin_kotlin.$_$.s7;
|
|
90
92
|
var toMutableList = kotlin_kotlin.$_$.y9;
|
|
91
93
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.p;
|
|
92
|
-
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
93
|
-
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
94
|
-
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
95
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
96
|
-
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
97
|
-
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
98
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
99
|
-
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
100
|
-
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
101
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
102
|
-
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
103
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
104
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
105
|
-
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
106
|
-
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
107
|
-
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
94
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.b6;
|
|
95
|
+
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
96
|
+
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
97
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
|
|
98
|
+
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.b2;
|
|
99
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
|
|
100
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.ma;
|
|
101
|
+
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f7;
|
|
102
|
+
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
|
|
103
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
|
|
104
|
+
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
|
|
105
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
|
|
106
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
|
|
107
|
+
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
108
|
+
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.a5;
|
|
109
|
+
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
|
|
108
110
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.sh;
|
|
109
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
111
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.r8;
|
|
110
112
|
var emptyList = kotlin_kotlin.$_$.o7;
|
|
111
113
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
112
114
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -115,13 +117,14 @@
|
|
|
115
117
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
116
118
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
117
119
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
118
|
-
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
119
|
-
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
120
|
-
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
120
|
+
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
121
|
+
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
122
|
+
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
123
|
+
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
121
124
|
var lazy = kotlin_kotlin.$_$.rh;
|
|
122
|
-
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
125
|
+
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
123
126
|
var plus = kotlin_kotlin.$_$.a9;
|
|
124
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
127
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.t8;
|
|
125
128
|
var toString_0 = kotlin_kotlin.$_$.yh;
|
|
126
129
|
var KProperty1 = kotlin_kotlin.$_$.rd;
|
|
127
130
|
var getPropertyCallableRef = kotlin_kotlin.$_$.sb;
|
|
@@ -130,26 +133,26 @@
|
|
|
130
133
|
var Enum = kotlin_kotlin.$_$.jg;
|
|
131
134
|
var getBooleanHashCode = kotlin_kotlin.$_$.qb;
|
|
132
135
|
var initMetadataForInterface = kotlin_kotlin.$_$.yb;
|
|
136
|
+
var getStringHashCode = kotlin_kotlin.$_$.tb;
|
|
133
137
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
134
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
138
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
|
|
135
139
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
136
140
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
137
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
141
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.u8;
|
|
138
142
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
139
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
143
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
|
|
140
144
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
141
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
145
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
|
|
142
146
|
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
143
|
-
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
144
|
-
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
145
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
146
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
147
|
+
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
148
|
+
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
149
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
|
|
150
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.s8;
|
|
147
151
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
148
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
152
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
|
|
149
153
|
var single = kotlin_kotlin.$_$.k9;
|
|
150
154
|
var copyToArray = kotlin_kotlin.$_$.j7;
|
|
151
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
152
|
-
var getStringHashCode = kotlin_kotlin.$_$.tb;
|
|
155
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
|
|
153
156
|
var KtList = kotlin_kotlin.$_$.y5;
|
|
154
157
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
155
158
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
@@ -157,125 +160,125 @@
|
|
|
157
160
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
158
161
|
var toLong = kotlin_kotlin.$_$.yc;
|
|
159
162
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
160
|
-
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
161
|
-
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
162
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
163
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
166
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
167
|
-
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
168
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
163
|
+
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.c3;
|
|
164
|
+
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.d3;
|
|
165
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
|
|
166
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
|
|
167
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
|
|
168
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
|
|
169
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
|
|
170
|
+
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
171
|
+
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
169
172
|
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
170
|
-
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
+
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.p4;
|
|
171
174
|
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
172
175
|
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.y;
|
|
173
176
|
var listOf = kotlin_kotlin.$_$.r8;
|
|
174
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
|
|
175
178
|
var listOfNotNull = kotlin_kotlin.$_$.o8;
|
|
176
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
179
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.t7;
|
|
180
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.u7;
|
|
178
181
|
var listOfNotNull_0 = kotlin_kotlin.$_$.p8;
|
|
179
|
-
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
180
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
181
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
+
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
|
|
183
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
|
|
184
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
|
|
182
185
|
var listOf_0 = kotlin_kotlin.$_$.q8;
|
|
183
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
184
|
-
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
185
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
187
|
-
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
188
|
-
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
189
|
-
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
190
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
191
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
192
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
193
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
|
|
187
|
+
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
|
|
188
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
|
|
189
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a6;
|
|
190
|
+
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c5;
|
|
191
|
+
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i9;
|
|
192
|
+
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
193
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
|
|
194
|
+
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
|
|
195
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
|
|
196
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
|
|
194
197
|
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
195
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
196
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
199
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
202
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
203
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
204
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
205
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
206
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
208
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
209
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
210
|
-
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
|
|
199
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
|
|
200
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
|
|
201
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
|
|
202
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
|
|
203
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
|
|
204
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
|
|
205
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
|
|
206
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
|
|
207
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d6;
|
|
208
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
|
|
209
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c7;
|
|
210
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
|
|
211
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
|
|
212
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
|
|
213
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
|
|
211
214
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
212
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
213
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
214
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
215
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
216
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
217
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
218
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
219
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
220
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
221
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
222
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
223
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
224
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
225
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
226
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
-
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
228
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
229
|
-
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
230
|
-
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
231
|
-
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
232
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
215
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.o9;
|
|
216
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
|
|
217
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
|
|
218
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
|
|
219
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
|
|
220
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
|
|
221
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
|
|
222
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
|
|
223
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
|
|
224
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
|
|
225
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
|
|
226
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
|
|
227
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
|
|
228
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
|
|
229
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
|
|
230
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
|
|
231
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
|
|
232
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
|
|
233
|
+
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
234
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.n5;
|
|
235
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.l5;
|
|
233
236
|
var Companion_getInstance = kotlin_kotlin.$_$.h5;
|
|
234
237
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
235
238
|
var toDuration = kotlin_kotlin.$_$.bg;
|
|
236
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
237
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
239
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
|
|
240
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j9;
|
|
238
241
|
var singleOrNull = kotlin_kotlin.$_$.j9;
|
|
239
242
|
var Collection = kotlin_kotlin.$_$.s5;
|
|
240
243
|
var toSet = kotlin_kotlin.$_$.ba;
|
|
241
244
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
242
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
|
|
243
246
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
244
|
-
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
247
|
+
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
|
|
245
248
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
246
249
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
247
250
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
248
251
|
var mutableListOf = kotlin_kotlin.$_$.w8;
|
|
249
252
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
250
253
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
251
|
-
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
252
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
253
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
254
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
255
|
-
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
256
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
254
|
+
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
|
|
255
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
|
|
256
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
|
|
257
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
|
|
258
|
+
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.qa;
|
|
259
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.pa;
|
|
257
260
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
258
|
-
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
259
|
-
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
260
|
-
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
261
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
262
|
-
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
263
|
-
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
261
|
+
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g4;
|
|
262
|
+
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i4;
|
|
263
|
+
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h4;
|
|
264
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.d6;
|
|
265
|
+
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j5;
|
|
266
|
+
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k5;
|
|
264
267
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
265
268
|
var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
266
269
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
267
270
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
268
271
|
var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
269
272
|
var toList_0 = kotlin_kotlin.$_$.u9;
|
|
270
|
-
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
273
|
+
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
271
274
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
272
|
-
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
275
|
+
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
273
276
|
var emptyMap = kotlin_kotlin.$_$.p7;
|
|
274
|
-
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
275
|
-
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
276
|
-
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
277
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
278
|
-
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
277
|
+
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
278
|
+
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.t4;
|
|
279
|
+
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
|
|
280
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
|
|
281
|
+
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
279
282
|
var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
|
|
280
283
|
//endregion
|
|
281
284
|
//region block: pre-declaration
|
|
@@ -328,15 +331,15 @@
|
|
|
328
331
|
tmp = spectators;
|
|
329
332
|
}
|
|
330
333
|
spectators = tmp;
|
|
331
|
-
return this.
|
|
334
|
+
return this.qdu(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
332
335
|
}
|
|
333
336
|
function roomOnDelete(newRid, $super) {
|
|
334
337
|
newRid = newRid === VOID ? null : newRid;
|
|
335
|
-
return this.
|
|
338
|
+
return this.rdu(newRid);
|
|
336
339
|
}
|
|
337
340
|
function shutdown(reason, roomId, $super) {
|
|
338
341
|
roomId = roomId === VOID ? null : roomId;
|
|
339
|
-
return this.
|
|
342
|
+
return this.sdu(reason, roomId);
|
|
340
343
|
}
|
|
341
344
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
342
345
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -390,7 +393,7 @@
|
|
|
390
393
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
391
394
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
392
395
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
393
|
-
return this.
|
|
396
|
+
return this.jdz(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
394
397
|
}
|
|
395
398
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
396
399
|
initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
|
|
@@ -401,17 +404,17 @@
|
|
|
401
404
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
402
405
|
//endregion
|
|
403
406
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
404
|
-
this.
|
|
407
|
+
this.hdg_1 = $subscriber;
|
|
405
408
|
CoroutineImpl.call(this, resultContinuation);
|
|
406
409
|
}
|
|
407
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
408
|
-
var tmp = this.
|
|
410
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).jdg = function (it, $completion) {
|
|
411
|
+
var tmp = this.kdg(it, $completion);
|
|
409
412
|
tmp.l9_1 = Unit_instance;
|
|
410
413
|
tmp.m9_1 = null;
|
|
411
414
|
return tmp.r9();
|
|
412
415
|
};
|
|
413
416
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ba = function (p1, $completion) {
|
|
414
|
-
return this.
|
|
417
|
+
return this.jdg(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
415
418
|
};
|
|
416
419
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).r9 = function () {
|
|
417
420
|
var suspendResult = this.l9_1;
|
|
@@ -420,7 +423,7 @@
|
|
|
420
423
|
var tmp = this.j9_1;
|
|
421
424
|
if (tmp === 0) {
|
|
422
425
|
this.k9_1 = 1;
|
|
423
|
-
this.
|
|
426
|
+
this.hdg_1(this.idg_1);
|
|
424
427
|
return Unit_instance;
|
|
425
428
|
} else if (tmp === 1) {
|
|
426
429
|
throw this.m9_1;
|
|
@@ -431,21 +434,22 @@
|
|
|
431
434
|
}
|
|
432
435
|
while (true);
|
|
433
436
|
};
|
|
434
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
435
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
436
|
-
i.
|
|
437
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).kdg = function (it, completion) {
|
|
438
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.hdg_1, completion);
|
|
439
|
+
i.idg_1 = it;
|
|
437
440
|
return i;
|
|
438
441
|
};
|
|
439
442
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
440
443
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
441
444
|
var l = function (it, $completion) {
|
|
442
|
-
return i.
|
|
445
|
+
return i.jdg(it, $completion);
|
|
443
446
|
};
|
|
444
447
|
l.$arity = 1;
|
|
445
448
|
return l;
|
|
446
449
|
}
|
|
447
|
-
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
448
|
-
this.
|
|
450
|
+
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
451
|
+
this.tdg_1 = $$this$unsafeFlow;
|
|
452
|
+
this.udg_1 = this$0;
|
|
449
453
|
CoroutineImpl.call(this, resultContinuation);
|
|
450
454
|
}
|
|
451
455
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -466,12 +470,20 @@
|
|
|
466
470
|
case 0:
|
|
467
471
|
this.k9_1 = 2;
|
|
468
472
|
var tmp_0 = this;
|
|
469
|
-
tmp_0.
|
|
473
|
+
tmp_0.wdg_1 = this.tdg_1;
|
|
470
474
|
var tmp_1 = this;
|
|
471
|
-
tmp_1.
|
|
475
|
+
tmp_1.xdg_1 = this.vdg_1;
|
|
472
476
|
this.j9_1 = 1;
|
|
473
|
-
var
|
|
474
|
-
|
|
477
|
+
var actions = this.xdg_1;
|
|
478
|
+
var tmp_2 = _get_encoderDecoderProvider__qqgrji(this.udg_1);
|
|
479
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(actions, 10));
|
|
480
|
+
var tmp0_iterator = actions.j();
|
|
481
|
+
while (tmp0_iterator.k()) {
|
|
482
|
+
var item = tmp0_iterator.l();
|
|
483
|
+
destination.e(mapToDto(item));
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
suspendResult = this.wdg_1.r18(new ActionsStateUpdate(actions, tmp_2.z91(destination)), this);
|
|
475
487
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
476
488
|
return suspendResult;
|
|
477
489
|
}
|
|
@@ -494,12 +506,12 @@
|
|
|
494
506
|
while (true);
|
|
495
507
|
};
|
|
496
508
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).e1m = function (value, completion) {
|
|
497
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.
|
|
498
|
-
i.
|
|
509
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.tdg_1, this.udg_1, completion);
|
|
510
|
+
i.vdg_1 = value;
|
|
499
511
|
return i;
|
|
500
512
|
};
|
|
501
|
-
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
502
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
|
|
513
|
+
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
514
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation);
|
|
503
515
|
var l = function (value, $completion) {
|
|
504
516
|
return i.d1m(value, $completion);
|
|
505
517
|
};
|
|
@@ -508,8 +520,8 @@
|
|
|
508
520
|
}
|
|
509
521
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
510
522
|
CoroutineImpl.call(this, resultContinuation);
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
523
|
+
this.gdh_1 = _this__u8e3s4;
|
|
524
|
+
this.hdh_1 = collector;
|
|
513
525
|
}
|
|
514
526
|
protoOf($collectCOROUTINE$0).r9 = function () {
|
|
515
527
|
var suspendResult = this.l9_1;
|
|
@@ -520,10 +532,10 @@
|
|
|
520
532
|
case 0:
|
|
521
533
|
this.k9_1 = 2;
|
|
522
534
|
var tmp_0 = this;
|
|
523
|
-
tmp_0.
|
|
535
|
+
tmp_0.idh_1 = this.hdh_1;
|
|
524
536
|
this.j9_1 = 1;
|
|
525
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.
|
|
526
|
-
suspendResult = this.
|
|
537
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.idh_1, this.gdh_1.kdh_1, null);
|
|
538
|
+
suspendResult = this.gdh_1.jdh_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
527
539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
528
540
|
return suspendResult;
|
|
529
541
|
}
|
|
@@ -545,8 +557,9 @@
|
|
|
545
557
|
}
|
|
546
558
|
while (true);
|
|
547
559
|
};
|
|
548
|
-
function _no_name_provided__qut3iv($this) {
|
|
549
|
-
this.
|
|
560
|
+
function _no_name_provided__qut3iv($this, this$0) {
|
|
561
|
+
this.jdh_1 = $this;
|
|
562
|
+
this.kdh_1 = this$0;
|
|
550
563
|
}
|
|
551
564
|
protoOf(_no_name_provided__qut3iv).s18 = function (collector, $completion) {
|
|
552
565
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -558,18 +571,18 @@
|
|
|
558
571
|
return this.s18(collector, $completion);
|
|
559
572
|
};
|
|
560
573
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation) {
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
574
|
+
this.tdh_1 = $table;
|
|
575
|
+
this.udh_1 = this$0;
|
|
563
576
|
CoroutineImpl.call(this, resultContinuation);
|
|
564
577
|
}
|
|
565
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
566
|
-
var tmp = this.
|
|
578
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).wdh = function ($this$flow, $completion) {
|
|
579
|
+
var tmp = this.xdh($this$flow, $completion);
|
|
567
580
|
tmp.l9_1 = Unit_instance;
|
|
568
581
|
tmp.m9_1 = null;
|
|
569
582
|
return tmp.r9();
|
|
570
583
|
};
|
|
571
584
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).ba = function (p1, $completion) {
|
|
572
|
-
return this.
|
|
585
|
+
return this.wdh((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
573
586
|
};
|
|
574
587
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).r9 = function () {
|
|
575
588
|
var suspendResult = this.l9_1;
|
|
@@ -580,7 +593,7 @@
|
|
|
580
593
|
case 0:
|
|
581
594
|
this.k9_1 = 3;
|
|
582
595
|
this.j9_1 = 1;
|
|
583
|
-
suspendResult = this.
|
|
596
|
+
suspendResult = this.vdh_1.r18(new TableStateUpdate(this.tdh_1, _get_encoderDecoderProvider__qqgrji(this.udh_1).x91(mapToDto_0(this.tdh_1))), this);
|
|
584
597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
585
598
|
return suspendResult;
|
|
586
599
|
}
|
|
@@ -588,8 +601,8 @@
|
|
|
588
601
|
continue $sm;
|
|
589
602
|
case 1:
|
|
590
603
|
this.j9_1 = 2;
|
|
591
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
592
|
-
suspendResult = emitAll(this.
|
|
604
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.udh_1).y92(), new Long(3000, 0));
|
|
605
|
+
suspendResult = emitAll(this.vdh_1, new _no_name_provided__qut3iv(this_0, this.udh_1), this);
|
|
593
606
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
594
607
|
return suspendResult;
|
|
595
608
|
}
|
|
@@ -611,32 +624,32 @@
|
|
|
611
624
|
}
|
|
612
625
|
while (true);
|
|
613
626
|
};
|
|
614
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
615
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.
|
|
616
|
-
i.
|
|
627
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).xdh = function ($this$flow, completion) {
|
|
628
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.tdh_1, this.udh_1, completion);
|
|
629
|
+
i.vdh_1 = $this$flow;
|
|
617
630
|
return i;
|
|
618
631
|
};
|
|
619
632
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
620
633
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation);
|
|
621
634
|
var l = function ($this$flow, $completion) {
|
|
622
|
-
return i.
|
|
635
|
+
return i.wdh($this$flow, $completion);
|
|
623
636
|
};
|
|
624
637
|
l.$arity = 1;
|
|
625
638
|
return l;
|
|
626
639
|
}
|
|
627
640
|
function GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation) {
|
|
628
|
-
this.
|
|
641
|
+
this.gdi_1 = this$0;
|
|
629
642
|
CoroutineImpl.call(this, resultContinuation);
|
|
630
643
|
}
|
|
631
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
632
|
-
var tmp = this.
|
|
644
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).tc3 = function ($this$transformLatest, it, $completion) {
|
|
645
|
+
var tmp = this.uc3($this$transformLatest, it, $completion);
|
|
633
646
|
tmp.l9_1 = Unit_instance;
|
|
634
647
|
tmp.m9_1 = null;
|
|
635
648
|
return tmp.r9();
|
|
636
649
|
};
|
|
637
650
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ca = function (p1, p2, $completion) {
|
|
638
651
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
639
|
-
return this.
|
|
652
|
+
return this.tc3(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
640
653
|
};
|
|
641
654
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).r9 = function () {
|
|
642
655
|
var suspendResult = this.l9_1;
|
|
@@ -647,8 +660,8 @@
|
|
|
647
660
|
case 0:
|
|
648
661
|
this.k9_1 = 2;
|
|
649
662
|
this.j9_1 = 1;
|
|
650
|
-
var table = this.
|
|
651
|
-
suspendResult = emitAll(this.
|
|
663
|
+
var table = this.idi_1;
|
|
664
|
+
suspendResult = emitAll(this.hdi_1, flow(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0(table, this.gdi_1, null)), this);
|
|
652
665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
653
666
|
return suspendResult;
|
|
654
667
|
}
|
|
@@ -670,32 +683,32 @@
|
|
|
670
683
|
}
|
|
671
684
|
while (true);
|
|
672
685
|
};
|
|
673
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
674
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
675
|
-
i.
|
|
676
|
-
i.
|
|
686
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).uc3 = function ($this$transformLatest, it, completion) {
|
|
687
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.gdi_1, completion);
|
|
688
|
+
i.hdi_1 = $this$transformLatest;
|
|
689
|
+
i.idi_1 = it;
|
|
677
690
|
return i;
|
|
678
691
|
};
|
|
679
692
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0(this$0, resultContinuation) {
|
|
680
693
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation);
|
|
681
694
|
var l = function ($this$transformLatest, it, $completion) {
|
|
682
|
-
return i.
|
|
695
|
+
return i.tc3($this$transformLatest, it, $completion);
|
|
683
696
|
};
|
|
684
697
|
l.$arity = 2;
|
|
685
698
|
return l;
|
|
686
699
|
}
|
|
687
700
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation) {
|
|
688
|
-
this.
|
|
701
|
+
this.rdi_1 = $subscriber;
|
|
689
702
|
CoroutineImpl.call(this, resultContinuation);
|
|
690
703
|
}
|
|
691
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
692
|
-
var tmp = this.
|
|
704
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).tdi = function (it, $completion) {
|
|
705
|
+
var tmp = this.udi(it, $completion);
|
|
693
706
|
tmp.l9_1 = Unit_instance;
|
|
694
707
|
tmp.m9_1 = null;
|
|
695
708
|
return tmp.r9();
|
|
696
709
|
};
|
|
697
710
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).ba = function (p1, $completion) {
|
|
698
|
-
return this.
|
|
711
|
+
return this.tdi((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
699
712
|
};
|
|
700
713
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).r9 = function () {
|
|
701
714
|
var suspendResult = this.l9_1;
|
|
@@ -704,7 +717,7 @@
|
|
|
704
717
|
var tmp = this.j9_1;
|
|
705
718
|
if (tmp === 0) {
|
|
706
719
|
this.k9_1 = 1;
|
|
707
|
-
this.
|
|
720
|
+
this.rdi_1(this.sdi_1);
|
|
708
721
|
return Unit_instance;
|
|
709
722
|
} else if (tmp === 1) {
|
|
710
723
|
throw this.m9_1;
|
|
@@ -715,21 +728,21 @@
|
|
|
715
728
|
}
|
|
716
729
|
while (true);
|
|
717
730
|
};
|
|
718
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
719
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.
|
|
720
|
-
i.
|
|
731
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).udi = function (it, completion) {
|
|
732
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.rdi_1, completion);
|
|
733
|
+
i.sdi_1 = it;
|
|
721
734
|
return i;
|
|
722
735
|
};
|
|
723
736
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_2($subscriber, resultContinuation) {
|
|
724
737
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation);
|
|
725
738
|
var l = function (it, $completion) {
|
|
726
|
-
return i.
|
|
739
|
+
return i.tdi(it, $completion);
|
|
727
740
|
};
|
|
728
741
|
l.$arity = 1;
|
|
729
742
|
return l;
|
|
730
743
|
}
|
|
731
744
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
732
|
-
this.
|
|
745
|
+
this.ddj_1 = $$this$unsafeFlow;
|
|
733
746
|
CoroutineImpl.call(this, resultContinuation);
|
|
734
747
|
}
|
|
735
748
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -748,27 +761,55 @@
|
|
|
748
761
|
var tmp = this.j9_1;
|
|
749
762
|
switch (tmp) {
|
|
750
763
|
case 0:
|
|
751
|
-
this.k9_1 =
|
|
764
|
+
this.k9_1 = 5;
|
|
765
|
+
this.j9_1 = 1;
|
|
766
|
+
continue $sm;
|
|
767
|
+
case 1:
|
|
752
768
|
var tmp_0 = this;
|
|
753
|
-
tmp_0.
|
|
769
|
+
tmp_0.gdj_1 = this.ddj_1;
|
|
754
770
|
var tmp_1 = this;
|
|
755
|
-
tmp_1.
|
|
756
|
-
|
|
757
|
-
var
|
|
758
|
-
|
|
771
|
+
tmp_1.hdj_1 = this.edj_1;
|
|
772
|
+
var tmp_2 = this;
|
|
773
|
+
var tmp0_safe_receiver = this.hdj_1.r6w_1;
|
|
774
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameInfo;
|
|
775
|
+
tmp_2.idj_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.roundNumberTotal;
|
|
776
|
+
if (this.idj_1 == null) {
|
|
777
|
+
this.fdj_1 = Unit_instance;
|
|
778
|
+
this.j9_1 = 4;
|
|
779
|
+
var tmp_3 = this;
|
|
780
|
+
continue $sm;
|
|
781
|
+
} else {
|
|
782
|
+
this.jdj_1 = this.idj_1;
|
|
783
|
+
this.j9_1 = 2;
|
|
784
|
+
continue $sm;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
case 2:
|
|
788
|
+
this.kdj_1 = this.jdj_1;
|
|
789
|
+
this.j9_1 = 3;
|
|
790
|
+
suspendResult = this.gdj_1.r18(this.kdj_1, this);
|
|
759
791
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
760
792
|
return suspendResult;
|
|
761
793
|
}
|
|
762
794
|
|
|
763
795
|
continue $sm;
|
|
764
|
-
case
|
|
796
|
+
case 3:
|
|
797
|
+
this.fdj_1 = suspendResult;
|
|
798
|
+
if (false) {
|
|
799
|
+
this.j9_1 = 1;
|
|
800
|
+
continue $sm;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
this.j9_1 = 4;
|
|
804
|
+
continue $sm;
|
|
805
|
+
case 4:
|
|
765
806
|
return Unit_instance;
|
|
766
|
-
case
|
|
807
|
+
case 5:
|
|
767
808
|
throw this.m9_1;
|
|
768
809
|
}
|
|
769
810
|
} catch ($p) {
|
|
770
811
|
var e = $p;
|
|
771
|
-
if (this.k9_1 ===
|
|
812
|
+
if (this.k9_1 === 5) {
|
|
772
813
|
throw e;
|
|
773
814
|
} else {
|
|
774
815
|
this.j9_1 = this.k9_1;
|
|
@@ -778,8 +819,8 @@
|
|
|
778
819
|
while (true);
|
|
779
820
|
};
|
|
780
821
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).e1m = function (value, completion) {
|
|
781
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
782
|
-
i.
|
|
822
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.ddj_1, completion);
|
|
823
|
+
i.edj_1 = value;
|
|
783
824
|
return i;
|
|
784
825
|
};
|
|
785
826
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -792,8 +833,8 @@
|
|
|
792
833
|
}
|
|
793
834
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
794
835
|
CoroutineImpl.call(this, resultContinuation);
|
|
795
|
-
this.
|
|
796
|
-
this.
|
|
836
|
+
this.tdj_1 = _this__u8e3s4;
|
|
837
|
+
this.udj_1 = collector;
|
|
797
838
|
}
|
|
798
839
|
protoOf($collectCOROUTINE$1).r9 = function () {
|
|
799
840
|
var suspendResult = this.l9_1;
|
|
@@ -804,10 +845,10 @@
|
|
|
804
845
|
case 0:
|
|
805
846
|
this.k9_1 = 2;
|
|
806
847
|
var tmp_0 = this;
|
|
807
|
-
tmp_0.
|
|
848
|
+
tmp_0.vdj_1 = this.udj_1;
|
|
808
849
|
this.j9_1 = 1;
|
|
809
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
810
|
-
suspendResult = this.
|
|
850
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.vdj_1, null);
|
|
851
|
+
suspendResult = this.tdj_1.wdj_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
811
852
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
812
853
|
return suspendResult;
|
|
813
854
|
}
|
|
@@ -830,7 +871,7 @@
|
|
|
830
871
|
while (true);
|
|
831
872
|
};
|
|
832
873
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
833
|
-
this.
|
|
874
|
+
this.fdk_1 = $$this$unsafeFlow;
|
|
834
875
|
CoroutineImpl.call(this, resultContinuation);
|
|
835
876
|
}
|
|
836
877
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -854,33 +895,33 @@
|
|
|
854
895
|
continue $sm;
|
|
855
896
|
case 1:
|
|
856
897
|
var tmp_0 = this;
|
|
857
|
-
tmp_0.
|
|
898
|
+
tmp_0.idk_1 = this.fdk_1;
|
|
858
899
|
var tmp_1 = this;
|
|
859
|
-
tmp_1.
|
|
900
|
+
tmp_1.jdk_1 = this.gdk_1;
|
|
860
901
|
var tmp_2 = this;
|
|
861
|
-
tmp_2.
|
|
862
|
-
if (this.
|
|
863
|
-
this.
|
|
902
|
+
tmp_2.kdk_1 = this.jdk_1.r6w_1;
|
|
903
|
+
if (this.kdk_1 == null) {
|
|
904
|
+
this.hdk_1 = Unit_instance;
|
|
864
905
|
this.j9_1 = 4;
|
|
865
906
|
var tmp_3 = this;
|
|
866
907
|
continue $sm;
|
|
867
908
|
} else {
|
|
868
|
-
this.
|
|
909
|
+
this.ldk_1 = this.kdk_1;
|
|
869
910
|
this.j9_1 = 2;
|
|
870
911
|
continue $sm;
|
|
871
912
|
}
|
|
872
913
|
|
|
873
914
|
case 2:
|
|
874
|
-
this.
|
|
915
|
+
this.mdk_1 = this.ldk_1;
|
|
875
916
|
this.j9_1 = 3;
|
|
876
|
-
suspendResult = this.
|
|
917
|
+
suspendResult = this.idk_1.r18(this.mdk_1, this);
|
|
877
918
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
878
919
|
return suspendResult;
|
|
879
920
|
}
|
|
880
921
|
|
|
881
922
|
continue $sm;
|
|
882
923
|
case 3:
|
|
883
|
-
this.
|
|
924
|
+
this.hdk_1 = suspendResult;
|
|
884
925
|
if (false) {
|
|
885
926
|
this.j9_1 = 1;
|
|
886
927
|
continue $sm;
|
|
@@ -905,8 +946,8 @@
|
|
|
905
946
|
while (true);
|
|
906
947
|
};
|
|
907
948
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).e1m = function (value, completion) {
|
|
908
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
909
|
-
i.
|
|
949
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.fdk_1, completion);
|
|
950
|
+
i.gdk_1 = value;
|
|
910
951
|
return i;
|
|
911
952
|
};
|
|
912
953
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -919,8 +960,8 @@
|
|
|
919
960
|
}
|
|
920
961
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
921
962
|
CoroutineImpl.call(this, resultContinuation);
|
|
922
|
-
this.
|
|
923
|
-
this.
|
|
963
|
+
this.vdk_1 = _this__u8e3s4;
|
|
964
|
+
this.wdk_1 = collector;
|
|
924
965
|
}
|
|
925
966
|
protoOf($collectCOROUTINE$2).r9 = function () {
|
|
926
967
|
var suspendResult = this.l9_1;
|
|
@@ -931,10 +972,10 @@
|
|
|
931
972
|
case 0:
|
|
932
973
|
this.k9_1 = 2;
|
|
933
974
|
var tmp_0 = this;
|
|
934
|
-
tmp_0.
|
|
975
|
+
tmp_0.xdk_1 = this.wdk_1;
|
|
935
976
|
this.j9_1 = 1;
|
|
936
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
937
|
-
suspendResult = this.
|
|
977
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.xdk_1, null);
|
|
978
|
+
suspendResult = this.vdk_1.ydk_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
938
979
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
939
980
|
return suspendResult;
|
|
940
981
|
}
|
|
@@ -957,7 +998,7 @@
|
|
|
957
998
|
while (true);
|
|
958
999
|
};
|
|
959
1000
|
function _no_name_provided__qut3iv_0($this) {
|
|
960
|
-
this.
|
|
1001
|
+
this.ydk_1 = $this;
|
|
961
1002
|
}
|
|
962
1003
|
protoOf(_no_name_provided__qut3iv_0).s18 = function (collector, $completion) {
|
|
963
1004
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -969,17 +1010,17 @@
|
|
|
969
1010
|
return this.s18(collector, $completion);
|
|
970
1011
|
};
|
|
971
1012
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
972
|
-
this.
|
|
1013
|
+
this.hdl_1 = $subscriber;
|
|
973
1014
|
CoroutineImpl.call(this, resultContinuation);
|
|
974
1015
|
}
|
|
975
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
976
|
-
var tmp = this.
|
|
1016
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).jdl = function (it, $completion) {
|
|
1017
|
+
var tmp = this.kdl(it, $completion);
|
|
977
1018
|
tmp.l9_1 = Unit_instance;
|
|
978
1019
|
tmp.m9_1 = null;
|
|
979
1020
|
return tmp.r9();
|
|
980
1021
|
};
|
|
981
1022
|
protoOf(GameServer$subscribeWith$slambda$slambda).ba = function (p1, $completion) {
|
|
982
|
-
return this.
|
|
1023
|
+
return this.jdl(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
983
1024
|
};
|
|
984
1025
|
protoOf(GameServer$subscribeWith$slambda$slambda).r9 = function () {
|
|
985
1026
|
var suspendResult = this.l9_1;
|
|
@@ -988,7 +1029,7 @@
|
|
|
988
1029
|
var tmp = this.j9_1;
|
|
989
1030
|
if (tmp === 0) {
|
|
990
1031
|
this.k9_1 = 1;
|
|
991
|
-
this.
|
|
1032
|
+
this.hdl_1(this.idl_1);
|
|
992
1033
|
return Unit_instance;
|
|
993
1034
|
} else if (tmp === 1) {
|
|
994
1035
|
throw this.m9_1;
|
|
@@ -999,70 +1040,76 @@
|
|
|
999
1040
|
}
|
|
1000
1041
|
while (true);
|
|
1001
1042
|
};
|
|
1002
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1003
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1004
|
-
i.
|
|
1043
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).kdl = function (it, completion) {
|
|
1044
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.hdl_1, completion);
|
|
1045
|
+
i.idl_1 = it;
|
|
1005
1046
|
return i;
|
|
1006
1047
|
};
|
|
1007
1048
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1008
1049
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1009
1050
|
var l = function (it, $completion) {
|
|
1010
|
-
return i.
|
|
1051
|
+
return i.jdl(it, $completion);
|
|
1011
1052
|
};
|
|
1012
1053
|
l.$arity = 1;
|
|
1013
1054
|
return l;
|
|
1014
1055
|
}
|
|
1015
1056
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
1016
|
-
this.
|
|
1057
|
+
this.ldl_1 = $playerId;
|
|
1017
1058
|
}
|
|
1018
1059
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).s6e = function () {
|
|
1019
|
-
return this.
|
|
1060
|
+
return this.ldl_1;
|
|
1020
1061
|
};
|
|
1021
1062
|
function _get_logger__rkp4sl($this) {
|
|
1022
1063
|
// Inline function 'kotlin.getValue' call
|
|
1023
|
-
var this_0 = $this.
|
|
1064
|
+
var this_0 = $this.odl_1;
|
|
1024
1065
|
logger$factory_0();
|
|
1025
1066
|
return this_0.u();
|
|
1026
1067
|
}
|
|
1027
1068
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1028
1069
|
// Inline function 'kotlin.getValue' call
|
|
1029
|
-
var this_0 = $this.
|
|
1070
|
+
var this_0 = $this.pdl_1;
|
|
1030
1071
|
toClientEventsObserver$factory_0();
|
|
1031
1072
|
return this_0.u();
|
|
1032
1073
|
}
|
|
1033
1074
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1034
1075
|
// Inline function 'kotlin.getValue' call
|
|
1035
|
-
var this_0 = $this.
|
|
1076
|
+
var this_0 = $this.qdl_1;
|
|
1036
1077
|
fromClientEventsObserver$factory_0();
|
|
1037
1078
|
return this_0.u();
|
|
1038
1079
|
}
|
|
1039
1080
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1040
1081
|
// Inline function 'kotlin.getValue' call
|
|
1041
|
-
var this_0 = $this.
|
|
1082
|
+
var this_0 = $this.rdl_1;
|
|
1042
1083
|
playerConnectionInteractor$factory_0();
|
|
1043
1084
|
return this_0.u();
|
|
1044
1085
|
}
|
|
1045
1086
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1046
1087
|
// Inline function 'kotlin.getValue' call
|
|
1047
|
-
var this_0 = $this.
|
|
1088
|
+
var this_0 = $this.sdl_1;
|
|
1048
1089
|
teamsLogicProvider$factory_0();
|
|
1049
1090
|
return this_0.u();
|
|
1050
1091
|
}
|
|
1092
|
+
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1093
|
+
// Inline function 'kotlin.getValue' call
|
|
1094
|
+
var this_0 = $this.tdl_1;
|
|
1095
|
+
encoderDecoderProvider$factory_0();
|
|
1096
|
+
return this_0.u();
|
|
1097
|
+
}
|
|
1051
1098
|
function _get_random__h29cgo($this) {
|
|
1052
1099
|
// Inline function 'kotlin.getValue' call
|
|
1053
|
-
var this_0 = $this.
|
|
1100
|
+
var this_0 = $this.udl_1;
|
|
1054
1101
|
random$factory();
|
|
1055
1102
|
return this_0.u();
|
|
1056
1103
|
}
|
|
1057
1104
|
function _get_idsProvider__fnfajc($this) {
|
|
1058
1105
|
// Inline function 'kotlin.getValue' call
|
|
1059
|
-
var this_0 = $this.
|
|
1106
|
+
var this_0 = $this.vdl_1;
|
|
1060
1107
|
idsProvider$factory_0();
|
|
1061
1108
|
return this_0.u();
|
|
1062
1109
|
}
|
|
1063
1110
|
function observeTableWhenRoundChanges($this, observeState) {
|
|
1064
1111
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
1065
|
-
// Inline function 'kotlinx.coroutines.flow.
|
|
1112
|
+
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
1066
1113
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1067
1114
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
1068
1115
|
var tmp$ret$2 = new _no_name_provided__qut3iv_1(observeState);
|
|
@@ -1070,20 +1117,20 @@
|
|
|
1070
1117
|
return transformLatest(this_0, GameServer$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
1071
1118
|
}
|
|
1072
1119
|
function Companion() {
|
|
1073
|
-
this.
|
|
1120
|
+
this.xdl_1 = 'GameEngine_API';
|
|
1074
1121
|
}
|
|
1075
1122
|
var Companion_instance_7;
|
|
1076
1123
|
function Companion_getInstance_0() {
|
|
1077
1124
|
return Companion_instance_7;
|
|
1078
1125
|
}
|
|
1079
1126
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1080
|
-
this.
|
|
1127
|
+
this.ydl_1 = function_0;
|
|
1081
1128
|
}
|
|
1082
1129
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r18 = function (value, $completion) {
|
|
1083
|
-
return this.
|
|
1130
|
+
return this.ydl_1(value, $completion);
|
|
1084
1131
|
};
|
|
1085
1132
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t3 = function () {
|
|
1086
|
-
return this.
|
|
1133
|
+
return this.ydl_1;
|
|
1087
1134
|
};
|
|
1088
1135
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1089
1136
|
var tmp;
|
|
@@ -1104,13 +1151,13 @@
|
|
|
1104
1151
|
return hashCode(this.t3());
|
|
1105
1152
|
};
|
|
1106
1153
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1107
|
-
this.
|
|
1154
|
+
this.zdl_1 = function_0;
|
|
1108
1155
|
}
|
|
1109
1156
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r18 = function (value, $completion) {
|
|
1110
|
-
return this.
|
|
1157
|
+
return this.zdl_1(value, $completion);
|
|
1111
1158
|
};
|
|
1112
1159
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t3 = function () {
|
|
1113
|
-
return this.
|
|
1160
|
+
return this.zdl_1;
|
|
1114
1161
|
};
|
|
1115
1162
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1116
1163
|
var tmp;
|
|
@@ -1131,13 +1178,13 @@
|
|
|
1131
1178
|
return hashCode(this.t3());
|
|
1132
1179
|
};
|
|
1133
1180
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1134
|
-
this.
|
|
1181
|
+
this.adm_1 = function_0;
|
|
1135
1182
|
}
|
|
1136
1183
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).r18 = function (value, $completion) {
|
|
1137
|
-
return this.
|
|
1184
|
+
return this.adm_1(value, $completion);
|
|
1138
1185
|
};
|
|
1139
1186
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).t3 = function () {
|
|
1140
|
-
return this.
|
|
1187
|
+
return this.adm_1;
|
|
1141
1188
|
};
|
|
1142
1189
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1143
1190
|
var tmp;
|
|
@@ -1158,13 +1205,13 @@
|
|
|
1158
1205
|
return hashCode(this.t3());
|
|
1159
1206
|
};
|
|
1160
1207
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1161
|
-
this.
|
|
1208
|
+
this.bdm_1 = function_0;
|
|
1162
1209
|
}
|
|
1163
1210
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).r18 = function (value, $completion) {
|
|
1164
|
-
return this.
|
|
1211
|
+
return this.bdm_1(value, $completion);
|
|
1165
1212
|
};
|
|
1166
1213
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).t3 = function () {
|
|
1167
|
-
return this.
|
|
1214
|
+
return this.bdm_1;
|
|
1168
1215
|
};
|
|
1169
1216
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1170
1217
|
var tmp;
|
|
@@ -1190,8 +1237,8 @@
|
|
|
1190
1237
|
};
|
|
1191
1238
|
}
|
|
1192
1239
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1240
|
+
this.kdm_1 = this$0;
|
|
1241
|
+
this.ldm_1 = $subscriber;
|
|
1195
1242
|
CoroutineImpl.call(this, resultContinuation);
|
|
1196
1243
|
}
|
|
1197
1244
|
protoOf(GameServer$subscribeToClientAction$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1212,8 +1259,8 @@
|
|
|
1212
1259
|
case 0:
|
|
1213
1260
|
this.k9_1 = 2;
|
|
1214
1261
|
this.j9_1 = 1;
|
|
1215
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1216
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1262
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.kdm_1).mar();
|
|
1263
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.ldm_1, null);
|
|
1217
1264
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1218
1265
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1219
1266
|
return suspendResult;
|
|
@@ -1237,8 +1284,8 @@
|
|
|
1237
1284
|
while (true);
|
|
1238
1285
|
};
|
|
1239
1286
|
protoOf(GameServer$subscribeToClientAction$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1240
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1241
|
-
i.
|
|
1287
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.kdm_1, this.ldm_1, completion);
|
|
1288
|
+
i.mdm_1 = $this$launchDefault;
|
|
1242
1289
|
return i;
|
|
1243
1290
|
};
|
|
1244
1291
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1250,8 +1297,8 @@
|
|
|
1250
1297
|
return l;
|
|
1251
1298
|
}
|
|
1252
1299
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1300
|
+
this.vdm_1 = this$0;
|
|
1301
|
+
this.wdm_1 = $subscriber;
|
|
1255
1302
|
CoroutineImpl.call(this, resultContinuation);
|
|
1256
1303
|
}
|
|
1257
1304
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1272,9 +1319,9 @@
|
|
|
1272
1319
|
case 0:
|
|
1273
1320
|
this.k9_1 = 2;
|
|
1274
1321
|
this.j9_1 = 1;
|
|
1275
|
-
var this_0 = observeTableWhenRoundChanges(this.
|
|
1276
|
-
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1277
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.
|
|
1322
|
+
var this_0 = observeTableWhenRoundChanges(this.vdm_1, this.vdm_1.q6w());
|
|
1323
|
+
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.vdm_1, null));
|
|
1324
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.wdm_1, null);
|
|
1278
1325
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1279
1326
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1280
1327
|
return suspendResult;
|
|
@@ -1298,8 +1345,8 @@
|
|
|
1298
1345
|
while (true);
|
|
1299
1346
|
};
|
|
1300
1347
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1301
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1302
|
-
i.
|
|
1348
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.vdm_1, this.wdm_1, completion);
|
|
1349
|
+
i.xdm_1 = $this$launchDefault;
|
|
1303
1350
|
return i;
|
|
1304
1351
|
};
|
|
1305
1352
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1311,7 +1358,7 @@
|
|
|
1311
1358
|
return l;
|
|
1312
1359
|
}
|
|
1313
1360
|
function _no_name_provided__qut3iv_1($this) {
|
|
1314
|
-
this.
|
|
1361
|
+
this.wdj_1 = $this;
|
|
1315
1362
|
}
|
|
1316
1363
|
protoOf(_no_name_provided__qut3iv_1).s18 = function (collector, $completion) {
|
|
1317
1364
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -1323,18 +1370,18 @@
|
|
|
1323
1370
|
return this.s18(collector, $completion);
|
|
1324
1371
|
};
|
|
1325
1372
|
function GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
1326
|
-
this.
|
|
1373
|
+
this.gdn_1 = $observeState;
|
|
1327
1374
|
CoroutineImpl.call(this, resultContinuation);
|
|
1328
1375
|
}
|
|
1329
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1330
|
-
var tmp = this.
|
|
1376
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).tc3 = function ($this$transformLatest, it, $completion) {
|
|
1377
|
+
var tmp = this.uc3($this$transformLatest, it, $completion);
|
|
1331
1378
|
tmp.l9_1 = Unit_instance;
|
|
1332
1379
|
tmp.m9_1 = null;
|
|
1333
1380
|
return tmp.r9();
|
|
1334
1381
|
};
|
|
1335
1382
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).ca = function (p1, p2, $completion) {
|
|
1336
1383
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1337
|
-
return this.
|
|
1384
|
+
return this.tc3(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1338
1385
|
};
|
|
1339
1386
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).r9 = function () {
|
|
1340
1387
|
var suspendResult = this.l9_1;
|
|
@@ -1345,9 +1392,9 @@
|
|
|
1345
1392
|
case 0:
|
|
1346
1393
|
this.k9_1 = 2;
|
|
1347
1394
|
this.j9_1 = 1;
|
|
1348
|
-
this.
|
|
1349
|
-
var this_0 = this.
|
|
1350
|
-
suspendResult = emitAll(this.
|
|
1395
|
+
this.idn_1;
|
|
1396
|
+
var this_0 = this.gdn_1;
|
|
1397
|
+
suspendResult = emitAll(this.hdn_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
1351
1398
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1352
1399
|
return suspendResult;
|
|
1353
1400
|
}
|
|
@@ -1369,23 +1416,23 @@
|
|
|
1369
1416
|
}
|
|
1370
1417
|
while (true);
|
|
1371
1418
|
};
|
|
1372
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1373
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.
|
|
1374
|
-
i.
|
|
1375
|
-
i.
|
|
1419
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).uc3 = function ($this$transformLatest, it, completion) {
|
|
1420
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.gdn_1, completion);
|
|
1421
|
+
i.hdn_1 = $this$transformLatest;
|
|
1422
|
+
i.idn_1 = it;
|
|
1376
1423
|
return i;
|
|
1377
1424
|
};
|
|
1378
1425
|
function GameServer$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
1379
1426
|
var i = new GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
1380
1427
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1381
|
-
return i.
|
|
1428
|
+
return i.tc3($this$transformLatest, it, $completion);
|
|
1382
1429
|
};
|
|
1383
1430
|
l.$arity = 2;
|
|
1384
1431
|
return l;
|
|
1385
1432
|
}
|
|
1386
1433
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1387
|
-
this.
|
|
1388
|
-
this.
|
|
1434
|
+
this.rdn_1 = this$0;
|
|
1435
|
+
this.sdn_1 = $subscriber;
|
|
1389
1436
|
CoroutineImpl.call(this, resultContinuation);
|
|
1390
1437
|
}
|
|
1391
1438
|
protoOf(GameServer$subscribeWith$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1406,8 +1453,8 @@
|
|
|
1406
1453
|
case 0:
|
|
1407
1454
|
this.k9_1 = 2;
|
|
1408
1455
|
this.j9_1 = 1;
|
|
1409
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1410
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1456
|
+
var tmp_0 = distinctUntilChanged(this.rdn_1.q6w());
|
|
1457
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.sdn_1, null);
|
|
1411
1458
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
1412
1459
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1413
1460
|
return suspendResult;
|
|
@@ -1431,8 +1478,8 @@
|
|
|
1431
1478
|
while (true);
|
|
1432
1479
|
};
|
|
1433
1480
|
protoOf(GameServer$subscribeWith$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1434
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1435
|
-
i.
|
|
1481
|
+
var i = new GameServer$subscribeWith$slambda(this.rdn_1, this.sdn_1, completion);
|
|
1482
|
+
i.tdn_1 = $this$launchDefault;
|
|
1436
1483
|
return i;
|
|
1437
1484
|
};
|
|
1438
1485
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1444,18 +1491,18 @@
|
|
|
1444
1491
|
return l;
|
|
1445
1492
|
}
|
|
1446
1493
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1447
|
-
this.
|
|
1494
|
+
this.cdo_1 = $action;
|
|
1448
1495
|
CoroutineImpl.call(this, resultContinuation);
|
|
1449
1496
|
}
|
|
1450
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1451
|
-
var tmp = this.
|
|
1497
|
+
protoOf(GameServer$fromClientEvent$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1498
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1452
1499
|
tmp.l9_1 = Unit_instance;
|
|
1453
1500
|
tmp.m9_1 = null;
|
|
1454
1501
|
return tmp.r9();
|
|
1455
1502
|
};
|
|
1456
1503
|
protoOf(GameServer$fromClientEvent$slambda).ca = function (p1, p2, $completion) {
|
|
1457
1504
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1458
|
-
return this.
|
|
1505
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1459
1506
|
};
|
|
1460
1507
|
protoOf(GameServer$fromClientEvent$slambda).r9 = function () {
|
|
1461
1508
|
var suspendResult = this.l9_1;
|
|
@@ -1464,11 +1511,11 @@
|
|
|
1464
1511
|
var tmp = this.j9_1;
|
|
1465
1512
|
if (tmp === 0) {
|
|
1466
1513
|
this.k9_1 = 1;
|
|
1467
|
-
if (this.
|
|
1468
|
-
if (!get_isCreated(this.
|
|
1514
|
+
if (this.cdo_1 instanceof PlayerReadyFromClientAction)
|
|
1515
|
+
if (!get_isCreated(this.edo_1.state)) {
|
|
1469
1516
|
return Unit_instance;
|
|
1470
1517
|
}
|
|
1471
|
-
this.
|
|
1518
|
+
this.edo_1.dispatch(this.cdo_1);
|
|
1472
1519
|
return Unit_instance;
|
|
1473
1520
|
} else if (tmp === 1) {
|
|
1474
1521
|
throw this.m9_1;
|
|
@@ -1479,33 +1526,33 @@
|
|
|
1479
1526
|
}
|
|
1480
1527
|
while (true);
|
|
1481
1528
|
};
|
|
1482
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1483
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1484
|
-
i.
|
|
1485
|
-
i.
|
|
1529
|
+
protoOf(GameServer$fromClientEvent$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1530
|
+
var i = new GameServer$fromClientEvent$slambda(this.cdo_1, completion);
|
|
1531
|
+
i.ddo_1 = $this$dispatchAsync;
|
|
1532
|
+
i.edo_1 = store;
|
|
1486
1533
|
return i;
|
|
1487
1534
|
};
|
|
1488
1535
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1489
1536
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1490
1537
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1491
|
-
return i.
|
|
1538
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1492
1539
|
};
|
|
1493
1540
|
l.$arity = 2;
|
|
1494
1541
|
return l;
|
|
1495
1542
|
}
|
|
1496
1543
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1497
|
-
this.
|
|
1544
|
+
this.ndo_1 = $playerId;
|
|
1498
1545
|
CoroutineImpl.call(this, resultContinuation);
|
|
1499
1546
|
}
|
|
1500
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1501
|
-
var tmp = this.
|
|
1547
|
+
protoOf(GameServer$playerLostConnection$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1548
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1502
1549
|
tmp.l9_1 = Unit_instance;
|
|
1503
1550
|
tmp.m9_1 = null;
|
|
1504
1551
|
return tmp.r9();
|
|
1505
1552
|
};
|
|
1506
1553
|
protoOf(GameServer$playerLostConnection$slambda).ca = function (p1, p2, $completion) {
|
|
1507
1554
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1508
|
-
return this.
|
|
1555
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1509
1556
|
};
|
|
1510
1557
|
protoOf(GameServer$playerLostConnection$slambda).r9 = function () {
|
|
1511
1558
|
var suspendResult = this.l9_1;
|
|
@@ -1514,12 +1561,12 @@
|
|
|
1514
1561
|
var tmp = this.j9_1;
|
|
1515
1562
|
if (tmp === 0) {
|
|
1516
1563
|
this.k9_1 = 1;
|
|
1517
|
-
if (!get_isCreated(this.
|
|
1564
|
+
if (!get_isCreated(this.pdo_1.state)) {
|
|
1518
1565
|
return Unit_instance;
|
|
1519
1566
|
}
|
|
1520
|
-
var tmp_0 = this.
|
|
1567
|
+
var tmp_0 = this.pdo_1.dispatch;
|
|
1521
1568
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1522
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1569
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ndo_1));
|
|
1523
1570
|
return Unit_instance;
|
|
1524
1571
|
} else if (tmp === 1) {
|
|
1525
1572
|
throw this.m9_1;
|
|
@@ -1530,34 +1577,34 @@
|
|
|
1530
1577
|
}
|
|
1531
1578
|
while (true);
|
|
1532
1579
|
};
|
|
1533
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1534
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
1535
|
-
i.
|
|
1536
|
-
i.
|
|
1580
|
+
protoOf(GameServer$playerLostConnection$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1581
|
+
var i = new GameServer$playerLostConnection$slambda(this.ndo_1, completion);
|
|
1582
|
+
i.odo_1 = $this$dispatchAsync;
|
|
1583
|
+
i.pdo_1 = store;
|
|
1537
1584
|
return i;
|
|
1538
1585
|
};
|
|
1539
1586
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
1540
1587
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
1541
1588
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1542
|
-
return i.
|
|
1589
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1543
1590
|
};
|
|
1544
1591
|
l.$arity = 2;
|
|
1545
1592
|
return l;
|
|
1546
1593
|
}
|
|
1547
1594
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
1548
|
-
this.
|
|
1549
|
-
this.
|
|
1595
|
+
this.ydo_1 = this$0;
|
|
1596
|
+
this.zdo_1 = $playerId;
|
|
1550
1597
|
CoroutineImpl.call(this, resultContinuation);
|
|
1551
1598
|
}
|
|
1552
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1553
|
-
var tmp = this.
|
|
1599
|
+
protoOf(GameServer$playerLive$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1600
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1554
1601
|
tmp.l9_1 = Unit_instance;
|
|
1555
1602
|
tmp.m9_1 = null;
|
|
1556
1603
|
return tmp.r9();
|
|
1557
1604
|
};
|
|
1558
1605
|
protoOf(GameServer$playerLive$slambda).ca = function (p1, p2, $completion) {
|
|
1559
1606
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1560
|
-
return this.
|
|
1607
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1561
1608
|
};
|
|
1562
1609
|
protoOf(GameServer$playerLive$slambda).r9 = function () {
|
|
1563
1610
|
var suspendResult = this.l9_1;
|
|
@@ -1566,16 +1613,16 @@
|
|
|
1566
1613
|
var tmp = this.j9_1;
|
|
1567
1614
|
if (tmp === 0) {
|
|
1568
1615
|
this.k9_1 = 1;
|
|
1569
|
-
if (get_isFinished(this.
|
|
1616
|
+
if (get_isFinished(this.bdp_1.state) || get_isFinishing(this.bdp_1.state)) {
|
|
1570
1617
|
return Unit_instance;
|
|
1571
1618
|
}
|
|
1572
|
-
if (!get_isCreated(this.
|
|
1573
|
-
_get_logger__rkp4sl(this.
|
|
1619
|
+
if (!get_isCreated(this.bdp_1.state) || !this.ydo_1.r6f().j6x()) {
|
|
1620
|
+
_get_logger__rkp4sl(this.ydo_1).w('GameEngine_API', 'playerLive: ' + this.zdo_1 + ' before game is created');
|
|
1574
1621
|
return Unit_instance;
|
|
1575
1622
|
}
|
|
1576
|
-
var tmp_0 = this.
|
|
1623
|
+
var tmp_0 = this.bdp_1.dispatch;
|
|
1577
1624
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1578
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1625
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.zdo_1));
|
|
1579
1626
|
return Unit_instance;
|
|
1580
1627
|
} else if (tmp === 1) {
|
|
1581
1628
|
throw this.m9_1;
|
|
@@ -1586,34 +1633,34 @@
|
|
|
1586
1633
|
}
|
|
1587
1634
|
while (true);
|
|
1588
1635
|
};
|
|
1589
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1590
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
1591
|
-
i.
|
|
1592
|
-
i.
|
|
1636
|
+
protoOf(GameServer$playerLive$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1637
|
+
var i = new GameServer$playerLive$slambda(this.ydo_1, this.zdo_1, completion);
|
|
1638
|
+
i.adp_1 = $this$dispatchAsync;
|
|
1639
|
+
i.bdp_1 = store;
|
|
1593
1640
|
return i;
|
|
1594
1641
|
};
|
|
1595
1642
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1596
1643
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
1597
1644
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1598
|
-
return i.
|
|
1645
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1599
1646
|
};
|
|
1600
1647
|
l.$arity = 2;
|
|
1601
1648
|
return l;
|
|
1602
1649
|
}
|
|
1603
1650
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
1604
|
-
this.
|
|
1605
|
-
this.
|
|
1651
|
+
this.kdp_1 = this$0;
|
|
1652
|
+
this.ldp_1 = $playerId;
|
|
1606
1653
|
CoroutineImpl.call(this, resultContinuation);
|
|
1607
1654
|
}
|
|
1608
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1609
|
-
var tmp = this.
|
|
1655
|
+
protoOf(GameServer$playerLeft$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1656
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1610
1657
|
tmp.l9_1 = Unit_instance;
|
|
1611
1658
|
tmp.m9_1 = null;
|
|
1612
1659
|
return tmp.r9();
|
|
1613
1660
|
};
|
|
1614
1661
|
protoOf(GameServer$playerLeft$slambda).ca = function (p1, p2, $completion) {
|
|
1615
1662
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1616
|
-
return this.
|
|
1663
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1617
1664
|
};
|
|
1618
1665
|
protoOf(GameServer$playerLeft$slambda).r9 = function () {
|
|
1619
1666
|
var suspendResult = this.l9_1;
|
|
@@ -1622,16 +1669,16 @@
|
|
|
1622
1669
|
var tmp = this.j9_1;
|
|
1623
1670
|
if (tmp === 0) {
|
|
1624
1671
|
this.k9_1 = 1;
|
|
1625
|
-
if (get_isFinished(this.
|
|
1672
|
+
if (get_isFinished(this.ndp_1.state) || get_isFinishing(this.ndp_1.state)) {
|
|
1626
1673
|
return Unit_instance;
|
|
1627
1674
|
}
|
|
1628
|
-
if (!get_isCreated(this.
|
|
1629
|
-
_get_logger__rkp4sl(this.
|
|
1675
|
+
if (!get_isCreated(this.ndp_1.state) || !this.kdp_1.r6f().j6x()) {
|
|
1676
|
+
_get_logger__rkp4sl(this.kdp_1).w('GameEngine_API', 'playerLeft: ' + this.ldp_1 + ' before game is created');
|
|
1630
1677
|
return Unit_instance;
|
|
1631
1678
|
}
|
|
1632
|
-
var tmp_0 = this.
|
|
1679
|
+
var tmp_0 = this.ndp_1.dispatch;
|
|
1633
1680
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1634
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1681
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ldp_1));
|
|
1635
1682
|
return Unit_instance;
|
|
1636
1683
|
} else if (tmp === 1) {
|
|
1637
1684
|
throw this.m9_1;
|
|
@@ -1642,39 +1689,39 @@
|
|
|
1642
1689
|
}
|
|
1643
1690
|
while (true);
|
|
1644
1691
|
};
|
|
1645
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1646
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1647
|
-
i.
|
|
1648
|
-
i.
|
|
1692
|
+
protoOf(GameServer$playerLeft$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1693
|
+
var i = new GameServer$playerLeft$slambda(this.kdp_1, this.ldp_1, completion);
|
|
1694
|
+
i.mdp_1 = $this$dispatchAsync;
|
|
1695
|
+
i.ndp_1 = store;
|
|
1649
1696
|
return i;
|
|
1650
1697
|
};
|
|
1651
1698
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1652
1699
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
1653
1700
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1654
|
-
return i.
|
|
1701
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1655
1702
|
};
|
|
1656
1703
|
l.$arity = 2;
|
|
1657
1704
|
return l;
|
|
1658
1705
|
}
|
|
1659
1706
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1660
|
-
this.
|
|
1661
|
-
this.
|
|
1662
|
-
this.
|
|
1663
|
-
this.
|
|
1664
|
-
this.
|
|
1665
|
-
this.
|
|
1666
|
-
this.
|
|
1707
|
+
this.wdp_1 = $usersArray;
|
|
1708
|
+
this.xdp_1 = $config;
|
|
1709
|
+
this.ydp_1 = this$0;
|
|
1710
|
+
this.zdp_1 = $roomId;
|
|
1711
|
+
this.adq_1 = $transition;
|
|
1712
|
+
this.bdq_1 = $gameCreatorId;
|
|
1713
|
+
this.cdq_1 = $spectators;
|
|
1667
1714
|
CoroutineImpl.call(this, resultContinuation);
|
|
1668
1715
|
}
|
|
1669
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1670
|
-
var tmp = this.
|
|
1716
|
+
protoOf(GameServer$roomOnCreate$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1717
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1671
1718
|
tmp.l9_1 = Unit_instance;
|
|
1672
1719
|
tmp.m9_1 = null;
|
|
1673
1720
|
return tmp.r9();
|
|
1674
1721
|
};
|
|
1675
1722
|
protoOf(GameServer$roomOnCreate$slambda).ca = function (p1, p2, $completion) {
|
|
1676
1723
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1677
|
-
return this.
|
|
1724
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1678
1725
|
};
|
|
1679
1726
|
protoOf(GameServer$roomOnCreate$slambda).r9 = function () {
|
|
1680
1727
|
var suspendResult = this.l9_1;
|
|
@@ -1683,28 +1730,28 @@
|
|
|
1683
1730
|
var tmp = this.j9_1;
|
|
1684
1731
|
if (tmp === 0) {
|
|
1685
1732
|
this.k9_1 = 1;
|
|
1686
|
-
var users = toList(this.
|
|
1687
|
-
if (!(this.
|
|
1688
|
-
_get_logger__rkp4sl(this.
|
|
1689
|
-
this.
|
|
1733
|
+
var users = toList(this.wdp_1);
|
|
1734
|
+
if (!(this.xdp_1.playersMode.count === users.m())) {
|
|
1735
|
+
_get_logger__rkp4sl(this.ydp_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.zdp_1 + ', config = ' + this.xdp_1.toString() + ', users = ' + toString(users));
|
|
1736
|
+
this.edq_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ydp_1.table.isGameFinished, this.ydp_1.table));
|
|
1690
1737
|
return Unit_instance;
|
|
1691
1738
|
}
|
|
1692
1739
|
var tmp_0;
|
|
1693
|
-
if (this.
|
|
1694
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
1740
|
+
if (this.xdp_1.mode.shufflePlayers && this.adq_1 == null) {
|
|
1741
|
+
tmp_0 = _get_random__h29cgo(this.ydp_1).k60(toMutableList(users));
|
|
1695
1742
|
} else {
|
|
1696
|
-
var tmp0_safe_receiver = this.
|
|
1743
|
+
var tmp0_safe_receiver = this.adq_1;
|
|
1697
1744
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1698
1745
|
var tmp_1;
|
|
1699
|
-
if (!(previousPlayers == null) && this.
|
|
1700
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1746
|
+
if (!(previousPlayers == null) && this.xdp_1.playersMode.isTeamGame) {
|
|
1747
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.ydp_1);
|
|
1701
1748
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1702
1749
|
var tmp0_iterator = previousPlayers.j();
|
|
1703
1750
|
while (tmp0_iterator.k()) {
|
|
1704
1751
|
var item = tmp0_iterator.l();
|
|
1705
1752
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1706
1753
|
}
|
|
1707
|
-
var previousTeams = tmp_2.
|
|
1754
|
+
var previousTeams = tmp_2.p92(destination);
|
|
1708
1755
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1709
1756
|
var tmp0_iterator_0 = users.j();
|
|
1710
1757
|
while (tmp0_iterator_0.k()) {
|
|
@@ -1728,19 +1775,19 @@
|
|
|
1728
1775
|
destination_1.e(destination_2);
|
|
1729
1776
|
}
|
|
1730
1777
|
var updatedTeams = destination_1;
|
|
1731
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1778
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.ydp_1).t92(updatedTeams);
|
|
1732
1779
|
} else {
|
|
1733
1780
|
tmp_1 = users;
|
|
1734
1781
|
}
|
|
1735
1782
|
tmp_0 = tmp_1;
|
|
1736
1783
|
}
|
|
1737
1784
|
var updatedUsers = tmp_0;
|
|
1738
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1739
|
-
var tmp_3 = this.
|
|
1785
|
+
var gameCreatorUser = getPlayer(users, this.bdq_1);
|
|
1786
|
+
var tmp_3 = this.edq_1.dispatch;
|
|
1740
1787
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
1741
1788
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
1742
|
-
var tmp3_spectators = toList(this.
|
|
1743
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1789
|
+
var tmp3_spectators = toList(this.cdq_1);
|
|
1790
|
+
tmp_3(new StartGameMechanicAction(this.xdp_1, this.zdp_1, tmp1_version, this.bdq_1, tmp2_users, VOID, tmp3_spectators));
|
|
1744
1791
|
return Unit_instance;
|
|
1745
1792
|
} else if (tmp === 1) {
|
|
1746
1793
|
throw this.m9_1;
|
|
@@ -1751,33 +1798,33 @@
|
|
|
1751
1798
|
}
|
|
1752
1799
|
while (true);
|
|
1753
1800
|
};
|
|
1754
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1755
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1756
|
-
i.
|
|
1757
|
-
i.
|
|
1801
|
+
protoOf(GameServer$roomOnCreate$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1802
|
+
var i = new GameServer$roomOnCreate$slambda(this.wdp_1, this.xdp_1, this.ydp_1, this.zdp_1, this.adq_1, this.bdq_1, this.cdq_1, completion);
|
|
1803
|
+
i.ddq_1 = $this$dispatchAsync;
|
|
1804
|
+
i.edq_1 = store;
|
|
1758
1805
|
return i;
|
|
1759
1806
|
};
|
|
1760
1807
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1761
1808
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
1762
1809
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1763
|
-
return i.
|
|
1810
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1764
1811
|
};
|
|
1765
1812
|
l.$arity = 2;
|
|
1766
1813
|
return l;
|
|
1767
1814
|
}
|
|
1768
1815
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1769
|
-
this.
|
|
1816
|
+
this.ndq_1 = $state;
|
|
1770
1817
|
CoroutineImpl.call(this, resultContinuation);
|
|
1771
1818
|
}
|
|
1772
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1773
|
-
var tmp = this.
|
|
1819
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1820
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1774
1821
|
tmp.l9_1 = Unit_instance;
|
|
1775
1822
|
tmp.m9_1 = null;
|
|
1776
1823
|
return tmp.r9();
|
|
1777
1824
|
};
|
|
1778
1825
|
protoOf(GameServer$roomOnContinueFromState$slambda).ca = function (p1, p2, $completion) {
|
|
1779
1826
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1780
|
-
return this.
|
|
1827
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1781
1828
|
};
|
|
1782
1829
|
protoOf(GameServer$roomOnContinueFromState$slambda).r9 = function () {
|
|
1783
1830
|
var suspendResult = this.l9_1;
|
|
@@ -1786,9 +1833,9 @@
|
|
|
1786
1833
|
var tmp = this.j9_1;
|
|
1787
1834
|
if (tmp === 0) {
|
|
1788
1835
|
this.k9_1 = 1;
|
|
1789
|
-
var tmp_0 = this.
|
|
1836
|
+
var tmp_0 = this.pdq_1.dispatch;
|
|
1790
1837
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1791
|
-
var tmp1_table = this.
|
|
1838
|
+
var tmp1_table = this.ndq_1.table;
|
|
1792
1839
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1793
1840
|
return Unit_instance;
|
|
1794
1841
|
} else if (tmp === 1) {
|
|
@@ -1800,33 +1847,33 @@
|
|
|
1800
1847
|
}
|
|
1801
1848
|
while (true);
|
|
1802
1849
|
};
|
|
1803
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1804
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1805
|
-
i.
|
|
1806
|
-
i.
|
|
1850
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1851
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ndq_1, completion);
|
|
1852
|
+
i.odq_1 = $this$dispatchAsync;
|
|
1853
|
+
i.pdq_1 = store;
|
|
1807
1854
|
return i;
|
|
1808
1855
|
};
|
|
1809
1856
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1810
1857
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1811
1858
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1812
|
-
return i.
|
|
1859
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1813
1860
|
};
|
|
1814
1861
|
l.$arity = 2;
|
|
1815
1862
|
return l;
|
|
1816
1863
|
}
|
|
1817
1864
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1818
|
-
this.
|
|
1865
|
+
this.ydq_1 = $state;
|
|
1819
1866
|
CoroutineImpl.call(this, resultContinuation);
|
|
1820
1867
|
}
|
|
1821
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1822
|
-
var tmp = this.
|
|
1868
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1869
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1823
1870
|
tmp.l9_1 = Unit_instance;
|
|
1824
1871
|
tmp.m9_1 = null;
|
|
1825
1872
|
return tmp.r9();
|
|
1826
1873
|
};
|
|
1827
1874
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).ca = function (p1, p2, $completion) {
|
|
1828
1875
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1829
|
-
return this.
|
|
1876
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1830
1877
|
};
|
|
1831
1878
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).r9 = function () {
|
|
1832
1879
|
var suspendResult = this.l9_1;
|
|
@@ -1835,10 +1882,10 @@
|
|
|
1835
1882
|
var tmp = this.j9_1;
|
|
1836
1883
|
if (tmp === 0) {
|
|
1837
1884
|
this.k9_1 = 1;
|
|
1838
|
-
var tmp0_iterator = this.
|
|
1885
|
+
var tmp0_iterator = this.ydq_1.actions.j();
|
|
1839
1886
|
while (tmp0_iterator.k()) {
|
|
1840
1887
|
var element = tmp0_iterator.l();
|
|
1841
|
-
this.
|
|
1888
|
+
this.adr_1.dispatch(element);
|
|
1842
1889
|
}
|
|
1843
1890
|
return Unit_instance;
|
|
1844
1891
|
} else if (tmp === 1) {
|
|
@@ -1850,35 +1897,35 @@
|
|
|
1850
1897
|
}
|
|
1851
1898
|
while (true);
|
|
1852
1899
|
};
|
|
1853
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1854
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1855
|
-
i.
|
|
1856
|
-
i.
|
|
1900
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1901
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ydq_1, completion);
|
|
1902
|
+
i.zdq_1 = $this$dispatchAsync;
|
|
1903
|
+
i.adr_1 = store;
|
|
1857
1904
|
return i;
|
|
1858
1905
|
};
|
|
1859
1906
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1860
1907
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1861
1908
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1862
|
-
return i.
|
|
1909
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1863
1910
|
};
|
|
1864
1911
|
l.$arity = 2;
|
|
1865
1912
|
return l;
|
|
1866
1913
|
}
|
|
1867
1914
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1868
|
-
this.
|
|
1869
|
-
this.
|
|
1870
|
-
this.
|
|
1915
|
+
this.jdr_1 = $tableLite;
|
|
1916
|
+
this.kdr_1 = $roomId;
|
|
1917
|
+
this.ldr_1 = this$0;
|
|
1871
1918
|
CoroutineImpl.call(this, resultContinuation);
|
|
1872
1919
|
}
|
|
1873
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1874
|
-
var tmp = this.
|
|
1920
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1921
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1875
1922
|
tmp.l9_1 = Unit_instance;
|
|
1876
1923
|
tmp.m9_1 = null;
|
|
1877
1924
|
return tmp.r9();
|
|
1878
1925
|
};
|
|
1879
1926
|
protoOf(GameServer$roomOnContinueFromRound$slambda).ca = function (p1, p2, $completion) {
|
|
1880
1927
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1881
|
-
return this.
|
|
1928
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1882
1929
|
};
|
|
1883
1930
|
protoOf(GameServer$roomOnContinueFromRound$slambda).r9 = function () {
|
|
1884
1931
|
var suspendResult = this.l9_1;
|
|
@@ -1887,9 +1934,9 @@
|
|
|
1887
1934
|
var tmp = this.j9_1;
|
|
1888
1935
|
if (tmp === 0) {
|
|
1889
1936
|
this.k9_1 = 1;
|
|
1890
|
-
var tmp_0 = this.
|
|
1891
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1892
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
1937
|
+
var tmp_0 = this.ndr_1.dispatch;
|
|
1938
|
+
var tmp0_reason = new RestartRoundReason(this.jdr_1.gameInfo.round.roundNumber);
|
|
1939
|
+
var tmp1_table = Companion_instance_0.restartRound(this.kdr_1, _get_idsProvider__fnfajc(this.ldr_1).q6m(), get_versionOrDefault(GameEngineConfig_instance), this.jdr_1);
|
|
1893
1940
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1894
1941
|
return Unit_instance;
|
|
1895
1942
|
} else if (tmp === 1) {
|
|
@@ -1901,16 +1948,16 @@
|
|
|
1901
1948
|
}
|
|
1902
1949
|
while (true);
|
|
1903
1950
|
};
|
|
1904
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1905
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1906
|
-
i.
|
|
1907
|
-
i.
|
|
1951
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1952
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.jdr_1, this.kdr_1, this.ldr_1, completion);
|
|
1953
|
+
i.mdr_1 = $this$dispatchAsync;
|
|
1954
|
+
i.ndr_1 = store;
|
|
1908
1955
|
return i;
|
|
1909
1956
|
};
|
|
1910
1957
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1911
1958
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1912
1959
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1913
|
-
return i.
|
|
1960
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1914
1961
|
};
|
|
1915
1962
|
l.$arity = 2;
|
|
1916
1963
|
return l;
|
|
@@ -1918,15 +1965,15 @@
|
|
|
1918
1965
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1919
1966
|
CoroutineImpl.call(this, resultContinuation);
|
|
1920
1967
|
}
|
|
1921
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1922
|
-
var tmp = this.
|
|
1968
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
1969
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1923
1970
|
tmp.l9_1 = Unit_instance;
|
|
1924
1971
|
tmp.m9_1 = null;
|
|
1925
1972
|
return tmp.r9();
|
|
1926
1973
|
};
|
|
1927
1974
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ca = function (p1, p2, $completion) {
|
|
1928
1975
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1929
|
-
return this.
|
|
1976
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1930
1977
|
};
|
|
1931
1978
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).r9 = function () {
|
|
1932
1979
|
var suspendResult = this.l9_1;
|
|
@@ -1935,7 +1982,7 @@
|
|
|
1935
1982
|
var tmp = this.j9_1;
|
|
1936
1983
|
if (tmp === 0) {
|
|
1937
1984
|
this.k9_1 = 1;
|
|
1938
|
-
this.
|
|
1985
|
+
this.xdr_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1939
1986
|
return Unit_instance;
|
|
1940
1987
|
} else if (tmp === 1) {
|
|
1941
1988
|
throw this.m9_1;
|
|
@@ -1946,33 +1993,33 @@
|
|
|
1946
1993
|
}
|
|
1947
1994
|
while (true);
|
|
1948
1995
|
};
|
|
1949
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1996
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).wbb = function ($this$dispatchAsync, store, completion) {
|
|
1950
1997
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1951
|
-
i.
|
|
1952
|
-
i.
|
|
1998
|
+
i.wdr_1 = $this$dispatchAsync;
|
|
1999
|
+
i.xdr_1 = store;
|
|
1953
2000
|
return i;
|
|
1954
2001
|
};
|
|
1955
2002
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1956
2003
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1957
2004
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1958
|
-
return i.
|
|
2005
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
1959
2006
|
};
|
|
1960
2007
|
l.$arity = 2;
|
|
1961
2008
|
return l;
|
|
1962
2009
|
}
|
|
1963
2010
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1964
|
-
this.
|
|
2011
|
+
this.gds_1 = $spectators;
|
|
1965
2012
|
CoroutineImpl.call(this, resultContinuation);
|
|
1966
2013
|
}
|
|
1967
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1968
|
-
var tmp = this.
|
|
2014
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
2015
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
1969
2016
|
tmp.l9_1 = Unit_instance;
|
|
1970
2017
|
tmp.m9_1 = null;
|
|
1971
2018
|
return tmp.r9();
|
|
1972
2019
|
};
|
|
1973
2020
|
protoOf(GameServer$addSpectatorsToRoom$slambda).ca = function (p1, p2, $completion) {
|
|
1974
2021
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1975
|
-
return this.
|
|
2022
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1976
2023
|
};
|
|
1977
2024
|
protoOf(GameServer$addSpectatorsToRoom$slambda).r9 = function () {
|
|
1978
2025
|
var suspendResult = this.l9_1;
|
|
@@ -1981,7 +2028,7 @@
|
|
|
1981
2028
|
var tmp = this.j9_1;
|
|
1982
2029
|
if (tmp === 0) {
|
|
1983
2030
|
this.k9_1 = 1;
|
|
1984
|
-
this.
|
|
2031
|
+
this.ids_1.dispatch(new AddSpectatorsAction(toList(this.gds_1)));
|
|
1985
2032
|
return Unit_instance;
|
|
1986
2033
|
} else if (tmp === 1) {
|
|
1987
2034
|
throw this.m9_1;
|
|
@@ -1992,33 +2039,33 @@
|
|
|
1992
2039
|
}
|
|
1993
2040
|
while (true);
|
|
1994
2041
|
};
|
|
1995
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1996
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1997
|
-
i.
|
|
1998
|
-
i.
|
|
2042
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
2043
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.gds_1, completion);
|
|
2044
|
+
i.hds_1 = $this$dispatchAsync;
|
|
2045
|
+
i.ids_1 = store;
|
|
1999
2046
|
return i;
|
|
2000
2047
|
};
|
|
2001
2048
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2002
2049
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2003
2050
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2004
|
-
return i.
|
|
2051
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
2005
2052
|
};
|
|
2006
2053
|
l.$arity = 2;
|
|
2007
2054
|
return l;
|
|
2008
2055
|
}
|
|
2009
2056
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2010
|
-
this.
|
|
2057
|
+
this.rds_1 = $spectators;
|
|
2011
2058
|
CoroutineImpl.call(this, resultContinuation);
|
|
2012
2059
|
}
|
|
2013
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2014
|
-
var tmp = this.
|
|
2060
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
2061
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
2015
2062
|
tmp.l9_1 = Unit_instance;
|
|
2016
2063
|
tmp.m9_1 = null;
|
|
2017
2064
|
return tmp.r9();
|
|
2018
2065
|
};
|
|
2019
2066
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ca = function (p1, p2, $completion) {
|
|
2020
2067
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2021
|
-
return this.
|
|
2068
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2022
2069
|
};
|
|
2023
2070
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).r9 = function () {
|
|
2024
2071
|
var suspendResult = this.l9_1;
|
|
@@ -2027,7 +2074,7 @@
|
|
|
2027
2074
|
var tmp = this.j9_1;
|
|
2028
2075
|
if (tmp === 0) {
|
|
2029
2076
|
this.k9_1 = 1;
|
|
2030
|
-
this.
|
|
2077
|
+
this.tds_1.dispatch(new RemoveSpectatorsAction(toList(this.rds_1)));
|
|
2031
2078
|
return Unit_instance;
|
|
2032
2079
|
} else if (tmp === 1) {
|
|
2033
2080
|
throw this.m9_1;
|
|
@@ -2038,34 +2085,34 @@
|
|
|
2038
2085
|
}
|
|
2039
2086
|
while (true);
|
|
2040
2087
|
};
|
|
2041
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2042
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2043
|
-
i.
|
|
2044
|
-
i.
|
|
2088
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
2089
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.rds_1, completion);
|
|
2090
|
+
i.sds_1 = $this$dispatchAsync;
|
|
2091
|
+
i.tds_1 = store;
|
|
2045
2092
|
return i;
|
|
2046
2093
|
};
|
|
2047
2094
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2048
2095
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2049
2096
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2050
|
-
return i.
|
|
2097
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
2051
2098
|
};
|
|
2052
2099
|
l.$arity = 2;
|
|
2053
2100
|
return l;
|
|
2054
2101
|
}
|
|
2055
2102
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2056
|
-
this.
|
|
2057
|
-
this.
|
|
2103
|
+
this.cdt_1 = $playerId;
|
|
2104
|
+
this.ddt_1 = this$0;
|
|
2058
2105
|
CoroutineImpl.call(this, resultContinuation);
|
|
2059
2106
|
}
|
|
2060
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2061
|
-
var tmp = this.
|
|
2107
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
2108
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
2062
2109
|
tmp.l9_1 = Unit_instance;
|
|
2063
2110
|
tmp.m9_1 = null;
|
|
2064
2111
|
return tmp.r9();
|
|
2065
2112
|
};
|
|
2066
2113
|
protoOf(GameServer$roomRefreshPlayerState$slambda).ca = function (p1, p2, $completion) {
|
|
2067
2114
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2068
|
-
return this.
|
|
2115
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2069
2116
|
};
|
|
2070
2117
|
protoOf(GameServer$roomRefreshPlayerState$slambda).r9 = function () {
|
|
2071
2118
|
var suspendResult = this.l9_1;
|
|
@@ -2074,14 +2121,14 @@
|
|
|
2074
2121
|
var tmp = this.j9_1;
|
|
2075
2122
|
if (tmp === 0) {
|
|
2076
2123
|
this.k9_1 = 1;
|
|
2077
|
-
var table = this.
|
|
2078
|
-
var player = getPlayer(table.players, this.
|
|
2124
|
+
var table = this.fdt_1.state.i6x();
|
|
2125
|
+
var player = getPlayer(table.players, this.cdt_1);
|
|
2079
2126
|
if (player.h74_1.u6h().l6g_1.isLive) {
|
|
2080
|
-
this.
|
|
2127
|
+
this.fdt_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ddt_1).w99(player, table));
|
|
2081
2128
|
} else {
|
|
2082
|
-
var tmp_0 = this.
|
|
2129
|
+
var tmp_0 = this.fdt_1.dispatch;
|
|
2083
2130
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2084
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2131
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.cdt_1));
|
|
2085
2132
|
}
|
|
2086
2133
|
return Unit_instance;
|
|
2087
2134
|
} else if (tmp === 1) {
|
|
@@ -2093,34 +2140,34 @@
|
|
|
2093
2140
|
}
|
|
2094
2141
|
while (true);
|
|
2095
2142
|
};
|
|
2096
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2097
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2098
|
-
i.
|
|
2099
|
-
i.
|
|
2143
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
2144
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.cdt_1, this.ddt_1, completion);
|
|
2145
|
+
i.edt_1 = $this$dispatchAsync;
|
|
2146
|
+
i.fdt_1 = store;
|
|
2100
2147
|
return i;
|
|
2101
2148
|
};
|
|
2102
2149
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2103
2150
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2104
2151
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2105
|
-
return i.
|
|
2152
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
2106
2153
|
};
|
|
2107
2154
|
l.$arity = 2;
|
|
2108
2155
|
return l;
|
|
2109
2156
|
}
|
|
2110
2157
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2111
|
-
this.
|
|
2112
|
-
this.
|
|
2158
|
+
this.odt_1 = this$0;
|
|
2159
|
+
this.pdt_1 = $newRid;
|
|
2113
2160
|
CoroutineImpl.call(this, resultContinuation);
|
|
2114
2161
|
}
|
|
2115
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2116
|
-
var tmp = this.
|
|
2162
|
+
protoOf(GameServer$roomOnDelete$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
2163
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
2117
2164
|
tmp.l9_1 = Unit_instance;
|
|
2118
2165
|
tmp.m9_1 = null;
|
|
2119
2166
|
return tmp.r9();
|
|
2120
2167
|
};
|
|
2121
2168
|
protoOf(GameServer$roomOnDelete$slambda).ca = function (p1, p2, $completion) {
|
|
2122
2169
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2123
|
-
return this.
|
|
2170
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2124
2171
|
};
|
|
2125
2172
|
protoOf(GameServer$roomOnDelete$slambda).r9 = function () {
|
|
2126
2173
|
var suspendResult = this.l9_1;
|
|
@@ -2129,10 +2176,10 @@
|
|
|
2129
2176
|
var tmp = this.j9_1;
|
|
2130
2177
|
if (tmp === 0) {
|
|
2131
2178
|
this.k9_1 = 1;
|
|
2132
|
-
var it = this.
|
|
2179
|
+
var it = this.odt_1.r6f().u6w_1;
|
|
2133
2180
|
var tmp_0;
|
|
2134
2181
|
if (it == null) {
|
|
2135
|
-
_get_logger__rkp4sl(this.
|
|
2182
|
+
_get_logger__rkp4sl(this.odt_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2136
2183
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2137
2184
|
} else {
|
|
2138
2185
|
tmp_0 = it;
|
|
@@ -2141,15 +2188,15 @@
|
|
|
2141
2188
|
var gameTransition = terminationState.m8e_1;
|
|
2142
2189
|
var tmp_1;
|
|
2143
2190
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2144
|
-
var tmp0_elvis_lhs = this.
|
|
2191
|
+
var tmp0_elvis_lhs = this.pdt_1;
|
|
2145
2192
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2146
2193
|
} else {
|
|
2147
2194
|
tmp_1 = gameTransition;
|
|
2148
2195
|
}
|
|
2149
2196
|
var transition = tmp_1;
|
|
2150
|
-
var tmp_2 = this.
|
|
2197
|
+
var tmp_2 = this.rdt_1.dispatch;
|
|
2151
2198
|
var tmp0_reason = terminationState.l8e_1;
|
|
2152
|
-
var tmp1_isGameFinished = this.
|
|
2199
|
+
var tmp1_isGameFinished = this.odt_1.r6f().i6x().isGameFinished;
|
|
2153
2200
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2154
2201
|
return Unit_instance;
|
|
2155
2202
|
} else if (tmp === 1) {
|
|
@@ -2161,33 +2208,33 @@
|
|
|
2161
2208
|
}
|
|
2162
2209
|
while (true);
|
|
2163
2210
|
};
|
|
2164
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2165
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2166
|
-
i.
|
|
2167
|
-
i.
|
|
2211
|
+
protoOf(GameServer$roomOnDelete$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
2212
|
+
var i = new GameServer$roomOnDelete$slambda(this.odt_1, this.pdt_1, completion);
|
|
2213
|
+
i.qdt_1 = $this$dispatchAsync;
|
|
2214
|
+
i.rdt_1 = store;
|
|
2168
2215
|
return i;
|
|
2169
2216
|
};
|
|
2170
2217
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2171
2218
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2172
2219
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2173
|
-
return i.
|
|
2220
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
2174
2221
|
};
|
|
2175
2222
|
l.$arity = 2;
|
|
2176
2223
|
return l;
|
|
2177
2224
|
}
|
|
2178
2225
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2179
|
-
this.
|
|
2226
|
+
this.adu_1 = $enabled;
|
|
2180
2227
|
CoroutineImpl.call(this, resultContinuation);
|
|
2181
2228
|
}
|
|
2182
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2183
|
-
var tmp = this.
|
|
2229
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
2230
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
2184
2231
|
tmp.l9_1 = Unit_instance;
|
|
2185
2232
|
tmp.m9_1 = null;
|
|
2186
2233
|
return tmp.r9();
|
|
2187
2234
|
};
|
|
2188
2235
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ca = function (p1, p2, $completion) {
|
|
2189
2236
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2190
|
-
return this.
|
|
2237
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2191
2238
|
};
|
|
2192
2239
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).r9 = function () {
|
|
2193
2240
|
var suspendResult = this.l9_1;
|
|
@@ -2196,7 +2243,7 @@
|
|
|
2196
2243
|
var tmp = this.j9_1;
|
|
2197
2244
|
if (tmp === 0) {
|
|
2198
2245
|
this.k9_1 = 1;
|
|
2199
|
-
this.
|
|
2246
|
+
this.cdu_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.cdu_1.state).config.copy(VOID, this.adu_1)));
|
|
2200
2247
|
return Unit_instance;
|
|
2201
2248
|
} else if (tmp === 1) {
|
|
2202
2249
|
throw this.m9_1;
|
|
@@ -2207,35 +2254,35 @@
|
|
|
2207
2254
|
}
|
|
2208
2255
|
while (true);
|
|
2209
2256
|
};
|
|
2210
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2211
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2212
|
-
i.
|
|
2213
|
-
i.
|
|
2257
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
2258
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.adu_1, completion);
|
|
2259
|
+
i.bdu_1 = $this$dispatchAsync;
|
|
2260
|
+
i.cdu_1 = store;
|
|
2214
2261
|
return i;
|
|
2215
2262
|
};
|
|
2216
2263
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2217
2264
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2218
2265
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2219
|
-
return i.
|
|
2266
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
2220
2267
|
};
|
|
2221
2268
|
l.$arity = 2;
|
|
2222
2269
|
return l;
|
|
2223
2270
|
}
|
|
2224
2271
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2272
|
+
this.ldu_1 = $reason;
|
|
2273
|
+
this.mdu_1 = this$0;
|
|
2274
|
+
this.ndu_1 = $roomId;
|
|
2228
2275
|
CoroutineImpl.call(this, resultContinuation);
|
|
2229
2276
|
}
|
|
2230
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2231
|
-
var tmp = this.
|
|
2277
|
+
protoOf(GameServer$shutdown$slambda).vbb = function ($this$dispatchAsync, store, $completion) {
|
|
2278
|
+
var tmp = this.wbb($this$dispatchAsync, store, $completion);
|
|
2232
2279
|
tmp.l9_1 = Unit_instance;
|
|
2233
2280
|
tmp.m9_1 = null;
|
|
2234
2281
|
return tmp.r9();
|
|
2235
2282
|
};
|
|
2236
2283
|
protoOf(GameServer$shutdown$slambda).ca = function (p1, p2, $completion) {
|
|
2237
2284
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2238
|
-
return this.
|
|
2285
|
+
return this.vbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2239
2286
|
};
|
|
2240
2287
|
protoOf(GameServer$shutdown$slambda).r9 = function () {
|
|
2241
2288
|
var suspendResult = this.l9_1;
|
|
@@ -2244,11 +2291,11 @@
|
|
|
2244
2291
|
var tmp = this.j9_1;
|
|
2245
2292
|
if (tmp === 0) {
|
|
2246
2293
|
this.k9_1 = 1;
|
|
2247
|
-
var state = this.
|
|
2294
|
+
var state = this.pdu_1.store.state;
|
|
2248
2295
|
if (state.j6x()) {
|
|
2249
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2296
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ldu_1, get_serverShutdownReasonMapping());
|
|
2250
2297
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2251
|
-
var tmp_0 = this.
|
|
2298
|
+
var tmp_0 = this.pdu_1.dispatch;
|
|
2252
2299
|
var tmp_1 = Companion_instance;
|
|
2253
2300
|
var tmp_2;
|
|
2254
2301
|
switch (shutdownReason.r2_1) {
|
|
@@ -2262,10 +2309,10 @@
|
|
|
2262
2309
|
noWhenBranchMatchedException();
|
|
2263
2310
|
break;
|
|
2264
2311
|
}
|
|
2265
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2312
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.mdu_1.table.isGameFinished, this.mdu_1.table));
|
|
2266
2313
|
} else {
|
|
2267
|
-
_get_logger__rkp4sl(this.
|
|
2268
|
-
var tmp_3 = this.
|
|
2314
|
+
_get_logger__rkp4sl(this.mdu_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ndu_1);
|
|
2315
|
+
var tmp_3 = this.pdu_1.dispatch;
|
|
2269
2316
|
var tmp2_safe_receiver = state.u6w_1;
|
|
2270
2317
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.m8e_1));
|
|
2271
2318
|
}
|
|
@@ -2279,16 +2326,16 @@
|
|
|
2279
2326
|
}
|
|
2280
2327
|
while (true);
|
|
2281
2328
|
};
|
|
2282
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2283
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2284
|
-
i.
|
|
2285
|
-
i.
|
|
2329
|
+
protoOf(GameServer$shutdown$slambda).wbb = function ($this$dispatchAsync, store, completion) {
|
|
2330
|
+
var i = new GameServer$shutdown$slambda(this.ldu_1, this.mdu_1, this.ndu_1, completion);
|
|
2331
|
+
i.odu_1 = $this$dispatchAsync;
|
|
2332
|
+
i.pdu_1 = store;
|
|
2286
2333
|
return i;
|
|
2287
2334
|
};
|
|
2288
2335
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2289
2336
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2290
2337
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2291
|
-
return i.
|
|
2338
|
+
return i.vbb($this$dispatchAsync, store, $completion);
|
|
2292
2339
|
};
|
|
2293
2340
|
l.$arity = 2;
|
|
2294
2341
|
return l;
|
|
@@ -2317,46 +2364,52 @@
|
|
|
2317
2364
|
// Inline function 'org.kodein.type.generic' call
|
|
2318
2365
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2319
2366
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2320
|
-
tmp_1.
|
|
2367
|
+
tmp_1.odl_1 = Instance(di, tmp$ret$2, null).w67(this, logger$factory());
|
|
2321
2368
|
var tmp_3 = this;
|
|
2322
2369
|
// Inline function 'org.kodein.di.instance' call
|
|
2323
2370
|
// Inline function 'org.kodein.type.generic' call
|
|
2324
2371
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2325
2372
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2326
|
-
tmp_3.
|
|
2373
|
+
tmp_3.pdl_1 = Instance(di, tmp$ret$4, null).w67(this, toClientEventsObserver$factory());
|
|
2327
2374
|
var tmp_5 = this;
|
|
2328
2375
|
// Inline function 'org.kodein.di.instance' call
|
|
2329
2376
|
// Inline function 'org.kodein.type.generic' call
|
|
2330
2377
|
var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
2331
2378
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2332
|
-
tmp_5.
|
|
2379
|
+
tmp_5.qdl_1 = Instance(di, tmp$ret$6, null).w67(this, fromClientEventsObserver$factory());
|
|
2333
2380
|
var tmp_7 = this;
|
|
2334
2381
|
// Inline function 'org.kodein.di.instance' call
|
|
2335
2382
|
// Inline function 'org.kodein.type.generic' call
|
|
2336
2383
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2337
2384
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2338
|
-
tmp_7.
|
|
2385
|
+
tmp_7.rdl_1 = Instance(di, tmp$ret$8, null).w67(this, playerConnectionInteractor$factory());
|
|
2339
2386
|
var tmp_9 = this;
|
|
2340
2387
|
// Inline function 'org.kodein.di.instance' call
|
|
2341
2388
|
// Inline function 'org.kodein.type.generic' call
|
|
2342
2389
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
2343
2390
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2344
|
-
tmp_9.
|
|
2391
|
+
tmp_9.sdl_1 = Instance(di, tmp$ret$10, null).w67(this, teamsLogicProvider$factory());
|
|
2345
2392
|
var tmp_11 = this;
|
|
2346
|
-
tmp_11.ldl_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2347
|
-
var tmp_12 = this;
|
|
2348
2393
|
// Inline function 'org.kodein.di.instance' call
|
|
2349
2394
|
// Inline function 'org.kodein.type.generic' call
|
|
2350
|
-
var
|
|
2351
|
-
var tmp$ret$12 = isInterface(
|
|
2352
|
-
|
|
2395
|
+
var tmp_12 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
|
|
2396
|
+
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2397
|
+
tmp_11.tdl_1 = Instance(di, tmp$ret$12, null).w67(this, encoderDecoderProvider$factory());
|
|
2398
|
+
var tmp_13 = this;
|
|
2399
|
+
tmp_13.udl_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2353
2400
|
var tmp_14 = this;
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2401
|
+
// Inline function 'org.kodein.di.instance' call
|
|
2402
|
+
// Inline function 'org.kodein.type.generic' call
|
|
2403
|
+
var tmp_15 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2404
|
+
var tmp$ret$14 = isInterface(tmp_15, TypeToken) ? tmp_15 : THROW_CCE();
|
|
2405
|
+
tmp_14.vdl_1 = Instance(di, tmp$ret$14, null).w67(this, idsProvider$factory());
|
|
2406
|
+
var tmp_16 = this;
|
|
2407
|
+
var tmp0_externalMiddlewares = plus(storeContract.b9g(), externalMiddlewares);
|
|
2408
|
+
var tmp1_externalReducers = plus(storeContract.a9g(), externalReducers);
|
|
2409
|
+
tmp_16.wdl_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2357
2410
|
}
|
|
2358
2411
|
protoOf(GameServer).h6w = function () {
|
|
2359
|
-
return this.
|
|
2412
|
+
return this.wdl_1;
|
|
2360
2413
|
};
|
|
2361
2414
|
protoOf(GameServer).z5o = function () {
|
|
2362
2415
|
return this.r6f().i6x().id;
|
|
@@ -2384,55 +2437,55 @@
|
|
|
2384
2437
|
};
|
|
2385
2438
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2386
2439
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2387
|
-
this.
|
|
2440
|
+
this.wdl_1.h6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2388
2441
|
};
|
|
2389
2442
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2390
2443
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2391
|
-
this.
|
|
2444
|
+
this.wdl_1.h6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2392
2445
|
};
|
|
2393
2446
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2394
2447
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2395
|
-
this.
|
|
2448
|
+
this.wdl_1.h6x(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2396
2449
|
};
|
|
2397
2450
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2398
2451
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2399
|
-
this.
|
|
2452
|
+
this.wdl_1.h6x(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2400
2453
|
};
|
|
2401
|
-
protoOf(GameServer).
|
|
2454
|
+
protoOf(GameServer).qdu = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2402
2455
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2403
|
-
this.
|
|
2456
|
+
this.wdl_1.h6x(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2404
2457
|
};
|
|
2405
2458
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2406
2459
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2407
|
-
this.
|
|
2408
|
-
this.
|
|
2460
|
+
this.wdl_1.h6x(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2461
|
+
this.wdl_1.h6x(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2409
2462
|
};
|
|
2410
2463
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2411
2464
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2412
|
-
this.
|
|
2413
|
-
this.
|
|
2465
|
+
this.wdl_1.h6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2466
|
+
this.wdl_1.h6x(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2414
2467
|
};
|
|
2415
2468
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2416
|
-
this.
|
|
2469
|
+
this.wdl_1.h6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2417
2470
|
};
|
|
2418
2471
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2419
|
-
this.
|
|
2472
|
+
this.wdl_1.h6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2420
2473
|
};
|
|
2421
2474
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2422
2475
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2423
|
-
this.
|
|
2476
|
+
this.wdl_1.h6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2424
2477
|
};
|
|
2425
|
-
protoOf(GameServer).
|
|
2478
|
+
protoOf(GameServer).rdu = function (newRid) {
|
|
2426
2479
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2427
|
-
this.
|
|
2480
|
+
this.wdl_1.h6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2428
2481
|
};
|
|
2429
2482
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2430
2483
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2431
|
-
this.
|
|
2484
|
+
this.wdl_1.h6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2432
2485
|
};
|
|
2433
|
-
protoOf(GameServer).
|
|
2486
|
+
protoOf(GameServer).sdu = function (reason, roomId) {
|
|
2434
2487
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2435
|
-
this.
|
|
2488
|
+
this.wdl_1.h6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2436
2489
|
};
|
|
2437
2490
|
protoOf(GameServer).clear = function () {
|
|
2438
2491
|
return this.d2();
|
|
@@ -2462,6 +2515,11 @@
|
|
|
2462
2515
|
return _get_teamsLogicProvider__u10pm6(receiver);
|
|
2463
2516
|
}, null);
|
|
2464
2517
|
}
|
|
2518
|
+
function encoderDecoderProvider$factory() {
|
|
2519
|
+
return getPropertyCallableRef('encoderDecoderProvider', 1, KProperty1, function (receiver) {
|
|
2520
|
+
return _get_encoderDecoderProvider__qqgrji(receiver);
|
|
2521
|
+
}, null);
|
|
2522
|
+
}
|
|
2465
2523
|
function idsProvider$factory() {
|
|
2466
2524
|
return getPropertyCallableRef('idsProvider', 1, KProperty1, function (receiver) {
|
|
2467
2525
|
return _get_idsProvider__fnfajc(receiver);
|
|
@@ -2492,6 +2550,11 @@
|
|
|
2492
2550
|
return _get_teamsLogicProvider__u10pm6(receiver);
|
|
2493
2551
|
}, null);
|
|
2494
2552
|
}
|
|
2553
|
+
function encoderDecoderProvider$factory_0() {
|
|
2554
|
+
return getPropertyCallableRef('encoderDecoderProvider', 1, KProperty1, function (receiver) {
|
|
2555
|
+
return _get_encoderDecoderProvider__qqgrji(receiver);
|
|
2556
|
+
}, null);
|
|
2557
|
+
}
|
|
2495
2558
|
function random$factory() {
|
|
2496
2559
|
return getPropertyCallableRef('random', 1, KProperty1, function (receiver) {
|
|
2497
2560
|
return _get_random__h29cgo(receiver);
|
|
@@ -2548,10 +2611,10 @@
|
|
|
2548
2611
|
this.fromRound = fromRound;
|
|
2549
2612
|
this.canStartNewGame = canStartNewGame;
|
|
2550
2613
|
}
|
|
2551
|
-
protoOf(ServerConfig).
|
|
2614
|
+
protoOf(ServerConfig).tdu = function () {
|
|
2552
2615
|
return this.fromRound;
|
|
2553
2616
|
};
|
|
2554
|
-
protoOf(ServerConfig).
|
|
2617
|
+
protoOf(ServerConfig).udu = function () {
|
|
2555
2618
|
return this.canStartNewGame;
|
|
2556
2619
|
};
|
|
2557
2620
|
protoOf(ServerConfig).ue = function () {
|
|
@@ -2560,13 +2623,13 @@
|
|
|
2560
2623
|
protoOf(ServerConfig).ve = function () {
|
|
2561
2624
|
return this.canStartNewGame;
|
|
2562
2625
|
};
|
|
2563
|
-
protoOf(ServerConfig).
|
|
2626
|
+
protoOf(ServerConfig).vdu = function (fromRound, canStartNewGame) {
|
|
2564
2627
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
2565
2628
|
};
|
|
2566
2629
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
2567
2630
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
2568
2631
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
2569
|
-
return this.
|
|
2632
|
+
return this.vdu(fromRound, canStartNewGame);
|
|
2570
2633
|
};
|
|
2571
2634
|
protoOf(ServerConfig).toString = function () {
|
|
2572
2635
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -2590,27 +2653,37 @@
|
|
|
2590
2653
|
};
|
|
2591
2654
|
function ServerStateUpdate() {
|
|
2592
2655
|
}
|
|
2593
|
-
function TableStateUpdate(table) {
|
|
2656
|
+
function TableStateUpdate(table, tableJson) {
|
|
2594
2657
|
this.table = table;
|
|
2658
|
+
this.tableJson = tableJson;
|
|
2595
2659
|
}
|
|
2596
2660
|
protoOf(TableStateUpdate).i6x = function () {
|
|
2597
2661
|
return this.table;
|
|
2598
2662
|
};
|
|
2663
|
+
protoOf(TableStateUpdate).wdu = function () {
|
|
2664
|
+
return this.tableJson;
|
|
2665
|
+
};
|
|
2599
2666
|
protoOf(TableStateUpdate).ue = function () {
|
|
2600
2667
|
return this.table;
|
|
2601
2668
|
};
|
|
2602
|
-
protoOf(TableStateUpdate).
|
|
2603
|
-
return
|
|
2669
|
+
protoOf(TableStateUpdate).ve = function () {
|
|
2670
|
+
return this.tableJson;
|
|
2604
2671
|
};
|
|
2605
|
-
protoOf(TableStateUpdate).
|
|
2672
|
+
protoOf(TableStateUpdate).xdu = function (table, tableJson) {
|
|
2673
|
+
return new TableStateUpdate(table, tableJson);
|
|
2674
|
+
};
|
|
2675
|
+
protoOf(TableStateUpdate).copy = function (table, tableJson, $super) {
|
|
2606
2676
|
table = table === VOID ? this.table : table;
|
|
2607
|
-
|
|
2677
|
+
tableJson = tableJson === VOID ? this.tableJson : tableJson;
|
|
2678
|
+
return this.xdu(table, tableJson);
|
|
2608
2679
|
};
|
|
2609
2680
|
protoOf(TableStateUpdate).toString = function () {
|
|
2610
|
-
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
2681
|
+
return 'TableStateUpdate(table=' + this.table.toString() + ', tableJson=' + this.tableJson + ')';
|
|
2611
2682
|
};
|
|
2612
2683
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
2613
|
-
|
|
2684
|
+
var result = this.table.hashCode();
|
|
2685
|
+
result = imul(result, 31) + getStringHashCode(this.tableJson) | 0;
|
|
2686
|
+
return result;
|
|
2614
2687
|
};
|
|
2615
2688
|
protoOf(TableStateUpdate).equals = function (other) {
|
|
2616
2689
|
if (this === other)
|
|
@@ -2620,29 +2693,41 @@
|
|
|
2620
2693
|
var tmp0_other_with_cast = other instanceof TableStateUpdate ? other : THROW_CCE();
|
|
2621
2694
|
if (!this.table.equals(tmp0_other_with_cast.table))
|
|
2622
2695
|
return false;
|
|
2696
|
+
if (!(this.tableJson === tmp0_other_with_cast.tableJson))
|
|
2697
|
+
return false;
|
|
2623
2698
|
return true;
|
|
2624
2699
|
};
|
|
2625
|
-
function ActionsStateUpdate(actions) {
|
|
2700
|
+
function ActionsStateUpdate(actions, actionsJson) {
|
|
2626
2701
|
this.actions = actions;
|
|
2702
|
+
this.actionsJson = actionsJson;
|
|
2627
2703
|
}
|
|
2628
2704
|
protoOf(ActionsStateUpdate).e8v = function () {
|
|
2629
2705
|
return this.actions;
|
|
2630
2706
|
};
|
|
2707
|
+
protoOf(ActionsStateUpdate).ydu = function () {
|
|
2708
|
+
return this.actionsJson;
|
|
2709
|
+
};
|
|
2631
2710
|
protoOf(ActionsStateUpdate).ue = function () {
|
|
2632
2711
|
return this.actions;
|
|
2633
2712
|
};
|
|
2634
|
-
protoOf(ActionsStateUpdate).
|
|
2635
|
-
return
|
|
2713
|
+
protoOf(ActionsStateUpdate).ve = function () {
|
|
2714
|
+
return this.actionsJson;
|
|
2715
|
+
};
|
|
2716
|
+
protoOf(ActionsStateUpdate).zdu = function (actions, actionsJson) {
|
|
2717
|
+
return new ActionsStateUpdate(actions, actionsJson);
|
|
2636
2718
|
};
|
|
2637
|
-
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2719
|
+
protoOf(ActionsStateUpdate).copy = function (actions, actionsJson, $super) {
|
|
2638
2720
|
actions = actions === VOID ? this.actions : actions;
|
|
2639
|
-
|
|
2721
|
+
actionsJson = actionsJson === VOID ? this.actionsJson : actionsJson;
|
|
2722
|
+
return this.zdu(actions, actionsJson);
|
|
2640
2723
|
};
|
|
2641
2724
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2642
|
-
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
2725
|
+
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ', actionsJson=' + this.actionsJson + ')';
|
|
2643
2726
|
};
|
|
2644
2727
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
2645
|
-
|
|
2728
|
+
var result = hashCode(this.actions);
|
|
2729
|
+
result = imul(result, 31) + getStringHashCode(this.actionsJson) | 0;
|
|
2730
|
+
return result;
|
|
2646
2731
|
};
|
|
2647
2732
|
protoOf(ActionsStateUpdate).equals = function (other) {
|
|
2648
2733
|
if (this === other)
|
|
@@ -2652,6 +2737,8 @@
|
|
|
2652
2737
|
var tmp0_other_with_cast = other instanceof ActionsStateUpdate ? other : THROW_CCE();
|
|
2653
2738
|
if (!equals(this.actions, tmp0_other_with_cast.actions))
|
|
2654
2739
|
return false;
|
|
2740
|
+
if (!(this.actionsJson === tmp0_other_with_cast.actionsJson))
|
|
2741
|
+
return false;
|
|
2655
2742
|
return true;
|
|
2656
2743
|
};
|
|
2657
2744
|
function createGameServerDI(serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares) {
|
|
@@ -2882,18 +2969,18 @@
|
|
|
2882
2969
|
function ToClientEventsObserver() {
|
|
2883
2970
|
}
|
|
2884
2971
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2885
|
-
this.
|
|
2886
|
-
this.
|
|
2972
|
+
this.jdv_1 = this$0;
|
|
2973
|
+
this.kdv_1 = $actions;
|
|
2887
2974
|
CoroutineImpl.call(this, resultContinuation);
|
|
2888
2975
|
}
|
|
2889
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2890
|
-
var tmp = this.
|
|
2976
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).rdv = function ($this$flow, $completion) {
|
|
2977
|
+
var tmp = this.sdv($this$flow, $completion);
|
|
2891
2978
|
tmp.l9_1 = Unit_instance;
|
|
2892
2979
|
tmp.m9_1 = null;
|
|
2893
2980
|
return tmp.r9();
|
|
2894
2981
|
};
|
|
2895
2982
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ba = function (p1, $completion) {
|
|
2896
|
-
return this.
|
|
2983
|
+
return this.rdv((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2897
2984
|
};
|
|
2898
2985
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).r9 = function () {
|
|
2899
2986
|
var suspendResult = this.l9_1;
|
|
@@ -2904,23 +2991,23 @@
|
|
|
2904
2991
|
case 0:
|
|
2905
2992
|
this.k9_1 = 4;
|
|
2906
2993
|
var tmp_0 = this;
|
|
2907
|
-
tmp_0.
|
|
2994
|
+
tmp_0.mdv_1 = this.jdv_1.xdv_1;
|
|
2908
2995
|
var tmp_1 = this;
|
|
2909
|
-
tmp_1.
|
|
2910
|
-
this.
|
|
2996
|
+
tmp_1.ndv_1 = transformToEmits(this.jdv_1, this.kdv_1);
|
|
2997
|
+
this.odv_1 = this.ndv_1.j();
|
|
2911
2998
|
this.j9_1 = 1;
|
|
2912
2999
|
continue $sm;
|
|
2913
3000
|
case 1:
|
|
2914
|
-
if (!this.
|
|
3001
|
+
if (!this.odv_1.k()) {
|
|
2915
3002
|
this.j9_1 = 3;
|
|
2916
3003
|
continue $sm;
|
|
2917
3004
|
}
|
|
2918
3005
|
|
|
2919
|
-
this.
|
|
3006
|
+
this.pdv_1 = this.odv_1.l();
|
|
2920
3007
|
var tmp_2 = this;
|
|
2921
|
-
tmp_2.
|
|
3008
|
+
tmp_2.qdv_1 = this.pdv_1;
|
|
2922
3009
|
this.j9_1 = 2;
|
|
2923
|
-
suspendResult = this.
|
|
3010
|
+
suspendResult = this.ldv_1.r18(this.qdv_1, this);
|
|
2924
3011
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2925
3012
|
return suspendResult;
|
|
2926
3013
|
}
|
|
@@ -2931,10 +3018,10 @@
|
|
|
2931
3018
|
continue $sm;
|
|
2932
3019
|
case 3:
|
|
2933
3020
|
l$ret$1: do {
|
|
2934
|
-
var this_0 = this.
|
|
3021
|
+
var this_0 = this.jdv_1.wdv_1;
|
|
2935
3022
|
while (true) {
|
|
2936
3023
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2937
|
-
var upd = cur - this.
|
|
3024
|
+
var upd = cur - this.kdv_1.m() | 0;
|
|
2938
3025
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2939
3026
|
break l$ret$1;
|
|
2940
3027
|
}
|
|
@@ -2956,15 +3043,15 @@
|
|
|
2956
3043
|
}
|
|
2957
3044
|
while (true);
|
|
2958
3045
|
};
|
|
2959
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2960
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2961
|
-
i.
|
|
3046
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).sdv = function ($this$flow, completion) {
|
|
3047
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.jdv_1, this.kdv_1, completion);
|
|
3048
|
+
i.ldv_1 = $this$flow;
|
|
2962
3049
|
return i;
|
|
2963
3050
|
};
|
|
2964
3051
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2965
3052
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2966
3053
|
var l = function ($this$flow, $completion) {
|
|
2967
|
-
return i.
|
|
3054
|
+
return i.rdv($this$flow, $completion);
|
|
2968
3055
|
};
|
|
2969
3056
|
l.$arity = 1;
|
|
2970
3057
|
return l;
|
|
@@ -3037,29 +3124,29 @@
|
|
|
3037
3124
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3038
3125
|
}
|
|
3039
3126
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3040
|
-
var tmp = $this.
|
|
3127
|
+
var tmp = $this.vdv_1.q6m();
|
|
3041
3128
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3042
|
-
var this_0 = _this__u8e3s4.
|
|
3129
|
+
var this_0 = _this__u8e3s4.adw_1;
|
|
3043
3130
|
var tmp_0 = copyToArray(this_0);
|
|
3044
3131
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3045
|
-
var this_1 = _this__u8e3s4.
|
|
3132
|
+
var this_1 = _this__u8e3s4.bdw_1;
|
|
3046
3133
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3047
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3134
|
+
return new ActionDeliveryPayload(_this__u8e3s4.zdv_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.cdw_1);
|
|
3048
3135
|
}
|
|
3049
3136
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3050
|
-
this.
|
|
3051
|
-
this.
|
|
3052
|
-
this.
|
|
3053
|
-
this.
|
|
3137
|
+
this.zdv_1 = tableId;
|
|
3138
|
+
this.adw_1 = includePlayers;
|
|
3139
|
+
this.bdw_1 = excludePlayers;
|
|
3140
|
+
this.cdw_1 = deliveryType;
|
|
3054
3141
|
}
|
|
3055
3142
|
protoOf(GroupKey).toString = function () {
|
|
3056
|
-
return 'GroupKey(tableId=' + this.
|
|
3143
|
+
return 'GroupKey(tableId=' + this.zdv_1 + ', includePlayers=' + toString(this.adw_1) + ', excludePlayers=' + toString(this.bdw_1) + ', deliveryType=' + this.cdw_1.toString() + ')';
|
|
3057
3144
|
};
|
|
3058
3145
|
protoOf(GroupKey).hashCode = function () {
|
|
3059
|
-
var result = getStringHashCode(this.
|
|
3060
|
-
result = imul(result, 31) + hashCode(this.
|
|
3061
|
-
result = imul(result, 31) + hashCode(this.
|
|
3062
|
-
result = imul(result, 31) + this.
|
|
3146
|
+
var result = getStringHashCode(this.zdv_1);
|
|
3147
|
+
result = imul(result, 31) + hashCode(this.adw_1) | 0;
|
|
3148
|
+
result = imul(result, 31) + hashCode(this.bdw_1) | 0;
|
|
3149
|
+
result = imul(result, 31) + this.cdw_1.hashCode() | 0;
|
|
3063
3150
|
return result;
|
|
3064
3151
|
};
|
|
3065
3152
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3068,35 +3155,35 @@
|
|
|
3068
3155
|
if (!(other instanceof GroupKey))
|
|
3069
3156
|
return false;
|
|
3070
3157
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3071
|
-
if (!(this.
|
|
3158
|
+
if (!(this.zdv_1 === tmp0_other_with_cast.zdv_1))
|
|
3072
3159
|
return false;
|
|
3073
|
-
if (!equals(this.
|
|
3160
|
+
if (!equals(this.adw_1, tmp0_other_with_cast.adw_1))
|
|
3074
3161
|
return false;
|
|
3075
|
-
if (!equals(this.
|
|
3162
|
+
if (!equals(this.bdw_1, tmp0_other_with_cast.bdw_1))
|
|
3076
3163
|
return false;
|
|
3077
|
-
if (!this.
|
|
3164
|
+
if (!this.cdw_1.equals(tmp0_other_with_cast.cdw_1))
|
|
3078
3165
|
return false;
|
|
3079
3166
|
return true;
|
|
3080
3167
|
};
|
|
3081
3168
|
function Companion_1() {
|
|
3082
|
-
this.
|
|
3169
|
+
this.ddw_1 = 6;
|
|
3083
3170
|
}
|
|
3084
3171
|
var Companion_instance_9;
|
|
3085
3172
|
function Companion_getInstance_2() {
|
|
3086
3173
|
return Companion_instance_9;
|
|
3087
3174
|
}
|
|
3088
3175
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3089
|
-
this.
|
|
3176
|
+
this.mdw_1 = this$0;
|
|
3090
3177
|
CoroutineImpl.call(this, resultContinuation);
|
|
3091
3178
|
}
|
|
3092
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3093
|
-
var tmp = this.
|
|
3179
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).odw = function (actions, $completion) {
|
|
3180
|
+
var tmp = this.pdw(actions, $completion);
|
|
3094
3181
|
tmp.l9_1 = Unit_instance;
|
|
3095
3182
|
tmp.m9_1 = null;
|
|
3096
3183
|
return tmp.r9();
|
|
3097
3184
|
};
|
|
3098
3185
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba = function (p1, $completion) {
|
|
3099
|
-
return this.
|
|
3186
|
+
return this.odw((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3100
3187
|
};
|
|
3101
3188
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).r9 = function () {
|
|
3102
3189
|
var suspendResult = this.l9_1;
|
|
@@ -3105,7 +3192,7 @@
|
|
|
3105
3192
|
var tmp = this.j9_1;
|
|
3106
3193
|
if (tmp === 0) {
|
|
3107
3194
|
this.k9_1 = 1;
|
|
3108
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3195
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.mdw_1, this.ndw_1, null));
|
|
3109
3196
|
} else if (tmp === 1) {
|
|
3110
3197
|
throw this.m9_1;
|
|
3111
3198
|
}
|
|
@@ -3115,23 +3202,23 @@
|
|
|
3115
3202
|
}
|
|
3116
3203
|
while (true);
|
|
3117
3204
|
};
|
|
3118
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3119
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3120
|
-
i.
|
|
3205
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).pdw = function (actions, completion) {
|
|
3206
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.mdw_1, completion);
|
|
3207
|
+
i.ndw_1 = actions;
|
|
3121
3208
|
return i;
|
|
3122
3209
|
};
|
|
3123
3210
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3124
3211
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3125
3212
|
var l = function (actions, $completion) {
|
|
3126
|
-
return i.
|
|
3213
|
+
return i.odw(actions, $completion);
|
|
3127
3214
|
};
|
|
3128
3215
|
l.$arity = 1;
|
|
3129
3216
|
return l;
|
|
3130
3217
|
}
|
|
3131
3218
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3132
3219
|
CoroutineImpl.call(this, resultContinuation);
|
|
3133
|
-
this.
|
|
3134
|
-
this.
|
|
3220
|
+
this.ydw_1 = _this__u8e3s4;
|
|
3221
|
+
this.zdw_1 = fromEvent;
|
|
3135
3222
|
}
|
|
3136
3223
|
protoOf($sentEventCOROUTINE$3).r9 = function () {
|
|
3137
3224
|
var suspendResult = this.l9_1;
|
|
@@ -3142,9 +3229,9 @@
|
|
|
3142
3229
|
case 0:
|
|
3143
3230
|
this.k9_1 = 2;
|
|
3144
3231
|
var tmp_0 = this;
|
|
3145
|
-
tmp_0.
|
|
3232
|
+
tmp_0.adx_1 = this.ydw_1.xdv_1;
|
|
3146
3233
|
l$ret$1: do {
|
|
3147
|
-
var this_0 = this.
|
|
3234
|
+
var this_0 = this.ydw_1.wdv_1;
|
|
3148
3235
|
while (true) {
|
|
3149
3236
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3150
3237
|
var upd = cur + 1 | 0;
|
|
@@ -3155,7 +3242,7 @@
|
|
|
3155
3242
|
}
|
|
3156
3243
|
while (false);
|
|
3157
3244
|
this.j9_1 = 1;
|
|
3158
|
-
suspendResult = this.
|
|
3245
|
+
suspendResult = this.ydw_1.ydv_1.r18(this.zdw_1, this);
|
|
3159
3246
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3160
3247
|
return suspendResult;
|
|
3161
3248
|
}
|
|
@@ -3179,7 +3266,7 @@
|
|
|
3179
3266
|
};
|
|
3180
3267
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3181
3268
|
CoroutineImpl.call(this, resultContinuation);
|
|
3182
|
-
this.
|
|
3269
|
+
this.jdx_1 = _this__u8e3s4;
|
|
3183
3270
|
}
|
|
3184
3271
|
protoOf($waitForCOROUTINE$4).r9 = function () {
|
|
3185
3272
|
var suspendResult = this.l9_1;
|
|
@@ -3190,12 +3277,12 @@
|
|
|
3190
3277
|
case 0:
|
|
3191
3278
|
this.k9_1 = 5;
|
|
3192
3279
|
var tmp_0 = this;
|
|
3193
|
-
tmp_0.
|
|
3194
|
-
this.
|
|
3280
|
+
tmp_0.kdx_1 = this.jdx_1.xdv_1;
|
|
3281
|
+
this.ldx_1 = 0;
|
|
3195
3282
|
this.j9_1 = 1;
|
|
3196
3283
|
continue $sm;
|
|
3197
3284
|
case 1:
|
|
3198
|
-
if (!!(this.
|
|
3285
|
+
if (!!(this.jdx_1.wdv_1.kotlinx$atomicfu$value === 0)) {
|
|
3199
3286
|
this.j9_1 = 4;
|
|
3200
3287
|
continue $sm;
|
|
3201
3288
|
}
|
|
@@ -3208,9 +3295,9 @@
|
|
|
3208
3295
|
|
|
3209
3296
|
continue $sm;
|
|
3210
3297
|
case 2:
|
|
3211
|
-
this.
|
|
3212
|
-
if (this.
|
|
3213
|
-
this.
|
|
3298
|
+
this.ldx_1 = this.ldx_1 + 1 | 0;
|
|
3299
|
+
if (this.ldx_1 > 6) {
|
|
3300
|
+
this.jdx_1.udv_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.jdx_1.wdv_1.kotlinx$atomicfu$value);
|
|
3214
3301
|
this.j9_1 = 4;
|
|
3215
3302
|
continue $sm;
|
|
3216
3303
|
} else {
|
|
@@ -3238,42 +3325,42 @@
|
|
|
3238
3325
|
while (true);
|
|
3239
3326
|
};
|
|
3240
3327
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3241
|
-
this.
|
|
3242
|
-
this.
|
|
3243
|
-
this.
|
|
3244
|
-
this.
|
|
3328
|
+
this.tdv_1 = serverReduxConfig;
|
|
3329
|
+
this.udv_1 = logger;
|
|
3330
|
+
this.vdv_1 = idsProvider;
|
|
3331
|
+
this.wdv_1 = atomic$ref$1(0);
|
|
3245
3332
|
var tmp = this;
|
|
3246
3333
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3247
|
-
tmp.
|
|
3248
|
-
this.
|
|
3334
|
+
tmp.xdv_1 = get_atomicfu$reentrantLock();
|
|
3335
|
+
this.ydv_1 = MutableSharedFlow();
|
|
3249
3336
|
}
|
|
3250
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3337
|
+
protoOf(ToClientEventsObserverImpl).adv = function (fromEvent, $completion) {
|
|
3251
3338
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3252
3339
|
tmp.l9_1 = Unit_instance;
|
|
3253
3340
|
tmp.m9_1 = null;
|
|
3254
3341
|
return tmp.r9();
|
|
3255
3342
|
};
|
|
3256
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3343
|
+
protoOf(ToClientEventsObserverImpl).c9p = function ($completion) {
|
|
3257
3344
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3258
3345
|
tmp.l9_1 = Unit_instance;
|
|
3259
3346
|
tmp.m9_1 = null;
|
|
3260
3347
|
return tmp.r9();
|
|
3261
3348
|
};
|
|
3262
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3263
|
-
if (!this.
|
|
3264
|
-
return this.
|
|
3349
|
+
protoOf(ToClientEventsObserverImpl).mar = function () {
|
|
3350
|
+
if (!this.tdv_1.enabledCombinedEvents) {
|
|
3351
|
+
return this.ydv_1;
|
|
3265
3352
|
}
|
|
3266
|
-
var tmp = windowedByInterval(this.
|
|
3353
|
+
var tmp = windowedByInterval(this.ydv_1, toLong(this.tdv_1.combinedEventsPeriod));
|
|
3267
3354
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3268
3355
|
};
|
|
3269
3356
|
function UpdateServerConfigAction(serverConfig) {
|
|
3270
|
-
this.
|
|
3357
|
+
this.mdx_1 = serverConfig;
|
|
3271
3358
|
}
|
|
3272
3359
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3273
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3360
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.mdx_1.toString() + ')';
|
|
3274
3361
|
};
|
|
3275
3362
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3276
|
-
return this.
|
|
3363
|
+
return this.mdx_1.hashCode();
|
|
3277
3364
|
};
|
|
3278
3365
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3279
3366
|
if (this === other)
|
|
@@ -3281,18 +3368,18 @@
|
|
|
3281
3368
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3282
3369
|
return false;
|
|
3283
3370
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3284
|
-
if (!this.
|
|
3371
|
+
if (!this.mdx_1.equals(tmp0_other_with_cast.mdx_1))
|
|
3285
3372
|
return false;
|
|
3286
3373
|
return true;
|
|
3287
3374
|
};
|
|
3288
3375
|
function AddSpectatorsAction(spectators) {
|
|
3289
|
-
this.
|
|
3376
|
+
this.ndx_1 = spectators;
|
|
3290
3377
|
}
|
|
3291
3378
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3292
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3379
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ndx_1) + ')';
|
|
3293
3380
|
};
|
|
3294
3381
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3295
|
-
return hashCode(this.
|
|
3382
|
+
return hashCode(this.ndx_1);
|
|
3296
3383
|
};
|
|
3297
3384
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3298
3385
|
if (this === other)
|
|
@@ -3300,18 +3387,18 @@
|
|
|
3300
3387
|
if (!(other instanceof AddSpectatorsAction))
|
|
3301
3388
|
return false;
|
|
3302
3389
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3303
|
-
if (!equals(this.
|
|
3390
|
+
if (!equals(this.ndx_1, tmp0_other_with_cast.ndx_1))
|
|
3304
3391
|
return false;
|
|
3305
3392
|
return true;
|
|
3306
3393
|
};
|
|
3307
3394
|
function RemoveSpectatorsAction(spectators) {
|
|
3308
|
-
this.
|
|
3395
|
+
this.odx_1 = spectators;
|
|
3309
3396
|
}
|
|
3310
3397
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3311
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3398
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.odx_1) + ')';
|
|
3312
3399
|
};
|
|
3313
3400
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3314
|
-
return hashCode(this.
|
|
3401
|
+
return hashCode(this.odx_1);
|
|
3315
3402
|
};
|
|
3316
3403
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3317
3404
|
if (this === other)
|
|
@@ -3319,7 +3406,7 @@
|
|
|
3319
3406
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3320
3407
|
return false;
|
|
3321
3408
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3322
|
-
if (!equals(this.
|
|
3409
|
+
if (!equals(this.odx_1, tmp0_other_with_cast.odx_1))
|
|
3323
3410
|
return false;
|
|
3324
3411
|
return true;
|
|
3325
3412
|
};
|
|
@@ -3327,85 +3414,85 @@
|
|
|
3327
3414
|
}
|
|
3328
3415
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3329
3416
|
// Inline function 'kotlin.getValue' call
|
|
3330
|
-
var this_0 = $this.
|
|
3417
|
+
var this_0 = $this.udx_1;
|
|
3331
3418
|
asyncProvider$factory_0();
|
|
3332
3419
|
return this_0.u();
|
|
3333
3420
|
}
|
|
3334
3421
|
function _get_logger__rkp4sl_0($this) {
|
|
3335
3422
|
// Inline function 'kotlin.getValue' call
|
|
3336
|
-
var this_0 = $this.
|
|
3423
|
+
var this_0 = $this.vdx_1;
|
|
3337
3424
|
logger$factory_2();
|
|
3338
3425
|
return this_0.u();
|
|
3339
3426
|
}
|
|
3340
3427
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3341
3428
|
// Inline function 'kotlin.getValue' call
|
|
3342
|
-
var this_0 = $this.
|
|
3429
|
+
var this_0 = $this.wdx_1;
|
|
3343
3430
|
playerConnectionInteractor$factory_2();
|
|
3344
3431
|
return this_0.u();
|
|
3345
3432
|
}
|
|
3346
3433
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3347
3434
|
// Inline function 'kotlin.getValue' call
|
|
3348
|
-
var this_0 = $this.
|
|
3435
|
+
var this_0 = $this.xdx_1;
|
|
3349
3436
|
lastCardInteractor$factory_0();
|
|
3350
3437
|
return this_0.u();
|
|
3351
3438
|
}
|
|
3352
3439
|
function _get_serverConfig__rk2g06($this) {
|
|
3353
3440
|
// Inline function 'kotlin.getValue' call
|
|
3354
|
-
var this_0 = $this.
|
|
3441
|
+
var this_0 = $this.ydx_1;
|
|
3355
3442
|
serverConfig$factory_0();
|
|
3356
3443
|
return this_0.u();
|
|
3357
3444
|
}
|
|
3358
3445
|
function _get_logicConfig__52ww9d($this) {
|
|
3359
3446
|
// Inline function 'kotlin.getValue' call
|
|
3360
|
-
var this_0 = $this.
|
|
3447
|
+
var this_0 = $this.zdx_1;
|
|
3361
3448
|
logicConfig$factory_0();
|
|
3362
3449
|
return this_0.u();
|
|
3363
3450
|
}
|
|
3364
3451
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3365
3452
|
// Inline function 'kotlin.getValue' call
|
|
3366
|
-
var this_0 = $this.
|
|
3453
|
+
var this_0 = $this.ady_1;
|
|
3367
3454
|
idsProvider$factory_2();
|
|
3368
3455
|
return this_0.u();
|
|
3369
3456
|
}
|
|
3370
3457
|
function _get_botConfig__cpaxzc($this) {
|
|
3371
3458
|
// Inline function 'kotlin.getValue' call
|
|
3372
|
-
var this_0 = $this.
|
|
3459
|
+
var this_0 = $this.bdy_1;
|
|
3373
3460
|
botConfig$factory_0();
|
|
3374
3461
|
return this_0.u();
|
|
3375
3462
|
}
|
|
3376
3463
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3377
3464
|
// Inline function 'kotlin.getValue' call
|
|
3378
|
-
var this_0 = $this.
|
|
3465
|
+
var this_0 = $this.cdy_1;
|
|
3379
3466
|
scenePositionProvider$factory_0();
|
|
3380
3467
|
return this_0.u();
|
|
3381
3468
|
}
|
|
3382
3469
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3383
3470
|
// Inline function 'kotlin.getValue' call
|
|
3384
|
-
var this_0 = $this.
|
|
3471
|
+
var this_0 = $this.ddy_1;
|
|
3385
3472
|
toClientEventsObserver$factory_2();
|
|
3386
3473
|
return this_0.u();
|
|
3387
3474
|
}
|
|
3388
3475
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
3389
3476
|
// Inline function 'kotlin.getValue' call
|
|
3390
|
-
var this_0 = $this.
|
|
3477
|
+
var this_0 = $this.edy_1;
|
|
3391
3478
|
fromClientEventsObserver$factory_2();
|
|
3392
3479
|
return this_0.u();
|
|
3393
3480
|
}
|
|
3394
3481
|
function _get_dealerConfig__183ci8($this) {
|
|
3395
3482
|
// Inline function 'kotlin.getValue' call
|
|
3396
|
-
var this_0 = $this.
|
|
3483
|
+
var this_0 = $this.fdy_1;
|
|
3397
3484
|
dealerConfig$factory_0();
|
|
3398
3485
|
return this_0.u();
|
|
3399
3486
|
}
|
|
3400
3487
|
function _get_poolProvider__tqti6a($this) {
|
|
3401
3488
|
// Inline function 'kotlin.getValue' call
|
|
3402
|
-
var this_0 = $this.
|
|
3489
|
+
var this_0 = $this.gdy_1;
|
|
3403
3490
|
poolProvider$factory_0();
|
|
3404
3491
|
return this_0.u();
|
|
3405
3492
|
}
|
|
3406
3493
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
3407
3494
|
// Inline function 'kotlin.getValue' call
|
|
3408
|
-
var this_0 = $this.
|
|
3495
|
+
var this_0 = $this.hdy_1;
|
|
3409
3496
|
cardsDealerProvider$factory_0();
|
|
3410
3497
|
return this_0.u();
|
|
3411
3498
|
}
|
|
@@ -3418,101 +3505,101 @@
|
|
|
3418
3505
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3419
3506
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3420
3507
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3421
|
-
this.
|
|
3422
|
-
this.
|
|
3423
|
-
this.
|
|
3424
|
-
this.
|
|
3425
|
-
this.
|
|
3508
|
+
this.pdx_1 = validationStoreContract;
|
|
3509
|
+
this.qdx_1 = timersStoreContract;
|
|
3510
|
+
this.rdx_1 = botGameStoreContract;
|
|
3511
|
+
this.sdx_1 = gameMechanicStoreContract;
|
|
3512
|
+
this.tdx_1 = fileLoggerStoreContract;
|
|
3426
3513
|
var tmp = this;
|
|
3427
3514
|
// Inline function 'org.kodein.di.instance' call
|
|
3428
3515
|
// Inline function 'org.kodein.type.generic' call
|
|
3429
3516
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3430
3517
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3431
|
-
tmp.
|
|
3518
|
+
tmp.udx_1 = Instance(di, tmp$ret$0, null).w67(this, asyncProvider$factory());
|
|
3432
3519
|
var tmp_1 = this;
|
|
3433
3520
|
// Inline function 'org.kodein.di.instance' call
|
|
3434
3521
|
// Inline function 'org.kodein.type.generic' call
|
|
3435
3522
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3436
3523
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3437
|
-
tmp_1.
|
|
3524
|
+
tmp_1.vdx_1 = Instance(di, tmp$ret$2, null).w67(this, logger$factory_1());
|
|
3438
3525
|
var tmp_3 = this;
|
|
3439
3526
|
// Inline function 'org.kodein.di.instance' call
|
|
3440
3527
|
// Inline function 'org.kodein.type.generic' call
|
|
3441
3528
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3442
3529
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3443
|
-
tmp_3.
|
|
3530
|
+
tmp_3.wdx_1 = Instance(di, tmp$ret$4, null).w67(this, playerConnectionInteractor$factory_1());
|
|
3444
3531
|
var tmp_5 = this;
|
|
3445
3532
|
// Inline function 'org.kodein.di.instance' call
|
|
3446
3533
|
// Inline function 'org.kodein.type.generic' call
|
|
3447
3534
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3448
3535
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3449
|
-
tmp_5.
|
|
3536
|
+
tmp_5.xdx_1 = Instance(di, tmp$ret$6, null).w67(this, lastCardInteractor$factory());
|
|
3450
3537
|
var tmp_7 = this;
|
|
3451
3538
|
// Inline function 'org.kodein.di.instance' call
|
|
3452
3539
|
// Inline function 'org.kodein.type.generic' call
|
|
3453
3540
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3454
3541
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3455
|
-
tmp_7.
|
|
3542
|
+
tmp_7.ydx_1 = Instance(di, tmp$ret$8, null).w67(this, serverConfig$factory());
|
|
3456
3543
|
var tmp_9 = this;
|
|
3457
3544
|
// Inline function 'org.kodein.di.instance' call
|
|
3458
3545
|
// Inline function 'org.kodein.type.generic' call
|
|
3459
3546
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3460
3547
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3461
|
-
tmp_9.
|
|
3548
|
+
tmp_9.zdx_1 = Instance(di, tmp$ret$10, null).w67(this, logicConfig$factory());
|
|
3462
3549
|
var tmp_11 = this;
|
|
3463
3550
|
// Inline function 'org.kodein.di.instance' call
|
|
3464
3551
|
// Inline function 'org.kodein.type.generic' call
|
|
3465
3552
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3466
3553
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3467
|
-
tmp_11.
|
|
3554
|
+
tmp_11.ady_1 = Instance(di, tmp$ret$12, null).w67(this, idsProvider$factory_1());
|
|
3468
3555
|
var tmp_13 = this;
|
|
3469
3556
|
// Inline function 'org.kodein.di.instance' call
|
|
3470
3557
|
// Inline function 'org.kodein.type.generic' call
|
|
3471
3558
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3472
3559
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3473
|
-
tmp_13.
|
|
3560
|
+
tmp_13.bdy_1 = Instance(di, tmp$ret$14, null).w67(this, botConfig$factory());
|
|
3474
3561
|
var tmp_15 = this;
|
|
3475
3562
|
// Inline function 'org.kodein.di.instance' call
|
|
3476
3563
|
// Inline function 'org.kodein.type.generic' call
|
|
3477
3564
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3478
3565
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3479
|
-
tmp_15.
|
|
3566
|
+
tmp_15.cdy_1 = Instance(di, tmp$ret$16, null).w67(this, scenePositionProvider$factory());
|
|
3480
3567
|
var tmp_17 = this;
|
|
3481
3568
|
// Inline function 'org.kodein.di.instance' call
|
|
3482
3569
|
// Inline function 'org.kodein.type.generic' call
|
|
3483
3570
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3484
3571
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3485
|
-
tmp_17.
|
|
3572
|
+
tmp_17.ddy_1 = Instance(di, tmp$ret$18, null).w67(this, toClientEventsObserver$factory_1());
|
|
3486
3573
|
var tmp_19 = this;
|
|
3487
3574
|
// Inline function 'org.kodein.di.instance' call
|
|
3488
3575
|
// Inline function 'org.kodein.type.generic' call
|
|
3489
3576
|
var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
3490
3577
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3491
|
-
tmp_19.
|
|
3578
|
+
tmp_19.edy_1 = Instance(di, tmp$ret$20, null).w67(this, fromClientEventsObserver$factory_1());
|
|
3492
3579
|
var tmp_21 = this;
|
|
3493
3580
|
// Inline function 'org.kodein.di.instance' call
|
|
3494
3581
|
// Inline function 'org.kodein.type.generic' call
|
|
3495
3582
|
var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
3496
3583
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
3497
|
-
tmp_21.
|
|
3584
|
+
tmp_21.fdy_1 = Instance(di, tmp$ret$22, null).w67(this, dealerConfig$factory());
|
|
3498
3585
|
var tmp_23 = this;
|
|
3499
3586
|
// Inline function 'org.kodein.di.instance' call
|
|
3500
3587
|
// Inline function 'org.kodein.type.generic' call
|
|
3501
3588
|
var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3502
3589
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
3503
|
-
tmp_23.
|
|
3590
|
+
tmp_23.gdy_1 = Instance(di, tmp$ret$24, null).w67(this, poolProvider$factory());
|
|
3504
3591
|
var tmp_25 = this;
|
|
3505
3592
|
// Inline function 'org.kodein.di.instance' call
|
|
3506
3593
|
// Inline function 'org.kodein.type.generic' call
|
|
3507
3594
|
var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
3508
3595
|
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
3509
|
-
tmp_25.
|
|
3596
|
+
tmp_25.hdy_1 = Instance(di, tmp$ret$26, null).w67(this, cardsDealerProvider$factory());
|
|
3510
3597
|
}
|
|
3511
|
-
protoOf(ServerGameStoreContract).
|
|
3512
|
-
return plus(plus(plus(plus(plus(this.
|
|
3598
|
+
protoOf(ServerGameStoreContract).a9g = function () {
|
|
3599
|
+
return plus(plus(plus(plus(plus(this.pdx_1.a9g(), this.sdx_1.a9g()), this.qdx_1.a9g()), this.rdx_1.a9g()), this.tdx_1.a9g()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3513
3600
|
};
|
|
3514
|
-
protoOf(ServerGameStoreContract).
|
|
3515
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3601
|
+
protoOf(ServerGameStoreContract).b9g = function () {
|
|
3602
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.pdx_1.b9g(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.sdx_1.b9g()), this.qdx_1.b9g()), this.rdx_1.b9g()), this.tdx_1.b9g()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).g9i(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3516
3603
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3517
3604
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3518
3605
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3704,7 +3791,7 @@
|
|
|
3704
3791
|
return this.i6q(store, next, action);
|
|
3705
3792
|
};
|
|
3706
3793
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3707
|
-
this.
|
|
3794
|
+
this.kdy_1 = this$0;
|
|
3708
3795
|
}
|
|
3709
3796
|
protoOf(_no_name_provided__qut3iv_3).r6o = function (action) {
|
|
3710
3797
|
return action instanceof MechanicAction;
|
|
@@ -3718,7 +3805,7 @@
|
|
|
3718
3805
|
var tmp;
|
|
3719
3806
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3720
3807
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3721
|
-
var this_0 = this.
|
|
3808
|
+
var this_0 = this.kdy_1;
|
|
3722
3809
|
var tableId = action_0.w88_1;
|
|
3723
3810
|
var gameCreatorPlayerId = action_0.y88_1;
|
|
3724
3811
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3763,7 +3850,7 @@
|
|
|
3763
3850
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3764
3851
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3765
3852
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3766
|
-
var tmp0_aid = this_0.
|
|
3853
|
+
var tmp0_aid = this_0.jdy_1.q6m();
|
|
3767
3854
|
// Inline function 'kotlin.collections.map' call
|
|
3768
3855
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3769
3856
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3788,16 +3875,16 @@
|
|
|
3788
3875
|
} else {
|
|
3789
3876
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3790
3877
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3791
|
-
var this_2 = this.
|
|
3878
|
+
var this_2 = this.kdy_1;
|
|
3792
3879
|
var table = state.i6x();
|
|
3793
3880
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3794
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3881
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.jdy_1.q6m(), table.id, null);
|
|
3795
3882
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3796
3883
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3797
3884
|
} else {
|
|
3798
3885
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3799
3886
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3800
|
-
var this_3 = this.
|
|
3887
|
+
var this_3 = this.kdy_1;
|
|
3801
3888
|
var tableId_0 = action_0.c89_1.id;
|
|
3802
3889
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3803
3890
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3842,7 +3929,7 @@
|
|
|
3842
3929
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3843
3930
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3844
3931
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3845
|
-
var tmp0_aid_0 = this_3.
|
|
3932
|
+
var tmp0_aid_0 = this_3.jdy_1.q6m();
|
|
3846
3933
|
// Inline function 'kotlin.collections.map' call
|
|
3847
3934
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3848
3935
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3867,43 +3954,43 @@
|
|
|
3867
3954
|
} else {
|
|
3868
3955
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3869
3956
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3870
|
-
var this_5 = this.
|
|
3957
|
+
var this_5 = this.kdy_1;
|
|
3871
3958
|
var table_0 = state.i6x();
|
|
3872
3959
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3873
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3960
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.jdy_1.q6m(), table_0.id, null);
|
|
3874
3961
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3875
3962
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3876
3963
|
} else {
|
|
3877
3964
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3878
3965
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3879
|
-
var this_6 = this.
|
|
3966
|
+
var this_6 = this.kdy_1;
|
|
3880
3967
|
var table_1 = state.i6x();
|
|
3881
3968
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3882
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3969
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.jdy_1.q6m(), table_1.id, null);
|
|
3883
3970
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3884
3971
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3885
3972
|
} else {
|
|
3886
3973
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3887
3974
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3888
|
-
var this_7 = this.
|
|
3975
|
+
var this_7 = this.kdy_1;
|
|
3889
3976
|
var table_2 = state.i6x();
|
|
3890
3977
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3891
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3978
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.jdy_1.q6m(), table_2.id, null);
|
|
3892
3979
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3893
3980
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3894
3981
|
} else {
|
|
3895
3982
|
if (action_0 instanceof ErrorAction) {
|
|
3896
3983
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3897
|
-
var this_8 = this.
|
|
3984
|
+
var this_8 = this.kdy_1;
|
|
3898
3985
|
var table_3 = state.i6x();
|
|
3899
3986
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3900
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3987
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.jdy_1.q6m(), table_3.id, null);
|
|
3901
3988
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3902
3989
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3903
3990
|
} else {
|
|
3904
3991
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3905
3992
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3906
|
-
var this_9 = this.
|
|
3993
|
+
var this_9 = this.kdy_1;
|
|
3907
3994
|
var table_4 = state.i6x();
|
|
3908
3995
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3909
3996
|
var tableId_1 = table_4.id;
|
|
@@ -3940,7 +4027,7 @@
|
|
|
3940
4027
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3941
4028
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3942
4029
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3943
|
-
var tmp0_aid_1 = this_9.
|
|
4030
|
+
var tmp0_aid_1 = this_9.jdy_1.q6m();
|
|
3944
4031
|
// Inline function 'kotlin.collections.map' call
|
|
3945
4032
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3946
4033
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3965,7 +4052,7 @@
|
|
|
3965
4052
|
} else {
|
|
3966
4053
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3967
4054
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3968
|
-
var this_10 = this.
|
|
4055
|
+
var this_10 = this.kdy_1;
|
|
3969
4056
|
var table_5 = state.i6x();
|
|
3970
4057
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3971
4058
|
var tableId_2 = table_5.id;
|
|
@@ -4002,7 +4089,7 @@
|
|
|
4002
4089
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4003
4090
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4004
4091
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4005
|
-
var tmp0_aid_2 = this_10.
|
|
4092
|
+
var tmp0_aid_2 = this_10.jdy_1.q6m();
|
|
4006
4093
|
// Inline function 'kotlin.collections.map' call
|
|
4007
4094
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4008
4095
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4027,7 +4114,7 @@
|
|
|
4027
4114
|
} else {
|
|
4028
4115
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4029
4116
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4030
|
-
var this_11 = this.
|
|
4117
|
+
var this_11 = this.kdy_1;
|
|
4031
4118
|
var table_6 = state.i6x();
|
|
4032
4119
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
4033
4120
|
var tableId_3 = table_6.id;
|
|
@@ -4064,7 +4151,7 @@
|
|
|
4064
4151
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4065
4152
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4066
4153
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4067
|
-
var tmp0_aid_3 = this_11.
|
|
4154
|
+
var tmp0_aid_3 = this_11.jdy_1.q6m();
|
|
4068
4155
|
// Inline function 'kotlin.collections.map' call
|
|
4069
4156
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4070
4157
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4077,7 +4164,7 @@
|
|
|
4077
4164
|
}
|
|
4078
4165
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4079
4166
|
var tmp_0;
|
|
4080
|
-
if (this.
|
|
4167
|
+
if (this.kdy_1.idy_1.supportBackwardActions && getPlayer(state.i6x().players, sendToPlayer_8.r7l_1).j74_1.n74_1) {
|
|
4081
4168
|
tmp_0 = null;
|
|
4082
4169
|
} else {
|
|
4083
4170
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4095,79 +4182,79 @@
|
|
|
4095
4182
|
} else {
|
|
4096
4183
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4097
4184
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4098
|
-
var this_12 = this.
|
|
4185
|
+
var this_12 = this.kdy_1;
|
|
4099
4186
|
var table_7 = state.i6x();
|
|
4100
|
-
var exceptPlayerId = this.
|
|
4187
|
+
var exceptPlayerId = this.kdy_1.idy_1.supportBackwardActions ? action_0.c8a_1 : null;
|
|
4101
4188
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4102
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4189
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.jdy_1.q6m(), table_7.id, exceptPlayerId);
|
|
4103
4190
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4104
4191
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4105
4192
|
} else {
|
|
4106
4193
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4107
4194
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4108
|
-
var this_13 = this.
|
|
4195
|
+
var this_13 = this.kdy_1;
|
|
4109
4196
|
var table_8 = state.i6x();
|
|
4110
|
-
var exceptPlayerId_0 = this.
|
|
4197
|
+
var exceptPlayerId_0 = this.kdy_1.idy_1.supportBackwardActions ? action_0.g8a_1 : null;
|
|
4111
4198
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4112
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4199
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.jdy_1.q6m(), table_8.id, exceptPlayerId_0);
|
|
4113
4200
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4114
4201
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4115
4202
|
} else {
|
|
4116
4203
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4117
4204
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4118
|
-
var this_14 = this.
|
|
4205
|
+
var this_14 = this.kdy_1;
|
|
4119
4206
|
var table_9 = state.i6x();
|
|
4120
4207
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4121
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4208
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.jdy_1.q6m(), table_9.id, null);
|
|
4122
4209
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4123
4210
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4124
4211
|
} else {
|
|
4125
4212
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4126
4213
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4127
|
-
var this_15 = this.
|
|
4214
|
+
var this_15 = this.kdy_1;
|
|
4128
4215
|
var table_10 = state.i6x();
|
|
4129
|
-
var exceptPlayerId_1 = this.
|
|
4216
|
+
var exceptPlayerId_1 = this.kdy_1.idy_1.supportBackwardActions ? action_0.n8a_1 : null;
|
|
4130
4217
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4131
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4218
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.jdy_1.q6m(), table_10.id, exceptPlayerId_1);
|
|
4132
4219
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4133
4220
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4134
4221
|
} else {
|
|
4135
4222
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4136
4223
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4137
|
-
var this_16 = this.
|
|
4224
|
+
var this_16 = this.kdy_1;
|
|
4138
4225
|
var table_11 = state.i6x();
|
|
4139
|
-
var exceptPlayerId_2 = this.
|
|
4226
|
+
var exceptPlayerId_2 = this.kdy_1.idy_1.supportBackwardActions ? action_0.r8a_1 : null;
|
|
4140
4227
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4141
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4228
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.jdy_1.q6m(), table_11.id, exceptPlayerId_2);
|
|
4142
4229
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4143
4230
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4144
4231
|
} else {
|
|
4145
4232
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4146
4233
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4147
|
-
var this_17 = this.
|
|
4234
|
+
var this_17 = this.kdy_1;
|
|
4148
4235
|
var table_12 = state.i6x();
|
|
4149
4236
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4150
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4237
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.jdy_1.q6m(), table_12.id, null);
|
|
4151
4238
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4152
4239
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4153
4240
|
} else {
|
|
4154
4241
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4155
4242
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4156
|
-
var this_18 = this.
|
|
4243
|
+
var this_18 = this.kdy_1;
|
|
4157
4244
|
var table_13 = state.i6x();
|
|
4158
4245
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4159
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4246
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.jdy_1.q6m(), table_13.id, null);
|
|
4160
4247
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4161
4248
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4162
4249
|
} else {
|
|
4163
4250
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4164
4251
|
var message = action_0.z8a_1;
|
|
4165
4252
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4166
|
-
var this_19 = this.
|
|
4253
|
+
var this_19 = this.kdy_1;
|
|
4167
4254
|
var table_14 = state.i6x();
|
|
4168
4255
|
var tmp_1;
|
|
4169
4256
|
var tmp_2;
|
|
4170
|
-
if (this.
|
|
4257
|
+
if (this.kdy_1.idy_1.supportBackwardActions) {
|
|
4171
4258
|
tmp_2 = isInterface(message, UserMessage);
|
|
4172
4259
|
} else {
|
|
4173
4260
|
tmp_2 = false;
|
|
@@ -4179,17 +4266,17 @@
|
|
|
4179
4266
|
}
|
|
4180
4267
|
var exceptPlayerId_3 = tmp_1;
|
|
4181
4268
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4182
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4269
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.jdy_1.q6m(), table_14.id, exceptPlayerId_3);
|
|
4183
4270
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4184
4271
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4185
4272
|
} else {
|
|
4186
4273
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4187
4274
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4188
|
-
var this_20 = this.
|
|
4275
|
+
var this_20 = this.kdy_1;
|
|
4189
4276
|
var table_15 = state.i6x();
|
|
4190
4277
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4191
4278
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4192
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4279
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.jdy_1.q6m(), table_15.id, exceptPlayerId_4);
|
|
4193
4280
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4194
4281
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4195
4282
|
} else {
|
|
@@ -4227,10 +4314,10 @@
|
|
|
4227
4314
|
return this.i6q(store, next, action);
|
|
4228
4315
|
};
|
|
4229
4316
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4317
|
+
this.idy_1 = logicConfig;
|
|
4318
|
+
this.jdy_1 = idsProvider;
|
|
4232
4319
|
}
|
|
4233
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4320
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).g9i = function () {
|
|
4234
4321
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4235
4322
|
return new _no_name_provided__qut3iv_3(this);
|
|
4236
4323
|
};
|
|
@@ -4239,8 +4326,8 @@
|
|
|
4239
4326
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4240
4327
|
}
|
|
4241
4328
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4242
|
-
this.
|
|
4243
|
-
this.
|
|
4329
|
+
this.tdy_1 = $provider;
|
|
4330
|
+
this.udy_1 = $action;
|
|
4244
4331
|
CoroutineImpl.call(this, resultContinuation);
|
|
4245
4332
|
}
|
|
4246
4333
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -4261,7 +4348,7 @@
|
|
|
4261
4348
|
case 0:
|
|
4262
4349
|
this.k9_1 = 2;
|
|
4263
4350
|
this.j9_1 = 1;
|
|
4264
|
-
suspendResult = this.
|
|
4351
|
+
suspendResult = this.tdy_1.adv(this.udy_1, this);
|
|
4265
4352
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4266
4353
|
return suspendResult;
|
|
4267
4354
|
}
|
|
@@ -4284,8 +4371,8 @@
|
|
|
4284
4371
|
while (true);
|
|
4285
4372
|
};
|
|
4286
4373
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
4287
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4288
|
-
i.
|
|
4374
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.tdy_1, this.udy_1, completion);
|
|
4375
|
+
i.vdy_1 = $this$launchDefault;
|
|
4289
4376
|
return i;
|
|
4290
4377
|
};
|
|
4291
4378
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4297,8 +4384,8 @@
|
|
|
4297
4384
|
return l;
|
|
4298
4385
|
}
|
|
4299
4386
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4300
|
-
this.
|
|
4301
|
-
this.
|
|
4387
|
+
this.wdy_1 = $asyncProvider;
|
|
4388
|
+
this.xdy_1 = $provider;
|
|
4302
4389
|
}
|
|
4303
4390
|
protoOf(_no_name_provided__qut3iv_4).r6o = function (action) {
|
|
4304
4391
|
return action instanceof ToClientAction;
|
|
@@ -4306,7 +4393,7 @@
|
|
|
4306
4393
|
protoOf(_no_name_provided__qut3iv_4).i6q = function (store, next, action) {
|
|
4307
4394
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4308
4395
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4309
|
-
this.
|
|
4396
|
+
this.wdy_1.n6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.xdy_1, action_0, null));
|
|
4310
4397
|
next(action_0);
|
|
4311
4398
|
};
|
|
4312
4399
|
protoOf(_no_name_provided__qut3iv_4).q6o = function (store, next, action) {
|
|
@@ -4321,13 +4408,13 @@
|
|
|
4321
4408
|
protoOf(_no_name_provided__qut3iv_5).r6o = function (action) {
|
|
4322
4409
|
return action instanceof UpdateServerConfigAction;
|
|
4323
4410
|
};
|
|
4324
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4411
|
+
protoOf(_no_name_provided__qut3iv_5).u9q = function (state, action) {
|
|
4325
4412
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4326
4413
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4327
|
-
return state.
|
|
4414
|
+
return state.c9d(VOID, get_serverStatePayload(state).copy(action_0.mdx_1));
|
|
4328
4415
|
};
|
|
4329
4416
|
protoOf(_no_name_provided__qut3iv_5).j6q = function (state, action) {
|
|
4330
|
-
return this.
|
|
4417
|
+
return this.u9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4331
4418
|
};
|
|
4332
4419
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4333
4420
|
return function (it) {
|
|
@@ -4349,12 +4436,12 @@
|
|
|
4349
4436
|
}
|
|
4350
4437
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4351
4438
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4352
|
-
this.
|
|
4439
|
+
this.adz_1 = logger;
|
|
4353
4440
|
}
|
|
4354
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4441
|
+
protoOf(ServerMechanicLifecycleReducer).g9s = function (state, action) {
|
|
4355
4442
|
var serverState = get_serverStatePayloadOrNull(state.s6w_1);
|
|
4356
4443
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4357
|
-
var tmp0_$this = this.
|
|
4444
|
+
var tmp0_$this = this.h9s_1;
|
|
4358
4445
|
var tmp1_tableId = action.w88_1;
|
|
4359
4446
|
var tmp2_gameId = action.w88_1;
|
|
4360
4447
|
var tmp3_version = action.x88_1;
|
|
@@ -4362,18 +4449,18 @@
|
|
|
4362
4449
|
var tmp5_users = action.z88_1;
|
|
4363
4450
|
var tmp6_spectators = action.spectators;
|
|
4364
4451
|
var tmp7_gameCreatorPlayerId = action.y88_1;
|
|
4365
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4452
|
+
var tmp9_tableOrNull = tmp0_$this.n9t(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4366
4453
|
var tmp;
|
|
4367
4454
|
if (serverState == null) {
|
|
4368
|
-
this.
|
|
4455
|
+
this.adz_1.w(VOID, 'ServerPayload is not onStart');
|
|
4369
4456
|
tmp = Companion_instance_10.initial();
|
|
4370
4457
|
} else {
|
|
4371
4458
|
tmp = serverState;
|
|
4372
4459
|
}
|
|
4373
4460
|
var tmp10_payload = tmp;
|
|
4374
|
-
return state.
|
|
4461
|
+
return state.c9d(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4375
4462
|
};
|
|
4376
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4463
|
+
protoOf(ServerMechanicLifecycleReducer).e9s = function (state, action) {
|
|
4377
4464
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4378
4465
|
var tmp2_tableOrNull = action.c89_1;
|
|
4379
4466
|
var tmp = Companion_instance_10;
|
|
@@ -4381,25 +4468,25 @@
|
|
|
4381
4468
|
var tmp_1 = action.d89_1;
|
|
4382
4469
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4383
4470
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c6e_1));
|
|
4384
|
-
return state.
|
|
4471
|
+
return state.c9d(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4385
4472
|
};
|
|
4386
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4387
|
-
this.
|
|
4473
|
+
protoOf(ServerMechanicLifecycleReducer).f9s = function (state, action) {
|
|
4474
|
+
this.i9s_1.c5v(action.previousGameId);
|
|
4388
4475
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4389
|
-
var tmp1_tableOrNull = this.
|
|
4390
|
-
return state.
|
|
4476
|
+
var tmp1_tableOrNull = this.h9s_1.o9t(state.i6x(), action.gameId);
|
|
4477
|
+
return state.c9d(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4391
4478
|
};
|
|
4392
4479
|
function spectatorsReducer(logger) {
|
|
4393
4480
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4394
4481
|
return new _no_name_provided__qut3iv_6(logger);
|
|
4395
4482
|
}
|
|
4396
4483
|
function _no_name_provided__qut3iv_6($logger) {
|
|
4397
|
-
this.
|
|
4484
|
+
this.bdz_1 = $logger;
|
|
4398
4485
|
}
|
|
4399
4486
|
protoOf(_no_name_provided__qut3iv_6).r6o = function (action) {
|
|
4400
4487
|
return isInterface(action, SpectatorsAction);
|
|
4401
4488
|
};
|
|
4402
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4489
|
+
protoOf(_no_name_provided__qut3iv_6).u9q = function (state, action) {
|
|
4403
4490
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4404
4491
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4405
4492
|
var table = state.i6x();
|
|
@@ -4407,7 +4494,7 @@
|
|
|
4407
4494
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4408
4495
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4409
4496
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4410
|
-
var this_0 = action_0.
|
|
4497
|
+
var this_0 = action_0.ndx_1;
|
|
4411
4498
|
var destination = ArrayList_init_$Create$_0();
|
|
4412
4499
|
// Inline function 'kotlin.collections.forEach' call
|
|
4413
4500
|
var tmp0_iterator = this_0.j();
|
|
@@ -4429,10 +4516,10 @@
|
|
|
4429
4516
|
var tmp_0;
|
|
4430
4517
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4431
4518
|
if (!sameSpectators.p()) {
|
|
4432
|
-
this.
|
|
4519
|
+
this.bdz_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4433
4520
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4434
4521
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4435
|
-
var this_1 = action_0.
|
|
4522
|
+
var this_1 = action_0.ndx_1;
|
|
4436
4523
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4437
4524
|
var tmp0_iterator_0 = this_1.j();
|
|
4438
4525
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4468,7 +4555,7 @@
|
|
|
4468
4555
|
}
|
|
4469
4556
|
tmp_0 = destination_0;
|
|
4470
4557
|
} else {
|
|
4471
|
-
tmp_0 = action_0.
|
|
4558
|
+
tmp_0 = action_0.ndx_1;
|
|
4472
4559
|
}
|
|
4473
4560
|
var this_2 = tmp_0;
|
|
4474
4561
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4481,12 +4568,12 @@
|
|
|
4481
4568
|
destination_1.e(tmp$ret$10);
|
|
4482
4569
|
}
|
|
4483
4570
|
var spectatorsToAdd = toSet(destination_1);
|
|
4484
|
-
tmp = state.
|
|
4571
|
+
tmp = state.c9d(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4485
4572
|
} else {
|
|
4486
4573
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4487
4574
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4488
4575
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4489
|
-
var this_3 = action_0.
|
|
4576
|
+
var this_3 = action_0.odx_1;
|
|
4490
4577
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4491
4578
|
// Inline function 'kotlin.collections.forEach' call
|
|
4492
4579
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4507,10 +4594,10 @@
|
|
|
4507
4594
|
var tmp_2;
|
|
4508
4595
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4509
4596
|
if (!sameSpectators_0.p()) {
|
|
4510
|
-
this.
|
|
4597
|
+
this.bdz_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4511
4598
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4512
4599
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4513
|
-
var this_4 = action_0.
|
|
4600
|
+
var this_4 = action_0.odx_1;
|
|
4514
4601
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4515
4602
|
var tmp0_iterator_4 = this_4.j();
|
|
4516
4603
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4546,7 +4633,7 @@
|
|
|
4546
4633
|
}
|
|
4547
4634
|
tmp_2 = destination_3;
|
|
4548
4635
|
} else {
|
|
4549
|
-
tmp_2 = action_0.
|
|
4636
|
+
tmp_2 = action_0.odx_1;
|
|
4550
4637
|
}
|
|
4551
4638
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4552
4639
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4585,7 +4672,7 @@
|
|
|
4585
4672
|
destination_4.e(element_5);
|
|
4586
4673
|
}
|
|
4587
4674
|
}
|
|
4588
|
-
tmp = state.
|
|
4675
|
+
tmp = state.c9d(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4589
4676
|
} else {
|
|
4590
4677
|
noWhenBranchMatchedException();
|
|
4591
4678
|
}
|
|
@@ -4593,16 +4680,16 @@
|
|
|
4593
4680
|
return tmp;
|
|
4594
4681
|
};
|
|
4595
4682
|
protoOf(_no_name_provided__qut3iv_6).j6q = function (state, action) {
|
|
4596
|
-
return this.
|
|
4683
|
+
return this.u9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4597
4684
|
};
|
|
4598
4685
|
function Companion_2() {
|
|
4599
4686
|
}
|
|
4600
|
-
protoOf(Companion_2).
|
|
4687
|
+
protoOf(Companion_2).cdz = function (config) {
|
|
4601
4688
|
return new ServerStatePayload(config);
|
|
4602
4689
|
};
|
|
4603
4690
|
protoOf(Companion_2).initial = function (config, $super) {
|
|
4604
4691
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
4605
|
-
return this.
|
|
4692
|
+
return this.cdz(config);
|
|
4606
4693
|
};
|
|
4607
4694
|
var Companion_instance_10;
|
|
4608
4695
|
function Companion_getInstance_3() {
|
|
@@ -4617,12 +4704,12 @@
|
|
|
4617
4704
|
protoOf(ServerStatePayload).ue = function () {
|
|
4618
4705
|
return this.config;
|
|
4619
4706
|
};
|
|
4620
|
-
protoOf(ServerStatePayload).
|
|
4707
|
+
protoOf(ServerStatePayload).ddz = function (config) {
|
|
4621
4708
|
return new ServerStatePayload(config);
|
|
4622
4709
|
};
|
|
4623
4710
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
4624
4711
|
config = config === VOID ? this.config : config;
|
|
4625
|
-
return this.
|
|
4712
|
+
return this.ddz(config);
|
|
4626
4713
|
};
|
|
4627
4714
|
protoOf(ServerStatePayload).toString = function () {
|
|
4628
4715
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -4674,13 +4761,13 @@
|
|
|
4674
4761
|
}
|
|
4675
4762
|
function _get_logger__rkp4sl_1($this) {
|
|
4676
4763
|
// Inline function 'kotlin.getValue' call
|
|
4677
|
-
var this_0 = $this.
|
|
4764
|
+
var this_0 = $this.mdz_1;
|
|
4678
4765
|
logger$factory_3();
|
|
4679
4766
|
return this_0.u();
|
|
4680
4767
|
}
|
|
4681
4768
|
function _get_di__ndbzja($this) {
|
|
4682
4769
|
// Inline function 'kotlin.getValue' call
|
|
4683
|
-
var this_0 = $this.
|
|
4770
|
+
var this_0 = $this.ndz_1;
|
|
4684
4771
|
di$factory();
|
|
4685
4772
|
return this_0.u();
|
|
4686
4773
|
}
|
|
@@ -4691,13 +4778,13 @@
|
|
|
4691
4778
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4692
4779
|
return function () {
|
|
4693
4780
|
var tmp;
|
|
4694
|
-
if (this$0.
|
|
4781
|
+
if (this$0.kdz_1 == null) {
|
|
4695
4782
|
tmp = null;
|
|
4696
4783
|
} else {
|
|
4697
4784
|
// Inline function 'kotlin.let' call
|
|
4698
4785
|
// Inline function 'kotlin.contracts.contract' call
|
|
4699
4786
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4700
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4787
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.kdz_1)]));
|
|
4701
4788
|
}
|
|
4702
4789
|
var tmp1_elvis_lhs = tmp;
|
|
4703
4790
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4725,7 +4812,7 @@
|
|
|
4725
4812
|
tmp_0.z65(tmp$ret$3);
|
|
4726
4813
|
$this$DI.d62(jsonModule());
|
|
4727
4814
|
$this$DI.d62(serverHelpersModule());
|
|
4728
|
-
$this$DI.d62(randomOrgModule(this$0.
|
|
4815
|
+
$this$DI.d62(randomOrgModule(this$0.ldz_1));
|
|
4729
4816
|
return Unit_instance;
|
|
4730
4817
|
};
|
|
4731
4818
|
}
|
|
@@ -4736,16 +4823,16 @@
|
|
|
4736
4823
|
};
|
|
4737
4824
|
}
|
|
4738
4825
|
function _no_name_provided__qut3iv_7($item) {
|
|
4739
|
-
this.
|
|
4826
|
+
this.udz_1 = $item;
|
|
4740
4827
|
}
|
|
4741
4828
|
protoOf(_no_name_provided__qut3iv_7).r6o = function (action) {
|
|
4742
4829
|
return isInterface(action, Action);
|
|
4743
4830
|
};
|
|
4744
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4745
|
-
return this.
|
|
4831
|
+
protoOf(_no_name_provided__qut3iv_7).u9q = function (state, action) {
|
|
4832
|
+
return this.udz_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4746
4833
|
};
|
|
4747
4834
|
protoOf(_no_name_provided__qut3iv_7).j6q = function (state, action) {
|
|
4748
|
-
return this.
|
|
4835
|
+
return this.u9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4749
4836
|
};
|
|
4750
4837
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4751
4838
|
return function ($this$singleton) {
|
|
@@ -4802,7 +4889,7 @@
|
|
|
4802
4889
|
}
|
|
4803
4890
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4804
4891
|
return function (it) {
|
|
4805
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4892
|
+
var tmp0_elvis_lhs = Companion_instance_4.q9v(it);
|
|
4806
4893
|
var tmp;
|
|
4807
4894
|
if (tmp0_elvis_lhs == null) {
|
|
4808
4895
|
var tmp1_safe_receiver = $gameServer.r6f().r6w_1;
|
|
@@ -4815,7 +4902,7 @@
|
|
|
4815
4902
|
}
|
|
4816
4903
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4817
4904
|
return function (it) {
|
|
4818
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4905
|
+
var tmp0_elvis_lhs = Companion_instance_5.b9u(it);
|
|
4819
4906
|
var tmp;
|
|
4820
4907
|
if (tmp0_elvis_lhs == null) {
|
|
4821
4908
|
var tmp1_safe_receiver = $gameServer.r6f().r6w_1;
|
|
@@ -4837,7 +4924,7 @@
|
|
|
4837
4924
|
// Inline function 'kotlin.contracts.contract' call
|
|
4838
4925
|
$this$DI.d62(tmp0_safe_receiver);
|
|
4839
4926
|
}
|
|
4840
|
-
$this$DI.d62(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4927
|
+
$this$DI.d62(dealerModule(this$0.randomPoolProvider, this$0.ldz_1));
|
|
4841
4928
|
$this$DI.d62(coreModule($coreConfig));
|
|
4842
4929
|
$this$DI.d62(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4843
4930
|
return Unit_instance;
|
|
@@ -4846,89 +4933,89 @@
|
|
|
4846
4933
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4847
4934
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4848
4935
|
production = production === VOID ? true : production;
|
|
4849
|
-
this.
|
|
4850
|
-
this.
|
|
4936
|
+
this.kdz_1 = loggerCallback;
|
|
4937
|
+
this.ldz_1 = randomOrgConfig;
|
|
4851
4938
|
AppEnvironment_getInstance().a6w(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4852
4939
|
var tmp = this;
|
|
4853
|
-
tmp.
|
|
4940
|
+
tmp.mdz_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4854
4941
|
var tmp_0 = this;
|
|
4855
|
-
tmp_0.
|
|
4942
|
+
tmp_0.ndz_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4856
4943
|
var tmp_1 = this;
|
|
4857
4944
|
// Inline function 'org.kodein.di.instance' call
|
|
4858
4945
|
var this_0 = _get_di__ndbzja(this);
|
|
4859
4946
|
// Inline function 'org.kodein.type.generic' call
|
|
4860
4947
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4861
4948
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4862
|
-
tmp_1.
|
|
4949
|
+
tmp_1.odz_1 = Instance(this_0, tmp$ret$0, null).w67(this, parser$factory());
|
|
4863
4950
|
var tmp_3 = this;
|
|
4864
4951
|
// Inline function 'org.kodein.di.instance' call
|
|
4865
4952
|
var this_1 = _get_di__ndbzja(this);
|
|
4866
4953
|
// Inline function 'org.kodein.type.generic' call
|
|
4867
4954
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4868
4955
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4869
|
-
tmp_3.
|
|
4956
|
+
tmp_3.pdz_1 = Instance(this_1, tmp$ret$2, null).w67(this, helper$factory());
|
|
4870
4957
|
var tmp_5 = this;
|
|
4871
4958
|
// Inline function 'org.kodein.di.instance' call
|
|
4872
4959
|
var this_2 = _get_di__ndbzja(this);
|
|
4873
4960
|
// Inline function 'org.kodein.type.generic' call
|
|
4874
4961
|
var tmp_6 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
|
|
4875
4962
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4876
|
-
tmp_5.
|
|
4963
|
+
tmp_5.qdz_1 = Instance(this_2, tmp$ret$4, null).w67(this, serverHelper$factory());
|
|
4877
4964
|
var tmp_7 = this;
|
|
4878
4965
|
// Inline function 'org.kodein.di.instance' call
|
|
4879
4966
|
var this_3 = _get_di__ndbzja(this);
|
|
4880
4967
|
// Inline function 'org.kodein.type.generic' call
|
|
4881
4968
|
var tmp_8 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4882
4969
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4883
|
-
tmp_7.
|
|
4970
|
+
tmp_7.rdz_1 = Instance(this_3, tmp$ret$6, null).w67(this, resources$factory());
|
|
4884
4971
|
var tmp_9 = this;
|
|
4885
4972
|
// Inline function 'org.kodein.di.instance' call
|
|
4886
4973
|
var this_4 = _get_di__ndbzja(this);
|
|
4887
4974
|
// Inline function 'org.kodein.type.generic' call
|
|
4888
4975
|
var tmp_10 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4889
4976
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4890
|
-
tmp_9.
|
|
4977
|
+
tmp_9.sdz_1 = Instance(this_4, tmp$ret$8, null).w67(this, test$factory());
|
|
4891
4978
|
var tmp_11 = this;
|
|
4892
4979
|
// Inline function 'org.kodein.di.instance' call
|
|
4893
4980
|
var this_5 = _get_di__ndbzja(this);
|
|
4894
4981
|
// Inline function 'org.kodein.type.generic' call
|
|
4895
4982
|
var tmp_12 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4896
4983
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4897
|
-
tmp_11.
|
|
4984
|
+
tmp_11.tdz_1 = Instance(this_5, tmp$ret$10, null).w67(this, randomPoolProvider$factory());
|
|
4898
4985
|
}
|
|
4899
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4986
|
+
protoOf(GameServerEngineControllerImpl).sdf = function () {
|
|
4900
4987
|
// Inline function 'kotlin.getValue' call
|
|
4901
|
-
var this_0 = this.
|
|
4988
|
+
var this_0 = this.odz_1;
|
|
4902
4989
|
parser$factory_0();
|
|
4903
4990
|
return this_0.u();
|
|
4904
4991
|
};
|
|
4905
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4992
|
+
protoOf(GameServerEngineControllerImpl).fdz = function () {
|
|
4906
4993
|
// Inline function 'kotlin.getValue' call
|
|
4907
|
-
var this_0 = this.
|
|
4994
|
+
var this_0 = this.pdz_1;
|
|
4908
4995
|
helper$factory_0();
|
|
4909
4996
|
return this_0.u();
|
|
4910
4997
|
};
|
|
4911
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4998
|
+
protoOf(GameServerEngineControllerImpl).gdz = function () {
|
|
4912
4999
|
// Inline function 'kotlin.getValue' call
|
|
4913
|
-
var this_0 = this.
|
|
5000
|
+
var this_0 = this.qdz_1;
|
|
4914
5001
|
serverHelper$factory_0();
|
|
4915
5002
|
return this_0.u();
|
|
4916
5003
|
};
|
|
4917
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5004
|
+
protoOf(GameServerEngineControllerImpl).hdz = function () {
|
|
4918
5005
|
// Inline function 'kotlin.getValue' call
|
|
4919
|
-
var this_0 = this.
|
|
5006
|
+
var this_0 = this.rdz_1;
|
|
4920
5007
|
resources$factory_0();
|
|
4921
5008
|
return this_0.u();
|
|
4922
5009
|
};
|
|
4923
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5010
|
+
protoOf(GameServerEngineControllerImpl).edz = function () {
|
|
4924
5011
|
// Inline function 'kotlin.getValue' call
|
|
4925
|
-
var this_0 = this.
|
|
5012
|
+
var this_0 = this.sdz_1;
|
|
4926
5013
|
test$factory_0();
|
|
4927
5014
|
return this_0.u();
|
|
4928
5015
|
};
|
|
4929
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5016
|
+
protoOf(GameServerEngineControllerImpl).idz = function () {
|
|
4930
5017
|
// Inline function 'kotlin.getValue' call
|
|
4931
|
-
var this_0 = this.
|
|
5018
|
+
var this_0 = this.tdz_1;
|
|
4932
5019
|
randomPoolProvider$factory_0();
|
|
4933
5020
|
return this_0.u();
|
|
4934
5021
|
};
|
|
@@ -4938,7 +5025,7 @@
|
|
|
4938
5025
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4939
5026
|
return this.createGameEngineWithLogic();
|
|
4940
5027
|
};
|
|
4941
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5028
|
+
protoOf(GameServerEngineControllerImpl).jdz = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4942
5029
|
var combinedLogger = Companion_instance_6.fn();
|
|
4943
5030
|
var tmp;
|
|
4944
5031
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4948,8 +5035,8 @@
|
|
|
4948
5035
|
}
|
|
4949
5036
|
var fileLoggerOutput = tmp;
|
|
4950
5037
|
var tmp_0;
|
|
4951
|
-
if (!(this.
|
|
4952
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5038
|
+
if (!(this.kdz_1 == null)) {
|
|
5039
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.kdz_1));
|
|
4953
5040
|
} else {
|
|
4954
5041
|
tmp_0 = null;
|
|
4955
5042
|
}
|
|
@@ -4992,12 +5079,12 @@
|
|
|
4992
5079
|
var gameServer = tmp_1.n63(tmp$ret$7, null);
|
|
4993
5080
|
if (!(fileLoggerOutput == null)) {
|
|
4994
5081
|
var tmp_3 = fileLoggerOutput;
|
|
4995
|
-
tmp_3.
|
|
5082
|
+
tmp_3.f9v_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4996
5083
|
combinedLogger.hn(fileLoggerOutput);
|
|
4997
5084
|
}
|
|
4998
5085
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4999
5086
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5000
|
-
tmp_4.
|
|
5087
|
+
tmp_4.d9u_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5001
5088
|
combinedLogger.hn(callbackWrapperLoggerOutput);
|
|
5002
5089
|
}
|
|
5003
5090
|
return gameServer;
|
|
@@ -5083,13 +5170,13 @@
|
|
|
5083
5170
|
}
|
|
5084
5171
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5085
5172
|
// Inline function 'kotlin.getValue' call
|
|
5086
|
-
var this_0 = $this.
|
|
5173
|
+
var this_0 = $this.xdz_1;
|
|
5087
5174
|
playerAnswerInteractor$factory_0();
|
|
5088
5175
|
return this_0.u();
|
|
5089
5176
|
}
|
|
5090
5177
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5091
5178
|
return function ($this$singleton) {
|
|
5092
|
-
return this$0.
|
|
5179
|
+
return this$0.vdz_1;
|
|
5093
5180
|
};
|
|
5094
5181
|
}
|
|
5095
5182
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5118,20 +5205,20 @@
|
|
|
5118
5205
|
return emptyMap();
|
|
5119
5206
|
}
|
|
5120
5207
|
function TestHelperImpl(logger) {
|
|
5121
|
-
this.
|
|
5208
|
+
this.vdz_1 = logger;
|
|
5122
5209
|
var tmp = this;
|
|
5123
5210
|
var tmp_0 = Companion_instance_3;
|
|
5124
|
-
tmp.
|
|
5211
|
+
tmp.wdz_1 = tmp_0.k62(VOID, TestHelperImpl$di$lambda(this));
|
|
5125
5212
|
var tmp_1 = this;
|
|
5126
5213
|
// Inline function 'org.kodein.di.instance' call
|
|
5127
|
-
var this_0 = this.
|
|
5214
|
+
var this_0 = this.wdz_1;
|
|
5128
5215
|
// Inline function 'org.kodein.type.generic' call
|
|
5129
5216
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5130
5217
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5131
|
-
tmp_1.
|
|
5218
|
+
tmp_1.xdz_1 = Instance(this_0, tmp$ret$0, null).w67(this, playerAnswerInteractor$factory());
|
|
5132
5219
|
}
|
|
5133
5220
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5134
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5221
|
+
return _get_playerAnswerInteractor__msggz1(this).w93(playerId, table, botConfig);
|
|
5135
5222
|
};
|
|
5136
5223
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5137
5224
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5139,7 +5226,7 @@
|
|
|
5139
5226
|
var tmp$ret$0;
|
|
5140
5227
|
$l$block_0: {
|
|
5141
5228
|
// Inline function 'kotlin.collections.any' call
|
|
5142
|
-
var this_0 = mechanicAction.
|
|
5229
|
+
var this_0 = mechanicAction.f9f();
|
|
5143
5230
|
var tmp;
|
|
5144
5231
|
if (isInterface(this_0, Collection)) {
|
|
5145
5232
|
tmp = this_0.p();
|
|
@@ -5172,7 +5259,7 @@
|
|
|
5172
5259
|
var tmp$ret$0;
|
|
5173
5260
|
$l$block_0: {
|
|
5174
5261
|
// Inline function 'kotlin.collections.any' call
|
|
5175
|
-
var this_0 = action.
|
|
5262
|
+
var this_0 = action.f9f();
|
|
5176
5263
|
var tmp;
|
|
5177
5264
|
if (isInterface(this_0, Collection)) {
|
|
5178
5265
|
tmp = this_0.p();
|
|
@@ -5293,22 +5380,22 @@
|
|
|
5293
5380
|
});
|
|
5294
5381
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5295
5382
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5296
|
-
return this.
|
|
5383
|
+
return this.sdf();
|
|
5297
5384
|
});
|
|
5298
5385
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5299
|
-
return this.
|
|
5386
|
+
return this.fdz();
|
|
5300
5387
|
});
|
|
5301
5388
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
5302
|
-
return this.
|
|
5389
|
+
return this.gdz();
|
|
5303
5390
|
});
|
|
5304
5391
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5305
|
-
return this.
|
|
5392
|
+
return this.hdz();
|
|
5306
5393
|
});
|
|
5307
5394
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5308
|
-
return this.
|
|
5395
|
+
return this.edz();
|
|
5309
5396
|
});
|
|
5310
5397
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5311
|
-
return this.
|
|
5398
|
+
return this.idz();
|
|
5312
5399
|
});
|
|
5313
5400
|
//endregion
|
|
5314
5401
|
//region block: init
|