raspberry_games_engine_helpers 1.8.450 → 1.8.453
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +83 -83
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +731 -723
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1856 -1856
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1133 -1141
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +710 -608
- package/Logic_Debertz-engine.js +11947 -11946
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3970 -3569
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +73 -5
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +17 -17
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2156 -2155
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +1569 -1569
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-core.js +107 -5
- package/ktor-ktor-client-core.js.map +1 -1
- package/{ktor-ktor-client-js.js → ktor-ktor-http-cio.js} +2 -2
- package/ktor-ktor-http-cio.js.map +1 -0
- package/ktor-ktor-io.js +0 -4
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-sse.js +15 -0
- package/ktor-ktor-sse.js.map +1 -0
- package/ktor-ktor-utils.js.map +1 -1
- package/package.json +2 -4
- package/raspberry-cardgame-lib-core.js +63 -64
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +108 -109
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +93 -102
- package/raspberry-cardgame-lib-random.js.map +1 -1
- /package/{ktor-ktor-client-js.js.map → kotlinx-serialization-kotlinx-serialization-json-io.js.map} +0 -0
package/Logic_Debertz-core.js
CHANGED
|
@@ -28,72 +28,72 @@
|
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
30
|
var imul = Math.imul;
|
|
31
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
32
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
33
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
31
|
+
var protoOf = kotlin_kotlin.$_$.ea;
|
|
32
|
+
var initMetadataForObject = kotlin_kotlin.$_$.o9;
|
|
33
|
+
var defineProp = kotlin_kotlin.$_$.c9;
|
|
34
34
|
var VOID = kotlin_kotlin.$_$.b;
|
|
35
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
35
|
+
var getKClass = kotlin_kotlin.$_$.sa;
|
|
36
36
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
37
37
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.d;
|
|
38
|
-
var lazy = kotlin_kotlin.$_$.
|
|
38
|
+
var lazy = kotlin_kotlin.$_$.vd;
|
|
39
39
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
40
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
41
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.k9;
|
|
41
|
+
var initMetadataForClass = kotlin_kotlin.$_$.j9;
|
|
42
42
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.cd;
|
|
44
44
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
45
45
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
46
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
47
47
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
48
48
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
49
49
|
var Unit_instance = kotlin_kotlin.$_$.a4;
|
|
50
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
51
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
50
|
+
var objectCreate = kotlin_kotlin.$_$.da;
|
|
51
|
+
var getStringHashCode = kotlin_kotlin.$_$.h9;
|
|
52
52
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
53
53
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
54
|
-
var replace = kotlin_kotlin.$_$.
|
|
54
|
+
var replace = kotlin_kotlin.$_$.pb;
|
|
55
55
|
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
56
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
56
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.e9;
|
|
57
57
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
58
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
58
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.m9;
|
|
59
59
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
60
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
60
|
+
var THROW_IAE = kotlin_kotlin.$_$.dd;
|
|
61
61
|
var enumEntries = kotlin_kotlin.$_$.s7;
|
|
62
|
-
var Enum = kotlin_kotlin.$_$.
|
|
63
|
-
var Exception = kotlin_kotlin.$_$.
|
|
62
|
+
var Enum = kotlin_kotlin.$_$.vc;
|
|
63
|
+
var Exception = kotlin_kotlin.$_$.wc;
|
|
64
64
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.v;
|
|
65
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
66
|
-
var toString = kotlin_kotlin.$_$.
|
|
65
|
+
var captureStack = kotlin_kotlin.$_$.u8;
|
|
66
|
+
var toString = kotlin_kotlin.$_$.ce;
|
|
67
67
|
var listOfNotNull = kotlin_kotlin.$_$.k6;
|
|
68
68
|
var joinToString = kotlin_kotlin.$_$.c6;
|
|
69
|
-
var getNumberHashCode = kotlin_kotlin.$_$.
|
|
70
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
71
|
-
var equals = kotlin_kotlin.$_$.
|
|
72
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
69
|
+
var getNumberHashCode = kotlin_kotlin.$_$.f9;
|
|
70
|
+
var hashCode = kotlin_kotlin.$_$.i9;
|
|
71
|
+
var equals = kotlin_kotlin.$_$.d9;
|
|
72
|
+
var toString_0 = kotlin_kotlin.$_$.ga;
|
|
73
73
|
var Companion_getInstance = kotlin_kotlin.$_$.q3;
|
|
74
74
|
var System_instance = kotlin_kotlin.$_$.p3;
|
|
75
75
|
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.l1;
|
|
76
76
|
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.k1;
|
|
77
|
-
var toNumber = kotlin_kotlin.$_$.
|
|
78
|
-
var round = kotlin_kotlin.$_$.
|
|
79
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
77
|
+
var toNumber = kotlin_kotlin.$_$.q8;
|
|
78
|
+
var round = kotlin_kotlin.$_$.ia;
|
|
79
|
+
var numberToInt = kotlin_kotlin.$_$.ca;
|
|
80
80
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.n1;
|
|
81
81
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j1;
|
|
82
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
82
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.xd;
|
|
83
83
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
84
84
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
85
85
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w4;
|
|
86
86
|
var mapCapacity = kotlin_kotlin.$_$.n6;
|
|
87
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
87
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ka;
|
|
88
88
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
89
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
89
|
+
var ensureNotNull = kotlin_kotlin.$_$.rd;
|
|
90
90
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.r3;
|
|
91
91
|
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.m1;
|
|
92
92
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
93
93
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
94
94
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
95
95
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
96
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
96
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.ra;
|
|
97
97
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
|
|
98
98
|
var checkIndexOverflow = kotlin_kotlin.$_$.v4;
|
|
99
99
|
var single = kotlin_kotlin.$_$.y6;
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.d;
|
|
104
104
|
var Companion_getInstance_1 = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.a;
|
|
105
105
|
var toLocalDateTime = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
106
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
106
|
+
var charSequenceLength = kotlin_kotlin.$_$.z8;
|
|
107
107
|
var toMap = kotlin_kotlin.$_$.i7;
|
|
108
108
|
var emptyList = kotlin_kotlin.$_$.n5;
|
|
109
109
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
|
|
110
|
-
var to = kotlin_kotlin.$_$.
|
|
110
|
+
var to = kotlin_kotlin.$_$.de;
|
|
111
111
|
//endregion
|
|
112
112
|
//region block: pre-declaration
|
|
113
113
|
initMetadataForObject(GameEngineConfig, 'GameEngineConfig');
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
181
181
|
initMetadataForClass(RulesDto, 'RulesDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
182
182
|
function get_actionTag() {
|
|
183
|
-
return toString(getKClassFromExpression(this).
|
|
183
|
+
return toString(getKClassFromExpression(this).o());
|
|
184
184
|
}
|
|
185
185
|
initMetadataForInterface(Action, 'Action');
|
|
186
186
|
initMetadataForInterface(BufferedAction, 'BufferedAction', VOID, VOID, [Action]);
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
return false;
|
|
197
197
|
}
|
|
198
198
|
function get_isAutoStartTimer() {
|
|
199
|
-
return !this.
|
|
199
|
+
return !this.y1u() && !this.z1u();
|
|
200
200
|
}
|
|
201
201
|
initMetadataForInterface(InterceptableAction, 'InterceptableAction', VOID, VOID, [BufferedAction]);
|
|
202
202
|
function ignoreValidation() {
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
tmp = types;
|
|
225
225
|
}
|
|
226
226
|
types = tmp;
|
|
227
|
-
return $super === VOID ? this.
|
|
227
|
+
return $super === VOID ? this.l1v(types) : $super.l1v.call(this, types);
|
|
228
228
|
}
|
|
229
229
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
230
230
|
initMetadataForCompanion(Companion_20);
|
|
@@ -232,9 +232,9 @@
|
|
|
232
232
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
233
233
|
//endregion
|
|
234
234
|
function GameEngineConfig() {
|
|
235
|
-
this.version = '1.8.
|
|
235
|
+
this.version = '1.8.453';
|
|
236
236
|
}
|
|
237
|
-
protoOf(GameEngineConfig).
|
|
237
|
+
protoOf(GameEngineConfig).u16 = function () {
|
|
238
238
|
return this.version;
|
|
239
239
|
};
|
|
240
240
|
var GameEngineConfig_instance;
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
return GameEngineConfig_instance;
|
|
243
243
|
}
|
|
244
244
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
245
|
-
return $this.
|
|
245
|
+
return $this.n1o_1.j2();
|
|
246
246
|
}
|
|
247
247
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
248
248
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -264,13 +264,13 @@
|
|
|
264
264
|
Companion_instance = this;
|
|
265
265
|
var tmp = this;
|
|
266
266
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
267
|
-
tmp.
|
|
267
|
+
tmp.n1o_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
268
268
|
}
|
|
269
|
-
protoOf(Companion).
|
|
269
|
+
protoOf(Companion).n17 = function () {
|
|
270
270
|
return _get_$cachedSerializer__te6jhj(this);
|
|
271
271
|
};
|
|
272
|
-
protoOf(Companion).
|
|
273
|
-
return this.
|
|
272
|
+
protoOf(Companion).mv = function (typeParamsSerializers) {
|
|
273
|
+
return this.n17();
|
|
274
274
|
};
|
|
275
275
|
var Companion_instance;
|
|
276
276
|
function Companion_getInstance_2() {
|
|
@@ -293,50 +293,50 @@
|
|
|
293
293
|
function $serializer() {
|
|
294
294
|
$serializer_instance = this;
|
|
295
295
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
296
|
-
tmp0_serialDesc.
|
|
297
|
-
this.
|
|
296
|
+
tmp0_serialDesc.ku('playerId', false);
|
|
297
|
+
this.o1o_1 = tmp0_serialDesc;
|
|
298
298
|
}
|
|
299
|
-
protoOf($serializer).
|
|
300
|
-
var tmp0_desc = this.
|
|
301
|
-
var tmp1_output = encoder.
|
|
302
|
-
tmp1_output.
|
|
303
|
-
tmp1_output.
|
|
299
|
+
protoOf($serializer).p1o = function (encoder, value) {
|
|
300
|
+
var tmp0_desc = this.o1o_1;
|
|
301
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
302
|
+
tmp1_output.jo(tmp0_desc, 0, value.q1o_1);
|
|
303
|
+
tmp1_output.vm(tmp0_desc);
|
|
304
304
|
};
|
|
305
|
-
protoOf($serializer).
|
|
306
|
-
return this.
|
|
305
|
+
protoOf($serializer).mj = function (encoder, value) {
|
|
306
|
+
return this.p1o(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
307
307
|
};
|
|
308
|
-
protoOf($serializer).
|
|
309
|
-
var tmp0_desc = this.
|
|
308
|
+
protoOf($serializer).nj = function (decoder) {
|
|
309
|
+
var tmp0_desc = this.o1o_1;
|
|
310
310
|
var tmp1_flag = true;
|
|
311
311
|
var tmp2_index = 0;
|
|
312
312
|
var tmp3_bitMask0 = 0;
|
|
313
313
|
var tmp4_local0 = null;
|
|
314
|
-
var tmp5_input = decoder.
|
|
315
|
-
if (tmp5_input.
|
|
316
|
-
tmp4_local0 = tmp5_input.
|
|
314
|
+
var tmp5_input = decoder.um(tmp0_desc);
|
|
315
|
+
if (tmp5_input.kn()) {
|
|
316
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
317
317
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
318
318
|
} else
|
|
319
319
|
while (tmp1_flag) {
|
|
320
|
-
tmp2_index = tmp5_input.
|
|
320
|
+
tmp2_index = tmp5_input.ln(tmp0_desc);
|
|
321
321
|
switch (tmp2_index) {
|
|
322
322
|
case -1:
|
|
323
323
|
tmp1_flag = false;
|
|
324
324
|
break;
|
|
325
325
|
case 0:
|
|
326
|
-
tmp4_local0 = tmp5_input.
|
|
326
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
327
327
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
328
328
|
break;
|
|
329
329
|
default:
|
|
330
330
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
tmp5_input.
|
|
333
|
+
tmp5_input.vm(tmp0_desc);
|
|
334
334
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
335
335
|
};
|
|
336
|
-
protoOf($serializer).
|
|
337
|
-
return this.
|
|
336
|
+
protoOf($serializer).lj = function () {
|
|
337
|
+
return this.o1o_1;
|
|
338
338
|
};
|
|
339
|
-
protoOf($serializer).
|
|
339
|
+
protoOf($serializer).bv = function () {
|
|
340
340
|
// Inline function 'kotlin.arrayOf' call
|
|
341
341
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
342
342
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -350,10 +350,10 @@
|
|
|
350
350
|
}
|
|
351
351
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
352
352
|
if (!(1 === (1 & seen0))) {
|
|
353
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
353
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().o1o_1);
|
|
354
354
|
}
|
|
355
355
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
356
|
-
$this.
|
|
356
|
+
$this.q1o_1 = playerId;
|
|
357
357
|
return $this;
|
|
358
358
|
}
|
|
359
359
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -361,20 +361,20 @@
|
|
|
361
361
|
}
|
|
362
362
|
function PlayerReturnsReason(playerId) {
|
|
363
363
|
ContinueGameReason.call(this);
|
|
364
|
-
this.
|
|
364
|
+
this.q1o_1 = playerId;
|
|
365
365
|
}
|
|
366
366
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
367
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
367
|
+
return 'PlayerReturnsReason(playerId=' + this.q1o_1 + ')';
|
|
368
368
|
};
|
|
369
369
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
370
|
-
return getStringHashCode(this.
|
|
370
|
+
return getStringHashCode(this.q1o_1);
|
|
371
371
|
};
|
|
372
372
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
373
373
|
if (this === other)
|
|
374
374
|
return true;
|
|
375
375
|
if (!(other instanceof PlayerReturnsReason))
|
|
376
376
|
return false;
|
|
377
|
-
if (!(this.
|
|
377
|
+
if (!(this.q1o_1 === other.q1o_1))
|
|
378
378
|
return false;
|
|
379
379
|
return true;
|
|
380
380
|
};
|
|
@@ -387,50 +387,50 @@
|
|
|
387
387
|
function $serializer_0() {
|
|
388
388
|
$serializer_instance_0 = this;
|
|
389
389
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
390
|
-
tmp0_serialDesc.
|
|
391
|
-
this.
|
|
390
|
+
tmp0_serialDesc.ku('fromRound', false);
|
|
391
|
+
this.r1o_1 = tmp0_serialDesc;
|
|
392
392
|
}
|
|
393
|
-
protoOf($serializer_0).
|
|
394
|
-
var tmp0_desc = this.
|
|
395
|
-
var tmp1_output = encoder.
|
|
396
|
-
tmp1_output.
|
|
397
|
-
tmp1_output.
|
|
393
|
+
protoOf($serializer_0).s1o = function (encoder, value) {
|
|
394
|
+
var tmp0_desc = this.r1o_1;
|
|
395
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
396
|
+
tmp1_output.no(tmp0_desc, 0, IntSerializer_getInstance(), value.t1o_1);
|
|
397
|
+
tmp1_output.vm(tmp0_desc);
|
|
398
398
|
};
|
|
399
|
-
protoOf($serializer_0).
|
|
400
|
-
return this.
|
|
399
|
+
protoOf($serializer_0).mj = function (encoder, value) {
|
|
400
|
+
return this.s1o(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
401
401
|
};
|
|
402
|
-
protoOf($serializer_0).
|
|
403
|
-
var tmp0_desc = this.
|
|
402
|
+
protoOf($serializer_0).nj = function (decoder) {
|
|
403
|
+
var tmp0_desc = this.r1o_1;
|
|
404
404
|
var tmp1_flag = true;
|
|
405
405
|
var tmp2_index = 0;
|
|
406
406
|
var tmp3_bitMask0 = 0;
|
|
407
407
|
var tmp4_local0 = null;
|
|
408
|
-
var tmp5_input = decoder.
|
|
409
|
-
if (tmp5_input.
|
|
410
|
-
tmp4_local0 = tmp5_input.
|
|
408
|
+
var tmp5_input = decoder.um(tmp0_desc);
|
|
409
|
+
if (tmp5_input.kn()) {
|
|
410
|
+
tmp4_local0 = tmp5_input.in(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
411
411
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
412
412
|
} else
|
|
413
413
|
while (tmp1_flag) {
|
|
414
|
-
tmp2_index = tmp5_input.
|
|
414
|
+
tmp2_index = tmp5_input.ln(tmp0_desc);
|
|
415
415
|
switch (tmp2_index) {
|
|
416
416
|
case -1:
|
|
417
417
|
tmp1_flag = false;
|
|
418
418
|
break;
|
|
419
419
|
case 0:
|
|
420
|
-
tmp4_local0 = tmp5_input.
|
|
420
|
+
tmp4_local0 = tmp5_input.in(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
421
421
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
422
422
|
break;
|
|
423
423
|
default:
|
|
424
424
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
tmp5_input.
|
|
427
|
+
tmp5_input.vm(tmp0_desc);
|
|
428
428
|
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
429
429
|
};
|
|
430
|
-
protoOf($serializer_0).
|
|
431
|
-
return this.
|
|
430
|
+
protoOf($serializer_0).lj = function () {
|
|
431
|
+
return this.r1o_1;
|
|
432
432
|
};
|
|
433
|
-
protoOf($serializer_0).
|
|
433
|
+
protoOf($serializer_0).bv = function () {
|
|
434
434
|
// Inline function 'kotlin.arrayOf' call
|
|
435
435
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
436
436
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -444,10 +444,10 @@
|
|
|
444
444
|
}
|
|
445
445
|
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
446
446
|
if (!(1 === (1 & seen0))) {
|
|
447
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
447
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().r1o_1);
|
|
448
448
|
}
|
|
449
449
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
450
|
-
$this.
|
|
450
|
+
$this.t1o_1 = fromRound;
|
|
451
451
|
return $this;
|
|
452
452
|
}
|
|
453
453
|
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
@@ -455,31 +455,31 @@
|
|
|
455
455
|
}
|
|
456
456
|
function RestartRoundReason(fromRound) {
|
|
457
457
|
ContinueGameReason.call(this);
|
|
458
|
-
this.
|
|
458
|
+
this.t1o_1 = fromRound;
|
|
459
459
|
}
|
|
460
460
|
protoOf(RestartRoundReason).toString = function () {
|
|
461
|
-
return 'RestartRoundReason(fromRound=' + this.
|
|
461
|
+
return 'RestartRoundReason(fromRound=' + this.t1o_1 + ')';
|
|
462
462
|
};
|
|
463
463
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
464
|
-
return this.
|
|
464
|
+
return this.t1o_1 == null ? 0 : this.t1o_1;
|
|
465
465
|
};
|
|
466
466
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
467
467
|
if (this === other)
|
|
468
468
|
return true;
|
|
469
469
|
if (!(other instanceof RestartRoundReason))
|
|
470
470
|
return false;
|
|
471
|
-
if (!(this.
|
|
471
|
+
if (!(this.t1o_1 == other.t1o_1))
|
|
472
472
|
return false;
|
|
473
473
|
return true;
|
|
474
474
|
};
|
|
475
475
|
function Companion_2() {
|
|
476
476
|
}
|
|
477
|
-
protoOf(Companion_2).
|
|
477
|
+
protoOf(Companion_2).u1o = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
478
478
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
479
479
|
};
|
|
480
480
|
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
481
481
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
482
|
-
return $super === VOID ? this.
|
|
482
|
+
return $super === VOID ? this.u1o(fileLogsEnabled, logsDirectoryPath, fileNameFormat) : $super.u1o.call(this, fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
483
483
|
};
|
|
484
484
|
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
485
485
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -498,35 +498,35 @@
|
|
|
498
498
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
499
499
|
this.fileNameFormat = fileNameFormat;
|
|
500
500
|
}
|
|
501
|
-
protoOf(CoreConfig).
|
|
501
|
+
protoOf(CoreConfig).v1o = function () {
|
|
502
502
|
return this.fileLogsEnabled;
|
|
503
503
|
};
|
|
504
|
-
protoOf(CoreConfig).
|
|
504
|
+
protoOf(CoreConfig).w1o = function () {
|
|
505
505
|
return this.deleteFilesOnClear;
|
|
506
506
|
};
|
|
507
|
-
protoOf(CoreConfig).
|
|
507
|
+
protoOf(CoreConfig).x1o = function () {
|
|
508
508
|
return this.logsDirectoryPath;
|
|
509
509
|
};
|
|
510
|
-
protoOf(CoreConfig).
|
|
510
|
+
protoOf(CoreConfig).y1o = function () {
|
|
511
511
|
return this.fileNameFormat;
|
|
512
512
|
};
|
|
513
|
-
protoOf(CoreConfig).
|
|
513
|
+
protoOf(CoreConfig).z1o = function () {
|
|
514
514
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
515
515
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
516
516
|
};
|
|
517
|
-
protoOf(CoreConfig).
|
|
517
|
+
protoOf(CoreConfig).pc = function () {
|
|
518
518
|
return this.fileLogsEnabled;
|
|
519
519
|
};
|
|
520
|
-
protoOf(CoreConfig).
|
|
520
|
+
protoOf(CoreConfig).qc = function () {
|
|
521
521
|
return this.deleteFilesOnClear;
|
|
522
522
|
};
|
|
523
|
-
protoOf(CoreConfig).
|
|
523
|
+
protoOf(CoreConfig).lh = function () {
|
|
524
524
|
return this.logsDirectoryPath;
|
|
525
525
|
};
|
|
526
|
-
protoOf(CoreConfig).
|
|
526
|
+
protoOf(CoreConfig).e16 = function () {
|
|
527
527
|
return this.fileNameFormat;
|
|
528
528
|
};
|
|
529
|
-
protoOf(CoreConfig).
|
|
529
|
+
protoOf(CoreConfig).a1p = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
530
530
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
531
531
|
};
|
|
532
532
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
535
535
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
536
536
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
537
|
-
return $super === VOID ? this.
|
|
537
|
+
return $super === VOID ? this.a1p(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) : $super.a1p.call(this, fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
538
538
|
};
|
|
539
539
|
protoOf(CoreConfig).toString = function () {
|
|
540
540
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
return true;
|
|
563
563
|
};
|
|
564
564
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
565
|
-
return $this.
|
|
565
|
+
return $this.b1p_1.j2();
|
|
566
566
|
}
|
|
567
567
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
568
568
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -576,13 +576,13 @@
|
|
|
576
576
|
RestartGameReason_instance = this;
|
|
577
577
|
var tmp = this;
|
|
578
578
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
579
|
-
tmp.
|
|
579
|
+
tmp.b1p_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
580
580
|
}
|
|
581
|
-
protoOf(RestartGameReason).
|
|
581
|
+
protoOf(RestartGameReason).n17 = function () {
|
|
582
582
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
583
583
|
};
|
|
584
|
-
protoOf(RestartGameReason).
|
|
585
|
-
return this.
|
|
584
|
+
protoOf(RestartGameReason).mv = function (typeParamsSerializers) {
|
|
585
|
+
return this.n17();
|
|
586
586
|
};
|
|
587
587
|
protoOf(RestartGameReason).toString = function () {
|
|
588
588
|
return 'RestartGameReason';
|
|
@@ -607,34 +607,34 @@
|
|
|
607
607
|
}
|
|
608
608
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
609
609
|
TerminationGameReason.call(this);
|
|
610
|
-
this.
|
|
610
|
+
this.c1p_1 = playerId;
|
|
611
611
|
this.tag = tag;
|
|
612
612
|
}
|
|
613
|
-
protoOf(PlayerLostConnectionReason).
|
|
614
|
-
return this.
|
|
613
|
+
protoOf(PlayerLostConnectionReason).d1p = function () {
|
|
614
|
+
return this.c1p_1;
|
|
615
615
|
};
|
|
616
|
-
protoOf(PlayerLostConnectionReason).
|
|
616
|
+
protoOf(PlayerLostConnectionReason).e1p = function () {
|
|
617
617
|
return this.tag;
|
|
618
618
|
};
|
|
619
|
-
protoOf(PlayerLostConnectionReason).
|
|
620
|
-
return this.
|
|
619
|
+
protoOf(PlayerLostConnectionReason).pc = function () {
|
|
620
|
+
return this.c1p_1;
|
|
621
621
|
};
|
|
622
|
-
protoOf(PlayerLostConnectionReason).
|
|
622
|
+
protoOf(PlayerLostConnectionReason).qc = function () {
|
|
623
623
|
return this.tag;
|
|
624
624
|
};
|
|
625
|
-
protoOf(PlayerLostConnectionReason).
|
|
625
|
+
protoOf(PlayerLostConnectionReason).f1p = function (playerId, tag) {
|
|
626
626
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
627
627
|
};
|
|
628
628
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
629
|
-
playerId = playerId === VOID ? this.
|
|
629
|
+
playerId = playerId === VOID ? this.c1p_1 : playerId;
|
|
630
630
|
tag = tag === VOID ? this.tag : tag;
|
|
631
|
-
return $super === VOID ? this.
|
|
631
|
+
return $super === VOID ? this.f1p(playerId, tag) : $super.f1p.call(this, playerId, tag);
|
|
632
632
|
};
|
|
633
633
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
634
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
634
|
+
return 'PlayerLostConnectionReason(playerId=' + this.c1p_1 + ', tag=' + this.tag + ')';
|
|
635
635
|
};
|
|
636
636
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
637
|
-
var result = getStringHashCode(this.
|
|
637
|
+
var result = getStringHashCode(this.c1p_1);
|
|
638
638
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
639
639
|
return result;
|
|
640
640
|
};
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
return true;
|
|
644
644
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
645
645
|
return false;
|
|
646
|
-
if (!(this.
|
|
646
|
+
if (!(this.c1p_1 === other.c1p_1))
|
|
647
647
|
return false;
|
|
648
648
|
if (!(this.tag == other.tag))
|
|
649
649
|
return false;
|
|
@@ -651,34 +651,34 @@
|
|
|
651
651
|
};
|
|
652
652
|
function PlayerTimeoutReason(playerId, tag) {
|
|
653
653
|
TerminationGameReason.call(this);
|
|
654
|
-
this.
|
|
654
|
+
this.g1p_1 = playerId;
|
|
655
655
|
this.tag = tag;
|
|
656
656
|
}
|
|
657
|
-
protoOf(PlayerTimeoutReason).
|
|
658
|
-
return this.
|
|
657
|
+
protoOf(PlayerTimeoutReason).d1p = function () {
|
|
658
|
+
return this.g1p_1;
|
|
659
659
|
};
|
|
660
|
-
protoOf(PlayerTimeoutReason).
|
|
660
|
+
protoOf(PlayerTimeoutReason).e1p = function () {
|
|
661
661
|
return this.tag;
|
|
662
662
|
};
|
|
663
|
-
protoOf(PlayerTimeoutReason).
|
|
664
|
-
return this.
|
|
663
|
+
protoOf(PlayerTimeoutReason).pc = function () {
|
|
664
|
+
return this.g1p_1;
|
|
665
665
|
};
|
|
666
|
-
protoOf(PlayerTimeoutReason).
|
|
666
|
+
protoOf(PlayerTimeoutReason).qc = function () {
|
|
667
667
|
return this.tag;
|
|
668
668
|
};
|
|
669
|
-
protoOf(PlayerTimeoutReason).
|
|
669
|
+
protoOf(PlayerTimeoutReason).f1p = function (playerId, tag) {
|
|
670
670
|
return new PlayerTimeoutReason(playerId, tag);
|
|
671
671
|
};
|
|
672
672
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
673
|
-
playerId = playerId === VOID ? this.
|
|
673
|
+
playerId = playerId === VOID ? this.g1p_1 : playerId;
|
|
674
674
|
tag = tag === VOID ? this.tag : tag;
|
|
675
|
-
return $super === VOID ? this.
|
|
675
|
+
return $super === VOID ? this.f1p(playerId, tag) : $super.f1p.call(this, playerId, tag);
|
|
676
676
|
};
|
|
677
677
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
678
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
678
|
+
return 'PlayerTimeoutReason(playerId=' + this.g1p_1 + ', tag=' + this.tag + ')';
|
|
679
679
|
};
|
|
680
680
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
681
|
-
var result = getStringHashCode(this.
|
|
681
|
+
var result = getStringHashCode(this.g1p_1);
|
|
682
682
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
683
683
|
return result;
|
|
684
684
|
};
|
|
@@ -687,7 +687,7 @@
|
|
|
687
687
|
return true;
|
|
688
688
|
if (!(other instanceof PlayerTimeoutReason))
|
|
689
689
|
return false;
|
|
690
|
-
if (!(this.
|
|
690
|
+
if (!(this.g1p_1 === other.g1p_1))
|
|
691
691
|
return false;
|
|
692
692
|
if (!(this.tag == other.tag))
|
|
693
693
|
return false;
|
|
@@ -695,40 +695,40 @@
|
|
|
695
695
|
};
|
|
696
696
|
function PlayerExitReason(playerId) {
|
|
697
697
|
TerminationGameReason.call(this);
|
|
698
|
-
this.
|
|
698
|
+
this.h1p_1 = playerId;
|
|
699
699
|
}
|
|
700
|
-
protoOf(PlayerExitReason).
|
|
701
|
-
return this.
|
|
700
|
+
protoOf(PlayerExitReason).d1p = function () {
|
|
701
|
+
return this.h1p_1;
|
|
702
702
|
};
|
|
703
|
-
protoOf(PlayerExitReason).
|
|
704
|
-
return this.
|
|
703
|
+
protoOf(PlayerExitReason).pc = function () {
|
|
704
|
+
return this.h1p_1;
|
|
705
705
|
};
|
|
706
|
-
protoOf(PlayerExitReason).
|
|
706
|
+
protoOf(PlayerExitReason).i1p = function (playerId) {
|
|
707
707
|
return new PlayerExitReason(playerId);
|
|
708
708
|
};
|
|
709
709
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
710
|
-
playerId = playerId === VOID ? this.
|
|
711
|
-
return $super === VOID ? this.
|
|
710
|
+
playerId = playerId === VOID ? this.h1p_1 : playerId;
|
|
711
|
+
return $super === VOID ? this.i1p(playerId) : $super.i1p.call(this, playerId);
|
|
712
712
|
};
|
|
713
713
|
protoOf(PlayerExitReason).toString = function () {
|
|
714
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
714
|
+
return 'PlayerExitReason(playerId=' + this.h1p_1 + ')';
|
|
715
715
|
};
|
|
716
716
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
717
|
-
return getStringHashCode(this.
|
|
717
|
+
return getStringHashCode(this.h1p_1);
|
|
718
718
|
};
|
|
719
719
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
720
720
|
if (this === other)
|
|
721
721
|
return true;
|
|
722
722
|
if (!(other instanceof PlayerExitReason))
|
|
723
723
|
return false;
|
|
724
|
-
if (!(this.
|
|
724
|
+
if (!(this.h1p_1 === other.h1p_1))
|
|
725
725
|
return false;
|
|
726
726
|
return true;
|
|
727
727
|
};
|
|
728
728
|
function FinishPlayerReason() {
|
|
729
729
|
}
|
|
730
730
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
731
|
-
return $this.
|
|
731
|
+
return $this.j1p_1.j2();
|
|
732
732
|
}
|
|
733
733
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
734
734
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -771,13 +771,13 @@
|
|
|
771
771
|
Companion_instance_3 = this;
|
|
772
772
|
var tmp = this;
|
|
773
773
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
774
|
-
tmp.
|
|
774
|
+
tmp.j1p_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
775
775
|
}
|
|
776
|
-
protoOf(Companion_3).
|
|
776
|
+
protoOf(Companion_3).n17 = function () {
|
|
777
777
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
778
778
|
};
|
|
779
|
-
protoOf(Companion_3).
|
|
780
|
-
return this.
|
|
779
|
+
protoOf(Companion_3).mv = function (typeParamsSerializers) {
|
|
780
|
+
return this.n17();
|
|
781
781
|
};
|
|
782
782
|
var Companion_instance_3;
|
|
783
783
|
function Companion_getInstance_6() {
|
|
@@ -831,18 +831,18 @@
|
|
|
831
831
|
TerminationGameReason.call(this);
|
|
832
832
|
this.reason = reason;
|
|
833
833
|
}
|
|
834
|
-
protoOf(GameFinishedReason).
|
|
834
|
+
protoOf(GameFinishedReason).m1p = function () {
|
|
835
835
|
return this.reason;
|
|
836
836
|
};
|
|
837
|
-
protoOf(GameFinishedReason).
|
|
837
|
+
protoOf(GameFinishedReason).pc = function () {
|
|
838
838
|
return this.reason;
|
|
839
839
|
};
|
|
840
|
-
protoOf(GameFinishedReason).
|
|
840
|
+
protoOf(GameFinishedReason).n1p = function (reason) {
|
|
841
841
|
return new GameFinishedReason(reason);
|
|
842
842
|
};
|
|
843
843
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
844
844
|
reason = reason === VOID ? this.reason : reason;
|
|
845
|
-
return $super === VOID ? this.
|
|
845
|
+
return $super === VOID ? this.n1p(reason) : $super.n1p.call(this, reason);
|
|
846
846
|
};
|
|
847
847
|
protoOf(GameFinishedReason).toString = function () {
|
|
848
848
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -860,7 +860,7 @@
|
|
|
860
860
|
return true;
|
|
861
861
|
};
|
|
862
862
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
863
|
-
return $this.
|
|
863
|
+
return $this.o1p_1.j2();
|
|
864
864
|
}
|
|
865
865
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
866
866
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -903,13 +903,13 @@
|
|
|
903
903
|
Companion_instance_4 = this;
|
|
904
904
|
var tmp = this;
|
|
905
905
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
906
|
-
tmp.
|
|
906
|
+
tmp.o1p_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
907
907
|
}
|
|
908
|
-
protoOf(Companion_4).
|
|
908
|
+
protoOf(Companion_4).n17 = function () {
|
|
909
909
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
910
910
|
};
|
|
911
|
-
protoOf(Companion_4).
|
|
912
|
-
return this.
|
|
911
|
+
protoOf(Companion_4).mv = function (typeParamsSerializers) {
|
|
912
|
+
return this.n17();
|
|
913
913
|
};
|
|
914
914
|
var Companion_instance_4;
|
|
915
915
|
function Companion_getInstance_7() {
|
|
@@ -963,18 +963,18 @@
|
|
|
963
963
|
TerminationGameReason.call(this);
|
|
964
964
|
this.reason = reason;
|
|
965
965
|
}
|
|
966
|
-
protoOf(GameErrorReason).
|
|
966
|
+
protoOf(GameErrorReason).m1p = function () {
|
|
967
967
|
return this.reason;
|
|
968
968
|
};
|
|
969
|
-
protoOf(GameErrorReason).
|
|
969
|
+
protoOf(GameErrorReason).pc = function () {
|
|
970
970
|
return this.reason;
|
|
971
971
|
};
|
|
972
|
-
protoOf(GameErrorReason).
|
|
972
|
+
protoOf(GameErrorReason).r1p = function (reason) {
|
|
973
973
|
return new GameErrorReason(reason);
|
|
974
974
|
};
|
|
975
975
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
976
976
|
reason = reason === VOID ? this.reason : reason;
|
|
977
|
-
return $super === VOID ? this.
|
|
977
|
+
return $super === VOID ? this.r1p(reason) : $super.r1p.call(this, reason);
|
|
978
978
|
};
|
|
979
979
|
protoOf(GameErrorReason).toString = function () {
|
|
980
980
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1048
1048
|
rating = rating === VOID ? null : rating;
|
|
1049
1049
|
payload = payload === VOID ? null : payload;
|
|
1050
|
-
this.
|
|
1050
|
+
this.s1p_1 = playerId;
|
|
1051
1051
|
this.name = name;
|
|
1052
1052
|
this.avatarUrl = avatarUrl;
|
|
1053
1053
|
this.isBot = isBot;
|
|
@@ -1055,25 +1055,25 @@
|
|
|
1055
1055
|
this.rating = rating;
|
|
1056
1056
|
this.payload = payload;
|
|
1057
1057
|
}
|
|
1058
|
-
protoOf(GameUserInfo).
|
|
1059
|
-
return this.
|
|
1058
|
+
protoOf(GameUserInfo).d1p = function () {
|
|
1059
|
+
return this.s1p_1;
|
|
1060
1060
|
};
|
|
1061
|
-
protoOf(GameUserInfo).
|
|
1061
|
+
protoOf(GameUserInfo).m = function () {
|
|
1062
1062
|
return this.name;
|
|
1063
1063
|
};
|
|
1064
|
-
protoOf(GameUserInfo).
|
|
1064
|
+
protoOf(GameUserInfo).t1p = function () {
|
|
1065
1065
|
return this.avatarUrl;
|
|
1066
1066
|
};
|
|
1067
|
-
protoOf(GameUserInfo).
|
|
1067
|
+
protoOf(GameUserInfo).u1p = function () {
|
|
1068
1068
|
return this.isBot;
|
|
1069
1069
|
};
|
|
1070
|
-
protoOf(GameUserInfo).
|
|
1070
|
+
protoOf(GameUserInfo).v1p = function () {
|
|
1071
1071
|
return this.initialLuckyFactor;
|
|
1072
1072
|
};
|
|
1073
|
-
protoOf(GameUserInfo).
|
|
1073
|
+
protoOf(GameUserInfo).w1p = function () {
|
|
1074
1074
|
return this.rating;
|
|
1075
1075
|
};
|
|
1076
|
-
protoOf(GameUserInfo).
|
|
1076
|
+
protoOf(GameUserInfo).x1p = function () {
|
|
1077
1077
|
return this.payload;
|
|
1078
1078
|
};
|
|
1079
1079
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1081,7 +1081,7 @@
|
|
|
1081
1081
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1082
1082
|
};
|
|
1083
1083
|
protoOf(GameUserInfo).toString = function () {
|
|
1084
|
-
var tmp = 'playerId=' + this.
|
|
1084
|
+
var tmp = 'playerId=' + this.s1p_1;
|
|
1085
1085
|
var tmp_0 = 'name=' + this.name;
|
|
1086
1086
|
// Inline function 'kotlin.takeIf' call
|
|
1087
1087
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1130,42 +1130,42 @@
|
|
|
1130
1130
|
var tmp$ret$9 = tmp_9;
|
|
1131
1131
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1132
1132
|
};
|
|
1133
|
-
protoOf(GameUserInfo).
|
|
1134
|
-
return this.
|
|
1133
|
+
protoOf(GameUserInfo).pc = function () {
|
|
1134
|
+
return this.s1p_1;
|
|
1135
1135
|
};
|
|
1136
|
-
protoOf(GameUserInfo).
|
|
1136
|
+
protoOf(GameUserInfo).qc = function () {
|
|
1137
1137
|
return this.name;
|
|
1138
1138
|
};
|
|
1139
|
-
protoOf(GameUserInfo).
|
|
1139
|
+
protoOf(GameUserInfo).lh = function () {
|
|
1140
1140
|
return this.avatarUrl;
|
|
1141
1141
|
};
|
|
1142
|
-
protoOf(GameUserInfo).
|
|
1142
|
+
protoOf(GameUserInfo).e16 = function () {
|
|
1143
1143
|
return this.isBot;
|
|
1144
1144
|
};
|
|
1145
|
-
protoOf(GameUserInfo).
|
|
1145
|
+
protoOf(GameUserInfo).y1p = function () {
|
|
1146
1146
|
return this.initialLuckyFactor;
|
|
1147
1147
|
};
|
|
1148
|
-
protoOf(GameUserInfo).
|
|
1148
|
+
protoOf(GameUserInfo).z1p = function () {
|
|
1149
1149
|
return this.rating;
|
|
1150
1150
|
};
|
|
1151
|
-
protoOf(GameUserInfo).
|
|
1151
|
+
protoOf(GameUserInfo).a1q = function () {
|
|
1152
1152
|
return this.payload;
|
|
1153
1153
|
};
|
|
1154
|
-
protoOf(GameUserInfo).
|
|
1154
|
+
protoOf(GameUserInfo).b1q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1155
1155
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1156
1156
|
};
|
|
1157
1157
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1158
|
-
playerId = playerId === VOID ? this.
|
|
1158
|
+
playerId = playerId === VOID ? this.s1p_1 : playerId;
|
|
1159
1159
|
name = name === VOID ? this.name : name;
|
|
1160
1160
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1161
1161
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1162
1162
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1163
1163
|
rating = rating === VOID ? this.rating : rating;
|
|
1164
1164
|
payload = payload === VOID ? this.payload : payload;
|
|
1165
|
-
return $super === VOID ? this.
|
|
1165
|
+
return $super === VOID ? this.b1q(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) : $super.b1q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1166
1166
|
};
|
|
1167
1167
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1168
|
-
var result = getStringHashCode(this.
|
|
1168
|
+
var result = getStringHashCode(this.s1p_1);
|
|
1169
1169
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1170
1170
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1171
1171
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1179,7 +1179,7 @@
|
|
|
1179
1179
|
return true;
|
|
1180
1180
|
if (!(other instanceof GameUserInfo))
|
|
1181
1181
|
return false;
|
|
1182
|
-
if (!(this.
|
|
1182
|
+
if (!(this.s1p_1 === other.s1p_1))
|
|
1183
1183
|
return false;
|
|
1184
1184
|
if (!(this.name === other.name))
|
|
1185
1185
|
return false;
|
|
@@ -1211,9 +1211,9 @@
|
|
|
1211
1211
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
1212
1212
|
var single = null;
|
|
1213
1213
|
var found = false;
|
|
1214
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
1215
|
-
while (_iterator__ex2g4s.
|
|
1216
|
-
var element = _iterator__ex2g4s.
|
|
1214
|
+
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
1215
|
+
while (_iterator__ex2g4s.u()) {
|
|
1216
|
+
var element = _iterator__ex2g4s.v();
|
|
1217
1217
|
if (tmp2(element)) {
|
|
1218
1218
|
if (found) {
|
|
1219
1219
|
tmp$ret$0 = null;
|
|
@@ -1240,18 +1240,18 @@
|
|
|
1240
1240
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1241
1241
|
}
|
|
1242
1242
|
function PlayerIndex(playerId, playerIndex) {
|
|
1243
|
-
this.
|
|
1244
|
-
this.
|
|
1243
|
+
this.c1q_1 = playerId;
|
|
1244
|
+
this.d1q_1 = playerIndex;
|
|
1245
1245
|
}
|
|
1246
|
-
protoOf(PlayerIndex).
|
|
1247
|
-
return this.
|
|
1246
|
+
protoOf(PlayerIndex).d1p = function () {
|
|
1247
|
+
return this.c1q_1;
|
|
1248
1248
|
};
|
|
1249
1249
|
protoOf(PlayerIndex).toString = function () {
|
|
1250
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1250
|
+
return 'PlayerIndex(playerId=' + this.c1q_1 + ', playerIndex=' + this.d1q_1 + ')';
|
|
1251
1251
|
};
|
|
1252
1252
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1253
|
-
var result = getStringHashCode(this.
|
|
1254
|
-
result = imul(result, 31) + this.
|
|
1253
|
+
var result = getStringHashCode(this.c1q_1);
|
|
1254
|
+
result = imul(result, 31) + this.d1q_1 | 0;
|
|
1255
1255
|
return result;
|
|
1256
1256
|
};
|
|
1257
1257
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1259,9 +1259,9 @@
|
|
|
1259
1259
|
return true;
|
|
1260
1260
|
if (!(other instanceof PlayerIndex))
|
|
1261
1261
|
return false;
|
|
1262
|
-
if (!(this.
|
|
1262
|
+
if (!(this.c1q_1 === other.c1q_1))
|
|
1263
1263
|
return false;
|
|
1264
|
-
if (!(this.
|
|
1264
|
+
if (!(this.d1q_1 === other.d1q_1))
|
|
1265
1265
|
return false;
|
|
1266
1266
|
return true;
|
|
1267
1267
|
};
|
|
@@ -1276,7 +1276,7 @@
|
|
|
1276
1276
|
}
|
|
1277
1277
|
function playerTurnPredicate$lambda(p1) {
|
|
1278
1278
|
_init_properties_Player_kt__qi83pd();
|
|
1279
|
-
return p1.
|
|
1279
|
+
return p1.e1q().m1q();
|
|
1280
1280
|
}
|
|
1281
1281
|
var properties_initialized_Player_kt_56shkt;
|
|
1282
1282
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1287,21 +1287,21 @@
|
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
function _get_lastConnectionStateDuration__9l9kps($this) {
|
|
1290
|
-
if ($this.
|
|
1291
|
-
return Companion_getInstance().
|
|
1290
|
+
if ($this.o1q_1 == null) {
|
|
1291
|
+
return Companion_getInstance().kf_1;
|
|
1292
1292
|
}
|
|
1293
|
-
var now = System_instance.
|
|
1294
|
-
return now.
|
|
1293
|
+
var now = System_instance.jf();
|
|
1294
|
+
return now.hg($this.o1q_1);
|
|
1295
1295
|
}
|
|
1296
1296
|
function Companion_5() {
|
|
1297
|
-
this.
|
|
1297
|
+
this.q1q_1 = 70;
|
|
1298
1298
|
}
|
|
1299
|
-
protoOf(Companion_5).
|
|
1299
|
+
protoOf(Companion_5).r1q = function (state, connectionChangedTime) {
|
|
1300
1300
|
return new PlayerConnection(state, connectionChangedTime);
|
|
1301
1301
|
};
|
|
1302
|
-
protoOf(Companion_5).
|
|
1302
|
+
protoOf(Companion_5).s1q = function (state, connectionChangedTime, $super) {
|
|
1303
1303
|
connectionChangedTime = connectionChangedTime === VOID ? null : connectionChangedTime;
|
|
1304
|
-
return $super === VOID ? this.
|
|
1304
|
+
return $super === VOID ? this.r1q(state, connectionChangedTime) : $super.r1q.call(this, state, connectionChangedTime);
|
|
1305
1305
|
};
|
|
1306
1306
|
var Companion_instance_5;
|
|
1307
1307
|
function Companion_getInstance_8() {
|
|
@@ -1309,45 +1309,45 @@
|
|
|
1309
1309
|
}
|
|
1310
1310
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1311
1311
|
connectionChangedTime = connectionChangedTime === VOID ? null : connectionChangedTime;
|
|
1312
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().
|
|
1313
|
-
this.
|
|
1314
|
-
this.
|
|
1315
|
-
this.
|
|
1312
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().kf_1 : notLiveDurationRecord;
|
|
1313
|
+
this.n1q_1 = state;
|
|
1314
|
+
this.o1q_1 = connectionChangedTime;
|
|
1315
|
+
this.p1q_1 = notLiveDurationRecord;
|
|
1316
1316
|
}
|
|
1317
|
-
protoOf(PlayerConnection).
|
|
1317
|
+
protoOf(PlayerConnection).t1q = function () {
|
|
1318
1318
|
var tmp;
|
|
1319
|
-
if (this.
|
|
1320
|
-
tmp = this.
|
|
1319
|
+
if (this.n1q_1.isLive) {
|
|
1320
|
+
tmp = this.p1q_1;
|
|
1321
1321
|
} else {
|
|
1322
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1322
|
+
tmp = Duration__plus_impl_yu9v8f(this.p1q_1, _get_lastConnectionStateDuration__9l9kps(this));
|
|
1323
1323
|
}
|
|
1324
1324
|
return tmp;
|
|
1325
1325
|
};
|
|
1326
|
-
protoOf(PlayerConnection).
|
|
1326
|
+
protoOf(PlayerConnection).u1q = function (gameDuration) {
|
|
1327
1327
|
// Inline function 'kotlin.Long.div' call
|
|
1328
1328
|
var this_0 = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration);
|
|
1329
1329
|
var percent = toNumber(this_0) / 100.0;
|
|
1330
1330
|
// Inline function 'kotlin.Long.div' call
|
|
1331
|
-
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1331
|
+
var this_1 = _Duration___get_inWholeMilliseconds__impl__msfiry(this.t1q());
|
|
1332
1332
|
// Inline function 'kotlin.math.round' call
|
|
1333
1333
|
var x = toNumber(this_1) / percent;
|
|
1334
1334
|
var tmp$ret$2 = round(x);
|
|
1335
1335
|
return numberToInt(tmp$ret$2);
|
|
1336
1336
|
};
|
|
1337
|
-
protoOf(PlayerConnection).
|
|
1338
|
-
return 100 - this.
|
|
1337
|
+
protoOf(PlayerConnection).v1q = function (gameDuration) {
|
|
1338
|
+
return 100 - this.u1q(gameDuration) | 0;
|
|
1339
1339
|
};
|
|
1340
|
-
protoOf(PlayerConnection).
|
|
1341
|
-
var percentage = this.
|
|
1340
|
+
protoOf(PlayerConnection).w1q = function (gameDuration) {
|
|
1341
|
+
var percentage = this.v1q(gameDuration);
|
|
1342
1342
|
return percentage >= 70;
|
|
1343
1343
|
};
|
|
1344
1344
|
protoOf(PlayerConnection).toString = function () {
|
|
1345
|
-
return 'PlayerConnection(state=' + this.
|
|
1345
|
+
return 'PlayerConnection(state=' + this.n1q_1.toString() + ', connectionChangedTime=' + toString(this.o1q_1) + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.p1q_1) + ')';
|
|
1346
1346
|
};
|
|
1347
1347
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1348
|
-
var result = this.
|
|
1349
|
-
result = imul(result, 31) + (this.
|
|
1350
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1348
|
+
var result = this.n1q_1.hashCode();
|
|
1349
|
+
result = imul(result, 31) + (this.o1q_1 == null ? 0 : this.o1q_1.hashCode()) | 0;
|
|
1350
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.p1q_1) | 0;
|
|
1351
1351
|
return result;
|
|
1352
1352
|
};
|
|
1353
1353
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1355,16 +1355,16 @@
|
|
|
1355
1355
|
return true;
|
|
1356
1356
|
if (!(other instanceof PlayerConnection))
|
|
1357
1357
|
return false;
|
|
1358
|
-
if (!this.
|
|
1358
|
+
if (!this.n1q_1.equals(other.n1q_1))
|
|
1359
1359
|
return false;
|
|
1360
|
-
if (!equals(this.
|
|
1360
|
+
if (!equals(this.o1q_1, other.o1q_1))
|
|
1361
1361
|
return false;
|
|
1362
|
-
if (!equals(this.
|
|
1362
|
+
if (!equals(this.p1q_1, other.p1q_1))
|
|
1363
1363
|
return false;
|
|
1364
1364
|
return true;
|
|
1365
1365
|
};
|
|
1366
1366
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1367
|
-
return $this.
|
|
1367
|
+
return $this.x1q_1.j2();
|
|
1368
1368
|
}
|
|
1369
1369
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1370
1370
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1408,13 +1408,13 @@
|
|
|
1408
1408
|
Companion_instance_6 = this;
|
|
1409
1409
|
var tmp = this;
|
|
1410
1410
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1411
|
-
tmp.
|
|
1411
|
+
tmp.x1q_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1412
1412
|
}
|
|
1413
|
-
protoOf(Companion_6).
|
|
1413
|
+
protoOf(Companion_6).n17 = function () {
|
|
1414
1414
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1415
1415
|
};
|
|
1416
|
-
protoOf(Companion_6).
|
|
1417
|
-
return this.
|
|
1416
|
+
protoOf(Companion_6).mv = function (typeParamsSerializers) {
|
|
1417
|
+
return this.n17();
|
|
1418
1418
|
};
|
|
1419
1419
|
var Companion_instance_6;
|
|
1420
1420
|
function Companion_getInstance_9() {
|
|
@@ -1441,30 +1441,30 @@
|
|
|
1441
1441
|
function PlayerConnectionState(name, ordinal) {
|
|
1442
1442
|
Enum.call(this, name, ordinal);
|
|
1443
1443
|
}
|
|
1444
|
-
protoOf(PlayerConnectionState).
|
|
1444
|
+
protoOf(PlayerConnectionState).a1r = function () {
|
|
1445
1445
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1446
1446
|
};
|
|
1447
|
-
protoOf(PlayerConnectionState).
|
|
1447
|
+
protoOf(PlayerConnectionState).b1r = function () {
|
|
1448
1448
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1449
1449
|
};
|
|
1450
|
-
protoOf(PlayerConnectionState).
|
|
1450
|
+
protoOf(PlayerConnectionState).c1r = function () {
|
|
1451
1451
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1452
1452
|
};
|
|
1453
|
-
protoOf(PlayerConnectionState).
|
|
1453
|
+
protoOf(PlayerConnectionState).d1r = function () {
|
|
1454
1454
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1455
1455
|
};
|
|
1456
|
-
protoOf(PlayerConnectionState).
|
|
1456
|
+
protoOf(PlayerConnectionState).e1r = function () {
|
|
1457
1457
|
return this.equals(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
1458
1458
|
};
|
|
1459
|
-
protoOf(PlayerConnectionState).
|
|
1459
|
+
protoOf(PlayerConnectionState).f1r = function () {
|
|
1460
1460
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1461
1461
|
};
|
|
1462
|
-
protoOf(PlayerConnectionState).
|
|
1462
|
+
protoOf(PlayerConnectionState).g1r = function () {
|
|
1463
1463
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1464
1464
|
};
|
|
1465
|
-
protoOf(PlayerConnectionState).
|
|
1465
|
+
protoOf(PlayerConnectionState).h1r = function () {
|
|
1466
1466
|
var tmp;
|
|
1467
|
-
switch (this.
|
|
1467
|
+
switch (this.x2_1) {
|
|
1468
1468
|
case 3:
|
|
1469
1469
|
case 2:
|
|
1470
1470
|
case 4:
|
|
@@ -1483,9 +1483,9 @@
|
|
|
1483
1483
|
}
|
|
1484
1484
|
return tmp;
|
|
1485
1485
|
};
|
|
1486
|
-
protoOf(PlayerConnectionState).
|
|
1486
|
+
protoOf(PlayerConnectionState).i1r = function () {
|
|
1487
1487
|
var tmp;
|
|
1488
|
-
switch (this.
|
|
1488
|
+
switch (this.x2_1) {
|
|
1489
1489
|
case 3:
|
|
1490
1490
|
case 2:
|
|
1491
1491
|
case 4:
|
|
@@ -1504,9 +1504,9 @@
|
|
|
1504
1504
|
}
|
|
1505
1505
|
return tmp;
|
|
1506
1506
|
};
|
|
1507
|
-
protoOf(PlayerConnectionState).
|
|
1507
|
+
protoOf(PlayerConnectionState).j1r = function () {
|
|
1508
1508
|
var tmp;
|
|
1509
|
-
switch (this.
|
|
1509
|
+
switch (this.x2_1) {
|
|
1510
1510
|
case 3:
|
|
1511
1511
|
tmp = false;
|
|
1512
1512
|
break;
|
|
@@ -1529,9 +1529,9 @@
|
|
|
1529
1529
|
}
|
|
1530
1530
|
return tmp;
|
|
1531
1531
|
};
|
|
1532
|
-
protoOf(PlayerConnectionState).
|
|
1532
|
+
protoOf(PlayerConnectionState).k1r = function () {
|
|
1533
1533
|
var tmp;
|
|
1534
|
-
switch (this.
|
|
1534
|
+
switch (this.x2_1) {
|
|
1535
1535
|
case 3:
|
|
1536
1536
|
tmp = false;
|
|
1537
1537
|
break;
|
|
@@ -1554,9 +1554,9 @@
|
|
|
1554
1554
|
}
|
|
1555
1555
|
return tmp;
|
|
1556
1556
|
};
|
|
1557
|
-
protoOf(PlayerConnectionState).
|
|
1557
|
+
protoOf(PlayerConnectionState).l1r = function () {
|
|
1558
1558
|
var tmp;
|
|
1559
|
-
switch (this.
|
|
1559
|
+
switch (this.x2_1) {
|
|
1560
1560
|
case 3:
|
|
1561
1561
|
tmp = true;
|
|
1562
1562
|
break;
|
|
@@ -1577,9 +1577,9 @@
|
|
|
1577
1577
|
}
|
|
1578
1578
|
return tmp;
|
|
1579
1579
|
};
|
|
1580
|
-
protoOf(PlayerConnectionState).
|
|
1580
|
+
protoOf(PlayerConnectionState).m1r = function () {
|
|
1581
1581
|
var tmp;
|
|
1582
|
-
switch (this.
|
|
1582
|
+
switch (this.x2_1) {
|
|
1583
1583
|
case 2:
|
|
1584
1584
|
case 3:
|
|
1585
1585
|
case 4:
|
|
@@ -1600,9 +1600,9 @@
|
|
|
1600
1600
|
}
|
|
1601
1601
|
return tmp;
|
|
1602
1602
|
};
|
|
1603
|
-
protoOf(PlayerConnectionState).
|
|
1603
|
+
protoOf(PlayerConnectionState).n1r = function () {
|
|
1604
1604
|
var tmp;
|
|
1605
|
-
switch (this.
|
|
1605
|
+
switch (this.x2_1) {
|
|
1606
1606
|
case 5:
|
|
1607
1607
|
tmp = false;
|
|
1608
1608
|
break;
|
|
@@ -1654,7 +1654,7 @@
|
|
|
1654
1654
|
return PlayerConnectionState_DELETED_instance;
|
|
1655
1655
|
}
|
|
1656
1656
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1657
|
-
return $this.
|
|
1657
|
+
return $this.o1r_1.j2();
|
|
1658
1658
|
}
|
|
1659
1659
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1660
1660
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1669,13 +1669,13 @@
|
|
|
1669
1669
|
Companion_instance_7 = this;
|
|
1670
1670
|
var tmp = this;
|
|
1671
1671
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1672
|
-
tmp.
|
|
1672
|
+
tmp.o1r_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1673
1673
|
}
|
|
1674
|
-
protoOf(Companion_7).
|
|
1674
|
+
protoOf(Companion_7).n17 = function () {
|
|
1675
1675
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1676
1676
|
};
|
|
1677
|
-
protoOf(Companion_7).
|
|
1678
|
-
return this.
|
|
1677
|
+
protoOf(Companion_7).mv = function (typeParamsSerializers) {
|
|
1678
|
+
return this.n17();
|
|
1679
1679
|
};
|
|
1680
1680
|
var Companion_instance_7;
|
|
1681
1681
|
function Companion_getInstance_10() {
|
|
@@ -1697,18 +1697,18 @@
|
|
|
1697
1697
|
function PlayerWaitingState(name, ordinal) {
|
|
1698
1698
|
Enum.call(this, name, ordinal);
|
|
1699
1699
|
}
|
|
1700
|
-
protoOf(PlayerWaitingState).
|
|
1701
|
-
return this.
|
|
1700
|
+
protoOf(PlayerWaitingState).m1q = function () {
|
|
1701
|
+
return this.r1r() || this.s1r();
|
|
1702
1702
|
};
|
|
1703
|
-
protoOf(PlayerWaitingState).
|
|
1703
|
+
protoOf(PlayerWaitingState).r1r = function () {
|
|
1704
1704
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1705
1705
|
};
|
|
1706
|
-
protoOf(PlayerWaitingState).
|
|
1706
|
+
protoOf(PlayerWaitingState).s1r = function () {
|
|
1707
1707
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1708
1708
|
};
|
|
1709
1709
|
function Companion_8() {
|
|
1710
1710
|
}
|
|
1711
|
-
protoOf(Companion_8).
|
|
1711
|
+
protoOf(Companion_8).t1r = function (connection) {
|
|
1712
1712
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1713
1713
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1714
1714
|
};
|
|
@@ -1731,17 +1731,17 @@
|
|
|
1731
1731
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1732
1732
|
tag = tag === VOID ? null : tag;
|
|
1733
1733
|
connection = connection === VOID ? null : connection;
|
|
1734
|
-
this.
|
|
1735
|
-
this.
|
|
1736
|
-
this.
|
|
1737
|
-
this.
|
|
1738
|
-
this.
|
|
1739
|
-
this.
|
|
1740
|
-
this.
|
|
1741
|
-
}
|
|
1742
|
-
protoOf(PlayerState).
|
|
1734
|
+
this.f1q_1 = startFromTime;
|
|
1735
|
+
this.g1q_1 = playerTurnTimeout;
|
|
1736
|
+
this.h1q_1 = waitPlayerUntilTime;
|
|
1737
|
+
this.i1q_1 = state;
|
|
1738
|
+
this.j1q_1 = ready;
|
|
1739
|
+
this.k1q_1 = tag;
|
|
1740
|
+
this.l1q_1 = connection;
|
|
1741
|
+
}
|
|
1742
|
+
protoOf(PlayerState).u1r = function () {
|
|
1743
1743
|
// Inline function 'kotlin.requireNotNull' call
|
|
1744
|
-
var tmp0 = this.
|
|
1744
|
+
var tmp0 = this.l1q_1;
|
|
1745
1745
|
var tmp$ret$1;
|
|
1746
1746
|
$l$block: {
|
|
1747
1747
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -1757,55 +1757,55 @@
|
|
|
1757
1757
|
};
|
|
1758
1758
|
protoOf(PlayerState).toString = function () {
|
|
1759
1759
|
// Inline function 'kotlin.takeIf' call
|
|
1760
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1760
|
+
var this_0 = 'startFromTime=' + toString(this.f1q_1);
|
|
1761
1761
|
var tmp;
|
|
1762
|
-
if (!(this.
|
|
1762
|
+
if (!(this.f1q_1 == null)) {
|
|
1763
1763
|
tmp = this_0;
|
|
1764
1764
|
} else {
|
|
1765
1765
|
tmp = null;
|
|
1766
1766
|
}
|
|
1767
1767
|
var tmp_0 = tmp;
|
|
1768
1768
|
// Inline function 'kotlin.takeIf' call
|
|
1769
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1769
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.g1q_1);
|
|
1770
1770
|
var tmp_1;
|
|
1771
|
-
if (!(this.
|
|
1771
|
+
if (!(this.g1q_1 == null)) {
|
|
1772
1772
|
tmp_1 = this_1;
|
|
1773
1773
|
} else {
|
|
1774
1774
|
tmp_1 = null;
|
|
1775
1775
|
}
|
|
1776
1776
|
var tmp_2 = tmp_1;
|
|
1777
1777
|
// Inline function 'kotlin.takeIf' call
|
|
1778
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1778
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.h1q_1);
|
|
1779
1779
|
var tmp_3;
|
|
1780
|
-
if (!(this.
|
|
1780
|
+
if (!(this.h1q_1 == null)) {
|
|
1781
1781
|
tmp_3 = this_2;
|
|
1782
1782
|
} else {
|
|
1783
1783
|
tmp_3 = null;
|
|
1784
1784
|
}
|
|
1785
1785
|
var tmp_4 = tmp_3;
|
|
1786
|
-
var tmp_5 = 'state=' + this.
|
|
1786
|
+
var tmp_5 = 'state=' + this.i1q_1.toString();
|
|
1787
1787
|
// Inline function 'kotlin.takeIf' call
|
|
1788
|
-
var this_3 = 'ready=' + this.
|
|
1788
|
+
var this_3 = 'ready=' + this.j1q_1;
|
|
1789
1789
|
var tmp_6;
|
|
1790
|
-
if (this.
|
|
1790
|
+
if (this.j1q_1) {
|
|
1791
1791
|
tmp_6 = this_3;
|
|
1792
1792
|
} else {
|
|
1793
1793
|
tmp_6 = null;
|
|
1794
1794
|
}
|
|
1795
1795
|
var tmp_7 = tmp_6;
|
|
1796
1796
|
// Inline function 'kotlin.takeIf' call
|
|
1797
|
-
var this_4 = 'tag=' + this.
|
|
1797
|
+
var this_4 = 'tag=' + this.k1q_1;
|
|
1798
1798
|
var tmp_8;
|
|
1799
|
-
if (!(this.
|
|
1799
|
+
if (!(this.k1q_1 == null)) {
|
|
1800
1800
|
tmp_8 = this_4;
|
|
1801
1801
|
} else {
|
|
1802
1802
|
tmp_8 = null;
|
|
1803
1803
|
}
|
|
1804
1804
|
var tmp_9 = tmp_8;
|
|
1805
1805
|
// Inline function 'kotlin.takeIf' call
|
|
1806
|
-
var this_5 = 'connection=' + toString(this.
|
|
1806
|
+
var this_5 = 'connection=' + toString(this.l1q_1);
|
|
1807
1807
|
var tmp_10;
|
|
1808
|
-
if (!(this.
|
|
1808
|
+
if (!(this.l1q_1 == null)) {
|
|
1809
1809
|
tmp_10 = this_5;
|
|
1810
1810
|
} else {
|
|
1811
1811
|
tmp_10 = null;
|
|
@@ -1813,17 +1813,17 @@
|
|
|
1813
1813
|
var tmp$ret$11 = tmp_10;
|
|
1814
1814
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1815
1815
|
};
|
|
1816
|
-
protoOf(PlayerState).
|
|
1817
|
-
return this.
|
|
1816
|
+
protoOf(PlayerState).m1q = function () {
|
|
1817
|
+
return this.i1q_1.m1q();
|
|
1818
1818
|
};
|
|
1819
1819
|
protoOf(PlayerState).hashCode = function () {
|
|
1820
|
-
var result = this.
|
|
1821
|
-
result = imul(result, 31) + (this.
|
|
1822
|
-
result = imul(result, 31) + (this.
|
|
1823
|
-
result = imul(result, 31) + this.
|
|
1824
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1825
|
-
result = imul(result, 31) + (this.
|
|
1826
|
-
result = imul(result, 31) + (this.
|
|
1820
|
+
var result = this.f1q_1 == null ? 0 : this.f1q_1.hashCode();
|
|
1821
|
+
result = imul(result, 31) + (this.g1q_1 == null ? 0 : this.g1q_1.hashCode()) | 0;
|
|
1822
|
+
result = imul(result, 31) + (this.h1q_1 == null ? 0 : this.h1q_1.hashCode()) | 0;
|
|
1823
|
+
result = imul(result, 31) + this.i1q_1.hashCode() | 0;
|
|
1824
|
+
result = imul(result, 31) + getBooleanHashCode(this.j1q_1) | 0;
|
|
1825
|
+
result = imul(result, 31) + (this.k1q_1 == null ? 0 : getStringHashCode(this.k1q_1)) | 0;
|
|
1826
|
+
result = imul(result, 31) + (this.l1q_1 == null ? 0 : this.l1q_1.hashCode()) | 0;
|
|
1827
1827
|
return result;
|
|
1828
1828
|
};
|
|
1829
1829
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1831,46 +1831,46 @@
|
|
|
1831
1831
|
return true;
|
|
1832
1832
|
if (!(other instanceof PlayerState))
|
|
1833
1833
|
return false;
|
|
1834
|
-
if (!equals(this.
|
|
1834
|
+
if (!equals(this.f1q_1, other.f1q_1))
|
|
1835
1835
|
return false;
|
|
1836
|
-
if (!equals(this.
|
|
1836
|
+
if (!equals(this.g1q_1, other.g1q_1))
|
|
1837
1837
|
return false;
|
|
1838
|
-
if (!equals(this.
|
|
1838
|
+
if (!equals(this.h1q_1, other.h1q_1))
|
|
1839
1839
|
return false;
|
|
1840
|
-
if (!this.
|
|
1840
|
+
if (!this.i1q_1.equals(other.i1q_1))
|
|
1841
1841
|
return false;
|
|
1842
|
-
if (!(this.
|
|
1842
|
+
if (!(this.j1q_1 === other.j1q_1))
|
|
1843
1843
|
return false;
|
|
1844
|
-
if (!(this.
|
|
1844
|
+
if (!(this.k1q_1 == other.k1q_1))
|
|
1845
1845
|
return false;
|
|
1846
|
-
if (!equals(this.
|
|
1846
|
+
if (!equals(this.l1q_1, other.l1q_1))
|
|
1847
1847
|
return false;
|
|
1848
1848
|
return true;
|
|
1849
1849
|
};
|
|
1850
1850
|
function Team(playerIds) {
|
|
1851
1851
|
this.playerIds = playerIds;
|
|
1852
1852
|
}
|
|
1853
|
-
protoOf(Team).
|
|
1853
|
+
protoOf(Team).v1r = function () {
|
|
1854
1854
|
return this.playerIds;
|
|
1855
1855
|
};
|
|
1856
1856
|
protoOf(Team).containsPlayer = function (playerId) {
|
|
1857
|
-
return this.playerIds.
|
|
1857
|
+
return this.playerIds.c2(playerId);
|
|
1858
1858
|
};
|
|
1859
|
-
protoOf(Team).
|
|
1860
|
-
return this.playerIds.
|
|
1859
|
+
protoOf(Team).oh = function () {
|
|
1860
|
+
return this.playerIds.d1(0);
|
|
1861
1861
|
};
|
|
1862
|
-
protoOf(Team).
|
|
1863
|
-
return this.playerIds.
|
|
1862
|
+
protoOf(Team).ph = function () {
|
|
1863
|
+
return this.playerIds.d1(1);
|
|
1864
1864
|
};
|
|
1865
|
-
protoOf(Team).
|
|
1865
|
+
protoOf(Team).pc = function () {
|
|
1866
1866
|
return this.playerIds;
|
|
1867
1867
|
};
|
|
1868
|
-
protoOf(Team).
|
|
1868
|
+
protoOf(Team).w1r = function (playerIds) {
|
|
1869
1869
|
return new Team(playerIds);
|
|
1870
1870
|
};
|
|
1871
1871
|
protoOf(Team).copy = function (playerIds, $super) {
|
|
1872
1872
|
playerIds = playerIds === VOID ? this.playerIds : playerIds;
|
|
1873
|
-
return $super === VOID ? this.
|
|
1873
|
+
return $super === VOID ? this.w1r(playerIds) : $super.w1r.call(this, playerIds);
|
|
1874
1874
|
};
|
|
1875
1875
|
protoOf(Team).toString = function () {
|
|
1876
1876
|
return 'Team(playerIds=' + toString_0(this.playerIds) + ')';
|
|
@@ -1888,7 +1888,7 @@
|
|
|
1888
1888
|
return true;
|
|
1889
1889
|
};
|
|
1890
1890
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1891
|
-
return $this.
|
|
1891
|
+
return $this.x1r_1.j2();
|
|
1892
1892
|
}
|
|
1893
1893
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1894
1894
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1926,13 +1926,13 @@
|
|
|
1926
1926
|
Companion_instance_9 = this;
|
|
1927
1927
|
var tmp = this;
|
|
1928
1928
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1929
|
-
tmp.
|
|
1929
|
+
tmp.x1r_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1930
1930
|
}
|
|
1931
|
-
protoOf(Companion_9).
|
|
1931
|
+
protoOf(Companion_9).n17 = function () {
|
|
1932
1932
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1933
1933
|
};
|
|
1934
|
-
protoOf(Companion_9).
|
|
1935
|
-
return this.
|
|
1934
|
+
protoOf(Companion_9).mv = function (typeParamsSerializers) {
|
|
1935
|
+
return this.n17();
|
|
1936
1936
|
};
|
|
1937
1937
|
var Companion_instance_9;
|
|
1938
1938
|
function Companion_getInstance_12() {
|
|
@@ -1947,7 +1947,7 @@
|
|
|
1947
1947
|
Companion_getInstance_12();
|
|
1948
1948
|
}
|
|
1949
1949
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1950
|
-
return $this.
|
|
1950
|
+
return $this.y1r_1.j2();
|
|
1951
1951
|
}
|
|
1952
1952
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1953
1953
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1962,13 +1962,13 @@
|
|
|
1962
1962
|
TerminationGameReasonDto.call(this);
|
|
1963
1963
|
var tmp = this;
|
|
1964
1964
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1965
|
-
tmp.
|
|
1965
|
+
tmp.y1r_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1966
1966
|
}
|
|
1967
|
-
protoOf(ProcessingReasonDto).
|
|
1967
|
+
protoOf(ProcessingReasonDto).n17 = function () {
|
|
1968
1968
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1969
1969
|
};
|
|
1970
|
-
protoOf(ProcessingReasonDto).
|
|
1971
|
-
return this.
|
|
1970
|
+
protoOf(ProcessingReasonDto).mv = function (typeParamsSerializers) {
|
|
1971
|
+
return this.n17();
|
|
1972
1972
|
};
|
|
1973
1973
|
protoOf(ProcessingReasonDto).toString = function () {
|
|
1974
1974
|
return 'ProcessingReasonDto';
|
|
@@ -1998,50 +1998,50 @@
|
|
|
1998
1998
|
function $serializer_1() {
|
|
1999
1999
|
$serializer_instance_1 = this;
|
|
2000
2000
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
2001
|
-
tmp0_serialDesc.
|
|
2002
|
-
this.
|
|
2001
|
+
tmp0_serialDesc.ku('reason', false);
|
|
2002
|
+
this.z1r_1 = tmp0_serialDesc;
|
|
2003
2003
|
}
|
|
2004
|
-
protoOf($serializer_1).
|
|
2005
|
-
var tmp0_desc = this.
|
|
2006
|
-
var tmp1_output = encoder.
|
|
2007
|
-
tmp1_output.
|
|
2008
|
-
tmp1_output.
|
|
2004
|
+
protoOf($serializer_1).a1s = function (encoder, value) {
|
|
2005
|
+
var tmp0_desc = this.z1r_1;
|
|
2006
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
2007
|
+
tmp1_output.jo(tmp0_desc, 0, value.reason);
|
|
2008
|
+
tmp1_output.vm(tmp0_desc);
|
|
2009
2009
|
};
|
|
2010
|
-
protoOf($serializer_1).
|
|
2011
|
-
return this.
|
|
2010
|
+
protoOf($serializer_1).mj = function (encoder, value) {
|
|
2011
|
+
return this.a1s(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
2012
2012
|
};
|
|
2013
|
-
protoOf($serializer_1).
|
|
2014
|
-
var tmp0_desc = this.
|
|
2013
|
+
protoOf($serializer_1).nj = function (decoder) {
|
|
2014
|
+
var tmp0_desc = this.z1r_1;
|
|
2015
2015
|
var tmp1_flag = true;
|
|
2016
2016
|
var tmp2_index = 0;
|
|
2017
2017
|
var tmp3_bitMask0 = 0;
|
|
2018
2018
|
var tmp4_local0 = null;
|
|
2019
|
-
var tmp5_input = decoder.
|
|
2020
|
-
if (tmp5_input.
|
|
2021
|
-
tmp4_local0 = tmp5_input.
|
|
2019
|
+
var tmp5_input = decoder.um(tmp0_desc);
|
|
2020
|
+
if (tmp5_input.kn()) {
|
|
2021
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
2022
2022
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2023
2023
|
} else
|
|
2024
2024
|
while (tmp1_flag) {
|
|
2025
|
-
tmp2_index = tmp5_input.
|
|
2025
|
+
tmp2_index = tmp5_input.ln(tmp0_desc);
|
|
2026
2026
|
switch (tmp2_index) {
|
|
2027
2027
|
case -1:
|
|
2028
2028
|
tmp1_flag = false;
|
|
2029
2029
|
break;
|
|
2030
2030
|
case 0:
|
|
2031
|
-
tmp4_local0 = tmp5_input.
|
|
2031
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
2032
2032
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2033
2033
|
break;
|
|
2034
2034
|
default:
|
|
2035
2035
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2036
2036
|
}
|
|
2037
2037
|
}
|
|
2038
|
-
tmp5_input.
|
|
2038
|
+
tmp5_input.vm(tmp0_desc);
|
|
2039
2039
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2040
2040
|
};
|
|
2041
|
-
protoOf($serializer_1).
|
|
2042
|
-
return this.
|
|
2041
|
+
protoOf($serializer_1).lj = function () {
|
|
2042
|
+
return this.z1r_1;
|
|
2043
2043
|
};
|
|
2044
|
-
protoOf($serializer_1).
|
|
2044
|
+
protoOf($serializer_1).bv = function () {
|
|
2045
2045
|
// Inline function 'kotlin.arrayOf' call
|
|
2046
2046
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2047
2047
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2055,7 +2055,7 @@
|
|
|
2055
2055
|
}
|
|
2056
2056
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2057
2057
|
if (!(1 === (1 & seen0))) {
|
|
2058
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
2058
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().z1r_1);
|
|
2059
2059
|
}
|
|
2060
2060
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2061
2061
|
$this.reason = reason;
|
|
@@ -2068,7 +2068,7 @@
|
|
|
2068
2068
|
TerminationGameReasonDto.call(this);
|
|
2069
2069
|
this.reason = reason;
|
|
2070
2070
|
}
|
|
2071
|
-
protoOf(GameErrorReasonDto).
|
|
2071
|
+
protoOf(GameErrorReasonDto).m1p = function () {
|
|
2072
2072
|
return this.reason;
|
|
2073
2073
|
};
|
|
2074
2074
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -2095,50 +2095,50 @@
|
|
|
2095
2095
|
function $serializer_2() {
|
|
2096
2096
|
$serializer_instance_2 = this;
|
|
2097
2097
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
2098
|
-
tmp0_serialDesc.
|
|
2099
|
-
this.
|
|
2098
|
+
tmp0_serialDesc.ku('reason', false);
|
|
2099
|
+
this.b1s_1 = tmp0_serialDesc;
|
|
2100
2100
|
}
|
|
2101
|
-
protoOf($serializer_2).
|
|
2102
|
-
var tmp0_desc = this.
|
|
2103
|
-
var tmp1_output = encoder.
|
|
2104
|
-
tmp1_output.
|
|
2105
|
-
tmp1_output.
|
|
2101
|
+
protoOf($serializer_2).c1s = function (encoder, value) {
|
|
2102
|
+
var tmp0_desc = this.b1s_1;
|
|
2103
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
2104
|
+
tmp1_output.jo(tmp0_desc, 0, value.reason);
|
|
2105
|
+
tmp1_output.vm(tmp0_desc);
|
|
2106
2106
|
};
|
|
2107
|
-
protoOf($serializer_2).
|
|
2108
|
-
return this.
|
|
2107
|
+
protoOf($serializer_2).mj = function (encoder, value) {
|
|
2108
|
+
return this.c1s(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
2109
2109
|
};
|
|
2110
|
-
protoOf($serializer_2).
|
|
2111
|
-
var tmp0_desc = this.
|
|
2110
|
+
protoOf($serializer_2).nj = function (decoder) {
|
|
2111
|
+
var tmp0_desc = this.b1s_1;
|
|
2112
2112
|
var tmp1_flag = true;
|
|
2113
2113
|
var tmp2_index = 0;
|
|
2114
2114
|
var tmp3_bitMask0 = 0;
|
|
2115
2115
|
var tmp4_local0 = null;
|
|
2116
|
-
var tmp5_input = decoder.
|
|
2117
|
-
if (tmp5_input.
|
|
2118
|
-
tmp4_local0 = tmp5_input.
|
|
2116
|
+
var tmp5_input = decoder.um(tmp0_desc);
|
|
2117
|
+
if (tmp5_input.kn()) {
|
|
2118
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
2119
2119
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2120
2120
|
} else
|
|
2121
2121
|
while (tmp1_flag) {
|
|
2122
|
-
tmp2_index = tmp5_input.
|
|
2122
|
+
tmp2_index = tmp5_input.ln(tmp0_desc);
|
|
2123
2123
|
switch (tmp2_index) {
|
|
2124
2124
|
case -1:
|
|
2125
2125
|
tmp1_flag = false;
|
|
2126
2126
|
break;
|
|
2127
2127
|
case 0:
|
|
2128
|
-
tmp4_local0 = tmp5_input.
|
|
2128
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
2129
2129
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2130
2130
|
break;
|
|
2131
2131
|
default:
|
|
2132
2132
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2133
2133
|
}
|
|
2134
2134
|
}
|
|
2135
|
-
tmp5_input.
|
|
2135
|
+
tmp5_input.vm(tmp0_desc);
|
|
2136
2136
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2137
2137
|
};
|
|
2138
|
-
protoOf($serializer_2).
|
|
2139
|
-
return this.
|
|
2138
|
+
protoOf($serializer_2).lj = function () {
|
|
2139
|
+
return this.b1s_1;
|
|
2140
2140
|
};
|
|
2141
|
-
protoOf($serializer_2).
|
|
2141
|
+
protoOf($serializer_2).bv = function () {
|
|
2142
2142
|
// Inline function 'kotlin.arrayOf' call
|
|
2143
2143
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2144
2144
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2152,7 +2152,7 @@
|
|
|
2152
2152
|
}
|
|
2153
2153
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2154
2154
|
if (!(1 === (1 & seen0))) {
|
|
2155
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2155
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().b1s_1);
|
|
2156
2156
|
}
|
|
2157
2157
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2158
2158
|
$this.reason = reason;
|
|
@@ -2165,7 +2165,7 @@
|
|
|
2165
2165
|
TerminationGameReasonDto.call(this);
|
|
2166
2166
|
this.reason = reason;
|
|
2167
2167
|
}
|
|
2168
|
-
protoOf(GameFinishedReasonDto).
|
|
2168
|
+
protoOf(GameFinishedReasonDto).m1p = function () {
|
|
2169
2169
|
return this.reason;
|
|
2170
2170
|
};
|
|
2171
2171
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
@@ -2192,50 +2192,50 @@
|
|
|
2192
2192
|
function $serializer_3() {
|
|
2193
2193
|
$serializer_instance_3 = this;
|
|
2194
2194
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
2195
|
-
tmp0_serialDesc.
|
|
2196
|
-
this.
|
|
2195
|
+
tmp0_serialDesc.ku('playerId', false);
|
|
2196
|
+
this.d1s_1 = tmp0_serialDesc;
|
|
2197
2197
|
}
|
|
2198
|
-
protoOf($serializer_3).
|
|
2199
|
-
var tmp0_desc = this.
|
|
2200
|
-
var tmp1_output = encoder.
|
|
2201
|
-
tmp1_output.
|
|
2202
|
-
tmp1_output.
|
|
2198
|
+
protoOf($serializer_3).e1s = function (encoder, value) {
|
|
2199
|
+
var tmp0_desc = this.d1s_1;
|
|
2200
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
2201
|
+
tmp1_output.jo(tmp0_desc, 0, value.f1s_1);
|
|
2202
|
+
tmp1_output.vm(tmp0_desc);
|
|
2203
2203
|
};
|
|
2204
|
-
protoOf($serializer_3).
|
|
2205
|
-
return this.
|
|
2204
|
+
protoOf($serializer_3).mj = function (encoder, value) {
|
|
2205
|
+
return this.e1s(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2206
2206
|
};
|
|
2207
|
-
protoOf($serializer_3).
|
|
2208
|
-
var tmp0_desc = this.
|
|
2207
|
+
protoOf($serializer_3).nj = function (decoder) {
|
|
2208
|
+
var tmp0_desc = this.d1s_1;
|
|
2209
2209
|
var tmp1_flag = true;
|
|
2210
2210
|
var tmp2_index = 0;
|
|
2211
2211
|
var tmp3_bitMask0 = 0;
|
|
2212
2212
|
var tmp4_local0 = null;
|
|
2213
|
-
var tmp5_input = decoder.
|
|
2214
|
-
if (tmp5_input.
|
|
2215
|
-
tmp4_local0 = tmp5_input.
|
|
2213
|
+
var tmp5_input = decoder.um(tmp0_desc);
|
|
2214
|
+
if (tmp5_input.kn()) {
|
|
2215
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
2216
2216
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2217
2217
|
} else
|
|
2218
2218
|
while (tmp1_flag) {
|
|
2219
|
-
tmp2_index = tmp5_input.
|
|
2219
|
+
tmp2_index = tmp5_input.ln(tmp0_desc);
|
|
2220
2220
|
switch (tmp2_index) {
|
|
2221
2221
|
case -1:
|
|
2222
2222
|
tmp1_flag = false;
|
|
2223
2223
|
break;
|
|
2224
2224
|
case 0:
|
|
2225
|
-
tmp4_local0 = tmp5_input.
|
|
2225
|
+
tmp4_local0 = tmp5_input.en(tmp0_desc, 0);
|
|
2226
2226
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2227
2227
|
break;
|
|
2228
2228
|
default:
|
|
2229
2229
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2230
2230
|
}
|
|
2231
2231
|
}
|
|
2232
|
-
tmp5_input.
|
|
2232
|
+
tmp5_input.vm(tmp0_desc);
|
|
2233
2233
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2234
2234
|
};
|
|
2235
|
-
protoOf($serializer_3).
|
|
2236
|
-
return this.
|
|
2235
|
+
protoOf($serializer_3).lj = function () {
|
|
2236
|
+
return this.d1s_1;
|
|
2237
2237
|
};
|
|
2238
|
-
protoOf($serializer_3).
|
|
2238
|
+
protoOf($serializer_3).bv = function () {
|
|
2239
2239
|
// Inline function 'kotlin.arrayOf' call
|
|
2240
2240
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2241
2241
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2249,10 +2249,10 @@
|
|
|
2249
2249
|
}
|
|
2250
2250
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2251
2251
|
if (!(1 === (1 & seen0))) {
|
|
2252
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2252
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().d1s_1);
|
|
2253
2253
|
}
|
|
2254
2254
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2255
|
-
$this.
|
|
2255
|
+
$this.f1s_1 = playerId;
|
|
2256
2256
|
return $this;
|
|
2257
2257
|
}
|
|
2258
2258
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2260,20 +2260,20 @@
|
|
|
2260
2260
|
}
|
|
2261
2261
|
function PlayerExitReasonDto(playerId) {
|
|
2262
2262
|
TerminationGameReasonDto.call(this);
|
|
2263
|
-
this.
|
|
2263
|
+
this.f1s_1 = playerId;
|
|
2264
2264
|
}
|
|
2265
2265
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2266
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2266
|
+
return 'PlayerExitReasonDto(playerId=' + this.f1s_1 + ')';
|
|
2267
2267
|
};
|
|
2268
2268
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2269
|
-
return getStringHashCode(this.
|
|
2269
|
+
return getStringHashCode(this.f1s_1);
|
|
2270
2270
|
};
|
|
2271
2271
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2272
2272
|
if (this === other)
|
|
2273
2273
|
return true;
|
|
2274
2274
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2275
2275
|
return false;
|
|
2276
|
-
if (!(this.
|
|
2276
|
+
if (!(this.f1s_1 === other.f1s_1))
|
|
2277
2277
|
return false;
|
|
2278
2278
|
return true;
|
|
2279
2279
|
};
|
|
@@ -2286,59 +2286,59 @@
|
|
|
2286
2286
|
function $serializer_4() {
|
|
2287
2287
|
$serializer_instance_4 = this;
|
|
2288
2288
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2289
|
-
tmp0_serialDesc.
|
|
2290
|
-
tmp0_serialDesc.
|
|
2291
|
-
this.
|
|
2292
|
-
}
|
|
2293
|
-
protoOf($serializer_4).
|
|
2294
|
-
var tmp0_desc = this.
|
|
2295
|
-
var tmp1_output = encoder.
|
|
2296
|
-
tmp1_output.
|
|
2297
|
-
tmp1_output.
|
|
2298
|
-
tmp1_output.
|
|
2299
|
-
};
|
|
2300
|
-
protoOf($serializer_4).
|
|
2301
|
-
return this.
|
|
2302
|
-
};
|
|
2303
|
-
protoOf($serializer_4).
|
|
2304
|
-
var tmp0_desc = this.
|
|
2289
|
+
tmp0_serialDesc.ku('playerId', false);
|
|
2290
|
+
tmp0_serialDesc.ku('tag', false);
|
|
2291
|
+
this.g1s_1 = tmp0_serialDesc;
|
|
2292
|
+
}
|
|
2293
|
+
protoOf($serializer_4).h1s = function (encoder, value) {
|
|
2294
|
+
var tmp0_desc = this.g1s_1;
|
|
2295
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
2296
|
+
tmp1_output.jo(tmp0_desc, 0, value.i1s_1);
|
|
2297
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.j1s_1);
|
|
2298
|
+
tmp1_output.vm(tmp0_desc);
|
|
2299
|
+
};
|
|
2300
|
+
protoOf($serializer_4).mj = function (encoder, value) {
|
|
2301
|
+
return this.h1s(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2302
|
+
};
|
|
2303
|
+
protoOf($serializer_4).nj = function (decoder) {
|
|
2304
|
+
var tmp0_desc = this.g1s_1;
|
|
2305
2305
|
var tmp1_flag = true;
|
|
2306
2306
|
var tmp2_index = 0;
|
|
2307
2307
|
var tmp3_bitMask0 = 0;
|
|
2308
2308
|
var tmp4_local0 = null;
|
|
2309
2309
|
var tmp5_local1 = null;
|
|
2310
|
-
var tmp6_input = decoder.
|
|
2311
|
-
if (tmp6_input.
|
|
2312
|
-
tmp4_local0 = tmp6_input.
|
|
2310
|
+
var tmp6_input = decoder.um(tmp0_desc);
|
|
2311
|
+
if (tmp6_input.kn()) {
|
|
2312
|
+
tmp4_local0 = tmp6_input.en(tmp0_desc, 0);
|
|
2313
2313
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2314
|
-
tmp5_local1 = tmp6_input.
|
|
2314
|
+
tmp5_local1 = tmp6_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2315
2315
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2316
2316
|
} else
|
|
2317
2317
|
while (tmp1_flag) {
|
|
2318
|
-
tmp2_index = tmp6_input.
|
|
2318
|
+
tmp2_index = tmp6_input.ln(tmp0_desc);
|
|
2319
2319
|
switch (tmp2_index) {
|
|
2320
2320
|
case -1:
|
|
2321
2321
|
tmp1_flag = false;
|
|
2322
2322
|
break;
|
|
2323
2323
|
case 0:
|
|
2324
|
-
tmp4_local0 = tmp6_input.
|
|
2324
|
+
tmp4_local0 = tmp6_input.en(tmp0_desc, 0);
|
|
2325
2325
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2326
2326
|
break;
|
|
2327
2327
|
case 1:
|
|
2328
|
-
tmp5_local1 = tmp6_input.
|
|
2328
|
+
tmp5_local1 = tmp6_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2329
2329
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2330
2330
|
break;
|
|
2331
2331
|
default:
|
|
2332
2332
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2333
2333
|
}
|
|
2334
2334
|
}
|
|
2335
|
-
tmp6_input.
|
|
2335
|
+
tmp6_input.vm(tmp0_desc);
|
|
2336
2336
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2337
2337
|
};
|
|
2338
|
-
protoOf($serializer_4).
|
|
2339
|
-
return this.
|
|
2338
|
+
protoOf($serializer_4).lj = function () {
|
|
2339
|
+
return this.g1s_1;
|
|
2340
2340
|
};
|
|
2341
|
-
protoOf($serializer_4).
|
|
2341
|
+
protoOf($serializer_4).bv = function () {
|
|
2342
2342
|
// Inline function 'kotlin.arrayOf' call
|
|
2343
2343
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2344
2344
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2352,11 +2352,11 @@
|
|
|
2352
2352
|
}
|
|
2353
2353
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2354
2354
|
if (!(3 === (3 & seen0))) {
|
|
2355
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2355
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().g1s_1);
|
|
2356
2356
|
}
|
|
2357
2357
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2358
|
-
$this.
|
|
2359
|
-
$this.
|
|
2358
|
+
$this.i1s_1 = playerId;
|
|
2359
|
+
$this.j1s_1 = tag;
|
|
2360
2360
|
return $this;
|
|
2361
2361
|
}
|
|
2362
2362
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2364,15 +2364,15 @@
|
|
|
2364
2364
|
}
|
|
2365
2365
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2366
2366
|
TerminationGameReasonDto.call(this);
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2367
|
+
this.i1s_1 = playerId;
|
|
2368
|
+
this.j1s_1 = tag;
|
|
2369
2369
|
}
|
|
2370
2370
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2371
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2371
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.i1s_1 + ', tag=' + this.j1s_1 + ')';
|
|
2372
2372
|
};
|
|
2373
2373
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2374
|
-
var result = getStringHashCode(this.
|
|
2375
|
-
result = imul(result, 31) + (this.
|
|
2374
|
+
var result = getStringHashCode(this.i1s_1);
|
|
2375
|
+
result = imul(result, 31) + (this.j1s_1 == null ? 0 : getStringHashCode(this.j1s_1)) | 0;
|
|
2376
2376
|
return result;
|
|
2377
2377
|
};
|
|
2378
2378
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2380,9 +2380,9 @@
|
|
|
2380
2380
|
return true;
|
|
2381
2381
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2382
2382
|
return false;
|
|
2383
|
-
if (!(this.
|
|
2383
|
+
if (!(this.i1s_1 === other.i1s_1))
|
|
2384
2384
|
return false;
|
|
2385
|
-
if (!(this.
|
|
2385
|
+
if (!(this.j1s_1 == other.j1s_1))
|
|
2386
2386
|
return false;
|
|
2387
2387
|
return true;
|
|
2388
2388
|
};
|
|
@@ -2395,59 +2395,59 @@
|
|
|
2395
2395
|
function $serializer_5() {
|
|
2396
2396
|
$serializer_instance_5 = this;
|
|
2397
2397
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2398
|
-
tmp0_serialDesc.
|
|
2399
|
-
tmp0_serialDesc.
|
|
2400
|
-
this.
|
|
2401
|
-
}
|
|
2402
|
-
protoOf($serializer_5).
|
|
2403
|
-
var tmp0_desc = this.
|
|
2404
|
-
var tmp1_output = encoder.
|
|
2405
|
-
tmp1_output.
|
|
2406
|
-
tmp1_output.
|
|
2407
|
-
tmp1_output.
|
|
2408
|
-
};
|
|
2409
|
-
protoOf($serializer_5).
|
|
2410
|
-
return this.
|
|
2411
|
-
};
|
|
2412
|
-
protoOf($serializer_5).
|
|
2413
|
-
var tmp0_desc = this.
|
|
2398
|
+
tmp0_serialDesc.ku('playerId', false);
|
|
2399
|
+
tmp0_serialDesc.ku('tag', false);
|
|
2400
|
+
this.k1s_1 = tmp0_serialDesc;
|
|
2401
|
+
}
|
|
2402
|
+
protoOf($serializer_5).l1s = function (encoder, value) {
|
|
2403
|
+
var tmp0_desc = this.k1s_1;
|
|
2404
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
2405
|
+
tmp1_output.jo(tmp0_desc, 0, value.m1s_1);
|
|
2406
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.n1s_1);
|
|
2407
|
+
tmp1_output.vm(tmp0_desc);
|
|
2408
|
+
};
|
|
2409
|
+
protoOf($serializer_5).mj = function (encoder, value) {
|
|
2410
|
+
return this.l1s(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2411
|
+
};
|
|
2412
|
+
protoOf($serializer_5).nj = function (decoder) {
|
|
2413
|
+
var tmp0_desc = this.k1s_1;
|
|
2414
2414
|
var tmp1_flag = true;
|
|
2415
2415
|
var tmp2_index = 0;
|
|
2416
2416
|
var tmp3_bitMask0 = 0;
|
|
2417
2417
|
var tmp4_local0 = null;
|
|
2418
2418
|
var tmp5_local1 = null;
|
|
2419
|
-
var tmp6_input = decoder.
|
|
2420
|
-
if (tmp6_input.
|
|
2421
|
-
tmp4_local0 = tmp6_input.
|
|
2419
|
+
var tmp6_input = decoder.um(tmp0_desc);
|
|
2420
|
+
if (tmp6_input.kn()) {
|
|
2421
|
+
tmp4_local0 = tmp6_input.en(tmp0_desc, 0);
|
|
2422
2422
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2423
|
-
tmp5_local1 = tmp6_input.
|
|
2423
|
+
tmp5_local1 = tmp6_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2424
2424
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2425
2425
|
} else
|
|
2426
2426
|
while (tmp1_flag) {
|
|
2427
|
-
tmp2_index = tmp6_input.
|
|
2427
|
+
tmp2_index = tmp6_input.ln(tmp0_desc);
|
|
2428
2428
|
switch (tmp2_index) {
|
|
2429
2429
|
case -1:
|
|
2430
2430
|
tmp1_flag = false;
|
|
2431
2431
|
break;
|
|
2432
2432
|
case 0:
|
|
2433
|
-
tmp4_local0 = tmp6_input.
|
|
2433
|
+
tmp4_local0 = tmp6_input.en(tmp0_desc, 0);
|
|
2434
2434
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2435
2435
|
break;
|
|
2436
2436
|
case 1:
|
|
2437
|
-
tmp5_local1 = tmp6_input.
|
|
2437
|
+
tmp5_local1 = tmp6_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2438
2438
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2439
2439
|
break;
|
|
2440
2440
|
default:
|
|
2441
2441
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2442
2442
|
}
|
|
2443
2443
|
}
|
|
2444
|
-
tmp6_input.
|
|
2444
|
+
tmp6_input.vm(tmp0_desc);
|
|
2445
2445
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2446
2446
|
};
|
|
2447
|
-
protoOf($serializer_5).
|
|
2448
|
-
return this.
|
|
2447
|
+
protoOf($serializer_5).lj = function () {
|
|
2448
|
+
return this.k1s_1;
|
|
2449
2449
|
};
|
|
2450
|
-
protoOf($serializer_5).
|
|
2450
|
+
protoOf($serializer_5).bv = function () {
|
|
2451
2451
|
// Inline function 'kotlin.arrayOf' call
|
|
2452
2452
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2453
2453
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2461,11 +2461,11 @@
|
|
|
2461
2461
|
}
|
|
2462
2462
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2463
2463
|
if (!(3 === (3 & seen0))) {
|
|
2464
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2464
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().k1s_1);
|
|
2465
2465
|
}
|
|
2466
2466
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2467
|
-
$this.
|
|
2468
|
-
$this.
|
|
2467
|
+
$this.m1s_1 = playerId;
|
|
2468
|
+
$this.n1s_1 = tag;
|
|
2469
2469
|
return $this;
|
|
2470
2470
|
}
|
|
2471
2471
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2473,15 +2473,15 @@
|
|
|
2473
2473
|
}
|
|
2474
2474
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2475
2475
|
TerminationGameReasonDto.call(this);
|
|
2476
|
-
this.
|
|
2477
|
-
this.
|
|
2476
|
+
this.m1s_1 = playerId;
|
|
2477
|
+
this.n1s_1 = tag;
|
|
2478
2478
|
}
|
|
2479
2479
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2480
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2480
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.m1s_1 + ', tag=' + this.n1s_1 + ')';
|
|
2481
2481
|
};
|
|
2482
2482
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2483
|
-
var result = getStringHashCode(this.
|
|
2484
|
-
result = imul(result, 31) + (this.
|
|
2483
|
+
var result = getStringHashCode(this.m1s_1);
|
|
2484
|
+
result = imul(result, 31) + (this.n1s_1 == null ? 0 : getStringHashCode(this.n1s_1)) | 0;
|
|
2485
2485
|
return result;
|
|
2486
2486
|
};
|
|
2487
2487
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2489,14 +2489,14 @@
|
|
|
2489
2489
|
return true;
|
|
2490
2490
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2491
2491
|
return false;
|
|
2492
|
-
if (!(this.
|
|
2492
|
+
if (!(this.m1s_1 === other.m1s_1))
|
|
2493
2493
|
return false;
|
|
2494
|
-
if (!(this.
|
|
2494
|
+
if (!(this.n1s_1 == other.n1s_1))
|
|
2495
2495
|
return false;
|
|
2496
2496
|
return true;
|
|
2497
2497
|
};
|
|
2498
2498
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2499
|
-
return $this.
|
|
2499
|
+
return $this.o1s_1.j2();
|
|
2500
2500
|
}
|
|
2501
2501
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2502
2502
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2511,13 +2511,13 @@
|
|
|
2511
2511
|
TerminationGameReasonDto.call(this);
|
|
2512
2512
|
var tmp = this;
|
|
2513
2513
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2514
|
-
tmp.
|
|
2514
|
+
tmp.o1s_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2515
2515
|
}
|
|
2516
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2516
|
+
protoOf(WaitingForConnectionReasonDto).n17 = function () {
|
|
2517
2517
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2518
2518
|
};
|
|
2519
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2520
|
-
return this.
|
|
2519
|
+
protoOf(WaitingForConnectionReasonDto).mv = function (typeParamsSerializers) {
|
|
2520
|
+
return this.n17();
|
|
2521
2521
|
};
|
|
2522
2522
|
protoOf(WaitingForConnectionReasonDto).toString = function () {
|
|
2523
2523
|
return 'WaitingForConnectionReasonDto';
|
|
@@ -2539,7 +2539,7 @@
|
|
|
2539
2539
|
return WaitingForConnectionReasonDto_instance;
|
|
2540
2540
|
}
|
|
2541
2541
|
function mapToDto(_this__u8e3s4) {
|
|
2542
|
-
return _this__u8e3s4.
|
|
2542
|
+
return _this__u8e3s4.w16_1;
|
|
2543
2543
|
}
|
|
2544
2544
|
function mapFromDto(_this__u8e3s4) {
|
|
2545
2545
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2632,15 +2632,15 @@
|
|
|
2632
2632
|
}
|
|
2633
2633
|
function mapToDto_3(_this__u8e3s4) {
|
|
2634
2634
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2635
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2635
|
+
return new PlayerExitReasonDto(_this__u8e3s4.h1p_1);
|
|
2636
2636
|
}
|
|
2637
2637
|
function mapToDto_4(_this__u8e3s4) {
|
|
2638
2638
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2639
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2639
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.c1p_1, _this__u8e3s4.tag);
|
|
2640
2640
|
}
|
|
2641
2641
|
function mapToDto_5(_this__u8e3s4) {
|
|
2642
2642
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2643
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2643
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.g1p_1, _this__u8e3s4.tag);
|
|
2644
2644
|
}
|
|
2645
2645
|
function mapToDto_6(_this__u8e3s4) {
|
|
2646
2646
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2662,15 +2662,15 @@
|
|
|
2662
2662
|
}
|
|
2663
2663
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2664
2664
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2665
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2665
|
+
return new PlayerExitReason(_this__u8e3s4.f1s_1);
|
|
2666
2666
|
}
|
|
2667
2667
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2668
2668
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2669
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2669
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.i1s_1, _this__u8e3s4.j1s_1);
|
|
2670
2670
|
}
|
|
2671
2671
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2672
2672
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2673
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2673
|
+
return new PlayerTimeoutReason(_this__u8e3s4.m1s_1, _this__u8e3s4.n1s_1);
|
|
2674
2674
|
}
|
|
2675
2675
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2676
2676
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2689,11 +2689,11 @@
|
|
|
2689
2689
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
2690
2690
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
2691
2691
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
2692
|
-
var _iterator__ex2g4s = this_0.
|
|
2693
|
-
while (_iterator__ex2g4s.
|
|
2694
|
-
var element = _iterator__ex2g4s.
|
|
2692
|
+
var _iterator__ex2g4s = this_0.t();
|
|
2693
|
+
while (_iterator__ex2g4s.u()) {
|
|
2694
|
+
var element = _iterator__ex2g4s.v();
|
|
2695
2695
|
var tmp$ret$0 = element.toString();
|
|
2696
|
-
destination.
|
|
2696
|
+
destination.u2(tmp$ret$0, element);
|
|
2697
2697
|
}
|
|
2698
2698
|
gameErrorReasonMapping = destination;
|
|
2699
2699
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -2701,18 +2701,18 @@
|
|
|
2701
2701
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_1, 10)), 16);
|
|
2702
2702
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
2703
2703
|
var destination_0 = LinkedHashMap_init_$Create$(capacity_0);
|
|
2704
|
-
var _iterator__ex2g4s_0 = this_1.
|
|
2705
|
-
while (_iterator__ex2g4s_0.
|
|
2706
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
2704
|
+
var _iterator__ex2g4s_0 = this_1.t();
|
|
2705
|
+
while (_iterator__ex2g4s_0.u()) {
|
|
2706
|
+
var element_0 = _iterator__ex2g4s_0.v();
|
|
2707
2707
|
var tmp$ret$0_0 = element_0.toString();
|
|
2708
|
-
destination_0.
|
|
2708
|
+
destination_0.u2(tmp$ret$0_0, element_0);
|
|
2709
2709
|
}
|
|
2710
2710
|
gameFinishedReasonMapping = destination_0;
|
|
2711
2711
|
}
|
|
2712
2712
|
}
|
|
2713
2713
|
function mapToDto_8(_this__u8e3s4) {
|
|
2714
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2715
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2714
|
+
var tmp0_playerId = _this__u8e3s4.s1p_1;
|
|
2715
|
+
var tmp1_uid = _this__u8e3s4.s1p_1;
|
|
2716
2716
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2717
2717
|
var tmp3_name = _this__u8e3s4.name;
|
|
2718
2718
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2731,70 +2731,70 @@
|
|
|
2731
2731
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2732
2732
|
}
|
|
2733
2733
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2734
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2735
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2736
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2737
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2738
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2739
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2740
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2741
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2734
|
+
var tmp0_elvis_lhs = _this__u8e3s4.p1s_1;
|
|
2735
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.q1s_1) : tmp0_elvis_lhs;
|
|
2736
|
+
var tmp1_elvis_lhs = _this__u8e3s4.r1s_1;
|
|
2737
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.s1s_1) : tmp1_elvis_lhs;
|
|
2738
|
+
var tmp2_elvis_lhs = _this__u8e3s4.t1s_1;
|
|
2739
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.u1s_1 : tmp2_elvis_lhs;
|
|
2740
|
+
var tmp3_elvis_lhs = _this__u8e3s4.w1s_1;
|
|
2741
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.x1s_1, _this__u8e3s4.v1s_1);
|
|
2742
2742
|
}
|
|
2743
2743
|
function mapToDto_9(_this__u8e3s4) {
|
|
2744
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2744
|
+
var tmp0_safe_receiver = _this__u8e3s4.f1q_1;
|
|
2745
2745
|
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2746
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2746
|
+
var tmp1_safe_receiver = _this__u8e3s4.h1q_1;
|
|
2747
2747
|
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2748
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2748
|
+
var tmp2_safe_receiver = _this__u8e3s4.g1q_1;
|
|
2749
2749
|
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2750
|
-
var tmp7_state = _this__u8e3s4.
|
|
2751
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2752
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2753
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2750
|
+
var tmp7_state = _this__u8e3s4.i1q_1;
|
|
2751
|
+
var tmp8_tag = _this__u8e3s4.k1q_1;
|
|
2752
|
+
var tmp9_ready = _this__u8e3s4.j1q_1;
|
|
2753
|
+
var tmp3_safe_receiver = _this__u8e3s4.l1q_1;
|
|
2754
2754
|
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2755
2755
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2756
2756
|
}
|
|
2757
2757
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2758
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2758
|
+
var tmp0_safe_receiver = _this__u8e3s4.y1s_1;
|
|
2759
2759
|
var tmp;
|
|
2760
2760
|
if (tmp0_safe_receiver == null) {
|
|
2761
2761
|
tmp = null;
|
|
2762
2762
|
} else {
|
|
2763
2763
|
// Inline function 'kotlin.let' call
|
|
2764
|
-
tmp = Companion_getInstance_0().
|
|
2764
|
+
tmp = Companion_getInstance_0().cg(tmp0_safe_receiver);
|
|
2765
2765
|
}
|
|
2766
2766
|
var tmp5_startFromTime = tmp;
|
|
2767
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2767
|
+
var tmp1_safe_receiver = _this__u8e3s4.a1t_1;
|
|
2768
2768
|
var tmp_0;
|
|
2769
2769
|
if (tmp1_safe_receiver == null) {
|
|
2770
2770
|
tmp_0 = null;
|
|
2771
2771
|
} else {
|
|
2772
2772
|
// Inline function 'kotlin.let' call
|
|
2773
|
-
tmp_0 = Companion_getInstance_0().
|
|
2773
|
+
tmp_0 = Companion_getInstance_0().cg(tmp1_safe_receiver);
|
|
2774
2774
|
}
|
|
2775
2775
|
var tmp6_waitPlayerUntilTime = tmp_0;
|
|
2776
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2776
|
+
var tmp2_safe_receiver = _this__u8e3s4.z1s_1;
|
|
2777
2777
|
var tmp_1;
|
|
2778
2778
|
if (tmp2_safe_receiver == null) {
|
|
2779
2779
|
tmp_1 = null;
|
|
2780
2780
|
} else {
|
|
2781
2781
|
// Inline function 'kotlin.let' call
|
|
2782
|
-
tmp_1 = Companion_getInstance_0().
|
|
2782
|
+
tmp_1 = Companion_getInstance_0().cg(tmp2_safe_receiver);
|
|
2783
2783
|
}
|
|
2784
2784
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
2785
|
-
var tmp8_state = _this__u8e3s4.
|
|
2786
|
-
var tmp9_tag = _this__u8e3s4.
|
|
2787
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2785
|
+
var tmp8_state = _this__u8e3s4.b1t_1;
|
|
2786
|
+
var tmp9_tag = _this__u8e3s4.d1t_1;
|
|
2787
|
+
var tmp3_elvis_lhs = _this__u8e3s4.c1t_1;
|
|
2788
2788
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2789
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2789
|
+
var tmp4_safe_receiver = _this__u8e3s4.e1t_1;
|
|
2790
2790
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2791
2791
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2792
2792
|
}
|
|
2793
2793
|
function mapToDto_10(_this__u8e3s4) {
|
|
2794
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2794
|
+
return new PlayerConnectionDto(_this__u8e3s4.n1q_1, toString(_this__u8e3s4.o1q_1), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.p1q_1));
|
|
2795
2795
|
}
|
|
2796
2796
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2797
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2797
|
+
return new PlayerConnection(_this__u8e3s4.f1t_1, Companion_getInstance_0().cg(_this__u8e3s4.g1t_1), Companion_getInstance().rf(_this__u8e3s4.h1t_1));
|
|
2798
2798
|
}
|
|
2799
2799
|
function Companion_15() {
|
|
2800
2800
|
}
|
|
@@ -2805,48 +2805,48 @@
|
|
|
2805
2805
|
function $serializer_6() {
|
|
2806
2806
|
$serializer_instance_6 = this;
|
|
2807
2807
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 9);
|
|
2808
|
-
tmp0_serialDesc.
|
|
2809
|
-
tmp0_serialDesc.
|
|
2810
|
-
tmp0_serialDesc.
|
|
2811
|
-
tmp0_serialDesc.
|
|
2812
|
-
tmp0_serialDesc.
|
|
2813
|
-
tmp0_serialDesc.
|
|
2814
|
-
tmp0_serialDesc.
|
|
2815
|
-
tmp0_serialDesc.
|
|
2816
|
-
tmp0_serialDesc.
|
|
2817
|
-
this.
|
|
2818
|
-
}
|
|
2819
|
-
protoOf($serializer_6).
|
|
2820
|
-
var tmp0_desc = this.
|
|
2821
|
-
var tmp1_output = encoder.
|
|
2822
|
-
if (tmp1_output.
|
|
2823
|
-
tmp1_output.
|
|
2808
|
+
tmp0_serialDesc.ku('playerId', true);
|
|
2809
|
+
tmp0_serialDesc.ku('uid', true);
|
|
2810
|
+
tmp0_serialDesc.ku('name', true);
|
|
2811
|
+
tmp0_serialDesc.ku('nickname', true);
|
|
2812
|
+
tmp0_serialDesc.ku('avatarUrl', true);
|
|
2813
|
+
tmp0_serialDesc.ku('photo', true);
|
|
2814
|
+
tmp0_serialDesc.ku('rating', false);
|
|
2815
|
+
tmp0_serialDesc.ku('is_bot', false);
|
|
2816
|
+
tmp0_serialDesc.ku('lucky_factor', false);
|
|
2817
|
+
this.i1t_1 = tmp0_serialDesc;
|
|
2818
|
+
}
|
|
2819
|
+
protoOf($serializer_6).j1t = function (encoder, value) {
|
|
2820
|
+
var tmp0_desc = this.i1t_1;
|
|
2821
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
2822
|
+
if (tmp1_output.ro(tmp0_desc, 0) ? true : !(value.p1s_1 == null)) {
|
|
2823
|
+
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.p1s_1);
|
|
2824
2824
|
}
|
|
2825
|
-
if (tmp1_output.
|
|
2826
|
-
tmp1_output.
|
|
2825
|
+
if (tmp1_output.ro(tmp0_desc, 1) ? true : !(value.q1s_1 == null)) {
|
|
2826
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.q1s_1);
|
|
2827
2827
|
}
|
|
2828
|
-
if (tmp1_output.
|
|
2829
|
-
tmp1_output.
|
|
2828
|
+
if (tmp1_output.ro(tmp0_desc, 2) ? true : !(value.r1s_1 == null)) {
|
|
2829
|
+
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.r1s_1);
|
|
2830
2830
|
}
|
|
2831
|
-
if (tmp1_output.
|
|
2832
|
-
tmp1_output.
|
|
2831
|
+
if (tmp1_output.ro(tmp0_desc, 3) ? true : !(value.s1s_1 == null)) {
|
|
2832
|
+
tmp1_output.no(tmp0_desc, 3, StringSerializer_getInstance(), value.s1s_1);
|
|
2833
2833
|
}
|
|
2834
|
-
if (tmp1_output.
|
|
2835
|
-
tmp1_output.
|
|
2834
|
+
if (tmp1_output.ro(tmp0_desc, 4) ? true : !(value.t1s_1 == null)) {
|
|
2835
|
+
tmp1_output.no(tmp0_desc, 4, StringSerializer_getInstance(), value.t1s_1);
|
|
2836
2836
|
}
|
|
2837
|
-
if (tmp1_output.
|
|
2838
|
-
tmp1_output.
|
|
2837
|
+
if (tmp1_output.ro(tmp0_desc, 5) ? true : !(value.u1s_1 == null)) {
|
|
2838
|
+
tmp1_output.no(tmp0_desc, 5, StringSerializer_getInstance(), value.u1s_1);
|
|
2839
2839
|
}
|
|
2840
|
-
tmp1_output.
|
|
2841
|
-
tmp1_output.
|
|
2842
|
-
tmp1_output.
|
|
2843
|
-
tmp1_output.
|
|
2840
|
+
tmp1_output.no(tmp0_desc, 6, DoubleSerializer_getInstance(), value.v1s_1);
|
|
2841
|
+
tmp1_output.no(tmp0_desc, 7, BooleanSerializer_getInstance(), value.w1s_1);
|
|
2842
|
+
tmp1_output.no(tmp0_desc, 8, FloatSerializer_getInstance(), value.x1s_1);
|
|
2843
|
+
tmp1_output.vm(tmp0_desc);
|
|
2844
2844
|
};
|
|
2845
|
-
protoOf($serializer_6).
|
|
2846
|
-
return this.
|
|
2845
|
+
protoOf($serializer_6).mj = function (encoder, value) {
|
|
2846
|
+
return this.j1t(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2847
2847
|
};
|
|
2848
|
-
protoOf($serializer_6).
|
|
2849
|
-
var tmp0_desc = this.
|
|
2848
|
+
protoOf($serializer_6).nj = function (decoder) {
|
|
2849
|
+
var tmp0_desc = this.i1t_1;
|
|
2850
2850
|
var tmp1_flag = true;
|
|
2851
2851
|
var tmp2_index = 0;
|
|
2852
2852
|
var tmp3_bitMask0 = 0;
|
|
@@ -2859,80 +2859,80 @@
|
|
|
2859
2859
|
var tmp10_local6 = null;
|
|
2860
2860
|
var tmp11_local7 = null;
|
|
2861
2861
|
var tmp12_local8 = null;
|
|
2862
|
-
var tmp13_input = decoder.
|
|
2863
|
-
if (tmp13_input.
|
|
2864
|
-
tmp4_local0 = tmp13_input.
|
|
2862
|
+
var tmp13_input = decoder.um(tmp0_desc);
|
|
2863
|
+
if (tmp13_input.kn()) {
|
|
2864
|
+
tmp4_local0 = tmp13_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2865
2865
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2866
|
-
tmp5_local1 = tmp13_input.
|
|
2866
|
+
tmp5_local1 = tmp13_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2867
2867
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2868
|
-
tmp6_local2 = tmp13_input.
|
|
2868
|
+
tmp6_local2 = tmp13_input.in(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2869
2869
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2870
|
-
tmp7_local3 = tmp13_input.
|
|
2870
|
+
tmp7_local3 = tmp13_input.in(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2871
2871
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2872
|
-
tmp8_local4 = tmp13_input.
|
|
2872
|
+
tmp8_local4 = tmp13_input.in(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2873
2873
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2874
|
-
tmp9_local5 = tmp13_input.
|
|
2874
|
+
tmp9_local5 = tmp13_input.in(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2875
2875
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2876
|
-
tmp10_local6 = tmp13_input.
|
|
2876
|
+
tmp10_local6 = tmp13_input.in(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2877
2877
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2878
|
-
tmp11_local7 = tmp13_input.
|
|
2878
|
+
tmp11_local7 = tmp13_input.in(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2879
2879
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2880
|
-
tmp12_local8 = tmp13_input.
|
|
2880
|
+
tmp12_local8 = tmp13_input.in(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2881
2881
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2882
2882
|
} else
|
|
2883
2883
|
while (tmp1_flag) {
|
|
2884
|
-
tmp2_index = tmp13_input.
|
|
2884
|
+
tmp2_index = tmp13_input.ln(tmp0_desc);
|
|
2885
2885
|
switch (tmp2_index) {
|
|
2886
2886
|
case -1:
|
|
2887
2887
|
tmp1_flag = false;
|
|
2888
2888
|
break;
|
|
2889
2889
|
case 0:
|
|
2890
|
-
tmp4_local0 = tmp13_input.
|
|
2890
|
+
tmp4_local0 = tmp13_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2891
2891
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2892
2892
|
break;
|
|
2893
2893
|
case 1:
|
|
2894
|
-
tmp5_local1 = tmp13_input.
|
|
2894
|
+
tmp5_local1 = tmp13_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2895
2895
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2896
2896
|
break;
|
|
2897
2897
|
case 2:
|
|
2898
|
-
tmp6_local2 = tmp13_input.
|
|
2898
|
+
tmp6_local2 = tmp13_input.in(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2899
2899
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2900
2900
|
break;
|
|
2901
2901
|
case 3:
|
|
2902
|
-
tmp7_local3 = tmp13_input.
|
|
2902
|
+
tmp7_local3 = tmp13_input.in(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2903
2903
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2904
2904
|
break;
|
|
2905
2905
|
case 4:
|
|
2906
|
-
tmp8_local4 = tmp13_input.
|
|
2906
|
+
tmp8_local4 = tmp13_input.in(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2907
2907
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2908
2908
|
break;
|
|
2909
2909
|
case 5:
|
|
2910
|
-
tmp9_local5 = tmp13_input.
|
|
2910
|
+
tmp9_local5 = tmp13_input.in(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2911
2911
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2912
2912
|
break;
|
|
2913
2913
|
case 6:
|
|
2914
|
-
tmp10_local6 = tmp13_input.
|
|
2914
|
+
tmp10_local6 = tmp13_input.in(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2915
2915
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2916
2916
|
break;
|
|
2917
2917
|
case 7:
|
|
2918
|
-
tmp11_local7 = tmp13_input.
|
|
2918
|
+
tmp11_local7 = tmp13_input.in(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2919
2919
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2920
2920
|
break;
|
|
2921
2921
|
case 8:
|
|
2922
|
-
tmp12_local8 = tmp13_input.
|
|
2922
|
+
tmp12_local8 = tmp13_input.in(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2923
2923
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2924
2924
|
break;
|
|
2925
2925
|
default:
|
|
2926
2926
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2927
2927
|
}
|
|
2928
2928
|
}
|
|
2929
|
-
tmp13_input.
|
|
2929
|
+
tmp13_input.vm(tmp0_desc);
|
|
2930
2930
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2931
2931
|
};
|
|
2932
|
-
protoOf($serializer_6).
|
|
2933
|
-
return this.
|
|
2932
|
+
protoOf($serializer_6).lj = function () {
|
|
2933
|
+
return this.i1t_1;
|
|
2934
2934
|
};
|
|
2935
|
-
protoOf($serializer_6).
|
|
2935
|
+
protoOf($serializer_6).bv = function () {
|
|
2936
2936
|
// Inline function 'kotlin.arrayOf' call
|
|
2937
2937
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2938
2938
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2946,35 +2946,35 @@
|
|
|
2946
2946
|
}
|
|
2947
2947
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2948
2948
|
if (!(448 === (448 & seen0))) {
|
|
2949
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
2949
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().i1t_1);
|
|
2950
2950
|
}
|
|
2951
2951
|
if (0 === (seen0 & 1))
|
|
2952
|
-
$this.
|
|
2952
|
+
$this.p1s_1 = null;
|
|
2953
2953
|
else
|
|
2954
|
-
$this.
|
|
2954
|
+
$this.p1s_1 = playerId;
|
|
2955
2955
|
if (0 === (seen0 & 2))
|
|
2956
|
-
$this.
|
|
2956
|
+
$this.q1s_1 = null;
|
|
2957
2957
|
else
|
|
2958
|
-
$this.
|
|
2958
|
+
$this.q1s_1 = uid;
|
|
2959
2959
|
if (0 === (seen0 & 4))
|
|
2960
|
-
$this.
|
|
2960
|
+
$this.r1s_1 = null;
|
|
2961
2961
|
else
|
|
2962
|
-
$this.
|
|
2962
|
+
$this.r1s_1 = name;
|
|
2963
2963
|
if (0 === (seen0 & 8))
|
|
2964
|
-
$this.
|
|
2964
|
+
$this.s1s_1 = null;
|
|
2965
2965
|
else
|
|
2966
|
-
$this.
|
|
2966
|
+
$this.s1s_1 = nickname;
|
|
2967
2967
|
if (0 === (seen0 & 16))
|
|
2968
|
-
$this.
|
|
2968
|
+
$this.t1s_1 = null;
|
|
2969
2969
|
else
|
|
2970
|
-
$this.
|
|
2970
|
+
$this.t1s_1 = avatarUrl;
|
|
2971
2971
|
if (0 === (seen0 & 32))
|
|
2972
|
-
$this.
|
|
2972
|
+
$this.u1s_1 = null;
|
|
2973
2973
|
else
|
|
2974
|
-
$this.
|
|
2975
|
-
$this.
|
|
2976
|
-
$this.
|
|
2977
|
-
$this.
|
|
2974
|
+
$this.u1s_1 = photo;
|
|
2975
|
+
$this.v1s_1 = rating;
|
|
2976
|
+
$this.w1s_1 = isBot;
|
|
2977
|
+
$this.x1s_1 = initialLuckyFactor;
|
|
2978
2978
|
return $this;
|
|
2979
2979
|
}
|
|
2980
2980
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2987,47 +2987,47 @@
|
|
|
2987
2987
|
nickname = nickname === VOID ? null : nickname;
|
|
2988
2988
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2989
2989
|
photo = photo === VOID ? null : photo;
|
|
2990
|
-
this.
|
|
2991
|
-
this.
|
|
2992
|
-
this.
|
|
2993
|
-
this.
|
|
2994
|
-
this.
|
|
2995
|
-
this.
|
|
2996
|
-
this.
|
|
2997
|
-
this.
|
|
2998
|
-
this.
|
|
2999
|
-
}
|
|
3000
|
-
protoOf(GameUserInfoDto).
|
|
3001
|
-
return this.
|
|
3002
|
-
};
|
|
3003
|
-
protoOf(GameUserInfoDto).
|
|
2990
|
+
this.p1s_1 = playerId;
|
|
2991
|
+
this.q1s_1 = uid;
|
|
2992
|
+
this.r1s_1 = name;
|
|
2993
|
+
this.s1s_1 = nickname;
|
|
2994
|
+
this.t1s_1 = avatarUrl;
|
|
2995
|
+
this.u1s_1 = photo;
|
|
2996
|
+
this.v1s_1 = rating;
|
|
2997
|
+
this.w1s_1 = isBot;
|
|
2998
|
+
this.x1s_1 = initialLuckyFactor;
|
|
2999
|
+
}
|
|
3000
|
+
protoOf(GameUserInfoDto).k1t = function () {
|
|
3001
|
+
return this.l1t(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
3002
|
+
};
|
|
3003
|
+
protoOf(GameUserInfoDto).m1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
3004
3004
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
3005
3005
|
};
|
|
3006
|
-
protoOf(GameUserInfoDto).
|
|
3007
|
-
playerId = playerId === VOID ? this.
|
|
3008
|
-
uid = uid === VOID ? this.
|
|
3009
|
-
name = name === VOID ? this.
|
|
3010
|
-
nickname = nickname === VOID ? this.
|
|
3011
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3012
|
-
photo = photo === VOID ? this.
|
|
3013
|
-
rating = rating === VOID ? this.
|
|
3014
|
-
isBot = isBot === VOID ? this.
|
|
3015
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3016
|
-
return $super === VOID ? this.
|
|
3006
|
+
protoOf(GameUserInfoDto).l1t = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
3007
|
+
playerId = playerId === VOID ? this.p1s_1 : playerId;
|
|
3008
|
+
uid = uid === VOID ? this.q1s_1 : uid;
|
|
3009
|
+
name = name === VOID ? this.r1s_1 : name;
|
|
3010
|
+
nickname = nickname === VOID ? this.s1s_1 : nickname;
|
|
3011
|
+
avatarUrl = avatarUrl === VOID ? this.t1s_1 : avatarUrl;
|
|
3012
|
+
photo = photo === VOID ? this.u1s_1 : photo;
|
|
3013
|
+
rating = rating === VOID ? this.v1s_1 : rating;
|
|
3014
|
+
isBot = isBot === VOID ? this.w1s_1 : isBot;
|
|
3015
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.x1s_1 : initialLuckyFactor;
|
|
3016
|
+
return $super === VOID ? this.m1t(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.m1t.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
3017
3017
|
};
|
|
3018
3018
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3019
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3019
|
+
return 'GameUserInfoDto(playerId=' + this.p1s_1 + ', uid=' + this.q1s_1 + ', name=' + this.r1s_1 + ', nickname=' + this.s1s_1 + ', avatarUrl=' + this.t1s_1 + ', photo=' + this.u1s_1 + ', rating=' + this.v1s_1 + ', isBot=' + this.w1s_1 + ', initialLuckyFactor=' + this.x1s_1 + ')';
|
|
3020
3020
|
};
|
|
3021
3021
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3022
|
-
var result = this.
|
|
3023
|
-
result = imul(result, 31) + (this.
|
|
3024
|
-
result = imul(result, 31) + (this.
|
|
3025
|
-
result = imul(result, 31) + (this.
|
|
3026
|
-
result = imul(result, 31) + (this.
|
|
3027
|
-
result = imul(result, 31) + (this.
|
|
3028
|
-
result = imul(result, 31) + (this.
|
|
3029
|
-
result = imul(result, 31) + (this.
|
|
3030
|
-
result = imul(result, 31) + (this.
|
|
3022
|
+
var result = this.p1s_1 == null ? 0 : getStringHashCode(this.p1s_1);
|
|
3023
|
+
result = imul(result, 31) + (this.q1s_1 == null ? 0 : getStringHashCode(this.q1s_1)) | 0;
|
|
3024
|
+
result = imul(result, 31) + (this.r1s_1 == null ? 0 : getStringHashCode(this.r1s_1)) | 0;
|
|
3025
|
+
result = imul(result, 31) + (this.s1s_1 == null ? 0 : getStringHashCode(this.s1s_1)) | 0;
|
|
3026
|
+
result = imul(result, 31) + (this.t1s_1 == null ? 0 : getStringHashCode(this.t1s_1)) | 0;
|
|
3027
|
+
result = imul(result, 31) + (this.u1s_1 == null ? 0 : getStringHashCode(this.u1s_1)) | 0;
|
|
3028
|
+
result = imul(result, 31) + (this.v1s_1 == null ? 0 : getNumberHashCode(this.v1s_1)) | 0;
|
|
3029
|
+
result = imul(result, 31) + (this.w1s_1 == null ? 0 : getBooleanHashCode(this.w1s_1)) | 0;
|
|
3030
|
+
result = imul(result, 31) + (this.x1s_1 == null ? 0 : getNumberHashCode(this.x1s_1)) | 0;
|
|
3031
3031
|
return result;
|
|
3032
3032
|
};
|
|
3033
3033
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3035,28 +3035,28 @@
|
|
|
3035
3035
|
return true;
|
|
3036
3036
|
if (!(other instanceof GameUserInfoDto))
|
|
3037
3037
|
return false;
|
|
3038
|
-
if (!(this.
|
|
3038
|
+
if (!(this.p1s_1 == other.p1s_1))
|
|
3039
3039
|
return false;
|
|
3040
|
-
if (!(this.
|
|
3040
|
+
if (!(this.q1s_1 == other.q1s_1))
|
|
3041
3041
|
return false;
|
|
3042
|
-
if (!(this.
|
|
3042
|
+
if (!(this.r1s_1 == other.r1s_1))
|
|
3043
3043
|
return false;
|
|
3044
|
-
if (!(this.
|
|
3044
|
+
if (!(this.s1s_1 == other.s1s_1))
|
|
3045
3045
|
return false;
|
|
3046
|
-
if (!(this.
|
|
3046
|
+
if (!(this.t1s_1 == other.t1s_1))
|
|
3047
3047
|
return false;
|
|
3048
|
-
if (!(this.
|
|
3048
|
+
if (!(this.u1s_1 == other.u1s_1))
|
|
3049
3049
|
return false;
|
|
3050
|
-
if (!equals(this.
|
|
3050
|
+
if (!equals(this.v1s_1, other.v1s_1))
|
|
3051
3051
|
return false;
|
|
3052
|
-
if (!(this.
|
|
3052
|
+
if (!(this.w1s_1 == other.w1s_1))
|
|
3053
3053
|
return false;
|
|
3054
|
-
if (!equals(this.
|
|
3054
|
+
if (!equals(this.x1s_1, other.x1s_1))
|
|
3055
3055
|
return false;
|
|
3056
3056
|
return true;
|
|
3057
3057
|
};
|
|
3058
3058
|
function PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2() {
|
|
3059
|
-
return Companion_getInstance_9().
|
|
3059
|
+
return Companion_getInstance_9().n17();
|
|
3060
3060
|
}
|
|
3061
3061
|
function Companion_16() {
|
|
3062
3062
|
Companion_instance_16 = this;
|
|
@@ -3065,7 +3065,7 @@
|
|
|
3065
3065
|
// Inline function 'kotlin.arrayOf' call
|
|
3066
3066
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3067
3067
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3068
|
-
tmp.
|
|
3068
|
+
tmp.n1t_1 = [lazy(tmp_0, PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2), null, null];
|
|
3069
3069
|
}
|
|
3070
3070
|
var Companion_instance_16;
|
|
3071
3071
|
function Companion_getInstance_19() {
|
|
@@ -3076,74 +3076,74 @@
|
|
|
3076
3076
|
function $serializer_7() {
|
|
3077
3077
|
$serializer_instance_7 = this;
|
|
3078
3078
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerConnectionDto', this, 3);
|
|
3079
|
-
tmp0_serialDesc.
|
|
3080
|
-
tmp0_serialDesc.
|
|
3081
|
-
tmp0_serialDesc.
|
|
3082
|
-
this.
|
|
3083
|
-
}
|
|
3084
|
-
protoOf($serializer_7).
|
|
3085
|
-
var tmp0_desc = this.
|
|
3086
|
-
var tmp1_output = encoder.
|
|
3087
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
3088
|
-
tmp1_output.
|
|
3089
|
-
tmp1_output.
|
|
3090
|
-
tmp1_output.
|
|
3091
|
-
tmp1_output.
|
|
3092
|
-
};
|
|
3093
|
-
protoOf($serializer_7).
|
|
3094
|
-
return this.
|
|
3095
|
-
};
|
|
3096
|
-
protoOf($serializer_7).
|
|
3097
|
-
var tmp0_desc = this.
|
|
3079
|
+
tmp0_serialDesc.ku('state', false);
|
|
3080
|
+
tmp0_serialDesc.ku('connectionChangedTime', false);
|
|
3081
|
+
tmp0_serialDesc.ku('notLiveDurationRecord', false);
|
|
3082
|
+
this.o1t_1 = tmp0_serialDesc;
|
|
3083
|
+
}
|
|
3084
|
+
protoOf($serializer_7).p1t = function (encoder, value) {
|
|
3085
|
+
var tmp0_desc = this.o1t_1;
|
|
3086
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
3087
|
+
var tmp2_cached = Companion_getInstance_19().n1t_1;
|
|
3088
|
+
tmp1_output.lo(tmp0_desc, 0, tmp2_cached[0].j2(), value.f1t_1);
|
|
3089
|
+
tmp1_output.jo(tmp0_desc, 1, value.g1t_1);
|
|
3090
|
+
tmp1_output.jo(tmp0_desc, 2, value.h1t_1);
|
|
3091
|
+
tmp1_output.vm(tmp0_desc);
|
|
3092
|
+
};
|
|
3093
|
+
protoOf($serializer_7).mj = function (encoder, value) {
|
|
3094
|
+
return this.p1t(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
3095
|
+
};
|
|
3096
|
+
protoOf($serializer_7).nj = function (decoder) {
|
|
3097
|
+
var tmp0_desc = this.o1t_1;
|
|
3098
3098
|
var tmp1_flag = true;
|
|
3099
3099
|
var tmp2_index = 0;
|
|
3100
3100
|
var tmp3_bitMask0 = 0;
|
|
3101
3101
|
var tmp4_local0 = null;
|
|
3102
3102
|
var tmp5_local1 = null;
|
|
3103
3103
|
var tmp6_local2 = null;
|
|
3104
|
-
var tmp7_input = decoder.
|
|
3105
|
-
var tmp8_cached = Companion_getInstance_19().
|
|
3106
|
-
if (tmp7_input.
|
|
3107
|
-
tmp4_local0 = tmp7_input.
|
|
3104
|
+
var tmp7_input = decoder.um(tmp0_desc);
|
|
3105
|
+
var tmp8_cached = Companion_getInstance_19().n1t_1;
|
|
3106
|
+
if (tmp7_input.kn()) {
|
|
3107
|
+
tmp4_local0 = tmp7_input.gn(tmp0_desc, 0, tmp8_cached[0].j2(), tmp4_local0);
|
|
3108
3108
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3109
|
-
tmp5_local1 = tmp7_input.
|
|
3109
|
+
tmp5_local1 = tmp7_input.en(tmp0_desc, 1);
|
|
3110
3110
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3111
|
-
tmp6_local2 = tmp7_input.
|
|
3111
|
+
tmp6_local2 = tmp7_input.en(tmp0_desc, 2);
|
|
3112
3112
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3113
3113
|
} else
|
|
3114
3114
|
while (tmp1_flag) {
|
|
3115
|
-
tmp2_index = tmp7_input.
|
|
3115
|
+
tmp2_index = tmp7_input.ln(tmp0_desc);
|
|
3116
3116
|
switch (tmp2_index) {
|
|
3117
3117
|
case -1:
|
|
3118
3118
|
tmp1_flag = false;
|
|
3119
3119
|
break;
|
|
3120
3120
|
case 0:
|
|
3121
|
-
tmp4_local0 = tmp7_input.
|
|
3121
|
+
tmp4_local0 = tmp7_input.gn(tmp0_desc, 0, tmp8_cached[0].j2(), tmp4_local0);
|
|
3122
3122
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3123
3123
|
break;
|
|
3124
3124
|
case 1:
|
|
3125
|
-
tmp5_local1 = tmp7_input.
|
|
3125
|
+
tmp5_local1 = tmp7_input.en(tmp0_desc, 1);
|
|
3126
3126
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3127
3127
|
break;
|
|
3128
3128
|
case 2:
|
|
3129
|
-
tmp6_local2 = tmp7_input.
|
|
3129
|
+
tmp6_local2 = tmp7_input.en(tmp0_desc, 2);
|
|
3130
3130
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3131
3131
|
break;
|
|
3132
3132
|
default:
|
|
3133
3133
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3134
3134
|
}
|
|
3135
3135
|
}
|
|
3136
|
-
tmp7_input.
|
|
3136
|
+
tmp7_input.vm(tmp0_desc);
|
|
3137
3137
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3138
3138
|
};
|
|
3139
|
-
protoOf($serializer_7).
|
|
3140
|
-
return this.
|
|
3139
|
+
protoOf($serializer_7).lj = function () {
|
|
3140
|
+
return this.o1t_1;
|
|
3141
3141
|
};
|
|
3142
|
-
protoOf($serializer_7).
|
|
3142
|
+
protoOf($serializer_7).bv = function () {
|
|
3143
3143
|
// Inline function 'kotlin.arrayOf' call
|
|
3144
3144
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3145
3145
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3146
|
-
return [Companion_getInstance_19().
|
|
3146
|
+
return [Companion_getInstance_19().n1t_1[0].j2(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3147
3147
|
};
|
|
3148
3148
|
var $serializer_instance_7;
|
|
3149
3149
|
function $serializer_getInstance_7() {
|
|
@@ -3153,11 +3153,11 @@
|
|
|
3153
3153
|
}
|
|
3154
3154
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
3155
3155
|
if (!(7 === (7 & seen0))) {
|
|
3156
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
3156
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().o1t_1);
|
|
3157
3157
|
}
|
|
3158
|
-
$this.
|
|
3159
|
-
$this.
|
|
3160
|
-
$this.
|
|
3158
|
+
$this.f1t_1 = state;
|
|
3159
|
+
$this.g1t_1 = connectionChangedTime;
|
|
3160
|
+
$this.h1t_1 = notLiveDurationRecord;
|
|
3161
3161
|
return $this;
|
|
3162
3162
|
}
|
|
3163
3163
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -3165,17 +3165,17 @@
|
|
|
3165
3165
|
}
|
|
3166
3166
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
3167
3167
|
Companion_getInstance_19();
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3170
|
-
this.
|
|
3168
|
+
this.f1t_1 = state;
|
|
3169
|
+
this.g1t_1 = connectionChangedTime;
|
|
3170
|
+
this.h1t_1 = notLiveDurationRecord;
|
|
3171
3171
|
}
|
|
3172
3172
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3173
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3173
|
+
return 'PlayerConnectionDto(state=' + this.f1t_1.toString() + ', connectionChangedTime=' + this.g1t_1 + ', notLiveDurationRecord=' + this.h1t_1 + ')';
|
|
3174
3174
|
};
|
|
3175
3175
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3176
|
-
var result = this.
|
|
3177
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3178
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3176
|
+
var result = this.f1t_1.hashCode();
|
|
3177
|
+
result = imul(result, 31) + getStringHashCode(this.g1t_1) | 0;
|
|
3178
|
+
result = imul(result, 31) + getStringHashCode(this.h1t_1) | 0;
|
|
3179
3179
|
return result;
|
|
3180
3180
|
};
|
|
3181
3181
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3183,16 +3183,16 @@
|
|
|
3183
3183
|
return true;
|
|
3184
3184
|
if (!(other instanceof PlayerConnectionDto))
|
|
3185
3185
|
return false;
|
|
3186
|
-
if (!this.
|
|
3186
|
+
if (!this.f1t_1.equals(other.f1t_1))
|
|
3187
3187
|
return false;
|
|
3188
|
-
if (!(this.
|
|
3188
|
+
if (!(this.g1t_1 === other.g1t_1))
|
|
3189
3189
|
return false;
|
|
3190
|
-
if (!(this.
|
|
3190
|
+
if (!(this.h1t_1 === other.h1t_1))
|
|
3191
3191
|
return false;
|
|
3192
3192
|
return true;
|
|
3193
3193
|
};
|
|
3194
3194
|
function PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl() {
|
|
3195
|
-
return Companion_getInstance_10().
|
|
3195
|
+
return Companion_getInstance_10().n17();
|
|
3196
3196
|
}
|
|
3197
3197
|
function Companion_17() {
|
|
3198
3198
|
Companion_instance_17 = this;
|
|
@@ -3201,7 +3201,7 @@
|
|
|
3201
3201
|
// Inline function 'kotlin.arrayOf' call
|
|
3202
3202
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3203
3203
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3204
|
-
tmp.
|
|
3204
|
+
tmp.q1t_1 = [null, null, null, lazy(tmp_0, PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl), null, null, null];
|
|
3205
3205
|
}
|
|
3206
3206
|
var Companion_instance_17;
|
|
3207
3207
|
function Companion_getInstance_20() {
|
|
@@ -3212,45 +3212,45 @@
|
|
|
3212
3212
|
function $serializer_8() {
|
|
3213
3213
|
$serializer_instance_8 = this;
|
|
3214
3214
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 7);
|
|
3215
|
-
tmp0_serialDesc.
|
|
3216
|
-
tmp0_serialDesc.
|
|
3217
|
-
tmp0_serialDesc.
|
|
3218
|
-
tmp0_serialDesc.
|
|
3219
|
-
tmp0_serialDesc.
|
|
3220
|
-
tmp0_serialDesc.
|
|
3221
|
-
tmp0_serialDesc.
|
|
3222
|
-
this.
|
|
3223
|
-
}
|
|
3224
|
-
protoOf($serializer_8).
|
|
3225
|
-
var tmp0_desc = this.
|
|
3226
|
-
var tmp1_output = encoder.
|
|
3227
|
-
var tmp2_cached = Companion_getInstance_20().
|
|
3228
|
-
if (tmp1_output.
|
|
3229
|
-
tmp1_output.
|
|
3215
|
+
tmp0_serialDesc.ku('startFrom', true);
|
|
3216
|
+
tmp0_serialDesc.ku('playerTurnTimeout', true);
|
|
3217
|
+
tmp0_serialDesc.ku('waitPlayerUntilTime', true);
|
|
3218
|
+
tmp0_serialDesc.ku('state', false);
|
|
3219
|
+
tmp0_serialDesc.ku('ready', true);
|
|
3220
|
+
tmp0_serialDesc.ku('tag', true);
|
|
3221
|
+
tmp0_serialDesc.ku('connection', true);
|
|
3222
|
+
this.r1t_1 = tmp0_serialDesc;
|
|
3223
|
+
}
|
|
3224
|
+
protoOf($serializer_8).s1t = function (encoder, value) {
|
|
3225
|
+
var tmp0_desc = this.r1t_1;
|
|
3226
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
3227
|
+
var tmp2_cached = Companion_getInstance_20().q1t_1;
|
|
3228
|
+
if (tmp1_output.ro(tmp0_desc, 0) ? true : !(value.y1s_1 == null)) {
|
|
3229
|
+
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.y1s_1);
|
|
3230
3230
|
}
|
|
3231
|
-
if (tmp1_output.
|
|
3232
|
-
tmp1_output.
|
|
3231
|
+
if (tmp1_output.ro(tmp0_desc, 1) ? true : !(value.z1s_1 == null)) {
|
|
3232
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.z1s_1);
|
|
3233
3233
|
}
|
|
3234
|
-
if (tmp1_output.
|
|
3235
|
-
tmp1_output.
|
|
3234
|
+
if (tmp1_output.ro(tmp0_desc, 2) ? true : !(value.a1t_1 == null)) {
|
|
3235
|
+
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.a1t_1);
|
|
3236
3236
|
}
|
|
3237
|
-
tmp1_output.
|
|
3238
|
-
if (tmp1_output.
|
|
3239
|
-
tmp1_output.
|
|
3237
|
+
tmp1_output.lo(tmp0_desc, 3, tmp2_cached[3].j2(), value.b1t_1);
|
|
3238
|
+
if (tmp1_output.ro(tmp0_desc, 4) ? true : !(value.c1t_1 == null)) {
|
|
3239
|
+
tmp1_output.no(tmp0_desc, 4, BooleanSerializer_getInstance(), value.c1t_1);
|
|
3240
3240
|
}
|
|
3241
|
-
if (tmp1_output.
|
|
3242
|
-
tmp1_output.
|
|
3241
|
+
if (tmp1_output.ro(tmp0_desc, 5) ? true : !(value.d1t_1 == null)) {
|
|
3242
|
+
tmp1_output.no(tmp0_desc, 5, StringSerializer_getInstance(), value.d1t_1);
|
|
3243
3243
|
}
|
|
3244
|
-
if (tmp1_output.
|
|
3245
|
-
tmp1_output.
|
|
3244
|
+
if (tmp1_output.ro(tmp0_desc, 6) ? true : !(value.e1t_1 == null)) {
|
|
3245
|
+
tmp1_output.no(tmp0_desc, 6, $serializer_getInstance_7(), value.e1t_1);
|
|
3246
3246
|
}
|
|
3247
|
-
tmp1_output.
|
|
3247
|
+
tmp1_output.vm(tmp0_desc);
|
|
3248
3248
|
};
|
|
3249
|
-
protoOf($serializer_8).
|
|
3250
|
-
return this.
|
|
3249
|
+
protoOf($serializer_8).mj = function (encoder, value) {
|
|
3250
|
+
return this.s1t(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3251
3251
|
};
|
|
3252
|
-
protoOf($serializer_8).
|
|
3253
|
-
var tmp0_desc = this.
|
|
3252
|
+
protoOf($serializer_8).nj = function (decoder) {
|
|
3253
|
+
var tmp0_desc = this.r1t_1;
|
|
3254
3254
|
var tmp1_flag = true;
|
|
3255
3255
|
var tmp2_index = 0;
|
|
3256
3256
|
var tmp3_bitMask0 = 0;
|
|
@@ -3261,74 +3261,74 @@
|
|
|
3261
3261
|
var tmp8_local4 = null;
|
|
3262
3262
|
var tmp9_local5 = null;
|
|
3263
3263
|
var tmp10_local6 = null;
|
|
3264
|
-
var tmp11_input = decoder.
|
|
3265
|
-
var tmp12_cached = Companion_getInstance_20().
|
|
3266
|
-
if (tmp11_input.
|
|
3267
|
-
tmp4_local0 = tmp11_input.
|
|
3264
|
+
var tmp11_input = decoder.um(tmp0_desc);
|
|
3265
|
+
var tmp12_cached = Companion_getInstance_20().q1t_1;
|
|
3266
|
+
if (tmp11_input.kn()) {
|
|
3267
|
+
tmp4_local0 = tmp11_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3268
3268
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3269
|
-
tmp5_local1 = tmp11_input.
|
|
3269
|
+
tmp5_local1 = tmp11_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3270
3270
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3271
|
-
tmp6_local2 = tmp11_input.
|
|
3271
|
+
tmp6_local2 = tmp11_input.in(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3272
3272
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3273
|
-
tmp7_local3 = tmp11_input.
|
|
3273
|
+
tmp7_local3 = tmp11_input.gn(tmp0_desc, 3, tmp12_cached[3].j2(), tmp7_local3);
|
|
3274
3274
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3275
|
-
tmp8_local4 = tmp11_input.
|
|
3275
|
+
tmp8_local4 = tmp11_input.in(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3276
3276
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3277
|
-
tmp9_local5 = tmp11_input.
|
|
3277
|
+
tmp9_local5 = tmp11_input.in(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3278
3278
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3279
|
-
tmp10_local6 = tmp11_input.
|
|
3279
|
+
tmp10_local6 = tmp11_input.in(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3280
3280
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3281
3281
|
} else
|
|
3282
3282
|
while (tmp1_flag) {
|
|
3283
|
-
tmp2_index = tmp11_input.
|
|
3283
|
+
tmp2_index = tmp11_input.ln(tmp0_desc);
|
|
3284
3284
|
switch (tmp2_index) {
|
|
3285
3285
|
case -1:
|
|
3286
3286
|
tmp1_flag = false;
|
|
3287
3287
|
break;
|
|
3288
3288
|
case 0:
|
|
3289
|
-
tmp4_local0 = tmp11_input.
|
|
3289
|
+
tmp4_local0 = tmp11_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3290
3290
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3291
3291
|
break;
|
|
3292
3292
|
case 1:
|
|
3293
|
-
tmp5_local1 = tmp11_input.
|
|
3293
|
+
tmp5_local1 = tmp11_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3294
3294
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3295
3295
|
break;
|
|
3296
3296
|
case 2:
|
|
3297
|
-
tmp6_local2 = tmp11_input.
|
|
3297
|
+
tmp6_local2 = tmp11_input.in(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3298
3298
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3299
3299
|
break;
|
|
3300
3300
|
case 3:
|
|
3301
|
-
tmp7_local3 = tmp11_input.
|
|
3301
|
+
tmp7_local3 = tmp11_input.gn(tmp0_desc, 3, tmp12_cached[3].j2(), tmp7_local3);
|
|
3302
3302
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3303
3303
|
break;
|
|
3304
3304
|
case 4:
|
|
3305
|
-
tmp8_local4 = tmp11_input.
|
|
3305
|
+
tmp8_local4 = tmp11_input.in(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3306
3306
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3307
3307
|
break;
|
|
3308
3308
|
case 5:
|
|
3309
|
-
tmp9_local5 = tmp11_input.
|
|
3309
|
+
tmp9_local5 = tmp11_input.in(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3310
3310
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3311
3311
|
break;
|
|
3312
3312
|
case 6:
|
|
3313
|
-
tmp10_local6 = tmp11_input.
|
|
3313
|
+
tmp10_local6 = tmp11_input.in(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3314
3314
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3315
3315
|
break;
|
|
3316
3316
|
default:
|
|
3317
3317
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3318
3318
|
}
|
|
3319
3319
|
}
|
|
3320
|
-
tmp11_input.
|
|
3320
|
+
tmp11_input.vm(tmp0_desc);
|
|
3321
3321
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3322
3322
|
};
|
|
3323
|
-
protoOf($serializer_8).
|
|
3324
|
-
return this.
|
|
3323
|
+
protoOf($serializer_8).lj = function () {
|
|
3324
|
+
return this.r1t_1;
|
|
3325
3325
|
};
|
|
3326
|
-
protoOf($serializer_8).
|
|
3327
|
-
var tmp0_cached = Companion_getInstance_20().
|
|
3326
|
+
protoOf($serializer_8).bv = function () {
|
|
3327
|
+
var tmp0_cached = Companion_getInstance_20().q1t_1;
|
|
3328
3328
|
// Inline function 'kotlin.arrayOf' call
|
|
3329
3329
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3330
3330
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3331
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[3].
|
|
3331
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[3].j2(), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_7())];
|
|
3332
3332
|
};
|
|
3333
3333
|
var $serializer_instance_8;
|
|
3334
3334
|
function $serializer_getInstance_8() {
|
|
@@ -3338,33 +3338,33 @@
|
|
|
3338
3338
|
}
|
|
3339
3339
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3340
3340
|
if (!(8 === (8 & seen0))) {
|
|
3341
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3341
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().r1t_1);
|
|
3342
3342
|
}
|
|
3343
3343
|
if (0 === (seen0 & 1))
|
|
3344
|
-
$this.
|
|
3344
|
+
$this.y1s_1 = null;
|
|
3345
3345
|
else
|
|
3346
|
-
$this.
|
|
3346
|
+
$this.y1s_1 = startFrom;
|
|
3347
3347
|
if (0 === (seen0 & 2))
|
|
3348
|
-
$this.
|
|
3348
|
+
$this.z1s_1 = null;
|
|
3349
3349
|
else
|
|
3350
|
-
$this.
|
|
3350
|
+
$this.z1s_1 = playerTurnTimeout;
|
|
3351
3351
|
if (0 === (seen0 & 4))
|
|
3352
|
-
$this.
|
|
3352
|
+
$this.a1t_1 = null;
|
|
3353
3353
|
else
|
|
3354
|
-
$this.
|
|
3355
|
-
$this.
|
|
3354
|
+
$this.a1t_1 = waitPlayerUntilTime;
|
|
3355
|
+
$this.b1t_1 = state;
|
|
3356
3356
|
if (0 === (seen0 & 16))
|
|
3357
|
-
$this.
|
|
3357
|
+
$this.c1t_1 = null;
|
|
3358
3358
|
else
|
|
3359
|
-
$this.
|
|
3359
|
+
$this.c1t_1 = ready;
|
|
3360
3360
|
if (0 === (seen0 & 32))
|
|
3361
|
-
$this.
|
|
3361
|
+
$this.d1t_1 = null;
|
|
3362
3362
|
else
|
|
3363
|
-
$this.
|
|
3363
|
+
$this.d1t_1 = tag;
|
|
3364
3364
|
if (0 === (seen0 & 64))
|
|
3365
|
-
$this.
|
|
3365
|
+
$this.e1t_1 = null;
|
|
3366
3366
|
else
|
|
3367
|
-
$this.
|
|
3367
|
+
$this.e1t_1 = connection;
|
|
3368
3368
|
return $this;
|
|
3369
3369
|
}
|
|
3370
3370
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3378,25 +3378,25 @@
|
|
|
3378
3378
|
ready = ready === VOID ? null : ready;
|
|
3379
3379
|
tag = tag === VOID ? null : tag;
|
|
3380
3380
|
connection = connection === VOID ? null : connection;
|
|
3381
|
-
this.
|
|
3382
|
-
this.
|
|
3383
|
-
this.
|
|
3384
|
-
this.
|
|
3385
|
-
this.
|
|
3386
|
-
this.
|
|
3387
|
-
this.
|
|
3381
|
+
this.y1s_1 = startFrom;
|
|
3382
|
+
this.z1s_1 = playerTurnTimeout;
|
|
3383
|
+
this.a1t_1 = waitPlayerUntilTime;
|
|
3384
|
+
this.b1t_1 = state;
|
|
3385
|
+
this.c1t_1 = ready;
|
|
3386
|
+
this.d1t_1 = tag;
|
|
3387
|
+
this.e1t_1 = connection;
|
|
3388
3388
|
}
|
|
3389
3389
|
protoOf(PlayerStateDto).toString = function () {
|
|
3390
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3390
|
+
return 'PlayerStateDto(startFrom=' + this.y1s_1 + ', playerTurnTimeout=' + this.z1s_1 + ', waitPlayerUntilTime=' + this.a1t_1 + ', state=' + this.b1t_1.toString() + ', ready=' + this.c1t_1 + ', tag=' + this.d1t_1 + ', connection=' + toString(this.e1t_1) + ')';
|
|
3391
3391
|
};
|
|
3392
3392
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3393
|
-
var result = this.
|
|
3394
|
-
result = imul(result, 31) + (this.
|
|
3395
|
-
result = imul(result, 31) + (this.
|
|
3396
|
-
result = imul(result, 31) + this.
|
|
3397
|
-
result = imul(result, 31) + (this.
|
|
3398
|
-
result = imul(result, 31) + (this.
|
|
3399
|
-
result = imul(result, 31) + (this.
|
|
3393
|
+
var result = this.y1s_1 == null ? 0 : getStringHashCode(this.y1s_1);
|
|
3394
|
+
result = imul(result, 31) + (this.z1s_1 == null ? 0 : getStringHashCode(this.z1s_1)) | 0;
|
|
3395
|
+
result = imul(result, 31) + (this.a1t_1 == null ? 0 : getStringHashCode(this.a1t_1)) | 0;
|
|
3396
|
+
result = imul(result, 31) + this.b1t_1.hashCode() | 0;
|
|
3397
|
+
result = imul(result, 31) + (this.c1t_1 == null ? 0 : getBooleanHashCode(this.c1t_1)) | 0;
|
|
3398
|
+
result = imul(result, 31) + (this.d1t_1 == null ? 0 : getStringHashCode(this.d1t_1)) | 0;
|
|
3399
|
+
result = imul(result, 31) + (this.e1t_1 == null ? 0 : this.e1t_1.hashCode()) | 0;
|
|
3400
3400
|
return result;
|
|
3401
3401
|
};
|
|
3402
3402
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3404,19 +3404,19 @@
|
|
|
3404
3404
|
return true;
|
|
3405
3405
|
if (!(other instanceof PlayerStateDto))
|
|
3406
3406
|
return false;
|
|
3407
|
-
if (!(this.
|
|
3407
|
+
if (!(this.y1s_1 == other.y1s_1))
|
|
3408
3408
|
return false;
|
|
3409
|
-
if (!(this.
|
|
3409
|
+
if (!(this.z1s_1 == other.z1s_1))
|
|
3410
3410
|
return false;
|
|
3411
|
-
if (!(this.
|
|
3411
|
+
if (!(this.a1t_1 == other.a1t_1))
|
|
3412
3412
|
return false;
|
|
3413
|
-
if (!this.
|
|
3413
|
+
if (!this.b1t_1.equals(other.b1t_1))
|
|
3414
3414
|
return false;
|
|
3415
|
-
if (!(this.
|
|
3415
|
+
if (!(this.c1t_1 == other.c1t_1))
|
|
3416
3416
|
return false;
|
|
3417
|
-
if (!(this.
|
|
3417
|
+
if (!(this.d1t_1 == other.d1t_1))
|
|
3418
3418
|
return false;
|
|
3419
|
-
if (!equals(this.
|
|
3419
|
+
if (!equals(this.e1t_1, other.e1t_1))
|
|
3420
3420
|
return false;
|
|
3421
3421
|
return true;
|
|
3422
3422
|
};
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
// Inline function 'kotlin.arrayOf' call
|
|
3441
3441
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3442
3442
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3443
|
-
tmp.
|
|
3443
|
+
tmp.t1t_1 = [null, null, null, null, null, null, null, null, tmp_1, tmp_3, null, null, null, lazy(tmp_4, RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_1), null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3444
3444
|
}
|
|
3445
3445
|
var Companion_instance_18;
|
|
3446
3446
|
function Companion_getInstance_21() {
|
|
@@ -3451,71 +3451,71 @@
|
|
|
3451
3451
|
function $serializer_9() {
|
|
3452
3452
|
$serializer_instance_9 = this;
|
|
3453
3453
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 26);
|
|
3454
|
-
tmp0_serialDesc.
|
|
3455
|
-
tmp0_serialDesc.
|
|
3456
|
-
tmp0_serialDesc.
|
|
3457
|
-
tmp0_serialDesc.
|
|
3458
|
-
tmp0_serialDesc.
|
|
3459
|
-
tmp0_serialDesc.
|
|
3460
|
-
tmp0_serialDesc.
|
|
3461
|
-
tmp0_serialDesc.
|
|
3462
|
-
tmp0_serialDesc.
|
|
3463
|
-
tmp0_serialDesc.
|
|
3464
|
-
tmp0_serialDesc.
|
|
3465
|
-
tmp0_serialDesc.
|
|
3466
|
-
tmp0_serialDesc.
|
|
3467
|
-
tmp0_serialDesc.
|
|
3468
|
-
tmp0_serialDesc.
|
|
3469
|
-
tmp0_serialDesc.
|
|
3470
|
-
tmp0_serialDesc.
|
|
3471
|
-
tmp0_serialDesc.
|
|
3472
|
-
tmp0_serialDesc.
|
|
3473
|
-
tmp0_serialDesc.
|
|
3474
|
-
tmp0_serialDesc.
|
|
3475
|
-
tmp0_serialDesc.
|
|
3476
|
-
tmp0_serialDesc.
|
|
3477
|
-
tmp0_serialDesc.
|
|
3478
|
-
tmp0_serialDesc.
|
|
3479
|
-
tmp0_serialDesc.
|
|
3480
|
-
this.
|
|
3481
|
-
}
|
|
3482
|
-
protoOf($serializer_9).
|
|
3483
|
-
var tmp0_desc = this.
|
|
3484
|
-
var tmp1_output = encoder.
|
|
3485
|
-
var tmp2_cached = Companion_getInstance_21().
|
|
3486
|
-
tmp1_output.
|
|
3487
|
-
tmp1_output.
|
|
3488
|
-
tmp1_output.
|
|
3489
|
-
tmp1_output.
|
|
3490
|
-
tmp1_output.
|
|
3491
|
-
tmp1_output.
|
|
3492
|
-
tmp1_output.
|
|
3493
|
-
tmp1_output.
|
|
3494
|
-
tmp1_output.
|
|
3495
|
-
tmp1_output.
|
|
3496
|
-
tmp1_output.
|
|
3497
|
-
tmp1_output.
|
|
3498
|
-
tmp1_output.
|
|
3499
|
-
tmp1_output.
|
|
3500
|
-
tmp1_output.
|
|
3501
|
-
tmp1_output.
|
|
3502
|
-
tmp1_output.
|
|
3503
|
-
tmp1_output.
|
|
3504
|
-
tmp1_output.
|
|
3505
|
-
tmp1_output.
|
|
3506
|
-
tmp1_output.
|
|
3507
|
-
tmp1_output.
|
|
3508
|
-
tmp1_output.
|
|
3509
|
-
tmp1_output.
|
|
3510
|
-
tmp1_output.
|
|
3511
|
-
tmp1_output.
|
|
3512
|
-
tmp1_output.
|
|
3513
|
-
};
|
|
3514
|
-
protoOf($serializer_9).
|
|
3515
|
-
return this.
|
|
3516
|
-
};
|
|
3517
|
-
protoOf($serializer_9).
|
|
3518
|
-
var tmp0_desc = this.
|
|
3454
|
+
tmp0_serialDesc.ku('name', false);
|
|
3455
|
+
tmp0_serialDesc.ku('playerWhoChooseSuitGoFirst', false);
|
|
3456
|
+
tmp0_serialDesc.ku('winnerShuffleCards', false);
|
|
3457
|
+
tmp0_serialDesc.ku('playWithoutLiabilities', false);
|
|
3458
|
+
tmp0_serialDesc.ku('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
3459
|
+
tmp0_serialDesc.ku('dealerInitialCardsCount', false);
|
|
3460
|
+
tmp0_serialDesc.ku('dealerFinalCardsCount', false);
|
|
3461
|
+
tmp0_serialDesc.ku('dealerCounterClockwise', false);
|
|
3462
|
+
tmp0_serialDesc.ku('contractTypes', false);
|
|
3463
|
+
tmp0_serialDesc.ku('bidTypes', false);
|
|
3464
|
+
tmp0_serialDesc.ku('needToPutHigherTrump', false);
|
|
3465
|
+
tmp0_serialDesc.ku('trumpCardStepMode', false);
|
|
3466
|
+
tmp0_serialDesc.ku('trumpCardStepPartnerMode', false);
|
|
3467
|
+
tmp0_serialDesc.ku('combinationsWithFirstCard', false);
|
|
3468
|
+
tmp0_serialDesc.ku('protectBella', false);
|
|
3469
|
+
tmp0_serialDesc.ku('oneTryToProtectBella', false);
|
|
3470
|
+
tmp0_serialDesc.ku('enableFourSevensCombination', false);
|
|
3471
|
+
tmp0_serialDesc.ku('enableTrumpSevenCombination', false);
|
|
3472
|
+
tmp0_serialDesc.ku('enableTrumpSevenCombinationAfterDistribution', false);
|
|
3473
|
+
tmp0_serialDesc.ku('checkTrumpCombination', false);
|
|
3474
|
+
tmp0_serialDesc.ku('checkOnlyTrumpDebertz', false);
|
|
3475
|
+
tmp0_serialDesc.ku('pointsDistributeMode', false);
|
|
3476
|
+
tmp0_serialDesc.ku('enableFineIfNoBribes', false);
|
|
3477
|
+
tmp0_serialDesc.ku('fineIfNoBribes', false);
|
|
3478
|
+
tmp0_serialDesc.ku('enableFineAfterThirdByte', false);
|
|
3479
|
+
tmp0_serialDesc.ku('fineAfterThirdFailedContract', false);
|
|
3480
|
+
this.u1t_1 = tmp0_serialDesc;
|
|
3481
|
+
}
|
|
3482
|
+
protoOf($serializer_9).v1t = function (encoder, value) {
|
|
3483
|
+
var tmp0_desc = this.u1t_1;
|
|
3484
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
3485
|
+
var tmp2_cached = Companion_getInstance_21().t1t_1;
|
|
3486
|
+
tmp1_output.no(tmp0_desc, 0, StringSerializer_getInstance(), value.w1t_1);
|
|
3487
|
+
tmp1_output.no(tmp0_desc, 1, BooleanSerializer_getInstance(), value.x1t_1);
|
|
3488
|
+
tmp1_output.no(tmp0_desc, 2, BooleanSerializer_getInstance(), value.y1t_1);
|
|
3489
|
+
tmp1_output.no(tmp0_desc, 3, BooleanSerializer_getInstance(), value.z1t_1);
|
|
3490
|
+
tmp1_output.no(tmp0_desc, 4, BooleanSerializer_getInstance(), value.a1u_1);
|
|
3491
|
+
tmp1_output.no(tmp0_desc, 5, IntSerializer_getInstance(), value.b1u_1);
|
|
3492
|
+
tmp1_output.no(tmp0_desc, 6, IntSerializer_getInstance(), value.c1u_1);
|
|
3493
|
+
tmp1_output.no(tmp0_desc, 7, BooleanSerializer_getInstance(), value.d1u_1);
|
|
3494
|
+
tmp1_output.no(tmp0_desc, 8, tmp2_cached[8].j2(), value.e1u_1);
|
|
3495
|
+
tmp1_output.no(tmp0_desc, 9, tmp2_cached[9].j2(), value.f1u_1);
|
|
3496
|
+
tmp1_output.no(tmp0_desc, 10, BooleanSerializer_getInstance(), value.g1u_1);
|
|
3497
|
+
tmp1_output.no(tmp0_desc, 11, StringSerializer_getInstance(), value.h1u_1);
|
|
3498
|
+
tmp1_output.no(tmp0_desc, 12, StringSerializer_getInstance(), value.i1u_1);
|
|
3499
|
+
tmp1_output.no(tmp0_desc, 13, tmp2_cached[13].j2(), value.j1u_1);
|
|
3500
|
+
tmp1_output.no(tmp0_desc, 14, BooleanSerializer_getInstance(), value.k1u_1);
|
|
3501
|
+
tmp1_output.no(tmp0_desc, 15, BooleanSerializer_getInstance(), value.l1u_1);
|
|
3502
|
+
tmp1_output.no(tmp0_desc, 16, BooleanSerializer_getInstance(), value.m1u_1);
|
|
3503
|
+
tmp1_output.no(tmp0_desc, 17, BooleanSerializer_getInstance(), value.n1u_1);
|
|
3504
|
+
tmp1_output.no(tmp0_desc, 18, BooleanSerializer_getInstance(), value.o1u_1);
|
|
3505
|
+
tmp1_output.no(tmp0_desc, 19, BooleanSerializer_getInstance(), value.p1u_1);
|
|
3506
|
+
tmp1_output.no(tmp0_desc, 20, BooleanSerializer_getInstance(), value.q1u_1);
|
|
3507
|
+
tmp1_output.jo(tmp0_desc, 21, value.r1u_1);
|
|
3508
|
+
tmp1_output.no(tmp0_desc, 22, BooleanSerializer_getInstance(), value.s1u_1);
|
|
3509
|
+
tmp1_output.no(tmp0_desc, 23, IntSerializer_getInstance(), value.t1u_1);
|
|
3510
|
+
tmp1_output.no(tmp0_desc, 24, BooleanSerializer_getInstance(), value.u1u_1);
|
|
3511
|
+
tmp1_output.no(tmp0_desc, 25, IntSerializer_getInstance(), value.v1u_1);
|
|
3512
|
+
tmp1_output.vm(tmp0_desc);
|
|
3513
|
+
};
|
|
3514
|
+
protoOf($serializer_9).mj = function (encoder, value) {
|
|
3515
|
+
return this.v1t(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3516
|
+
};
|
|
3517
|
+
protoOf($serializer_9).nj = function (decoder) {
|
|
3518
|
+
var tmp0_desc = this.u1t_1;
|
|
3519
3519
|
var tmp1_flag = true;
|
|
3520
3520
|
var tmp2_index = 0;
|
|
3521
3521
|
var tmp3_bitMask0 = 0;
|
|
@@ -3545,188 +3545,188 @@
|
|
|
3545
3545
|
var tmp27_local23 = null;
|
|
3546
3546
|
var tmp28_local24 = null;
|
|
3547
3547
|
var tmp29_local25 = null;
|
|
3548
|
-
var tmp30_input = decoder.
|
|
3549
|
-
var tmp31_cached = Companion_getInstance_21().
|
|
3550
|
-
if (tmp30_input.
|
|
3551
|
-
tmp4_local0 = tmp30_input.
|
|
3548
|
+
var tmp30_input = decoder.um(tmp0_desc);
|
|
3549
|
+
var tmp31_cached = Companion_getInstance_21().t1t_1;
|
|
3550
|
+
if (tmp30_input.kn()) {
|
|
3551
|
+
tmp4_local0 = tmp30_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3552
3552
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3553
|
-
tmp5_local1 = tmp30_input.
|
|
3553
|
+
tmp5_local1 = tmp30_input.in(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3554
3554
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3555
|
-
tmp6_local2 = tmp30_input.
|
|
3555
|
+
tmp6_local2 = tmp30_input.in(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3556
3556
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3557
|
-
tmp7_local3 = tmp30_input.
|
|
3557
|
+
tmp7_local3 = tmp30_input.in(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3558
3558
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3559
|
-
tmp8_local4 = tmp30_input.
|
|
3559
|
+
tmp8_local4 = tmp30_input.in(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3560
3560
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3561
|
-
tmp9_local5 = tmp30_input.
|
|
3561
|
+
tmp9_local5 = tmp30_input.in(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3562
3562
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3563
|
-
tmp10_local6 = tmp30_input.
|
|
3563
|
+
tmp10_local6 = tmp30_input.in(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3564
3564
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3565
|
-
tmp11_local7 = tmp30_input.
|
|
3565
|
+
tmp11_local7 = tmp30_input.in(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3566
3566
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3567
|
-
tmp12_local8 = tmp30_input.
|
|
3567
|
+
tmp12_local8 = tmp30_input.in(tmp0_desc, 8, tmp31_cached[8].j2(), tmp12_local8);
|
|
3568
3568
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3569
|
-
tmp13_local9 = tmp30_input.
|
|
3569
|
+
tmp13_local9 = tmp30_input.in(tmp0_desc, 9, tmp31_cached[9].j2(), tmp13_local9);
|
|
3570
3570
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3571
|
-
tmp14_local10 = tmp30_input.
|
|
3571
|
+
tmp14_local10 = tmp30_input.in(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3572
3572
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3573
|
-
tmp15_local11 = tmp30_input.
|
|
3573
|
+
tmp15_local11 = tmp30_input.in(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3574
3574
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3575
|
-
tmp16_local12 = tmp30_input.
|
|
3575
|
+
tmp16_local12 = tmp30_input.in(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3576
3576
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3577
|
-
tmp17_local13 = tmp30_input.
|
|
3577
|
+
tmp17_local13 = tmp30_input.in(tmp0_desc, 13, tmp31_cached[13].j2(), tmp17_local13);
|
|
3578
3578
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3579
|
-
tmp18_local14 = tmp30_input.
|
|
3579
|
+
tmp18_local14 = tmp30_input.in(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3580
3580
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3581
|
-
tmp19_local15 = tmp30_input.
|
|
3581
|
+
tmp19_local15 = tmp30_input.in(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3582
3582
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3583
|
-
tmp20_local16 = tmp30_input.
|
|
3583
|
+
tmp20_local16 = tmp30_input.in(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3584
3584
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3585
|
-
tmp21_local17 = tmp30_input.
|
|
3585
|
+
tmp21_local17 = tmp30_input.in(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3586
3586
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3587
|
-
tmp22_local18 = tmp30_input.
|
|
3587
|
+
tmp22_local18 = tmp30_input.in(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3588
3588
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3589
|
-
tmp23_local19 = tmp30_input.
|
|
3589
|
+
tmp23_local19 = tmp30_input.in(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3590
3590
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3591
|
-
tmp24_local20 = tmp30_input.
|
|
3591
|
+
tmp24_local20 = tmp30_input.in(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3592
3592
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3593
|
-
tmp25_local21 = tmp30_input.
|
|
3593
|
+
tmp25_local21 = tmp30_input.en(tmp0_desc, 21);
|
|
3594
3594
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3595
|
-
tmp26_local22 = tmp30_input.
|
|
3595
|
+
tmp26_local22 = tmp30_input.in(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3596
3596
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3597
|
-
tmp27_local23 = tmp30_input.
|
|
3597
|
+
tmp27_local23 = tmp30_input.in(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3598
3598
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3599
|
-
tmp28_local24 = tmp30_input.
|
|
3599
|
+
tmp28_local24 = tmp30_input.in(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3600
3600
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3601
|
-
tmp29_local25 = tmp30_input.
|
|
3601
|
+
tmp29_local25 = tmp30_input.in(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3602
3602
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3603
3603
|
} else
|
|
3604
3604
|
while (tmp1_flag) {
|
|
3605
|
-
tmp2_index = tmp30_input.
|
|
3605
|
+
tmp2_index = tmp30_input.ln(tmp0_desc);
|
|
3606
3606
|
switch (tmp2_index) {
|
|
3607
3607
|
case -1:
|
|
3608
3608
|
tmp1_flag = false;
|
|
3609
3609
|
break;
|
|
3610
3610
|
case 0:
|
|
3611
|
-
tmp4_local0 = tmp30_input.
|
|
3611
|
+
tmp4_local0 = tmp30_input.in(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3612
3612
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3613
3613
|
break;
|
|
3614
3614
|
case 1:
|
|
3615
|
-
tmp5_local1 = tmp30_input.
|
|
3615
|
+
tmp5_local1 = tmp30_input.in(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3616
3616
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3617
3617
|
break;
|
|
3618
3618
|
case 2:
|
|
3619
|
-
tmp6_local2 = tmp30_input.
|
|
3619
|
+
tmp6_local2 = tmp30_input.in(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3620
3620
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3621
3621
|
break;
|
|
3622
3622
|
case 3:
|
|
3623
|
-
tmp7_local3 = tmp30_input.
|
|
3623
|
+
tmp7_local3 = tmp30_input.in(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3624
3624
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3625
3625
|
break;
|
|
3626
3626
|
case 4:
|
|
3627
|
-
tmp8_local4 = tmp30_input.
|
|
3627
|
+
tmp8_local4 = tmp30_input.in(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3628
3628
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3629
3629
|
break;
|
|
3630
3630
|
case 5:
|
|
3631
|
-
tmp9_local5 = tmp30_input.
|
|
3631
|
+
tmp9_local5 = tmp30_input.in(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3632
3632
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3633
3633
|
break;
|
|
3634
3634
|
case 6:
|
|
3635
|
-
tmp10_local6 = tmp30_input.
|
|
3635
|
+
tmp10_local6 = tmp30_input.in(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3636
3636
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3637
3637
|
break;
|
|
3638
3638
|
case 7:
|
|
3639
|
-
tmp11_local7 = tmp30_input.
|
|
3639
|
+
tmp11_local7 = tmp30_input.in(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3640
3640
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3641
3641
|
break;
|
|
3642
3642
|
case 8:
|
|
3643
|
-
tmp12_local8 = tmp30_input.
|
|
3643
|
+
tmp12_local8 = tmp30_input.in(tmp0_desc, 8, tmp31_cached[8].j2(), tmp12_local8);
|
|
3644
3644
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3645
3645
|
break;
|
|
3646
3646
|
case 9:
|
|
3647
|
-
tmp13_local9 = tmp30_input.
|
|
3647
|
+
tmp13_local9 = tmp30_input.in(tmp0_desc, 9, tmp31_cached[9].j2(), tmp13_local9);
|
|
3648
3648
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3649
3649
|
break;
|
|
3650
3650
|
case 10:
|
|
3651
|
-
tmp14_local10 = tmp30_input.
|
|
3651
|
+
tmp14_local10 = tmp30_input.in(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3652
3652
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3653
3653
|
break;
|
|
3654
3654
|
case 11:
|
|
3655
|
-
tmp15_local11 = tmp30_input.
|
|
3655
|
+
tmp15_local11 = tmp30_input.in(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3656
3656
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3657
3657
|
break;
|
|
3658
3658
|
case 12:
|
|
3659
|
-
tmp16_local12 = tmp30_input.
|
|
3659
|
+
tmp16_local12 = tmp30_input.in(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3660
3660
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3661
3661
|
break;
|
|
3662
3662
|
case 13:
|
|
3663
|
-
tmp17_local13 = tmp30_input.
|
|
3663
|
+
tmp17_local13 = tmp30_input.in(tmp0_desc, 13, tmp31_cached[13].j2(), tmp17_local13);
|
|
3664
3664
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3665
3665
|
break;
|
|
3666
3666
|
case 14:
|
|
3667
|
-
tmp18_local14 = tmp30_input.
|
|
3667
|
+
tmp18_local14 = tmp30_input.in(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3668
3668
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3669
3669
|
break;
|
|
3670
3670
|
case 15:
|
|
3671
|
-
tmp19_local15 = tmp30_input.
|
|
3671
|
+
tmp19_local15 = tmp30_input.in(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3672
3672
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3673
3673
|
break;
|
|
3674
3674
|
case 16:
|
|
3675
|
-
tmp20_local16 = tmp30_input.
|
|
3675
|
+
tmp20_local16 = tmp30_input.in(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3676
3676
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3677
3677
|
break;
|
|
3678
3678
|
case 17:
|
|
3679
|
-
tmp21_local17 = tmp30_input.
|
|
3679
|
+
tmp21_local17 = tmp30_input.in(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3680
3680
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3681
3681
|
break;
|
|
3682
3682
|
case 18:
|
|
3683
|
-
tmp22_local18 = tmp30_input.
|
|
3683
|
+
tmp22_local18 = tmp30_input.in(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3684
3684
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3685
3685
|
break;
|
|
3686
3686
|
case 19:
|
|
3687
|
-
tmp23_local19 = tmp30_input.
|
|
3687
|
+
tmp23_local19 = tmp30_input.in(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3688
3688
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3689
3689
|
break;
|
|
3690
3690
|
case 20:
|
|
3691
|
-
tmp24_local20 = tmp30_input.
|
|
3691
|
+
tmp24_local20 = tmp30_input.in(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3692
3692
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3693
3693
|
break;
|
|
3694
3694
|
case 21:
|
|
3695
|
-
tmp25_local21 = tmp30_input.
|
|
3695
|
+
tmp25_local21 = tmp30_input.en(tmp0_desc, 21);
|
|
3696
3696
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3697
3697
|
break;
|
|
3698
3698
|
case 22:
|
|
3699
|
-
tmp26_local22 = tmp30_input.
|
|
3699
|
+
tmp26_local22 = tmp30_input.in(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3700
3700
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3701
3701
|
break;
|
|
3702
3702
|
case 23:
|
|
3703
|
-
tmp27_local23 = tmp30_input.
|
|
3703
|
+
tmp27_local23 = tmp30_input.in(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3704
3704
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3705
3705
|
break;
|
|
3706
3706
|
case 24:
|
|
3707
|
-
tmp28_local24 = tmp30_input.
|
|
3707
|
+
tmp28_local24 = tmp30_input.in(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3708
3708
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3709
3709
|
break;
|
|
3710
3710
|
case 25:
|
|
3711
|
-
tmp29_local25 = tmp30_input.
|
|
3711
|
+
tmp29_local25 = tmp30_input.in(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3712
3712
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3713
3713
|
break;
|
|
3714
3714
|
default:
|
|
3715
3715
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3716
3716
|
}
|
|
3717
3717
|
}
|
|
3718
|
-
tmp30_input.
|
|
3718
|
+
tmp30_input.vm(tmp0_desc);
|
|
3719
3719
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, tmp28_local24, tmp29_local25, null);
|
|
3720
3720
|
};
|
|
3721
|
-
protoOf($serializer_9).
|
|
3722
|
-
return this.
|
|
3721
|
+
protoOf($serializer_9).lj = function () {
|
|
3722
|
+
return this.u1t_1;
|
|
3723
3723
|
};
|
|
3724
|
-
protoOf($serializer_9).
|
|
3725
|
-
var tmp0_cached = Companion_getInstance_21().
|
|
3724
|
+
protoOf($serializer_9).bv = function () {
|
|
3725
|
+
var tmp0_cached = Companion_getInstance_21().t1t_1;
|
|
3726
3726
|
// Inline function 'kotlin.arrayOf' call
|
|
3727
3727
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3728
3728
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3729
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[8].
|
|
3729
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[8].j2()), get_nullable(tmp0_cached[9].j2()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[13].j2()), 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()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
|
|
3730
3730
|
};
|
|
3731
3731
|
var $serializer_instance_9;
|
|
3732
3732
|
function $serializer_getInstance_9() {
|
|
@@ -3736,34 +3736,34 @@
|
|
|
3736
3736
|
}
|
|
3737
3737
|
function RulesDto_init_$Init$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3738
3738
|
if (!(67108863 === (67108863 & seen0))) {
|
|
3739
|
-
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().
|
|
3739
|
+
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().u1t_1);
|
|
3740
3740
|
}
|
|
3741
|
-
$this.
|
|
3742
|
-
$this.
|
|
3743
|
-
$this.
|
|
3744
|
-
$this.
|
|
3745
|
-
$this.
|
|
3746
|
-
$this.
|
|
3747
|
-
$this.
|
|
3748
|
-
$this.
|
|
3749
|
-
$this.
|
|
3750
|
-
$this.
|
|
3751
|
-
$this.
|
|
3752
|
-
$this.
|
|
3753
|
-
$this.
|
|
3754
|
-
$this.
|
|
3755
|
-
$this.
|
|
3756
|
-
$this.
|
|
3757
|
-
$this.
|
|
3758
|
-
$this.
|
|
3759
|
-
$this.
|
|
3760
|
-
$this.
|
|
3761
|
-
$this.
|
|
3762
|
-
$this.
|
|
3763
|
-
$this.
|
|
3764
|
-
$this.
|
|
3765
|
-
$this.
|
|
3766
|
-
$this.
|
|
3741
|
+
$this.w1t_1 = name;
|
|
3742
|
+
$this.x1t_1 = playerWhoChooseSuitGoFirst;
|
|
3743
|
+
$this.y1t_1 = winnerShuffleCards;
|
|
3744
|
+
$this.z1t_1 = playWithoutLiabilities;
|
|
3745
|
+
$this.a1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3746
|
+
$this.b1u_1 = dealerInitialCardsCount;
|
|
3747
|
+
$this.c1u_1 = dealerFinalCardsCount;
|
|
3748
|
+
$this.d1u_1 = dealerCounterClockwise;
|
|
3749
|
+
$this.e1u_1 = contractTypes;
|
|
3750
|
+
$this.f1u_1 = bidTypes;
|
|
3751
|
+
$this.g1u_1 = needToPutHigherTrump;
|
|
3752
|
+
$this.h1u_1 = trumpCardStepMode;
|
|
3753
|
+
$this.i1u_1 = trumpCardStepPartnerMode;
|
|
3754
|
+
$this.j1u_1 = combinationsWithFirstCard;
|
|
3755
|
+
$this.k1u_1 = protectBella;
|
|
3756
|
+
$this.l1u_1 = oneTryToProtectBella;
|
|
3757
|
+
$this.m1u_1 = enableFourSevensCombination;
|
|
3758
|
+
$this.n1u_1 = enableTrumpSevenCombination;
|
|
3759
|
+
$this.o1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3760
|
+
$this.p1u_1 = checkTrumpCombination;
|
|
3761
|
+
$this.q1u_1 = checkOnlyTrumpDebertz;
|
|
3762
|
+
$this.r1u_1 = pointsDistributeMode;
|
|
3763
|
+
$this.s1u_1 = enableFineIfNoBribes;
|
|
3764
|
+
$this.t1u_1 = fineIfNoBribes;
|
|
3765
|
+
$this.u1u_1 = enableFineAfterThirdByte;
|
|
3766
|
+
$this.v1u_1 = fineAfterThirdFailedContract;
|
|
3767
3767
|
return $this;
|
|
3768
3768
|
}
|
|
3769
3769
|
function RulesDto_init_$Create$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
@@ -3771,63 +3771,63 @@
|
|
|
3771
3771
|
}
|
|
3772
3772
|
function RulesDto(name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3773
3773
|
Companion_getInstance_21();
|
|
3774
|
-
this.
|
|
3775
|
-
this.
|
|
3776
|
-
this.
|
|
3777
|
-
this.
|
|
3778
|
-
this.
|
|
3779
|
-
this.
|
|
3780
|
-
this.
|
|
3781
|
-
this.
|
|
3782
|
-
this.
|
|
3783
|
-
this.
|
|
3784
|
-
this.
|
|
3785
|
-
this.
|
|
3786
|
-
this.
|
|
3787
|
-
this.
|
|
3788
|
-
this.
|
|
3789
|
-
this.
|
|
3790
|
-
this.
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3795
|
-
this.
|
|
3796
|
-
this.
|
|
3797
|
-
this.
|
|
3798
|
-
this.
|
|
3799
|
-
this.
|
|
3774
|
+
this.w1t_1 = name;
|
|
3775
|
+
this.x1t_1 = playerWhoChooseSuitGoFirst;
|
|
3776
|
+
this.y1t_1 = winnerShuffleCards;
|
|
3777
|
+
this.z1t_1 = playWithoutLiabilities;
|
|
3778
|
+
this.a1u_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3779
|
+
this.b1u_1 = dealerInitialCardsCount;
|
|
3780
|
+
this.c1u_1 = dealerFinalCardsCount;
|
|
3781
|
+
this.d1u_1 = dealerCounterClockwise;
|
|
3782
|
+
this.e1u_1 = contractTypes;
|
|
3783
|
+
this.f1u_1 = bidTypes;
|
|
3784
|
+
this.g1u_1 = needToPutHigherTrump;
|
|
3785
|
+
this.h1u_1 = trumpCardStepMode;
|
|
3786
|
+
this.i1u_1 = trumpCardStepPartnerMode;
|
|
3787
|
+
this.j1u_1 = combinationsWithFirstCard;
|
|
3788
|
+
this.k1u_1 = protectBella;
|
|
3789
|
+
this.l1u_1 = oneTryToProtectBella;
|
|
3790
|
+
this.m1u_1 = enableFourSevensCombination;
|
|
3791
|
+
this.n1u_1 = enableTrumpSevenCombination;
|
|
3792
|
+
this.o1u_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3793
|
+
this.p1u_1 = checkTrumpCombination;
|
|
3794
|
+
this.q1u_1 = checkOnlyTrumpDebertz;
|
|
3795
|
+
this.r1u_1 = pointsDistributeMode;
|
|
3796
|
+
this.s1u_1 = enableFineIfNoBribes;
|
|
3797
|
+
this.t1u_1 = fineIfNoBribes;
|
|
3798
|
+
this.u1u_1 = enableFineAfterThirdByte;
|
|
3799
|
+
this.v1u_1 = fineAfterThirdFailedContract;
|
|
3800
3800
|
}
|
|
3801
3801
|
protoOf(RulesDto).toString = function () {
|
|
3802
|
-
return 'RulesDto(name=' + this.
|
|
3802
|
+
return 'RulesDto(name=' + this.w1t_1 + ', playerWhoChooseSuitGoFirst=' + this.x1t_1 + ', winnerShuffleCards=' + this.y1t_1 + ', playWithoutLiabilities=' + this.z1t_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.a1u_1 + ', dealerInitialCardsCount=' + this.b1u_1 + ', dealerFinalCardsCount=' + this.c1u_1 + ', dealerCounterClockwise=' + this.d1u_1 + ', contractTypes=' + toString(this.e1u_1) + ', bidTypes=' + toString(this.f1u_1) + ', needToPutHigherTrump=' + this.g1u_1 + ', trumpCardStepMode=' + this.h1u_1 + ', trumpCardStepPartnerMode=' + this.i1u_1 + ', combinationsWithFirstCard=' + toString(this.j1u_1) + ', protectBella=' + this.k1u_1 + ', oneTryToProtectBella=' + this.l1u_1 + ', enableFourSevensCombination=' + this.m1u_1 + ', enableTrumpSevenCombination=' + this.n1u_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.o1u_1 + ', checkTrumpCombination=' + this.p1u_1 + ', checkOnlyTrumpDebertz=' + this.q1u_1 + ', pointsDistributeMode=' + this.r1u_1 + ', enableFineIfNoBribes=' + this.s1u_1 + ', fineIfNoBribes=' + this.t1u_1 + ', enableFineAfterThirdByte=' + this.u1u_1 + ', fineAfterThirdFailedContract=' + this.v1u_1 + ')';
|
|
3803
3803
|
};
|
|
3804
3804
|
protoOf(RulesDto).hashCode = function () {
|
|
3805
|
-
var result = this.
|
|
3805
|
+
var result = this.w1t_1 == null ? 0 : getStringHashCode(this.w1t_1);
|
|
3806
|
+
result = imul(result, 31) + (this.x1t_1 == null ? 0 : getBooleanHashCode(this.x1t_1)) | 0;
|
|
3807
|
+
result = imul(result, 31) + (this.y1t_1 == null ? 0 : getBooleanHashCode(this.y1t_1)) | 0;
|
|
3808
|
+
result = imul(result, 31) + (this.z1t_1 == null ? 0 : getBooleanHashCode(this.z1t_1)) | 0;
|
|
3809
|
+
result = imul(result, 31) + (this.a1u_1 == null ? 0 : getBooleanHashCode(this.a1u_1)) | 0;
|
|
3810
|
+
result = imul(result, 31) + (this.b1u_1 == null ? 0 : this.b1u_1) | 0;
|
|
3811
|
+
result = imul(result, 31) + (this.c1u_1 == null ? 0 : this.c1u_1) | 0;
|
|
3812
|
+
result = imul(result, 31) + (this.d1u_1 == null ? 0 : getBooleanHashCode(this.d1u_1)) | 0;
|
|
3813
|
+
result = imul(result, 31) + (this.e1u_1 == null ? 0 : hashCode(this.e1u_1)) | 0;
|
|
3814
|
+
result = imul(result, 31) + (this.f1u_1 == null ? 0 : hashCode(this.f1u_1)) | 0;
|
|
3815
|
+
result = imul(result, 31) + (this.g1u_1 == null ? 0 : getBooleanHashCode(this.g1u_1)) | 0;
|
|
3816
|
+
result = imul(result, 31) + (this.h1u_1 == null ? 0 : getStringHashCode(this.h1u_1)) | 0;
|
|
3817
|
+
result = imul(result, 31) + (this.i1u_1 == null ? 0 : getStringHashCode(this.i1u_1)) | 0;
|
|
3818
|
+
result = imul(result, 31) + (this.j1u_1 == null ? 0 : hashCode(this.j1u_1)) | 0;
|
|
3819
|
+
result = imul(result, 31) + (this.k1u_1 == null ? 0 : getBooleanHashCode(this.k1u_1)) | 0;
|
|
3820
|
+
result = imul(result, 31) + (this.l1u_1 == null ? 0 : getBooleanHashCode(this.l1u_1)) | 0;
|
|
3806
3821
|
result = imul(result, 31) + (this.m1u_1 == null ? 0 : getBooleanHashCode(this.m1u_1)) | 0;
|
|
3807
3822
|
result = imul(result, 31) + (this.n1u_1 == null ? 0 : getBooleanHashCode(this.n1u_1)) | 0;
|
|
3808
3823
|
result = imul(result, 31) + (this.o1u_1 == null ? 0 : getBooleanHashCode(this.o1u_1)) | 0;
|
|
3809
3824
|
result = imul(result, 31) + (this.p1u_1 == null ? 0 : getBooleanHashCode(this.p1u_1)) | 0;
|
|
3810
|
-
result = imul(result, 31) + (this.q1u_1 == null ? 0 : this.q1u_1) | 0;
|
|
3811
|
-
result = imul(result, 31) + (this.r1u_1
|
|
3825
|
+
result = imul(result, 31) + (this.q1u_1 == null ? 0 : getBooleanHashCode(this.q1u_1)) | 0;
|
|
3826
|
+
result = imul(result, 31) + getStringHashCode(this.r1u_1) | 0;
|
|
3812
3827
|
result = imul(result, 31) + (this.s1u_1 == null ? 0 : getBooleanHashCode(this.s1u_1)) | 0;
|
|
3813
|
-
result = imul(result, 31) + (this.t1u_1 == null ? 0 :
|
|
3814
|
-
result = imul(result, 31) + (this.u1u_1 == null ? 0 :
|
|
3815
|
-
result = imul(result, 31) + (this.v1u_1 == null ? 0 :
|
|
3816
|
-
result = imul(result, 31) + (this.w1u_1 == null ? 0 : getStringHashCode(this.w1u_1)) | 0;
|
|
3817
|
-
result = imul(result, 31) + (this.x1u_1 == null ? 0 : getStringHashCode(this.x1u_1)) | 0;
|
|
3818
|
-
result = imul(result, 31) + (this.y1u_1 == null ? 0 : hashCode(this.y1u_1)) | 0;
|
|
3819
|
-
result = imul(result, 31) + (this.z1u_1 == null ? 0 : getBooleanHashCode(this.z1u_1)) | 0;
|
|
3820
|
-
result = imul(result, 31) + (this.a1v_1 == null ? 0 : getBooleanHashCode(this.a1v_1)) | 0;
|
|
3821
|
-
result = imul(result, 31) + (this.b1v_1 == null ? 0 : getBooleanHashCode(this.b1v_1)) | 0;
|
|
3822
|
-
result = imul(result, 31) + (this.c1v_1 == null ? 0 : getBooleanHashCode(this.c1v_1)) | 0;
|
|
3823
|
-
result = imul(result, 31) + (this.d1v_1 == null ? 0 : getBooleanHashCode(this.d1v_1)) | 0;
|
|
3824
|
-
result = imul(result, 31) + (this.e1v_1 == null ? 0 : getBooleanHashCode(this.e1v_1)) | 0;
|
|
3825
|
-
result = imul(result, 31) + (this.f1v_1 == null ? 0 : getBooleanHashCode(this.f1v_1)) | 0;
|
|
3826
|
-
result = imul(result, 31) + getStringHashCode(this.g1v_1) | 0;
|
|
3827
|
-
result = imul(result, 31) + (this.h1v_1 == null ? 0 : getBooleanHashCode(this.h1v_1)) | 0;
|
|
3828
|
-
result = imul(result, 31) + (this.i1v_1 == null ? 0 : this.i1v_1) | 0;
|
|
3829
|
-
result = imul(result, 31) + (this.j1v_1 == null ? 0 : getBooleanHashCode(this.j1v_1)) | 0;
|
|
3830
|
-
result = imul(result, 31) + (this.k1v_1 == null ? 0 : this.k1v_1) | 0;
|
|
3828
|
+
result = imul(result, 31) + (this.t1u_1 == null ? 0 : this.t1u_1) | 0;
|
|
3829
|
+
result = imul(result, 31) + (this.u1u_1 == null ? 0 : getBooleanHashCode(this.u1u_1)) | 0;
|
|
3830
|
+
result = imul(result, 31) + (this.v1u_1 == null ? 0 : this.v1u_1) | 0;
|
|
3831
3831
|
return result;
|
|
3832
3832
|
};
|
|
3833
3833
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3835,57 +3835,57 @@
|
|
|
3835
3835
|
return true;
|
|
3836
3836
|
if (!(other instanceof RulesDto))
|
|
3837
3837
|
return false;
|
|
3838
|
-
if (!(this.
|
|
3838
|
+
if (!(this.w1t_1 == other.w1t_1))
|
|
3839
3839
|
return false;
|
|
3840
|
-
if (!(this.
|
|
3840
|
+
if (!(this.x1t_1 == other.x1t_1))
|
|
3841
3841
|
return false;
|
|
3842
|
-
if (!(this.
|
|
3842
|
+
if (!(this.y1t_1 == other.y1t_1))
|
|
3843
3843
|
return false;
|
|
3844
|
-
if (!(this.
|
|
3844
|
+
if (!(this.z1t_1 == other.z1t_1))
|
|
3845
3845
|
return false;
|
|
3846
|
-
if (!(this.
|
|
3846
|
+
if (!(this.a1u_1 == other.a1u_1))
|
|
3847
3847
|
return false;
|
|
3848
|
-
if (!(this.
|
|
3848
|
+
if (!(this.b1u_1 == other.b1u_1))
|
|
3849
3849
|
return false;
|
|
3850
|
-
if (!(this.
|
|
3850
|
+
if (!(this.c1u_1 == other.c1u_1))
|
|
3851
3851
|
return false;
|
|
3852
|
-
if (!(this.
|
|
3852
|
+
if (!(this.d1u_1 == other.d1u_1))
|
|
3853
3853
|
return false;
|
|
3854
|
-
if (!equals(this.
|
|
3854
|
+
if (!equals(this.e1u_1, other.e1u_1))
|
|
3855
3855
|
return false;
|
|
3856
|
-
if (!equals(this.
|
|
3856
|
+
if (!equals(this.f1u_1, other.f1u_1))
|
|
3857
3857
|
return false;
|
|
3858
|
-
if (!(this.
|
|
3858
|
+
if (!(this.g1u_1 == other.g1u_1))
|
|
3859
3859
|
return false;
|
|
3860
|
-
if (!(this.
|
|
3860
|
+
if (!(this.h1u_1 == other.h1u_1))
|
|
3861
3861
|
return false;
|
|
3862
|
-
if (!(this.
|
|
3862
|
+
if (!(this.i1u_1 == other.i1u_1))
|
|
3863
3863
|
return false;
|
|
3864
|
-
if (!equals(this.
|
|
3864
|
+
if (!equals(this.j1u_1, other.j1u_1))
|
|
3865
3865
|
return false;
|
|
3866
|
-
if (!(this.
|
|
3866
|
+
if (!(this.k1u_1 == other.k1u_1))
|
|
3867
3867
|
return false;
|
|
3868
|
-
if (!(this.
|
|
3868
|
+
if (!(this.l1u_1 == other.l1u_1))
|
|
3869
3869
|
return false;
|
|
3870
|
-
if (!(this.
|
|
3870
|
+
if (!(this.m1u_1 == other.m1u_1))
|
|
3871
3871
|
return false;
|
|
3872
|
-
if (!(this.
|
|
3872
|
+
if (!(this.n1u_1 == other.n1u_1))
|
|
3873
3873
|
return false;
|
|
3874
|
-
if (!(this.
|
|
3874
|
+
if (!(this.o1u_1 == other.o1u_1))
|
|
3875
3875
|
return false;
|
|
3876
|
-
if (!(this.
|
|
3876
|
+
if (!(this.p1u_1 == other.p1u_1))
|
|
3877
3877
|
return false;
|
|
3878
|
-
if (!(this.
|
|
3878
|
+
if (!(this.q1u_1 == other.q1u_1))
|
|
3879
3879
|
return false;
|
|
3880
|
-
if (!(this.
|
|
3880
|
+
if (!(this.r1u_1 === other.r1u_1))
|
|
3881
3881
|
return false;
|
|
3882
|
-
if (!(this.
|
|
3882
|
+
if (!(this.s1u_1 == other.s1u_1))
|
|
3883
3883
|
return false;
|
|
3884
|
-
if (!(this.
|
|
3884
|
+
if (!(this.t1u_1 == other.t1u_1))
|
|
3885
3885
|
return false;
|
|
3886
|
-
if (!(this.
|
|
3886
|
+
if (!(this.u1u_1 == other.u1u_1))
|
|
3887
3887
|
return false;
|
|
3888
|
-
if (!(this.
|
|
3888
|
+
if (!(this.v1u_1 == other.v1u_1))
|
|
3889
3889
|
return false;
|
|
3890
3890
|
return true;
|
|
3891
3891
|
};
|
|
@@ -3909,14 +3909,14 @@
|
|
|
3909
3909
|
}
|
|
3910
3910
|
function enumToStringSafe(_this__u8e3s4, mapping) {
|
|
3911
3911
|
// Inline function 'kotlin.collections.find' call
|
|
3912
|
-
var tmp0 = mapping.
|
|
3912
|
+
var tmp0 = mapping.h1();
|
|
3913
3913
|
var tmp$ret$1;
|
|
3914
3914
|
$l$block: {
|
|
3915
3915
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3916
|
-
var _iterator__ex2g4s = tmp0.
|
|
3917
|
-
while (_iterator__ex2g4s.
|
|
3918
|
-
var element = _iterator__ex2g4s.
|
|
3919
|
-
if (equals(element.
|
|
3916
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
3917
|
+
while (_iterator__ex2g4s.u()) {
|
|
3918
|
+
var element = _iterator__ex2g4s.v();
|
|
3919
|
+
if (equals(element.j2(), _this__u8e3s4)) {
|
|
3920
3920
|
tmp$ret$1 = element;
|
|
3921
3921
|
break $l$block;
|
|
3922
3922
|
}
|
|
@@ -3924,18 +3924,18 @@
|
|
|
3924
3924
|
tmp$ret$1 = null;
|
|
3925
3925
|
}
|
|
3926
3926
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
3927
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3927
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i2();
|
|
3928
3928
|
}
|
|
3929
3929
|
function enumToString(_this__u8e3s4, mapping) {
|
|
3930
3930
|
// Inline function 'kotlin.collections.find' call
|
|
3931
|
-
var tmp0 = mapping.
|
|
3931
|
+
var tmp0 = mapping.h1();
|
|
3932
3932
|
var tmp$ret$1;
|
|
3933
3933
|
$l$block: {
|
|
3934
3934
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3935
|
-
var _iterator__ex2g4s = tmp0.
|
|
3936
|
-
while (_iterator__ex2g4s.
|
|
3937
|
-
var element = _iterator__ex2g4s.
|
|
3938
|
-
if (equals(element.
|
|
3935
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
3936
|
+
while (_iterator__ex2g4s.u()) {
|
|
3937
|
+
var element = _iterator__ex2g4s.v();
|
|
3938
|
+
if (equals(element.j2(), _this__u8e3s4)) {
|
|
3939
3939
|
tmp$ret$1 = element;
|
|
3940
3940
|
break $l$block;
|
|
3941
3941
|
}
|
|
@@ -3943,7 +3943,7 @@
|
|
|
3943
3943
|
tmp$ret$1 = null;
|
|
3944
3944
|
}
|
|
3945
3945
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
3946
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3946
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i2();
|
|
3947
3947
|
var tmp;
|
|
3948
3948
|
if (tmp1_elvis_lhs == null) {
|
|
3949
3949
|
throw IllegalArgumentException_init_$Create$("can't find key " + _this__u8e3s4.toString() + ', in mapping ' + toString_0(mapping));
|
|
@@ -3960,7 +3960,7 @@
|
|
|
3960
3960
|
tmp = exceptionProvider;
|
|
3961
3961
|
}
|
|
3962
3962
|
exceptionProvider = tmp;
|
|
3963
|
-
var tmp0_elvis_lhs = mapping.
|
|
3963
|
+
var tmp0_elvis_lhs = mapping.n2(_this__u8e3s4);
|
|
3964
3964
|
var tmp_0;
|
|
3965
3965
|
if (tmp0_elvis_lhs == null) {
|
|
3966
3966
|
throw exceptionProvider(_this__u8e3s4);
|
|
@@ -3996,9 +3996,9 @@
|
|
|
3996
3996
|
var destination = ArrayList_init_$Create$();
|
|
3997
3997
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
3998
3998
|
var index = 0;
|
|
3999
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
4000
|
-
while (_iterator__ex2g4s.
|
|
4001
|
-
var item = _iterator__ex2g4s.
|
|
3999
|
+
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
4000
|
+
while (_iterator__ex2g4s.u()) {
|
|
4001
|
+
var item = _iterator__ex2g4s.v();
|
|
4002
4002
|
var _unary__edvuaz = index;
|
|
4003
4003
|
index = _unary__edvuaz + 1 | 0;
|
|
4004
4004
|
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
@@ -4013,7 +4013,7 @@
|
|
|
4013
4013
|
null;
|
|
4014
4014
|
else {
|
|
4015
4015
|
// Inline function 'kotlin.let' call
|
|
4016
|
-
destination.
|
|
4016
|
+
destination.a1(tmp0_safe_receiver);
|
|
4017
4017
|
}
|
|
4018
4018
|
}
|
|
4019
4019
|
return single(destination);
|
|
@@ -4024,7 +4024,7 @@
|
|
|
4024
4024
|
if (previousItemIndex < 0) {
|
|
4025
4025
|
tmp = null;
|
|
4026
4026
|
} else {
|
|
4027
|
-
tmp = _this__u8e3s4.
|
|
4027
|
+
tmp = _this__u8e3s4.d1(previousItemIndex);
|
|
4028
4028
|
}
|
|
4029
4029
|
return tmp;
|
|
4030
4030
|
}
|
|
@@ -4034,12 +4034,12 @@
|
|
|
4034
4034
|
if (nextItemIndex > get_lastIndex(_this__u8e3s4)) {
|
|
4035
4035
|
tmp = null;
|
|
4036
4036
|
} else {
|
|
4037
|
-
tmp = _this__u8e3s4.
|
|
4037
|
+
tmp = _this__u8e3s4.d1(nextItemIndex);
|
|
4038
4038
|
}
|
|
4039
4039
|
return tmp;
|
|
4040
4040
|
}
|
|
4041
4041
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4042
|
-
return $this.
|
|
4042
|
+
return $this.g1v_1.j2();
|
|
4043
4043
|
}
|
|
4044
4044
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
4045
4045
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -4079,13 +4079,13 @@
|
|
|
4079
4079
|
Companion_instance_19 = this;
|
|
4080
4080
|
var tmp = this;
|
|
4081
4081
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4082
|
-
tmp.
|
|
4082
|
+
tmp.g1v_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
4083
4083
|
}
|
|
4084
|
-
protoOf(Companion_19).
|
|
4084
|
+
protoOf(Companion_19).n17 = function () {
|
|
4085
4085
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
4086
4086
|
};
|
|
4087
|
-
protoOf(Companion_19).
|
|
4088
|
-
return this.
|
|
4087
|
+
protoOf(Companion_19).mv = function (typeParamsSerializers) {
|
|
4088
|
+
return this.n17();
|
|
4089
4089
|
};
|
|
4090
4090
|
var Companion_instance_19;
|
|
4091
4091
|
function Companion_getInstance_22() {
|
|
@@ -4133,7 +4133,7 @@
|
|
|
4133
4133
|
function ObservableLoggerOutput() {
|
|
4134
4134
|
}
|
|
4135
4135
|
function LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy() {
|
|
4136
|
-
return Companion_getInstance_22().
|
|
4136
|
+
return Companion_getInstance_22().n17();
|
|
4137
4137
|
}
|
|
4138
4138
|
function Companion_20() {
|
|
4139
4139
|
Companion_instance_20 = this;
|
|
@@ -4142,11 +4142,8 @@
|
|
|
4142
4142
|
// Inline function 'kotlin.arrayOf' call
|
|
4143
4143
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4144
4144
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4145
|
-
tmp.
|
|
4145
|
+
tmp.m1v_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
|
|
4146
4146
|
}
|
|
4147
|
-
protoOf(Companion_20).c18 = function () {
|
|
4148
|
-
return $serializer_getInstance_10();
|
|
4149
|
-
};
|
|
4150
4147
|
var Companion_instance_20;
|
|
4151
4148
|
function Companion_getInstance_23() {
|
|
4152
4149
|
if (Companion_instance_20 == null)
|
|
@@ -4156,29 +4153,29 @@
|
|
|
4156
4153
|
function $serializer_10() {
|
|
4157
4154
|
$serializer_instance_10 = this;
|
|
4158
4155
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
4159
|
-
tmp0_serialDesc.
|
|
4160
|
-
tmp0_serialDesc.
|
|
4161
|
-
tmp0_serialDesc.
|
|
4162
|
-
tmp0_serialDesc.
|
|
4163
|
-
tmp0_serialDesc.
|
|
4164
|
-
this.
|
|
4165
|
-
}
|
|
4166
|
-
protoOf($serializer_10).
|
|
4167
|
-
var tmp0_desc = this.
|
|
4168
|
-
var tmp1_output = encoder.
|
|
4169
|
-
var tmp2_cached = Companion_getInstance_23().
|
|
4170
|
-
tmp1_output.
|
|
4171
|
-
tmp1_output.
|
|
4172
|
-
tmp1_output.
|
|
4173
|
-
tmp1_output.
|
|
4174
|
-
tmp1_output.
|
|
4175
|
-
tmp1_output.
|
|
4176
|
-
};
|
|
4177
|
-
protoOf($serializer_10).
|
|
4178
|
-
return this.
|
|
4179
|
-
};
|
|
4180
|
-
protoOf($serializer_10).
|
|
4181
|
-
var tmp0_desc = this.
|
|
4156
|
+
tmp0_serialDesc.ku('type', false);
|
|
4157
|
+
tmp0_serialDesc.ku('key', false);
|
|
4158
|
+
tmp0_serialDesc.ku('tag', false);
|
|
4159
|
+
tmp0_serialDesc.ku('message', false);
|
|
4160
|
+
tmp0_serialDesc.ku('stackTrace', false);
|
|
4161
|
+
this.n1v_1 = tmp0_serialDesc;
|
|
4162
|
+
}
|
|
4163
|
+
protoOf($serializer_10).o1v = function (encoder, value) {
|
|
4164
|
+
var tmp0_desc = this.n1v_1;
|
|
4165
|
+
var tmp1_output = encoder.um(tmp0_desc);
|
|
4166
|
+
var tmp2_cached = Companion_getInstance_23().m1v_1;
|
|
4167
|
+
tmp1_output.lo(tmp0_desc, 0, tmp2_cached[0].j2(), value.type);
|
|
4168
|
+
tmp1_output.no(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
4169
|
+
tmp1_output.no(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
4170
|
+
tmp1_output.no(tmp0_desc, 3, StringSerializer_getInstance(), value.message);
|
|
4171
|
+
tmp1_output.no(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
4172
|
+
tmp1_output.vm(tmp0_desc);
|
|
4173
|
+
};
|
|
4174
|
+
protoOf($serializer_10).mj = function (encoder, value) {
|
|
4175
|
+
return this.o1v(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
4176
|
+
};
|
|
4177
|
+
protoOf($serializer_10).nj = function (decoder) {
|
|
4178
|
+
var tmp0_desc = this.n1v_1;
|
|
4182
4179
|
var tmp1_flag = true;
|
|
4183
4180
|
var tmp2_index = 0;
|
|
4184
4181
|
var tmp3_bitMask0 = 0;
|
|
@@ -4187,61 +4184,61 @@
|
|
|
4187
4184
|
var tmp6_local2 = null;
|
|
4188
4185
|
var tmp7_local3 = null;
|
|
4189
4186
|
var tmp8_local4 = null;
|
|
4190
|
-
var tmp9_input = decoder.
|
|
4191
|
-
var tmp10_cached = Companion_getInstance_23().
|
|
4192
|
-
if (tmp9_input.
|
|
4193
|
-
tmp4_local0 = tmp9_input.
|
|
4187
|
+
var tmp9_input = decoder.um(tmp0_desc);
|
|
4188
|
+
var tmp10_cached = Companion_getInstance_23().m1v_1;
|
|
4189
|
+
if (tmp9_input.kn()) {
|
|
4190
|
+
tmp4_local0 = tmp9_input.gn(tmp0_desc, 0, tmp10_cached[0].j2(), tmp4_local0);
|
|
4194
4191
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4195
|
-
tmp5_local1 = tmp9_input.
|
|
4192
|
+
tmp5_local1 = tmp9_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4196
4193
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4197
|
-
tmp6_local2 = tmp9_input.
|
|
4194
|
+
tmp6_local2 = tmp9_input.in(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4198
4195
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4199
|
-
tmp7_local3 = tmp9_input.
|
|
4196
|
+
tmp7_local3 = tmp9_input.in(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4200
4197
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4201
|
-
tmp8_local4 = tmp9_input.
|
|
4198
|
+
tmp8_local4 = tmp9_input.in(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4202
4199
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4203
4200
|
} else
|
|
4204
4201
|
while (tmp1_flag) {
|
|
4205
|
-
tmp2_index = tmp9_input.
|
|
4202
|
+
tmp2_index = tmp9_input.ln(tmp0_desc);
|
|
4206
4203
|
switch (tmp2_index) {
|
|
4207
4204
|
case -1:
|
|
4208
4205
|
tmp1_flag = false;
|
|
4209
4206
|
break;
|
|
4210
4207
|
case 0:
|
|
4211
|
-
tmp4_local0 = tmp9_input.
|
|
4208
|
+
tmp4_local0 = tmp9_input.gn(tmp0_desc, 0, tmp10_cached[0].j2(), tmp4_local0);
|
|
4212
4209
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4213
4210
|
break;
|
|
4214
4211
|
case 1:
|
|
4215
|
-
tmp5_local1 = tmp9_input.
|
|
4212
|
+
tmp5_local1 = tmp9_input.in(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4216
4213
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4217
4214
|
break;
|
|
4218
4215
|
case 2:
|
|
4219
|
-
tmp6_local2 = tmp9_input.
|
|
4216
|
+
tmp6_local2 = tmp9_input.in(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4220
4217
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4221
4218
|
break;
|
|
4222
4219
|
case 3:
|
|
4223
|
-
tmp7_local3 = tmp9_input.
|
|
4220
|
+
tmp7_local3 = tmp9_input.in(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4224
4221
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4225
4222
|
break;
|
|
4226
4223
|
case 4:
|
|
4227
|
-
tmp8_local4 = tmp9_input.
|
|
4224
|
+
tmp8_local4 = tmp9_input.in(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4228
4225
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4229
4226
|
break;
|
|
4230
4227
|
default:
|
|
4231
4228
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
4232
4229
|
}
|
|
4233
4230
|
}
|
|
4234
|
-
tmp9_input.
|
|
4231
|
+
tmp9_input.vm(tmp0_desc);
|
|
4235
4232
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4236
4233
|
};
|
|
4237
|
-
protoOf($serializer_10).
|
|
4238
|
-
return this.
|
|
4234
|
+
protoOf($serializer_10).lj = function () {
|
|
4235
|
+
return this.n1v_1;
|
|
4239
4236
|
};
|
|
4240
|
-
protoOf($serializer_10).
|
|
4237
|
+
protoOf($serializer_10).bv = function () {
|
|
4241
4238
|
// Inline function 'kotlin.arrayOf' call
|
|
4242
4239
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4243
4240
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4244
|
-
return [Companion_getInstance_23().
|
|
4241
|
+
return [Companion_getInstance_23().m1v_1[0].j2(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4245
4242
|
};
|
|
4246
4243
|
var $serializer_instance_10;
|
|
4247
4244
|
function $serializer_getInstance_10() {
|
|
@@ -4251,7 +4248,7 @@
|
|
|
4251
4248
|
}
|
|
4252
4249
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4253
4250
|
if (!(31 === (31 & seen0))) {
|
|
4254
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4251
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().n1v_1);
|
|
4255
4252
|
}
|
|
4256
4253
|
$this.type = type;
|
|
4257
4254
|
$this.key = key;
|
|
@@ -4271,23 +4268,23 @@
|
|
|
4271
4268
|
this.message = message;
|
|
4272
4269
|
this.stackTrace = stackTrace;
|
|
4273
4270
|
}
|
|
4274
|
-
protoOf(LoggerOutputDataDto).
|
|
4271
|
+
protoOf(LoggerOutputDataDto).p1v = function () {
|
|
4275
4272
|
return this.type;
|
|
4276
4273
|
};
|
|
4277
|
-
protoOf(LoggerOutputDataDto).
|
|
4274
|
+
protoOf(LoggerOutputDataDto).i2 = function () {
|
|
4278
4275
|
return this.key;
|
|
4279
4276
|
};
|
|
4280
|
-
protoOf(LoggerOutputDataDto).
|
|
4277
|
+
protoOf(LoggerOutputDataDto).e1p = function () {
|
|
4281
4278
|
return this.tag;
|
|
4282
4279
|
};
|
|
4283
4280
|
protoOf(LoggerOutputDataDto).e = function () {
|
|
4284
4281
|
return this.message;
|
|
4285
4282
|
};
|
|
4286
|
-
protoOf(LoggerOutputDataDto).
|
|
4283
|
+
protoOf(LoggerOutputDataDto).q1v = function () {
|
|
4287
4284
|
return this.stackTrace;
|
|
4288
4285
|
};
|
|
4289
4286
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
4290
|
-
var time = toLocalDateTime(System_instance.
|
|
4287
|
+
var time = toLocalDateTime(System_instance.jf(), Companion_getInstance_1().u1n());
|
|
4291
4288
|
var tmp = time.toString();
|
|
4292
4289
|
// Inline function 'kotlin.text.lowercase' call
|
|
4293
4290
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -4325,22 +4322,22 @@
|
|
|
4325
4322
|
var tmp$ret$9 = tmp_5;
|
|
4326
4323
|
return joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp$ret$9]), ' ');
|
|
4327
4324
|
};
|
|
4328
|
-
protoOf(LoggerOutputDataDto).
|
|
4325
|
+
protoOf(LoggerOutputDataDto).pc = function () {
|
|
4329
4326
|
return this.type;
|
|
4330
4327
|
};
|
|
4331
|
-
protoOf(LoggerOutputDataDto).
|
|
4328
|
+
protoOf(LoggerOutputDataDto).qc = function () {
|
|
4332
4329
|
return this.key;
|
|
4333
4330
|
};
|
|
4334
|
-
protoOf(LoggerOutputDataDto).
|
|
4331
|
+
protoOf(LoggerOutputDataDto).lh = function () {
|
|
4335
4332
|
return this.tag;
|
|
4336
4333
|
};
|
|
4337
|
-
protoOf(LoggerOutputDataDto).
|
|
4334
|
+
protoOf(LoggerOutputDataDto).e16 = function () {
|
|
4338
4335
|
return this.message;
|
|
4339
4336
|
};
|
|
4340
|
-
protoOf(LoggerOutputDataDto).
|
|
4337
|
+
protoOf(LoggerOutputDataDto).y1p = function () {
|
|
4341
4338
|
return this.stackTrace;
|
|
4342
4339
|
};
|
|
4343
|
-
protoOf(LoggerOutputDataDto).
|
|
4340
|
+
protoOf(LoggerOutputDataDto).r1v = function (type, key, tag, message, stackTrace) {
|
|
4344
4341
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4345
4342
|
};
|
|
4346
4343
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4349,7 +4346,7 @@
|
|
|
4349
4346
|
tag = tag === VOID ? this.tag : tag;
|
|
4350
4347
|
message = message === VOID ? this.message : message;
|
|
4351
4348
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4352
|
-
return $super === VOID ? this.
|
|
4349
|
+
return $super === VOID ? this.r1v(type, key, tag, message, stackTrace) : $super.r1v.call(this, type, key, tag, message, stackTrace);
|
|
4353
4350
|
};
|
|
4354
4351
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4355
4352
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4398,63 +4395,63 @@
|
|
|
4398
4395
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4399
4396
|
var tmp_0 = item[0];
|
|
4400
4397
|
var tmp$ret$0 = to((!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : THROW_CCE(), item[1]);
|
|
4401
|
-
destination.
|
|
4398
|
+
destination.a1(tmp$ret$0);
|
|
4402
4399
|
}
|
|
4403
4400
|
return destination;
|
|
4404
4401
|
}
|
|
4405
4402
|
//region block: post-declaration
|
|
4406
|
-
protoOf($serializer).
|
|
4407
|
-
protoOf($serializer_0).
|
|
4408
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
4403
|
+
protoOf($serializer).cv = typeParametersSerializers;
|
|
4404
|
+
protoOf($serializer_0).cv = typeParametersSerializers;
|
|
4405
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).z1o);
|
|
4409
4406
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4410
|
-
return this.
|
|
4407
|
+
return this.d1p();
|
|
4411
4408
|
});
|
|
4412
4409
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4413
|
-
return this.
|
|
4410
|
+
return this.d1p();
|
|
4414
4411
|
});
|
|
4415
4412
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4416
|
-
return this.
|
|
4413
|
+
return this.d1p();
|
|
4417
4414
|
});
|
|
4418
|
-
defineProp(protoOf(Reason), 'name', protoOf(Reason).
|
|
4419
|
-
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).
|
|
4420
|
-
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).
|
|
4421
|
-
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).
|
|
4415
|
+
defineProp(protoOf(Reason), 'name', protoOf(Reason).m);
|
|
4416
|
+
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).y2);
|
|
4417
|
+
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).m);
|
|
4418
|
+
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).y2);
|
|
4422
4419
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4423
|
-
return this.
|
|
4420
|
+
return this.d1p();
|
|
4424
4421
|
});
|
|
4425
4422
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4426
|
-
return this.
|
|
4423
|
+
return this.d1p();
|
|
4427
4424
|
});
|
|
4428
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4429
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4430
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4431
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4432
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).
|
|
4433
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4434
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4435
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4436
|
-
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).
|
|
4437
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).
|
|
4438
|
-
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).
|
|
4439
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4440
|
-
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).
|
|
4441
|
-
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).
|
|
4442
|
-
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).
|
|
4443
|
-
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).
|
|
4444
|
-
defineProp(protoOf(Team), 'first', protoOf(Team).
|
|
4445
|
-
defineProp(protoOf(Team), 'second', protoOf(Team).
|
|
4446
|
-
protoOf($serializer_1).
|
|
4447
|
-
protoOf($serializer_2).
|
|
4448
|
-
protoOf($serializer_3).
|
|
4449
|
-
protoOf($serializer_4).
|
|
4450
|
-
protoOf($serializer_5).
|
|
4451
|
-
protoOf($serializer_6).
|
|
4452
|
-
protoOf($serializer_7).
|
|
4453
|
-
protoOf($serializer_8).
|
|
4454
|
-
protoOf($serializer_9).
|
|
4455
|
-
defineProp(protoOf(LogType), 'name', protoOf(LogType).
|
|
4456
|
-
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).
|
|
4457
|
-
protoOf($serializer_10).
|
|
4425
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).a1r);
|
|
4426
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).b1r);
|
|
4427
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).c1r);
|
|
4428
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).d1r);
|
|
4429
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeftPermanently', protoOf(PlayerConnectionState).e1r);
|
|
4430
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).f1r);
|
|
4431
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).g1r);
|
|
4432
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).h1r);
|
|
4433
|
+
defineProp(protoOf(PlayerConnectionState), 'isVisibleDisconnectedReason', protoOf(PlayerConnectionState).i1r);
|
|
4434
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionState).j1r);
|
|
4435
|
+
defineProp(protoOf(PlayerConnectionState), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionState).k1r);
|
|
4436
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).l1r);
|
|
4437
|
+
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).m1r);
|
|
4438
|
+
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).n1r);
|
|
4439
|
+
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).m);
|
|
4440
|
+
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).y2);
|
|
4441
|
+
defineProp(protoOf(Team), 'first', protoOf(Team).oh);
|
|
4442
|
+
defineProp(protoOf(Team), 'second', protoOf(Team).ph);
|
|
4443
|
+
protoOf($serializer_1).cv = typeParametersSerializers;
|
|
4444
|
+
protoOf($serializer_2).cv = typeParametersSerializers;
|
|
4445
|
+
protoOf($serializer_3).cv = typeParametersSerializers;
|
|
4446
|
+
protoOf($serializer_4).cv = typeParametersSerializers;
|
|
4447
|
+
protoOf($serializer_5).cv = typeParametersSerializers;
|
|
4448
|
+
protoOf($serializer_6).cv = typeParametersSerializers;
|
|
4449
|
+
protoOf($serializer_7).cv = typeParametersSerializers;
|
|
4450
|
+
protoOf($serializer_8).cv = typeParametersSerializers;
|
|
4451
|
+
protoOf($serializer_9).cv = typeParametersSerializers;
|
|
4452
|
+
defineProp(protoOf(LogType), 'name', protoOf(LogType).m);
|
|
4453
|
+
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).y2);
|
|
4454
|
+
protoOf($serializer_10).cv = typeParametersSerializers;
|
|
4458
4455
|
//endregion
|
|
4459
4456
|
//region block: init
|
|
4460
4457
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
@@ -4499,7 +4496,6 @@
|
|
|
4499
4496
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'NO_ACTIVE_PLAYERS', Reason_NO_ACTIVE_PLAYERS_getInstance, VOID, true);
|
|
4500
4497
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'REVENGED', Reason_REVENGED_getInstance, VOID, true);
|
|
4501
4498
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance, VOID, true);
|
|
4502
|
-
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_6, VOID, true);
|
|
4503
4499
|
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
4504
4500
|
$com$logic$data$models.GameErrorReason.Reason = Reason_0;
|
|
4505
4501
|
$com$logic$data$models.GameErrorReason.Reason.values = values_0;
|
|
@@ -4510,7 +4506,6 @@
|
|
|
4510
4506
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'WRONG_PLAYER_TURN', Reason_WRONG_PLAYER_TURN_getInstance, VOID, true);
|
|
4511
4507
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'DUPLICATED_PLAYER_ANSWER', Reason_DUPLICATED_PLAYER_ANSWER_getInstance, VOID, true);
|
|
4512
4508
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'PLAYER_DISCONNECTED', Reason_PLAYER_DISCONNECTED_getInstance, VOID, true);
|
|
4513
|
-
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion', Companion_getInstance_7, VOID, true);
|
|
4514
4509
|
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance, VOID, true);
|
|
4515
4510
|
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance, VOID, true);
|
|
4516
4511
|
var $com = _.com || (_.com = {});
|
|
@@ -4542,7 +4537,6 @@
|
|
|
4542
4537
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT_PERMANENTLY', PlayerConnectionState_LEFT_PERMANENTLY_getInstance, VOID, true);
|
|
4543
4538
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DISCONNECTING', PlayerConnectionState_DISCONNECTING_getInstance, VOID, true);
|
|
4544
4539
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DELETED', PlayerConnectionState_DELETED_getInstance, VOID, true);
|
|
4545
|
-
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion', Companion_getInstance_9, VOID, true);
|
|
4546
4540
|
var $com = _.com || (_.com = {});
|
|
4547
4541
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4548
4542
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -4591,14 +4585,12 @@
|
|
|
4591
4585
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance, VOID, true);
|
|
4592
4586
|
defineProp($com$logic$utils$logger$outputs.LogType, 'VERBOSE', LogType_VERBOSE_getInstance, VOID, true);
|
|
4593
4587
|
defineProp($com$logic$utils$logger$outputs.LogType, 'INFO', LogType_INFO_getInstance, VOID, true);
|
|
4594
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_22, VOID, true);
|
|
4595
4588
|
var $com = _.com || (_.com = {});
|
|
4596
4589
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4597
4590
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
4598
4591
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
4599
4592
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
4600
4593
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
4601
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_23, VOID, true);
|
|
4602
4594
|
}
|
|
4603
4595
|
$jsExportAll$(_);
|
|
4604
4596
|
_.$jsExportAll$ = $jsExportAll$;
|