client_plugin_logic_deb 1.8.232 → 1.8.244
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-Kaverit-kaverit.js +82 -82
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +735 -730
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1556 -1521
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +12 -7
- package/Logic_Debertz-client_plugin.js +4688 -4686
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2098 -2098
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +16021 -15859
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +10716 -10633
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1204 -1168
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2322 -2585
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -25
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3156 -3162
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +978 -577
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2026 -2047
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1556 -1556
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +219 -219
- package/ktor-ktor-client-core.js +2533 -2533
- package/ktor-ktor-client-logging.js +553 -553
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http.js +747 -747
- package/ktor-ktor-io.js +1650 -1650
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +273 -273
- package/ktor-ktor-serialization.js +131 -131
- package/ktor-ktor-utils.js +727 -727
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +60 -60
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +272 -272
- package/raspberry-cardgame-lib-logger.js +102 -102
- package/raspberry-cardgame-lib-random.js +987 -986
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +20 -20
- package/uuid.js +32 -32
|
@@ -40,253 +40,256 @@
|
|
|
40
40
|
'use strict';
|
|
41
41
|
//region block: imports
|
|
42
42
|
var imul = Math.imul;
|
|
43
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
44
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
45
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
46
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
47
|
-
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
48
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
43
|
+
var CoroutineImpl = kotlin_kotlin.$_$.va;
|
|
44
|
+
var Unit_instance = kotlin_kotlin.$_$.p5;
|
|
45
|
+
var protoOf = kotlin_kotlin.$_$.uc;
|
|
46
|
+
var THROW_CCE = kotlin_kotlin.$_$.sg;
|
|
47
|
+
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
|
|
48
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.xb;
|
|
49
49
|
var VOID = kotlin_kotlin.$_$.f;
|
|
50
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
51
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
52
|
-
var equals = kotlin_kotlin.$_$.
|
|
53
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
54
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
|
|
51
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
|
|
52
|
+
var equals = kotlin_kotlin.$_$.lb;
|
|
53
|
+
var FunctionAdapter = kotlin_kotlin.$_$.za;
|
|
54
|
+
var isInterface = kotlin_kotlin.$_$.hc;
|
|
55
55
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
56
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
57
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
56
|
+
var hashCode = kotlin_kotlin.$_$.sb;
|
|
57
|
+
var initMetadataForClass = kotlin_kotlin.$_$.tb;
|
|
58
58
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o1;
|
|
59
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
59
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
|
|
60
60
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
61
61
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
62
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
62
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
|
|
63
|
+
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
|
|
63
64
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
64
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
65
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
|
|
65
66
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
|
|
66
67
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
|
|
67
|
-
var toList = kotlin_kotlin.$_$.
|
|
68
|
+
var toList = kotlin_kotlin.$_$.t9;
|
|
68
69
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.p;
|
|
69
70
|
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.t5;
|
|
71
|
+
var toMutableList = kotlin_kotlin.$_$.w9;
|
|
70
72
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
71
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
73
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
|
|
72
74
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
73
75
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
|
|
74
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
75
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
76
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
76
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
|
|
77
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
|
|
78
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
|
|
77
79
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
78
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
80
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.qa;
|
|
79
81
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
80
82
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
|
|
81
83
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
|
|
82
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
83
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
84
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
|
|
85
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
|
|
86
|
+
var emptyList = kotlin_kotlin.$_$.n7;
|
|
85
87
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
86
88
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
87
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
89
|
+
var arrayOf = kotlin_kotlin.$_$.gh;
|
|
88
90
|
var createKType = kotlin_kotlin.$_$.b;
|
|
89
91
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
90
92
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
91
93
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
92
|
-
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
93
|
-
var
|
|
94
|
-
var
|
|
95
|
-
var
|
|
96
|
-
var
|
|
97
|
-
var
|
|
98
|
-
var
|
|
99
|
-
var
|
|
100
|
-
var
|
|
101
|
-
var
|
|
94
|
+
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
95
|
+
var CustomRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
96
|
+
var plus = kotlin_kotlin.$_$.z8;
|
|
97
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
|
|
98
|
+
var defineProp = kotlin_kotlin.$_$.kb;
|
|
99
|
+
var KProperty1 = kotlin_kotlin.$_$.pd;
|
|
100
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
101
|
+
var to = kotlin_kotlin.$_$.xh;
|
|
102
|
+
var mapOf = kotlin_kotlin.$_$.t8;
|
|
103
|
+
var Enum = kotlin_kotlin.$_$.hg;
|
|
104
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ob;
|
|
102
105
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
103
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
106
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
|
|
104
107
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
|
|
105
108
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
106
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
109
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.p8;
|
|
107
110
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
108
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
111
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
|
|
109
112
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
110
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
|
|
111
114
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
|
|
112
|
-
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
-
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
114
|
-
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
115
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
116
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
117
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
115
|
+
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
116
|
+
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
117
|
+
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
118
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
|
|
119
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
|
|
120
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.wb;
|
|
118
121
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
119
122
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
120
123
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
121
|
-
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
122
|
-
var single = kotlin_kotlin.$_$.
|
|
123
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
124
|
-
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
125
|
-
var toString = kotlin_kotlin.$_$.
|
|
126
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
127
|
-
var KtList = kotlin_kotlin.$_$.
|
|
124
|
+
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
|
|
125
|
+
var single = kotlin_kotlin.$_$.i9;
|
|
126
|
+
var copyToArray = kotlin_kotlin.$_$.i7;
|
|
127
|
+
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
|
|
128
|
+
var toString = kotlin_kotlin.$_$.yc;
|
|
129
|
+
var getStringHashCode = kotlin_kotlin.$_$.rb;
|
|
130
|
+
var KtList = kotlin_kotlin.$_$.x5;
|
|
128
131
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
129
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
130
|
-
var Long = kotlin_kotlin.$_$.
|
|
132
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.vb;
|
|
133
|
+
var Long = kotlin_kotlin.$_$.mg;
|
|
131
134
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
132
135
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
133
136
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
134
137
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
135
|
-
var toLong = kotlin_kotlin.$_$.
|
|
138
|
+
var toLong = kotlin_kotlin.$_$.wc;
|
|
136
139
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
137
140
|
var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
138
141
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
139
142
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
140
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
141
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
142
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
143
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
144
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
143
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
|
|
144
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
|
|
145
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
|
|
146
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
|
|
147
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
|
|
145
148
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.d2;
|
|
146
|
-
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
147
|
-
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
148
|
-
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
149
|
-
var listOf = kotlin_kotlin.$_$.
|
|
150
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
151
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
152
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
153
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
154
|
-
var listOfNotNull_0 = kotlin_kotlin.$_$.
|
|
155
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
156
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
157
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
158
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
159
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
160
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
149
|
+
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
150
|
+
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
151
|
+
var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r4;
|
|
152
|
+
var listOf = kotlin_kotlin.$_$.q8;
|
|
153
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
|
|
154
|
+
var listOfNotNull = kotlin_kotlin.$_$.n8;
|
|
155
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
|
|
156
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.t7;
|
|
157
|
+
var listOfNotNull_0 = kotlin_kotlin.$_$.o8;
|
|
158
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
|
|
159
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.w7;
|
|
160
|
+
var listOf_0 = kotlin_kotlin.$_$.p8;
|
|
161
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
|
|
162
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
|
|
163
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b6;
|
|
161
164
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
|
|
162
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
163
|
-
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
|
|
166
|
+
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
|
|
167
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
|
|
168
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
|
|
166
169
|
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
|
|
167
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
168
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
169
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
170
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
171
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
172
|
-
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
173
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
174
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
175
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
176
|
-
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
177
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
178
|
-
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
179
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
180
|
-
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
181
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
-
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
170
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
|
|
171
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
|
|
172
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
|
|
173
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
|
|
174
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
|
|
175
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
|
|
176
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
|
|
177
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
|
|
178
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
|
|
179
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e6;
|
|
180
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
|
|
181
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c7;
|
|
182
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.z5;
|
|
183
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
|
|
184
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
|
|
185
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
|
|
183
186
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
184
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
185
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
-
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
187
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
188
|
-
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
189
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
190
|
-
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
191
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
192
|
-
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
193
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
-
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
195
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
196
|
-
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
-
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
199
|
-
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
-
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
-
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
202
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
203
|
-
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
187
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
|
|
188
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.p9;
|
|
189
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
|
|
190
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
|
|
191
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
|
|
192
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
|
|
193
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
|
|
194
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
|
|
195
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
|
|
196
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
|
|
197
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
|
|
198
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
|
|
199
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
|
|
200
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
|
|
201
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i6;
|
|
202
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
|
|
203
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
|
|
204
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
|
|
205
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
|
|
206
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
|
|
204
207
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
205
208
|
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
|
|
206
209
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.d5;
|
|
207
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
210
|
+
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
208
211
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
209
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
210
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
211
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
212
|
+
var toDuration = kotlin_kotlin.$_$.zf;
|
|
213
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
|
|
214
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.k9;
|
|
212
215
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
213
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
214
|
-
var Collection = kotlin_kotlin.$_$.
|
|
215
|
-
var toSet = kotlin_kotlin.$_$.
|
|
216
|
+
var singleOrNull = kotlin_kotlin.$_$.h9;
|
|
217
|
+
var Collection = kotlin_kotlin.$_$.r5;
|
|
218
|
+
var toSet = kotlin_kotlin.$_$.z9;
|
|
216
219
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
217
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
218
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
219
|
-
var isArray = kotlin_kotlin.$_$.
|
|
220
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
|
|
221
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
222
|
+
var isArray = kotlin_kotlin.$_$.zb;
|
|
220
223
|
var get_entries = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
221
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
222
|
-
var get_entries_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
223
|
-
var get_entries_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
224
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
225
|
+
var get_entries_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
226
|
+
var get_entries_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
224
227
|
var getUserProfilePayloadOrNull = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
225
|
-
var BotIntelligenceLevel_SUPER_HARD_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
226
|
-
var Options = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
-
var Config = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
228
|
-
var PointsMode_SMALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
229
|
-
var PointsMode_MEDIUM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
230
|
-
var PointsMode_BIG_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
231
|
-
var PointsMode_TEST_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
232
|
-
var PlayersMode_TWO_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
233
|
-
var PlayersMode_THREE_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
234
|
-
var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
235
|
-
var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
228
|
+
var BotIntelligenceLevel_SUPER_HARD_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.b9;
|
|
229
|
+
var Options = kotlin_io_raspberryapps_game_engine_engine.$_$.j3;
|
|
230
|
+
var Config = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
|
|
231
|
+
var PointsMode_SMALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i9;
|
|
232
|
+
var PointsMode_MEDIUM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.h9;
|
|
233
|
+
var PointsMode_BIG_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.g9;
|
|
234
|
+
var PointsMode_TEST_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j9;
|
|
235
|
+
var PlayersMode_TWO_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.f9;
|
|
236
|
+
var PlayersMode_THREE_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.e9;
|
|
237
|
+
var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.d9;
|
|
238
|
+
var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.c9;
|
|
236
239
|
var Rules = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
237
240
|
var mapOfObject = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
|
|
238
|
-
var toRoundContractType = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
239
|
-
var Companion_getInstance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
240
|
-
var toBidType = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
241
|
+
var toRoundContractType = kotlin_io_raspberryapps_game_engine_engine.$_$.w2;
|
|
242
|
+
var Companion_getInstance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.r9;
|
|
243
|
+
var toBidType = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
241
244
|
var mapToCombinationType = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
|
|
242
|
-
var Companion_getInstance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
243
|
-
var toPointsDistributeMode = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
244
|
-
var PointsDistributeMode_HIGHEST_PLAYER_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
-
var PointsDistributeMode_ALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
246
|
-
var getValue = kotlin_kotlin.$_$.
|
|
247
|
-
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
245
|
+
var Companion_getInstance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.ma;
|
|
246
|
+
var toPointsDistributeMode = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
|
|
247
|
+
var PointsDistributeMode_HIGHEST_PLAYER_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.x8;
|
|
248
|
+
var PointsDistributeMode_ALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.w8;
|
|
249
|
+
var getValue = kotlin_kotlin.$_$.a8;
|
|
250
|
+
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.s9;
|
|
248
251
|
var valueOf = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
|
|
249
|
-
var Default_getInstance = kotlin_kotlin.$_$.
|
|
252
|
+
var Default_getInstance = kotlin_kotlin.$_$.d5;
|
|
250
253
|
var GameUserInfo = kotlin_io_raspberryapps_game_engine_core.$_$.c;
|
|
251
|
-
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
254
|
+
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
|
|
252
255
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
|
|
253
256
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
254
257
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
255
258
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
|
|
256
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
259
|
+
var mutableListOf = kotlin_kotlin.$_$.v8;
|
|
257
260
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
258
261
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
259
262
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
260
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
261
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
262
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
263
|
-
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
264
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
265
|
-
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
263
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
|
|
264
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
|
|
265
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
|
|
266
|
+
var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.sa;
|
|
267
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.ra;
|
|
268
|
+
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
|
|
266
269
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
267
270
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
268
271
|
var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
269
272
|
var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v5;
|
|
270
273
|
var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b5;
|
|
271
274
|
var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c5;
|
|
272
|
-
var lazy = kotlin_kotlin.$_$.
|
|
275
|
+
var lazy = kotlin_kotlin.$_$.ph;
|
|
273
276
|
var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
274
277
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
275
278
|
var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
276
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
279
|
+
var toList_0 = kotlin_kotlin.$_$.s9;
|
|
277
280
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
278
281
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
279
282
|
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
280
|
-
var RoomConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
281
|
-
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
282
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
283
|
-
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
284
|
-
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
285
|
-
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
286
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
283
|
+
var RoomConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.ta;
|
|
284
|
+
var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
285
|
+
var emptyMap = kotlin_kotlin.$_$.o7;
|
|
286
|
+
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
287
|
+
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
|
|
288
|
+
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
|
|
289
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
|
|
287
290
|
var ParserHelperImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
288
291
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
289
|
-
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
292
|
+
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
290
293
|
//endregion
|
|
291
294
|
//region block: pre-declaration
|
|
292
295
|
initMetadataForLambda(GameServer$subscribeToClientAction$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -316,11 +319,15 @@
|
|
|
316
319
|
tmp = spectators;
|
|
317
320
|
}
|
|
318
321
|
spectators = tmp;
|
|
319
|
-
return this.
|
|
322
|
+
return this.gd6(roomId, gameCreatorId, config, users, spectators);
|
|
320
323
|
}
|
|
321
324
|
function roomOnDelete(newRid, $super) {
|
|
322
325
|
newRid = newRid === VOID ? null : newRid;
|
|
323
|
-
return this.
|
|
326
|
+
return this.hd6(newRid);
|
|
327
|
+
}
|
|
328
|
+
function shutdown(reason, roomId, $super) {
|
|
329
|
+
roomId = roomId === VOID ? null : roomId;
|
|
330
|
+
return this.id6(reason, roomId);
|
|
324
331
|
}
|
|
325
332
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
326
333
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -360,7 +367,7 @@
|
|
|
360
367
|
tmp = existingNicknames;
|
|
361
368
|
}
|
|
362
369
|
existingNicknames = tmp;
|
|
363
|
-
return this.
|
|
370
|
+
return this.jda(playerId, existingNicknames);
|
|
364
371
|
}
|
|
365
372
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
366
373
|
initMetadataForCompanion(Companion_2);
|
|
@@ -388,7 +395,7 @@
|
|
|
388
395
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
389
396
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
390
397
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
391
|
-
return this.
|
|
398
|
+
return this.zda(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
392
399
|
}
|
|
393
400
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
394
401
|
initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Reducer]);
|
|
@@ -397,29 +404,29 @@
|
|
|
397
404
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
398
405
|
//endregion
|
|
399
406
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
400
|
-
this.
|
|
407
|
+
this.hcz_1 = $subscriber;
|
|
401
408
|
CoroutineImpl.call(this, resultContinuation);
|
|
402
409
|
}
|
|
403
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
404
|
-
var tmp = this.
|
|
405
|
-
tmp.
|
|
406
|
-
tmp.
|
|
407
|
-
return tmp.
|
|
410
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).jcz = function (it, $completion) {
|
|
411
|
+
var tmp = this.kcz(it, $completion);
|
|
412
|
+
tmp.g9_1 = Unit_instance;
|
|
413
|
+
tmp.h9_1 = null;
|
|
414
|
+
return tmp.m9();
|
|
408
415
|
};
|
|
409
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
410
|
-
return this.
|
|
416
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
|
|
417
|
+
return this.jcz(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
411
418
|
};
|
|
412
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
413
|
-
var suspendResult = this.
|
|
419
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
420
|
+
var suspendResult = this.g9_1;
|
|
414
421
|
$sm: do
|
|
415
422
|
try {
|
|
416
|
-
var tmp = this.
|
|
423
|
+
var tmp = this.e9_1;
|
|
417
424
|
if (tmp === 0) {
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
425
|
+
this.f9_1 = 1;
|
|
426
|
+
this.hcz_1(this.icz_1);
|
|
420
427
|
return Unit_instance;
|
|
421
428
|
} else if (tmp === 1) {
|
|
422
|
-
throw this.
|
|
429
|
+
throw this.h9_1;
|
|
423
430
|
}
|
|
424
431
|
} catch ($p) {
|
|
425
432
|
var e = $p;
|
|
@@ -427,43 +434,43 @@
|
|
|
427
434
|
}
|
|
428
435
|
while (true);
|
|
429
436
|
};
|
|
430
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
431
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
432
|
-
i.
|
|
437
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).kcz = function (it, completion) {
|
|
438
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.hcz_1, completion);
|
|
439
|
+
i.icz_1 = it;
|
|
433
440
|
return i;
|
|
434
441
|
};
|
|
435
442
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
436
443
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
437
444
|
var l = function (it, $completion) {
|
|
438
|
-
return i.
|
|
445
|
+
return i.jcz(it, $completion);
|
|
439
446
|
};
|
|
440
447
|
l.$arity = 1;
|
|
441
448
|
return l;
|
|
442
449
|
}
|
|
443
450
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
444
|
-
this.
|
|
451
|
+
this.tcz_1 = $subscriber;
|
|
445
452
|
CoroutineImpl.call(this, resultContinuation);
|
|
446
453
|
}
|
|
447
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
448
|
-
var tmp = this.
|
|
449
|
-
tmp.
|
|
450
|
-
tmp.
|
|
451
|
-
return tmp.
|
|
454
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).vcz = function (it, $completion) {
|
|
455
|
+
var tmp = this.wcz(it, $completion);
|
|
456
|
+
tmp.g9_1 = Unit_instance;
|
|
457
|
+
tmp.h9_1 = null;
|
|
458
|
+
return tmp.m9();
|
|
452
459
|
};
|
|
453
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
454
|
-
return this.
|
|
460
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
|
|
461
|
+
return this.vcz(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
455
462
|
};
|
|
456
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
457
|
-
var suspendResult = this.
|
|
463
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
464
|
+
var suspendResult = this.g9_1;
|
|
458
465
|
$sm: do
|
|
459
466
|
try {
|
|
460
|
-
var tmp = this.
|
|
467
|
+
var tmp = this.e9_1;
|
|
461
468
|
if (tmp === 0) {
|
|
462
|
-
this.
|
|
463
|
-
this.
|
|
469
|
+
this.f9_1 = 1;
|
|
470
|
+
this.tcz_1(this.ucz_1);
|
|
464
471
|
return Unit_instance;
|
|
465
472
|
} else if (tmp === 1) {
|
|
466
|
-
throw this.
|
|
473
|
+
throw this.h9_1;
|
|
467
474
|
}
|
|
468
475
|
} catch ($p) {
|
|
469
476
|
var e = $p;
|
|
@@ -471,59 +478,65 @@
|
|
|
471
478
|
}
|
|
472
479
|
while (true);
|
|
473
480
|
};
|
|
474
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
475
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
476
|
-
i.
|
|
481
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).wcz = function (it, completion) {
|
|
482
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.tcz_1, completion);
|
|
483
|
+
i.ucz_1 = it;
|
|
477
484
|
return i;
|
|
478
485
|
};
|
|
479
486
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
480
487
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
481
488
|
var l = function (it, $completion) {
|
|
482
|
-
return i.
|
|
489
|
+
return i.vcz(it, $completion);
|
|
483
490
|
};
|
|
484
491
|
l.$arity = 1;
|
|
485
492
|
return l;
|
|
486
493
|
}
|
|
487
494
|
function _get_logger__rkp4sl($this) {
|
|
488
495
|
// Inline function 'kotlin.getValue' call
|
|
489
|
-
var this_0 = $this.
|
|
496
|
+
var this_0 = $this.zcz_1;
|
|
490
497
|
logger$factory_0();
|
|
491
498
|
return this_0.u();
|
|
492
499
|
}
|
|
493
500
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
494
501
|
// Inline function 'kotlin.getValue' call
|
|
495
|
-
var this_0 = $this.
|
|
502
|
+
var this_0 = $this.ad0_1;
|
|
496
503
|
toClientEventsObserver$factory_0();
|
|
497
504
|
return this_0.u();
|
|
498
505
|
}
|
|
499
506
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
500
507
|
// Inline function 'kotlin.getValue' call
|
|
501
|
-
var this_0 = $this.
|
|
508
|
+
var this_0 = $this.bd0_1;
|
|
502
509
|
playerConnectionInteractor$factory_0();
|
|
503
510
|
return this_0.u();
|
|
504
511
|
}
|
|
512
|
+
function _get_random__h29cgo($this) {
|
|
513
|
+
// Inline function 'kotlin.getValue' call
|
|
514
|
+
var this_0 = $this.cd0_1;
|
|
515
|
+
random$factory_0();
|
|
516
|
+
return this_0.u();
|
|
517
|
+
}
|
|
505
518
|
function Companion() {
|
|
506
|
-
this.
|
|
519
|
+
this.ed0_1 = 'GameEngine_API';
|
|
507
520
|
}
|
|
508
521
|
var Companion_instance_7;
|
|
509
522
|
function Companion_getInstance_2() {
|
|
510
523
|
return Companion_instance_7;
|
|
511
524
|
}
|
|
512
525
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
513
|
-
this.
|
|
526
|
+
this.fd0_1 = function_0;
|
|
514
527
|
}
|
|
515
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
516
|
-
return this.
|
|
528
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
|
|
529
|
+
return this.fd0_1(value, $completion);
|
|
517
530
|
};
|
|
518
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
519
|
-
return this.
|
|
531
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
|
|
532
|
+
return this.fd0_1;
|
|
520
533
|
};
|
|
521
534
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
522
535
|
var tmp;
|
|
523
536
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
524
537
|
var tmp_0;
|
|
525
538
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
526
|
-
tmp_0 = equals(this.
|
|
539
|
+
tmp_0 = equals(this.o3(), other.o3());
|
|
527
540
|
} else {
|
|
528
541
|
tmp_0 = false;
|
|
529
542
|
}
|
|
@@ -534,23 +547,23 @@
|
|
|
534
547
|
return tmp;
|
|
535
548
|
};
|
|
536
549
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
537
|
-
return hashCode(this.
|
|
550
|
+
return hashCode(this.o3());
|
|
538
551
|
};
|
|
539
552
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
540
|
-
this.
|
|
553
|
+
this.gd0_1 = function_0;
|
|
541
554
|
}
|
|
542
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
543
|
-
return this.
|
|
555
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
|
|
556
|
+
return this.gd0_1(value, $completion);
|
|
544
557
|
};
|
|
545
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
546
|
-
return this.
|
|
558
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
|
|
559
|
+
return this.gd0_1;
|
|
547
560
|
};
|
|
548
561
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
549
562
|
var tmp;
|
|
550
563
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
551
564
|
var tmp_0;
|
|
552
565
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
553
|
-
tmp_0 = equals(this.
|
|
566
|
+
tmp_0 = equals(this.o3(), other.o3());
|
|
554
567
|
} else {
|
|
555
568
|
tmp_0 = false;
|
|
556
569
|
}
|
|
@@ -561,34 +574,34 @@
|
|
|
561
574
|
return tmp;
|
|
562
575
|
};
|
|
563
576
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
564
|
-
return hashCode(this.
|
|
577
|
+
return hashCode(this.o3());
|
|
565
578
|
};
|
|
566
579
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
580
|
+
this.pd0_1 = this$0;
|
|
581
|
+
this.qd0_1 = $subscriber;
|
|
569
582
|
CoroutineImpl.call(this, resultContinuation);
|
|
570
583
|
}
|
|
571
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
572
|
-
var tmp = this.
|
|
573
|
-
tmp.
|
|
574
|
-
tmp.
|
|
575
|
-
return tmp.
|
|
584
|
+
protoOf(GameServer$subscribeToClientAction$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
585
|
+
var tmp = this.f1f($this$launchDefault, $completion);
|
|
586
|
+
tmp.g9_1 = Unit_instance;
|
|
587
|
+
tmp.h9_1 = null;
|
|
588
|
+
return tmp.m9();
|
|
576
589
|
};
|
|
577
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
578
|
-
return this.
|
|
590
|
+
protoOf(GameServer$subscribeToClientAction$slambda).w9 = function (p1, $completion) {
|
|
591
|
+
return this.e1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
579
592
|
};
|
|
580
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
581
|
-
var suspendResult = this.
|
|
593
|
+
protoOf(GameServer$subscribeToClientAction$slambda).m9 = function () {
|
|
594
|
+
var suspendResult = this.g9_1;
|
|
582
595
|
$sm: do
|
|
583
596
|
try {
|
|
584
|
-
var tmp = this.
|
|
597
|
+
var tmp = this.e9_1;
|
|
585
598
|
switch (tmp) {
|
|
586
599
|
case 0:
|
|
587
|
-
this.
|
|
588
|
-
this.
|
|
589
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
590
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
591
|
-
suspendResult = tmp_0.
|
|
600
|
+
this.f9_1 = 2;
|
|
601
|
+
this.e9_1 = 1;
|
|
602
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.pd0_1).bb5();
|
|
603
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.qd0_1, null);
|
|
604
|
+
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
592
605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
593
606
|
return suspendResult;
|
|
594
607
|
}
|
|
@@ -597,58 +610,58 @@
|
|
|
597
610
|
case 1:
|
|
598
611
|
return Unit_instance;
|
|
599
612
|
case 2:
|
|
600
|
-
throw this.
|
|
613
|
+
throw this.h9_1;
|
|
601
614
|
}
|
|
602
615
|
} catch ($p) {
|
|
603
616
|
var e = $p;
|
|
604
|
-
if (this.
|
|
617
|
+
if (this.f9_1 === 2) {
|
|
605
618
|
throw e;
|
|
606
619
|
} else {
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
620
|
+
this.e9_1 = this.f9_1;
|
|
621
|
+
this.h9_1 = e;
|
|
609
622
|
}
|
|
610
623
|
}
|
|
611
624
|
while (true);
|
|
612
625
|
};
|
|
613
|
-
protoOf(GameServer$subscribeToClientAction$slambda).
|
|
614
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
615
|
-
i.
|
|
626
|
+
protoOf(GameServer$subscribeToClientAction$slambda).f1f = function ($this$launchDefault, completion) {
|
|
627
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.pd0_1, this.qd0_1, completion);
|
|
628
|
+
i.rd0_1 = $this$launchDefault;
|
|
616
629
|
return i;
|
|
617
630
|
};
|
|
618
631
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
619
632
|
var i = new GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation);
|
|
620
633
|
var l = function ($this$launchDefault, $completion) {
|
|
621
|
-
return i.
|
|
634
|
+
return i.e1f($this$launchDefault, $completion);
|
|
622
635
|
};
|
|
623
636
|
l.$arity = 1;
|
|
624
637
|
return l;
|
|
625
638
|
}
|
|
626
639
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
627
|
-
this.
|
|
628
|
-
this.
|
|
640
|
+
this.ad1_1 = this$0;
|
|
641
|
+
this.bd1_1 = $subscriber;
|
|
629
642
|
CoroutineImpl.call(this, resultContinuation);
|
|
630
643
|
}
|
|
631
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
632
|
-
var tmp = this.
|
|
633
|
-
tmp.
|
|
634
|
-
tmp.
|
|
635
|
-
return tmp.
|
|
644
|
+
protoOf(GameServer$subscribeWith$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
645
|
+
var tmp = this.f1f($this$launchDefault, $completion);
|
|
646
|
+
tmp.g9_1 = Unit_instance;
|
|
647
|
+
tmp.h9_1 = null;
|
|
648
|
+
return tmp.m9();
|
|
636
649
|
};
|
|
637
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
638
|
-
return this.
|
|
650
|
+
protoOf(GameServer$subscribeWith$slambda).w9 = function (p1, $completion) {
|
|
651
|
+
return this.e1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
639
652
|
};
|
|
640
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
641
|
-
var suspendResult = this.
|
|
653
|
+
protoOf(GameServer$subscribeWith$slambda).m9 = function () {
|
|
654
|
+
var suspendResult = this.g9_1;
|
|
642
655
|
$sm: do
|
|
643
656
|
try {
|
|
644
|
-
var tmp = this.
|
|
657
|
+
var tmp = this.e9_1;
|
|
645
658
|
switch (tmp) {
|
|
646
659
|
case 0:
|
|
647
|
-
this.
|
|
648
|
-
this.
|
|
649
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
650
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
651
|
-
suspendResult = tmp_0.
|
|
660
|
+
this.f9_1 = 2;
|
|
661
|
+
this.e9_1 = 1;
|
|
662
|
+
var tmp_0 = distinctUntilChanged(this.ad1_1.b6w());
|
|
663
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.bd1_1, null);
|
|
664
|
+
suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
652
665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
653
666
|
return suspendResult;
|
|
654
667
|
}
|
|
@@ -657,57 +670,61 @@
|
|
|
657
670
|
case 1:
|
|
658
671
|
return Unit_instance;
|
|
659
672
|
case 2:
|
|
660
|
-
throw this.
|
|
673
|
+
throw this.h9_1;
|
|
661
674
|
}
|
|
662
675
|
} catch ($p) {
|
|
663
676
|
var e = $p;
|
|
664
|
-
if (this.
|
|
677
|
+
if (this.f9_1 === 2) {
|
|
665
678
|
throw e;
|
|
666
679
|
} else {
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
680
|
+
this.e9_1 = this.f9_1;
|
|
681
|
+
this.h9_1 = e;
|
|
669
682
|
}
|
|
670
683
|
}
|
|
671
684
|
while (true);
|
|
672
685
|
};
|
|
673
|
-
protoOf(GameServer$subscribeWith$slambda).
|
|
674
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
675
|
-
i.
|
|
686
|
+
protoOf(GameServer$subscribeWith$slambda).f1f = function ($this$launchDefault, completion) {
|
|
687
|
+
var i = new GameServer$subscribeWith$slambda(this.ad1_1, this.bd1_1, completion);
|
|
688
|
+
i.cd1_1 = $this$launchDefault;
|
|
676
689
|
return i;
|
|
677
690
|
};
|
|
678
691
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
679
692
|
var i = new GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation);
|
|
680
693
|
var l = function ($this$launchDefault, $completion) {
|
|
681
|
-
return i.
|
|
694
|
+
return i.e1f($this$launchDefault, $completion);
|
|
682
695
|
};
|
|
683
696
|
l.$arity = 1;
|
|
684
697
|
return l;
|
|
685
698
|
}
|
|
686
699
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
687
|
-
this.
|
|
700
|
+
this.ld1_1 = $action;
|
|
688
701
|
CoroutineImpl.call(this, resultContinuation);
|
|
689
702
|
}
|
|
690
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
691
|
-
var tmp = this.
|
|
692
|
-
tmp.
|
|
693
|
-
tmp.
|
|
694
|
-
return tmp.
|
|
703
|
+
protoOf(GameServer$fromClientEvent$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
704
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
705
|
+
tmp.g9_1 = Unit_instance;
|
|
706
|
+
tmp.h9_1 = null;
|
|
707
|
+
return tmp.m9();
|
|
695
708
|
};
|
|
696
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
709
|
+
protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
|
|
697
710
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
698
|
-
return this.
|
|
711
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
699
712
|
};
|
|
700
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
701
|
-
var suspendResult = this.
|
|
713
|
+
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
714
|
+
var suspendResult = this.g9_1;
|
|
702
715
|
$sm: do
|
|
703
716
|
try {
|
|
704
|
-
var tmp = this.
|
|
717
|
+
var tmp = this.e9_1;
|
|
705
718
|
if (tmp === 0) {
|
|
706
|
-
this.
|
|
707
|
-
|
|
719
|
+
this.f9_1 = 1;
|
|
720
|
+
if (this.ld1_1 instanceof PlayerReadyFromClientAction)
|
|
721
|
+
if (!get_isCreated(this.nd1_1.state)) {
|
|
722
|
+
return Unit_instance;
|
|
723
|
+
}
|
|
724
|
+
this.nd1_1.dispatch(this.ld1_1);
|
|
708
725
|
return Unit_instance;
|
|
709
726
|
} else if (tmp === 1) {
|
|
710
|
-
throw this.
|
|
727
|
+
throw this.h9_1;
|
|
711
728
|
}
|
|
712
729
|
} catch ($p) {
|
|
713
730
|
var e = $p;
|
|
@@ -715,50 +732,50 @@
|
|
|
715
732
|
}
|
|
716
733
|
while (true);
|
|
717
734
|
};
|
|
718
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
719
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
720
|
-
i.
|
|
721
|
-
i.
|
|
735
|
+
protoOf(GameServer$fromClientEvent$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
736
|
+
var i = new GameServer$fromClientEvent$slambda(this.ld1_1, completion);
|
|
737
|
+
i.md1_1 = $this$dispatchAsync;
|
|
738
|
+
i.nd1_1 = store;
|
|
722
739
|
return i;
|
|
723
740
|
};
|
|
724
741
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
725
742
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
726
743
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
727
|
-
return i.
|
|
744
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
728
745
|
};
|
|
729
746
|
l.$arity = 2;
|
|
730
747
|
return l;
|
|
731
748
|
}
|
|
732
749
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
733
|
-
this.
|
|
750
|
+
this.wd1_1 = $playerId;
|
|
734
751
|
CoroutineImpl.call(this, resultContinuation);
|
|
735
752
|
}
|
|
736
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
737
|
-
var tmp = this.
|
|
738
|
-
tmp.
|
|
739
|
-
tmp.
|
|
740
|
-
return tmp.
|
|
753
|
+
protoOf(GameServer$playerLostConnection$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
754
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
755
|
+
tmp.g9_1 = Unit_instance;
|
|
756
|
+
tmp.h9_1 = null;
|
|
757
|
+
return tmp.m9();
|
|
741
758
|
};
|
|
742
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
759
|
+
protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
|
|
743
760
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
744
|
-
return this.
|
|
761
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
745
762
|
};
|
|
746
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
747
|
-
var suspendResult = this.
|
|
763
|
+
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
764
|
+
var suspendResult = this.g9_1;
|
|
748
765
|
$sm: do
|
|
749
766
|
try {
|
|
750
|
-
var tmp = this.
|
|
767
|
+
var tmp = this.e9_1;
|
|
751
768
|
if (tmp === 0) {
|
|
752
|
-
this.
|
|
753
|
-
if (!get_isCreated(this.
|
|
769
|
+
this.f9_1 = 1;
|
|
770
|
+
if (!get_isCreated(this.yd1_1.state)) {
|
|
754
771
|
return Unit_instance;
|
|
755
772
|
}
|
|
756
|
-
var tmp_0 = this.
|
|
773
|
+
var tmp_0 = this.yd1_1.dispatch;
|
|
757
774
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
758
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
775
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wd1_1));
|
|
759
776
|
return Unit_instance;
|
|
760
777
|
} else if (tmp === 1) {
|
|
761
|
-
throw this.
|
|
778
|
+
throw this.h9_1;
|
|
762
779
|
}
|
|
763
780
|
} catch ($p) {
|
|
764
781
|
var e = $p;
|
|
@@ -766,47 +783,47 @@
|
|
|
766
783
|
}
|
|
767
784
|
while (true);
|
|
768
785
|
};
|
|
769
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
770
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
771
|
-
i.
|
|
772
|
-
i.
|
|
786
|
+
protoOf(GameServer$playerLostConnection$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
787
|
+
var i = new GameServer$playerLostConnection$slambda(this.wd1_1, completion);
|
|
788
|
+
i.xd1_1 = $this$dispatchAsync;
|
|
789
|
+
i.yd1_1 = store;
|
|
773
790
|
return i;
|
|
774
791
|
};
|
|
775
792
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
776
793
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
777
794
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
778
|
-
return i.
|
|
795
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
779
796
|
};
|
|
780
797
|
l.$arity = 2;
|
|
781
798
|
return l;
|
|
782
799
|
}
|
|
783
800
|
function GameServer$playerLive$slambda($playerId, resultContinuation) {
|
|
784
|
-
this.
|
|
801
|
+
this.hd2_1 = $playerId;
|
|
785
802
|
CoroutineImpl.call(this, resultContinuation);
|
|
786
803
|
}
|
|
787
|
-
protoOf(GameServer$playerLive$slambda).
|
|
788
|
-
var tmp = this.
|
|
789
|
-
tmp.
|
|
790
|
-
tmp.
|
|
791
|
-
return tmp.
|
|
804
|
+
protoOf(GameServer$playerLive$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
805
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
806
|
+
tmp.g9_1 = Unit_instance;
|
|
807
|
+
tmp.h9_1 = null;
|
|
808
|
+
return tmp.m9();
|
|
792
809
|
};
|
|
793
|
-
protoOf(GameServer$playerLive$slambda).
|
|
810
|
+
protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
|
|
794
811
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
795
|
-
return this.
|
|
812
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
796
813
|
};
|
|
797
|
-
protoOf(GameServer$playerLive$slambda).
|
|
798
|
-
var suspendResult = this.
|
|
814
|
+
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
815
|
+
var suspendResult = this.g9_1;
|
|
799
816
|
$sm: do
|
|
800
817
|
try {
|
|
801
|
-
var tmp = this.
|
|
818
|
+
var tmp = this.e9_1;
|
|
802
819
|
if (tmp === 0) {
|
|
803
|
-
this.
|
|
804
|
-
var tmp_0 = this.
|
|
820
|
+
this.f9_1 = 1;
|
|
821
|
+
var tmp_0 = this.jd2_1.dispatch;
|
|
805
822
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
806
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
823
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.hd2_1));
|
|
807
824
|
return Unit_instance;
|
|
808
825
|
} else if (tmp === 1) {
|
|
809
|
-
throw this.
|
|
826
|
+
throw this.h9_1;
|
|
810
827
|
}
|
|
811
828
|
} catch ($p) {
|
|
812
829
|
var e = $p;
|
|
@@ -814,47 +831,47 @@
|
|
|
814
831
|
}
|
|
815
832
|
while (true);
|
|
816
833
|
};
|
|
817
|
-
protoOf(GameServer$playerLive$slambda).
|
|
818
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
819
|
-
i.
|
|
820
|
-
i.
|
|
834
|
+
protoOf(GameServer$playerLive$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
835
|
+
var i = new GameServer$playerLive$slambda(this.hd2_1, completion);
|
|
836
|
+
i.id2_1 = $this$dispatchAsync;
|
|
837
|
+
i.jd2_1 = store;
|
|
821
838
|
return i;
|
|
822
839
|
};
|
|
823
840
|
function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
|
|
824
841
|
var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
|
|
825
842
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
826
|
-
return i.
|
|
843
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
827
844
|
};
|
|
828
845
|
l.$arity = 2;
|
|
829
846
|
return l;
|
|
830
847
|
}
|
|
831
848
|
function GameServer$playerLeft$slambda($playerId, resultContinuation) {
|
|
832
|
-
this.
|
|
849
|
+
this.sd2_1 = $playerId;
|
|
833
850
|
CoroutineImpl.call(this, resultContinuation);
|
|
834
851
|
}
|
|
835
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
836
|
-
var tmp = this.
|
|
837
|
-
tmp.
|
|
838
|
-
tmp.
|
|
839
|
-
return tmp.
|
|
852
|
+
protoOf(GameServer$playerLeft$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
853
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
854
|
+
tmp.g9_1 = Unit_instance;
|
|
855
|
+
tmp.h9_1 = null;
|
|
856
|
+
return tmp.m9();
|
|
840
857
|
};
|
|
841
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
858
|
+
protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
|
|
842
859
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
843
|
-
return this.
|
|
860
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
844
861
|
};
|
|
845
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
846
|
-
var suspendResult = this.
|
|
862
|
+
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
863
|
+
var suspendResult = this.g9_1;
|
|
847
864
|
$sm: do
|
|
848
865
|
try {
|
|
849
|
-
var tmp = this.
|
|
866
|
+
var tmp = this.e9_1;
|
|
850
867
|
if (tmp === 0) {
|
|
851
|
-
this.
|
|
852
|
-
var tmp_0 = this.
|
|
868
|
+
this.f9_1 = 1;
|
|
869
|
+
var tmp_0 = this.ud2_1.dispatch;
|
|
853
870
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
854
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
871
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.sd2_1));
|
|
855
872
|
return Unit_instance;
|
|
856
873
|
} else if (tmp === 1) {
|
|
857
|
-
throw this.
|
|
874
|
+
throw this.h9_1;
|
|
858
875
|
}
|
|
859
876
|
} catch ($p) {
|
|
860
877
|
var e = $p;
|
|
@@ -862,55 +879,56 @@
|
|
|
862
879
|
}
|
|
863
880
|
while (true);
|
|
864
881
|
};
|
|
865
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
866
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
867
|
-
i.
|
|
868
|
-
i.
|
|
882
|
+
protoOf(GameServer$playerLeft$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
883
|
+
var i = new GameServer$playerLeft$slambda(this.sd2_1, completion);
|
|
884
|
+
i.td2_1 = $this$dispatchAsync;
|
|
885
|
+
i.ud2_1 = store;
|
|
869
886
|
return i;
|
|
870
887
|
};
|
|
871
888
|
function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
|
|
872
889
|
var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
|
|
873
890
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
874
|
-
return i.
|
|
891
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
875
892
|
};
|
|
876
893
|
l.$arity = 2;
|
|
877
894
|
return l;
|
|
878
895
|
}
|
|
879
|
-
function GameServer$roomOnCreate$slambda($users, $gameCreatorId, $spectators, $config, $roomId, resultContinuation) {
|
|
880
|
-
this.
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
883
|
-
this.
|
|
884
|
-
this.
|
|
896
|
+
function GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
897
|
+
this.dd3_1 = $users;
|
|
898
|
+
this.ed3_1 = $gameCreatorId;
|
|
899
|
+
this.fd3_1 = this$0;
|
|
900
|
+
this.gd3_1 = $spectators;
|
|
901
|
+
this.hd3_1 = $config;
|
|
902
|
+
this.id3_1 = $roomId;
|
|
885
903
|
CoroutineImpl.call(this, resultContinuation);
|
|
886
904
|
}
|
|
887
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
888
|
-
var tmp = this.
|
|
889
|
-
tmp.
|
|
890
|
-
tmp.
|
|
891
|
-
return tmp.
|
|
905
|
+
protoOf(GameServer$roomOnCreate$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
906
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
907
|
+
tmp.g9_1 = Unit_instance;
|
|
908
|
+
tmp.h9_1 = null;
|
|
909
|
+
return tmp.m9();
|
|
892
910
|
};
|
|
893
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
911
|
+
protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
|
|
894
912
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
895
|
-
return this.
|
|
913
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
896
914
|
};
|
|
897
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
898
|
-
var suspendResult = this.
|
|
915
|
+
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
916
|
+
var suspendResult = this.g9_1;
|
|
899
917
|
$sm: do
|
|
900
918
|
try {
|
|
901
|
-
var tmp = this.
|
|
919
|
+
var tmp = this.e9_1;
|
|
902
920
|
if (tmp === 0) {
|
|
903
|
-
this.
|
|
904
|
-
var usersList = toList(this.
|
|
905
|
-
var gameCreatorUser = getPlayer(usersList, this.
|
|
906
|
-
var tmp_0 = this.
|
|
921
|
+
this.f9_1 = 1;
|
|
922
|
+
var usersList = toList(this.dd3_1);
|
|
923
|
+
var gameCreatorUser = getPlayer(usersList, this.ed3_1);
|
|
924
|
+
var tmp_0 = this.kd3_1.dispatch;
|
|
907
925
|
var tmp0_version = GameEngineConfig_instance.version;
|
|
908
|
-
var tmp1_users = sortWithItem(usersList, gameCreatorUser);
|
|
909
|
-
var tmp2_spectators = toList(this.
|
|
910
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
926
|
+
var tmp1_users = sortWithItem(_get_random__h29cgo(this.fd3_1).x5z(toMutableList(usersList)), gameCreatorUser);
|
|
927
|
+
var tmp2_spectators = toList(this.gd3_1);
|
|
928
|
+
tmp_0(new StartGameMechanicAction(this.hd3_1, this.id3_1, tmp0_version, this.ed3_1, tmp1_users, VOID, tmp2_spectators));
|
|
911
929
|
return Unit_instance;
|
|
912
930
|
} else if (tmp === 1) {
|
|
913
|
-
throw this.
|
|
931
|
+
throw this.h9_1;
|
|
914
932
|
}
|
|
915
933
|
} catch ($p) {
|
|
916
934
|
var e = $p;
|
|
@@ -918,45 +936,45 @@
|
|
|
918
936
|
}
|
|
919
937
|
while (true);
|
|
920
938
|
};
|
|
921
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
922
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
923
|
-
i.
|
|
924
|
-
i.
|
|
939
|
+
protoOf(GameServer$roomOnCreate$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
940
|
+
var i = new GameServer$roomOnCreate$slambda(this.dd3_1, this.ed3_1, this.fd3_1, this.gd3_1, this.hd3_1, this.id3_1, completion);
|
|
941
|
+
i.jd3_1 = $this$dispatchAsync;
|
|
942
|
+
i.kd3_1 = store;
|
|
925
943
|
return i;
|
|
926
944
|
};
|
|
927
|
-
function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, $spectators, $config, $roomId, resultContinuation) {
|
|
928
|
-
var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, $spectators, $config, $roomId, resultContinuation);
|
|
945
|
+
function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
|
|
946
|
+
var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation);
|
|
929
947
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
930
|
-
return i.
|
|
948
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
931
949
|
};
|
|
932
950
|
l.$arity = 2;
|
|
933
951
|
return l;
|
|
934
952
|
}
|
|
935
953
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
936
|
-
this.
|
|
954
|
+
this.td3_1 = $spectators;
|
|
937
955
|
CoroutineImpl.call(this, resultContinuation);
|
|
938
956
|
}
|
|
939
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
940
|
-
var tmp = this.
|
|
941
|
-
tmp.
|
|
942
|
-
tmp.
|
|
943
|
-
return tmp.
|
|
957
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
958
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
959
|
+
tmp.g9_1 = Unit_instance;
|
|
960
|
+
tmp.h9_1 = null;
|
|
961
|
+
return tmp.m9();
|
|
944
962
|
};
|
|
945
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
963
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
946
964
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
947
|
-
return this.
|
|
965
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
948
966
|
};
|
|
949
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
950
|
-
var suspendResult = this.
|
|
967
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
968
|
+
var suspendResult = this.g9_1;
|
|
951
969
|
$sm: do
|
|
952
970
|
try {
|
|
953
|
-
var tmp = this.
|
|
971
|
+
var tmp = this.e9_1;
|
|
954
972
|
if (tmp === 0) {
|
|
955
|
-
this.
|
|
956
|
-
this.
|
|
973
|
+
this.f9_1 = 1;
|
|
974
|
+
this.vd3_1.dispatch(new AddSpectatorsAction(toList(this.td3_1)));
|
|
957
975
|
return Unit_instance;
|
|
958
976
|
} else if (tmp === 1) {
|
|
959
|
-
throw this.
|
|
977
|
+
throw this.h9_1;
|
|
960
978
|
}
|
|
961
979
|
} catch ($p) {
|
|
962
980
|
var e = $p;
|
|
@@ -964,45 +982,45 @@
|
|
|
964
982
|
}
|
|
965
983
|
while (true);
|
|
966
984
|
};
|
|
967
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
968
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
969
|
-
i.
|
|
970
|
-
i.
|
|
985
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
986
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.td3_1, completion);
|
|
987
|
+
i.ud3_1 = $this$dispatchAsync;
|
|
988
|
+
i.vd3_1 = store;
|
|
971
989
|
return i;
|
|
972
990
|
};
|
|
973
991
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
974
992
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
975
993
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
976
|
-
return i.
|
|
994
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
977
995
|
};
|
|
978
996
|
l.$arity = 2;
|
|
979
997
|
return l;
|
|
980
998
|
}
|
|
981
999
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
982
|
-
this.
|
|
1000
|
+
this.ed4_1 = $spectators;
|
|
983
1001
|
CoroutineImpl.call(this, resultContinuation);
|
|
984
1002
|
}
|
|
985
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
986
|
-
var tmp = this.
|
|
987
|
-
tmp.
|
|
988
|
-
tmp.
|
|
989
|
-
return tmp.
|
|
1003
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
1004
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
1005
|
+
tmp.g9_1 = Unit_instance;
|
|
1006
|
+
tmp.h9_1 = null;
|
|
1007
|
+
return tmp.m9();
|
|
990
1008
|
};
|
|
991
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1009
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
|
|
992
1010
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
993
|
-
return this.
|
|
1011
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
994
1012
|
};
|
|
995
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
996
|
-
var suspendResult = this.
|
|
1013
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
1014
|
+
var suspendResult = this.g9_1;
|
|
997
1015
|
$sm: do
|
|
998
1016
|
try {
|
|
999
|
-
var tmp = this.
|
|
1017
|
+
var tmp = this.e9_1;
|
|
1000
1018
|
if (tmp === 0) {
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1019
|
+
this.f9_1 = 1;
|
|
1020
|
+
this.gd4_1.dispatch(new RemoveSpectatorsAction(toList(this.ed4_1)));
|
|
1003
1021
|
return Unit_instance;
|
|
1004
1022
|
} else if (tmp === 1) {
|
|
1005
|
-
throw this.
|
|
1023
|
+
throw this.h9_1;
|
|
1006
1024
|
}
|
|
1007
1025
|
} catch ($p) {
|
|
1008
1026
|
var e = $p;
|
|
@@ -1010,54 +1028,54 @@
|
|
|
1010
1028
|
}
|
|
1011
1029
|
while (true);
|
|
1012
1030
|
};
|
|
1013
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
1014
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
1015
|
-
i.
|
|
1016
|
-
i.
|
|
1031
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
1032
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ed4_1, completion);
|
|
1033
|
+
i.fd4_1 = $this$dispatchAsync;
|
|
1034
|
+
i.gd4_1 = store;
|
|
1017
1035
|
return i;
|
|
1018
1036
|
};
|
|
1019
1037
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
1020
1038
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
1021
1039
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1022
|
-
return i.
|
|
1040
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
1023
1041
|
};
|
|
1024
1042
|
l.$arity = 2;
|
|
1025
1043
|
return l;
|
|
1026
1044
|
}
|
|
1027
1045
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
1028
|
-
this.
|
|
1029
|
-
this.
|
|
1046
|
+
this.pd4_1 = $playerId;
|
|
1047
|
+
this.qd4_1 = this$0;
|
|
1030
1048
|
CoroutineImpl.call(this, resultContinuation);
|
|
1031
1049
|
}
|
|
1032
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1033
|
-
var tmp = this.
|
|
1034
|
-
tmp.
|
|
1035
|
-
tmp.
|
|
1036
|
-
return tmp.
|
|
1050
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
1051
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
1052
|
+
tmp.g9_1 = Unit_instance;
|
|
1053
|
+
tmp.h9_1 = null;
|
|
1054
|
+
return tmp.m9();
|
|
1037
1055
|
};
|
|
1038
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1056
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
|
|
1039
1057
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1040
|
-
return this.
|
|
1058
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1041
1059
|
};
|
|
1042
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1043
|
-
var suspendResult = this.
|
|
1060
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
1061
|
+
var suspendResult = this.g9_1;
|
|
1044
1062
|
$sm: do
|
|
1045
1063
|
try {
|
|
1046
|
-
var tmp = this.
|
|
1064
|
+
var tmp = this.e9_1;
|
|
1047
1065
|
if (tmp === 0) {
|
|
1048
|
-
this.
|
|
1049
|
-
var table = this.
|
|
1050
|
-
var player = getPlayer(table.players, this.
|
|
1051
|
-
if (player.
|
|
1052
|
-
this.
|
|
1066
|
+
this.f9_1 = 1;
|
|
1067
|
+
var table = this.sd4_1.state.e6x();
|
|
1068
|
+
var player = getPlayer(table.players, this.pd4_1);
|
|
1069
|
+
if (player.j73_1.z6g().q6f_1.isLive) {
|
|
1070
|
+
this.sd4_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.qd4_1).v92(player, table));
|
|
1053
1071
|
} else {
|
|
1054
|
-
var tmp_0 = this.
|
|
1072
|
+
var tmp_0 = this.sd4_1.dispatch;
|
|
1055
1073
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1056
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1074
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.pd4_1));
|
|
1057
1075
|
}
|
|
1058
1076
|
return Unit_instance;
|
|
1059
1077
|
} else if (tmp === 1) {
|
|
1060
|
-
throw this.
|
|
1078
|
+
throw this.h9_1;
|
|
1061
1079
|
}
|
|
1062
1080
|
} catch ($p) {
|
|
1063
1081
|
var e = $p;
|
|
@@ -1065,54 +1083,54 @@
|
|
|
1065
1083
|
}
|
|
1066
1084
|
while (true);
|
|
1067
1085
|
};
|
|
1068
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
1069
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
1070
|
-
i.
|
|
1071
|
-
i.
|
|
1086
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
1087
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.pd4_1, this.qd4_1, completion);
|
|
1088
|
+
i.rd4_1 = $this$dispatchAsync;
|
|
1089
|
+
i.sd4_1 = store;
|
|
1072
1090
|
return i;
|
|
1073
1091
|
};
|
|
1074
1092
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
1075
1093
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
1076
1094
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1077
|
-
return i.
|
|
1095
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
1078
1096
|
};
|
|
1079
1097
|
l.$arity = 2;
|
|
1080
1098
|
return l;
|
|
1081
1099
|
}
|
|
1082
1100
|
function GameServer$roomOnDelete$slambda(this$0, resultContinuation) {
|
|
1083
|
-
this.
|
|
1101
|
+
this.bd5_1 = this$0;
|
|
1084
1102
|
CoroutineImpl.call(this, resultContinuation);
|
|
1085
1103
|
}
|
|
1086
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1087
|
-
var tmp = this.
|
|
1088
|
-
tmp.
|
|
1089
|
-
tmp.
|
|
1090
|
-
return tmp.
|
|
1104
|
+
protoOf(GameServer$roomOnDelete$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
1105
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
1106
|
+
tmp.g9_1 = Unit_instance;
|
|
1107
|
+
tmp.h9_1 = null;
|
|
1108
|
+
return tmp.m9();
|
|
1091
1109
|
};
|
|
1092
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1110
|
+
protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
|
|
1093
1111
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1094
|
-
return this.
|
|
1112
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1095
1113
|
};
|
|
1096
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1097
|
-
var suspendResult = this.
|
|
1114
|
+
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
1115
|
+
var suspendResult = this.g9_1;
|
|
1098
1116
|
$sm: do
|
|
1099
1117
|
try {
|
|
1100
|
-
var tmp = this.
|
|
1118
|
+
var tmp = this.e9_1;
|
|
1101
1119
|
if (tmp === 0) {
|
|
1102
|
-
this.
|
|
1103
|
-
var it = this.
|
|
1120
|
+
this.f9_1 = 1;
|
|
1121
|
+
var it = this.bd5_1.w6e().f6w_1;
|
|
1104
1122
|
var tmp_0;
|
|
1105
1123
|
if (it == null) {
|
|
1106
|
-
_get_logger__rkp4sl(this.
|
|
1124
|
+
_get_logger__rkp4sl(this.bd5_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
1107
1125
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
1108
1126
|
} else {
|
|
1109
1127
|
tmp_0 = it;
|
|
1110
1128
|
}
|
|
1111
1129
|
var terminationState = tmp_0;
|
|
1112
|
-
this.
|
|
1130
|
+
this.dd5_1.dispatch(new FinishGameMechanicAction(terminationState.k89_1, this.bd5_1.w6e().e6x().isGameFinished));
|
|
1113
1131
|
return Unit_instance;
|
|
1114
1132
|
} else if (tmp === 1) {
|
|
1115
|
-
throw this.
|
|
1133
|
+
throw this.h9_1;
|
|
1116
1134
|
}
|
|
1117
1135
|
} catch ($p) {
|
|
1118
1136
|
var e = $p;
|
|
@@ -1120,45 +1138,45 @@
|
|
|
1120
1138
|
}
|
|
1121
1139
|
while (true);
|
|
1122
1140
|
};
|
|
1123
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
1124
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
1125
|
-
i.
|
|
1126
|
-
i.
|
|
1141
|
+
protoOf(GameServer$roomOnDelete$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
1142
|
+
var i = new GameServer$roomOnDelete$slambda(this.bd5_1, completion);
|
|
1143
|
+
i.cd5_1 = $this$dispatchAsync;
|
|
1144
|
+
i.dd5_1 = store;
|
|
1127
1145
|
return i;
|
|
1128
1146
|
};
|
|
1129
1147
|
function GameServer$roomOnDelete$slambda_0(this$0, resultContinuation) {
|
|
1130
1148
|
var i = new GameServer$roomOnDelete$slambda(this$0, resultContinuation);
|
|
1131
1149
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1132
|
-
return i.
|
|
1150
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
1133
1151
|
};
|
|
1134
1152
|
l.$arity = 2;
|
|
1135
1153
|
return l;
|
|
1136
1154
|
}
|
|
1137
1155
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
1138
|
-
this.
|
|
1156
|
+
this.md5_1 = $enabled;
|
|
1139
1157
|
CoroutineImpl.call(this, resultContinuation);
|
|
1140
1158
|
}
|
|
1141
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1142
|
-
var tmp = this.
|
|
1143
|
-
tmp.
|
|
1144
|
-
tmp.
|
|
1145
|
-
return tmp.
|
|
1159
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
1160
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
1161
|
+
tmp.g9_1 = Unit_instance;
|
|
1162
|
+
tmp.h9_1 = null;
|
|
1163
|
+
return tmp.m9();
|
|
1146
1164
|
};
|
|
1147
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1165
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
|
|
1148
1166
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1149
|
-
return this.
|
|
1167
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1150
1168
|
};
|
|
1151
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1152
|
-
var suspendResult = this.
|
|
1169
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
1170
|
+
var suspendResult = this.g9_1;
|
|
1153
1171
|
$sm: do
|
|
1154
1172
|
try {
|
|
1155
|
-
var tmp = this.
|
|
1173
|
+
var tmp = this.e9_1;
|
|
1156
1174
|
if (tmp === 0) {
|
|
1157
|
-
this.
|
|
1158
|
-
this.
|
|
1175
|
+
this.f9_1 = 1;
|
|
1176
|
+
this.od5_1.dispatch(new UpdateServerConfigAction(get_serverState(this.od5_1.state).pd5_1.rd5(this.md5_1)));
|
|
1159
1177
|
return Unit_instance;
|
|
1160
1178
|
} else if (tmp === 1) {
|
|
1161
|
-
throw this.
|
|
1179
|
+
throw this.h9_1;
|
|
1162
1180
|
}
|
|
1163
1181
|
} catch ($p) {
|
|
1164
1182
|
var e = $p;
|
|
@@ -1166,50 +1184,51 @@
|
|
|
1166
1184
|
}
|
|
1167
1185
|
while (true);
|
|
1168
1186
|
};
|
|
1169
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
1170
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
1171
|
-
i.
|
|
1172
|
-
i.
|
|
1187
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
1188
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.md5_1, completion);
|
|
1189
|
+
i.nd5_1 = $this$dispatchAsync;
|
|
1190
|
+
i.od5_1 = store;
|
|
1173
1191
|
return i;
|
|
1174
1192
|
};
|
|
1175
1193
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
1176
1194
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
1177
1195
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1178
|
-
return i.
|
|
1196
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
1179
1197
|
};
|
|
1180
1198
|
l.$arity = 2;
|
|
1181
1199
|
return l;
|
|
1182
1200
|
}
|
|
1183
|
-
function GameServer$shutdown$slambda($reason, this$0, resultContinuation) {
|
|
1184
|
-
this.
|
|
1185
|
-
this.
|
|
1201
|
+
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
1202
|
+
this.ad6_1 = $reason;
|
|
1203
|
+
this.bd6_1 = this$0;
|
|
1204
|
+
this.cd6_1 = $roomId;
|
|
1186
1205
|
CoroutineImpl.call(this, resultContinuation);
|
|
1187
1206
|
}
|
|
1188
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1189
|
-
var tmp = this.
|
|
1190
|
-
tmp.
|
|
1191
|
-
tmp.
|
|
1192
|
-
return tmp.
|
|
1207
|
+
protoOf(GameServer$shutdown$slambda).cb0 = function ($this$dispatchAsync, store, $completion) {
|
|
1208
|
+
var tmp = this.db0($this$dispatchAsync, store, $completion);
|
|
1209
|
+
tmp.g9_1 = Unit_instance;
|
|
1210
|
+
tmp.h9_1 = null;
|
|
1211
|
+
return tmp.m9();
|
|
1193
1212
|
};
|
|
1194
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1213
|
+
protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
|
|
1195
1214
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1196
|
-
return this.
|
|
1215
|
+
return this.cb0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1197
1216
|
};
|
|
1198
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1199
|
-
var suspendResult = this.
|
|
1217
|
+
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
1218
|
+
var suspendResult = this.g9_1;
|
|
1200
1219
|
$sm: do
|
|
1201
1220
|
try {
|
|
1202
|
-
var tmp = this.
|
|
1221
|
+
var tmp = this.e9_1;
|
|
1203
1222
|
if (tmp === 0) {
|
|
1204
|
-
this.
|
|
1205
|
-
var state = this.
|
|
1206
|
-
if (state.
|
|
1207
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
1223
|
+
this.f9_1 = 1;
|
|
1224
|
+
var state = this.ed6_1.store.state;
|
|
1225
|
+
if (state.f6x()) {
|
|
1226
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ad6_1, get_serverShutdownReasonMapping());
|
|
1208
1227
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
1209
|
-
var tmp_0 = this.
|
|
1228
|
+
var tmp_0 = this.ed6_1.dispatch;
|
|
1210
1229
|
var tmp_1 = Companion_instance;
|
|
1211
1230
|
var tmp_2;
|
|
1212
|
-
switch (shutdownReason.
|
|
1231
|
+
switch (shutdownReason.n2_1) {
|
|
1213
1232
|
case 0:
|
|
1214
1233
|
tmp_2 = new GameFinishedReason(Reason_DEPLOY_getInstance());
|
|
1215
1234
|
break;
|
|
@@ -1220,14 +1239,14 @@
|
|
|
1220
1239
|
noWhenBranchMatchedException();
|
|
1221
1240
|
break;
|
|
1222
1241
|
}
|
|
1223
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
1242
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.bd6_1.table.isGameFinished, this.bd6_1.table));
|
|
1224
1243
|
} else {
|
|
1225
|
-
_get_logger__rkp4sl(this.
|
|
1226
|
-
this.
|
|
1244
|
+
_get_logger__rkp4sl(this.bd6_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.cd6_1);
|
|
1245
|
+
this.ed6_1.dispatch(new ClearAction());
|
|
1227
1246
|
}
|
|
1228
1247
|
return Unit_instance;
|
|
1229
1248
|
} else if (tmp === 1) {
|
|
1230
|
-
throw this.
|
|
1249
|
+
throw this.h9_1;
|
|
1231
1250
|
}
|
|
1232
1251
|
} catch ($p) {
|
|
1233
1252
|
var e = $p;
|
|
@@ -1235,22 +1254,22 @@
|
|
|
1235
1254
|
}
|
|
1236
1255
|
while (true);
|
|
1237
1256
|
};
|
|
1238
|
-
protoOf(GameServer$shutdown$slambda).
|
|
1239
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
1240
|
-
i.
|
|
1241
|
-
i.
|
|
1257
|
+
protoOf(GameServer$shutdown$slambda).db0 = function ($this$dispatchAsync, store, completion) {
|
|
1258
|
+
var i = new GameServer$shutdown$slambda(this.ad6_1, this.bd6_1, this.cd6_1, completion);
|
|
1259
|
+
i.dd6_1 = $this$dispatchAsync;
|
|
1260
|
+
i.ed6_1 = store;
|
|
1242
1261
|
return i;
|
|
1243
1262
|
};
|
|
1244
|
-
function GameServer$shutdown$slambda_0($reason, this$0, resultContinuation) {
|
|
1245
|
-
var i = new GameServer$shutdown$slambda($reason, this$0, resultContinuation);
|
|
1263
|
+
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
1264
|
+
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
1246
1265
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1247
|
-
return i.
|
|
1266
|
+
return i.cb0($this$dispatchAsync, store, $completion);
|
|
1248
1267
|
};
|
|
1249
1268
|
l.$arity = 2;
|
|
1250
1269
|
return l;
|
|
1251
1270
|
}
|
|
1252
1271
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
1253
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.
|
|
1272
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.fd6()) : preloadedState;
|
|
1254
1273
|
var tmp;
|
|
1255
1274
|
if (externalReducers === VOID) {
|
|
1256
1275
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -1273,84 +1292,90 @@
|
|
|
1273
1292
|
// Inline function 'org.kodein.type.generic' call
|
|
1274
1293
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1275
1294
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1276
|
-
tmp_1.
|
|
1295
|
+
tmp_1.zcz_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory());
|
|
1277
1296
|
var tmp_3 = this;
|
|
1278
1297
|
// Inline function 'org.kodein.di.instance' call
|
|
1279
1298
|
// Inline function 'org.kodein.type.generic' call
|
|
1280
1299
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1281
1300
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1282
|
-
tmp_3.
|
|
1301
|
+
tmp_3.ad0_1 = Instance(di, tmp$ret$4, null).m67(this, toClientEventsObserver$factory());
|
|
1283
1302
|
var tmp_5 = this;
|
|
1284
1303
|
// Inline function 'org.kodein.di.instance' call
|
|
1285
1304
|
// Inline function 'org.kodein.type.generic' call
|
|
1286
1305
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1287
1306
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1288
|
-
tmp_5.
|
|
1307
|
+
tmp_5.bd0_1 = Instance(di, tmp$ret$6, null).m67(this, playerConnectionInteractor$factory());
|
|
1289
1308
|
var tmp_7 = this;
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1309
|
+
// Inline function 'org.kodein.di.instance' call
|
|
1310
|
+
// Inline function 'org.kodein.type.generic' call
|
|
1311
|
+
var tmp_8 = typeToken(createKType(getKClass(CustomRandom), arrayOf([]), false));
|
|
1312
|
+
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1313
|
+
tmp_7.cd0_1 = Instance(di, tmp$ret$8, null).m67(this, random$factory());
|
|
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);
|
|
1293
1318
|
}
|
|
1294
|
-
protoOf(GameServer).
|
|
1295
|
-
return this.
|
|
1319
|
+
protoOf(GameServer).r6v = function () {
|
|
1320
|
+
return this.dd0_1;
|
|
1296
1321
|
};
|
|
1297
|
-
protoOf(GameServer).
|
|
1298
|
-
return this.
|
|
1322
|
+
protoOf(GameServer).w5o = function () {
|
|
1323
|
+
return this.w6e().e6x().id;
|
|
1299
1324
|
};
|
|
1300
|
-
protoOf(GameServer).
|
|
1301
|
-
return this.
|
|
1325
|
+
protoOf(GameServer).e6x = function () {
|
|
1326
|
+
return this.w6e().e6x();
|
|
1302
1327
|
};
|
|
1303
|
-
protoOf(GameServer).
|
|
1304
|
-
return this.
|
|
1328
|
+
protoOf(GameServer).f6x = function () {
|
|
1329
|
+
return this.w6e().f6x();
|
|
1305
1330
|
};
|
|
1306
|
-
protoOf(GameServer).
|
|
1307
|
-
return this.
|
|
1331
|
+
protoOf(GameServer).g6x = function () {
|
|
1332
|
+
return this.w6e().e6w_1;
|
|
1308
1333
|
};
|
|
1309
1334
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
1310
|
-
var tmp = this.
|
|
1311
|
-
tmp.
|
|
1335
|
+
var tmp = this.p6v();
|
|
1336
|
+
tmp.x6k(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
|
|
1312
1337
|
};
|
|
1313
1338
|
protoOf(GameServer).subscribeWith = function (subscriber) {
|
|
1314
|
-
var tmp = this.
|
|
1315
|
-
tmp.
|
|
1339
|
+
var tmp = this.p6v();
|
|
1340
|
+
tmp.x6k(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
|
|
1316
1341
|
};
|
|
1317
1342
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
1318
1343
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
1319
|
-
this.
|
|
1344
|
+
this.dd0_1.d6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
1320
1345
|
};
|
|
1321
1346
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
1322
1347
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
1323
|
-
this.
|
|
1348
|
+
this.dd0_1.d6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
1324
1349
|
};
|
|
1325
1350
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
1326
1351
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
1327
|
-
this.
|
|
1352
|
+
this.dd0_1.d6x(GameServer$playerLive$slambda_0(playerId, null));
|
|
1328
1353
|
};
|
|
1329
1354
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
1330
1355
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
1331
|
-
this.
|
|
1356
|
+
this.dd0_1.d6x(GameServer$playerLeft$slambda_0(playerId, null));
|
|
1332
1357
|
};
|
|
1333
|
-
protoOf(GameServer).
|
|
1334
|
-
this.
|
|
1358
|
+
protoOf(GameServer).gd6 = function (roomId, gameCreatorId, config, users, spectators) {
|
|
1359
|
+
this.dd0_1.d6x(GameServer$roomOnCreate$slambda_0(users, gameCreatorId, this, spectators, config, roomId, null));
|
|
1335
1360
|
};
|
|
1336
1361
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
1337
|
-
this.
|
|
1362
|
+
this.dd0_1.d6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
1338
1363
|
};
|
|
1339
1364
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
1340
|
-
this.
|
|
1365
|
+
this.dd0_1.d6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
1341
1366
|
};
|
|
1342
1367
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
1343
1368
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
1344
|
-
this.
|
|
1369
|
+
this.dd0_1.d6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
1345
1370
|
};
|
|
1346
|
-
protoOf(GameServer).
|
|
1347
|
-
this.
|
|
1371
|
+
protoOf(GameServer).hd6 = function (newRid) {
|
|
1372
|
+
this.dd0_1.d6x(GameServer$roomOnDelete$slambda_0(this, null));
|
|
1348
1373
|
};
|
|
1349
1374
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
1350
|
-
this.
|
|
1375
|
+
this.dd0_1.d6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
1351
1376
|
};
|
|
1352
|
-
protoOf(GameServer).
|
|
1353
|
-
this.
|
|
1377
|
+
protoOf(GameServer).id6 = function (reason, roomId) {
|
|
1378
|
+
this.dd0_1.d6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
1354
1379
|
};
|
|
1355
1380
|
protoOf(GameServer).clear = function () {
|
|
1356
1381
|
return this.a2();
|
|
@@ -1370,6 +1395,11 @@
|
|
|
1370
1395
|
return _get_playerConnectionInteractor__si6cxf(receiver);
|
|
1371
1396
|
}, null);
|
|
1372
1397
|
}
|
|
1398
|
+
function random$factory() {
|
|
1399
|
+
return getPropertyCallableRef('random', 1, KProperty1, function (receiver) {
|
|
1400
|
+
return _get_random__h29cgo(receiver);
|
|
1401
|
+
}, null);
|
|
1402
|
+
}
|
|
1373
1403
|
function logger$factory_0() {
|
|
1374
1404
|
return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
|
|
1375
1405
|
return _get_logger__rkp4sl(receiver);
|
|
@@ -1385,6 +1415,11 @@
|
|
|
1385
1415
|
return _get_playerConnectionInteractor__si6cxf(receiver);
|
|
1386
1416
|
}, null);
|
|
1387
1417
|
}
|
|
1418
|
+
function random$factory_0() {
|
|
1419
|
+
return getPropertyCallableRef('random', 1, KProperty1, function (receiver) {
|
|
1420
|
+
return _get_random__h29cgo(receiver);
|
|
1421
|
+
}, null);
|
|
1422
|
+
}
|
|
1388
1423
|
function get_serverShutdownReasonMapping() {
|
|
1389
1424
|
_init_properties_ReasonsMappers_kt__p6o0hv();
|
|
1390
1425
|
return serverShutdownReasonMapping;
|
|
@@ -1419,16 +1454,16 @@
|
|
|
1419
1454
|
return ServerShutdownReason_ERROR_instance;
|
|
1420
1455
|
}
|
|
1421
1456
|
function ServerConfig(canStartNewGame) {
|
|
1422
|
-
this.
|
|
1457
|
+
this.qd5_1 = canStartNewGame;
|
|
1423
1458
|
}
|
|
1424
|
-
protoOf(ServerConfig).
|
|
1459
|
+
protoOf(ServerConfig).rd5 = function (canStartNewGame) {
|
|
1425
1460
|
return new ServerConfig(canStartNewGame);
|
|
1426
1461
|
};
|
|
1427
1462
|
protoOf(ServerConfig).toString = function () {
|
|
1428
|
-
return 'ServerConfig(canStartNewGame=' + this.
|
|
1463
|
+
return 'ServerConfig(canStartNewGame=' + this.qd5_1 + ')';
|
|
1429
1464
|
};
|
|
1430
1465
|
protoOf(ServerConfig).hashCode = function () {
|
|
1431
|
-
return getBooleanHashCode(this.
|
|
1466
|
+
return getBooleanHashCode(this.qd5_1);
|
|
1432
1467
|
};
|
|
1433
1468
|
protoOf(ServerConfig).equals = function (other) {
|
|
1434
1469
|
if (this === other)
|
|
@@ -1436,7 +1471,7 @@
|
|
|
1436
1471
|
if (!(other instanceof ServerConfig))
|
|
1437
1472
|
return false;
|
|
1438
1473
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
1439
|
-
if (!(this.
|
|
1474
|
+
if (!(this.qd5_1 === tmp0_other_with_cast.qd5_1))
|
|
1440
1475
|
return false;
|
|
1441
1476
|
return true;
|
|
1442
1477
|
};
|
|
@@ -1454,27 +1489,27 @@
|
|
|
1454
1489
|
};
|
|
1455
1490
|
}
|
|
1456
1491
|
function createGameServerDI$lambda$lambda_0($this$singleton) {
|
|
1457
|
-
return new ServerGameStoreContract($this$singleton.
|
|
1492
|
+
return new ServerGameStoreContract($this$singleton.b62());
|
|
1458
1493
|
}
|
|
1459
1494
|
function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
|
|
1460
1495
|
return function ($this$singleton) {
|
|
1461
|
-
var tmp = $this$singleton.
|
|
1496
|
+
var tmp = $this$singleton.b62();
|
|
1462
1497
|
// Inline function 'org.kodein.di.instance' call
|
|
1463
|
-
var tmp_0 = $this$singleton.
|
|
1498
|
+
var tmp_0 = $this$singleton.e63();
|
|
1464
1499
|
// Inline function 'org.kodein.type.generic' call
|
|
1465
1500
|
var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
1466
1501
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
1467
|
-
var tmp$ret$1 = tmp_0.
|
|
1502
|
+
var tmp$ret$1 = tmp_0.d63(tmp$ret$0, null);
|
|
1468
1503
|
return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
|
|
1469
1504
|
};
|
|
1470
1505
|
}
|
|
1471
1506
|
function createGameServerDI$lambda$lambda_2($this$provider) {
|
|
1472
1507
|
// Inline function 'org.kodein.di.instance' call
|
|
1473
|
-
var tmp = $this$provider.
|
|
1508
|
+
var tmp = $this$provider.e63();
|
|
1474
1509
|
// Inline function 'org.kodein.type.generic' call
|
|
1475
1510
|
var tmp_0 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
1476
1511
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1477
|
-
return tmp.
|
|
1512
|
+
return tmp.d63(tmp$ret$0, null);
|
|
1478
1513
|
}
|
|
1479
1514
|
function createGameServerDI$lambda($botConfig, $logicConfig, $dealerConfig, $serverConfig, $externalReducers, $externalMiddlewares) {
|
|
1480
1515
|
return function ($this$Module) {
|
|
@@ -1482,184 +1517,184 @@
|
|
|
1482
1517
|
// Inline function 'org.kodein.type.generic' call
|
|
1483
1518
|
var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
1484
1519
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
1485
|
-
var tmp_0 = $this$Module.
|
|
1520
|
+
var tmp_0 = $this$Module.r61(tmp$ret$0, null, null);
|
|
1486
1521
|
// Inline function 'org.kodein.di.singleton' call
|
|
1487
1522
|
var creator = createGameServerDI$lambda$lambda($serverConfig);
|
|
1488
|
-
var tmp_1 = $this$Module.
|
|
1489
|
-
var tmp_2 = $this$Module.
|
|
1490
|
-
var tmp_3 = $this$Module.
|
|
1523
|
+
var tmp_1 = $this$Module.w61();
|
|
1524
|
+
var tmp_2 = $this$Module.u61();
|
|
1525
|
+
var tmp_3 = $this$Module.v61();
|
|
1491
1526
|
// Inline function 'org.kodein.type.generic' call
|
|
1492
1527
|
var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
1493
1528
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1494
1529
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
1495
|
-
tmp_0.
|
|
1496
|
-
$this$Module.
|
|
1530
|
+
tmp_0.p65(tmp$ret$3);
|
|
1531
|
+
$this$Module.t61(getServerEngineGameDI($botConfig, $logicConfig, $dealerConfig));
|
|
1497
1532
|
// Inline function 'org.kodein.di.bind' call
|
|
1498
1533
|
// Inline function 'org.kodein.type.generic' call
|
|
1499
1534
|
var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
|
|
1500
1535
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
1501
|
-
var tmp_6 = $this$Module.
|
|
1536
|
+
var tmp_6 = $this$Module.r61(tmp$ret$4, null, null);
|
|
1502
1537
|
// Inline function 'org.kodein.di.singleton' call
|
|
1503
1538
|
var creator_0 = createGameServerDI$lambda$lambda_0;
|
|
1504
|
-
var tmp_7 = $this$Module.
|
|
1505
|
-
var tmp_8 = $this$Module.
|
|
1506
|
-
var tmp_9 = $this$Module.
|
|
1539
|
+
var tmp_7 = $this$Module.w61();
|
|
1540
|
+
var tmp_8 = $this$Module.u61();
|
|
1541
|
+
var tmp_9 = $this$Module.v61();
|
|
1507
1542
|
// Inline function 'org.kodein.type.generic' call
|
|
1508
1543
|
var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
|
|
1509
1544
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1510
1545
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
1511
|
-
tmp_6.
|
|
1546
|
+
tmp_6.p65(tmp$ret$7);
|
|
1512
1547
|
// Inline function 'org.kodein.di.bind' call
|
|
1513
1548
|
// Inline function 'org.kodein.type.generic' call
|
|
1514
1549
|
var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
1515
1550
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
1516
|
-
var tmp_12 = $this$Module.
|
|
1551
|
+
var tmp_12 = $this$Module.r61(tmp$ret$8, null, null);
|
|
1517
1552
|
// Inline function 'org.kodein.di.singleton' call
|
|
1518
1553
|
var creator_1 = createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares);
|
|
1519
|
-
var tmp_13 = $this$Module.
|
|
1520
|
-
var tmp_14 = $this$Module.
|
|
1521
|
-
var tmp_15 = $this$Module.
|
|
1554
|
+
var tmp_13 = $this$Module.w61();
|
|
1555
|
+
var tmp_14 = $this$Module.u61();
|
|
1556
|
+
var tmp_15 = $this$Module.v61();
|
|
1522
1557
|
// Inline function 'org.kodein.type.generic' call
|
|
1523
1558
|
var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
1524
1559
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
1525
1560
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
1526
|
-
tmp_12.
|
|
1561
|
+
tmp_12.p65(tmp$ret$11);
|
|
1527
1562
|
// Inline function 'org.kodein.di.bind' call
|
|
1528
1563
|
// Inline function 'org.kodein.type.generic' call
|
|
1529
1564
|
var tmp_17 = typeToken(createKType(getKClass(StateProvider), arrayOf([]), false));
|
|
1530
1565
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
1531
|
-
var tmp_18 = $this$Module.
|
|
1566
|
+
var tmp_18 = $this$Module.r61(tmp$ret$12, null, null);
|
|
1532
1567
|
// Inline function 'org.kodein.di.provider' call
|
|
1533
1568
|
var creator_2 = createGameServerDI$lambda$lambda_2;
|
|
1534
|
-
var tmp_19 = $this$Module.
|
|
1569
|
+
var tmp_19 = $this$Module.u61();
|
|
1535
1570
|
// Inline function 'org.kodein.type.generic' call
|
|
1536
1571
|
var tmp_20 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
1537
1572
|
var tmp$ret$14 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
1538
1573
|
var tmp$ret$15 = new Provider(tmp_19, tmp$ret$14, creator_2);
|
|
1539
|
-
tmp_18.
|
|
1574
|
+
tmp_18.p65(tmp$ret$15);
|
|
1540
1575
|
return Unit_instance;
|
|
1541
1576
|
};
|
|
1542
1577
|
}
|
|
1543
1578
|
function getServerEngineGameDI$lambda$lambda($this$provider) {
|
|
1544
1579
|
// Inline function 'org.kodein.di.instance' call
|
|
1545
|
-
var tmp = $this$provider.
|
|
1580
|
+
var tmp = $this$provider.e63();
|
|
1546
1581
|
// Inline function 'org.kodein.type.generic' call
|
|
1547
1582
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1548
1583
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1549
|
-
var tmp_1 = tmp.
|
|
1584
|
+
var tmp_1 = tmp.d63(tmp$ret$0, null);
|
|
1550
1585
|
// Inline function 'org.kodein.di.instance' call
|
|
1551
|
-
var tmp_2 = $this$provider.
|
|
1586
|
+
var tmp_2 = $this$provider.e63();
|
|
1552
1587
|
// Inline function 'org.kodein.type.generic' call
|
|
1553
1588
|
var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
1554
1589
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
1555
|
-
var tmp_4 = tmp_2.
|
|
1590
|
+
var tmp_4 = tmp_2.d63(tmp$ret$2, null);
|
|
1556
1591
|
// Inline function 'org.kodein.di.instance' call
|
|
1557
|
-
var tmp_5 = $this$provider.
|
|
1592
|
+
var tmp_5 = $this$provider.e63();
|
|
1558
1593
|
// Inline function 'org.kodein.type.generic' call
|
|
1559
1594
|
var tmp_6 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
1560
1595
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1561
|
-
var tmp$ret$5 = tmp_5.
|
|
1596
|
+
var tmp$ret$5 = tmp_5.d63(tmp$ret$4, null);
|
|
1562
1597
|
return new ServerMechanicLifecycleReducer(tmp_1, tmp_4, tmp$ret$5);
|
|
1563
1598
|
}
|
|
1564
1599
|
function getServerEngineGameDI$lambda$lambda_0($this$provider) {
|
|
1565
1600
|
// Inline function 'org.kodein.di.instance' call
|
|
1566
|
-
var tmp = $this$provider.
|
|
1601
|
+
var tmp = $this$provider.e63();
|
|
1567
1602
|
// Inline function 'org.kodein.type.generic' call
|
|
1568
1603
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
1569
1604
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1570
|
-
var tmp0_serverConfig = tmp.
|
|
1605
|
+
var tmp0_serverConfig = tmp.d63(tmp$ret$0, null);
|
|
1571
1606
|
// Inline function 'org.kodein.di.instance' call
|
|
1572
|
-
var tmp_1 = $this$provider.
|
|
1607
|
+
var tmp_1 = $this$provider.e63();
|
|
1573
1608
|
// Inline function 'org.kodein.type.generic' call
|
|
1574
1609
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1575
1610
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1576
|
-
var tmp1_logger = tmp_1.
|
|
1611
|
+
var tmp1_logger = tmp_1.d63(tmp$ret$2, null);
|
|
1577
1612
|
// Inline function 'org.kodein.di.instance' call
|
|
1578
|
-
var tmp_3 = $this$provider.
|
|
1613
|
+
var tmp_3 = $this$provider.e63();
|
|
1579
1614
|
// Inline function 'org.kodein.type.generic' call
|
|
1580
1615
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
1581
1616
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1582
|
-
var tmp2_playerTurnMechanicReducer = tmp_3.
|
|
1617
|
+
var tmp2_playerTurnMechanicReducer = tmp_3.d63(tmp$ret$4, null);
|
|
1583
1618
|
// Inline function 'org.kodein.di.instance' call
|
|
1584
|
-
var tmp_5 = $this$provider.
|
|
1619
|
+
var tmp_5 = $this$provider.e63();
|
|
1585
1620
|
// Inline function 'org.kodein.type.generic' call
|
|
1586
1621
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1587
1622
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1588
|
-
var tmp3_idsProvider = tmp_5.
|
|
1623
|
+
var tmp3_idsProvider = tmp_5.d63(tmp$ret$6, null);
|
|
1589
1624
|
// Inline function 'org.kodein.di.instance' call
|
|
1590
|
-
var tmp_7 = $this$provider.
|
|
1625
|
+
var tmp_7 = $this$provider.e63();
|
|
1591
1626
|
// Inline function 'org.kodein.type.generic' call
|
|
1592
1627
|
var tmp_8 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
1593
1628
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
1594
|
-
var tmp4_engineLogicConfig = tmp_7.
|
|
1629
|
+
var tmp4_engineLogicConfig = tmp_7.d63(tmp$ret$8, null);
|
|
1595
1630
|
return new PlayerConnectionInteractor(tmp0_serverConfig, tmp4_engineLogicConfig, tmp1_logger, tmp2_playerTurnMechanicReducer, tmp3_idsProvider);
|
|
1596
1631
|
}
|
|
1597
1632
|
function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
|
|
1598
1633
|
// Inline function 'org.kodein.di.instance' call
|
|
1599
|
-
var tmp = $this$singleton.
|
|
1634
|
+
var tmp = $this$singleton.e63();
|
|
1600
1635
|
// Inline function 'org.kodein.type.generic' call
|
|
1601
1636
|
var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
1602
1637
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1603
|
-
var tmp_1 = tmp.
|
|
1638
|
+
var tmp_1 = tmp.d63(tmp$ret$0, null);
|
|
1604
1639
|
// Inline function 'org.kodein.di.instance' call
|
|
1605
|
-
var tmp_2 = $this$singleton.
|
|
1640
|
+
var tmp_2 = $this$singleton.e63();
|
|
1606
1641
|
// Inline function 'org.kodein.type.generic' call
|
|
1607
1642
|
var tmp_3 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
1608
1643
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
1609
|
-
var tmp_4 = tmp_2.
|
|
1644
|
+
var tmp_4 = tmp_2.d63(tmp$ret$2, null);
|
|
1610
1645
|
// Inline function 'org.kodein.di.instance' call
|
|
1611
|
-
var tmp_5 = $this$singleton.
|
|
1646
|
+
var tmp_5 = $this$singleton.e63();
|
|
1612
1647
|
// Inline function 'org.kodein.type.generic' call
|
|
1613
1648
|
var tmp_6 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
1614
1649
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1615
|
-
var tmp$ret$5 = tmp_5.
|
|
1650
|
+
var tmp$ret$5 = tmp_5.d63(tmp$ret$4, null);
|
|
1616
1651
|
return new ToClientEventsObserverImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
1617
1652
|
}
|
|
1618
1653
|
function getServerEngineGameDI$lambda($engineBotConfig, $engineLogicConfig, $dealerConfig) {
|
|
1619
1654
|
return function ($this$Module) {
|
|
1620
|
-
$this$Module.
|
|
1621
|
-
$this$Module.
|
|
1655
|
+
$this$Module.t61(jsonModule(emptyList()));
|
|
1656
|
+
$this$Module.t61(getEngineGameModule($engineBotConfig, $engineLogicConfig, $dealerConfig));
|
|
1622
1657
|
// Inline function 'org.kodein.di.bind' call
|
|
1623
1658
|
// Inline function 'org.kodein.type.generic' call
|
|
1624
1659
|
var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
|
|
1625
1660
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
1626
|
-
var tmp_0 = $this$Module.
|
|
1661
|
+
var tmp_0 = $this$Module.r61(tmp$ret$0, null, null);
|
|
1627
1662
|
// Inline function 'org.kodein.di.provider' call
|
|
1628
1663
|
var creator = getServerEngineGameDI$lambda$lambda;
|
|
1629
|
-
var tmp_1 = $this$Module.
|
|
1664
|
+
var tmp_1 = $this$Module.u61();
|
|
1630
1665
|
// Inline function 'org.kodein.type.generic' call
|
|
1631
1666
|
var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
|
|
1632
1667
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
1633
1668
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
1634
|
-
tmp_0.
|
|
1669
|
+
tmp_0.p65(tmp$ret$3);
|
|
1635
1670
|
// Inline function 'org.kodein.di.bind' call
|
|
1636
1671
|
// Inline function 'org.kodein.type.generic' call
|
|
1637
1672
|
var tmp_3 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1638
1673
|
var tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
1639
|
-
var tmp_4 = $this$Module.
|
|
1674
|
+
var tmp_4 = $this$Module.r61(tmp$ret$4, null, null);
|
|
1640
1675
|
// Inline function 'org.kodein.di.provider' call
|
|
1641
1676
|
var creator_0 = getServerEngineGameDI$lambda$lambda_0;
|
|
1642
|
-
var tmp_5 = $this$Module.
|
|
1677
|
+
var tmp_5 = $this$Module.u61();
|
|
1643
1678
|
// Inline function 'org.kodein.type.generic' call
|
|
1644
1679
|
var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
1645
1680
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
1646
1681
|
var tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, creator_0);
|
|
1647
|
-
tmp_4.
|
|
1682
|
+
tmp_4.p65(tmp$ret$7);
|
|
1648
1683
|
// Inline function 'org.kodein.di.bind' call
|
|
1649
1684
|
// Inline function 'org.kodein.type.generic' call
|
|
1650
1685
|
var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
1651
1686
|
var tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
1652
|
-
var tmp_8 = $this$Module.
|
|
1687
|
+
var tmp_8 = $this$Module.r61(tmp$ret$8, null, null);
|
|
1653
1688
|
// Inline function 'org.kodein.di.singleton' call
|
|
1654
1689
|
var creator_1 = getServerEngineGameDI$lambda$lambda_1;
|
|
1655
|
-
var tmp_9 = $this$Module.
|
|
1656
|
-
var tmp_10 = $this$Module.
|
|
1657
|
-
var tmp_11 = $this$Module.
|
|
1690
|
+
var tmp_9 = $this$Module.w61();
|
|
1691
|
+
var tmp_10 = $this$Module.u61();
|
|
1692
|
+
var tmp_11 = $this$Module.v61();
|
|
1658
1693
|
// Inline function 'org.kodein.type.generic' call
|
|
1659
1694
|
var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
|
|
1660
1695
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
1661
1696
|
var tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, creator_1);
|
|
1662
|
-
tmp_8.
|
|
1697
|
+
tmp_8.p65(tmp$ret$11);
|
|
1663
1698
|
return Unit_instance;
|
|
1664
1699
|
};
|
|
1665
1700
|
}
|
|
@@ -1668,59 +1703,59 @@
|
|
|
1668
1703
|
function ToClientEventsObserver() {
|
|
1669
1704
|
}
|
|
1670
1705
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
1671
|
-
this.
|
|
1672
|
-
this.
|
|
1706
|
+
this.sd6_1 = this$0;
|
|
1707
|
+
this.td6_1 = $actions;
|
|
1673
1708
|
CoroutineImpl.call(this, resultContinuation);
|
|
1674
1709
|
}
|
|
1675
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1676
|
-
var tmp = this.
|
|
1677
|
-
tmp.
|
|
1678
|
-
tmp.
|
|
1679
|
-
return tmp.
|
|
1710
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).ad7 = function ($this$flow, $completion) {
|
|
1711
|
+
var tmp = this.bd7($this$flow, $completion);
|
|
1712
|
+
tmp.g9_1 = Unit_instance;
|
|
1713
|
+
tmp.h9_1 = null;
|
|
1714
|
+
return tmp.m9();
|
|
1680
1715
|
};
|
|
1681
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1682
|
-
return this.
|
|
1716
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).w9 = function (p1, $completion) {
|
|
1717
|
+
return this.ad7((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
1683
1718
|
};
|
|
1684
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1685
|
-
var suspendResult = this.
|
|
1719
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).m9 = function () {
|
|
1720
|
+
var suspendResult = this.g9_1;
|
|
1686
1721
|
$sm: do
|
|
1687
1722
|
try {
|
|
1688
|
-
var tmp = this.
|
|
1723
|
+
var tmp = this.e9_1;
|
|
1689
1724
|
switch (tmp) {
|
|
1690
1725
|
case 0:
|
|
1691
|
-
this.
|
|
1726
|
+
this.f9_1 = 4;
|
|
1692
1727
|
var tmp_0 = this;
|
|
1693
|
-
tmp_0.
|
|
1728
|
+
tmp_0.vd6_1 = this.sd6_1.gd7_1;
|
|
1694
1729
|
var tmp_1 = this;
|
|
1695
|
-
tmp_1.
|
|
1696
|
-
this.
|
|
1697
|
-
this.
|
|
1730
|
+
tmp_1.wd6_1 = transformToEmits(this.sd6_1, this.td6_1);
|
|
1731
|
+
this.xd6_1 = this.wd6_1.j();
|
|
1732
|
+
this.e9_1 = 1;
|
|
1698
1733
|
continue $sm;
|
|
1699
1734
|
case 1:
|
|
1700
|
-
if (!this.
|
|
1701
|
-
this.
|
|
1735
|
+
if (!this.xd6_1.k()) {
|
|
1736
|
+
this.e9_1 = 3;
|
|
1702
1737
|
continue $sm;
|
|
1703
1738
|
}
|
|
1704
1739
|
|
|
1705
|
-
this.
|
|
1740
|
+
this.yd6_1 = this.xd6_1.l();
|
|
1706
1741
|
var tmp_2 = this;
|
|
1707
|
-
tmp_2.
|
|
1708
|
-
this.
|
|
1709
|
-
suspendResult = this.
|
|
1742
|
+
tmp_2.zd6_1 = this.yd6_1;
|
|
1743
|
+
this.e9_1 = 2;
|
|
1744
|
+
suspendResult = this.ud6_1.p18(this.zd6_1, this);
|
|
1710
1745
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1711
1746
|
return suspendResult;
|
|
1712
1747
|
}
|
|
1713
1748
|
|
|
1714
1749
|
continue $sm;
|
|
1715
1750
|
case 2:
|
|
1716
|
-
this.
|
|
1751
|
+
this.e9_1 = 1;
|
|
1717
1752
|
continue $sm;
|
|
1718
1753
|
case 3:
|
|
1719
1754
|
l$ret$1: do {
|
|
1720
|
-
var this_0 = this.
|
|
1755
|
+
var this_0 = this.sd6_1.fd7_1;
|
|
1721
1756
|
while (true) {
|
|
1722
1757
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1723
|
-
var upd = cur - this.
|
|
1758
|
+
var upd = cur - this.td6_1.m() | 0;
|
|
1724
1759
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
1725
1760
|
break l$ret$1;
|
|
1726
1761
|
}
|
|
@@ -1729,28 +1764,28 @@
|
|
|
1729
1764
|
while (false);
|
|
1730
1765
|
return Unit_instance;
|
|
1731
1766
|
case 4:
|
|
1732
|
-
throw this.
|
|
1767
|
+
throw this.h9_1;
|
|
1733
1768
|
}
|
|
1734
1769
|
} catch ($p) {
|
|
1735
1770
|
var e = $p;
|
|
1736
|
-
if (this.
|
|
1771
|
+
if (this.f9_1 === 4) {
|
|
1737
1772
|
throw e;
|
|
1738
1773
|
} else {
|
|
1739
|
-
this.
|
|
1740
|
-
this.
|
|
1774
|
+
this.e9_1 = this.f9_1;
|
|
1775
|
+
this.h9_1 = e;
|
|
1741
1776
|
}
|
|
1742
1777
|
}
|
|
1743
1778
|
while (true);
|
|
1744
1779
|
};
|
|
1745
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).
|
|
1746
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.
|
|
1747
|
-
i.
|
|
1780
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).bd7 = function ($this$flow, completion) {
|
|
1781
|
+
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.sd6_1, this.td6_1, completion);
|
|
1782
|
+
i.ud6_1 = $this$flow;
|
|
1748
1783
|
return i;
|
|
1749
1784
|
};
|
|
1750
1785
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
1751
1786
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
1752
1787
|
var l = function ($this$flow, $completion) {
|
|
1753
|
-
return i.
|
|
1788
|
+
return i.ad7($this$flow, $completion);
|
|
1754
1789
|
};
|
|
1755
1790
|
l.$arity = 1;
|
|
1756
1791
|
return l;
|
|
@@ -1774,12 +1809,12 @@
|
|
|
1774
1809
|
// Inline function 'games.jass.logic.server.domain.events.ToClientEventsObserverImpl.transformToEmits.<anonymous>' call
|
|
1775
1810
|
var key = mapToGroupKey(element.deliveryPayload, $this);
|
|
1776
1811
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1777
|
-
var value = destination.
|
|
1812
|
+
var value = destination.g2(key);
|
|
1778
1813
|
var tmp_0;
|
|
1779
1814
|
if (value == null) {
|
|
1780
1815
|
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
1781
1816
|
var answer = ArrayList_init_$Create$();
|
|
1782
|
-
destination.
|
|
1817
|
+
destination.j2(key, answer);
|
|
1783
1818
|
tmp_0 = answer;
|
|
1784
1819
|
} else {
|
|
1785
1820
|
tmp_0 = value;
|
|
@@ -1823,29 +1858,29 @@
|
|
|
1823
1858
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
1824
1859
|
}
|
|
1825
1860
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
1826
|
-
var tmp = $this.
|
|
1861
|
+
var tmp = $this.ed7_1.a6m();
|
|
1827
1862
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1828
|
-
var this_0 = _this__u8e3s4.
|
|
1863
|
+
var this_0 = _this__u8e3s4.jd7_1;
|
|
1829
1864
|
var tmp_0 = copyToArray(this_0);
|
|
1830
1865
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1831
|
-
var this_1 = _this__u8e3s4.
|
|
1866
|
+
var this_1 = _this__u8e3s4.kd7_1;
|
|
1832
1867
|
var tmp$ret$1 = copyToArray(this_1);
|
|
1833
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
1868
|
+
return new ActionDeliveryPayload(_this__u8e3s4.id7_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ld7_1);
|
|
1834
1869
|
}
|
|
1835
1870
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
1836
|
-
this.
|
|
1837
|
-
this.
|
|
1838
|
-
this.
|
|
1839
|
-
this.
|
|
1871
|
+
this.id7_1 = tableId;
|
|
1872
|
+
this.jd7_1 = includePlayers;
|
|
1873
|
+
this.kd7_1 = excludePlayers;
|
|
1874
|
+
this.ld7_1 = deliveryType;
|
|
1840
1875
|
}
|
|
1841
1876
|
protoOf(GroupKey).toString = function () {
|
|
1842
|
-
return 'GroupKey(tableId=' + this.
|
|
1877
|
+
return 'GroupKey(tableId=' + this.id7_1 + ', includePlayers=' + toString(this.jd7_1) + ', excludePlayers=' + toString(this.kd7_1) + ', deliveryType=' + this.ld7_1.toString() + ')';
|
|
1843
1878
|
};
|
|
1844
1879
|
protoOf(GroupKey).hashCode = function () {
|
|
1845
|
-
var result = getStringHashCode(this.
|
|
1846
|
-
result = imul(result, 31) + hashCode(this.
|
|
1847
|
-
result = imul(result, 31) + hashCode(this.
|
|
1848
|
-
result = imul(result, 31) + this.
|
|
1880
|
+
var result = getStringHashCode(this.id7_1);
|
|
1881
|
+
result = imul(result, 31) + hashCode(this.jd7_1) | 0;
|
|
1882
|
+
result = imul(result, 31) + hashCode(this.kd7_1) | 0;
|
|
1883
|
+
result = imul(result, 31) + this.ld7_1.hashCode() | 0;
|
|
1849
1884
|
return result;
|
|
1850
1885
|
};
|
|
1851
1886
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -1854,46 +1889,46 @@
|
|
|
1854
1889
|
if (!(other instanceof GroupKey))
|
|
1855
1890
|
return false;
|
|
1856
1891
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
1857
|
-
if (!(this.
|
|
1892
|
+
if (!(this.id7_1 === tmp0_other_with_cast.id7_1))
|
|
1858
1893
|
return false;
|
|
1859
|
-
if (!equals(this.
|
|
1894
|
+
if (!equals(this.jd7_1, tmp0_other_with_cast.jd7_1))
|
|
1860
1895
|
return false;
|
|
1861
|
-
if (!equals(this.
|
|
1896
|
+
if (!equals(this.kd7_1, tmp0_other_with_cast.kd7_1))
|
|
1862
1897
|
return false;
|
|
1863
|
-
if (!this.
|
|
1898
|
+
if (!this.ld7_1.equals(tmp0_other_with_cast.ld7_1))
|
|
1864
1899
|
return false;
|
|
1865
1900
|
return true;
|
|
1866
1901
|
};
|
|
1867
1902
|
function Companion_0() {
|
|
1868
|
-
this.
|
|
1903
|
+
this.md7_1 = 6;
|
|
1869
1904
|
}
|
|
1870
1905
|
var Companion_instance_8;
|
|
1871
1906
|
function Companion_getInstance_3() {
|
|
1872
1907
|
return Companion_instance_8;
|
|
1873
1908
|
}
|
|
1874
1909
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation) {
|
|
1875
|
-
this.
|
|
1910
|
+
this.vd7_1 = this$0;
|
|
1876
1911
|
CoroutineImpl.call(this, resultContinuation);
|
|
1877
1912
|
}
|
|
1878
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1879
|
-
var tmp = this.
|
|
1880
|
-
tmp.
|
|
1881
|
-
tmp.
|
|
1882
|
-
return tmp.
|
|
1913
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).xd7 = function (actions, $completion) {
|
|
1914
|
+
var tmp = this.yd7(actions, $completion);
|
|
1915
|
+
tmp.g9_1 = Unit_instance;
|
|
1916
|
+
tmp.h9_1 = null;
|
|
1917
|
+
return tmp.m9();
|
|
1883
1918
|
};
|
|
1884
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1885
|
-
return this.
|
|
1919
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).w9 = function (p1, $completion) {
|
|
1920
|
+
return this.xd7((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
1886
1921
|
};
|
|
1887
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1888
|
-
var suspendResult = this.
|
|
1922
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).m9 = function () {
|
|
1923
|
+
var suspendResult = this.g9_1;
|
|
1889
1924
|
$sm: do
|
|
1890
1925
|
try {
|
|
1891
|
-
var tmp = this.
|
|
1926
|
+
var tmp = this.e9_1;
|
|
1892
1927
|
if (tmp === 0) {
|
|
1893
|
-
this.
|
|
1894
|
-
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.
|
|
1928
|
+
this.f9_1 = 1;
|
|
1929
|
+
return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.vd7_1, this.wd7_1, null));
|
|
1895
1930
|
} else if (tmp === 1) {
|
|
1896
|
-
throw this.
|
|
1931
|
+
throw this.h9_1;
|
|
1897
1932
|
}
|
|
1898
1933
|
} catch ($p) {
|
|
1899
1934
|
var e = $p;
|
|
@@ -1901,36 +1936,36 @@
|
|
|
1901
1936
|
}
|
|
1902
1937
|
while (true);
|
|
1903
1938
|
};
|
|
1904
|
-
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).
|
|
1905
|
-
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.
|
|
1906
|
-
i.
|
|
1939
|
+
protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).yd7 = function (actions, completion) {
|
|
1940
|
+
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.vd7_1, completion);
|
|
1941
|
+
i.wd7_1 = actions;
|
|
1907
1942
|
return i;
|
|
1908
1943
|
};
|
|
1909
1944
|
function ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this$0, resultContinuation) {
|
|
1910
1945
|
var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation);
|
|
1911
1946
|
var l = function (actions, $completion) {
|
|
1912
|
-
return i.
|
|
1947
|
+
return i.xd7(actions, $completion);
|
|
1913
1948
|
};
|
|
1914
1949
|
l.$arity = 1;
|
|
1915
1950
|
return l;
|
|
1916
1951
|
}
|
|
1917
1952
|
function $sentEventCOROUTINE$0(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
1918
1953
|
CoroutineImpl.call(this, resultContinuation);
|
|
1919
|
-
this.
|
|
1920
|
-
this.
|
|
1954
|
+
this.hd8_1 = _this__u8e3s4;
|
|
1955
|
+
this.id8_1 = fromEvent;
|
|
1921
1956
|
}
|
|
1922
|
-
protoOf($sentEventCOROUTINE$0).
|
|
1923
|
-
var suspendResult = this.
|
|
1957
|
+
protoOf($sentEventCOROUTINE$0).m9 = function () {
|
|
1958
|
+
var suspendResult = this.g9_1;
|
|
1924
1959
|
$sm: do
|
|
1925
1960
|
try {
|
|
1926
|
-
var tmp = this.
|
|
1961
|
+
var tmp = this.e9_1;
|
|
1927
1962
|
switch (tmp) {
|
|
1928
1963
|
case 0:
|
|
1929
|
-
this.
|
|
1964
|
+
this.f9_1 = 2;
|
|
1930
1965
|
var tmp_0 = this;
|
|
1931
|
-
tmp_0.
|
|
1966
|
+
tmp_0.jd8_1 = this.hd8_1.gd7_1;
|
|
1932
1967
|
l$ret$1: do {
|
|
1933
|
-
var this_0 = this.
|
|
1968
|
+
var this_0 = this.hd8_1.fd7_1;
|
|
1934
1969
|
while (true) {
|
|
1935
1970
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
1936
1971
|
var upd = cur + 1 | 0;
|
|
@@ -1940,8 +1975,8 @@
|
|
|
1940
1975
|
}
|
|
1941
1976
|
}
|
|
1942
1977
|
while (false);
|
|
1943
|
-
this.
|
|
1944
|
-
suspendResult = this.
|
|
1978
|
+
this.e9_1 = 1;
|
|
1979
|
+
suspendResult = this.hd8_1.hd7_1.p18(this.id8_1, this);
|
|
1945
1980
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1946
1981
|
return suspendResult;
|
|
1947
1982
|
}
|
|
@@ -1950,43 +1985,43 @@
|
|
|
1950
1985
|
case 1:
|
|
1951
1986
|
return Unit_instance;
|
|
1952
1987
|
case 2:
|
|
1953
|
-
throw this.
|
|
1988
|
+
throw this.h9_1;
|
|
1954
1989
|
}
|
|
1955
1990
|
} catch ($p) {
|
|
1956
1991
|
var e = $p;
|
|
1957
|
-
if (this.
|
|
1992
|
+
if (this.f9_1 === 2) {
|
|
1958
1993
|
throw e;
|
|
1959
1994
|
} else {
|
|
1960
|
-
this.
|
|
1961
|
-
this.
|
|
1995
|
+
this.e9_1 = this.f9_1;
|
|
1996
|
+
this.h9_1 = e;
|
|
1962
1997
|
}
|
|
1963
1998
|
}
|
|
1964
1999
|
while (true);
|
|
1965
2000
|
};
|
|
1966
2001
|
function $waitForCOROUTINE$1(_this__u8e3s4, resultContinuation) {
|
|
1967
2002
|
CoroutineImpl.call(this, resultContinuation);
|
|
1968
|
-
this.
|
|
2003
|
+
this.sd8_1 = _this__u8e3s4;
|
|
1969
2004
|
}
|
|
1970
|
-
protoOf($waitForCOROUTINE$1).
|
|
1971
|
-
var suspendResult = this.
|
|
2005
|
+
protoOf($waitForCOROUTINE$1).m9 = function () {
|
|
2006
|
+
var suspendResult = this.g9_1;
|
|
1972
2007
|
$sm: do
|
|
1973
2008
|
try {
|
|
1974
|
-
var tmp = this.
|
|
2009
|
+
var tmp = this.e9_1;
|
|
1975
2010
|
switch (tmp) {
|
|
1976
2011
|
case 0:
|
|
1977
|
-
this.
|
|
2012
|
+
this.f9_1 = 5;
|
|
1978
2013
|
var tmp_0 = this;
|
|
1979
|
-
tmp_0.
|
|
1980
|
-
this.
|
|
1981
|
-
this.
|
|
2014
|
+
tmp_0.td8_1 = this.sd8_1.gd7_1;
|
|
2015
|
+
this.ud8_1 = 0;
|
|
2016
|
+
this.e9_1 = 1;
|
|
1982
2017
|
continue $sm;
|
|
1983
2018
|
case 1:
|
|
1984
|
-
if (!!(this.
|
|
1985
|
-
this.
|
|
2019
|
+
if (!!(this.sd8_1.fd7_1.kotlinx$atomicfu$value === 0)) {
|
|
2020
|
+
this.e9_1 = 4;
|
|
1986
2021
|
continue $sm;
|
|
1987
2022
|
}
|
|
1988
2023
|
|
|
1989
|
-
this.
|
|
2024
|
+
this.e9_1 = 2;
|
|
1990
2025
|
suspendResult = delay(new Long(150, 0), this);
|
|
1991
2026
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1992
2027
|
return suspendResult;
|
|
@@ -1994,72 +2029,72 @@
|
|
|
1994
2029
|
|
|
1995
2030
|
continue $sm;
|
|
1996
2031
|
case 2:
|
|
1997
|
-
this.
|
|
1998
|
-
if (this.
|
|
1999
|
-
this.
|
|
2000
|
-
this.
|
|
2032
|
+
this.ud8_1 = this.ud8_1 + 1 | 0;
|
|
2033
|
+
if (this.ud8_1 > 6) {
|
|
2034
|
+
this.sd8_1.dd7_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.sd8_1.fd7_1.kotlinx$atomicfu$value);
|
|
2035
|
+
this.e9_1 = 4;
|
|
2001
2036
|
continue $sm;
|
|
2002
2037
|
} else {
|
|
2003
|
-
this.
|
|
2038
|
+
this.e9_1 = 3;
|
|
2004
2039
|
continue $sm;
|
|
2005
2040
|
}
|
|
2006
2041
|
|
|
2007
2042
|
case 3:
|
|
2008
|
-
this.
|
|
2043
|
+
this.e9_1 = 1;
|
|
2009
2044
|
continue $sm;
|
|
2010
2045
|
case 4:
|
|
2011
2046
|
return Unit_instance;
|
|
2012
2047
|
case 5:
|
|
2013
|
-
throw this.
|
|
2048
|
+
throw this.h9_1;
|
|
2014
2049
|
}
|
|
2015
2050
|
} catch ($p) {
|
|
2016
2051
|
var e = $p;
|
|
2017
|
-
if (this.
|
|
2052
|
+
if (this.f9_1 === 5) {
|
|
2018
2053
|
throw e;
|
|
2019
2054
|
} else {
|
|
2020
|
-
this.
|
|
2021
|
-
this.
|
|
2055
|
+
this.e9_1 = this.f9_1;
|
|
2056
|
+
this.h9_1 = e;
|
|
2022
2057
|
}
|
|
2023
2058
|
}
|
|
2024
2059
|
while (true);
|
|
2025
2060
|
};
|
|
2026
2061
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
2027
|
-
this.
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2062
|
+
this.cd7_1 = serverReduxConfig;
|
|
2063
|
+
this.dd7_1 = logger;
|
|
2064
|
+
this.ed7_1 = idsProvider;
|
|
2065
|
+
this.fd7_1 = atomic$ref$1(0);
|
|
2031
2066
|
var tmp = this;
|
|
2032
2067
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
2033
|
-
tmp.
|
|
2034
|
-
this.
|
|
2068
|
+
tmp.gd7_1 = get_atomicfu$reentrantLock();
|
|
2069
|
+
this.hd7_1 = MutableSharedFlow();
|
|
2035
2070
|
}
|
|
2036
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2071
|
+
protoOf(ToClientEventsObserverImpl).jd6 = function (fromEvent, $completion) {
|
|
2037
2072
|
var tmp = new $sentEventCOROUTINE$0(this, fromEvent, $completion);
|
|
2038
|
-
tmp.
|
|
2039
|
-
tmp.
|
|
2040
|
-
return tmp.
|
|
2073
|
+
tmp.g9_1 = Unit_instance;
|
|
2074
|
+
tmp.h9_1 = null;
|
|
2075
|
+
return tmp.m9();
|
|
2041
2076
|
};
|
|
2042
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2077
|
+
protoOf(ToClientEventsObserverImpl).w9f = function ($completion) {
|
|
2043
2078
|
var tmp = new $waitForCOROUTINE$1(this, $completion);
|
|
2044
|
-
tmp.
|
|
2045
|
-
tmp.
|
|
2046
|
-
return tmp.
|
|
2079
|
+
tmp.g9_1 = Unit_instance;
|
|
2080
|
+
tmp.h9_1 = null;
|
|
2081
|
+
return tmp.m9();
|
|
2047
2082
|
};
|
|
2048
|
-
protoOf(ToClientEventsObserverImpl).
|
|
2049
|
-
if (!this.
|
|
2050
|
-
return this.
|
|
2083
|
+
protoOf(ToClientEventsObserverImpl).bb5 = function () {
|
|
2084
|
+
if (!this.cd7_1.enabledCombinedEvents) {
|
|
2085
|
+
return this.hd7_1;
|
|
2051
2086
|
}
|
|
2052
|
-
var tmp = windowedByInterval(this.
|
|
2087
|
+
var tmp = windowedByInterval(this.hd7_1, toLong(this.cd7_1.combinedEventsPeriod));
|
|
2053
2088
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this, null));
|
|
2054
2089
|
};
|
|
2055
2090
|
function UpdateServerConfigAction(serverConfig) {
|
|
2056
|
-
this.
|
|
2091
|
+
this.vd8_1 = serverConfig;
|
|
2057
2092
|
}
|
|
2058
2093
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
2059
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
2094
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.vd8_1.toString() + ')';
|
|
2060
2095
|
};
|
|
2061
2096
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
2062
|
-
return this.
|
|
2097
|
+
return this.vd8_1.hashCode();
|
|
2063
2098
|
};
|
|
2064
2099
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
2065
2100
|
if (this === other)
|
|
@@ -2067,18 +2102,18 @@
|
|
|
2067
2102
|
if (!(other instanceof UpdateServerConfigAction))
|
|
2068
2103
|
return false;
|
|
2069
2104
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
2070
|
-
if (!this.
|
|
2105
|
+
if (!this.vd8_1.equals(tmp0_other_with_cast.vd8_1))
|
|
2071
2106
|
return false;
|
|
2072
2107
|
return true;
|
|
2073
2108
|
};
|
|
2074
2109
|
function AddSpectatorsAction(spectators) {
|
|
2075
|
-
this.
|
|
2110
|
+
this.wd8_1 = spectators;
|
|
2076
2111
|
}
|
|
2077
2112
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
2078
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
2113
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.wd8_1) + ')';
|
|
2079
2114
|
};
|
|
2080
2115
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
2081
|
-
return hashCode(this.
|
|
2116
|
+
return hashCode(this.wd8_1);
|
|
2082
2117
|
};
|
|
2083
2118
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
2084
2119
|
if (this === other)
|
|
@@ -2086,18 +2121,18 @@
|
|
|
2086
2121
|
if (!(other instanceof AddSpectatorsAction))
|
|
2087
2122
|
return false;
|
|
2088
2123
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
2089
|
-
if (!equals(this.
|
|
2124
|
+
if (!equals(this.wd8_1, tmp0_other_with_cast.wd8_1))
|
|
2090
2125
|
return false;
|
|
2091
2126
|
return true;
|
|
2092
2127
|
};
|
|
2093
2128
|
function RemoveSpectatorsAction(spectators) {
|
|
2094
|
-
this.
|
|
2129
|
+
this.xd8_1 = spectators;
|
|
2095
2130
|
}
|
|
2096
2131
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
2097
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
2132
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.xd8_1) + ')';
|
|
2098
2133
|
};
|
|
2099
2134
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
2100
|
-
return hashCode(this.
|
|
2135
|
+
return hashCode(this.xd8_1);
|
|
2101
2136
|
};
|
|
2102
2137
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
2103
2138
|
if (this === other)
|
|
@@ -2105,7 +2140,7 @@
|
|
|
2105
2140
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
2106
2141
|
return false;
|
|
2107
2142
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
2108
|
-
if (!equals(this.
|
|
2143
|
+
if (!equals(this.xd8_1, tmp0_other_with_cast.xd8_1))
|
|
2109
2144
|
return false;
|
|
2110
2145
|
return true;
|
|
2111
2146
|
};
|
|
@@ -2113,66 +2148,66 @@
|
|
|
2113
2148
|
}
|
|
2114
2149
|
function _get_asyncProvider__jbpyhw($this) {
|
|
2115
2150
|
// Inline function 'kotlin.getValue' call
|
|
2116
|
-
var this_0 = $this.
|
|
2151
|
+
var this_0 = $this.dd9_1;
|
|
2117
2152
|
asyncProvider$factory_0();
|
|
2118
2153
|
return this_0.u();
|
|
2119
2154
|
}
|
|
2120
2155
|
function _get_logger__rkp4sl_0($this) {
|
|
2121
2156
|
// Inline function 'kotlin.getValue' call
|
|
2122
|
-
var this_0 = $this.
|
|
2157
|
+
var this_0 = $this.ed9_1;
|
|
2123
2158
|
logger$factory_2();
|
|
2124
2159
|
return this_0.u();
|
|
2125
2160
|
}
|
|
2126
2161
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
2127
2162
|
// Inline function 'kotlin.getValue' call
|
|
2128
|
-
var this_0 = $this.
|
|
2163
|
+
var this_0 = $this.fd9_1;
|
|
2129
2164
|
playerConnectionInteractor$factory_2();
|
|
2130
2165
|
return this_0.u();
|
|
2131
2166
|
}
|
|
2132
2167
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
2133
2168
|
// Inline function 'kotlin.getValue' call
|
|
2134
|
-
var this_0 = $this.
|
|
2169
|
+
var this_0 = $this.gd9_1;
|
|
2135
2170
|
lastCardInteractor$factory_0();
|
|
2136
2171
|
return this_0.u();
|
|
2137
2172
|
}
|
|
2138
2173
|
function _get_serverConfig__rk2g06($this) {
|
|
2139
2174
|
// Inline function 'kotlin.getValue' call
|
|
2140
|
-
var this_0 = $this.
|
|
2175
|
+
var this_0 = $this.hd9_1;
|
|
2141
2176
|
serverConfig$factory_0();
|
|
2142
2177
|
return this_0.u();
|
|
2143
2178
|
}
|
|
2144
2179
|
function _get_logicConfig__52ww9d($this) {
|
|
2145
2180
|
// Inline function 'kotlin.getValue' call
|
|
2146
|
-
var this_0 = $this.
|
|
2181
|
+
var this_0 = $this.id9_1;
|
|
2147
2182
|
logicConfig$factory_0();
|
|
2148
2183
|
return this_0.u();
|
|
2149
2184
|
}
|
|
2150
2185
|
function _get_idsProvider__fnfajc($this) {
|
|
2151
2186
|
// Inline function 'kotlin.getValue' call
|
|
2152
|
-
var this_0 = $this.
|
|
2187
|
+
var this_0 = $this.jd9_1;
|
|
2153
2188
|
idsProvider$factory_0();
|
|
2154
2189
|
return this_0.u();
|
|
2155
2190
|
}
|
|
2156
2191
|
function _get_botConfig__cpaxzc($this) {
|
|
2157
2192
|
// Inline function 'kotlin.getValue' call
|
|
2158
|
-
var this_0 = $this.
|
|
2193
|
+
var this_0 = $this.kd9_1;
|
|
2159
2194
|
botConfig$factory_0();
|
|
2160
2195
|
return this_0.u();
|
|
2161
2196
|
}
|
|
2162
2197
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
2163
2198
|
// Inline function 'kotlin.getValue' call
|
|
2164
|
-
var this_0 = $this.
|
|
2199
|
+
var this_0 = $this.ld9_1;
|
|
2165
2200
|
scenePositionProvider$factory_0();
|
|
2166
2201
|
return this_0.u();
|
|
2167
2202
|
}
|
|
2168
2203
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
2169
2204
|
// Inline function 'kotlin.getValue' call
|
|
2170
|
-
var this_0 = $this.
|
|
2205
|
+
var this_0 = $this.md9_1;
|
|
2171
2206
|
toClientEventsObserver$factory_2();
|
|
2172
2207
|
return this_0.u();
|
|
2173
2208
|
}
|
|
2174
2209
|
function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
|
|
2175
|
-
return !player.
|
|
2210
|
+
return !player.o73();
|
|
2176
2211
|
}
|
|
2177
2212
|
function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
|
|
2178
2213
|
validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
|
|
@@ -2180,77 +2215,77 @@
|
|
|
2180
2215
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
2181
2216
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
2182
2217
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
2183
|
-
this.
|
|
2184
|
-
this.
|
|
2185
|
-
this.
|
|
2186
|
-
this.
|
|
2187
|
-
this.
|
|
2218
|
+
this.yd8_1 = validationStoreContract;
|
|
2219
|
+
this.zd8_1 = timersStoreContract;
|
|
2220
|
+
this.ad9_1 = botGameStoreContract;
|
|
2221
|
+
this.bd9_1 = gameMechanicStoreContract;
|
|
2222
|
+
this.cd9_1 = fileLoggerStoreContract;
|
|
2188
2223
|
var tmp = this;
|
|
2189
2224
|
// Inline function 'org.kodein.di.instance' call
|
|
2190
2225
|
// Inline function 'org.kodein.type.generic' call
|
|
2191
2226
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
2192
2227
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2193
|
-
tmp.
|
|
2228
|
+
tmp.dd9_1 = Instance(di, tmp$ret$0, null).m67(this, asyncProvider$factory());
|
|
2194
2229
|
var tmp_1 = this;
|
|
2195
2230
|
// Inline function 'org.kodein.di.instance' call
|
|
2196
2231
|
// Inline function 'org.kodein.type.generic' call
|
|
2197
2232
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2198
2233
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2199
|
-
tmp_1.
|
|
2234
|
+
tmp_1.ed9_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory_1());
|
|
2200
2235
|
var tmp_3 = this;
|
|
2201
2236
|
// Inline function 'org.kodein.di.instance' call
|
|
2202
2237
|
// Inline function 'org.kodein.type.generic' call
|
|
2203
2238
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2204
2239
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2205
|
-
tmp_3.
|
|
2240
|
+
tmp_3.fd9_1 = Instance(di, tmp$ret$4, null).m67(this, playerConnectionInteractor$factory_1());
|
|
2206
2241
|
var tmp_5 = this;
|
|
2207
2242
|
// Inline function 'org.kodein.di.instance' call
|
|
2208
2243
|
// Inline function 'org.kodein.type.generic' call
|
|
2209
2244
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
2210
2245
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2211
|
-
tmp_5.
|
|
2246
|
+
tmp_5.gd9_1 = Instance(di, tmp$ret$6, null).m67(this, lastCardInteractor$factory());
|
|
2212
2247
|
var tmp_7 = this;
|
|
2213
2248
|
// Inline function 'org.kodein.di.instance' call
|
|
2214
2249
|
// Inline function 'org.kodein.type.generic' call
|
|
2215
2250
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
2216
2251
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2217
|
-
tmp_7.
|
|
2252
|
+
tmp_7.hd9_1 = Instance(di, tmp$ret$8, null).m67(this, serverConfig$factory());
|
|
2218
2253
|
var tmp_9 = this;
|
|
2219
2254
|
// Inline function 'org.kodein.di.instance' call
|
|
2220
2255
|
// Inline function 'org.kodein.type.generic' call
|
|
2221
2256
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
2222
2257
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2223
|
-
tmp_9.
|
|
2258
|
+
tmp_9.id9_1 = Instance(di, tmp$ret$10, null).m67(this, logicConfig$factory());
|
|
2224
2259
|
var tmp_11 = this;
|
|
2225
2260
|
// Inline function 'org.kodein.di.instance' call
|
|
2226
2261
|
// Inline function 'org.kodein.type.generic' call
|
|
2227
2262
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2228
2263
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
2229
|
-
tmp_11.
|
|
2264
|
+
tmp_11.jd9_1 = Instance(di, tmp$ret$12, null).m67(this, idsProvider$factory());
|
|
2230
2265
|
var tmp_13 = this;
|
|
2231
2266
|
// Inline function 'org.kodein.di.instance' call
|
|
2232
2267
|
// Inline function 'org.kodein.type.generic' call
|
|
2233
2268
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
2234
2269
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2235
|
-
tmp_13.
|
|
2270
|
+
tmp_13.kd9_1 = Instance(di, tmp$ret$14, null).m67(this, botConfig$factory());
|
|
2236
2271
|
var tmp_15 = this;
|
|
2237
2272
|
// Inline function 'org.kodein.di.instance' call
|
|
2238
2273
|
// Inline function 'org.kodein.type.generic' call
|
|
2239
2274
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
2240
2275
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
2241
|
-
tmp_15.
|
|
2276
|
+
tmp_15.ld9_1 = Instance(di, tmp$ret$16, null).m67(this, scenePositionProvider$factory());
|
|
2242
2277
|
var tmp_17 = this;
|
|
2243
2278
|
// Inline function 'org.kodein.di.instance' call
|
|
2244
2279
|
// Inline function 'org.kodein.type.generic' call
|
|
2245
2280
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2246
2281
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2247
|
-
tmp_17.
|
|
2282
|
+
tmp_17.md9_1 = Instance(di, tmp$ret$18, null).m67(this, toClientEventsObserver$factory_1());
|
|
2248
2283
|
}
|
|
2249
|
-
protoOf(ServerGameStoreContract).
|
|
2250
|
-
return plus(plus(plus(plus(plus(this.
|
|
2284
|
+
protoOf(ServerGameStoreContract).o98 = function () {
|
|
2285
|
+
return plus(plus(plus(plus(plus(this.yd8_1.o98(), this.zd8_1.o98()), this.ad9_1.o98()), this.bd9_1.o98()), this.cd9_1.o98()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
2251
2286
|
};
|
|
2252
|
-
protoOf(ServerGameStoreContract).
|
|
2253
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
2287
|
+
protoOf(ServerGameStoreContract).p98 = function () {
|
|
2288
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.yd8_1.p98(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.zd8_1.p98()), this.ad9_1.p98()), this.bd9_1.p98()), this.cd9_1.p98()), 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))).h9a(), finishingGameWhenCantStartNewMiddleware()]));
|
|
2254
2289
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
2255
2290
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
2256
2291
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -2372,33 +2407,33 @@
|
|
|
2372
2407
|
}
|
|
2373
2408
|
function _no_name_provided__qut3iv() {
|
|
2374
2409
|
}
|
|
2375
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2410
|
+
protoOf(_no_name_provided__qut3iv).b6o = function (action) {
|
|
2376
2411
|
return action instanceof RoundEndedAction;
|
|
2377
2412
|
};
|
|
2378
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2413
|
+
protoOf(_no_name_provided__qut3iv).s6p = function (store, next, action) {
|
|
2379
2414
|
// Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
|
|
2380
2415
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
2381
2416
|
next(action_0);
|
|
2382
2417
|
var state = store.state;
|
|
2383
|
-
if (!get_serverState(state).
|
|
2384
|
-
store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.
|
|
2418
|
+
if (!get_serverState(state).pd5_1.qd5_1 && action_0.isGameFinished) {
|
|
2419
|
+
store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.c6w_1));
|
|
2385
2420
|
}
|
|
2386
2421
|
};
|
|
2387
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2388
|
-
return this.
|
|
2422
|
+
protoOf(_no_name_provided__qut3iv).a6o = function (store, next, action) {
|
|
2423
|
+
return this.s6p(store, next, action);
|
|
2389
2424
|
};
|
|
2390
2425
|
function ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda($$this$with) {
|
|
2391
2426
|
return function () {
|
|
2392
|
-
return $$this$with.
|
|
2427
|
+
return $$this$with.e6x().playersConnections;
|
|
2393
2428
|
};
|
|
2394
2429
|
}
|
|
2395
2430
|
function _no_name_provided__qut3iv_0(this$0) {
|
|
2396
|
-
this.
|
|
2431
|
+
this.pd9_1 = this$0;
|
|
2397
2432
|
}
|
|
2398
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2433
|
+
protoOf(_no_name_provided__qut3iv_0).b6o = function (action) {
|
|
2399
2434
|
return action instanceof MechanicAction;
|
|
2400
2435
|
};
|
|
2401
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2436
|
+
protoOf(_no_name_provided__qut3iv_0).s6p = function (store, next, action) {
|
|
2402
2437
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
|
|
2403
2438
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
2404
2439
|
var state = store.state;
|
|
@@ -2408,18 +2443,18 @@
|
|
|
2408
2443
|
var tmp;
|
|
2409
2444
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
2410
2445
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2411
|
-
var this_0 = this.
|
|
2412
|
-
var tableId = action_0.
|
|
2413
|
-
var gameCreatorPlayerId = action_0.
|
|
2446
|
+
var this_0 = this.pd9_1;
|
|
2447
|
+
var tableId = action_0.r84_1;
|
|
2448
|
+
var gameCreatorPlayerId = action_0.t84_1;
|
|
2414
2449
|
// Inline function 'kotlin.collections.map' call
|
|
2415
|
-
var this_1 = action_0.
|
|
2450
|
+
var this_1 = action_0.u84_1;
|
|
2416
2451
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2417
2452
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
2418
2453
|
var tmp0_iterator = this_1.j();
|
|
2419
2454
|
while (tmp0_iterator.k()) {
|
|
2420
2455
|
var item = tmp0_iterator.l();
|
|
2421
2456
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2422
|
-
var tmp$ret$0 = to(item.
|
|
2457
|
+
var tmp$ret$0 = to(item.o6e_1, PlayerConnectionState_LIVE_getInstance());
|
|
2423
2458
|
destination.e(tmp$ret$0);
|
|
2424
2459
|
}
|
|
2425
2460
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -2431,7 +2466,7 @@
|
|
|
2431
2466
|
while (tmp0_iterator_0.k()) {
|
|
2432
2467
|
var element = tmp0_iterator_0.l();
|
|
2433
2468
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2434
|
-
if (element.
|
|
2469
|
+
if (element.oe_1.isLive) {
|
|
2435
2470
|
destination_0.e(element);
|
|
2436
2471
|
}
|
|
2437
2472
|
}
|
|
@@ -2441,7 +2476,7 @@
|
|
|
2441
2476
|
while (tmp0_iterator_1.k()) {
|
|
2442
2477
|
var item_0 = tmp0_iterator_1.l();
|
|
2443
2478
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2444
|
-
var tmp$ret$6 = item_0.
|
|
2479
|
+
var tmp$ret$6 = item_0.ne_1;
|
|
2445
2480
|
destination_1.e(tmp$ret$6);
|
|
2446
2481
|
}
|
|
2447
2482
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -2453,7 +2488,7 @@
|
|
|
2453
2488
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2454
2489
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2455
2490
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2456
|
-
var tmp0_aid = this_0.
|
|
2491
|
+
var tmp0_aid = this_0.od9_1.a6m();
|
|
2457
2492
|
// Inline function 'kotlin.collections.map' call
|
|
2458
2493
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2459
2494
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
@@ -2461,7 +2496,7 @@
|
|
|
2461
2496
|
while (tmp0_iterator_3.k()) {
|
|
2462
2497
|
var item_1 = tmp0_iterator_3.l();
|
|
2463
2498
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>.<anonymous>' call
|
|
2464
|
-
var tmp$ret$9 = item_1.
|
|
2499
|
+
var tmp$ret$9 = item_1.ne_1;
|
|
2465
2500
|
destination_3.e(tmp$ret$9);
|
|
2466
2501
|
}
|
|
2467
2502
|
var sendToPlayer = UserActionPayload_init_$Create$(tmp0_aid, tableId, gameCreatorPlayerId, element_0, destination_3);
|
|
@@ -2478,17 +2513,17 @@
|
|
|
2478
2513
|
} else {
|
|
2479
2514
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
2480
2515
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2481
|
-
var this_2 = this.
|
|
2482
|
-
var table = state.
|
|
2516
|
+
var this_2 = this.pd9_1;
|
|
2517
|
+
var table = state.e6x();
|
|
2483
2518
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2484
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
2519
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.od9_1.a6m(), table.id, null);
|
|
2485
2520
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
2486
2521
|
tmp = listOfNotNull(tmp$ret$18);
|
|
2487
2522
|
} else {
|
|
2488
2523
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
2489
2524
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2490
|
-
var this_3 = this.
|
|
2491
|
-
var tableId_0 = action_0.
|
|
2525
|
+
var this_3 = this.pd9_1;
|
|
2526
|
+
var tableId_0 = action_0.x84_1.id;
|
|
2492
2527
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
2493
2528
|
var players = getPlayers();
|
|
2494
2529
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -2500,7 +2535,7 @@
|
|
|
2500
2535
|
while (tmp0_iterator_4.k()) {
|
|
2501
2536
|
var element_1 = tmp0_iterator_4.l();
|
|
2502
2537
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2503
|
-
if (element_1.
|
|
2538
|
+
if (element_1.oe_1.isLive) {
|
|
2504
2539
|
destination_4.e(element_1);
|
|
2505
2540
|
}
|
|
2506
2541
|
}
|
|
@@ -2510,7 +2545,7 @@
|
|
|
2510
2545
|
while (tmp0_iterator_5.k()) {
|
|
2511
2546
|
var item_2 = tmp0_iterator_5.l();
|
|
2512
2547
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2513
|
-
var tmp$ret$23 = item_2.
|
|
2548
|
+
var tmp$ret$23 = item_2.ne_1;
|
|
2514
2549
|
destination_5.e(tmp$ret$23);
|
|
2515
2550
|
}
|
|
2516
2551
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -2522,7 +2557,7 @@
|
|
|
2522
2557
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2523
2558
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2524
2559
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2525
|
-
var tmp0_aid_0 = this_3.
|
|
2560
|
+
var tmp0_aid_0 = this_3.od9_1.a6m();
|
|
2526
2561
|
// Inline function 'kotlin.collections.map' call
|
|
2527
2562
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2528
2563
|
var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
|
|
@@ -2530,7 +2565,7 @@
|
|
|
2530
2565
|
while (tmp0_iterator_7.k()) {
|
|
2531
2566
|
var item_3 = tmp0_iterator_7.l();
|
|
2532
2567
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>.<anonymous>' call
|
|
2533
|
-
var tmp$ret$26 = item_3.
|
|
2568
|
+
var tmp$ret$26 = item_3.ne_1;
|
|
2534
2569
|
destination_7.e(tmp$ret$26);
|
|
2535
2570
|
}
|
|
2536
2571
|
var sendToPlayer_1 = UserActionPayload_init_$Create$(tmp0_aid_0, tableId_0, gameCreatorPlayerId_0, element_2, destination_7);
|
|
@@ -2547,44 +2582,44 @@
|
|
|
2547
2582
|
} else {
|
|
2548
2583
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
2549
2584
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2550
|
-
var this_4 = this.
|
|
2551
|
-
var table_0 = state.
|
|
2585
|
+
var this_4 = this.pd9_1;
|
|
2586
|
+
var table_0 = state.e6x();
|
|
2552
2587
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2553
|
-
var sendToPlayer_2 = new RoomActionPayload(this_4.
|
|
2588
|
+
var sendToPlayer_2 = new RoomActionPayload(this_4.od9_1.a6m(), table_0.id, null);
|
|
2554
2589
|
var tmp$ret$35 = mapToClient_14(action_0, sendToPlayer_2);
|
|
2555
2590
|
tmp = listOfNotNull(tmp$ret$35);
|
|
2556
2591
|
} else {
|
|
2557
2592
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
2558
2593
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2559
|
-
var this_5 = this.
|
|
2560
|
-
var table_1 = state.
|
|
2594
|
+
var this_5 = this.pd9_1;
|
|
2595
|
+
var table_1 = state.e6x();
|
|
2561
2596
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2562
|
-
var sendToPlayer_3 = new RoomActionPayload(this_5.
|
|
2597
|
+
var sendToPlayer_3 = new RoomActionPayload(this_5.od9_1.a6m(), table_1.id, null);
|
|
2563
2598
|
var tmp$ret$37 = mapToClient_13(action_0, sendToPlayer_3);
|
|
2564
2599
|
tmp = listOfNotNull(tmp$ret$37);
|
|
2565
2600
|
} else {
|
|
2566
2601
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
2567
2602
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2568
|
-
var this_6 = this.
|
|
2569
|
-
var table_2 = state.
|
|
2603
|
+
var this_6 = this.pd9_1;
|
|
2604
|
+
var table_2 = state.e6x();
|
|
2570
2605
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2571
|
-
var sendToPlayer_4 = new RoomActionPayload(this_6.
|
|
2606
|
+
var sendToPlayer_4 = new RoomActionPayload(this_6.od9_1.a6m(), table_2.id, null);
|
|
2572
2607
|
var tmp$ret$39 = mapToClient_12(action_0, sendToPlayer_4);
|
|
2573
2608
|
tmp = listOfNotNull(tmp$ret$39);
|
|
2574
2609
|
} else {
|
|
2575
2610
|
if (action_0 instanceof ErrorAction) {
|
|
2576
2611
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2577
|
-
var this_7 = this.
|
|
2578
|
-
var table_3 = state.
|
|
2612
|
+
var this_7 = this.pd9_1;
|
|
2613
|
+
var table_3 = state.e6x();
|
|
2579
2614
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2580
|
-
var sendToPlayer_5 = new RoomActionPayload(this_7.
|
|
2615
|
+
var sendToPlayer_5 = new RoomActionPayload(this_7.od9_1.a6m(), table_3.id, null);
|
|
2581
2616
|
var tmp$ret$41 = mapToClient_11(action_0, sendToPlayer_5);
|
|
2582
2617
|
tmp = listOfNotNull(tmp$ret$41);
|
|
2583
2618
|
} else {
|
|
2584
2619
|
if (action_0 instanceof SceneMechanicAction) {
|
|
2585
2620
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2586
|
-
var this_8 = this.
|
|
2587
|
-
var table_4 = state.
|
|
2621
|
+
var this_8 = this.pd9_1;
|
|
2622
|
+
var table_4 = state.e6x();
|
|
2588
2623
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2589
2624
|
var tableId_1 = table_4.id;
|
|
2590
2625
|
var gameCreatorPlayerId_1 = getGameCreator(table_4.players).playerId;
|
|
@@ -2598,7 +2633,7 @@
|
|
|
2598
2633
|
while (tmp0_iterator_8.k()) {
|
|
2599
2634
|
var element_3 = tmp0_iterator_8.l();
|
|
2600
2635
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2601
|
-
if (element_3.
|
|
2636
|
+
if (element_3.oe_1.isLive) {
|
|
2602
2637
|
destination_8.e(element_3);
|
|
2603
2638
|
}
|
|
2604
2639
|
}
|
|
@@ -2608,7 +2643,7 @@
|
|
|
2608
2643
|
while (tmp0_iterator_9.k()) {
|
|
2609
2644
|
var item_4 = tmp0_iterator_9.l();
|
|
2610
2645
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2611
|
-
var tmp$ret$46 = item_4.
|
|
2646
|
+
var tmp$ret$46 = item_4.ne_1;
|
|
2612
2647
|
destination_9.e(tmp$ret$46);
|
|
2613
2648
|
}
|
|
2614
2649
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -2620,7 +2655,7 @@
|
|
|
2620
2655
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2621
2656
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2622
2657
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2623
|
-
var tmp0_aid_1 = this_8.
|
|
2658
|
+
var tmp0_aid_1 = this_8.od9_1.a6m();
|
|
2624
2659
|
// Inline function 'kotlin.collections.map' call
|
|
2625
2660
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2626
2661
|
var destination_11 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_0, 10));
|
|
@@ -2628,7 +2663,7 @@
|
|
|
2628
2663
|
while (tmp0_iterator_11.k()) {
|
|
2629
2664
|
var item_5 = tmp0_iterator_11.l();
|
|
2630
2665
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>.<anonymous>' call
|
|
2631
|
-
var tmp$ret$49 = item_5.
|
|
2666
|
+
var tmp$ret$49 = item_5.ne_1;
|
|
2632
2667
|
destination_11.e(tmp$ret$49);
|
|
2633
2668
|
}
|
|
2634
2669
|
var sendToPlayer_6 = UserActionPayload_init_$Create$(tmp0_aid_1, tableId_1, gameCreatorPlayerId_1, element_4, destination_11);
|
|
@@ -2645,8 +2680,8 @@
|
|
|
2645
2680
|
} else {
|
|
2646
2681
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
2647
2682
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2648
|
-
var this_9 = this.
|
|
2649
|
-
var table_5 = state.
|
|
2683
|
+
var this_9 = this.pd9_1;
|
|
2684
|
+
var table_5 = state.e6x();
|
|
2650
2685
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2651
2686
|
var tableId_2 = table_5.id;
|
|
2652
2687
|
var gameCreatorPlayerId_2 = getGameCreator(table_5.players).playerId;
|
|
@@ -2660,7 +2695,7 @@
|
|
|
2660
2695
|
while (tmp0_iterator_12.k()) {
|
|
2661
2696
|
var element_5 = tmp0_iterator_12.l();
|
|
2662
2697
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2663
|
-
if (element_5.
|
|
2698
|
+
if (element_5.oe_1.isLive) {
|
|
2664
2699
|
destination_12.e(element_5);
|
|
2665
2700
|
}
|
|
2666
2701
|
}
|
|
@@ -2670,7 +2705,7 @@
|
|
|
2670
2705
|
while (tmp0_iterator_13.k()) {
|
|
2671
2706
|
var item_6 = tmp0_iterator_13.l();
|
|
2672
2707
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2673
|
-
var tmp$ret$62 = item_6.
|
|
2708
|
+
var tmp$ret$62 = item_6.ne_1;
|
|
2674
2709
|
destination_13.e(tmp$ret$62);
|
|
2675
2710
|
}
|
|
2676
2711
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -2682,7 +2717,7 @@
|
|
|
2682
2717
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2683
2718
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2684
2719
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2685
|
-
var tmp0_aid_2 = this_9.
|
|
2720
|
+
var tmp0_aid_2 = this_9.od9_1.a6m();
|
|
2686
2721
|
// Inline function 'kotlin.collections.map' call
|
|
2687
2722
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2688
2723
|
var destination_15 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_1, 10));
|
|
@@ -2690,7 +2725,7 @@
|
|
|
2690
2725
|
while (tmp0_iterator_15.k()) {
|
|
2691
2726
|
var item_7 = tmp0_iterator_15.l();
|
|
2692
2727
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>.<anonymous>' call
|
|
2693
|
-
var tmp$ret$65 = item_7.
|
|
2728
|
+
var tmp$ret$65 = item_7.ne_1;
|
|
2694
2729
|
destination_15.e(tmp$ret$65);
|
|
2695
2730
|
}
|
|
2696
2731
|
var sendToPlayer_7 = UserActionPayload_init_$Create$(tmp0_aid_2, tableId_2, gameCreatorPlayerId_2, element_6, destination_15);
|
|
@@ -2707,8 +2742,8 @@
|
|
|
2707
2742
|
} else {
|
|
2708
2743
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
2709
2744
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
2710
|
-
var this_10 = this.
|
|
2711
|
-
var table_6 = state.
|
|
2745
|
+
var this_10 = this.pd9_1;
|
|
2746
|
+
var table_6 = state.e6x();
|
|
2712
2747
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
2713
2748
|
var tableId_3 = table_6.id;
|
|
2714
2749
|
var gameCreatorPlayerId_3 = getGameCreator(table_6.players).playerId;
|
|
@@ -2722,7 +2757,7 @@
|
|
|
2722
2757
|
while (tmp0_iterator_16.k()) {
|
|
2723
2758
|
var element_7 = tmp0_iterator_16.l();
|
|
2724
2759
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2725
|
-
if (element_7.
|
|
2760
|
+
if (element_7.oe_1.isLive) {
|
|
2726
2761
|
destination_16.e(element_7);
|
|
2727
2762
|
}
|
|
2728
2763
|
}
|
|
@@ -2732,7 +2767,7 @@
|
|
|
2732
2767
|
while (tmp0_iterator_17.k()) {
|
|
2733
2768
|
var item_8 = tmp0_iterator_17.l();
|
|
2734
2769
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2735
|
-
var tmp$ret$78 = item_8.
|
|
2770
|
+
var tmp$ret$78 = item_8.ne_1;
|
|
2736
2771
|
destination_17.e(tmp$ret$78);
|
|
2737
2772
|
}
|
|
2738
2773
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -2744,7 +2779,7 @@
|
|
|
2744
2779
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2745
2780
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
2746
2781
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2747
|
-
var tmp0_aid_3 = this_10.
|
|
2782
|
+
var tmp0_aid_3 = this_10.od9_1.a6m();
|
|
2748
2783
|
// Inline function 'kotlin.collections.map' call
|
|
2749
2784
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2750
2785
|
var destination_19 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_2, 10));
|
|
@@ -2752,12 +2787,12 @@
|
|
|
2752
2787
|
while (tmp0_iterator_19.k()) {
|
|
2753
2788
|
var item_9 = tmp0_iterator_19.l();
|
|
2754
2789
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>.<anonymous>' call
|
|
2755
|
-
var tmp$ret$81 = item_9.
|
|
2790
|
+
var tmp$ret$81 = item_9.ne_1;
|
|
2756
2791
|
destination_19.e(tmp$ret$81);
|
|
2757
2792
|
}
|
|
2758
2793
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_19);
|
|
2759
2794
|
var tmp_0;
|
|
2760
|
-
if (this.
|
|
2795
|
+
if (this.pd9_1.nd9_1.supportBackwardActions && getPlayer(state.e6x().players, sendToPlayer_8.w7j_1).l73_1.q73_1) {
|
|
2761
2796
|
tmp_0 = null;
|
|
2762
2797
|
} else {
|
|
2763
2798
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -2775,79 +2810,79 @@
|
|
|
2775
2810
|
} else {
|
|
2776
2811
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
2777
2812
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2778
|
-
var this_11 = this.
|
|
2779
|
-
var table_7 = state.
|
|
2780
|
-
var exceptPlayerId = this.
|
|
2813
|
+
var this_11 = this.pd9_1;
|
|
2814
|
+
var table_7 = state.e6x();
|
|
2815
|
+
var exceptPlayerId = this.pd9_1.nd9_1.supportBackwardActions ? action_0.u85_1 : null;
|
|
2781
2816
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2782
|
-
var sendToPlayer_9 = new RoomActionPayload(this_11.
|
|
2817
|
+
var sendToPlayer_9 = new RoomActionPayload(this_11.od9_1.a6m(), table_7.id, exceptPlayerId);
|
|
2783
2818
|
var tmp$ret$91 = mapToClient_7(action_0, sendToPlayer_9);
|
|
2784
2819
|
tmp = listOfNotNull(tmp$ret$91);
|
|
2785
2820
|
} else {
|
|
2786
2821
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
2787
2822
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2788
|
-
var this_12 = this.
|
|
2789
|
-
var table_8 = state.
|
|
2790
|
-
var exceptPlayerId_0 = this.
|
|
2823
|
+
var this_12 = this.pd9_1;
|
|
2824
|
+
var table_8 = state.e6x();
|
|
2825
|
+
var exceptPlayerId_0 = this.pd9_1.nd9_1.supportBackwardActions ? action_0.y85_1 : null;
|
|
2791
2826
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2792
|
-
var sendToPlayer_10 = new RoomActionPayload(this_12.
|
|
2827
|
+
var sendToPlayer_10 = new RoomActionPayload(this_12.od9_1.a6m(), table_8.id, exceptPlayerId_0);
|
|
2793
2828
|
var tmp$ret$93 = mapToClient_6(action_0, sendToPlayer_10);
|
|
2794
2829
|
tmp = listOfNotNull(tmp$ret$93);
|
|
2795
2830
|
} else {
|
|
2796
2831
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
2797
2832
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2798
|
-
var this_13 = this.
|
|
2799
|
-
var table_9 = state.
|
|
2833
|
+
var this_13 = this.pd9_1;
|
|
2834
|
+
var table_9 = state.e6x();
|
|
2800
2835
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2801
|
-
var sendToPlayer_11 = new RoomActionPayload(this_13.
|
|
2836
|
+
var sendToPlayer_11 = new RoomActionPayload(this_13.od9_1.a6m(), table_9.id, null);
|
|
2802
2837
|
var tmp$ret$95 = mapToClient_5(action_0, sendToPlayer_11);
|
|
2803
2838
|
tmp = listOfNotNull(tmp$ret$95);
|
|
2804
2839
|
} else {
|
|
2805
2840
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
2806
2841
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2807
|
-
var this_14 = this.
|
|
2808
|
-
var table_10 = state.
|
|
2809
|
-
var exceptPlayerId_1 = this.
|
|
2842
|
+
var this_14 = this.pd9_1;
|
|
2843
|
+
var table_10 = state.e6x();
|
|
2844
|
+
var exceptPlayerId_1 = this.pd9_1.nd9_1.supportBackwardActions ? action_0.f86_1 : null;
|
|
2810
2845
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2811
|
-
var sendToPlayer_12 = new RoomActionPayload(this_14.
|
|
2846
|
+
var sendToPlayer_12 = new RoomActionPayload(this_14.od9_1.a6m(), table_10.id, exceptPlayerId_1);
|
|
2812
2847
|
var tmp$ret$97 = mapToClient_4(action_0, sendToPlayer_12);
|
|
2813
2848
|
tmp = listOfNotNull(tmp$ret$97);
|
|
2814
2849
|
} else {
|
|
2815
2850
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
2816
2851
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2817
|
-
var this_15 = this.
|
|
2818
|
-
var table_11 = state.
|
|
2819
|
-
var exceptPlayerId_2 = this.
|
|
2852
|
+
var this_15 = this.pd9_1;
|
|
2853
|
+
var table_11 = state.e6x();
|
|
2854
|
+
var exceptPlayerId_2 = this.pd9_1.nd9_1.supportBackwardActions ? action_0.j86_1 : null;
|
|
2820
2855
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2821
|
-
var sendToPlayer_13 = new RoomActionPayload(this_15.
|
|
2856
|
+
var sendToPlayer_13 = new RoomActionPayload(this_15.od9_1.a6m(), table_11.id, exceptPlayerId_2);
|
|
2822
2857
|
var tmp$ret$99 = mapToClient_3(action_0, sendToPlayer_13);
|
|
2823
2858
|
tmp = listOfNotNull(tmp$ret$99);
|
|
2824
2859
|
} else {
|
|
2825
2860
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
2826
2861
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2827
|
-
var this_16 = this.
|
|
2828
|
-
var table_12 = state.
|
|
2862
|
+
var this_16 = this.pd9_1;
|
|
2863
|
+
var table_12 = state.e6x();
|
|
2829
2864
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2830
|
-
var sendToPlayer_14 = new RoomActionPayload(this_16.
|
|
2865
|
+
var sendToPlayer_14 = new RoomActionPayload(this_16.od9_1.a6m(), table_12.id, null);
|
|
2831
2866
|
var tmp$ret$101 = mapToClient_2(action_0, sendToPlayer_14);
|
|
2832
2867
|
tmp = listOfNotNull(tmp$ret$101);
|
|
2833
2868
|
} else {
|
|
2834
2869
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
2835
2870
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2836
|
-
var this_17 = this.
|
|
2837
|
-
var table_13 = state.
|
|
2871
|
+
var this_17 = this.pd9_1;
|
|
2872
|
+
var table_13 = state.e6x();
|
|
2838
2873
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2839
|
-
var sendToPlayer_15 = new RoomActionPayload(this_17.
|
|
2874
|
+
var sendToPlayer_15 = new RoomActionPayload(this_17.od9_1.a6m(), table_13.id, null);
|
|
2840
2875
|
var tmp$ret$103 = mapToClient_1(action_0, sendToPlayer_15);
|
|
2841
2876
|
tmp = listOfNotNull(tmp$ret$103);
|
|
2842
2877
|
} else {
|
|
2843
2878
|
if (action_0 instanceof MessageMechanicAction) {
|
|
2844
|
-
var message = action_0.
|
|
2879
|
+
var message = action_0.r86_1;
|
|
2845
2880
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2846
|
-
var this_18 = this.
|
|
2847
|
-
var table_14 = state.
|
|
2881
|
+
var this_18 = this.pd9_1;
|
|
2882
|
+
var table_14 = state.e6x();
|
|
2848
2883
|
var tmp_1;
|
|
2849
2884
|
var tmp_2;
|
|
2850
|
-
if (this.
|
|
2885
|
+
if (this.pd9_1.nd9_1.supportBackwardActions) {
|
|
2851
2886
|
tmp_2 = isInterface(message, UserMessage);
|
|
2852
2887
|
} else {
|
|
2853
2888
|
tmp_2 = false;
|
|
@@ -2859,17 +2894,17 @@
|
|
|
2859
2894
|
}
|
|
2860
2895
|
var exceptPlayerId_3 = tmp_1;
|
|
2861
2896
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2862
|
-
var sendToPlayer_16 = new RoomActionPayload(this_18.
|
|
2897
|
+
var sendToPlayer_16 = new RoomActionPayload(this_18.od9_1.a6m(), table_14.id, exceptPlayerId_3);
|
|
2863
2898
|
var tmp$ret$105 = mapToClient_0(action_0, sendToPlayer_16);
|
|
2864
2899
|
tmp = listOfNotNull(tmp$ret$105);
|
|
2865
2900
|
} else {
|
|
2866
2901
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
2867
2902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
2868
|
-
var this_19 = this.
|
|
2869
|
-
var table_15 = state.
|
|
2903
|
+
var this_19 = this.pd9_1;
|
|
2904
|
+
var table_15 = state.e6x();
|
|
2870
2905
|
var exceptPlayerId_4 = action_0.playerId;
|
|
2871
2906
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
2872
|
-
var sendToPlayer_17 = new RoomActionPayload(this_19.
|
|
2907
|
+
var sendToPlayer_17 = new RoomActionPayload(this_19.od9_1.a6m(), table_15.id, exceptPlayerId_4);
|
|
2873
2908
|
var tmp$ret$107 = mapToClient(action_0, sendToPlayer_17);
|
|
2874
2909
|
tmp = listOfNotNull(tmp$ret$107);
|
|
2875
2910
|
} else {
|
|
@@ -2903,14 +2938,14 @@
|
|
|
2903
2938
|
}
|
|
2904
2939
|
next(action_0);
|
|
2905
2940
|
};
|
|
2906
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
2907
|
-
return this.
|
|
2941
|
+
protoOf(_no_name_provided__qut3iv_0).a6o = function (store, next, action) {
|
|
2942
|
+
return this.s6p(store, next, action);
|
|
2908
2943
|
};
|
|
2909
2944
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
2910
|
-
this.
|
|
2911
|
-
this.
|
|
2945
|
+
this.nd9_1 = logicConfig;
|
|
2946
|
+
this.od9_1 = idsProvider;
|
|
2912
2947
|
}
|
|
2913
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
2948
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).h9a = function () {
|
|
2914
2949
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
2915
2950
|
return new _no_name_provided__qut3iv_0(this);
|
|
2916
2951
|
};
|
|
@@ -2919,29 +2954,29 @@
|
|
|
2919
2954
|
return new _no_name_provided__qut3iv_1(asyncProvider, provider);
|
|
2920
2955
|
}
|
|
2921
2956
|
function serverSendEventsToClientsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
2922
|
-
this.
|
|
2923
|
-
this.
|
|
2957
|
+
this.yd9_1 = $provider;
|
|
2958
|
+
this.zd9_1 = $action;
|
|
2924
2959
|
CoroutineImpl.call(this, resultContinuation);
|
|
2925
2960
|
}
|
|
2926
|
-
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).
|
|
2927
|
-
var tmp = this.
|
|
2928
|
-
tmp.
|
|
2929
|
-
tmp.
|
|
2930
|
-
return tmp.
|
|
2961
|
+
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).e1f = function ($this$launchDefault, $completion) {
|
|
2962
|
+
var tmp = this.f1f($this$launchDefault, $completion);
|
|
2963
|
+
tmp.g9_1 = Unit_instance;
|
|
2964
|
+
tmp.h9_1 = null;
|
|
2965
|
+
return tmp.m9();
|
|
2931
2966
|
};
|
|
2932
|
-
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).
|
|
2933
|
-
return this.
|
|
2967
|
+
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).w9 = function (p1, $completion) {
|
|
2968
|
+
return this.e1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2934
2969
|
};
|
|
2935
|
-
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).
|
|
2936
|
-
var suspendResult = this.
|
|
2970
|
+
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).m9 = function () {
|
|
2971
|
+
var suspendResult = this.g9_1;
|
|
2937
2972
|
$sm: do
|
|
2938
2973
|
try {
|
|
2939
|
-
var tmp = this.
|
|
2974
|
+
var tmp = this.e9_1;
|
|
2940
2975
|
switch (tmp) {
|
|
2941
2976
|
case 0:
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2944
|
-
suspendResult = this.
|
|
2977
|
+
this.f9_1 = 2;
|
|
2978
|
+
this.e9_1 = 1;
|
|
2979
|
+
suspendResult = this.yd9_1.jd6(this.zd9_1, this);
|
|
2945
2980
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2946
2981
|
return suspendResult;
|
|
2947
2982
|
}
|
|
@@ -2950,47 +2985,47 @@
|
|
|
2950
2985
|
case 1:
|
|
2951
2986
|
return Unit_instance;
|
|
2952
2987
|
case 2:
|
|
2953
|
-
throw this.
|
|
2988
|
+
throw this.h9_1;
|
|
2954
2989
|
}
|
|
2955
2990
|
} catch ($p) {
|
|
2956
2991
|
var e = $p;
|
|
2957
|
-
if (this.
|
|
2992
|
+
if (this.f9_1 === 2) {
|
|
2958
2993
|
throw e;
|
|
2959
2994
|
} else {
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2995
|
+
this.e9_1 = this.f9_1;
|
|
2996
|
+
this.h9_1 = e;
|
|
2962
2997
|
}
|
|
2963
2998
|
}
|
|
2964
2999
|
while (true);
|
|
2965
3000
|
};
|
|
2966
|
-
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).
|
|
2967
|
-
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.
|
|
2968
|
-
i.
|
|
3001
|
+
protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).f1f = function ($this$launchDefault, completion) {
|
|
3002
|
+
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.yd9_1, this.zd9_1, completion);
|
|
3003
|
+
i.ada_1 = $this$launchDefault;
|
|
2969
3004
|
return i;
|
|
2970
3005
|
};
|
|
2971
3006
|
function serverSendEventsToClientsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
2972
3007
|
var i = new serverSendEventsToClientsMiddleware$o$handle$slambda($provider, $action, resultContinuation);
|
|
2973
3008
|
var l = function ($this$launchDefault, $completion) {
|
|
2974
|
-
return i.
|
|
3009
|
+
return i.e1f($this$launchDefault, $completion);
|
|
2975
3010
|
};
|
|
2976
3011
|
l.$arity = 1;
|
|
2977
3012
|
return l;
|
|
2978
3013
|
}
|
|
2979
3014
|
function _no_name_provided__qut3iv_1($asyncProvider, $provider) {
|
|
2980
|
-
this.
|
|
2981
|
-
this.
|
|
3015
|
+
this.bda_1 = $asyncProvider;
|
|
3016
|
+
this.cda_1 = $provider;
|
|
2982
3017
|
}
|
|
2983
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
3018
|
+
protoOf(_no_name_provided__qut3iv_1).b6o = function (action) {
|
|
2984
3019
|
return action instanceof ToClientAction;
|
|
2985
3020
|
};
|
|
2986
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
3021
|
+
protoOf(_no_name_provided__qut3iv_1).s6p = function (store, next, action) {
|
|
2987
3022
|
// Inline function 'games.jass.logic.server.redux.middlewares.client.serverSendEventsToClientsMiddleware.<anonymous>' call
|
|
2988
3023
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
2989
|
-
this.
|
|
3024
|
+
this.bda_1.x6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.cda_1, action_0, null));
|
|
2990
3025
|
next(action_0);
|
|
2991
3026
|
};
|
|
2992
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
2993
|
-
return this.
|
|
3027
|
+
protoOf(_no_name_provided__qut3iv_1).a6o = function (store, next, action) {
|
|
3028
|
+
return this.s6p(store, next, action);
|
|
2994
3029
|
};
|
|
2995
3030
|
function serverConfigReducer() {
|
|
2996
3031
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -2998,86 +3033,86 @@
|
|
|
2998
3033
|
}
|
|
2999
3034
|
function _no_name_provided__qut3iv_2() {
|
|
3000
3035
|
}
|
|
3001
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3036
|
+
protoOf(_no_name_provided__qut3iv_2).b6o = function (action) {
|
|
3002
3037
|
return action instanceof UpdateServerConfigAction;
|
|
3003
3038
|
};
|
|
3004
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3039
|
+
protoOf(_no_name_provided__qut3iv_2).o9h = function (state, action) {
|
|
3005
3040
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
3006
3041
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
3007
|
-
return state.
|
|
3042
|
+
return state.t95(VOID, get_serverState(state).dda(action_0.vd8_1));
|
|
3008
3043
|
};
|
|
3009
|
-
protoOf(_no_name_provided__qut3iv_2).
|
|
3010
|
-
return this.
|
|
3044
|
+
protoOf(_no_name_provided__qut3iv_2).t6p = function (state, action) {
|
|
3045
|
+
return this.o9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3011
3046
|
};
|
|
3012
3047
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
3013
3048
|
return function (it) {
|
|
3014
3049
|
var tmp = Companion_instance_0;
|
|
3015
3050
|
var tmp_0;
|
|
3016
3051
|
if (it.isBot) {
|
|
3017
|
-
tmp_0 = Companion_instance_1.
|
|
3052
|
+
tmp_0 = Companion_instance_1.o6f(PlayerConnectionState_LEFT_getInstance());
|
|
3018
3053
|
} else {
|
|
3019
3054
|
var tmp_1 = Companion_instance_1;
|
|
3020
3055
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
3021
3056
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
3022
3057
|
Companion_getInstance();
|
|
3023
|
-
var this_0 = $action.
|
|
3058
|
+
var this_0 = $action.q84_1.timeoutTimeMillis;
|
|
3024
3059
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
3025
|
-
tmp_0 = tmp_1.
|
|
3060
|
+
tmp_0 = tmp_1.n6f(tmp_2, tmp$ret$0);
|
|
3026
3061
|
}
|
|
3027
|
-
return tmp.
|
|
3062
|
+
return tmp.v6g(tmp_0);
|
|
3028
3063
|
};
|
|
3029
3064
|
}
|
|
3030
3065
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
3031
3066
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
3032
|
-
this.
|
|
3067
|
+
this.gda_1 = logger;
|
|
3033
3068
|
}
|
|
3034
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3035
|
-
var serverState = get_serverStateOrNull(state.
|
|
3069
|
+
protoOf(ServerMechanicLifecycleReducer).a9j = function (state, action) {
|
|
3070
|
+
var serverState = get_serverStateOrNull(state.d6w_1);
|
|
3036
3071
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3037
|
-
var tmp0_$this = this.
|
|
3038
|
-
var tmp1_tableId = action.
|
|
3039
|
-
var tmp2_gameId = action.
|
|
3040
|
-
var tmp3_version = action.
|
|
3041
|
-
var tmp4_config = action.
|
|
3042
|
-
var tmp5_users = action.
|
|
3072
|
+
var tmp0_$this = this.b9j_1;
|
|
3073
|
+
var tmp1_tableId = action.r84_1;
|
|
3074
|
+
var tmp2_gameId = action.r84_1;
|
|
3075
|
+
var tmp3_version = action.s84_1;
|
|
3076
|
+
var tmp4_config = action.q84_1;
|
|
3077
|
+
var tmp5_users = action.u84_1;
|
|
3043
3078
|
var tmp6_spectators = action.spectators;
|
|
3044
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
3045
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
3079
|
+
var tmp7_gameCreatorPlayerId = action.t84_1;
|
|
3080
|
+
var tmp9_tableOrNull = tmp0_$this.h9k(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
3046
3081
|
var tmp;
|
|
3047
3082
|
if (serverState == null) {
|
|
3048
|
-
this.
|
|
3049
|
-
tmp = Companion_instance_9.
|
|
3083
|
+
this.gda_1.w(VOID, 'ServerPayload is not onStart');
|
|
3084
|
+
tmp = Companion_instance_9.fd6();
|
|
3050
3085
|
} else {
|
|
3051
3086
|
tmp = serverState;
|
|
3052
3087
|
}
|
|
3053
3088
|
var tmp10_payload = tmp;
|
|
3054
|
-
return state.
|
|
3089
|
+
return state.t95(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
3055
3090
|
};
|
|
3056
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
3057
|
-
this.
|
|
3091
|
+
protoOf(ServerMechanicLifecycleReducer).z9i = function (state, action) {
|
|
3092
|
+
this.c9j_1.z5u(action.previousGameId);
|
|
3058
3093
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
3059
|
-
var tmp1_tableOrNull = this.
|
|
3060
|
-
return state.
|
|
3094
|
+
var tmp1_tableOrNull = this.b9j_1.i9k(state.e6x(), action.gameId);
|
|
3095
|
+
return state.t95(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
3061
3096
|
};
|
|
3062
3097
|
function spectatorsReducer(logger) {
|
|
3063
3098
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
3064
3099
|
return new _no_name_provided__qut3iv_3(logger);
|
|
3065
3100
|
}
|
|
3066
3101
|
function _no_name_provided__qut3iv_3($logger) {
|
|
3067
|
-
this.
|
|
3102
|
+
this.hda_1 = $logger;
|
|
3068
3103
|
}
|
|
3069
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3104
|
+
protoOf(_no_name_provided__qut3iv_3).b6o = function (action) {
|
|
3070
3105
|
return isInterface(action, SpectatorsAction);
|
|
3071
3106
|
};
|
|
3072
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3107
|
+
protoOf(_no_name_provided__qut3iv_3).o9h = function (state, action) {
|
|
3073
3108
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
3074
3109
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
3075
|
-
var table = state.
|
|
3110
|
+
var table = state.e6x();
|
|
3076
3111
|
var tmp;
|
|
3077
3112
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
3078
3113
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3079
3114
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3080
|
-
var this_0 = action_0.
|
|
3115
|
+
var this_0 = action_0.wd8_1;
|
|
3081
3116
|
var destination = ArrayList_init_$Create$();
|
|
3082
3117
|
// Inline function 'kotlin.collections.forEach' call
|
|
3083
3118
|
var tmp0_iterator = this_0.j();
|
|
@@ -3085,7 +3120,7 @@
|
|
|
3085
3120
|
var element = tmp0_iterator.l();
|
|
3086
3121
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3087
3122
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
3088
|
-
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.
|
|
3123
|
+
var tmp0_safe_receiver = singleOrNull(filterByPlayerId(table.spectators, element.o6e_1));
|
|
3089
3124
|
if (tmp0_safe_receiver == null)
|
|
3090
3125
|
null;
|
|
3091
3126
|
else {
|
|
@@ -3099,10 +3134,10 @@
|
|
|
3099
3134
|
var tmp_0;
|
|
3100
3135
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3101
3136
|
if (!sameSpectators.p()) {
|
|
3102
|
-
this.
|
|
3137
|
+
this.hda_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
3103
3138
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3104
3139
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3105
|
-
var this_1 = action_0.
|
|
3140
|
+
var this_1 = action_0.wd8_1;
|
|
3106
3141
|
var destination_0 = ArrayList_init_$Create$();
|
|
3107
3142
|
var tmp0_iterator_0 = this_1.j();
|
|
3108
3143
|
while (tmp0_iterator_0.k()) {
|
|
@@ -3125,7 +3160,7 @@
|
|
|
3125
3160
|
while (tmp0_iterator_1.k()) {
|
|
3126
3161
|
var element_1 = tmp0_iterator_1.l();
|
|
3127
3162
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
3128
|
-
if (element_0.
|
|
3163
|
+
if (element_0.o6e_1 === element_1.playerId) {
|
|
3129
3164
|
tmp$ret$5 = true;
|
|
3130
3165
|
break $l$block_0;
|
|
3131
3166
|
}
|
|
@@ -3138,7 +3173,7 @@
|
|
|
3138
3173
|
}
|
|
3139
3174
|
tmp_0 = destination_0;
|
|
3140
3175
|
} else {
|
|
3141
|
-
tmp_0 = action_0.
|
|
3176
|
+
tmp_0 = action_0.wd8_1;
|
|
3142
3177
|
}
|
|
3143
3178
|
var this_2 = tmp_0;
|
|
3144
3179
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3151,12 +3186,12 @@
|
|
|
3151
3186
|
destination_1.e(tmp$ret$10);
|
|
3152
3187
|
}
|
|
3153
3188
|
var spectatorsToAdd = toSet(destination_1);
|
|
3154
|
-
tmp = state.
|
|
3189
|
+
tmp = state.t95(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
3155
3190
|
} else {
|
|
3156
3191
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
3157
3192
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3158
3193
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3159
|
-
var this_3 = action_0.
|
|
3194
|
+
var this_3 = action_0.xd8_1;
|
|
3160
3195
|
var destination_2 = ArrayList_init_$Create$();
|
|
3161
3196
|
// Inline function 'kotlin.collections.forEach' call
|
|
3162
3197
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -3164,7 +3199,7 @@
|
|
|
3164
3199
|
var element_2 = tmp0_iterator_3.l();
|
|
3165
3200
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3166
3201
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>' call
|
|
3167
|
-
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.
|
|
3202
|
+
var tmp0_safe_receiver_0 = singleOrNull(filterByPlayerId(table.spectators, element_2.o6e_1));
|
|
3168
3203
|
if (tmp0_safe_receiver_0 == null)
|
|
3169
3204
|
null;
|
|
3170
3205
|
else {
|
|
@@ -3177,10 +3212,10 @@
|
|
|
3177
3212
|
var tmp_2;
|
|
3178
3213
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3179
3214
|
if (!sameSpectators_0.p()) {
|
|
3180
|
-
this.
|
|
3215
|
+
this.hda_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
3181
3216
|
// Inline function 'kotlin.collections.filterNot' call
|
|
3182
3217
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
3183
|
-
var this_4 = action_0.
|
|
3218
|
+
var this_4 = action_0.xd8_1;
|
|
3184
3219
|
var destination_3 = ArrayList_init_$Create$();
|
|
3185
3220
|
var tmp0_iterator_4 = this_4.j();
|
|
3186
3221
|
while (tmp0_iterator_4.k()) {
|
|
@@ -3203,7 +3238,7 @@
|
|
|
3203
3238
|
while (tmp0_iterator_5.k()) {
|
|
3204
3239
|
var element_4 = tmp0_iterator_5.l();
|
|
3205
3240
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
3206
|
-
if (element_3.
|
|
3241
|
+
if (element_3.o6e_1 === element_4.playerId) {
|
|
3207
3242
|
tmp$ret$18 = true;
|
|
3208
3243
|
break $l$block_2;
|
|
3209
3244
|
}
|
|
@@ -3216,7 +3251,7 @@
|
|
|
3216
3251
|
}
|
|
3217
3252
|
tmp_2 = destination_3;
|
|
3218
3253
|
} else {
|
|
3219
|
-
tmp_2 = action_0.
|
|
3254
|
+
tmp_2 = action_0.xd8_1;
|
|
3220
3255
|
}
|
|
3221
3256
|
var spectatorsToRemove = toSet(tmp_2);
|
|
3222
3257
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -3244,7 +3279,7 @@
|
|
|
3244
3279
|
while (tmp0_iterator_7.k()) {
|
|
3245
3280
|
var element_6 = tmp0_iterator_7.l();
|
|
3246
3281
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
3247
|
-
if (element_5.playerId === element_6.
|
|
3282
|
+
if (element_5.playerId === element_6.o6e_1) {
|
|
3248
3283
|
tmp$ret$23 = true;
|
|
3249
3284
|
break $l$block_4;
|
|
3250
3285
|
}
|
|
@@ -3255,40 +3290,40 @@
|
|
|
3255
3290
|
destination_4.e(element_5);
|
|
3256
3291
|
}
|
|
3257
3292
|
}
|
|
3258
|
-
tmp = state.
|
|
3293
|
+
tmp = state.t95(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
3259
3294
|
} else {
|
|
3260
3295
|
noWhenBranchMatchedException();
|
|
3261
3296
|
}
|
|
3262
3297
|
}
|
|
3263
3298
|
return tmp;
|
|
3264
3299
|
};
|
|
3265
|
-
protoOf(_no_name_provided__qut3iv_3).
|
|
3266
|
-
return this.
|
|
3300
|
+
protoOf(_no_name_provided__qut3iv_3).t6p = function (state, action) {
|
|
3301
|
+
return this.o9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
3267
3302
|
};
|
|
3268
3303
|
function Companion_1() {
|
|
3269
3304
|
}
|
|
3270
|
-
protoOf(Companion_1).
|
|
3305
|
+
protoOf(Companion_1).ida = function (config) {
|
|
3271
3306
|
return new ServerState(config);
|
|
3272
3307
|
};
|
|
3273
|
-
protoOf(Companion_1).
|
|
3308
|
+
protoOf(Companion_1).fd6 = function (config, $super) {
|
|
3274
3309
|
config = config === VOID ? new ServerConfig(true) : config;
|
|
3275
|
-
return $super === VOID ? this.
|
|
3310
|
+
return $super === VOID ? this.ida(config) : $super.ida.call(this, config);
|
|
3276
3311
|
};
|
|
3277
3312
|
var Companion_instance_9;
|
|
3278
3313
|
function Companion_getInstance_4() {
|
|
3279
3314
|
return Companion_instance_9;
|
|
3280
3315
|
}
|
|
3281
3316
|
function ServerState(config) {
|
|
3282
|
-
this.
|
|
3317
|
+
this.pd5_1 = config;
|
|
3283
3318
|
}
|
|
3284
|
-
protoOf(ServerState).
|
|
3319
|
+
protoOf(ServerState).dda = function (config) {
|
|
3285
3320
|
return new ServerState(config);
|
|
3286
3321
|
};
|
|
3287
3322
|
protoOf(ServerState).toString = function () {
|
|
3288
|
-
return 'ServerState(config=' + this.
|
|
3323
|
+
return 'ServerState(config=' + this.pd5_1.toString() + ')';
|
|
3289
3324
|
};
|
|
3290
3325
|
protoOf(ServerState).hashCode = function () {
|
|
3291
|
-
return this.
|
|
3326
|
+
return this.pd5_1.hashCode();
|
|
3292
3327
|
};
|
|
3293
3328
|
protoOf(ServerState).equals = function (other) {
|
|
3294
3329
|
if (this === other)
|
|
@@ -3296,13 +3331,13 @@
|
|
|
3296
3331
|
if (!(other instanceof ServerState))
|
|
3297
3332
|
return false;
|
|
3298
3333
|
var tmp0_other_with_cast = other instanceof ServerState ? other : THROW_CCE();
|
|
3299
|
-
if (!this.
|
|
3334
|
+
if (!this.pd5_1.equals(tmp0_other_with_cast.pd5_1))
|
|
3300
3335
|
return false;
|
|
3301
3336
|
return true;
|
|
3302
3337
|
};
|
|
3303
3338
|
function get_serverState(_this__u8e3s4) {
|
|
3304
3339
|
// Inline function 'kotlin.requireNotNull' call
|
|
3305
|
-
var value = _this__u8e3s4.
|
|
3340
|
+
var value = _this__u8e3s4.d6w_1;
|
|
3306
3341
|
// Inline function 'kotlin.contracts.contract' call
|
|
3307
3342
|
var tmp$ret$1;
|
|
3308
3343
|
$l$block: {
|
|
@@ -3330,7 +3365,7 @@
|
|
|
3330
3365
|
}
|
|
3331
3366
|
function prepareConfigObjectInternal($this, map) {
|
|
3332
3367
|
var jsObject = {};
|
|
3333
|
-
var tmp = map.
|
|
3368
|
+
var tmp = map.g2('players');
|
|
3334
3369
|
var tmp0_safe_receiver = (tmp == null ? true : isArray(tmp)) ? tmp : null;
|
|
3335
3370
|
var tmp_0;
|
|
3336
3371
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3369,7 +3404,7 @@
|
|
|
3369
3404
|
tmp_1 = tmp_2;
|
|
3370
3405
|
}
|
|
3371
3406
|
var players = tmp_1;
|
|
3372
|
-
var tmp_3 = map.
|
|
3407
|
+
var tmp_3 = map.g2('points');
|
|
3373
3408
|
var tmp2_safe_receiver = (tmp_3 == null ? true : isArray(tmp_3)) ? tmp_3 : null;
|
|
3374
3409
|
var tmp_4;
|
|
3375
3410
|
if (tmp2_safe_receiver == null) {
|
|
@@ -3408,7 +3443,7 @@
|
|
|
3408
3443
|
tmp_5 = tmp_6;
|
|
3409
3444
|
}
|
|
3410
3445
|
var points = tmp_5;
|
|
3411
|
-
var tmp_7 = map.
|
|
3446
|
+
var tmp_7 = map.g2('timeoutTime');
|
|
3412
3447
|
var tmp4_safe_receiver = (tmp_7 == null ? true : isArray(tmp_7)) ? tmp_7 : null;
|
|
3413
3448
|
var tmp_8;
|
|
3414
3449
|
if (tmp4_safe_receiver == null) {
|
|
@@ -3447,7 +3482,7 @@
|
|
|
3447
3482
|
tmp_9 = tmp_10;
|
|
3448
3483
|
}
|
|
3449
3484
|
var timeoutTime = tmp_9;
|
|
3450
|
-
var tmp_11 = map.
|
|
3485
|
+
var tmp_11 = map.g2('rulesPreset');
|
|
3451
3486
|
var tmp6_safe_receiver = (tmp_11 == null ? true : isArray(tmp_11)) ? tmp_11 : null;
|
|
3452
3487
|
var tmp_12;
|
|
3453
3488
|
if (tmp6_safe_receiver == null) {
|
|
@@ -3486,7 +3521,7 @@
|
|
|
3486
3521
|
tmp_13 = tmp_14;
|
|
3487
3522
|
}
|
|
3488
3523
|
var rulesPreset = tmp_13;
|
|
3489
|
-
var tmp_15 = map.
|
|
3524
|
+
var tmp_15 = map.g2('isChatEnabled');
|
|
3490
3525
|
var isChatEnabled = (!(tmp_15 == null) ? typeof tmp_15 === 'boolean' : false) ? tmp_15 : null;
|
|
3491
3526
|
var tmp_16;
|
|
3492
3527
|
if (players == null) {
|
|
@@ -3529,7 +3564,7 @@
|
|
|
3529
3564
|
while (tmp0_iterator.k()) {
|
|
3530
3565
|
var item = tmp0_iterator.l();
|
|
3531
3566
|
// Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
|
|
3532
|
-
var tmp$ret$33 = item.
|
|
3567
|
+
var tmp$ret$33 = item.m2_1;
|
|
3533
3568
|
destination.e(tmp$ret$33);
|
|
3534
3569
|
}
|
|
3535
3570
|
tmp_19 = copyToArray(destination);
|
|
@@ -3586,7 +3621,7 @@
|
|
|
3586
3621
|
while (tmp0_iterator.k()) {
|
|
3587
3622
|
var item = tmp0_iterator.l();
|
|
3588
3623
|
// Inline function 'GameHelperImpl.validateRulesSetType.<anonymous>' call
|
|
3589
|
-
var tmp$ret$0 = item.
|
|
3624
|
+
var tmp$ret$0 = item.m2_1;
|
|
3590
3625
|
destination.e(tmp$ret$0);
|
|
3591
3626
|
}
|
|
3592
3627
|
if (!destination.s1(rulesSetType)) {
|
|
@@ -3608,7 +3643,7 @@
|
|
|
3608
3643
|
protoOf(GameHelperImpl).filterLivePlayers = function (store, playerIds) {
|
|
3609
3644
|
var state = store.state;
|
|
3610
3645
|
var tmp;
|
|
3611
|
-
if (!state.
|
|
3646
|
+
if (!state.f6x()) {
|
|
3612
3647
|
tmp = true;
|
|
3613
3648
|
} else {
|
|
3614
3649
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3617,7 +3652,7 @@
|
|
|
3617
3652
|
if (tmp) {
|
|
3618
3653
|
return playerIds;
|
|
3619
3654
|
}
|
|
3620
|
-
var players = state.
|
|
3655
|
+
var players = state.e6x().players;
|
|
3621
3656
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3622
3657
|
// Inline function 'kotlin.collections.map' call
|
|
3623
3658
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3639,7 +3674,7 @@
|
|
|
3639
3674
|
while (tmp0_iterator.k()) {
|
|
3640
3675
|
var element = tmp0_iterator.l();
|
|
3641
3676
|
// Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
|
|
3642
|
-
if (element.
|
|
3677
|
+
if (element.j73_1.z6g().q6f_1.isLive) {
|
|
3643
3678
|
destination_0.e(element);
|
|
3644
3679
|
}
|
|
3645
3680
|
}
|
|
@@ -3657,7 +3692,7 @@
|
|
|
3657
3692
|
protoOf(GameHelperImpl).filterLiveDuringGamePlayers = function (store, playerIds) {
|
|
3658
3693
|
var state = store.state;
|
|
3659
3694
|
var tmp;
|
|
3660
|
-
if (!state.
|
|
3695
|
+
if (!state.f6x()) {
|
|
3661
3696
|
tmp = true;
|
|
3662
3697
|
} else {
|
|
3663
3698
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3666,7 +3701,7 @@
|
|
|
3666
3701
|
if (tmp) {
|
|
3667
3702
|
return playerIds;
|
|
3668
3703
|
}
|
|
3669
|
-
var players = state.
|
|
3704
|
+
var players = state.e6x().players;
|
|
3670
3705
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3671
3706
|
// Inline function 'kotlin.collections.map' call
|
|
3672
3707
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3688,7 +3723,7 @@
|
|
|
3688
3723
|
while (tmp0_iterator.k()) {
|
|
3689
3724
|
var element = tmp0_iterator.l();
|
|
3690
3725
|
// Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
|
|
3691
|
-
if (element.
|
|
3726
|
+
if (element.j73_1.z6g().b6g(state.e6x().gameDuration)) {
|
|
3692
3727
|
destination_0.e(element);
|
|
3693
3728
|
}
|
|
3694
3729
|
}
|
|
@@ -3706,7 +3741,7 @@
|
|
|
3706
3741
|
protoOf(GameHelperImpl).filterBotPlayers = function (store, playerIds) {
|
|
3707
3742
|
var state = store.state;
|
|
3708
3743
|
var tmp;
|
|
3709
|
-
if (!state.
|
|
3744
|
+
if (!state.f6x()) {
|
|
3710
3745
|
tmp = true;
|
|
3711
3746
|
} else {
|
|
3712
3747
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3715,7 +3750,7 @@
|
|
|
3715
3750
|
if (tmp) {
|
|
3716
3751
|
return playerIds;
|
|
3717
3752
|
}
|
|
3718
|
-
var players = state.
|
|
3753
|
+
var players = state.e6x().players;
|
|
3719
3754
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3720
3755
|
// Inline function 'kotlin.collections.map' call
|
|
3721
3756
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3737,7 +3772,7 @@
|
|
|
3737
3772
|
while (tmp0_iterator.k()) {
|
|
3738
3773
|
var element = tmp0_iterator.l();
|
|
3739
3774
|
// Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
|
|
3740
|
-
if (element.
|
|
3775
|
+
if (element.i73_1.isBot) {
|
|
3741
3776
|
destination_0.e(element);
|
|
3742
3777
|
}
|
|
3743
3778
|
}
|
|
@@ -3755,7 +3790,7 @@
|
|
|
3755
3790
|
protoOf(GameHelperImpl).filterRealPlayers = function (store, playerIds) {
|
|
3756
3791
|
var state = store.state;
|
|
3757
3792
|
var tmp;
|
|
3758
|
-
if (!state.
|
|
3793
|
+
if (!state.f6x()) {
|
|
3759
3794
|
tmp = true;
|
|
3760
3795
|
} else {
|
|
3761
3796
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -3764,7 +3799,7 @@
|
|
|
3764
3799
|
if (tmp) {
|
|
3765
3800
|
return playerIds;
|
|
3766
3801
|
}
|
|
3767
|
-
var players = state.
|
|
3802
|
+
var players = state.e6x().players;
|
|
3768
3803
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3769
3804
|
// Inline function 'kotlin.collections.map' call
|
|
3770
3805
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3786,7 +3821,7 @@
|
|
|
3786
3821
|
while (tmp0_iterator.k()) {
|
|
3787
3822
|
var element = tmp0_iterator.l();
|
|
3788
3823
|
// Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
|
|
3789
|
-
if (!element.
|
|
3824
|
+
if (!element.i73_1.isBot) {
|
|
3790
3825
|
destination_0.e(element);
|
|
3791
3826
|
}
|
|
3792
3827
|
}
|
|
@@ -3803,21 +3838,21 @@
|
|
|
3803
3838
|
};
|
|
3804
3839
|
protoOf(GameHelperImpl).getUserSocketId = function (store, playerId) {
|
|
3805
3840
|
var state = store.state;
|
|
3806
|
-
if (!state.
|
|
3841
|
+
if (!state.f6x()) {
|
|
3807
3842
|
return null;
|
|
3808
3843
|
}
|
|
3809
|
-
var tmp0_safe_receiver = getUserProfilePayloadOrNull(getPlayer(state.
|
|
3844
|
+
var tmp0_safe_receiver = getUserProfilePayloadOrNull(getPlayer(state.e6x().players, playerId).i73_1);
|
|
3810
3845
|
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
|
|
3811
3846
|
};
|
|
3812
3847
|
protoOf(GameHelperImpl).getUserSocketIds = function (store) {
|
|
3813
3848
|
var state = store.state;
|
|
3814
|
-
if (!state.
|
|
3849
|
+
if (!state.f6x()) {
|
|
3815
3850
|
return null;
|
|
3816
3851
|
}
|
|
3817
3852
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3818
3853
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
3819
3854
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
3820
|
-
var this_0 = state.
|
|
3855
|
+
var this_0 = state.e6x().players;
|
|
3821
3856
|
var destination = ArrayList_init_$Create$();
|
|
3822
3857
|
// Inline function 'kotlin.collections.forEach' call
|
|
3823
3858
|
var tmp0_iterator = this_0.j();
|
|
@@ -3825,7 +3860,7 @@
|
|
|
3825
3860
|
var element = tmp0_iterator.l();
|
|
3826
3861
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3827
3862
|
// Inline function 'GameHelperImpl.getUserSocketIds.<anonymous>' call
|
|
3828
|
-
var tmp0_safe_receiver = getUserProfilePayloadOrNull(element.
|
|
3863
|
+
var tmp0_safe_receiver = getUserProfilePayloadOrNull(element.i73_1);
|
|
3829
3864
|
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
|
|
3830
3865
|
if (tmp0_safe_receiver_0 == null)
|
|
3831
3866
|
null;
|
|
@@ -3898,31 +3933,31 @@
|
|
|
3898
3933
|
return rules instanceof Rules ? rules : THROW_CCE();
|
|
3899
3934
|
}
|
|
3900
3935
|
var map = mapOfObject(rules);
|
|
3901
|
-
var tmp = map.
|
|
3936
|
+
var tmp = map.g2('needToPutHigherTrump');
|
|
3902
3937
|
var tmp0_elvis_lhs = (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : null;
|
|
3903
3938
|
var tmp31_needToPutHigherTrump = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
3904
|
-
var tmp_0 = map.
|
|
3939
|
+
var tmp_0 = map.g2('playerWhoChooseSuitGoFirst');
|
|
3905
3940
|
var tmp1_elvis_lhs = (!(tmp_0 == null) ? typeof tmp_0 === 'boolean' : false) ? tmp_0 : null;
|
|
3906
3941
|
var tmp32_playerWhoChooseSuitGoFirst = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
3907
|
-
var tmp_1 = map.
|
|
3942
|
+
var tmp_1 = map.g2('winnerShuffleCards');
|
|
3908
3943
|
var tmp2_elvis_lhs = (!(tmp_1 == null) ? typeof tmp_1 === 'boolean' : false) ? tmp_1 : null;
|
|
3909
3944
|
var tmp33_winnerShuffleCards = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
3910
|
-
var tmp_2 = map.
|
|
3945
|
+
var tmp_2 = map.g2('playWithoutLiabilities');
|
|
3911
3946
|
var tmp3_elvis_lhs = (!(tmp_2 == null) ? typeof tmp_2 === 'boolean' : false) ? tmp_2 : null;
|
|
3912
3947
|
var tmp34_playWithoutLiabilities = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
3913
|
-
var tmp_3 = map.
|
|
3948
|
+
var tmp_3 = map.g2('trumpCardGoToPlayerWhoShuffleCards');
|
|
3914
3949
|
var tmp4_elvis_lhs = (!(tmp_3 == null) ? typeof tmp_3 === 'boolean' : false) ? tmp_3 : null;
|
|
3915
3950
|
var tmp35_trumpCardGoToPlayerWhoShuffleCards = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
3916
|
-
var tmp_4 = map.
|
|
3951
|
+
var tmp_4 = map.g2('dealerCounterClockwise');
|
|
3917
3952
|
var tmp5_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'boolean' : false) ? tmp_4 : null;
|
|
3918
3953
|
var tmp36_dealerCounterClockwise = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
|
|
3919
|
-
var tmp_5 = map.
|
|
3954
|
+
var tmp_5 = map.g2('dealerInitialCardsCount');
|
|
3920
3955
|
var tmp6_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'number' : false) ? tmp_5 : null;
|
|
3921
3956
|
var tmp37_dealerInitialCardsCount = tmp6_elvis_lhs == null ? 6 : tmp6_elvis_lhs;
|
|
3922
|
-
var tmp_6 = map.
|
|
3957
|
+
var tmp_6 = map.g2('dealerFinalCardsCount');
|
|
3923
3958
|
var tmp7_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'number' : false) ? tmp_6 : null;
|
|
3924
3959
|
var tmp38_dealerFinalCardsCount = tmp7_elvis_lhs == null ? 9 : tmp7_elvis_lhs;
|
|
3925
|
-
var tmp_7 = map.
|
|
3960
|
+
var tmp_7 = map.g2('contractTypes');
|
|
3926
3961
|
var tmp8_safe_receiver = (!(tmp_7 == null) ? isArray(tmp_7) : false) ? tmp_7 : null;
|
|
3927
3962
|
var tmp_8;
|
|
3928
3963
|
if (tmp8_safe_receiver == null) {
|
|
@@ -3960,7 +3995,7 @@
|
|
|
3960
3995
|
tmp_10 = tmp10_elvis_lhs;
|
|
3961
3996
|
}
|
|
3962
3997
|
var tmp39_contractTypes = tmp_10;
|
|
3963
|
-
var tmp_11 = map.
|
|
3998
|
+
var tmp_11 = map.g2('bidTypes');
|
|
3964
3999
|
var tmp11_safe_receiver = (!(tmp_11 == null) ? isArray(tmp_11) : false) ? tmp_11 : null;
|
|
3965
4000
|
var tmp_12;
|
|
3966
4001
|
if (tmp11_safe_receiver == null) {
|
|
@@ -3997,7 +4032,7 @@
|
|
|
3997
4032
|
tmp_14 = tmp13_elvis_lhs;
|
|
3998
4033
|
}
|
|
3999
4034
|
var tmp40_bidTypes = tmp_14;
|
|
4000
|
-
var tmp_15 = map.
|
|
4035
|
+
var tmp_15 = map.g2('combinationsWithFirstCard');
|
|
4001
4036
|
var tmp14_safe_receiver = (!(tmp_15 == null) ? isArray(tmp_15) : false) ? tmp_15 : null;
|
|
4002
4037
|
var tmp_16;
|
|
4003
4038
|
if (tmp14_safe_receiver == null) {
|
|
@@ -4035,37 +4070,37 @@
|
|
|
4035
4070
|
tmp_18 = tmp16_elvis_lhs;
|
|
4036
4071
|
}
|
|
4037
4072
|
var tmp41_combinationsWithFirstCard = tmp_18;
|
|
4038
|
-
var tmp_19 = map.
|
|
4073
|
+
var tmp_19 = map.g2('protectBella');
|
|
4039
4074
|
var tmp17_elvis_lhs = (!(tmp_19 == null) ? typeof tmp_19 === 'boolean' : false) ? tmp_19 : null;
|
|
4040
4075
|
var tmp42_protectBella = tmp17_elvis_lhs == null ? false : tmp17_elvis_lhs;
|
|
4041
|
-
var tmp_20 = map.
|
|
4076
|
+
var tmp_20 = map.g2('oneTryToProtectBella');
|
|
4042
4077
|
var tmp18_elvis_lhs = (!(tmp_20 == null) ? typeof tmp_20 === 'boolean' : false) ? tmp_20 : null;
|
|
4043
4078
|
var tmp43_oneTryToProtectBella = tmp18_elvis_lhs == null ? false : tmp18_elvis_lhs;
|
|
4044
|
-
var tmp_21 = map.
|
|
4079
|
+
var tmp_21 = map.g2('enableFourSevensCombination');
|
|
4045
4080
|
var tmp19_elvis_lhs = (!(tmp_21 == null) ? typeof tmp_21 === 'boolean' : false) ? tmp_21 : null;
|
|
4046
4081
|
var tmp44_enableFourSevensCombination = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
|
|
4047
|
-
var tmp_22 = map.
|
|
4082
|
+
var tmp_22 = map.g2('enableTrumpSevenCombination');
|
|
4048
4083
|
var tmp20_elvis_lhs = (!(tmp_22 == null) ? typeof tmp_22 === 'boolean' : false) ? tmp_22 : null;
|
|
4049
4084
|
var tmp45_enableTrumpSevenCombination = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
|
|
4050
|
-
var tmp_23 = map.
|
|
4085
|
+
var tmp_23 = map.g2('enableTrumpSevenCombinationAfterDistribution');
|
|
4051
4086
|
var tmp21_elvis_lhs = (!(tmp_23 == null) ? typeof tmp_23 === 'boolean' : false) ? tmp_23 : null;
|
|
4052
4087
|
var tmp46_enableTrumpSevenCombinationAfterDistribution = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
|
|
4053
|
-
var tmp_24 = map.
|
|
4088
|
+
var tmp_24 = map.g2('checkTrumpCombination');
|
|
4054
4089
|
var tmp22_elvis_lhs = (!(tmp_24 == null) ? typeof tmp_24 === 'boolean' : false) ? tmp_24 : null;
|
|
4055
4090
|
var tmp47_checkTrumpCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
|
|
4056
|
-
var tmp_25 = map.
|
|
4091
|
+
var tmp_25 = map.g2('checkOnlyTrumpDebertz');
|
|
4057
4092
|
var tmp23_elvis_lhs = (!(tmp_25 == null) ? typeof tmp_25 === 'boolean' : false) ? tmp_25 : null;
|
|
4058
4093
|
var tmp48_checkOnlyTrumpDebertz = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
|
|
4059
|
-
var tmp_26 = map.
|
|
4094
|
+
var tmp_26 = map.g2('distributePoints');
|
|
4060
4095
|
var tmp24_elvis_lhs = (!(tmp_26 == null) ? typeof tmp_26 === 'boolean' : false) ? tmp_26 : null;
|
|
4061
4096
|
var tmp49_distributePoints = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
|
|
4062
|
-
var tmp_27 = map.
|
|
4097
|
+
var tmp_27 = map.g2('pointsDistributeMode');
|
|
4063
4098
|
var tmp25_safe_receiver = (!(tmp_27 == null) ? typeof tmp_27 === 'string' : false) ? tmp_27 : null;
|
|
4064
4099
|
var tmp26_elvis_lhs = tmp25_safe_receiver == null ? null : toPointsDistributeMode(tmp25_safe_receiver);
|
|
4065
4100
|
var tmp_28;
|
|
4066
4101
|
if (tmp26_elvis_lhs == null) {
|
|
4067
4102
|
var tmp_29;
|
|
4068
|
-
var tmp_30 = map.
|
|
4103
|
+
var tmp_30 = map.g2('distributePoints');
|
|
4069
4104
|
if (((!(tmp_30 == null) ? typeof tmp_30 === 'boolean' : false) ? tmp_30 : null) === true) {
|
|
4070
4105
|
tmp_29 = PointsDistributeMode_ALL_getInstance();
|
|
4071
4106
|
} else {
|
|
@@ -4076,23 +4111,23 @@
|
|
|
4076
4111
|
tmp_28 = tmp26_elvis_lhs;
|
|
4077
4112
|
}
|
|
4078
4113
|
var tmp50_pointsDistributeMode = tmp_28;
|
|
4079
|
-
var tmp_31 = map.
|
|
4114
|
+
var tmp_31 = map.g2('enableFineIfNoBribes');
|
|
4080
4115
|
var tmp27_elvis_lhs = (!(tmp_31 == null) ? typeof tmp_31 === 'boolean' : false) ? tmp_31 : null;
|
|
4081
4116
|
var tmp51_enableFineIfNoBribes = tmp27_elvis_lhs == null ? false : tmp27_elvis_lhs;
|
|
4082
|
-
var tmp_32 = map.
|
|
4117
|
+
var tmp_32 = map.g2('fineIfNoBribes');
|
|
4083
4118
|
var tmp28_elvis_lhs = (!(tmp_32 == null) ? typeof tmp_32 === 'number' : false) ? tmp_32 : null;
|
|
4084
4119
|
var tmp52_fineIfNoBribes = tmp28_elvis_lhs == null ? 50 : tmp28_elvis_lhs;
|
|
4085
|
-
var tmp_33 = map.
|
|
4120
|
+
var tmp_33 = map.g2('enableFineAfterThirdByte');
|
|
4086
4121
|
var tmp29_elvis_lhs = (!(tmp_33 == null) ? typeof tmp_33 === 'boolean' : false) ? tmp_33 : null;
|
|
4087
4122
|
var tmp53_enableFineAfterThirdFailedContract = tmp29_elvis_lhs == null ? false : tmp29_elvis_lhs;
|
|
4088
|
-
var tmp_34 = map.
|
|
4123
|
+
var tmp_34 = map.g2('fineAfterThirdFailedContract');
|
|
4089
4124
|
var tmp30_elvis_lhs = (!(tmp_34 == null) ? typeof tmp_34 === 'number' : false) ? tmp_34 : null;
|
|
4090
4125
|
var tmp54_fineAfterThirdFailedContract = tmp30_elvis_lhs == null ? 100 : tmp30_elvis_lhs;
|
|
4091
4126
|
return new Rules(tmp31_needToPutHigherTrump, tmp32_playerWhoChooseSuitGoFirst, tmp33_winnerShuffleCards, tmp34_playWithoutLiabilities, tmp35_trumpCardGoToPlayerWhoShuffleCards, tmp37_dealerInitialCardsCount, tmp38_dealerFinalCardsCount, tmp36_dealerCounterClockwise, tmp39_contractTypes, tmp40_bidTypes, tmp41_combinationsWithFirstCard, tmp42_protectBella, tmp43_oneTryToProtectBella, tmp44_enableFourSevensCombination, tmp45_enableTrumpSevenCombination, tmp46_enableTrumpSevenCombinationAfterDistribution, tmp47_checkTrumpCombination, tmp48_checkOnlyTrumpDebertz, tmp49_distributePoints, tmp50_pointsDistributeMode, tmp53_enableFineAfterThirdFailedContract, tmp54_fineAfterThirdFailedContract, tmp51_enableFineIfNoBribes, tmp52_fineIfNoBribes);
|
|
4092
4127
|
};
|
|
4093
4128
|
protoOf(GameHelperImpl).prepareConfigObjectWithPagination = function (config) {
|
|
4094
4129
|
var map = mapOfObject(config);
|
|
4095
|
-
var tmp = map.
|
|
4130
|
+
var tmp = map.g2('limit');
|
|
4096
4131
|
var tmp0_safe_receiver = (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : null;
|
|
4097
4132
|
var tmp_0;
|
|
4098
4133
|
if (tmp0_safe_receiver == null) {
|
|
@@ -4115,7 +4150,7 @@
|
|
|
4115
4150
|
};
|
|
4116
4151
|
protoOf(GameHelperImpl).isValidConfigObject = function (config) {
|
|
4117
4152
|
var map = mapOfObject(config);
|
|
4118
|
-
var rules = map.
|
|
4153
|
+
var rules = map.g2('rules');
|
|
4119
4154
|
var tmp = getValue(map, 'players');
|
|
4120
4155
|
var tmp_0 = (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : THROW_CCE();
|
|
4121
4156
|
var tmp_1 = getValue(map, 'points');
|
|
@@ -4142,7 +4177,7 @@
|
|
|
4142
4177
|
};
|
|
4143
4178
|
protoOf(GameHelperImpl).getRulesByType = function (rulesSetType) {
|
|
4144
4179
|
var tmp;
|
|
4145
|
-
switch (rulesSetType.
|
|
4180
|
+
switch (rulesSetType.n2_1) {
|
|
4146
4181
|
case 0:
|
|
4147
4182
|
tmp = Companion_instance_2.belot();
|
|
4148
4183
|
break;
|
|
@@ -4236,42 +4271,42 @@
|
|
|
4236
4271
|
return data;
|
|
4237
4272
|
}
|
|
4238
4273
|
function getRandomAvatarData_0($this) {
|
|
4239
|
-
var avatarSetNumber = Default_getInstance().
|
|
4274
|
+
var avatarSetNumber = Default_getInstance().og(values().length);
|
|
4240
4275
|
var avatarSet = values()[avatarSetNumber];
|
|
4241
|
-
return new AvatarData(Default_getInstance().
|
|
4276
|
+
return new AvatarData(Default_getInstance().og(avatarSet.mda()), avatarSet);
|
|
4242
4277
|
}
|
|
4243
4278
|
function getAvatarUrlByIndex($this, data) {
|
|
4244
4279
|
return mapToPattern($this, data);
|
|
4245
4280
|
}
|
|
4246
4281
|
function getNicknameByIndex($this, data) {
|
|
4247
|
-
return data.
|
|
4282
|
+
return data.oda_1.pda(data.nda_1);
|
|
4248
4283
|
}
|
|
4249
4284
|
function mapToPattern($this, data) {
|
|
4250
|
-
return 'debertz://raspberry.games/' + data.
|
|
4285
|
+
return 'debertz://raspberry.games/' + data.oda_1.n2_1 + '/' + data.nda_1;
|
|
4251
4286
|
}
|
|
4252
4287
|
function Companion_2() {
|
|
4253
4288
|
Companion_instance_10 = this;
|
|
4254
|
-
this.
|
|
4289
|
+
this.qda_1 = 'debertz://raspberry.games';
|
|
4255
4290
|
var tmp = this;
|
|
4256
4291
|
// Inline function 'kotlin.arrayOf' call
|
|
4257
4292
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4258
4293
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4259
|
-
tmp.
|
|
4294
|
+
tmp.rda_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
4260
4295
|
var tmp_0 = this;
|
|
4261
4296
|
// Inline function 'kotlin.arrayOf' call
|
|
4262
4297
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4263
4298
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4264
|
-
tmp_0.
|
|
4299
|
+
tmp_0.sda_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'];
|
|
4265
4300
|
var tmp_1 = this;
|
|
4266
4301
|
// Inline function 'kotlin.arrayOf' call
|
|
4267
4302
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4268
4303
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4269
|
-
tmp_1.
|
|
4304
|
+
tmp_1.tda_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
4270
4305
|
var tmp_2 = this;
|
|
4271
4306
|
// Inline function 'kotlin.arrayOf' call
|
|
4272
4307
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4273
4308
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4274
|
-
tmp_2.
|
|
4309
|
+
tmp_2.uda_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'];
|
|
4275
4310
|
}
|
|
4276
4311
|
var Companion_instance_10;
|
|
4277
4312
|
function Companion_getInstance_5() {
|
|
@@ -4282,14 +4317,14 @@
|
|
|
4282
4317
|
function AvatarSet(name, ordinal) {
|
|
4283
4318
|
Enum.call(this, name, ordinal);
|
|
4284
4319
|
}
|
|
4285
|
-
protoOf(AvatarSet).
|
|
4320
|
+
protoOf(AvatarSet).mda = function () {
|
|
4286
4321
|
var tmp;
|
|
4287
|
-
switch (this.
|
|
4322
|
+
switch (this.n2_1) {
|
|
4288
4323
|
case 0:
|
|
4289
|
-
tmp = Companion_getInstance_5().
|
|
4324
|
+
tmp = Companion_getInstance_5().sda_1.length;
|
|
4290
4325
|
break;
|
|
4291
4326
|
case 1:
|
|
4292
|
-
tmp = Companion_getInstance_5().
|
|
4327
|
+
tmp = Companion_getInstance_5().uda_1.length;
|
|
4293
4328
|
break;
|
|
4294
4329
|
default:
|
|
4295
4330
|
noWhenBranchMatchedException();
|
|
@@ -4297,14 +4332,14 @@
|
|
|
4297
4332
|
}
|
|
4298
4333
|
return tmp;
|
|
4299
4334
|
};
|
|
4300
|
-
protoOf(AvatarSet).
|
|
4335
|
+
protoOf(AvatarSet).pda = function (index) {
|
|
4301
4336
|
var tmp;
|
|
4302
|
-
switch (this.
|
|
4337
|
+
switch (this.n2_1) {
|
|
4303
4338
|
case 0:
|
|
4304
|
-
tmp = Companion_getInstance_5().
|
|
4339
|
+
tmp = Companion_getInstance_5().sda_1[index];
|
|
4305
4340
|
break;
|
|
4306
4341
|
case 1:
|
|
4307
|
-
tmp = Companion_getInstance_5().
|
|
4342
|
+
tmp = Companion_getInstance_5().uda_1[index];
|
|
4308
4343
|
break;
|
|
4309
4344
|
default:
|
|
4310
4345
|
noWhenBranchMatchedException();
|
|
@@ -4313,8 +4348,8 @@
|
|
|
4313
4348
|
return tmp;
|
|
4314
4349
|
};
|
|
4315
4350
|
function AvatarData(index, avatarSet) {
|
|
4316
|
-
this.
|
|
4317
|
-
this.
|
|
4351
|
+
this.nda_1 = index;
|
|
4352
|
+
this.oda_1 = avatarSet;
|
|
4318
4353
|
}
|
|
4319
4354
|
function AvatarSet_ORIGIN_getInstance() {
|
|
4320
4355
|
AvatarSet_initEntries();
|
|
@@ -4327,7 +4362,7 @@
|
|
|
4327
4362
|
function GameResourcesImpl() {
|
|
4328
4363
|
Companion_getInstance_5();
|
|
4329
4364
|
}
|
|
4330
|
-
protoOf(GameResourcesImpl).
|
|
4365
|
+
protoOf(GameResourcesImpl).jda = function (playerId, existingNicknames) {
|
|
4331
4366
|
var data = getRandomAvatarData(this, existingNicknames);
|
|
4332
4367
|
return new GameUserInfo(playerId, getNicknameByIndex(this, data), getAvatarUrlByIndex(this, data), true);
|
|
4333
4368
|
};
|
|
@@ -4365,30 +4400,30 @@
|
|
|
4365
4400
|
}
|
|
4366
4401
|
function _get_controllerLogger__nbd727($this) {
|
|
4367
4402
|
// Inline function 'kotlin.getValue' call
|
|
4368
|
-
var this_0 = $this.
|
|
4403
|
+
var this_0 = $this.cdb_1;
|
|
4369
4404
|
controllerLogger$factory();
|
|
4370
4405
|
return this_0.u();
|
|
4371
4406
|
}
|
|
4372
4407
|
function _get_di__ndbzja($this) {
|
|
4373
4408
|
// Inline function 'kotlin.getValue' call
|
|
4374
|
-
var this_0 = $this.
|
|
4409
|
+
var this_0 = $this.ddb_1;
|
|
4375
4410
|
di$factory();
|
|
4376
4411
|
return this_0.u();
|
|
4377
4412
|
}
|
|
4378
4413
|
function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
|
|
4379
4414
|
var tmp = Companion_instance_3;
|
|
4380
|
-
return tmp.
|
|
4415
|
+
return tmp.a62(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
|
|
4381
4416
|
}
|
|
4382
4417
|
function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
|
|
4383
4418
|
return function () {
|
|
4384
4419
|
var tmp;
|
|
4385
|
-
if (this$0.
|
|
4420
|
+
if (this$0.adb_1 == null) {
|
|
4386
4421
|
tmp = null;
|
|
4387
4422
|
} else {
|
|
4388
4423
|
// Inline function 'kotlin.let' call
|
|
4389
4424
|
// Inline function 'kotlin.contracts.contract' call
|
|
4390
4425
|
// Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
|
|
4391
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4426
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.adb_1)]));
|
|
4392
4427
|
}
|
|
4393
4428
|
var tmp1_elvis_lhs = tmp;
|
|
4394
4429
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4405,38 +4440,38 @@
|
|
|
4405
4440
|
// Inline function 'org.kodein.type.generic' call
|
|
4406
4441
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4407
4442
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4408
|
-
var tmp_0 = $this$DI.
|
|
4443
|
+
var tmp_0 = $this$DI.r61(tmp$ret$0, null, null);
|
|
4409
4444
|
// Inline function 'org.kodein.di.provider' call
|
|
4410
4445
|
var creator = GameServerEngineControllerImpl$di$delegate$lambda$lambda$lambda(this$0);
|
|
4411
|
-
var tmp_1 = $this$DI.
|
|
4446
|
+
var tmp_1 = $this$DI.u61();
|
|
4412
4447
|
// Inline function 'org.kodein.type.generic' call
|
|
4413
4448
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4414
4449
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4415
4450
|
var tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, creator);
|
|
4416
|
-
tmp_0.
|
|
4417
|
-
$this$DI.
|
|
4418
|
-
$this$DI.
|
|
4419
|
-
$this$DI.
|
|
4451
|
+
tmp_0.p65(tmp$ret$3);
|
|
4452
|
+
$this$DI.t61(jsonModule());
|
|
4453
|
+
$this$DI.t61(serverHelpersModule());
|
|
4454
|
+
$this$DI.t61(randomOrgModule(this$0.bdb_1));
|
|
4420
4455
|
return Unit_instance;
|
|
4421
4456
|
};
|
|
4422
4457
|
}
|
|
4423
4458
|
function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
|
|
4424
4459
|
return function () {
|
|
4425
4460
|
var tmp = Companion_instance_3;
|
|
4426
|
-
return tmp.
|
|
4461
|
+
return tmp.a62(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
|
|
4427
4462
|
};
|
|
4428
4463
|
}
|
|
4429
4464
|
function _no_name_provided__qut3iv_4($item) {
|
|
4430
|
-
this.
|
|
4465
|
+
this.jdb_1 = $item;
|
|
4431
4466
|
}
|
|
4432
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4467
|
+
protoOf(_no_name_provided__qut3iv_4).b6o = function (action) {
|
|
4433
4468
|
return isInterface(action, Action);
|
|
4434
4469
|
};
|
|
4435
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4436
|
-
return this.
|
|
4470
|
+
protoOf(_no_name_provided__qut3iv_4).o9h = function (state, action) {
|
|
4471
|
+
return this.jdb_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4437
4472
|
};
|
|
4438
|
-
protoOf(_no_name_provided__qut3iv_4).
|
|
4439
|
-
return this.
|
|
4473
|
+
protoOf(_no_name_provided__qut3iv_4).t6p = function (state, action) {
|
|
4474
|
+
return this.o9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4440
4475
|
};
|
|
4441
4476
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4442
4477
|
return function ($this$singleton) {
|
|
@@ -4456,17 +4491,17 @@
|
|
|
4456
4491
|
// Inline function 'org.kodein.type.generic' call
|
|
4457
4492
|
var tmp_0 = typeToken(createKType(getKClass(FileLoggerOutput), arrayOf([]), false));
|
|
4458
4493
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4459
|
-
var tmp_1 = $this$Module.
|
|
4494
|
+
var tmp_1 = $this$Module.r61(tmp$ret$0, null, null);
|
|
4460
4495
|
// Inline function 'org.kodein.di.singleton' call
|
|
4461
4496
|
var creator = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput);
|
|
4462
|
-
var tmp_2 = $this$Module.
|
|
4463
|
-
var tmp_3 = $this$Module.
|
|
4464
|
-
var tmp_4 = $this$Module.
|
|
4497
|
+
var tmp_2 = $this$Module.w61();
|
|
4498
|
+
var tmp_3 = $this$Module.u61();
|
|
4499
|
+
var tmp_4 = $this$Module.v61();
|
|
4465
4500
|
// Inline function 'org.kodein.type.generic' call
|
|
4466
4501
|
var tmp_5 = typeToken(createKType(getKClass(FileLoggerOutputImpl), arrayOf([]), false));
|
|
4467
4502
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4468
4503
|
var tmp$ret$3 = new Singleton(tmp_2, tmp_3, tmp_4, tmp$ret$2, null, true, creator);
|
|
4469
|
-
tmp_1.
|
|
4504
|
+
tmp_1.p65(tmp$ret$3);
|
|
4470
4505
|
tmp = Unit_instance;
|
|
4471
4506
|
}
|
|
4472
4507
|
var tmp_6;
|
|
@@ -4475,17 +4510,17 @@
|
|
|
4475
4510
|
// Inline function 'org.kodein.type.generic' call
|
|
4476
4511
|
var tmp_7 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4477
4512
|
var tmp$ret$4 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
|
|
4478
|
-
var tmp_8 = $this$Module.
|
|
4513
|
+
var tmp_8 = $this$Module.r61(tmp$ret$4, null, null);
|
|
4479
4514
|
// Inline function 'org.kodein.di.singleton' call
|
|
4480
4515
|
var creator_0 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda_0($callbackWrapperLoggerOutput);
|
|
4481
|
-
var tmp_9 = $this$Module.
|
|
4482
|
-
var tmp_10 = $this$Module.
|
|
4483
|
-
var tmp_11 = $this$Module.
|
|
4516
|
+
var tmp_9 = $this$Module.w61();
|
|
4517
|
+
var tmp_10 = $this$Module.u61();
|
|
4518
|
+
var tmp_11 = $this$Module.v61();
|
|
4484
4519
|
// Inline function 'org.kodein.type.generic' call
|
|
4485
4520
|
var tmp_12 = typeToken(createKType(getKClass(CallbackWrapperLoggerOutput), arrayOf([]), false));
|
|
4486
4521
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4487
4522
|
var tmp$ret$7 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$6, null, true, creator_0);
|
|
4488
|
-
tmp_8.
|
|
4523
|
+
tmp_8.p65(tmp$ret$7);
|
|
4489
4524
|
tmp_6 = Unit_instance;
|
|
4490
4525
|
}
|
|
4491
4526
|
return Unit_instance;
|
|
@@ -4493,10 +4528,10 @@
|
|
|
4493
4528
|
}
|
|
4494
4529
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4495
4530
|
return function (it) {
|
|
4496
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4531
|
+
var tmp0_elvis_lhs = Companion_instance_4.k9m(it);
|
|
4497
4532
|
var tmp;
|
|
4498
4533
|
if (tmp0_elvis_lhs == null) {
|
|
4499
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4534
|
+
var tmp1_safe_receiver = $gameServer.w6e().c6w_1;
|
|
4500
4535
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
4501
4536
|
} else {
|
|
4502
4537
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4506,10 +4541,10 @@
|
|
|
4506
4541
|
}
|
|
4507
4542
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4508
4543
|
return function (it) {
|
|
4509
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4544
|
+
var tmp0_elvis_lhs = Companion_instance_5.v9k(it);
|
|
4510
4545
|
var tmp;
|
|
4511
4546
|
if (tmp0_elvis_lhs == null) {
|
|
4512
|
-
var tmp1_safe_receiver = $gameServer.
|
|
4547
|
+
var tmp1_safe_receiver = $gameServer.w6e().c6w_1;
|
|
4513
4548
|
tmp = tmp1_safe_receiver == null ? null : toLoggerPayload(tmp1_safe_receiver);
|
|
4514
4549
|
} else {
|
|
4515
4550
|
tmp = tmp0_elvis_lhs;
|
|
@@ -4519,105 +4554,105 @@
|
|
|
4519
4554
|
}
|
|
4520
4555
|
function GameServerEngineControllerImpl$createDI$lambda($combinedLogger, $externalModule, this$0, $coreConfig, $serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares) {
|
|
4521
4556
|
return function ($this$DI) {
|
|
4522
|
-
$this$DI.
|
|
4557
|
+
$this$DI.t61(combinedLoggerModule($combinedLogger));
|
|
4523
4558
|
var tmp0_safe_receiver = $externalModule;
|
|
4524
4559
|
if (tmp0_safe_receiver == null)
|
|
4525
4560
|
null;
|
|
4526
4561
|
else {
|
|
4527
4562
|
// Inline function 'kotlin.let' call
|
|
4528
4563
|
// Inline function 'kotlin.contracts.contract' call
|
|
4529
|
-
$this$DI.
|
|
4564
|
+
$this$DI.t61(tmp0_safe_receiver);
|
|
4530
4565
|
}
|
|
4531
|
-
$this$DI.
|
|
4532
|
-
$this$DI.
|
|
4533
|
-
$this$DI.
|
|
4566
|
+
$this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.bdb_1));
|
|
4567
|
+
$this$DI.t61(coreModule($coreConfig));
|
|
4568
|
+
$this$DI.t61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4534
4569
|
return Unit_instance;
|
|
4535
4570
|
};
|
|
4536
4571
|
}
|
|
4537
4572
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4538
4573
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4539
4574
|
production = production === VOID ? true : production;
|
|
4540
|
-
this.
|
|
4541
|
-
this.
|
|
4542
|
-
AppEnvironment_getInstance().
|
|
4575
|
+
this.adb_1 = loggerCallback;
|
|
4576
|
+
this.bdb_1 = randomOrgConfig;
|
|
4577
|
+
AppEnvironment_getInstance().k6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4543
4578
|
var tmp = this;
|
|
4544
|
-
tmp.
|
|
4579
|
+
tmp.cdb_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
|
|
4545
4580
|
var tmp_0 = this;
|
|
4546
|
-
tmp_0.
|
|
4581
|
+
tmp_0.ddb_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4547
4582
|
var tmp_1 = this;
|
|
4548
4583
|
// Inline function 'org.kodein.di.instance' call
|
|
4549
4584
|
var this_0 = _get_di__ndbzja(this);
|
|
4550
4585
|
// Inline function 'org.kodein.type.generic' call
|
|
4551
4586
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4552
4587
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4553
|
-
tmp_1.
|
|
4588
|
+
tmp_1.edb_1 = Instance(this_0, tmp$ret$0, null).m67(this, parser$factory());
|
|
4554
4589
|
var tmp_3 = this;
|
|
4555
4590
|
// Inline function 'org.kodein.di.instance' call
|
|
4556
4591
|
var this_1 = _get_di__ndbzja(this);
|
|
4557
4592
|
// Inline function 'org.kodein.type.generic' call
|
|
4558
4593
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4559
4594
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4560
|
-
tmp_3.
|
|
4595
|
+
tmp_3.fdb_1 = Instance(this_1, tmp$ret$2, null).m67(this, helper$factory());
|
|
4561
4596
|
var tmp_5 = this;
|
|
4562
4597
|
// Inline function 'org.kodein.di.instance' call
|
|
4563
4598
|
var this_2 = _get_di__ndbzja(this);
|
|
4564
4599
|
// Inline function 'org.kodein.type.generic' call
|
|
4565
4600
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4566
4601
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4567
|
-
tmp_5.
|
|
4602
|
+
tmp_5.gdb_1 = Instance(this_2, tmp$ret$4, null).m67(this, resources$factory());
|
|
4568
4603
|
var tmp_7 = this;
|
|
4569
4604
|
// Inline function 'org.kodein.di.instance' call
|
|
4570
4605
|
var this_3 = _get_di__ndbzja(this);
|
|
4571
4606
|
// Inline function 'org.kodein.type.generic' call
|
|
4572
4607
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4573
4608
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4574
|
-
tmp_7.
|
|
4609
|
+
tmp_7.hdb_1 = Instance(this_3, tmp$ret$6, null).m67(this, test$factory());
|
|
4575
4610
|
var tmp_9 = this;
|
|
4576
4611
|
// Inline function 'org.kodein.di.instance' call
|
|
4577
4612
|
var this_4 = _get_di__ndbzja(this);
|
|
4578
4613
|
// Inline function 'org.kodein.type.generic' call
|
|
4579
4614
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4580
4615
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4581
|
-
tmp_9.
|
|
4616
|
+
tmp_9.idb_1 = Instance(this_4, tmp$ret$8, null).m67(this, randomPoolProvider$factory());
|
|
4582
4617
|
}
|
|
4583
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4618
|
+
protoOf(GameServerEngineControllerImpl).scy = function () {
|
|
4584
4619
|
// Inline function 'kotlin.getValue' call
|
|
4585
|
-
var this_0 = this.
|
|
4620
|
+
var this_0 = this.edb_1;
|
|
4586
4621
|
parser$factory_0();
|
|
4587
4622
|
return this_0.u();
|
|
4588
4623
|
};
|
|
4589
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4624
|
+
protoOf(GameServerEngineControllerImpl).wda = function () {
|
|
4590
4625
|
// Inline function 'kotlin.getValue' call
|
|
4591
|
-
var this_0 = this.
|
|
4626
|
+
var this_0 = this.fdb_1;
|
|
4592
4627
|
helper$factory_0();
|
|
4593
4628
|
return this_0.u();
|
|
4594
4629
|
};
|
|
4595
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4630
|
+
protoOf(GameServerEngineControllerImpl).xda = function () {
|
|
4596
4631
|
// Inline function 'kotlin.getValue' call
|
|
4597
|
-
var this_0 = this.
|
|
4632
|
+
var this_0 = this.gdb_1;
|
|
4598
4633
|
resources$factory_0();
|
|
4599
4634
|
return this_0.u();
|
|
4600
4635
|
};
|
|
4601
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4636
|
+
protoOf(GameServerEngineControllerImpl).vda = function () {
|
|
4602
4637
|
// Inline function 'kotlin.getValue' call
|
|
4603
|
-
var this_0 = this.
|
|
4638
|
+
var this_0 = this.hdb_1;
|
|
4604
4639
|
test$factory_0();
|
|
4605
4640
|
return this_0.u();
|
|
4606
4641
|
};
|
|
4607
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4642
|
+
protoOf(GameServerEngineControllerImpl).yda = function () {
|
|
4608
4643
|
// Inline function 'kotlin.getValue' call
|
|
4609
|
-
var this_0 = this.
|
|
4644
|
+
var this_0 = this.idb_1;
|
|
4610
4645
|
randomPoolProvider$factory_0();
|
|
4611
4646
|
return this_0.u();
|
|
4612
4647
|
};
|
|
4613
4648
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
4614
|
-
Logger_getInstance().
|
|
4649
|
+
Logger_getInstance().cn_1 = enabled;
|
|
4615
4650
|
};
|
|
4616
4651
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4617
4652
|
return this.createGameEngineWithLogic();
|
|
4618
4653
|
};
|
|
4619
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4620
|
-
var combinedLogger = Companion_instance_6.
|
|
4654
|
+
protoOf(GameServerEngineControllerImpl).zda = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4655
|
+
var combinedLogger = Companion_instance_6.qm();
|
|
4621
4656
|
var tmp;
|
|
4622
4657
|
if (coreConfig.fileLogsEnabled) {
|
|
4623
4658
|
tmp = new FileLoggerOutputImpl();
|
|
@@ -4626,8 +4661,8 @@
|
|
|
4626
4661
|
}
|
|
4627
4662
|
var fileLoggerOutput = tmp;
|
|
4628
4663
|
var tmp_0;
|
|
4629
|
-
if (!(this.
|
|
4630
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4664
|
+
if (!(this.adb_1 == null)) {
|
|
4665
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.adb_1));
|
|
4631
4666
|
} else {
|
|
4632
4667
|
tmp_0 = null;
|
|
4633
4668
|
}
|
|
@@ -4663,20 +4698,20 @@
|
|
|
4663
4698
|
var tmp3_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
|
|
4664
4699
|
var di = createDI(this, combinedLogger, coreConfig, serverConfig, logicConfig, tmp0_botConfig, dealerConfig, tmp1_externalReducers, tmp2_externalMiddlewares, tmp3_externalModule);
|
|
4665
4700
|
// Inline function 'org.kodein.di.instance' call
|
|
4666
|
-
var tmp_1 = get_direct(di).
|
|
4701
|
+
var tmp_1 = get_direct(di).e63();
|
|
4667
4702
|
// Inline function 'org.kodein.type.generic' call
|
|
4668
4703
|
var tmp_2 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
|
|
4669
4704
|
var tmp$ret$7 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4670
|
-
var gameServer = tmp_1.
|
|
4705
|
+
var gameServer = tmp_1.d63(tmp$ret$7, null);
|
|
4671
4706
|
if (!(fileLoggerOutput == null)) {
|
|
4672
4707
|
var tmp_3 = fileLoggerOutput;
|
|
4673
|
-
tmp_3.
|
|
4674
|
-
combinedLogger.
|
|
4708
|
+
tmp_3.z9l_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4709
|
+
combinedLogger.sm(fileLoggerOutput);
|
|
4675
4710
|
}
|
|
4676
4711
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4677
4712
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4678
|
-
tmp_4.
|
|
4679
|
-
combinedLogger.
|
|
4713
|
+
tmp_4.x9k_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4714
|
+
combinedLogger.sm(callbackWrapperLoggerOutput);
|
|
4680
4715
|
}
|
|
4681
4716
|
return gameServer;
|
|
4682
4717
|
};
|
|
@@ -4785,13 +4820,13 @@
|
|
|
4785
4820
|
}
|
|
4786
4821
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
4787
4822
|
// Inline function 'kotlin.getValue' call
|
|
4788
|
-
var this_0 = $this.
|
|
4823
|
+
var this_0 = $this.mdb_1;
|
|
4789
4824
|
playerAnswerInteractor$factory_0();
|
|
4790
4825
|
return this_0.u();
|
|
4791
4826
|
}
|
|
4792
4827
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
4793
4828
|
return function ($this$singleton) {
|
|
4794
|
-
return this$0.
|
|
4829
|
+
return this$0.kdb_1;
|
|
4795
4830
|
};
|
|
4796
4831
|
}
|
|
4797
4832
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -4800,19 +4835,19 @@
|
|
|
4800
4835
|
// Inline function 'org.kodein.type.generic' call
|
|
4801
4836
|
var tmp = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4802
4837
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4803
|
-
var tmp_0 = $this$DI.
|
|
4838
|
+
var tmp_0 = $this$DI.r61(tmp$ret$0, null, null);
|
|
4804
4839
|
// Inline function 'org.kodein.di.singleton' call
|
|
4805
4840
|
var creator = TestHelperImpl$di$lambda$lambda(this$0);
|
|
4806
|
-
var tmp_1 = $this$DI.
|
|
4807
|
-
var tmp_2 = $this$DI.
|
|
4808
|
-
var tmp_3 = $this$DI.
|
|
4841
|
+
var tmp_1 = $this$DI.w61();
|
|
4842
|
+
var tmp_2 = $this$DI.u61();
|
|
4843
|
+
var tmp_3 = $this$DI.v61();
|
|
4809
4844
|
// Inline function 'org.kodein.type.generic' call
|
|
4810
4845
|
var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
4811
4846
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4812
4847
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
4813
|
-
tmp_0.
|
|
4814
|
-
$this$DI.
|
|
4815
|
-
$this$DI.
|
|
4848
|
+
tmp_0.p65(tmp$ret$3);
|
|
4849
|
+
$this$DI.t61(jsonModule(emptyList()));
|
|
4850
|
+
$this$DI.t61(get_botGameModule());
|
|
4816
4851
|
return Unit_instance;
|
|
4817
4852
|
};
|
|
4818
4853
|
}
|
|
@@ -4820,20 +4855,20 @@
|
|
|
4820
4855
|
return emptyMap();
|
|
4821
4856
|
}
|
|
4822
4857
|
function TestHelperImpl(logger) {
|
|
4823
|
-
this.
|
|
4858
|
+
this.kdb_1 = logger;
|
|
4824
4859
|
var tmp = this;
|
|
4825
4860
|
var tmp_0 = Companion_instance_3;
|
|
4826
|
-
tmp.
|
|
4861
|
+
tmp.ldb_1 = tmp_0.a62(VOID, TestHelperImpl$di$lambda(this));
|
|
4827
4862
|
var tmp_1 = this;
|
|
4828
4863
|
// Inline function 'org.kodein.di.instance' call
|
|
4829
|
-
var this_0 = this.
|
|
4864
|
+
var this_0 = this.ldb_1;
|
|
4830
4865
|
// Inline function 'org.kodein.type.generic' call
|
|
4831
4866
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
4832
4867
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4833
|
-
tmp_1.
|
|
4868
|
+
tmp_1.mdb_1 = Instance(this_0, tmp$ret$0, null).m67(this, playerAnswerInteractor$factory());
|
|
4834
4869
|
}
|
|
4835
4870
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
4836
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
4871
|
+
return _get_playerAnswerInteractor__msggz1(this).h8x(playerId, table, botConfig);
|
|
4837
4872
|
};
|
|
4838
4873
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
4839
4874
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -4841,7 +4876,7 @@
|
|
|
4841
4876
|
var tmp$ret$0;
|
|
4842
4877
|
$l$block_0: {
|
|
4843
4878
|
// Inline function 'kotlin.collections.any' call
|
|
4844
|
-
var this_0 = mechanicAction.
|
|
4879
|
+
var this_0 = mechanicAction.q97();
|
|
4845
4880
|
var tmp;
|
|
4846
4881
|
if (isInterface(this_0, Collection)) {
|
|
4847
4882
|
tmp = this_0.p();
|
|
@@ -4874,7 +4909,7 @@
|
|
|
4874
4909
|
var tmp$ret$0;
|
|
4875
4910
|
$l$block_0: {
|
|
4876
4911
|
// Inline function 'kotlin.collections.any' call
|
|
4877
|
-
var this_0 = action.
|
|
4912
|
+
var this_0 = action.q97();
|
|
4878
4913
|
var tmp;
|
|
4879
4914
|
if (isInterface(this_0, Collection)) {
|
|
4880
4915
|
tmp = this_0.p();
|
|
@@ -4920,77 +4955,77 @@
|
|
|
4920
4955
|
// Inline function 'org.kodein.type.generic' call
|
|
4921
4956
|
var tmp = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4922
4957
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4923
|
-
var tmp_0 = $this$Module.
|
|
4958
|
+
var tmp_0 = $this$Module.r61(tmp$ret$0, null, null);
|
|
4924
4959
|
// Inline function 'org.kodein.di.singleton' call
|
|
4925
4960
|
var creator = serverHelpersModule$lambda$lambda;
|
|
4926
|
-
var tmp_1 = $this$Module.
|
|
4927
|
-
var tmp_2 = $this$Module.
|
|
4928
|
-
var tmp_3 = $this$Module.
|
|
4961
|
+
var tmp_1 = $this$Module.w61();
|
|
4962
|
+
var tmp_2 = $this$Module.u61();
|
|
4963
|
+
var tmp_3 = $this$Module.v61();
|
|
4929
4964
|
// Inline function 'org.kodein.type.generic' call
|
|
4930
4965
|
var tmp_4 = typeToken(createKType(getKClass(ParserHelperImpl), arrayOf([]), false));
|
|
4931
4966
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4932
4967
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
4933
|
-
tmp_0.
|
|
4968
|
+
tmp_0.p65(tmp$ret$3);
|
|
4934
4969
|
// Inline function 'org.kodein.di.bind' call
|
|
4935
4970
|
// Inline function 'org.kodein.type.generic' call
|
|
4936
4971
|
var tmp_5 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4937
4972
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4938
|
-
var tmp_6 = $this$Module.
|
|
4973
|
+
var tmp_6 = $this$Module.r61(tmp$ret$4, null, null);
|
|
4939
4974
|
// Inline function 'org.kodein.di.singleton' call
|
|
4940
4975
|
var creator_0 = serverHelpersModule$lambda$lambda_0;
|
|
4941
|
-
var tmp_7 = $this$Module.
|
|
4942
|
-
var tmp_8 = $this$Module.
|
|
4943
|
-
var tmp_9 = $this$Module.
|
|
4976
|
+
var tmp_7 = $this$Module.w61();
|
|
4977
|
+
var tmp_8 = $this$Module.u61();
|
|
4978
|
+
var tmp_9 = $this$Module.v61();
|
|
4944
4979
|
// Inline function 'org.kodein.type.generic' call
|
|
4945
4980
|
var tmp_10 = typeToken(createKType(getKClass(GameHelperImpl), arrayOf([]), false));
|
|
4946
4981
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4947
4982
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
4948
|
-
tmp_6.
|
|
4983
|
+
tmp_6.p65(tmp$ret$7);
|
|
4949
4984
|
// Inline function 'org.kodein.di.bind' call
|
|
4950
4985
|
// Inline function 'org.kodein.type.generic' call
|
|
4951
4986
|
var tmp_11 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4952
4987
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
4953
|
-
var tmp_12 = $this$Module.
|
|
4988
|
+
var tmp_12 = $this$Module.r61(tmp$ret$8, null, null);
|
|
4954
4989
|
// Inline function 'org.kodein.di.singleton' call
|
|
4955
4990
|
var creator_1 = serverHelpersModule$lambda$lambda_1;
|
|
4956
|
-
var tmp_13 = $this$Module.
|
|
4957
|
-
var tmp_14 = $this$Module.
|
|
4958
|
-
var tmp_15 = $this$Module.
|
|
4991
|
+
var tmp_13 = $this$Module.w61();
|
|
4992
|
+
var tmp_14 = $this$Module.u61();
|
|
4993
|
+
var tmp_15 = $this$Module.v61();
|
|
4959
4994
|
// Inline function 'org.kodein.type.generic' call
|
|
4960
4995
|
var tmp_16 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
|
|
4961
4996
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4962
4997
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
4963
|
-
tmp_12.
|
|
4998
|
+
tmp_12.p65(tmp$ret$11);
|
|
4964
4999
|
// Inline function 'org.kodein.di.bind' call
|
|
4965
5000
|
// Inline function 'org.kodein.type.generic' call
|
|
4966
5001
|
var tmp_17 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4967
5002
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4968
|
-
var tmp_18 = $this$Module.
|
|
5003
|
+
var tmp_18 = $this$Module.r61(tmp$ret$12, null, null);
|
|
4969
5004
|
// Inline function 'org.kodein.di.singleton' call
|
|
4970
5005
|
var creator_2 = serverHelpersModule$lambda$lambda_2;
|
|
4971
|
-
var tmp_19 = $this$Module.
|
|
4972
|
-
var tmp_20 = $this$Module.
|
|
4973
|
-
var tmp_21 = $this$Module.
|
|
5006
|
+
var tmp_19 = $this$Module.w61();
|
|
5007
|
+
var tmp_20 = $this$Module.u61();
|
|
5008
|
+
var tmp_21 = $this$Module.v61();
|
|
4974
5009
|
// Inline function 'org.kodein.type.generic' call
|
|
4975
5010
|
var tmp_22 = typeToken(createKType(getKClass(GameResourcesImpl), arrayOf([]), false));
|
|
4976
5011
|
var tmp$ret$14 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
4977
5012
|
var tmp$ret$15 = new Singleton(tmp_19, tmp_20, tmp_21, tmp$ret$14, null, true, creator_2);
|
|
4978
|
-
tmp_18.
|
|
5013
|
+
tmp_18.p65(tmp$ret$15);
|
|
4979
5014
|
return Unit_instance;
|
|
4980
5015
|
}
|
|
4981
5016
|
function serverHelpersModule$lambda$lambda($this$singleton) {
|
|
4982
5017
|
// Inline function 'org.kodein.di.instance' call
|
|
4983
|
-
var tmp = $this$singleton.
|
|
5018
|
+
var tmp = $this$singleton.e63();
|
|
4984
5019
|
// Inline function 'org.kodein.type.generic' call
|
|
4985
5020
|
var tmp_0 = typeToken(createKType(getKClass(Json), arrayOf([]), false));
|
|
4986
5021
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4987
|
-
var tmp_1 = tmp.
|
|
5022
|
+
var tmp_1 = tmp.d63(tmp$ret$0, null);
|
|
4988
5023
|
// Inline function 'org.kodein.di.instance' call
|
|
4989
|
-
var tmp_2 = $this$singleton.
|
|
5024
|
+
var tmp_2 = $this$singleton.e63();
|
|
4990
5025
|
// Inline function 'org.kodein.type.generic' call
|
|
4991
5026
|
var tmp_3 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
|
|
4992
5027
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
4993
|
-
var tmp$ret$3 = tmp_2.
|
|
5028
|
+
var tmp$ret$3 = tmp_2.d63(tmp$ret$2, null);
|
|
4994
5029
|
return new ParserHelperImpl(tmp_1, tmp$ret$3);
|
|
4995
5030
|
}
|
|
4996
5031
|
function serverHelpersModule$lambda$lambda_0($this$singleton) {
|
|
@@ -4998,11 +5033,11 @@
|
|
|
4998
5033
|
}
|
|
4999
5034
|
function serverHelpersModule$lambda$lambda_1($this$singleton) {
|
|
5000
5035
|
// Inline function 'org.kodein.di.instance' call
|
|
5001
|
-
var tmp = $this$singleton.
|
|
5036
|
+
var tmp = $this$singleton.e63();
|
|
5002
5037
|
// Inline function 'org.kodein.type.generic' call
|
|
5003
5038
|
var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
5004
5039
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5005
|
-
var tmp$ret$1 = tmp.
|
|
5040
|
+
var tmp$ret$1 = tmp.d63(tmp$ret$0, null);
|
|
5006
5041
|
return new TestHelperImpl(tmp$ret$1);
|
|
5007
5042
|
}
|
|
5008
5043
|
function serverHelpersModule$lambda$lambda_2($this$singleton) {
|
|
@@ -5011,46 +5046,47 @@
|
|
|
5011
5046
|
//region block: post-declaration
|
|
5012
5047
|
protoOf(GameServer).roomOnCreate = roomOnCreate;
|
|
5013
5048
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
5049
|
+
protoOf(GameServer).shutdown = shutdown;
|
|
5014
5050
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
5015
|
-
return this.
|
|
5051
|
+
return this.w5o();
|
|
5016
5052
|
});
|
|
5017
5053
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
5018
|
-
return this.
|
|
5054
|
+
return this.e6x();
|
|
5019
5055
|
});
|
|
5020
5056
|
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
5021
|
-
return this.
|
|
5057
|
+
return this.f6x();
|
|
5022
5058
|
});
|
|
5023
5059
|
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
5024
|
-
return this.
|
|
5060
|
+
return this.g6x();
|
|
5025
5061
|
});
|
|
5026
|
-
protoOf(UpdateServerConfigAction).
|
|
5062
|
+
protoOf(UpdateServerConfigAction).o6n = get_actionTag;
|
|
5027
5063
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
5028
|
-
return this.
|
|
5064
|
+
return this.o6n();
|
|
5029
5065
|
});
|
|
5030
|
-
protoOf(AddSpectatorsAction).
|
|
5066
|
+
protoOf(AddSpectatorsAction).o6n = get_actionTag;
|
|
5031
5067
|
defineProp(protoOf(AddSpectatorsAction), 'actionTag', function () {
|
|
5032
|
-
return this.
|
|
5068
|
+
return this.o6n();
|
|
5033
5069
|
});
|
|
5034
|
-
protoOf(RemoveSpectatorsAction).
|
|
5070
|
+
protoOf(RemoveSpectatorsAction).o6n = get_actionTag;
|
|
5035
5071
|
defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
|
|
5036
|
-
return this.
|
|
5072
|
+
return this.o6n();
|
|
5037
5073
|
});
|
|
5038
5074
|
protoOf(GameResourcesImpl).createBotUser = createBotUser;
|
|
5039
5075
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5040
5076
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5041
|
-
return this.
|
|
5077
|
+
return this.scy();
|
|
5042
5078
|
});
|
|
5043
5079
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5044
|
-
return this.
|
|
5080
|
+
return this.wda();
|
|
5045
5081
|
});
|
|
5046
5082
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5047
|
-
return this.
|
|
5083
|
+
return this.xda();
|
|
5048
5084
|
});
|
|
5049
5085
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5050
|
-
return this.
|
|
5086
|
+
return this.vda();
|
|
5051
5087
|
});
|
|
5052
5088
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5053
|
-
return this.
|
|
5089
|
+
return this.yda();
|
|
5054
5090
|
});
|
|
5055
5091
|
//endregion
|
|
5056
5092
|
//region block: init
|