raspberry_games_server_game_logic 1.8.403 → 1.8.405
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 +13 -13
- package/Kosi-Kodein-kodein-di.js +35 -35
- package/Kotlin-DateTime-library-kotlinx-datetime.js +89 -89
- package/Logic_Debertz-ai_module.js +34 -34
- package/Logic_Debertz-core.js +56 -56
- package/Logic_Debertz-engine.js +14145 -13226
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +4 -2
- package/Logic_Debertz-game_server.js +985 -967
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +276 -269
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +79 -79
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +30 -30
- package/kotlinx-serialization-kotlinx-serialization-core.js +77 -77
- package/kotlinx-serialization-kotlinx-serialization-json.js +89 -89
- package/ktor-ktor-client-content-negotiation.js +22 -22
- package/ktor-ktor-client-core.js +64 -64
- package/ktor-ktor-client-logging.js +23 -23
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +70 -70
- package/ktor-ktor-io.js +50 -50
- package/ktor-ktor-serialization-kotlinx.js +15 -15
- package/ktor-ktor-serialization.js +15 -15
- package/ktor-ktor-utils.js +45 -45
- package/ktor-ktor-websockets.js +13 -13
- package/package.json +1 -1
- package/random-library-crypto-rand.js +11 -11
- package/random-library-secure-random.js +5 -5
- package/raspberry-cardgame-lib-core.js +34 -34
- package/raspberry-cardgame-lib-logger.js +12 -12
- package/raspberry-cardgame-lib-random.js +39 -39
- package/uuid.js +12 -12
|
@@ -43,51 +43,51 @@
|
|
|
43
43
|
'use strict';
|
|
44
44
|
//region block: imports
|
|
45
45
|
var imul = Math.imul;
|
|
46
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
46
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ra;
|
|
47
47
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
48
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
49
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
48
|
+
var protoOf = kotlin_kotlin.$_$.ld;
|
|
49
|
+
var THROW_CCE = kotlin_kotlin.$_$.oh;
|
|
50
50
|
var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g1;
|
|
51
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
51
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.pc;
|
|
52
52
|
var VOID = kotlin_kotlin.$_$.b;
|
|
53
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
54
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
55
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
53
|
+
var isInterface = kotlin_kotlin.$_$.zc;
|
|
54
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ca;
|
|
55
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.nc;
|
|
56
56
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
57
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
57
|
+
var initMetadataForClass = kotlin_kotlin.$_$.lc;
|
|
58
58
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
59
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
59
|
+
var fromInt = kotlin_kotlin.$_$.gb;
|
|
60
60
|
var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
|
|
61
61
|
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
62
|
-
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
63
|
-
var to = kotlin_kotlin.$_$.
|
|
64
|
-
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
65
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
62
|
+
var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
|
|
63
|
+
var to = kotlin_kotlin.$_$.ti;
|
|
64
|
+
var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
|
|
65
|
+
var defineProp = kotlin_kotlin.$_$.dc;
|
|
66
66
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
67
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
68
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
67
|
+
var KProperty1 = kotlin_kotlin.$_$.ke;
|
|
68
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.ic;
|
|
69
69
|
var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
70
70
|
var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
71
71
|
var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
72
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
73
|
-
var equals = kotlin_kotlin.$_$.
|
|
74
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
75
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
72
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.mc;
|
|
73
|
+
var equals = kotlin_kotlin.$_$.ec;
|
|
74
|
+
var FunctionAdapter = kotlin_kotlin.$_$.rb;
|
|
75
|
+
var hashCode = kotlin_kotlin.$_$.kc;
|
|
76
76
|
var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
|
|
77
77
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
78
78
|
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
79
79
|
var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
|
|
80
80
|
var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
|
|
81
81
|
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u3;
|
|
82
|
-
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
83
|
-
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
84
|
-
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
82
|
+
var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c3;
|
|
83
|
+
var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
|
|
84
|
+
var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
|
|
85
85
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t3;
|
|
86
86
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
|
|
87
87
|
var PlayerConnectionState_LEFT_PERMANENTLY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
|
|
88
|
-
var toList = kotlin_kotlin.$_$.
|
|
89
|
-
var toString = kotlin_kotlin.$_$.
|
|
90
|
-
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
88
|
+
var toList = kotlin_kotlin.$_$.o9;
|
|
89
|
+
var toString = kotlin_kotlin.$_$.od;
|
|
90
|
+
var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.p4;
|
|
91
91
|
var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
|
|
92
92
|
var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
|
|
93
93
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i6;
|
|
@@ -95,82 +95,82 @@
|
|
|
95
95
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
|
|
96
96
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
97
97
|
var firstOrNull = kotlin_kotlin.$_$.h7;
|
|
98
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
98
|
+
var toMutableList = kotlin_kotlin.$_$.r9;
|
|
99
99
|
var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
100
100
|
var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.a5;
|
|
101
101
|
var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
102
102
|
var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y2;
|
|
103
|
-
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
103
|
+
var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
104
104
|
var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.l1;
|
|
105
|
-
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
106
|
-
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
107
|
-
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
108
|
-
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
105
|
+
var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
|
|
106
|
+
var get_isCreating = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
|
|
107
|
+
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
|
|
108
|
+
var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
|
|
109
109
|
var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
110
|
-
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
111
|
-
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
112
|
-
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
113
|
-
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
110
|
+
var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
|
|
111
|
+
var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.i2;
|
|
112
|
+
var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g2;
|
|
113
|
+
var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b3;
|
|
114
114
|
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
|
|
115
115
|
var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c4;
|
|
116
116
|
var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
|
|
117
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
118
|
-
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
117
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.mi;
|
|
118
|
+
var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
|
|
119
119
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
120
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
121
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
122
|
-
var createKType = kotlin_kotlin.$_$.
|
|
120
|
+
var getKClass = kotlin_kotlin.$_$.ge;
|
|
121
|
+
var arrayOf = kotlin_kotlin.$_$.ci;
|
|
122
|
+
var createKType = kotlin_kotlin.$_$.ee;
|
|
123
123
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
124
124
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
125
125
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
126
126
|
var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
|
|
127
127
|
var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.z;
|
|
128
128
|
var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.r;
|
|
129
|
-
var lazy = kotlin_kotlin.$_$.
|
|
129
|
+
var lazy = kotlin_kotlin.$_$.li;
|
|
130
130
|
var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
131
131
|
var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.g;
|
|
132
132
|
var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
|
|
133
|
-
var plus = kotlin_kotlin.$_$.
|
|
134
|
-
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
135
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
133
|
+
var plus = kotlin_kotlin.$_$.r8;
|
|
134
|
+
var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
|
|
135
|
+
var toString_0 = kotlin_kotlin.$_$.si;
|
|
136
136
|
var mapOf = kotlin_kotlin.$_$.j8;
|
|
137
|
-
var Enum = kotlin_kotlin.$_$.
|
|
138
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
137
|
+
var Enum = kotlin_kotlin.$_$.eh;
|
|
138
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.gc;
|
|
139
139
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
140
140
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
141
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
141
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.oc;
|
|
142
142
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
143
143
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
144
144
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
145
145
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
146
146
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
147
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
147
|
+
var initMetadataForObject = kotlin_kotlin.$_$.qc;
|
|
148
148
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
149
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
150
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
149
|
+
var objectCreate = kotlin_kotlin.$_$.kd;
|
|
150
|
+
var getStringHashCode = kotlin_kotlin.$_$.jc;
|
|
151
151
|
var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
|
|
152
152
|
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l;
|
|
153
153
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
154
154
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
155
|
-
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
155
|
+
var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
|
|
156
156
|
var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
|
|
157
|
-
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
157
|
+
var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
|
|
158
158
|
var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
|
|
159
159
|
var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.u;
|
|
160
160
|
var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
|
|
161
|
-
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
161
|
+
var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
|
|
162
162
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
163
163
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
164
|
-
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
165
|
-
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
166
|
-
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
164
|
+
var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
|
|
165
|
+
var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
|
|
166
|
+
var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
|
|
167
167
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
168
168
|
var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
169
|
-
var single = kotlin_kotlin.$_$.
|
|
169
|
+
var single = kotlin_kotlin.$_$.d9;
|
|
170
170
|
var copyToArray = kotlin_kotlin.$_$.y6;
|
|
171
171
|
var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
|
|
172
172
|
var KtList = kotlin_kotlin.$_$.n5;
|
|
173
|
-
var Long = kotlin_kotlin.$_$.
|
|
173
|
+
var Long = kotlin_kotlin.$_$.jh;
|
|
174
174
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
175
175
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
|
|
176
176
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
@@ -179,11 +179,11 @@
|
|
|
179
179
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
180
180
|
var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
|
|
181
181
|
var ServerLoggerKey = kotlin_io_raspberryapps_game_engine_core.$_$.r2;
|
|
182
|
-
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
183
|
-
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
184
|
-
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
185
|
-
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
186
|
-
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
182
|
+
var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
|
|
183
|
+
var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.h3;
|
|
184
|
+
var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.d3;
|
|
185
|
+
var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f3;
|
|
186
|
+
var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e3;
|
|
187
187
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.m1;
|
|
188
188
|
var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
|
|
189
189
|
var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.o;
|
|
@@ -191,91 +191,93 @@
|
|
|
191
191
|
var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.n;
|
|
192
192
|
var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.v;
|
|
193
193
|
var listOf = kotlin_kotlin.$_$.g8;
|
|
194
|
-
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
195
|
-
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
194
|
+
var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
|
|
195
|
+
var FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
|
|
196
196
|
var listOfNotNull = kotlin_kotlin.$_$.d8;
|
|
197
|
-
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
198
|
-
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
197
|
+
var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
|
|
198
|
+
var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
199
199
|
var listOfNotNull_0 = kotlin_kotlin.$_$.e8;
|
|
200
|
-
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
201
|
-
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
202
|
-
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
200
|
+
var sendFromClientEventsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
|
|
201
|
+
var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
202
|
+
var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
203
203
|
var listOf_0 = kotlin_kotlin.$_$.f8;
|
|
204
|
-
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
205
|
-
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
206
|
-
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
207
|
-
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
204
|
+
var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.q3;
|
|
205
|
+
var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.j3;
|
|
206
|
+
var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
|
|
207
|
+
var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c2;
|
|
208
208
|
var Reason_REVENGED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
|
|
209
|
-
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
209
|
+
var RoomMode_REVENGE_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.l4;
|
|
210
210
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
211
|
-
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
211
|
+
var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j2;
|
|
212
212
|
var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
|
|
213
|
-
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
214
|
-
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
213
|
+
var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.r1;
|
|
214
|
+
var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n2;
|
|
215
215
|
var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.h;
|
|
216
|
-
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
217
|
-
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
218
|
-
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
219
|
-
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
220
|
-
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
221
|
-
var
|
|
222
|
-
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
223
|
-
var
|
|
224
|
-
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
225
|
-
var
|
|
226
|
-
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
227
|
-
var
|
|
228
|
-
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
229
|
-
var
|
|
230
|
-
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
231
|
-
var
|
|
216
|
+
var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.w1;
|
|
217
|
+
var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k2;
|
|
218
|
+
var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.p1;
|
|
219
|
+
var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
|
|
220
|
+
var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.o1;
|
|
221
|
+
var TakeAllRemainingCardsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w2;
|
|
222
|
+
var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.m1;
|
|
223
|
+
var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m2;
|
|
224
|
+
var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.u1;
|
|
225
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p2;
|
|
226
|
+
var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.i1;
|
|
227
|
+
var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d2;
|
|
228
|
+
var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.x1;
|
|
229
|
+
var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
|
|
230
|
+
var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
|
|
231
|
+
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
|
|
232
|
+
var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.a2;
|
|
233
|
+
var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
|
|
232
234
|
var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
|
|
233
|
-
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
234
|
-
var
|
|
235
|
-
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
236
|
-
var
|
|
237
|
-
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
238
|
-
var
|
|
239
|
-
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
240
|
-
var
|
|
241
|
-
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
242
|
-
var
|
|
243
|
-
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
244
|
-
var
|
|
245
|
-
var
|
|
246
|
-
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
247
|
-
var
|
|
248
|
-
var
|
|
249
|
-
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
250
|
-
var
|
|
235
|
+
var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.n4;
|
|
236
|
+
var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.y1;
|
|
237
|
+
var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
|
|
238
|
+
var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.v1;
|
|
239
|
+
var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r2;
|
|
240
|
+
var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.z1;
|
|
241
|
+
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s2;
|
|
242
|
+
var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.s1;
|
|
243
|
+
var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f2;
|
|
244
|
+
var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.k1;
|
|
245
|
+
var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q2;
|
|
246
|
+
var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.q1;
|
|
247
|
+
var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.t1;
|
|
248
|
+
var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h2;
|
|
249
|
+
var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.l1;
|
|
250
|
+
var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.n1;
|
|
251
|
+
var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
|
|
252
|
+
var mapToClient_18 = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
|
|
251
253
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
252
254
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.p4;
|
|
253
255
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.n4;
|
|
254
256
|
var Companion_getInstance = kotlin_kotlin.$_$.v4;
|
|
255
257
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
256
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
257
|
-
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
258
|
-
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
259
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
258
|
+
var toDuration = kotlin_kotlin.$_$.wg;
|
|
259
|
+
var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
|
|
260
|
+
var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
|
|
261
|
+
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
260
262
|
var Collection = kotlin_kotlin.$_$.h5;
|
|
261
|
-
var toSet = kotlin_kotlin.$_$.
|
|
263
|
+
var toSet = kotlin_kotlin.$_$.u9;
|
|
262
264
|
var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
|
|
263
|
-
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
265
|
+
var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
|
|
264
266
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
265
|
-
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
267
|
+
var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.r4;
|
|
266
268
|
var RatingConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
|
|
267
269
|
var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.g1;
|
|
268
270
|
var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
|
|
269
|
-
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
271
|
+
var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
|
|
270
272
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
|
|
271
|
-
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
273
|
+
var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
|
|
272
274
|
var Companion_instance_4 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
273
275
|
var mutableListOf = kotlin_kotlin.$_$.m8;
|
|
274
276
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
275
277
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
276
278
|
var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
277
|
-
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
278
|
-
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
279
|
+
var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
|
|
280
|
+
var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.q4;
|
|
279
281
|
var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.m;
|
|
280
282
|
var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
281
283
|
var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
@@ -288,7 +290,7 @@
|
|
|
288
290
|
var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
|
|
289
291
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
290
292
|
var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
|
|
291
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
293
|
+
var toList_0 = kotlin_kotlin.$_$.n9;
|
|
292
294
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
293
295
|
var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
|
|
294
296
|
var botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
|
|
@@ -296,7 +298,7 @@
|
|
|
296
298
|
var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
|
|
297
299
|
var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
|
|
298
300
|
var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.h1;
|
|
299
|
-
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.
|
|
301
|
+
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l2;
|
|
300
302
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
301
303
|
var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
|
|
302
304
|
var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
|
|
@@ -365,10 +367,10 @@
|
|
|
365
367
|
spectators = tmp;
|
|
366
368
|
var tmp_0;
|
|
367
369
|
if ($super === VOID) {
|
|
368
|
-
this.
|
|
370
|
+
this.ia5(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
369
371
|
tmp_0 = Unit_instance;
|
|
370
372
|
} else {
|
|
371
|
-
tmp_0 = $super.
|
|
373
|
+
tmp_0 = $super.ia5.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
372
374
|
}
|
|
373
375
|
return tmp_0;
|
|
374
376
|
}
|
|
@@ -376,10 +378,10 @@
|
|
|
376
378
|
newRid = newRid === VOID ? null : newRid;
|
|
377
379
|
var tmp;
|
|
378
380
|
if ($super === VOID) {
|
|
379
|
-
this.
|
|
381
|
+
this.ja5(newRid);
|
|
380
382
|
tmp = Unit_instance;
|
|
381
383
|
} else {
|
|
382
|
-
tmp = $super.
|
|
384
|
+
tmp = $super.ja5.call(this, newRid);
|
|
383
385
|
}
|
|
384
386
|
return tmp;
|
|
385
387
|
}
|
|
@@ -387,10 +389,10 @@
|
|
|
387
389
|
permanently = permanently === VOID ? true : permanently;
|
|
388
390
|
var tmp;
|
|
389
391
|
if ($super === VOID) {
|
|
390
|
-
this.
|
|
392
|
+
this.ha5(playerId, permanently);
|
|
391
393
|
tmp = Unit_instance;
|
|
392
394
|
} else {
|
|
393
|
-
tmp = $super.
|
|
395
|
+
tmp = $super.ha5.call(this, playerId, permanently);
|
|
394
396
|
}
|
|
395
397
|
return tmp;
|
|
396
398
|
}
|
|
@@ -398,10 +400,10 @@
|
|
|
398
400
|
roomId = roomId === VOID ? null : roomId;
|
|
399
401
|
var tmp;
|
|
400
402
|
if ($super === VOID) {
|
|
401
|
-
this.
|
|
403
|
+
this.ka5(reason, roomId);
|
|
402
404
|
tmp = Unit_instance;
|
|
403
405
|
} else {
|
|
404
|
-
tmp = $super.
|
|
406
|
+
tmp = $super.ka5.call(this, reason, roomId);
|
|
405
407
|
}
|
|
406
408
|
return tmp;
|
|
407
409
|
}
|
|
@@ -468,7 +470,7 @@
|
|
|
468
470
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
469
471
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
470
472
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
471
|
-
return $super === VOID ? this.
|
|
473
|
+
return $super === VOID ? this.eaa(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.eaa.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
472
474
|
}
|
|
473
475
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
474
476
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -481,17 +483,17 @@
|
|
|
481
483
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
482
484
|
//endregion
|
|
483
485
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
484
|
-
this.
|
|
486
|
+
this.u9n_1 = $subscriber;
|
|
485
487
|
CoroutineImpl.call(this, resultContinuation);
|
|
486
488
|
}
|
|
487
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
488
|
-
var tmp = this.
|
|
489
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9n = function (it, $completion) {
|
|
490
|
+
var tmp = this.x9n(it, $completion);
|
|
489
491
|
tmp.u8_1 = Unit_instance;
|
|
490
492
|
tmp.v8_1 = null;
|
|
491
493
|
return tmp.a9();
|
|
492
494
|
};
|
|
493
495
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
494
|
-
return this.
|
|
496
|
+
return this.w9n(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
495
497
|
};
|
|
496
498
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
497
499
|
var suspendResult = this.u8_1;
|
|
@@ -500,7 +502,7 @@
|
|
|
500
502
|
var tmp = this.s8_1;
|
|
501
503
|
if (tmp === 0) {
|
|
502
504
|
this.t8_1 = 1;
|
|
503
|
-
this.
|
|
505
|
+
this.u9n_1(this.v9n_1);
|
|
504
506
|
return Unit_instance;
|
|
505
507
|
} else if (tmp === 1) {
|
|
506
508
|
throw this.v8_1;
|
|
@@ -511,31 +513,31 @@
|
|
|
511
513
|
}
|
|
512
514
|
while (true);
|
|
513
515
|
};
|
|
514
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
515
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
516
|
-
i.
|
|
516
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).x9n = function (it, completion) {
|
|
517
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.u9n_1, completion);
|
|
518
|
+
i.v9n_1 = it;
|
|
517
519
|
return i;
|
|
518
520
|
};
|
|
519
521
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
520
522
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
521
523
|
var l = function (it, $completion) {
|
|
522
|
-
return i.
|
|
524
|
+
return i.w9n(it, $completion);
|
|
523
525
|
};
|
|
524
526
|
l.$arity = 1;
|
|
525
527
|
return l;
|
|
526
528
|
}
|
|
527
529
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
528
|
-
this.
|
|
530
|
+
this.g9o_1 = $subscriber;
|
|
529
531
|
CoroutineImpl.call(this, resultContinuation);
|
|
530
532
|
}
|
|
531
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
532
|
-
var tmp = this.
|
|
533
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9o = function (it, $completion) {
|
|
534
|
+
var tmp = this.j9o(it, $completion);
|
|
533
535
|
tmp.u8_1 = Unit_instance;
|
|
534
536
|
tmp.v8_1 = null;
|
|
535
537
|
return tmp.a9();
|
|
536
538
|
};
|
|
537
539
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
538
|
-
return this.
|
|
540
|
+
return this.i9o((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
539
541
|
};
|
|
540
542
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
541
543
|
var suspendResult = this.u8_1;
|
|
@@ -544,7 +546,7 @@
|
|
|
544
546
|
var tmp = this.s8_1;
|
|
545
547
|
if (tmp === 0) {
|
|
546
548
|
this.t8_1 = 1;
|
|
547
|
-
this.
|
|
549
|
+
this.g9o_1(this.h9o_1);
|
|
548
550
|
return Unit_instance;
|
|
549
551
|
} else if (tmp === 1) {
|
|
550
552
|
throw this.v8_1;
|
|
@@ -555,22 +557,22 @@
|
|
|
555
557
|
}
|
|
556
558
|
while (true);
|
|
557
559
|
};
|
|
558
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
559
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
560
|
-
i.
|
|
560
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).j9o = function (it, completion) {
|
|
561
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.g9o_1, completion);
|
|
562
|
+
i.h9o_1 = it;
|
|
561
563
|
return i;
|
|
562
564
|
};
|
|
563
565
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
564
566
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
565
567
|
var l = function (it, $completion) {
|
|
566
|
-
return i.
|
|
568
|
+
return i.i9o(it, $completion);
|
|
567
569
|
};
|
|
568
570
|
l.$arity = 1;
|
|
569
571
|
return l;
|
|
570
572
|
}
|
|
571
573
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
574
|
+
this.s9o_1 = $$this$unsafeFlow;
|
|
575
|
+
this.t9o_1 = this$0;
|
|
574
576
|
CoroutineImpl.call(this, resultContinuation);
|
|
575
577
|
}
|
|
576
578
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -590,10 +592,10 @@
|
|
|
590
592
|
switch (tmp) {
|
|
591
593
|
case 0:
|
|
592
594
|
this.t8_1 = 2;
|
|
593
|
-
var tmp0 = this.
|
|
594
|
-
var value = this.
|
|
595
|
+
var tmp0 = this.s9o_1;
|
|
596
|
+
var value = this.u9o_1;
|
|
595
597
|
this.s8_1 = 1;
|
|
596
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
598
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.t9o_1)), this);
|
|
597
599
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
598
600
|
return suspendResult;
|
|
599
601
|
}
|
|
@@ -616,8 +618,8 @@
|
|
|
616
618
|
while (true);
|
|
617
619
|
};
|
|
618
620
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
619
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
620
|
-
i.
|
|
621
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.s9o_1, this.t9o_1, completion);
|
|
622
|
+
i.u9o_1 = value;
|
|
621
623
|
return i;
|
|
622
624
|
};
|
|
623
625
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -630,8 +632,8 @@
|
|
|
630
632
|
}
|
|
631
633
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
632
634
|
CoroutineImpl.call(this, resultContinuation);
|
|
633
|
-
this.
|
|
634
|
-
this.
|
|
635
|
+
this.d9p_1 = _this__u8e3s4;
|
|
636
|
+
this.e9p_1 = collector;
|
|
635
637
|
}
|
|
636
638
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
637
639
|
var suspendResult = this.u8_1;
|
|
@@ -641,10 +643,10 @@
|
|
|
641
643
|
switch (tmp) {
|
|
642
644
|
case 0:
|
|
643
645
|
this.t8_1 = 2;
|
|
644
|
-
var $this$unsafeFlow = this.
|
|
646
|
+
var $this$unsafeFlow = this.e9p_1;
|
|
645
647
|
this.s8_1 = 1;
|
|
646
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
647
|
-
suspendResult = this.
|
|
648
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.d9p_1.g9p_1, null);
|
|
649
|
+
suspendResult = this.d9p_1.f9p_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
648
650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
649
651
|
return suspendResult;
|
|
650
652
|
}
|
|
@@ -667,8 +669,8 @@
|
|
|
667
669
|
while (true);
|
|
668
670
|
};
|
|
669
671
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
670
|
-
this.
|
|
671
|
-
this.
|
|
672
|
+
this.f9p_1 = $this;
|
|
673
|
+
this.g9p_1 = this$0;
|
|
672
674
|
}
|
|
673
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
674
676
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -680,17 +682,17 @@
|
|
|
680
682
|
return this.o28(collector, $completion);
|
|
681
683
|
};
|
|
682
684
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
683
|
-
this.
|
|
685
|
+
this.p9p_1 = $subscriber;
|
|
684
686
|
CoroutineImpl.call(this, resultContinuation);
|
|
685
687
|
}
|
|
686
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
687
|
-
var tmp = this.
|
|
688
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).r9p = function (it, $completion) {
|
|
689
|
+
var tmp = this.s9p(it, $completion);
|
|
688
690
|
tmp.u8_1 = Unit_instance;
|
|
689
691
|
tmp.v8_1 = null;
|
|
690
692
|
return tmp.a9();
|
|
691
693
|
};
|
|
692
694
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
693
|
-
return this.
|
|
695
|
+
return this.r9p((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
694
696
|
};
|
|
695
697
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
696
698
|
var suspendResult = this.u8_1;
|
|
@@ -699,7 +701,7 @@
|
|
|
699
701
|
var tmp = this.s8_1;
|
|
700
702
|
if (tmp === 0) {
|
|
701
703
|
this.t8_1 = 1;
|
|
702
|
-
this.
|
|
704
|
+
this.p9p_1(this.q9p_1);
|
|
703
705
|
return Unit_instance;
|
|
704
706
|
} else if (tmp === 1) {
|
|
705
707
|
throw this.v8_1;
|
|
@@ -710,22 +712,22 @@
|
|
|
710
712
|
}
|
|
711
713
|
while (true);
|
|
712
714
|
};
|
|
713
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
714
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
715
|
-
i.
|
|
715
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).s9p = function (it, completion) {
|
|
716
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.p9p_1, completion);
|
|
717
|
+
i.q9p_1 = it;
|
|
716
718
|
return i;
|
|
717
719
|
};
|
|
718
720
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
719
721
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
720
722
|
var l = function (it, $completion) {
|
|
721
|
-
return i.
|
|
723
|
+
return i.r9p(it, $completion);
|
|
722
724
|
};
|
|
723
725
|
l.$arity = 1;
|
|
724
726
|
return l;
|
|
725
727
|
}
|
|
726
728
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
727
|
-
this.
|
|
728
|
-
this.
|
|
729
|
+
this.b9q_1 = $$this$unsafeFlow;
|
|
730
|
+
this.c9q_1 = $table;
|
|
729
731
|
CoroutineImpl.call(this, resultContinuation);
|
|
730
732
|
}
|
|
731
733
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -745,10 +747,10 @@
|
|
|
745
747
|
switch (tmp) {
|
|
746
748
|
case 0:
|
|
747
749
|
this.t8_1 = 2;
|
|
748
|
-
var tmp0 = this.
|
|
749
|
-
var value = this.
|
|
750
|
+
var tmp0 = this.b9q_1;
|
|
751
|
+
var value = this.d9q_1;
|
|
750
752
|
this.s8_1 = 1;
|
|
751
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
753
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.c9q_1.id, value), this);
|
|
752
754
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
753
755
|
return suspendResult;
|
|
754
756
|
}
|
|
@@ -771,8 +773,8 @@
|
|
|
771
773
|
while (true);
|
|
772
774
|
};
|
|
773
775
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
774
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
775
|
-
i.
|
|
776
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.b9q_1, this.c9q_1, completion);
|
|
777
|
+
i.d9q_1 = value;
|
|
776
778
|
return i;
|
|
777
779
|
};
|
|
778
780
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -785,8 +787,8 @@
|
|
|
785
787
|
}
|
|
786
788
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
787
789
|
CoroutineImpl.call(this, resultContinuation);
|
|
788
|
-
this.
|
|
789
|
-
this.
|
|
790
|
+
this.m9q_1 = _this__u8e3s4;
|
|
791
|
+
this.n9q_1 = collector;
|
|
790
792
|
}
|
|
791
793
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
792
794
|
var suspendResult = this.u8_1;
|
|
@@ -796,10 +798,10 @@
|
|
|
796
798
|
switch (tmp) {
|
|
797
799
|
case 0:
|
|
798
800
|
this.t8_1 = 2;
|
|
799
|
-
var $this$unsafeFlow = this.
|
|
801
|
+
var $this$unsafeFlow = this.n9q_1;
|
|
800
802
|
this.s8_1 = 1;
|
|
801
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
802
|
-
suspendResult = this.
|
|
803
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.m9q_1.p9q_1, null);
|
|
804
|
+
suspendResult = this.m9q_1.o9q_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
803
805
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
804
806
|
return suspendResult;
|
|
805
807
|
}
|
|
@@ -822,8 +824,8 @@
|
|
|
822
824
|
while (true);
|
|
823
825
|
};
|
|
824
826
|
function _no_name_provided__qut3iv($this, $table) {
|
|
825
|
-
this.
|
|
826
|
-
this.
|
|
827
|
+
this.o9q_1 = $this;
|
|
828
|
+
this.p9q_1 = $table;
|
|
827
829
|
}
|
|
828
830
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
829
831
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -835,18 +837,18 @@
|
|
|
835
837
|
return this.o28(collector, $completion);
|
|
836
838
|
};
|
|
837
839
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
838
|
-
this.
|
|
839
|
-
this.
|
|
840
|
+
this.y9q_1 = $table;
|
|
841
|
+
this.z9q_1 = this$0;
|
|
840
842
|
CoroutineImpl.call(this, resultContinuation);
|
|
841
843
|
}
|
|
842
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
843
|
-
var tmp = this.
|
|
844
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).b9r = function ($this$flow, $completion) {
|
|
845
|
+
var tmp = this.c9r($this$flow, $completion);
|
|
844
846
|
tmp.u8_1 = Unit_instance;
|
|
845
847
|
tmp.v8_1 = null;
|
|
846
848
|
return tmp.a9();
|
|
847
849
|
};
|
|
848
850
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
849
|
-
return this.
|
|
851
|
+
return this.b9r((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
850
852
|
};
|
|
851
853
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
852
854
|
var suspendResult = this.u8_1;
|
|
@@ -857,7 +859,7 @@
|
|
|
857
859
|
case 0:
|
|
858
860
|
this.t8_1 = 3;
|
|
859
861
|
this.s8_1 = 1;
|
|
860
|
-
suspendResult = this.
|
|
862
|
+
suspendResult = this.a9r_1.n28(new TableStateUpdate(this.y9q_1.id, this.y9q_1), this);
|
|
861
863
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
862
864
|
return suspendResult;
|
|
863
865
|
}
|
|
@@ -865,8 +867,8 @@
|
|
|
865
867
|
continue $sm;
|
|
866
868
|
case 1:
|
|
867
869
|
this.s8_1 = 2;
|
|
868
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
869
|
-
suspendResult = emitAll(this.
|
|
870
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.z9q_1).m8p(), fromInt(_get_serverReduxConfig__rprcrm(this.z9q_1).serverStateUpdateIntervalMillis));
|
|
871
|
+
suspendResult = emitAll(this.a9r_1, new _no_name_provided__qut3iv(this_0, this.y9q_1), this);
|
|
870
872
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
871
873
|
return suspendResult;
|
|
872
874
|
}
|
|
@@ -888,22 +890,22 @@
|
|
|
888
890
|
}
|
|
889
891
|
while (true);
|
|
890
892
|
};
|
|
891
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
892
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
893
|
-
i.
|
|
893
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).c9r = function ($this$flow, completion) {
|
|
894
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.y9q_1, this.z9q_1, completion);
|
|
895
|
+
i.a9r_1 = $this$flow;
|
|
894
896
|
return i;
|
|
895
897
|
};
|
|
896
898
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
897
899
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
898
900
|
var l = function ($this$flow, $completion) {
|
|
899
|
-
return i.
|
|
901
|
+
return i.b9r($this$flow, $completion);
|
|
900
902
|
};
|
|
901
903
|
l.$arity = 1;
|
|
902
904
|
return l;
|
|
903
905
|
}
|
|
904
906
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
905
|
-
this.
|
|
906
|
-
this.
|
|
907
|
+
this.l9r_1 = $$this$unsafeFlow;
|
|
908
|
+
this.m9r_1 = this$0;
|
|
907
909
|
CoroutineImpl.call(this, resultContinuation);
|
|
908
910
|
}
|
|
909
911
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -924,16 +926,16 @@
|
|
|
924
926
|
case 0:
|
|
925
927
|
this.t8_1 = 5;
|
|
926
928
|
var tmp_0 = this;
|
|
927
|
-
tmp_0.
|
|
929
|
+
tmp_0.r9r_1 = this.l9r_1;
|
|
928
930
|
var tmp_1 = this;
|
|
929
|
-
tmp_1.
|
|
931
|
+
tmp_1.q9r_1 = this.n9r_1;
|
|
930
932
|
this.s8_1 = 1;
|
|
931
933
|
continue $sm;
|
|
932
934
|
case 1:
|
|
933
|
-
this.
|
|
934
|
-
var it = this.
|
|
935
|
+
this.o9r_1 = this.r9r_1;
|
|
936
|
+
var it = this.q9r_1;
|
|
935
937
|
var tmp_2;
|
|
936
|
-
if (get_isCreated(this.
|
|
938
|
+
if (get_isCreated(this.m9r_1.t66())) {
|
|
937
939
|
tmp_2 = it;
|
|
938
940
|
} else {
|
|
939
941
|
tmp_2 = null;
|
|
@@ -945,15 +947,15 @@
|
|
|
945
947
|
var tmp_3 = this;
|
|
946
948
|
continue $sm;
|
|
947
949
|
} else {
|
|
948
|
-
this.
|
|
950
|
+
this.p9r_1 = tmp0_elvis_lhs;
|
|
949
951
|
this.s8_1 = 2;
|
|
950
952
|
continue $sm;
|
|
951
953
|
}
|
|
952
954
|
|
|
953
955
|
case 2:
|
|
954
|
-
var transformed = this.
|
|
956
|
+
var transformed = this.p9r_1;
|
|
955
957
|
this.s8_1 = 3;
|
|
956
|
-
suspendResult = this.
|
|
958
|
+
suspendResult = this.o9r_1.n28(transformed, this);
|
|
957
959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
958
960
|
return suspendResult;
|
|
959
961
|
}
|
|
@@ -984,8 +986,8 @@
|
|
|
984
986
|
while (true);
|
|
985
987
|
};
|
|
986
988
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, completion) {
|
|
987
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
988
|
-
i.
|
|
989
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.l9r_1, this.m9r_1, completion);
|
|
990
|
+
i.n9r_1 = value;
|
|
989
991
|
return i;
|
|
990
992
|
};
|
|
991
993
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -998,8 +1000,8 @@
|
|
|
998
1000
|
}
|
|
999
1001
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1000
1002
|
CoroutineImpl.call(this, resultContinuation);
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1003
|
+
this.a9s_1 = _this__u8e3s4;
|
|
1004
|
+
this.b9s_1 = collector;
|
|
1003
1005
|
}
|
|
1004
1006
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1005
1007
|
var suspendResult = this.u8_1;
|
|
@@ -1009,10 +1011,10 @@
|
|
|
1009
1011
|
switch (tmp) {
|
|
1010
1012
|
case 0:
|
|
1011
1013
|
this.t8_1 = 2;
|
|
1012
|
-
var $this$unsafeFlow = this.
|
|
1014
|
+
var $this$unsafeFlow = this.b9s_1;
|
|
1013
1015
|
this.s8_1 = 1;
|
|
1014
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1015
|
-
suspendResult = this.
|
|
1016
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.a9s_1.d9s_1, null);
|
|
1017
|
+
suspendResult = this.a9s_1.c9s_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1016
1018
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1017
1019
|
return suspendResult;
|
|
1018
1020
|
}
|
|
@@ -1035,7 +1037,7 @@
|
|
|
1035
1037
|
while (true);
|
|
1036
1038
|
};
|
|
1037
1039
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1038
|
-
this.
|
|
1040
|
+
this.m9s_1 = $$this$unsafeFlow;
|
|
1039
1041
|
CoroutineImpl.call(this, resultContinuation);
|
|
1040
1042
|
}
|
|
1041
1043
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -1056,28 +1058,28 @@
|
|
|
1056
1058
|
case 0:
|
|
1057
1059
|
this.t8_1 = 5;
|
|
1058
1060
|
var tmp_0 = this;
|
|
1059
|
-
tmp_0.
|
|
1061
|
+
tmp_0.r9s_1 = this.m9s_1;
|
|
1060
1062
|
var tmp_1 = this;
|
|
1061
|
-
tmp_1.
|
|
1063
|
+
tmp_1.q9s_1 = this.n9s_1;
|
|
1062
1064
|
this.s8_1 = 1;
|
|
1063
1065
|
continue $sm;
|
|
1064
1066
|
case 1:
|
|
1065
|
-
this.
|
|
1066
|
-
var tmp0_elvis_lhs = this.
|
|
1067
|
+
this.o9s_1 = this.r9s_1;
|
|
1068
|
+
var tmp0_elvis_lhs = this.q9s_1.tableOrNull;
|
|
1067
1069
|
if (tmp0_elvis_lhs == null) {
|
|
1068
1070
|
this.s8_1 = 4;
|
|
1069
1071
|
var tmp_2 = this;
|
|
1070
1072
|
continue $sm;
|
|
1071
1073
|
} else {
|
|
1072
|
-
this.
|
|
1074
|
+
this.p9s_1 = tmp0_elvis_lhs;
|
|
1073
1075
|
this.s8_1 = 2;
|
|
1074
1076
|
continue $sm;
|
|
1075
1077
|
}
|
|
1076
1078
|
|
|
1077
1079
|
case 2:
|
|
1078
|
-
var transformed = this.
|
|
1080
|
+
var transformed = this.p9s_1;
|
|
1079
1081
|
this.s8_1 = 3;
|
|
1080
|
-
suspendResult = this.
|
|
1082
|
+
suspendResult = this.o9s_1.n28(transformed, this);
|
|
1081
1083
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1082
1084
|
return suspendResult;
|
|
1083
1085
|
}
|
|
@@ -1108,8 +1110,8 @@
|
|
|
1108
1110
|
while (true);
|
|
1109
1111
|
};
|
|
1110
1112
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
1111
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1112
|
-
i.
|
|
1113
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.m9s_1, completion);
|
|
1114
|
+
i.n9s_1 = value;
|
|
1113
1115
|
return i;
|
|
1114
1116
|
};
|
|
1115
1117
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1122,8 +1124,8 @@
|
|
|
1122
1124
|
}
|
|
1123
1125
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1124
1126
|
CoroutineImpl.call(this, resultContinuation);
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
1127
|
+
this.a9t_1 = _this__u8e3s4;
|
|
1128
|
+
this.b9t_1 = collector;
|
|
1127
1129
|
}
|
|
1128
1130
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1129
1131
|
var suspendResult = this.u8_1;
|
|
@@ -1133,10 +1135,10 @@
|
|
|
1133
1135
|
switch (tmp) {
|
|
1134
1136
|
case 0:
|
|
1135
1137
|
this.t8_1 = 2;
|
|
1136
|
-
var $this$unsafeFlow = this.
|
|
1138
|
+
var $this$unsafeFlow = this.b9t_1;
|
|
1137
1139
|
this.s8_1 = 1;
|
|
1138
1140
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1139
|
-
suspendResult = this.
|
|
1141
|
+
suspendResult = this.a9t_1.c9t_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1140
1142
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1141
1143
|
return suspendResult;
|
|
1142
1144
|
}
|
|
@@ -1159,7 +1161,7 @@
|
|
|
1159
1161
|
while (true);
|
|
1160
1162
|
};
|
|
1161
1163
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1162
|
-
this.
|
|
1164
|
+
this.l9t_1 = $$this$unsafeFlow;
|
|
1163
1165
|
CoroutineImpl.call(this, resultContinuation);
|
|
1164
1166
|
}
|
|
1165
1167
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1179,8 +1181,8 @@
|
|
|
1179
1181
|
switch (tmp) {
|
|
1180
1182
|
case 0:
|
|
1181
1183
|
this.t8_1 = 2;
|
|
1182
|
-
var tmp0 = this.
|
|
1183
|
-
var value = this.
|
|
1184
|
+
var tmp0 = this.l9t_1;
|
|
1185
|
+
var value = this.m9t_1;
|
|
1184
1186
|
this.s8_1 = 1;
|
|
1185
1187
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1186
1188
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1205,8 +1207,8 @@
|
|
|
1205
1207
|
while (true);
|
|
1206
1208
|
};
|
|
1207
1209
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1208
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1209
|
-
i.
|
|
1210
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.l9t_1, completion);
|
|
1211
|
+
i.m9t_1 = value;
|
|
1210
1212
|
return i;
|
|
1211
1213
|
};
|
|
1212
1214
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1219,8 +1221,8 @@
|
|
|
1219
1221
|
}
|
|
1220
1222
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1221
1223
|
CoroutineImpl.call(this, resultContinuation);
|
|
1222
|
-
this.
|
|
1223
|
-
this.
|
|
1224
|
+
this.v9t_1 = _this__u8e3s4;
|
|
1225
|
+
this.w9t_1 = collector;
|
|
1224
1226
|
}
|
|
1225
1227
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1226
1228
|
var suspendResult = this.u8_1;
|
|
@@ -1230,10 +1232,10 @@
|
|
|
1230
1232
|
switch (tmp) {
|
|
1231
1233
|
case 0:
|
|
1232
1234
|
this.t8_1 = 2;
|
|
1233
|
-
var $this$unsafeFlow = this.
|
|
1235
|
+
var $this$unsafeFlow = this.w9t_1;
|
|
1234
1236
|
this.s8_1 = 1;
|
|
1235
1237
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1236
|
-
suspendResult = this.
|
|
1238
|
+
suspendResult = this.v9t_1.x9t_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1237
1239
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1238
1240
|
return suspendResult;
|
|
1239
1241
|
}
|
|
@@ -1256,7 +1258,7 @@
|
|
|
1256
1258
|
while (true);
|
|
1257
1259
|
};
|
|
1258
1260
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1259
|
-
this.
|
|
1261
|
+
this.g9u_1 = $$this$unsafeFlow;
|
|
1260
1262
|
CoroutineImpl.call(this, resultContinuation);
|
|
1261
1263
|
}
|
|
1262
1264
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1276,8 +1278,8 @@
|
|
|
1276
1278
|
switch (tmp) {
|
|
1277
1279
|
case 0:
|
|
1278
1280
|
this.t8_1 = 2;
|
|
1279
|
-
var tmp0 = this.
|
|
1280
|
-
var value = this.
|
|
1281
|
+
var tmp0 = this.g9u_1;
|
|
1282
|
+
var value = this.h9u_1;
|
|
1281
1283
|
this.s8_1 = 1;
|
|
1282
1284
|
suspendResult = tmp0.n28(value.ne_1, this);
|
|
1283
1285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1302,8 +1304,8 @@
|
|
|
1302
1304
|
while (true);
|
|
1303
1305
|
};
|
|
1304
1306
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1305
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1306
|
-
i.
|
|
1307
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.g9u_1, completion);
|
|
1308
|
+
i.h9u_1 = value;
|
|
1307
1309
|
return i;
|
|
1308
1310
|
};
|
|
1309
1311
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1316,8 +1318,8 @@
|
|
|
1316
1318
|
}
|
|
1317
1319
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1318
1320
|
CoroutineImpl.call(this, resultContinuation);
|
|
1319
|
-
this.
|
|
1320
|
-
this.
|
|
1321
|
+
this.q9u_1 = _this__u8e3s4;
|
|
1322
|
+
this.r9u_1 = collector;
|
|
1321
1323
|
}
|
|
1322
1324
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1323
1325
|
var suspendResult = this.u8_1;
|
|
@@ -1327,10 +1329,10 @@
|
|
|
1327
1329
|
switch (tmp) {
|
|
1328
1330
|
case 0:
|
|
1329
1331
|
this.t8_1 = 2;
|
|
1330
|
-
var $this$unsafeFlow = this.
|
|
1332
|
+
var $this$unsafeFlow = this.r9u_1;
|
|
1331
1333
|
this.s8_1 = 1;
|
|
1332
1334
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1333
|
-
suspendResult = this.
|
|
1335
|
+
suspendResult = this.q9u_1.s9u_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1334
1336
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1335
1337
|
return suspendResult;
|
|
1336
1338
|
}
|
|
@@ -1353,17 +1355,17 @@
|
|
|
1353
1355
|
while (true);
|
|
1354
1356
|
};
|
|
1355
1357
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1356
|
-
this.
|
|
1358
|
+
this.b9v_1 = $subscriber;
|
|
1357
1359
|
CoroutineImpl.call(this, resultContinuation);
|
|
1358
1360
|
}
|
|
1359
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1360
|
-
var tmp = this.
|
|
1361
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).d9v = function (it, $completion) {
|
|
1362
|
+
var tmp = this.e9v(it, $completion);
|
|
1361
1363
|
tmp.u8_1 = Unit_instance;
|
|
1362
1364
|
tmp.v8_1 = null;
|
|
1363
1365
|
return tmp.a9();
|
|
1364
1366
|
};
|
|
1365
1367
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1366
|
-
return this.
|
|
1368
|
+
return this.d9v(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1367
1369
|
};
|
|
1368
1370
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1369
1371
|
var suspendResult = this.u8_1;
|
|
@@ -1372,7 +1374,7 @@
|
|
|
1372
1374
|
var tmp = this.s8_1;
|
|
1373
1375
|
if (tmp === 0) {
|
|
1374
1376
|
this.t8_1 = 1;
|
|
1375
|
-
this.
|
|
1377
|
+
this.b9v_1(this.c9v_1);
|
|
1376
1378
|
return Unit_instance;
|
|
1377
1379
|
} else if (tmp === 1) {
|
|
1378
1380
|
throw this.v8_1;
|
|
@@ -1383,76 +1385,76 @@
|
|
|
1383
1385
|
}
|
|
1384
1386
|
while (true);
|
|
1385
1387
|
};
|
|
1386
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1387
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1388
|
-
i.
|
|
1388
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).e9v = function (it, completion) {
|
|
1389
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.b9v_1, completion);
|
|
1390
|
+
i.c9v_1 = it;
|
|
1389
1391
|
return i;
|
|
1390
1392
|
};
|
|
1391
1393
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1392
1394
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1393
1395
|
var l = function (it, $completion) {
|
|
1394
|
-
return i.
|
|
1396
|
+
return i.d9v(it, $completion);
|
|
1395
1397
|
};
|
|
1396
1398
|
l.$arity = 1;
|
|
1397
1399
|
return l;
|
|
1398
1400
|
}
|
|
1399
1401
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1400
|
-
this.
|
|
1402
|
+
this.f9v_1 = $playerId;
|
|
1401
1403
|
}
|
|
1402
1404
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v65 = function () {
|
|
1403
|
-
return this.
|
|
1405
|
+
return this.f9v_1;
|
|
1404
1406
|
};
|
|
1405
1407
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1406
|
-
var tmp0 = $this.
|
|
1408
|
+
var tmp0 = $this.k9v_1;
|
|
1407
1409
|
var tmp = KProperty1;
|
|
1408
1410
|
// Inline function 'kotlin.getValue' call
|
|
1409
1411
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1410
1412
|
return tmp0.x();
|
|
1411
1413
|
}
|
|
1412
1414
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1413
|
-
var tmp0 = $this.
|
|
1415
|
+
var tmp0 = $this.l9v_1;
|
|
1414
1416
|
var tmp = KProperty1;
|
|
1415
1417
|
// Inline function 'kotlin.getValue' call
|
|
1416
1418
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1417
1419
|
return tmp0.x();
|
|
1418
1420
|
}
|
|
1419
1421
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1420
|
-
var tmp0 = $this.
|
|
1422
|
+
var tmp0 = $this.m9v_1;
|
|
1421
1423
|
var tmp = KProperty1;
|
|
1422
1424
|
// Inline function 'kotlin.getValue' call
|
|
1423
1425
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1424
1426
|
return tmp0.x();
|
|
1425
1427
|
}
|
|
1426
1428
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1427
|
-
var tmp0 = $this.
|
|
1429
|
+
var tmp0 = $this.n9v_1;
|
|
1428
1430
|
var tmp = KProperty1;
|
|
1429
1431
|
// Inline function 'kotlin.getValue' call
|
|
1430
1432
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1431
1433
|
return tmp0.x();
|
|
1432
1434
|
}
|
|
1433
1435
|
function _get_random__h29cgo($this) {
|
|
1434
|
-
var tmp0 = $this.
|
|
1436
|
+
var tmp0 = $this.o9v_1;
|
|
1435
1437
|
var tmp = KProperty1;
|
|
1436
1438
|
// Inline function 'kotlin.getValue' call
|
|
1437
1439
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1438
1440
|
return tmp0.x();
|
|
1439
1441
|
}
|
|
1440
1442
|
function _get_idsProvider__fnfajc($this) {
|
|
1441
|
-
var tmp0 = $this.
|
|
1443
|
+
var tmp0 = $this.p9v_1;
|
|
1442
1444
|
var tmp = KProperty1;
|
|
1443
1445
|
// Inline function 'kotlin.getValue' call
|
|
1444
1446
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1445
1447
|
return tmp0.x();
|
|
1446
1448
|
}
|
|
1447
1449
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1448
|
-
var tmp0 = $this.
|
|
1450
|
+
var tmp0 = $this.q9v_1;
|
|
1449
1451
|
var tmp = KProperty1;
|
|
1450
1452
|
// Inline function 'kotlin.getValue' call
|
|
1451
1453
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1452
1454
|
return tmp0.x();
|
|
1453
1455
|
}
|
|
1454
1456
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1455
|
-
var tmp0 = $this.
|
|
1457
|
+
var tmp0 = $this.r9v_1;
|
|
1456
1458
|
var tmp = KProperty1;
|
|
1457
1459
|
// Inline function 'kotlin.getValue' call
|
|
1458
1460
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1484,20 +1486,20 @@
|
|
|
1484
1486
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1485
1487
|
}
|
|
1486
1488
|
function Companion() {
|
|
1487
|
-
this.
|
|
1489
|
+
this.t9v_1 = 'GameEngine_API';
|
|
1488
1490
|
}
|
|
1489
1491
|
var Companion_instance_7;
|
|
1490
1492
|
function Companion_getInstance_0() {
|
|
1491
1493
|
return Companion_instance_7;
|
|
1492
1494
|
}
|
|
1493
1495
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1494
|
-
this.
|
|
1496
|
+
this.u9v_1 = function_0;
|
|
1495
1497
|
}
|
|
1496
1498
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1497
|
-
return this.
|
|
1499
|
+
return this.u9v_1(value, $completion);
|
|
1498
1500
|
};
|
|
1499
1501
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1500
|
-
return this.
|
|
1502
|
+
return this.u9v_1;
|
|
1501
1503
|
};
|
|
1502
1504
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1503
1505
|
var tmp;
|
|
@@ -1518,13 +1520,13 @@
|
|
|
1518
1520
|
return hashCode(this.b3());
|
|
1519
1521
|
};
|
|
1520
1522
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1521
|
-
this.
|
|
1523
|
+
this.v9v_1 = function_0;
|
|
1522
1524
|
}
|
|
1523
1525
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1524
|
-
return this.
|
|
1526
|
+
return this.v9v_1(value, $completion);
|
|
1525
1527
|
};
|
|
1526
1528
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1527
|
-
return this.
|
|
1529
|
+
return this.v9v_1;
|
|
1528
1530
|
};
|
|
1529
1531
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1530
1532
|
var tmp;
|
|
@@ -1545,13 +1547,13 @@
|
|
|
1545
1547
|
return hashCode(this.b3());
|
|
1546
1548
|
};
|
|
1547
1549
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1548
|
-
this.
|
|
1550
|
+
this.w9v_1 = function_0;
|
|
1549
1551
|
}
|
|
1550
1552
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1551
|
-
return this.
|
|
1553
|
+
return this.w9v_1(value, $completion);
|
|
1552
1554
|
};
|
|
1553
1555
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1554
|
-
return this.
|
|
1556
|
+
return this.w9v_1;
|
|
1555
1557
|
};
|
|
1556
1558
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1557
1559
|
var tmp;
|
|
@@ -1572,13 +1574,13 @@
|
|
|
1572
1574
|
return hashCode(this.b3());
|
|
1573
1575
|
};
|
|
1574
1576
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1575
|
-
this.
|
|
1577
|
+
this.x9v_1 = function_0;
|
|
1576
1578
|
}
|
|
1577
1579
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1578
|
-
return this.
|
|
1580
|
+
return this.x9v_1(value, $completion);
|
|
1579
1581
|
};
|
|
1580
1582
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1581
|
-
return this.
|
|
1583
|
+
return this.x9v_1;
|
|
1582
1584
|
};
|
|
1583
1585
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1584
1586
|
var tmp;
|
|
@@ -1599,13 +1601,13 @@
|
|
|
1599
1601
|
return hashCode(this.b3());
|
|
1600
1602
|
};
|
|
1601
1603
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1602
|
-
this.
|
|
1604
|
+
this.y9v_1 = function_0;
|
|
1603
1605
|
}
|
|
1604
1606
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1605
|
-
return this.
|
|
1607
|
+
return this.y9v_1(value, $completion);
|
|
1606
1608
|
};
|
|
1607
1609
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1608
|
-
return this.
|
|
1610
|
+
return this.y9v_1;
|
|
1609
1611
|
};
|
|
1610
1612
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1611
1613
|
var tmp;
|
|
@@ -1626,13 +1628,13 @@
|
|
|
1626
1628
|
return hashCode(this.b3());
|
|
1627
1629
|
};
|
|
1628
1630
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1629
|
-
this.
|
|
1631
|
+
this.z9v_1 = function_0;
|
|
1630
1632
|
}
|
|
1631
1633
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1632
|
-
return this.
|
|
1634
|
+
return this.z9v_1(value, $completion);
|
|
1633
1635
|
};
|
|
1634
1636
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1635
|
-
return this.
|
|
1637
|
+
return this.z9v_1;
|
|
1636
1638
|
};
|
|
1637
1639
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1638
1640
|
var tmp;
|
|
@@ -1733,8 +1735,8 @@
|
|
|
1733
1735
|
};
|
|
1734
1736
|
}
|
|
1735
1737
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1736
|
-
this.
|
|
1737
|
-
this.
|
|
1738
|
+
this.i9w_1 = this$0;
|
|
1739
|
+
this.j9w_1 = $subscriber;
|
|
1738
1740
|
CoroutineImpl.call(this, resultContinuation);
|
|
1739
1741
|
}
|
|
1740
1742
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1755,8 +1757,8 @@
|
|
|
1755
1757
|
case 0:
|
|
1756
1758
|
this.t8_1 = 2;
|
|
1757
1759
|
this.s8_1 = 1;
|
|
1758
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1759
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1760
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.i9w_1).l9w();
|
|
1761
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.j9w_1, null);
|
|
1760
1762
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1761
1763
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1762
1764
|
return suspendResult;
|
|
@@ -1780,8 +1782,8 @@
|
|
|
1780
1782
|
while (true);
|
|
1781
1783
|
};
|
|
1782
1784
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1783
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1784
|
-
i.
|
|
1785
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.i9w_1, this.j9w_1, completion);
|
|
1786
|
+
i.k9w_1 = $this$launchDefault;
|
|
1785
1787
|
return i;
|
|
1786
1788
|
};
|
|
1787
1789
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1793,8 +1795,8 @@
|
|
|
1793
1795
|
return l;
|
|
1794
1796
|
}
|
|
1795
1797
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1798
|
+
this.u9w_1 = this$0;
|
|
1799
|
+
this.v9w_1 = $subscriber;
|
|
1798
1800
|
CoroutineImpl.call(this, resultContinuation);
|
|
1799
1801
|
}
|
|
1800
1802
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1815,8 +1817,8 @@
|
|
|
1815
1817
|
case 0:
|
|
1816
1818
|
this.t8_1 = 2;
|
|
1817
1819
|
this.s8_1 = 1;
|
|
1818
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1819
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1820
|
+
var tmp_0 = observeTableStateUpdates(this.u9w_1);
|
|
1821
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.v9w_1, null);
|
|
1820
1822
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1821
1823
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1822
1824
|
return suspendResult;
|
|
@@ -1840,8 +1842,8 @@
|
|
|
1840
1842
|
while (true);
|
|
1841
1843
|
};
|
|
1842
1844
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1843
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1844
|
-
i.
|
|
1845
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.u9w_1, this.v9w_1, completion);
|
|
1846
|
+
i.w9w_1 = $this$launchDefault;
|
|
1845
1847
|
return i;
|
|
1846
1848
|
};
|
|
1847
1849
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1853,8 +1855,8 @@
|
|
|
1853
1855
|
return l;
|
|
1854
1856
|
}
|
|
1855
1857
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1856
|
-
this.
|
|
1857
|
-
this.
|
|
1858
|
+
this.f9x_1 = this$0;
|
|
1859
|
+
this.g9x_1 = $subscriber;
|
|
1858
1860
|
CoroutineImpl.call(this, resultContinuation);
|
|
1859
1861
|
}
|
|
1860
1862
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1875,9 +1877,9 @@
|
|
|
1875
1877
|
case 0:
|
|
1876
1878
|
this.t8_1 = 2;
|
|
1877
1879
|
this.s8_1 = 1;
|
|
1878
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1879
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1880
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1880
|
+
var this_0 = observeTableStateUpdates(this.f9x_1);
|
|
1881
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.f9x_1);
|
|
1882
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.g9x_1, null);
|
|
1881
1883
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1882
1884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1883
1885
|
return suspendResult;
|
|
@@ -1901,8 +1903,8 @@
|
|
|
1901
1903
|
while (true);
|
|
1902
1904
|
};
|
|
1903
1905
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1904
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1905
|
-
i.
|
|
1906
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.f9x_1, this.g9x_1, completion);
|
|
1907
|
+
i.h9x_1 = $this$launchDefault;
|
|
1906
1908
|
return i;
|
|
1907
1909
|
};
|
|
1908
1910
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1914,18 +1916,18 @@
|
|
|
1914
1916
|
return l;
|
|
1915
1917
|
}
|
|
1916
1918
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1917
|
-
this.
|
|
1919
|
+
this.q9x_1 = this$0;
|
|
1918
1920
|
CoroutineImpl.call(this, resultContinuation);
|
|
1919
1921
|
}
|
|
1920
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1921
|
-
var tmp = this.
|
|
1922
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).t9x = function ($this$transformLatest, it, $completion) {
|
|
1923
|
+
var tmp = this.u9x($this$transformLatest, it, $completion);
|
|
1922
1924
|
tmp.u8_1 = Unit_instance;
|
|
1923
1925
|
tmp.v8_1 = null;
|
|
1924
1926
|
return tmp.a9();
|
|
1925
1927
|
};
|
|
1926
1928
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
1927
1929
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1928
|
-
return this.
|
|
1930
|
+
return this.t9x(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1929
1931
|
};
|
|
1930
1932
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
1931
1933
|
var suspendResult = this.u8_1;
|
|
@@ -1936,8 +1938,8 @@
|
|
|
1936
1938
|
case 0:
|
|
1937
1939
|
this.t8_1 = 2;
|
|
1938
1940
|
this.s8_1 = 1;
|
|
1939
|
-
var table = this.
|
|
1940
|
-
suspendResult = emitAll(this.
|
|
1941
|
+
var table = this.s9x_1;
|
|
1942
|
+
suspendResult = emitAll(this.r9x_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.q9x_1, null)), this);
|
|
1941
1943
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1942
1944
|
return suspendResult;
|
|
1943
1945
|
}
|
|
@@ -1959,23 +1961,23 @@
|
|
|
1959
1961
|
}
|
|
1960
1962
|
while (true);
|
|
1961
1963
|
};
|
|
1962
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1963
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1964
|
-
i.
|
|
1965
|
-
i.
|
|
1964
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).u9x = function ($this$transformLatest, it, completion) {
|
|
1965
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.q9x_1, completion);
|
|
1966
|
+
i.r9x_1 = $this$transformLatest;
|
|
1967
|
+
i.s9x_1 = it;
|
|
1966
1968
|
return i;
|
|
1967
1969
|
};
|
|
1968
1970
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1969
1971
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1970
1972
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1971
|
-
return i.
|
|
1973
|
+
return i.t9x($this$transformLatest, it, $completion);
|
|
1972
1974
|
};
|
|
1973
1975
|
l.$arity = 2;
|
|
1974
1976
|
return l;
|
|
1975
1977
|
}
|
|
1976
1978
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
1977
|
-
this.
|
|
1978
|
-
this.
|
|
1979
|
+
this.c9s_1 = $this;
|
|
1980
|
+
this.d9s_1 = this$0;
|
|
1979
1981
|
}
|
|
1980
1982
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1981
1983
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1987,7 +1989,7 @@
|
|
|
1987
1989
|
return this.o28(collector, $completion);
|
|
1988
1990
|
};
|
|
1989
1991
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1990
|
-
this.
|
|
1992
|
+
this.c9t_1 = $this;
|
|
1991
1993
|
}
|
|
1992
1994
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
1993
1995
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1999,7 +2001,7 @@
|
|
|
1999
2001
|
return this.o28(collector, $completion);
|
|
2000
2002
|
};
|
|
2001
2003
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2002
|
-
this.
|
|
2004
|
+
this.x9t_1 = $this;
|
|
2003
2005
|
}
|
|
2004
2006
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
2005
2007
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2014,7 +2016,7 @@
|
|
|
2014
2016
|
return old.me_1 === new_0.me_1;
|
|
2015
2017
|
}
|
|
2016
2018
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2017
|
-
this.
|
|
2019
|
+
this.s9u_1 = $this;
|
|
2018
2020
|
}
|
|
2019
2021
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
2020
2022
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2026,8 +2028,8 @@
|
|
|
2026
2028
|
return this.o28(collector, $completion);
|
|
2027
2029
|
};
|
|
2028
2030
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2031
|
+
this.d9y_1 = this$0;
|
|
2032
|
+
this.e9y_1 = $subscriber;
|
|
2031
2033
|
CoroutineImpl.call(this, resultContinuation);
|
|
2032
2034
|
}
|
|
2033
2035
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2048,8 +2050,8 @@
|
|
|
2048
2050
|
case 0:
|
|
2049
2051
|
this.t8_1 = 2;
|
|
2050
2052
|
this.s8_1 = 1;
|
|
2051
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2052
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2053
|
+
var tmp_0 = distinctUntilChanged(this.d9y_1.v6q());
|
|
2054
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.e9y_1, null);
|
|
2053
2055
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2054
2056
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2055
2057
|
return suspendResult;
|
|
@@ -2073,8 +2075,8 @@
|
|
|
2073
2075
|
while (true);
|
|
2074
2076
|
};
|
|
2075
2077
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2076
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2077
|
-
i.
|
|
2078
|
+
var i = new GameServer$subscribeWith$slambda(this.d9y_1, this.e9y_1, completion);
|
|
2079
|
+
i.f9y_1 = $this$launchDefault;
|
|
2078
2080
|
return i;
|
|
2079
2081
|
};
|
|
2080
2082
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2086,18 +2088,18 @@
|
|
|
2086
2088
|
return l;
|
|
2087
2089
|
}
|
|
2088
2090
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2089
|
-
this.
|
|
2091
|
+
this.o9y_1 = $action;
|
|
2090
2092
|
CoroutineImpl.call(this, resultContinuation);
|
|
2091
2093
|
}
|
|
2092
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2093
|
-
var tmp = this.
|
|
2094
|
+
protoOf(GameServer$fromClientEvent$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2095
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2094
2096
|
tmp.u8_1 = Unit_instance;
|
|
2095
2097
|
tmp.v8_1 = null;
|
|
2096
2098
|
return tmp.a9();
|
|
2097
2099
|
};
|
|
2098
2100
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2099
2101
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2100
|
-
return this.
|
|
2102
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2101
2103
|
};
|
|
2102
2104
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2103
2105
|
var suspendResult = this.u8_1;
|
|
@@ -2106,11 +2108,11 @@
|
|
|
2106
2108
|
var tmp = this.s8_1;
|
|
2107
2109
|
if (tmp === 0) {
|
|
2108
2110
|
this.t8_1 = 1;
|
|
2109
|
-
if (this.
|
|
2110
|
-
if (!get_isCreated(this.
|
|
2111
|
+
if (this.o9y_1 instanceof PlayerReadyFromClientAction)
|
|
2112
|
+
if (!get_isCreated(this.q9y_1.state)) {
|
|
2111
2113
|
return Unit_instance;
|
|
2112
2114
|
}
|
|
2113
|
-
this.
|
|
2115
|
+
this.q9y_1.dispatch(this.o9y_1);
|
|
2114
2116
|
return Unit_instance;
|
|
2115
2117
|
} else if (tmp === 1) {
|
|
2116
2118
|
throw this.v8_1;
|
|
@@ -2121,33 +2123,33 @@
|
|
|
2121
2123
|
}
|
|
2122
2124
|
while (true);
|
|
2123
2125
|
};
|
|
2124
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2125
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2126
|
-
i.
|
|
2127
|
-
i.
|
|
2126
|
+
protoOf(GameServer$fromClientEvent$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2127
|
+
var i = new GameServer$fromClientEvent$slambda(this.o9y_1, completion);
|
|
2128
|
+
i.p9y_1 = $this$dispatchAsync;
|
|
2129
|
+
i.q9y_1 = store;
|
|
2128
2130
|
return i;
|
|
2129
2131
|
};
|
|
2130
2132
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2131
2133
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2132
2134
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2133
|
-
return i.
|
|
2135
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2134
2136
|
};
|
|
2135
2137
|
l.$arity = 2;
|
|
2136
2138
|
return l;
|
|
2137
2139
|
}
|
|
2138
2140
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2139
|
-
this.
|
|
2141
|
+
this.b9z_1 = $playerId;
|
|
2140
2142
|
CoroutineImpl.call(this, resultContinuation);
|
|
2141
2143
|
}
|
|
2142
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2143
|
-
var tmp = this.
|
|
2144
|
+
protoOf(GameServer$playerLostConnection$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2145
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2144
2146
|
tmp.u8_1 = Unit_instance;
|
|
2145
2147
|
tmp.v8_1 = null;
|
|
2146
2148
|
return tmp.a9();
|
|
2147
2149
|
};
|
|
2148
2150
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2149
2151
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2150
|
-
return this.
|
|
2152
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2151
2153
|
};
|
|
2152
2154
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2153
2155
|
var suspendResult = this.u8_1;
|
|
@@ -2156,12 +2158,12 @@
|
|
|
2156
2158
|
var tmp = this.s8_1;
|
|
2157
2159
|
if (tmp === 0) {
|
|
2158
2160
|
this.t8_1 = 1;
|
|
2159
|
-
if (!get_isCreated(this.
|
|
2161
|
+
if (!get_isCreated(this.d9z_1.state)) {
|
|
2160
2162
|
return Unit_instance;
|
|
2161
2163
|
}
|
|
2162
|
-
var tmp_0 = this.
|
|
2164
|
+
var tmp_0 = this.d9z_1.dispatch;
|
|
2163
2165
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2164
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2166
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.b9z_1));
|
|
2165
2167
|
return Unit_instance;
|
|
2166
2168
|
} else if (tmp === 1) {
|
|
2167
2169
|
throw this.v8_1;
|
|
@@ -2172,34 +2174,34 @@
|
|
|
2172
2174
|
}
|
|
2173
2175
|
while (true);
|
|
2174
2176
|
};
|
|
2175
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2176
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2177
|
-
i.
|
|
2178
|
-
i.
|
|
2177
|
+
protoOf(GameServer$playerLostConnection$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2178
|
+
var i = new GameServer$playerLostConnection$slambda(this.b9z_1, completion);
|
|
2179
|
+
i.c9z_1 = $this$dispatchAsync;
|
|
2180
|
+
i.d9z_1 = store;
|
|
2179
2181
|
return i;
|
|
2180
2182
|
};
|
|
2181
2183
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2182
2184
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2183
2185
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2184
|
-
return i.
|
|
2186
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2185
2187
|
};
|
|
2186
2188
|
l.$arity = 2;
|
|
2187
2189
|
return l;
|
|
2188
2190
|
}
|
|
2189
2191
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2192
|
+
this.m9z_1 = this$0;
|
|
2193
|
+
this.n9z_1 = $playerId;
|
|
2192
2194
|
CoroutineImpl.call(this, resultContinuation);
|
|
2193
2195
|
}
|
|
2194
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2195
|
-
var tmp = this.
|
|
2196
|
+
protoOf(GameServer$playerLive$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2197
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2196
2198
|
tmp.u8_1 = Unit_instance;
|
|
2197
2199
|
tmp.v8_1 = null;
|
|
2198
2200
|
return tmp.a9();
|
|
2199
2201
|
};
|
|
2200
2202
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2201
2203
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2202
|
-
return this.
|
|
2204
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2203
2205
|
};
|
|
2204
2206
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2205
2207
|
var suspendResult = this.u8_1;
|
|
@@ -2208,16 +2210,16 @@
|
|
|
2208
2210
|
var tmp = this.s8_1;
|
|
2209
2211
|
if (tmp === 0) {
|
|
2210
2212
|
this.t8_1 = 1;
|
|
2211
|
-
if (get_isFinished(this.
|
|
2213
|
+
if (get_isFinished(this.p9z_1.state) || get_isFinishing(this.p9z_1.state)) {
|
|
2212
2214
|
return Unit_instance;
|
|
2213
2215
|
}
|
|
2214
|
-
if (!get_isCreated(this.
|
|
2215
|
-
this.
|
|
2216
|
+
if (!get_isCreated(this.p9z_1.state) || !this.m9z_1.t66().y6r()) {
|
|
2217
|
+
this.m9z_1.h4q().v('GameEngine_API', 'playerLive: ' + this.n9z_1 + ' before game is created');
|
|
2216
2218
|
return Unit_instance;
|
|
2217
2219
|
}
|
|
2218
|
-
var tmp_0 = this.
|
|
2220
|
+
var tmp_0 = this.p9z_1.dispatch;
|
|
2219
2221
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2220
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2222
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.n9z_1));
|
|
2221
2223
|
return Unit_instance;
|
|
2222
2224
|
} else if (tmp === 1) {
|
|
2223
2225
|
throw this.v8_1;
|
|
@@ -2228,35 +2230,35 @@
|
|
|
2228
2230
|
}
|
|
2229
2231
|
while (true);
|
|
2230
2232
|
};
|
|
2231
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2232
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2233
|
-
i.
|
|
2234
|
-
i.
|
|
2233
|
+
protoOf(GameServer$playerLive$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2234
|
+
var i = new GameServer$playerLive$slambda(this.m9z_1, this.n9z_1, completion);
|
|
2235
|
+
i.o9z_1 = $this$dispatchAsync;
|
|
2236
|
+
i.p9z_1 = store;
|
|
2235
2237
|
return i;
|
|
2236
2238
|
};
|
|
2237
2239
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2238
2240
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2239
2241
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2240
|
-
return i.
|
|
2242
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2241
2243
|
};
|
|
2242
2244
|
l.$arity = 2;
|
|
2243
2245
|
return l;
|
|
2244
2246
|
}
|
|
2245
2247
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2246
|
-
this.
|
|
2247
|
-
this.
|
|
2248
|
-
this.
|
|
2248
|
+
this.y9z_1 = this$0;
|
|
2249
|
+
this.z9z_1 = $playerId;
|
|
2250
|
+
this.aa0_1 = $permanently;
|
|
2249
2251
|
CoroutineImpl.call(this, resultContinuation);
|
|
2250
2252
|
}
|
|
2251
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2252
|
-
var tmp = this.
|
|
2253
|
+
protoOf(GameServer$playerLeft$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2254
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2253
2255
|
tmp.u8_1 = Unit_instance;
|
|
2254
2256
|
tmp.v8_1 = null;
|
|
2255
2257
|
return tmp.a9();
|
|
2256
2258
|
};
|
|
2257
2259
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2258
2260
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2259
|
-
return this.
|
|
2261
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2260
2262
|
};
|
|
2261
2263
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2262
2264
|
var suspendResult = this.u8_1;
|
|
@@ -2265,22 +2267,22 @@
|
|
|
2265
2267
|
var tmp = this.s8_1;
|
|
2266
2268
|
if (tmp === 0) {
|
|
2267
2269
|
this.t8_1 = 1;
|
|
2268
|
-
if (get_isFinished(this.
|
|
2270
|
+
if (get_isFinished(this.ca0_1.state) || get_isFinishing(this.ca0_1.state)) {
|
|
2269
2271
|
return Unit_instance;
|
|
2270
2272
|
}
|
|
2271
|
-
if (!get_isCreated(this.
|
|
2272
|
-
this.
|
|
2273
|
+
if (!get_isCreated(this.ca0_1.state) || !this.y9z_1.t66().y6r()) {
|
|
2274
|
+
this.y9z_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.z9z_1 + ' before game is created');
|
|
2273
2275
|
return Unit_instance;
|
|
2274
2276
|
}
|
|
2275
|
-
var tmp_0 = this.
|
|
2277
|
+
var tmp_0 = this.ca0_1.dispatch;
|
|
2276
2278
|
var tmp_1;
|
|
2277
|
-
if (this.
|
|
2279
|
+
if (this.aa0_1) {
|
|
2278
2280
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2279
2281
|
} else {
|
|
2280
2282
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2281
2283
|
}
|
|
2282
2284
|
var tmp0_connectionState = tmp_1;
|
|
2283
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2285
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.z9z_1));
|
|
2284
2286
|
return Unit_instance;
|
|
2285
2287
|
} else if (tmp === 1) {
|
|
2286
2288
|
throw this.v8_1;
|
|
@@ -2291,39 +2293,39 @@
|
|
|
2291
2293
|
}
|
|
2292
2294
|
while (true);
|
|
2293
2295
|
};
|
|
2294
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2295
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2296
|
-
i.
|
|
2297
|
-
i.
|
|
2296
|
+
protoOf(GameServer$playerLeft$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2297
|
+
var i = new GameServer$playerLeft$slambda(this.y9z_1, this.z9z_1, this.aa0_1, completion);
|
|
2298
|
+
i.ba0_1 = $this$dispatchAsync;
|
|
2299
|
+
i.ca0_1 = store;
|
|
2298
2300
|
return i;
|
|
2299
2301
|
};
|
|
2300
2302
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2301
2303
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2302
2304
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2303
|
-
return i.
|
|
2305
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2304
2306
|
};
|
|
2305
2307
|
l.$arity = 2;
|
|
2306
2308
|
return l;
|
|
2307
2309
|
}
|
|
2308
2310
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2309
|
-
this.
|
|
2310
|
-
this.
|
|
2311
|
-
this.
|
|
2312
|
-
this.
|
|
2313
|
-
this.
|
|
2314
|
-
this.
|
|
2315
|
-
this.
|
|
2311
|
+
this.la0_1 = $usersArray;
|
|
2312
|
+
this.ma0_1 = $config;
|
|
2313
|
+
this.na0_1 = this$0;
|
|
2314
|
+
this.oa0_1 = $roomId;
|
|
2315
|
+
this.pa0_1 = $transition;
|
|
2316
|
+
this.qa0_1 = $gameCreatorId;
|
|
2317
|
+
this.ra0_1 = $spectators;
|
|
2316
2318
|
CoroutineImpl.call(this, resultContinuation);
|
|
2317
2319
|
}
|
|
2318
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2319
|
-
var tmp = this.
|
|
2320
|
+
protoOf(GameServer$roomOnCreate$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2321
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2320
2322
|
tmp.u8_1 = Unit_instance;
|
|
2321
2323
|
tmp.v8_1 = null;
|
|
2322
2324
|
return tmp.a9();
|
|
2323
2325
|
};
|
|
2324
2326
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2325
2327
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2326
|
-
return this.
|
|
2328
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2327
2329
|
};
|
|
2328
2330
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2329
2331
|
var suspendResult = this.u8_1;
|
|
@@ -2332,28 +2334,28 @@
|
|
|
2332
2334
|
var tmp = this.s8_1;
|
|
2333
2335
|
if (tmp === 0) {
|
|
2334
2336
|
this.t8_1 = 1;
|
|
2335
|
-
var users = toList(this.
|
|
2336
|
-
if (!(this.
|
|
2337
|
-
this.
|
|
2338
|
-
this.
|
|
2337
|
+
var users = toList(this.la0_1);
|
|
2338
|
+
if (!(this.ma0_1.playersMode.count === users.o())) {
|
|
2339
|
+
this.na0_1.h4q().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.oa0_1 + ', config = ' + this.ma0_1.toString() + ', users = ' + toString(users));
|
|
2340
|
+
this.ta0_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.na0_1.table.isGameFinished, this.na0_1.table));
|
|
2339
2341
|
return Unit_instance;
|
|
2340
2342
|
}
|
|
2341
2343
|
var tmp_0;
|
|
2342
|
-
if (this.
|
|
2343
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2344
|
+
if (this.ma0_1.mode.shufflePlayers && this.pa0_1 == null) {
|
|
2345
|
+
tmp_0 = _get_random__h29cgo(this.na0_1).q5d(toMutableList(users));
|
|
2344
2346
|
} else {
|
|
2345
|
-
var tmp0_safe_receiver = this.
|
|
2347
|
+
var tmp0_safe_receiver = this.pa0_1;
|
|
2346
2348
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2347
2349
|
var tmp_1;
|
|
2348
|
-
if (!(previousPlayers == null) && this.
|
|
2349
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2350
|
+
if (!(previousPlayers == null) && this.ma0_1.playersMode.isTeamGame) {
|
|
2351
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.na0_1);
|
|
2350
2352
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2351
2353
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2352
2354
|
while (_iterator__ex2g4s.m()) {
|
|
2353
2355
|
var item = _iterator__ex2g4s.n();
|
|
2354
2356
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2355
2357
|
}
|
|
2356
|
-
var previousTeams = tmp_2.
|
|
2358
|
+
var previousTeams = tmp_2.d8p(destination);
|
|
2357
2359
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2358
2360
|
var _iterator__ex2g4s_0 = users.l();
|
|
2359
2361
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2377,19 +2379,19 @@
|
|
|
2377
2379
|
destination_1.j(destination_2);
|
|
2378
2380
|
}
|
|
2379
2381
|
var updatedTeams = destination_1;
|
|
2380
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2382
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.na0_1).h8p(updatedTeams);
|
|
2381
2383
|
} else {
|
|
2382
2384
|
tmp_1 = users;
|
|
2383
2385
|
}
|
|
2384
2386
|
tmp_0 = tmp_1;
|
|
2385
2387
|
}
|
|
2386
2388
|
var updatedUsers = tmp_0;
|
|
2387
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2388
|
-
var tmp_3 = this.
|
|
2389
|
+
var gameCreatorUser = getPlayer(users, this.qa0_1);
|
|
2390
|
+
var tmp_3 = this.ta0_1.dispatch;
|
|
2389
2391
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2390
2392
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2391
|
-
var tmp3_spectators = toList(this.
|
|
2392
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2393
|
+
var tmp3_spectators = toList(this.ra0_1);
|
|
2394
|
+
tmp_3(new StartGameMechanicAction(this.ma0_1, this.oa0_1, tmp1_version, this.qa0_1, tmp2_users, VOID, tmp3_spectators));
|
|
2393
2395
|
return Unit_instance;
|
|
2394
2396
|
} else if (tmp === 1) {
|
|
2395
2397
|
throw this.v8_1;
|
|
@@ -2400,33 +2402,33 @@
|
|
|
2400
2402
|
}
|
|
2401
2403
|
while (true);
|
|
2402
2404
|
};
|
|
2403
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2404
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2405
|
-
i.
|
|
2406
|
-
i.
|
|
2405
|
+
protoOf(GameServer$roomOnCreate$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2406
|
+
var i = new GameServer$roomOnCreate$slambda(this.la0_1, this.ma0_1, this.na0_1, this.oa0_1, this.pa0_1, this.qa0_1, this.ra0_1, completion);
|
|
2407
|
+
i.sa0_1 = $this$dispatchAsync;
|
|
2408
|
+
i.ta0_1 = store;
|
|
2407
2409
|
return i;
|
|
2408
2410
|
};
|
|
2409
2411
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2410
2412
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2411
2413
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2412
|
-
return i.
|
|
2414
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2413
2415
|
};
|
|
2414
2416
|
l.$arity = 2;
|
|
2415
2417
|
return l;
|
|
2416
2418
|
}
|
|
2417
2419
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2418
|
-
this.
|
|
2420
|
+
this.ca1_1 = $state;
|
|
2419
2421
|
CoroutineImpl.call(this, resultContinuation);
|
|
2420
2422
|
}
|
|
2421
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2422
|
-
var tmp = this.
|
|
2423
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).fa1 = function ($this$dispatchAwait, store, $completion) {
|
|
2424
|
+
var tmp = this.s9y($this$dispatchAwait, store, $completion);
|
|
2423
2425
|
tmp.u8_1 = Unit_instance;
|
|
2424
2426
|
tmp.v8_1 = null;
|
|
2425
2427
|
return tmp.a9();
|
|
2426
2428
|
};
|
|
2427
2429
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2428
2430
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2429
|
-
return this.
|
|
2431
|
+
return this.fa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2430
2432
|
};
|
|
2431
2433
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2432
2434
|
var suspendResult = this.u8_1;
|
|
@@ -2435,10 +2437,10 @@
|
|
|
2435
2437
|
var tmp = this.s8_1;
|
|
2436
2438
|
if (tmp === 0) {
|
|
2437
2439
|
this.t8_1 = 1;
|
|
2438
|
-
if (get_isCreating(this.
|
|
2439
|
-
var tmp_0 = this.
|
|
2440
|
+
if (get_isCreating(this.ea1_1.state)) {
|
|
2441
|
+
var tmp_0 = this.ea1_1.dispatch;
|
|
2440
2442
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2441
|
-
var tmp1_table = this.
|
|
2443
|
+
var tmp1_table = this.ca1_1.table;
|
|
2442
2444
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2443
2445
|
return true;
|
|
2444
2446
|
}
|
|
@@ -2452,34 +2454,34 @@
|
|
|
2452
2454
|
}
|
|
2453
2455
|
while (true);
|
|
2454
2456
|
};
|
|
2455
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2456
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2457
|
-
i.
|
|
2458
|
-
i.
|
|
2457
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).s9y = function ($this$dispatchAwait, store, completion) {
|
|
2458
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ca1_1, completion);
|
|
2459
|
+
i.da1_1 = $this$dispatchAwait;
|
|
2460
|
+
i.ea1_1 = store;
|
|
2459
2461
|
return i;
|
|
2460
2462
|
};
|
|
2461
2463
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2462
2464
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2463
2465
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2464
|
-
return i.
|
|
2466
|
+
return i.fa1($this$dispatchAwait, store, $completion);
|
|
2465
2467
|
};
|
|
2466
2468
|
l.$arity = 2;
|
|
2467
2469
|
return l;
|
|
2468
2470
|
}
|
|
2469
2471
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2470
|
-
this.
|
|
2471
|
-
this.
|
|
2472
|
+
this.oa1_1 = $isCreated;
|
|
2473
|
+
this.pa1_1 = $state;
|
|
2472
2474
|
CoroutineImpl.call(this, resultContinuation);
|
|
2473
2475
|
}
|
|
2474
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2475
|
-
var tmp = this.
|
|
2476
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2477
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2476
2478
|
tmp.u8_1 = Unit_instance;
|
|
2477
2479
|
tmp.v8_1 = null;
|
|
2478
2480
|
return tmp.a9();
|
|
2479
2481
|
};
|
|
2480
2482
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2481
2483
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2482
|
-
return this.
|
|
2484
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2483
2485
|
};
|
|
2484
2486
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2485
2487
|
var suspendResult = this.u8_1;
|
|
@@ -2490,7 +2492,7 @@
|
|
|
2490
2492
|
case 0:
|
|
2491
2493
|
this.t8_1 = 3;
|
|
2492
2494
|
this.s8_1 = 1;
|
|
2493
|
-
suspendResult = this.
|
|
2495
|
+
suspendResult = this.oa1_1.z1t(this);
|
|
2494
2496
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2495
2497
|
return suspendResult;
|
|
2496
2498
|
}
|
|
@@ -2498,10 +2500,10 @@
|
|
|
2498
2500
|
continue $sm;
|
|
2499
2501
|
case 1:
|
|
2500
2502
|
if (suspendResult) {
|
|
2501
|
-
var _iterator__ex2g4s = this.
|
|
2503
|
+
var _iterator__ex2g4s = this.pa1_1.actions.l();
|
|
2502
2504
|
while (_iterator__ex2g4s.m()) {
|
|
2503
2505
|
var element = _iterator__ex2g4s.n();
|
|
2504
|
-
this.
|
|
2506
|
+
this.ra1_1.dispatch(element);
|
|
2505
2507
|
}
|
|
2506
2508
|
this.s8_1 = 2;
|
|
2507
2509
|
continue $sm;
|
|
@@ -2526,35 +2528,35 @@
|
|
|
2526
2528
|
}
|
|
2527
2529
|
while (true);
|
|
2528
2530
|
};
|
|
2529
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2530
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2531
|
-
i.
|
|
2532
|
-
i.
|
|
2531
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2532
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.oa1_1, this.pa1_1, completion);
|
|
2533
|
+
i.qa1_1 = $this$dispatchAsync;
|
|
2534
|
+
i.ra1_1 = store;
|
|
2533
2535
|
return i;
|
|
2534
2536
|
};
|
|
2535
2537
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2536
2538
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2537
2539
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2538
|
-
return i.
|
|
2540
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2539
2541
|
};
|
|
2540
2542
|
l.$arity = 2;
|
|
2541
2543
|
return l;
|
|
2542
2544
|
}
|
|
2543
2545
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2544
|
-
this.
|
|
2545
|
-
this.
|
|
2546
|
-
this.
|
|
2546
|
+
this.aa2_1 = $tableLite;
|
|
2547
|
+
this.ba2_1 = $roomId;
|
|
2548
|
+
this.ca2_1 = this$0;
|
|
2547
2549
|
CoroutineImpl.call(this, resultContinuation);
|
|
2548
2550
|
}
|
|
2549
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2550
|
-
var tmp = this.
|
|
2551
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2552
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2551
2553
|
tmp.u8_1 = Unit_instance;
|
|
2552
2554
|
tmp.v8_1 = null;
|
|
2553
2555
|
return tmp.a9();
|
|
2554
2556
|
};
|
|
2555
2557
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2556
2558
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2557
|
-
return this.
|
|
2559
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2558
2560
|
};
|
|
2559
2561
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2560
2562
|
var suspendResult = this.u8_1;
|
|
@@ -2563,9 +2565,9 @@
|
|
|
2563
2565
|
var tmp = this.s8_1;
|
|
2564
2566
|
if (tmp === 0) {
|
|
2565
2567
|
this.t8_1 = 1;
|
|
2566
|
-
var tmp_0 = this.
|
|
2567
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2568
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2568
|
+
var tmp_0 = this.ea2_1.dispatch;
|
|
2569
|
+
var tmp0_reason = new RestartRoundReason(this.aa2_1.gameInfo.round.roundNumber);
|
|
2570
|
+
var tmp1_table = Companion_instance_0.restartRound(this.ba2_1, _get_idsProvider__fnfajc(this.ca2_1).d6e(), get_versionOrDefault(GameEngineConfig_instance), this.aa2_1);
|
|
2569
2571
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2570
2572
|
return Unit_instance;
|
|
2571
2573
|
} else if (tmp === 1) {
|
|
@@ -2577,16 +2579,16 @@
|
|
|
2577
2579
|
}
|
|
2578
2580
|
while (true);
|
|
2579
2581
|
};
|
|
2580
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2581
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2582
|
-
i.
|
|
2583
|
-
i.
|
|
2582
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2583
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.aa2_1, this.ba2_1, this.ca2_1, completion);
|
|
2584
|
+
i.da2_1 = $this$dispatchAsync;
|
|
2585
|
+
i.ea2_1 = store;
|
|
2584
2586
|
return i;
|
|
2585
2587
|
};
|
|
2586
2588
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2587
2589
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2588
2590
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2589
|
-
return i.
|
|
2591
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2590
2592
|
};
|
|
2591
2593
|
l.$arity = 2;
|
|
2592
2594
|
return l;
|
|
@@ -2594,15 +2596,15 @@
|
|
|
2594
2596
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2595
2597
|
CoroutineImpl.call(this, resultContinuation);
|
|
2596
2598
|
}
|
|
2597
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2598
|
-
var tmp = this.
|
|
2599
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2600
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2599
2601
|
tmp.u8_1 = Unit_instance;
|
|
2600
2602
|
tmp.v8_1 = null;
|
|
2601
2603
|
return tmp.a9();
|
|
2602
2604
|
};
|
|
2603
2605
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2604
2606
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2605
|
-
return this.
|
|
2607
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2606
2608
|
};
|
|
2607
2609
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2608
2610
|
var suspendResult = this.u8_1;
|
|
@@ -2611,7 +2613,7 @@
|
|
|
2611
2613
|
var tmp = this.s8_1;
|
|
2612
2614
|
if (tmp === 0) {
|
|
2613
2615
|
this.t8_1 = 1;
|
|
2614
|
-
this.
|
|
2616
|
+
this.oa2_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2615
2617
|
return Unit_instance;
|
|
2616
2618
|
} else if (tmp === 1) {
|
|
2617
2619
|
throw this.v8_1;
|
|
@@ -2622,33 +2624,33 @@
|
|
|
2622
2624
|
}
|
|
2623
2625
|
while (true);
|
|
2624
2626
|
};
|
|
2625
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2627
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2626
2628
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2627
|
-
i.
|
|
2628
|
-
i.
|
|
2629
|
+
i.na2_1 = $this$dispatchAsync;
|
|
2630
|
+
i.oa2_1 = store;
|
|
2629
2631
|
return i;
|
|
2630
2632
|
};
|
|
2631
2633
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2632
2634
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2633
2635
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2634
|
-
return i.
|
|
2636
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2635
2637
|
};
|
|
2636
2638
|
l.$arity = 2;
|
|
2637
2639
|
return l;
|
|
2638
2640
|
}
|
|
2639
2641
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2640
|
-
this.
|
|
2642
|
+
this.xa2_1 = $spectators;
|
|
2641
2643
|
CoroutineImpl.call(this, resultContinuation);
|
|
2642
2644
|
}
|
|
2643
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2644
|
-
var tmp = this.
|
|
2645
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2646
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2645
2647
|
tmp.u8_1 = Unit_instance;
|
|
2646
2648
|
tmp.v8_1 = null;
|
|
2647
2649
|
return tmp.a9();
|
|
2648
2650
|
};
|
|
2649
2651
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2650
2652
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2651
|
-
return this.
|
|
2653
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2652
2654
|
};
|
|
2653
2655
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2654
2656
|
var suspendResult = this.u8_1;
|
|
@@ -2657,7 +2659,7 @@
|
|
|
2657
2659
|
var tmp = this.s8_1;
|
|
2658
2660
|
if (tmp === 0) {
|
|
2659
2661
|
this.t8_1 = 1;
|
|
2660
|
-
this.
|
|
2662
|
+
this.za2_1.dispatch(new AddSpectatorsAction(toList(this.xa2_1)));
|
|
2661
2663
|
return Unit_instance;
|
|
2662
2664
|
} else if (tmp === 1) {
|
|
2663
2665
|
throw this.v8_1;
|
|
@@ -2668,33 +2670,33 @@
|
|
|
2668
2670
|
}
|
|
2669
2671
|
while (true);
|
|
2670
2672
|
};
|
|
2671
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2672
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2673
|
-
i.
|
|
2674
|
-
i.
|
|
2673
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2674
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.xa2_1, completion);
|
|
2675
|
+
i.ya2_1 = $this$dispatchAsync;
|
|
2676
|
+
i.za2_1 = store;
|
|
2675
2677
|
return i;
|
|
2676
2678
|
};
|
|
2677
2679
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2678
2680
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2679
2681
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2680
|
-
return i.
|
|
2682
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2681
2683
|
};
|
|
2682
2684
|
l.$arity = 2;
|
|
2683
2685
|
return l;
|
|
2684
2686
|
}
|
|
2685
2687
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2686
|
-
this.
|
|
2688
|
+
this.ia3_1 = $spectators;
|
|
2687
2689
|
CoroutineImpl.call(this, resultContinuation);
|
|
2688
2690
|
}
|
|
2689
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2690
|
-
var tmp = this.
|
|
2691
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2692
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2691
2693
|
tmp.u8_1 = Unit_instance;
|
|
2692
2694
|
tmp.v8_1 = null;
|
|
2693
2695
|
return tmp.a9();
|
|
2694
2696
|
};
|
|
2695
2697
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2696
2698
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2697
|
-
return this.
|
|
2699
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2698
2700
|
};
|
|
2699
2701
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2700
2702
|
var suspendResult = this.u8_1;
|
|
@@ -2703,7 +2705,7 @@
|
|
|
2703
2705
|
var tmp = this.s8_1;
|
|
2704
2706
|
if (tmp === 0) {
|
|
2705
2707
|
this.t8_1 = 1;
|
|
2706
|
-
this.
|
|
2708
|
+
this.ka3_1.dispatch(new RemoveSpectatorsAction(toList(this.ia3_1)));
|
|
2707
2709
|
return Unit_instance;
|
|
2708
2710
|
} else if (tmp === 1) {
|
|
2709
2711
|
throw this.v8_1;
|
|
@@ -2714,34 +2716,34 @@
|
|
|
2714
2716
|
}
|
|
2715
2717
|
while (true);
|
|
2716
2718
|
};
|
|
2717
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2718
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2719
|
-
i.
|
|
2720
|
-
i.
|
|
2719
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2720
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ia3_1, completion);
|
|
2721
|
+
i.ja3_1 = $this$dispatchAsync;
|
|
2722
|
+
i.ka3_1 = store;
|
|
2721
2723
|
return i;
|
|
2722
2724
|
};
|
|
2723
2725
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2724
2726
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2725
2727
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2726
|
-
return i.
|
|
2728
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2727
2729
|
};
|
|
2728
2730
|
l.$arity = 2;
|
|
2729
2731
|
return l;
|
|
2730
2732
|
}
|
|
2731
2733
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2732
|
-
this.
|
|
2733
|
-
this.
|
|
2734
|
+
this.ta3_1 = $playerId;
|
|
2735
|
+
this.ua3_1 = this$0;
|
|
2734
2736
|
CoroutineImpl.call(this, resultContinuation);
|
|
2735
2737
|
}
|
|
2736
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2737
|
-
var tmp = this.
|
|
2738
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2739
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2738
2740
|
tmp.u8_1 = Unit_instance;
|
|
2739
2741
|
tmp.v8_1 = null;
|
|
2740
2742
|
return tmp.a9();
|
|
2741
2743
|
};
|
|
2742
2744
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2743
2745
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2744
|
-
return this.
|
|
2746
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2745
2747
|
};
|
|
2746
2748
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2747
2749
|
var suspendResult = this.u8_1;
|
|
@@ -2750,14 +2752,14 @@
|
|
|
2750
2752
|
var tmp = this.s8_1;
|
|
2751
2753
|
if (tmp === 0) {
|
|
2752
2754
|
this.t8_1 = 1;
|
|
2753
|
-
var table = this.
|
|
2754
|
-
var player = getPlayer(table.players, this.
|
|
2755
|
-
if (player.
|
|
2756
|
-
this.
|
|
2755
|
+
var table = this.wa3_1.state.w6r();
|
|
2756
|
+
var player = getPlayer(table.players, this.ta3_1);
|
|
2757
|
+
if (player.g6v_1.y68().n67_1.isLive) {
|
|
2758
|
+
this.wa3_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ua3_1).y8v(player, table));
|
|
2757
2759
|
} else {
|
|
2758
|
-
var tmp_0 = this.
|
|
2760
|
+
var tmp_0 = this.wa3_1.dispatch;
|
|
2759
2761
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2760
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2762
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ta3_1));
|
|
2761
2763
|
}
|
|
2762
2764
|
return Unit_instance;
|
|
2763
2765
|
} else if (tmp === 1) {
|
|
@@ -2769,34 +2771,34 @@
|
|
|
2769
2771
|
}
|
|
2770
2772
|
while (true);
|
|
2771
2773
|
};
|
|
2772
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2773
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2774
|
-
i.
|
|
2775
|
-
i.
|
|
2774
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2775
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.ta3_1, this.ua3_1, completion);
|
|
2776
|
+
i.va3_1 = $this$dispatchAsync;
|
|
2777
|
+
i.wa3_1 = store;
|
|
2776
2778
|
return i;
|
|
2777
2779
|
};
|
|
2778
2780
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2779
2781
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2780
2782
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2781
|
-
return i.
|
|
2783
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2782
2784
|
};
|
|
2783
2785
|
l.$arity = 2;
|
|
2784
2786
|
return l;
|
|
2785
2787
|
}
|
|
2786
2788
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2787
|
-
this.
|
|
2788
|
-
this.
|
|
2789
|
+
this.fa4_1 = this$0;
|
|
2790
|
+
this.ga4_1 = $newRid;
|
|
2789
2791
|
CoroutineImpl.call(this, resultContinuation);
|
|
2790
2792
|
}
|
|
2791
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2792
|
-
var tmp = this.
|
|
2793
|
+
protoOf(GameServer$roomOnDelete$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2794
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2793
2795
|
tmp.u8_1 = Unit_instance;
|
|
2794
2796
|
tmp.v8_1 = null;
|
|
2795
2797
|
return tmp.a9();
|
|
2796
2798
|
};
|
|
2797
2799
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2798
2800
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2799
|
-
return this.
|
|
2801
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2800
2802
|
};
|
|
2801
2803
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2802
2804
|
var suspendResult = this.u8_1;
|
|
@@ -2805,27 +2807,27 @@
|
|
|
2805
2807
|
var tmp = this.s8_1;
|
|
2806
2808
|
if (tmp === 0) {
|
|
2807
2809
|
this.t8_1 = 1;
|
|
2808
|
-
var it = this.
|
|
2810
|
+
var it = this.fa4_1.t66().w6q_1;
|
|
2809
2811
|
var tmp_0;
|
|
2810
2812
|
if (it == null) {
|
|
2811
|
-
this.
|
|
2813
|
+
this.fa4_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2812
2814
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2813
2815
|
} else {
|
|
2814
2816
|
tmp_0 = it;
|
|
2815
2817
|
}
|
|
2816
2818
|
var terminationState = tmp_0;
|
|
2817
|
-
var gameTransition = terminationState.
|
|
2819
|
+
var gameTransition = terminationState.v8z_1;
|
|
2818
2820
|
var tmp_1;
|
|
2819
2821
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2820
|
-
var tmp0_elvis_lhs = this.
|
|
2822
|
+
var tmp0_elvis_lhs = this.ga4_1;
|
|
2821
2823
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2822
2824
|
} else {
|
|
2823
2825
|
tmp_1 = gameTransition;
|
|
2824
2826
|
}
|
|
2825
2827
|
var transition = tmp_1;
|
|
2826
|
-
var tmp_2 = this.
|
|
2827
|
-
var tmp0_reason = terminationState.
|
|
2828
|
-
var tmp1_isGameFinished = this.
|
|
2828
|
+
var tmp_2 = this.ia4_1.dispatch;
|
|
2829
|
+
var tmp0_reason = terminationState.u8z_1;
|
|
2830
|
+
var tmp1_isGameFinished = this.fa4_1.t66().w6r().isGameFinished;
|
|
2829
2831
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2830
2832
|
return Unit_instance;
|
|
2831
2833
|
} else if (tmp === 1) {
|
|
@@ -2837,33 +2839,33 @@
|
|
|
2837
2839
|
}
|
|
2838
2840
|
while (true);
|
|
2839
2841
|
};
|
|
2840
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2841
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2842
|
-
i.
|
|
2843
|
-
i.
|
|
2842
|
+
protoOf(GameServer$roomOnDelete$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2843
|
+
var i = new GameServer$roomOnDelete$slambda(this.fa4_1, this.ga4_1, completion);
|
|
2844
|
+
i.ha4_1 = $this$dispatchAsync;
|
|
2845
|
+
i.ia4_1 = store;
|
|
2844
2846
|
return i;
|
|
2845
2847
|
};
|
|
2846
2848
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2847
2849
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2848
2850
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2849
|
-
return i.
|
|
2851
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2850
2852
|
};
|
|
2851
2853
|
l.$arity = 2;
|
|
2852
2854
|
return l;
|
|
2853
2855
|
}
|
|
2854
2856
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2855
|
-
this.
|
|
2857
|
+
this.ra4_1 = $enabled;
|
|
2856
2858
|
CoroutineImpl.call(this, resultContinuation);
|
|
2857
2859
|
}
|
|
2858
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2859
|
-
var tmp = this.
|
|
2860
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2861
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2860
2862
|
tmp.u8_1 = Unit_instance;
|
|
2861
2863
|
tmp.v8_1 = null;
|
|
2862
2864
|
return tmp.a9();
|
|
2863
2865
|
};
|
|
2864
2866
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
2865
2867
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2866
|
-
return this.
|
|
2868
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2867
2869
|
};
|
|
2868
2870
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
2869
2871
|
var suspendResult = this.u8_1;
|
|
@@ -2872,7 +2874,7 @@
|
|
|
2872
2874
|
var tmp = this.s8_1;
|
|
2873
2875
|
if (tmp === 0) {
|
|
2874
2876
|
this.t8_1 = 1;
|
|
2875
|
-
this.
|
|
2877
|
+
this.ta4_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ta4_1.state).config.copy(VOID, !this.ra4_1)));
|
|
2876
2878
|
return Unit_instance;
|
|
2877
2879
|
} else if (tmp === 1) {
|
|
2878
2880
|
throw this.v8_1;
|
|
@@ -2883,35 +2885,35 @@
|
|
|
2883
2885
|
}
|
|
2884
2886
|
while (true);
|
|
2885
2887
|
};
|
|
2886
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2887
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2888
|
-
i.
|
|
2889
|
-
i.
|
|
2888
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2889
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ra4_1, completion);
|
|
2890
|
+
i.sa4_1 = $this$dispatchAsync;
|
|
2891
|
+
i.ta4_1 = store;
|
|
2890
2892
|
return i;
|
|
2891
2893
|
};
|
|
2892
2894
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2893
2895
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2894
2896
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2895
|
-
return i.
|
|
2897
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2896
2898
|
};
|
|
2897
2899
|
l.$arity = 2;
|
|
2898
2900
|
return l;
|
|
2899
2901
|
}
|
|
2900
2902
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2903
|
+
this.ca5_1 = $reason;
|
|
2904
|
+
this.da5_1 = this$0;
|
|
2905
|
+
this.ea5_1 = $roomId;
|
|
2904
2906
|
CoroutineImpl.call(this, resultContinuation);
|
|
2905
2907
|
}
|
|
2906
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2907
|
-
var tmp = this.
|
|
2908
|
+
protoOf(GameServer$shutdown$slambda).r9y = function ($this$dispatchAsync, store, $completion) {
|
|
2909
|
+
var tmp = this.s9y($this$dispatchAsync, store, $completion);
|
|
2908
2910
|
tmp.u8_1 = Unit_instance;
|
|
2909
2911
|
tmp.v8_1 = null;
|
|
2910
2912
|
return tmp.a9();
|
|
2911
2913
|
};
|
|
2912
2914
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
2913
2915
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2914
|
-
return this.
|
|
2916
|
+
return this.r9y(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2915
2917
|
};
|
|
2916
2918
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
2917
2919
|
var suspendResult = this.u8_1;
|
|
@@ -2920,11 +2922,11 @@
|
|
|
2920
2922
|
var tmp = this.s8_1;
|
|
2921
2923
|
if (tmp === 0) {
|
|
2922
2924
|
this.t8_1 = 1;
|
|
2923
|
-
var state = this.
|
|
2924
|
-
if (state.
|
|
2925
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2925
|
+
var state = this.ga5_1.store.state;
|
|
2926
|
+
if (state.y6r()) {
|
|
2927
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ca5_1, get_serverShutdownReasonMapping());
|
|
2926
2928
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2927
|
-
var tmp_0 = this.
|
|
2929
|
+
var tmp_0 = this.ga5_1.dispatch;
|
|
2928
2930
|
var tmp_1 = Companion_instance;
|
|
2929
2931
|
var tmp_2;
|
|
2930
2932
|
switch (shutdownReason.q2_1) {
|
|
@@ -2938,12 +2940,12 @@
|
|
|
2938
2940
|
noWhenBranchMatchedException();
|
|
2939
2941
|
break;
|
|
2940
2942
|
}
|
|
2941
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2943
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.da5_1.table.isGameFinished, this.da5_1.table));
|
|
2942
2944
|
} else {
|
|
2943
|
-
this.
|
|
2944
|
-
var tmp_3 = this.
|
|
2945
|
+
this.da5_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ea5_1);
|
|
2946
|
+
var tmp_3 = this.ga5_1.dispatch;
|
|
2945
2947
|
var tmp2_safe_receiver = state.w6q_1;
|
|
2946
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2948
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.v8z_1));
|
|
2947
2949
|
}
|
|
2948
2950
|
return Unit_instance;
|
|
2949
2951
|
} else if (tmp === 1) {
|
|
@@ -2955,16 +2957,16 @@
|
|
|
2955
2957
|
}
|
|
2956
2958
|
while (true);
|
|
2957
2959
|
};
|
|
2958
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2959
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2960
|
-
i.
|
|
2961
|
-
i.
|
|
2960
|
+
protoOf(GameServer$shutdown$slambda).s9y = function ($this$dispatchAsync, store, completion) {
|
|
2961
|
+
var i = new GameServer$shutdown$slambda(this.ca5_1, this.da5_1, this.ea5_1, completion);
|
|
2962
|
+
i.fa5_1 = $this$dispatchAsync;
|
|
2963
|
+
i.ga5_1 = store;
|
|
2962
2964
|
return i;
|
|
2963
2965
|
};
|
|
2964
2966
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2965
2967
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2966
2968
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2967
|
-
return i.
|
|
2969
|
+
return i.r9y($this$dispatchAsync, store, $completion);
|
|
2968
2970
|
};
|
|
2969
2971
|
l.$arity = 2;
|
|
2970
2972
|
return l;
|
|
@@ -2995,7 +2997,7 @@
|
|
|
2995
2997
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2996
2998
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2997
2999
|
var tmp_4 = KProperty1;
|
|
2998
|
-
tmp_1.
|
|
3000
|
+
tmp_1.k9v_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2999
3001
|
var tmp_5 = this;
|
|
3000
3002
|
// Inline function 'org.kodein.di.instance' call
|
|
3001
3003
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3003,7 +3005,7 @@
|
|
|
3003
3005
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3004
3006
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3005
3007
|
var tmp_8 = KProperty1;
|
|
3006
|
-
tmp_5.
|
|
3008
|
+
tmp_5.l9v_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3007
3009
|
var tmp_9 = this;
|
|
3008
3010
|
// Inline function 'org.kodein.di.instance' call
|
|
3009
3011
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3011,7 +3013,7 @@
|
|
|
3011
3013
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3012
3014
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3013
3015
|
var tmp_12 = KProperty1;
|
|
3014
|
-
tmp_9.
|
|
3016
|
+
tmp_9.m9v_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3015
3017
|
var tmp_13 = this;
|
|
3016
3018
|
// Inline function 'org.kodein.di.instance' call
|
|
3017
3019
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3019,9 +3021,9 @@
|
|
|
3019
3021
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3020
3022
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3021
3023
|
var tmp_16 = KProperty1;
|
|
3022
|
-
tmp_13.
|
|
3024
|
+
tmp_13.n9v_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3023
3025
|
var tmp_17 = this;
|
|
3024
|
-
tmp_17.
|
|
3026
|
+
tmp_17.o9v_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3025
3027
|
var tmp_18 = this;
|
|
3026
3028
|
// Inline function 'org.kodein.di.instance' call
|
|
3027
3029
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3029,7 +3031,7 @@
|
|
|
3029
3031
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
3030
3032
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
3031
3033
|
var tmp_21 = KProperty1;
|
|
3032
|
-
tmp_18.
|
|
3034
|
+
tmp_18.p9v_1 = tmp_20.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3033
3035
|
var tmp_22 = this;
|
|
3034
3036
|
// Inline function 'org.kodein.di.instance' call
|
|
3035
3037
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3037,7 +3039,7 @@
|
|
|
3037
3039
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3038
3040
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3039
3041
|
var tmp_25 = KProperty1;
|
|
3040
|
-
tmp_22.
|
|
3042
|
+
tmp_22.q9v_1 = tmp_24.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3041
3043
|
var tmp_26 = this;
|
|
3042
3044
|
// Inline function 'org.kodein.di.instance' call
|
|
3043
3045
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3045,16 +3047,16 @@
|
|
|
3045
3047
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3046
3048
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3047
3049
|
var tmp_29 = KProperty1;
|
|
3048
|
-
tmp_26.
|
|
3050
|
+
tmp_26.r9v_1 = tmp_28.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3049
3051
|
var tmp_30 = this;
|
|
3050
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3051
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3052
|
-
tmp_30.
|
|
3052
|
+
var tmp0_externalMiddlewares = plus(storeContract.o94(), externalMiddlewares);
|
|
3053
|
+
var tmp1_externalReducers = plus(storeContract.n94(), externalReducers);
|
|
3054
|
+
tmp_30.s9v_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3053
3055
|
}
|
|
3054
3056
|
protoOf(GameServer).m6q = function () {
|
|
3055
|
-
return this.
|
|
3057
|
+
return this.s9v_1;
|
|
3056
3058
|
};
|
|
3057
|
-
protoOf(GameServer).
|
|
3059
|
+
protoOf(GameServer).m8k = function () {
|
|
3058
3060
|
return get_serverStatePayload_0(this.t66()).metadata;
|
|
3059
3061
|
};
|
|
3060
3062
|
protoOf(GameServer).canReconnectPlayer = function (player) {
|
|
@@ -3062,7 +3064,7 @@
|
|
|
3062
3064
|
if (player_0 == null) {
|
|
3063
3065
|
return false;
|
|
3064
3066
|
}
|
|
3065
|
-
return player_0.
|
|
3067
|
+
return player_0.g6v_1.y68().n67_1.canReconnect;
|
|
3066
3068
|
};
|
|
3067
3069
|
protoOf(GameServer).y53 = function () {
|
|
3068
3070
|
return this.t66().w6r().id;
|
|
@@ -3071,9 +3073,12 @@
|
|
|
3071
3073
|
return this.t66().w6r();
|
|
3072
3074
|
};
|
|
3073
3075
|
protoOf(GameServer).x6r = function () {
|
|
3074
|
-
return this.t66().
|
|
3076
|
+
return this.t66().tableOrNull;
|
|
3075
3077
|
};
|
|
3076
3078
|
protoOf(GameServer).y6r = function () {
|
|
3079
|
+
return this.t66().y6r();
|
|
3080
|
+
};
|
|
3081
|
+
protoOf(GameServer).z6r = function () {
|
|
3077
3082
|
return this.t66().gameLifecycleState;
|
|
3078
3083
|
};
|
|
3079
3084
|
protoOf(GameServer).subscribeToClientAction = function (subscriber) {
|
|
@@ -3094,55 +3099,55 @@
|
|
|
3094
3099
|
};
|
|
3095
3100
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3096
3101
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3097
|
-
this.
|
|
3102
|
+
this.s9v_1.u6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3098
3103
|
};
|
|
3099
3104
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3100
3105
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3101
|
-
this.
|
|
3106
|
+
this.s9v_1.u6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3102
3107
|
};
|
|
3103
3108
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3104
3109
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3105
|
-
this.
|
|
3110
|
+
this.s9v_1.u6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3106
3111
|
};
|
|
3107
|
-
protoOf(GameServer).
|
|
3112
|
+
protoOf(GameServer).ha5 = function (playerId, permanently) {
|
|
3108
3113
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3109
|
-
this.
|
|
3114
|
+
this.s9v_1.u6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3110
3115
|
};
|
|
3111
|
-
protoOf(GameServer).
|
|
3116
|
+
protoOf(GameServer).ia5 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3112
3117
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3113
|
-
this.
|
|
3118
|
+
this.s9v_1.u6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3114
3119
|
};
|
|
3115
3120
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3116
3121
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3117
|
-
var isCreated = this.
|
|
3118
|
-
this.
|
|
3122
|
+
var isCreated = this.s9v_1.v6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3123
|
+
this.s9v_1.u6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3119
3124
|
};
|
|
3120
3125
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3121
3126
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3122
|
-
this.
|
|
3123
|
-
this.
|
|
3127
|
+
this.s9v_1.u6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3128
|
+
this.s9v_1.u6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3124
3129
|
};
|
|
3125
3130
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3126
|
-
this.
|
|
3131
|
+
this.s9v_1.u6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3127
3132
|
};
|
|
3128
3133
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3129
|
-
this.
|
|
3134
|
+
this.s9v_1.u6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3130
3135
|
};
|
|
3131
3136
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3132
3137
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3133
|
-
this.
|
|
3138
|
+
this.s9v_1.u6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3134
3139
|
};
|
|
3135
|
-
protoOf(GameServer).
|
|
3140
|
+
protoOf(GameServer).ja5 = function (newRid) {
|
|
3136
3141
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3137
|
-
this.
|
|
3142
|
+
this.s9v_1.u6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3138
3143
|
};
|
|
3139
3144
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3140
3145
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3141
|
-
this.
|
|
3146
|
+
this.s9v_1.u6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3142
3147
|
};
|
|
3143
|
-
protoOf(GameServer).
|
|
3148
|
+
protoOf(GameServer).ka5 = function (reason, roomId) {
|
|
3144
3149
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3145
|
-
this.
|
|
3150
|
+
this.s9v_1.u6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3146
3151
|
};
|
|
3147
3152
|
protoOf(GameServer).clear = function () {
|
|
3148
3153
|
return this.i2();
|
|
@@ -3196,13 +3201,13 @@
|
|
|
3196
3201
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3197
3202
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3198
3203
|
}
|
|
3199
|
-
protoOf(ServerConfig).
|
|
3204
|
+
protoOf(ServerConfig).la5 = function () {
|
|
3200
3205
|
return this.fromRound;
|
|
3201
3206
|
};
|
|
3202
|
-
protoOf(ServerConfig).
|
|
3207
|
+
protoOf(ServerConfig).ma5 = function () {
|
|
3203
3208
|
return this.shouldFinishGameWhenDeploy;
|
|
3204
3209
|
};
|
|
3205
|
-
protoOf(ServerConfig).
|
|
3210
|
+
protoOf(ServerConfig).na5 = function () {
|
|
3206
3211
|
return this.shouldFinishGameWithBots;
|
|
3207
3212
|
};
|
|
3208
3213
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3214,14 +3219,14 @@
|
|
|
3214
3219
|
protoOf(ServerConfig).xl = function () {
|
|
3215
3220
|
return this.shouldFinishGameWithBots;
|
|
3216
3221
|
};
|
|
3217
|
-
protoOf(ServerConfig).
|
|
3222
|
+
protoOf(ServerConfig).oa5 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3218
3223
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3219
3224
|
};
|
|
3220
3225
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3221
3226
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3222
3227
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3223
3228
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3224
|
-
return $super === VOID ? this.
|
|
3229
|
+
return $super === VOID ? this.oa5(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.oa5.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3225
3230
|
};
|
|
3226
3231
|
protoOf(ServerConfig).toString = function () {
|
|
3227
3232
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3286,20 +3291,20 @@
|
|
|
3286
3291
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3287
3292
|
tmp0_serialDesc.gz('roomId', false);
|
|
3288
3293
|
tmp0_serialDesc.gz('table', false);
|
|
3289
|
-
this.
|
|
3294
|
+
this.pa5_1 = tmp0_serialDesc;
|
|
3290
3295
|
}
|
|
3291
|
-
protoOf($serializer).
|
|
3292
|
-
var tmp0_desc = this.
|
|
3296
|
+
protoOf($serializer).qa5 = function (encoder, value) {
|
|
3297
|
+
var tmp0_desc = this.pa5_1;
|
|
3293
3298
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3294
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3299
|
+
tmp1_output.dt(tmp0_desc, 0, value.ra5_1);
|
|
3295
3300
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3296
3301
|
tmp1_output.pr(tmp0_desc);
|
|
3297
3302
|
};
|
|
3298
3303
|
protoOf($serializer).co = function (encoder, value) {
|
|
3299
|
-
return this.
|
|
3304
|
+
return this.qa5(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3300
3305
|
};
|
|
3301
3306
|
protoOf($serializer).do = function (decoder) {
|
|
3302
|
-
var tmp0_desc = this.
|
|
3307
|
+
var tmp0_desc = this.pa5_1;
|
|
3303
3308
|
var tmp1_flag = true;
|
|
3304
3309
|
var tmp2_index = 0;
|
|
3305
3310
|
var tmp3_bitMask0 = 0;
|
|
@@ -3334,7 +3339,7 @@
|
|
|
3334
3339
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3335
3340
|
};
|
|
3336
3341
|
protoOf($serializer).bo = function () {
|
|
3337
|
-
return this.
|
|
3342
|
+
return this.pa5_1;
|
|
3338
3343
|
};
|
|
3339
3344
|
protoOf($serializer).vz = function () {
|
|
3340
3345
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3350,9 +3355,9 @@
|
|
|
3350
3355
|
}
|
|
3351
3356
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3352
3357
|
if (!(3 === (3 & seen0))) {
|
|
3353
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3358
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().pa5_1);
|
|
3354
3359
|
}
|
|
3355
|
-
$this.
|
|
3360
|
+
$this.ra5_1 = roomId;
|
|
3356
3361
|
$this.table = table;
|
|
3357
3362
|
return $this;
|
|
3358
3363
|
}
|
|
@@ -3360,17 +3365,17 @@
|
|
|
3360
3365
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3361
3366
|
}
|
|
3362
3367
|
function TableStateUpdateDto(roomId, table) {
|
|
3363
|
-
this.
|
|
3368
|
+
this.ra5_1 = roomId;
|
|
3364
3369
|
this.table = table;
|
|
3365
3370
|
}
|
|
3366
|
-
protoOf(TableStateUpdateDto).
|
|
3367
|
-
return this.
|
|
3371
|
+
protoOf(TableStateUpdateDto).f8h = function () {
|
|
3372
|
+
return this.ra5_1;
|
|
3368
3373
|
};
|
|
3369
3374
|
protoOf(TableStateUpdateDto).w6r = function () {
|
|
3370
3375
|
return this.table;
|
|
3371
3376
|
};
|
|
3372
3377
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3373
|
-
return this.
|
|
3378
|
+
return this.ra5_1;
|
|
3374
3379
|
};
|
|
3375
3380
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3376
3381
|
return this.table;
|
|
@@ -3379,15 +3384,15 @@
|
|
|
3379
3384
|
return new TableStateUpdateDto(roomId, table);
|
|
3380
3385
|
};
|
|
3381
3386
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3382
|
-
roomId = roomId === VOID ? this.
|
|
3387
|
+
roomId = roomId === VOID ? this.ra5_1 : roomId;
|
|
3383
3388
|
table = table === VOID ? this.table : table;
|
|
3384
3389
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3385
3390
|
};
|
|
3386
3391
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3387
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3392
|
+
return 'TableStateUpdateDto(roomId=' + this.ra5_1 + ', table=' + this.table + ')';
|
|
3388
3393
|
};
|
|
3389
3394
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3390
|
-
var result = getStringHashCode(this.
|
|
3395
|
+
var result = getStringHashCode(this.ra5_1);
|
|
3391
3396
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3392
3397
|
return result;
|
|
3393
3398
|
};
|
|
@@ -3396,7 +3401,7 @@
|
|
|
3396
3401
|
return true;
|
|
3397
3402
|
if (!(other instanceof TableStateUpdateDto))
|
|
3398
3403
|
return false;
|
|
3399
|
-
if (!(this.
|
|
3404
|
+
if (!(this.ra5_1 === other.ra5_1))
|
|
3400
3405
|
return false;
|
|
3401
3406
|
if (!(this.table === other.table))
|
|
3402
3407
|
return false;
|
|
@@ -3416,20 +3421,20 @@
|
|
|
3416
3421
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3417
3422
|
tmp0_serialDesc.gz('roomId', false);
|
|
3418
3423
|
tmp0_serialDesc.gz('actions', false);
|
|
3419
|
-
this.
|
|
3424
|
+
this.sa5_1 = tmp0_serialDesc;
|
|
3420
3425
|
}
|
|
3421
|
-
protoOf($serializer_0).
|
|
3422
|
-
var tmp0_desc = this.
|
|
3426
|
+
protoOf($serializer_0).ta5 = function (encoder, value) {
|
|
3427
|
+
var tmp0_desc = this.sa5_1;
|
|
3423
3428
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3424
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3429
|
+
tmp1_output.dt(tmp0_desc, 0, value.ua5_1);
|
|
3425
3430
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3426
3431
|
tmp1_output.pr(tmp0_desc);
|
|
3427
3432
|
};
|
|
3428
3433
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3429
|
-
return this.
|
|
3434
|
+
return this.ta5(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3430
3435
|
};
|
|
3431
3436
|
protoOf($serializer_0).do = function (decoder) {
|
|
3432
|
-
var tmp0_desc = this.
|
|
3437
|
+
var tmp0_desc = this.sa5_1;
|
|
3433
3438
|
var tmp1_flag = true;
|
|
3434
3439
|
var tmp2_index = 0;
|
|
3435
3440
|
var tmp3_bitMask0 = 0;
|
|
@@ -3464,7 +3469,7 @@
|
|
|
3464
3469
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3465
3470
|
};
|
|
3466
3471
|
protoOf($serializer_0).bo = function () {
|
|
3467
|
-
return this.
|
|
3472
|
+
return this.sa5_1;
|
|
3468
3473
|
};
|
|
3469
3474
|
protoOf($serializer_0).vz = function () {
|
|
3470
3475
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3480,9 +3485,9 @@
|
|
|
3480
3485
|
}
|
|
3481
3486
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3482
3487
|
if (!(3 === (3 & seen0))) {
|
|
3483
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3488
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().sa5_1);
|
|
3484
3489
|
}
|
|
3485
|
-
$this.
|
|
3490
|
+
$this.ua5_1 = roomId;
|
|
3486
3491
|
$this.actions = actions;
|
|
3487
3492
|
return $this;
|
|
3488
3493
|
}
|
|
@@ -3490,17 +3495,17 @@
|
|
|
3490
3495
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3491
3496
|
}
|
|
3492
3497
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3493
|
-
this.
|
|
3498
|
+
this.ua5_1 = roomId;
|
|
3494
3499
|
this.actions = actions;
|
|
3495
3500
|
}
|
|
3496
|
-
protoOf(ActionsStateUpdateDto).
|
|
3497
|
-
return this.
|
|
3501
|
+
protoOf(ActionsStateUpdateDto).f8h = function () {
|
|
3502
|
+
return this.ua5_1;
|
|
3498
3503
|
};
|
|
3499
|
-
protoOf(ActionsStateUpdateDto).
|
|
3504
|
+
protoOf(ActionsStateUpdateDto).t8h = function () {
|
|
3500
3505
|
return this.actions;
|
|
3501
3506
|
};
|
|
3502
3507
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3503
|
-
return this.
|
|
3508
|
+
return this.ua5_1;
|
|
3504
3509
|
};
|
|
3505
3510
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3506
3511
|
return this.actions;
|
|
@@ -3509,15 +3514,15 @@
|
|
|
3509
3514
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3510
3515
|
};
|
|
3511
3516
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3512
|
-
roomId = roomId === VOID ? this.
|
|
3517
|
+
roomId = roomId === VOID ? this.ua5_1 : roomId;
|
|
3513
3518
|
actions = actions === VOID ? this.actions : actions;
|
|
3514
3519
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3515
3520
|
};
|
|
3516
3521
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3517
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3522
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ua5_1 + ', actions=' + this.actions + ')';
|
|
3518
3523
|
};
|
|
3519
3524
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3520
|
-
var result = getStringHashCode(this.
|
|
3525
|
+
var result = getStringHashCode(this.ua5_1);
|
|
3521
3526
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3522
3527
|
return result;
|
|
3523
3528
|
};
|
|
@@ -3526,7 +3531,7 @@
|
|
|
3526
3531
|
return true;
|
|
3527
3532
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3528
3533
|
return false;
|
|
3529
|
-
if (!(this.
|
|
3534
|
+
if (!(this.ua5_1 === other.ua5_1))
|
|
3530
3535
|
return false;
|
|
3531
3536
|
if (!(this.actions === other.actions))
|
|
3532
3537
|
return false;
|
|
@@ -3556,42 +3561,42 @@
|
|
|
3556
3561
|
var tmp$ret$0 = mapToDto(item);
|
|
3557
3562
|
destination.j(tmp$ret$0);
|
|
3558
3563
|
}
|
|
3559
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3564
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.va5_1, encoderDecoderProvider.m8o(destination));
|
|
3560
3565
|
}
|
|
3561
3566
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3562
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3567
|
+
return new TableStateUpdateDto(_this__u8e3s4.wa5_1, encoderDecoderProvider.k8o(mapToDto_0(_this__u8e3s4.table)));
|
|
3563
3568
|
}
|
|
3564
3569
|
function ServerStateUpdate() {
|
|
3565
3570
|
}
|
|
3566
3571
|
function TableStateUpdate(roomId, table) {
|
|
3567
|
-
this.
|
|
3572
|
+
this.wa5_1 = roomId;
|
|
3568
3573
|
this.table = table;
|
|
3569
3574
|
}
|
|
3570
|
-
protoOf(TableStateUpdate).
|
|
3571
|
-
return this.
|
|
3575
|
+
protoOf(TableStateUpdate).f8h = function () {
|
|
3576
|
+
return this.wa5_1;
|
|
3572
3577
|
};
|
|
3573
3578
|
protoOf(TableStateUpdate).w6r = function () {
|
|
3574
3579
|
return this.table;
|
|
3575
3580
|
};
|
|
3576
3581
|
protoOf(TableStateUpdate).oe = function () {
|
|
3577
|
-
return this.
|
|
3582
|
+
return this.wa5_1;
|
|
3578
3583
|
};
|
|
3579
3584
|
protoOf(TableStateUpdate).pe = function () {
|
|
3580
3585
|
return this.table;
|
|
3581
3586
|
};
|
|
3582
|
-
protoOf(TableStateUpdate).
|
|
3587
|
+
protoOf(TableStateUpdate).xa5 = function (roomId, table) {
|
|
3583
3588
|
return new TableStateUpdate(roomId, table);
|
|
3584
3589
|
};
|
|
3585
3590
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3586
|
-
roomId = roomId === VOID ? this.
|
|
3591
|
+
roomId = roomId === VOID ? this.wa5_1 : roomId;
|
|
3587
3592
|
table = table === VOID ? this.table : table;
|
|
3588
|
-
return $super === VOID ? this.
|
|
3593
|
+
return $super === VOID ? this.xa5(roomId, table) : $super.xa5.call(this, roomId, table);
|
|
3589
3594
|
};
|
|
3590
3595
|
protoOf(TableStateUpdate).toString = function () {
|
|
3591
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3596
|
+
return 'TableStateUpdate(roomId=' + this.wa5_1 + ', table=' + this.table.toString() + ')';
|
|
3592
3597
|
};
|
|
3593
3598
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3594
|
-
var result = getStringHashCode(this.
|
|
3599
|
+
var result = getStringHashCode(this.wa5_1);
|
|
3595
3600
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3596
3601
|
return result;
|
|
3597
3602
|
};
|
|
@@ -3600,41 +3605,41 @@
|
|
|
3600
3605
|
return true;
|
|
3601
3606
|
if (!(other instanceof TableStateUpdate))
|
|
3602
3607
|
return false;
|
|
3603
|
-
if (!(this.
|
|
3608
|
+
if (!(this.wa5_1 === other.wa5_1))
|
|
3604
3609
|
return false;
|
|
3605
3610
|
if (!this.table.equals(other.table))
|
|
3606
3611
|
return false;
|
|
3607
3612
|
return true;
|
|
3608
3613
|
};
|
|
3609
3614
|
function ActionsStateUpdate(roomId, actions) {
|
|
3610
|
-
this.
|
|
3615
|
+
this.va5_1 = roomId;
|
|
3611
3616
|
this.actions = actions;
|
|
3612
3617
|
}
|
|
3613
|
-
protoOf(ActionsStateUpdate).
|
|
3614
|
-
return this.
|
|
3618
|
+
protoOf(ActionsStateUpdate).f8h = function () {
|
|
3619
|
+
return this.va5_1;
|
|
3615
3620
|
};
|
|
3616
|
-
protoOf(ActionsStateUpdate).
|
|
3621
|
+
protoOf(ActionsStateUpdate).t8h = function () {
|
|
3617
3622
|
return this.actions;
|
|
3618
3623
|
};
|
|
3619
3624
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3620
|
-
return this.
|
|
3625
|
+
return this.va5_1;
|
|
3621
3626
|
};
|
|
3622
3627
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3623
3628
|
return this.actions;
|
|
3624
3629
|
};
|
|
3625
|
-
protoOf(ActionsStateUpdate).
|
|
3630
|
+
protoOf(ActionsStateUpdate).ya5 = function (roomId, actions) {
|
|
3626
3631
|
return new ActionsStateUpdate(roomId, actions);
|
|
3627
3632
|
};
|
|
3628
3633
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3629
|
-
roomId = roomId === VOID ? this.
|
|
3634
|
+
roomId = roomId === VOID ? this.va5_1 : roomId;
|
|
3630
3635
|
actions = actions === VOID ? this.actions : actions;
|
|
3631
|
-
return $super === VOID ? this.
|
|
3636
|
+
return $super === VOID ? this.ya5(roomId, actions) : $super.ya5.call(this, roomId, actions);
|
|
3632
3637
|
};
|
|
3633
3638
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3634
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3639
|
+
return 'ActionsStateUpdate(roomId=' + this.va5_1 + ', actions=' + toString(this.actions) + ')';
|
|
3635
3640
|
};
|
|
3636
3641
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3637
|
-
var result = getStringHashCode(this.
|
|
3642
|
+
var result = getStringHashCode(this.va5_1);
|
|
3638
3643
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3639
3644
|
return result;
|
|
3640
3645
|
};
|
|
@@ -3643,7 +3648,7 @@
|
|
|
3643
3648
|
return true;
|
|
3644
3649
|
if (!(other instanceof ActionsStateUpdate))
|
|
3645
3650
|
return false;
|
|
3646
|
-
if (!(this.
|
|
3651
|
+
if (!(this.va5_1 === other.va5_1))
|
|
3647
3652
|
return false;
|
|
3648
3653
|
if (!equals(this.actions, other.actions))
|
|
3649
3654
|
return false;
|
|
@@ -3877,18 +3882,18 @@
|
|
|
3877
3882
|
function ToClientEventsObserver() {
|
|
3878
3883
|
}
|
|
3879
3884
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3880
|
-
this.
|
|
3881
|
-
this.
|
|
3885
|
+
this.ia6_1 = this$0;
|
|
3886
|
+
this.ja6_1 = $actions;
|
|
3882
3887
|
CoroutineImpl.call(this, resultContinuation);
|
|
3883
3888
|
}
|
|
3884
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3885
|
-
var tmp = this.
|
|
3889
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ma6 = function ($this$flow, $completion) {
|
|
3890
|
+
var tmp = this.na6($this$flow, $completion);
|
|
3886
3891
|
tmp.u8_1 = Unit_instance;
|
|
3887
3892
|
tmp.v8_1 = null;
|
|
3888
3893
|
return tmp.a9();
|
|
3889
3894
|
};
|
|
3890
3895
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3891
|
-
return this.
|
|
3896
|
+
return this.ma6((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3892
3897
|
};
|
|
3893
3898
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3894
3899
|
var suspendResult = this.u8_1;
|
|
@@ -3898,19 +3903,19 @@
|
|
|
3898
3903
|
switch (tmp) {
|
|
3899
3904
|
case 0:
|
|
3900
3905
|
this.t8_1 = 4;
|
|
3901
|
-
this.
|
|
3902
|
-
this.
|
|
3906
|
+
this.ia6_1.sa6_1;
|
|
3907
|
+
this.la6_1 = transformToEmits(this.ia6_1, this.ja6_1).l();
|
|
3903
3908
|
this.s8_1 = 1;
|
|
3904
3909
|
continue $sm;
|
|
3905
3910
|
case 1:
|
|
3906
|
-
if (!this.
|
|
3911
|
+
if (!this.la6_1.m()) {
|
|
3907
3912
|
this.s8_1 = 3;
|
|
3908
3913
|
continue $sm;
|
|
3909
3914
|
}
|
|
3910
3915
|
|
|
3911
|
-
var element = this.
|
|
3916
|
+
var element = this.la6_1.n();
|
|
3912
3917
|
this.s8_1 = 2;
|
|
3913
|
-
suspendResult = this.
|
|
3918
|
+
suspendResult = this.ka6_1.n28(element, this);
|
|
3914
3919
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3915
3920
|
return suspendResult;
|
|
3916
3921
|
}
|
|
@@ -3920,11 +3925,11 @@
|
|
|
3920
3925
|
this.s8_1 = 1;
|
|
3921
3926
|
continue $sm;
|
|
3922
3927
|
case 3:
|
|
3923
|
-
var tmp0 = this.
|
|
3928
|
+
var tmp0 = this.ia6_1.ra6_1;
|
|
3924
3929
|
l$ret$1: do {
|
|
3925
3930
|
while (true) {
|
|
3926
3931
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3927
|
-
var upd = cur - this.
|
|
3932
|
+
var upd = cur - this.ja6_1.o() | 0;
|
|
3928
3933
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3929
3934
|
break l$ret$1;
|
|
3930
3935
|
}
|
|
@@ -3946,15 +3951,15 @@
|
|
|
3946
3951
|
}
|
|
3947
3952
|
while (true);
|
|
3948
3953
|
};
|
|
3949
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3950
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3951
|
-
i.
|
|
3954
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).na6 = function ($this$flow, completion) {
|
|
3955
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.ia6_1, this.ja6_1, completion);
|
|
3956
|
+
i.ka6_1 = $this$flow;
|
|
3952
3957
|
return i;
|
|
3953
3958
|
};
|
|
3954
3959
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3955
3960
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3956
3961
|
var l = function ($this$flow, $completion) {
|
|
3957
|
-
return i.
|
|
3962
|
+
return i.ma6($this$flow, $completion);
|
|
3958
3963
|
};
|
|
3959
3964
|
l.$arity = 1;
|
|
3960
3965
|
return l;
|
|
@@ -4024,29 +4029,29 @@
|
|
|
4024
4029
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4025
4030
|
}
|
|
4026
4031
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4027
|
-
var tmp = $this.
|
|
4032
|
+
var tmp = $this.qa6_1.d6e();
|
|
4028
4033
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4029
|
-
var this_0 = _this__u8e3s4.
|
|
4034
|
+
var this_0 = _this__u8e3s4.va6_1;
|
|
4030
4035
|
var tmp_0 = copyToArray(this_0);
|
|
4031
4036
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4032
|
-
var this_1 = _this__u8e3s4.
|
|
4037
|
+
var this_1 = _this__u8e3s4.wa6_1;
|
|
4033
4038
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4034
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4039
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ua6_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.xa6_1);
|
|
4035
4040
|
}
|
|
4036
4041
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4037
|
-
this.
|
|
4038
|
-
this.
|
|
4039
|
-
this.
|
|
4040
|
-
this.
|
|
4042
|
+
this.ua6_1 = tableId;
|
|
4043
|
+
this.va6_1 = includePlayers;
|
|
4044
|
+
this.wa6_1 = excludePlayers;
|
|
4045
|
+
this.xa6_1 = deliveryType;
|
|
4041
4046
|
}
|
|
4042
4047
|
protoOf(GroupKey).toString = function () {
|
|
4043
|
-
return 'GroupKey(tableId=' + this.
|
|
4048
|
+
return 'GroupKey(tableId=' + this.ua6_1 + ', includePlayers=' + toString(this.va6_1) + ', excludePlayers=' + toString(this.wa6_1) + ', deliveryType=' + this.xa6_1.toString() + ')';
|
|
4044
4049
|
};
|
|
4045
4050
|
protoOf(GroupKey).hashCode = function () {
|
|
4046
|
-
var result = getStringHashCode(this.
|
|
4047
|
-
result = imul(result, 31) + hashCode(this.
|
|
4048
|
-
result = imul(result, 31) + hashCode(this.
|
|
4049
|
-
result = imul(result, 31) + this.
|
|
4051
|
+
var result = getStringHashCode(this.ua6_1);
|
|
4052
|
+
result = imul(result, 31) + hashCode(this.va6_1) | 0;
|
|
4053
|
+
result = imul(result, 31) + hashCode(this.wa6_1) | 0;
|
|
4054
|
+
result = imul(result, 31) + this.xa6_1.hashCode() | 0;
|
|
4050
4055
|
return result;
|
|
4051
4056
|
};
|
|
4052
4057
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4054,35 +4059,35 @@
|
|
|
4054
4059
|
return true;
|
|
4055
4060
|
if (!(other instanceof GroupKey))
|
|
4056
4061
|
return false;
|
|
4057
|
-
if (!(this.
|
|
4062
|
+
if (!(this.ua6_1 === other.ua6_1))
|
|
4058
4063
|
return false;
|
|
4059
|
-
if (!equals(this.
|
|
4064
|
+
if (!equals(this.va6_1, other.va6_1))
|
|
4060
4065
|
return false;
|
|
4061
|
-
if (!equals(this.
|
|
4066
|
+
if (!equals(this.wa6_1, other.wa6_1))
|
|
4062
4067
|
return false;
|
|
4063
|
-
if (!this.
|
|
4068
|
+
if (!this.xa6_1.equals(other.xa6_1))
|
|
4064
4069
|
return false;
|
|
4065
4070
|
return true;
|
|
4066
4071
|
};
|
|
4067
4072
|
function Companion_4() {
|
|
4068
|
-
this.
|
|
4073
|
+
this.ya6_1 = 6;
|
|
4069
4074
|
}
|
|
4070
4075
|
var Companion_instance_12;
|
|
4071
4076
|
function Companion_getInstance_5() {
|
|
4072
4077
|
return Companion_instance_12;
|
|
4073
4078
|
}
|
|
4074
4079
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4075
|
-
this.
|
|
4080
|
+
this.ha7_1 = this$0;
|
|
4076
4081
|
CoroutineImpl.call(this, resultContinuation);
|
|
4077
4082
|
}
|
|
4078
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4079
|
-
var tmp = this.
|
|
4083
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ja7 = function (actions, $completion) {
|
|
4084
|
+
var tmp = this.ka7(actions, $completion);
|
|
4080
4085
|
tmp.u8_1 = Unit_instance;
|
|
4081
4086
|
tmp.v8_1 = null;
|
|
4082
4087
|
return tmp.a9();
|
|
4083
4088
|
};
|
|
4084
4089
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4085
|
-
return this.
|
|
4090
|
+
return this.ja7((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4086
4091
|
};
|
|
4087
4092
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4088
4093
|
var suspendResult = this.u8_1;
|
|
@@ -4091,7 +4096,7 @@
|
|
|
4091
4096
|
var tmp = this.s8_1;
|
|
4092
4097
|
if (tmp === 0) {
|
|
4093
4098
|
this.t8_1 = 1;
|
|
4094
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4099
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ha7_1, this.ia7_1, null));
|
|
4095
4100
|
} else if (tmp === 1) {
|
|
4096
4101
|
throw this.v8_1;
|
|
4097
4102
|
}
|
|
@@ -4101,23 +4106,23 @@
|
|
|
4101
4106
|
}
|
|
4102
4107
|
while (true);
|
|
4103
4108
|
};
|
|
4104
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4105
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4106
|
-
i.
|
|
4109
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ka7 = function (actions, completion) {
|
|
4110
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ha7_1, completion);
|
|
4111
|
+
i.ia7_1 = actions;
|
|
4107
4112
|
return i;
|
|
4108
4113
|
};
|
|
4109
4114
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4110
4115
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4111
4116
|
var l = function (actions, $completion) {
|
|
4112
|
-
return i.
|
|
4117
|
+
return i.ja7(actions, $completion);
|
|
4113
4118
|
};
|
|
4114
4119
|
l.$arity = 1;
|
|
4115
4120
|
return l;
|
|
4116
4121
|
}
|
|
4117
4122
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4118
4123
|
CoroutineImpl.call(this, resultContinuation);
|
|
4119
|
-
this.
|
|
4120
|
-
this.
|
|
4124
|
+
this.ta7_1 = _this__u8e3s4;
|
|
4125
|
+
this.ua7_1 = fromEvent;
|
|
4121
4126
|
}
|
|
4122
4127
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4123
4128
|
var suspendResult = this.u8_1;
|
|
@@ -4127,8 +4132,8 @@
|
|
|
4127
4132
|
switch (tmp) {
|
|
4128
4133
|
case 0:
|
|
4129
4134
|
this.t8_1 = 2;
|
|
4130
|
-
this.
|
|
4131
|
-
var tmp0 = this.
|
|
4135
|
+
this.ta7_1.sa6_1;
|
|
4136
|
+
var tmp0 = this.ta7_1.ra6_1;
|
|
4132
4137
|
l$ret$1: do {
|
|
4133
4138
|
while (true) {
|
|
4134
4139
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4140,7 +4145,7 @@
|
|
|
4140
4145
|
}
|
|
4141
4146
|
while (false);
|
|
4142
4147
|
this.s8_1 = 1;
|
|
4143
|
-
suspendResult = this.
|
|
4148
|
+
suspendResult = this.ta7_1.ta6_1.n28(this.ua7_1, this);
|
|
4144
4149
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4145
4150
|
return suspendResult;
|
|
4146
4151
|
}
|
|
@@ -4164,7 +4169,7 @@
|
|
|
4164
4169
|
};
|
|
4165
4170
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4166
4171
|
CoroutineImpl.call(this, resultContinuation);
|
|
4167
|
-
this.
|
|
4172
|
+
this.da8_1 = _this__u8e3s4;
|
|
4168
4173
|
}
|
|
4169
4174
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4170
4175
|
var suspendResult = this.u8_1;
|
|
@@ -4174,12 +4179,12 @@
|
|
|
4174
4179
|
switch (tmp) {
|
|
4175
4180
|
case 0:
|
|
4176
4181
|
this.t8_1 = 5;
|
|
4177
|
-
this.
|
|
4178
|
-
this.
|
|
4182
|
+
this.da8_1.sa6_1;
|
|
4183
|
+
this.ea8_1 = 0;
|
|
4179
4184
|
this.s8_1 = 1;
|
|
4180
4185
|
continue $sm;
|
|
4181
4186
|
case 1:
|
|
4182
|
-
if (!!(this.
|
|
4187
|
+
if (!!(this.da8_1.ra6_1.kotlinx$atomicfu$value === 0)) {
|
|
4183
4188
|
this.s8_1 = 4;
|
|
4184
4189
|
continue $sm;
|
|
4185
4190
|
}
|
|
@@ -4192,9 +4197,9 @@
|
|
|
4192
4197
|
|
|
4193
4198
|
continue $sm;
|
|
4194
4199
|
case 2:
|
|
4195
|
-
this.
|
|
4196
|
-
if (this.
|
|
4197
|
-
this.
|
|
4200
|
+
this.ea8_1 = this.ea8_1 + 1 | 0;
|
|
4201
|
+
if (this.ea8_1 > 6) {
|
|
4202
|
+
this.da8_1.pa6_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.da8_1.ra6_1.kotlinx$atomicfu$value);
|
|
4198
4203
|
this.s8_1 = 4;
|
|
4199
4204
|
continue $sm;
|
|
4200
4205
|
} else {
|
|
@@ -4222,183 +4227,183 @@
|
|
|
4222
4227
|
while (true);
|
|
4223
4228
|
};
|
|
4224
4229
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4225
|
-
this.
|
|
4226
|
-
this.
|
|
4227
|
-
this.
|
|
4228
|
-
this.
|
|
4230
|
+
this.oa6_1 = serverReduxConfig;
|
|
4231
|
+
this.pa6_1 = logger;
|
|
4232
|
+
this.qa6_1 = idsProvider;
|
|
4233
|
+
this.ra6_1 = atomic$ref$1(0);
|
|
4229
4234
|
var tmp = this;
|
|
4230
4235
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4231
|
-
tmp.
|
|
4232
|
-
this.
|
|
4236
|
+
tmp.sa6_1 = get_atomicfu$reentrantLock();
|
|
4237
|
+
this.ta6_1 = MutableSharedFlow();
|
|
4233
4238
|
}
|
|
4234
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4239
|
+
protoOf(ToClientEventsObserverImpl).za5 = function (fromEvent, $completion) {
|
|
4235
4240
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4236
4241
|
tmp.u8_1 = Unit_instance;
|
|
4237
4242
|
tmp.v8_1 = null;
|
|
4238
4243
|
return tmp.a9();
|
|
4239
4244
|
};
|
|
4240
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4245
|
+
protoOf(ToClientEventsObserverImpl).q9f = function ($completion) {
|
|
4241
4246
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4242
4247
|
tmp.u8_1 = Unit_instance;
|
|
4243
4248
|
tmp.v8_1 = null;
|
|
4244
4249
|
return tmp.a9();
|
|
4245
4250
|
};
|
|
4246
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4247
|
-
if (!this.
|
|
4248
|
-
return this.
|
|
4251
|
+
protoOf(ToClientEventsObserverImpl).l9w = function () {
|
|
4252
|
+
if (!this.oa6_1.enabledCombinedEvents) {
|
|
4253
|
+
return this.ta6_1;
|
|
4249
4254
|
}
|
|
4250
|
-
var tmp = windowedByInterval(this.
|
|
4255
|
+
var tmp = windowedByInterval(this.ta6_1, fromInt(this.oa6_1.combinedEventsIntervalMillis));
|
|
4251
4256
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4252
4257
|
};
|
|
4253
4258
|
function UpdateServerConfigAction(serverConfig) {
|
|
4254
|
-
this.
|
|
4259
|
+
this.fa8_1 = serverConfig;
|
|
4255
4260
|
}
|
|
4256
4261
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4257
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4262
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.fa8_1.toString() + ')';
|
|
4258
4263
|
};
|
|
4259
4264
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4260
|
-
return this.
|
|
4265
|
+
return this.fa8_1.hashCode();
|
|
4261
4266
|
};
|
|
4262
4267
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4263
4268
|
if (this === other)
|
|
4264
4269
|
return true;
|
|
4265
4270
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4266
4271
|
return false;
|
|
4267
|
-
if (!this.
|
|
4272
|
+
if (!this.fa8_1.equals(other.fa8_1))
|
|
4268
4273
|
return false;
|
|
4269
4274
|
return true;
|
|
4270
4275
|
};
|
|
4271
4276
|
function SpectatorsAction() {
|
|
4272
4277
|
}
|
|
4273
4278
|
function AddSpectatorsAction(spectators) {
|
|
4274
|
-
this.
|
|
4279
|
+
this.ga8_1 = spectators;
|
|
4275
4280
|
}
|
|
4276
4281
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4277
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4282
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ga8_1) + ')';
|
|
4278
4283
|
};
|
|
4279
4284
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4280
|
-
return hashCode(this.
|
|
4285
|
+
return hashCode(this.ga8_1);
|
|
4281
4286
|
};
|
|
4282
4287
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4283
4288
|
if (this === other)
|
|
4284
4289
|
return true;
|
|
4285
4290
|
if (!(other instanceof AddSpectatorsAction))
|
|
4286
4291
|
return false;
|
|
4287
|
-
if (!equals(this.
|
|
4292
|
+
if (!equals(this.ga8_1, other.ga8_1))
|
|
4288
4293
|
return false;
|
|
4289
4294
|
return true;
|
|
4290
4295
|
};
|
|
4291
4296
|
function RemoveSpectatorsAction(spectators) {
|
|
4292
|
-
this.
|
|
4297
|
+
this.ha8_1 = spectators;
|
|
4293
4298
|
}
|
|
4294
4299
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4295
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4300
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ha8_1) + ')';
|
|
4296
4301
|
};
|
|
4297
4302
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4298
|
-
return hashCode(this.
|
|
4303
|
+
return hashCode(this.ha8_1);
|
|
4299
4304
|
};
|
|
4300
4305
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4301
4306
|
if (this === other)
|
|
4302
4307
|
return true;
|
|
4303
4308
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4304
4309
|
return false;
|
|
4305
|
-
if (!equals(this.
|
|
4310
|
+
if (!equals(this.ha8_1, other.ha8_1))
|
|
4306
4311
|
return false;
|
|
4307
4312
|
return true;
|
|
4308
4313
|
};
|
|
4309
4314
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4310
|
-
var tmp0 = $this.
|
|
4315
|
+
var tmp0 = $this.na8_1;
|
|
4311
4316
|
var tmp = KProperty1;
|
|
4312
4317
|
// Inline function 'kotlin.getValue' call
|
|
4313
4318
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4314
4319
|
return tmp0.x();
|
|
4315
4320
|
}
|
|
4316
4321
|
function _get_logger__rkp4sl($this) {
|
|
4317
|
-
var tmp0 = $this.
|
|
4322
|
+
var tmp0 = $this.oa8_1;
|
|
4318
4323
|
var tmp = KProperty1;
|
|
4319
4324
|
// Inline function 'kotlin.getValue' call
|
|
4320
4325
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4321
4326
|
return tmp0.x();
|
|
4322
4327
|
}
|
|
4323
4328
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4324
|
-
var tmp0 = $this.
|
|
4329
|
+
var tmp0 = $this.pa8_1;
|
|
4325
4330
|
var tmp = KProperty1;
|
|
4326
4331
|
// Inline function 'kotlin.getValue' call
|
|
4327
4332
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4328
4333
|
return tmp0.x();
|
|
4329
4334
|
}
|
|
4330
4335
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4331
|
-
var tmp0 = $this.
|
|
4336
|
+
var tmp0 = $this.qa8_1;
|
|
4332
4337
|
var tmp = KProperty1;
|
|
4333
4338
|
// Inline function 'kotlin.getValue' call
|
|
4334
4339
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4335
4340
|
return tmp0.x();
|
|
4336
4341
|
}
|
|
4337
4342
|
function _get_serverConfig__rk2g06($this) {
|
|
4338
|
-
var tmp0 = $this.
|
|
4343
|
+
var tmp0 = $this.ra8_1;
|
|
4339
4344
|
var tmp = KProperty1;
|
|
4340
4345
|
// Inline function 'kotlin.getValue' call
|
|
4341
4346
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4342
4347
|
return tmp0.x();
|
|
4343
4348
|
}
|
|
4344
4349
|
function _get_logicConfig__52ww9d($this) {
|
|
4345
|
-
var tmp0 = $this.
|
|
4350
|
+
var tmp0 = $this.sa8_1;
|
|
4346
4351
|
var tmp = KProperty1;
|
|
4347
4352
|
// Inline function 'kotlin.getValue' call
|
|
4348
4353
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4349
4354
|
return tmp0.x();
|
|
4350
4355
|
}
|
|
4351
4356
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4352
|
-
var tmp0 = $this.
|
|
4357
|
+
var tmp0 = $this.ta8_1;
|
|
4353
4358
|
var tmp = KProperty1;
|
|
4354
4359
|
// Inline function 'kotlin.getValue' call
|
|
4355
4360
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4356
4361
|
return tmp0.x();
|
|
4357
4362
|
}
|
|
4358
4363
|
function _get_botConfig__cpaxzc($this) {
|
|
4359
|
-
var tmp0 = $this.
|
|
4364
|
+
var tmp0 = $this.ua8_1;
|
|
4360
4365
|
var tmp = KProperty1;
|
|
4361
4366
|
// Inline function 'kotlin.getValue' call
|
|
4362
4367
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4363
4368
|
return tmp0.x();
|
|
4364
4369
|
}
|
|
4365
4370
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4366
|
-
var tmp0 = $this.
|
|
4371
|
+
var tmp0 = $this.va8_1;
|
|
4367
4372
|
var tmp = KProperty1;
|
|
4368
4373
|
// Inline function 'kotlin.getValue' call
|
|
4369
4374
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4370
4375
|
return tmp0.x();
|
|
4371
4376
|
}
|
|
4372
4377
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4373
|
-
var tmp0 = $this.
|
|
4378
|
+
var tmp0 = $this.wa8_1;
|
|
4374
4379
|
var tmp = KProperty1;
|
|
4375
4380
|
// Inline function 'kotlin.getValue' call
|
|
4376
4381
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4377
4382
|
return tmp0.x();
|
|
4378
4383
|
}
|
|
4379
4384
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4380
|
-
var tmp0 = $this.
|
|
4385
|
+
var tmp0 = $this.xa8_1;
|
|
4381
4386
|
var tmp = KProperty1;
|
|
4382
4387
|
// Inline function 'kotlin.getValue' call
|
|
4383
4388
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4384
4389
|
return tmp0.x();
|
|
4385
4390
|
}
|
|
4386
4391
|
function _get_dealerConfig__183ci8($this) {
|
|
4387
|
-
var tmp0 = $this.
|
|
4392
|
+
var tmp0 = $this.ya8_1;
|
|
4388
4393
|
var tmp = KProperty1;
|
|
4389
4394
|
// Inline function 'kotlin.getValue' call
|
|
4390
4395
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4391
4396
|
return tmp0.x();
|
|
4392
4397
|
}
|
|
4393
4398
|
function _get_poolProvider__tqti6a($this) {
|
|
4394
|
-
var tmp0 = $this.
|
|
4399
|
+
var tmp0 = $this.za8_1;
|
|
4395
4400
|
var tmp = KProperty1;
|
|
4396
4401
|
// Inline function 'kotlin.getValue' call
|
|
4397
4402
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4398
4403
|
return tmp0.x();
|
|
4399
4404
|
}
|
|
4400
4405
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4401
|
-
var tmp0 = $this.
|
|
4406
|
+
var tmp0 = $this.aa9_1;
|
|
4402
4407
|
var tmp = KProperty1;
|
|
4403
4408
|
// Inline function 'kotlin.getValue' call
|
|
4404
4409
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4562,11 +4567,11 @@
|
|
|
4562
4567
|
tmp = fileLoggerStoreContract;
|
|
4563
4568
|
}
|
|
4564
4569
|
fileLoggerStoreContract = tmp;
|
|
4565
|
-
this.
|
|
4566
|
-
this.
|
|
4567
|
-
this.
|
|
4568
|
-
this.
|
|
4569
|
-
this.
|
|
4570
|
+
this.ia8_1 = validationStoreContract;
|
|
4571
|
+
this.ja8_1 = timersStoreContract;
|
|
4572
|
+
this.ka8_1 = botGameStoreContract;
|
|
4573
|
+
this.la8_1 = gameMechanicStoreContract;
|
|
4574
|
+
this.ma8_1 = fileLoggerStoreContract;
|
|
4570
4575
|
var tmp_0 = this;
|
|
4571
4576
|
// Inline function 'org.kodein.di.instance' call
|
|
4572
4577
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4574,7 +4579,7 @@
|
|
|
4574
4579
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4575
4580
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4576
4581
|
var tmp_3 = KProperty1;
|
|
4577
|
-
tmp_0.
|
|
4582
|
+
tmp_0.na8_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4578
4583
|
var tmp_4 = this;
|
|
4579
4584
|
// Inline function 'org.kodein.di.instance' call
|
|
4580
4585
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4582,7 +4587,7 @@
|
|
|
4582
4587
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4583
4588
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4584
4589
|
var tmp_7 = KProperty1;
|
|
4585
|
-
tmp_4.
|
|
4590
|
+
tmp_4.oa8_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4586
4591
|
var tmp_8 = this;
|
|
4587
4592
|
// Inline function 'org.kodein.di.instance' call
|
|
4588
4593
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4590,7 +4595,7 @@
|
|
|
4590
4595
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4591
4596
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4592
4597
|
var tmp_11 = KProperty1;
|
|
4593
|
-
tmp_8.
|
|
4598
|
+
tmp_8.pa8_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4594
4599
|
var tmp_12 = this;
|
|
4595
4600
|
// Inline function 'org.kodein.di.instance' call
|
|
4596
4601
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4598,7 +4603,7 @@
|
|
|
4598
4603
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4599
4604
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4600
4605
|
var tmp_15 = KProperty1;
|
|
4601
|
-
tmp_12.
|
|
4606
|
+
tmp_12.qa8_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4602
4607
|
var tmp_16 = this;
|
|
4603
4608
|
// Inline function 'org.kodein.di.instance' call
|
|
4604
4609
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4606,7 +4611,7 @@
|
|
|
4606
4611
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4607
4612
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4608
4613
|
var tmp_19 = KProperty1;
|
|
4609
|
-
tmp_16.
|
|
4614
|
+
tmp_16.ra8_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4610
4615
|
var tmp_20 = this;
|
|
4611
4616
|
// Inline function 'org.kodein.di.instance' call
|
|
4612
4617
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4614,7 +4619,7 @@
|
|
|
4614
4619
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4615
4620
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4616
4621
|
var tmp_23 = KProperty1;
|
|
4617
|
-
tmp_20.
|
|
4622
|
+
tmp_20.sa8_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4618
4623
|
var tmp_24 = this;
|
|
4619
4624
|
// Inline function 'org.kodein.di.instance' call
|
|
4620
4625
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4622,7 +4627,7 @@
|
|
|
4622
4627
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4623
4628
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4624
4629
|
var tmp_27 = KProperty1;
|
|
4625
|
-
tmp_24.
|
|
4630
|
+
tmp_24.ta8_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4626
4631
|
var tmp_28 = this;
|
|
4627
4632
|
// Inline function 'org.kodein.di.instance' call
|
|
4628
4633
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4630,7 +4635,7 @@
|
|
|
4630
4635
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4631
4636
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4632
4637
|
var tmp_31 = KProperty1;
|
|
4633
|
-
tmp_28.
|
|
4638
|
+
tmp_28.ua8_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4634
4639
|
var tmp_32 = this;
|
|
4635
4640
|
// Inline function 'org.kodein.di.instance' call
|
|
4636
4641
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4638,7 +4643,7 @@
|
|
|
4638
4643
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4639
4644
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4640
4645
|
var tmp_35 = KProperty1;
|
|
4641
|
-
tmp_32.
|
|
4646
|
+
tmp_32.va8_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4642
4647
|
var tmp_36 = this;
|
|
4643
4648
|
// Inline function 'org.kodein.di.instance' call
|
|
4644
4649
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4646,7 +4651,7 @@
|
|
|
4646
4651
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4647
4652
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4648
4653
|
var tmp_39 = KProperty1;
|
|
4649
|
-
tmp_36.
|
|
4654
|
+
tmp_36.wa8_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4650
4655
|
var tmp_40 = this;
|
|
4651
4656
|
// Inline function 'org.kodein.di.instance' call
|
|
4652
4657
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4654,7 +4659,7 @@
|
|
|
4654
4659
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4655
4660
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4656
4661
|
var tmp_43 = KProperty1;
|
|
4657
|
-
tmp_40.
|
|
4662
|
+
tmp_40.xa8_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4658
4663
|
var tmp_44 = this;
|
|
4659
4664
|
// Inline function 'org.kodein.di.instance' call
|
|
4660
4665
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4662,7 +4667,7 @@
|
|
|
4662
4667
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4663
4668
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4664
4669
|
var tmp_47 = KProperty1;
|
|
4665
|
-
tmp_44.
|
|
4670
|
+
tmp_44.ya8_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4666
4671
|
var tmp_48 = this;
|
|
4667
4672
|
// Inline function 'org.kodein.di.instance' call
|
|
4668
4673
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4670,7 +4675,7 @@
|
|
|
4670
4675
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4671
4676
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4672
4677
|
var tmp_51 = KProperty1;
|
|
4673
|
-
tmp_48.
|
|
4678
|
+
tmp_48.za8_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4674
4679
|
var tmp_52 = this;
|
|
4675
4680
|
// Inline function 'org.kodein.di.instance' call
|
|
4676
4681
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4678,20 +4683,20 @@
|
|
|
4678
4683
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4679
4684
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4680
4685
|
var tmp_55 = KProperty1;
|
|
4681
|
-
tmp_52.
|
|
4686
|
+
tmp_52.aa9_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4682
4687
|
}
|
|
4683
|
-
protoOf(ServerGameStoreContract).
|
|
4684
|
-
return plus(plus(plus(plus(plus(this.
|
|
4688
|
+
protoOf(ServerGameStoreContract).n94 = function () {
|
|
4689
|
+
return plus(plus(plus(plus(plus(this.ia8_1.n94(), this.la8_1.n94()), this.ja8_1.n94()), this.ka8_1.n94()), this.ma8_1.n94()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4685
4690
|
};
|
|
4686
|
-
protoOf(ServerGameStoreContract).
|
|
4687
|
-
var tmp = this.
|
|
4691
|
+
protoOf(ServerGameStoreContract).o94 = function () {
|
|
4692
|
+
var tmp = this.ia8_1.o94();
|
|
4688
4693
|
var tmp_0;
|
|
4689
4694
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4690
4695
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4691
4696
|
} else {
|
|
4692
4697
|
tmp_0 = null;
|
|
4693
4698
|
}
|
|
4694
|
-
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
4699
|
+
var tmp_1 = plus(plus(plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.la8_1.o94()), this.ja8_1.o94()), this.ka8_1.o94()), this.ma8_1.o94()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).u96(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4695
4700
|
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4696
4701
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4697
4702
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4742,7 +4747,7 @@
|
|
|
4742
4747
|
return this.q6h(store, next, action);
|
|
4743
4748
|
};
|
|
4744
4749
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4745
|
-
this.
|
|
4750
|
+
this.da9_1 = this$0;
|
|
4746
4751
|
}
|
|
4747
4752
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
4748
4753
|
return action instanceof MechanicAction;
|
|
@@ -4753,11 +4758,11 @@
|
|
|
4753
4758
|
// Inline function 'kotlin.with' call
|
|
4754
4759
|
var tmp;
|
|
4755
4760
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4756
|
-
var tmp0 = this.
|
|
4757
|
-
var tmp2 = action_0.
|
|
4758
|
-
var tmp4 = action_0.
|
|
4761
|
+
var tmp0 = this.da9_1;
|
|
4762
|
+
var tmp2 = action_0.s90_1;
|
|
4763
|
+
var tmp4 = action_0.u90_1;
|
|
4759
4764
|
// Inline function 'kotlin.collections.map' call
|
|
4760
|
-
var this_0 = action_0.
|
|
4765
|
+
var this_0 = action_0.v90_1;
|
|
4761
4766
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4762
4767
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4763
4768
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4793,7 +4798,7 @@
|
|
|
4793
4798
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4794
4799
|
while (_iterator__ex2g4s_2.m()) {
|
|
4795
4800
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4796
|
-
var tmp0_aid = tmp0.
|
|
4801
|
+
var tmp0_aid = tmp0.ca9_1.d6e();
|
|
4797
4802
|
// Inline function 'kotlin.collections.map' call
|
|
4798
4803
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4799
4804
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4804,7 +4809,7 @@
|
|
|
4804
4809
|
destination_3.j(tmp$ret$9);
|
|
4805
4810
|
}
|
|
4806
4811
|
var sendToPlayer = UserActionPayload_init_$Create$(tmp0_aid, tmp2, tmp4, element_0, destination_3);
|
|
4807
|
-
var tmp0_safe_receiver =
|
|
4812
|
+
var tmp0_safe_receiver = mapToClient_18(action_0, sendToPlayer);
|
|
4808
4813
|
if (tmp0_safe_receiver == null)
|
|
4809
4814
|
null;
|
|
4810
4815
|
else {
|
|
@@ -4815,16 +4820,16 @@
|
|
|
4815
4820
|
tmp = destination_2;
|
|
4816
4821
|
} else {
|
|
4817
4822
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4818
|
-
var tmp0_0 = this.
|
|
4823
|
+
var tmp0_0 = this.da9_1;
|
|
4819
4824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4820
4825
|
var table = state.w6r();
|
|
4821
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4822
|
-
var tmp$ret$21 =
|
|
4826
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.ca9_1.d6e(), table.id, null);
|
|
4827
|
+
var tmp$ret$21 = mapToClient_17(action_0, sendToPlayer_0);
|
|
4823
4828
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4824
4829
|
} else {
|
|
4825
4830
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4826
|
-
var tmp0_1 = this.
|
|
4827
|
-
var tmp2_0 = action_0.
|
|
4831
|
+
var tmp0_1 = this.da9_1;
|
|
4832
|
+
var tmp2_0 = action_0.y90_1.id;
|
|
4828
4833
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4829
4834
|
// Inline function 'kotlin.collections.map' call
|
|
4830
4835
|
var this_1 = action_0.users;
|
|
@@ -4863,7 +4868,7 @@
|
|
|
4863
4868
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4864
4869
|
while (_iterator__ex2g4s_7.m()) {
|
|
4865
4870
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4866
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4871
|
+
var tmp0_aid_0 = tmp0_1.ca9_1.d6e();
|
|
4867
4872
|
// Inline function 'kotlin.collections.map' call
|
|
4868
4873
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4869
4874
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4874,7 +4879,7 @@
|
|
|
4874
4879
|
destination_8.j(tmp$ret$32);
|
|
4875
4880
|
}
|
|
4876
4881
|
var sendToPlayer_1 = UserActionPayload_init_$Create$(tmp0_aid_0, tmp2_0, tmp4_0, element_2, destination_8);
|
|
4877
|
-
var tmp0_safe_receiver_0 =
|
|
4882
|
+
var tmp0_safe_receiver_0 = mapToClient_16(action_0, sendToPlayer_1);
|
|
4878
4883
|
if (tmp0_safe_receiver_0 == null)
|
|
4879
4884
|
null;
|
|
4880
4885
|
else {
|
|
@@ -4885,39 +4890,39 @@
|
|
|
4885
4890
|
tmp = destination_7;
|
|
4886
4891
|
} else {
|
|
4887
4892
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4888
|
-
var tmp0_2 = this.
|
|
4893
|
+
var tmp0_2 = this.da9_1;
|
|
4889
4894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4890
4895
|
var table_0 = state.w6r();
|
|
4891
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4892
|
-
var tmp$ret$44 =
|
|
4896
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.ca9_1.d6e(), table_0.id, null);
|
|
4897
|
+
var tmp$ret$44 = mapToClient_15(action_0, sendToPlayer_2);
|
|
4893
4898
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4894
4899
|
} else {
|
|
4895
4900
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4896
|
-
var tmp0_3 = this.
|
|
4901
|
+
var tmp0_3 = this.da9_1;
|
|
4897
4902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4898
4903
|
var table_1 = state.w6r();
|
|
4899
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4900
|
-
var tmp$ret$46 =
|
|
4904
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.ca9_1.d6e(), table_1.id, null);
|
|
4905
|
+
var tmp$ret$46 = mapToClient_14(action_0, sendToPlayer_3);
|
|
4901
4906
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4902
4907
|
} else {
|
|
4903
4908
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4904
|
-
var tmp0_4 = this.
|
|
4909
|
+
var tmp0_4 = this.da9_1;
|
|
4905
4910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4906
4911
|
var table_2 = state.w6r();
|
|
4907
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4908
|
-
var tmp$ret$48 =
|
|
4912
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.ca9_1.d6e(), table_2.id, null);
|
|
4913
|
+
var tmp$ret$48 = mapToClient_13(action_0, sendToPlayer_4);
|
|
4909
4914
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4910
4915
|
} else {
|
|
4911
4916
|
if (action_0 instanceof ErrorAction) {
|
|
4912
|
-
var tmp0_5 = this.
|
|
4917
|
+
var tmp0_5 = this.da9_1;
|
|
4913
4918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4914
4919
|
var table_3 = state.w6r();
|
|
4915
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4916
|
-
var tmp$ret$50 =
|
|
4920
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.ca9_1.d6e(), table_3.id, null);
|
|
4921
|
+
var tmp$ret$50 = mapToClient_12(action_0, sendToPlayer_5);
|
|
4917
4922
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4918
4923
|
} else {
|
|
4919
4924
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4920
|
-
var tmp0_6 = this.
|
|
4925
|
+
var tmp0_6 = this.da9_1;
|
|
4921
4926
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4922
4927
|
var table_4 = state.w6r();
|
|
4923
4928
|
var tmp2_1 = table_4.id;
|
|
@@ -4950,7 +4955,7 @@
|
|
|
4950
4955
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4951
4956
|
while (_iterator__ex2g4s_11.m()) {
|
|
4952
4957
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4953
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4958
|
+
var tmp0_aid_1 = tmp0_6.ca9_1.d6e();
|
|
4954
4959
|
// Inline function 'kotlin.collections.map' call
|
|
4955
4960
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4956
4961
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4961,7 +4966,7 @@
|
|
|
4961
4966
|
destination_12.j(tmp$ret$58);
|
|
4962
4967
|
}
|
|
4963
4968
|
var sendToPlayer_6 = UserActionPayload_init_$Create$(tmp0_aid_1, tmp2_1, tmp4_1, element_4, destination_12);
|
|
4964
|
-
var tmp0_safe_receiver_1 =
|
|
4969
|
+
var tmp0_safe_receiver_1 = mapToClient_11(action_0, sendToPlayer_6);
|
|
4965
4970
|
if (tmp0_safe_receiver_1 == null)
|
|
4966
4971
|
null;
|
|
4967
4972
|
else {
|
|
@@ -4972,7 +4977,7 @@
|
|
|
4972
4977
|
tmp = destination_11;
|
|
4973
4978
|
} else {
|
|
4974
4979
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4975
|
-
var tmp0_7 = this.
|
|
4980
|
+
var tmp0_7 = this.da9_1;
|
|
4976
4981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4977
4982
|
var table_5 = state.w6r();
|
|
4978
4983
|
var tmp2_2 = table_5.id;
|
|
@@ -5005,7 +5010,7 @@
|
|
|
5005
5010
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5006
5011
|
while (_iterator__ex2g4s_15.m()) {
|
|
5007
5012
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5008
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5013
|
+
var tmp0_aid_2 = tmp0_7.ca9_1.d6e();
|
|
5009
5014
|
// Inline function 'kotlin.collections.map' call
|
|
5010
5015
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5011
5016
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5016,7 +5021,7 @@
|
|
|
5016
5021
|
destination_16.j(tmp$ret$77);
|
|
5017
5022
|
}
|
|
5018
5023
|
var sendToPlayer_7 = UserActionPayload_init_$Create$(tmp0_aid_2, tmp2_2, tmp4_2, element_6, destination_16);
|
|
5019
|
-
var tmp0_safe_receiver_2 =
|
|
5024
|
+
var tmp0_safe_receiver_2 = mapToClient_10(action_0, sendToPlayer_7);
|
|
5020
5025
|
if (tmp0_safe_receiver_2 == null)
|
|
5021
5026
|
null;
|
|
5022
5027
|
else {
|
|
@@ -5027,7 +5032,7 @@
|
|
|
5027
5032
|
tmp = destination_15;
|
|
5028
5033
|
} else {
|
|
5029
5034
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5030
|
-
var tmp0_8 = this.
|
|
5035
|
+
var tmp0_8 = this.da9_1;
|
|
5031
5036
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5032
5037
|
var table_6 = state.w6r();
|
|
5033
5038
|
var tmp2_3 = table_6.id;
|
|
@@ -5060,7 +5065,7 @@
|
|
|
5060
5065
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5061
5066
|
while (_iterator__ex2g4s_19.m()) {
|
|
5062
5067
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5063
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5068
|
+
var tmp0_aid_3 = tmp0_8.ca9_1.d6e();
|
|
5064
5069
|
// Inline function 'kotlin.collections.map' call
|
|
5065
5070
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5066
5071
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5072,10 +5077,10 @@
|
|
|
5072
5077
|
}
|
|
5073
5078
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5074
5079
|
var tmp_0;
|
|
5075
|
-
if (this.
|
|
5080
|
+
if (this.da9_1.ba9_1.supportBackwardActions && getPlayer(state.w6r().players, sendToPlayer_8.y7f_1).i6v_1.d6z_1) {
|
|
5076
5081
|
tmp_0 = null;
|
|
5077
5082
|
} else {
|
|
5078
|
-
tmp_0 =
|
|
5083
|
+
tmp_0 = mapToClient_9(action_0, sendToPlayer_8);
|
|
5079
5084
|
}
|
|
5080
5085
|
var tmp0_safe_receiver_3 = tmp_0;
|
|
5081
5086
|
if (tmp0_safe_receiver_3 == null)
|
|
@@ -5088,97 +5093,107 @@
|
|
|
5088
5093
|
tmp = destination_19;
|
|
5089
5094
|
} else {
|
|
5090
5095
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5091
|
-
var tmp0_9 = this.
|
|
5096
|
+
var tmp0_9 = this.da9_1;
|
|
5092
5097
|
var tmp2_4 = state.w6r();
|
|
5093
5098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5094
|
-
var exceptPlayerId = this.
|
|
5095
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5096
|
-
var tmp$ret$109 =
|
|
5099
|
+
var exceptPlayerId = this.da9_1.ba9_1.supportBackwardActions ? action_0.t91_1 : null;
|
|
5100
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.ca9_1.d6e(), tmp2_4.id, exceptPlayerId);
|
|
5101
|
+
var tmp$ret$109 = mapToClient_8(action_0, sendToPlayer_9);
|
|
5097
5102
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5098
5103
|
} else {
|
|
5099
5104
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5100
|
-
var tmp0_10 = this.
|
|
5105
|
+
var tmp0_10 = this.da9_1;
|
|
5101
5106
|
var tmp2_5 = state.w6r();
|
|
5102
5107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5103
|
-
var exceptPlayerId_0 = this.
|
|
5104
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5105
|
-
var tmp$ret$111 =
|
|
5108
|
+
var exceptPlayerId_0 = this.da9_1.ba9_1.supportBackwardActions ? action_0.v8w_1 : null;
|
|
5109
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.ca9_1.d6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5110
|
+
var tmp$ret$111 = mapToClient_7(action_0, sendToPlayer_10);
|
|
5106
5111
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5107
5112
|
} else {
|
|
5108
5113
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5109
|
-
var tmp0_11 = this.
|
|
5114
|
+
var tmp0_11 = this.da9_1;
|
|
5110
5115
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5111
5116
|
var table_7 = state.w6r();
|
|
5112
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5113
|
-
var tmp$ret$113 =
|
|
5117
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.ca9_1.d6e(), table_7.id, null);
|
|
5118
|
+
var tmp$ret$113 = mapToClient_6(action_0, sendToPlayer_11);
|
|
5114
5119
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5115
5120
|
} else {
|
|
5116
5121
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5117
|
-
var tmp0_12 = this.
|
|
5122
|
+
var tmp0_12 = this.da9_1;
|
|
5118
5123
|
var tmp2_6 = state.w6r();
|
|
5119
5124
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5120
|
-
var exceptPlayerId_1 = this.
|
|
5121
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5122
|
-
var tmp$ret$115 =
|
|
5125
|
+
var exceptPlayerId_1 = this.da9_1.ba9_1.supportBackwardActions ? action_0.z91_1 : null;
|
|
5126
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.ca9_1.d6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5127
|
+
var tmp$ret$115 = mapToClient_5(action_0, sendToPlayer_12);
|
|
5123
5128
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5124
5129
|
} else {
|
|
5125
5130
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5126
|
-
var tmp0_13 = this.
|
|
5131
|
+
var tmp0_13 = this.da9_1;
|
|
5127
5132
|
var tmp2_7 = state.w6r();
|
|
5128
5133
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5129
|
-
var exceptPlayerId_2 = this.
|
|
5130
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5131
|
-
var tmp$ret$117 =
|
|
5134
|
+
var exceptPlayerId_2 = this.da9_1.ba9_1.supportBackwardActions ? action_0.a8x_1 : null;
|
|
5135
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.ca9_1.d6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5136
|
+
var tmp$ret$117 = mapToClient_4(action_0, sendToPlayer_13);
|
|
5132
5137
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5133
5138
|
} else {
|
|
5134
5139
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5135
|
-
var tmp0_14 = this.
|
|
5140
|
+
var tmp0_14 = this.da9_1;
|
|
5136
5141
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5137
5142
|
var table_8 = state.w6r();
|
|
5138
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5139
|
-
var tmp$ret$119 =
|
|
5143
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.ca9_1.d6e(), table_8.id, null);
|
|
5144
|
+
var tmp$ret$119 = mapToClient_3(action_0, sendToPlayer_14);
|
|
5140
5145
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5141
5146
|
} else {
|
|
5142
|
-
if (action_0 instanceof
|
|
5143
|
-
var tmp0_15 = this.
|
|
5147
|
+
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5148
|
+
var tmp0_15 = this.da9_1;
|
|
5149
|
+
var tmp2_8 = state.w6r();
|
|
5144
5150
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5145
|
-
var
|
|
5146
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5147
|
-
var tmp$ret$121 =
|
|
5151
|
+
var exceptPlayerId_3 = this.da9_1.ba9_1.supportBackwardActions ? action_0.b92_1 : null;
|
|
5152
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.ca9_1.d6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5153
|
+
var tmp$ret$121 = mapToClient_2(action_0, sendToPlayer_15);
|
|
5148
5154
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5149
5155
|
} else {
|
|
5150
|
-
if (action_0 instanceof
|
|
5151
|
-
var
|
|
5152
|
-
var tmp0_16 = this.ua7_1;
|
|
5153
|
-
var tmp2_8 = state.w6r();
|
|
5154
|
-
var tmp_1;
|
|
5155
|
-
var tmp_2;
|
|
5156
|
-
if (this.ua7_1.sa7_1.supportBackwardActions) {
|
|
5157
|
-
tmp_2 = isInterface(message, UserMessage);
|
|
5158
|
-
} else {
|
|
5159
|
-
tmp_2 = false;
|
|
5160
|
-
}
|
|
5161
|
-
if (tmp_2) {
|
|
5162
|
-
tmp_1 = message.playerId;
|
|
5163
|
-
} else {
|
|
5164
|
-
tmp_1 = null;
|
|
5165
|
-
}
|
|
5156
|
+
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5157
|
+
var tmp0_16 = this.da9_1;
|
|
5166
5158
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5167
|
-
var
|
|
5168
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5169
|
-
var tmp$ret$123 =
|
|
5159
|
+
var table_9 = state.w6r();
|
|
5160
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.ca9_1.d6e(), table_9.id, null);
|
|
5161
|
+
var tmp$ret$123 = mapToClient_1(action_0, sendToPlayer_16);
|
|
5170
5162
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5171
5163
|
} else {
|
|
5172
|
-
if (action_0 instanceof
|
|
5173
|
-
var
|
|
5164
|
+
if (action_0 instanceof MessageMechanicAction) {
|
|
5165
|
+
var message = action_0.g92_1;
|
|
5166
|
+
var tmp0_17 = this.da9_1;
|
|
5174
5167
|
var tmp2_9 = state.w6r();
|
|
5168
|
+
var tmp_1;
|
|
5169
|
+
var tmp_2;
|
|
5170
|
+
if (this.da9_1.ba9_1.supportBackwardActions) {
|
|
5171
|
+
tmp_2 = isInterface(message, UserMessage);
|
|
5172
|
+
} else {
|
|
5173
|
+
tmp_2 = false;
|
|
5174
|
+
}
|
|
5175
|
+
if (tmp_2) {
|
|
5176
|
+
tmp_1 = message.playerId;
|
|
5177
|
+
} else {
|
|
5178
|
+
tmp_1 = null;
|
|
5179
|
+
}
|
|
5175
5180
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5176
|
-
var exceptPlayerId_4 =
|
|
5177
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5178
|
-
var tmp$ret$125 =
|
|
5181
|
+
var exceptPlayerId_4 = tmp_1;
|
|
5182
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.ca9_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5183
|
+
var tmp$ret$125 = mapToClient_0(action_0, sendToPlayer_17);
|
|
5179
5184
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5180
5185
|
} else {
|
|
5181
|
-
|
|
5186
|
+
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5187
|
+
var tmp0_18 = this.da9_1;
|
|
5188
|
+
var tmp2_10 = state.w6r();
|
|
5189
|
+
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5190
|
+
var exceptPlayerId_5 = action_0.playerId;
|
|
5191
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.ca9_1.d6e(), tmp2_10.id, exceptPlayerId_5);
|
|
5192
|
+
var tmp$ret$127 = mapToClient(action_0, sendToPlayer_18);
|
|
5193
|
+
tmp = listOfNotNull(tmp$ret$127);
|
|
5194
|
+
} else {
|
|
5195
|
+
noWhenBranchMatchedException();
|
|
5196
|
+
}
|
|
5182
5197
|
}
|
|
5183
5198
|
}
|
|
5184
5199
|
}
|
|
@@ -5211,10 +5226,10 @@
|
|
|
5211
5226
|
return this.q6h(store, next, action);
|
|
5212
5227
|
};
|
|
5213
5228
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5214
|
-
this.
|
|
5215
|
-
this.
|
|
5229
|
+
this.ba9_1 = logicConfig;
|
|
5230
|
+
this.ca9_1 = idsProvider;
|
|
5216
5231
|
}
|
|
5217
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5232
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).u96 = function () {
|
|
5218
5233
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5219
5234
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5220
5235
|
};
|
|
@@ -5223,8 +5238,8 @@
|
|
|
5223
5238
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5224
5239
|
}
|
|
5225
5240
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5226
|
-
this.
|
|
5227
|
-
this.
|
|
5241
|
+
this.ma9_1 = $provider;
|
|
5242
|
+
this.na9_1 = $action;
|
|
5228
5243
|
CoroutineImpl.call(this, resultContinuation);
|
|
5229
5244
|
}
|
|
5230
5245
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5245,7 +5260,7 @@
|
|
|
5245
5260
|
case 0:
|
|
5246
5261
|
this.t8_1 = 2;
|
|
5247
5262
|
this.s8_1 = 1;
|
|
5248
|
-
suspendResult = this.
|
|
5263
|
+
suspendResult = this.ma9_1.za5(this.na9_1, this);
|
|
5249
5264
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5250
5265
|
return suspendResult;
|
|
5251
5266
|
}
|
|
@@ -5268,8 +5283,8 @@
|
|
|
5268
5283
|
while (true);
|
|
5269
5284
|
};
|
|
5270
5285
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5271
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5272
|
-
i.
|
|
5286
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ma9_1, this.na9_1, completion);
|
|
5287
|
+
i.oa9_1 = $this$launchDefault;
|
|
5273
5288
|
return i;
|
|
5274
5289
|
};
|
|
5275
5290
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5281,15 +5296,15 @@
|
|
|
5281
5296
|
return l;
|
|
5282
5297
|
}
|
|
5283
5298
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5284
|
-
this.
|
|
5285
|
-
this.
|
|
5299
|
+
this.pa9_1 = $asyncProvider;
|
|
5300
|
+
this.qa9_1 = $provider;
|
|
5286
5301
|
}
|
|
5287
5302
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
5288
5303
|
return action instanceof ToClientAction;
|
|
5289
5304
|
};
|
|
5290
5305
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).q6h = function (store, next, action) {
|
|
5291
5306
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5292
|
-
this.
|
|
5307
|
+
this.pa9_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.qa9_1, action_0, null));
|
|
5293
5308
|
next(action_0);
|
|
5294
5309
|
};
|
|
5295
5310
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (store, next, action) {
|
|
@@ -5304,19 +5319,19 @@
|
|
|
5304
5319
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5305
5320
|
return action instanceof UpdateServerConfigAction;
|
|
5306
5321
|
};
|
|
5307
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5322
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).h9h = function (state, action) {
|
|
5308
5323
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5309
|
-
return state.
|
|
5324
|
+
return state.t8z(VOID, get_serverStatePayload_0(state).copy(action_0.fa8_1));
|
|
5310
5325
|
};
|
|
5311
5326
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5312
|
-
return this.
|
|
5327
|
+
return this.h9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5313
5328
|
};
|
|
5314
5329
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5315
5330
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5316
5331
|
return _this__u8e3s4.metadata;
|
|
5317
5332
|
}
|
|
5318
5333
|
function Companion_5() {
|
|
5319
|
-
this.
|
|
5334
|
+
this.ra9_1 = 'ServerMechanicLifecycleReducer';
|
|
5320
5335
|
}
|
|
5321
5336
|
var Companion_instance_13;
|
|
5322
5337
|
function Companion_getInstance_6() {
|
|
@@ -5333,7 +5348,7 @@
|
|
|
5333
5348
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5334
5349
|
Companion_getInstance();
|
|
5335
5350
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5336
|
-
var this_0 = $action.
|
|
5351
|
+
var this_0 = $action.r90_1.timeoutTimeMillis;
|
|
5337
5352
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5338
5353
|
tmp_0 = tmp_1.k67(tmp_2, tmp$ret$0);
|
|
5339
5354
|
}
|
|
@@ -5342,65 +5357,65 @@
|
|
|
5342
5357
|
}
|
|
5343
5358
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5344
5359
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5345
|
-
this.
|
|
5360
|
+
this.ua9_1 = logger;
|
|
5346
5361
|
}
|
|
5347
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5348
|
-
this.
|
|
5362
|
+
protoOf(ServerMechanicLifecycleReducer).u9i = function (state, action) {
|
|
5363
|
+
this.ua9_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5349
5364
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5350
|
-
var tableId = action.
|
|
5365
|
+
var tableId = action.s90_1;
|
|
5351
5366
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5352
|
-
var tmp0_$this = this.
|
|
5353
|
-
var tmp1_version = action.
|
|
5354
|
-
var tmp2_config = action.
|
|
5355
|
-
var tmp3_users = action.
|
|
5367
|
+
var tmp0_$this = this.v9i_1;
|
|
5368
|
+
var tmp1_version = action.t90_1;
|
|
5369
|
+
var tmp2_config = action.r90_1;
|
|
5370
|
+
var tmp3_users = action.v90_1;
|
|
5356
5371
|
var tmp4_spectators = action.spectators;
|
|
5357
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5358
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
5372
|
+
var tmp5_gameCreatorPlayerId = action.u90_1;
|
|
5373
|
+
var tmp7_tableOrNull = tmp0_$this.c9k(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5359
5374
|
var tmp;
|
|
5360
5375
|
if (serverState == null) {
|
|
5361
|
-
this.
|
|
5376
|
+
this.ua9_1.w(VOID, 'ServerPayload is not onStart');
|
|
5362
5377
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5363
5378
|
} else {
|
|
5364
5379
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5365
5380
|
}
|
|
5366
5381
|
var tmp8_payload = tmp;
|
|
5367
|
-
return state.
|
|
5382
|
+
return state.t8z(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5368
5383
|
};
|
|
5369
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5370
|
-
this.
|
|
5384
|
+
protoOf(ServerMechanicLifecycleReducer).s9i = function (state, action) {
|
|
5385
|
+
this.ua9_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5371
5386
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5372
|
-
var tmp2_tableOrNull = action.
|
|
5387
|
+
var tmp2_tableOrNull = action.y90_1;
|
|
5373
5388
|
var tmp = Companion_instance_14;
|
|
5374
5389
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5375
|
-
var tmp_1 = action.
|
|
5390
|
+
var tmp_1 = action.z90_1;
|
|
5376
5391
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5377
|
-
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.
|
|
5378
|
-
return state.
|
|
5392
|
+
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.y90_1.gameId));
|
|
5393
|
+
return state.t8z(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5379
5394
|
};
|
|
5380
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5381
|
-
this.
|
|
5395
|
+
protoOf(ServerMechanicLifecycleReducer).t9i = function (state, action) {
|
|
5396
|
+
this.w9i_1.n58(action.previousGameId);
|
|
5382
5397
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5383
|
-
var tmp1_tableOrNull = this.
|
|
5398
|
+
var tmp1_tableOrNull = this.v9i_1.d9k(state.w6r(), action.gameId);
|
|
5384
5399
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5385
|
-
return state.
|
|
5400
|
+
return state.t8z(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5386
5401
|
};
|
|
5387
5402
|
function spectatorsReducer(logger) {
|
|
5388
5403
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5389
5404
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5390
5405
|
}
|
|
5391
5406
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5392
|
-
this.
|
|
5407
|
+
this.va9_1 = $logger;
|
|
5393
5408
|
}
|
|
5394
5409
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5395
5410
|
return isInterface(action, SpectatorsAction);
|
|
5396
5411
|
};
|
|
5397
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5412
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).h9h = function (state, action) {
|
|
5398
5413
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5399
5414
|
var table = state.w6r();
|
|
5400
5415
|
var tmp;
|
|
5401
5416
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5402
5417
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5403
|
-
var tmp0 = action_0.
|
|
5418
|
+
var tmp0 = action_0.ga8_1;
|
|
5404
5419
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5405
5420
|
var destination = ArrayList_init_$Create$_0();
|
|
5406
5421
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5419,9 +5434,9 @@
|
|
|
5419
5434
|
var tmp_0;
|
|
5420
5435
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5421
5436
|
if (!sameSpectators.r()) {
|
|
5422
|
-
this.
|
|
5437
|
+
this.va9_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5423
5438
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5424
|
-
var tmp0_0 = action_0.
|
|
5439
|
+
var tmp0_0 = action_0.ga8_1;
|
|
5425
5440
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5426
5441
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5427
5442
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5456,7 +5471,7 @@
|
|
|
5456
5471
|
}
|
|
5457
5472
|
tmp_0 = destination_0;
|
|
5458
5473
|
} else {
|
|
5459
|
-
tmp_0 = action_0.
|
|
5474
|
+
tmp_0 = action_0.ga8_1;
|
|
5460
5475
|
}
|
|
5461
5476
|
// Inline function 'kotlin.collections.map' call
|
|
5462
5477
|
var this_0 = tmp_0;
|
|
@@ -5469,11 +5484,11 @@
|
|
|
5469
5484
|
destination_1.j(tmp$ret$13);
|
|
5470
5485
|
}
|
|
5471
5486
|
var spectatorsToAdd = toSet(destination_1);
|
|
5472
|
-
tmp = state.
|
|
5487
|
+
tmp = state.t8z(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5473
5488
|
} else {
|
|
5474
5489
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5475
5490
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5476
|
-
var tmp0_1 = action_0.
|
|
5491
|
+
var tmp0_1 = action_0.ha8_1;
|
|
5477
5492
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5478
5493
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5479
5494
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5492,9 +5507,9 @@
|
|
|
5492
5507
|
var tmp_2;
|
|
5493
5508
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5494
5509
|
if (!sameSpectators_0.r()) {
|
|
5495
|
-
this.
|
|
5510
|
+
this.va9_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5496
5511
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5497
|
-
var tmp0_2 = action_0.
|
|
5512
|
+
var tmp0_2 = action_0.ha8_1;
|
|
5498
5513
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5499
5514
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5500
5515
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5529,7 +5544,7 @@
|
|
|
5529
5544
|
}
|
|
5530
5545
|
tmp_2 = destination_3;
|
|
5531
5546
|
} else {
|
|
5532
|
-
tmp_2 = action_0.
|
|
5547
|
+
tmp_2 = action_0.ha8_1;
|
|
5533
5548
|
}
|
|
5534
5549
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5535
5550
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5566,7 +5581,7 @@
|
|
|
5566
5581
|
destination_4.j(element_5);
|
|
5567
5582
|
}
|
|
5568
5583
|
}
|
|
5569
|
-
tmp = state.
|
|
5584
|
+
tmp = state.t8z(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5570
5585
|
} else {
|
|
5571
5586
|
noWhenBranchMatchedException();
|
|
5572
5587
|
}
|
|
@@ -5574,17 +5589,17 @@
|
|
|
5574
5589
|
return tmp;
|
|
5575
5590
|
};
|
|
5576
5591
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5577
|
-
return this.
|
|
5592
|
+
return this.h9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5578
5593
|
};
|
|
5579
5594
|
function Companion_6() {
|
|
5580
5595
|
}
|
|
5581
|
-
protoOf(Companion_6).
|
|
5596
|
+
protoOf(Companion_6).wa9 = function (config, metadata) {
|
|
5582
5597
|
return new ServerStatePayload(config, metadata);
|
|
5583
5598
|
};
|
|
5584
5599
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5585
5600
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5586
5601
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5587
|
-
return $super === VOID ? this.
|
|
5602
|
+
return $super === VOID ? this.wa9(config, metadata) : $super.wa9.call(this, config, metadata);
|
|
5588
5603
|
};
|
|
5589
5604
|
var Companion_instance_14;
|
|
5590
5605
|
function Companion_getInstance_7() {
|
|
@@ -5597,7 +5612,7 @@
|
|
|
5597
5612
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5598
5613
|
return this.config;
|
|
5599
5614
|
};
|
|
5600
|
-
protoOf(ServerStatePayload).
|
|
5615
|
+
protoOf(ServerStatePayload).m8k = function () {
|
|
5601
5616
|
return this.metadata;
|
|
5602
5617
|
};
|
|
5603
5618
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5606,13 +5621,13 @@
|
|
|
5606
5621
|
protoOf(ServerStatePayload).pe = function () {
|
|
5607
5622
|
return this.metadata;
|
|
5608
5623
|
};
|
|
5609
|
-
protoOf(ServerStatePayload).
|
|
5624
|
+
protoOf(ServerStatePayload).xa9 = function (config, metadata) {
|
|
5610
5625
|
return new ServerStatePayload(config, metadata);
|
|
5611
5626
|
};
|
|
5612
5627
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5613
5628
|
config = config === VOID ? this.config : config;
|
|
5614
5629
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5615
|
-
return $super === VOID ? this.
|
|
5630
|
+
return $super === VOID ? this.xa9(config, metadata) : $super.xa9.call(this, config, metadata);
|
|
5616
5631
|
};
|
|
5617
5632
|
protoOf(ServerStatePayload).toString = function () {
|
|
5618
5633
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5660,7 +5675,7 @@
|
|
|
5660
5675
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5661
5676
|
}
|
|
5662
5677
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5663
|
-
var gameId = Companion_instance_3.
|
|
5678
|
+
var gameId = Companion_instance_3.e9m(payload);
|
|
5664
5679
|
var tmp;
|
|
5665
5680
|
if (!(gameId == null)) {
|
|
5666
5681
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5677,14 +5692,14 @@
|
|
|
5677
5692
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5678
5693
|
}
|
|
5679
5694
|
function _get_logger__rkp4sl_0($this) {
|
|
5680
|
-
var tmp0 = $this.
|
|
5695
|
+
var tmp0 = $this.haa_1;
|
|
5681
5696
|
var tmp = KProperty1;
|
|
5682
5697
|
// Inline function 'kotlin.getValue' call
|
|
5683
5698
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5684
5699
|
return tmp0.x();
|
|
5685
5700
|
}
|
|
5686
5701
|
function _get_di__ndbzja($this) {
|
|
5687
|
-
var tmp0 = $this.
|
|
5702
|
+
var tmp0 = $this.iaa_1;
|
|
5688
5703
|
var tmp = KProperty1;
|
|
5689
5704
|
// Inline function 'kotlin.getValue' call
|
|
5690
5705
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5701,8 +5716,8 @@
|
|
|
5701
5716
|
}
|
|
5702
5717
|
function createCallbackOutput($this, gameServer) {
|
|
5703
5718
|
var tmp;
|
|
5704
|
-
if (!($this.
|
|
5705
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5719
|
+
if (!($this.faa_1 == null)) {
|
|
5720
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.faa_1);
|
|
5706
5721
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5707
5722
|
} else {
|
|
5708
5723
|
tmp = null;
|
|
@@ -5716,11 +5731,11 @@
|
|
|
5716
5731
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5717
5732
|
return function () {
|
|
5718
5733
|
var tmp;
|
|
5719
|
-
if (this$0.
|
|
5734
|
+
if (this$0.faa_1 == null) {
|
|
5720
5735
|
tmp = null;
|
|
5721
5736
|
} else {
|
|
5722
5737
|
// Inline function 'kotlin.let' call
|
|
5723
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5738
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.faa_1)]));
|
|
5724
5739
|
}
|
|
5725
5740
|
var tmp1_elvis_lhs = tmp;
|
|
5726
5741
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5753,7 +5768,7 @@
|
|
|
5753
5768
|
tmp_0.z62(tmp$ret$3);
|
|
5754
5769
|
$this$DI.d5z(jsonModule());
|
|
5755
5770
|
$this$DI.d5z(serverHelpersModule());
|
|
5756
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5771
|
+
$this$DI.d5z(randomOrgModule(this$0.gaa_1));
|
|
5757
5772
|
return Unit_instance;
|
|
5758
5773
|
};
|
|
5759
5774
|
}
|
|
@@ -5829,16 +5844,16 @@
|
|
|
5829
5844
|
};
|
|
5830
5845
|
}
|
|
5831
5846
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5832
|
-
this.
|
|
5847
|
+
this.paa_1 = $reducer;
|
|
5833
5848
|
}
|
|
5834
5849
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).b6g = function (action) {
|
|
5835
5850
|
return isInterface(action, Action);
|
|
5836
5851
|
};
|
|
5837
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5838
|
-
return this.
|
|
5852
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).h9h = function (state, action) {
|
|
5853
|
+
return this.paa_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5839
5854
|
};
|
|
5840
5855
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r6h = function (state, action) {
|
|
5841
|
-
return this.
|
|
5856
|
+
return this.h9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5842
5857
|
};
|
|
5843
5858
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5844
5859
|
return function () {
|
|
@@ -5918,7 +5933,7 @@
|
|
|
5918
5933
|
}
|
|
5919
5934
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5920
5935
|
return function (it) {
|
|
5921
|
-
var payload = Companion_instance_5.
|
|
5936
|
+
var payload = Companion_instance_5.q9k(it);
|
|
5922
5937
|
var tmp;
|
|
5923
5938
|
if (!(payload == null)) {
|
|
5924
5939
|
return payload;
|
|
@@ -5939,7 +5954,7 @@
|
|
|
5939
5954
|
// Inline function 'kotlin.let' call
|
|
5940
5955
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5941
5956
|
}
|
|
5942
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5957
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.gaa_1));
|
|
5943
5958
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5944
5959
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5945
5960
|
return Unit_instance;
|
|
@@ -5948,8 +5963,8 @@
|
|
|
5948
5963
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5949
5964
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5950
5965
|
production = production === VOID ? true : production;
|
|
5951
|
-
this.
|
|
5952
|
-
this.
|
|
5966
|
+
this.faa_1 = loggerCallback;
|
|
5967
|
+
this.gaa_1 = randomOrgConfig;
|
|
5953
5968
|
var tmp = AppEnvironment_getInstance();
|
|
5954
5969
|
var tmp_0;
|
|
5955
5970
|
if (production) {
|
|
@@ -5959,9 +5974,9 @@
|
|
|
5959
5974
|
}
|
|
5960
5975
|
tmp.y6l(tmp_0);
|
|
5961
5976
|
var tmp_1 = this;
|
|
5962
|
-
tmp_1.
|
|
5977
|
+
tmp_1.haa_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5963
5978
|
var tmp_2 = this;
|
|
5964
|
-
tmp_2.
|
|
5979
|
+
tmp_2.iaa_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5965
5980
|
var tmp_3 = this;
|
|
5966
5981
|
// Inline function 'org.kodein.di.instance' call
|
|
5967
5982
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5970,7 +5985,7 @@
|
|
|
5970
5985
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5971
5986
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5972
5987
|
var tmp_6 = KProperty1;
|
|
5973
|
-
tmp_3.
|
|
5988
|
+
tmp_3.jaa_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5974
5989
|
var tmp_7 = this;
|
|
5975
5990
|
// Inline function 'org.kodein.di.instance' call
|
|
5976
5991
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5979,7 +5994,7 @@
|
|
|
5979
5994
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5980
5995
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5981
5996
|
var tmp_10 = KProperty1;
|
|
5982
|
-
tmp_7.
|
|
5997
|
+
tmp_7.kaa_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5983
5998
|
var tmp_11 = this;
|
|
5984
5999
|
// Inline function 'org.kodein.di.instance' call
|
|
5985
6000
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5988,7 +6003,7 @@
|
|
|
5988
6003
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
5989
6004
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
5990
6005
|
var tmp_14 = KProperty1;
|
|
5991
|
-
tmp_11.
|
|
6006
|
+
tmp_11.laa_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5992
6007
|
var tmp_15 = this;
|
|
5993
6008
|
// Inline function 'org.kodein.di.instance' call
|
|
5994
6009
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5997,7 +6012,7 @@
|
|
|
5997
6012
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
5998
6013
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
5999
6014
|
var tmp_18 = KProperty1;
|
|
6000
|
-
tmp_15.
|
|
6015
|
+
tmp_15.maa_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6001
6016
|
var tmp_19 = this;
|
|
6002
6017
|
// Inline function 'org.kodein.di.instance' call
|
|
6003
6018
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6006,7 +6021,7 @@
|
|
|
6006
6021
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6007
6022
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6008
6023
|
var tmp_22 = KProperty1;
|
|
6009
|
-
tmp_19.
|
|
6024
|
+
tmp_19.naa_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6010
6025
|
var tmp_23 = this;
|
|
6011
6026
|
// Inline function 'org.kodein.di.instance' call
|
|
6012
6027
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6015,45 +6030,45 @@
|
|
|
6015
6030
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6016
6031
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6017
6032
|
var tmp_26 = KProperty1;
|
|
6018
|
-
tmp_23.
|
|
6033
|
+
tmp_23.oaa_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6019
6034
|
}
|
|
6020
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6021
|
-
var tmp0 = this.
|
|
6035
|
+
protoOf(GameServerEngineControllerImpl).ya9 = function () {
|
|
6036
|
+
var tmp0 = this.jaa_1;
|
|
6022
6037
|
var tmp = KProperty1;
|
|
6023
6038
|
// Inline function 'kotlin.getValue' call
|
|
6024
6039
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6025
6040
|
return tmp0.x();
|
|
6026
6041
|
};
|
|
6027
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6028
|
-
var tmp0 = this.
|
|
6042
|
+
protoOf(GameServerEngineControllerImpl).aaa = function () {
|
|
6043
|
+
var tmp0 = this.kaa_1;
|
|
6029
6044
|
var tmp = KProperty1;
|
|
6030
6045
|
// Inline function 'kotlin.getValue' call
|
|
6031
6046
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6032
6047
|
return tmp0.x();
|
|
6033
6048
|
};
|
|
6034
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6035
|
-
var tmp0 = this.
|
|
6049
|
+
protoOf(GameServerEngineControllerImpl).baa = function () {
|
|
6050
|
+
var tmp0 = this.laa_1;
|
|
6036
6051
|
var tmp = KProperty1;
|
|
6037
6052
|
// Inline function 'kotlin.getValue' call
|
|
6038
6053
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6039
6054
|
return tmp0.x();
|
|
6040
6055
|
};
|
|
6041
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6042
|
-
var tmp0 = this.
|
|
6056
|
+
protoOf(GameServerEngineControllerImpl).caa = function () {
|
|
6057
|
+
var tmp0 = this.maa_1;
|
|
6043
6058
|
var tmp = KProperty1;
|
|
6044
6059
|
// Inline function 'kotlin.getValue' call
|
|
6045
6060
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6046
6061
|
return tmp0.x();
|
|
6047
6062
|
};
|
|
6048
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6049
|
-
var tmp0 = this.
|
|
6063
|
+
protoOf(GameServerEngineControllerImpl).za9 = function () {
|
|
6064
|
+
var tmp0 = this.naa_1;
|
|
6050
6065
|
var tmp = KProperty1;
|
|
6051
6066
|
// Inline function 'kotlin.getValue' call
|
|
6052
6067
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6053
6068
|
return tmp0.x();
|
|
6054
6069
|
};
|
|
6055
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6056
|
-
var tmp0 = this.
|
|
6070
|
+
protoOf(GameServerEngineControllerImpl).daa = function () {
|
|
6071
|
+
var tmp0 = this.oaa_1;
|
|
6057
6072
|
var tmp = KProperty1;
|
|
6058
6073
|
// Inline function 'kotlin.getValue' call
|
|
6059
6074
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6065,7 +6080,7 @@
|
|
|
6065
6080
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6066
6081
|
return this.createGameEngineWithLogic();
|
|
6067
6082
|
};
|
|
6068
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6083
|
+
protoOf(GameServerEngineControllerImpl).eaa = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6069
6084
|
var combinedLogger = Companion_instance_6.mx();
|
|
6070
6085
|
var gameServer = {_v: null};
|
|
6071
6086
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6113,7 +6128,7 @@
|
|
|
6113
6128
|
function TestHelper() {
|
|
6114
6129
|
}
|
|
6115
6130
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6116
|
-
var tmp0 = $this.
|
|
6131
|
+
var tmp0 = $this.saa_1;
|
|
6117
6132
|
var tmp = KProperty1;
|
|
6118
6133
|
// Inline function 'kotlin.getValue' call
|
|
6119
6134
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6121,7 +6136,7 @@
|
|
|
6121
6136
|
}
|
|
6122
6137
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6123
6138
|
return function ($this$singleton) {
|
|
6124
|
-
return this$0.
|
|
6139
|
+
return this$0.qaa_1;
|
|
6125
6140
|
};
|
|
6126
6141
|
}
|
|
6127
6142
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6160,27 +6175,27 @@
|
|
|
6160
6175
|
return emptyMap();
|
|
6161
6176
|
}
|
|
6162
6177
|
function TestHelperImpl(logger) {
|
|
6163
|
-
this.
|
|
6178
|
+
this.qaa_1 = logger;
|
|
6164
6179
|
var tmp = this;
|
|
6165
6180
|
var tmp_0 = Companion_instance_4;
|
|
6166
|
-
tmp.
|
|
6181
|
+
tmp.raa_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
6167
6182
|
var tmp_1 = this;
|
|
6168
6183
|
// Inline function 'org.kodein.di.instance' call
|
|
6169
|
-
var this_0 = this.
|
|
6184
|
+
var this_0 = this.raa_1;
|
|
6170
6185
|
// Inline function 'org.kodein.type.generic' call
|
|
6171
6186
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6172
6187
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6173
6188
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6174
6189
|
var tmp_4 = KProperty1;
|
|
6175
|
-
tmp_1.
|
|
6190
|
+
tmp_1.saa_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6176
6191
|
}
|
|
6177
6192
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6178
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6193
|
+
return _get_playerAnswerInteractor__msggz1(this).c8q(playerId, table, botConfig);
|
|
6179
6194
|
};
|
|
6180
6195
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6181
6196
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6182
6197
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6183
|
-
var tmp0 = mechanicAction.
|
|
6198
|
+
var tmp0 = mechanicAction.p93();
|
|
6184
6199
|
var tmp$ret$0;
|
|
6185
6200
|
$l$block_0: {
|
|
6186
6201
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6212,7 +6227,7 @@
|
|
|
6212
6227
|
};
|
|
6213
6228
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6214
6229
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6215
|
-
var tmp0 = action.
|
|
6230
|
+
var tmp0 = action.p93();
|
|
6216
6231
|
var tmp$ret$0;
|
|
6217
6232
|
$l$block_0: {
|
|
6218
6233
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6245,14 +6260,14 @@
|
|
|
6245
6260
|
function RoomMetadata() {
|
|
6246
6261
|
var tmp = this;
|
|
6247
6262
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6248
|
-
tmp.
|
|
6263
|
+
tmp.taa_1 = LinkedHashMap_init_$Create$();
|
|
6249
6264
|
this.extras = {};
|
|
6250
|
-
this.extras = this.
|
|
6265
|
+
this.extras = this.taa_1;
|
|
6251
6266
|
}
|
|
6252
|
-
protoOf(RoomMetadata).
|
|
6267
|
+
protoOf(RoomMetadata).uaa = function () {
|
|
6253
6268
|
return this.extras;
|
|
6254
6269
|
};
|
|
6255
|
-
protoOf(RoomMetadata).
|
|
6270
|
+
protoOf(RoomMetadata).uaa = function () {
|
|
6256
6271
|
return this.extras;
|
|
6257
6272
|
};
|
|
6258
6273
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6270,7 +6285,7 @@
|
|
|
6270
6285
|
};
|
|
6271
6286
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6272
6287
|
// Inline function 'kotlin.collections.set' call
|
|
6273
|
-
this.
|
|
6288
|
+
this.taa_1.f2(gameId, game);
|
|
6274
6289
|
};
|
|
6275
6290
|
function GameMetadata(gameId) {
|
|
6276
6291
|
this.gameId = gameId;
|
|
@@ -6279,7 +6294,7 @@
|
|
|
6279
6294
|
protoOf(GameMetadata).c54 = function () {
|
|
6280
6295
|
return this.gameId;
|
|
6281
6296
|
};
|
|
6282
|
-
protoOf(GameMetadata).
|
|
6297
|
+
protoOf(GameMetadata).uaa = function () {
|
|
6283
6298
|
return this.extras;
|
|
6284
6299
|
};
|
|
6285
6300
|
function serverHelpersModule() {
|
|
@@ -6341,7 +6356,7 @@
|
|
|
6341
6356
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6342
6357
|
protoOf(GameServer).shutdown = shutdown;
|
|
6343
6358
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6344
|
-
return this.
|
|
6359
|
+
return this.m8k();
|
|
6345
6360
|
});
|
|
6346
6361
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6347
6362
|
return this.y53();
|
|
@@ -6349,25 +6364,28 @@
|
|
|
6349
6364
|
defineProp(protoOf(GameServer), 'table', function () {
|
|
6350
6365
|
return this.w6r();
|
|
6351
6366
|
});
|
|
6352
|
-
defineProp(protoOf(GameServer), '
|
|
6367
|
+
defineProp(protoOf(GameServer), 'tableOrNull', function () {
|
|
6353
6368
|
return this.x6r();
|
|
6354
6369
|
});
|
|
6355
|
-
defineProp(protoOf(GameServer), '
|
|
6370
|
+
defineProp(protoOf(GameServer), 'isTableExists', function () {
|
|
6356
6371
|
return this.y6r();
|
|
6357
6372
|
});
|
|
6373
|
+
defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
|
|
6374
|
+
return this.z6r();
|
|
6375
|
+
});
|
|
6358
6376
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6359
6377
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6360
|
-
return this.
|
|
6378
|
+
return this.f8h();
|
|
6361
6379
|
});
|
|
6362
6380
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6363
6381
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6364
|
-
return this.
|
|
6382
|
+
return this.f8h();
|
|
6365
6383
|
});
|
|
6366
6384
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6367
|
-
return this.
|
|
6385
|
+
return this.f8h();
|
|
6368
6386
|
});
|
|
6369
6387
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6370
|
-
return this.
|
|
6388
|
+
return this.f8h();
|
|
6371
6389
|
});
|
|
6372
6390
|
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
6373
6391
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6383,22 +6401,22 @@
|
|
|
6383
6401
|
});
|
|
6384
6402
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6385
6403
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6386
|
-
return this.
|
|
6404
|
+
return this.ya9();
|
|
6387
6405
|
});
|
|
6388
6406
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6389
|
-
return this.
|
|
6407
|
+
return this.aaa();
|
|
6390
6408
|
});
|
|
6391
6409
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6392
|
-
return this.
|
|
6410
|
+
return this.baa();
|
|
6393
6411
|
});
|
|
6394
6412
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6395
|
-
return this.
|
|
6413
|
+
return this.caa();
|
|
6396
6414
|
});
|
|
6397
6415
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6398
|
-
return this.
|
|
6416
|
+
return this.za9();
|
|
6399
6417
|
});
|
|
6400
6418
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6401
|
-
return this.
|
|
6419
|
+
return this.daa();
|
|
6402
6420
|
});
|
|
6403
6421
|
//endregion
|
|
6404
6422
|
//region block: init
|