game_client_logic_deb 1.6.33 → 1.6.38
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/Logic_Debertz-core.js +1411 -1125
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7884 -7800
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +150 -7
- package/Logic_Debertz-game_client.js +2749 -2701
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -53,9 +53,10 @@
|
|
|
53
53
|
var lazy = kotlin_kotlin.$_$.ud;
|
|
54
54
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
55
55
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
56
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
56
57
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
58
|
+
var THROW_IAE = kotlin_kotlin.$_$.ad;
|
|
57
59
|
var Enum = kotlin_kotlin.$_$.oc;
|
|
58
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
59
60
|
var interfaceMeta = kotlin_kotlin.$_$.r9;
|
|
60
61
|
var Exception = kotlin_kotlin.$_$.qc;
|
|
61
62
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.h1;
|
|
@@ -77,7 +78,6 @@
|
|
|
77
78
|
var numberToInt = kotlin_kotlin.$_$.ga;
|
|
78
79
|
var Duration = kotlin_kotlin.$_$.fc;
|
|
79
80
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.a2;
|
|
80
|
-
var THROW_IAE = kotlin_kotlin.$_$.ad;
|
|
81
81
|
var toString_0 = kotlin_kotlin.$_$.pa;
|
|
82
82
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
83
83
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.wd;
|
|
@@ -130,6 +130,7 @@
|
|
|
130
130
|
//endregion
|
|
131
131
|
//region block: pre-declaration
|
|
132
132
|
setMetadataFor(GameEngineConfig, 'GameEngineConfig', objectMeta);
|
|
133
|
+
setMetadataFor(Toggles, 'Toggles', objectMeta);
|
|
133
134
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
134
135
|
setMetadataFor($serializer, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
135
136
|
setMetadataFor(ContinueGameReason, 'ContinueGameReason', classMeta, VOID, VOID, VOID, VOID, {0: Companion_getInstance_1});
|
|
@@ -140,29 +141,29 @@
|
|
|
140
141
|
setMetadataFor(TerminationGameReason, 'TerminationGameReason', classMeta, VOID, VOID, VOID, VOID, {0: Companion_getInstance_2});
|
|
141
142
|
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
142
143
|
setMetadataFor($serializer_0, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
143
|
-
setMetadataFor(
|
|
144
|
-
setMetadataFor(
|
|
145
|
-
setMetadataFor(
|
|
146
|
-
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
144
|
+
setMetadataFor(FinishPlayerReason, 'FinishPlayerReason', interfaceMeta);
|
|
145
|
+
setMetadataFor(PlayerLostConnectionReason, 'PlayerLostConnectionReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_0});
|
|
146
|
+
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
147
147
|
setMetadataFor($serializer_1, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
148
|
-
setMetadataFor(
|
|
149
|
-
setMetadataFor(
|
|
148
|
+
setMetadataFor(PlayerTimeoutReason, 'PlayerTimeoutReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_1});
|
|
149
|
+
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
150
150
|
setMetadataFor($serializer_2, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
151
|
-
setMetadataFor(FinishPlayerReason, 'FinishPlayerReason', interfaceMeta);
|
|
152
151
|
setMetadataFor(PlayerExitReason, 'PlayerExitReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_2});
|
|
152
|
+
setMetadataFor(Companion_5, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
153
|
+
setMetadataFor(Reason, 'Reason', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_6});
|
|
153
154
|
setMetadataFor(Companion_6, 'Companion', objectMeta);
|
|
154
155
|
setMetadataFor($serializer_3, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
155
|
-
setMetadataFor(
|
|
156
|
+
setMetadataFor(GameFinishedReason, 'GameFinishedReason', classMeta, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
156
157
|
setMetadataFor(Companion_7, 'Companion', objectMeta);
|
|
157
158
|
setMetadataFor($serializer_4, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
158
|
-
setMetadataFor(
|
|
159
|
-
setMetadataFor(ProcessingReason, 'ProcessingReason', objectMeta, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: ProcessingReason_getInstance});
|
|
159
|
+
setMetadataFor(GameErrorReason, 'GameErrorReason', classMeta, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
160
160
|
setMetadataFor(WaitingForConnectionReason, 'WaitingForConnectionReason', objectMeta, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReason_getInstance});
|
|
161
|
+
setMetadataFor(ProcessingReason, 'ProcessingReason', objectMeta, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: ProcessingReason_getInstance});
|
|
161
162
|
setMetadataFor(MechanicException, 'MechanicException', classMeta, Exception);
|
|
162
163
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta);
|
|
163
164
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, VOID, [PlayerIdContract]);
|
|
164
165
|
function get_amountOfCards() {
|
|
165
|
-
return this.
|
|
166
|
+
return this.r2h().n();
|
|
166
167
|
}
|
|
167
168
|
setMetadataFor(Player, 'Player', interfaceMeta, VOID, [PlayerIdContract]);
|
|
168
169
|
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, VOID, [PlayerIdContract]);
|
|
@@ -211,16 +212,16 @@
|
|
|
211
212
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
212
213
|
setMetadataFor(AsyncProviderImpl$launchWorkerWithLock$slambda, 'AsyncProviderImpl$launchWorkerWithLock$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
|
|
213
214
|
function launchWorker$default(context, block, $super) {
|
|
214
|
-
context = context === VOID ? this.
|
|
215
|
-
return $super === VOID ? this.
|
|
215
|
+
context = context === VOID ? this.s2n() : context;
|
|
216
|
+
return $super === VOID ? this.v2n(context, block) : $super.v2n.call(this, context, block);
|
|
216
217
|
}
|
|
217
218
|
function launchWorkerWithLock$default(context, block, $super) {
|
|
218
|
-
context = context === VOID ? this.
|
|
219
|
-
return $super === VOID ? this.
|
|
219
|
+
context = context === VOID ? this.s2n() : context;
|
|
220
|
+
return $super === VOID ? this.x2n(context, block) : $super.x2n.call(this, context, block);
|
|
220
221
|
}
|
|
221
222
|
function launchStore$default(context, block, $super) {
|
|
222
|
-
context = context === VOID ? this.
|
|
223
|
-
return $super === VOID ? this.
|
|
223
|
+
context = context === VOID ? this.s2n() : context;
|
|
224
|
+
return $super === VOID ? this.t2n(context, block) : $super.t2n.call(this, context, block);
|
|
224
225
|
}
|
|
225
226
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
226
227
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, VOID, [AsyncProvider]);
|
|
@@ -259,7 +260,7 @@
|
|
|
259
260
|
return false;
|
|
260
261
|
}
|
|
261
262
|
function get_isAutoStartTimer() {
|
|
262
|
-
return !this.
|
|
263
|
+
return !this.c2q() ? !this.d2q() : false;
|
|
263
264
|
}
|
|
264
265
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
265
266
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -285,19 +286,19 @@
|
|
|
285
286
|
function d(tag, message, payload, $super) {
|
|
286
287
|
tag = tag === VOID ? null : tag;
|
|
287
288
|
payload = payload === VOID ? null : payload;
|
|
288
|
-
return this.
|
|
289
|
+
return this.u2s(tag, message, payload);
|
|
289
290
|
}
|
|
290
291
|
function e(tag, message, exception, payload, $super) {
|
|
291
292
|
tag = tag === VOID ? null : tag;
|
|
292
293
|
message = message === VOID ? null : message;
|
|
293
294
|
exception = exception === VOID ? null : exception;
|
|
294
295
|
payload = payload === VOID ? null : payload;
|
|
295
|
-
return this.
|
|
296
|
+
return this.v2s(tag, message, exception, payload);
|
|
296
297
|
}
|
|
297
298
|
function w(tag, message, payload, $super) {
|
|
298
299
|
tag = tag === VOID ? null : tag;
|
|
299
300
|
payload = payload === VOID ? null : payload;
|
|
300
|
-
return this.
|
|
301
|
+
return this.w2s(tag, message, payload);
|
|
301
302
|
}
|
|
302
303
|
setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
|
|
303
304
|
setMetadataFor(GameLogger, 'GameLogger', interfaceMeta, VOID, [LoggerOutput]);
|
|
@@ -309,7 +310,7 @@
|
|
|
309
310
|
setMetadataFor(LogType, 'LogType', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_22});
|
|
310
311
|
function observe(types, $super) {
|
|
311
312
|
types = types === VOID ? values_4() : types;
|
|
312
|
-
return this.
|
|
313
|
+
return this.d2t(types);
|
|
313
314
|
}
|
|
314
315
|
setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
315
316
|
setMetadataFor(Companion_22, 'Companion', objectMeta);
|
|
@@ -318,7 +319,7 @@
|
|
|
318
319
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
319
320
|
//endregion
|
|
320
321
|
function GameEngineConfig() {
|
|
321
|
-
this.version = '1.6.
|
|
322
|
+
this.version = '1.6.38';
|
|
322
323
|
}
|
|
323
324
|
protoOf(GameEngineConfig).z2f = function () {
|
|
324
325
|
return this.version;
|
|
@@ -327,6 +328,18 @@
|
|
|
327
328
|
function GameEngineConfig_getInstance() {
|
|
328
329
|
return GameEngineConfig_instance;
|
|
329
330
|
}
|
|
331
|
+
function Toggles() {
|
|
332
|
+
}
|
|
333
|
+
protoOf(Toggles).a2g = function (version) {
|
|
334
|
+
return version > 5;
|
|
335
|
+
};
|
|
336
|
+
protoOf(Toggles).b2g = function () {
|
|
337
|
+
return false;
|
|
338
|
+
};
|
|
339
|
+
var Toggles_instance;
|
|
340
|
+
function Toggles_getInstance() {
|
|
341
|
+
return Toggles_instance;
|
|
342
|
+
}
|
|
330
343
|
function Companion() {
|
|
331
344
|
}
|
|
332
345
|
var Companion_instance;
|
|
@@ -337,10 +350,10 @@
|
|
|
337
350
|
$serializer_instance = this;
|
|
338
351
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
339
352
|
tmp0_serialDesc.k1n('playerId', false);
|
|
340
|
-
this.
|
|
353
|
+
this.c2g_1 = tmp0_serialDesc;
|
|
341
354
|
}
|
|
342
355
|
protoOf($serializer).p1c = function () {
|
|
343
|
-
return this.
|
|
356
|
+
return this.c2g_1;
|
|
344
357
|
};
|
|
345
358
|
protoOf($serializer).z1n = function () {
|
|
346
359
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -349,7 +362,7 @@
|
|
|
349
362
|
return [StringSerializer_getInstance()];
|
|
350
363
|
};
|
|
351
364
|
protoOf($serializer).r1c = function (decoder) {
|
|
352
|
-
var tmp0_desc = this.
|
|
365
|
+
var tmp0_desc = this.c2g_1;
|
|
353
366
|
var tmp1_flag = true;
|
|
354
367
|
var tmp2_index = 0;
|
|
355
368
|
var tmp3_bitMask0 = 0;
|
|
@@ -376,14 +389,14 @@
|
|
|
376
389
|
tmp5_input.y1f(tmp0_desc);
|
|
377
390
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
378
391
|
};
|
|
379
|
-
protoOf($serializer).
|
|
380
|
-
var tmp0_desc = this.
|
|
392
|
+
protoOf($serializer).d2g = function (encoder, value) {
|
|
393
|
+
var tmp0_desc = this.c2g_1;
|
|
381
394
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
382
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
395
|
+
tmp1_output.m1h(tmp0_desc, 0, value.e2g_1);
|
|
383
396
|
tmp1_output.y1f(tmp0_desc);
|
|
384
397
|
};
|
|
385
398
|
protoOf($serializer).q1c = function (encoder, value) {
|
|
386
|
-
return this.
|
|
399
|
+
return this.d2g(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
387
400
|
};
|
|
388
401
|
var $serializer_instance;
|
|
389
402
|
function $serializer_getInstance() {
|
|
@@ -393,10 +406,10 @@
|
|
|
393
406
|
}
|
|
394
407
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
395
408
|
if (!(1 === (1 & seen1))) {
|
|
396
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
409
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().c2g_1);
|
|
397
410
|
}
|
|
398
411
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
399
|
-
$this.
|
|
412
|
+
$this.e2g_1 = playerId;
|
|
400
413
|
return $this;
|
|
401
414
|
}
|
|
402
415
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -404,13 +417,13 @@
|
|
|
404
417
|
}
|
|
405
418
|
function PlayerReturnsReason(playerId) {
|
|
406
419
|
ContinueGameReason.call(this);
|
|
407
|
-
this.
|
|
420
|
+
this.e2g_1 = playerId;
|
|
408
421
|
}
|
|
409
422
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
410
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
423
|
+
return 'PlayerReturnsReason(playerId=' + this.e2g_1 + ')';
|
|
411
424
|
};
|
|
412
425
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
413
|
-
return getStringHashCode(this.
|
|
426
|
+
return getStringHashCode(this.e2g_1);
|
|
414
427
|
};
|
|
415
428
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
416
429
|
if (this === other)
|
|
@@ -418,12 +431,12 @@
|
|
|
418
431
|
if (!(other instanceof PlayerReturnsReason))
|
|
419
432
|
return false;
|
|
420
433
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
421
|
-
if (!(this.
|
|
434
|
+
if (!(this.e2g_1 === tmp0_other_with_cast.e2g_1))
|
|
422
435
|
return false;
|
|
423
436
|
return true;
|
|
424
437
|
};
|
|
425
438
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
426
|
-
return $this.
|
|
439
|
+
return $this.f2g_1.o2();
|
|
427
440
|
}
|
|
428
441
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
429
442
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -445,7 +458,7 @@
|
|
|
445
458
|
Companion_instance_0 = this;
|
|
446
459
|
var tmp = this;
|
|
447
460
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
448
|
-
tmp.
|
|
461
|
+
tmp.f2g_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
449
462
|
}
|
|
450
463
|
protoOf(Companion_0).o1z = function () {
|
|
451
464
|
return _get_$cachedSerializer__te6jhj(this);
|
|
@@ -466,7 +479,7 @@
|
|
|
466
479
|
Companion_getInstance_1();
|
|
467
480
|
}
|
|
468
481
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
469
|
-
return $this.
|
|
482
|
+
return $this.g2g_1.o2();
|
|
470
483
|
}
|
|
471
484
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
472
485
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -480,7 +493,7 @@
|
|
|
480
493
|
RestartGameReason_instance = this;
|
|
481
494
|
var tmp = this;
|
|
482
495
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
483
|
-
tmp.
|
|
496
|
+
tmp.g2g_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
484
497
|
}
|
|
485
498
|
protoOf(RestartGameReason).toString = function () {
|
|
486
499
|
return 'RestartGameReason';
|
|
@@ -498,7 +511,7 @@
|
|
|
498
511
|
return RestartGameReason_instance;
|
|
499
512
|
}
|
|
500
513
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
501
|
-
return $this.
|
|
514
|
+
return $this.h2g_1.o2();
|
|
502
515
|
}
|
|
503
516
|
function TerminationGameReason$Companion$_anonymous__6itbqj() {
|
|
504
517
|
var tmp = getKClass(TerminationGameReason);
|
|
@@ -507,11 +520,11 @@
|
|
|
507
520
|
// Inline function 'kotlin.js.asDynamic' call
|
|
508
521
|
var tmp_0 = [getKClass(GameErrorReason), getKClass(GameFinishedReason), getKClass(PlayerExitReason), getKClass(PlayerLostConnectionReason), getKClass(PlayerTimeoutReason), getKClass(ProcessingReason), getKClass(WaitingForConnectionReason)];
|
|
509
522
|
// Inline function 'kotlin.arrayOf' call
|
|
510
|
-
var tmp_1 = $
|
|
511
|
-
var tmp_2 = $
|
|
523
|
+
var tmp_1 = $serializer_getInstance_4();
|
|
524
|
+
var tmp_2 = $serializer_getInstance_3();
|
|
512
525
|
var tmp_3 = $serializer_getInstance_2();
|
|
513
|
-
var tmp_4 = $
|
|
514
|
-
var tmp_5 = $
|
|
526
|
+
var tmp_4 = $serializer_getInstance_0();
|
|
527
|
+
var tmp_5 = $serializer_getInstance_1();
|
|
515
528
|
var tmp_6 = ProcessingReason_getInstance();
|
|
516
529
|
// Inline function 'kotlin.arrayOf' call
|
|
517
530
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -536,7 +549,7 @@
|
|
|
536
549
|
Companion_instance_1 = this;
|
|
537
550
|
var tmp = this;
|
|
538
551
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
539
|
-
tmp.
|
|
552
|
+
tmp.h2g_1 = lazy(tmp_0, TerminationGameReason$Companion$_anonymous__6itbqj);
|
|
540
553
|
}
|
|
541
554
|
protoOf(Companion_1).o1z = function () {
|
|
542
555
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -558,61 +571,73 @@
|
|
|
558
571
|
}
|
|
559
572
|
function Companion_2() {
|
|
560
573
|
}
|
|
574
|
+
protoOf(Companion_2).o1z = function () {
|
|
575
|
+
return $serializer_getInstance_0();
|
|
576
|
+
};
|
|
561
577
|
var Companion_instance_2;
|
|
562
578
|
function Companion_getInstance_3() {
|
|
563
579
|
return Companion_instance_2;
|
|
564
580
|
}
|
|
565
581
|
function $serializer_0() {
|
|
566
582
|
$serializer_instance_0 = this;
|
|
567
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
568
|
-
tmp0_serialDesc.k1n('
|
|
569
|
-
|
|
583
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
584
|
+
tmp0_serialDesc.k1n('playerId', false);
|
|
585
|
+
tmp0_serialDesc.k1n('tag', false);
|
|
586
|
+
this.i2g_1 = tmp0_serialDesc;
|
|
570
587
|
}
|
|
571
588
|
protoOf($serializer_0).p1c = function () {
|
|
572
|
-
return this.
|
|
589
|
+
return this.i2g_1;
|
|
573
590
|
};
|
|
574
591
|
protoOf($serializer_0).z1n = function () {
|
|
575
592
|
// Inline function 'kotlin.arrayOf' call
|
|
576
593
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
577
594
|
// Inline function 'kotlin.js.asDynamic' call
|
|
578
|
-
return [StringSerializer_getInstance()];
|
|
595
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
579
596
|
};
|
|
580
597
|
protoOf($serializer_0).r1c = function (decoder) {
|
|
581
|
-
var tmp0_desc = this.
|
|
598
|
+
var tmp0_desc = this.i2g_1;
|
|
582
599
|
var tmp1_flag = true;
|
|
583
600
|
var tmp2_index = 0;
|
|
584
601
|
var tmp3_bitMask0 = 0;
|
|
585
602
|
var tmp4_local0 = null;
|
|
586
|
-
var
|
|
587
|
-
|
|
588
|
-
|
|
603
|
+
var tmp5_local1 = null;
|
|
604
|
+
var tmp6_input = decoder.x1f(tmp0_desc);
|
|
605
|
+
if (tmp6_input.n1g()) {
|
|
606
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
589
607
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
608
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
609
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
590
610
|
} else
|
|
591
611
|
while (tmp1_flag) {
|
|
592
|
-
tmp2_index =
|
|
612
|
+
tmp2_index = tmp6_input.o1g(tmp0_desc);
|
|
593
613
|
switch (tmp2_index) {
|
|
594
614
|
case -1:
|
|
595
615
|
tmp1_flag = false;
|
|
596
616
|
break;
|
|
597
617
|
case 0:
|
|
598
|
-
tmp4_local0 =
|
|
618
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
599
619
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
600
620
|
break;
|
|
621
|
+
case 1:
|
|
622
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
623
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
624
|
+
break;
|
|
601
625
|
default:
|
|
602
626
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
603
627
|
}
|
|
604
628
|
}
|
|
605
|
-
|
|
606
|
-
return
|
|
629
|
+
tmp6_input.y1f(tmp0_desc);
|
|
630
|
+
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
607
631
|
};
|
|
608
|
-
protoOf($serializer_0).
|
|
609
|
-
var tmp0_desc = this.
|
|
632
|
+
protoOf($serializer_0).j2g = function (encoder, value) {
|
|
633
|
+
var tmp0_desc = this.i2g_1;
|
|
610
634
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
611
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
635
|
+
tmp1_output.m1h(tmp0_desc, 0, value.k2g_1);
|
|
636
|
+
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
612
637
|
tmp1_output.y1f(tmp0_desc);
|
|
613
638
|
};
|
|
614
639
|
protoOf($serializer_0).q1c = function (encoder, value) {
|
|
615
|
-
return this.
|
|
640
|
+
return this.j2g(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
616
641
|
};
|
|
617
642
|
var $serializer_instance_0;
|
|
618
643
|
function $serializer_getInstance_0() {
|
|
@@ -620,150 +645,135 @@
|
|
|
620
645
|
new $serializer_0();
|
|
621
646
|
return $serializer_instance_0;
|
|
622
647
|
}
|
|
623
|
-
function
|
|
624
|
-
if (!(
|
|
625
|
-
throwMissingFieldException(seen1,
|
|
648
|
+
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
649
|
+
if (!(3 === (3 & seen1))) {
|
|
650
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().i2g_1);
|
|
626
651
|
}
|
|
627
652
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
628
|
-
$this.
|
|
653
|
+
$this.k2g_1 = playerId;
|
|
654
|
+
$this.tag = tag;
|
|
629
655
|
return $this;
|
|
630
656
|
}
|
|
631
|
-
function
|
|
632
|
-
return
|
|
657
|
+
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
658
|
+
return PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, objectCreate(protoOf(PlayerLostConnectionReason)));
|
|
633
659
|
}
|
|
634
|
-
function
|
|
660
|
+
function PlayerLostConnectionReason(playerId, tag) {
|
|
635
661
|
TerminationGameReason.call(this);
|
|
636
|
-
this.
|
|
662
|
+
this.k2g_1 = playerId;
|
|
663
|
+
this.tag = tag;
|
|
637
664
|
}
|
|
638
|
-
protoOf(
|
|
639
|
-
return
|
|
665
|
+
protoOf(PlayerLostConnectionReason).l2g = function () {
|
|
666
|
+
return this.k2g_1;
|
|
640
667
|
};
|
|
641
|
-
protoOf(
|
|
642
|
-
return
|
|
668
|
+
protoOf(PlayerLostConnectionReason).m2g = function () {
|
|
669
|
+
return this.tag;
|
|
643
670
|
};
|
|
644
|
-
protoOf(
|
|
671
|
+
protoOf(PlayerLostConnectionReason).n2g = function () {
|
|
672
|
+
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
673
|
+
};
|
|
674
|
+
protoOf(PlayerLostConnectionReason).oc = function () {
|
|
675
|
+
return this.k2g_1;
|
|
676
|
+
};
|
|
677
|
+
protoOf(PlayerLostConnectionReason).pc = function () {
|
|
678
|
+
return this.tag;
|
|
679
|
+
};
|
|
680
|
+
protoOf(PlayerLostConnectionReason).o2g = function (playerId, tag) {
|
|
681
|
+
return new PlayerLostConnectionReason(playerId, tag);
|
|
682
|
+
};
|
|
683
|
+
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
684
|
+
playerId = playerId === VOID ? this.k2g_1 : playerId;
|
|
685
|
+
tag = tag === VOID ? this.tag : tag;
|
|
686
|
+
return this.o2g(playerId, tag);
|
|
687
|
+
};
|
|
688
|
+
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
689
|
+
return 'PlayerLostConnectionReason(playerId=' + this.k2g_1 + ', tag=' + this.tag + ')';
|
|
690
|
+
};
|
|
691
|
+
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
692
|
+
var result = getStringHashCode(this.k2g_1);
|
|
693
|
+
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
694
|
+
return result;
|
|
695
|
+
};
|
|
696
|
+
protoOf(PlayerLostConnectionReason).equals = function (other) {
|
|
645
697
|
if (this === other)
|
|
646
698
|
return true;
|
|
647
|
-
if (!(other instanceof
|
|
699
|
+
if (!(other instanceof PlayerLostConnectionReason))
|
|
648
700
|
return false;
|
|
649
|
-
var tmp0_other_with_cast = other instanceof
|
|
650
|
-
if (!(this.
|
|
701
|
+
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
702
|
+
if (!(this.k2g_1 === tmp0_other_with_cast.k2g_1))
|
|
703
|
+
return false;
|
|
704
|
+
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
651
705
|
return false;
|
|
652
706
|
return true;
|
|
653
707
|
};
|
|
654
|
-
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
655
|
-
return $this.j2g_1.o2();
|
|
656
|
-
}
|
|
657
|
-
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
658
|
-
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
659
|
-
}
|
|
660
|
-
var Reason_DEPLOY_instance;
|
|
661
|
-
var Reason_PLAYER_DELETED_instance;
|
|
662
|
-
var Reason_NO_ACTIVE_PLAYERS_instance;
|
|
663
|
-
var Reason_GAME_NOT_EXISTS_instance;
|
|
664
708
|
function Companion_3() {
|
|
665
|
-
Companion_instance_3 = this;
|
|
666
|
-
var tmp = this;
|
|
667
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
668
|
-
tmp.j2g_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
669
709
|
}
|
|
670
710
|
protoOf(Companion_3).o1z = function () {
|
|
671
|
-
return
|
|
672
|
-
};
|
|
673
|
-
protoOf(Companion_3).k1o = function (typeParamsSerializers) {
|
|
674
|
-
return this.o1z();
|
|
711
|
+
return $serializer_getInstance_1();
|
|
675
712
|
};
|
|
676
713
|
var Companion_instance_3;
|
|
677
714
|
function Companion_getInstance_4() {
|
|
678
|
-
Reason_initEntries();
|
|
679
|
-
if (Companion_instance_3 == null)
|
|
680
|
-
new Companion_3();
|
|
681
715
|
return Companion_instance_3;
|
|
682
716
|
}
|
|
683
|
-
function values() {
|
|
684
|
-
return [Reason_DEPLOY_getInstance(), Reason_PLAYER_DELETED_getInstance(), Reason_NO_ACTIVE_PLAYERS_getInstance(), Reason_GAME_NOT_EXISTS_getInstance()];
|
|
685
|
-
}
|
|
686
|
-
var Reason_entriesInitialized;
|
|
687
|
-
function Reason_initEntries() {
|
|
688
|
-
if (Reason_entriesInitialized)
|
|
689
|
-
return Unit_instance;
|
|
690
|
-
Reason_entriesInitialized = true;
|
|
691
|
-
Reason_DEPLOY_instance = new Reason('DEPLOY', 0);
|
|
692
|
-
Reason_PLAYER_DELETED_instance = new Reason('PLAYER_DELETED', 1);
|
|
693
|
-
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 2);
|
|
694
|
-
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 3);
|
|
695
|
-
Companion_getInstance_4();
|
|
696
|
-
}
|
|
697
|
-
function Reason(name, ordinal) {
|
|
698
|
-
Enum.call(this, name, ordinal);
|
|
699
|
-
}
|
|
700
|
-
function Companion_4() {
|
|
701
|
-
Companion_instance_4 = this;
|
|
702
|
-
var tmp = this;
|
|
703
|
-
// Inline function 'kotlin.arrayOf' call
|
|
704
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
705
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
706
|
-
tmp.k2g_1 = [Companion_getInstance_4().o1z()];
|
|
707
|
-
}
|
|
708
|
-
var Companion_instance_4;
|
|
709
|
-
function Companion_getInstance_5() {
|
|
710
|
-
if (Companion_instance_4 == null)
|
|
711
|
-
new Companion_4();
|
|
712
|
-
return Companion_instance_4;
|
|
713
|
-
}
|
|
714
717
|
function $serializer_1() {
|
|
715
718
|
$serializer_instance_1 = this;
|
|
716
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
717
|
-
tmp0_serialDesc.k1n('
|
|
718
|
-
|
|
719
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
720
|
+
tmp0_serialDesc.k1n('playerId', false);
|
|
721
|
+
tmp0_serialDesc.k1n('tag', false);
|
|
722
|
+
this.p2g_1 = tmp0_serialDesc;
|
|
719
723
|
}
|
|
720
724
|
protoOf($serializer_1).p1c = function () {
|
|
721
|
-
return this.
|
|
725
|
+
return this.p2g_1;
|
|
722
726
|
};
|
|
723
727
|
protoOf($serializer_1).z1n = function () {
|
|
724
728
|
// Inline function 'kotlin.arrayOf' call
|
|
725
729
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
726
730
|
// Inline function 'kotlin.js.asDynamic' call
|
|
727
|
-
return [
|
|
731
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
728
732
|
};
|
|
729
733
|
protoOf($serializer_1).r1c = function (decoder) {
|
|
730
|
-
var tmp0_desc = this.
|
|
734
|
+
var tmp0_desc = this.p2g_1;
|
|
731
735
|
var tmp1_flag = true;
|
|
732
736
|
var tmp2_index = 0;
|
|
733
737
|
var tmp3_bitMask0 = 0;
|
|
734
738
|
var tmp4_local0 = null;
|
|
735
|
-
var
|
|
736
|
-
var
|
|
737
|
-
if (
|
|
738
|
-
tmp4_local0 =
|
|
739
|
+
var tmp5_local1 = null;
|
|
740
|
+
var tmp6_input = decoder.x1f(tmp0_desc);
|
|
741
|
+
if (tmp6_input.n1g()) {
|
|
742
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
739
743
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
744
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
745
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
740
746
|
} else
|
|
741
747
|
while (tmp1_flag) {
|
|
742
|
-
tmp2_index =
|
|
748
|
+
tmp2_index = tmp6_input.o1g(tmp0_desc);
|
|
743
749
|
switch (tmp2_index) {
|
|
744
750
|
case -1:
|
|
745
751
|
tmp1_flag = false;
|
|
746
752
|
break;
|
|
747
753
|
case 0:
|
|
748
|
-
tmp4_local0 =
|
|
754
|
+
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
749
755
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
750
756
|
break;
|
|
757
|
+
case 1:
|
|
758
|
+
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
759
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
760
|
+
break;
|
|
751
761
|
default:
|
|
752
762
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
753
763
|
}
|
|
754
764
|
}
|
|
755
|
-
|
|
756
|
-
return
|
|
765
|
+
tmp6_input.y1f(tmp0_desc);
|
|
766
|
+
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
757
767
|
};
|
|
758
|
-
protoOf($serializer_1).
|
|
759
|
-
var tmp0_desc = this.
|
|
768
|
+
protoOf($serializer_1).q2g = function (encoder, value) {
|
|
769
|
+
var tmp0_desc = this.p2g_1;
|
|
760
770
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
761
|
-
|
|
762
|
-
tmp1_output.
|
|
771
|
+
tmp1_output.m1h(tmp0_desc, 0, value.r2g_1);
|
|
772
|
+
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
763
773
|
tmp1_output.y1f(tmp0_desc);
|
|
764
774
|
};
|
|
765
775
|
protoOf($serializer_1).q1c = function (encoder, value) {
|
|
766
|
-
return this.
|
|
776
|
+
return this.q2g(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
767
777
|
};
|
|
768
778
|
var $serializer_instance_1;
|
|
769
779
|
function $serializer_getInstance_1() {
|
|
@@ -771,68 +781,83 @@
|
|
|
771
781
|
new $serializer_1();
|
|
772
782
|
return $serializer_instance_1;
|
|
773
783
|
}
|
|
774
|
-
function
|
|
775
|
-
if (!(
|
|
776
|
-
throwMissingFieldException(seen1,
|
|
784
|
+
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
785
|
+
if (!(3 === (3 & seen1))) {
|
|
786
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().p2g_1);
|
|
777
787
|
}
|
|
778
788
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
779
|
-
$this.
|
|
789
|
+
$this.r2g_1 = playerId;
|
|
790
|
+
$this.tag = tag;
|
|
780
791
|
return $this;
|
|
781
792
|
}
|
|
782
|
-
function
|
|
783
|
-
return
|
|
784
|
-
}
|
|
785
|
-
function Reason_DEPLOY_getInstance() {
|
|
786
|
-
Reason_initEntries();
|
|
787
|
-
return Reason_DEPLOY_instance;
|
|
788
|
-
}
|
|
789
|
-
function Reason_PLAYER_DELETED_getInstance() {
|
|
790
|
-
Reason_initEntries();
|
|
791
|
-
return Reason_PLAYER_DELETED_instance;
|
|
792
|
-
}
|
|
793
|
-
function Reason_NO_ACTIVE_PLAYERS_getInstance() {
|
|
794
|
-
Reason_initEntries();
|
|
795
|
-
return Reason_NO_ACTIVE_PLAYERS_instance;
|
|
796
|
-
}
|
|
797
|
-
function Reason_GAME_NOT_EXISTS_getInstance() {
|
|
798
|
-
Reason_initEntries();
|
|
799
|
-
return Reason_GAME_NOT_EXISTS_instance;
|
|
793
|
+
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
794
|
+
return PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, objectCreate(protoOf(PlayerTimeoutReason)));
|
|
800
795
|
}
|
|
801
|
-
function
|
|
802
|
-
Companion_getInstance_5();
|
|
796
|
+
function PlayerTimeoutReason(playerId, tag) {
|
|
803
797
|
TerminationGameReason.call(this);
|
|
804
|
-
this.
|
|
798
|
+
this.r2g_1 = playerId;
|
|
799
|
+
this.tag = tag;
|
|
805
800
|
}
|
|
806
|
-
protoOf(
|
|
807
|
-
return
|
|
801
|
+
protoOf(PlayerTimeoutReason).l2g = function () {
|
|
802
|
+
return this.r2g_1;
|
|
808
803
|
};
|
|
809
|
-
protoOf(
|
|
810
|
-
return this.
|
|
804
|
+
protoOf(PlayerTimeoutReason).m2g = function () {
|
|
805
|
+
return this.tag;
|
|
811
806
|
};
|
|
812
|
-
protoOf(
|
|
807
|
+
protoOf(PlayerTimeoutReason).n2g = function () {
|
|
808
|
+
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
809
|
+
};
|
|
810
|
+
protoOf(PlayerTimeoutReason).oc = function () {
|
|
811
|
+
return this.r2g_1;
|
|
812
|
+
};
|
|
813
|
+
protoOf(PlayerTimeoutReason).pc = function () {
|
|
814
|
+
return this.tag;
|
|
815
|
+
};
|
|
816
|
+
protoOf(PlayerTimeoutReason).o2g = function (playerId, tag) {
|
|
817
|
+
return new PlayerTimeoutReason(playerId, tag);
|
|
818
|
+
};
|
|
819
|
+
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
820
|
+
playerId = playerId === VOID ? this.r2g_1 : playerId;
|
|
821
|
+
tag = tag === VOID ? this.tag : tag;
|
|
822
|
+
return this.o2g(playerId, tag);
|
|
823
|
+
};
|
|
824
|
+
protoOf(PlayerTimeoutReason).toString = function () {
|
|
825
|
+
return 'PlayerTimeoutReason(playerId=' + this.r2g_1 + ', tag=' + this.tag + ')';
|
|
826
|
+
};
|
|
827
|
+
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
828
|
+
var result = getStringHashCode(this.r2g_1);
|
|
829
|
+
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
830
|
+
return result;
|
|
831
|
+
};
|
|
832
|
+
protoOf(PlayerTimeoutReason).equals = function (other) {
|
|
813
833
|
if (this === other)
|
|
814
834
|
return true;
|
|
815
|
-
if (!(other instanceof
|
|
835
|
+
if (!(other instanceof PlayerTimeoutReason))
|
|
816
836
|
return false;
|
|
817
|
-
var tmp0_other_with_cast = other instanceof
|
|
818
|
-
if (!this.
|
|
837
|
+
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
838
|
+
if (!(this.r2g_1 === tmp0_other_with_cast.r2g_1))
|
|
839
|
+
return false;
|
|
840
|
+
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
819
841
|
return false;
|
|
820
842
|
return true;
|
|
821
843
|
};
|
|
822
|
-
function
|
|
844
|
+
function Companion_4() {
|
|
823
845
|
}
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
846
|
+
protoOf(Companion_4).o1z = function () {
|
|
847
|
+
return $serializer_getInstance_2();
|
|
848
|
+
};
|
|
849
|
+
var Companion_instance_4;
|
|
850
|
+
function Companion_getInstance_5() {
|
|
851
|
+
return Companion_instance_4;
|
|
827
852
|
}
|
|
828
853
|
function $serializer_2() {
|
|
829
854
|
$serializer_instance_2 = this;
|
|
830
855
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
831
856
|
tmp0_serialDesc.k1n('playerId', false);
|
|
832
|
-
this.
|
|
857
|
+
this.s2g_1 = tmp0_serialDesc;
|
|
833
858
|
}
|
|
834
859
|
protoOf($serializer_2).p1c = function () {
|
|
835
|
-
return this.
|
|
860
|
+
return this.s2g_1;
|
|
836
861
|
};
|
|
837
862
|
protoOf($serializer_2).z1n = function () {
|
|
838
863
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -841,7 +866,7 @@
|
|
|
841
866
|
return [StringSerializer_getInstance()];
|
|
842
867
|
};
|
|
843
868
|
protoOf($serializer_2).r1c = function (decoder) {
|
|
844
|
-
var tmp0_desc = this.
|
|
869
|
+
var tmp0_desc = this.s2g_1;
|
|
845
870
|
var tmp1_flag = true;
|
|
846
871
|
var tmp2_index = 0;
|
|
847
872
|
var tmp3_bitMask0 = 0;
|
|
@@ -868,14 +893,14 @@
|
|
|
868
893
|
tmp5_input.y1f(tmp0_desc);
|
|
869
894
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
870
895
|
};
|
|
871
|
-
protoOf($serializer_2).
|
|
872
|
-
var tmp0_desc = this.
|
|
896
|
+
protoOf($serializer_2).t2g = function (encoder, value) {
|
|
897
|
+
var tmp0_desc = this.s2g_1;
|
|
873
898
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
874
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
899
|
+
tmp1_output.m1h(tmp0_desc, 0, value.u2g_1);
|
|
875
900
|
tmp1_output.y1f(tmp0_desc);
|
|
876
901
|
};
|
|
877
902
|
protoOf($serializer_2).q1c = function (encoder, value) {
|
|
878
|
-
return this.
|
|
903
|
+
return this.t2g(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
879
904
|
};
|
|
880
905
|
var $serializer_instance_2;
|
|
881
906
|
function $serializer_getInstance_2() {
|
|
@@ -885,10 +910,10 @@
|
|
|
885
910
|
}
|
|
886
911
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
887
912
|
if (!(1 === (1 & seen1))) {
|
|
888
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
913
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().s2g_1);
|
|
889
914
|
}
|
|
890
915
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
891
|
-
$this.
|
|
916
|
+
$this.u2g_1 = playerId;
|
|
892
917
|
return $this;
|
|
893
918
|
}
|
|
894
919
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -896,16 +921,29 @@
|
|
|
896
921
|
}
|
|
897
922
|
function PlayerExitReason(playerId) {
|
|
898
923
|
TerminationGameReason.call(this);
|
|
899
|
-
this.
|
|
924
|
+
this.u2g_1 = playerId;
|
|
900
925
|
}
|
|
901
|
-
protoOf(PlayerExitReason).
|
|
902
|
-
return this.
|
|
926
|
+
protoOf(PlayerExitReason).l2g = function () {
|
|
927
|
+
return this.u2g_1;
|
|
928
|
+
};
|
|
929
|
+
protoOf(PlayerExitReason).n2g = function () {
|
|
930
|
+
return PlayerConnectionState_LEFT_getInstance();
|
|
931
|
+
};
|
|
932
|
+
protoOf(PlayerExitReason).oc = function () {
|
|
933
|
+
return this.u2g_1;
|
|
934
|
+
};
|
|
935
|
+
protoOf(PlayerExitReason).v2g = function (playerId) {
|
|
936
|
+
return new PlayerExitReason(playerId);
|
|
937
|
+
};
|
|
938
|
+
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
939
|
+
playerId = playerId === VOID ? this.u2g_1 : playerId;
|
|
940
|
+
return this.v2g(playerId);
|
|
903
941
|
};
|
|
904
942
|
protoOf(PlayerExitReason).toString = function () {
|
|
905
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
943
|
+
return 'PlayerExitReason(playerId=' + this.u2g_1 + ')';
|
|
906
944
|
};
|
|
907
945
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
908
|
-
return getStringHashCode(this.
|
|
946
|
+
return getStringHashCode(this.u2g_1);
|
|
909
947
|
};
|
|
910
948
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
911
949
|
if (this === other)
|
|
@@ -913,76 +951,142 @@
|
|
|
913
951
|
if (!(other instanceof PlayerExitReason))
|
|
914
952
|
return false;
|
|
915
953
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
916
|
-
if (!(this.
|
|
954
|
+
if (!(this.u2g_1 === tmp0_other_with_cast.u2g_1))
|
|
917
955
|
return false;
|
|
918
956
|
return true;
|
|
919
957
|
};
|
|
958
|
+
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
959
|
+
return $this.w2g_1.o2();
|
|
960
|
+
}
|
|
961
|
+
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
962
|
+
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
963
|
+
}
|
|
964
|
+
var Reason_DEPLOY_instance;
|
|
965
|
+
var Reason_PLAYER_DELETED_instance;
|
|
966
|
+
var Reason_NO_ACTIVE_PLAYERS_instance;
|
|
967
|
+
var Reason_GAME_NOT_EXISTS_instance;
|
|
968
|
+
function Companion_5() {
|
|
969
|
+
Companion_instance_5 = this;
|
|
970
|
+
var tmp = this;
|
|
971
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
972
|
+
tmp.w2g_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
973
|
+
}
|
|
974
|
+
protoOf(Companion_5).o1z = function () {
|
|
975
|
+
return _get_$cachedSerializer__te6jhj_2(this);
|
|
976
|
+
};
|
|
977
|
+
protoOf(Companion_5).k1o = function (typeParamsSerializers) {
|
|
978
|
+
return this.o1z();
|
|
979
|
+
};
|
|
980
|
+
var Companion_instance_5;
|
|
981
|
+
function Companion_getInstance_6() {
|
|
982
|
+
Reason_initEntries();
|
|
983
|
+
if (Companion_instance_5 == null)
|
|
984
|
+
new Companion_5();
|
|
985
|
+
return Companion_instance_5;
|
|
986
|
+
}
|
|
987
|
+
function values() {
|
|
988
|
+
return [Reason_DEPLOY_getInstance(), Reason_PLAYER_DELETED_getInstance(), Reason_NO_ACTIVE_PLAYERS_getInstance(), Reason_GAME_NOT_EXISTS_getInstance()];
|
|
989
|
+
}
|
|
990
|
+
function valueOf(value) {
|
|
991
|
+
switch (value) {
|
|
992
|
+
case 'DEPLOY':
|
|
993
|
+
return Reason_DEPLOY_getInstance();
|
|
994
|
+
case 'PLAYER_DELETED':
|
|
995
|
+
return Reason_PLAYER_DELETED_getInstance();
|
|
996
|
+
case 'NO_ACTIVE_PLAYERS':
|
|
997
|
+
return Reason_NO_ACTIVE_PLAYERS_getInstance();
|
|
998
|
+
case 'GAME_NOT_EXISTS':
|
|
999
|
+
return Reason_GAME_NOT_EXISTS_getInstance();
|
|
1000
|
+
default:
|
|
1001
|
+
Reason_initEntries();
|
|
1002
|
+
THROW_IAE('No enum constant value.');
|
|
1003
|
+
break;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
var Reason_entriesInitialized;
|
|
1007
|
+
function Reason_initEntries() {
|
|
1008
|
+
if (Reason_entriesInitialized)
|
|
1009
|
+
return Unit_instance;
|
|
1010
|
+
Reason_entriesInitialized = true;
|
|
1011
|
+
Reason_DEPLOY_instance = new Reason('DEPLOY', 0);
|
|
1012
|
+
Reason_PLAYER_DELETED_instance = new Reason('PLAYER_DELETED', 1);
|
|
1013
|
+
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 2);
|
|
1014
|
+
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 3);
|
|
1015
|
+
Companion_getInstance_6();
|
|
1016
|
+
}
|
|
1017
|
+
function Reason(name, ordinal) {
|
|
1018
|
+
Enum.call(this, name, ordinal);
|
|
1019
|
+
}
|
|
920
1020
|
function Companion_6() {
|
|
1021
|
+
Companion_instance_6 = this;
|
|
1022
|
+
var tmp = this;
|
|
1023
|
+
// Inline function 'kotlin.arrayOf' call
|
|
1024
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1025
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1026
|
+
tmp.z2g_1 = [Companion_getInstance_6().o1z()];
|
|
921
1027
|
}
|
|
1028
|
+
protoOf(Companion_6).o1z = function () {
|
|
1029
|
+
return $serializer_getInstance_3();
|
|
1030
|
+
};
|
|
922
1031
|
var Companion_instance_6;
|
|
923
1032
|
function Companion_getInstance_7() {
|
|
1033
|
+
if (Companion_instance_6 == null)
|
|
1034
|
+
new Companion_6();
|
|
924
1035
|
return Companion_instance_6;
|
|
925
1036
|
}
|
|
926
1037
|
function $serializer_3() {
|
|
927
1038
|
$serializer_instance_3 = this;
|
|
928
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
929
|
-
tmp0_serialDesc.k1n('
|
|
930
|
-
|
|
931
|
-
this.s2g_1 = tmp0_serialDesc;
|
|
1039
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1040
|
+
tmp0_serialDesc.k1n('reason', false);
|
|
1041
|
+
this.a2h_1 = tmp0_serialDesc;
|
|
932
1042
|
}
|
|
933
1043
|
protoOf($serializer_3).p1c = function () {
|
|
934
|
-
return this.
|
|
1044
|
+
return this.a2h_1;
|
|
935
1045
|
};
|
|
936
1046
|
protoOf($serializer_3).z1n = function () {
|
|
937
1047
|
// Inline function 'kotlin.arrayOf' call
|
|
938
1048
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
939
1049
|
// Inline function 'kotlin.js.asDynamic' call
|
|
940
|
-
return [
|
|
1050
|
+
return [Companion_getInstance_7().z2g_1[0]];
|
|
941
1051
|
};
|
|
942
1052
|
protoOf($serializer_3).r1c = function (decoder) {
|
|
943
|
-
var tmp0_desc = this.
|
|
1053
|
+
var tmp0_desc = this.a2h_1;
|
|
944
1054
|
var tmp1_flag = true;
|
|
945
1055
|
var tmp2_index = 0;
|
|
946
1056
|
var tmp3_bitMask0 = 0;
|
|
947
1057
|
var tmp4_local0 = null;
|
|
948
|
-
var
|
|
949
|
-
var
|
|
950
|
-
if (
|
|
951
|
-
tmp4_local0 =
|
|
1058
|
+
var tmp5_input = decoder.x1f(tmp0_desc);
|
|
1059
|
+
var tmp6_cached = Companion_getInstance_7().z2g_1;
|
|
1060
|
+
if (tmp5_input.n1g()) {
|
|
1061
|
+
tmp4_local0 = tmp5_input.j1g(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
952
1062
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
953
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
954
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
955
1063
|
} else
|
|
956
1064
|
while (tmp1_flag) {
|
|
957
|
-
tmp2_index =
|
|
1065
|
+
tmp2_index = tmp5_input.o1g(tmp0_desc);
|
|
958
1066
|
switch (tmp2_index) {
|
|
959
1067
|
case -1:
|
|
960
1068
|
tmp1_flag = false;
|
|
961
1069
|
break;
|
|
962
1070
|
case 0:
|
|
963
|
-
tmp4_local0 =
|
|
1071
|
+
tmp4_local0 = tmp5_input.j1g(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
964
1072
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
965
1073
|
break;
|
|
966
|
-
case 1:
|
|
967
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
968
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
969
|
-
break;
|
|
970
1074
|
default:
|
|
971
1075
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
972
1076
|
}
|
|
973
1077
|
}
|
|
974
|
-
|
|
975
|
-
return
|
|
1078
|
+
tmp5_input.y1f(tmp0_desc);
|
|
1079
|
+
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
976
1080
|
};
|
|
977
|
-
protoOf($serializer_3).
|
|
978
|
-
var tmp0_desc = this.
|
|
1081
|
+
protoOf($serializer_3).b2h = function (encoder, value) {
|
|
1082
|
+
var tmp0_desc = this.a2h_1;
|
|
979
1083
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
980
|
-
|
|
981
|
-
tmp1_output.
|
|
1084
|
+
var tmp2_cached = Companion_getInstance_7().z2g_1;
|
|
1085
|
+
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
982
1086
|
tmp1_output.y1f(tmp0_desc);
|
|
983
1087
|
};
|
|
984
1088
|
protoOf($serializer_3).q1c = function (encoder, value) {
|
|
985
|
-
return this.
|
|
1089
|
+
return this.b2h(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
986
1090
|
};
|
|
987
1091
|
var $serializer_instance_3;
|
|
988
1092
|
function $serializer_getInstance_3() {
|
|
@@ -990,112 +1094,127 @@
|
|
|
990
1094
|
new $serializer_3();
|
|
991
1095
|
return $serializer_instance_3;
|
|
992
1096
|
}
|
|
993
|
-
function
|
|
994
|
-
if (!(
|
|
995
|
-
throwMissingFieldException(seen1,
|
|
1097
|
+
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1098
|
+
if (!(1 === (1 & seen1))) {
|
|
1099
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().a2h_1);
|
|
996
1100
|
}
|
|
997
1101
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
998
|
-
$this.
|
|
999
|
-
$this.v2g_1 = tag;
|
|
1102
|
+
$this.reason = reason;
|
|
1000
1103
|
return $this;
|
|
1001
1104
|
}
|
|
1002
|
-
function
|
|
1003
|
-
return
|
|
1105
|
+
function GameFinishedReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
1106
|
+
return GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, objectCreate(protoOf(GameFinishedReason)));
|
|
1004
1107
|
}
|
|
1005
|
-
function
|
|
1108
|
+
function Reason_DEPLOY_getInstance() {
|
|
1109
|
+
Reason_initEntries();
|
|
1110
|
+
return Reason_DEPLOY_instance;
|
|
1111
|
+
}
|
|
1112
|
+
function Reason_PLAYER_DELETED_getInstance() {
|
|
1113
|
+
Reason_initEntries();
|
|
1114
|
+
return Reason_PLAYER_DELETED_instance;
|
|
1115
|
+
}
|
|
1116
|
+
function Reason_NO_ACTIVE_PLAYERS_getInstance() {
|
|
1117
|
+
Reason_initEntries();
|
|
1118
|
+
return Reason_NO_ACTIVE_PLAYERS_instance;
|
|
1119
|
+
}
|
|
1120
|
+
function Reason_GAME_NOT_EXISTS_getInstance() {
|
|
1121
|
+
Reason_initEntries();
|
|
1122
|
+
return Reason_GAME_NOT_EXISTS_instance;
|
|
1123
|
+
}
|
|
1124
|
+
function GameFinishedReason(reason) {
|
|
1125
|
+
Companion_getInstance_7();
|
|
1006
1126
|
TerminationGameReason.call(this);
|
|
1007
|
-
this.
|
|
1008
|
-
this.v2g_1 = tag;
|
|
1127
|
+
this.reason = reason;
|
|
1009
1128
|
}
|
|
1010
|
-
protoOf(
|
|
1011
|
-
return this.
|
|
1129
|
+
protoOf(GameFinishedReason).c2h = function () {
|
|
1130
|
+
return this.reason;
|
|
1012
1131
|
};
|
|
1013
|
-
protoOf(
|
|
1014
|
-
return
|
|
1132
|
+
protoOf(GameFinishedReason).oc = function () {
|
|
1133
|
+
return this.reason;
|
|
1015
1134
|
};
|
|
1016
|
-
protoOf(
|
|
1017
|
-
|
|
1018
|
-
result = imul(result, 31) + (this.v2g_1 == null ? 0 : getStringHashCode(this.v2g_1)) | 0;
|
|
1019
|
-
return result;
|
|
1135
|
+
protoOf(GameFinishedReason).d2h = function (reason) {
|
|
1136
|
+
return new GameFinishedReason(reason);
|
|
1020
1137
|
};
|
|
1021
|
-
protoOf(
|
|
1138
|
+
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
1139
|
+
reason = reason === VOID ? this.reason : reason;
|
|
1140
|
+
return this.d2h(reason);
|
|
1141
|
+
};
|
|
1142
|
+
protoOf(GameFinishedReason).toString = function () {
|
|
1143
|
+
return 'GameFinishedReason(reason=' + this.reason + ')';
|
|
1144
|
+
};
|
|
1145
|
+
protoOf(GameFinishedReason).hashCode = function () {
|
|
1146
|
+
return this.reason.hashCode();
|
|
1147
|
+
};
|
|
1148
|
+
protoOf(GameFinishedReason).equals = function (other) {
|
|
1022
1149
|
if (this === other)
|
|
1023
1150
|
return true;
|
|
1024
|
-
if (!(other instanceof
|
|
1025
|
-
return false;
|
|
1026
|
-
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
1027
|
-
if (!(this.u2g_1 === tmp0_other_with_cast.u2g_1))
|
|
1151
|
+
if (!(other instanceof GameFinishedReason))
|
|
1028
1152
|
return false;
|
|
1029
|
-
|
|
1153
|
+
var tmp0_other_with_cast = other instanceof GameFinishedReason ? other : THROW_CCE();
|
|
1154
|
+
if (!this.reason.equals(tmp0_other_with_cast.reason))
|
|
1030
1155
|
return false;
|
|
1031
1156
|
return true;
|
|
1032
1157
|
};
|
|
1033
1158
|
function Companion_7() {
|
|
1034
1159
|
}
|
|
1160
|
+
protoOf(Companion_7).o1z = function () {
|
|
1161
|
+
return $serializer_getInstance_4();
|
|
1162
|
+
};
|
|
1035
1163
|
var Companion_instance_7;
|
|
1036
1164
|
function Companion_getInstance_8() {
|
|
1037
1165
|
return Companion_instance_7;
|
|
1038
1166
|
}
|
|
1039
1167
|
function $serializer_4() {
|
|
1040
1168
|
$serializer_instance_4 = this;
|
|
1041
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('
|
|
1042
|
-
tmp0_serialDesc.k1n('
|
|
1043
|
-
|
|
1044
|
-
this.w2g_1 = tmp0_serialDesc;
|
|
1169
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1170
|
+
tmp0_serialDesc.k1n('reason', false);
|
|
1171
|
+
this.e2h_1 = tmp0_serialDesc;
|
|
1045
1172
|
}
|
|
1046
1173
|
protoOf($serializer_4).p1c = function () {
|
|
1047
|
-
return this.
|
|
1174
|
+
return this.e2h_1;
|
|
1048
1175
|
};
|
|
1049
1176
|
protoOf($serializer_4).z1n = function () {
|
|
1050
1177
|
// Inline function 'kotlin.arrayOf' call
|
|
1051
1178
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1052
1179
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1053
|
-
return [StringSerializer_getInstance()
|
|
1180
|
+
return [StringSerializer_getInstance()];
|
|
1054
1181
|
};
|
|
1055
1182
|
protoOf($serializer_4).r1c = function (decoder) {
|
|
1056
|
-
var tmp0_desc = this.
|
|
1183
|
+
var tmp0_desc = this.e2h_1;
|
|
1057
1184
|
var tmp1_flag = true;
|
|
1058
1185
|
var tmp2_index = 0;
|
|
1059
1186
|
var tmp3_bitMask0 = 0;
|
|
1060
1187
|
var tmp4_local0 = null;
|
|
1061
|
-
var
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
tmp4_local0 = tmp6_input.h1g(tmp0_desc, 0);
|
|
1188
|
+
var tmp5_input = decoder.x1f(tmp0_desc);
|
|
1189
|
+
if (tmp5_input.n1g()) {
|
|
1190
|
+
tmp4_local0 = tmp5_input.h1g(tmp0_desc, 0);
|
|
1065
1191
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1066
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1067
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1068
1192
|
} else
|
|
1069
1193
|
while (tmp1_flag) {
|
|
1070
|
-
tmp2_index =
|
|
1194
|
+
tmp2_index = tmp5_input.o1g(tmp0_desc);
|
|
1071
1195
|
switch (tmp2_index) {
|
|
1072
1196
|
case -1:
|
|
1073
1197
|
tmp1_flag = false;
|
|
1074
1198
|
break;
|
|
1075
1199
|
case 0:
|
|
1076
|
-
tmp4_local0 =
|
|
1200
|
+
tmp4_local0 = tmp5_input.h1g(tmp0_desc, 0);
|
|
1077
1201
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1078
1202
|
break;
|
|
1079
|
-
case 1:
|
|
1080
|
-
tmp5_local1 = tmp6_input.l1g(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1081
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1082
|
-
break;
|
|
1083
1203
|
default:
|
|
1084
1204
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1085
1205
|
}
|
|
1086
1206
|
}
|
|
1087
|
-
|
|
1088
|
-
return
|
|
1207
|
+
tmp5_input.y1f(tmp0_desc);
|
|
1208
|
+
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1089
1209
|
};
|
|
1090
|
-
protoOf($serializer_4).
|
|
1091
|
-
var tmp0_desc = this.
|
|
1210
|
+
protoOf($serializer_4).f2h = function (encoder, value) {
|
|
1211
|
+
var tmp0_desc = this.e2h_1;
|
|
1092
1212
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
1093
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
1094
|
-
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.z2g_1);
|
|
1213
|
+
tmp1_output.m1h(tmp0_desc, 0, value.reason);
|
|
1095
1214
|
tmp1_output.y1f(tmp0_desc);
|
|
1096
1215
|
};
|
|
1097
1216
|
protoOf($serializer_4).q1c = function (encoder, value) {
|
|
1098
|
-
return this.
|
|
1217
|
+
return this.f2h(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1099
1218
|
};
|
|
1100
1219
|
var $serializer_instance_4;
|
|
1101
1220
|
function $serializer_getInstance_4() {
|
|
@@ -1103,111 +1222,115 @@
|
|
|
1103
1222
|
new $serializer_4();
|
|
1104
1223
|
return $serializer_instance_4;
|
|
1105
1224
|
}
|
|
1106
|
-
function
|
|
1107
|
-
if (!(
|
|
1108
|
-
throwMissingFieldException(seen1,
|
|
1225
|
+
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1226
|
+
if (!(1 === (1 & seen1))) {
|
|
1227
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().e2h_1);
|
|
1109
1228
|
}
|
|
1110
1229
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1111
|
-
$this.
|
|
1112
|
-
$this.z2g_1 = tag;
|
|
1230
|
+
$this.reason = reason;
|
|
1113
1231
|
return $this;
|
|
1114
1232
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return
|
|
1233
|
+
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
1234
|
+
return GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, objectCreate(protoOf(GameErrorReason)));
|
|
1117
1235
|
}
|
|
1118
|
-
function
|
|
1236
|
+
function GameErrorReason(reason) {
|
|
1119
1237
|
TerminationGameReason.call(this);
|
|
1120
|
-
this.
|
|
1121
|
-
this.z2g_1 = tag;
|
|
1238
|
+
this.reason = reason;
|
|
1122
1239
|
}
|
|
1123
|
-
protoOf(
|
|
1124
|
-
return this.
|
|
1240
|
+
protoOf(GameErrorReason).c2h = function () {
|
|
1241
|
+
return this.reason;
|
|
1242
|
+
};
|
|
1243
|
+
protoOf(GameErrorReason).oc = function () {
|
|
1244
|
+
return this.reason;
|
|
1245
|
+
};
|
|
1246
|
+
protoOf(GameErrorReason).v2g = function (reason) {
|
|
1247
|
+
return new GameErrorReason(reason);
|
|
1125
1248
|
};
|
|
1126
|
-
protoOf(
|
|
1127
|
-
|
|
1249
|
+
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1250
|
+
reason = reason === VOID ? this.reason : reason;
|
|
1251
|
+
return this.v2g(reason);
|
|
1128
1252
|
};
|
|
1129
|
-
protoOf(
|
|
1130
|
-
|
|
1131
|
-
result = imul(result, 31) + (this.z2g_1 == null ? 0 : getStringHashCode(this.z2g_1)) | 0;
|
|
1132
|
-
return result;
|
|
1253
|
+
protoOf(GameErrorReason).toString = function () {
|
|
1254
|
+
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
1133
1255
|
};
|
|
1134
|
-
protoOf(
|
|
1256
|
+
protoOf(GameErrorReason).hashCode = function () {
|
|
1257
|
+
return getStringHashCode(this.reason);
|
|
1258
|
+
};
|
|
1259
|
+
protoOf(GameErrorReason).equals = function (other) {
|
|
1135
1260
|
if (this === other)
|
|
1136
1261
|
return true;
|
|
1137
|
-
if (!(other instanceof
|
|
1138
|
-
return false;
|
|
1139
|
-
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1140
|
-
if (!(this.y2g_1 === tmp0_other_with_cast.y2g_1))
|
|
1262
|
+
if (!(other instanceof GameErrorReason))
|
|
1141
1263
|
return false;
|
|
1142
|
-
|
|
1264
|
+
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
1265
|
+
if (!(this.reason === tmp0_other_with_cast.reason))
|
|
1143
1266
|
return false;
|
|
1144
1267
|
return true;
|
|
1145
1268
|
};
|
|
1146
1269
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1147
|
-
return $this.
|
|
1270
|
+
return $this.g2h_1.o2();
|
|
1148
1271
|
}
|
|
1149
|
-
function
|
|
1150
|
-
var tmp =
|
|
1272
|
+
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1273
|
+
var tmp = WaitingForConnectionReason_getInstance();
|
|
1151
1274
|
// Inline function 'kotlin.arrayOf' call
|
|
1152
1275
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1153
1276
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1154
1277
|
var tmp$ret$2 = [];
|
|
1155
|
-
return ObjectSerializer_init_$Create$('
|
|
1278
|
+
return ObjectSerializer_init_$Create$('WAITING_FOR_CONNECTION_TYPE', tmp, tmp$ret$2);
|
|
1156
1279
|
}
|
|
1157
|
-
function
|
|
1158
|
-
|
|
1280
|
+
function WaitingForConnectionReason() {
|
|
1281
|
+
WaitingForConnectionReason_instance = this;
|
|
1159
1282
|
TerminationGameReason.call(this);
|
|
1160
1283
|
var tmp = this;
|
|
1161
1284
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1162
|
-
tmp.
|
|
1285
|
+
tmp.g2h_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1163
1286
|
}
|
|
1164
|
-
protoOf(
|
|
1165
|
-
return '
|
|
1287
|
+
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1288
|
+
return 'WaitingForConnectionReason';
|
|
1166
1289
|
};
|
|
1167
|
-
protoOf(
|
|
1290
|
+
protoOf(WaitingForConnectionReason).o1z = function () {
|
|
1168
1291
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1169
1292
|
};
|
|
1170
|
-
protoOf(
|
|
1293
|
+
protoOf(WaitingForConnectionReason).k1o = function (typeParamsSerializers) {
|
|
1171
1294
|
return this.o1z();
|
|
1172
1295
|
};
|
|
1173
|
-
var
|
|
1174
|
-
function
|
|
1175
|
-
if (
|
|
1176
|
-
new
|
|
1177
|
-
return
|
|
1296
|
+
var WaitingForConnectionReason_instance;
|
|
1297
|
+
function WaitingForConnectionReason_getInstance() {
|
|
1298
|
+
if (WaitingForConnectionReason_instance == null)
|
|
1299
|
+
new WaitingForConnectionReason();
|
|
1300
|
+
return WaitingForConnectionReason_instance;
|
|
1178
1301
|
}
|
|
1179
1302
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1180
|
-
return $this.
|
|
1303
|
+
return $this.h2h_1.o2();
|
|
1181
1304
|
}
|
|
1182
|
-
function
|
|
1183
|
-
var tmp =
|
|
1305
|
+
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1306
|
+
var tmp = ProcessingReason_getInstance();
|
|
1184
1307
|
// Inline function 'kotlin.arrayOf' call
|
|
1185
1308
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1186
1309
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1187
1310
|
var tmp$ret$2 = [];
|
|
1188
|
-
return ObjectSerializer_init_$Create$('
|
|
1311
|
+
return ObjectSerializer_init_$Create$('PROCESSING_TYPE', tmp, tmp$ret$2);
|
|
1189
1312
|
}
|
|
1190
|
-
function
|
|
1191
|
-
|
|
1313
|
+
function ProcessingReason() {
|
|
1314
|
+
ProcessingReason_instance = this;
|
|
1192
1315
|
TerminationGameReason.call(this);
|
|
1193
1316
|
var tmp = this;
|
|
1194
1317
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1195
|
-
tmp.
|
|
1318
|
+
tmp.h2h_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1196
1319
|
}
|
|
1197
|
-
protoOf(
|
|
1198
|
-
return '
|
|
1320
|
+
protoOf(ProcessingReason).toString = function () {
|
|
1321
|
+
return 'ProcessingReason';
|
|
1199
1322
|
};
|
|
1200
|
-
protoOf(
|
|
1323
|
+
protoOf(ProcessingReason).o1z = function () {
|
|
1201
1324
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1202
1325
|
};
|
|
1203
|
-
protoOf(
|
|
1326
|
+
protoOf(ProcessingReason).k1o = function (typeParamsSerializers) {
|
|
1204
1327
|
return this.o1z();
|
|
1205
1328
|
};
|
|
1206
|
-
var
|
|
1207
|
-
function
|
|
1208
|
-
if (
|
|
1209
|
-
new
|
|
1210
|
-
return
|
|
1329
|
+
var ProcessingReason_instance;
|
|
1330
|
+
function ProcessingReason_getInstance() {
|
|
1331
|
+
if (ProcessingReason_instance == null)
|
|
1332
|
+
new ProcessingReason();
|
|
1333
|
+
return ProcessingReason_instance;
|
|
1211
1334
|
}
|
|
1212
1335
|
function FinishPlayerReason() {
|
|
1213
1336
|
}
|
|
@@ -1220,33 +1343,33 @@
|
|
|
1220
1343
|
isBot = isBot === VOID ? false : isBot;
|
|
1221
1344
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1222
1345
|
payload = payload === VOID ? null : payload;
|
|
1223
|
-
this.
|
|
1346
|
+
this.i2h_1 = playerId;
|
|
1224
1347
|
this.name = name;
|
|
1225
1348
|
this.avatarUrl = avatarUrl;
|
|
1226
1349
|
this.isBot = isBot;
|
|
1227
1350
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1228
1351
|
this.payload = payload;
|
|
1229
1352
|
}
|
|
1230
|
-
protoOf(GameUserInfo).
|
|
1231
|
-
return this.
|
|
1353
|
+
protoOf(GameUserInfo).l2g = function () {
|
|
1354
|
+
return this.i2h_1;
|
|
1232
1355
|
};
|
|
1233
1356
|
protoOf(GameUserInfo).z8 = function () {
|
|
1234
1357
|
return this.name;
|
|
1235
1358
|
};
|
|
1236
|
-
protoOf(GameUserInfo).
|
|
1359
|
+
protoOf(GameUserInfo).j2h = function () {
|
|
1237
1360
|
return this.avatarUrl;
|
|
1238
1361
|
};
|
|
1239
|
-
protoOf(GameUserInfo).
|
|
1362
|
+
protoOf(GameUserInfo).k2h = function () {
|
|
1240
1363
|
return this.isBot;
|
|
1241
1364
|
};
|
|
1242
|
-
protoOf(GameUserInfo).
|
|
1365
|
+
protoOf(GameUserInfo).l2h = function () {
|
|
1243
1366
|
return this.initialLuckyFactor;
|
|
1244
1367
|
};
|
|
1245
|
-
protoOf(GameUserInfo).
|
|
1368
|
+
protoOf(GameUserInfo).m2h = function () {
|
|
1246
1369
|
return this.payload;
|
|
1247
1370
|
};
|
|
1248
1371
|
protoOf(GameUserInfo).oc = function () {
|
|
1249
|
-
return this.
|
|
1372
|
+
return this.i2h_1;
|
|
1250
1373
|
};
|
|
1251
1374
|
protoOf(GameUserInfo).pc = function () {
|
|
1252
1375
|
return this.name;
|
|
@@ -1254,32 +1377,32 @@
|
|
|
1254
1377
|
protoOf(GameUserInfo).qg = function () {
|
|
1255
1378
|
return this.avatarUrl;
|
|
1256
1379
|
};
|
|
1257
|
-
protoOf(GameUserInfo).
|
|
1380
|
+
protoOf(GameUserInfo).n2h = function () {
|
|
1258
1381
|
return this.isBot;
|
|
1259
1382
|
};
|
|
1260
|
-
protoOf(GameUserInfo).
|
|
1383
|
+
protoOf(GameUserInfo).o2h = function () {
|
|
1261
1384
|
return this.initialLuckyFactor;
|
|
1262
1385
|
};
|
|
1263
|
-
protoOf(GameUserInfo).
|
|
1386
|
+
protoOf(GameUserInfo).p2h = function () {
|
|
1264
1387
|
return this.payload;
|
|
1265
1388
|
};
|
|
1266
|
-
protoOf(GameUserInfo).
|
|
1389
|
+
protoOf(GameUserInfo).q2h = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1267
1390
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1268
1391
|
};
|
|
1269
1392
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1270
|
-
playerId = playerId === VOID ? this.
|
|
1393
|
+
playerId = playerId === VOID ? this.i2h_1 : playerId;
|
|
1271
1394
|
name = name === VOID ? this.name : name;
|
|
1272
1395
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1273
1396
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1274
1397
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1275
1398
|
payload = payload === VOID ? this.payload : payload;
|
|
1276
|
-
return this.
|
|
1399
|
+
return this.q2h(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1277
1400
|
};
|
|
1278
1401
|
protoOf(GameUserInfo).toString = function () {
|
|
1279
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1402
|
+
return 'GameUserInfo(playerId=' + this.i2h_1 + ', name=' + this.name + ', avatarUrl=' + this.avatarUrl + ', isBot=' + this.isBot + ', initialLuckyFactor=' + this.initialLuckyFactor + ', payload=' + toString(this.payload) + ')';
|
|
1280
1403
|
};
|
|
1281
1404
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1282
|
-
var result = getStringHashCode(this.
|
|
1405
|
+
var result = getStringHashCode(this.i2h_1);
|
|
1283
1406
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1284
1407
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1285
1408
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1293,7 +1416,7 @@
|
|
|
1293
1416
|
if (!(other instanceof GameUserInfo))
|
|
1294
1417
|
return false;
|
|
1295
1418
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1296
|
-
if (!(this.
|
|
1419
|
+
if (!(this.i2h_1 === tmp0_other_with_cast.i2h_1))
|
|
1297
1420
|
return false;
|
|
1298
1421
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1299
1422
|
return false;
|
|
@@ -1373,18 +1496,18 @@
|
|
|
1373
1496
|
return destination;
|
|
1374
1497
|
}
|
|
1375
1498
|
function PlayerIndex(playerId, index) {
|
|
1376
|
-
this.
|
|
1377
|
-
this.
|
|
1499
|
+
this.t2h_1 = playerId;
|
|
1500
|
+
this.u2h_1 = index;
|
|
1378
1501
|
}
|
|
1379
|
-
protoOf(PlayerIndex).
|
|
1380
|
-
return this.
|
|
1502
|
+
protoOf(PlayerIndex).l2g = function () {
|
|
1503
|
+
return this.t2h_1;
|
|
1381
1504
|
};
|
|
1382
1505
|
protoOf(PlayerIndex).toString = function () {
|
|
1383
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1506
|
+
return 'PlayerIndex(playerId=' + this.t2h_1 + ', index=' + this.u2h_1 + ')';
|
|
1384
1507
|
};
|
|
1385
1508
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1386
|
-
var result = getStringHashCode(this.
|
|
1387
|
-
result = imul(result, 31) + this.
|
|
1509
|
+
var result = getStringHashCode(this.t2h_1);
|
|
1510
|
+
result = imul(result, 31) + this.u2h_1 | 0;
|
|
1388
1511
|
return result;
|
|
1389
1512
|
};
|
|
1390
1513
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1393,9 +1516,9 @@
|
|
|
1393
1516
|
if (!(other instanceof PlayerIndex))
|
|
1394
1517
|
return false;
|
|
1395
1518
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1396
|
-
if (!(this.
|
|
1519
|
+
if (!(this.t2h_1 === tmp0_other_with_cast.t2h_1))
|
|
1397
1520
|
return false;
|
|
1398
|
-
if (!(this.
|
|
1521
|
+
if (!(this.u2h_1 === tmp0_other_with_cast.u2h_1))
|
|
1399
1522
|
return false;
|
|
1400
1523
|
return true;
|
|
1401
1524
|
};
|
|
@@ -1419,16 +1542,16 @@
|
|
|
1419
1542
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1420
1543
|
}
|
|
1421
1544
|
function PlayerIdContractOrderComparator(players) {
|
|
1422
|
-
this.
|
|
1545
|
+
this.v2h_1 = players;
|
|
1423
1546
|
}
|
|
1424
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1425
|
-
var indexA = this.
|
|
1426
|
-
var indexB = this.
|
|
1547
|
+
protoOf(PlayerIdContractOrderComparator).w2h = function (a, b) {
|
|
1548
|
+
var indexA = this.v2h_1.y1(a.playerId);
|
|
1549
|
+
var indexB = this.v2h_1.y1(b.playerId);
|
|
1427
1550
|
return compareTo(indexA, indexB);
|
|
1428
1551
|
};
|
|
1429
1552
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1430
1553
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1431
|
-
return this.
|
|
1554
|
+
return this.w2h(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1432
1555
|
};
|
|
1433
1556
|
function byIdPlayerPredicate$lambda(id) {
|
|
1434
1557
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1441,7 +1564,7 @@
|
|
|
1441
1564
|
}
|
|
1442
1565
|
function playerTurnPredicate$lambda(p1) {
|
|
1443
1566
|
_init_properties_Player_kt__qi83pd();
|
|
1444
|
-
return p1.xj().
|
|
1567
|
+
return p1.xj().e2i();
|
|
1445
1568
|
}
|
|
1446
1569
|
var properties_initialized_Player_kt_56shkt;
|
|
1447
1570
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1452,14 +1575,14 @@
|
|
|
1452
1575
|
}
|
|
1453
1576
|
}
|
|
1454
1577
|
function Companion_8() {
|
|
1455
|
-
this.
|
|
1578
|
+
this.f2i_1 = 75;
|
|
1456
1579
|
}
|
|
1457
|
-
protoOf(Companion_8).
|
|
1458
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1580
|
+
protoOf(Companion_8).g2i = function (_this__u8e3s4) {
|
|
1581
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.l2i(PlayerConnectionState_LIVE_getInstance(), System_instance.e2f(), Duration__plus_impl_yu9v8f(_this__u8e3s4.j2i_1, _this__u8e3s4.k2i()));
|
|
1459
1582
|
return tmp1_elvis_lhs == null ? new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.e2f()) : tmp1_elvis_lhs;
|
|
1460
1583
|
};
|
|
1461
|
-
protoOf(Companion_8).
|
|
1462
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1584
|
+
protoOf(Companion_8).m2i = function (_this__u8e3s4, state) {
|
|
1585
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.n2i(state, System_instance.e2f());
|
|
1463
1586
|
return tmp1_elvis_lhs == null ? new PlayerConnection(state, System_instance.e2f()) : tmp1_elvis_lhs;
|
|
1464
1587
|
};
|
|
1465
1588
|
var Companion_instance_8;
|
|
@@ -1469,54 +1592,54 @@
|
|
|
1469
1592
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1470
1593
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.e2f() : connectionChangedTime;
|
|
1471
1594
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().tf_1 : notLiveDurationRecord;
|
|
1472
|
-
this.
|
|
1473
|
-
this.
|
|
1474
|
-
this.
|
|
1595
|
+
this.h2i_1 = state;
|
|
1596
|
+
this.i2i_1 = connectionChangedTime;
|
|
1597
|
+
this.j2i_1 = notLiveDurationRecord;
|
|
1475
1598
|
}
|
|
1476
|
-
protoOf(PlayerConnection).
|
|
1477
|
-
return System_instance.e2f().u2f(this.
|
|
1599
|
+
protoOf(PlayerConnection).k2i = function () {
|
|
1600
|
+
return System_instance.e2f().u2f(this.i2i_1);
|
|
1478
1601
|
};
|
|
1479
|
-
protoOf(PlayerConnection).
|
|
1602
|
+
protoOf(PlayerConnection).o2i = function () {
|
|
1480
1603
|
var tmp;
|
|
1481
|
-
if (this.
|
|
1482
|
-
tmp = this.
|
|
1604
|
+
if (this.h2i_1.isLive) {
|
|
1605
|
+
tmp = this.j2i_1;
|
|
1483
1606
|
} else {
|
|
1484
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1607
|
+
tmp = Duration__plus_impl_yu9v8f(this.j2i_1, this.k2i());
|
|
1485
1608
|
}
|
|
1486
1609
|
return tmp;
|
|
1487
1610
|
};
|
|
1488
|
-
protoOf(PlayerConnection).
|
|
1611
|
+
protoOf(PlayerConnection).p2i = function (gameDuration) {
|
|
1489
1612
|
// Inline function 'kotlin.Long.div' call
|
|
1490
1613
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).x9() / 100.0;
|
|
1491
1614
|
// Inline function 'kotlin.math.round' call
|
|
1492
1615
|
// Inline function 'kotlin.Long.div' call
|
|
1493
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1616
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.o2i()).x9() / percent;
|
|
1494
1617
|
var tmp$ret$2 = round(x);
|
|
1495
1618
|
return numberToInt(tmp$ret$2);
|
|
1496
1619
|
};
|
|
1497
|
-
protoOf(PlayerConnection).
|
|
1498
|
-
return 100 - this.
|
|
1620
|
+
protoOf(PlayerConnection).q2i = function (gameDuration) {
|
|
1621
|
+
return 100 - this.p2i(gameDuration) | 0;
|
|
1499
1622
|
};
|
|
1500
|
-
protoOf(PlayerConnection).
|
|
1501
|
-
var percentage = this.
|
|
1623
|
+
protoOf(PlayerConnection).r2i = function (gameDuration) {
|
|
1624
|
+
var percentage = this.q2i(gameDuration);
|
|
1502
1625
|
return percentage >= 75;
|
|
1503
1626
|
};
|
|
1504
|
-
protoOf(PlayerConnection).
|
|
1627
|
+
protoOf(PlayerConnection).l2i = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1505
1628
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1506
1629
|
};
|
|
1507
|
-
protoOf(PlayerConnection).
|
|
1508
|
-
state = state === VOID ? this.
|
|
1509
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1510
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1511
|
-
return $super === VOID ? this.
|
|
1630
|
+
protoOf(PlayerConnection).n2i = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1631
|
+
state = state === VOID ? this.h2i_1 : state;
|
|
1632
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.i2i_1 : connectionChangedTime;
|
|
1633
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.j2i_1 : notLiveDurationRecord;
|
|
1634
|
+
return $super === VOID ? this.l2i(state, connectionChangedTime, notLiveDurationRecord) : $super.l2i.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1512
1635
|
};
|
|
1513
1636
|
protoOf(PlayerConnection).toString = function () {
|
|
1514
|
-
return 'PlayerConnection(state=' + this.
|
|
1637
|
+
return 'PlayerConnection(state=' + this.h2i_1 + ', connectionChangedTime=' + this.i2i_1 + ', notLiveDurationRecord=' + new Duration(this.j2i_1) + ')';
|
|
1515
1638
|
};
|
|
1516
1639
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1517
|
-
var result = this.
|
|
1518
|
-
result = imul(result, 31) + this.
|
|
1519
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1640
|
+
var result = this.h2i_1.hashCode();
|
|
1641
|
+
result = imul(result, 31) + this.i2i_1.hashCode() | 0;
|
|
1642
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.j2i_1) | 0;
|
|
1520
1643
|
return result;
|
|
1521
1644
|
};
|
|
1522
1645
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1525,16 +1648,16 @@
|
|
|
1525
1648
|
if (!(other instanceof PlayerConnection))
|
|
1526
1649
|
return false;
|
|
1527
1650
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1528
|
-
if (!this.
|
|
1651
|
+
if (!this.h2i_1.equals(tmp0_other_with_cast.h2i_1))
|
|
1529
1652
|
return false;
|
|
1530
|
-
if (!this.
|
|
1653
|
+
if (!this.i2i_1.equals(tmp0_other_with_cast.i2i_1))
|
|
1531
1654
|
return false;
|
|
1532
|
-
if (!equals(this.
|
|
1655
|
+
if (!equals(this.j2i_1, tmp0_other_with_cast.j2i_1))
|
|
1533
1656
|
return false;
|
|
1534
1657
|
return true;
|
|
1535
1658
|
};
|
|
1536
1659
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1537
|
-
return $this.
|
|
1660
|
+
return $this.s2i_1.o2();
|
|
1538
1661
|
}
|
|
1539
1662
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1540
1663
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1549,7 +1672,7 @@
|
|
|
1549
1672
|
Companion_instance_9 = this;
|
|
1550
1673
|
var tmp = this;
|
|
1551
1674
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1552
|
-
tmp.
|
|
1675
|
+
tmp.s2i_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1553
1676
|
}
|
|
1554
1677
|
protoOf(Companion_9).o1z = function () {
|
|
1555
1678
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1567,7 +1690,7 @@
|
|
|
1567
1690
|
function values_0() {
|
|
1568
1691
|
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
1569
1692
|
}
|
|
1570
|
-
function
|
|
1693
|
+
function valueOf_0(value) {
|
|
1571
1694
|
switch (value) {
|
|
1572
1695
|
case 'LIVE':
|
|
1573
1696
|
return PlayerConnectionState_LIVE_getInstance();
|
|
@@ -1603,28 +1726,28 @@
|
|
|
1603
1726
|
function PlayerConnectionState(name, ordinal) {
|
|
1604
1727
|
Enum.call(this, name, ordinal);
|
|
1605
1728
|
}
|
|
1606
|
-
protoOf(PlayerConnectionState).
|
|
1729
|
+
protoOf(PlayerConnectionState).v2i = function () {
|
|
1607
1730
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1608
1731
|
};
|
|
1609
|
-
protoOf(PlayerConnectionState).
|
|
1732
|
+
protoOf(PlayerConnectionState).w2i = function () {
|
|
1610
1733
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1611
1734
|
};
|
|
1612
|
-
protoOf(PlayerConnectionState).
|
|
1735
|
+
protoOf(PlayerConnectionState).x2i = function () {
|
|
1613
1736
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1614
1737
|
};
|
|
1615
|
-
protoOf(PlayerConnectionState).
|
|
1738
|
+
protoOf(PlayerConnectionState).y2i = function () {
|
|
1616
1739
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1617
1740
|
};
|
|
1618
|
-
protoOf(PlayerConnectionState).
|
|
1741
|
+
protoOf(PlayerConnectionState).z2i = function () {
|
|
1619
1742
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1620
1743
|
};
|
|
1621
|
-
protoOf(PlayerConnectionState).
|
|
1744
|
+
protoOf(PlayerConnectionState).a2j = function () {
|
|
1622
1745
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1623
1746
|
};
|
|
1624
|
-
protoOf(PlayerConnectionState).
|
|
1747
|
+
protoOf(PlayerConnectionState).b2j = function () {
|
|
1625
1748
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1626
1749
|
};
|
|
1627
|
-
protoOf(PlayerConnectionState).
|
|
1750
|
+
protoOf(PlayerConnectionState).c2j = function () {
|
|
1628
1751
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1629
1752
|
};
|
|
1630
1753
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1652,25 +1775,25 @@
|
|
|
1652
1775
|
return PlayerConnectionState_DELETED_instance;
|
|
1653
1776
|
}
|
|
1654
1777
|
function PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1655
|
-
this.
|
|
1778
|
+
this.d2j_1 = playerId;
|
|
1656
1779
|
this.factor = factor;
|
|
1657
1780
|
this.wasLiveDuringGame = wasLiveDuringGame;
|
|
1658
1781
|
this.liveDurationPercentage = liveDurationPercentage;
|
|
1659
1782
|
}
|
|
1660
|
-
protoOf(PlayerLuckyFactor).
|
|
1661
|
-
return this.
|
|
1783
|
+
protoOf(PlayerLuckyFactor).l2g = function () {
|
|
1784
|
+
return this.d2j_1;
|
|
1662
1785
|
};
|
|
1663
|
-
protoOf(PlayerLuckyFactor).
|
|
1786
|
+
protoOf(PlayerLuckyFactor).e2j = function () {
|
|
1664
1787
|
return this.factor;
|
|
1665
1788
|
};
|
|
1666
|
-
protoOf(PlayerLuckyFactor).
|
|
1789
|
+
protoOf(PlayerLuckyFactor).f2j = function () {
|
|
1667
1790
|
return this.wasLiveDuringGame;
|
|
1668
1791
|
};
|
|
1669
|
-
protoOf(PlayerLuckyFactor).
|
|
1792
|
+
protoOf(PlayerLuckyFactor).g2j = function () {
|
|
1670
1793
|
return this.liveDurationPercentage;
|
|
1671
1794
|
};
|
|
1672
1795
|
protoOf(PlayerLuckyFactor).oc = function () {
|
|
1673
|
-
return this.
|
|
1796
|
+
return this.d2j_1;
|
|
1674
1797
|
};
|
|
1675
1798
|
protoOf(PlayerLuckyFactor).pc = function () {
|
|
1676
1799
|
return this.factor;
|
|
@@ -1678,24 +1801,24 @@
|
|
|
1678
1801
|
protoOf(PlayerLuckyFactor).qg = function () {
|
|
1679
1802
|
return this.wasLiveDuringGame;
|
|
1680
1803
|
};
|
|
1681
|
-
protoOf(PlayerLuckyFactor).
|
|
1804
|
+
protoOf(PlayerLuckyFactor).n2h = function () {
|
|
1682
1805
|
return this.liveDurationPercentage;
|
|
1683
1806
|
};
|
|
1684
|
-
protoOf(PlayerLuckyFactor).
|
|
1807
|
+
protoOf(PlayerLuckyFactor).h2j = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1685
1808
|
return new PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1686
1809
|
};
|
|
1687
1810
|
protoOf(PlayerLuckyFactor).copy = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage, $super) {
|
|
1688
|
-
playerId = playerId === VOID ? this.
|
|
1811
|
+
playerId = playerId === VOID ? this.d2j_1 : playerId;
|
|
1689
1812
|
factor = factor === VOID ? this.factor : factor;
|
|
1690
1813
|
wasLiveDuringGame = wasLiveDuringGame === VOID ? this.wasLiveDuringGame : wasLiveDuringGame;
|
|
1691
1814
|
liveDurationPercentage = liveDurationPercentage === VOID ? this.liveDurationPercentage : liveDurationPercentage;
|
|
1692
|
-
return this.
|
|
1815
|
+
return this.h2j(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1693
1816
|
};
|
|
1694
1817
|
protoOf(PlayerLuckyFactor).toString = function () {
|
|
1695
|
-
return 'PlayerLuckyFactor(playerId=' + this.
|
|
1818
|
+
return 'PlayerLuckyFactor(playerId=' + this.d2j_1 + ', factor=' + this.factor + ', wasLiveDuringGame=' + this.wasLiveDuringGame + ', liveDurationPercentage=' + this.liveDurationPercentage + ')';
|
|
1696
1819
|
};
|
|
1697
1820
|
protoOf(PlayerLuckyFactor).hashCode = function () {
|
|
1698
|
-
var result = getStringHashCode(this.
|
|
1821
|
+
var result = getStringHashCode(this.d2j_1);
|
|
1699
1822
|
result = imul(result, 31) + getNumberHashCode(this.factor) | 0;
|
|
1700
1823
|
result = imul(result, 31) + getBooleanHashCode(this.wasLiveDuringGame) | 0;
|
|
1701
1824
|
result = imul(result, 31) + (this.liveDurationPercentage == null ? 0 : this.liveDurationPercentage) | 0;
|
|
@@ -1707,7 +1830,7 @@
|
|
|
1707
1830
|
if (!(other instanceof PlayerLuckyFactor))
|
|
1708
1831
|
return false;
|
|
1709
1832
|
var tmp0_other_with_cast = other instanceof PlayerLuckyFactor ? other : THROW_CCE();
|
|
1710
|
-
if (!(this.
|
|
1833
|
+
if (!(this.d2j_1 === tmp0_other_with_cast.d2j_1))
|
|
1711
1834
|
return false;
|
|
1712
1835
|
if (!equals(this.factor, tmp0_other_with_cast.factor))
|
|
1713
1836
|
return false;
|
|
@@ -1718,7 +1841,7 @@
|
|
|
1718
1841
|
return true;
|
|
1719
1842
|
};
|
|
1720
1843
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1721
|
-
return $this.
|
|
1844
|
+
return $this.i2j_1.o2();
|
|
1722
1845
|
}
|
|
1723
1846
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1724
1847
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -1730,7 +1853,7 @@
|
|
|
1730
1853
|
Companion_instance_10 = this;
|
|
1731
1854
|
var tmp = this;
|
|
1732
1855
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1733
|
-
tmp.
|
|
1856
|
+
tmp.i2j_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1734
1857
|
}
|
|
1735
1858
|
protoOf(Companion_10).o1z = function () {
|
|
1736
1859
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1761,25 +1884,25 @@
|
|
|
1761
1884
|
function PlayerWaitingState(name, ordinal) {
|
|
1762
1885
|
Enum.call(this, name, ordinal);
|
|
1763
1886
|
}
|
|
1764
|
-
protoOf(PlayerWaitingState).
|
|
1887
|
+
protoOf(PlayerWaitingState).l2j = function () {
|
|
1765
1888
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1766
1889
|
};
|
|
1767
|
-
protoOf(PlayerWaitingState).
|
|
1890
|
+
protoOf(PlayerWaitingState).m2j = function () {
|
|
1768
1891
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1769
1892
|
};
|
|
1770
1893
|
function Companion_11() {
|
|
1771
1894
|
}
|
|
1772
|
-
protoOf(Companion_11).
|
|
1895
|
+
protoOf(Companion_11).n2j = function (connection) {
|
|
1773
1896
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1774
1897
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1775
1898
|
};
|
|
1776
|
-
protoOf(Companion_11).
|
|
1777
|
-
return _this__u8e3s4.
|
|
1899
|
+
protoOf(Companion_11).o2j = function (_this__u8e3s4) {
|
|
1900
|
+
return _this__u8e3s4.p2j(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
1778
1901
|
};
|
|
1779
|
-
protoOf(Companion_11).
|
|
1902
|
+
protoOf(Companion_11).q2j = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
1780
1903
|
var tmp0_startFromTime = System_instance.e2f();
|
|
1781
1904
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1782
|
-
return _this__u8e3s4.
|
|
1905
|
+
return _this__u8e3s4.p2j(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
1783
1906
|
};
|
|
1784
1907
|
var Companion_instance_11;
|
|
1785
1908
|
function Companion_getInstance_12() {
|
|
@@ -1800,17 +1923,17 @@
|
|
|
1800
1923
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1801
1924
|
tag = tag === VOID ? null : tag;
|
|
1802
1925
|
connection = connection === VOID ? null : connection;
|
|
1803
|
-
this.
|
|
1804
|
-
this.
|
|
1805
|
-
this.
|
|
1806
|
-
this.
|
|
1807
|
-
this.
|
|
1808
|
-
this.
|
|
1809
|
-
this.
|
|
1810
|
-
}
|
|
1811
|
-
protoOf(PlayerState).
|
|
1926
|
+
this.x2h_1 = startFromTime;
|
|
1927
|
+
this.y2h_1 = playerTurnTimeout;
|
|
1928
|
+
this.z2h_1 = waitPlayerUntilTime;
|
|
1929
|
+
this.a2i_1 = state;
|
|
1930
|
+
this.b2i_1 = ready;
|
|
1931
|
+
this.c2i_1 = tag;
|
|
1932
|
+
this.d2i_1 = connection;
|
|
1933
|
+
}
|
|
1934
|
+
protoOf(PlayerState).r2j = function () {
|
|
1812
1935
|
// Inline function 'kotlin.requireNotNull' call
|
|
1813
|
-
var value = this.
|
|
1936
|
+
var value = this.d2i_1;
|
|
1814
1937
|
// Inline function 'kotlin.contracts.contract' call
|
|
1815
1938
|
var tmp$ret$1;
|
|
1816
1939
|
$l$block: {
|
|
@@ -1827,9 +1950,9 @@
|
|
|
1827
1950
|
}
|
|
1828
1951
|
return tmp$ret$1;
|
|
1829
1952
|
};
|
|
1830
|
-
protoOf(PlayerState).
|
|
1953
|
+
protoOf(PlayerState).s2j = function () {
|
|
1831
1954
|
// Inline function 'kotlin.requireNotNull' call
|
|
1832
|
-
var value = this.
|
|
1955
|
+
var value = this.c2i_1;
|
|
1833
1956
|
// Inline function 'kotlin.contracts.contract' call
|
|
1834
1957
|
var tmp$ret$1;
|
|
1835
1958
|
$l$block: {
|
|
@@ -1846,37 +1969,37 @@
|
|
|
1846
1969
|
}
|
|
1847
1970
|
return tmp$ret$1;
|
|
1848
1971
|
};
|
|
1849
|
-
protoOf(PlayerState).
|
|
1850
|
-
var tmp0_elvis_lhs = this.
|
|
1972
|
+
protoOf(PlayerState).t2j = function () {
|
|
1973
|
+
var tmp0_elvis_lhs = this.c2i_1;
|
|
1851
1974
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1852
1975
|
};
|
|
1853
|
-
protoOf(PlayerState).
|
|
1854
|
-
return this.
|
|
1976
|
+
protoOf(PlayerState).e2i = function () {
|
|
1977
|
+
return this.a2i_1.l2j() ? true : this.a2i_1.m2j();
|
|
1855
1978
|
};
|
|
1856
|
-
protoOf(PlayerState).
|
|
1979
|
+
protoOf(PlayerState).u2j = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1857
1980
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
1858
1981
|
};
|
|
1859
|
-
protoOf(PlayerState).
|
|
1860
|
-
startFromTime = startFromTime === VOID ? this.
|
|
1861
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
1862
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
1863
|
-
state = state === VOID ? this.
|
|
1864
|
-
ready = ready === VOID ? this.
|
|
1865
|
-
tag = tag === VOID ? this.
|
|
1866
|
-
connection = connection === VOID ? this.
|
|
1867
|
-
return $super === VOID ? this.
|
|
1982
|
+
protoOf(PlayerState).p2j = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
1983
|
+
startFromTime = startFromTime === VOID ? this.x2h_1 : startFromTime;
|
|
1984
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.y2h_1 : playerTurnTimeout;
|
|
1985
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.z2h_1 : waitPlayerUntilTime;
|
|
1986
|
+
state = state === VOID ? this.a2i_1 : state;
|
|
1987
|
+
ready = ready === VOID ? this.b2i_1 : ready;
|
|
1988
|
+
tag = tag === VOID ? this.c2i_1 : tag;
|
|
1989
|
+
connection = connection === VOID ? this.d2i_1 : connection;
|
|
1990
|
+
return $super === VOID ? this.u2j(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.u2j.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
1868
1991
|
};
|
|
1869
1992
|
protoOf(PlayerState).toString = function () {
|
|
1870
|
-
return 'PlayerState(startFromTime=' + this.
|
|
1993
|
+
return 'PlayerState(startFromTime=' + this.x2h_1 + ', playerTurnTimeout=' + this.y2h_1 + ', waitPlayerUntilTime=' + this.z2h_1 + ', state=' + this.a2i_1 + ', ready=' + this.b2i_1 + ', tag=' + this.c2i_1 + ', connection=' + this.d2i_1 + ')';
|
|
1871
1994
|
};
|
|
1872
1995
|
protoOf(PlayerState).hashCode = function () {
|
|
1873
|
-
var result = this.
|
|
1874
|
-
result = imul(result, 31) + (this.
|
|
1875
|
-
result = imul(result, 31) + (this.
|
|
1876
|
-
result = imul(result, 31) + this.
|
|
1877
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1878
|
-
result = imul(result, 31) + (this.
|
|
1879
|
-
result = imul(result, 31) + (this.
|
|
1996
|
+
var result = this.x2h_1 == null ? 0 : this.x2h_1.hashCode();
|
|
1997
|
+
result = imul(result, 31) + (this.y2h_1 == null ? 0 : this.y2h_1.hashCode()) | 0;
|
|
1998
|
+
result = imul(result, 31) + (this.z2h_1 == null ? 0 : this.z2h_1.hashCode()) | 0;
|
|
1999
|
+
result = imul(result, 31) + this.a2i_1.hashCode() | 0;
|
|
2000
|
+
result = imul(result, 31) + getBooleanHashCode(this.b2i_1) | 0;
|
|
2001
|
+
result = imul(result, 31) + (this.c2i_1 == null ? 0 : getStringHashCode(this.c2i_1)) | 0;
|
|
2002
|
+
result = imul(result, 31) + (this.d2i_1 == null ? 0 : this.d2i_1.hashCode()) | 0;
|
|
1880
2003
|
return result;
|
|
1881
2004
|
};
|
|
1882
2005
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1885,30 +2008,30 @@
|
|
|
1885
2008
|
if (!(other instanceof PlayerState))
|
|
1886
2009
|
return false;
|
|
1887
2010
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1888
|
-
if (!equals(this.
|
|
2011
|
+
if (!equals(this.x2h_1, tmp0_other_with_cast.x2h_1))
|
|
1889
2012
|
return false;
|
|
1890
|
-
if (!equals(this.
|
|
2013
|
+
if (!equals(this.y2h_1, tmp0_other_with_cast.y2h_1))
|
|
1891
2014
|
return false;
|
|
1892
|
-
if (!equals(this.
|
|
2015
|
+
if (!equals(this.z2h_1, tmp0_other_with_cast.z2h_1))
|
|
1893
2016
|
return false;
|
|
1894
|
-
if (!this.
|
|
2017
|
+
if (!this.a2i_1.equals(tmp0_other_with_cast.a2i_1))
|
|
1895
2018
|
return false;
|
|
1896
|
-
if (!(this.
|
|
2019
|
+
if (!(this.b2i_1 === tmp0_other_with_cast.b2i_1))
|
|
1897
2020
|
return false;
|
|
1898
|
-
if (!(this.
|
|
2021
|
+
if (!(this.c2i_1 == tmp0_other_with_cast.c2i_1))
|
|
1899
2022
|
return false;
|
|
1900
|
-
if (!equals(this.
|
|
2023
|
+
if (!equals(this.d2i_1, tmp0_other_with_cast.d2i_1))
|
|
1901
2024
|
return false;
|
|
1902
2025
|
return true;
|
|
1903
2026
|
};
|
|
1904
2027
|
function Team(playerIds) {
|
|
1905
|
-
this.
|
|
2028
|
+
this.v2j_1 = playerIds;
|
|
1906
2029
|
}
|
|
1907
2030
|
protoOf(Team).toString = function () {
|
|
1908
|
-
return 'Team(playerIds=' + this.
|
|
2031
|
+
return 'Team(playerIds=' + this.v2j_1 + ')';
|
|
1909
2032
|
};
|
|
1910
2033
|
protoOf(Team).hashCode = function () {
|
|
1911
|
-
return hashCode(this.
|
|
2034
|
+
return hashCode(this.v2j_1);
|
|
1912
2035
|
};
|
|
1913
2036
|
protoOf(Team).equals = function (other) {
|
|
1914
2037
|
if (this === other)
|
|
@@ -1916,7 +2039,7 @@
|
|
|
1916
2039
|
if (!(other instanceof Team))
|
|
1917
2040
|
return false;
|
|
1918
2041
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1919
|
-
if (!equals(this.
|
|
2042
|
+
if (!equals(this.v2j_1, tmp0_other_with_cast.v2j_1))
|
|
1920
2043
|
return false;
|
|
1921
2044
|
return true;
|
|
1922
2045
|
};
|
|
@@ -1960,55 +2083,55 @@
|
|
|
1960
2083
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1961
2084
|
this.tenCardsInHand = tenCardsInHand;
|
|
1962
2085
|
}
|
|
1963
|
-
protoOf(Rules).
|
|
2086
|
+
protoOf(Rules).w2j = function () {
|
|
1964
2087
|
return this.needToPutHigherTrump;
|
|
1965
2088
|
};
|
|
1966
|
-
protoOf(Rules).
|
|
2089
|
+
protoOf(Rules).x2j = function () {
|
|
1967
2090
|
return this.distributePoints;
|
|
1968
2091
|
};
|
|
1969
|
-
protoOf(Rules).
|
|
2092
|
+
protoOf(Rules).y2j = function () {
|
|
1970
2093
|
return this.protectBella;
|
|
1971
2094
|
};
|
|
1972
|
-
protoOf(Rules).
|
|
2095
|
+
protoOf(Rules).z2j = function () {
|
|
1973
2096
|
return this.oneTryToProtectBella;
|
|
1974
2097
|
};
|
|
1975
|
-
protoOf(Rules).
|
|
2098
|
+
protoOf(Rules).a2k = function () {
|
|
1976
2099
|
return this.enableFourSevensCombination;
|
|
1977
2100
|
};
|
|
1978
|
-
protoOf(Rules).
|
|
2101
|
+
protoOf(Rules).b2k = function () {
|
|
1979
2102
|
return this.enableTrumpSevenCombination;
|
|
1980
2103
|
};
|
|
1981
|
-
protoOf(Rules).
|
|
2104
|
+
protoOf(Rules).c2k = function () {
|
|
1982
2105
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1983
2106
|
};
|
|
1984
|
-
protoOf(Rules).
|
|
2107
|
+
protoOf(Rules).d2k = function () {
|
|
1985
2108
|
return this.playerWhoChooseSuitGoFirst;
|
|
1986
2109
|
};
|
|
1987
|
-
protoOf(Rules).
|
|
2110
|
+
protoOf(Rules).e2k = function () {
|
|
1988
2111
|
return this.winnerShuffleCards;
|
|
1989
2112
|
};
|
|
1990
|
-
protoOf(Rules).
|
|
2113
|
+
protoOf(Rules).f2k = function () {
|
|
1991
2114
|
return this.playWithoutLiabilities;
|
|
1992
2115
|
};
|
|
1993
|
-
protoOf(Rules).
|
|
2116
|
+
protoOf(Rules).g2k = function () {
|
|
1994
2117
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
1995
2118
|
};
|
|
1996
|
-
protoOf(Rules).
|
|
2119
|
+
protoOf(Rules).h2k = function () {
|
|
1997
2120
|
return this.enableFineIfNoBribes;
|
|
1998
2121
|
};
|
|
1999
|
-
protoOf(Rules).
|
|
2122
|
+
protoOf(Rules).i2k = function () {
|
|
2000
2123
|
return this.fineIfNoBribes;
|
|
2001
2124
|
};
|
|
2002
|
-
protoOf(Rules).
|
|
2125
|
+
protoOf(Rules).j2k = function () {
|
|
2003
2126
|
return this.enableFineAfterThirdByte;
|
|
2004
2127
|
};
|
|
2005
|
-
protoOf(Rules).
|
|
2128
|
+
protoOf(Rules).k2k = function () {
|
|
2006
2129
|
return this.checkTrumpCombination;
|
|
2007
2130
|
};
|
|
2008
|
-
protoOf(Rules).
|
|
2131
|
+
protoOf(Rules).l2k = function () {
|
|
2009
2132
|
return this.checkOnlyTrumpDebertz;
|
|
2010
2133
|
};
|
|
2011
|
-
protoOf(Rules).
|
|
2134
|
+
protoOf(Rules).m2k = function () {
|
|
2012
2135
|
return this.tenCardsInHand;
|
|
2013
2136
|
};
|
|
2014
2137
|
protoOf(Rules).oc = function () {
|
|
@@ -2020,49 +2143,49 @@
|
|
|
2020
2143
|
protoOf(Rules).qg = function () {
|
|
2021
2144
|
return this.protectBella;
|
|
2022
2145
|
};
|
|
2023
|
-
protoOf(Rules).
|
|
2146
|
+
protoOf(Rules).n2h = function () {
|
|
2024
2147
|
return this.oneTryToProtectBella;
|
|
2025
2148
|
};
|
|
2026
|
-
protoOf(Rules).
|
|
2149
|
+
protoOf(Rules).o2h = function () {
|
|
2027
2150
|
return this.enableFourSevensCombination;
|
|
2028
2151
|
};
|
|
2029
|
-
protoOf(Rules).
|
|
2152
|
+
protoOf(Rules).p2h = function () {
|
|
2030
2153
|
return this.enableTrumpSevenCombination;
|
|
2031
2154
|
};
|
|
2032
|
-
protoOf(Rules).
|
|
2155
|
+
protoOf(Rules).n2k = function () {
|
|
2033
2156
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2034
2157
|
};
|
|
2035
|
-
protoOf(Rules).
|
|
2158
|
+
protoOf(Rules).o2k = function () {
|
|
2036
2159
|
return this.playerWhoChooseSuitGoFirst;
|
|
2037
2160
|
};
|
|
2038
|
-
protoOf(Rules).
|
|
2161
|
+
protoOf(Rules).p2k = function () {
|
|
2039
2162
|
return this.winnerShuffleCards;
|
|
2040
2163
|
};
|
|
2041
|
-
protoOf(Rules).
|
|
2164
|
+
protoOf(Rules).q2k = function () {
|
|
2042
2165
|
return this.playWithoutLiabilities;
|
|
2043
2166
|
};
|
|
2044
|
-
protoOf(Rules).
|
|
2167
|
+
protoOf(Rules).r2k = function () {
|
|
2045
2168
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2046
2169
|
};
|
|
2047
|
-
protoOf(Rules).
|
|
2170
|
+
protoOf(Rules).s2k = function () {
|
|
2048
2171
|
return this.enableFineIfNoBribes;
|
|
2049
2172
|
};
|
|
2050
|
-
protoOf(Rules).
|
|
2173
|
+
protoOf(Rules).t2k = function () {
|
|
2051
2174
|
return this.fineIfNoBribes;
|
|
2052
2175
|
};
|
|
2053
|
-
protoOf(Rules).
|
|
2176
|
+
protoOf(Rules).u2k = function () {
|
|
2054
2177
|
return this.enableFineAfterThirdByte;
|
|
2055
2178
|
};
|
|
2056
|
-
protoOf(Rules).
|
|
2179
|
+
protoOf(Rules).v2k = function () {
|
|
2057
2180
|
return this.checkTrumpCombination;
|
|
2058
2181
|
};
|
|
2059
|
-
protoOf(Rules).
|
|
2182
|
+
protoOf(Rules).w2k = function () {
|
|
2060
2183
|
return this.checkOnlyTrumpDebertz;
|
|
2061
2184
|
};
|
|
2062
|
-
protoOf(Rules).
|
|
2185
|
+
protoOf(Rules).x2k = function () {
|
|
2063
2186
|
return this.tenCardsInHand;
|
|
2064
2187
|
};
|
|
2065
|
-
protoOf(Rules).
|
|
2188
|
+
protoOf(Rules).y2k = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2066
2189
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2067
2190
|
};
|
|
2068
2191
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2083,7 +2206,7 @@
|
|
|
2083
2206
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2084
2207
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2085
2208
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2086
|
-
return this.
|
|
2209
|
+
return this.y2k(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2087
2210
|
};
|
|
2088
2211
|
protoOf(Rules).toString = function () {
|
|
2089
2212
|
return 'Rules(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -2158,7 +2281,7 @@
|
|
|
2158
2281
|
function values_2() {
|
|
2159
2282
|
return [RulesSetType_belot_getInstance(), RulesSetType_klabor_getInstance(), RulesSetType_debertzCommon_getInstance(), RulesSetType_debertzKharkiv_getInstance(), RulesSetType_custom_getInstance()];
|
|
2160
2283
|
}
|
|
2161
|
-
function
|
|
2284
|
+
function valueOf_1(value) {
|
|
2162
2285
|
switch (value) {
|
|
2163
2286
|
case 'belot':
|
|
2164
2287
|
return RulesSetType_belot_getInstance();
|
|
@@ -2238,7 +2361,7 @@
|
|
|
2238
2361
|
return RulesSetType_custom_instance;
|
|
2239
2362
|
}
|
|
2240
2363
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2241
|
-
return $this.
|
|
2364
|
+
return $this.b2l_1.o2();
|
|
2242
2365
|
}
|
|
2243
2366
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2244
2367
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2252,7 +2375,7 @@
|
|
|
2252
2375
|
Companion_instance_13 = this;
|
|
2253
2376
|
var tmp = this;
|
|
2254
2377
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2255
|
-
tmp.
|
|
2378
|
+
tmp.b2l_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2256
2379
|
}
|
|
2257
2380
|
protoOf(Companion_13).o1z = function () {
|
|
2258
2381
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2273,12 +2396,15 @@
|
|
|
2273
2396
|
Companion_getInstance_14();
|
|
2274
2397
|
}
|
|
2275
2398
|
function mapToDto(_this__u8e3s4) {
|
|
2276
|
-
return _this__u8e3s4.
|
|
2399
|
+
return _this__u8e3s4.d2l_1;
|
|
2277
2400
|
}
|
|
2278
2401
|
function mapFromDto(_this__u8e3s4) {
|
|
2279
2402
|
return new GameCard(_this__u8e3s4);
|
|
2280
2403
|
}
|
|
2281
2404
|
function mapToDto_0(_this__u8e3s4) {
|
|
2405
|
+
if (!Toggles_instance.b2g()) {
|
|
2406
|
+
return new RulesDto(_this__u8e3s4.needToPutHigherTrump, _this__u8e3s4.distributePoints, _this__u8e3s4.protectBella, VOID, _this__u8e3s4.enableFourSevensCombination, _this__u8e3s4.enableTrumpSevenCombination, _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution, _this__u8e3s4.playerWhoChooseSuitGoFirst, _this__u8e3s4.winnerShuffleCards, _this__u8e3s4.playWithoutLiabilities, _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards, _this__u8e3s4.enableFineIfNoBribes, _this__u8e3s4.fineIfNoBribes, _this__u8e3s4.enableFineAfterThirdByte, _this__u8e3s4.checkTrumpCombination, _this__u8e3s4.checkOnlyTrumpDebertz, _this__u8e3s4.tenCardsInHand);
|
|
2407
|
+
}
|
|
2282
2408
|
// Inline function 'kotlin.takeIf' call
|
|
2283
2409
|
var this_0 = _this__u8e3s4.needToPutHigherTrump;
|
|
2284
2410
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2447,38 +2573,38 @@
|
|
|
2447
2573
|
return new RulesDto(tmp_0, tmp_2, tmp_4, VOID, tmp_6, tmp_8, tmp_10, tmp_12, tmp_14, tmp_16, tmp_18, tmp_20, _this__u8e3s4.fineIfNoBribes, tmp_22, tmp_24, tmp_26, tmp$ret$29);
|
|
2448
2574
|
}
|
|
2449
2575
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2450
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2576
|
+
var tmp0_elvis_lhs = _this__u8e3s4.needToPutHigherTrump;
|
|
2451
2577
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
2452
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2578
|
+
var tmp1_elvis_lhs = _this__u8e3s4.distributePoints;
|
|
2453
2579
|
var tmp_0 = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
2454
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2580
|
+
var tmp2_elvis_lhs = _this__u8e3s4.protectBella;
|
|
2455
2581
|
var tmp_1 = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
2456
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2582
|
+
var tmp3_elvis_lhs = _this__u8e3s4.oneTryToProtectBella;
|
|
2457
2583
|
var tmp_2 = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2458
|
-
var tmp4_elvis_lhs = _this__u8e3s4.
|
|
2584
|
+
var tmp4_elvis_lhs = _this__u8e3s4.enableFourSevensCombination;
|
|
2459
2585
|
var tmp_3 = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
2460
|
-
var tmp5_elvis_lhs = _this__u8e3s4.
|
|
2586
|
+
var tmp5_elvis_lhs = _this__u8e3s4.enableTrumpSevenCombination;
|
|
2461
2587
|
var tmp_4 = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
|
|
2462
|
-
var tmp6_elvis_lhs = _this__u8e3s4.
|
|
2588
|
+
var tmp6_elvis_lhs = _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution;
|
|
2463
2589
|
var tmp_5 = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
2464
|
-
var tmp7_elvis_lhs = _this__u8e3s4.
|
|
2590
|
+
var tmp7_elvis_lhs = _this__u8e3s4.playerWhoChooseSuitGoFirst;
|
|
2465
2591
|
var tmp_6 = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
|
|
2466
|
-
var tmp8_elvis_lhs = _this__u8e3s4.
|
|
2592
|
+
var tmp8_elvis_lhs = _this__u8e3s4.winnerShuffleCards;
|
|
2467
2593
|
var tmp_7 = tmp8_elvis_lhs == null ? false : tmp8_elvis_lhs;
|
|
2468
|
-
var tmp9_elvis_lhs = _this__u8e3s4.
|
|
2594
|
+
var tmp9_elvis_lhs = _this__u8e3s4.playWithoutLiabilities;
|
|
2469
2595
|
var tmp_8 = tmp9_elvis_lhs == null ? false : tmp9_elvis_lhs;
|
|
2470
|
-
var tmp10_elvis_lhs = _this__u8e3s4.
|
|
2596
|
+
var tmp10_elvis_lhs = _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards;
|
|
2471
2597
|
var tmp_9 = tmp10_elvis_lhs == null ? false : tmp10_elvis_lhs;
|
|
2472
|
-
var tmp11_elvis_lhs = _this__u8e3s4.
|
|
2598
|
+
var tmp11_elvis_lhs = _this__u8e3s4.enableFineIfNoBribes;
|
|
2473
2599
|
var tmp_10 = tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs;
|
|
2474
|
-
var tmp12_elvis_lhs = _this__u8e3s4.
|
|
2600
|
+
var tmp12_elvis_lhs = _this__u8e3s4.enableFineAfterThirdByte;
|
|
2475
2601
|
var tmp_11 = tmp12_elvis_lhs == null ? false : tmp12_elvis_lhs;
|
|
2476
|
-
var tmp13_elvis_lhs = _this__u8e3s4.
|
|
2602
|
+
var tmp13_elvis_lhs = _this__u8e3s4.checkTrumpCombination;
|
|
2477
2603
|
var tmp_12 = tmp13_elvis_lhs == null ? false : tmp13_elvis_lhs;
|
|
2478
|
-
var tmp14_elvis_lhs = _this__u8e3s4.
|
|
2604
|
+
var tmp14_elvis_lhs = _this__u8e3s4.checkOnlyTrumpDebertz;
|
|
2479
2605
|
var tmp_13 = tmp14_elvis_lhs == null ? false : tmp14_elvis_lhs;
|
|
2480
|
-
var tmp15_elvis_lhs = _this__u8e3s4.
|
|
2481
|
-
return new Rules(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, _this__u8e3s4.
|
|
2606
|
+
var tmp15_elvis_lhs = _this__u8e3s4.tenCardsInHand;
|
|
2607
|
+
return new Rules(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, _this__u8e3s4.fineIfNoBribes, tmp_11, tmp_12, tmp_13, tmp15_elvis_lhs == null ? false : tmp15_elvis_lhs);
|
|
2482
2608
|
}
|
|
2483
2609
|
function mapToDto_1(_this__u8e3s4) {
|
|
2484
2610
|
// Inline function 'kotlin.takeIf' call
|
|
@@ -2492,11 +2618,11 @@
|
|
|
2492
2618
|
tmp = null;
|
|
2493
2619
|
}
|
|
2494
2620
|
var tmp$ret$1 = tmp;
|
|
2495
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2621
|
+
return new GameUserInfoDto(_this__u8e3s4.i2h_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
2496
2622
|
}
|
|
2497
2623
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2498
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2499
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
2624
|
+
var tmp0_elvis_lhs = _this__u8e3s4.h2l_1;
|
|
2625
|
+
return new GameUserInfo(_this__u8e3s4.e2l_1, _this__u8e3s4.f2l_1, _this__u8e3s4.g2l_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.i2l_1);
|
|
2500
2626
|
}
|
|
2501
2627
|
function Companion_14() {
|
|
2502
2628
|
}
|
|
@@ -2512,10 +2638,10 @@
|
|
|
2512
2638
|
tmp0_serialDesc.k1n('avatarUrl', true);
|
|
2513
2639
|
tmp0_serialDesc.k1n('isBot', true);
|
|
2514
2640
|
tmp0_serialDesc.k1n('initialLuckyFactor', true);
|
|
2515
|
-
this.
|
|
2641
|
+
this.j2l_1 = tmp0_serialDesc;
|
|
2516
2642
|
}
|
|
2517
2643
|
protoOf($serializer_5).p1c = function () {
|
|
2518
|
-
return this.
|
|
2644
|
+
return this.j2l_1;
|
|
2519
2645
|
};
|
|
2520
2646
|
protoOf($serializer_5).z1n = function () {
|
|
2521
2647
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2524,7 +2650,7 @@
|
|
|
2524
2650
|
return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2525
2651
|
};
|
|
2526
2652
|
protoOf($serializer_5).r1c = function (decoder) {
|
|
2527
|
-
var tmp0_desc = this.
|
|
2653
|
+
var tmp0_desc = this.j2l_1;
|
|
2528
2654
|
var tmp1_flag = true;
|
|
2529
2655
|
var tmp2_index = 0;
|
|
2530
2656
|
var tmp3_bitMask0 = 0;
|
|
@@ -2579,24 +2705,24 @@
|
|
|
2579
2705
|
tmp9_input.y1f(tmp0_desc);
|
|
2580
2706
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
2581
2707
|
};
|
|
2582
|
-
protoOf($serializer_5).
|
|
2583
|
-
var tmp0_desc = this.
|
|
2708
|
+
protoOf($serializer_5).k2l = function (encoder, value) {
|
|
2709
|
+
var tmp0_desc = this.j2l_1;
|
|
2584
2710
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
2585
|
-
tmp1_output.m1h(tmp0_desc, 0, value.
|
|
2586
|
-
tmp1_output.m1h(tmp0_desc, 1, value.
|
|
2587
|
-
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.
|
|
2588
|
-
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2711
|
+
tmp1_output.m1h(tmp0_desc, 0, value.e2l_1);
|
|
2712
|
+
tmp1_output.m1h(tmp0_desc, 1, value.f2l_1);
|
|
2713
|
+
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.g2l_1 == null)) {
|
|
2714
|
+
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.g2l_1);
|
|
2589
2715
|
}
|
|
2590
|
-
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.
|
|
2591
|
-
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2716
|
+
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.h2l_1 === false)) {
|
|
2717
|
+
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.h2l_1);
|
|
2592
2718
|
}
|
|
2593
|
-
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.
|
|
2594
|
-
tmp1_output.q1h(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
2719
|
+
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.i2l_1 == null)) {
|
|
2720
|
+
tmp1_output.q1h(tmp0_desc, 4, FloatSerializer_getInstance(), value.i2l_1);
|
|
2595
2721
|
}
|
|
2596
2722
|
tmp1_output.y1f(tmp0_desc);
|
|
2597
2723
|
};
|
|
2598
2724
|
protoOf($serializer_5).q1c = function (encoder, value) {
|
|
2599
|
-
return this.
|
|
2725
|
+
return this.k2l(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2600
2726
|
};
|
|
2601
2727
|
var $serializer_instance_5;
|
|
2602
2728
|
function $serializer_getInstance_5() {
|
|
@@ -2606,22 +2732,22 @@
|
|
|
2606
2732
|
}
|
|
2607
2733
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2608
2734
|
if (!(3 === (3 & seen1))) {
|
|
2609
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
2735
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().j2l_1);
|
|
2610
2736
|
}
|
|
2611
|
-
$this.
|
|
2612
|
-
$this.
|
|
2737
|
+
$this.e2l_1 = playerId;
|
|
2738
|
+
$this.f2l_1 = name;
|
|
2613
2739
|
if (0 === (seen1 & 4))
|
|
2614
|
-
$this.
|
|
2740
|
+
$this.g2l_1 = null;
|
|
2615
2741
|
else
|
|
2616
|
-
$this.
|
|
2742
|
+
$this.g2l_1 = avatarUrl;
|
|
2617
2743
|
if (0 === (seen1 & 8))
|
|
2618
|
-
$this.
|
|
2744
|
+
$this.h2l_1 = false;
|
|
2619
2745
|
else
|
|
2620
|
-
$this.
|
|
2746
|
+
$this.h2l_1 = isBot;
|
|
2621
2747
|
if (0 === (seen1 & 16))
|
|
2622
|
-
$this.
|
|
2748
|
+
$this.i2l_1 = null;
|
|
2623
2749
|
else
|
|
2624
|
-
$this.
|
|
2750
|
+
$this.i2l_1 = initialLuckyFactor;
|
|
2625
2751
|
return $this;
|
|
2626
2752
|
}
|
|
2627
2753
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2631,21 +2757,21 @@
|
|
|
2631
2757
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2632
2758
|
isBot = isBot === VOID ? false : isBot;
|
|
2633
2759
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
2634
|
-
this.
|
|
2635
|
-
this.
|
|
2636
|
-
this.
|
|
2637
|
-
this.
|
|
2638
|
-
this.
|
|
2760
|
+
this.e2l_1 = playerId;
|
|
2761
|
+
this.f2l_1 = name;
|
|
2762
|
+
this.g2l_1 = avatarUrl;
|
|
2763
|
+
this.h2l_1 = isBot;
|
|
2764
|
+
this.i2l_1 = initialLuckyFactor;
|
|
2639
2765
|
}
|
|
2640
2766
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2641
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2767
|
+
return 'GameUserInfoDto(playerId=' + this.e2l_1 + ', name=' + this.f2l_1 + ', avatarUrl=' + this.g2l_1 + ', isBot=' + this.h2l_1 + ', initialLuckyFactor=' + this.i2l_1 + ')';
|
|
2642
2768
|
};
|
|
2643
2769
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2644
|
-
var result = getStringHashCode(this.
|
|
2645
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2646
|
-
result = imul(result, 31) + (this.
|
|
2647
|
-
result = imul(result, 31) + (this.
|
|
2648
|
-
result = imul(result, 31) + (this.
|
|
2770
|
+
var result = getStringHashCode(this.e2l_1);
|
|
2771
|
+
result = imul(result, 31) + getStringHashCode(this.f2l_1) | 0;
|
|
2772
|
+
result = imul(result, 31) + (this.g2l_1 == null ? 0 : getStringHashCode(this.g2l_1)) | 0;
|
|
2773
|
+
result = imul(result, 31) + (this.h2l_1 == null ? 0 : getBooleanHashCode(this.h2l_1)) | 0;
|
|
2774
|
+
result = imul(result, 31) + (this.i2l_1 == null ? 0 : getNumberHashCode(this.i2l_1)) | 0;
|
|
2649
2775
|
return result;
|
|
2650
2776
|
};
|
|
2651
2777
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2654,15 +2780,15 @@
|
|
|
2654
2780
|
if (!(other instanceof GameUserInfoDto))
|
|
2655
2781
|
return false;
|
|
2656
2782
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2657
|
-
if (!(this.
|
|
2783
|
+
if (!(this.e2l_1 === tmp0_other_with_cast.e2l_1))
|
|
2658
2784
|
return false;
|
|
2659
|
-
if (!(this.
|
|
2785
|
+
if (!(this.f2l_1 === tmp0_other_with_cast.f2l_1))
|
|
2660
2786
|
return false;
|
|
2661
|
-
if (!(this.
|
|
2787
|
+
if (!(this.g2l_1 == tmp0_other_with_cast.g2l_1))
|
|
2662
2788
|
return false;
|
|
2663
|
-
if (!(this.
|
|
2789
|
+
if (!(this.h2l_1 == tmp0_other_with_cast.h2l_1))
|
|
2664
2790
|
return false;
|
|
2665
|
-
if (!equals(this.
|
|
2791
|
+
if (!equals(this.i2l_1, tmp0_other_with_cast.i2l_1))
|
|
2666
2792
|
return false;
|
|
2667
2793
|
return true;
|
|
2668
2794
|
};
|
|
@@ -2672,7 +2798,7 @@
|
|
|
2672
2798
|
// Inline function 'kotlin.arrayOf' call
|
|
2673
2799
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2674
2800
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2675
|
-
tmp.
|
|
2801
|
+
tmp.l2l_1 = [Companion_getInstance_10().o1z(), null, null];
|
|
2676
2802
|
}
|
|
2677
2803
|
var Companion_instance_15;
|
|
2678
2804
|
function Companion_getInstance_16() {
|
|
@@ -2686,19 +2812,19 @@
|
|
|
2686
2812
|
tmp0_serialDesc.k1n('state', false);
|
|
2687
2813
|
tmp0_serialDesc.k1n('connectionChangedTime', false);
|
|
2688
2814
|
tmp0_serialDesc.k1n('notLiveDurationRecord', false);
|
|
2689
|
-
this.
|
|
2815
|
+
this.m2l_1 = tmp0_serialDesc;
|
|
2690
2816
|
}
|
|
2691
2817
|
protoOf($serializer_6).p1c = function () {
|
|
2692
|
-
return this.
|
|
2818
|
+
return this.m2l_1;
|
|
2693
2819
|
};
|
|
2694
2820
|
protoOf($serializer_6).z1n = function () {
|
|
2695
2821
|
// Inline function 'kotlin.arrayOf' call
|
|
2696
2822
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2697
2823
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2698
|
-
return [Companion_getInstance_16().
|
|
2824
|
+
return [Companion_getInstance_16().l2l_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2699
2825
|
};
|
|
2700
2826
|
protoOf($serializer_6).r1c = function (decoder) {
|
|
2701
|
-
var tmp0_desc = this.
|
|
2827
|
+
var tmp0_desc = this.m2l_1;
|
|
2702
2828
|
var tmp1_flag = true;
|
|
2703
2829
|
var tmp2_index = 0;
|
|
2704
2830
|
var tmp3_bitMask0 = 0;
|
|
@@ -2706,7 +2832,7 @@
|
|
|
2706
2832
|
var tmp5_local1 = null;
|
|
2707
2833
|
var tmp6_local2 = null;
|
|
2708
2834
|
var tmp7_input = decoder.x1f(tmp0_desc);
|
|
2709
|
-
var tmp8_cached = Companion_getInstance_16().
|
|
2835
|
+
var tmp8_cached = Companion_getInstance_16().l2l_1;
|
|
2710
2836
|
if (tmp7_input.n1g()) {
|
|
2711
2837
|
tmp4_local0 = tmp7_input.j1g(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2712
2838
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2740,17 +2866,17 @@
|
|
|
2740
2866
|
tmp7_input.y1f(tmp0_desc);
|
|
2741
2867
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2742
2868
|
};
|
|
2743
|
-
protoOf($serializer_6).
|
|
2744
|
-
var tmp0_desc = this.
|
|
2869
|
+
protoOf($serializer_6).n2l = function (encoder, value) {
|
|
2870
|
+
var tmp0_desc = this.m2l_1;
|
|
2745
2871
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
2746
|
-
var tmp2_cached = Companion_getInstance_16().
|
|
2747
|
-
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.
|
|
2748
|
-
tmp1_output.m1h(tmp0_desc, 1, value.
|
|
2749
|
-
tmp1_output.m1h(tmp0_desc, 2, value.
|
|
2872
|
+
var tmp2_cached = Companion_getInstance_16().l2l_1;
|
|
2873
|
+
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.o2l_1);
|
|
2874
|
+
tmp1_output.m1h(tmp0_desc, 1, value.p2l_1);
|
|
2875
|
+
tmp1_output.m1h(tmp0_desc, 2, value.q2l_1);
|
|
2750
2876
|
tmp1_output.y1f(tmp0_desc);
|
|
2751
2877
|
};
|
|
2752
2878
|
protoOf($serializer_6).q1c = function (encoder, value) {
|
|
2753
|
-
return this.
|
|
2879
|
+
return this.n2l(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2754
2880
|
};
|
|
2755
2881
|
var $serializer_instance_6;
|
|
2756
2882
|
function $serializer_getInstance_6() {
|
|
@@ -2760,11 +2886,11 @@
|
|
|
2760
2886
|
}
|
|
2761
2887
|
function PlayerConnectionDto_init_$Init$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2762
2888
|
if (!(7 === (7 & seen1))) {
|
|
2763
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
2889
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().m2l_1);
|
|
2764
2890
|
}
|
|
2765
|
-
$this.
|
|
2766
|
-
$this.
|
|
2767
|
-
$this.
|
|
2891
|
+
$this.o2l_1 = state;
|
|
2892
|
+
$this.p2l_1 = connectionChangedTime;
|
|
2893
|
+
$this.q2l_1 = notLiveDurationRecord;
|
|
2768
2894
|
return $this;
|
|
2769
2895
|
}
|
|
2770
2896
|
function PlayerConnectionDto_init_$Create$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -2773,12 +2899,12 @@
|
|
|
2773
2899
|
function PlayerConnectionDto() {
|
|
2774
2900
|
}
|
|
2775
2901
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
2776
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
2902
|
+
return 'PlayerConnectionDto(state=' + this.o2l_1 + ', connectionChangedTime=' + this.p2l_1 + ', notLiveDurationRecord=' + this.q2l_1 + ')';
|
|
2777
2903
|
};
|
|
2778
2904
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2779
|
-
var result = this.
|
|
2780
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2781
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2905
|
+
var result = this.o2l_1.hashCode();
|
|
2906
|
+
result = imul(result, 31) + getStringHashCode(this.p2l_1) | 0;
|
|
2907
|
+
result = imul(result, 31) + getStringHashCode(this.q2l_1) | 0;
|
|
2782
2908
|
return result;
|
|
2783
2909
|
};
|
|
2784
2910
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -2787,11 +2913,11 @@
|
|
|
2787
2913
|
if (!(other instanceof PlayerConnectionDto))
|
|
2788
2914
|
return false;
|
|
2789
2915
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
2790
|
-
if (!this.
|
|
2916
|
+
if (!this.o2l_1.equals(tmp0_other_with_cast.o2l_1))
|
|
2791
2917
|
return false;
|
|
2792
|
-
if (!(this.
|
|
2918
|
+
if (!(this.p2l_1 === tmp0_other_with_cast.p2l_1))
|
|
2793
2919
|
return false;
|
|
2794
|
-
if (!(this.
|
|
2920
|
+
if (!(this.q2l_1 === tmp0_other_with_cast.q2l_1))
|
|
2795
2921
|
return false;
|
|
2796
2922
|
return true;
|
|
2797
2923
|
};
|
|
@@ -2801,7 +2927,7 @@
|
|
|
2801
2927
|
// Inline function 'kotlin.arrayOf' call
|
|
2802
2928
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2803
2929
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2804
|
-
tmp.
|
|
2930
|
+
tmp.r2l_1 = [null, null, null, null, Companion_getInstance_11().o1z(), null, null, null];
|
|
2805
2931
|
}
|
|
2806
2932
|
var Companion_instance_16;
|
|
2807
2933
|
function Companion_getInstance_17() {
|
|
@@ -2820,20 +2946,20 @@
|
|
|
2820
2946
|
tmp0_serialDesc.k1n('ready', false);
|
|
2821
2947
|
tmp0_serialDesc.k1n('tag', true);
|
|
2822
2948
|
tmp0_serialDesc.k1n('connection', true);
|
|
2823
|
-
this.
|
|
2949
|
+
this.s2l_1 = tmp0_serialDesc;
|
|
2824
2950
|
}
|
|
2825
2951
|
protoOf($serializer_7).p1c = function () {
|
|
2826
|
-
return this.
|
|
2952
|
+
return this.s2l_1;
|
|
2827
2953
|
};
|
|
2828
2954
|
protoOf($serializer_7).z1n = function () {
|
|
2829
|
-
var tmp0_cached = Companion_getInstance_17().
|
|
2955
|
+
var tmp0_cached = Companion_getInstance_17().r2l_1;
|
|
2830
2956
|
// Inline function 'kotlin.arrayOf' call
|
|
2831
2957
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2832
2958
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2833
2959
|
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_6())];
|
|
2834
2960
|
};
|
|
2835
2961
|
protoOf($serializer_7).r1c = function (decoder) {
|
|
2836
|
-
var tmp0_desc = this.
|
|
2962
|
+
var tmp0_desc = this.s2l_1;
|
|
2837
2963
|
var tmp1_flag = true;
|
|
2838
2964
|
var tmp2_index = 0;
|
|
2839
2965
|
var tmp3_bitMask0 = 0;
|
|
@@ -2846,7 +2972,7 @@
|
|
|
2846
2972
|
var tmp10_local6 = null;
|
|
2847
2973
|
var tmp11_local7 = null;
|
|
2848
2974
|
var tmp12_input = decoder.x1f(tmp0_desc);
|
|
2849
|
-
var tmp13_cached = Companion_getInstance_17().
|
|
2975
|
+
var tmp13_cached = Companion_getInstance_17().r2l_1;
|
|
2850
2976
|
if (tmp12_input.n1g()) {
|
|
2851
2977
|
tmp4_local0 = tmp12_input.l1g(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
2852
2978
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2910,34 +3036,34 @@
|
|
|
2910
3036
|
tmp12_input.y1f(tmp0_desc);
|
|
2911
3037
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
2912
3038
|
};
|
|
2913
|
-
protoOf($serializer_7).
|
|
2914
|
-
var tmp0_desc = this.
|
|
3039
|
+
protoOf($serializer_7).t2l = function (encoder, value) {
|
|
3040
|
+
var tmp0_desc = this.s2l_1;
|
|
2915
3041
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
2916
|
-
var tmp2_cached = Companion_getInstance_17().
|
|
2917
|
-
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.
|
|
2918
|
-
tmp1_output.q1h(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
3042
|
+
var tmp2_cached = Companion_getInstance_17().r2l_1;
|
|
3043
|
+
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.u2l_1 == null)) {
|
|
3044
|
+
tmp1_output.q1h(tmp0_desc, 0, LongSerializer_getInstance(), value.u2l_1);
|
|
2919
3045
|
}
|
|
2920
|
-
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.
|
|
2921
|
-
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3046
|
+
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.v2l_1 == null)) {
|
|
3047
|
+
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.v2l_1);
|
|
2922
3048
|
}
|
|
2923
|
-
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.
|
|
2924
|
-
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3049
|
+
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.w2l_1 == null)) {
|
|
3050
|
+
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.w2l_1);
|
|
2925
3051
|
}
|
|
2926
|
-
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.
|
|
2927
|
-
tmp1_output.q1h(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3052
|
+
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.x2l_1 == null)) {
|
|
3053
|
+
tmp1_output.q1h(tmp0_desc, 3, StringSerializer_getInstance(), value.x2l_1);
|
|
2928
3054
|
}
|
|
2929
|
-
tmp1_output.o1h(tmp0_desc, 4, tmp2_cached[4], value.
|
|
2930
|
-
tmp1_output.e1h(tmp0_desc, 5, value.
|
|
2931
|
-
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.
|
|
2932
|
-
tmp1_output.q1h(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
3055
|
+
tmp1_output.o1h(tmp0_desc, 4, tmp2_cached[4], value.y2l_1);
|
|
3056
|
+
tmp1_output.e1h(tmp0_desc, 5, value.z2l_1);
|
|
3057
|
+
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.a2m_1 == null)) {
|
|
3058
|
+
tmp1_output.q1h(tmp0_desc, 6, StringSerializer_getInstance(), value.a2m_1);
|
|
2933
3059
|
}
|
|
2934
|
-
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.
|
|
2935
|
-
tmp1_output.q1h(tmp0_desc, 7, $serializer_getInstance_6(), value.
|
|
3060
|
+
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.b2m_1 == null)) {
|
|
3061
|
+
tmp1_output.q1h(tmp0_desc, 7, $serializer_getInstance_6(), value.b2m_1);
|
|
2936
3062
|
}
|
|
2937
3063
|
tmp1_output.y1f(tmp0_desc);
|
|
2938
3064
|
};
|
|
2939
3065
|
protoOf($serializer_7).q1c = function (encoder, value) {
|
|
2940
|
-
return this.
|
|
3066
|
+
return this.t2l(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2941
3067
|
};
|
|
2942
3068
|
var $serializer_instance_7;
|
|
2943
3069
|
function $serializer_getInstance_7() {
|
|
@@ -2947,34 +3073,34 @@
|
|
|
2947
3073
|
}
|
|
2948
3074
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
2949
3075
|
if (!(48 === (48 & seen1))) {
|
|
2950
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().
|
|
3076
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().s2l_1);
|
|
2951
3077
|
}
|
|
2952
3078
|
if (0 === (seen1 & 1))
|
|
2953
|
-
$this.
|
|
3079
|
+
$this.u2l_1 = null;
|
|
2954
3080
|
else
|
|
2955
|
-
$this.
|
|
3081
|
+
$this.u2l_1 = startFromTime;
|
|
2956
3082
|
if (0 === (seen1 & 2))
|
|
2957
|
-
$this.
|
|
3083
|
+
$this.v2l_1 = null;
|
|
2958
3084
|
else
|
|
2959
|
-
$this.
|
|
3085
|
+
$this.v2l_1 = startFrom;
|
|
2960
3086
|
if (0 === (seen1 & 4))
|
|
2961
|
-
$this.
|
|
3087
|
+
$this.w2l_1 = null;
|
|
2962
3088
|
else
|
|
2963
|
-
$this.
|
|
3089
|
+
$this.w2l_1 = playerTurnTimeout;
|
|
2964
3090
|
if (0 === (seen1 & 8))
|
|
2965
|
-
$this.
|
|
3091
|
+
$this.x2l_1 = null;
|
|
2966
3092
|
else
|
|
2967
|
-
$this.
|
|
2968
|
-
$this.
|
|
2969
|
-
$this.
|
|
3093
|
+
$this.x2l_1 = waitPlayerUntilTime;
|
|
3094
|
+
$this.y2l_1 = state;
|
|
3095
|
+
$this.z2l_1 = ready;
|
|
2970
3096
|
if (0 === (seen1 & 64))
|
|
2971
|
-
$this.
|
|
3097
|
+
$this.a2m_1 = null;
|
|
2972
3098
|
else
|
|
2973
|
-
$this.
|
|
3099
|
+
$this.a2m_1 = tag;
|
|
2974
3100
|
if (0 === (seen1 & 128))
|
|
2975
|
-
$this.
|
|
3101
|
+
$this.b2m_1 = null;
|
|
2976
3102
|
else
|
|
2977
|
-
$this.
|
|
3103
|
+
$this.b2m_1 = connection;
|
|
2978
3104
|
return $this;
|
|
2979
3105
|
}
|
|
2980
3106
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -2983,17 +3109,17 @@
|
|
|
2983
3109
|
function PlayerStateDto() {
|
|
2984
3110
|
}
|
|
2985
3111
|
protoOf(PlayerStateDto).toString = function () {
|
|
2986
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3112
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.u2l_1) + ', startFrom=' + this.v2l_1 + ', playerTurnTimeout=' + this.w2l_1 + ', waitPlayerUntilTime=' + this.x2l_1 + ', state=' + this.y2l_1 + ', ready=' + this.z2l_1 + ', tag=' + this.a2m_1 + ', connection=' + this.b2m_1 + ')';
|
|
2987
3113
|
};
|
|
2988
3114
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
2989
|
-
var result = this.
|
|
2990
|
-
result = imul(result, 31) + (this.
|
|
2991
|
-
result = imul(result, 31) + (this.
|
|
2992
|
-
result = imul(result, 31) + (this.
|
|
2993
|
-
result = imul(result, 31) + this.
|
|
2994
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2995
|
-
result = imul(result, 31) + (this.
|
|
2996
|
-
result = imul(result, 31) + (this.
|
|
3115
|
+
var result = this.u2l_1 == null ? 0 : this.u2l_1.hashCode();
|
|
3116
|
+
result = imul(result, 31) + (this.v2l_1 == null ? 0 : getStringHashCode(this.v2l_1)) | 0;
|
|
3117
|
+
result = imul(result, 31) + (this.w2l_1 == null ? 0 : getStringHashCode(this.w2l_1)) | 0;
|
|
3118
|
+
result = imul(result, 31) + (this.x2l_1 == null ? 0 : getStringHashCode(this.x2l_1)) | 0;
|
|
3119
|
+
result = imul(result, 31) + this.y2l_1.hashCode() | 0;
|
|
3120
|
+
result = imul(result, 31) + getBooleanHashCode(this.z2l_1) | 0;
|
|
3121
|
+
result = imul(result, 31) + (this.a2m_1 == null ? 0 : getStringHashCode(this.a2m_1)) | 0;
|
|
3122
|
+
result = imul(result, 31) + (this.b2m_1 == null ? 0 : this.b2m_1.hashCode()) | 0;
|
|
2997
3123
|
return result;
|
|
2998
3124
|
};
|
|
2999
3125
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3002,26 +3128,29 @@
|
|
|
3002
3128
|
if (!(other instanceof PlayerStateDto))
|
|
3003
3129
|
return false;
|
|
3004
3130
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3005
|
-
if (!equals(this.
|
|
3131
|
+
if (!equals(this.u2l_1, tmp0_other_with_cast.u2l_1))
|
|
3006
3132
|
return false;
|
|
3007
|
-
if (!(this.
|
|
3133
|
+
if (!(this.v2l_1 == tmp0_other_with_cast.v2l_1))
|
|
3008
3134
|
return false;
|
|
3009
|
-
if (!(this.
|
|
3135
|
+
if (!(this.w2l_1 == tmp0_other_with_cast.w2l_1))
|
|
3010
3136
|
return false;
|
|
3011
|
-
if (!(this.
|
|
3137
|
+
if (!(this.x2l_1 == tmp0_other_with_cast.x2l_1))
|
|
3012
3138
|
return false;
|
|
3013
|
-
if (!this.
|
|
3139
|
+
if (!this.y2l_1.equals(tmp0_other_with_cast.y2l_1))
|
|
3014
3140
|
return false;
|
|
3015
|
-
if (!(this.
|
|
3141
|
+
if (!(this.z2l_1 === tmp0_other_with_cast.z2l_1))
|
|
3016
3142
|
return false;
|
|
3017
|
-
if (!(this.
|
|
3143
|
+
if (!(this.a2m_1 == tmp0_other_with_cast.a2m_1))
|
|
3018
3144
|
return false;
|
|
3019
|
-
if (!equals(this.
|
|
3145
|
+
if (!equals(this.b2m_1, tmp0_other_with_cast.b2m_1))
|
|
3020
3146
|
return false;
|
|
3021
3147
|
return true;
|
|
3022
3148
|
};
|
|
3023
3149
|
function Companion_17() {
|
|
3024
3150
|
}
|
|
3151
|
+
protoOf(Companion_17).o1z = function () {
|
|
3152
|
+
return $serializer_getInstance_8();
|
|
3153
|
+
};
|
|
3025
3154
|
var Companion_instance_17;
|
|
3026
3155
|
function Companion_getInstance_18() {
|
|
3027
3156
|
return Companion_instance_17;
|
|
@@ -3046,10 +3175,10 @@
|
|
|
3046
3175
|
tmp0_serialDesc.k1n('checkTrumpCombination', true);
|
|
3047
3176
|
tmp0_serialDesc.k1n('checkOnlyTrumpDebertz', true);
|
|
3048
3177
|
tmp0_serialDesc.k1n('tenCardsInHand', true);
|
|
3049
|
-
this.
|
|
3178
|
+
this.c2m_1 = tmp0_serialDesc;
|
|
3050
3179
|
}
|
|
3051
3180
|
protoOf($serializer_8).p1c = function () {
|
|
3052
|
-
return this.
|
|
3181
|
+
return this.c2m_1;
|
|
3053
3182
|
};
|
|
3054
3183
|
protoOf($serializer_8).z1n = function () {
|
|
3055
3184
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3058,7 +3187,7 @@
|
|
|
3058
3187
|
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), IntSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
|
|
3059
3188
|
};
|
|
3060
3189
|
protoOf($serializer_8).r1c = function (decoder) {
|
|
3061
|
-
var tmp0_desc = this.
|
|
3190
|
+
var tmp0_desc = this.c2m_1;
|
|
3062
3191
|
var tmp1_flag = true;
|
|
3063
3192
|
var tmp2_index = 0;
|
|
3064
3193
|
var tmp3_bitMask0 = 0;
|
|
@@ -3197,62 +3326,62 @@
|
|
|
3197
3326
|
tmp21_input.y1f(tmp0_desc);
|
|
3198
3327
|
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, null);
|
|
3199
3328
|
};
|
|
3200
|
-
protoOf($serializer_8).
|
|
3201
|
-
var tmp0_desc = this.
|
|
3329
|
+
protoOf($serializer_8).d2m = function (encoder, value) {
|
|
3330
|
+
var tmp0_desc = this.c2m_1;
|
|
3202
3331
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
3203
|
-
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.
|
|
3204
|
-
tmp1_output.q1h(tmp0_desc, 0, BooleanSerializer_getInstance(), value.
|
|
3332
|
+
if (tmp1_output.u1h(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3333
|
+
tmp1_output.q1h(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
3205
3334
|
}
|
|
3206
|
-
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.
|
|
3207
|
-
tmp1_output.q1h(tmp0_desc, 1, BooleanSerializer_getInstance(), value.
|
|
3335
|
+
if (tmp1_output.u1h(tmp0_desc, 1) ? true : !(value.distributePoints == null)) {
|
|
3336
|
+
tmp1_output.q1h(tmp0_desc, 1, BooleanSerializer_getInstance(), value.distributePoints);
|
|
3208
3337
|
}
|
|
3209
|
-
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.
|
|
3210
|
-
tmp1_output.q1h(tmp0_desc, 2, BooleanSerializer_getInstance(), value.
|
|
3338
|
+
if (tmp1_output.u1h(tmp0_desc, 2) ? true : !(value.protectBella == null)) {
|
|
3339
|
+
tmp1_output.q1h(tmp0_desc, 2, BooleanSerializer_getInstance(), value.protectBella);
|
|
3211
3340
|
}
|
|
3212
|
-
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.
|
|
3213
|
-
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3341
|
+
if (tmp1_output.u1h(tmp0_desc, 3) ? true : !(value.oneTryToProtectBella == null)) {
|
|
3342
|
+
tmp1_output.q1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.oneTryToProtectBella);
|
|
3214
3343
|
}
|
|
3215
|
-
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.
|
|
3216
|
-
tmp1_output.q1h(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3344
|
+
if (tmp1_output.u1h(tmp0_desc, 4) ? true : !(value.enableFourSevensCombination == null)) {
|
|
3345
|
+
tmp1_output.q1h(tmp0_desc, 4, BooleanSerializer_getInstance(), value.enableFourSevensCombination);
|
|
3217
3346
|
}
|
|
3218
|
-
if (tmp1_output.u1h(tmp0_desc, 5) ? true : !(value.
|
|
3219
|
-
tmp1_output.q1h(tmp0_desc, 5, BooleanSerializer_getInstance(), value.
|
|
3347
|
+
if (tmp1_output.u1h(tmp0_desc, 5) ? true : !(value.enableTrumpSevenCombination == null)) {
|
|
3348
|
+
tmp1_output.q1h(tmp0_desc, 5, BooleanSerializer_getInstance(), value.enableTrumpSevenCombination);
|
|
3220
3349
|
}
|
|
3221
|
-
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.
|
|
3222
|
-
tmp1_output.q1h(tmp0_desc, 6, BooleanSerializer_getInstance(), value.
|
|
3350
|
+
if (tmp1_output.u1h(tmp0_desc, 6) ? true : !(value.enableTrumpSevenCombinationAfterDistribution == null)) {
|
|
3351
|
+
tmp1_output.q1h(tmp0_desc, 6, BooleanSerializer_getInstance(), value.enableTrumpSevenCombinationAfterDistribution);
|
|
3223
3352
|
}
|
|
3224
|
-
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.
|
|
3225
|
-
tmp1_output.q1h(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
3353
|
+
if (tmp1_output.u1h(tmp0_desc, 7) ? true : !(value.playerWhoChooseSuitGoFirst == null)) {
|
|
3354
|
+
tmp1_output.q1h(tmp0_desc, 7, BooleanSerializer_getInstance(), value.playerWhoChooseSuitGoFirst);
|
|
3226
3355
|
}
|
|
3227
|
-
if (tmp1_output.u1h(tmp0_desc, 8) ? true : !(value.
|
|
3228
|
-
tmp1_output.q1h(tmp0_desc, 8, BooleanSerializer_getInstance(), value.
|
|
3356
|
+
if (tmp1_output.u1h(tmp0_desc, 8) ? true : !(value.winnerShuffleCards == null)) {
|
|
3357
|
+
tmp1_output.q1h(tmp0_desc, 8, BooleanSerializer_getInstance(), value.winnerShuffleCards);
|
|
3229
3358
|
}
|
|
3230
|
-
if (tmp1_output.u1h(tmp0_desc, 9) ? true : !(value.
|
|
3231
|
-
tmp1_output.q1h(tmp0_desc, 9, BooleanSerializer_getInstance(), value.
|
|
3359
|
+
if (tmp1_output.u1h(tmp0_desc, 9) ? true : !(value.playWithoutLiabilities == null)) {
|
|
3360
|
+
tmp1_output.q1h(tmp0_desc, 9, BooleanSerializer_getInstance(), value.playWithoutLiabilities);
|
|
3232
3361
|
}
|
|
3233
|
-
if (tmp1_output.u1h(tmp0_desc, 10) ? true : !(value.
|
|
3234
|
-
tmp1_output.q1h(tmp0_desc, 10, BooleanSerializer_getInstance(), value.
|
|
3362
|
+
if (tmp1_output.u1h(tmp0_desc, 10) ? true : !(value.trumpCardGoToPlayerWhoShuffleCards == null)) {
|
|
3363
|
+
tmp1_output.q1h(tmp0_desc, 10, BooleanSerializer_getInstance(), value.trumpCardGoToPlayerWhoShuffleCards);
|
|
3235
3364
|
}
|
|
3236
|
-
if (tmp1_output.u1h(tmp0_desc, 11) ? true : !(value.
|
|
3237
|
-
tmp1_output.q1h(tmp0_desc, 11, BooleanSerializer_getInstance(), value.
|
|
3365
|
+
if (tmp1_output.u1h(tmp0_desc, 11) ? true : !(value.enableFineIfNoBribes == null)) {
|
|
3366
|
+
tmp1_output.q1h(tmp0_desc, 11, BooleanSerializer_getInstance(), value.enableFineIfNoBribes);
|
|
3238
3367
|
}
|
|
3239
|
-
tmp1_output.h1h(tmp0_desc, 12, value.
|
|
3240
|
-
if (tmp1_output.u1h(tmp0_desc, 13) ? true : !(value.
|
|
3241
|
-
tmp1_output.q1h(tmp0_desc, 13, BooleanSerializer_getInstance(), value.
|
|
3368
|
+
tmp1_output.h1h(tmp0_desc, 12, value.fineIfNoBribes);
|
|
3369
|
+
if (tmp1_output.u1h(tmp0_desc, 13) ? true : !(value.enableFineAfterThirdByte == null)) {
|
|
3370
|
+
tmp1_output.q1h(tmp0_desc, 13, BooleanSerializer_getInstance(), value.enableFineAfterThirdByte);
|
|
3242
3371
|
}
|
|
3243
|
-
if (tmp1_output.u1h(tmp0_desc, 14) ? true : !(value.
|
|
3244
|
-
tmp1_output.q1h(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
3372
|
+
if (tmp1_output.u1h(tmp0_desc, 14) ? true : !(value.checkTrumpCombination == null)) {
|
|
3373
|
+
tmp1_output.q1h(tmp0_desc, 14, BooleanSerializer_getInstance(), value.checkTrumpCombination);
|
|
3245
3374
|
}
|
|
3246
|
-
if (tmp1_output.u1h(tmp0_desc, 15) ? true : !(value.
|
|
3247
|
-
tmp1_output.q1h(tmp0_desc, 15, BooleanSerializer_getInstance(), value.
|
|
3375
|
+
if (tmp1_output.u1h(tmp0_desc, 15) ? true : !(value.checkOnlyTrumpDebertz == null)) {
|
|
3376
|
+
tmp1_output.q1h(tmp0_desc, 15, BooleanSerializer_getInstance(), value.checkOnlyTrumpDebertz);
|
|
3248
3377
|
}
|
|
3249
|
-
if (tmp1_output.u1h(tmp0_desc, 16) ? true : !(value.
|
|
3250
|
-
tmp1_output.q1h(tmp0_desc, 16, BooleanSerializer_getInstance(), value.
|
|
3378
|
+
if (tmp1_output.u1h(tmp0_desc, 16) ? true : !(value.tenCardsInHand == null)) {
|
|
3379
|
+
tmp1_output.q1h(tmp0_desc, 16, BooleanSerializer_getInstance(), value.tenCardsInHand);
|
|
3251
3380
|
}
|
|
3252
3381
|
tmp1_output.y1f(tmp0_desc);
|
|
3253
3382
|
};
|
|
3254
3383
|
protoOf($serializer_8).q1c = function (encoder, value) {
|
|
3255
|
-
return this.
|
|
3384
|
+
return this.d2m(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3256
3385
|
};
|
|
3257
3386
|
var $serializer_instance_8;
|
|
3258
3387
|
function $serializer_getInstance_8() {
|
|
@@ -3262,73 +3391,73 @@
|
|
|
3262
3391
|
}
|
|
3263
3392
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
3264
3393
|
if (!(4096 === (4096 & seen1))) {
|
|
3265
|
-
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().
|
|
3394
|
+
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().c2m_1);
|
|
3266
3395
|
}
|
|
3267
3396
|
if (0 === (seen1 & 1))
|
|
3268
|
-
$this.
|
|
3397
|
+
$this.needToPutHigherTrump = null;
|
|
3269
3398
|
else
|
|
3270
|
-
$this.
|
|
3399
|
+
$this.needToPutHigherTrump = needToPutHigherTrump;
|
|
3271
3400
|
if (0 === (seen1 & 2))
|
|
3272
|
-
$this.
|
|
3401
|
+
$this.distributePoints = null;
|
|
3273
3402
|
else
|
|
3274
|
-
$this.
|
|
3403
|
+
$this.distributePoints = distributePoints;
|
|
3275
3404
|
if (0 === (seen1 & 4))
|
|
3276
|
-
$this.
|
|
3405
|
+
$this.protectBella = null;
|
|
3277
3406
|
else
|
|
3278
|
-
$this.
|
|
3407
|
+
$this.protectBella = protectBella;
|
|
3279
3408
|
if (0 === (seen1 & 8))
|
|
3280
|
-
$this.
|
|
3409
|
+
$this.oneTryToProtectBella = null;
|
|
3281
3410
|
else
|
|
3282
|
-
$this.
|
|
3411
|
+
$this.oneTryToProtectBella = oneTryToProtectBella;
|
|
3283
3412
|
if (0 === (seen1 & 16))
|
|
3284
|
-
$this.
|
|
3413
|
+
$this.enableFourSevensCombination = null;
|
|
3285
3414
|
else
|
|
3286
|
-
$this.
|
|
3415
|
+
$this.enableFourSevensCombination = enableFourSevensCombination;
|
|
3287
3416
|
if (0 === (seen1 & 32))
|
|
3288
|
-
$this.
|
|
3417
|
+
$this.enableTrumpSevenCombination = null;
|
|
3289
3418
|
else
|
|
3290
|
-
$this.
|
|
3419
|
+
$this.enableTrumpSevenCombination = enableTrumpSevenCombination;
|
|
3291
3420
|
if (0 === (seen1 & 64))
|
|
3292
|
-
$this.
|
|
3421
|
+
$this.enableTrumpSevenCombinationAfterDistribution = null;
|
|
3293
3422
|
else
|
|
3294
|
-
$this.
|
|
3423
|
+
$this.enableTrumpSevenCombinationAfterDistribution = enableTrumpSevenCombinationAfterDistribution;
|
|
3295
3424
|
if (0 === (seen1 & 128))
|
|
3296
|
-
$this.
|
|
3425
|
+
$this.playerWhoChooseSuitGoFirst = null;
|
|
3297
3426
|
else
|
|
3298
|
-
$this.
|
|
3427
|
+
$this.playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst;
|
|
3299
3428
|
if (0 === (seen1 & 256))
|
|
3300
|
-
$this.
|
|
3429
|
+
$this.winnerShuffleCards = null;
|
|
3301
3430
|
else
|
|
3302
|
-
$this.
|
|
3431
|
+
$this.winnerShuffleCards = winnerShuffleCards;
|
|
3303
3432
|
if (0 === (seen1 & 512))
|
|
3304
|
-
$this.
|
|
3433
|
+
$this.playWithoutLiabilities = null;
|
|
3305
3434
|
else
|
|
3306
|
-
$this.
|
|
3435
|
+
$this.playWithoutLiabilities = playWithoutLiabilities;
|
|
3307
3436
|
if (0 === (seen1 & 1024))
|
|
3308
|
-
$this.
|
|
3437
|
+
$this.trumpCardGoToPlayerWhoShuffleCards = null;
|
|
3309
3438
|
else
|
|
3310
|
-
$this.
|
|
3439
|
+
$this.trumpCardGoToPlayerWhoShuffleCards = trumpCardGoToPlayerWhoShuffleCards;
|
|
3311
3440
|
if (0 === (seen1 & 2048))
|
|
3312
|
-
$this.
|
|
3441
|
+
$this.enableFineIfNoBribes = null;
|
|
3313
3442
|
else
|
|
3314
|
-
$this.
|
|
3315
|
-
$this.
|
|
3443
|
+
$this.enableFineIfNoBribes = enableFineIfNoBribes;
|
|
3444
|
+
$this.fineIfNoBribes = fineIfNoBribes;
|
|
3316
3445
|
if (0 === (seen1 & 8192))
|
|
3317
|
-
$this.
|
|
3446
|
+
$this.enableFineAfterThirdByte = null;
|
|
3318
3447
|
else
|
|
3319
|
-
$this.
|
|
3448
|
+
$this.enableFineAfterThirdByte = enableFineAfterThirdByte;
|
|
3320
3449
|
if (0 === (seen1 & 16384))
|
|
3321
|
-
$this.
|
|
3450
|
+
$this.checkTrumpCombination = null;
|
|
3322
3451
|
else
|
|
3323
|
-
$this.
|
|
3452
|
+
$this.checkTrumpCombination = checkTrumpCombination;
|
|
3324
3453
|
if (0 === (seen1 & 32768))
|
|
3325
|
-
$this.
|
|
3454
|
+
$this.checkOnlyTrumpDebertz = null;
|
|
3326
3455
|
else
|
|
3327
|
-
$this.
|
|
3456
|
+
$this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3328
3457
|
if (0 === (seen1 & 65536))
|
|
3329
|
-
$this.
|
|
3458
|
+
$this.tenCardsInHand = null;
|
|
3330
3459
|
else
|
|
3331
|
-
$this.
|
|
3460
|
+
$this.tenCardsInHand = tenCardsInHand;
|
|
3332
3461
|
return $this;
|
|
3333
3462
|
}
|
|
3334
3463
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -3351,45 +3480,170 @@
|
|
|
3351
3480
|
checkTrumpCombination = checkTrumpCombination === VOID ? null : checkTrumpCombination;
|
|
3352
3481
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? null : checkOnlyTrumpDebertz;
|
|
3353
3482
|
tenCardsInHand = tenCardsInHand === VOID ? null : tenCardsInHand;
|
|
3354
|
-
this.
|
|
3355
|
-
this.
|
|
3356
|
-
this.
|
|
3357
|
-
this.
|
|
3358
|
-
this.
|
|
3359
|
-
this.
|
|
3360
|
-
this.
|
|
3361
|
-
this.
|
|
3362
|
-
this.
|
|
3363
|
-
this.
|
|
3364
|
-
this.
|
|
3365
|
-
this.
|
|
3366
|
-
this.
|
|
3367
|
-
this.
|
|
3368
|
-
this.
|
|
3369
|
-
this.
|
|
3370
|
-
this.
|
|
3483
|
+
this.needToPutHigherTrump = needToPutHigherTrump;
|
|
3484
|
+
this.distributePoints = distributePoints;
|
|
3485
|
+
this.protectBella = protectBella;
|
|
3486
|
+
this.oneTryToProtectBella = oneTryToProtectBella;
|
|
3487
|
+
this.enableFourSevensCombination = enableFourSevensCombination;
|
|
3488
|
+
this.enableTrumpSevenCombination = enableTrumpSevenCombination;
|
|
3489
|
+
this.enableTrumpSevenCombinationAfterDistribution = enableTrumpSevenCombinationAfterDistribution;
|
|
3490
|
+
this.playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst;
|
|
3491
|
+
this.winnerShuffleCards = winnerShuffleCards;
|
|
3492
|
+
this.playWithoutLiabilities = playWithoutLiabilities;
|
|
3493
|
+
this.trumpCardGoToPlayerWhoShuffleCards = trumpCardGoToPlayerWhoShuffleCards;
|
|
3494
|
+
this.enableFineIfNoBribes = enableFineIfNoBribes;
|
|
3495
|
+
this.fineIfNoBribes = fineIfNoBribes;
|
|
3496
|
+
this.enableFineAfterThirdByte = enableFineAfterThirdByte;
|
|
3497
|
+
this.checkTrumpCombination = checkTrumpCombination;
|
|
3498
|
+
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3499
|
+
this.tenCardsInHand = tenCardsInHand;
|
|
3371
3500
|
}
|
|
3501
|
+
protoOf(RulesDto).w2j = function () {
|
|
3502
|
+
return this.needToPutHigherTrump;
|
|
3503
|
+
};
|
|
3504
|
+
protoOf(RulesDto).x2j = function () {
|
|
3505
|
+
return this.distributePoints;
|
|
3506
|
+
};
|
|
3507
|
+
protoOf(RulesDto).y2j = function () {
|
|
3508
|
+
return this.protectBella;
|
|
3509
|
+
};
|
|
3510
|
+
protoOf(RulesDto).z2j = function () {
|
|
3511
|
+
return this.oneTryToProtectBella;
|
|
3512
|
+
};
|
|
3513
|
+
protoOf(RulesDto).a2k = function () {
|
|
3514
|
+
return this.enableFourSevensCombination;
|
|
3515
|
+
};
|
|
3516
|
+
protoOf(RulesDto).b2k = function () {
|
|
3517
|
+
return this.enableTrumpSevenCombination;
|
|
3518
|
+
};
|
|
3519
|
+
protoOf(RulesDto).c2k = function () {
|
|
3520
|
+
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3521
|
+
};
|
|
3522
|
+
protoOf(RulesDto).d2k = function () {
|
|
3523
|
+
return this.playerWhoChooseSuitGoFirst;
|
|
3524
|
+
};
|
|
3525
|
+
protoOf(RulesDto).e2k = function () {
|
|
3526
|
+
return this.winnerShuffleCards;
|
|
3527
|
+
};
|
|
3528
|
+
protoOf(RulesDto).f2k = function () {
|
|
3529
|
+
return this.playWithoutLiabilities;
|
|
3530
|
+
};
|
|
3531
|
+
protoOf(RulesDto).g2k = function () {
|
|
3532
|
+
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3533
|
+
};
|
|
3534
|
+
protoOf(RulesDto).h2k = function () {
|
|
3535
|
+
return this.enableFineIfNoBribes;
|
|
3536
|
+
};
|
|
3537
|
+
protoOf(RulesDto).i2k = function () {
|
|
3538
|
+
return this.fineIfNoBribes;
|
|
3539
|
+
};
|
|
3540
|
+
protoOf(RulesDto).j2k = function () {
|
|
3541
|
+
return this.enableFineAfterThirdByte;
|
|
3542
|
+
};
|
|
3543
|
+
protoOf(RulesDto).k2k = function () {
|
|
3544
|
+
return this.checkTrumpCombination;
|
|
3545
|
+
};
|
|
3546
|
+
protoOf(RulesDto).l2k = function () {
|
|
3547
|
+
return this.checkOnlyTrumpDebertz;
|
|
3548
|
+
};
|
|
3549
|
+
protoOf(RulesDto).m2k = function () {
|
|
3550
|
+
return this.tenCardsInHand;
|
|
3551
|
+
};
|
|
3552
|
+
protoOf(RulesDto).oc = function () {
|
|
3553
|
+
return this.needToPutHigherTrump;
|
|
3554
|
+
};
|
|
3555
|
+
protoOf(RulesDto).pc = function () {
|
|
3556
|
+
return this.distributePoints;
|
|
3557
|
+
};
|
|
3558
|
+
protoOf(RulesDto).qg = function () {
|
|
3559
|
+
return this.protectBella;
|
|
3560
|
+
};
|
|
3561
|
+
protoOf(RulesDto).n2h = function () {
|
|
3562
|
+
return this.oneTryToProtectBella;
|
|
3563
|
+
};
|
|
3564
|
+
protoOf(RulesDto).o2h = function () {
|
|
3565
|
+
return this.enableFourSevensCombination;
|
|
3566
|
+
};
|
|
3567
|
+
protoOf(RulesDto).p2h = function () {
|
|
3568
|
+
return this.enableTrumpSevenCombination;
|
|
3569
|
+
};
|
|
3570
|
+
protoOf(RulesDto).n2k = function () {
|
|
3571
|
+
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3572
|
+
};
|
|
3573
|
+
protoOf(RulesDto).o2k = function () {
|
|
3574
|
+
return this.playerWhoChooseSuitGoFirst;
|
|
3575
|
+
};
|
|
3576
|
+
protoOf(RulesDto).p2k = function () {
|
|
3577
|
+
return this.winnerShuffleCards;
|
|
3578
|
+
};
|
|
3579
|
+
protoOf(RulesDto).q2k = function () {
|
|
3580
|
+
return this.playWithoutLiabilities;
|
|
3581
|
+
};
|
|
3582
|
+
protoOf(RulesDto).r2k = function () {
|
|
3583
|
+
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3584
|
+
};
|
|
3585
|
+
protoOf(RulesDto).s2k = function () {
|
|
3586
|
+
return this.enableFineIfNoBribes;
|
|
3587
|
+
};
|
|
3588
|
+
protoOf(RulesDto).t2k = function () {
|
|
3589
|
+
return this.fineIfNoBribes;
|
|
3590
|
+
};
|
|
3591
|
+
protoOf(RulesDto).u2k = function () {
|
|
3592
|
+
return this.enableFineAfterThirdByte;
|
|
3593
|
+
};
|
|
3594
|
+
protoOf(RulesDto).v2k = function () {
|
|
3595
|
+
return this.checkTrumpCombination;
|
|
3596
|
+
};
|
|
3597
|
+
protoOf(RulesDto).w2k = function () {
|
|
3598
|
+
return this.checkOnlyTrumpDebertz;
|
|
3599
|
+
};
|
|
3600
|
+
protoOf(RulesDto).x2k = function () {
|
|
3601
|
+
return this.tenCardsInHand;
|
|
3602
|
+
};
|
|
3603
|
+
protoOf(RulesDto).e2m = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
3604
|
+
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3605
|
+
};
|
|
3606
|
+
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
3607
|
+
needToPutHigherTrump = needToPutHigherTrump === VOID ? this.needToPutHigherTrump : needToPutHigherTrump;
|
|
3608
|
+
distributePoints = distributePoints === VOID ? this.distributePoints : distributePoints;
|
|
3609
|
+
protectBella = protectBella === VOID ? this.protectBella : protectBella;
|
|
3610
|
+
oneTryToProtectBella = oneTryToProtectBella === VOID ? this.oneTryToProtectBella : oneTryToProtectBella;
|
|
3611
|
+
enableFourSevensCombination = enableFourSevensCombination === VOID ? this.enableFourSevensCombination : enableFourSevensCombination;
|
|
3612
|
+
enableTrumpSevenCombination = enableTrumpSevenCombination === VOID ? this.enableTrumpSevenCombination : enableTrumpSevenCombination;
|
|
3613
|
+
enableTrumpSevenCombinationAfterDistribution = enableTrumpSevenCombinationAfterDistribution === VOID ? this.enableTrumpSevenCombinationAfterDistribution : enableTrumpSevenCombinationAfterDistribution;
|
|
3614
|
+
playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst === VOID ? this.playerWhoChooseSuitGoFirst : playerWhoChooseSuitGoFirst;
|
|
3615
|
+
winnerShuffleCards = winnerShuffleCards === VOID ? this.winnerShuffleCards : winnerShuffleCards;
|
|
3616
|
+
playWithoutLiabilities = playWithoutLiabilities === VOID ? this.playWithoutLiabilities : playWithoutLiabilities;
|
|
3617
|
+
trumpCardGoToPlayerWhoShuffleCards = trumpCardGoToPlayerWhoShuffleCards === VOID ? this.trumpCardGoToPlayerWhoShuffleCards : trumpCardGoToPlayerWhoShuffleCards;
|
|
3618
|
+
enableFineIfNoBribes = enableFineIfNoBribes === VOID ? this.enableFineIfNoBribes : enableFineIfNoBribes;
|
|
3619
|
+
fineIfNoBribes = fineIfNoBribes === VOID ? this.fineIfNoBribes : fineIfNoBribes;
|
|
3620
|
+
enableFineAfterThirdByte = enableFineAfterThirdByte === VOID ? this.enableFineAfterThirdByte : enableFineAfterThirdByte;
|
|
3621
|
+
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
3622
|
+
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
3623
|
+
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
3624
|
+
return this.e2m(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3625
|
+
};
|
|
3372
3626
|
protoOf(RulesDto).toString = function () {
|
|
3373
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
3627
|
+
return 'RulesDto(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
3374
3628
|
};
|
|
3375
3629
|
protoOf(RulesDto).hashCode = function () {
|
|
3376
|
-
var result = this.
|
|
3377
|
-
result = imul(result, 31) + (this.
|
|
3378
|
-
result = imul(result, 31) + (this.
|
|
3379
|
-
result = imul(result, 31) + (this.
|
|
3380
|
-
result = imul(result, 31) + (this.
|
|
3381
|
-
result = imul(result, 31) + (this.
|
|
3382
|
-
result = imul(result, 31) + (this.
|
|
3383
|
-
result = imul(result, 31) + (this.
|
|
3384
|
-
result = imul(result, 31) + (this.
|
|
3385
|
-
result = imul(result, 31) + (this.
|
|
3386
|
-
result = imul(result, 31) + (this.
|
|
3387
|
-
result = imul(result, 31) + (this.
|
|
3388
|
-
result = imul(result, 31) + this.
|
|
3389
|
-
result = imul(result, 31) + (this.
|
|
3390
|
-
result = imul(result, 31) + (this.
|
|
3391
|
-
result = imul(result, 31) + (this.
|
|
3392
|
-
result = imul(result, 31) + (this.
|
|
3630
|
+
var result = this.needToPutHigherTrump == null ? 0 : getBooleanHashCode(this.needToPutHigherTrump);
|
|
3631
|
+
result = imul(result, 31) + (this.distributePoints == null ? 0 : getBooleanHashCode(this.distributePoints)) | 0;
|
|
3632
|
+
result = imul(result, 31) + (this.protectBella == null ? 0 : getBooleanHashCode(this.protectBella)) | 0;
|
|
3633
|
+
result = imul(result, 31) + (this.oneTryToProtectBella == null ? 0 : getBooleanHashCode(this.oneTryToProtectBella)) | 0;
|
|
3634
|
+
result = imul(result, 31) + (this.enableFourSevensCombination == null ? 0 : getBooleanHashCode(this.enableFourSevensCombination)) | 0;
|
|
3635
|
+
result = imul(result, 31) + (this.enableTrumpSevenCombination == null ? 0 : getBooleanHashCode(this.enableTrumpSevenCombination)) | 0;
|
|
3636
|
+
result = imul(result, 31) + (this.enableTrumpSevenCombinationAfterDistribution == null ? 0 : getBooleanHashCode(this.enableTrumpSevenCombinationAfterDistribution)) | 0;
|
|
3637
|
+
result = imul(result, 31) + (this.playerWhoChooseSuitGoFirst == null ? 0 : getBooleanHashCode(this.playerWhoChooseSuitGoFirst)) | 0;
|
|
3638
|
+
result = imul(result, 31) + (this.winnerShuffleCards == null ? 0 : getBooleanHashCode(this.winnerShuffleCards)) | 0;
|
|
3639
|
+
result = imul(result, 31) + (this.playWithoutLiabilities == null ? 0 : getBooleanHashCode(this.playWithoutLiabilities)) | 0;
|
|
3640
|
+
result = imul(result, 31) + (this.trumpCardGoToPlayerWhoShuffleCards == null ? 0 : getBooleanHashCode(this.trumpCardGoToPlayerWhoShuffleCards)) | 0;
|
|
3641
|
+
result = imul(result, 31) + (this.enableFineIfNoBribes == null ? 0 : getBooleanHashCode(this.enableFineIfNoBribes)) | 0;
|
|
3642
|
+
result = imul(result, 31) + this.fineIfNoBribes | 0;
|
|
3643
|
+
result = imul(result, 31) + (this.enableFineAfterThirdByte == null ? 0 : getBooleanHashCode(this.enableFineAfterThirdByte)) | 0;
|
|
3644
|
+
result = imul(result, 31) + (this.checkTrumpCombination == null ? 0 : getBooleanHashCode(this.checkTrumpCombination)) | 0;
|
|
3645
|
+
result = imul(result, 31) + (this.checkOnlyTrumpDebertz == null ? 0 : getBooleanHashCode(this.checkOnlyTrumpDebertz)) | 0;
|
|
3646
|
+
result = imul(result, 31) + (this.tenCardsInHand == null ? 0 : getBooleanHashCode(this.tenCardsInHand)) | 0;
|
|
3393
3647
|
return result;
|
|
3394
3648
|
};
|
|
3395
3649
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3398,65 +3652,65 @@
|
|
|
3398
3652
|
if (!(other instanceof RulesDto))
|
|
3399
3653
|
return false;
|
|
3400
3654
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3401
|
-
if (!(this.
|
|
3655
|
+
if (!(this.needToPutHigherTrump == tmp0_other_with_cast.needToPutHigherTrump))
|
|
3402
3656
|
return false;
|
|
3403
|
-
if (!(this.
|
|
3657
|
+
if (!(this.distributePoints == tmp0_other_with_cast.distributePoints))
|
|
3404
3658
|
return false;
|
|
3405
|
-
if (!(this.
|
|
3659
|
+
if (!(this.protectBella == tmp0_other_with_cast.protectBella))
|
|
3406
3660
|
return false;
|
|
3407
|
-
if (!(this.
|
|
3661
|
+
if (!(this.oneTryToProtectBella == tmp0_other_with_cast.oneTryToProtectBella))
|
|
3408
3662
|
return false;
|
|
3409
|
-
if (!(this.
|
|
3663
|
+
if (!(this.enableFourSevensCombination == tmp0_other_with_cast.enableFourSevensCombination))
|
|
3410
3664
|
return false;
|
|
3411
|
-
if (!(this.
|
|
3665
|
+
if (!(this.enableTrumpSevenCombination == tmp0_other_with_cast.enableTrumpSevenCombination))
|
|
3412
3666
|
return false;
|
|
3413
|
-
if (!(this.
|
|
3667
|
+
if (!(this.enableTrumpSevenCombinationAfterDistribution == tmp0_other_with_cast.enableTrumpSevenCombinationAfterDistribution))
|
|
3414
3668
|
return false;
|
|
3415
|
-
if (!(this.
|
|
3669
|
+
if (!(this.playerWhoChooseSuitGoFirst == tmp0_other_with_cast.playerWhoChooseSuitGoFirst))
|
|
3416
3670
|
return false;
|
|
3417
|
-
if (!(this.
|
|
3671
|
+
if (!(this.winnerShuffleCards == tmp0_other_with_cast.winnerShuffleCards))
|
|
3418
3672
|
return false;
|
|
3419
|
-
if (!(this.
|
|
3673
|
+
if (!(this.playWithoutLiabilities == tmp0_other_with_cast.playWithoutLiabilities))
|
|
3420
3674
|
return false;
|
|
3421
|
-
if (!(this.
|
|
3675
|
+
if (!(this.trumpCardGoToPlayerWhoShuffleCards == tmp0_other_with_cast.trumpCardGoToPlayerWhoShuffleCards))
|
|
3422
3676
|
return false;
|
|
3423
|
-
if (!(this.
|
|
3677
|
+
if (!(this.enableFineIfNoBribes == tmp0_other_with_cast.enableFineIfNoBribes))
|
|
3424
3678
|
return false;
|
|
3425
|
-
if (!(this.
|
|
3679
|
+
if (!(this.fineIfNoBribes === tmp0_other_with_cast.fineIfNoBribes))
|
|
3426
3680
|
return false;
|
|
3427
|
-
if (!(this.
|
|
3681
|
+
if (!(this.enableFineAfterThirdByte == tmp0_other_with_cast.enableFineAfterThirdByte))
|
|
3428
3682
|
return false;
|
|
3429
|
-
if (!(this.
|
|
3683
|
+
if (!(this.checkTrumpCombination == tmp0_other_with_cast.checkTrumpCombination))
|
|
3430
3684
|
return false;
|
|
3431
|
-
if (!(this.
|
|
3685
|
+
if (!(this.checkOnlyTrumpDebertz == tmp0_other_with_cast.checkOnlyTrumpDebertz))
|
|
3432
3686
|
return false;
|
|
3433
|
-
if (!(this.
|
|
3687
|
+
if (!(this.tenCardsInHand == tmp0_other_with_cast.tenCardsInHand))
|
|
3434
3688
|
return false;
|
|
3435
3689
|
return true;
|
|
3436
3690
|
};
|
|
3437
3691
|
function CardIndexComparator() {
|
|
3438
3692
|
}
|
|
3439
|
-
protoOf(CardIndexComparator).
|
|
3440
|
-
return a.
|
|
3693
|
+
protoOf(CardIndexComparator).f2m = function (a, b) {
|
|
3694
|
+
return a.d2l_1 - b.d2l_1 | 0;
|
|
3441
3695
|
};
|
|
3442
3696
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
3443
3697
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3444
|
-
return this.
|
|
3698
|
+
return this.f2m(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3445
3699
|
};
|
|
3446
3700
|
var CardIndexComparator_instance;
|
|
3447
3701
|
function CardIndexComparator_getInstance() {
|
|
3448
3702
|
return CardIndexComparator_instance;
|
|
3449
3703
|
}
|
|
3450
3704
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
3451
|
-
this.
|
|
3452
|
-
this.
|
|
3705
|
+
this.g2m_1 = trump;
|
|
3706
|
+
this.h2m_1 = firstCardSuit;
|
|
3453
3707
|
}
|
|
3454
|
-
protoOf(CardGrowthComparator).
|
|
3455
|
-
return getGrowth(b, this.
|
|
3708
|
+
protoOf(CardGrowthComparator).f2m = function (a, b) {
|
|
3709
|
+
return getGrowth(b, this.g2m_1, this.h2m_1) - getGrowth(a, this.g2m_1, this.h2m_1) | 0;
|
|
3456
3710
|
};
|
|
3457
3711
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
3458
3712
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3459
|
-
return this.
|
|
3713
|
+
return this.f2m(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3460
3714
|
};
|
|
3461
3715
|
function filterByCardName(_this__u8e3s4, name) {
|
|
3462
3716
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3488,25 +3742,25 @@
|
|
|
3488
3742
|
}
|
|
3489
3743
|
function CardNumberComparator() {
|
|
3490
3744
|
}
|
|
3491
|
-
protoOf(CardNumberComparator).
|
|
3492
|
-
return b.
|
|
3745
|
+
protoOf(CardNumberComparator).f2m = function (a, b) {
|
|
3746
|
+
return b.i2m() - a.i2m() | 0;
|
|
3493
3747
|
};
|
|
3494
3748
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
3495
3749
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3496
|
-
return this.
|
|
3750
|
+
return this.f2m(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3497
3751
|
};
|
|
3498
3752
|
var CardNumberComparator_instance;
|
|
3499
3753
|
function CardNumberComparator_getInstance() {
|
|
3500
3754
|
return CardNumberComparator_instance;
|
|
3501
3755
|
}
|
|
3502
3756
|
function getPoint(_this__u8e3s4, trump) {
|
|
3503
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3757
|
+
var isTrump = trump.equals(_this__u8e3s4.j2m());
|
|
3504
3758
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
3505
3759
|
}
|
|
3506
3760
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3507
3761
|
var minPoint = 0;
|
|
3508
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3509
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3762
|
+
var isTrump = trump.equals(_this__u8e3s4.j2m());
|
|
3763
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.j2m());
|
|
3510
3764
|
var minGrowth;
|
|
3511
3765
|
var maxGrowth;
|
|
3512
3766
|
switch (_this__u8e3s4.z8().b8_1) {
|
|
@@ -3596,7 +3850,7 @@
|
|
|
3596
3850
|
return tmp;
|
|
3597
3851
|
}
|
|
3598
3852
|
function getValueInHand(_this__u8e3s4, trump, allCards) {
|
|
3599
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3853
|
+
var isTrump = trump.equals(_this__u8e3s4.j2m());
|
|
3600
3854
|
return getValueInHand_0(_this__u8e3s4, isTrump, allCards);
|
|
3601
3855
|
}
|
|
3602
3856
|
function getValueInHand_0(_this__u8e3s4, isTrump, allCards) {
|
|
@@ -3680,7 +3934,7 @@
|
|
|
3680
3934
|
var element = indexedObject[inductionVariable];
|
|
3681
3935
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3682
3936
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3683
|
-
if (p1.
|
|
3937
|
+
if (p1.j2m().equals(element)) {
|
|
3684
3938
|
tmp$ret$1 = true;
|
|
3685
3939
|
break $l$block;
|
|
3686
3940
|
}
|
|
@@ -3777,10 +4031,10 @@
|
|
|
3777
4031
|
}
|
|
3778
4032
|
function Companion_18() {
|
|
3779
4033
|
}
|
|
3780
|
-
protoOf(Companion_18).
|
|
4034
|
+
protoOf(Companion_18).k2m = function (suit, cardNumber) {
|
|
3781
4035
|
return new GameCard(getNumber(Companion_instance_19, cardNumber, suit));
|
|
3782
4036
|
};
|
|
3783
|
-
protoOf(Companion_18).
|
|
4037
|
+
protoOf(Companion_18).l2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
3784
4038
|
var tmp;
|
|
3785
4039
|
if (previousStubCardWithMaxIndex == null) {
|
|
3786
4040
|
tmp = null;
|
|
@@ -3789,7 +4043,7 @@
|
|
|
3789
4043
|
// Inline function 'kotlin.contracts.contract' call
|
|
3790
4044
|
var tmp_0;
|
|
3791
4045
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3792
|
-
if (previousStubCardWithMaxIndex.
|
|
4046
|
+
if (previousStubCardWithMaxIndex.m2m()) {
|
|
3793
4047
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
3794
4048
|
} else {
|
|
3795
4049
|
tmp_0 = null;
|
|
@@ -3797,8 +4051,8 @@
|
|
|
3797
4051
|
tmp = tmp_0;
|
|
3798
4052
|
}
|
|
3799
4053
|
var tmp1_safe_receiver = tmp;
|
|
3800
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3801
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.
|
|
4054
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.d2l_1;
|
|
4055
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.r2m(tmp2_safe_receiver, playerIndex, reverse);
|
|
3802
4056
|
var tmp_1;
|
|
3803
4057
|
if (tmp3_safe_receiver == null) {
|
|
3804
4058
|
tmp_1 = null;
|
|
@@ -3819,10 +4073,10 @@
|
|
|
3819
4073
|
var index = tmp_2;
|
|
3820
4074
|
return new GameCard(index);
|
|
3821
4075
|
};
|
|
3822
|
-
protoOf(Companion_18).
|
|
4076
|
+
protoOf(Companion_18).s2m = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
3823
4077
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
3824
4078
|
reverse = reverse === VOID ? false : reverse;
|
|
3825
|
-
return $super === VOID ? this.
|
|
4079
|
+
return $super === VOID ? this.l2m(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.l2m.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3826
4080
|
};
|
|
3827
4081
|
var Companion_instance_18;
|
|
3828
4082
|
function Companion_getInstance_19() {
|
|
@@ -3926,7 +4180,7 @@
|
|
|
3926
4180
|
return tmp;
|
|
3927
4181
|
}
|
|
3928
4182
|
function _get_isShirt__vd98rp($this) {
|
|
3929
|
-
return $this.
|
|
4183
|
+
return $this.d2l_1 === 52;
|
|
3930
4184
|
}
|
|
3931
4185
|
function CardName(name, ordinal) {
|
|
3932
4186
|
Enum.call(this, name, ordinal);
|
|
@@ -3935,12 +4189,12 @@
|
|
|
3935
4189
|
return getShorName(this);
|
|
3936
4190
|
};
|
|
3937
4191
|
function Companion_19() {
|
|
3938
|
-
this.
|
|
3939
|
-
this.
|
|
3940
|
-
this.
|
|
3941
|
-
this.
|
|
4192
|
+
this.n2m_1 = -1;
|
|
4193
|
+
this.o2m_1 = 13;
|
|
4194
|
+
this.p2m_1 = 52;
|
|
4195
|
+
this.q2m_1 = 53;
|
|
3942
4196
|
}
|
|
3943
|
-
protoOf(Companion_19).
|
|
4197
|
+
protoOf(Companion_19).r2m = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3944
4198
|
var tmp;
|
|
3945
4199
|
if (reverse) {
|
|
3946
4200
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -4010,56 +4264,56 @@
|
|
|
4010
4264
|
return CardName_STUB_instance;
|
|
4011
4265
|
}
|
|
4012
4266
|
function GameCard(index) {
|
|
4013
|
-
this.
|
|
4267
|
+
this.d2l_1 = index;
|
|
4014
4268
|
}
|
|
4015
|
-
protoOf(GameCard).
|
|
4269
|
+
protoOf(GameCard).j2m = function () {
|
|
4016
4270
|
var tmp;
|
|
4017
|
-
var containsArg = this.
|
|
4271
|
+
var containsArg = this.d2l_1;
|
|
4018
4272
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
4019
4273
|
tmp = Suit_DIAMOND_getInstance();
|
|
4020
4274
|
} else {
|
|
4021
|
-
if (this.
|
|
4275
|
+
if (this.d2l_1 <= 26) {
|
|
4022
4276
|
tmp = Suit_SPADE_getInstance();
|
|
4023
4277
|
} else {
|
|
4024
|
-
if (this.
|
|
4278
|
+
if (this.d2l_1 <= 39) {
|
|
4025
4279
|
tmp = Suit_HEART_getInstance();
|
|
4026
4280
|
} else {
|
|
4027
|
-
if (this.
|
|
4281
|
+
if (this.d2l_1 <= 52) {
|
|
4028
4282
|
tmp = Suit_CLUB_getInstance();
|
|
4029
4283
|
} else {
|
|
4030
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
4284
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.d2l_1);
|
|
4031
4285
|
}
|
|
4032
4286
|
}
|
|
4033
4287
|
}
|
|
4034
4288
|
}
|
|
4035
4289
|
return tmp;
|
|
4036
4290
|
};
|
|
4037
|
-
protoOf(GameCard).
|
|
4291
|
+
protoOf(GameCard).i2m = function () {
|
|
4038
4292
|
var tmp;
|
|
4039
|
-
if (this.
|
|
4293
|
+
if (this.m2m()) {
|
|
4040
4294
|
tmp = -1;
|
|
4041
4295
|
} else {
|
|
4042
|
-
tmp = this.
|
|
4296
|
+
tmp = this.d2l_1 - imul(13, getIndex(this.j2m())) | 0;
|
|
4043
4297
|
}
|
|
4044
4298
|
return tmp;
|
|
4045
4299
|
};
|
|
4046
4300
|
protoOf(GameCard).z8 = function () {
|
|
4047
|
-
return this.
|
|
4301
|
+
return this.m2m() ? CardName_STUB_getInstance() : getName(Companion_instance_19, this.i2m());
|
|
4048
4302
|
};
|
|
4049
|
-
protoOf(GameCard).
|
|
4050
|
-
return this.
|
|
4303
|
+
protoOf(GameCard).m2m = function () {
|
|
4304
|
+
return this.d2l_1 >= 53;
|
|
4051
4305
|
};
|
|
4052
4306
|
protoOf(GameCard).toString = function () {
|
|
4053
4307
|
if (_get_isShirt__vd98rp(this)) {
|
|
4054
4308
|
return 'GameCard(SHIRT)';
|
|
4055
4309
|
}
|
|
4056
|
-
if (this.
|
|
4057
|
-
return 'GameCard(STUB, ' + this.
|
|
4310
|
+
if (this.m2m()) {
|
|
4311
|
+
return 'GameCard(STUB, ' + this.d2l_1 + ')';
|
|
4058
4312
|
}
|
|
4059
|
-
return 'GameCard(' + this.
|
|
4313
|
+
return 'GameCard(' + this.j2m() + this.z8() + ', ' + this.d2l_1 + ')';
|
|
4060
4314
|
};
|
|
4061
4315
|
protoOf(GameCard).hashCode = function () {
|
|
4062
|
-
return this.
|
|
4316
|
+
return this.d2l_1;
|
|
4063
4317
|
};
|
|
4064
4318
|
protoOf(GameCard).equals = function (other) {
|
|
4065
4319
|
if (this === other)
|
|
@@ -4067,20 +4321,20 @@
|
|
|
4067
4321
|
if (!(other instanceof GameCard))
|
|
4068
4322
|
return false;
|
|
4069
4323
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
4070
|
-
if (!(this.
|
|
4324
|
+
if (!(this.d2l_1 === tmp0_other_with_cast.d2l_1))
|
|
4071
4325
|
return false;
|
|
4072
4326
|
return true;
|
|
4073
4327
|
};
|
|
4074
4328
|
function ProcessingCard(gameCard, payload) {
|
|
4075
|
-
this.
|
|
4076
|
-
this.
|
|
4329
|
+
this.t2m_1 = gameCard;
|
|
4330
|
+
this.u2m_1 = payload;
|
|
4077
4331
|
}
|
|
4078
4332
|
protoOf(ProcessingCard).toString = function () {
|
|
4079
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
4333
|
+
return 'ProcessingCard(gameCard=' + this.t2m_1 + ', payload=' + this.u2m_1 + ')';
|
|
4080
4334
|
};
|
|
4081
4335
|
protoOf(ProcessingCard).hashCode = function () {
|
|
4082
|
-
var result = this.
|
|
4083
|
-
result = imul(result, 31) + (this.
|
|
4336
|
+
var result = this.t2m_1.hashCode();
|
|
4337
|
+
result = imul(result, 31) + (this.u2m_1 == null ? 0 : hashCode(this.u2m_1)) | 0;
|
|
4084
4338
|
return result;
|
|
4085
4339
|
};
|
|
4086
4340
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -4089,14 +4343,14 @@
|
|
|
4089
4343
|
if (!(other instanceof ProcessingCard))
|
|
4090
4344
|
return false;
|
|
4091
4345
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
4092
|
-
if (!this.
|
|
4346
|
+
if (!this.t2m_1.equals(tmp0_other_with_cast.t2m_1))
|
|
4093
4347
|
return false;
|
|
4094
|
-
if (!equals(this.
|
|
4348
|
+
if (!equals(this.u2m_1, tmp0_other_with_cast.u2m_1))
|
|
4095
4349
|
return false;
|
|
4096
4350
|
return true;
|
|
4097
4351
|
};
|
|
4098
4352
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4099
|
-
return $this.
|
|
4353
|
+
return $this.v2m_1.o2();
|
|
4100
4354
|
}
|
|
4101
4355
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
4102
4356
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -4130,7 +4384,7 @@
|
|
|
4130
4384
|
Companion_instance_20 = this;
|
|
4131
4385
|
var tmp = this;
|
|
4132
4386
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4133
|
-
tmp.
|
|
4387
|
+
tmp.v2m_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
4134
4388
|
}
|
|
4135
4389
|
protoOf(Companion_20).o1z = function () {
|
|
4136
4390
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -4203,16 +4457,16 @@
|
|
|
4203
4457
|
return tmp;
|
|
4204
4458
|
}
|
|
4205
4459
|
function _no_name_provided__qut3iv($logger) {
|
|
4206
|
-
this.
|
|
4460
|
+
this.x2m_1 = $logger;
|
|
4207
4461
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
4208
4462
|
}
|
|
4209
4463
|
protoOf(_no_name_provided__qut3iv).yn = function (context, exception) {
|
|
4210
|
-
this.
|
|
4464
|
+
this.x2m_1.e('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
4211
4465
|
return Unit_instance;
|
|
4212
4466
|
};
|
|
4213
4467
|
function AsyncProviderImpl$launchWorkerWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4214
|
-
this.
|
|
4215
|
-
this.
|
|
4468
|
+
this.g2n_1 = this$0;
|
|
4469
|
+
this.h2n_1 = $block;
|
|
4216
4470
|
CoroutineImpl.call(this, resultContinuation);
|
|
4217
4471
|
}
|
|
4218
4472
|
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).o13 = function ($this$launch, $completion) {
|
|
@@ -4236,11 +4490,11 @@
|
|
|
4236
4490
|
continue $sm;
|
|
4237
4491
|
case 1:
|
|
4238
4492
|
var tmp_0 = this;
|
|
4239
|
-
tmp_0.
|
|
4493
|
+
tmp_0.k2n_1 = this.g2n_1.o2n_1;
|
|
4240
4494
|
var tmp_1 = this;
|
|
4241
|
-
tmp_1.
|
|
4495
|
+
tmp_1.l2n_1 = null;
|
|
4242
4496
|
this.fa_1 = 2;
|
|
4243
|
-
suspendResult = this.
|
|
4497
|
+
suspendResult = this.k2n_1.l1a(this.l2n_1, this);
|
|
4244
4498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4245
4499
|
return suspendResult;
|
|
4246
4500
|
}
|
|
@@ -4255,14 +4509,14 @@
|
|
|
4255
4509
|
case 4:
|
|
4256
4510
|
this.ga_1 = 9;
|
|
4257
4511
|
this.fa_1 = 5;
|
|
4258
|
-
suspendResult = this.
|
|
4512
|
+
suspendResult = this.h2n_1(this.i2n_1, this);
|
|
4259
4513
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4260
4514
|
return suspendResult;
|
|
4261
4515
|
}
|
|
4262
4516
|
|
|
4263
4517
|
continue $sm;
|
|
4264
4518
|
case 5:
|
|
4265
|
-
this.
|
|
4519
|
+
this.m2n_1 = suspendResult;
|
|
4266
4520
|
this.ga_1 = 10;
|
|
4267
4521
|
this.fa_1 = 6;
|
|
4268
4522
|
var tmp_2 = this;
|
|
@@ -4270,13 +4524,13 @@
|
|
|
4270
4524
|
case 6:
|
|
4271
4525
|
this.ga_1 = 10;
|
|
4272
4526
|
var tmp_3 = this;
|
|
4273
|
-
this.
|
|
4274
|
-
tmp_3.
|
|
4527
|
+
this.k2n_1.w19(this.l2n_1);
|
|
4528
|
+
tmp_3.j2n_1 = Unit_instance;
|
|
4275
4529
|
this.fa_1 = 8;
|
|
4276
4530
|
continue $sm;
|
|
4277
4531
|
case 7:
|
|
4278
4532
|
this.ga_1 = 10;
|
|
4279
|
-
this.
|
|
4533
|
+
this.k2n_1.w19(this.l2n_1);
|
|
4280
4534
|
if (false) {
|
|
4281
4535
|
this.fa_1 = 1;
|
|
4282
4536
|
continue $sm;
|
|
@@ -4289,7 +4543,7 @@
|
|
|
4289
4543
|
case 9:
|
|
4290
4544
|
this.ga_1 = 10;
|
|
4291
4545
|
var t = this.ia_1;
|
|
4292
|
-
this.
|
|
4546
|
+
this.k2n_1.w19(this.l2n_1);
|
|
4293
4547
|
throw t;
|
|
4294
4548
|
case 10:
|
|
4295
4549
|
throw this.ia_1;
|
|
@@ -4306,8 +4560,8 @@
|
|
|
4306
4560
|
while (true);
|
|
4307
4561
|
};
|
|
4308
4562
|
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).p13 = function ($this$launch, completion) {
|
|
4309
|
-
var i = new AsyncProviderImpl$launchWorkerWithLock$slambda(this.
|
|
4310
|
-
i.
|
|
4563
|
+
var i = new AsyncProviderImpl$launchWorkerWithLock$slambda(this.g2n_1, this.h2n_1, completion);
|
|
4564
|
+
i.i2n_1 = $this$launch;
|
|
4311
4565
|
return i;
|
|
4312
4566
|
};
|
|
4313
4567
|
function AsyncProviderImpl$launchWorkerWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -4319,36 +4573,36 @@
|
|
|
4319
4573
|
return l;
|
|
4320
4574
|
}
|
|
4321
4575
|
function AsyncProviderImpl(logger) {
|
|
4322
|
-
this.
|
|
4323
|
-
this.
|
|
4576
|
+
this.n2n_1 = Job();
|
|
4577
|
+
this.o2n_1 = Mutex();
|
|
4324
4578
|
var tmp = this;
|
|
4325
4579
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
4326
|
-
tmp.
|
|
4327
|
-
this.
|
|
4328
|
-
this.
|
|
4580
|
+
tmp.p2n_1 = new _no_name_provided__qut3iv(logger);
|
|
4581
|
+
this.q2n_1 = CoroutineScope_0(Dispatchers_getInstance().sr().sd(this.n2n_1));
|
|
4582
|
+
this.r2n_1 = CoroutineScope_0(Dispatchers_getInstance().or_1.sd(this.n2n_1));
|
|
4329
4583
|
}
|
|
4330
|
-
protoOf(AsyncProviderImpl).
|
|
4331
|
-
return this.
|
|
4584
|
+
protoOf(AsyncProviderImpl).s2n = function () {
|
|
4585
|
+
return this.p2n_1;
|
|
4332
4586
|
};
|
|
4333
|
-
protoOf(AsyncProviderImpl).
|
|
4334
|
-
return launch(this.
|
|
4587
|
+
protoOf(AsyncProviderImpl).t2n = function (context, block) {
|
|
4588
|
+
return launch(this.q2n_1, context, VOID, block);
|
|
4335
4589
|
};
|
|
4336
|
-
protoOf(AsyncProviderImpl).
|
|
4337
|
-
return launch(this.
|
|
4590
|
+
protoOf(AsyncProviderImpl).v2n = function (context, block) {
|
|
4591
|
+
return launch(this.r2n_1, context, VOID, block);
|
|
4338
4592
|
};
|
|
4339
|
-
protoOf(AsyncProviderImpl).
|
|
4340
|
-
return launch(this.
|
|
4593
|
+
protoOf(AsyncProviderImpl).x2n = function (context, block) {
|
|
4594
|
+
return launch(this.r2n_1, context, VOID, AsyncProviderImpl$launchWorkerWithLock$slambda_0(this, block, null));
|
|
4341
4595
|
};
|
|
4342
4596
|
protoOf(AsyncProviderImpl).ol = function () {
|
|
4343
|
-
if (!this.
|
|
4344
|
-
this.
|
|
4597
|
+
if (!this.n2n_1.zj()) {
|
|
4598
|
+
this.n2n_1.mk();
|
|
4345
4599
|
}
|
|
4346
4600
|
};
|
|
4347
4601
|
function AsyncProvider() {
|
|
4348
4602
|
}
|
|
4349
4603
|
function UUIDIdsProvider() {
|
|
4350
4604
|
}
|
|
4351
|
-
protoOf(UUIDIdsProvider).
|
|
4605
|
+
protoOf(UUIDIdsProvider).z2n = function () {
|
|
4352
4606
|
return uuid4().toString();
|
|
4353
4607
|
};
|
|
4354
4608
|
var UUIDIdsProvider_instance;
|
|
@@ -4358,45 +4612,45 @@
|
|
|
4358
4612
|
function IdsProvider() {
|
|
4359
4613
|
}
|
|
4360
4614
|
function JobsProviderImpl(logger) {
|
|
4361
|
-
this.
|
|
4615
|
+
this.a2o_1 = logger;
|
|
4362
4616
|
var tmp = this;
|
|
4363
4617
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
4364
|
-
tmp.
|
|
4618
|
+
tmp.b2o_1 = HashMap_init_$Create$();
|
|
4365
4619
|
}
|
|
4366
|
-
protoOf(JobsProviderImpl).
|
|
4367
|
-
if (this.
|
|
4368
|
-
this.
|
|
4620
|
+
protoOf(JobsProviderImpl).c2o = function (timerTag, job) {
|
|
4621
|
+
if (this.d2o(timerTag)) {
|
|
4622
|
+
this.a2o_1.w(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
4369
4623
|
}
|
|
4370
4624
|
// Inline function 'kotlin.collections.set' call
|
|
4371
|
-
this.
|
|
4625
|
+
this.b2o_1.k2(timerTag, job);
|
|
4372
4626
|
};
|
|
4373
|
-
protoOf(JobsProviderImpl).
|
|
4374
|
-
return this.
|
|
4627
|
+
protoOf(JobsProviderImpl).d2o = function (timerTag) {
|
|
4628
|
+
return this.b2o_1.r2(timerTag);
|
|
4375
4629
|
};
|
|
4376
|
-
protoOf(JobsProviderImpl).
|
|
4377
|
-
if (!this.
|
|
4378
|
-
this.
|
|
4630
|
+
protoOf(JobsProviderImpl).e2o = function (timerTag) {
|
|
4631
|
+
if (!this.d2o(timerTag)) {
|
|
4632
|
+
this.a2o_1.w(VOID, "Can't find timer for that tag: " + timerTag);
|
|
4379
4633
|
}
|
|
4380
|
-
this.
|
|
4634
|
+
this.b2o_1.l2(timerTag);
|
|
4381
4635
|
};
|
|
4382
|
-
protoOf(JobsProviderImpl).
|
|
4636
|
+
protoOf(JobsProviderImpl).f2o = function (timers) {
|
|
4383
4637
|
// Inline function 'kotlin.collections.forEach' call
|
|
4384
4638
|
var tmp0_iterator = timers.v();
|
|
4385
4639
|
while (tmp0_iterator.w()) {
|
|
4386
4640
|
var element = tmp0_iterator.y();
|
|
4387
4641
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
4388
|
-
var timer = this.
|
|
4642
|
+
var timer = this.b2o_1.t2(element);
|
|
4389
4643
|
if (timer == null)
|
|
4390
4644
|
null;
|
|
4391
4645
|
else {
|
|
4392
4646
|
timer.mk();
|
|
4393
4647
|
}
|
|
4394
4648
|
}
|
|
4395
|
-
this.
|
|
4649
|
+
this.b2o_1.j2().a1(toSet(timers));
|
|
4396
4650
|
};
|
|
4397
|
-
protoOf(JobsProviderImpl).
|
|
4398
|
-
var timer = this.
|
|
4399
|
-
this.
|
|
4651
|
+
protoOf(JobsProviderImpl).g2o = function (timerTag) {
|
|
4652
|
+
var timer = this.b2o_1.t2(timerTag);
|
|
4653
|
+
this.b2o_1.l2(timerTag);
|
|
4400
4654
|
if (timer == null)
|
|
4401
4655
|
null;
|
|
4402
4656
|
else {
|
|
@@ -4524,7 +4778,7 @@
|
|
|
4524
4778
|
}
|
|
4525
4779
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
4526
4780
|
try {
|
|
4527
|
-
currentState._v = currentReducer._v.
|
|
4781
|
+
currentState._v = currentReducer._v.h2o(currentState._v, action);
|
|
4528
4782
|
} catch ($p) {
|
|
4529
4783
|
if ($p instanceof Exception) {
|
|
4530
4784
|
var exception = $p;
|
|
@@ -4545,18 +4799,18 @@
|
|
|
4545
4799
|
};
|
|
4546
4800
|
}
|
|
4547
4801
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
4548
|
-
this.
|
|
4549
|
-
this.
|
|
4802
|
+
this.q2o_1 = $$this$unsafeFlow;
|
|
4803
|
+
this.r2o_1 = this$0;
|
|
4550
4804
|
CoroutineImpl.call(this, resultContinuation);
|
|
4551
4805
|
}
|
|
4552
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
4553
|
-
var tmp = this.
|
|
4806
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).v2o = function (value, $completion) {
|
|
4807
|
+
var tmp = this.w2o(value, $completion);
|
|
4554
4808
|
tmp.ha_1 = Unit_instance;
|
|
4555
4809
|
tmp.ia_1 = null;
|
|
4556
4810
|
return tmp.sa();
|
|
4557
4811
|
};
|
|
4558
4812
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).fb = function (p1, $completion) {
|
|
4559
|
-
return this.
|
|
4813
|
+
return this.v2o(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
4560
4814
|
};
|
|
4561
4815
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).sa = function () {
|
|
4562
4816
|
var suspendResult = this.ha_1;
|
|
@@ -4567,12 +4821,12 @@
|
|
|
4567
4821
|
case 0:
|
|
4568
4822
|
this.ga_1 = 2;
|
|
4569
4823
|
var tmp_0 = this;
|
|
4570
|
-
tmp_0.
|
|
4824
|
+
tmp_0.t2o_1 = this.q2o_1;
|
|
4571
4825
|
var tmp_1 = this;
|
|
4572
|
-
tmp_1.
|
|
4826
|
+
tmp_1.u2o_1 = this.s2o_1;
|
|
4573
4827
|
this.fa_1 = 1;
|
|
4574
|
-
this.
|
|
4575
|
-
suspendResult = this.
|
|
4828
|
+
this.u2o_1;
|
|
4829
|
+
suspendResult = this.t2o_1.ry(this.r2o_1.state, this);
|
|
4576
4830
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4577
4831
|
return suspendResult;
|
|
4578
4832
|
}
|
|
@@ -4594,23 +4848,23 @@
|
|
|
4594
4848
|
}
|
|
4595
4849
|
while (true);
|
|
4596
4850
|
};
|
|
4597
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
4598
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
4599
|
-
i.
|
|
4851
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).w2o = function (value, completion) {
|
|
4852
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.q2o_1, this.r2o_1, completion);
|
|
4853
|
+
i.s2o_1 = value;
|
|
4600
4854
|
return i;
|
|
4601
4855
|
};
|
|
4602
4856
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
4603
4857
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
4604
4858
|
var l = function (value, $completion) {
|
|
4605
|
-
return i.
|
|
4859
|
+
return i.v2o(value, $completion);
|
|
4606
4860
|
};
|
|
4607
4861
|
l.$arity = 1;
|
|
4608
4862
|
return l;
|
|
4609
4863
|
}
|
|
4610
4864
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
4611
4865
|
CoroutineImpl.call(this, resultContinuation);
|
|
4612
|
-
this.
|
|
4613
|
-
this.
|
|
4866
|
+
this.f2p_1 = _this__u8e3s4;
|
|
4867
|
+
this.g2p_1 = collector;
|
|
4614
4868
|
}
|
|
4615
4869
|
protoOf($collectCOROUTINE$0).sa = function () {
|
|
4616
4870
|
var suspendResult = this.ha_1;
|
|
@@ -4621,10 +4875,10 @@
|
|
|
4621
4875
|
case 0:
|
|
4622
4876
|
this.ga_1 = 2;
|
|
4623
4877
|
var tmp_0 = this;
|
|
4624
|
-
tmp_0.
|
|
4878
|
+
tmp_0.h2p_1 = this.g2p_1;
|
|
4625
4879
|
this.fa_1 = 1;
|
|
4626
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
4627
|
-
suspendResult = this.
|
|
4880
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.h2p_1, this.f2p_1.j2p_1, null);
|
|
4881
|
+
suspendResult = this.f2p_1.i2p_1.k10(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
4628
4882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4629
4883
|
return suspendResult;
|
|
4630
4884
|
}
|
|
@@ -4647,10 +4901,10 @@
|
|
|
4647
4901
|
while (true);
|
|
4648
4902
|
};
|
|
4649
4903
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
4650
|
-
this.
|
|
4904
|
+
this.k2p_1 = function_0;
|
|
4651
4905
|
}
|
|
4652
4906
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).ry = function (value, $completion) {
|
|
4653
|
-
return this.
|
|
4907
|
+
return this.k2p_1(value, $completion);
|
|
4654
4908
|
};
|
|
4655
4909
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
4656
4910
|
return function (action) {
|
|
@@ -4665,46 +4919,46 @@
|
|
|
4665
4919
|
};
|
|
4666
4920
|
}
|
|
4667
4921
|
function _no_name_provided__qut3iv_0($this, this$0) {
|
|
4668
|
-
this.
|
|
4669
|
-
this.
|
|
4922
|
+
this.i2p_1 = $this;
|
|
4923
|
+
this.j2p_1 = this$0;
|
|
4670
4924
|
}
|
|
4671
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
4925
|
+
protoOf(_no_name_provided__qut3iv_0).l2p = function (collector, $completion) {
|
|
4672
4926
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
4673
4927
|
tmp.ha_1 = Unit_instance;
|
|
4674
4928
|
tmp.ia_1 = null;
|
|
4675
4929
|
return tmp.sa();
|
|
4676
4930
|
};
|
|
4677
4931
|
protoOf(_no_name_provided__qut3iv_0).k10 = function (collector, $completion) {
|
|
4678
|
-
return this.
|
|
4932
|
+
return this.l2p(collector, $completion);
|
|
4679
4933
|
};
|
|
4680
4934
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
4681
|
-
this.
|
|
4682
|
-
this.
|
|
4683
|
-
this.
|
|
4935
|
+
this.p2p_1 = $currentState;
|
|
4936
|
+
this.q2p_1 = $stateTrigger;
|
|
4937
|
+
this.m2p_1 = this;
|
|
4684
4938
|
var tmp = this;
|
|
4685
|
-
tmp.
|
|
4939
|
+
tmp.n2p_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
4686
4940
|
var tmp_0 = this;
|
|
4687
|
-
tmp_0.
|
|
4941
|
+
tmp_0.o2p_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
4688
4942
|
}
|
|
4689
|
-
protoOf(createStore$2).
|
|
4690
|
-
return this.
|
|
4943
|
+
protoOf(createStore$2).r2p = function () {
|
|
4944
|
+
return this.m2p_1;
|
|
4691
4945
|
};
|
|
4692
4946
|
protoOf(createStore$2).xj = function () {
|
|
4693
|
-
return createStore$getState(this.
|
|
4947
|
+
return createStore$getState(this.p2p_1);
|
|
4694
4948
|
};
|
|
4695
|
-
protoOf(createStore$2).
|
|
4696
|
-
this.
|
|
4949
|
+
protoOf(createStore$2).s2p = function (_set____db54di) {
|
|
4950
|
+
this.n2p_1 = _set____db54di;
|
|
4697
4951
|
};
|
|
4698
|
-
protoOf(createStore$2).
|
|
4699
|
-
return this.
|
|
4952
|
+
protoOf(createStore$2).t2p = function () {
|
|
4953
|
+
return this.n2p_1;
|
|
4700
4954
|
};
|
|
4701
|
-
protoOf(createStore$2).
|
|
4702
|
-
return this.
|
|
4955
|
+
protoOf(createStore$2).u2p = function () {
|
|
4956
|
+
return this.o2p_1;
|
|
4703
4957
|
};
|
|
4704
|
-
protoOf(createStore$2).
|
|
4958
|
+
protoOf(createStore$2).v2p = function () {
|
|
4705
4959
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
4706
4960
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
4707
|
-
var this_0 = this.
|
|
4961
|
+
var this_0 = this.q2p_1;
|
|
4708
4962
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
4709
4963
|
return new _no_name_provided__qut3iv_0(this_0, this);
|
|
4710
4964
|
};
|
|
@@ -4754,10 +5008,10 @@
|
|
|
4754
5008
|
return new middleware$1(dispatch);
|
|
4755
5009
|
}
|
|
4756
5010
|
function middleware$1($dispatch) {
|
|
4757
|
-
this.
|
|
5011
|
+
this.y2p_1 = $dispatch;
|
|
4758
5012
|
}
|
|
4759
|
-
protoOf(middleware$1).
|
|
4760
|
-
this.
|
|
5013
|
+
protoOf(middleware$1).x2p = function (store, next, action) {
|
|
5014
|
+
this.y2p_1(store, next, action);
|
|
4761
5015
|
};
|
|
4762
5016
|
function Reducer() {
|
|
4763
5017
|
}
|
|
@@ -4765,13 +5019,13 @@
|
|
|
4765
5019
|
return new combineReducers$1(reducers);
|
|
4766
5020
|
}
|
|
4767
5021
|
function combineReducers$1($reducers) {
|
|
4768
|
-
this.
|
|
5022
|
+
this.z2p_1 = $reducers;
|
|
4769
5023
|
}
|
|
4770
|
-
protoOf(combineReducers$1).
|
|
5024
|
+
protoOf(combineReducers$1).a2q = function (state, action) {
|
|
4771
5025
|
// Inline function 'kotlin.collections.fold' call
|
|
4772
5026
|
// Inline function 'kotlin.collections.filter' call
|
|
4773
5027
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4774
|
-
var this_0 = this.
|
|
5028
|
+
var this_0 = this.z2p_1;
|
|
4775
5029
|
var destination = ArrayList_init_$Create$();
|
|
4776
5030
|
var inductionVariable = 0;
|
|
4777
5031
|
var last = this_0.length;
|
|
@@ -4779,7 +5033,7 @@
|
|
|
4779
5033
|
var element = this_0[inductionVariable];
|
|
4780
5034
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4781
5035
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4782
|
-
if (element.
|
|
5036
|
+
if (element.w2p(action)) {
|
|
4783
5037
|
destination.s(element);
|
|
4784
5038
|
}
|
|
4785
5039
|
}
|
|
@@ -4789,12 +5043,12 @@
|
|
|
4789
5043
|
var element_0 = tmp0_iterator.y();
|
|
4790
5044
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4791
5045
|
var s = accumulator;
|
|
4792
|
-
accumulator = element_0.
|
|
5046
|
+
accumulator = element_0.h2o(s, action);
|
|
4793
5047
|
}
|
|
4794
5048
|
return accumulator;
|
|
4795
5049
|
};
|
|
4796
|
-
protoOf(combineReducers$1).
|
|
4797
|
-
return this.
|
|
5050
|
+
protoOf(combineReducers$1).h2o = function (state, action) {
|
|
5051
|
+
return this.a2q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4798
5052
|
};
|
|
4799
5053
|
function Store() {
|
|
4800
5054
|
}
|
|
@@ -4808,22 +5062,22 @@
|
|
|
4808
5062
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
4809
5063
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
4810
5064
|
TimerAction.call(this);
|
|
4811
|
-
this.
|
|
4812
|
-
this.
|
|
4813
|
-
this.
|
|
4814
|
-
this.
|
|
5065
|
+
this.f2q_1 = timerTag;
|
|
5066
|
+
this.g2q_1 = delayMillis;
|
|
5067
|
+
this.h2q_1 = initialDelay;
|
|
5068
|
+
this.i2q_1 = type;
|
|
4815
5069
|
}
|
|
4816
|
-
protoOf(StartTimerAction).
|
|
4817
|
-
return this.
|
|
5070
|
+
protoOf(StartTimerAction).j2q = function () {
|
|
5071
|
+
return this.f2q_1;
|
|
4818
5072
|
};
|
|
4819
5073
|
protoOf(StartTimerAction).toString = function () {
|
|
4820
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
5074
|
+
return 'StartTimerAction(timerTag=' + this.f2q_1 + ', delayMillis=' + this.g2q_1.toString() + ', initialDelay=' + this.h2q_1.toString() + ', type=' + this.i2q_1 + ')';
|
|
4821
5075
|
};
|
|
4822
5076
|
protoOf(StartTimerAction).hashCode = function () {
|
|
4823
|
-
var result = hashCode(this.
|
|
4824
|
-
result = imul(result, 31) + this.
|
|
4825
|
-
result = imul(result, 31) + this.
|
|
4826
|
-
result = imul(result, 31) + this.
|
|
5077
|
+
var result = hashCode(this.f2q_1);
|
|
5078
|
+
result = imul(result, 31) + this.g2q_1.hashCode() | 0;
|
|
5079
|
+
result = imul(result, 31) + this.h2q_1.hashCode() | 0;
|
|
5080
|
+
result = imul(result, 31) + this.i2q_1.hashCode() | 0;
|
|
4827
5081
|
return result;
|
|
4828
5082
|
};
|
|
4829
5083
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -4832,13 +5086,13 @@
|
|
|
4832
5086
|
if (!(other instanceof StartTimerAction))
|
|
4833
5087
|
return false;
|
|
4834
5088
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4835
|
-
if (!equals(this.
|
|
5089
|
+
if (!equals(this.f2q_1, tmp0_other_with_cast.f2q_1))
|
|
4836
5090
|
return false;
|
|
4837
|
-
if (!this.
|
|
5091
|
+
if (!this.g2q_1.equals(tmp0_other_with_cast.g2q_1))
|
|
4838
5092
|
return false;
|
|
4839
|
-
if (!this.
|
|
5093
|
+
if (!this.h2q_1.equals(tmp0_other_with_cast.h2q_1))
|
|
4840
5094
|
return false;
|
|
4841
|
-
if (!this.
|
|
5095
|
+
if (!this.i2q_1.equals(tmp0_other_with_cast.i2q_1))
|
|
4842
5096
|
return false;
|
|
4843
5097
|
return true;
|
|
4844
5098
|
};
|
|
@@ -4857,21 +5111,21 @@
|
|
|
4857
5111
|
}
|
|
4858
5112
|
function TimerTickAction(timerTag, type) {
|
|
4859
5113
|
TimerAction.call(this);
|
|
4860
|
-
this.
|
|
4861
|
-
this.
|
|
5114
|
+
this.k2q_1 = timerTag;
|
|
5115
|
+
this.l2q_1 = type;
|
|
4862
5116
|
}
|
|
4863
|
-
protoOf(TimerTickAction).
|
|
4864
|
-
return this.
|
|
5117
|
+
protoOf(TimerTickAction).j2q = function () {
|
|
5118
|
+
return this.k2q_1;
|
|
4865
5119
|
};
|
|
4866
5120
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
4867
|
-
return this.
|
|
5121
|
+
return this.k2q_1.notValidateWhenFinished();
|
|
4868
5122
|
};
|
|
4869
5123
|
protoOf(TimerTickAction).toString = function () {
|
|
4870
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
5124
|
+
return 'TimerTickAction(timerTag=' + this.k2q_1 + ', type=' + this.l2q_1 + ')';
|
|
4871
5125
|
};
|
|
4872
5126
|
protoOf(TimerTickAction).hashCode = function () {
|
|
4873
|
-
var result = hashCode(this.
|
|
4874
|
-
result = imul(result, 31) + this.
|
|
5127
|
+
var result = hashCode(this.k2q_1);
|
|
5128
|
+
result = imul(result, 31) + this.l2q_1.hashCode() | 0;
|
|
4875
5129
|
return result;
|
|
4876
5130
|
};
|
|
4877
5131
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -4880,24 +5134,24 @@
|
|
|
4880
5134
|
if (!(other instanceof TimerTickAction))
|
|
4881
5135
|
return false;
|
|
4882
5136
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4883
|
-
if (!equals(this.
|
|
5137
|
+
if (!equals(this.k2q_1, tmp0_other_with_cast.k2q_1))
|
|
4884
5138
|
return false;
|
|
4885
|
-
if (!this.
|
|
5139
|
+
if (!this.l2q_1.equals(tmp0_other_with_cast.l2q_1))
|
|
4886
5140
|
return false;
|
|
4887
5141
|
return true;
|
|
4888
5142
|
};
|
|
4889
5143
|
function StopTimerAction(timerTag) {
|
|
4890
5144
|
TimerAction.call(this);
|
|
4891
|
-
this.
|
|
5145
|
+
this.m2q_1 = timerTag;
|
|
4892
5146
|
}
|
|
4893
|
-
protoOf(StopTimerAction).
|
|
4894
|
-
return this.
|
|
5147
|
+
protoOf(StopTimerAction).j2q = function () {
|
|
5148
|
+
return this.m2q_1;
|
|
4895
5149
|
};
|
|
4896
5150
|
protoOf(StopTimerAction).toString = function () {
|
|
4897
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
5151
|
+
return 'StopTimerAction(timerTag=' + this.m2q_1 + ')';
|
|
4898
5152
|
};
|
|
4899
5153
|
protoOf(StopTimerAction).hashCode = function () {
|
|
4900
|
-
return hashCode(this.
|
|
5154
|
+
return hashCode(this.m2q_1);
|
|
4901
5155
|
};
|
|
4902
5156
|
protoOf(StopTimerAction).equals = function (other) {
|
|
4903
5157
|
if (this === other)
|
|
@@ -4905,7 +5159,7 @@
|
|
|
4905
5159
|
if (!(other instanceof StopTimerAction))
|
|
4906
5160
|
return false;
|
|
4907
5161
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4908
|
-
if (!equals(this.
|
|
5162
|
+
if (!equals(this.m2q_1, tmp0_other_with_cast.m2q_1))
|
|
4909
5163
|
return false;
|
|
4910
5164
|
return true;
|
|
4911
5165
|
};
|
|
@@ -4963,7 +5217,7 @@
|
|
|
4963
5217
|
}
|
|
4964
5218
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
4965
5219
|
return function (action) {
|
|
4966
|
-
$middleware.
|
|
5220
|
+
$middleware.x2p($store, $dispatcher, action);
|
|
4967
5221
|
return Unit_instance;
|
|
4968
5222
|
};
|
|
4969
5223
|
}
|
|
@@ -4979,7 +5233,7 @@
|
|
|
4979
5233
|
var element = this_0[inductionVariable];
|
|
4980
5234
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4981
5235
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4982
|
-
if (element.
|
|
5236
|
+
if (element.w2p(action)) {
|
|
4983
5237
|
destination.s(element);
|
|
4984
5238
|
}
|
|
4985
5239
|
}
|
|
@@ -5018,9 +5272,9 @@
|
|
|
5018
5272
|
return new _no_name_provided__qut3iv_1(asyncProvider, jobsProvider);
|
|
5019
5273
|
}
|
|
5020
5274
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
5021
|
-
this.
|
|
5022
|
-
this.
|
|
5023
|
-
this.
|
|
5275
|
+
this.v2q_1 = $jobsProvider;
|
|
5276
|
+
this.w2q_1 = $action;
|
|
5277
|
+
this.x2q_1 = $store;
|
|
5024
5278
|
CoroutineImpl.call(this, resultContinuation);
|
|
5025
5279
|
}
|
|
5026
5280
|
protoOf(timerMiddleware$o$handle$slambda$slambda).o13 = function ($this$launchStore, $completion) {
|
|
@@ -5039,8 +5293,8 @@
|
|
|
5039
5293
|
var tmp = this.fa_1;
|
|
5040
5294
|
if (tmp === 0) {
|
|
5041
5295
|
this.ga_1 = 1;
|
|
5042
|
-
if (this.
|
|
5043
|
-
this.
|
|
5296
|
+
if (this.v2q_1.d2o(this.w2q_1.j2q())) {
|
|
5297
|
+
this.x2q_1.dispatch(new TimerTickAction(this.w2q_1.j2q(), TimerType_DELAY_getInstance()));
|
|
5044
5298
|
}
|
|
5045
5299
|
return Unit_instance;
|
|
5046
5300
|
} else if (tmp === 1) {
|
|
@@ -5053,8 +5307,8 @@
|
|
|
5053
5307
|
while (true);
|
|
5054
5308
|
};
|
|
5055
5309
|
protoOf(timerMiddleware$o$handle$slambda$slambda).p13 = function ($this$launchStore, completion) {
|
|
5056
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
5057
|
-
i.
|
|
5310
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.v2q_1, this.w2q_1, this.x2q_1, completion);
|
|
5311
|
+
i.y2q_1 = $this$launchStore;
|
|
5058
5312
|
return i;
|
|
5059
5313
|
};
|
|
5060
5314
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5066,9 +5320,9 @@
|
|
|
5066
5320
|
return l;
|
|
5067
5321
|
}
|
|
5068
5322
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
5069
|
-
this.
|
|
5070
|
-
this.
|
|
5071
|
-
this.
|
|
5323
|
+
this.h2r_1 = $jobsProvider;
|
|
5324
|
+
this.i2r_1 = $action;
|
|
5325
|
+
this.j2r_1 = $store;
|
|
5072
5326
|
CoroutineImpl.call(this, resultContinuation);
|
|
5073
5327
|
}
|
|
5074
5328
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).o13 = function ($this$launchStore, $completion) {
|
|
@@ -5087,8 +5341,8 @@
|
|
|
5087
5341
|
var tmp = this.fa_1;
|
|
5088
5342
|
if (tmp === 0) {
|
|
5089
5343
|
this.ga_1 = 1;
|
|
5090
|
-
if (this.
|
|
5091
|
-
this.
|
|
5344
|
+
if (this.h2r_1.d2o(this.i2r_1.j2q())) {
|
|
5345
|
+
this.j2r_1.dispatch(new TimerTickAction(this.i2r_1.j2q(), TimerType_INTERVAL_getInstance()));
|
|
5092
5346
|
}
|
|
5093
5347
|
return Unit_instance;
|
|
5094
5348
|
} else if (tmp === 1) {
|
|
@@ -5101,8 +5355,8 @@
|
|
|
5101
5355
|
while (true);
|
|
5102
5356
|
};
|
|
5103
5357
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).p13 = function ($this$launchStore, completion) {
|
|
5104
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
5105
|
-
i.
|
|
5358
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.h2r_1, this.i2r_1, this.j2r_1, completion);
|
|
5359
|
+
i.k2r_1 = $this$launchStore;
|
|
5106
5360
|
return i;
|
|
5107
5361
|
};
|
|
5108
5362
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5114,10 +5368,10 @@
|
|
|
5114
5368
|
return l;
|
|
5115
5369
|
}
|
|
5116
5370
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
5117
|
-
this.
|
|
5118
|
-
this.
|
|
5119
|
-
this.
|
|
5120
|
-
this.
|
|
5371
|
+
this.t2r_1 = $action;
|
|
5372
|
+
this.u2r_1 = $asyncProvider;
|
|
5373
|
+
this.v2r_1 = $jobsProvider;
|
|
5374
|
+
this.w2r_1 = $store;
|
|
5121
5375
|
CoroutineImpl.call(this, resultContinuation);
|
|
5122
5376
|
}
|
|
5123
5377
|
protoOf(timerMiddleware$o$handle$slambda).o13 = function ($this$launchWorker, $completion) {
|
|
@@ -5137,9 +5391,9 @@
|
|
|
5137
5391
|
switch (tmp) {
|
|
5138
5392
|
case 0:
|
|
5139
5393
|
this.ga_1 = 10;
|
|
5140
|
-
if (!this.
|
|
5394
|
+
if (!this.t2r_1.h2q_1.equals(new Long(0, 0)) ? this.t2r_1.i2q_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
5141
5395
|
this.fa_1 = 1;
|
|
5142
|
-
suspendResult = delay(this.
|
|
5396
|
+
suspendResult = delay(this.t2r_1.h2q_1, this);
|
|
5143
5397
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5144
5398
|
return suspendResult;
|
|
5145
5399
|
}
|
|
@@ -5153,20 +5407,20 @@
|
|
|
5153
5407
|
this.fa_1 = 2;
|
|
5154
5408
|
continue $sm;
|
|
5155
5409
|
case 2:
|
|
5156
|
-
this.
|
|
5157
|
-
this.
|
|
5158
|
-
if (this.
|
|
5410
|
+
this.y2r_1 = this.t2r_1.i2q_1;
|
|
5411
|
+
this.z2r_1 = this.y2r_1.b8_1;
|
|
5412
|
+
if (this.z2r_1 === 0) {
|
|
5159
5413
|
this.fa_1 = 8;
|
|
5160
|
-
suspendResult = delay(this.
|
|
5414
|
+
suspendResult = delay(this.t2r_1.g2q_1, this);
|
|
5161
5415
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5162
5416
|
return suspendResult;
|
|
5163
5417
|
}
|
|
5164
5418
|
continue $sm;
|
|
5165
5419
|
} else {
|
|
5166
|
-
if (this.
|
|
5167
|
-
if (!this.
|
|
5420
|
+
if (this.z2r_1 === 1) {
|
|
5421
|
+
if (!this.t2r_1.h2q_1.equals(new Long(0, 0))) {
|
|
5168
5422
|
this.fa_1 = 3;
|
|
5169
|
-
suspendResult = delay(this.
|
|
5423
|
+
suspendResult = delay(this.t2r_1.h2q_1, this);
|
|
5170
5424
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5171
5425
|
return suspendResult;
|
|
5172
5426
|
}
|
|
@@ -5188,14 +5442,14 @@
|
|
|
5188
5442
|
this.fa_1 = 5;
|
|
5189
5443
|
continue $sm;
|
|
5190
5444
|
case 5:
|
|
5191
|
-
if (!get_isActive(this.
|
|
5445
|
+
if (!get_isActive(this.x2r_1)) {
|
|
5192
5446
|
this.fa_1 = 7;
|
|
5193
5447
|
continue $sm;
|
|
5194
5448
|
}
|
|
5195
5449
|
|
|
5196
|
-
this.
|
|
5450
|
+
this.u2r_1.u2n(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.v2r_1, this.t2r_1, this.w2r_1, null));
|
|
5197
5451
|
this.fa_1 = 6;
|
|
5198
|
-
suspendResult = delay(this.
|
|
5452
|
+
suspendResult = delay(this.t2r_1.h2q_1, this);
|
|
5199
5453
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5200
5454
|
return suspendResult;
|
|
5201
5455
|
}
|
|
@@ -5208,7 +5462,7 @@
|
|
|
5208
5462
|
this.fa_1 = 9;
|
|
5209
5463
|
continue $sm;
|
|
5210
5464
|
case 8:
|
|
5211
|
-
this.
|
|
5465
|
+
this.u2r_1.u2n(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.v2r_1, this.t2r_1, this.w2r_1, null));
|
|
5212
5466
|
this.fa_1 = 9;
|
|
5213
5467
|
continue $sm;
|
|
5214
5468
|
case 9:
|
|
@@ -5228,8 +5482,8 @@
|
|
|
5228
5482
|
while (true);
|
|
5229
5483
|
};
|
|
5230
5484
|
protoOf(timerMiddleware$o$handle$slambda).p13 = function ($this$launchWorker, completion) {
|
|
5231
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
5232
|
-
i.
|
|
5485
|
+
var i = new timerMiddleware$o$handle$slambda(this.t2r_1, this.u2r_1, this.v2r_1, this.w2r_1, completion);
|
|
5486
|
+
i.x2r_1 = $this$launchWorker;
|
|
5233
5487
|
return i;
|
|
5234
5488
|
};
|
|
5235
5489
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -5241,33 +5495,33 @@
|
|
|
5241
5495
|
return l;
|
|
5242
5496
|
}
|
|
5243
5497
|
function _no_name_provided__qut3iv_1($asyncProvider, $jobsProvider) {
|
|
5244
|
-
this.
|
|
5245
|
-
this.
|
|
5498
|
+
this.a2s_1 = $asyncProvider;
|
|
5499
|
+
this.b2s_1 = $jobsProvider;
|
|
5246
5500
|
}
|
|
5247
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5501
|
+
protoOf(_no_name_provided__qut3iv_1).w2p = function (action) {
|
|
5248
5502
|
return action instanceof TimerAction;
|
|
5249
5503
|
};
|
|
5250
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5504
|
+
protoOf(_no_name_provided__qut3iv_1).c2s = function (store, next, action) {
|
|
5251
5505
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
5252
5506
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
5253
5507
|
if (action_0 instanceof StartTimerAction) {
|
|
5254
|
-
var job = this.
|
|
5255
|
-
this.
|
|
5508
|
+
var job = this.a2s_1.w2n(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.a2s_1, this.b2s_1, store, null));
|
|
5509
|
+
this.b2s_1.c2o(action_0.j2q(), job);
|
|
5256
5510
|
} else {
|
|
5257
5511
|
if (action_0 instanceof StopTimerAction) {
|
|
5258
|
-
this.
|
|
5512
|
+
this.b2s_1.g2o(action_0.j2q());
|
|
5259
5513
|
} else {
|
|
5260
5514
|
if (action_0 instanceof TimerTickAction) {
|
|
5261
|
-
if (action_0.
|
|
5262
|
-
this.
|
|
5515
|
+
if (action_0.l2q_1.equals(TimerType_DELAY_getInstance())) {
|
|
5516
|
+
this.b2s_1.e2o(action_0.j2q());
|
|
5263
5517
|
}
|
|
5264
5518
|
}
|
|
5265
5519
|
}
|
|
5266
5520
|
}
|
|
5267
5521
|
next(action_0);
|
|
5268
5522
|
};
|
|
5269
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5270
|
-
return this.
|
|
5523
|
+
protoOf(_no_name_provided__qut3iv_1).x2p = function (store, next, action) {
|
|
5524
|
+
return this.c2s(store, next, action);
|
|
5271
5525
|
};
|
|
5272
5526
|
function enumToString(_this__u8e3s4, mapping) {
|
|
5273
5527
|
// Inline function 'kotlin.collections.find' call
|
|
@@ -5412,23 +5666,23 @@
|
|
|
5412
5666
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
5413
5667
|
}
|
|
5414
5668
|
function generateTag($this, tag) {
|
|
5415
|
-
return (!($this.
|
|
5669
|
+
return (!($this.f2s_1 == null) ? !(tag == null) : false) ? '' + $this.f2s_1 + ':' + tag : tag;
|
|
5416
5670
|
}
|
|
5417
5671
|
function Category(name, ordinal, isEnabled) {
|
|
5418
5672
|
Enum.call(this, name, ordinal);
|
|
5419
|
-
this.
|
|
5673
|
+
this.i2s_1 = isEnabled;
|
|
5420
5674
|
}
|
|
5421
5675
|
function Logger$loggerSource$1() {
|
|
5422
|
-
this.
|
|
5676
|
+
this.j2s_1 = new PlatformLogger();
|
|
5423
5677
|
}
|
|
5424
|
-
protoOf(Logger$loggerSource$1).
|
|
5425
|
-
this.
|
|
5678
|
+
protoOf(Logger$loggerSource$1).k2s = function (tag, msg) {
|
|
5679
|
+
this.j2s_1.k2s(tag, msg);
|
|
5426
5680
|
};
|
|
5427
|
-
protoOf(Logger$loggerSource$1).
|
|
5428
|
-
this.
|
|
5681
|
+
protoOf(Logger$loggerSource$1).l2s = function (tag, msg, exception) {
|
|
5682
|
+
this.j2s_1.l2s(tag, msg, exception);
|
|
5429
5683
|
};
|
|
5430
|
-
protoOf(Logger$loggerSource$1).
|
|
5431
|
-
this.
|
|
5684
|
+
protoOf(Logger$loggerSource$1).m2s = function (tag, msg) {
|
|
5685
|
+
this.j2s_1.m2s(tag, msg);
|
|
5432
5686
|
};
|
|
5433
5687
|
function Category_NONE_getInstance() {
|
|
5434
5688
|
Category_initEntries();
|
|
@@ -5437,56 +5691,56 @@
|
|
|
5437
5691
|
function Logger() {
|
|
5438
5692
|
Logger_instance = this;
|
|
5439
5693
|
var tmp = this;
|
|
5440
|
-
tmp.
|
|
5441
|
-
this.
|
|
5442
|
-
this.
|
|
5694
|
+
tmp.d2s_1 = new Logger$loggerSource$1();
|
|
5695
|
+
this.e2s_1 = true;
|
|
5696
|
+
this.f2s_1 = null;
|
|
5443
5697
|
}
|
|
5444
|
-
protoOf(Logger).
|
|
5445
|
-
this.
|
|
5698
|
+
protoOf(Logger).n2s = function (tag, message) {
|
|
5699
|
+
this.o2s(tag, message, Category_NONE_getInstance());
|
|
5446
5700
|
};
|
|
5447
|
-
protoOf(Logger).
|
|
5448
|
-
if (this.
|
|
5449
|
-
this.
|
|
5701
|
+
protoOf(Logger).p2s = function (tag, message, category) {
|
|
5702
|
+
if (this.e2s_1 ? category.i2s_1 : false) {
|
|
5703
|
+
this.d2s_1.m2s(generateTag(this, tag), message);
|
|
5450
5704
|
}
|
|
5451
5705
|
};
|
|
5452
|
-
protoOf(Logger).
|
|
5706
|
+
protoOf(Logger).q2s = function (tag, message, category, $super) {
|
|
5453
5707
|
tag = tag === VOID ? null : tag;
|
|
5454
5708
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
5455
5709
|
var tmp;
|
|
5456
5710
|
if ($super === VOID) {
|
|
5457
|
-
this.
|
|
5711
|
+
this.p2s(tag, message, category);
|
|
5458
5712
|
tmp = Unit_instance;
|
|
5459
5713
|
} else {
|
|
5460
|
-
tmp = $super.
|
|
5714
|
+
tmp = $super.p2s.call(this, tag, message, category);
|
|
5461
5715
|
}
|
|
5462
5716
|
return tmp;
|
|
5463
5717
|
};
|
|
5464
|
-
protoOf(Logger).
|
|
5465
|
-
if (this.
|
|
5466
|
-
this.
|
|
5718
|
+
protoOf(Logger).o2s = function (tag, message, category) {
|
|
5719
|
+
if (this.e2s_1 ? category.i2s_1 : false) {
|
|
5720
|
+
this.d2s_1.k2s(generateTag(this, tag), message);
|
|
5467
5721
|
}
|
|
5468
5722
|
};
|
|
5469
|
-
protoOf(Logger).
|
|
5470
|
-
if (this.
|
|
5723
|
+
protoOf(Logger).r2s = function (tag, message, exception, category) {
|
|
5724
|
+
if (this.e2s_1 ? category.i2s_1 : false) {
|
|
5471
5725
|
if (exception == null)
|
|
5472
5726
|
null;
|
|
5473
5727
|
else {
|
|
5474
5728
|
printStackTrace(exception);
|
|
5475
5729
|
}
|
|
5476
|
-
this.
|
|
5730
|
+
this.d2s_1.l2s(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
5477
5731
|
}
|
|
5478
5732
|
};
|
|
5479
|
-
protoOf(Logger).
|
|
5733
|
+
protoOf(Logger).s2s = function (tag, message, exception, category, $super) {
|
|
5480
5734
|
tag = tag === VOID ? null : tag;
|
|
5481
5735
|
message = message === VOID ? null : message;
|
|
5482
5736
|
exception = exception === VOID ? null : exception;
|
|
5483
5737
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
5484
5738
|
var tmp;
|
|
5485
5739
|
if ($super === VOID) {
|
|
5486
|
-
this.
|
|
5740
|
+
this.r2s(tag, message, exception, category);
|
|
5487
5741
|
tmp = Unit_instance;
|
|
5488
5742
|
} else {
|
|
5489
|
-
tmp = $super.
|
|
5743
|
+
tmp = $super.r2s.call(this, tag, message, exception, category);
|
|
5490
5744
|
}
|
|
5491
5745
|
return tmp;
|
|
5492
5746
|
};
|
|
@@ -5518,29 +5772,29 @@
|
|
|
5518
5772
|
return tag == null ? '' : tag;
|
|
5519
5773
|
}
|
|
5520
5774
|
function CombinedGameLogger(logOutputs) {
|
|
5521
|
-
this.
|
|
5775
|
+
this.t2s_1 = logOutputs;
|
|
5522
5776
|
}
|
|
5523
|
-
protoOf(CombinedGameLogger).
|
|
5777
|
+
protoOf(CombinedGameLogger).u2s = function (tag, message, payload) {
|
|
5524
5778
|
// Inline function 'kotlin.collections.forEach' call
|
|
5525
|
-
var tmp0_iterator = this.
|
|
5779
|
+
var tmp0_iterator = this.t2s_1.v();
|
|
5526
5780
|
while (tmp0_iterator.w()) {
|
|
5527
5781
|
var element = tmp0_iterator.y();
|
|
5528
5782
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
5529
5783
|
element.d(tag, message, payload);
|
|
5530
5784
|
}
|
|
5531
5785
|
};
|
|
5532
|
-
protoOf(CombinedGameLogger).
|
|
5786
|
+
protoOf(CombinedGameLogger).v2s = function (tag, message, exception, payload) {
|
|
5533
5787
|
// Inline function 'kotlin.collections.forEach' call
|
|
5534
|
-
var tmp0_iterator = this.
|
|
5788
|
+
var tmp0_iterator = this.t2s_1.v();
|
|
5535
5789
|
while (tmp0_iterator.w()) {
|
|
5536
5790
|
var element = tmp0_iterator.y();
|
|
5537
5791
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
5538
5792
|
element.e(tag, message, exception, payload);
|
|
5539
5793
|
}
|
|
5540
5794
|
};
|
|
5541
|
-
protoOf(CombinedGameLogger).
|
|
5795
|
+
protoOf(CombinedGameLogger).w2s = function (tag, message, payload) {
|
|
5542
5796
|
// Inline function 'kotlin.collections.forEach' call
|
|
5543
|
-
var tmp0_iterator = this.
|
|
5797
|
+
var tmp0_iterator = this.t2s_1.v();
|
|
5544
5798
|
while (tmp0_iterator.w()) {
|
|
5545
5799
|
var element = tmp0_iterator.y();
|
|
5546
5800
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
@@ -5553,31 +5807,31 @@
|
|
|
5553
5807
|
}
|
|
5554
5808
|
function PlatformGameLogger(enabled) {
|
|
5555
5809
|
enabled = enabled === VOID ? true : enabled;
|
|
5556
|
-
this.
|
|
5810
|
+
this.x2s_1 = enabled;
|
|
5557
5811
|
}
|
|
5558
|
-
protoOf(PlatformGameLogger).
|
|
5559
|
-
this.
|
|
5812
|
+
protoOf(PlatformGameLogger).y2s = function (_set____db54di) {
|
|
5813
|
+
this.x2s_1 = _set____db54di;
|
|
5560
5814
|
};
|
|
5561
|
-
protoOf(PlatformGameLogger).
|
|
5562
|
-
return this.
|
|
5815
|
+
protoOf(PlatformGameLogger).z2s = function () {
|
|
5816
|
+
return this.x2s_1;
|
|
5563
5817
|
};
|
|
5564
|
-
protoOf(PlatformGameLogger).
|
|
5565
|
-
if (!this.
|
|
5818
|
+
protoOf(PlatformGameLogger).u2s = function (tag, message, payload) {
|
|
5819
|
+
if (!this.x2s_1)
|
|
5566
5820
|
return Unit_instance;
|
|
5567
|
-
Logger_getInstance().
|
|
5821
|
+
Logger_getInstance().n2s(tag, message);
|
|
5568
5822
|
};
|
|
5569
|
-
protoOf(PlatformGameLogger).
|
|
5570
|
-
if (!this.
|
|
5823
|
+
protoOf(PlatformGameLogger).v2s = function (tag, message, exception, payload) {
|
|
5824
|
+
if (!this.x2s_1)
|
|
5571
5825
|
return Unit_instance;
|
|
5572
|
-
Logger_getInstance().
|
|
5826
|
+
Logger_getInstance().s2s(tag, message, exception);
|
|
5573
5827
|
};
|
|
5574
|
-
protoOf(PlatformGameLogger).
|
|
5575
|
-
if (!this.
|
|
5828
|
+
protoOf(PlatformGameLogger).w2s = function (tag, message, payload) {
|
|
5829
|
+
if (!this.x2s_1)
|
|
5576
5830
|
return Unit_instance;
|
|
5577
|
-
Logger_getInstance().
|
|
5831
|
+
Logger_getInstance().q2s(tag, message);
|
|
5578
5832
|
};
|
|
5579
5833
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
5580
|
-
return $this.
|
|
5834
|
+
return $this.a2t_1.o2();
|
|
5581
5835
|
}
|
|
5582
5836
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
5583
5837
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
@@ -5589,7 +5843,7 @@
|
|
|
5589
5843
|
Companion_instance_21 = this;
|
|
5590
5844
|
var tmp = this;
|
|
5591
5845
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
5592
|
-
tmp.
|
|
5846
|
+
tmp.a2t_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
5593
5847
|
}
|
|
5594
5848
|
protoOf(Companion_21).o1z = function () {
|
|
5595
5849
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
@@ -5607,7 +5861,7 @@
|
|
|
5607
5861
|
function values_4() {
|
|
5608
5862
|
return [LogType_DEBUG_getInstance(), LogType_ERROR_getInstance(), LogType_WARN_getInstance()];
|
|
5609
5863
|
}
|
|
5610
|
-
function
|
|
5864
|
+
function valueOf_2(value) {
|
|
5611
5865
|
switch (value) {
|
|
5612
5866
|
case 'DEBUG':
|
|
5613
5867
|
return LogType_DEBUG_getInstance();
|
|
@@ -5658,7 +5912,7 @@
|
|
|
5658
5912
|
// Inline function 'kotlin.arrayOf' call
|
|
5659
5913
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5660
5914
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5661
|
-
tmp.
|
|
5915
|
+
tmp.e2t_1 = [Companion_getInstance_22().o1z(), null, null, null];
|
|
5662
5916
|
}
|
|
5663
5917
|
protoOf(Companion_22).o1z = function () {
|
|
5664
5918
|
return $serializer_getInstance_9();
|
|
@@ -5676,19 +5930,19 @@
|
|
|
5676
5930
|
tmp0_serialDesc.k1n('tag', false);
|
|
5677
5931
|
tmp0_serialDesc.k1n('message', false);
|
|
5678
5932
|
tmp0_serialDesc.k1n('stackTrace', false);
|
|
5679
|
-
this.
|
|
5933
|
+
this.f2t_1 = tmp0_serialDesc;
|
|
5680
5934
|
}
|
|
5681
5935
|
protoOf($serializer_9).p1c = function () {
|
|
5682
|
-
return this.
|
|
5936
|
+
return this.f2t_1;
|
|
5683
5937
|
};
|
|
5684
5938
|
protoOf($serializer_9).z1n = function () {
|
|
5685
5939
|
// Inline function 'kotlin.arrayOf' call
|
|
5686
5940
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5687
5941
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5688
|
-
return [Companion_getInstance_23().
|
|
5942
|
+
return [Companion_getInstance_23().e2t_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
5689
5943
|
};
|
|
5690
5944
|
protoOf($serializer_9).r1c = function (decoder) {
|
|
5691
|
-
var tmp0_desc = this.
|
|
5945
|
+
var tmp0_desc = this.f2t_1;
|
|
5692
5946
|
var tmp1_flag = true;
|
|
5693
5947
|
var tmp2_index = 0;
|
|
5694
5948
|
var tmp3_bitMask0 = 0;
|
|
@@ -5697,7 +5951,7 @@
|
|
|
5697
5951
|
var tmp6_local2 = null;
|
|
5698
5952
|
var tmp7_local3 = null;
|
|
5699
5953
|
var tmp8_input = decoder.x1f(tmp0_desc);
|
|
5700
|
-
var tmp9_cached = Companion_getInstance_23().
|
|
5954
|
+
var tmp9_cached = Companion_getInstance_23().e2t_1;
|
|
5701
5955
|
if (tmp8_input.n1g()) {
|
|
5702
5956
|
tmp4_local0 = tmp8_input.j1g(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
5703
5957
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -5737,10 +5991,10 @@
|
|
|
5737
5991
|
tmp8_input.y1f(tmp0_desc);
|
|
5738
5992
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
5739
5993
|
};
|
|
5740
|
-
protoOf($serializer_9).
|
|
5741
|
-
var tmp0_desc = this.
|
|
5994
|
+
protoOf($serializer_9).g2t = function (encoder, value) {
|
|
5995
|
+
var tmp0_desc = this.f2t_1;
|
|
5742
5996
|
var tmp1_output = encoder.x1f(tmp0_desc);
|
|
5743
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
5997
|
+
var tmp2_cached = Companion_getInstance_23().e2t_1;
|
|
5744
5998
|
tmp1_output.o1h(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
5745
5999
|
tmp1_output.q1h(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
5746
6000
|
tmp1_output.q1h(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -5748,7 +6002,7 @@
|
|
|
5748
6002
|
tmp1_output.y1f(tmp0_desc);
|
|
5749
6003
|
};
|
|
5750
6004
|
protoOf($serializer_9).q1c = function (encoder, value) {
|
|
5751
|
-
return this.
|
|
6005
|
+
return this.g2t(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
5752
6006
|
};
|
|
5753
6007
|
var $serializer_instance_9;
|
|
5754
6008
|
function $serializer_getInstance_9() {
|
|
@@ -5758,7 +6012,7 @@
|
|
|
5758
6012
|
}
|
|
5759
6013
|
function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
5760
6014
|
if (!(15 === (15 & seen1))) {
|
|
5761
|
-
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().
|
|
6015
|
+
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().f2t_1);
|
|
5762
6016
|
}
|
|
5763
6017
|
$this.type = type;
|
|
5764
6018
|
$this.tag = tag;
|
|
@@ -5779,13 +6033,13 @@
|
|
|
5779
6033
|
protoOf(LoggerOutputDataDto).c2a = function () {
|
|
5780
6034
|
return this.type;
|
|
5781
6035
|
};
|
|
5782
|
-
protoOf(LoggerOutputDataDto).
|
|
6036
|
+
protoOf(LoggerOutputDataDto).m2g = function () {
|
|
5783
6037
|
return this.tag;
|
|
5784
6038
|
};
|
|
5785
6039
|
protoOf(LoggerOutputDataDto).q5 = function () {
|
|
5786
6040
|
return this.message;
|
|
5787
6041
|
};
|
|
5788
|
-
protoOf(LoggerOutputDataDto).
|
|
6042
|
+
protoOf(LoggerOutputDataDto).h2t = function () {
|
|
5789
6043
|
return this.stackTrace;
|
|
5790
6044
|
};
|
|
5791
6045
|
protoOf(LoggerOutputDataDto).oc = function () {
|
|
@@ -5797,10 +6051,10 @@
|
|
|
5797
6051
|
protoOf(LoggerOutputDataDto).qg = function () {
|
|
5798
6052
|
return this.message;
|
|
5799
6053
|
};
|
|
5800
|
-
protoOf(LoggerOutputDataDto).
|
|
6054
|
+
protoOf(LoggerOutputDataDto).n2h = function () {
|
|
5801
6055
|
return this.stackTrace;
|
|
5802
6056
|
};
|
|
5803
|
-
protoOf(LoggerOutputDataDto).
|
|
6057
|
+
protoOf(LoggerOutputDataDto).i2t = function (type, tag, message, stackTrace) {
|
|
5804
6058
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
5805
6059
|
};
|
|
5806
6060
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -5808,7 +6062,7 @@
|
|
|
5808
6062
|
tag = tag === VOID ? this.tag : tag;
|
|
5809
6063
|
message = message === VOID ? this.message : message;
|
|
5810
6064
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
5811
|
-
return this.
|
|
6065
|
+
return this.i2t(type, tag, message, stackTrace);
|
|
5812
6066
|
};
|
|
5813
6067
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
5814
6068
|
return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -5838,17 +6092,17 @@
|
|
|
5838
6092
|
};
|
|
5839
6093
|
function PlatformLogger() {
|
|
5840
6094
|
}
|
|
5841
|
-
protoOf(PlatformLogger).
|
|
6095
|
+
protoOf(PlatformLogger).k2s = function (tag, msg) {
|
|
5842
6096
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
5843
6097
|
};
|
|
5844
|
-
protoOf(PlatformLogger).
|
|
6098
|
+
protoOf(PlatformLogger).l2s = function (tag, msg, exception) {
|
|
5845
6099
|
if (!(exception == null)) {
|
|
5846
6100
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
5847
6101
|
} else {
|
|
5848
6102
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
5849
6103
|
}
|
|
5850
6104
|
};
|
|
5851
|
-
protoOf(PlatformLogger).
|
|
6105
|
+
protoOf(PlatformLogger).m2s = function (tag, msg) {
|
|
5852
6106
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
5853
6107
|
};
|
|
5854
6108
|
//region block: post-declaration
|
|
@@ -5856,83 +6110,85 @@
|
|
|
5856
6110
|
protoOf($serializer_0).a1o = typeParametersSerializers;
|
|
5857
6111
|
protoOf($serializer_1).a1o = typeParametersSerializers;
|
|
5858
6112
|
protoOf($serializer_2).a1o = typeParametersSerializers;
|
|
6113
|
+
defineProp(protoOf(Reason), 'name', protoOf(Reason).z8);
|
|
6114
|
+
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).a9);
|
|
5859
6115
|
protoOf($serializer_3).a1o = typeParametersSerializers;
|
|
5860
6116
|
protoOf($serializer_4).a1o = typeParametersSerializers;
|
|
5861
6117
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
5862
|
-
return this.
|
|
6118
|
+
return this.l2g();
|
|
5863
6119
|
});
|
|
5864
6120
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
5865
|
-
return this.
|
|
6121
|
+
return this.l2g();
|
|
5866
6122
|
});
|
|
5867
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
5868
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
5869
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
5870
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
5871
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
5872
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
5873
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
5874
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
6123
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).v2i);
|
|
6124
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).w2i);
|
|
6125
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).x2i);
|
|
6126
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).y2i);
|
|
6127
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).z2i);
|
|
6128
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).a2j);
|
|
6129
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).b2j);
|
|
6130
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).c2j);
|
|
5875
6131
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).z8);
|
|
5876
6132
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).a9);
|
|
5877
6133
|
defineProp(protoOf(PlayerLuckyFactor), 'playerId', function () {
|
|
5878
|
-
return this.
|
|
6134
|
+
return this.l2g();
|
|
5879
6135
|
});
|
|
5880
6136
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).z8);
|
|
5881
6137
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).a9);
|
|
5882
|
-
protoOf(BufferedActionDto).
|
|
6138
|
+
protoOf(BufferedActionDto).c2l = get_actionTag;
|
|
5883
6139
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
5884
|
-
return this.
|
|
6140
|
+
return this.c2l();
|
|
5885
6141
|
});
|
|
5886
6142
|
protoOf($serializer_5).a1o = typeParametersSerializers;
|
|
5887
6143
|
protoOf($serializer_6).a1o = typeParametersSerializers;
|
|
5888
6144
|
protoOf($serializer_7).a1o = typeParametersSerializers;
|
|
5889
6145
|
protoOf($serializer_8).a1o = typeParametersSerializers;
|
|
5890
|
-
protoOf(AsyncProviderImpl).
|
|
5891
|
-
protoOf(AsyncProviderImpl).
|
|
5892
|
-
protoOf(AsyncProviderImpl).
|
|
6146
|
+
protoOf(AsyncProviderImpl).u2n = launchStore$default;
|
|
6147
|
+
protoOf(AsyncProviderImpl).w2n = launchWorker$default;
|
|
6148
|
+
protoOf(AsyncProviderImpl).y2n = launchWorkerWithLock$default;
|
|
5893
6149
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
5894
|
-
return this.
|
|
6150
|
+
return this.r2p();
|
|
5895
6151
|
});
|
|
5896
6152
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
5897
6153
|
return this.xj();
|
|
5898
6154
|
});
|
|
5899
6155
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
5900
|
-
return this.
|
|
6156
|
+
return this.t2p();
|
|
5901
6157
|
}, function (value) {
|
|
5902
|
-
this.
|
|
6158
|
+
this.s2p(value);
|
|
5903
6159
|
});
|
|
5904
6160
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
5905
|
-
return this.
|
|
6161
|
+
return this.u2p();
|
|
5906
6162
|
});
|
|
5907
6163
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
5908
|
-
return this.
|
|
6164
|
+
return this.v2p();
|
|
5909
6165
|
});
|
|
5910
|
-
protoOf(ActionTypes).
|
|
6166
|
+
protoOf(ActionTypes).c2l = get_actionTag;
|
|
5911
6167
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
5912
|
-
return this.
|
|
6168
|
+
return this.c2l();
|
|
5913
6169
|
});
|
|
5914
6170
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
5915
|
-
return this.
|
|
6171
|
+
return this.c2l();
|
|
5916
6172
|
});
|
|
5917
6173
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
5918
|
-
return this.
|
|
6174
|
+
return this.c2l();
|
|
5919
6175
|
});
|
|
5920
|
-
protoOf(middleware$1).
|
|
5921
|
-
protoOf(combineReducers$1).
|
|
5922
|
-
protoOf(TimerAction).
|
|
6176
|
+
protoOf(middleware$1).w2p = canHandle;
|
|
6177
|
+
protoOf(combineReducers$1).w2p = canHandle_0;
|
|
6178
|
+
protoOf(TimerAction).c2l = get_actionTag;
|
|
5923
6179
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
5924
|
-
return this.
|
|
6180
|
+
return this.c2l();
|
|
5925
6181
|
});
|
|
5926
6182
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
5927
|
-
return this.
|
|
6183
|
+
return this.c2l();
|
|
5928
6184
|
});
|
|
5929
6185
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
5930
|
-
return this.
|
|
6186
|
+
return this.c2l();
|
|
5931
6187
|
});
|
|
5932
6188
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5933
6189
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
5934
6190
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
5935
|
-
return this.
|
|
6191
|
+
return this.c2l();
|
|
5936
6192
|
});
|
|
5937
6193
|
protoOf(CombinedGameLogger).d = d;
|
|
5938
6194
|
protoOf(CombinedGameLogger).e = e;
|
|
@@ -5941,9 +6197,9 @@
|
|
|
5941
6197
|
protoOf(PlatformGameLogger).e = e;
|
|
5942
6198
|
protoOf(PlatformGameLogger).w = w;
|
|
5943
6199
|
defineProp(protoOf(PlatformGameLogger), 'enabled', function () {
|
|
5944
|
-
return this.
|
|
6200
|
+
return this.z2s();
|
|
5945
6201
|
}, function (value) {
|
|
5946
|
-
this.
|
|
6202
|
+
this.y2s(value);
|
|
5947
6203
|
});
|
|
5948
6204
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).z8);
|
|
5949
6205
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).a9);
|
|
@@ -5951,10 +6207,11 @@
|
|
|
5951
6207
|
//endregion
|
|
5952
6208
|
//region block: init
|
|
5953
6209
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
6210
|
+
Toggles_instance = new Toggles();
|
|
5954
6211
|
Companion_instance = new Companion();
|
|
5955
6212
|
Companion_instance_2 = new Companion_2();
|
|
5956
|
-
|
|
5957
|
-
|
|
6213
|
+
Companion_instance_3 = new Companion_3();
|
|
6214
|
+
Companion_instance_4 = new Companion_4();
|
|
5958
6215
|
Companion_instance_7 = new Companion_7();
|
|
5959
6216
|
Companion_instance_8 = new Companion_8();
|
|
5960
6217
|
Companion_instance_11 = new Companion_11();
|
|
@@ -5978,6 +6235,26 @@
|
|
|
5978
6235
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
5979
6236
|
$com$logic$data$models.TerminationGameReason = TerminationGameReason;
|
|
5980
6237
|
defineProp($com$logic$data$models.TerminationGameReason, 'Companion', Companion_getInstance_2);
|
|
6238
|
+
$com$logic$data$models.PlayerLostConnectionReason = PlayerLostConnectionReason;
|
|
6239
|
+
defineProp($com$logic$data$models.PlayerLostConnectionReason, 'Companion', Companion_getInstance_3);
|
|
6240
|
+
$com$logic$data$models.PlayerTimeoutReason = PlayerTimeoutReason;
|
|
6241
|
+
defineProp($com$logic$data$models.PlayerTimeoutReason, 'Companion', Companion_getInstance_4);
|
|
6242
|
+
$com$logic$data$models.PlayerExitReason = PlayerExitReason;
|
|
6243
|
+
defineProp($com$logic$data$models.PlayerExitReason, 'Companion', Companion_getInstance_5);
|
|
6244
|
+
$com$logic$data$models.GameFinishedReason = GameFinishedReason;
|
|
6245
|
+
$com$logic$data$models.GameFinishedReason.Reason = Reason;
|
|
6246
|
+
$com$logic$data$models.GameFinishedReason.Reason.values = values;
|
|
6247
|
+
$com$logic$data$models.GameFinishedReason.Reason.valueOf = valueOf;
|
|
6248
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'DEPLOY', Reason_DEPLOY_getInstance);
|
|
6249
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'PLAYER_DELETED', Reason_PLAYER_DELETED_getInstance);
|
|
6250
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'NO_ACTIVE_PLAYERS', Reason_NO_ACTIVE_PLAYERS_getInstance);
|
|
6251
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance);
|
|
6252
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_6);
|
|
6253
|
+
defineProp($com$logic$data$models.GameFinishedReason, 'Companion', Companion_getInstance_7);
|
|
6254
|
+
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
6255
|
+
defineProp($com$logic$data$models.GameErrorReason, 'Companion', Companion_getInstance_8);
|
|
6256
|
+
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
6257
|
+
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance);
|
|
5981
6258
|
var $com = _.com || (_.com = {});
|
|
5982
6259
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
5983
6260
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -5998,7 +6275,7 @@
|
|
|
5998
6275
|
var $com$logic$data$models$player = $com$logic$data$models.player || ($com$logic$data$models.player = {});
|
|
5999
6276
|
$com$logic$data$models$player.PlayerConnectionState = PlayerConnectionState;
|
|
6000
6277
|
$com$logic$data$models$player.PlayerConnectionState.values = values_0;
|
|
6001
|
-
$com$logic$data$models$player.PlayerConnectionState.valueOf =
|
|
6278
|
+
$com$logic$data$models$player.PlayerConnectionState.valueOf = valueOf_0;
|
|
6002
6279
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LIVE', PlayerConnectionState_LIVE_getInstance);
|
|
6003
6280
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'TIMEOUT', PlayerConnectionState_TIMEOUT_getInstance);
|
|
6004
6281
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LOST_CONNECTION', PlayerConnectionState_LOST_CONNECTION_getInstance);
|
|
@@ -6026,7 +6303,7 @@
|
|
|
6026
6303
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
6027
6304
|
$com$logic$data$models$rules.RulesSetType = RulesSetType;
|
|
6028
6305
|
$com$logic$data$models$rules.RulesSetType.values = values_2;
|
|
6029
|
-
$com$logic$data$models$rules.RulesSetType.valueOf =
|
|
6306
|
+
$com$logic$data$models$rules.RulesSetType.valueOf = valueOf_1;
|
|
6030
6307
|
defineProp($com$logic$data$models$rules.RulesSetType, 'belot', RulesSetType_belot_getInstance);
|
|
6031
6308
|
defineProp($com$logic$data$models$rules.RulesSetType, 'klabor', RulesSetType_klabor_getInstance);
|
|
6032
6309
|
defineProp($com$logic$data$models$rules.RulesSetType, 'debertzCommon', RulesSetType_debertzCommon_getInstance);
|
|
@@ -6034,6 +6311,14 @@
|
|
|
6034
6311
|
defineProp($com$logic$data$models$rules.RulesSetType, 'custom', RulesSetType_custom_getInstance);
|
|
6035
6312
|
var $com = _.com || (_.com = {});
|
|
6036
6313
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
6314
|
+
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
6315
|
+
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
6316
|
+
var $com$logic$data$models$serializable = $com$logic$data$models.serializable || ($com$logic$data$models.serializable = {});
|
|
6317
|
+
var $com$logic$data$models$serializable$rules = $com$logic$data$models$serializable.rules || ($com$logic$data$models$serializable.rules = {});
|
|
6318
|
+
$com$logic$data$models$serializable$rules.RulesDto = RulesDto;
|
|
6319
|
+
defineProp($com$logic$data$models$serializable$rules.RulesDto, 'Companion', Companion_getInstance_18);
|
|
6320
|
+
var $com = _.com || (_.com = {});
|
|
6321
|
+
var $com$logic = $com.logic || ($com.logic = {});
|
|
6037
6322
|
var $com$logic$domain = $com$logic.domain || ($com$logic.domain = {});
|
|
6038
6323
|
var $com$logic$domain$engine = $com$logic$domain.engine || ($com$logic$domain.engine = {});
|
|
6039
6324
|
var $com$logic$domain$engine$definitions = $com$logic$domain$engine.definitions || ($com$logic$domain$engine.definitions = {});
|
|
@@ -6073,7 +6358,7 @@
|
|
|
6073
6358
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
6074
6359
|
$com$logic$utils$logger$outputs.LogType = LogType;
|
|
6075
6360
|
$com$logic$utils$logger$outputs.LogType.values = values_4;
|
|
6076
|
-
$com$logic$utils$logger$outputs.LogType.valueOf =
|
|
6361
|
+
$com$logic$utils$logger$outputs.LogType.valueOf = valueOf_2;
|
|
6077
6362
|
defineProp($com$logic$utils$logger$outputs.LogType, 'DEBUG', LogType_DEBUG_getInstance);
|
|
6078
6363
|
defineProp($com$logic$utils$logger$outputs.LogType, 'ERROR', LogType_ERROR_getInstance);
|
|
6079
6364
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
@@ -6222,6 +6507,7 @@
|
|
|
6222
6507
|
_.$_$.q4 = RestartGameReason_getInstance;
|
|
6223
6508
|
_.$_$.r4 = Companion_getInstance_2;
|
|
6224
6509
|
_.$_$.s4 = Logger_getInstance;
|
|
6510
|
+
_.$_$.t4 = Toggles_instance;
|
|
6225
6511
|
//endregion
|
|
6226
6512
|
return _;
|
|
6227
6513
|
}));
|