raspberry_games_engine_helpers 1.8.277 → 1.8.289
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 +56 -56
- package/Kosi-Kodein-kodein-di.js +488 -488
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1377 -1377
- package/Logic_Debertz-core.js +1401 -1355
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +18 -6
- package/Logic_Debertz-engine.js +11739 -11474
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core.js +1813 -1813
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +39 -39
- package/raspberry-cardgame-lib-logger.js +223 -26
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +42 -42
package/Logic_Debertz-core.js
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
var initMetadataForObject = kotlin_kotlin.$_$.y8;
|
|
33
33
|
var defineProp = kotlin_kotlin.$_$.l8;
|
|
34
34
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
35
|
-
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
36
35
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
37
36
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
38
37
|
var lazy = kotlin_kotlin.$_$.cd;
|
|
@@ -50,9 +49,12 @@
|
|
|
50
49
|
var Unit_instance = kotlin_kotlin.$_$.k4;
|
|
51
50
|
var objectCreate = kotlin_kotlin.$_$.p9;
|
|
52
51
|
var getStringHashCode = kotlin_kotlin.$_$.r8;
|
|
52
|
+
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
53
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
53
54
|
var replace = kotlin_kotlin.$_$.za;
|
|
54
55
|
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
55
56
|
var getBooleanHashCode = kotlin_kotlin.$_$.o8;
|
|
57
|
+
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
56
58
|
var initMetadataForInterface = kotlin_kotlin.$_$.w8;
|
|
57
59
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
58
60
|
var THROW_IAE = kotlin_kotlin.$_$.kc;
|
|
@@ -78,7 +80,6 @@
|
|
|
78
80
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.y1;
|
|
79
81
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.r1;
|
|
80
82
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
81
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
82
83
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
83
84
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ed;
|
|
84
85
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.f5;
|
|
@@ -94,7 +95,6 @@
|
|
|
94
95
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
95
96
|
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
96
97
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
97
|
-
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
98
98
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
99
99
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
100
100
|
var checkIndexOverflow = kotlin_kotlin.$_$.e5;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
var get_lastIndex = kotlin_kotlin.$_$.p6;
|
|
103
103
|
var copyToArray = kotlin_kotlin.$_$.t5;
|
|
104
104
|
var LoggerOutput = kotlin_io_raspberryapps_cardgame_logger.$_$.a;
|
|
105
|
-
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.
|
|
105
|
+
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.d;
|
|
106
106
|
var Companion_getInstance_0 = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.d;
|
|
107
107
|
var toLocalDateTime = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.f;
|
|
108
108
|
var charSequenceLength = kotlin_kotlin.$_$.i8;
|
|
@@ -118,8 +118,10 @@
|
|
|
118
118
|
initMetadataForCompanion(Companion_0);
|
|
119
119
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
120
120
|
initMetadataForClass(PlayerReturnsReason, 'PlayerReturnsReason', VOID, ContinueGameReason, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
121
|
-
initMetadataForObject(RestartRoundReason, 'RestartRoundReason', VOID, ContinueGameReason, [ContinueGameReason, SerializerFactory], VOID, VOID, {0: RestartRoundReason_getInstance});
|
|
122
121
|
initMetadataForCompanion(Companion_1);
|
|
122
|
+
initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
123
|
+
initMetadataForClass(RestartRoundReason, 'RestartRoundReason', VOID, ContinueGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_0});
|
|
124
|
+
initMetadataForCompanion(Companion_2);
|
|
123
125
|
initMetadataForClass(CoreConfig, 'CoreConfig', CoreConfig);
|
|
124
126
|
initMetadataForObject(RestartGameReason, 'RestartGameReason', VOID, VOID, [SerializerFactory], VOID, VOID, {0: RestartGameReason_getInstance});
|
|
125
127
|
initMetadataForClass(TerminationGameReason, 'TerminationGameReason');
|
|
@@ -127,11 +129,11 @@
|
|
|
127
129
|
initMetadataForClass(PlayerLostConnectionReason, 'PlayerLostConnectionReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
128
130
|
initMetadataForClass(PlayerTimeoutReason, 'PlayerTimeoutReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
129
131
|
initMetadataForClass(PlayerExitReason, 'PlayerExitReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
130
|
-
initMetadataForCompanion(Companion_2, VOID, [SerializerFactory]);
|
|
131
|
-
initMetadataForClass(Reason, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_4});
|
|
132
|
-
initMetadataForClass(GameFinishedReason, 'GameFinishedReason', VOID, TerminationGameReason);
|
|
133
132
|
initMetadataForCompanion(Companion_3, VOID, [SerializerFactory]);
|
|
134
|
-
initMetadataForClass(
|
|
133
|
+
initMetadataForClass(Reason, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_5});
|
|
134
|
+
initMetadataForClass(GameFinishedReason, 'GameFinishedReason', VOID, TerminationGameReason);
|
|
135
|
+
initMetadataForCompanion(Companion_4, VOID, [SerializerFactory]);
|
|
136
|
+
initMetadataForClass(Reason_0, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_6});
|
|
135
137
|
initMetadataForClass(GameErrorReason, 'GameErrorReason', VOID, TerminationGameReason);
|
|
136
138
|
initMetadataForObject(WaitingForConnectionReason, 'WaitingForConnectionReason', VOID, TerminationGameReason);
|
|
137
139
|
initMetadataForObject(ProcessingReason, 'ProcessingReason', VOID, TerminationGameReason);
|
|
@@ -139,46 +141,46 @@
|
|
|
139
141
|
initMetadataForInterface(PlayerIdContract, 'PlayerIdContract');
|
|
140
142
|
initMetadataForClass(GameUserInfo, 'GameUserInfo', VOID, VOID, [PlayerIdContract]);
|
|
141
143
|
initMetadataForClass(PlayerIndex, 'PlayerIndex', VOID, VOID, [PlayerIdContract]);
|
|
142
|
-
initMetadataForCompanion(
|
|
144
|
+
initMetadataForCompanion(Companion_5);
|
|
143
145
|
initMetadataForClass(PlayerConnection, 'PlayerConnection');
|
|
144
|
-
initMetadataForCompanion(Companion_5, VOID, [SerializerFactory]);
|
|
145
|
-
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_7});
|
|
146
146
|
initMetadataForCompanion(Companion_6, VOID, [SerializerFactory]);
|
|
147
|
-
initMetadataForClass(
|
|
148
|
-
initMetadataForCompanion(Companion_7);
|
|
147
|
+
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_8});
|
|
148
|
+
initMetadataForCompanion(Companion_7, VOID, [SerializerFactory]);
|
|
149
|
+
initMetadataForClass(PlayerWaitingState, 'PlayerWaitingState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_9});
|
|
150
|
+
initMetadataForCompanion(Companion_8);
|
|
149
151
|
initMetadataForClass(PlayerState, 'PlayerState');
|
|
150
152
|
initMetadataForClass(Team, 'Team');
|
|
151
|
-
initMetadataForCompanion(
|
|
152
|
-
initMetadataForClass(TerminationGameReasonDto, 'TerminationGameReasonDto', VOID, VOID, VOID, VOID, VOID, {0:
|
|
153
|
+
initMetadataForCompanion(Companion_9, VOID, [SerializerFactory]);
|
|
154
|
+
initMetadataForClass(TerminationGameReasonDto, 'TerminationGameReasonDto', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_11});
|
|
153
155
|
initMetadataForObject(ProcessingReasonDto, 'ProcessingReasonDto', VOID, TerminationGameReasonDto, [TerminationGameReasonDto, SerializerFactory], VOID, VOID, {0: ProcessingReasonDto_getInstance});
|
|
154
|
-
initMetadataForCompanion(Companion_9);
|
|
155
|
-
initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
156
|
-
initMetadataForClass(GameErrorReasonDto, 'GameErrorReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_0});
|
|
157
156
|
initMetadataForCompanion(Companion_10);
|
|
158
157
|
initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
159
|
-
initMetadataForClass(
|
|
158
|
+
initMetadataForClass(GameErrorReasonDto, 'GameErrorReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_1});
|
|
160
159
|
initMetadataForCompanion(Companion_11);
|
|
161
160
|
initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
162
|
-
initMetadataForClass(
|
|
161
|
+
initMetadataForClass(GameFinishedReasonDto, 'GameFinishedReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_2});
|
|
163
162
|
initMetadataForCompanion(Companion_12);
|
|
164
163
|
initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
165
|
-
initMetadataForClass(
|
|
164
|
+
initMetadataForClass(PlayerExitReasonDto, 'PlayerExitReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
166
165
|
initMetadataForCompanion(Companion_13);
|
|
167
166
|
initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
168
|
-
initMetadataForClass(
|
|
169
|
-
initMetadataForObject(WaitingForConnectionReasonDto, 'WaitingForConnectionReasonDto', VOID, TerminationGameReasonDto, [TerminationGameReasonDto, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReasonDto_getInstance});
|
|
167
|
+
initMetadataForClass(PlayerLostConnectionReasonDto, 'PlayerLostConnectionReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
170
168
|
initMetadataForCompanion(Companion_14);
|
|
171
169
|
initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
172
|
-
initMetadataForClass(
|
|
170
|
+
initMetadataForClass(PlayerTimeoutReasonDto, 'PlayerTimeoutReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_5});
|
|
171
|
+
initMetadataForObject(WaitingForConnectionReasonDto, 'WaitingForConnectionReasonDto', VOID, TerminationGameReasonDto, [TerminationGameReasonDto, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReasonDto_getInstance});
|
|
173
172
|
initMetadataForCompanion(Companion_15);
|
|
174
173
|
initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
175
|
-
initMetadataForClass(
|
|
174
|
+
initMetadataForClass(GameUserInfoDto, 'GameUserInfoDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
|
|
176
175
|
initMetadataForCompanion(Companion_16);
|
|
177
176
|
initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
178
|
-
initMetadataForClass(
|
|
177
|
+
initMetadataForClass(PlayerConnectionDto, 'PlayerConnectionDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
179
178
|
initMetadataForCompanion(Companion_17);
|
|
180
179
|
initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
181
|
-
initMetadataForClass(
|
|
180
|
+
initMetadataForClass(PlayerStateDto, 'PlayerStateDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
|
|
181
|
+
initMetadataForCompanion(Companion_18);
|
|
182
|
+
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
183
|
+
initMetadataForClass(RulesDto, 'RulesDto', RulesDto, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
182
184
|
function get_actionTag() {
|
|
183
185
|
return toString_0(getKClassFromExpression(this));
|
|
184
186
|
}
|
|
@@ -195,8 +197,8 @@
|
|
|
195
197
|
}
|
|
196
198
|
initMetadataForInterface(NotValidateIfGameFinishing, 'NotValidateIfGameFinishing');
|
|
197
199
|
initMetadataForInterface(Store, 'Store');
|
|
198
|
-
initMetadataForCompanion(
|
|
199
|
-
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0:
|
|
200
|
+
initMetadataForCompanion(Companion_19, VOID, [SerializerFactory]);
|
|
201
|
+
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_21});
|
|
200
202
|
function observe(types, $super) {
|
|
201
203
|
var tmp;
|
|
202
204
|
if (types === VOID) {
|
|
@@ -207,17 +209,17 @@
|
|
|
207
209
|
tmp = types;
|
|
208
210
|
}
|
|
209
211
|
types = tmp;
|
|
210
|
-
return this.
|
|
212
|
+
return this.u2c(types);
|
|
211
213
|
}
|
|
212
214
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
213
|
-
initMetadataForCompanion(
|
|
214
|
-
initMetadataForObject($
|
|
215
|
-
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $
|
|
215
|
+
initMetadataForCompanion(Companion_20);
|
|
216
|
+
initMetadataForObject($serializer_10, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
217
|
+
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
216
218
|
//endregion
|
|
217
219
|
function GameEngineConfig() {
|
|
218
|
-
this.version = '1.8.
|
|
220
|
+
this.version = '1.8.289';
|
|
219
221
|
}
|
|
220
|
-
protoOf(GameEngineConfig).
|
|
222
|
+
protoOf(GameEngineConfig).p25 = function () {
|
|
221
223
|
return this.version;
|
|
222
224
|
};
|
|
223
225
|
var GameEngineConfig_instance;
|
|
@@ -225,7 +227,7 @@
|
|
|
225
227
|
return GameEngineConfig_instance;
|
|
226
228
|
}
|
|
227
229
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
228
|
-
return $this.
|
|
230
|
+
return $this.d26_1.a2();
|
|
229
231
|
}
|
|
230
232
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
231
233
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -234,32 +236,26 @@
|
|
|
234
236
|
// Inline function 'kotlin.js.asDynamic' call
|
|
235
237
|
var tmp_0 = [getKClass(PlayerReturnsReason), getKClass(RestartRoundReason)];
|
|
236
238
|
// Inline function 'kotlin.arrayOf' call
|
|
237
|
-
var tmp_1 = $serializer_getInstance();
|
|
238
|
-
var tmp_2 = RestartRoundReason_getInstance();
|
|
239
|
-
// Inline function 'kotlin.arrayOf' call
|
|
240
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
241
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
242
|
-
var tmp$ret$5 = [];
|
|
243
239
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
244
240
|
// Inline function 'kotlin.js.asDynamic' call
|
|
245
|
-
var
|
|
241
|
+
var tmp_1 = [$serializer_getInstance(), $serializer_getInstance_0()];
|
|
246
242
|
// Inline function 'kotlin.arrayOf' call
|
|
247
243
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
248
244
|
// Inline function 'kotlin.js.asDynamic' call
|
|
249
|
-
var tmp$ret$
|
|
250
|
-
return SealedClassSerializer_init_$Create$('com.logic.data.models.ContinueGameReason', tmp, tmp_0,
|
|
245
|
+
var tmp$ret$8 = [];
|
|
246
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.ContinueGameReason', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
251
247
|
}
|
|
252
248
|
function Companion() {
|
|
253
249
|
Companion_instance = this;
|
|
254
250
|
var tmp = this;
|
|
255
251
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
256
|
-
tmp.
|
|
252
|
+
tmp.d26_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
257
253
|
}
|
|
258
|
-
protoOf(Companion).
|
|
254
|
+
protoOf(Companion).z17 = function () {
|
|
259
255
|
return _get_$cachedSerializer__te6jhj(this);
|
|
260
256
|
};
|
|
261
|
-
protoOf(Companion).
|
|
262
|
-
return this.
|
|
257
|
+
protoOf(Companion).iw = function (typeParamsSerializers) {
|
|
258
|
+
return this.z17();
|
|
263
259
|
};
|
|
264
260
|
var Companion_instance;
|
|
265
261
|
function Companion_getInstance_1() {
|
|
@@ -282,50 +278,50 @@
|
|
|
282
278
|
function $serializer() {
|
|
283
279
|
$serializer_instance = this;
|
|
284
280
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
285
|
-
tmp0_serialDesc.
|
|
286
|
-
this.
|
|
281
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
282
|
+
this.e26_1 = tmp0_serialDesc;
|
|
287
283
|
}
|
|
288
|
-
protoOf($serializer).
|
|
289
|
-
var tmp0_desc = this.
|
|
290
|
-
var tmp1_output = encoder.
|
|
291
|
-
tmp1_output.
|
|
292
|
-
tmp1_output.
|
|
284
|
+
protoOf($serializer).f26 = function (encoder, value) {
|
|
285
|
+
var tmp0_desc = this.e26_1;
|
|
286
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
287
|
+
tmp1_output.hp(tmp0_desc, 0, value.g26_1);
|
|
288
|
+
tmp1_output.tn(tmp0_desc);
|
|
293
289
|
};
|
|
294
|
-
protoOf($serializer).
|
|
295
|
-
return this.
|
|
290
|
+
protoOf($serializer).kk = function (encoder, value) {
|
|
291
|
+
return this.f26(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
296
292
|
};
|
|
297
|
-
protoOf($serializer).
|
|
298
|
-
var tmp0_desc = this.
|
|
293
|
+
protoOf($serializer).lk = function (decoder) {
|
|
294
|
+
var tmp0_desc = this.e26_1;
|
|
299
295
|
var tmp1_flag = true;
|
|
300
296
|
var tmp2_index = 0;
|
|
301
297
|
var tmp3_bitMask0 = 0;
|
|
302
298
|
var tmp4_local0 = null;
|
|
303
|
-
var tmp5_input = decoder.
|
|
304
|
-
if (tmp5_input.
|
|
305
|
-
tmp4_local0 = tmp5_input.
|
|
299
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
300
|
+
if (tmp5_input.io()) {
|
|
301
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
306
302
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
307
303
|
} else
|
|
308
304
|
while (tmp1_flag) {
|
|
309
|
-
tmp2_index = tmp5_input.
|
|
305
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
310
306
|
switch (tmp2_index) {
|
|
311
307
|
case -1:
|
|
312
308
|
tmp1_flag = false;
|
|
313
309
|
break;
|
|
314
310
|
case 0:
|
|
315
|
-
tmp4_local0 = tmp5_input.
|
|
311
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
316
312
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
317
313
|
break;
|
|
318
314
|
default:
|
|
319
315
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
320
316
|
}
|
|
321
317
|
}
|
|
322
|
-
tmp5_input.
|
|
318
|
+
tmp5_input.tn(tmp0_desc);
|
|
323
319
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
324
320
|
};
|
|
325
|
-
protoOf($serializer).
|
|
326
|
-
return this.
|
|
321
|
+
protoOf($serializer).jk = function () {
|
|
322
|
+
return this.e26_1;
|
|
327
323
|
};
|
|
328
|
-
protoOf($serializer).
|
|
324
|
+
protoOf($serializer).xv = function () {
|
|
329
325
|
// Inline function 'kotlin.arrayOf' call
|
|
330
326
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
331
327
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -339,10 +335,10 @@
|
|
|
339
335
|
}
|
|
340
336
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
341
337
|
if (!(1 === (1 & seen0))) {
|
|
342
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
338
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().e26_1);
|
|
343
339
|
}
|
|
344
340
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
345
|
-
$this.
|
|
341
|
+
$this.g26_1 = playerId;
|
|
346
342
|
return $this;
|
|
347
343
|
}
|
|
348
344
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -350,13 +346,13 @@
|
|
|
350
346
|
}
|
|
351
347
|
function PlayerReturnsReason(playerId) {
|
|
352
348
|
ContinueGameReason.call(this);
|
|
353
|
-
this.
|
|
349
|
+
this.g26_1 = playerId;
|
|
354
350
|
}
|
|
355
351
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
356
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
352
|
+
return 'PlayerReturnsReason(playerId=' + this.g26_1 + ')';
|
|
357
353
|
};
|
|
358
354
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
359
|
-
return getStringHashCode(this.
|
|
355
|
+
return getStringHashCode(this.g26_1);
|
|
360
356
|
};
|
|
361
357
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
362
358
|
if (this === other)
|
|
@@ -364,69 +360,120 @@
|
|
|
364
360
|
if (!(other instanceof PlayerReturnsReason))
|
|
365
361
|
return false;
|
|
366
362
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
367
|
-
if (!(this.
|
|
363
|
+
if (!(this.g26_1 === tmp0_other_with_cast.g26_1))
|
|
368
364
|
return false;
|
|
369
365
|
return true;
|
|
370
366
|
};
|
|
371
|
-
function
|
|
372
|
-
|
|
367
|
+
function Companion_1() {
|
|
368
|
+
}
|
|
369
|
+
var Companion_instance_1;
|
|
370
|
+
function Companion_getInstance_3() {
|
|
371
|
+
return Companion_instance_1;
|
|
372
|
+
}
|
|
373
|
+
function $serializer_0() {
|
|
374
|
+
$serializer_instance_0 = this;
|
|
375
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
376
|
+
tmp0_serialDesc.iv('fromRound', false);
|
|
377
|
+
this.h26_1 = tmp0_serialDesc;
|
|
373
378
|
}
|
|
374
|
-
function
|
|
375
|
-
var
|
|
379
|
+
protoOf($serializer_0).i26 = function (encoder, value) {
|
|
380
|
+
var tmp0_desc = this.h26_1;
|
|
381
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
382
|
+
tmp1_output.lp(tmp0_desc, 0, IntSerializer_getInstance(), value.j26_1);
|
|
383
|
+
tmp1_output.tn(tmp0_desc);
|
|
384
|
+
};
|
|
385
|
+
protoOf($serializer_0).kk = function (encoder, value) {
|
|
386
|
+
return this.i26(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
387
|
+
};
|
|
388
|
+
protoOf($serializer_0).lk = function (decoder) {
|
|
389
|
+
var tmp0_desc = this.h26_1;
|
|
390
|
+
var tmp1_flag = true;
|
|
391
|
+
var tmp2_index = 0;
|
|
392
|
+
var tmp3_bitMask0 = 0;
|
|
393
|
+
var tmp4_local0 = null;
|
|
394
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
395
|
+
if (tmp5_input.io()) {
|
|
396
|
+
tmp4_local0 = tmp5_input.go(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
397
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
398
|
+
} else
|
|
399
|
+
while (tmp1_flag) {
|
|
400
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
401
|
+
switch (tmp2_index) {
|
|
402
|
+
case -1:
|
|
403
|
+
tmp1_flag = false;
|
|
404
|
+
break;
|
|
405
|
+
case 0:
|
|
406
|
+
tmp4_local0 = tmp5_input.go(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
407
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
408
|
+
break;
|
|
409
|
+
default:
|
|
410
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
tmp5_input.tn(tmp0_desc);
|
|
414
|
+
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
415
|
+
};
|
|
416
|
+
protoOf($serializer_0).jk = function () {
|
|
417
|
+
return this.h26_1;
|
|
418
|
+
};
|
|
419
|
+
protoOf($serializer_0).xv = function () {
|
|
376
420
|
// Inline function 'kotlin.arrayOf' call
|
|
377
421
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
378
422
|
// Inline function 'kotlin.js.asDynamic' call
|
|
379
|
-
|
|
380
|
-
|
|
423
|
+
return [get_nullable(IntSerializer_getInstance())];
|
|
424
|
+
};
|
|
425
|
+
var $serializer_instance_0;
|
|
426
|
+
function $serializer_getInstance_0() {
|
|
427
|
+
if ($serializer_instance_0 == null)
|
|
428
|
+
new $serializer_0();
|
|
429
|
+
return $serializer_instance_0;
|
|
430
|
+
}
|
|
431
|
+
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
432
|
+
if (!(1 === (1 & seen0))) {
|
|
433
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().h26_1);
|
|
434
|
+
}
|
|
435
|
+
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
436
|
+
$this.j26_1 = fromRound;
|
|
437
|
+
return $this;
|
|
381
438
|
}
|
|
382
|
-
function
|
|
383
|
-
|
|
439
|
+
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
440
|
+
return RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, objectCreate(protoOf(RestartRoundReason)));
|
|
441
|
+
}
|
|
442
|
+
function RestartRoundReason(fromRound) {
|
|
384
443
|
ContinueGameReason.call(this);
|
|
385
|
-
|
|
386
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
387
|
-
tmp.w25_1 = lazy(tmp_0, RestartRoundReason$_anonymous__2hwtqk);
|
|
444
|
+
this.j26_1 = fromRound;
|
|
388
445
|
}
|
|
389
|
-
protoOf(RestartRoundReason).o17 = function () {
|
|
390
|
-
return _get_$cachedSerializer__te6jhj_0(this);
|
|
391
|
-
};
|
|
392
|
-
protoOf(RestartRoundReason).xv = function (typeParamsSerializers) {
|
|
393
|
-
return this.o17();
|
|
394
|
-
};
|
|
395
446
|
protoOf(RestartRoundReason).toString = function () {
|
|
396
|
-
return 'RestartRoundReason';
|
|
447
|
+
return 'RestartRoundReason(fromRound=' + this.j26_1 + ')';
|
|
397
448
|
};
|
|
398
449
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
399
|
-
return
|
|
450
|
+
return this.j26_1 == null ? 0 : this.j26_1;
|
|
400
451
|
};
|
|
401
452
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
402
453
|
if (this === other)
|
|
403
454
|
return true;
|
|
404
455
|
if (!(other instanceof RestartRoundReason))
|
|
405
456
|
return false;
|
|
406
|
-
other instanceof RestartRoundReason
|
|
457
|
+
var tmp0_other_with_cast = other instanceof RestartRoundReason ? other : THROW_CCE();
|
|
458
|
+
if (!(this.j26_1 == tmp0_other_with_cast.j26_1))
|
|
459
|
+
return false;
|
|
407
460
|
return true;
|
|
408
461
|
};
|
|
409
|
-
|
|
410
|
-
function RestartRoundReason_getInstance() {
|
|
411
|
-
if (RestartRoundReason_instance == null)
|
|
412
|
-
new RestartRoundReason();
|
|
413
|
-
return RestartRoundReason_instance;
|
|
414
|
-
}
|
|
415
|
-
function Companion_1() {
|
|
462
|
+
function Companion_2() {
|
|
416
463
|
}
|
|
417
|
-
protoOf(
|
|
464
|
+
protoOf(Companion_2).k26 = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
418
465
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
419
466
|
};
|
|
420
|
-
protoOf(
|
|
467
|
+
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
421
468
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
422
|
-
return this.
|
|
469
|
+
return this.k26(fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
423
470
|
};
|
|
424
|
-
protoOf(
|
|
471
|
+
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
425
472
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
426
473
|
};
|
|
427
|
-
var
|
|
428
|
-
function
|
|
429
|
-
return
|
|
474
|
+
var Companion_instance_2;
|
|
475
|
+
function Companion_getInstance_4() {
|
|
476
|
+
return Companion_instance_2;
|
|
430
477
|
}
|
|
431
478
|
function CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
432
479
|
fileLogsEnabled = fileLogsEnabled === VOID ? false : fileLogsEnabled;
|
|
@@ -438,19 +485,19 @@
|
|
|
438
485
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
439
486
|
this.fileNameFormat = fileNameFormat;
|
|
440
487
|
}
|
|
441
|
-
protoOf(CoreConfig).
|
|
488
|
+
protoOf(CoreConfig).l26 = function () {
|
|
442
489
|
return this.fileLogsEnabled;
|
|
443
490
|
};
|
|
444
|
-
protoOf(CoreConfig).
|
|
491
|
+
protoOf(CoreConfig).m26 = function () {
|
|
445
492
|
return this.deleteFilesOnClear;
|
|
446
493
|
};
|
|
447
|
-
protoOf(CoreConfig).
|
|
494
|
+
protoOf(CoreConfig).n26 = function () {
|
|
448
495
|
return this.logsDirectoryPath;
|
|
449
496
|
};
|
|
450
|
-
protoOf(CoreConfig).
|
|
497
|
+
protoOf(CoreConfig).o26 = function () {
|
|
451
498
|
return this.fileNameFormat;
|
|
452
499
|
};
|
|
453
|
-
protoOf(CoreConfig).
|
|
500
|
+
protoOf(CoreConfig).p26 = function () {
|
|
454
501
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
455
502
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
456
503
|
};
|
|
@@ -463,10 +510,10 @@
|
|
|
463
510
|
protoOf(CoreConfig).dh = function () {
|
|
464
511
|
return this.logsDirectoryPath;
|
|
465
512
|
};
|
|
466
|
-
protoOf(CoreConfig).
|
|
513
|
+
protoOf(CoreConfig).p1x = function () {
|
|
467
514
|
return this.fileNameFormat;
|
|
468
515
|
};
|
|
469
|
-
protoOf(CoreConfig).
|
|
516
|
+
protoOf(CoreConfig).q26 = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
470
517
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
471
518
|
};
|
|
472
519
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -474,7 +521,7 @@
|
|
|
474
521
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
475
522
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
476
523
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
477
|
-
return this.
|
|
524
|
+
return this.q26(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
478
525
|
};
|
|
479
526
|
protoOf(CoreConfig).toString = function () {
|
|
480
527
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -502,8 +549,8 @@
|
|
|
502
549
|
return false;
|
|
503
550
|
return true;
|
|
504
551
|
};
|
|
505
|
-
function _get_$
|
|
506
|
-
return $this.
|
|
552
|
+
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
553
|
+
return $this.r26_1.a2();
|
|
507
554
|
}
|
|
508
555
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
509
556
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -517,13 +564,13 @@
|
|
|
517
564
|
RestartGameReason_instance = this;
|
|
518
565
|
var tmp = this;
|
|
519
566
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
520
|
-
tmp.
|
|
567
|
+
tmp.r26_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
521
568
|
}
|
|
522
|
-
protoOf(RestartGameReason).
|
|
523
|
-
return _get_$
|
|
569
|
+
protoOf(RestartGameReason).z17 = function () {
|
|
570
|
+
return _get_$cachedSerializer__te6jhj_0(this);
|
|
524
571
|
};
|
|
525
|
-
protoOf(RestartGameReason).
|
|
526
|
-
return this.
|
|
572
|
+
protoOf(RestartGameReason).iw = function (typeParamsSerializers) {
|
|
573
|
+
return this.z17();
|
|
527
574
|
};
|
|
528
575
|
protoOf(RestartGameReason).toString = function () {
|
|
529
576
|
return 'RestartGameReason';
|
|
@@ -549,37 +596,37 @@
|
|
|
549
596
|
}
|
|
550
597
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
551
598
|
TerminationGameReason.call(this);
|
|
552
|
-
this.
|
|
599
|
+
this.s26_1 = playerId;
|
|
553
600
|
this.tag = tag;
|
|
554
601
|
}
|
|
555
|
-
protoOf(PlayerLostConnectionReason).
|
|
556
|
-
return this.
|
|
602
|
+
protoOf(PlayerLostConnectionReason).t26 = function () {
|
|
603
|
+
return this.s26_1;
|
|
557
604
|
};
|
|
558
|
-
protoOf(PlayerLostConnectionReason).
|
|
605
|
+
protoOf(PlayerLostConnectionReason).u26 = function () {
|
|
559
606
|
return this.tag;
|
|
560
607
|
};
|
|
561
|
-
protoOf(PlayerLostConnectionReason).
|
|
608
|
+
protoOf(PlayerLostConnectionReason).v26 = function () {
|
|
562
609
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
563
610
|
};
|
|
564
611
|
protoOf(PlayerLostConnectionReason).zc = function () {
|
|
565
|
-
return this.
|
|
612
|
+
return this.s26_1;
|
|
566
613
|
};
|
|
567
614
|
protoOf(PlayerLostConnectionReason).ad = function () {
|
|
568
615
|
return this.tag;
|
|
569
616
|
};
|
|
570
|
-
protoOf(PlayerLostConnectionReason).
|
|
617
|
+
protoOf(PlayerLostConnectionReason).w26 = function (playerId, tag) {
|
|
571
618
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
572
619
|
};
|
|
573
620
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
574
|
-
playerId = playerId === VOID ? this.
|
|
621
|
+
playerId = playerId === VOID ? this.s26_1 : playerId;
|
|
575
622
|
tag = tag === VOID ? this.tag : tag;
|
|
576
|
-
return this.
|
|
623
|
+
return this.w26(playerId, tag);
|
|
577
624
|
};
|
|
578
625
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
579
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
626
|
+
return 'PlayerLostConnectionReason(playerId=' + this.s26_1 + ', tag=' + this.tag + ')';
|
|
580
627
|
};
|
|
581
628
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
582
|
-
var result = getStringHashCode(this.
|
|
629
|
+
var result = getStringHashCode(this.s26_1);
|
|
583
630
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
584
631
|
return result;
|
|
585
632
|
};
|
|
@@ -589,7 +636,7 @@
|
|
|
589
636
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
590
637
|
return false;
|
|
591
638
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
592
|
-
if (!(this.
|
|
639
|
+
if (!(this.s26_1 === tmp0_other_with_cast.s26_1))
|
|
593
640
|
return false;
|
|
594
641
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
595
642
|
return false;
|
|
@@ -597,37 +644,37 @@
|
|
|
597
644
|
};
|
|
598
645
|
function PlayerTimeoutReason(playerId, tag) {
|
|
599
646
|
TerminationGameReason.call(this);
|
|
600
|
-
this.
|
|
647
|
+
this.x26_1 = playerId;
|
|
601
648
|
this.tag = tag;
|
|
602
649
|
}
|
|
603
|
-
protoOf(PlayerTimeoutReason).
|
|
604
|
-
return this.
|
|
650
|
+
protoOf(PlayerTimeoutReason).t26 = function () {
|
|
651
|
+
return this.x26_1;
|
|
605
652
|
};
|
|
606
|
-
protoOf(PlayerTimeoutReason).
|
|
653
|
+
protoOf(PlayerTimeoutReason).u26 = function () {
|
|
607
654
|
return this.tag;
|
|
608
655
|
};
|
|
609
|
-
protoOf(PlayerTimeoutReason).
|
|
656
|
+
protoOf(PlayerTimeoutReason).v26 = function () {
|
|
610
657
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
611
658
|
};
|
|
612
659
|
protoOf(PlayerTimeoutReason).zc = function () {
|
|
613
|
-
return this.
|
|
660
|
+
return this.x26_1;
|
|
614
661
|
};
|
|
615
662
|
protoOf(PlayerTimeoutReason).ad = function () {
|
|
616
663
|
return this.tag;
|
|
617
664
|
};
|
|
618
|
-
protoOf(PlayerTimeoutReason).
|
|
665
|
+
protoOf(PlayerTimeoutReason).w26 = function (playerId, tag) {
|
|
619
666
|
return new PlayerTimeoutReason(playerId, tag);
|
|
620
667
|
};
|
|
621
668
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
622
|
-
playerId = playerId === VOID ? this.
|
|
669
|
+
playerId = playerId === VOID ? this.x26_1 : playerId;
|
|
623
670
|
tag = tag === VOID ? this.tag : tag;
|
|
624
|
-
return this.
|
|
671
|
+
return this.w26(playerId, tag);
|
|
625
672
|
};
|
|
626
673
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
627
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
674
|
+
return 'PlayerTimeoutReason(playerId=' + this.x26_1 + ', tag=' + this.tag + ')';
|
|
628
675
|
};
|
|
629
676
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
630
|
-
var result = getStringHashCode(this.
|
|
677
|
+
var result = getStringHashCode(this.x26_1);
|
|
631
678
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
632
679
|
return result;
|
|
633
680
|
};
|
|
@@ -637,7 +684,7 @@
|
|
|
637
684
|
if (!(other instanceof PlayerTimeoutReason))
|
|
638
685
|
return false;
|
|
639
686
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
640
|
-
if (!(this.
|
|
687
|
+
if (!(this.x26_1 === tmp0_other_with_cast.x26_1))
|
|
641
688
|
return false;
|
|
642
689
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
643
690
|
return false;
|
|
@@ -645,29 +692,29 @@
|
|
|
645
692
|
};
|
|
646
693
|
function PlayerExitReason(playerId) {
|
|
647
694
|
TerminationGameReason.call(this);
|
|
648
|
-
this.
|
|
695
|
+
this.y26_1 = playerId;
|
|
649
696
|
}
|
|
650
|
-
protoOf(PlayerExitReason).
|
|
651
|
-
return this.
|
|
697
|
+
protoOf(PlayerExitReason).t26 = function () {
|
|
698
|
+
return this.y26_1;
|
|
652
699
|
};
|
|
653
|
-
protoOf(PlayerExitReason).
|
|
700
|
+
protoOf(PlayerExitReason).v26 = function () {
|
|
654
701
|
return PlayerConnectionState_LEFT_getInstance();
|
|
655
702
|
};
|
|
656
703
|
protoOf(PlayerExitReason).zc = function () {
|
|
657
|
-
return this.
|
|
704
|
+
return this.y26_1;
|
|
658
705
|
};
|
|
659
|
-
protoOf(PlayerExitReason).
|
|
706
|
+
protoOf(PlayerExitReason).z26 = function (playerId) {
|
|
660
707
|
return new PlayerExitReason(playerId);
|
|
661
708
|
};
|
|
662
709
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
663
|
-
playerId = playerId === VOID ? this.
|
|
664
|
-
return this.
|
|
710
|
+
playerId = playerId === VOID ? this.y26_1 : playerId;
|
|
711
|
+
return this.z26(playerId);
|
|
665
712
|
};
|
|
666
713
|
protoOf(PlayerExitReason).toString = function () {
|
|
667
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
714
|
+
return 'PlayerExitReason(playerId=' + this.y26_1 + ')';
|
|
668
715
|
};
|
|
669
716
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
670
|
-
return getStringHashCode(this.
|
|
717
|
+
return getStringHashCode(this.y26_1);
|
|
671
718
|
};
|
|
672
719
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
673
720
|
if (this === other)
|
|
@@ -675,14 +722,14 @@
|
|
|
675
722
|
if (!(other instanceof PlayerExitReason))
|
|
676
723
|
return false;
|
|
677
724
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
678
|
-
if (!(this.
|
|
725
|
+
if (!(this.y26_1 === tmp0_other_with_cast.y26_1))
|
|
679
726
|
return false;
|
|
680
727
|
return true;
|
|
681
728
|
};
|
|
682
729
|
function FinishPlayerReason() {
|
|
683
730
|
}
|
|
684
|
-
function _get_$
|
|
685
|
-
return $this.
|
|
731
|
+
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
732
|
+
return $this.a27_1.a2();
|
|
686
733
|
}
|
|
687
734
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
688
735
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -718,24 +765,24 @@
|
|
|
718
765
|
$ENTRIES = enumEntries(values());
|
|
719
766
|
return $ENTRIES;
|
|
720
767
|
}
|
|
721
|
-
function
|
|
722
|
-
|
|
768
|
+
function Companion_3() {
|
|
769
|
+
Companion_instance_3 = this;
|
|
723
770
|
var tmp = this;
|
|
724
771
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
725
|
-
tmp.
|
|
772
|
+
tmp.a27_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
726
773
|
}
|
|
727
|
-
protoOf(
|
|
728
|
-
return _get_$
|
|
774
|
+
protoOf(Companion_3).z17 = function () {
|
|
775
|
+
return _get_$cachedSerializer__te6jhj_1(this);
|
|
729
776
|
};
|
|
730
|
-
protoOf(
|
|
731
|
-
return this.
|
|
777
|
+
protoOf(Companion_3).iw = function (typeParamsSerializers) {
|
|
778
|
+
return this.z17();
|
|
732
779
|
};
|
|
733
|
-
var
|
|
734
|
-
function
|
|
780
|
+
var Companion_instance_3;
|
|
781
|
+
function Companion_getInstance_5() {
|
|
735
782
|
Reason_initEntries();
|
|
736
|
-
if (
|
|
737
|
-
new
|
|
738
|
-
return
|
|
783
|
+
if (Companion_instance_3 == null)
|
|
784
|
+
new Companion_3();
|
|
785
|
+
return Companion_instance_3;
|
|
739
786
|
}
|
|
740
787
|
var Reason_entriesInitialized;
|
|
741
788
|
function Reason_initEntries() {
|
|
@@ -747,7 +794,7 @@
|
|
|
747
794
|
Reason_FINISHED_instance = new Reason('FINISHED', 2);
|
|
748
795
|
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 3);
|
|
749
796
|
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 4);
|
|
750
|
-
|
|
797
|
+
Companion_getInstance_5();
|
|
751
798
|
}
|
|
752
799
|
var $ENTRIES;
|
|
753
800
|
function Reason(name, ordinal) {
|
|
@@ -777,18 +824,18 @@
|
|
|
777
824
|
TerminationGameReason.call(this);
|
|
778
825
|
this.reason = reason;
|
|
779
826
|
}
|
|
780
|
-
protoOf(GameFinishedReason).
|
|
827
|
+
protoOf(GameFinishedReason).d27 = function () {
|
|
781
828
|
return this.reason;
|
|
782
829
|
};
|
|
783
830
|
protoOf(GameFinishedReason).zc = function () {
|
|
784
831
|
return this.reason;
|
|
785
832
|
};
|
|
786
|
-
protoOf(GameFinishedReason).
|
|
833
|
+
protoOf(GameFinishedReason).e27 = function (reason) {
|
|
787
834
|
return new GameFinishedReason(reason);
|
|
788
835
|
};
|
|
789
836
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
790
837
|
reason = reason === VOID ? this.reason : reason;
|
|
791
|
-
return this.
|
|
838
|
+
return this.e27(reason);
|
|
792
839
|
};
|
|
793
840
|
protoOf(GameFinishedReason).toString = function () {
|
|
794
841
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -806,8 +853,8 @@
|
|
|
806
853
|
return false;
|
|
807
854
|
return true;
|
|
808
855
|
};
|
|
809
|
-
function _get_$
|
|
810
|
-
return $this.
|
|
856
|
+
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
857
|
+
return $this.f27_1.a2();
|
|
811
858
|
}
|
|
812
859
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
813
860
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -843,24 +890,24 @@
|
|
|
843
890
|
$ENTRIES_0 = enumEntries(values_0());
|
|
844
891
|
return $ENTRIES_0;
|
|
845
892
|
}
|
|
846
|
-
function
|
|
847
|
-
|
|
893
|
+
function Companion_4() {
|
|
894
|
+
Companion_instance_4 = this;
|
|
848
895
|
var tmp = this;
|
|
849
896
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
850
|
-
tmp.
|
|
897
|
+
tmp.f27_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
851
898
|
}
|
|
852
|
-
protoOf(
|
|
853
|
-
return _get_$
|
|
899
|
+
protoOf(Companion_4).z17 = function () {
|
|
900
|
+
return _get_$cachedSerializer__te6jhj_2(this);
|
|
854
901
|
};
|
|
855
|
-
protoOf(
|
|
856
|
-
return this.
|
|
902
|
+
protoOf(Companion_4).iw = function (typeParamsSerializers) {
|
|
903
|
+
return this.z17();
|
|
857
904
|
};
|
|
858
|
-
var
|
|
859
|
-
function
|
|
905
|
+
var Companion_instance_4;
|
|
906
|
+
function Companion_getInstance_6() {
|
|
860
907
|
Reason_initEntries_0();
|
|
861
|
-
if (
|
|
862
|
-
new
|
|
863
|
-
return
|
|
908
|
+
if (Companion_instance_4 == null)
|
|
909
|
+
new Companion_4();
|
|
910
|
+
return Companion_instance_4;
|
|
864
911
|
}
|
|
865
912
|
var Reason_entriesInitialized_0;
|
|
866
913
|
function Reason_initEntries_0() {
|
|
@@ -872,7 +919,7 @@
|
|
|
872
919
|
Reason_GAME_NOT_EXISTS_instance_0 = new Reason_0('GAME_NOT_EXISTS', 2);
|
|
873
920
|
Reason_WRONG_PLAYER_TURN_instance = new Reason_0('WRONG_PLAYER_TURN', 3);
|
|
874
921
|
Reason_PLAYER_DISCONNECTED_instance = new Reason_0('PLAYER_DISCONNECTED', 4);
|
|
875
|
-
|
|
922
|
+
Companion_getInstance_6();
|
|
876
923
|
}
|
|
877
924
|
var $ENTRIES_0;
|
|
878
925
|
function Reason_0(name, ordinal) {
|
|
@@ -902,18 +949,18 @@
|
|
|
902
949
|
TerminationGameReason.call(this);
|
|
903
950
|
this.reason = reason;
|
|
904
951
|
}
|
|
905
|
-
protoOf(GameErrorReason).
|
|
952
|
+
protoOf(GameErrorReason).d27 = function () {
|
|
906
953
|
return this.reason;
|
|
907
954
|
};
|
|
908
955
|
protoOf(GameErrorReason).zc = function () {
|
|
909
956
|
return this.reason;
|
|
910
957
|
};
|
|
911
|
-
protoOf(GameErrorReason).
|
|
958
|
+
protoOf(GameErrorReason).i27 = function (reason) {
|
|
912
959
|
return new GameErrorReason(reason);
|
|
913
960
|
};
|
|
914
961
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
915
962
|
reason = reason === VOID ? this.reason : reason;
|
|
916
|
-
return this.
|
|
963
|
+
return this.i27(reason);
|
|
917
964
|
};
|
|
918
965
|
protoOf(GameErrorReason).toString = function () {
|
|
919
966
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -983,39 +1030,39 @@
|
|
|
983
1030
|
Exception_init_$Init$(message, this);
|
|
984
1031
|
captureStack(this, MechanicException);
|
|
985
1032
|
}
|
|
986
|
-
function GameUserInfo(playerId, name, avatarUrl, isBot,
|
|
1033
|
+
function GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
987
1034
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
988
1035
|
isBot = isBot === VOID ? false : isBot;
|
|
989
|
-
rating = rating === VOID ? null : rating;
|
|
990
1036
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1037
|
+
rating = rating === VOID ? null : rating;
|
|
991
1038
|
payload = payload === VOID ? null : payload;
|
|
992
|
-
this.
|
|
1039
|
+
this.j27_1 = playerId;
|
|
993
1040
|
this.name = name;
|
|
994
1041
|
this.avatarUrl = avatarUrl;
|
|
995
1042
|
this.isBot = isBot;
|
|
996
|
-
this.rating = rating;
|
|
997
1043
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1044
|
+
this.rating = rating;
|
|
998
1045
|
this.payload = payload;
|
|
999
1046
|
}
|
|
1000
|
-
protoOf(GameUserInfo).
|
|
1001
|
-
return this.
|
|
1047
|
+
protoOf(GameUserInfo).t26 = function () {
|
|
1048
|
+
return this.j27_1;
|
|
1002
1049
|
};
|
|
1003
1050
|
protoOf(GameUserInfo).k2 = function () {
|
|
1004
1051
|
return this.name;
|
|
1005
1052
|
};
|
|
1006
|
-
protoOf(GameUserInfo).
|
|
1053
|
+
protoOf(GameUserInfo).k27 = function () {
|
|
1007
1054
|
return this.avatarUrl;
|
|
1008
1055
|
};
|
|
1009
|
-
protoOf(GameUserInfo).
|
|
1056
|
+
protoOf(GameUserInfo).l27 = function () {
|
|
1010
1057
|
return this.isBot;
|
|
1011
1058
|
};
|
|
1012
|
-
protoOf(GameUserInfo).
|
|
1013
|
-
return this.rating;
|
|
1014
|
-
};
|
|
1015
|
-
protoOf(GameUserInfo).a27 = function () {
|
|
1059
|
+
protoOf(GameUserInfo).m27 = function () {
|
|
1016
1060
|
return this.initialLuckyFactor;
|
|
1017
1061
|
};
|
|
1018
|
-
protoOf(GameUserInfo).
|
|
1062
|
+
protoOf(GameUserInfo).n27 = function () {
|
|
1063
|
+
return this.rating;
|
|
1064
|
+
};
|
|
1065
|
+
protoOf(GameUserInfo).o27 = function () {
|
|
1019
1066
|
return this.payload;
|
|
1020
1067
|
};
|
|
1021
1068
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1023,7 +1070,7 @@
|
|
|
1023
1070
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1024
1071
|
};
|
|
1025
1072
|
protoOf(GameUserInfo).toString = function () {
|
|
1026
|
-
var tmp = 'playerId=' + this.
|
|
1073
|
+
var tmp = 'playerId=' + this.j27_1;
|
|
1027
1074
|
var tmp_0 = 'name=' + this.name;
|
|
1028
1075
|
// Inline function 'kotlin.takeIf' call
|
|
1029
1076
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1083,7 +1130,7 @@
|
|
|
1083
1130
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1084
1131
|
};
|
|
1085
1132
|
protoOf(GameUserInfo).zc = function () {
|
|
1086
|
-
return this.
|
|
1133
|
+
return this.j27_1;
|
|
1087
1134
|
};
|
|
1088
1135
|
protoOf(GameUserInfo).ad = function () {
|
|
1089
1136
|
return this.name;
|
|
@@ -1091,38 +1138,38 @@
|
|
|
1091
1138
|
protoOf(GameUserInfo).dh = function () {
|
|
1092
1139
|
return this.avatarUrl;
|
|
1093
1140
|
};
|
|
1094
|
-
protoOf(GameUserInfo).
|
|
1141
|
+
protoOf(GameUserInfo).p1x = function () {
|
|
1095
1142
|
return this.isBot;
|
|
1096
1143
|
};
|
|
1097
|
-
protoOf(GameUserInfo).
|
|
1098
|
-
return this.rating;
|
|
1099
|
-
};
|
|
1100
|
-
protoOf(GameUserInfo).d27 = function () {
|
|
1144
|
+
protoOf(GameUserInfo).p27 = function () {
|
|
1101
1145
|
return this.initialLuckyFactor;
|
|
1102
1146
|
};
|
|
1103
|
-
protoOf(GameUserInfo).
|
|
1147
|
+
protoOf(GameUserInfo).q27 = function () {
|
|
1148
|
+
return this.rating;
|
|
1149
|
+
};
|
|
1150
|
+
protoOf(GameUserInfo).r27 = function () {
|
|
1104
1151
|
return this.payload;
|
|
1105
1152
|
};
|
|
1106
|
-
protoOf(GameUserInfo).
|
|
1107
|
-
return new GameUserInfo(playerId, name, avatarUrl, isBot,
|
|
1153
|
+
protoOf(GameUserInfo).s27 = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1154
|
+
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1108
1155
|
};
|
|
1109
|
-
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot,
|
|
1110
|
-
playerId = playerId === VOID ? this.
|
|
1156
|
+
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1157
|
+
playerId = playerId === VOID ? this.j27_1 : playerId;
|
|
1111
1158
|
name = name === VOID ? this.name : name;
|
|
1112
1159
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1113
1160
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1114
|
-
rating = rating === VOID ? this.rating : rating;
|
|
1115
1161
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1162
|
+
rating = rating === VOID ? this.rating : rating;
|
|
1116
1163
|
payload = payload === VOID ? this.payload : payload;
|
|
1117
|
-
return this.
|
|
1164
|
+
return this.s27(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1118
1165
|
};
|
|
1119
1166
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1120
|
-
var result = getStringHashCode(this.
|
|
1167
|
+
var result = getStringHashCode(this.j27_1);
|
|
1121
1168
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1122
1169
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1123
1170
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
1124
|
-
result = imul(result, 31) + (this.rating == null ? 0 : getNumberHashCode(this.rating)) | 0;
|
|
1125
1171
|
result = imul(result, 31) + (this.initialLuckyFactor == null ? 0 : getNumberHashCode(this.initialLuckyFactor)) | 0;
|
|
1172
|
+
result = imul(result, 31) + (this.rating == null ? 0 : getNumberHashCode(this.rating)) | 0;
|
|
1126
1173
|
result = imul(result, 31) + (this.payload == null ? 0 : hashCode(this.payload)) | 0;
|
|
1127
1174
|
return result;
|
|
1128
1175
|
};
|
|
@@ -1132,7 +1179,7 @@
|
|
|
1132
1179
|
if (!(other instanceof GameUserInfo))
|
|
1133
1180
|
return false;
|
|
1134
1181
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1135
|
-
if (!(this.
|
|
1182
|
+
if (!(this.j27_1 === tmp0_other_with_cast.j27_1))
|
|
1136
1183
|
return false;
|
|
1137
1184
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1138
1185
|
return false;
|
|
@@ -1140,10 +1187,10 @@
|
|
|
1140
1187
|
return false;
|
|
1141
1188
|
if (!(this.isBot === tmp0_other_with_cast.isBot))
|
|
1142
1189
|
return false;
|
|
1143
|
-
if (!equals(this.rating, tmp0_other_with_cast.rating))
|
|
1144
|
-
return false;
|
|
1145
1190
|
if (!equals(this.initialLuckyFactor, tmp0_other_with_cast.initialLuckyFactor))
|
|
1146
1191
|
return false;
|
|
1192
|
+
if (!equals(this.rating, tmp0_other_with_cast.rating))
|
|
1193
|
+
return false;
|
|
1147
1194
|
if (!equals(this.payload, tmp0_other_with_cast.payload))
|
|
1148
1195
|
return false;
|
|
1149
1196
|
return true;
|
|
@@ -1193,18 +1240,18 @@
|
|
|
1193
1240
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1194
1241
|
}
|
|
1195
1242
|
function PlayerIndex(playerId, index) {
|
|
1196
|
-
this.
|
|
1197
|
-
this.
|
|
1243
|
+
this.t27_1 = playerId;
|
|
1244
|
+
this.u27_1 = index;
|
|
1198
1245
|
}
|
|
1199
|
-
protoOf(PlayerIndex).
|
|
1200
|
-
return this.
|
|
1246
|
+
protoOf(PlayerIndex).t26 = function () {
|
|
1247
|
+
return this.t27_1;
|
|
1201
1248
|
};
|
|
1202
1249
|
protoOf(PlayerIndex).toString = function () {
|
|
1203
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1250
|
+
return 'PlayerIndex(playerId=' + this.t27_1 + ', index=' + this.u27_1 + ')';
|
|
1204
1251
|
};
|
|
1205
1252
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1206
|
-
var result = getStringHashCode(this.
|
|
1207
|
-
result = imul(result, 31) + this.
|
|
1253
|
+
var result = getStringHashCode(this.t27_1);
|
|
1254
|
+
result = imul(result, 31) + this.u27_1 | 0;
|
|
1208
1255
|
return result;
|
|
1209
1256
|
};
|
|
1210
1257
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1213,9 +1260,9 @@
|
|
|
1213
1260
|
if (!(other instanceof PlayerIndex))
|
|
1214
1261
|
return false;
|
|
1215
1262
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1216
|
-
if (!(this.
|
|
1263
|
+
if (!(this.t27_1 === tmp0_other_with_cast.t27_1))
|
|
1217
1264
|
return false;
|
|
1218
|
-
if (!(this.
|
|
1265
|
+
if (!(this.u27_1 === tmp0_other_with_cast.u27_1))
|
|
1219
1266
|
return false;
|
|
1220
1267
|
return true;
|
|
1221
1268
|
};
|
|
@@ -1230,7 +1277,7 @@
|
|
|
1230
1277
|
}
|
|
1231
1278
|
function playerTurnPredicate$lambda(p1) {
|
|
1232
1279
|
_init_properties_Player_kt__qi83pd();
|
|
1233
|
-
return p1.
|
|
1280
|
+
return p1.v27().d28();
|
|
1234
1281
|
}
|
|
1235
1282
|
var properties_initialized_Player_kt_56shkt;
|
|
1236
1283
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1240,62 +1287,62 @@
|
|
|
1240
1287
|
playerTurnPredicate = playerTurnPredicate$lambda;
|
|
1241
1288
|
}
|
|
1242
1289
|
}
|
|
1243
|
-
function
|
|
1244
|
-
this.
|
|
1290
|
+
function Companion_5() {
|
|
1291
|
+
this.e28_1 = 70;
|
|
1245
1292
|
}
|
|
1246
|
-
protoOf(
|
|
1247
|
-
return new PlayerConnection(state, System_instance.
|
|
1293
|
+
protoOf(Companion_5).f28 = function (state, timeout) {
|
|
1294
|
+
return new PlayerConnection(state, System_instance.y1g().q1w(timeout));
|
|
1248
1295
|
};
|
|
1249
|
-
protoOf(
|
|
1296
|
+
protoOf(Companion_5).g28 = function (state, timeout, $super) {
|
|
1250
1297
|
timeout = timeout === VOID ? Companion_getInstance().hg_1 : timeout;
|
|
1251
|
-
return $super === VOID ? this.
|
|
1298
|
+
return $super === VOID ? this.f28(state, timeout) : $super.f28.call(this, state, new Duration(timeout));
|
|
1252
1299
|
};
|
|
1253
|
-
var
|
|
1254
|
-
function
|
|
1255
|
-
return
|
|
1300
|
+
var Companion_instance_5;
|
|
1301
|
+
function Companion_getInstance_7() {
|
|
1302
|
+
return Companion_instance_5;
|
|
1256
1303
|
}
|
|
1257
1304
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1258
|
-
connectionChangedTime = connectionChangedTime === VOID ? System_instance.
|
|
1305
|
+
connectionChangedTime = connectionChangedTime === VOID ? System_instance.y1g() : connectionChangedTime;
|
|
1259
1306
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().hg_1 : notLiveDurationRecord;
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1307
|
+
this.h28_1 = state;
|
|
1308
|
+
this.i28_1 = connectionChangedTime;
|
|
1309
|
+
this.j28_1 = notLiveDurationRecord;
|
|
1263
1310
|
}
|
|
1264
|
-
protoOf(PlayerConnection).
|
|
1265
|
-
return System_instance.
|
|
1311
|
+
protoOf(PlayerConnection).k28 = function () {
|
|
1312
|
+
return System_instance.y1g().r1w(this.i28_1);
|
|
1266
1313
|
};
|
|
1267
|
-
protoOf(PlayerConnection).
|
|
1314
|
+
protoOf(PlayerConnection).l28 = function () {
|
|
1268
1315
|
var tmp;
|
|
1269
|
-
if (this.
|
|
1270
|
-
tmp = this.
|
|
1316
|
+
if (this.h28_1.isLive) {
|
|
1317
|
+
tmp = this.j28_1;
|
|
1271
1318
|
} else {
|
|
1272
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1319
|
+
tmp = Duration__plus_impl_yu9v8f(this.j28_1, this.k28());
|
|
1273
1320
|
}
|
|
1274
1321
|
return tmp;
|
|
1275
1322
|
};
|
|
1276
|
-
protoOf(PlayerConnection).
|
|
1323
|
+
protoOf(PlayerConnection).m28 = function (gameDuration) {
|
|
1277
1324
|
// Inline function 'kotlin.Long.div' call
|
|
1278
1325
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).h3() / 100.0;
|
|
1279
1326
|
// Inline function 'kotlin.math.round' call
|
|
1280
1327
|
// Inline function 'kotlin.Long.div' call
|
|
1281
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1328
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.l28()).h3() / percent;
|
|
1282
1329
|
var tmp$ret$2 = round(x);
|
|
1283
1330
|
return numberToInt(tmp$ret$2);
|
|
1284
1331
|
};
|
|
1285
|
-
protoOf(PlayerConnection).
|
|
1286
|
-
return 100 - this.
|
|
1332
|
+
protoOf(PlayerConnection).n28 = function (gameDuration) {
|
|
1333
|
+
return 100 - this.m28(gameDuration) | 0;
|
|
1287
1334
|
};
|
|
1288
|
-
protoOf(PlayerConnection).
|
|
1289
|
-
var percentage = this.
|
|
1290
|
-
return percentage >=
|
|
1335
|
+
protoOf(PlayerConnection).o28 = function (gameDuration) {
|
|
1336
|
+
var percentage = this.n28(gameDuration);
|
|
1337
|
+
return percentage >= 70;
|
|
1291
1338
|
};
|
|
1292
1339
|
protoOf(PlayerConnection).toString = function () {
|
|
1293
|
-
return 'PlayerConnection(state=' + this.
|
|
1340
|
+
return 'PlayerConnection(state=' + this.h28_1.toString() + ', connectionChangedTime=' + this.i28_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.j28_1) + ')';
|
|
1294
1341
|
};
|
|
1295
1342
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1296
|
-
var result = this.
|
|
1297
|
-
result = imul(result, 31) + this.
|
|
1298
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1343
|
+
var result = this.h28_1.hashCode();
|
|
1344
|
+
result = imul(result, 31) + this.i28_1.hashCode() | 0;
|
|
1345
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.j28_1) | 0;
|
|
1299
1346
|
return result;
|
|
1300
1347
|
};
|
|
1301
1348
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1304,16 +1351,16 @@
|
|
|
1304
1351
|
if (!(other instanceof PlayerConnection))
|
|
1305
1352
|
return false;
|
|
1306
1353
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1307
|
-
if (!this.
|
|
1354
|
+
if (!this.h28_1.equals(tmp0_other_with_cast.h28_1))
|
|
1308
1355
|
return false;
|
|
1309
|
-
if (!this.
|
|
1356
|
+
if (!this.i28_1.equals(tmp0_other_with_cast.i28_1))
|
|
1310
1357
|
return false;
|
|
1311
|
-
if (!equals(this.
|
|
1358
|
+
if (!equals(this.j28_1, tmp0_other_with_cast.j28_1))
|
|
1312
1359
|
return false;
|
|
1313
1360
|
return true;
|
|
1314
1361
|
};
|
|
1315
|
-
function _get_$
|
|
1316
|
-
return $this.
|
|
1362
|
+
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1363
|
+
return $this.p28_1.a2();
|
|
1317
1364
|
}
|
|
1318
1365
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1319
1366
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1347,24 +1394,24 @@
|
|
|
1347
1394
|
break;
|
|
1348
1395
|
}
|
|
1349
1396
|
}
|
|
1350
|
-
function
|
|
1351
|
-
|
|
1397
|
+
function Companion_6() {
|
|
1398
|
+
Companion_instance_6 = this;
|
|
1352
1399
|
var tmp = this;
|
|
1353
1400
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1354
|
-
tmp.
|
|
1401
|
+
tmp.p28_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1355
1402
|
}
|
|
1356
|
-
protoOf(
|
|
1357
|
-
return _get_$
|
|
1403
|
+
protoOf(Companion_6).z17 = function () {
|
|
1404
|
+
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1358
1405
|
};
|
|
1359
|
-
protoOf(
|
|
1360
|
-
return this.
|
|
1406
|
+
protoOf(Companion_6).iw = function (typeParamsSerializers) {
|
|
1407
|
+
return this.z17();
|
|
1361
1408
|
};
|
|
1362
|
-
var
|
|
1363
|
-
function
|
|
1409
|
+
var Companion_instance_6;
|
|
1410
|
+
function Companion_getInstance_8() {
|
|
1364
1411
|
PlayerConnectionState_initEntries();
|
|
1365
|
-
if (
|
|
1366
|
-
new
|
|
1367
|
-
return
|
|
1412
|
+
if (Companion_instance_6 == null)
|
|
1413
|
+
new Companion_6();
|
|
1414
|
+
return Companion_instance_6;
|
|
1368
1415
|
}
|
|
1369
1416
|
var PlayerConnectionState_entriesInitialized;
|
|
1370
1417
|
function PlayerConnectionState_initEntries() {
|
|
@@ -1377,39 +1424,39 @@
|
|
|
1377
1424
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1378
1425
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
1379
1426
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1380
|
-
|
|
1427
|
+
Companion_getInstance_8();
|
|
1381
1428
|
}
|
|
1382
1429
|
function PlayerConnectionState(name, ordinal) {
|
|
1383
1430
|
Enum.call(this, name, ordinal);
|
|
1384
1431
|
}
|
|
1385
|
-
protoOf(PlayerConnectionState).
|
|
1432
|
+
protoOf(PlayerConnectionState).s28 = function () {
|
|
1386
1433
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1387
1434
|
};
|
|
1388
|
-
protoOf(PlayerConnectionState).
|
|
1435
|
+
protoOf(PlayerConnectionState).t28 = function () {
|
|
1389
1436
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1390
1437
|
};
|
|
1391
|
-
protoOf(PlayerConnectionState).
|
|
1438
|
+
protoOf(PlayerConnectionState).u28 = function () {
|
|
1392
1439
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1393
1440
|
};
|
|
1394
|
-
protoOf(PlayerConnectionState).
|
|
1441
|
+
protoOf(PlayerConnectionState).v28 = function () {
|
|
1395
1442
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1396
1443
|
};
|
|
1397
|
-
protoOf(PlayerConnectionState).
|
|
1444
|
+
protoOf(PlayerConnectionState).w28 = function () {
|
|
1398
1445
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1399
1446
|
};
|
|
1400
|
-
protoOf(PlayerConnectionState).
|
|
1447
|
+
protoOf(PlayerConnectionState).x28 = function () {
|
|
1401
1448
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1402
1449
|
};
|
|
1403
|
-
protoOf(PlayerConnectionState).
|
|
1450
|
+
protoOf(PlayerConnectionState).y28 = function () {
|
|
1404
1451
|
return this.isDisconnected || this.isDeleted;
|
|
1405
1452
|
};
|
|
1406
|
-
protoOf(PlayerConnectionState).
|
|
1453
|
+
protoOf(PlayerConnectionState).z28 = function () {
|
|
1407
1454
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1408
1455
|
};
|
|
1409
|
-
protoOf(PlayerConnectionState).
|
|
1456
|
+
protoOf(PlayerConnectionState).a29 = function () {
|
|
1410
1457
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1411
1458
|
};
|
|
1412
|
-
protoOf(PlayerConnectionState).
|
|
1459
|
+
protoOf(PlayerConnectionState).b29 = function () {
|
|
1413
1460
|
return this.isLostConnection;
|
|
1414
1461
|
};
|
|
1415
1462
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1436,8 +1483,8 @@
|
|
|
1436
1483
|
PlayerConnectionState_initEntries();
|
|
1437
1484
|
return PlayerConnectionState_DELETED_instance;
|
|
1438
1485
|
}
|
|
1439
|
-
function _get_$
|
|
1440
|
-
return $this.
|
|
1486
|
+
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1487
|
+
return $this.c29_1.a2();
|
|
1441
1488
|
}
|
|
1442
1489
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1443
1490
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1448,24 +1495,24 @@
|
|
|
1448
1495
|
function values_2() {
|
|
1449
1496
|
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
1450
1497
|
}
|
|
1451
|
-
function
|
|
1452
|
-
|
|
1498
|
+
function Companion_7() {
|
|
1499
|
+
Companion_instance_7 = this;
|
|
1453
1500
|
var tmp = this;
|
|
1454
1501
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1455
|
-
tmp.
|
|
1502
|
+
tmp.c29_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1456
1503
|
}
|
|
1457
|
-
protoOf(
|
|
1458
|
-
return _get_$
|
|
1504
|
+
protoOf(Companion_7).z17 = function () {
|
|
1505
|
+
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1459
1506
|
};
|
|
1460
|
-
protoOf(
|
|
1461
|
-
return this.
|
|
1507
|
+
protoOf(Companion_7).iw = function (typeParamsSerializers) {
|
|
1508
|
+
return this.z17();
|
|
1462
1509
|
};
|
|
1463
|
-
var
|
|
1464
|
-
function
|
|
1510
|
+
var Companion_instance_7;
|
|
1511
|
+
function Companion_getInstance_9() {
|
|
1465
1512
|
PlayerWaitingState_initEntries();
|
|
1466
|
-
if (
|
|
1467
|
-
new
|
|
1468
|
-
return
|
|
1513
|
+
if (Companion_instance_7 == null)
|
|
1514
|
+
new Companion_7();
|
|
1515
|
+
return Companion_instance_7;
|
|
1469
1516
|
}
|
|
1470
1517
|
var PlayerWaitingState_entriesInitialized;
|
|
1471
1518
|
function PlayerWaitingState_initEntries() {
|
|
@@ -1475,29 +1522,29 @@
|
|
|
1475
1522
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
1476
1523
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
1477
1524
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
1478
|
-
|
|
1525
|
+
Companion_getInstance_9();
|
|
1479
1526
|
}
|
|
1480
1527
|
function PlayerWaitingState(name, ordinal) {
|
|
1481
1528
|
Enum.call(this, name, ordinal);
|
|
1482
1529
|
}
|
|
1483
|
-
protoOf(PlayerWaitingState).
|
|
1484
|
-
return this.
|
|
1530
|
+
protoOf(PlayerWaitingState).d28 = function () {
|
|
1531
|
+
return this.f29() || this.g29();
|
|
1485
1532
|
};
|
|
1486
|
-
protoOf(PlayerWaitingState).
|
|
1533
|
+
protoOf(PlayerWaitingState).f29 = function () {
|
|
1487
1534
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1488
1535
|
};
|
|
1489
|
-
protoOf(PlayerWaitingState).
|
|
1536
|
+
protoOf(PlayerWaitingState).g29 = function () {
|
|
1490
1537
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1491
1538
|
};
|
|
1492
|
-
function
|
|
1539
|
+
function Companion_8() {
|
|
1493
1540
|
}
|
|
1494
|
-
protoOf(
|
|
1541
|
+
protoOf(Companion_8).h29 = function (connection) {
|
|
1495
1542
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1496
1543
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1497
1544
|
};
|
|
1498
|
-
var
|
|
1499
|
-
function
|
|
1500
|
-
return
|
|
1545
|
+
var Companion_instance_8;
|
|
1546
|
+
function Companion_getInstance_10() {
|
|
1547
|
+
return Companion_instance_8;
|
|
1501
1548
|
}
|
|
1502
1549
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
1503
1550
|
PlayerWaitingState_initEntries();
|
|
@@ -1514,17 +1561,17 @@
|
|
|
1514
1561
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1515
1562
|
tag = tag === VOID ? null : tag;
|
|
1516
1563
|
connection = connection === VOID ? null : connection;
|
|
1517
|
-
this.
|
|
1518
|
-
this.
|
|
1519
|
-
this.
|
|
1520
|
-
this.
|
|
1521
|
-
this.
|
|
1522
|
-
this.
|
|
1523
|
-
this.
|
|
1524
|
-
}
|
|
1525
|
-
protoOf(PlayerState).
|
|
1564
|
+
this.w27_1 = startFromTime;
|
|
1565
|
+
this.x27_1 = playerTurnTimeout;
|
|
1566
|
+
this.y27_1 = waitPlayerUntilTime;
|
|
1567
|
+
this.z27_1 = state;
|
|
1568
|
+
this.a28_1 = ready;
|
|
1569
|
+
this.b28_1 = tag;
|
|
1570
|
+
this.c28_1 = connection;
|
|
1571
|
+
}
|
|
1572
|
+
protoOf(PlayerState).i29 = function () {
|
|
1526
1573
|
// Inline function 'kotlin.requireNotNull' call
|
|
1527
|
-
var value = this.
|
|
1574
|
+
var value = this.c28_1;
|
|
1528
1575
|
// Inline function 'kotlin.contracts.contract' call
|
|
1529
1576
|
var tmp$ret$1;
|
|
1530
1577
|
$l$block: {
|
|
@@ -1543,67 +1590,67 @@
|
|
|
1543
1590
|
};
|
|
1544
1591
|
protoOf(PlayerState).toString = function () {
|
|
1545
1592
|
// Inline function 'kotlin.takeIf' call
|
|
1546
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1593
|
+
var this_0 = 'startFromTime=' + toString(this.w27_1);
|
|
1547
1594
|
// Inline function 'kotlin.contracts.contract' call
|
|
1548
1595
|
var tmp;
|
|
1549
1596
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1550
|
-
if (!(this.
|
|
1597
|
+
if (!(this.w27_1 == null)) {
|
|
1551
1598
|
tmp = this_0;
|
|
1552
1599
|
} else {
|
|
1553
1600
|
tmp = null;
|
|
1554
1601
|
}
|
|
1555
1602
|
var tmp_0 = tmp;
|
|
1556
1603
|
// Inline function 'kotlin.takeIf' call
|
|
1557
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1604
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.x27_1);
|
|
1558
1605
|
// Inline function 'kotlin.contracts.contract' call
|
|
1559
1606
|
var tmp_1;
|
|
1560
1607
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1561
|
-
if (!(this.
|
|
1608
|
+
if (!(this.x27_1 == null)) {
|
|
1562
1609
|
tmp_1 = this_1;
|
|
1563
1610
|
} else {
|
|
1564
1611
|
tmp_1 = null;
|
|
1565
1612
|
}
|
|
1566
1613
|
var tmp_2 = tmp_1;
|
|
1567
1614
|
// Inline function 'kotlin.takeIf' call
|
|
1568
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1615
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.y27_1);
|
|
1569
1616
|
// Inline function 'kotlin.contracts.contract' call
|
|
1570
1617
|
var tmp_3;
|
|
1571
1618
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1572
|
-
if (!(this.
|
|
1619
|
+
if (!(this.y27_1 == null)) {
|
|
1573
1620
|
tmp_3 = this_2;
|
|
1574
1621
|
} else {
|
|
1575
1622
|
tmp_3 = null;
|
|
1576
1623
|
}
|
|
1577
1624
|
var tmp_4 = tmp_3;
|
|
1578
|
-
var tmp_5 = 'state=' + this.
|
|
1625
|
+
var tmp_5 = 'state=' + this.z27_1.toString();
|
|
1579
1626
|
// Inline function 'kotlin.takeIf' call
|
|
1580
|
-
var this_3 = 'ready=' + this.
|
|
1627
|
+
var this_3 = 'ready=' + this.a28_1;
|
|
1581
1628
|
// Inline function 'kotlin.contracts.contract' call
|
|
1582
1629
|
var tmp_6;
|
|
1583
1630
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1584
|
-
if (this.
|
|
1631
|
+
if (this.a28_1) {
|
|
1585
1632
|
tmp_6 = this_3;
|
|
1586
1633
|
} else {
|
|
1587
1634
|
tmp_6 = null;
|
|
1588
1635
|
}
|
|
1589
1636
|
var tmp_7 = tmp_6;
|
|
1590
1637
|
// Inline function 'kotlin.takeIf' call
|
|
1591
|
-
var this_4 = 'tag=' + this.
|
|
1638
|
+
var this_4 = 'tag=' + this.b28_1;
|
|
1592
1639
|
// Inline function 'kotlin.contracts.contract' call
|
|
1593
1640
|
var tmp_8;
|
|
1594
1641
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1595
|
-
if (!(this.
|
|
1642
|
+
if (!(this.b28_1 == null)) {
|
|
1596
1643
|
tmp_8 = this_4;
|
|
1597
1644
|
} else {
|
|
1598
1645
|
tmp_8 = null;
|
|
1599
1646
|
}
|
|
1600
1647
|
var tmp_9 = tmp_8;
|
|
1601
1648
|
// Inline function 'kotlin.takeIf' call
|
|
1602
|
-
var this_5 = 'connection=' + toString(this.
|
|
1649
|
+
var this_5 = 'connection=' + toString(this.c28_1);
|
|
1603
1650
|
// Inline function 'kotlin.contracts.contract' call
|
|
1604
1651
|
var tmp_10;
|
|
1605
1652
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1606
|
-
if (!(this.
|
|
1653
|
+
if (!(this.c28_1 == null)) {
|
|
1607
1654
|
tmp_10 = this_5;
|
|
1608
1655
|
} else {
|
|
1609
1656
|
tmp_10 = null;
|
|
@@ -1611,17 +1658,17 @@
|
|
|
1611
1658
|
var tmp$ret$11 = tmp_10;
|
|
1612
1659
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1613
1660
|
};
|
|
1614
|
-
protoOf(PlayerState).
|
|
1615
|
-
return this.
|
|
1661
|
+
protoOf(PlayerState).d28 = function () {
|
|
1662
|
+
return this.z27_1.d28();
|
|
1616
1663
|
};
|
|
1617
1664
|
protoOf(PlayerState).hashCode = function () {
|
|
1618
|
-
var result = this.
|
|
1619
|
-
result = imul(result, 31) + (this.
|
|
1620
|
-
result = imul(result, 31) + (this.
|
|
1621
|
-
result = imul(result, 31) + this.
|
|
1622
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1623
|
-
result = imul(result, 31) + (this.
|
|
1624
|
-
result = imul(result, 31) + (this.
|
|
1665
|
+
var result = this.w27_1 == null ? 0 : this.w27_1.hashCode();
|
|
1666
|
+
result = imul(result, 31) + (this.x27_1 == null ? 0 : this.x27_1.hashCode()) | 0;
|
|
1667
|
+
result = imul(result, 31) + (this.y27_1 == null ? 0 : this.y27_1.hashCode()) | 0;
|
|
1668
|
+
result = imul(result, 31) + this.z27_1.hashCode() | 0;
|
|
1669
|
+
result = imul(result, 31) + getBooleanHashCode(this.a28_1) | 0;
|
|
1670
|
+
result = imul(result, 31) + (this.b28_1 == null ? 0 : getStringHashCode(this.b28_1)) | 0;
|
|
1671
|
+
result = imul(result, 31) + (this.c28_1 == null ? 0 : this.c28_1.hashCode()) | 0;
|
|
1625
1672
|
return result;
|
|
1626
1673
|
};
|
|
1627
1674
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1630,30 +1677,30 @@
|
|
|
1630
1677
|
if (!(other instanceof PlayerState))
|
|
1631
1678
|
return false;
|
|
1632
1679
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1633
|
-
if (!equals(this.
|
|
1680
|
+
if (!equals(this.w27_1, tmp0_other_with_cast.w27_1))
|
|
1634
1681
|
return false;
|
|
1635
|
-
if (!equals(this.
|
|
1682
|
+
if (!equals(this.x27_1, tmp0_other_with_cast.x27_1))
|
|
1636
1683
|
return false;
|
|
1637
|
-
if (!equals(this.
|
|
1684
|
+
if (!equals(this.y27_1, tmp0_other_with_cast.y27_1))
|
|
1638
1685
|
return false;
|
|
1639
|
-
if (!this.
|
|
1686
|
+
if (!this.z27_1.equals(tmp0_other_with_cast.z27_1))
|
|
1640
1687
|
return false;
|
|
1641
|
-
if (!(this.
|
|
1688
|
+
if (!(this.a28_1 === tmp0_other_with_cast.a28_1))
|
|
1642
1689
|
return false;
|
|
1643
|
-
if (!(this.
|
|
1690
|
+
if (!(this.b28_1 == tmp0_other_with_cast.b28_1))
|
|
1644
1691
|
return false;
|
|
1645
|
-
if (!equals(this.
|
|
1692
|
+
if (!equals(this.c28_1, tmp0_other_with_cast.c28_1))
|
|
1646
1693
|
return false;
|
|
1647
1694
|
return true;
|
|
1648
1695
|
};
|
|
1649
1696
|
function Team(playerIds) {
|
|
1650
|
-
this.
|
|
1697
|
+
this.j29_1 = playerIds;
|
|
1651
1698
|
}
|
|
1652
1699
|
protoOf(Team).toString = function () {
|
|
1653
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1700
|
+
return 'Team(playerIds=' + toString_0(this.j29_1) + ')';
|
|
1654
1701
|
};
|
|
1655
1702
|
protoOf(Team).hashCode = function () {
|
|
1656
|
-
return hashCode(this.
|
|
1703
|
+
return hashCode(this.j29_1);
|
|
1657
1704
|
};
|
|
1658
1705
|
protoOf(Team).equals = function (other) {
|
|
1659
1706
|
if (this === other)
|
|
@@ -1661,12 +1708,12 @@
|
|
|
1661
1708
|
if (!(other instanceof Team))
|
|
1662
1709
|
return false;
|
|
1663
1710
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1664
|
-
if (!equals(this.
|
|
1711
|
+
if (!equals(this.j29_1, tmp0_other_with_cast.j29_1))
|
|
1665
1712
|
return false;
|
|
1666
1713
|
return true;
|
|
1667
1714
|
};
|
|
1668
|
-
function _get_$
|
|
1669
|
-
return $this.
|
|
1715
|
+
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1716
|
+
return $this.k29_1.a2();
|
|
1670
1717
|
}
|
|
1671
1718
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1672
1719
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1675,11 +1722,11 @@
|
|
|
1675
1722
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1676
1723
|
var tmp_0 = [getKClass(GameErrorReasonDto), getKClass(GameFinishedReasonDto), getKClass(PlayerExitReasonDto), getKClass(PlayerLostConnectionReasonDto), getKClass(PlayerTimeoutReasonDto), getKClass(ProcessingReasonDto), getKClass(WaitingForConnectionReasonDto)];
|
|
1677
1724
|
// Inline function 'kotlin.arrayOf' call
|
|
1678
|
-
var tmp_1 = $
|
|
1679
|
-
var tmp_2 = $
|
|
1680
|
-
var tmp_3 = $
|
|
1681
|
-
var tmp_4 = $
|
|
1682
|
-
var tmp_5 = $
|
|
1725
|
+
var tmp_1 = $serializer_getInstance_1();
|
|
1726
|
+
var tmp_2 = $serializer_getInstance_2();
|
|
1727
|
+
var tmp_3 = $serializer_getInstance_3();
|
|
1728
|
+
var tmp_4 = $serializer_getInstance_4();
|
|
1729
|
+
var tmp_5 = $serializer_getInstance_5();
|
|
1683
1730
|
var tmp_6 = ProcessingReasonDto_getInstance();
|
|
1684
1731
|
// Inline function 'kotlin.arrayOf' call
|
|
1685
1732
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -1700,32 +1747,32 @@
|
|
|
1700
1747
|
var tmp$ret$14 = [];
|
|
1701
1748
|
return SealedClassSerializer_init_$Create$('com.logic.data.models.serializable.TerminationGameReasonDto', tmp, tmp_0, tmp_9, tmp$ret$14);
|
|
1702
1749
|
}
|
|
1703
|
-
function
|
|
1704
|
-
|
|
1750
|
+
function Companion_9() {
|
|
1751
|
+
Companion_instance_9 = this;
|
|
1705
1752
|
var tmp = this;
|
|
1706
1753
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1707
|
-
tmp.
|
|
1754
|
+
tmp.k29_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1708
1755
|
}
|
|
1709
|
-
protoOf(
|
|
1710
|
-
return _get_$
|
|
1756
|
+
protoOf(Companion_9).z17 = function () {
|
|
1757
|
+
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1711
1758
|
};
|
|
1712
|
-
protoOf(
|
|
1713
|
-
return this.
|
|
1759
|
+
protoOf(Companion_9).iw = function (typeParamsSerializers) {
|
|
1760
|
+
return this.z17();
|
|
1714
1761
|
};
|
|
1715
|
-
var
|
|
1716
|
-
function
|
|
1717
|
-
if (
|
|
1718
|
-
new
|
|
1719
|
-
return
|
|
1762
|
+
var Companion_instance_9;
|
|
1763
|
+
function Companion_getInstance_11() {
|
|
1764
|
+
if (Companion_instance_9 == null)
|
|
1765
|
+
new Companion_9();
|
|
1766
|
+
return Companion_instance_9;
|
|
1720
1767
|
}
|
|
1721
1768
|
function TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this) {
|
|
1722
1769
|
return $this;
|
|
1723
1770
|
}
|
|
1724
1771
|
function TerminationGameReasonDto() {
|
|
1725
|
-
|
|
1772
|
+
Companion_getInstance_11();
|
|
1726
1773
|
}
|
|
1727
|
-
function _get_$
|
|
1728
|
-
return $this.
|
|
1774
|
+
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1775
|
+
return $this.l29_1.a2();
|
|
1729
1776
|
}
|
|
1730
1777
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1731
1778
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1740,13 +1787,13 @@
|
|
|
1740
1787
|
TerminationGameReasonDto.call(this);
|
|
1741
1788
|
var tmp = this;
|
|
1742
1789
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1743
|
-
tmp.
|
|
1790
|
+
tmp.l29_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1744
1791
|
}
|
|
1745
|
-
protoOf(ProcessingReasonDto).
|
|
1746
|
-
return _get_$
|
|
1792
|
+
protoOf(ProcessingReasonDto).z17 = function () {
|
|
1793
|
+
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1747
1794
|
};
|
|
1748
|
-
protoOf(ProcessingReasonDto).
|
|
1749
|
-
return this.
|
|
1795
|
+
protoOf(ProcessingReasonDto).iw = function (typeParamsSerializers) {
|
|
1796
|
+
return this.z17();
|
|
1750
1797
|
};
|
|
1751
1798
|
protoOf(ProcessingReasonDto).toString = function () {
|
|
1752
1799
|
return 'ProcessingReasonDto';
|
|
@@ -1768,73 +1815,73 @@
|
|
|
1768
1815
|
new ProcessingReasonDto();
|
|
1769
1816
|
return ProcessingReasonDto_instance;
|
|
1770
1817
|
}
|
|
1771
|
-
function
|
|
1818
|
+
function Companion_10() {
|
|
1772
1819
|
}
|
|
1773
|
-
var
|
|
1774
|
-
function
|
|
1775
|
-
return
|
|
1820
|
+
var Companion_instance_10;
|
|
1821
|
+
function Companion_getInstance_12() {
|
|
1822
|
+
return Companion_instance_10;
|
|
1776
1823
|
}
|
|
1777
|
-
function $
|
|
1778
|
-
$
|
|
1824
|
+
function $serializer_1() {
|
|
1825
|
+
$serializer_instance_1 = this;
|
|
1779
1826
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1780
|
-
tmp0_serialDesc.
|
|
1781
|
-
this.
|
|
1827
|
+
tmp0_serialDesc.iv('reason', false);
|
|
1828
|
+
this.m29_1 = tmp0_serialDesc;
|
|
1782
1829
|
}
|
|
1783
|
-
protoOf($
|
|
1784
|
-
var tmp0_desc = this.
|
|
1785
|
-
var tmp1_output = encoder.
|
|
1786
|
-
tmp1_output.
|
|
1787
|
-
tmp1_output.
|
|
1830
|
+
protoOf($serializer_1).n29 = function (encoder, value) {
|
|
1831
|
+
var tmp0_desc = this.m29_1;
|
|
1832
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1833
|
+
tmp1_output.hp(tmp0_desc, 0, value.reason);
|
|
1834
|
+
tmp1_output.tn(tmp0_desc);
|
|
1788
1835
|
};
|
|
1789
|
-
protoOf($
|
|
1790
|
-
return this.
|
|
1836
|
+
protoOf($serializer_1).kk = function (encoder, value) {
|
|
1837
|
+
return this.n29(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1791
1838
|
};
|
|
1792
|
-
protoOf($
|
|
1793
|
-
var tmp0_desc = this.
|
|
1839
|
+
protoOf($serializer_1).lk = function (decoder) {
|
|
1840
|
+
var tmp0_desc = this.m29_1;
|
|
1794
1841
|
var tmp1_flag = true;
|
|
1795
1842
|
var tmp2_index = 0;
|
|
1796
1843
|
var tmp3_bitMask0 = 0;
|
|
1797
1844
|
var tmp4_local0 = null;
|
|
1798
|
-
var tmp5_input = decoder.
|
|
1799
|
-
if (tmp5_input.
|
|
1800
|
-
tmp4_local0 = tmp5_input.
|
|
1845
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
1846
|
+
if (tmp5_input.io()) {
|
|
1847
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1801
1848
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1802
1849
|
} else
|
|
1803
1850
|
while (tmp1_flag) {
|
|
1804
|
-
tmp2_index = tmp5_input.
|
|
1851
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
1805
1852
|
switch (tmp2_index) {
|
|
1806
1853
|
case -1:
|
|
1807
1854
|
tmp1_flag = false;
|
|
1808
1855
|
break;
|
|
1809
1856
|
case 0:
|
|
1810
|
-
tmp4_local0 = tmp5_input.
|
|
1857
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1811
1858
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1812
1859
|
break;
|
|
1813
1860
|
default:
|
|
1814
1861
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1815
1862
|
}
|
|
1816
1863
|
}
|
|
1817
|
-
tmp5_input.
|
|
1864
|
+
tmp5_input.tn(tmp0_desc);
|
|
1818
1865
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1819
1866
|
};
|
|
1820
|
-
protoOf($
|
|
1821
|
-
return this.
|
|
1867
|
+
protoOf($serializer_1).jk = function () {
|
|
1868
|
+
return this.m29_1;
|
|
1822
1869
|
};
|
|
1823
|
-
protoOf($
|
|
1870
|
+
protoOf($serializer_1).xv = function () {
|
|
1824
1871
|
// Inline function 'kotlin.arrayOf' call
|
|
1825
1872
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1826
1873
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1827
1874
|
return [StringSerializer_getInstance()];
|
|
1828
1875
|
};
|
|
1829
|
-
var $
|
|
1830
|
-
function $
|
|
1831
|
-
if ($
|
|
1832
|
-
new $
|
|
1833
|
-
return $
|
|
1876
|
+
var $serializer_instance_1;
|
|
1877
|
+
function $serializer_getInstance_1() {
|
|
1878
|
+
if ($serializer_instance_1 == null)
|
|
1879
|
+
new $serializer_1();
|
|
1880
|
+
return $serializer_instance_1;
|
|
1834
1881
|
}
|
|
1835
1882
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1836
1883
|
if (!(1 === (1 & seen0))) {
|
|
1837
|
-
throwMissingFieldException(seen0, 1, $
|
|
1884
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().m29_1);
|
|
1838
1885
|
}
|
|
1839
1886
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1840
1887
|
$this.reason = reason;
|
|
@@ -1847,7 +1894,7 @@
|
|
|
1847
1894
|
TerminationGameReasonDto.call(this);
|
|
1848
1895
|
this.reason = reason;
|
|
1849
1896
|
}
|
|
1850
|
-
protoOf(GameErrorReasonDto).
|
|
1897
|
+
protoOf(GameErrorReasonDto).d27 = function () {
|
|
1851
1898
|
return this.reason;
|
|
1852
1899
|
};
|
|
1853
1900
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -1866,76 +1913,76 @@
|
|
|
1866
1913
|
return false;
|
|
1867
1914
|
return true;
|
|
1868
1915
|
};
|
|
1869
|
-
function
|
|
1916
|
+
function Companion_11() {
|
|
1870
1917
|
}
|
|
1871
|
-
var
|
|
1872
|
-
function
|
|
1873
|
-
return
|
|
1918
|
+
var Companion_instance_11;
|
|
1919
|
+
function Companion_getInstance_13() {
|
|
1920
|
+
return Companion_instance_11;
|
|
1874
1921
|
}
|
|
1875
|
-
function $
|
|
1876
|
-
$
|
|
1922
|
+
function $serializer_2() {
|
|
1923
|
+
$serializer_instance_2 = this;
|
|
1877
1924
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1878
|
-
tmp0_serialDesc.
|
|
1879
|
-
this.
|
|
1925
|
+
tmp0_serialDesc.iv('reason', false);
|
|
1926
|
+
this.o29_1 = tmp0_serialDesc;
|
|
1880
1927
|
}
|
|
1881
|
-
protoOf($
|
|
1882
|
-
var tmp0_desc = this.
|
|
1883
|
-
var tmp1_output = encoder.
|
|
1884
|
-
tmp1_output.
|
|
1885
|
-
tmp1_output.
|
|
1928
|
+
protoOf($serializer_2).p29 = function (encoder, value) {
|
|
1929
|
+
var tmp0_desc = this.o29_1;
|
|
1930
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1931
|
+
tmp1_output.hp(tmp0_desc, 0, value.q29_1);
|
|
1932
|
+
tmp1_output.tn(tmp0_desc);
|
|
1886
1933
|
};
|
|
1887
|
-
protoOf($
|
|
1888
|
-
return this.
|
|
1934
|
+
protoOf($serializer_2).kk = function (encoder, value) {
|
|
1935
|
+
return this.p29(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1889
1936
|
};
|
|
1890
|
-
protoOf($
|
|
1891
|
-
var tmp0_desc = this.
|
|
1937
|
+
protoOf($serializer_2).lk = function (decoder) {
|
|
1938
|
+
var tmp0_desc = this.o29_1;
|
|
1892
1939
|
var tmp1_flag = true;
|
|
1893
1940
|
var tmp2_index = 0;
|
|
1894
1941
|
var tmp3_bitMask0 = 0;
|
|
1895
1942
|
var tmp4_local0 = null;
|
|
1896
|
-
var tmp5_input = decoder.
|
|
1897
|
-
if (tmp5_input.
|
|
1898
|
-
tmp4_local0 = tmp5_input.
|
|
1943
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
1944
|
+
if (tmp5_input.io()) {
|
|
1945
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1899
1946
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1900
1947
|
} else
|
|
1901
1948
|
while (tmp1_flag) {
|
|
1902
|
-
tmp2_index = tmp5_input.
|
|
1949
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
1903
1950
|
switch (tmp2_index) {
|
|
1904
1951
|
case -1:
|
|
1905
1952
|
tmp1_flag = false;
|
|
1906
1953
|
break;
|
|
1907
1954
|
case 0:
|
|
1908
|
-
tmp4_local0 = tmp5_input.
|
|
1955
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1909
1956
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1910
1957
|
break;
|
|
1911
1958
|
default:
|
|
1912
1959
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1913
1960
|
}
|
|
1914
1961
|
}
|
|
1915
|
-
tmp5_input.
|
|
1962
|
+
tmp5_input.tn(tmp0_desc);
|
|
1916
1963
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1917
1964
|
};
|
|
1918
|
-
protoOf($
|
|
1919
|
-
return this.
|
|
1965
|
+
protoOf($serializer_2).jk = function () {
|
|
1966
|
+
return this.o29_1;
|
|
1920
1967
|
};
|
|
1921
|
-
protoOf($
|
|
1968
|
+
protoOf($serializer_2).xv = function () {
|
|
1922
1969
|
// Inline function 'kotlin.arrayOf' call
|
|
1923
1970
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1924
1971
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1925
1972
|
return [StringSerializer_getInstance()];
|
|
1926
1973
|
};
|
|
1927
|
-
var $
|
|
1928
|
-
function $
|
|
1929
|
-
if ($
|
|
1930
|
-
new $
|
|
1931
|
-
return $
|
|
1974
|
+
var $serializer_instance_2;
|
|
1975
|
+
function $serializer_getInstance_2() {
|
|
1976
|
+
if ($serializer_instance_2 == null)
|
|
1977
|
+
new $serializer_2();
|
|
1978
|
+
return $serializer_instance_2;
|
|
1932
1979
|
}
|
|
1933
1980
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1934
1981
|
if (!(1 === (1 & seen0))) {
|
|
1935
|
-
throwMissingFieldException(seen0, 1, $
|
|
1982
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().o29_1);
|
|
1936
1983
|
}
|
|
1937
1984
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1938
|
-
$this.
|
|
1985
|
+
$this.q29_1 = reason;
|
|
1939
1986
|
return $this;
|
|
1940
1987
|
}
|
|
1941
1988
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1943,13 +1990,13 @@
|
|
|
1943
1990
|
}
|
|
1944
1991
|
function GameFinishedReasonDto(reason) {
|
|
1945
1992
|
TerminationGameReasonDto.call(this);
|
|
1946
|
-
this.
|
|
1993
|
+
this.q29_1 = reason;
|
|
1947
1994
|
}
|
|
1948
1995
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
1949
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
1996
|
+
return 'GameFinishedReasonDto(reason=' + this.q29_1 + ')';
|
|
1950
1997
|
};
|
|
1951
1998
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
1952
|
-
return getStringHashCode(this.
|
|
1999
|
+
return getStringHashCode(this.q29_1);
|
|
1953
2000
|
};
|
|
1954
2001
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
1955
2002
|
if (this === other)
|
|
@@ -1957,80 +2004,80 @@
|
|
|
1957
2004
|
if (!(other instanceof GameFinishedReasonDto))
|
|
1958
2005
|
return false;
|
|
1959
2006
|
var tmp0_other_with_cast = other instanceof GameFinishedReasonDto ? other : THROW_CCE();
|
|
1960
|
-
if (!(this.
|
|
2007
|
+
if (!(this.q29_1 === tmp0_other_with_cast.q29_1))
|
|
1961
2008
|
return false;
|
|
1962
2009
|
return true;
|
|
1963
2010
|
};
|
|
1964
|
-
function
|
|
2011
|
+
function Companion_12() {
|
|
1965
2012
|
}
|
|
1966
|
-
var
|
|
1967
|
-
function
|
|
1968
|
-
return
|
|
2013
|
+
var Companion_instance_12;
|
|
2014
|
+
function Companion_getInstance_14() {
|
|
2015
|
+
return Companion_instance_12;
|
|
1969
2016
|
}
|
|
1970
|
-
function $
|
|
1971
|
-
$
|
|
2017
|
+
function $serializer_3() {
|
|
2018
|
+
$serializer_instance_3 = this;
|
|
1972
2019
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
1973
|
-
tmp0_serialDesc.
|
|
1974
|
-
this.
|
|
2020
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
2021
|
+
this.r29_1 = tmp0_serialDesc;
|
|
1975
2022
|
}
|
|
1976
|
-
protoOf($
|
|
1977
|
-
var tmp0_desc = this.
|
|
1978
|
-
var tmp1_output = encoder.
|
|
1979
|
-
tmp1_output.
|
|
1980
|
-
tmp1_output.
|
|
2023
|
+
protoOf($serializer_3).s29 = function (encoder, value) {
|
|
2024
|
+
var tmp0_desc = this.r29_1;
|
|
2025
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2026
|
+
tmp1_output.hp(tmp0_desc, 0, value.t29_1);
|
|
2027
|
+
tmp1_output.tn(tmp0_desc);
|
|
1981
2028
|
};
|
|
1982
|
-
protoOf($
|
|
1983
|
-
return this.
|
|
2029
|
+
protoOf($serializer_3).kk = function (encoder, value) {
|
|
2030
|
+
return this.s29(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
1984
2031
|
};
|
|
1985
|
-
protoOf($
|
|
1986
|
-
var tmp0_desc = this.
|
|
2032
|
+
protoOf($serializer_3).lk = function (decoder) {
|
|
2033
|
+
var tmp0_desc = this.r29_1;
|
|
1987
2034
|
var tmp1_flag = true;
|
|
1988
2035
|
var tmp2_index = 0;
|
|
1989
2036
|
var tmp3_bitMask0 = 0;
|
|
1990
2037
|
var tmp4_local0 = null;
|
|
1991
|
-
var tmp5_input = decoder.
|
|
1992
|
-
if (tmp5_input.
|
|
1993
|
-
tmp4_local0 = tmp5_input.
|
|
2038
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
2039
|
+
if (tmp5_input.io()) {
|
|
2040
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1994
2041
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1995
2042
|
} else
|
|
1996
2043
|
while (tmp1_flag) {
|
|
1997
|
-
tmp2_index = tmp5_input.
|
|
2044
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
1998
2045
|
switch (tmp2_index) {
|
|
1999
2046
|
case -1:
|
|
2000
2047
|
tmp1_flag = false;
|
|
2001
2048
|
break;
|
|
2002
2049
|
case 0:
|
|
2003
|
-
tmp4_local0 = tmp5_input.
|
|
2050
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
2004
2051
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2005
2052
|
break;
|
|
2006
2053
|
default:
|
|
2007
2054
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2008
2055
|
}
|
|
2009
2056
|
}
|
|
2010
|
-
tmp5_input.
|
|
2057
|
+
tmp5_input.tn(tmp0_desc);
|
|
2011
2058
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2012
2059
|
};
|
|
2013
|
-
protoOf($
|
|
2014
|
-
return this.
|
|
2060
|
+
protoOf($serializer_3).jk = function () {
|
|
2061
|
+
return this.r29_1;
|
|
2015
2062
|
};
|
|
2016
|
-
protoOf($
|
|
2063
|
+
protoOf($serializer_3).xv = function () {
|
|
2017
2064
|
// Inline function 'kotlin.arrayOf' call
|
|
2018
2065
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2019
2066
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2020
2067
|
return [StringSerializer_getInstance()];
|
|
2021
2068
|
};
|
|
2022
|
-
var $
|
|
2023
|
-
function $
|
|
2024
|
-
if ($
|
|
2025
|
-
new $
|
|
2026
|
-
return $
|
|
2069
|
+
var $serializer_instance_3;
|
|
2070
|
+
function $serializer_getInstance_3() {
|
|
2071
|
+
if ($serializer_instance_3 == null)
|
|
2072
|
+
new $serializer_3();
|
|
2073
|
+
return $serializer_instance_3;
|
|
2027
2074
|
}
|
|
2028
2075
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2029
2076
|
if (!(1 === (1 & seen0))) {
|
|
2030
|
-
throwMissingFieldException(seen0, 1, $
|
|
2077
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().r29_1);
|
|
2031
2078
|
}
|
|
2032
2079
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2033
|
-
$this.
|
|
2080
|
+
$this.t29_1 = playerId;
|
|
2034
2081
|
return $this;
|
|
2035
2082
|
}
|
|
2036
2083
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2038,13 +2085,13 @@
|
|
|
2038
2085
|
}
|
|
2039
2086
|
function PlayerExitReasonDto(playerId) {
|
|
2040
2087
|
TerminationGameReasonDto.call(this);
|
|
2041
|
-
this.
|
|
2088
|
+
this.t29_1 = playerId;
|
|
2042
2089
|
}
|
|
2043
2090
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2044
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2091
|
+
return 'PlayerExitReasonDto(playerId=' + this.t29_1 + ')';
|
|
2045
2092
|
};
|
|
2046
2093
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2047
|
-
return getStringHashCode(this.
|
|
2094
|
+
return getStringHashCode(this.t29_1);
|
|
2048
2095
|
};
|
|
2049
2096
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2050
2097
|
if (this === other)
|
|
@@ -2052,90 +2099,90 @@
|
|
|
2052
2099
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2053
2100
|
return false;
|
|
2054
2101
|
var tmp0_other_with_cast = other instanceof PlayerExitReasonDto ? other : THROW_CCE();
|
|
2055
|
-
if (!(this.
|
|
2102
|
+
if (!(this.t29_1 === tmp0_other_with_cast.t29_1))
|
|
2056
2103
|
return false;
|
|
2057
2104
|
return true;
|
|
2058
2105
|
};
|
|
2059
|
-
function
|
|
2106
|
+
function Companion_13() {
|
|
2060
2107
|
}
|
|
2061
|
-
var
|
|
2062
|
-
function
|
|
2063
|
-
return
|
|
2108
|
+
var Companion_instance_13;
|
|
2109
|
+
function Companion_getInstance_15() {
|
|
2110
|
+
return Companion_instance_13;
|
|
2064
2111
|
}
|
|
2065
|
-
function $
|
|
2066
|
-
$
|
|
2112
|
+
function $serializer_4() {
|
|
2113
|
+
$serializer_instance_4 = this;
|
|
2067
2114
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2068
|
-
tmp0_serialDesc.
|
|
2069
|
-
tmp0_serialDesc.
|
|
2070
|
-
this.
|
|
2071
|
-
}
|
|
2072
|
-
protoOf($
|
|
2073
|
-
var tmp0_desc = this.
|
|
2074
|
-
var tmp1_output = encoder.
|
|
2075
|
-
tmp1_output.
|
|
2076
|
-
tmp1_output.
|
|
2077
|
-
tmp1_output.
|
|
2078
|
-
};
|
|
2079
|
-
protoOf($
|
|
2080
|
-
return this.
|
|
2081
|
-
};
|
|
2082
|
-
protoOf($
|
|
2083
|
-
var tmp0_desc = this.
|
|
2115
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
2116
|
+
tmp0_serialDesc.iv('tag', false);
|
|
2117
|
+
this.u29_1 = tmp0_serialDesc;
|
|
2118
|
+
}
|
|
2119
|
+
protoOf($serializer_4).v29 = function (encoder, value) {
|
|
2120
|
+
var tmp0_desc = this.u29_1;
|
|
2121
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2122
|
+
tmp1_output.hp(tmp0_desc, 0, value.w29_1);
|
|
2123
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.x29_1);
|
|
2124
|
+
tmp1_output.tn(tmp0_desc);
|
|
2125
|
+
};
|
|
2126
|
+
protoOf($serializer_4).kk = function (encoder, value) {
|
|
2127
|
+
return this.v29(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2128
|
+
};
|
|
2129
|
+
protoOf($serializer_4).lk = function (decoder) {
|
|
2130
|
+
var tmp0_desc = this.u29_1;
|
|
2084
2131
|
var tmp1_flag = true;
|
|
2085
2132
|
var tmp2_index = 0;
|
|
2086
2133
|
var tmp3_bitMask0 = 0;
|
|
2087
2134
|
var tmp4_local0 = null;
|
|
2088
2135
|
var tmp5_local1 = null;
|
|
2089
|
-
var tmp6_input = decoder.
|
|
2090
|
-
if (tmp6_input.
|
|
2091
|
-
tmp4_local0 = tmp6_input.
|
|
2136
|
+
var tmp6_input = decoder.sn(tmp0_desc);
|
|
2137
|
+
if (tmp6_input.io()) {
|
|
2138
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2092
2139
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2093
|
-
tmp5_local1 = tmp6_input.
|
|
2140
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2094
2141
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2095
2142
|
} else
|
|
2096
2143
|
while (tmp1_flag) {
|
|
2097
|
-
tmp2_index = tmp6_input.
|
|
2144
|
+
tmp2_index = tmp6_input.jo(tmp0_desc);
|
|
2098
2145
|
switch (tmp2_index) {
|
|
2099
2146
|
case -1:
|
|
2100
2147
|
tmp1_flag = false;
|
|
2101
2148
|
break;
|
|
2102
2149
|
case 0:
|
|
2103
|
-
tmp4_local0 = tmp6_input.
|
|
2150
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2104
2151
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2105
2152
|
break;
|
|
2106
2153
|
case 1:
|
|
2107
|
-
tmp5_local1 = tmp6_input.
|
|
2154
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2108
2155
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2109
2156
|
break;
|
|
2110
2157
|
default:
|
|
2111
2158
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2112
2159
|
}
|
|
2113
2160
|
}
|
|
2114
|
-
tmp6_input.
|
|
2161
|
+
tmp6_input.tn(tmp0_desc);
|
|
2115
2162
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2116
2163
|
};
|
|
2117
|
-
protoOf($
|
|
2118
|
-
return this.
|
|
2164
|
+
protoOf($serializer_4).jk = function () {
|
|
2165
|
+
return this.u29_1;
|
|
2119
2166
|
};
|
|
2120
|
-
protoOf($
|
|
2167
|
+
protoOf($serializer_4).xv = function () {
|
|
2121
2168
|
// Inline function 'kotlin.arrayOf' call
|
|
2122
2169
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2123
2170
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2124
2171
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2125
2172
|
};
|
|
2126
|
-
var $
|
|
2127
|
-
function $
|
|
2128
|
-
if ($
|
|
2129
|
-
new $
|
|
2130
|
-
return $
|
|
2173
|
+
var $serializer_instance_4;
|
|
2174
|
+
function $serializer_getInstance_4() {
|
|
2175
|
+
if ($serializer_instance_4 == null)
|
|
2176
|
+
new $serializer_4();
|
|
2177
|
+
return $serializer_instance_4;
|
|
2131
2178
|
}
|
|
2132
2179
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2133
2180
|
if (!(3 === (3 & seen0))) {
|
|
2134
|
-
throwMissingFieldException(seen0, 3, $
|
|
2181
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().u29_1);
|
|
2135
2182
|
}
|
|
2136
2183
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2137
|
-
$this.
|
|
2138
|
-
$this.
|
|
2184
|
+
$this.w29_1 = playerId;
|
|
2185
|
+
$this.x29_1 = tag;
|
|
2139
2186
|
return $this;
|
|
2140
2187
|
}
|
|
2141
2188
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2143,15 +2190,15 @@
|
|
|
2143
2190
|
}
|
|
2144
2191
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2145
2192
|
TerminationGameReasonDto.call(this);
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2193
|
+
this.w29_1 = playerId;
|
|
2194
|
+
this.x29_1 = tag;
|
|
2148
2195
|
}
|
|
2149
2196
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2150
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2197
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.w29_1 + ', tag=' + this.x29_1 + ')';
|
|
2151
2198
|
};
|
|
2152
2199
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2153
|
-
var result = getStringHashCode(this.
|
|
2154
|
-
result = imul(result, 31) + (this.
|
|
2200
|
+
var result = getStringHashCode(this.w29_1);
|
|
2201
|
+
result = imul(result, 31) + (this.x29_1 == null ? 0 : getStringHashCode(this.x29_1)) | 0;
|
|
2155
2202
|
return result;
|
|
2156
2203
|
};
|
|
2157
2204
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2160,92 +2207,92 @@
|
|
|
2160
2207
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2161
2208
|
return false;
|
|
2162
2209
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReasonDto ? other : THROW_CCE();
|
|
2163
|
-
if (!(this.
|
|
2210
|
+
if (!(this.w29_1 === tmp0_other_with_cast.w29_1))
|
|
2164
2211
|
return false;
|
|
2165
|
-
if (!(this.
|
|
2212
|
+
if (!(this.x29_1 == tmp0_other_with_cast.x29_1))
|
|
2166
2213
|
return false;
|
|
2167
2214
|
return true;
|
|
2168
2215
|
};
|
|
2169
|
-
function
|
|
2216
|
+
function Companion_14() {
|
|
2170
2217
|
}
|
|
2171
|
-
var
|
|
2172
|
-
function
|
|
2173
|
-
return
|
|
2218
|
+
var Companion_instance_14;
|
|
2219
|
+
function Companion_getInstance_16() {
|
|
2220
|
+
return Companion_instance_14;
|
|
2174
2221
|
}
|
|
2175
|
-
function $
|
|
2176
|
-
$
|
|
2222
|
+
function $serializer_5() {
|
|
2223
|
+
$serializer_instance_5 = this;
|
|
2177
2224
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2178
|
-
tmp0_serialDesc.
|
|
2179
|
-
tmp0_serialDesc.
|
|
2180
|
-
this.
|
|
2181
|
-
}
|
|
2182
|
-
protoOf($
|
|
2183
|
-
var tmp0_desc = this.
|
|
2184
|
-
var tmp1_output = encoder.
|
|
2185
|
-
tmp1_output.
|
|
2186
|
-
tmp1_output.
|
|
2187
|
-
tmp1_output.
|
|
2188
|
-
};
|
|
2189
|
-
protoOf($
|
|
2190
|
-
return this.
|
|
2191
|
-
};
|
|
2192
|
-
protoOf($
|
|
2193
|
-
var tmp0_desc = this.
|
|
2225
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
2226
|
+
tmp0_serialDesc.iv('tag', false);
|
|
2227
|
+
this.y29_1 = tmp0_serialDesc;
|
|
2228
|
+
}
|
|
2229
|
+
protoOf($serializer_5).z29 = function (encoder, value) {
|
|
2230
|
+
var tmp0_desc = this.y29_1;
|
|
2231
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2232
|
+
tmp1_output.hp(tmp0_desc, 0, value.a2a_1);
|
|
2233
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.b2a_1);
|
|
2234
|
+
tmp1_output.tn(tmp0_desc);
|
|
2235
|
+
};
|
|
2236
|
+
protoOf($serializer_5).kk = function (encoder, value) {
|
|
2237
|
+
return this.z29(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2238
|
+
};
|
|
2239
|
+
protoOf($serializer_5).lk = function (decoder) {
|
|
2240
|
+
var tmp0_desc = this.y29_1;
|
|
2194
2241
|
var tmp1_flag = true;
|
|
2195
2242
|
var tmp2_index = 0;
|
|
2196
2243
|
var tmp3_bitMask0 = 0;
|
|
2197
2244
|
var tmp4_local0 = null;
|
|
2198
2245
|
var tmp5_local1 = null;
|
|
2199
|
-
var tmp6_input = decoder.
|
|
2200
|
-
if (tmp6_input.
|
|
2201
|
-
tmp4_local0 = tmp6_input.
|
|
2246
|
+
var tmp6_input = decoder.sn(tmp0_desc);
|
|
2247
|
+
if (tmp6_input.io()) {
|
|
2248
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2202
2249
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2203
|
-
tmp5_local1 = tmp6_input.
|
|
2250
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2204
2251
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2205
2252
|
} else
|
|
2206
2253
|
while (tmp1_flag) {
|
|
2207
|
-
tmp2_index = tmp6_input.
|
|
2254
|
+
tmp2_index = tmp6_input.jo(tmp0_desc);
|
|
2208
2255
|
switch (tmp2_index) {
|
|
2209
2256
|
case -1:
|
|
2210
2257
|
tmp1_flag = false;
|
|
2211
2258
|
break;
|
|
2212
2259
|
case 0:
|
|
2213
|
-
tmp4_local0 = tmp6_input.
|
|
2260
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2214
2261
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2215
2262
|
break;
|
|
2216
2263
|
case 1:
|
|
2217
|
-
tmp5_local1 = tmp6_input.
|
|
2264
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2218
2265
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2219
2266
|
break;
|
|
2220
2267
|
default:
|
|
2221
2268
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2222
2269
|
}
|
|
2223
2270
|
}
|
|
2224
|
-
tmp6_input.
|
|
2271
|
+
tmp6_input.tn(tmp0_desc);
|
|
2225
2272
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2226
2273
|
};
|
|
2227
|
-
protoOf($
|
|
2228
|
-
return this.
|
|
2274
|
+
protoOf($serializer_5).jk = function () {
|
|
2275
|
+
return this.y29_1;
|
|
2229
2276
|
};
|
|
2230
|
-
protoOf($
|
|
2277
|
+
protoOf($serializer_5).xv = function () {
|
|
2231
2278
|
// Inline function 'kotlin.arrayOf' call
|
|
2232
2279
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2233
2280
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2234
2281
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2235
2282
|
};
|
|
2236
|
-
var $
|
|
2237
|
-
function $
|
|
2238
|
-
if ($
|
|
2239
|
-
new $
|
|
2240
|
-
return $
|
|
2283
|
+
var $serializer_instance_5;
|
|
2284
|
+
function $serializer_getInstance_5() {
|
|
2285
|
+
if ($serializer_instance_5 == null)
|
|
2286
|
+
new $serializer_5();
|
|
2287
|
+
return $serializer_instance_5;
|
|
2241
2288
|
}
|
|
2242
2289
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2243
2290
|
if (!(3 === (3 & seen0))) {
|
|
2244
|
-
throwMissingFieldException(seen0, 3, $
|
|
2291
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().y29_1);
|
|
2245
2292
|
}
|
|
2246
2293
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2247
|
-
$this.
|
|
2248
|
-
$this.
|
|
2294
|
+
$this.a2a_1 = playerId;
|
|
2295
|
+
$this.b2a_1 = tag;
|
|
2249
2296
|
return $this;
|
|
2250
2297
|
}
|
|
2251
2298
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2253,15 +2300,15 @@
|
|
|
2253
2300
|
}
|
|
2254
2301
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2255
2302
|
TerminationGameReasonDto.call(this);
|
|
2256
|
-
this.
|
|
2257
|
-
this.
|
|
2303
|
+
this.a2a_1 = playerId;
|
|
2304
|
+
this.b2a_1 = tag;
|
|
2258
2305
|
}
|
|
2259
2306
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2260
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2307
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.a2a_1 + ', tag=' + this.b2a_1 + ')';
|
|
2261
2308
|
};
|
|
2262
2309
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2263
|
-
var result = getStringHashCode(this.
|
|
2264
|
-
result = imul(result, 31) + (this.
|
|
2310
|
+
var result = getStringHashCode(this.a2a_1);
|
|
2311
|
+
result = imul(result, 31) + (this.b2a_1 == null ? 0 : getStringHashCode(this.b2a_1)) | 0;
|
|
2265
2312
|
return result;
|
|
2266
2313
|
};
|
|
2267
2314
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2270,14 +2317,14 @@
|
|
|
2270
2317
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2271
2318
|
return false;
|
|
2272
2319
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReasonDto ? other : THROW_CCE();
|
|
2273
|
-
if (!(this.
|
|
2320
|
+
if (!(this.a2a_1 === tmp0_other_with_cast.a2a_1))
|
|
2274
2321
|
return false;
|
|
2275
|
-
if (!(this.
|
|
2322
|
+
if (!(this.b2a_1 == tmp0_other_with_cast.b2a_1))
|
|
2276
2323
|
return false;
|
|
2277
2324
|
return true;
|
|
2278
2325
|
};
|
|
2279
|
-
function _get_$
|
|
2280
|
-
return $this.
|
|
2326
|
+
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2327
|
+
return $this.c2a_1.a2();
|
|
2281
2328
|
}
|
|
2282
2329
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2283
2330
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2292,13 +2339,13 @@
|
|
|
2292
2339
|
TerminationGameReasonDto.call(this);
|
|
2293
2340
|
var tmp = this;
|
|
2294
2341
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2295
|
-
tmp.
|
|
2342
|
+
tmp.c2a_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2296
2343
|
}
|
|
2297
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2298
|
-
return _get_$
|
|
2344
|
+
protoOf(WaitingForConnectionReasonDto).z17 = function () {
|
|
2345
|
+
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2299
2346
|
};
|
|
2300
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2301
|
-
return this.
|
|
2347
|
+
protoOf(WaitingForConnectionReasonDto).iw = function (typeParamsSerializers) {
|
|
2348
|
+
return this.z17();
|
|
2302
2349
|
};
|
|
2303
2350
|
protoOf(WaitingForConnectionReasonDto).toString = function () {
|
|
2304
2351
|
return 'WaitingForConnectionReasonDto';
|
|
@@ -2321,13 +2368,13 @@
|
|
|
2321
2368
|
return WaitingForConnectionReasonDto_instance;
|
|
2322
2369
|
}
|
|
2323
2370
|
function mapToDto(_this__u8e3s4) {
|
|
2324
|
-
return _this__u8e3s4.
|
|
2371
|
+
return _this__u8e3s4.r25_1;
|
|
2325
2372
|
}
|
|
2326
2373
|
function mapFromDto(_this__u8e3s4) {
|
|
2327
2374
|
return new GameCard(_this__u8e3s4);
|
|
2328
2375
|
}
|
|
2329
2376
|
function mapToDto_0(_this__u8e3s4) {
|
|
2330
|
-
return _this__u8e3s4.
|
|
2377
|
+
return _this__u8e3s4.j29_1;
|
|
2331
2378
|
}
|
|
2332
2379
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2333
2380
|
return new Team(_this__u8e3s4);
|
|
@@ -2420,15 +2467,15 @@
|
|
|
2420
2467
|
}
|
|
2421
2468
|
function mapToDto_4(_this__u8e3s4) {
|
|
2422
2469
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2423
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2470
|
+
return new PlayerExitReasonDto(_this__u8e3s4.y26_1);
|
|
2424
2471
|
}
|
|
2425
2472
|
function mapToDto_5(_this__u8e3s4) {
|
|
2426
2473
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2427
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2474
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.s26_1, _this__u8e3s4.tag);
|
|
2428
2475
|
}
|
|
2429
2476
|
function mapToDto_6(_this__u8e3s4) {
|
|
2430
2477
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2431
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2478
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.x26_1, _this__u8e3s4.tag);
|
|
2432
2479
|
}
|
|
2433
2480
|
function mapToDto_7(_this__u8e3s4) {
|
|
2434
2481
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2445,20 +2492,20 @@
|
|
|
2445
2492
|
}
|
|
2446
2493
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2447
2494
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2448
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
2495
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.q29_1, get_gameFinishedReasonMapping());
|
|
2449
2496
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2450
2497
|
}
|
|
2451
2498
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2452
2499
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2453
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2500
|
+
return new PlayerExitReason(_this__u8e3s4.t29_1);
|
|
2454
2501
|
}
|
|
2455
2502
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2456
2503
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2457
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2504
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.w29_1, _this__u8e3s4.x29_1);
|
|
2458
2505
|
}
|
|
2459
2506
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2460
2507
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2461
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2508
|
+
return new PlayerTimeoutReason(_this__u8e3s4.a2a_1, _this__u8e3s4.b2a_1);
|
|
2462
2509
|
}
|
|
2463
2510
|
function mapFromDto_7(_this__u8e3s4) {
|
|
2464
2511
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2501,8 +2548,8 @@
|
|
|
2501
2548
|
}
|
|
2502
2549
|
}
|
|
2503
2550
|
function mapToDto_9(_this__u8e3s4) {
|
|
2504
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2505
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2551
|
+
var tmp0_playerId = _this__u8e3s4.j27_1;
|
|
2552
|
+
var tmp1_uid = _this__u8e3s4.j27_1;
|
|
2506
2553
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2507
2554
|
var tmp3_name = _this__u8e3s4.name;
|
|
2508
2555
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2523,107 +2570,104 @@
|
|
|
2523
2570
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2524
2571
|
}
|
|
2525
2572
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2526
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2527
|
-
var
|
|
2528
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2529
|
-
var
|
|
2530
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2531
|
-
var
|
|
2532
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2533
|
-
|
|
2534
|
-
var tmp8_initialLuckyFactor = _this__u8e3s4.y29_1;
|
|
2535
|
-
var tmp9_rating = _this__u8e3s4.w29_1;
|
|
2536
|
-
return new GameUserInfo(tmp4_playerId, tmp5_name, tmp6_avatarUrl, tmp7_isBot, tmp9_rating, tmp8_initialLuckyFactor);
|
|
2573
|
+
var tmp0_elvis_lhs = _this__u8e3s4.d2a_1;
|
|
2574
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.e2a_1) : tmp0_elvis_lhs;
|
|
2575
|
+
var tmp1_elvis_lhs = _this__u8e3s4.f2a_1;
|
|
2576
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.g2a_1) : tmp1_elvis_lhs;
|
|
2577
|
+
var tmp2_elvis_lhs = _this__u8e3s4.h2a_1;
|
|
2578
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.i2a_1 : tmp2_elvis_lhs;
|
|
2579
|
+
var tmp3_elvis_lhs = _this__u8e3s4.k2a_1;
|
|
2580
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.l2a_1, _this__u8e3s4.j2a_1);
|
|
2537
2581
|
}
|
|
2538
2582
|
function mapToDto_10(_this__u8e3s4) {
|
|
2539
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2540
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2583
|
+
var tmp0_safe_receiver = _this__u8e3s4.w27_1;
|
|
2584
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n1w();
|
|
2541
2585
|
var tmp6_startFromTime = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
|
|
2542
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2586
|
+
var tmp2_safe_receiver = _this__u8e3s4.w27_1;
|
|
2543
2587
|
var tmp7_startFrom = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2544
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2588
|
+
var tmp3_safe_receiver = _this__u8e3s4.y27_1;
|
|
2545
2589
|
var tmp8_waitPlayerUntilTime = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
|
|
2546
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2590
|
+
var tmp4_safe_receiver = _this__u8e3s4.x27_1;
|
|
2547
2591
|
var tmp9_playerTurnTimeout = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.toString();
|
|
2548
|
-
var tmp10_state = _this__u8e3s4.
|
|
2549
|
-
var tmp11_tag = _this__u8e3s4.
|
|
2550
|
-
var tmp12_ready = _this__u8e3s4.
|
|
2551
|
-
var tmp5_safe_receiver = _this__u8e3s4.
|
|
2592
|
+
var tmp10_state = _this__u8e3s4.z27_1;
|
|
2593
|
+
var tmp11_tag = _this__u8e3s4.b28_1;
|
|
2594
|
+
var tmp12_ready = _this__u8e3s4.a28_1;
|
|
2595
|
+
var tmp5_safe_receiver = _this__u8e3s4.c28_1;
|
|
2552
2596
|
var tmp13_connection = tmp5_safe_receiver == null ? null : mapToDto_11(tmp5_safe_receiver);
|
|
2553
2597
|
return new PlayerStateDto(tmp6_startFromTime, tmp7_startFrom, tmp9_playerTurnTimeout, tmp8_waitPlayerUntilTime, tmp10_state, tmp12_ready, tmp11_tag, tmp13_connection);
|
|
2554
2598
|
}
|
|
2555
2599
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2556
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2600
|
+
var tmp0_safe_receiver = _this__u8e3s4.n2a_1;
|
|
2557
2601
|
var tmp5_startFromTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2558
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2602
|
+
var tmp1_safe_receiver = _this__u8e3s4.p2a_1;
|
|
2559
2603
|
var tmp6_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : toInstant(tmp1_safe_receiver);
|
|
2560
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2604
|
+
var tmp2_safe_receiver = _this__u8e3s4.o2a_1;
|
|
2561
2605
|
var tmp7_playerTurnTimeout = tmp2_safe_receiver == null ? null : toInstant(tmp2_safe_receiver);
|
|
2562
|
-
var tmp8_state = _this__u8e3s4.
|
|
2563
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2564
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2606
|
+
var tmp8_state = _this__u8e3s4.q2a_1;
|
|
2607
|
+
var tmp9_tag = _this__u8e3s4.s2a_1;
|
|
2608
|
+
var tmp3_elvis_lhs = _this__u8e3s4.r2a_1;
|
|
2565
2609
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2566
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2610
|
+
var tmp4_safe_receiver = _this__u8e3s4.t2a_1;
|
|
2567
2611
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_11(tmp4_safe_receiver);
|
|
2568
2612
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2569
2613
|
}
|
|
2570
2614
|
function mapToDto_11(_this__u8e3s4) {
|
|
2571
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2615
|
+
return new PlayerConnectionDto(_this__u8e3s4.h28_1, _this__u8e3s4.i28_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.j28_1));
|
|
2572
2616
|
}
|
|
2573
2617
|
function mapFromDto_11(_this__u8e3s4) {
|
|
2574
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2618
|
+
return new PlayerConnection(_this__u8e3s4.u2a_1, toInstant(_this__u8e3s4.v2a_1), Companion_getInstance().kg(_this__u8e3s4.w2a_1));
|
|
2575
2619
|
}
|
|
2576
|
-
function
|
|
2620
|
+
function Companion_15() {
|
|
2577
2621
|
}
|
|
2578
|
-
var
|
|
2579
|
-
function
|
|
2580
|
-
return
|
|
2622
|
+
var Companion_instance_15;
|
|
2623
|
+
function Companion_getInstance_17() {
|
|
2624
|
+
return Companion_instance_15;
|
|
2581
2625
|
}
|
|
2582
|
-
function $
|
|
2583
|
-
$
|
|
2626
|
+
function $serializer_6() {
|
|
2627
|
+
$serializer_instance_6 = this;
|
|
2584
2628
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 9);
|
|
2585
|
-
tmp0_serialDesc.
|
|
2586
|
-
tmp0_serialDesc.
|
|
2587
|
-
tmp0_serialDesc.
|
|
2588
|
-
tmp0_serialDesc.
|
|
2589
|
-
tmp0_serialDesc.
|
|
2590
|
-
tmp0_serialDesc.
|
|
2591
|
-
tmp0_serialDesc.
|
|
2592
|
-
tmp0_serialDesc.
|
|
2593
|
-
tmp0_serialDesc.
|
|
2594
|
-
this.
|
|
2595
|
-
}
|
|
2596
|
-
protoOf($
|
|
2597
|
-
var tmp0_desc = this.
|
|
2598
|
-
var tmp1_output = encoder.
|
|
2599
|
-
if (tmp1_output.
|
|
2600
|
-
tmp1_output.
|
|
2629
|
+
tmp0_serialDesc.iv('playerId', true);
|
|
2630
|
+
tmp0_serialDesc.iv('uid', true);
|
|
2631
|
+
tmp0_serialDesc.iv('name', true);
|
|
2632
|
+
tmp0_serialDesc.iv('nickname', true);
|
|
2633
|
+
tmp0_serialDesc.iv('avatarUrl', true);
|
|
2634
|
+
tmp0_serialDesc.iv('photo', true);
|
|
2635
|
+
tmp0_serialDesc.iv('rating', false);
|
|
2636
|
+
tmp0_serialDesc.iv('is_bot', false);
|
|
2637
|
+
tmp0_serialDesc.iv('lucky_factor', false);
|
|
2638
|
+
this.x2a_1 = tmp0_serialDesc;
|
|
2639
|
+
}
|
|
2640
|
+
protoOf($serializer_6).y2a = function (encoder, value) {
|
|
2641
|
+
var tmp0_desc = this.x2a_1;
|
|
2642
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2643
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.d2a_1 == null)) {
|
|
2644
|
+
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.d2a_1);
|
|
2601
2645
|
}
|
|
2602
|
-
if (tmp1_output.
|
|
2603
|
-
tmp1_output.
|
|
2646
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.e2a_1 == null)) {
|
|
2647
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.e2a_1);
|
|
2604
2648
|
}
|
|
2605
|
-
if (tmp1_output.
|
|
2606
|
-
tmp1_output.
|
|
2649
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.f2a_1 == null)) {
|
|
2650
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.f2a_1);
|
|
2607
2651
|
}
|
|
2608
|
-
if (tmp1_output.
|
|
2609
|
-
tmp1_output.
|
|
2652
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.g2a_1 == null)) {
|
|
2653
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.g2a_1);
|
|
2610
2654
|
}
|
|
2611
|
-
if (tmp1_output.
|
|
2612
|
-
tmp1_output.
|
|
2655
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.h2a_1 == null)) {
|
|
2656
|
+
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.h2a_1);
|
|
2613
2657
|
}
|
|
2614
|
-
if (tmp1_output.
|
|
2615
|
-
tmp1_output.
|
|
2658
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.i2a_1 == null)) {
|
|
2659
|
+
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.i2a_1);
|
|
2616
2660
|
}
|
|
2617
|
-
tmp1_output.
|
|
2618
|
-
tmp1_output.
|
|
2619
|
-
tmp1_output.
|
|
2620
|
-
tmp1_output.
|
|
2661
|
+
tmp1_output.lp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.j2a_1);
|
|
2662
|
+
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.k2a_1);
|
|
2663
|
+
tmp1_output.lp(tmp0_desc, 8, FloatSerializer_getInstance(), value.l2a_1);
|
|
2664
|
+
tmp1_output.tn(tmp0_desc);
|
|
2621
2665
|
};
|
|
2622
|
-
protoOf($
|
|
2623
|
-
return this.
|
|
2666
|
+
protoOf($serializer_6).kk = function (encoder, value) {
|
|
2667
|
+
return this.y2a(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2624
2668
|
};
|
|
2625
|
-
protoOf($
|
|
2626
|
-
var tmp0_desc = this.
|
|
2669
|
+
protoOf($serializer_6).lk = function (decoder) {
|
|
2670
|
+
var tmp0_desc = this.x2a_1;
|
|
2627
2671
|
var tmp1_flag = true;
|
|
2628
2672
|
var tmp2_index = 0;
|
|
2629
2673
|
var tmp3_bitMask0 = 0;
|
|
@@ -2636,122 +2680,122 @@
|
|
|
2636
2680
|
var tmp10_local6 = null;
|
|
2637
2681
|
var tmp11_local7 = null;
|
|
2638
2682
|
var tmp12_local8 = null;
|
|
2639
|
-
var tmp13_input = decoder.
|
|
2640
|
-
if (tmp13_input.
|
|
2641
|
-
tmp4_local0 = tmp13_input.
|
|
2683
|
+
var tmp13_input = decoder.sn(tmp0_desc);
|
|
2684
|
+
if (tmp13_input.io()) {
|
|
2685
|
+
tmp4_local0 = tmp13_input.go(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2642
2686
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2643
|
-
tmp5_local1 = tmp13_input.
|
|
2687
|
+
tmp5_local1 = tmp13_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2644
2688
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2645
|
-
tmp6_local2 = tmp13_input.
|
|
2689
|
+
tmp6_local2 = tmp13_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2646
2690
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2647
|
-
tmp7_local3 = tmp13_input.
|
|
2691
|
+
tmp7_local3 = tmp13_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2648
2692
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2649
|
-
tmp8_local4 = tmp13_input.
|
|
2693
|
+
tmp8_local4 = tmp13_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2650
2694
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2651
|
-
tmp9_local5 = tmp13_input.
|
|
2695
|
+
tmp9_local5 = tmp13_input.go(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2652
2696
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2653
|
-
tmp10_local6 = tmp13_input.
|
|
2697
|
+
tmp10_local6 = tmp13_input.go(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2654
2698
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2655
|
-
tmp11_local7 = tmp13_input.
|
|
2699
|
+
tmp11_local7 = tmp13_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2656
2700
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2657
|
-
tmp12_local8 = tmp13_input.
|
|
2701
|
+
tmp12_local8 = tmp13_input.go(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2658
2702
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2659
2703
|
} else
|
|
2660
2704
|
while (tmp1_flag) {
|
|
2661
|
-
tmp2_index = tmp13_input.
|
|
2705
|
+
tmp2_index = tmp13_input.jo(tmp0_desc);
|
|
2662
2706
|
switch (tmp2_index) {
|
|
2663
2707
|
case -1:
|
|
2664
2708
|
tmp1_flag = false;
|
|
2665
2709
|
break;
|
|
2666
2710
|
case 0:
|
|
2667
|
-
tmp4_local0 = tmp13_input.
|
|
2711
|
+
tmp4_local0 = tmp13_input.go(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2668
2712
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2669
2713
|
break;
|
|
2670
2714
|
case 1:
|
|
2671
|
-
tmp5_local1 = tmp13_input.
|
|
2715
|
+
tmp5_local1 = tmp13_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2672
2716
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2673
2717
|
break;
|
|
2674
2718
|
case 2:
|
|
2675
|
-
tmp6_local2 = tmp13_input.
|
|
2719
|
+
tmp6_local2 = tmp13_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2676
2720
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2677
2721
|
break;
|
|
2678
2722
|
case 3:
|
|
2679
|
-
tmp7_local3 = tmp13_input.
|
|
2723
|
+
tmp7_local3 = tmp13_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2680
2724
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2681
2725
|
break;
|
|
2682
2726
|
case 4:
|
|
2683
|
-
tmp8_local4 = tmp13_input.
|
|
2727
|
+
tmp8_local4 = tmp13_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2684
2728
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2685
2729
|
break;
|
|
2686
2730
|
case 5:
|
|
2687
|
-
tmp9_local5 = tmp13_input.
|
|
2731
|
+
tmp9_local5 = tmp13_input.go(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2688
2732
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2689
2733
|
break;
|
|
2690
2734
|
case 6:
|
|
2691
|
-
tmp10_local6 = tmp13_input.
|
|
2735
|
+
tmp10_local6 = tmp13_input.go(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2692
2736
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2693
2737
|
break;
|
|
2694
2738
|
case 7:
|
|
2695
|
-
tmp11_local7 = tmp13_input.
|
|
2739
|
+
tmp11_local7 = tmp13_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2696
2740
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2697
2741
|
break;
|
|
2698
2742
|
case 8:
|
|
2699
|
-
tmp12_local8 = tmp13_input.
|
|
2743
|
+
tmp12_local8 = tmp13_input.go(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2700
2744
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2701
2745
|
break;
|
|
2702
2746
|
default:
|
|
2703
2747
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2704
2748
|
}
|
|
2705
2749
|
}
|
|
2706
|
-
tmp13_input.
|
|
2750
|
+
tmp13_input.tn(tmp0_desc);
|
|
2707
2751
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2708
2752
|
};
|
|
2709
|
-
protoOf($
|
|
2710
|
-
return this.
|
|
2753
|
+
protoOf($serializer_6).jk = function () {
|
|
2754
|
+
return this.x2a_1;
|
|
2711
2755
|
};
|
|
2712
|
-
protoOf($
|
|
2756
|
+
protoOf($serializer_6).xv = function () {
|
|
2713
2757
|
// Inline function 'kotlin.arrayOf' call
|
|
2714
2758
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2715
2759
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2716
2760
|
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2717
2761
|
};
|
|
2718
|
-
var $
|
|
2719
|
-
function $
|
|
2720
|
-
if ($
|
|
2721
|
-
new $
|
|
2722
|
-
return $
|
|
2762
|
+
var $serializer_instance_6;
|
|
2763
|
+
function $serializer_getInstance_6() {
|
|
2764
|
+
if ($serializer_instance_6 == null)
|
|
2765
|
+
new $serializer_6();
|
|
2766
|
+
return $serializer_instance_6;
|
|
2723
2767
|
}
|
|
2724
2768
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2725
2769
|
if (!(448 === (448 & seen0))) {
|
|
2726
|
-
throwMissingFieldException(seen0, 448, $
|
|
2770
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().x2a_1);
|
|
2727
2771
|
}
|
|
2728
2772
|
if (0 === (seen0 & 1))
|
|
2729
|
-
$this.
|
|
2773
|
+
$this.d2a_1 = null;
|
|
2730
2774
|
else
|
|
2731
|
-
$this.
|
|
2775
|
+
$this.d2a_1 = playerId;
|
|
2732
2776
|
if (0 === (seen0 & 2))
|
|
2733
|
-
$this.
|
|
2777
|
+
$this.e2a_1 = null;
|
|
2734
2778
|
else
|
|
2735
|
-
$this.
|
|
2779
|
+
$this.e2a_1 = uid;
|
|
2736
2780
|
if (0 === (seen0 & 4))
|
|
2737
|
-
$this.
|
|
2781
|
+
$this.f2a_1 = null;
|
|
2738
2782
|
else
|
|
2739
|
-
$this.
|
|
2783
|
+
$this.f2a_1 = name;
|
|
2740
2784
|
if (0 === (seen0 & 8))
|
|
2741
|
-
$this.
|
|
2785
|
+
$this.g2a_1 = null;
|
|
2742
2786
|
else
|
|
2743
|
-
$this.
|
|
2787
|
+
$this.g2a_1 = nickname;
|
|
2744
2788
|
if (0 === (seen0 & 16))
|
|
2745
|
-
$this.
|
|
2789
|
+
$this.h2a_1 = null;
|
|
2746
2790
|
else
|
|
2747
|
-
$this.
|
|
2791
|
+
$this.h2a_1 = avatarUrl;
|
|
2748
2792
|
if (0 === (seen0 & 32))
|
|
2749
|
-
$this.
|
|
2793
|
+
$this.i2a_1 = null;
|
|
2750
2794
|
else
|
|
2751
|
-
$this.
|
|
2752
|
-
$this.
|
|
2753
|
-
$this.
|
|
2754
|
-
$this.
|
|
2795
|
+
$this.i2a_1 = photo;
|
|
2796
|
+
$this.j2a_1 = rating;
|
|
2797
|
+
$this.k2a_1 = isBot;
|
|
2798
|
+
$this.l2a_1 = initialLuckyFactor;
|
|
2755
2799
|
return $this;
|
|
2756
2800
|
}
|
|
2757
2801
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2764,47 +2808,47 @@
|
|
|
2764
2808
|
nickname = nickname === VOID ? null : nickname;
|
|
2765
2809
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2766
2810
|
photo = photo === VOID ? null : photo;
|
|
2767
|
-
this.
|
|
2768
|
-
this.
|
|
2769
|
-
this.
|
|
2770
|
-
this.
|
|
2771
|
-
this.
|
|
2772
|
-
this.
|
|
2773
|
-
this.
|
|
2774
|
-
this.
|
|
2775
|
-
this.
|
|
2776
|
-
}
|
|
2777
|
-
protoOf(GameUserInfoDto).
|
|
2778
|
-
return this.
|
|
2779
|
-
};
|
|
2780
|
-
protoOf(GameUserInfoDto).
|
|
2811
|
+
this.d2a_1 = playerId;
|
|
2812
|
+
this.e2a_1 = uid;
|
|
2813
|
+
this.f2a_1 = name;
|
|
2814
|
+
this.g2a_1 = nickname;
|
|
2815
|
+
this.h2a_1 = avatarUrl;
|
|
2816
|
+
this.i2a_1 = photo;
|
|
2817
|
+
this.j2a_1 = rating;
|
|
2818
|
+
this.k2a_1 = isBot;
|
|
2819
|
+
this.l2a_1 = initialLuckyFactor;
|
|
2820
|
+
}
|
|
2821
|
+
protoOf(GameUserInfoDto).z2a = function () {
|
|
2822
|
+
return this.a2b(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2823
|
+
};
|
|
2824
|
+
protoOf(GameUserInfoDto).b2b = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2781
2825
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2782
2826
|
};
|
|
2783
|
-
protoOf(GameUserInfoDto).
|
|
2784
|
-
playerId = playerId === VOID ? this.
|
|
2785
|
-
uid = uid === VOID ? this.
|
|
2786
|
-
name = name === VOID ? this.
|
|
2787
|
-
nickname = nickname === VOID ? this.
|
|
2788
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2789
|
-
photo = photo === VOID ? this.
|
|
2790
|
-
rating = rating === VOID ? this.
|
|
2791
|
-
isBot = isBot === VOID ? this.
|
|
2792
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2793
|
-
return $super === VOID ? this.
|
|
2827
|
+
protoOf(GameUserInfoDto).a2b = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2828
|
+
playerId = playerId === VOID ? this.d2a_1 : playerId;
|
|
2829
|
+
uid = uid === VOID ? this.e2a_1 : uid;
|
|
2830
|
+
name = name === VOID ? this.f2a_1 : name;
|
|
2831
|
+
nickname = nickname === VOID ? this.g2a_1 : nickname;
|
|
2832
|
+
avatarUrl = avatarUrl === VOID ? this.h2a_1 : avatarUrl;
|
|
2833
|
+
photo = photo === VOID ? this.i2a_1 : photo;
|
|
2834
|
+
rating = rating === VOID ? this.j2a_1 : rating;
|
|
2835
|
+
isBot = isBot === VOID ? this.k2a_1 : isBot;
|
|
2836
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.l2a_1 : initialLuckyFactor;
|
|
2837
|
+
return $super === VOID ? this.b2b(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.b2b.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2794
2838
|
};
|
|
2795
2839
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2796
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2840
|
+
return 'GameUserInfoDto(playerId=' + this.d2a_1 + ', uid=' + this.e2a_1 + ', name=' + this.f2a_1 + ', nickname=' + this.g2a_1 + ', avatarUrl=' + this.h2a_1 + ', photo=' + this.i2a_1 + ', rating=' + this.j2a_1 + ', isBot=' + this.k2a_1 + ', initialLuckyFactor=' + this.l2a_1 + ')';
|
|
2797
2841
|
};
|
|
2798
2842
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2799
|
-
var result = this.
|
|
2800
|
-
result = imul(result, 31) + (this.
|
|
2801
|
-
result = imul(result, 31) + (this.
|
|
2802
|
-
result = imul(result, 31) + (this.
|
|
2803
|
-
result = imul(result, 31) + (this.
|
|
2804
|
-
result = imul(result, 31) + (this.
|
|
2805
|
-
result = imul(result, 31) + (this.
|
|
2806
|
-
result = imul(result, 31) + (this.
|
|
2807
|
-
result = imul(result, 31) + (this.
|
|
2843
|
+
var result = this.d2a_1 == null ? 0 : getStringHashCode(this.d2a_1);
|
|
2844
|
+
result = imul(result, 31) + (this.e2a_1 == null ? 0 : getStringHashCode(this.e2a_1)) | 0;
|
|
2845
|
+
result = imul(result, 31) + (this.f2a_1 == null ? 0 : getStringHashCode(this.f2a_1)) | 0;
|
|
2846
|
+
result = imul(result, 31) + (this.g2a_1 == null ? 0 : getStringHashCode(this.g2a_1)) | 0;
|
|
2847
|
+
result = imul(result, 31) + (this.h2a_1 == null ? 0 : getStringHashCode(this.h2a_1)) | 0;
|
|
2848
|
+
result = imul(result, 31) + (this.i2a_1 == null ? 0 : getStringHashCode(this.i2a_1)) | 0;
|
|
2849
|
+
result = imul(result, 31) + (this.j2a_1 == null ? 0 : getNumberHashCode(this.j2a_1)) | 0;
|
|
2850
|
+
result = imul(result, 31) + (this.k2a_1 == null ? 0 : getBooleanHashCode(this.k2a_1)) | 0;
|
|
2851
|
+
result = imul(result, 31) + (this.l2a_1 == null ? 0 : getNumberHashCode(this.l2a_1)) | 0;
|
|
2808
2852
|
return result;
|
|
2809
2853
|
};
|
|
2810
2854
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2813,143 +2857,143 @@
|
|
|
2813
2857
|
if (!(other instanceof GameUserInfoDto))
|
|
2814
2858
|
return false;
|
|
2815
2859
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2816
|
-
if (!(this.
|
|
2860
|
+
if (!(this.d2a_1 == tmp0_other_with_cast.d2a_1))
|
|
2817
2861
|
return false;
|
|
2818
|
-
if (!(this.
|
|
2862
|
+
if (!(this.e2a_1 == tmp0_other_with_cast.e2a_1))
|
|
2819
2863
|
return false;
|
|
2820
|
-
if (!(this.
|
|
2864
|
+
if (!(this.f2a_1 == tmp0_other_with_cast.f2a_1))
|
|
2821
2865
|
return false;
|
|
2822
|
-
if (!(this.
|
|
2866
|
+
if (!(this.g2a_1 == tmp0_other_with_cast.g2a_1))
|
|
2823
2867
|
return false;
|
|
2824
|
-
if (!(this.
|
|
2868
|
+
if (!(this.h2a_1 == tmp0_other_with_cast.h2a_1))
|
|
2825
2869
|
return false;
|
|
2826
|
-
if (!(this.
|
|
2870
|
+
if (!(this.i2a_1 == tmp0_other_with_cast.i2a_1))
|
|
2827
2871
|
return false;
|
|
2828
|
-
if (!equals(this.
|
|
2872
|
+
if (!equals(this.j2a_1, tmp0_other_with_cast.j2a_1))
|
|
2829
2873
|
return false;
|
|
2830
|
-
if (!(this.
|
|
2874
|
+
if (!(this.k2a_1 == tmp0_other_with_cast.k2a_1))
|
|
2831
2875
|
return false;
|
|
2832
|
-
if (!equals(this.
|
|
2876
|
+
if (!equals(this.l2a_1, tmp0_other_with_cast.l2a_1))
|
|
2833
2877
|
return false;
|
|
2834
2878
|
return true;
|
|
2835
2879
|
};
|
|
2836
|
-
function
|
|
2837
|
-
|
|
2880
|
+
function Companion_16() {
|
|
2881
|
+
Companion_instance_16 = this;
|
|
2838
2882
|
var tmp = this;
|
|
2839
2883
|
// Inline function 'kotlin.arrayOf' call
|
|
2840
2884
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2841
2885
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2842
|
-
tmp.
|
|
2886
|
+
tmp.c2b_1 = [Companion_getInstance_8().z17(), null, null];
|
|
2843
2887
|
}
|
|
2844
|
-
var
|
|
2845
|
-
function
|
|
2846
|
-
if (
|
|
2847
|
-
new
|
|
2848
|
-
return
|
|
2888
|
+
var Companion_instance_16;
|
|
2889
|
+
function Companion_getInstance_18() {
|
|
2890
|
+
if (Companion_instance_16 == null)
|
|
2891
|
+
new Companion_16();
|
|
2892
|
+
return Companion_instance_16;
|
|
2849
2893
|
}
|
|
2850
|
-
function $
|
|
2851
|
-
$
|
|
2894
|
+
function $serializer_7() {
|
|
2895
|
+
$serializer_instance_7 = this;
|
|
2852
2896
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerConnectionDto', this, 3);
|
|
2853
|
-
tmp0_serialDesc.
|
|
2854
|
-
tmp0_serialDesc.
|
|
2855
|
-
tmp0_serialDesc.
|
|
2856
|
-
this.
|
|
2857
|
-
}
|
|
2858
|
-
protoOf($
|
|
2859
|
-
var tmp0_desc = this.
|
|
2860
|
-
var tmp1_output = encoder.
|
|
2861
|
-
var tmp2_cached =
|
|
2862
|
-
tmp1_output.
|
|
2863
|
-
tmp1_output.
|
|
2864
|
-
tmp1_output.
|
|
2865
|
-
tmp1_output.
|
|
2866
|
-
};
|
|
2867
|
-
protoOf($
|
|
2868
|
-
return this.
|
|
2869
|
-
};
|
|
2870
|
-
protoOf($
|
|
2871
|
-
var tmp0_desc = this.
|
|
2897
|
+
tmp0_serialDesc.iv('state', false);
|
|
2898
|
+
tmp0_serialDesc.iv('connectionChangedTime', false);
|
|
2899
|
+
tmp0_serialDesc.iv('notLiveDurationRecord', false);
|
|
2900
|
+
this.d2b_1 = tmp0_serialDesc;
|
|
2901
|
+
}
|
|
2902
|
+
protoOf($serializer_7).e2b = function (encoder, value) {
|
|
2903
|
+
var tmp0_desc = this.d2b_1;
|
|
2904
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2905
|
+
var tmp2_cached = Companion_getInstance_18().c2b_1;
|
|
2906
|
+
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.u2a_1);
|
|
2907
|
+
tmp1_output.hp(tmp0_desc, 1, value.v2a_1);
|
|
2908
|
+
tmp1_output.hp(tmp0_desc, 2, value.w2a_1);
|
|
2909
|
+
tmp1_output.tn(tmp0_desc);
|
|
2910
|
+
};
|
|
2911
|
+
protoOf($serializer_7).kk = function (encoder, value) {
|
|
2912
|
+
return this.e2b(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2913
|
+
};
|
|
2914
|
+
protoOf($serializer_7).lk = function (decoder) {
|
|
2915
|
+
var tmp0_desc = this.d2b_1;
|
|
2872
2916
|
var tmp1_flag = true;
|
|
2873
2917
|
var tmp2_index = 0;
|
|
2874
2918
|
var tmp3_bitMask0 = 0;
|
|
2875
2919
|
var tmp4_local0 = null;
|
|
2876
2920
|
var tmp5_local1 = null;
|
|
2877
2921
|
var tmp6_local2 = null;
|
|
2878
|
-
var tmp7_input = decoder.
|
|
2879
|
-
var tmp8_cached =
|
|
2880
|
-
if (tmp7_input.
|
|
2881
|
-
tmp4_local0 = tmp7_input.
|
|
2922
|
+
var tmp7_input = decoder.sn(tmp0_desc);
|
|
2923
|
+
var tmp8_cached = Companion_getInstance_18().c2b_1;
|
|
2924
|
+
if (tmp7_input.io()) {
|
|
2925
|
+
tmp4_local0 = tmp7_input.eo(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2882
2926
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2883
|
-
tmp5_local1 = tmp7_input.
|
|
2927
|
+
tmp5_local1 = tmp7_input.co(tmp0_desc, 1);
|
|
2884
2928
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2885
|
-
tmp6_local2 = tmp7_input.
|
|
2929
|
+
tmp6_local2 = tmp7_input.co(tmp0_desc, 2);
|
|
2886
2930
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2887
2931
|
} else
|
|
2888
2932
|
while (tmp1_flag) {
|
|
2889
|
-
tmp2_index = tmp7_input.
|
|
2933
|
+
tmp2_index = tmp7_input.jo(tmp0_desc);
|
|
2890
2934
|
switch (tmp2_index) {
|
|
2891
2935
|
case -1:
|
|
2892
2936
|
tmp1_flag = false;
|
|
2893
2937
|
break;
|
|
2894
2938
|
case 0:
|
|
2895
|
-
tmp4_local0 = tmp7_input.
|
|
2939
|
+
tmp4_local0 = tmp7_input.eo(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2896
2940
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2897
2941
|
break;
|
|
2898
2942
|
case 1:
|
|
2899
|
-
tmp5_local1 = tmp7_input.
|
|
2943
|
+
tmp5_local1 = tmp7_input.co(tmp0_desc, 1);
|
|
2900
2944
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2901
2945
|
break;
|
|
2902
2946
|
case 2:
|
|
2903
|
-
tmp6_local2 = tmp7_input.
|
|
2947
|
+
tmp6_local2 = tmp7_input.co(tmp0_desc, 2);
|
|
2904
2948
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2905
2949
|
break;
|
|
2906
2950
|
default:
|
|
2907
2951
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2908
2952
|
}
|
|
2909
2953
|
}
|
|
2910
|
-
tmp7_input.
|
|
2954
|
+
tmp7_input.tn(tmp0_desc);
|
|
2911
2955
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2912
2956
|
};
|
|
2913
|
-
protoOf($
|
|
2914
|
-
return this.
|
|
2957
|
+
protoOf($serializer_7).jk = function () {
|
|
2958
|
+
return this.d2b_1;
|
|
2915
2959
|
};
|
|
2916
|
-
protoOf($
|
|
2960
|
+
protoOf($serializer_7).xv = function () {
|
|
2917
2961
|
// Inline function 'kotlin.arrayOf' call
|
|
2918
2962
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2919
2963
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2920
|
-
return [
|
|
2964
|
+
return [Companion_getInstance_18().c2b_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2921
2965
|
};
|
|
2922
|
-
var $
|
|
2923
|
-
function $
|
|
2924
|
-
if ($
|
|
2925
|
-
new $
|
|
2926
|
-
return $
|
|
2966
|
+
var $serializer_instance_7;
|
|
2967
|
+
function $serializer_getInstance_7() {
|
|
2968
|
+
if ($serializer_instance_7 == null)
|
|
2969
|
+
new $serializer_7();
|
|
2970
|
+
return $serializer_instance_7;
|
|
2927
2971
|
}
|
|
2928
2972
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2929
2973
|
if (!(7 === (7 & seen0))) {
|
|
2930
|
-
throwMissingFieldException(seen0, 7, $
|
|
2974
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().d2b_1);
|
|
2931
2975
|
}
|
|
2932
|
-
$this.
|
|
2933
|
-
$this.
|
|
2934
|
-
$this.
|
|
2976
|
+
$this.u2a_1 = state;
|
|
2977
|
+
$this.v2a_1 = connectionChangedTime;
|
|
2978
|
+
$this.w2a_1 = notLiveDurationRecord;
|
|
2935
2979
|
return $this;
|
|
2936
2980
|
}
|
|
2937
2981
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
2938
2982
|
return PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, objectCreate(protoOf(PlayerConnectionDto)));
|
|
2939
2983
|
}
|
|
2940
2984
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
2941
|
-
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2944
|
-
this.
|
|
2985
|
+
Companion_getInstance_18();
|
|
2986
|
+
this.u2a_1 = state;
|
|
2987
|
+
this.v2a_1 = connectionChangedTime;
|
|
2988
|
+
this.w2a_1 = notLiveDurationRecord;
|
|
2945
2989
|
}
|
|
2946
2990
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
2947
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
2991
|
+
return 'PlayerConnectionDto(state=' + this.u2a_1.toString() + ', connectionChangedTime=' + this.v2a_1 + ', notLiveDurationRecord=' + this.w2a_1 + ')';
|
|
2948
2992
|
};
|
|
2949
2993
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2950
|
-
var result = this.
|
|
2951
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2952
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2994
|
+
var result = this.u2a_1.hashCode();
|
|
2995
|
+
result = imul(result, 31) + getStringHashCode(this.v2a_1) | 0;
|
|
2996
|
+
result = imul(result, 31) + getStringHashCode(this.w2a_1) | 0;
|
|
2953
2997
|
return result;
|
|
2954
2998
|
};
|
|
2955
2999
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -2958,74 +3002,74 @@
|
|
|
2958
3002
|
if (!(other instanceof PlayerConnectionDto))
|
|
2959
3003
|
return false;
|
|
2960
3004
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
2961
|
-
if (!this.
|
|
3005
|
+
if (!this.u2a_1.equals(tmp0_other_with_cast.u2a_1))
|
|
2962
3006
|
return false;
|
|
2963
|
-
if (!(this.
|
|
3007
|
+
if (!(this.v2a_1 === tmp0_other_with_cast.v2a_1))
|
|
2964
3008
|
return false;
|
|
2965
|
-
if (!(this.
|
|
3009
|
+
if (!(this.w2a_1 === tmp0_other_with_cast.w2a_1))
|
|
2966
3010
|
return false;
|
|
2967
3011
|
return true;
|
|
2968
3012
|
};
|
|
2969
|
-
function
|
|
2970
|
-
|
|
3013
|
+
function Companion_17() {
|
|
3014
|
+
Companion_instance_17 = this;
|
|
2971
3015
|
var tmp = this;
|
|
2972
3016
|
// Inline function 'kotlin.arrayOf' call
|
|
2973
3017
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2974
3018
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2975
|
-
tmp.
|
|
3019
|
+
tmp.f2b_1 = [null, null, null, null, Companion_getInstance_9().z17(), null, null, null];
|
|
2976
3020
|
}
|
|
2977
|
-
var
|
|
2978
|
-
function
|
|
2979
|
-
if (
|
|
2980
|
-
new
|
|
2981
|
-
return
|
|
3021
|
+
var Companion_instance_17;
|
|
3022
|
+
function Companion_getInstance_19() {
|
|
3023
|
+
if (Companion_instance_17 == null)
|
|
3024
|
+
new Companion_17();
|
|
3025
|
+
return Companion_instance_17;
|
|
2982
3026
|
}
|
|
2983
|
-
function $
|
|
2984
|
-
$
|
|
3027
|
+
function $serializer_8() {
|
|
3028
|
+
$serializer_instance_8 = this;
|
|
2985
3029
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 8);
|
|
2986
|
-
tmp0_serialDesc.
|
|
2987
|
-
tmp0_serialDesc.
|
|
2988
|
-
tmp0_serialDesc.
|
|
2989
|
-
tmp0_serialDesc.
|
|
2990
|
-
tmp0_serialDesc.
|
|
2991
|
-
tmp0_serialDesc.
|
|
2992
|
-
tmp0_serialDesc.
|
|
2993
|
-
tmp0_serialDesc.
|
|
2994
|
-
this.
|
|
2995
|
-
}
|
|
2996
|
-
protoOf($
|
|
2997
|
-
var tmp0_desc = this.
|
|
2998
|
-
var tmp1_output = encoder.
|
|
2999
|
-
var tmp2_cached =
|
|
3000
|
-
if (tmp1_output.
|
|
3001
|
-
tmp1_output.
|
|
3030
|
+
tmp0_serialDesc.iv('startFromTime', true);
|
|
3031
|
+
tmp0_serialDesc.iv('startFrom', true);
|
|
3032
|
+
tmp0_serialDesc.iv('playerTurnTimeout', true);
|
|
3033
|
+
tmp0_serialDesc.iv('waitPlayerUntilTime', true);
|
|
3034
|
+
tmp0_serialDesc.iv('state', false);
|
|
3035
|
+
tmp0_serialDesc.iv('ready', true);
|
|
3036
|
+
tmp0_serialDesc.iv('tag', true);
|
|
3037
|
+
tmp0_serialDesc.iv('connection', true);
|
|
3038
|
+
this.g2b_1 = tmp0_serialDesc;
|
|
3039
|
+
}
|
|
3040
|
+
protoOf($serializer_8).h2b = function (encoder, value) {
|
|
3041
|
+
var tmp0_desc = this.g2b_1;
|
|
3042
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3043
|
+
var tmp2_cached = Companion_getInstance_19().f2b_1;
|
|
3044
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.m2a_1 == null)) {
|
|
3045
|
+
tmp1_output.lp(tmp0_desc, 0, LongSerializer_getInstance(), value.m2a_1);
|
|
3002
3046
|
}
|
|
3003
|
-
if (tmp1_output.
|
|
3004
|
-
tmp1_output.
|
|
3047
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.n2a_1 == null)) {
|
|
3048
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.n2a_1);
|
|
3005
3049
|
}
|
|
3006
|
-
if (tmp1_output.
|
|
3007
|
-
tmp1_output.
|
|
3050
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.o2a_1 == null)) {
|
|
3051
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.o2a_1);
|
|
3008
3052
|
}
|
|
3009
|
-
if (tmp1_output.
|
|
3010
|
-
tmp1_output.
|
|
3053
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.p2a_1 == null)) {
|
|
3054
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.p2a_1);
|
|
3011
3055
|
}
|
|
3012
|
-
tmp1_output.
|
|
3013
|
-
if (tmp1_output.
|
|
3014
|
-
tmp1_output.
|
|
3056
|
+
tmp1_output.jp(tmp0_desc, 4, tmp2_cached[4], value.q2a_1);
|
|
3057
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.r2a_1 == null)) {
|
|
3058
|
+
tmp1_output.lp(tmp0_desc, 5, BooleanSerializer_getInstance(), value.r2a_1);
|
|
3015
3059
|
}
|
|
3016
|
-
if (tmp1_output.
|
|
3017
|
-
tmp1_output.
|
|
3060
|
+
if (tmp1_output.pp(tmp0_desc, 6) ? true : !(value.s2a_1 == null)) {
|
|
3061
|
+
tmp1_output.lp(tmp0_desc, 6, StringSerializer_getInstance(), value.s2a_1);
|
|
3018
3062
|
}
|
|
3019
|
-
if (tmp1_output.
|
|
3020
|
-
tmp1_output.
|
|
3063
|
+
if (tmp1_output.pp(tmp0_desc, 7) ? true : !(value.t2a_1 == null)) {
|
|
3064
|
+
tmp1_output.lp(tmp0_desc, 7, $serializer_getInstance_7(), value.t2a_1);
|
|
3021
3065
|
}
|
|
3022
|
-
tmp1_output.
|
|
3066
|
+
tmp1_output.tn(tmp0_desc);
|
|
3023
3067
|
};
|
|
3024
|
-
protoOf($
|
|
3025
|
-
return this.
|
|
3068
|
+
protoOf($serializer_8).kk = function (encoder, value) {
|
|
3069
|
+
return this.h2b(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3026
3070
|
};
|
|
3027
|
-
protoOf($
|
|
3028
|
-
var tmp0_desc = this.
|
|
3071
|
+
protoOf($serializer_8).lk = function (decoder) {
|
|
3072
|
+
var tmp0_desc = this.g2b_1;
|
|
3029
3073
|
var tmp1_flag = true;
|
|
3030
3074
|
var tmp2_index = 0;
|
|
3031
3075
|
var tmp3_bitMask0 = 0;
|
|
@@ -3037,127 +3081,127 @@
|
|
|
3037
3081
|
var tmp9_local5 = null;
|
|
3038
3082
|
var tmp10_local6 = null;
|
|
3039
3083
|
var tmp11_local7 = null;
|
|
3040
|
-
var tmp12_input = decoder.
|
|
3041
|
-
var tmp13_cached =
|
|
3042
|
-
if (tmp12_input.
|
|
3043
|
-
tmp4_local0 = tmp12_input.
|
|
3084
|
+
var tmp12_input = decoder.sn(tmp0_desc);
|
|
3085
|
+
var tmp13_cached = Companion_getInstance_19().f2b_1;
|
|
3086
|
+
if (tmp12_input.io()) {
|
|
3087
|
+
tmp4_local0 = tmp12_input.go(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3044
3088
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3045
|
-
tmp5_local1 = tmp12_input.
|
|
3089
|
+
tmp5_local1 = tmp12_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3046
3090
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3047
|
-
tmp6_local2 = tmp12_input.
|
|
3091
|
+
tmp6_local2 = tmp12_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3048
3092
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3049
|
-
tmp7_local3 = tmp12_input.
|
|
3093
|
+
tmp7_local3 = tmp12_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3050
3094
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3051
|
-
tmp8_local4 = tmp12_input.
|
|
3095
|
+
tmp8_local4 = tmp12_input.eo(tmp0_desc, 4, tmp13_cached[4], tmp8_local4);
|
|
3052
3096
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3053
|
-
tmp9_local5 = tmp12_input.
|
|
3097
|
+
tmp9_local5 = tmp12_input.go(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3054
3098
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3055
|
-
tmp10_local6 = tmp12_input.
|
|
3099
|
+
tmp10_local6 = tmp12_input.go(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
3056
3100
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3057
|
-
tmp11_local7 = tmp12_input.
|
|
3101
|
+
tmp11_local7 = tmp12_input.go(tmp0_desc, 7, $serializer_getInstance_7(), tmp11_local7);
|
|
3058
3102
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3059
3103
|
} else
|
|
3060
3104
|
while (tmp1_flag) {
|
|
3061
|
-
tmp2_index = tmp12_input.
|
|
3105
|
+
tmp2_index = tmp12_input.jo(tmp0_desc);
|
|
3062
3106
|
switch (tmp2_index) {
|
|
3063
3107
|
case -1:
|
|
3064
3108
|
tmp1_flag = false;
|
|
3065
3109
|
break;
|
|
3066
3110
|
case 0:
|
|
3067
|
-
tmp4_local0 = tmp12_input.
|
|
3111
|
+
tmp4_local0 = tmp12_input.go(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3068
3112
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3069
3113
|
break;
|
|
3070
3114
|
case 1:
|
|
3071
|
-
tmp5_local1 = tmp12_input.
|
|
3115
|
+
tmp5_local1 = tmp12_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3072
3116
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3073
3117
|
break;
|
|
3074
3118
|
case 2:
|
|
3075
|
-
tmp6_local2 = tmp12_input.
|
|
3119
|
+
tmp6_local2 = tmp12_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3076
3120
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3077
3121
|
break;
|
|
3078
3122
|
case 3:
|
|
3079
|
-
tmp7_local3 = tmp12_input.
|
|
3123
|
+
tmp7_local3 = tmp12_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3080
3124
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3081
3125
|
break;
|
|
3082
3126
|
case 4:
|
|
3083
|
-
tmp8_local4 = tmp12_input.
|
|
3127
|
+
tmp8_local4 = tmp12_input.eo(tmp0_desc, 4, tmp13_cached[4], tmp8_local4);
|
|
3084
3128
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3085
3129
|
break;
|
|
3086
3130
|
case 5:
|
|
3087
|
-
tmp9_local5 = tmp12_input.
|
|
3131
|
+
tmp9_local5 = tmp12_input.go(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3088
3132
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3089
3133
|
break;
|
|
3090
3134
|
case 6:
|
|
3091
|
-
tmp10_local6 = tmp12_input.
|
|
3135
|
+
tmp10_local6 = tmp12_input.go(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
3092
3136
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3093
3137
|
break;
|
|
3094
3138
|
case 7:
|
|
3095
|
-
tmp11_local7 = tmp12_input.
|
|
3139
|
+
tmp11_local7 = tmp12_input.go(tmp0_desc, 7, $serializer_getInstance_7(), tmp11_local7);
|
|
3096
3140
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3097
3141
|
break;
|
|
3098
3142
|
default:
|
|
3099
3143
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3100
3144
|
}
|
|
3101
3145
|
}
|
|
3102
|
-
tmp12_input.
|
|
3146
|
+
tmp12_input.tn(tmp0_desc);
|
|
3103
3147
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3104
3148
|
};
|
|
3105
|
-
protoOf($
|
|
3106
|
-
return this.
|
|
3149
|
+
protoOf($serializer_8).jk = function () {
|
|
3150
|
+
return this.g2b_1;
|
|
3107
3151
|
};
|
|
3108
|
-
protoOf($
|
|
3109
|
-
var tmp0_cached =
|
|
3152
|
+
protoOf($serializer_8).xv = function () {
|
|
3153
|
+
var tmp0_cached = Companion_getInstance_19().f2b_1;
|
|
3110
3154
|
// Inline function 'kotlin.arrayOf' call
|
|
3111
3155
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3112
3156
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3113
|
-
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($
|
|
3157
|
+
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_7())];
|
|
3114
3158
|
};
|
|
3115
|
-
var $
|
|
3116
|
-
function $
|
|
3117
|
-
if ($
|
|
3118
|
-
new $
|
|
3119
|
-
return $
|
|
3159
|
+
var $serializer_instance_8;
|
|
3160
|
+
function $serializer_getInstance_8() {
|
|
3161
|
+
if ($serializer_instance_8 == null)
|
|
3162
|
+
new $serializer_8();
|
|
3163
|
+
return $serializer_instance_8;
|
|
3120
3164
|
}
|
|
3121
3165
|
function PlayerStateDto_init_$Init$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3122
3166
|
if (!(16 === (16 & seen0))) {
|
|
3123
|
-
throwMissingFieldException(seen0, 16, $
|
|
3167
|
+
throwMissingFieldException(seen0, 16, $serializer_getInstance_8().g2b_1);
|
|
3124
3168
|
}
|
|
3125
3169
|
if (0 === (seen0 & 1))
|
|
3126
|
-
$this.
|
|
3170
|
+
$this.m2a_1 = null;
|
|
3127
3171
|
else
|
|
3128
|
-
$this.
|
|
3172
|
+
$this.m2a_1 = startFromTime;
|
|
3129
3173
|
if (0 === (seen0 & 2))
|
|
3130
|
-
$this.
|
|
3174
|
+
$this.n2a_1 = null;
|
|
3131
3175
|
else
|
|
3132
|
-
$this.
|
|
3176
|
+
$this.n2a_1 = startFrom;
|
|
3133
3177
|
if (0 === (seen0 & 4))
|
|
3134
|
-
$this.
|
|
3178
|
+
$this.o2a_1 = null;
|
|
3135
3179
|
else
|
|
3136
|
-
$this.
|
|
3180
|
+
$this.o2a_1 = playerTurnTimeout;
|
|
3137
3181
|
if (0 === (seen0 & 8))
|
|
3138
|
-
$this.
|
|
3182
|
+
$this.p2a_1 = null;
|
|
3139
3183
|
else
|
|
3140
|
-
$this.
|
|
3141
|
-
$this.
|
|
3184
|
+
$this.p2a_1 = waitPlayerUntilTime;
|
|
3185
|
+
$this.q2a_1 = state;
|
|
3142
3186
|
if (0 === (seen0 & 32))
|
|
3143
|
-
$this.
|
|
3187
|
+
$this.r2a_1 = null;
|
|
3144
3188
|
else
|
|
3145
|
-
$this.
|
|
3189
|
+
$this.r2a_1 = ready;
|
|
3146
3190
|
if (0 === (seen0 & 64))
|
|
3147
|
-
$this.
|
|
3191
|
+
$this.s2a_1 = null;
|
|
3148
3192
|
else
|
|
3149
|
-
$this.
|
|
3193
|
+
$this.s2a_1 = tag;
|
|
3150
3194
|
if (0 === (seen0 & 128))
|
|
3151
|
-
$this.
|
|
3195
|
+
$this.t2a_1 = null;
|
|
3152
3196
|
else
|
|
3153
|
-
$this.
|
|
3197
|
+
$this.t2a_1 = connection;
|
|
3154
3198
|
return $this;
|
|
3155
3199
|
}
|
|
3156
3200
|
function PlayerStateDto_init_$Create$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
3157
3201
|
return PlayerStateDto_init_$Init$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, objectCreate(protoOf(PlayerStateDto)));
|
|
3158
3202
|
}
|
|
3159
3203
|
function PlayerStateDto(startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
3160
|
-
|
|
3204
|
+
Companion_getInstance_19();
|
|
3161
3205
|
startFromTime = startFromTime === VOID ? null : startFromTime;
|
|
3162
3206
|
startFrom = startFrom === VOID ? null : startFrom;
|
|
3163
3207
|
playerTurnTimeout = playerTurnTimeout === VOID ? null : playerTurnTimeout;
|
|
@@ -3165,27 +3209,27 @@
|
|
|
3165
3209
|
ready = ready === VOID ? null : ready;
|
|
3166
3210
|
tag = tag === VOID ? null : tag;
|
|
3167
3211
|
connection = connection === VOID ? null : connection;
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3170
|
-
this.
|
|
3171
|
-
this.
|
|
3172
|
-
this.
|
|
3173
|
-
this.
|
|
3174
|
-
this.
|
|
3175
|
-
this.
|
|
3212
|
+
this.m2a_1 = startFromTime;
|
|
3213
|
+
this.n2a_1 = startFrom;
|
|
3214
|
+
this.o2a_1 = playerTurnTimeout;
|
|
3215
|
+
this.p2a_1 = waitPlayerUntilTime;
|
|
3216
|
+
this.q2a_1 = state;
|
|
3217
|
+
this.r2a_1 = ready;
|
|
3218
|
+
this.s2a_1 = tag;
|
|
3219
|
+
this.t2a_1 = connection;
|
|
3176
3220
|
}
|
|
3177
3221
|
protoOf(PlayerStateDto).toString = function () {
|
|
3178
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3222
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.m2a_1) + ', startFrom=' + this.n2a_1 + ', playerTurnTimeout=' + this.o2a_1 + ', waitPlayerUntilTime=' + this.p2a_1 + ', state=' + this.q2a_1.toString() + ', ready=' + this.r2a_1 + ', tag=' + this.s2a_1 + ', connection=' + toString(this.t2a_1) + ')';
|
|
3179
3223
|
};
|
|
3180
3224
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3181
|
-
var result = this.
|
|
3182
|
-
result = imul(result, 31) + (this.
|
|
3183
|
-
result = imul(result, 31) + (this.
|
|
3184
|
-
result = imul(result, 31) + (this.
|
|
3185
|
-
result = imul(result, 31) + this.
|
|
3186
|
-
result = imul(result, 31) + (this.
|
|
3187
|
-
result = imul(result, 31) + (this.
|
|
3188
|
-
result = imul(result, 31) + (this.
|
|
3225
|
+
var result = this.m2a_1 == null ? 0 : this.m2a_1.hashCode();
|
|
3226
|
+
result = imul(result, 31) + (this.n2a_1 == null ? 0 : getStringHashCode(this.n2a_1)) | 0;
|
|
3227
|
+
result = imul(result, 31) + (this.o2a_1 == null ? 0 : getStringHashCode(this.o2a_1)) | 0;
|
|
3228
|
+
result = imul(result, 31) + (this.p2a_1 == null ? 0 : getStringHashCode(this.p2a_1)) | 0;
|
|
3229
|
+
result = imul(result, 31) + this.q2a_1.hashCode() | 0;
|
|
3230
|
+
result = imul(result, 31) + (this.r2a_1 == null ? 0 : getBooleanHashCode(this.r2a_1)) | 0;
|
|
3231
|
+
result = imul(result, 31) + (this.s2a_1 == null ? 0 : getStringHashCode(this.s2a_1)) | 0;
|
|
3232
|
+
result = imul(result, 31) + (this.t2a_1 == null ? 0 : this.t2a_1.hashCode()) | 0;
|
|
3189
3233
|
return result;
|
|
3190
3234
|
};
|
|
3191
3235
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3194,150 +3238,150 @@
|
|
|
3194
3238
|
if (!(other instanceof PlayerStateDto))
|
|
3195
3239
|
return false;
|
|
3196
3240
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3197
|
-
if (!equals(this.
|
|
3241
|
+
if (!equals(this.m2a_1, tmp0_other_with_cast.m2a_1))
|
|
3198
3242
|
return false;
|
|
3199
|
-
if (!(this.
|
|
3243
|
+
if (!(this.n2a_1 == tmp0_other_with_cast.n2a_1))
|
|
3200
3244
|
return false;
|
|
3201
|
-
if (!(this.
|
|
3245
|
+
if (!(this.o2a_1 == tmp0_other_with_cast.o2a_1))
|
|
3202
3246
|
return false;
|
|
3203
|
-
if (!(this.
|
|
3247
|
+
if (!(this.p2a_1 == tmp0_other_with_cast.p2a_1))
|
|
3204
3248
|
return false;
|
|
3205
|
-
if (!this.
|
|
3249
|
+
if (!this.q2a_1.equals(tmp0_other_with_cast.q2a_1))
|
|
3206
3250
|
return false;
|
|
3207
|
-
if (!(this.
|
|
3251
|
+
if (!(this.r2a_1 == tmp0_other_with_cast.r2a_1))
|
|
3208
3252
|
return false;
|
|
3209
|
-
if (!(this.
|
|
3253
|
+
if (!(this.s2a_1 == tmp0_other_with_cast.s2a_1))
|
|
3210
3254
|
return false;
|
|
3211
|
-
if (!equals(this.
|
|
3255
|
+
if (!equals(this.t2a_1, tmp0_other_with_cast.t2a_1))
|
|
3212
3256
|
return false;
|
|
3213
3257
|
return true;
|
|
3214
3258
|
};
|
|
3215
|
-
function
|
|
3216
|
-
|
|
3259
|
+
function Companion_18() {
|
|
3260
|
+
Companion_instance_18 = this;
|
|
3217
3261
|
var tmp = this;
|
|
3218
3262
|
// Inline function 'kotlin.arrayOf' call
|
|
3219
3263
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3220
3264
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3221
|
-
tmp.
|
|
3265
|
+
tmp.i2b_1 = [null, null, null, null, null, null, null, null, new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3222
3266
|
}
|
|
3223
|
-
var
|
|
3224
|
-
function
|
|
3225
|
-
if (
|
|
3226
|
-
new
|
|
3227
|
-
return
|
|
3267
|
+
var Companion_instance_18;
|
|
3268
|
+
function Companion_getInstance_20() {
|
|
3269
|
+
if (Companion_instance_18 == null)
|
|
3270
|
+
new Companion_18();
|
|
3271
|
+
return Companion_instance_18;
|
|
3228
3272
|
}
|
|
3229
|
-
function $
|
|
3230
|
-
$
|
|
3273
|
+
function $serializer_9() {
|
|
3274
|
+
$serializer_instance_9 = this;
|
|
3231
3275
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 24);
|
|
3232
|
-
tmp0_serialDesc.
|
|
3233
|
-
tmp0_serialDesc.
|
|
3234
|
-
tmp0_serialDesc.
|
|
3235
|
-
tmp0_serialDesc.
|
|
3236
|
-
tmp0_serialDesc.
|
|
3237
|
-
tmp0_serialDesc.
|
|
3238
|
-
tmp0_serialDesc.
|
|
3239
|
-
tmp0_serialDesc.
|
|
3240
|
-
tmp0_serialDesc.
|
|
3241
|
-
tmp0_serialDesc.
|
|
3242
|
-
tmp0_serialDesc.
|
|
3243
|
-
tmp0_serialDesc.
|
|
3244
|
-
tmp0_serialDesc.
|
|
3245
|
-
tmp0_serialDesc.
|
|
3246
|
-
tmp0_serialDesc.
|
|
3247
|
-
tmp0_serialDesc.
|
|
3248
|
-
tmp0_serialDesc.
|
|
3249
|
-
tmp0_serialDesc.
|
|
3250
|
-
tmp0_serialDesc.
|
|
3251
|
-
tmp0_serialDesc.
|
|
3252
|
-
tmp0_serialDesc.
|
|
3253
|
-
tmp0_serialDesc.
|
|
3254
|
-
tmp0_serialDesc.
|
|
3255
|
-
tmp0_serialDesc.
|
|
3256
|
-
this.
|
|
3257
|
-
}
|
|
3258
|
-
protoOf($
|
|
3259
|
-
var tmp0_desc = this.
|
|
3260
|
-
var tmp1_output = encoder.
|
|
3261
|
-
var tmp2_cached =
|
|
3262
|
-
if (tmp1_output.
|
|
3263
|
-
tmp1_output.
|
|
3276
|
+
tmp0_serialDesc.iv('needToPutHigherTrump', true);
|
|
3277
|
+
tmp0_serialDesc.iv('playerWhoChooseSuitGoFirst', true);
|
|
3278
|
+
tmp0_serialDesc.iv('winnerShuffleCards', true);
|
|
3279
|
+
tmp0_serialDesc.iv('playWithoutLiabilities', true);
|
|
3280
|
+
tmp0_serialDesc.iv('trumpCardGoToPlayerWhoShuffleCards', true);
|
|
3281
|
+
tmp0_serialDesc.iv('dealerInitialCardsCount', true);
|
|
3282
|
+
tmp0_serialDesc.iv('dealerFinalCardsCount', true);
|
|
3283
|
+
tmp0_serialDesc.iv('dealerCounterClockwise', true);
|
|
3284
|
+
tmp0_serialDesc.iv('contractTypes', true);
|
|
3285
|
+
tmp0_serialDesc.iv('bidTypes', true);
|
|
3286
|
+
tmp0_serialDesc.iv('combinationsWithFirstCard', true);
|
|
3287
|
+
tmp0_serialDesc.iv('protectBella', true);
|
|
3288
|
+
tmp0_serialDesc.iv('oneTryToProtectBella', true);
|
|
3289
|
+
tmp0_serialDesc.iv('enableFourSevensCombination', true);
|
|
3290
|
+
tmp0_serialDesc.iv('enableTrumpSevenCombination', true);
|
|
3291
|
+
tmp0_serialDesc.iv('enableTrumpSevenCombinationAfterDistribution', true);
|
|
3292
|
+
tmp0_serialDesc.iv('checkTrumpCombination', true);
|
|
3293
|
+
tmp0_serialDesc.iv('checkOnlyTrumpDebertz', true);
|
|
3294
|
+
tmp0_serialDesc.iv('distributePoints', true);
|
|
3295
|
+
tmp0_serialDesc.iv('pointsDistributeMode', true);
|
|
3296
|
+
tmp0_serialDesc.iv('enableFineIfNoBribes', true);
|
|
3297
|
+
tmp0_serialDesc.iv('fineIfNoBribes', true);
|
|
3298
|
+
tmp0_serialDesc.iv('enableFineAfterThirdByte', true);
|
|
3299
|
+
tmp0_serialDesc.iv('fineAfterThirdFailedContract', true);
|
|
3300
|
+
this.j2b_1 = tmp0_serialDesc;
|
|
3301
|
+
}
|
|
3302
|
+
protoOf($serializer_9).k2b = function (encoder, value) {
|
|
3303
|
+
var tmp0_desc = this.j2b_1;
|
|
3304
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3305
|
+
var tmp2_cached = Companion_getInstance_20().i2b_1;
|
|
3306
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.l2b_1 == null)) {
|
|
3307
|
+
tmp1_output.lp(tmp0_desc, 0, BooleanSerializer_getInstance(), value.l2b_1);
|
|
3264
3308
|
}
|
|
3265
|
-
if (tmp1_output.
|
|
3266
|
-
tmp1_output.
|
|
3309
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.m2b_1 == null)) {
|
|
3310
|
+
tmp1_output.lp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.m2b_1);
|
|
3267
3311
|
}
|
|
3268
|
-
if (tmp1_output.
|
|
3269
|
-
tmp1_output.
|
|
3312
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.n2b_1 == null)) {
|
|
3313
|
+
tmp1_output.lp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.n2b_1);
|
|
3270
3314
|
}
|
|
3271
|
-
if (tmp1_output.
|
|
3272
|
-
tmp1_output.
|
|
3315
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.o2b_1 == null)) {
|
|
3316
|
+
tmp1_output.lp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.o2b_1);
|
|
3273
3317
|
}
|
|
3274
|
-
if (tmp1_output.
|
|
3275
|
-
tmp1_output.
|
|
3318
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.p2b_1 == null)) {
|
|
3319
|
+
tmp1_output.lp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.p2b_1);
|
|
3276
3320
|
}
|
|
3277
|
-
if (tmp1_output.
|
|
3278
|
-
tmp1_output.
|
|
3321
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.q2b_1 == null)) {
|
|
3322
|
+
tmp1_output.lp(tmp0_desc, 5, IntSerializer_getInstance(), value.q2b_1);
|
|
3279
3323
|
}
|
|
3280
|
-
if (tmp1_output.
|
|
3281
|
-
tmp1_output.
|
|
3324
|
+
if (tmp1_output.pp(tmp0_desc, 6) ? true : !(value.r2b_1 == null)) {
|
|
3325
|
+
tmp1_output.lp(tmp0_desc, 6, IntSerializer_getInstance(), value.r2b_1);
|
|
3282
3326
|
}
|
|
3283
|
-
if (tmp1_output.
|
|
3284
|
-
tmp1_output.
|
|
3327
|
+
if (tmp1_output.pp(tmp0_desc, 7) ? true : !(value.s2b_1 == null)) {
|
|
3328
|
+
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.s2b_1);
|
|
3285
3329
|
}
|
|
3286
|
-
if (tmp1_output.
|
|
3287
|
-
tmp1_output.
|
|
3330
|
+
if (tmp1_output.pp(tmp0_desc, 8) ? true : !(value.t2b_1 == null)) {
|
|
3331
|
+
tmp1_output.lp(tmp0_desc, 8, tmp2_cached[8], value.t2b_1);
|
|
3288
3332
|
}
|
|
3289
|
-
if (tmp1_output.
|
|
3290
|
-
tmp1_output.
|
|
3333
|
+
if (tmp1_output.pp(tmp0_desc, 9) ? true : !(value.u2b_1 == null)) {
|
|
3334
|
+
tmp1_output.lp(tmp0_desc, 9, tmp2_cached[9], value.u2b_1);
|
|
3291
3335
|
}
|
|
3292
|
-
if (tmp1_output.
|
|
3293
|
-
tmp1_output.
|
|
3336
|
+
if (tmp1_output.pp(tmp0_desc, 10) ? true : !(value.v2b_1 == null)) {
|
|
3337
|
+
tmp1_output.lp(tmp0_desc, 10, tmp2_cached[10], value.v2b_1);
|
|
3294
3338
|
}
|
|
3295
|
-
if (tmp1_output.
|
|
3296
|
-
tmp1_output.
|
|
3339
|
+
if (tmp1_output.pp(tmp0_desc, 11) ? true : !(value.w2b_1 == null)) {
|
|
3340
|
+
tmp1_output.lp(tmp0_desc, 11, BooleanSerializer_getInstance(), value.w2b_1);
|
|
3297
3341
|
}
|
|
3298
|
-
if (tmp1_output.
|
|
3299
|
-
tmp1_output.
|
|
3342
|
+
if (tmp1_output.pp(tmp0_desc, 12) ? true : !(value.x2b_1 == null)) {
|
|
3343
|
+
tmp1_output.lp(tmp0_desc, 12, BooleanSerializer_getInstance(), value.x2b_1);
|
|
3300
3344
|
}
|
|
3301
|
-
if (tmp1_output.
|
|
3302
|
-
tmp1_output.
|
|
3345
|
+
if (tmp1_output.pp(tmp0_desc, 13) ? true : !(value.y2b_1 == null)) {
|
|
3346
|
+
tmp1_output.lp(tmp0_desc, 13, BooleanSerializer_getInstance(), value.y2b_1);
|
|
3303
3347
|
}
|
|
3304
|
-
if (tmp1_output.
|
|
3305
|
-
tmp1_output.
|
|
3348
|
+
if (tmp1_output.pp(tmp0_desc, 14) ? true : !(value.z2b_1 == null)) {
|
|
3349
|
+
tmp1_output.lp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.z2b_1);
|
|
3306
3350
|
}
|
|
3307
|
-
if (tmp1_output.
|
|
3308
|
-
tmp1_output.
|
|
3351
|
+
if (tmp1_output.pp(tmp0_desc, 15) ? true : !(value.a2c_1 == null)) {
|
|
3352
|
+
tmp1_output.lp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.a2c_1);
|
|
3309
3353
|
}
|
|
3310
|
-
if (tmp1_output.
|
|
3311
|
-
tmp1_output.
|
|
3354
|
+
if (tmp1_output.pp(tmp0_desc, 16) ? true : !(value.b2c_1 == null)) {
|
|
3355
|
+
tmp1_output.lp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.b2c_1);
|
|
3312
3356
|
}
|
|
3313
|
-
if (tmp1_output.
|
|
3314
|
-
tmp1_output.
|
|
3357
|
+
if (tmp1_output.pp(tmp0_desc, 17) ? true : !(value.c2c_1 == null)) {
|
|
3358
|
+
tmp1_output.lp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.c2c_1);
|
|
3315
3359
|
}
|
|
3316
|
-
if (tmp1_output.
|
|
3317
|
-
tmp1_output.
|
|
3360
|
+
if (tmp1_output.pp(tmp0_desc, 18) ? true : !(value.d2c_1 == null)) {
|
|
3361
|
+
tmp1_output.lp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.d2c_1);
|
|
3318
3362
|
}
|
|
3319
|
-
if (tmp1_output.
|
|
3320
|
-
tmp1_output.
|
|
3363
|
+
if (tmp1_output.pp(tmp0_desc, 19) ? true : !(value.e2c_1 == null)) {
|
|
3364
|
+
tmp1_output.lp(tmp0_desc, 19, StringSerializer_getInstance(), value.e2c_1);
|
|
3321
3365
|
}
|
|
3322
|
-
if (tmp1_output.
|
|
3323
|
-
tmp1_output.
|
|
3366
|
+
if (tmp1_output.pp(tmp0_desc, 20) ? true : !(value.f2c_1 == null)) {
|
|
3367
|
+
tmp1_output.lp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.f2c_1);
|
|
3324
3368
|
}
|
|
3325
|
-
if (tmp1_output.
|
|
3326
|
-
tmp1_output.
|
|
3369
|
+
if (tmp1_output.pp(tmp0_desc, 21) ? true : !(value.g2c_1 == null)) {
|
|
3370
|
+
tmp1_output.lp(tmp0_desc, 21, IntSerializer_getInstance(), value.g2c_1);
|
|
3327
3371
|
}
|
|
3328
|
-
if (tmp1_output.
|
|
3329
|
-
tmp1_output.
|
|
3372
|
+
if (tmp1_output.pp(tmp0_desc, 22) ? true : !(value.h2c_1 == null)) {
|
|
3373
|
+
tmp1_output.lp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.h2c_1);
|
|
3330
3374
|
}
|
|
3331
|
-
if (tmp1_output.
|
|
3332
|
-
tmp1_output.
|
|
3375
|
+
if (tmp1_output.pp(tmp0_desc, 23) ? true : !(value.i2c_1 == null)) {
|
|
3376
|
+
tmp1_output.lp(tmp0_desc, 23, IntSerializer_getInstance(), value.i2c_1);
|
|
3333
3377
|
}
|
|
3334
|
-
tmp1_output.
|
|
3378
|
+
tmp1_output.tn(tmp0_desc);
|
|
3335
3379
|
};
|
|
3336
|
-
protoOf($
|
|
3337
|
-
return this.
|
|
3380
|
+
protoOf($serializer_9).kk = function (encoder, value) {
|
|
3381
|
+
return this.k2b(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3338
3382
|
};
|
|
3339
|
-
protoOf($
|
|
3340
|
-
var tmp0_desc = this.
|
|
3383
|
+
protoOf($serializer_9).lk = function (decoder) {
|
|
3384
|
+
var tmp0_desc = this.j2b_1;
|
|
3341
3385
|
var tmp1_flag = true;
|
|
3342
3386
|
var tmp2_index = 0;
|
|
3343
3387
|
var tmp3_bitMask0 = 0;
|
|
@@ -3365,290 +3409,290 @@
|
|
|
3365
3409
|
var tmp25_local21 = null;
|
|
3366
3410
|
var tmp26_local22 = null;
|
|
3367
3411
|
var tmp27_local23 = null;
|
|
3368
|
-
var tmp28_input = decoder.
|
|
3369
|
-
var tmp29_cached =
|
|
3370
|
-
if (tmp28_input.
|
|
3371
|
-
tmp4_local0 = tmp28_input.
|
|
3412
|
+
var tmp28_input = decoder.sn(tmp0_desc);
|
|
3413
|
+
var tmp29_cached = Companion_getInstance_20().i2b_1;
|
|
3414
|
+
if (tmp28_input.io()) {
|
|
3415
|
+
tmp4_local0 = tmp28_input.go(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
3372
3416
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3373
|
-
tmp5_local1 = tmp28_input.
|
|
3417
|
+
tmp5_local1 = tmp28_input.go(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3374
3418
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3375
|
-
tmp6_local2 = tmp28_input.
|
|
3419
|
+
tmp6_local2 = tmp28_input.go(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3376
3420
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3377
|
-
tmp7_local3 = tmp28_input.
|
|
3421
|
+
tmp7_local3 = tmp28_input.go(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3378
3422
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3379
|
-
tmp8_local4 = tmp28_input.
|
|
3423
|
+
tmp8_local4 = tmp28_input.go(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3380
3424
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3381
|
-
tmp9_local5 = tmp28_input.
|
|
3425
|
+
tmp9_local5 = tmp28_input.go(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3382
3426
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3383
|
-
tmp10_local6 = tmp28_input.
|
|
3427
|
+
tmp10_local6 = tmp28_input.go(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3384
3428
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3385
|
-
tmp11_local7 = tmp28_input.
|
|
3429
|
+
tmp11_local7 = tmp28_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3386
3430
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3387
|
-
tmp12_local8 = tmp28_input.
|
|
3431
|
+
tmp12_local8 = tmp28_input.go(tmp0_desc, 8, tmp29_cached[8], tmp12_local8);
|
|
3388
3432
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3389
|
-
tmp13_local9 = tmp28_input.
|
|
3433
|
+
tmp13_local9 = tmp28_input.go(tmp0_desc, 9, tmp29_cached[9], tmp13_local9);
|
|
3390
3434
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3391
|
-
tmp14_local10 = tmp28_input.
|
|
3435
|
+
tmp14_local10 = tmp28_input.go(tmp0_desc, 10, tmp29_cached[10], tmp14_local10);
|
|
3392
3436
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3393
|
-
tmp15_local11 = tmp28_input.
|
|
3437
|
+
tmp15_local11 = tmp28_input.go(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
3394
3438
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3395
|
-
tmp16_local12 = tmp28_input.
|
|
3439
|
+
tmp16_local12 = tmp28_input.go(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
3396
3440
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3397
|
-
tmp17_local13 = tmp28_input.
|
|
3441
|
+
tmp17_local13 = tmp28_input.go(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
3398
3442
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3399
|
-
tmp18_local14 = tmp28_input.
|
|
3443
|
+
tmp18_local14 = tmp28_input.go(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3400
3444
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3401
|
-
tmp19_local15 = tmp28_input.
|
|
3445
|
+
tmp19_local15 = tmp28_input.go(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3402
3446
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3403
|
-
tmp20_local16 = tmp28_input.
|
|
3447
|
+
tmp20_local16 = tmp28_input.go(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3404
3448
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3405
|
-
tmp21_local17 = tmp28_input.
|
|
3449
|
+
tmp21_local17 = tmp28_input.go(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3406
3450
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3407
|
-
tmp22_local18 = tmp28_input.
|
|
3451
|
+
tmp22_local18 = tmp28_input.go(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3408
3452
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3409
|
-
tmp23_local19 = tmp28_input.
|
|
3453
|
+
tmp23_local19 = tmp28_input.go(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
3410
3454
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3411
|
-
tmp24_local20 = tmp28_input.
|
|
3455
|
+
tmp24_local20 = tmp28_input.go(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3412
3456
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3413
|
-
tmp25_local21 = tmp28_input.
|
|
3457
|
+
tmp25_local21 = tmp28_input.go(tmp0_desc, 21, IntSerializer_getInstance(), tmp25_local21);
|
|
3414
3458
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3415
|
-
tmp26_local22 = tmp28_input.
|
|
3459
|
+
tmp26_local22 = tmp28_input.go(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3416
3460
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3417
|
-
tmp27_local23 = tmp28_input.
|
|
3461
|
+
tmp27_local23 = tmp28_input.go(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3418
3462
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3419
3463
|
} else
|
|
3420
3464
|
while (tmp1_flag) {
|
|
3421
|
-
tmp2_index = tmp28_input.
|
|
3465
|
+
tmp2_index = tmp28_input.jo(tmp0_desc);
|
|
3422
3466
|
switch (tmp2_index) {
|
|
3423
3467
|
case -1:
|
|
3424
3468
|
tmp1_flag = false;
|
|
3425
3469
|
break;
|
|
3426
3470
|
case 0:
|
|
3427
|
-
tmp4_local0 = tmp28_input.
|
|
3471
|
+
tmp4_local0 = tmp28_input.go(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
3428
3472
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3429
3473
|
break;
|
|
3430
3474
|
case 1:
|
|
3431
|
-
tmp5_local1 = tmp28_input.
|
|
3475
|
+
tmp5_local1 = tmp28_input.go(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3432
3476
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3433
3477
|
break;
|
|
3434
3478
|
case 2:
|
|
3435
|
-
tmp6_local2 = tmp28_input.
|
|
3479
|
+
tmp6_local2 = tmp28_input.go(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3436
3480
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3437
3481
|
break;
|
|
3438
3482
|
case 3:
|
|
3439
|
-
tmp7_local3 = tmp28_input.
|
|
3483
|
+
tmp7_local3 = tmp28_input.go(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3440
3484
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3441
3485
|
break;
|
|
3442
3486
|
case 4:
|
|
3443
|
-
tmp8_local4 = tmp28_input.
|
|
3487
|
+
tmp8_local4 = tmp28_input.go(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3444
3488
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3445
3489
|
break;
|
|
3446
3490
|
case 5:
|
|
3447
|
-
tmp9_local5 = tmp28_input.
|
|
3491
|
+
tmp9_local5 = tmp28_input.go(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3448
3492
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3449
3493
|
break;
|
|
3450
3494
|
case 6:
|
|
3451
|
-
tmp10_local6 = tmp28_input.
|
|
3495
|
+
tmp10_local6 = tmp28_input.go(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3452
3496
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3453
3497
|
break;
|
|
3454
3498
|
case 7:
|
|
3455
|
-
tmp11_local7 = tmp28_input.
|
|
3499
|
+
tmp11_local7 = tmp28_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3456
3500
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3457
3501
|
break;
|
|
3458
3502
|
case 8:
|
|
3459
|
-
tmp12_local8 = tmp28_input.
|
|
3503
|
+
tmp12_local8 = tmp28_input.go(tmp0_desc, 8, tmp29_cached[8], tmp12_local8);
|
|
3460
3504
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3461
3505
|
break;
|
|
3462
3506
|
case 9:
|
|
3463
|
-
tmp13_local9 = tmp28_input.
|
|
3507
|
+
tmp13_local9 = tmp28_input.go(tmp0_desc, 9, tmp29_cached[9], tmp13_local9);
|
|
3464
3508
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3465
3509
|
break;
|
|
3466
3510
|
case 10:
|
|
3467
|
-
tmp14_local10 = tmp28_input.
|
|
3511
|
+
tmp14_local10 = tmp28_input.go(tmp0_desc, 10, tmp29_cached[10], tmp14_local10);
|
|
3468
3512
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3469
3513
|
break;
|
|
3470
3514
|
case 11:
|
|
3471
|
-
tmp15_local11 = tmp28_input.
|
|
3515
|
+
tmp15_local11 = tmp28_input.go(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
3472
3516
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3473
3517
|
break;
|
|
3474
3518
|
case 12:
|
|
3475
|
-
tmp16_local12 = tmp28_input.
|
|
3519
|
+
tmp16_local12 = tmp28_input.go(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
3476
3520
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3477
3521
|
break;
|
|
3478
3522
|
case 13:
|
|
3479
|
-
tmp17_local13 = tmp28_input.
|
|
3523
|
+
tmp17_local13 = tmp28_input.go(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
3480
3524
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3481
3525
|
break;
|
|
3482
3526
|
case 14:
|
|
3483
|
-
tmp18_local14 = tmp28_input.
|
|
3527
|
+
tmp18_local14 = tmp28_input.go(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3484
3528
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3485
3529
|
break;
|
|
3486
3530
|
case 15:
|
|
3487
|
-
tmp19_local15 = tmp28_input.
|
|
3531
|
+
tmp19_local15 = tmp28_input.go(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3488
3532
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3489
3533
|
break;
|
|
3490
3534
|
case 16:
|
|
3491
|
-
tmp20_local16 = tmp28_input.
|
|
3535
|
+
tmp20_local16 = tmp28_input.go(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3492
3536
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3493
3537
|
break;
|
|
3494
3538
|
case 17:
|
|
3495
|
-
tmp21_local17 = tmp28_input.
|
|
3539
|
+
tmp21_local17 = tmp28_input.go(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3496
3540
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3497
3541
|
break;
|
|
3498
3542
|
case 18:
|
|
3499
|
-
tmp22_local18 = tmp28_input.
|
|
3543
|
+
tmp22_local18 = tmp28_input.go(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3500
3544
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3501
3545
|
break;
|
|
3502
3546
|
case 19:
|
|
3503
|
-
tmp23_local19 = tmp28_input.
|
|
3547
|
+
tmp23_local19 = tmp28_input.go(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
3504
3548
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3505
3549
|
break;
|
|
3506
3550
|
case 20:
|
|
3507
|
-
tmp24_local20 = tmp28_input.
|
|
3551
|
+
tmp24_local20 = tmp28_input.go(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3508
3552
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3509
3553
|
break;
|
|
3510
3554
|
case 21:
|
|
3511
|
-
tmp25_local21 = tmp28_input.
|
|
3555
|
+
tmp25_local21 = tmp28_input.go(tmp0_desc, 21, IntSerializer_getInstance(), tmp25_local21);
|
|
3512
3556
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3513
3557
|
break;
|
|
3514
3558
|
case 22:
|
|
3515
|
-
tmp26_local22 = tmp28_input.
|
|
3559
|
+
tmp26_local22 = tmp28_input.go(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3516
3560
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3517
3561
|
break;
|
|
3518
3562
|
case 23:
|
|
3519
|
-
tmp27_local23 = tmp28_input.
|
|
3563
|
+
tmp27_local23 = tmp28_input.go(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3520
3564
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3521
3565
|
break;
|
|
3522
3566
|
default:
|
|
3523
3567
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3524
3568
|
}
|
|
3525
3569
|
}
|
|
3526
|
-
tmp28_input.
|
|
3570
|
+
tmp28_input.tn(tmp0_desc);
|
|
3527
3571
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, null);
|
|
3528
3572
|
};
|
|
3529
|
-
protoOf($
|
|
3530
|
-
return this.
|
|
3573
|
+
protoOf($serializer_9).jk = function () {
|
|
3574
|
+
return this.j2b_1;
|
|
3531
3575
|
};
|
|
3532
|
-
protoOf($
|
|
3533
|
-
var tmp0_cached =
|
|
3576
|
+
protoOf($serializer_9).xv = function () {
|
|
3577
|
+
var tmp0_cached = Companion_getInstance_20().i2b_1;
|
|
3534
3578
|
// Inline function 'kotlin.arrayOf' call
|
|
3535
3579
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3536
3580
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3537
3581
|
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[8]), get_nullable(tmp0_cached[9]), get_nullable(tmp0_cached[10]), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
|
|
3538
3582
|
};
|
|
3539
|
-
var $
|
|
3540
|
-
function $
|
|
3541
|
-
if ($
|
|
3542
|
-
new $
|
|
3543
|
-
return $
|
|
3583
|
+
var $serializer_instance_9;
|
|
3584
|
+
function $serializer_getInstance_9() {
|
|
3585
|
+
if ($serializer_instance_9 == null)
|
|
3586
|
+
new $serializer_9();
|
|
3587
|
+
return $serializer_instance_9;
|
|
3544
3588
|
}
|
|
3545
3589
|
function RulesDto_init_$Init$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3546
3590
|
if (!(0 === (0 & seen0))) {
|
|
3547
|
-
throwMissingFieldException(seen0, 0, $
|
|
3591
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().j2b_1);
|
|
3548
3592
|
}
|
|
3549
3593
|
if (0 === (seen0 & 1))
|
|
3550
|
-
$this.
|
|
3594
|
+
$this.l2b_1 = null;
|
|
3551
3595
|
else
|
|
3552
|
-
$this.
|
|
3596
|
+
$this.l2b_1 = needToPutHigherTrump;
|
|
3553
3597
|
if (0 === (seen0 & 2))
|
|
3554
|
-
$this.
|
|
3598
|
+
$this.m2b_1 = null;
|
|
3555
3599
|
else
|
|
3556
|
-
$this.
|
|
3600
|
+
$this.m2b_1 = playerWhoChooseSuitGoFirst;
|
|
3557
3601
|
if (0 === (seen0 & 4))
|
|
3558
|
-
$this.
|
|
3602
|
+
$this.n2b_1 = null;
|
|
3559
3603
|
else
|
|
3560
|
-
$this.
|
|
3604
|
+
$this.n2b_1 = winnerShuffleCards;
|
|
3561
3605
|
if (0 === (seen0 & 8))
|
|
3562
|
-
$this.
|
|
3606
|
+
$this.o2b_1 = null;
|
|
3563
3607
|
else
|
|
3564
|
-
$this.
|
|
3608
|
+
$this.o2b_1 = playWithoutLiabilities;
|
|
3565
3609
|
if (0 === (seen0 & 16))
|
|
3566
|
-
$this.
|
|
3610
|
+
$this.p2b_1 = null;
|
|
3567
3611
|
else
|
|
3568
|
-
$this.
|
|
3612
|
+
$this.p2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3569
3613
|
if (0 === (seen0 & 32))
|
|
3570
|
-
$this.
|
|
3614
|
+
$this.q2b_1 = null;
|
|
3571
3615
|
else
|
|
3572
|
-
$this.
|
|
3616
|
+
$this.q2b_1 = dealerInitialCardsCount;
|
|
3573
3617
|
if (0 === (seen0 & 64))
|
|
3574
|
-
$this.
|
|
3618
|
+
$this.r2b_1 = null;
|
|
3575
3619
|
else
|
|
3576
|
-
$this.
|
|
3620
|
+
$this.r2b_1 = dealerFinalCardsCount;
|
|
3577
3621
|
if (0 === (seen0 & 128))
|
|
3578
|
-
$this.
|
|
3622
|
+
$this.s2b_1 = null;
|
|
3579
3623
|
else
|
|
3580
|
-
$this.
|
|
3624
|
+
$this.s2b_1 = dealerCounterClockwise;
|
|
3581
3625
|
if (0 === (seen0 & 256))
|
|
3582
|
-
$this.
|
|
3626
|
+
$this.t2b_1 = null;
|
|
3583
3627
|
else
|
|
3584
|
-
$this.
|
|
3628
|
+
$this.t2b_1 = contractTypes;
|
|
3585
3629
|
if (0 === (seen0 & 512))
|
|
3586
|
-
$this.
|
|
3630
|
+
$this.u2b_1 = null;
|
|
3587
3631
|
else
|
|
3588
|
-
$this.
|
|
3632
|
+
$this.u2b_1 = bidTypes;
|
|
3589
3633
|
if (0 === (seen0 & 1024))
|
|
3590
|
-
$this.
|
|
3634
|
+
$this.v2b_1 = null;
|
|
3591
3635
|
else
|
|
3592
|
-
$this.
|
|
3636
|
+
$this.v2b_1 = combinationsWithFirstCard;
|
|
3593
3637
|
if (0 === (seen0 & 2048))
|
|
3594
|
-
$this.
|
|
3638
|
+
$this.w2b_1 = null;
|
|
3595
3639
|
else
|
|
3596
|
-
$this.
|
|
3640
|
+
$this.w2b_1 = protectBella;
|
|
3597
3641
|
if (0 === (seen0 & 4096))
|
|
3598
|
-
$this.
|
|
3642
|
+
$this.x2b_1 = null;
|
|
3599
3643
|
else
|
|
3600
|
-
$this.
|
|
3644
|
+
$this.x2b_1 = oneTryToProtectBella;
|
|
3601
3645
|
if (0 === (seen0 & 8192))
|
|
3602
|
-
$this.
|
|
3646
|
+
$this.y2b_1 = null;
|
|
3603
3647
|
else
|
|
3604
|
-
$this.
|
|
3648
|
+
$this.y2b_1 = enableFourSevensCombination;
|
|
3605
3649
|
if (0 === (seen0 & 16384))
|
|
3606
|
-
$this.
|
|
3650
|
+
$this.z2b_1 = null;
|
|
3607
3651
|
else
|
|
3608
|
-
$this.
|
|
3652
|
+
$this.z2b_1 = enableTrumpSevenCombination;
|
|
3609
3653
|
if (0 === (seen0 & 32768))
|
|
3610
|
-
$this.
|
|
3654
|
+
$this.a2c_1 = null;
|
|
3611
3655
|
else
|
|
3612
|
-
$this.
|
|
3656
|
+
$this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3613
3657
|
if (0 === (seen0 & 65536))
|
|
3614
|
-
$this.
|
|
3658
|
+
$this.b2c_1 = null;
|
|
3615
3659
|
else
|
|
3616
|
-
$this.
|
|
3660
|
+
$this.b2c_1 = checkTrumpCombination;
|
|
3617
3661
|
if (0 === (seen0 & 131072))
|
|
3618
|
-
$this.
|
|
3662
|
+
$this.c2c_1 = null;
|
|
3619
3663
|
else
|
|
3620
|
-
$this.
|
|
3664
|
+
$this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3621
3665
|
if (0 === (seen0 & 262144))
|
|
3622
|
-
$this.
|
|
3666
|
+
$this.d2c_1 = null;
|
|
3623
3667
|
else
|
|
3624
|
-
$this.
|
|
3668
|
+
$this.d2c_1 = distributePoints;
|
|
3625
3669
|
if (0 === (seen0 & 524288))
|
|
3626
|
-
$this.
|
|
3670
|
+
$this.e2c_1 = null;
|
|
3627
3671
|
else
|
|
3628
|
-
$this.
|
|
3672
|
+
$this.e2c_1 = pointsDistributeMode;
|
|
3629
3673
|
if (0 === (seen0 & 1048576))
|
|
3630
|
-
$this.
|
|
3674
|
+
$this.f2c_1 = null;
|
|
3631
3675
|
else
|
|
3632
|
-
$this.
|
|
3676
|
+
$this.f2c_1 = enableFineIfNoBribes;
|
|
3633
3677
|
if (0 === (seen0 & 2097152))
|
|
3634
|
-
$this.
|
|
3678
|
+
$this.g2c_1 = null;
|
|
3635
3679
|
else
|
|
3636
|
-
$this.
|
|
3680
|
+
$this.g2c_1 = fineIfNoBribes;
|
|
3637
3681
|
if (0 === (seen0 & 4194304))
|
|
3638
|
-
$this.
|
|
3682
|
+
$this.h2c_1 = null;
|
|
3639
3683
|
else
|
|
3640
|
-
$this.
|
|
3684
|
+
$this.h2c_1 = enableFineAfterThirdByte;
|
|
3641
3685
|
if (0 === (seen0 & 8388608))
|
|
3642
|
-
$this.
|
|
3686
|
+
$this.i2c_1 = null;
|
|
3643
3687
|
else
|
|
3644
|
-
$this.
|
|
3688
|
+
$this.i2c_1 = fineAfterThirdFailedContract;
|
|
3645
3689
|
return $this;
|
|
3646
3690
|
}
|
|
3647
3691
|
function RulesDto_init_$Create$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
3648
3692
|
return RulesDto_init_$Init$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, objectCreate(protoOf(RulesDto)));
|
|
3649
3693
|
}
|
|
3650
3694
|
function RulesDto(needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3651
|
-
|
|
3695
|
+
Companion_getInstance_20();
|
|
3652
3696
|
needToPutHigherTrump = needToPutHigherTrump === VOID ? null : needToPutHigherTrump;
|
|
3653
3697
|
playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst === VOID ? null : playerWhoChooseSuitGoFirst;
|
|
3654
3698
|
winnerShuffleCards = winnerShuffleCards === VOID ? null : winnerShuffleCards;
|
|
@@ -3673,59 +3717,59 @@
|
|
|
3673
3717
|
fineIfNoBribes = fineIfNoBribes === VOID ? null : fineIfNoBribes;
|
|
3674
3718
|
enableFineAfterThirdByte = enableFineAfterThirdByte === VOID ? null : enableFineAfterThirdByte;
|
|
3675
3719
|
fineAfterThirdFailedContract = fineAfterThirdFailedContract === VOID ? null : fineAfterThirdFailedContract;
|
|
3676
|
-
this.
|
|
3677
|
-
this.
|
|
3678
|
-
this.
|
|
3679
|
-
this.
|
|
3680
|
-
this.
|
|
3681
|
-
this.
|
|
3682
|
-
this.
|
|
3683
|
-
this.
|
|
3684
|
-
this.
|
|
3685
|
-
this.
|
|
3686
|
-
this.
|
|
3687
|
-
this.
|
|
3688
|
-
this.
|
|
3689
|
-
this.
|
|
3690
|
-
this.
|
|
3691
|
-
this.
|
|
3692
|
-
this.
|
|
3693
|
-
this.
|
|
3694
|
-
this.
|
|
3695
|
-
this.
|
|
3696
|
-
this.
|
|
3697
|
-
this.
|
|
3698
|
-
this.
|
|
3699
|
-
this.
|
|
3720
|
+
this.l2b_1 = needToPutHigherTrump;
|
|
3721
|
+
this.m2b_1 = playerWhoChooseSuitGoFirst;
|
|
3722
|
+
this.n2b_1 = winnerShuffleCards;
|
|
3723
|
+
this.o2b_1 = playWithoutLiabilities;
|
|
3724
|
+
this.p2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3725
|
+
this.q2b_1 = dealerInitialCardsCount;
|
|
3726
|
+
this.r2b_1 = dealerFinalCardsCount;
|
|
3727
|
+
this.s2b_1 = dealerCounterClockwise;
|
|
3728
|
+
this.t2b_1 = contractTypes;
|
|
3729
|
+
this.u2b_1 = bidTypes;
|
|
3730
|
+
this.v2b_1 = combinationsWithFirstCard;
|
|
3731
|
+
this.w2b_1 = protectBella;
|
|
3732
|
+
this.x2b_1 = oneTryToProtectBella;
|
|
3733
|
+
this.y2b_1 = enableFourSevensCombination;
|
|
3734
|
+
this.z2b_1 = enableTrumpSevenCombination;
|
|
3735
|
+
this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3736
|
+
this.b2c_1 = checkTrumpCombination;
|
|
3737
|
+
this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3738
|
+
this.d2c_1 = distributePoints;
|
|
3739
|
+
this.e2c_1 = pointsDistributeMode;
|
|
3740
|
+
this.f2c_1 = enableFineIfNoBribes;
|
|
3741
|
+
this.g2c_1 = fineIfNoBribes;
|
|
3742
|
+
this.h2c_1 = enableFineAfterThirdByte;
|
|
3743
|
+
this.i2c_1 = fineAfterThirdFailedContract;
|
|
3700
3744
|
}
|
|
3701
3745
|
protoOf(RulesDto).toString = function () {
|
|
3702
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
3746
|
+
return 'RulesDto(needToPutHigherTrump=' + this.l2b_1 + ', playerWhoChooseSuitGoFirst=' + this.m2b_1 + ', winnerShuffleCards=' + this.n2b_1 + ', playWithoutLiabilities=' + this.o2b_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.p2b_1 + ', dealerInitialCardsCount=' + this.q2b_1 + ', dealerFinalCardsCount=' + this.r2b_1 + ', dealerCounterClockwise=' + this.s2b_1 + ', contractTypes=' + toString(this.t2b_1) + ', bidTypes=' + toString(this.u2b_1) + ', combinationsWithFirstCard=' + toString(this.v2b_1) + ', protectBella=' + this.w2b_1 + ', oneTryToProtectBella=' + this.x2b_1 + ', enableFourSevensCombination=' + this.y2b_1 + ', enableTrumpSevenCombination=' + this.z2b_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.a2c_1 + ', checkTrumpCombination=' + this.b2c_1 + ', checkOnlyTrumpDebertz=' + this.c2c_1 + ', distributePoints=' + this.d2c_1 + ', pointsDistributeMode=' + this.e2c_1 + ', enableFineIfNoBribes=' + this.f2c_1 + ', fineIfNoBribes=' + this.g2c_1 + ', enableFineAfterThirdByte=' + this.h2c_1 + ', fineAfterThirdFailedContract=' + this.i2c_1 + ')';
|
|
3703
3747
|
};
|
|
3704
3748
|
protoOf(RulesDto).hashCode = function () {
|
|
3705
|
-
var result = this.
|
|
3706
|
-
result = imul(result, 31) + (this.z2a_1 == null ? 0 : getBooleanHashCode(this.z2a_1)) | 0;
|
|
3707
|
-
result = imul(result, 31) + (this.a2b_1 == null ? 0 : getBooleanHashCode(this.a2b_1)) | 0;
|
|
3708
|
-
result = imul(result, 31) + (this.b2b_1 == null ? 0 : getBooleanHashCode(this.b2b_1)) | 0;
|
|
3709
|
-
result = imul(result, 31) + (this.c2b_1 == null ? 0 : getBooleanHashCode(this.c2b_1)) | 0;
|
|
3710
|
-
result = imul(result, 31) + (this.d2b_1 == null ? 0 : this.d2b_1) | 0;
|
|
3711
|
-
result = imul(result, 31) + (this.e2b_1 == null ? 0 : this.e2b_1) | 0;
|
|
3712
|
-
result = imul(result, 31) + (this.f2b_1 == null ? 0 : getBooleanHashCode(this.f2b_1)) | 0;
|
|
3713
|
-
result = imul(result, 31) + (this.g2b_1 == null ? 0 : hashCode(this.g2b_1)) | 0;
|
|
3714
|
-
result = imul(result, 31) + (this.h2b_1 == null ? 0 : hashCode(this.h2b_1)) | 0;
|
|
3715
|
-
result = imul(result, 31) + (this.i2b_1 == null ? 0 : hashCode(this.i2b_1)) | 0;
|
|
3716
|
-
result = imul(result, 31) + (this.j2b_1 == null ? 0 : getBooleanHashCode(this.j2b_1)) | 0;
|
|
3717
|
-
result = imul(result, 31) + (this.k2b_1 == null ? 0 : getBooleanHashCode(this.k2b_1)) | 0;
|
|
3718
|
-
result = imul(result, 31) + (this.l2b_1 == null ? 0 : getBooleanHashCode(this.l2b_1)) | 0;
|
|
3749
|
+
var result = this.l2b_1 == null ? 0 : getBooleanHashCode(this.l2b_1);
|
|
3719
3750
|
result = imul(result, 31) + (this.m2b_1 == null ? 0 : getBooleanHashCode(this.m2b_1)) | 0;
|
|
3720
3751
|
result = imul(result, 31) + (this.n2b_1 == null ? 0 : getBooleanHashCode(this.n2b_1)) | 0;
|
|
3721
3752
|
result = imul(result, 31) + (this.o2b_1 == null ? 0 : getBooleanHashCode(this.o2b_1)) | 0;
|
|
3722
3753
|
result = imul(result, 31) + (this.p2b_1 == null ? 0 : getBooleanHashCode(this.p2b_1)) | 0;
|
|
3723
|
-
result = imul(result, 31) + (this.q2b_1 == null ? 0 :
|
|
3724
|
-
result = imul(result, 31) + (this.r2b_1 == null ? 0 :
|
|
3754
|
+
result = imul(result, 31) + (this.q2b_1 == null ? 0 : this.q2b_1) | 0;
|
|
3755
|
+
result = imul(result, 31) + (this.r2b_1 == null ? 0 : this.r2b_1) | 0;
|
|
3725
3756
|
result = imul(result, 31) + (this.s2b_1 == null ? 0 : getBooleanHashCode(this.s2b_1)) | 0;
|
|
3726
|
-
result = imul(result, 31) + (this.t2b_1 == null ? 0 : this.t2b_1) | 0;
|
|
3727
|
-
result = imul(result, 31) + (this.u2b_1 == null ? 0 :
|
|
3728
|
-
result = imul(result, 31) + (this.v2b_1 == null ? 0 : this.v2b_1) | 0;
|
|
3757
|
+
result = imul(result, 31) + (this.t2b_1 == null ? 0 : hashCode(this.t2b_1)) | 0;
|
|
3758
|
+
result = imul(result, 31) + (this.u2b_1 == null ? 0 : hashCode(this.u2b_1)) | 0;
|
|
3759
|
+
result = imul(result, 31) + (this.v2b_1 == null ? 0 : hashCode(this.v2b_1)) | 0;
|
|
3760
|
+
result = imul(result, 31) + (this.w2b_1 == null ? 0 : getBooleanHashCode(this.w2b_1)) | 0;
|
|
3761
|
+
result = imul(result, 31) + (this.x2b_1 == null ? 0 : getBooleanHashCode(this.x2b_1)) | 0;
|
|
3762
|
+
result = imul(result, 31) + (this.y2b_1 == null ? 0 : getBooleanHashCode(this.y2b_1)) | 0;
|
|
3763
|
+
result = imul(result, 31) + (this.z2b_1 == null ? 0 : getBooleanHashCode(this.z2b_1)) | 0;
|
|
3764
|
+
result = imul(result, 31) + (this.a2c_1 == null ? 0 : getBooleanHashCode(this.a2c_1)) | 0;
|
|
3765
|
+
result = imul(result, 31) + (this.b2c_1 == null ? 0 : getBooleanHashCode(this.b2c_1)) | 0;
|
|
3766
|
+
result = imul(result, 31) + (this.c2c_1 == null ? 0 : getBooleanHashCode(this.c2c_1)) | 0;
|
|
3767
|
+
result = imul(result, 31) + (this.d2c_1 == null ? 0 : getBooleanHashCode(this.d2c_1)) | 0;
|
|
3768
|
+
result = imul(result, 31) + (this.e2c_1 == null ? 0 : getStringHashCode(this.e2c_1)) | 0;
|
|
3769
|
+
result = imul(result, 31) + (this.f2c_1 == null ? 0 : getBooleanHashCode(this.f2c_1)) | 0;
|
|
3770
|
+
result = imul(result, 31) + (this.g2c_1 == null ? 0 : this.g2c_1) | 0;
|
|
3771
|
+
result = imul(result, 31) + (this.h2c_1 == null ? 0 : getBooleanHashCode(this.h2c_1)) | 0;
|
|
3772
|
+
result = imul(result, 31) + (this.i2c_1 == null ? 0 : this.i2c_1) | 0;
|
|
3729
3773
|
return result;
|
|
3730
3774
|
};
|
|
3731
3775
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3734,53 +3778,53 @@
|
|
|
3734
3778
|
if (!(other instanceof RulesDto))
|
|
3735
3779
|
return false;
|
|
3736
3780
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3737
|
-
if (!(this.
|
|
3781
|
+
if (!(this.l2b_1 == tmp0_other_with_cast.l2b_1))
|
|
3738
3782
|
return false;
|
|
3739
|
-
if (!(this.
|
|
3783
|
+
if (!(this.m2b_1 == tmp0_other_with_cast.m2b_1))
|
|
3740
3784
|
return false;
|
|
3741
|
-
if (!(this.
|
|
3785
|
+
if (!(this.n2b_1 == tmp0_other_with_cast.n2b_1))
|
|
3742
3786
|
return false;
|
|
3743
|
-
if (!(this.
|
|
3787
|
+
if (!(this.o2b_1 == tmp0_other_with_cast.o2b_1))
|
|
3744
3788
|
return false;
|
|
3745
|
-
if (!(this.
|
|
3789
|
+
if (!(this.p2b_1 == tmp0_other_with_cast.p2b_1))
|
|
3746
3790
|
return false;
|
|
3747
|
-
if (!(this.
|
|
3791
|
+
if (!(this.q2b_1 == tmp0_other_with_cast.q2b_1))
|
|
3748
3792
|
return false;
|
|
3749
|
-
if (!(this.
|
|
3793
|
+
if (!(this.r2b_1 == tmp0_other_with_cast.r2b_1))
|
|
3750
3794
|
return false;
|
|
3751
|
-
if (!(this.
|
|
3795
|
+
if (!(this.s2b_1 == tmp0_other_with_cast.s2b_1))
|
|
3752
3796
|
return false;
|
|
3753
|
-
if (!equals(this.
|
|
3797
|
+
if (!equals(this.t2b_1, tmp0_other_with_cast.t2b_1))
|
|
3754
3798
|
return false;
|
|
3755
|
-
if (!equals(this.
|
|
3799
|
+
if (!equals(this.u2b_1, tmp0_other_with_cast.u2b_1))
|
|
3756
3800
|
return false;
|
|
3757
|
-
if (!equals(this.
|
|
3801
|
+
if (!equals(this.v2b_1, tmp0_other_with_cast.v2b_1))
|
|
3758
3802
|
return false;
|
|
3759
|
-
if (!(this.
|
|
3803
|
+
if (!(this.w2b_1 == tmp0_other_with_cast.w2b_1))
|
|
3760
3804
|
return false;
|
|
3761
|
-
if (!(this.
|
|
3805
|
+
if (!(this.x2b_1 == tmp0_other_with_cast.x2b_1))
|
|
3762
3806
|
return false;
|
|
3763
|
-
if (!(this.
|
|
3807
|
+
if (!(this.y2b_1 == tmp0_other_with_cast.y2b_1))
|
|
3764
3808
|
return false;
|
|
3765
|
-
if (!(this.
|
|
3809
|
+
if (!(this.z2b_1 == tmp0_other_with_cast.z2b_1))
|
|
3766
3810
|
return false;
|
|
3767
|
-
if (!(this.
|
|
3811
|
+
if (!(this.a2c_1 == tmp0_other_with_cast.a2c_1))
|
|
3768
3812
|
return false;
|
|
3769
|
-
if (!(this.
|
|
3813
|
+
if (!(this.b2c_1 == tmp0_other_with_cast.b2c_1))
|
|
3770
3814
|
return false;
|
|
3771
|
-
if (!(this.
|
|
3815
|
+
if (!(this.c2c_1 == tmp0_other_with_cast.c2c_1))
|
|
3772
3816
|
return false;
|
|
3773
|
-
if (!(this.
|
|
3817
|
+
if (!(this.d2c_1 == tmp0_other_with_cast.d2c_1))
|
|
3774
3818
|
return false;
|
|
3775
|
-
if (!(this.
|
|
3819
|
+
if (!(this.e2c_1 == tmp0_other_with_cast.e2c_1))
|
|
3776
3820
|
return false;
|
|
3777
|
-
if (!(this.
|
|
3821
|
+
if (!(this.f2c_1 == tmp0_other_with_cast.f2c_1))
|
|
3778
3822
|
return false;
|
|
3779
|
-
if (!(this.
|
|
3823
|
+
if (!(this.g2c_1 == tmp0_other_with_cast.g2c_1))
|
|
3780
3824
|
return false;
|
|
3781
|
-
if (!(this.
|
|
3825
|
+
if (!(this.h2c_1 == tmp0_other_with_cast.h2c_1))
|
|
3782
3826
|
return false;
|
|
3783
|
-
if (!(this.
|
|
3827
|
+
if (!(this.i2c_1 == tmp0_other_with_cast.i2c_1))
|
|
3784
3828
|
return false;
|
|
3785
3829
|
return true;
|
|
3786
3830
|
};
|
|
@@ -3902,8 +3946,8 @@
|
|
|
3902
3946
|
var nextItemIndex = index + 1 | 0;
|
|
3903
3947
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3904
3948
|
}
|
|
3905
|
-
function _get_$
|
|
3906
|
-
return $this.
|
|
3949
|
+
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3950
|
+
return $this.p2c_1.a2();
|
|
3907
3951
|
}
|
|
3908
3952
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3909
3953
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3939,24 +3983,24 @@
|
|
|
3939
3983
|
$ENTRIES_1 = enumEntries(values_3());
|
|
3940
3984
|
return $ENTRIES_1;
|
|
3941
3985
|
}
|
|
3942
|
-
function
|
|
3943
|
-
|
|
3986
|
+
function Companion_19() {
|
|
3987
|
+
Companion_instance_19 = this;
|
|
3944
3988
|
var tmp = this;
|
|
3945
3989
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3946
|
-
tmp.
|
|
3990
|
+
tmp.p2c_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3947
3991
|
}
|
|
3948
|
-
protoOf(
|
|
3949
|
-
return _get_$
|
|
3992
|
+
protoOf(Companion_19).z17 = function () {
|
|
3993
|
+
return _get_$cachedSerializer__te6jhj_8(this);
|
|
3950
3994
|
};
|
|
3951
|
-
protoOf(
|
|
3952
|
-
return this.
|
|
3995
|
+
protoOf(Companion_19).iw = function (typeParamsSerializers) {
|
|
3996
|
+
return this.z17();
|
|
3953
3997
|
};
|
|
3954
|
-
var
|
|
3955
|
-
function
|
|
3998
|
+
var Companion_instance_19;
|
|
3999
|
+
function Companion_getInstance_21() {
|
|
3956
4000
|
LogType_initEntries();
|
|
3957
|
-
if (
|
|
3958
|
-
new
|
|
3959
|
-
return
|
|
4001
|
+
if (Companion_instance_19 == null)
|
|
4002
|
+
new Companion_19();
|
|
4003
|
+
return Companion_instance_19;
|
|
3960
4004
|
}
|
|
3961
4005
|
var LogType_entriesInitialized;
|
|
3962
4006
|
function LogType_initEntries() {
|
|
@@ -3968,7 +4012,7 @@
|
|
|
3968
4012
|
LogType_WARN_instance = new LogType('WARN', 2);
|
|
3969
4013
|
LogType_VERBOSE_instance = new LogType('VERBOSE', 3);
|
|
3970
4014
|
LogType_INFO_instance = new LogType('INFO', 4);
|
|
3971
|
-
|
|
4015
|
+
Companion_getInstance_21();
|
|
3972
4016
|
}
|
|
3973
4017
|
var $ENTRIES_1;
|
|
3974
4018
|
function LogType(name, ordinal) {
|
|
@@ -3996,49 +4040,49 @@
|
|
|
3996
4040
|
}
|
|
3997
4041
|
function ObservableLoggerOutput() {
|
|
3998
4042
|
}
|
|
3999
|
-
function
|
|
4000
|
-
|
|
4043
|
+
function Companion_20() {
|
|
4044
|
+
Companion_instance_20 = this;
|
|
4001
4045
|
var tmp = this;
|
|
4002
4046
|
// Inline function 'kotlin.arrayOf' call
|
|
4003
4047
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4004
4048
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4005
|
-
tmp.
|
|
4049
|
+
tmp.v2c_1 = [Companion_getInstance_21().z17(), null, null, null, null];
|
|
4006
4050
|
}
|
|
4007
|
-
protoOf(
|
|
4008
|
-
return $
|
|
4051
|
+
protoOf(Companion_20).z17 = function () {
|
|
4052
|
+
return $serializer_getInstance_10();
|
|
4009
4053
|
};
|
|
4010
|
-
var
|
|
4011
|
-
function
|
|
4012
|
-
if (
|
|
4013
|
-
new
|
|
4014
|
-
return
|
|
4054
|
+
var Companion_instance_20;
|
|
4055
|
+
function Companion_getInstance_22() {
|
|
4056
|
+
if (Companion_instance_20 == null)
|
|
4057
|
+
new Companion_20();
|
|
4058
|
+
return Companion_instance_20;
|
|
4015
4059
|
}
|
|
4016
|
-
function $
|
|
4017
|
-
$
|
|
4060
|
+
function $serializer_10() {
|
|
4061
|
+
$serializer_instance_10 = this;
|
|
4018
4062
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
4019
|
-
tmp0_serialDesc.
|
|
4020
|
-
tmp0_serialDesc.
|
|
4021
|
-
tmp0_serialDesc.
|
|
4022
|
-
tmp0_serialDesc.
|
|
4023
|
-
tmp0_serialDesc.
|
|
4024
|
-
this.
|
|
4025
|
-
}
|
|
4026
|
-
protoOf($
|
|
4027
|
-
var tmp0_desc = this.
|
|
4028
|
-
var tmp1_output = encoder.
|
|
4029
|
-
var tmp2_cached =
|
|
4030
|
-
tmp1_output.
|
|
4031
|
-
tmp1_output.
|
|
4032
|
-
tmp1_output.
|
|
4033
|
-
tmp1_output.
|
|
4034
|
-
tmp1_output.
|
|
4035
|
-
tmp1_output.
|
|
4036
|
-
};
|
|
4037
|
-
protoOf($
|
|
4038
|
-
return this.
|
|
4039
|
-
};
|
|
4040
|
-
protoOf($
|
|
4041
|
-
var tmp0_desc = this.
|
|
4063
|
+
tmp0_serialDesc.iv('type', false);
|
|
4064
|
+
tmp0_serialDesc.iv('key', false);
|
|
4065
|
+
tmp0_serialDesc.iv('tag', false);
|
|
4066
|
+
tmp0_serialDesc.iv('message', false);
|
|
4067
|
+
tmp0_serialDesc.iv('stackTrace', false);
|
|
4068
|
+
this.w2c_1 = tmp0_serialDesc;
|
|
4069
|
+
}
|
|
4070
|
+
protoOf($serializer_10).x2c = function (encoder, value) {
|
|
4071
|
+
var tmp0_desc = this.w2c_1;
|
|
4072
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
4073
|
+
var tmp2_cached = Companion_getInstance_22().v2c_1;
|
|
4074
|
+
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
4075
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
4076
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
4077
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.message);
|
|
4078
|
+
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
4079
|
+
tmp1_output.tn(tmp0_desc);
|
|
4080
|
+
};
|
|
4081
|
+
protoOf($serializer_10).kk = function (encoder, value) {
|
|
4082
|
+
return this.x2c(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
4083
|
+
};
|
|
4084
|
+
protoOf($serializer_10).lk = function (decoder) {
|
|
4085
|
+
var tmp0_desc = this.w2c_1;
|
|
4042
4086
|
var tmp1_flag = true;
|
|
4043
4087
|
var tmp2_index = 0;
|
|
4044
4088
|
var tmp3_bitMask0 = 0;
|
|
@@ -4047,71 +4091,71 @@
|
|
|
4047
4091
|
var tmp6_local2 = null;
|
|
4048
4092
|
var tmp7_local3 = null;
|
|
4049
4093
|
var tmp8_local4 = null;
|
|
4050
|
-
var tmp9_input = decoder.
|
|
4051
|
-
var tmp10_cached =
|
|
4052
|
-
if (tmp9_input.
|
|
4053
|
-
tmp4_local0 = tmp9_input.
|
|
4094
|
+
var tmp9_input = decoder.sn(tmp0_desc);
|
|
4095
|
+
var tmp10_cached = Companion_getInstance_22().v2c_1;
|
|
4096
|
+
if (tmp9_input.io()) {
|
|
4097
|
+
tmp4_local0 = tmp9_input.eo(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
4054
4098
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4055
|
-
tmp5_local1 = tmp9_input.
|
|
4099
|
+
tmp5_local1 = tmp9_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4056
4100
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4057
|
-
tmp6_local2 = tmp9_input.
|
|
4101
|
+
tmp6_local2 = tmp9_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4058
4102
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4059
|
-
tmp7_local3 = tmp9_input.
|
|
4103
|
+
tmp7_local3 = tmp9_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4060
4104
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4061
|
-
tmp8_local4 = tmp9_input.
|
|
4105
|
+
tmp8_local4 = tmp9_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4062
4106
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4063
4107
|
} else
|
|
4064
4108
|
while (tmp1_flag) {
|
|
4065
|
-
tmp2_index = tmp9_input.
|
|
4109
|
+
tmp2_index = tmp9_input.jo(tmp0_desc);
|
|
4066
4110
|
switch (tmp2_index) {
|
|
4067
4111
|
case -1:
|
|
4068
4112
|
tmp1_flag = false;
|
|
4069
4113
|
break;
|
|
4070
4114
|
case 0:
|
|
4071
|
-
tmp4_local0 = tmp9_input.
|
|
4115
|
+
tmp4_local0 = tmp9_input.eo(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
4072
4116
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4073
4117
|
break;
|
|
4074
4118
|
case 1:
|
|
4075
|
-
tmp5_local1 = tmp9_input.
|
|
4119
|
+
tmp5_local1 = tmp9_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4076
4120
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4077
4121
|
break;
|
|
4078
4122
|
case 2:
|
|
4079
|
-
tmp6_local2 = tmp9_input.
|
|
4123
|
+
tmp6_local2 = tmp9_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4080
4124
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4081
4125
|
break;
|
|
4082
4126
|
case 3:
|
|
4083
|
-
tmp7_local3 = tmp9_input.
|
|
4127
|
+
tmp7_local3 = tmp9_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4084
4128
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4085
4129
|
break;
|
|
4086
4130
|
case 4:
|
|
4087
|
-
tmp8_local4 = tmp9_input.
|
|
4131
|
+
tmp8_local4 = tmp9_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4088
4132
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4089
4133
|
break;
|
|
4090
4134
|
default:
|
|
4091
4135
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
4092
4136
|
}
|
|
4093
4137
|
}
|
|
4094
|
-
tmp9_input.
|
|
4138
|
+
tmp9_input.tn(tmp0_desc);
|
|
4095
4139
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4096
4140
|
};
|
|
4097
|
-
protoOf($
|
|
4098
|
-
return this.
|
|
4141
|
+
protoOf($serializer_10).jk = function () {
|
|
4142
|
+
return this.w2c_1;
|
|
4099
4143
|
};
|
|
4100
|
-
protoOf($
|
|
4144
|
+
protoOf($serializer_10).xv = function () {
|
|
4101
4145
|
// Inline function 'kotlin.arrayOf' call
|
|
4102
4146
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4103
4147
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4104
|
-
return [
|
|
4148
|
+
return [Companion_getInstance_22().v2c_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4105
4149
|
};
|
|
4106
|
-
var $
|
|
4107
|
-
function $
|
|
4108
|
-
if ($
|
|
4109
|
-
new $
|
|
4110
|
-
return $
|
|
4150
|
+
var $serializer_instance_10;
|
|
4151
|
+
function $serializer_getInstance_10() {
|
|
4152
|
+
if ($serializer_instance_10 == null)
|
|
4153
|
+
new $serializer_10();
|
|
4154
|
+
return $serializer_instance_10;
|
|
4111
4155
|
}
|
|
4112
4156
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4113
4157
|
if (!(31 === (31 & seen0))) {
|
|
4114
|
-
throwMissingFieldException(seen0, 31, $
|
|
4158
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().w2c_1);
|
|
4115
4159
|
}
|
|
4116
4160
|
$this.type = type;
|
|
4117
4161
|
$this.key = key;
|
|
@@ -4124,30 +4168,30 @@
|
|
|
4124
4168
|
return LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
|
|
4125
4169
|
}
|
|
4126
4170
|
function LoggerOutputDataDto(type, key, tag, message, stackTrace) {
|
|
4127
|
-
|
|
4171
|
+
Companion_getInstance_22();
|
|
4128
4172
|
this.type = type;
|
|
4129
4173
|
this.key = key;
|
|
4130
4174
|
this.tag = tag;
|
|
4131
4175
|
this.message = message;
|
|
4132
4176
|
this.stackTrace = stackTrace;
|
|
4133
4177
|
}
|
|
4134
|
-
protoOf(LoggerOutputDataDto).
|
|
4178
|
+
protoOf(LoggerOutputDataDto).l20 = function () {
|
|
4135
4179
|
return this.type;
|
|
4136
4180
|
};
|
|
4137
4181
|
protoOf(LoggerOutputDataDto).z1 = function () {
|
|
4138
4182
|
return this.key;
|
|
4139
4183
|
};
|
|
4140
|
-
protoOf(LoggerOutputDataDto).
|
|
4184
|
+
protoOf(LoggerOutputDataDto).u26 = function () {
|
|
4141
4185
|
return this.tag;
|
|
4142
4186
|
};
|
|
4143
4187
|
protoOf(LoggerOutputDataDto).e9 = function () {
|
|
4144
4188
|
return this.message;
|
|
4145
4189
|
};
|
|
4146
|
-
protoOf(LoggerOutputDataDto).
|
|
4190
|
+
protoOf(LoggerOutputDataDto).y2c = function () {
|
|
4147
4191
|
return this.stackTrace;
|
|
4148
4192
|
};
|
|
4149
4193
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
4150
|
-
var time = toLocalDateTime(System_instance.
|
|
4194
|
+
var time = toLocalDateTime(System_instance.y1g(), Companion_getInstance_0().a1x());
|
|
4151
4195
|
var tmp = time.toString();
|
|
4152
4196
|
// Inline function 'kotlin.text.lowercase' call
|
|
4153
4197
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -4202,13 +4246,13 @@
|
|
|
4202
4246
|
protoOf(LoggerOutputDataDto).dh = function () {
|
|
4203
4247
|
return this.tag;
|
|
4204
4248
|
};
|
|
4205
|
-
protoOf(LoggerOutputDataDto).
|
|
4249
|
+
protoOf(LoggerOutputDataDto).p1x = function () {
|
|
4206
4250
|
return this.message;
|
|
4207
4251
|
};
|
|
4208
|
-
protoOf(LoggerOutputDataDto).
|
|
4252
|
+
protoOf(LoggerOutputDataDto).p27 = function () {
|
|
4209
4253
|
return this.stackTrace;
|
|
4210
4254
|
};
|
|
4211
|
-
protoOf(LoggerOutputDataDto).
|
|
4255
|
+
protoOf(LoggerOutputDataDto).z2c = function (type, key, tag, message, stackTrace) {
|
|
4212
4256
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4213
4257
|
};
|
|
4214
4258
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4217,7 +4261,7 @@
|
|
|
4217
4261
|
tag = tag === VOID ? this.tag : tag;
|
|
4218
4262
|
message = message === VOID ? this.message : message;
|
|
4219
4263
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4220
|
-
return this.
|
|
4264
|
+
return this.z2c(type, key, tag, message, stackTrace);
|
|
4221
4265
|
};
|
|
4222
4266
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4223
4267
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4273,73 +4317,75 @@
|
|
|
4273
4317
|
return destination;
|
|
4274
4318
|
}
|
|
4275
4319
|
//region block: post-declaration
|
|
4276
|
-
protoOf($serializer).
|
|
4277
|
-
|
|
4320
|
+
protoOf($serializer).yv = typeParametersSerializers;
|
|
4321
|
+
protoOf($serializer_0).yv = typeParametersSerializers;
|
|
4322
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).p26);
|
|
4278
4323
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4279
|
-
return this.
|
|
4324
|
+
return this.t26();
|
|
4280
4325
|
});
|
|
4281
4326
|
defineProp(protoOf(PlayerLostConnectionReason), 'connectionState', function () {
|
|
4282
|
-
return this.
|
|
4327
|
+
return this.v26();
|
|
4283
4328
|
});
|
|
4284
4329
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4285
|
-
return this.
|
|
4330
|
+
return this.t26();
|
|
4286
4331
|
});
|
|
4287
4332
|
defineProp(protoOf(PlayerTimeoutReason), 'connectionState', function () {
|
|
4288
|
-
return this.
|
|
4333
|
+
return this.v26();
|
|
4289
4334
|
});
|
|
4290
4335
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4291
|
-
return this.
|
|
4336
|
+
return this.t26();
|
|
4292
4337
|
});
|
|
4293
4338
|
defineProp(protoOf(PlayerExitReason), 'connectionState', function () {
|
|
4294
|
-
return this.
|
|
4339
|
+
return this.v26();
|
|
4295
4340
|
});
|
|
4296
4341
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).k2);
|
|
4297
4342
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).l2);
|
|
4298
4343
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).k2);
|
|
4299
4344
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).l2);
|
|
4300
4345
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4301
|
-
return this.
|
|
4346
|
+
return this.t26();
|
|
4302
4347
|
});
|
|
4303
4348
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4304
|
-
return this.
|
|
4349
|
+
return this.t26();
|
|
4305
4350
|
});
|
|
4306
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4307
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4308
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4309
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4310
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4311
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4312
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4313
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
4314
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
4315
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4351
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).s28);
|
|
4352
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).t28);
|
|
4353
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).u28);
|
|
4354
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).v28);
|
|
4355
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).w28);
|
|
4356
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).x28);
|
|
4357
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).y28);
|
|
4358
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).z28);
|
|
4359
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).a29);
|
|
4360
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).b29);
|
|
4316
4361
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).k2);
|
|
4317
4362
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).l2);
|
|
4318
|
-
protoOf($
|
|
4319
|
-
protoOf($
|
|
4320
|
-
protoOf($
|
|
4321
|
-
protoOf($
|
|
4322
|
-
protoOf($
|
|
4323
|
-
protoOf($
|
|
4324
|
-
protoOf($
|
|
4325
|
-
protoOf($
|
|
4326
|
-
protoOf($
|
|
4363
|
+
protoOf($serializer_1).yv = typeParametersSerializers;
|
|
4364
|
+
protoOf($serializer_2).yv = typeParametersSerializers;
|
|
4365
|
+
protoOf($serializer_3).yv = typeParametersSerializers;
|
|
4366
|
+
protoOf($serializer_4).yv = typeParametersSerializers;
|
|
4367
|
+
protoOf($serializer_5).yv = typeParametersSerializers;
|
|
4368
|
+
protoOf($serializer_6).yv = typeParametersSerializers;
|
|
4369
|
+
protoOf($serializer_7).yv = typeParametersSerializers;
|
|
4370
|
+
protoOf($serializer_8).yv = typeParametersSerializers;
|
|
4371
|
+
protoOf($serializer_9).yv = typeParametersSerializers;
|
|
4327
4372
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).k2);
|
|
4328
4373
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).l2);
|
|
4329
|
-
protoOf($
|
|
4374
|
+
protoOf($serializer_10).yv = typeParametersSerializers;
|
|
4330
4375
|
//endregion
|
|
4331
4376
|
//region block: init
|
|
4332
4377
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
4333
4378
|
Companion_instance_0 = new Companion_0();
|
|
4334
4379
|
Companion_instance_1 = new Companion_1();
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4380
|
+
Companion_instance_2 = new Companion_2();
|
|
4381
|
+
Companion_instance_5 = new Companion_5();
|
|
4382
|
+
Companion_instance_8 = new Companion_8();
|
|
4338
4383
|
Companion_instance_10 = new Companion_10();
|
|
4339
4384
|
Companion_instance_11 = new Companion_11();
|
|
4340
4385
|
Companion_instance_12 = new Companion_12();
|
|
4341
4386
|
Companion_instance_13 = new Companion_13();
|
|
4342
4387
|
Companion_instance_14 = new Companion_14();
|
|
4388
|
+
Companion_instance_15 = new Companion_15();
|
|
4343
4389
|
//endregion
|
|
4344
4390
|
//region block: exports
|
|
4345
4391
|
function $jsExportAll$(_) {
|
|
@@ -4351,7 +4397,7 @@
|
|
|
4351
4397
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
4352
4398
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
4353
4399
|
$com$logic$data$models.CoreConfig = CoreConfig;
|
|
4354
|
-
defineProp($com$logic$data$models.CoreConfig, 'Companion',
|
|
4400
|
+
defineProp($com$logic$data$models.CoreConfig, 'Companion', Companion_getInstance_4);
|
|
4355
4401
|
var $com = _.com || (_.com = {});
|
|
4356
4402
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4357
4403
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -4369,7 +4415,7 @@
|
|
|
4369
4415
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'FINISHED', Reason_FINISHED_getInstance);
|
|
4370
4416
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'NO_ACTIVE_PLAYERS', Reason_NO_ACTIVE_PLAYERS_getInstance);
|
|
4371
4417
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance);
|
|
4372
|
-
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion',
|
|
4418
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_5);
|
|
4373
4419
|
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
4374
4420
|
$com$logic$data$models.GameErrorReason.Reason = Reason_0;
|
|
4375
4421
|
$com$logic$data$models.GameErrorReason.Reason.values = values_0;
|
|
@@ -4379,7 +4425,7 @@
|
|
|
4379
4425
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance_0);
|
|
4380
4426
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'WRONG_PLAYER_TURN', Reason_WRONG_PLAYER_TURN_getInstance);
|
|
4381
4427
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'PLAYER_DISCONNECTED', Reason_PLAYER_DISCONNECTED_getInstance);
|
|
4382
|
-
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion',
|
|
4428
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion', Companion_getInstance_6);
|
|
4383
4429
|
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
4384
4430
|
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance);
|
|
4385
4431
|
var $com = _.com || (_.com = {});
|
|
@@ -4409,7 +4455,7 @@
|
|
|
4409
4455
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT', PlayerConnectionState_LEFT_getInstance);
|
|
4410
4456
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DISCONNECTING', PlayerConnectionState_DISCONNECTING_getInstance);
|
|
4411
4457
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DELETED', PlayerConnectionState_DELETED_getInstance);
|
|
4412
|
-
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion',
|
|
4458
|
+
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion', Companion_getInstance_8);
|
|
4413
4459
|
var $com = _.com || (_.com = {});
|
|
4414
4460
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4415
4461
|
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
@@ -4447,14 +4493,14 @@
|
|
|
4447
4493
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
4448
4494
|
defineProp($com$logic$utils$logger$outputs.LogType, 'VERBOSE', LogType_VERBOSE_getInstance);
|
|
4449
4495
|
defineProp($com$logic$utils$logger$outputs.LogType, 'INFO', LogType_INFO_getInstance);
|
|
4450
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion',
|
|
4496
|
+
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_21);
|
|
4451
4497
|
var $com = _.com || (_.com = {});
|
|
4452
4498
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4453
4499
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
4454
4500
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
4455
4501
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
4456
4502
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
4457
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion',
|
|
4503
|
+
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_22);
|
|
4458
4504
|
}
|
|
4459
4505
|
$jsExportAll$(_);
|
|
4460
4506
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -4495,15 +4541,15 @@
|
|
|
4495
4541
|
_.$_$.h1 = toDomainEnum;
|
|
4496
4542
|
_.$_$.i1 = PlayerConnectionState_LEFT_getInstance;
|
|
4497
4543
|
_.$_$.j1 = PlayerConnectionState_LIVE_getInstance;
|
|
4498
|
-
_.$_$.k1 =
|
|
4499
|
-
_.$_$.l1 =
|
|
4500
|
-
_.$_$.m1 =
|
|
4501
|
-
_.$_$.n1 =
|
|
4502
|
-
_.$_$.o1 = $
|
|
4503
|
-
_.$_$.p1 = $
|
|
4504
|
-
_.$_$.q1 = $
|
|
4544
|
+
_.$_$.k1 = Companion_instance_5;
|
|
4545
|
+
_.$_$.l1 = Companion_getInstance_8;
|
|
4546
|
+
_.$_$.m1 = Companion_instance_8;
|
|
4547
|
+
_.$_$.n1 = Companion_getInstance_9;
|
|
4548
|
+
_.$_$.o1 = $serializer_getInstance_6;
|
|
4549
|
+
_.$_$.p1 = $serializer_getInstance_8;
|
|
4550
|
+
_.$_$.q1 = $serializer_getInstance_9;
|
|
4505
4551
|
_.$_$.r1 = ProcessingReasonDto_getInstance;
|
|
4506
|
-
_.$_$.s1 =
|
|
4552
|
+
_.$_$.s1 = Companion_getInstance_11;
|
|
4507
4553
|
_.$_$.t1 = Companion_getInstance_1;
|
|
4508
4554
|
_.$_$.u1 = RestartGameReason_getInstance;
|
|
4509
4555
|
//endregion
|