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