raspberry_games_engine_helpers 1.8.342 → 1.8.346
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 +105 -117
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +881 -887
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +4592 -3613
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1260 -1256
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +855 -155
- package/Logic_Debertz-engine.js +11438 -11547
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3343 -3040
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +45 -56
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2338 -2380
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1967 -1981
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js.map +1 -1
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js.map +1 -1
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -2
- package/raspberry-cardgame-lib-core.js +56 -60
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +136 -107
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +79 -78
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
- package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-io-kotlinx-io-core.js', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-io-kotlinx-io-core.js', './raspberry-cardgame-lib-core.js', './raspberry-cardgame-lib-logger.js', './Kotlin-DateTime-library-kotlinx-datetime.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./raspberry-cardgame-lib-core.js'), require('./raspberry-cardgame-lib-logger.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Logic_Debertz-core'.");
|
|
@@ -13,106 +13,106 @@
|
|
|
13
13
|
if (typeof globalThis['kotlinx-io-kotlinx-io-core'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx-io-kotlinx-io-core' was not found. Please, check whether 'kotlinx-io-kotlinx-io-core' is loaded prior to 'Logic_Debertz-core'.");
|
|
15
15
|
}
|
|
16
|
-
if (typeof globalThis['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined') {
|
|
17
|
-
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kotlin-DateTime-library-kotlinx-datetime' was not found. Please, check whether 'Kotlin-DateTime-library-kotlinx-datetime' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
|
-
}
|
|
19
16
|
if (typeof globalThis['raspberry-cardgame-lib-core'] === 'undefined') {
|
|
20
17
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'raspberry-cardgame-lib-core' was not found. Please, check whether 'raspberry-cardgame-lib-core' is loaded prior to 'Logic_Debertz-core'.");
|
|
21
18
|
}
|
|
22
19
|
if (typeof globalThis['raspberry-cardgame-lib-logger'] === 'undefined') {
|
|
23
20
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'raspberry-cardgame-lib-logger' was not found. Please, check whether 'raspberry-cardgame-lib-logger' is loaded prior to 'Logic_Debertz-core'.");
|
|
24
21
|
}
|
|
25
|
-
|
|
22
|
+
if (typeof globalThis['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined') {
|
|
23
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kotlin-DateTime-library-kotlinx-datetime' was not found. Please, check whether 'Kotlin-DateTime-library-kotlinx-datetime' is loaded prior to 'Logic_Debertz-core'.");
|
|
24
|
+
}
|
|
25
|
+
globalThis['Logic_Debertz-core'] = factory(typeof globalThis['Logic_Debertz-core'] === 'undefined' ? {} : globalThis['Logic_Debertz-core'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlinx-io-kotlinx-io-core'], globalThis['raspberry-cardgame-lib-core'], globalThis['raspberry-cardgame-lib-logger'], globalThis['Kotlin-DateTime-library-kotlinx-datetime']);
|
|
26
26
|
}
|
|
27
|
-
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_io_core,
|
|
27
|
+
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_raspberryapps_cardgame_core, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_jetbrains_kotlinx_kotlinx_datetime) {
|
|
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.$_$.m9;
|
|
32
|
+
var initMetadataForObject = kotlin_kotlin.$_$.u8;
|
|
33
|
+
var defineProp = kotlin_kotlin.$_$.i8;
|
|
34
34
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
35
|
-
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
36
|
-
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.
|
|
37
|
-
var lazy = kotlin_kotlin.$_$.
|
|
38
|
-
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
39
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
35
|
+
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
36
|
+
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.h;
|
|
37
|
+
var lazy = kotlin_kotlin.$_$.bd;
|
|
38
|
+
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
39
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.q8;
|
|
40
40
|
var VOID = kotlin_kotlin.$_$.f;
|
|
41
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
42
|
-
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
44
|
-
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
45
|
-
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
46
|
-
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
47
|
-
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
48
|
-
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
49
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
50
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
51
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
53
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
54
|
-
var replace = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForClass = kotlin_kotlin.$_$.p8;
|
|
42
|
+
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.ic;
|
|
44
|
+
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
45
|
+
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
|
+
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
47
|
+
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
48
|
+
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
49
|
+
var Unit_instance = kotlin_kotlin.$_$.e4;
|
|
50
|
+
var objectCreate = kotlin_kotlin.$_$.l9;
|
|
51
|
+
var getStringHashCode = kotlin_kotlin.$_$.n8;
|
|
52
|
+
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
53
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
54
|
+
var replace = kotlin_kotlin.$_$.ua;
|
|
55
55
|
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
56
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
56
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.k8;
|
|
57
57
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
58
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
59
|
-
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
60
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
61
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
62
|
-
var Enum = kotlin_kotlin.$_$.
|
|
63
|
-
var Exception = kotlin_kotlin.$_$.
|
|
64
|
-
var Exception_init_$Init$ = kotlin_kotlin.$_$.
|
|
65
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
58
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.s8;
|
|
59
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
60
|
+
var THROW_IAE = kotlin_kotlin.$_$.jc;
|
|
61
|
+
var enumEntries = kotlin_kotlin.$_$.w7;
|
|
62
|
+
var Enum = kotlin_kotlin.$_$.bc;
|
|
63
|
+
var Exception = kotlin_kotlin.$_$.cc;
|
|
64
|
+
var Exception_init_$Init$ = kotlin_kotlin.$_$.z;
|
|
65
|
+
var captureStack = kotlin_kotlin.$_$.a8;
|
|
66
66
|
var toString = kotlin_kotlin.$_$.id;
|
|
67
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
68
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
69
|
-
var getNumberHashCode = kotlin_kotlin.$_$.
|
|
70
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
71
|
-
var equals = kotlin_kotlin.$_$.
|
|
72
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
73
|
-
var System_instance =
|
|
74
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
75
|
-
var Duration = kotlin_kotlin.$_$.
|
|
76
|
-
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.
|
|
77
|
-
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.
|
|
78
|
-
var round = kotlin_kotlin.$_$.
|
|
79
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
80
|
-
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.
|
|
81
|
-
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.
|
|
82
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
67
|
+
var listOfNotNull = kotlin_kotlin.$_$.o6;
|
|
68
|
+
var joinToString = kotlin_kotlin.$_$.g6;
|
|
69
|
+
var getNumberHashCode = kotlin_kotlin.$_$.l8;
|
|
70
|
+
var hashCode = kotlin_kotlin.$_$.o8;
|
|
71
|
+
var equals = kotlin_kotlin.$_$.j8;
|
|
72
|
+
var toString_0 = kotlin_kotlin.$_$.p9;
|
|
73
|
+
var System_instance = kotlin_kotlin.$_$.t3;
|
|
74
|
+
var Companion_getInstance = kotlin_kotlin.$_$.u3;
|
|
75
|
+
var Duration = kotlin_kotlin.$_$.qb;
|
|
76
|
+
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.p1;
|
|
77
|
+
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.o1;
|
|
78
|
+
var round = kotlin_kotlin.$_$.r9;
|
|
79
|
+
var numberToInt = kotlin_kotlin.$_$.j9;
|
|
80
|
+
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.r1;
|
|
81
|
+
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.n1;
|
|
82
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
83
83
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
84
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
85
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
86
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
87
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
88
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
89
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
90
|
-
var
|
|
91
|
-
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.
|
|
92
|
-
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
93
|
-
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
94
|
-
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
95
|
-
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
84
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.dd;
|
|
85
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.a5;
|
|
86
|
+
var mapCapacity = kotlin_kotlin.$_$.r6;
|
|
87
|
+
var coerceAtLeast = kotlin_kotlin.$_$.t9;
|
|
88
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
89
|
+
var ensureNotNull = kotlin_kotlin.$_$.xc;
|
|
90
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.v3;
|
|
91
|
+
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.q1;
|
|
92
|
+
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
93
|
+
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
94
|
+
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
95
|
+
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
96
96
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
97
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
98
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
99
|
-
var single = kotlin_kotlin.$_$.
|
|
100
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
101
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
97
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
98
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.z4;
|
|
99
|
+
var single = kotlin_kotlin.$_$.c7;
|
|
100
|
+
var get_lastIndex = kotlin_kotlin.$_$.j6;
|
|
101
|
+
var copyToArray = kotlin_kotlin.$_$.o5;
|
|
102
102
|
var LoggerOutput = kotlin_io_raspberryapps_cardgame_logger.$_$.a;
|
|
103
103
|
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.d;
|
|
104
|
-
var
|
|
105
|
-
var toLocalDateTime = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.
|
|
106
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
107
|
-
var toMap = kotlin_kotlin.$_$.
|
|
108
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
109
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
104
|
+
var Companion_getInstance_1 = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.a;
|
|
105
|
+
var toLocalDateTime = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
106
|
+
var charSequenceLength = kotlin_kotlin.$_$.f8;
|
|
107
|
+
var toMap = kotlin_kotlin.$_$.m7;
|
|
108
|
+
var emptyList = kotlin_kotlin.$_$.r5;
|
|
109
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
110
110
|
var to = kotlin_kotlin.$_$.jd;
|
|
111
111
|
//endregion
|
|
112
112
|
//region block: pre-declaration
|
|
113
113
|
initMetadataForObject(GameEngineConfig, 'GameEngineConfig');
|
|
114
114
|
initMetadataForCompanion(Companion, VOID, [SerializerFactory]);
|
|
115
|
-
initMetadataForClass(ContinueGameReason, 'ContinueGameReason', VOID, VOID, VOID, VOID, VOID, {0:
|
|
115
|
+
initMetadataForClass(ContinueGameReason, 'ContinueGameReason', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_2});
|
|
116
116
|
initMetadataForCompanion(Companion_0);
|
|
117
117
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
118
118
|
initMetadataForClass(PlayerReturnsReason, 'PlayerReturnsReason', VOID, ContinueGameReason, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
@@ -128,10 +128,10 @@
|
|
|
128
128
|
initMetadataForClass(PlayerTimeoutReason, 'PlayerTimeoutReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
129
129
|
initMetadataForClass(PlayerExitReason, 'PlayerExitReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
130
130
|
initMetadataForCompanion(Companion_3, VOID, [SerializerFactory]);
|
|
131
|
-
initMetadataForClass(Reason, 'Reason', VOID, Enum, VOID, VOID, VOID, {0:
|
|
131
|
+
initMetadataForClass(Reason, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_6});
|
|
132
132
|
initMetadataForClass(GameFinishedReason, 'GameFinishedReason', VOID, TerminationGameReason);
|
|
133
133
|
initMetadataForCompanion(Companion_4, VOID, [SerializerFactory]);
|
|
134
|
-
initMetadataForClass(Reason_0, 'Reason', VOID, Enum, VOID, VOID, VOID, {0:
|
|
134
|
+
initMetadataForClass(Reason_0, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_7});
|
|
135
135
|
initMetadataForClass(GameErrorReason, 'GameErrorReason', VOID, TerminationGameReason);
|
|
136
136
|
initMetadataForObject(WaitingForConnectionReason, 'WaitingForConnectionReason', VOID, TerminationGameReason);
|
|
137
137
|
initMetadataForObject(ProcessingReason, 'ProcessingReason', VOID, TerminationGameReason);
|
|
@@ -142,14 +142,14 @@
|
|
|
142
142
|
initMetadataForCompanion(Companion_5);
|
|
143
143
|
initMetadataForClass(PlayerConnection, 'PlayerConnection');
|
|
144
144
|
initMetadataForCompanion(Companion_6, VOID, [SerializerFactory]);
|
|
145
|
-
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0:
|
|
145
|
+
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_9});
|
|
146
146
|
initMetadataForCompanion(Companion_7, VOID, [SerializerFactory]);
|
|
147
|
-
initMetadataForClass(PlayerWaitingState, 'PlayerWaitingState', VOID, Enum, VOID, VOID, VOID, {0:
|
|
147
|
+
initMetadataForClass(PlayerWaitingState, 'PlayerWaitingState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_10});
|
|
148
148
|
initMetadataForCompanion(Companion_8);
|
|
149
149
|
initMetadataForClass(PlayerState, 'PlayerState');
|
|
150
150
|
initMetadataForClass(Team, 'Team');
|
|
151
151
|
initMetadataForCompanion(Companion_9, VOID, [SerializerFactory]);
|
|
152
|
-
initMetadataForClass(TerminationGameReasonDto, 'TerminationGameReasonDto', VOID, VOID, VOID, VOID, VOID, {0:
|
|
152
|
+
initMetadataForClass(TerminationGameReasonDto, 'TerminationGameReasonDto', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_12});
|
|
153
153
|
initMetadataForObject(ProcessingReasonDto, 'ProcessingReasonDto', VOID, TerminationGameReasonDto, [TerminationGameReasonDto, SerializerFactory], VOID, VOID, {0: ProcessingReasonDto_getInstance});
|
|
154
154
|
initMetadataForCompanion(Companion_10);
|
|
155
155
|
initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
181
181
|
initMetadataForClass(RulesDto, 'RulesDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
182
182
|
function get_actionTag() {
|
|
183
|
-
return
|
|
183
|
+
return toString(getKClassFromExpression(this).r9());
|
|
184
184
|
}
|
|
185
185
|
initMetadataForInterface(Action, 'Action');
|
|
186
186
|
initMetadataForInterface(BufferedAction, 'BufferedAction', VOID, VOID, [Action]);
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
initMetadataForInterface(NotValidateIfGameFinishing, 'NotValidateIfGameFinishing');
|
|
197
197
|
initMetadataForInterface(Store, 'Store');
|
|
198
198
|
initMetadataForCompanion(Companion_19, VOID, [SerializerFactory]);
|
|
199
|
-
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0:
|
|
199
|
+
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_22});
|
|
200
200
|
function observe(types, $super) {
|
|
201
201
|
var tmp;
|
|
202
202
|
if (types === VOID) {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
tmp = types;
|
|
208
208
|
}
|
|
209
209
|
types = tmp;
|
|
210
|
-
return this.
|
|
210
|
+
return $super === VOID ? this.f2f(types) : $super.f2f.call(this, types);
|
|
211
211
|
}
|
|
212
212
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
213
213
|
initMetadataForCompanion(Companion_20);
|
|
@@ -215,9 +215,9 @@
|
|
|
215
215
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
216
216
|
//endregion
|
|
217
217
|
function GameEngineConfig() {
|
|
218
|
-
this.version = '1.8.
|
|
218
|
+
this.version = '1.8.346';
|
|
219
219
|
}
|
|
220
|
-
protoOf(GameEngineConfig).
|
|
220
|
+
protoOf(GameEngineConfig).y27 = function () {
|
|
221
221
|
return this.version;
|
|
222
222
|
};
|
|
223
223
|
var GameEngineConfig_instance;
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
return GameEngineConfig_instance;
|
|
226
226
|
}
|
|
227
227
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
228
|
-
return $this.
|
|
228
|
+
return $this.n28_1.a2();
|
|
229
229
|
}
|
|
230
230
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
231
231
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -247,16 +247,16 @@
|
|
|
247
247
|
Companion_instance = this;
|
|
248
248
|
var tmp = this;
|
|
249
249
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
250
|
-
tmp.
|
|
250
|
+
tmp.n28_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
251
251
|
}
|
|
252
|
-
protoOf(Companion).
|
|
252
|
+
protoOf(Companion).p19 = function () {
|
|
253
253
|
return _get_$cachedSerializer__te6jhj(this);
|
|
254
254
|
};
|
|
255
|
-
protoOf(Companion).
|
|
256
|
-
return this.
|
|
255
|
+
protoOf(Companion).yx = function (typeParamsSerializers) {
|
|
256
|
+
return this.p19();
|
|
257
257
|
};
|
|
258
258
|
var Companion_instance;
|
|
259
|
-
function
|
|
259
|
+
function Companion_getInstance_2() {
|
|
260
260
|
if (Companion_instance == null)
|
|
261
261
|
new Companion();
|
|
262
262
|
return Companion_instance;
|
|
@@ -265,61 +265,61 @@
|
|
|
265
265
|
return $this;
|
|
266
266
|
}
|
|
267
267
|
function ContinueGameReason() {
|
|
268
|
-
|
|
268
|
+
Companion_getInstance_2();
|
|
269
269
|
}
|
|
270
270
|
function Companion_0() {
|
|
271
271
|
}
|
|
272
272
|
var Companion_instance_0;
|
|
273
|
-
function
|
|
273
|
+
function Companion_getInstance_3() {
|
|
274
274
|
return Companion_instance_0;
|
|
275
275
|
}
|
|
276
276
|
function $serializer() {
|
|
277
277
|
$serializer_instance = this;
|
|
278
278
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
279
|
-
tmp0_serialDesc.
|
|
280
|
-
this.
|
|
279
|
+
tmp0_serialDesc.yw('playerId', false);
|
|
280
|
+
this.o28_1 = tmp0_serialDesc;
|
|
281
281
|
}
|
|
282
|
-
protoOf($serializer).
|
|
283
|
-
var tmp0_desc = this.
|
|
284
|
-
var tmp1_output = encoder.
|
|
285
|
-
tmp1_output.
|
|
286
|
-
tmp1_output.
|
|
282
|
+
protoOf($serializer).p28 = function (encoder, value) {
|
|
283
|
+
var tmp0_desc = this.o28_1;
|
|
284
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
285
|
+
tmp1_output.vq(tmp0_desc, 0, value.q28_1);
|
|
286
|
+
tmp1_output.hp(tmp0_desc);
|
|
287
287
|
};
|
|
288
|
-
protoOf($serializer).
|
|
289
|
-
return this.
|
|
288
|
+
protoOf($serializer).yl = function (encoder, value) {
|
|
289
|
+
return this.p28(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
290
290
|
};
|
|
291
|
-
protoOf($serializer).
|
|
292
|
-
var tmp0_desc = this.
|
|
291
|
+
protoOf($serializer).zl = function (decoder) {
|
|
292
|
+
var tmp0_desc = this.o28_1;
|
|
293
293
|
var tmp1_flag = true;
|
|
294
294
|
var tmp2_index = 0;
|
|
295
295
|
var tmp3_bitMask0 = 0;
|
|
296
296
|
var tmp4_local0 = null;
|
|
297
|
-
var tmp5_input = decoder.
|
|
298
|
-
if (tmp5_input.
|
|
299
|
-
tmp4_local0 = tmp5_input.
|
|
297
|
+
var tmp5_input = decoder.gp(tmp0_desc);
|
|
298
|
+
if (tmp5_input.wp()) {
|
|
299
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
300
300
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
301
301
|
} else
|
|
302
302
|
while (tmp1_flag) {
|
|
303
|
-
tmp2_index = tmp5_input.
|
|
303
|
+
tmp2_index = tmp5_input.xp(tmp0_desc);
|
|
304
304
|
switch (tmp2_index) {
|
|
305
305
|
case -1:
|
|
306
306
|
tmp1_flag = false;
|
|
307
307
|
break;
|
|
308
308
|
case 0:
|
|
309
|
-
tmp4_local0 = tmp5_input.
|
|
309
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
310
310
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
311
311
|
break;
|
|
312
312
|
default:
|
|
313
313
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
tmp5_input.
|
|
316
|
+
tmp5_input.hp(tmp0_desc);
|
|
317
317
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
318
318
|
};
|
|
319
|
-
protoOf($serializer).
|
|
320
|
-
return this.
|
|
319
|
+
protoOf($serializer).xl = function () {
|
|
320
|
+
return this.o28_1;
|
|
321
321
|
};
|
|
322
|
-
protoOf($serializer).
|
|
322
|
+
protoOf($serializer).nx = function () {
|
|
323
323
|
// Inline function 'kotlin.arrayOf' call
|
|
324
324
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
325
325
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -333,10 +333,10 @@
|
|
|
333
333
|
}
|
|
334
334
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
335
335
|
if (!(1 === (1 & seen0))) {
|
|
336
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
336
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().o28_1);
|
|
337
337
|
}
|
|
338
338
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
339
|
-
$this.
|
|
339
|
+
$this.q28_1 = playerId;
|
|
340
340
|
return $this;
|
|
341
341
|
}
|
|
342
342
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -344,13 +344,13 @@
|
|
|
344
344
|
}
|
|
345
345
|
function PlayerReturnsReason(playerId) {
|
|
346
346
|
ContinueGameReason.call(this);
|
|
347
|
-
this.
|
|
347
|
+
this.q28_1 = playerId;
|
|
348
348
|
}
|
|
349
349
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
350
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
350
|
+
return 'PlayerReturnsReason(playerId=' + this.q28_1 + ')';
|
|
351
351
|
};
|
|
352
352
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
353
|
-
return getStringHashCode(this.
|
|
353
|
+
return getStringHashCode(this.q28_1);
|
|
354
354
|
};
|
|
355
355
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
356
356
|
if (this === other)
|
|
@@ -358,63 +358,63 @@
|
|
|
358
358
|
if (!(other instanceof PlayerReturnsReason))
|
|
359
359
|
return false;
|
|
360
360
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
361
|
-
if (!(this.
|
|
361
|
+
if (!(this.q28_1 === tmp0_other_with_cast.q28_1))
|
|
362
362
|
return false;
|
|
363
363
|
return true;
|
|
364
364
|
};
|
|
365
365
|
function Companion_1() {
|
|
366
366
|
}
|
|
367
367
|
var Companion_instance_1;
|
|
368
|
-
function
|
|
368
|
+
function Companion_getInstance_4() {
|
|
369
369
|
return Companion_instance_1;
|
|
370
370
|
}
|
|
371
371
|
function $serializer_0() {
|
|
372
372
|
$serializer_instance_0 = this;
|
|
373
373
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
374
|
-
tmp0_serialDesc.
|
|
375
|
-
this.
|
|
374
|
+
tmp0_serialDesc.yw('fromRound', false);
|
|
375
|
+
this.r28_1 = tmp0_serialDesc;
|
|
376
376
|
}
|
|
377
|
-
protoOf($serializer_0).
|
|
378
|
-
var tmp0_desc = this.
|
|
379
|
-
var tmp1_output = encoder.
|
|
380
|
-
tmp1_output.
|
|
381
|
-
tmp1_output.
|
|
377
|
+
protoOf($serializer_0).s28 = function (encoder, value) {
|
|
378
|
+
var tmp0_desc = this.r28_1;
|
|
379
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
380
|
+
tmp1_output.zq(tmp0_desc, 0, IntSerializer_getInstance(), value.t28_1);
|
|
381
|
+
tmp1_output.hp(tmp0_desc);
|
|
382
382
|
};
|
|
383
|
-
protoOf($serializer_0).
|
|
384
|
-
return this.
|
|
383
|
+
protoOf($serializer_0).yl = function (encoder, value) {
|
|
384
|
+
return this.s28(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
385
385
|
};
|
|
386
|
-
protoOf($serializer_0).
|
|
387
|
-
var tmp0_desc = this.
|
|
386
|
+
protoOf($serializer_0).zl = function (decoder) {
|
|
387
|
+
var tmp0_desc = this.r28_1;
|
|
388
388
|
var tmp1_flag = true;
|
|
389
389
|
var tmp2_index = 0;
|
|
390
390
|
var tmp3_bitMask0 = 0;
|
|
391
391
|
var tmp4_local0 = null;
|
|
392
|
-
var tmp5_input = decoder.
|
|
393
|
-
if (tmp5_input.
|
|
394
|
-
tmp4_local0 = tmp5_input.
|
|
392
|
+
var tmp5_input = decoder.gp(tmp0_desc);
|
|
393
|
+
if (tmp5_input.wp()) {
|
|
394
|
+
tmp4_local0 = tmp5_input.up(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
395
395
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
396
396
|
} else
|
|
397
397
|
while (tmp1_flag) {
|
|
398
|
-
tmp2_index = tmp5_input.
|
|
398
|
+
tmp2_index = tmp5_input.xp(tmp0_desc);
|
|
399
399
|
switch (tmp2_index) {
|
|
400
400
|
case -1:
|
|
401
401
|
tmp1_flag = false;
|
|
402
402
|
break;
|
|
403
403
|
case 0:
|
|
404
|
-
tmp4_local0 = tmp5_input.
|
|
404
|
+
tmp4_local0 = tmp5_input.up(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
405
405
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
406
406
|
break;
|
|
407
407
|
default:
|
|
408
408
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
tmp5_input.
|
|
411
|
+
tmp5_input.hp(tmp0_desc);
|
|
412
412
|
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
413
413
|
};
|
|
414
|
-
protoOf($serializer_0).
|
|
415
|
-
return this.
|
|
414
|
+
protoOf($serializer_0).xl = function () {
|
|
415
|
+
return this.r28_1;
|
|
416
416
|
};
|
|
417
|
-
protoOf($serializer_0).
|
|
417
|
+
protoOf($serializer_0).nx = function () {
|
|
418
418
|
// Inline function 'kotlin.arrayOf' call
|
|
419
419
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
420
420
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -428,10 +428,10 @@
|
|
|
428
428
|
}
|
|
429
429
|
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
430
430
|
if (!(1 === (1 & seen0))) {
|
|
431
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
431
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().r28_1);
|
|
432
432
|
}
|
|
433
433
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
434
|
-
$this.
|
|
434
|
+
$this.t28_1 = fromRound;
|
|
435
435
|
return $this;
|
|
436
436
|
}
|
|
437
437
|
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
@@ -439,13 +439,13 @@
|
|
|
439
439
|
}
|
|
440
440
|
function RestartRoundReason(fromRound) {
|
|
441
441
|
ContinueGameReason.call(this);
|
|
442
|
-
this.
|
|
442
|
+
this.t28_1 = fromRound;
|
|
443
443
|
}
|
|
444
444
|
protoOf(RestartRoundReason).toString = function () {
|
|
445
|
-
return 'RestartRoundReason(fromRound=' + this.
|
|
445
|
+
return 'RestartRoundReason(fromRound=' + this.t28_1 + ')';
|
|
446
446
|
};
|
|
447
447
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
448
|
-
return this.
|
|
448
|
+
return this.t28_1 == null ? 0 : this.t28_1;
|
|
449
449
|
};
|
|
450
450
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
451
451
|
if (this === other)
|
|
@@ -453,24 +453,24 @@
|
|
|
453
453
|
if (!(other instanceof RestartRoundReason))
|
|
454
454
|
return false;
|
|
455
455
|
var tmp0_other_with_cast = other instanceof RestartRoundReason ? other : THROW_CCE();
|
|
456
|
-
if (!(this.
|
|
456
|
+
if (!(this.t28_1 == tmp0_other_with_cast.t28_1))
|
|
457
457
|
return false;
|
|
458
458
|
return true;
|
|
459
459
|
};
|
|
460
460
|
function Companion_2() {
|
|
461
461
|
}
|
|
462
|
-
protoOf(Companion_2).
|
|
462
|
+
protoOf(Companion_2).u28 = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
463
463
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
464
464
|
};
|
|
465
465
|
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
466
466
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
467
|
-
return this.
|
|
467
|
+
return $super === VOID ? this.u28(fileLogsEnabled, logsDirectoryPath, fileNameFormat) : $super.u28.call(this, fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
468
468
|
};
|
|
469
469
|
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
470
470
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
471
471
|
};
|
|
472
472
|
var Companion_instance_2;
|
|
473
|
-
function
|
|
473
|
+
function Companion_getInstance_5() {
|
|
474
474
|
return Companion_instance_2;
|
|
475
475
|
}
|
|
476
476
|
function CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
@@ -483,35 +483,35 @@
|
|
|
483
483
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
484
484
|
this.fileNameFormat = fileNameFormat;
|
|
485
485
|
}
|
|
486
|
-
protoOf(CoreConfig).
|
|
486
|
+
protoOf(CoreConfig).v28 = function () {
|
|
487
487
|
return this.fileLogsEnabled;
|
|
488
488
|
};
|
|
489
|
-
protoOf(CoreConfig).
|
|
489
|
+
protoOf(CoreConfig).w28 = function () {
|
|
490
490
|
return this.deleteFilesOnClear;
|
|
491
491
|
};
|
|
492
|
-
protoOf(CoreConfig).
|
|
492
|
+
protoOf(CoreConfig).x28 = function () {
|
|
493
493
|
return this.logsDirectoryPath;
|
|
494
494
|
};
|
|
495
|
-
protoOf(CoreConfig).
|
|
495
|
+
protoOf(CoreConfig).y28 = function () {
|
|
496
496
|
return this.fileNameFormat;
|
|
497
497
|
};
|
|
498
|
-
protoOf(CoreConfig).
|
|
498
|
+
protoOf(CoreConfig).z28 = function () {
|
|
499
499
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
500
500
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
501
501
|
};
|
|
502
|
-
protoOf(CoreConfig).
|
|
502
|
+
protoOf(CoreConfig).nd = function () {
|
|
503
503
|
return this.fileLogsEnabled;
|
|
504
504
|
};
|
|
505
|
-
protoOf(CoreConfig).
|
|
505
|
+
protoOf(CoreConfig).od = function () {
|
|
506
506
|
return this.deleteFilesOnClear;
|
|
507
507
|
};
|
|
508
|
-
protoOf(CoreConfig).
|
|
508
|
+
protoOf(CoreConfig).zi = function () {
|
|
509
509
|
return this.logsDirectoryPath;
|
|
510
510
|
};
|
|
511
|
-
protoOf(CoreConfig).
|
|
511
|
+
protoOf(CoreConfig).z1z = function () {
|
|
512
512
|
return this.fileNameFormat;
|
|
513
513
|
};
|
|
514
|
-
protoOf(CoreConfig).
|
|
514
|
+
protoOf(CoreConfig).a29 = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
515
515
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
516
516
|
};
|
|
517
517
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
520
520
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
521
521
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
522
|
-
return this.
|
|
522
|
+
return $super === VOID ? this.a29(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) : $super.a29.call(this, fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
523
523
|
};
|
|
524
524
|
protoOf(CoreConfig).toString = function () {
|
|
525
525
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
return true;
|
|
549
549
|
};
|
|
550
550
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
551
|
-
return $this.
|
|
551
|
+
return $this.b29_1.a2();
|
|
552
552
|
}
|
|
553
553
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
554
554
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -562,13 +562,13 @@
|
|
|
562
562
|
RestartGameReason_instance = this;
|
|
563
563
|
var tmp = this;
|
|
564
564
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
565
|
-
tmp.
|
|
565
|
+
tmp.b29_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
566
566
|
}
|
|
567
|
-
protoOf(RestartGameReason).
|
|
567
|
+
protoOf(RestartGameReason).p19 = function () {
|
|
568
568
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
569
569
|
};
|
|
570
|
-
protoOf(RestartGameReason).
|
|
571
|
-
return this.
|
|
570
|
+
protoOf(RestartGameReason).yx = function (typeParamsSerializers) {
|
|
571
|
+
return this.p19();
|
|
572
572
|
};
|
|
573
573
|
protoOf(RestartGameReason).toString = function () {
|
|
574
574
|
return 'RestartGameReason';
|
|
@@ -594,37 +594,37 @@
|
|
|
594
594
|
}
|
|
595
595
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
596
596
|
TerminationGameReason.call(this);
|
|
597
|
-
this.
|
|
597
|
+
this.c29_1 = playerId;
|
|
598
598
|
this.tag = tag;
|
|
599
599
|
}
|
|
600
|
-
protoOf(PlayerLostConnectionReason).
|
|
601
|
-
return this.
|
|
600
|
+
protoOf(PlayerLostConnectionReason).d29 = function () {
|
|
601
|
+
return this.c29_1;
|
|
602
602
|
};
|
|
603
|
-
protoOf(PlayerLostConnectionReason).
|
|
603
|
+
protoOf(PlayerLostConnectionReason).e29 = function () {
|
|
604
604
|
return this.tag;
|
|
605
605
|
};
|
|
606
|
-
protoOf(PlayerLostConnectionReason).
|
|
606
|
+
protoOf(PlayerLostConnectionReason).f29 = function () {
|
|
607
607
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
608
608
|
};
|
|
609
|
-
protoOf(PlayerLostConnectionReason).
|
|
610
|
-
return this.
|
|
609
|
+
protoOf(PlayerLostConnectionReason).nd = function () {
|
|
610
|
+
return this.c29_1;
|
|
611
611
|
};
|
|
612
|
-
protoOf(PlayerLostConnectionReason).
|
|
612
|
+
protoOf(PlayerLostConnectionReason).od = function () {
|
|
613
613
|
return this.tag;
|
|
614
614
|
};
|
|
615
|
-
protoOf(PlayerLostConnectionReason).
|
|
615
|
+
protoOf(PlayerLostConnectionReason).g29 = function (playerId, tag) {
|
|
616
616
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
617
617
|
};
|
|
618
618
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
619
|
-
playerId = playerId === VOID ? this.
|
|
619
|
+
playerId = playerId === VOID ? this.c29_1 : playerId;
|
|
620
620
|
tag = tag === VOID ? this.tag : tag;
|
|
621
|
-
return this.
|
|
621
|
+
return $super === VOID ? this.g29(playerId, tag) : $super.g29.call(this, playerId, tag);
|
|
622
622
|
};
|
|
623
623
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
624
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
624
|
+
return 'PlayerLostConnectionReason(playerId=' + this.c29_1 + ', tag=' + this.tag + ')';
|
|
625
625
|
};
|
|
626
626
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
627
|
-
var result = getStringHashCode(this.
|
|
627
|
+
var result = getStringHashCode(this.c29_1);
|
|
628
628
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
629
629
|
return result;
|
|
630
630
|
};
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
635
635
|
return false;
|
|
636
636
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
637
|
-
if (!(this.
|
|
637
|
+
if (!(this.c29_1 === tmp0_other_with_cast.c29_1))
|
|
638
638
|
return false;
|
|
639
639
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
640
640
|
return false;
|
|
@@ -642,37 +642,37 @@
|
|
|
642
642
|
};
|
|
643
643
|
function PlayerTimeoutReason(playerId, tag) {
|
|
644
644
|
TerminationGameReason.call(this);
|
|
645
|
-
this.
|
|
645
|
+
this.h29_1 = playerId;
|
|
646
646
|
this.tag = tag;
|
|
647
647
|
}
|
|
648
|
-
protoOf(PlayerTimeoutReason).
|
|
649
|
-
return this.
|
|
648
|
+
protoOf(PlayerTimeoutReason).d29 = function () {
|
|
649
|
+
return this.h29_1;
|
|
650
650
|
};
|
|
651
|
-
protoOf(PlayerTimeoutReason).
|
|
651
|
+
protoOf(PlayerTimeoutReason).e29 = function () {
|
|
652
652
|
return this.tag;
|
|
653
653
|
};
|
|
654
|
-
protoOf(PlayerTimeoutReason).
|
|
654
|
+
protoOf(PlayerTimeoutReason).f29 = function () {
|
|
655
655
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
656
656
|
};
|
|
657
|
-
protoOf(PlayerTimeoutReason).
|
|
658
|
-
return this.
|
|
657
|
+
protoOf(PlayerTimeoutReason).nd = function () {
|
|
658
|
+
return this.h29_1;
|
|
659
659
|
};
|
|
660
|
-
protoOf(PlayerTimeoutReason).
|
|
660
|
+
protoOf(PlayerTimeoutReason).od = function () {
|
|
661
661
|
return this.tag;
|
|
662
662
|
};
|
|
663
|
-
protoOf(PlayerTimeoutReason).
|
|
663
|
+
protoOf(PlayerTimeoutReason).g29 = function (playerId, tag) {
|
|
664
664
|
return new PlayerTimeoutReason(playerId, tag);
|
|
665
665
|
};
|
|
666
666
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
667
|
-
playerId = playerId === VOID ? this.
|
|
667
|
+
playerId = playerId === VOID ? this.h29_1 : playerId;
|
|
668
668
|
tag = tag === VOID ? this.tag : tag;
|
|
669
|
-
return this.
|
|
669
|
+
return $super === VOID ? this.g29(playerId, tag) : $super.g29.call(this, playerId, tag);
|
|
670
670
|
};
|
|
671
671
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
672
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
672
|
+
return 'PlayerTimeoutReason(playerId=' + this.h29_1 + ', tag=' + this.tag + ')';
|
|
673
673
|
};
|
|
674
674
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
675
|
-
var result = getStringHashCode(this.
|
|
675
|
+
var result = getStringHashCode(this.h29_1);
|
|
676
676
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
677
677
|
return result;
|
|
678
678
|
};
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
if (!(other instanceof PlayerTimeoutReason))
|
|
683
683
|
return false;
|
|
684
684
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
685
|
-
if (!(this.
|
|
685
|
+
if (!(this.h29_1 === tmp0_other_with_cast.h29_1))
|
|
686
686
|
return false;
|
|
687
687
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
688
688
|
return false;
|
|
@@ -690,29 +690,29 @@
|
|
|
690
690
|
};
|
|
691
691
|
function PlayerExitReason(playerId) {
|
|
692
692
|
TerminationGameReason.call(this);
|
|
693
|
-
this.
|
|
693
|
+
this.i29_1 = playerId;
|
|
694
694
|
}
|
|
695
|
-
protoOf(PlayerExitReason).
|
|
696
|
-
return this.
|
|
695
|
+
protoOf(PlayerExitReason).d29 = function () {
|
|
696
|
+
return this.i29_1;
|
|
697
697
|
};
|
|
698
|
-
protoOf(PlayerExitReason).
|
|
698
|
+
protoOf(PlayerExitReason).f29 = function () {
|
|
699
699
|
return PlayerConnectionState_LEFT_getInstance();
|
|
700
700
|
};
|
|
701
|
-
protoOf(PlayerExitReason).
|
|
702
|
-
return this.
|
|
701
|
+
protoOf(PlayerExitReason).nd = function () {
|
|
702
|
+
return this.i29_1;
|
|
703
703
|
};
|
|
704
|
-
protoOf(PlayerExitReason).
|
|
704
|
+
protoOf(PlayerExitReason).j29 = function (playerId) {
|
|
705
705
|
return new PlayerExitReason(playerId);
|
|
706
706
|
};
|
|
707
707
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
708
|
-
playerId = playerId === VOID ? this.
|
|
709
|
-
return this.
|
|
708
|
+
playerId = playerId === VOID ? this.i29_1 : playerId;
|
|
709
|
+
return $super === VOID ? this.j29(playerId) : $super.j29.call(this, playerId);
|
|
710
710
|
};
|
|
711
711
|
protoOf(PlayerExitReason).toString = function () {
|
|
712
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
712
|
+
return 'PlayerExitReason(playerId=' + this.i29_1 + ')';
|
|
713
713
|
};
|
|
714
714
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
715
|
-
return getStringHashCode(this.
|
|
715
|
+
return getStringHashCode(this.i29_1);
|
|
716
716
|
};
|
|
717
717
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
718
718
|
if (this === other)
|
|
@@ -720,14 +720,14 @@
|
|
|
720
720
|
if (!(other instanceof PlayerExitReason))
|
|
721
721
|
return false;
|
|
722
722
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
723
|
-
if (!(this.
|
|
723
|
+
if (!(this.i29_1 === tmp0_other_with_cast.i29_1))
|
|
724
724
|
return false;
|
|
725
725
|
return true;
|
|
726
726
|
};
|
|
727
727
|
function FinishPlayerReason() {
|
|
728
728
|
}
|
|
729
729
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
730
|
-
return $this.
|
|
730
|
+
return $this.k29_1.a2();
|
|
731
731
|
}
|
|
732
732
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
733
733
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -770,16 +770,16 @@
|
|
|
770
770
|
Companion_instance_3 = this;
|
|
771
771
|
var tmp = this;
|
|
772
772
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
773
|
-
tmp.
|
|
773
|
+
tmp.k29_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
774
774
|
}
|
|
775
|
-
protoOf(Companion_3).
|
|
775
|
+
protoOf(Companion_3).p19 = function () {
|
|
776
776
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
777
777
|
};
|
|
778
|
-
protoOf(Companion_3).
|
|
779
|
-
return this.
|
|
778
|
+
protoOf(Companion_3).yx = function (typeParamsSerializers) {
|
|
779
|
+
return this.p19();
|
|
780
780
|
};
|
|
781
781
|
var Companion_instance_3;
|
|
782
|
-
function
|
|
782
|
+
function Companion_getInstance_6() {
|
|
783
783
|
Reason_initEntries();
|
|
784
784
|
if (Companion_instance_3 == null)
|
|
785
785
|
new Companion_3();
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 3);
|
|
797
797
|
Reason_REVENGED_instance = new Reason('REVENGED', 4);
|
|
798
798
|
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 5);
|
|
799
|
-
|
|
799
|
+
Companion_getInstance_6();
|
|
800
800
|
}
|
|
801
801
|
var $ENTRIES;
|
|
802
802
|
function Reason(name, ordinal) {
|
|
@@ -830,18 +830,18 @@
|
|
|
830
830
|
TerminationGameReason.call(this);
|
|
831
831
|
this.reason = reason;
|
|
832
832
|
}
|
|
833
|
-
protoOf(GameFinishedReason).
|
|
833
|
+
protoOf(GameFinishedReason).n29 = function () {
|
|
834
834
|
return this.reason;
|
|
835
835
|
};
|
|
836
|
-
protoOf(GameFinishedReason).
|
|
836
|
+
protoOf(GameFinishedReason).nd = function () {
|
|
837
837
|
return this.reason;
|
|
838
838
|
};
|
|
839
|
-
protoOf(GameFinishedReason).
|
|
839
|
+
protoOf(GameFinishedReason).o29 = function (reason) {
|
|
840
840
|
return new GameFinishedReason(reason);
|
|
841
841
|
};
|
|
842
842
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
843
843
|
reason = reason === VOID ? this.reason : reason;
|
|
844
|
-
return this.
|
|
844
|
+
return $super === VOID ? this.o29(reason) : $super.o29.call(this, reason);
|
|
845
845
|
};
|
|
846
846
|
protoOf(GameFinishedReason).toString = function () {
|
|
847
847
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -860,7 +860,7 @@
|
|
|
860
860
|
return true;
|
|
861
861
|
};
|
|
862
862
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
863
|
-
return $this.
|
|
863
|
+
return $this.p29_1.a2();
|
|
864
864
|
}
|
|
865
865
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
866
866
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -903,16 +903,16 @@
|
|
|
903
903
|
Companion_instance_4 = this;
|
|
904
904
|
var tmp = this;
|
|
905
905
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
906
|
-
tmp.
|
|
906
|
+
tmp.p29_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
907
907
|
}
|
|
908
|
-
protoOf(Companion_4).
|
|
908
|
+
protoOf(Companion_4).p19 = function () {
|
|
909
909
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
910
910
|
};
|
|
911
|
-
protoOf(Companion_4).
|
|
912
|
-
return this.
|
|
911
|
+
protoOf(Companion_4).yx = function (typeParamsSerializers) {
|
|
912
|
+
return this.p19();
|
|
913
913
|
};
|
|
914
914
|
var Companion_instance_4;
|
|
915
|
-
function
|
|
915
|
+
function Companion_getInstance_7() {
|
|
916
916
|
Reason_initEntries_0();
|
|
917
917
|
if (Companion_instance_4 == null)
|
|
918
918
|
new Companion_4();
|
|
@@ -929,7 +929,7 @@
|
|
|
929
929
|
Reason_WRONG_PLAYER_TURN_instance = new Reason_0('WRONG_PLAYER_TURN', 3);
|
|
930
930
|
Reason_DUPLICATED_PLAYER_ANSWER_instance = new Reason_0('DUPLICATED_PLAYER_ANSWER', 4);
|
|
931
931
|
Reason_PLAYER_DISCONNECTED_instance = new Reason_0('PLAYER_DISCONNECTED', 5);
|
|
932
|
-
|
|
932
|
+
Companion_getInstance_7();
|
|
933
933
|
}
|
|
934
934
|
var $ENTRIES_0;
|
|
935
935
|
function Reason_0(name, ordinal) {
|
|
@@ -963,18 +963,18 @@
|
|
|
963
963
|
TerminationGameReason.call(this);
|
|
964
964
|
this.reason = reason;
|
|
965
965
|
}
|
|
966
|
-
protoOf(GameErrorReason).
|
|
966
|
+
protoOf(GameErrorReason).n29 = function () {
|
|
967
967
|
return this.reason;
|
|
968
968
|
};
|
|
969
|
-
protoOf(GameErrorReason).
|
|
969
|
+
protoOf(GameErrorReason).nd = function () {
|
|
970
970
|
return this.reason;
|
|
971
971
|
};
|
|
972
|
-
protoOf(GameErrorReason).
|
|
972
|
+
protoOf(GameErrorReason).s29 = function (reason) {
|
|
973
973
|
return new GameErrorReason(reason);
|
|
974
974
|
};
|
|
975
975
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
976
976
|
reason = reason === VOID ? this.reason : reason;
|
|
977
|
-
return this.
|
|
977
|
+
return $super === VOID ? this.s29(reason) : $super.s29.call(this, reason);
|
|
978
978
|
};
|
|
979
979
|
protoOf(GameErrorReason).toString = function () {
|
|
980
980
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -1050,7 +1050,7 @@
|
|
|
1050
1050
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1051
1051
|
rating = rating === VOID ? null : rating;
|
|
1052
1052
|
payload = payload === VOID ? null : payload;
|
|
1053
|
-
this.
|
|
1053
|
+
this.t29_1 = playerId;
|
|
1054
1054
|
this.name = name;
|
|
1055
1055
|
this.avatarUrl = avatarUrl;
|
|
1056
1056
|
this.isBot = isBot;
|
|
@@ -1058,25 +1058,25 @@
|
|
|
1058
1058
|
this.rating = rating;
|
|
1059
1059
|
this.payload = payload;
|
|
1060
1060
|
}
|
|
1061
|
-
protoOf(GameUserInfo).
|
|
1062
|
-
return this.
|
|
1061
|
+
protoOf(GameUserInfo).d29 = function () {
|
|
1062
|
+
return this.t29_1;
|
|
1063
1063
|
};
|
|
1064
1064
|
protoOf(GameUserInfo).k2 = function () {
|
|
1065
1065
|
return this.name;
|
|
1066
1066
|
};
|
|
1067
|
-
protoOf(GameUserInfo).
|
|
1067
|
+
protoOf(GameUserInfo).u29 = function () {
|
|
1068
1068
|
return this.avatarUrl;
|
|
1069
1069
|
};
|
|
1070
|
-
protoOf(GameUserInfo).
|
|
1070
|
+
protoOf(GameUserInfo).v29 = function () {
|
|
1071
1071
|
return this.isBot;
|
|
1072
1072
|
};
|
|
1073
|
-
protoOf(GameUserInfo).
|
|
1073
|
+
protoOf(GameUserInfo).w29 = function () {
|
|
1074
1074
|
return this.initialLuckyFactor;
|
|
1075
1075
|
};
|
|
1076
|
-
protoOf(GameUserInfo).
|
|
1076
|
+
protoOf(GameUserInfo).x29 = function () {
|
|
1077
1077
|
return this.rating;
|
|
1078
1078
|
};
|
|
1079
|
-
protoOf(GameUserInfo).
|
|
1079
|
+
protoOf(GameUserInfo).y29 = function () {
|
|
1080
1080
|
return this.payload;
|
|
1081
1081
|
};
|
|
1082
1082
|
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
@@ -1084,13 +1084,11 @@
|
|
|
1084
1084
|
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1085
1085
|
};
|
|
1086
1086
|
protoOf(GameUserInfo).toString = function () {
|
|
1087
|
-
var tmp = 'playerId=' + this.
|
|
1087
|
+
var tmp = 'playerId=' + this.t29_1;
|
|
1088
1088
|
var tmp_0 = 'name=' + this.name;
|
|
1089
1089
|
// Inline function 'kotlin.takeIf' call
|
|
1090
1090
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
1091
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1092
1091
|
var tmp_1;
|
|
1093
|
-
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1094
1092
|
if (!(this.avatarUrl == null)) {
|
|
1095
1093
|
tmp_1 = this_0;
|
|
1096
1094
|
} else {
|
|
@@ -1099,9 +1097,7 @@
|
|
|
1099
1097
|
var tmp_2 = tmp_1;
|
|
1100
1098
|
// Inline function 'kotlin.takeIf' call
|
|
1101
1099
|
var this_1 = 'isBot=' + this.isBot;
|
|
1102
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1103
1100
|
var tmp_3;
|
|
1104
|
-
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1105
1101
|
if (this.isBot) {
|
|
1106
1102
|
tmp_3 = this_1;
|
|
1107
1103
|
} else {
|
|
@@ -1110,9 +1106,7 @@
|
|
|
1110
1106
|
var tmp_4 = tmp_3;
|
|
1111
1107
|
// Inline function 'kotlin.takeIf' call
|
|
1112
1108
|
var this_2 = 'factor=' + this.initialLuckyFactor;
|
|
1113
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1114
1109
|
var tmp_5;
|
|
1115
|
-
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1116
1110
|
if (!(this.initialLuckyFactor == null)) {
|
|
1117
1111
|
tmp_5 = this_2;
|
|
1118
1112
|
} else {
|
|
@@ -1121,9 +1115,7 @@
|
|
|
1121
1115
|
var tmp_6 = tmp_5;
|
|
1122
1116
|
// Inline function 'kotlin.takeIf' call
|
|
1123
1117
|
var this_3 = 'rating=' + this.rating;
|
|
1124
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1125
1118
|
var tmp_7;
|
|
1126
|
-
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1127
1119
|
if (!(this.rating == null)) {
|
|
1128
1120
|
tmp_7 = this_3;
|
|
1129
1121
|
} else {
|
|
@@ -1132,9 +1124,7 @@
|
|
|
1132
1124
|
var tmp_8 = tmp_7;
|
|
1133
1125
|
// Inline function 'kotlin.takeIf' call
|
|
1134
1126
|
var this_4 = 'payload=' + toString(this.payload);
|
|
1135
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1136
1127
|
var tmp_9;
|
|
1137
|
-
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1138
1128
|
if (!(this.payload == null)) {
|
|
1139
1129
|
tmp_9 = this_4;
|
|
1140
1130
|
} else {
|
|
@@ -1143,42 +1133,42 @@
|
|
|
1143
1133
|
var tmp$ret$9 = tmp_9;
|
|
1144
1134
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1145
1135
|
};
|
|
1146
|
-
protoOf(GameUserInfo).
|
|
1147
|
-
return this.
|
|
1136
|
+
protoOf(GameUserInfo).nd = function () {
|
|
1137
|
+
return this.t29_1;
|
|
1148
1138
|
};
|
|
1149
|
-
protoOf(GameUserInfo).
|
|
1139
|
+
protoOf(GameUserInfo).od = function () {
|
|
1150
1140
|
return this.name;
|
|
1151
1141
|
};
|
|
1152
|
-
protoOf(GameUserInfo).
|
|
1142
|
+
protoOf(GameUserInfo).zi = function () {
|
|
1153
1143
|
return this.avatarUrl;
|
|
1154
1144
|
};
|
|
1155
|
-
protoOf(GameUserInfo).
|
|
1145
|
+
protoOf(GameUserInfo).z1z = function () {
|
|
1156
1146
|
return this.isBot;
|
|
1157
1147
|
};
|
|
1158
|
-
protoOf(GameUserInfo).
|
|
1148
|
+
protoOf(GameUserInfo).z29 = function () {
|
|
1159
1149
|
return this.initialLuckyFactor;
|
|
1160
1150
|
};
|
|
1161
|
-
protoOf(GameUserInfo).
|
|
1151
|
+
protoOf(GameUserInfo).a2a = function () {
|
|
1162
1152
|
return this.rating;
|
|
1163
1153
|
};
|
|
1164
|
-
protoOf(GameUserInfo).
|
|
1154
|
+
protoOf(GameUserInfo).b2a = function () {
|
|
1165
1155
|
return this.payload;
|
|
1166
1156
|
};
|
|
1167
|
-
protoOf(GameUserInfo).
|
|
1157
|
+
protoOf(GameUserInfo).c2a = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1168
1158
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1169
1159
|
};
|
|
1170
1160
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1171
|
-
playerId = playerId === VOID ? this.
|
|
1161
|
+
playerId = playerId === VOID ? this.t29_1 : playerId;
|
|
1172
1162
|
name = name === VOID ? this.name : name;
|
|
1173
1163
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1174
1164
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1175
1165
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1176
1166
|
rating = rating === VOID ? this.rating : rating;
|
|
1177
1167
|
payload = payload === VOID ? this.payload : payload;
|
|
1178
|
-
return this.
|
|
1168
|
+
return $super === VOID ? this.c2a(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) : $super.c2a.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1179
1169
|
};
|
|
1180
1170
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1181
|
-
var result = getStringHashCode(this.
|
|
1171
|
+
var result = getStringHashCode(this.t29_1);
|
|
1182
1172
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1183
1173
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1184
1174
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1193,7 +1183,7 @@
|
|
|
1193
1183
|
if (!(other instanceof GameUserInfo))
|
|
1194
1184
|
return false;
|
|
1195
1185
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1196
|
-
if (!(this.
|
|
1186
|
+
if (!(this.t29_1 === tmp0_other_with_cast.t29_1))
|
|
1197
1187
|
return false;
|
|
1198
1188
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1199
1189
|
return false;
|
|
@@ -1219,16 +1209,16 @@
|
|
|
1219
1209
|
}
|
|
1220
1210
|
function getPlayer(_this__u8e3s4, id) {
|
|
1221
1211
|
_init_properties_Player_kt__qi83pd();
|
|
1212
|
+
var tmp2 = get_byIdPlayerPredicate()(id);
|
|
1222
1213
|
var tmp$ret$0;
|
|
1223
1214
|
$l$block_0: {
|
|
1224
1215
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
1225
|
-
var predicate = get_byIdPlayerPredicate()(id);
|
|
1226
1216
|
var single = null;
|
|
1227
1217
|
var found = false;
|
|
1228
|
-
var
|
|
1229
|
-
while (
|
|
1230
|
-
var element =
|
|
1231
|
-
if (
|
|
1218
|
+
var _iterator__ex2g4s = _this__u8e3s4.j();
|
|
1219
|
+
while (_iterator__ex2g4s.k()) {
|
|
1220
|
+
var element = _iterator__ex2g4s.l();
|
|
1221
|
+
if (tmp2(element)) {
|
|
1232
1222
|
if (found) {
|
|
1233
1223
|
tmp$ret$0 = null;
|
|
1234
1224
|
break $l$block_0;
|
|
@@ -1253,19 +1243,19 @@
|
|
|
1253
1243
|
_init_properties_Player_kt__qi83pd();
|
|
1254
1244
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1255
1245
|
}
|
|
1256
|
-
function PlayerIndex(playerId,
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1246
|
+
function PlayerIndex(playerId, playerIndex) {
|
|
1247
|
+
this.d2a_1 = playerId;
|
|
1248
|
+
this.e2a_1 = playerIndex;
|
|
1259
1249
|
}
|
|
1260
|
-
protoOf(PlayerIndex).
|
|
1261
|
-
return this.
|
|
1250
|
+
protoOf(PlayerIndex).d29 = function () {
|
|
1251
|
+
return this.d2a_1;
|
|
1262
1252
|
};
|
|
1263
1253
|
protoOf(PlayerIndex).toString = function () {
|
|
1264
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1254
|
+
return 'PlayerIndex(playerId=' + this.d2a_1 + ', playerIndex=' + this.e2a_1 + ')';
|
|
1265
1255
|
};
|
|
1266
1256
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1267
|
-
var result = getStringHashCode(this.
|
|
1268
|
-
result = imul(result, 31) + this.
|
|
1257
|
+
var result = getStringHashCode(this.d2a_1);
|
|
1258
|
+
result = imul(result, 31) + this.e2a_1 | 0;
|
|
1269
1259
|
return result;
|
|
1270
1260
|
};
|
|
1271
1261
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1274,9 +1264,9 @@
|
|
|
1274
1264
|
if (!(other instanceof PlayerIndex))
|
|
1275
1265
|
return false;
|
|
1276
1266
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1277
|
-
if (!(this.
|
|
1267
|
+
if (!(this.d2a_1 === tmp0_other_with_cast.d2a_1))
|
|
1278
1268
|
return false;
|
|
1279
|
-
if (!(this.
|
|
1269
|
+
if (!(this.e2a_1 === tmp0_other_with_cast.e2a_1))
|
|
1280
1270
|
return false;
|
|
1281
1271
|
return true;
|
|
1282
1272
|
};
|
|
@@ -1291,7 +1281,7 @@
|
|
|
1291
1281
|
}
|
|
1292
1282
|
function playerTurnPredicate$lambda(p1) {
|
|
1293
1283
|
_init_properties_Player_kt__qi83pd();
|
|
1294
|
-
return p1.
|
|
1284
|
+
return p1.f2a().n2a();
|
|
1295
1285
|
}
|
|
1296
1286
|
var properties_initialized_Player_kt_56shkt;
|
|
1297
1287
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1302,61 +1292,61 @@
|
|
|
1302
1292
|
}
|
|
1303
1293
|
}
|
|
1304
1294
|
function Companion_5() {
|
|
1305
|
-
this.
|
|
1295
|
+
this.o2a_1 = 70;
|
|
1306
1296
|
}
|
|
1307
|
-
protoOf(Companion_5).
|
|
1308
|
-
return new PlayerConnection(state, System_instance.
|
|
1297
|
+
protoOf(Companion_5).p2a = function (state, timeout) {
|
|
1298
|
+
return new PlayerConnection(state, System_instance.eh().uh(timeout));
|
|
1309
1299
|
};
|
|
1310
|
-
protoOf(Companion_5).
|
|
1311
|
-
timeout = timeout === VOID ? Companion_getInstance().
|
|
1312
|
-
return $super === VOID ? this.
|
|
1300
|
+
protoOf(Companion_5).q2a = function (state, timeout, $super) {
|
|
1301
|
+
timeout = timeout === VOID ? Companion_getInstance().fh_1 : timeout;
|
|
1302
|
+
return $super === VOID ? this.p2a(state, timeout) : $super.p2a.call(this, state, new Duration(timeout));
|
|
1313
1303
|
};
|
|
1314
1304
|
var Companion_instance_5;
|
|
1315
|
-
function
|
|
1305
|
+
function Companion_getInstance_8() {
|
|
1316
1306
|
return Companion_instance_5;
|
|
1317
1307
|
}
|
|
1318
1308
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1319
|
-
connectionChangedTime = connectionChangedTime === VOID ? System_instance.
|
|
1320
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().
|
|
1321
|
-
this.
|
|
1322
|
-
this.
|
|
1323
|
-
this.
|
|
1309
|
+
connectionChangedTime = connectionChangedTime === VOID ? System_instance.eh() : connectionChangedTime;
|
|
1310
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().fh_1 : notLiveDurationRecord;
|
|
1311
|
+
this.r2a_1 = state;
|
|
1312
|
+
this.s2a_1 = connectionChangedTime;
|
|
1313
|
+
this.t2a_1 = notLiveDurationRecord;
|
|
1324
1314
|
}
|
|
1325
|
-
protoOf(PlayerConnection).
|
|
1326
|
-
return System_instance.
|
|
1315
|
+
protoOf(PlayerConnection).u2a = function () {
|
|
1316
|
+
return System_instance.eh().vh(this.s2a_1);
|
|
1327
1317
|
};
|
|
1328
|
-
protoOf(PlayerConnection).
|
|
1318
|
+
protoOf(PlayerConnection).v2a = function () {
|
|
1329
1319
|
var tmp;
|
|
1330
|
-
if (this.
|
|
1331
|
-
tmp = this.
|
|
1320
|
+
if (this.r2a_1.isLive) {
|
|
1321
|
+
tmp = this.t2a_1;
|
|
1332
1322
|
} else {
|
|
1333
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1323
|
+
tmp = Duration__plus_impl_yu9v8f(this.t2a_1, this.u2a());
|
|
1334
1324
|
}
|
|
1335
1325
|
return tmp;
|
|
1336
1326
|
};
|
|
1337
|
-
protoOf(PlayerConnection).
|
|
1327
|
+
protoOf(PlayerConnection).w2a = function (gameDuration) {
|
|
1338
1328
|
// Inline function 'kotlin.Long.div' call
|
|
1339
|
-
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).
|
|
1340
|
-
// Inline function 'kotlin.math.round' call
|
|
1329
|
+
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).i3() / 100.0;
|
|
1341
1330
|
// Inline function 'kotlin.Long.div' call
|
|
1342
|
-
|
|
1331
|
+
// Inline function 'kotlin.math.round' call
|
|
1332
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.v2a()).i3() / percent;
|
|
1343
1333
|
var tmp$ret$2 = round(x);
|
|
1344
1334
|
return numberToInt(tmp$ret$2);
|
|
1345
1335
|
};
|
|
1346
|
-
protoOf(PlayerConnection).
|
|
1347
|
-
return 100 - this.
|
|
1336
|
+
protoOf(PlayerConnection).x2a = function (gameDuration) {
|
|
1337
|
+
return 100 - this.w2a(gameDuration) | 0;
|
|
1348
1338
|
};
|
|
1349
|
-
protoOf(PlayerConnection).
|
|
1350
|
-
var percentage = this.
|
|
1339
|
+
protoOf(PlayerConnection).y2a = function (gameDuration) {
|
|
1340
|
+
var percentage = this.x2a(gameDuration);
|
|
1351
1341
|
return percentage >= 70;
|
|
1352
1342
|
};
|
|
1353
1343
|
protoOf(PlayerConnection).toString = function () {
|
|
1354
|
-
return 'PlayerConnection(state=' + this.
|
|
1344
|
+
return 'PlayerConnection(state=' + this.r2a_1.toString() + ', connectionChangedTime=' + this.s2a_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.t2a_1) + ')';
|
|
1355
1345
|
};
|
|
1356
1346
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1357
|
-
var result = this.
|
|
1358
|
-
result = imul(result, 31) + this.
|
|
1359
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1347
|
+
var result = this.r2a_1.hashCode();
|
|
1348
|
+
result = imul(result, 31) + this.s2a_1.hashCode() | 0;
|
|
1349
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.t2a_1) | 0;
|
|
1360
1350
|
return result;
|
|
1361
1351
|
};
|
|
1362
1352
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1365,16 +1355,16 @@
|
|
|
1365
1355
|
if (!(other instanceof PlayerConnection))
|
|
1366
1356
|
return false;
|
|
1367
1357
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1368
|
-
if (!this.
|
|
1358
|
+
if (!this.r2a_1.equals(tmp0_other_with_cast.r2a_1))
|
|
1369
1359
|
return false;
|
|
1370
|
-
if (!this.
|
|
1360
|
+
if (!this.s2a_1.equals(tmp0_other_with_cast.s2a_1))
|
|
1371
1361
|
return false;
|
|
1372
|
-
if (!equals(this.
|
|
1362
|
+
if (!equals(this.t2a_1, tmp0_other_with_cast.t2a_1))
|
|
1373
1363
|
return false;
|
|
1374
1364
|
return true;
|
|
1375
1365
|
};
|
|
1376
1366
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1377
|
-
return $this.
|
|
1367
|
+
return $this.z2a_1.a2();
|
|
1378
1368
|
}
|
|
1379
1369
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1380
1370
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1412,16 +1402,16 @@
|
|
|
1412
1402
|
Companion_instance_6 = this;
|
|
1413
1403
|
var tmp = this;
|
|
1414
1404
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1415
|
-
tmp.
|
|
1405
|
+
tmp.z2a_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1416
1406
|
}
|
|
1417
|
-
protoOf(Companion_6).
|
|
1407
|
+
protoOf(Companion_6).p19 = function () {
|
|
1418
1408
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1419
1409
|
};
|
|
1420
|
-
protoOf(Companion_6).
|
|
1421
|
-
return this.
|
|
1410
|
+
protoOf(Companion_6).yx = function (typeParamsSerializers) {
|
|
1411
|
+
return this.p19();
|
|
1422
1412
|
};
|
|
1423
1413
|
var Companion_instance_6;
|
|
1424
|
-
function
|
|
1414
|
+
function Companion_getInstance_9() {
|
|
1425
1415
|
PlayerConnectionState_initEntries();
|
|
1426
1416
|
if (Companion_instance_6 == null)
|
|
1427
1417
|
new Companion_6();
|
|
@@ -1438,39 +1428,39 @@
|
|
|
1438
1428
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1439
1429
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
1440
1430
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1441
|
-
|
|
1431
|
+
Companion_getInstance_9();
|
|
1442
1432
|
}
|
|
1443
1433
|
function PlayerConnectionState(name, ordinal) {
|
|
1444
1434
|
Enum.call(this, name, ordinal);
|
|
1445
1435
|
}
|
|
1446
|
-
protoOf(PlayerConnectionState).
|
|
1436
|
+
protoOf(PlayerConnectionState).c2b = function () {
|
|
1447
1437
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1448
1438
|
};
|
|
1449
|
-
protoOf(PlayerConnectionState).
|
|
1439
|
+
protoOf(PlayerConnectionState).d2b = function () {
|
|
1450
1440
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1451
1441
|
};
|
|
1452
|
-
protoOf(PlayerConnectionState).
|
|
1442
|
+
protoOf(PlayerConnectionState).e2b = function () {
|
|
1453
1443
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1454
1444
|
};
|
|
1455
|
-
protoOf(PlayerConnectionState).
|
|
1445
|
+
protoOf(PlayerConnectionState).f2b = function () {
|
|
1456
1446
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1457
1447
|
};
|
|
1458
|
-
protoOf(PlayerConnectionState).
|
|
1448
|
+
protoOf(PlayerConnectionState).g2b = function () {
|
|
1459
1449
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1460
1450
|
};
|
|
1461
|
-
protoOf(PlayerConnectionState).
|
|
1451
|
+
protoOf(PlayerConnectionState).h2b = function () {
|
|
1462
1452
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1463
1453
|
};
|
|
1464
|
-
protoOf(PlayerConnectionState).
|
|
1454
|
+
protoOf(PlayerConnectionState).i2b = function () {
|
|
1465
1455
|
return this.isDisconnected || this.isDeleted;
|
|
1466
1456
|
};
|
|
1467
|
-
protoOf(PlayerConnectionState).
|
|
1457
|
+
protoOf(PlayerConnectionState).j2b = function () {
|
|
1468
1458
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1469
1459
|
};
|
|
1470
|
-
protoOf(PlayerConnectionState).
|
|
1460
|
+
protoOf(PlayerConnectionState).k2b = function () {
|
|
1471
1461
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1472
1462
|
};
|
|
1473
|
-
protoOf(PlayerConnectionState).
|
|
1463
|
+
protoOf(PlayerConnectionState).l2b = function () {
|
|
1474
1464
|
return this.isLostConnection;
|
|
1475
1465
|
};
|
|
1476
1466
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1498,7 +1488,7 @@
|
|
|
1498
1488
|
return PlayerConnectionState_DELETED_instance;
|
|
1499
1489
|
}
|
|
1500
1490
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1501
|
-
return $this.
|
|
1491
|
+
return $this.m2b_1.a2();
|
|
1502
1492
|
}
|
|
1503
1493
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1504
1494
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1513,16 +1503,16 @@
|
|
|
1513
1503
|
Companion_instance_7 = this;
|
|
1514
1504
|
var tmp = this;
|
|
1515
1505
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1516
|
-
tmp.
|
|
1506
|
+
tmp.m2b_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1517
1507
|
}
|
|
1518
|
-
protoOf(Companion_7).
|
|
1508
|
+
protoOf(Companion_7).p19 = function () {
|
|
1519
1509
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1520
1510
|
};
|
|
1521
|
-
protoOf(Companion_7).
|
|
1522
|
-
return this.
|
|
1511
|
+
protoOf(Companion_7).yx = function (typeParamsSerializers) {
|
|
1512
|
+
return this.p19();
|
|
1523
1513
|
};
|
|
1524
1514
|
var Companion_instance_7;
|
|
1525
|
-
function
|
|
1515
|
+
function Companion_getInstance_10() {
|
|
1526
1516
|
PlayerWaitingState_initEntries();
|
|
1527
1517
|
if (Companion_instance_7 == null)
|
|
1528
1518
|
new Companion_7();
|
|
@@ -1536,28 +1526,28 @@
|
|
|
1536
1526
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
1537
1527
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
1538
1528
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
1539
|
-
|
|
1529
|
+
Companion_getInstance_10();
|
|
1540
1530
|
}
|
|
1541
1531
|
function PlayerWaitingState(name, ordinal) {
|
|
1542
1532
|
Enum.call(this, name, ordinal);
|
|
1543
1533
|
}
|
|
1544
|
-
protoOf(PlayerWaitingState).
|
|
1545
|
-
return this.
|
|
1534
|
+
protoOf(PlayerWaitingState).n2a = function () {
|
|
1535
|
+
return this.p2b() || this.q2b();
|
|
1546
1536
|
};
|
|
1547
|
-
protoOf(PlayerWaitingState).
|
|
1537
|
+
protoOf(PlayerWaitingState).p2b = function () {
|
|
1548
1538
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1549
1539
|
};
|
|
1550
|
-
protoOf(PlayerWaitingState).
|
|
1540
|
+
protoOf(PlayerWaitingState).q2b = function () {
|
|
1551
1541
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1552
1542
|
};
|
|
1553
1543
|
function Companion_8() {
|
|
1554
1544
|
}
|
|
1555
|
-
protoOf(Companion_8).
|
|
1545
|
+
protoOf(Companion_8).r2b = function (connection) {
|
|
1556
1546
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1557
1547
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1558
1548
|
};
|
|
1559
1549
|
var Companion_instance_8;
|
|
1560
|
-
function
|
|
1550
|
+
function Companion_getInstance_11() {
|
|
1561
1551
|
return Companion_instance_8;
|
|
1562
1552
|
}
|
|
1563
1553
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
@@ -1575,28 +1565,25 @@
|
|
|
1575
1565
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1576
1566
|
tag = tag === VOID ? null : tag;
|
|
1577
1567
|
connection = connection === VOID ? null : connection;
|
|
1578
|
-
this.
|
|
1579
|
-
this.
|
|
1580
|
-
this.
|
|
1581
|
-
this.
|
|
1582
|
-
this.
|
|
1583
|
-
this.
|
|
1584
|
-
this.
|
|
1585
|
-
}
|
|
1586
|
-
protoOf(PlayerState).
|
|
1568
|
+
this.g2a_1 = startFromTime;
|
|
1569
|
+
this.h2a_1 = playerTurnTimeout;
|
|
1570
|
+
this.i2a_1 = waitPlayerUntilTime;
|
|
1571
|
+
this.j2a_1 = state;
|
|
1572
|
+
this.k2a_1 = ready;
|
|
1573
|
+
this.l2a_1 = tag;
|
|
1574
|
+
this.m2a_1 = connection;
|
|
1575
|
+
}
|
|
1576
|
+
protoOf(PlayerState).s2b = function () {
|
|
1587
1577
|
// Inline function 'kotlin.requireNotNull' call
|
|
1588
|
-
var
|
|
1589
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1578
|
+
var tmp0 = this.m2a_1;
|
|
1590
1579
|
var tmp$ret$1;
|
|
1591
1580
|
$l$block: {
|
|
1592
1581
|
// Inline function 'kotlin.requireNotNull' call
|
|
1593
|
-
|
|
1594
|
-
if (value == null) {
|
|
1595
|
-
// Inline function 'kotlin.requireNotNull.<anonymous>' call
|
|
1582
|
+
if (tmp0 == null) {
|
|
1596
1583
|
var message = 'Required value was null.';
|
|
1597
1584
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1598
1585
|
} else {
|
|
1599
|
-
tmp$ret$1 =
|
|
1586
|
+
tmp$ret$1 = tmp0;
|
|
1600
1587
|
break $l$block;
|
|
1601
1588
|
}
|
|
1602
1589
|
}
|
|
@@ -1604,67 +1591,55 @@
|
|
|
1604
1591
|
};
|
|
1605
1592
|
protoOf(PlayerState).toString = function () {
|
|
1606
1593
|
// Inline function 'kotlin.takeIf' call
|
|
1607
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1608
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1594
|
+
var this_0 = 'startFromTime=' + toString(this.g2a_1);
|
|
1609
1595
|
var tmp;
|
|
1610
|
-
|
|
1611
|
-
if (!(this.w27_1 == null)) {
|
|
1596
|
+
if (!(this.g2a_1 == null)) {
|
|
1612
1597
|
tmp = this_0;
|
|
1613
1598
|
} else {
|
|
1614
1599
|
tmp = null;
|
|
1615
1600
|
}
|
|
1616
1601
|
var tmp_0 = tmp;
|
|
1617
1602
|
// Inline function 'kotlin.takeIf' call
|
|
1618
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1619
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1603
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.h2a_1);
|
|
1620
1604
|
var tmp_1;
|
|
1621
|
-
|
|
1622
|
-
if (!(this.x27_1 == null)) {
|
|
1605
|
+
if (!(this.h2a_1 == null)) {
|
|
1623
1606
|
tmp_1 = this_1;
|
|
1624
1607
|
} else {
|
|
1625
1608
|
tmp_1 = null;
|
|
1626
1609
|
}
|
|
1627
1610
|
var tmp_2 = tmp_1;
|
|
1628
1611
|
// Inline function 'kotlin.takeIf' call
|
|
1629
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1630
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1612
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.i2a_1);
|
|
1631
1613
|
var tmp_3;
|
|
1632
|
-
|
|
1633
|
-
if (!(this.y27_1 == null)) {
|
|
1614
|
+
if (!(this.i2a_1 == null)) {
|
|
1634
1615
|
tmp_3 = this_2;
|
|
1635
1616
|
} else {
|
|
1636
1617
|
tmp_3 = null;
|
|
1637
1618
|
}
|
|
1638
1619
|
var tmp_4 = tmp_3;
|
|
1639
|
-
var tmp_5 = 'state=' + this.
|
|
1620
|
+
var tmp_5 = 'state=' + this.j2a_1.toString();
|
|
1640
1621
|
// Inline function 'kotlin.takeIf' call
|
|
1641
|
-
var this_3 = 'ready=' + this.
|
|
1642
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1622
|
+
var this_3 = 'ready=' + this.k2a_1;
|
|
1643
1623
|
var tmp_6;
|
|
1644
|
-
|
|
1645
|
-
if (this.a28_1) {
|
|
1624
|
+
if (this.k2a_1) {
|
|
1646
1625
|
tmp_6 = this_3;
|
|
1647
1626
|
} else {
|
|
1648
1627
|
tmp_6 = null;
|
|
1649
1628
|
}
|
|
1650
1629
|
var tmp_7 = tmp_6;
|
|
1651
1630
|
// Inline function 'kotlin.takeIf' call
|
|
1652
|
-
var this_4 = 'tag=' + this.
|
|
1653
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1631
|
+
var this_4 = 'tag=' + this.l2a_1;
|
|
1654
1632
|
var tmp_8;
|
|
1655
|
-
|
|
1656
|
-
if (!(this.b28_1 == null)) {
|
|
1633
|
+
if (!(this.l2a_1 == null)) {
|
|
1657
1634
|
tmp_8 = this_4;
|
|
1658
1635
|
} else {
|
|
1659
1636
|
tmp_8 = null;
|
|
1660
1637
|
}
|
|
1661
1638
|
var tmp_9 = tmp_8;
|
|
1662
1639
|
// Inline function 'kotlin.takeIf' call
|
|
1663
|
-
var this_5 = 'connection=' + toString(this.
|
|
1664
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1640
|
+
var this_5 = 'connection=' + toString(this.m2a_1);
|
|
1665
1641
|
var tmp_10;
|
|
1666
|
-
|
|
1667
|
-
if (!(this.c28_1 == null)) {
|
|
1642
|
+
if (!(this.m2a_1 == null)) {
|
|
1668
1643
|
tmp_10 = this_5;
|
|
1669
1644
|
} else {
|
|
1670
1645
|
tmp_10 = null;
|
|
@@ -1672,17 +1647,17 @@
|
|
|
1672
1647
|
var tmp$ret$11 = tmp_10;
|
|
1673
1648
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1674
1649
|
};
|
|
1675
|
-
protoOf(PlayerState).
|
|
1676
|
-
return this.
|
|
1650
|
+
protoOf(PlayerState).n2a = function () {
|
|
1651
|
+
return this.j2a_1.n2a();
|
|
1677
1652
|
};
|
|
1678
1653
|
protoOf(PlayerState).hashCode = function () {
|
|
1679
|
-
var result = this.
|
|
1680
|
-
result = imul(result, 31) + (this.
|
|
1681
|
-
result = imul(result, 31) + (this.
|
|
1682
|
-
result = imul(result, 31) + this.
|
|
1683
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1684
|
-
result = imul(result, 31) + (this.
|
|
1685
|
-
result = imul(result, 31) + (this.
|
|
1654
|
+
var result = this.g2a_1 == null ? 0 : this.g2a_1.hashCode();
|
|
1655
|
+
result = imul(result, 31) + (this.h2a_1 == null ? 0 : this.h2a_1.hashCode()) | 0;
|
|
1656
|
+
result = imul(result, 31) + (this.i2a_1 == null ? 0 : this.i2a_1.hashCode()) | 0;
|
|
1657
|
+
result = imul(result, 31) + this.j2a_1.hashCode() | 0;
|
|
1658
|
+
result = imul(result, 31) + getBooleanHashCode(this.k2a_1) | 0;
|
|
1659
|
+
result = imul(result, 31) + (this.l2a_1 == null ? 0 : getStringHashCode(this.l2a_1)) | 0;
|
|
1660
|
+
result = imul(result, 31) + (this.m2a_1 == null ? 0 : this.m2a_1.hashCode()) | 0;
|
|
1686
1661
|
return result;
|
|
1687
1662
|
};
|
|
1688
1663
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1691,30 +1666,30 @@
|
|
|
1691
1666
|
if (!(other instanceof PlayerState))
|
|
1692
1667
|
return false;
|
|
1693
1668
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1694
|
-
if (!equals(this.
|
|
1669
|
+
if (!equals(this.g2a_1, tmp0_other_with_cast.g2a_1))
|
|
1695
1670
|
return false;
|
|
1696
|
-
if (!equals(this.
|
|
1671
|
+
if (!equals(this.h2a_1, tmp0_other_with_cast.h2a_1))
|
|
1697
1672
|
return false;
|
|
1698
|
-
if (!equals(this.
|
|
1673
|
+
if (!equals(this.i2a_1, tmp0_other_with_cast.i2a_1))
|
|
1699
1674
|
return false;
|
|
1700
|
-
if (!this.
|
|
1675
|
+
if (!this.j2a_1.equals(tmp0_other_with_cast.j2a_1))
|
|
1701
1676
|
return false;
|
|
1702
|
-
if (!(this.
|
|
1677
|
+
if (!(this.k2a_1 === tmp0_other_with_cast.k2a_1))
|
|
1703
1678
|
return false;
|
|
1704
|
-
if (!(this.
|
|
1679
|
+
if (!(this.l2a_1 == tmp0_other_with_cast.l2a_1))
|
|
1705
1680
|
return false;
|
|
1706
|
-
if (!equals(this.
|
|
1681
|
+
if (!equals(this.m2a_1, tmp0_other_with_cast.m2a_1))
|
|
1707
1682
|
return false;
|
|
1708
1683
|
return true;
|
|
1709
1684
|
};
|
|
1710
1685
|
function Team(playerIds) {
|
|
1711
|
-
this.
|
|
1686
|
+
this.t2b_1 = playerIds;
|
|
1712
1687
|
}
|
|
1713
1688
|
protoOf(Team).toString = function () {
|
|
1714
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1689
|
+
return 'Team(playerIds=' + toString_0(this.t2b_1) + ')';
|
|
1715
1690
|
};
|
|
1716
1691
|
protoOf(Team).hashCode = function () {
|
|
1717
|
-
return hashCode(this.
|
|
1692
|
+
return hashCode(this.t2b_1);
|
|
1718
1693
|
};
|
|
1719
1694
|
protoOf(Team).equals = function (other) {
|
|
1720
1695
|
if (this === other)
|
|
@@ -1722,12 +1697,12 @@
|
|
|
1722
1697
|
if (!(other instanceof Team))
|
|
1723
1698
|
return false;
|
|
1724
1699
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1725
|
-
if (!equals(this.
|
|
1700
|
+
if (!equals(this.t2b_1, tmp0_other_with_cast.t2b_1))
|
|
1726
1701
|
return false;
|
|
1727
1702
|
return true;
|
|
1728
1703
|
};
|
|
1729
1704
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1730
|
-
return $this.
|
|
1705
|
+
return $this.u2b_1.a2();
|
|
1731
1706
|
}
|
|
1732
1707
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1733
1708
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1735,7 +1710,6 @@
|
|
|
1735
1710
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1736
1711
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1737
1712
|
var tmp_0 = [getKClass(GameErrorReasonDto), getKClass(GameFinishedReasonDto), getKClass(PlayerExitReasonDto), getKClass(PlayerLostConnectionReasonDto), getKClass(PlayerTimeoutReasonDto), getKClass(ProcessingReasonDto), getKClass(WaitingForConnectionReasonDto)];
|
|
1738
|
-
// Inline function 'kotlin.arrayOf' call
|
|
1739
1713
|
var tmp_1 = $serializer_getInstance_1();
|
|
1740
1714
|
var tmp_2 = $serializer_getInstance_2();
|
|
1741
1715
|
var tmp_3 = $serializer_getInstance_3();
|
|
@@ -1752,6 +1726,7 @@
|
|
|
1752
1726
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1753
1727
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1754
1728
|
var tmp$ret$8 = [];
|
|
1729
|
+
// Inline function 'kotlin.arrayOf' call
|
|
1755
1730
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1756
1731
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1757
1732
|
var tmp_9 = [tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_7, ObjectSerializer_init_$Create$('WAITING_FOR_CONNECTION_TYPE', tmp_8, tmp$ret$8)];
|
|
@@ -1765,16 +1740,16 @@
|
|
|
1765
1740
|
Companion_instance_9 = this;
|
|
1766
1741
|
var tmp = this;
|
|
1767
1742
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1768
|
-
tmp.
|
|
1743
|
+
tmp.u2b_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1769
1744
|
}
|
|
1770
|
-
protoOf(Companion_9).
|
|
1745
|
+
protoOf(Companion_9).p19 = function () {
|
|
1771
1746
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1772
1747
|
};
|
|
1773
|
-
protoOf(Companion_9).
|
|
1774
|
-
return this.
|
|
1748
|
+
protoOf(Companion_9).yx = function (typeParamsSerializers) {
|
|
1749
|
+
return this.p19();
|
|
1775
1750
|
};
|
|
1776
1751
|
var Companion_instance_9;
|
|
1777
|
-
function
|
|
1752
|
+
function Companion_getInstance_12() {
|
|
1778
1753
|
if (Companion_instance_9 == null)
|
|
1779
1754
|
new Companion_9();
|
|
1780
1755
|
return Companion_instance_9;
|
|
@@ -1783,10 +1758,10 @@
|
|
|
1783
1758
|
return $this;
|
|
1784
1759
|
}
|
|
1785
1760
|
function TerminationGameReasonDto() {
|
|
1786
|
-
|
|
1761
|
+
Companion_getInstance_12();
|
|
1787
1762
|
}
|
|
1788
1763
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1789
|
-
return $this.
|
|
1764
|
+
return $this.v2b_1.a2();
|
|
1790
1765
|
}
|
|
1791
1766
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1792
1767
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1801,13 +1776,13 @@
|
|
|
1801
1776
|
TerminationGameReasonDto.call(this);
|
|
1802
1777
|
var tmp = this;
|
|
1803
1778
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1804
|
-
tmp.
|
|
1779
|
+
tmp.v2b_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1805
1780
|
}
|
|
1806
|
-
protoOf(ProcessingReasonDto).
|
|
1781
|
+
protoOf(ProcessingReasonDto).p19 = function () {
|
|
1807
1782
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1808
1783
|
};
|
|
1809
|
-
protoOf(ProcessingReasonDto).
|
|
1810
|
-
return this.
|
|
1784
|
+
protoOf(ProcessingReasonDto).yx = function (typeParamsSerializers) {
|
|
1785
|
+
return this.p19();
|
|
1811
1786
|
};
|
|
1812
1787
|
protoOf(ProcessingReasonDto).toString = function () {
|
|
1813
1788
|
return 'ProcessingReasonDto';
|
|
@@ -1832,56 +1807,56 @@
|
|
|
1832
1807
|
function Companion_10() {
|
|
1833
1808
|
}
|
|
1834
1809
|
var Companion_instance_10;
|
|
1835
|
-
function
|
|
1810
|
+
function Companion_getInstance_13() {
|
|
1836
1811
|
return Companion_instance_10;
|
|
1837
1812
|
}
|
|
1838
1813
|
function $serializer_1() {
|
|
1839
1814
|
$serializer_instance_1 = this;
|
|
1840
1815
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1841
|
-
tmp0_serialDesc.
|
|
1842
|
-
this.
|
|
1816
|
+
tmp0_serialDesc.yw('reason', false);
|
|
1817
|
+
this.w2b_1 = tmp0_serialDesc;
|
|
1843
1818
|
}
|
|
1844
|
-
protoOf($serializer_1).
|
|
1845
|
-
var tmp0_desc = this.
|
|
1846
|
-
var tmp1_output = encoder.
|
|
1847
|
-
tmp1_output.
|
|
1848
|
-
tmp1_output.
|
|
1819
|
+
protoOf($serializer_1).x2b = function (encoder, value) {
|
|
1820
|
+
var tmp0_desc = this.w2b_1;
|
|
1821
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
1822
|
+
tmp1_output.vq(tmp0_desc, 0, value.reason);
|
|
1823
|
+
tmp1_output.hp(tmp0_desc);
|
|
1849
1824
|
};
|
|
1850
|
-
protoOf($serializer_1).
|
|
1851
|
-
return this.
|
|
1825
|
+
protoOf($serializer_1).yl = function (encoder, value) {
|
|
1826
|
+
return this.x2b(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1852
1827
|
};
|
|
1853
|
-
protoOf($serializer_1).
|
|
1854
|
-
var tmp0_desc = this.
|
|
1828
|
+
protoOf($serializer_1).zl = function (decoder) {
|
|
1829
|
+
var tmp0_desc = this.w2b_1;
|
|
1855
1830
|
var tmp1_flag = true;
|
|
1856
1831
|
var tmp2_index = 0;
|
|
1857
1832
|
var tmp3_bitMask0 = 0;
|
|
1858
1833
|
var tmp4_local0 = null;
|
|
1859
|
-
var tmp5_input = decoder.
|
|
1860
|
-
if (tmp5_input.
|
|
1861
|
-
tmp4_local0 = tmp5_input.
|
|
1834
|
+
var tmp5_input = decoder.gp(tmp0_desc);
|
|
1835
|
+
if (tmp5_input.wp()) {
|
|
1836
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
1862
1837
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1863
1838
|
} else
|
|
1864
1839
|
while (tmp1_flag) {
|
|
1865
|
-
tmp2_index = tmp5_input.
|
|
1840
|
+
tmp2_index = tmp5_input.xp(tmp0_desc);
|
|
1866
1841
|
switch (tmp2_index) {
|
|
1867
1842
|
case -1:
|
|
1868
1843
|
tmp1_flag = false;
|
|
1869
1844
|
break;
|
|
1870
1845
|
case 0:
|
|
1871
|
-
tmp4_local0 = tmp5_input.
|
|
1846
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
1872
1847
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1873
1848
|
break;
|
|
1874
1849
|
default:
|
|
1875
1850
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1876
1851
|
}
|
|
1877
1852
|
}
|
|
1878
|
-
tmp5_input.
|
|
1853
|
+
tmp5_input.hp(tmp0_desc);
|
|
1879
1854
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1880
1855
|
};
|
|
1881
|
-
protoOf($serializer_1).
|
|
1882
|
-
return this.
|
|
1856
|
+
protoOf($serializer_1).xl = function () {
|
|
1857
|
+
return this.w2b_1;
|
|
1883
1858
|
};
|
|
1884
|
-
protoOf($serializer_1).
|
|
1859
|
+
protoOf($serializer_1).nx = function () {
|
|
1885
1860
|
// Inline function 'kotlin.arrayOf' call
|
|
1886
1861
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1887
1862
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1895,7 +1870,7 @@
|
|
|
1895
1870
|
}
|
|
1896
1871
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1897
1872
|
if (!(1 === (1 & seen0))) {
|
|
1898
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
1873
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().w2b_1);
|
|
1899
1874
|
}
|
|
1900
1875
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1901
1876
|
$this.reason = reason;
|
|
@@ -1908,7 +1883,7 @@
|
|
|
1908
1883
|
TerminationGameReasonDto.call(this);
|
|
1909
1884
|
this.reason = reason;
|
|
1910
1885
|
}
|
|
1911
|
-
protoOf(GameErrorReasonDto).
|
|
1886
|
+
protoOf(GameErrorReasonDto).n29 = function () {
|
|
1912
1887
|
return this.reason;
|
|
1913
1888
|
};
|
|
1914
1889
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -1930,56 +1905,56 @@
|
|
|
1930
1905
|
function Companion_11() {
|
|
1931
1906
|
}
|
|
1932
1907
|
var Companion_instance_11;
|
|
1933
|
-
function
|
|
1908
|
+
function Companion_getInstance_14() {
|
|
1934
1909
|
return Companion_instance_11;
|
|
1935
1910
|
}
|
|
1936
1911
|
function $serializer_2() {
|
|
1937
1912
|
$serializer_instance_2 = this;
|
|
1938
1913
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1939
|
-
tmp0_serialDesc.
|
|
1940
|
-
this.
|
|
1914
|
+
tmp0_serialDesc.yw('reason', false);
|
|
1915
|
+
this.y2b_1 = tmp0_serialDesc;
|
|
1941
1916
|
}
|
|
1942
|
-
protoOf($serializer_2).
|
|
1943
|
-
var tmp0_desc = this.
|
|
1944
|
-
var tmp1_output = encoder.
|
|
1945
|
-
tmp1_output.
|
|
1946
|
-
tmp1_output.
|
|
1917
|
+
protoOf($serializer_2).z2b = function (encoder, value) {
|
|
1918
|
+
var tmp0_desc = this.y2b_1;
|
|
1919
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
1920
|
+
tmp1_output.vq(tmp0_desc, 0, value.a2c_1);
|
|
1921
|
+
tmp1_output.hp(tmp0_desc);
|
|
1947
1922
|
};
|
|
1948
|
-
protoOf($serializer_2).
|
|
1949
|
-
return this.
|
|
1923
|
+
protoOf($serializer_2).yl = function (encoder, value) {
|
|
1924
|
+
return this.z2b(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1950
1925
|
};
|
|
1951
|
-
protoOf($serializer_2).
|
|
1952
|
-
var tmp0_desc = this.
|
|
1926
|
+
protoOf($serializer_2).zl = function (decoder) {
|
|
1927
|
+
var tmp0_desc = this.y2b_1;
|
|
1953
1928
|
var tmp1_flag = true;
|
|
1954
1929
|
var tmp2_index = 0;
|
|
1955
1930
|
var tmp3_bitMask0 = 0;
|
|
1956
1931
|
var tmp4_local0 = null;
|
|
1957
|
-
var tmp5_input = decoder.
|
|
1958
|
-
if (tmp5_input.
|
|
1959
|
-
tmp4_local0 = tmp5_input.
|
|
1932
|
+
var tmp5_input = decoder.gp(tmp0_desc);
|
|
1933
|
+
if (tmp5_input.wp()) {
|
|
1934
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
1960
1935
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1961
1936
|
} else
|
|
1962
1937
|
while (tmp1_flag) {
|
|
1963
|
-
tmp2_index = tmp5_input.
|
|
1938
|
+
tmp2_index = tmp5_input.xp(tmp0_desc);
|
|
1964
1939
|
switch (tmp2_index) {
|
|
1965
1940
|
case -1:
|
|
1966
1941
|
tmp1_flag = false;
|
|
1967
1942
|
break;
|
|
1968
1943
|
case 0:
|
|
1969
|
-
tmp4_local0 = tmp5_input.
|
|
1944
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
1970
1945
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1971
1946
|
break;
|
|
1972
1947
|
default:
|
|
1973
1948
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1974
1949
|
}
|
|
1975
1950
|
}
|
|
1976
|
-
tmp5_input.
|
|
1951
|
+
tmp5_input.hp(tmp0_desc);
|
|
1977
1952
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1978
1953
|
};
|
|
1979
|
-
protoOf($serializer_2).
|
|
1980
|
-
return this.
|
|
1954
|
+
protoOf($serializer_2).xl = function () {
|
|
1955
|
+
return this.y2b_1;
|
|
1981
1956
|
};
|
|
1982
|
-
protoOf($serializer_2).
|
|
1957
|
+
protoOf($serializer_2).nx = function () {
|
|
1983
1958
|
// Inline function 'kotlin.arrayOf' call
|
|
1984
1959
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1985
1960
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1993,10 +1968,10 @@
|
|
|
1993
1968
|
}
|
|
1994
1969
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1995
1970
|
if (!(1 === (1 & seen0))) {
|
|
1996
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
1971
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().y2b_1);
|
|
1997
1972
|
}
|
|
1998
1973
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1999
|
-
$this.
|
|
1974
|
+
$this.a2c_1 = reason;
|
|
2000
1975
|
return $this;
|
|
2001
1976
|
}
|
|
2002
1977
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -2004,13 +1979,13 @@
|
|
|
2004
1979
|
}
|
|
2005
1980
|
function GameFinishedReasonDto(reason) {
|
|
2006
1981
|
TerminationGameReasonDto.call(this);
|
|
2007
|
-
this.
|
|
1982
|
+
this.a2c_1 = reason;
|
|
2008
1983
|
}
|
|
2009
1984
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
2010
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
1985
|
+
return 'GameFinishedReasonDto(reason=' + this.a2c_1 + ')';
|
|
2011
1986
|
};
|
|
2012
1987
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
2013
|
-
return getStringHashCode(this.
|
|
1988
|
+
return getStringHashCode(this.a2c_1);
|
|
2014
1989
|
};
|
|
2015
1990
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
2016
1991
|
if (this === other)
|
|
@@ -2018,63 +1993,63 @@
|
|
|
2018
1993
|
if (!(other instanceof GameFinishedReasonDto))
|
|
2019
1994
|
return false;
|
|
2020
1995
|
var tmp0_other_with_cast = other instanceof GameFinishedReasonDto ? other : THROW_CCE();
|
|
2021
|
-
if (!(this.
|
|
1996
|
+
if (!(this.a2c_1 === tmp0_other_with_cast.a2c_1))
|
|
2022
1997
|
return false;
|
|
2023
1998
|
return true;
|
|
2024
1999
|
};
|
|
2025
2000
|
function Companion_12() {
|
|
2026
2001
|
}
|
|
2027
2002
|
var Companion_instance_12;
|
|
2028
|
-
function
|
|
2003
|
+
function Companion_getInstance_15() {
|
|
2029
2004
|
return Companion_instance_12;
|
|
2030
2005
|
}
|
|
2031
2006
|
function $serializer_3() {
|
|
2032
2007
|
$serializer_instance_3 = this;
|
|
2033
2008
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
2034
|
-
tmp0_serialDesc.
|
|
2035
|
-
this.
|
|
2009
|
+
tmp0_serialDesc.yw('playerId', false);
|
|
2010
|
+
this.b2c_1 = tmp0_serialDesc;
|
|
2036
2011
|
}
|
|
2037
|
-
protoOf($serializer_3).
|
|
2038
|
-
var tmp0_desc = this.
|
|
2039
|
-
var tmp1_output = encoder.
|
|
2040
|
-
tmp1_output.
|
|
2041
|
-
tmp1_output.
|
|
2012
|
+
protoOf($serializer_3).c2c = function (encoder, value) {
|
|
2013
|
+
var tmp0_desc = this.b2c_1;
|
|
2014
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
2015
|
+
tmp1_output.vq(tmp0_desc, 0, value.d2c_1);
|
|
2016
|
+
tmp1_output.hp(tmp0_desc);
|
|
2042
2017
|
};
|
|
2043
|
-
protoOf($serializer_3).
|
|
2044
|
-
return this.
|
|
2018
|
+
protoOf($serializer_3).yl = function (encoder, value) {
|
|
2019
|
+
return this.c2c(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
2045
2020
|
};
|
|
2046
|
-
protoOf($serializer_3).
|
|
2047
|
-
var tmp0_desc = this.
|
|
2021
|
+
protoOf($serializer_3).zl = function (decoder) {
|
|
2022
|
+
var tmp0_desc = this.b2c_1;
|
|
2048
2023
|
var tmp1_flag = true;
|
|
2049
2024
|
var tmp2_index = 0;
|
|
2050
2025
|
var tmp3_bitMask0 = 0;
|
|
2051
2026
|
var tmp4_local0 = null;
|
|
2052
|
-
var tmp5_input = decoder.
|
|
2053
|
-
if (tmp5_input.
|
|
2054
|
-
tmp4_local0 = tmp5_input.
|
|
2027
|
+
var tmp5_input = decoder.gp(tmp0_desc);
|
|
2028
|
+
if (tmp5_input.wp()) {
|
|
2029
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
2055
2030
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2056
2031
|
} else
|
|
2057
2032
|
while (tmp1_flag) {
|
|
2058
|
-
tmp2_index = tmp5_input.
|
|
2033
|
+
tmp2_index = tmp5_input.xp(tmp0_desc);
|
|
2059
2034
|
switch (tmp2_index) {
|
|
2060
2035
|
case -1:
|
|
2061
2036
|
tmp1_flag = false;
|
|
2062
2037
|
break;
|
|
2063
2038
|
case 0:
|
|
2064
|
-
tmp4_local0 = tmp5_input.
|
|
2039
|
+
tmp4_local0 = tmp5_input.qp(tmp0_desc, 0);
|
|
2065
2040
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2066
2041
|
break;
|
|
2067
2042
|
default:
|
|
2068
2043
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2069
2044
|
}
|
|
2070
2045
|
}
|
|
2071
|
-
tmp5_input.
|
|
2046
|
+
tmp5_input.hp(tmp0_desc);
|
|
2072
2047
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2073
2048
|
};
|
|
2074
|
-
protoOf($serializer_3).
|
|
2075
|
-
return this.
|
|
2049
|
+
protoOf($serializer_3).xl = function () {
|
|
2050
|
+
return this.b2c_1;
|
|
2076
2051
|
};
|
|
2077
|
-
protoOf($serializer_3).
|
|
2052
|
+
protoOf($serializer_3).nx = function () {
|
|
2078
2053
|
// Inline function 'kotlin.arrayOf' call
|
|
2079
2054
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2080
2055
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2088,10 +2063,10 @@
|
|
|
2088
2063
|
}
|
|
2089
2064
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2090
2065
|
if (!(1 === (1 & seen0))) {
|
|
2091
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2066
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().b2c_1);
|
|
2092
2067
|
}
|
|
2093
2068
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2094
|
-
$this.
|
|
2069
|
+
$this.d2c_1 = playerId;
|
|
2095
2070
|
return $this;
|
|
2096
2071
|
}
|
|
2097
2072
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2099,13 +2074,13 @@
|
|
|
2099
2074
|
}
|
|
2100
2075
|
function PlayerExitReasonDto(playerId) {
|
|
2101
2076
|
TerminationGameReasonDto.call(this);
|
|
2102
|
-
this.
|
|
2077
|
+
this.d2c_1 = playerId;
|
|
2103
2078
|
}
|
|
2104
2079
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2105
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2080
|
+
return 'PlayerExitReasonDto(playerId=' + this.d2c_1 + ')';
|
|
2106
2081
|
};
|
|
2107
2082
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2108
|
-
return getStringHashCode(this.
|
|
2083
|
+
return getStringHashCode(this.d2c_1);
|
|
2109
2084
|
};
|
|
2110
2085
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2111
2086
|
if (this === other)
|
|
@@ -2113,72 +2088,72 @@
|
|
|
2113
2088
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2114
2089
|
return false;
|
|
2115
2090
|
var tmp0_other_with_cast = other instanceof PlayerExitReasonDto ? other : THROW_CCE();
|
|
2116
|
-
if (!(this.
|
|
2091
|
+
if (!(this.d2c_1 === tmp0_other_with_cast.d2c_1))
|
|
2117
2092
|
return false;
|
|
2118
2093
|
return true;
|
|
2119
2094
|
};
|
|
2120
2095
|
function Companion_13() {
|
|
2121
2096
|
}
|
|
2122
2097
|
var Companion_instance_13;
|
|
2123
|
-
function
|
|
2098
|
+
function Companion_getInstance_16() {
|
|
2124
2099
|
return Companion_instance_13;
|
|
2125
2100
|
}
|
|
2126
2101
|
function $serializer_4() {
|
|
2127
2102
|
$serializer_instance_4 = this;
|
|
2128
2103
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2129
|
-
tmp0_serialDesc.
|
|
2130
|
-
tmp0_serialDesc.
|
|
2131
|
-
this.
|
|
2132
|
-
}
|
|
2133
|
-
protoOf($serializer_4).
|
|
2134
|
-
var tmp0_desc = this.
|
|
2135
|
-
var tmp1_output = encoder.
|
|
2136
|
-
tmp1_output.
|
|
2137
|
-
tmp1_output.
|
|
2138
|
-
tmp1_output.
|
|
2139
|
-
};
|
|
2140
|
-
protoOf($serializer_4).
|
|
2141
|
-
return this.
|
|
2142
|
-
};
|
|
2143
|
-
protoOf($serializer_4).
|
|
2144
|
-
var tmp0_desc = this.
|
|
2104
|
+
tmp0_serialDesc.yw('playerId', false);
|
|
2105
|
+
tmp0_serialDesc.yw('tag', false);
|
|
2106
|
+
this.e2c_1 = tmp0_serialDesc;
|
|
2107
|
+
}
|
|
2108
|
+
protoOf($serializer_4).f2c = function (encoder, value) {
|
|
2109
|
+
var tmp0_desc = this.e2c_1;
|
|
2110
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
2111
|
+
tmp1_output.vq(tmp0_desc, 0, value.g2c_1);
|
|
2112
|
+
tmp1_output.zq(tmp0_desc, 1, StringSerializer_getInstance(), value.h2c_1);
|
|
2113
|
+
tmp1_output.hp(tmp0_desc);
|
|
2114
|
+
};
|
|
2115
|
+
protoOf($serializer_4).yl = function (encoder, value) {
|
|
2116
|
+
return this.f2c(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2117
|
+
};
|
|
2118
|
+
protoOf($serializer_4).zl = function (decoder) {
|
|
2119
|
+
var tmp0_desc = this.e2c_1;
|
|
2145
2120
|
var tmp1_flag = true;
|
|
2146
2121
|
var tmp2_index = 0;
|
|
2147
2122
|
var tmp3_bitMask0 = 0;
|
|
2148
2123
|
var tmp4_local0 = null;
|
|
2149
2124
|
var tmp5_local1 = null;
|
|
2150
|
-
var tmp6_input = decoder.
|
|
2151
|
-
if (tmp6_input.
|
|
2152
|
-
tmp4_local0 = tmp6_input.
|
|
2125
|
+
var tmp6_input = decoder.gp(tmp0_desc);
|
|
2126
|
+
if (tmp6_input.wp()) {
|
|
2127
|
+
tmp4_local0 = tmp6_input.qp(tmp0_desc, 0);
|
|
2153
2128
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2154
|
-
tmp5_local1 = tmp6_input.
|
|
2129
|
+
tmp5_local1 = tmp6_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2155
2130
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2156
2131
|
} else
|
|
2157
2132
|
while (tmp1_flag) {
|
|
2158
|
-
tmp2_index = tmp6_input.
|
|
2133
|
+
tmp2_index = tmp6_input.xp(tmp0_desc);
|
|
2159
2134
|
switch (tmp2_index) {
|
|
2160
2135
|
case -1:
|
|
2161
2136
|
tmp1_flag = false;
|
|
2162
2137
|
break;
|
|
2163
2138
|
case 0:
|
|
2164
|
-
tmp4_local0 = tmp6_input.
|
|
2139
|
+
tmp4_local0 = tmp6_input.qp(tmp0_desc, 0);
|
|
2165
2140
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2166
2141
|
break;
|
|
2167
2142
|
case 1:
|
|
2168
|
-
tmp5_local1 = tmp6_input.
|
|
2143
|
+
tmp5_local1 = tmp6_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2169
2144
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2170
2145
|
break;
|
|
2171
2146
|
default:
|
|
2172
2147
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2173
2148
|
}
|
|
2174
2149
|
}
|
|
2175
|
-
tmp6_input.
|
|
2150
|
+
tmp6_input.hp(tmp0_desc);
|
|
2176
2151
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2177
2152
|
};
|
|
2178
|
-
protoOf($serializer_4).
|
|
2179
|
-
return this.
|
|
2153
|
+
protoOf($serializer_4).xl = function () {
|
|
2154
|
+
return this.e2c_1;
|
|
2180
2155
|
};
|
|
2181
|
-
protoOf($serializer_4).
|
|
2156
|
+
protoOf($serializer_4).nx = function () {
|
|
2182
2157
|
// Inline function 'kotlin.arrayOf' call
|
|
2183
2158
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2184
2159
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2192,11 +2167,11 @@
|
|
|
2192
2167
|
}
|
|
2193
2168
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2194
2169
|
if (!(3 === (3 & seen0))) {
|
|
2195
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2170
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().e2c_1);
|
|
2196
2171
|
}
|
|
2197
2172
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2198
|
-
$this.
|
|
2199
|
-
$this.
|
|
2173
|
+
$this.g2c_1 = playerId;
|
|
2174
|
+
$this.h2c_1 = tag;
|
|
2200
2175
|
return $this;
|
|
2201
2176
|
}
|
|
2202
2177
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2204,15 +2179,15 @@
|
|
|
2204
2179
|
}
|
|
2205
2180
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2206
2181
|
TerminationGameReasonDto.call(this);
|
|
2207
|
-
this.
|
|
2208
|
-
this.
|
|
2182
|
+
this.g2c_1 = playerId;
|
|
2183
|
+
this.h2c_1 = tag;
|
|
2209
2184
|
}
|
|
2210
2185
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2211
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2186
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.g2c_1 + ', tag=' + this.h2c_1 + ')';
|
|
2212
2187
|
};
|
|
2213
2188
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2214
|
-
var result = getStringHashCode(this.
|
|
2215
|
-
result = imul(result, 31) + (this.
|
|
2189
|
+
var result = getStringHashCode(this.g2c_1);
|
|
2190
|
+
result = imul(result, 31) + (this.h2c_1 == null ? 0 : getStringHashCode(this.h2c_1)) | 0;
|
|
2216
2191
|
return result;
|
|
2217
2192
|
};
|
|
2218
2193
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2221,74 +2196,74 @@
|
|
|
2221
2196
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2222
2197
|
return false;
|
|
2223
2198
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReasonDto ? other : THROW_CCE();
|
|
2224
|
-
if (!(this.
|
|
2199
|
+
if (!(this.g2c_1 === tmp0_other_with_cast.g2c_1))
|
|
2225
2200
|
return false;
|
|
2226
|
-
if (!(this.
|
|
2201
|
+
if (!(this.h2c_1 == tmp0_other_with_cast.h2c_1))
|
|
2227
2202
|
return false;
|
|
2228
2203
|
return true;
|
|
2229
2204
|
};
|
|
2230
2205
|
function Companion_14() {
|
|
2231
2206
|
}
|
|
2232
2207
|
var Companion_instance_14;
|
|
2233
|
-
function
|
|
2208
|
+
function Companion_getInstance_17() {
|
|
2234
2209
|
return Companion_instance_14;
|
|
2235
2210
|
}
|
|
2236
2211
|
function $serializer_5() {
|
|
2237
2212
|
$serializer_instance_5 = this;
|
|
2238
2213
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2239
|
-
tmp0_serialDesc.
|
|
2240
|
-
tmp0_serialDesc.
|
|
2241
|
-
this.
|
|
2242
|
-
}
|
|
2243
|
-
protoOf($serializer_5).
|
|
2244
|
-
var tmp0_desc = this.
|
|
2245
|
-
var tmp1_output = encoder.
|
|
2246
|
-
tmp1_output.
|
|
2247
|
-
tmp1_output.
|
|
2248
|
-
tmp1_output.
|
|
2249
|
-
};
|
|
2250
|
-
protoOf($serializer_5).
|
|
2251
|
-
return this.
|
|
2252
|
-
};
|
|
2253
|
-
protoOf($serializer_5).
|
|
2254
|
-
var tmp0_desc = this.
|
|
2214
|
+
tmp0_serialDesc.yw('playerId', false);
|
|
2215
|
+
tmp0_serialDesc.yw('tag', false);
|
|
2216
|
+
this.i2c_1 = tmp0_serialDesc;
|
|
2217
|
+
}
|
|
2218
|
+
protoOf($serializer_5).j2c = function (encoder, value) {
|
|
2219
|
+
var tmp0_desc = this.i2c_1;
|
|
2220
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
2221
|
+
tmp1_output.vq(tmp0_desc, 0, value.k2c_1);
|
|
2222
|
+
tmp1_output.zq(tmp0_desc, 1, StringSerializer_getInstance(), value.l2c_1);
|
|
2223
|
+
tmp1_output.hp(tmp0_desc);
|
|
2224
|
+
};
|
|
2225
|
+
protoOf($serializer_5).yl = function (encoder, value) {
|
|
2226
|
+
return this.j2c(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2227
|
+
};
|
|
2228
|
+
protoOf($serializer_5).zl = function (decoder) {
|
|
2229
|
+
var tmp0_desc = this.i2c_1;
|
|
2255
2230
|
var tmp1_flag = true;
|
|
2256
2231
|
var tmp2_index = 0;
|
|
2257
2232
|
var tmp3_bitMask0 = 0;
|
|
2258
2233
|
var tmp4_local0 = null;
|
|
2259
2234
|
var tmp5_local1 = null;
|
|
2260
|
-
var tmp6_input = decoder.
|
|
2261
|
-
if (tmp6_input.
|
|
2262
|
-
tmp4_local0 = tmp6_input.
|
|
2235
|
+
var tmp6_input = decoder.gp(tmp0_desc);
|
|
2236
|
+
if (tmp6_input.wp()) {
|
|
2237
|
+
tmp4_local0 = tmp6_input.qp(tmp0_desc, 0);
|
|
2263
2238
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2264
|
-
tmp5_local1 = tmp6_input.
|
|
2239
|
+
tmp5_local1 = tmp6_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2265
2240
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2266
2241
|
} else
|
|
2267
2242
|
while (tmp1_flag) {
|
|
2268
|
-
tmp2_index = tmp6_input.
|
|
2243
|
+
tmp2_index = tmp6_input.xp(tmp0_desc);
|
|
2269
2244
|
switch (tmp2_index) {
|
|
2270
2245
|
case -1:
|
|
2271
2246
|
tmp1_flag = false;
|
|
2272
2247
|
break;
|
|
2273
2248
|
case 0:
|
|
2274
|
-
tmp4_local0 = tmp6_input.
|
|
2249
|
+
tmp4_local0 = tmp6_input.qp(tmp0_desc, 0);
|
|
2275
2250
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2276
2251
|
break;
|
|
2277
2252
|
case 1:
|
|
2278
|
-
tmp5_local1 = tmp6_input.
|
|
2253
|
+
tmp5_local1 = tmp6_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2279
2254
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2280
2255
|
break;
|
|
2281
2256
|
default:
|
|
2282
2257
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2283
2258
|
}
|
|
2284
2259
|
}
|
|
2285
|
-
tmp6_input.
|
|
2260
|
+
tmp6_input.hp(tmp0_desc);
|
|
2286
2261
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2287
2262
|
};
|
|
2288
|
-
protoOf($serializer_5).
|
|
2289
|
-
return this.
|
|
2263
|
+
protoOf($serializer_5).xl = function () {
|
|
2264
|
+
return this.i2c_1;
|
|
2290
2265
|
};
|
|
2291
|
-
protoOf($serializer_5).
|
|
2266
|
+
protoOf($serializer_5).nx = function () {
|
|
2292
2267
|
// Inline function 'kotlin.arrayOf' call
|
|
2293
2268
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2294
2269
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2302,11 +2277,11 @@
|
|
|
2302
2277
|
}
|
|
2303
2278
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2304
2279
|
if (!(3 === (3 & seen0))) {
|
|
2305
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
2280
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().i2c_1);
|
|
2306
2281
|
}
|
|
2307
2282
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2308
|
-
$this.
|
|
2309
|
-
$this.
|
|
2283
|
+
$this.k2c_1 = playerId;
|
|
2284
|
+
$this.l2c_1 = tag;
|
|
2310
2285
|
return $this;
|
|
2311
2286
|
}
|
|
2312
2287
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2314,15 +2289,15 @@
|
|
|
2314
2289
|
}
|
|
2315
2290
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2316
2291
|
TerminationGameReasonDto.call(this);
|
|
2317
|
-
this.
|
|
2318
|
-
this.
|
|
2292
|
+
this.k2c_1 = playerId;
|
|
2293
|
+
this.l2c_1 = tag;
|
|
2319
2294
|
}
|
|
2320
2295
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2321
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2296
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.k2c_1 + ', tag=' + this.l2c_1 + ')';
|
|
2322
2297
|
};
|
|
2323
2298
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2324
|
-
var result = getStringHashCode(this.
|
|
2325
|
-
result = imul(result, 31) + (this.
|
|
2299
|
+
var result = getStringHashCode(this.k2c_1);
|
|
2300
|
+
result = imul(result, 31) + (this.l2c_1 == null ? 0 : getStringHashCode(this.l2c_1)) | 0;
|
|
2326
2301
|
return result;
|
|
2327
2302
|
};
|
|
2328
2303
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2331,14 +2306,14 @@
|
|
|
2331
2306
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2332
2307
|
return false;
|
|
2333
2308
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReasonDto ? other : THROW_CCE();
|
|
2334
|
-
if (!(this.
|
|
2309
|
+
if (!(this.k2c_1 === tmp0_other_with_cast.k2c_1))
|
|
2335
2310
|
return false;
|
|
2336
|
-
if (!(this.
|
|
2311
|
+
if (!(this.l2c_1 == tmp0_other_with_cast.l2c_1))
|
|
2337
2312
|
return false;
|
|
2338
2313
|
return true;
|
|
2339
2314
|
};
|
|
2340
2315
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2341
|
-
return $this.
|
|
2316
|
+
return $this.m2c_1.a2();
|
|
2342
2317
|
}
|
|
2343
2318
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2344
2319
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2353,13 +2328,13 @@
|
|
|
2353
2328
|
TerminationGameReasonDto.call(this);
|
|
2354
2329
|
var tmp = this;
|
|
2355
2330
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2356
|
-
tmp.
|
|
2331
|
+
tmp.m2c_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2357
2332
|
}
|
|
2358
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2333
|
+
protoOf(WaitingForConnectionReasonDto).p19 = function () {
|
|
2359
2334
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2360
2335
|
};
|
|
2361
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2362
|
-
return this.
|
|
2336
|
+
protoOf(WaitingForConnectionReasonDto).yx = function (typeParamsSerializers) {
|
|
2337
|
+
return this.p19();
|
|
2363
2338
|
};
|
|
2364
2339
|
protoOf(WaitingForConnectionReasonDto).toString = function () {
|
|
2365
2340
|
return 'WaitingForConnectionReasonDto';
|
|
@@ -2382,7 +2357,7 @@
|
|
|
2382
2357
|
return WaitingForConnectionReasonDto_instance;
|
|
2383
2358
|
}
|
|
2384
2359
|
function mapToDto(_this__u8e3s4) {
|
|
2385
|
-
return _this__u8e3s4.
|
|
2360
|
+
return _this__u8e3s4.a28_1;
|
|
2386
2361
|
}
|
|
2387
2362
|
function mapFromDto(_this__u8e3s4) {
|
|
2388
2363
|
return new GameCard(_this__u8e3s4);
|
|
@@ -2475,15 +2450,15 @@
|
|
|
2475
2450
|
}
|
|
2476
2451
|
function mapToDto_3(_this__u8e3s4) {
|
|
2477
2452
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2478
|
-
return new PlayerExitReasonDto(_this__u8e3s4.
|
|
2453
|
+
return new PlayerExitReasonDto(_this__u8e3s4.i29_1);
|
|
2479
2454
|
}
|
|
2480
2455
|
function mapToDto_4(_this__u8e3s4) {
|
|
2481
2456
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2482
|
-
return new PlayerLostConnectionReasonDto(_this__u8e3s4.
|
|
2457
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.c29_1, _this__u8e3s4.tag);
|
|
2483
2458
|
}
|
|
2484
2459
|
function mapToDto_5(_this__u8e3s4) {
|
|
2485
2460
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2486
|
-
return new PlayerTimeoutReasonDto(_this__u8e3s4.
|
|
2461
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.h29_1, _this__u8e3s4.tag);
|
|
2487
2462
|
}
|
|
2488
2463
|
function mapToDto_6(_this__u8e3s4) {
|
|
2489
2464
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2500,20 +2475,20 @@
|
|
|
2500
2475
|
}
|
|
2501
2476
|
function mapFromDto_2(_this__u8e3s4) {
|
|
2502
2477
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2503
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
2478
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.a2c_1, get_gameFinishedReasonMapping());
|
|
2504
2479
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2505
2480
|
}
|
|
2506
2481
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2507
2482
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2508
|
-
return new PlayerExitReason(_this__u8e3s4.
|
|
2483
|
+
return new PlayerExitReason(_this__u8e3s4.d2c_1);
|
|
2509
2484
|
}
|
|
2510
2485
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2511
2486
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2512
|
-
return new PlayerLostConnectionReason(_this__u8e3s4.
|
|
2487
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.g2c_1, _this__u8e3s4.h2c_1);
|
|
2513
2488
|
}
|
|
2514
2489
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2515
2490
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2516
|
-
return new PlayerTimeoutReason(_this__u8e3s4.
|
|
2491
|
+
return new PlayerTimeoutReason(_this__u8e3s4.k2c_1, _this__u8e3s4.l2c_1);
|
|
2517
2492
|
}
|
|
2518
2493
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2519
2494
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
@@ -2532,10 +2507,9 @@
|
|
|
2532
2507
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
2533
2508
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
2534
2509
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
2535
|
-
var
|
|
2536
|
-
while (
|
|
2537
|
-
var element =
|
|
2538
|
-
// Inline function 'com.logic.data.models.serializable.mappers.gameErrorReasonMapping.<anonymous>' call
|
|
2510
|
+
var _iterator__ex2g4s = this_0.j();
|
|
2511
|
+
while (_iterator__ex2g4s.k()) {
|
|
2512
|
+
var element = _iterator__ex2g4s.l();
|
|
2539
2513
|
var tmp$ret$0 = element.toString();
|
|
2540
2514
|
destination.g2(tmp$ret$0, element);
|
|
2541
2515
|
}
|
|
@@ -2545,10 +2519,9 @@
|
|
|
2545
2519
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_1, 10)), 16);
|
|
2546
2520
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
2547
2521
|
var destination_0 = LinkedHashMap_init_$Create$(capacity_0);
|
|
2548
|
-
var
|
|
2549
|
-
while (
|
|
2550
|
-
var element_0 =
|
|
2551
|
-
// Inline function 'com.logic.data.models.serializable.mappers.gameFinishedReasonMapping.<anonymous>' call
|
|
2522
|
+
var _iterator__ex2g4s_0 = this_1.j();
|
|
2523
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
2524
|
+
var element_0 = _iterator__ex2g4s_0.l();
|
|
2552
2525
|
var tmp$ret$0_0 = element_0.toString();
|
|
2553
2526
|
destination_0.g2(tmp$ret$0_0, element_0);
|
|
2554
2527
|
}
|
|
@@ -2556,17 +2529,15 @@
|
|
|
2556
2529
|
}
|
|
2557
2530
|
}
|
|
2558
2531
|
function mapToDto_8(_this__u8e3s4) {
|
|
2559
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2560
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2532
|
+
var tmp0_playerId = _this__u8e3s4.t29_1;
|
|
2533
|
+
var tmp1_uid = _this__u8e3s4.t29_1;
|
|
2561
2534
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2562
2535
|
var tmp3_name = _this__u8e3s4.name;
|
|
2563
2536
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
2564
2537
|
var tmp5_avatarUrl = _this__u8e3s4.avatarUrl;
|
|
2565
2538
|
// Inline function 'kotlin.takeIf' call
|
|
2566
2539
|
var this_0 = _this__u8e3s4.isBot;
|
|
2567
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2568
2540
|
var tmp;
|
|
2569
|
-
// Inline function 'com.logic.data.models.serializable.mappers.mapToDto.<anonymous>' call
|
|
2570
2541
|
if (this_0) {
|
|
2571
2542
|
tmp = this_0;
|
|
2572
2543
|
} else {
|
|
@@ -2578,101 +2549,122 @@
|
|
|
2578
2549
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2579
2550
|
}
|
|
2580
2551
|
function mapFromDto_8(_this__u8e3s4) {
|
|
2581
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2582
|
-
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2583
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2584
|
-
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.
|
|
2585
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2586
|
-
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.
|
|
2587
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2588
|
-
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.
|
|
2552
|
+
var tmp0_elvis_lhs = _this__u8e3s4.n2c_1;
|
|
2553
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.o2c_1) : tmp0_elvis_lhs;
|
|
2554
|
+
var tmp1_elvis_lhs = _this__u8e3s4.p2c_1;
|
|
2555
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.q2c_1) : tmp1_elvis_lhs;
|
|
2556
|
+
var tmp2_elvis_lhs = _this__u8e3s4.r2c_1;
|
|
2557
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.s2c_1 : tmp2_elvis_lhs;
|
|
2558
|
+
var tmp3_elvis_lhs = _this__u8e3s4.u2c_1;
|
|
2559
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.v2c_1, _this__u8e3s4.t2c_1);
|
|
2589
2560
|
}
|
|
2590
2561
|
function mapToDto_9(_this__u8e3s4) {
|
|
2591
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2562
|
+
var tmp0_safe_receiver = _this__u8e3s4.g2a_1;
|
|
2592
2563
|
var tmp4_startFrom = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
2593
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2564
|
+
var tmp1_safe_receiver = _this__u8e3s4.i2a_1;
|
|
2594
2565
|
var tmp5_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
2595
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2566
|
+
var tmp2_safe_receiver = _this__u8e3s4.h2a_1;
|
|
2596
2567
|
var tmp6_playerTurnTimeout = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2597
|
-
var tmp7_state = _this__u8e3s4.
|
|
2598
|
-
var tmp8_tag = _this__u8e3s4.
|
|
2599
|
-
var tmp9_ready = _this__u8e3s4.
|
|
2600
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2568
|
+
var tmp7_state = _this__u8e3s4.j2a_1;
|
|
2569
|
+
var tmp8_tag = _this__u8e3s4.l2a_1;
|
|
2570
|
+
var tmp9_ready = _this__u8e3s4.k2a_1;
|
|
2571
|
+
var tmp3_safe_receiver = _this__u8e3s4.m2a_1;
|
|
2601
2572
|
var tmp10_connection = tmp3_safe_receiver == null ? null : mapToDto_10(tmp3_safe_receiver);
|
|
2602
2573
|
return new PlayerStateDto(tmp4_startFrom, tmp6_playerTurnTimeout, tmp5_waitPlayerUntilTime, tmp7_state, tmp9_ready, tmp8_tag, tmp10_connection);
|
|
2603
2574
|
}
|
|
2604
2575
|
function mapFromDto_9(_this__u8e3s4) {
|
|
2605
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2606
|
-
var
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
var
|
|
2576
|
+
var tmp0_safe_receiver = _this__u8e3s4.w2c_1;
|
|
2577
|
+
var tmp;
|
|
2578
|
+
if (tmp0_safe_receiver == null) {
|
|
2579
|
+
tmp = null;
|
|
2580
|
+
} else {
|
|
2581
|
+
// Inline function 'kotlin.let' call
|
|
2582
|
+
tmp = Companion_getInstance_0().oh(tmp0_safe_receiver);
|
|
2583
|
+
}
|
|
2584
|
+
var tmp5_startFromTime = tmp;
|
|
2585
|
+
var tmp1_safe_receiver = _this__u8e3s4.y2c_1;
|
|
2586
|
+
var tmp_0;
|
|
2587
|
+
if (tmp1_safe_receiver == null) {
|
|
2588
|
+
tmp_0 = null;
|
|
2589
|
+
} else {
|
|
2590
|
+
// Inline function 'kotlin.let' call
|
|
2591
|
+
tmp_0 = Companion_getInstance_0().oh(tmp1_safe_receiver);
|
|
2592
|
+
}
|
|
2593
|
+
var tmp6_waitPlayerUntilTime = tmp_0;
|
|
2594
|
+
var tmp2_safe_receiver = _this__u8e3s4.x2c_1;
|
|
2595
|
+
var tmp_1;
|
|
2596
|
+
if (tmp2_safe_receiver == null) {
|
|
2597
|
+
tmp_1 = null;
|
|
2598
|
+
} else {
|
|
2599
|
+
// Inline function 'kotlin.let' call
|
|
2600
|
+
tmp_1 = Companion_getInstance_0().oh(tmp2_safe_receiver);
|
|
2601
|
+
}
|
|
2602
|
+
var tmp7_playerTurnTimeout = tmp_1;
|
|
2603
|
+
var tmp8_state = _this__u8e3s4.z2c_1;
|
|
2604
|
+
var tmp9_tag = _this__u8e3s4.b2d_1;
|
|
2605
|
+
var tmp3_elvis_lhs = _this__u8e3s4.a2d_1;
|
|
2614
2606
|
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2615
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2607
|
+
var tmp4_safe_receiver = _this__u8e3s4.c2d_1;
|
|
2616
2608
|
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_10(tmp4_safe_receiver);
|
|
2617
2609
|
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2618
2610
|
}
|
|
2619
2611
|
function mapToDto_10(_this__u8e3s4) {
|
|
2620
|
-
return new PlayerConnectionDto(_this__u8e3s4.
|
|
2612
|
+
return new PlayerConnectionDto(_this__u8e3s4.r2a_1, _this__u8e3s4.s2a_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.t2a_1));
|
|
2621
2613
|
}
|
|
2622
2614
|
function mapFromDto_10(_this__u8e3s4) {
|
|
2623
|
-
return new PlayerConnection(_this__u8e3s4.
|
|
2615
|
+
return new PlayerConnection(_this__u8e3s4.d2d_1, Companion_getInstance_0().oh(_this__u8e3s4.e2d_1), Companion_getInstance().ih(_this__u8e3s4.f2d_1));
|
|
2624
2616
|
}
|
|
2625
2617
|
function Companion_15() {
|
|
2626
2618
|
}
|
|
2627
2619
|
var Companion_instance_15;
|
|
2628
|
-
function
|
|
2620
|
+
function Companion_getInstance_18() {
|
|
2629
2621
|
return Companion_instance_15;
|
|
2630
2622
|
}
|
|
2631
2623
|
function $serializer_6() {
|
|
2632
2624
|
$serializer_instance_6 = this;
|
|
2633
2625
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 9);
|
|
2634
|
-
tmp0_serialDesc.
|
|
2635
|
-
tmp0_serialDesc.
|
|
2636
|
-
tmp0_serialDesc.
|
|
2637
|
-
tmp0_serialDesc.
|
|
2638
|
-
tmp0_serialDesc.
|
|
2639
|
-
tmp0_serialDesc.
|
|
2640
|
-
tmp0_serialDesc.
|
|
2641
|
-
tmp0_serialDesc.
|
|
2642
|
-
tmp0_serialDesc.
|
|
2643
|
-
this.
|
|
2644
|
-
}
|
|
2645
|
-
protoOf($serializer_6).
|
|
2646
|
-
var tmp0_desc = this.
|
|
2647
|
-
var tmp1_output = encoder.
|
|
2648
|
-
if (tmp1_output.
|
|
2649
|
-
tmp1_output.
|
|
2626
|
+
tmp0_serialDesc.yw('playerId', true);
|
|
2627
|
+
tmp0_serialDesc.yw('uid', true);
|
|
2628
|
+
tmp0_serialDesc.yw('name', true);
|
|
2629
|
+
tmp0_serialDesc.yw('nickname', true);
|
|
2630
|
+
tmp0_serialDesc.yw('avatarUrl', true);
|
|
2631
|
+
tmp0_serialDesc.yw('photo', true);
|
|
2632
|
+
tmp0_serialDesc.yw('rating', false);
|
|
2633
|
+
tmp0_serialDesc.yw('is_bot', false);
|
|
2634
|
+
tmp0_serialDesc.yw('lucky_factor', false);
|
|
2635
|
+
this.g2d_1 = tmp0_serialDesc;
|
|
2636
|
+
}
|
|
2637
|
+
protoOf($serializer_6).h2d = function (encoder, value) {
|
|
2638
|
+
var tmp0_desc = this.g2d_1;
|
|
2639
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
2640
|
+
if (tmp1_output.dr(tmp0_desc, 0) ? true : !(value.n2c_1 == null)) {
|
|
2641
|
+
tmp1_output.zq(tmp0_desc, 0, StringSerializer_getInstance(), value.n2c_1);
|
|
2650
2642
|
}
|
|
2651
|
-
if (tmp1_output.
|
|
2652
|
-
tmp1_output.
|
|
2643
|
+
if (tmp1_output.dr(tmp0_desc, 1) ? true : !(value.o2c_1 == null)) {
|
|
2644
|
+
tmp1_output.zq(tmp0_desc, 1, StringSerializer_getInstance(), value.o2c_1);
|
|
2653
2645
|
}
|
|
2654
|
-
if (tmp1_output.
|
|
2655
|
-
tmp1_output.
|
|
2646
|
+
if (tmp1_output.dr(tmp0_desc, 2) ? true : !(value.p2c_1 == null)) {
|
|
2647
|
+
tmp1_output.zq(tmp0_desc, 2, StringSerializer_getInstance(), value.p2c_1);
|
|
2656
2648
|
}
|
|
2657
|
-
if (tmp1_output.
|
|
2658
|
-
tmp1_output.
|
|
2649
|
+
if (tmp1_output.dr(tmp0_desc, 3) ? true : !(value.q2c_1 == null)) {
|
|
2650
|
+
tmp1_output.zq(tmp0_desc, 3, StringSerializer_getInstance(), value.q2c_1);
|
|
2659
2651
|
}
|
|
2660
|
-
if (tmp1_output.
|
|
2661
|
-
tmp1_output.
|
|
2652
|
+
if (tmp1_output.dr(tmp0_desc, 4) ? true : !(value.r2c_1 == null)) {
|
|
2653
|
+
tmp1_output.zq(tmp0_desc, 4, StringSerializer_getInstance(), value.r2c_1);
|
|
2662
2654
|
}
|
|
2663
|
-
if (tmp1_output.
|
|
2664
|
-
tmp1_output.
|
|
2655
|
+
if (tmp1_output.dr(tmp0_desc, 5) ? true : !(value.s2c_1 == null)) {
|
|
2656
|
+
tmp1_output.zq(tmp0_desc, 5, StringSerializer_getInstance(), value.s2c_1);
|
|
2665
2657
|
}
|
|
2666
|
-
tmp1_output.
|
|
2667
|
-
tmp1_output.
|
|
2668
|
-
tmp1_output.
|
|
2669
|
-
tmp1_output.
|
|
2658
|
+
tmp1_output.zq(tmp0_desc, 6, DoubleSerializer_getInstance(), value.t2c_1);
|
|
2659
|
+
tmp1_output.zq(tmp0_desc, 7, BooleanSerializer_getInstance(), value.u2c_1);
|
|
2660
|
+
tmp1_output.zq(tmp0_desc, 8, FloatSerializer_getInstance(), value.v2c_1);
|
|
2661
|
+
tmp1_output.hp(tmp0_desc);
|
|
2670
2662
|
};
|
|
2671
|
-
protoOf($serializer_6).
|
|
2672
|
-
return this.
|
|
2663
|
+
protoOf($serializer_6).yl = function (encoder, value) {
|
|
2664
|
+
return this.h2d(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2673
2665
|
};
|
|
2674
|
-
protoOf($serializer_6).
|
|
2675
|
-
var tmp0_desc = this.
|
|
2666
|
+
protoOf($serializer_6).zl = function (decoder) {
|
|
2667
|
+
var tmp0_desc = this.g2d_1;
|
|
2676
2668
|
var tmp1_flag = true;
|
|
2677
2669
|
var tmp2_index = 0;
|
|
2678
2670
|
var tmp3_bitMask0 = 0;
|
|
@@ -2685,80 +2677,80 @@
|
|
|
2685
2677
|
var tmp10_local6 = null;
|
|
2686
2678
|
var tmp11_local7 = null;
|
|
2687
2679
|
var tmp12_local8 = null;
|
|
2688
|
-
var tmp13_input = decoder.
|
|
2689
|
-
if (tmp13_input.
|
|
2690
|
-
tmp4_local0 = tmp13_input.
|
|
2680
|
+
var tmp13_input = decoder.gp(tmp0_desc);
|
|
2681
|
+
if (tmp13_input.wp()) {
|
|
2682
|
+
tmp4_local0 = tmp13_input.up(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2691
2683
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2692
|
-
tmp5_local1 = tmp13_input.
|
|
2684
|
+
tmp5_local1 = tmp13_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2693
2685
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2694
|
-
tmp6_local2 = tmp13_input.
|
|
2686
|
+
tmp6_local2 = tmp13_input.up(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2695
2687
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2696
|
-
tmp7_local3 = tmp13_input.
|
|
2688
|
+
tmp7_local3 = tmp13_input.up(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2697
2689
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2698
|
-
tmp8_local4 = tmp13_input.
|
|
2690
|
+
tmp8_local4 = tmp13_input.up(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2699
2691
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2700
|
-
tmp9_local5 = tmp13_input.
|
|
2692
|
+
tmp9_local5 = tmp13_input.up(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2701
2693
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2702
|
-
tmp10_local6 = tmp13_input.
|
|
2694
|
+
tmp10_local6 = tmp13_input.up(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2703
2695
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2704
|
-
tmp11_local7 = tmp13_input.
|
|
2696
|
+
tmp11_local7 = tmp13_input.up(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2705
2697
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2706
|
-
tmp12_local8 = tmp13_input.
|
|
2698
|
+
tmp12_local8 = tmp13_input.up(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2707
2699
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2708
2700
|
} else
|
|
2709
2701
|
while (tmp1_flag) {
|
|
2710
|
-
tmp2_index = tmp13_input.
|
|
2702
|
+
tmp2_index = tmp13_input.xp(tmp0_desc);
|
|
2711
2703
|
switch (tmp2_index) {
|
|
2712
2704
|
case -1:
|
|
2713
2705
|
tmp1_flag = false;
|
|
2714
2706
|
break;
|
|
2715
2707
|
case 0:
|
|
2716
|
-
tmp4_local0 = tmp13_input.
|
|
2708
|
+
tmp4_local0 = tmp13_input.up(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2717
2709
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2718
2710
|
break;
|
|
2719
2711
|
case 1:
|
|
2720
|
-
tmp5_local1 = tmp13_input.
|
|
2712
|
+
tmp5_local1 = tmp13_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2721
2713
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2722
2714
|
break;
|
|
2723
2715
|
case 2:
|
|
2724
|
-
tmp6_local2 = tmp13_input.
|
|
2716
|
+
tmp6_local2 = tmp13_input.up(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2725
2717
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2726
2718
|
break;
|
|
2727
2719
|
case 3:
|
|
2728
|
-
tmp7_local3 = tmp13_input.
|
|
2720
|
+
tmp7_local3 = tmp13_input.up(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2729
2721
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2730
2722
|
break;
|
|
2731
2723
|
case 4:
|
|
2732
|
-
tmp8_local4 = tmp13_input.
|
|
2724
|
+
tmp8_local4 = tmp13_input.up(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2733
2725
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2734
2726
|
break;
|
|
2735
2727
|
case 5:
|
|
2736
|
-
tmp9_local5 = tmp13_input.
|
|
2728
|
+
tmp9_local5 = tmp13_input.up(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2737
2729
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2738
2730
|
break;
|
|
2739
2731
|
case 6:
|
|
2740
|
-
tmp10_local6 = tmp13_input.
|
|
2732
|
+
tmp10_local6 = tmp13_input.up(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2741
2733
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2742
2734
|
break;
|
|
2743
2735
|
case 7:
|
|
2744
|
-
tmp11_local7 = tmp13_input.
|
|
2736
|
+
tmp11_local7 = tmp13_input.up(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2745
2737
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2746
2738
|
break;
|
|
2747
2739
|
case 8:
|
|
2748
|
-
tmp12_local8 = tmp13_input.
|
|
2740
|
+
tmp12_local8 = tmp13_input.up(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2749
2741
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2750
2742
|
break;
|
|
2751
2743
|
default:
|
|
2752
2744
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2753
2745
|
}
|
|
2754
2746
|
}
|
|
2755
|
-
tmp13_input.
|
|
2747
|
+
tmp13_input.hp(tmp0_desc);
|
|
2756
2748
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2757
2749
|
};
|
|
2758
|
-
protoOf($serializer_6).
|
|
2759
|
-
return this.
|
|
2750
|
+
protoOf($serializer_6).xl = function () {
|
|
2751
|
+
return this.g2d_1;
|
|
2760
2752
|
};
|
|
2761
|
-
protoOf($serializer_6).
|
|
2753
|
+
protoOf($serializer_6).nx = function () {
|
|
2762
2754
|
// Inline function 'kotlin.arrayOf' call
|
|
2763
2755
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2764
2756
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2772,35 +2764,35 @@
|
|
|
2772
2764
|
}
|
|
2773
2765
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2774
2766
|
if (!(448 === (448 & seen0))) {
|
|
2775
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().
|
|
2767
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().g2d_1);
|
|
2776
2768
|
}
|
|
2777
2769
|
if (0 === (seen0 & 1))
|
|
2778
|
-
$this.
|
|
2770
|
+
$this.n2c_1 = null;
|
|
2779
2771
|
else
|
|
2780
|
-
$this.
|
|
2772
|
+
$this.n2c_1 = playerId;
|
|
2781
2773
|
if (0 === (seen0 & 2))
|
|
2782
|
-
$this.
|
|
2774
|
+
$this.o2c_1 = null;
|
|
2783
2775
|
else
|
|
2784
|
-
$this.
|
|
2776
|
+
$this.o2c_1 = uid;
|
|
2785
2777
|
if (0 === (seen0 & 4))
|
|
2786
|
-
$this.
|
|
2778
|
+
$this.p2c_1 = null;
|
|
2787
2779
|
else
|
|
2788
|
-
$this.
|
|
2780
|
+
$this.p2c_1 = name;
|
|
2789
2781
|
if (0 === (seen0 & 8))
|
|
2790
|
-
$this.
|
|
2782
|
+
$this.q2c_1 = null;
|
|
2791
2783
|
else
|
|
2792
|
-
$this.
|
|
2784
|
+
$this.q2c_1 = nickname;
|
|
2793
2785
|
if (0 === (seen0 & 16))
|
|
2794
|
-
$this.
|
|
2786
|
+
$this.r2c_1 = null;
|
|
2795
2787
|
else
|
|
2796
|
-
$this.
|
|
2788
|
+
$this.r2c_1 = avatarUrl;
|
|
2797
2789
|
if (0 === (seen0 & 32))
|
|
2798
|
-
$this.
|
|
2790
|
+
$this.s2c_1 = null;
|
|
2799
2791
|
else
|
|
2800
|
-
$this.
|
|
2801
|
-
$this.
|
|
2802
|
-
$this.
|
|
2803
|
-
$this.
|
|
2792
|
+
$this.s2c_1 = photo;
|
|
2793
|
+
$this.t2c_1 = rating;
|
|
2794
|
+
$this.u2c_1 = isBot;
|
|
2795
|
+
$this.v2c_1 = initialLuckyFactor;
|
|
2804
2796
|
return $this;
|
|
2805
2797
|
}
|
|
2806
2798
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2813,47 +2805,47 @@
|
|
|
2813
2805
|
nickname = nickname === VOID ? null : nickname;
|
|
2814
2806
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2815
2807
|
photo = photo === VOID ? null : photo;
|
|
2816
|
-
this.
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2819
|
-
this.
|
|
2820
|
-
this.
|
|
2821
|
-
this.
|
|
2822
|
-
this.
|
|
2823
|
-
this.
|
|
2824
|
-
this.
|
|
2825
|
-
}
|
|
2826
|
-
protoOf(GameUserInfoDto).
|
|
2827
|
-
return this.
|
|
2828
|
-
};
|
|
2829
|
-
protoOf(GameUserInfoDto).
|
|
2808
|
+
this.n2c_1 = playerId;
|
|
2809
|
+
this.o2c_1 = uid;
|
|
2810
|
+
this.p2c_1 = name;
|
|
2811
|
+
this.q2c_1 = nickname;
|
|
2812
|
+
this.r2c_1 = avatarUrl;
|
|
2813
|
+
this.s2c_1 = photo;
|
|
2814
|
+
this.t2c_1 = rating;
|
|
2815
|
+
this.u2c_1 = isBot;
|
|
2816
|
+
this.v2c_1 = initialLuckyFactor;
|
|
2817
|
+
}
|
|
2818
|
+
protoOf(GameUserInfoDto).i2d = function () {
|
|
2819
|
+
return this.j2d(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2820
|
+
};
|
|
2821
|
+
protoOf(GameUserInfoDto).k2d = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2830
2822
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2831
2823
|
};
|
|
2832
|
-
protoOf(GameUserInfoDto).
|
|
2833
|
-
playerId = playerId === VOID ? this.
|
|
2834
|
-
uid = uid === VOID ? this.
|
|
2835
|
-
name = name === VOID ? this.
|
|
2836
|
-
nickname = nickname === VOID ? this.
|
|
2837
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2838
|
-
photo = photo === VOID ? this.
|
|
2839
|
-
rating = rating === VOID ? this.
|
|
2840
|
-
isBot = isBot === VOID ? this.
|
|
2841
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2842
|
-
return $super === VOID ? this.
|
|
2824
|
+
protoOf(GameUserInfoDto).j2d = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2825
|
+
playerId = playerId === VOID ? this.n2c_1 : playerId;
|
|
2826
|
+
uid = uid === VOID ? this.o2c_1 : uid;
|
|
2827
|
+
name = name === VOID ? this.p2c_1 : name;
|
|
2828
|
+
nickname = nickname === VOID ? this.q2c_1 : nickname;
|
|
2829
|
+
avatarUrl = avatarUrl === VOID ? this.r2c_1 : avatarUrl;
|
|
2830
|
+
photo = photo === VOID ? this.s2c_1 : photo;
|
|
2831
|
+
rating = rating === VOID ? this.t2c_1 : rating;
|
|
2832
|
+
isBot = isBot === VOID ? this.u2c_1 : isBot;
|
|
2833
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.v2c_1 : initialLuckyFactor;
|
|
2834
|
+
return $super === VOID ? this.k2d(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.k2d.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2843
2835
|
};
|
|
2844
2836
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2845
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2837
|
+
return 'GameUserInfoDto(playerId=' + this.n2c_1 + ', uid=' + this.o2c_1 + ', name=' + this.p2c_1 + ', nickname=' + this.q2c_1 + ', avatarUrl=' + this.r2c_1 + ', photo=' + this.s2c_1 + ', rating=' + this.t2c_1 + ', isBot=' + this.u2c_1 + ', initialLuckyFactor=' + this.v2c_1 + ')';
|
|
2846
2838
|
};
|
|
2847
2839
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2848
|
-
var result = this.
|
|
2849
|
-
result = imul(result, 31) + (this.
|
|
2850
|
-
result = imul(result, 31) + (this.
|
|
2851
|
-
result = imul(result, 31) + (this.
|
|
2852
|
-
result = imul(result, 31) + (this.
|
|
2853
|
-
result = imul(result, 31) + (this.
|
|
2854
|
-
result = imul(result, 31) + (this.
|
|
2855
|
-
result = imul(result, 31) + (this.
|
|
2856
|
-
result = imul(result, 31) + (this.
|
|
2840
|
+
var result = this.n2c_1 == null ? 0 : getStringHashCode(this.n2c_1);
|
|
2841
|
+
result = imul(result, 31) + (this.o2c_1 == null ? 0 : getStringHashCode(this.o2c_1)) | 0;
|
|
2842
|
+
result = imul(result, 31) + (this.p2c_1 == null ? 0 : getStringHashCode(this.p2c_1)) | 0;
|
|
2843
|
+
result = imul(result, 31) + (this.q2c_1 == null ? 0 : getStringHashCode(this.q2c_1)) | 0;
|
|
2844
|
+
result = imul(result, 31) + (this.r2c_1 == null ? 0 : getStringHashCode(this.r2c_1)) | 0;
|
|
2845
|
+
result = imul(result, 31) + (this.s2c_1 == null ? 0 : getStringHashCode(this.s2c_1)) | 0;
|
|
2846
|
+
result = imul(result, 31) + (this.t2c_1 == null ? 0 : getNumberHashCode(this.t2c_1)) | 0;
|
|
2847
|
+
result = imul(result, 31) + (this.u2c_1 == null ? 0 : getBooleanHashCode(this.u2c_1)) | 0;
|
|
2848
|
+
result = imul(result, 31) + (this.v2c_1 == null ? 0 : getNumberHashCode(this.v2c_1)) | 0;
|
|
2857
2849
|
return result;
|
|
2858
2850
|
};
|
|
2859
2851
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2862,36 +2854,40 @@
|
|
|
2862
2854
|
if (!(other instanceof GameUserInfoDto))
|
|
2863
2855
|
return false;
|
|
2864
2856
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2865
|
-
if (!(this.
|
|
2857
|
+
if (!(this.n2c_1 == tmp0_other_with_cast.n2c_1))
|
|
2866
2858
|
return false;
|
|
2867
|
-
if (!(this.
|
|
2859
|
+
if (!(this.o2c_1 == tmp0_other_with_cast.o2c_1))
|
|
2868
2860
|
return false;
|
|
2869
|
-
if (!(this.
|
|
2861
|
+
if (!(this.p2c_1 == tmp0_other_with_cast.p2c_1))
|
|
2870
2862
|
return false;
|
|
2871
|
-
if (!(this.
|
|
2863
|
+
if (!(this.q2c_1 == tmp0_other_with_cast.q2c_1))
|
|
2872
2864
|
return false;
|
|
2873
|
-
if (!(this.
|
|
2865
|
+
if (!(this.r2c_1 == tmp0_other_with_cast.r2c_1))
|
|
2874
2866
|
return false;
|
|
2875
|
-
if (!(this.
|
|
2867
|
+
if (!(this.s2c_1 == tmp0_other_with_cast.s2c_1))
|
|
2876
2868
|
return false;
|
|
2877
|
-
if (!equals(this.
|
|
2869
|
+
if (!equals(this.t2c_1, tmp0_other_with_cast.t2c_1))
|
|
2878
2870
|
return false;
|
|
2879
|
-
if (!(this.
|
|
2871
|
+
if (!(this.u2c_1 == tmp0_other_with_cast.u2c_1))
|
|
2880
2872
|
return false;
|
|
2881
|
-
if (!equals(this.
|
|
2873
|
+
if (!equals(this.v2c_1, tmp0_other_with_cast.v2c_1))
|
|
2882
2874
|
return false;
|
|
2883
2875
|
return true;
|
|
2884
2876
|
};
|
|
2877
|
+
function PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2() {
|
|
2878
|
+
return Companion_getInstance_9().p19();
|
|
2879
|
+
}
|
|
2885
2880
|
function Companion_16() {
|
|
2886
2881
|
Companion_instance_16 = this;
|
|
2887
2882
|
var tmp = this;
|
|
2883
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2888
2884
|
// Inline function 'kotlin.arrayOf' call
|
|
2889
2885
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2890
2886
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2891
|
-
tmp.
|
|
2887
|
+
tmp.l2d_1 = [lazy(tmp_0, PlayerConnectionDto$Companion$$childSerializers$_anonymous__jevhp2), null, null];
|
|
2892
2888
|
}
|
|
2893
2889
|
var Companion_instance_16;
|
|
2894
|
-
function
|
|
2890
|
+
function Companion_getInstance_19() {
|
|
2895
2891
|
if (Companion_instance_16 == null)
|
|
2896
2892
|
new Companion_16();
|
|
2897
2893
|
return Companion_instance_16;
|
|
@@ -2899,74 +2895,74 @@
|
|
|
2899
2895
|
function $serializer_7() {
|
|
2900
2896
|
$serializer_instance_7 = this;
|
|
2901
2897
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerConnectionDto', this, 3);
|
|
2902
|
-
tmp0_serialDesc.
|
|
2903
|
-
tmp0_serialDesc.
|
|
2904
|
-
tmp0_serialDesc.
|
|
2905
|
-
this.
|
|
2906
|
-
}
|
|
2907
|
-
protoOf($serializer_7).
|
|
2908
|
-
var tmp0_desc = this.
|
|
2909
|
-
var tmp1_output = encoder.
|
|
2910
|
-
var tmp2_cached =
|
|
2911
|
-
tmp1_output.
|
|
2912
|
-
tmp1_output.
|
|
2913
|
-
tmp1_output.
|
|
2914
|
-
tmp1_output.
|
|
2915
|
-
};
|
|
2916
|
-
protoOf($serializer_7).
|
|
2917
|
-
return this.
|
|
2918
|
-
};
|
|
2919
|
-
protoOf($serializer_7).
|
|
2920
|
-
var tmp0_desc = this.
|
|
2898
|
+
tmp0_serialDesc.yw('state', false);
|
|
2899
|
+
tmp0_serialDesc.yw('connectionChangedTime', false);
|
|
2900
|
+
tmp0_serialDesc.yw('notLiveDurationRecord', false);
|
|
2901
|
+
this.m2d_1 = tmp0_serialDesc;
|
|
2902
|
+
}
|
|
2903
|
+
protoOf($serializer_7).n2d = function (encoder, value) {
|
|
2904
|
+
var tmp0_desc = this.m2d_1;
|
|
2905
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
2906
|
+
var tmp2_cached = Companion_getInstance_19().l2d_1;
|
|
2907
|
+
tmp1_output.xq(tmp0_desc, 0, tmp2_cached[0].a2(), value.d2d_1);
|
|
2908
|
+
tmp1_output.vq(tmp0_desc, 1, value.e2d_1);
|
|
2909
|
+
tmp1_output.vq(tmp0_desc, 2, value.f2d_1);
|
|
2910
|
+
tmp1_output.hp(tmp0_desc);
|
|
2911
|
+
};
|
|
2912
|
+
protoOf($serializer_7).yl = function (encoder, value) {
|
|
2913
|
+
return this.n2d(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2914
|
+
};
|
|
2915
|
+
protoOf($serializer_7).zl = function (decoder) {
|
|
2916
|
+
var tmp0_desc = this.m2d_1;
|
|
2921
2917
|
var tmp1_flag = true;
|
|
2922
2918
|
var tmp2_index = 0;
|
|
2923
2919
|
var tmp3_bitMask0 = 0;
|
|
2924
2920
|
var tmp4_local0 = null;
|
|
2925
2921
|
var tmp5_local1 = null;
|
|
2926
2922
|
var tmp6_local2 = null;
|
|
2927
|
-
var tmp7_input = decoder.
|
|
2928
|
-
var tmp8_cached =
|
|
2929
|
-
if (tmp7_input.
|
|
2930
|
-
tmp4_local0 = tmp7_input.
|
|
2923
|
+
var tmp7_input = decoder.gp(tmp0_desc);
|
|
2924
|
+
var tmp8_cached = Companion_getInstance_19().l2d_1;
|
|
2925
|
+
if (tmp7_input.wp()) {
|
|
2926
|
+
tmp4_local0 = tmp7_input.sp(tmp0_desc, 0, tmp8_cached[0].a2(), tmp4_local0);
|
|
2931
2927
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2932
|
-
tmp5_local1 = tmp7_input.
|
|
2928
|
+
tmp5_local1 = tmp7_input.qp(tmp0_desc, 1);
|
|
2933
2929
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2934
|
-
tmp6_local2 = tmp7_input.
|
|
2930
|
+
tmp6_local2 = tmp7_input.qp(tmp0_desc, 2);
|
|
2935
2931
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2936
2932
|
} else
|
|
2937
2933
|
while (tmp1_flag) {
|
|
2938
|
-
tmp2_index = tmp7_input.
|
|
2934
|
+
tmp2_index = tmp7_input.xp(tmp0_desc);
|
|
2939
2935
|
switch (tmp2_index) {
|
|
2940
2936
|
case -1:
|
|
2941
2937
|
tmp1_flag = false;
|
|
2942
2938
|
break;
|
|
2943
2939
|
case 0:
|
|
2944
|
-
tmp4_local0 = tmp7_input.
|
|
2940
|
+
tmp4_local0 = tmp7_input.sp(tmp0_desc, 0, tmp8_cached[0].a2(), tmp4_local0);
|
|
2945
2941
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2946
2942
|
break;
|
|
2947
2943
|
case 1:
|
|
2948
|
-
tmp5_local1 = tmp7_input.
|
|
2944
|
+
tmp5_local1 = tmp7_input.qp(tmp0_desc, 1);
|
|
2949
2945
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2950
2946
|
break;
|
|
2951
2947
|
case 2:
|
|
2952
|
-
tmp6_local2 = tmp7_input.
|
|
2948
|
+
tmp6_local2 = tmp7_input.qp(tmp0_desc, 2);
|
|
2953
2949
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2954
2950
|
break;
|
|
2955
2951
|
default:
|
|
2956
2952
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2957
2953
|
}
|
|
2958
2954
|
}
|
|
2959
|
-
tmp7_input.
|
|
2955
|
+
tmp7_input.hp(tmp0_desc);
|
|
2960
2956
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2961
2957
|
};
|
|
2962
|
-
protoOf($serializer_7).
|
|
2963
|
-
return this.
|
|
2958
|
+
protoOf($serializer_7).xl = function () {
|
|
2959
|
+
return this.m2d_1;
|
|
2964
2960
|
};
|
|
2965
|
-
protoOf($serializer_7).
|
|
2961
|
+
protoOf($serializer_7).nx = function () {
|
|
2966
2962
|
// Inline function 'kotlin.arrayOf' call
|
|
2967
2963
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2968
2964
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2969
|
-
return [
|
|
2965
|
+
return [Companion_getInstance_19().l2d_1[0].a2(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2970
2966
|
};
|
|
2971
2967
|
var $serializer_instance_7;
|
|
2972
2968
|
function $serializer_getInstance_7() {
|
|
@@ -2976,29 +2972,29 @@
|
|
|
2976
2972
|
}
|
|
2977
2973
|
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2978
2974
|
if (!(7 === (7 & seen0))) {
|
|
2979
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().
|
|
2975
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().m2d_1);
|
|
2980
2976
|
}
|
|
2981
|
-
$this.
|
|
2982
|
-
$this.
|
|
2983
|
-
$this.
|
|
2977
|
+
$this.d2d_1 = state;
|
|
2978
|
+
$this.e2d_1 = connectionChangedTime;
|
|
2979
|
+
$this.f2d_1 = notLiveDurationRecord;
|
|
2984
2980
|
return $this;
|
|
2985
2981
|
}
|
|
2986
2982
|
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
2987
2983
|
return PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, objectCreate(protoOf(PlayerConnectionDto)));
|
|
2988
2984
|
}
|
|
2989
2985
|
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
2990
|
-
|
|
2991
|
-
this.
|
|
2992
|
-
this.
|
|
2993
|
-
this.
|
|
2986
|
+
Companion_getInstance_19();
|
|
2987
|
+
this.d2d_1 = state;
|
|
2988
|
+
this.e2d_1 = connectionChangedTime;
|
|
2989
|
+
this.f2d_1 = notLiveDurationRecord;
|
|
2994
2990
|
}
|
|
2995
2991
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
2996
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
2992
|
+
return 'PlayerConnectionDto(state=' + this.d2d_1.toString() + ', connectionChangedTime=' + this.e2d_1 + ', notLiveDurationRecord=' + this.f2d_1 + ')';
|
|
2997
2993
|
};
|
|
2998
2994
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2999
|
-
var result = this.
|
|
3000
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3001
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2995
|
+
var result = this.d2d_1.hashCode();
|
|
2996
|
+
result = imul(result, 31) + getStringHashCode(this.e2d_1) | 0;
|
|
2997
|
+
result = imul(result, 31) + getStringHashCode(this.f2d_1) | 0;
|
|
3002
2998
|
return result;
|
|
3003
2999
|
};
|
|
3004
3000
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3007,24 +3003,28 @@
|
|
|
3007
3003
|
if (!(other instanceof PlayerConnectionDto))
|
|
3008
3004
|
return false;
|
|
3009
3005
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3010
|
-
if (!this.
|
|
3006
|
+
if (!this.d2d_1.equals(tmp0_other_with_cast.d2d_1))
|
|
3011
3007
|
return false;
|
|
3012
|
-
if (!(this.
|
|
3008
|
+
if (!(this.e2d_1 === tmp0_other_with_cast.e2d_1))
|
|
3013
3009
|
return false;
|
|
3014
|
-
if (!(this.
|
|
3010
|
+
if (!(this.f2d_1 === tmp0_other_with_cast.f2d_1))
|
|
3015
3011
|
return false;
|
|
3016
3012
|
return true;
|
|
3017
3013
|
};
|
|
3014
|
+
function PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl() {
|
|
3015
|
+
return Companion_getInstance_10().p19();
|
|
3016
|
+
}
|
|
3018
3017
|
function Companion_17() {
|
|
3019
3018
|
Companion_instance_17 = this;
|
|
3020
3019
|
var tmp = this;
|
|
3020
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3021
3021
|
// Inline function 'kotlin.arrayOf' call
|
|
3022
3022
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3023
3023
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3024
|
-
tmp.
|
|
3024
|
+
tmp.o2d_1 = [null, null, null, lazy(tmp_0, PlayerStateDto$Companion$$childSerializers$_anonymous__izgokl), null, null, null];
|
|
3025
3025
|
}
|
|
3026
3026
|
var Companion_instance_17;
|
|
3027
|
-
function
|
|
3027
|
+
function Companion_getInstance_20() {
|
|
3028
3028
|
if (Companion_instance_17 == null)
|
|
3029
3029
|
new Companion_17();
|
|
3030
3030
|
return Companion_instance_17;
|
|
@@ -3032,45 +3032,45 @@
|
|
|
3032
3032
|
function $serializer_8() {
|
|
3033
3033
|
$serializer_instance_8 = this;
|
|
3034
3034
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 7);
|
|
3035
|
-
tmp0_serialDesc.
|
|
3036
|
-
tmp0_serialDesc.
|
|
3037
|
-
tmp0_serialDesc.
|
|
3038
|
-
tmp0_serialDesc.
|
|
3039
|
-
tmp0_serialDesc.
|
|
3040
|
-
tmp0_serialDesc.
|
|
3041
|
-
tmp0_serialDesc.
|
|
3042
|
-
this.
|
|
3043
|
-
}
|
|
3044
|
-
protoOf($serializer_8).
|
|
3045
|
-
var tmp0_desc = this.
|
|
3046
|
-
var tmp1_output = encoder.
|
|
3047
|
-
var tmp2_cached =
|
|
3048
|
-
if (tmp1_output.
|
|
3049
|
-
tmp1_output.
|
|
3035
|
+
tmp0_serialDesc.yw('startFrom', true);
|
|
3036
|
+
tmp0_serialDesc.yw('playerTurnTimeout', true);
|
|
3037
|
+
tmp0_serialDesc.yw('waitPlayerUntilTime', true);
|
|
3038
|
+
tmp0_serialDesc.yw('state', false);
|
|
3039
|
+
tmp0_serialDesc.yw('ready', true);
|
|
3040
|
+
tmp0_serialDesc.yw('tag', true);
|
|
3041
|
+
tmp0_serialDesc.yw('connection', true);
|
|
3042
|
+
this.p2d_1 = tmp0_serialDesc;
|
|
3043
|
+
}
|
|
3044
|
+
protoOf($serializer_8).q2d = function (encoder, value) {
|
|
3045
|
+
var tmp0_desc = this.p2d_1;
|
|
3046
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
3047
|
+
var tmp2_cached = Companion_getInstance_20().o2d_1;
|
|
3048
|
+
if (tmp1_output.dr(tmp0_desc, 0) ? true : !(value.w2c_1 == null)) {
|
|
3049
|
+
tmp1_output.zq(tmp0_desc, 0, StringSerializer_getInstance(), value.w2c_1);
|
|
3050
3050
|
}
|
|
3051
|
-
if (tmp1_output.
|
|
3052
|
-
tmp1_output.
|
|
3051
|
+
if (tmp1_output.dr(tmp0_desc, 1) ? true : !(value.x2c_1 == null)) {
|
|
3052
|
+
tmp1_output.zq(tmp0_desc, 1, StringSerializer_getInstance(), value.x2c_1);
|
|
3053
3053
|
}
|
|
3054
|
-
if (tmp1_output.
|
|
3055
|
-
tmp1_output.
|
|
3054
|
+
if (tmp1_output.dr(tmp0_desc, 2) ? true : !(value.y2c_1 == null)) {
|
|
3055
|
+
tmp1_output.zq(tmp0_desc, 2, StringSerializer_getInstance(), value.y2c_1);
|
|
3056
3056
|
}
|
|
3057
|
-
tmp1_output.
|
|
3058
|
-
if (tmp1_output.
|
|
3059
|
-
tmp1_output.
|
|
3057
|
+
tmp1_output.xq(tmp0_desc, 3, tmp2_cached[3].a2(), value.z2c_1);
|
|
3058
|
+
if (tmp1_output.dr(tmp0_desc, 4) ? true : !(value.a2d_1 == null)) {
|
|
3059
|
+
tmp1_output.zq(tmp0_desc, 4, BooleanSerializer_getInstance(), value.a2d_1);
|
|
3060
3060
|
}
|
|
3061
|
-
if (tmp1_output.
|
|
3062
|
-
tmp1_output.
|
|
3061
|
+
if (tmp1_output.dr(tmp0_desc, 5) ? true : !(value.b2d_1 == null)) {
|
|
3062
|
+
tmp1_output.zq(tmp0_desc, 5, StringSerializer_getInstance(), value.b2d_1);
|
|
3063
3063
|
}
|
|
3064
|
-
if (tmp1_output.
|
|
3065
|
-
tmp1_output.
|
|
3064
|
+
if (tmp1_output.dr(tmp0_desc, 6) ? true : !(value.c2d_1 == null)) {
|
|
3065
|
+
tmp1_output.zq(tmp0_desc, 6, $serializer_getInstance_7(), value.c2d_1);
|
|
3066
3066
|
}
|
|
3067
|
-
tmp1_output.
|
|
3067
|
+
tmp1_output.hp(tmp0_desc);
|
|
3068
3068
|
};
|
|
3069
|
-
protoOf($serializer_8).
|
|
3070
|
-
return this.
|
|
3069
|
+
protoOf($serializer_8).yl = function (encoder, value) {
|
|
3070
|
+
return this.q2d(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3071
3071
|
};
|
|
3072
|
-
protoOf($serializer_8).
|
|
3073
|
-
var tmp0_desc = this.
|
|
3072
|
+
protoOf($serializer_8).zl = function (decoder) {
|
|
3073
|
+
var tmp0_desc = this.p2d_1;
|
|
3074
3074
|
var tmp1_flag = true;
|
|
3075
3075
|
var tmp2_index = 0;
|
|
3076
3076
|
var tmp3_bitMask0 = 0;
|
|
@@ -3081,74 +3081,74 @@
|
|
|
3081
3081
|
var tmp8_local4 = null;
|
|
3082
3082
|
var tmp9_local5 = null;
|
|
3083
3083
|
var tmp10_local6 = null;
|
|
3084
|
-
var tmp11_input = decoder.
|
|
3085
|
-
var tmp12_cached =
|
|
3086
|
-
if (tmp11_input.
|
|
3087
|
-
tmp4_local0 = tmp11_input.
|
|
3084
|
+
var tmp11_input = decoder.gp(tmp0_desc);
|
|
3085
|
+
var tmp12_cached = Companion_getInstance_20().o2d_1;
|
|
3086
|
+
if (tmp11_input.wp()) {
|
|
3087
|
+
tmp4_local0 = tmp11_input.up(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3088
3088
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3089
|
-
tmp5_local1 = tmp11_input.
|
|
3089
|
+
tmp5_local1 = tmp11_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3090
3090
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3091
|
-
tmp6_local2 = tmp11_input.
|
|
3091
|
+
tmp6_local2 = tmp11_input.up(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3092
3092
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3093
|
-
tmp7_local3 = tmp11_input.
|
|
3093
|
+
tmp7_local3 = tmp11_input.sp(tmp0_desc, 3, tmp12_cached[3].a2(), tmp7_local3);
|
|
3094
3094
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3095
|
-
tmp8_local4 = tmp11_input.
|
|
3095
|
+
tmp8_local4 = tmp11_input.up(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3096
3096
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3097
|
-
tmp9_local5 = tmp11_input.
|
|
3097
|
+
tmp9_local5 = tmp11_input.up(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3098
3098
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3099
|
-
tmp10_local6 = tmp11_input.
|
|
3099
|
+
tmp10_local6 = tmp11_input.up(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3100
3100
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3101
3101
|
} else
|
|
3102
3102
|
while (tmp1_flag) {
|
|
3103
|
-
tmp2_index = tmp11_input.
|
|
3103
|
+
tmp2_index = tmp11_input.xp(tmp0_desc);
|
|
3104
3104
|
switch (tmp2_index) {
|
|
3105
3105
|
case -1:
|
|
3106
3106
|
tmp1_flag = false;
|
|
3107
3107
|
break;
|
|
3108
3108
|
case 0:
|
|
3109
|
-
tmp4_local0 = tmp11_input.
|
|
3109
|
+
tmp4_local0 = tmp11_input.up(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3110
3110
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3111
3111
|
break;
|
|
3112
3112
|
case 1:
|
|
3113
|
-
tmp5_local1 = tmp11_input.
|
|
3113
|
+
tmp5_local1 = tmp11_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3114
3114
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3115
3115
|
break;
|
|
3116
3116
|
case 2:
|
|
3117
|
-
tmp6_local2 = tmp11_input.
|
|
3117
|
+
tmp6_local2 = tmp11_input.up(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3118
3118
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3119
3119
|
break;
|
|
3120
3120
|
case 3:
|
|
3121
|
-
tmp7_local3 = tmp11_input.
|
|
3121
|
+
tmp7_local3 = tmp11_input.sp(tmp0_desc, 3, tmp12_cached[3].a2(), tmp7_local3);
|
|
3122
3122
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3123
3123
|
break;
|
|
3124
3124
|
case 4:
|
|
3125
|
-
tmp8_local4 = tmp11_input.
|
|
3125
|
+
tmp8_local4 = tmp11_input.up(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3126
3126
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3127
3127
|
break;
|
|
3128
3128
|
case 5:
|
|
3129
|
-
tmp9_local5 = tmp11_input.
|
|
3129
|
+
tmp9_local5 = tmp11_input.up(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
3130
3130
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3131
3131
|
break;
|
|
3132
3132
|
case 6:
|
|
3133
|
-
tmp10_local6 = tmp11_input.
|
|
3133
|
+
tmp10_local6 = tmp11_input.up(tmp0_desc, 6, $serializer_getInstance_7(), tmp10_local6);
|
|
3134
3134
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3135
3135
|
break;
|
|
3136
3136
|
default:
|
|
3137
3137
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3138
3138
|
}
|
|
3139
3139
|
}
|
|
3140
|
-
tmp11_input.
|
|
3140
|
+
tmp11_input.hp(tmp0_desc);
|
|
3141
3141
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
3142
3142
|
};
|
|
3143
|
-
protoOf($serializer_8).
|
|
3144
|
-
return this.
|
|
3143
|
+
protoOf($serializer_8).xl = function () {
|
|
3144
|
+
return this.p2d_1;
|
|
3145
3145
|
};
|
|
3146
|
-
protoOf($serializer_8).
|
|
3147
|
-
var tmp0_cached =
|
|
3146
|
+
protoOf($serializer_8).nx = function () {
|
|
3147
|
+
var tmp0_cached = Companion_getInstance_20().o2d_1;
|
|
3148
3148
|
// Inline function 'kotlin.arrayOf' call
|
|
3149
3149
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3150
3150
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3151
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[3], get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_7())];
|
|
3151
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[3].a2(), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_7())];
|
|
3152
3152
|
};
|
|
3153
3153
|
var $serializer_instance_8;
|
|
3154
3154
|
function $serializer_getInstance_8() {
|
|
@@ -3158,65 +3158,65 @@
|
|
|
3158
3158
|
}
|
|
3159
3159
|
function PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3160
3160
|
if (!(8 === (8 & seen0))) {
|
|
3161
|
-
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().
|
|
3161
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_8().p2d_1);
|
|
3162
3162
|
}
|
|
3163
3163
|
if (0 === (seen0 & 1))
|
|
3164
|
-
$this.
|
|
3164
|
+
$this.w2c_1 = null;
|
|
3165
3165
|
else
|
|
3166
|
-
$this.
|
|
3166
|
+
$this.w2c_1 = startFrom;
|
|
3167
3167
|
if (0 === (seen0 & 2))
|
|
3168
|
-
$this.
|
|
3168
|
+
$this.x2c_1 = null;
|
|
3169
3169
|
else
|
|
3170
|
-
$this.
|
|
3170
|
+
$this.x2c_1 = playerTurnTimeout;
|
|
3171
3171
|
if (0 === (seen0 & 4))
|
|
3172
|
-
$this.
|
|
3172
|
+
$this.y2c_1 = null;
|
|
3173
3173
|
else
|
|
3174
|
-
$this.
|
|
3175
|
-
$this.
|
|
3174
|
+
$this.y2c_1 = waitPlayerUntilTime;
|
|
3175
|
+
$this.z2c_1 = state;
|
|
3176
3176
|
if (0 === (seen0 & 16))
|
|
3177
|
-
$this.
|
|
3177
|
+
$this.a2d_1 = null;
|
|
3178
3178
|
else
|
|
3179
|
-
$this.
|
|
3179
|
+
$this.a2d_1 = ready;
|
|
3180
3180
|
if (0 === (seen0 & 32))
|
|
3181
|
-
$this.
|
|
3181
|
+
$this.b2d_1 = null;
|
|
3182
3182
|
else
|
|
3183
|
-
$this.
|
|
3183
|
+
$this.b2d_1 = tag;
|
|
3184
3184
|
if (0 === (seen0 & 64))
|
|
3185
|
-
$this.
|
|
3185
|
+
$this.c2d_1 = null;
|
|
3186
3186
|
else
|
|
3187
|
-
$this.
|
|
3187
|
+
$this.c2d_1 = connection;
|
|
3188
3188
|
return $this;
|
|
3189
3189
|
}
|
|
3190
3190
|
function PlayerStateDto_init_$Create$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
3191
3191
|
return PlayerStateDto_init_$Init$(seen0, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, objectCreate(protoOf(PlayerStateDto)));
|
|
3192
3192
|
}
|
|
3193
3193
|
function PlayerStateDto(startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
3194
|
-
|
|
3194
|
+
Companion_getInstance_20();
|
|
3195
3195
|
startFrom = startFrom === VOID ? null : startFrom;
|
|
3196
3196
|
playerTurnTimeout = playerTurnTimeout === VOID ? null : playerTurnTimeout;
|
|
3197
3197
|
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? null : waitPlayerUntilTime;
|
|
3198
3198
|
ready = ready === VOID ? null : ready;
|
|
3199
3199
|
tag = tag === VOID ? null : tag;
|
|
3200
3200
|
connection = connection === VOID ? null : connection;
|
|
3201
|
-
this.
|
|
3202
|
-
this.
|
|
3203
|
-
this.
|
|
3204
|
-
this.
|
|
3205
|
-
this.
|
|
3206
|
-
this.
|
|
3207
|
-
this.
|
|
3201
|
+
this.w2c_1 = startFrom;
|
|
3202
|
+
this.x2c_1 = playerTurnTimeout;
|
|
3203
|
+
this.y2c_1 = waitPlayerUntilTime;
|
|
3204
|
+
this.z2c_1 = state;
|
|
3205
|
+
this.a2d_1 = ready;
|
|
3206
|
+
this.b2d_1 = tag;
|
|
3207
|
+
this.c2d_1 = connection;
|
|
3208
3208
|
}
|
|
3209
3209
|
protoOf(PlayerStateDto).toString = function () {
|
|
3210
|
-
return 'PlayerStateDto(startFrom=' + this.
|
|
3210
|
+
return 'PlayerStateDto(startFrom=' + this.w2c_1 + ', playerTurnTimeout=' + this.x2c_1 + ', waitPlayerUntilTime=' + this.y2c_1 + ', state=' + this.z2c_1.toString() + ', ready=' + this.a2d_1 + ', tag=' + this.b2d_1 + ', connection=' + toString(this.c2d_1) + ')';
|
|
3211
3211
|
};
|
|
3212
3212
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3213
|
-
var result = this.
|
|
3214
|
-
result = imul(result, 31) + (this.
|
|
3215
|
-
result = imul(result, 31) + (this.
|
|
3216
|
-
result = imul(result, 31) + this.
|
|
3217
|
-
result = imul(result, 31) + (this.
|
|
3218
|
-
result = imul(result, 31) + (this.
|
|
3219
|
-
result = imul(result, 31) + (this.
|
|
3213
|
+
var result = this.w2c_1 == null ? 0 : getStringHashCode(this.w2c_1);
|
|
3214
|
+
result = imul(result, 31) + (this.x2c_1 == null ? 0 : getStringHashCode(this.x2c_1)) | 0;
|
|
3215
|
+
result = imul(result, 31) + (this.y2c_1 == null ? 0 : getStringHashCode(this.y2c_1)) | 0;
|
|
3216
|
+
result = imul(result, 31) + this.z2c_1.hashCode() | 0;
|
|
3217
|
+
result = imul(result, 31) + (this.a2d_1 == null ? 0 : getBooleanHashCode(this.a2d_1)) | 0;
|
|
3218
|
+
result = imul(result, 31) + (this.b2d_1 == null ? 0 : getStringHashCode(this.b2d_1)) | 0;
|
|
3219
|
+
result = imul(result, 31) + (this.c2d_1 == null ? 0 : this.c2d_1.hashCode()) | 0;
|
|
3220
3220
|
return result;
|
|
3221
3221
|
};
|
|
3222
3222
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3225,32 +3225,46 @@
|
|
|
3225
3225
|
if (!(other instanceof PlayerStateDto))
|
|
3226
3226
|
return false;
|
|
3227
3227
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3228
|
-
if (!(this.
|
|
3228
|
+
if (!(this.w2c_1 == tmp0_other_with_cast.w2c_1))
|
|
3229
3229
|
return false;
|
|
3230
|
-
if (!(this.
|
|
3230
|
+
if (!(this.x2c_1 == tmp0_other_with_cast.x2c_1))
|
|
3231
3231
|
return false;
|
|
3232
|
-
if (!(this.
|
|
3232
|
+
if (!(this.y2c_1 == tmp0_other_with_cast.y2c_1))
|
|
3233
3233
|
return false;
|
|
3234
|
-
if (!this.
|
|
3234
|
+
if (!this.z2c_1.equals(tmp0_other_with_cast.z2c_1))
|
|
3235
3235
|
return false;
|
|
3236
|
-
if (!(this.
|
|
3236
|
+
if (!(this.a2d_1 == tmp0_other_with_cast.a2d_1))
|
|
3237
3237
|
return false;
|
|
3238
|
-
if (!(this.
|
|
3238
|
+
if (!(this.b2d_1 == tmp0_other_with_cast.b2d_1))
|
|
3239
3239
|
return false;
|
|
3240
|
-
if (!equals(this.
|
|
3240
|
+
if (!equals(this.c2d_1, tmp0_other_with_cast.c2d_1))
|
|
3241
3241
|
return false;
|
|
3242
3242
|
return true;
|
|
3243
3243
|
};
|
|
3244
|
+
function RulesDto$Companion$$childSerializers$_anonymous__7e0mv6() {
|
|
3245
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
3246
|
+
}
|
|
3247
|
+
function RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_0() {
|
|
3248
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
3249
|
+
}
|
|
3250
|
+
function RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_1() {
|
|
3251
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
3252
|
+
}
|
|
3244
3253
|
function Companion_18() {
|
|
3245
3254
|
Companion_instance_18 = this;
|
|
3246
3255
|
var tmp = this;
|
|
3256
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3257
|
+
var tmp_1 = lazy(tmp_0, RulesDto$Companion$$childSerializers$_anonymous__7e0mv6);
|
|
3258
|
+
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3259
|
+
var tmp_3 = lazy(tmp_2, RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_0);
|
|
3260
|
+
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3247
3261
|
// Inline function 'kotlin.arrayOf' call
|
|
3248
3262
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3249
3263
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3250
|
-
tmp.
|
|
3264
|
+
tmp.r2d_1 = [null, null, null, null, null, null, null, null, tmp_1, tmp_3, null, null, null, lazy(tmp_4, RulesDto$Companion$$childSerializers$_anonymous__7e0mv6_1), null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3251
3265
|
}
|
|
3252
3266
|
var Companion_instance_18;
|
|
3253
|
-
function
|
|
3267
|
+
function Companion_getInstance_21() {
|
|
3254
3268
|
if (Companion_instance_18 == null)
|
|
3255
3269
|
new Companion_18();
|
|
3256
3270
|
return Companion_instance_18;
|
|
@@ -3258,71 +3272,71 @@
|
|
|
3258
3272
|
function $serializer_9() {
|
|
3259
3273
|
$serializer_instance_9 = this;
|
|
3260
3274
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 26);
|
|
3261
|
-
tmp0_serialDesc.
|
|
3262
|
-
tmp0_serialDesc.
|
|
3263
|
-
tmp0_serialDesc.
|
|
3264
|
-
tmp0_serialDesc.
|
|
3265
|
-
tmp0_serialDesc.
|
|
3266
|
-
tmp0_serialDesc.
|
|
3267
|
-
tmp0_serialDesc.
|
|
3268
|
-
tmp0_serialDesc.
|
|
3269
|
-
tmp0_serialDesc.
|
|
3270
|
-
tmp0_serialDesc.
|
|
3271
|
-
tmp0_serialDesc.
|
|
3272
|
-
tmp0_serialDesc.
|
|
3273
|
-
tmp0_serialDesc.
|
|
3274
|
-
tmp0_serialDesc.
|
|
3275
|
-
tmp0_serialDesc.
|
|
3276
|
-
tmp0_serialDesc.
|
|
3277
|
-
tmp0_serialDesc.
|
|
3278
|
-
tmp0_serialDesc.
|
|
3279
|
-
tmp0_serialDesc.
|
|
3280
|
-
tmp0_serialDesc.
|
|
3281
|
-
tmp0_serialDesc.
|
|
3282
|
-
tmp0_serialDesc.
|
|
3283
|
-
tmp0_serialDesc.
|
|
3284
|
-
tmp0_serialDesc.
|
|
3285
|
-
tmp0_serialDesc.
|
|
3286
|
-
tmp0_serialDesc.
|
|
3287
|
-
this.
|
|
3288
|
-
}
|
|
3289
|
-
protoOf($serializer_9).
|
|
3290
|
-
var tmp0_desc = this.
|
|
3291
|
-
var tmp1_output = encoder.
|
|
3292
|
-
var tmp2_cached =
|
|
3293
|
-
tmp1_output.
|
|
3294
|
-
tmp1_output.
|
|
3295
|
-
tmp1_output.
|
|
3296
|
-
tmp1_output.
|
|
3297
|
-
tmp1_output.
|
|
3298
|
-
tmp1_output.
|
|
3299
|
-
tmp1_output.
|
|
3300
|
-
tmp1_output.
|
|
3301
|
-
tmp1_output.
|
|
3302
|
-
tmp1_output.
|
|
3303
|
-
tmp1_output.
|
|
3304
|
-
tmp1_output.
|
|
3305
|
-
tmp1_output.
|
|
3306
|
-
tmp1_output.
|
|
3307
|
-
tmp1_output.
|
|
3308
|
-
tmp1_output.
|
|
3309
|
-
tmp1_output.
|
|
3310
|
-
tmp1_output.
|
|
3311
|
-
tmp1_output.
|
|
3312
|
-
tmp1_output.
|
|
3313
|
-
tmp1_output.
|
|
3314
|
-
tmp1_output.
|
|
3315
|
-
tmp1_output.
|
|
3316
|
-
tmp1_output.
|
|
3317
|
-
tmp1_output.
|
|
3318
|
-
tmp1_output.
|
|
3319
|
-
tmp1_output.
|
|
3320
|
-
};
|
|
3321
|
-
protoOf($serializer_9).
|
|
3322
|
-
return this.
|
|
3323
|
-
};
|
|
3324
|
-
protoOf($serializer_9).
|
|
3325
|
-
var tmp0_desc = this.
|
|
3275
|
+
tmp0_serialDesc.yw('name', false);
|
|
3276
|
+
tmp0_serialDesc.yw('playerWhoChooseSuitGoFirst', false);
|
|
3277
|
+
tmp0_serialDesc.yw('winnerShuffleCards', false);
|
|
3278
|
+
tmp0_serialDesc.yw('playWithoutLiabilities', false);
|
|
3279
|
+
tmp0_serialDesc.yw('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
3280
|
+
tmp0_serialDesc.yw('dealerInitialCardsCount', false);
|
|
3281
|
+
tmp0_serialDesc.yw('dealerFinalCardsCount', false);
|
|
3282
|
+
tmp0_serialDesc.yw('dealerCounterClockwise', false);
|
|
3283
|
+
tmp0_serialDesc.yw('contractTypes', false);
|
|
3284
|
+
tmp0_serialDesc.yw('bidTypes', false);
|
|
3285
|
+
tmp0_serialDesc.yw('needToPutHigherTrump', false);
|
|
3286
|
+
tmp0_serialDesc.yw('trumpCardStepMode', false);
|
|
3287
|
+
tmp0_serialDesc.yw('trumpCardStepPartnerMode', false);
|
|
3288
|
+
tmp0_serialDesc.yw('combinationsWithFirstCard', false);
|
|
3289
|
+
tmp0_serialDesc.yw('protectBella', false);
|
|
3290
|
+
tmp0_serialDesc.yw('oneTryToProtectBella', false);
|
|
3291
|
+
tmp0_serialDesc.yw('enableFourSevensCombination', false);
|
|
3292
|
+
tmp0_serialDesc.yw('enableTrumpSevenCombination', false);
|
|
3293
|
+
tmp0_serialDesc.yw('enableTrumpSevenCombinationAfterDistribution', false);
|
|
3294
|
+
tmp0_serialDesc.yw('checkTrumpCombination', false);
|
|
3295
|
+
tmp0_serialDesc.yw('checkOnlyTrumpDebertz', false);
|
|
3296
|
+
tmp0_serialDesc.yw('pointsDistributeMode', false);
|
|
3297
|
+
tmp0_serialDesc.yw('enableFineIfNoBribes', false);
|
|
3298
|
+
tmp0_serialDesc.yw('fineIfNoBribes', false);
|
|
3299
|
+
tmp0_serialDesc.yw('enableFineAfterThirdByte', false);
|
|
3300
|
+
tmp0_serialDesc.yw('fineAfterThirdFailedContract', false);
|
|
3301
|
+
this.s2d_1 = tmp0_serialDesc;
|
|
3302
|
+
}
|
|
3303
|
+
protoOf($serializer_9).t2d = function (encoder, value) {
|
|
3304
|
+
var tmp0_desc = this.s2d_1;
|
|
3305
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
3306
|
+
var tmp2_cached = Companion_getInstance_21().r2d_1;
|
|
3307
|
+
tmp1_output.zq(tmp0_desc, 0, StringSerializer_getInstance(), value.u2d_1);
|
|
3308
|
+
tmp1_output.zq(tmp0_desc, 1, BooleanSerializer_getInstance(), value.v2d_1);
|
|
3309
|
+
tmp1_output.zq(tmp0_desc, 2, BooleanSerializer_getInstance(), value.w2d_1);
|
|
3310
|
+
tmp1_output.zq(tmp0_desc, 3, BooleanSerializer_getInstance(), value.x2d_1);
|
|
3311
|
+
tmp1_output.zq(tmp0_desc, 4, BooleanSerializer_getInstance(), value.y2d_1);
|
|
3312
|
+
tmp1_output.zq(tmp0_desc, 5, IntSerializer_getInstance(), value.z2d_1);
|
|
3313
|
+
tmp1_output.zq(tmp0_desc, 6, IntSerializer_getInstance(), value.a2e_1);
|
|
3314
|
+
tmp1_output.zq(tmp0_desc, 7, BooleanSerializer_getInstance(), value.b2e_1);
|
|
3315
|
+
tmp1_output.zq(tmp0_desc, 8, tmp2_cached[8].a2(), value.c2e_1);
|
|
3316
|
+
tmp1_output.zq(tmp0_desc, 9, tmp2_cached[9].a2(), value.d2e_1);
|
|
3317
|
+
tmp1_output.zq(tmp0_desc, 10, BooleanSerializer_getInstance(), value.e2e_1);
|
|
3318
|
+
tmp1_output.zq(tmp0_desc, 11, StringSerializer_getInstance(), value.f2e_1);
|
|
3319
|
+
tmp1_output.zq(tmp0_desc, 12, StringSerializer_getInstance(), value.g2e_1);
|
|
3320
|
+
tmp1_output.zq(tmp0_desc, 13, tmp2_cached[13].a2(), value.h2e_1);
|
|
3321
|
+
tmp1_output.zq(tmp0_desc, 14, BooleanSerializer_getInstance(), value.i2e_1);
|
|
3322
|
+
tmp1_output.zq(tmp0_desc, 15, BooleanSerializer_getInstance(), value.j2e_1);
|
|
3323
|
+
tmp1_output.zq(tmp0_desc, 16, BooleanSerializer_getInstance(), value.k2e_1);
|
|
3324
|
+
tmp1_output.zq(tmp0_desc, 17, BooleanSerializer_getInstance(), value.l2e_1);
|
|
3325
|
+
tmp1_output.zq(tmp0_desc, 18, BooleanSerializer_getInstance(), value.m2e_1);
|
|
3326
|
+
tmp1_output.zq(tmp0_desc, 19, BooleanSerializer_getInstance(), value.n2e_1);
|
|
3327
|
+
tmp1_output.zq(tmp0_desc, 20, BooleanSerializer_getInstance(), value.o2e_1);
|
|
3328
|
+
tmp1_output.vq(tmp0_desc, 21, value.p2e_1);
|
|
3329
|
+
tmp1_output.zq(tmp0_desc, 22, BooleanSerializer_getInstance(), value.q2e_1);
|
|
3330
|
+
tmp1_output.zq(tmp0_desc, 23, IntSerializer_getInstance(), value.r2e_1);
|
|
3331
|
+
tmp1_output.zq(tmp0_desc, 24, BooleanSerializer_getInstance(), value.s2e_1);
|
|
3332
|
+
tmp1_output.zq(tmp0_desc, 25, IntSerializer_getInstance(), value.t2e_1);
|
|
3333
|
+
tmp1_output.hp(tmp0_desc);
|
|
3334
|
+
};
|
|
3335
|
+
protoOf($serializer_9).yl = function (encoder, value) {
|
|
3336
|
+
return this.t2d(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3337
|
+
};
|
|
3338
|
+
protoOf($serializer_9).zl = function (decoder) {
|
|
3339
|
+
var tmp0_desc = this.s2d_1;
|
|
3326
3340
|
var tmp1_flag = true;
|
|
3327
3341
|
var tmp2_index = 0;
|
|
3328
3342
|
var tmp3_bitMask0 = 0;
|
|
@@ -3352,188 +3366,188 @@
|
|
|
3352
3366
|
var tmp27_local23 = null;
|
|
3353
3367
|
var tmp28_local24 = null;
|
|
3354
3368
|
var tmp29_local25 = null;
|
|
3355
|
-
var tmp30_input = decoder.
|
|
3356
|
-
var tmp31_cached =
|
|
3357
|
-
if (tmp30_input.
|
|
3358
|
-
tmp4_local0 = tmp30_input.
|
|
3369
|
+
var tmp30_input = decoder.gp(tmp0_desc);
|
|
3370
|
+
var tmp31_cached = Companion_getInstance_21().r2d_1;
|
|
3371
|
+
if (tmp30_input.wp()) {
|
|
3372
|
+
tmp4_local0 = tmp30_input.up(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3359
3373
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3360
|
-
tmp5_local1 = tmp30_input.
|
|
3374
|
+
tmp5_local1 = tmp30_input.up(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3361
3375
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3362
|
-
tmp6_local2 = tmp30_input.
|
|
3376
|
+
tmp6_local2 = tmp30_input.up(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3363
3377
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3364
|
-
tmp7_local3 = tmp30_input.
|
|
3378
|
+
tmp7_local3 = tmp30_input.up(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3365
3379
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3366
|
-
tmp8_local4 = tmp30_input.
|
|
3380
|
+
tmp8_local4 = tmp30_input.up(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3367
3381
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3368
|
-
tmp9_local5 = tmp30_input.
|
|
3382
|
+
tmp9_local5 = tmp30_input.up(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3369
3383
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3370
|
-
tmp10_local6 = tmp30_input.
|
|
3384
|
+
tmp10_local6 = tmp30_input.up(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3371
3385
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3372
|
-
tmp11_local7 = tmp30_input.
|
|
3386
|
+
tmp11_local7 = tmp30_input.up(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3373
3387
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3374
|
-
tmp12_local8 = tmp30_input.
|
|
3388
|
+
tmp12_local8 = tmp30_input.up(tmp0_desc, 8, tmp31_cached[8].a2(), tmp12_local8);
|
|
3375
3389
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3376
|
-
tmp13_local9 = tmp30_input.
|
|
3390
|
+
tmp13_local9 = tmp30_input.up(tmp0_desc, 9, tmp31_cached[9].a2(), tmp13_local9);
|
|
3377
3391
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3378
|
-
tmp14_local10 = tmp30_input.
|
|
3392
|
+
tmp14_local10 = tmp30_input.up(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3379
3393
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3380
|
-
tmp15_local11 = tmp30_input.
|
|
3394
|
+
tmp15_local11 = tmp30_input.up(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3381
3395
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3382
|
-
tmp16_local12 = tmp30_input.
|
|
3396
|
+
tmp16_local12 = tmp30_input.up(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3383
3397
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3384
|
-
tmp17_local13 = tmp30_input.
|
|
3398
|
+
tmp17_local13 = tmp30_input.up(tmp0_desc, 13, tmp31_cached[13].a2(), tmp17_local13);
|
|
3385
3399
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3386
|
-
tmp18_local14 = tmp30_input.
|
|
3400
|
+
tmp18_local14 = tmp30_input.up(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3387
3401
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3388
|
-
tmp19_local15 = tmp30_input.
|
|
3402
|
+
tmp19_local15 = tmp30_input.up(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3389
3403
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3390
|
-
tmp20_local16 = tmp30_input.
|
|
3404
|
+
tmp20_local16 = tmp30_input.up(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3391
3405
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3392
|
-
tmp21_local17 = tmp30_input.
|
|
3406
|
+
tmp21_local17 = tmp30_input.up(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3393
3407
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3394
|
-
tmp22_local18 = tmp30_input.
|
|
3408
|
+
tmp22_local18 = tmp30_input.up(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3395
3409
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3396
|
-
tmp23_local19 = tmp30_input.
|
|
3410
|
+
tmp23_local19 = tmp30_input.up(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3397
3411
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3398
|
-
tmp24_local20 = tmp30_input.
|
|
3412
|
+
tmp24_local20 = tmp30_input.up(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3399
3413
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3400
|
-
tmp25_local21 = tmp30_input.
|
|
3414
|
+
tmp25_local21 = tmp30_input.qp(tmp0_desc, 21);
|
|
3401
3415
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3402
|
-
tmp26_local22 = tmp30_input.
|
|
3416
|
+
tmp26_local22 = tmp30_input.up(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3403
3417
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3404
|
-
tmp27_local23 = tmp30_input.
|
|
3418
|
+
tmp27_local23 = tmp30_input.up(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3405
3419
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3406
|
-
tmp28_local24 = tmp30_input.
|
|
3420
|
+
tmp28_local24 = tmp30_input.up(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3407
3421
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3408
|
-
tmp29_local25 = tmp30_input.
|
|
3422
|
+
tmp29_local25 = tmp30_input.up(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3409
3423
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3410
3424
|
} else
|
|
3411
3425
|
while (tmp1_flag) {
|
|
3412
|
-
tmp2_index = tmp30_input.
|
|
3426
|
+
tmp2_index = tmp30_input.xp(tmp0_desc);
|
|
3413
3427
|
switch (tmp2_index) {
|
|
3414
3428
|
case -1:
|
|
3415
3429
|
tmp1_flag = false;
|
|
3416
3430
|
break;
|
|
3417
3431
|
case 0:
|
|
3418
|
-
tmp4_local0 = tmp30_input.
|
|
3432
|
+
tmp4_local0 = tmp30_input.up(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
3419
3433
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3420
3434
|
break;
|
|
3421
3435
|
case 1:
|
|
3422
|
-
tmp5_local1 = tmp30_input.
|
|
3436
|
+
tmp5_local1 = tmp30_input.up(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
3423
3437
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3424
3438
|
break;
|
|
3425
3439
|
case 2:
|
|
3426
|
-
tmp6_local2 = tmp30_input.
|
|
3440
|
+
tmp6_local2 = tmp30_input.up(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
3427
3441
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3428
3442
|
break;
|
|
3429
3443
|
case 3:
|
|
3430
|
-
tmp7_local3 = tmp30_input.
|
|
3444
|
+
tmp7_local3 = tmp30_input.up(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3431
3445
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3432
3446
|
break;
|
|
3433
3447
|
case 4:
|
|
3434
|
-
tmp8_local4 = tmp30_input.
|
|
3448
|
+
tmp8_local4 = tmp30_input.up(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3435
3449
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3436
3450
|
break;
|
|
3437
3451
|
case 5:
|
|
3438
|
-
tmp9_local5 = tmp30_input.
|
|
3452
|
+
tmp9_local5 = tmp30_input.up(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3439
3453
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3440
3454
|
break;
|
|
3441
3455
|
case 6:
|
|
3442
|
-
tmp10_local6 = tmp30_input.
|
|
3456
|
+
tmp10_local6 = tmp30_input.up(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3443
3457
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3444
3458
|
break;
|
|
3445
3459
|
case 7:
|
|
3446
|
-
tmp11_local7 = tmp30_input.
|
|
3460
|
+
tmp11_local7 = tmp30_input.up(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3447
3461
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3448
3462
|
break;
|
|
3449
3463
|
case 8:
|
|
3450
|
-
tmp12_local8 = tmp30_input.
|
|
3464
|
+
tmp12_local8 = tmp30_input.up(tmp0_desc, 8, tmp31_cached[8].a2(), tmp12_local8);
|
|
3451
3465
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3452
3466
|
break;
|
|
3453
3467
|
case 9:
|
|
3454
|
-
tmp13_local9 = tmp30_input.
|
|
3468
|
+
tmp13_local9 = tmp30_input.up(tmp0_desc, 9, tmp31_cached[9].a2(), tmp13_local9);
|
|
3455
3469
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3456
3470
|
break;
|
|
3457
3471
|
case 10:
|
|
3458
|
-
tmp14_local10 = tmp30_input.
|
|
3472
|
+
tmp14_local10 = tmp30_input.up(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
3459
3473
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3460
3474
|
break;
|
|
3461
3475
|
case 11:
|
|
3462
|
-
tmp15_local11 = tmp30_input.
|
|
3476
|
+
tmp15_local11 = tmp30_input.up(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
3463
3477
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3464
3478
|
break;
|
|
3465
3479
|
case 12:
|
|
3466
|
-
tmp16_local12 = tmp30_input.
|
|
3480
|
+
tmp16_local12 = tmp30_input.up(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
3467
3481
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3468
3482
|
break;
|
|
3469
3483
|
case 13:
|
|
3470
|
-
tmp17_local13 = tmp30_input.
|
|
3484
|
+
tmp17_local13 = tmp30_input.up(tmp0_desc, 13, tmp31_cached[13].a2(), tmp17_local13);
|
|
3471
3485
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3472
3486
|
break;
|
|
3473
3487
|
case 14:
|
|
3474
|
-
tmp18_local14 = tmp30_input.
|
|
3488
|
+
tmp18_local14 = tmp30_input.up(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3475
3489
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3476
3490
|
break;
|
|
3477
3491
|
case 15:
|
|
3478
|
-
tmp19_local15 = tmp30_input.
|
|
3492
|
+
tmp19_local15 = tmp30_input.up(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3479
3493
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3480
3494
|
break;
|
|
3481
3495
|
case 16:
|
|
3482
|
-
tmp20_local16 = tmp30_input.
|
|
3496
|
+
tmp20_local16 = tmp30_input.up(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3483
3497
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3484
3498
|
break;
|
|
3485
3499
|
case 17:
|
|
3486
|
-
tmp21_local17 = tmp30_input.
|
|
3500
|
+
tmp21_local17 = tmp30_input.up(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3487
3501
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3488
3502
|
break;
|
|
3489
3503
|
case 18:
|
|
3490
|
-
tmp22_local18 = tmp30_input.
|
|
3504
|
+
tmp22_local18 = tmp30_input.up(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3491
3505
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3492
3506
|
break;
|
|
3493
3507
|
case 19:
|
|
3494
|
-
tmp23_local19 = tmp30_input.
|
|
3508
|
+
tmp23_local19 = tmp30_input.up(tmp0_desc, 19, BooleanSerializer_getInstance(), tmp23_local19);
|
|
3495
3509
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3496
3510
|
break;
|
|
3497
3511
|
case 20:
|
|
3498
|
-
tmp24_local20 = tmp30_input.
|
|
3512
|
+
tmp24_local20 = tmp30_input.up(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3499
3513
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3500
3514
|
break;
|
|
3501
3515
|
case 21:
|
|
3502
|
-
tmp25_local21 = tmp30_input.
|
|
3516
|
+
tmp25_local21 = tmp30_input.qp(tmp0_desc, 21);
|
|
3503
3517
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3504
3518
|
break;
|
|
3505
3519
|
case 22:
|
|
3506
|
-
tmp26_local22 = tmp30_input.
|
|
3520
|
+
tmp26_local22 = tmp30_input.up(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3507
3521
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3508
3522
|
break;
|
|
3509
3523
|
case 23:
|
|
3510
|
-
tmp27_local23 = tmp30_input.
|
|
3524
|
+
tmp27_local23 = tmp30_input.up(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3511
3525
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3512
3526
|
break;
|
|
3513
3527
|
case 24:
|
|
3514
|
-
tmp28_local24 = tmp30_input.
|
|
3528
|
+
tmp28_local24 = tmp30_input.up(tmp0_desc, 24, BooleanSerializer_getInstance(), tmp28_local24);
|
|
3515
3529
|
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
3516
3530
|
break;
|
|
3517
3531
|
case 25:
|
|
3518
|
-
tmp29_local25 = tmp30_input.
|
|
3532
|
+
tmp29_local25 = tmp30_input.up(tmp0_desc, 25, IntSerializer_getInstance(), tmp29_local25);
|
|
3519
3533
|
tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
|
|
3520
3534
|
break;
|
|
3521
3535
|
default:
|
|
3522
3536
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3523
3537
|
}
|
|
3524
3538
|
}
|
|
3525
|
-
tmp30_input.
|
|
3539
|
+
tmp30_input.hp(tmp0_desc);
|
|
3526
3540
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, tmp28_local24, tmp29_local25, null);
|
|
3527
3541
|
};
|
|
3528
|
-
protoOf($serializer_9).
|
|
3529
|
-
return this.
|
|
3542
|
+
protoOf($serializer_9).xl = function () {
|
|
3543
|
+
return this.s2d_1;
|
|
3530
3544
|
};
|
|
3531
|
-
protoOf($serializer_9).
|
|
3532
|
-
var tmp0_cached =
|
|
3545
|
+
protoOf($serializer_9).nx = function () {
|
|
3546
|
+
var tmp0_cached = Companion_getInstance_21().r2d_1;
|
|
3533
3547
|
// Inline function 'kotlin.arrayOf' call
|
|
3534
3548
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3535
3549
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3536
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[8]), get_nullable(tmp0_cached[9]), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[13]), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
|
|
3550
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[8].a2()), get_nullable(tmp0_cached[9].a2()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[13].a2()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
|
|
3537
3551
|
};
|
|
3538
3552
|
var $serializer_instance_9;
|
|
3539
3553
|
function $serializer_getInstance_9() {
|
|
@@ -3543,98 +3557,98 @@
|
|
|
3543
3557
|
}
|
|
3544
3558
|
function RulesDto_init_$Init$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3545
3559
|
if (!(67108863 === (67108863 & seen0))) {
|
|
3546
|
-
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().
|
|
3560
|
+
throwMissingFieldException(seen0, 67108863, $serializer_getInstance_9().s2d_1);
|
|
3547
3561
|
}
|
|
3548
|
-
$this.
|
|
3549
|
-
$this.
|
|
3550
|
-
$this.
|
|
3551
|
-
$this.
|
|
3552
|
-
$this.
|
|
3553
|
-
$this.
|
|
3554
|
-
$this.
|
|
3555
|
-
$this.
|
|
3556
|
-
$this.
|
|
3557
|
-
$this.
|
|
3558
|
-
$this.
|
|
3559
|
-
$this.
|
|
3560
|
-
$this.
|
|
3561
|
-
$this.
|
|
3562
|
-
$this.
|
|
3563
|
-
$this.
|
|
3564
|
-
$this.
|
|
3565
|
-
$this.
|
|
3566
|
-
$this.
|
|
3567
|
-
$this.
|
|
3568
|
-
$this.
|
|
3569
|
-
$this.
|
|
3570
|
-
$this.
|
|
3571
|
-
$this.
|
|
3572
|
-
$this.
|
|
3573
|
-
$this.
|
|
3562
|
+
$this.u2d_1 = name;
|
|
3563
|
+
$this.v2d_1 = playerWhoChooseSuitGoFirst;
|
|
3564
|
+
$this.w2d_1 = winnerShuffleCards;
|
|
3565
|
+
$this.x2d_1 = playWithoutLiabilities;
|
|
3566
|
+
$this.y2d_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3567
|
+
$this.z2d_1 = dealerInitialCardsCount;
|
|
3568
|
+
$this.a2e_1 = dealerFinalCardsCount;
|
|
3569
|
+
$this.b2e_1 = dealerCounterClockwise;
|
|
3570
|
+
$this.c2e_1 = contractTypes;
|
|
3571
|
+
$this.d2e_1 = bidTypes;
|
|
3572
|
+
$this.e2e_1 = needToPutHigherTrump;
|
|
3573
|
+
$this.f2e_1 = trumpCardStepMode;
|
|
3574
|
+
$this.g2e_1 = trumpCardStepPartnerMode;
|
|
3575
|
+
$this.h2e_1 = combinationsWithFirstCard;
|
|
3576
|
+
$this.i2e_1 = protectBella;
|
|
3577
|
+
$this.j2e_1 = oneTryToProtectBella;
|
|
3578
|
+
$this.k2e_1 = enableFourSevensCombination;
|
|
3579
|
+
$this.l2e_1 = enableTrumpSevenCombination;
|
|
3580
|
+
$this.m2e_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3581
|
+
$this.n2e_1 = checkTrumpCombination;
|
|
3582
|
+
$this.o2e_1 = checkOnlyTrumpDebertz;
|
|
3583
|
+
$this.p2e_1 = pointsDistributeMode;
|
|
3584
|
+
$this.q2e_1 = enableFineIfNoBribes;
|
|
3585
|
+
$this.r2e_1 = fineIfNoBribes;
|
|
3586
|
+
$this.s2e_1 = enableFineAfterThirdByte;
|
|
3587
|
+
$this.t2e_1 = fineAfterThirdFailedContract;
|
|
3574
3588
|
return $this;
|
|
3575
3589
|
}
|
|
3576
3590
|
function RulesDto_init_$Create$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
3577
3591
|
return RulesDto_init_$Init$(seen0, name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, objectCreate(protoOf(RulesDto)));
|
|
3578
3592
|
}
|
|
3579
3593
|
function RulesDto(name, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, needToPutHigherTrump, trumpCardStepMode, trumpCardStepPartnerMode, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3580
|
-
|
|
3581
|
-
this.
|
|
3582
|
-
this.
|
|
3583
|
-
this.
|
|
3584
|
-
this.
|
|
3585
|
-
this.
|
|
3586
|
-
this.
|
|
3587
|
-
this.
|
|
3588
|
-
this.
|
|
3589
|
-
this.
|
|
3590
|
-
this.
|
|
3591
|
-
this.
|
|
3592
|
-
this.
|
|
3593
|
-
this.
|
|
3594
|
-
this.
|
|
3595
|
-
this.
|
|
3596
|
-
this.
|
|
3597
|
-
this.
|
|
3598
|
-
this.
|
|
3599
|
-
this.
|
|
3600
|
-
this.
|
|
3601
|
-
this.
|
|
3602
|
-
this.
|
|
3603
|
-
this.
|
|
3604
|
-
this.
|
|
3605
|
-
this.
|
|
3606
|
-
this.
|
|
3594
|
+
Companion_getInstance_21();
|
|
3595
|
+
this.u2d_1 = name;
|
|
3596
|
+
this.v2d_1 = playerWhoChooseSuitGoFirst;
|
|
3597
|
+
this.w2d_1 = winnerShuffleCards;
|
|
3598
|
+
this.x2d_1 = playWithoutLiabilities;
|
|
3599
|
+
this.y2d_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3600
|
+
this.z2d_1 = dealerInitialCardsCount;
|
|
3601
|
+
this.a2e_1 = dealerFinalCardsCount;
|
|
3602
|
+
this.b2e_1 = dealerCounterClockwise;
|
|
3603
|
+
this.c2e_1 = contractTypes;
|
|
3604
|
+
this.d2e_1 = bidTypes;
|
|
3605
|
+
this.e2e_1 = needToPutHigherTrump;
|
|
3606
|
+
this.f2e_1 = trumpCardStepMode;
|
|
3607
|
+
this.g2e_1 = trumpCardStepPartnerMode;
|
|
3608
|
+
this.h2e_1 = combinationsWithFirstCard;
|
|
3609
|
+
this.i2e_1 = protectBella;
|
|
3610
|
+
this.j2e_1 = oneTryToProtectBella;
|
|
3611
|
+
this.k2e_1 = enableFourSevensCombination;
|
|
3612
|
+
this.l2e_1 = enableTrumpSevenCombination;
|
|
3613
|
+
this.m2e_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3614
|
+
this.n2e_1 = checkTrumpCombination;
|
|
3615
|
+
this.o2e_1 = checkOnlyTrumpDebertz;
|
|
3616
|
+
this.p2e_1 = pointsDistributeMode;
|
|
3617
|
+
this.q2e_1 = enableFineIfNoBribes;
|
|
3618
|
+
this.r2e_1 = fineIfNoBribes;
|
|
3619
|
+
this.s2e_1 = enableFineAfterThirdByte;
|
|
3620
|
+
this.t2e_1 = fineAfterThirdFailedContract;
|
|
3607
3621
|
}
|
|
3608
3622
|
protoOf(RulesDto).toString = function () {
|
|
3609
|
-
return 'RulesDto(name=' + this.
|
|
3623
|
+
return 'RulesDto(name=' + this.u2d_1 + ', playerWhoChooseSuitGoFirst=' + this.v2d_1 + ', winnerShuffleCards=' + this.w2d_1 + ', playWithoutLiabilities=' + this.x2d_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.y2d_1 + ', dealerInitialCardsCount=' + this.z2d_1 + ', dealerFinalCardsCount=' + this.a2e_1 + ', dealerCounterClockwise=' + this.b2e_1 + ', contractTypes=' + toString(this.c2e_1) + ', bidTypes=' + toString(this.d2e_1) + ', needToPutHigherTrump=' + this.e2e_1 + ', trumpCardStepMode=' + this.f2e_1 + ', trumpCardStepPartnerMode=' + this.g2e_1 + ', combinationsWithFirstCard=' + toString(this.h2e_1) + ', protectBella=' + this.i2e_1 + ', oneTryToProtectBella=' + this.j2e_1 + ', enableFourSevensCombination=' + this.k2e_1 + ', enableTrumpSevenCombination=' + this.l2e_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.m2e_1 + ', checkTrumpCombination=' + this.n2e_1 + ', checkOnlyTrumpDebertz=' + this.o2e_1 + ', pointsDistributeMode=' + this.p2e_1 + ', enableFineIfNoBribes=' + this.q2e_1 + ', fineIfNoBribes=' + this.r2e_1 + ', enableFineAfterThirdByte=' + this.s2e_1 + ', fineAfterThirdFailedContract=' + this.t2e_1 + ')';
|
|
3610
3624
|
};
|
|
3611
3625
|
protoOf(RulesDto).hashCode = function () {
|
|
3612
|
-
var result = this.
|
|
3613
|
-
result = imul(result, 31) + (this.
|
|
3614
|
-
result = imul(result, 31) + (this.
|
|
3615
|
-
result = imul(result, 31) + (this.
|
|
3616
|
-
result = imul(result, 31) + (this.
|
|
3617
|
-
result = imul(result, 31) + (this.
|
|
3618
|
-
result = imul(result, 31) + (this.
|
|
3619
|
-
result = imul(result, 31) + (this.
|
|
3620
|
-
result = imul(result, 31) + (this.
|
|
3621
|
-
result = imul(result, 31) + (this.
|
|
3622
|
-
result = imul(result, 31) + (this.
|
|
3623
|
-
result = imul(result, 31) + (this.
|
|
3624
|
-
result = imul(result, 31) + (this.
|
|
3625
|
-
result = imul(result, 31) + (this.
|
|
3626
|
-
result = imul(result, 31) + (this.
|
|
3627
|
-
result = imul(result, 31) + (this.
|
|
3628
|
-
result = imul(result, 31) + (this.
|
|
3629
|
-
result = imul(result, 31) + (this.
|
|
3630
|
-
result = imul(result, 31) + (this.
|
|
3631
|
-
result = imul(result, 31) + (this.
|
|
3632
|
-
result = imul(result, 31) + (this.
|
|
3633
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3634
|
-
result = imul(result, 31) + (this.
|
|
3635
|
-
result = imul(result, 31) + (this.
|
|
3636
|
-
result = imul(result, 31) + (this.
|
|
3637
|
-
result = imul(result, 31) + (this.
|
|
3626
|
+
var result = this.u2d_1 == null ? 0 : getStringHashCode(this.u2d_1);
|
|
3627
|
+
result = imul(result, 31) + (this.v2d_1 == null ? 0 : getBooleanHashCode(this.v2d_1)) | 0;
|
|
3628
|
+
result = imul(result, 31) + (this.w2d_1 == null ? 0 : getBooleanHashCode(this.w2d_1)) | 0;
|
|
3629
|
+
result = imul(result, 31) + (this.x2d_1 == null ? 0 : getBooleanHashCode(this.x2d_1)) | 0;
|
|
3630
|
+
result = imul(result, 31) + (this.y2d_1 == null ? 0 : getBooleanHashCode(this.y2d_1)) | 0;
|
|
3631
|
+
result = imul(result, 31) + (this.z2d_1 == null ? 0 : this.z2d_1) | 0;
|
|
3632
|
+
result = imul(result, 31) + (this.a2e_1 == null ? 0 : this.a2e_1) | 0;
|
|
3633
|
+
result = imul(result, 31) + (this.b2e_1 == null ? 0 : getBooleanHashCode(this.b2e_1)) | 0;
|
|
3634
|
+
result = imul(result, 31) + (this.c2e_1 == null ? 0 : hashCode(this.c2e_1)) | 0;
|
|
3635
|
+
result = imul(result, 31) + (this.d2e_1 == null ? 0 : hashCode(this.d2e_1)) | 0;
|
|
3636
|
+
result = imul(result, 31) + (this.e2e_1 == null ? 0 : getBooleanHashCode(this.e2e_1)) | 0;
|
|
3637
|
+
result = imul(result, 31) + (this.f2e_1 == null ? 0 : getStringHashCode(this.f2e_1)) | 0;
|
|
3638
|
+
result = imul(result, 31) + (this.g2e_1 == null ? 0 : getStringHashCode(this.g2e_1)) | 0;
|
|
3639
|
+
result = imul(result, 31) + (this.h2e_1 == null ? 0 : hashCode(this.h2e_1)) | 0;
|
|
3640
|
+
result = imul(result, 31) + (this.i2e_1 == null ? 0 : getBooleanHashCode(this.i2e_1)) | 0;
|
|
3641
|
+
result = imul(result, 31) + (this.j2e_1 == null ? 0 : getBooleanHashCode(this.j2e_1)) | 0;
|
|
3642
|
+
result = imul(result, 31) + (this.k2e_1 == null ? 0 : getBooleanHashCode(this.k2e_1)) | 0;
|
|
3643
|
+
result = imul(result, 31) + (this.l2e_1 == null ? 0 : getBooleanHashCode(this.l2e_1)) | 0;
|
|
3644
|
+
result = imul(result, 31) + (this.m2e_1 == null ? 0 : getBooleanHashCode(this.m2e_1)) | 0;
|
|
3645
|
+
result = imul(result, 31) + (this.n2e_1 == null ? 0 : getBooleanHashCode(this.n2e_1)) | 0;
|
|
3646
|
+
result = imul(result, 31) + (this.o2e_1 == null ? 0 : getBooleanHashCode(this.o2e_1)) | 0;
|
|
3647
|
+
result = imul(result, 31) + getStringHashCode(this.p2e_1) | 0;
|
|
3648
|
+
result = imul(result, 31) + (this.q2e_1 == null ? 0 : getBooleanHashCode(this.q2e_1)) | 0;
|
|
3649
|
+
result = imul(result, 31) + (this.r2e_1 == null ? 0 : this.r2e_1) | 0;
|
|
3650
|
+
result = imul(result, 31) + (this.s2e_1 == null ? 0 : getBooleanHashCode(this.s2e_1)) | 0;
|
|
3651
|
+
result = imul(result, 31) + (this.t2e_1 == null ? 0 : this.t2e_1) | 0;
|
|
3638
3652
|
return result;
|
|
3639
3653
|
};
|
|
3640
3654
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3643,57 +3657,57 @@
|
|
|
3643
3657
|
if (!(other instanceof RulesDto))
|
|
3644
3658
|
return false;
|
|
3645
3659
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3646
|
-
if (!(this.
|
|
3660
|
+
if (!(this.u2d_1 == tmp0_other_with_cast.u2d_1))
|
|
3647
3661
|
return false;
|
|
3648
|
-
if (!(this.
|
|
3662
|
+
if (!(this.v2d_1 == tmp0_other_with_cast.v2d_1))
|
|
3649
3663
|
return false;
|
|
3650
|
-
if (!(this.
|
|
3664
|
+
if (!(this.w2d_1 == tmp0_other_with_cast.w2d_1))
|
|
3651
3665
|
return false;
|
|
3652
|
-
if (!(this.
|
|
3666
|
+
if (!(this.x2d_1 == tmp0_other_with_cast.x2d_1))
|
|
3653
3667
|
return false;
|
|
3654
|
-
if (!(this.
|
|
3668
|
+
if (!(this.y2d_1 == tmp0_other_with_cast.y2d_1))
|
|
3655
3669
|
return false;
|
|
3656
|
-
if (!(this.
|
|
3670
|
+
if (!(this.z2d_1 == tmp0_other_with_cast.z2d_1))
|
|
3657
3671
|
return false;
|
|
3658
|
-
if (!(this.
|
|
3672
|
+
if (!(this.a2e_1 == tmp0_other_with_cast.a2e_1))
|
|
3659
3673
|
return false;
|
|
3660
|
-
if (!(this.
|
|
3674
|
+
if (!(this.b2e_1 == tmp0_other_with_cast.b2e_1))
|
|
3661
3675
|
return false;
|
|
3662
|
-
if (!equals(this.
|
|
3676
|
+
if (!equals(this.c2e_1, tmp0_other_with_cast.c2e_1))
|
|
3663
3677
|
return false;
|
|
3664
|
-
if (!equals(this.
|
|
3678
|
+
if (!equals(this.d2e_1, tmp0_other_with_cast.d2e_1))
|
|
3665
3679
|
return false;
|
|
3666
|
-
if (!(this.
|
|
3680
|
+
if (!(this.e2e_1 == tmp0_other_with_cast.e2e_1))
|
|
3667
3681
|
return false;
|
|
3668
|
-
if (!(this.
|
|
3682
|
+
if (!(this.f2e_1 == tmp0_other_with_cast.f2e_1))
|
|
3669
3683
|
return false;
|
|
3670
|
-
if (!(this.
|
|
3684
|
+
if (!(this.g2e_1 == tmp0_other_with_cast.g2e_1))
|
|
3671
3685
|
return false;
|
|
3672
|
-
if (!equals(this.
|
|
3686
|
+
if (!equals(this.h2e_1, tmp0_other_with_cast.h2e_1))
|
|
3673
3687
|
return false;
|
|
3674
|
-
if (!(this.
|
|
3688
|
+
if (!(this.i2e_1 == tmp0_other_with_cast.i2e_1))
|
|
3675
3689
|
return false;
|
|
3676
|
-
if (!(this.
|
|
3690
|
+
if (!(this.j2e_1 == tmp0_other_with_cast.j2e_1))
|
|
3677
3691
|
return false;
|
|
3678
|
-
if (!(this.
|
|
3692
|
+
if (!(this.k2e_1 == tmp0_other_with_cast.k2e_1))
|
|
3679
3693
|
return false;
|
|
3680
|
-
if (!(this.
|
|
3694
|
+
if (!(this.l2e_1 == tmp0_other_with_cast.l2e_1))
|
|
3681
3695
|
return false;
|
|
3682
|
-
if (!(this.
|
|
3696
|
+
if (!(this.m2e_1 == tmp0_other_with_cast.m2e_1))
|
|
3683
3697
|
return false;
|
|
3684
|
-
if (!(this.
|
|
3698
|
+
if (!(this.n2e_1 == tmp0_other_with_cast.n2e_1))
|
|
3685
3699
|
return false;
|
|
3686
|
-
if (!(this.
|
|
3700
|
+
if (!(this.o2e_1 == tmp0_other_with_cast.o2e_1))
|
|
3687
3701
|
return false;
|
|
3688
|
-
if (!(this.
|
|
3702
|
+
if (!(this.p2e_1 === tmp0_other_with_cast.p2e_1))
|
|
3689
3703
|
return false;
|
|
3690
|
-
if (!(this.
|
|
3704
|
+
if (!(this.q2e_1 == tmp0_other_with_cast.q2e_1))
|
|
3691
3705
|
return false;
|
|
3692
|
-
if (!(this.
|
|
3706
|
+
if (!(this.r2e_1 == tmp0_other_with_cast.r2e_1))
|
|
3693
3707
|
return false;
|
|
3694
|
-
if (!(this.
|
|
3708
|
+
if (!(this.s2e_1 == tmp0_other_with_cast.s2e_1))
|
|
3695
3709
|
return false;
|
|
3696
|
-
if (!(this.
|
|
3710
|
+
if (!(this.t2e_1 == tmp0_other_with_cast.t2e_1))
|
|
3697
3711
|
return false;
|
|
3698
3712
|
return true;
|
|
3699
3713
|
};
|
|
@@ -3713,14 +3727,13 @@
|
|
|
3713
3727
|
}
|
|
3714
3728
|
function enumToStringSafe(_this__u8e3s4, mapping) {
|
|
3715
3729
|
// Inline function 'kotlin.collections.find' call
|
|
3716
|
-
var
|
|
3730
|
+
var tmp0 = mapping.s();
|
|
3717
3731
|
var tmp$ret$1;
|
|
3718
3732
|
$l$block: {
|
|
3719
3733
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3720
|
-
var
|
|
3721
|
-
while (
|
|
3722
|
-
var element =
|
|
3723
|
-
// Inline function 'com.logic.utils.enumToStringSafe.<anonymous>' call
|
|
3734
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
3735
|
+
while (_iterator__ex2g4s.k()) {
|
|
3736
|
+
var element = _iterator__ex2g4s.l();
|
|
3724
3737
|
if (equals(element.a2(), _this__u8e3s4)) {
|
|
3725
3738
|
tmp$ret$1 = element;
|
|
3726
3739
|
break $l$block;
|
|
@@ -3733,14 +3746,13 @@
|
|
|
3733
3746
|
}
|
|
3734
3747
|
function enumToString(_this__u8e3s4, mapping) {
|
|
3735
3748
|
// Inline function 'kotlin.collections.find' call
|
|
3736
|
-
var
|
|
3749
|
+
var tmp0 = mapping.s();
|
|
3737
3750
|
var tmp$ret$1;
|
|
3738
3751
|
$l$block: {
|
|
3739
3752
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3740
|
-
var
|
|
3741
|
-
while (
|
|
3742
|
-
var element =
|
|
3743
|
-
// Inline function 'com.logic.utils.enumToString.<anonymous>' call
|
|
3753
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
3754
|
+
while (_iterator__ex2g4s.k()) {
|
|
3755
|
+
var element = _iterator__ex2g4s.l();
|
|
3744
3756
|
if (equals(element.a2(), _this__u8e3s4)) {
|
|
3745
3757
|
tmp$ret$1 = element;
|
|
3746
3758
|
break $l$block;
|
|
@@ -3802,14 +3814,12 @@
|
|
|
3802
3814
|
var destination = ArrayList_init_$Create$();
|
|
3803
3815
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
3804
3816
|
var index = 0;
|
|
3805
|
-
var
|
|
3806
|
-
while (
|
|
3807
|
-
var item =
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
// Inline function 'com.logic.utils.getItemIndex.<anonymous>' call
|
|
3812
|
-
var index_0 = checkIndexOverflow(tmp1);
|
|
3817
|
+
var _iterator__ex2g4s = _this__u8e3s4.j();
|
|
3818
|
+
while (_iterator__ex2g4s.k()) {
|
|
3819
|
+
var item = _iterator__ex2g4s.l();
|
|
3820
|
+
var _unary__edvuaz = index;
|
|
3821
|
+
index = _unary__edvuaz + 1 | 0;
|
|
3822
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
3813
3823
|
var tmp;
|
|
3814
3824
|
if (predicate(item)) {
|
|
3815
3825
|
tmp = index_0;
|
|
@@ -3821,7 +3831,6 @@
|
|
|
3821
3831
|
null;
|
|
3822
3832
|
else {
|
|
3823
3833
|
// Inline function 'kotlin.let' call
|
|
3824
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
3825
3834
|
destination.e(tmp0_safe_receiver);
|
|
3826
3835
|
}
|
|
3827
3836
|
}
|
|
@@ -3836,7 +3845,7 @@
|
|
|
3836
3845
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3837
3846
|
}
|
|
3838
3847
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3839
|
-
return $this.
|
|
3848
|
+
return $this.a2f_1.a2();
|
|
3840
3849
|
}
|
|
3841
3850
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3842
3851
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3876,16 +3885,16 @@
|
|
|
3876
3885
|
Companion_instance_19 = this;
|
|
3877
3886
|
var tmp = this;
|
|
3878
3887
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3879
|
-
tmp.
|
|
3888
|
+
tmp.a2f_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3880
3889
|
}
|
|
3881
|
-
protoOf(Companion_19).
|
|
3890
|
+
protoOf(Companion_19).p19 = function () {
|
|
3882
3891
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
3883
3892
|
};
|
|
3884
|
-
protoOf(Companion_19).
|
|
3885
|
-
return this.
|
|
3893
|
+
protoOf(Companion_19).yx = function (typeParamsSerializers) {
|
|
3894
|
+
return this.p19();
|
|
3886
3895
|
};
|
|
3887
3896
|
var Companion_instance_19;
|
|
3888
|
-
function
|
|
3897
|
+
function Companion_getInstance_22() {
|
|
3889
3898
|
LogType_initEntries();
|
|
3890
3899
|
if (Companion_instance_19 == null)
|
|
3891
3900
|
new Companion_19();
|
|
@@ -3901,7 +3910,7 @@
|
|
|
3901
3910
|
LogType_WARN_instance = new LogType('WARN', 2);
|
|
3902
3911
|
LogType_VERBOSE_instance = new LogType('VERBOSE', 3);
|
|
3903
3912
|
LogType_INFO_instance = new LogType('INFO', 4);
|
|
3904
|
-
|
|
3913
|
+
Companion_getInstance_22();
|
|
3905
3914
|
}
|
|
3906
3915
|
var $ENTRIES_1;
|
|
3907
3916
|
function LogType(name, ordinal) {
|
|
@@ -3929,19 +3938,23 @@
|
|
|
3929
3938
|
}
|
|
3930
3939
|
function ObservableLoggerOutput() {
|
|
3931
3940
|
}
|
|
3941
|
+
function LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy() {
|
|
3942
|
+
return Companion_getInstance_22().p19();
|
|
3943
|
+
}
|
|
3932
3944
|
function Companion_20() {
|
|
3933
3945
|
Companion_instance_20 = this;
|
|
3934
3946
|
var tmp = this;
|
|
3947
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3935
3948
|
// Inline function 'kotlin.arrayOf' call
|
|
3936
3949
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3937
3950
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3938
|
-
tmp.
|
|
3951
|
+
tmp.g2f_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
|
|
3939
3952
|
}
|
|
3940
|
-
protoOf(Companion_20).
|
|
3953
|
+
protoOf(Companion_20).p19 = function () {
|
|
3941
3954
|
return $serializer_getInstance_10();
|
|
3942
3955
|
};
|
|
3943
3956
|
var Companion_instance_20;
|
|
3944
|
-
function
|
|
3957
|
+
function Companion_getInstance_23() {
|
|
3945
3958
|
if (Companion_instance_20 == null)
|
|
3946
3959
|
new Companion_20();
|
|
3947
3960
|
return Companion_instance_20;
|
|
@@ -3949,29 +3962,29 @@
|
|
|
3949
3962
|
function $serializer_10() {
|
|
3950
3963
|
$serializer_instance_10 = this;
|
|
3951
3964
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
3952
|
-
tmp0_serialDesc.
|
|
3953
|
-
tmp0_serialDesc.
|
|
3954
|
-
tmp0_serialDesc.
|
|
3955
|
-
tmp0_serialDesc.
|
|
3956
|
-
tmp0_serialDesc.
|
|
3957
|
-
this.
|
|
3958
|
-
}
|
|
3959
|
-
protoOf($serializer_10).
|
|
3960
|
-
var tmp0_desc = this.
|
|
3961
|
-
var tmp1_output = encoder.
|
|
3962
|
-
var tmp2_cached =
|
|
3963
|
-
tmp1_output.
|
|
3964
|
-
tmp1_output.
|
|
3965
|
-
tmp1_output.
|
|
3966
|
-
tmp1_output.
|
|
3967
|
-
tmp1_output.
|
|
3968
|
-
tmp1_output.
|
|
3969
|
-
};
|
|
3970
|
-
protoOf($serializer_10).
|
|
3971
|
-
return this.
|
|
3972
|
-
};
|
|
3973
|
-
protoOf($serializer_10).
|
|
3974
|
-
var tmp0_desc = this.
|
|
3965
|
+
tmp0_serialDesc.yw('type', false);
|
|
3966
|
+
tmp0_serialDesc.yw('key', false);
|
|
3967
|
+
tmp0_serialDesc.yw('tag', false);
|
|
3968
|
+
tmp0_serialDesc.yw('message', false);
|
|
3969
|
+
tmp0_serialDesc.yw('stackTrace', false);
|
|
3970
|
+
this.h2f_1 = tmp0_serialDesc;
|
|
3971
|
+
}
|
|
3972
|
+
protoOf($serializer_10).i2f = function (encoder, value) {
|
|
3973
|
+
var tmp0_desc = this.h2f_1;
|
|
3974
|
+
var tmp1_output = encoder.gp(tmp0_desc);
|
|
3975
|
+
var tmp2_cached = Companion_getInstance_23().g2f_1;
|
|
3976
|
+
tmp1_output.xq(tmp0_desc, 0, tmp2_cached[0].a2(), value.type);
|
|
3977
|
+
tmp1_output.zq(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
3978
|
+
tmp1_output.zq(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
3979
|
+
tmp1_output.zq(tmp0_desc, 3, StringSerializer_getInstance(), value.message);
|
|
3980
|
+
tmp1_output.zq(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
3981
|
+
tmp1_output.hp(tmp0_desc);
|
|
3982
|
+
};
|
|
3983
|
+
protoOf($serializer_10).yl = function (encoder, value) {
|
|
3984
|
+
return this.i2f(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
3985
|
+
};
|
|
3986
|
+
protoOf($serializer_10).zl = function (decoder) {
|
|
3987
|
+
var tmp0_desc = this.h2f_1;
|
|
3975
3988
|
var tmp1_flag = true;
|
|
3976
3989
|
var tmp2_index = 0;
|
|
3977
3990
|
var tmp3_bitMask0 = 0;
|
|
@@ -3980,61 +3993,61 @@
|
|
|
3980
3993
|
var tmp6_local2 = null;
|
|
3981
3994
|
var tmp7_local3 = null;
|
|
3982
3995
|
var tmp8_local4 = null;
|
|
3983
|
-
var tmp9_input = decoder.
|
|
3984
|
-
var tmp10_cached =
|
|
3985
|
-
if (tmp9_input.
|
|
3986
|
-
tmp4_local0 = tmp9_input.
|
|
3996
|
+
var tmp9_input = decoder.gp(tmp0_desc);
|
|
3997
|
+
var tmp10_cached = Companion_getInstance_23().g2f_1;
|
|
3998
|
+
if (tmp9_input.wp()) {
|
|
3999
|
+
tmp4_local0 = tmp9_input.sp(tmp0_desc, 0, tmp10_cached[0].a2(), tmp4_local0);
|
|
3987
4000
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3988
|
-
tmp5_local1 = tmp9_input.
|
|
4001
|
+
tmp5_local1 = tmp9_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3989
4002
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3990
|
-
tmp6_local2 = tmp9_input.
|
|
4003
|
+
tmp6_local2 = tmp9_input.up(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3991
4004
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3992
|
-
tmp7_local3 = tmp9_input.
|
|
4005
|
+
tmp7_local3 = tmp9_input.up(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3993
4006
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3994
|
-
tmp8_local4 = tmp9_input.
|
|
4007
|
+
tmp8_local4 = tmp9_input.up(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3995
4008
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3996
4009
|
} else
|
|
3997
4010
|
while (tmp1_flag) {
|
|
3998
|
-
tmp2_index = tmp9_input.
|
|
4011
|
+
tmp2_index = tmp9_input.xp(tmp0_desc);
|
|
3999
4012
|
switch (tmp2_index) {
|
|
4000
4013
|
case -1:
|
|
4001
4014
|
tmp1_flag = false;
|
|
4002
4015
|
break;
|
|
4003
4016
|
case 0:
|
|
4004
|
-
tmp4_local0 = tmp9_input.
|
|
4017
|
+
tmp4_local0 = tmp9_input.sp(tmp0_desc, 0, tmp10_cached[0].a2(), tmp4_local0);
|
|
4005
4018
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
4006
4019
|
break;
|
|
4007
4020
|
case 1:
|
|
4008
|
-
tmp5_local1 = tmp9_input.
|
|
4021
|
+
tmp5_local1 = tmp9_input.up(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
4009
4022
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
4010
4023
|
break;
|
|
4011
4024
|
case 2:
|
|
4012
|
-
tmp6_local2 = tmp9_input.
|
|
4025
|
+
tmp6_local2 = tmp9_input.up(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
4013
4026
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
4014
4027
|
break;
|
|
4015
4028
|
case 3:
|
|
4016
|
-
tmp7_local3 = tmp9_input.
|
|
4029
|
+
tmp7_local3 = tmp9_input.up(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
4017
4030
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
4018
4031
|
break;
|
|
4019
4032
|
case 4:
|
|
4020
|
-
tmp8_local4 = tmp9_input.
|
|
4033
|
+
tmp8_local4 = tmp9_input.up(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
4021
4034
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
4022
4035
|
break;
|
|
4023
4036
|
default:
|
|
4024
4037
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
4025
4038
|
}
|
|
4026
4039
|
}
|
|
4027
|
-
tmp9_input.
|
|
4040
|
+
tmp9_input.hp(tmp0_desc);
|
|
4028
4041
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
4029
4042
|
};
|
|
4030
|
-
protoOf($serializer_10).
|
|
4031
|
-
return this.
|
|
4043
|
+
protoOf($serializer_10).xl = function () {
|
|
4044
|
+
return this.h2f_1;
|
|
4032
4045
|
};
|
|
4033
|
-
protoOf($serializer_10).
|
|
4046
|
+
protoOf($serializer_10).nx = function () {
|
|
4034
4047
|
// Inline function 'kotlin.arrayOf' call
|
|
4035
4048
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4036
4049
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4037
|
-
return [
|
|
4050
|
+
return [Companion_getInstance_23().g2f_1[0].a2(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
4038
4051
|
};
|
|
4039
4052
|
var $serializer_instance_10;
|
|
4040
4053
|
function $serializer_getInstance_10() {
|
|
@@ -4044,7 +4057,7 @@
|
|
|
4044
4057
|
}
|
|
4045
4058
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
4046
4059
|
if (!(31 === (31 & seen0))) {
|
|
4047
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().
|
|
4060
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().h2f_1);
|
|
4048
4061
|
}
|
|
4049
4062
|
$this.type = type;
|
|
4050
4063
|
$this.key = key;
|
|
@@ -4057,39 +4070,37 @@
|
|
|
4057
4070
|
return LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
|
|
4058
4071
|
}
|
|
4059
4072
|
function LoggerOutputDataDto(type, key, tag, message, stackTrace) {
|
|
4060
|
-
|
|
4073
|
+
Companion_getInstance_23();
|
|
4061
4074
|
this.type = type;
|
|
4062
4075
|
this.key = key;
|
|
4063
4076
|
this.tag = tag;
|
|
4064
4077
|
this.message = message;
|
|
4065
4078
|
this.stackTrace = stackTrace;
|
|
4066
4079
|
}
|
|
4067
|
-
protoOf(LoggerOutputDataDto).
|
|
4080
|
+
protoOf(LoggerOutputDataDto).u22 = function () {
|
|
4068
4081
|
return this.type;
|
|
4069
4082
|
};
|
|
4070
4083
|
protoOf(LoggerOutputDataDto).z1 = function () {
|
|
4071
4084
|
return this.key;
|
|
4072
4085
|
};
|
|
4073
|
-
protoOf(LoggerOutputDataDto).
|
|
4086
|
+
protoOf(LoggerOutputDataDto).e29 = function () {
|
|
4074
4087
|
return this.tag;
|
|
4075
4088
|
};
|
|
4076
|
-
protoOf(LoggerOutputDataDto).
|
|
4089
|
+
protoOf(LoggerOutputDataDto).n9 = function () {
|
|
4077
4090
|
return this.message;
|
|
4078
4091
|
};
|
|
4079
|
-
protoOf(LoggerOutputDataDto).
|
|
4092
|
+
protoOf(LoggerOutputDataDto).j2f = function () {
|
|
4080
4093
|
return this.stackTrace;
|
|
4081
4094
|
};
|
|
4082
4095
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
4083
|
-
var time = toLocalDateTime(System_instance.
|
|
4096
|
+
var time = toLocalDateTime(System_instance.eh(), Companion_getInstance_1().w1y());
|
|
4084
4097
|
var tmp = time.toString();
|
|
4085
4098
|
// Inline function 'kotlin.text.lowercase' call
|
|
4086
4099
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4087
4100
|
var tmp_0 = this.type.toString().toLowerCase();
|
|
4088
4101
|
// Inline function 'kotlin.takeIf' call
|
|
4089
4102
|
var this_0 = '[' + this.tag + ']';
|
|
4090
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4091
4103
|
var tmp_1;
|
|
4092
|
-
// Inline function 'com.logic.utils.logger.outputs.LoggerOutputDataDto.toMessageLog.<anonymous>' call
|
|
4093
4104
|
if (!(this.tag == null)) {
|
|
4094
4105
|
tmp_1 = this_0;
|
|
4095
4106
|
} else {
|
|
@@ -4098,12 +4109,9 @@
|
|
|
4098
4109
|
var tmp_2 = tmp_1;
|
|
4099
4110
|
// Inline function 'kotlin.takeUnless' call
|
|
4100
4111
|
var this_1 = '' + this.message;
|
|
4101
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4102
4112
|
var tmp_3;
|
|
4103
|
-
// Inline function 'com.logic.utils.logger.outputs.LoggerOutputDataDto.toMessageLog.<anonymous>' call
|
|
4104
4113
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
4105
4114
|
var this_2 = this.message;
|
|
4106
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4107
4115
|
if (!(this_2 == null || charSequenceLength(this_2) === 0)) {
|
|
4108
4116
|
tmp_3 = this_1;
|
|
4109
4117
|
} else {
|
|
@@ -4112,12 +4120,9 @@
|
|
|
4112
4120
|
var tmp_4 = tmp_3;
|
|
4113
4121
|
// Inline function 'kotlin.takeUnless' call
|
|
4114
4122
|
var this_3 = '' + this.stackTrace;
|
|
4115
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4116
4123
|
var tmp_5;
|
|
4117
|
-
// Inline function 'com.logic.utils.logger.outputs.LoggerOutputDataDto.toMessageLog.<anonymous>' call
|
|
4118
4124
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
4119
4125
|
var this_4 = this.stackTrace;
|
|
4120
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4121
4126
|
if (!(this_4 == null || charSequenceLength(this_4) === 0)) {
|
|
4122
4127
|
tmp_5 = this_3;
|
|
4123
4128
|
} else {
|
|
@@ -4126,22 +4131,22 @@
|
|
|
4126
4131
|
var tmp$ret$9 = tmp_5;
|
|
4127
4132
|
return joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp$ret$9]), ' ');
|
|
4128
4133
|
};
|
|
4129
|
-
protoOf(LoggerOutputDataDto).
|
|
4134
|
+
protoOf(LoggerOutputDataDto).nd = function () {
|
|
4130
4135
|
return this.type;
|
|
4131
4136
|
};
|
|
4132
|
-
protoOf(LoggerOutputDataDto).
|
|
4137
|
+
protoOf(LoggerOutputDataDto).od = function () {
|
|
4133
4138
|
return this.key;
|
|
4134
4139
|
};
|
|
4135
|
-
protoOf(LoggerOutputDataDto).
|
|
4140
|
+
protoOf(LoggerOutputDataDto).zi = function () {
|
|
4136
4141
|
return this.tag;
|
|
4137
4142
|
};
|
|
4138
|
-
protoOf(LoggerOutputDataDto).
|
|
4143
|
+
protoOf(LoggerOutputDataDto).z1z = function () {
|
|
4139
4144
|
return this.message;
|
|
4140
4145
|
};
|
|
4141
|
-
protoOf(LoggerOutputDataDto).
|
|
4146
|
+
protoOf(LoggerOutputDataDto).z29 = function () {
|
|
4142
4147
|
return this.stackTrace;
|
|
4143
4148
|
};
|
|
4144
|
-
protoOf(LoggerOutputDataDto).
|
|
4149
|
+
protoOf(LoggerOutputDataDto).k2f = function (type, key, tag, message, stackTrace) {
|
|
4145
4150
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
4146
4151
|
};
|
|
4147
4152
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -4150,7 +4155,7 @@
|
|
|
4150
4155
|
tag = tag === VOID ? this.tag : tag;
|
|
4151
4156
|
message = message === VOID ? this.message : message;
|
|
4152
4157
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
4153
|
-
return this.
|
|
4158
|
+
return $super === VOID ? this.k2f(type, key, tag, message, stackTrace) : $super.k2f.call(this, type, key, tag, message, stackTrace);
|
|
4154
4159
|
};
|
|
4155
4160
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
4156
4161
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -4188,8 +4193,8 @@
|
|
|
4188
4193
|
if (jsObject == null) {
|
|
4189
4194
|
return emptyList();
|
|
4190
4195
|
}
|
|
4191
|
-
// Inline function 'kotlin.collections.map' call
|
|
4192
4196
|
var tmp = Object.entries;
|
|
4197
|
+
// Inline function 'kotlin.collections.map' call
|
|
4193
4198
|
var this_0 = ((!(tmp == null) ? typeof tmp === 'function' : false) ? tmp : THROW_CCE())(jsObject);
|
|
4194
4199
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4195
4200
|
var destination = ArrayList_init_$Create$_0(this_0.length);
|
|
@@ -4198,7 +4203,6 @@
|
|
|
4198
4203
|
while (inductionVariable < last) {
|
|
4199
4204
|
var item = this_0[inductionVariable];
|
|
4200
4205
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4201
|
-
// Inline function 'com.logic.utils.entriesOfObject.<anonymous>' call
|
|
4202
4206
|
var tmp_0 = item[0];
|
|
4203
4207
|
var tmp$ret$0 = to((!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : THROW_CCE(), item[1]);
|
|
4204
4208
|
destination.e(tmp$ret$0);
|
|
@@ -4206,61 +4210,61 @@
|
|
|
4206
4210
|
return destination;
|
|
4207
4211
|
}
|
|
4208
4212
|
//region block: post-declaration
|
|
4209
|
-
protoOf($serializer).
|
|
4210
|
-
protoOf($serializer_0).
|
|
4211
|
-
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).
|
|
4213
|
+
protoOf($serializer).ox = typeParametersSerializers;
|
|
4214
|
+
protoOf($serializer_0).ox = typeParametersSerializers;
|
|
4215
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).z28);
|
|
4212
4216
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
4213
|
-
return this.
|
|
4217
|
+
return this.d29();
|
|
4214
4218
|
});
|
|
4215
4219
|
defineProp(protoOf(PlayerLostConnectionReason), 'connectionState', function () {
|
|
4216
|
-
return this.
|
|
4220
|
+
return this.f29();
|
|
4217
4221
|
});
|
|
4218
4222
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
4219
|
-
return this.
|
|
4223
|
+
return this.d29();
|
|
4220
4224
|
});
|
|
4221
4225
|
defineProp(protoOf(PlayerTimeoutReason), 'connectionState', function () {
|
|
4222
|
-
return this.
|
|
4226
|
+
return this.f29();
|
|
4223
4227
|
});
|
|
4224
4228
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
4225
|
-
return this.
|
|
4229
|
+
return this.d29();
|
|
4226
4230
|
});
|
|
4227
4231
|
defineProp(protoOf(PlayerExitReason), 'connectionState', function () {
|
|
4228
|
-
return this.
|
|
4232
|
+
return this.f29();
|
|
4229
4233
|
});
|
|
4230
4234
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).k2);
|
|
4231
4235
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).l2);
|
|
4232
4236
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).k2);
|
|
4233
4237
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).l2);
|
|
4234
4238
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
4235
|
-
return this.
|
|
4239
|
+
return this.d29();
|
|
4236
4240
|
});
|
|
4237
4241
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
4238
|
-
return this.
|
|
4242
|
+
return this.d29();
|
|
4239
4243
|
});
|
|
4240
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
4241
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
4242
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
4243
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
4244
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
4245
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
4246
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
4247
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
4248
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
4249
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4244
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).c2b);
|
|
4245
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).d2b);
|
|
4246
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).e2b);
|
|
4247
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).f2b);
|
|
4248
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).g2b);
|
|
4249
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).h2b);
|
|
4250
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).i2b);
|
|
4251
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).j2b);
|
|
4252
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).k2b);
|
|
4253
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).l2b);
|
|
4250
4254
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).k2);
|
|
4251
4255
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).l2);
|
|
4252
|
-
protoOf($serializer_1).
|
|
4253
|
-
protoOf($serializer_2).
|
|
4254
|
-
protoOf($serializer_3).
|
|
4255
|
-
protoOf($serializer_4).
|
|
4256
|
-
protoOf($serializer_5).
|
|
4257
|
-
protoOf($serializer_6).
|
|
4258
|
-
protoOf($serializer_7).
|
|
4259
|
-
protoOf($serializer_8).
|
|
4260
|
-
protoOf($serializer_9).
|
|
4256
|
+
protoOf($serializer_1).ox = typeParametersSerializers;
|
|
4257
|
+
protoOf($serializer_2).ox = typeParametersSerializers;
|
|
4258
|
+
protoOf($serializer_3).ox = typeParametersSerializers;
|
|
4259
|
+
protoOf($serializer_4).ox = typeParametersSerializers;
|
|
4260
|
+
protoOf($serializer_5).ox = typeParametersSerializers;
|
|
4261
|
+
protoOf($serializer_6).ox = typeParametersSerializers;
|
|
4262
|
+
protoOf($serializer_7).ox = typeParametersSerializers;
|
|
4263
|
+
protoOf($serializer_8).ox = typeParametersSerializers;
|
|
4264
|
+
protoOf($serializer_9).ox = typeParametersSerializers;
|
|
4261
4265
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).k2);
|
|
4262
4266
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).l2);
|
|
4263
|
-
protoOf($serializer_10).
|
|
4267
|
+
protoOf($serializer_10).ox = typeParametersSerializers;
|
|
4264
4268
|
//endregion
|
|
4265
4269
|
//region block: init
|
|
4266
4270
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
@@ -4286,7 +4290,7 @@
|
|
|
4286
4290
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
4287
4291
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
4288
4292
|
$com$logic$data$models.CoreConfig = CoreConfig;
|
|
4289
|
-
defineProp($com$logic$data$models.CoreConfig, 'Companion',
|
|
4293
|
+
defineProp($com$logic$data$models.CoreConfig, 'Companion', Companion_getInstance_5);
|
|
4290
4294
|
var $com = _.com || (_.com = {});
|
|
4291
4295
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4292
4296
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -4305,7 +4309,7 @@
|
|
|
4305
4309
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'NO_ACTIVE_PLAYERS', Reason_NO_ACTIVE_PLAYERS_getInstance);
|
|
4306
4310
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'REVENGED', Reason_REVENGED_getInstance);
|
|
4307
4311
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance);
|
|
4308
|
-
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion',
|
|
4312
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_6);
|
|
4309
4313
|
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
4310
4314
|
$com$logic$data$models.GameErrorReason.Reason = Reason_0;
|
|
4311
4315
|
$com$logic$data$models.GameErrorReason.Reason.values = values_0;
|
|
@@ -4316,7 +4320,7 @@
|
|
|
4316
4320
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'WRONG_PLAYER_TURN', Reason_WRONG_PLAYER_TURN_getInstance);
|
|
4317
4321
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'DUPLICATED_PLAYER_ANSWER', Reason_DUPLICATED_PLAYER_ANSWER_getInstance);
|
|
4318
4322
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'PLAYER_DISCONNECTED', Reason_PLAYER_DISCONNECTED_getInstance);
|
|
4319
|
-
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion',
|
|
4323
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion', Companion_getInstance_7);
|
|
4320
4324
|
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
4321
4325
|
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance);
|
|
4322
4326
|
var $com = _.com || (_.com = {});
|
|
@@ -4346,7 +4350,7 @@
|
|
|
4346
4350
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT', PlayerConnectionState_LEFT_getInstance);
|
|
4347
4351
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DISCONNECTING', PlayerConnectionState_DISCONNECTING_getInstance);
|
|
4348
4352
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DELETED', PlayerConnectionState_DELETED_getInstance);
|
|
4349
|
-
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion',
|
|
4353
|
+
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion', Companion_getInstance_9);
|
|
4350
4354
|
var $com = _.com || (_.com = {});
|
|
4351
4355
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4352
4356
|
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
@@ -4384,14 +4388,14 @@
|
|
|
4384
4388
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
4385
4389
|
defineProp($com$logic$utils$logger$outputs.LogType, 'VERBOSE', LogType_VERBOSE_getInstance);
|
|
4386
4390
|
defineProp($com$logic$utils$logger$outputs.LogType, 'INFO', LogType_INFO_getInstance);
|
|
4387
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion',
|
|
4391
|
+
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_22);
|
|
4388
4392
|
var $com = _.com || (_.com = {});
|
|
4389
4393
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4390
4394
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
4391
4395
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
4392
4396
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
4393
4397
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
4394
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion',
|
|
4398
|
+
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_23);
|
|
4395
4399
|
}
|
|
4396
4400
|
$jsExportAll$(_);
|
|
4397
4401
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -4432,15 +4436,15 @@
|
|
|
4432
4436
|
_.$_$.h1 = PlayerConnectionState_LEFT_getInstance;
|
|
4433
4437
|
_.$_$.i1 = PlayerConnectionState_LIVE_getInstance;
|
|
4434
4438
|
_.$_$.j1 = Companion_instance_5;
|
|
4435
|
-
_.$_$.k1 =
|
|
4439
|
+
_.$_$.k1 = Companion_getInstance_9;
|
|
4436
4440
|
_.$_$.l1 = Companion_instance_8;
|
|
4437
|
-
_.$_$.m1 =
|
|
4441
|
+
_.$_$.m1 = Companion_getInstance_10;
|
|
4438
4442
|
_.$_$.n1 = $serializer_getInstance_6;
|
|
4439
4443
|
_.$_$.o1 = $serializer_getInstance_8;
|
|
4440
4444
|
_.$_$.p1 = $serializer_getInstance_9;
|
|
4441
4445
|
_.$_$.q1 = ProcessingReasonDto_getInstance;
|
|
4442
|
-
_.$_$.r1 =
|
|
4443
|
-
_.$_$.s1 =
|
|
4446
|
+
_.$_$.r1 = Companion_getInstance_12;
|
|
4447
|
+
_.$_$.s1 = Companion_getInstance_2;
|
|
4444
4448
|
_.$_$.t1 = ProcessingReason_getInstance;
|
|
4445
4449
|
_.$_$.u1 = RestartGameReason_getInstance;
|
|
4446
4450
|
//endregion
|