raspberry_games_engine_helpers 1.8.248 → 1.8.250
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 +76 -76
- package/Kosi-Kodein-kodein-di.js +550 -550
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1452 -1452
- package/Logic_Debertz-core.js +944 -902
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +62 -22
- package/Logic_Debertz-engine.js +10114 -8843
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +865 -699
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +15 -15
- package/kotlinx-serialization-kotlinx-serialization-core.js +1938 -1938
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1420 -1420
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +50 -50
- package/raspberry-cardgame-lib-logger.js +30 -30
- package/raspberry-cardgame-lib-random.js +61 -61
package/Logic_Debertz-core.js
CHANGED
|
@@ -28,62 +28,62 @@
|
|
|
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.$_$.p9;
|
|
32
|
+
var initMetadataForObject = kotlin_kotlin.$_$.x8;
|
|
33
|
+
var defineProp = kotlin_kotlin.$_$.k8;
|
|
34
34
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
35
35
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
36
36
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
37
37
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
38
|
-
var lazy = kotlin_kotlin.$_$.
|
|
38
|
+
var lazy = kotlin_kotlin.$_$.bd;
|
|
39
39
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
40
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.t8;
|
|
41
41
|
var VOID = kotlin_kotlin.$_$.f;
|
|
42
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
42
|
+
var initMetadataForClass = kotlin_kotlin.$_$.s8;
|
|
43
43
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
44
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
44
|
+
var THROW_CCE = kotlin_kotlin.$_$.ic;
|
|
45
45
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
46
46
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
47
47
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v1;
|
|
48
48
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
49
49
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
50
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
51
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
52
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
53
|
-
var replace = kotlin_kotlin.$_$.
|
|
50
|
+
var Unit_instance = kotlin_kotlin.$_$.k4;
|
|
51
|
+
var objectCreate = kotlin_kotlin.$_$.o9;
|
|
52
|
+
var getStringHashCode = kotlin_kotlin.$_$.q8;
|
|
53
|
+
var replace = kotlin_kotlin.$_$.ya;
|
|
54
54
|
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
55
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
56
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
55
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.n8;
|
|
56
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.v8;
|
|
57
57
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
58
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
59
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
60
|
-
var Enum = kotlin_kotlin.$_$.
|
|
61
|
-
var Exception = kotlin_kotlin.$_$.
|
|
58
|
+
var THROW_IAE = kotlin_kotlin.$_$.jc;
|
|
59
|
+
var enumEntries = kotlin_kotlin.$_$.a8;
|
|
60
|
+
var Enum = kotlin_kotlin.$_$.bc;
|
|
61
|
+
var Exception = kotlin_kotlin.$_$.cc;
|
|
62
62
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.b1;
|
|
63
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
64
|
-
var toString = kotlin_kotlin.$_$.
|
|
65
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
66
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
67
|
-
var getNumberHashCode = kotlin_kotlin.$_$.
|
|
68
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
69
|
-
var equals = kotlin_kotlin.$_$.
|
|
70
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
63
|
+
var captureStack = kotlin_kotlin.$_$.e8;
|
|
64
|
+
var toString = kotlin_kotlin.$_$.hd;
|
|
65
|
+
var listOfNotNull = kotlin_kotlin.$_$.u6;
|
|
66
|
+
var joinToString = kotlin_kotlin.$_$.m6;
|
|
67
|
+
var getNumberHashCode = kotlin_kotlin.$_$.o8;
|
|
68
|
+
var hashCode = kotlin_kotlin.$_$.r8;
|
|
69
|
+
var equals = kotlin_kotlin.$_$.l8;
|
|
70
|
+
var toString_0 = kotlin_kotlin.$_$.t9;
|
|
71
71
|
var System_instance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
72
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
73
|
-
var Duration = kotlin_kotlin.$_$.
|
|
72
|
+
var Companion_getInstance = kotlin_kotlin.$_$.b4;
|
|
73
|
+
var Duration = kotlin_kotlin.$_$.qb;
|
|
74
74
|
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.w1;
|
|
75
75
|
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.s1;
|
|
76
|
-
var round = kotlin_kotlin.$_$.
|
|
77
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
76
|
+
var round = kotlin_kotlin.$_$.u9;
|
|
77
|
+
var numberToInt = kotlin_kotlin.$_$.m9;
|
|
78
78
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.y1;
|
|
79
79
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.r1;
|
|
80
80
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
81
81
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
82
82
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
83
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
84
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
85
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
86
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
83
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.dd;
|
|
84
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.f5;
|
|
85
|
+
var mapCapacity = kotlin_kotlin.$_$.x6;
|
|
86
|
+
var coerceAtLeast = kotlin_kotlin.$_$.w9;
|
|
87
87
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
88
88
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
89
89
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
@@ -91,14 +91,19 @@
|
|
|
91
91
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
92
92
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
93
93
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
94
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
95
|
-
var single = kotlin_kotlin.$_$.
|
|
96
|
-
var
|
|
94
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.e5;
|
|
95
|
+
var single = kotlin_kotlin.$_$.i7;
|
|
96
|
+
var get_lastIndex = kotlin_kotlin.$_$.p6;
|
|
97
|
+
var copyToArray = kotlin_kotlin.$_$.t5;
|
|
97
98
|
var LoggerOutput = kotlin_io_raspberryapps_cardgame_logger.$_$.a;
|
|
98
99
|
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.b;
|
|
99
100
|
var Companion_getInstance_0 = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.d;
|
|
100
101
|
var toLocalDateTime = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.f;
|
|
101
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
102
|
+
var charSequenceLength = kotlin_kotlin.$_$.h8;
|
|
103
|
+
var toMap = kotlin_kotlin.$_$.r7;
|
|
104
|
+
var emptyList = kotlin_kotlin.$_$.w5;
|
|
105
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
106
|
+
var to = kotlin_kotlin.$_$.id;
|
|
102
107
|
//endregion
|
|
103
108
|
//region block: pre-declaration
|
|
104
109
|
initMetadataForObject(GameEngineConfig, 'GameEngineConfig');
|
|
@@ -190,7 +195,7 @@
|
|
|
190
195
|
tmp = types;
|
|
191
196
|
}
|
|
192
197
|
types = tmp;
|
|
193
|
-
return this.
|
|
198
|
+
return this.k2b(types);
|
|
194
199
|
}
|
|
195
200
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
196
201
|
initMetadataForCompanion(Companion_17);
|
|
@@ -198,9 +203,9 @@
|
|
|
198
203
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
199
204
|
//endregion
|
|
200
205
|
function GameEngineConfig() {
|
|
201
|
-
this.version = '1.8.
|
|
206
|
+
this.version = '1.8.250';
|
|
202
207
|
}
|
|
203
|
-
protoOf(GameEngineConfig).
|
|
208
|
+
protoOf(GameEngineConfig).e25 = function () {
|
|
204
209
|
return this.version;
|
|
205
210
|
};
|
|
206
211
|
var GameEngineConfig_instance;
|
|
@@ -208,7 +213,7 @@
|
|
|
208
213
|
return GameEngineConfig_instance;
|
|
209
214
|
}
|
|
210
215
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
211
|
-
return $this.
|
|
216
|
+
return $this.s25_1.a2();
|
|
212
217
|
}
|
|
213
218
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
214
219
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -236,13 +241,13 @@
|
|
|
236
241
|
Companion_instance = this;
|
|
237
242
|
var tmp = this;
|
|
238
243
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
239
|
-
tmp.
|
|
244
|
+
tmp.s25_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
240
245
|
}
|
|
241
|
-
protoOf(Companion).
|
|
246
|
+
protoOf(Companion).o17 = function () {
|
|
242
247
|
return _get_$cachedSerializer__te6jhj(this);
|
|
243
248
|
};
|
|
244
|
-
protoOf(Companion).
|
|
245
|
-
return this.
|
|
249
|
+
protoOf(Companion).xv = function (typeParamsSerializers) {
|
|
250
|
+
return this.o17();
|
|
246
251
|
};
|
|
247
252
|
var Companion_instance;
|
|
248
253
|
function Companion_getInstance_1() {
|
|
@@ -265,50 +270,50 @@
|
|
|
265
270
|
function $serializer() {
|
|
266
271
|
$serializer_instance = this;
|
|
267
272
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
268
|
-
tmp0_serialDesc.
|
|
269
|
-
this.
|
|
273
|
+
tmp0_serialDesc.xu('playerId', false);
|
|
274
|
+
this.t25_1 = tmp0_serialDesc;
|
|
270
275
|
}
|
|
271
|
-
protoOf($serializer).
|
|
272
|
-
var tmp0_desc = this.
|
|
273
|
-
var tmp1_output = encoder.
|
|
274
|
-
tmp1_output.
|
|
275
|
-
tmp1_output.
|
|
276
|
+
protoOf($serializer).u25 = function (encoder, value) {
|
|
277
|
+
var tmp0_desc = this.t25_1;
|
|
278
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
279
|
+
tmp1_output.wo(tmp0_desc, 0, value.v25_1);
|
|
280
|
+
tmp1_output.in(tmp0_desc);
|
|
276
281
|
};
|
|
277
|
-
protoOf($serializer).
|
|
278
|
-
return this.
|
|
282
|
+
protoOf($serializer).zj = function (encoder, value) {
|
|
283
|
+
return this.u25(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
279
284
|
};
|
|
280
|
-
protoOf($serializer).
|
|
281
|
-
var tmp0_desc = this.
|
|
285
|
+
protoOf($serializer).ak = function (decoder) {
|
|
286
|
+
var tmp0_desc = this.t25_1;
|
|
282
287
|
var tmp1_flag = true;
|
|
283
288
|
var tmp2_index = 0;
|
|
284
289
|
var tmp3_bitMask0 = 0;
|
|
285
290
|
var tmp4_local0 = null;
|
|
286
|
-
var tmp5_input = decoder.
|
|
287
|
-
if (tmp5_input.
|
|
288
|
-
tmp4_local0 = tmp5_input.
|
|
291
|
+
var tmp5_input = decoder.hn(tmp0_desc);
|
|
292
|
+
if (tmp5_input.xn()) {
|
|
293
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
289
294
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
290
295
|
} else
|
|
291
296
|
while (tmp1_flag) {
|
|
292
|
-
tmp2_index = tmp5_input.
|
|
297
|
+
tmp2_index = tmp5_input.yn(tmp0_desc);
|
|
293
298
|
switch (tmp2_index) {
|
|
294
299
|
case -1:
|
|
295
300
|
tmp1_flag = false;
|
|
296
301
|
break;
|
|
297
302
|
case 0:
|
|
298
|
-
tmp4_local0 = tmp5_input.
|
|
303
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
299
304
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
300
305
|
break;
|
|
301
306
|
default:
|
|
302
307
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
303
308
|
}
|
|
304
309
|
}
|
|
305
|
-
tmp5_input.
|
|
310
|
+
tmp5_input.in(tmp0_desc);
|
|
306
311
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
307
312
|
};
|
|
308
|
-
protoOf($serializer).
|
|
309
|
-
return this.
|
|
313
|
+
protoOf($serializer).yj = function () {
|
|
314
|
+
return this.t25_1;
|
|
310
315
|
};
|
|
311
|
-
protoOf($serializer).
|
|
316
|
+
protoOf($serializer).mv = function () {
|
|
312
317
|
// Inline function 'kotlin.arrayOf' call
|
|
313
318
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
314
319
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -322,10 +327,10 @@
|
|
|
322
327
|
}
|
|
323
328
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
324
329
|
if (!(1 === (1 & seen0))) {
|
|
325
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
330
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().t25_1);
|
|
326
331
|
}
|
|
327
332
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
328
|
-
$this.
|
|
333
|
+
$this.v25_1 = playerId;
|
|
329
334
|
return $this;
|
|
330
335
|
}
|
|
331
336
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -333,13 +338,13 @@
|
|
|
333
338
|
}
|
|
334
339
|
function PlayerReturnsReason(playerId) {
|
|
335
340
|
ContinueGameReason.call(this);
|
|
336
|
-
this.
|
|
341
|
+
this.v25_1 = playerId;
|
|
337
342
|
}
|
|
338
343
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
339
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
344
|
+
return 'PlayerReturnsReason(playerId=' + this.v25_1 + ')';
|
|
340
345
|
};
|
|
341
346
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
342
|
-
return getStringHashCode(this.
|
|
347
|
+
return getStringHashCode(this.v25_1);
|
|
343
348
|
};
|
|
344
349
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
345
350
|
if (this === other)
|
|
@@ -347,12 +352,12 @@
|
|
|
347
352
|
if (!(other instanceof PlayerReturnsReason))
|
|
348
353
|
return false;
|
|
349
354
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
350
|
-
if (!(this.
|
|
355
|
+
if (!(this.v25_1 === tmp0_other_with_cast.v25_1))
|
|
351
356
|
return false;
|
|
352
357
|
return true;
|
|
353
358
|
};
|
|
354
359
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
355
|
-
return $this.
|
|
360
|
+
return $this.w25_1.a2();
|
|
356
361
|
}
|
|
357
362
|
function RestartRoundReason$_anonymous__2hwtqk() {
|
|
358
363
|
var tmp = RestartRoundReason_getInstance();
|
|
@@ -367,13 +372,13 @@
|
|
|
367
372
|
ContinueGameReason.call(this);
|
|
368
373
|
var tmp = this;
|
|
369
374
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
370
|
-
tmp.
|
|
375
|
+
tmp.w25_1 = lazy(tmp_0, RestartRoundReason$_anonymous__2hwtqk);
|
|
371
376
|
}
|
|
372
|
-
protoOf(RestartRoundReason).
|
|
377
|
+
protoOf(RestartRoundReason).o17 = function () {
|
|
373
378
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
374
379
|
};
|
|
375
|
-
protoOf(RestartRoundReason).
|
|
376
|
-
return this.
|
|
380
|
+
protoOf(RestartRoundReason).xv = function (typeParamsSerializers) {
|
|
381
|
+
return this.o17();
|
|
377
382
|
};
|
|
378
383
|
protoOf(RestartRoundReason).toString = function () {
|
|
379
384
|
return 'RestartRoundReason';
|
|
@@ -397,12 +402,12 @@
|
|
|
397
402
|
}
|
|
398
403
|
function Companion_1() {
|
|
399
404
|
}
|
|
400
|
-
protoOf(Companion_1).
|
|
405
|
+
protoOf(Companion_1).x25 = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
401
406
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
402
407
|
};
|
|
403
408
|
protoOf(Companion_1).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
404
409
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
405
|
-
return this.
|
|
410
|
+
return this.x25(fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
406
411
|
};
|
|
407
412
|
protoOf(Companion_1).formatter = function (segment, gameId, roomId, userId) {
|
|
408
413
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
@@ -421,19 +426,19 @@
|
|
|
421
426
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
422
427
|
this.fileNameFormat = fileNameFormat;
|
|
423
428
|
}
|
|
424
|
-
protoOf(CoreConfig).
|
|
429
|
+
protoOf(CoreConfig).y25 = function () {
|
|
425
430
|
return this.fileLogsEnabled;
|
|
426
431
|
};
|
|
427
|
-
protoOf(CoreConfig).
|
|
432
|
+
protoOf(CoreConfig).z25 = function () {
|
|
428
433
|
return this.deleteFilesOnClear;
|
|
429
434
|
};
|
|
430
|
-
protoOf(CoreConfig).
|
|
435
|
+
protoOf(CoreConfig).a26 = function () {
|
|
431
436
|
return this.logsDirectoryPath;
|
|
432
437
|
};
|
|
433
|
-
protoOf(CoreConfig).
|
|
438
|
+
protoOf(CoreConfig).b26 = function () {
|
|
434
439
|
return this.fileNameFormat;
|
|
435
440
|
};
|
|
436
|
-
protoOf(CoreConfig).
|
|
441
|
+
protoOf(CoreConfig).c26 = function () {
|
|
437
442
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
438
443
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
439
444
|
};
|
|
@@ -443,13 +448,13 @@
|
|
|
443
448
|
protoOf(CoreConfig).ad = function () {
|
|
444
449
|
return this.deleteFilesOnClear;
|
|
445
450
|
};
|
|
446
|
-
protoOf(CoreConfig).
|
|
451
|
+
protoOf(CoreConfig).dh = function () {
|
|
447
452
|
return this.logsDirectoryPath;
|
|
448
453
|
};
|
|
449
|
-
protoOf(CoreConfig).
|
|
454
|
+
protoOf(CoreConfig).e1x = function () {
|
|
450
455
|
return this.fileNameFormat;
|
|
451
456
|
};
|
|
452
|
-
protoOf(CoreConfig).
|
|
457
|
+
protoOf(CoreConfig).d26 = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
453
458
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
454
459
|
};
|
|
455
460
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -457,7 +462,7 @@
|
|
|
457
462
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
458
463
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
459
464
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
460
|
-
return this.
|
|
465
|
+
return this.d26(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
461
466
|
};
|
|
462
467
|
protoOf(CoreConfig).toString = function () {
|
|
463
468
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -486,7 +491,7 @@
|
|
|
486
491
|
return true;
|
|
487
492
|
};
|
|
488
493
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
489
|
-
return $this.
|
|
494
|
+
return $this.e26_1.a2();
|
|
490
495
|
}
|
|
491
496
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
492
497
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -500,13 +505,13 @@
|
|
|
500
505
|
RestartGameReason_instance = this;
|
|
501
506
|
var tmp = this;
|
|
502
507
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
503
|
-
tmp.
|
|
508
|
+
tmp.e26_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
504
509
|
}
|
|
505
|
-
protoOf(RestartGameReason).
|
|
510
|
+
protoOf(RestartGameReason).o17 = function () {
|
|
506
511
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
507
512
|
};
|
|
508
|
-
protoOf(RestartGameReason).
|
|
509
|
-
return this.
|
|
513
|
+
protoOf(RestartGameReason).xv = function (typeParamsSerializers) {
|
|
514
|
+
return this.o17();
|
|
510
515
|
};
|
|
511
516
|
protoOf(RestartGameReason).toString = function () {
|
|
512
517
|
return 'RestartGameReason';
|
|
@@ -532,37 +537,37 @@
|
|
|
532
537
|
}
|
|
533
538
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
534
539
|
TerminationGameReason.call(this);
|
|
535
|
-
this.
|
|
540
|
+
this.f26_1 = playerId;
|
|
536
541
|
this.tag = tag;
|
|
537
542
|
}
|
|
538
|
-
protoOf(PlayerLostConnectionReason).
|
|
539
|
-
return this.
|
|
543
|
+
protoOf(PlayerLostConnectionReason).g26 = function () {
|
|
544
|
+
return this.f26_1;
|
|
540
545
|
};
|
|
541
|
-
protoOf(PlayerLostConnectionReason).
|
|
546
|
+
protoOf(PlayerLostConnectionReason).h26 = function () {
|
|
542
547
|
return this.tag;
|
|
543
548
|
};
|
|
544
|
-
protoOf(PlayerLostConnectionReason).
|
|
549
|
+
protoOf(PlayerLostConnectionReason).i26 = function () {
|
|
545
550
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
546
551
|
};
|
|
547
552
|
protoOf(PlayerLostConnectionReason).zc = function () {
|
|
548
|
-
return this.
|
|
553
|
+
return this.f26_1;
|
|
549
554
|
};
|
|
550
555
|
protoOf(PlayerLostConnectionReason).ad = function () {
|
|
551
556
|
return this.tag;
|
|
552
557
|
};
|
|
553
|
-
protoOf(PlayerLostConnectionReason).
|
|
558
|
+
protoOf(PlayerLostConnectionReason).j26 = function (playerId, tag) {
|
|
554
559
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
555
560
|
};
|
|
556
561
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
557
|
-
playerId = playerId === VOID ? this.
|
|
562
|
+
playerId = playerId === VOID ? this.f26_1 : playerId;
|
|
558
563
|
tag = tag === VOID ? this.tag : tag;
|
|
559
|
-
return this.
|
|
564
|
+
return this.j26(playerId, tag);
|
|
560
565
|
};
|
|
561
566
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
562
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
567
|
+
return 'PlayerLostConnectionReason(playerId=' + this.f26_1 + ', tag=' + this.tag + ')';
|
|
563
568
|
};
|
|
564
569
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
565
|
-
var result = getStringHashCode(this.
|
|
570
|
+
var result = getStringHashCode(this.f26_1);
|
|
566
571
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
567
572
|
return result;
|
|
568
573
|
};
|
|
@@ -572,7 +577,7 @@
|
|
|
572
577
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
573
578
|
return false;
|
|
574
579
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
575
|
-
if (!(this.
|
|
580
|
+
if (!(this.f26_1 === tmp0_other_with_cast.f26_1))
|
|
576
581
|
return false;
|
|
577
582
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
578
583
|
return false;
|
|
@@ -580,37 +585,37 @@
|
|
|
580
585
|
};
|
|
581
586
|
function PlayerTimeoutReason(playerId, tag) {
|
|
582
587
|
TerminationGameReason.call(this);
|
|
583
|
-
this.
|
|
588
|
+
this.k26_1 = playerId;
|
|
584
589
|
this.tag = tag;
|
|
585
590
|
}
|
|
586
|
-
protoOf(PlayerTimeoutReason).
|
|
587
|
-
return this.
|
|
591
|
+
protoOf(PlayerTimeoutReason).g26 = function () {
|
|
592
|
+
return this.k26_1;
|
|
588
593
|
};
|
|
589
|
-
protoOf(PlayerTimeoutReason).
|
|
594
|
+
protoOf(PlayerTimeoutReason).h26 = function () {
|
|
590
595
|
return this.tag;
|
|
591
596
|
};
|
|
592
|
-
protoOf(PlayerTimeoutReason).
|
|
597
|
+
protoOf(PlayerTimeoutReason).i26 = function () {
|
|
593
598
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
594
599
|
};
|
|
595
600
|
protoOf(PlayerTimeoutReason).zc = function () {
|
|
596
|
-
return this.
|
|
601
|
+
return this.k26_1;
|
|
597
602
|
};
|
|
598
603
|
protoOf(PlayerTimeoutReason).ad = function () {
|
|
599
604
|
return this.tag;
|
|
600
605
|
};
|
|
601
|
-
protoOf(PlayerTimeoutReason).
|
|
606
|
+
protoOf(PlayerTimeoutReason).j26 = function (playerId, tag) {
|
|
602
607
|
return new PlayerTimeoutReason(playerId, tag);
|
|
603
608
|
};
|
|
604
609
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
605
|
-
playerId = playerId === VOID ? this.
|
|
610
|
+
playerId = playerId === VOID ? this.k26_1 : playerId;
|
|
606
611
|
tag = tag === VOID ? this.tag : tag;
|
|
607
|
-
return this.
|
|
612
|
+
return this.j26(playerId, tag);
|
|
608
613
|
};
|
|
609
614
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
610
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
615
|
+
return 'PlayerTimeoutReason(playerId=' + this.k26_1 + ', tag=' + this.tag + ')';
|
|
611
616
|
};
|
|
612
617
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
613
|
-
var result = getStringHashCode(this.
|
|
618
|
+
var result = getStringHashCode(this.k26_1);
|
|
614
619
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
615
620
|
return result;
|
|
616
621
|
};
|
|
@@ -620,7 +625,7 @@
|
|
|
620
625
|
if (!(other instanceof PlayerTimeoutReason))
|
|
621
626
|
return false;
|
|
622
627
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
623
|
-
if (!(this.
|
|
628
|
+
if (!(this.k26_1 === tmp0_other_with_cast.k26_1))
|
|
624
629
|
return false;
|
|
625
630
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
626
631
|
return false;
|
|
@@ -628,29 +633,29 @@
|
|
|
628
633
|
};
|
|
629
634
|
function PlayerExitReason(playerId) {
|
|
630
635
|
TerminationGameReason.call(this);
|
|
631
|
-
this.
|
|
636
|
+
this.l26_1 = playerId;
|
|
632
637
|
}
|
|
633
|
-
protoOf(PlayerExitReason).
|
|
634
|
-
return this.
|
|
638
|
+
protoOf(PlayerExitReason).g26 = function () {
|
|
639
|
+
return this.l26_1;
|
|
635
640
|
};
|
|
636
|
-
protoOf(PlayerExitReason).
|
|
641
|
+
protoOf(PlayerExitReason).i26 = function () {
|
|
637
642
|
return PlayerConnectionState_LEFT_getInstance();
|
|
638
643
|
};
|
|
639
644
|
protoOf(PlayerExitReason).zc = function () {
|
|
640
|
-
return this.
|
|
645
|
+
return this.l26_1;
|
|
641
646
|
};
|
|
642
|
-
protoOf(PlayerExitReason).
|
|
647
|
+
protoOf(PlayerExitReason).m26 = function (playerId) {
|
|
643
648
|
return new PlayerExitReason(playerId);
|
|
644
649
|
};
|
|
645
650
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
646
|
-
playerId = playerId === VOID ? this.
|
|
647
|
-
return this.
|
|
651
|
+
playerId = playerId === VOID ? this.l26_1 : playerId;
|
|
652
|
+
return this.m26(playerId);
|
|
648
653
|
};
|
|
649
654
|
protoOf(PlayerExitReason).toString = function () {
|
|
650
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
655
|
+
return 'PlayerExitReason(playerId=' + this.l26_1 + ')';
|
|
651
656
|
};
|
|
652
657
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
653
|
-
return getStringHashCode(this.
|
|
658
|
+
return getStringHashCode(this.l26_1);
|
|
654
659
|
};
|
|
655
660
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
656
661
|
if (this === other)
|
|
@@ -658,14 +663,14 @@
|
|
|
658
663
|
if (!(other instanceof PlayerExitReason))
|
|
659
664
|
return false;
|
|
660
665
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
661
|
-
if (!(this.
|
|
666
|
+
if (!(this.l26_1 === tmp0_other_with_cast.l26_1))
|
|
662
667
|
return false;
|
|
663
668
|
return true;
|
|
664
669
|
};
|
|
665
670
|
function FinishPlayerReason() {
|
|
666
671
|
}
|
|
667
672
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
668
|
-
return $this.
|
|
673
|
+
return $this.n26_1.a2();
|
|
669
674
|
}
|
|
670
675
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
671
676
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -705,13 +710,13 @@
|
|
|
705
710
|
Companion_instance_2 = this;
|
|
706
711
|
var tmp = this;
|
|
707
712
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
708
|
-
tmp.
|
|
713
|
+
tmp.n26_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
709
714
|
}
|
|
710
|
-
protoOf(Companion_2).
|
|
715
|
+
protoOf(Companion_2).o17 = function () {
|
|
711
716
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
712
717
|
};
|
|
713
|
-
protoOf(Companion_2).
|
|
714
|
-
return this.
|
|
718
|
+
protoOf(Companion_2).xv = function (typeParamsSerializers) {
|
|
719
|
+
return this.o17();
|
|
715
720
|
};
|
|
716
721
|
var Companion_instance_2;
|
|
717
722
|
function Companion_getInstance_4() {
|
|
@@ -760,18 +765,18 @@
|
|
|
760
765
|
TerminationGameReason.call(this);
|
|
761
766
|
this.reason = reason;
|
|
762
767
|
}
|
|
763
|
-
protoOf(GameFinishedReason).
|
|
768
|
+
protoOf(GameFinishedReason).q26 = function () {
|
|
764
769
|
return this.reason;
|
|
765
770
|
};
|
|
766
771
|
protoOf(GameFinishedReason).zc = function () {
|
|
767
772
|
return this.reason;
|
|
768
773
|
};
|
|
769
|
-
protoOf(GameFinishedReason).
|
|
774
|
+
protoOf(GameFinishedReason).r26 = function (reason) {
|
|
770
775
|
return new GameFinishedReason(reason);
|
|
771
776
|
};
|
|
772
777
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
773
778
|
reason = reason === VOID ? this.reason : reason;
|
|
774
|
-
return this.
|
|
779
|
+
return this.r26(reason);
|
|
775
780
|
};
|
|
776
781
|
protoOf(GameFinishedReason).toString = function () {
|
|
777
782
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -790,7 +795,7 @@
|
|
|
790
795
|
return true;
|
|
791
796
|
};
|
|
792
797
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
793
|
-
return $this.
|
|
798
|
+
return $this.s26_1.a2();
|
|
794
799
|
}
|
|
795
800
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
796
801
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -830,13 +835,13 @@
|
|
|
830
835
|
Companion_instance_3 = this;
|
|
831
836
|
var tmp = this;
|
|
832
837
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
833
|
-
tmp.
|
|
838
|
+
tmp.s26_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
834
839
|
}
|
|
835
|
-
protoOf(Companion_3).
|
|
840
|
+
protoOf(Companion_3).o17 = function () {
|
|
836
841
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
837
842
|
};
|
|
838
|
-
protoOf(Companion_3).
|
|
839
|
-
return this.
|
|
843
|
+
protoOf(Companion_3).xv = function (typeParamsSerializers) {
|
|
844
|
+
return this.o17();
|
|
840
845
|
};
|
|
841
846
|
var Companion_instance_3;
|
|
842
847
|
function Companion_getInstance_5() {
|
|
@@ -885,18 +890,18 @@
|
|
|
885
890
|
TerminationGameReason.call(this);
|
|
886
891
|
this.reason = reason;
|
|
887
892
|
}
|
|
888
|
-
protoOf(GameErrorReason).
|
|
893
|
+
protoOf(GameErrorReason).q26 = function () {
|
|
889
894
|
return this.reason;
|
|
890
895
|
};
|
|
891
896
|
protoOf(GameErrorReason).zc = function () {
|
|
892
897
|
return this.reason;
|
|
893
898
|
};
|
|
894
|
-
protoOf(GameErrorReason).
|
|
899
|
+
protoOf(GameErrorReason).v26 = function (reason) {
|
|
895
900
|
return new GameErrorReason(reason);
|
|
896
901
|
};
|
|
897
902
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
898
903
|
reason = reason === VOID ? this.reason : reason;
|
|
899
|
-
return this.
|
|
904
|
+
return this.v26(reason);
|
|
900
905
|
};
|
|
901
906
|
protoOf(GameErrorReason).toString = function () {
|
|
902
907
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -971,33 +976,33 @@
|
|
|
971
976
|
isBot = isBot === VOID ? false : isBot;
|
|
972
977
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
973
978
|
payload = payload === VOID ? null : payload;
|
|
974
|
-
this.
|
|
979
|
+
this.w26_1 = playerId;
|
|
975
980
|
this.name = name;
|
|
976
981
|
this.avatarUrl = avatarUrl;
|
|
977
982
|
this.isBot = isBot;
|
|
978
983
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
979
984
|
this.payload = payload;
|
|
980
985
|
}
|
|
981
|
-
protoOf(GameUserInfo).
|
|
982
|
-
return this.
|
|
986
|
+
protoOf(GameUserInfo).g26 = function () {
|
|
987
|
+
return this.w26_1;
|
|
983
988
|
};
|
|
984
989
|
protoOf(GameUserInfo).k2 = function () {
|
|
985
990
|
return this.name;
|
|
986
991
|
};
|
|
987
|
-
protoOf(GameUserInfo).
|
|
992
|
+
protoOf(GameUserInfo).x26 = function () {
|
|
988
993
|
return this.avatarUrl;
|
|
989
994
|
};
|
|
990
|
-
protoOf(GameUserInfo).
|
|
995
|
+
protoOf(GameUserInfo).y26 = function () {
|
|
991
996
|
return this.isBot;
|
|
992
997
|
};
|
|
993
|
-
protoOf(GameUserInfo).
|
|
998
|
+
protoOf(GameUserInfo).z26 = function () {
|
|
994
999
|
return this.initialLuckyFactor;
|
|
995
1000
|
};
|
|
996
|
-
protoOf(GameUserInfo).
|
|
1001
|
+
protoOf(GameUserInfo).a27 = function () {
|
|
997
1002
|
return this.payload;
|
|
998
1003
|
};
|
|
999
1004
|
protoOf(GameUserInfo).toString = function () {
|
|
1000
|
-
var tmp = 'playerId=' + this.
|
|
1005
|
+
var tmp = 'playerId=' + this.w26_1;
|
|
1001
1006
|
var tmp_0 = 'name=' + this.name;
|
|
1002
1007
|
// Inline function 'kotlin.takeIf' call
|
|
1003
1008
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1046,37 +1051,37 @@
|
|
|
1046
1051
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp$ret$7])) + ')';
|
|
1047
1052
|
};
|
|
1048
1053
|
protoOf(GameUserInfo).zc = function () {
|
|
1049
|
-
return this.
|
|
1054
|
+
return this.w26_1;
|
|
1050
1055
|
};
|
|
1051
1056
|
protoOf(GameUserInfo).ad = function () {
|
|
1052
1057
|
return this.name;
|
|
1053
1058
|
};
|
|
1054
|
-
protoOf(GameUserInfo).
|
|
1059
|
+
protoOf(GameUserInfo).dh = function () {
|
|
1055
1060
|
return this.avatarUrl;
|
|
1056
1061
|
};
|
|
1057
|
-
protoOf(GameUserInfo).
|
|
1062
|
+
protoOf(GameUserInfo).e1x = function () {
|
|
1058
1063
|
return this.isBot;
|
|
1059
1064
|
};
|
|
1060
|
-
protoOf(GameUserInfo).
|
|
1065
|
+
protoOf(GameUserInfo).b27 = function () {
|
|
1061
1066
|
return this.initialLuckyFactor;
|
|
1062
1067
|
};
|
|
1063
|
-
protoOf(GameUserInfo).
|
|
1068
|
+
protoOf(GameUserInfo).c27 = function () {
|
|
1064
1069
|
return this.payload;
|
|
1065
1070
|
};
|
|
1066
|
-
protoOf(GameUserInfo).
|
|
1071
|
+
protoOf(GameUserInfo).d27 = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1067
1072
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1068
1073
|
};
|
|
1069
1074
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1070
|
-
playerId = playerId === VOID ? this.
|
|
1075
|
+
playerId = playerId === VOID ? this.w26_1 : playerId;
|
|
1071
1076
|
name = name === VOID ? this.name : name;
|
|
1072
1077
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1073
1078
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1074
1079
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1075
1080
|
payload = payload === VOID ? this.payload : payload;
|
|
1076
|
-
return this.
|
|
1081
|
+
return this.d27(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1077
1082
|
};
|
|
1078
1083
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1079
|
-
var result = getStringHashCode(this.
|
|
1084
|
+
var result = getStringHashCode(this.w26_1);
|
|
1080
1085
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1081
1086
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1082
1087
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1090,7 +1095,7 @@
|
|
|
1090
1095
|
if (!(other instanceof GameUserInfo))
|
|
1091
1096
|
return false;
|
|
1092
1097
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1093
|
-
if (!(this.
|
|
1098
|
+
if (!(this.w26_1 === tmp0_other_with_cast.w26_1))
|
|
1094
1099
|
return false;
|
|
1095
1100
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1096
1101
|
return false;
|
|
@@ -1149,18 +1154,18 @@
|
|
|
1149
1154
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1150
1155
|
}
|
|
1151
1156
|
function PlayerIndex(playerId, index) {
|
|
1152
|
-
this.
|
|
1153
|
-
this.
|
|
1157
|
+
this.e27_1 = playerId;
|
|
1158
|
+
this.f27_1 = index;
|
|
1154
1159
|
}
|
|
1155
|
-
protoOf(PlayerIndex).
|
|
1156
|
-
return this.
|
|
1160
|
+
protoOf(PlayerIndex).g26 = function () {
|
|
1161
|
+
return this.e27_1;
|
|
1157
1162
|
};
|
|
1158
1163
|
protoOf(PlayerIndex).toString = function () {
|
|
1159
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1164
|
+
return 'PlayerIndex(playerId=' + this.e27_1 + ', index=' + this.f27_1 + ')';
|
|
1160
1165
|
};
|
|
1161
1166
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1162
|
-
var result = getStringHashCode(this.
|
|
1163
|
-
result = imul(result, 31) + this.
|
|
1167
|
+
var result = getStringHashCode(this.e27_1);
|
|
1168
|
+
result = imul(result, 31) + this.f27_1 | 0;
|
|
1164
1169
|
return result;
|
|
1165
1170
|
};
|
|
1166
1171
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1169,9 +1174,9 @@
|
|
|
1169
1174
|
if (!(other instanceof PlayerIndex))
|
|
1170
1175
|
return false;
|
|
1171
1176
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1172
|
-
if (!(this.
|
|
1177
|
+
if (!(this.e27_1 === tmp0_other_with_cast.e27_1))
|
|
1173
1178
|
return false;
|
|
1174
|
-
if (!(this.
|
|
1179
|
+
if (!(this.f27_1 === tmp0_other_with_cast.f27_1))
|
|
1175
1180
|
return false;
|
|
1176
1181
|
return true;
|
|
1177
1182
|
};
|
|
@@ -1186,7 +1191,7 @@
|
|
|
1186
1191
|
}
|
|
1187
1192
|
function playerTurnPredicate$lambda(p1) {
|
|
1188
1193
|
_init_properties_Player_kt__qi83pd();
|
|
1189
|
-
return p1.
|
|
1194
|
+
return p1.g27().o27();
|
|
1190
1195
|
}
|
|
1191
1196
|
var properties_initialized_Player_kt_56shkt;
|
|
1192
1197
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1197,61 +1202,61 @@
|
|
|
1197
1202
|
}
|
|
1198
1203
|
}
|
|
1199
1204
|
function Companion_4() {
|
|
1200
|
-
this.
|
|
1205
|
+
this.p27_1 = 75;
|
|
1201
1206
|
}
|
|
1202
|
-
protoOf(Companion_4).
|
|
1203
|
-
return new PlayerConnection(state, System_instance.
|
|
1207
|
+
protoOf(Companion_4).q27 = function (state, timeout) {
|
|
1208
|
+
return new PlayerConnection(state, System_instance.n1g().f1w(timeout));
|
|
1204
1209
|
};
|
|
1205
|
-
protoOf(Companion_4).
|
|
1206
|
-
timeout = timeout === VOID ? Companion_getInstance().
|
|
1207
|
-
return $super === VOID ? this.
|
|
1210
|
+
protoOf(Companion_4).r27 = function (state, timeout, $super) {
|
|
1211
|
+
timeout = timeout === VOID ? Companion_getInstance().hg_1 : timeout;
|
|
1212
|
+
return $super === VOID ? this.q27(state, timeout) : $super.q27.call(this, state, new Duration(timeout));
|
|
1208
1213
|
};
|
|
1209
1214
|
var Companion_instance_4;
|
|
1210
1215
|
function Companion_getInstance_6() {
|
|
1211
1216
|
return Companion_instance_4;
|
|
1212
1217
|
}
|
|
1213
1218
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1214
|
-
connectionChangedTime = connectionChangedTime === VOID ? System_instance.
|
|
1215
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().
|
|
1216
|
-
this.
|
|
1217
|
-
this.
|
|
1218
|
-
this.
|
|
1219
|
+
connectionChangedTime = connectionChangedTime === VOID ? System_instance.n1g() : connectionChangedTime;
|
|
1220
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().hg_1 : notLiveDurationRecord;
|
|
1221
|
+
this.s27_1 = state;
|
|
1222
|
+
this.t27_1 = connectionChangedTime;
|
|
1223
|
+
this.u27_1 = notLiveDurationRecord;
|
|
1219
1224
|
}
|
|
1220
|
-
protoOf(PlayerConnection).
|
|
1221
|
-
return System_instance.
|
|
1225
|
+
protoOf(PlayerConnection).v27 = function () {
|
|
1226
|
+
return System_instance.n1g().g1w(this.t27_1);
|
|
1222
1227
|
};
|
|
1223
|
-
protoOf(PlayerConnection).
|
|
1228
|
+
protoOf(PlayerConnection).w27 = function () {
|
|
1224
1229
|
var tmp;
|
|
1225
|
-
if (this.
|
|
1226
|
-
tmp = this.
|
|
1230
|
+
if (this.s27_1.isLive) {
|
|
1231
|
+
tmp = this.u27_1;
|
|
1227
1232
|
} else {
|
|
1228
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1233
|
+
tmp = Duration__plus_impl_yu9v8f(this.u27_1, this.v27());
|
|
1229
1234
|
}
|
|
1230
1235
|
return tmp;
|
|
1231
1236
|
};
|
|
1232
|
-
protoOf(PlayerConnection).
|
|
1237
|
+
protoOf(PlayerConnection).x27 = function (gameDuration) {
|
|
1233
1238
|
// Inline function 'kotlin.Long.div' call
|
|
1234
1239
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).h3() / 100.0;
|
|
1235
1240
|
// Inline function 'kotlin.math.round' call
|
|
1236
1241
|
// Inline function 'kotlin.Long.div' call
|
|
1237
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1242
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.w27()).h3() / percent;
|
|
1238
1243
|
var tmp$ret$2 = round(x);
|
|
1239
1244
|
return numberToInt(tmp$ret$2);
|
|
1240
1245
|
};
|
|
1241
|
-
protoOf(PlayerConnection).
|
|
1242
|
-
return 100 - this.
|
|
1246
|
+
protoOf(PlayerConnection).y27 = function (gameDuration) {
|
|
1247
|
+
return 100 - this.x27(gameDuration) | 0;
|
|
1243
1248
|
};
|
|
1244
|
-
protoOf(PlayerConnection).
|
|
1245
|
-
var percentage = this.
|
|
1249
|
+
protoOf(PlayerConnection).z27 = function (gameDuration) {
|
|
1250
|
+
var percentage = this.y27(gameDuration);
|
|
1246
1251
|
return percentage >= 75;
|
|
1247
1252
|
};
|
|
1248
1253
|
protoOf(PlayerConnection).toString = function () {
|
|
1249
|
-
return 'PlayerConnection(state=' + this.
|
|
1254
|
+
return 'PlayerConnection(state=' + this.s27_1.toString() + ', connectionChangedTime=' + this.t27_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.u27_1) + ')';
|
|
1250
1255
|
};
|
|
1251
1256
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1252
|
-
var result = this.
|
|
1253
|
-
result = imul(result, 31) + this.
|
|
1254
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1257
|
+
var result = this.s27_1.hashCode();
|
|
1258
|
+
result = imul(result, 31) + this.t27_1.hashCode() | 0;
|
|
1259
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.u27_1) | 0;
|
|
1255
1260
|
return result;
|
|
1256
1261
|
};
|
|
1257
1262
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1260,16 +1265,16 @@
|
|
|
1260
1265
|
if (!(other instanceof PlayerConnection))
|
|
1261
1266
|
return false;
|
|
1262
1267
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1263
|
-
if (!this.
|
|
1268
|
+
if (!this.s27_1.equals(tmp0_other_with_cast.s27_1))
|
|
1264
1269
|
return false;
|
|
1265
|
-
if (!this.
|
|
1270
|
+
if (!this.t27_1.equals(tmp0_other_with_cast.t27_1))
|
|
1266
1271
|
return false;
|
|
1267
|
-
if (!equals(this.
|
|
1272
|
+
if (!equals(this.u27_1, tmp0_other_with_cast.u27_1))
|
|
1268
1273
|
return false;
|
|
1269
1274
|
return true;
|
|
1270
1275
|
};
|
|
1271
1276
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1272
|
-
return $this.
|
|
1277
|
+
return $this.a28_1.a2();
|
|
1273
1278
|
}
|
|
1274
1279
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1275
1280
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1307,13 +1312,13 @@
|
|
|
1307
1312
|
Companion_instance_5 = this;
|
|
1308
1313
|
var tmp = this;
|
|
1309
1314
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1310
|
-
tmp.
|
|
1315
|
+
tmp.a28_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1311
1316
|
}
|
|
1312
|
-
protoOf(Companion_5).
|
|
1317
|
+
protoOf(Companion_5).o17 = function () {
|
|
1313
1318
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1314
1319
|
};
|
|
1315
|
-
protoOf(Companion_5).
|
|
1316
|
-
return this.
|
|
1320
|
+
protoOf(Companion_5).xv = function (typeParamsSerializers) {
|
|
1321
|
+
return this.o17();
|
|
1317
1322
|
};
|
|
1318
1323
|
var Companion_instance_5;
|
|
1319
1324
|
function Companion_getInstance_7() {
|
|
@@ -1338,34 +1343,34 @@
|
|
|
1338
1343
|
function PlayerConnectionState(name, ordinal) {
|
|
1339
1344
|
Enum.call(this, name, ordinal);
|
|
1340
1345
|
}
|
|
1341
|
-
protoOf(PlayerConnectionState).
|
|
1346
|
+
protoOf(PlayerConnectionState).d28 = function () {
|
|
1342
1347
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1343
1348
|
};
|
|
1344
|
-
protoOf(PlayerConnectionState).
|
|
1349
|
+
protoOf(PlayerConnectionState).e28 = function () {
|
|
1345
1350
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1346
1351
|
};
|
|
1347
|
-
protoOf(PlayerConnectionState).
|
|
1352
|
+
protoOf(PlayerConnectionState).f28 = function () {
|
|
1348
1353
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1349
1354
|
};
|
|
1350
|
-
protoOf(PlayerConnectionState).
|
|
1355
|
+
protoOf(PlayerConnectionState).g28 = function () {
|
|
1351
1356
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1352
1357
|
};
|
|
1353
|
-
protoOf(PlayerConnectionState).
|
|
1358
|
+
protoOf(PlayerConnectionState).h28 = function () {
|
|
1354
1359
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1355
1360
|
};
|
|
1356
|
-
protoOf(PlayerConnectionState).
|
|
1361
|
+
protoOf(PlayerConnectionState).i28 = function () {
|
|
1357
1362
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1358
1363
|
};
|
|
1359
|
-
protoOf(PlayerConnectionState).
|
|
1364
|
+
protoOf(PlayerConnectionState).j28 = function () {
|
|
1360
1365
|
return this.isDisconnected || this.isDeleted;
|
|
1361
1366
|
};
|
|
1362
|
-
protoOf(PlayerConnectionState).
|
|
1367
|
+
protoOf(PlayerConnectionState).k28 = function () {
|
|
1363
1368
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1364
1369
|
};
|
|
1365
|
-
protoOf(PlayerConnectionState).
|
|
1370
|
+
protoOf(PlayerConnectionState).l28 = function () {
|
|
1366
1371
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1367
1372
|
};
|
|
1368
|
-
protoOf(PlayerConnectionState).
|
|
1373
|
+
protoOf(PlayerConnectionState).m28 = function () {
|
|
1369
1374
|
return this.isLostConnection;
|
|
1370
1375
|
};
|
|
1371
1376
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1393,7 +1398,7 @@
|
|
|
1393
1398
|
return PlayerConnectionState_DELETED_instance;
|
|
1394
1399
|
}
|
|
1395
1400
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1396
|
-
return $this.
|
|
1401
|
+
return $this.n28_1.a2();
|
|
1397
1402
|
}
|
|
1398
1403
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1399
1404
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1408,13 +1413,13 @@
|
|
|
1408
1413
|
Companion_instance_6 = this;
|
|
1409
1414
|
var tmp = this;
|
|
1410
1415
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1411
|
-
tmp.
|
|
1416
|
+
tmp.n28_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1412
1417
|
}
|
|
1413
|
-
protoOf(Companion_6).
|
|
1418
|
+
protoOf(Companion_6).o17 = function () {
|
|
1414
1419
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1415
1420
|
};
|
|
1416
|
-
protoOf(Companion_6).
|
|
1417
|
-
return this.
|
|
1421
|
+
protoOf(Companion_6).xv = function (typeParamsSerializers) {
|
|
1422
|
+
return this.o17();
|
|
1418
1423
|
};
|
|
1419
1424
|
var Companion_instance_6;
|
|
1420
1425
|
function Companion_getInstance_8() {
|
|
@@ -1436,18 +1441,18 @@
|
|
|
1436
1441
|
function PlayerWaitingState(name, ordinal) {
|
|
1437
1442
|
Enum.call(this, name, ordinal);
|
|
1438
1443
|
}
|
|
1439
|
-
protoOf(PlayerWaitingState).
|
|
1440
|
-
return this.
|
|
1444
|
+
protoOf(PlayerWaitingState).o27 = function () {
|
|
1445
|
+
return this.q28() || this.r28();
|
|
1441
1446
|
};
|
|
1442
|
-
protoOf(PlayerWaitingState).
|
|
1447
|
+
protoOf(PlayerWaitingState).q28 = function () {
|
|
1443
1448
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1444
1449
|
};
|
|
1445
|
-
protoOf(PlayerWaitingState).
|
|
1450
|
+
protoOf(PlayerWaitingState).r28 = function () {
|
|
1446
1451
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1447
1452
|
};
|
|
1448
1453
|
function Companion_7() {
|
|
1449
1454
|
}
|
|
1450
|
-
protoOf(Companion_7).
|
|
1455
|
+
protoOf(Companion_7).s28 = function (connection) {
|
|
1451
1456
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1452
1457
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1453
1458
|
};
|
|
@@ -1470,17 +1475,17 @@
|
|
|
1470
1475
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1471
1476
|
tag = tag === VOID ? null : tag;
|
|
1472
1477
|
connection = connection === VOID ? null : connection;
|
|
1473
|
-
this.
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1476
|
-
this.
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1479
|
-
this.
|
|
1480
|
-
}
|
|
1481
|
-
protoOf(PlayerState).
|
|
1478
|
+
this.h27_1 = startFromTime;
|
|
1479
|
+
this.i27_1 = playerTurnTimeout;
|
|
1480
|
+
this.j27_1 = waitPlayerUntilTime;
|
|
1481
|
+
this.k27_1 = state;
|
|
1482
|
+
this.l27_1 = ready;
|
|
1483
|
+
this.m27_1 = tag;
|
|
1484
|
+
this.n27_1 = connection;
|
|
1485
|
+
}
|
|
1486
|
+
protoOf(PlayerState).t28 = function () {
|
|
1482
1487
|
// Inline function 'kotlin.requireNotNull' call
|
|
1483
|
-
var value = this.
|
|
1488
|
+
var value = this.n27_1;
|
|
1484
1489
|
// Inline function 'kotlin.contracts.contract' call
|
|
1485
1490
|
var tmp$ret$1;
|
|
1486
1491
|
$l$block: {
|
|
@@ -1499,67 +1504,67 @@
|
|
|
1499
1504
|
};
|
|
1500
1505
|
protoOf(PlayerState).toString = function () {
|
|
1501
1506
|
// Inline function 'kotlin.takeIf' call
|
|
1502
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1507
|
+
var this_0 = 'startFromTime=' + toString(this.h27_1);
|
|
1503
1508
|
// Inline function 'kotlin.contracts.contract' call
|
|
1504
1509
|
var tmp;
|
|
1505
1510
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1506
|
-
if (!(this.
|
|
1511
|
+
if (!(this.h27_1 == null)) {
|
|
1507
1512
|
tmp = this_0;
|
|
1508
1513
|
} else {
|
|
1509
1514
|
tmp = null;
|
|
1510
1515
|
}
|
|
1511
1516
|
var tmp_0 = tmp;
|
|
1512
1517
|
// Inline function 'kotlin.takeIf' call
|
|
1513
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1518
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.i27_1);
|
|
1514
1519
|
// Inline function 'kotlin.contracts.contract' call
|
|
1515
1520
|
var tmp_1;
|
|
1516
1521
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1517
|
-
if (!(this.
|
|
1522
|
+
if (!(this.i27_1 == null)) {
|
|
1518
1523
|
tmp_1 = this_1;
|
|
1519
1524
|
} else {
|
|
1520
1525
|
tmp_1 = null;
|
|
1521
1526
|
}
|
|
1522
1527
|
var tmp_2 = tmp_1;
|
|
1523
1528
|
// Inline function 'kotlin.takeIf' call
|
|
1524
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1529
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.j27_1);
|
|
1525
1530
|
// Inline function 'kotlin.contracts.contract' call
|
|
1526
1531
|
var tmp_3;
|
|
1527
1532
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1528
|
-
if (!(this.
|
|
1533
|
+
if (!(this.j27_1 == null)) {
|
|
1529
1534
|
tmp_3 = this_2;
|
|
1530
1535
|
} else {
|
|
1531
1536
|
tmp_3 = null;
|
|
1532
1537
|
}
|
|
1533
1538
|
var tmp_4 = tmp_3;
|
|
1534
|
-
var tmp_5 = 'state=' + this.
|
|
1539
|
+
var tmp_5 = 'state=' + this.k27_1.toString();
|
|
1535
1540
|
// Inline function 'kotlin.takeIf' call
|
|
1536
|
-
var this_3 = 'ready=' + this.
|
|
1541
|
+
var this_3 = 'ready=' + this.l27_1;
|
|
1537
1542
|
// Inline function 'kotlin.contracts.contract' call
|
|
1538
1543
|
var tmp_6;
|
|
1539
1544
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1540
|
-
if (this.
|
|
1545
|
+
if (this.l27_1) {
|
|
1541
1546
|
tmp_6 = this_3;
|
|
1542
1547
|
} else {
|
|
1543
1548
|
tmp_6 = null;
|
|
1544
1549
|
}
|
|
1545
1550
|
var tmp_7 = tmp_6;
|
|
1546
1551
|
// Inline function 'kotlin.takeIf' call
|
|
1547
|
-
var this_4 = 'tag=' + this.
|
|
1552
|
+
var this_4 = 'tag=' + this.m27_1;
|
|
1548
1553
|
// Inline function 'kotlin.contracts.contract' call
|
|
1549
1554
|
var tmp_8;
|
|
1550
1555
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1551
|
-
if (!(this.
|
|
1556
|
+
if (!(this.m27_1 == null)) {
|
|
1552
1557
|
tmp_8 = this_4;
|
|
1553
1558
|
} else {
|
|
1554
1559
|
tmp_8 = null;
|
|
1555
1560
|
}
|
|
1556
1561
|
var tmp_9 = tmp_8;
|
|
1557
1562
|
// Inline function 'kotlin.takeIf' call
|
|
1558
|
-
var this_5 = 'connection=' + toString(this.
|
|
1563
|
+
var this_5 = 'connection=' + toString(this.n27_1);
|
|
1559
1564
|
// Inline function 'kotlin.contracts.contract' call
|
|
1560
1565
|
var tmp_10;
|
|
1561
1566
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1562
|
-
if (!(this.
|
|
1567
|
+
if (!(this.n27_1 == null)) {
|
|
1563
1568
|
tmp_10 = this_5;
|
|
1564
1569
|
} else {
|
|
1565
1570
|
tmp_10 = null;
|
|
@@ -1567,17 +1572,17 @@
|
|
|
1567
1572
|
var tmp$ret$11 = tmp_10;
|
|
1568
1573
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1569
1574
|
};
|
|
1570
|
-
protoOf(PlayerState).
|
|
1571
|
-
return this.
|
|
1575
|
+
protoOf(PlayerState).o27 = function () {
|
|
1576
|
+
return this.k27_1.o27();
|
|
1572
1577
|
};
|
|
1573
1578
|
protoOf(PlayerState).hashCode = function () {
|
|
1574
|
-
var result = this.
|
|
1575
|
-
result = imul(result, 31) + (this.
|
|
1576
|
-
result = imul(result, 31) + (this.
|
|
1577
|
-
result = imul(result, 31) + this.
|
|
1578
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1579
|
-
result = imul(result, 31) + (this.
|
|
1580
|
-
result = imul(result, 31) + (this.
|
|
1579
|
+
var result = this.h27_1 == null ? 0 : this.h27_1.hashCode();
|
|
1580
|
+
result = imul(result, 31) + (this.i27_1 == null ? 0 : this.i27_1.hashCode()) | 0;
|
|
1581
|
+
result = imul(result, 31) + (this.j27_1 == null ? 0 : this.j27_1.hashCode()) | 0;
|
|
1582
|
+
result = imul(result, 31) + this.k27_1.hashCode() | 0;
|
|
1583
|
+
result = imul(result, 31) + getBooleanHashCode(this.l27_1) | 0;
|
|
1584
|
+
result = imul(result, 31) + (this.m27_1 == null ? 0 : getStringHashCode(this.m27_1)) | 0;
|
|
1585
|
+
result = imul(result, 31) + (this.n27_1 == null ? 0 : this.n27_1.hashCode()) | 0;
|
|
1581
1586
|
return result;
|
|
1582
1587
|
};
|
|
1583
1588
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1586,30 +1591,30 @@
|
|
|
1586
1591
|
if (!(other instanceof PlayerState))
|
|
1587
1592
|
return false;
|
|
1588
1593
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1589
|
-
if (!equals(this.
|
|
1594
|
+
if (!equals(this.h27_1, tmp0_other_with_cast.h27_1))
|
|
1590
1595
|
return false;
|
|
1591
|
-
if (!equals(this.
|
|
1596
|
+
if (!equals(this.i27_1, tmp0_other_with_cast.i27_1))
|
|
1592
1597
|
return false;
|
|
1593
|
-
if (!equals(this.
|
|
1598
|
+
if (!equals(this.j27_1, tmp0_other_with_cast.j27_1))
|
|
1594
1599
|
return false;
|
|
1595
|
-
if (!this.
|
|
1600
|
+
if (!this.k27_1.equals(tmp0_other_with_cast.k27_1))
|
|
1596
1601
|
return false;
|
|
1597
|
-
if (!(this.
|
|
1602
|
+
if (!(this.l27_1 === tmp0_other_with_cast.l27_1))
|
|
1598
1603
|
return false;
|
|
1599
|
-
if (!(this.
|
|
1604
|
+
if (!(this.m27_1 == tmp0_other_with_cast.m27_1))
|
|
1600
1605
|
return false;
|
|
1601
|
-
if (!equals(this.
|
|
1606
|
+
if (!equals(this.n27_1, tmp0_other_with_cast.n27_1))
|
|
1602
1607
|
return false;
|
|
1603
1608
|
return true;
|
|
1604
1609
|
};
|
|
1605
1610
|
function Team(playerIds) {
|
|
1606
|
-
this.
|
|
1611
|
+
this.u28_1 = playerIds;
|
|
1607
1612
|
}
|
|
1608
1613
|
protoOf(Team).toString = function () {
|
|
1609
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1614
|
+
return 'Team(playerIds=' + toString_0(this.u28_1) + ')';
|
|
1610
1615
|
};
|
|
1611
1616
|
protoOf(Team).hashCode = function () {
|
|
1612
|
-
return hashCode(this.
|
|
1617
|
+
return hashCode(this.u28_1);
|
|
1613
1618
|
};
|
|
1614
1619
|
protoOf(Team).equals = function (other) {
|
|
1615
1620
|
if (this === other)
|
|
@@ -1617,12 +1622,12 @@
|
|
|
1617
1622
|
if (!(other instanceof Team))
|
|
1618
1623
|
return false;
|
|
1619
1624
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1620
|
-
if (!equals(this.
|
|
1625
|
+
if (!equals(this.u28_1, tmp0_other_with_cast.u28_1))
|
|
1621
1626
|
return false;
|
|
1622
1627
|
return true;
|
|
1623
1628
|
};
|
|
1624
1629
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1625
|
-
return $this.
|
|
1630
|
+
return $this.v28_1.a2();
|
|
1626
1631
|
}
|
|
1627
1632
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1628
1633
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1660,13 +1665,13 @@
|
|
|
1660
1665
|
Companion_instance_8 = this;
|
|
1661
1666
|
var tmp = this;
|
|
1662
1667
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1663
|
-
tmp.
|
|
1668
|
+
tmp.v28_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1664
1669
|
}
|
|
1665
|
-
protoOf(Companion_8).
|
|
1670
|
+
protoOf(Companion_8).o17 = function () {
|
|
1666
1671
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1667
1672
|
};
|
|
1668
|
-
protoOf(Companion_8).
|
|
1669
|
-
return this.
|
|
1673
|
+
protoOf(Companion_8).xv = function (typeParamsSerializers) {
|
|
1674
|
+
return this.o17();
|
|
1670
1675
|
};
|
|
1671
1676
|
var Companion_instance_8;
|
|
1672
1677
|
function Companion_getInstance_10() {
|
|
@@ -1681,7 +1686,7 @@
|
|
|
1681
1686
|
Companion_getInstance_10();
|
|
1682
1687
|
}
|
|
1683
1688
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
1684
|
-
return $this.
|
|
1689
|
+
return $this.w28_1.a2();
|
|
1685
1690
|
}
|
|
1686
1691
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1687
1692
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1696,13 +1701,13 @@
|
|
|
1696
1701
|
TerminationGameReasonDto.call(this);
|
|
1697
1702
|
var tmp = this;
|
|
1698
1703
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1699
|
-
tmp.
|
|
1704
|
+
tmp.w28_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1700
1705
|
}
|
|
1701
|
-
protoOf(ProcessingReasonDto).
|
|
1706
|
+
protoOf(ProcessingReasonDto).o17 = function () {
|
|
1702
1707
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
1703
1708
|
};
|
|
1704
|
-
protoOf(ProcessingReasonDto).
|
|
1705
|
-
return this.
|
|
1709
|
+
protoOf(ProcessingReasonDto).xv = function (typeParamsSerializers) {
|
|
1710
|
+
return this.o17();
|
|
1706
1711
|
};
|
|
1707
1712
|
protoOf(ProcessingReasonDto).toString = function () {
|
|
1708
1713
|
return 'ProcessingReasonDto';
|
|
@@ -1733,50 +1738,50 @@
|
|
|
1733
1738
|
function $serializer_0() {
|
|
1734
1739
|
$serializer_instance_0 = this;
|
|
1735
1740
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1736
|
-
tmp0_serialDesc.
|
|
1737
|
-
this.
|
|
1741
|
+
tmp0_serialDesc.xu('reason', false);
|
|
1742
|
+
this.x28_1 = tmp0_serialDesc;
|
|
1738
1743
|
}
|
|
1739
|
-
protoOf($serializer_0).
|
|
1740
|
-
var tmp0_desc = this.
|
|
1741
|
-
var tmp1_output = encoder.
|
|
1742
|
-
tmp1_output.
|
|
1743
|
-
tmp1_output.
|
|
1744
|
+
protoOf($serializer_0).y28 = function (encoder, value) {
|
|
1745
|
+
var tmp0_desc = this.x28_1;
|
|
1746
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
1747
|
+
tmp1_output.wo(tmp0_desc, 0, value.reason);
|
|
1748
|
+
tmp1_output.in(tmp0_desc);
|
|
1744
1749
|
};
|
|
1745
|
-
protoOf($serializer_0).
|
|
1746
|
-
return this.
|
|
1750
|
+
protoOf($serializer_0).zj = function (encoder, value) {
|
|
1751
|
+
return this.y28(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1747
1752
|
};
|
|
1748
|
-
protoOf($serializer_0).
|
|
1749
|
-
var tmp0_desc = this.
|
|
1753
|
+
protoOf($serializer_0).ak = function (decoder) {
|
|
1754
|
+
var tmp0_desc = this.x28_1;
|
|
1750
1755
|
var tmp1_flag = true;
|
|
1751
1756
|
var tmp2_index = 0;
|
|
1752
1757
|
var tmp3_bitMask0 = 0;
|
|
1753
1758
|
var tmp4_local0 = null;
|
|
1754
|
-
var tmp5_input = decoder.
|
|
1755
|
-
if (tmp5_input.
|
|
1756
|
-
tmp4_local0 = tmp5_input.
|
|
1759
|
+
var tmp5_input = decoder.hn(tmp0_desc);
|
|
1760
|
+
if (tmp5_input.xn()) {
|
|
1761
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
1757
1762
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1758
1763
|
} else
|
|
1759
1764
|
while (tmp1_flag) {
|
|
1760
|
-
tmp2_index = tmp5_input.
|
|
1765
|
+
tmp2_index = tmp5_input.yn(tmp0_desc);
|
|
1761
1766
|
switch (tmp2_index) {
|
|
1762
1767
|
case -1:
|
|
1763
1768
|
tmp1_flag = false;
|
|
1764
1769
|
break;
|
|
1765
1770
|
case 0:
|
|
1766
|
-
tmp4_local0 = tmp5_input.
|
|
1771
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
1767
1772
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1768
1773
|
break;
|
|
1769
1774
|
default:
|
|
1770
1775
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1771
1776
|
}
|
|
1772
1777
|
}
|
|
1773
|
-
tmp5_input.
|
|
1778
|
+
tmp5_input.in(tmp0_desc);
|
|
1774
1779
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1775
1780
|
};
|
|
1776
|
-
protoOf($serializer_0).
|
|
1777
|
-
return this.
|
|
1781
|
+
protoOf($serializer_0).yj = function () {
|
|
1782
|
+
return this.x28_1;
|
|
1778
1783
|
};
|
|
1779
|
-
protoOf($serializer_0).
|
|
1784
|
+
protoOf($serializer_0).mv = function () {
|
|
1780
1785
|
// Inline function 'kotlin.arrayOf' call
|
|
1781
1786
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1782
1787
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1790,7 +1795,7 @@
|
|
|
1790
1795
|
}
|
|
1791
1796
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1792
1797
|
if (!(1 === (1 & seen0))) {
|
|
1793
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
1798
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().x28_1);
|
|
1794
1799
|
}
|
|
1795
1800
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1796
1801
|
$this.reason = reason;
|
|
@@ -1803,7 +1808,7 @@
|
|
|
1803
1808
|
TerminationGameReasonDto.call(this);
|
|
1804
1809
|
this.reason = reason;
|
|
1805
1810
|
}
|
|
1806
|
-
protoOf(GameErrorReasonDto).
|
|
1811
|
+
protoOf(GameErrorReasonDto).q26 = function () {
|
|
1807
1812
|
return this.reason;
|
|
1808
1813
|
};
|
|
1809
1814
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -1831,50 +1836,50 @@
|
|
|
1831
1836
|
function $serializer_1() {
|
|
1832
1837
|
$serializer_instance_1 = this;
|
|
1833
1838
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1834
|
-
tmp0_serialDesc.
|
|
1835
|
-
this.
|
|
1839
|
+
tmp0_serialDesc.xu('reason', false);
|
|
1840
|
+
this.z28_1 = tmp0_serialDesc;
|
|
1836
1841
|
}
|
|
1837
|
-
protoOf($serializer_1).
|
|
1838
|
-
var tmp0_desc = this.
|
|
1839
|
-
var tmp1_output = encoder.
|
|
1840
|
-
tmp1_output.
|
|
1841
|
-
tmp1_output.
|
|
1842
|
+
protoOf($serializer_1).a29 = function (encoder, value) {
|
|
1843
|
+
var tmp0_desc = this.z28_1;
|
|
1844
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
1845
|
+
tmp1_output.wo(tmp0_desc, 0, value.b29_1);
|
|
1846
|
+
tmp1_output.in(tmp0_desc);
|
|
1842
1847
|
};
|
|
1843
|
-
protoOf($serializer_1).
|
|
1844
|
-
return this.
|
|
1848
|
+
protoOf($serializer_1).zj = function (encoder, value) {
|
|
1849
|
+
return this.a29(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1845
1850
|
};
|
|
1846
|
-
protoOf($serializer_1).
|
|
1847
|
-
var tmp0_desc = this.
|
|
1851
|
+
protoOf($serializer_1).ak = function (decoder) {
|
|
1852
|
+
var tmp0_desc = this.z28_1;
|
|
1848
1853
|
var tmp1_flag = true;
|
|
1849
1854
|
var tmp2_index = 0;
|
|
1850
1855
|
var tmp3_bitMask0 = 0;
|
|
1851
1856
|
var tmp4_local0 = null;
|
|
1852
|
-
var tmp5_input = decoder.
|
|
1853
|
-
if (tmp5_input.
|
|
1854
|
-
tmp4_local0 = tmp5_input.
|
|
1857
|
+
var tmp5_input = decoder.hn(tmp0_desc);
|
|
1858
|
+
if (tmp5_input.xn()) {
|
|
1859
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
1855
1860
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1856
1861
|
} else
|
|
1857
1862
|
while (tmp1_flag) {
|
|
1858
|
-
tmp2_index = tmp5_input.
|
|
1863
|
+
tmp2_index = tmp5_input.yn(tmp0_desc);
|
|
1859
1864
|
switch (tmp2_index) {
|
|
1860
1865
|
case -1:
|
|
1861
1866
|
tmp1_flag = false;
|
|
1862
1867
|
break;
|
|
1863
1868
|
case 0:
|
|
1864
|
-
tmp4_local0 = tmp5_input.
|
|
1869
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
1865
1870
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1866
1871
|
break;
|
|
1867
1872
|
default:
|
|
1868
1873
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1869
1874
|
}
|
|
1870
1875
|
}
|
|
1871
|
-
tmp5_input.
|
|
1876
|
+
tmp5_input.in(tmp0_desc);
|
|
1872
1877
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1873
1878
|
};
|
|
1874
|
-
protoOf($serializer_1).
|
|
1875
|
-
return this.
|
|
1879
|
+
protoOf($serializer_1).yj = function () {
|
|
1880
|
+
return this.z28_1;
|
|
1876
1881
|
};
|
|
1877
|
-
protoOf($serializer_1).
|
|
1882
|
+
protoOf($serializer_1).mv = function () {
|
|
1878
1883
|
// Inline function 'kotlin.arrayOf' call
|
|
1879
1884
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1880
1885
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1888,10 +1893,10 @@
|
|
|
1888
1893
|
}
|
|
1889
1894
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1890
1895
|
if (!(1 === (1 & seen0))) {
|
|
1891
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
1896
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().z28_1);
|
|
1892
1897
|
}
|
|
1893
1898
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1894
|
-
$this.
|
|
1899
|
+
$this.b29_1 = reason;
|
|
1895
1900
|
return $this;
|
|
1896
1901
|
}
|
|
1897
1902
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1899,13 +1904,13 @@
|
|
|
1899
1904
|
}
|
|
1900
1905
|
function GameFinishedReasonDto(reason) {
|
|
1901
1906
|
TerminationGameReasonDto.call(this);
|
|
1902
|
-
this.
|
|
1907
|
+
this.b29_1 = reason;
|
|
1903
1908
|
}
|
|
1904
1909
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
1905
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
1910
|
+
return 'GameFinishedReasonDto(reason=' + this.b29_1 + ')';
|
|
1906
1911
|
};
|
|
1907
1912
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
1908
|
-
return getStringHashCode(this.
|
|
1913
|
+
return getStringHashCode(this.b29_1);
|
|
1909
1914
|
};
|
|
1910
1915
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
1911
1916
|
if (this === other)
|
|
@@ -1913,7 +1918,7 @@
|
|
|
1913
1918
|
if (!(other instanceof GameFinishedReasonDto))
|
|
1914
1919
|
return false;
|
|
1915
1920
|
var tmp0_other_with_cast = other instanceof GameFinishedReasonDto ? other : THROW_CCE();
|
|
1916
|
-
if (!(this.
|
|
1921
|
+
if (!(this.b29_1 === tmp0_other_with_cast.b29_1))
|
|
1917
1922
|
return false;
|
|
1918
1923
|
return true;
|
|
1919
1924
|
};
|
|
@@ -1926,50 +1931,50 @@
|
|
|
1926
1931
|
function $serializer_2() {
|
|
1927
1932
|
$serializer_instance_2 = this;
|
|
1928
1933
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
1929
|
-
tmp0_serialDesc.
|
|
1930
|
-
this.
|
|
1934
|
+
tmp0_serialDesc.xu('playerId', false);
|
|
1935
|
+
this.c29_1 = tmp0_serialDesc;
|
|
1931
1936
|
}
|
|
1932
|
-
protoOf($serializer_2).
|
|
1933
|
-
var tmp0_desc = this.
|
|
1934
|
-
var tmp1_output = encoder.
|
|
1935
|
-
tmp1_output.
|
|
1936
|
-
tmp1_output.
|
|
1937
|
+
protoOf($serializer_2).d29 = function (encoder, value) {
|
|
1938
|
+
var tmp0_desc = this.c29_1;
|
|
1939
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
1940
|
+
tmp1_output.wo(tmp0_desc, 0, value.e29_1);
|
|
1941
|
+
tmp1_output.in(tmp0_desc);
|
|
1937
1942
|
};
|
|
1938
|
-
protoOf($serializer_2).
|
|
1939
|
-
return this.
|
|
1943
|
+
protoOf($serializer_2).zj = function (encoder, value) {
|
|
1944
|
+
return this.d29(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
1940
1945
|
};
|
|
1941
|
-
protoOf($serializer_2).
|
|
1942
|
-
var tmp0_desc = this.
|
|
1946
|
+
protoOf($serializer_2).ak = function (decoder) {
|
|
1947
|
+
var tmp0_desc = this.c29_1;
|
|
1943
1948
|
var tmp1_flag = true;
|
|
1944
1949
|
var tmp2_index = 0;
|
|
1945
1950
|
var tmp3_bitMask0 = 0;
|
|
1946
1951
|
var tmp4_local0 = null;
|
|
1947
|
-
var tmp5_input = decoder.
|
|
1948
|
-
if (tmp5_input.
|
|
1949
|
-
tmp4_local0 = tmp5_input.
|
|
1952
|
+
var tmp5_input = decoder.hn(tmp0_desc);
|
|
1953
|
+
if (tmp5_input.xn()) {
|
|
1954
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
1950
1955
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1951
1956
|
} else
|
|
1952
1957
|
while (tmp1_flag) {
|
|
1953
|
-
tmp2_index = tmp5_input.
|
|
1958
|
+
tmp2_index = tmp5_input.yn(tmp0_desc);
|
|
1954
1959
|
switch (tmp2_index) {
|
|
1955
1960
|
case -1:
|
|
1956
1961
|
tmp1_flag = false;
|
|
1957
1962
|
break;
|
|
1958
1963
|
case 0:
|
|
1959
|
-
tmp4_local0 = tmp5_input.
|
|
1964
|
+
tmp4_local0 = tmp5_input.rn(tmp0_desc, 0);
|
|
1960
1965
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1961
1966
|
break;
|
|
1962
1967
|
default:
|
|
1963
1968
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1964
1969
|
}
|
|
1965
1970
|
}
|
|
1966
|
-
tmp5_input.
|
|
1971
|
+
tmp5_input.in(tmp0_desc);
|
|
1967
1972
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1968
1973
|
};
|
|
1969
|
-
protoOf($serializer_2).
|
|
1970
|
-
return this.
|
|
1974
|
+
protoOf($serializer_2).yj = function () {
|
|
1975
|
+
return this.c29_1;
|
|
1971
1976
|
};
|
|
1972
|
-
protoOf($serializer_2).
|
|
1977
|
+
protoOf($serializer_2).mv = function () {
|
|
1973
1978
|
// Inline function 'kotlin.arrayOf' call
|
|
1974
1979
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1975
1980
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1983,10 +1988,10 @@
|
|
|
1983
1988
|
}
|
|
1984
1989
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
1985
1990
|
if (!(1 === (1 & seen0))) {
|
|
1986
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
1991
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().c29_1);
|
|
1987
1992
|
}
|
|
1988
1993
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1989
|
-
$this.
|
|
1994
|
+
$this.e29_1 = playerId;
|
|
1990
1995
|
return $this;
|
|
1991
1996
|
}
|
|
1992
1997
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -1994,13 +1999,13 @@
|
|
|
1994
1999
|
}
|
|
1995
2000
|
function PlayerExitReasonDto(playerId) {
|
|
1996
2001
|
TerminationGameReasonDto.call(this);
|
|
1997
|
-
this.
|
|
2002
|
+
this.e29_1 = playerId;
|
|
1998
2003
|
}
|
|
1999
2004
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2000
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2005
|
+
return 'PlayerExitReasonDto(playerId=' + this.e29_1 + ')';
|
|
2001
2006
|
};
|
|
2002
2007
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2003
|
-
return getStringHashCode(this.
|
|
2008
|
+
return getStringHashCode(this.e29_1);
|
|
2004
2009
|
};
|
|
2005
2010
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2006
2011
|
if (this === other)
|
|
@@ -2008,7 +2013,7 @@
|
|
|
2008
2013
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2009
2014
|
return false;
|
|
2010
2015
|
var tmp0_other_with_cast = other instanceof PlayerExitReasonDto ? other : THROW_CCE();
|
|
2011
|
-
if (!(this.
|
|
2016
|
+
if (!(this.e29_1 === tmp0_other_with_cast.e29_1))
|
|
2012
2017
|
return false;
|
|
2013
2018
|
return true;
|
|
2014
2019
|
};
|
|
@@ -2021,59 +2026,59 @@
|
|
|
2021
2026
|
function $serializer_3() {
|
|
2022
2027
|
$serializer_instance_3 = this;
|
|
2023
2028
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2024
|
-
tmp0_serialDesc.
|
|
2025
|
-
tmp0_serialDesc.
|
|
2026
|
-
this.
|
|
2027
|
-
}
|
|
2028
|
-
protoOf($serializer_3).
|
|
2029
|
-
var tmp0_desc = this.
|
|
2030
|
-
var tmp1_output = encoder.
|
|
2031
|
-
tmp1_output.
|
|
2032
|
-
tmp1_output.
|
|
2033
|
-
tmp1_output.
|
|
2034
|
-
};
|
|
2035
|
-
protoOf($serializer_3).
|
|
2036
|
-
return this.
|
|
2037
|
-
};
|
|
2038
|
-
protoOf($serializer_3).
|
|
2039
|
-
var tmp0_desc = this.
|
|
2029
|
+
tmp0_serialDesc.xu('playerId', false);
|
|
2030
|
+
tmp0_serialDesc.xu('tag', false);
|
|
2031
|
+
this.f29_1 = tmp0_serialDesc;
|
|
2032
|
+
}
|
|
2033
|
+
protoOf($serializer_3).g29 = function (encoder, value) {
|
|
2034
|
+
var tmp0_desc = this.f29_1;
|
|
2035
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2036
|
+
tmp1_output.wo(tmp0_desc, 0, value.h29_1);
|
|
2037
|
+
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.i29_1);
|
|
2038
|
+
tmp1_output.in(tmp0_desc);
|
|
2039
|
+
};
|
|
2040
|
+
protoOf($serializer_3).zj = function (encoder, value) {
|
|
2041
|
+
return this.g29(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2042
|
+
};
|
|
2043
|
+
protoOf($serializer_3).ak = function (decoder) {
|
|
2044
|
+
var tmp0_desc = this.f29_1;
|
|
2040
2045
|
var tmp1_flag = true;
|
|
2041
2046
|
var tmp2_index = 0;
|
|
2042
2047
|
var tmp3_bitMask0 = 0;
|
|
2043
2048
|
var tmp4_local0 = null;
|
|
2044
2049
|
var tmp5_local1 = null;
|
|
2045
|
-
var tmp6_input = decoder.
|
|
2046
|
-
if (tmp6_input.
|
|
2047
|
-
tmp4_local0 = tmp6_input.
|
|
2050
|
+
var tmp6_input = decoder.hn(tmp0_desc);
|
|
2051
|
+
if (tmp6_input.xn()) {
|
|
2052
|
+
tmp4_local0 = tmp6_input.rn(tmp0_desc, 0);
|
|
2048
2053
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2049
|
-
tmp5_local1 = tmp6_input.
|
|
2054
|
+
tmp5_local1 = tmp6_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2050
2055
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2051
2056
|
} else
|
|
2052
2057
|
while (tmp1_flag) {
|
|
2053
|
-
tmp2_index = tmp6_input.
|
|
2058
|
+
tmp2_index = tmp6_input.yn(tmp0_desc);
|
|
2054
2059
|
switch (tmp2_index) {
|
|
2055
2060
|
case -1:
|
|
2056
2061
|
tmp1_flag = false;
|
|
2057
2062
|
break;
|
|
2058
2063
|
case 0:
|
|
2059
|
-
tmp4_local0 = tmp6_input.
|
|
2064
|
+
tmp4_local0 = tmp6_input.rn(tmp0_desc, 0);
|
|
2060
2065
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2061
2066
|
break;
|
|
2062
2067
|
case 1:
|
|
2063
|
-
tmp5_local1 = tmp6_input.
|
|
2068
|
+
tmp5_local1 = tmp6_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2064
2069
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2065
2070
|
break;
|
|
2066
2071
|
default:
|
|
2067
2072
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2068
2073
|
}
|
|
2069
2074
|
}
|
|
2070
|
-
tmp6_input.
|
|
2075
|
+
tmp6_input.in(tmp0_desc);
|
|
2071
2076
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2072
2077
|
};
|
|
2073
|
-
protoOf($serializer_3).
|
|
2074
|
-
return this.
|
|
2078
|
+
protoOf($serializer_3).yj = function () {
|
|
2079
|
+
return this.f29_1;
|
|
2075
2080
|
};
|
|
2076
|
-
protoOf($serializer_3).
|
|
2081
|
+
protoOf($serializer_3).mv = function () {
|
|
2077
2082
|
// Inline function 'kotlin.arrayOf' call
|
|
2078
2083
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2079
2084
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2087,11 +2092,11 @@
|
|
|
2087
2092
|
}
|
|
2088
2093
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2089
2094
|
if (!(3 === (3 & seen0))) {
|
|
2090
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_3().
|
|
2095
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_3().f29_1);
|
|
2091
2096
|
}
|
|
2092
2097
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2093
|
-
$this.
|
|
2094
|
-
$this.
|
|
2098
|
+
$this.h29_1 = playerId;
|
|
2099
|
+
$this.i29_1 = tag;
|
|
2095
2100
|
return $this;
|
|
2096
2101
|
}
|
|
2097
2102
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2099,15 +2104,15 @@
|
|
|
2099
2104
|
}
|
|
2100
2105
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2101
2106
|
TerminationGameReasonDto.call(this);
|
|
2102
|
-
this.
|
|
2103
|
-
this.
|
|
2107
|
+
this.h29_1 = playerId;
|
|
2108
|
+
this.i29_1 = tag;
|
|
2104
2109
|
}
|
|
2105
2110
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2106
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2111
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.h29_1 + ', tag=' + this.i29_1 + ')';
|
|
2107
2112
|
};
|
|
2108
2113
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2109
|
-
var result = getStringHashCode(this.
|
|
2110
|
-
result = imul(result, 31) + (this.
|
|
2114
|
+
var result = getStringHashCode(this.h29_1);
|
|
2115
|
+
result = imul(result, 31) + (this.i29_1 == null ? 0 : getStringHashCode(this.i29_1)) | 0;
|
|
2111
2116
|
return result;
|
|
2112
2117
|
};
|
|
2113
2118
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2116,9 +2121,9 @@
|
|
|
2116
2121
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2117
2122
|
return false;
|
|
2118
2123
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReasonDto ? other : THROW_CCE();
|
|
2119
|
-
if (!(this.
|
|
2124
|
+
if (!(this.h29_1 === tmp0_other_with_cast.h29_1))
|
|
2120
2125
|
return false;
|
|
2121
|
-
if (!(this.
|
|
2126
|
+
if (!(this.i29_1 == tmp0_other_with_cast.i29_1))
|
|
2122
2127
|
return false;
|
|
2123
2128
|
return true;
|
|
2124
2129
|
};
|
|
@@ -2131,59 +2136,59 @@
|
|
|
2131
2136
|
function $serializer_4() {
|
|
2132
2137
|
$serializer_instance_4 = this;
|
|
2133
2138
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2134
|
-
tmp0_serialDesc.
|
|
2135
|
-
tmp0_serialDesc.
|
|
2136
|
-
this.
|
|
2137
|
-
}
|
|
2138
|
-
protoOf($serializer_4).
|
|
2139
|
-
var tmp0_desc = this.
|
|
2140
|
-
var tmp1_output = encoder.
|
|
2141
|
-
tmp1_output.
|
|
2142
|
-
tmp1_output.
|
|
2143
|
-
tmp1_output.
|
|
2144
|
-
};
|
|
2145
|
-
protoOf($serializer_4).
|
|
2146
|
-
return this.
|
|
2147
|
-
};
|
|
2148
|
-
protoOf($serializer_4).
|
|
2149
|
-
var tmp0_desc = this.
|
|
2139
|
+
tmp0_serialDesc.xu('playerId', false);
|
|
2140
|
+
tmp0_serialDesc.xu('tag', false);
|
|
2141
|
+
this.j29_1 = tmp0_serialDesc;
|
|
2142
|
+
}
|
|
2143
|
+
protoOf($serializer_4).k29 = function (encoder, value) {
|
|
2144
|
+
var tmp0_desc = this.j29_1;
|
|
2145
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2146
|
+
tmp1_output.wo(tmp0_desc, 0, value.l29_1);
|
|
2147
|
+
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.m29_1);
|
|
2148
|
+
tmp1_output.in(tmp0_desc);
|
|
2149
|
+
};
|
|
2150
|
+
protoOf($serializer_4).zj = function (encoder, value) {
|
|
2151
|
+
return this.k29(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2152
|
+
};
|
|
2153
|
+
protoOf($serializer_4).ak = function (decoder) {
|
|
2154
|
+
var tmp0_desc = this.j29_1;
|
|
2150
2155
|
var tmp1_flag = true;
|
|
2151
2156
|
var tmp2_index = 0;
|
|
2152
2157
|
var tmp3_bitMask0 = 0;
|
|
2153
2158
|
var tmp4_local0 = null;
|
|
2154
2159
|
var tmp5_local1 = null;
|
|
2155
|
-
var tmp6_input = decoder.
|
|
2156
|
-
if (tmp6_input.
|
|
2157
|
-
tmp4_local0 = tmp6_input.
|
|
2160
|
+
var tmp6_input = decoder.hn(tmp0_desc);
|
|
2161
|
+
if (tmp6_input.xn()) {
|
|
2162
|
+
tmp4_local0 = tmp6_input.rn(tmp0_desc, 0);
|
|
2158
2163
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2159
|
-
tmp5_local1 = tmp6_input.
|
|
2164
|
+
tmp5_local1 = tmp6_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2160
2165
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2161
2166
|
} else
|
|
2162
2167
|
while (tmp1_flag) {
|
|
2163
|
-
tmp2_index = tmp6_input.
|
|
2168
|
+
tmp2_index = tmp6_input.yn(tmp0_desc);
|
|
2164
2169
|
switch (tmp2_index) {
|
|
2165
2170
|
case -1:
|
|
2166
2171
|
tmp1_flag = false;
|
|
2167
2172
|
break;
|
|
2168
2173
|
case 0:
|
|
2169
|
-
tmp4_local0 = tmp6_input.
|
|
2174
|
+
tmp4_local0 = tmp6_input.rn(tmp0_desc, 0);
|
|
2170
2175
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2171
2176
|
break;
|
|
2172
2177
|
case 1:
|
|
2173
|
-
tmp5_local1 = tmp6_input.
|
|
2178
|
+
tmp5_local1 = tmp6_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2174
2179
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2175
2180
|
break;
|
|
2176
2181
|
default:
|
|
2177
2182
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2178
2183
|
}
|
|
2179
2184
|
}
|
|
2180
|
-
tmp6_input.
|
|
2185
|
+
tmp6_input.in(tmp0_desc);
|
|
2181
2186
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2182
2187
|
};
|
|
2183
|
-
protoOf($serializer_4).
|
|
2184
|
-
return this.
|
|
2188
|
+
protoOf($serializer_4).yj = function () {
|
|
2189
|
+
return this.j29_1;
|
|
2185
2190
|
};
|
|
2186
|
-
protoOf($serializer_4).
|
|
2191
|
+
protoOf($serializer_4).mv = function () {
|
|
2187
2192
|
// Inline function 'kotlin.arrayOf' call
|
|
2188
2193
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2189
2194
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2197,11 +2202,11 @@
|
|
|
2197
2202
|
}
|
|
2198
2203
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2199
2204
|
if (!(3 === (3 & seen0))) {
|
|
2200
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2205
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().j29_1);
|
|
2201
2206
|
}
|
|
2202
2207
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2203
|
-
$this.
|
|
2204
|
-
$this.
|
|
2208
|
+
$this.l29_1 = playerId;
|
|
2209
|
+
$this.m29_1 = tag;
|
|
2205
2210
|
return $this;
|
|
2206
2211
|
}
|
|
2207
2212
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2209,15 +2214,15 @@
|
|
|
2209
2214
|
}
|
|
2210
2215
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2211
2216
|
TerminationGameReasonDto.call(this);
|
|
2212
|
-
this.
|
|
2213
|
-
this.
|
|
2217
|
+
this.l29_1 = playerId;
|
|
2218
|
+
this.m29_1 = tag;
|
|
2214
2219
|
}
|
|
2215
2220
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2216
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2221
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.l29_1 + ', tag=' + this.m29_1 + ')';
|
|
2217
2222
|
};
|
|
2218
2223
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2219
|
-
var result = getStringHashCode(this.
|
|
2220
|
-
result = imul(result, 31) + (this.
|
|
2224
|
+
var result = getStringHashCode(this.l29_1);
|
|
2225
|
+
result = imul(result, 31) + (this.m29_1 == null ? 0 : getStringHashCode(this.m29_1)) | 0;
|
|
2221
2226
|
return result;
|
|
2222
2227
|
};
|
|
2223
2228
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2226,14 +2231,14 @@
|
|
|
2226
2231
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2227
2232
|
return false;
|
|
2228
2233
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReasonDto ? other : THROW_CCE();
|
|
2229
|
-
if (!(this.
|
|
2234
|
+
if (!(this.l29_1 === tmp0_other_with_cast.l29_1))
|
|
2230
2235
|
return false;
|
|
2231
|
-
if (!(this.
|
|
2236
|
+
if (!(this.m29_1 == tmp0_other_with_cast.m29_1))
|
|
2232
2237
|
return false;
|
|
2233
2238
|
return true;
|
|
2234
2239
|
};
|
|
2235
2240
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
2236
|
-
return $this.
|
|
2241
|
+
return $this.n29_1.a2();
|
|
2237
2242
|
}
|
|
2238
2243
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2239
2244
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2248,13 +2253,13 @@
|
|
|
2248
2253
|
TerminationGameReasonDto.call(this);
|
|
2249
2254
|
var tmp = this;
|
|
2250
2255
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2251
|
-
tmp.
|
|
2256
|
+
tmp.n29_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2252
2257
|
}
|
|
2253
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2258
|
+
protoOf(WaitingForConnectionReasonDto).o17 = function () {
|
|
2254
2259
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
2255
2260
|
};
|
|
2256
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2257
|
-
return this.
|
|
2261
|
+
protoOf(WaitingForConnectionReasonDto).xv = function (typeParamsSerializers) {
|
|
2262
|
+
return this.o17();
|
|
2258
2263
|
};
|
|
2259
2264
|
protoOf(WaitingForConnectionReasonDto).toString = function () {
|
|
2260
2265
|
return 'WaitingForConnectionReasonDto';
|
|
@@ -2277,7 +2282,7 @@
|
|
|
2277
2282
|
return WaitingForConnectionReasonDto_instance;
|
|
2278
2283
|
}
|
|
2279
2284
|
function mapToDto(_this__u8e3s4) {
|
|
2280
|
-
return _this__u8e3s4.
|
|
2285
|
+
return _this__u8e3s4.g25_1;
|
|
2281
2286
|
}
|
|
2282
2287
|
function mapFromDto(_this__u8e3s4) {
|
|
2283
2288
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2370,15 +2375,15 @@
|
|
|
2370
2375
|
}
|
|
2371
2376
|
function mapToDto_3(_this__u8e3s4) {
|
|
2372
2377
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2373
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2378
|
+
return new PlayerExitReasonDto(_this__u8e3s4.l26_1);
|
|
2374
2379
|
}
|
|
2375
2380
|
function mapToDto_4(_this__u8e3s4) {
|
|
2376
2381
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2377
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2382
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.f26_1, _this__u8e3s4.tag);
|
|
2378
2383
|
}
|
|
2379
2384
|
function mapToDto_5(_this__u8e3s4) {
|
|
2380
2385
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2381
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2386
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.k26_1, _this__u8e3s4.tag);
|
|
2382
2387
|
}
|
|
2383
2388
|
function mapToDto_6(_this__u8e3s4) {
|
|
2384
2389
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2395,20 +2400,20 @@
|
|
|
2395
2400
|
}
|
|
2396
2401
|
function mapFromDto_2(_this__u8e3s4) {
|
|
2397
2402
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2398
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
2403
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.b29_1, get_gameFinishedReasonMapping());
|
|
2399
2404
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2400
2405
|
}
|
|
2401
2406
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2402
2407
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2403
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2408
|
+
return new PlayerExitReason(_this__u8e3s4.e29_1);
|
|
2404
2409
|
}
|
|
2405
2410
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2406
2411
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2407
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2412
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.h29_1, _this__u8e3s4.i29_1);
|
|
2408
2413
|
}
|
|
2409
2414
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2410
2415
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2411
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2416
|
+
return new PlayerTimeoutReason(_this__u8e3s4.l29_1, _this__u8e3s4.m29_1);
|
|
2412
2417
|
}
|
|
2413
2418
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2414
2419
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2462,11 +2467,11 @@
|
|
|
2462
2467
|
tmp = null;
|
|
2463
2468
|
}
|
|
2464
2469
|
var tmp$ret$1 = tmp;
|
|
2465
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2470
|
+
return new GameUserInfoDto(_this__u8e3s4.w26_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
2466
2471
|
}
|
|
2467
2472
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2468
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2469
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
2473
|
+
var tmp0_elvis_lhs = _this__u8e3s4.r29_1;
|
|
2474
|
+
return new GameUserInfo(_this__u8e3s4.o29_1, _this__u8e3s4.p29_1, _this__u8e3s4.q29_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.s29_1);
|
|
2470
2475
|
}
|
|
2471
2476
|
function Companion_14() {
|
|
2472
2477
|
}
|
|
@@ -2477,34 +2482,34 @@
|
|
|
2477
2482
|
function $serializer_5() {
|
|
2478
2483
|
$serializer_instance_5 = this;
|
|
2479
2484
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 5);
|
|
2480
|
-
tmp0_serialDesc.
|
|
2481
|
-
tmp0_serialDesc.
|
|
2482
|
-
tmp0_serialDesc.
|
|
2483
|
-
tmp0_serialDesc.
|
|
2484
|
-
tmp0_serialDesc.
|
|
2485
|
-
this.
|
|
2486
|
-
}
|
|
2487
|
-
protoOf($serializer_5).
|
|
2488
|
-
var tmp0_desc = this.
|
|
2489
|
-
var tmp1_output = encoder.
|
|
2490
|
-
tmp1_output.
|
|
2491
|
-
tmp1_output.
|
|
2492
|
-
if (tmp1_output.
|
|
2493
|
-
tmp1_output.
|
|
2494
|
-
}
|
|
2495
|
-
if (tmp1_output.
|
|
2496
|
-
tmp1_output.
|
|
2497
|
-
}
|
|
2498
|
-
if (tmp1_output.
|
|
2499
|
-
tmp1_output.
|
|
2500
|
-
}
|
|
2501
|
-
tmp1_output.
|
|
2502
|
-
};
|
|
2503
|
-
protoOf($serializer_5).
|
|
2504
|
-
return this.
|
|
2505
|
-
};
|
|
2506
|
-
protoOf($serializer_5).
|
|
2507
|
-
var tmp0_desc = this.
|
|
2485
|
+
tmp0_serialDesc.xu('playerId', false);
|
|
2486
|
+
tmp0_serialDesc.xu('name', false);
|
|
2487
|
+
tmp0_serialDesc.xu('avatarUrl', true);
|
|
2488
|
+
tmp0_serialDesc.xu('isBot', true);
|
|
2489
|
+
tmp0_serialDesc.xu('initialLuckyFactor', true);
|
|
2490
|
+
this.t29_1 = tmp0_serialDesc;
|
|
2491
|
+
}
|
|
2492
|
+
protoOf($serializer_5).u29 = function (encoder, value) {
|
|
2493
|
+
var tmp0_desc = this.t29_1;
|
|
2494
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2495
|
+
tmp1_output.wo(tmp0_desc, 0, value.o29_1);
|
|
2496
|
+
tmp1_output.wo(tmp0_desc, 1, value.p29_1);
|
|
2497
|
+
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.q29_1 == null)) {
|
|
2498
|
+
tmp1_output.ap(tmp0_desc, 2, StringSerializer_getInstance(), value.q29_1);
|
|
2499
|
+
}
|
|
2500
|
+
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.r29_1 == null)) {
|
|
2501
|
+
tmp1_output.ap(tmp0_desc, 3, BooleanSerializer_getInstance(), value.r29_1);
|
|
2502
|
+
}
|
|
2503
|
+
if (tmp1_output.ep(tmp0_desc, 4) ? true : !(value.s29_1 == null)) {
|
|
2504
|
+
tmp1_output.ap(tmp0_desc, 4, FloatSerializer_getInstance(), value.s29_1);
|
|
2505
|
+
}
|
|
2506
|
+
tmp1_output.in(tmp0_desc);
|
|
2507
|
+
};
|
|
2508
|
+
protoOf($serializer_5).zj = function (encoder, value) {
|
|
2509
|
+
return this.u29(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2510
|
+
};
|
|
2511
|
+
protoOf($serializer_5).ak = function (decoder) {
|
|
2512
|
+
var tmp0_desc = this.t29_1;
|
|
2508
2513
|
var tmp1_flag = true;
|
|
2509
2514
|
var tmp2_index = 0;
|
|
2510
2515
|
var tmp3_bitMask0 = 0;
|
|
@@ -2513,56 +2518,56 @@
|
|
|
2513
2518
|
var tmp6_local2 = null;
|
|
2514
2519
|
var tmp7_local3 = null;
|
|
2515
2520
|
var tmp8_local4 = null;
|
|
2516
|
-
var tmp9_input = decoder.
|
|
2517
|
-
if (tmp9_input.
|
|
2518
|
-
tmp4_local0 = tmp9_input.
|
|
2521
|
+
var tmp9_input = decoder.hn(tmp0_desc);
|
|
2522
|
+
if (tmp9_input.xn()) {
|
|
2523
|
+
tmp4_local0 = tmp9_input.rn(tmp0_desc, 0);
|
|
2519
2524
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2520
|
-
tmp5_local1 = tmp9_input.
|
|
2525
|
+
tmp5_local1 = tmp9_input.rn(tmp0_desc, 1);
|
|
2521
2526
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2522
|
-
tmp6_local2 = tmp9_input.
|
|
2527
|
+
tmp6_local2 = tmp9_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2523
2528
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2524
|
-
tmp7_local3 = tmp9_input.
|
|
2529
|
+
tmp7_local3 = tmp9_input.vn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2525
2530
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2526
|
-
tmp8_local4 = tmp9_input.
|
|
2531
|
+
tmp8_local4 = tmp9_input.vn(tmp0_desc, 4, FloatSerializer_getInstance(), tmp8_local4);
|
|
2527
2532
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2528
2533
|
} else
|
|
2529
2534
|
while (tmp1_flag) {
|
|
2530
|
-
tmp2_index = tmp9_input.
|
|
2535
|
+
tmp2_index = tmp9_input.yn(tmp0_desc);
|
|
2531
2536
|
switch (tmp2_index) {
|
|
2532
2537
|
case -1:
|
|
2533
2538
|
tmp1_flag = false;
|
|
2534
2539
|
break;
|
|
2535
2540
|
case 0:
|
|
2536
|
-
tmp4_local0 = tmp9_input.
|
|
2541
|
+
tmp4_local0 = tmp9_input.rn(tmp0_desc, 0);
|
|
2537
2542
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2538
2543
|
break;
|
|
2539
2544
|
case 1:
|
|
2540
|
-
tmp5_local1 = tmp9_input.
|
|
2545
|
+
tmp5_local1 = tmp9_input.rn(tmp0_desc, 1);
|
|
2541
2546
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2542
2547
|
break;
|
|
2543
2548
|
case 2:
|
|
2544
|
-
tmp6_local2 = tmp9_input.
|
|
2549
|
+
tmp6_local2 = tmp9_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2545
2550
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2546
2551
|
break;
|
|
2547
2552
|
case 3:
|
|
2548
|
-
tmp7_local3 = tmp9_input.
|
|
2553
|
+
tmp7_local3 = tmp9_input.vn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2549
2554
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2550
2555
|
break;
|
|
2551
2556
|
case 4:
|
|
2552
|
-
tmp8_local4 = tmp9_input.
|
|
2557
|
+
tmp8_local4 = tmp9_input.vn(tmp0_desc, 4, FloatSerializer_getInstance(), tmp8_local4);
|
|
2553
2558
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2554
2559
|
break;
|
|
2555
2560
|
default:
|
|
2556
2561
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2557
2562
|
}
|
|
2558
2563
|
}
|
|
2559
|
-
tmp9_input.
|
|
2564
|
+
tmp9_input.in(tmp0_desc);
|
|
2560
2565
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
2561
2566
|
};
|
|
2562
|
-
protoOf($serializer_5).
|
|
2563
|
-
return this.
|
|
2567
|
+
protoOf($serializer_5).yj = function () {
|
|
2568
|
+
return this.t29_1;
|
|
2564
2569
|
};
|
|
2565
|
-
protoOf($serializer_5).
|
|
2570
|
+
protoOf($serializer_5).mv = function () {
|
|
2566
2571
|
// Inline function 'kotlin.arrayOf' call
|
|
2567
2572
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2568
2573
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2576,22 +2581,22 @@
|
|
|
2576
2581
|
}
|
|
2577
2582
|
function GameUserInfoDto_init_$Init$(seen0, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2578
2583
|
if (!(3 === (3 & seen0))) {
|
|
2579
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2584
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().t29_1);
|
|
2580
2585
|
}
|
|
2581
|
-
$this.
|
|
2582
|
-
$this.
|
|
2586
|
+
$this.o29_1 = playerId;
|
|
2587
|
+
$this.p29_1 = name;
|
|
2583
2588
|
if (0 === (seen0 & 4))
|
|
2584
|
-
$this.
|
|
2589
|
+
$this.q29_1 = null;
|
|
2585
2590
|
else
|
|
2586
|
-
$this.
|
|
2591
|
+
$this.q29_1 = avatarUrl;
|
|
2587
2592
|
if (0 === (seen0 & 8))
|
|
2588
|
-
$this.
|
|
2593
|
+
$this.r29_1 = null;
|
|
2589
2594
|
else
|
|
2590
|
-
$this.
|
|
2595
|
+
$this.r29_1 = isBot;
|
|
2591
2596
|
if (0 === (seen0 & 16))
|
|
2592
|
-
$this.
|
|
2597
|
+
$this.s29_1 = null;
|
|
2593
2598
|
else
|
|
2594
|
-
$this.
|
|
2599
|
+
$this.s29_1 = initialLuckyFactor;
|
|
2595
2600
|
return $this;
|
|
2596
2601
|
}
|
|
2597
2602
|
function GameUserInfoDto_init_$Create$(seen0, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2601,35 +2606,35 @@
|
|
|
2601
2606
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2602
2607
|
isBot = isBot === VOID ? null : isBot;
|
|
2603
2608
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
2604
|
-
this.
|
|
2605
|
-
this.
|
|
2606
|
-
this.
|
|
2607
|
-
this.
|
|
2608
|
-
this.
|
|
2609
|
+
this.o29_1 = playerId;
|
|
2610
|
+
this.p29_1 = name;
|
|
2611
|
+
this.q29_1 = avatarUrl;
|
|
2612
|
+
this.r29_1 = isBot;
|
|
2613
|
+
this.s29_1 = initialLuckyFactor;
|
|
2609
2614
|
}
|
|
2610
|
-
protoOf(GameUserInfoDto).
|
|
2611
|
-
return this.
|
|
2615
|
+
protoOf(GameUserInfoDto).v29 = function () {
|
|
2616
|
+
return this.w29(VOID, VOID, VOID, null, null);
|
|
2612
2617
|
};
|
|
2613
|
-
protoOf(GameUserInfoDto).
|
|
2618
|
+
protoOf(GameUserInfoDto).x29 = function (playerId, name, avatarUrl, isBot, initialLuckyFactor) {
|
|
2614
2619
|
return new GameUserInfoDto(playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
2615
2620
|
};
|
|
2616
|
-
protoOf(GameUserInfoDto).
|
|
2617
|
-
playerId = playerId === VOID ? this.
|
|
2618
|
-
name = name === VOID ? this.
|
|
2619
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2620
|
-
isBot = isBot === VOID ? this.
|
|
2621
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2622
|
-
return $super === VOID ? this.
|
|
2621
|
+
protoOf(GameUserInfoDto).w29 = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, $super) {
|
|
2622
|
+
playerId = playerId === VOID ? this.o29_1 : playerId;
|
|
2623
|
+
name = name === VOID ? this.p29_1 : name;
|
|
2624
|
+
avatarUrl = avatarUrl === VOID ? this.q29_1 : avatarUrl;
|
|
2625
|
+
isBot = isBot === VOID ? this.r29_1 : isBot;
|
|
2626
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.s29_1 : initialLuckyFactor;
|
|
2627
|
+
return $super === VOID ? this.x29(playerId, name, avatarUrl, isBot, initialLuckyFactor) : $super.x29.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
2623
2628
|
};
|
|
2624
2629
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2625
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2630
|
+
return 'GameUserInfoDto(playerId=' + this.o29_1 + ', name=' + this.p29_1 + ', avatarUrl=' + this.q29_1 + ', isBot=' + this.r29_1 + ', initialLuckyFactor=' + this.s29_1 + ')';
|
|
2626
2631
|
};
|
|
2627
2632
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2628
|
-
var result = getStringHashCode(this.
|
|
2629
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2630
|
-
result = imul(result, 31) + (this.
|
|
2631
|
-
result = imul(result, 31) + (this.
|
|
2632
|
-
result = imul(result, 31) + (this.
|
|
2633
|
+
var result = getStringHashCode(this.o29_1);
|
|
2634
|
+
result = imul(result, 31) + getStringHashCode(this.p29_1) | 0;
|
|
2635
|
+
result = imul(result, 31) + (this.q29_1 == null ? 0 : getStringHashCode(this.q29_1)) | 0;
|
|
2636
|
+
result = imul(result, 31) + (this.r29_1 == null ? 0 : getBooleanHashCode(this.r29_1)) | 0;
|
|
2637
|
+
result = imul(result, 31) + (this.s29_1 == null ? 0 : getNumberHashCode(this.s29_1)) | 0;
|
|
2633
2638
|
return result;
|
|
2634
2639
|
};
|
|
2635
2640
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2638,15 +2643,15 @@
|
|
|
2638
2643
|
if (!(other instanceof GameUserInfoDto))
|
|
2639
2644
|
return false;
|
|
2640
2645
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2641
|
-
if (!(this.
|
|
2646
|
+
if (!(this.o29_1 === tmp0_other_with_cast.o29_1))
|
|
2642
2647
|
return false;
|
|
2643
|
-
if (!(this.
|
|
2648
|
+
if (!(this.p29_1 === tmp0_other_with_cast.p29_1))
|
|
2644
2649
|
return false;
|
|
2645
|
-
if (!(this.
|
|
2650
|
+
if (!(this.q29_1 == tmp0_other_with_cast.q29_1))
|
|
2646
2651
|
return false;
|
|
2647
|
-
if (!(this.
|
|
2652
|
+
if (!(this.r29_1 == tmp0_other_with_cast.r29_1))
|
|
2648
2653
|
return false;
|
|
2649
|
-
if (!equals(this.
|
|
2654
|
+
if (!equals(this.s29_1, tmp0_other_with_cast.s29_1))
|
|
2650
2655
|
return false;
|
|
2651
2656
|
return true;
|
|
2652
2657
|
};
|
|
@@ -2656,7 +2661,7 @@
|
|
|
2656
2661
|
// Inline function 'kotlin.arrayOf' call
|
|
2657
2662
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2658
2663
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2659
|
-
tmp.
|
|
2664
|
+
tmp.y29_1 = [null, null, null, null, null, null, null, null, new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
2660
2665
|
}
|
|
2661
2666
|
var Companion_instance_15;
|
|
2662
2667
|
function Companion_getInstance_17() {
|
|
@@ -2667,115 +2672,115 @@
|
|
|
2667
2672
|
function $serializer_6() {
|
|
2668
2673
|
$serializer_instance_6 = this;
|
|
2669
2674
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 24);
|
|
2670
|
-
tmp0_serialDesc.
|
|
2671
|
-
tmp0_serialDesc.
|
|
2672
|
-
tmp0_serialDesc.
|
|
2673
|
-
tmp0_serialDesc.
|
|
2674
|
-
tmp0_serialDesc.
|
|
2675
|
-
tmp0_serialDesc.
|
|
2676
|
-
tmp0_serialDesc.
|
|
2677
|
-
tmp0_serialDesc.
|
|
2678
|
-
tmp0_serialDesc.
|
|
2679
|
-
tmp0_serialDesc.
|
|
2680
|
-
tmp0_serialDesc.
|
|
2681
|
-
tmp0_serialDesc.
|
|
2682
|
-
tmp0_serialDesc.
|
|
2683
|
-
tmp0_serialDesc.
|
|
2684
|
-
tmp0_serialDesc.
|
|
2685
|
-
tmp0_serialDesc.
|
|
2686
|
-
tmp0_serialDesc.
|
|
2687
|
-
tmp0_serialDesc.
|
|
2688
|
-
tmp0_serialDesc.
|
|
2689
|
-
tmp0_serialDesc.
|
|
2690
|
-
tmp0_serialDesc.
|
|
2691
|
-
tmp0_serialDesc.
|
|
2692
|
-
tmp0_serialDesc.
|
|
2693
|
-
tmp0_serialDesc.
|
|
2694
|
-
this.
|
|
2675
|
+
tmp0_serialDesc.xu('needToPutHigherTrump', true);
|
|
2676
|
+
tmp0_serialDesc.xu('playerWhoChooseSuitGoFirst', true);
|
|
2677
|
+
tmp0_serialDesc.xu('winnerShuffleCards', true);
|
|
2678
|
+
tmp0_serialDesc.xu('playWithoutLiabilities', true);
|
|
2679
|
+
tmp0_serialDesc.xu('trumpCardGoToPlayerWhoShuffleCards', true);
|
|
2680
|
+
tmp0_serialDesc.xu('dealerInitialCardsCount', true);
|
|
2681
|
+
tmp0_serialDesc.xu('dealerFinalCardsCount', true);
|
|
2682
|
+
tmp0_serialDesc.xu('dealerCounterClockwise', true);
|
|
2683
|
+
tmp0_serialDesc.xu('contractTypes', true);
|
|
2684
|
+
tmp0_serialDesc.xu('bidTypes', true);
|
|
2685
|
+
tmp0_serialDesc.xu('combinationsWithFirstCard', true);
|
|
2686
|
+
tmp0_serialDesc.xu('protectBella', true);
|
|
2687
|
+
tmp0_serialDesc.xu('oneTryToProtectBella', true);
|
|
2688
|
+
tmp0_serialDesc.xu('enableFourSevensCombination', true);
|
|
2689
|
+
tmp0_serialDesc.xu('enableTrumpSevenCombination', true);
|
|
2690
|
+
tmp0_serialDesc.xu('enableTrumpSevenCombinationAfterDistribution', true);
|
|
2691
|
+
tmp0_serialDesc.xu('checkTrumpCombination', true);
|
|
2692
|
+
tmp0_serialDesc.xu('checkOnlyTrumpDebertz', true);
|
|
2693
|
+
tmp0_serialDesc.xu('distributePoints', true);
|
|
2694
|
+
tmp0_serialDesc.xu('pointsDistributeMode', true);
|
|
2695
|
+
tmp0_serialDesc.xu('enableFineIfNoBribes', true);
|
|
2696
|
+
tmp0_serialDesc.xu('fineIfNoBribes', true);
|
|
2697
|
+
tmp0_serialDesc.xu('enableFineAfterThirdByte', true);
|
|
2698
|
+
tmp0_serialDesc.xu('fineAfterThirdFailedContract', true);
|
|
2699
|
+
this.z29_1 = tmp0_serialDesc;
|
|
2695
2700
|
}
|
|
2696
|
-
protoOf($serializer_6).
|
|
2697
|
-
var tmp0_desc = this.
|
|
2698
|
-
var tmp1_output = encoder.
|
|
2699
|
-
var tmp2_cached = Companion_getInstance_17().
|
|
2700
|
-
if (tmp1_output.
|
|
2701
|
-
tmp1_output.
|
|
2701
|
+
protoOf($serializer_6).a2a = function (encoder, value) {
|
|
2702
|
+
var tmp0_desc = this.z29_1;
|
|
2703
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2704
|
+
var tmp2_cached = Companion_getInstance_17().y29_1;
|
|
2705
|
+
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.b2a_1 == null)) {
|
|
2706
|
+
tmp1_output.ap(tmp0_desc, 0, BooleanSerializer_getInstance(), value.b2a_1);
|
|
2702
2707
|
}
|
|
2703
|
-
if (tmp1_output.
|
|
2704
|
-
tmp1_output.
|
|
2708
|
+
if (tmp1_output.ep(tmp0_desc, 1) ? true : !(value.c2a_1 == null)) {
|
|
2709
|
+
tmp1_output.ap(tmp0_desc, 1, BooleanSerializer_getInstance(), value.c2a_1);
|
|
2705
2710
|
}
|
|
2706
|
-
if (tmp1_output.
|
|
2707
|
-
tmp1_output.
|
|
2711
|
+
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.d2a_1 == null)) {
|
|
2712
|
+
tmp1_output.ap(tmp0_desc, 2, BooleanSerializer_getInstance(), value.d2a_1);
|
|
2708
2713
|
}
|
|
2709
|
-
if (tmp1_output.
|
|
2710
|
-
tmp1_output.
|
|
2714
|
+
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.e2a_1 == null)) {
|
|
2715
|
+
tmp1_output.ap(tmp0_desc, 3, BooleanSerializer_getInstance(), value.e2a_1);
|
|
2711
2716
|
}
|
|
2712
|
-
if (tmp1_output.
|
|
2713
|
-
tmp1_output.
|
|
2717
|
+
if (tmp1_output.ep(tmp0_desc, 4) ? true : !(value.f2a_1 == null)) {
|
|
2718
|
+
tmp1_output.ap(tmp0_desc, 4, BooleanSerializer_getInstance(), value.f2a_1);
|
|
2714
2719
|
}
|
|
2715
|
-
if (tmp1_output.
|
|
2716
|
-
tmp1_output.
|
|
2720
|
+
if (tmp1_output.ep(tmp0_desc, 5) ? true : !(value.g2a_1 == null)) {
|
|
2721
|
+
tmp1_output.ap(tmp0_desc, 5, IntSerializer_getInstance(), value.g2a_1);
|
|
2717
2722
|
}
|
|
2718
|
-
if (tmp1_output.
|
|
2719
|
-
tmp1_output.
|
|
2723
|
+
if (tmp1_output.ep(tmp0_desc, 6) ? true : !(value.h2a_1 == null)) {
|
|
2724
|
+
tmp1_output.ap(tmp0_desc, 6, IntSerializer_getInstance(), value.h2a_1);
|
|
2720
2725
|
}
|
|
2721
|
-
if (tmp1_output.
|
|
2722
|
-
tmp1_output.
|
|
2726
|
+
if (tmp1_output.ep(tmp0_desc, 7) ? true : !(value.i2a_1 == null)) {
|
|
2727
|
+
tmp1_output.ap(tmp0_desc, 7, BooleanSerializer_getInstance(), value.i2a_1);
|
|
2723
2728
|
}
|
|
2724
|
-
if (tmp1_output.
|
|
2725
|
-
tmp1_output.
|
|
2729
|
+
if (tmp1_output.ep(tmp0_desc, 8) ? true : !(value.j2a_1 == null)) {
|
|
2730
|
+
tmp1_output.ap(tmp0_desc, 8, tmp2_cached[8], value.j2a_1);
|
|
2726
2731
|
}
|
|
2727
|
-
if (tmp1_output.
|
|
2728
|
-
tmp1_output.
|
|
2732
|
+
if (tmp1_output.ep(tmp0_desc, 9) ? true : !(value.k2a_1 == null)) {
|
|
2733
|
+
tmp1_output.ap(tmp0_desc, 9, tmp2_cached[9], value.k2a_1);
|
|
2729
2734
|
}
|
|
2730
|
-
if (tmp1_output.
|
|
2731
|
-
tmp1_output.
|
|
2735
|
+
if (tmp1_output.ep(tmp0_desc, 10) ? true : !(value.l2a_1 == null)) {
|
|
2736
|
+
tmp1_output.ap(tmp0_desc, 10, tmp2_cached[10], value.l2a_1);
|
|
2732
2737
|
}
|
|
2733
|
-
if (tmp1_output.
|
|
2734
|
-
tmp1_output.
|
|
2738
|
+
if (tmp1_output.ep(tmp0_desc, 11) ? true : !(value.m2a_1 == null)) {
|
|
2739
|
+
tmp1_output.ap(tmp0_desc, 11, BooleanSerializer_getInstance(), value.m2a_1);
|
|
2735
2740
|
}
|
|
2736
|
-
if (tmp1_output.
|
|
2737
|
-
tmp1_output.
|
|
2741
|
+
if (tmp1_output.ep(tmp0_desc, 12) ? true : !(value.n2a_1 == null)) {
|
|
2742
|
+
tmp1_output.ap(tmp0_desc, 12, BooleanSerializer_getInstance(), value.n2a_1);
|
|
2738
2743
|
}
|
|
2739
|
-
if (tmp1_output.
|
|
2740
|
-
tmp1_output.
|
|
2744
|
+
if (tmp1_output.ep(tmp0_desc, 13) ? true : !(value.o2a_1 == null)) {
|
|
2745
|
+
tmp1_output.ap(tmp0_desc, 13, BooleanSerializer_getInstance(), value.o2a_1);
|
|
2741
2746
|
}
|
|
2742
|
-
if (tmp1_output.
|
|
2743
|
-
tmp1_output.
|
|
2747
|
+
if (tmp1_output.ep(tmp0_desc, 14) ? true : !(value.p2a_1 == null)) {
|
|
2748
|
+
tmp1_output.ap(tmp0_desc, 14, BooleanSerializer_getInstance(), value.p2a_1);
|
|
2744
2749
|
}
|
|
2745
|
-
if (tmp1_output.
|
|
2746
|
-
tmp1_output.
|
|
2750
|
+
if (tmp1_output.ep(tmp0_desc, 15) ? true : !(value.q2a_1 == null)) {
|
|
2751
|
+
tmp1_output.ap(tmp0_desc, 15, BooleanSerializer_getInstance(), value.q2a_1);
|
|
2747
2752
|
}
|
|
2748
|
-
if (tmp1_output.
|
|
2749
|
-
tmp1_output.
|
|
2753
|
+
if (tmp1_output.ep(tmp0_desc, 16) ? true : !(value.r2a_1 == null)) {
|
|
2754
|
+
tmp1_output.ap(tmp0_desc, 16, BooleanSerializer_getInstance(), value.r2a_1);
|
|
2750
2755
|
}
|
|
2751
|
-
if (tmp1_output.
|
|
2752
|
-
tmp1_output.
|
|
2756
|
+
if (tmp1_output.ep(tmp0_desc, 17) ? true : !(value.s2a_1 == null)) {
|
|
2757
|
+
tmp1_output.ap(tmp0_desc, 17, BooleanSerializer_getInstance(), value.s2a_1);
|
|
2753
2758
|
}
|
|
2754
|
-
if (tmp1_output.
|
|
2755
|
-
tmp1_output.
|
|
2759
|
+
if (tmp1_output.ep(tmp0_desc, 18) ? true : !(value.t2a_1 == null)) {
|
|
2760
|
+
tmp1_output.ap(tmp0_desc, 18, BooleanSerializer_getInstance(), value.t2a_1);
|
|
2756
2761
|
}
|
|
2757
|
-
if (tmp1_output.
|
|
2758
|
-
tmp1_output.
|
|
2762
|
+
if (tmp1_output.ep(tmp0_desc, 19) ? true : !(value.u2a_1 == null)) {
|
|
2763
|
+
tmp1_output.ap(tmp0_desc, 19, StringSerializer_getInstance(), value.u2a_1);
|
|
2759
2764
|
}
|
|
2760
|
-
if (tmp1_output.
|
|
2761
|
-
tmp1_output.
|
|
2765
|
+
if (tmp1_output.ep(tmp0_desc, 20) ? true : !(value.v2a_1 == null)) {
|
|
2766
|
+
tmp1_output.ap(tmp0_desc, 20, BooleanSerializer_getInstance(), value.v2a_1);
|
|
2762
2767
|
}
|
|
2763
|
-
if (tmp1_output.
|
|
2764
|
-
tmp1_output.
|
|
2768
|
+
if (tmp1_output.ep(tmp0_desc, 21) ? true : !(value.w2a_1 == null)) {
|
|
2769
|
+
tmp1_output.ap(tmp0_desc, 21, IntSerializer_getInstance(), value.w2a_1);
|
|
2765
2770
|
}
|
|
2766
|
-
if (tmp1_output.
|
|
2767
|
-
tmp1_output.
|
|
2771
|
+
if (tmp1_output.ep(tmp0_desc, 22) ? true : !(value.x2a_1 == null)) {
|
|
2772
|
+
tmp1_output.ap(tmp0_desc, 22, BooleanSerializer_getInstance(), value.x2a_1);
|
|
2768
2773
|
}
|
|
2769
|
-
if (tmp1_output.
|
|
2770
|
-
tmp1_output.
|
|
2774
|
+
if (tmp1_output.ep(tmp0_desc, 23) ? true : !(value.y2a_1 == null)) {
|
|
2775
|
+
tmp1_output.ap(tmp0_desc, 23, IntSerializer_getInstance(), value.y2a_1);
|
|
2771
2776
|
}
|
|
2772
|
-
tmp1_output.
|
|
2777
|
+
tmp1_output.in(tmp0_desc);
|
|
2773
2778
|
};
|
|
2774
|
-
protoOf($serializer_6).
|
|
2775
|
-
return this.
|
|
2779
|
+
protoOf($serializer_6).zj = function (encoder, value) {
|
|
2780
|
+
return this.a2a(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2776
2781
|
};
|
|
2777
|
-
protoOf($serializer_6).
|
|
2778
|
-
var tmp0_desc = this.
|
|
2782
|
+
protoOf($serializer_6).ak = function (decoder) {
|
|
2783
|
+
var tmp0_desc = this.z29_1;
|
|
2779
2784
|
var tmp1_flag = true;
|
|
2780
2785
|
var tmp2_index = 0;
|
|
2781
2786
|
var tmp3_bitMask0 = 0;
|
|
@@ -2803,172 +2808,172 @@
|
|
|
2803
2808
|
var tmp25_local21 = null;
|
|
2804
2809
|
var tmp26_local22 = null;
|
|
2805
2810
|
var tmp27_local23 = null;
|
|
2806
|
-
var tmp28_input = decoder.
|
|
2807
|
-
var tmp29_cached = Companion_getInstance_17().
|
|
2808
|
-
if (tmp28_input.
|
|
2809
|
-
tmp4_local0 = tmp28_input.
|
|
2811
|
+
var tmp28_input = decoder.hn(tmp0_desc);
|
|
2812
|
+
var tmp29_cached = Companion_getInstance_17().y29_1;
|
|
2813
|
+
if (tmp28_input.xn()) {
|
|
2814
|
+
tmp4_local0 = tmp28_input.vn(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
2810
2815
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2811
|
-
tmp5_local1 = tmp28_input.
|
|
2816
|
+
tmp5_local1 = tmp28_input.vn(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
2812
2817
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2813
|
-
tmp6_local2 = tmp28_input.
|
|
2818
|
+
tmp6_local2 = tmp28_input.vn(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
2814
2819
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2815
|
-
tmp7_local3 = tmp28_input.
|
|
2820
|
+
tmp7_local3 = tmp28_input.vn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2816
2821
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2817
|
-
tmp8_local4 = tmp28_input.
|
|
2822
|
+
tmp8_local4 = tmp28_input.vn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
2818
2823
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2819
|
-
tmp9_local5 = tmp28_input.
|
|
2824
|
+
tmp9_local5 = tmp28_input.vn(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
2820
2825
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2821
|
-
tmp10_local6 = tmp28_input.
|
|
2826
|
+
tmp10_local6 = tmp28_input.vn(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
2822
2827
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2823
|
-
tmp11_local7 = tmp28_input.
|
|
2828
|
+
tmp11_local7 = tmp28_input.vn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2824
2829
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2825
|
-
tmp12_local8 = tmp28_input.
|
|
2830
|
+
tmp12_local8 = tmp28_input.vn(tmp0_desc, 8, tmp29_cached[8], tmp12_local8);
|
|
2826
2831
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2827
|
-
tmp13_local9 = tmp28_input.
|
|
2832
|
+
tmp13_local9 = tmp28_input.vn(tmp0_desc, 9, tmp29_cached[9], tmp13_local9);
|
|
2828
2833
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2829
|
-
tmp14_local10 = tmp28_input.
|
|
2834
|
+
tmp14_local10 = tmp28_input.vn(tmp0_desc, 10, tmp29_cached[10], tmp14_local10);
|
|
2830
2835
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2831
|
-
tmp15_local11 = tmp28_input.
|
|
2836
|
+
tmp15_local11 = tmp28_input.vn(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
2832
2837
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2833
|
-
tmp16_local12 = tmp28_input.
|
|
2838
|
+
tmp16_local12 = tmp28_input.vn(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
2834
2839
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2835
|
-
tmp17_local13 = tmp28_input.
|
|
2840
|
+
tmp17_local13 = tmp28_input.vn(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
2836
2841
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2837
|
-
tmp18_local14 = tmp28_input.
|
|
2842
|
+
tmp18_local14 = tmp28_input.vn(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
2838
2843
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2839
|
-
tmp19_local15 = tmp28_input.
|
|
2844
|
+
tmp19_local15 = tmp28_input.vn(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
2840
2845
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2841
|
-
tmp20_local16 = tmp28_input.
|
|
2846
|
+
tmp20_local16 = tmp28_input.vn(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
2842
2847
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2843
|
-
tmp21_local17 = tmp28_input.
|
|
2848
|
+
tmp21_local17 = tmp28_input.vn(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
2844
2849
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
2845
|
-
tmp22_local18 = tmp28_input.
|
|
2850
|
+
tmp22_local18 = tmp28_input.vn(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
2846
2851
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
2847
|
-
tmp23_local19 = tmp28_input.
|
|
2852
|
+
tmp23_local19 = tmp28_input.vn(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
2848
2853
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
2849
|
-
tmp24_local20 = tmp28_input.
|
|
2854
|
+
tmp24_local20 = tmp28_input.vn(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
2850
2855
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
2851
|
-
tmp25_local21 = tmp28_input.
|
|
2856
|
+
tmp25_local21 = tmp28_input.vn(tmp0_desc, 21, IntSerializer_getInstance(), tmp25_local21);
|
|
2852
2857
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
2853
|
-
tmp26_local22 = tmp28_input.
|
|
2858
|
+
tmp26_local22 = tmp28_input.vn(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
2854
2859
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
2855
|
-
tmp27_local23 = tmp28_input.
|
|
2860
|
+
tmp27_local23 = tmp28_input.vn(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
2856
2861
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
2857
2862
|
} else
|
|
2858
2863
|
while (tmp1_flag) {
|
|
2859
|
-
tmp2_index = tmp28_input.
|
|
2864
|
+
tmp2_index = tmp28_input.yn(tmp0_desc);
|
|
2860
2865
|
switch (tmp2_index) {
|
|
2861
2866
|
case -1:
|
|
2862
2867
|
tmp1_flag = false;
|
|
2863
2868
|
break;
|
|
2864
2869
|
case 0:
|
|
2865
|
-
tmp4_local0 = tmp28_input.
|
|
2870
|
+
tmp4_local0 = tmp28_input.vn(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
2866
2871
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2867
2872
|
break;
|
|
2868
2873
|
case 1:
|
|
2869
|
-
tmp5_local1 = tmp28_input.
|
|
2874
|
+
tmp5_local1 = tmp28_input.vn(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
2870
2875
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2871
2876
|
break;
|
|
2872
2877
|
case 2:
|
|
2873
|
-
tmp6_local2 = tmp28_input.
|
|
2878
|
+
tmp6_local2 = tmp28_input.vn(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
2874
2879
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2875
2880
|
break;
|
|
2876
2881
|
case 3:
|
|
2877
|
-
tmp7_local3 = tmp28_input.
|
|
2882
|
+
tmp7_local3 = tmp28_input.vn(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2878
2883
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2879
2884
|
break;
|
|
2880
2885
|
case 4:
|
|
2881
|
-
tmp8_local4 = tmp28_input.
|
|
2886
|
+
tmp8_local4 = tmp28_input.vn(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
2882
2887
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2883
2888
|
break;
|
|
2884
2889
|
case 5:
|
|
2885
|
-
tmp9_local5 = tmp28_input.
|
|
2890
|
+
tmp9_local5 = tmp28_input.vn(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
2886
2891
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2887
2892
|
break;
|
|
2888
2893
|
case 6:
|
|
2889
|
-
tmp10_local6 = tmp28_input.
|
|
2894
|
+
tmp10_local6 = tmp28_input.vn(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
2890
2895
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2891
2896
|
break;
|
|
2892
2897
|
case 7:
|
|
2893
|
-
tmp11_local7 = tmp28_input.
|
|
2898
|
+
tmp11_local7 = tmp28_input.vn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2894
2899
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2895
2900
|
break;
|
|
2896
2901
|
case 8:
|
|
2897
|
-
tmp12_local8 = tmp28_input.
|
|
2902
|
+
tmp12_local8 = tmp28_input.vn(tmp0_desc, 8, tmp29_cached[8], tmp12_local8);
|
|
2898
2903
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2899
2904
|
break;
|
|
2900
2905
|
case 9:
|
|
2901
|
-
tmp13_local9 = tmp28_input.
|
|
2906
|
+
tmp13_local9 = tmp28_input.vn(tmp0_desc, 9, tmp29_cached[9], tmp13_local9);
|
|
2902
2907
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2903
2908
|
break;
|
|
2904
2909
|
case 10:
|
|
2905
|
-
tmp14_local10 = tmp28_input.
|
|
2910
|
+
tmp14_local10 = tmp28_input.vn(tmp0_desc, 10, tmp29_cached[10], tmp14_local10);
|
|
2906
2911
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2907
2912
|
break;
|
|
2908
2913
|
case 11:
|
|
2909
|
-
tmp15_local11 = tmp28_input.
|
|
2914
|
+
tmp15_local11 = tmp28_input.vn(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
2910
2915
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2911
2916
|
break;
|
|
2912
2917
|
case 12:
|
|
2913
|
-
tmp16_local12 = tmp28_input.
|
|
2918
|
+
tmp16_local12 = tmp28_input.vn(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
2914
2919
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2915
2920
|
break;
|
|
2916
2921
|
case 13:
|
|
2917
|
-
tmp17_local13 = tmp28_input.
|
|
2922
|
+
tmp17_local13 = tmp28_input.vn(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
2918
2923
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2919
2924
|
break;
|
|
2920
2925
|
case 14:
|
|
2921
|
-
tmp18_local14 = tmp28_input.
|
|
2926
|
+
tmp18_local14 = tmp28_input.vn(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
2922
2927
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2923
2928
|
break;
|
|
2924
2929
|
case 15:
|
|
2925
|
-
tmp19_local15 = tmp28_input.
|
|
2930
|
+
tmp19_local15 = tmp28_input.vn(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
2926
2931
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2927
2932
|
break;
|
|
2928
2933
|
case 16:
|
|
2929
|
-
tmp20_local16 = tmp28_input.
|
|
2934
|
+
tmp20_local16 = tmp28_input.vn(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
2930
2935
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2931
2936
|
break;
|
|
2932
2937
|
case 17:
|
|
2933
|
-
tmp21_local17 = tmp28_input.
|
|
2938
|
+
tmp21_local17 = tmp28_input.vn(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
2934
2939
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
2935
2940
|
break;
|
|
2936
2941
|
case 18:
|
|
2937
|
-
tmp22_local18 = tmp28_input.
|
|
2942
|
+
tmp22_local18 = tmp28_input.vn(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
2938
2943
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
2939
2944
|
break;
|
|
2940
2945
|
case 19:
|
|
2941
|
-
tmp23_local19 = tmp28_input.
|
|
2946
|
+
tmp23_local19 = tmp28_input.vn(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
2942
2947
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
2943
2948
|
break;
|
|
2944
2949
|
case 20:
|
|
2945
|
-
tmp24_local20 = tmp28_input.
|
|
2950
|
+
tmp24_local20 = tmp28_input.vn(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
2946
2951
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
2947
2952
|
break;
|
|
2948
2953
|
case 21:
|
|
2949
|
-
tmp25_local21 = tmp28_input.
|
|
2954
|
+
tmp25_local21 = tmp28_input.vn(tmp0_desc, 21, IntSerializer_getInstance(), tmp25_local21);
|
|
2950
2955
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
2951
2956
|
break;
|
|
2952
2957
|
case 22:
|
|
2953
|
-
tmp26_local22 = tmp28_input.
|
|
2958
|
+
tmp26_local22 = tmp28_input.vn(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
2954
2959
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
2955
2960
|
break;
|
|
2956
2961
|
case 23:
|
|
2957
|
-
tmp27_local23 = tmp28_input.
|
|
2962
|
+
tmp27_local23 = tmp28_input.vn(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
2958
2963
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
2959
2964
|
break;
|
|
2960
2965
|
default:
|
|
2961
2966
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2962
2967
|
}
|
|
2963
2968
|
}
|
|
2964
|
-
tmp28_input.
|
|
2969
|
+
tmp28_input.in(tmp0_desc);
|
|
2965
2970
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, null);
|
|
2966
2971
|
};
|
|
2967
|
-
protoOf($serializer_6).
|
|
2968
|
-
return this.
|
|
2972
|
+
protoOf($serializer_6).yj = function () {
|
|
2973
|
+
return this.z29_1;
|
|
2969
2974
|
};
|
|
2970
|
-
protoOf($serializer_6).
|
|
2971
|
-
var tmp0_cached = Companion_getInstance_17().
|
|
2975
|
+
protoOf($serializer_6).mv = function () {
|
|
2976
|
+
var tmp0_cached = Companion_getInstance_17().y29_1;
|
|
2972
2977
|
// Inline function 'kotlin.arrayOf' call
|
|
2973
2978
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2974
2979
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2982,104 +2987,104 @@
|
|
|
2982
2987
|
}
|
|
2983
2988
|
function RulesDto_init_$Init$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
2984
2989
|
if (!(0 === (0 & seen0))) {
|
|
2985
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().
|
|
2990
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().z29_1);
|
|
2986
2991
|
}
|
|
2987
2992
|
if (0 === (seen0 & 1))
|
|
2988
|
-
$this.
|
|
2993
|
+
$this.b2a_1 = null;
|
|
2989
2994
|
else
|
|
2990
|
-
$this.
|
|
2995
|
+
$this.b2a_1 = needToPutHigherTrump;
|
|
2991
2996
|
if (0 === (seen0 & 2))
|
|
2992
|
-
$this.
|
|
2997
|
+
$this.c2a_1 = null;
|
|
2993
2998
|
else
|
|
2994
|
-
$this.
|
|
2999
|
+
$this.c2a_1 = playerWhoChooseSuitGoFirst;
|
|
2995
3000
|
if (0 === (seen0 & 4))
|
|
2996
|
-
$this.
|
|
3001
|
+
$this.d2a_1 = null;
|
|
2997
3002
|
else
|
|
2998
|
-
$this.
|
|
3003
|
+
$this.d2a_1 = winnerShuffleCards;
|
|
2999
3004
|
if (0 === (seen0 & 8))
|
|
3000
|
-
$this.
|
|
3005
|
+
$this.e2a_1 = null;
|
|
3001
3006
|
else
|
|
3002
|
-
$this.
|
|
3007
|
+
$this.e2a_1 = playWithoutLiabilities;
|
|
3003
3008
|
if (0 === (seen0 & 16))
|
|
3004
|
-
$this.
|
|
3009
|
+
$this.f2a_1 = null;
|
|
3005
3010
|
else
|
|
3006
|
-
$this.
|
|
3011
|
+
$this.f2a_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3007
3012
|
if (0 === (seen0 & 32))
|
|
3008
|
-
$this.
|
|
3013
|
+
$this.g2a_1 = null;
|
|
3009
3014
|
else
|
|
3010
|
-
$this.
|
|
3015
|
+
$this.g2a_1 = dealerInitialCardsCount;
|
|
3011
3016
|
if (0 === (seen0 & 64))
|
|
3012
|
-
$this.
|
|
3017
|
+
$this.h2a_1 = null;
|
|
3013
3018
|
else
|
|
3014
|
-
$this.
|
|
3019
|
+
$this.h2a_1 = dealerFinalCardsCount;
|
|
3015
3020
|
if (0 === (seen0 & 128))
|
|
3016
|
-
$this.
|
|
3021
|
+
$this.i2a_1 = null;
|
|
3017
3022
|
else
|
|
3018
|
-
$this.
|
|
3023
|
+
$this.i2a_1 = dealerCounterClockwise;
|
|
3019
3024
|
if (0 === (seen0 & 256))
|
|
3020
|
-
$this.
|
|
3025
|
+
$this.j2a_1 = null;
|
|
3021
3026
|
else
|
|
3022
|
-
$this.
|
|
3027
|
+
$this.j2a_1 = contractTypes;
|
|
3023
3028
|
if (0 === (seen0 & 512))
|
|
3024
|
-
$this.
|
|
3029
|
+
$this.k2a_1 = null;
|
|
3025
3030
|
else
|
|
3026
|
-
$this.
|
|
3031
|
+
$this.k2a_1 = bidTypes;
|
|
3027
3032
|
if (0 === (seen0 & 1024))
|
|
3028
|
-
$this.
|
|
3033
|
+
$this.l2a_1 = null;
|
|
3029
3034
|
else
|
|
3030
|
-
$this.
|
|
3035
|
+
$this.l2a_1 = combinationsWithFirstCard;
|
|
3031
3036
|
if (0 === (seen0 & 2048))
|
|
3032
|
-
$this.
|
|
3037
|
+
$this.m2a_1 = null;
|
|
3033
3038
|
else
|
|
3034
|
-
$this.
|
|
3039
|
+
$this.m2a_1 = protectBella;
|
|
3035
3040
|
if (0 === (seen0 & 4096))
|
|
3036
|
-
$this.
|
|
3041
|
+
$this.n2a_1 = null;
|
|
3037
3042
|
else
|
|
3038
|
-
$this.
|
|
3043
|
+
$this.n2a_1 = oneTryToProtectBella;
|
|
3039
3044
|
if (0 === (seen0 & 8192))
|
|
3040
|
-
$this.
|
|
3045
|
+
$this.o2a_1 = null;
|
|
3041
3046
|
else
|
|
3042
|
-
$this.
|
|
3047
|
+
$this.o2a_1 = enableFourSevensCombination;
|
|
3043
3048
|
if (0 === (seen0 & 16384))
|
|
3044
|
-
$this.
|
|
3049
|
+
$this.p2a_1 = null;
|
|
3045
3050
|
else
|
|
3046
|
-
$this.
|
|
3051
|
+
$this.p2a_1 = enableTrumpSevenCombination;
|
|
3047
3052
|
if (0 === (seen0 & 32768))
|
|
3048
|
-
$this.
|
|
3053
|
+
$this.q2a_1 = null;
|
|
3049
3054
|
else
|
|
3050
|
-
$this.
|
|
3055
|
+
$this.q2a_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3051
3056
|
if (0 === (seen0 & 65536))
|
|
3052
|
-
$this.
|
|
3057
|
+
$this.r2a_1 = null;
|
|
3053
3058
|
else
|
|
3054
|
-
$this.
|
|
3059
|
+
$this.r2a_1 = checkTrumpCombination;
|
|
3055
3060
|
if (0 === (seen0 & 131072))
|
|
3056
|
-
$this.
|
|
3061
|
+
$this.s2a_1 = null;
|
|
3057
3062
|
else
|
|
3058
|
-
$this.
|
|
3063
|
+
$this.s2a_1 = checkOnlyTrumpDebertz;
|
|
3059
3064
|
if (0 === (seen0 & 262144))
|
|
3060
|
-
$this.
|
|
3065
|
+
$this.t2a_1 = null;
|
|
3061
3066
|
else
|
|
3062
|
-
$this.
|
|
3067
|
+
$this.t2a_1 = distributePoints;
|
|
3063
3068
|
if (0 === (seen0 & 524288))
|
|
3064
|
-
$this.
|
|
3069
|
+
$this.u2a_1 = null;
|
|
3065
3070
|
else
|
|
3066
|
-
$this.
|
|
3071
|
+
$this.u2a_1 = pointsDistributeMode;
|
|
3067
3072
|
if (0 === (seen0 & 1048576))
|
|
3068
|
-
$this.
|
|
3073
|
+
$this.v2a_1 = null;
|
|
3069
3074
|
else
|
|
3070
|
-
$this.
|
|
3075
|
+
$this.v2a_1 = enableFineIfNoBribes;
|
|
3071
3076
|
if (0 === (seen0 & 2097152))
|
|
3072
|
-
$this.
|
|
3077
|
+
$this.w2a_1 = null;
|
|
3073
3078
|
else
|
|
3074
|
-
$this.
|
|
3079
|
+
$this.w2a_1 = fineIfNoBribes;
|
|
3075
3080
|
if (0 === (seen0 & 4194304))
|
|
3076
|
-
$this.
|
|
3081
|
+
$this.x2a_1 = null;
|
|
3077
3082
|
else
|
|
3078
|
-
$this.
|
|
3083
|
+
$this.x2a_1 = enableFineAfterThirdByte;
|
|
3079
3084
|
if (0 === (seen0 & 8388608))
|
|
3080
|
-
$this.
|
|
3085
|
+
$this.y2a_1 = null;
|
|
3081
3086
|
else
|
|
3082
|
-
$this.
|
|
3087
|
+
$this.y2a_1 = fineAfterThirdFailedContract;
|
|
3083
3088
|
return $this;
|
|
3084
3089
|
}
|
|
3085
3090
|
function RulesDto_init_$Create$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
@@ -3111,59 +3116,59 @@
|
|
|
3111
3116
|
fineIfNoBribes = fineIfNoBribes === VOID ? null : fineIfNoBribes;
|
|
3112
3117
|
enableFineAfterThirdByte = enableFineAfterThirdByte === VOID ? null : enableFineAfterThirdByte;
|
|
3113
3118
|
fineAfterThirdFailedContract = fineAfterThirdFailedContract === VOID ? null : fineAfterThirdFailedContract;
|
|
3114
|
-
this.
|
|
3115
|
-
this.
|
|
3116
|
-
this.
|
|
3117
|
-
this.
|
|
3118
|
-
this.
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
this.
|
|
3122
|
-
this.
|
|
3123
|
-
this.
|
|
3124
|
-
this.
|
|
3125
|
-
this.
|
|
3126
|
-
this.
|
|
3127
|
-
this.
|
|
3128
|
-
this.
|
|
3129
|
-
this.
|
|
3130
|
-
this.
|
|
3131
|
-
this.
|
|
3132
|
-
this.
|
|
3133
|
-
this.
|
|
3134
|
-
this.
|
|
3135
|
-
this.
|
|
3136
|
-
this.
|
|
3137
|
-
this.
|
|
3119
|
+
this.b2a_1 = needToPutHigherTrump;
|
|
3120
|
+
this.c2a_1 = playerWhoChooseSuitGoFirst;
|
|
3121
|
+
this.d2a_1 = winnerShuffleCards;
|
|
3122
|
+
this.e2a_1 = playWithoutLiabilities;
|
|
3123
|
+
this.f2a_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3124
|
+
this.g2a_1 = dealerInitialCardsCount;
|
|
3125
|
+
this.h2a_1 = dealerFinalCardsCount;
|
|
3126
|
+
this.i2a_1 = dealerCounterClockwise;
|
|
3127
|
+
this.j2a_1 = contractTypes;
|
|
3128
|
+
this.k2a_1 = bidTypes;
|
|
3129
|
+
this.l2a_1 = combinationsWithFirstCard;
|
|
3130
|
+
this.m2a_1 = protectBella;
|
|
3131
|
+
this.n2a_1 = oneTryToProtectBella;
|
|
3132
|
+
this.o2a_1 = enableFourSevensCombination;
|
|
3133
|
+
this.p2a_1 = enableTrumpSevenCombination;
|
|
3134
|
+
this.q2a_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3135
|
+
this.r2a_1 = checkTrumpCombination;
|
|
3136
|
+
this.s2a_1 = checkOnlyTrumpDebertz;
|
|
3137
|
+
this.t2a_1 = distributePoints;
|
|
3138
|
+
this.u2a_1 = pointsDistributeMode;
|
|
3139
|
+
this.v2a_1 = enableFineIfNoBribes;
|
|
3140
|
+
this.w2a_1 = fineIfNoBribes;
|
|
3141
|
+
this.x2a_1 = enableFineAfterThirdByte;
|
|
3142
|
+
this.y2a_1 = fineAfterThirdFailedContract;
|
|
3138
3143
|
}
|
|
3139
3144
|
protoOf(RulesDto).toString = function () {
|
|
3140
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
3145
|
+
return 'RulesDto(needToPutHigherTrump=' + this.b2a_1 + ', playerWhoChooseSuitGoFirst=' + this.c2a_1 + ', winnerShuffleCards=' + this.d2a_1 + ', playWithoutLiabilities=' + this.e2a_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.f2a_1 + ', dealerInitialCardsCount=' + this.g2a_1 + ', dealerFinalCardsCount=' + this.h2a_1 + ', dealerCounterClockwise=' + this.i2a_1 + ', contractTypes=' + toString(this.j2a_1) + ', bidTypes=' + toString(this.k2a_1) + ', combinationsWithFirstCard=' + toString(this.l2a_1) + ', protectBella=' + this.m2a_1 + ', oneTryToProtectBella=' + this.n2a_1 + ', enableFourSevensCombination=' + this.o2a_1 + ', enableTrumpSevenCombination=' + this.p2a_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.q2a_1 + ', checkTrumpCombination=' + this.r2a_1 + ', checkOnlyTrumpDebertz=' + this.s2a_1 + ', distributePoints=' + this.t2a_1 + ', pointsDistributeMode=' + this.u2a_1 + ', enableFineIfNoBribes=' + this.v2a_1 + ', fineIfNoBribes=' + this.w2a_1 + ', enableFineAfterThirdByte=' + this.x2a_1 + ', fineAfterThirdFailedContract=' + this.y2a_1 + ')';
|
|
3141
3146
|
};
|
|
3142
3147
|
protoOf(RulesDto).hashCode = function () {
|
|
3143
|
-
var result = this.
|
|
3144
|
-
result = imul(result, 31) + (this.r29_1 == null ? 0 : getBooleanHashCode(this.r29_1)) | 0;
|
|
3145
|
-
result = imul(result, 31) + (this.s29_1 == null ? 0 : getBooleanHashCode(this.s29_1)) | 0;
|
|
3146
|
-
result = imul(result, 31) + (this.t29_1 == null ? 0 : getBooleanHashCode(this.t29_1)) | 0;
|
|
3147
|
-
result = imul(result, 31) + (this.u29_1 == null ? 0 : getBooleanHashCode(this.u29_1)) | 0;
|
|
3148
|
-
result = imul(result, 31) + (this.v29_1 == null ? 0 : this.v29_1) | 0;
|
|
3149
|
-
result = imul(result, 31) + (this.w29_1 == null ? 0 : this.w29_1) | 0;
|
|
3150
|
-
result = imul(result, 31) + (this.x29_1 == null ? 0 : getBooleanHashCode(this.x29_1)) | 0;
|
|
3151
|
-
result = imul(result, 31) + (this.y29_1 == null ? 0 : hashCode(this.y29_1)) | 0;
|
|
3152
|
-
result = imul(result, 31) + (this.z29_1 == null ? 0 : hashCode(this.z29_1)) | 0;
|
|
3153
|
-
result = imul(result, 31) + (this.a2a_1 == null ? 0 : hashCode(this.a2a_1)) | 0;
|
|
3154
|
-
result = imul(result, 31) + (this.b2a_1 == null ? 0 : getBooleanHashCode(this.b2a_1)) | 0;
|
|
3148
|
+
var result = this.b2a_1 == null ? 0 : getBooleanHashCode(this.b2a_1);
|
|
3155
3149
|
result = imul(result, 31) + (this.c2a_1 == null ? 0 : getBooleanHashCode(this.c2a_1)) | 0;
|
|
3156
3150
|
result = imul(result, 31) + (this.d2a_1 == null ? 0 : getBooleanHashCode(this.d2a_1)) | 0;
|
|
3157
3151
|
result = imul(result, 31) + (this.e2a_1 == null ? 0 : getBooleanHashCode(this.e2a_1)) | 0;
|
|
3158
3152
|
result = imul(result, 31) + (this.f2a_1 == null ? 0 : getBooleanHashCode(this.f2a_1)) | 0;
|
|
3159
|
-
result = imul(result, 31) + (this.g2a_1 == null ? 0 :
|
|
3160
|
-
result = imul(result, 31) + (this.h2a_1 == null ? 0 :
|
|
3153
|
+
result = imul(result, 31) + (this.g2a_1 == null ? 0 : this.g2a_1) | 0;
|
|
3154
|
+
result = imul(result, 31) + (this.h2a_1 == null ? 0 : this.h2a_1) | 0;
|
|
3161
3155
|
result = imul(result, 31) + (this.i2a_1 == null ? 0 : getBooleanHashCode(this.i2a_1)) | 0;
|
|
3162
|
-
result = imul(result, 31) + (this.j2a_1 == null ? 0 :
|
|
3163
|
-
result = imul(result, 31) + (this.k2a_1 == null ? 0 :
|
|
3164
|
-
result = imul(result, 31) + (this.l2a_1 == null ? 0 : this.l2a_1) | 0;
|
|
3156
|
+
result = imul(result, 31) + (this.j2a_1 == null ? 0 : hashCode(this.j2a_1)) | 0;
|
|
3157
|
+
result = imul(result, 31) + (this.k2a_1 == null ? 0 : hashCode(this.k2a_1)) | 0;
|
|
3158
|
+
result = imul(result, 31) + (this.l2a_1 == null ? 0 : hashCode(this.l2a_1)) | 0;
|
|
3165
3159
|
result = imul(result, 31) + (this.m2a_1 == null ? 0 : getBooleanHashCode(this.m2a_1)) | 0;
|
|
3166
|
-
result = imul(result, 31) + (this.n2a_1 == null ? 0 : this.n2a_1) | 0;
|
|
3160
|
+
result = imul(result, 31) + (this.n2a_1 == null ? 0 : getBooleanHashCode(this.n2a_1)) | 0;
|
|
3161
|
+
result = imul(result, 31) + (this.o2a_1 == null ? 0 : getBooleanHashCode(this.o2a_1)) | 0;
|
|
3162
|
+
result = imul(result, 31) + (this.p2a_1 == null ? 0 : getBooleanHashCode(this.p2a_1)) | 0;
|
|
3163
|
+
result = imul(result, 31) + (this.q2a_1 == null ? 0 : getBooleanHashCode(this.q2a_1)) | 0;
|
|
3164
|
+
result = imul(result, 31) + (this.r2a_1 == null ? 0 : getBooleanHashCode(this.r2a_1)) | 0;
|
|
3165
|
+
result = imul(result, 31) + (this.s2a_1 == null ? 0 : getBooleanHashCode(this.s2a_1)) | 0;
|
|
3166
|
+
result = imul(result, 31) + (this.t2a_1 == null ? 0 : getBooleanHashCode(this.t2a_1)) | 0;
|
|
3167
|
+
result = imul(result, 31) + (this.u2a_1 == null ? 0 : getStringHashCode(this.u2a_1)) | 0;
|
|
3168
|
+
result = imul(result, 31) + (this.v2a_1 == null ? 0 : getBooleanHashCode(this.v2a_1)) | 0;
|
|
3169
|
+
result = imul(result, 31) + (this.w2a_1 == null ? 0 : this.w2a_1) | 0;
|
|
3170
|
+
result = imul(result, 31) + (this.x2a_1 == null ? 0 : getBooleanHashCode(this.x2a_1)) | 0;
|
|
3171
|
+
result = imul(result, 31) + (this.y2a_1 == null ? 0 : this.y2a_1) | 0;
|
|
3167
3172
|
return result;
|
|
3168
3173
|
};
|
|
3169
3174
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3172,53 +3177,53 @@
|
|
|
3172
3177
|
if (!(other instanceof RulesDto))
|
|
3173
3178
|
return false;
|
|
3174
3179
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3175
|
-
if (!(this.
|
|
3180
|
+
if (!(this.b2a_1 == tmp0_other_with_cast.b2a_1))
|
|
3176
3181
|
return false;
|
|
3177
|
-
if (!(this.
|
|
3182
|
+
if (!(this.c2a_1 == tmp0_other_with_cast.c2a_1))
|
|
3178
3183
|
return false;
|
|
3179
|
-
if (!(this.
|
|
3184
|
+
if (!(this.d2a_1 == tmp0_other_with_cast.d2a_1))
|
|
3180
3185
|
return false;
|
|
3181
|
-
if (!(this.
|
|
3186
|
+
if (!(this.e2a_1 == tmp0_other_with_cast.e2a_1))
|
|
3182
3187
|
return false;
|
|
3183
|
-
if (!(this.
|
|
3188
|
+
if (!(this.f2a_1 == tmp0_other_with_cast.f2a_1))
|
|
3184
3189
|
return false;
|
|
3185
|
-
if (!(this.
|
|
3190
|
+
if (!(this.g2a_1 == tmp0_other_with_cast.g2a_1))
|
|
3186
3191
|
return false;
|
|
3187
|
-
if (!(this.
|
|
3192
|
+
if (!(this.h2a_1 == tmp0_other_with_cast.h2a_1))
|
|
3188
3193
|
return false;
|
|
3189
|
-
if (!(this.
|
|
3194
|
+
if (!(this.i2a_1 == tmp0_other_with_cast.i2a_1))
|
|
3190
3195
|
return false;
|
|
3191
|
-
if (!equals(this.
|
|
3196
|
+
if (!equals(this.j2a_1, tmp0_other_with_cast.j2a_1))
|
|
3192
3197
|
return false;
|
|
3193
|
-
if (!equals(this.
|
|
3198
|
+
if (!equals(this.k2a_1, tmp0_other_with_cast.k2a_1))
|
|
3194
3199
|
return false;
|
|
3195
|
-
if (!equals(this.
|
|
3200
|
+
if (!equals(this.l2a_1, tmp0_other_with_cast.l2a_1))
|
|
3196
3201
|
return false;
|
|
3197
|
-
if (!(this.
|
|
3202
|
+
if (!(this.m2a_1 == tmp0_other_with_cast.m2a_1))
|
|
3198
3203
|
return false;
|
|
3199
|
-
if (!(this.
|
|
3204
|
+
if (!(this.n2a_1 == tmp0_other_with_cast.n2a_1))
|
|
3200
3205
|
return false;
|
|
3201
|
-
if (!(this.
|
|
3206
|
+
if (!(this.o2a_1 == tmp0_other_with_cast.o2a_1))
|
|
3202
3207
|
return false;
|
|
3203
|
-
if (!(this.
|
|
3208
|
+
if (!(this.p2a_1 == tmp0_other_with_cast.p2a_1))
|
|
3204
3209
|
return false;
|
|
3205
|
-
if (!(this.
|
|
3210
|
+
if (!(this.q2a_1 == tmp0_other_with_cast.q2a_1))
|
|
3206
3211
|
return false;
|
|
3207
|
-
if (!(this.
|
|
3212
|
+
if (!(this.r2a_1 == tmp0_other_with_cast.r2a_1))
|
|
3208
3213
|
return false;
|
|
3209
|
-
if (!(this.
|
|
3214
|
+
if (!(this.s2a_1 == tmp0_other_with_cast.s2a_1))
|
|
3210
3215
|
return false;
|
|
3211
|
-
if (!(this.
|
|
3216
|
+
if (!(this.t2a_1 == tmp0_other_with_cast.t2a_1))
|
|
3212
3217
|
return false;
|
|
3213
|
-
if (!(this.
|
|
3218
|
+
if (!(this.u2a_1 == tmp0_other_with_cast.u2a_1))
|
|
3214
3219
|
return false;
|
|
3215
|
-
if (!(this.
|
|
3220
|
+
if (!(this.v2a_1 == tmp0_other_with_cast.v2a_1))
|
|
3216
3221
|
return false;
|
|
3217
|
-
if (!(this.
|
|
3222
|
+
if (!(this.w2a_1 == tmp0_other_with_cast.w2a_1))
|
|
3218
3223
|
return false;
|
|
3219
|
-
if (!(this.
|
|
3224
|
+
if (!(this.x2a_1 == tmp0_other_with_cast.x2a_1))
|
|
3220
3225
|
return false;
|
|
3221
|
-
if (!(this.
|
|
3226
|
+
if (!(this.y2a_1 == tmp0_other_with_cast.y2a_1))
|
|
3222
3227
|
return false;
|
|
3223
3228
|
return true;
|
|
3224
3229
|
};
|
|
@@ -3332,8 +3337,16 @@
|
|
|
3332
3337
|
}
|
|
3333
3338
|
return single(destination);
|
|
3334
3339
|
}
|
|
3340
|
+
function previousToOrNull(_this__u8e3s4, index) {
|
|
3341
|
+
var previousItemIndex = index - 1 | 0;
|
|
3342
|
+
return previousItemIndex < 0 ? null : _this__u8e3s4.o(previousItemIndex);
|
|
3343
|
+
}
|
|
3344
|
+
function nextToOrNUll(_this__u8e3s4, index) {
|
|
3345
|
+
var nextItemIndex = index + 1 | 0;
|
|
3346
|
+
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3347
|
+
}
|
|
3335
3348
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
3336
|
-
return $this.
|
|
3349
|
+
return $this.f2b_1.a2();
|
|
3337
3350
|
}
|
|
3338
3351
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3339
3352
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3373,13 +3386,13 @@
|
|
|
3373
3386
|
Companion_instance_16 = this;
|
|
3374
3387
|
var tmp = this;
|
|
3375
3388
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3376
|
-
tmp.
|
|
3389
|
+
tmp.f2b_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3377
3390
|
}
|
|
3378
|
-
protoOf(Companion_16).
|
|
3391
|
+
protoOf(Companion_16).o17 = function () {
|
|
3379
3392
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
3380
3393
|
};
|
|
3381
|
-
protoOf(Companion_16).
|
|
3382
|
-
return this.
|
|
3394
|
+
protoOf(Companion_16).xv = function (typeParamsSerializers) {
|
|
3395
|
+
return this.o17();
|
|
3383
3396
|
};
|
|
3384
3397
|
var Companion_instance_16;
|
|
3385
3398
|
function Companion_getInstance_18() {
|
|
@@ -3432,9 +3445,9 @@
|
|
|
3432
3445
|
// Inline function 'kotlin.arrayOf' call
|
|
3433
3446
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3434
3447
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3435
|
-
tmp.
|
|
3448
|
+
tmp.l2b_1 = [Companion_getInstance_18().o17(), null, null, null, null];
|
|
3436
3449
|
}
|
|
3437
|
-
protoOf(Companion_17).
|
|
3450
|
+
protoOf(Companion_17).o17 = function () {
|
|
3438
3451
|
return $serializer_getInstance_7();
|
|
3439
3452
|
};
|
|
3440
3453
|
var Companion_instance_17;
|
|
@@ -3446,29 +3459,29 @@
|
|
|
3446
3459
|
function $serializer_7() {
|
|
3447
3460
|
$serializer_instance_7 = this;
|
|
3448
3461
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
3449
|
-
tmp0_serialDesc.
|
|
3450
|
-
tmp0_serialDesc.
|
|
3451
|
-
tmp0_serialDesc.
|
|
3452
|
-
tmp0_serialDesc.
|
|
3453
|
-
tmp0_serialDesc.
|
|
3454
|
-
this.
|
|
3455
|
-
}
|
|
3456
|
-
protoOf($serializer_7).
|
|
3457
|
-
var tmp0_desc = this.
|
|
3458
|
-
var tmp1_output = encoder.
|
|
3459
|
-
var tmp2_cached = Companion_getInstance_19().
|
|
3460
|
-
tmp1_output.
|
|
3461
|
-
tmp1_output.
|
|
3462
|
-
tmp1_output.
|
|
3463
|
-
tmp1_output.
|
|
3464
|
-
tmp1_output.
|
|
3465
|
-
tmp1_output.
|
|
3466
|
-
};
|
|
3467
|
-
protoOf($serializer_7).
|
|
3468
|
-
return this.
|
|
3469
|
-
};
|
|
3470
|
-
protoOf($serializer_7).
|
|
3471
|
-
var tmp0_desc = this.
|
|
3462
|
+
tmp0_serialDesc.xu('type', false);
|
|
3463
|
+
tmp0_serialDesc.xu('key', false);
|
|
3464
|
+
tmp0_serialDesc.xu('tag', false);
|
|
3465
|
+
tmp0_serialDesc.xu('message', false);
|
|
3466
|
+
tmp0_serialDesc.xu('stackTrace', false);
|
|
3467
|
+
this.m2b_1 = tmp0_serialDesc;
|
|
3468
|
+
}
|
|
3469
|
+
protoOf($serializer_7).n2b = function (encoder, value) {
|
|
3470
|
+
var tmp0_desc = this.m2b_1;
|
|
3471
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
3472
|
+
var tmp2_cached = Companion_getInstance_19().l2b_1;
|
|
3473
|
+
tmp1_output.yo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
3474
|
+
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
3475
|
+
tmp1_output.ap(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
3476
|
+
tmp1_output.ap(tmp0_desc, 3, StringSerializer_getInstance(), value.message);
|
|
3477
|
+
tmp1_output.ap(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
3478
|
+
tmp1_output.in(tmp0_desc);
|
|
3479
|
+
};
|
|
3480
|
+
protoOf($serializer_7).zj = function (encoder, value) {
|
|
3481
|
+
return this.n2b(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
3482
|
+
};
|
|
3483
|
+
protoOf($serializer_7).ak = function (decoder) {
|
|
3484
|
+
var tmp0_desc = this.m2b_1;
|
|
3472
3485
|
var tmp1_flag = true;
|
|
3473
3486
|
var tmp2_index = 0;
|
|
3474
3487
|
var tmp3_bitMask0 = 0;
|
|
@@ -3477,61 +3490,61 @@
|
|
|
3477
3490
|
var tmp6_local2 = null;
|
|
3478
3491
|
var tmp7_local3 = null;
|
|
3479
3492
|
var tmp8_local4 = null;
|
|
3480
|
-
var tmp9_input = decoder.
|
|
3481
|
-
var tmp10_cached = Companion_getInstance_19().
|
|
3482
|
-
if (tmp9_input.
|
|
3483
|
-
tmp4_local0 = tmp9_input.
|
|
3493
|
+
var tmp9_input = decoder.hn(tmp0_desc);
|
|
3494
|
+
var tmp10_cached = Companion_getInstance_19().l2b_1;
|
|
3495
|
+
if (tmp9_input.xn()) {
|
|
3496
|
+
tmp4_local0 = tmp9_input.tn(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
3484
3497
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3485
|
-
tmp5_local1 = tmp9_input.
|
|
3498
|
+
tmp5_local1 = tmp9_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3486
3499
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3487
|
-
tmp6_local2 = tmp9_input.
|
|
3500
|
+
tmp6_local2 = tmp9_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3488
3501
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3489
|
-
tmp7_local3 = tmp9_input.
|
|
3502
|
+
tmp7_local3 = tmp9_input.vn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3490
3503
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3491
|
-
tmp8_local4 = tmp9_input.
|
|
3504
|
+
tmp8_local4 = tmp9_input.vn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3492
3505
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3493
3506
|
} else
|
|
3494
3507
|
while (tmp1_flag) {
|
|
3495
|
-
tmp2_index = tmp9_input.
|
|
3508
|
+
tmp2_index = tmp9_input.yn(tmp0_desc);
|
|
3496
3509
|
switch (tmp2_index) {
|
|
3497
3510
|
case -1:
|
|
3498
3511
|
tmp1_flag = false;
|
|
3499
3512
|
break;
|
|
3500
3513
|
case 0:
|
|
3501
|
-
tmp4_local0 = tmp9_input.
|
|
3514
|
+
tmp4_local0 = tmp9_input.tn(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
3502
3515
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3503
3516
|
break;
|
|
3504
3517
|
case 1:
|
|
3505
|
-
tmp5_local1 = tmp9_input.
|
|
3518
|
+
tmp5_local1 = tmp9_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3506
3519
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3507
3520
|
break;
|
|
3508
3521
|
case 2:
|
|
3509
|
-
tmp6_local2 = tmp9_input.
|
|
3522
|
+
tmp6_local2 = tmp9_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3510
3523
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3511
3524
|
break;
|
|
3512
3525
|
case 3:
|
|
3513
|
-
tmp7_local3 = tmp9_input.
|
|
3526
|
+
tmp7_local3 = tmp9_input.vn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3514
3527
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3515
3528
|
break;
|
|
3516
3529
|
case 4:
|
|
3517
|
-
tmp8_local4 = tmp9_input.
|
|
3530
|
+
tmp8_local4 = tmp9_input.vn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3518
3531
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3519
3532
|
break;
|
|
3520
3533
|
default:
|
|
3521
3534
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3522
3535
|
}
|
|
3523
3536
|
}
|
|
3524
|
-
tmp9_input.
|
|
3537
|
+
tmp9_input.in(tmp0_desc);
|
|
3525
3538
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3526
3539
|
};
|
|
3527
|
-
protoOf($serializer_7).
|
|
3528
|
-
return this.
|
|
3540
|
+
protoOf($serializer_7).yj = function () {
|
|
3541
|
+
return this.m2b_1;
|
|
3529
3542
|
};
|
|
3530
|
-
protoOf($serializer_7).
|
|
3543
|
+
protoOf($serializer_7).mv = function () {
|
|
3531
3544
|
// Inline function 'kotlin.arrayOf' call
|
|
3532
3545
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3533
3546
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3534
|
-
return [Companion_getInstance_19().
|
|
3547
|
+
return [Companion_getInstance_19().l2b_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
3535
3548
|
};
|
|
3536
3549
|
var $serializer_instance_7;
|
|
3537
3550
|
function $serializer_getInstance_7() {
|
|
@@ -3541,7 +3554,7 @@
|
|
|
3541
3554
|
}
|
|
3542
3555
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
3543
3556
|
if (!(31 === (31 & seen0))) {
|
|
3544
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_7().
|
|
3557
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_7().m2b_1);
|
|
3545
3558
|
}
|
|
3546
3559
|
$this.type = type;
|
|
3547
3560
|
$this.key = key;
|
|
@@ -3561,23 +3574,23 @@
|
|
|
3561
3574
|
this.message = message;
|
|
3562
3575
|
this.stackTrace = stackTrace;
|
|
3563
3576
|
}
|
|
3564
|
-
protoOf(LoggerOutputDataDto).
|
|
3577
|
+
protoOf(LoggerOutputDataDto).a20 = function () {
|
|
3565
3578
|
return this.type;
|
|
3566
3579
|
};
|
|
3567
3580
|
protoOf(LoggerOutputDataDto).z1 = function () {
|
|
3568
3581
|
return this.key;
|
|
3569
3582
|
};
|
|
3570
|
-
protoOf(LoggerOutputDataDto).
|
|
3583
|
+
protoOf(LoggerOutputDataDto).h26 = function () {
|
|
3571
3584
|
return this.tag;
|
|
3572
3585
|
};
|
|
3573
3586
|
protoOf(LoggerOutputDataDto).e9 = function () {
|
|
3574
3587
|
return this.message;
|
|
3575
3588
|
};
|
|
3576
|
-
protoOf(LoggerOutputDataDto).
|
|
3589
|
+
protoOf(LoggerOutputDataDto).o2b = function () {
|
|
3577
3590
|
return this.stackTrace;
|
|
3578
3591
|
};
|
|
3579
3592
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
3580
|
-
var time = toLocalDateTime(System_instance.
|
|
3593
|
+
var time = toLocalDateTime(System_instance.n1g(), Companion_getInstance_0().p1w());
|
|
3581
3594
|
var tmp = time.toString();
|
|
3582
3595
|
// Inline function 'kotlin.text.lowercase' call
|
|
3583
3596
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3629,16 +3642,16 @@
|
|
|
3629
3642
|
protoOf(LoggerOutputDataDto).ad = function () {
|
|
3630
3643
|
return this.key;
|
|
3631
3644
|
};
|
|
3632
|
-
protoOf(LoggerOutputDataDto).
|
|
3645
|
+
protoOf(LoggerOutputDataDto).dh = function () {
|
|
3633
3646
|
return this.tag;
|
|
3634
3647
|
};
|
|
3635
|
-
protoOf(LoggerOutputDataDto).
|
|
3648
|
+
protoOf(LoggerOutputDataDto).e1x = function () {
|
|
3636
3649
|
return this.message;
|
|
3637
3650
|
};
|
|
3638
|
-
protoOf(LoggerOutputDataDto).
|
|
3651
|
+
protoOf(LoggerOutputDataDto).b27 = function () {
|
|
3639
3652
|
return this.stackTrace;
|
|
3640
3653
|
};
|
|
3641
|
-
protoOf(LoggerOutputDataDto).
|
|
3654
|
+
protoOf(LoggerOutputDataDto).p2b = function (type, key, tag, message, stackTrace) {
|
|
3642
3655
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
3643
3656
|
};
|
|
3644
3657
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -3647,7 +3660,7 @@
|
|
|
3647
3660
|
tag = tag === VOID ? this.tag : tag;
|
|
3648
3661
|
message = message === VOID ? this.message : message;
|
|
3649
3662
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
3650
|
-
return this.
|
|
3663
|
+
return this.p2b(type, key, tag, message, stackTrace);
|
|
3651
3664
|
};
|
|
3652
3665
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
3653
3666
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -3678,59 +3691,83 @@
|
|
|
3678
3691
|
return false;
|
|
3679
3692
|
return true;
|
|
3680
3693
|
};
|
|
3694
|
+
function mapOfObject(jsObject) {
|
|
3695
|
+
return toMap(entriesOfObject(jsObject));
|
|
3696
|
+
}
|
|
3697
|
+
function entriesOfObject(jsObject) {
|
|
3698
|
+
if (jsObject == null) {
|
|
3699
|
+
return emptyList();
|
|
3700
|
+
}
|
|
3701
|
+
// Inline function 'kotlin.collections.map' call
|
|
3702
|
+
var tmp = Object.entries;
|
|
3703
|
+
var this_0 = ((!(tmp == null) ? typeof tmp === 'function' : false) ? tmp : THROW_CCE())(jsObject);
|
|
3704
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
3705
|
+
var destination = ArrayList_init_$Create$_0(this_0.length);
|
|
3706
|
+
var inductionVariable = 0;
|
|
3707
|
+
var last = this_0.length;
|
|
3708
|
+
while (inductionVariable < last) {
|
|
3709
|
+
var item = this_0[inductionVariable];
|
|
3710
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3711
|
+
// Inline function 'com.logic.utils.entriesOfObject.<anonymous>' call
|
|
3712
|
+
var tmp_0 = item[0];
|
|
3713
|
+
var tmp$ret$0 = to((!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : THROW_CCE(), item[1]);
|
|
3714
|
+
destination.e(tmp$ret$0);
|
|
3715
|
+
}
|
|
3716
|
+
return destination;
|
|
3717
|
+
}
|
|
3681
3718
|
//region block: post-declaration
|
|
3682
|
-
protoOf($serializer).
|
|
3683
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
3719
|
+
protoOf($serializer).nv = typeParametersSerializers;
|
|
3720
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).c26);
|
|
3684
3721
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
3685
|
-
return this.
|
|
3722
|
+
return this.g26();
|
|
3686
3723
|
});
|
|
3687
3724
|
defineProp(protoOf(PlayerLostConnectionReason), 'connectionState', function () {
|
|
3688
|
-
return this.
|
|
3725
|
+
return this.i26();
|
|
3689
3726
|
});
|
|
3690
3727
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
3691
|
-
return this.
|
|
3728
|
+
return this.g26();
|
|
3692
3729
|
});
|
|
3693
3730
|
defineProp(protoOf(PlayerTimeoutReason), 'connectionState', function () {
|
|
3694
|
-
return this.
|
|
3731
|
+
return this.i26();
|
|
3695
3732
|
});
|
|
3696
3733
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
3697
|
-
return this.
|
|
3734
|
+
return this.g26();
|
|
3698
3735
|
});
|
|
3699
3736
|
defineProp(protoOf(PlayerExitReason), 'connectionState', function () {
|
|
3700
|
-
return this.
|
|
3737
|
+
return this.i26();
|
|
3701
3738
|
});
|
|
3702
3739
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).k2);
|
|
3703
3740
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).l2);
|
|
3704
3741
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).k2);
|
|
3705
3742
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).l2);
|
|
3706
3743
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
3707
|
-
return this.
|
|
3744
|
+
return this.g26();
|
|
3708
3745
|
});
|
|
3709
3746
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
3710
|
-
return this.
|
|
3747
|
+
return this.g26();
|
|
3711
3748
|
});
|
|
3712
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
3713
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
3714
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
3715
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
3716
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
3717
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
3718
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
3719
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
3720
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
3721
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
3749
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).d28);
|
|
3750
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).e28);
|
|
3751
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).f28);
|
|
3752
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).g28);
|
|
3753
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).h28);
|
|
3754
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).i28);
|
|
3755
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).j28);
|
|
3756
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).k28);
|
|
3757
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).l28);
|
|
3758
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).m28);
|
|
3722
3759
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).k2);
|
|
3723
3760
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).l2);
|
|
3724
|
-
protoOf($serializer_0).
|
|
3725
|
-
protoOf($serializer_1).
|
|
3726
|
-
protoOf($serializer_2).
|
|
3727
|
-
protoOf($serializer_3).
|
|
3728
|
-
protoOf($serializer_4).
|
|
3729
|
-
protoOf($serializer_5).
|
|
3730
|
-
protoOf($serializer_6).
|
|
3761
|
+
protoOf($serializer_0).nv = typeParametersSerializers;
|
|
3762
|
+
protoOf($serializer_1).nv = typeParametersSerializers;
|
|
3763
|
+
protoOf($serializer_2).nv = typeParametersSerializers;
|
|
3764
|
+
protoOf($serializer_3).nv = typeParametersSerializers;
|
|
3765
|
+
protoOf($serializer_4).nv = typeParametersSerializers;
|
|
3766
|
+
protoOf($serializer_5).nv = typeParametersSerializers;
|
|
3767
|
+
protoOf($serializer_6).nv = typeParametersSerializers;
|
|
3731
3768
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).k2);
|
|
3732
3769
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).l2);
|
|
3733
|
-
protoOf($serializer_7).
|
|
3770
|
+
protoOf($serializer_7).nv = typeParametersSerializers;
|
|
3734
3771
|
//endregion
|
|
3735
3772
|
//region block: init
|
|
3736
3773
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
@@ -3864,42 +3901,47 @@
|
|
|
3864
3901
|
_.$jsExportAll$ = $jsExportAll$;
|
|
3865
3902
|
_.$_$ = _.$_$ || {};
|
|
3866
3903
|
_.$_$.a = MechanicException;
|
|
3867
|
-
_.$_$.b =
|
|
3868
|
-
_.$_$.c =
|
|
3869
|
-
_.$_$.d =
|
|
3870
|
-
_.$_$.e =
|
|
3871
|
-
_.$_$.f =
|
|
3872
|
-
_.$_$.g =
|
|
3873
|
-
_.$_$.h =
|
|
3874
|
-
_.$_$.i =
|
|
3875
|
-
_.$_$.j =
|
|
3876
|
-
_.$_$.k =
|
|
3877
|
-
_.$_$.l =
|
|
3878
|
-
_.$_$.m =
|
|
3879
|
-
_.$_$.n =
|
|
3880
|
-
_.$_$.o =
|
|
3881
|
-
_.$_$.p =
|
|
3882
|
-
_.$_$.q =
|
|
3883
|
-
_.$_$.r =
|
|
3884
|
-
_.$_$.s =
|
|
3885
|
-
_.$_$.t =
|
|
3886
|
-
_.$_$.u =
|
|
3887
|
-
_.$_$.v =
|
|
3888
|
-
_.$_$.w =
|
|
3889
|
-
_.$_$.x =
|
|
3890
|
-
_.$_$.y =
|
|
3891
|
-
_.$_$.z =
|
|
3892
|
-
_.$_$.a1 =
|
|
3893
|
-
_.$_$.b1 =
|
|
3894
|
-
_.$_$.c1 =
|
|
3895
|
-
_.$_$.d1 =
|
|
3896
|
-
_.$_$.e1 =
|
|
3897
|
-
_.$_$.f1 =
|
|
3898
|
-
_.$_$.g1 =
|
|
3899
|
-
_.$_$.h1 =
|
|
3900
|
-
_.$_$.i1 =
|
|
3901
|
-
_.$_$.j1 =
|
|
3902
|
-
_.$_$.k1 =
|
|
3904
|
+
_.$_$.b = GameUserInfo;
|
|
3905
|
+
_.$_$.c = PlayerIdContract;
|
|
3906
|
+
_.$_$.d = PlayerIndex;
|
|
3907
|
+
_.$_$.e = PlayerState;
|
|
3908
|
+
_.$_$.f = Team;
|
|
3909
|
+
_.$_$.g = getPlayer;
|
|
3910
|
+
_.$_$.h = mapFromDto;
|
|
3911
|
+
_.$_$.i = mapFromDto_0;
|
|
3912
|
+
_.$_$.j = mapFromDto_8;
|
|
3913
|
+
_.$_$.k = mapToDto_0;
|
|
3914
|
+
_.$_$.l = mapToDto_8;
|
|
3915
|
+
_.$_$.m = mapToDto;
|
|
3916
|
+
_.$_$.n = RulesDto;
|
|
3917
|
+
_.$_$.o = TerminationGameReasonDto;
|
|
3918
|
+
_.$_$.p = notValidateWhenFinished;
|
|
3919
|
+
_.$_$.q = NotValidateIfGameFinished;
|
|
3920
|
+
_.$_$.r = notValidateWhenFinishing;
|
|
3921
|
+
_.$_$.s = NotValidateIfGameFinishing;
|
|
3922
|
+
_.$_$.t = BufferedAction;
|
|
3923
|
+
_.$_$.u = IgnoreBufferForAction;
|
|
3924
|
+
_.$_$.v = ReleaseBufferTriggerAction;
|
|
3925
|
+
_.$_$.w = get_actionTag;
|
|
3926
|
+
_.$_$.x = Action;
|
|
3927
|
+
_.$_$.y = enumToString;
|
|
3928
|
+
_.$_$.z = mapOfObject;
|
|
3929
|
+
_.$_$.a1 = nextToOrNUll;
|
|
3930
|
+
_.$_$.b1 = previousToOrNull;
|
|
3931
|
+
_.$_$.c1 = toDomainEnumSafe;
|
|
3932
|
+
_.$_$.d1 = toDomainEnum;
|
|
3933
|
+
_.$_$.e1 = PlayerConnectionState_LEFT_getInstance;
|
|
3934
|
+
_.$_$.f1 = PlayerConnectionState_LIVE_getInstance;
|
|
3935
|
+
_.$_$.g1 = Companion_instance_4;
|
|
3936
|
+
_.$_$.h1 = Companion_getInstance_7;
|
|
3937
|
+
_.$_$.i1 = Companion_instance_7;
|
|
3938
|
+
_.$_$.j1 = Companion_getInstance_8;
|
|
3939
|
+
_.$_$.k1 = $serializer_getInstance_5;
|
|
3940
|
+
_.$_$.l1 = $serializer_getInstance_6;
|
|
3941
|
+
_.$_$.m1 = ProcessingReasonDto_getInstance;
|
|
3942
|
+
_.$_$.n1 = Companion_getInstance_10;
|
|
3943
|
+
_.$_$.o1 = Companion_getInstance_1;
|
|
3944
|
+
_.$_$.p1 = RestartGameReason_getInstance;
|
|
3903
3945
|
//endregion
|
|
3904
3946
|
return _;
|
|
3905
3947
|
}));
|