client_plugin_logic_deb 1.8.245 → 1.8.246
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/Kosi-Kodein-kodein-di.js +12 -12
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +8 -7
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +104 -3
- package/Logic_Debertz-client_plugin.js +2116 -2068
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1247 -1195
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +17404 -15783
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +5727 -5755
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +809 -785
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +44 -44
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +39 -39
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './raspberry-cardgame-lib-random.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-logger.js', './Kosi-Kaverit-kaverit.js', './Kosi-Kodein-kodein-di.js', './kotlinx-atomicfu.js'
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './raspberry-cardgame-lib-random.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-logger.js', './Kosi-Kaverit-kaverit.js', './Kosi-Kodein-kodein-di.js', './kotlinx-atomicfu.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-logger.js'), require('./Kosi-Kaverit-kaverit.js'), require('./Kosi-Kodein-kodein-di.js'), require('./kotlinx-atomicfu.js')
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-logger.js'), require('./Kosi-Kaverit-kaverit.js'), require('./Kosi-Kodein-kodein-di.js'), require('./kotlinx-atomicfu.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Logic_Debertz-game_server'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Logic_Debertz-game_server'.");
|
|
@@ -31,12 +31,9 @@
|
|
|
31
31
|
if (typeof globalThis['kotlinx-atomicfu'] === 'undefined') {
|
|
32
32
|
throw new Error("Error loading module 'Logic_Debertz-game_server'. Its dependency 'kotlinx-atomicfu' was not found. Please, check whether 'kotlinx-atomicfu' is loaded prior to 'Logic_Debertz-game_server'.");
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
throw new Error("Error loading module 'Logic_Debertz-game_server'. Its dependency 'kotlinx-serialization-kotlinx-serialization-json' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-json' is loaded prior to 'Logic_Debertz-game_server'.");
|
|
36
|
-
}
|
|
37
|
-
globalThis['Logic_Debertz-game_server'] = factory(typeof globalThis['Logic_Debertz-game_server'] === 'undefined' ? {} : globalThis['Logic_Debertz-game_server'], globalThis['kotlin-kotlin-stdlib'], globalThis['Logic_Debertz-engine'], globalThis['kotlinx-coroutines-core'], globalThis['raspberry-cardgame-lib-random'], globalThis['Logic_Debertz-core'], globalThis['raspberry-cardgame-lib-logger'], globalThis['Kosi-Kaverit-kaverit'], globalThis['Kosi-Kodein-kodein-di'], globalThis['kotlinx-atomicfu'], globalThis['kotlinx-serialization-kotlinx-serialization-json']);
|
|
34
|
+
globalThis['Logic_Debertz-game_server'] = factory(typeof globalThis['Logic_Debertz-game_server'] === 'undefined' ? {} : globalThis['Logic_Debertz-game_server'], globalThis['kotlin-kotlin-stdlib'], globalThis['Logic_Debertz-engine'], globalThis['kotlinx-coroutines-core'], globalThis['raspberry-cardgame-lib-random'], globalThis['Logic_Debertz-core'], globalThis['raspberry-cardgame-lib-logger'], globalThis['Kosi-Kaverit-kaverit'], globalThis['Kosi-Kodein-kodein-di'], globalThis['kotlinx-atomicfu']);
|
|
38
35
|
}
|
|
39
|
-
}(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_cardgame_random, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di, kotlin_org_jetbrains_kotlinx_atomicfu
|
|
36
|
+
}(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_cardgame_random, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di, kotlin_org_jetbrains_kotlinx_atomicfu) {
|
|
40
37
|
'use strict';
|
|
41
38
|
//region block: imports
|
|
42
39
|
var imul = Math.imul;
|
|
@@ -44,10 +41,10 @@
|
|
|
44
41
|
var Unit_instance = kotlin_kotlin.$_$.p5;
|
|
45
42
|
var protoOf = kotlin_kotlin.$_$.uc;
|
|
46
43
|
var THROW_CCE = kotlin_kotlin.$_$.sg;
|
|
47
|
-
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
44
|
+
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
|
|
48
45
|
var initMetadataForLambda = kotlin_kotlin.$_$.xb;
|
|
49
46
|
var VOID = kotlin_kotlin.$_$.f;
|
|
50
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
47
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
|
|
51
48
|
var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
|
|
52
49
|
var equals = kotlin_kotlin.$_$.lb;
|
|
53
50
|
var FunctionAdapter = kotlin_kotlin.$_$.za;
|
|
@@ -60,30 +57,34 @@
|
|
|
60
57
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
|
|
61
58
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
62
59
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
63
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
64
|
-
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
60
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
|
|
61
|
+
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
|
|
65
62
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
66
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
63
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
|
|
67
64
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
|
|
68
65
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
|
|
69
66
|
var toList = kotlin_kotlin.$_$.t9;
|
|
70
67
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.p;
|
|
71
|
-
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
68
|
+
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.u5;
|
|
72
69
|
var toMutableList = kotlin_kotlin.$_$.w9;
|
|
73
70
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
74
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
71
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
|
|
72
|
+
var RestartRoundReason_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t5;
|
|
73
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.qa;
|
|
74
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
|
|
75
|
+
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
|
|
75
76
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
76
77
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
|
|
77
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
78
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
79
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
78
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
|
|
79
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i6;
|
|
80
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
|
|
80
81
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
81
|
-
var
|
|
82
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.sa;
|
|
82
83
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
83
84
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
|
|
84
85
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
|
|
85
86
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
|
|
86
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
87
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
|
|
87
88
|
var emptyList = kotlin_kotlin.$_$.n7;
|
|
88
89
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
89
90
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -92,10 +93,10 @@
|
|
|
92
93
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
93
94
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
94
95
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
95
|
-
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
96
|
+
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
96
97
|
var lazy = kotlin_kotlin.$_$.ph;
|
|
97
98
|
var plus = kotlin_kotlin.$_$.z8;
|
|
98
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
99
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.p8;
|
|
99
100
|
var defineProp = kotlin_kotlin.$_$.kb;
|
|
100
101
|
var KProperty1 = kotlin_kotlin.$_$.pd;
|
|
101
102
|
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
@@ -104,28 +105,28 @@
|
|
|
104
105
|
var Enum = kotlin_kotlin.$_$.hg;
|
|
105
106
|
var getBooleanHashCode = kotlin_kotlin.$_$.ob;
|
|
106
107
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
107
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
108
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
|
|
108
109
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
109
110
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
110
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
111
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q8;
|
|
111
112
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
112
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
|
|
113
114
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
114
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
115
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
|
|
115
116
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
116
|
-
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
117
|
-
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
118
|
-
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
119
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
120
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
117
|
+
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
118
|
+
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
119
|
+
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
120
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
|
|
121
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
|
|
121
122
|
var initMetadataForInterface = kotlin_kotlin.$_$.wb;
|
|
122
123
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
123
124
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
124
125
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
125
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
126
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
|
|
126
127
|
var single = kotlin_kotlin.$_$.i9;
|
|
127
128
|
var copyToArray = kotlin_kotlin.$_$.i7;
|
|
128
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
129
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
|
|
129
130
|
var toString = kotlin_kotlin.$_$.yc;
|
|
130
131
|
var getStringHashCode = kotlin_kotlin.$_$.rb;
|
|
131
132
|
var KtList = kotlin_kotlin.$_$.x5;
|
|
@@ -141,94 +142,92 @@
|
|
|
141
142
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
142
143
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
143
144
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
144
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
145
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
146
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
147
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
148
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
145
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
|
|
146
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
|
|
147
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
|
|
148
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
|
|
149
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
|
|
149
150
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.d2;
|
|
150
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
151
|
-
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
152
|
-
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
151
|
+
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
152
|
+
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
153
|
+
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.s4;
|
|
153
154
|
var listOf = kotlin_kotlin.$_$.q8;
|
|
154
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
155
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
|
|
155
156
|
var listOfNotNull = kotlin_kotlin.$_$.n8;
|
|
156
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
157
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
157
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.t7;
|
|
158
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.u7;
|
|
158
159
|
var listOfNotNull_0 = kotlin_kotlin.$_$.o8;
|
|
159
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
160
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
160
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
|
|
161
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
|
|
161
162
|
var listOf_0 = kotlin_kotlin.$_$.p8;
|
|
162
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
163
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
163
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
|
|
164
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
|
|
165
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
|
|
165
166
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
166
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
167
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
168
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
169
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
170
|
-
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
171
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
172
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
174
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
175
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
176
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
178
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
179
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
180
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
181
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
183
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
184
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
185
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
-
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
187
|
-
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
167
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
|
|
168
|
+
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
|
|
169
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
|
|
170
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
|
|
171
|
+
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
172
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
|
|
173
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n6;
|
|
174
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
|
|
175
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
|
|
176
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
|
|
177
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
|
|
178
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
|
|
179
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
|
|
180
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
|
|
181
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
|
|
182
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
|
|
183
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
|
|
184
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.a6;
|
|
185
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
|
|
186
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.z5;
|
|
187
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s6;
|
|
188
|
+
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
188
189
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
|
|
189
190
|
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.p9;
|
|
190
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
191
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
192
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
193
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
195
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
196
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
199
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
202
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
203
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
204
|
-
var
|
|
205
|
-
var
|
|
206
|
-
var
|
|
207
|
-
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
|
|
191
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
|
|
192
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
|
|
193
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
|
|
194
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
|
|
195
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
|
|
196
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
|
|
197
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
|
|
198
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
|
|
199
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
|
|
200
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
|
|
201
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
|
|
202
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
|
|
203
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
|
|
204
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
|
|
205
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
|
|
206
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
|
|
207
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
|
|
208
208
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
209
|
-
var
|
|
210
|
-
var
|
|
209
|
+
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
|
|
210
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.d5;
|
|
211
211
|
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
212
212
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
213
213
|
var toDuration = kotlin_kotlin.$_$.zf;
|
|
214
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
214
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
|
|
215
215
|
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.k9;
|
|
216
216
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
217
217
|
var singleOrNull = kotlin_kotlin.$_$.h9;
|
|
218
218
|
var Collection = kotlin_kotlin.$_$.r5;
|
|
219
219
|
var toSet = kotlin_kotlin.$_$.z9;
|
|
220
|
-
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
221
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
220
|
+
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
|
|
221
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
|
|
222
222
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
223
223
|
var isArray = kotlin_kotlin.$_$.zb;
|
|
224
|
-
var get_entries = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
224
|
+
var get_entries = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
|
|
225
225
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
226
|
-
var get_entries_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
-
var get_entries_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
228
|
-
var getUserProfilePayloadOrNull = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
229
|
-
var
|
|
230
|
-
var
|
|
231
|
-
var Config = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
|
|
226
|
+
var get_entries_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
227
|
+
var get_entries_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
228
|
+
var getUserProfilePayloadOrNull = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
|
|
229
|
+
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.na;
|
|
230
|
+
var Config = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
232
231
|
var PointsMode_SMALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i9;
|
|
233
232
|
var PointsMode_MEDIUM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.h9;
|
|
234
233
|
var PointsMode_BIG_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.g9;
|
|
@@ -237,59 +236,58 @@
|
|
|
237
236
|
var PlayersMode_THREE_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.e9;
|
|
238
237
|
var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.d9;
|
|
239
238
|
var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.c9;
|
|
240
|
-
var Rules = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
239
|
+
var Rules = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
241
240
|
var mapOfObject = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
|
|
242
|
-
var toRoundContractType = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
241
|
+
var toRoundContractType = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
|
|
243
242
|
var Companion_getInstance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.r9;
|
|
244
|
-
var toBidType = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
-
var mapToCombinationType = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
243
|
+
var toBidType = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
|
|
244
|
+
var mapToCombinationType = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
|
|
246
245
|
var Companion_getInstance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.ma;
|
|
247
|
-
var toPointsDistributeMode = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
248
|
-
var PointsDistributeMode_HIGHEST_PLAYER_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
249
|
-
var PointsDistributeMode_ALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
246
|
+
var toPointsDistributeMode = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
247
|
+
var PointsDistributeMode_HIGHEST_PLAYER_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.y8;
|
|
248
|
+
var PointsDistributeMode_ALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.x8;
|
|
250
249
|
var getValue = kotlin_kotlin.$_$.a8;
|
|
251
|
-
var
|
|
252
|
-
var valueOf = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
250
|
+
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.s9;
|
|
251
|
+
var valueOf = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
|
|
253
252
|
var Default_getInstance = kotlin_kotlin.$_$.d5;
|
|
254
253
|
var GameUserInfo = kotlin_io_raspberryapps_game_engine_core.$_$.c;
|
|
255
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
254
|
+
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
256
255
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
|
|
257
256
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
258
|
-
var
|
|
257
|
+
var Companion_instance_5 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
259
258
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
260
259
|
var mutableListOf = kotlin_kotlin.$_$.v8;
|
|
261
260
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
262
261
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
263
262
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
264
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
265
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
266
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
267
|
-
var
|
|
268
|
-
var
|
|
269
|
-
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
263
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
|
|
264
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
|
|
265
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
|
|
266
|
+
var Companion_instance_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.ua;
|
|
267
|
+
var Companion_instance_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.ta;
|
|
268
|
+
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
270
269
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
271
270
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
272
271
|
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
273
|
-
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.
|
|
272
|
+
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w5;
|
|
274
273
|
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b5;
|
|
275
274
|
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c5;
|
|
276
|
-
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
275
|
+
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
277
276
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
278
|
-
var
|
|
277
|
+
var Companion_instance_8 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
279
278
|
var toList_0 = kotlin_kotlin.$_$.s9;
|
|
280
279
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
281
280
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
282
|
-
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
283
|
-
var RoomConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
284
|
-
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
281
|
+
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.k2;
|
|
282
|
+
var RoomConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.va;
|
|
283
|
+
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
285
284
|
var emptyMap = kotlin_kotlin.$_$.o7;
|
|
286
|
-
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
287
|
-
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
288
|
-
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
289
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
290
|
-
var
|
|
291
|
-
var
|
|
292
|
-
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
285
|
+
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
286
|
+
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.w4;
|
|
287
|
+
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
|
|
288
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
|
|
289
|
+
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
290
|
+
var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
293
291
|
//endregion
|
|
294
292
|
//region block: pre-declaration
|
|
295
293
|
initMetadataForLambda(GameServer$subscribeToClientAction$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -304,6 +302,7 @@
|
|
|
304
302
|
initMetadataForLambda(GameServer$playerLive$slambda, CoroutineImpl, VOID, [2]);
|
|
305
303
|
initMetadataForLambda(GameServer$playerLeft$slambda, CoroutineImpl, VOID, [2]);
|
|
306
304
|
initMetadataForLambda(GameServer$roomOnCreate$slambda, CoroutineImpl, VOID, [2]);
|
|
305
|
+
initMetadataForLambda(GameServer$roomOnContinueFromRound$slambda, CoroutineImpl, VOID, [2]);
|
|
307
306
|
initMetadataForLambda(GameServer$addSpectatorsToRoom$slambda, CoroutineImpl, VOID, [2]);
|
|
308
307
|
initMetadataForLambda(GameServer$removeSpectatorsFromRoom$slambda, CoroutineImpl, VOID, [2]);
|
|
309
308
|
initMetadataForLambda(GameServer$roomRefreshPlayerState$slambda, CoroutineImpl, VOID, [2]);
|
|
@@ -319,15 +318,15 @@
|
|
|
319
318
|
tmp = spectators;
|
|
320
319
|
}
|
|
321
320
|
spectators = tmp;
|
|
322
|
-
return this.
|
|
321
|
+
return this.hd9(roomId, gameCreatorId, config, users, spectators);
|
|
323
322
|
}
|
|
324
323
|
function roomOnDelete(newRid, $super) {
|
|
325
324
|
newRid = newRid === VOID ? null : newRid;
|
|
326
|
-
return this.
|
|
325
|
+
return this.id9(newRid);
|
|
327
326
|
}
|
|
328
327
|
function shutdown(reason, roomId, $super) {
|
|
329
328
|
roomId = roomId === VOID ? null : roomId;
|
|
330
|
-
return this.
|
|
329
|
+
return this.jd9(reason, roomId);
|
|
331
330
|
}
|
|
332
331
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
333
332
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -367,7 +366,7 @@
|
|
|
367
366
|
tmp = existingNicknames;
|
|
368
367
|
}
|
|
369
368
|
existingNicknames = tmp;
|
|
370
|
-
return this.
|
|
369
|
+
return this.kdd(playerId, existingNicknames);
|
|
371
370
|
}
|
|
372
371
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
373
372
|
initMetadataForCompanion(Companion_2);
|
|
@@ -395,7 +394,7 @@
|
|
|
395
394
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
396
395
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
397
396
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
398
|
-
return this.
|
|
397
|
+
return this.ade(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
399
398
|
}
|
|
400
399
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
401
400
|
initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Reducer]);
|
|
@@ -404,17 +403,17 @@
|
|
|
404
403
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
405
404
|
//endregion
|
|
406
405
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
407
|
-
this.
|
|
406
|
+
this.xd1_1 = $subscriber;
|
|
408
407
|
CoroutineImpl.call(this, resultContinuation);
|
|
409
408
|
}
|
|
410
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
411
|
-
var tmp = this.
|
|
409
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).zd1 = function (it, $completion) {
|
|
410
|
+
var tmp = this.ad2(it, $completion);
|
|
412
411
|
tmp.g9_1 = Unit_instance;
|
|
413
412
|
tmp.h9_1 = null;
|
|
414
413
|
return tmp.m9();
|
|
415
414
|
};
|
|
416
415
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
|
|
417
|
-
return this.
|
|
416
|
+
return this.zd1(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
418
417
|
};
|
|
419
418
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
420
419
|
var suspendResult = this.g9_1;
|
|
@@ -423,7 +422,7 @@
|
|
|
423
422
|
var tmp = this.e9_1;
|
|
424
423
|
if (tmp === 0) {
|
|
425
424
|
this.f9_1 = 1;
|
|
426
|
-
this.
|
|
425
|
+
this.xd1_1(this.yd1_1);
|
|
427
426
|
return Unit_instance;
|
|
428
427
|
} else if (tmp === 1) {
|
|
429
428
|
throw this.h9_1;
|
|
@@ -434,31 +433,31 @@
|
|
|
434
433
|
}
|
|
435
434
|
while (true);
|
|
436
435
|
};
|
|
437
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
438
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
439
|
-
i.
|
|
436
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ad2 = function (it, completion) {
|
|
437
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.xd1_1, completion);
|
|
438
|
+
i.yd1_1 = it;
|
|
440
439
|
return i;
|
|
441
440
|
};
|
|
442
441
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
443
442
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
444
443
|
var l = function (it, $completion) {
|
|
445
|
-
return i.
|
|
444
|
+
return i.zd1(it, $completion);
|
|
446
445
|
};
|
|
447
446
|
l.$arity = 1;
|
|
448
447
|
return l;
|
|
449
448
|
}
|
|
450
449
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
451
|
-
this.
|
|
450
|
+
this.jd2_1 = $subscriber;
|
|
452
451
|
CoroutineImpl.call(this, resultContinuation);
|
|
453
452
|
}
|
|
454
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
455
|
-
var tmp = this.
|
|
453
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).ld2 = function (it, $completion) {
|
|
454
|
+
var tmp = this.md2(it, $completion);
|
|
456
455
|
tmp.g9_1 = Unit_instance;
|
|
457
456
|
tmp.h9_1 = null;
|
|
458
457
|
return tmp.m9();
|
|
459
458
|
};
|
|
460
459
|
protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
|
|
461
|
-
return this.
|
|
460
|
+
return this.ld2(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
462
461
|
};
|
|
463
462
|
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
464
463
|
var suspendResult = this.g9_1;
|
|
@@ -467,7 +466,7 @@
|
|
|
467
466
|
var tmp = this.e9_1;
|
|
468
467
|
if (tmp === 0) {
|
|
469
468
|
this.f9_1 = 1;
|
|
470
|
-
this.
|
|
469
|
+
this.jd2_1(this.kd2_1);
|
|
471
470
|
return Unit_instance;
|
|
472
471
|
} else if (tmp === 1) {
|
|
473
472
|
throw this.h9_1;
|
|
@@ -478,58 +477,58 @@
|
|
|
478
477
|
}
|
|
479
478
|
while (true);
|
|
480
479
|
};
|
|
481
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
482
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
483
|
-
i.
|
|
480
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).md2 = function (it, completion) {
|
|
481
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.jd2_1, completion);
|
|
482
|
+
i.kd2_1 = it;
|
|
484
483
|
return i;
|
|
485
484
|
};
|
|
486
485
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
487
486
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
488
487
|
var l = function (it, $completion) {
|
|
489
|
-
return i.
|
|
488
|
+
return i.ld2(it, $completion);
|
|
490
489
|
};
|
|
491
490
|
l.$arity = 1;
|
|
492
491
|
return l;
|
|
493
492
|
}
|
|
494
493
|
function _get_logger__rkp4sl($this) {
|
|
495
494
|
// Inline function 'kotlin.getValue' call
|
|
496
|
-
var this_0 = $this.
|
|
495
|
+
var this_0 = $this.pd2_1;
|
|
497
496
|
logger$factory_0();
|
|
498
497
|
return this_0.u();
|
|
499
498
|
}
|
|
500
499
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
501
500
|
// Inline function 'kotlin.getValue' call
|
|
502
|
-
var this_0 = $this.
|
|
501
|
+
var this_0 = $this.qd2_1;
|
|
503
502
|
toClientEventsObserver$factory_0();
|
|
504
503
|
return this_0.u();
|
|
505
504
|
}
|
|
506
505
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
507
506
|
// Inline function 'kotlin.getValue' call
|
|
508
|
-
var this_0 = $this.
|
|
507
|
+
var this_0 = $this.rd2_1;
|
|
509
508
|
playerConnectionInteractor$factory_0();
|
|
510
509
|
return this_0.u();
|
|
511
510
|
}
|
|
512
511
|
function _get_random__h29cgo($this) {
|
|
513
512
|
// Inline function 'kotlin.getValue' call
|
|
514
|
-
var this_0 = $this.
|
|
513
|
+
var this_0 = $this.sd2_1;
|
|
515
514
|
random$factory();
|
|
516
515
|
return this_0.u();
|
|
517
516
|
}
|
|
518
517
|
function Companion() {
|
|
519
|
-
this.
|
|
518
|
+
this.ud2_1 = 'GameEngine_API';
|
|
520
519
|
}
|
|
521
|
-
var
|
|
520
|
+
var Companion_instance_9;
|
|
522
521
|
function Companion_getInstance_2() {
|
|
523
|
-
return
|
|
522
|
+
return Companion_instance_9;
|
|
524
523
|
}
|
|
525
524
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
526
|
-
this.
|
|
525
|
+
this.vd2_1 = function_0;
|
|
527
526
|
}
|
|
528
527
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
|
|
529
|
-
return this.
|
|
528
|
+
return this.vd2_1(value, $completion);
|
|
530
529
|
};
|
|
531
530
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
532
|
-
return this.
|
|
531
|
+
return this.vd2_1;
|
|
533
532
|
};
|
|
534
533
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
535
534
|
var tmp;
|
|
@@ -550,13 +549,13 @@
|
|
|
550
549
|
return hashCode(this.o3());
|
|
551
550
|
};
|
|
552
551
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
553
|
-
this.
|
|
552
|
+
this.wd2_1 = function_0;
|
|
554
553
|
}
|
|
555
554
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
556
|
-
return this.
|
|
555
|
+
return this.wd2_1(value, $completion);
|
|
557
556
|
};
|
|
558
557
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
559
|
-
return this.
|
|
558
|
+
return this.wd2_1;
|
|
560
559
|
};
|
|
561
560
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
562
561
|
var tmp;
|
|
@@ -582,8 +581,8 @@
|
|
|
582
581
|
};
|
|
583
582
|
}
|
|
584
583
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
584
|
+
this.fd3_1 = this$0;
|
|
585
|
+
this.gd3_1 = $subscriber;
|
|
587
586
|
CoroutineImpl.call(this, resultContinuation);
|
|
588
587
|
}
|
|
589
588
|
protoOf(GameServer$subscribeToClientAction$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -604,8 +603,8 @@
|
|
|
604
603
|
case 0:
|
|
605
604
|
this.f9_1 = 2;
|
|
606
605
|
this.e9_1 = 1;
|
|
607
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
608
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
606
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.fd3_1).rb7();
|
|
607
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.gd3_1, null);
|
|
609
608
|
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
610
609
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
611
610
|
return suspendResult;
|
|
@@ -629,8 +628,8 @@
|
|
|
629
628
|
while (true);
|
|
630
629
|
};
|
|
631
630
|
protoOf(GameServer$subscribeToClientAction$slambda).f1f = function ($this$launchDefault, completion) {
|
|
632
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
633
|
-
i.
|
|
631
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.fd3_1, this.gd3_1, completion);
|
|
632
|
+
i.hd3_1 = $this$launchDefault;
|
|
634
633
|
return i;
|
|
635
634
|
};
|
|
636
635
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -642,8 +641,8 @@
|
|
|
642
641
|
return l;
|
|
643
642
|
}
|
|
644
643
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
644
|
+
this.qd3_1 = this$0;
|
|
645
|
+
this.rd3_1 = $subscriber;
|
|
647
646
|
CoroutineImpl.call(this, resultContinuation);
|
|
648
647
|
}
|
|
649
648
|
protoOf(GameServer$subscribeWith$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -664,8 +663,8 @@
|
|
|
664
663
|
case 0:
|
|
665
664
|
this.f9_1 = 2;
|
|
666
665
|
this.e9_1 = 1;
|
|
667
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
668
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
666
|
+
var tmp_0 = distinctUntilChanged(this.qd3_1.c6w());
|
|
667
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.rd3_1, null);
|
|
669
668
|
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
670
669
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
671
670
|
return suspendResult;
|
|
@@ -689,8 +688,8 @@
|
|
|
689
688
|
while (true);
|
|
690
689
|
};
|
|
691
690
|
protoOf(GameServer$subscribeWith$slambda).f1f = function ($this$launchDefault, completion) {
|
|
692
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
693
|
-
i.
|
|
691
|
+
var i = new GameServer$subscribeWith$slambda(this.qd3_1, this.rd3_1, completion);
|
|
692
|
+
i.sd3_1 = $this$launchDefault;
|
|
694
693
|
return i;
|
|
695
694
|
};
|
|
696
695
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -702,18 +701,18 @@
|
|
|
702
701
|
return l;
|
|
703
702
|
}
|
|
704
703
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
705
|
-
this.
|
|
704
|
+
this.bd4_1 = $action;
|
|
706
705
|
CoroutineImpl.call(this, resultContinuation);
|
|
707
706
|
}
|
|
708
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
709
|
-
var tmp = this.
|
|
707
|
+
protoOf(GameServer$fromClientEvent$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
708
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
710
709
|
tmp.g9_1 = Unit_instance;
|
|
711
710
|
tmp.h9_1 = null;
|
|
712
711
|
return tmp.m9();
|
|
713
712
|
};
|
|
714
713
|
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
715
714
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
716
|
-
return this.
|
|
715
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
717
716
|
};
|
|
718
717
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
719
718
|
var suspendResult = this.g9_1;
|
|
@@ -722,11 +721,11 @@
|
|
|
722
721
|
var tmp = this.e9_1;
|
|
723
722
|
if (tmp === 0) {
|
|
724
723
|
this.f9_1 = 1;
|
|
725
|
-
if (this.
|
|
726
|
-
if (!get_isCreated(this.
|
|
724
|
+
if (this.bd4_1 instanceof PlayerReadyFromClientAction)
|
|
725
|
+
if (!get_isCreated(this.dd4_1.state)) {
|
|
727
726
|
return Unit_instance;
|
|
728
727
|
}
|
|
729
|
-
this.
|
|
728
|
+
this.dd4_1.dispatch(this.bd4_1);
|
|
730
729
|
return Unit_instance;
|
|
731
730
|
} else if (tmp === 1) {
|
|
732
731
|
throw this.h9_1;
|
|
@@ -737,33 +736,33 @@
|
|
|
737
736
|
}
|
|
738
737
|
while (true);
|
|
739
738
|
};
|
|
740
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
741
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
742
|
-
i.
|
|
743
|
-
i.
|
|
739
|
+
protoOf(GameServer$fromClientEvent$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
740
|
+
var i = new GameServer$fromClientEvent$slambda(this.bd4_1, completion);
|
|
741
|
+
i.cd4_1 = $this$dispatchAsync;
|
|
742
|
+
i.dd4_1 = store;
|
|
744
743
|
return i;
|
|
745
744
|
};
|
|
746
745
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
747
746
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
748
747
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
749
|
-
return i.
|
|
748
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
750
749
|
};
|
|
751
750
|
l.$arity = 2;
|
|
752
751
|
return l;
|
|
753
752
|
}
|
|
754
753
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
755
|
-
this.
|
|
754
|
+
this.md4_1 = $playerId;
|
|
756
755
|
CoroutineImpl.call(this, resultContinuation);
|
|
757
756
|
}
|
|
758
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
759
|
-
var tmp = this.
|
|
757
|
+
protoOf(GameServer$playerLostConnection$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
758
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
760
759
|
tmp.g9_1 = Unit_instance;
|
|
761
760
|
tmp.h9_1 = null;
|
|
762
761
|
return tmp.m9();
|
|
763
762
|
};
|
|
764
763
|
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
765
764
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
766
|
-
return this.
|
|
765
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
767
766
|
};
|
|
768
767
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
769
768
|
var suspendResult = this.g9_1;
|
|
@@ -772,12 +771,12 @@
|
|
|
772
771
|
var tmp = this.e9_1;
|
|
773
772
|
if (tmp === 0) {
|
|
774
773
|
this.f9_1 = 1;
|
|
775
|
-
if (!get_isCreated(this.
|
|
774
|
+
if (!get_isCreated(this.od4_1.state)) {
|
|
776
775
|
return Unit_instance;
|
|
777
776
|
}
|
|
778
|
-
var tmp_0 = this.
|
|
777
|
+
var tmp_0 = this.od4_1.dispatch;
|
|
779
778
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
780
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
779
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.md4_1));
|
|
781
780
|
return Unit_instance;
|
|
782
781
|
} else if (tmp === 1) {
|
|
783
782
|
throw this.h9_1;
|
|
@@ -788,33 +787,33 @@
|
|
|
788
787
|
}
|
|
789
788
|
while (true);
|
|
790
789
|
};
|
|
791
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
792
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
793
|
-
i.
|
|
794
|
-
i.
|
|
790
|
+
protoOf(GameServer$playerLostConnection$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
791
|
+
var i = new GameServer$playerLostConnection$slambda(this.md4_1, completion);
|
|
792
|
+
i.nd4_1 = $this$dispatchAsync;
|
|
793
|
+
i.od4_1 = store;
|
|
795
794
|
return i;
|
|
796
795
|
};
|
|
797
796
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
798
797
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
799
798
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
800
|
-
return i.
|
|
799
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
801
800
|
};
|
|
802
801
|
l.$arity = 2;
|
|
803
802
|
return l;
|
|
804
803
|
}
|
|
805
804
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
806
|
-
this.
|
|
805
|
+
this.xd4_1 = $playerId;
|
|
807
806
|
CoroutineImpl.call(this, resultContinuation);
|
|
808
807
|
}
|
|
809
|
-
protoOf(GameServer$playerLive$slambda).
|
|
810
|
-
var tmp = this.
|
|
808
|
+
protoOf(GameServer$playerLive$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
809
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
811
810
|
tmp.g9_1 = Unit_instance;
|
|
812
811
|
tmp.h9_1 = null;
|
|
813
812
|
return tmp.m9();
|
|
814
813
|
};
|
|
815
814
|
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
816
815
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
817
|
-
return this.
|
|
816
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
818
817
|
};
|
|
819
818
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
820
819
|
var suspendResult = this.g9_1;
|
|
@@ -823,9 +822,9 @@
|
|
|
823
822
|
var tmp = this.e9_1;
|
|
824
823
|
if (tmp === 0) {
|
|
825
824
|
this.f9_1 = 1;
|
|
826
|
-
var tmp_0 = this.
|
|
825
|
+
var tmp_0 = this.zd4_1.dispatch;
|
|
827
826
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
828
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
827
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.xd4_1));
|
|
829
828
|
return Unit_instance;
|
|
830
829
|
} else if (tmp === 1) {
|
|
831
830
|
throw this.h9_1;
|
|
@@ -836,33 +835,33 @@
|
|
|
836
835
|
}
|
|
837
836
|
while (true);
|
|
838
837
|
};
|
|
839
|
-
protoOf(GameServer$playerLive$slambda).
|
|
840
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
841
|
-
i.
|
|
842
|
-
i.
|
|
838
|
+
protoOf(GameServer$playerLive$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
839
|
+
var i = new GameServer$playerLive$slambda(this.xd4_1, completion);
|
|
840
|
+
i.yd4_1 = $this$dispatchAsync;
|
|
841
|
+
i.zd4_1 = store;
|
|
843
842
|
return i;
|
|
844
843
|
};
|
|
845
844
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
846
845
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
847
846
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
848
|
-
return i.
|
|
847
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
849
848
|
};
|
|
850
849
|
l.$arity = 2;
|
|
851
850
|
return l;
|
|
852
851
|
}
|
|
853
852
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
854
|
-
this.
|
|
853
|
+
this.id5_1 = $playerId;
|
|
855
854
|
CoroutineImpl.call(this, resultContinuation);
|
|
856
855
|
}
|
|
857
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
858
|
-
var tmp = this.
|
|
856
|
+
protoOf(GameServer$playerLeft$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
857
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
859
858
|
tmp.g9_1 = Unit_instance;
|
|
860
859
|
tmp.h9_1 = null;
|
|
861
860
|
return tmp.m9();
|
|
862
861
|
};
|
|
863
862
|
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
864
863
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
865
|
-
return this.
|
|
864
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
866
865
|
};
|
|
867
866
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
868
867
|
var suspendResult = this.g9_1;
|
|
@@ -871,9 +870,9 @@
|
|
|
871
870
|
var tmp = this.e9_1;
|
|
872
871
|
if (tmp === 0) {
|
|
873
872
|
this.f9_1 = 1;
|
|
874
|
-
var tmp_0 = this.
|
|
873
|
+
var tmp_0 = this.kd5_1.dispatch;
|
|
875
874
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
876
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
875
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.id5_1));
|
|
877
876
|
return Unit_instance;
|
|
878
877
|
} else if (tmp === 1) {
|
|
879
878
|
throw this.h9_1;
|
|
@@ -884,38 +883,38 @@
|
|
|
884
883
|
}
|
|
885
884
|
while (true);
|
|
886
885
|
};
|
|
887
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
888
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
889
|
-
i.
|
|
890
|
-
i.
|
|
886
|
+
protoOf(GameServer$playerLeft$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
887
|
+
var i = new GameServer$playerLeft$slambda(this.id5_1, completion);
|
|
888
|
+
i.jd5_1 = $this$dispatchAsync;
|
|
889
|
+
i.kd5_1 = store;
|
|
891
890
|
return i;
|
|
892
891
|
};
|
|
893
892
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
894
893
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
895
894
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
896
|
-
return i.
|
|
895
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
897
896
|
};
|
|
898
897
|
l.$arity = 2;
|
|
899
898
|
return l;
|
|
900
899
|
}
|
|
901
900
|
function GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
902
|
-
this.
|
|
903
|
-
this.
|
|
904
|
-
this.
|
|
905
|
-
this.
|
|
906
|
-
this.
|
|
907
|
-
this.
|
|
901
|
+
this.td5_1 = $users;
|
|
902
|
+
this.ud5_1 = $gameCreatorId;
|
|
903
|
+
this.vd5_1 = this$0;
|
|
904
|
+
this.wd5_1 = $spectators;
|
|
905
|
+
this.xd5_1 = $config;
|
|
906
|
+
this.yd5_1 = $roomId;
|
|
908
907
|
CoroutineImpl.call(this, resultContinuation);
|
|
909
908
|
}
|
|
910
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
911
|
-
var tmp = this.
|
|
909
|
+
protoOf(GameServer$roomOnCreate$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
910
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
912
911
|
tmp.g9_1 = Unit_instance;
|
|
913
912
|
tmp.h9_1 = null;
|
|
914
913
|
return tmp.m9();
|
|
915
914
|
};
|
|
916
915
|
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
917
916
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
918
|
-
return this.
|
|
917
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
919
918
|
};
|
|
920
919
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
921
920
|
var suspendResult = this.g9_1;
|
|
@@ -924,13 +923,13 @@
|
|
|
924
923
|
var tmp = this.e9_1;
|
|
925
924
|
if (tmp === 0) {
|
|
926
925
|
this.f9_1 = 1;
|
|
927
|
-
var usersList = toList(this.
|
|
928
|
-
var gameCreatorUser = getPlayer(usersList, this.
|
|
929
|
-
var tmp_0 = this.
|
|
926
|
+
var usersList = toList(this.td5_1);
|
|
927
|
+
var gameCreatorUser = getPlayer(usersList, this.ud5_1);
|
|
928
|
+
var tmp_0 = this.ad6_1.dispatch;
|
|
930
929
|
var tmp0_version = GameEngineConfig_instance.version;
|
|
931
|
-
var tmp1_users = sortWithItem(_get_random__h29cgo(this.
|
|
932
|
-
var tmp2_spectators = toList(this.
|
|
933
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
930
|
+
var tmp1_users = sortWithItem(_get_random__h29cgo(this.vd5_1).a60(toMutableList(usersList)), gameCreatorUser);
|
|
931
|
+
var tmp2_spectators = toList(this.wd5_1);
|
|
932
|
+
tmp_0(new StartGameMechanicAction(this.xd5_1, this.yd5_1, tmp0_version, this.ud5_1, tmp1_users, VOID, tmp2_spectators));
|
|
934
933
|
return Unit_instance;
|
|
935
934
|
} else if (tmp === 1) {
|
|
936
935
|
throw this.h9_1;
|
|
@@ -941,33 +940,83 @@
|
|
|
941
940
|
}
|
|
942
941
|
while (true);
|
|
943
942
|
};
|
|
944
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
945
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
946
|
-
i.
|
|
947
|
-
i.
|
|
943
|
+
protoOf(GameServer$roomOnCreate$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
944
|
+
var i = new GameServer$roomOnCreate$slambda(this.td5_1, this.ud5_1, this.vd5_1, this.wd5_1, this.xd5_1, this.yd5_1, completion);
|
|
945
|
+
i.zd5_1 = $this$dispatchAsync;
|
|
946
|
+
i.ad6_1 = store;
|
|
948
947
|
return i;
|
|
949
948
|
};
|
|
950
949
|
function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
951
950
|
var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation);
|
|
952
951
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
953
|
-
return i.
|
|
952
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
953
|
+
};
|
|
954
|
+
l.$arity = 2;
|
|
955
|
+
return l;
|
|
956
|
+
}
|
|
957
|
+
function GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation) {
|
|
958
|
+
this.jd6_1 = $tableLite;
|
|
959
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
960
|
+
}
|
|
961
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
962
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
963
|
+
tmp.g9_1 = Unit_instance;
|
|
964
|
+
tmp.h9_1 = null;
|
|
965
|
+
return tmp.m9();
|
|
966
|
+
};
|
|
967
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
|
|
968
|
+
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
969
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
970
|
+
};
|
|
971
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
972
|
+
var suspendResult = this.g9_1;
|
|
973
|
+
$sm: do
|
|
974
|
+
try {
|
|
975
|
+
var tmp = this.e9_1;
|
|
976
|
+
if (tmp === 0) {
|
|
977
|
+
this.f9_1 = 1;
|
|
978
|
+
var tmp_0 = this.ld6_1.dispatch;
|
|
979
|
+
var tmp0_reason = RestartRoundReason_getInstance();
|
|
980
|
+
var tmp1_table = Companion_instance.restartRound(GameEngineConfig_instance.version, this.jd6_1);
|
|
981
|
+
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
982
|
+
this.ld6_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
983
|
+
return Unit_instance;
|
|
984
|
+
} else if (tmp === 1) {
|
|
985
|
+
throw this.h9_1;
|
|
986
|
+
}
|
|
987
|
+
} catch ($p) {
|
|
988
|
+
var e = $p;
|
|
989
|
+
throw e;
|
|
990
|
+
}
|
|
991
|
+
while (true);
|
|
992
|
+
};
|
|
993
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
994
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.jd6_1, completion);
|
|
995
|
+
i.kd6_1 = $this$dispatchAsync;
|
|
996
|
+
i.ld6_1 = store;
|
|
997
|
+
return i;
|
|
998
|
+
};
|
|
999
|
+
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, resultContinuation) {
|
|
1000
|
+
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation);
|
|
1001
|
+
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1002
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
954
1003
|
};
|
|
955
1004
|
l.$arity = 2;
|
|
956
1005
|
return l;
|
|
957
1006
|
}
|
|
958
1007
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
959
|
-
this.
|
|
1008
|
+
this.ud6_1 = $spectators;
|
|
960
1009
|
CoroutineImpl.call(this, resultContinuation);
|
|
961
1010
|
}
|
|
962
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
963
|
-
var tmp = this.
|
|
1011
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
1012
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
964
1013
|
tmp.g9_1 = Unit_instance;
|
|
965
1014
|
tmp.h9_1 = null;
|
|
966
1015
|
return tmp.m9();
|
|
967
1016
|
};
|
|
968
1017
|
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
969
1018
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
970
|
-
return this.
|
|
1019
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
971
1020
|
};
|
|
972
1021
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
973
1022
|
var suspendResult = this.g9_1;
|
|
@@ -976,7 +1025,7 @@
|
|
|
976
1025
|
var tmp = this.e9_1;
|
|
977
1026
|
if (tmp === 0) {
|
|
978
1027
|
this.f9_1 = 1;
|
|
979
|
-
this.
|
|
1028
|
+
this.wd6_1.dispatch(new AddSpectatorsAction(toList(this.ud6_1)));
|
|
980
1029
|
return Unit_instance;
|
|
981
1030
|
} else if (tmp === 1) {
|
|
982
1031
|
throw this.h9_1;
|
|
@@ -987,33 +1036,33 @@
|
|
|
987
1036
|
}
|
|
988
1037
|
while (true);
|
|
989
1038
|
};
|
|
990
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
991
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
992
|
-
i.
|
|
993
|
-
i.
|
|
1039
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
1040
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ud6_1, completion);
|
|
1041
|
+
i.vd6_1 = $this$dispatchAsync;
|
|
1042
|
+
i.wd6_1 = store;
|
|
994
1043
|
return i;
|
|
995
1044
|
};
|
|
996
1045
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
997
1046
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
998
1047
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
999
|
-
return i.
|
|
1048
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
1000
1049
|
};
|
|
1001
1050
|
l.$arity = 2;
|
|
1002
1051
|
return l;
|
|
1003
1052
|
}
|
|
1004
1053
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1005
|
-
this.
|
|
1054
|
+
this.fd7_1 = $spectators;
|
|
1006
1055
|
CoroutineImpl.call(this, resultContinuation);
|
|
1007
1056
|
}
|
|
1008
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1009
|
-
var tmp = this.
|
|
1057
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
1058
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
1010
1059
|
tmp.g9_1 = Unit_instance;
|
|
1011
1060
|
tmp.h9_1 = null;
|
|
1012
1061
|
return tmp.m9();
|
|
1013
1062
|
};
|
|
1014
1063
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
1015
1064
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1016
|
-
return this.
|
|
1065
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1017
1066
|
};
|
|
1018
1067
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1019
1068
|
var suspendResult = this.g9_1;
|
|
@@ -1022,7 +1071,7 @@
|
|
|
1022
1071
|
var tmp = this.e9_1;
|
|
1023
1072
|
if (tmp === 0) {
|
|
1024
1073
|
this.f9_1 = 1;
|
|
1025
|
-
this.
|
|
1074
|
+
this.hd7_1.dispatch(new RemoveSpectatorsAction(toList(this.fd7_1)));
|
|
1026
1075
|
return Unit_instance;
|
|
1027
1076
|
} else if (tmp === 1) {
|
|
1028
1077
|
throw this.h9_1;
|
|
@@ -1033,34 +1082,34 @@
|
|
|
1033
1082
|
}
|
|
1034
1083
|
while (true);
|
|
1035
1084
|
};
|
|
1036
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1037
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1038
|
-
i.
|
|
1039
|
-
i.
|
|
1085
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
1086
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.fd7_1, completion);
|
|
1087
|
+
i.gd7_1 = $this$dispatchAsync;
|
|
1088
|
+
i.hd7_1 = store;
|
|
1040
1089
|
return i;
|
|
1041
1090
|
};
|
|
1042
1091
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1043
1092
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1044
1093
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1045
|
-
return i.
|
|
1094
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
1046
1095
|
};
|
|
1047
1096
|
l.$arity = 2;
|
|
1048
1097
|
return l;
|
|
1049
1098
|
}
|
|
1050
1099
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1100
|
+
this.qd7_1 = $playerId;
|
|
1101
|
+
this.rd7_1 = this$0;
|
|
1053
1102
|
CoroutineImpl.call(this, resultContinuation);
|
|
1054
1103
|
}
|
|
1055
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1056
|
-
var tmp = this.
|
|
1104
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
1105
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
1057
1106
|
tmp.g9_1 = Unit_instance;
|
|
1058
1107
|
tmp.h9_1 = null;
|
|
1059
1108
|
return tmp.m9();
|
|
1060
1109
|
};
|
|
1061
1110
|
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1062
1111
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1063
|
-
return this.
|
|
1112
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1064
1113
|
};
|
|
1065
1114
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1066
1115
|
var suspendResult = this.g9_1;
|
|
@@ -1069,14 +1118,14 @@
|
|
|
1069
1118
|
var tmp = this.e9_1;
|
|
1070
1119
|
if (tmp === 0) {
|
|
1071
1120
|
this.f9_1 = 1;
|
|
1072
|
-
var table = this.
|
|
1073
|
-
var player = getPlayer(table.players, this.
|
|
1074
|
-
if (player.
|
|
1075
|
-
this.
|
|
1121
|
+
var table = this.td7_1.state.f6x();
|
|
1122
|
+
var player = getPlayer(table.players, this.qd7_1);
|
|
1123
|
+
if (player.t73_1.a6h().r6f_1.isLive) {
|
|
1124
|
+
this.td7_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.rd7_1).f95(player, table));
|
|
1076
1125
|
} else {
|
|
1077
|
-
var tmp_0 = this.
|
|
1126
|
+
var tmp_0 = this.td7_1.dispatch;
|
|
1078
1127
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1079
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1128
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.qd7_1));
|
|
1080
1129
|
}
|
|
1081
1130
|
return Unit_instance;
|
|
1082
1131
|
} else if (tmp === 1) {
|
|
@@ -1088,33 +1137,33 @@
|
|
|
1088
1137
|
}
|
|
1089
1138
|
while (true);
|
|
1090
1139
|
};
|
|
1091
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1092
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1093
|
-
i.
|
|
1094
|
-
i.
|
|
1140
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
1141
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.qd7_1, this.rd7_1, completion);
|
|
1142
|
+
i.sd7_1 = $this$dispatchAsync;
|
|
1143
|
+
i.td7_1 = store;
|
|
1095
1144
|
return i;
|
|
1096
1145
|
};
|
|
1097
1146
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1098
1147
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1099
1148
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1100
|
-
return i.
|
|
1149
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
1101
1150
|
};
|
|
1102
1151
|
l.$arity = 2;
|
|
1103
1152
|
return l;
|
|
1104
1153
|
}
|
|
1105
1154
|
function GameServer$roomOnDelete$slambda(this$0, resultContinuation) {
|
|
1106
|
-
this.
|
|
1155
|
+
this.cd8_1 = this$0;
|
|
1107
1156
|
CoroutineImpl.call(this, resultContinuation);
|
|
1108
1157
|
}
|
|
1109
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1110
|
-
var tmp = this.
|
|
1158
|
+
protoOf(GameServer$roomOnDelete$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
1159
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
1111
1160
|
tmp.g9_1 = Unit_instance;
|
|
1112
1161
|
tmp.h9_1 = null;
|
|
1113
1162
|
return tmp.m9();
|
|
1114
1163
|
};
|
|
1115
1164
|
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1116
1165
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1117
|
-
return this.
|
|
1166
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1118
1167
|
};
|
|
1119
1168
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1120
1169
|
var suspendResult = this.g9_1;
|
|
@@ -1123,16 +1172,16 @@
|
|
|
1123
1172
|
var tmp = this.e9_1;
|
|
1124
1173
|
if (tmp === 0) {
|
|
1125
1174
|
this.f9_1 = 1;
|
|
1126
|
-
var it = this.
|
|
1175
|
+
var it = this.cd8_1.x6e().g6w_1;
|
|
1127
1176
|
var tmp_0;
|
|
1128
1177
|
if (it == null) {
|
|
1129
|
-
_get_logger__rkp4sl(this.
|
|
1178
|
+
_get_logger__rkp4sl(this.cd8_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1130
1179
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1131
1180
|
} else {
|
|
1132
1181
|
tmp_0 = it;
|
|
1133
1182
|
}
|
|
1134
1183
|
var terminationState = tmp_0;
|
|
1135
|
-
this.
|
|
1184
|
+
this.ed8_1.dispatch(new FinishGameMechanicAction(terminationState.n8b_1, this.cd8_1.x6e().f6x().isGameFinished));
|
|
1136
1185
|
return Unit_instance;
|
|
1137
1186
|
} else if (tmp === 1) {
|
|
1138
1187
|
throw this.h9_1;
|
|
@@ -1143,33 +1192,33 @@
|
|
|
1143
1192
|
}
|
|
1144
1193
|
while (true);
|
|
1145
1194
|
};
|
|
1146
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1147
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1148
|
-
i.
|
|
1149
|
-
i.
|
|
1195
|
+
protoOf(GameServer$roomOnDelete$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
1196
|
+
var i = new GameServer$roomOnDelete$slambda(this.cd8_1, completion);
|
|
1197
|
+
i.dd8_1 = $this$dispatchAsync;
|
|
1198
|
+
i.ed8_1 = store;
|
|
1150
1199
|
return i;
|
|
1151
1200
|
};
|
|
1152
1201
|
function GameServer$roomOnDelete$slambda_0(this$0, resultContinuation) {
|
|
1153
1202
|
var i = new GameServer$roomOnDelete$slambda(this$0, resultContinuation);
|
|
1154
1203
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1155
|
-
return i.
|
|
1204
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
1156
1205
|
};
|
|
1157
1206
|
l.$arity = 2;
|
|
1158
1207
|
return l;
|
|
1159
1208
|
}
|
|
1160
1209
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1161
|
-
this.
|
|
1210
|
+
this.nd8_1 = $enabled;
|
|
1162
1211
|
CoroutineImpl.call(this, resultContinuation);
|
|
1163
1212
|
}
|
|
1164
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1165
|
-
var tmp = this.
|
|
1213
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
1214
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
1166
1215
|
tmp.g9_1 = Unit_instance;
|
|
1167
1216
|
tmp.h9_1 = null;
|
|
1168
1217
|
return tmp.m9();
|
|
1169
1218
|
};
|
|
1170
1219
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1171
1220
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1172
|
-
return this.
|
|
1221
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1173
1222
|
};
|
|
1174
1223
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1175
1224
|
var suspendResult = this.g9_1;
|
|
@@ -1178,7 +1227,7 @@
|
|
|
1178
1227
|
var tmp = this.e9_1;
|
|
1179
1228
|
if (tmp === 0) {
|
|
1180
1229
|
this.f9_1 = 1;
|
|
1181
|
-
this.
|
|
1230
|
+
this.pd8_1.dispatch(new UpdateServerConfigAction(get_serverState(this.pd8_1.state).qd8_1.sd8(this.nd8_1)));
|
|
1182
1231
|
return Unit_instance;
|
|
1183
1232
|
} else if (tmp === 1) {
|
|
1184
1233
|
throw this.h9_1;
|
|
@@ -1189,35 +1238,35 @@
|
|
|
1189
1238
|
}
|
|
1190
1239
|
while (true);
|
|
1191
1240
|
};
|
|
1192
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1193
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1194
|
-
i.
|
|
1195
|
-
i.
|
|
1241
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
1242
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.nd8_1, completion);
|
|
1243
|
+
i.od8_1 = $this$dispatchAsync;
|
|
1244
|
+
i.pd8_1 = store;
|
|
1196
1245
|
return i;
|
|
1197
1246
|
};
|
|
1198
1247
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1199
1248
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1200
1249
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1201
|
-
return i.
|
|
1250
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
1202
1251
|
};
|
|
1203
1252
|
l.$arity = 2;
|
|
1204
1253
|
return l;
|
|
1205
1254
|
}
|
|
1206
1255
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1207
|
-
this.
|
|
1208
|
-
this.
|
|
1209
|
-
this.
|
|
1256
|
+
this.bd9_1 = $reason;
|
|
1257
|
+
this.cd9_1 = this$0;
|
|
1258
|
+
this.dd9_1 = $roomId;
|
|
1210
1259
|
CoroutineImpl.call(this, resultContinuation);
|
|
1211
1260
|
}
|
|
1212
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1213
|
-
var tmp = this.
|
|
1261
|
+
protoOf(GameServer$shutdown$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
|
|
1262
|
+
var tmp = this.tb2($this$dispatchAsync, store, $completion);
|
|
1214
1263
|
tmp.g9_1 = Unit_instance;
|
|
1215
1264
|
tmp.h9_1 = null;
|
|
1216
1265
|
return tmp.m9();
|
|
1217
1266
|
};
|
|
1218
1267
|
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1219
1268
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1220
|
-
return this.
|
|
1269
|
+
return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1221
1270
|
};
|
|
1222
1271
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1223
1272
|
var suspendResult = this.g9_1;
|
|
@@ -1226,12 +1275,12 @@
|
|
|
1226
1275
|
var tmp = this.e9_1;
|
|
1227
1276
|
if (tmp === 0) {
|
|
1228
1277
|
this.f9_1 = 1;
|
|
1229
|
-
var state = this.
|
|
1230
|
-
if (state.
|
|
1231
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1278
|
+
var state = this.fd9_1.store.state;
|
|
1279
|
+
if (state.g6x()) {
|
|
1280
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.bd9_1, get_serverShutdownReasonMapping());
|
|
1232
1281
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1233
|
-
var tmp_0 = this.
|
|
1234
|
-
var tmp_1 =
|
|
1282
|
+
var tmp_0 = this.fd9_1.dispatch;
|
|
1283
|
+
var tmp_1 = Companion_instance_0;
|
|
1235
1284
|
var tmp_2;
|
|
1236
1285
|
switch (shutdownReason.n2_1) {
|
|
1237
1286
|
case 0:
|
|
@@ -1244,10 +1293,10 @@
|
|
|
1244
1293
|
noWhenBranchMatchedException();
|
|
1245
1294
|
break;
|
|
1246
1295
|
}
|
|
1247
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1296
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.cd9_1.table.isGameFinished, this.cd9_1.table));
|
|
1248
1297
|
} else {
|
|
1249
|
-
_get_logger__rkp4sl(this.
|
|
1250
|
-
this.
|
|
1298
|
+
_get_logger__rkp4sl(this.cd9_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.dd9_1);
|
|
1299
|
+
this.fd9_1.dispatch(new ClearAction());
|
|
1251
1300
|
}
|
|
1252
1301
|
return Unit_instance;
|
|
1253
1302
|
} else if (tmp === 1) {
|
|
@@ -1259,22 +1308,22 @@
|
|
|
1259
1308
|
}
|
|
1260
1309
|
while (true);
|
|
1261
1310
|
};
|
|
1262
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1263
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1264
|
-
i.
|
|
1265
|
-
i.
|
|
1311
|
+
protoOf(GameServer$shutdown$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
|
|
1312
|
+
var i = new GameServer$shutdown$slambda(this.bd9_1, this.cd9_1, this.dd9_1, completion);
|
|
1313
|
+
i.ed9_1 = $this$dispatchAsync;
|
|
1314
|
+
i.fd9_1 = store;
|
|
1266
1315
|
return i;
|
|
1267
1316
|
};
|
|
1268
1317
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1269
1318
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1270
1319
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1271
|
-
return i.
|
|
1320
|
+
return i.sb2($this$dispatchAsync, store, $completion);
|
|
1272
1321
|
};
|
|
1273
1322
|
l.$arity = 2;
|
|
1274
1323
|
return l;
|
|
1275
1324
|
}
|
|
1276
1325
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1277
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID,
|
|
1326
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.gd9()) : preloadedState;
|
|
1278
1327
|
var tmp;
|
|
1279
1328
|
if (externalReducers === VOID) {
|
|
1280
1329
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1297,86 +1346,89 @@
|
|
|
1297
1346
|
// Inline function 'org.kodein.type.generic' call
|
|
1298
1347
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1299
1348
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1300
|
-
tmp_1.
|
|
1349
|
+
tmp_1.pd2_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory());
|
|
1301
1350
|
var tmp_3 = this;
|
|
1302
1351
|
// Inline function 'org.kodein.di.instance' call
|
|
1303
1352
|
// Inline function 'org.kodein.type.generic' call
|
|
1304
1353
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1305
1354
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1306
|
-
tmp_3.
|
|
1355
|
+
tmp_3.qd2_1 = Instance(di, tmp$ret$4, null).m67(this, toClientEventsObserver$factory());
|
|
1307
1356
|
var tmp_5 = this;
|
|
1308
1357
|
// Inline function 'org.kodein.di.instance' call
|
|
1309
1358
|
// Inline function 'org.kodein.type.generic' call
|
|
1310
1359
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1311
1360
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1312
|
-
tmp_5.
|
|
1361
|
+
tmp_5.rd2_1 = Instance(di, tmp$ret$6, null).m67(this, playerConnectionInteractor$factory());
|
|
1313
1362
|
var tmp_7 = this;
|
|
1314
|
-
tmp_7.
|
|
1363
|
+
tmp_7.sd2_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
1315
1364
|
var tmp_8 = this;
|
|
1316
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1317
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1318
|
-
tmp_8.
|
|
1365
|
+
var tmp0_externalMiddlewares = plus(storeContract.z9a(), externalMiddlewares);
|
|
1366
|
+
var tmp1_externalReducers = plus(storeContract.y9a(), externalReducers);
|
|
1367
|
+
tmp_8.td2_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
1319
1368
|
}
|
|
1320
|
-
protoOf(GameServer).
|
|
1321
|
-
return this.
|
|
1369
|
+
protoOf(GameServer).s6v = function () {
|
|
1370
|
+
return this.td2_1;
|
|
1322
1371
|
};
|
|
1323
1372
|
protoOf(GameServer).w5o = function () {
|
|
1324
|
-
return this.
|
|
1325
|
-
};
|
|
1326
|
-
protoOf(GameServer).e6x = function () {
|
|
1327
|
-
return this.w6e().e6x();
|
|
1373
|
+
return this.x6e().f6x().id;
|
|
1328
1374
|
};
|
|
1329
1375
|
protoOf(GameServer).f6x = function () {
|
|
1330
|
-
return this.
|
|
1376
|
+
return this.x6e().f6x();
|
|
1331
1377
|
};
|
|
1332
1378
|
protoOf(GameServer).g6x = function () {
|
|
1333
|
-
return this.
|
|
1379
|
+
return this.x6e().g6x();
|
|
1380
|
+
};
|
|
1381
|
+
protoOf(GameServer).h6x = function () {
|
|
1382
|
+
return this.x6e().f6w_1;
|
|
1334
1383
|
};
|
|
1335
1384
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
1336
|
-
var tmp = this.
|
|
1337
|
-
tmp.
|
|
1385
|
+
var tmp = this.q6v();
|
|
1386
|
+
tmp.y6k(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
1338
1387
|
};
|
|
1339
1388
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
1340
|
-
var tmp = this.
|
|
1341
|
-
tmp.
|
|
1389
|
+
var tmp = this.q6v();
|
|
1390
|
+
tmp.y6k(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
1342
1391
|
};
|
|
1343
1392
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1344
1393
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1345
|
-
this.
|
|
1394
|
+
this.td2_1.e6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1346
1395
|
};
|
|
1347
1396
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1348
1397
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1349
|
-
this.
|
|
1398
|
+
this.td2_1.e6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1350
1399
|
};
|
|
1351
1400
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1352
1401
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1353
|
-
this.
|
|
1402
|
+
this.td2_1.e6x(GameServer$playerLive$slambda_0(playerId, null));
|
|
1354
1403
|
};
|
|
1355
1404
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1356
1405
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1357
|
-
this.
|
|
1406
|
+
this.td2_1.e6x(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1358
1407
|
};
|
|
1359
|
-
protoOf(GameServer).
|
|
1360
|
-
this.
|
|
1408
|
+
protoOf(GameServer).hd9 = function (roomId, gameCreatorId, config, users, spectators) {
|
|
1409
|
+
this.td2_1.e6x(GameServer$roomOnCreate$slambda_0(users, gameCreatorId, this, spectators, config, roomId, null));
|
|
1410
|
+
};
|
|
1411
|
+
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
1412
|
+
this.td2_1.e6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, null));
|
|
1361
1413
|
};
|
|
1362
1414
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1363
|
-
this.
|
|
1415
|
+
this.td2_1.e6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1364
1416
|
};
|
|
1365
1417
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1366
|
-
this.
|
|
1418
|
+
this.td2_1.e6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1367
1419
|
};
|
|
1368
1420
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1369
1421
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1370
|
-
this.
|
|
1422
|
+
this.td2_1.e6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1371
1423
|
};
|
|
1372
|
-
protoOf(GameServer).
|
|
1373
|
-
this.
|
|
1424
|
+
protoOf(GameServer).id9 = function (newRid) {
|
|
1425
|
+
this.td2_1.e6x(GameServer$roomOnDelete$slambda_0(this, null));
|
|
1374
1426
|
};
|
|
1375
1427
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1376
|
-
this.
|
|
1428
|
+
this.td2_1.e6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1377
1429
|
};
|
|
1378
|
-
protoOf(GameServer).
|
|
1379
|
-
this.
|
|
1430
|
+
protoOf(GameServer).jd9 = function (reason, roomId) {
|
|
1431
|
+
this.td2_1.e6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1380
1432
|
};
|
|
1381
1433
|
protoOf(GameServer).clear = function () {
|
|
1382
1434
|
return this.a2();
|
|
@@ -1450,16 +1502,16 @@
|
|
|
1450
1502
|
return ServerShutdownReason_ERROR_instance;
|
|
1451
1503
|
}
|
|
1452
1504
|
function ServerConfig(canStartNewGame) {
|
|
1453
|
-
this.
|
|
1505
|
+
this.rd8_1 = canStartNewGame;
|
|
1454
1506
|
}
|
|
1455
|
-
protoOf(ServerConfig).
|
|
1507
|
+
protoOf(ServerConfig).sd8 = function (canStartNewGame) {
|
|
1456
1508
|
return new ServerConfig(canStartNewGame);
|
|
1457
1509
|
};
|
|
1458
1510
|
protoOf(ServerConfig).toString = function () {
|
|
1459
|
-
return 'ServerConfig(canStartNewGame=' + this.
|
|
1511
|
+
return 'ServerConfig(canStartNewGame=' + this.rd8_1 + ')';
|
|
1460
1512
|
};
|
|
1461
1513
|
protoOf(ServerConfig).hashCode = function () {
|
|
1462
|
-
return getBooleanHashCode(this.
|
|
1514
|
+
return getBooleanHashCode(this.rd8_1);
|
|
1463
1515
|
};
|
|
1464
1516
|
protoOf(ServerConfig).equals = function (other) {
|
|
1465
1517
|
if (this === other)
|
|
@@ -1467,7 +1519,7 @@
|
|
|
1467
1519
|
if (!(other instanceof ServerConfig))
|
|
1468
1520
|
return false;
|
|
1469
1521
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1470
|
-
if (!(this.
|
|
1522
|
+
if (!(this.rd8_1 === tmp0_other_with_cast.rd8_1))
|
|
1471
1523
|
return false;
|
|
1472
1524
|
return true;
|
|
1473
1525
|
};
|
|
@@ -1699,18 +1751,18 @@
|
|
|
1699
1751
|
function ToClientEventsObserver() {
|
|
1700
1752
|
}
|
|
1701
1753
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
1702
|
-
this.
|
|
1703
|
-
this.
|
|
1754
|
+
this.td9_1 = this$0;
|
|
1755
|
+
this.ud9_1 = $actions;
|
|
1704
1756
|
CoroutineImpl.call(this, resultContinuation);
|
|
1705
1757
|
}
|
|
1706
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1707
|
-
var tmp = this.
|
|
1758
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).bda = function ($this$flow, $completion) {
|
|
1759
|
+
var tmp = this.cda($this$flow, $completion);
|
|
1708
1760
|
tmp.g9_1 = Unit_instance;
|
|
1709
1761
|
tmp.h9_1 = null;
|
|
1710
1762
|
return tmp.m9();
|
|
1711
1763
|
};
|
|
1712
1764
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
1713
|
-
return this.
|
|
1765
|
+
return this.bda((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
1714
1766
|
};
|
|
1715
1767
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).m9 = function () {
|
|
1716
1768
|
var suspendResult = this.g9_1;
|
|
@@ -1721,23 +1773,23 @@
|
|
|
1721
1773
|
case 0:
|
|
1722
1774
|
this.f9_1 = 4;
|
|
1723
1775
|
var tmp_0 = this;
|
|
1724
|
-
tmp_0.
|
|
1776
|
+
tmp_0.wd9_1 = this.td9_1.hda_1;
|
|
1725
1777
|
var tmp_1 = this;
|
|
1726
|
-
tmp_1.
|
|
1727
|
-
this.
|
|
1778
|
+
tmp_1.xd9_1 = transformToEmits(this.td9_1, this.ud9_1);
|
|
1779
|
+
this.yd9_1 = this.xd9_1.j();
|
|
1728
1780
|
this.e9_1 = 1;
|
|
1729
1781
|
continue $sm;
|
|
1730
1782
|
case 1:
|
|
1731
|
-
if (!this.
|
|
1783
|
+
if (!this.yd9_1.k()) {
|
|
1732
1784
|
this.e9_1 = 3;
|
|
1733
1785
|
continue $sm;
|
|
1734
1786
|
}
|
|
1735
1787
|
|
|
1736
|
-
this.
|
|
1788
|
+
this.zd9_1 = this.yd9_1.l();
|
|
1737
1789
|
var tmp_2 = this;
|
|
1738
|
-
tmp_2.
|
|
1790
|
+
tmp_2.ada_1 = this.zd9_1;
|
|
1739
1791
|
this.e9_1 = 2;
|
|
1740
|
-
suspendResult = this.
|
|
1792
|
+
suspendResult = this.vd9_1.p18(this.ada_1, this);
|
|
1741
1793
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1742
1794
|
return suspendResult;
|
|
1743
1795
|
}
|
|
@@ -1748,10 +1800,10 @@
|
|
|
1748
1800
|
continue $sm;
|
|
1749
1801
|
case 3:
|
|
1750
1802
|
l$ret$1: do {
|
|
1751
|
-
var this_0 = this.
|
|
1803
|
+
var this_0 = this.td9_1.gda_1;
|
|
1752
1804
|
while (true) {
|
|
1753
1805
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1754
|
-
var upd = cur - this.
|
|
1806
|
+
var upd = cur - this.ud9_1.m() | 0;
|
|
1755
1807
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
1756
1808
|
break l$ret$1;
|
|
1757
1809
|
}
|
|
@@ -1773,15 +1825,15 @@
|
|
|
1773
1825
|
}
|
|
1774
1826
|
while (true);
|
|
1775
1827
|
};
|
|
1776
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1777
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.
|
|
1778
|
-
i.
|
|
1828
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).cda = function ($this$flow, completion) {
|
|
1829
|
+
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.td9_1, this.ud9_1, completion);
|
|
1830
|
+
i.vd9_1 = $this$flow;
|
|
1779
1831
|
return i;
|
|
1780
1832
|
};
|
|
1781
1833
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
1782
1834
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
1783
1835
|
var l = function ($this$flow, $completion) {
|
|
1784
|
-
return i.
|
|
1836
|
+
return i.bda($this$flow, $completion);
|
|
1785
1837
|
};
|
|
1786
1838
|
l.$arity = 1;
|
|
1787
1839
|
return l;
|
|
@@ -1854,29 +1906,29 @@
|
|
|
1854
1906
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
1855
1907
|
}
|
|
1856
1908
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
1857
|
-
var tmp = $this.
|
|
1909
|
+
var tmp = $this.fda_1.b6m();
|
|
1858
1910
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1859
|
-
var this_0 = _this__u8e3s4.
|
|
1911
|
+
var this_0 = _this__u8e3s4.kda_1;
|
|
1860
1912
|
var tmp_0 = copyToArray(this_0);
|
|
1861
1913
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1862
|
-
var this_1 = _this__u8e3s4.
|
|
1914
|
+
var this_1 = _this__u8e3s4.lda_1;
|
|
1863
1915
|
var tmp$ret$1 = copyToArray(this_1);
|
|
1864
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
1916
|
+
return new ActionDeliveryPayload(_this__u8e3s4.jda_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.mda_1);
|
|
1865
1917
|
}
|
|
1866
1918
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
1867
|
-
this.
|
|
1868
|
-
this.
|
|
1869
|
-
this.
|
|
1870
|
-
this.
|
|
1919
|
+
this.jda_1 = tableId;
|
|
1920
|
+
this.kda_1 = includePlayers;
|
|
1921
|
+
this.lda_1 = excludePlayers;
|
|
1922
|
+
this.mda_1 = deliveryType;
|
|
1871
1923
|
}
|
|
1872
1924
|
protoOf(GroupKey).toString = function () {
|
|
1873
|
-
return 'GroupKey(tableId=' + this.
|
|
1925
|
+
return 'GroupKey(tableId=' + this.jda_1 + ', includePlayers=' + toString(this.kda_1) + ', excludePlayers=' + toString(this.lda_1) + ', deliveryType=' + this.mda_1.toString() + ')';
|
|
1874
1926
|
};
|
|
1875
1927
|
protoOf(GroupKey).hashCode = function () {
|
|
1876
|
-
var result = getStringHashCode(this.
|
|
1877
|
-
result = imul(result, 31) + hashCode(this.
|
|
1878
|
-
result = imul(result, 31) + hashCode(this.
|
|
1879
|
-
result = imul(result, 31) + this.
|
|
1928
|
+
var result = getStringHashCode(this.jda_1);
|
|
1929
|
+
result = imul(result, 31) + hashCode(this.kda_1) | 0;
|
|
1930
|
+
result = imul(result, 31) + hashCode(this.lda_1) | 0;
|
|
1931
|
+
result = imul(result, 31) + this.mda_1.hashCode() | 0;
|
|
1880
1932
|
return result;
|
|
1881
1933
|
};
|
|
1882
1934
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -1885,35 +1937,35 @@
|
|
|
1885
1937
|
if (!(other instanceof GroupKey))
|
|
1886
1938
|
return false;
|
|
1887
1939
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
1888
|
-
if (!(this.
|
|
1940
|
+
if (!(this.jda_1 === tmp0_other_with_cast.jda_1))
|
|
1889
1941
|
return false;
|
|
1890
|
-
if (!equals(this.
|
|
1942
|
+
if (!equals(this.kda_1, tmp0_other_with_cast.kda_1))
|
|
1891
1943
|
return false;
|
|
1892
|
-
if (!equals(this.
|
|
1944
|
+
if (!equals(this.lda_1, tmp0_other_with_cast.lda_1))
|
|
1893
1945
|
return false;
|
|
1894
|
-
if (!this.
|
|
1946
|
+
if (!this.mda_1.equals(tmp0_other_with_cast.mda_1))
|
|
1895
1947
|
return false;
|
|
1896
1948
|
return true;
|
|
1897
1949
|
};
|
|
1898
1950
|
function Companion_0() {
|
|
1899
|
-
this.
|
|
1951
|
+
this.nda_1 = 6;
|
|
1900
1952
|
}
|
|
1901
|
-
var
|
|
1953
|
+
var Companion_instance_10;
|
|
1902
1954
|
function Companion_getInstance_3() {
|
|
1903
|
-
return
|
|
1955
|
+
return Companion_instance_10;
|
|
1904
1956
|
}
|
|
1905
1957
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation) {
|
|
1906
|
-
this.
|
|
1958
|
+
this.wda_1 = this$0;
|
|
1907
1959
|
CoroutineImpl.call(this, resultContinuation);
|
|
1908
1960
|
}
|
|
1909
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1910
|
-
var tmp = this.
|
|
1961
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).yda = function (actions, $completion) {
|
|
1962
|
+
var tmp = this.zda(actions, $completion);
|
|
1911
1963
|
tmp.g9_1 = Unit_instance;
|
|
1912
1964
|
tmp.h9_1 = null;
|
|
1913
1965
|
return tmp.m9();
|
|
1914
1966
|
};
|
|
1915
1967
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).w9 = function (p1, $completion) {
|
|
1916
|
-
return this.
|
|
1968
|
+
return this.yda((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
1917
1969
|
};
|
|
1918
1970
|
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).m9 = function () {
|
|
1919
1971
|
var suspendResult = this.g9_1;
|
|
@@ -1922,7 +1974,7 @@
|
|
|
1922
1974
|
var tmp = this.e9_1;
|
|
1923
1975
|
if (tmp === 0) {
|
|
1924
1976
|
this.f9_1 = 1;
|
|
1925
|
-
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.
|
|
1977
|
+
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.wda_1, this.xda_1, null));
|
|
1926
1978
|
} else if (tmp === 1) {
|
|
1927
1979
|
throw this.h9_1;
|
|
1928
1980
|
}
|
|
@@ -1932,23 +1984,23 @@
|
|
|
1932
1984
|
}
|
|
1933
1985
|
while (true);
|
|
1934
1986
|
};
|
|
1935
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1936
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.
|
|
1937
|
-
i.
|
|
1987
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).zda = function (actions, completion) {
|
|
1988
|
+
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.wda_1, completion);
|
|
1989
|
+
i.xda_1 = actions;
|
|
1938
1990
|
return i;
|
|
1939
1991
|
};
|
|
1940
1992
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this$0, resultContinuation) {
|
|
1941
1993
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation);
|
|
1942
1994
|
var l = function (actions, $completion) {
|
|
1943
|
-
return i.
|
|
1995
|
+
return i.yda(actions, $completion);
|
|
1944
1996
|
};
|
|
1945
1997
|
l.$arity = 1;
|
|
1946
1998
|
return l;
|
|
1947
1999
|
}
|
|
1948
2000
|
function $sentEventCOROUTINE$0(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
1949
2001
|
CoroutineImpl.call(this, resultContinuation);
|
|
1950
|
-
this.
|
|
1951
|
-
this.
|
|
2002
|
+
this.idb_1 = _this__u8e3s4;
|
|
2003
|
+
this.jdb_1 = fromEvent;
|
|
1952
2004
|
}
|
|
1953
2005
|
protoOf($sentEventCOROUTINE$0).m9 = function () {
|
|
1954
2006
|
var suspendResult = this.g9_1;
|
|
@@ -1959,9 +2011,9 @@
|
|
|
1959
2011
|
case 0:
|
|
1960
2012
|
this.f9_1 = 2;
|
|
1961
2013
|
var tmp_0 = this;
|
|
1962
|
-
tmp_0.
|
|
2014
|
+
tmp_0.kdb_1 = this.idb_1.hda_1;
|
|
1963
2015
|
l$ret$1: do {
|
|
1964
|
-
var this_0 = this.
|
|
2016
|
+
var this_0 = this.idb_1.gda_1;
|
|
1965
2017
|
while (true) {
|
|
1966
2018
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1967
2019
|
var upd = cur + 1 | 0;
|
|
@@ -1972,7 +2024,7 @@
|
|
|
1972
2024
|
}
|
|
1973
2025
|
while (false);
|
|
1974
2026
|
this.e9_1 = 1;
|
|
1975
|
-
suspendResult = this.
|
|
2027
|
+
suspendResult = this.idb_1.ida_1.p18(this.jdb_1, this);
|
|
1976
2028
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1977
2029
|
return suspendResult;
|
|
1978
2030
|
}
|
|
@@ -1996,7 +2048,7 @@
|
|
|
1996
2048
|
};
|
|
1997
2049
|
function $waitForCOROUTINE$1(_this__u8e3s4, resultContinuation) {
|
|
1998
2050
|
CoroutineImpl.call(this, resultContinuation);
|
|
1999
|
-
this.
|
|
2051
|
+
this.tdb_1 = _this__u8e3s4;
|
|
2000
2052
|
}
|
|
2001
2053
|
protoOf($waitForCOROUTINE$1).m9 = function () {
|
|
2002
2054
|
var suspendResult = this.g9_1;
|
|
@@ -2007,12 +2059,12 @@
|
|
|
2007
2059
|
case 0:
|
|
2008
2060
|
this.f9_1 = 5;
|
|
2009
2061
|
var tmp_0 = this;
|
|
2010
|
-
tmp_0.
|
|
2011
|
-
this.
|
|
2062
|
+
tmp_0.udb_1 = this.tdb_1.hda_1;
|
|
2063
|
+
this.vdb_1 = 0;
|
|
2012
2064
|
this.e9_1 = 1;
|
|
2013
2065
|
continue $sm;
|
|
2014
2066
|
case 1:
|
|
2015
|
-
if (!!(this.
|
|
2067
|
+
if (!!(this.tdb_1.gda_1.kotlinx$atomicfu$value === 0)) {
|
|
2016
2068
|
this.e9_1 = 4;
|
|
2017
2069
|
continue $sm;
|
|
2018
2070
|
}
|
|
@@ -2025,9 +2077,9 @@
|
|
|
2025
2077
|
|
|
2026
2078
|
continue $sm;
|
|
2027
2079
|
case 2:
|
|
2028
|
-
this.
|
|
2029
|
-
if (this.
|
|
2030
|
-
this.
|
|
2080
|
+
this.vdb_1 = this.vdb_1 + 1 | 0;
|
|
2081
|
+
if (this.vdb_1 > 6) {
|
|
2082
|
+
this.tdb_1.eda_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.tdb_1.gda_1.kotlinx$atomicfu$value);
|
|
2031
2083
|
this.e9_1 = 4;
|
|
2032
2084
|
continue $sm;
|
|
2033
2085
|
} else {
|
|
@@ -2055,42 +2107,42 @@
|
|
|
2055
2107
|
while (true);
|
|
2056
2108
|
};
|
|
2057
2109
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
2058
|
-
this.
|
|
2059
|
-
this.
|
|
2060
|
-
this.
|
|
2061
|
-
this.
|
|
2110
|
+
this.dda_1 = serverReduxConfig;
|
|
2111
|
+
this.eda_1 = logger;
|
|
2112
|
+
this.fda_1 = idsProvider;
|
|
2113
|
+
this.gda_1 = atomic$ref$1(0);
|
|
2062
2114
|
var tmp = this;
|
|
2063
2115
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
2064
|
-
tmp.
|
|
2065
|
-
this.
|
|
2116
|
+
tmp.hda_1 = get_atomicfu$reentrantLock();
|
|
2117
|
+
this.ida_1 = MutableSharedFlow();
|
|
2066
2118
|
}
|
|
2067
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2119
|
+
protoOf(ToClientEventsObserverImpl).kd9 = function (fromEvent, $completion) {
|
|
2068
2120
|
var tmp = new $sentEventCOROUTINE$0(this, fromEvent, $completion);
|
|
2069
2121
|
tmp.g9_1 = Unit_instance;
|
|
2070
2122
|
tmp.h9_1 = null;
|
|
2071
2123
|
return tmp.m9();
|
|
2072
2124
|
};
|
|
2073
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2125
|
+
protoOf(ToClientEventsObserverImpl).g9i = function ($completion) {
|
|
2074
2126
|
var tmp = new $waitForCOROUTINE$1(this, $completion);
|
|
2075
2127
|
tmp.g9_1 = Unit_instance;
|
|
2076
2128
|
tmp.h9_1 = null;
|
|
2077
2129
|
return tmp.m9();
|
|
2078
2130
|
};
|
|
2079
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2080
|
-
if (!this.
|
|
2081
|
-
return this.
|
|
2131
|
+
protoOf(ToClientEventsObserverImpl).rb7 = function () {
|
|
2132
|
+
if (!this.dda_1.enabledCombinedEvents) {
|
|
2133
|
+
return this.ida_1;
|
|
2082
2134
|
}
|
|
2083
|
-
var tmp = windowedByInterval(this.
|
|
2135
|
+
var tmp = windowedByInterval(this.ida_1, toLong(this.dda_1.combinedEventsPeriod));
|
|
2084
2136
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this, null));
|
|
2085
2137
|
};
|
|
2086
2138
|
function UpdateServerConfigAction(serverConfig) {
|
|
2087
|
-
this.
|
|
2139
|
+
this.wdb_1 = serverConfig;
|
|
2088
2140
|
}
|
|
2089
2141
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
2090
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
2142
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.wdb_1.toString() + ')';
|
|
2091
2143
|
};
|
|
2092
2144
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
2093
|
-
return this.
|
|
2145
|
+
return this.wdb_1.hashCode();
|
|
2094
2146
|
};
|
|
2095
2147
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
2096
2148
|
if (this === other)
|
|
@@ -2098,18 +2150,18 @@
|
|
|
2098
2150
|
if (!(other instanceof UpdateServerConfigAction))
|
|
2099
2151
|
return false;
|
|
2100
2152
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
2101
|
-
if (!this.
|
|
2153
|
+
if (!this.wdb_1.equals(tmp0_other_with_cast.wdb_1))
|
|
2102
2154
|
return false;
|
|
2103
2155
|
return true;
|
|
2104
2156
|
};
|
|
2105
2157
|
function AddSpectatorsAction(spectators) {
|
|
2106
|
-
this.
|
|
2158
|
+
this.xdb_1 = spectators;
|
|
2107
2159
|
}
|
|
2108
2160
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
2109
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
2161
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.xdb_1) + ')';
|
|
2110
2162
|
};
|
|
2111
2163
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
2112
|
-
return hashCode(this.
|
|
2164
|
+
return hashCode(this.xdb_1);
|
|
2113
2165
|
};
|
|
2114
2166
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
2115
2167
|
if (this === other)
|
|
@@ -2117,18 +2169,18 @@
|
|
|
2117
2169
|
if (!(other instanceof AddSpectatorsAction))
|
|
2118
2170
|
return false;
|
|
2119
2171
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
2120
|
-
if (!equals(this.
|
|
2172
|
+
if (!equals(this.xdb_1, tmp0_other_with_cast.xdb_1))
|
|
2121
2173
|
return false;
|
|
2122
2174
|
return true;
|
|
2123
2175
|
};
|
|
2124
2176
|
function RemoveSpectatorsAction(spectators) {
|
|
2125
|
-
this.
|
|
2177
|
+
this.ydb_1 = spectators;
|
|
2126
2178
|
}
|
|
2127
2179
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
2128
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
2180
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ydb_1) + ')';
|
|
2129
2181
|
};
|
|
2130
2182
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
2131
|
-
return hashCode(this.
|
|
2183
|
+
return hashCode(this.ydb_1);
|
|
2132
2184
|
};
|
|
2133
2185
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
2134
2186
|
if (this === other)
|
|
@@ -2136,7 +2188,7 @@
|
|
|
2136
2188
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
2137
2189
|
return false;
|
|
2138
2190
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
2139
|
-
if (!equals(this.
|
|
2191
|
+
if (!equals(this.ydb_1, tmp0_other_with_cast.ydb_1))
|
|
2140
2192
|
return false;
|
|
2141
2193
|
return true;
|
|
2142
2194
|
};
|
|
@@ -2144,66 +2196,66 @@
|
|
|
2144
2196
|
}
|
|
2145
2197
|
function _get_asyncProvider__jbpyhw($this) {
|
|
2146
2198
|
// Inline function 'kotlin.getValue' call
|
|
2147
|
-
var this_0 = $this.
|
|
2199
|
+
var this_0 = $this.edc_1;
|
|
2148
2200
|
asyncProvider$factory_0();
|
|
2149
2201
|
return this_0.u();
|
|
2150
2202
|
}
|
|
2151
2203
|
function _get_logger__rkp4sl_0($this) {
|
|
2152
2204
|
// Inline function 'kotlin.getValue' call
|
|
2153
|
-
var this_0 = $this.
|
|
2205
|
+
var this_0 = $this.fdc_1;
|
|
2154
2206
|
logger$factory_2();
|
|
2155
2207
|
return this_0.u();
|
|
2156
2208
|
}
|
|
2157
2209
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
2158
2210
|
// Inline function 'kotlin.getValue' call
|
|
2159
|
-
var this_0 = $this.
|
|
2211
|
+
var this_0 = $this.gdc_1;
|
|
2160
2212
|
playerConnectionInteractor$factory_2();
|
|
2161
2213
|
return this_0.u();
|
|
2162
2214
|
}
|
|
2163
2215
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
2164
2216
|
// Inline function 'kotlin.getValue' call
|
|
2165
|
-
var this_0 = $this.
|
|
2217
|
+
var this_0 = $this.hdc_1;
|
|
2166
2218
|
lastCardInteractor$factory_0();
|
|
2167
2219
|
return this_0.u();
|
|
2168
2220
|
}
|
|
2169
2221
|
function _get_serverConfig__rk2g06($this) {
|
|
2170
2222
|
// Inline function 'kotlin.getValue' call
|
|
2171
|
-
var this_0 = $this.
|
|
2223
|
+
var this_0 = $this.idc_1;
|
|
2172
2224
|
serverConfig$factory_0();
|
|
2173
2225
|
return this_0.u();
|
|
2174
2226
|
}
|
|
2175
2227
|
function _get_logicConfig__52ww9d($this) {
|
|
2176
2228
|
// Inline function 'kotlin.getValue' call
|
|
2177
|
-
var this_0 = $this.
|
|
2229
|
+
var this_0 = $this.jdc_1;
|
|
2178
2230
|
logicConfig$factory_0();
|
|
2179
2231
|
return this_0.u();
|
|
2180
2232
|
}
|
|
2181
2233
|
function _get_idsProvider__fnfajc($this) {
|
|
2182
2234
|
// Inline function 'kotlin.getValue' call
|
|
2183
|
-
var this_0 = $this.
|
|
2235
|
+
var this_0 = $this.kdc_1;
|
|
2184
2236
|
idsProvider$factory_0();
|
|
2185
2237
|
return this_0.u();
|
|
2186
2238
|
}
|
|
2187
2239
|
function _get_botConfig__cpaxzc($this) {
|
|
2188
2240
|
// Inline function 'kotlin.getValue' call
|
|
2189
|
-
var this_0 = $this.
|
|
2241
|
+
var this_0 = $this.ldc_1;
|
|
2190
2242
|
botConfig$factory_0();
|
|
2191
2243
|
return this_0.u();
|
|
2192
2244
|
}
|
|
2193
2245
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
2194
2246
|
// Inline function 'kotlin.getValue' call
|
|
2195
|
-
var this_0 = $this.
|
|
2247
|
+
var this_0 = $this.mdc_1;
|
|
2196
2248
|
scenePositionProvider$factory_0();
|
|
2197
2249
|
return this_0.u();
|
|
2198
2250
|
}
|
|
2199
2251
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
2200
2252
|
// Inline function 'kotlin.getValue' call
|
|
2201
|
-
var this_0 = $this.
|
|
2253
|
+
var this_0 = $this.ndc_1;
|
|
2202
2254
|
toClientEventsObserver$factory_2();
|
|
2203
2255
|
return this_0.u();
|
|
2204
2256
|
}
|
|
2205
2257
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
2206
|
-
return !player.
|
|
2258
|
+
return !player.y73();
|
|
2207
2259
|
}
|
|
2208
2260
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
2209
2261
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -2211,77 +2263,77 @@
|
|
|
2211
2263
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
2212
2264
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
2213
2265
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
2214
|
-
this.
|
|
2215
|
-
this.
|
|
2216
|
-
this.
|
|
2217
|
-
this.
|
|
2218
|
-
this.
|
|
2266
|
+
this.zdb_1 = validationStoreContract;
|
|
2267
|
+
this.adc_1 = timersStoreContract;
|
|
2268
|
+
this.bdc_1 = botGameStoreContract;
|
|
2269
|
+
this.cdc_1 = gameMechanicStoreContract;
|
|
2270
|
+
this.ddc_1 = fileLoggerStoreContract;
|
|
2219
2271
|
var tmp = this;
|
|
2220
2272
|
// Inline function 'org.kodein.di.instance' call
|
|
2221
2273
|
// Inline function 'org.kodein.type.generic' call
|
|
2222
2274
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
2223
2275
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2224
|
-
tmp.
|
|
2276
|
+
tmp.edc_1 = Instance(di, tmp$ret$0, null).m67(this, asyncProvider$factory());
|
|
2225
2277
|
var tmp_1 = this;
|
|
2226
2278
|
// Inline function 'org.kodein.di.instance' call
|
|
2227
2279
|
// Inline function 'org.kodein.type.generic' call
|
|
2228
2280
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2229
2281
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2230
|
-
tmp_1.
|
|
2282
|
+
tmp_1.fdc_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory_1());
|
|
2231
2283
|
var tmp_3 = this;
|
|
2232
2284
|
// Inline function 'org.kodein.di.instance' call
|
|
2233
2285
|
// Inline function 'org.kodein.type.generic' call
|
|
2234
2286
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2235
2287
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2236
|
-
tmp_3.
|
|
2288
|
+
tmp_3.gdc_1 = Instance(di, tmp$ret$4, null).m67(this, playerConnectionInteractor$factory_1());
|
|
2237
2289
|
var tmp_5 = this;
|
|
2238
2290
|
// Inline function 'org.kodein.di.instance' call
|
|
2239
2291
|
// Inline function 'org.kodein.type.generic' call
|
|
2240
2292
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
2241
2293
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2242
|
-
tmp_5.
|
|
2294
|
+
tmp_5.hdc_1 = Instance(di, tmp$ret$6, null).m67(this, lastCardInteractor$factory());
|
|
2243
2295
|
var tmp_7 = this;
|
|
2244
2296
|
// Inline function 'org.kodein.di.instance' call
|
|
2245
2297
|
// Inline function 'org.kodein.type.generic' call
|
|
2246
2298
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2247
2299
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2248
|
-
tmp_7.
|
|
2300
|
+
tmp_7.idc_1 = Instance(di, tmp$ret$8, null).m67(this, serverConfig$factory());
|
|
2249
2301
|
var tmp_9 = this;
|
|
2250
2302
|
// Inline function 'org.kodein.di.instance' call
|
|
2251
2303
|
// Inline function 'org.kodein.type.generic' call
|
|
2252
2304
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2253
2305
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2254
|
-
tmp_9.
|
|
2306
|
+
tmp_9.jdc_1 = Instance(di, tmp$ret$10, null).m67(this, logicConfig$factory());
|
|
2255
2307
|
var tmp_11 = this;
|
|
2256
2308
|
// Inline function 'org.kodein.di.instance' call
|
|
2257
2309
|
// Inline function 'org.kodein.type.generic' call
|
|
2258
2310
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2259
2311
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2260
|
-
tmp_11.
|
|
2312
|
+
tmp_11.kdc_1 = Instance(di, tmp$ret$12, null).m67(this, idsProvider$factory());
|
|
2261
2313
|
var tmp_13 = this;
|
|
2262
2314
|
// Inline function 'org.kodein.di.instance' call
|
|
2263
2315
|
// Inline function 'org.kodein.type.generic' call
|
|
2264
2316
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
2265
2317
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2266
|
-
tmp_13.
|
|
2318
|
+
tmp_13.ldc_1 = Instance(di, tmp$ret$14, null).m67(this, botConfig$factory());
|
|
2267
2319
|
var tmp_15 = this;
|
|
2268
2320
|
// Inline function 'org.kodein.di.instance' call
|
|
2269
2321
|
// Inline function 'org.kodein.type.generic' call
|
|
2270
2322
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
2271
2323
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2272
|
-
tmp_15.
|
|
2324
|
+
tmp_15.mdc_1 = Instance(di, tmp$ret$16, null).m67(this, scenePositionProvider$factory());
|
|
2273
2325
|
var tmp_17 = this;
|
|
2274
2326
|
// Inline function 'org.kodein.di.instance' call
|
|
2275
2327
|
// Inline function 'org.kodein.type.generic' call
|
|
2276
2328
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2277
2329
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2278
|
-
tmp_17.
|
|
2330
|
+
tmp_17.ndc_1 = Instance(di, tmp$ret$18, null).m67(this, toClientEventsObserver$factory_1());
|
|
2279
2331
|
}
|
|
2280
|
-
protoOf(ServerGameStoreContract).
|
|
2281
|
-
return plus(plus(plus(plus(plus(this.
|
|
2332
|
+
protoOf(ServerGameStoreContract).y9a = function () {
|
|
2333
|
+
return plus(plus(plus(plus(plus(this.zdb_1.y9a(), this.adc_1.y9a()), this.bdc_1.y9a()), this.cdc_1.y9a()), this.ddc_1.y9a()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
2282
2334
|
};
|
|
2283
|
-
protoOf(ServerGameStoreContract).
|
|
2284
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
2335
|
+
protoOf(ServerGameStoreContract).z9a = function () {
|
|
2336
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.zdb_1.z9a(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.adc_1.z9a()), this.bdc_1.z9a()), this.cdc_1.z9a()), this.ddc_1.z9a()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([serverSendEventsToClientsMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc(this))).r9c(), finishingGameWhenCantStartNewMiddleware()]));
|
|
2285
2337
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
2286
2338
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
2287
2339
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -2403,33 +2455,33 @@
|
|
|
2403
2455
|
}
|
|
2404
2456
|
function _no_name_provided__qut3iv() {
|
|
2405
2457
|
}
|
|
2406
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2458
|
+
protoOf(_no_name_provided__qut3iv).c6o = function (action) {
|
|
2407
2459
|
return action instanceof RoundEndedAction;
|
|
2408
2460
|
};
|
|
2409
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2461
|
+
protoOf(_no_name_provided__qut3iv).t6p = function (store, next, action) {
|
|
2410
2462
|
// Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
|
|
2411
2463
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
2412
2464
|
next(action_0);
|
|
2413
2465
|
var state = store.state;
|
|
2414
|
-
if (!get_serverState(state).
|
|
2415
|
-
store.dispatch(
|
|
2466
|
+
if (!get_serverState(state).qd8_1.rd8_1 && action_0.isGameFinished) {
|
|
2467
|
+
store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.d6w_1));
|
|
2416
2468
|
}
|
|
2417
2469
|
};
|
|
2418
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2419
|
-
return this.
|
|
2470
|
+
protoOf(_no_name_provided__qut3iv).b6o = function (store, next, action) {
|
|
2471
|
+
return this.t6p(store, next, action);
|
|
2420
2472
|
};
|
|
2421
2473
|
function ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda($$this$with) {
|
|
2422
2474
|
return function () {
|
|
2423
|
-
return $$this$with.
|
|
2475
|
+
return $$this$with.f6x().playersConnections;
|
|
2424
2476
|
};
|
|
2425
2477
|
}
|
|
2426
2478
|
function _no_name_provided__qut3iv_0(this$0) {
|
|
2427
|
-
this.
|
|
2479
|
+
this.qdc_1 = this$0;
|
|
2428
2480
|
}
|
|
2429
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2481
|
+
protoOf(_no_name_provided__qut3iv_0).c6o = function (action) {
|
|
2430
2482
|
return action instanceof MechanicAction;
|
|
2431
2483
|
};
|
|
2432
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2484
|
+
protoOf(_no_name_provided__qut3iv_0).t6p = function (store, next, action) {
|
|
2433
2485
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
|
|
2434
2486
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
2435
2487
|
var state = store.state;
|
|
@@ -2439,18 +2491,18 @@
|
|
|
2439
2491
|
var tmp;
|
|
2440
2492
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
2441
2493
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2442
|
-
var this_0 = this.
|
|
2443
|
-
var tableId = action_0.
|
|
2444
|
-
var gameCreatorPlayerId = action_0.
|
|
2494
|
+
var this_0 = this.qdc_1;
|
|
2495
|
+
var tableId = action_0.s86_1;
|
|
2496
|
+
var gameCreatorPlayerId = action_0.u86_1;
|
|
2445
2497
|
// Inline function 'kotlin.collections.map' call
|
|
2446
|
-
var this_1 = action_0.
|
|
2498
|
+
var this_1 = action_0.v86_1;
|
|
2447
2499
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2448
2500
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
2449
2501
|
var tmp0_iterator = this_1.j();
|
|
2450
2502
|
while (tmp0_iterator.k()) {
|
|
2451
2503
|
var item = tmp0_iterator.l();
|
|
2452
2504
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2453
|
-
var tmp$ret$0 = to(item.
|
|
2505
|
+
var tmp$ret$0 = to(item.p6e_1, PlayerConnectionState_LIVE_getInstance());
|
|
2454
2506
|
destination.e(tmp$ret$0);
|
|
2455
2507
|
}
|
|
2456
2508
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -2484,7 +2536,7 @@
|
|
|
2484
2536
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2485
2537
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2486
2538
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2487
|
-
var tmp0_aid = this_0.
|
|
2539
|
+
var tmp0_aid = this_0.pdc_1.b6m();
|
|
2488
2540
|
// Inline function 'kotlin.collections.map' call
|
|
2489
2541
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2490
2542
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
@@ -2509,17 +2561,17 @@
|
|
|
2509
2561
|
} else {
|
|
2510
2562
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
2511
2563
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2512
|
-
var this_2 = this.
|
|
2513
|
-
var table = state.
|
|
2564
|
+
var this_2 = this.qdc_1;
|
|
2565
|
+
var table = state.f6x();
|
|
2514
2566
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2515
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
2567
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.pdc_1.b6m(), table.id, null);
|
|
2516
2568
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
2517
2569
|
tmp = listOfNotNull(tmp$ret$18);
|
|
2518
2570
|
} else {
|
|
2519
2571
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
2520
2572
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2521
|
-
var this_3 = this.
|
|
2522
|
-
var tableId_0 = action_0.
|
|
2573
|
+
var this_3 = this.qdc_1;
|
|
2574
|
+
var tableId_0 = action_0.y86_1.id;
|
|
2523
2575
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
2524
2576
|
var players = getPlayers();
|
|
2525
2577
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -2553,7 +2605,7 @@
|
|
|
2553
2605
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2554
2606
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2555
2607
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2556
|
-
var tmp0_aid_0 = this_3.
|
|
2608
|
+
var tmp0_aid_0 = this_3.pdc_1.b6m();
|
|
2557
2609
|
// Inline function 'kotlin.collections.map' call
|
|
2558
2610
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2559
2611
|
var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
|
|
@@ -2578,44 +2630,44 @@
|
|
|
2578
2630
|
} else {
|
|
2579
2631
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
2580
2632
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2581
|
-
var this_4 = this.
|
|
2582
|
-
var table_0 = state.
|
|
2633
|
+
var this_4 = this.qdc_1;
|
|
2634
|
+
var table_0 = state.f6x();
|
|
2583
2635
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2584
|
-
var sendToPlayer_2 = new RoomActionPayload(this_4.
|
|
2636
|
+
var sendToPlayer_2 = new RoomActionPayload(this_4.pdc_1.b6m(), table_0.id, null);
|
|
2585
2637
|
var tmp$ret$35 = mapToClient_14(action_0, sendToPlayer_2);
|
|
2586
2638
|
tmp = listOfNotNull(tmp$ret$35);
|
|
2587
2639
|
} else {
|
|
2588
2640
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
2589
2641
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2590
|
-
var this_5 = this.
|
|
2591
|
-
var table_1 = state.
|
|
2642
|
+
var this_5 = this.qdc_1;
|
|
2643
|
+
var table_1 = state.f6x();
|
|
2592
2644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2593
|
-
var sendToPlayer_3 = new RoomActionPayload(this_5.
|
|
2645
|
+
var sendToPlayer_3 = new RoomActionPayload(this_5.pdc_1.b6m(), table_1.id, null);
|
|
2594
2646
|
var tmp$ret$37 = mapToClient_13(action_0, sendToPlayer_3);
|
|
2595
2647
|
tmp = listOfNotNull(tmp$ret$37);
|
|
2596
2648
|
} else {
|
|
2597
2649
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
2598
2650
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2599
|
-
var this_6 = this.
|
|
2600
|
-
var table_2 = state.
|
|
2651
|
+
var this_6 = this.qdc_1;
|
|
2652
|
+
var table_2 = state.f6x();
|
|
2601
2653
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2602
|
-
var sendToPlayer_4 = new RoomActionPayload(this_6.
|
|
2654
|
+
var sendToPlayer_4 = new RoomActionPayload(this_6.pdc_1.b6m(), table_2.id, null);
|
|
2603
2655
|
var tmp$ret$39 = mapToClient_12(action_0, sendToPlayer_4);
|
|
2604
2656
|
tmp = listOfNotNull(tmp$ret$39);
|
|
2605
2657
|
} else {
|
|
2606
2658
|
if (action_0 instanceof ErrorAction) {
|
|
2607
2659
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2608
|
-
var this_7 = this.
|
|
2609
|
-
var table_3 = state.
|
|
2660
|
+
var this_7 = this.qdc_1;
|
|
2661
|
+
var table_3 = state.f6x();
|
|
2610
2662
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2611
|
-
var sendToPlayer_5 = new RoomActionPayload(this_7.
|
|
2663
|
+
var sendToPlayer_5 = new RoomActionPayload(this_7.pdc_1.b6m(), table_3.id, null);
|
|
2612
2664
|
var tmp$ret$41 = mapToClient_11(action_0, sendToPlayer_5);
|
|
2613
2665
|
tmp = listOfNotNull(tmp$ret$41);
|
|
2614
2666
|
} else {
|
|
2615
2667
|
if (action_0 instanceof SceneMechanicAction) {
|
|
2616
2668
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2617
|
-
var this_8 = this.
|
|
2618
|
-
var table_4 = state.
|
|
2669
|
+
var this_8 = this.qdc_1;
|
|
2670
|
+
var table_4 = state.f6x();
|
|
2619
2671
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2620
2672
|
var tableId_1 = table_4.id;
|
|
2621
2673
|
var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
|
|
@@ -2651,7 +2703,7 @@
|
|
|
2651
2703
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2652
2704
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2653
2705
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2654
|
-
var tmp0_aid_1 = this_8.
|
|
2706
|
+
var tmp0_aid_1 = this_8.pdc_1.b6m();
|
|
2655
2707
|
// Inline function 'kotlin.collections.map' call
|
|
2656
2708
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2657
2709
|
var destination_11 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_0, 10));
|
|
@@ -2676,8 +2728,8 @@
|
|
|
2676
2728
|
} else {
|
|
2677
2729
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
2678
2730
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2679
|
-
var this_9 = this.
|
|
2680
|
-
var table_5 = state.
|
|
2731
|
+
var this_9 = this.qdc_1;
|
|
2732
|
+
var table_5 = state.f6x();
|
|
2681
2733
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2682
2734
|
var tableId_2 = table_5.id;
|
|
2683
2735
|
var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
|
|
@@ -2713,7 +2765,7 @@
|
|
|
2713
2765
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2714
2766
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2715
2767
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2716
|
-
var tmp0_aid_2 = this_9.
|
|
2768
|
+
var tmp0_aid_2 = this_9.pdc_1.b6m();
|
|
2717
2769
|
// Inline function 'kotlin.collections.map' call
|
|
2718
2770
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2719
2771
|
var destination_15 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_1, 10));
|
|
@@ -2738,8 +2790,8 @@
|
|
|
2738
2790
|
} else {
|
|
2739
2791
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
2740
2792
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2741
|
-
var this_10 = this.
|
|
2742
|
-
var table_6 = state.
|
|
2793
|
+
var this_10 = this.qdc_1;
|
|
2794
|
+
var table_6 = state.f6x();
|
|
2743
2795
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2744
2796
|
var tableId_3 = table_6.id;
|
|
2745
2797
|
var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
|
|
@@ -2775,7 +2827,7 @@
|
|
|
2775
2827
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2776
2828
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2777
2829
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2778
|
-
var tmp0_aid_3 = this_10.
|
|
2830
|
+
var tmp0_aid_3 = this_10.pdc_1.b6m();
|
|
2779
2831
|
// Inline function 'kotlin.collections.map' call
|
|
2780
2832
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2781
2833
|
var destination_19 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_2, 10));
|
|
@@ -2788,7 +2840,7 @@
|
|
|
2788
2840
|
}
|
|
2789
2841
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_19);
|
|
2790
2842
|
var tmp_0;
|
|
2791
|
-
if (this.
|
|
2843
|
+
if (this.qdc_1.odc_1.supportBackwardActions && getPlayer(state.f6x().players, sendToPlayer_8.m7k_1).v73_1.a74_1) {
|
|
2792
2844
|
tmp_0 = null;
|
|
2793
2845
|
} else {
|
|
2794
2846
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -2806,79 +2858,79 @@
|
|
|
2806
2858
|
} else {
|
|
2807
2859
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
2808
2860
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2809
|
-
var this_11 = this.
|
|
2810
|
-
var table_7 = state.
|
|
2811
|
-
var exceptPlayerId = this.
|
|
2861
|
+
var this_11 = this.qdc_1;
|
|
2862
|
+
var table_7 = state.f6x();
|
|
2863
|
+
var exceptPlayerId = this.qdc_1.odc_1.supportBackwardActions ? action_0.v87_1 : null;
|
|
2812
2864
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2813
|
-
var sendToPlayer_9 = new RoomActionPayload(this_11.
|
|
2865
|
+
var sendToPlayer_9 = new RoomActionPayload(this_11.pdc_1.b6m(), table_7.id, exceptPlayerId);
|
|
2814
2866
|
var tmp$ret$91 = mapToClient_7(action_0, sendToPlayer_9);
|
|
2815
2867
|
tmp = listOfNotNull(tmp$ret$91);
|
|
2816
2868
|
} else {
|
|
2817
2869
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
2818
2870
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2819
|
-
var this_12 = this.
|
|
2820
|
-
var table_8 = state.
|
|
2821
|
-
var exceptPlayerId_0 = this.
|
|
2871
|
+
var this_12 = this.qdc_1;
|
|
2872
|
+
var table_8 = state.f6x();
|
|
2873
|
+
var exceptPlayerId_0 = this.qdc_1.odc_1.supportBackwardActions ? action_0.z87_1 : null;
|
|
2822
2874
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2823
|
-
var sendToPlayer_10 = new RoomActionPayload(this_12.
|
|
2875
|
+
var sendToPlayer_10 = new RoomActionPayload(this_12.pdc_1.b6m(), table_8.id, exceptPlayerId_0);
|
|
2824
2876
|
var tmp$ret$93 = mapToClient_6(action_0, sendToPlayer_10);
|
|
2825
2877
|
tmp = listOfNotNull(tmp$ret$93);
|
|
2826
2878
|
} else {
|
|
2827
2879
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
2828
2880
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2829
|
-
var this_13 = this.
|
|
2830
|
-
var table_9 = state.
|
|
2881
|
+
var this_13 = this.qdc_1;
|
|
2882
|
+
var table_9 = state.f6x();
|
|
2831
2883
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2832
|
-
var sendToPlayer_11 = new RoomActionPayload(this_13.
|
|
2884
|
+
var sendToPlayer_11 = new RoomActionPayload(this_13.pdc_1.b6m(), table_9.id, null);
|
|
2833
2885
|
var tmp$ret$95 = mapToClient_5(action_0, sendToPlayer_11);
|
|
2834
2886
|
tmp = listOfNotNull(tmp$ret$95);
|
|
2835
2887
|
} else {
|
|
2836
2888
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
2837
2889
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2838
|
-
var this_14 = this.
|
|
2839
|
-
var table_10 = state.
|
|
2840
|
-
var exceptPlayerId_1 = this.
|
|
2890
|
+
var this_14 = this.qdc_1;
|
|
2891
|
+
var table_10 = state.f6x();
|
|
2892
|
+
var exceptPlayerId_1 = this.qdc_1.odc_1.supportBackwardActions ? action_0.g88_1 : null;
|
|
2841
2893
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2842
|
-
var sendToPlayer_12 = new RoomActionPayload(this_14.
|
|
2894
|
+
var sendToPlayer_12 = new RoomActionPayload(this_14.pdc_1.b6m(), table_10.id, exceptPlayerId_1);
|
|
2843
2895
|
var tmp$ret$97 = mapToClient_4(action_0, sendToPlayer_12);
|
|
2844
2896
|
tmp = listOfNotNull(tmp$ret$97);
|
|
2845
2897
|
} else {
|
|
2846
2898
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
2847
2899
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2848
|
-
var this_15 = this.
|
|
2849
|
-
var table_11 = state.
|
|
2850
|
-
var exceptPlayerId_2 = this.
|
|
2900
|
+
var this_15 = this.qdc_1;
|
|
2901
|
+
var table_11 = state.f6x();
|
|
2902
|
+
var exceptPlayerId_2 = this.qdc_1.odc_1.supportBackwardActions ? action_0.k88_1 : null;
|
|
2851
2903
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2852
|
-
var sendToPlayer_13 = new RoomActionPayload(this_15.
|
|
2904
|
+
var sendToPlayer_13 = new RoomActionPayload(this_15.pdc_1.b6m(), table_11.id, exceptPlayerId_2);
|
|
2853
2905
|
var tmp$ret$99 = mapToClient_3(action_0, sendToPlayer_13);
|
|
2854
2906
|
tmp = listOfNotNull(tmp$ret$99);
|
|
2855
2907
|
} else {
|
|
2856
2908
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
2857
2909
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2858
|
-
var this_16 = this.
|
|
2859
|
-
var table_12 = state.
|
|
2910
|
+
var this_16 = this.qdc_1;
|
|
2911
|
+
var table_12 = state.f6x();
|
|
2860
2912
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2861
|
-
var sendToPlayer_14 = new RoomActionPayload(this_16.
|
|
2913
|
+
var sendToPlayer_14 = new RoomActionPayload(this_16.pdc_1.b6m(), table_12.id, null);
|
|
2862
2914
|
var tmp$ret$101 = mapToClient_2(action_0, sendToPlayer_14);
|
|
2863
2915
|
tmp = listOfNotNull(tmp$ret$101);
|
|
2864
2916
|
} else {
|
|
2865
2917
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
2866
2918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2867
|
-
var this_17 = this.
|
|
2868
|
-
var table_13 = state.
|
|
2919
|
+
var this_17 = this.qdc_1;
|
|
2920
|
+
var table_13 = state.f6x();
|
|
2869
2921
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2870
|
-
var sendToPlayer_15 = new RoomActionPayload(this_17.
|
|
2922
|
+
var sendToPlayer_15 = new RoomActionPayload(this_17.pdc_1.b6m(), table_13.id, null);
|
|
2871
2923
|
var tmp$ret$103 = mapToClient_1(action_0, sendToPlayer_15);
|
|
2872
2924
|
tmp = listOfNotNull(tmp$ret$103);
|
|
2873
2925
|
} else {
|
|
2874
2926
|
if (action_0 instanceof MessageMechanicAction) {
|
|
2875
|
-
var message = action_0.
|
|
2927
|
+
var message = action_0.s88_1;
|
|
2876
2928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2877
|
-
var this_18 = this.
|
|
2878
|
-
var table_14 = state.
|
|
2929
|
+
var this_18 = this.qdc_1;
|
|
2930
|
+
var table_14 = state.f6x();
|
|
2879
2931
|
var tmp_1;
|
|
2880
2932
|
var tmp_2;
|
|
2881
|
-
if (this.
|
|
2933
|
+
if (this.qdc_1.odc_1.supportBackwardActions) {
|
|
2882
2934
|
tmp_2 = isInterface(message, UserMessage);
|
|
2883
2935
|
} else {
|
|
2884
2936
|
tmp_2 = false;
|
|
@@ -2890,17 +2942,17 @@
|
|
|
2890
2942
|
}
|
|
2891
2943
|
var exceptPlayerId_3 = tmp_1;
|
|
2892
2944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2893
|
-
var sendToPlayer_16 = new RoomActionPayload(this_18.
|
|
2945
|
+
var sendToPlayer_16 = new RoomActionPayload(this_18.pdc_1.b6m(), table_14.id, exceptPlayerId_3);
|
|
2894
2946
|
var tmp$ret$105 = mapToClient_0(action_0, sendToPlayer_16);
|
|
2895
2947
|
tmp = listOfNotNull(tmp$ret$105);
|
|
2896
2948
|
} else {
|
|
2897
2949
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
2898
2950
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2899
|
-
var this_19 = this.
|
|
2900
|
-
var table_15 = state.
|
|
2951
|
+
var this_19 = this.qdc_1;
|
|
2952
|
+
var table_15 = state.f6x();
|
|
2901
2953
|
var exceptPlayerId_4 = action_0.playerId;
|
|
2902
2954
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2903
|
-
var sendToPlayer_17 = new RoomActionPayload(this_19.
|
|
2955
|
+
var sendToPlayer_17 = new RoomActionPayload(this_19.pdc_1.b6m(), table_15.id, exceptPlayerId_4);
|
|
2904
2956
|
var tmp$ret$107 = mapToClient(action_0, sendToPlayer_17);
|
|
2905
2957
|
tmp = listOfNotNull(tmp$ret$107);
|
|
2906
2958
|
} else {
|
|
@@ -2934,14 +2986,14 @@
|
|
|
2934
2986
|
}
|
|
2935
2987
|
next(action_0);
|
|
2936
2988
|
};
|
|
2937
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2938
|
-
return this.
|
|
2989
|
+
protoOf(_no_name_provided__qut3iv_0).b6o = function (store, next, action) {
|
|
2990
|
+
return this.t6p(store, next, action);
|
|
2939
2991
|
};
|
|
2940
2992
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2993
|
+
this.odc_1 = logicConfig;
|
|
2994
|
+
this.pdc_1 = idsProvider;
|
|
2943
2995
|
}
|
|
2944
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
2996
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).r9c = function () {
|
|
2945
2997
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
2946
2998
|
return new _no_name_provided__qut3iv_0(this);
|
|
2947
2999
|
};
|
|
@@ -2950,8 +3002,8 @@
|
|
|
2950
3002
|
return new _no_name_provided__qut3iv_1(asyncProvider, provider);
|
|
2951
3003
|
}
|
|
2952
3004
|
function serverSendEventsToClientsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
2953
|
-
this.
|
|
2954
|
-
this.
|
|
3005
|
+
this.zdc_1 = $provider;
|
|
3006
|
+
this.add_1 = $action;
|
|
2955
3007
|
CoroutineImpl.call(this, resultContinuation);
|
|
2956
3008
|
}
|
|
2957
3009
|
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
@@ -2972,7 +3024,7 @@
|
|
|
2972
3024
|
case 0:
|
|
2973
3025
|
this.f9_1 = 2;
|
|
2974
3026
|
this.e9_1 = 1;
|
|
2975
|
-
suspendResult = this.
|
|
3027
|
+
suspendResult = this.zdc_1.kd9(this.add_1, this);
|
|
2976
3028
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2977
3029
|
return suspendResult;
|
|
2978
3030
|
}
|
|
@@ -2995,8 +3047,8 @@
|
|
|
2995
3047
|
while (true);
|
|
2996
3048
|
};
|
|
2997
3049
|
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).f1f = function ($this$launchDefault, completion) {
|
|
2998
|
-
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.
|
|
2999
|
-
i.
|
|
3050
|
+
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.zdc_1, this.add_1, completion);
|
|
3051
|
+
i.bdd_1 = $this$launchDefault;
|
|
3000
3052
|
return i;
|
|
3001
3053
|
};
|
|
3002
3054
|
function serverSendEventsToClientsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -3008,20 +3060,20 @@
|
|
|
3008
3060
|
return l;
|
|
3009
3061
|
}
|
|
3010
3062
|
function _no_name_provided__qut3iv_1($asyncProvider, $provider) {
|
|
3011
|
-
this.
|
|
3012
|
-
this.
|
|
3063
|
+
this.cdd_1 = $asyncProvider;
|
|
3064
|
+
this.ddd_1 = $provider;
|
|
3013
3065
|
}
|
|
3014
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
3066
|
+
protoOf(_no_name_provided__qut3iv_1).c6o = function (action) {
|
|
3015
3067
|
return action instanceof ToClientAction;
|
|
3016
3068
|
};
|
|
3017
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
3069
|
+
protoOf(_no_name_provided__qut3iv_1).t6p = function (store, next, action) {
|
|
3018
3070
|
// Inline function 'games.jass.logic.server.redux.middlewares.client.serverSendEventsToClientsMiddleware.<anonymous>' call
|
|
3019
3071
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
3020
|
-
this.
|
|
3072
|
+
this.cdd_1.y6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.ddd_1, action_0, null));
|
|
3021
3073
|
next(action_0);
|
|
3022
3074
|
};
|
|
3023
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
3024
|
-
return this.
|
|
3075
|
+
protoOf(_no_name_provided__qut3iv_1).b6o = function (store, next, action) {
|
|
3076
|
+
return this.t6p(store, next, action);
|
|
3025
3077
|
};
|
|
3026
3078
|
function serverConfigReducer() {
|
|
3027
3079
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -3029,86 +3081,86 @@
|
|
|
3029
3081
|
}
|
|
3030
3082
|
function _no_name_provided__qut3iv_2() {
|
|
3031
3083
|
}
|
|
3032
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3084
|
+
protoOf(_no_name_provided__qut3iv_2).c6o = function (action) {
|
|
3033
3085
|
return action instanceof UpdateServerConfigAction;
|
|
3034
3086
|
};
|
|
3035
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3087
|
+
protoOf(_no_name_provided__qut3iv_2).y9j = function (state, action) {
|
|
3036
3088
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
3037
3089
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
3038
|
-
return state.
|
|
3090
|
+
return state.d98(VOID, get_serverState(state).edd(action_0.wdb_1));
|
|
3039
3091
|
};
|
|
3040
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3041
|
-
return this.
|
|
3092
|
+
protoOf(_no_name_provided__qut3iv_2).u6p = function (state, action) {
|
|
3093
|
+
return this.y9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3042
3094
|
};
|
|
3043
3095
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
3044
3096
|
return function (it) {
|
|
3045
|
-
var tmp =
|
|
3097
|
+
var tmp = Companion_instance_1;
|
|
3046
3098
|
var tmp_0;
|
|
3047
3099
|
if (it.isBot) {
|
|
3048
|
-
tmp_0 =
|
|
3100
|
+
tmp_0 = Companion_instance_2.p6f(PlayerConnectionState_LEFT_getInstance());
|
|
3049
3101
|
} else {
|
|
3050
|
-
var tmp_1 =
|
|
3102
|
+
var tmp_1 = Companion_instance_2;
|
|
3051
3103
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
3052
3104
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
3053
3105
|
Companion_getInstance();
|
|
3054
|
-
var this_0 = $action.
|
|
3106
|
+
var this_0 = $action.r86_1.timeoutTimeMillis;
|
|
3055
3107
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
3056
|
-
tmp_0 = tmp_1.
|
|
3108
|
+
tmp_0 = tmp_1.o6f(tmp_2, tmp$ret$0);
|
|
3057
3109
|
}
|
|
3058
|
-
return tmp.
|
|
3110
|
+
return tmp.w6g(tmp_0);
|
|
3059
3111
|
};
|
|
3060
3112
|
}
|
|
3061
3113
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
3062
3114
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
3063
|
-
this.
|
|
3115
|
+
this.hdd_1 = logger;
|
|
3064
3116
|
}
|
|
3065
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3066
|
-
var serverState = get_serverStateOrNull(state.
|
|
3117
|
+
protoOf(ServerMechanicLifecycleReducer).k9l = function (state, action) {
|
|
3118
|
+
var serverState = get_serverStateOrNull(state.e6w_1);
|
|
3067
3119
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3068
|
-
var tmp0_$this = this.
|
|
3069
|
-
var tmp1_tableId = action.
|
|
3070
|
-
var tmp2_gameId = action.
|
|
3071
|
-
var tmp3_version = action.
|
|
3072
|
-
var tmp4_config = action.
|
|
3073
|
-
var tmp5_users = action.
|
|
3120
|
+
var tmp0_$this = this.l9l_1;
|
|
3121
|
+
var tmp1_tableId = action.s86_1;
|
|
3122
|
+
var tmp2_gameId = action.s86_1;
|
|
3123
|
+
var tmp3_version = action.t86_1;
|
|
3124
|
+
var tmp4_config = action.r86_1;
|
|
3125
|
+
var tmp5_users = action.v86_1;
|
|
3074
3126
|
var tmp6_spectators = action.spectators;
|
|
3075
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
3076
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
3127
|
+
var tmp7_gameCreatorPlayerId = action.u86_1;
|
|
3128
|
+
var tmp9_tableOrNull = tmp0_$this.r9m(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
3077
3129
|
var tmp;
|
|
3078
3130
|
if (serverState == null) {
|
|
3079
|
-
this.
|
|
3080
|
-
tmp =
|
|
3131
|
+
this.hdd_1.w(VOID, 'ServerPayload is not onStart');
|
|
3132
|
+
tmp = Companion_instance_11.gd9();
|
|
3081
3133
|
} else {
|
|
3082
3134
|
tmp = serverState;
|
|
3083
3135
|
}
|
|
3084
3136
|
var tmp10_payload = tmp;
|
|
3085
|
-
return state.
|
|
3137
|
+
return state.d98(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
3086
3138
|
};
|
|
3087
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3088
|
-
this.
|
|
3139
|
+
protoOf(ServerMechanicLifecycleReducer).j9l = function (state, action) {
|
|
3140
|
+
this.m9l_1.z5u(action.previousGameId);
|
|
3089
3141
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3090
|
-
var tmp1_tableOrNull = this.
|
|
3091
|
-
return state.
|
|
3142
|
+
var tmp1_tableOrNull = this.l9l_1.s9m(state.f6x(), action.gameId);
|
|
3143
|
+
return state.d98(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
3092
3144
|
};
|
|
3093
3145
|
function spectatorsReducer(logger) {
|
|
3094
3146
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
3095
3147
|
return new _no_name_provided__qut3iv_3(logger);
|
|
3096
3148
|
}
|
|
3097
3149
|
function _no_name_provided__qut3iv_3($logger) {
|
|
3098
|
-
this.
|
|
3150
|
+
this.idd_1 = $logger;
|
|
3099
3151
|
}
|
|
3100
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3152
|
+
protoOf(_no_name_provided__qut3iv_3).c6o = function (action) {
|
|
3101
3153
|
return isInterface(action, SpectatorsAction);
|
|
3102
3154
|
};
|
|
3103
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3155
|
+
protoOf(_no_name_provided__qut3iv_3).y9j = function (state, action) {
|
|
3104
3156
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
3105
3157
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
3106
|
-
var table = state.
|
|
3158
|
+
var table = state.f6x();
|
|
3107
3159
|
var tmp;
|
|
3108
3160
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
3109
3161
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3110
3162
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3111
|
-
var this_0 = action_0.
|
|
3163
|
+
var this_0 = action_0.xdb_1;
|
|
3112
3164
|
var destination = ArrayList_init_$Create$();
|
|
3113
3165
|
// Inline function 'kotlin.collections.forEach' call
|
|
3114
3166
|
var tmp0_iterator = this_0.j();
|
|
@@ -3116,7 +3168,7 @@
|
|
|
3116
3168
|
var element = tmp0_iterator.l();
|
|
3117
3169
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3118
3170
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
3119
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
3171
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.p6e_1));
|
|
3120
3172
|
if (tmp0_safe_receiver == null)
|
|
3121
3173
|
null;
|
|
3122
3174
|
else {
|
|
@@ -3130,10 +3182,10 @@
|
|
|
3130
3182
|
var tmp_0;
|
|
3131
3183
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3132
3184
|
if (!sameSpectators.p()) {
|
|
3133
|
-
this.
|
|
3185
|
+
this.idd_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
3134
3186
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3135
3187
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3136
|
-
var this_1 = action_0.
|
|
3188
|
+
var this_1 = action_0.xdb_1;
|
|
3137
3189
|
var destination_0 = ArrayList_init_$Create$();
|
|
3138
3190
|
var tmp0_iterator_0 = this_1.j();
|
|
3139
3191
|
while (tmp0_iterator_0.k()) {
|
|
@@ -3156,7 +3208,7 @@
|
|
|
3156
3208
|
while (tmp0_iterator_1.k()) {
|
|
3157
3209
|
var element_1 = tmp0_iterator_1.l();
|
|
3158
3210
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
3159
|
-
if (element_0.
|
|
3211
|
+
if (element_0.p6e_1 === element_1.playerId) {
|
|
3160
3212
|
tmp$ret$5 = true;
|
|
3161
3213
|
break $l$block_0;
|
|
3162
3214
|
}
|
|
@@ -3169,7 +3221,7 @@
|
|
|
3169
3221
|
}
|
|
3170
3222
|
tmp_0 = destination_0;
|
|
3171
3223
|
} else {
|
|
3172
|
-
tmp_0 = action_0.
|
|
3224
|
+
tmp_0 = action_0.xdb_1;
|
|
3173
3225
|
}
|
|
3174
3226
|
var this_2 = tmp_0;
|
|
3175
3227
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3182,12 +3234,12 @@
|
|
|
3182
3234
|
destination_1.e(tmp$ret$10);
|
|
3183
3235
|
}
|
|
3184
3236
|
var spectatorsToAdd = toSet(destination_1);
|
|
3185
|
-
tmp = state.
|
|
3237
|
+
tmp = state.d98(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
3186
3238
|
} else {
|
|
3187
3239
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
3188
3240
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3189
3241
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3190
|
-
var this_3 = action_0.
|
|
3242
|
+
var this_3 = action_0.ydb_1;
|
|
3191
3243
|
var destination_2 = ArrayList_init_$Create$();
|
|
3192
3244
|
// Inline function 'kotlin.collections.forEach' call
|
|
3193
3245
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -3195,7 +3247,7 @@
|
|
|
3195
3247
|
var element_2 = tmp0_iterator_3.l();
|
|
3196
3248
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3197
3249
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
3198
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
3250
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.p6e_1));
|
|
3199
3251
|
if (tmp0_safe_receiver_0 == null)
|
|
3200
3252
|
null;
|
|
3201
3253
|
else {
|
|
@@ -3208,10 +3260,10 @@
|
|
|
3208
3260
|
var tmp_2;
|
|
3209
3261
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3210
3262
|
if (!sameSpectators_0.p()) {
|
|
3211
|
-
this.
|
|
3263
|
+
this.idd_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
3212
3264
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3213
3265
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3214
|
-
var this_4 = action_0.
|
|
3266
|
+
var this_4 = action_0.ydb_1;
|
|
3215
3267
|
var destination_3 = ArrayList_init_$Create$();
|
|
3216
3268
|
var tmp0_iterator_4 = this_4.j();
|
|
3217
3269
|
while (tmp0_iterator_4.k()) {
|
|
@@ -3234,7 +3286,7 @@
|
|
|
3234
3286
|
while (tmp0_iterator_5.k()) {
|
|
3235
3287
|
var element_4 = tmp0_iterator_5.l();
|
|
3236
3288
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
3237
|
-
if (element_3.
|
|
3289
|
+
if (element_3.p6e_1 === element_4.playerId) {
|
|
3238
3290
|
tmp$ret$18 = true;
|
|
3239
3291
|
break $l$block_2;
|
|
3240
3292
|
}
|
|
@@ -3247,7 +3299,7 @@
|
|
|
3247
3299
|
}
|
|
3248
3300
|
tmp_2 = destination_3;
|
|
3249
3301
|
} else {
|
|
3250
|
-
tmp_2 = action_0.
|
|
3302
|
+
tmp_2 = action_0.ydb_1;
|
|
3251
3303
|
}
|
|
3252
3304
|
var spectatorsToRemove = toSet(tmp_2);
|
|
3253
3305
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -3275,7 +3327,7 @@
|
|
|
3275
3327
|
while (tmp0_iterator_7.k()) {
|
|
3276
3328
|
var element_6 = tmp0_iterator_7.l();
|
|
3277
3329
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
3278
|
-
if (element_5.playerId === element_6.
|
|
3330
|
+
if (element_5.playerId === element_6.p6e_1) {
|
|
3279
3331
|
tmp$ret$23 = true;
|
|
3280
3332
|
break $l$block_4;
|
|
3281
3333
|
}
|
|
@@ -3286,40 +3338,40 @@
|
|
|
3286
3338
|
destination_4.e(element_5);
|
|
3287
3339
|
}
|
|
3288
3340
|
}
|
|
3289
|
-
tmp = state.
|
|
3341
|
+
tmp = state.d98(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
3290
3342
|
} else {
|
|
3291
3343
|
noWhenBranchMatchedException();
|
|
3292
3344
|
}
|
|
3293
3345
|
}
|
|
3294
3346
|
return tmp;
|
|
3295
3347
|
};
|
|
3296
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3297
|
-
return this.
|
|
3348
|
+
protoOf(_no_name_provided__qut3iv_3).u6p = function (state, action) {
|
|
3349
|
+
return this.y9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3298
3350
|
};
|
|
3299
3351
|
function Companion_1() {
|
|
3300
3352
|
}
|
|
3301
|
-
protoOf(Companion_1).
|
|
3353
|
+
protoOf(Companion_1).jdd = function (config) {
|
|
3302
3354
|
return new ServerState(config);
|
|
3303
3355
|
};
|
|
3304
|
-
protoOf(Companion_1).
|
|
3356
|
+
protoOf(Companion_1).gd9 = function (config, $super) {
|
|
3305
3357
|
config = config === VOID ? new ServerConfig(true) : config;
|
|
3306
|
-
return $super === VOID ? this.
|
|
3358
|
+
return $super === VOID ? this.jdd(config) : $super.jdd.call(this, config);
|
|
3307
3359
|
};
|
|
3308
|
-
var
|
|
3360
|
+
var Companion_instance_11;
|
|
3309
3361
|
function Companion_getInstance_4() {
|
|
3310
|
-
return
|
|
3362
|
+
return Companion_instance_11;
|
|
3311
3363
|
}
|
|
3312
3364
|
function ServerState(config) {
|
|
3313
|
-
this.
|
|
3365
|
+
this.qd8_1 = config;
|
|
3314
3366
|
}
|
|
3315
|
-
protoOf(ServerState).
|
|
3367
|
+
protoOf(ServerState).edd = function (config) {
|
|
3316
3368
|
return new ServerState(config);
|
|
3317
3369
|
};
|
|
3318
3370
|
protoOf(ServerState).toString = function () {
|
|
3319
|
-
return 'ServerState(config=' + this.
|
|
3371
|
+
return 'ServerState(config=' + this.qd8_1.toString() + ')';
|
|
3320
3372
|
};
|
|
3321
3373
|
protoOf(ServerState).hashCode = function () {
|
|
3322
|
-
return this.
|
|
3374
|
+
return this.qd8_1.hashCode();
|
|
3323
3375
|
};
|
|
3324
3376
|
protoOf(ServerState).equals = function (other) {
|
|
3325
3377
|
if (this === other)
|
|
@@ -3327,13 +3379,13 @@
|
|
|
3327
3379
|
if (!(other instanceof ServerState))
|
|
3328
3380
|
return false;
|
|
3329
3381
|
var tmp0_other_with_cast = other instanceof ServerState ? other : THROW_CCE();
|
|
3330
|
-
if (!this.
|
|
3382
|
+
if (!this.qd8_1.equals(tmp0_other_with_cast.qd8_1))
|
|
3331
3383
|
return false;
|
|
3332
3384
|
return true;
|
|
3333
3385
|
};
|
|
3334
3386
|
function get_serverState(_this__u8e3s4) {
|
|
3335
3387
|
// Inline function 'kotlin.requireNotNull' call
|
|
3336
|
-
var value = _this__u8e3s4.
|
|
3388
|
+
var value = _this__u8e3s4.e6w_1;
|
|
3337
3389
|
// Inline function 'kotlin.contracts.contract' call
|
|
3338
3390
|
var tmp$ret$1;
|
|
3339
3391
|
$l$block: {
|
|
@@ -3639,7 +3691,7 @@
|
|
|
3639
3691
|
protoOf(GameHelperImpl).filterLivePlayers = function (store, playerIds) {
|
|
3640
3692
|
var state = store.state;
|
|
3641
3693
|
var tmp;
|
|
3642
|
-
if (!state.
|
|
3694
|
+
if (!state.g6x()) {
|
|
3643
3695
|
tmp = true;
|
|
3644
3696
|
} else {
|
|
3645
3697
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3648,7 +3700,7 @@
|
|
|
3648
3700
|
if (tmp) {
|
|
3649
3701
|
return playerIds;
|
|
3650
3702
|
}
|
|
3651
|
-
var players = state.
|
|
3703
|
+
var players = state.f6x().players;
|
|
3652
3704
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3653
3705
|
// Inline function 'kotlin.collections.map' call
|
|
3654
3706
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3670,7 +3722,7 @@
|
|
|
3670
3722
|
while (tmp0_iterator.k()) {
|
|
3671
3723
|
var element = tmp0_iterator.l();
|
|
3672
3724
|
// Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
|
|
3673
|
-
if (element.
|
|
3725
|
+
if (element.t73_1.a6h().r6f_1.isLive) {
|
|
3674
3726
|
destination_0.e(element);
|
|
3675
3727
|
}
|
|
3676
3728
|
}
|
|
@@ -3688,7 +3740,7 @@
|
|
|
3688
3740
|
protoOf(GameHelperImpl).filterLiveDuringGamePlayers = function (store, playerIds) {
|
|
3689
3741
|
var state = store.state;
|
|
3690
3742
|
var tmp;
|
|
3691
|
-
if (!state.
|
|
3743
|
+
if (!state.g6x()) {
|
|
3692
3744
|
tmp = true;
|
|
3693
3745
|
} else {
|
|
3694
3746
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3697,7 +3749,7 @@
|
|
|
3697
3749
|
if (tmp) {
|
|
3698
3750
|
return playerIds;
|
|
3699
3751
|
}
|
|
3700
|
-
var players = state.
|
|
3752
|
+
var players = state.f6x().players;
|
|
3701
3753
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3702
3754
|
// Inline function 'kotlin.collections.map' call
|
|
3703
3755
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3719,7 +3771,7 @@
|
|
|
3719
3771
|
while (tmp0_iterator.k()) {
|
|
3720
3772
|
var element = tmp0_iterator.l();
|
|
3721
3773
|
// Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
|
|
3722
|
-
if (element.
|
|
3774
|
+
if (element.t73_1.a6h().c6g(state.f6x().gameDuration)) {
|
|
3723
3775
|
destination_0.e(element);
|
|
3724
3776
|
}
|
|
3725
3777
|
}
|
|
@@ -3737,7 +3789,7 @@
|
|
|
3737
3789
|
protoOf(GameHelperImpl).filterBotPlayers = function (store, playerIds) {
|
|
3738
3790
|
var state = store.state;
|
|
3739
3791
|
var tmp;
|
|
3740
|
-
if (!state.
|
|
3792
|
+
if (!state.g6x()) {
|
|
3741
3793
|
tmp = true;
|
|
3742
3794
|
} else {
|
|
3743
3795
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3746,7 +3798,7 @@
|
|
|
3746
3798
|
if (tmp) {
|
|
3747
3799
|
return playerIds;
|
|
3748
3800
|
}
|
|
3749
|
-
var players = state.
|
|
3801
|
+
var players = state.f6x().players;
|
|
3750
3802
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3751
3803
|
// Inline function 'kotlin.collections.map' call
|
|
3752
3804
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3768,7 +3820,7 @@
|
|
|
3768
3820
|
while (tmp0_iterator.k()) {
|
|
3769
3821
|
var element = tmp0_iterator.l();
|
|
3770
3822
|
// Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
|
|
3771
|
-
if (element.
|
|
3823
|
+
if (element.s73_1.isBot) {
|
|
3772
3824
|
destination_0.e(element);
|
|
3773
3825
|
}
|
|
3774
3826
|
}
|
|
@@ -3786,7 +3838,7 @@
|
|
|
3786
3838
|
protoOf(GameHelperImpl).filterRealPlayers = function (store, playerIds) {
|
|
3787
3839
|
var state = store.state;
|
|
3788
3840
|
var tmp;
|
|
3789
|
-
if (!state.
|
|
3841
|
+
if (!state.g6x()) {
|
|
3790
3842
|
tmp = true;
|
|
3791
3843
|
} else {
|
|
3792
3844
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3795,7 +3847,7 @@
|
|
|
3795
3847
|
if (tmp) {
|
|
3796
3848
|
return playerIds;
|
|
3797
3849
|
}
|
|
3798
|
-
var players = state.
|
|
3850
|
+
var players = state.f6x().players;
|
|
3799
3851
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3800
3852
|
// Inline function 'kotlin.collections.map' call
|
|
3801
3853
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3817,7 +3869,7 @@
|
|
|
3817
3869
|
while (tmp0_iterator.k()) {
|
|
3818
3870
|
var element = tmp0_iterator.l();
|
|
3819
3871
|
// Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
|
|
3820
|
-
if (!element.
|
|
3872
|
+
if (!element.s73_1.isBot) {
|
|
3821
3873
|
destination_0.e(element);
|
|
3822
3874
|
}
|
|
3823
3875
|
}
|
|
@@ -3834,21 +3886,21 @@
|
|
|
3834
3886
|
};
|
|
3835
3887
|
protoOf(GameHelperImpl).getUserSocketId = function (store, playerId) {
|
|
3836
3888
|
var state = store.state;
|
|
3837
|
-
if (!state.
|
|
3889
|
+
if (!state.g6x()) {
|
|
3838
3890
|
return null;
|
|
3839
3891
|
}
|
|
3840
|
-
var tmp0_safe_receiver = getUserProfilePayloadOrNull(getPlayer(state.
|
|
3892
|
+
var tmp0_safe_receiver = getUserProfilePayloadOrNull(getPlayer(state.f6x().players, playerId).s73_1);
|
|
3841
3893
|
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
|
|
3842
3894
|
};
|
|
3843
3895
|
protoOf(GameHelperImpl).getUserSocketIds = function (store) {
|
|
3844
3896
|
var state = store.state;
|
|
3845
|
-
if (!state.
|
|
3897
|
+
if (!state.g6x()) {
|
|
3846
3898
|
return null;
|
|
3847
3899
|
}
|
|
3848
3900
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3849
3901
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3850
3902
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3851
|
-
var this_0 = state.
|
|
3903
|
+
var this_0 = state.f6x().players;
|
|
3852
3904
|
var destination = ArrayList_init_$Create$();
|
|
3853
3905
|
// Inline function 'kotlin.collections.forEach' call
|
|
3854
3906
|
var tmp0_iterator = this_0.j();
|
|
@@ -3856,7 +3908,7 @@
|
|
|
3856
3908
|
var element = tmp0_iterator.l();
|
|
3857
3909
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3858
3910
|
// Inline function 'GameHelperImpl.getUserSocketIds.<anonymous>' call
|
|
3859
|
-
var tmp0_safe_receiver = getUserProfilePayloadOrNull(element.
|
|
3911
|
+
var tmp0_safe_receiver = getUserProfilePayloadOrNull(element.s73_1);
|
|
3860
3912
|
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
|
|
3861
3913
|
if (tmp0_safe_receiver_0 == null)
|
|
3862
3914
|
null;
|
|
@@ -3869,7 +3921,7 @@
|
|
|
3869
3921
|
return copyToArray(destination);
|
|
3870
3922
|
};
|
|
3871
3923
|
protoOf(GameHelperImpl).createConfig = function (points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate) {
|
|
3872
|
-
var options =
|
|
3924
|
+
var options = Companion_instance_3.getServerOptions(isEnableChat, isBotsEnabled, true);
|
|
3873
3925
|
var playersMode = this.mapPlayers(players);
|
|
3874
3926
|
var pointsMode = this.mapPoints(points);
|
|
3875
3927
|
var tmp;
|
|
@@ -4175,19 +4227,19 @@
|
|
|
4175
4227
|
var tmp;
|
|
4176
4228
|
switch (rulesSetType.n2_1) {
|
|
4177
4229
|
case 0:
|
|
4178
|
-
tmp =
|
|
4230
|
+
tmp = Companion_instance_4.belot();
|
|
4179
4231
|
break;
|
|
4180
4232
|
case 1:
|
|
4181
|
-
tmp =
|
|
4233
|
+
tmp = Companion_instance_4.klabor();
|
|
4182
4234
|
break;
|
|
4183
4235
|
case 2:
|
|
4184
|
-
tmp =
|
|
4236
|
+
tmp = Companion_instance_4.debertzCommon();
|
|
4185
4237
|
break;
|
|
4186
4238
|
case 3:
|
|
4187
|
-
tmp =
|
|
4239
|
+
tmp = Companion_instance_4.kharkiv();
|
|
4188
4240
|
break;
|
|
4189
4241
|
case 4:
|
|
4190
|
-
tmp =
|
|
4242
|
+
tmp = Companion_instance_4.saltivka();
|
|
4191
4243
|
break;
|
|
4192
4244
|
case 5:
|
|
4193
4245
|
throw IllegalStateException_init_$Create$("You can't use default custom rule, you need to provide own one");
|
|
@@ -4201,16 +4253,16 @@
|
|
|
4201
4253
|
var tmp;
|
|
4202
4254
|
switch (name) {
|
|
4203
4255
|
case 'belot':
|
|
4204
|
-
tmp =
|
|
4256
|
+
tmp = Companion_instance_4.belot();
|
|
4205
4257
|
break;
|
|
4206
4258
|
case 'klabor':
|
|
4207
|
-
tmp =
|
|
4259
|
+
tmp = Companion_instance_4.klabor();
|
|
4208
4260
|
break;
|
|
4209
4261
|
case 'debertzCommon':
|
|
4210
|
-
tmp =
|
|
4262
|
+
tmp = Companion_instance_4.debertzCommon();
|
|
4211
4263
|
break;
|
|
4212
4264
|
case 'debertzKharkiv':
|
|
4213
|
-
tmp =
|
|
4265
|
+
tmp = Companion_instance_4.kharkiv();
|
|
4214
4266
|
break;
|
|
4215
4267
|
case 'custom':
|
|
4216
4268
|
throw IllegalStateException_init_$Create$("You can't use default custom rule, you need to provide own one");
|
|
@@ -4269,58 +4321,58 @@
|
|
|
4269
4321
|
function getRandomAvatarData_0($this) {
|
|
4270
4322
|
var avatarSetNumber = Default_getInstance().og(values().length);
|
|
4271
4323
|
var avatarSet = values()[avatarSetNumber];
|
|
4272
|
-
return new AvatarData(Default_getInstance().og(avatarSet.
|
|
4324
|
+
return new AvatarData(Default_getInstance().og(avatarSet.ndd()), avatarSet);
|
|
4273
4325
|
}
|
|
4274
4326
|
function getAvatarUrlByIndex($this, data) {
|
|
4275
4327
|
return mapToPattern($this, data);
|
|
4276
4328
|
}
|
|
4277
4329
|
function getNicknameByIndex($this, data) {
|
|
4278
|
-
return data.
|
|
4330
|
+
return data.pdd_1.qdd(data.odd_1);
|
|
4279
4331
|
}
|
|
4280
4332
|
function mapToPattern($this, data) {
|
|
4281
|
-
return 'debertz://raspberry.games/' + data.
|
|
4333
|
+
return 'debertz://raspberry.games/' + data.pdd_1.n2_1 + '/' + data.odd_1;
|
|
4282
4334
|
}
|
|
4283
4335
|
function Companion_2() {
|
|
4284
|
-
|
|
4285
|
-
this.
|
|
4336
|
+
Companion_instance_12 = this;
|
|
4337
|
+
this.rdd_1 = 'debertz://raspberry.games';
|
|
4286
4338
|
var tmp = this;
|
|
4287
4339
|
// Inline function 'kotlin.arrayOf' call
|
|
4288
4340
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4289
4341
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4290
|
-
tmp.
|
|
4342
|
+
tmp.sdd_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
4291
4343
|
var tmp_0 = this;
|
|
4292
4344
|
// Inline function 'kotlin.arrayOf' call
|
|
4293
4345
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4294
4346
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4295
|
-
tmp_0.
|
|
4347
|
+
tmp_0.tdd_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
|
|
4296
4348
|
var tmp_1 = this;
|
|
4297
4349
|
// Inline function 'kotlin.arrayOf' call
|
|
4298
4350
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4299
4351
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4300
|
-
tmp_1.
|
|
4352
|
+
tmp_1.udd_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
4301
4353
|
var tmp_2 = this;
|
|
4302
4354
|
// Inline function 'kotlin.arrayOf' call
|
|
4303
4355
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4304
4356
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4305
|
-
tmp_2.
|
|
4357
|
+
tmp_2.vdd_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
|
|
4306
4358
|
}
|
|
4307
|
-
var
|
|
4359
|
+
var Companion_instance_12;
|
|
4308
4360
|
function Companion_getInstance_5() {
|
|
4309
|
-
if (
|
|
4361
|
+
if (Companion_instance_12 == null)
|
|
4310
4362
|
new Companion_2();
|
|
4311
|
-
return
|
|
4363
|
+
return Companion_instance_12;
|
|
4312
4364
|
}
|
|
4313
4365
|
function AvatarSet(name, ordinal) {
|
|
4314
4366
|
Enum.call(this, name, ordinal);
|
|
4315
4367
|
}
|
|
4316
|
-
protoOf(AvatarSet).
|
|
4368
|
+
protoOf(AvatarSet).ndd = function () {
|
|
4317
4369
|
var tmp;
|
|
4318
4370
|
switch (this.n2_1) {
|
|
4319
4371
|
case 0:
|
|
4320
|
-
tmp = Companion_getInstance_5().
|
|
4372
|
+
tmp = Companion_getInstance_5().tdd_1.length;
|
|
4321
4373
|
break;
|
|
4322
4374
|
case 1:
|
|
4323
|
-
tmp = Companion_getInstance_5().
|
|
4375
|
+
tmp = Companion_getInstance_5().vdd_1.length;
|
|
4324
4376
|
break;
|
|
4325
4377
|
default:
|
|
4326
4378
|
noWhenBranchMatchedException();
|
|
@@ -4328,14 +4380,14 @@
|
|
|
4328
4380
|
}
|
|
4329
4381
|
return tmp;
|
|
4330
4382
|
};
|
|
4331
|
-
protoOf(AvatarSet).
|
|
4383
|
+
protoOf(AvatarSet).qdd = function (index) {
|
|
4332
4384
|
var tmp;
|
|
4333
4385
|
switch (this.n2_1) {
|
|
4334
4386
|
case 0:
|
|
4335
|
-
tmp = Companion_getInstance_5().
|
|
4387
|
+
tmp = Companion_getInstance_5().tdd_1[index];
|
|
4336
4388
|
break;
|
|
4337
4389
|
case 1:
|
|
4338
|
-
tmp = Companion_getInstance_5().
|
|
4390
|
+
tmp = Companion_getInstance_5().vdd_1[index];
|
|
4339
4391
|
break;
|
|
4340
4392
|
default:
|
|
4341
4393
|
noWhenBranchMatchedException();
|
|
@@ -4344,8 +4396,8 @@
|
|
|
4344
4396
|
return tmp;
|
|
4345
4397
|
};
|
|
4346
4398
|
function AvatarData(index, avatarSet) {
|
|
4347
|
-
this.
|
|
4348
|
-
this.
|
|
4399
|
+
this.odd_1 = index;
|
|
4400
|
+
this.pdd_1 = avatarSet;
|
|
4349
4401
|
}
|
|
4350
4402
|
function AvatarSet_ORIGIN_getInstance() {
|
|
4351
4403
|
AvatarSet_initEntries();
|
|
@@ -4358,7 +4410,7 @@
|
|
|
4358
4410
|
function GameResourcesImpl() {
|
|
4359
4411
|
Companion_getInstance_5();
|
|
4360
4412
|
}
|
|
4361
|
-
protoOf(GameResourcesImpl).
|
|
4413
|
+
protoOf(GameResourcesImpl).kdd = function (playerId, existingNicknames) {
|
|
4362
4414
|
var data = getRandomAvatarData(this, existingNicknames);
|
|
4363
4415
|
return new GameUserInfo(playerId, getNicknameByIndex(this, data), getAvatarUrlByIndex(this, data), true);
|
|
4364
4416
|
};
|
|
@@ -4396,30 +4448,30 @@
|
|
|
4396
4448
|
}
|
|
4397
4449
|
function _get_controllerLogger__nbd727($this) {
|
|
4398
4450
|
// Inline function 'kotlin.getValue' call
|
|
4399
|
-
var this_0 = $this.
|
|
4451
|
+
var this_0 = $this.dde_1;
|
|
4400
4452
|
controllerLogger$factory();
|
|
4401
4453
|
return this_0.u();
|
|
4402
4454
|
}
|
|
4403
4455
|
function _get_di__ndbzja($this) {
|
|
4404
4456
|
// Inline function 'kotlin.getValue' call
|
|
4405
|
-
var this_0 = $this.
|
|
4457
|
+
var this_0 = $this.ede_1;
|
|
4406
4458
|
di$factory();
|
|
4407
4459
|
return this_0.u();
|
|
4408
4460
|
}
|
|
4409
4461
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
4410
|
-
var tmp =
|
|
4462
|
+
var tmp = Companion_instance_5;
|
|
4411
4463
|
return tmp.a62(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
|
|
4412
4464
|
}
|
|
4413
4465
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
4414
4466
|
return function () {
|
|
4415
4467
|
var tmp;
|
|
4416
|
-
if (this$0.
|
|
4468
|
+
if (this$0.bde_1 == null) {
|
|
4417
4469
|
tmp = null;
|
|
4418
4470
|
} else {
|
|
4419
4471
|
// Inline function 'kotlin.let' call
|
|
4420
4472
|
// Inline function 'kotlin.contracts.contract' call
|
|
4421
4473
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
4422
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4474
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.bde_1)]));
|
|
4423
4475
|
}
|
|
4424
4476
|
var tmp1_elvis_lhs = tmp;
|
|
4425
4477
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4447,27 +4499,27 @@
|
|
|
4447
4499
|
tmp_0.p65(tmp$ret$3);
|
|
4448
4500
|
$this$DI.t61(jsonModule());
|
|
4449
4501
|
$this$DI.t61(serverHelpersModule());
|
|
4450
|
-
$this$DI.t61(randomOrgModule(this$0.
|
|
4502
|
+
$this$DI.t61(randomOrgModule(this$0.cde_1));
|
|
4451
4503
|
return Unit_instance;
|
|
4452
4504
|
};
|
|
4453
4505
|
}
|
|
4454
4506
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
4455
4507
|
return function () {
|
|
4456
|
-
var tmp =
|
|
4508
|
+
var tmp = Companion_instance_5;
|
|
4457
4509
|
return tmp.a62(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
4458
4510
|
};
|
|
4459
4511
|
}
|
|
4460
4512
|
function _no_name_provided__qut3iv_4($item) {
|
|
4461
|
-
this.
|
|
4513
|
+
this.kde_1 = $item;
|
|
4462
4514
|
}
|
|
4463
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4515
|
+
protoOf(_no_name_provided__qut3iv_4).c6o = function (action) {
|
|
4464
4516
|
return isInterface(action, Action);
|
|
4465
4517
|
};
|
|
4466
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4467
|
-
return this.
|
|
4518
|
+
protoOf(_no_name_provided__qut3iv_4).y9j = function (state, action) {
|
|
4519
|
+
return this.kde_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4468
4520
|
};
|
|
4469
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4470
|
-
return this.
|
|
4521
|
+
protoOf(_no_name_provided__qut3iv_4).u6p = function (state, action) {
|
|
4522
|
+
return this.y9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4471
4523
|
};
|
|
4472
4524
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4473
4525
|
return function ($this$singleton) {
|
|
@@ -4524,10 +4576,10 @@
|
|
|
4524
4576
|
}
|
|
4525
4577
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4526
4578
|
return function (it) {
|
|
4527
|
-
var tmp0_elvis_lhs =
|
|
4579
|
+
var tmp0_elvis_lhs = Companion_instance_6.u9o(it);
|
|
4528
4580
|
var tmp;
|
|
4529
4581
|
if (tmp0_elvis_lhs == null) {
|
|
4530
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4582
|
+
var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
|
|
4531
4583
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
4532
4584
|
} else {
|
|
4533
4585
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4537,10 +4589,10 @@
|
|
|
4537
4589
|
}
|
|
4538
4590
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4539
4591
|
return function (it) {
|
|
4540
|
-
var tmp0_elvis_lhs =
|
|
4592
|
+
var tmp0_elvis_lhs = Companion_instance_7.f9n(it);
|
|
4541
4593
|
var tmp;
|
|
4542
4594
|
if (tmp0_elvis_lhs == null) {
|
|
4543
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4595
|
+
var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
|
|
4544
4596
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
4545
4597
|
} else {
|
|
4546
4598
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4559,7 +4611,7 @@
|
|
|
4559
4611
|
// Inline function 'kotlin.contracts.contract' call
|
|
4560
4612
|
$this$DI.t61(tmp0_safe_receiver);
|
|
4561
4613
|
}
|
|
4562
|
-
$this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4614
|
+
$this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.cde_1));
|
|
4563
4615
|
$this$DI.t61(coreModule($coreConfig));
|
|
4564
4616
|
$this$DI.t61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4565
4617
|
return Unit_instance;
|
|
@@ -4568,76 +4620,76 @@
|
|
|
4568
4620
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4569
4621
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4570
4622
|
production = production === VOID ? true : production;
|
|
4571
|
-
this.
|
|
4572
|
-
this.
|
|
4573
|
-
AppEnvironment_getInstance().
|
|
4623
|
+
this.bde_1 = loggerCallback;
|
|
4624
|
+
this.cde_1 = randomOrgConfig;
|
|
4625
|
+
AppEnvironment_getInstance().l6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4574
4626
|
var tmp = this;
|
|
4575
|
-
tmp.
|
|
4627
|
+
tmp.dde_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
4576
4628
|
var tmp_0 = this;
|
|
4577
|
-
tmp_0.
|
|
4629
|
+
tmp_0.ede_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4578
4630
|
var tmp_1 = this;
|
|
4579
4631
|
// Inline function 'org.kodein.di.instance' call
|
|
4580
4632
|
var this_0 = _get_di__ndbzja(this);
|
|
4581
4633
|
// Inline function 'org.kodein.type.generic' call
|
|
4582
4634
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4583
4635
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4584
|
-
tmp_1.
|
|
4636
|
+
tmp_1.fde_1 = Instance(this_0, tmp$ret$0, null).m67(this, parser$factory());
|
|
4585
4637
|
var tmp_3 = this;
|
|
4586
4638
|
// Inline function 'org.kodein.di.instance' call
|
|
4587
4639
|
var this_1 = _get_di__ndbzja(this);
|
|
4588
4640
|
// Inline function 'org.kodein.type.generic' call
|
|
4589
4641
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4590
4642
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4591
|
-
tmp_3.
|
|
4643
|
+
tmp_3.gde_1 = Instance(this_1, tmp$ret$2, null).m67(this, helper$factory());
|
|
4592
4644
|
var tmp_5 = this;
|
|
4593
4645
|
// Inline function 'org.kodein.di.instance' call
|
|
4594
4646
|
var this_2 = _get_di__ndbzja(this);
|
|
4595
4647
|
// Inline function 'org.kodein.type.generic' call
|
|
4596
4648
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4597
4649
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4598
|
-
tmp_5.
|
|
4650
|
+
tmp_5.hde_1 = Instance(this_2, tmp$ret$4, null).m67(this, resources$factory());
|
|
4599
4651
|
var tmp_7 = this;
|
|
4600
4652
|
// Inline function 'org.kodein.di.instance' call
|
|
4601
4653
|
var this_3 = _get_di__ndbzja(this);
|
|
4602
4654
|
// Inline function 'org.kodein.type.generic' call
|
|
4603
4655
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4604
4656
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4605
|
-
tmp_7.
|
|
4657
|
+
tmp_7.ide_1 = Instance(this_3, tmp$ret$6, null).m67(this, test$factory());
|
|
4606
4658
|
var tmp_9 = this;
|
|
4607
4659
|
// Inline function 'org.kodein.di.instance' call
|
|
4608
4660
|
var this_4 = _get_di__ndbzja(this);
|
|
4609
4661
|
// Inline function 'org.kodein.type.generic' call
|
|
4610
4662
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4611
4663
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4612
|
-
tmp_9.
|
|
4664
|
+
tmp_9.jde_1 = Instance(this_4, tmp$ret$8, null).m67(this, randomPoolProvider$factory());
|
|
4613
4665
|
}
|
|
4614
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4666
|
+
protoOf(GameServerEngineControllerImpl).id1 = function () {
|
|
4615
4667
|
// Inline function 'kotlin.getValue' call
|
|
4616
|
-
var this_0 = this.
|
|
4668
|
+
var this_0 = this.fde_1;
|
|
4617
4669
|
parser$factory_0();
|
|
4618
4670
|
return this_0.u();
|
|
4619
4671
|
};
|
|
4620
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4672
|
+
protoOf(GameServerEngineControllerImpl).xdd = function () {
|
|
4621
4673
|
// Inline function 'kotlin.getValue' call
|
|
4622
|
-
var this_0 = this.
|
|
4674
|
+
var this_0 = this.gde_1;
|
|
4623
4675
|
helper$factory_0();
|
|
4624
4676
|
return this_0.u();
|
|
4625
4677
|
};
|
|
4626
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4678
|
+
protoOf(GameServerEngineControllerImpl).ydd = function () {
|
|
4627
4679
|
// Inline function 'kotlin.getValue' call
|
|
4628
|
-
var this_0 = this.
|
|
4680
|
+
var this_0 = this.hde_1;
|
|
4629
4681
|
resources$factory_0();
|
|
4630
4682
|
return this_0.u();
|
|
4631
4683
|
};
|
|
4632
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4684
|
+
protoOf(GameServerEngineControllerImpl).wdd = function () {
|
|
4633
4685
|
// Inline function 'kotlin.getValue' call
|
|
4634
|
-
var this_0 = this.
|
|
4686
|
+
var this_0 = this.ide_1;
|
|
4635
4687
|
test$factory_0();
|
|
4636
4688
|
return this_0.u();
|
|
4637
4689
|
};
|
|
4638
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4690
|
+
protoOf(GameServerEngineControllerImpl).zdd = function () {
|
|
4639
4691
|
// Inline function 'kotlin.getValue' call
|
|
4640
|
-
var this_0 = this.
|
|
4692
|
+
var this_0 = this.jde_1;
|
|
4641
4693
|
randomPoolProvider$factory_0();
|
|
4642
4694
|
return this_0.u();
|
|
4643
4695
|
};
|
|
@@ -4647,8 +4699,8 @@
|
|
|
4647
4699
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4648
4700
|
return this.createGameEngineWithLogic();
|
|
4649
4701
|
};
|
|
4650
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4651
|
-
var combinedLogger =
|
|
4702
|
+
protoOf(GameServerEngineControllerImpl).ade = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4703
|
+
var combinedLogger = Companion_instance_8.qm();
|
|
4652
4704
|
var tmp;
|
|
4653
4705
|
if (coreConfig.fileLogsEnabled) {
|
|
4654
4706
|
tmp = new FileLoggerOutputImpl();
|
|
@@ -4657,8 +4709,8 @@
|
|
|
4657
4709
|
}
|
|
4658
4710
|
var fileLoggerOutput = tmp;
|
|
4659
4711
|
var tmp_0;
|
|
4660
|
-
if (!(this.
|
|
4661
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4712
|
+
if (!(this.bde_1 == null)) {
|
|
4713
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.bde_1));
|
|
4662
4714
|
} else {
|
|
4663
4715
|
tmp_0 = null;
|
|
4664
4716
|
}
|
|
@@ -4701,12 +4753,12 @@
|
|
|
4701
4753
|
var gameServer = tmp_1.d63(tmp$ret$7, null);
|
|
4702
4754
|
if (!(fileLoggerOutput == null)) {
|
|
4703
4755
|
var tmp_3 = fileLoggerOutput;
|
|
4704
|
-
tmp_3.
|
|
4756
|
+
tmp_3.j9o_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4705
4757
|
combinedLogger.sm(fileLoggerOutput);
|
|
4706
4758
|
}
|
|
4707
4759
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4708
4760
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4709
|
-
tmp_4.
|
|
4761
|
+
tmp_4.h9n_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4710
4762
|
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
4711
4763
|
}
|
|
4712
4764
|
return gameServer;
|
|
@@ -4816,13 +4868,13 @@
|
|
|
4816
4868
|
}
|
|
4817
4869
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
4818
4870
|
// Inline function 'kotlin.getValue' call
|
|
4819
|
-
var this_0 = $this.
|
|
4871
|
+
var this_0 = $this.nde_1;
|
|
4820
4872
|
playerAnswerInteractor$factory_0();
|
|
4821
4873
|
return this_0.u();
|
|
4822
4874
|
}
|
|
4823
4875
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
4824
4876
|
return function ($this$singleton) {
|
|
4825
|
-
return this$0.
|
|
4877
|
+
return this$0.lde_1;
|
|
4826
4878
|
};
|
|
4827
4879
|
}
|
|
4828
4880
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -4851,20 +4903,20 @@
|
|
|
4851
4903
|
return emptyMap();
|
|
4852
4904
|
}
|
|
4853
4905
|
function TestHelperImpl(logger) {
|
|
4854
|
-
this.
|
|
4906
|
+
this.lde_1 = logger;
|
|
4855
4907
|
var tmp = this;
|
|
4856
|
-
var tmp_0 =
|
|
4857
|
-
tmp.
|
|
4908
|
+
var tmp_0 = Companion_instance_5;
|
|
4909
|
+
tmp.mde_1 = tmp_0.a62(VOID, TestHelperImpl$di$lambda(this));
|
|
4858
4910
|
var tmp_1 = this;
|
|
4859
4911
|
// Inline function 'org.kodein.di.instance' call
|
|
4860
|
-
var this_0 = this.
|
|
4912
|
+
var this_0 = this.mde_1;
|
|
4861
4913
|
// Inline function 'org.kodein.type.generic' call
|
|
4862
4914
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
4863
4915
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4864
|
-
tmp_1.
|
|
4916
|
+
tmp_1.nde_1 = Instance(this_0, tmp$ret$0, null).m67(this, playerAnswerInteractor$factory());
|
|
4865
4917
|
}
|
|
4866
4918
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
4867
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
4919
|
+
return _get_playerAnswerInteractor__msggz1(this).o8z(playerId, table, botConfig);
|
|
4868
4920
|
};
|
|
4869
4921
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
4870
4922
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -4872,7 +4924,7 @@
|
|
|
4872
4924
|
var tmp$ret$0;
|
|
4873
4925
|
$l$block_0: {
|
|
4874
4926
|
// Inline function 'kotlin.collections.any' call
|
|
4875
|
-
var this_0 = mechanicAction.
|
|
4927
|
+
var this_0 = mechanicAction.a9a();
|
|
4876
4928
|
var tmp;
|
|
4877
4929
|
if (isInterface(this_0, Collection)) {
|
|
4878
4930
|
tmp = this_0.p();
|
|
@@ -4905,7 +4957,7 @@
|
|
|
4905
4957
|
var tmp$ret$0;
|
|
4906
4958
|
$l$block_0: {
|
|
4907
4959
|
// Inline function 'kotlin.collections.any' call
|
|
4908
|
-
var this_0 = action.
|
|
4960
|
+
var this_0 = action.a9a();
|
|
4909
4961
|
var tmp;
|
|
4910
4962
|
if (isInterface(this_0, Collection)) {
|
|
4911
4963
|
tmp = this_0.p();
|
|
@@ -4947,9 +4999,11 @@
|
|
|
4947
4999
|
return Module_init_$Create$('Server helpers Module', VOID, VOID, serverHelpersModule$lambda);
|
|
4948
5000
|
}
|
|
4949
5001
|
function serverHelpersModule$lambda($this$Module) {
|
|
5002
|
+
$this$Module.t61(get_ratingModule());
|
|
5003
|
+
$this$Module.t61(engineHelpersModule());
|
|
4950
5004
|
// Inline function 'org.kodein.di.bind' call
|
|
4951
5005
|
// Inline function 'org.kodein.type.generic' call
|
|
4952
|
-
var tmp = typeToken(createKType(getKClass(
|
|
5006
|
+
var tmp = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4953
5007
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4954
5008
|
var tmp_0 = $this$Module.r61(tmp$ret$0, null, null);
|
|
4955
5009
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -4958,13 +5012,13 @@
|
|
|
4958
5012
|
var tmp_2 = $this$Module.u61();
|
|
4959
5013
|
var tmp_3 = $this$Module.v61();
|
|
4960
5014
|
// Inline function 'org.kodein.type.generic' call
|
|
4961
|
-
var tmp_4 = typeToken(createKType(getKClass(
|
|
5015
|
+
var tmp_4 = typeToken(createKType(getKClass(GameHelperImpl), arrayOf([]), false));
|
|
4962
5016
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4963
5017
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
4964
5018
|
tmp_0.p65(tmp$ret$3);
|
|
4965
5019
|
// Inline function 'org.kodein.di.bind' call
|
|
4966
5020
|
// Inline function 'org.kodein.type.generic' call
|
|
4967
|
-
var tmp_5 = typeToken(createKType(getKClass(
|
|
5021
|
+
var tmp_5 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4968
5022
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4969
5023
|
var tmp_6 = $this$Module.r61(tmp$ret$4, null, null);
|
|
4970
5024
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -4973,13 +5027,13 @@
|
|
|
4973
5027
|
var tmp_8 = $this$Module.u61();
|
|
4974
5028
|
var tmp_9 = $this$Module.v61();
|
|
4975
5029
|
// Inline function 'org.kodein.type.generic' call
|
|
4976
|
-
var tmp_10 = typeToken(createKType(getKClass(
|
|
5030
|
+
var tmp_10 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
|
|
4977
5031
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4978
5032
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
4979
5033
|
tmp_6.p65(tmp$ret$7);
|
|
4980
5034
|
// Inline function 'org.kodein.di.bind' call
|
|
4981
5035
|
// Inline function 'org.kodein.type.generic' call
|
|
4982
|
-
var tmp_11 = typeToken(createKType(getKClass(
|
|
5036
|
+
var tmp_11 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4983
5037
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
4984
5038
|
var tmp_12 = $this$Module.r61(tmp$ret$8, null, null);
|
|
4985
5039
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -4988,46 +5042,16 @@
|
|
|
4988
5042
|
var tmp_14 = $this$Module.u61();
|
|
4989
5043
|
var tmp_15 = $this$Module.v61();
|
|
4990
5044
|
// Inline function 'org.kodein.type.generic' call
|
|
4991
|
-
var tmp_16 = typeToken(createKType(getKClass(
|
|
5045
|
+
var tmp_16 = typeToken(createKType(getKClass(GameResourcesImpl), arrayOf([]), false));
|
|
4992
5046
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4993
5047
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
4994
5048
|
tmp_12.p65(tmp$ret$11);
|
|
4995
|
-
// Inline function 'org.kodein.di.bind' call
|
|
4996
|
-
// Inline function 'org.kodein.type.generic' call
|
|
4997
|
-
var tmp_17 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4998
|
-
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4999
|
-
var tmp_18 = $this$Module.r61(tmp$ret$12, null, null);
|
|
5000
|
-
// Inline function 'org.kodein.di.singleton' call
|
|
5001
|
-
var creator_2 = serverHelpersModule$lambda$lambda_2;
|
|
5002
|
-
var tmp_19 = $this$Module.w61();
|
|
5003
|
-
var tmp_20 = $this$Module.u61();
|
|
5004
|
-
var tmp_21 = $this$Module.v61();
|
|
5005
|
-
// Inline function 'org.kodein.type.generic' call
|
|
5006
|
-
var tmp_22 = typeToken(createKType(getKClass(GameResourcesImpl), arrayOf([]), false));
|
|
5007
|
-
var tmp$ret$14 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5008
|
-
var tmp$ret$15 = new Singleton(tmp_19, tmp_20, tmp_21, tmp$ret$14, null, true, creator_2);
|
|
5009
|
-
tmp_18.p65(tmp$ret$15);
|
|
5010
5049
|
return Unit_instance;
|
|
5011
5050
|
}
|
|
5012
5051
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
5013
|
-
// Inline function 'org.kodein.di.instance' call
|
|
5014
|
-
var tmp = $this$singleton.e63();
|
|
5015
|
-
// Inline function 'org.kodein.type.generic' call
|
|
5016
|
-
var tmp_0 = typeToken(createKType(getKClass(Json), arrayOf([]), false));
|
|
5017
|
-
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5018
|
-
var tmp_1 = tmp.d63(tmp$ret$0, null);
|
|
5019
|
-
// Inline function 'org.kodein.di.instance' call
|
|
5020
|
-
var tmp_2 = $this$singleton.e63();
|
|
5021
|
-
// Inline function 'org.kodein.type.generic' call
|
|
5022
|
-
var tmp_3 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
|
|
5023
|
-
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
5024
|
-
var tmp$ret$3 = tmp_2.d63(tmp$ret$2, null);
|
|
5025
|
-
return new ParserHelperImpl(tmp_1, tmp$ret$3);
|
|
5026
|
-
}
|
|
5027
|
-
function serverHelpersModule$lambda$lambda_0($this$singleton) {
|
|
5028
5052
|
return new GameHelperImpl();
|
|
5029
5053
|
}
|
|
5030
|
-
function serverHelpersModule$lambda$
|
|
5054
|
+
function serverHelpersModule$lambda$lambda_0($this$singleton) {
|
|
5031
5055
|
// Inline function 'org.kodein.di.instance' call
|
|
5032
5056
|
var tmp = $this$singleton.e63();
|
|
5033
5057
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5036,7 +5060,7 @@
|
|
|
5036
5060
|
var tmp$ret$1 = tmp.d63(tmp$ret$0, null);
|
|
5037
5061
|
return new TestHelperImpl(tmp$ret$1);
|
|
5038
5062
|
}
|
|
5039
|
-
function serverHelpersModule$lambda$
|
|
5063
|
+
function serverHelpersModule$lambda$lambda_1($this$singleton) {
|
|
5040
5064
|
return new GameResourcesImpl();
|
|
5041
5065
|
}
|
|
5042
5066
|
//region block: post-declaration
|
|
@@ -5047,48 +5071,48 @@
|
|
|
5047
5071
|
return this.w5o();
|
|
5048
5072
|
});
|
|
5049
5073
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5050
|
-
return this.
|
|
5074
|
+
return this.f6x();
|
|
5051
5075
|
});
|
|
5052
5076
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5053
|
-
return this.
|
|
5077
|
+
return this.g6x();
|
|
5054
5078
|
});
|
|
5055
5079
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5056
|
-
return this.
|
|
5080
|
+
return this.h6x();
|
|
5057
5081
|
});
|
|
5058
|
-
protoOf(UpdateServerConfigAction).
|
|
5082
|
+
protoOf(UpdateServerConfigAction).p6n = get_actionTag;
|
|
5059
5083
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5060
|
-
return this.
|
|
5084
|
+
return this.p6n();
|
|
5061
5085
|
});
|
|
5062
|
-
protoOf(AddSpectatorsAction).
|
|
5086
|
+
protoOf(AddSpectatorsAction).p6n = get_actionTag;
|
|
5063
5087
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5064
|
-
return this.
|
|
5088
|
+
return this.p6n();
|
|
5065
5089
|
});
|
|
5066
|
-
protoOf(RemoveSpectatorsAction).
|
|
5090
|
+
protoOf(RemoveSpectatorsAction).p6n = get_actionTag;
|
|
5067
5091
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5068
|
-
return this.
|
|
5092
|
+
return this.p6n();
|
|
5069
5093
|
});
|
|
5070
5094
|
protoOf(GameResourcesImpl).createBotUser = createBotUser;
|
|
5071
5095
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5072
5096
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5073
|
-
return this.
|
|
5097
|
+
return this.id1();
|
|
5074
5098
|
});
|
|
5075
5099
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5076
|
-
return this.
|
|
5100
|
+
return this.xdd();
|
|
5077
5101
|
});
|
|
5078
5102
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5079
|
-
return this.
|
|
5103
|
+
return this.ydd();
|
|
5080
5104
|
});
|
|
5081
5105
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5082
|
-
return this.
|
|
5106
|
+
return this.wdd();
|
|
5083
5107
|
});
|
|
5084
5108
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5085
|
-
return this.
|
|
5109
|
+
return this.zdd();
|
|
5086
5110
|
});
|
|
5087
5111
|
//endregion
|
|
5088
5112
|
//region block: init
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5113
|
+
Companion_instance_9 = new Companion();
|
|
5114
|
+
Companion_instance_10 = new Companion_0();
|
|
5115
|
+
Companion_instance_11 = new Companion_1();
|
|
5092
5116
|
//endregion
|
|
5093
5117
|
//region block: exports
|
|
5094
5118
|
function $jsExportAll$(_) {
|