raspberry_games_engine_helpers 1.8.267 → 1.8.289
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 +56 -56
- package/Kosi-Kodein-kodein-di.js +488 -488
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1378 -1378
- package/Logic_Debertz-core.js +1717 -1227
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +76 -29
- package/Logic_Debertz-engine.js +19008 -12605
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core.js +1813 -1813
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +40 -40
- package/raspberry-cardgame-lib-logger.js +223 -26
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +43 -43
- package/raspberry-cardgame-lib-random.js.map +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
var initMetadataForObject = kotlin_kotlin.$_$.y8;
|
|
33
33
|
var defineProp = kotlin_kotlin.$_$.l8;
|
|
34
34
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
35
|
-
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
36
35
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
37
36
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
38
37
|
var lazy = kotlin_kotlin.$_$.cd;
|
|
@@ -50,9 +49,12 @@
|
|
|
50
49
|
var Unit_instance = kotlin_kotlin.$_$.k4;
|
|
51
50
|
var objectCreate = kotlin_kotlin.$_$.p9;
|
|
52
51
|
var getStringHashCode = kotlin_kotlin.$_$.r8;
|
|
52
|
+
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
53
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
53
54
|
var replace = kotlin_kotlin.$_$.za;
|
|
54
55
|
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
55
56
|
var getBooleanHashCode = kotlin_kotlin.$_$.o8;
|
|
57
|
+
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
56
58
|
var initMetadataForInterface = kotlin_kotlin.$_$.w8;
|
|
57
59
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
58
60
|
var THROW_IAE = kotlin_kotlin.$_$.kc;
|
|
@@ -78,7 +80,6 @@
|
|
|
78
80
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.y1;
|
|
79
81
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.r1;
|
|
80
82
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
81
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
82
83
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
83
84
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ed;
|
|
84
85
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.f5;
|
|
@@ -86,11 +87,14 @@
|
|
|
86
87
|
var coerceAtLeast = kotlin_kotlin.$_$.x9;
|
|
87
88
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
88
89
|
var ensureNotNull = kotlin_kotlin.$_$.yc;
|
|
90
|
+
var Long = kotlin_kotlin.$_$.fc;
|
|
91
|
+
var toInstant = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.e;
|
|
92
|
+
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.x1;
|
|
89
93
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
90
94
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
91
95
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
96
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
92
97
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
93
|
-
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
94
98
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
95
99
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
96
100
|
var checkIndexOverflow = kotlin_kotlin.$_$.e5;
|
|
@@ -98,7 +102,7 @@
|
|
|
98
102
|
var get_lastIndex = kotlin_kotlin.$_$.p6;
|
|
99
103
|
var copyToArray = kotlin_kotlin.$_$.t5;
|
|
100
104
|
var LoggerOutput = kotlin_io_raspberryapps_cardgame_logger.$_$.a;
|
|
101
|
-
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.
|
|
105
|
+
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.d;
|
|
102
106
|
var Companion_getInstance_0 = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.d;
|
|
103
107
|
var toLocalDateTime = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.f;
|
|
104
108
|
var charSequenceLength = kotlin_kotlin.$_$.i8;
|
|
@@ -114,8 +118,10 @@
|
|
|
114
118
|
initMetadataForCompanion(Companion_0);
|
|
115
119
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
116
120
|
initMetadataForClass(PlayerReturnsReason, 'PlayerReturnsReason', VOID, ContinueGameReason, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
117
|
-
initMetadataForObject(RestartRoundReason, 'RestartRoundReason', VOID, ContinueGameReason, [ContinueGameReason, SerializerFactory], VOID, VOID, {0: RestartRoundReason_getInstance});
|
|
118
121
|
initMetadataForCompanion(Companion_1);
|
|
122
|
+
initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
123
|
+
initMetadataForClass(RestartRoundReason, 'RestartRoundReason', VOID, ContinueGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_0});
|
|
124
|
+
initMetadataForCompanion(Companion_2);
|
|
119
125
|
initMetadataForClass(CoreConfig, 'CoreConfig', CoreConfig);
|
|
120
126
|
initMetadataForObject(RestartGameReason, 'RestartGameReason', VOID, VOID, [SerializerFactory], VOID, VOID, {0: RestartGameReason_getInstance});
|
|
121
127
|
initMetadataForClass(TerminationGameReason, 'TerminationGameReason');
|
|
@@ -123,11 +129,11 @@
|
|
|
123
129
|
initMetadataForClass(PlayerLostConnectionReason, 'PlayerLostConnectionReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
124
130
|
initMetadataForClass(PlayerTimeoutReason, 'PlayerTimeoutReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
125
131
|
initMetadataForClass(PlayerExitReason, 'PlayerExitReason', VOID, TerminationGameReason, [TerminationGameReason, FinishPlayerReason]);
|
|
126
|
-
initMetadataForCompanion(Companion_2, VOID, [SerializerFactory]);
|
|
127
|
-
initMetadataForClass(Reason, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_4});
|
|
128
|
-
initMetadataForClass(GameFinishedReason, 'GameFinishedReason', VOID, TerminationGameReason);
|
|
129
132
|
initMetadataForCompanion(Companion_3, VOID, [SerializerFactory]);
|
|
130
|
-
initMetadataForClass(
|
|
133
|
+
initMetadataForClass(Reason, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_5});
|
|
134
|
+
initMetadataForClass(GameFinishedReason, 'GameFinishedReason', VOID, TerminationGameReason);
|
|
135
|
+
initMetadataForCompanion(Companion_4, VOID, [SerializerFactory]);
|
|
136
|
+
initMetadataForClass(Reason_0, 'Reason', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_6});
|
|
131
137
|
initMetadataForClass(GameErrorReason, 'GameErrorReason', VOID, TerminationGameReason);
|
|
132
138
|
initMetadataForObject(WaitingForConnectionReason, 'WaitingForConnectionReason', VOID, TerminationGameReason);
|
|
133
139
|
initMetadataForObject(ProcessingReason, 'ProcessingReason', VOID, TerminationGameReason);
|
|
@@ -135,40 +141,46 @@
|
|
|
135
141
|
initMetadataForInterface(PlayerIdContract, 'PlayerIdContract');
|
|
136
142
|
initMetadataForClass(GameUserInfo, 'GameUserInfo', VOID, VOID, [PlayerIdContract]);
|
|
137
143
|
initMetadataForClass(PlayerIndex, 'PlayerIndex', VOID, VOID, [PlayerIdContract]);
|
|
138
|
-
initMetadataForCompanion(
|
|
144
|
+
initMetadataForCompanion(Companion_5);
|
|
139
145
|
initMetadataForClass(PlayerConnection, 'PlayerConnection');
|
|
140
|
-
initMetadataForCompanion(Companion_5, VOID, [SerializerFactory]);
|
|
141
|
-
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_7});
|
|
142
146
|
initMetadataForCompanion(Companion_6, VOID, [SerializerFactory]);
|
|
143
|
-
initMetadataForClass(
|
|
144
|
-
initMetadataForCompanion(Companion_7);
|
|
147
|
+
initMetadataForClass(PlayerConnectionState, 'PlayerConnectionState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_8});
|
|
148
|
+
initMetadataForCompanion(Companion_7, VOID, [SerializerFactory]);
|
|
149
|
+
initMetadataForClass(PlayerWaitingState, 'PlayerWaitingState', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_9});
|
|
150
|
+
initMetadataForCompanion(Companion_8);
|
|
145
151
|
initMetadataForClass(PlayerState, 'PlayerState');
|
|
146
152
|
initMetadataForClass(Team, 'Team');
|
|
147
|
-
initMetadataForCompanion(
|
|
148
|
-
initMetadataForClass(TerminationGameReasonDto, 'TerminationGameReasonDto', VOID, VOID, VOID, VOID, VOID, {0:
|
|
153
|
+
initMetadataForCompanion(Companion_9, VOID, [SerializerFactory]);
|
|
154
|
+
initMetadataForClass(TerminationGameReasonDto, 'TerminationGameReasonDto', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_11});
|
|
149
155
|
initMetadataForObject(ProcessingReasonDto, 'ProcessingReasonDto', VOID, TerminationGameReasonDto, [TerminationGameReasonDto, SerializerFactory], VOID, VOID, {0: ProcessingReasonDto_getInstance});
|
|
150
|
-
initMetadataForCompanion(Companion_9);
|
|
151
|
-
initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
152
|
-
initMetadataForClass(GameErrorReasonDto, 'GameErrorReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_0});
|
|
153
156
|
initMetadataForCompanion(Companion_10);
|
|
154
157
|
initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
155
|
-
initMetadataForClass(
|
|
158
|
+
initMetadataForClass(GameErrorReasonDto, 'GameErrorReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_1});
|
|
156
159
|
initMetadataForCompanion(Companion_11);
|
|
157
160
|
initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
158
|
-
initMetadataForClass(
|
|
161
|
+
initMetadataForClass(GameFinishedReasonDto, 'GameFinishedReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_2});
|
|
159
162
|
initMetadataForCompanion(Companion_12);
|
|
160
163
|
initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
161
|
-
initMetadataForClass(
|
|
164
|
+
initMetadataForClass(PlayerExitReasonDto, 'PlayerExitReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
162
165
|
initMetadataForCompanion(Companion_13);
|
|
163
166
|
initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
164
|
-
initMetadataForClass(
|
|
165
|
-
initMetadataForObject(WaitingForConnectionReasonDto, 'WaitingForConnectionReasonDto', VOID, TerminationGameReasonDto, [TerminationGameReasonDto, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReasonDto_getInstance});
|
|
167
|
+
initMetadataForClass(PlayerLostConnectionReasonDto, 'PlayerLostConnectionReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
166
168
|
initMetadataForCompanion(Companion_14);
|
|
167
169
|
initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
168
|
-
initMetadataForClass(
|
|
170
|
+
initMetadataForClass(PlayerTimeoutReasonDto, 'PlayerTimeoutReasonDto', VOID, TerminationGameReasonDto, VOID, VOID, VOID, {0: $serializer_getInstance_5});
|
|
171
|
+
initMetadataForObject(WaitingForConnectionReasonDto, 'WaitingForConnectionReasonDto', VOID, TerminationGameReasonDto, [TerminationGameReasonDto, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReasonDto_getInstance});
|
|
169
172
|
initMetadataForCompanion(Companion_15);
|
|
170
173
|
initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
171
|
-
initMetadataForClass(
|
|
174
|
+
initMetadataForClass(GameUserInfoDto, 'GameUserInfoDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
|
|
175
|
+
initMetadataForCompanion(Companion_16);
|
|
176
|
+
initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
177
|
+
initMetadataForClass(PlayerConnectionDto, 'PlayerConnectionDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
178
|
+
initMetadataForCompanion(Companion_17);
|
|
179
|
+
initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
180
|
+
initMetadataForClass(PlayerStateDto, 'PlayerStateDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
|
|
181
|
+
initMetadataForCompanion(Companion_18);
|
|
182
|
+
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
183
|
+
initMetadataForClass(RulesDto, 'RulesDto', RulesDto, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
172
184
|
function get_actionTag() {
|
|
173
185
|
return toString_0(getKClassFromExpression(this));
|
|
174
186
|
}
|
|
@@ -185,8 +197,8 @@
|
|
|
185
197
|
}
|
|
186
198
|
initMetadataForInterface(NotValidateIfGameFinishing, 'NotValidateIfGameFinishing');
|
|
187
199
|
initMetadataForInterface(Store, 'Store');
|
|
188
|
-
initMetadataForCompanion(
|
|
189
|
-
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0:
|
|
200
|
+
initMetadataForCompanion(Companion_19, VOID, [SerializerFactory]);
|
|
201
|
+
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_21});
|
|
190
202
|
function observe(types, $super) {
|
|
191
203
|
var tmp;
|
|
192
204
|
if (types === VOID) {
|
|
@@ -197,17 +209,17 @@
|
|
|
197
209
|
tmp = types;
|
|
198
210
|
}
|
|
199
211
|
types = tmp;
|
|
200
|
-
return this.
|
|
212
|
+
return this.u2c(types);
|
|
201
213
|
}
|
|
202
214
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
203
|
-
initMetadataForCompanion(
|
|
204
|
-
initMetadataForObject($
|
|
205
|
-
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $
|
|
215
|
+
initMetadataForCompanion(Companion_20);
|
|
216
|
+
initMetadataForObject($serializer_10, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
217
|
+
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
206
218
|
//endregion
|
|
207
219
|
function GameEngineConfig() {
|
|
208
|
-
this.version = '1.8.
|
|
220
|
+
this.version = '1.8.289';
|
|
209
221
|
}
|
|
210
|
-
protoOf(GameEngineConfig).
|
|
222
|
+
protoOf(GameEngineConfig).p25 = function () {
|
|
211
223
|
return this.version;
|
|
212
224
|
};
|
|
213
225
|
var GameEngineConfig_instance;
|
|
@@ -215,7 +227,7 @@
|
|
|
215
227
|
return GameEngineConfig_instance;
|
|
216
228
|
}
|
|
217
229
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
218
|
-
return $this.
|
|
230
|
+
return $this.d26_1.a2();
|
|
219
231
|
}
|
|
220
232
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
221
233
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -224,32 +236,26 @@
|
|
|
224
236
|
// Inline function 'kotlin.js.asDynamic' call
|
|
225
237
|
var tmp_0 = [getKClass(PlayerReturnsReason), getKClass(RestartRoundReason)];
|
|
226
238
|
// Inline function 'kotlin.arrayOf' call
|
|
227
|
-
var tmp_1 = $serializer_getInstance();
|
|
228
|
-
var tmp_2 = RestartRoundReason_getInstance();
|
|
229
|
-
// Inline function 'kotlin.arrayOf' call
|
|
230
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
231
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
232
|
-
var tmp$ret$5 = [];
|
|
233
239
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
234
240
|
// Inline function 'kotlin.js.asDynamic' call
|
|
235
|
-
var
|
|
241
|
+
var tmp_1 = [$serializer_getInstance(), $serializer_getInstance_0()];
|
|
236
242
|
// Inline function 'kotlin.arrayOf' call
|
|
237
243
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
238
244
|
// Inline function 'kotlin.js.asDynamic' call
|
|
239
|
-
var tmp$ret$
|
|
240
|
-
return SealedClassSerializer_init_$Create$('com.logic.data.models.ContinueGameReason', tmp, tmp_0,
|
|
245
|
+
var tmp$ret$8 = [];
|
|
246
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.ContinueGameReason', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
241
247
|
}
|
|
242
248
|
function Companion() {
|
|
243
249
|
Companion_instance = this;
|
|
244
250
|
var tmp = this;
|
|
245
251
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
246
|
-
tmp.
|
|
252
|
+
tmp.d26_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
247
253
|
}
|
|
248
|
-
protoOf(Companion).
|
|
254
|
+
protoOf(Companion).z17 = function () {
|
|
249
255
|
return _get_$cachedSerializer__te6jhj(this);
|
|
250
256
|
};
|
|
251
|
-
protoOf(Companion).
|
|
252
|
-
return this.
|
|
257
|
+
protoOf(Companion).iw = function (typeParamsSerializers) {
|
|
258
|
+
return this.z17();
|
|
253
259
|
};
|
|
254
260
|
var Companion_instance;
|
|
255
261
|
function Companion_getInstance_1() {
|
|
@@ -272,50 +278,50 @@
|
|
|
272
278
|
function $serializer() {
|
|
273
279
|
$serializer_instance = this;
|
|
274
280
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
275
|
-
tmp0_serialDesc.
|
|
276
|
-
this.
|
|
281
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
282
|
+
this.e26_1 = tmp0_serialDesc;
|
|
277
283
|
}
|
|
278
|
-
protoOf($serializer).
|
|
279
|
-
var tmp0_desc = this.
|
|
280
|
-
var tmp1_output = encoder.
|
|
281
|
-
tmp1_output.
|
|
282
|
-
tmp1_output.
|
|
284
|
+
protoOf($serializer).f26 = function (encoder, value) {
|
|
285
|
+
var tmp0_desc = this.e26_1;
|
|
286
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
287
|
+
tmp1_output.hp(tmp0_desc, 0, value.g26_1);
|
|
288
|
+
tmp1_output.tn(tmp0_desc);
|
|
283
289
|
};
|
|
284
|
-
protoOf($serializer).
|
|
285
|
-
return this.
|
|
290
|
+
protoOf($serializer).kk = function (encoder, value) {
|
|
291
|
+
return this.f26(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
286
292
|
};
|
|
287
|
-
protoOf($serializer).
|
|
288
|
-
var tmp0_desc = this.
|
|
293
|
+
protoOf($serializer).lk = function (decoder) {
|
|
294
|
+
var tmp0_desc = this.e26_1;
|
|
289
295
|
var tmp1_flag = true;
|
|
290
296
|
var tmp2_index = 0;
|
|
291
297
|
var tmp3_bitMask0 = 0;
|
|
292
298
|
var tmp4_local0 = null;
|
|
293
|
-
var tmp5_input = decoder.
|
|
294
|
-
if (tmp5_input.
|
|
295
|
-
tmp4_local0 = tmp5_input.
|
|
299
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
300
|
+
if (tmp5_input.io()) {
|
|
301
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
296
302
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
297
303
|
} else
|
|
298
304
|
while (tmp1_flag) {
|
|
299
|
-
tmp2_index = tmp5_input.
|
|
305
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
300
306
|
switch (tmp2_index) {
|
|
301
307
|
case -1:
|
|
302
308
|
tmp1_flag = false;
|
|
303
309
|
break;
|
|
304
310
|
case 0:
|
|
305
|
-
tmp4_local0 = tmp5_input.
|
|
311
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
306
312
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
307
313
|
break;
|
|
308
314
|
default:
|
|
309
315
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
310
316
|
}
|
|
311
317
|
}
|
|
312
|
-
tmp5_input.
|
|
318
|
+
tmp5_input.tn(tmp0_desc);
|
|
313
319
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
314
320
|
};
|
|
315
|
-
protoOf($serializer).
|
|
316
|
-
return this.
|
|
321
|
+
protoOf($serializer).jk = function () {
|
|
322
|
+
return this.e26_1;
|
|
317
323
|
};
|
|
318
|
-
protoOf($serializer).
|
|
324
|
+
protoOf($serializer).xv = function () {
|
|
319
325
|
// Inline function 'kotlin.arrayOf' call
|
|
320
326
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
321
327
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -329,10 +335,10 @@
|
|
|
329
335
|
}
|
|
330
336
|
function PlayerReturnsReason_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
331
337
|
if (!(1 === (1 & seen0))) {
|
|
332
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
338
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().e26_1);
|
|
333
339
|
}
|
|
334
340
|
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
335
|
-
$this.
|
|
341
|
+
$this.g26_1 = playerId;
|
|
336
342
|
return $this;
|
|
337
343
|
}
|
|
338
344
|
function PlayerReturnsReason_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -340,13 +346,13 @@
|
|
|
340
346
|
}
|
|
341
347
|
function PlayerReturnsReason(playerId) {
|
|
342
348
|
ContinueGameReason.call(this);
|
|
343
|
-
this.
|
|
349
|
+
this.g26_1 = playerId;
|
|
344
350
|
}
|
|
345
351
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
346
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
352
|
+
return 'PlayerReturnsReason(playerId=' + this.g26_1 + ')';
|
|
347
353
|
};
|
|
348
354
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
349
|
-
return getStringHashCode(this.
|
|
355
|
+
return getStringHashCode(this.g26_1);
|
|
350
356
|
};
|
|
351
357
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
352
358
|
if (this === other)
|
|
@@ -354,69 +360,120 @@
|
|
|
354
360
|
if (!(other instanceof PlayerReturnsReason))
|
|
355
361
|
return false;
|
|
356
362
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
357
|
-
if (!(this.
|
|
363
|
+
if (!(this.g26_1 === tmp0_other_with_cast.g26_1))
|
|
358
364
|
return false;
|
|
359
365
|
return true;
|
|
360
366
|
};
|
|
361
|
-
function
|
|
362
|
-
|
|
367
|
+
function Companion_1() {
|
|
368
|
+
}
|
|
369
|
+
var Companion_instance_1;
|
|
370
|
+
function Companion_getInstance_3() {
|
|
371
|
+
return Companion_instance_1;
|
|
372
|
+
}
|
|
373
|
+
function $serializer_0() {
|
|
374
|
+
$serializer_instance_0 = this;
|
|
375
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('RESTART_ROUND', this, 1);
|
|
376
|
+
tmp0_serialDesc.iv('fromRound', false);
|
|
377
|
+
this.h26_1 = tmp0_serialDesc;
|
|
363
378
|
}
|
|
364
|
-
function
|
|
365
|
-
var
|
|
379
|
+
protoOf($serializer_0).i26 = function (encoder, value) {
|
|
380
|
+
var tmp0_desc = this.h26_1;
|
|
381
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
382
|
+
tmp1_output.lp(tmp0_desc, 0, IntSerializer_getInstance(), value.j26_1);
|
|
383
|
+
tmp1_output.tn(tmp0_desc);
|
|
384
|
+
};
|
|
385
|
+
protoOf($serializer_0).kk = function (encoder, value) {
|
|
386
|
+
return this.i26(encoder, value instanceof RestartRoundReason ? value : THROW_CCE());
|
|
387
|
+
};
|
|
388
|
+
protoOf($serializer_0).lk = function (decoder) {
|
|
389
|
+
var tmp0_desc = this.h26_1;
|
|
390
|
+
var tmp1_flag = true;
|
|
391
|
+
var tmp2_index = 0;
|
|
392
|
+
var tmp3_bitMask0 = 0;
|
|
393
|
+
var tmp4_local0 = null;
|
|
394
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
395
|
+
if (tmp5_input.io()) {
|
|
396
|
+
tmp4_local0 = tmp5_input.go(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
397
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
398
|
+
} else
|
|
399
|
+
while (tmp1_flag) {
|
|
400
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
401
|
+
switch (tmp2_index) {
|
|
402
|
+
case -1:
|
|
403
|
+
tmp1_flag = false;
|
|
404
|
+
break;
|
|
405
|
+
case 0:
|
|
406
|
+
tmp4_local0 = tmp5_input.go(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
407
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
408
|
+
break;
|
|
409
|
+
default:
|
|
410
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
tmp5_input.tn(tmp0_desc);
|
|
414
|
+
return RestartRoundReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
415
|
+
};
|
|
416
|
+
protoOf($serializer_0).jk = function () {
|
|
417
|
+
return this.h26_1;
|
|
418
|
+
};
|
|
419
|
+
protoOf($serializer_0).xv = function () {
|
|
366
420
|
// Inline function 'kotlin.arrayOf' call
|
|
367
421
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
368
422
|
// Inline function 'kotlin.js.asDynamic' call
|
|
369
|
-
|
|
370
|
-
|
|
423
|
+
return [get_nullable(IntSerializer_getInstance())];
|
|
424
|
+
};
|
|
425
|
+
var $serializer_instance_0;
|
|
426
|
+
function $serializer_getInstance_0() {
|
|
427
|
+
if ($serializer_instance_0 == null)
|
|
428
|
+
new $serializer_0();
|
|
429
|
+
return $serializer_instance_0;
|
|
430
|
+
}
|
|
431
|
+
function RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, $this) {
|
|
432
|
+
if (!(1 === (1 & seen0))) {
|
|
433
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().h26_1);
|
|
434
|
+
}
|
|
435
|
+
ContinueGameReason_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
436
|
+
$this.j26_1 = fromRound;
|
|
437
|
+
return $this;
|
|
371
438
|
}
|
|
372
|
-
function
|
|
373
|
-
|
|
439
|
+
function RestartRoundReason_init_$Create$(seen0, fromRound, serializationConstructorMarker) {
|
|
440
|
+
return RestartRoundReason_init_$Init$(seen0, fromRound, serializationConstructorMarker, objectCreate(protoOf(RestartRoundReason)));
|
|
441
|
+
}
|
|
442
|
+
function RestartRoundReason(fromRound) {
|
|
374
443
|
ContinueGameReason.call(this);
|
|
375
|
-
|
|
376
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
377
|
-
tmp.w25_1 = lazy(tmp_0, RestartRoundReason$_anonymous__2hwtqk);
|
|
444
|
+
this.j26_1 = fromRound;
|
|
378
445
|
}
|
|
379
|
-
protoOf(RestartRoundReason).o17 = function () {
|
|
380
|
-
return _get_$cachedSerializer__te6jhj_0(this);
|
|
381
|
-
};
|
|
382
|
-
protoOf(RestartRoundReason).xv = function (typeParamsSerializers) {
|
|
383
|
-
return this.o17();
|
|
384
|
-
};
|
|
385
446
|
protoOf(RestartRoundReason).toString = function () {
|
|
386
|
-
return 'RestartRoundReason';
|
|
447
|
+
return 'RestartRoundReason(fromRound=' + this.j26_1 + ')';
|
|
387
448
|
};
|
|
388
449
|
protoOf(RestartRoundReason).hashCode = function () {
|
|
389
|
-
return
|
|
450
|
+
return this.j26_1 == null ? 0 : this.j26_1;
|
|
390
451
|
};
|
|
391
452
|
protoOf(RestartRoundReason).equals = function (other) {
|
|
392
453
|
if (this === other)
|
|
393
454
|
return true;
|
|
394
455
|
if (!(other instanceof RestartRoundReason))
|
|
395
456
|
return false;
|
|
396
|
-
other instanceof RestartRoundReason
|
|
457
|
+
var tmp0_other_with_cast = other instanceof RestartRoundReason ? other : THROW_CCE();
|
|
458
|
+
if (!(this.j26_1 == tmp0_other_with_cast.j26_1))
|
|
459
|
+
return false;
|
|
397
460
|
return true;
|
|
398
461
|
};
|
|
399
|
-
|
|
400
|
-
function RestartRoundReason_getInstance() {
|
|
401
|
-
if (RestartRoundReason_instance == null)
|
|
402
|
-
new RestartRoundReason();
|
|
403
|
-
return RestartRoundReason_instance;
|
|
404
|
-
}
|
|
405
|
-
function Companion_1() {
|
|
462
|
+
function Companion_2() {
|
|
406
463
|
}
|
|
407
|
-
protoOf(
|
|
464
|
+
protoOf(Companion_2).k26 = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat) {
|
|
408
465
|
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, fileNameFormat);
|
|
409
466
|
};
|
|
410
|
-
protoOf(
|
|
467
|
+
protoOf(Companion_2).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath, fileNameFormat, $super) {
|
|
411
468
|
fileNameFormat = fileNameFormat === VOID ? 'user_[uid].txt' : fileNameFormat;
|
|
412
|
-
return this.
|
|
469
|
+
return this.k26(fileLogsEnabled, logsDirectoryPath, fileNameFormat);
|
|
413
470
|
};
|
|
414
|
-
protoOf(
|
|
471
|
+
protoOf(Companion_2).formatter = function (segment, gameId, roomId, userId) {
|
|
415
472
|
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
416
473
|
};
|
|
417
|
-
var
|
|
418
|
-
function
|
|
419
|
-
return
|
|
474
|
+
var Companion_instance_2;
|
|
475
|
+
function Companion_getInstance_4() {
|
|
476
|
+
return Companion_instance_2;
|
|
420
477
|
}
|
|
421
478
|
function CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
422
479
|
fileLogsEnabled = fileLogsEnabled === VOID ? false : fileLogsEnabled;
|
|
@@ -428,19 +485,19 @@
|
|
|
428
485
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
429
486
|
this.fileNameFormat = fileNameFormat;
|
|
430
487
|
}
|
|
431
|
-
protoOf(CoreConfig).
|
|
488
|
+
protoOf(CoreConfig).l26 = function () {
|
|
432
489
|
return this.fileLogsEnabled;
|
|
433
490
|
};
|
|
434
|
-
protoOf(CoreConfig).
|
|
491
|
+
protoOf(CoreConfig).m26 = function () {
|
|
435
492
|
return this.deleteFilesOnClear;
|
|
436
493
|
};
|
|
437
|
-
protoOf(CoreConfig).
|
|
494
|
+
protoOf(CoreConfig).n26 = function () {
|
|
438
495
|
return this.logsDirectoryPath;
|
|
439
496
|
};
|
|
440
|
-
protoOf(CoreConfig).
|
|
497
|
+
protoOf(CoreConfig).o26 = function () {
|
|
441
498
|
return this.fileNameFormat;
|
|
442
499
|
};
|
|
443
|
-
protoOf(CoreConfig).
|
|
500
|
+
protoOf(CoreConfig).p26 = function () {
|
|
444
501
|
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
445
502
|
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
446
503
|
};
|
|
@@ -453,10 +510,10 @@
|
|
|
453
510
|
protoOf(CoreConfig).dh = function () {
|
|
454
511
|
return this.logsDirectoryPath;
|
|
455
512
|
};
|
|
456
|
-
protoOf(CoreConfig).
|
|
513
|
+
protoOf(CoreConfig).p1x = function () {
|
|
457
514
|
return this.fileNameFormat;
|
|
458
515
|
};
|
|
459
|
-
protoOf(CoreConfig).
|
|
516
|
+
protoOf(CoreConfig).q26 = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
460
517
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
461
518
|
};
|
|
462
519
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -464,7 +521,7 @@
|
|
|
464
521
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
465
522
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
466
523
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
467
|
-
return this.
|
|
524
|
+
return this.q26(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
468
525
|
};
|
|
469
526
|
protoOf(CoreConfig).toString = function () {
|
|
470
527
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -492,8 +549,8 @@
|
|
|
492
549
|
return false;
|
|
493
550
|
return true;
|
|
494
551
|
};
|
|
495
|
-
function _get_$
|
|
496
|
-
return $this.
|
|
552
|
+
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
553
|
+
return $this.r26_1.a2();
|
|
497
554
|
}
|
|
498
555
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
499
556
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -507,13 +564,13 @@
|
|
|
507
564
|
RestartGameReason_instance = this;
|
|
508
565
|
var tmp = this;
|
|
509
566
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
510
|
-
tmp.
|
|
567
|
+
tmp.r26_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
511
568
|
}
|
|
512
|
-
protoOf(RestartGameReason).
|
|
513
|
-
return _get_$
|
|
569
|
+
protoOf(RestartGameReason).z17 = function () {
|
|
570
|
+
return _get_$cachedSerializer__te6jhj_0(this);
|
|
514
571
|
};
|
|
515
|
-
protoOf(RestartGameReason).
|
|
516
|
-
return this.
|
|
572
|
+
protoOf(RestartGameReason).iw = function (typeParamsSerializers) {
|
|
573
|
+
return this.z17();
|
|
517
574
|
};
|
|
518
575
|
protoOf(RestartGameReason).toString = function () {
|
|
519
576
|
return 'RestartGameReason';
|
|
@@ -539,37 +596,37 @@
|
|
|
539
596
|
}
|
|
540
597
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
541
598
|
TerminationGameReason.call(this);
|
|
542
|
-
this.
|
|
599
|
+
this.s26_1 = playerId;
|
|
543
600
|
this.tag = tag;
|
|
544
601
|
}
|
|
545
|
-
protoOf(PlayerLostConnectionReason).
|
|
546
|
-
return this.
|
|
602
|
+
protoOf(PlayerLostConnectionReason).t26 = function () {
|
|
603
|
+
return this.s26_1;
|
|
547
604
|
};
|
|
548
|
-
protoOf(PlayerLostConnectionReason).
|
|
605
|
+
protoOf(PlayerLostConnectionReason).u26 = function () {
|
|
549
606
|
return this.tag;
|
|
550
607
|
};
|
|
551
|
-
protoOf(PlayerLostConnectionReason).
|
|
608
|
+
protoOf(PlayerLostConnectionReason).v26 = function () {
|
|
552
609
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
553
610
|
};
|
|
554
611
|
protoOf(PlayerLostConnectionReason).zc = function () {
|
|
555
|
-
return this.
|
|
612
|
+
return this.s26_1;
|
|
556
613
|
};
|
|
557
614
|
protoOf(PlayerLostConnectionReason).ad = function () {
|
|
558
615
|
return this.tag;
|
|
559
616
|
};
|
|
560
|
-
protoOf(PlayerLostConnectionReason).
|
|
617
|
+
protoOf(PlayerLostConnectionReason).w26 = function (playerId, tag) {
|
|
561
618
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
562
619
|
};
|
|
563
620
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
564
|
-
playerId = playerId === VOID ? this.
|
|
621
|
+
playerId = playerId === VOID ? this.s26_1 : playerId;
|
|
565
622
|
tag = tag === VOID ? this.tag : tag;
|
|
566
|
-
return this.
|
|
623
|
+
return this.w26(playerId, tag);
|
|
567
624
|
};
|
|
568
625
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
569
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
626
|
+
return 'PlayerLostConnectionReason(playerId=' + this.s26_1 + ', tag=' + this.tag + ')';
|
|
570
627
|
};
|
|
571
628
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
572
|
-
var result = getStringHashCode(this.
|
|
629
|
+
var result = getStringHashCode(this.s26_1);
|
|
573
630
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
574
631
|
return result;
|
|
575
632
|
};
|
|
@@ -579,7 +636,7 @@
|
|
|
579
636
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
580
637
|
return false;
|
|
581
638
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
582
|
-
if (!(this.
|
|
639
|
+
if (!(this.s26_1 === tmp0_other_with_cast.s26_1))
|
|
583
640
|
return false;
|
|
584
641
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
585
642
|
return false;
|
|
@@ -587,37 +644,37 @@
|
|
|
587
644
|
};
|
|
588
645
|
function PlayerTimeoutReason(playerId, tag) {
|
|
589
646
|
TerminationGameReason.call(this);
|
|
590
|
-
this.
|
|
647
|
+
this.x26_1 = playerId;
|
|
591
648
|
this.tag = tag;
|
|
592
649
|
}
|
|
593
|
-
protoOf(PlayerTimeoutReason).
|
|
594
|
-
return this.
|
|
650
|
+
protoOf(PlayerTimeoutReason).t26 = function () {
|
|
651
|
+
return this.x26_1;
|
|
595
652
|
};
|
|
596
|
-
protoOf(PlayerTimeoutReason).
|
|
653
|
+
protoOf(PlayerTimeoutReason).u26 = function () {
|
|
597
654
|
return this.tag;
|
|
598
655
|
};
|
|
599
|
-
protoOf(PlayerTimeoutReason).
|
|
656
|
+
protoOf(PlayerTimeoutReason).v26 = function () {
|
|
600
657
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
601
658
|
};
|
|
602
659
|
protoOf(PlayerTimeoutReason).zc = function () {
|
|
603
|
-
return this.
|
|
660
|
+
return this.x26_1;
|
|
604
661
|
};
|
|
605
662
|
protoOf(PlayerTimeoutReason).ad = function () {
|
|
606
663
|
return this.tag;
|
|
607
664
|
};
|
|
608
|
-
protoOf(PlayerTimeoutReason).
|
|
665
|
+
protoOf(PlayerTimeoutReason).w26 = function (playerId, tag) {
|
|
609
666
|
return new PlayerTimeoutReason(playerId, tag);
|
|
610
667
|
};
|
|
611
668
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
612
|
-
playerId = playerId === VOID ? this.
|
|
669
|
+
playerId = playerId === VOID ? this.x26_1 : playerId;
|
|
613
670
|
tag = tag === VOID ? this.tag : tag;
|
|
614
|
-
return this.
|
|
671
|
+
return this.w26(playerId, tag);
|
|
615
672
|
};
|
|
616
673
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
617
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
674
|
+
return 'PlayerTimeoutReason(playerId=' + this.x26_1 + ', tag=' + this.tag + ')';
|
|
618
675
|
};
|
|
619
676
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
620
|
-
var result = getStringHashCode(this.
|
|
677
|
+
var result = getStringHashCode(this.x26_1);
|
|
621
678
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
622
679
|
return result;
|
|
623
680
|
};
|
|
@@ -627,7 +684,7 @@
|
|
|
627
684
|
if (!(other instanceof PlayerTimeoutReason))
|
|
628
685
|
return false;
|
|
629
686
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
630
|
-
if (!(this.
|
|
687
|
+
if (!(this.x26_1 === tmp0_other_with_cast.x26_1))
|
|
631
688
|
return false;
|
|
632
689
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
633
690
|
return false;
|
|
@@ -635,29 +692,29 @@
|
|
|
635
692
|
};
|
|
636
693
|
function PlayerExitReason(playerId) {
|
|
637
694
|
TerminationGameReason.call(this);
|
|
638
|
-
this.
|
|
695
|
+
this.y26_1 = playerId;
|
|
639
696
|
}
|
|
640
|
-
protoOf(PlayerExitReason).
|
|
641
|
-
return this.
|
|
697
|
+
protoOf(PlayerExitReason).t26 = function () {
|
|
698
|
+
return this.y26_1;
|
|
642
699
|
};
|
|
643
|
-
protoOf(PlayerExitReason).
|
|
700
|
+
protoOf(PlayerExitReason).v26 = function () {
|
|
644
701
|
return PlayerConnectionState_LEFT_getInstance();
|
|
645
702
|
};
|
|
646
703
|
protoOf(PlayerExitReason).zc = function () {
|
|
647
|
-
return this.
|
|
704
|
+
return this.y26_1;
|
|
648
705
|
};
|
|
649
|
-
protoOf(PlayerExitReason).
|
|
706
|
+
protoOf(PlayerExitReason).z26 = function (playerId) {
|
|
650
707
|
return new PlayerExitReason(playerId);
|
|
651
708
|
};
|
|
652
709
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
653
|
-
playerId = playerId === VOID ? this.
|
|
654
|
-
return this.
|
|
710
|
+
playerId = playerId === VOID ? this.y26_1 : playerId;
|
|
711
|
+
return this.z26(playerId);
|
|
655
712
|
};
|
|
656
713
|
protoOf(PlayerExitReason).toString = function () {
|
|
657
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
714
|
+
return 'PlayerExitReason(playerId=' + this.y26_1 + ')';
|
|
658
715
|
};
|
|
659
716
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
660
|
-
return getStringHashCode(this.
|
|
717
|
+
return getStringHashCode(this.y26_1);
|
|
661
718
|
};
|
|
662
719
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
663
720
|
if (this === other)
|
|
@@ -665,14 +722,14 @@
|
|
|
665
722
|
if (!(other instanceof PlayerExitReason))
|
|
666
723
|
return false;
|
|
667
724
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
668
|
-
if (!(this.
|
|
725
|
+
if (!(this.y26_1 === tmp0_other_with_cast.y26_1))
|
|
669
726
|
return false;
|
|
670
727
|
return true;
|
|
671
728
|
};
|
|
672
729
|
function FinishPlayerReason() {
|
|
673
730
|
}
|
|
674
|
-
function _get_$
|
|
675
|
-
return $this.
|
|
731
|
+
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
732
|
+
return $this.a27_1.a2();
|
|
676
733
|
}
|
|
677
734
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
678
735
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -708,24 +765,24 @@
|
|
|
708
765
|
$ENTRIES = enumEntries(values());
|
|
709
766
|
return $ENTRIES;
|
|
710
767
|
}
|
|
711
|
-
function
|
|
712
|
-
|
|
768
|
+
function Companion_3() {
|
|
769
|
+
Companion_instance_3 = this;
|
|
713
770
|
var tmp = this;
|
|
714
771
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
715
|
-
tmp.
|
|
772
|
+
tmp.a27_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
716
773
|
}
|
|
717
|
-
protoOf(
|
|
718
|
-
return _get_$
|
|
774
|
+
protoOf(Companion_3).z17 = function () {
|
|
775
|
+
return _get_$cachedSerializer__te6jhj_1(this);
|
|
719
776
|
};
|
|
720
|
-
protoOf(
|
|
721
|
-
return this.
|
|
777
|
+
protoOf(Companion_3).iw = function (typeParamsSerializers) {
|
|
778
|
+
return this.z17();
|
|
722
779
|
};
|
|
723
|
-
var
|
|
724
|
-
function
|
|
780
|
+
var Companion_instance_3;
|
|
781
|
+
function Companion_getInstance_5() {
|
|
725
782
|
Reason_initEntries();
|
|
726
|
-
if (
|
|
727
|
-
new
|
|
728
|
-
return
|
|
783
|
+
if (Companion_instance_3 == null)
|
|
784
|
+
new Companion_3();
|
|
785
|
+
return Companion_instance_3;
|
|
729
786
|
}
|
|
730
787
|
var Reason_entriesInitialized;
|
|
731
788
|
function Reason_initEntries() {
|
|
@@ -737,7 +794,7 @@
|
|
|
737
794
|
Reason_FINISHED_instance = new Reason('FINISHED', 2);
|
|
738
795
|
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 3);
|
|
739
796
|
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 4);
|
|
740
|
-
|
|
797
|
+
Companion_getInstance_5();
|
|
741
798
|
}
|
|
742
799
|
var $ENTRIES;
|
|
743
800
|
function Reason(name, ordinal) {
|
|
@@ -767,18 +824,18 @@
|
|
|
767
824
|
TerminationGameReason.call(this);
|
|
768
825
|
this.reason = reason;
|
|
769
826
|
}
|
|
770
|
-
protoOf(GameFinishedReason).
|
|
827
|
+
protoOf(GameFinishedReason).d27 = function () {
|
|
771
828
|
return this.reason;
|
|
772
829
|
};
|
|
773
830
|
protoOf(GameFinishedReason).zc = function () {
|
|
774
831
|
return this.reason;
|
|
775
832
|
};
|
|
776
|
-
protoOf(GameFinishedReason).
|
|
833
|
+
protoOf(GameFinishedReason).e27 = function (reason) {
|
|
777
834
|
return new GameFinishedReason(reason);
|
|
778
835
|
};
|
|
779
836
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
780
837
|
reason = reason === VOID ? this.reason : reason;
|
|
781
|
-
return this.
|
|
838
|
+
return this.e27(reason);
|
|
782
839
|
};
|
|
783
840
|
protoOf(GameFinishedReason).toString = function () {
|
|
784
841
|
return 'GameFinishedReason(reason=' + this.reason.toString() + ')';
|
|
@@ -796,8 +853,8 @@
|
|
|
796
853
|
return false;
|
|
797
854
|
return true;
|
|
798
855
|
};
|
|
799
|
-
function _get_$
|
|
800
|
-
return $this.
|
|
856
|
+
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
857
|
+
return $this.f27_1.a2();
|
|
801
858
|
}
|
|
802
859
|
function GameErrorReason$Reason$Companion$_anonymous__54sopr() {
|
|
803
860
|
return createSimpleEnumSerializer('com.logic.data.models.GameErrorReason.Reason', values_0());
|
|
@@ -833,24 +890,24 @@
|
|
|
833
890
|
$ENTRIES_0 = enumEntries(values_0());
|
|
834
891
|
return $ENTRIES_0;
|
|
835
892
|
}
|
|
836
|
-
function
|
|
837
|
-
|
|
893
|
+
function Companion_4() {
|
|
894
|
+
Companion_instance_4 = this;
|
|
838
895
|
var tmp = this;
|
|
839
896
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
840
|
-
tmp.
|
|
897
|
+
tmp.f27_1 = lazy(tmp_0, GameErrorReason$Reason$Companion$_anonymous__54sopr);
|
|
841
898
|
}
|
|
842
|
-
protoOf(
|
|
843
|
-
return _get_$
|
|
899
|
+
protoOf(Companion_4).z17 = function () {
|
|
900
|
+
return _get_$cachedSerializer__te6jhj_2(this);
|
|
844
901
|
};
|
|
845
|
-
protoOf(
|
|
846
|
-
return this.
|
|
902
|
+
protoOf(Companion_4).iw = function (typeParamsSerializers) {
|
|
903
|
+
return this.z17();
|
|
847
904
|
};
|
|
848
|
-
var
|
|
849
|
-
function
|
|
905
|
+
var Companion_instance_4;
|
|
906
|
+
function Companion_getInstance_6() {
|
|
850
907
|
Reason_initEntries_0();
|
|
851
|
-
if (
|
|
852
|
-
new
|
|
853
|
-
return
|
|
908
|
+
if (Companion_instance_4 == null)
|
|
909
|
+
new Companion_4();
|
|
910
|
+
return Companion_instance_4;
|
|
854
911
|
}
|
|
855
912
|
var Reason_entriesInitialized_0;
|
|
856
913
|
function Reason_initEntries_0() {
|
|
@@ -862,7 +919,7 @@
|
|
|
862
919
|
Reason_GAME_NOT_EXISTS_instance_0 = new Reason_0('GAME_NOT_EXISTS', 2);
|
|
863
920
|
Reason_WRONG_PLAYER_TURN_instance = new Reason_0('WRONG_PLAYER_TURN', 3);
|
|
864
921
|
Reason_PLAYER_DISCONNECTED_instance = new Reason_0('PLAYER_DISCONNECTED', 4);
|
|
865
|
-
|
|
922
|
+
Companion_getInstance_6();
|
|
866
923
|
}
|
|
867
924
|
var $ENTRIES_0;
|
|
868
925
|
function Reason_0(name, ordinal) {
|
|
@@ -892,18 +949,18 @@
|
|
|
892
949
|
TerminationGameReason.call(this);
|
|
893
950
|
this.reason = reason;
|
|
894
951
|
}
|
|
895
|
-
protoOf(GameErrorReason).
|
|
952
|
+
protoOf(GameErrorReason).d27 = function () {
|
|
896
953
|
return this.reason;
|
|
897
954
|
};
|
|
898
955
|
protoOf(GameErrorReason).zc = function () {
|
|
899
956
|
return this.reason;
|
|
900
957
|
};
|
|
901
|
-
protoOf(GameErrorReason).
|
|
958
|
+
protoOf(GameErrorReason).i27 = function (reason) {
|
|
902
959
|
return new GameErrorReason(reason);
|
|
903
960
|
};
|
|
904
961
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
905
962
|
reason = reason === VOID ? this.reason : reason;
|
|
906
|
-
return this.
|
|
963
|
+
return this.i27(reason);
|
|
907
964
|
};
|
|
908
965
|
protoOf(GameErrorReason).toString = function () {
|
|
909
966
|
return 'GameErrorReason(reason=' + this.reason.toString() + ')';
|
|
@@ -973,43 +1030,47 @@
|
|
|
973
1030
|
Exception_init_$Init$(message, this);
|
|
974
1031
|
captureStack(this, MechanicException);
|
|
975
1032
|
}
|
|
976
|
-
function GameUserInfo(playerId, name, avatarUrl, isBot,
|
|
1033
|
+
function GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
977
1034
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
978
1035
|
isBot = isBot === VOID ? false : isBot;
|
|
979
|
-
initialRating = initialRating === VOID ? null : initialRating;
|
|
980
1036
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1037
|
+
rating = rating === VOID ? null : rating;
|
|
981
1038
|
payload = payload === VOID ? null : payload;
|
|
982
|
-
this.
|
|
1039
|
+
this.j27_1 = playerId;
|
|
983
1040
|
this.name = name;
|
|
984
1041
|
this.avatarUrl = avatarUrl;
|
|
985
1042
|
this.isBot = isBot;
|
|
986
|
-
this.initialRating = initialRating;
|
|
987
1043
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1044
|
+
this.rating = rating;
|
|
988
1045
|
this.payload = payload;
|
|
989
1046
|
}
|
|
990
|
-
protoOf(GameUserInfo).
|
|
991
|
-
return this.
|
|
1047
|
+
protoOf(GameUserInfo).t26 = function () {
|
|
1048
|
+
return this.j27_1;
|
|
992
1049
|
};
|
|
993
1050
|
protoOf(GameUserInfo).k2 = function () {
|
|
994
1051
|
return this.name;
|
|
995
1052
|
};
|
|
996
|
-
protoOf(GameUserInfo).
|
|
1053
|
+
protoOf(GameUserInfo).k27 = function () {
|
|
997
1054
|
return this.avatarUrl;
|
|
998
1055
|
};
|
|
999
|
-
protoOf(GameUserInfo).
|
|
1056
|
+
protoOf(GameUserInfo).l27 = function () {
|
|
1000
1057
|
return this.isBot;
|
|
1001
1058
|
};
|
|
1002
|
-
protoOf(GameUserInfo).
|
|
1003
|
-
return this.initialRating;
|
|
1004
|
-
};
|
|
1005
|
-
protoOf(GameUserInfo).a27 = function () {
|
|
1059
|
+
protoOf(GameUserInfo).m27 = function () {
|
|
1006
1060
|
return this.initialLuckyFactor;
|
|
1007
1061
|
};
|
|
1008
|
-
protoOf(GameUserInfo).
|
|
1062
|
+
protoOf(GameUserInfo).n27 = function () {
|
|
1063
|
+
return this.rating;
|
|
1064
|
+
};
|
|
1065
|
+
protoOf(GameUserInfo).o27 = function () {
|
|
1009
1066
|
return this.payload;
|
|
1010
1067
|
};
|
|
1068
|
+
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
1069
|
+
var tmp0_elvis_lhs = this.rating;
|
|
1070
|
+
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1071
|
+
};
|
|
1011
1072
|
protoOf(GameUserInfo).toString = function () {
|
|
1012
|
-
var tmp = 'playerId=' + this.
|
|
1073
|
+
var tmp = 'playerId=' + this.j27_1;
|
|
1013
1074
|
var tmp_0 = 'name=' + this.name;
|
|
1014
1075
|
// Inline function 'kotlin.takeIf' call
|
|
1015
1076
|
var this_0 = 'avatarUrl=' + this.avatarUrl;
|
|
@@ -1045,11 +1106,11 @@
|
|
|
1045
1106
|
}
|
|
1046
1107
|
var tmp_6 = tmp_5;
|
|
1047
1108
|
// Inline function 'kotlin.takeIf' call
|
|
1048
|
-
var this_3 = '
|
|
1109
|
+
var this_3 = 'rating=' + this.rating;
|
|
1049
1110
|
// Inline function 'kotlin.contracts.contract' call
|
|
1050
1111
|
var tmp_7;
|
|
1051
1112
|
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1052
|
-
if (!(this.
|
|
1113
|
+
if (!(this.rating == null)) {
|
|
1053
1114
|
tmp_7 = this_3;
|
|
1054
1115
|
} else {
|
|
1055
1116
|
tmp_7 = null;
|
|
@@ -1069,7 +1130,7 @@
|
|
|
1069
1130
|
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1070
1131
|
};
|
|
1071
1132
|
protoOf(GameUserInfo).zc = function () {
|
|
1072
|
-
return this.
|
|
1133
|
+
return this.j27_1;
|
|
1073
1134
|
};
|
|
1074
1135
|
protoOf(GameUserInfo).ad = function () {
|
|
1075
1136
|
return this.name;
|
|
@@ -1077,38 +1138,38 @@
|
|
|
1077
1138
|
protoOf(GameUserInfo).dh = function () {
|
|
1078
1139
|
return this.avatarUrl;
|
|
1079
1140
|
};
|
|
1080
|
-
protoOf(GameUserInfo).
|
|
1141
|
+
protoOf(GameUserInfo).p1x = function () {
|
|
1081
1142
|
return this.isBot;
|
|
1082
1143
|
};
|
|
1083
|
-
protoOf(GameUserInfo).
|
|
1084
|
-
return this.initialRating;
|
|
1085
|
-
};
|
|
1086
|
-
protoOf(GameUserInfo).d27 = function () {
|
|
1144
|
+
protoOf(GameUserInfo).p27 = function () {
|
|
1087
1145
|
return this.initialLuckyFactor;
|
|
1088
1146
|
};
|
|
1089
|
-
protoOf(GameUserInfo).
|
|
1147
|
+
protoOf(GameUserInfo).q27 = function () {
|
|
1148
|
+
return this.rating;
|
|
1149
|
+
};
|
|
1150
|
+
protoOf(GameUserInfo).r27 = function () {
|
|
1090
1151
|
return this.payload;
|
|
1091
1152
|
};
|
|
1092
|
-
protoOf(GameUserInfo).
|
|
1093
|
-
return new GameUserInfo(playerId, name, avatarUrl, isBot,
|
|
1153
|
+
protoOf(GameUserInfo).s27 = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload) {
|
|
1154
|
+
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1094
1155
|
};
|
|
1095
|
-
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot,
|
|
1096
|
-
playerId = playerId === VOID ? this.
|
|
1156
|
+
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload, $super) {
|
|
1157
|
+
playerId = playerId === VOID ? this.j27_1 : playerId;
|
|
1097
1158
|
name = name === VOID ? this.name : name;
|
|
1098
1159
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1099
1160
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1100
|
-
initialRating = initialRating === VOID ? this.initialRating : initialRating;
|
|
1101
1161
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1162
|
+
rating = rating === VOID ? this.rating : rating;
|
|
1102
1163
|
payload = payload === VOID ? this.payload : payload;
|
|
1103
|
-
return this.
|
|
1164
|
+
return this.s27(playerId, name, avatarUrl, isBot, initialLuckyFactor, rating, payload);
|
|
1104
1165
|
};
|
|
1105
1166
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1106
|
-
var result = getStringHashCode(this.
|
|
1167
|
+
var result = getStringHashCode(this.j27_1);
|
|
1107
1168
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1108
1169
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1109
1170
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
1110
|
-
result = imul(result, 31) + (this.initialRating == null ? 0 : getNumberHashCode(this.initialRating)) | 0;
|
|
1111
1171
|
result = imul(result, 31) + (this.initialLuckyFactor == null ? 0 : getNumberHashCode(this.initialLuckyFactor)) | 0;
|
|
1172
|
+
result = imul(result, 31) + (this.rating == null ? 0 : getNumberHashCode(this.rating)) | 0;
|
|
1112
1173
|
result = imul(result, 31) + (this.payload == null ? 0 : hashCode(this.payload)) | 0;
|
|
1113
1174
|
return result;
|
|
1114
1175
|
};
|
|
@@ -1118,7 +1179,7 @@
|
|
|
1118
1179
|
if (!(other instanceof GameUserInfo))
|
|
1119
1180
|
return false;
|
|
1120
1181
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1121
|
-
if (!(this.
|
|
1182
|
+
if (!(this.j27_1 === tmp0_other_with_cast.j27_1))
|
|
1122
1183
|
return false;
|
|
1123
1184
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1124
1185
|
return false;
|
|
@@ -1126,10 +1187,10 @@
|
|
|
1126
1187
|
return false;
|
|
1127
1188
|
if (!(this.isBot === tmp0_other_with_cast.isBot))
|
|
1128
1189
|
return false;
|
|
1129
|
-
if (!equals(this.initialRating, tmp0_other_with_cast.initialRating))
|
|
1130
|
-
return false;
|
|
1131
1190
|
if (!equals(this.initialLuckyFactor, tmp0_other_with_cast.initialLuckyFactor))
|
|
1132
1191
|
return false;
|
|
1192
|
+
if (!equals(this.rating, tmp0_other_with_cast.rating))
|
|
1193
|
+
return false;
|
|
1133
1194
|
if (!equals(this.payload, tmp0_other_with_cast.payload))
|
|
1134
1195
|
return false;
|
|
1135
1196
|
return true;
|
|
@@ -1179,18 +1240,18 @@
|
|
|
1179
1240
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1180
1241
|
}
|
|
1181
1242
|
function PlayerIndex(playerId, index) {
|
|
1182
|
-
this.
|
|
1183
|
-
this.
|
|
1243
|
+
this.t27_1 = playerId;
|
|
1244
|
+
this.u27_1 = index;
|
|
1184
1245
|
}
|
|
1185
|
-
protoOf(PlayerIndex).
|
|
1186
|
-
return this.
|
|
1246
|
+
protoOf(PlayerIndex).t26 = function () {
|
|
1247
|
+
return this.t27_1;
|
|
1187
1248
|
};
|
|
1188
1249
|
protoOf(PlayerIndex).toString = function () {
|
|
1189
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1250
|
+
return 'PlayerIndex(playerId=' + this.t27_1 + ', index=' + this.u27_1 + ')';
|
|
1190
1251
|
};
|
|
1191
1252
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1192
|
-
var result = getStringHashCode(this.
|
|
1193
|
-
result = imul(result, 31) + this.
|
|
1253
|
+
var result = getStringHashCode(this.t27_1);
|
|
1254
|
+
result = imul(result, 31) + this.u27_1 | 0;
|
|
1194
1255
|
return result;
|
|
1195
1256
|
};
|
|
1196
1257
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1199,9 +1260,9 @@
|
|
|
1199
1260
|
if (!(other instanceof PlayerIndex))
|
|
1200
1261
|
return false;
|
|
1201
1262
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1202
|
-
if (!(this.
|
|
1263
|
+
if (!(this.t27_1 === tmp0_other_with_cast.t27_1))
|
|
1203
1264
|
return false;
|
|
1204
|
-
if (!(this.
|
|
1265
|
+
if (!(this.u27_1 === tmp0_other_with_cast.u27_1))
|
|
1205
1266
|
return false;
|
|
1206
1267
|
return true;
|
|
1207
1268
|
};
|
|
@@ -1216,7 +1277,7 @@
|
|
|
1216
1277
|
}
|
|
1217
1278
|
function playerTurnPredicate$lambda(p1) {
|
|
1218
1279
|
_init_properties_Player_kt__qi83pd();
|
|
1219
|
-
return p1.
|
|
1280
|
+
return p1.v27().d28();
|
|
1220
1281
|
}
|
|
1221
1282
|
var properties_initialized_Player_kt_56shkt;
|
|
1222
1283
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1226,62 +1287,62 @@
|
|
|
1226
1287
|
playerTurnPredicate = playerTurnPredicate$lambda;
|
|
1227
1288
|
}
|
|
1228
1289
|
}
|
|
1229
|
-
function
|
|
1230
|
-
this.
|
|
1290
|
+
function Companion_5() {
|
|
1291
|
+
this.e28_1 = 70;
|
|
1231
1292
|
}
|
|
1232
|
-
protoOf(
|
|
1233
|
-
return new PlayerConnection(state, System_instance.
|
|
1293
|
+
protoOf(Companion_5).f28 = function (state, timeout) {
|
|
1294
|
+
return new PlayerConnection(state, System_instance.y1g().q1w(timeout));
|
|
1234
1295
|
};
|
|
1235
|
-
protoOf(
|
|
1296
|
+
protoOf(Companion_5).g28 = function (state, timeout, $super) {
|
|
1236
1297
|
timeout = timeout === VOID ? Companion_getInstance().hg_1 : timeout;
|
|
1237
|
-
return $super === VOID ? this.
|
|
1298
|
+
return $super === VOID ? this.f28(state, timeout) : $super.f28.call(this, state, new Duration(timeout));
|
|
1238
1299
|
};
|
|
1239
|
-
var
|
|
1240
|
-
function
|
|
1241
|
-
return
|
|
1300
|
+
var Companion_instance_5;
|
|
1301
|
+
function Companion_getInstance_7() {
|
|
1302
|
+
return Companion_instance_5;
|
|
1242
1303
|
}
|
|
1243
1304
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1244
|
-
connectionChangedTime = connectionChangedTime === VOID ? System_instance.
|
|
1305
|
+
connectionChangedTime = connectionChangedTime === VOID ? System_instance.y1g() : connectionChangedTime;
|
|
1245
1306
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().hg_1 : notLiveDurationRecord;
|
|
1246
|
-
this.
|
|
1247
|
-
this.
|
|
1248
|
-
this.
|
|
1307
|
+
this.h28_1 = state;
|
|
1308
|
+
this.i28_1 = connectionChangedTime;
|
|
1309
|
+
this.j28_1 = notLiveDurationRecord;
|
|
1249
1310
|
}
|
|
1250
|
-
protoOf(PlayerConnection).
|
|
1251
|
-
return System_instance.
|
|
1311
|
+
protoOf(PlayerConnection).k28 = function () {
|
|
1312
|
+
return System_instance.y1g().r1w(this.i28_1);
|
|
1252
1313
|
};
|
|
1253
|
-
protoOf(PlayerConnection).
|
|
1314
|
+
protoOf(PlayerConnection).l28 = function () {
|
|
1254
1315
|
var tmp;
|
|
1255
|
-
if (this.
|
|
1256
|
-
tmp = this.
|
|
1316
|
+
if (this.h28_1.isLive) {
|
|
1317
|
+
tmp = this.j28_1;
|
|
1257
1318
|
} else {
|
|
1258
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1319
|
+
tmp = Duration__plus_impl_yu9v8f(this.j28_1, this.k28());
|
|
1259
1320
|
}
|
|
1260
1321
|
return tmp;
|
|
1261
1322
|
};
|
|
1262
|
-
protoOf(PlayerConnection).
|
|
1323
|
+
protoOf(PlayerConnection).m28 = function (gameDuration) {
|
|
1263
1324
|
// Inline function 'kotlin.Long.div' call
|
|
1264
1325
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).h3() / 100.0;
|
|
1265
1326
|
// Inline function 'kotlin.math.round' call
|
|
1266
1327
|
// Inline function 'kotlin.Long.div' call
|
|
1267
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1328
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.l28()).h3() / percent;
|
|
1268
1329
|
var tmp$ret$2 = round(x);
|
|
1269
1330
|
return numberToInt(tmp$ret$2);
|
|
1270
1331
|
};
|
|
1271
|
-
protoOf(PlayerConnection).
|
|
1272
|
-
return 100 - this.
|
|
1332
|
+
protoOf(PlayerConnection).n28 = function (gameDuration) {
|
|
1333
|
+
return 100 - this.m28(gameDuration) | 0;
|
|
1273
1334
|
};
|
|
1274
|
-
protoOf(PlayerConnection).
|
|
1275
|
-
var percentage = this.
|
|
1276
|
-
return percentage >=
|
|
1335
|
+
protoOf(PlayerConnection).o28 = function (gameDuration) {
|
|
1336
|
+
var percentage = this.n28(gameDuration);
|
|
1337
|
+
return percentage >= 70;
|
|
1277
1338
|
};
|
|
1278
1339
|
protoOf(PlayerConnection).toString = function () {
|
|
1279
|
-
return 'PlayerConnection(state=' + this.
|
|
1340
|
+
return 'PlayerConnection(state=' + this.h28_1.toString() + ', connectionChangedTime=' + this.i28_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.j28_1) + ')';
|
|
1280
1341
|
};
|
|
1281
1342
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1282
|
-
var result = this.
|
|
1283
|
-
result = imul(result, 31) + this.
|
|
1284
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1343
|
+
var result = this.h28_1.hashCode();
|
|
1344
|
+
result = imul(result, 31) + this.i28_1.hashCode() | 0;
|
|
1345
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.j28_1) | 0;
|
|
1285
1346
|
return result;
|
|
1286
1347
|
};
|
|
1287
1348
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1290,16 +1351,16 @@
|
|
|
1290
1351
|
if (!(other instanceof PlayerConnection))
|
|
1291
1352
|
return false;
|
|
1292
1353
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1293
|
-
if (!this.
|
|
1354
|
+
if (!this.h28_1.equals(tmp0_other_with_cast.h28_1))
|
|
1294
1355
|
return false;
|
|
1295
|
-
if (!this.
|
|
1356
|
+
if (!this.i28_1.equals(tmp0_other_with_cast.i28_1))
|
|
1296
1357
|
return false;
|
|
1297
|
-
if (!equals(this.
|
|
1358
|
+
if (!equals(this.j28_1, tmp0_other_with_cast.j28_1))
|
|
1298
1359
|
return false;
|
|
1299
1360
|
return true;
|
|
1300
1361
|
};
|
|
1301
|
-
function _get_$
|
|
1302
|
-
return $this.
|
|
1362
|
+
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1363
|
+
return $this.p28_1.a2();
|
|
1303
1364
|
}
|
|
1304
1365
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1305
1366
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1333,24 +1394,24 @@
|
|
|
1333
1394
|
break;
|
|
1334
1395
|
}
|
|
1335
1396
|
}
|
|
1336
|
-
function
|
|
1337
|
-
|
|
1397
|
+
function Companion_6() {
|
|
1398
|
+
Companion_instance_6 = this;
|
|
1338
1399
|
var tmp = this;
|
|
1339
1400
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1340
|
-
tmp.
|
|
1401
|
+
tmp.p28_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1341
1402
|
}
|
|
1342
|
-
protoOf(
|
|
1343
|
-
return _get_$
|
|
1403
|
+
protoOf(Companion_6).z17 = function () {
|
|
1404
|
+
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1344
1405
|
};
|
|
1345
|
-
protoOf(
|
|
1346
|
-
return this.
|
|
1406
|
+
protoOf(Companion_6).iw = function (typeParamsSerializers) {
|
|
1407
|
+
return this.z17();
|
|
1347
1408
|
};
|
|
1348
|
-
var
|
|
1349
|
-
function
|
|
1409
|
+
var Companion_instance_6;
|
|
1410
|
+
function Companion_getInstance_8() {
|
|
1350
1411
|
PlayerConnectionState_initEntries();
|
|
1351
|
-
if (
|
|
1352
|
-
new
|
|
1353
|
-
return
|
|
1412
|
+
if (Companion_instance_6 == null)
|
|
1413
|
+
new Companion_6();
|
|
1414
|
+
return Companion_instance_6;
|
|
1354
1415
|
}
|
|
1355
1416
|
var PlayerConnectionState_entriesInitialized;
|
|
1356
1417
|
function PlayerConnectionState_initEntries() {
|
|
@@ -1363,39 +1424,39 @@
|
|
|
1363
1424
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1364
1425
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
1365
1426
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1366
|
-
|
|
1427
|
+
Companion_getInstance_8();
|
|
1367
1428
|
}
|
|
1368
1429
|
function PlayerConnectionState(name, ordinal) {
|
|
1369
1430
|
Enum.call(this, name, ordinal);
|
|
1370
1431
|
}
|
|
1371
|
-
protoOf(PlayerConnectionState).
|
|
1432
|
+
protoOf(PlayerConnectionState).s28 = function () {
|
|
1372
1433
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1373
1434
|
};
|
|
1374
|
-
protoOf(PlayerConnectionState).
|
|
1435
|
+
protoOf(PlayerConnectionState).t28 = function () {
|
|
1375
1436
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1376
1437
|
};
|
|
1377
|
-
protoOf(PlayerConnectionState).
|
|
1438
|
+
protoOf(PlayerConnectionState).u28 = function () {
|
|
1378
1439
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1379
1440
|
};
|
|
1380
|
-
protoOf(PlayerConnectionState).
|
|
1441
|
+
protoOf(PlayerConnectionState).v28 = function () {
|
|
1381
1442
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1382
1443
|
};
|
|
1383
|
-
protoOf(PlayerConnectionState).
|
|
1444
|
+
protoOf(PlayerConnectionState).w28 = function () {
|
|
1384
1445
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1385
1446
|
};
|
|
1386
|
-
protoOf(PlayerConnectionState).
|
|
1447
|
+
protoOf(PlayerConnectionState).x28 = function () {
|
|
1387
1448
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1388
1449
|
};
|
|
1389
|
-
protoOf(PlayerConnectionState).
|
|
1450
|
+
protoOf(PlayerConnectionState).y28 = function () {
|
|
1390
1451
|
return this.isDisconnected || this.isDeleted;
|
|
1391
1452
|
};
|
|
1392
|
-
protoOf(PlayerConnectionState).
|
|
1453
|
+
protoOf(PlayerConnectionState).z28 = function () {
|
|
1393
1454
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1394
1455
|
};
|
|
1395
|
-
protoOf(PlayerConnectionState).
|
|
1456
|
+
protoOf(PlayerConnectionState).a29 = function () {
|
|
1396
1457
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1397
1458
|
};
|
|
1398
|
-
protoOf(PlayerConnectionState).
|
|
1459
|
+
protoOf(PlayerConnectionState).b29 = function () {
|
|
1399
1460
|
return this.isLostConnection;
|
|
1400
1461
|
};
|
|
1401
1462
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1422,8 +1483,8 @@
|
|
|
1422
1483
|
PlayerConnectionState_initEntries();
|
|
1423
1484
|
return PlayerConnectionState_DELETED_instance;
|
|
1424
1485
|
}
|
|
1425
|
-
function _get_$
|
|
1426
|
-
return $this.
|
|
1486
|
+
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1487
|
+
return $this.c29_1.a2();
|
|
1427
1488
|
}
|
|
1428
1489
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1429
1490
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1434,24 +1495,24 @@
|
|
|
1434
1495
|
function values_2() {
|
|
1435
1496
|
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
1436
1497
|
}
|
|
1437
|
-
function
|
|
1438
|
-
|
|
1498
|
+
function Companion_7() {
|
|
1499
|
+
Companion_instance_7 = this;
|
|
1439
1500
|
var tmp = this;
|
|
1440
1501
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1441
|
-
tmp.
|
|
1502
|
+
tmp.c29_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1442
1503
|
}
|
|
1443
|
-
protoOf(
|
|
1444
|
-
return _get_$
|
|
1504
|
+
protoOf(Companion_7).z17 = function () {
|
|
1505
|
+
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1445
1506
|
};
|
|
1446
|
-
protoOf(
|
|
1447
|
-
return this.
|
|
1507
|
+
protoOf(Companion_7).iw = function (typeParamsSerializers) {
|
|
1508
|
+
return this.z17();
|
|
1448
1509
|
};
|
|
1449
|
-
var
|
|
1450
|
-
function
|
|
1510
|
+
var Companion_instance_7;
|
|
1511
|
+
function Companion_getInstance_9() {
|
|
1451
1512
|
PlayerWaitingState_initEntries();
|
|
1452
|
-
if (
|
|
1453
|
-
new
|
|
1454
|
-
return
|
|
1513
|
+
if (Companion_instance_7 == null)
|
|
1514
|
+
new Companion_7();
|
|
1515
|
+
return Companion_instance_7;
|
|
1455
1516
|
}
|
|
1456
1517
|
var PlayerWaitingState_entriesInitialized;
|
|
1457
1518
|
function PlayerWaitingState_initEntries() {
|
|
@@ -1461,29 +1522,29 @@
|
|
|
1461
1522
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
1462
1523
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
1463
1524
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
1464
|
-
|
|
1525
|
+
Companion_getInstance_9();
|
|
1465
1526
|
}
|
|
1466
1527
|
function PlayerWaitingState(name, ordinal) {
|
|
1467
1528
|
Enum.call(this, name, ordinal);
|
|
1468
1529
|
}
|
|
1469
|
-
protoOf(PlayerWaitingState).
|
|
1470
|
-
return this.
|
|
1530
|
+
protoOf(PlayerWaitingState).d28 = function () {
|
|
1531
|
+
return this.f29() || this.g29();
|
|
1471
1532
|
};
|
|
1472
|
-
protoOf(PlayerWaitingState).
|
|
1533
|
+
protoOf(PlayerWaitingState).f29 = function () {
|
|
1473
1534
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1474
1535
|
};
|
|
1475
|
-
protoOf(PlayerWaitingState).
|
|
1536
|
+
protoOf(PlayerWaitingState).g29 = function () {
|
|
1476
1537
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1477
1538
|
};
|
|
1478
|
-
function
|
|
1539
|
+
function Companion_8() {
|
|
1479
1540
|
}
|
|
1480
|
-
protoOf(
|
|
1541
|
+
protoOf(Companion_8).h29 = function (connection) {
|
|
1481
1542
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1482
1543
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1483
1544
|
};
|
|
1484
|
-
var
|
|
1485
|
-
function
|
|
1486
|
-
return
|
|
1545
|
+
var Companion_instance_8;
|
|
1546
|
+
function Companion_getInstance_10() {
|
|
1547
|
+
return Companion_instance_8;
|
|
1487
1548
|
}
|
|
1488
1549
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
1489
1550
|
PlayerWaitingState_initEntries();
|
|
@@ -1500,17 +1561,17 @@
|
|
|
1500
1561
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1501
1562
|
tag = tag === VOID ? null : tag;
|
|
1502
1563
|
connection = connection === VOID ? null : connection;
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1508
|
-
this.
|
|
1509
|
-
this.
|
|
1510
|
-
}
|
|
1511
|
-
protoOf(PlayerState).
|
|
1564
|
+
this.w27_1 = startFromTime;
|
|
1565
|
+
this.x27_1 = playerTurnTimeout;
|
|
1566
|
+
this.y27_1 = waitPlayerUntilTime;
|
|
1567
|
+
this.z27_1 = state;
|
|
1568
|
+
this.a28_1 = ready;
|
|
1569
|
+
this.b28_1 = tag;
|
|
1570
|
+
this.c28_1 = connection;
|
|
1571
|
+
}
|
|
1572
|
+
protoOf(PlayerState).i29 = function () {
|
|
1512
1573
|
// Inline function 'kotlin.requireNotNull' call
|
|
1513
|
-
var value = this.
|
|
1574
|
+
var value = this.c28_1;
|
|
1514
1575
|
// Inline function 'kotlin.contracts.contract' call
|
|
1515
1576
|
var tmp$ret$1;
|
|
1516
1577
|
$l$block: {
|
|
@@ -1529,67 +1590,67 @@
|
|
|
1529
1590
|
};
|
|
1530
1591
|
protoOf(PlayerState).toString = function () {
|
|
1531
1592
|
// Inline function 'kotlin.takeIf' call
|
|
1532
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1593
|
+
var this_0 = 'startFromTime=' + toString(this.w27_1);
|
|
1533
1594
|
// Inline function 'kotlin.contracts.contract' call
|
|
1534
1595
|
var tmp;
|
|
1535
1596
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1536
|
-
if (!(this.
|
|
1597
|
+
if (!(this.w27_1 == null)) {
|
|
1537
1598
|
tmp = this_0;
|
|
1538
1599
|
} else {
|
|
1539
1600
|
tmp = null;
|
|
1540
1601
|
}
|
|
1541
1602
|
var tmp_0 = tmp;
|
|
1542
1603
|
// Inline function 'kotlin.takeIf' call
|
|
1543
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1604
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.x27_1);
|
|
1544
1605
|
// Inline function 'kotlin.contracts.contract' call
|
|
1545
1606
|
var tmp_1;
|
|
1546
1607
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1547
|
-
if (!(this.
|
|
1608
|
+
if (!(this.x27_1 == null)) {
|
|
1548
1609
|
tmp_1 = this_1;
|
|
1549
1610
|
} else {
|
|
1550
1611
|
tmp_1 = null;
|
|
1551
1612
|
}
|
|
1552
1613
|
var tmp_2 = tmp_1;
|
|
1553
1614
|
// Inline function 'kotlin.takeIf' call
|
|
1554
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1615
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.y27_1);
|
|
1555
1616
|
// Inline function 'kotlin.contracts.contract' call
|
|
1556
1617
|
var tmp_3;
|
|
1557
1618
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1558
|
-
if (!(this.
|
|
1619
|
+
if (!(this.y27_1 == null)) {
|
|
1559
1620
|
tmp_3 = this_2;
|
|
1560
1621
|
} else {
|
|
1561
1622
|
tmp_3 = null;
|
|
1562
1623
|
}
|
|
1563
1624
|
var tmp_4 = tmp_3;
|
|
1564
|
-
var tmp_5 = 'state=' + this.
|
|
1625
|
+
var tmp_5 = 'state=' + this.z27_1.toString();
|
|
1565
1626
|
// Inline function 'kotlin.takeIf' call
|
|
1566
|
-
var this_3 = 'ready=' + this.
|
|
1627
|
+
var this_3 = 'ready=' + this.a28_1;
|
|
1567
1628
|
// Inline function 'kotlin.contracts.contract' call
|
|
1568
1629
|
var tmp_6;
|
|
1569
1630
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1570
|
-
if (this.
|
|
1631
|
+
if (this.a28_1) {
|
|
1571
1632
|
tmp_6 = this_3;
|
|
1572
1633
|
} else {
|
|
1573
1634
|
tmp_6 = null;
|
|
1574
1635
|
}
|
|
1575
1636
|
var tmp_7 = tmp_6;
|
|
1576
1637
|
// Inline function 'kotlin.takeIf' call
|
|
1577
|
-
var this_4 = 'tag=' + this.
|
|
1638
|
+
var this_4 = 'tag=' + this.b28_1;
|
|
1578
1639
|
// Inline function 'kotlin.contracts.contract' call
|
|
1579
1640
|
var tmp_8;
|
|
1580
1641
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1581
|
-
if (!(this.
|
|
1642
|
+
if (!(this.b28_1 == null)) {
|
|
1582
1643
|
tmp_8 = this_4;
|
|
1583
1644
|
} else {
|
|
1584
1645
|
tmp_8 = null;
|
|
1585
1646
|
}
|
|
1586
1647
|
var tmp_9 = tmp_8;
|
|
1587
1648
|
// Inline function 'kotlin.takeIf' call
|
|
1588
|
-
var this_5 = 'connection=' + toString(this.
|
|
1649
|
+
var this_5 = 'connection=' + toString(this.c28_1);
|
|
1589
1650
|
// Inline function 'kotlin.contracts.contract' call
|
|
1590
1651
|
var tmp_10;
|
|
1591
1652
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1592
|
-
if (!(this.
|
|
1653
|
+
if (!(this.c28_1 == null)) {
|
|
1593
1654
|
tmp_10 = this_5;
|
|
1594
1655
|
} else {
|
|
1595
1656
|
tmp_10 = null;
|
|
@@ -1597,17 +1658,17 @@
|
|
|
1597
1658
|
var tmp$ret$11 = tmp_10;
|
|
1598
1659
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1599
1660
|
};
|
|
1600
|
-
protoOf(PlayerState).
|
|
1601
|
-
return this.
|
|
1661
|
+
protoOf(PlayerState).d28 = function () {
|
|
1662
|
+
return this.z27_1.d28();
|
|
1602
1663
|
};
|
|
1603
1664
|
protoOf(PlayerState).hashCode = function () {
|
|
1604
|
-
var result = this.
|
|
1605
|
-
result = imul(result, 31) + (this.
|
|
1606
|
-
result = imul(result, 31) + (this.
|
|
1607
|
-
result = imul(result, 31) + this.
|
|
1608
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1609
|
-
result = imul(result, 31) + (this.
|
|
1610
|
-
result = imul(result, 31) + (this.
|
|
1665
|
+
var result = this.w27_1 == null ? 0 : this.w27_1.hashCode();
|
|
1666
|
+
result = imul(result, 31) + (this.x27_1 == null ? 0 : this.x27_1.hashCode()) | 0;
|
|
1667
|
+
result = imul(result, 31) + (this.y27_1 == null ? 0 : this.y27_1.hashCode()) | 0;
|
|
1668
|
+
result = imul(result, 31) + this.z27_1.hashCode() | 0;
|
|
1669
|
+
result = imul(result, 31) + getBooleanHashCode(this.a28_1) | 0;
|
|
1670
|
+
result = imul(result, 31) + (this.b28_1 == null ? 0 : getStringHashCode(this.b28_1)) | 0;
|
|
1671
|
+
result = imul(result, 31) + (this.c28_1 == null ? 0 : this.c28_1.hashCode()) | 0;
|
|
1611
1672
|
return result;
|
|
1612
1673
|
};
|
|
1613
1674
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1616,30 +1677,30 @@
|
|
|
1616
1677
|
if (!(other instanceof PlayerState))
|
|
1617
1678
|
return false;
|
|
1618
1679
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1619
|
-
if (!equals(this.
|
|
1680
|
+
if (!equals(this.w27_1, tmp0_other_with_cast.w27_1))
|
|
1620
1681
|
return false;
|
|
1621
|
-
if (!equals(this.
|
|
1682
|
+
if (!equals(this.x27_1, tmp0_other_with_cast.x27_1))
|
|
1622
1683
|
return false;
|
|
1623
|
-
if (!equals(this.
|
|
1684
|
+
if (!equals(this.y27_1, tmp0_other_with_cast.y27_1))
|
|
1624
1685
|
return false;
|
|
1625
|
-
if (!this.
|
|
1686
|
+
if (!this.z27_1.equals(tmp0_other_with_cast.z27_1))
|
|
1626
1687
|
return false;
|
|
1627
|
-
if (!(this.
|
|
1688
|
+
if (!(this.a28_1 === tmp0_other_with_cast.a28_1))
|
|
1628
1689
|
return false;
|
|
1629
|
-
if (!(this.
|
|
1690
|
+
if (!(this.b28_1 == tmp0_other_with_cast.b28_1))
|
|
1630
1691
|
return false;
|
|
1631
|
-
if (!equals(this.
|
|
1692
|
+
if (!equals(this.c28_1, tmp0_other_with_cast.c28_1))
|
|
1632
1693
|
return false;
|
|
1633
1694
|
return true;
|
|
1634
1695
|
};
|
|
1635
1696
|
function Team(playerIds) {
|
|
1636
|
-
this.
|
|
1697
|
+
this.j29_1 = playerIds;
|
|
1637
1698
|
}
|
|
1638
1699
|
protoOf(Team).toString = function () {
|
|
1639
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1700
|
+
return 'Team(playerIds=' + toString_0(this.j29_1) + ')';
|
|
1640
1701
|
};
|
|
1641
1702
|
protoOf(Team).hashCode = function () {
|
|
1642
|
-
return hashCode(this.
|
|
1703
|
+
return hashCode(this.j29_1);
|
|
1643
1704
|
};
|
|
1644
1705
|
protoOf(Team).equals = function (other) {
|
|
1645
1706
|
if (this === other)
|
|
@@ -1647,12 +1708,12 @@
|
|
|
1647
1708
|
if (!(other instanceof Team))
|
|
1648
1709
|
return false;
|
|
1649
1710
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1650
|
-
if (!equals(this.
|
|
1711
|
+
if (!equals(this.j29_1, tmp0_other_with_cast.j29_1))
|
|
1651
1712
|
return false;
|
|
1652
1713
|
return true;
|
|
1653
1714
|
};
|
|
1654
|
-
function _get_$
|
|
1655
|
-
return $this.
|
|
1715
|
+
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1716
|
+
return $this.k29_1.a2();
|
|
1656
1717
|
}
|
|
1657
1718
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1658
1719
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1661,11 +1722,11 @@
|
|
|
1661
1722
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1662
1723
|
var tmp_0 = [getKClass(GameErrorReasonDto), getKClass(GameFinishedReasonDto), getKClass(PlayerExitReasonDto), getKClass(PlayerLostConnectionReasonDto), getKClass(PlayerTimeoutReasonDto), getKClass(ProcessingReasonDto), getKClass(WaitingForConnectionReasonDto)];
|
|
1663
1724
|
// Inline function 'kotlin.arrayOf' call
|
|
1664
|
-
var tmp_1 = $
|
|
1665
|
-
var tmp_2 = $
|
|
1666
|
-
var tmp_3 = $
|
|
1667
|
-
var tmp_4 = $
|
|
1668
|
-
var tmp_5 = $
|
|
1725
|
+
var tmp_1 = $serializer_getInstance_1();
|
|
1726
|
+
var tmp_2 = $serializer_getInstance_2();
|
|
1727
|
+
var tmp_3 = $serializer_getInstance_3();
|
|
1728
|
+
var tmp_4 = $serializer_getInstance_4();
|
|
1729
|
+
var tmp_5 = $serializer_getInstance_5();
|
|
1669
1730
|
var tmp_6 = ProcessingReasonDto_getInstance();
|
|
1670
1731
|
// Inline function 'kotlin.arrayOf' call
|
|
1671
1732
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -1686,32 +1747,32 @@
|
|
|
1686
1747
|
var tmp$ret$14 = [];
|
|
1687
1748
|
return SealedClassSerializer_init_$Create$('com.logic.data.models.serializable.TerminationGameReasonDto', tmp, tmp_0, tmp_9, tmp$ret$14);
|
|
1688
1749
|
}
|
|
1689
|
-
function
|
|
1690
|
-
|
|
1750
|
+
function Companion_9() {
|
|
1751
|
+
Companion_instance_9 = this;
|
|
1691
1752
|
var tmp = this;
|
|
1692
1753
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1693
|
-
tmp.
|
|
1754
|
+
tmp.k29_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1694
1755
|
}
|
|
1695
|
-
protoOf(
|
|
1696
|
-
return _get_$
|
|
1756
|
+
protoOf(Companion_9).z17 = function () {
|
|
1757
|
+
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1697
1758
|
};
|
|
1698
|
-
protoOf(
|
|
1699
|
-
return this.
|
|
1759
|
+
protoOf(Companion_9).iw = function (typeParamsSerializers) {
|
|
1760
|
+
return this.z17();
|
|
1700
1761
|
};
|
|
1701
|
-
var
|
|
1702
|
-
function
|
|
1703
|
-
if (
|
|
1704
|
-
new
|
|
1705
|
-
return
|
|
1762
|
+
var Companion_instance_9;
|
|
1763
|
+
function Companion_getInstance_11() {
|
|
1764
|
+
if (Companion_instance_9 == null)
|
|
1765
|
+
new Companion_9();
|
|
1766
|
+
return Companion_instance_9;
|
|
1706
1767
|
}
|
|
1707
1768
|
function TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this) {
|
|
1708
1769
|
return $this;
|
|
1709
1770
|
}
|
|
1710
1771
|
function TerminationGameReasonDto() {
|
|
1711
|
-
|
|
1772
|
+
Companion_getInstance_11();
|
|
1712
1773
|
}
|
|
1713
|
-
function _get_$
|
|
1714
|
-
return $this.
|
|
1774
|
+
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1775
|
+
return $this.l29_1.a2();
|
|
1715
1776
|
}
|
|
1716
1777
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1717
1778
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1726,13 +1787,13 @@
|
|
|
1726
1787
|
TerminationGameReasonDto.call(this);
|
|
1727
1788
|
var tmp = this;
|
|
1728
1789
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1729
|
-
tmp.
|
|
1790
|
+
tmp.l29_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1730
1791
|
}
|
|
1731
|
-
protoOf(ProcessingReasonDto).
|
|
1732
|
-
return _get_$
|
|
1792
|
+
protoOf(ProcessingReasonDto).z17 = function () {
|
|
1793
|
+
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1733
1794
|
};
|
|
1734
|
-
protoOf(ProcessingReasonDto).
|
|
1735
|
-
return this.
|
|
1795
|
+
protoOf(ProcessingReasonDto).iw = function (typeParamsSerializers) {
|
|
1796
|
+
return this.z17();
|
|
1736
1797
|
};
|
|
1737
1798
|
protoOf(ProcessingReasonDto).toString = function () {
|
|
1738
1799
|
return 'ProcessingReasonDto';
|
|
@@ -1754,73 +1815,73 @@
|
|
|
1754
1815
|
new ProcessingReasonDto();
|
|
1755
1816
|
return ProcessingReasonDto_instance;
|
|
1756
1817
|
}
|
|
1757
|
-
function
|
|
1818
|
+
function Companion_10() {
|
|
1758
1819
|
}
|
|
1759
|
-
var
|
|
1760
|
-
function
|
|
1761
|
-
return
|
|
1820
|
+
var Companion_instance_10;
|
|
1821
|
+
function Companion_getInstance_12() {
|
|
1822
|
+
return Companion_instance_10;
|
|
1762
1823
|
}
|
|
1763
|
-
function $
|
|
1764
|
-
$
|
|
1824
|
+
function $serializer_1() {
|
|
1825
|
+
$serializer_instance_1 = this;
|
|
1765
1826
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1766
|
-
tmp0_serialDesc.
|
|
1767
|
-
this.
|
|
1827
|
+
tmp0_serialDesc.iv('reason', false);
|
|
1828
|
+
this.m29_1 = tmp0_serialDesc;
|
|
1768
1829
|
}
|
|
1769
|
-
protoOf($
|
|
1770
|
-
var tmp0_desc = this.
|
|
1771
|
-
var tmp1_output = encoder.
|
|
1772
|
-
tmp1_output.
|
|
1773
|
-
tmp1_output.
|
|
1830
|
+
protoOf($serializer_1).n29 = function (encoder, value) {
|
|
1831
|
+
var tmp0_desc = this.m29_1;
|
|
1832
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1833
|
+
tmp1_output.hp(tmp0_desc, 0, value.reason);
|
|
1834
|
+
tmp1_output.tn(tmp0_desc);
|
|
1774
1835
|
};
|
|
1775
|
-
protoOf($
|
|
1776
|
-
return this.
|
|
1836
|
+
protoOf($serializer_1).kk = function (encoder, value) {
|
|
1837
|
+
return this.n29(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1777
1838
|
};
|
|
1778
|
-
protoOf($
|
|
1779
|
-
var tmp0_desc = this.
|
|
1839
|
+
protoOf($serializer_1).lk = function (decoder) {
|
|
1840
|
+
var tmp0_desc = this.m29_1;
|
|
1780
1841
|
var tmp1_flag = true;
|
|
1781
1842
|
var tmp2_index = 0;
|
|
1782
1843
|
var tmp3_bitMask0 = 0;
|
|
1783
1844
|
var tmp4_local0 = null;
|
|
1784
|
-
var tmp5_input = decoder.
|
|
1785
|
-
if (tmp5_input.
|
|
1786
|
-
tmp4_local0 = tmp5_input.
|
|
1845
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
1846
|
+
if (tmp5_input.io()) {
|
|
1847
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1787
1848
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1788
1849
|
} else
|
|
1789
1850
|
while (tmp1_flag) {
|
|
1790
|
-
tmp2_index = tmp5_input.
|
|
1851
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
1791
1852
|
switch (tmp2_index) {
|
|
1792
1853
|
case -1:
|
|
1793
1854
|
tmp1_flag = false;
|
|
1794
1855
|
break;
|
|
1795
1856
|
case 0:
|
|
1796
|
-
tmp4_local0 = tmp5_input.
|
|
1857
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1797
1858
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1798
1859
|
break;
|
|
1799
1860
|
default:
|
|
1800
1861
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1801
1862
|
}
|
|
1802
1863
|
}
|
|
1803
|
-
tmp5_input.
|
|
1864
|
+
tmp5_input.tn(tmp0_desc);
|
|
1804
1865
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1805
1866
|
};
|
|
1806
|
-
protoOf($
|
|
1807
|
-
return this.
|
|
1867
|
+
protoOf($serializer_1).jk = function () {
|
|
1868
|
+
return this.m29_1;
|
|
1808
1869
|
};
|
|
1809
|
-
protoOf($
|
|
1870
|
+
protoOf($serializer_1).xv = function () {
|
|
1810
1871
|
// Inline function 'kotlin.arrayOf' call
|
|
1811
1872
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1812
1873
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1813
1874
|
return [StringSerializer_getInstance()];
|
|
1814
1875
|
};
|
|
1815
|
-
var $
|
|
1816
|
-
function $
|
|
1817
|
-
if ($
|
|
1818
|
-
new $
|
|
1819
|
-
return $
|
|
1876
|
+
var $serializer_instance_1;
|
|
1877
|
+
function $serializer_getInstance_1() {
|
|
1878
|
+
if ($serializer_instance_1 == null)
|
|
1879
|
+
new $serializer_1();
|
|
1880
|
+
return $serializer_instance_1;
|
|
1820
1881
|
}
|
|
1821
1882
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1822
1883
|
if (!(1 === (1 & seen0))) {
|
|
1823
|
-
throwMissingFieldException(seen0, 1, $
|
|
1884
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().m29_1);
|
|
1824
1885
|
}
|
|
1825
1886
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1826
1887
|
$this.reason = reason;
|
|
@@ -1833,7 +1894,7 @@
|
|
|
1833
1894
|
TerminationGameReasonDto.call(this);
|
|
1834
1895
|
this.reason = reason;
|
|
1835
1896
|
}
|
|
1836
|
-
protoOf(GameErrorReasonDto).
|
|
1897
|
+
protoOf(GameErrorReasonDto).d27 = function () {
|
|
1837
1898
|
return this.reason;
|
|
1838
1899
|
};
|
|
1839
1900
|
protoOf(GameErrorReasonDto).toString = function () {
|
|
@@ -1852,76 +1913,76 @@
|
|
|
1852
1913
|
return false;
|
|
1853
1914
|
return true;
|
|
1854
1915
|
};
|
|
1855
|
-
function
|
|
1916
|
+
function Companion_11() {
|
|
1856
1917
|
}
|
|
1857
|
-
var
|
|
1858
|
-
function
|
|
1859
|
-
return
|
|
1918
|
+
var Companion_instance_11;
|
|
1919
|
+
function Companion_getInstance_13() {
|
|
1920
|
+
return Companion_instance_11;
|
|
1860
1921
|
}
|
|
1861
|
-
function $
|
|
1862
|
-
$
|
|
1922
|
+
function $serializer_2() {
|
|
1923
|
+
$serializer_instance_2 = this;
|
|
1863
1924
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1864
|
-
tmp0_serialDesc.
|
|
1865
|
-
this.
|
|
1925
|
+
tmp0_serialDesc.iv('reason', false);
|
|
1926
|
+
this.o29_1 = tmp0_serialDesc;
|
|
1866
1927
|
}
|
|
1867
|
-
protoOf($
|
|
1868
|
-
var tmp0_desc = this.
|
|
1869
|
-
var tmp1_output = encoder.
|
|
1870
|
-
tmp1_output.
|
|
1871
|
-
tmp1_output.
|
|
1928
|
+
protoOf($serializer_2).p29 = function (encoder, value) {
|
|
1929
|
+
var tmp0_desc = this.o29_1;
|
|
1930
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
1931
|
+
tmp1_output.hp(tmp0_desc, 0, value.q29_1);
|
|
1932
|
+
tmp1_output.tn(tmp0_desc);
|
|
1872
1933
|
};
|
|
1873
|
-
protoOf($
|
|
1874
|
-
return this.
|
|
1934
|
+
protoOf($serializer_2).kk = function (encoder, value) {
|
|
1935
|
+
return this.p29(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1875
1936
|
};
|
|
1876
|
-
protoOf($
|
|
1877
|
-
var tmp0_desc = this.
|
|
1937
|
+
protoOf($serializer_2).lk = function (decoder) {
|
|
1938
|
+
var tmp0_desc = this.o29_1;
|
|
1878
1939
|
var tmp1_flag = true;
|
|
1879
1940
|
var tmp2_index = 0;
|
|
1880
1941
|
var tmp3_bitMask0 = 0;
|
|
1881
1942
|
var tmp4_local0 = null;
|
|
1882
|
-
var tmp5_input = decoder.
|
|
1883
|
-
if (tmp5_input.
|
|
1884
|
-
tmp4_local0 = tmp5_input.
|
|
1943
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
1944
|
+
if (tmp5_input.io()) {
|
|
1945
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1885
1946
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1886
1947
|
} else
|
|
1887
1948
|
while (tmp1_flag) {
|
|
1888
|
-
tmp2_index = tmp5_input.
|
|
1949
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
1889
1950
|
switch (tmp2_index) {
|
|
1890
1951
|
case -1:
|
|
1891
1952
|
tmp1_flag = false;
|
|
1892
1953
|
break;
|
|
1893
1954
|
case 0:
|
|
1894
|
-
tmp4_local0 = tmp5_input.
|
|
1955
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1895
1956
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1896
1957
|
break;
|
|
1897
1958
|
default:
|
|
1898
1959
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1899
1960
|
}
|
|
1900
1961
|
}
|
|
1901
|
-
tmp5_input.
|
|
1962
|
+
tmp5_input.tn(tmp0_desc);
|
|
1902
1963
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1903
1964
|
};
|
|
1904
|
-
protoOf($
|
|
1905
|
-
return this.
|
|
1965
|
+
protoOf($serializer_2).jk = function () {
|
|
1966
|
+
return this.o29_1;
|
|
1906
1967
|
};
|
|
1907
|
-
protoOf($
|
|
1968
|
+
protoOf($serializer_2).xv = function () {
|
|
1908
1969
|
// Inline function 'kotlin.arrayOf' call
|
|
1909
1970
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1910
1971
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1911
1972
|
return [StringSerializer_getInstance()];
|
|
1912
1973
|
};
|
|
1913
|
-
var $
|
|
1914
|
-
function $
|
|
1915
|
-
if ($
|
|
1916
|
-
new $
|
|
1917
|
-
return $
|
|
1974
|
+
var $serializer_instance_2;
|
|
1975
|
+
function $serializer_getInstance_2() {
|
|
1976
|
+
if ($serializer_instance_2 == null)
|
|
1977
|
+
new $serializer_2();
|
|
1978
|
+
return $serializer_instance_2;
|
|
1918
1979
|
}
|
|
1919
1980
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1920
1981
|
if (!(1 === (1 & seen0))) {
|
|
1921
|
-
throwMissingFieldException(seen0, 1, $
|
|
1982
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().o29_1);
|
|
1922
1983
|
}
|
|
1923
1984
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1924
|
-
$this.
|
|
1985
|
+
$this.q29_1 = reason;
|
|
1925
1986
|
return $this;
|
|
1926
1987
|
}
|
|
1927
1988
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1929,13 +1990,13 @@
|
|
|
1929
1990
|
}
|
|
1930
1991
|
function GameFinishedReasonDto(reason) {
|
|
1931
1992
|
TerminationGameReasonDto.call(this);
|
|
1932
|
-
this.
|
|
1993
|
+
this.q29_1 = reason;
|
|
1933
1994
|
}
|
|
1934
1995
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
1935
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
1996
|
+
return 'GameFinishedReasonDto(reason=' + this.q29_1 + ')';
|
|
1936
1997
|
};
|
|
1937
1998
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
1938
|
-
return getStringHashCode(this.
|
|
1999
|
+
return getStringHashCode(this.q29_1);
|
|
1939
2000
|
};
|
|
1940
2001
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
1941
2002
|
if (this === other)
|
|
@@ -1943,80 +2004,80 @@
|
|
|
1943
2004
|
if (!(other instanceof GameFinishedReasonDto))
|
|
1944
2005
|
return false;
|
|
1945
2006
|
var tmp0_other_with_cast = other instanceof GameFinishedReasonDto ? other : THROW_CCE();
|
|
1946
|
-
if (!(this.
|
|
2007
|
+
if (!(this.q29_1 === tmp0_other_with_cast.q29_1))
|
|
1947
2008
|
return false;
|
|
1948
2009
|
return true;
|
|
1949
2010
|
};
|
|
1950
|
-
function
|
|
2011
|
+
function Companion_12() {
|
|
1951
2012
|
}
|
|
1952
|
-
var
|
|
1953
|
-
function
|
|
1954
|
-
return
|
|
2013
|
+
var Companion_instance_12;
|
|
2014
|
+
function Companion_getInstance_14() {
|
|
2015
|
+
return Companion_instance_12;
|
|
1955
2016
|
}
|
|
1956
|
-
function $
|
|
1957
|
-
$
|
|
2017
|
+
function $serializer_3() {
|
|
2018
|
+
$serializer_instance_3 = this;
|
|
1958
2019
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
1959
|
-
tmp0_serialDesc.
|
|
1960
|
-
this.
|
|
2020
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
2021
|
+
this.r29_1 = tmp0_serialDesc;
|
|
1961
2022
|
}
|
|
1962
|
-
protoOf($
|
|
1963
|
-
var tmp0_desc = this.
|
|
1964
|
-
var tmp1_output = encoder.
|
|
1965
|
-
tmp1_output.
|
|
1966
|
-
tmp1_output.
|
|
2023
|
+
protoOf($serializer_3).s29 = function (encoder, value) {
|
|
2024
|
+
var tmp0_desc = this.r29_1;
|
|
2025
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2026
|
+
tmp1_output.hp(tmp0_desc, 0, value.t29_1);
|
|
2027
|
+
tmp1_output.tn(tmp0_desc);
|
|
1967
2028
|
};
|
|
1968
|
-
protoOf($
|
|
1969
|
-
return this.
|
|
2029
|
+
protoOf($serializer_3).kk = function (encoder, value) {
|
|
2030
|
+
return this.s29(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
1970
2031
|
};
|
|
1971
|
-
protoOf($
|
|
1972
|
-
var tmp0_desc = this.
|
|
2032
|
+
protoOf($serializer_3).lk = function (decoder) {
|
|
2033
|
+
var tmp0_desc = this.r29_1;
|
|
1973
2034
|
var tmp1_flag = true;
|
|
1974
2035
|
var tmp2_index = 0;
|
|
1975
2036
|
var tmp3_bitMask0 = 0;
|
|
1976
2037
|
var tmp4_local0 = null;
|
|
1977
|
-
var tmp5_input = decoder.
|
|
1978
|
-
if (tmp5_input.
|
|
1979
|
-
tmp4_local0 = tmp5_input.
|
|
2038
|
+
var tmp5_input = decoder.sn(tmp0_desc);
|
|
2039
|
+
if (tmp5_input.io()) {
|
|
2040
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1980
2041
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1981
2042
|
} else
|
|
1982
2043
|
while (tmp1_flag) {
|
|
1983
|
-
tmp2_index = tmp5_input.
|
|
2044
|
+
tmp2_index = tmp5_input.jo(tmp0_desc);
|
|
1984
2045
|
switch (tmp2_index) {
|
|
1985
2046
|
case -1:
|
|
1986
2047
|
tmp1_flag = false;
|
|
1987
2048
|
break;
|
|
1988
2049
|
case 0:
|
|
1989
|
-
tmp4_local0 = tmp5_input.
|
|
2050
|
+
tmp4_local0 = tmp5_input.co(tmp0_desc, 0);
|
|
1990
2051
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1991
2052
|
break;
|
|
1992
2053
|
default:
|
|
1993
2054
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1994
2055
|
}
|
|
1995
2056
|
}
|
|
1996
|
-
tmp5_input.
|
|
2057
|
+
tmp5_input.tn(tmp0_desc);
|
|
1997
2058
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1998
2059
|
};
|
|
1999
|
-
protoOf($
|
|
2000
|
-
return this.
|
|
2060
|
+
protoOf($serializer_3).jk = function () {
|
|
2061
|
+
return this.r29_1;
|
|
2001
2062
|
};
|
|
2002
|
-
protoOf($
|
|
2063
|
+
protoOf($serializer_3).xv = function () {
|
|
2003
2064
|
// Inline function 'kotlin.arrayOf' call
|
|
2004
2065
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2005
2066
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2006
2067
|
return [StringSerializer_getInstance()];
|
|
2007
2068
|
};
|
|
2008
|
-
var $
|
|
2009
|
-
function $
|
|
2010
|
-
if ($
|
|
2011
|
-
new $
|
|
2012
|
-
return $
|
|
2013
|
-
}
|
|
2014
|
-
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2015
|
-
if (!(1 === (1 & seen0))) {
|
|
2016
|
-
throwMissingFieldException(seen0, 1, $
|
|
2017
|
-
}
|
|
2069
|
+
var $serializer_instance_3;
|
|
2070
|
+
function $serializer_getInstance_3() {
|
|
2071
|
+
if ($serializer_instance_3 == null)
|
|
2072
|
+
new $serializer_3();
|
|
2073
|
+
return $serializer_instance_3;
|
|
2074
|
+
}
|
|
2075
|
+
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
2076
|
+
if (!(1 === (1 & seen0))) {
|
|
2077
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().r29_1);
|
|
2078
|
+
}
|
|
2018
2079
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2019
|
-
$this.
|
|
2080
|
+
$this.t29_1 = playerId;
|
|
2020
2081
|
return $this;
|
|
2021
2082
|
}
|
|
2022
2083
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2024,13 +2085,13 @@
|
|
|
2024
2085
|
}
|
|
2025
2086
|
function PlayerExitReasonDto(playerId) {
|
|
2026
2087
|
TerminationGameReasonDto.call(this);
|
|
2027
|
-
this.
|
|
2088
|
+
this.t29_1 = playerId;
|
|
2028
2089
|
}
|
|
2029
2090
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2030
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2091
|
+
return 'PlayerExitReasonDto(playerId=' + this.t29_1 + ')';
|
|
2031
2092
|
};
|
|
2032
2093
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2033
|
-
return getStringHashCode(this.
|
|
2094
|
+
return getStringHashCode(this.t29_1);
|
|
2034
2095
|
};
|
|
2035
2096
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2036
2097
|
if (this === other)
|
|
@@ -2038,90 +2099,90 @@
|
|
|
2038
2099
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2039
2100
|
return false;
|
|
2040
2101
|
var tmp0_other_with_cast = other instanceof PlayerExitReasonDto ? other : THROW_CCE();
|
|
2041
|
-
if (!(this.
|
|
2102
|
+
if (!(this.t29_1 === tmp0_other_with_cast.t29_1))
|
|
2042
2103
|
return false;
|
|
2043
2104
|
return true;
|
|
2044
2105
|
};
|
|
2045
|
-
function
|
|
2106
|
+
function Companion_13() {
|
|
2046
2107
|
}
|
|
2047
|
-
var
|
|
2048
|
-
function
|
|
2049
|
-
return
|
|
2108
|
+
var Companion_instance_13;
|
|
2109
|
+
function Companion_getInstance_15() {
|
|
2110
|
+
return Companion_instance_13;
|
|
2050
2111
|
}
|
|
2051
|
-
function $
|
|
2052
|
-
$
|
|
2112
|
+
function $serializer_4() {
|
|
2113
|
+
$serializer_instance_4 = this;
|
|
2053
2114
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2054
|
-
tmp0_serialDesc.
|
|
2055
|
-
tmp0_serialDesc.
|
|
2056
|
-
this.
|
|
2057
|
-
}
|
|
2058
|
-
protoOf($
|
|
2059
|
-
var tmp0_desc = this.
|
|
2060
|
-
var tmp1_output = encoder.
|
|
2061
|
-
tmp1_output.
|
|
2062
|
-
tmp1_output.
|
|
2063
|
-
tmp1_output.
|
|
2064
|
-
};
|
|
2065
|
-
protoOf($
|
|
2066
|
-
return this.
|
|
2067
|
-
};
|
|
2068
|
-
protoOf($
|
|
2069
|
-
var tmp0_desc = this.
|
|
2115
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
2116
|
+
tmp0_serialDesc.iv('tag', false);
|
|
2117
|
+
this.u29_1 = tmp0_serialDesc;
|
|
2118
|
+
}
|
|
2119
|
+
protoOf($serializer_4).v29 = function (encoder, value) {
|
|
2120
|
+
var tmp0_desc = this.u29_1;
|
|
2121
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2122
|
+
tmp1_output.hp(tmp0_desc, 0, value.w29_1);
|
|
2123
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.x29_1);
|
|
2124
|
+
tmp1_output.tn(tmp0_desc);
|
|
2125
|
+
};
|
|
2126
|
+
protoOf($serializer_4).kk = function (encoder, value) {
|
|
2127
|
+
return this.v29(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2128
|
+
};
|
|
2129
|
+
protoOf($serializer_4).lk = function (decoder) {
|
|
2130
|
+
var tmp0_desc = this.u29_1;
|
|
2070
2131
|
var tmp1_flag = true;
|
|
2071
2132
|
var tmp2_index = 0;
|
|
2072
2133
|
var tmp3_bitMask0 = 0;
|
|
2073
2134
|
var tmp4_local0 = null;
|
|
2074
2135
|
var tmp5_local1 = null;
|
|
2075
|
-
var tmp6_input = decoder.
|
|
2076
|
-
if (tmp6_input.
|
|
2077
|
-
tmp4_local0 = tmp6_input.
|
|
2136
|
+
var tmp6_input = decoder.sn(tmp0_desc);
|
|
2137
|
+
if (tmp6_input.io()) {
|
|
2138
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2078
2139
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2079
|
-
tmp5_local1 = tmp6_input.
|
|
2140
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2080
2141
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2081
2142
|
} else
|
|
2082
2143
|
while (tmp1_flag) {
|
|
2083
|
-
tmp2_index = tmp6_input.
|
|
2144
|
+
tmp2_index = tmp6_input.jo(tmp0_desc);
|
|
2084
2145
|
switch (tmp2_index) {
|
|
2085
2146
|
case -1:
|
|
2086
2147
|
tmp1_flag = false;
|
|
2087
2148
|
break;
|
|
2088
2149
|
case 0:
|
|
2089
|
-
tmp4_local0 = tmp6_input.
|
|
2150
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2090
2151
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2091
2152
|
break;
|
|
2092
2153
|
case 1:
|
|
2093
|
-
tmp5_local1 = tmp6_input.
|
|
2154
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2094
2155
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2095
2156
|
break;
|
|
2096
2157
|
default:
|
|
2097
2158
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2098
2159
|
}
|
|
2099
2160
|
}
|
|
2100
|
-
tmp6_input.
|
|
2161
|
+
tmp6_input.tn(tmp0_desc);
|
|
2101
2162
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2102
2163
|
};
|
|
2103
|
-
protoOf($
|
|
2104
|
-
return this.
|
|
2164
|
+
protoOf($serializer_4).jk = function () {
|
|
2165
|
+
return this.u29_1;
|
|
2105
2166
|
};
|
|
2106
|
-
protoOf($
|
|
2167
|
+
protoOf($serializer_4).xv = function () {
|
|
2107
2168
|
// Inline function 'kotlin.arrayOf' call
|
|
2108
2169
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2109
2170
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2110
2171
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2111
2172
|
};
|
|
2112
|
-
var $
|
|
2113
|
-
function $
|
|
2114
|
-
if ($
|
|
2115
|
-
new $
|
|
2116
|
-
return $
|
|
2173
|
+
var $serializer_instance_4;
|
|
2174
|
+
function $serializer_getInstance_4() {
|
|
2175
|
+
if ($serializer_instance_4 == null)
|
|
2176
|
+
new $serializer_4();
|
|
2177
|
+
return $serializer_instance_4;
|
|
2117
2178
|
}
|
|
2118
2179
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2119
2180
|
if (!(3 === (3 & seen0))) {
|
|
2120
|
-
throwMissingFieldException(seen0, 3, $
|
|
2181
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().u29_1);
|
|
2121
2182
|
}
|
|
2122
2183
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2123
|
-
$this.
|
|
2124
|
-
$this.
|
|
2184
|
+
$this.w29_1 = playerId;
|
|
2185
|
+
$this.x29_1 = tag;
|
|
2125
2186
|
return $this;
|
|
2126
2187
|
}
|
|
2127
2188
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2129,15 +2190,15 @@
|
|
|
2129
2190
|
}
|
|
2130
2191
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2131
2192
|
TerminationGameReasonDto.call(this);
|
|
2132
|
-
this.
|
|
2133
|
-
this.
|
|
2193
|
+
this.w29_1 = playerId;
|
|
2194
|
+
this.x29_1 = tag;
|
|
2134
2195
|
}
|
|
2135
2196
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2136
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2197
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.w29_1 + ', tag=' + this.x29_1 + ')';
|
|
2137
2198
|
};
|
|
2138
2199
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2139
|
-
var result = getStringHashCode(this.
|
|
2140
|
-
result = imul(result, 31) + (this.
|
|
2200
|
+
var result = getStringHashCode(this.w29_1);
|
|
2201
|
+
result = imul(result, 31) + (this.x29_1 == null ? 0 : getStringHashCode(this.x29_1)) | 0;
|
|
2141
2202
|
return result;
|
|
2142
2203
|
};
|
|
2143
2204
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2146,92 +2207,92 @@
|
|
|
2146
2207
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2147
2208
|
return false;
|
|
2148
2209
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReasonDto ? other : THROW_CCE();
|
|
2149
|
-
if (!(this.
|
|
2210
|
+
if (!(this.w29_1 === tmp0_other_with_cast.w29_1))
|
|
2150
2211
|
return false;
|
|
2151
|
-
if (!(this.
|
|
2212
|
+
if (!(this.x29_1 == tmp0_other_with_cast.x29_1))
|
|
2152
2213
|
return false;
|
|
2153
2214
|
return true;
|
|
2154
2215
|
};
|
|
2155
|
-
function
|
|
2216
|
+
function Companion_14() {
|
|
2156
2217
|
}
|
|
2157
|
-
var
|
|
2158
|
-
function
|
|
2159
|
-
return
|
|
2218
|
+
var Companion_instance_14;
|
|
2219
|
+
function Companion_getInstance_16() {
|
|
2220
|
+
return Companion_instance_14;
|
|
2160
2221
|
}
|
|
2161
|
-
function $
|
|
2162
|
-
$
|
|
2222
|
+
function $serializer_5() {
|
|
2223
|
+
$serializer_instance_5 = this;
|
|
2163
2224
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2164
|
-
tmp0_serialDesc.
|
|
2165
|
-
tmp0_serialDesc.
|
|
2166
|
-
this.
|
|
2167
|
-
}
|
|
2168
|
-
protoOf($
|
|
2169
|
-
var tmp0_desc = this.
|
|
2170
|
-
var tmp1_output = encoder.
|
|
2171
|
-
tmp1_output.
|
|
2172
|
-
tmp1_output.
|
|
2173
|
-
tmp1_output.
|
|
2174
|
-
};
|
|
2175
|
-
protoOf($
|
|
2176
|
-
return this.
|
|
2177
|
-
};
|
|
2178
|
-
protoOf($
|
|
2179
|
-
var tmp0_desc = this.
|
|
2225
|
+
tmp0_serialDesc.iv('playerId', false);
|
|
2226
|
+
tmp0_serialDesc.iv('tag', false);
|
|
2227
|
+
this.y29_1 = tmp0_serialDesc;
|
|
2228
|
+
}
|
|
2229
|
+
protoOf($serializer_5).z29 = function (encoder, value) {
|
|
2230
|
+
var tmp0_desc = this.y29_1;
|
|
2231
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2232
|
+
tmp1_output.hp(tmp0_desc, 0, value.a2a_1);
|
|
2233
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.b2a_1);
|
|
2234
|
+
tmp1_output.tn(tmp0_desc);
|
|
2235
|
+
};
|
|
2236
|
+
protoOf($serializer_5).kk = function (encoder, value) {
|
|
2237
|
+
return this.z29(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2238
|
+
};
|
|
2239
|
+
protoOf($serializer_5).lk = function (decoder) {
|
|
2240
|
+
var tmp0_desc = this.y29_1;
|
|
2180
2241
|
var tmp1_flag = true;
|
|
2181
2242
|
var tmp2_index = 0;
|
|
2182
2243
|
var tmp3_bitMask0 = 0;
|
|
2183
2244
|
var tmp4_local0 = null;
|
|
2184
2245
|
var tmp5_local1 = null;
|
|
2185
|
-
var tmp6_input = decoder.
|
|
2186
|
-
if (tmp6_input.
|
|
2187
|
-
tmp4_local0 = tmp6_input.
|
|
2246
|
+
var tmp6_input = decoder.sn(tmp0_desc);
|
|
2247
|
+
if (tmp6_input.io()) {
|
|
2248
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2188
2249
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2189
|
-
tmp5_local1 = tmp6_input.
|
|
2250
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2190
2251
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2191
2252
|
} else
|
|
2192
2253
|
while (tmp1_flag) {
|
|
2193
|
-
tmp2_index = tmp6_input.
|
|
2254
|
+
tmp2_index = tmp6_input.jo(tmp0_desc);
|
|
2194
2255
|
switch (tmp2_index) {
|
|
2195
2256
|
case -1:
|
|
2196
2257
|
tmp1_flag = false;
|
|
2197
2258
|
break;
|
|
2198
2259
|
case 0:
|
|
2199
|
-
tmp4_local0 = tmp6_input.
|
|
2260
|
+
tmp4_local0 = tmp6_input.co(tmp0_desc, 0);
|
|
2200
2261
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2201
2262
|
break;
|
|
2202
2263
|
case 1:
|
|
2203
|
-
tmp5_local1 = tmp6_input.
|
|
2264
|
+
tmp5_local1 = tmp6_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2204
2265
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2205
2266
|
break;
|
|
2206
2267
|
default:
|
|
2207
2268
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2208
2269
|
}
|
|
2209
2270
|
}
|
|
2210
|
-
tmp6_input.
|
|
2271
|
+
tmp6_input.tn(tmp0_desc);
|
|
2211
2272
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2212
2273
|
};
|
|
2213
|
-
protoOf($
|
|
2214
|
-
return this.
|
|
2274
|
+
protoOf($serializer_5).jk = function () {
|
|
2275
|
+
return this.y29_1;
|
|
2215
2276
|
};
|
|
2216
|
-
protoOf($
|
|
2277
|
+
protoOf($serializer_5).xv = function () {
|
|
2217
2278
|
// Inline function 'kotlin.arrayOf' call
|
|
2218
2279
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2219
2280
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2220
2281
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2221
2282
|
};
|
|
2222
|
-
var $
|
|
2223
|
-
function $
|
|
2224
|
-
if ($
|
|
2225
|
-
new $
|
|
2226
|
-
return $
|
|
2283
|
+
var $serializer_instance_5;
|
|
2284
|
+
function $serializer_getInstance_5() {
|
|
2285
|
+
if ($serializer_instance_5 == null)
|
|
2286
|
+
new $serializer_5();
|
|
2287
|
+
return $serializer_instance_5;
|
|
2227
2288
|
}
|
|
2228
2289
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2229
2290
|
if (!(3 === (3 & seen0))) {
|
|
2230
|
-
throwMissingFieldException(seen0, 3, $
|
|
2291
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().y29_1);
|
|
2231
2292
|
}
|
|
2232
2293
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2233
|
-
$this.
|
|
2234
|
-
$this.
|
|
2294
|
+
$this.a2a_1 = playerId;
|
|
2295
|
+
$this.b2a_1 = tag;
|
|
2235
2296
|
return $this;
|
|
2236
2297
|
}
|
|
2237
2298
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2239,15 +2300,15 @@
|
|
|
2239
2300
|
}
|
|
2240
2301
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2241
2302
|
TerminationGameReasonDto.call(this);
|
|
2242
|
-
this.
|
|
2243
|
-
this.
|
|
2303
|
+
this.a2a_1 = playerId;
|
|
2304
|
+
this.b2a_1 = tag;
|
|
2244
2305
|
}
|
|
2245
2306
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2246
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2307
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.a2a_1 + ', tag=' + this.b2a_1 + ')';
|
|
2247
2308
|
};
|
|
2248
2309
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2249
|
-
var result = getStringHashCode(this.
|
|
2250
|
-
result = imul(result, 31) + (this.
|
|
2310
|
+
var result = getStringHashCode(this.a2a_1);
|
|
2311
|
+
result = imul(result, 31) + (this.b2a_1 == null ? 0 : getStringHashCode(this.b2a_1)) | 0;
|
|
2251
2312
|
return result;
|
|
2252
2313
|
};
|
|
2253
2314
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2256,14 +2317,14 @@
|
|
|
2256
2317
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2257
2318
|
return false;
|
|
2258
2319
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReasonDto ? other : THROW_CCE();
|
|
2259
|
-
if (!(this.
|
|
2320
|
+
if (!(this.a2a_1 === tmp0_other_with_cast.a2a_1))
|
|
2260
2321
|
return false;
|
|
2261
|
-
if (!(this.
|
|
2322
|
+
if (!(this.b2a_1 == tmp0_other_with_cast.b2a_1))
|
|
2262
2323
|
return false;
|
|
2263
2324
|
return true;
|
|
2264
2325
|
};
|
|
2265
|
-
function _get_$
|
|
2266
|
-
return $this.
|
|
2326
|
+
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2327
|
+
return $this.c2a_1.a2();
|
|
2267
2328
|
}
|
|
2268
2329
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2269
2330
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2278,13 +2339,13 @@
|
|
|
2278
2339
|
TerminationGameReasonDto.call(this);
|
|
2279
2340
|
var tmp = this;
|
|
2280
2341
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2281
|
-
tmp.
|
|
2342
|
+
tmp.c2a_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2282
2343
|
}
|
|
2283
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2284
|
-
return _get_$
|
|
2344
|
+
protoOf(WaitingForConnectionReasonDto).z17 = function () {
|
|
2345
|
+
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2285
2346
|
};
|
|
2286
|
-
protoOf(WaitingForConnectionReasonDto).
|
|
2287
|
-
return this.
|
|
2347
|
+
protoOf(WaitingForConnectionReasonDto).iw = function (typeParamsSerializers) {
|
|
2348
|
+
return this.z17();
|
|
2288
2349
|
};
|
|
2289
2350
|
protoOf(WaitingForConnectionReasonDto).toString = function () {
|
|
2290
2351
|
return 'WaitingForConnectionReasonDto';
|
|
@@ -2307,11 +2368,17 @@
|
|
|
2307
2368
|
return WaitingForConnectionReasonDto_instance;
|
|
2308
2369
|
}
|
|
2309
2370
|
function mapToDto(_this__u8e3s4) {
|
|
2310
|
-
return _this__u8e3s4.
|
|
2371
|
+
return _this__u8e3s4.r25_1;
|
|
2311
2372
|
}
|
|
2312
2373
|
function mapFromDto(_this__u8e3s4) {
|
|
2313
2374
|
return new GameCard(_this__u8e3s4);
|
|
2314
2375
|
}
|
|
2376
|
+
function mapToDto_0(_this__u8e3s4) {
|
|
2377
|
+
return _this__u8e3s4.j29_1;
|
|
2378
|
+
}
|
|
2379
|
+
function mapFromDto_0(_this__u8e3s4) {
|
|
2380
|
+
return new Team(_this__u8e3s4);
|
|
2381
|
+
}
|
|
2315
2382
|
function get_gameErrorReasonMapping() {
|
|
2316
2383
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2317
2384
|
return gameErrorReasonMapping;
|
|
@@ -2322,29 +2389,29 @@
|
|
|
2322
2389
|
return gameFinishedReasonMapping;
|
|
2323
2390
|
}
|
|
2324
2391
|
var gameFinishedReasonMapping;
|
|
2325
|
-
function
|
|
2392
|
+
function mapToDto_1(_this__u8e3s4) {
|
|
2326
2393
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2327
2394
|
var tmp;
|
|
2328
2395
|
if (_this__u8e3s4 instanceof GameErrorReason) {
|
|
2329
|
-
tmp =
|
|
2396
|
+
tmp = mapToDto_2(_this__u8e3s4);
|
|
2330
2397
|
} else {
|
|
2331
2398
|
if (_this__u8e3s4 instanceof GameFinishedReason) {
|
|
2332
|
-
tmp =
|
|
2399
|
+
tmp = mapToDto_3(_this__u8e3s4);
|
|
2333
2400
|
} else {
|
|
2334
2401
|
if (_this__u8e3s4 instanceof PlayerExitReason) {
|
|
2335
|
-
tmp =
|
|
2402
|
+
tmp = mapToDto_4(_this__u8e3s4);
|
|
2336
2403
|
} else {
|
|
2337
2404
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReason) {
|
|
2338
|
-
tmp =
|
|
2405
|
+
tmp = mapToDto_5(_this__u8e3s4);
|
|
2339
2406
|
} else {
|
|
2340
2407
|
if (_this__u8e3s4 instanceof PlayerTimeoutReason) {
|
|
2341
|
-
tmp =
|
|
2408
|
+
tmp = mapToDto_6(_this__u8e3s4);
|
|
2342
2409
|
} else {
|
|
2343
2410
|
if (_this__u8e3s4 instanceof ProcessingReason) {
|
|
2344
|
-
tmp =
|
|
2411
|
+
tmp = mapToDto_7(_this__u8e3s4);
|
|
2345
2412
|
} else {
|
|
2346
2413
|
if (_this__u8e3s4 instanceof WaitingForConnectionReason) {
|
|
2347
|
-
tmp =
|
|
2414
|
+
tmp = mapToDto_8(_this__u8e3s4);
|
|
2348
2415
|
} else {
|
|
2349
2416
|
noWhenBranchMatchedException();
|
|
2350
2417
|
}
|
|
@@ -2356,29 +2423,29 @@
|
|
|
2356
2423
|
}
|
|
2357
2424
|
return tmp;
|
|
2358
2425
|
}
|
|
2359
|
-
function
|
|
2426
|
+
function mapFromDto_1(_this__u8e3s4) {
|
|
2360
2427
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2361
2428
|
var tmp;
|
|
2362
2429
|
if (_this__u8e3s4 instanceof GameErrorReasonDto) {
|
|
2363
|
-
tmp =
|
|
2430
|
+
tmp = mapFromDto_2(_this__u8e3s4);
|
|
2364
2431
|
} else {
|
|
2365
2432
|
if (_this__u8e3s4 instanceof GameFinishedReasonDto) {
|
|
2366
|
-
tmp =
|
|
2433
|
+
tmp = mapFromDto_3(_this__u8e3s4);
|
|
2367
2434
|
} else {
|
|
2368
2435
|
if (_this__u8e3s4 instanceof PlayerExitReasonDto) {
|
|
2369
|
-
tmp =
|
|
2436
|
+
tmp = mapFromDto_4(_this__u8e3s4);
|
|
2370
2437
|
} else {
|
|
2371
2438
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReasonDto) {
|
|
2372
|
-
tmp =
|
|
2439
|
+
tmp = mapFromDto_5(_this__u8e3s4);
|
|
2373
2440
|
} else {
|
|
2374
2441
|
if (_this__u8e3s4 instanceof PlayerTimeoutReasonDto) {
|
|
2375
|
-
tmp =
|
|
2442
|
+
tmp = mapFromDto_6(_this__u8e3s4);
|
|
2376
2443
|
} else {
|
|
2377
2444
|
if (_this__u8e3s4 instanceof ProcessingReasonDto) {
|
|
2378
|
-
tmp =
|
|
2445
|
+
tmp = mapFromDto_7(_this__u8e3s4);
|
|
2379
2446
|
} else {
|
|
2380
2447
|
if (_this__u8e3s4 instanceof WaitingForConnectionReasonDto) {
|
|
2381
|
-
tmp =
|
|
2448
|
+
tmp = mapFromDto_8(_this__u8e3s4);
|
|
2382
2449
|
} else {
|
|
2383
2450
|
noWhenBranchMatchedException();
|
|
2384
2451
|
}
|
|
@@ -2390,61 +2457,61 @@
|
|
|
2390
2457
|
}
|
|
2391
2458
|
return tmp;
|
|
2392
2459
|
}
|
|
2393
|
-
function mapToDto_1(_this__u8e3s4) {
|
|
2394
|
-
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2395
|
-
return new GameErrorReasonDto(enumToString(_this__u8e3s4.reason, get_gameErrorReasonMapping()));
|
|
2396
|
-
}
|
|
2397
2460
|
function mapToDto_2(_this__u8e3s4) {
|
|
2398
2461
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2399
|
-
return new
|
|
2462
|
+
return new GameErrorReasonDto(enumToString(_this__u8e3s4.reason, get_gameErrorReasonMapping()));
|
|
2400
2463
|
}
|
|
2401
2464
|
function mapToDto_3(_this__u8e3s4) {
|
|
2402
2465
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2403
|
-
return new
|
|
2466
|
+
return new GameFinishedReasonDto(enumToString(_this__u8e3s4.reason, get_gameFinishedReasonMapping()));
|
|
2404
2467
|
}
|
|
2405
2468
|
function mapToDto_4(_this__u8e3s4) {
|
|
2406
2469
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2407
|
-
return new
|
|
2470
|
+
return new PlayerExitReasonDto(_this__u8e3s4.y26_1);
|
|
2408
2471
|
}
|
|
2409
2472
|
function mapToDto_5(_this__u8e3s4) {
|
|
2410
2473
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2411
|
-
return new
|
|
2474
|
+
return new PlayerLostConnectionReasonDto(_this__u8e3s4.s26_1, _this__u8e3s4.tag);
|
|
2412
2475
|
}
|
|
2413
2476
|
function mapToDto_6(_this__u8e3s4) {
|
|
2414
2477
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2415
|
-
return
|
|
2478
|
+
return new PlayerTimeoutReasonDto(_this__u8e3s4.x26_1, _this__u8e3s4.tag);
|
|
2416
2479
|
}
|
|
2417
2480
|
function mapToDto_7(_this__u8e3s4) {
|
|
2418
2481
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2419
|
-
return
|
|
2482
|
+
return ProcessingReasonDto_getInstance();
|
|
2420
2483
|
}
|
|
2421
|
-
function
|
|
2484
|
+
function mapToDto_8(_this__u8e3s4) {
|
|
2422
2485
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2423
|
-
|
|
2424
|
-
return new GameErrorReason(tmp0_elvis_lhs == null ? Reason_INTERNAL_ERROR_getInstance() : tmp0_elvis_lhs);
|
|
2486
|
+
return WaitingForConnectionReasonDto_getInstance();
|
|
2425
2487
|
}
|
|
2426
2488
|
function mapFromDto_2(_this__u8e3s4) {
|
|
2427
2489
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2428
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
2429
|
-
return new
|
|
2490
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.reason, get_gameErrorReasonMapping());
|
|
2491
|
+
return new GameErrorReason(tmp0_elvis_lhs == null ? Reason_INTERNAL_ERROR_getInstance() : tmp0_elvis_lhs);
|
|
2430
2492
|
}
|
|
2431
2493
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2432
2494
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2433
|
-
|
|
2495
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.q29_1, get_gameFinishedReasonMapping());
|
|
2496
|
+
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2434
2497
|
}
|
|
2435
2498
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2436
2499
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2437
|
-
return new
|
|
2500
|
+
return new PlayerExitReason(_this__u8e3s4.t29_1);
|
|
2438
2501
|
}
|
|
2439
2502
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2440
2503
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2441
|
-
return new
|
|
2504
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.w29_1, _this__u8e3s4.x29_1);
|
|
2442
2505
|
}
|
|
2443
2506
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2444
2507
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2445
|
-
return
|
|
2508
|
+
return new PlayerTimeoutReason(_this__u8e3s4.a2a_1, _this__u8e3s4.b2a_1);
|
|
2446
2509
|
}
|
|
2447
2510
|
function mapFromDto_7(_this__u8e3s4) {
|
|
2511
|
+
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2512
|
+
return ProcessingReason_getInstance();
|
|
2513
|
+
}
|
|
2514
|
+
function mapFromDto_8(_this__u8e3s4) {
|
|
2448
2515
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2449
2516
|
return WaitingForConnectionReason_getInstance();
|
|
2450
2517
|
}
|
|
@@ -2480,9 +2547,9 @@
|
|
|
2480
2547
|
gameFinishedReasonMapping = destination_0;
|
|
2481
2548
|
}
|
|
2482
2549
|
}
|
|
2483
|
-
function
|
|
2484
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2485
|
-
var tmp1_uid = _this__u8e3s4.
|
|
2550
|
+
function mapToDto_9(_this__u8e3s4) {
|
|
2551
|
+
var tmp0_playerId = _this__u8e3s4.j27_1;
|
|
2552
|
+
var tmp1_uid = _this__u8e3s4.j27_1;
|
|
2486
2553
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
2487
2554
|
var tmp3_name = _this__u8e3s4.name;
|
|
2488
2555
|
var tmp4_photo = _this__u8e3s4.avatarUrl;
|
|
@@ -2499,73 +2566,108 @@
|
|
|
2499
2566
|
}
|
|
2500
2567
|
var tmp6_isBot = tmp;
|
|
2501
2568
|
var tmp7_initialLuckyFactor = _this__u8e3s4.initialLuckyFactor;
|
|
2502
|
-
var tmp8_rating = _this__u8e3s4.
|
|
2569
|
+
var tmp8_rating = _this__u8e3s4.rating;
|
|
2503
2570
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2504
2571
|
}
|
|
2505
|
-
function
|
|
2506
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2507
|
-
var
|
|
2508
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
2509
|
-
var
|
|
2510
|
-
var tmp2_elvis_lhs = _this__u8e3s4.
|
|
2511
|
-
var
|
|
2512
|
-
var tmp3_elvis_lhs = _this__u8e3s4.
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2572
|
+
function mapFromDto_9(_this__u8e3s4) {
|
|
2573
|
+
var tmp0_elvis_lhs = _this__u8e3s4.d2a_1;
|
|
2574
|
+
var tmp = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.e2a_1) : tmp0_elvis_lhs;
|
|
2575
|
+
var tmp1_elvis_lhs = _this__u8e3s4.f2a_1;
|
|
2576
|
+
var tmp_0 = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.g2a_1) : tmp1_elvis_lhs;
|
|
2577
|
+
var tmp2_elvis_lhs = _this__u8e3s4.h2a_1;
|
|
2578
|
+
var tmp_1 = tmp2_elvis_lhs == null ? _this__u8e3s4.i2a_1 : tmp2_elvis_lhs;
|
|
2579
|
+
var tmp3_elvis_lhs = _this__u8e3s4.k2a_1;
|
|
2580
|
+
return new GameUserInfo(tmp, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs, _this__u8e3s4.l2a_1, _this__u8e3s4.j2a_1);
|
|
2581
|
+
}
|
|
2582
|
+
function mapToDto_10(_this__u8e3s4) {
|
|
2583
|
+
var tmp0_safe_receiver = _this__u8e3s4.w27_1;
|
|
2584
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n1w();
|
|
2585
|
+
var tmp6_startFromTime = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
|
|
2586
|
+
var tmp2_safe_receiver = _this__u8e3s4.w27_1;
|
|
2587
|
+
var tmp7_startFrom = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2588
|
+
var tmp3_safe_receiver = _this__u8e3s4.y27_1;
|
|
2589
|
+
var tmp8_waitPlayerUntilTime = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
|
|
2590
|
+
var tmp4_safe_receiver = _this__u8e3s4.x27_1;
|
|
2591
|
+
var tmp9_playerTurnTimeout = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.toString();
|
|
2592
|
+
var tmp10_state = _this__u8e3s4.z27_1;
|
|
2593
|
+
var tmp11_tag = _this__u8e3s4.b28_1;
|
|
2594
|
+
var tmp12_ready = _this__u8e3s4.a28_1;
|
|
2595
|
+
var tmp5_safe_receiver = _this__u8e3s4.c28_1;
|
|
2596
|
+
var tmp13_connection = tmp5_safe_receiver == null ? null : mapToDto_11(tmp5_safe_receiver);
|
|
2597
|
+
return new PlayerStateDto(tmp6_startFromTime, tmp7_startFrom, tmp9_playerTurnTimeout, tmp8_waitPlayerUntilTime, tmp10_state, tmp12_ready, tmp11_tag, tmp13_connection);
|
|
2598
|
+
}
|
|
2599
|
+
function mapFromDto_10(_this__u8e3s4) {
|
|
2600
|
+
var tmp0_safe_receiver = _this__u8e3s4.n2a_1;
|
|
2601
|
+
var tmp5_startFromTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2602
|
+
var tmp1_safe_receiver = _this__u8e3s4.p2a_1;
|
|
2603
|
+
var tmp6_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : toInstant(tmp1_safe_receiver);
|
|
2604
|
+
var tmp2_safe_receiver = _this__u8e3s4.o2a_1;
|
|
2605
|
+
var tmp7_playerTurnTimeout = tmp2_safe_receiver == null ? null : toInstant(tmp2_safe_receiver);
|
|
2606
|
+
var tmp8_state = _this__u8e3s4.q2a_1;
|
|
2607
|
+
var tmp9_tag = _this__u8e3s4.s2a_1;
|
|
2608
|
+
var tmp3_elvis_lhs = _this__u8e3s4.r2a_1;
|
|
2609
|
+
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2610
|
+
var tmp4_safe_receiver = _this__u8e3s4.t2a_1;
|
|
2611
|
+
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_11(tmp4_safe_receiver);
|
|
2612
|
+
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2613
|
+
}
|
|
2614
|
+
function mapToDto_11(_this__u8e3s4) {
|
|
2615
|
+
return new PlayerConnectionDto(_this__u8e3s4.h28_1, _this__u8e3s4.i28_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.j28_1));
|
|
2616
|
+
}
|
|
2617
|
+
function mapFromDto_11(_this__u8e3s4) {
|
|
2618
|
+
return new PlayerConnection(_this__u8e3s4.u2a_1, toInstant(_this__u8e3s4.v2a_1), Companion_getInstance().kg(_this__u8e3s4.w2a_1));
|
|
2517
2619
|
}
|
|
2518
|
-
function
|
|
2620
|
+
function Companion_15() {
|
|
2519
2621
|
}
|
|
2520
|
-
var
|
|
2521
|
-
function
|
|
2522
|
-
return
|
|
2622
|
+
var Companion_instance_15;
|
|
2623
|
+
function Companion_getInstance_17() {
|
|
2624
|
+
return Companion_instance_15;
|
|
2523
2625
|
}
|
|
2524
|
-
function $
|
|
2525
|
-
$
|
|
2626
|
+
function $serializer_6() {
|
|
2627
|
+
$serializer_instance_6 = this;
|
|
2526
2628
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 9);
|
|
2527
|
-
tmp0_serialDesc.
|
|
2528
|
-
tmp0_serialDesc.
|
|
2529
|
-
tmp0_serialDesc.
|
|
2530
|
-
tmp0_serialDesc.
|
|
2531
|
-
tmp0_serialDesc.
|
|
2532
|
-
tmp0_serialDesc.
|
|
2533
|
-
tmp0_serialDesc.
|
|
2534
|
-
tmp0_serialDesc.
|
|
2535
|
-
tmp0_serialDesc.
|
|
2536
|
-
this.
|
|
2537
|
-
}
|
|
2538
|
-
protoOf($
|
|
2539
|
-
var tmp0_desc = this.
|
|
2540
|
-
var tmp1_output = encoder.
|
|
2541
|
-
if (tmp1_output.
|
|
2542
|
-
tmp1_output.
|
|
2543
|
-
}
|
|
2544
|
-
if (tmp1_output.
|
|
2545
|
-
tmp1_output.
|
|
2546
|
-
}
|
|
2547
|
-
if (tmp1_output.
|
|
2548
|
-
tmp1_output.
|
|
2549
|
-
}
|
|
2550
|
-
if (tmp1_output.
|
|
2551
|
-
tmp1_output.
|
|
2552
|
-
}
|
|
2553
|
-
if (tmp1_output.
|
|
2554
|
-
tmp1_output.
|
|
2555
|
-
}
|
|
2556
|
-
if (tmp1_output.
|
|
2557
|
-
tmp1_output.
|
|
2558
|
-
}
|
|
2559
|
-
tmp1_output.
|
|
2560
|
-
tmp1_output.
|
|
2561
|
-
tmp1_output.
|
|
2562
|
-
tmp1_output.
|
|
2563
|
-
};
|
|
2564
|
-
protoOf($
|
|
2565
|
-
return this.
|
|
2566
|
-
};
|
|
2567
|
-
protoOf($
|
|
2568
|
-
var tmp0_desc = this.
|
|
2629
|
+
tmp0_serialDesc.iv('playerId', true);
|
|
2630
|
+
tmp0_serialDesc.iv('uid', true);
|
|
2631
|
+
tmp0_serialDesc.iv('name', true);
|
|
2632
|
+
tmp0_serialDesc.iv('nickname', true);
|
|
2633
|
+
tmp0_serialDesc.iv('avatarUrl', true);
|
|
2634
|
+
tmp0_serialDesc.iv('photo', true);
|
|
2635
|
+
tmp0_serialDesc.iv('rating', false);
|
|
2636
|
+
tmp0_serialDesc.iv('is_bot', false);
|
|
2637
|
+
tmp0_serialDesc.iv('lucky_factor', false);
|
|
2638
|
+
this.x2a_1 = tmp0_serialDesc;
|
|
2639
|
+
}
|
|
2640
|
+
protoOf($serializer_6).y2a = function (encoder, value) {
|
|
2641
|
+
var tmp0_desc = this.x2a_1;
|
|
2642
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2643
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.d2a_1 == null)) {
|
|
2644
|
+
tmp1_output.lp(tmp0_desc, 0, StringSerializer_getInstance(), value.d2a_1);
|
|
2645
|
+
}
|
|
2646
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.e2a_1 == null)) {
|
|
2647
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.e2a_1);
|
|
2648
|
+
}
|
|
2649
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.f2a_1 == null)) {
|
|
2650
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.f2a_1);
|
|
2651
|
+
}
|
|
2652
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.g2a_1 == null)) {
|
|
2653
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.g2a_1);
|
|
2654
|
+
}
|
|
2655
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.h2a_1 == null)) {
|
|
2656
|
+
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.h2a_1);
|
|
2657
|
+
}
|
|
2658
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.i2a_1 == null)) {
|
|
2659
|
+
tmp1_output.lp(tmp0_desc, 5, StringSerializer_getInstance(), value.i2a_1);
|
|
2660
|
+
}
|
|
2661
|
+
tmp1_output.lp(tmp0_desc, 6, DoubleSerializer_getInstance(), value.j2a_1);
|
|
2662
|
+
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.k2a_1);
|
|
2663
|
+
tmp1_output.lp(tmp0_desc, 8, FloatSerializer_getInstance(), value.l2a_1);
|
|
2664
|
+
tmp1_output.tn(tmp0_desc);
|
|
2665
|
+
};
|
|
2666
|
+
protoOf($serializer_6).kk = function (encoder, value) {
|
|
2667
|
+
return this.y2a(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2668
|
+
};
|
|
2669
|
+
protoOf($serializer_6).lk = function (decoder) {
|
|
2670
|
+
var tmp0_desc = this.x2a_1;
|
|
2569
2671
|
var tmp1_flag = true;
|
|
2570
2672
|
var tmp2_index = 0;
|
|
2571
2673
|
var tmp3_bitMask0 = 0;
|
|
@@ -2578,122 +2680,122 @@
|
|
|
2578
2680
|
var tmp10_local6 = null;
|
|
2579
2681
|
var tmp11_local7 = null;
|
|
2580
2682
|
var tmp12_local8 = null;
|
|
2581
|
-
var tmp13_input = decoder.
|
|
2582
|
-
if (tmp13_input.
|
|
2583
|
-
tmp4_local0 = tmp13_input.
|
|
2683
|
+
var tmp13_input = decoder.sn(tmp0_desc);
|
|
2684
|
+
if (tmp13_input.io()) {
|
|
2685
|
+
tmp4_local0 = tmp13_input.go(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2584
2686
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2585
|
-
tmp5_local1 = tmp13_input.
|
|
2687
|
+
tmp5_local1 = tmp13_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2586
2688
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2587
|
-
tmp6_local2 = tmp13_input.
|
|
2689
|
+
tmp6_local2 = tmp13_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2588
2690
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2589
|
-
tmp7_local3 = tmp13_input.
|
|
2691
|
+
tmp7_local3 = tmp13_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2590
2692
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2591
|
-
tmp8_local4 = tmp13_input.
|
|
2693
|
+
tmp8_local4 = tmp13_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2592
2694
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2593
|
-
tmp9_local5 = tmp13_input.
|
|
2695
|
+
tmp9_local5 = tmp13_input.go(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2594
2696
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2595
|
-
tmp10_local6 = tmp13_input.
|
|
2697
|
+
tmp10_local6 = tmp13_input.go(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2596
2698
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2597
|
-
tmp11_local7 = tmp13_input.
|
|
2699
|
+
tmp11_local7 = tmp13_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2598
2700
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2599
|
-
tmp12_local8 = tmp13_input.
|
|
2701
|
+
tmp12_local8 = tmp13_input.go(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2600
2702
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2601
2703
|
} else
|
|
2602
2704
|
while (tmp1_flag) {
|
|
2603
|
-
tmp2_index = tmp13_input.
|
|
2705
|
+
tmp2_index = tmp13_input.jo(tmp0_desc);
|
|
2604
2706
|
switch (tmp2_index) {
|
|
2605
2707
|
case -1:
|
|
2606
2708
|
tmp1_flag = false;
|
|
2607
2709
|
break;
|
|
2608
2710
|
case 0:
|
|
2609
|
-
tmp4_local0 = tmp13_input.
|
|
2711
|
+
tmp4_local0 = tmp13_input.go(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2610
2712
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2611
2713
|
break;
|
|
2612
2714
|
case 1:
|
|
2613
|
-
tmp5_local1 = tmp13_input.
|
|
2715
|
+
tmp5_local1 = tmp13_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2614
2716
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2615
2717
|
break;
|
|
2616
2718
|
case 2:
|
|
2617
|
-
tmp6_local2 = tmp13_input.
|
|
2719
|
+
tmp6_local2 = tmp13_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2618
2720
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2619
2721
|
break;
|
|
2620
2722
|
case 3:
|
|
2621
|
-
tmp7_local3 = tmp13_input.
|
|
2723
|
+
tmp7_local3 = tmp13_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2622
2724
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2623
2725
|
break;
|
|
2624
2726
|
case 4:
|
|
2625
|
-
tmp8_local4 = tmp13_input.
|
|
2727
|
+
tmp8_local4 = tmp13_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2626
2728
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2627
2729
|
break;
|
|
2628
2730
|
case 5:
|
|
2629
|
-
tmp9_local5 = tmp13_input.
|
|
2731
|
+
tmp9_local5 = tmp13_input.go(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2630
2732
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2631
2733
|
break;
|
|
2632
2734
|
case 6:
|
|
2633
|
-
tmp10_local6 = tmp13_input.
|
|
2735
|
+
tmp10_local6 = tmp13_input.go(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2634
2736
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2635
2737
|
break;
|
|
2636
2738
|
case 7:
|
|
2637
|
-
tmp11_local7 = tmp13_input.
|
|
2739
|
+
tmp11_local7 = tmp13_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2638
2740
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2639
2741
|
break;
|
|
2640
2742
|
case 8:
|
|
2641
|
-
tmp12_local8 = tmp13_input.
|
|
2743
|
+
tmp12_local8 = tmp13_input.go(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2642
2744
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2643
2745
|
break;
|
|
2644
2746
|
default:
|
|
2645
2747
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2646
2748
|
}
|
|
2647
2749
|
}
|
|
2648
|
-
tmp13_input.
|
|
2750
|
+
tmp13_input.tn(tmp0_desc);
|
|
2649
2751
|
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);
|
|
2650
2752
|
};
|
|
2651
|
-
protoOf($
|
|
2652
|
-
return this.
|
|
2753
|
+
protoOf($serializer_6).jk = function () {
|
|
2754
|
+
return this.x2a_1;
|
|
2653
2755
|
};
|
|
2654
|
-
protoOf($
|
|
2756
|
+
protoOf($serializer_6).xv = function () {
|
|
2655
2757
|
// Inline function 'kotlin.arrayOf' call
|
|
2656
2758
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2657
2759
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2658
2760
|
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2659
2761
|
};
|
|
2660
|
-
var $
|
|
2661
|
-
function $
|
|
2662
|
-
if ($
|
|
2663
|
-
new $
|
|
2664
|
-
return $
|
|
2762
|
+
var $serializer_instance_6;
|
|
2763
|
+
function $serializer_getInstance_6() {
|
|
2764
|
+
if ($serializer_instance_6 == null)
|
|
2765
|
+
new $serializer_6();
|
|
2766
|
+
return $serializer_instance_6;
|
|
2665
2767
|
}
|
|
2666
2768
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2667
2769
|
if (!(448 === (448 & seen0))) {
|
|
2668
|
-
throwMissingFieldException(seen0, 448, $
|
|
2770
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_6().x2a_1);
|
|
2669
2771
|
}
|
|
2670
2772
|
if (0 === (seen0 & 1))
|
|
2671
|
-
$this.
|
|
2773
|
+
$this.d2a_1 = null;
|
|
2672
2774
|
else
|
|
2673
|
-
$this.
|
|
2775
|
+
$this.d2a_1 = playerId;
|
|
2674
2776
|
if (0 === (seen0 & 2))
|
|
2675
|
-
$this.
|
|
2777
|
+
$this.e2a_1 = null;
|
|
2676
2778
|
else
|
|
2677
|
-
$this.
|
|
2779
|
+
$this.e2a_1 = uid;
|
|
2678
2780
|
if (0 === (seen0 & 4))
|
|
2679
|
-
$this.
|
|
2781
|
+
$this.f2a_1 = null;
|
|
2680
2782
|
else
|
|
2681
|
-
$this.
|
|
2783
|
+
$this.f2a_1 = name;
|
|
2682
2784
|
if (0 === (seen0 & 8))
|
|
2683
|
-
$this.
|
|
2785
|
+
$this.g2a_1 = null;
|
|
2684
2786
|
else
|
|
2685
|
-
$this.
|
|
2787
|
+
$this.g2a_1 = nickname;
|
|
2686
2788
|
if (0 === (seen0 & 16))
|
|
2687
|
-
$this.
|
|
2789
|
+
$this.h2a_1 = null;
|
|
2688
2790
|
else
|
|
2689
|
-
$this.
|
|
2791
|
+
$this.h2a_1 = avatarUrl;
|
|
2690
2792
|
if (0 === (seen0 & 32))
|
|
2691
|
-
$this.
|
|
2793
|
+
$this.i2a_1 = null;
|
|
2692
2794
|
else
|
|
2693
|
-
$this.
|
|
2694
|
-
$this.
|
|
2695
|
-
$this.
|
|
2696
|
-
$this.
|
|
2795
|
+
$this.i2a_1 = photo;
|
|
2796
|
+
$this.j2a_1 = rating;
|
|
2797
|
+
$this.k2a_1 = isBot;
|
|
2798
|
+
$this.l2a_1 = initialLuckyFactor;
|
|
2697
2799
|
return $this;
|
|
2698
2800
|
}
|
|
2699
2801
|
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2706,47 +2808,47 @@
|
|
|
2706
2808
|
nickname = nickname === VOID ? null : nickname;
|
|
2707
2809
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2708
2810
|
photo = photo === VOID ? null : photo;
|
|
2709
|
-
this.
|
|
2710
|
-
this.
|
|
2711
|
-
this.
|
|
2712
|
-
this.
|
|
2713
|
-
this.
|
|
2714
|
-
this.
|
|
2715
|
-
this.
|
|
2716
|
-
this.
|
|
2717
|
-
this.
|
|
2718
|
-
}
|
|
2719
|
-
protoOf(GameUserInfoDto).
|
|
2720
|
-
return this.
|
|
2721
|
-
};
|
|
2722
|
-
protoOf(GameUserInfoDto).
|
|
2811
|
+
this.d2a_1 = playerId;
|
|
2812
|
+
this.e2a_1 = uid;
|
|
2813
|
+
this.f2a_1 = name;
|
|
2814
|
+
this.g2a_1 = nickname;
|
|
2815
|
+
this.h2a_1 = avatarUrl;
|
|
2816
|
+
this.i2a_1 = photo;
|
|
2817
|
+
this.j2a_1 = rating;
|
|
2818
|
+
this.k2a_1 = isBot;
|
|
2819
|
+
this.l2a_1 = initialLuckyFactor;
|
|
2820
|
+
}
|
|
2821
|
+
protoOf(GameUserInfoDto).z2a = function () {
|
|
2822
|
+
return this.a2b(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2823
|
+
};
|
|
2824
|
+
protoOf(GameUserInfoDto).b2b = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2723
2825
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2724
2826
|
};
|
|
2725
|
-
protoOf(GameUserInfoDto).
|
|
2726
|
-
playerId = playerId === VOID ? this.
|
|
2727
|
-
uid = uid === VOID ? this.
|
|
2728
|
-
name = name === VOID ? this.
|
|
2729
|
-
nickname = nickname === VOID ? this.
|
|
2730
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
2731
|
-
photo = photo === VOID ? this.
|
|
2732
|
-
rating = rating === VOID ? this.
|
|
2733
|
-
isBot = isBot === VOID ? this.
|
|
2734
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
2735
|
-
return $super === VOID ? this.
|
|
2827
|
+
protoOf(GameUserInfoDto).a2b = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2828
|
+
playerId = playerId === VOID ? this.d2a_1 : playerId;
|
|
2829
|
+
uid = uid === VOID ? this.e2a_1 : uid;
|
|
2830
|
+
name = name === VOID ? this.f2a_1 : name;
|
|
2831
|
+
nickname = nickname === VOID ? this.g2a_1 : nickname;
|
|
2832
|
+
avatarUrl = avatarUrl === VOID ? this.h2a_1 : avatarUrl;
|
|
2833
|
+
photo = photo === VOID ? this.i2a_1 : photo;
|
|
2834
|
+
rating = rating === VOID ? this.j2a_1 : rating;
|
|
2835
|
+
isBot = isBot === VOID ? this.k2a_1 : isBot;
|
|
2836
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.l2a_1 : initialLuckyFactor;
|
|
2837
|
+
return $super === VOID ? this.b2b(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.b2b.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2736
2838
|
};
|
|
2737
2839
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2738
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2840
|
+
return 'GameUserInfoDto(playerId=' + this.d2a_1 + ', uid=' + this.e2a_1 + ', name=' + this.f2a_1 + ', nickname=' + this.g2a_1 + ', avatarUrl=' + this.h2a_1 + ', photo=' + this.i2a_1 + ', rating=' + this.j2a_1 + ', isBot=' + this.k2a_1 + ', initialLuckyFactor=' + this.l2a_1 + ')';
|
|
2739
2841
|
};
|
|
2740
2842
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2741
|
-
var result = this.
|
|
2742
|
-
result = imul(result, 31) + (this.
|
|
2743
|
-
result = imul(result, 31) + (this.
|
|
2744
|
-
result = imul(result, 31) + (this.
|
|
2745
|
-
result = imul(result, 31) + (this.
|
|
2746
|
-
result = imul(result, 31) + (this.
|
|
2747
|
-
result = imul(result, 31) + (this.
|
|
2748
|
-
result = imul(result, 31) + (this.
|
|
2749
|
-
result = imul(result, 31) + (this.
|
|
2843
|
+
var result = this.d2a_1 == null ? 0 : getStringHashCode(this.d2a_1);
|
|
2844
|
+
result = imul(result, 31) + (this.e2a_1 == null ? 0 : getStringHashCode(this.e2a_1)) | 0;
|
|
2845
|
+
result = imul(result, 31) + (this.f2a_1 == null ? 0 : getStringHashCode(this.f2a_1)) | 0;
|
|
2846
|
+
result = imul(result, 31) + (this.g2a_1 == null ? 0 : getStringHashCode(this.g2a_1)) | 0;
|
|
2847
|
+
result = imul(result, 31) + (this.h2a_1 == null ? 0 : getStringHashCode(this.h2a_1)) | 0;
|
|
2848
|
+
result = imul(result, 31) + (this.i2a_1 == null ? 0 : getStringHashCode(this.i2a_1)) | 0;
|
|
2849
|
+
result = imul(result, 31) + (this.j2a_1 == null ? 0 : getNumberHashCode(this.j2a_1)) | 0;
|
|
2850
|
+
result = imul(result, 31) + (this.k2a_1 == null ? 0 : getBooleanHashCode(this.k2a_1)) | 0;
|
|
2851
|
+
result = imul(result, 31) + (this.l2a_1 == null ? 0 : getNumberHashCode(this.l2a_1)) | 0;
|
|
2750
2852
|
return result;
|
|
2751
2853
|
};
|
|
2752
2854
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2755,152 +2857,531 @@
|
|
|
2755
2857
|
if (!(other instanceof GameUserInfoDto))
|
|
2756
2858
|
return false;
|
|
2757
2859
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2758
|
-
if (!(this.
|
|
2860
|
+
if (!(this.d2a_1 == tmp0_other_with_cast.d2a_1))
|
|
2759
2861
|
return false;
|
|
2760
|
-
if (!(this.
|
|
2862
|
+
if (!(this.e2a_1 == tmp0_other_with_cast.e2a_1))
|
|
2761
2863
|
return false;
|
|
2762
|
-
if (!(this.
|
|
2864
|
+
if (!(this.f2a_1 == tmp0_other_with_cast.f2a_1))
|
|
2763
2865
|
return false;
|
|
2764
|
-
if (!(this.
|
|
2866
|
+
if (!(this.g2a_1 == tmp0_other_with_cast.g2a_1))
|
|
2765
2867
|
return false;
|
|
2766
|
-
if (!(this.
|
|
2868
|
+
if (!(this.h2a_1 == tmp0_other_with_cast.h2a_1))
|
|
2767
2869
|
return false;
|
|
2768
|
-
if (!(this.
|
|
2870
|
+
if (!(this.i2a_1 == tmp0_other_with_cast.i2a_1))
|
|
2769
2871
|
return false;
|
|
2770
|
-
if (!equals(this.
|
|
2872
|
+
if (!equals(this.j2a_1, tmp0_other_with_cast.j2a_1))
|
|
2771
2873
|
return false;
|
|
2772
|
-
if (!(this.
|
|
2874
|
+
if (!(this.k2a_1 == tmp0_other_with_cast.k2a_1))
|
|
2773
2875
|
return false;
|
|
2774
|
-
if (!equals(this.
|
|
2876
|
+
if (!equals(this.l2a_1, tmp0_other_with_cast.l2a_1))
|
|
2775
2877
|
return false;
|
|
2776
2878
|
return true;
|
|
2777
2879
|
};
|
|
2778
|
-
function
|
|
2779
|
-
|
|
2880
|
+
function Companion_16() {
|
|
2881
|
+
Companion_instance_16 = this;
|
|
2780
2882
|
var tmp = this;
|
|
2781
2883
|
// Inline function 'kotlin.arrayOf' call
|
|
2782
2884
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2783
2885
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2784
|
-
tmp.
|
|
2886
|
+
tmp.c2b_1 = [Companion_getInstance_8().z17(), null, null];
|
|
2785
2887
|
}
|
|
2786
|
-
var
|
|
2787
|
-
function
|
|
2788
|
-
if (
|
|
2789
|
-
new
|
|
2790
|
-
return
|
|
2888
|
+
var Companion_instance_16;
|
|
2889
|
+
function Companion_getInstance_18() {
|
|
2890
|
+
if (Companion_instance_16 == null)
|
|
2891
|
+
new Companion_16();
|
|
2892
|
+
return Companion_instance_16;
|
|
2791
2893
|
}
|
|
2792
|
-
function $
|
|
2793
|
-
$
|
|
2794
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.
|
|
2795
|
-
tmp0_serialDesc.
|
|
2796
|
-
tmp0_serialDesc.
|
|
2797
|
-
tmp0_serialDesc.
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2894
|
+
function $serializer_7() {
|
|
2895
|
+
$serializer_instance_7 = this;
|
|
2896
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerConnectionDto', this, 3);
|
|
2897
|
+
tmp0_serialDesc.iv('state', false);
|
|
2898
|
+
tmp0_serialDesc.iv('connectionChangedTime', false);
|
|
2899
|
+
tmp0_serialDesc.iv('notLiveDurationRecord', false);
|
|
2900
|
+
this.d2b_1 = tmp0_serialDesc;
|
|
2901
|
+
}
|
|
2902
|
+
protoOf($serializer_7).e2b = function (encoder, value) {
|
|
2903
|
+
var tmp0_desc = this.d2b_1;
|
|
2904
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
2905
|
+
var tmp2_cached = Companion_getInstance_18().c2b_1;
|
|
2906
|
+
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.u2a_1);
|
|
2907
|
+
tmp1_output.hp(tmp0_desc, 1, value.v2a_1);
|
|
2908
|
+
tmp1_output.hp(tmp0_desc, 2, value.w2a_1);
|
|
2909
|
+
tmp1_output.tn(tmp0_desc);
|
|
2910
|
+
};
|
|
2911
|
+
protoOf($serializer_7).kk = function (encoder, value) {
|
|
2912
|
+
return this.e2b(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2913
|
+
};
|
|
2914
|
+
protoOf($serializer_7).lk = function (decoder) {
|
|
2915
|
+
var tmp0_desc = this.d2b_1;
|
|
2916
|
+
var tmp1_flag = true;
|
|
2917
|
+
var tmp2_index = 0;
|
|
2918
|
+
var tmp3_bitMask0 = 0;
|
|
2919
|
+
var tmp4_local0 = null;
|
|
2920
|
+
var tmp5_local1 = null;
|
|
2921
|
+
var tmp6_local2 = null;
|
|
2922
|
+
var tmp7_input = decoder.sn(tmp0_desc);
|
|
2923
|
+
var tmp8_cached = Companion_getInstance_18().c2b_1;
|
|
2924
|
+
if (tmp7_input.io()) {
|
|
2925
|
+
tmp4_local0 = tmp7_input.eo(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2926
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2927
|
+
tmp5_local1 = tmp7_input.co(tmp0_desc, 1);
|
|
2928
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2929
|
+
tmp6_local2 = tmp7_input.co(tmp0_desc, 2);
|
|
2930
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2931
|
+
} else
|
|
2932
|
+
while (tmp1_flag) {
|
|
2933
|
+
tmp2_index = tmp7_input.jo(tmp0_desc);
|
|
2934
|
+
switch (tmp2_index) {
|
|
2935
|
+
case -1:
|
|
2936
|
+
tmp1_flag = false;
|
|
2937
|
+
break;
|
|
2938
|
+
case 0:
|
|
2939
|
+
tmp4_local0 = tmp7_input.eo(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2940
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2941
|
+
break;
|
|
2942
|
+
case 1:
|
|
2943
|
+
tmp5_local1 = tmp7_input.co(tmp0_desc, 1);
|
|
2944
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2945
|
+
break;
|
|
2946
|
+
case 2:
|
|
2947
|
+
tmp6_local2 = tmp7_input.co(tmp0_desc, 2);
|
|
2948
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2949
|
+
break;
|
|
2950
|
+
default:
|
|
2951
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
tmp7_input.tn(tmp0_desc);
|
|
2955
|
+
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2956
|
+
};
|
|
2957
|
+
protoOf($serializer_7).jk = function () {
|
|
2958
|
+
return this.d2b_1;
|
|
2959
|
+
};
|
|
2960
|
+
protoOf($serializer_7).xv = function () {
|
|
2961
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2962
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2963
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2964
|
+
return [Companion_getInstance_18().c2b_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2965
|
+
};
|
|
2966
|
+
var $serializer_instance_7;
|
|
2967
|
+
function $serializer_getInstance_7() {
|
|
2968
|
+
if ($serializer_instance_7 == null)
|
|
2969
|
+
new $serializer_7();
|
|
2970
|
+
return $serializer_instance_7;
|
|
2971
|
+
}
|
|
2972
|
+
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2973
|
+
if (!(7 === (7 & seen0))) {
|
|
2974
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_7().d2b_1);
|
|
2975
|
+
}
|
|
2976
|
+
$this.u2a_1 = state;
|
|
2977
|
+
$this.v2a_1 = connectionChangedTime;
|
|
2978
|
+
$this.w2a_1 = notLiveDurationRecord;
|
|
2979
|
+
return $this;
|
|
2980
|
+
}
|
|
2981
|
+
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
2982
|
+
return PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, objectCreate(protoOf(PlayerConnectionDto)));
|
|
2983
|
+
}
|
|
2984
|
+
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
2985
|
+
Companion_getInstance_18();
|
|
2986
|
+
this.u2a_1 = state;
|
|
2987
|
+
this.v2a_1 = connectionChangedTime;
|
|
2988
|
+
this.w2a_1 = notLiveDurationRecord;
|
|
2989
|
+
}
|
|
2990
|
+
protoOf(PlayerConnectionDto).toString = function () {
|
|
2991
|
+
return 'PlayerConnectionDto(state=' + this.u2a_1.toString() + ', connectionChangedTime=' + this.v2a_1 + ', notLiveDurationRecord=' + this.w2a_1 + ')';
|
|
2992
|
+
};
|
|
2993
|
+
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2994
|
+
var result = this.u2a_1.hashCode();
|
|
2995
|
+
result = imul(result, 31) + getStringHashCode(this.v2a_1) | 0;
|
|
2996
|
+
result = imul(result, 31) + getStringHashCode(this.w2a_1) | 0;
|
|
2997
|
+
return result;
|
|
2998
|
+
};
|
|
2999
|
+
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
3000
|
+
if (this === other)
|
|
3001
|
+
return true;
|
|
3002
|
+
if (!(other instanceof PlayerConnectionDto))
|
|
3003
|
+
return false;
|
|
3004
|
+
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3005
|
+
if (!this.u2a_1.equals(tmp0_other_with_cast.u2a_1))
|
|
3006
|
+
return false;
|
|
3007
|
+
if (!(this.v2a_1 === tmp0_other_with_cast.v2a_1))
|
|
3008
|
+
return false;
|
|
3009
|
+
if (!(this.w2a_1 === tmp0_other_with_cast.w2a_1))
|
|
3010
|
+
return false;
|
|
3011
|
+
return true;
|
|
3012
|
+
};
|
|
3013
|
+
function Companion_17() {
|
|
3014
|
+
Companion_instance_17 = this;
|
|
3015
|
+
var tmp = this;
|
|
3016
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3017
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3018
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3019
|
+
tmp.f2b_1 = [null, null, null, null, Companion_getInstance_9().z17(), null, null, null];
|
|
3020
|
+
}
|
|
3021
|
+
var Companion_instance_17;
|
|
3022
|
+
function Companion_getInstance_19() {
|
|
3023
|
+
if (Companion_instance_17 == null)
|
|
3024
|
+
new Companion_17();
|
|
3025
|
+
return Companion_instance_17;
|
|
2820
3026
|
}
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
var
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
3027
|
+
function $serializer_8() {
|
|
3028
|
+
$serializer_instance_8 = this;
|
|
3029
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 8);
|
|
3030
|
+
tmp0_serialDesc.iv('startFromTime', true);
|
|
3031
|
+
tmp0_serialDesc.iv('startFrom', true);
|
|
3032
|
+
tmp0_serialDesc.iv('playerTurnTimeout', true);
|
|
3033
|
+
tmp0_serialDesc.iv('waitPlayerUntilTime', true);
|
|
3034
|
+
tmp0_serialDesc.iv('state', false);
|
|
3035
|
+
tmp0_serialDesc.iv('ready', true);
|
|
3036
|
+
tmp0_serialDesc.iv('tag', true);
|
|
3037
|
+
tmp0_serialDesc.iv('connection', true);
|
|
3038
|
+
this.g2b_1 = tmp0_serialDesc;
|
|
3039
|
+
}
|
|
3040
|
+
protoOf($serializer_8).h2b = function (encoder, value) {
|
|
3041
|
+
var tmp0_desc = this.g2b_1;
|
|
3042
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3043
|
+
var tmp2_cached = Companion_getInstance_19().f2b_1;
|
|
3044
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.m2a_1 == null)) {
|
|
3045
|
+
tmp1_output.lp(tmp0_desc, 0, LongSerializer_getInstance(), value.m2a_1);
|
|
2827
3046
|
}
|
|
2828
|
-
if (tmp1_output.
|
|
2829
|
-
tmp1_output.
|
|
3047
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.n2a_1 == null)) {
|
|
3048
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.n2a_1);
|
|
2830
3049
|
}
|
|
2831
|
-
if (tmp1_output.
|
|
2832
|
-
tmp1_output.
|
|
3050
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.o2a_1 == null)) {
|
|
3051
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.o2a_1);
|
|
2833
3052
|
}
|
|
2834
|
-
if (tmp1_output.
|
|
2835
|
-
tmp1_output.
|
|
3053
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.p2a_1 == null)) {
|
|
3054
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.p2a_1);
|
|
2836
3055
|
}
|
|
2837
|
-
|
|
2838
|
-
|
|
3056
|
+
tmp1_output.jp(tmp0_desc, 4, tmp2_cached[4], value.q2a_1);
|
|
3057
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.r2a_1 == null)) {
|
|
3058
|
+
tmp1_output.lp(tmp0_desc, 5, BooleanSerializer_getInstance(), value.r2a_1);
|
|
2839
3059
|
}
|
|
2840
|
-
if (tmp1_output.
|
|
2841
|
-
tmp1_output.
|
|
3060
|
+
if (tmp1_output.pp(tmp0_desc, 6) ? true : !(value.s2a_1 == null)) {
|
|
3061
|
+
tmp1_output.lp(tmp0_desc, 6, StringSerializer_getInstance(), value.s2a_1);
|
|
2842
3062
|
}
|
|
2843
|
-
if (tmp1_output.
|
|
2844
|
-
tmp1_output.
|
|
3063
|
+
if (tmp1_output.pp(tmp0_desc, 7) ? true : !(value.t2a_1 == null)) {
|
|
3064
|
+
tmp1_output.lp(tmp0_desc, 7, $serializer_getInstance_7(), value.t2a_1);
|
|
2845
3065
|
}
|
|
2846
|
-
|
|
2847
|
-
|
|
3066
|
+
tmp1_output.tn(tmp0_desc);
|
|
3067
|
+
};
|
|
3068
|
+
protoOf($serializer_8).kk = function (encoder, value) {
|
|
3069
|
+
return this.h2b(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3070
|
+
};
|
|
3071
|
+
protoOf($serializer_8).lk = function (decoder) {
|
|
3072
|
+
var tmp0_desc = this.g2b_1;
|
|
3073
|
+
var tmp1_flag = true;
|
|
3074
|
+
var tmp2_index = 0;
|
|
3075
|
+
var tmp3_bitMask0 = 0;
|
|
3076
|
+
var tmp4_local0 = null;
|
|
3077
|
+
var tmp5_local1 = null;
|
|
3078
|
+
var tmp6_local2 = null;
|
|
3079
|
+
var tmp7_local3 = null;
|
|
3080
|
+
var tmp8_local4 = null;
|
|
3081
|
+
var tmp9_local5 = null;
|
|
3082
|
+
var tmp10_local6 = null;
|
|
3083
|
+
var tmp11_local7 = null;
|
|
3084
|
+
var tmp12_input = decoder.sn(tmp0_desc);
|
|
3085
|
+
var tmp13_cached = Companion_getInstance_19().f2b_1;
|
|
3086
|
+
if (tmp12_input.io()) {
|
|
3087
|
+
tmp4_local0 = tmp12_input.go(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3088
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3089
|
+
tmp5_local1 = tmp12_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3090
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3091
|
+
tmp6_local2 = tmp12_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3092
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3093
|
+
tmp7_local3 = tmp12_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3094
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3095
|
+
tmp8_local4 = tmp12_input.eo(tmp0_desc, 4, tmp13_cached[4], tmp8_local4);
|
|
3096
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3097
|
+
tmp9_local5 = tmp12_input.go(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3098
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3099
|
+
tmp10_local6 = tmp12_input.go(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
3100
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3101
|
+
tmp11_local7 = tmp12_input.go(tmp0_desc, 7, $serializer_getInstance_7(), tmp11_local7);
|
|
3102
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3103
|
+
} else
|
|
3104
|
+
while (tmp1_flag) {
|
|
3105
|
+
tmp2_index = tmp12_input.jo(tmp0_desc);
|
|
3106
|
+
switch (tmp2_index) {
|
|
3107
|
+
case -1:
|
|
3108
|
+
tmp1_flag = false;
|
|
3109
|
+
break;
|
|
3110
|
+
case 0:
|
|
3111
|
+
tmp4_local0 = tmp12_input.go(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3112
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3113
|
+
break;
|
|
3114
|
+
case 1:
|
|
3115
|
+
tmp5_local1 = tmp12_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3116
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3117
|
+
break;
|
|
3118
|
+
case 2:
|
|
3119
|
+
tmp6_local2 = tmp12_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3120
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3121
|
+
break;
|
|
3122
|
+
case 3:
|
|
3123
|
+
tmp7_local3 = tmp12_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3124
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3125
|
+
break;
|
|
3126
|
+
case 4:
|
|
3127
|
+
tmp8_local4 = tmp12_input.eo(tmp0_desc, 4, tmp13_cached[4], tmp8_local4);
|
|
3128
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3129
|
+
break;
|
|
3130
|
+
case 5:
|
|
3131
|
+
tmp9_local5 = tmp12_input.go(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3132
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3133
|
+
break;
|
|
3134
|
+
case 6:
|
|
3135
|
+
tmp10_local6 = tmp12_input.go(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
3136
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3137
|
+
break;
|
|
3138
|
+
case 7:
|
|
3139
|
+
tmp11_local7 = tmp12_input.go(tmp0_desc, 7, $serializer_getInstance_7(), tmp11_local7);
|
|
3140
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3141
|
+
break;
|
|
3142
|
+
default:
|
|
3143
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
tmp12_input.tn(tmp0_desc);
|
|
3147
|
+
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3148
|
+
};
|
|
3149
|
+
protoOf($serializer_8).jk = function () {
|
|
3150
|
+
return this.g2b_1;
|
|
3151
|
+
};
|
|
3152
|
+
protoOf($serializer_8).xv = function () {
|
|
3153
|
+
var tmp0_cached = Companion_getInstance_19().f2b_1;
|
|
3154
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3155
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3156
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3157
|
+
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_7())];
|
|
3158
|
+
};
|
|
3159
|
+
var $serializer_instance_8;
|
|
3160
|
+
function $serializer_getInstance_8() {
|
|
3161
|
+
if ($serializer_instance_8 == null)
|
|
3162
|
+
new $serializer_8();
|
|
3163
|
+
return $serializer_instance_8;
|
|
3164
|
+
}
|
|
3165
|
+
function PlayerStateDto_init_$Init$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3166
|
+
if (!(16 === (16 & seen0))) {
|
|
3167
|
+
throwMissingFieldException(seen0, 16, $serializer_getInstance_8().g2b_1);
|
|
2848
3168
|
}
|
|
2849
|
-
if (
|
|
2850
|
-
|
|
3169
|
+
if (0 === (seen0 & 1))
|
|
3170
|
+
$this.m2a_1 = null;
|
|
3171
|
+
else
|
|
3172
|
+
$this.m2a_1 = startFromTime;
|
|
3173
|
+
if (0 === (seen0 & 2))
|
|
3174
|
+
$this.n2a_1 = null;
|
|
3175
|
+
else
|
|
3176
|
+
$this.n2a_1 = startFrom;
|
|
3177
|
+
if (0 === (seen0 & 4))
|
|
3178
|
+
$this.o2a_1 = null;
|
|
3179
|
+
else
|
|
3180
|
+
$this.o2a_1 = playerTurnTimeout;
|
|
3181
|
+
if (0 === (seen0 & 8))
|
|
3182
|
+
$this.p2a_1 = null;
|
|
3183
|
+
else
|
|
3184
|
+
$this.p2a_1 = waitPlayerUntilTime;
|
|
3185
|
+
$this.q2a_1 = state;
|
|
3186
|
+
if (0 === (seen0 & 32))
|
|
3187
|
+
$this.r2a_1 = null;
|
|
3188
|
+
else
|
|
3189
|
+
$this.r2a_1 = ready;
|
|
3190
|
+
if (0 === (seen0 & 64))
|
|
3191
|
+
$this.s2a_1 = null;
|
|
3192
|
+
else
|
|
3193
|
+
$this.s2a_1 = tag;
|
|
3194
|
+
if (0 === (seen0 & 128))
|
|
3195
|
+
$this.t2a_1 = null;
|
|
3196
|
+
else
|
|
3197
|
+
$this.t2a_1 = connection;
|
|
3198
|
+
return $this;
|
|
3199
|
+
}
|
|
3200
|
+
function PlayerStateDto_init_$Create$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
3201
|
+
return PlayerStateDto_init_$Init$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, objectCreate(protoOf(PlayerStateDto)));
|
|
3202
|
+
}
|
|
3203
|
+
function PlayerStateDto(startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
3204
|
+
Companion_getInstance_19();
|
|
3205
|
+
startFromTime = startFromTime === VOID ? null : startFromTime;
|
|
3206
|
+
startFrom = startFrom === VOID ? null : startFrom;
|
|
3207
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? null : playerTurnTimeout;
|
|
3208
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? null : waitPlayerUntilTime;
|
|
3209
|
+
ready = ready === VOID ? null : ready;
|
|
3210
|
+
tag = tag === VOID ? null : tag;
|
|
3211
|
+
connection = connection === VOID ? null : connection;
|
|
3212
|
+
this.m2a_1 = startFromTime;
|
|
3213
|
+
this.n2a_1 = startFrom;
|
|
3214
|
+
this.o2a_1 = playerTurnTimeout;
|
|
3215
|
+
this.p2a_1 = waitPlayerUntilTime;
|
|
3216
|
+
this.q2a_1 = state;
|
|
3217
|
+
this.r2a_1 = ready;
|
|
3218
|
+
this.s2a_1 = tag;
|
|
3219
|
+
this.t2a_1 = connection;
|
|
3220
|
+
}
|
|
3221
|
+
protoOf(PlayerStateDto).toString = function () {
|
|
3222
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.m2a_1) + ', startFrom=' + this.n2a_1 + ', playerTurnTimeout=' + this.o2a_1 + ', waitPlayerUntilTime=' + this.p2a_1 + ', state=' + this.q2a_1.toString() + ', ready=' + this.r2a_1 + ', tag=' + this.s2a_1 + ', connection=' + toString(this.t2a_1) + ')';
|
|
3223
|
+
};
|
|
3224
|
+
protoOf(PlayerStateDto).hashCode = function () {
|
|
3225
|
+
var result = this.m2a_1 == null ? 0 : this.m2a_1.hashCode();
|
|
3226
|
+
result = imul(result, 31) + (this.n2a_1 == null ? 0 : getStringHashCode(this.n2a_1)) | 0;
|
|
3227
|
+
result = imul(result, 31) + (this.o2a_1 == null ? 0 : getStringHashCode(this.o2a_1)) | 0;
|
|
3228
|
+
result = imul(result, 31) + (this.p2a_1 == null ? 0 : getStringHashCode(this.p2a_1)) | 0;
|
|
3229
|
+
result = imul(result, 31) + this.q2a_1.hashCode() | 0;
|
|
3230
|
+
result = imul(result, 31) + (this.r2a_1 == null ? 0 : getBooleanHashCode(this.r2a_1)) | 0;
|
|
3231
|
+
result = imul(result, 31) + (this.s2a_1 == null ? 0 : getStringHashCode(this.s2a_1)) | 0;
|
|
3232
|
+
result = imul(result, 31) + (this.t2a_1 == null ? 0 : this.t2a_1.hashCode()) | 0;
|
|
3233
|
+
return result;
|
|
3234
|
+
};
|
|
3235
|
+
protoOf(PlayerStateDto).equals = function (other) {
|
|
3236
|
+
if (this === other)
|
|
3237
|
+
return true;
|
|
3238
|
+
if (!(other instanceof PlayerStateDto))
|
|
3239
|
+
return false;
|
|
3240
|
+
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3241
|
+
if (!equals(this.m2a_1, tmp0_other_with_cast.m2a_1))
|
|
3242
|
+
return false;
|
|
3243
|
+
if (!(this.n2a_1 == tmp0_other_with_cast.n2a_1))
|
|
3244
|
+
return false;
|
|
3245
|
+
if (!(this.o2a_1 == tmp0_other_with_cast.o2a_1))
|
|
3246
|
+
return false;
|
|
3247
|
+
if (!(this.p2a_1 == tmp0_other_with_cast.p2a_1))
|
|
3248
|
+
return false;
|
|
3249
|
+
if (!this.q2a_1.equals(tmp0_other_with_cast.q2a_1))
|
|
3250
|
+
return false;
|
|
3251
|
+
if (!(this.r2a_1 == tmp0_other_with_cast.r2a_1))
|
|
3252
|
+
return false;
|
|
3253
|
+
if (!(this.s2a_1 == tmp0_other_with_cast.s2a_1))
|
|
3254
|
+
return false;
|
|
3255
|
+
if (!equals(this.t2a_1, tmp0_other_with_cast.t2a_1))
|
|
3256
|
+
return false;
|
|
3257
|
+
return true;
|
|
3258
|
+
};
|
|
3259
|
+
function Companion_18() {
|
|
3260
|
+
Companion_instance_18 = this;
|
|
3261
|
+
var tmp = this;
|
|
3262
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3263
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3264
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3265
|
+
tmp.i2b_1 = [null, null, null, null, null, null, null, null, new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3266
|
+
}
|
|
3267
|
+
var Companion_instance_18;
|
|
3268
|
+
function Companion_getInstance_20() {
|
|
3269
|
+
if (Companion_instance_18 == null)
|
|
3270
|
+
new Companion_18();
|
|
3271
|
+
return Companion_instance_18;
|
|
3272
|
+
}
|
|
3273
|
+
function $serializer_9() {
|
|
3274
|
+
$serializer_instance_9 = this;
|
|
3275
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 24);
|
|
3276
|
+
tmp0_serialDesc.iv('needToPutHigherTrump', true);
|
|
3277
|
+
tmp0_serialDesc.iv('playerWhoChooseSuitGoFirst', true);
|
|
3278
|
+
tmp0_serialDesc.iv('winnerShuffleCards', true);
|
|
3279
|
+
tmp0_serialDesc.iv('playWithoutLiabilities', true);
|
|
3280
|
+
tmp0_serialDesc.iv('trumpCardGoToPlayerWhoShuffleCards', true);
|
|
3281
|
+
tmp0_serialDesc.iv('dealerInitialCardsCount', true);
|
|
3282
|
+
tmp0_serialDesc.iv('dealerFinalCardsCount', true);
|
|
3283
|
+
tmp0_serialDesc.iv('dealerCounterClockwise', true);
|
|
3284
|
+
tmp0_serialDesc.iv('contractTypes', true);
|
|
3285
|
+
tmp0_serialDesc.iv('bidTypes', true);
|
|
3286
|
+
tmp0_serialDesc.iv('combinationsWithFirstCard', true);
|
|
3287
|
+
tmp0_serialDesc.iv('protectBella', true);
|
|
3288
|
+
tmp0_serialDesc.iv('oneTryToProtectBella', true);
|
|
3289
|
+
tmp0_serialDesc.iv('enableFourSevensCombination', true);
|
|
3290
|
+
tmp0_serialDesc.iv('enableTrumpSevenCombination', true);
|
|
3291
|
+
tmp0_serialDesc.iv('enableTrumpSevenCombinationAfterDistribution', true);
|
|
3292
|
+
tmp0_serialDesc.iv('checkTrumpCombination', true);
|
|
3293
|
+
tmp0_serialDesc.iv('checkOnlyTrumpDebertz', true);
|
|
3294
|
+
tmp0_serialDesc.iv('distributePoints', true);
|
|
3295
|
+
tmp0_serialDesc.iv('pointsDistributeMode', true);
|
|
3296
|
+
tmp0_serialDesc.iv('enableFineIfNoBribes', true);
|
|
3297
|
+
tmp0_serialDesc.iv('fineIfNoBribes', true);
|
|
3298
|
+
tmp0_serialDesc.iv('enableFineAfterThirdByte', true);
|
|
3299
|
+
tmp0_serialDesc.iv('fineAfterThirdFailedContract', true);
|
|
3300
|
+
this.j2b_1 = tmp0_serialDesc;
|
|
3301
|
+
}
|
|
3302
|
+
protoOf($serializer_9).k2b = function (encoder, value) {
|
|
3303
|
+
var tmp0_desc = this.j2b_1;
|
|
3304
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
3305
|
+
var tmp2_cached = Companion_getInstance_20().i2b_1;
|
|
3306
|
+
if (tmp1_output.pp(tmp0_desc, 0) ? true : !(value.l2b_1 == null)) {
|
|
3307
|
+
tmp1_output.lp(tmp0_desc, 0, BooleanSerializer_getInstance(), value.l2b_1);
|
|
3308
|
+
}
|
|
3309
|
+
if (tmp1_output.pp(tmp0_desc, 1) ? true : !(value.m2b_1 == null)) {
|
|
3310
|
+
tmp1_output.lp(tmp0_desc, 1, BooleanSerializer_getInstance(), value.m2b_1);
|
|
3311
|
+
}
|
|
3312
|
+
if (tmp1_output.pp(tmp0_desc, 2) ? true : !(value.n2b_1 == null)) {
|
|
3313
|
+
tmp1_output.lp(tmp0_desc, 2, BooleanSerializer_getInstance(), value.n2b_1);
|
|
3314
|
+
}
|
|
3315
|
+
if (tmp1_output.pp(tmp0_desc, 3) ? true : !(value.o2b_1 == null)) {
|
|
3316
|
+
tmp1_output.lp(tmp0_desc, 3, BooleanSerializer_getInstance(), value.o2b_1);
|
|
3317
|
+
}
|
|
3318
|
+
if (tmp1_output.pp(tmp0_desc, 4) ? true : !(value.p2b_1 == null)) {
|
|
3319
|
+
tmp1_output.lp(tmp0_desc, 4, BooleanSerializer_getInstance(), value.p2b_1);
|
|
3320
|
+
}
|
|
3321
|
+
if (tmp1_output.pp(tmp0_desc, 5) ? true : !(value.q2b_1 == null)) {
|
|
3322
|
+
tmp1_output.lp(tmp0_desc, 5, IntSerializer_getInstance(), value.q2b_1);
|
|
3323
|
+
}
|
|
3324
|
+
if (tmp1_output.pp(tmp0_desc, 6) ? true : !(value.r2b_1 == null)) {
|
|
3325
|
+
tmp1_output.lp(tmp0_desc, 6, IntSerializer_getInstance(), value.r2b_1);
|
|
3326
|
+
}
|
|
3327
|
+
if (tmp1_output.pp(tmp0_desc, 7) ? true : !(value.s2b_1 == null)) {
|
|
3328
|
+
tmp1_output.lp(tmp0_desc, 7, BooleanSerializer_getInstance(), value.s2b_1);
|
|
2851
3329
|
}
|
|
2852
|
-
if (tmp1_output.
|
|
2853
|
-
tmp1_output.
|
|
3330
|
+
if (tmp1_output.pp(tmp0_desc, 8) ? true : !(value.t2b_1 == null)) {
|
|
3331
|
+
tmp1_output.lp(tmp0_desc, 8, tmp2_cached[8], value.t2b_1);
|
|
2854
3332
|
}
|
|
2855
|
-
if (tmp1_output.
|
|
2856
|
-
tmp1_output.
|
|
3333
|
+
if (tmp1_output.pp(tmp0_desc, 9) ? true : !(value.u2b_1 == null)) {
|
|
3334
|
+
tmp1_output.lp(tmp0_desc, 9, tmp2_cached[9], value.u2b_1);
|
|
2857
3335
|
}
|
|
2858
|
-
if (tmp1_output.
|
|
2859
|
-
tmp1_output.
|
|
3336
|
+
if (tmp1_output.pp(tmp0_desc, 10) ? true : !(value.v2b_1 == null)) {
|
|
3337
|
+
tmp1_output.lp(tmp0_desc, 10, tmp2_cached[10], value.v2b_1);
|
|
2860
3338
|
}
|
|
2861
|
-
if (tmp1_output.
|
|
2862
|
-
tmp1_output.
|
|
3339
|
+
if (tmp1_output.pp(tmp0_desc, 11) ? true : !(value.w2b_1 == null)) {
|
|
3340
|
+
tmp1_output.lp(tmp0_desc, 11, BooleanSerializer_getInstance(), value.w2b_1);
|
|
2863
3341
|
}
|
|
2864
|
-
if (tmp1_output.
|
|
2865
|
-
tmp1_output.
|
|
3342
|
+
if (tmp1_output.pp(tmp0_desc, 12) ? true : !(value.x2b_1 == null)) {
|
|
3343
|
+
tmp1_output.lp(tmp0_desc, 12, BooleanSerializer_getInstance(), value.x2b_1);
|
|
2866
3344
|
}
|
|
2867
|
-
if (tmp1_output.
|
|
2868
|
-
tmp1_output.
|
|
3345
|
+
if (tmp1_output.pp(tmp0_desc, 13) ? true : !(value.y2b_1 == null)) {
|
|
3346
|
+
tmp1_output.lp(tmp0_desc, 13, BooleanSerializer_getInstance(), value.y2b_1);
|
|
2869
3347
|
}
|
|
2870
|
-
if (tmp1_output.
|
|
2871
|
-
tmp1_output.
|
|
3348
|
+
if (tmp1_output.pp(tmp0_desc, 14) ? true : !(value.z2b_1 == null)) {
|
|
3349
|
+
tmp1_output.lp(tmp0_desc, 14, BooleanSerializer_getInstance(), value.z2b_1);
|
|
2872
3350
|
}
|
|
2873
|
-
if (tmp1_output.
|
|
2874
|
-
tmp1_output.
|
|
3351
|
+
if (tmp1_output.pp(tmp0_desc, 15) ? true : !(value.a2c_1 == null)) {
|
|
3352
|
+
tmp1_output.lp(tmp0_desc, 15, BooleanSerializer_getInstance(), value.a2c_1);
|
|
2875
3353
|
}
|
|
2876
|
-
if (tmp1_output.
|
|
2877
|
-
tmp1_output.
|
|
3354
|
+
if (tmp1_output.pp(tmp0_desc, 16) ? true : !(value.b2c_1 == null)) {
|
|
3355
|
+
tmp1_output.lp(tmp0_desc, 16, BooleanSerializer_getInstance(), value.b2c_1);
|
|
2878
3356
|
}
|
|
2879
|
-
if (tmp1_output.
|
|
2880
|
-
tmp1_output.
|
|
3357
|
+
if (tmp1_output.pp(tmp0_desc, 17) ? true : !(value.c2c_1 == null)) {
|
|
3358
|
+
tmp1_output.lp(tmp0_desc, 17, BooleanSerializer_getInstance(), value.c2c_1);
|
|
2881
3359
|
}
|
|
2882
|
-
if (tmp1_output.
|
|
2883
|
-
tmp1_output.
|
|
3360
|
+
if (tmp1_output.pp(tmp0_desc, 18) ? true : !(value.d2c_1 == null)) {
|
|
3361
|
+
tmp1_output.lp(tmp0_desc, 18, BooleanSerializer_getInstance(), value.d2c_1);
|
|
2884
3362
|
}
|
|
2885
|
-
if (tmp1_output.
|
|
2886
|
-
tmp1_output.
|
|
3363
|
+
if (tmp1_output.pp(tmp0_desc, 19) ? true : !(value.e2c_1 == null)) {
|
|
3364
|
+
tmp1_output.lp(tmp0_desc, 19, StringSerializer_getInstance(), value.e2c_1);
|
|
2887
3365
|
}
|
|
2888
|
-
if (tmp1_output.
|
|
2889
|
-
tmp1_output.
|
|
3366
|
+
if (tmp1_output.pp(tmp0_desc, 20) ? true : !(value.f2c_1 == null)) {
|
|
3367
|
+
tmp1_output.lp(tmp0_desc, 20, BooleanSerializer_getInstance(), value.f2c_1);
|
|
2890
3368
|
}
|
|
2891
|
-
if (tmp1_output.
|
|
2892
|
-
tmp1_output.
|
|
3369
|
+
if (tmp1_output.pp(tmp0_desc, 21) ? true : !(value.g2c_1 == null)) {
|
|
3370
|
+
tmp1_output.lp(tmp0_desc, 21, IntSerializer_getInstance(), value.g2c_1);
|
|
2893
3371
|
}
|
|
2894
|
-
if (tmp1_output.
|
|
2895
|
-
tmp1_output.
|
|
3372
|
+
if (tmp1_output.pp(tmp0_desc, 22) ? true : !(value.h2c_1 == null)) {
|
|
3373
|
+
tmp1_output.lp(tmp0_desc, 22, BooleanSerializer_getInstance(), value.h2c_1);
|
|
2896
3374
|
}
|
|
2897
|
-
tmp1_output.
|
|
3375
|
+
if (tmp1_output.pp(tmp0_desc, 23) ? true : !(value.i2c_1 == null)) {
|
|
3376
|
+
tmp1_output.lp(tmp0_desc, 23, IntSerializer_getInstance(), value.i2c_1);
|
|
3377
|
+
}
|
|
3378
|
+
tmp1_output.tn(tmp0_desc);
|
|
2898
3379
|
};
|
|
2899
|
-
protoOf($
|
|
2900
|
-
return this.
|
|
3380
|
+
protoOf($serializer_9).kk = function (encoder, value) {
|
|
3381
|
+
return this.k2b(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2901
3382
|
};
|
|
2902
|
-
protoOf($
|
|
2903
|
-
var tmp0_desc = this.
|
|
3383
|
+
protoOf($serializer_9).lk = function (decoder) {
|
|
3384
|
+
var tmp0_desc = this.j2b_1;
|
|
2904
3385
|
var tmp1_flag = true;
|
|
2905
3386
|
var tmp2_index = 0;
|
|
2906
3387
|
var tmp3_bitMask0 = 0;
|
|
@@ -2928,290 +3409,290 @@
|
|
|
2928
3409
|
var tmp25_local21 = null;
|
|
2929
3410
|
var tmp26_local22 = null;
|
|
2930
3411
|
var tmp27_local23 = null;
|
|
2931
|
-
var tmp28_input = decoder.
|
|
2932
|
-
var tmp29_cached =
|
|
2933
|
-
if (tmp28_input.
|
|
2934
|
-
tmp4_local0 = tmp28_input.
|
|
3412
|
+
var tmp28_input = decoder.sn(tmp0_desc);
|
|
3413
|
+
var tmp29_cached = Companion_getInstance_20().i2b_1;
|
|
3414
|
+
if (tmp28_input.io()) {
|
|
3415
|
+
tmp4_local0 = tmp28_input.go(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
2935
3416
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2936
|
-
tmp5_local1 = tmp28_input.
|
|
3417
|
+
tmp5_local1 = tmp28_input.go(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
2937
3418
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2938
|
-
tmp6_local2 = tmp28_input.
|
|
3419
|
+
tmp6_local2 = tmp28_input.go(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
2939
3420
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2940
|
-
tmp7_local3 = tmp28_input.
|
|
3421
|
+
tmp7_local3 = tmp28_input.go(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2941
3422
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2942
|
-
tmp8_local4 = tmp28_input.
|
|
3423
|
+
tmp8_local4 = tmp28_input.go(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
2943
3424
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2944
|
-
tmp9_local5 = tmp28_input.
|
|
3425
|
+
tmp9_local5 = tmp28_input.go(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
2945
3426
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2946
|
-
tmp10_local6 = tmp28_input.
|
|
3427
|
+
tmp10_local6 = tmp28_input.go(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
2947
3428
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2948
|
-
tmp11_local7 = tmp28_input.
|
|
3429
|
+
tmp11_local7 = tmp28_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2949
3430
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2950
|
-
tmp12_local8 = tmp28_input.
|
|
3431
|
+
tmp12_local8 = tmp28_input.go(tmp0_desc, 8, tmp29_cached[8], tmp12_local8);
|
|
2951
3432
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2952
|
-
tmp13_local9 = tmp28_input.
|
|
3433
|
+
tmp13_local9 = tmp28_input.go(tmp0_desc, 9, tmp29_cached[9], tmp13_local9);
|
|
2953
3434
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2954
|
-
tmp14_local10 = tmp28_input.
|
|
3435
|
+
tmp14_local10 = tmp28_input.go(tmp0_desc, 10, tmp29_cached[10], tmp14_local10);
|
|
2955
3436
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2956
|
-
tmp15_local11 = tmp28_input.
|
|
3437
|
+
tmp15_local11 = tmp28_input.go(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
2957
3438
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2958
|
-
tmp16_local12 = tmp28_input.
|
|
3439
|
+
tmp16_local12 = tmp28_input.go(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
2959
3440
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2960
|
-
tmp17_local13 = tmp28_input.
|
|
3441
|
+
tmp17_local13 = tmp28_input.go(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
2961
3442
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2962
|
-
tmp18_local14 = tmp28_input.
|
|
3443
|
+
tmp18_local14 = tmp28_input.go(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
2963
3444
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2964
|
-
tmp19_local15 = tmp28_input.
|
|
3445
|
+
tmp19_local15 = tmp28_input.go(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
2965
3446
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2966
|
-
tmp20_local16 = tmp28_input.
|
|
3447
|
+
tmp20_local16 = tmp28_input.go(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
2967
3448
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2968
|
-
tmp21_local17 = tmp28_input.
|
|
3449
|
+
tmp21_local17 = tmp28_input.go(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
2969
3450
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
2970
|
-
tmp22_local18 = tmp28_input.
|
|
3451
|
+
tmp22_local18 = tmp28_input.go(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
2971
3452
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
2972
|
-
tmp23_local19 = tmp28_input.
|
|
3453
|
+
tmp23_local19 = tmp28_input.go(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
2973
3454
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
2974
|
-
tmp24_local20 = tmp28_input.
|
|
3455
|
+
tmp24_local20 = tmp28_input.go(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
2975
3456
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
2976
|
-
tmp25_local21 = tmp28_input.
|
|
3457
|
+
tmp25_local21 = tmp28_input.go(tmp0_desc, 21, IntSerializer_getInstance(), tmp25_local21);
|
|
2977
3458
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
2978
|
-
tmp26_local22 = tmp28_input.
|
|
3459
|
+
tmp26_local22 = tmp28_input.go(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
2979
3460
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
2980
|
-
tmp27_local23 = tmp28_input.
|
|
3461
|
+
tmp27_local23 = tmp28_input.go(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
2981
3462
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
2982
3463
|
} else
|
|
2983
3464
|
while (tmp1_flag) {
|
|
2984
|
-
tmp2_index = tmp28_input.
|
|
3465
|
+
tmp2_index = tmp28_input.jo(tmp0_desc);
|
|
2985
3466
|
switch (tmp2_index) {
|
|
2986
3467
|
case -1:
|
|
2987
3468
|
tmp1_flag = false;
|
|
2988
3469
|
break;
|
|
2989
3470
|
case 0:
|
|
2990
|
-
tmp4_local0 = tmp28_input.
|
|
3471
|
+
tmp4_local0 = tmp28_input.go(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
2991
3472
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2992
3473
|
break;
|
|
2993
3474
|
case 1:
|
|
2994
|
-
tmp5_local1 = tmp28_input.
|
|
3475
|
+
tmp5_local1 = tmp28_input.go(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
2995
3476
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2996
3477
|
break;
|
|
2997
3478
|
case 2:
|
|
2998
|
-
tmp6_local2 = tmp28_input.
|
|
3479
|
+
tmp6_local2 = tmp28_input.go(tmp0_desc, 2, BooleanSerializer_getInstance(), tmp6_local2);
|
|
2999
3480
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3000
3481
|
break;
|
|
3001
3482
|
case 3:
|
|
3002
|
-
tmp7_local3 = tmp28_input.
|
|
3483
|
+
tmp7_local3 = tmp28_input.go(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
3003
3484
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3004
3485
|
break;
|
|
3005
3486
|
case 4:
|
|
3006
|
-
tmp8_local4 = tmp28_input.
|
|
3487
|
+
tmp8_local4 = tmp28_input.go(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
|
|
3007
3488
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3008
3489
|
break;
|
|
3009
3490
|
case 5:
|
|
3010
|
-
tmp9_local5 = tmp28_input.
|
|
3491
|
+
tmp9_local5 = tmp28_input.go(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
3011
3492
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3012
3493
|
break;
|
|
3013
3494
|
case 6:
|
|
3014
|
-
tmp10_local6 = tmp28_input.
|
|
3495
|
+
tmp10_local6 = tmp28_input.go(tmp0_desc, 6, IntSerializer_getInstance(), tmp10_local6);
|
|
3015
3496
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3016
3497
|
break;
|
|
3017
3498
|
case 7:
|
|
3018
|
-
tmp11_local7 = tmp28_input.
|
|
3499
|
+
tmp11_local7 = tmp28_input.go(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
3019
3500
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3020
3501
|
break;
|
|
3021
3502
|
case 8:
|
|
3022
|
-
tmp12_local8 = tmp28_input.
|
|
3503
|
+
tmp12_local8 = tmp28_input.go(tmp0_desc, 8, tmp29_cached[8], tmp12_local8);
|
|
3023
3504
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
3024
3505
|
break;
|
|
3025
3506
|
case 9:
|
|
3026
|
-
tmp13_local9 = tmp28_input.
|
|
3507
|
+
tmp13_local9 = tmp28_input.go(tmp0_desc, 9, tmp29_cached[9], tmp13_local9);
|
|
3027
3508
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
3028
3509
|
break;
|
|
3029
3510
|
case 10:
|
|
3030
|
-
tmp14_local10 = tmp28_input.
|
|
3511
|
+
tmp14_local10 = tmp28_input.go(tmp0_desc, 10, tmp29_cached[10], tmp14_local10);
|
|
3031
3512
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
3032
3513
|
break;
|
|
3033
3514
|
case 11:
|
|
3034
|
-
tmp15_local11 = tmp28_input.
|
|
3515
|
+
tmp15_local11 = tmp28_input.go(tmp0_desc, 11, BooleanSerializer_getInstance(), tmp15_local11);
|
|
3035
3516
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
3036
3517
|
break;
|
|
3037
3518
|
case 12:
|
|
3038
|
-
tmp16_local12 = tmp28_input.
|
|
3519
|
+
tmp16_local12 = tmp28_input.go(tmp0_desc, 12, BooleanSerializer_getInstance(), tmp16_local12);
|
|
3039
3520
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
3040
3521
|
break;
|
|
3041
3522
|
case 13:
|
|
3042
|
-
tmp17_local13 = tmp28_input.
|
|
3523
|
+
tmp17_local13 = tmp28_input.go(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
3043
3524
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
3044
3525
|
break;
|
|
3045
3526
|
case 14:
|
|
3046
|
-
tmp18_local14 = tmp28_input.
|
|
3527
|
+
tmp18_local14 = tmp28_input.go(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
3047
3528
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
3048
3529
|
break;
|
|
3049
3530
|
case 15:
|
|
3050
|
-
tmp19_local15 = tmp28_input.
|
|
3531
|
+
tmp19_local15 = tmp28_input.go(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
3051
3532
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
3052
3533
|
break;
|
|
3053
3534
|
case 16:
|
|
3054
|
-
tmp20_local16 = tmp28_input.
|
|
3535
|
+
tmp20_local16 = tmp28_input.go(tmp0_desc, 16, BooleanSerializer_getInstance(), tmp20_local16);
|
|
3055
3536
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
3056
3537
|
break;
|
|
3057
3538
|
case 17:
|
|
3058
|
-
tmp21_local17 = tmp28_input.
|
|
3539
|
+
tmp21_local17 = tmp28_input.go(tmp0_desc, 17, BooleanSerializer_getInstance(), tmp21_local17);
|
|
3059
3540
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
3060
3541
|
break;
|
|
3061
3542
|
case 18:
|
|
3062
|
-
tmp22_local18 = tmp28_input.
|
|
3543
|
+
tmp22_local18 = tmp28_input.go(tmp0_desc, 18, BooleanSerializer_getInstance(), tmp22_local18);
|
|
3063
3544
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
3064
3545
|
break;
|
|
3065
3546
|
case 19:
|
|
3066
|
-
tmp23_local19 = tmp28_input.
|
|
3547
|
+
tmp23_local19 = tmp28_input.go(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
3067
3548
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
3068
3549
|
break;
|
|
3069
3550
|
case 20:
|
|
3070
|
-
tmp24_local20 = tmp28_input.
|
|
3551
|
+
tmp24_local20 = tmp28_input.go(tmp0_desc, 20, BooleanSerializer_getInstance(), tmp24_local20);
|
|
3071
3552
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
3072
3553
|
break;
|
|
3073
3554
|
case 21:
|
|
3074
|
-
tmp25_local21 = tmp28_input.
|
|
3555
|
+
tmp25_local21 = tmp28_input.go(tmp0_desc, 21, IntSerializer_getInstance(), tmp25_local21);
|
|
3075
3556
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
3076
3557
|
break;
|
|
3077
3558
|
case 22:
|
|
3078
|
-
tmp26_local22 = tmp28_input.
|
|
3559
|
+
tmp26_local22 = tmp28_input.go(tmp0_desc, 22, BooleanSerializer_getInstance(), tmp26_local22);
|
|
3079
3560
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
3080
3561
|
break;
|
|
3081
3562
|
case 23:
|
|
3082
|
-
tmp27_local23 = tmp28_input.
|
|
3563
|
+
tmp27_local23 = tmp28_input.go(tmp0_desc, 23, IntSerializer_getInstance(), tmp27_local23);
|
|
3083
3564
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
3084
3565
|
break;
|
|
3085
3566
|
default:
|
|
3086
3567
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3087
3568
|
}
|
|
3088
3569
|
}
|
|
3089
|
-
tmp28_input.
|
|
3570
|
+
tmp28_input.tn(tmp0_desc);
|
|
3090
3571
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, null);
|
|
3091
3572
|
};
|
|
3092
|
-
protoOf($
|
|
3093
|
-
return this.
|
|
3573
|
+
protoOf($serializer_9).jk = function () {
|
|
3574
|
+
return this.j2b_1;
|
|
3094
3575
|
};
|
|
3095
|
-
protoOf($
|
|
3096
|
-
var tmp0_cached =
|
|
3576
|
+
protoOf($serializer_9).xv = function () {
|
|
3577
|
+
var tmp0_cached = Companion_getInstance_20().i2b_1;
|
|
3097
3578
|
// Inline function 'kotlin.arrayOf' call
|
|
3098
3579
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3099
3580
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3100
3581
|
return [get_nullable(BooleanSerializer_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(tmp0_cached[10]), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
|
|
3101
3582
|
};
|
|
3102
|
-
var $
|
|
3103
|
-
function $
|
|
3104
|
-
if ($
|
|
3105
|
-
new $
|
|
3106
|
-
return $
|
|
3583
|
+
var $serializer_instance_9;
|
|
3584
|
+
function $serializer_getInstance_9() {
|
|
3585
|
+
if ($serializer_instance_9 == null)
|
|
3586
|
+
new $serializer_9();
|
|
3587
|
+
return $serializer_instance_9;
|
|
3107
3588
|
}
|
|
3108
3589
|
function RulesDto_init_$Init$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3109
3590
|
if (!(0 === (0 & seen0))) {
|
|
3110
|
-
throwMissingFieldException(seen0, 0, $
|
|
3591
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().j2b_1);
|
|
3111
3592
|
}
|
|
3112
3593
|
if (0 === (seen0 & 1))
|
|
3113
|
-
$this.
|
|
3594
|
+
$this.l2b_1 = null;
|
|
3114
3595
|
else
|
|
3115
|
-
$this.
|
|
3596
|
+
$this.l2b_1 = needToPutHigherTrump;
|
|
3116
3597
|
if (0 === (seen0 & 2))
|
|
3117
|
-
$this.
|
|
3598
|
+
$this.m2b_1 = null;
|
|
3118
3599
|
else
|
|
3119
|
-
$this.
|
|
3600
|
+
$this.m2b_1 = playerWhoChooseSuitGoFirst;
|
|
3120
3601
|
if (0 === (seen0 & 4))
|
|
3121
|
-
$this.
|
|
3602
|
+
$this.n2b_1 = null;
|
|
3122
3603
|
else
|
|
3123
|
-
$this.
|
|
3604
|
+
$this.n2b_1 = winnerShuffleCards;
|
|
3124
3605
|
if (0 === (seen0 & 8))
|
|
3125
|
-
$this.
|
|
3606
|
+
$this.o2b_1 = null;
|
|
3126
3607
|
else
|
|
3127
|
-
$this.
|
|
3608
|
+
$this.o2b_1 = playWithoutLiabilities;
|
|
3128
3609
|
if (0 === (seen0 & 16))
|
|
3129
|
-
$this.
|
|
3610
|
+
$this.p2b_1 = null;
|
|
3130
3611
|
else
|
|
3131
|
-
$this.
|
|
3612
|
+
$this.p2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3132
3613
|
if (0 === (seen0 & 32))
|
|
3133
|
-
$this.
|
|
3614
|
+
$this.q2b_1 = null;
|
|
3134
3615
|
else
|
|
3135
|
-
$this.
|
|
3616
|
+
$this.q2b_1 = dealerInitialCardsCount;
|
|
3136
3617
|
if (0 === (seen0 & 64))
|
|
3137
|
-
$this.
|
|
3618
|
+
$this.r2b_1 = null;
|
|
3138
3619
|
else
|
|
3139
|
-
$this.
|
|
3620
|
+
$this.r2b_1 = dealerFinalCardsCount;
|
|
3140
3621
|
if (0 === (seen0 & 128))
|
|
3141
|
-
$this.
|
|
3622
|
+
$this.s2b_1 = null;
|
|
3142
3623
|
else
|
|
3143
|
-
$this.
|
|
3624
|
+
$this.s2b_1 = dealerCounterClockwise;
|
|
3144
3625
|
if (0 === (seen0 & 256))
|
|
3145
|
-
$this.
|
|
3626
|
+
$this.t2b_1 = null;
|
|
3146
3627
|
else
|
|
3147
|
-
$this.
|
|
3628
|
+
$this.t2b_1 = contractTypes;
|
|
3148
3629
|
if (0 === (seen0 & 512))
|
|
3149
|
-
$this.
|
|
3630
|
+
$this.u2b_1 = null;
|
|
3150
3631
|
else
|
|
3151
|
-
$this.
|
|
3632
|
+
$this.u2b_1 = bidTypes;
|
|
3152
3633
|
if (0 === (seen0 & 1024))
|
|
3153
|
-
$this.
|
|
3634
|
+
$this.v2b_1 = null;
|
|
3154
3635
|
else
|
|
3155
|
-
$this.
|
|
3636
|
+
$this.v2b_1 = combinationsWithFirstCard;
|
|
3156
3637
|
if (0 === (seen0 & 2048))
|
|
3157
|
-
$this.
|
|
3638
|
+
$this.w2b_1 = null;
|
|
3158
3639
|
else
|
|
3159
|
-
$this.
|
|
3640
|
+
$this.w2b_1 = protectBella;
|
|
3160
3641
|
if (0 === (seen0 & 4096))
|
|
3161
|
-
$this.
|
|
3642
|
+
$this.x2b_1 = null;
|
|
3162
3643
|
else
|
|
3163
|
-
$this.
|
|
3644
|
+
$this.x2b_1 = oneTryToProtectBella;
|
|
3164
3645
|
if (0 === (seen0 & 8192))
|
|
3165
|
-
$this.
|
|
3646
|
+
$this.y2b_1 = null;
|
|
3166
3647
|
else
|
|
3167
|
-
$this.
|
|
3648
|
+
$this.y2b_1 = enableFourSevensCombination;
|
|
3168
3649
|
if (0 === (seen0 & 16384))
|
|
3169
|
-
$this.
|
|
3650
|
+
$this.z2b_1 = null;
|
|
3170
3651
|
else
|
|
3171
|
-
$this.
|
|
3652
|
+
$this.z2b_1 = enableTrumpSevenCombination;
|
|
3172
3653
|
if (0 === (seen0 & 32768))
|
|
3173
|
-
$this.
|
|
3654
|
+
$this.a2c_1 = null;
|
|
3174
3655
|
else
|
|
3175
|
-
$this.
|
|
3656
|
+
$this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3176
3657
|
if (0 === (seen0 & 65536))
|
|
3177
|
-
$this.
|
|
3658
|
+
$this.b2c_1 = null;
|
|
3178
3659
|
else
|
|
3179
|
-
$this.
|
|
3660
|
+
$this.b2c_1 = checkTrumpCombination;
|
|
3180
3661
|
if (0 === (seen0 & 131072))
|
|
3181
|
-
$this.
|
|
3662
|
+
$this.c2c_1 = null;
|
|
3182
3663
|
else
|
|
3183
|
-
$this.
|
|
3664
|
+
$this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3184
3665
|
if (0 === (seen0 & 262144))
|
|
3185
|
-
$this.
|
|
3666
|
+
$this.d2c_1 = null;
|
|
3186
3667
|
else
|
|
3187
|
-
$this.
|
|
3668
|
+
$this.d2c_1 = distributePoints;
|
|
3188
3669
|
if (0 === (seen0 & 524288))
|
|
3189
|
-
$this.
|
|
3670
|
+
$this.e2c_1 = null;
|
|
3190
3671
|
else
|
|
3191
|
-
$this.
|
|
3672
|
+
$this.e2c_1 = pointsDistributeMode;
|
|
3192
3673
|
if (0 === (seen0 & 1048576))
|
|
3193
|
-
$this.
|
|
3674
|
+
$this.f2c_1 = null;
|
|
3194
3675
|
else
|
|
3195
|
-
$this.
|
|
3676
|
+
$this.f2c_1 = enableFineIfNoBribes;
|
|
3196
3677
|
if (0 === (seen0 & 2097152))
|
|
3197
|
-
$this.
|
|
3678
|
+
$this.g2c_1 = null;
|
|
3198
3679
|
else
|
|
3199
|
-
$this.
|
|
3680
|
+
$this.g2c_1 = fineIfNoBribes;
|
|
3200
3681
|
if (0 === (seen0 & 4194304))
|
|
3201
|
-
$this.
|
|
3682
|
+
$this.h2c_1 = null;
|
|
3202
3683
|
else
|
|
3203
|
-
$this.
|
|
3684
|
+
$this.h2c_1 = enableFineAfterThirdByte;
|
|
3204
3685
|
if (0 === (seen0 & 8388608))
|
|
3205
|
-
$this.
|
|
3686
|
+
$this.i2c_1 = null;
|
|
3206
3687
|
else
|
|
3207
|
-
$this.
|
|
3688
|
+
$this.i2c_1 = fineAfterThirdFailedContract;
|
|
3208
3689
|
return $this;
|
|
3209
3690
|
}
|
|
3210
3691
|
function RulesDto_init_$Create$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
3211
3692
|
return RulesDto_init_$Init$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, objectCreate(protoOf(RulesDto)));
|
|
3212
3693
|
}
|
|
3213
3694
|
function RulesDto(needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3214
|
-
|
|
3695
|
+
Companion_getInstance_20();
|
|
3215
3696
|
needToPutHigherTrump = needToPutHigherTrump === VOID ? null : needToPutHigherTrump;
|
|
3216
3697
|
playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst === VOID ? null : playerWhoChooseSuitGoFirst;
|
|
3217
3698
|
winnerShuffleCards = winnerShuffleCards === VOID ? null : winnerShuffleCards;
|
|
@@ -3236,59 +3717,59 @@
|
|
|
3236
3717
|
fineIfNoBribes = fineIfNoBribes === VOID ? null : fineIfNoBribes;
|
|
3237
3718
|
enableFineAfterThirdByte = enableFineAfterThirdByte === VOID ? null : enableFineAfterThirdByte;
|
|
3238
3719
|
fineAfterThirdFailedContract = fineAfterThirdFailedContract === VOID ? null : fineAfterThirdFailedContract;
|
|
3239
|
-
this.
|
|
3240
|
-
this.
|
|
3241
|
-
this.
|
|
3242
|
-
this.
|
|
3243
|
-
this.
|
|
3244
|
-
this.
|
|
3245
|
-
this.
|
|
3246
|
-
this.
|
|
3247
|
-
this.
|
|
3248
|
-
this.
|
|
3249
|
-
this.
|
|
3250
|
-
this.
|
|
3251
|
-
this.
|
|
3252
|
-
this.
|
|
3253
|
-
this.
|
|
3254
|
-
this.
|
|
3255
|
-
this.
|
|
3256
|
-
this.
|
|
3257
|
-
this.
|
|
3258
|
-
this.
|
|
3259
|
-
this.
|
|
3260
|
-
this.
|
|
3261
|
-
this.
|
|
3262
|
-
this.
|
|
3720
|
+
this.l2b_1 = needToPutHigherTrump;
|
|
3721
|
+
this.m2b_1 = playerWhoChooseSuitGoFirst;
|
|
3722
|
+
this.n2b_1 = winnerShuffleCards;
|
|
3723
|
+
this.o2b_1 = playWithoutLiabilities;
|
|
3724
|
+
this.p2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3725
|
+
this.q2b_1 = dealerInitialCardsCount;
|
|
3726
|
+
this.r2b_1 = dealerFinalCardsCount;
|
|
3727
|
+
this.s2b_1 = dealerCounterClockwise;
|
|
3728
|
+
this.t2b_1 = contractTypes;
|
|
3729
|
+
this.u2b_1 = bidTypes;
|
|
3730
|
+
this.v2b_1 = combinationsWithFirstCard;
|
|
3731
|
+
this.w2b_1 = protectBella;
|
|
3732
|
+
this.x2b_1 = oneTryToProtectBella;
|
|
3733
|
+
this.y2b_1 = enableFourSevensCombination;
|
|
3734
|
+
this.z2b_1 = enableTrumpSevenCombination;
|
|
3735
|
+
this.a2c_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3736
|
+
this.b2c_1 = checkTrumpCombination;
|
|
3737
|
+
this.c2c_1 = checkOnlyTrumpDebertz;
|
|
3738
|
+
this.d2c_1 = distributePoints;
|
|
3739
|
+
this.e2c_1 = pointsDistributeMode;
|
|
3740
|
+
this.f2c_1 = enableFineIfNoBribes;
|
|
3741
|
+
this.g2c_1 = fineIfNoBribes;
|
|
3742
|
+
this.h2c_1 = enableFineAfterThirdByte;
|
|
3743
|
+
this.i2c_1 = fineAfterThirdFailedContract;
|
|
3263
3744
|
}
|
|
3264
3745
|
protoOf(RulesDto).toString = function () {
|
|
3265
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
3746
|
+
return 'RulesDto(needToPutHigherTrump=' + this.l2b_1 + ', playerWhoChooseSuitGoFirst=' + this.m2b_1 + ', winnerShuffleCards=' + this.n2b_1 + ', playWithoutLiabilities=' + this.o2b_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.p2b_1 + ', dealerInitialCardsCount=' + this.q2b_1 + ', dealerFinalCardsCount=' + this.r2b_1 + ', dealerCounterClockwise=' + this.s2b_1 + ', contractTypes=' + toString(this.t2b_1) + ', bidTypes=' + toString(this.u2b_1) + ', combinationsWithFirstCard=' + toString(this.v2b_1) + ', protectBella=' + this.w2b_1 + ', oneTryToProtectBella=' + this.x2b_1 + ', enableFourSevensCombination=' + this.y2b_1 + ', enableTrumpSevenCombination=' + this.z2b_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.a2c_1 + ', checkTrumpCombination=' + this.b2c_1 + ', checkOnlyTrumpDebertz=' + this.c2c_1 + ', distributePoints=' + this.d2c_1 + ', pointsDistributeMode=' + this.e2c_1 + ', enableFineIfNoBribes=' + this.f2c_1 + ', fineIfNoBribes=' + this.g2c_1 + ', enableFineAfterThirdByte=' + this.h2c_1 + ', fineAfterThirdFailedContract=' + this.i2c_1 + ')';
|
|
3266
3747
|
};
|
|
3267
3748
|
protoOf(RulesDto).hashCode = function () {
|
|
3268
|
-
var result = this.
|
|
3269
|
-
result = imul(result, 31) + (this.
|
|
3270
|
-
result = imul(result, 31) + (this.
|
|
3271
|
-
result = imul(result, 31) + (this.
|
|
3272
|
-
result = imul(result, 31) + (this.
|
|
3273
|
-
result = imul(result, 31) + (this.
|
|
3274
|
-
result = imul(result, 31) + (this.
|
|
3275
|
-
result = imul(result, 31) + (this.
|
|
3276
|
-
result = imul(result, 31) + (this.
|
|
3277
|
-
result = imul(result, 31) + (this.
|
|
3278
|
-
result = imul(result, 31) + (this.
|
|
3279
|
-
result = imul(result, 31) + (this.
|
|
3280
|
-
result = imul(result, 31) + (this.
|
|
3281
|
-
result = imul(result, 31) + (this.
|
|
3282
|
-
result = imul(result, 31) + (this.
|
|
3283
|
-
result = imul(result, 31) + (this.
|
|
3284
|
-
result = imul(result, 31) + (this.
|
|
3285
|
-
result = imul(result, 31) + (this.
|
|
3286
|
-
result = imul(result, 31) + (this.
|
|
3287
|
-
result = imul(result, 31) + (this.
|
|
3288
|
-
result = imul(result, 31) + (this.
|
|
3289
|
-
result = imul(result, 31) + (this.
|
|
3290
|
-
result = imul(result, 31) + (this.
|
|
3291
|
-
result = imul(result, 31) + (this.
|
|
3749
|
+
var result = this.l2b_1 == null ? 0 : getBooleanHashCode(this.l2b_1);
|
|
3750
|
+
result = imul(result, 31) + (this.m2b_1 == null ? 0 : getBooleanHashCode(this.m2b_1)) | 0;
|
|
3751
|
+
result = imul(result, 31) + (this.n2b_1 == null ? 0 : getBooleanHashCode(this.n2b_1)) | 0;
|
|
3752
|
+
result = imul(result, 31) + (this.o2b_1 == null ? 0 : getBooleanHashCode(this.o2b_1)) | 0;
|
|
3753
|
+
result = imul(result, 31) + (this.p2b_1 == null ? 0 : getBooleanHashCode(this.p2b_1)) | 0;
|
|
3754
|
+
result = imul(result, 31) + (this.q2b_1 == null ? 0 : this.q2b_1) | 0;
|
|
3755
|
+
result = imul(result, 31) + (this.r2b_1 == null ? 0 : this.r2b_1) | 0;
|
|
3756
|
+
result = imul(result, 31) + (this.s2b_1 == null ? 0 : getBooleanHashCode(this.s2b_1)) | 0;
|
|
3757
|
+
result = imul(result, 31) + (this.t2b_1 == null ? 0 : hashCode(this.t2b_1)) | 0;
|
|
3758
|
+
result = imul(result, 31) + (this.u2b_1 == null ? 0 : hashCode(this.u2b_1)) | 0;
|
|
3759
|
+
result = imul(result, 31) + (this.v2b_1 == null ? 0 : hashCode(this.v2b_1)) | 0;
|
|
3760
|
+
result = imul(result, 31) + (this.w2b_1 == null ? 0 : getBooleanHashCode(this.w2b_1)) | 0;
|
|
3761
|
+
result = imul(result, 31) + (this.x2b_1 == null ? 0 : getBooleanHashCode(this.x2b_1)) | 0;
|
|
3762
|
+
result = imul(result, 31) + (this.y2b_1 == null ? 0 : getBooleanHashCode(this.y2b_1)) | 0;
|
|
3763
|
+
result = imul(result, 31) + (this.z2b_1 == null ? 0 : getBooleanHashCode(this.z2b_1)) | 0;
|
|
3764
|
+
result = imul(result, 31) + (this.a2c_1 == null ? 0 : getBooleanHashCode(this.a2c_1)) | 0;
|
|
3765
|
+
result = imul(result, 31) + (this.b2c_1 == null ? 0 : getBooleanHashCode(this.b2c_1)) | 0;
|
|
3766
|
+
result = imul(result, 31) + (this.c2c_1 == null ? 0 : getBooleanHashCode(this.c2c_1)) | 0;
|
|
3767
|
+
result = imul(result, 31) + (this.d2c_1 == null ? 0 : getBooleanHashCode(this.d2c_1)) | 0;
|
|
3768
|
+
result = imul(result, 31) + (this.e2c_1 == null ? 0 : getStringHashCode(this.e2c_1)) | 0;
|
|
3769
|
+
result = imul(result, 31) + (this.f2c_1 == null ? 0 : getBooleanHashCode(this.f2c_1)) | 0;
|
|
3770
|
+
result = imul(result, 31) + (this.g2c_1 == null ? 0 : this.g2c_1) | 0;
|
|
3771
|
+
result = imul(result, 31) + (this.h2c_1 == null ? 0 : getBooleanHashCode(this.h2c_1)) | 0;
|
|
3772
|
+
result = imul(result, 31) + (this.i2c_1 == null ? 0 : this.i2c_1) | 0;
|
|
3292
3773
|
return result;
|
|
3293
3774
|
};
|
|
3294
3775
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3297,53 +3778,53 @@
|
|
|
3297
3778
|
if (!(other instanceof RulesDto))
|
|
3298
3779
|
return false;
|
|
3299
3780
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3300
|
-
if (!(this.
|
|
3781
|
+
if (!(this.l2b_1 == tmp0_other_with_cast.l2b_1))
|
|
3301
3782
|
return false;
|
|
3302
|
-
if (!(this.
|
|
3783
|
+
if (!(this.m2b_1 == tmp0_other_with_cast.m2b_1))
|
|
3303
3784
|
return false;
|
|
3304
|
-
if (!(this.
|
|
3785
|
+
if (!(this.n2b_1 == tmp0_other_with_cast.n2b_1))
|
|
3305
3786
|
return false;
|
|
3306
|
-
if (!(this.
|
|
3787
|
+
if (!(this.o2b_1 == tmp0_other_with_cast.o2b_1))
|
|
3307
3788
|
return false;
|
|
3308
|
-
if (!(this.
|
|
3789
|
+
if (!(this.p2b_1 == tmp0_other_with_cast.p2b_1))
|
|
3309
3790
|
return false;
|
|
3310
|
-
if (!(this.
|
|
3791
|
+
if (!(this.q2b_1 == tmp0_other_with_cast.q2b_1))
|
|
3311
3792
|
return false;
|
|
3312
|
-
if (!(this.
|
|
3793
|
+
if (!(this.r2b_1 == tmp0_other_with_cast.r2b_1))
|
|
3313
3794
|
return false;
|
|
3314
|
-
if (!(this.
|
|
3795
|
+
if (!(this.s2b_1 == tmp0_other_with_cast.s2b_1))
|
|
3315
3796
|
return false;
|
|
3316
|
-
if (!equals(this.
|
|
3797
|
+
if (!equals(this.t2b_1, tmp0_other_with_cast.t2b_1))
|
|
3317
3798
|
return false;
|
|
3318
|
-
if (!equals(this.
|
|
3799
|
+
if (!equals(this.u2b_1, tmp0_other_with_cast.u2b_1))
|
|
3319
3800
|
return false;
|
|
3320
|
-
if (!equals(this.
|
|
3801
|
+
if (!equals(this.v2b_1, tmp0_other_with_cast.v2b_1))
|
|
3321
3802
|
return false;
|
|
3322
|
-
if (!(this.
|
|
3803
|
+
if (!(this.w2b_1 == tmp0_other_with_cast.w2b_1))
|
|
3323
3804
|
return false;
|
|
3324
|
-
if (!(this.
|
|
3805
|
+
if (!(this.x2b_1 == tmp0_other_with_cast.x2b_1))
|
|
3325
3806
|
return false;
|
|
3326
|
-
if (!(this.
|
|
3807
|
+
if (!(this.y2b_1 == tmp0_other_with_cast.y2b_1))
|
|
3327
3808
|
return false;
|
|
3328
|
-
if (!(this.
|
|
3809
|
+
if (!(this.z2b_1 == tmp0_other_with_cast.z2b_1))
|
|
3329
3810
|
return false;
|
|
3330
|
-
if (!(this.
|
|
3811
|
+
if (!(this.a2c_1 == tmp0_other_with_cast.a2c_1))
|
|
3331
3812
|
return false;
|
|
3332
|
-
if (!(this.
|
|
3813
|
+
if (!(this.b2c_1 == tmp0_other_with_cast.b2c_1))
|
|
3333
3814
|
return false;
|
|
3334
|
-
if (!(this.
|
|
3815
|
+
if (!(this.c2c_1 == tmp0_other_with_cast.c2c_1))
|
|
3335
3816
|
return false;
|
|
3336
|
-
if (!(this.
|
|
3817
|
+
if (!(this.d2c_1 == tmp0_other_with_cast.d2c_1))
|
|
3337
3818
|
return false;
|
|
3338
|
-
if (!(this.
|
|
3819
|
+
if (!(this.e2c_1 == tmp0_other_with_cast.e2c_1))
|
|
3339
3820
|
return false;
|
|
3340
|
-
if (!(this.
|
|
3821
|
+
if (!(this.f2c_1 == tmp0_other_with_cast.f2c_1))
|
|
3341
3822
|
return false;
|
|
3342
|
-
if (!(this.
|
|
3823
|
+
if (!(this.g2c_1 == tmp0_other_with_cast.g2c_1))
|
|
3343
3824
|
return false;
|
|
3344
|
-
if (!(this.
|
|
3825
|
+
if (!(this.h2c_1 == tmp0_other_with_cast.h2c_1))
|
|
3345
3826
|
return false;
|
|
3346
|
-
if (!(this.
|
|
3827
|
+
if (!(this.i2c_1 == tmp0_other_with_cast.i2c_1))
|
|
3347
3828
|
return false;
|
|
3348
3829
|
return true;
|
|
3349
3830
|
};
|
|
@@ -3465,8 +3946,8 @@
|
|
|
3465
3946
|
var nextItemIndex = index + 1 | 0;
|
|
3466
3947
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3467
3948
|
}
|
|
3468
|
-
function _get_$
|
|
3469
|
-
return $this.
|
|
3949
|
+
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3950
|
+
return $this.p2c_1.a2();
|
|
3470
3951
|
}
|
|
3471
3952
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3472
3953
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3502,24 +3983,24 @@
|
|
|
3502
3983
|
$ENTRIES_1 = enumEntries(values_3());
|
|
3503
3984
|
return $ENTRIES_1;
|
|
3504
3985
|
}
|
|
3505
|
-
function
|
|
3506
|
-
|
|
3986
|
+
function Companion_19() {
|
|
3987
|
+
Companion_instance_19 = this;
|
|
3507
3988
|
var tmp = this;
|
|
3508
3989
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3509
|
-
tmp.
|
|
3990
|
+
tmp.p2c_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3510
3991
|
}
|
|
3511
|
-
protoOf(
|
|
3512
|
-
return _get_$
|
|
3992
|
+
protoOf(Companion_19).z17 = function () {
|
|
3993
|
+
return _get_$cachedSerializer__te6jhj_8(this);
|
|
3513
3994
|
};
|
|
3514
|
-
protoOf(
|
|
3515
|
-
return this.
|
|
3995
|
+
protoOf(Companion_19).iw = function (typeParamsSerializers) {
|
|
3996
|
+
return this.z17();
|
|
3516
3997
|
};
|
|
3517
|
-
var
|
|
3518
|
-
function
|
|
3998
|
+
var Companion_instance_19;
|
|
3999
|
+
function Companion_getInstance_21() {
|
|
3519
4000
|
LogType_initEntries();
|
|
3520
|
-
if (
|
|
3521
|
-
new
|
|
3522
|
-
return
|
|
4001
|
+
if (Companion_instance_19 == null)
|
|
4002
|
+
new Companion_19();
|
|
4003
|
+
return Companion_instance_19;
|
|
3523
4004
|
}
|
|
3524
4005
|
var LogType_entriesInitialized;
|
|
3525
4006
|
function LogType_initEntries() {
|
|
@@ -3531,7 +4012,7 @@
|
|
|
3531
4012
|
LogType_WARN_instance = new LogType('WARN', 2);
|
|
3532
4013
|
LogType_VERBOSE_instance = new LogType('VERBOSE', 3);
|
|
3533
4014
|
LogType_INFO_instance = new LogType('INFO', 4);
|
|
3534
|
-
|
|
4015
|
+
Companion_getInstance_21();
|
|
3535
4016
|
}
|
|
3536
4017
|
var $ENTRIES_1;
|
|
3537
4018
|
function LogType(name, ordinal) {
|
|
@@ -3559,49 +4040,49 @@
|
|
|
3559
4040
|
}
|
|
3560
4041
|
function ObservableLoggerOutput() {
|
|
3561
4042
|
}
|
|
3562
|
-
function
|
|
3563
|
-
|
|
4043
|
+
function Companion_20() {
|
|
4044
|
+
Companion_instance_20 = this;
|
|
3564
4045
|
var tmp = this;
|
|
3565
4046
|
// Inline function 'kotlin.arrayOf' call
|
|
3566
4047
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3567
4048
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3568
|
-
tmp.
|
|
4049
|
+
tmp.v2c_1 = [Companion_getInstance_21().z17(), null, null, null, null];
|
|
3569
4050
|
}
|
|
3570
|
-
protoOf(
|
|
3571
|
-
return $
|
|
4051
|
+
protoOf(Companion_20).z17 = function () {
|
|
4052
|
+
return $serializer_getInstance_10();
|
|
3572
4053
|
};
|
|
3573
|
-
var
|
|
3574
|
-
function
|
|
3575
|
-
if (
|
|
3576
|
-
new
|
|
3577
|
-
return
|
|
4054
|
+
var Companion_instance_20;
|
|
4055
|
+
function Companion_getInstance_22() {
|
|
4056
|
+
if (Companion_instance_20 == null)
|
|
4057
|
+
new Companion_20();
|
|
4058
|
+
return Companion_instance_20;
|
|
3578
4059
|
}
|
|
3579
|
-
function $
|
|
3580
|
-
$
|
|
4060
|
+
function $serializer_10() {
|
|
4061
|
+
$serializer_instance_10 = this;
|
|
3581
4062
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
3582
|
-
tmp0_serialDesc.
|
|
3583
|
-
tmp0_serialDesc.
|
|
3584
|
-
tmp0_serialDesc.
|
|
3585
|
-
tmp0_serialDesc.
|
|
3586
|
-
tmp0_serialDesc.
|
|
3587
|
-
this.
|
|
3588
|
-
}
|
|
3589
|
-
protoOf($
|
|
3590
|
-
var tmp0_desc = this.
|
|
3591
|
-
var tmp1_output = encoder.
|
|
3592
|
-
var tmp2_cached =
|
|
3593
|
-
tmp1_output.
|
|
3594
|
-
tmp1_output.
|
|
3595
|
-
tmp1_output.
|
|
3596
|
-
tmp1_output.
|
|
3597
|
-
tmp1_output.
|
|
3598
|
-
tmp1_output.
|
|
3599
|
-
};
|
|
3600
|
-
protoOf($
|
|
3601
|
-
return this.
|
|
3602
|
-
};
|
|
3603
|
-
protoOf($
|
|
3604
|
-
var tmp0_desc = this.
|
|
4063
|
+
tmp0_serialDesc.iv('type', false);
|
|
4064
|
+
tmp0_serialDesc.iv('key', false);
|
|
4065
|
+
tmp0_serialDesc.iv('tag', false);
|
|
4066
|
+
tmp0_serialDesc.iv('message', false);
|
|
4067
|
+
tmp0_serialDesc.iv('stackTrace', false);
|
|
4068
|
+
this.w2c_1 = tmp0_serialDesc;
|
|
4069
|
+
}
|
|
4070
|
+
protoOf($serializer_10).x2c = function (encoder, value) {
|
|
4071
|
+
var tmp0_desc = this.w2c_1;
|
|
4072
|
+
var tmp1_output = encoder.sn(tmp0_desc);
|
|
4073
|
+
var tmp2_cached = Companion_getInstance_22().v2c_1;
|
|
4074
|
+
tmp1_output.jp(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
4075
|
+
tmp1_output.lp(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
4076
|
+
tmp1_output.lp(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
4077
|
+
tmp1_output.lp(tmp0_desc, 3, StringSerializer_getInstance(), value.message);
|
|
4078
|
+
tmp1_output.lp(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
4079
|
+
tmp1_output.tn(tmp0_desc);
|
|
4080
|
+
};
|
|
4081
|
+
protoOf($serializer_10).kk = function (encoder, value) {
|
|
4082
|
+
return this.x2c(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
4083
|
+
};
|
|
4084
|
+
protoOf($serializer_10).lk = function (decoder) {
|
|
4085
|
+
var tmp0_desc = this.w2c_1;
|
|
3605
4086
|
var tmp1_flag = true;
|
|
3606
4087
|
var tmp2_index = 0;
|
|
3607
4088
|
var tmp3_bitMask0 = 0;
|
|
@@ -3610,71 +4091,71 @@
|
|
|
3610
4091
|
var tmp6_local2 = null;
|
|
3611
4092
|
var tmp7_local3 = null;
|
|
3612
4093
|
var tmp8_local4 = null;
|
|
3613
|
-
var tmp9_input = decoder.
|
|
3614
|
-
var tmp10_cached =
|
|
3615
|
-
if (tmp9_input.
|
|
3616
|
-
tmp4_local0 = tmp9_input.
|
|
4094
|
+
var tmp9_input = decoder.sn(tmp0_desc);
|
|
4095
|
+
var tmp10_cached = Companion_getInstance_22().v2c_1;
|
|
4096
|
+
if (tmp9_input.io()) {
|
|
4097
|
+
tmp4_local0 = tmp9_input.eo(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
3617
4098
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3618
|
-
tmp5_local1 = tmp9_input.
|
|
4099
|
+
tmp5_local1 = tmp9_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3619
4100
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3620
|
-
tmp6_local2 = tmp9_input.
|
|
4101
|
+
tmp6_local2 = tmp9_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3621
4102
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3622
|
-
tmp7_local3 = tmp9_input.
|
|
4103
|
+
tmp7_local3 = tmp9_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3623
4104
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3624
|
-
tmp8_local4 = tmp9_input.
|
|
4105
|
+
tmp8_local4 = tmp9_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3625
4106
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3626
4107
|
} else
|
|
3627
4108
|
while (tmp1_flag) {
|
|
3628
|
-
tmp2_index = tmp9_input.
|
|
4109
|
+
tmp2_index = tmp9_input.jo(tmp0_desc);
|
|
3629
4110
|
switch (tmp2_index) {
|
|
3630
4111
|
case -1:
|
|
3631
4112
|
tmp1_flag = false;
|
|
3632
4113
|
break;
|
|
3633
4114
|
case 0:
|
|
3634
|
-
tmp4_local0 = tmp9_input.
|
|
4115
|
+
tmp4_local0 = tmp9_input.eo(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
3635
4116
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3636
4117
|
break;
|
|
3637
4118
|
case 1:
|
|
3638
|
-
tmp5_local1 = tmp9_input.
|
|
4119
|
+
tmp5_local1 = tmp9_input.go(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3639
4120
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3640
4121
|
break;
|
|
3641
4122
|
case 2:
|
|
3642
|
-
tmp6_local2 = tmp9_input.
|
|
4123
|
+
tmp6_local2 = tmp9_input.go(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3643
4124
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3644
4125
|
break;
|
|
3645
4126
|
case 3:
|
|
3646
|
-
tmp7_local3 = tmp9_input.
|
|
4127
|
+
tmp7_local3 = tmp9_input.go(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3647
4128
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3648
4129
|
break;
|
|
3649
4130
|
case 4:
|
|
3650
|
-
tmp8_local4 = tmp9_input.
|
|
4131
|
+
tmp8_local4 = tmp9_input.go(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3651
4132
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3652
4133
|
break;
|
|
3653
4134
|
default:
|
|
3654
4135
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3655
4136
|
}
|
|
3656
4137
|
}
|
|
3657
|
-
tmp9_input.
|
|
4138
|
+
tmp9_input.tn(tmp0_desc);
|
|
3658
4139
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3659
4140
|
};
|
|
3660
|
-
protoOf($
|
|
3661
|
-
return this.
|
|
4141
|
+
protoOf($serializer_10).jk = function () {
|
|
4142
|
+
return this.w2c_1;
|
|
3662
4143
|
};
|
|
3663
|
-
protoOf($
|
|
4144
|
+
protoOf($serializer_10).xv = function () {
|
|
3664
4145
|
// Inline function 'kotlin.arrayOf' call
|
|
3665
4146
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3666
4147
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3667
|
-
return [
|
|
4148
|
+
return [Companion_getInstance_22().v2c_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
3668
4149
|
};
|
|
3669
|
-
var $
|
|
3670
|
-
function $
|
|
3671
|
-
if ($
|
|
3672
|
-
new $
|
|
3673
|
-
return $
|
|
4150
|
+
var $serializer_instance_10;
|
|
4151
|
+
function $serializer_getInstance_10() {
|
|
4152
|
+
if ($serializer_instance_10 == null)
|
|
4153
|
+
new $serializer_10();
|
|
4154
|
+
return $serializer_instance_10;
|
|
3674
4155
|
}
|
|
3675
4156
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
3676
4157
|
if (!(31 === (31 & seen0))) {
|
|
3677
|
-
throwMissingFieldException(seen0, 31, $
|
|
4158
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_10().w2c_1);
|
|
3678
4159
|
}
|
|
3679
4160
|
$this.type = type;
|
|
3680
4161
|
$this.key = key;
|
|
@@ -3687,30 +4168,30 @@
|
|
|
3687
4168
|
return LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
|
|
3688
4169
|
}
|
|
3689
4170
|
function LoggerOutputDataDto(type, key, tag, message, stackTrace) {
|
|
3690
|
-
|
|
4171
|
+
Companion_getInstance_22();
|
|
3691
4172
|
this.type = type;
|
|
3692
4173
|
this.key = key;
|
|
3693
4174
|
this.tag = tag;
|
|
3694
4175
|
this.message = message;
|
|
3695
4176
|
this.stackTrace = stackTrace;
|
|
3696
4177
|
}
|
|
3697
|
-
protoOf(LoggerOutputDataDto).
|
|
4178
|
+
protoOf(LoggerOutputDataDto).l20 = function () {
|
|
3698
4179
|
return this.type;
|
|
3699
4180
|
};
|
|
3700
4181
|
protoOf(LoggerOutputDataDto).z1 = function () {
|
|
3701
4182
|
return this.key;
|
|
3702
4183
|
};
|
|
3703
|
-
protoOf(LoggerOutputDataDto).
|
|
4184
|
+
protoOf(LoggerOutputDataDto).u26 = function () {
|
|
3704
4185
|
return this.tag;
|
|
3705
4186
|
};
|
|
3706
4187
|
protoOf(LoggerOutputDataDto).e9 = function () {
|
|
3707
4188
|
return this.message;
|
|
3708
4189
|
};
|
|
3709
|
-
protoOf(LoggerOutputDataDto).
|
|
4190
|
+
protoOf(LoggerOutputDataDto).y2c = function () {
|
|
3710
4191
|
return this.stackTrace;
|
|
3711
4192
|
};
|
|
3712
4193
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
3713
|
-
var time = toLocalDateTime(System_instance.
|
|
4194
|
+
var time = toLocalDateTime(System_instance.y1g(), Companion_getInstance_0().a1x());
|
|
3714
4195
|
var tmp = time.toString();
|
|
3715
4196
|
// Inline function 'kotlin.text.lowercase' call
|
|
3716
4197
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3765,13 +4246,13 @@
|
|
|
3765
4246
|
protoOf(LoggerOutputDataDto).dh = function () {
|
|
3766
4247
|
return this.tag;
|
|
3767
4248
|
};
|
|
3768
|
-
protoOf(LoggerOutputDataDto).
|
|
4249
|
+
protoOf(LoggerOutputDataDto).p1x = function () {
|
|
3769
4250
|
return this.message;
|
|
3770
4251
|
};
|
|
3771
|
-
protoOf(LoggerOutputDataDto).
|
|
4252
|
+
protoOf(LoggerOutputDataDto).p27 = function () {
|
|
3772
4253
|
return this.stackTrace;
|
|
3773
4254
|
};
|
|
3774
|
-
protoOf(LoggerOutputDataDto).
|
|
4255
|
+
protoOf(LoggerOutputDataDto).z2c = function (type, key, tag, message, stackTrace) {
|
|
3775
4256
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
3776
4257
|
};
|
|
3777
4258
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -3780,7 +4261,7 @@
|
|
|
3780
4261
|
tag = tag === VOID ? this.tag : tag;
|
|
3781
4262
|
message = message === VOID ? this.message : message;
|
|
3782
4263
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
3783
|
-
return this.
|
|
4264
|
+
return this.z2c(type, key, tag, message, stackTrace);
|
|
3784
4265
|
};
|
|
3785
4266
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
3786
4267
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -3836,71 +4317,75 @@
|
|
|
3836
4317
|
return destination;
|
|
3837
4318
|
}
|
|
3838
4319
|
//region block: post-declaration
|
|
3839
|
-
protoOf($serializer).
|
|
3840
|
-
|
|
4320
|
+
protoOf($serializer).yv = typeParametersSerializers;
|
|
4321
|
+
protoOf($serializer_0).yv = typeParametersSerializers;
|
|
4322
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).p26);
|
|
3841
4323
|
defineProp(protoOf(PlayerLostConnectionReason), 'playerId', function () {
|
|
3842
|
-
return this.
|
|
4324
|
+
return this.t26();
|
|
3843
4325
|
});
|
|
3844
4326
|
defineProp(protoOf(PlayerLostConnectionReason), 'connectionState', function () {
|
|
3845
|
-
return this.
|
|
4327
|
+
return this.v26();
|
|
3846
4328
|
});
|
|
3847
4329
|
defineProp(protoOf(PlayerTimeoutReason), 'playerId', function () {
|
|
3848
|
-
return this.
|
|
4330
|
+
return this.t26();
|
|
3849
4331
|
});
|
|
3850
4332
|
defineProp(protoOf(PlayerTimeoutReason), 'connectionState', function () {
|
|
3851
|
-
return this.
|
|
4333
|
+
return this.v26();
|
|
3852
4334
|
});
|
|
3853
4335
|
defineProp(protoOf(PlayerExitReason), 'playerId', function () {
|
|
3854
|
-
return this.
|
|
4336
|
+
return this.t26();
|
|
3855
4337
|
});
|
|
3856
4338
|
defineProp(protoOf(PlayerExitReason), 'connectionState', function () {
|
|
3857
|
-
return this.
|
|
4339
|
+
return this.v26();
|
|
3858
4340
|
});
|
|
3859
4341
|
defineProp(protoOf(Reason), 'name', protoOf(Reason).k2);
|
|
3860
4342
|
defineProp(protoOf(Reason), 'ordinal', protoOf(Reason).l2);
|
|
3861
4343
|
defineProp(protoOf(Reason_0), 'name', protoOf(Reason_0).k2);
|
|
3862
4344
|
defineProp(protoOf(Reason_0), 'ordinal', protoOf(Reason_0).l2);
|
|
3863
4345
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
3864
|
-
return this.
|
|
4346
|
+
return this.t26();
|
|
3865
4347
|
});
|
|
3866
4348
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
3867
|
-
return this.
|
|
4349
|
+
return this.t26();
|
|
3868
4350
|
});
|
|
3869
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
3870
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
3871
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
3872
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
3873
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
3874
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
3875
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
3876
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
3877
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
3878
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4351
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).s28);
|
|
4352
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).t28);
|
|
4353
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).u28);
|
|
4354
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).v28);
|
|
4355
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).w28);
|
|
4356
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).x28);
|
|
4357
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).y28);
|
|
4358
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).z28);
|
|
4359
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).a29);
|
|
4360
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).b29);
|
|
3879
4361
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).k2);
|
|
3880
4362
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).l2);
|
|
3881
|
-
protoOf($
|
|
3882
|
-
protoOf($
|
|
3883
|
-
protoOf($
|
|
3884
|
-
protoOf($
|
|
3885
|
-
protoOf($
|
|
3886
|
-
protoOf($
|
|
3887
|
-
protoOf($
|
|
4363
|
+
protoOf($serializer_1).yv = typeParametersSerializers;
|
|
4364
|
+
protoOf($serializer_2).yv = typeParametersSerializers;
|
|
4365
|
+
protoOf($serializer_3).yv = typeParametersSerializers;
|
|
4366
|
+
protoOf($serializer_4).yv = typeParametersSerializers;
|
|
4367
|
+
protoOf($serializer_5).yv = typeParametersSerializers;
|
|
4368
|
+
protoOf($serializer_6).yv = typeParametersSerializers;
|
|
4369
|
+
protoOf($serializer_7).yv = typeParametersSerializers;
|
|
4370
|
+
protoOf($serializer_8).yv = typeParametersSerializers;
|
|
4371
|
+
protoOf($serializer_9).yv = typeParametersSerializers;
|
|
3888
4372
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).k2);
|
|
3889
4373
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).l2);
|
|
3890
|
-
protoOf($
|
|
4374
|
+
protoOf($serializer_10).yv = typeParametersSerializers;
|
|
3891
4375
|
//endregion
|
|
3892
4376
|
//region block: init
|
|
3893
4377
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
3894
4378
|
Companion_instance_0 = new Companion_0();
|
|
3895
4379
|
Companion_instance_1 = new Companion_1();
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
4380
|
+
Companion_instance_2 = new Companion_2();
|
|
4381
|
+
Companion_instance_5 = new Companion_5();
|
|
4382
|
+
Companion_instance_8 = new Companion_8();
|
|
3899
4383
|
Companion_instance_10 = new Companion_10();
|
|
3900
4384
|
Companion_instance_11 = new Companion_11();
|
|
3901
4385
|
Companion_instance_12 = new Companion_12();
|
|
3902
4386
|
Companion_instance_13 = new Companion_13();
|
|
3903
4387
|
Companion_instance_14 = new Companion_14();
|
|
4388
|
+
Companion_instance_15 = new Companion_15();
|
|
3904
4389
|
//endregion
|
|
3905
4390
|
//region block: exports
|
|
3906
4391
|
function $jsExportAll$(_) {
|
|
@@ -3912,7 +4397,7 @@
|
|
|
3912
4397
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
3913
4398
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
3914
4399
|
$com$logic$data$models.CoreConfig = CoreConfig;
|
|
3915
|
-
defineProp($com$logic$data$models.CoreConfig, 'Companion',
|
|
4400
|
+
defineProp($com$logic$data$models.CoreConfig, 'Companion', Companion_getInstance_4);
|
|
3916
4401
|
var $com = _.com || (_.com = {});
|
|
3917
4402
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
3918
4403
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -3930,7 +4415,7 @@
|
|
|
3930
4415
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'FINISHED', Reason_FINISHED_getInstance);
|
|
3931
4416
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'NO_ACTIVE_PLAYERS', Reason_NO_ACTIVE_PLAYERS_getInstance);
|
|
3932
4417
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance);
|
|
3933
|
-
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion',
|
|
4418
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_5);
|
|
3934
4419
|
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
3935
4420
|
$com$logic$data$models.GameErrorReason.Reason = Reason_0;
|
|
3936
4421
|
$com$logic$data$models.GameErrorReason.Reason.values = values_0;
|
|
@@ -3940,7 +4425,7 @@
|
|
|
3940
4425
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance_0);
|
|
3941
4426
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'WRONG_PLAYER_TURN', Reason_WRONG_PLAYER_TURN_getInstance);
|
|
3942
4427
|
defineProp($com$logic$data$models.GameErrorReason.Reason, 'PLAYER_DISCONNECTED', Reason_PLAYER_DISCONNECTED_getInstance);
|
|
3943
|
-
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion',
|
|
4428
|
+
defineProp($com$logic$data$models.GameErrorReason.Reason, 'Companion', Companion_getInstance_6);
|
|
3944
4429
|
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
3945
4430
|
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance);
|
|
3946
4431
|
var $com = _.com || (_.com = {});
|
|
@@ -3970,7 +4455,7 @@
|
|
|
3970
4455
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT', PlayerConnectionState_LEFT_getInstance);
|
|
3971
4456
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DISCONNECTING', PlayerConnectionState_DISCONNECTING_getInstance);
|
|
3972
4457
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DELETED', PlayerConnectionState_DELETED_getInstance);
|
|
3973
|
-
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion',
|
|
4458
|
+
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion', Companion_getInstance_8);
|
|
3974
4459
|
var $com = _.com || (_.com = {});
|
|
3975
4460
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
3976
4461
|
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
@@ -4008,14 +4493,14 @@
|
|
|
4008
4493
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
4009
4494
|
defineProp($com$logic$utils$logger$outputs.LogType, 'VERBOSE', LogType_VERBOSE_getInstance);
|
|
4010
4495
|
defineProp($com$logic$utils$logger$outputs.LogType, 'INFO', LogType_INFO_getInstance);
|
|
4011
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion',
|
|
4496
|
+
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_21);
|
|
4012
4497
|
var $com = _.com || (_.com = {});
|
|
4013
4498
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4014
4499
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
4015
4500
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
4016
4501
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
4017
4502
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
4018
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion',
|
|
4503
|
+
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_22);
|
|
4019
4504
|
}
|
|
4020
4505
|
$jsExportAll$(_);
|
|
4021
4506
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -4027,41 +4512,46 @@
|
|
|
4027
4512
|
_.$_$.e = PlayerState;
|
|
4028
4513
|
_.$_$.f = Team;
|
|
4029
4514
|
_.$_$.g = getPlayer;
|
|
4030
|
-
_.$_$.h =
|
|
4515
|
+
_.$_$.h = mapFromDto_10;
|
|
4031
4516
|
_.$_$.i = mapFromDto_0;
|
|
4032
|
-
_.$_$.j =
|
|
4033
|
-
_.$_$.k =
|
|
4034
|
-
_.$_$.l =
|
|
4035
|
-
_.$_$.m =
|
|
4036
|
-
_.$_$.n =
|
|
4037
|
-
_.$_$.o =
|
|
4038
|
-
_.$_$.p =
|
|
4039
|
-
_.$_$.q =
|
|
4040
|
-
_.$_$.r =
|
|
4041
|
-
_.$_$.s =
|
|
4042
|
-
_.$_$.t =
|
|
4043
|
-
_.$_$.u =
|
|
4044
|
-
_.$_$.v =
|
|
4045
|
-
_.$_$.w =
|
|
4046
|
-
_.$_$.x =
|
|
4047
|
-
_.$_$.y =
|
|
4048
|
-
_.$_$.z =
|
|
4049
|
-
_.$_$.a1 =
|
|
4050
|
-
_.$_$.b1 =
|
|
4051
|
-
_.$_$.c1 =
|
|
4052
|
-
_.$_$.d1 =
|
|
4053
|
-
_.$_$.e1 =
|
|
4054
|
-
_.$_$.f1 =
|
|
4055
|
-
_.$_$.g1 =
|
|
4056
|
-
_.$_$.h1 =
|
|
4057
|
-
_.$_$.i1 =
|
|
4058
|
-
_.$_$.j1 =
|
|
4059
|
-
_.$_$.k1 =
|
|
4060
|
-
_.$_$.l1 =
|
|
4061
|
-
_.$_$.m1 =
|
|
4062
|
-
_.$_$.n1 =
|
|
4063
|
-
_.$_$.o1 =
|
|
4064
|
-
_.$_$.p1 =
|
|
4517
|
+
_.$_$.j = mapFromDto;
|
|
4518
|
+
_.$_$.k = mapFromDto_1;
|
|
4519
|
+
_.$_$.l = mapFromDto_9;
|
|
4520
|
+
_.$_$.m = mapToDto_1;
|
|
4521
|
+
_.$_$.n = mapToDto_10;
|
|
4522
|
+
_.$_$.o = mapToDto_0;
|
|
4523
|
+
_.$_$.p = mapToDto_9;
|
|
4524
|
+
_.$_$.q = mapToDto;
|
|
4525
|
+
_.$_$.r = RulesDto;
|
|
4526
|
+
_.$_$.s = TerminationGameReasonDto;
|
|
4527
|
+
_.$_$.t = notValidateWhenFinished;
|
|
4528
|
+
_.$_$.u = NotValidateIfGameFinished;
|
|
4529
|
+
_.$_$.v = notValidateWhenFinishing;
|
|
4530
|
+
_.$_$.w = NotValidateIfGameFinishing;
|
|
4531
|
+
_.$_$.x = BufferedAction;
|
|
4532
|
+
_.$_$.y = IgnoreBufferForAction;
|
|
4533
|
+
_.$_$.z = ReleaseBufferTriggerAction;
|
|
4534
|
+
_.$_$.a1 = get_actionTag;
|
|
4535
|
+
_.$_$.b1 = Action;
|
|
4536
|
+
_.$_$.c1 = enumToString;
|
|
4537
|
+
_.$_$.d1 = mapOfObject;
|
|
4538
|
+
_.$_$.e1 = nextToOrNull;
|
|
4539
|
+
_.$_$.f1 = previousToOrNull;
|
|
4540
|
+
_.$_$.g1 = toDomainEnumSafe;
|
|
4541
|
+
_.$_$.h1 = toDomainEnum;
|
|
4542
|
+
_.$_$.i1 = PlayerConnectionState_LEFT_getInstance;
|
|
4543
|
+
_.$_$.j1 = PlayerConnectionState_LIVE_getInstance;
|
|
4544
|
+
_.$_$.k1 = Companion_instance_5;
|
|
4545
|
+
_.$_$.l1 = Companion_getInstance_8;
|
|
4546
|
+
_.$_$.m1 = Companion_instance_8;
|
|
4547
|
+
_.$_$.n1 = Companion_getInstance_9;
|
|
4548
|
+
_.$_$.o1 = $serializer_getInstance_6;
|
|
4549
|
+
_.$_$.p1 = $serializer_getInstance_8;
|
|
4550
|
+
_.$_$.q1 = $serializer_getInstance_9;
|
|
4551
|
+
_.$_$.r1 = ProcessingReasonDto_getInstance;
|
|
4552
|
+
_.$_$.s1 = Companion_getInstance_11;
|
|
4553
|
+
_.$_$.t1 = Companion_getInstance_1;
|
|
4554
|
+
_.$_$.u1 = RestartGameReason_getInstance;
|
|
4065
4555
|
//endregion
|
|
4066
4556
|
return _;
|
|
4067
4557
|
}));
|