raspberry_games_server_game_logic 1.8.404 → 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 +90 -90
- package/Logic_Debertz-ai_module.js +34 -34
- package/Logic_Debertz-core.js +56 -56
- package/Logic_Debertz-engine.js +14028 -13109
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +3 -2
- package/Logic_Debertz-game_server.js +975 -963
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +282 -275
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +73 -73
- 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.
|
|
2925
|
+
var state = this.ga5_1.store.state;
|
|
2924
2926
|
if (state.y6r()) {
|
|
2925
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
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;
|
|
@@ -3097,55 +3099,55 @@
|
|
|
3097
3099
|
};
|
|
3098
3100
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3099
3101
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3100
|
-
this.
|
|
3102
|
+
this.s9v_1.u6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3101
3103
|
};
|
|
3102
3104
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3103
3105
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3104
|
-
this.
|
|
3106
|
+
this.s9v_1.u6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3105
3107
|
};
|
|
3106
3108
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3107
3109
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3108
|
-
this.
|
|
3110
|
+
this.s9v_1.u6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3109
3111
|
};
|
|
3110
|
-
protoOf(GameServer).
|
|
3112
|
+
protoOf(GameServer).ha5 = function (playerId, permanently) {
|
|
3111
3113
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3112
|
-
this.
|
|
3114
|
+
this.s9v_1.u6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3113
3115
|
};
|
|
3114
|
-
protoOf(GameServer).
|
|
3116
|
+
protoOf(GameServer).ia5 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3115
3117
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3116
|
-
this.
|
|
3118
|
+
this.s9v_1.u6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3117
3119
|
};
|
|
3118
3120
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3119
3121
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3120
|
-
var isCreated = this.
|
|
3121
|
-
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));
|
|
3122
3124
|
};
|
|
3123
3125
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3124
3126
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3125
|
-
this.
|
|
3126
|
-
this.
|
|
3127
|
+
this.s9v_1.u6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3128
|
+
this.s9v_1.u6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3127
3129
|
};
|
|
3128
3130
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3129
|
-
this.
|
|
3131
|
+
this.s9v_1.u6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3130
3132
|
};
|
|
3131
3133
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3132
|
-
this.
|
|
3134
|
+
this.s9v_1.u6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3133
3135
|
};
|
|
3134
3136
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3135
3137
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3136
|
-
this.
|
|
3138
|
+
this.s9v_1.u6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3137
3139
|
};
|
|
3138
|
-
protoOf(GameServer).
|
|
3140
|
+
protoOf(GameServer).ja5 = function (newRid) {
|
|
3139
3141
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3140
|
-
this.
|
|
3142
|
+
this.s9v_1.u6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3141
3143
|
};
|
|
3142
3144
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3143
3145
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3144
|
-
this.
|
|
3146
|
+
this.s9v_1.u6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3145
3147
|
};
|
|
3146
|
-
protoOf(GameServer).
|
|
3148
|
+
protoOf(GameServer).ka5 = function (reason, roomId) {
|
|
3147
3149
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3148
|
-
this.
|
|
3150
|
+
this.s9v_1.u6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3149
3151
|
};
|
|
3150
3152
|
protoOf(GameServer).clear = function () {
|
|
3151
3153
|
return this.i2();
|
|
@@ -3199,13 +3201,13 @@
|
|
|
3199
3201
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3200
3202
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3201
3203
|
}
|
|
3202
|
-
protoOf(ServerConfig).
|
|
3204
|
+
protoOf(ServerConfig).la5 = function () {
|
|
3203
3205
|
return this.fromRound;
|
|
3204
3206
|
};
|
|
3205
|
-
protoOf(ServerConfig).
|
|
3207
|
+
protoOf(ServerConfig).ma5 = function () {
|
|
3206
3208
|
return this.shouldFinishGameWhenDeploy;
|
|
3207
3209
|
};
|
|
3208
|
-
protoOf(ServerConfig).
|
|
3210
|
+
protoOf(ServerConfig).na5 = function () {
|
|
3209
3211
|
return this.shouldFinishGameWithBots;
|
|
3210
3212
|
};
|
|
3211
3213
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3217,14 +3219,14 @@
|
|
|
3217
3219
|
protoOf(ServerConfig).xl = function () {
|
|
3218
3220
|
return this.shouldFinishGameWithBots;
|
|
3219
3221
|
};
|
|
3220
|
-
protoOf(ServerConfig).
|
|
3222
|
+
protoOf(ServerConfig).oa5 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3221
3223
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3222
3224
|
};
|
|
3223
3225
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3224
3226
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3225
3227
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3226
3228
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3227
|
-
return $super === VOID ? this.
|
|
3229
|
+
return $super === VOID ? this.oa5(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.oa5.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3228
3230
|
};
|
|
3229
3231
|
protoOf(ServerConfig).toString = function () {
|
|
3230
3232
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3289,20 +3291,20 @@
|
|
|
3289
3291
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3290
3292
|
tmp0_serialDesc.gz('roomId', false);
|
|
3291
3293
|
tmp0_serialDesc.gz('table', false);
|
|
3292
|
-
this.
|
|
3294
|
+
this.pa5_1 = tmp0_serialDesc;
|
|
3293
3295
|
}
|
|
3294
|
-
protoOf($serializer).
|
|
3295
|
-
var tmp0_desc = this.
|
|
3296
|
+
protoOf($serializer).qa5 = function (encoder, value) {
|
|
3297
|
+
var tmp0_desc = this.pa5_1;
|
|
3296
3298
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3297
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3299
|
+
tmp1_output.dt(tmp0_desc, 0, value.ra5_1);
|
|
3298
3300
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3299
3301
|
tmp1_output.pr(tmp0_desc);
|
|
3300
3302
|
};
|
|
3301
3303
|
protoOf($serializer).co = function (encoder, value) {
|
|
3302
|
-
return this.
|
|
3304
|
+
return this.qa5(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3303
3305
|
};
|
|
3304
3306
|
protoOf($serializer).do = function (decoder) {
|
|
3305
|
-
var tmp0_desc = this.
|
|
3307
|
+
var tmp0_desc = this.pa5_1;
|
|
3306
3308
|
var tmp1_flag = true;
|
|
3307
3309
|
var tmp2_index = 0;
|
|
3308
3310
|
var tmp3_bitMask0 = 0;
|
|
@@ -3337,7 +3339,7 @@
|
|
|
3337
3339
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3338
3340
|
};
|
|
3339
3341
|
protoOf($serializer).bo = function () {
|
|
3340
|
-
return this.
|
|
3342
|
+
return this.pa5_1;
|
|
3341
3343
|
};
|
|
3342
3344
|
protoOf($serializer).vz = function () {
|
|
3343
3345
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3353,9 +3355,9 @@
|
|
|
3353
3355
|
}
|
|
3354
3356
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3355
3357
|
if (!(3 === (3 & seen0))) {
|
|
3356
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3358
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().pa5_1);
|
|
3357
3359
|
}
|
|
3358
|
-
$this.
|
|
3360
|
+
$this.ra5_1 = roomId;
|
|
3359
3361
|
$this.table = table;
|
|
3360
3362
|
return $this;
|
|
3361
3363
|
}
|
|
@@ -3363,17 +3365,17 @@
|
|
|
3363
3365
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3364
3366
|
}
|
|
3365
3367
|
function TableStateUpdateDto(roomId, table) {
|
|
3366
|
-
this.
|
|
3368
|
+
this.ra5_1 = roomId;
|
|
3367
3369
|
this.table = table;
|
|
3368
3370
|
}
|
|
3369
|
-
protoOf(TableStateUpdateDto).
|
|
3370
|
-
return this.
|
|
3371
|
+
protoOf(TableStateUpdateDto).f8h = function () {
|
|
3372
|
+
return this.ra5_1;
|
|
3371
3373
|
};
|
|
3372
3374
|
protoOf(TableStateUpdateDto).w6r = function () {
|
|
3373
3375
|
return this.table;
|
|
3374
3376
|
};
|
|
3375
3377
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3376
|
-
return this.
|
|
3378
|
+
return this.ra5_1;
|
|
3377
3379
|
};
|
|
3378
3380
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3379
3381
|
return this.table;
|
|
@@ -3382,15 +3384,15 @@
|
|
|
3382
3384
|
return new TableStateUpdateDto(roomId, table);
|
|
3383
3385
|
};
|
|
3384
3386
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3385
|
-
roomId = roomId === VOID ? this.
|
|
3387
|
+
roomId = roomId === VOID ? this.ra5_1 : roomId;
|
|
3386
3388
|
table = table === VOID ? this.table : table;
|
|
3387
3389
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3388
3390
|
};
|
|
3389
3391
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3390
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3392
|
+
return 'TableStateUpdateDto(roomId=' + this.ra5_1 + ', table=' + this.table + ')';
|
|
3391
3393
|
};
|
|
3392
3394
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3393
|
-
var result = getStringHashCode(this.
|
|
3395
|
+
var result = getStringHashCode(this.ra5_1);
|
|
3394
3396
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3395
3397
|
return result;
|
|
3396
3398
|
};
|
|
@@ -3399,7 +3401,7 @@
|
|
|
3399
3401
|
return true;
|
|
3400
3402
|
if (!(other instanceof TableStateUpdateDto))
|
|
3401
3403
|
return false;
|
|
3402
|
-
if (!(this.
|
|
3404
|
+
if (!(this.ra5_1 === other.ra5_1))
|
|
3403
3405
|
return false;
|
|
3404
3406
|
if (!(this.table === other.table))
|
|
3405
3407
|
return false;
|
|
@@ -3419,20 +3421,20 @@
|
|
|
3419
3421
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3420
3422
|
tmp0_serialDesc.gz('roomId', false);
|
|
3421
3423
|
tmp0_serialDesc.gz('actions', false);
|
|
3422
|
-
this.
|
|
3424
|
+
this.sa5_1 = tmp0_serialDesc;
|
|
3423
3425
|
}
|
|
3424
|
-
protoOf($serializer_0).
|
|
3425
|
-
var tmp0_desc = this.
|
|
3426
|
+
protoOf($serializer_0).ta5 = function (encoder, value) {
|
|
3427
|
+
var tmp0_desc = this.sa5_1;
|
|
3426
3428
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3427
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3429
|
+
tmp1_output.dt(tmp0_desc, 0, value.ua5_1);
|
|
3428
3430
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3429
3431
|
tmp1_output.pr(tmp0_desc);
|
|
3430
3432
|
};
|
|
3431
3433
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3432
|
-
return this.
|
|
3434
|
+
return this.ta5(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3433
3435
|
};
|
|
3434
3436
|
protoOf($serializer_0).do = function (decoder) {
|
|
3435
|
-
var tmp0_desc = this.
|
|
3437
|
+
var tmp0_desc = this.sa5_1;
|
|
3436
3438
|
var tmp1_flag = true;
|
|
3437
3439
|
var tmp2_index = 0;
|
|
3438
3440
|
var tmp3_bitMask0 = 0;
|
|
@@ -3467,7 +3469,7 @@
|
|
|
3467
3469
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3468
3470
|
};
|
|
3469
3471
|
protoOf($serializer_0).bo = function () {
|
|
3470
|
-
return this.
|
|
3472
|
+
return this.sa5_1;
|
|
3471
3473
|
};
|
|
3472
3474
|
protoOf($serializer_0).vz = function () {
|
|
3473
3475
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3483,9 +3485,9 @@
|
|
|
3483
3485
|
}
|
|
3484
3486
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3485
3487
|
if (!(3 === (3 & seen0))) {
|
|
3486
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3488
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().sa5_1);
|
|
3487
3489
|
}
|
|
3488
|
-
$this.
|
|
3490
|
+
$this.ua5_1 = roomId;
|
|
3489
3491
|
$this.actions = actions;
|
|
3490
3492
|
return $this;
|
|
3491
3493
|
}
|
|
@@ -3493,17 +3495,17 @@
|
|
|
3493
3495
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3494
3496
|
}
|
|
3495
3497
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3496
|
-
this.
|
|
3498
|
+
this.ua5_1 = roomId;
|
|
3497
3499
|
this.actions = actions;
|
|
3498
3500
|
}
|
|
3499
|
-
protoOf(ActionsStateUpdateDto).
|
|
3500
|
-
return this.
|
|
3501
|
+
protoOf(ActionsStateUpdateDto).f8h = function () {
|
|
3502
|
+
return this.ua5_1;
|
|
3501
3503
|
};
|
|
3502
|
-
protoOf(ActionsStateUpdateDto).
|
|
3504
|
+
protoOf(ActionsStateUpdateDto).t8h = function () {
|
|
3503
3505
|
return this.actions;
|
|
3504
3506
|
};
|
|
3505
3507
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3506
|
-
return this.
|
|
3508
|
+
return this.ua5_1;
|
|
3507
3509
|
};
|
|
3508
3510
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3509
3511
|
return this.actions;
|
|
@@ -3512,15 +3514,15 @@
|
|
|
3512
3514
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3513
3515
|
};
|
|
3514
3516
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3515
|
-
roomId = roomId === VOID ? this.
|
|
3517
|
+
roomId = roomId === VOID ? this.ua5_1 : roomId;
|
|
3516
3518
|
actions = actions === VOID ? this.actions : actions;
|
|
3517
3519
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3518
3520
|
};
|
|
3519
3521
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3520
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3522
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ua5_1 + ', actions=' + this.actions + ')';
|
|
3521
3523
|
};
|
|
3522
3524
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3523
|
-
var result = getStringHashCode(this.
|
|
3525
|
+
var result = getStringHashCode(this.ua5_1);
|
|
3524
3526
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3525
3527
|
return result;
|
|
3526
3528
|
};
|
|
@@ -3529,7 +3531,7 @@
|
|
|
3529
3531
|
return true;
|
|
3530
3532
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3531
3533
|
return false;
|
|
3532
|
-
if (!(this.
|
|
3534
|
+
if (!(this.ua5_1 === other.ua5_1))
|
|
3533
3535
|
return false;
|
|
3534
3536
|
if (!(this.actions === other.actions))
|
|
3535
3537
|
return false;
|
|
@@ -3559,42 +3561,42 @@
|
|
|
3559
3561
|
var tmp$ret$0 = mapToDto(item);
|
|
3560
3562
|
destination.j(tmp$ret$0);
|
|
3561
3563
|
}
|
|
3562
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3564
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.va5_1, encoderDecoderProvider.m8o(destination));
|
|
3563
3565
|
}
|
|
3564
3566
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3565
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3567
|
+
return new TableStateUpdateDto(_this__u8e3s4.wa5_1, encoderDecoderProvider.k8o(mapToDto_0(_this__u8e3s4.table)));
|
|
3566
3568
|
}
|
|
3567
3569
|
function ServerStateUpdate() {
|
|
3568
3570
|
}
|
|
3569
3571
|
function TableStateUpdate(roomId, table) {
|
|
3570
|
-
this.
|
|
3572
|
+
this.wa5_1 = roomId;
|
|
3571
3573
|
this.table = table;
|
|
3572
3574
|
}
|
|
3573
|
-
protoOf(TableStateUpdate).
|
|
3574
|
-
return this.
|
|
3575
|
+
protoOf(TableStateUpdate).f8h = function () {
|
|
3576
|
+
return this.wa5_1;
|
|
3575
3577
|
};
|
|
3576
3578
|
protoOf(TableStateUpdate).w6r = function () {
|
|
3577
3579
|
return this.table;
|
|
3578
3580
|
};
|
|
3579
3581
|
protoOf(TableStateUpdate).oe = function () {
|
|
3580
|
-
return this.
|
|
3582
|
+
return this.wa5_1;
|
|
3581
3583
|
};
|
|
3582
3584
|
protoOf(TableStateUpdate).pe = function () {
|
|
3583
3585
|
return this.table;
|
|
3584
3586
|
};
|
|
3585
|
-
protoOf(TableStateUpdate).
|
|
3587
|
+
protoOf(TableStateUpdate).xa5 = function (roomId, table) {
|
|
3586
3588
|
return new TableStateUpdate(roomId, table);
|
|
3587
3589
|
};
|
|
3588
3590
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3589
|
-
roomId = roomId === VOID ? this.
|
|
3591
|
+
roomId = roomId === VOID ? this.wa5_1 : roomId;
|
|
3590
3592
|
table = table === VOID ? this.table : table;
|
|
3591
|
-
return $super === VOID ? this.
|
|
3593
|
+
return $super === VOID ? this.xa5(roomId, table) : $super.xa5.call(this, roomId, table);
|
|
3592
3594
|
};
|
|
3593
3595
|
protoOf(TableStateUpdate).toString = function () {
|
|
3594
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3596
|
+
return 'TableStateUpdate(roomId=' + this.wa5_1 + ', table=' + this.table.toString() + ')';
|
|
3595
3597
|
};
|
|
3596
3598
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3597
|
-
var result = getStringHashCode(this.
|
|
3599
|
+
var result = getStringHashCode(this.wa5_1);
|
|
3598
3600
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3599
3601
|
return result;
|
|
3600
3602
|
};
|
|
@@ -3603,41 +3605,41 @@
|
|
|
3603
3605
|
return true;
|
|
3604
3606
|
if (!(other instanceof TableStateUpdate))
|
|
3605
3607
|
return false;
|
|
3606
|
-
if (!(this.
|
|
3608
|
+
if (!(this.wa5_1 === other.wa5_1))
|
|
3607
3609
|
return false;
|
|
3608
3610
|
if (!this.table.equals(other.table))
|
|
3609
3611
|
return false;
|
|
3610
3612
|
return true;
|
|
3611
3613
|
};
|
|
3612
3614
|
function ActionsStateUpdate(roomId, actions) {
|
|
3613
|
-
this.
|
|
3615
|
+
this.va5_1 = roomId;
|
|
3614
3616
|
this.actions = actions;
|
|
3615
3617
|
}
|
|
3616
|
-
protoOf(ActionsStateUpdate).
|
|
3617
|
-
return this.
|
|
3618
|
+
protoOf(ActionsStateUpdate).f8h = function () {
|
|
3619
|
+
return this.va5_1;
|
|
3618
3620
|
};
|
|
3619
|
-
protoOf(ActionsStateUpdate).
|
|
3621
|
+
protoOf(ActionsStateUpdate).t8h = function () {
|
|
3620
3622
|
return this.actions;
|
|
3621
3623
|
};
|
|
3622
3624
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3623
|
-
return this.
|
|
3625
|
+
return this.va5_1;
|
|
3624
3626
|
};
|
|
3625
3627
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3626
3628
|
return this.actions;
|
|
3627
3629
|
};
|
|
3628
|
-
protoOf(ActionsStateUpdate).
|
|
3630
|
+
protoOf(ActionsStateUpdate).ya5 = function (roomId, actions) {
|
|
3629
3631
|
return new ActionsStateUpdate(roomId, actions);
|
|
3630
3632
|
};
|
|
3631
3633
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3632
|
-
roomId = roomId === VOID ? this.
|
|
3634
|
+
roomId = roomId === VOID ? this.va5_1 : roomId;
|
|
3633
3635
|
actions = actions === VOID ? this.actions : actions;
|
|
3634
|
-
return $super === VOID ? this.
|
|
3636
|
+
return $super === VOID ? this.ya5(roomId, actions) : $super.ya5.call(this, roomId, actions);
|
|
3635
3637
|
};
|
|
3636
3638
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3637
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3639
|
+
return 'ActionsStateUpdate(roomId=' + this.va5_1 + ', actions=' + toString(this.actions) + ')';
|
|
3638
3640
|
};
|
|
3639
3641
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3640
|
-
var result = getStringHashCode(this.
|
|
3642
|
+
var result = getStringHashCode(this.va5_1);
|
|
3641
3643
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3642
3644
|
return result;
|
|
3643
3645
|
};
|
|
@@ -3646,7 +3648,7 @@
|
|
|
3646
3648
|
return true;
|
|
3647
3649
|
if (!(other instanceof ActionsStateUpdate))
|
|
3648
3650
|
return false;
|
|
3649
|
-
if (!(this.
|
|
3651
|
+
if (!(this.va5_1 === other.va5_1))
|
|
3650
3652
|
return false;
|
|
3651
3653
|
if (!equals(this.actions, other.actions))
|
|
3652
3654
|
return false;
|
|
@@ -3880,18 +3882,18 @@
|
|
|
3880
3882
|
function ToClientEventsObserver() {
|
|
3881
3883
|
}
|
|
3882
3884
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3883
|
-
this.
|
|
3884
|
-
this.
|
|
3885
|
+
this.ia6_1 = this$0;
|
|
3886
|
+
this.ja6_1 = $actions;
|
|
3885
3887
|
CoroutineImpl.call(this, resultContinuation);
|
|
3886
3888
|
}
|
|
3887
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3888
|
-
var tmp = this.
|
|
3889
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ma6 = function ($this$flow, $completion) {
|
|
3890
|
+
var tmp = this.na6($this$flow, $completion);
|
|
3889
3891
|
tmp.u8_1 = Unit_instance;
|
|
3890
3892
|
tmp.v8_1 = null;
|
|
3891
3893
|
return tmp.a9();
|
|
3892
3894
|
};
|
|
3893
3895
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
3894
|
-
return this.
|
|
3896
|
+
return this.ma6((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3895
3897
|
};
|
|
3896
3898
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
3897
3899
|
var suspendResult = this.u8_1;
|
|
@@ -3901,19 +3903,19 @@
|
|
|
3901
3903
|
switch (tmp) {
|
|
3902
3904
|
case 0:
|
|
3903
3905
|
this.t8_1 = 4;
|
|
3904
|
-
this.
|
|
3905
|
-
this.
|
|
3906
|
+
this.ia6_1.sa6_1;
|
|
3907
|
+
this.la6_1 = transformToEmits(this.ia6_1, this.ja6_1).l();
|
|
3906
3908
|
this.s8_1 = 1;
|
|
3907
3909
|
continue $sm;
|
|
3908
3910
|
case 1:
|
|
3909
|
-
if (!this.
|
|
3911
|
+
if (!this.la6_1.m()) {
|
|
3910
3912
|
this.s8_1 = 3;
|
|
3911
3913
|
continue $sm;
|
|
3912
3914
|
}
|
|
3913
3915
|
|
|
3914
|
-
var element = this.
|
|
3916
|
+
var element = this.la6_1.n();
|
|
3915
3917
|
this.s8_1 = 2;
|
|
3916
|
-
suspendResult = this.
|
|
3918
|
+
suspendResult = this.ka6_1.n28(element, this);
|
|
3917
3919
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3918
3920
|
return suspendResult;
|
|
3919
3921
|
}
|
|
@@ -3923,11 +3925,11 @@
|
|
|
3923
3925
|
this.s8_1 = 1;
|
|
3924
3926
|
continue $sm;
|
|
3925
3927
|
case 3:
|
|
3926
|
-
var tmp0 = this.
|
|
3928
|
+
var tmp0 = this.ia6_1.ra6_1;
|
|
3927
3929
|
l$ret$1: do {
|
|
3928
3930
|
while (true) {
|
|
3929
3931
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3930
|
-
var upd = cur - this.
|
|
3932
|
+
var upd = cur - this.ja6_1.o() | 0;
|
|
3931
3933
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3932
3934
|
break l$ret$1;
|
|
3933
3935
|
}
|
|
@@ -3949,15 +3951,15 @@
|
|
|
3949
3951
|
}
|
|
3950
3952
|
while (true);
|
|
3951
3953
|
};
|
|
3952
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3953
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3954
|
-
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;
|
|
3955
3957
|
return i;
|
|
3956
3958
|
};
|
|
3957
3959
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3958
3960
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3959
3961
|
var l = function ($this$flow, $completion) {
|
|
3960
|
-
return i.
|
|
3962
|
+
return i.ma6($this$flow, $completion);
|
|
3961
3963
|
};
|
|
3962
3964
|
l.$arity = 1;
|
|
3963
3965
|
return l;
|
|
@@ -4027,29 +4029,29 @@
|
|
|
4027
4029
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4028
4030
|
}
|
|
4029
4031
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4030
|
-
var tmp = $this.
|
|
4032
|
+
var tmp = $this.qa6_1.d6e();
|
|
4031
4033
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4032
|
-
var this_0 = _this__u8e3s4.
|
|
4034
|
+
var this_0 = _this__u8e3s4.va6_1;
|
|
4033
4035
|
var tmp_0 = copyToArray(this_0);
|
|
4034
4036
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4035
|
-
var this_1 = _this__u8e3s4.
|
|
4037
|
+
var this_1 = _this__u8e3s4.wa6_1;
|
|
4036
4038
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4037
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4039
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ua6_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.xa6_1);
|
|
4038
4040
|
}
|
|
4039
4041
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4040
|
-
this.
|
|
4041
|
-
this.
|
|
4042
|
-
this.
|
|
4043
|
-
this.
|
|
4042
|
+
this.ua6_1 = tableId;
|
|
4043
|
+
this.va6_1 = includePlayers;
|
|
4044
|
+
this.wa6_1 = excludePlayers;
|
|
4045
|
+
this.xa6_1 = deliveryType;
|
|
4044
4046
|
}
|
|
4045
4047
|
protoOf(GroupKey).toString = function () {
|
|
4046
|
-
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() + ')';
|
|
4047
4049
|
};
|
|
4048
4050
|
protoOf(GroupKey).hashCode = function () {
|
|
4049
|
-
var result = getStringHashCode(this.
|
|
4050
|
-
result = imul(result, 31) + hashCode(this.
|
|
4051
|
-
result = imul(result, 31) + hashCode(this.
|
|
4052
|
-
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;
|
|
4053
4055
|
return result;
|
|
4054
4056
|
};
|
|
4055
4057
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4057,35 +4059,35 @@
|
|
|
4057
4059
|
return true;
|
|
4058
4060
|
if (!(other instanceof GroupKey))
|
|
4059
4061
|
return false;
|
|
4060
|
-
if (!(this.
|
|
4062
|
+
if (!(this.ua6_1 === other.ua6_1))
|
|
4061
4063
|
return false;
|
|
4062
|
-
if (!equals(this.
|
|
4064
|
+
if (!equals(this.va6_1, other.va6_1))
|
|
4063
4065
|
return false;
|
|
4064
|
-
if (!equals(this.
|
|
4066
|
+
if (!equals(this.wa6_1, other.wa6_1))
|
|
4065
4067
|
return false;
|
|
4066
|
-
if (!this.
|
|
4068
|
+
if (!this.xa6_1.equals(other.xa6_1))
|
|
4067
4069
|
return false;
|
|
4068
4070
|
return true;
|
|
4069
4071
|
};
|
|
4070
4072
|
function Companion_4() {
|
|
4071
|
-
this.
|
|
4073
|
+
this.ya6_1 = 6;
|
|
4072
4074
|
}
|
|
4073
4075
|
var Companion_instance_12;
|
|
4074
4076
|
function Companion_getInstance_5() {
|
|
4075
4077
|
return Companion_instance_12;
|
|
4076
4078
|
}
|
|
4077
4079
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4078
|
-
this.
|
|
4080
|
+
this.ha7_1 = this$0;
|
|
4079
4081
|
CoroutineImpl.call(this, resultContinuation);
|
|
4080
4082
|
}
|
|
4081
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4082
|
-
var tmp = this.
|
|
4083
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ja7 = function (actions, $completion) {
|
|
4084
|
+
var tmp = this.ka7(actions, $completion);
|
|
4083
4085
|
tmp.u8_1 = Unit_instance;
|
|
4084
4086
|
tmp.v8_1 = null;
|
|
4085
4087
|
return tmp.a9();
|
|
4086
4088
|
};
|
|
4087
4089
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4088
|
-
return this.
|
|
4090
|
+
return this.ja7((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4089
4091
|
};
|
|
4090
4092
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4091
4093
|
var suspendResult = this.u8_1;
|
|
@@ -4094,7 +4096,7 @@
|
|
|
4094
4096
|
var tmp = this.s8_1;
|
|
4095
4097
|
if (tmp === 0) {
|
|
4096
4098
|
this.t8_1 = 1;
|
|
4097
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4099
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ha7_1, this.ia7_1, null));
|
|
4098
4100
|
} else if (tmp === 1) {
|
|
4099
4101
|
throw this.v8_1;
|
|
4100
4102
|
}
|
|
@@ -4104,23 +4106,23 @@
|
|
|
4104
4106
|
}
|
|
4105
4107
|
while (true);
|
|
4106
4108
|
};
|
|
4107
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4108
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4109
|
-
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;
|
|
4110
4112
|
return i;
|
|
4111
4113
|
};
|
|
4112
4114
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4113
4115
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4114
4116
|
var l = function (actions, $completion) {
|
|
4115
|
-
return i.
|
|
4117
|
+
return i.ja7(actions, $completion);
|
|
4116
4118
|
};
|
|
4117
4119
|
l.$arity = 1;
|
|
4118
4120
|
return l;
|
|
4119
4121
|
}
|
|
4120
4122
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4121
4123
|
CoroutineImpl.call(this, resultContinuation);
|
|
4122
|
-
this.
|
|
4123
|
-
this.
|
|
4124
|
+
this.ta7_1 = _this__u8e3s4;
|
|
4125
|
+
this.ua7_1 = fromEvent;
|
|
4124
4126
|
}
|
|
4125
4127
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4126
4128
|
var suspendResult = this.u8_1;
|
|
@@ -4130,8 +4132,8 @@
|
|
|
4130
4132
|
switch (tmp) {
|
|
4131
4133
|
case 0:
|
|
4132
4134
|
this.t8_1 = 2;
|
|
4133
|
-
this.
|
|
4134
|
-
var tmp0 = this.
|
|
4135
|
+
this.ta7_1.sa6_1;
|
|
4136
|
+
var tmp0 = this.ta7_1.ra6_1;
|
|
4135
4137
|
l$ret$1: do {
|
|
4136
4138
|
while (true) {
|
|
4137
4139
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4143,7 +4145,7 @@
|
|
|
4143
4145
|
}
|
|
4144
4146
|
while (false);
|
|
4145
4147
|
this.s8_1 = 1;
|
|
4146
|
-
suspendResult = this.
|
|
4148
|
+
suspendResult = this.ta7_1.ta6_1.n28(this.ua7_1, this);
|
|
4147
4149
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4148
4150
|
return suspendResult;
|
|
4149
4151
|
}
|
|
@@ -4167,7 +4169,7 @@
|
|
|
4167
4169
|
};
|
|
4168
4170
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4169
4171
|
CoroutineImpl.call(this, resultContinuation);
|
|
4170
|
-
this.
|
|
4172
|
+
this.da8_1 = _this__u8e3s4;
|
|
4171
4173
|
}
|
|
4172
4174
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4173
4175
|
var suspendResult = this.u8_1;
|
|
@@ -4177,12 +4179,12 @@
|
|
|
4177
4179
|
switch (tmp) {
|
|
4178
4180
|
case 0:
|
|
4179
4181
|
this.t8_1 = 5;
|
|
4180
|
-
this.
|
|
4181
|
-
this.
|
|
4182
|
+
this.da8_1.sa6_1;
|
|
4183
|
+
this.ea8_1 = 0;
|
|
4182
4184
|
this.s8_1 = 1;
|
|
4183
4185
|
continue $sm;
|
|
4184
4186
|
case 1:
|
|
4185
|
-
if (!!(this.
|
|
4187
|
+
if (!!(this.da8_1.ra6_1.kotlinx$atomicfu$value === 0)) {
|
|
4186
4188
|
this.s8_1 = 4;
|
|
4187
4189
|
continue $sm;
|
|
4188
4190
|
}
|
|
@@ -4195,9 +4197,9 @@
|
|
|
4195
4197
|
|
|
4196
4198
|
continue $sm;
|
|
4197
4199
|
case 2:
|
|
4198
|
-
this.
|
|
4199
|
-
if (this.
|
|
4200
|
-
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);
|
|
4201
4203
|
this.s8_1 = 4;
|
|
4202
4204
|
continue $sm;
|
|
4203
4205
|
} else {
|
|
@@ -4225,183 +4227,183 @@
|
|
|
4225
4227
|
while (true);
|
|
4226
4228
|
};
|
|
4227
4229
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4228
|
-
this.
|
|
4229
|
-
this.
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4230
|
+
this.oa6_1 = serverReduxConfig;
|
|
4231
|
+
this.pa6_1 = logger;
|
|
4232
|
+
this.qa6_1 = idsProvider;
|
|
4233
|
+
this.ra6_1 = atomic$ref$1(0);
|
|
4232
4234
|
var tmp = this;
|
|
4233
4235
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4234
|
-
tmp.
|
|
4235
|
-
this.
|
|
4236
|
+
tmp.sa6_1 = get_atomicfu$reentrantLock();
|
|
4237
|
+
this.ta6_1 = MutableSharedFlow();
|
|
4236
4238
|
}
|
|
4237
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4239
|
+
protoOf(ToClientEventsObserverImpl).za5 = function (fromEvent, $completion) {
|
|
4238
4240
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4239
4241
|
tmp.u8_1 = Unit_instance;
|
|
4240
4242
|
tmp.v8_1 = null;
|
|
4241
4243
|
return tmp.a9();
|
|
4242
4244
|
};
|
|
4243
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4245
|
+
protoOf(ToClientEventsObserverImpl).q9f = function ($completion) {
|
|
4244
4246
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4245
4247
|
tmp.u8_1 = Unit_instance;
|
|
4246
4248
|
tmp.v8_1 = null;
|
|
4247
4249
|
return tmp.a9();
|
|
4248
4250
|
};
|
|
4249
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4250
|
-
if (!this.
|
|
4251
|
-
return this.
|
|
4251
|
+
protoOf(ToClientEventsObserverImpl).l9w = function () {
|
|
4252
|
+
if (!this.oa6_1.enabledCombinedEvents) {
|
|
4253
|
+
return this.ta6_1;
|
|
4252
4254
|
}
|
|
4253
|
-
var tmp = windowedByInterval(this.
|
|
4255
|
+
var tmp = windowedByInterval(this.ta6_1, fromInt(this.oa6_1.combinedEventsIntervalMillis));
|
|
4254
4256
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4255
4257
|
};
|
|
4256
4258
|
function UpdateServerConfigAction(serverConfig) {
|
|
4257
|
-
this.
|
|
4259
|
+
this.fa8_1 = serverConfig;
|
|
4258
4260
|
}
|
|
4259
4261
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4260
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4262
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.fa8_1.toString() + ')';
|
|
4261
4263
|
};
|
|
4262
4264
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4263
|
-
return this.
|
|
4265
|
+
return this.fa8_1.hashCode();
|
|
4264
4266
|
};
|
|
4265
4267
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4266
4268
|
if (this === other)
|
|
4267
4269
|
return true;
|
|
4268
4270
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4269
4271
|
return false;
|
|
4270
|
-
if (!this.
|
|
4272
|
+
if (!this.fa8_1.equals(other.fa8_1))
|
|
4271
4273
|
return false;
|
|
4272
4274
|
return true;
|
|
4273
4275
|
};
|
|
4274
4276
|
function SpectatorsAction() {
|
|
4275
4277
|
}
|
|
4276
4278
|
function AddSpectatorsAction(spectators) {
|
|
4277
|
-
this.
|
|
4279
|
+
this.ga8_1 = spectators;
|
|
4278
4280
|
}
|
|
4279
4281
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4280
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4282
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.ga8_1) + ')';
|
|
4281
4283
|
};
|
|
4282
4284
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4283
|
-
return hashCode(this.
|
|
4285
|
+
return hashCode(this.ga8_1);
|
|
4284
4286
|
};
|
|
4285
4287
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4286
4288
|
if (this === other)
|
|
4287
4289
|
return true;
|
|
4288
4290
|
if (!(other instanceof AddSpectatorsAction))
|
|
4289
4291
|
return false;
|
|
4290
|
-
if (!equals(this.
|
|
4292
|
+
if (!equals(this.ga8_1, other.ga8_1))
|
|
4291
4293
|
return false;
|
|
4292
4294
|
return true;
|
|
4293
4295
|
};
|
|
4294
4296
|
function RemoveSpectatorsAction(spectators) {
|
|
4295
|
-
this.
|
|
4297
|
+
this.ha8_1 = spectators;
|
|
4296
4298
|
}
|
|
4297
4299
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4298
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4300
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ha8_1) + ')';
|
|
4299
4301
|
};
|
|
4300
4302
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4301
|
-
return hashCode(this.
|
|
4303
|
+
return hashCode(this.ha8_1);
|
|
4302
4304
|
};
|
|
4303
4305
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4304
4306
|
if (this === other)
|
|
4305
4307
|
return true;
|
|
4306
4308
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4307
4309
|
return false;
|
|
4308
|
-
if (!equals(this.
|
|
4310
|
+
if (!equals(this.ha8_1, other.ha8_1))
|
|
4309
4311
|
return false;
|
|
4310
4312
|
return true;
|
|
4311
4313
|
};
|
|
4312
4314
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4313
|
-
var tmp0 = $this.
|
|
4315
|
+
var tmp0 = $this.na8_1;
|
|
4314
4316
|
var tmp = KProperty1;
|
|
4315
4317
|
// Inline function 'kotlin.getValue' call
|
|
4316
4318
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4317
4319
|
return tmp0.x();
|
|
4318
4320
|
}
|
|
4319
4321
|
function _get_logger__rkp4sl($this) {
|
|
4320
|
-
var tmp0 = $this.
|
|
4322
|
+
var tmp0 = $this.oa8_1;
|
|
4321
4323
|
var tmp = KProperty1;
|
|
4322
4324
|
// Inline function 'kotlin.getValue' call
|
|
4323
4325
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4324
4326
|
return tmp0.x();
|
|
4325
4327
|
}
|
|
4326
4328
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4327
|
-
var tmp0 = $this.
|
|
4329
|
+
var tmp0 = $this.pa8_1;
|
|
4328
4330
|
var tmp = KProperty1;
|
|
4329
4331
|
// Inline function 'kotlin.getValue' call
|
|
4330
4332
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4331
4333
|
return tmp0.x();
|
|
4332
4334
|
}
|
|
4333
4335
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4334
|
-
var tmp0 = $this.
|
|
4336
|
+
var tmp0 = $this.qa8_1;
|
|
4335
4337
|
var tmp = KProperty1;
|
|
4336
4338
|
// Inline function 'kotlin.getValue' call
|
|
4337
4339
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4338
4340
|
return tmp0.x();
|
|
4339
4341
|
}
|
|
4340
4342
|
function _get_serverConfig__rk2g06($this) {
|
|
4341
|
-
var tmp0 = $this.
|
|
4343
|
+
var tmp0 = $this.ra8_1;
|
|
4342
4344
|
var tmp = KProperty1;
|
|
4343
4345
|
// Inline function 'kotlin.getValue' call
|
|
4344
4346
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4345
4347
|
return tmp0.x();
|
|
4346
4348
|
}
|
|
4347
4349
|
function _get_logicConfig__52ww9d($this) {
|
|
4348
|
-
var tmp0 = $this.
|
|
4350
|
+
var tmp0 = $this.sa8_1;
|
|
4349
4351
|
var tmp = KProperty1;
|
|
4350
4352
|
// Inline function 'kotlin.getValue' call
|
|
4351
4353
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4352
4354
|
return tmp0.x();
|
|
4353
4355
|
}
|
|
4354
4356
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4355
|
-
var tmp0 = $this.
|
|
4357
|
+
var tmp0 = $this.ta8_1;
|
|
4356
4358
|
var tmp = KProperty1;
|
|
4357
4359
|
// Inline function 'kotlin.getValue' call
|
|
4358
4360
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4359
4361
|
return tmp0.x();
|
|
4360
4362
|
}
|
|
4361
4363
|
function _get_botConfig__cpaxzc($this) {
|
|
4362
|
-
var tmp0 = $this.
|
|
4364
|
+
var tmp0 = $this.ua8_1;
|
|
4363
4365
|
var tmp = KProperty1;
|
|
4364
4366
|
// Inline function 'kotlin.getValue' call
|
|
4365
4367
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4366
4368
|
return tmp0.x();
|
|
4367
4369
|
}
|
|
4368
4370
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4369
|
-
var tmp0 = $this.
|
|
4371
|
+
var tmp0 = $this.va8_1;
|
|
4370
4372
|
var tmp = KProperty1;
|
|
4371
4373
|
// Inline function 'kotlin.getValue' call
|
|
4372
4374
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4373
4375
|
return tmp0.x();
|
|
4374
4376
|
}
|
|
4375
4377
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4376
|
-
var tmp0 = $this.
|
|
4378
|
+
var tmp0 = $this.wa8_1;
|
|
4377
4379
|
var tmp = KProperty1;
|
|
4378
4380
|
// Inline function 'kotlin.getValue' call
|
|
4379
4381
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4380
4382
|
return tmp0.x();
|
|
4381
4383
|
}
|
|
4382
4384
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4383
|
-
var tmp0 = $this.
|
|
4385
|
+
var tmp0 = $this.xa8_1;
|
|
4384
4386
|
var tmp = KProperty1;
|
|
4385
4387
|
// Inline function 'kotlin.getValue' call
|
|
4386
4388
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4387
4389
|
return tmp0.x();
|
|
4388
4390
|
}
|
|
4389
4391
|
function _get_dealerConfig__183ci8($this) {
|
|
4390
|
-
var tmp0 = $this.
|
|
4392
|
+
var tmp0 = $this.ya8_1;
|
|
4391
4393
|
var tmp = KProperty1;
|
|
4392
4394
|
// Inline function 'kotlin.getValue' call
|
|
4393
4395
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4394
4396
|
return tmp0.x();
|
|
4395
4397
|
}
|
|
4396
4398
|
function _get_poolProvider__tqti6a($this) {
|
|
4397
|
-
var tmp0 = $this.
|
|
4399
|
+
var tmp0 = $this.za8_1;
|
|
4398
4400
|
var tmp = KProperty1;
|
|
4399
4401
|
// Inline function 'kotlin.getValue' call
|
|
4400
4402
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4401
4403
|
return tmp0.x();
|
|
4402
4404
|
}
|
|
4403
4405
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4404
|
-
var tmp0 = $this.
|
|
4406
|
+
var tmp0 = $this.aa9_1;
|
|
4405
4407
|
var tmp = KProperty1;
|
|
4406
4408
|
// Inline function 'kotlin.getValue' call
|
|
4407
4409
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4565,11 +4567,11 @@
|
|
|
4565
4567
|
tmp = fileLoggerStoreContract;
|
|
4566
4568
|
}
|
|
4567
4569
|
fileLoggerStoreContract = tmp;
|
|
4568
|
-
this.
|
|
4569
|
-
this.
|
|
4570
|
-
this.
|
|
4571
|
-
this.
|
|
4572
|
-
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;
|
|
4573
4575
|
var tmp_0 = this;
|
|
4574
4576
|
// Inline function 'org.kodein.di.instance' call
|
|
4575
4577
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4577,7 +4579,7 @@
|
|
|
4577
4579
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4578
4580
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4579
4581
|
var tmp_3 = KProperty1;
|
|
4580
|
-
tmp_0.
|
|
4582
|
+
tmp_0.na8_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4581
4583
|
var tmp_4 = this;
|
|
4582
4584
|
// Inline function 'org.kodein.di.instance' call
|
|
4583
4585
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4585,7 +4587,7 @@
|
|
|
4585
4587
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4586
4588
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4587
4589
|
var tmp_7 = KProperty1;
|
|
4588
|
-
tmp_4.
|
|
4590
|
+
tmp_4.oa8_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4589
4591
|
var tmp_8 = this;
|
|
4590
4592
|
// Inline function 'org.kodein.di.instance' call
|
|
4591
4593
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4593,7 +4595,7 @@
|
|
|
4593
4595
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4594
4596
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4595
4597
|
var tmp_11 = KProperty1;
|
|
4596
|
-
tmp_8.
|
|
4598
|
+
tmp_8.pa8_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4597
4599
|
var tmp_12 = this;
|
|
4598
4600
|
// Inline function 'org.kodein.di.instance' call
|
|
4599
4601
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4601,7 +4603,7 @@
|
|
|
4601
4603
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4602
4604
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4603
4605
|
var tmp_15 = KProperty1;
|
|
4604
|
-
tmp_12.
|
|
4606
|
+
tmp_12.qa8_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4605
4607
|
var tmp_16 = this;
|
|
4606
4608
|
// Inline function 'org.kodein.di.instance' call
|
|
4607
4609
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4609,7 +4611,7 @@
|
|
|
4609
4611
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4610
4612
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4611
4613
|
var tmp_19 = KProperty1;
|
|
4612
|
-
tmp_16.
|
|
4614
|
+
tmp_16.ra8_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4613
4615
|
var tmp_20 = this;
|
|
4614
4616
|
// Inline function 'org.kodein.di.instance' call
|
|
4615
4617
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4617,7 +4619,7 @@
|
|
|
4617
4619
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4618
4620
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4619
4621
|
var tmp_23 = KProperty1;
|
|
4620
|
-
tmp_20.
|
|
4622
|
+
tmp_20.sa8_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4621
4623
|
var tmp_24 = this;
|
|
4622
4624
|
// Inline function 'org.kodein.di.instance' call
|
|
4623
4625
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4625,7 +4627,7 @@
|
|
|
4625
4627
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4626
4628
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4627
4629
|
var tmp_27 = KProperty1;
|
|
4628
|
-
tmp_24.
|
|
4630
|
+
tmp_24.ta8_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4629
4631
|
var tmp_28 = this;
|
|
4630
4632
|
// Inline function 'org.kodein.di.instance' call
|
|
4631
4633
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4633,7 +4635,7 @@
|
|
|
4633
4635
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4634
4636
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4635
4637
|
var tmp_31 = KProperty1;
|
|
4636
|
-
tmp_28.
|
|
4638
|
+
tmp_28.ua8_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4637
4639
|
var tmp_32 = this;
|
|
4638
4640
|
// Inline function 'org.kodein.di.instance' call
|
|
4639
4641
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4641,7 +4643,7 @@
|
|
|
4641
4643
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4642
4644
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4643
4645
|
var tmp_35 = KProperty1;
|
|
4644
|
-
tmp_32.
|
|
4646
|
+
tmp_32.va8_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4645
4647
|
var tmp_36 = this;
|
|
4646
4648
|
// Inline function 'org.kodein.di.instance' call
|
|
4647
4649
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4649,7 +4651,7 @@
|
|
|
4649
4651
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4650
4652
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4651
4653
|
var tmp_39 = KProperty1;
|
|
4652
|
-
tmp_36.
|
|
4654
|
+
tmp_36.wa8_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4653
4655
|
var tmp_40 = this;
|
|
4654
4656
|
// Inline function 'org.kodein.di.instance' call
|
|
4655
4657
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4657,7 +4659,7 @@
|
|
|
4657
4659
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4658
4660
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4659
4661
|
var tmp_43 = KProperty1;
|
|
4660
|
-
tmp_40.
|
|
4662
|
+
tmp_40.xa8_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4661
4663
|
var tmp_44 = this;
|
|
4662
4664
|
// Inline function 'org.kodein.di.instance' call
|
|
4663
4665
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4665,7 +4667,7 @@
|
|
|
4665
4667
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4666
4668
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4667
4669
|
var tmp_47 = KProperty1;
|
|
4668
|
-
tmp_44.
|
|
4670
|
+
tmp_44.ya8_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4669
4671
|
var tmp_48 = this;
|
|
4670
4672
|
// Inline function 'org.kodein.di.instance' call
|
|
4671
4673
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4673,7 +4675,7 @@
|
|
|
4673
4675
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4674
4676
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4675
4677
|
var tmp_51 = KProperty1;
|
|
4676
|
-
tmp_48.
|
|
4678
|
+
tmp_48.za8_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4677
4679
|
var tmp_52 = this;
|
|
4678
4680
|
// Inline function 'org.kodein.di.instance' call
|
|
4679
4681
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4681,20 +4683,20 @@
|
|
|
4681
4683
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4682
4684
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4683
4685
|
var tmp_55 = KProperty1;
|
|
4684
|
-
tmp_52.
|
|
4686
|
+
tmp_52.aa9_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4685
4687
|
}
|
|
4686
|
-
protoOf(ServerGameStoreContract).
|
|
4687
|
-
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))]));
|
|
4688
4690
|
};
|
|
4689
|
-
protoOf(ServerGameStoreContract).
|
|
4690
|
-
var tmp = this.
|
|
4691
|
+
protoOf(ServerGameStoreContract).o94 = function () {
|
|
4692
|
+
var tmp = this.ia8_1.o94();
|
|
4691
4693
|
var tmp_0;
|
|
4692
4694
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
4693
4695
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
4694
4696
|
} else {
|
|
4695
4697
|
tmp_0 = null;
|
|
4696
4698
|
}
|
|
4697
|
-
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()]));
|
|
4698
4700
|
var tmp_2 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4699
4701
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4700
4702
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4745,7 +4747,7 @@
|
|
|
4745
4747
|
return this.q6h(store, next, action);
|
|
4746
4748
|
};
|
|
4747
4749
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4748
|
-
this.
|
|
4750
|
+
this.da9_1 = this$0;
|
|
4749
4751
|
}
|
|
4750
4752
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
4751
4753
|
return action instanceof MechanicAction;
|
|
@@ -4756,11 +4758,11 @@
|
|
|
4756
4758
|
// Inline function 'kotlin.with' call
|
|
4757
4759
|
var tmp;
|
|
4758
4760
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4759
|
-
var tmp0 = this.
|
|
4760
|
-
var tmp2 = action_0.
|
|
4761
|
-
var tmp4 = action_0.
|
|
4761
|
+
var tmp0 = this.da9_1;
|
|
4762
|
+
var tmp2 = action_0.s90_1;
|
|
4763
|
+
var tmp4 = action_0.u90_1;
|
|
4762
4764
|
// Inline function 'kotlin.collections.map' call
|
|
4763
|
-
var this_0 = action_0.
|
|
4765
|
+
var this_0 = action_0.v90_1;
|
|
4764
4766
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4765
4767
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4766
4768
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4796,7 +4798,7 @@
|
|
|
4796
4798
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4797
4799
|
while (_iterator__ex2g4s_2.m()) {
|
|
4798
4800
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4799
|
-
var tmp0_aid = tmp0.
|
|
4801
|
+
var tmp0_aid = tmp0.ca9_1.d6e();
|
|
4800
4802
|
// Inline function 'kotlin.collections.map' call
|
|
4801
4803
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4802
4804
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4807,7 +4809,7 @@
|
|
|
4807
4809
|
destination_3.j(tmp$ret$9);
|
|
4808
4810
|
}
|
|
4809
4811
|
var sendToPlayer = UserActionPayload_init_$Create$(tmp0_aid, tmp2, tmp4, element_0, destination_3);
|
|
4810
|
-
var tmp0_safe_receiver =
|
|
4812
|
+
var tmp0_safe_receiver = mapToClient_18(action_0, sendToPlayer);
|
|
4811
4813
|
if (tmp0_safe_receiver == null)
|
|
4812
4814
|
null;
|
|
4813
4815
|
else {
|
|
@@ -4818,16 +4820,16 @@
|
|
|
4818
4820
|
tmp = destination_2;
|
|
4819
4821
|
} else {
|
|
4820
4822
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4821
|
-
var tmp0_0 = this.
|
|
4823
|
+
var tmp0_0 = this.da9_1;
|
|
4822
4824
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4823
4825
|
var table = state.w6r();
|
|
4824
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4825
|
-
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);
|
|
4826
4828
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4827
4829
|
} else {
|
|
4828
4830
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4829
|
-
var tmp0_1 = this.
|
|
4830
|
-
var tmp2_0 = action_0.
|
|
4831
|
+
var tmp0_1 = this.da9_1;
|
|
4832
|
+
var tmp2_0 = action_0.y90_1.id;
|
|
4831
4833
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4832
4834
|
// Inline function 'kotlin.collections.map' call
|
|
4833
4835
|
var this_1 = action_0.users;
|
|
@@ -4866,7 +4868,7 @@
|
|
|
4866
4868
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4867
4869
|
while (_iterator__ex2g4s_7.m()) {
|
|
4868
4870
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4869
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4871
|
+
var tmp0_aid_0 = tmp0_1.ca9_1.d6e();
|
|
4870
4872
|
// Inline function 'kotlin.collections.map' call
|
|
4871
4873
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4872
4874
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4877,7 +4879,7 @@
|
|
|
4877
4879
|
destination_8.j(tmp$ret$32);
|
|
4878
4880
|
}
|
|
4879
4881
|
var sendToPlayer_1 = UserActionPayload_init_$Create$(tmp0_aid_0, tmp2_0, tmp4_0, element_2, destination_8);
|
|
4880
|
-
var tmp0_safe_receiver_0 =
|
|
4882
|
+
var tmp0_safe_receiver_0 = mapToClient_16(action_0, sendToPlayer_1);
|
|
4881
4883
|
if (tmp0_safe_receiver_0 == null)
|
|
4882
4884
|
null;
|
|
4883
4885
|
else {
|
|
@@ -4888,39 +4890,39 @@
|
|
|
4888
4890
|
tmp = destination_7;
|
|
4889
4891
|
} else {
|
|
4890
4892
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4891
|
-
var tmp0_2 = this.
|
|
4893
|
+
var tmp0_2 = this.da9_1;
|
|
4892
4894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4893
4895
|
var table_0 = state.w6r();
|
|
4894
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4895
|
-
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);
|
|
4896
4898
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4897
4899
|
} else {
|
|
4898
4900
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4899
|
-
var tmp0_3 = this.
|
|
4901
|
+
var tmp0_3 = this.da9_1;
|
|
4900
4902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4901
4903
|
var table_1 = state.w6r();
|
|
4902
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4903
|
-
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);
|
|
4904
4906
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4905
4907
|
} else {
|
|
4906
4908
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4907
|
-
var tmp0_4 = this.
|
|
4909
|
+
var tmp0_4 = this.da9_1;
|
|
4908
4910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4909
4911
|
var table_2 = state.w6r();
|
|
4910
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4911
|
-
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);
|
|
4912
4914
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4913
4915
|
} else {
|
|
4914
4916
|
if (action_0 instanceof ErrorAction) {
|
|
4915
|
-
var tmp0_5 = this.
|
|
4917
|
+
var tmp0_5 = this.da9_1;
|
|
4916
4918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4917
4919
|
var table_3 = state.w6r();
|
|
4918
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4919
|
-
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);
|
|
4920
4922
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4921
4923
|
} else {
|
|
4922
4924
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4923
|
-
var tmp0_6 = this.
|
|
4925
|
+
var tmp0_6 = this.da9_1;
|
|
4924
4926
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4925
4927
|
var table_4 = state.w6r();
|
|
4926
4928
|
var tmp2_1 = table_4.id;
|
|
@@ -4953,7 +4955,7 @@
|
|
|
4953
4955
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4954
4956
|
while (_iterator__ex2g4s_11.m()) {
|
|
4955
4957
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4956
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4958
|
+
var tmp0_aid_1 = tmp0_6.ca9_1.d6e();
|
|
4957
4959
|
// Inline function 'kotlin.collections.map' call
|
|
4958
4960
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4959
4961
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4964,7 +4966,7 @@
|
|
|
4964
4966
|
destination_12.j(tmp$ret$58);
|
|
4965
4967
|
}
|
|
4966
4968
|
var sendToPlayer_6 = UserActionPayload_init_$Create$(tmp0_aid_1, tmp2_1, tmp4_1, element_4, destination_12);
|
|
4967
|
-
var tmp0_safe_receiver_1 =
|
|
4969
|
+
var tmp0_safe_receiver_1 = mapToClient_11(action_0, sendToPlayer_6);
|
|
4968
4970
|
if (tmp0_safe_receiver_1 == null)
|
|
4969
4971
|
null;
|
|
4970
4972
|
else {
|
|
@@ -4975,7 +4977,7 @@
|
|
|
4975
4977
|
tmp = destination_11;
|
|
4976
4978
|
} else {
|
|
4977
4979
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4978
|
-
var tmp0_7 = this.
|
|
4980
|
+
var tmp0_7 = this.da9_1;
|
|
4979
4981
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4980
4982
|
var table_5 = state.w6r();
|
|
4981
4983
|
var tmp2_2 = table_5.id;
|
|
@@ -5008,7 +5010,7 @@
|
|
|
5008
5010
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5009
5011
|
while (_iterator__ex2g4s_15.m()) {
|
|
5010
5012
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5011
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5013
|
+
var tmp0_aid_2 = tmp0_7.ca9_1.d6e();
|
|
5012
5014
|
// Inline function 'kotlin.collections.map' call
|
|
5013
5015
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5014
5016
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5019,7 +5021,7 @@
|
|
|
5019
5021
|
destination_16.j(tmp$ret$77);
|
|
5020
5022
|
}
|
|
5021
5023
|
var sendToPlayer_7 = UserActionPayload_init_$Create$(tmp0_aid_2, tmp2_2, tmp4_2, element_6, destination_16);
|
|
5022
|
-
var tmp0_safe_receiver_2 =
|
|
5024
|
+
var tmp0_safe_receiver_2 = mapToClient_10(action_0, sendToPlayer_7);
|
|
5023
5025
|
if (tmp0_safe_receiver_2 == null)
|
|
5024
5026
|
null;
|
|
5025
5027
|
else {
|
|
@@ -5030,7 +5032,7 @@
|
|
|
5030
5032
|
tmp = destination_15;
|
|
5031
5033
|
} else {
|
|
5032
5034
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5033
|
-
var tmp0_8 = this.
|
|
5035
|
+
var tmp0_8 = this.da9_1;
|
|
5034
5036
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5035
5037
|
var table_6 = state.w6r();
|
|
5036
5038
|
var tmp2_3 = table_6.id;
|
|
@@ -5063,7 +5065,7 @@
|
|
|
5063
5065
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5064
5066
|
while (_iterator__ex2g4s_19.m()) {
|
|
5065
5067
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5066
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5068
|
+
var tmp0_aid_3 = tmp0_8.ca9_1.d6e();
|
|
5067
5069
|
// Inline function 'kotlin.collections.map' call
|
|
5068
5070
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5069
5071
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5075,10 +5077,10 @@
|
|
|
5075
5077
|
}
|
|
5076
5078
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5077
5079
|
var tmp_0;
|
|
5078
|
-
if (this.
|
|
5080
|
+
if (this.da9_1.ba9_1.supportBackwardActions && getPlayer(state.w6r().players, sendToPlayer_8.y7f_1).i6v_1.d6z_1) {
|
|
5079
5081
|
tmp_0 = null;
|
|
5080
5082
|
} else {
|
|
5081
|
-
tmp_0 =
|
|
5083
|
+
tmp_0 = mapToClient_9(action_0, sendToPlayer_8);
|
|
5082
5084
|
}
|
|
5083
5085
|
var tmp0_safe_receiver_3 = tmp_0;
|
|
5084
5086
|
if (tmp0_safe_receiver_3 == null)
|
|
@@ -5091,97 +5093,107 @@
|
|
|
5091
5093
|
tmp = destination_19;
|
|
5092
5094
|
} else {
|
|
5093
5095
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5094
|
-
var tmp0_9 = this.
|
|
5096
|
+
var tmp0_9 = this.da9_1;
|
|
5095
5097
|
var tmp2_4 = state.w6r();
|
|
5096
5098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5097
|
-
var exceptPlayerId = this.
|
|
5098
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5099
|
-
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);
|
|
5100
5102
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5101
5103
|
} else {
|
|
5102
5104
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5103
|
-
var tmp0_10 = this.
|
|
5105
|
+
var tmp0_10 = this.da9_1;
|
|
5104
5106
|
var tmp2_5 = state.w6r();
|
|
5105
5107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5106
|
-
var exceptPlayerId_0 = this.
|
|
5107
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5108
|
-
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);
|
|
5109
5111
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5110
5112
|
} else {
|
|
5111
5113
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5112
|
-
var tmp0_11 = this.
|
|
5114
|
+
var tmp0_11 = this.da9_1;
|
|
5113
5115
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5114
5116
|
var table_7 = state.w6r();
|
|
5115
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5116
|
-
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);
|
|
5117
5119
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5118
5120
|
} else {
|
|
5119
5121
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5120
|
-
var tmp0_12 = this.
|
|
5122
|
+
var tmp0_12 = this.da9_1;
|
|
5121
5123
|
var tmp2_6 = state.w6r();
|
|
5122
5124
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5123
|
-
var exceptPlayerId_1 = this.
|
|
5124
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5125
|
-
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);
|
|
5126
5128
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5127
5129
|
} else {
|
|
5128
5130
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5129
|
-
var tmp0_13 = this.
|
|
5131
|
+
var tmp0_13 = this.da9_1;
|
|
5130
5132
|
var tmp2_7 = state.w6r();
|
|
5131
5133
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5132
|
-
var exceptPlayerId_2 = this.
|
|
5133
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5134
|
-
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);
|
|
5135
5137
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5136
5138
|
} else {
|
|
5137
5139
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5138
|
-
var tmp0_14 = this.
|
|
5140
|
+
var tmp0_14 = this.da9_1;
|
|
5139
5141
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5140
5142
|
var table_8 = state.w6r();
|
|
5141
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5142
|
-
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);
|
|
5143
5145
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5144
5146
|
} else {
|
|
5145
|
-
if (action_0 instanceof
|
|
5146
|
-
var tmp0_15 = this.
|
|
5147
|
+
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5148
|
+
var tmp0_15 = this.da9_1;
|
|
5149
|
+
var tmp2_8 = state.w6r();
|
|
5147
5150
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5148
|
-
var
|
|
5149
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5150
|
-
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);
|
|
5151
5154
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5152
5155
|
} else {
|
|
5153
|
-
if (action_0 instanceof
|
|
5154
|
-
var
|
|
5155
|
-
var tmp0_16 = this.ua7_1;
|
|
5156
|
-
var tmp2_8 = state.w6r();
|
|
5157
|
-
var tmp_1;
|
|
5158
|
-
var tmp_2;
|
|
5159
|
-
if (this.ua7_1.sa7_1.supportBackwardActions) {
|
|
5160
|
-
tmp_2 = isInterface(message, UserMessage);
|
|
5161
|
-
} else {
|
|
5162
|
-
tmp_2 = false;
|
|
5163
|
-
}
|
|
5164
|
-
if (tmp_2) {
|
|
5165
|
-
tmp_1 = message.playerId;
|
|
5166
|
-
} else {
|
|
5167
|
-
tmp_1 = null;
|
|
5168
|
-
}
|
|
5156
|
+
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5157
|
+
var tmp0_16 = this.da9_1;
|
|
5169
5158
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5170
|
-
var
|
|
5171
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5172
|
-
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);
|
|
5173
5162
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5174
5163
|
} else {
|
|
5175
|
-
if (action_0 instanceof
|
|
5176
|
-
var
|
|
5164
|
+
if (action_0 instanceof MessageMechanicAction) {
|
|
5165
|
+
var message = action_0.g92_1;
|
|
5166
|
+
var tmp0_17 = this.da9_1;
|
|
5177
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
|
+
}
|
|
5178
5180
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5179
|
-
var exceptPlayerId_4 =
|
|
5180
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5181
|
-
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);
|
|
5182
5184
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5183
5185
|
} else {
|
|
5184
|
-
|
|
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
|
+
}
|
|
5185
5197
|
}
|
|
5186
5198
|
}
|
|
5187
5199
|
}
|
|
@@ -5214,10 +5226,10 @@
|
|
|
5214
5226
|
return this.q6h(store, next, action);
|
|
5215
5227
|
};
|
|
5216
5228
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5217
|
-
this.
|
|
5218
|
-
this.
|
|
5229
|
+
this.ba9_1 = logicConfig;
|
|
5230
|
+
this.ca9_1 = idsProvider;
|
|
5219
5231
|
}
|
|
5220
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5232
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).u96 = function () {
|
|
5221
5233
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5222
5234
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5223
5235
|
};
|
|
@@ -5226,8 +5238,8 @@
|
|
|
5226
5238
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5227
5239
|
}
|
|
5228
5240
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5229
|
-
this.
|
|
5230
|
-
this.
|
|
5241
|
+
this.ma9_1 = $provider;
|
|
5242
|
+
this.na9_1 = $action;
|
|
5231
5243
|
CoroutineImpl.call(this, resultContinuation);
|
|
5232
5244
|
}
|
|
5233
5245
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5248,7 +5260,7 @@
|
|
|
5248
5260
|
case 0:
|
|
5249
5261
|
this.t8_1 = 2;
|
|
5250
5262
|
this.s8_1 = 1;
|
|
5251
|
-
suspendResult = this.
|
|
5263
|
+
suspendResult = this.ma9_1.za5(this.na9_1, this);
|
|
5252
5264
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5253
5265
|
return suspendResult;
|
|
5254
5266
|
}
|
|
@@ -5271,8 +5283,8 @@
|
|
|
5271
5283
|
while (true);
|
|
5272
5284
|
};
|
|
5273
5285
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5274
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5275
|
-
i.
|
|
5286
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ma9_1, this.na9_1, completion);
|
|
5287
|
+
i.oa9_1 = $this$launchDefault;
|
|
5276
5288
|
return i;
|
|
5277
5289
|
};
|
|
5278
5290
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5284,15 +5296,15 @@
|
|
|
5284
5296
|
return l;
|
|
5285
5297
|
}
|
|
5286
5298
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5287
|
-
this.
|
|
5288
|
-
this.
|
|
5299
|
+
this.pa9_1 = $asyncProvider;
|
|
5300
|
+
this.qa9_1 = $provider;
|
|
5289
5301
|
}
|
|
5290
5302
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).b6g = function (action) {
|
|
5291
5303
|
return action instanceof ToClientAction;
|
|
5292
5304
|
};
|
|
5293
5305
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).q6h = function (store, next, action) {
|
|
5294
5306
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5295
|
-
this.
|
|
5307
|
+
this.pa9_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.qa9_1, action_0, null));
|
|
5296
5308
|
next(action_0);
|
|
5297
5309
|
};
|
|
5298
5310
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6g = function (store, next, action) {
|
|
@@ -5307,19 +5319,19 @@
|
|
|
5307
5319
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5308
5320
|
return action instanceof UpdateServerConfigAction;
|
|
5309
5321
|
};
|
|
5310
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5322
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).h9h = function (state, action) {
|
|
5311
5323
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5312
|
-
return state.
|
|
5324
|
+
return state.t8z(VOID, get_serverStatePayload_0(state).copy(action_0.fa8_1));
|
|
5313
5325
|
};
|
|
5314
5326
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5315
|
-
return this.
|
|
5327
|
+
return this.h9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5316
5328
|
};
|
|
5317
5329
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
5318
5330
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
5319
5331
|
return _this__u8e3s4.metadata;
|
|
5320
5332
|
}
|
|
5321
5333
|
function Companion_5() {
|
|
5322
|
-
this.
|
|
5334
|
+
this.ra9_1 = 'ServerMechanicLifecycleReducer';
|
|
5323
5335
|
}
|
|
5324
5336
|
var Companion_instance_13;
|
|
5325
5337
|
function Companion_getInstance_6() {
|
|
@@ -5336,7 +5348,7 @@
|
|
|
5336
5348
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5337
5349
|
Companion_getInstance();
|
|
5338
5350
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5339
|
-
var this_0 = $action.
|
|
5351
|
+
var this_0 = $action.r90_1.timeoutTimeMillis;
|
|
5340
5352
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5341
5353
|
tmp_0 = tmp_1.k67(tmp_2, tmp$ret$0);
|
|
5342
5354
|
}
|
|
@@ -5345,65 +5357,65 @@
|
|
|
5345
5357
|
}
|
|
5346
5358
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5347
5359
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5348
|
-
this.
|
|
5360
|
+
this.ua9_1 = logger;
|
|
5349
5361
|
}
|
|
5350
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5351
|
-
this.
|
|
5362
|
+
protoOf(ServerMechanicLifecycleReducer).u9i = function (state, action) {
|
|
5363
|
+
this.ua9_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5352
5364
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5353
|
-
var tableId = action.
|
|
5365
|
+
var tableId = action.s90_1;
|
|
5354
5366
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5355
|
-
var tmp0_$this = this.
|
|
5356
|
-
var tmp1_version = action.
|
|
5357
|
-
var tmp2_config = action.
|
|
5358
|
-
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;
|
|
5359
5371
|
var tmp4_spectators = action.spectators;
|
|
5360
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
5361
|
-
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));
|
|
5362
5374
|
var tmp;
|
|
5363
5375
|
if (serverState == null) {
|
|
5364
|
-
this.
|
|
5376
|
+
this.ua9_1.w(VOID, 'ServerPayload is not onStart');
|
|
5365
5377
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5366
5378
|
} else {
|
|
5367
5379
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), tableId));
|
|
5368
5380
|
}
|
|
5369
5381
|
var tmp8_payload = tmp;
|
|
5370
|
-
return state.
|
|
5382
|
+
return state.t8z(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5371
5383
|
};
|
|
5372
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5373
|
-
this.
|
|
5384
|
+
protoOf(ServerMechanicLifecycleReducer).s9i = function (state, action) {
|
|
5385
|
+
this.ua9_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5374
5386
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5375
|
-
var tmp2_tableOrNull = action.
|
|
5387
|
+
var tmp2_tableOrNull = action.y90_1;
|
|
5376
5388
|
var tmp = Companion_instance_14;
|
|
5377
5389
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5378
|
-
var tmp_1 = action.
|
|
5390
|
+
var tmp_1 = action.z90_1;
|
|
5379
5391
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5380
|
-
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.
|
|
5381
|
-
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);
|
|
5382
5394
|
};
|
|
5383
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5384
|
-
this.
|
|
5395
|
+
protoOf(ServerMechanicLifecycleReducer).t9i = function (state, action) {
|
|
5396
|
+
this.w9i_1.n58(action.previousGameId);
|
|
5385
5397
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5386
|
-
var tmp1_tableOrNull = this.
|
|
5398
|
+
var tmp1_tableOrNull = this.v9i_1.d9k(state.w6r(), action.gameId);
|
|
5387
5399
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
5388
|
-
return state.
|
|
5400
|
+
return state.t8z(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
5389
5401
|
};
|
|
5390
5402
|
function spectatorsReducer(logger) {
|
|
5391
5403
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5392
5404
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5393
5405
|
}
|
|
5394
5406
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5395
|
-
this.
|
|
5407
|
+
this.va9_1 = $logger;
|
|
5396
5408
|
}
|
|
5397
5409
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).b6g = function (action) {
|
|
5398
5410
|
return isInterface(action, SpectatorsAction);
|
|
5399
5411
|
};
|
|
5400
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5412
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).h9h = function (state, action) {
|
|
5401
5413
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5402
5414
|
var table = state.w6r();
|
|
5403
5415
|
var tmp;
|
|
5404
5416
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5405
5417
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5406
|
-
var tmp0 = action_0.
|
|
5418
|
+
var tmp0 = action_0.ga8_1;
|
|
5407
5419
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5408
5420
|
var destination = ArrayList_init_$Create$_0();
|
|
5409
5421
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5422,9 +5434,9 @@
|
|
|
5422
5434
|
var tmp_0;
|
|
5423
5435
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5424
5436
|
if (!sameSpectators.r()) {
|
|
5425
|
-
this.
|
|
5437
|
+
this.va9_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5426
5438
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5427
|
-
var tmp0_0 = action_0.
|
|
5439
|
+
var tmp0_0 = action_0.ga8_1;
|
|
5428
5440
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5429
5441
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5430
5442
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5459,7 +5471,7 @@
|
|
|
5459
5471
|
}
|
|
5460
5472
|
tmp_0 = destination_0;
|
|
5461
5473
|
} else {
|
|
5462
|
-
tmp_0 = action_0.
|
|
5474
|
+
tmp_0 = action_0.ga8_1;
|
|
5463
5475
|
}
|
|
5464
5476
|
// Inline function 'kotlin.collections.map' call
|
|
5465
5477
|
var this_0 = tmp_0;
|
|
@@ -5472,11 +5484,11 @@
|
|
|
5472
5484
|
destination_1.j(tmp$ret$13);
|
|
5473
5485
|
}
|
|
5474
5486
|
var spectatorsToAdd = toSet(destination_1);
|
|
5475
|
-
tmp = state.
|
|
5487
|
+
tmp = state.t8z(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5476
5488
|
} else {
|
|
5477
5489
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5478
5490
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5479
|
-
var tmp0_1 = action_0.
|
|
5491
|
+
var tmp0_1 = action_0.ha8_1;
|
|
5480
5492
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5481
5493
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5482
5494
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5495,9 +5507,9 @@
|
|
|
5495
5507
|
var tmp_2;
|
|
5496
5508
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5497
5509
|
if (!sameSpectators_0.r()) {
|
|
5498
|
-
this.
|
|
5510
|
+
this.va9_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5499
5511
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5500
|
-
var tmp0_2 = action_0.
|
|
5512
|
+
var tmp0_2 = action_0.ha8_1;
|
|
5501
5513
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5502
5514
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5503
5515
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5532,7 +5544,7 @@
|
|
|
5532
5544
|
}
|
|
5533
5545
|
tmp_2 = destination_3;
|
|
5534
5546
|
} else {
|
|
5535
|
-
tmp_2 = action_0.
|
|
5547
|
+
tmp_2 = action_0.ha8_1;
|
|
5536
5548
|
}
|
|
5537
5549
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5538
5550
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5569,7 +5581,7 @@
|
|
|
5569
5581
|
destination_4.j(element_5);
|
|
5570
5582
|
}
|
|
5571
5583
|
}
|
|
5572
|
-
tmp = state.
|
|
5584
|
+
tmp = state.t8z(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5573
5585
|
} else {
|
|
5574
5586
|
noWhenBranchMatchedException();
|
|
5575
5587
|
}
|
|
@@ -5577,17 +5589,17 @@
|
|
|
5577
5589
|
return tmp;
|
|
5578
5590
|
};
|
|
5579
5591
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r6h = function (state, action) {
|
|
5580
|
-
return this.
|
|
5592
|
+
return this.h9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5581
5593
|
};
|
|
5582
5594
|
function Companion_6() {
|
|
5583
5595
|
}
|
|
5584
|
-
protoOf(Companion_6).
|
|
5596
|
+
protoOf(Companion_6).wa9 = function (config, metadata) {
|
|
5585
5597
|
return new ServerStatePayload(config, metadata);
|
|
5586
5598
|
};
|
|
5587
5599
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5588
5600
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5589
5601
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5590
|
-
return $super === VOID ? this.
|
|
5602
|
+
return $super === VOID ? this.wa9(config, metadata) : $super.wa9.call(this, config, metadata);
|
|
5591
5603
|
};
|
|
5592
5604
|
var Companion_instance_14;
|
|
5593
5605
|
function Companion_getInstance_7() {
|
|
@@ -5600,7 +5612,7 @@
|
|
|
5600
5612
|
protoOf(ServerStatePayload).z3s = function () {
|
|
5601
5613
|
return this.config;
|
|
5602
5614
|
};
|
|
5603
|
-
protoOf(ServerStatePayload).
|
|
5615
|
+
protoOf(ServerStatePayload).m8k = function () {
|
|
5604
5616
|
return this.metadata;
|
|
5605
5617
|
};
|
|
5606
5618
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -5609,13 +5621,13 @@
|
|
|
5609
5621
|
protoOf(ServerStatePayload).pe = function () {
|
|
5610
5622
|
return this.metadata;
|
|
5611
5623
|
};
|
|
5612
|
-
protoOf(ServerStatePayload).
|
|
5624
|
+
protoOf(ServerStatePayload).xa9 = function (config, metadata) {
|
|
5613
5625
|
return new ServerStatePayload(config, metadata);
|
|
5614
5626
|
};
|
|
5615
5627
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5616
5628
|
config = config === VOID ? this.config : config;
|
|
5617
5629
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5618
|
-
return $super === VOID ? this.
|
|
5630
|
+
return $super === VOID ? this.xa9(config, metadata) : $super.xa9.call(this, config, metadata);
|
|
5619
5631
|
};
|
|
5620
5632
|
protoOf(ServerStatePayload).toString = function () {
|
|
5621
5633
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5663,7 +5675,7 @@
|
|
|
5663
5675
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5664
5676
|
}
|
|
5665
5677
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5666
|
-
var gameId = Companion_instance_3.
|
|
5678
|
+
var gameId = Companion_instance_3.e9m(payload);
|
|
5667
5679
|
var tmp;
|
|
5668
5680
|
if (!(gameId == null)) {
|
|
5669
5681
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5680,14 +5692,14 @@
|
|
|
5680
5692
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5681
5693
|
}
|
|
5682
5694
|
function _get_logger__rkp4sl_0($this) {
|
|
5683
|
-
var tmp0 = $this.
|
|
5695
|
+
var tmp0 = $this.haa_1;
|
|
5684
5696
|
var tmp = KProperty1;
|
|
5685
5697
|
// Inline function 'kotlin.getValue' call
|
|
5686
5698
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5687
5699
|
return tmp0.x();
|
|
5688
5700
|
}
|
|
5689
5701
|
function _get_di__ndbzja($this) {
|
|
5690
|
-
var tmp0 = $this.
|
|
5702
|
+
var tmp0 = $this.iaa_1;
|
|
5691
5703
|
var tmp = KProperty1;
|
|
5692
5704
|
// Inline function 'kotlin.getValue' call
|
|
5693
5705
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5704,8 +5716,8 @@
|
|
|
5704
5716
|
}
|
|
5705
5717
|
function createCallbackOutput($this, gameServer) {
|
|
5706
5718
|
var tmp;
|
|
5707
|
-
if (!($this.
|
|
5708
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5719
|
+
if (!($this.faa_1 == null)) {
|
|
5720
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.faa_1);
|
|
5709
5721
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5710
5722
|
} else {
|
|
5711
5723
|
tmp = null;
|
|
@@ -5719,11 +5731,11 @@
|
|
|
5719
5731
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5720
5732
|
return function () {
|
|
5721
5733
|
var tmp;
|
|
5722
|
-
if (this$0.
|
|
5734
|
+
if (this$0.faa_1 == null) {
|
|
5723
5735
|
tmp = null;
|
|
5724
5736
|
} else {
|
|
5725
5737
|
// Inline function 'kotlin.let' call
|
|
5726
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5738
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.faa_1)]));
|
|
5727
5739
|
}
|
|
5728
5740
|
var tmp1_elvis_lhs = tmp;
|
|
5729
5741
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5756,7 +5768,7 @@
|
|
|
5756
5768
|
tmp_0.z62(tmp$ret$3);
|
|
5757
5769
|
$this$DI.d5z(jsonModule());
|
|
5758
5770
|
$this$DI.d5z(serverHelpersModule());
|
|
5759
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
5771
|
+
$this$DI.d5z(randomOrgModule(this$0.gaa_1));
|
|
5760
5772
|
return Unit_instance;
|
|
5761
5773
|
};
|
|
5762
5774
|
}
|
|
@@ -5832,16 +5844,16 @@
|
|
|
5832
5844
|
};
|
|
5833
5845
|
}
|
|
5834
5846
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5835
|
-
this.
|
|
5847
|
+
this.paa_1 = $reducer;
|
|
5836
5848
|
}
|
|
5837
5849
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).b6g = function (action) {
|
|
5838
5850
|
return isInterface(action, Action);
|
|
5839
5851
|
};
|
|
5840
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5841
|
-
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());
|
|
5842
5854
|
};
|
|
5843
5855
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r6h = function (state, action) {
|
|
5844
|
-
return this.
|
|
5856
|
+
return this.h9h((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5845
5857
|
};
|
|
5846
5858
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
5847
5859
|
return function () {
|
|
@@ -5921,7 +5933,7 @@
|
|
|
5921
5933
|
}
|
|
5922
5934
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
5923
5935
|
return function (it) {
|
|
5924
|
-
var payload = Companion_instance_5.
|
|
5936
|
+
var payload = Companion_instance_5.q9k(it);
|
|
5925
5937
|
var tmp;
|
|
5926
5938
|
if (!(payload == null)) {
|
|
5927
5939
|
return payload;
|
|
@@ -5942,7 +5954,7 @@
|
|
|
5942
5954
|
// Inline function 'kotlin.let' call
|
|
5943
5955
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
5944
5956
|
}
|
|
5945
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5957
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.gaa_1));
|
|
5946
5958
|
$this$DI.d5z(coreModule($coreConfig));
|
|
5947
5959
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5948
5960
|
return Unit_instance;
|
|
@@ -5951,8 +5963,8 @@
|
|
|
5951
5963
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5952
5964
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5953
5965
|
production = production === VOID ? true : production;
|
|
5954
|
-
this.
|
|
5955
|
-
this.
|
|
5966
|
+
this.faa_1 = loggerCallback;
|
|
5967
|
+
this.gaa_1 = randomOrgConfig;
|
|
5956
5968
|
var tmp = AppEnvironment_getInstance();
|
|
5957
5969
|
var tmp_0;
|
|
5958
5970
|
if (production) {
|
|
@@ -5962,9 +5974,9 @@
|
|
|
5962
5974
|
}
|
|
5963
5975
|
tmp.y6l(tmp_0);
|
|
5964
5976
|
var tmp_1 = this;
|
|
5965
|
-
tmp_1.
|
|
5977
|
+
tmp_1.haa_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5966
5978
|
var tmp_2 = this;
|
|
5967
|
-
tmp_2.
|
|
5979
|
+
tmp_2.iaa_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5968
5980
|
var tmp_3 = this;
|
|
5969
5981
|
// Inline function 'org.kodein.di.instance' call
|
|
5970
5982
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5973,7 +5985,7 @@
|
|
|
5973
5985
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
5974
5986
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
5975
5987
|
var tmp_6 = KProperty1;
|
|
5976
|
-
tmp_3.
|
|
5988
|
+
tmp_3.jaa_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5977
5989
|
var tmp_7 = this;
|
|
5978
5990
|
// Inline function 'org.kodein.di.instance' call
|
|
5979
5991
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5982,7 +5994,7 @@
|
|
|
5982
5994
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
5983
5995
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
5984
5996
|
var tmp_10 = KProperty1;
|
|
5985
|
-
tmp_7.
|
|
5997
|
+
tmp_7.kaa_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5986
5998
|
var tmp_11 = this;
|
|
5987
5999
|
// Inline function 'org.kodein.di.instance' call
|
|
5988
6000
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5991,7 +6003,7 @@
|
|
|
5991
6003
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
5992
6004
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
5993
6005
|
var tmp_14 = KProperty1;
|
|
5994
|
-
tmp_11.
|
|
6006
|
+
tmp_11.laa_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5995
6007
|
var tmp_15 = this;
|
|
5996
6008
|
// Inline function 'org.kodein.di.instance' call
|
|
5997
6009
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6000,7 +6012,7 @@
|
|
|
6000
6012
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6001
6013
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6002
6014
|
var tmp_18 = KProperty1;
|
|
6003
|
-
tmp_15.
|
|
6015
|
+
tmp_15.maa_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6004
6016
|
var tmp_19 = this;
|
|
6005
6017
|
// Inline function 'org.kodein.di.instance' call
|
|
6006
6018
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6009,7 +6021,7 @@
|
|
|
6009
6021
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6010
6022
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6011
6023
|
var tmp_22 = KProperty1;
|
|
6012
|
-
tmp_19.
|
|
6024
|
+
tmp_19.naa_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6013
6025
|
var tmp_23 = this;
|
|
6014
6026
|
// Inline function 'org.kodein.di.instance' call
|
|
6015
6027
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6018,45 +6030,45 @@
|
|
|
6018
6030
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6019
6031
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6020
6032
|
var tmp_26 = KProperty1;
|
|
6021
|
-
tmp_23.
|
|
6033
|
+
tmp_23.oaa_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6022
6034
|
}
|
|
6023
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6024
|
-
var tmp0 = this.
|
|
6035
|
+
protoOf(GameServerEngineControllerImpl).ya9 = function () {
|
|
6036
|
+
var tmp0 = this.jaa_1;
|
|
6025
6037
|
var tmp = KProperty1;
|
|
6026
6038
|
// Inline function 'kotlin.getValue' call
|
|
6027
6039
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6028
6040
|
return tmp0.x();
|
|
6029
6041
|
};
|
|
6030
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6031
|
-
var tmp0 = this.
|
|
6042
|
+
protoOf(GameServerEngineControllerImpl).aaa = function () {
|
|
6043
|
+
var tmp0 = this.kaa_1;
|
|
6032
6044
|
var tmp = KProperty1;
|
|
6033
6045
|
// Inline function 'kotlin.getValue' call
|
|
6034
6046
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6035
6047
|
return tmp0.x();
|
|
6036
6048
|
};
|
|
6037
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6038
|
-
var tmp0 = this.
|
|
6049
|
+
protoOf(GameServerEngineControllerImpl).baa = function () {
|
|
6050
|
+
var tmp0 = this.laa_1;
|
|
6039
6051
|
var tmp = KProperty1;
|
|
6040
6052
|
// Inline function 'kotlin.getValue' call
|
|
6041
6053
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6042
6054
|
return tmp0.x();
|
|
6043
6055
|
};
|
|
6044
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6045
|
-
var tmp0 = this.
|
|
6056
|
+
protoOf(GameServerEngineControllerImpl).caa = function () {
|
|
6057
|
+
var tmp0 = this.maa_1;
|
|
6046
6058
|
var tmp = KProperty1;
|
|
6047
6059
|
// Inline function 'kotlin.getValue' call
|
|
6048
6060
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6049
6061
|
return tmp0.x();
|
|
6050
6062
|
};
|
|
6051
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6052
|
-
var tmp0 = this.
|
|
6063
|
+
protoOf(GameServerEngineControllerImpl).za9 = function () {
|
|
6064
|
+
var tmp0 = this.naa_1;
|
|
6053
6065
|
var tmp = KProperty1;
|
|
6054
6066
|
// Inline function 'kotlin.getValue' call
|
|
6055
6067
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6056
6068
|
return tmp0.x();
|
|
6057
6069
|
};
|
|
6058
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6059
|
-
var tmp0 = this.
|
|
6070
|
+
protoOf(GameServerEngineControllerImpl).daa = function () {
|
|
6071
|
+
var tmp0 = this.oaa_1;
|
|
6060
6072
|
var tmp = KProperty1;
|
|
6061
6073
|
// Inline function 'kotlin.getValue' call
|
|
6062
6074
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6068,7 +6080,7 @@
|
|
|
6068
6080
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6069
6081
|
return this.createGameEngineWithLogic();
|
|
6070
6082
|
};
|
|
6071
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6083
|
+
protoOf(GameServerEngineControllerImpl).eaa = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6072
6084
|
var combinedLogger = Companion_instance_6.mx();
|
|
6073
6085
|
var gameServer = {_v: null};
|
|
6074
6086
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6116,7 +6128,7 @@
|
|
|
6116
6128
|
function TestHelper() {
|
|
6117
6129
|
}
|
|
6118
6130
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6119
|
-
var tmp0 = $this.
|
|
6131
|
+
var tmp0 = $this.saa_1;
|
|
6120
6132
|
var tmp = KProperty1;
|
|
6121
6133
|
// Inline function 'kotlin.getValue' call
|
|
6122
6134
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6124,7 +6136,7 @@
|
|
|
6124
6136
|
}
|
|
6125
6137
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6126
6138
|
return function ($this$singleton) {
|
|
6127
|
-
return this$0.
|
|
6139
|
+
return this$0.qaa_1;
|
|
6128
6140
|
};
|
|
6129
6141
|
}
|
|
6130
6142
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6163,27 +6175,27 @@
|
|
|
6163
6175
|
return emptyMap();
|
|
6164
6176
|
}
|
|
6165
6177
|
function TestHelperImpl(logger) {
|
|
6166
|
-
this.
|
|
6178
|
+
this.qaa_1 = logger;
|
|
6167
6179
|
var tmp = this;
|
|
6168
6180
|
var tmp_0 = Companion_instance_4;
|
|
6169
|
-
tmp.
|
|
6181
|
+
tmp.raa_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
6170
6182
|
var tmp_1 = this;
|
|
6171
6183
|
// Inline function 'org.kodein.di.instance' call
|
|
6172
|
-
var this_0 = this.
|
|
6184
|
+
var this_0 = this.raa_1;
|
|
6173
6185
|
// Inline function 'org.kodein.type.generic' call
|
|
6174
6186
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6175
6187
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6176
6188
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6177
6189
|
var tmp_4 = KProperty1;
|
|
6178
|
-
tmp_1.
|
|
6190
|
+
tmp_1.saa_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6179
6191
|
}
|
|
6180
6192
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6181
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
6193
|
+
return _get_playerAnswerInteractor__msggz1(this).c8q(playerId, table, botConfig);
|
|
6182
6194
|
};
|
|
6183
6195
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
6184
6196
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
6185
6197
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
6186
|
-
var tmp0 = mechanicAction.
|
|
6198
|
+
var tmp0 = mechanicAction.p93();
|
|
6187
6199
|
var tmp$ret$0;
|
|
6188
6200
|
$l$block_0: {
|
|
6189
6201
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6215,7 +6227,7 @@
|
|
|
6215
6227
|
};
|
|
6216
6228
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
6217
6229
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
6218
|
-
var tmp0 = action.
|
|
6230
|
+
var tmp0 = action.p93();
|
|
6219
6231
|
var tmp$ret$0;
|
|
6220
6232
|
$l$block_0: {
|
|
6221
6233
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6248,14 +6260,14 @@
|
|
|
6248
6260
|
function RoomMetadata() {
|
|
6249
6261
|
var tmp = this;
|
|
6250
6262
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6251
|
-
tmp.
|
|
6263
|
+
tmp.taa_1 = LinkedHashMap_init_$Create$();
|
|
6252
6264
|
this.extras = {};
|
|
6253
|
-
this.extras = this.
|
|
6265
|
+
this.extras = this.taa_1;
|
|
6254
6266
|
}
|
|
6255
|
-
protoOf(RoomMetadata).
|
|
6267
|
+
protoOf(RoomMetadata).uaa = function () {
|
|
6256
6268
|
return this.extras;
|
|
6257
6269
|
};
|
|
6258
|
-
protoOf(RoomMetadata).
|
|
6270
|
+
protoOf(RoomMetadata).uaa = function () {
|
|
6259
6271
|
return this.extras;
|
|
6260
6272
|
};
|
|
6261
6273
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6273,7 +6285,7 @@
|
|
|
6273
6285
|
};
|
|
6274
6286
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6275
6287
|
// Inline function 'kotlin.collections.set' call
|
|
6276
|
-
this.
|
|
6288
|
+
this.taa_1.f2(gameId, game);
|
|
6277
6289
|
};
|
|
6278
6290
|
function GameMetadata(gameId) {
|
|
6279
6291
|
this.gameId = gameId;
|
|
@@ -6282,7 +6294,7 @@
|
|
|
6282
6294
|
protoOf(GameMetadata).c54 = function () {
|
|
6283
6295
|
return this.gameId;
|
|
6284
6296
|
};
|
|
6285
|
-
protoOf(GameMetadata).
|
|
6297
|
+
protoOf(GameMetadata).uaa = function () {
|
|
6286
6298
|
return this.extras;
|
|
6287
6299
|
};
|
|
6288
6300
|
function serverHelpersModule() {
|
|
@@ -6344,7 +6356,7 @@
|
|
|
6344
6356
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6345
6357
|
protoOf(GameServer).shutdown = shutdown;
|
|
6346
6358
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6347
|
-
return this.
|
|
6359
|
+
return this.m8k();
|
|
6348
6360
|
});
|
|
6349
6361
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6350
6362
|
return this.y53();
|
|
@@ -6363,17 +6375,17 @@
|
|
|
6363
6375
|
});
|
|
6364
6376
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6365
6377
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6366
|
-
return this.
|
|
6378
|
+
return this.f8h();
|
|
6367
6379
|
});
|
|
6368
6380
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6369
6381
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6370
|
-
return this.
|
|
6382
|
+
return this.f8h();
|
|
6371
6383
|
});
|
|
6372
6384
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6373
|
-
return this.
|
|
6385
|
+
return this.f8h();
|
|
6374
6386
|
});
|
|
6375
6387
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6376
|
-
return this.
|
|
6388
|
+
return this.f8h();
|
|
6377
6389
|
});
|
|
6378
6390
|
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
6379
6391
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -6389,22 +6401,22 @@
|
|
|
6389
6401
|
});
|
|
6390
6402
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6391
6403
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6392
|
-
return this.
|
|
6404
|
+
return this.ya9();
|
|
6393
6405
|
});
|
|
6394
6406
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6395
|
-
return this.
|
|
6407
|
+
return this.aaa();
|
|
6396
6408
|
});
|
|
6397
6409
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6398
|
-
return this.
|
|
6410
|
+
return this.baa();
|
|
6399
6411
|
});
|
|
6400
6412
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6401
|
-
return this.
|
|
6413
|
+
return this.caa();
|
|
6402
6414
|
});
|
|
6403
6415
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6404
|
-
return this.
|
|
6416
|
+
return this.za9();
|
|
6405
6417
|
});
|
|
6406
6418
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6407
|
-
return this.
|
|
6419
|
+
return this.daa();
|
|
6408
6420
|
});
|
|
6409
6421
|
//endregion
|
|
6410
6422
|
//region block: init
|