raspberry_games_engine_helpers 1.8.436 → 1.8.437
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 +58 -58
- package/Kosi-Kodein-kodein-di.js +514 -514
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1497 -1497
- package/Logic_Debertz-core.js +1027 -1024
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +3 -2
- package/Logic_Debertz-engine.js +8974 -8836
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +283 -307
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core.js +1785 -1785
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1349 -1349
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +53 -53
- package/raspberry-cardgame-lib-logger.js +88 -88
- package/raspberry-cardgame-lib-random.js +45 -45
package/Logic_Debertz-core.js
CHANGED
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
var getKClass = kotlin_kotlin.$_$.ra;
|
|
36
36
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
37
37
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.d;
|
|
38
|
-
var lazy = kotlin_kotlin.$_$.
|
|
38
|
+
var lazy = kotlin_kotlin.$_$.ud;
|
|
39
39
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
40
40
|
var initMetadataForCompanion = kotlin_kotlin.$_$.i9;
|
|
41
41
|
var initMetadataForClass = kotlin_kotlin.$_$.h9;
|
|
42
42
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.bd;
|
|
44
44
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
45
45
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
46
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
@@ -57,22 +57,21 @@
|
|
|
57
57
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
58
58
|
var initMetadataForInterface = kotlin_kotlin.$_$.k9;
|
|
59
59
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
60
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
60
|
+
var THROW_IAE = kotlin_kotlin.$_$.cd;
|
|
61
61
|
var enumEntries = kotlin_kotlin.$_$.s7;
|
|
62
|
-
var Enum = kotlin_kotlin.$_$.
|
|
63
|
-
var Exception = kotlin_kotlin.$_$.
|
|
62
|
+
var Enum = kotlin_kotlin.$_$.uc;
|
|
63
|
+
var Exception = kotlin_kotlin.$_$.vc;
|
|
64
64
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.v;
|
|
65
65
|
var captureStack = kotlin_kotlin.$_$.s8;
|
|
66
|
-
var toString = kotlin_kotlin.$_$.
|
|
66
|
+
var toString = kotlin_kotlin.$_$.be;
|
|
67
67
|
var listOfNotNull = kotlin_kotlin.$_$.k6;
|
|
68
68
|
var joinToString = kotlin_kotlin.$_$.c6;
|
|
69
69
|
var getNumberHashCode = kotlin_kotlin.$_$.d9;
|
|
70
70
|
var hashCode = kotlin_kotlin.$_$.g9;
|
|
71
71
|
var equals = kotlin_kotlin.$_$.b9;
|
|
72
72
|
var toString_0 = kotlin_kotlin.$_$.fa;
|
|
73
|
-
var System_instance = kotlin_kotlin.$_$.p3;
|
|
74
73
|
var Companion_getInstance = kotlin_kotlin.$_$.q3;
|
|
75
|
-
var
|
|
74
|
+
var System_instance = kotlin_kotlin.$_$.p3;
|
|
76
75
|
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.l1;
|
|
77
76
|
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.k1;
|
|
78
77
|
var toNumber = kotlin_kotlin.$_$.o8;
|
|
@@ -80,14 +79,14 @@
|
|
|
80
79
|
var numberToInt = kotlin_kotlin.$_$.ba;
|
|
81
80
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.n1;
|
|
82
81
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j1;
|
|
83
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
82
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.wd;
|
|
84
83
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
85
84
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
86
85
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w4;
|
|
87
86
|
var mapCapacity = kotlin_kotlin.$_$.n6;
|
|
88
87
|
var coerceAtLeast = kotlin_kotlin.$_$.ja;
|
|
89
88
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
90
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
89
|
+
var ensureNotNull = kotlin_kotlin.$_$.qd;
|
|
91
90
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.r3;
|
|
92
91
|
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.m1;
|
|
93
92
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
@@ -108,7 +107,7 @@
|
|
|
108
107
|
var toMap = kotlin_kotlin.$_$.i7;
|
|
109
108
|
var emptyList = kotlin_kotlin.$_$.n5;
|
|
110
109
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
|
|
111
|
-
var to = kotlin_kotlin.$_$.
|
|
110
|
+
var to = kotlin_kotlin.$_$.ce;
|
|
112
111
|
//endregion
|
|
113
112
|
//region block: pre-declaration
|
|
114
113
|
initMetadataForObject(GameEngineConfig, 'GameEngineConfig');
|
|
@@ -197,7 +196,7 @@
|
|
|
197
196
|
return false;
|
|
198
197
|
}
|
|
199
198
|
function get_isAutoStartTimer() {
|
|
200
|
-
return !this.
|
|
199
|
+
return !this.n1v() && !this.o1v();
|
|
201
200
|
}
|
|
202
201
|
initMetadataForInterface(InterceptableAction, 'InterceptableAction', VOID, VOID, [BufferedAction]);
|
|
203
202
|
function ignoreValidation() {
|
|
@@ -221,7 +220,7 @@
|
|
|
221
220
|
tmp = types;
|
|
222
221
|
}
|
|
223
222
|
types = tmp;
|
|
224
|
-
return $super === VOID ? this.
|
|
223
|
+
return $super === VOID ? this.a1w(types) : $super.a1w.call(this, types);
|
|
225
224
|
}
|
|
226
225
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
227
226
|
initMetadataForCompanion(Companion_20);
|
|
@@ -229,9 +228,9 @@
|
|
|
229
228
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
230
229
|
//endregion
|
|
231
230
|
function GameEngineConfig() {
|
|
232
|
-
this.version = '1.8.
|
|
231
|
+
this.version = '1.8.437';
|
|
233
232
|
}
|
|
234
|
-
protoOf(GameEngineConfig).
|
|
233
|
+
protoOf(GameEngineConfig).j17 = function () {
|
|
235
234
|
return this.version;
|
|
236
235
|
};
|
|
237
236
|
var GameEngineConfig_instance;
|
|
@@ -239,7 +238,7 @@
|
|
|
239
238
|
return GameEngineConfig_instance;
|
|
240
239
|
}
|
|
241
240
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
242
|
-
return $this.
|
|
241
|
+
return $this.b1p_1.v1();
|
|
243
242
|
}
|
|
244
243
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
245
244
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -261,13 +260,13 @@
|
|
|
261
260
|
Companion_instance = this;
|
|
262
261
|
var tmp = this;
|
|
263
262
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
264
|
-
tmp.
|
|
263
|
+
tmp.b1p_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
265
264
|
}
|
|
266
|
-
protoOf(Companion).
|
|
265
|
+
protoOf(Companion).c18 = function () {
|
|
267
266
|
return _get_$cachedSerializer__te6jhj(this);
|
|
268
267
|
};
|
|
269
|
-
protoOf(Companion).
|
|
270
|
-
return this.
|
|
268
|
+
protoOf(Companion).bw = function (typeParamsSerializers) {
|
|
269
|
+
return this.c18();
|
|
271
270
|
};
|
|
272
271
|
var Companion_instance;
|
|
273
272
|
function Companion_getInstance_2() {
|
|
@@ -290,50 +289,50 @@
|
|
|
290
289
|
function $serializer() {
|
|
291
290
|
$serializer_instance = this;
|
|
292
291
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
293
|
-
tmp0_serialDesc.
|
|
294
|
-
this.
|
|
292
|
+
tmp0_serialDesc.zu('playerId', false);
|
|
293
|
+
this.c1p_1 = tmp0_serialDesc;
|
|
295
294
|
}
|
|
296
|
-
protoOf($serializer).
|
|
297
|
-
var tmp0_desc = this.
|
|
298
|
-
var tmp1_output = encoder.
|
|
299
|
-
tmp1_output.
|
|
300
|
-
tmp1_output.
|
|
295
|
+
protoOf($serializer).d1p = function (encoder, value) {
|
|
296
|
+
var tmp0_desc = this.c1p_1;
|
|
297
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
298
|
+
tmp1_output.yo(tmp0_desc, 0, value.e1p_1);
|
|
299
|
+
tmp1_output.kn(tmp0_desc);
|
|
301
300
|
};
|
|
302
|
-
protoOf($serializer).
|
|
303
|
-
return this.
|
|
301
|
+
protoOf($serializer).bk = function (encoder, value) {
|
|
302
|
+
return this.d1p(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
304
303
|
};
|
|
305
|
-
protoOf($serializer).
|
|
306
|
-
var tmp0_desc = this.
|
|
304
|
+
protoOf($serializer).ck = function (decoder) {
|
|
305
|
+
var tmp0_desc = this.c1p_1;
|
|
307
306
|
var tmp1_flag = true;
|
|
308
307
|
var tmp2_index = 0;
|
|
309
308
|
var tmp3_bitMask0 = 0;
|
|
310
309
|
var tmp4_local0 = null;
|
|
311
|
-
var tmp5_input = decoder.
|
|
312
|
-
if (tmp5_input.
|
|
313
|
-
tmp4_local0 = tmp5_input.
|
|
310
|
+
var tmp5_input = decoder.jn(tmp0_desc);
|
|
311
|
+
if (tmp5_input.zn()) {
|
|
312
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
314
313
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
315
314
|
} else
|
|
316
315
|
while (tmp1_flag) {
|
|
317
|
-
tmp2_index = tmp5_input.
|
|
316
|
+
tmp2_index = tmp5_input.ao(tmp0_desc);
|
|
318
317
|
switch (tmp2_index) {
|
|
319
318
|
case -1:
|
|
320
319
|
tmp1_flag = false;
|
|
321
320
|
break;
|
|
322
321
|
case 0:
|
|
323
|
-
tmp4_local0 = tmp5_input.
|
|
322
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
324
323
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
325
324
|
break;
|
|
326
325
|
default:
|
|
327
326
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
328
327
|
}
|
|
329
328
|
}
|
|
330
|
-
tmp5_input.
|
|
329
|
+
tmp5_input.kn(tmp0_desc);
|
|
331
330
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
332
331
|
};
|
|
333
|
-
protoOf($serializer).
|
|
334
|
-
return this.
|
|
332
|
+
protoOf($serializer).ak = function () {
|
|
333
|
+
return this.c1p_1;
|
|
335
334
|
};
|
|
336
|
-
protoOf($serializer).
|
|
335
|
+
protoOf($serializer).qv = function () {
|
|
337
336
|
// Inline function 'kotlin.arrayOf' call
|
|
338
337
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
339
338
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -347,10 +346,10 @@
|
|
|
347
346
|
}
|
|
348
347
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
349
348
|
if (!(1 === (1 & seen0))) {
|
|
350
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
349
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().c1p_1);
|
|
351
350
|
}
|
|
352
351
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
353
|
-
$this.
|
|
352
|
+
$this.e1p_1 = playerId;
|
|
354
353
|
return $this;
|
|
355
354
|
}
|
|
356
355
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -358,20 +357,20 @@
|
|
|
358
357
|
}
|
|
359
358
|
function PlayerReturnsReason(playerId) {
|
|
360
359
|
ContinueGameReason.call(this);
|
|
361
|
-
this.
|
|
360
|
+
this.e1p_1 = playerId;
|
|
362
361
|
}
|
|
363
362
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
364
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
363
|
+
return 'PlayerReturnsReason(playerId=' + this.e1p_1 + ')';
|
|
365
364
|
};
|
|
366
365
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
367
|
-
return getStringHashCode(this.
|
|
366
|
+
return getStringHashCode(this.e1p_1);
|
|
368
367
|
};
|
|
369
368
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
370
369
|
if (this === other)
|
|
371
370
|
return true;
|
|
372
371
|
if (!(other instanceof PlayerReturnsReason))
|
|
373
372
|
return false;
|
|
374
|
-
if (!(this.
|
|
373
|
+
if (!(this.e1p_1 === other.e1p_1))
|
|
375
374
|
return false;
|
|
376
375
|
return true;
|
|
377
376
|
};
|
|
@@ -384,50 +383,50 @@
|
|
|
384
383
|
function $serializer_0() {
|
|
385
384
|
$serializer_instance_0 = this;
|
|
386
385
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
387
|
-
tmp0_serialDesc.
|
|
388
|
-
this.
|
|
386
|
+
tmp0_serialDesc.zu('fromRound', false);
|
|
387
|
+
this.f1p_1 = tmp0_serialDesc;
|
|
389
388
|
}
|
|
390
|
-
protoOf($serializer_0).
|
|
391
|
-
var tmp0_desc = this.
|
|
392
|
-
var tmp1_output = encoder.
|
|
393
|
-
tmp1_output.
|
|
394
|
-
tmp1_output.
|
|
389
|
+
protoOf($serializer_0).g1p = function (encoder, value) {
|
|
390
|
+
var tmp0_desc = this.f1p_1;
|
|
391
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
392
|
+
tmp1_output.cp(tmp0_desc, 0, IntSerializer_getInstance(), value.h1p_1);
|
|
393
|
+
tmp1_output.kn(tmp0_desc);
|
|
395
394
|
};
|
|
396
|
-
protoOf($serializer_0).
|
|
397
|
-
return this.
|
|
395
|
+
protoOf($serializer_0).bk = function (encoder, value) {
|
|
396
|
+
return this.g1p(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
398
397
|
};
|
|
399
|
-
protoOf($serializer_0).
|
|
400
|
-
var tmp0_desc = this.
|
|
398
|
+
protoOf($serializer_0).ck = function (decoder) {
|
|
399
|
+
var tmp0_desc = this.f1p_1;
|
|
401
400
|
var tmp1_flag = true;
|
|
402
401
|
var tmp2_index = 0;
|
|
403
402
|
var tmp3_bitMask0 = 0;
|
|
404
403
|
var tmp4_local0 = null;
|
|
405
|
-
var tmp5_input = decoder.
|
|
406
|
-
if (tmp5_input.
|
|
407
|
-
tmp4_local0 = tmp5_input.
|
|
404
|
+
var tmp5_input = decoder.jn(tmp0_desc);
|
|
405
|
+
if (tmp5_input.zn()) {
|
|
406
|
+
tmp4_local0 = tmp5_input.xn(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
408
407
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
409
408
|
} else
|
|
410
409
|
while (tmp1_flag) {
|
|
411
|
-
tmp2_index = tmp5_input.
|
|
410
|
+
tmp2_index = tmp5_input.ao(tmp0_desc);
|
|
412
411
|
switch (tmp2_index) {
|
|
413
412
|
case -1:
|
|
414
413
|
tmp1_flag = false;
|
|
415
414
|
break;
|
|
416
415
|
case 0:
|
|
417
|
-
tmp4_local0 = tmp5_input.
|
|
416
|
+
tmp4_local0 = tmp5_input.xn(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
418
417
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
419
418
|
break;
|
|
420
419
|
default:
|
|
421
420
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
422
421
|
}
|
|
423
422
|
}
|
|
424
|
-
tmp5_input.
|
|
423
|
+
tmp5_input.kn(tmp0_desc);
|
|
425
424
|
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
426
425
|
};
|
|
427
|
-
protoOf($serializer_0).
|
|
428
|
-
return this.
|
|
426
|
+
protoOf($serializer_0).ak = function () {
|
|
427
|
+
return this.f1p_1;
|
|
429
428
|
};
|
|
430
|
-
protoOf($serializer_0).
|
|
429
|
+
protoOf($serializer_0).qv = function () {
|
|
431
430
|
// Inline function 'kotlin.arrayOf' call
|
|
432
431
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
433
432
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -441,10 +440,10 @@
|
|
|
441
440
|
}
|
|
442
441
|
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
443
442
|
if (!(1 === (1 & seen0))) {
|
|
444
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
443
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().f1p_1);
|
|
445
444
|
}
|
|
446
445
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
447
|
-
$this.
|
|
446
|
+
$this.h1p_1 = fromRound;
|
|
448
447
|
return $this;
|
|
449
448
|
}
|
|
450
449
|
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
@@ -452,31 +451,31 @@
|
|
|
452
451
|
}
|
|
453
452
|
function RestartRoundReason(fromRound) {
|
|
454
453
|
ContinueGameReason.call(this);
|
|
455
|
-
this.
|
|
454
|
+
this.h1p_1 = fromRound;
|
|
456
455
|
}
|
|
457
456
|
protoOf(RestartRoundReason).toString = function () {
|
|
458
|
-
return 'RestartRoundReason(fromRound=' + this.
|
|
457
|
+
return 'RestartRoundReason(fromRound=' + this.h1p_1 + ')';
|
|
459
458
|
};
|
|
460
459
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
461
|
-
return this.
|
|
460
|
+
return this.h1p_1 == null ? 0 : this.h1p_1;
|
|
462
461
|
};
|
|
463
462
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
464
463
|
if (this === other)
|
|
465
464
|
return true;
|
|
466
465
|
if (!(other instanceof RestartRoundReason))
|
|
467
466
|
return false;
|
|
468
|
-
if (!(this.
|
|
467
|
+
if (!(this.h1p_1 == other.h1p_1))
|
|
469
468
|
return false;
|
|
470
469
|
return true;
|
|
471
470
|
};
|
|
472
471
|
function Companion_2() {
|
|
473
472
|
}
|
|
474
|
-
protoOf(Companion_2).
|
|
473
|
+
protoOf(Companion_2).i1p = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
475
474
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
476
475
|
};
|
|
477
476
|
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
478
477
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
479
|
-
return $super === VOID ? this.
|
|
478
|
+
return $super === VOID ? this.i1p(fileLogsEnabled, logsDirectoryPath, fileNameFormat) : $super.i1p.call(this, fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
480
479
|
};
|
|
481
480
|
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
482
481
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -495,19 +494,19 @@
|
|
|
495
494
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
496
495
|
this.fileNameFormat = fileNameFormat;
|
|
497
496
|
}
|
|
498
|
-
protoOf(CoreConfig).
|
|
497
|
+
protoOf(CoreConfig).j1p = function () {
|
|
499
498
|
return this.fileLogsEnabled;
|
|
500
499
|
};
|
|
501
|
-
protoOf(CoreConfig).
|
|
500
|
+
protoOf(CoreConfig).k1p = function () {
|
|
502
501
|
return this.deleteFilesOnClear;
|
|
503
502
|
};
|
|
504
|
-
protoOf(CoreConfig).
|
|
503
|
+
protoOf(CoreConfig).l1p = function () {
|
|
505
504
|
return this.logsDirectoryPath;
|
|
506
505
|
};
|
|
507
|
-
protoOf(CoreConfig).
|
|
506
|
+
protoOf(CoreConfig).m1p = function () {
|
|
508
507
|
return this.fileNameFormat;
|
|
509
508
|
};
|
|
510
|
-
protoOf(CoreConfig).
|
|
509
|
+
protoOf(CoreConfig).n1p = function () {
|
|
511
510
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
512
511
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
513
512
|
};
|
|
@@ -517,13 +516,13 @@
|
|
|
517
516
|
protoOf(CoreConfig).tc = function () {
|
|
518
517
|
return this.deleteFilesOnClear;
|
|
519
518
|
};
|
|
520
|
-
protoOf(CoreConfig).
|
|
519
|
+
protoOf(CoreConfig).di = function () {
|
|
521
520
|
return this.logsDirectoryPath;
|
|
522
521
|
};
|
|
523
|
-
protoOf(CoreConfig).
|
|
522
|
+
protoOf(CoreConfig).t16 = function () {
|
|
524
523
|
return this.fileNameFormat;
|
|
525
524
|
};
|
|
526
|
-
protoOf(CoreConfig).
|
|
525
|
+
protoOf(CoreConfig).o1p = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
527
526
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
528
527
|
};
|
|
529
528
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -531,7 +530,7 @@
|
|
|
531
530
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
532
531
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
533
532
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
534
|
-
return $super === VOID ? this.
|
|
533
|
+
return $super === VOID ? this.o1p(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) : $super.o1p.call(this, fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
535
534
|
};
|
|
536
535
|
protoOf(CoreConfig).toString = function () {
|
|
537
536
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -559,7 +558,7 @@
|
|
|
559
558
|
return true;
|
|
560
559
|
};
|
|
561
560
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
562
|
-
return $this.
|
|
561
|
+
return $this.p1p_1.v1();
|
|
563
562
|
}
|
|
564
563
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
565
564
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -573,13 +572,13 @@
|
|
|
573
572
|
RestartGameReason_instance = this;
|
|
574
573
|
var tmp = this;
|
|
575
574
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
576
|
-
tmp.
|
|
575
|
+
tmp.p1p_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
577
576
|
}
|
|
578
|
-
protoOf(RestartGameReason).
|
|
577
|
+
protoOf(RestartGameReason).c18 = function () {
|
|
579
578
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
580
579
|
};
|
|
581
|
-
protoOf(RestartGameReason).
|
|
582
|
-
return this.
|
|
580
|
+
protoOf(RestartGameReason).bw = function (typeParamsSerializers) {
|
|
581
|
+
return this.c18();
|
|
583
582
|
};
|
|
584
583
|
protoOf(RestartGameReason).toString = function () {
|
|
585
584
|
return 'RestartGameReason';
|
|
@@ -604,34 +603,34 @@
|
|
|
604
603
|
}
|
|
605
604
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
606
605
|
TerminationGameReason.call(this);
|
|
607
|
-
this.
|
|
606
|
+
this.q1p_1 = playerId;
|
|
608
607
|
this.tag = tag;
|
|
609
608
|
}
|
|
610
|
-
protoOf(PlayerLostConnectionReason).
|
|
611
|
-
return this.
|
|
609
|
+
protoOf(PlayerLostConnectionReason).r1p = function () {
|
|
610
|
+
return this.q1p_1;
|
|
612
611
|
};
|
|
613
|
-
protoOf(PlayerLostConnectionReason).
|
|
612
|
+
protoOf(PlayerLostConnectionReason).s1p = function () {
|
|
614
613
|
return this.tag;
|
|
615
614
|
};
|
|
616
615
|
protoOf(PlayerLostConnectionReason).sc = function () {
|
|
617
|
-
return this.
|
|
616
|
+
return this.q1p_1;
|
|
618
617
|
};
|
|
619
618
|
protoOf(PlayerLostConnectionReason).tc = function () {
|
|
620
619
|
return this.tag;
|
|
621
620
|
};
|
|
622
|
-
protoOf(PlayerLostConnectionReason).
|
|
621
|
+
protoOf(PlayerLostConnectionReason).t1p = function (playerId, tag) {
|
|
623
622
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
624
623
|
};
|
|
625
624
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
626
|
-
playerId = playerId === VOID ? this.
|
|
625
|
+
playerId = playerId === VOID ? this.q1p_1 : playerId;
|
|
627
626
|
tag = tag === VOID ? this.tag : tag;
|
|
628
|
-
return $super === VOID ? this.
|
|
627
|
+
return $super === VOID ? this.t1p(playerId, tag) : $super.t1p.call(this, playerId, tag);
|
|
629
628
|
};
|
|
630
629
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
631
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
630
|
+
return 'PlayerLostConnectionReason(playerId=' + this.q1p_1 + ', tag=' + this.tag + ')';
|
|
632
631
|
};
|
|
633
632
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
634
|
-
var result = getStringHashCode(this.
|
|
633
|
+
var result = getStringHashCode(this.q1p_1);
|
|
635
634
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
636
635
|
return result;
|
|
637
636
|
};
|
|
@@ -640,7 +639,7 @@
|
|
|
640
639
|
return true;
|
|
641
640
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
642
641
|
return false;
|
|
643
|
-
if (!(this.
|
|
642
|
+
if (!(this.q1p_1 === other.q1p_1))
|
|
644
643
|
return false;
|
|
645
644
|
if (!(this.tag == other.tag))
|
|
646
645
|
return false;
|
|
@@ -648,34 +647,34 @@
|
|
|
648
647
|
};
|
|
649
648
|
function PlayerTimeoutReason(playerId, tag) {
|
|
650
649
|
TerminationGameReason.call(this);
|
|
651
|
-
this.
|
|
650
|
+
this.u1p_1 = playerId;
|
|
652
651
|
this.tag = tag;
|
|
653
652
|
}
|
|
654
|
-
protoOf(PlayerTimeoutReason).
|
|
655
|
-
return this.
|
|
653
|
+
protoOf(PlayerTimeoutReason).r1p = function () {
|
|
654
|
+
return this.u1p_1;
|
|
656
655
|
};
|
|
657
|
-
protoOf(PlayerTimeoutReason).
|
|
656
|
+
protoOf(PlayerTimeoutReason).s1p = function () {
|
|
658
657
|
return this.tag;
|
|
659
658
|
};
|
|
660
659
|
protoOf(PlayerTimeoutReason).sc = function () {
|
|
661
|
-
return this.
|
|
660
|
+
return this.u1p_1;
|
|
662
661
|
};
|
|
663
662
|
protoOf(PlayerTimeoutReason).tc = function () {
|
|
664
663
|
return this.tag;
|
|
665
664
|
};
|
|
666
|
-
protoOf(PlayerTimeoutReason).
|
|
665
|
+
protoOf(PlayerTimeoutReason).t1p = function (playerId, tag) {
|
|
667
666
|
return new PlayerTimeoutReason(playerId, tag);
|
|
668
667
|
};
|
|
669
668
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
670
|
-
playerId = playerId === VOID ? this.
|
|
669
|
+
playerId = playerId === VOID ? this.u1p_1 : playerId;
|
|
671
670
|
tag = tag === VOID ? this.tag : tag;
|
|
672
|
-
return $super === VOID ? this.
|
|
671
|
+
return $super === VOID ? this.t1p(playerId, tag) : $super.t1p.call(this, playerId, tag);
|
|
673
672
|
};
|
|
674
673
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
675
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
674
|
+
return 'PlayerTimeoutReason(playerId=' + this.u1p_1 + ', tag=' + this.tag + ')';
|
|
676
675
|
};
|
|
677
676
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
678
|
-
var result = getStringHashCode(this.
|
|
677
|
+
var result = getStringHashCode(this.u1p_1);
|
|
679
678
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
680
679
|
return result;
|
|
681
680
|
};
|
|
@@ -684,7 +683,7 @@
|
|
|
684
683
|
return true;
|
|
685
684
|
if (!(other instanceof PlayerTimeoutReason))
|
|
686
685
|
return false;
|
|
687
|
-
if (!(this.
|
|
686
|
+
if (!(this.u1p_1 === other.u1p_1))
|
|
688
687
|
return false;
|
|
689
688
|
if (!(this.tag == other.tag))
|
|
690
689
|
return false;
|
|
@@ -692,40 +691,40 @@
|
|
|
692
691
|
};
|
|
693
692
|
function PlayerExitReason(playerId) {
|
|
694
693
|
TerminationGameReason.call(this);
|
|
695
|
-
this.
|
|
694
|
+
this.v1p_1 = playerId;
|
|
696
695
|
}
|
|
697
|
-
protoOf(PlayerExitReason).
|
|
698
|
-
return this.
|
|
696
|
+
protoOf(PlayerExitReason).r1p = function () {
|
|
697
|
+
return this.v1p_1;
|
|
699
698
|
};
|
|
700
699
|
protoOf(PlayerExitReason).sc = function () {
|
|
701
|
-
return this.
|
|
700
|
+
return this.v1p_1;
|
|
702
701
|
};
|
|
703
|
-
protoOf(PlayerExitReason).
|
|
702
|
+
protoOf(PlayerExitReason).w1p = function (playerId) {
|
|
704
703
|
return new PlayerExitReason(playerId);
|
|
705
704
|
};
|
|
706
705
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
707
|
-
playerId = playerId === VOID ? this.
|
|
708
|
-
return $super === VOID ? this.
|
|
706
|
+
playerId = playerId === VOID ? this.v1p_1 : playerId;
|
|
707
|
+
return $super === VOID ? this.w1p(playerId) : $super.w1p.call(this, playerId);
|
|
709
708
|
};
|
|
710
709
|
protoOf(PlayerExitReason).toString = function () {
|
|
711
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
710
|
+
return 'PlayerExitReason(playerId=' + this.v1p_1 + ')';
|
|
712
711
|
};
|
|
713
712
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
714
|
-
return getStringHashCode(this.
|
|
713
|
+
return getStringHashCode(this.v1p_1);
|
|
715
714
|
};
|
|
716
715
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
717
716
|
if (this === other)
|
|
718
717
|
return true;
|
|
719
718
|
if (!(other instanceof PlayerExitReason))
|
|
720
719
|
return false;
|
|
721
|
-
if (!(this.
|
|
720
|
+
if (!(this.v1p_1 === other.v1p_1))
|
|
722
721
|
return false;
|
|
723
722
|
return true;
|
|
724
723
|
};
|
|
725
724
|
function FinishPlayerReason() {
|
|
726
725
|
}
|
|
727
726
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
728
|
-
return $this.
|
|
727
|
+
return $this.x1p_1.v1();
|
|
729
728
|
}
|
|
730
729
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
731
730
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -768,13 +767,13 @@
|
|
|
768
767
|
Companion_instance_3 = this;
|
|
769
768
|
var tmp = this;
|
|
770
769
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
771
|
-
tmp.
|
|
770
|
+
tmp.x1p_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
772
771
|
}
|
|
773
|
-
protoOf(Companion_3).
|
|
772
|
+
protoOf(Companion_3).c18 = function () {
|
|
774
773
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
775
774
|
};
|
|
776
|
-
protoOf(Companion_3).
|
|
777
|
-
return this.
|
|
775
|
+
protoOf(Companion_3).bw = function (typeParamsSerializers) {
|
|
776
|
+
return this.c18();
|
|
778
777
|
};
|
|
779
778
|
var Companion_instance_3;
|
|
780
779
|
function Companion_getInstance_6() {
|
|
@@ -828,18 +827,18 @@
|
|
|
828
827
|
TerminationGameReason.call(this);
|
|
829
828
|
this.reason = reason;
|
|
830
829
|
}
|
|
831
|
-
protoOf(GameFinishedReason).
|
|
830
|
+
protoOf(GameFinishedReason).a1q = function () {
|
|
832
831
|
return this.reason;
|
|
833
832
|
};
|
|
834
833
|
protoOf(GameFinishedReason).sc = function () {
|
|
835
834
|
return this.reason;
|
|
836
835
|
};
|
|
837
|
-
protoOf(GameFinishedReason).
|
|
836
|
+
protoOf(GameFinishedReason).b1q = function (reason) {
|
|
838
837
|
return new GameFinishedReason(reason);
|
|
839
838
|
};
|
|
840
839
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
841
840
|
reason = reason === VOID ? this.reason : reason;
|
|
842
|
-
return $super === VOID ? this.
|
|
841
|
+
return $super === VOID ? this.b1q(reason) : $super.b1q.call(this, reason);
|
|
843
842
|
};
|
|
844
843
|
protoOf(GameFinishedReason).toString = function () {
|
|
845
844
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -857,7 +856,7 @@
|
|
|
857
856
|
return true;
|
|
858
857
|
};
|
|
859
858
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
860
|
-
return $this.
|
|
859
|
+
return $this.c1q_1.v1();
|
|
861
860
|
}
|
|
862
861
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
863
862
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -900,13 +899,13 @@
|
|
|
900
899
|
Companion_instance_4 = this;
|
|
901
900
|
var tmp = this;
|
|
902
901
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
903
|
-
tmp.
|
|
902
|
+
tmp.c1q_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
904
903
|
}
|
|
905
|
-
protoOf(Companion_4).
|
|
904
|
+
protoOf(Companion_4).c18 = function () {
|
|
906
905
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
907
906
|
};
|
|
908
|
-
protoOf(Companion_4).
|
|
909
|
-
return this.
|
|
907
|
+
protoOf(Companion_4).bw = function (typeParamsSerializers) {
|
|
908
|
+
return this.c18();
|
|
910
909
|
};
|
|
911
910
|
var Companion_instance_4;
|
|
912
911
|
function Companion_getInstance_7() {
|
|
@@ -960,18 +959,18 @@
|
|
|
960
959
|
TerminationGameReason.call(this);
|
|
961
960
|
this.reason = reason;
|
|
962
961
|
}
|
|
963
|
-
protoOf(GameErrorReason).
|
|
962
|
+
protoOf(GameErrorReason).a1q = function () {
|
|
964
963
|
return this.reason;
|
|
965
964
|
};
|
|
966
965
|
protoOf(GameErrorReason).sc = function () {
|
|
967
966
|
return this.reason;
|
|
968
967
|
};
|
|
969
|
-
protoOf(GameErrorReason).
|
|
968
|
+
protoOf(GameErrorReason).f1q = function (reason) {
|
|
970
969
|
return new GameErrorReason(reason);
|
|
971
970
|
};
|
|
972
971
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
973
972
|
reason = reason === VOID ? this.reason : reason;
|
|
974
|
-
return $super === VOID ? this.
|
|
973
|
+
return $super === VOID ? this.f1q(reason) : $super.f1q.call(this, reason);
|
|
975
974
|
};
|
|
976
975
|
protoOf(GameErrorReason).toString = function () {
|
|
977
976
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1044,7 +1043,7 @@
|
|
|
1044
1043
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1045
1044
|
rating = rating === VOID ? null : rating;
|
|
1046
1045
|
payload = payload === VOID ? null : payload;
|
|
1047
|
-
this.
|
|
1046
|
+
this.g1q_1 = playerId;
|
|
1048
1047
|
this.name = name;
|
|
1049
1048
|
this.avatarUrl = avatarUrl;
|
|
1050
1049
|
this.isBot = isBot;
|
|
@@ -1052,25 +1051,25 @@
|
|
|
1052
1051
|
this.rating = rating;
|
|
1053
1052
|
this.payload = payload;
|
|
1054
1053
|
}
|
|
1055
|
-
protoOf(GameUserInfo).
|
|
1056
|
-
return this.
|
|
1054
|
+
protoOf(GameUserInfo).r1p = function () {
|
|
1055
|
+
return this.g1q_1;
|
|
1057
1056
|
};
|
|
1058
1057
|
protoOf(GameUserInfo).i2 = function () {
|
|
1059
1058
|
return this.name;
|
|
1060
1059
|
};
|
|
1061
|
-
protoOf(GameUserInfo).
|
|
1060
|
+
protoOf(GameUserInfo).h1q = function () {
|
|
1062
1061
|
return this.avatarUrl;
|
|
1063
1062
|
};
|
|
1064
|
-
protoOf(GameUserInfo).
|
|
1063
|
+
protoOf(GameUserInfo).i1q = function () {
|
|
1065
1064
|
return this.isBot;
|
|
1066
1065
|
};
|
|
1067
|
-
protoOf(GameUserInfo).
|
|
1066
|
+
protoOf(GameUserInfo).j1q = function () {
|
|
1068
1067
|
return this.initialLuckyFactor;
|
|
1069
1068
|
};
|
|
1070
|
-
protoOf(GameUserInfo).
|
|
1069
|
+
protoOf(GameUserInfo).k1q = function () {
|
|
1071
1070
|
return this.rating;
|
|
1072
1071
|
};
|
|
1073
|
-
protoOf(GameUserInfo).
|
|
1072
|
+
protoOf(GameUserInfo).l1q = function () {
|
|
1074
1073
|
return this.payload;
|
|
1075
1074
|
};
|
|
1076
1075
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1078,7 +1077,7 @@
|
|
|
1078
1077
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1079
1078
|
};
|
|
1080
1079
|
protoOf(GameUserInfo).toString = function () {
|
|
1081
|
-
var tmp = 'playerId=' + this.
|
|
1080
|
+
var tmp = 'playerId=' + this.g1q_1;
|
|
1082
1081
|
var tmp_0 = 'name=' + this.name;
|
|
1083
1082
|
// Inline function 'kotlin.takeIf' call
|
|
1084
1083
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1128,41 +1127,41 @@
|
|
|
1128
1127
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1129
1128
|
};
|
|
1130
1129
|
protoOf(GameUserInfo).sc = function () {
|
|
1131
|
-
return this.
|
|
1130
|
+
return this.g1q_1;
|
|
1132
1131
|
};
|
|
1133
1132
|
protoOf(GameUserInfo).tc = function () {
|
|
1134
1133
|
return this.name;
|
|
1135
1134
|
};
|
|
1136
|
-
protoOf(GameUserInfo).
|
|
1135
|
+
protoOf(GameUserInfo).di = function () {
|
|
1137
1136
|
return this.avatarUrl;
|
|
1138
1137
|
};
|
|
1139
|
-
protoOf(GameUserInfo).
|
|
1138
|
+
protoOf(GameUserInfo).t16 = function () {
|
|
1140
1139
|
return this.isBot;
|
|
1141
1140
|
};
|
|
1142
|
-
protoOf(GameUserInfo).
|
|
1141
|
+
protoOf(GameUserInfo).m1q = function () {
|
|
1143
1142
|
return this.initialLuckyFactor;
|
|
1144
1143
|
};
|
|
1145
|
-
protoOf(GameUserInfo).
|
|
1144
|
+
protoOf(GameUserInfo).n1q = function () {
|
|
1146
1145
|
return this.rating;
|
|
1147
1146
|
};
|
|
1148
|
-
protoOf(GameUserInfo).
|
|
1147
|
+
protoOf(GameUserInfo).o1q = function () {
|
|
1149
1148
|
return this.payload;
|
|
1150
1149
|
};
|
|
1151
|
-
protoOf(GameUserInfo).
|
|
1150
|
+
protoOf(GameUserInfo).p1q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1152
1151
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1153
1152
|
};
|
|
1154
1153
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1155
|
-
playerId = playerId === VOID ? this.
|
|
1154
|
+
playerId = playerId === VOID ? this.g1q_1 : playerId;
|
|
1156
1155
|
name = name === VOID ? this.name : name;
|
|
1157
1156
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1158
1157
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1159
1158
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1160
1159
|
rating = rating === VOID ? this.rating : rating;
|
|
1161
1160
|
payload = payload === VOID ? this.payload : payload;
|
|
1162
|
-
return $super === VOID ? this.
|
|
1161
|
+
return $super === VOID ? this.p1q(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) : $super.p1q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1163
1162
|
};
|
|
1164
1163
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1165
|
-
var result = getStringHashCode(this.
|
|
1164
|
+
var result = getStringHashCode(this.g1q_1);
|
|
1166
1165
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1167
1166
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1168
1167
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1176,7 +1175,7 @@
|
|
|
1176
1175
|
return true;
|
|
1177
1176
|
if (!(other instanceof GameUserInfo))
|
|
1178
1177
|
return false;
|
|
1179
|
-
if (!(this.
|
|
1178
|
+
if (!(this.g1q_1 === other.g1q_1))
|
|
1180
1179
|
return false;
|
|
1181
1180
|
if (!(this.name === other.name))
|
|
1182
1181
|
return false;
|
|
@@ -1237,18 +1236,18 @@
|
|
|
1237
1236
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1238
1237
|
}
|
|
1239
1238
|
function PlayerIndex(playerId, playerIndex) {
|
|
1240
|
-
this.
|
|
1241
|
-
this.
|
|
1239
|
+
this.q1q_1 = playerId;
|
|
1240
|
+
this.r1q_1 = playerIndex;
|
|
1242
1241
|
}
|
|
1243
|
-
protoOf(PlayerIndex).
|
|
1244
|
-
return this.
|
|
1242
|
+
protoOf(PlayerIndex).r1p = function () {
|
|
1243
|
+
return this.q1q_1;
|
|
1245
1244
|
};
|
|
1246
1245
|
protoOf(PlayerIndex).toString = function () {
|
|
1247
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1246
|
+
return 'PlayerIndex(playerId=' + this.q1q_1 + ', playerIndex=' + this.r1q_1 + ')';
|
|
1248
1247
|
};
|
|
1249
1248
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1250
|
-
var result = getStringHashCode(this.
|
|
1251
|
-
result = imul(result, 31) + this.
|
|
1249
|
+
var result = getStringHashCode(this.q1q_1);
|
|
1250
|
+
result = imul(result, 31) + this.r1q_1 | 0;
|
|
1252
1251
|
return result;
|
|
1253
1252
|
};
|
|
1254
1253
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1256,9 +1255,9 @@
|
|
|
1256
1255
|
return true;
|
|
1257
1256
|
if (!(other instanceof PlayerIndex))
|
|
1258
1257
|
return false;
|
|
1259
|
-
if (!(this.
|
|
1258
|
+
if (!(this.q1q_1 === other.q1q_1))
|
|
1260
1259
|
return false;
|
|
1261
|
-
if (!(this.
|
|
1260
|
+
if (!(this.r1q_1 === other.r1q_1))
|
|
1262
1261
|
return false;
|
|
1263
1262
|
return true;
|
|
1264
1263
|
};
|
|
@@ -1273,7 +1272,7 @@
|
|
|
1273
1272
|
}
|
|
1274
1273
|
function playerTurnPredicate$lambda(p1) {
|
|
1275
1274
|
_init_properties_Player_kt__qi83pd();
|
|
1276
|
-
return p1.
|
|
1275
|
+
return p1.s1q().a1r();
|
|
1277
1276
|
}
|
|
1278
1277
|
var properties_initialized_Player_kt_56shkt;
|
|
1279
1278
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1283,64 +1282,68 @@
|
|
|
1283
1282
|
playerTurnPredicate = playerTurnPredicate$lambda;
|
|
1284
1283
|
}
|
|
1285
1284
|
}
|
|
1285
|
+
function _get_lastConnectionStateDuration__9l9kps($this) {
|
|
1286
|
+
if ($this.c1r_1 == null) {
|
|
1287
|
+
return Companion_getInstance().lg_1;
|
|
1288
|
+
}
|
|
1289
|
+
var now = System_instance.kg();
|
|
1290
|
+
return now.zg($this.c1r_1);
|
|
1291
|
+
}
|
|
1286
1292
|
function Companion_5() {
|
|
1287
|
-
this.
|
|
1293
|
+
this.e1r_1 = 70;
|
|
1288
1294
|
}
|
|
1289
|
-
protoOf(Companion_5).
|
|
1290
|
-
return new PlayerConnection(state,
|
|
1295
|
+
protoOf(Companion_5).f1r = function (state, connectionChangedTime) {
|
|
1296
|
+
return new PlayerConnection(state, connectionChangedTime);
|
|
1291
1297
|
};
|
|
1292
|
-
protoOf(Companion_5).
|
|
1293
|
-
|
|
1294
|
-
return $super === VOID ? this.
|
|
1298
|
+
protoOf(Companion_5).g1r = function (state, connectionChangedTime, $super) {
|
|
1299
|
+
connectionChangedTime = connectionChangedTime === VOID ? null : connectionChangedTime;
|
|
1300
|
+
return $super === VOID ? this.f1r(state, connectionChangedTime) : $super.f1r.call(this, state, connectionChangedTime);
|
|
1295
1301
|
};
|
|
1296
1302
|
var Companion_instance_5;
|
|
1297
1303
|
function Companion_getInstance_8() {
|
|
1298
1304
|
return Companion_instance_5;
|
|
1299
1305
|
}
|
|
1300
1306
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1301
|
-
connectionChangedTime = connectionChangedTime === VOID ?
|
|
1307
|
+
connectionChangedTime = connectionChangedTime === VOID ? null : connectionChangedTime;
|
|
1302
1308
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().lg_1 : notLiveDurationRecord;
|
|
1303
|
-
this.
|
|
1304
|
-
this.
|
|
1305
|
-
this.
|
|
1309
|
+
this.b1r_1 = state;
|
|
1310
|
+
this.c1r_1 = connectionChangedTime;
|
|
1311
|
+
this.d1r_1 = notLiveDurationRecord;
|
|
1306
1312
|
}
|
|
1307
|
-
protoOf(PlayerConnection).
|
|
1308
|
-
return System_instance.kg().bh(this.h1r_1);
|
|
1309
|
-
};
|
|
1310
|
-
protoOf(PlayerConnection).k1r = function () {
|
|
1313
|
+
protoOf(PlayerConnection).h1r = function () {
|
|
1311
1314
|
var tmp;
|
|
1312
|
-
if (this.
|
|
1313
|
-
tmp = this.
|
|
1315
|
+
if (this.b1r_1.isLive) {
|
|
1316
|
+
tmp = this.d1r_1;
|
|
1314
1317
|
} else {
|
|
1315
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1318
|
+
tmp = Duration__plus_impl_yu9v8f(this.d1r_1, _get_lastConnectionStateDuration__9l9kps(this));
|
|
1316
1319
|
}
|
|
1317
1320
|
return tmp;
|
|
1318
1321
|
};
|
|
1319
|
-
protoOf(PlayerConnection).
|
|
1322
|
+
protoOf(PlayerConnection).i1r = function (gameDuration) {
|
|
1320
1323
|
// Inline function 'kotlin.Long.div' call
|
|
1321
1324
|
var this_0 = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration);
|
|
1322
1325
|
var percent = toNumber(this_0) / 100.0;
|
|
1323
1326
|
// Inline function 'kotlin.Long.div' call
|
|
1324
|
-
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1327
|
+
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.h1r());
|
|
1325
1328
|
// Inline function 'kotlin.math.round' call
|
|
1326
1329
|
var x = toNumber(this_1) / percent;
|
|
1327
1330
|
var tmp$ret$2 = round(x);
|
|
1328
1331
|
return numberToInt(tmp$ret$2);
|
|
1329
1332
|
};
|
|
1330
|
-
protoOf(PlayerConnection).
|
|
1331
|
-
return 100 - this.
|
|
1333
|
+
protoOf(PlayerConnection).j1r = function (gameDuration) {
|
|
1334
|
+
return 100 - this.i1r(gameDuration) | 0;
|
|
1332
1335
|
};
|
|
1333
|
-
protoOf(PlayerConnection).
|
|
1334
|
-
var percentage = this.
|
|
1336
|
+
protoOf(PlayerConnection).k1r = function (gameDuration) {
|
|
1337
|
+
var percentage = this.j1r(gameDuration);
|
|
1335
1338
|
return percentage >= 70;
|
|
1336
1339
|
};
|
|
1337
1340
|
protoOf(PlayerConnection).toString = function () {
|
|
1338
|
-
return 'PlayerConnection(state=' + this.
|
|
1341
|
+
return 'PlayerConnection(state=' + this.b1r_1.toString() + ', connectionChangedTime=' + toString(this.c1r_1) + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.d1r_1) + ')';
|
|
1339
1342
|
};
|
|
1340
1343
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1341
|
-
var result = this.
|
|
1342
|
-
result = imul(result, 31) + this.
|
|
1343
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1344
|
+
var result = this.b1r_1.hashCode();
|
|
1345
|
+
result = imul(result, 31) + (this.c1r_1 == null ? 0 : this.c1r_1.hashCode()) | 0;
|
|
1346
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.d1r_1) | 0;
|
|
1344
1347
|
return result;
|
|
1345
1348
|
};
|
|
1346
1349
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1348,16 +1351,16 @@
|
|
|
1348
1351
|
return true;
|
|
1349
1352
|
if (!(other instanceof PlayerConnection))
|
|
1350
1353
|
return false;
|
|
1351
|
-
if (!this.
|
|
1354
|
+
if (!this.b1r_1.equals(other.b1r_1))
|
|
1352
1355
|
return false;
|
|
1353
|
-
if (!this.
|
|
1356
|
+
if (!equals(this.c1r_1, other.c1r_1))
|
|
1354
1357
|
return false;
|
|
1355
|
-
if (!equals(this.
|
|
1358
|
+
if (!equals(this.d1r_1, other.d1r_1))
|
|
1356
1359
|
return false;
|
|
1357
1360
|
return true;
|
|
1358
1361
|
};
|
|
1359
1362
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1360
|
-
return $this.
|
|
1363
|
+
return $this.l1r_1.v1();
|
|
1361
1364
|
}
|
|
1362
1365
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1363
1366
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1401,13 +1404,13 @@
|
|
|
1401
1404
|
Companion_instance_6 = this;
|
|
1402
1405
|
var tmp = this;
|
|
1403
1406
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1404
|
-
tmp.
|
|
1407
|
+
tmp.l1r_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1405
1408
|
}
|
|
1406
|
-
protoOf(Companion_6).
|
|
1409
|
+
protoOf(Companion_6).c18 = function () {
|
|
1407
1410
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1408
1411
|
};
|
|
1409
|
-
protoOf(Companion_6).
|
|
1410
|
-
return this.
|
|
1412
|
+
protoOf(Companion_6).bw = function (typeParamsSerializers) {
|
|
1413
|
+
return this.c18();
|
|
1411
1414
|
};
|
|
1412
1415
|
var Companion_instance_6;
|
|
1413
1416
|
function Companion_getInstance_9() {
|
|
@@ -1434,28 +1437,28 @@
|
|
|
1434
1437
|
function PlayerConnectionState(name, ordinal) {
|
|
1435
1438
|
Enum.call(this, name, ordinal);
|
|
1436
1439
|
}
|
|
1437
|
-
protoOf(PlayerConnectionState).
|
|
1440
|
+
protoOf(PlayerConnectionState).o1r = function () {
|
|
1438
1441
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1439
1442
|
};
|
|
1440
|
-
protoOf(PlayerConnectionState).
|
|
1443
|
+
protoOf(PlayerConnectionState).p1r = function () {
|
|
1441
1444
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1442
1445
|
};
|
|
1443
|
-
protoOf(PlayerConnectionState).
|
|
1446
|
+
protoOf(PlayerConnectionState).q1r = function () {
|
|
1444
1447
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1445
1448
|
};
|
|
1446
|
-
protoOf(PlayerConnectionState).
|
|
1449
|
+
protoOf(PlayerConnectionState).r1r = function () {
|
|
1447
1450
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1448
1451
|
};
|
|
1449
|
-
protoOf(PlayerConnectionState).
|
|
1452
|
+
protoOf(PlayerConnectionState).s1r = function () {
|
|
1450
1453
|
return this.equals(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
1451
1454
|
};
|
|
1452
|
-
protoOf(PlayerConnectionState).
|
|
1455
|
+
protoOf(PlayerConnectionState).t1r = function () {
|
|
1453
1456
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1454
1457
|
};
|
|
1455
|
-
protoOf(PlayerConnectionState).
|
|
1458
|
+
protoOf(PlayerConnectionState).u1r = function () {
|
|
1456
1459
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1457
1460
|
};
|
|
1458
|
-
protoOf(PlayerConnectionState).
|
|
1461
|
+
protoOf(PlayerConnectionState).v1r = function () {
|
|
1459
1462
|
var tmp;
|
|
1460
1463
|
switch (this.h2_1) {
|
|
1461
1464
|
case 3:
|
|
@@ -1476,7 +1479,7 @@
|
|
|
1476
1479
|
}
|
|
1477
1480
|
return tmp;
|
|
1478
1481
|
};
|
|
1479
|
-
protoOf(PlayerConnectionState).
|
|
1482
|
+
protoOf(PlayerConnectionState).w1r = function () {
|
|
1480
1483
|
var tmp;
|
|
1481
1484
|
switch (this.h2_1) {
|
|
1482
1485
|
case 3:
|
|
@@ -1497,7 +1500,7 @@
|
|
|
1497
1500
|
}
|
|
1498
1501
|
return tmp;
|
|
1499
1502
|
};
|
|
1500
|
-
protoOf(PlayerConnectionState).
|
|
1503
|
+
protoOf(PlayerConnectionState).x1r = function () {
|
|
1501
1504
|
var tmp;
|
|
1502
1505
|
switch (this.h2_1) {
|
|
1503
1506
|
case 3:
|
|
@@ -1522,7 +1525,7 @@
|
|
|
1522
1525
|
}
|
|
1523
1526
|
return tmp;
|
|
1524
1527
|
};
|
|
1525
|
-
protoOf(PlayerConnectionState).
|
|
1528
|
+
protoOf(PlayerConnectionState).y1r = function () {
|
|
1526
1529
|
var tmp;
|
|
1527
1530
|
switch (this.h2_1) {
|
|
1528
1531
|
case 3:
|
|
@@ -1547,7 +1550,7 @@
|
|
|
1547
1550
|
}
|
|
1548
1551
|
return tmp;
|
|
1549
1552
|
};
|
|
1550
|
-
protoOf(PlayerConnectionState).
|
|
1553
|
+
protoOf(PlayerConnectionState).z1r = function () {
|
|
1551
1554
|
var tmp;
|
|
1552
1555
|
switch (this.h2_1) {
|
|
1553
1556
|
case 3:
|
|
@@ -1570,7 +1573,7 @@
|
|
|
1570
1573
|
}
|
|
1571
1574
|
return tmp;
|
|
1572
1575
|
};
|
|
1573
|
-
protoOf(PlayerConnectionState).
|
|
1576
|
+
protoOf(PlayerConnectionState).a1s = function () {
|
|
1574
1577
|
var tmp;
|
|
1575
1578
|
switch (this.h2_1) {
|
|
1576
1579
|
case 2:
|
|
@@ -1593,7 +1596,7 @@
|
|
|
1593
1596
|
}
|
|
1594
1597
|
return tmp;
|
|
1595
1598
|
};
|
|
1596
|
-
protoOf(PlayerConnectionState).
|
|
1599
|
+
protoOf(PlayerConnectionState).b1s = function () {
|
|
1597
1600
|
var tmp;
|
|
1598
1601
|
switch (this.h2_1) {
|
|
1599
1602
|
case 5:
|
|
@@ -1647,7 +1650,7 @@
|
|
|
1647
1650
|
return PlayerConnectionState_DELETED_instance;
|
|
1648
1651
|
}
|
|
1649
1652
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1650
|
-
return $this.
|
|
1653
|
+
return $this.c1s_1.v1();
|
|
1651
1654
|
}
|
|
1652
1655
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1653
1656
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1662,13 +1665,13 @@
|
|
|
1662
1665
|
Companion_instance_7 = this;
|
|
1663
1666
|
var tmp = this;
|
|
1664
1667
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1665
|
-
tmp.
|
|
1668
|
+
tmp.c1s_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1666
1669
|
}
|
|
1667
|
-
protoOf(Companion_7).
|
|
1670
|
+
protoOf(Companion_7).c18 = function () {
|
|
1668
1671
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1669
1672
|
};
|
|
1670
|
-
protoOf(Companion_7).
|
|
1671
|
-
return this.
|
|
1673
|
+
protoOf(Companion_7).bw = function (typeParamsSerializers) {
|
|
1674
|
+
return this.c18();
|
|
1672
1675
|
};
|
|
1673
1676
|
var Companion_instance_7;
|
|
1674
1677
|
function Companion_getInstance_10() {
|
|
@@ -1690,18 +1693,18 @@
|
|
|
1690
1693
|
function PlayerWaitingState(name, ordinal) {
|
|
1691
1694
|
Enum.call(this, name, ordinal);
|
|
1692
1695
|
}
|
|
1693
|
-
protoOf(PlayerWaitingState).
|
|
1694
|
-
return this.
|
|
1696
|
+
protoOf(PlayerWaitingState).a1r = function () {
|
|
1697
|
+
return this.f1s() || this.g1s();
|
|
1695
1698
|
};
|
|
1696
|
-
protoOf(PlayerWaitingState).
|
|
1699
|
+
protoOf(PlayerWaitingState).f1s = function () {
|
|
1697
1700
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1698
1701
|
};
|
|
1699
|
-
protoOf(PlayerWaitingState).
|
|
1702
|
+
protoOf(PlayerWaitingState).g1s = function () {
|
|
1700
1703
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1701
1704
|
};
|
|
1702
1705
|
function Companion_8() {
|
|
1703
1706
|
}
|
|
1704
|
-
protoOf(Companion_8).
|
|
1707
|
+
protoOf(Companion_8).h1s = function (connection) {
|
|
1705
1708
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1706
1709
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1707
1710
|
};
|
|
@@ -1724,17 +1727,17 @@
|
|
|
1724
1727
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1725
1728
|
tag = tag === VOID ? null : tag;
|
|
1726
1729
|
connection = connection === VOID ? null : connection;
|
|
1727
|
-
this.
|
|
1728
|
-
this.
|
|
1729
|
-
this.
|
|
1730
|
-
this.
|
|
1731
|
-
this.
|
|
1732
|
-
this.
|
|
1733
|
-
this.
|
|
1734
|
-
}
|
|
1735
|
-
protoOf(PlayerState).
|
|
1730
|
+
this.t1q_1 = startFromTime;
|
|
1731
|
+
this.u1q_1 = playerTurnTimeout;
|
|
1732
|
+
this.v1q_1 = waitPlayerUntilTime;
|
|
1733
|
+
this.w1q_1 = state;
|
|
1734
|
+
this.x1q_1 = ready;
|
|
1735
|
+
this.y1q_1 = tag;
|
|
1736
|
+
this.z1q_1 = connection;
|
|
1737
|
+
}
|
|
1738
|
+
protoOf(PlayerState).i1s = function () {
|
|
1736
1739
|
// Inline function 'kotlin.requireNotNull' call
|
|
1737
|
-
var tmp0 = this.
|
|
1740
|
+
var tmp0 = this.z1q_1;
|
|
1738
1741
|
var tmp$ret$1;
|
|
1739
1742
|
$l$block: {
|
|
1740
1743
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -1750,55 +1753,55 @@
|
|
|
1750
1753
|
};
|
|
1751
1754
|
protoOf(PlayerState).toString = function () {
|
|
1752
1755
|
// Inline function 'kotlin.takeIf' call
|
|
1753
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1756
|
+
var this_0 = 'startFromTime=' + toString(this.t1q_1);
|
|
1754
1757
|
var tmp;
|
|
1755
|
-
if (!(this.
|
|
1758
|
+
if (!(this.t1q_1 == null)) {
|
|
1756
1759
|
tmp = this_0;
|
|
1757
1760
|
} else {
|
|
1758
1761
|
tmp = null;
|
|
1759
1762
|
}
|
|
1760
1763
|
var tmp_0 = tmp;
|
|
1761
1764
|
// Inline function 'kotlin.takeIf' call
|
|
1762
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1765
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.u1q_1);
|
|
1763
1766
|
var tmp_1;
|
|
1764
|
-
if (!(this.
|
|
1767
|
+
if (!(this.u1q_1 == null)) {
|
|
1765
1768
|
tmp_1 = this_1;
|
|
1766
1769
|
} else {
|
|
1767
1770
|
tmp_1 = null;
|
|
1768
1771
|
}
|
|
1769
1772
|
var tmp_2 = tmp_1;
|
|
1770
1773
|
// Inline function 'kotlin.takeIf' call
|
|
1771
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1774
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.v1q_1);
|
|
1772
1775
|
var tmp_3;
|
|
1773
|
-
if (!(this.
|
|
1776
|
+
if (!(this.v1q_1 == null)) {
|
|
1774
1777
|
tmp_3 = this_2;
|
|
1775
1778
|
} else {
|
|
1776
1779
|
tmp_3 = null;
|
|
1777
1780
|
}
|
|
1778
1781
|
var tmp_4 = tmp_3;
|
|
1779
|
-
var tmp_5 = 'state=' + this.
|
|
1782
|
+
var tmp_5 = 'state=' + this.w1q_1.toString();
|
|
1780
1783
|
// Inline function 'kotlin.takeIf' call
|
|
1781
|
-
var this_3 = 'ready=' + this.
|
|
1784
|
+
var this_3 = 'ready=' + this.x1q_1;
|
|
1782
1785
|
var tmp_6;
|
|
1783
|
-
if (this.
|
|
1786
|
+
if (this.x1q_1) {
|
|
1784
1787
|
tmp_6 = this_3;
|
|
1785
1788
|
} else {
|
|
1786
1789
|
tmp_6 = null;
|
|
1787
1790
|
}
|
|
1788
1791
|
var tmp_7 = tmp_6;
|
|
1789
1792
|
// Inline function 'kotlin.takeIf' call
|
|
1790
|
-
var this_4 = 'tag=' + this.
|
|
1793
|
+
var this_4 = 'tag=' + this.y1q_1;
|
|
1791
1794
|
var tmp_8;
|
|
1792
|
-
if (!(this.
|
|
1795
|
+
if (!(this.y1q_1 == null)) {
|
|
1793
1796
|
tmp_8 = this_4;
|
|
1794
1797
|
} else {
|
|
1795
1798
|
tmp_8 = null;
|
|
1796
1799
|
}
|
|
1797
1800
|
var tmp_9 = tmp_8;
|
|
1798
1801
|
// Inline function 'kotlin.takeIf' call
|
|
1799
|
-
var this_5 = 'connection=' + toString(this.
|
|
1802
|
+
var this_5 = 'connection=' + toString(this.z1q_1);
|
|
1800
1803
|
var tmp_10;
|
|
1801
|
-
if (!(this.
|
|
1804
|
+
if (!(this.z1q_1 == null)) {
|
|
1802
1805
|
tmp_10 = this_5;
|
|
1803
1806
|
} else {
|
|
1804
1807
|
tmp_10 = null;
|
|
@@ -1806,17 +1809,17 @@
|
|
|
1806
1809
|
var tmp$ret$11 = tmp_10;
|
|
1807
1810
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1808
1811
|
};
|
|
1809
|
-
protoOf(PlayerState).
|
|
1810
|
-
return this.
|
|
1812
|
+
protoOf(PlayerState).a1r = function () {
|
|
1813
|
+
return this.w1q_1.a1r();
|
|
1811
1814
|
};
|
|
1812
1815
|
protoOf(PlayerState).hashCode = function () {
|
|
1813
|
-
var result = this.
|
|
1814
|
-
result = imul(result, 31) + (this.
|
|
1815
|
-
result = imul(result, 31) + (this.
|
|
1816
|
-
result = imul(result, 31) + this.
|
|
1817
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1818
|
-
result = imul(result, 31) + (this.
|
|
1819
|
-
result = imul(result, 31) + (this.
|
|
1816
|
+
var result = this.t1q_1 == null ? 0 : this.t1q_1.hashCode();
|
|
1817
|
+
result = imul(result, 31) + (this.u1q_1 == null ? 0 : this.u1q_1.hashCode()) | 0;
|
|
1818
|
+
result = imul(result, 31) + (this.v1q_1 == null ? 0 : this.v1q_1.hashCode()) | 0;
|
|
1819
|
+
result = imul(result, 31) + this.w1q_1.hashCode() | 0;
|
|
1820
|
+
result = imul(result, 31) + getBooleanHashCode(this.x1q_1) | 0;
|
|
1821
|
+
result = imul(result, 31) + (this.y1q_1 == null ? 0 : getStringHashCode(this.y1q_1)) | 0;
|
|
1822
|
+
result = imul(result, 31) + (this.z1q_1 == null ? 0 : this.z1q_1.hashCode()) | 0;
|
|
1820
1823
|
return result;
|
|
1821
1824
|
};
|
|
1822
1825
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1824,46 +1827,46 @@
|
|
|
1824
1827
|
return true;
|
|
1825
1828
|
if (!(other instanceof PlayerState))
|
|
1826
1829
|
return false;
|
|
1827
|
-
if (!equals(this.
|
|
1830
|
+
if (!equals(this.t1q_1, other.t1q_1))
|
|
1828
1831
|
return false;
|
|
1829
|
-
if (!equals(this.
|
|
1832
|
+
if (!equals(this.u1q_1, other.u1q_1))
|
|
1830
1833
|
return false;
|
|
1831
|
-
if (!equals(this.
|
|
1834
|
+
if (!equals(this.v1q_1, other.v1q_1))
|
|
1832
1835
|
return false;
|
|
1833
|
-
if (!this.
|
|
1836
|
+
if (!this.w1q_1.equals(other.w1q_1))
|
|
1834
1837
|
return false;
|
|
1835
|
-
if (!(this.
|
|
1838
|
+
if (!(this.x1q_1 === other.x1q_1))
|
|
1836
1839
|
return false;
|
|
1837
|
-
if (!(this.
|
|
1840
|
+
if (!(this.y1q_1 == other.y1q_1))
|
|
1838
1841
|
return false;
|
|
1839
|
-
if (!equals(this.
|
|
1842
|
+
if (!equals(this.z1q_1, other.z1q_1))
|
|
1840
1843
|
return false;
|
|
1841
1844
|
return true;
|
|
1842
1845
|
};
|
|
1843
1846
|
function Team(playerIds) {
|
|
1844
1847
|
this.playerIds = playerIds;
|
|
1845
1848
|
}
|
|
1846
|
-
protoOf(Team).
|
|
1849
|
+
protoOf(Team).j1s = function () {
|
|
1847
1850
|
return this.playerIds;
|
|
1848
1851
|
};
|
|
1849
1852
|
protoOf(Team).containsPlayer = function (playerId) {
|
|
1850
1853
|
return this.playerIds.o1(playerId);
|
|
1851
1854
|
};
|
|
1852
|
-
protoOf(Team).
|
|
1855
|
+
protoOf(Team).k1s = function () {
|
|
1853
1856
|
return this.playerIds.p(0);
|
|
1854
1857
|
};
|
|
1855
|
-
protoOf(Team).
|
|
1858
|
+
protoOf(Team).f1d = function () {
|
|
1856
1859
|
return this.playerIds.p(1);
|
|
1857
1860
|
};
|
|
1858
1861
|
protoOf(Team).sc = function () {
|
|
1859
1862
|
return this.playerIds;
|
|
1860
1863
|
};
|
|
1861
|
-
protoOf(Team).
|
|
1864
|
+
protoOf(Team).l1s = function (playerIds) {
|
|
1862
1865
|
return new Team(playerIds);
|
|
1863
1866
|
};
|
|
1864
1867
|
protoOf(Team).copy = function (playerIds, $super) {
|
|
1865
1868
|
playerIds = playerIds === VOID ? this.playerIds : playerIds;
|
|
1866
|
-
return $super === VOID ? this.
|
|
1869
|
+
return $super === VOID ? this.l1s(playerIds) : $super.l1s.call(this, playerIds);
|
|
1867
1870
|
};
|
|
1868
1871
|
protoOf(Team).toString = function () {
|
|
1869
1872
|
return 'Team(playerIds=' + toString_0(this.playerIds) + ')';
|
|
@@ -1881,7 +1884,7 @@
|
|
|
1881
1884
|
return true;
|
|
1882
1885
|
};
|
|
1883
1886
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1884
|
-
return $this.
|
|
1887
|
+
return $this.m1s_1.v1();
|
|
1885
1888
|
}
|
|
1886
1889
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1887
1890
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1919,13 +1922,13 @@
|
|
|
1919
1922
|
Companion_instance_9 = this;
|
|
1920
1923
|
var tmp = this;
|
|
1921
1924
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1922
|
-
tmp.
|
|
1925
|
+
tmp.m1s_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1923
1926
|
}
|
|
1924
|
-
protoOf(Companion_9).
|
|
1927
|
+
protoOf(Companion_9).c18 = function () {
|
|
1925
1928
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1926
1929
|
};
|
|
1927
|
-
protoOf(Companion_9).
|
|
1928
|
-
return this.
|
|
1930
|
+
protoOf(Companion_9).bw = function (typeParamsSerializers) {
|
|
1931
|
+
return this.c18();
|
|
1929
1932
|
};
|
|
1930
1933
|
var Companion_instance_9;
|
|
1931
1934
|
function Companion_getInstance_12() {
|
|
@@ -1940,7 +1943,7 @@
|
|
|
1940
1943
|
Companion_getInstance_12();
|
|
1941
1944
|
}
|
|
1942
1945
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1943
|
-
return $this.
|
|
1946
|
+
return $this.n1s_1.v1();
|
|
1944
1947
|
}
|
|
1945
1948
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1946
1949
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1955,13 +1958,13 @@
|
|
|
1955
1958
|
TerminationGameReasonDto.call(this);
|
|
1956
1959
|
var tmp = this;
|
|
1957
1960
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1958
|
-
tmp.
|
|
1961
|
+
tmp.n1s_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1959
1962
|
}
|
|
1960
|
-
protoOf(ProcessingReasonDto).
|
|
1963
|
+
protoOf(ProcessingReasonDto).c18 = function () {
|
|
1961
1964
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1962
1965
|
};
|
|
1963
|
-
protoOf(ProcessingReasonDto).
|
|
1964
|
-
return this.
|
|
1966
|
+
protoOf(ProcessingReasonDto).bw = function (typeParamsSerializers) {
|
|
1967
|
+
return this.c18();
|
|
1965
1968
|
};
|
|
1966
1969
|
protoOf(ProcessingReasonDto).toString = function () {
|
|
1967
1970
|
return 'ProcessingReasonDto';
|
|
@@ -1991,50 +1994,50 @@
|
|
|
1991
1994
|
function $serializer_1() {
|
|
1992
1995
|
$serializer_instance_1 = this;
|
|
1993
1996
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1994
|
-
tmp0_serialDesc.
|
|
1995
|
-
this.
|
|
1997
|
+
tmp0_serialDesc.zu('reason', false);
|
|
1998
|
+
this.o1s_1 = tmp0_serialDesc;
|
|
1996
1999
|
}
|
|
1997
|
-
protoOf($serializer_1).
|
|
1998
|
-
var tmp0_desc = this.
|
|
1999
|
-
var tmp1_output = encoder.
|
|
2000
|
-
tmp1_output.
|
|
2001
|
-
tmp1_output.
|
|
2000
|
+
protoOf($serializer_1).p1s = function (encoder, value) {
|
|
2001
|
+
var tmp0_desc = this.o1s_1;
|
|
2002
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
2003
|
+
tmp1_output.yo(tmp0_desc, 0, value.reason);
|
|
2004
|
+
tmp1_output.kn(tmp0_desc);
|
|
2002
2005
|
};
|
|
2003
|
-
protoOf($serializer_1).
|
|
2004
|
-
return this.
|
|
2006
|
+
protoOf($serializer_1).bk = function (encoder, value) {
|
|
2007
|
+
return this.p1s(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
2005
2008
|
};
|
|
2006
|
-
protoOf($serializer_1).
|
|
2007
|
-
var tmp0_desc = this.
|
|
2009
|
+
protoOf($serializer_1).ck = function (decoder) {
|
|
2010
|
+
var tmp0_desc = this.o1s_1;
|
|
2008
2011
|
var tmp1_flag = true;
|
|
2009
2012
|
var tmp2_index = 0;
|
|
2010
2013
|
var tmp3_bitMask0 = 0;
|
|
2011
2014
|
var tmp4_local0 = null;
|
|
2012
|
-
var tmp5_input = decoder.
|
|
2013
|
-
if (tmp5_input.
|
|
2014
|
-
tmp4_local0 = tmp5_input.
|
|
2015
|
+
var tmp5_input = decoder.jn(tmp0_desc);
|
|
2016
|
+
if (tmp5_input.zn()) {
|
|
2017
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
2015
2018
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2016
2019
|
} else
|
|
2017
2020
|
while (tmp1_flag) {
|
|
2018
|
-
tmp2_index = tmp5_input.
|
|
2021
|
+
tmp2_index = tmp5_input.ao(tmp0_desc);
|
|
2019
2022
|
switch (tmp2_index) {
|
|
2020
2023
|
case -1:
|
|
2021
2024
|
tmp1_flag = false;
|
|
2022
2025
|
break;
|
|
2023
2026
|
case 0:
|
|
2024
|
-
tmp4_local0 = tmp5_input.
|
|
2027
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
2025
2028
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2026
2029
|
break;
|
|
2027
2030
|
default:
|
|
2028
2031
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2029
2032
|
}
|
|
2030
2033
|
}
|
|
2031
|
-
tmp5_input.
|
|
2034
|
+
tmp5_input.kn(tmp0_desc);
|
|
2032
2035
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2033
2036
|
};
|
|
2034
|
-
protoOf($serializer_1).
|
|
2035
|
-
return this.
|
|
2037
|
+
protoOf($serializer_1).ak = function () {
|
|
2038
|
+
return this.o1s_1;
|
|
2036
2039
|
};
|
|
2037
|
-
protoOf($serializer_1).
|
|
2040
|
+
protoOf($serializer_1).qv = function () {
|
|
2038
2041
|
// Inline function 'kotlin.arrayOf' call
|
|
2039
2042
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2040
2043
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2048,7 +2051,7 @@
|
|
|
2048
2051
|
}
|
|
2049
2052
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2050
2053
|
if (!(1 === (1 & seen0))) {
|
|
2051
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
2054
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().o1s_1);
|
|
2052
2055
|
}
|
|
2053
2056
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2054
2057
|
$this.reason = reason;
|
|
@@ -2061,7 +2064,7 @@
|
|
|
2061
2064
|
TerminationGameReasonDto.call(this);
|
|
2062
2065
|
this.reason = reason;
|
|
2063
2066
|
}
|
|
2064
|
-
protoOf(GameErrorReasonDto).
|
|
2067
|
+
protoOf(GameErrorReasonDto).a1q = function () {
|
|
2065
2068
|
return this.reason;
|
|
2066
2069
|
};
|
|
2067
2070
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -2088,50 +2091,50 @@
|
|
|
2088
2091
|
function $serializer_2() {
|
|
2089
2092
|
$serializer_instance_2 = this;
|
|
2090
2093
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
2091
|
-
tmp0_serialDesc.
|
|
2092
|
-
this.
|
|
2094
|
+
tmp0_serialDesc.zu('reason', false);
|
|
2095
|
+
this.q1s_1 = tmp0_serialDesc;
|
|
2093
2096
|
}
|
|
2094
|
-
protoOf($serializer_2).
|
|
2095
|
-
var tmp0_desc = this.
|
|
2096
|
-
var tmp1_output = encoder.
|
|
2097
|
-
tmp1_output.
|
|
2098
|
-
tmp1_output.
|
|
2097
|
+
protoOf($serializer_2).r1s = function (encoder, value) {
|
|
2098
|
+
var tmp0_desc = this.q1s_1;
|
|
2099
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
2100
|
+
tmp1_output.yo(tmp0_desc, 0, value.reason);
|
|
2101
|
+
tmp1_output.kn(tmp0_desc);
|
|
2099
2102
|
};
|
|
2100
|
-
protoOf($serializer_2).
|
|
2101
|
-
return this.
|
|
2103
|
+
protoOf($serializer_2).bk = function (encoder, value) {
|
|
2104
|
+
return this.r1s(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
2102
2105
|
};
|
|
2103
|
-
protoOf($serializer_2).
|
|
2104
|
-
var tmp0_desc = this.
|
|
2106
|
+
protoOf($serializer_2).ck = function (decoder) {
|
|
2107
|
+
var tmp0_desc = this.q1s_1;
|
|
2105
2108
|
var tmp1_flag = true;
|
|
2106
2109
|
var tmp2_index = 0;
|
|
2107
2110
|
var tmp3_bitMask0 = 0;
|
|
2108
2111
|
var tmp4_local0 = null;
|
|
2109
|
-
var tmp5_input = decoder.
|
|
2110
|
-
if (tmp5_input.
|
|
2111
|
-
tmp4_local0 = tmp5_input.
|
|
2112
|
+
var tmp5_input = decoder.jn(tmp0_desc);
|
|
2113
|
+
if (tmp5_input.zn()) {
|
|
2114
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
2112
2115
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2113
2116
|
} else
|
|
2114
2117
|
while (tmp1_flag) {
|
|
2115
|
-
tmp2_index = tmp5_input.
|
|
2118
|
+
tmp2_index = tmp5_input.ao(tmp0_desc);
|
|
2116
2119
|
switch (tmp2_index) {
|
|
2117
2120
|
case -1:
|
|
2118
2121
|
tmp1_flag = false;
|
|
2119
2122
|
break;
|
|
2120
2123
|
case 0:
|
|
2121
|
-
tmp4_local0 = tmp5_input.
|
|
2124
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
2122
2125
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2123
2126
|
break;
|
|
2124
2127
|
default:
|
|
2125
2128
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2126
2129
|
}
|
|
2127
2130
|
}
|
|
2128
|
-
tmp5_input.
|
|
2131
|
+
tmp5_input.kn(tmp0_desc);
|
|
2129
2132
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2130
2133
|
};
|
|
2131
|
-
protoOf($serializer_2).
|
|
2132
|
-
return this.
|
|
2134
|
+
protoOf($serializer_2).ak = function () {
|
|
2135
|
+
return this.q1s_1;
|
|
2133
2136
|
};
|
|
2134
|
-
protoOf($serializer_2).
|
|
2137
|
+
protoOf($serializer_2).qv = function () {
|
|
2135
2138
|
// Inline function 'kotlin.arrayOf' call
|
|
2136
2139
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2137
2140
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2145,7 +2148,7 @@
|
|
|
2145
2148
|
}
|
|
2146
2149
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2147
2150
|
if (!(1 === (1 & seen0))) {
|
|
2148
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2151
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().q1s_1);
|
|
2149
2152
|
}
|
|
2150
2153
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2151
2154
|
$this.reason = reason;
|
|
@@ -2158,7 +2161,7 @@
|
|
|
2158
2161
|
TerminationGameReasonDto.call(this);
|
|
2159
2162
|
this.reason = reason;
|
|
2160
2163
|
}
|
|
2161
|
-
protoOf(GameFinishedReasonDto).
|
|
2164
|
+
protoOf(GameFinishedReasonDto).a1q = function () {
|
|
2162
2165
|
return this.reason;
|
|
2163
2166
|
};
|
|
2164
2167
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
@@ -2185,50 +2188,50 @@
|
|
|
2185
2188
|
function $serializer_3() {
|
|
2186
2189
|
$serializer_instance_3 = this;
|
|
2187
2190
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
2188
|
-
tmp0_serialDesc.
|
|
2189
|
-
this.
|
|
2191
|
+
tmp0_serialDesc.zu('playerId', false);
|
|
2192
|
+
this.s1s_1 = tmp0_serialDesc;
|
|
2190
2193
|
}
|
|
2191
|
-
protoOf($serializer_3).
|
|
2192
|
-
var tmp0_desc = this.
|
|
2193
|
-
var tmp1_output = encoder.
|
|
2194
|
-
tmp1_output.
|
|
2195
|
-
tmp1_output.
|
|
2194
|
+
protoOf($serializer_3).t1s = function (encoder, value) {
|
|
2195
|
+
var tmp0_desc = this.s1s_1;
|
|
2196
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
2197
|
+
tmp1_output.yo(tmp0_desc, 0, value.u1s_1);
|
|
2198
|
+
tmp1_output.kn(tmp0_desc);
|
|
2196
2199
|
};
|
|
2197
|
-
protoOf($serializer_3).
|
|
2198
|
-
return this.
|
|
2200
|
+
protoOf($serializer_3).bk = function (encoder, value) {
|
|
2201
|
+
return this.t1s(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2199
2202
|
};
|
|
2200
|
-
protoOf($serializer_3).
|
|
2201
|
-
var tmp0_desc = this.
|
|
2203
|
+
protoOf($serializer_3).ck = function (decoder) {
|
|
2204
|
+
var tmp0_desc = this.s1s_1;
|
|
2202
2205
|
var tmp1_flag = true;
|
|
2203
2206
|
var tmp2_index = 0;
|
|
2204
2207
|
var tmp3_bitMask0 = 0;
|
|
2205
2208
|
var tmp4_local0 = null;
|
|
2206
|
-
var tmp5_input = decoder.
|
|
2207
|
-
if (tmp5_input.
|
|
2208
|
-
tmp4_local0 = tmp5_input.
|
|
2209
|
+
var tmp5_input = decoder.jn(tmp0_desc);
|
|
2210
|
+
if (tmp5_input.zn()) {
|
|
2211
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
2209
2212
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2210
2213
|
} else
|
|
2211
2214
|
while (tmp1_flag) {
|
|
2212
|
-
tmp2_index = tmp5_input.
|
|
2215
|
+
tmp2_index = tmp5_input.ao(tmp0_desc);
|
|
2213
2216
|
switch (tmp2_index) {
|
|
2214
2217
|
case -1:
|
|
2215
2218
|
tmp1_flag = false;
|
|
2216
2219
|
break;
|
|
2217
2220
|
case 0:
|
|
2218
|
-
tmp4_local0 = tmp5_input.
|
|
2221
|
+
tmp4_local0 = tmp5_input.tn(tmp0_desc, 0);
|
|
2219
2222
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2220
2223
|
break;
|
|
2221
2224
|
default:
|
|
2222
2225
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2223
2226
|
}
|
|
2224
2227
|
}
|
|
2225
|
-
tmp5_input.
|
|
2228
|
+
tmp5_input.kn(tmp0_desc);
|
|
2226
2229
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2227
2230
|
};
|
|
2228
|
-
protoOf($serializer_3).
|
|
2229
|
-
return this.
|
|
2231
|
+
protoOf($serializer_3).ak = function () {
|
|
2232
|
+
return this.s1s_1;
|
|
2230
2233
|
};
|
|
2231
|
-
protoOf($serializer_3).
|
|
2234
|
+
protoOf($serializer_3).qv = function () {
|
|
2232
2235
|
// Inline function 'kotlin.arrayOf' call
|
|
2233
2236
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2234
2237
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2242,10 +2245,10 @@
|
|
|
2242
2245
|
}
|
|
2243
2246
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2244
2247
|
if (!(1 === (1 & seen0))) {
|
|
2245
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2248
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().s1s_1);
|
|
2246
2249
|
}
|
|
2247
2250
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2248
|
-
$this.
|
|
2251
|
+
$this.u1s_1 = playerId;
|
|
2249
2252
|
return $this;
|
|
2250
2253
|
}
|
|
2251
2254
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2253,20 +2256,20 @@
|
|
|
2253
2256
|
}
|
|
2254
2257
|
function PlayerExitReasonDto(playerId) {
|
|
2255
2258
|
TerminationGameReasonDto.call(this);
|
|
2256
|
-
this.
|
|
2259
|
+
this.u1s_1 = playerId;
|
|
2257
2260
|
}
|
|
2258
2261
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2259
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2262
|
+
return 'PlayerExitReasonDto(playerId=' + this.u1s_1 + ')';
|
|
2260
2263
|
};
|
|
2261
2264
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2262
|
-
return getStringHashCode(this.
|
|
2265
|
+
return getStringHashCode(this.u1s_1);
|
|
2263
2266
|
};
|
|
2264
2267
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2265
2268
|
if (this === other)
|
|
2266
2269
|
return true;
|
|
2267
2270
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2268
2271
|
return false;
|
|
2269
|
-
if (!(this.
|
|
2272
|
+
if (!(this.u1s_1 === other.u1s_1))
|
|
2270
2273
|
return false;
|
|
2271
2274
|
return true;
|
|
2272
2275
|
};
|
|
@@ -2279,59 +2282,59 @@
|
|
|
2279
2282
|
function $serializer_4() {
|
|
2280
2283
|
$serializer_instance_4 = this;
|
|
2281
2284
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2282
|
-
tmp0_serialDesc.
|
|
2283
|
-
tmp0_serialDesc.
|
|
2284
|
-
this.
|
|
2285
|
-
}
|
|
2286
|
-
protoOf($serializer_4).
|
|
2287
|
-
var tmp0_desc = this.
|
|
2288
|
-
var tmp1_output = encoder.
|
|
2289
|
-
tmp1_output.
|
|
2290
|
-
tmp1_output.
|
|
2291
|
-
tmp1_output.
|
|
2292
|
-
};
|
|
2293
|
-
protoOf($serializer_4).
|
|
2294
|
-
return this.
|
|
2295
|
-
};
|
|
2296
|
-
protoOf($serializer_4).
|
|
2297
|
-
var tmp0_desc = this.
|
|
2285
|
+
tmp0_serialDesc.zu('playerId', false);
|
|
2286
|
+
tmp0_serialDesc.zu('tag', false);
|
|
2287
|
+
this.v1s_1 = tmp0_serialDesc;
|
|
2288
|
+
}
|
|
2289
|
+
protoOf($serializer_4).w1s = function (encoder, value) {
|
|
2290
|
+
var tmp0_desc = this.v1s_1;
|
|
2291
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
2292
|
+
tmp1_output.yo(tmp0_desc, 0, value.x1s_1);
|
|
2293
|
+
tmp1_output.cp(tmp0_desc, 1, StringSerializer_getInstance(), value.y1s_1);
|
|
2294
|
+
tmp1_output.kn(tmp0_desc);
|
|
2295
|
+
};
|
|
2296
|
+
protoOf($serializer_4).bk = function (encoder, value) {
|
|
2297
|
+
return this.w1s(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2298
|
+
};
|
|
2299
|
+
protoOf($serializer_4).ck = function (decoder) {
|
|
2300
|
+
var tmp0_desc = this.v1s_1;
|
|
2298
2301
|
var tmp1_flag = true;
|
|
2299
2302
|
var tmp2_index = 0;
|
|
2300
2303
|
var tmp3_bitMask0 = 0;
|
|
2301
2304
|
var tmp4_local0 = null;
|
|
2302
2305
|
var tmp5_local1 = null;
|
|
2303
|
-
var tmp6_input = decoder.
|
|
2304
|
-
if (tmp6_input.
|
|
2305
|
-
tmp4_local0 = tmp6_input.
|
|
2306
|
+
var tmp6_input = decoder.jn(tmp0_desc);
|
|
2307
|
+
if (tmp6_input.zn()) {
|
|
2308
|
+
tmp4_local0 = tmp6_input.tn(tmp0_desc, 0);
|
|
2306
2309
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2307
|
-
tmp5_local1 = tmp6_input.
|
|
2310
|
+
tmp5_local1 = tmp6_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2308
2311
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2309
2312
|
} else
|
|
2310
2313
|
while (tmp1_flag) {
|
|
2311
|
-
tmp2_index = tmp6_input.
|
|
2314
|
+
tmp2_index = tmp6_input.ao(tmp0_desc);
|
|
2312
2315
|
switch (tmp2_index) {
|
|
2313
2316
|
case -1:
|
|
2314
2317
|
tmp1_flag = false;
|
|
2315
2318
|
break;
|
|
2316
2319
|
case 0:
|
|
2317
|
-
tmp4_local0 = tmp6_input.
|
|
2320
|
+
tmp4_local0 = tmp6_input.tn(tmp0_desc, 0);
|
|
2318
2321
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2319
2322
|
break;
|
|
2320
2323
|
case 1:
|
|
2321
|
-
tmp5_local1 = tmp6_input.
|
|
2324
|
+
tmp5_local1 = tmp6_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2322
2325
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2323
2326
|
break;
|
|
2324
2327
|
default:
|
|
2325
2328
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2326
2329
|
}
|
|
2327
2330
|
}
|
|
2328
|
-
tmp6_input.
|
|
2331
|
+
tmp6_input.kn(tmp0_desc);
|
|
2329
2332
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2330
2333
|
};
|
|
2331
|
-
protoOf($serializer_4).
|
|
2332
|
-
return this.
|
|
2334
|
+
protoOf($serializer_4).ak = function () {
|
|
2335
|
+
return this.v1s_1;
|
|
2333
2336
|
};
|
|
2334
|
-
protoOf($serializer_4).
|
|
2337
|
+
protoOf($serializer_4).qv = function () {
|
|
2335
2338
|
// Inline function 'kotlin.arrayOf' call
|
|
2336
2339
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2337
2340
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2345,11 +2348,11 @@
|
|
|
2345
2348
|
}
|
|
2346
2349
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2347
2350
|
if (!(3 === (3 & seen0))) {
|
|
2348
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2351
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().v1s_1);
|
|
2349
2352
|
}
|
|
2350
2353
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2351
|
-
$this.
|
|
2352
|
-
$this.
|
|
2354
|
+
$this.x1s_1 = playerId;
|
|
2355
|
+
$this.y1s_1 = tag;
|
|
2353
2356
|
return $this;
|
|
2354
2357
|
}
|
|
2355
2358
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2357,15 +2360,15 @@
|
|
|
2357
2360
|
}
|
|
2358
2361
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2359
2362
|
TerminationGameReasonDto.call(this);
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2363
|
+
this.x1s_1 = playerId;
|
|
2364
|
+
this.y1s_1 = tag;
|
|
2362
2365
|
}
|
|
2363
2366
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2364
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2367
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.x1s_1 + ', tag=' + this.y1s_1 + ')';
|
|
2365
2368
|
};
|
|
2366
2369
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2367
|
-
var result = getStringHashCode(this.
|
|
2368
|
-
result = imul(result, 31) + (this.
|
|
2370
|
+
var result = getStringHashCode(this.x1s_1);
|
|
2371
|
+
result = imul(result, 31) + (this.y1s_1 == null ? 0 : getStringHashCode(this.y1s_1)) | 0;
|
|
2369
2372
|
return result;
|
|
2370
2373
|
};
|
|
2371
2374
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2373,9 +2376,9 @@
|
|
|
2373
2376
|
return true;
|
|
2374
2377
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2375
2378
|
return false;
|
|
2376
|
-
if (!(this.
|
|
2379
|
+
if (!(this.x1s_1 === other.x1s_1))
|
|
2377
2380
|
return false;
|
|
2378
|
-
if (!(this.
|
|
2381
|
+
if (!(this.y1s_1 == other.y1s_1))
|
|
2379
2382
|
return false;
|
|
2380
2383
|
return true;
|
|
2381
2384
|
};
|
|
@@ -2388,59 +2391,59 @@
|
|
|
2388
2391
|
function $serializer_5() {
|
|
2389
2392
|
$serializer_instance_5 = this;
|
|
2390
2393
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2391
|
-
tmp0_serialDesc.
|
|
2392
|
-
tmp0_serialDesc.
|
|
2393
|
-
this.
|
|
2394
|
-
}
|
|
2395
|
-
protoOf($serializer_5).
|
|
2396
|
-
var tmp0_desc = this.
|
|
2397
|
-
var tmp1_output = encoder.
|
|
2398
|
-
tmp1_output.
|
|
2399
|
-
tmp1_output.
|
|
2400
|
-
tmp1_output.
|
|
2401
|
-
};
|
|
2402
|
-
protoOf($serializer_5).
|
|
2403
|
-
return this.
|
|
2404
|
-
};
|
|
2405
|
-
protoOf($serializer_5).
|
|
2406
|
-
var tmp0_desc = this.
|
|
2394
|
+
tmp0_serialDesc.zu('playerId', false);
|
|
2395
|
+
tmp0_serialDesc.zu('tag', false);
|
|
2396
|
+
this.z1s_1 = tmp0_serialDesc;
|
|
2397
|
+
}
|
|
2398
|
+
protoOf($serializer_5).a1t = function (encoder, value) {
|
|
2399
|
+
var tmp0_desc = this.z1s_1;
|
|
2400
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
2401
|
+
tmp1_output.yo(tmp0_desc, 0, value.b1t_1);
|
|
2402
|
+
tmp1_output.cp(tmp0_desc, 1, StringSerializer_getInstance(), value.c1t_1);
|
|
2403
|
+
tmp1_output.kn(tmp0_desc);
|
|
2404
|
+
};
|
|
2405
|
+
protoOf($serializer_5).bk = function (encoder, value) {
|
|
2406
|
+
return this.a1t(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2407
|
+
};
|
|
2408
|
+
protoOf($serializer_5).ck = function (decoder) {
|
|
2409
|
+
var tmp0_desc = this.z1s_1;
|
|
2407
2410
|
var tmp1_flag = true;
|
|
2408
2411
|
var tmp2_index = 0;
|
|
2409
2412
|
var tmp3_bitMask0 = 0;
|
|
2410
2413
|
var tmp4_local0 = null;
|
|
2411
2414
|
var tmp5_local1 = null;
|
|
2412
|
-
var tmp6_input = decoder.
|
|
2413
|
-
if (tmp6_input.
|
|
2414
|
-
tmp4_local0 = tmp6_input.
|
|
2415
|
+
var tmp6_input = decoder.jn(tmp0_desc);
|
|
2416
|
+
if (tmp6_input.zn()) {
|
|
2417
|
+
tmp4_local0 = tmp6_input.tn(tmp0_desc, 0);
|
|
2415
2418
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2416
|
-
tmp5_local1 = tmp6_input.
|
|
2419
|
+
tmp5_local1 = tmp6_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2417
2420
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2418
2421
|
} else
|
|
2419
2422
|
while (tmp1_flag) {
|
|
2420
|
-
tmp2_index = tmp6_input.
|
|
2423
|
+
tmp2_index = tmp6_input.ao(tmp0_desc);
|
|
2421
2424
|
switch (tmp2_index) {
|
|
2422
2425
|
case -1:
|
|
2423
2426
|
tmp1_flag = false;
|
|
2424
2427
|
break;
|
|
2425
2428
|
case 0:
|
|
2426
|
-
tmp4_local0 = tmp6_input.
|
|
2429
|
+
tmp4_local0 = tmp6_input.tn(tmp0_desc, 0);
|
|
2427
2430
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2428
2431
|
break;
|
|
2429
2432
|
case 1:
|
|
2430
|
-
tmp5_local1 = tmp6_input.
|
|
2433
|
+
tmp5_local1 = tmp6_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2431
2434
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2432
2435
|
break;
|
|
2433
2436
|
default:
|
|
2434
2437
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2435
2438
|
}
|
|
2436
2439
|
}
|
|
2437
|
-
tmp6_input.
|
|
2440
|
+
tmp6_input.kn(tmp0_desc);
|
|
2438
2441
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2439
2442
|
};
|
|
2440
|
-
protoOf($serializer_5).
|
|
2441
|
-
return this.
|
|
2443
|
+
protoOf($serializer_5).ak = function () {
|
|
2444
|
+
return this.z1s_1;
|
|
2442
2445
|
};
|
|
2443
|
-
protoOf($serializer_5).
|
|
2446
|
+
protoOf($serializer_5).qv = function () {
|
|
2444
2447
|
// Inline function 'kotlin.arrayOf' call
|
|
2445
2448
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2446
2449
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2454,11 +2457,11 @@
|
|
|
2454
2457
|
}
|
|
2455
2458
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2456
2459
|
if (!(3 === (3 & seen0))) {
|
|
2457
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2460
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().z1s_1);
|
|
2458
2461
|
}
|
|
2459
2462
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2460
|
-
$this.
|
|
2461
|
-
$this.
|
|
2463
|
+
$this.b1t_1 = playerId;
|
|
2464
|
+
$this.c1t_1 = tag;
|
|
2462
2465
|
return $this;
|
|
2463
2466
|
}
|
|
2464
2467
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2466,15 +2469,15 @@
|
|
|
2466
2469
|
}
|
|
2467
2470
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2468
2471
|
TerminationGameReasonDto.call(this);
|
|
2469
|
-
this.
|
|
2470
|
-
this.
|
|
2472
|
+
this.b1t_1 = playerId;
|
|
2473
|
+
this.c1t_1 = tag;
|
|
2471
2474
|
}
|
|
2472
2475
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2473
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2476
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.b1t_1 + ', tag=' + this.c1t_1 + ')';
|
|
2474
2477
|
};
|
|
2475
2478
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2476
|
-
var result = getStringHashCode(this.
|
|
2477
|
-
result = imul(result, 31) + (this.
|
|
2479
|
+
var result = getStringHashCode(this.b1t_1);
|
|
2480
|
+
result = imul(result, 31) + (this.c1t_1 == null ? 0 : getStringHashCode(this.c1t_1)) | 0;
|
|
2478
2481
|
return result;
|
|
2479
2482
|
};
|
|
2480
2483
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2482,14 +2485,14 @@
|
|
|
2482
2485
|
return true;
|
|
2483
2486
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2484
2487
|
return false;
|
|
2485
|
-
if (!(this.
|
|
2488
|
+
if (!(this.b1t_1 === other.b1t_1))
|
|
2486
2489
|
return false;
|
|
2487
|
-
if (!(this.
|
|
2490
|
+
if (!(this.c1t_1 == other.c1t_1))
|
|
2488
2491
|
return false;
|
|
2489
2492
|
return true;
|
|
2490
2493
|
};
|
|
2491
2494
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2492
|
-
return $this.
|
|
2495
|
+
return $this.d1t_1.v1();
|
|
2493
2496
|
}
|
|
2494
2497
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2495
2498
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2504,13 +2507,13 @@
|
|
|
2504
2507
|
TerminationGameReasonDto.call(this);
|
|
2505
2508
|
var tmp = this;
|
|
2506
2509
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2507
|
-
tmp.
|
|
2510
|
+
tmp.d1t_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2508
2511
|
}
|
|
2509
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2512
|
+
protoOf(WaitingForConnectionReasonDto).c18 = function () {
|
|
2510
2513
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2511
2514
|
};
|
|
2512
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2513
|
-
return this.
|
|
2515
|
+
protoOf(WaitingForConnectionReasonDto).bw = function (typeParamsSerializers) {
|
|
2516
|
+
return this.c18();
|
|
2514
2517
|
};
|
|
2515
2518
|
protoOf(WaitingForConnectionReasonDto).toString = function () {
|
|
2516
2519
|
return 'WaitingForConnectionReasonDto';
|
|
@@ -2532,7 +2535,7 @@
|
|
|
2532
2535
|
return WaitingForConnectionReasonDto_instance;
|
|
2533
2536
|
}
|
|
2534
2537
|
function mapToDto(_this__u8e3s4) {
|
|
2535
|
-
return _this__u8e3s4.
|
|
2538
|
+
return _this__u8e3s4.l17_1;
|
|
2536
2539
|
}
|
|
2537
2540
|
function mapFromDto(_this__u8e3s4) {
|
|
2538
2541
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2625,15 +2628,15 @@
|
|
|
2625
2628
|
}
|
|
2626
2629
|
function mapToDto_3(_this__u8e3s4) {
|
|
2627
2630
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2628
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2631
|
+
return new PlayerExitReasonDto(_this__u8e3s4.v1p_1);
|
|
2629
2632
|
}
|
|
2630
2633
|
function mapToDto_4(_this__u8e3s4) {
|
|
2631
2634
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2632
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2635
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.q1p_1, _this__u8e3s4.tag);
|
|
2633
2636
|
}
|
|
2634
2637
|
function mapToDto_5(_this__u8e3s4) {
|
|
2635
2638
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2636
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2639
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.u1p_1, _this__u8e3s4.tag);
|
|
2637
2640
|
}
|
|
2638
2641
|
function mapToDto_6(_this__u8e3s4) {
|
|
2639
2642
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2655,15 +2658,15 @@
|
|
|
2655
2658
|
}
|
|
2656
2659
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2657
2660
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2658
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2661
|
+
return new PlayerExitReason(_this__u8e3s4.u1s_1);
|
|
2659
2662
|
}
|
|
2660
2663
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2661
2664
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2662
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2665
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.x1s_1, _this__u8e3s4.y1s_1);
|
|
2663
2666
|
}
|
|
2664
2667
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2665
2668
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2666
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2669
|
+
return new PlayerTimeoutReason(_this__u8e3s4.b1t_1, _this__u8e3s4.c1t_1);
|
|
2667
2670
|
}
|
|
2668
2671
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2669
2672
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2704,8 +2707,8 @@
|
|
|
2704
2707
|
}
|
|
2705
2708
|
}
|
|
2706
2709
|
function mapToDto_8(_this__u8e3s4) {
|
|
2707
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2708
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2710
|
+
var tmp0_playerId = _this__u8e3s4.g1q_1;
|
|
2711
|
+
var tmp1_uid = _this__u8e3s4.g1q_1;
|
|
2709
2712
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2710
2713
|
var tmp3_name = _this__u8e3s4.name;
|
|
2711
2714
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2724,31 +2727,31 @@
|
|
|
2724
2727
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2725
2728
|
}
|
|
2726
2729
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2727
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2728
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2729
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2730
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2731
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2732
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2733
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2734
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2730
|
+
var tmp0_elvis_lhs = _this__u8e3s4.e1t_1;
|
|
2731
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.f1t_1) : tmp0_elvis_lhs;
|
|
2732
|
+
var tmp1_elvis_lhs = _this__u8e3s4.g1t_1;
|
|
2733
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.h1t_1) : tmp1_elvis_lhs;
|
|
2734
|
+
var tmp2_elvis_lhs = _this__u8e3s4.i1t_1;
|
|
2735
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.j1t_1 : tmp2_elvis_lhs;
|
|
2736
|
+
var tmp3_elvis_lhs = _this__u8e3s4.l1t_1;
|
|
2737
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.m1t_1, _this__u8e3s4.k1t_1);
|
|
2735
2738
|
}
|
|
2736
2739
|
function mapToDto_9(_this__u8e3s4) {
|
|
2737
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2740
|
+
var tmp0_safe_receiver = _this__u8e3s4.t1q_1;
|
|
2738
2741
|
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2739
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2742
|
+
var tmp1_safe_receiver = _this__u8e3s4.v1q_1;
|
|
2740
2743
|
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2741
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2744
|
+
var tmp2_safe_receiver = _this__u8e3s4.u1q_1;
|
|
2742
2745
|
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2743
|
-
var tmp7_state = _this__u8e3s4.
|
|
2744
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2745
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2746
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2746
|
+
var tmp7_state = _this__u8e3s4.w1q_1;
|
|
2747
|
+
var tmp8_tag = _this__u8e3s4.y1q_1;
|
|
2748
|
+
var tmp9_ready = _this__u8e3s4.x1q_1;
|
|
2749
|
+
var tmp3_safe_receiver = _this__u8e3s4.z1q_1;
|
|
2747
2750
|
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2748
2751
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2749
2752
|
}
|
|
2750
2753
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2751
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2754
|
+
var tmp0_safe_receiver = _this__u8e3s4.n1t_1;
|
|
2752
2755
|
var tmp;
|
|
2753
2756
|
if (tmp0_safe_receiver == null) {
|
|
2754
2757
|
tmp = null;
|
|
@@ -2757,7 +2760,7 @@
|
|
|
2757
2760
|
tmp = Companion_getInstance_0().ug(tmp0_safe_receiver);
|
|
2758
2761
|
}
|
|
2759
2762
|
var tmp5_startFromTime = tmp;
|
|
2760
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2763
|
+
var tmp1_safe_receiver = _this__u8e3s4.p1t_1;
|
|
2761
2764
|
var tmp_0;
|
|
2762
2765
|
if (tmp1_safe_receiver == null) {
|
|
2763
2766
|
tmp_0 = null;
|
|
@@ -2766,7 +2769,7 @@
|
|
|
2766
2769
|
tmp_0 = Companion_getInstance_0().ug(tmp1_safe_receiver);
|
|
2767
2770
|
}
|
|
2768
2771
|
var tmp6_waitPlayerUntilTime = tmp_0;
|
|
2769
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2772
|
+
var tmp2_safe_receiver = _this__u8e3s4.o1t_1;
|
|
2770
2773
|
var tmp_1;
|
|
2771
2774
|
if (tmp2_safe_receiver == null) {
|
|
2772
2775
|
tmp_1 = null;
|
|
@@ -2775,19 +2778,19 @@
|
|
|
2775
2778
|
tmp_1 = Companion_getInstance_0().ug(tmp2_safe_receiver);
|
|
2776
2779
|
}
|
|
2777
2780
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
2778
|
-
var tmp8_state = _this__u8e3s4.
|
|
2779
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2780
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2781
|
+
var tmp8_state = _this__u8e3s4.q1t_1;
|
|
2782
|
+
var tmp9_tag = _this__u8e3s4.s1t_1;
|
|
2783
|
+
var tmp3_elvis_lhs = _this__u8e3s4.r1t_1;
|
|
2781
2784
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2782
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2785
|
+
var tmp4_safe_receiver = _this__u8e3s4.t1t_1;
|
|
2783
2786
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2784
2787
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2785
2788
|
}
|
|
2786
2789
|
function mapToDto_10(_this__u8e3s4) {
|
|
2787
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2790
|
+
return new PlayerConnectionDto(_this__u8e3s4.b1r_1, toString(_this__u8e3s4.c1r_1), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.d1r_1));
|
|
2788
2791
|
}
|
|
2789
2792
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2790
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2793
|
+
return new PlayerConnection(_this__u8e3s4.u1t_1, Companion_getInstance_0().ug(_this__u8e3s4.v1t_1), Companion_getInstance().og(_this__u8e3s4.w1t_1));
|
|
2791
2794
|
}
|
|
2792
2795
|
function Companion_15() {
|
|
2793
2796
|
}
|
|
@@ -2798,48 +2801,48 @@
|
|
|
2798
2801
|
function $serializer_6() {
|
|
2799
2802
|
$serializer_instance_6 = this;
|
|
2800
2803
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 9);
|
|
2801
|
-
tmp0_serialDesc.
|
|
2802
|
-
tmp0_serialDesc.
|
|
2803
|
-
tmp0_serialDesc.
|
|
2804
|
-
tmp0_serialDesc.
|
|
2805
|
-
tmp0_serialDesc.
|
|
2806
|
-
tmp0_serialDesc.
|
|
2807
|
-
tmp0_serialDesc.
|
|
2808
|
-
tmp0_serialDesc.
|
|
2809
|
-
tmp0_serialDesc.
|
|
2810
|
-
this.
|
|
2811
|
-
}
|
|
2812
|
-
protoOf($serializer_6).
|
|
2813
|
-
var tmp0_desc = this.
|
|
2814
|
-
var tmp1_output = encoder.
|
|
2815
|
-
if (tmp1_output.
|
|
2816
|
-
tmp1_output.
|
|
2804
|
+
tmp0_serialDesc.zu('playerId', true);
|
|
2805
|
+
tmp0_serialDesc.zu('uid', true);
|
|
2806
|
+
tmp0_serialDesc.zu('name', true);
|
|
2807
|
+
tmp0_serialDesc.zu('nickname', true);
|
|
2808
|
+
tmp0_serialDesc.zu('avatarUrl', true);
|
|
2809
|
+
tmp0_serialDesc.zu('photo', true);
|
|
2810
|
+
tmp0_serialDesc.zu('rating', false);
|
|
2811
|
+
tmp0_serialDesc.zu('is_bot', false);
|
|
2812
|
+
tmp0_serialDesc.zu('lucky_factor', false);
|
|
2813
|
+
this.x1t_1 = tmp0_serialDesc;
|
|
2814
|
+
}
|
|
2815
|
+
protoOf($serializer_6).y1t = function (encoder, value) {
|
|
2816
|
+
var tmp0_desc = this.x1t_1;
|
|
2817
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
2818
|
+
if (tmp1_output.gp(tmp0_desc, 0) ? true : !(value.e1t_1 == null)) {
|
|
2819
|
+
tmp1_output.cp(tmp0_desc, 0, StringSerializer_getInstance(), value.e1t_1);
|
|
2817
2820
|
}
|
|
2818
|
-
if (tmp1_output.
|
|
2819
|
-
tmp1_output.
|
|
2821
|
+
if (tmp1_output.gp(tmp0_desc, 1) ? true : !(value.f1t_1 == null)) {
|
|
2822
|
+
tmp1_output.cp(tmp0_desc, 1, StringSerializer_getInstance(), value.f1t_1);
|
|
2820
2823
|
}
|
|
2821
|
-
if (tmp1_output.
|
|
2822
|
-
tmp1_output.
|
|
2824
|
+
if (tmp1_output.gp(tmp0_desc, 2) ? true : !(value.g1t_1 == null)) {
|
|
2825
|
+
tmp1_output.cp(tmp0_desc, 2, StringSerializer_getInstance(), value.g1t_1);
|
|
2823
2826
|
}
|
|
2824
|
-
if (tmp1_output.
|
|
2825
|
-
tmp1_output.
|
|
2827
|
+
if (tmp1_output.gp(tmp0_desc, 3) ? true : !(value.h1t_1 == null)) {
|
|
2828
|
+
tmp1_output.cp(tmp0_desc, 3, StringSerializer_getInstance(), value.h1t_1);
|
|
2826
2829
|
}
|
|
2827
|
-
if (tmp1_output.
|
|
2828
|
-
tmp1_output.
|
|
2830
|
+
if (tmp1_output.gp(tmp0_desc, 4) ? true : !(value.i1t_1 == null)) {
|
|
2831
|
+
tmp1_output.cp(tmp0_desc, 4, StringSerializer_getInstance(), value.i1t_1);
|
|
2829
2832
|
}
|
|
2830
|
-
if (tmp1_output.
|
|
2831
|
-
tmp1_output.
|
|
2833
|
+
if (tmp1_output.gp(tmp0_desc, 5) ? true : !(value.j1t_1 == null)) {
|
|
2834
|
+
tmp1_output.cp(tmp0_desc, 5, StringSerializer_getInstance(), value.j1t_1);
|
|
2832
2835
|
}
|
|
2833
|
-
tmp1_output.
|
|
2834
|
-
tmp1_output.
|
|
2835
|
-
tmp1_output.
|
|
2836
|
-
tmp1_output.
|
|
2836
|
+
tmp1_output.cp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.k1t_1);
|
|
2837
|
+
tmp1_output.cp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.l1t_1);
|
|
2838
|
+
tmp1_output.cp(tmp0_desc, 8, FloatSerializer_getInstance(), value.m1t_1);
|
|
2839
|
+
tmp1_output.kn(tmp0_desc);
|
|
2837
2840
|
};
|
|
2838
|
-
protoOf($serializer_6).
|
|
2839
|
-
return this.
|
|
2841
|
+
protoOf($serializer_6).bk = function (encoder, value) {
|
|
2842
|
+
return this.y1t(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2840
2843
|
};
|
|
2841
|
-
protoOf($serializer_6).
|
|
2842
|
-
var tmp0_desc = this.
|
|
2844
|
+
protoOf($serializer_6).ck = function (decoder) {
|
|
2845
|
+
var tmp0_desc = this.x1t_1;
|
|
2843
2846
|
var tmp1_flag = true;
|
|
2844
2847
|
var tmp2_index = 0;
|
|
2845
2848
|
var tmp3_bitMask0 = 0;
|
|
@@ -2852,80 +2855,80 @@
|
|
|
2852
2855
|
var tmp10_local6 = null;
|
|
2853
2856
|
var tmp11_local7 = null;
|
|
2854
2857
|
var tmp12_local8 = null;
|
|
2855
|
-
var tmp13_input = decoder.
|
|
2856
|
-
if (tmp13_input.
|
|
2857
|
-
tmp4_local0 = tmp13_input.
|
|
2858
|
+
var tmp13_input = decoder.jn(tmp0_desc);
|
|
2859
|
+
if (tmp13_input.zn()) {
|
|
2860
|
+
tmp4_local0 = tmp13_input.xn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2858
2861
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2859
|
-
tmp5_local1 = tmp13_input.
|
|
2862
|
+
tmp5_local1 = tmp13_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2860
2863
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2861
|
-
tmp6_local2 = tmp13_input.
|
|
2864
|
+
tmp6_local2 = tmp13_input.xn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2862
2865
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2863
|
-
tmp7_local3 = tmp13_input.
|
|
2866
|
+
tmp7_local3 = tmp13_input.xn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2864
2867
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2865
|
-
tmp8_local4 = tmp13_input.
|
|
2868
|
+
tmp8_local4 = tmp13_input.xn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2866
2869
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2867
|
-
tmp9_local5 = tmp13_input.
|
|
2870
|
+
tmp9_local5 = tmp13_input.xn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2868
2871
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2869
|
-
tmp10_local6 = tmp13_input.
|
|
2872
|
+
tmp10_local6 = tmp13_input.xn(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2870
2873
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2871
|
-
tmp11_local7 = tmp13_input.
|
|
2874
|
+
tmp11_local7 = tmp13_input.xn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2872
2875
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2873
|
-
tmp12_local8 = tmp13_input.
|
|
2876
|
+
tmp12_local8 = tmp13_input.xn(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2874
2877
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2875
2878
|
} else
|
|
2876
2879
|
while (tmp1_flag) {
|
|
2877
|
-
tmp2_index = tmp13_input.
|
|
2880
|
+
tmp2_index = tmp13_input.ao(tmp0_desc);
|
|
2878
2881
|
switch (tmp2_index) {
|
|
2879
2882
|
case -1:
|
|
2880
2883
|
tmp1_flag = false;
|
|
2881
2884
|
break;
|
|
2882
2885
|
case 0:
|
|
2883
|
-
tmp4_local0 = tmp13_input.
|
|
2886
|
+
tmp4_local0 = tmp13_input.xn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2884
2887
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2885
2888
|
break;
|
|
2886
2889
|
case 1:
|
|
2887
|
-
tmp5_local1 = tmp13_input.
|
|
2890
|
+
tmp5_local1 = tmp13_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2888
2891
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2889
2892
|
break;
|
|
2890
2893
|
case 2:
|
|
2891
|
-
tmp6_local2 = tmp13_input.
|
|
2894
|
+
tmp6_local2 = tmp13_input.xn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2892
2895
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2893
2896
|
break;
|
|
2894
2897
|
case 3:
|
|
2895
|
-
tmp7_local3 = tmp13_input.
|
|
2898
|
+
tmp7_local3 = tmp13_input.xn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2896
2899
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2897
2900
|
break;
|
|
2898
2901
|
case 4:
|
|
2899
|
-
tmp8_local4 = tmp13_input.
|
|
2902
|
+
tmp8_local4 = tmp13_input.xn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2900
2903
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2901
2904
|
break;
|
|
2902
2905
|
case 5:
|
|
2903
|
-
tmp9_local5 = tmp13_input.
|
|
2906
|
+
tmp9_local5 = tmp13_input.xn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2904
2907
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2905
2908
|
break;
|
|
2906
2909
|
case 6:
|
|
2907
|
-
tmp10_local6 = tmp13_input.
|
|
2910
|
+
tmp10_local6 = tmp13_input.xn(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2908
2911
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2909
2912
|
break;
|
|
2910
2913
|
case 7:
|
|
2911
|
-
tmp11_local7 = tmp13_input.
|
|
2914
|
+
tmp11_local7 = tmp13_input.xn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2912
2915
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2913
2916
|
break;
|
|
2914
2917
|
case 8:
|
|
2915
|
-
tmp12_local8 = tmp13_input.
|
|
2918
|
+
tmp12_local8 = tmp13_input.xn(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2916
2919
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2917
2920
|
break;
|
|
2918
2921
|
default:
|
|
2919
2922
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2920
2923
|
}
|
|
2921
2924
|
}
|
|
2922
|
-
tmp13_input.
|
|
2925
|
+
tmp13_input.kn(tmp0_desc);
|
|
2923
2926
|
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);
|
|
2924
2927
|
};
|
|
2925
|
-
protoOf($serializer_6).
|
|
2926
|
-
return this.
|
|
2928
|
+
protoOf($serializer_6).ak = function () {
|
|
2929
|
+
return this.x1t_1;
|
|
2927
2930
|
};
|
|
2928
|
-
protoOf($serializer_6).
|
|
2931
|
+
protoOf($serializer_6).qv = function () {
|
|
2929
2932
|
// Inline function 'kotlin.arrayOf' call
|
|
2930
2933
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2931
2934
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2939,35 +2942,35 @@
|
|
|
2939
2942
|
}
|
|
2940
2943
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2941
2944
|
if (!(448 === (448 & seen0))) {
|
|
2942
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
2945
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().x1t_1);
|
|
2943
2946
|
}
|
|
2944
2947
|
if (0 === (seen0 & 1))
|
|
2945
|
-
$this.
|
|
2948
|
+
$this.e1t_1 = null;
|
|
2946
2949
|
else
|
|
2947
|
-
$this.
|
|
2950
|
+
$this.e1t_1 = playerId;
|
|
2948
2951
|
if (0 === (seen0 & 2))
|
|
2949
|
-
$this.
|
|
2952
|
+
$this.f1t_1 = null;
|
|
2950
2953
|
else
|
|
2951
|
-
$this.
|
|
2954
|
+
$this.f1t_1 = uid;
|
|
2952
2955
|
if (0 === (seen0 & 4))
|
|
2953
|
-
$this.
|
|
2956
|
+
$this.g1t_1 = null;
|
|
2954
2957
|
else
|
|
2955
|
-
$this.
|
|
2958
|
+
$this.g1t_1 = name;
|
|
2956
2959
|
if (0 === (seen0 & 8))
|
|
2957
|
-
$this.
|
|
2960
|
+
$this.h1t_1 = null;
|
|
2958
2961
|
else
|
|
2959
|
-
$this.
|
|
2962
|
+
$this.h1t_1 = nickname;
|
|
2960
2963
|
if (0 === (seen0 & 16))
|
|
2961
|
-
$this.
|
|
2964
|
+
$this.i1t_1 = null;
|
|
2962
2965
|
else
|
|
2963
|
-
$this.
|
|
2966
|
+
$this.i1t_1 = avatarUrl;
|
|
2964
2967
|
if (0 === (seen0 & 32))
|
|
2965
|
-
$this.
|
|
2968
|
+
$this.j1t_1 = null;
|
|
2966
2969
|
else
|
|
2967
|
-
$this.
|
|
2968
|
-
$this.
|
|
2969
|
-
$this.
|
|
2970
|
-
$this.
|
|
2970
|
+
$this.j1t_1 = photo;
|
|
2971
|
+
$this.k1t_1 = rating;
|
|
2972
|
+
$this.l1t_1 = isBot;
|
|
2973
|
+
$this.m1t_1 = initialLuckyFactor;
|
|
2971
2974
|
return $this;
|
|
2972
2975
|
}
|
|
2973
2976
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2980,47 +2983,47 @@
|
|
|
2980
2983
|
nickname = nickname === VOID ? null : nickname;
|
|
2981
2984
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2982
2985
|
photo = photo === VOID ? null : photo;
|
|
2983
|
-
this.
|
|
2984
|
-
this.
|
|
2985
|
-
this.
|
|
2986
|
-
this.
|
|
2987
|
-
this.
|
|
2988
|
-
this.
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2991
|
-
this.
|
|
2992
|
-
}
|
|
2993
|
-
protoOf(GameUserInfoDto).
|
|
2994
|
-
return this.
|
|
2995
|
-
};
|
|
2996
|
-
protoOf(GameUserInfoDto).
|
|
2986
|
+
this.e1t_1 = playerId;
|
|
2987
|
+
this.f1t_1 = uid;
|
|
2988
|
+
this.g1t_1 = name;
|
|
2989
|
+
this.h1t_1 = nickname;
|
|
2990
|
+
this.i1t_1 = avatarUrl;
|
|
2991
|
+
this.j1t_1 = photo;
|
|
2992
|
+
this.k1t_1 = rating;
|
|
2993
|
+
this.l1t_1 = isBot;
|
|
2994
|
+
this.m1t_1 = initialLuckyFactor;
|
|
2995
|
+
}
|
|
2996
|
+
protoOf(GameUserInfoDto).z1t = function () {
|
|
2997
|
+
return this.a1u(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2998
|
+
};
|
|
2999
|
+
protoOf(GameUserInfoDto).b1u = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2997
3000
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2998
3001
|
};
|
|
2999
|
-
protoOf(GameUserInfoDto).
|
|
3000
|
-
playerId = playerId === VOID ? this.
|
|
3001
|
-
uid = uid === VOID ? this.
|
|
3002
|
-
name = name === VOID ? this.
|
|
3003
|
-
nickname = nickname === VOID ? this.
|
|
3004
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3005
|
-
photo = photo === VOID ? this.
|
|
3006
|
-
rating = rating === VOID ? this.
|
|
3007
|
-
isBot = isBot === VOID ? this.
|
|
3008
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3009
|
-
return $super === VOID ? this.
|
|
3002
|
+
protoOf(GameUserInfoDto).a1u = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
3003
|
+
playerId = playerId === VOID ? this.e1t_1 : playerId;
|
|
3004
|
+
uid = uid === VOID ? this.f1t_1 : uid;
|
|
3005
|
+
name = name === VOID ? this.g1t_1 : name;
|
|
3006
|
+
nickname = nickname === VOID ? this.h1t_1 : nickname;
|
|
3007
|
+
avatarUrl = avatarUrl === VOID ? this.i1t_1 : avatarUrl;
|
|
3008
|
+
photo = photo === VOID ? this.j1t_1 : photo;
|
|
3009
|
+
rating = rating === VOID ? this.k1t_1 : rating;
|
|
3010
|
+
isBot = isBot === VOID ? this.l1t_1 : isBot;
|
|
3011
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.m1t_1 : initialLuckyFactor;
|
|
3012
|
+
return $super === VOID ? this.b1u(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.b1u.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
3010
3013
|
};
|
|
3011
3014
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3012
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3015
|
+
return 'GameUserInfoDto(playerId=' + this.e1t_1 + ', uid=' + this.f1t_1 + ', name=' + this.g1t_1 + ', nickname=' + this.h1t_1 + ', avatarUrl=' + this.i1t_1 + ', photo=' + this.j1t_1 + ', rating=' + this.k1t_1 + ', isBot=' + this.l1t_1 + ', initialLuckyFactor=' + this.m1t_1 + ')';
|
|
3013
3016
|
};
|
|
3014
3017
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3015
|
-
var result = this.
|
|
3018
|
+
var result = this.e1t_1 == null ? 0 : getStringHashCode(this.e1t_1);
|
|
3019
|
+
result = imul(result, 31) + (this.f1t_1 == null ? 0 : getStringHashCode(this.f1t_1)) | 0;
|
|
3020
|
+
result = imul(result, 31) + (this.g1t_1 == null ? 0 : getStringHashCode(this.g1t_1)) | 0;
|
|
3021
|
+
result = imul(result, 31) + (this.h1t_1 == null ? 0 : getStringHashCode(this.h1t_1)) | 0;
|
|
3016
3022
|
result = imul(result, 31) + (this.i1t_1 == null ? 0 : getStringHashCode(this.i1t_1)) | 0;
|
|
3017
3023
|
result = imul(result, 31) + (this.j1t_1 == null ? 0 : getStringHashCode(this.j1t_1)) | 0;
|
|
3018
|
-
result = imul(result, 31) + (this.k1t_1 == null ? 0 :
|
|
3019
|
-
result = imul(result, 31) + (this.l1t_1 == null ? 0 :
|
|
3020
|
-
result = imul(result, 31) + (this.m1t_1 == null ? 0 :
|
|
3021
|
-
result = imul(result, 31) + (this.n1t_1 == null ? 0 : getNumberHashCode(this.n1t_1)) | 0;
|
|
3022
|
-
result = imul(result, 31) + (this.o1t_1 == null ? 0 : getBooleanHashCode(this.o1t_1)) | 0;
|
|
3023
|
-
result = imul(result, 31) + (this.p1t_1 == null ? 0 : getNumberHashCode(this.p1t_1)) | 0;
|
|
3024
|
+
result = imul(result, 31) + (this.k1t_1 == null ? 0 : getNumberHashCode(this.k1t_1)) | 0;
|
|
3025
|
+
result = imul(result, 31) + (this.l1t_1 == null ? 0 : getBooleanHashCode(this.l1t_1)) | 0;
|
|
3026
|
+
result = imul(result, 31) + (this.m1t_1 == null ? 0 : getNumberHashCode(this.m1t_1)) | 0;
|
|
3024
3027
|
return result;
|
|
3025
3028
|
};
|
|
3026
3029
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3028,28 +3031,28 @@
|
|
|
3028
3031
|
return true;
|
|
3029
3032
|
if (!(other instanceof GameUserInfoDto))
|
|
3030
3033
|
return false;
|
|
3034
|
+
if (!(this.e1t_1 == other.e1t_1))
|
|
3035
|
+
return false;
|
|
3036
|
+
if (!(this.f1t_1 == other.f1t_1))
|
|
3037
|
+
return false;
|
|
3038
|
+
if (!(this.g1t_1 == other.g1t_1))
|
|
3039
|
+
return false;
|
|
3031
3040
|
if (!(this.h1t_1 == other.h1t_1))
|
|
3032
3041
|
return false;
|
|
3033
3042
|
if (!(this.i1t_1 == other.i1t_1))
|
|
3034
3043
|
return false;
|
|
3035
3044
|
if (!(this.j1t_1 == other.j1t_1))
|
|
3036
3045
|
return false;
|
|
3037
|
-
if (!(this.k1t_1
|
|
3046
|
+
if (!equals(this.k1t_1, other.k1t_1))
|
|
3038
3047
|
return false;
|
|
3039
3048
|
if (!(this.l1t_1 == other.l1t_1))
|
|
3040
3049
|
return false;
|
|
3041
|
-
if (!(this.m1t_1
|
|
3042
|
-
return false;
|
|
3043
|
-
if (!equals(this.n1t_1, other.n1t_1))
|
|
3044
|
-
return false;
|
|
3045
|
-
if (!(this.o1t_1 == other.o1t_1))
|
|
3046
|
-
return false;
|
|
3047
|
-
if (!equals(this.p1t_1, other.p1t_1))
|
|
3050
|
+
if (!equals(this.m1t_1, other.m1t_1))
|
|
3048
3051
|
return false;
|
|
3049
3052
|
return true;
|
|
3050
3053
|
};
|
|
3051
3054
|
function PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2() {
|
|
3052
|
-
return Companion_getInstance_9().
|
|
3055
|
+
return Companion_getInstance_9().c18();
|
|
3053
3056
|
}
|
|
3054
3057
|
function Companion_16() {
|
|
3055
3058
|
Companion_instance_16 = this;
|
|
@@ -3058,7 +3061,7 @@
|
|
|
3058
3061
|
// Inline function 'kotlin.arrayOf' call
|
|
3059
3062
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3060
3063
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3061
|
-
tmp.
|
|
3064
|
+
tmp.c1u_1 = [lazy(tmp_0, PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2), null, null];
|
|
3062
3065
|
}
|
|
3063
3066
|
var Companion_instance_16;
|
|
3064
3067
|
function Companion_getInstance_19() {
|
|
@@ -3069,74 +3072,74 @@
|
|
|
3069
3072
|
function $serializer_7() {
|
|
3070
3073
|
$serializer_instance_7 = this;
|
|
3071
3074
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerConnectionDto', this, 3);
|
|
3072
|
-
tmp0_serialDesc.
|
|
3073
|
-
tmp0_serialDesc.
|
|
3074
|
-
tmp0_serialDesc.
|
|
3075
|
-
this.
|
|
3076
|
-
}
|
|
3077
|
-
protoOf($serializer_7).
|
|
3078
|
-
var tmp0_desc = this.
|
|
3079
|
-
var tmp1_output = encoder.
|
|
3080
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
3081
|
-
tmp1_output.
|
|
3082
|
-
tmp1_output.
|
|
3083
|
-
tmp1_output.
|
|
3084
|
-
tmp1_output.
|
|
3085
|
-
};
|
|
3086
|
-
protoOf($serializer_7).
|
|
3087
|
-
return this.
|
|
3088
|
-
};
|
|
3089
|
-
protoOf($serializer_7).
|
|
3090
|
-
var tmp0_desc = this.
|
|
3075
|
+
tmp0_serialDesc.zu('state', false);
|
|
3076
|
+
tmp0_serialDesc.zu('connectionChangedTime', false);
|
|
3077
|
+
tmp0_serialDesc.zu('notLiveDurationRecord', false);
|
|
3078
|
+
this.d1u_1 = tmp0_serialDesc;
|
|
3079
|
+
}
|
|
3080
|
+
protoOf($serializer_7).e1u = function (encoder, value) {
|
|
3081
|
+
var tmp0_desc = this.d1u_1;
|
|
3082
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
3083
|
+
var tmp2_cached = Companion_getInstance_19().c1u_1;
|
|
3084
|
+
tmp1_output.ap(tmp0_desc, 0, tmp2_cached[0].v1(), value.u1t_1);
|
|
3085
|
+
tmp1_output.yo(tmp0_desc, 1, value.v1t_1);
|
|
3086
|
+
tmp1_output.yo(tmp0_desc, 2, value.w1t_1);
|
|
3087
|
+
tmp1_output.kn(tmp0_desc);
|
|
3088
|
+
};
|
|
3089
|
+
protoOf($serializer_7).bk = function (encoder, value) {
|
|
3090
|
+
return this.e1u(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
3091
|
+
};
|
|
3092
|
+
protoOf($serializer_7).ck = function (decoder) {
|
|
3093
|
+
var tmp0_desc = this.d1u_1;
|
|
3091
3094
|
var tmp1_flag = true;
|
|
3092
3095
|
var tmp2_index = 0;
|
|
3093
3096
|
var tmp3_bitMask0 = 0;
|
|
3094
3097
|
var tmp4_local0 = null;
|
|
3095
3098
|
var tmp5_local1 = null;
|
|
3096
3099
|
var tmp6_local2 = null;
|
|
3097
|
-
var tmp7_input = decoder.
|
|
3098
|
-
var tmp8_cached = Companion_getInstance_19().
|
|
3099
|
-
if (tmp7_input.
|
|
3100
|
-
tmp4_local0 = tmp7_input.
|
|
3100
|
+
var tmp7_input = decoder.jn(tmp0_desc);
|
|
3101
|
+
var tmp8_cached = Companion_getInstance_19().c1u_1;
|
|
3102
|
+
if (tmp7_input.zn()) {
|
|
3103
|
+
tmp4_local0 = tmp7_input.vn(tmp0_desc, 0, tmp8_cached[0].v1(), tmp4_local0);
|
|
3101
3104
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3102
|
-
tmp5_local1 = tmp7_input.
|
|
3105
|
+
tmp5_local1 = tmp7_input.tn(tmp0_desc, 1);
|
|
3103
3106
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3104
|
-
tmp6_local2 = tmp7_input.
|
|
3107
|
+
tmp6_local2 = tmp7_input.tn(tmp0_desc, 2);
|
|
3105
3108
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3106
3109
|
} else
|
|
3107
3110
|
while (tmp1_flag) {
|
|
3108
|
-
tmp2_index = tmp7_input.
|
|
3111
|
+
tmp2_index = tmp7_input.ao(tmp0_desc);
|
|
3109
3112
|
switch (tmp2_index) {
|
|
3110
3113
|
case -1:
|
|
3111
3114
|
tmp1_flag = false;
|
|
3112
3115
|
break;
|
|
3113
3116
|
case 0:
|
|
3114
|
-
tmp4_local0 = tmp7_input.
|
|
3117
|
+
tmp4_local0 = tmp7_input.vn(tmp0_desc, 0, tmp8_cached[0].v1(), tmp4_local0);
|
|
3115
3118
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3116
3119
|
break;
|
|
3117
3120
|
case 1:
|
|
3118
|
-
tmp5_local1 = tmp7_input.
|
|
3121
|
+
tmp5_local1 = tmp7_input.tn(tmp0_desc, 1);
|
|
3119
3122
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3120
3123
|
break;
|
|
3121
3124
|
case 2:
|
|
3122
|
-
tmp6_local2 = tmp7_input.
|
|
3125
|
+
tmp6_local2 = tmp7_input.tn(tmp0_desc, 2);
|
|
3123
3126
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3124
3127
|
break;
|
|
3125
3128
|
default:
|
|
3126
3129
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3127
3130
|
}
|
|
3128
3131
|
}
|
|
3129
|
-
tmp7_input.
|
|
3132
|
+
tmp7_input.kn(tmp0_desc);
|
|
3130
3133
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3131
3134
|
};
|
|
3132
|
-
protoOf($serializer_7).
|
|
3133
|
-
return this.
|
|
3135
|
+
protoOf($serializer_7).ak = function () {
|
|
3136
|
+
return this.d1u_1;
|
|
3134
3137
|
};
|
|
3135
|
-
protoOf($serializer_7).
|
|
3138
|
+
protoOf($serializer_7).qv = function () {
|
|
3136
3139
|
// Inline function 'kotlin.arrayOf' call
|
|
3137
3140
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3138
3141
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3139
|
-
return [Companion_getInstance_19().
|
|
3142
|
+
return [Companion_getInstance_19().c1u_1[0].v1(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3140
3143
|
};
|
|
3141
3144
|
var $serializer_instance_7;
|
|
3142
3145
|
function $serializer_getInstance_7() {
|
|
@@ -3146,11 +3149,11 @@
|
|
|
3146
3149
|
}
|
|
3147
3150
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
3148
3151
|
if (!(7 === (7 & seen0))) {
|
|
3149
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
3152
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().d1u_1);
|
|
3150
3153
|
}
|
|
3151
|
-
$this.
|
|
3152
|
-
$this.
|
|
3153
|
-
$this.
|
|
3154
|
+
$this.u1t_1 = state;
|
|
3155
|
+
$this.v1t_1 = connectionChangedTime;
|
|
3156
|
+
$this.w1t_1 = notLiveDurationRecord;
|
|
3154
3157
|
return $this;
|
|
3155
3158
|
}
|
|
3156
3159
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -3158,17 +3161,17 @@
|
|
|
3158
3161
|
}
|
|
3159
3162
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
3160
3163
|
Companion_getInstance_19();
|
|
3161
|
-
this.
|
|
3162
|
-
this.
|
|
3163
|
-
this.
|
|
3164
|
+
this.u1t_1 = state;
|
|
3165
|
+
this.v1t_1 = connectionChangedTime;
|
|
3166
|
+
this.w1t_1 = notLiveDurationRecord;
|
|
3164
3167
|
}
|
|
3165
3168
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3166
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3169
|
+
return 'PlayerConnectionDto(state=' + this.u1t_1.toString() + ', connectionChangedTime=' + this.v1t_1 + ', notLiveDurationRecord=' + this.w1t_1 + ')';
|
|
3167
3170
|
};
|
|
3168
3171
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3169
|
-
var result = this.
|
|
3170
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3171
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3172
|
+
var result = this.u1t_1.hashCode();
|
|
3173
|
+
result = imul(result, 31) + getStringHashCode(this.v1t_1) | 0;
|
|
3174
|
+
result = imul(result, 31) + getStringHashCode(this.w1t_1) | 0;
|
|
3172
3175
|
return result;
|
|
3173
3176
|
};
|
|
3174
3177
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3176,16 +3179,16 @@
|
|
|
3176
3179
|
return true;
|
|
3177
3180
|
if (!(other instanceof PlayerConnectionDto))
|
|
3178
3181
|
return false;
|
|
3179
|
-
if (!this.
|
|
3182
|
+
if (!this.u1t_1.equals(other.u1t_1))
|
|
3180
3183
|
return false;
|
|
3181
|
-
if (!(this.
|
|
3184
|
+
if (!(this.v1t_1 === other.v1t_1))
|
|
3182
3185
|
return false;
|
|
3183
|
-
if (!(this.
|
|
3186
|
+
if (!(this.w1t_1 === other.w1t_1))
|
|
3184
3187
|
return false;
|
|
3185
3188
|
return true;
|
|
3186
3189
|
};
|
|
3187
3190
|
function PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl() {
|
|
3188
|
-
return Companion_getInstance_10().
|
|
3191
|
+
return Companion_getInstance_10().c18();
|
|
3189
3192
|
}
|
|
3190
3193
|
function Companion_17() {
|
|
3191
3194
|
Companion_instance_17 = this;
|
|
@@ -3194,7 +3197,7 @@
|
|
|
3194
3197
|
// Inline function 'kotlin.arrayOf' call
|
|
3195
3198
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3196
3199
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3197
|
-
tmp.
|
|
3200
|
+
tmp.f1u_1 = [null, null, null, lazy(tmp_0, PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl), null, null, null];
|
|
3198
3201
|
}
|
|
3199
3202
|
var Companion_instance_17;
|
|
3200
3203
|
function Companion_getInstance_20() {
|
|
@@ -3205,45 +3208,45 @@
|
|
|
3205
3208
|
function $serializer_8() {
|
|
3206
3209
|
$serializer_instance_8 = this;
|
|
3207
3210
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 7);
|
|
3208
|
-
tmp0_serialDesc.
|
|
3209
|
-
tmp0_serialDesc.
|
|
3210
|
-
tmp0_serialDesc.
|
|
3211
|
-
tmp0_serialDesc.
|
|
3212
|
-
tmp0_serialDesc.
|
|
3213
|
-
tmp0_serialDesc.
|
|
3214
|
-
tmp0_serialDesc.
|
|
3215
|
-
this.
|
|
3211
|
+
tmp0_serialDesc.zu('startFrom', true);
|
|
3212
|
+
tmp0_serialDesc.zu('playerTurnTimeout', true);
|
|
3213
|
+
tmp0_serialDesc.zu('waitPlayerUntilTime', true);
|
|
3214
|
+
tmp0_serialDesc.zu('state', false);
|
|
3215
|
+
tmp0_serialDesc.zu('ready', true);
|
|
3216
|
+
tmp0_serialDesc.zu('tag', true);
|
|
3217
|
+
tmp0_serialDesc.zu('connection', true);
|
|
3218
|
+
this.g1u_1 = tmp0_serialDesc;
|
|
3216
3219
|
}
|
|
3217
|
-
protoOf($serializer_8).
|
|
3218
|
-
var tmp0_desc = this.
|
|
3219
|
-
var tmp1_output = encoder.
|
|
3220
|
-
var tmp2_cached = Companion_getInstance_20().
|
|
3221
|
-
if (tmp1_output.
|
|
3222
|
-
tmp1_output.
|
|
3220
|
+
protoOf($serializer_8).h1u = function (encoder, value) {
|
|
3221
|
+
var tmp0_desc = this.g1u_1;
|
|
3222
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
3223
|
+
var tmp2_cached = Companion_getInstance_20().f1u_1;
|
|
3224
|
+
if (tmp1_output.gp(tmp0_desc, 0) ? true : !(value.n1t_1 == null)) {
|
|
3225
|
+
tmp1_output.cp(tmp0_desc, 0, StringSerializer_getInstance(), value.n1t_1);
|
|
3223
3226
|
}
|
|
3224
|
-
if (tmp1_output.
|
|
3225
|
-
tmp1_output.
|
|
3227
|
+
if (tmp1_output.gp(tmp0_desc, 1) ? true : !(value.o1t_1 == null)) {
|
|
3228
|
+
tmp1_output.cp(tmp0_desc, 1, StringSerializer_getInstance(), value.o1t_1);
|
|
3226
3229
|
}
|
|
3227
|
-
if (tmp1_output.
|
|
3228
|
-
tmp1_output.
|
|
3230
|
+
if (tmp1_output.gp(tmp0_desc, 2) ? true : !(value.p1t_1 == null)) {
|
|
3231
|
+
tmp1_output.cp(tmp0_desc, 2, StringSerializer_getInstance(), value.p1t_1);
|
|
3229
3232
|
}
|
|
3230
|
-
tmp1_output.
|
|
3231
|
-
if (tmp1_output.
|
|
3232
|
-
tmp1_output.
|
|
3233
|
+
tmp1_output.ap(tmp0_desc, 3, tmp2_cached[3].v1(), value.q1t_1);
|
|
3234
|
+
if (tmp1_output.gp(tmp0_desc, 4) ? true : !(value.r1t_1 == null)) {
|
|
3235
|
+
tmp1_output.cp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.r1t_1);
|
|
3233
3236
|
}
|
|
3234
|
-
if (tmp1_output.
|
|
3235
|
-
tmp1_output.
|
|
3237
|
+
if (tmp1_output.gp(tmp0_desc, 5) ? true : !(value.s1t_1 == null)) {
|
|
3238
|
+
tmp1_output.cp(tmp0_desc, 5, StringSerializer_getInstance(), value.s1t_1);
|
|
3236
3239
|
}
|
|
3237
|
-
if (tmp1_output.
|
|
3238
|
-
tmp1_output.
|
|
3240
|
+
if (tmp1_output.gp(tmp0_desc, 6) ? true : !(value.t1t_1 == null)) {
|
|
3241
|
+
tmp1_output.cp(tmp0_desc, 6, $serializer_getInstance_7(), value.t1t_1);
|
|
3239
3242
|
}
|
|
3240
|
-
tmp1_output.
|
|
3243
|
+
tmp1_output.kn(tmp0_desc);
|
|
3241
3244
|
};
|
|
3242
|
-
protoOf($serializer_8).
|
|
3243
|
-
return this.
|
|
3245
|
+
protoOf($serializer_8).bk = function (encoder, value) {
|
|
3246
|
+
return this.h1u(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3244
3247
|
};
|
|
3245
|
-
protoOf($serializer_8).
|
|
3246
|
-
var tmp0_desc = this.
|
|
3248
|
+
protoOf($serializer_8).ck = function (decoder) {
|
|
3249
|
+
var tmp0_desc = this.g1u_1;
|
|
3247
3250
|
var tmp1_flag = true;
|
|
3248
3251
|
var tmp2_index = 0;
|
|
3249
3252
|
var tmp3_bitMask0 = 0;
|
|
@@ -3254,70 +3257,70 @@
|
|
|
3254
3257
|
var tmp8_local4 = null;
|
|
3255
3258
|
var tmp9_local5 = null;
|
|
3256
3259
|
var tmp10_local6 = null;
|
|
3257
|
-
var tmp11_input = decoder.
|
|
3258
|
-
var tmp12_cached = Companion_getInstance_20().
|
|
3259
|
-
if (tmp11_input.
|
|
3260
|
-
tmp4_local0 = tmp11_input.
|
|
3260
|
+
var tmp11_input = decoder.jn(tmp0_desc);
|
|
3261
|
+
var tmp12_cached = Companion_getInstance_20().f1u_1;
|
|
3262
|
+
if (tmp11_input.zn()) {
|
|
3263
|
+
tmp4_local0 = tmp11_input.xn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3261
3264
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3262
|
-
tmp5_local1 = tmp11_input.
|
|
3265
|
+
tmp5_local1 = tmp11_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3263
3266
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3264
|
-
tmp6_local2 = tmp11_input.
|
|
3267
|
+
tmp6_local2 = tmp11_input.xn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3265
3268
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3266
|
-
tmp7_local3 = tmp11_input.
|
|
3269
|
+
tmp7_local3 = tmp11_input.vn(tmp0_desc, 3, tmp12_cached[3].v1(), tmp7_local3);
|
|
3267
3270
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3268
|
-
tmp8_local4 = tmp11_input.
|
|
3271
|
+
tmp8_local4 = tmp11_input.xn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3269
3272
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3270
|
-
tmp9_local5 = tmp11_input.
|
|
3273
|
+
tmp9_local5 = tmp11_input.xn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3271
3274
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3272
|
-
tmp10_local6 = tmp11_input.
|
|
3275
|
+
tmp10_local6 = tmp11_input.xn(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3273
3276
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3274
3277
|
} else
|
|
3275
3278
|
while (tmp1_flag) {
|
|
3276
|
-
tmp2_index = tmp11_input.
|
|
3279
|
+
tmp2_index = tmp11_input.ao(tmp0_desc);
|
|
3277
3280
|
switch (tmp2_index) {
|
|
3278
3281
|
case -1:
|
|
3279
3282
|
tmp1_flag = false;
|
|
3280
3283
|
break;
|
|
3281
3284
|
case 0:
|
|
3282
|
-
tmp4_local0 = tmp11_input.
|
|
3285
|
+
tmp4_local0 = tmp11_input.xn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3283
3286
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3284
3287
|
break;
|
|
3285
3288
|
case 1:
|
|
3286
|
-
tmp5_local1 = tmp11_input.
|
|
3289
|
+
tmp5_local1 = tmp11_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3287
3290
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3288
3291
|
break;
|
|
3289
3292
|
case 2:
|
|
3290
|
-
tmp6_local2 = tmp11_input.
|
|
3293
|
+
tmp6_local2 = tmp11_input.xn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3291
3294
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3292
3295
|
break;
|
|
3293
3296
|
case 3:
|
|
3294
|
-
tmp7_local3 = tmp11_input.
|
|
3297
|
+
tmp7_local3 = tmp11_input.vn(tmp0_desc, 3, tmp12_cached[3].v1(), tmp7_local3);
|
|
3295
3298
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3296
3299
|
break;
|
|
3297
3300
|
case 4:
|
|
3298
|
-
tmp8_local4 = tmp11_input.
|
|
3301
|
+
tmp8_local4 = tmp11_input.xn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3299
3302
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3300
3303
|
break;
|
|
3301
3304
|
case 5:
|
|
3302
|
-
tmp9_local5 = tmp11_input.
|
|
3305
|
+
tmp9_local5 = tmp11_input.xn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3303
3306
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3304
3307
|
break;
|
|
3305
3308
|
case 6:
|
|
3306
|
-
tmp10_local6 = tmp11_input.
|
|
3309
|
+
tmp10_local6 = tmp11_input.xn(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3307
3310
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3308
3311
|
break;
|
|
3309
3312
|
default:
|
|
3310
3313
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3311
3314
|
}
|
|
3312
3315
|
}
|
|
3313
|
-
tmp11_input.
|
|
3316
|
+
tmp11_input.kn(tmp0_desc);
|
|
3314
3317
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3315
3318
|
};
|
|
3316
|
-
protoOf($serializer_8).
|
|
3317
|
-
return this.
|
|
3319
|
+
protoOf($serializer_8).ak = function () {
|
|
3320
|
+
return this.g1u_1;
|
|
3318
3321
|
};
|
|
3319
|
-
protoOf($serializer_8).
|
|
3320
|
-
var tmp0_cached = Companion_getInstance_20().
|
|
3322
|
+
protoOf($serializer_8).qv = function () {
|
|
3323
|
+
var tmp0_cached = Companion_getInstance_20().f1u_1;
|
|
3321
3324
|
// Inline function 'kotlin.arrayOf' call
|
|
3322
3325
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3323
3326
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3331,33 +3334,33 @@
|
|
|
3331
3334
|
}
|
|
3332
3335
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3333
3336
|
if (!(8 === (8 & seen0))) {
|
|
3334
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3337
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().g1u_1);
|
|
3335
3338
|
}
|
|
3336
3339
|
if (0 === (seen0 & 1))
|
|
3337
|
-
$this.
|
|
3340
|
+
$this.n1t_1 = null;
|
|
3338
3341
|
else
|
|
3339
|
-
$this.
|
|
3342
|
+
$this.n1t_1 = startFrom;
|
|
3340
3343
|
if (0 === (seen0 & 2))
|
|
3341
|
-
$this.
|
|
3344
|
+
$this.o1t_1 = null;
|
|
3342
3345
|
else
|
|
3343
|
-
$this.
|
|
3346
|
+
$this.o1t_1 = playerTurnTimeout;
|
|
3344
3347
|
if (0 === (seen0 & 4))
|
|
3345
|
-
$this.
|
|
3348
|
+
$this.p1t_1 = null;
|
|
3346
3349
|
else
|
|
3347
|
-
$this.
|
|
3348
|
-
$this.
|
|
3350
|
+
$this.p1t_1 = waitPlayerUntilTime;
|
|
3351
|
+
$this.q1t_1 = state;
|
|
3349
3352
|
if (0 === (seen0 & 16))
|
|
3350
|
-
$this.
|
|
3353
|
+
$this.r1t_1 = null;
|
|
3351
3354
|
else
|
|
3352
|
-
$this.
|
|
3355
|
+
$this.r1t_1 = ready;
|
|
3353
3356
|
if (0 === (seen0 & 32))
|
|
3354
|
-
$this.
|
|
3357
|
+
$this.s1t_1 = null;
|
|
3355
3358
|
else
|
|
3356
|
-
$this.
|
|
3359
|
+
$this.s1t_1 = tag;
|
|
3357
3360
|
if (0 === (seen0 & 64))
|
|
3358
|
-
$this.
|
|
3361
|
+
$this.t1t_1 = null;
|
|
3359
3362
|
else
|
|
3360
|
-
$this.
|
|
3363
|
+
$this.t1t_1 = connection;
|
|
3361
3364
|
return $this;
|
|
3362
3365
|
}
|
|
3363
3366
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3371,25 +3374,25 @@
|
|
|
3371
3374
|
ready = ready === VOID ? null : ready;
|
|
3372
3375
|
tag = tag === VOID ? null : tag;
|
|
3373
3376
|
connection = connection === VOID ? null : connection;
|
|
3374
|
-
this.
|
|
3375
|
-
this.
|
|
3376
|
-
this.
|
|
3377
|
-
this.
|
|
3378
|
-
this.
|
|
3379
|
-
this.
|
|
3380
|
-
this.
|
|
3377
|
+
this.n1t_1 = startFrom;
|
|
3378
|
+
this.o1t_1 = playerTurnTimeout;
|
|
3379
|
+
this.p1t_1 = waitPlayerUntilTime;
|
|
3380
|
+
this.q1t_1 = state;
|
|
3381
|
+
this.r1t_1 = ready;
|
|
3382
|
+
this.s1t_1 = tag;
|
|
3383
|
+
this.t1t_1 = connection;
|
|
3381
3384
|
}
|
|
3382
3385
|
protoOf(PlayerStateDto).toString = function () {
|
|
3383
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3386
|
+
return 'PlayerStateDto(startFrom=' + this.n1t_1 + ', playerTurnTimeout=' + this.o1t_1 + ', waitPlayerUntilTime=' + this.p1t_1 + ', state=' + this.q1t_1.toString() + ', ready=' + this.r1t_1 + ', tag=' + this.s1t_1 + ', connection=' + toString(this.t1t_1) + ')';
|
|
3384
3387
|
};
|
|
3385
3388
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3386
|
-
var result = this.
|
|
3387
|
-
result = imul(result, 31) + (this.
|
|
3389
|
+
var result = this.n1t_1 == null ? 0 : getStringHashCode(this.n1t_1);
|
|
3390
|
+
result = imul(result, 31) + (this.o1t_1 == null ? 0 : getStringHashCode(this.o1t_1)) | 0;
|
|
3391
|
+
result = imul(result, 31) + (this.p1t_1 == null ? 0 : getStringHashCode(this.p1t_1)) | 0;
|
|
3392
|
+
result = imul(result, 31) + this.q1t_1.hashCode() | 0;
|
|
3393
|
+
result = imul(result, 31) + (this.r1t_1 == null ? 0 : getBooleanHashCode(this.r1t_1)) | 0;
|
|
3388
3394
|
result = imul(result, 31) + (this.s1t_1 == null ? 0 : getStringHashCode(this.s1t_1)) | 0;
|
|
3389
|
-
result = imul(result, 31) + this.t1t_1.hashCode() | 0;
|
|
3390
|
-
result = imul(result, 31) + (this.u1t_1 == null ? 0 : getBooleanHashCode(this.u1t_1)) | 0;
|
|
3391
|
-
result = imul(result, 31) + (this.v1t_1 == null ? 0 : getStringHashCode(this.v1t_1)) | 0;
|
|
3392
|
-
result = imul(result, 31) + (this.w1t_1 == null ? 0 : this.w1t_1.hashCode()) | 0;
|
|
3395
|
+
result = imul(result, 31) + (this.t1t_1 == null ? 0 : this.t1t_1.hashCode()) | 0;
|
|
3393
3396
|
return result;
|
|
3394
3397
|
};
|
|
3395
3398
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3397,19 +3400,19 @@
|
|
|
3397
3400
|
return true;
|
|
3398
3401
|
if (!(other instanceof PlayerStateDto))
|
|
3399
3402
|
return false;
|
|
3400
|
-
if (!(this.
|
|
3403
|
+
if (!(this.n1t_1 == other.n1t_1))
|
|
3401
3404
|
return false;
|
|
3402
|
-
if (!(this.
|
|
3405
|
+
if (!(this.o1t_1 == other.o1t_1))
|
|
3403
3406
|
return false;
|
|
3404
|
-
if (!(this.
|
|
3407
|
+
if (!(this.p1t_1 == other.p1t_1))
|
|
3405
3408
|
return false;
|
|
3406
|
-
if (!this.
|
|
3409
|
+
if (!this.q1t_1.equals(other.q1t_1))
|
|
3407
3410
|
return false;
|
|
3408
|
-
if (!(this.
|
|
3411
|
+
if (!(this.r1t_1 == other.r1t_1))
|
|
3409
3412
|
return false;
|
|
3410
|
-
if (!(this.
|
|
3413
|
+
if (!(this.s1t_1 == other.s1t_1))
|
|
3411
3414
|
return false;
|
|
3412
|
-
if (!equals(this.
|
|
3415
|
+
if (!equals(this.t1t_1, other.t1t_1))
|
|
3413
3416
|
return false;
|
|
3414
3417
|
return true;
|
|
3415
3418
|
};
|
|
@@ -3433,7 +3436,7 @@
|
|
|
3433
3436
|
// Inline function 'kotlin.arrayOf' call
|
|
3434
3437
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3435
3438
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3436
|
-
tmp.
|
|
3439
|
+
tmp.i1u_1 = [null, null, null, null, null, null, null, null, tmp_1, tmp_3, null, null, null, lazy(tmp_4, RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_1), null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3437
3440
|
}
|
|
3438
3441
|
var Companion_instance_18;
|
|
3439
3442
|
function Companion_getInstance_21() {
|
|
@@ -3444,71 +3447,71 @@
|
|
|
3444
3447
|
function $serializer_9() {
|
|
3445
3448
|
$serializer_instance_9 = this;
|
|
3446
3449
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 26);
|
|
3447
|
-
tmp0_serialDesc.
|
|
3448
|
-
tmp0_serialDesc.
|
|
3449
|
-
tmp0_serialDesc.
|
|
3450
|
-
tmp0_serialDesc.
|
|
3451
|
-
tmp0_serialDesc.
|
|
3452
|
-
tmp0_serialDesc.
|
|
3453
|
-
tmp0_serialDesc.
|
|
3454
|
-
tmp0_serialDesc.
|
|
3455
|
-
tmp0_serialDesc.
|
|
3456
|
-
tmp0_serialDesc.
|
|
3457
|
-
tmp0_serialDesc.
|
|
3458
|
-
tmp0_serialDesc.
|
|
3459
|
-
tmp0_serialDesc.
|
|
3460
|
-
tmp0_serialDesc.
|
|
3461
|
-
tmp0_serialDesc.
|
|
3462
|
-
tmp0_serialDesc.
|
|
3463
|
-
tmp0_serialDesc.
|
|
3464
|
-
tmp0_serialDesc.
|
|
3465
|
-
tmp0_serialDesc.
|
|
3466
|
-
tmp0_serialDesc.
|
|
3467
|
-
tmp0_serialDesc.
|
|
3468
|
-
tmp0_serialDesc.
|
|
3469
|
-
tmp0_serialDesc.
|
|
3470
|
-
tmp0_serialDesc.
|
|
3471
|
-
tmp0_serialDesc.
|
|
3472
|
-
tmp0_serialDesc.
|
|
3473
|
-
this.
|
|
3474
|
-
}
|
|
3475
|
-
protoOf($serializer_9).
|
|
3476
|
-
var tmp0_desc = this.
|
|
3477
|
-
var tmp1_output = encoder.
|
|
3478
|
-
var tmp2_cached = Companion_getInstance_21().
|
|
3479
|
-
tmp1_output.
|
|
3480
|
-
tmp1_output.
|
|
3481
|
-
tmp1_output.
|
|
3482
|
-
tmp1_output.
|
|
3483
|
-
tmp1_output.
|
|
3484
|
-
tmp1_output.
|
|
3485
|
-
tmp1_output.
|
|
3486
|
-
tmp1_output.
|
|
3487
|
-
tmp1_output.
|
|
3488
|
-
tmp1_output.
|
|
3489
|
-
tmp1_output.
|
|
3490
|
-
tmp1_output.
|
|
3491
|
-
tmp1_output.
|
|
3492
|
-
tmp1_output.
|
|
3493
|
-
tmp1_output.
|
|
3494
|
-
tmp1_output.
|
|
3495
|
-
tmp1_output.
|
|
3496
|
-
tmp1_output.
|
|
3497
|
-
tmp1_output.
|
|
3498
|
-
tmp1_output.
|
|
3499
|
-
tmp1_output.
|
|
3500
|
-
tmp1_output.
|
|
3501
|
-
tmp1_output.
|
|
3502
|
-
tmp1_output.
|
|
3503
|
-
tmp1_output.
|
|
3504
|
-
tmp1_output.
|
|
3505
|
-
tmp1_output.
|
|
3506
|
-
};
|
|
3507
|
-
protoOf($serializer_9).
|
|
3508
|
-
return this.
|
|
3509
|
-
};
|
|
3510
|
-
protoOf($serializer_9).
|
|
3511
|
-
var tmp0_desc = this.
|
|
3450
|
+
tmp0_serialDesc.zu('name', false);
|
|
3451
|
+
tmp0_serialDesc.zu('playerWhoChooseSuitGoFirst', false);
|
|
3452
|
+
tmp0_serialDesc.zu('winnerShuffleCards', false);
|
|
3453
|
+
tmp0_serialDesc.zu('playWithoutLiabilities', false);
|
|
3454
|
+
tmp0_serialDesc.zu('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
3455
|
+
tmp0_serialDesc.zu('dealerInitialCardsCount', false);
|
|
3456
|
+
tmp0_serialDesc.zu('dealerFinalCardsCount', false);
|
|
3457
|
+
tmp0_serialDesc.zu('dealerCounterClockwise', false);
|
|
3458
|
+
tmp0_serialDesc.zu('contractTypes', false);
|
|
3459
|
+
tmp0_serialDesc.zu('bidTypes', false);
|
|
3460
|
+
tmp0_serialDesc.zu('needToPutHigherTrump', false);
|
|
3461
|
+
tmp0_serialDesc.zu('trumpCardStepMode', false);
|
|
3462
|
+
tmp0_serialDesc.zu('trumpCardStepPartnerMode', false);
|
|
3463
|
+
tmp0_serialDesc.zu('combinationsWithFirstCard', false);
|
|
3464
|
+
tmp0_serialDesc.zu('protectBella', false);
|
|
3465
|
+
tmp0_serialDesc.zu('oneTryToProtectBella', false);
|
|
3466
|
+
tmp0_serialDesc.zu('enableFourSevensCombination', false);
|
|
3467
|
+
tmp0_serialDesc.zu('enableTrumpSevenCombination', false);
|
|
3468
|
+
tmp0_serialDesc.zu('enableTrumpSevenCombinationAfterDistribution', false);
|
|
3469
|
+
tmp0_serialDesc.zu('checkTrumpCombination', false);
|
|
3470
|
+
tmp0_serialDesc.zu('checkOnlyTrumpDebertz', false);
|
|
3471
|
+
tmp0_serialDesc.zu('pointsDistributeMode', false);
|
|
3472
|
+
tmp0_serialDesc.zu('enableFineIfNoBribes', false);
|
|
3473
|
+
tmp0_serialDesc.zu('fineIfNoBribes', false);
|
|
3474
|
+
tmp0_serialDesc.zu('enableFineAfterThirdByte', false);
|
|
3475
|
+
tmp0_serialDesc.zu('fineAfterThirdFailedContract', false);
|
|
3476
|
+
this.j1u_1 = tmp0_serialDesc;
|
|
3477
|
+
}
|
|
3478
|
+
protoOf($serializer_9).k1u = function (encoder, value) {
|
|
3479
|
+
var tmp0_desc = this.j1u_1;
|
|
3480
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
3481
|
+
var tmp2_cached = Companion_getInstance_21().i1u_1;
|
|
3482
|
+
tmp1_output.cp(tmp0_desc, 0, StringSerializer_getInstance(), value.l1u_1);
|
|
3483
|
+
tmp1_output.cp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.m1u_1);
|
|
3484
|
+
tmp1_output.cp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.n1u_1);
|
|
3485
|
+
tmp1_output.cp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.o1u_1);
|
|
3486
|
+
tmp1_output.cp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.p1u_1);
|
|
3487
|
+
tmp1_output.cp(tmp0_desc, 5, IntSerializer_getInstance(), value.q1u_1);
|
|
3488
|
+
tmp1_output.cp(tmp0_desc, 6, IntSerializer_getInstance(), value.r1u_1);
|
|
3489
|
+
tmp1_output.cp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.s1u_1);
|
|
3490
|
+
tmp1_output.cp(tmp0_desc, 8, tmp2_cached[8].v1(), value.t1u_1);
|
|
3491
|
+
tmp1_output.cp(tmp0_desc, 9, tmp2_cached[9].v1(), value.u1u_1);
|
|
3492
|
+
tmp1_output.cp(tmp0_desc, 10, BooleanSerializer_getInstance(), value.v1u_1);
|
|
3493
|
+
tmp1_output.cp(tmp0_desc, 11, StringSerializer_getInstance(), value.w1u_1);
|
|
3494
|
+
tmp1_output.cp(tmp0_desc, 12, StringSerializer_getInstance(), value.x1u_1);
|
|
3495
|
+
tmp1_output.cp(tmp0_desc, 13, tmp2_cached[13].v1(), value.y1u_1);
|
|
3496
|
+
tmp1_output.cp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.z1u_1);
|
|
3497
|
+
tmp1_output.cp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.a1v_1);
|
|
3498
|
+
tmp1_output.cp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.b1v_1);
|
|
3499
|
+
tmp1_output.cp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.c1v_1);
|
|
3500
|
+
tmp1_output.cp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.d1v_1);
|
|
3501
|
+
tmp1_output.cp(tmp0_desc, 19, BooleanSerializer_getInstance(), value.e1v_1);
|
|
3502
|
+
tmp1_output.cp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.f1v_1);
|
|
3503
|
+
tmp1_output.yo(tmp0_desc, 21, value.g1v_1);
|
|
3504
|
+
tmp1_output.cp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.h1v_1);
|
|
3505
|
+
tmp1_output.cp(tmp0_desc, 23, IntSerializer_getInstance(), value.i1v_1);
|
|
3506
|
+
tmp1_output.cp(tmp0_desc, 24, BooleanSerializer_getInstance(), value.j1v_1);
|
|
3507
|
+
tmp1_output.cp(tmp0_desc, 25, IntSerializer_getInstance(), value.k1v_1);
|
|
3508
|
+
tmp1_output.kn(tmp0_desc);
|
|
3509
|
+
};
|
|
3510
|
+
protoOf($serializer_9).bk = function (encoder, value) {
|
|
3511
|
+
return this.k1u(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3512
|
+
};
|
|
3513
|
+
protoOf($serializer_9).ck = function (decoder) {
|
|
3514
|
+
var tmp0_desc = this.j1u_1;
|
|
3512
3515
|
var tmp1_flag = true;
|
|
3513
3516
|
var tmp2_index = 0;
|
|
3514
3517
|
var tmp3_bitMask0 = 0;
|
|
@@ -3538,184 +3541,184 @@
|
|
|
3538
3541
|
var tmp27_local23 = null;
|
|
3539
3542
|
var tmp28_local24 = null;
|
|
3540
3543
|
var tmp29_local25 = null;
|
|
3541
|
-
var tmp30_input = decoder.
|
|
3542
|
-
var tmp31_cached = Companion_getInstance_21().
|
|
3543
|
-
if (tmp30_input.
|
|
3544
|
-
tmp4_local0 = tmp30_input.
|
|
3544
|
+
var tmp30_input = decoder.jn(tmp0_desc);
|
|
3545
|
+
var tmp31_cached = Companion_getInstance_21().i1u_1;
|
|
3546
|
+
if (tmp30_input.zn()) {
|
|
3547
|
+
tmp4_local0 = tmp30_input.xn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3545
3548
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3546
|
-
tmp5_local1 = tmp30_input.
|
|
3549
|
+
tmp5_local1 = tmp30_input.xn(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3547
3550
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3548
|
-
tmp6_local2 = tmp30_input.
|
|
3551
|
+
tmp6_local2 = tmp30_input.xn(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3549
3552
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3550
|
-
tmp7_local3 = tmp30_input.
|
|
3553
|
+
tmp7_local3 = tmp30_input.xn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3551
3554
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3552
|
-
tmp8_local4 = tmp30_input.
|
|
3555
|
+
tmp8_local4 = tmp30_input.xn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3553
3556
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3554
|
-
tmp9_local5 = tmp30_input.
|
|
3557
|
+
tmp9_local5 = tmp30_input.xn(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3555
3558
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3556
|
-
tmp10_local6 = tmp30_input.
|
|
3559
|
+
tmp10_local6 = tmp30_input.xn(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3557
3560
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3558
|
-
tmp11_local7 = tmp30_input.
|
|
3561
|
+
tmp11_local7 = tmp30_input.xn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3559
3562
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3560
|
-
tmp12_local8 = tmp30_input.
|
|
3563
|
+
tmp12_local8 = tmp30_input.xn(tmp0_desc, 8, tmp31_cached[8].v1(), tmp12_local8);
|
|
3561
3564
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3562
|
-
tmp13_local9 = tmp30_input.
|
|
3565
|
+
tmp13_local9 = tmp30_input.xn(tmp0_desc, 9, tmp31_cached[9].v1(), tmp13_local9);
|
|
3563
3566
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3564
|
-
tmp14_local10 = tmp30_input.
|
|
3567
|
+
tmp14_local10 = tmp30_input.xn(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3565
3568
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3566
|
-
tmp15_local11 = tmp30_input.
|
|
3569
|
+
tmp15_local11 = tmp30_input.xn(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3567
3570
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3568
|
-
tmp16_local12 = tmp30_input.
|
|
3571
|
+
tmp16_local12 = tmp30_input.xn(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3569
3572
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3570
|
-
tmp17_local13 = tmp30_input.
|
|
3573
|
+
tmp17_local13 = tmp30_input.xn(tmp0_desc, 13, tmp31_cached[13].v1(), tmp17_local13);
|
|
3571
3574
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3572
|
-
tmp18_local14 = tmp30_input.
|
|
3575
|
+
tmp18_local14 = tmp30_input.xn(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3573
3576
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3574
|
-
tmp19_local15 = tmp30_input.
|
|
3577
|
+
tmp19_local15 = tmp30_input.xn(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3575
3578
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3576
|
-
tmp20_local16 = tmp30_input.
|
|
3579
|
+
tmp20_local16 = tmp30_input.xn(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3577
3580
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3578
|
-
tmp21_local17 = tmp30_input.
|
|
3581
|
+
tmp21_local17 = tmp30_input.xn(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3579
3582
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3580
|
-
tmp22_local18 = tmp30_input.
|
|
3583
|
+
tmp22_local18 = tmp30_input.xn(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3581
3584
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3582
|
-
tmp23_local19 = tmp30_input.
|
|
3585
|
+
tmp23_local19 = tmp30_input.xn(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3583
3586
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3584
|
-
tmp24_local20 = tmp30_input.
|
|
3587
|
+
tmp24_local20 = tmp30_input.xn(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3585
3588
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3586
|
-
tmp25_local21 = tmp30_input.
|
|
3589
|
+
tmp25_local21 = tmp30_input.tn(tmp0_desc, 21);
|
|
3587
3590
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3588
|
-
tmp26_local22 = tmp30_input.
|
|
3591
|
+
tmp26_local22 = tmp30_input.xn(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3589
3592
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3590
|
-
tmp27_local23 = tmp30_input.
|
|
3593
|
+
tmp27_local23 = tmp30_input.xn(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3591
3594
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3592
|
-
tmp28_local24 = tmp30_input.
|
|
3595
|
+
tmp28_local24 = tmp30_input.xn(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3593
3596
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3594
|
-
tmp29_local25 = tmp30_input.
|
|
3597
|
+
tmp29_local25 = tmp30_input.xn(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3595
3598
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3596
3599
|
} else
|
|
3597
3600
|
while (tmp1_flag) {
|
|
3598
|
-
tmp2_index = tmp30_input.
|
|
3601
|
+
tmp2_index = tmp30_input.ao(tmp0_desc);
|
|
3599
3602
|
switch (tmp2_index) {
|
|
3600
3603
|
case -1:
|
|
3601
3604
|
tmp1_flag = false;
|
|
3602
3605
|
break;
|
|
3603
3606
|
case 0:
|
|
3604
|
-
tmp4_local0 = tmp30_input.
|
|
3607
|
+
tmp4_local0 = tmp30_input.xn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3605
3608
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3606
3609
|
break;
|
|
3607
3610
|
case 1:
|
|
3608
|
-
tmp5_local1 = tmp30_input.
|
|
3611
|
+
tmp5_local1 = tmp30_input.xn(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3609
3612
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3610
3613
|
break;
|
|
3611
3614
|
case 2:
|
|
3612
|
-
tmp6_local2 = tmp30_input.
|
|
3615
|
+
tmp6_local2 = tmp30_input.xn(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3613
3616
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3614
3617
|
break;
|
|
3615
3618
|
case 3:
|
|
3616
|
-
tmp7_local3 = tmp30_input.
|
|
3619
|
+
tmp7_local3 = tmp30_input.xn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3617
3620
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3618
3621
|
break;
|
|
3619
3622
|
case 4:
|
|
3620
|
-
tmp8_local4 = tmp30_input.
|
|
3623
|
+
tmp8_local4 = tmp30_input.xn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3621
3624
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3622
3625
|
break;
|
|
3623
3626
|
case 5:
|
|
3624
|
-
tmp9_local5 = tmp30_input.
|
|
3627
|
+
tmp9_local5 = tmp30_input.xn(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3625
3628
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3626
3629
|
break;
|
|
3627
3630
|
case 6:
|
|
3628
|
-
tmp10_local6 = tmp30_input.
|
|
3631
|
+
tmp10_local6 = tmp30_input.xn(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3629
3632
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3630
3633
|
break;
|
|
3631
3634
|
case 7:
|
|
3632
|
-
tmp11_local7 = tmp30_input.
|
|
3635
|
+
tmp11_local7 = tmp30_input.xn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3633
3636
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3634
3637
|
break;
|
|
3635
3638
|
case 8:
|
|
3636
|
-
tmp12_local8 = tmp30_input.
|
|
3639
|
+
tmp12_local8 = tmp30_input.xn(tmp0_desc, 8, tmp31_cached[8].v1(), tmp12_local8);
|
|
3637
3640
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3638
3641
|
break;
|
|
3639
3642
|
case 9:
|
|
3640
|
-
tmp13_local9 = tmp30_input.
|
|
3643
|
+
tmp13_local9 = tmp30_input.xn(tmp0_desc, 9, tmp31_cached[9].v1(), tmp13_local9);
|
|
3641
3644
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3642
3645
|
break;
|
|
3643
3646
|
case 10:
|
|
3644
|
-
tmp14_local10 = tmp30_input.
|
|
3647
|
+
tmp14_local10 = tmp30_input.xn(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3645
3648
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3646
3649
|
break;
|
|
3647
3650
|
case 11:
|
|
3648
|
-
tmp15_local11 = tmp30_input.
|
|
3651
|
+
tmp15_local11 = tmp30_input.xn(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3649
3652
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3650
3653
|
break;
|
|
3651
3654
|
case 12:
|
|
3652
|
-
tmp16_local12 = tmp30_input.
|
|
3655
|
+
tmp16_local12 = tmp30_input.xn(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3653
3656
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3654
3657
|
break;
|
|
3655
3658
|
case 13:
|
|
3656
|
-
tmp17_local13 = tmp30_input.
|
|
3659
|
+
tmp17_local13 = tmp30_input.xn(tmp0_desc, 13, tmp31_cached[13].v1(), tmp17_local13);
|
|
3657
3660
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3658
3661
|
break;
|
|
3659
3662
|
case 14:
|
|
3660
|
-
tmp18_local14 = tmp30_input.
|
|
3663
|
+
tmp18_local14 = tmp30_input.xn(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3661
3664
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3662
3665
|
break;
|
|
3663
3666
|
case 15:
|
|
3664
|
-
tmp19_local15 = tmp30_input.
|
|
3667
|
+
tmp19_local15 = tmp30_input.xn(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3665
3668
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3666
3669
|
break;
|
|
3667
3670
|
case 16:
|
|
3668
|
-
tmp20_local16 = tmp30_input.
|
|
3671
|
+
tmp20_local16 = tmp30_input.xn(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3669
3672
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3670
3673
|
break;
|
|
3671
3674
|
case 17:
|
|
3672
|
-
tmp21_local17 = tmp30_input.
|
|
3675
|
+
tmp21_local17 = tmp30_input.xn(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3673
3676
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3674
3677
|
break;
|
|
3675
3678
|
case 18:
|
|
3676
|
-
tmp22_local18 = tmp30_input.
|
|
3679
|
+
tmp22_local18 = tmp30_input.xn(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3677
3680
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3678
3681
|
break;
|
|
3679
3682
|
case 19:
|
|
3680
|
-
tmp23_local19 = tmp30_input.
|
|
3683
|
+
tmp23_local19 = tmp30_input.xn(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3681
3684
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3682
3685
|
break;
|
|
3683
3686
|
case 20:
|
|
3684
|
-
tmp24_local20 = tmp30_input.
|
|
3687
|
+
tmp24_local20 = tmp30_input.xn(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3685
3688
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3686
3689
|
break;
|
|
3687
3690
|
case 21:
|
|
3688
|
-
tmp25_local21 = tmp30_input.
|
|
3691
|
+
tmp25_local21 = tmp30_input.tn(tmp0_desc, 21);
|
|
3689
3692
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3690
3693
|
break;
|
|
3691
3694
|
case 22:
|
|
3692
|
-
tmp26_local22 = tmp30_input.
|
|
3695
|
+
tmp26_local22 = tmp30_input.xn(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3693
3696
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3694
3697
|
break;
|
|
3695
3698
|
case 23:
|
|
3696
|
-
tmp27_local23 = tmp30_input.
|
|
3699
|
+
tmp27_local23 = tmp30_input.xn(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3697
3700
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3698
3701
|
break;
|
|
3699
3702
|
case 24:
|
|
3700
|
-
tmp28_local24 = tmp30_input.
|
|
3703
|
+
tmp28_local24 = tmp30_input.xn(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3701
3704
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3702
3705
|
break;
|
|
3703
3706
|
case 25:
|
|
3704
|
-
tmp29_local25 = tmp30_input.
|
|
3707
|
+
tmp29_local25 = tmp30_input.xn(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3705
3708
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3706
3709
|
break;
|
|
3707
3710
|
default:
|
|
3708
3711
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3709
3712
|
}
|
|
3710
3713
|
}
|
|
3711
|
-
tmp30_input.
|
|
3714
|
+
tmp30_input.kn(tmp0_desc);
|
|
3712
3715
|
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, tmp28_local24, tmp29_local25, null);
|
|
3713
3716
|
};
|
|
3714
|
-
protoOf($serializer_9).
|
|
3715
|
-
return this.
|
|
3717
|
+
protoOf($serializer_9).ak = function () {
|
|
3718
|
+
return this.j1u_1;
|
|
3716
3719
|
};
|
|
3717
|
-
protoOf($serializer_9).
|
|
3718
|
-
var tmp0_cached = Companion_getInstance_21().
|
|
3720
|
+
protoOf($serializer_9).qv = function () {
|
|
3721
|
+
var tmp0_cached = Companion_getInstance_21().i1u_1;
|
|
3719
3722
|
// Inline function 'kotlin.arrayOf' call
|
|
3720
3723
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3721
3724
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3729,34 +3732,34 @@
|
|
|
3729
3732
|
}
|
|
3730
3733
|
function RulesDto_init_$Init$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3731
3734
|
if (!(67108863 === (67108863 & seen0))) {
|
|
3732
|
-
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().
|
|
3735
|
+
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().j1u_1);
|
|
3733
3736
|
}
|
|
3734
|
-
$this.
|
|
3735
|
-
$this.
|
|
3736
|
-
$this.
|
|
3737
|
-
$this.
|
|
3738
|
-
$this.
|
|
3739
|
-
$this.
|
|
3740
|
-
$this.
|
|
3741
|
-
$this.
|
|
3742
|
-
$this.
|
|
3743
|
-
$this.
|
|
3744
|
-
$this.
|
|
3745
|
-
$this.
|
|
3746
|
-
$this.
|
|
3747
|
-
$this.
|
|
3748
|
-
$this.
|
|
3749
|
-
$this.
|
|
3750
|
-
$this.
|
|
3751
|
-
$this.
|
|
3752
|
-
$this.
|
|
3753
|
-
$this.
|
|
3754
|
-
$this.
|
|
3755
|
-
$this.
|
|
3756
|
-
$this.
|
|
3757
|
-
$this.
|
|
3758
|
-
$this.
|
|
3759
|
-
$this.
|
|
3737
|
+
$this.l1u_1 = name;
|
|
3738
|
+
$this.m1u_1 = playerWhoChooseSuitGoFirst;
|
|
3739
|
+
$this.n1u_1 = winnerShuffleCards;
|
|
3740
|
+
$this.o1u_1 = playWithoutLiabilities;
|
|
3741
|
+
$this.p1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3742
|
+
$this.q1u_1 = dealerInitialCardsCount;
|
|
3743
|
+
$this.r1u_1 = dealerFinalCardsCount;
|
|
3744
|
+
$this.s1u_1 = dealerCounterClockwise;
|
|
3745
|
+
$this.t1u_1 = contractTypes;
|
|
3746
|
+
$this.u1u_1 = bidTypes;
|
|
3747
|
+
$this.v1u_1 = needToPutHigherTrump;
|
|
3748
|
+
$this.w1u_1 = trumpCardStepMode;
|
|
3749
|
+
$this.x1u_1 = trumpCardStepPartnerMode;
|
|
3750
|
+
$this.y1u_1 = combinationsWithFirstCard;
|
|
3751
|
+
$this.z1u_1 = protectBella;
|
|
3752
|
+
$this.a1v_1 = oneTryToProtectBella;
|
|
3753
|
+
$this.b1v_1 = enableFourSevensCombination;
|
|
3754
|
+
$this.c1v_1 = enableTrumpSevenCombination;
|
|
3755
|
+
$this.d1v_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3756
|
+
$this.e1v_1 = checkTrumpCombination;
|
|
3757
|
+
$this.f1v_1 = checkOnlyTrumpDebertz;
|
|
3758
|
+
$this.g1v_1 = pointsDistributeMode;
|
|
3759
|
+
$this.h1v_1 = enableFineIfNoBribes;
|
|
3760
|
+
$this.i1v_1 = fineIfNoBribes;
|
|
3761
|
+
$this.j1v_1 = enableFineAfterThirdByte;
|
|
3762
|
+
$this.k1v_1 = fineAfterThirdFailedContract;
|
|
3760
3763
|
return $this;
|
|
3761
3764
|
}
|
|
3762
3765
|
function RulesDto_init_$Create$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
@@ -3764,63 +3767,63 @@
|
|
|
3764
3767
|
}
|
|
3765
3768
|
function RulesDto(name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3766
3769
|
Companion_getInstance_21();
|
|
3767
|
-
this.
|
|
3768
|
-
this.
|
|
3769
|
-
this.
|
|
3770
|
-
this.
|
|
3771
|
-
this.
|
|
3772
|
-
this.
|
|
3773
|
-
this.
|
|
3774
|
-
this.
|
|
3775
|
-
this.
|
|
3776
|
-
this.
|
|
3777
|
-
this.
|
|
3778
|
-
this.
|
|
3779
|
-
this.
|
|
3780
|
-
this.
|
|
3781
|
-
this.
|
|
3782
|
-
this.
|
|
3783
|
-
this.
|
|
3784
|
-
this.
|
|
3785
|
-
this.
|
|
3786
|
-
this.
|
|
3787
|
-
this.
|
|
3788
|
-
this.
|
|
3789
|
-
this.
|
|
3790
|
-
this.
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3770
|
+
this.l1u_1 = name;
|
|
3771
|
+
this.m1u_1 = playerWhoChooseSuitGoFirst;
|
|
3772
|
+
this.n1u_1 = winnerShuffleCards;
|
|
3773
|
+
this.o1u_1 = playWithoutLiabilities;
|
|
3774
|
+
this.p1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3775
|
+
this.q1u_1 = dealerInitialCardsCount;
|
|
3776
|
+
this.r1u_1 = dealerFinalCardsCount;
|
|
3777
|
+
this.s1u_1 = dealerCounterClockwise;
|
|
3778
|
+
this.t1u_1 = contractTypes;
|
|
3779
|
+
this.u1u_1 = bidTypes;
|
|
3780
|
+
this.v1u_1 = needToPutHigherTrump;
|
|
3781
|
+
this.w1u_1 = trumpCardStepMode;
|
|
3782
|
+
this.x1u_1 = trumpCardStepPartnerMode;
|
|
3783
|
+
this.y1u_1 = combinationsWithFirstCard;
|
|
3784
|
+
this.z1u_1 = protectBella;
|
|
3785
|
+
this.a1v_1 = oneTryToProtectBella;
|
|
3786
|
+
this.b1v_1 = enableFourSevensCombination;
|
|
3787
|
+
this.c1v_1 = enableTrumpSevenCombination;
|
|
3788
|
+
this.d1v_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3789
|
+
this.e1v_1 = checkTrumpCombination;
|
|
3790
|
+
this.f1v_1 = checkOnlyTrumpDebertz;
|
|
3791
|
+
this.g1v_1 = pointsDistributeMode;
|
|
3792
|
+
this.h1v_1 = enableFineIfNoBribes;
|
|
3793
|
+
this.i1v_1 = fineIfNoBribes;
|
|
3794
|
+
this.j1v_1 = enableFineAfterThirdByte;
|
|
3795
|
+
this.k1v_1 = fineAfterThirdFailedContract;
|
|
3793
3796
|
}
|
|
3794
3797
|
protoOf(RulesDto).toString = function () {
|
|
3795
|
-
return 'RulesDto(name=' + this.
|
|
3798
|
+
return 'RulesDto(name=' + this.l1u_1 + ', playerWhoChooseSuitGoFirst=' + this.m1u_1 + ', winnerShuffleCards=' + this.n1u_1 + ', playWithoutLiabilities=' + this.o1u_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.p1u_1 + ', dealerInitialCardsCount=' + this.q1u_1 + ', dealerFinalCardsCount=' + this.r1u_1 + ', dealerCounterClockwise=' + this.s1u_1 + ', contractTypes=' + toString(this.t1u_1) + ', bidTypes=' + toString(this.u1u_1) + ', needToPutHigherTrump=' + this.v1u_1 + ', trumpCardStepMode=' + this.w1u_1 + ', trumpCardStepPartnerMode=' + this.x1u_1 + ', combinationsWithFirstCard=' + toString(this.y1u_1) + ', protectBella=' + this.z1u_1 + ', oneTryToProtectBella=' + this.a1v_1 + ', enableFourSevensCombination=' + this.b1v_1 + ', enableTrumpSevenCombination=' + this.c1v_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.d1v_1 + ', checkTrumpCombination=' + this.e1v_1 + ', checkOnlyTrumpDebertz=' + this.f1v_1 + ', pointsDistributeMode=' + this.g1v_1 + ', enableFineIfNoBribes=' + this.h1v_1 + ', fineIfNoBribes=' + this.i1v_1 + ', enableFineAfterThirdByte=' + this.j1v_1 + ', fineAfterThirdFailedContract=' + this.k1v_1 + ')';
|
|
3796
3799
|
};
|
|
3797
3800
|
protoOf(RulesDto).hashCode = function () {
|
|
3798
|
-
var result = this.
|
|
3801
|
+
var result = this.l1u_1 == null ? 0 : getStringHashCode(this.l1u_1);
|
|
3802
|
+
result = imul(result, 31) + (this.m1u_1 == null ? 0 : getBooleanHashCode(this.m1u_1)) | 0;
|
|
3803
|
+
result = imul(result, 31) + (this.n1u_1 == null ? 0 : getBooleanHashCode(this.n1u_1)) | 0;
|
|
3804
|
+
result = imul(result, 31) + (this.o1u_1 == null ? 0 : getBooleanHashCode(this.o1u_1)) | 0;
|
|
3799
3805
|
result = imul(result, 31) + (this.p1u_1 == null ? 0 : getBooleanHashCode(this.p1u_1)) | 0;
|
|
3800
|
-
result = imul(result, 31) + (this.q1u_1 == null ? 0 :
|
|
3801
|
-
result = imul(result, 31) + (this.r1u_1 == null ? 0 :
|
|
3806
|
+
result = imul(result, 31) + (this.q1u_1 == null ? 0 : this.q1u_1) | 0;
|
|
3807
|
+
result = imul(result, 31) + (this.r1u_1 == null ? 0 : this.r1u_1) | 0;
|
|
3802
3808
|
result = imul(result, 31) + (this.s1u_1 == null ? 0 : getBooleanHashCode(this.s1u_1)) | 0;
|
|
3803
|
-
result = imul(result, 31) + (this.t1u_1 == null ? 0 : this.t1u_1) | 0;
|
|
3804
|
-
result = imul(result, 31) + (this.u1u_1 == null ? 0 : this.u1u_1) | 0;
|
|
3809
|
+
result = imul(result, 31) + (this.t1u_1 == null ? 0 : hashCode(this.t1u_1)) | 0;
|
|
3810
|
+
result = imul(result, 31) + (this.u1u_1 == null ? 0 : hashCode(this.u1u_1)) | 0;
|
|
3805
3811
|
result = imul(result, 31) + (this.v1u_1 == null ? 0 : getBooleanHashCode(this.v1u_1)) | 0;
|
|
3806
|
-
result = imul(result, 31) + (this.w1u_1 == null ? 0 :
|
|
3807
|
-
result = imul(result, 31) + (this.x1u_1 == null ? 0 :
|
|
3808
|
-
result = imul(result, 31) + (this.y1u_1 == null ? 0 :
|
|
3809
|
-
result = imul(result, 31) + (this.z1u_1 == null ? 0 :
|
|
3810
|
-
result = imul(result, 31) + (this.a1v_1 == null ? 0 :
|
|
3811
|
-
result = imul(result, 31) + (this.b1v_1 == null ? 0 :
|
|
3812
|
+
result = imul(result, 31) + (this.w1u_1 == null ? 0 : getStringHashCode(this.w1u_1)) | 0;
|
|
3813
|
+
result = imul(result, 31) + (this.x1u_1 == null ? 0 : getStringHashCode(this.x1u_1)) | 0;
|
|
3814
|
+
result = imul(result, 31) + (this.y1u_1 == null ? 0 : hashCode(this.y1u_1)) | 0;
|
|
3815
|
+
result = imul(result, 31) + (this.z1u_1 == null ? 0 : getBooleanHashCode(this.z1u_1)) | 0;
|
|
3816
|
+
result = imul(result, 31) + (this.a1v_1 == null ? 0 : getBooleanHashCode(this.a1v_1)) | 0;
|
|
3817
|
+
result = imul(result, 31) + (this.b1v_1 == null ? 0 : getBooleanHashCode(this.b1v_1)) | 0;
|
|
3812
3818
|
result = imul(result, 31) + (this.c1v_1 == null ? 0 : getBooleanHashCode(this.c1v_1)) | 0;
|
|
3813
3819
|
result = imul(result, 31) + (this.d1v_1 == null ? 0 : getBooleanHashCode(this.d1v_1)) | 0;
|
|
3814
3820
|
result = imul(result, 31) + (this.e1v_1 == null ? 0 : getBooleanHashCode(this.e1v_1)) | 0;
|
|
3815
3821
|
result = imul(result, 31) + (this.f1v_1 == null ? 0 : getBooleanHashCode(this.f1v_1)) | 0;
|
|
3816
|
-
result = imul(result, 31) + (this.g1v_1
|
|
3822
|
+
result = imul(result, 31) + getStringHashCode(this.g1v_1) | 0;
|
|
3817
3823
|
result = imul(result, 31) + (this.h1v_1 == null ? 0 : getBooleanHashCode(this.h1v_1)) | 0;
|
|
3818
|
-
result = imul(result, 31) + (this.i1v_1 == null ? 0 :
|
|
3819
|
-
result = imul(result, 31) +
|
|
3820
|
-
result = imul(result, 31) + (this.k1v_1 == null ? 0 :
|
|
3821
|
-
result = imul(result, 31) + (this.l1v_1 == null ? 0 : this.l1v_1) | 0;
|
|
3822
|
-
result = imul(result, 31) + (this.m1v_1 == null ? 0 : getBooleanHashCode(this.m1v_1)) | 0;
|
|
3823
|
-
result = imul(result, 31) + (this.n1v_1 == null ? 0 : this.n1v_1) | 0;
|
|
3824
|
+
result = imul(result, 31) + (this.i1v_1 == null ? 0 : this.i1v_1) | 0;
|
|
3825
|
+
result = imul(result, 31) + (this.j1v_1 == null ? 0 : getBooleanHashCode(this.j1v_1)) | 0;
|
|
3826
|
+
result = imul(result, 31) + (this.k1v_1 == null ? 0 : this.k1v_1) | 0;
|
|
3824
3827
|
return result;
|
|
3825
3828
|
};
|
|
3826
3829
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3828,6 +3831,12 @@
|
|
|
3828
3831
|
return true;
|
|
3829
3832
|
if (!(other instanceof RulesDto))
|
|
3830
3833
|
return false;
|
|
3834
|
+
if (!(this.l1u_1 == other.l1u_1))
|
|
3835
|
+
return false;
|
|
3836
|
+
if (!(this.m1u_1 == other.m1u_1))
|
|
3837
|
+
return false;
|
|
3838
|
+
if (!(this.n1u_1 == other.n1u_1))
|
|
3839
|
+
return false;
|
|
3831
3840
|
if (!(this.o1u_1 == other.o1u_1))
|
|
3832
3841
|
return false;
|
|
3833
3842
|
if (!(this.p1u_1 == other.p1u_1))
|
|
@@ -3838,23 +3847,23 @@
|
|
|
3838
3847
|
return false;
|
|
3839
3848
|
if (!(this.s1u_1 == other.s1u_1))
|
|
3840
3849
|
return false;
|
|
3841
|
-
if (!(this.t1u_1
|
|
3850
|
+
if (!equals(this.t1u_1, other.t1u_1))
|
|
3842
3851
|
return false;
|
|
3843
|
-
if (!(this.u1u_1
|
|
3852
|
+
if (!equals(this.u1u_1, other.u1u_1))
|
|
3844
3853
|
return false;
|
|
3845
3854
|
if (!(this.v1u_1 == other.v1u_1))
|
|
3846
3855
|
return false;
|
|
3847
|
-
if (!
|
|
3856
|
+
if (!(this.w1u_1 == other.w1u_1))
|
|
3848
3857
|
return false;
|
|
3849
|
-
if (!
|
|
3858
|
+
if (!(this.x1u_1 == other.x1u_1))
|
|
3850
3859
|
return false;
|
|
3851
|
-
if (!(this.y1u_1
|
|
3860
|
+
if (!equals(this.y1u_1, other.y1u_1))
|
|
3852
3861
|
return false;
|
|
3853
3862
|
if (!(this.z1u_1 == other.z1u_1))
|
|
3854
3863
|
return false;
|
|
3855
3864
|
if (!(this.a1v_1 == other.a1v_1))
|
|
3856
3865
|
return false;
|
|
3857
|
-
if (!
|
|
3866
|
+
if (!(this.b1v_1 == other.b1v_1))
|
|
3858
3867
|
return false;
|
|
3859
3868
|
if (!(this.c1v_1 == other.c1v_1))
|
|
3860
3869
|
return false;
|
|
@@ -3864,22 +3873,16 @@
|
|
|
3864
3873
|
return false;
|
|
3865
3874
|
if (!(this.f1v_1 == other.f1v_1))
|
|
3866
3875
|
return false;
|
|
3867
|
-
if (!(this.g1v_1
|
|
3876
|
+
if (!(this.g1v_1 === other.g1v_1))
|
|
3868
3877
|
return false;
|
|
3869
3878
|
if (!(this.h1v_1 == other.h1v_1))
|
|
3870
3879
|
return false;
|
|
3871
3880
|
if (!(this.i1v_1 == other.i1v_1))
|
|
3872
3881
|
return false;
|
|
3873
|
-
if (!(this.j1v_1
|
|
3882
|
+
if (!(this.j1v_1 == other.j1v_1))
|
|
3874
3883
|
return false;
|
|
3875
3884
|
if (!(this.k1v_1 == other.k1v_1))
|
|
3876
3885
|
return false;
|
|
3877
|
-
if (!(this.l1v_1 == other.l1v_1))
|
|
3878
|
-
return false;
|
|
3879
|
-
if (!(this.m1v_1 == other.m1v_1))
|
|
3880
|
-
return false;
|
|
3881
|
-
if (!(this.n1v_1 == other.n1v_1))
|
|
3882
|
-
return false;
|
|
3883
3886
|
return true;
|
|
3884
3887
|
};
|
|
3885
3888
|
function BufferedAction() {
|
|
@@ -4030,7 +4033,7 @@
|
|
|
4030
4033
|
return tmp;
|
|
4031
4034
|
}
|
|
4032
4035
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4033
|
-
return $this.
|
|
4036
|
+
return $this.v1v_1.v1();
|
|
4034
4037
|
}
|
|
4035
4038
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
4036
4039
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -4070,13 +4073,13 @@
|
|
|
4070
4073
|
Companion_instance_19 = this;
|
|
4071
4074
|
var tmp = this;
|
|
4072
4075
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4073
|
-
tmp.
|
|
4076
|
+
tmp.v1v_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
4074
4077
|
}
|
|
4075
|
-
protoOf(Companion_19).
|
|
4078
|
+
protoOf(Companion_19).c18 = function () {
|
|
4076
4079
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
4077
4080
|
};
|
|
4078
|
-
protoOf(Companion_19).
|
|
4079
|
-
return this.
|
|
4081
|
+
protoOf(Companion_19).bw = function (typeParamsSerializers) {
|
|
4082
|
+
return this.c18();
|
|
4080
4083
|
};
|
|
4081
4084
|
var Companion_instance_19;
|
|
4082
4085
|
function Companion_getInstance_22() {
|
|
@@ -4124,7 +4127,7 @@
|
|
|
4124
4127
|
function ObservableLoggerOutput() {
|
|
4125
4128
|
}
|
|
4126
4129
|
function LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy() {
|
|
4127
|
-
return Companion_getInstance_22().
|
|
4130
|
+
return Companion_getInstance_22().c18();
|
|
4128
4131
|
}
|
|
4129
4132
|
function Companion_20() {
|
|
4130
4133
|
Companion_instance_20 = this;
|
|
@@ -4133,9 +4136,9 @@
|
|
|
4133
4136
|
// Inline function 'kotlin.arrayOf' call
|
|
4134
4137
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4135
4138
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4136
|
-
tmp.
|
|
4139
|
+
tmp.b1w_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
|
|
4137
4140
|
}
|
|
4138
|
-
protoOf(Companion_20).
|
|
4141
|
+
protoOf(Companion_20).c18 = function () {
|
|
4139
4142
|
return $serializer_getInstance_10();
|
|
4140
4143
|
};
|
|
4141
4144
|
var Companion_instance_20;
|
|
@@ -4147,29 +4150,29 @@
|
|
|
4147
4150
|
function $serializer_10() {
|
|
4148
4151
|
$serializer_instance_10 = this;
|
|
4149
4152
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
4150
|
-
tmp0_serialDesc.
|
|
4151
|
-
tmp0_serialDesc.
|
|
4152
|
-
tmp0_serialDesc.
|
|
4153
|
-
tmp0_serialDesc.
|
|
4154
|
-
tmp0_serialDesc.
|
|
4155
|
-
this.
|
|
4156
|
-
}
|
|
4157
|
-
protoOf($serializer_10).
|
|
4158
|
-
var tmp0_desc = this.
|
|
4159
|
-
var tmp1_output = encoder.
|
|
4160
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
4161
|
-
tmp1_output.
|
|
4162
|
-
tmp1_output.
|
|
4163
|
-
tmp1_output.
|
|
4164
|
-
tmp1_output.
|
|
4165
|
-
tmp1_output.
|
|
4166
|
-
tmp1_output.
|
|
4167
|
-
};
|
|
4168
|
-
protoOf($serializer_10).
|
|
4169
|
-
return this.
|
|
4170
|
-
};
|
|
4171
|
-
protoOf($serializer_10).
|
|
4172
|
-
var tmp0_desc = this.
|
|
4153
|
+
tmp0_serialDesc.zu('type', false);
|
|
4154
|
+
tmp0_serialDesc.zu('key', false);
|
|
4155
|
+
tmp0_serialDesc.zu('tag', false);
|
|
4156
|
+
tmp0_serialDesc.zu('message', false);
|
|
4157
|
+
tmp0_serialDesc.zu('stackTrace', false);
|
|
4158
|
+
this.c1w_1 = tmp0_serialDesc;
|
|
4159
|
+
}
|
|
4160
|
+
protoOf($serializer_10).d1w = function (encoder, value) {
|
|
4161
|
+
var tmp0_desc = this.c1w_1;
|
|
4162
|
+
var tmp1_output = encoder.jn(tmp0_desc);
|
|
4163
|
+
var tmp2_cached = Companion_getInstance_23().b1w_1;
|
|
4164
|
+
tmp1_output.ap(tmp0_desc, 0, tmp2_cached[0].v1(), value.type);
|
|
4165
|
+
tmp1_output.cp(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
4166
|
+
tmp1_output.cp(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
4167
|
+
tmp1_output.cp(tmp0_desc, 3, StringSerializer_getInstance(), value.message);
|
|
4168
|
+
tmp1_output.cp(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
4169
|
+
tmp1_output.kn(tmp0_desc);
|
|
4170
|
+
};
|
|
4171
|
+
protoOf($serializer_10).bk = function (encoder, value) {
|
|
4172
|
+
return this.d1w(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
4173
|
+
};
|
|
4174
|
+
protoOf($serializer_10).ck = function (decoder) {
|
|
4175
|
+
var tmp0_desc = this.c1w_1;
|
|
4173
4176
|
var tmp1_flag = true;
|
|
4174
4177
|
var tmp2_index = 0;
|
|
4175
4178
|
var tmp3_bitMask0 = 0;
|
|
@@ -4178,61 +4181,61 @@
|
|
|
4178
4181
|
var tmp6_local2 = null;
|
|
4179
4182
|
var tmp7_local3 = null;
|
|
4180
4183
|
var tmp8_local4 = null;
|
|
4181
|
-
var tmp9_input = decoder.
|
|
4182
|
-
var tmp10_cached = Companion_getInstance_23().
|
|
4183
|
-
if (tmp9_input.
|
|
4184
|
-
tmp4_local0 = tmp9_input.
|
|
4184
|
+
var tmp9_input = decoder.jn(tmp0_desc);
|
|
4185
|
+
var tmp10_cached = Companion_getInstance_23().b1w_1;
|
|
4186
|
+
if (tmp9_input.zn()) {
|
|
4187
|
+
tmp4_local0 = tmp9_input.vn(tmp0_desc, 0, tmp10_cached[0].v1(), tmp4_local0);
|
|
4185
4188
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4186
|
-
tmp5_local1 = tmp9_input.
|
|
4189
|
+
tmp5_local1 = tmp9_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4187
4190
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4188
|
-
tmp6_local2 = tmp9_input.
|
|
4191
|
+
tmp6_local2 = tmp9_input.xn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4189
4192
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4190
|
-
tmp7_local3 = tmp9_input.
|
|
4193
|
+
tmp7_local3 = tmp9_input.xn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4191
4194
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4192
|
-
tmp8_local4 = tmp9_input.
|
|
4195
|
+
tmp8_local4 = tmp9_input.xn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4193
4196
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4194
4197
|
} else
|
|
4195
4198
|
while (tmp1_flag) {
|
|
4196
|
-
tmp2_index = tmp9_input.
|
|
4199
|
+
tmp2_index = tmp9_input.ao(tmp0_desc);
|
|
4197
4200
|
switch (tmp2_index) {
|
|
4198
4201
|
case -1:
|
|
4199
4202
|
tmp1_flag = false;
|
|
4200
4203
|
break;
|
|
4201
4204
|
case 0:
|
|
4202
|
-
tmp4_local0 = tmp9_input.
|
|
4205
|
+
tmp4_local0 = tmp9_input.vn(tmp0_desc, 0, tmp10_cached[0].v1(), tmp4_local0);
|
|
4203
4206
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4204
4207
|
break;
|
|
4205
4208
|
case 1:
|
|
4206
|
-
tmp5_local1 = tmp9_input.
|
|
4209
|
+
tmp5_local1 = tmp9_input.xn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4207
4210
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4208
4211
|
break;
|
|
4209
4212
|
case 2:
|
|
4210
|
-
tmp6_local2 = tmp9_input.
|
|
4213
|
+
tmp6_local2 = tmp9_input.xn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4211
4214
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4212
4215
|
break;
|
|
4213
4216
|
case 3:
|
|
4214
|
-
tmp7_local3 = tmp9_input.
|
|
4217
|
+
tmp7_local3 = tmp9_input.xn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4215
4218
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4216
4219
|
break;
|
|
4217
4220
|
case 4:
|
|
4218
|
-
tmp8_local4 = tmp9_input.
|
|
4221
|
+
tmp8_local4 = tmp9_input.xn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4219
4222
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4220
4223
|
break;
|
|
4221
4224
|
default:
|
|
4222
4225
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
4223
4226
|
}
|
|
4224
4227
|
}
|
|
4225
|
-
tmp9_input.
|
|
4228
|
+
tmp9_input.kn(tmp0_desc);
|
|
4226
4229
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4227
4230
|
};
|
|
4228
|
-
protoOf($serializer_10).
|
|
4229
|
-
return this.
|
|
4231
|
+
protoOf($serializer_10).ak = function () {
|
|
4232
|
+
return this.c1w_1;
|
|
4230
4233
|
};
|
|
4231
|
-
protoOf($serializer_10).
|
|
4234
|
+
protoOf($serializer_10).qv = function () {
|
|
4232
4235
|
// Inline function 'kotlin.arrayOf' call
|
|
4233
4236
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4234
4237
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4235
|
-
return [Companion_getInstance_23().
|
|
4238
|
+
return [Companion_getInstance_23().b1w_1[0].v1(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4236
4239
|
};
|
|
4237
4240
|
var $serializer_instance_10;
|
|
4238
4241
|
function $serializer_getInstance_10() {
|
|
@@ -4242,7 +4245,7 @@
|
|
|
4242
4245
|
}
|
|
4243
4246
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4244
4247
|
if (!(31 === (31 & seen0))) {
|
|
4245
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4248
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().c1w_1);
|
|
4246
4249
|
}
|
|
4247
4250
|
$this.type = type;
|
|
4248
4251
|
$this.key = key;
|
|
@@ -4262,23 +4265,23 @@
|
|
|
4262
4265
|
this.message = message;
|
|
4263
4266
|
this.stackTrace = stackTrace;
|
|
4264
4267
|
}
|
|
4265
|
-
protoOf(LoggerOutputDataDto).
|
|
4268
|
+
protoOf(LoggerOutputDataDto).e1w = function () {
|
|
4266
4269
|
return this.type;
|
|
4267
4270
|
};
|
|
4268
4271
|
protoOf(LoggerOutputDataDto).u1 = function () {
|
|
4269
4272
|
return this.key;
|
|
4270
4273
|
};
|
|
4271
|
-
protoOf(LoggerOutputDataDto).
|
|
4274
|
+
protoOf(LoggerOutputDataDto).s1p = function () {
|
|
4272
4275
|
return this.tag;
|
|
4273
4276
|
};
|
|
4274
4277
|
protoOf(LoggerOutputDataDto).e = function () {
|
|
4275
4278
|
return this.message;
|
|
4276
4279
|
};
|
|
4277
|
-
protoOf(LoggerOutputDataDto).
|
|
4280
|
+
protoOf(LoggerOutputDataDto).f1w = function () {
|
|
4278
4281
|
return this.stackTrace;
|
|
4279
4282
|
};
|
|
4280
4283
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
4281
|
-
var time = toLocalDateTime(System_instance.kg(), Companion_getInstance_1().
|
|
4284
|
+
var time = toLocalDateTime(System_instance.kg(), Companion_getInstance_1().i1o());
|
|
4282
4285
|
var tmp = time.toString();
|
|
4283
4286
|
// Inline function 'kotlin.text.lowercase' call
|
|
4284
4287
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -4322,16 +4325,16 @@
|
|
|
4322
4325
|
protoOf(LoggerOutputDataDto).tc = function () {
|
|
4323
4326
|
return this.key;
|
|
4324
4327
|
};
|
|
4325
|
-
protoOf(LoggerOutputDataDto).
|
|
4328
|
+
protoOf(LoggerOutputDataDto).di = function () {
|
|
4326
4329
|
return this.tag;
|
|
4327
4330
|
};
|
|
4328
|
-
protoOf(LoggerOutputDataDto).
|
|
4331
|
+
protoOf(LoggerOutputDataDto).t16 = function () {
|
|
4329
4332
|
return this.message;
|
|
4330
4333
|
};
|
|
4331
|
-
protoOf(LoggerOutputDataDto).
|
|
4334
|
+
protoOf(LoggerOutputDataDto).m1q = function () {
|
|
4332
4335
|
return this.stackTrace;
|
|
4333
4336
|
};
|
|
4334
|
-
protoOf(LoggerOutputDataDto).
|
|
4337
|
+
protoOf(LoggerOutputDataDto).g1w = function (type, key, tag, message, stackTrace) {
|
|
4335
4338
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4336
4339
|
};
|
|
4337
4340
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4340,7 +4343,7 @@
|
|
|
4340
4343
|
tag = tag === VOID ? this.tag : tag;
|
|
4341
4344
|
message = message === VOID ? this.message : message;
|
|
4342
4345
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4343
|
-
return $super === VOID ? this.
|
|
4346
|
+
return $super === VOID ? this.g1w(type, key, tag, message, stackTrace) : $super.g1w.call(this, type, key, tag, message, stackTrace);
|
|
4344
4347
|
};
|
|
4345
4348
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4346
4349
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4394,58 +4397,58 @@
|
|
|
4394
4397
|
return destination;
|
|
4395
4398
|
}
|
|
4396
4399
|
//region block: post-declaration
|
|
4397
|
-
protoOf($serializer).
|
|
4398
|
-
protoOf($serializer_0).
|
|
4399
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
4400
|
+
protoOf($serializer).rv = typeParametersSerializers;
|
|
4401
|
+
protoOf($serializer_0).rv = typeParametersSerializers;
|
|
4402
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).n1p);
|
|
4400
4403
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4401
|
-
return this.
|
|
4404
|
+
return this.r1p();
|
|
4402
4405
|
});
|
|
4403
4406
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4404
|
-
return this.
|
|
4407
|
+
return this.r1p();
|
|
4405
4408
|
});
|
|
4406
4409
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4407
|
-
return this.
|
|
4410
|
+
return this.r1p();
|
|
4408
4411
|
});
|
|
4409
4412
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).i2);
|
|
4410
4413
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).j2);
|
|
4411
4414
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).i2);
|
|
4412
4415
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).j2);
|
|
4413
4416
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4414
|
-
return this.
|
|
4417
|
+
return this.r1p();
|
|
4415
4418
|
});
|
|
4416
4419
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4417
|
-
return this.
|
|
4420
|
+
return this.r1p();
|
|
4418
4421
|
});
|
|
4419
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4420
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4421
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4422
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4423
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).
|
|
4424
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4425
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4426
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4427
|
-
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).
|
|
4428
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).
|
|
4429
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).
|
|
4430
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4431
|
-
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).
|
|
4432
|
-
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).
|
|
4422
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).o1r);
|
|
4423
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).p1r);
|
|
4424
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).q1r);
|
|
4425
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).r1r);
|
|
4426
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).s1r);
|
|
4427
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).t1r);
|
|
4428
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).u1r);
|
|
4429
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).v1r);
|
|
4430
|
+
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).w1r);
|
|
4431
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).x1r);
|
|
4432
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).y1r);
|
|
4433
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).z1r);
|
|
4434
|
+
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).a1s);
|
|
4435
|
+
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).b1s);
|
|
4433
4436
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).i2);
|
|
4434
4437
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).j2);
|
|
4435
|
-
defineProp(protoOf(Team), 'first', protoOf(Team).
|
|
4436
|
-
defineProp(protoOf(Team), 'second', protoOf(Team).
|
|
4437
|
-
protoOf($serializer_1).
|
|
4438
|
-
protoOf($serializer_2).
|
|
4439
|
-
protoOf($serializer_3).
|
|
4440
|
-
protoOf($serializer_4).
|
|
4441
|
-
protoOf($serializer_5).
|
|
4442
|
-
protoOf($serializer_6).
|
|
4443
|
-
protoOf($serializer_7).
|
|
4444
|
-
protoOf($serializer_8).
|
|
4445
|
-
protoOf($serializer_9).
|
|
4438
|
+
defineProp(protoOf(Team), 'first', protoOf(Team).k1s);
|
|
4439
|
+
defineProp(protoOf(Team), 'second', protoOf(Team).f1d);
|
|
4440
|
+
protoOf($serializer_1).rv = typeParametersSerializers;
|
|
4441
|
+
protoOf($serializer_2).rv = typeParametersSerializers;
|
|
4442
|
+
protoOf($serializer_3).rv = typeParametersSerializers;
|
|
4443
|
+
protoOf($serializer_4).rv = typeParametersSerializers;
|
|
4444
|
+
protoOf($serializer_5).rv = typeParametersSerializers;
|
|
4445
|
+
protoOf($serializer_6).rv = typeParametersSerializers;
|
|
4446
|
+
protoOf($serializer_7).rv = typeParametersSerializers;
|
|
4447
|
+
protoOf($serializer_8).rv = typeParametersSerializers;
|
|
4448
|
+
protoOf($serializer_9).rv = typeParametersSerializers;
|
|
4446
4449
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).i2);
|
|
4447
4450
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).j2);
|
|
4448
|
-
protoOf($serializer_10).
|
|
4451
|
+
protoOf($serializer_10).rv = typeParametersSerializers;
|
|
4449
4452
|
//endregion
|
|
4450
4453
|
//region block: init
|
|
4451
4454
|
GameEngineConfig_instance = new GameEngineConfig();
|