game_client_logic_deb 1.3.48 → 1.3.49
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/88b0986a7186d029-atomicfu-js-ir.js +53 -53
- package/Kaverit-kaverit-js-ir.js +85 -85
- package/Kodein-kodein-di-js-ir.js +648 -648
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +222 -41
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +1869 -757
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +22706 -10527
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client_logic_deb.d.ts +69 -1
- package/Logic_Debertz-game_client_logic_deb.js +4048 -4037
- package/Logic_Debertz-game_client_logic_deb.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +4145 -1884
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +3798 -733
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +4869 -118
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2552 -2552
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +38 -38
package/Logic_Debertz-core.js
CHANGED
|
@@ -22,44 +22,50 @@
|
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
24
|
var imul = Math.imul;
|
|
25
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
26
|
-
var Unit_getInstance = kotlin_kotlin.$_$.p2;
|
|
27
|
-
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
28
|
-
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
|
|
29
|
-
var lazy = kotlin_kotlin.$_$.b9;
|
|
30
|
-
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
25
|
+
var objectMeta = kotlin_kotlin.$_$.x9;
|
|
31
26
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
27
|
+
var Unit_getInstance = kotlin_kotlin.$_$.n4;
|
|
28
|
+
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
29
|
+
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
|
|
30
|
+
var lazy = kotlin_kotlin.$_$.xc;
|
|
31
|
+
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
32
|
+
var classMeta = kotlin_kotlin.$_$.z8;
|
|
33
|
+
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
34
|
+
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
35
|
+
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
36
|
+
var THROW_CCE = kotlin_kotlin.$_$.cc;
|
|
37
|
+
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
38
|
+
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
39
|
+
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
40
|
+
var getStringHashCode = kotlin_kotlin.$_$.e9;
|
|
41
|
+
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
42
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
43
|
+
var interfaceMeta = kotlin_kotlin.$_$.g9;
|
|
44
|
+
var Exception = kotlin_kotlin.$_$.ub;
|
|
45
|
+
var Exception_init_$Init$ = kotlin_kotlin.$_$.i1;
|
|
46
|
+
var captureStack = kotlin_kotlin.$_$.u8;
|
|
47
|
+
var toString = kotlin_kotlin.$_$.ed;
|
|
48
|
+
var hashCode = kotlin_kotlin.$_$.f9;
|
|
49
|
+
var equals = kotlin_kotlin.$_$.b9;
|
|
50
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
51
|
+
var THROW_ISE = kotlin_kotlin.$_$.dc;
|
|
52
|
+
var Enum = kotlin_kotlin.$_$.sb;
|
|
53
|
+
var Long = kotlin_kotlin.$_$.xb;
|
|
54
|
+
var toString_0 = kotlin_kotlin.$_$.ba;
|
|
55
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
56
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
57
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
58
|
+
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
59
|
+
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
60
|
+
var Comparator = kotlin_kotlin.$_$.pb;
|
|
61
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
62
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.zc;
|
|
63
|
+
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.b8;
|
|
58
64
|
var Key_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
59
|
-
var get = kotlin_kotlin.$_$.
|
|
60
|
-
var fold = kotlin_kotlin.$_$.
|
|
61
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
62
|
-
var plus = kotlin_kotlin.$_$.
|
|
65
|
+
var get = kotlin_kotlin.$_$.i8;
|
|
66
|
+
var fold = kotlin_kotlin.$_$.h8;
|
|
67
|
+
var minusKey = kotlin_kotlin.$_$.j8;
|
|
68
|
+
var plus = kotlin_kotlin.$_$.m8;
|
|
63
69
|
var CoroutineExceptionHandler = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
64
70
|
var Job$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
65
71
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
@@ -68,18 +74,20 @@
|
|
|
68
74
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
69
75
|
var MutableStateFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
70
76
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
71
|
-
var split$default = kotlin_kotlin.$_$.
|
|
72
|
-
var first = kotlin_kotlin.$_$.
|
|
73
|
-
var isObject = kotlin_kotlin.$_$.
|
|
74
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
75
|
-
var single = kotlin_kotlin.$_$.
|
|
76
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
77
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
78
|
-
var printStackTrace = kotlin_kotlin.$_$.
|
|
79
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
80
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
77
|
+
var split$default = kotlin_kotlin.$_$.k;
|
|
78
|
+
var first = kotlin_kotlin.$_$.i6;
|
|
79
|
+
var isObject = kotlin_kotlin.$_$.q9;
|
|
80
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.i5;
|
|
81
|
+
var single = kotlin_kotlin.$_$.i7;
|
|
82
|
+
var get_lastIndex = kotlin_kotlin.$_$.q6;
|
|
83
|
+
var toMutableList = kotlin_kotlin.$_$.s7;
|
|
84
|
+
var printStackTrace = kotlin_kotlin.$_$.bd;
|
|
85
|
+
var isBlank = kotlin_kotlin.$_$.ta;
|
|
86
|
+
var stackTraceToString = kotlin_kotlin.$_$.cd;
|
|
81
87
|
//endregion
|
|
82
88
|
//region block: pre-declaration
|
|
89
|
+
PlayerReturnsReason.prototype = Object.create(ContinueGameReason.prototype);
|
|
90
|
+
PlayerReturnsReason.prototype.constructor = PlayerReturnsReason;
|
|
83
91
|
GameErrorReason.prototype = Object.create(TerminationGameReason.prototype);
|
|
84
92
|
GameErrorReason.prototype.constructor = GameErrorReason;
|
|
85
93
|
GameFinishedReason.prototype = Object.create(TerminationGameReason.prototype);
|
|
@@ -110,13 +118,13 @@
|
|
|
110
118
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
111
119
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
112
120
|
if (!(($mask0 & 1) === 0))
|
|
113
|
-
context = this.
|
|
114
|
-
return $handler == null ? this.
|
|
121
|
+
context = this.m2q();
|
|
122
|
+
return $handler == null ? this.p2q(context, block) : $handler(context, block);
|
|
115
123
|
}
|
|
116
124
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
117
125
|
if (!(($mask0 & 1) === 0))
|
|
118
|
-
context = this.
|
|
119
|
-
return $handler == null ? this.
|
|
126
|
+
context = this.m2q();
|
|
127
|
+
return $handler == null ? this.n2q(context, block) : $handler(context, block);
|
|
120
128
|
}
|
|
121
129
|
function get_actionTag() {
|
|
122
130
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -142,7 +150,7 @@
|
|
|
142
150
|
tag = null;
|
|
143
151
|
var tmp;
|
|
144
152
|
if ($handler == null) {
|
|
145
|
-
this.
|
|
153
|
+
this.g2r(tag, message);
|
|
146
154
|
tmp = Unit_getInstance();
|
|
147
155
|
} else {
|
|
148
156
|
tmp = $handler(tag, message);
|
|
@@ -158,7 +166,7 @@
|
|
|
158
166
|
exception = null;
|
|
159
167
|
var tmp;
|
|
160
168
|
if ($handler == null) {
|
|
161
|
-
this.
|
|
169
|
+
this.h2q(tag, message, exception);
|
|
162
170
|
tmp = Unit_getInstance();
|
|
163
171
|
} else {
|
|
164
172
|
tmp = $handler(tag, message, exception);
|
|
@@ -170,7 +178,7 @@
|
|
|
170
178
|
tag = null;
|
|
171
179
|
var tmp;
|
|
172
180
|
if ($handler == null) {
|
|
173
|
-
this.
|
|
181
|
+
this.j2r(tag, message);
|
|
174
182
|
tmp = Unit_getInstance();
|
|
175
183
|
} else {
|
|
176
184
|
tmp = $handler(tag, message);
|
|
@@ -188,7 +196,7 @@
|
|
|
188
196
|
exception = null;
|
|
189
197
|
var tmp;
|
|
190
198
|
if ($handler == null) {
|
|
191
|
-
this.
|
|
199
|
+
this.c2s(tag, message, exception, payload);
|
|
192
200
|
tmp = Unit_getInstance();
|
|
193
201
|
} else {
|
|
194
202
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -198,15 +206,15 @@
|
|
|
198
206
|
//endregion
|
|
199
207
|
function GameEngineConfig() {
|
|
200
208
|
GameEngineConfig_instance = this;
|
|
201
|
-
this.
|
|
209
|
+
this.q2k_1 = '1.3.49';
|
|
202
210
|
}
|
|
203
|
-
GameEngineConfig.prototype.
|
|
204
|
-
return this.
|
|
211
|
+
GameEngineConfig.prototype.r2k = function () {
|
|
212
|
+
return this.q2k_1;
|
|
205
213
|
};
|
|
206
214
|
GameEngineConfig.$metadata$ = objectMeta('GameEngineConfig');
|
|
207
215
|
Object.defineProperty(GameEngineConfig.prototype, 'version', {
|
|
208
216
|
configurable: true,
|
|
209
|
-
get: GameEngineConfig.prototype.
|
|
217
|
+
get: GameEngineConfig.prototype.r2k
|
|
210
218
|
});
|
|
211
219
|
var GameEngineConfig_instance;
|
|
212
220
|
function GameEngineConfig_getInstance() {
|
|
@@ -214,6 +222,187 @@
|
|
|
214
222
|
new GameEngineConfig();
|
|
215
223
|
return GameEngineConfig_instance;
|
|
216
224
|
}
|
|
225
|
+
function Constants() {
|
|
226
|
+
Constants_instance = this;
|
|
227
|
+
this.s2k_1 = '0.0.0';
|
|
228
|
+
}
|
|
229
|
+
Constants.$metadata$ = objectMeta('Constants');
|
|
230
|
+
var Constants_instance;
|
|
231
|
+
function Constants_getInstance() {
|
|
232
|
+
if (Constants_instance == null)
|
|
233
|
+
new Constants();
|
|
234
|
+
return Constants_instance;
|
|
235
|
+
}
|
|
236
|
+
function ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon() {
|
|
237
|
+
var tmp = getKClass(ContinueGameReason);
|
|
238
|
+
var tmp$ret$2;
|
|
239
|
+
// Inline function 'kotlin.arrayOf' call
|
|
240
|
+
var tmp0_arrayOf = [getKClass(PlayerReturnsReason)];
|
|
241
|
+
var tmp$ret$1;
|
|
242
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
243
|
+
var tmp$ret$0;
|
|
244
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
245
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
246
|
+
tmp$ret$1 = tmp$ret$0;
|
|
247
|
+
tmp$ret$2 = tmp$ret$1;
|
|
248
|
+
var tmp_0 = tmp$ret$2;
|
|
249
|
+
var tmp$ret$5;
|
|
250
|
+
// Inline function 'kotlin.arrayOf' call
|
|
251
|
+
var tmp1_arrayOf = [$serializer_getInstance()];
|
|
252
|
+
var tmp$ret$4;
|
|
253
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
254
|
+
var tmp$ret$3;
|
|
255
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
256
|
+
tmp$ret$3 = tmp1_arrayOf;
|
|
257
|
+
tmp$ret$4 = tmp$ret$3;
|
|
258
|
+
tmp$ret$5 = tmp$ret$4;
|
|
259
|
+
var tmp_1 = tmp$ret$5;
|
|
260
|
+
var tmp$ret$8;
|
|
261
|
+
// Inline function 'kotlin.arrayOf' call
|
|
262
|
+
var tmp$ret$7;
|
|
263
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
264
|
+
var tmp$ret$6;
|
|
265
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
266
|
+
tmp$ret$6 = [];
|
|
267
|
+
tmp$ret$7 = tmp$ret$6;
|
|
268
|
+
tmp$ret$8 = tmp$ret$7;
|
|
269
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.ContinueGameReason', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
270
|
+
}
|
|
271
|
+
function Companion() {
|
|
272
|
+
Companion_instance = this;
|
|
273
|
+
var tmp = this;
|
|
274
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
275
|
+
tmp.t2k_1 = lazy(tmp_0, ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon);
|
|
276
|
+
}
|
|
277
|
+
Companion.prototype.l25 = function () {
|
|
278
|
+
return this.t2k_1.c2();
|
|
279
|
+
};
|
|
280
|
+
Companion.prototype.b1u = function (typeParamsSerializers) {
|
|
281
|
+
return this.l25();
|
|
282
|
+
};
|
|
283
|
+
Companion.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
284
|
+
var Companion_instance;
|
|
285
|
+
function Companion_getInstance() {
|
|
286
|
+
if (Companion_instance == null)
|
|
287
|
+
new Companion();
|
|
288
|
+
return Companion_instance;
|
|
289
|
+
}
|
|
290
|
+
function ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this) {
|
|
291
|
+
return $this;
|
|
292
|
+
}
|
|
293
|
+
function ContinueGameReason() {
|
|
294
|
+
Companion_getInstance();
|
|
295
|
+
}
|
|
296
|
+
ContinueGameReason.$metadata$ = classMeta('ContinueGameReason', undefined, undefined, {0: Companion_getInstance});
|
|
297
|
+
function Companion_0() {
|
|
298
|
+
Companion_instance_0 = this;
|
|
299
|
+
}
|
|
300
|
+
Companion_0.$metadata$ = objectMeta('Companion');
|
|
301
|
+
var Companion_instance_0;
|
|
302
|
+
function Companion_getInstance_0() {
|
|
303
|
+
if (Companion_instance_0 == null)
|
|
304
|
+
new Companion_0();
|
|
305
|
+
return Companion_instance_0;
|
|
306
|
+
}
|
|
307
|
+
function $serializer() {
|
|
308
|
+
$serializer_instance = this;
|
|
309
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
310
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
311
|
+
this.u2k_1 = tmp0_serialDesc;
|
|
312
|
+
}
|
|
313
|
+
$serializer.prototype.q1i = function () {
|
|
314
|
+
return this.u2k_1;
|
|
315
|
+
};
|
|
316
|
+
$serializer.prototype.s1t = function () {
|
|
317
|
+
var tmp$ret$2;
|
|
318
|
+
// Inline function 'kotlin.arrayOf' call
|
|
319
|
+
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
320
|
+
var tmp$ret$1;
|
|
321
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
322
|
+
var tmp$ret$0;
|
|
323
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
324
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
325
|
+
tmp$ret$1 = tmp$ret$0;
|
|
326
|
+
tmp$ret$2 = tmp$ret$1;
|
|
327
|
+
return tmp$ret$2;
|
|
328
|
+
};
|
|
329
|
+
$serializer.prototype.s1i = function (decoder) {
|
|
330
|
+
var tmp0_desc = this.u2k_1;
|
|
331
|
+
var tmp1_flag = true;
|
|
332
|
+
var tmp2_index = 0;
|
|
333
|
+
var tmp3_bitMask0 = 0;
|
|
334
|
+
var tmp4_local0 = null;
|
|
335
|
+
var tmp5_input = decoder.y1l(tmp0_desc);
|
|
336
|
+
if (tmp5_input.n1m()) {
|
|
337
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
338
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
339
|
+
} else
|
|
340
|
+
while (tmp1_flag) {
|
|
341
|
+
tmp2_index = tmp5_input.o1m(tmp0_desc);
|
|
342
|
+
switch (tmp2_index) {
|
|
343
|
+
case -1:
|
|
344
|
+
tmp1_flag = false;
|
|
345
|
+
break;
|
|
346
|
+
case 0:
|
|
347
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
348
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
349
|
+
break;
|
|
350
|
+
default:
|
|
351
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
tmp5_input.z1l(tmp0_desc);
|
|
355
|
+
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
356
|
+
};
|
|
357
|
+
$serializer.prototype.v2k = function (encoder, value) {
|
|
358
|
+
var tmp0_desc = this.u2k_1;
|
|
359
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
360
|
+
tmp1_output.m1n(tmp0_desc, 0, value.w2k_1);
|
|
361
|
+
tmp1_output.z1l(tmp0_desc);
|
|
362
|
+
};
|
|
363
|
+
$serializer.prototype.r1i = function (encoder, value) {
|
|
364
|
+
return this.v2k(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
365
|
+
};
|
|
366
|
+
$serializer.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
367
|
+
var $serializer_instance;
|
|
368
|
+
function $serializer_getInstance() {
|
|
369
|
+
if ($serializer_instance == null)
|
|
370
|
+
new $serializer();
|
|
371
|
+
return $serializer_instance;
|
|
372
|
+
}
|
|
373
|
+
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
374
|
+
if (!(1 === (1 & seen1))) {
|
|
375
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().u2k_1);
|
|
376
|
+
}
|
|
377
|
+
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
378
|
+
$this.w2k_1 = playerId;
|
|
379
|
+
return $this;
|
|
380
|
+
}
|
|
381
|
+
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
382
|
+
return PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, Object.create(PlayerReturnsReason.prototype));
|
|
383
|
+
}
|
|
384
|
+
function PlayerReturnsReason(playerId) {
|
|
385
|
+
Companion_getInstance_0();
|
|
386
|
+
ContinueGameReason.call(this);
|
|
387
|
+
this.w2k_1 = playerId;
|
|
388
|
+
}
|
|
389
|
+
PlayerReturnsReason.prototype.toString = function () {
|
|
390
|
+
return 'PlayerReturnsReason(playerId=' + this.w2k_1 + ')';
|
|
391
|
+
};
|
|
392
|
+
PlayerReturnsReason.prototype.hashCode = function () {
|
|
393
|
+
return getStringHashCode(this.w2k_1);
|
|
394
|
+
};
|
|
395
|
+
PlayerReturnsReason.prototype.equals = function (other) {
|
|
396
|
+
if (this === other)
|
|
397
|
+
return true;
|
|
398
|
+
if (!(other instanceof PlayerReturnsReason))
|
|
399
|
+
return false;
|
|
400
|
+
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
401
|
+
if (!(this.w2k_1 === tmp0_other_with_cast.w2k_1))
|
|
402
|
+
return false;
|
|
403
|
+
return true;
|
|
404
|
+
};
|
|
405
|
+
PlayerReturnsReason.$metadata$ = classMeta('PlayerReturnsReason', undefined, undefined, {0: $serializer_getInstance}, undefined, ContinueGameReason.prototype);
|
|
217
406
|
function RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb() {
|
|
218
407
|
var tmp = RestartGameReason_getInstance();
|
|
219
408
|
var tmp$ret$2;
|
|
@@ -231,16 +420,16 @@
|
|
|
231
420
|
RestartGameReason_instance = this;
|
|
232
421
|
var tmp = this;
|
|
233
422
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
234
|
-
tmp.
|
|
423
|
+
tmp.x2k_1 = lazy(tmp_0, RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb);
|
|
235
424
|
}
|
|
236
425
|
RestartGameReason.prototype.toString = function () {
|
|
237
426
|
return 'RestartGameReason';
|
|
238
427
|
};
|
|
239
|
-
RestartGameReason.prototype.
|
|
240
|
-
return this.
|
|
428
|
+
RestartGameReason.prototype.l25 = function () {
|
|
429
|
+
return this.x2k_1.c2();
|
|
241
430
|
};
|
|
242
|
-
RestartGameReason.prototype.
|
|
243
|
-
return this.
|
|
431
|
+
RestartGameReason.prototype.b1u = function (typeParamsSerializers) {
|
|
432
|
+
return this.l25();
|
|
244
433
|
};
|
|
245
434
|
RestartGameReason.$metadata$ = objectMeta('RestartGameReason', [SerializerFactory], undefined, {0: RestartGameReason_getInstance});
|
|
246
435
|
var RestartGameReason_instance;
|
|
@@ -286,9 +475,9 @@
|
|
|
286
475
|
tmp$ret$7 = tmp$ret$6;
|
|
287
476
|
tmp$ret$8 = tmp$ret$7;
|
|
288
477
|
var tmp_4 = ObjectSerializer_init_$Create$('GAME_FINISHED_TYPE', tmp_3, tmp$ret$8);
|
|
289
|
-
var tmp_5 = $
|
|
290
|
-
var tmp_6 = $
|
|
291
|
-
var tmp_7 = $
|
|
478
|
+
var tmp_5 = $serializer_getInstance_0();
|
|
479
|
+
var tmp_6 = $serializer_getInstance_1();
|
|
480
|
+
var tmp_7 = $serializer_getInstance_2();
|
|
292
481
|
var tmp_8 = ProcessingReason_getInstance();
|
|
293
482
|
var tmp$ret$11;
|
|
294
483
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -330,24 +519,24 @@
|
|
|
330
519
|
tmp$ret$20 = tmp$ret$19;
|
|
331
520
|
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_11, tmp$ret$20);
|
|
332
521
|
}
|
|
333
|
-
function
|
|
334
|
-
|
|
522
|
+
function Companion_1() {
|
|
523
|
+
Companion_instance_1 = this;
|
|
335
524
|
var tmp = this;
|
|
336
525
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
337
|
-
tmp.
|
|
526
|
+
tmp.y2k_1 = lazy(tmp_0, TerminationGameReason$Companion$$cachedSerializer$delegate$_anonymous__honqx0);
|
|
338
527
|
}
|
|
339
|
-
|
|
340
|
-
return this.
|
|
528
|
+
Companion_1.prototype.serializer = function () {
|
|
529
|
+
return this.y2k_1.c2();
|
|
341
530
|
};
|
|
342
|
-
|
|
531
|
+
Companion_1.prototype.b1u = function (typeParamsSerializers) {
|
|
343
532
|
return this.serializer();
|
|
344
533
|
};
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
function
|
|
348
|
-
if (
|
|
349
|
-
new
|
|
350
|
-
return
|
|
534
|
+
Companion_1.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
535
|
+
var Companion_instance_1;
|
|
536
|
+
function Companion_getInstance_1() {
|
|
537
|
+
if (Companion_instance_1 == null)
|
|
538
|
+
new Companion_1();
|
|
539
|
+
return Companion_instance_1;
|
|
351
540
|
}
|
|
352
541
|
function TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this) {
|
|
353
542
|
return $this;
|
|
@@ -356,9 +545,9 @@
|
|
|
356
545
|
return TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, Object.create(TerminationGameReason.prototype));
|
|
357
546
|
}
|
|
358
547
|
function TerminationGameReason() {
|
|
359
|
-
|
|
548
|
+
Companion_getInstance_1();
|
|
360
549
|
}
|
|
361
|
-
TerminationGameReason.$metadata$ = classMeta('TerminationGameReason', undefined, undefined, {0:
|
|
550
|
+
TerminationGameReason.$metadata$ = classMeta('TerminationGameReason', undefined, undefined, {0: Companion_getInstance_1});
|
|
362
551
|
function GameErrorReason$$cachedSerializer$delegate$_anonymous__p2u5b0() {
|
|
363
552
|
var tmp = GameErrorReason_getInstance();
|
|
364
553
|
var tmp$ret$2;
|
|
@@ -377,16 +566,16 @@
|
|
|
377
566
|
TerminationGameReason.call(this);
|
|
378
567
|
var tmp = this;
|
|
379
568
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
380
|
-
tmp.
|
|
569
|
+
tmp.z2k_1 = lazy(tmp_0, GameErrorReason$$cachedSerializer$delegate$_anonymous__p2u5b0);
|
|
381
570
|
}
|
|
382
571
|
GameErrorReason.prototype.toString = function () {
|
|
383
572
|
return 'GameErrorReason';
|
|
384
573
|
};
|
|
385
|
-
GameErrorReason.prototype.
|
|
386
|
-
return this.
|
|
574
|
+
GameErrorReason.prototype.l25 = function () {
|
|
575
|
+
return this.z2k_1.c2();
|
|
387
576
|
};
|
|
388
|
-
GameErrorReason.prototype.
|
|
389
|
-
return this.
|
|
577
|
+
GameErrorReason.prototype.b1u = function (typeParamsSerializers) {
|
|
578
|
+
return this.l25();
|
|
390
579
|
};
|
|
391
580
|
GameErrorReason.$metadata$ = objectMeta('GameErrorReason', [SerializerFactory], undefined, {0: GameErrorReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
392
581
|
var GameErrorReason_instance;
|
|
@@ -413,16 +602,16 @@
|
|
|
413
602
|
TerminationGameReason.call(this);
|
|
414
603
|
var tmp = this;
|
|
415
604
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
416
|
-
tmp.
|
|
605
|
+
tmp.a2l_1 = lazy(tmp_0, GameFinishedReason$$cachedSerializer$delegate$_anonymous__474t2i);
|
|
417
606
|
}
|
|
418
607
|
GameFinishedReason.prototype.toString = function () {
|
|
419
608
|
return 'GameFinishedReason';
|
|
420
609
|
};
|
|
421
|
-
GameFinishedReason.prototype.
|
|
422
|
-
return this.
|
|
610
|
+
GameFinishedReason.prototype.l25 = function () {
|
|
611
|
+
return this.a2l_1.c2();
|
|
423
612
|
};
|
|
424
|
-
GameFinishedReason.prototype.
|
|
425
|
-
return this.
|
|
613
|
+
GameFinishedReason.prototype.b1u = function (typeParamsSerializers) {
|
|
614
|
+
return this.l25();
|
|
426
615
|
};
|
|
427
616
|
GameFinishedReason.$metadata$ = objectMeta('GameFinishedReason', [SerializerFactory], undefined, {0: GameFinishedReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
428
617
|
var GameFinishedReason_instance;
|
|
@@ -431,26 +620,26 @@
|
|
|
431
620
|
new GameFinishedReason();
|
|
432
621
|
return GameFinishedReason_instance;
|
|
433
622
|
}
|
|
434
|
-
function
|
|
435
|
-
|
|
623
|
+
function Companion_2() {
|
|
624
|
+
Companion_instance_2 = this;
|
|
436
625
|
}
|
|
437
|
-
|
|
438
|
-
var
|
|
439
|
-
function
|
|
440
|
-
if (
|
|
441
|
-
new
|
|
442
|
-
return
|
|
626
|
+
Companion_2.$metadata$ = objectMeta('Companion');
|
|
627
|
+
var Companion_instance_2;
|
|
628
|
+
function Companion_getInstance_2() {
|
|
629
|
+
if (Companion_instance_2 == null)
|
|
630
|
+
new Companion_2();
|
|
631
|
+
return Companion_instance_2;
|
|
443
632
|
}
|
|
444
|
-
function $
|
|
445
|
-
$
|
|
633
|
+
function $serializer_0() {
|
|
634
|
+
$serializer_instance_0 = this;
|
|
446
635
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
447
|
-
tmp0_serialDesc.
|
|
448
|
-
this.
|
|
636
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
637
|
+
this.b2l_1 = tmp0_serialDesc;
|
|
449
638
|
}
|
|
450
|
-
$
|
|
451
|
-
return this.
|
|
639
|
+
$serializer_0.prototype.q1i = function () {
|
|
640
|
+
return this.b2l_1;
|
|
452
641
|
};
|
|
453
|
-
$
|
|
642
|
+
$serializer_0.prototype.s1t = function () {
|
|
454
643
|
var tmp$ret$2;
|
|
455
644
|
// Inline function 'kotlin.arrayOf' call
|
|
456
645
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -463,26 +652,74 @@
|
|
|
463
652
|
tmp$ret$2 = tmp$ret$1;
|
|
464
653
|
return tmp$ret$2;
|
|
465
654
|
};
|
|
466
|
-
$
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
655
|
+
$serializer_0.prototype.s1i = function (decoder) {
|
|
656
|
+
var tmp0_desc = this.b2l_1;
|
|
657
|
+
var tmp1_flag = true;
|
|
658
|
+
var tmp2_index = 0;
|
|
659
|
+
var tmp3_bitMask0 = 0;
|
|
660
|
+
var tmp4_local0 = null;
|
|
661
|
+
var tmp5_input = decoder.y1l(tmp0_desc);
|
|
662
|
+
if (tmp5_input.n1m()) {
|
|
663
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
664
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
665
|
+
} else
|
|
666
|
+
while (tmp1_flag) {
|
|
667
|
+
tmp2_index = tmp5_input.o1m(tmp0_desc);
|
|
668
|
+
switch (tmp2_index) {
|
|
669
|
+
case -1:
|
|
670
|
+
tmp1_flag = false;
|
|
671
|
+
break;
|
|
672
|
+
case 0:
|
|
673
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
674
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
675
|
+
break;
|
|
676
|
+
default:
|
|
677
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
tmp5_input.z1l(tmp0_desc);
|
|
681
|
+
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
682
|
+
};
|
|
683
|
+
$serializer_0.prototype.c2l = function (encoder, value) {
|
|
684
|
+
var tmp0_desc = this.b2l_1;
|
|
685
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
686
|
+
tmp1_output.m1n(tmp0_desc, 0, value.d2l_1);
|
|
687
|
+
tmp1_output.z1l(tmp0_desc);
|
|
688
|
+
};
|
|
689
|
+
$serializer_0.prototype.r1i = function (encoder, value) {
|
|
690
|
+
return this.c2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
691
|
+
};
|
|
692
|
+
$serializer_0.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
693
|
+
var $serializer_instance_0;
|
|
694
|
+
function $serializer_getInstance_0() {
|
|
695
|
+
if ($serializer_instance_0 == null)
|
|
696
|
+
new $serializer_0();
|
|
697
|
+
return $serializer_instance_0;
|
|
698
|
+
}
|
|
699
|
+
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
700
|
+
if (!(1 === (1 & seen1))) {
|
|
701
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().b2l_1);
|
|
702
|
+
}
|
|
703
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
704
|
+
$this.d2l_1 = playerId;
|
|
705
|
+
return $this;
|
|
706
|
+
}
|
|
707
|
+
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
708
|
+
return PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, Object.create(PlayerExitReason.prototype));
|
|
472
709
|
}
|
|
473
710
|
function PlayerExitReason(playerId) {
|
|
474
|
-
|
|
711
|
+
Companion_getInstance_2();
|
|
475
712
|
TerminationGameReason.call(this);
|
|
476
|
-
this.
|
|
713
|
+
this.d2l_1 = playerId;
|
|
477
714
|
}
|
|
478
|
-
PlayerExitReason.prototype.
|
|
479
|
-
return this.
|
|
715
|
+
PlayerExitReason.prototype.e2l = function () {
|
|
716
|
+
return this.d2l_1;
|
|
480
717
|
};
|
|
481
718
|
PlayerExitReason.prototype.toString = function () {
|
|
482
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
719
|
+
return 'PlayerExitReason(playerId=' + this.d2l_1 + ')';
|
|
483
720
|
};
|
|
484
721
|
PlayerExitReason.prototype.hashCode = function () {
|
|
485
|
-
return getStringHashCode(this.
|
|
722
|
+
return getStringHashCode(this.d2l_1);
|
|
486
723
|
};
|
|
487
724
|
PlayerExitReason.prototype.equals = function (other) {
|
|
488
725
|
if (this === other)
|
|
@@ -490,32 +727,32 @@
|
|
|
490
727
|
if (!(other instanceof PlayerExitReason))
|
|
491
728
|
return false;
|
|
492
729
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
493
|
-
if (!(this.
|
|
730
|
+
if (!(this.d2l_1 === tmp0_other_with_cast.d2l_1))
|
|
494
731
|
return false;
|
|
495
732
|
return true;
|
|
496
733
|
};
|
|
497
|
-
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $
|
|
498
|
-
function
|
|
499
|
-
|
|
734
|
+
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_0}, undefined, TerminationGameReason.prototype);
|
|
735
|
+
function Companion_3() {
|
|
736
|
+
Companion_instance_3 = this;
|
|
500
737
|
}
|
|
501
|
-
|
|
502
|
-
var
|
|
503
|
-
function
|
|
504
|
-
if (
|
|
505
|
-
new
|
|
506
|
-
return
|
|
738
|
+
Companion_3.$metadata$ = objectMeta('Companion');
|
|
739
|
+
var Companion_instance_3;
|
|
740
|
+
function Companion_getInstance_3() {
|
|
741
|
+
if (Companion_instance_3 == null)
|
|
742
|
+
new Companion_3();
|
|
743
|
+
return Companion_instance_3;
|
|
507
744
|
}
|
|
508
|
-
function $
|
|
509
|
-
$
|
|
745
|
+
function $serializer_1() {
|
|
746
|
+
$serializer_instance_1 = this;
|
|
510
747
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
511
|
-
tmp0_serialDesc.
|
|
512
|
-
tmp0_serialDesc.
|
|
513
|
-
this.
|
|
748
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
749
|
+
tmp0_serialDesc.d1t('tag', false);
|
|
750
|
+
this.f2l_1 = tmp0_serialDesc;
|
|
514
751
|
}
|
|
515
|
-
$
|
|
516
|
-
return this.
|
|
752
|
+
$serializer_1.prototype.q1i = function () {
|
|
753
|
+
return this.f2l_1;
|
|
517
754
|
};
|
|
518
|
-
$
|
|
755
|
+
$serializer_1.prototype.s1t = function () {
|
|
519
756
|
var tmp$ret$2;
|
|
520
757
|
// Inline function 'kotlin.arrayOf' call
|
|
521
758
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -528,28 +765,85 @@
|
|
|
528
765
|
tmp$ret$2 = tmp$ret$1;
|
|
529
766
|
return tmp$ret$2;
|
|
530
767
|
};
|
|
531
|
-
$
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
768
|
+
$serializer_1.prototype.s1i = function (decoder) {
|
|
769
|
+
var tmp0_desc = this.f2l_1;
|
|
770
|
+
var tmp1_flag = true;
|
|
771
|
+
var tmp2_index = 0;
|
|
772
|
+
var tmp3_bitMask0 = 0;
|
|
773
|
+
var tmp4_local0 = null;
|
|
774
|
+
var tmp5_local1 = null;
|
|
775
|
+
var tmp6_input = decoder.y1l(tmp0_desc);
|
|
776
|
+
if (tmp6_input.n1m()) {
|
|
777
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
778
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
779
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
780
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
781
|
+
} else
|
|
782
|
+
while (tmp1_flag) {
|
|
783
|
+
tmp2_index = tmp6_input.o1m(tmp0_desc);
|
|
784
|
+
switch (tmp2_index) {
|
|
785
|
+
case -1:
|
|
786
|
+
tmp1_flag = false;
|
|
787
|
+
break;
|
|
788
|
+
case 0:
|
|
789
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
790
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
791
|
+
break;
|
|
792
|
+
case 1:
|
|
793
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
794
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
795
|
+
break;
|
|
796
|
+
default:
|
|
797
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
tmp6_input.z1l(tmp0_desc);
|
|
801
|
+
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
802
|
+
};
|
|
803
|
+
$serializer_1.prototype.g2l = function (encoder, value) {
|
|
804
|
+
var tmp0_desc = this.f2l_1;
|
|
805
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
806
|
+
tmp1_output.m1n(tmp0_desc, 0, value.h2l_1);
|
|
807
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.i2l_1);
|
|
808
|
+
tmp1_output.z1l(tmp0_desc);
|
|
809
|
+
};
|
|
810
|
+
$serializer_1.prototype.r1i = function (encoder, value) {
|
|
811
|
+
return this.g2l(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
812
|
+
};
|
|
813
|
+
$serializer_1.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
814
|
+
var $serializer_instance_1;
|
|
815
|
+
function $serializer_getInstance_1() {
|
|
816
|
+
if ($serializer_instance_1 == null)
|
|
817
|
+
new $serializer_1();
|
|
818
|
+
return $serializer_instance_1;
|
|
819
|
+
}
|
|
820
|
+
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
821
|
+
if (!(3 === (3 & seen1))) {
|
|
822
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().f2l_1);
|
|
823
|
+
}
|
|
824
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
825
|
+
$this.h2l_1 = playerId;
|
|
826
|
+
$this.i2l_1 = tag;
|
|
827
|
+
return $this;
|
|
828
|
+
}
|
|
829
|
+
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
830
|
+
return PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerLostConnectionReason.prototype));
|
|
537
831
|
}
|
|
538
832
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
539
|
-
|
|
833
|
+
Companion_getInstance_3();
|
|
540
834
|
TerminationGameReason.call(this);
|
|
541
|
-
this.
|
|
542
|
-
this.
|
|
835
|
+
this.h2l_1 = playerId;
|
|
836
|
+
this.i2l_1 = tag;
|
|
543
837
|
}
|
|
544
|
-
PlayerLostConnectionReason.prototype.
|
|
545
|
-
return this.
|
|
838
|
+
PlayerLostConnectionReason.prototype.e2l = function () {
|
|
839
|
+
return this.h2l_1;
|
|
546
840
|
};
|
|
547
841
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
548
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
842
|
+
return 'PlayerLostConnectionReason(playerId=' + this.h2l_1 + ', tag=' + this.i2l_1 + ')';
|
|
549
843
|
};
|
|
550
844
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
551
|
-
var result = getStringHashCode(this.
|
|
552
|
-
result = imul(result, 31) + (this.
|
|
845
|
+
var result = getStringHashCode(this.h2l_1);
|
|
846
|
+
result = imul(result, 31) + (this.i2l_1 == null ? 0 : getStringHashCode(this.i2l_1)) | 0;
|
|
553
847
|
return result;
|
|
554
848
|
};
|
|
555
849
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -558,34 +852,34 @@
|
|
|
558
852
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
559
853
|
return false;
|
|
560
854
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
561
|
-
if (!(this.
|
|
855
|
+
if (!(this.h2l_1 === tmp0_other_with_cast.h2l_1))
|
|
562
856
|
return false;
|
|
563
|
-
if (!(this.
|
|
857
|
+
if (!(this.i2l_1 == tmp0_other_with_cast.i2l_1))
|
|
564
858
|
return false;
|
|
565
859
|
return true;
|
|
566
860
|
};
|
|
567
|
-
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $
|
|
568
|
-
function
|
|
569
|
-
|
|
861
|
+
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_1}, undefined, TerminationGameReason.prototype);
|
|
862
|
+
function Companion_4() {
|
|
863
|
+
Companion_instance_4 = this;
|
|
570
864
|
}
|
|
571
|
-
|
|
572
|
-
var
|
|
573
|
-
function
|
|
574
|
-
if (
|
|
575
|
-
new
|
|
576
|
-
return
|
|
865
|
+
Companion_4.$metadata$ = objectMeta('Companion');
|
|
866
|
+
var Companion_instance_4;
|
|
867
|
+
function Companion_getInstance_4() {
|
|
868
|
+
if (Companion_instance_4 == null)
|
|
869
|
+
new Companion_4();
|
|
870
|
+
return Companion_instance_4;
|
|
577
871
|
}
|
|
578
|
-
function $
|
|
579
|
-
$
|
|
872
|
+
function $serializer_2() {
|
|
873
|
+
$serializer_instance_2 = this;
|
|
580
874
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
581
|
-
tmp0_serialDesc.
|
|
582
|
-
tmp0_serialDesc.
|
|
583
|
-
this.
|
|
875
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
876
|
+
tmp0_serialDesc.d1t('tag', false);
|
|
877
|
+
this.j2l_1 = tmp0_serialDesc;
|
|
584
878
|
}
|
|
585
|
-
$
|
|
586
|
-
return this.
|
|
879
|
+
$serializer_2.prototype.q1i = function () {
|
|
880
|
+
return this.j2l_1;
|
|
587
881
|
};
|
|
588
|
-
$
|
|
882
|
+
$serializer_2.prototype.s1t = function () {
|
|
589
883
|
var tmp$ret$2;
|
|
590
884
|
// Inline function 'kotlin.arrayOf' call
|
|
591
885
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -598,28 +892,85 @@
|
|
|
598
892
|
tmp$ret$2 = tmp$ret$1;
|
|
599
893
|
return tmp$ret$2;
|
|
600
894
|
};
|
|
601
|
-
$
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
895
|
+
$serializer_2.prototype.s1i = function (decoder) {
|
|
896
|
+
var tmp0_desc = this.j2l_1;
|
|
897
|
+
var tmp1_flag = true;
|
|
898
|
+
var tmp2_index = 0;
|
|
899
|
+
var tmp3_bitMask0 = 0;
|
|
900
|
+
var tmp4_local0 = null;
|
|
901
|
+
var tmp5_local1 = null;
|
|
902
|
+
var tmp6_input = decoder.y1l(tmp0_desc);
|
|
903
|
+
if (tmp6_input.n1m()) {
|
|
904
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
905
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
906
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
907
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
908
|
+
} else
|
|
909
|
+
while (tmp1_flag) {
|
|
910
|
+
tmp2_index = tmp6_input.o1m(tmp0_desc);
|
|
911
|
+
switch (tmp2_index) {
|
|
912
|
+
case -1:
|
|
913
|
+
tmp1_flag = false;
|
|
914
|
+
break;
|
|
915
|
+
case 0:
|
|
916
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
917
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
918
|
+
break;
|
|
919
|
+
case 1:
|
|
920
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
921
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
922
|
+
break;
|
|
923
|
+
default:
|
|
924
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
tmp6_input.z1l(tmp0_desc);
|
|
928
|
+
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
929
|
+
};
|
|
930
|
+
$serializer_2.prototype.k2l = function (encoder, value) {
|
|
931
|
+
var tmp0_desc = this.j2l_1;
|
|
932
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
933
|
+
tmp1_output.m1n(tmp0_desc, 0, value.l2l_1);
|
|
934
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.m2l_1);
|
|
935
|
+
tmp1_output.z1l(tmp0_desc);
|
|
936
|
+
};
|
|
937
|
+
$serializer_2.prototype.r1i = function (encoder, value) {
|
|
938
|
+
return this.k2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
939
|
+
};
|
|
940
|
+
$serializer_2.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
941
|
+
var $serializer_instance_2;
|
|
942
|
+
function $serializer_getInstance_2() {
|
|
943
|
+
if ($serializer_instance_2 == null)
|
|
944
|
+
new $serializer_2();
|
|
945
|
+
return $serializer_instance_2;
|
|
946
|
+
}
|
|
947
|
+
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
948
|
+
if (!(3 === (3 & seen1))) {
|
|
949
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_2().j2l_1);
|
|
950
|
+
}
|
|
951
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
952
|
+
$this.l2l_1 = playerId;
|
|
953
|
+
$this.m2l_1 = tag;
|
|
954
|
+
return $this;
|
|
955
|
+
}
|
|
956
|
+
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
957
|
+
return PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerTimeoutReason.prototype));
|
|
607
958
|
}
|
|
608
959
|
function PlayerTimeoutReason(playerId, tag) {
|
|
609
|
-
|
|
960
|
+
Companion_getInstance_4();
|
|
610
961
|
TerminationGameReason.call(this);
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
962
|
+
this.l2l_1 = playerId;
|
|
963
|
+
this.m2l_1 = tag;
|
|
613
964
|
}
|
|
614
|
-
PlayerTimeoutReason.prototype.
|
|
615
|
-
return this.
|
|
965
|
+
PlayerTimeoutReason.prototype.e2l = function () {
|
|
966
|
+
return this.l2l_1;
|
|
616
967
|
};
|
|
617
968
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
618
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
969
|
+
return 'PlayerTimeoutReason(playerId=' + this.l2l_1 + ', tag=' + this.m2l_1 + ')';
|
|
619
970
|
};
|
|
620
971
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
621
|
-
var result = getStringHashCode(this.
|
|
622
|
-
result = imul(result, 31) + (this.
|
|
972
|
+
var result = getStringHashCode(this.l2l_1);
|
|
973
|
+
result = imul(result, 31) + (this.m2l_1 == null ? 0 : getStringHashCode(this.m2l_1)) | 0;
|
|
623
974
|
return result;
|
|
624
975
|
};
|
|
625
976
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -628,13 +979,13 @@
|
|
|
628
979
|
if (!(other instanceof PlayerTimeoutReason))
|
|
629
980
|
return false;
|
|
630
981
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
631
|
-
if (!(this.
|
|
982
|
+
if (!(this.l2l_1 === tmp0_other_with_cast.l2l_1))
|
|
632
983
|
return false;
|
|
633
|
-
if (!(this.
|
|
984
|
+
if (!(this.m2l_1 == tmp0_other_with_cast.m2l_1))
|
|
634
985
|
return false;
|
|
635
986
|
return true;
|
|
636
987
|
};
|
|
637
|
-
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $
|
|
988
|
+
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_2}, undefined, TerminationGameReason.prototype);
|
|
638
989
|
function ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd() {
|
|
639
990
|
var tmp = ProcessingReason_getInstance();
|
|
640
991
|
var tmp$ret$2;
|
|
@@ -653,16 +1004,16 @@
|
|
|
653
1004
|
TerminationGameReason.call(this);
|
|
654
1005
|
var tmp = this;
|
|
655
1006
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
656
|
-
tmp.
|
|
1007
|
+
tmp.n2l_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
657
1008
|
}
|
|
658
1009
|
ProcessingReason.prototype.toString = function () {
|
|
659
1010
|
return 'ProcessingReason';
|
|
660
1011
|
};
|
|
661
|
-
ProcessingReason.prototype.
|
|
662
|
-
return this.
|
|
1012
|
+
ProcessingReason.prototype.l25 = function () {
|
|
1013
|
+
return this.n2l_1.c2();
|
|
663
1014
|
};
|
|
664
|
-
ProcessingReason.prototype.
|
|
665
|
-
return this.
|
|
1015
|
+
ProcessingReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1016
|
+
return this.l25();
|
|
666
1017
|
};
|
|
667
1018
|
ProcessingReason.$metadata$ = objectMeta('ProcessingReason', [SerializerFactory], undefined, {0: ProcessingReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
668
1019
|
var ProcessingReason_instance;
|
|
@@ -689,16 +1040,16 @@
|
|
|
689
1040
|
TerminationGameReason.call(this);
|
|
690
1041
|
var tmp = this;
|
|
691
1042
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
692
|
-
tmp.
|
|
1043
|
+
tmp.o2l_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
693
1044
|
}
|
|
694
1045
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
695
1046
|
return 'WaitingForConnectionReason';
|
|
696
1047
|
};
|
|
697
|
-
WaitingForConnectionReason.prototype.
|
|
698
|
-
return this.
|
|
1048
|
+
WaitingForConnectionReason.prototype.l25 = function () {
|
|
1049
|
+
return this.o2l_1.c2();
|
|
699
1050
|
};
|
|
700
|
-
WaitingForConnectionReason.prototype.
|
|
701
|
-
return this.
|
|
1051
|
+
WaitingForConnectionReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1052
|
+
return this.l25();
|
|
702
1053
|
};
|
|
703
1054
|
WaitingForConnectionReason.$metadata$ = objectMeta('WaitingForConnectionReason', [SerializerFactory], undefined, {0: WaitingForConnectionReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
704
1055
|
var WaitingForConnectionReason_instance;
|
|
@@ -726,60 +1077,60 @@
|
|
|
726
1077
|
}
|
|
727
1078
|
function GameUserInfo(playerId, name, avatarUrl, payload) {
|
|
728
1079
|
var payload_0 = payload === void 1 ? null : payload;
|
|
729
|
-
this.
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
1080
|
+
this.p2l_1 = playerId;
|
|
1081
|
+
this.q2l_1 = name;
|
|
1082
|
+
this.r2l_1 = avatarUrl;
|
|
1083
|
+
this.s2l_1 = payload_0;
|
|
733
1084
|
}
|
|
734
|
-
GameUserInfo.prototype.
|
|
735
|
-
return this.
|
|
1085
|
+
GameUserInfo.prototype.e2l = function () {
|
|
1086
|
+
return this.p2l_1;
|
|
736
1087
|
};
|
|
737
|
-
GameUserInfo.prototype.
|
|
738
|
-
return this.
|
|
1088
|
+
GameUserInfo.prototype.f5 = function () {
|
|
1089
|
+
return this.q2l_1;
|
|
739
1090
|
};
|
|
740
|
-
GameUserInfo.prototype.
|
|
741
|
-
return this.
|
|
1091
|
+
GameUserInfo.prototype.t2l = function () {
|
|
1092
|
+
return this.r2l_1;
|
|
742
1093
|
};
|
|
743
|
-
GameUserInfo.prototype.
|
|
744
|
-
return this.
|
|
1094
|
+
GameUserInfo.prototype.u2l = function () {
|
|
1095
|
+
return this.s2l_1;
|
|
745
1096
|
};
|
|
746
1097
|
GameUserInfo.prototype.component1 = function () {
|
|
747
|
-
return this.
|
|
1098
|
+
return this.p2l_1;
|
|
748
1099
|
};
|
|
749
1100
|
GameUserInfo.prototype.component2 = function () {
|
|
750
|
-
return this.
|
|
1101
|
+
return this.q2l_1;
|
|
751
1102
|
};
|
|
752
1103
|
GameUserInfo.prototype.component3 = function () {
|
|
753
|
-
return this.
|
|
1104
|
+
return this.r2l_1;
|
|
754
1105
|
};
|
|
755
1106
|
GameUserInfo.prototype.component4 = function () {
|
|
756
|
-
return this.
|
|
1107
|
+
return this.s2l_1;
|
|
757
1108
|
};
|
|
758
1109
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, payload) {
|
|
759
|
-
return this.
|
|
1110
|
+
return this.v2l(playerId === void 1 ? this.p2l_1 : playerId, name === void 1 ? this.q2l_1 : name, avatarUrl === void 1 ? this.r2l_1 : avatarUrl, payload === void 1 ? this.s2l_1 : payload);
|
|
760
1111
|
};
|
|
761
|
-
GameUserInfo.prototype.
|
|
1112
|
+
GameUserInfo.prototype.v2l = function (playerId, name, avatarUrl, payload) {
|
|
762
1113
|
return new GameUserInfo(playerId, name, avatarUrl, payload);
|
|
763
1114
|
};
|
|
764
|
-
GameUserInfo.prototype.
|
|
1115
|
+
GameUserInfo.prototype.w2l = function (playerId, name, avatarUrl, payload, $mask0, $handler) {
|
|
765
1116
|
if (!(($mask0 & 1) === 0))
|
|
766
|
-
playerId = this.
|
|
1117
|
+
playerId = this.p2l_1;
|
|
767
1118
|
if (!(($mask0 & 2) === 0))
|
|
768
|
-
name = this.
|
|
1119
|
+
name = this.q2l_1;
|
|
769
1120
|
if (!(($mask0 & 4) === 0))
|
|
770
|
-
avatarUrl = this.
|
|
1121
|
+
avatarUrl = this.r2l_1;
|
|
771
1122
|
if (!(($mask0 & 8) === 0))
|
|
772
|
-
payload = this.
|
|
773
|
-
return this.
|
|
1123
|
+
payload = this.s2l_1;
|
|
1124
|
+
return this.v2l(playerId, name, avatarUrl, payload);
|
|
774
1125
|
};
|
|
775
1126
|
GameUserInfo.prototype.toString = function () {
|
|
776
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1127
|
+
return 'GameUserInfo(playerId=' + this.p2l_1 + ', name=' + this.q2l_1 + ', avatarUrl=' + this.r2l_1 + ', payload=' + toString(this.s2l_1) + ')';
|
|
777
1128
|
};
|
|
778
1129
|
GameUserInfo.prototype.hashCode = function () {
|
|
779
|
-
var result = getStringHashCode(this.
|
|
780
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
781
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
782
|
-
result = imul(result, 31) + (this.
|
|
1130
|
+
var result = getStringHashCode(this.p2l_1);
|
|
1131
|
+
result = imul(result, 31) + getStringHashCode(this.q2l_1) | 0;
|
|
1132
|
+
result = imul(result, 31) + getStringHashCode(this.r2l_1) | 0;
|
|
1133
|
+
result = imul(result, 31) + (this.s2l_1 == null ? 0 : hashCode(this.s2l_1)) | 0;
|
|
783
1134
|
return result;
|
|
784
1135
|
};
|
|
785
1136
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -788,13 +1139,13 @@
|
|
|
788
1139
|
if (!(other instanceof GameUserInfo))
|
|
789
1140
|
return false;
|
|
790
1141
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
791
|
-
if (!(this.
|
|
1142
|
+
if (!(this.p2l_1 === tmp0_other_with_cast.p2l_1))
|
|
792
1143
|
return false;
|
|
793
|
-
if (!(this.
|
|
1144
|
+
if (!(this.q2l_1 === tmp0_other_with_cast.q2l_1))
|
|
794
1145
|
return false;
|
|
795
|
-
if (!(this.
|
|
1146
|
+
if (!(this.r2l_1 === tmp0_other_with_cast.r2l_1))
|
|
796
1147
|
return false;
|
|
797
|
-
if (!equals(this.
|
|
1148
|
+
if (!equals(this.s2l_1, tmp0_other_with_cast.s2l_1))
|
|
798
1149
|
return false;
|
|
799
1150
|
return true;
|
|
800
1151
|
};
|
|
@@ -802,20 +1153,20 @@
|
|
|
802
1153
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
803
1154
|
configurable: true,
|
|
804
1155
|
get: function () {
|
|
805
|
-
return this.
|
|
1156
|
+
return this.e2l();
|
|
806
1157
|
}
|
|
807
1158
|
});
|
|
808
1159
|
Object.defineProperty(GameUserInfo.prototype, 'name', {
|
|
809
1160
|
configurable: true,
|
|
810
|
-
get: GameUserInfo.prototype.
|
|
1161
|
+
get: GameUserInfo.prototype.f5
|
|
811
1162
|
});
|
|
812
1163
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
813
1164
|
configurable: true,
|
|
814
|
-
get: GameUserInfo.prototype.
|
|
1165
|
+
get: GameUserInfo.prototype.t2l
|
|
815
1166
|
});
|
|
816
1167
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
817
1168
|
configurable: true,
|
|
818
|
-
get: GameUserInfo.prototype.
|
|
1169
|
+
get: GameUserInfo.prototype.u2l
|
|
819
1170
|
});
|
|
820
1171
|
function get_byIdPlayerPredicate() {
|
|
821
1172
|
init_properties_Player_kt_txblev();
|
|
@@ -922,7 +1273,7 @@
|
|
|
922
1273
|
}
|
|
923
1274
|
function playerTurnPredicate$lambda(p1) {
|
|
924
1275
|
init_properties_Player_kt_txblev();
|
|
925
|
-
return p1.
|
|
1276
|
+
return p1.am().d2m() ? true : p1.am().c2m();
|
|
926
1277
|
}
|
|
927
1278
|
var properties_initialized_Player_kt_56shkt;
|
|
928
1279
|
function init_properties_Player_kt_txblev() {
|
|
@@ -977,70 +1328,70 @@
|
|
|
977
1328
|
function PlayerConnectionState(name, ordinal) {
|
|
978
1329
|
Enum.call(this, name, ordinal);
|
|
979
1330
|
}
|
|
980
|
-
PlayerConnectionState.prototype.
|
|
1331
|
+
PlayerConnectionState.prototype.g2m = function () {
|
|
981
1332
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
982
1333
|
};
|
|
983
|
-
PlayerConnectionState.prototype.
|
|
1334
|
+
PlayerConnectionState.prototype.h2m = function () {
|
|
984
1335
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
985
1336
|
};
|
|
986
|
-
PlayerConnectionState.prototype.
|
|
1337
|
+
PlayerConnectionState.prototype.i2m = function () {
|
|
987
1338
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
988
1339
|
};
|
|
989
|
-
PlayerConnectionState.prototype.
|
|
1340
|
+
PlayerConnectionState.prototype.j2m = function () {
|
|
990
1341
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
991
1342
|
};
|
|
992
|
-
PlayerConnectionState.prototype.
|
|
1343
|
+
PlayerConnectionState.prototype.k2m = function () {
|
|
993
1344
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
994
1345
|
};
|
|
995
|
-
PlayerConnectionState.prototype.
|
|
1346
|
+
PlayerConnectionState.prototype.l2m = function () {
|
|
996
1347
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
997
1348
|
};
|
|
998
|
-
PlayerConnectionState.prototype.
|
|
1349
|
+
PlayerConnectionState.prototype.m2m = function () {
|
|
999
1350
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1000
1351
|
};
|
|
1001
|
-
PlayerConnectionState.prototype.
|
|
1352
|
+
PlayerConnectionState.prototype.n2m = function () {
|
|
1002
1353
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1003
1354
|
};
|
|
1004
1355
|
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
1005
1356
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1006
1357
|
configurable: true,
|
|
1007
|
-
get: PlayerConnectionState.prototype.
|
|
1358
|
+
get: PlayerConnectionState.prototype.g2m
|
|
1008
1359
|
});
|
|
1009
1360
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1010
1361
|
configurable: true,
|
|
1011
|
-
get: PlayerConnectionState.prototype.
|
|
1362
|
+
get: PlayerConnectionState.prototype.h2m
|
|
1012
1363
|
});
|
|
1013
1364
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1014
1365
|
configurable: true,
|
|
1015
|
-
get: PlayerConnectionState.prototype.
|
|
1366
|
+
get: PlayerConnectionState.prototype.i2m
|
|
1016
1367
|
});
|
|
1017
1368
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1018
1369
|
configurable: true,
|
|
1019
|
-
get: PlayerConnectionState.prototype.
|
|
1370
|
+
get: PlayerConnectionState.prototype.j2m
|
|
1020
1371
|
});
|
|
1021
1372
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1022
1373
|
configurable: true,
|
|
1023
|
-
get: PlayerConnectionState.prototype.
|
|
1374
|
+
get: PlayerConnectionState.prototype.k2m
|
|
1024
1375
|
});
|
|
1025
1376
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1026
1377
|
configurable: true,
|
|
1027
|
-
get: PlayerConnectionState.prototype.
|
|
1378
|
+
get: PlayerConnectionState.prototype.l2m
|
|
1028
1379
|
});
|
|
1029
1380
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1030
1381
|
configurable: true,
|
|
1031
|
-
get: PlayerConnectionState.prototype.
|
|
1382
|
+
get: PlayerConnectionState.prototype.m2m
|
|
1032
1383
|
});
|
|
1033
1384
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1034
1385
|
configurable: true,
|
|
1035
|
-
get: PlayerConnectionState.prototype.
|
|
1386
|
+
get: PlayerConnectionState.prototype.n2m
|
|
1036
1387
|
});
|
|
1037
1388
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1038
1389
|
configurable: true,
|
|
1039
|
-
get: PlayerConnectionState.prototype.
|
|
1390
|
+
get: PlayerConnectionState.prototype.f5
|
|
1040
1391
|
});
|
|
1041
1392
|
Object.defineProperty(PlayerConnectionState.prototype, 'ordinal', {
|
|
1042
1393
|
configurable: true,
|
|
1043
|
-
get: PlayerConnectionState.prototype.
|
|
1394
|
+
get: PlayerConnectionState.prototype.pi
|
|
1044
1395
|
});
|
|
1045
1396
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
1046
1397
|
PlayerConnectionState_initEntries();
|
|
@@ -1069,6 +1420,9 @@
|
|
|
1069
1420
|
var PlayerWaitingState_IDLE_instance;
|
|
1070
1421
|
var PlayerWaitingState_IN_PROGRESS_instance;
|
|
1071
1422
|
var PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1423
|
+
function values_0() {
|
|
1424
|
+
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
1425
|
+
}
|
|
1072
1426
|
var PlayerWaitingState_entriesInitialized;
|
|
1073
1427
|
function PlayerWaitingState_initEntries() {
|
|
1074
1428
|
if (PlayerWaitingState_entriesInitialized)
|
|
@@ -1081,30 +1435,30 @@
|
|
|
1081
1435
|
function PlayerWaitingState(name, ordinal) {
|
|
1082
1436
|
Enum.call(this, name, ordinal);
|
|
1083
1437
|
}
|
|
1084
|
-
PlayerWaitingState.prototype.
|
|
1085
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1438
|
+
PlayerWaitingState.prototype.d2m = function () {
|
|
1439
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.c2m();
|
|
1086
1440
|
};
|
|
1087
|
-
PlayerWaitingState.prototype.
|
|
1441
|
+
PlayerWaitingState.prototype.c2m = function () {
|
|
1088
1442
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1089
1443
|
};
|
|
1090
1444
|
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
1091
|
-
function
|
|
1092
|
-
|
|
1445
|
+
function Companion_5() {
|
|
1446
|
+
Companion_instance_5 = this;
|
|
1093
1447
|
}
|
|
1094
|
-
|
|
1448
|
+
Companion_5.prototype.q2m = function (connectionState) {
|
|
1095
1449
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1096
1450
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1097
1451
|
};
|
|
1098
|
-
|
|
1452
|
+
Companion_5.prototype.r2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1099
1453
|
var tmp = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1100
|
-
return _this__u8e3s4.
|
|
1454
|
+
return _this__u8e3s4.s2m(startFromTime, tmp, false, null, tag, 12, null);
|
|
1101
1455
|
};
|
|
1102
|
-
|
|
1103
|
-
var
|
|
1104
|
-
function
|
|
1105
|
-
if (
|
|
1106
|
-
new
|
|
1107
|
-
return
|
|
1456
|
+
Companion_5.$metadata$ = objectMeta('Companion');
|
|
1457
|
+
var Companion_instance_5;
|
|
1458
|
+
function Companion_getInstance_5() {
|
|
1459
|
+
if (Companion_instance_5 == null)
|
|
1460
|
+
new Companion_5();
|
|
1461
|
+
return Companion_instance_5;
|
|
1108
1462
|
}
|
|
1109
1463
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
1110
1464
|
PlayerWaitingState_initEntries();
|
|
@@ -1119,23 +1473,23 @@
|
|
|
1119
1473
|
return PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1120
1474
|
}
|
|
1121
1475
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1122
|
-
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1476
|
+
Companion_getInstance_5();
|
|
1477
|
+
this.x2l_1 = startFromTime;
|
|
1478
|
+
this.y2l_1 = state;
|
|
1479
|
+
this.z2l_1 = ready;
|
|
1480
|
+
this.a2m_1 = connectionState;
|
|
1481
|
+
this.b2m_1 = tag;
|
|
1128
1482
|
}
|
|
1129
|
-
PlayerState.prototype.
|
|
1130
|
-
return this.
|
|
1483
|
+
PlayerState.prototype.t2m = function () {
|
|
1484
|
+
return this.z2l_1;
|
|
1131
1485
|
};
|
|
1132
|
-
PlayerState.prototype.
|
|
1133
|
-
return this.
|
|
1486
|
+
PlayerState.prototype.u2m = function () {
|
|
1487
|
+
return this.a2m_1;
|
|
1134
1488
|
};
|
|
1135
|
-
PlayerState.prototype.
|
|
1489
|
+
PlayerState.prototype.v2m = function () {
|
|
1136
1490
|
var tmp$ret$2;
|
|
1137
1491
|
// Inline function 'kotlin.requireNotNull' call
|
|
1138
|
-
var tmp0_requireNotNull = this.
|
|
1492
|
+
var tmp0_requireNotNull = this.b2m_1;
|
|
1139
1493
|
// Inline function 'kotlin.contracts.contract' call
|
|
1140
1494
|
var tmp$ret$1;
|
|
1141
1495
|
$l$block: {
|
|
@@ -1155,41 +1509,41 @@
|
|
|
1155
1509
|
tmp$ret$2 = tmp$ret$1;
|
|
1156
1510
|
return tmp$ret$2;
|
|
1157
1511
|
};
|
|
1158
|
-
PlayerState.prototype.
|
|
1159
|
-
var tmp0_elvis_lhs = this.
|
|
1512
|
+
PlayerState.prototype.w2m = function () {
|
|
1513
|
+
var tmp0_elvis_lhs = this.b2m_1;
|
|
1160
1514
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1161
1515
|
};
|
|
1162
|
-
PlayerState.prototype.
|
|
1163
|
-
return this.
|
|
1516
|
+
PlayerState.prototype.d2m = function () {
|
|
1517
|
+
return this.y2l_1.d2m();
|
|
1164
1518
|
};
|
|
1165
|
-
PlayerState.prototype.
|
|
1166
|
-
return this.
|
|
1519
|
+
PlayerState.prototype.c2m = function () {
|
|
1520
|
+
return this.y2l_1.c2m();
|
|
1167
1521
|
};
|
|
1168
|
-
PlayerState.prototype.
|
|
1522
|
+
PlayerState.prototype.x2m = function (startFromTime, state, ready, connectionState, tag) {
|
|
1169
1523
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1170
1524
|
};
|
|
1171
|
-
PlayerState.prototype.
|
|
1525
|
+
PlayerState.prototype.s2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1172
1526
|
if (!(($mask0 & 1) === 0))
|
|
1173
|
-
startFromTime = this.
|
|
1527
|
+
startFromTime = this.x2l_1;
|
|
1174
1528
|
if (!(($mask0 & 2) === 0))
|
|
1175
|
-
state = this.
|
|
1529
|
+
state = this.y2l_1;
|
|
1176
1530
|
if (!(($mask0 & 4) === 0))
|
|
1177
|
-
ready = this.
|
|
1531
|
+
ready = this.z2l_1;
|
|
1178
1532
|
if (!(($mask0 & 8) === 0))
|
|
1179
|
-
connectionState = this.
|
|
1533
|
+
connectionState = this.a2m_1;
|
|
1180
1534
|
if (!(($mask0 & 16) === 0))
|
|
1181
|
-
tag = this.
|
|
1182
|
-
return this.
|
|
1535
|
+
tag = this.b2m_1;
|
|
1536
|
+
return this.x2m(startFromTime, state, ready, connectionState, tag);
|
|
1183
1537
|
};
|
|
1184
1538
|
PlayerState.prototype.toString = function () {
|
|
1185
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1539
|
+
return 'PlayerState(startFromTime=' + toString_0(this.x2l_1) + ', state=' + this.y2l_1 + ', ready=' + this.z2l_1 + ', connectionState=' + this.a2m_1 + ', tag=' + this.b2m_1 + ')';
|
|
1186
1540
|
};
|
|
1187
1541
|
PlayerState.prototype.hashCode = function () {
|
|
1188
|
-
var result = this.
|
|
1189
|
-
result = imul(result, 31) + this.
|
|
1190
|
-
result = imul(result, 31) + (this.
|
|
1191
|
-
result = imul(result, 31) + this.
|
|
1192
|
-
result = imul(result, 31) + (this.
|
|
1542
|
+
var result = this.x2l_1.hashCode();
|
|
1543
|
+
result = imul(result, 31) + this.y2l_1.hashCode() | 0;
|
|
1544
|
+
result = imul(result, 31) + (this.z2l_1 | 0) | 0;
|
|
1545
|
+
result = imul(result, 31) + this.a2m_1.hashCode() | 0;
|
|
1546
|
+
result = imul(result, 31) + (this.b2m_1 == null ? 0 : getStringHashCode(this.b2m_1)) | 0;
|
|
1193
1547
|
return result;
|
|
1194
1548
|
};
|
|
1195
1549
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1198,27 +1552,27 @@
|
|
|
1198
1552
|
if (!(other instanceof PlayerState))
|
|
1199
1553
|
return false;
|
|
1200
1554
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1201
|
-
if (!this.
|
|
1555
|
+
if (!this.x2l_1.equals(tmp0_other_with_cast.x2l_1))
|
|
1202
1556
|
return false;
|
|
1203
|
-
if (!this.
|
|
1557
|
+
if (!this.y2l_1.equals(tmp0_other_with_cast.y2l_1))
|
|
1204
1558
|
return false;
|
|
1205
|
-
if (!(this.
|
|
1559
|
+
if (!(this.z2l_1 === tmp0_other_with_cast.z2l_1))
|
|
1206
1560
|
return false;
|
|
1207
|
-
if (!this.
|
|
1561
|
+
if (!this.a2m_1.equals(tmp0_other_with_cast.a2m_1))
|
|
1208
1562
|
return false;
|
|
1209
|
-
if (!(this.
|
|
1563
|
+
if (!(this.b2m_1 == tmp0_other_with_cast.b2m_1))
|
|
1210
1564
|
return false;
|
|
1211
1565
|
return true;
|
|
1212
1566
|
};
|
|
1213
1567
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1214
1568
|
function Team(playerIds) {
|
|
1215
|
-
this.
|
|
1569
|
+
this.y2m_1 = playerIds;
|
|
1216
1570
|
}
|
|
1217
1571
|
Team.prototype.toString = function () {
|
|
1218
|
-
return 'Team(playerIds=' + this.
|
|
1572
|
+
return 'Team(playerIds=' + this.y2m_1 + ')';
|
|
1219
1573
|
};
|
|
1220
1574
|
Team.prototype.hashCode = function () {
|
|
1221
|
-
return hashCode(this.
|
|
1575
|
+
return hashCode(this.y2m_1);
|
|
1222
1576
|
};
|
|
1223
1577
|
Team.prototype.equals = function (other) {
|
|
1224
1578
|
if (this === other)
|
|
@@ -1226,215 +1580,215 @@
|
|
|
1226
1580
|
if (!(other instanceof Team))
|
|
1227
1581
|
return false;
|
|
1228
1582
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1229
|
-
if (!equals(this.
|
|
1583
|
+
if (!equals(this.y2m_1, tmp0_other_with_cast.y2m_1))
|
|
1230
1584
|
return false;
|
|
1231
1585
|
return true;
|
|
1232
1586
|
};
|
|
1233
1587
|
Team.$metadata$ = classMeta('Team');
|
|
1234
|
-
function
|
|
1235
|
-
|
|
1588
|
+
function Companion_6() {
|
|
1589
|
+
Companion_instance_6 = this;
|
|
1236
1590
|
}
|
|
1237
|
-
|
|
1591
|
+
Companion_6.prototype.kharkiv = function () {
|
|
1238
1592
|
return new Rules(true, true, true, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
1239
1593
|
};
|
|
1240
|
-
|
|
1594
|
+
Companion_6.prototype.klabor = function () {
|
|
1241
1595
|
return new Rules(true, false, true, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
1242
1596
|
};
|
|
1243
|
-
|
|
1597
|
+
Companion_6.prototype.debertzCommon = function () {
|
|
1244
1598
|
return new Rules(true, false, false, true, true, true, false, false, true, false, false, 0, false, true, false, false);
|
|
1245
1599
|
};
|
|
1246
|
-
|
|
1600
|
+
Companion_6.prototype.moscow = function () {
|
|
1247
1601
|
return new Rules(true, false, false, true, true, true, false, true, true, false, false, 0, false, true, false, false);
|
|
1248
1602
|
};
|
|
1249
|
-
|
|
1603
|
+
Companion_6.prototype.belot = function () {
|
|
1250
1604
|
return new Rules(true, true, false, true, true, true, false, true, true, false, false, 50, false, true, false, false);
|
|
1251
1605
|
};
|
|
1252
|
-
|
|
1606
|
+
Companion_6.prototype.custom = function () {
|
|
1253
1607
|
return new Rules(false, false, false, true, true, true, false, false, false, false, false, 50, false, false, false, false);
|
|
1254
1608
|
};
|
|
1255
|
-
|
|
1256
|
-
var
|
|
1257
|
-
function
|
|
1258
|
-
if (
|
|
1259
|
-
new
|
|
1260
|
-
return
|
|
1609
|
+
Companion_6.$metadata$ = objectMeta('Companion');
|
|
1610
|
+
var Companion_instance_6;
|
|
1611
|
+
function Companion_getInstance_6() {
|
|
1612
|
+
if (Companion_instance_6 == null)
|
|
1613
|
+
new Companion_6();
|
|
1614
|
+
return Companion_instance_6;
|
|
1261
1615
|
}
|
|
1262
1616
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1263
|
-
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1269
|
-
this.
|
|
1270
|
-
this.
|
|
1271
|
-
this.
|
|
1272
|
-
this.
|
|
1273
|
-
this.
|
|
1274
|
-
this.
|
|
1275
|
-
this.
|
|
1276
|
-
this.
|
|
1277
|
-
this.
|
|
1278
|
-
this.
|
|
1279
|
-
this.
|
|
1617
|
+
Companion_getInstance_6();
|
|
1618
|
+
this.z2m_1 = needToPutHigherTrump;
|
|
1619
|
+
this.a2n_1 = distributePoints;
|
|
1620
|
+
this.b2n_1 = protectBella;
|
|
1621
|
+
this.c2n_1 = enableFourSevensCombination;
|
|
1622
|
+
this.d2n_1 = enableTrumpSevenCombination;
|
|
1623
|
+
this.e2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1624
|
+
this.f2n_1 = playerWhoChooseSuitGoFirst;
|
|
1625
|
+
this.g2n_1 = winnerShuffleCards;
|
|
1626
|
+
this.h2n_1 = playWithoutLiabilities;
|
|
1627
|
+
this.i2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1628
|
+
this.j2n_1 = enableFineIfNoBribes;
|
|
1629
|
+
this.k2n_1 = fineIfNoBribes;
|
|
1630
|
+
this.l2n_1 = enableFineAfterThirdByte;
|
|
1631
|
+
this.m2n_1 = checkTrumpCombination;
|
|
1632
|
+
this.n2n_1 = checkOnlyTrumpDebertz;
|
|
1633
|
+
this.o2n_1 = tenCardsInHand;
|
|
1280
1634
|
}
|
|
1281
|
-
Rules.prototype.
|
|
1282
|
-
return this.
|
|
1635
|
+
Rules.prototype.p2n = function () {
|
|
1636
|
+
return this.z2m_1;
|
|
1283
1637
|
};
|
|
1284
|
-
Rules.prototype.
|
|
1285
|
-
return this.
|
|
1638
|
+
Rules.prototype.q2n = function () {
|
|
1639
|
+
return this.a2n_1;
|
|
1286
1640
|
};
|
|
1287
|
-
Rules.prototype.
|
|
1288
|
-
return this.
|
|
1641
|
+
Rules.prototype.r2n = function () {
|
|
1642
|
+
return this.b2n_1;
|
|
1289
1643
|
};
|
|
1290
|
-
Rules.prototype.
|
|
1291
|
-
return this.
|
|
1644
|
+
Rules.prototype.s2n = function () {
|
|
1645
|
+
return this.c2n_1;
|
|
1292
1646
|
};
|
|
1293
|
-
Rules.prototype.
|
|
1294
|
-
return this.
|
|
1647
|
+
Rules.prototype.t2n = function () {
|
|
1648
|
+
return this.d2n_1;
|
|
1295
1649
|
};
|
|
1296
|
-
Rules.prototype.
|
|
1297
|
-
return this.
|
|
1650
|
+
Rules.prototype.u2n = function () {
|
|
1651
|
+
return this.e2n_1;
|
|
1298
1652
|
};
|
|
1299
|
-
Rules.prototype.
|
|
1300
|
-
return this.
|
|
1653
|
+
Rules.prototype.v2n = function () {
|
|
1654
|
+
return this.f2n_1;
|
|
1301
1655
|
};
|
|
1302
|
-
Rules.prototype.
|
|
1303
|
-
return this.
|
|
1656
|
+
Rules.prototype.w2n = function () {
|
|
1657
|
+
return this.g2n_1;
|
|
1304
1658
|
};
|
|
1305
|
-
Rules.prototype.
|
|
1306
|
-
return this.
|
|
1659
|
+
Rules.prototype.x2n = function () {
|
|
1660
|
+
return this.h2n_1;
|
|
1307
1661
|
};
|
|
1308
|
-
Rules.prototype.
|
|
1309
|
-
return this.
|
|
1662
|
+
Rules.prototype.y2n = function () {
|
|
1663
|
+
return this.i2n_1;
|
|
1310
1664
|
};
|
|
1311
|
-
Rules.prototype.
|
|
1312
|
-
return this.
|
|
1665
|
+
Rules.prototype.z2n = function () {
|
|
1666
|
+
return this.j2n_1;
|
|
1313
1667
|
};
|
|
1314
|
-
Rules.prototype.
|
|
1315
|
-
return this.
|
|
1668
|
+
Rules.prototype.a2o = function () {
|
|
1669
|
+
return this.k2n_1;
|
|
1316
1670
|
};
|
|
1317
|
-
Rules.prototype.
|
|
1318
|
-
return this.
|
|
1671
|
+
Rules.prototype.b2o = function () {
|
|
1672
|
+
return this.l2n_1;
|
|
1319
1673
|
};
|
|
1320
|
-
Rules.prototype.
|
|
1321
|
-
return this.
|
|
1674
|
+
Rules.prototype.c2o = function () {
|
|
1675
|
+
return this.m2n_1;
|
|
1322
1676
|
};
|
|
1323
|
-
Rules.prototype.
|
|
1324
|
-
return this.
|
|
1677
|
+
Rules.prototype.d2o = function () {
|
|
1678
|
+
return this.n2n_1;
|
|
1325
1679
|
};
|
|
1326
|
-
Rules.prototype.
|
|
1327
|
-
return this.
|
|
1680
|
+
Rules.prototype.e2o = function () {
|
|
1681
|
+
return this.o2n_1;
|
|
1328
1682
|
};
|
|
1329
1683
|
Rules.prototype.component1 = function () {
|
|
1330
|
-
return this.
|
|
1684
|
+
return this.z2m_1;
|
|
1331
1685
|
};
|
|
1332
1686
|
Rules.prototype.component2 = function () {
|
|
1333
|
-
return this.
|
|
1687
|
+
return this.a2n_1;
|
|
1334
1688
|
};
|
|
1335
1689
|
Rules.prototype.component3 = function () {
|
|
1336
|
-
return this.
|
|
1690
|
+
return this.b2n_1;
|
|
1337
1691
|
};
|
|
1338
1692
|
Rules.prototype.component4 = function () {
|
|
1339
|
-
return this.
|
|
1693
|
+
return this.c2n_1;
|
|
1340
1694
|
};
|
|
1341
1695
|
Rules.prototype.component5 = function () {
|
|
1342
|
-
return this.
|
|
1696
|
+
return this.d2n_1;
|
|
1343
1697
|
};
|
|
1344
1698
|
Rules.prototype.component6 = function () {
|
|
1345
|
-
return this.
|
|
1699
|
+
return this.e2n_1;
|
|
1346
1700
|
};
|
|
1347
1701
|
Rules.prototype.component7 = function () {
|
|
1348
|
-
return this.
|
|
1702
|
+
return this.f2n_1;
|
|
1349
1703
|
};
|
|
1350
1704
|
Rules.prototype.component8 = function () {
|
|
1351
|
-
return this.
|
|
1705
|
+
return this.g2n_1;
|
|
1352
1706
|
};
|
|
1353
1707
|
Rules.prototype.component9 = function () {
|
|
1354
|
-
return this.
|
|
1708
|
+
return this.h2n_1;
|
|
1355
1709
|
};
|
|
1356
1710
|
Rules.prototype.component10 = function () {
|
|
1357
|
-
return this.
|
|
1711
|
+
return this.i2n_1;
|
|
1358
1712
|
};
|
|
1359
1713
|
Rules.prototype.component11 = function () {
|
|
1360
|
-
return this.
|
|
1714
|
+
return this.j2n_1;
|
|
1361
1715
|
};
|
|
1362
1716
|
Rules.prototype.component12 = function () {
|
|
1363
|
-
return this.
|
|
1717
|
+
return this.k2n_1;
|
|
1364
1718
|
};
|
|
1365
1719
|
Rules.prototype.component13 = function () {
|
|
1366
|
-
return this.
|
|
1720
|
+
return this.l2n_1;
|
|
1367
1721
|
};
|
|
1368
1722
|
Rules.prototype.component14 = function () {
|
|
1369
|
-
return this.
|
|
1723
|
+
return this.m2n_1;
|
|
1370
1724
|
};
|
|
1371
1725
|
Rules.prototype.component15 = function () {
|
|
1372
|
-
return this.
|
|
1726
|
+
return this.n2n_1;
|
|
1373
1727
|
};
|
|
1374
1728
|
Rules.prototype.component16 = function () {
|
|
1375
|
-
return this.
|
|
1729
|
+
return this.o2n_1;
|
|
1376
1730
|
};
|
|
1377
1731
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1378
|
-
return this.
|
|
1732
|
+
return this.f2o(needToPutHigherTrump === void 1 ? this.z2m_1 : needToPutHigherTrump, distributePoints === void 1 ? this.a2n_1 : distributePoints, protectBella === void 1 ? this.b2n_1 : protectBella, enableFourSevensCombination === void 1 ? this.c2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.d2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.e2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.f2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.g2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.h2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.i2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.j2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.k2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.l2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.m2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.n2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.o2n_1 : tenCardsInHand);
|
|
1379
1733
|
};
|
|
1380
|
-
Rules.prototype.
|
|
1734
|
+
Rules.prototype.f2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1381
1735
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1382
1736
|
};
|
|
1383
|
-
Rules.prototype.
|
|
1737
|
+
Rules.prototype.g2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1384
1738
|
if (!(($mask0 & 1) === 0))
|
|
1385
|
-
needToPutHigherTrump = this.
|
|
1739
|
+
needToPutHigherTrump = this.z2m_1;
|
|
1386
1740
|
if (!(($mask0 & 2) === 0))
|
|
1387
|
-
distributePoints = this.
|
|
1741
|
+
distributePoints = this.a2n_1;
|
|
1388
1742
|
if (!(($mask0 & 4) === 0))
|
|
1389
|
-
protectBella = this.
|
|
1743
|
+
protectBella = this.b2n_1;
|
|
1390
1744
|
if (!(($mask0 & 8) === 0))
|
|
1391
|
-
enableFourSevensCombination = this.
|
|
1745
|
+
enableFourSevensCombination = this.c2n_1;
|
|
1392
1746
|
if (!(($mask0 & 16) === 0))
|
|
1393
|
-
enableTrumpSevenCombination = this.
|
|
1747
|
+
enableTrumpSevenCombination = this.d2n_1;
|
|
1394
1748
|
if (!(($mask0 & 32) === 0))
|
|
1395
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
1749
|
+
enableTrumpSevenCombinationAfterDistribution = this.e2n_1;
|
|
1396
1750
|
if (!(($mask0 & 64) === 0))
|
|
1397
|
-
playerWhoChooseSuitGoFirst = this.
|
|
1751
|
+
playerWhoChooseSuitGoFirst = this.f2n_1;
|
|
1398
1752
|
if (!(($mask0 & 128) === 0))
|
|
1399
|
-
winnerShuffleCards = this.
|
|
1753
|
+
winnerShuffleCards = this.g2n_1;
|
|
1400
1754
|
if (!(($mask0 & 256) === 0))
|
|
1401
|
-
playWithoutLiabilities = this.
|
|
1755
|
+
playWithoutLiabilities = this.h2n_1;
|
|
1402
1756
|
if (!(($mask0 & 512) === 0))
|
|
1403
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
1757
|
+
trumpCardGoToPlayerWhoShuffleCards = this.i2n_1;
|
|
1404
1758
|
if (!(($mask0 & 1024) === 0))
|
|
1405
|
-
enableFineIfNoBribes = this.
|
|
1759
|
+
enableFineIfNoBribes = this.j2n_1;
|
|
1406
1760
|
if (!(($mask0 & 2048) === 0))
|
|
1407
|
-
fineIfNoBribes = this.
|
|
1761
|
+
fineIfNoBribes = this.k2n_1;
|
|
1408
1762
|
if (!(($mask0 & 4096) === 0))
|
|
1409
|
-
enableFineAfterThirdByte = this.
|
|
1763
|
+
enableFineAfterThirdByte = this.l2n_1;
|
|
1410
1764
|
if (!(($mask0 & 8192) === 0))
|
|
1411
|
-
checkTrumpCombination = this.
|
|
1765
|
+
checkTrumpCombination = this.m2n_1;
|
|
1412
1766
|
if (!(($mask0 & 16384) === 0))
|
|
1413
|
-
checkOnlyTrumpDebertz = this.
|
|
1767
|
+
checkOnlyTrumpDebertz = this.n2n_1;
|
|
1414
1768
|
if (!(($mask0 & 32768) === 0))
|
|
1415
|
-
tenCardsInHand = this.
|
|
1416
|
-
return this.
|
|
1769
|
+
tenCardsInHand = this.o2n_1;
|
|
1770
|
+
return this.f2o(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1417
1771
|
};
|
|
1418
1772
|
Rules.prototype.toString = function () {
|
|
1419
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
1773
|
+
return 'Rules(needToPutHigherTrump=' + this.z2m_1 + ', distributePoints=' + this.a2n_1 + ', protectBella=' + this.b2n_1 + ', enableFourSevensCombination=' + this.c2n_1 + ', enableTrumpSevenCombination=' + this.d2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.e2n_1 + ', playerWhoChooseSuitGoFirst=' + this.f2n_1 + ', winnerShuffleCards=' + this.g2n_1 + ', playWithoutLiabilities=' + this.h2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.i2n_1 + ', enableFineIfNoBribes=' + this.j2n_1 + ', fineIfNoBribes=' + this.k2n_1 + ', enableFineAfterThirdByte=' + this.l2n_1 + ', checkTrumpCombination=' + this.m2n_1 + ', checkOnlyTrumpDebertz=' + this.n2n_1 + ', tenCardsInHand=' + this.o2n_1 + ')';
|
|
1420
1774
|
};
|
|
1421
1775
|
Rules.prototype.hashCode = function () {
|
|
1422
|
-
var result = this.
|
|
1423
|
-
result = imul(result, 31) + (this.
|
|
1424
|
-
result = imul(result, 31) + (this.
|
|
1425
|
-
result = imul(result, 31) + (this.
|
|
1426
|
-
result = imul(result, 31) + (this.
|
|
1427
|
-
result = imul(result, 31) + (this.
|
|
1428
|
-
result = imul(result, 31) + (this.
|
|
1429
|
-
result = imul(result, 31) + (this.
|
|
1430
|
-
result = imul(result, 31) + (this.
|
|
1431
|
-
result = imul(result, 31) + (this.
|
|
1432
|
-
result = imul(result, 31) + (this.
|
|
1433
|
-
result = imul(result, 31) + this.
|
|
1434
|
-
result = imul(result, 31) + (this.
|
|
1435
|
-
result = imul(result, 31) + (this.
|
|
1436
|
-
result = imul(result, 31) + (this.
|
|
1437
|
-
result = imul(result, 31) + (this.
|
|
1776
|
+
var result = this.z2m_1 | 0;
|
|
1777
|
+
result = imul(result, 31) + (this.a2n_1 | 0) | 0;
|
|
1778
|
+
result = imul(result, 31) + (this.b2n_1 | 0) | 0;
|
|
1779
|
+
result = imul(result, 31) + (this.c2n_1 | 0) | 0;
|
|
1780
|
+
result = imul(result, 31) + (this.d2n_1 | 0) | 0;
|
|
1781
|
+
result = imul(result, 31) + (this.e2n_1 | 0) | 0;
|
|
1782
|
+
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1783
|
+
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
1784
|
+
result = imul(result, 31) + (this.h2n_1 | 0) | 0;
|
|
1785
|
+
result = imul(result, 31) + (this.i2n_1 | 0) | 0;
|
|
1786
|
+
result = imul(result, 31) + (this.j2n_1 | 0) | 0;
|
|
1787
|
+
result = imul(result, 31) + this.k2n_1 | 0;
|
|
1788
|
+
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1789
|
+
result = imul(result, 31) + (this.m2n_1 | 0) | 0;
|
|
1790
|
+
result = imul(result, 31) + (this.n2n_1 | 0) | 0;
|
|
1791
|
+
result = imul(result, 31) + (this.o2n_1 | 0) | 0;
|
|
1438
1792
|
return result;
|
|
1439
1793
|
};
|
|
1440
1794
|
Rules.prototype.equals = function (other) {
|
|
@@ -1443,104 +1797,104 @@
|
|
|
1443
1797
|
if (!(other instanceof Rules))
|
|
1444
1798
|
return false;
|
|
1445
1799
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1446
|
-
if (!(this.
|
|
1800
|
+
if (!(this.z2m_1 === tmp0_other_with_cast.z2m_1))
|
|
1447
1801
|
return false;
|
|
1448
|
-
if (!(this.
|
|
1802
|
+
if (!(this.a2n_1 === tmp0_other_with_cast.a2n_1))
|
|
1449
1803
|
return false;
|
|
1450
|
-
if (!(this.
|
|
1804
|
+
if (!(this.b2n_1 === tmp0_other_with_cast.b2n_1))
|
|
1451
1805
|
return false;
|
|
1452
|
-
if (!(this.
|
|
1806
|
+
if (!(this.c2n_1 === tmp0_other_with_cast.c2n_1))
|
|
1453
1807
|
return false;
|
|
1454
|
-
if (!(this.
|
|
1808
|
+
if (!(this.d2n_1 === tmp0_other_with_cast.d2n_1))
|
|
1455
1809
|
return false;
|
|
1456
|
-
if (!(this.
|
|
1810
|
+
if (!(this.e2n_1 === tmp0_other_with_cast.e2n_1))
|
|
1457
1811
|
return false;
|
|
1458
|
-
if (!(this.
|
|
1812
|
+
if (!(this.f2n_1 === tmp0_other_with_cast.f2n_1))
|
|
1459
1813
|
return false;
|
|
1460
|
-
if (!(this.
|
|
1814
|
+
if (!(this.g2n_1 === tmp0_other_with_cast.g2n_1))
|
|
1461
1815
|
return false;
|
|
1462
|
-
if (!(this.
|
|
1816
|
+
if (!(this.h2n_1 === tmp0_other_with_cast.h2n_1))
|
|
1463
1817
|
return false;
|
|
1464
|
-
if (!(this.
|
|
1818
|
+
if (!(this.i2n_1 === tmp0_other_with_cast.i2n_1))
|
|
1465
1819
|
return false;
|
|
1466
|
-
if (!(this.
|
|
1820
|
+
if (!(this.j2n_1 === tmp0_other_with_cast.j2n_1))
|
|
1467
1821
|
return false;
|
|
1468
|
-
if (!(this.
|
|
1822
|
+
if (!(this.k2n_1 === tmp0_other_with_cast.k2n_1))
|
|
1469
1823
|
return false;
|
|
1470
|
-
if (!(this.
|
|
1824
|
+
if (!(this.l2n_1 === tmp0_other_with_cast.l2n_1))
|
|
1471
1825
|
return false;
|
|
1472
|
-
if (!(this.
|
|
1826
|
+
if (!(this.m2n_1 === tmp0_other_with_cast.m2n_1))
|
|
1473
1827
|
return false;
|
|
1474
|
-
if (!(this.
|
|
1828
|
+
if (!(this.n2n_1 === tmp0_other_with_cast.n2n_1))
|
|
1475
1829
|
return false;
|
|
1476
|
-
if (!(this.
|
|
1830
|
+
if (!(this.o2n_1 === tmp0_other_with_cast.o2n_1))
|
|
1477
1831
|
return false;
|
|
1478
1832
|
return true;
|
|
1479
1833
|
};
|
|
1480
1834
|
Rules.$metadata$ = classMeta('Rules');
|
|
1481
1835
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1482
1836
|
configurable: true,
|
|
1483
|
-
get: Rules.prototype.
|
|
1837
|
+
get: Rules.prototype.p2n
|
|
1484
1838
|
});
|
|
1485
1839
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1486
1840
|
configurable: true,
|
|
1487
|
-
get: Rules.prototype.
|
|
1841
|
+
get: Rules.prototype.q2n
|
|
1488
1842
|
});
|
|
1489
1843
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1490
1844
|
configurable: true,
|
|
1491
|
-
get: Rules.prototype.
|
|
1845
|
+
get: Rules.prototype.r2n
|
|
1492
1846
|
});
|
|
1493
1847
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1494
1848
|
configurable: true,
|
|
1495
|
-
get: Rules.prototype.
|
|
1849
|
+
get: Rules.prototype.s2n
|
|
1496
1850
|
});
|
|
1497
1851
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
1498
1852
|
configurable: true,
|
|
1499
|
-
get: Rules.prototype.
|
|
1853
|
+
get: Rules.prototype.t2n
|
|
1500
1854
|
});
|
|
1501
1855
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
1502
1856
|
configurable: true,
|
|
1503
|
-
get: Rules.prototype.
|
|
1857
|
+
get: Rules.prototype.u2n
|
|
1504
1858
|
});
|
|
1505
1859
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
1506
1860
|
configurable: true,
|
|
1507
|
-
get: Rules.prototype.
|
|
1861
|
+
get: Rules.prototype.v2n
|
|
1508
1862
|
});
|
|
1509
1863
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
1510
1864
|
configurable: true,
|
|
1511
|
-
get: Rules.prototype.
|
|
1865
|
+
get: Rules.prototype.w2n
|
|
1512
1866
|
});
|
|
1513
1867
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
1514
1868
|
configurable: true,
|
|
1515
|
-
get: Rules.prototype.
|
|
1869
|
+
get: Rules.prototype.x2n
|
|
1516
1870
|
});
|
|
1517
1871
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
1518
1872
|
configurable: true,
|
|
1519
|
-
get: Rules.prototype.
|
|
1873
|
+
get: Rules.prototype.y2n
|
|
1520
1874
|
});
|
|
1521
1875
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
1522
1876
|
configurable: true,
|
|
1523
|
-
get: Rules.prototype.
|
|
1877
|
+
get: Rules.prototype.z2n
|
|
1524
1878
|
});
|
|
1525
1879
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
1526
1880
|
configurable: true,
|
|
1527
|
-
get: Rules.prototype.
|
|
1881
|
+
get: Rules.prototype.a2o
|
|
1528
1882
|
});
|
|
1529
1883
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
1530
1884
|
configurable: true,
|
|
1531
|
-
get: Rules.prototype.
|
|
1885
|
+
get: Rules.prototype.b2o
|
|
1532
1886
|
});
|
|
1533
1887
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
1534
1888
|
configurable: true,
|
|
1535
|
-
get: Rules.prototype.
|
|
1889
|
+
get: Rules.prototype.c2o
|
|
1536
1890
|
});
|
|
1537
1891
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
1538
1892
|
configurable: true,
|
|
1539
|
-
get: Rules.prototype.
|
|
1893
|
+
get: Rules.prototype.d2o
|
|
1540
1894
|
});
|
|
1541
1895
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
1542
1896
|
configurable: true,
|
|
1543
|
-
get: Rules.prototype.
|
|
1897
|
+
get: Rules.prototype.e2o
|
|
1544
1898
|
});
|
|
1545
1899
|
var RulesSetType_belot_instance;
|
|
1546
1900
|
var RulesSetType_klabor_instance;
|
|
@@ -1548,7 +1902,7 @@
|
|
|
1548
1902
|
var RulesSetType_debertzKharkiv_instance;
|
|
1549
1903
|
var RulesSetType_debertzMoscow_instance;
|
|
1550
1904
|
var RulesSetType_custom_instance;
|
|
1551
|
-
function
|
|
1905
|
+
function values_1() {
|
|
1552
1906
|
return [RulesSetType_belot_getInstance(), RulesSetType_klabor_getInstance(), RulesSetType_debertzCommon_getInstance(), RulesSetType_debertzKharkiv_getInstance(), RulesSetType_debertzMoscow_getInstance(), RulesSetType_custom_getInstance()];
|
|
1553
1907
|
}
|
|
1554
1908
|
function valueOf_0(value) {
|
|
@@ -1589,11 +1943,11 @@
|
|
|
1589
1943
|
RulesSetType.$metadata$ = classMeta('RulesSetType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
1590
1944
|
Object.defineProperty(RulesSetType.prototype, 'name', {
|
|
1591
1945
|
configurable: true,
|
|
1592
|
-
get: RulesSetType.prototype.
|
|
1946
|
+
get: RulesSetType.prototype.f5
|
|
1593
1947
|
});
|
|
1594
1948
|
Object.defineProperty(RulesSetType.prototype, 'ordinal', {
|
|
1595
1949
|
configurable: true,
|
|
1596
|
-
get: RulesSetType.prototype.
|
|
1950
|
+
get: RulesSetType.prototype.pi
|
|
1597
1951
|
});
|
|
1598
1952
|
function RulesSetType_belot_getInstance() {
|
|
1599
1953
|
RulesSetType_initEntries();
|
|
@@ -1619,16 +1973,660 @@
|
|
|
1619
1973
|
RulesSetType_initEntries();
|
|
1620
1974
|
return RulesSetType_custom_instance;
|
|
1621
1975
|
}
|
|
1976
|
+
function mapToDto(_this__u8e3s4) {
|
|
1977
|
+
return _this__u8e3s4.j2o_1;
|
|
1978
|
+
}
|
|
1979
|
+
function mapFromDto(_this__u8e3s4) {
|
|
1980
|
+
return new GameCard(_this__u8e3s4);
|
|
1981
|
+
}
|
|
1982
|
+
function mapToDto_0(_this__u8e3s4) {
|
|
1983
|
+
return _this__u8e3s4.l2o_1.j2o_1;
|
|
1984
|
+
}
|
|
1985
|
+
function mapToDto_1(_this__u8e3s4) {
|
|
1986
|
+
return new RulesDto(_this__u8e3s4.z2m_1, _this__u8e3s4.a2n_1, _this__u8e3s4.b2n_1, _this__u8e3s4.c2n_1, _this__u8e3s4.d2n_1, _this__u8e3s4.e2n_1, _this__u8e3s4.f2n_1, _this__u8e3s4.g2n_1, _this__u8e3s4.h2n_1, _this__u8e3s4.i2n_1, _this__u8e3s4.j2n_1, _this__u8e3s4.k2n_1, _this__u8e3s4.l2n_1, _this__u8e3s4.m2n_1, _this__u8e3s4.n2n_1, _this__u8e3s4.o2n_1);
|
|
1987
|
+
}
|
|
1988
|
+
function mapFromDto_0(_this__u8e3s4) {
|
|
1989
|
+
return new Rules(_this__u8e3s4.m2o_1, _this__u8e3s4.n2o_1, _this__u8e3s4.o2o_1, _this__u8e3s4.p2o_1, _this__u8e3s4.q2o_1, _this__u8e3s4.r2o_1, _this__u8e3s4.s2o_1, _this__u8e3s4.t2o_1, _this__u8e3s4.u2o_1, _this__u8e3s4.v2o_1, _this__u8e3s4.w2o_1, _this__u8e3s4.x2o_1, _this__u8e3s4.y2o_1, _this__u8e3s4.z2o_1, _this__u8e3s4.a2p_1, _this__u8e3s4.b2p_1);
|
|
1990
|
+
}
|
|
1991
|
+
function mapToDto_2(_this__u8e3s4) {
|
|
1992
|
+
return new GameUserInfoDto(_this__u8e3s4.p2l_1, _this__u8e3s4.q2l_1, _this__u8e3s4.r2l_1);
|
|
1993
|
+
}
|
|
1994
|
+
function mapFromDto_1(_this__u8e3s4) {
|
|
1995
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.c2p_1, _this__u8e3s4.d2p_1, _this__u8e3s4.e2p_1, null, 8, null);
|
|
1996
|
+
}
|
|
1997
|
+
function mapToDto_3(_this__u8e3s4) {
|
|
1998
|
+
var tmp0_startFromTime = _this__u8e3s4.x2l_1;
|
|
1999
|
+
var tmp1_state = _this__u8e3s4.y2l_1;
|
|
2000
|
+
var tmp2_tag = _this__u8e3s4.b2m_1;
|
|
2001
|
+
var tmp3_ready = _this__u8e3s4.z2l_1;
|
|
2002
|
+
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2003
|
+
}
|
|
2004
|
+
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2005
|
+
var tmp0_startFromTime = _this__u8e3s4.f2p_1;
|
|
2006
|
+
var tmp1_state = _this__u8e3s4.g2p_1;
|
|
2007
|
+
var tmp2_tag = _this__u8e3s4.i2p_1;
|
|
2008
|
+
var tmp3_ready = _this__u8e3s4.h2p_1;
|
|
2009
|
+
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2010
|
+
}
|
|
2011
|
+
function Companion_7() {
|
|
2012
|
+
Companion_instance_7 = this;
|
|
2013
|
+
}
|
|
2014
|
+
Companion_7.$metadata$ = objectMeta('Companion');
|
|
2015
|
+
var Companion_instance_7;
|
|
2016
|
+
function Companion_getInstance_7() {
|
|
2017
|
+
if (Companion_instance_7 == null)
|
|
2018
|
+
new Companion_7();
|
|
2019
|
+
return Companion_instance_7;
|
|
2020
|
+
}
|
|
2021
|
+
function $serializer_3() {
|
|
2022
|
+
$serializer_instance_3 = this;
|
|
2023
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 3);
|
|
2024
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
2025
|
+
tmp0_serialDesc.d1t('name', false);
|
|
2026
|
+
tmp0_serialDesc.d1t('avatarUrl', false);
|
|
2027
|
+
this.j2p_1 = tmp0_serialDesc;
|
|
2028
|
+
}
|
|
2029
|
+
$serializer_3.prototype.q1i = function () {
|
|
2030
|
+
return this.j2p_1;
|
|
2031
|
+
};
|
|
2032
|
+
$serializer_3.prototype.s1t = function () {
|
|
2033
|
+
var tmp$ret$2;
|
|
2034
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2035
|
+
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2036
|
+
var tmp$ret$1;
|
|
2037
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2038
|
+
var tmp$ret$0;
|
|
2039
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2040
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
2041
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2042
|
+
tmp$ret$2 = tmp$ret$1;
|
|
2043
|
+
return tmp$ret$2;
|
|
2044
|
+
};
|
|
2045
|
+
$serializer_3.prototype.s1i = function (decoder) {
|
|
2046
|
+
var tmp0_desc = this.j2p_1;
|
|
2047
|
+
var tmp1_flag = true;
|
|
2048
|
+
var tmp2_index = 0;
|
|
2049
|
+
var tmp3_bitMask0 = 0;
|
|
2050
|
+
var tmp4_local0 = null;
|
|
2051
|
+
var tmp5_local1 = null;
|
|
2052
|
+
var tmp6_local2 = null;
|
|
2053
|
+
var tmp7_input = decoder.y1l(tmp0_desc);
|
|
2054
|
+
if (tmp7_input.n1m()) {
|
|
2055
|
+
tmp4_local0 = tmp7_input.i1m(tmp0_desc, 0);
|
|
2056
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2057
|
+
tmp5_local1 = tmp7_input.i1m(tmp0_desc, 1);
|
|
2058
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2059
|
+
tmp6_local2 = tmp7_input.i1m(tmp0_desc, 2);
|
|
2060
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2061
|
+
} else
|
|
2062
|
+
while (tmp1_flag) {
|
|
2063
|
+
tmp2_index = tmp7_input.o1m(tmp0_desc);
|
|
2064
|
+
switch (tmp2_index) {
|
|
2065
|
+
case -1:
|
|
2066
|
+
tmp1_flag = false;
|
|
2067
|
+
break;
|
|
2068
|
+
case 0:
|
|
2069
|
+
tmp4_local0 = tmp7_input.i1m(tmp0_desc, 0);
|
|
2070
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2071
|
+
break;
|
|
2072
|
+
case 1:
|
|
2073
|
+
tmp5_local1 = tmp7_input.i1m(tmp0_desc, 1);
|
|
2074
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2075
|
+
break;
|
|
2076
|
+
case 2:
|
|
2077
|
+
tmp6_local2 = tmp7_input.i1m(tmp0_desc, 2);
|
|
2078
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2079
|
+
break;
|
|
2080
|
+
default:
|
|
2081
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
tmp7_input.z1l(tmp0_desc);
|
|
2085
|
+
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2086
|
+
};
|
|
2087
|
+
$serializer_3.prototype.k2p = function (encoder, value) {
|
|
2088
|
+
var tmp0_desc = this.j2p_1;
|
|
2089
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2090
|
+
tmp1_output.m1n(tmp0_desc, 0, value.c2p_1);
|
|
2091
|
+
tmp1_output.m1n(tmp0_desc, 1, value.d2p_1);
|
|
2092
|
+
tmp1_output.m1n(tmp0_desc, 2, value.e2p_1);
|
|
2093
|
+
tmp1_output.z1l(tmp0_desc);
|
|
2094
|
+
};
|
|
2095
|
+
$serializer_3.prototype.r1i = function (encoder, value) {
|
|
2096
|
+
return this.k2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2097
|
+
};
|
|
2098
|
+
$serializer_3.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2099
|
+
var $serializer_instance_3;
|
|
2100
|
+
function $serializer_getInstance_3() {
|
|
2101
|
+
if ($serializer_instance_3 == null)
|
|
2102
|
+
new $serializer_3();
|
|
2103
|
+
return $serializer_instance_3;
|
|
2104
|
+
}
|
|
2105
|
+
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, $this) {
|
|
2106
|
+
if (!(7 === (7 & seen1))) {
|
|
2107
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_3().j2p_1);
|
|
2108
|
+
}
|
|
2109
|
+
$this.c2p_1 = playerId;
|
|
2110
|
+
$this.d2p_1 = name;
|
|
2111
|
+
$this.e2p_1 = avatarUrl;
|
|
2112
|
+
return $this;
|
|
2113
|
+
}
|
|
2114
|
+
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, serializationConstructorMarker) {
|
|
2115
|
+
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2116
|
+
}
|
|
2117
|
+
function GameUserInfoDto(playerId, name, avatarUrl) {
|
|
2118
|
+
Companion_getInstance_7();
|
|
2119
|
+
this.c2p_1 = playerId;
|
|
2120
|
+
this.d2p_1 = name;
|
|
2121
|
+
this.e2p_1 = avatarUrl;
|
|
2122
|
+
}
|
|
2123
|
+
GameUserInfoDto.prototype.toString = function () {
|
|
2124
|
+
return 'GameUserInfoDto(playerId=' + this.c2p_1 + ', name=' + this.d2p_1 + ', avatarUrl=' + this.e2p_1 + ')';
|
|
2125
|
+
};
|
|
2126
|
+
GameUserInfoDto.prototype.hashCode = function () {
|
|
2127
|
+
var result = getStringHashCode(this.c2p_1);
|
|
2128
|
+
result = imul(result, 31) + getStringHashCode(this.d2p_1) | 0;
|
|
2129
|
+
result = imul(result, 31) + getStringHashCode(this.e2p_1) | 0;
|
|
2130
|
+
return result;
|
|
2131
|
+
};
|
|
2132
|
+
GameUserInfoDto.prototype.equals = function (other) {
|
|
2133
|
+
if (this === other)
|
|
2134
|
+
return true;
|
|
2135
|
+
if (!(other instanceof GameUserInfoDto))
|
|
2136
|
+
return false;
|
|
2137
|
+
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2138
|
+
if (!(this.c2p_1 === tmp0_other_with_cast.c2p_1))
|
|
2139
|
+
return false;
|
|
2140
|
+
if (!(this.d2p_1 === tmp0_other_with_cast.d2p_1))
|
|
2141
|
+
return false;
|
|
2142
|
+
if (!(this.e2p_1 === tmp0_other_with_cast.e2p_1))
|
|
2143
|
+
return false;
|
|
2144
|
+
return true;
|
|
2145
|
+
};
|
|
2146
|
+
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $serializer_getInstance_3});
|
|
2147
|
+
function Companion_8() {
|
|
2148
|
+
Companion_instance_8 = this;
|
|
2149
|
+
}
|
|
2150
|
+
Companion_8.$metadata$ = objectMeta('Companion');
|
|
2151
|
+
var Companion_instance_8;
|
|
2152
|
+
function Companion_getInstance_8() {
|
|
2153
|
+
if (Companion_instance_8 == null)
|
|
2154
|
+
new Companion_8();
|
|
2155
|
+
return Companion_instance_8;
|
|
2156
|
+
}
|
|
2157
|
+
function $serializer_4() {
|
|
2158
|
+
$serializer_instance_4 = this;
|
|
2159
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 4);
|
|
2160
|
+
tmp0_serialDesc.d1t('startFromTime', false);
|
|
2161
|
+
tmp0_serialDesc.d1t('state', false);
|
|
2162
|
+
tmp0_serialDesc.d1t('ready', false);
|
|
2163
|
+
tmp0_serialDesc.d1t('tag', true);
|
|
2164
|
+
this.l2p_1 = tmp0_serialDesc;
|
|
2165
|
+
}
|
|
2166
|
+
$serializer_4.prototype.q1i = function () {
|
|
2167
|
+
return this.l2p_1;
|
|
2168
|
+
};
|
|
2169
|
+
$serializer_4.prototype.s1t = function () {
|
|
2170
|
+
var tmp$ret$2;
|
|
2171
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2172
|
+
var tmp0_arrayOf = [LongSerializer_getInstance(), createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_0()), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2173
|
+
var tmp$ret$1;
|
|
2174
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2175
|
+
var tmp$ret$0;
|
|
2176
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2177
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
2178
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2179
|
+
tmp$ret$2 = tmp$ret$1;
|
|
2180
|
+
return tmp$ret$2;
|
|
2181
|
+
};
|
|
2182
|
+
$serializer_4.prototype.s1i = function (decoder) {
|
|
2183
|
+
var tmp0_desc = this.l2p_1;
|
|
2184
|
+
var tmp1_flag = true;
|
|
2185
|
+
var tmp2_index = 0;
|
|
2186
|
+
var tmp3_bitMask0 = 0;
|
|
2187
|
+
var tmp4_local0 = new Long(0, 0);
|
|
2188
|
+
var tmp5_local1 = null;
|
|
2189
|
+
var tmp6_local2 = false;
|
|
2190
|
+
var tmp7_local3 = null;
|
|
2191
|
+
var tmp8_input = decoder.y1l(tmp0_desc);
|
|
2192
|
+
if (tmp8_input.n1m()) {
|
|
2193
|
+
tmp4_local0 = tmp8_input.e1m(tmp0_desc, 0);
|
|
2194
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2195
|
+
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1, createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_0()), tmp5_local1);
|
|
2196
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2197
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2198
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2199
|
+
tmp7_local3 = tmp8_input.m1m(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2200
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2201
|
+
} else
|
|
2202
|
+
while (tmp1_flag) {
|
|
2203
|
+
tmp2_index = tmp8_input.o1m(tmp0_desc);
|
|
2204
|
+
switch (tmp2_index) {
|
|
2205
|
+
case -1:
|
|
2206
|
+
tmp1_flag = false;
|
|
2207
|
+
break;
|
|
2208
|
+
case 0:
|
|
2209
|
+
tmp4_local0 = tmp8_input.e1m(tmp0_desc, 0);
|
|
2210
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2211
|
+
break;
|
|
2212
|
+
case 1:
|
|
2213
|
+
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1, createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_0()), tmp5_local1);
|
|
2214
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2215
|
+
break;
|
|
2216
|
+
case 2:
|
|
2217
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2218
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2219
|
+
break;
|
|
2220
|
+
case 3:
|
|
2221
|
+
tmp7_local3 = tmp8_input.m1m(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2222
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2223
|
+
break;
|
|
2224
|
+
default:
|
|
2225
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
tmp8_input.z1l(tmp0_desc);
|
|
2229
|
+
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2230
|
+
};
|
|
2231
|
+
$serializer_4.prototype.m2p = function (encoder, value) {
|
|
2232
|
+
var tmp0_desc = this.l2p_1;
|
|
2233
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2234
|
+
tmp1_output.i1n(tmp0_desc, 0, value.f2p_1);
|
|
2235
|
+
tmp1_output.o1n(tmp0_desc, 1, createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_0()), value.g2p_1);
|
|
2236
|
+
tmp1_output.e1n(tmp0_desc, 2, value.h2p_1);
|
|
2237
|
+
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.i2p_1 == null)) {
|
|
2238
|
+
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.i2p_1);
|
|
2239
|
+
}
|
|
2240
|
+
tmp1_output.z1l(tmp0_desc);
|
|
2241
|
+
};
|
|
2242
|
+
$serializer_4.prototype.r1i = function (encoder, value) {
|
|
2243
|
+
return this.m2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2244
|
+
};
|
|
2245
|
+
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2246
|
+
var $serializer_instance_4;
|
|
2247
|
+
function $serializer_getInstance_4() {
|
|
2248
|
+
if ($serializer_instance_4 == null)
|
|
2249
|
+
new $serializer_4();
|
|
2250
|
+
return $serializer_instance_4;
|
|
2251
|
+
}
|
|
2252
|
+
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2253
|
+
if (!(7 === (7 & seen1))) {
|
|
2254
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().l2p_1);
|
|
2255
|
+
}
|
|
2256
|
+
$this.f2p_1 = startFromTime;
|
|
2257
|
+
$this.g2p_1 = state;
|
|
2258
|
+
$this.h2p_1 = ready;
|
|
2259
|
+
if (0 === (seen1 & 8))
|
|
2260
|
+
$this.i2p_1 = null;
|
|
2261
|
+
else
|
|
2262
|
+
$this.i2p_1 = tag;
|
|
2263
|
+
return $this;
|
|
2264
|
+
}
|
|
2265
|
+
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
2266
|
+
return PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, Object.create(PlayerStateDto.prototype));
|
|
2267
|
+
}
|
|
2268
|
+
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2269
|
+
Companion_getInstance_8();
|
|
2270
|
+
this.f2p_1 = startFromTime;
|
|
2271
|
+
this.g2p_1 = state;
|
|
2272
|
+
this.h2p_1 = ready;
|
|
2273
|
+
this.i2p_1 = tag;
|
|
2274
|
+
}
|
|
2275
|
+
PlayerStateDto.prototype.toString = function () {
|
|
2276
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.f2p_1) + ', state=' + this.g2p_1 + ', ready=' + this.h2p_1 + ', tag=' + this.i2p_1 + ')';
|
|
2277
|
+
};
|
|
2278
|
+
PlayerStateDto.prototype.hashCode = function () {
|
|
2279
|
+
var result = this.f2p_1.hashCode();
|
|
2280
|
+
result = imul(result, 31) + this.g2p_1.hashCode() | 0;
|
|
2281
|
+
result = imul(result, 31) + (this.h2p_1 | 0) | 0;
|
|
2282
|
+
result = imul(result, 31) + (this.i2p_1 == null ? 0 : getStringHashCode(this.i2p_1)) | 0;
|
|
2283
|
+
return result;
|
|
2284
|
+
};
|
|
2285
|
+
PlayerStateDto.prototype.equals = function (other) {
|
|
2286
|
+
if (this === other)
|
|
2287
|
+
return true;
|
|
2288
|
+
if (!(other instanceof PlayerStateDto))
|
|
2289
|
+
return false;
|
|
2290
|
+
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2291
|
+
if (!this.f2p_1.equals(tmp0_other_with_cast.f2p_1))
|
|
2292
|
+
return false;
|
|
2293
|
+
if (!this.g2p_1.equals(tmp0_other_with_cast.g2p_1))
|
|
2294
|
+
return false;
|
|
2295
|
+
if (!(this.h2p_1 === tmp0_other_with_cast.h2p_1))
|
|
2296
|
+
return false;
|
|
2297
|
+
if (!(this.i2p_1 == tmp0_other_with_cast.i2p_1))
|
|
2298
|
+
return false;
|
|
2299
|
+
return true;
|
|
2300
|
+
};
|
|
2301
|
+
PlayerStateDto.$metadata$ = classMeta('PlayerStateDto', undefined, undefined, {0: $serializer_getInstance_4});
|
|
2302
|
+
function Companion_9() {
|
|
2303
|
+
Companion_instance_9 = this;
|
|
2304
|
+
}
|
|
2305
|
+
Companion_9.$metadata$ = objectMeta('Companion');
|
|
2306
|
+
var Companion_instance_9;
|
|
2307
|
+
function Companion_getInstance_9() {
|
|
2308
|
+
if (Companion_instance_9 == null)
|
|
2309
|
+
new Companion_9();
|
|
2310
|
+
return Companion_instance_9;
|
|
2311
|
+
}
|
|
2312
|
+
function $serializer_5() {
|
|
2313
|
+
$serializer_instance_5 = this;
|
|
2314
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 16);
|
|
2315
|
+
tmp0_serialDesc.d1t('needToPutHigherTrump', false);
|
|
2316
|
+
tmp0_serialDesc.d1t('distributePoints', false);
|
|
2317
|
+
tmp0_serialDesc.d1t('protectBella', false);
|
|
2318
|
+
tmp0_serialDesc.d1t('enableFourSevensCombination', false);
|
|
2319
|
+
tmp0_serialDesc.d1t('enableTrumpSevenCombination', false);
|
|
2320
|
+
tmp0_serialDesc.d1t('enableTrumpSevenCombinationAfterDistribution', false);
|
|
2321
|
+
tmp0_serialDesc.d1t('playerWhoChooseSuitGoFirst', false);
|
|
2322
|
+
tmp0_serialDesc.d1t('winnerShuffleCards', false);
|
|
2323
|
+
tmp0_serialDesc.d1t('playWithoutLiabilities', false);
|
|
2324
|
+
tmp0_serialDesc.d1t('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
2325
|
+
tmp0_serialDesc.d1t('enableFineIfNoBribes', false);
|
|
2326
|
+
tmp0_serialDesc.d1t('fineIfNoBribes', false);
|
|
2327
|
+
tmp0_serialDesc.d1t('enableFineAfterThirdByte', false);
|
|
2328
|
+
tmp0_serialDesc.d1t('checkTrumpCombination', false);
|
|
2329
|
+
tmp0_serialDesc.d1t('checkOnlyTrumpDebertz', false);
|
|
2330
|
+
tmp0_serialDesc.d1t('tenCardsInHand', false);
|
|
2331
|
+
this.n2p_1 = tmp0_serialDesc;
|
|
2332
|
+
}
|
|
2333
|
+
$serializer_5.prototype.q1i = function () {
|
|
2334
|
+
return this.n2p_1;
|
|
2335
|
+
};
|
|
2336
|
+
$serializer_5.prototype.s1t = function () {
|
|
2337
|
+
var tmp$ret$2;
|
|
2338
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2339
|
+
var tmp0_arrayOf = [BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance()];
|
|
2340
|
+
var tmp$ret$1;
|
|
2341
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2342
|
+
var tmp$ret$0;
|
|
2343
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2344
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
2345
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2346
|
+
tmp$ret$2 = tmp$ret$1;
|
|
2347
|
+
return tmp$ret$2;
|
|
2348
|
+
};
|
|
2349
|
+
$serializer_5.prototype.s1i = function (decoder) {
|
|
2350
|
+
var tmp0_desc = this.n2p_1;
|
|
2351
|
+
var tmp1_flag = true;
|
|
2352
|
+
var tmp2_index = 0;
|
|
2353
|
+
var tmp3_bitMask0 = 0;
|
|
2354
|
+
var tmp4_local0 = false;
|
|
2355
|
+
var tmp5_local1 = false;
|
|
2356
|
+
var tmp6_local2 = false;
|
|
2357
|
+
var tmp7_local3 = false;
|
|
2358
|
+
var tmp8_local4 = false;
|
|
2359
|
+
var tmp9_local5 = false;
|
|
2360
|
+
var tmp10_local6 = false;
|
|
2361
|
+
var tmp11_local7 = false;
|
|
2362
|
+
var tmp12_local8 = false;
|
|
2363
|
+
var tmp13_local9 = false;
|
|
2364
|
+
var tmp14_local10 = false;
|
|
2365
|
+
var tmp15_local11 = 0;
|
|
2366
|
+
var tmp16_local12 = false;
|
|
2367
|
+
var tmp17_local13 = false;
|
|
2368
|
+
var tmp18_local14 = false;
|
|
2369
|
+
var tmp19_local15 = false;
|
|
2370
|
+
var tmp20_input = decoder.y1l(tmp0_desc);
|
|
2371
|
+
if (tmp20_input.n1m()) {
|
|
2372
|
+
tmp4_local0 = tmp20_input.a1m(tmp0_desc, 0);
|
|
2373
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2374
|
+
tmp5_local1 = tmp20_input.a1m(tmp0_desc, 1);
|
|
2375
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2376
|
+
tmp6_local2 = tmp20_input.a1m(tmp0_desc, 2);
|
|
2377
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2378
|
+
tmp7_local3 = tmp20_input.a1m(tmp0_desc, 3);
|
|
2379
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2380
|
+
tmp8_local4 = tmp20_input.a1m(tmp0_desc, 4);
|
|
2381
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2382
|
+
tmp9_local5 = tmp20_input.a1m(tmp0_desc, 5);
|
|
2383
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2384
|
+
tmp10_local6 = tmp20_input.a1m(tmp0_desc, 6);
|
|
2385
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2386
|
+
tmp11_local7 = tmp20_input.a1m(tmp0_desc, 7);
|
|
2387
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2388
|
+
tmp12_local8 = tmp20_input.a1m(tmp0_desc, 8);
|
|
2389
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2390
|
+
tmp13_local9 = tmp20_input.a1m(tmp0_desc, 9);
|
|
2391
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2392
|
+
tmp14_local10 = tmp20_input.a1m(tmp0_desc, 10);
|
|
2393
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2394
|
+
tmp15_local11 = tmp20_input.d1m(tmp0_desc, 11);
|
|
2395
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2396
|
+
tmp16_local12 = tmp20_input.a1m(tmp0_desc, 12);
|
|
2397
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2398
|
+
tmp17_local13 = tmp20_input.a1m(tmp0_desc, 13);
|
|
2399
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2400
|
+
tmp18_local14 = tmp20_input.a1m(tmp0_desc, 14);
|
|
2401
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2402
|
+
tmp19_local15 = tmp20_input.a1m(tmp0_desc, 15);
|
|
2403
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2404
|
+
} else
|
|
2405
|
+
while (tmp1_flag) {
|
|
2406
|
+
tmp2_index = tmp20_input.o1m(tmp0_desc);
|
|
2407
|
+
switch (tmp2_index) {
|
|
2408
|
+
case -1:
|
|
2409
|
+
tmp1_flag = false;
|
|
2410
|
+
break;
|
|
2411
|
+
case 0:
|
|
2412
|
+
tmp4_local0 = tmp20_input.a1m(tmp0_desc, 0);
|
|
2413
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2414
|
+
break;
|
|
2415
|
+
case 1:
|
|
2416
|
+
tmp5_local1 = tmp20_input.a1m(tmp0_desc, 1);
|
|
2417
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2418
|
+
break;
|
|
2419
|
+
case 2:
|
|
2420
|
+
tmp6_local2 = tmp20_input.a1m(tmp0_desc, 2);
|
|
2421
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2422
|
+
break;
|
|
2423
|
+
case 3:
|
|
2424
|
+
tmp7_local3 = tmp20_input.a1m(tmp0_desc, 3);
|
|
2425
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2426
|
+
break;
|
|
2427
|
+
case 4:
|
|
2428
|
+
tmp8_local4 = tmp20_input.a1m(tmp0_desc, 4);
|
|
2429
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2430
|
+
break;
|
|
2431
|
+
case 5:
|
|
2432
|
+
tmp9_local5 = tmp20_input.a1m(tmp0_desc, 5);
|
|
2433
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2434
|
+
break;
|
|
2435
|
+
case 6:
|
|
2436
|
+
tmp10_local6 = tmp20_input.a1m(tmp0_desc, 6);
|
|
2437
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2438
|
+
break;
|
|
2439
|
+
case 7:
|
|
2440
|
+
tmp11_local7 = tmp20_input.a1m(tmp0_desc, 7);
|
|
2441
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2442
|
+
break;
|
|
2443
|
+
case 8:
|
|
2444
|
+
tmp12_local8 = tmp20_input.a1m(tmp0_desc, 8);
|
|
2445
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2446
|
+
break;
|
|
2447
|
+
case 9:
|
|
2448
|
+
tmp13_local9 = tmp20_input.a1m(tmp0_desc, 9);
|
|
2449
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2450
|
+
break;
|
|
2451
|
+
case 10:
|
|
2452
|
+
tmp14_local10 = tmp20_input.a1m(tmp0_desc, 10);
|
|
2453
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2454
|
+
break;
|
|
2455
|
+
case 11:
|
|
2456
|
+
tmp15_local11 = tmp20_input.d1m(tmp0_desc, 11);
|
|
2457
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2458
|
+
break;
|
|
2459
|
+
case 12:
|
|
2460
|
+
tmp16_local12 = tmp20_input.a1m(tmp0_desc, 12);
|
|
2461
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2462
|
+
break;
|
|
2463
|
+
case 13:
|
|
2464
|
+
tmp17_local13 = tmp20_input.a1m(tmp0_desc, 13);
|
|
2465
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2466
|
+
break;
|
|
2467
|
+
case 14:
|
|
2468
|
+
tmp18_local14 = tmp20_input.a1m(tmp0_desc, 14);
|
|
2469
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2470
|
+
break;
|
|
2471
|
+
case 15:
|
|
2472
|
+
tmp19_local15 = tmp20_input.a1m(tmp0_desc, 15);
|
|
2473
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2474
|
+
break;
|
|
2475
|
+
default:
|
|
2476
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
tmp20_input.z1l(tmp0_desc);
|
|
2480
|
+
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, null);
|
|
2481
|
+
};
|
|
2482
|
+
$serializer_5.prototype.o2p = function (encoder, value) {
|
|
2483
|
+
var tmp0_desc = this.n2p_1;
|
|
2484
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2485
|
+
tmp1_output.e1n(tmp0_desc, 0, value.m2o_1);
|
|
2486
|
+
tmp1_output.e1n(tmp0_desc, 1, value.n2o_1);
|
|
2487
|
+
tmp1_output.e1n(tmp0_desc, 2, value.o2o_1);
|
|
2488
|
+
tmp1_output.e1n(tmp0_desc, 3, value.p2o_1);
|
|
2489
|
+
tmp1_output.e1n(tmp0_desc, 4, value.q2o_1);
|
|
2490
|
+
tmp1_output.e1n(tmp0_desc, 5, value.r2o_1);
|
|
2491
|
+
tmp1_output.e1n(tmp0_desc, 6, value.s2o_1);
|
|
2492
|
+
tmp1_output.e1n(tmp0_desc, 7, value.t2o_1);
|
|
2493
|
+
tmp1_output.e1n(tmp0_desc, 8, value.u2o_1);
|
|
2494
|
+
tmp1_output.e1n(tmp0_desc, 9, value.v2o_1);
|
|
2495
|
+
tmp1_output.e1n(tmp0_desc, 10, value.w2o_1);
|
|
2496
|
+
tmp1_output.h1n(tmp0_desc, 11, value.x2o_1);
|
|
2497
|
+
tmp1_output.e1n(tmp0_desc, 12, value.y2o_1);
|
|
2498
|
+
tmp1_output.e1n(tmp0_desc, 13, value.z2o_1);
|
|
2499
|
+
tmp1_output.e1n(tmp0_desc, 14, value.a2p_1);
|
|
2500
|
+
tmp1_output.e1n(tmp0_desc, 15, value.b2p_1);
|
|
2501
|
+
tmp1_output.z1l(tmp0_desc);
|
|
2502
|
+
};
|
|
2503
|
+
$serializer_5.prototype.r1i = function (encoder, value) {
|
|
2504
|
+
return this.o2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2505
|
+
};
|
|
2506
|
+
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2507
|
+
var $serializer_instance_5;
|
|
2508
|
+
function $serializer_getInstance_5() {
|
|
2509
|
+
if ($serializer_instance_5 == null)
|
|
2510
|
+
new $serializer_5();
|
|
2511
|
+
return $serializer_instance_5;
|
|
2512
|
+
}
|
|
2513
|
+
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2514
|
+
if (!(65535 === (65535 & seen1))) {
|
|
2515
|
+
throwMissingFieldException(seen1, 65535, $serializer_getInstance_5().n2p_1);
|
|
2516
|
+
}
|
|
2517
|
+
$this.m2o_1 = needToPutHigherTrump;
|
|
2518
|
+
$this.n2o_1 = distributePoints;
|
|
2519
|
+
$this.o2o_1 = protectBella;
|
|
2520
|
+
$this.p2o_1 = enableFourSevensCombination;
|
|
2521
|
+
$this.q2o_1 = enableTrumpSevenCombination;
|
|
2522
|
+
$this.r2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2523
|
+
$this.s2o_1 = playerWhoChooseSuitGoFirst;
|
|
2524
|
+
$this.t2o_1 = winnerShuffleCards;
|
|
2525
|
+
$this.u2o_1 = playWithoutLiabilities;
|
|
2526
|
+
$this.v2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2527
|
+
$this.w2o_1 = enableFineIfNoBribes;
|
|
2528
|
+
$this.x2o_1 = fineIfNoBribes;
|
|
2529
|
+
$this.y2o_1 = enableFineAfterThirdByte;
|
|
2530
|
+
$this.z2o_1 = checkTrumpCombination;
|
|
2531
|
+
$this.a2p_1 = checkOnlyTrumpDebertz;
|
|
2532
|
+
$this.b2p_1 = tenCardsInHand;
|
|
2533
|
+
return $this;
|
|
2534
|
+
}
|
|
2535
|
+
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
2536
|
+
return RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, Object.create(RulesDto.prototype));
|
|
2537
|
+
}
|
|
2538
|
+
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2539
|
+
Companion_getInstance_9();
|
|
2540
|
+
this.m2o_1 = needToPutHigherTrump;
|
|
2541
|
+
this.n2o_1 = distributePoints;
|
|
2542
|
+
this.o2o_1 = protectBella;
|
|
2543
|
+
this.p2o_1 = enableFourSevensCombination;
|
|
2544
|
+
this.q2o_1 = enableTrumpSevenCombination;
|
|
2545
|
+
this.r2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2546
|
+
this.s2o_1 = playerWhoChooseSuitGoFirst;
|
|
2547
|
+
this.t2o_1 = winnerShuffleCards;
|
|
2548
|
+
this.u2o_1 = playWithoutLiabilities;
|
|
2549
|
+
this.v2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2550
|
+
this.w2o_1 = enableFineIfNoBribes;
|
|
2551
|
+
this.x2o_1 = fineIfNoBribes;
|
|
2552
|
+
this.y2o_1 = enableFineAfterThirdByte;
|
|
2553
|
+
this.z2o_1 = checkTrumpCombination;
|
|
2554
|
+
this.a2p_1 = checkOnlyTrumpDebertz;
|
|
2555
|
+
this.b2p_1 = tenCardsInHand;
|
|
2556
|
+
}
|
|
2557
|
+
RulesDto.prototype.toString = function () {
|
|
2558
|
+
return 'RulesDto(needToPutHigherTrump=' + this.m2o_1 + ', distributePoints=' + this.n2o_1 + ', protectBella=' + this.o2o_1 + ', enableFourSevensCombination=' + this.p2o_1 + ', enableTrumpSevenCombination=' + this.q2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.r2o_1 + ', playerWhoChooseSuitGoFirst=' + this.s2o_1 + ', winnerShuffleCards=' + this.t2o_1 + ', playWithoutLiabilities=' + this.u2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.v2o_1 + ', enableFineIfNoBribes=' + this.w2o_1 + ', fineIfNoBribes=' + this.x2o_1 + ', enableFineAfterThirdByte=' + this.y2o_1 + ', checkTrumpCombination=' + this.z2o_1 + ', checkOnlyTrumpDebertz=' + this.a2p_1 + ', tenCardsInHand=' + this.b2p_1 + ')';
|
|
2559
|
+
};
|
|
2560
|
+
RulesDto.prototype.hashCode = function () {
|
|
2561
|
+
var result = this.m2o_1 | 0;
|
|
2562
|
+
result = imul(result, 31) + (this.n2o_1 | 0) | 0;
|
|
2563
|
+
result = imul(result, 31) + (this.o2o_1 | 0) | 0;
|
|
2564
|
+
result = imul(result, 31) + (this.p2o_1 | 0) | 0;
|
|
2565
|
+
result = imul(result, 31) + (this.q2o_1 | 0) | 0;
|
|
2566
|
+
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2567
|
+
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2568
|
+
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
2569
|
+
result = imul(result, 31) + (this.u2o_1 | 0) | 0;
|
|
2570
|
+
result = imul(result, 31) + (this.v2o_1 | 0) | 0;
|
|
2571
|
+
result = imul(result, 31) + (this.w2o_1 | 0) | 0;
|
|
2572
|
+
result = imul(result, 31) + this.x2o_1 | 0;
|
|
2573
|
+
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2574
|
+
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2575
|
+
result = imul(result, 31) + (this.a2p_1 | 0) | 0;
|
|
2576
|
+
result = imul(result, 31) + (this.b2p_1 | 0) | 0;
|
|
2577
|
+
return result;
|
|
2578
|
+
};
|
|
2579
|
+
RulesDto.prototype.equals = function (other) {
|
|
2580
|
+
if (this === other)
|
|
2581
|
+
return true;
|
|
2582
|
+
if (!(other instanceof RulesDto))
|
|
2583
|
+
return false;
|
|
2584
|
+
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2585
|
+
if (!(this.m2o_1 === tmp0_other_with_cast.m2o_1))
|
|
2586
|
+
return false;
|
|
2587
|
+
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
2588
|
+
return false;
|
|
2589
|
+
if (!(this.o2o_1 === tmp0_other_with_cast.o2o_1))
|
|
2590
|
+
return false;
|
|
2591
|
+
if (!(this.p2o_1 === tmp0_other_with_cast.p2o_1))
|
|
2592
|
+
return false;
|
|
2593
|
+
if (!(this.q2o_1 === tmp0_other_with_cast.q2o_1))
|
|
2594
|
+
return false;
|
|
2595
|
+
if (!(this.r2o_1 === tmp0_other_with_cast.r2o_1))
|
|
2596
|
+
return false;
|
|
2597
|
+
if (!(this.s2o_1 === tmp0_other_with_cast.s2o_1))
|
|
2598
|
+
return false;
|
|
2599
|
+
if (!(this.t2o_1 === tmp0_other_with_cast.t2o_1))
|
|
2600
|
+
return false;
|
|
2601
|
+
if (!(this.u2o_1 === tmp0_other_with_cast.u2o_1))
|
|
2602
|
+
return false;
|
|
2603
|
+
if (!(this.v2o_1 === tmp0_other_with_cast.v2o_1))
|
|
2604
|
+
return false;
|
|
2605
|
+
if (!(this.w2o_1 === tmp0_other_with_cast.w2o_1))
|
|
2606
|
+
return false;
|
|
2607
|
+
if (!(this.x2o_1 === tmp0_other_with_cast.x2o_1))
|
|
2608
|
+
return false;
|
|
2609
|
+
if (!(this.y2o_1 === tmp0_other_with_cast.y2o_1))
|
|
2610
|
+
return false;
|
|
2611
|
+
if (!(this.z2o_1 === tmp0_other_with_cast.z2o_1))
|
|
2612
|
+
return false;
|
|
2613
|
+
if (!(this.a2p_1 === tmp0_other_with_cast.a2p_1))
|
|
2614
|
+
return false;
|
|
2615
|
+
if (!(this.b2p_1 === tmp0_other_with_cast.b2p_1))
|
|
2616
|
+
return false;
|
|
2617
|
+
return true;
|
|
2618
|
+
};
|
|
2619
|
+
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_5});
|
|
1622
2620
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
2621
|
+
this.p2p_1 = trump;
|
|
2622
|
+
this.q2p_1 = firstCardSuit;
|
|
1625
2623
|
}
|
|
1626
|
-
CardGrowthComparator.prototype.
|
|
1627
|
-
return getGrowth(b, this.
|
|
2624
|
+
CardGrowthComparator.prototype.r2p = function (a, b) {
|
|
2625
|
+
return getGrowth(b, this.p2p_1, this.q2p_1) - getGrowth(a, this.p2p_1, this.q2p_1) | 0;
|
|
1628
2626
|
};
|
|
1629
2627
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
1630
2628
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
1631
|
-
return this.
|
|
2629
|
+
return this.r2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
1632
2630
|
};
|
|
1633
2631
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
1634
2632
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -1652,12 +2650,12 @@
|
|
|
1652
2650
|
function CardIndexComparator() {
|
|
1653
2651
|
CardIndexComparator_instance = this;
|
|
1654
2652
|
}
|
|
1655
|
-
CardIndexComparator.prototype.
|
|
1656
|
-
return a.
|
|
2653
|
+
CardIndexComparator.prototype.r2p = function (a, b) {
|
|
2654
|
+
return a.j2o_1 - b.j2o_1 | 0;
|
|
1657
2655
|
};
|
|
1658
2656
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
1659
2657
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
1660
|
-
return this.
|
|
2658
|
+
return this.r2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
1661
2659
|
};
|
|
1662
2660
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
1663
2661
|
var CardIndexComparator_instance;
|
|
@@ -1687,12 +2685,12 @@
|
|
|
1687
2685
|
function CardNumberComparator() {
|
|
1688
2686
|
CardNumberComparator_instance = this;
|
|
1689
2687
|
}
|
|
1690
|
-
CardNumberComparator.prototype.
|
|
1691
|
-
return b.
|
|
2688
|
+
CardNumberComparator.prototype.r2p = function (a, b) {
|
|
2689
|
+
return b.s2p() - a.s2p() | 0;
|
|
1692
2690
|
};
|
|
1693
2691
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
1694
2692
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
1695
|
-
return this.
|
|
2693
|
+
return this.r2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
1696
2694
|
};
|
|
1697
2695
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
1698
2696
|
var CardNumberComparator_instance;
|
|
@@ -1702,9 +2700,9 @@
|
|
|
1702
2700
|
return CardNumberComparator_instance;
|
|
1703
2701
|
}
|
|
1704
2702
|
function getPoint(_this__u8e3s4, trump) {
|
|
1705
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
1706
|
-
var tmp0_subject = _this__u8e3s4.
|
|
1707
|
-
var tmp0 = tmp0_subject.
|
|
2703
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.t2p());
|
|
2704
|
+
var tmp0_subject = _this__u8e3s4.f5();
|
|
2705
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
1708
2706
|
var tmp;
|
|
1709
2707
|
switch (tmp0) {
|
|
1710
2708
|
case 7:
|
|
@@ -1730,18 +2728,18 @@
|
|
|
1730
2728
|
tmp = 11;
|
|
1731
2729
|
break;
|
|
1732
2730
|
default:
|
|
1733
|
-
throw IllegalStateException_init_$Create$('Invalid card name ' + _this__u8e3s4.
|
|
2731
|
+
throw IllegalStateException_init_$Create$('Invalid card name ' + _this__u8e3s4.f5());
|
|
1734
2732
|
}
|
|
1735
2733
|
return tmp;
|
|
1736
2734
|
}
|
|
1737
2735
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
1738
2736
|
var minPoint = 0;
|
|
1739
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
1740
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2737
|
+
var isTrump = trump.equals(_this__u8e3s4.t2p());
|
|
2738
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.t2p());
|
|
1741
2739
|
var minGrowth;
|
|
1742
2740
|
var maxGrowth;
|
|
1743
|
-
var tmp0_subject = _this__u8e3s4.
|
|
1744
|
-
var tmp0 = tmp0_subject.
|
|
2741
|
+
var tmp0_subject = _this__u8e3s4.f5();
|
|
2742
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
1745
2743
|
switch (tmp0) {
|
|
1746
2744
|
case 7:
|
|
1747
2745
|
minGrowth = 0;
|
|
@@ -1811,7 +2809,7 @@
|
|
|
1811
2809
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1812
2810
|
var tmp$ret$0;
|
|
1813
2811
|
// Inline function 'com.logic.data.models.table.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
|
|
1814
|
-
tmp$ret$0 = p1.
|
|
2812
|
+
tmp$ret$0 = p1.f5().equals(element);
|
|
1815
2813
|
if (tmp$ret$0) {
|
|
1816
2814
|
tmp$ret$1 = true;
|
|
1817
2815
|
break $l$block;
|
|
@@ -1835,7 +2833,7 @@
|
|
|
1835
2833
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1836
2834
|
var tmp$ret$0;
|
|
1837
2835
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
1838
|
-
tmp$ret$0 = p1.
|
|
2836
|
+
tmp$ret$0 = p1.t2p().equals(element);
|
|
1839
2837
|
if (tmp$ret$0) {
|
|
1840
2838
|
tmp$ret$1 = true;
|
|
1841
2839
|
break $l$block;
|
|
@@ -1880,25 +2878,44 @@
|
|
|
1880
2878
|
CardName_TWO_instance = new CardName('TWO', 12);
|
|
1881
2879
|
CardName_STUB_instance = new CardName('STUB', 13);
|
|
1882
2880
|
}
|
|
1883
|
-
function
|
|
1884
|
-
|
|
2881
|
+
function Companion_10() {
|
|
2882
|
+
Companion_instance_10 = this;
|
|
1885
2883
|
}
|
|
1886
|
-
|
|
1887
|
-
return new GameCard(getNumber(
|
|
2884
|
+
Companion_10.prototype.u2p = function (suit, cardNumber) {
|
|
2885
|
+
return new GameCard(getNumber(Companion_getInstance_11(), cardNumber, suit));
|
|
1888
2886
|
};
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
2887
|
+
Companion_10.prototype.v2p = function (position, playerIndex, reverse) {
|
|
2888
|
+
var tmp;
|
|
2889
|
+
if (reverse) {
|
|
2890
|
+
Companion_getInstance_11();
|
|
2891
|
+
Companion_getInstance_11();
|
|
2892
|
+
tmp = (53 + imul(playerIndex, 13 + 1 | 0) | 0) - position | 0;
|
|
2893
|
+
} else {
|
|
2894
|
+
Companion_getInstance_11();
|
|
2895
|
+
Companion_getInstance_11();
|
|
2896
|
+
tmp = (53 + imul(playerIndex, 13) | 0) + position | 0;
|
|
2897
|
+
}
|
|
2898
|
+
var index = tmp;
|
|
2899
|
+
return new GameCard(index);
|
|
2900
|
+
};
|
|
2901
|
+
Companion_10.prototype.w2p = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
2902
|
+
if (!(($mask0 & 4) === 0))
|
|
2903
|
+
reverse = false;
|
|
2904
|
+
return this.v2p(position, playerIndex, reverse);
|
|
2905
|
+
};
|
|
2906
|
+
Companion_10.$metadata$ = objectMeta('Companion');
|
|
2907
|
+
var Companion_instance_10;
|
|
2908
|
+
function Companion_getInstance_10() {
|
|
2909
|
+
if (Companion_instance_10 == null)
|
|
2910
|
+
new Companion_10();
|
|
2911
|
+
return Companion_instance_10;
|
|
1895
2912
|
}
|
|
1896
2913
|
function getNumber($this, cardNumber, suit) {
|
|
1897
2914
|
return imul(getIndex(suit), 13) + getCardNumber($this, cardNumber) | 0;
|
|
1898
2915
|
}
|
|
1899
2916
|
function getCardNumber($this, number) {
|
|
1900
2917
|
var tmp0_subject = number;
|
|
1901
|
-
var tmp0 = tmp0_subject.
|
|
2918
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
1902
2919
|
var tmp;
|
|
1903
2920
|
switch (tmp0) {
|
|
1904
2921
|
case 12:
|
|
@@ -1994,27 +3011,27 @@
|
|
|
1994
3011
|
return tmp;
|
|
1995
3012
|
}
|
|
1996
3013
|
function _get_isShirt__vd98rp($this) {
|
|
1997
|
-
var tmp = $this.
|
|
1998
|
-
|
|
3014
|
+
var tmp = $this.j2o_1;
|
|
3015
|
+
Companion_getInstance_11();
|
|
1999
3016
|
return tmp === 52;
|
|
2000
3017
|
}
|
|
2001
3018
|
function CardName(name, ordinal) {
|
|
2002
3019
|
Enum.call(this, name, ordinal);
|
|
2003
3020
|
}
|
|
2004
3021
|
CardName.$metadata$ = classMeta('CardName', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
2005
|
-
function
|
|
2006
|
-
|
|
2007
|
-
this.
|
|
2008
|
-
this.
|
|
2009
|
-
this.
|
|
2010
|
-
this.
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
var
|
|
2014
|
-
function
|
|
2015
|
-
if (
|
|
2016
|
-
new
|
|
2017
|
-
return
|
|
3022
|
+
function Companion_11() {
|
|
3023
|
+
Companion_instance_11 = this;
|
|
3024
|
+
this.x2p_1 = -1;
|
|
3025
|
+
this.y2p_1 = 13;
|
|
3026
|
+
this.z2p_1 = 52;
|
|
3027
|
+
this.a2q_1 = 53;
|
|
3028
|
+
}
|
|
3029
|
+
Companion_11.$metadata$ = objectMeta('Companion');
|
|
3030
|
+
var Companion_instance_11;
|
|
3031
|
+
function Companion_getInstance_11() {
|
|
3032
|
+
if (Companion_instance_11 == null)
|
|
3033
|
+
new Companion_11();
|
|
3034
|
+
return Companion_instance_11;
|
|
2018
3035
|
}
|
|
2019
3036
|
function CardName_ACE_getInstance() {
|
|
2020
3037
|
CardName_initEntries();
|
|
@@ -2073,73 +3090,73 @@
|
|
|
2073
3090
|
return CardName_STUB_instance;
|
|
2074
3091
|
}
|
|
2075
3092
|
function GameCard(index) {
|
|
2076
|
-
|
|
2077
|
-
this.
|
|
3093
|
+
Companion_getInstance_11();
|
|
3094
|
+
this.j2o_1 = index;
|
|
2078
3095
|
}
|
|
2079
|
-
GameCard.prototype.
|
|
2080
|
-
return this.
|
|
3096
|
+
GameCard.prototype.b3 = function () {
|
|
3097
|
+
return this.j2o_1;
|
|
2081
3098
|
};
|
|
2082
|
-
GameCard.prototype.
|
|
3099
|
+
GameCard.prototype.t2p = function () {
|
|
2083
3100
|
var tmp;
|
|
2084
|
-
|
|
3101
|
+
Companion_getInstance_11();
|
|
2085
3102
|
var containsUpper = 13;
|
|
2086
|
-
var containsArg = this.
|
|
3103
|
+
var containsArg = this.j2o_1;
|
|
2087
3104
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
2088
3105
|
tmp = Suit_DIAMOND_getInstance();
|
|
2089
3106
|
} else {
|
|
2090
|
-
var tmp_0 = this.
|
|
2091
|
-
|
|
3107
|
+
var tmp_0 = this.j2o_1;
|
|
3108
|
+
Companion_getInstance_11();
|
|
2092
3109
|
if (tmp_0 <= imul(13, 2)) {
|
|
2093
3110
|
tmp = Suit_SPADE_getInstance();
|
|
2094
3111
|
} else {
|
|
2095
|
-
var tmp_1 = this.
|
|
2096
|
-
|
|
3112
|
+
var tmp_1 = this.j2o_1;
|
|
3113
|
+
Companion_getInstance_11();
|
|
2097
3114
|
if (tmp_1 <= imul(13, 3)) {
|
|
2098
3115
|
tmp = Suit_HEART_getInstance();
|
|
2099
3116
|
} else {
|
|
2100
|
-
var tmp_2 = this.
|
|
2101
|
-
|
|
3117
|
+
var tmp_2 = this.j2o_1;
|
|
3118
|
+
Companion_getInstance_11();
|
|
2102
3119
|
if (tmp_2 <= imul(13, 4)) {
|
|
2103
3120
|
tmp = Suit_CLUB_getInstance();
|
|
2104
3121
|
} else {
|
|
2105
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3122
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.j2o_1);
|
|
2106
3123
|
}
|
|
2107
3124
|
}
|
|
2108
3125
|
}
|
|
2109
3126
|
}
|
|
2110
3127
|
return tmp;
|
|
2111
3128
|
};
|
|
2112
|
-
GameCard.prototype.
|
|
3129
|
+
GameCard.prototype.s2p = function () {
|
|
2113
3130
|
var tmp;
|
|
2114
|
-
if (this.
|
|
2115
|
-
|
|
3131
|
+
if (this.b2q()) {
|
|
3132
|
+
Companion_getInstance_11();
|
|
2116
3133
|
tmp = -1;
|
|
2117
3134
|
} else {
|
|
2118
|
-
var tmp_0 = this.
|
|
2119
|
-
|
|
2120
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3135
|
+
var tmp_0 = this.j2o_1;
|
|
3136
|
+
Companion_getInstance_11();
|
|
3137
|
+
tmp = tmp_0 - imul(13, getIndex(this.t2p())) | 0;
|
|
2121
3138
|
}
|
|
2122
3139
|
return tmp;
|
|
2123
3140
|
};
|
|
2124
|
-
GameCard.prototype.
|
|
2125
|
-
return this.
|
|
3141
|
+
GameCard.prototype.f5 = function () {
|
|
3142
|
+
return this.b2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_11(), this.s2p());
|
|
2126
3143
|
};
|
|
2127
|
-
GameCard.prototype.
|
|
2128
|
-
var tmp = this.
|
|
2129
|
-
|
|
3144
|
+
GameCard.prototype.b2q = function () {
|
|
3145
|
+
var tmp = this.j2o_1;
|
|
3146
|
+
Companion_getInstance_11();
|
|
2130
3147
|
return tmp >= 53;
|
|
2131
3148
|
};
|
|
2132
3149
|
GameCard.prototype.toString = function () {
|
|
2133
3150
|
if (_get_isShirt__vd98rp(this)) {
|
|
2134
3151
|
return 'GameCard(SHIRT)';
|
|
2135
3152
|
}
|
|
2136
|
-
if (this.
|
|
2137
|
-
return 'GameCard(STUB, ' + this.
|
|
3153
|
+
if (this.b2q()) {
|
|
3154
|
+
return 'GameCard(STUB, ' + this.j2o_1 + ')';
|
|
2138
3155
|
}
|
|
2139
|
-
return 'GameCard(' + this.
|
|
3156
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.t2p() + ', index=' + this.j2o_1 + ')';
|
|
2140
3157
|
};
|
|
2141
3158
|
GameCard.prototype.hashCode = function () {
|
|
2142
|
-
return this.
|
|
3159
|
+
return this.j2o_1;
|
|
2143
3160
|
};
|
|
2144
3161
|
GameCard.prototype.equals = function (other) {
|
|
2145
3162
|
if (this === other)
|
|
@@ -2147,24 +3164,24 @@
|
|
|
2147
3164
|
if (!(other instanceof GameCard))
|
|
2148
3165
|
return false;
|
|
2149
3166
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
2150
|
-
if (!(this.
|
|
3167
|
+
if (!(this.j2o_1 === tmp0_other_with_cast.j2o_1))
|
|
2151
3168
|
return false;
|
|
2152
3169
|
return true;
|
|
2153
3170
|
};
|
|
2154
3171
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
2155
3172
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
2156
|
-
this.
|
|
2157
|
-
this.
|
|
3173
|
+
this.k2o_1 = playerId;
|
|
3174
|
+
this.l2o_1 = gameCard;
|
|
2158
3175
|
}
|
|
2159
|
-
GameCardWIthPlayerId.prototype.
|
|
2160
|
-
return this.
|
|
3176
|
+
GameCardWIthPlayerId.prototype.e2l = function () {
|
|
3177
|
+
return this.k2o_1;
|
|
2161
3178
|
};
|
|
2162
3179
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
2163
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3180
|
+
return 'GameCardWIthPlayerId(playerId=' + this.k2o_1 + ', gameCard=' + this.l2o_1 + ')';
|
|
2164
3181
|
};
|
|
2165
3182
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
2166
|
-
var result = getStringHashCode(this.
|
|
2167
|
-
result = imul(result, 31) + this.
|
|
3183
|
+
var result = getStringHashCode(this.k2o_1);
|
|
3184
|
+
result = imul(result, 31) + this.l2o_1.hashCode() | 0;
|
|
2168
3185
|
return result;
|
|
2169
3186
|
};
|
|
2170
3187
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -2173,9 +3190,9 @@
|
|
|
2173
3190
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
2174
3191
|
return false;
|
|
2175
3192
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
2176
|
-
if (!(this.
|
|
3193
|
+
if (!(this.k2o_1 === tmp0_other_with_cast.k2o_1))
|
|
2177
3194
|
return false;
|
|
2178
|
-
if (!this.
|
|
3195
|
+
if (!this.l2o_1.equals(tmp0_other_with_cast.l2o_1))
|
|
2179
3196
|
return false;
|
|
2180
3197
|
return true;
|
|
2181
3198
|
};
|
|
@@ -2183,22 +3200,22 @@
|
|
|
2183
3200
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
2184
3201
|
configurable: true,
|
|
2185
3202
|
get: function () {
|
|
2186
|
-
return this.
|
|
3203
|
+
return this.e2l();
|
|
2187
3204
|
}
|
|
2188
3205
|
});
|
|
2189
3206
|
function ProcessingCard(gameCard, payload) {
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
3207
|
+
this.c2q_1 = gameCard;
|
|
3208
|
+
this.d2q_1 = payload;
|
|
2192
3209
|
}
|
|
2193
|
-
ProcessingCard.prototype.
|
|
2194
|
-
return this.
|
|
3210
|
+
ProcessingCard.prototype.e2q = function () {
|
|
3211
|
+
return this.c2q_1;
|
|
2195
3212
|
};
|
|
2196
3213
|
ProcessingCard.prototype.toString = function () {
|
|
2197
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3214
|
+
return 'ProcessingCard(gameCard=' + this.c2q_1 + ', payload=' + this.d2q_1 + ')';
|
|
2198
3215
|
};
|
|
2199
3216
|
ProcessingCard.prototype.hashCode = function () {
|
|
2200
|
-
var result = this.
|
|
2201
|
-
result = imul(result, 31) + (this.
|
|
3217
|
+
var result = this.c2q_1.hashCode();
|
|
3218
|
+
result = imul(result, 31) + (this.d2q_1 == null ? 0 : hashCode(this.d2q_1)) | 0;
|
|
2202
3219
|
return result;
|
|
2203
3220
|
};
|
|
2204
3221
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -2207,9 +3224,9 @@
|
|
|
2207
3224
|
if (!(other instanceof ProcessingCard))
|
|
2208
3225
|
return false;
|
|
2209
3226
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
2210
|
-
if (!this.
|
|
3227
|
+
if (!this.c2q_1.equals(tmp0_other_with_cast.c2q_1))
|
|
2211
3228
|
return false;
|
|
2212
|
-
if (!equals(this.
|
|
3229
|
+
if (!equals(this.d2q_1, tmp0_other_with_cast.d2q_1))
|
|
2213
3230
|
return false;
|
|
2214
3231
|
return true;
|
|
2215
3232
|
};
|
|
@@ -2218,7 +3235,7 @@
|
|
|
2218
3235
|
var Suit_SPADE_instance;
|
|
2219
3236
|
var Suit_HEART_instance;
|
|
2220
3237
|
var Suit_CLUB_instance;
|
|
2221
|
-
function
|
|
3238
|
+
function values_2() {
|
|
2222
3239
|
return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
|
|
2223
3240
|
}
|
|
2224
3241
|
var Suit_entriesInitialized;
|
|
@@ -2253,7 +3270,7 @@
|
|
|
2253
3270
|
}
|
|
2254
3271
|
function getIndex(_this__u8e3s4) {
|
|
2255
3272
|
var tmp0_subject = _this__u8e3s4;
|
|
2256
|
-
var tmp0 = tmp0_subject.
|
|
3273
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
2257
3274
|
var tmp;
|
|
2258
3275
|
switch (tmp0) {
|
|
2259
3276
|
case 0:
|
|
@@ -2275,36 +3292,36 @@
|
|
|
2275
3292
|
return tmp;
|
|
2276
3293
|
}
|
|
2277
3294
|
function _no_name_provided__qut3iv($logger) {
|
|
2278
|
-
this.
|
|
3295
|
+
this.g2q_1 = $logger;
|
|
2279
3296
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
2280
3297
|
}
|
|
2281
|
-
_no_name_provided__qut3iv.prototype.
|
|
2282
|
-
return this.
|
|
3298
|
+
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3299
|
+
return this.g2q_1.h2q('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
2283
3300
|
};
|
|
2284
3301
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
2285
3302
|
function AsyncProviderImpl(logger) {
|
|
2286
3303
|
var tmp = this;
|
|
2287
|
-
tmp.
|
|
3304
|
+
tmp.i2q_1 = Job$default(null, 1, null);
|
|
2288
3305
|
var tmp_0 = this;
|
|
2289
3306
|
var tmp$ret$0;
|
|
2290
3307
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
2291
3308
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
2292
|
-
tmp_0.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
3309
|
+
tmp_0.j2q_1 = tmp$ret$0;
|
|
3310
|
+
this.k2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.i2q_1));
|
|
3311
|
+
this.l2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.i2q_1));
|
|
2295
3312
|
}
|
|
2296
|
-
AsyncProviderImpl.prototype.
|
|
2297
|
-
return this.
|
|
3313
|
+
AsyncProviderImpl.prototype.m2q = function () {
|
|
3314
|
+
return this.j2q_1;
|
|
2298
3315
|
};
|
|
2299
|
-
AsyncProviderImpl.prototype.
|
|
2300
|
-
return launch$default(this.
|
|
3316
|
+
AsyncProviderImpl.prototype.n2q = function (context, block) {
|
|
3317
|
+
return launch$default(this.k2q_1, context, null, block, 2, null);
|
|
2301
3318
|
};
|
|
2302
|
-
AsyncProviderImpl.prototype.
|
|
2303
|
-
return launch$default(this.
|
|
3319
|
+
AsyncProviderImpl.prototype.p2q = function (context, block) {
|
|
3320
|
+
return launch$default(this.l2q_1, context, null, block, 2, null);
|
|
2304
3321
|
};
|
|
2305
|
-
AsyncProviderImpl.prototype.
|
|
2306
|
-
if (!this.
|
|
2307
|
-
this.
|
|
3322
|
+
AsyncProviderImpl.prototype.rn = function () {
|
|
3323
|
+
if (!this.i2q_1.xp()) {
|
|
3324
|
+
this.i2q_1.om(null, 1, null);
|
|
2308
3325
|
}
|
|
2309
3326
|
};
|
|
2310
3327
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
@@ -2366,7 +3383,7 @@
|
|
|
2366
3383
|
return createStore(reducer, preloadedState, enhancer);
|
|
2367
3384
|
}
|
|
2368
3385
|
function createStore$dispatch(currentState, currentReducer, action) {
|
|
2369
|
-
currentState.
|
|
3386
|
+
currentState.x11(currentReducer._v.r2q(currentState.c2(), action));
|
|
2370
3387
|
}
|
|
2371
3388
|
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
2372
3389
|
currentReducer._v = nextReducer;
|
|
@@ -2392,53 +3409,53 @@
|
|
|
2392
3409
|
return l;
|
|
2393
3410
|
}
|
|
2394
3411
|
function createStore$2($currentState, $currentReducer) {
|
|
2395
|
-
this.
|
|
3412
|
+
this.u2q_1 = $currentState;
|
|
2396
3413
|
var tmp = this;
|
|
2397
|
-
tmp.
|
|
3414
|
+
tmp.s2q_1 = createStore$dispatch$ref($currentState, $currentReducer);
|
|
2398
3415
|
var tmp_0 = this;
|
|
2399
|
-
tmp_0.
|
|
3416
|
+
tmp_0.t2q_1 = createStore$replaceReducer$ref($currentReducer, $currentState);
|
|
2400
3417
|
}
|
|
2401
|
-
createStore$2.prototype.
|
|
2402
|
-
this.
|
|
3418
|
+
createStore$2.prototype.v2q = function (_set____db54di) {
|
|
3419
|
+
this.s2q_1 = _set____db54di;
|
|
2403
3420
|
};
|
|
2404
|
-
createStore$2.prototype.
|
|
2405
|
-
return this.
|
|
3421
|
+
createStore$2.prototype.w2q = function () {
|
|
3422
|
+
return this.s2q_1;
|
|
2406
3423
|
};
|
|
2407
|
-
createStore$2.prototype.
|
|
2408
|
-
return this.
|
|
3424
|
+
createStore$2.prototype.x2q = function () {
|
|
3425
|
+
return this.u2q_1;
|
|
2409
3426
|
};
|
|
2410
|
-
createStore$2.prototype.
|
|
2411
|
-
return this.
|
|
3427
|
+
createStore$2.prototype.y2q = function () {
|
|
3428
|
+
return this.t2q_1;
|
|
2412
3429
|
};
|
|
2413
|
-
createStore$2.prototype.
|
|
2414
|
-
return this.
|
|
3430
|
+
createStore$2.prototype.am = function () {
|
|
3431
|
+
return this.u2q_1.c2();
|
|
2415
3432
|
};
|
|
2416
3433
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
2417
3434
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
2418
3435
|
configurable: true,
|
|
2419
3436
|
get: function () {
|
|
2420
|
-
return this.
|
|
3437
|
+
return this.w2q();
|
|
2421
3438
|
},
|
|
2422
3439
|
set: function (value) {
|
|
2423
|
-
this.
|
|
3440
|
+
this.v2q(value);
|
|
2424
3441
|
}
|
|
2425
3442
|
});
|
|
2426
3443
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
2427
3444
|
configurable: true,
|
|
2428
3445
|
get: function () {
|
|
2429
|
-
return this.
|
|
3446
|
+
return this.x2q();
|
|
2430
3447
|
}
|
|
2431
3448
|
});
|
|
2432
3449
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
2433
3450
|
configurable: true,
|
|
2434
3451
|
get: function () {
|
|
2435
|
-
return this.
|
|
3452
|
+
return this.y2q();
|
|
2436
3453
|
}
|
|
2437
3454
|
});
|
|
2438
3455
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
2439
3456
|
configurable: true,
|
|
2440
3457
|
get: function () {
|
|
2441
|
-
return this.
|
|
3458
|
+
return this.am();
|
|
2442
3459
|
}
|
|
2443
3460
|
});
|
|
2444
3461
|
function Action() {
|
|
@@ -2467,10 +3484,10 @@
|
|
|
2467
3484
|
return new middleware$1(dispatch);
|
|
2468
3485
|
}
|
|
2469
3486
|
function middleware$1($dispatch) {
|
|
2470
|
-
this.
|
|
3487
|
+
this.c2r_1 = $dispatch;
|
|
2471
3488
|
}
|
|
2472
|
-
middleware$1.prototype.
|
|
2473
|
-
this.
|
|
3489
|
+
middleware$1.prototype.b2r = function (store, next, action) {
|
|
3490
|
+
this.c2r_1(store, next, action);
|
|
2474
3491
|
};
|
|
2475
3492
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
2476
3493
|
function Reducer() {
|
|
@@ -2480,9 +3497,9 @@
|
|
|
2480
3497
|
return new combineReducers$1(reducers);
|
|
2481
3498
|
}
|
|
2482
3499
|
function combineReducers$1($reducers) {
|
|
2483
|
-
this.
|
|
3500
|
+
this.d2r_1 = $reducers;
|
|
2484
3501
|
}
|
|
2485
|
-
combineReducers$1.prototype.
|
|
3502
|
+
combineReducers$1.prototype.e2r = function (state, action) {
|
|
2486
3503
|
var tmp$ret$4;
|
|
2487
3504
|
// Inline function 'kotlin.collections.fold' call
|
|
2488
3505
|
var tmp$ret$2;
|
|
@@ -2490,7 +3507,7 @@
|
|
|
2490
3507
|
var tmp$ret$1;
|
|
2491
3508
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2492
3509
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
2493
|
-
var indexedObject = this.
|
|
3510
|
+
var indexedObject = this.d2r_1;
|
|
2494
3511
|
var inductionVariable = 0;
|
|
2495
3512
|
var last = indexedObject.length;
|
|
2496
3513
|
while (inductionVariable < last) {
|
|
@@ -2498,7 +3515,7 @@
|
|
|
2498
3515
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2499
3516
|
var tmp$ret$0;
|
|
2500
3517
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
2501
|
-
tmp$ret$0 = element.
|
|
3518
|
+
tmp$ret$0 = element.a2r(action);
|
|
2502
3519
|
if (tmp$ret$0) {
|
|
2503
3520
|
tmp0_filterTo.a(element);
|
|
2504
3521
|
}
|
|
@@ -2513,14 +3530,14 @@
|
|
|
2513
3530
|
var tmp$ret$3;
|
|
2514
3531
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
2515
3532
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
2516
|
-
tmp$ret$3 = element_0.
|
|
3533
|
+
tmp$ret$3 = element_0.r2q(tmp1__anonymous__uwfjfc, action);
|
|
2517
3534
|
accumulator = tmp$ret$3;
|
|
2518
3535
|
}
|
|
2519
3536
|
tmp$ret$4 = accumulator;
|
|
2520
3537
|
return tmp$ret$4;
|
|
2521
3538
|
};
|
|
2522
|
-
combineReducers$1.prototype.
|
|
2523
|
-
return this.
|
|
3539
|
+
combineReducers$1.prototype.r2q = function (state, action) {
|
|
3540
|
+
return this.e2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
2524
3541
|
};
|
|
2525
3542
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
2526
3543
|
function Store() {
|
|
@@ -2534,7 +3551,7 @@
|
|
|
2534
3551
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
2535
3552
|
configurable: true,
|
|
2536
3553
|
get: function () {
|
|
2537
|
-
return this.
|
|
3554
|
+
return this.z2q();
|
|
2538
3555
|
}
|
|
2539
3556
|
});
|
|
2540
3557
|
var INIT_instance;
|
|
@@ -2551,7 +3568,7 @@
|
|
|
2551
3568
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
2552
3569
|
configurable: true,
|
|
2553
3570
|
get: function () {
|
|
2554
|
-
return this.
|
|
3571
|
+
return this.z2q();
|
|
2555
3572
|
}
|
|
2556
3573
|
});
|
|
2557
3574
|
var REPLACE_instance;
|
|
@@ -2566,7 +3583,7 @@
|
|
|
2566
3583
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
2567
3584
|
configurable: true,
|
|
2568
3585
|
get: function () {
|
|
2569
|
-
return this.
|
|
3586
|
+
return this.z2q();
|
|
2570
3587
|
}
|
|
2571
3588
|
});
|
|
2572
3589
|
function BufferedAction() {
|
|
@@ -2589,7 +3606,7 @@
|
|
|
2589
3606
|
} catch ($p) {
|
|
2590
3607
|
var tmp_0;
|
|
2591
3608
|
if ($p instanceof Exception) {
|
|
2592
|
-
$logger.
|
|
3609
|
+
$logger.h2q('StoreEnhancer', 'StoreEnhancer error: ' + $p, $p);
|
|
2593
3610
|
tmp_0 = Unit_getInstance();
|
|
2594
3611
|
} else {
|
|
2595
3612
|
throw $p;
|
|
@@ -2617,7 +3634,7 @@
|
|
|
2617
3634
|
}
|
|
2618
3635
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
2619
3636
|
return function (action) {
|
|
2620
|
-
$tmp0__anonymous__1nv1x1.
|
|
3637
|
+
$tmp0__anonymous__1nv1x1.b2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
2621
3638
|
return Unit_getInstance();
|
|
2622
3639
|
};
|
|
2623
3640
|
}
|
|
@@ -2636,7 +3653,7 @@
|
|
|
2636
3653
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2637
3654
|
var tmp$ret$0;
|
|
2638
3655
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
2639
|
-
tmp$ret$0 = element.
|
|
3656
|
+
tmp$ret$0 = element.a2r(action);
|
|
2640
3657
|
if (tmp$ret$0) {
|
|
2641
3658
|
tmp0_filterTo.a(element);
|
|
2642
3659
|
}
|
|
@@ -2677,6 +3694,73 @@
|
|
|
2677
3694
|
return applyMiddleware$lambda$lambda(storeCreator, $middlewares);
|
|
2678
3695
|
};
|
|
2679
3696
|
}
|
|
3697
|
+
function enumToString(_this__u8e3s4, mapping) {
|
|
3698
|
+
var tmp$ret$2;
|
|
3699
|
+
// Inline function 'kotlin.collections.find' call
|
|
3700
|
+
var tmp0_find = mapping.a1();
|
|
3701
|
+
var tmp$ret$1;
|
|
3702
|
+
$l$block: {
|
|
3703
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3704
|
+
var tmp0_iterator = tmp0_find.f();
|
|
3705
|
+
while (tmp0_iterator.g()) {
|
|
3706
|
+
var element = tmp0_iterator.h();
|
|
3707
|
+
var tmp$ret$0;
|
|
3708
|
+
// Inline function 'com.logic.utils.enumToString.<anonymous>' call
|
|
3709
|
+
tmp$ret$0 = equals(element.c2(), _this__u8e3s4);
|
|
3710
|
+
if (tmp$ret$0) {
|
|
3711
|
+
tmp$ret$1 = element;
|
|
3712
|
+
break $l$block;
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
tmp$ret$1 = null;
|
|
3716
|
+
}
|
|
3717
|
+
tmp$ret$2 = tmp$ret$1;
|
|
3718
|
+
var tmp0_safe_receiver = tmp$ret$2;
|
|
3719
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2();
|
|
3720
|
+
var tmp;
|
|
3721
|
+
if (tmp1_elvis_lhs == null) {
|
|
3722
|
+
throw IllegalArgumentException_init_$Create$("can't find key " + _this__u8e3s4 + ', in mapping ' + mapping);
|
|
3723
|
+
} else {
|
|
3724
|
+
tmp = tmp1_elvis_lhs;
|
|
3725
|
+
}
|
|
3726
|
+
return tmp;
|
|
3727
|
+
}
|
|
3728
|
+
function toDomainEnumSafe(_this__u8e3s4, mapping) {
|
|
3729
|
+
var tmp;
|
|
3730
|
+
try {
|
|
3731
|
+
tmp = toDomainEnum$default(_this__u8e3s4, mapping, null, 2, null);
|
|
3732
|
+
} catch ($p) {
|
|
3733
|
+
var tmp_0;
|
|
3734
|
+
if ($p instanceof Error) {
|
|
3735
|
+
tmp_0 = null;
|
|
3736
|
+
} else {
|
|
3737
|
+
throw $p;
|
|
3738
|
+
}
|
|
3739
|
+
tmp = tmp_0;
|
|
3740
|
+
}
|
|
3741
|
+
return tmp;
|
|
3742
|
+
}
|
|
3743
|
+
function toDomainEnum(_this__u8e3s4, mapping, exceptionProvider) {
|
|
3744
|
+
var tmp0_elvis_lhs = mapping.n(_this__u8e3s4);
|
|
3745
|
+
var tmp;
|
|
3746
|
+
if (tmp0_elvis_lhs == null) {
|
|
3747
|
+
throw exceptionProvider(_this__u8e3s4);
|
|
3748
|
+
} else {
|
|
3749
|
+
tmp = tmp0_elvis_lhs;
|
|
3750
|
+
}
|
|
3751
|
+
return tmp;
|
|
3752
|
+
}
|
|
3753
|
+
function toDomainEnum$default(_this__u8e3s4, mapping, exceptionProvider, $mask0, $handler) {
|
|
3754
|
+
if (!(($mask0 & 2) === 0)) {
|
|
3755
|
+
exceptionProvider = toDomainEnum$lambda(_this__u8e3s4, mapping);
|
|
3756
|
+
}
|
|
3757
|
+
return toDomainEnum(_this__u8e3s4, mapping, exceptionProvider);
|
|
3758
|
+
}
|
|
3759
|
+
function toDomainEnum$lambda($this_toDomainEnum, $mapping) {
|
|
3760
|
+
return function (it) {
|
|
3761
|
+
return IllegalArgumentException_init_$Create$('Unknown value ' + $this_toDomainEnum + ' for enum mapping ' + $mapping);
|
|
3762
|
+
};
|
|
3763
|
+
}
|
|
2680
3764
|
function findItemIndex(_this__u8e3s4, predicate) {
|
|
2681
3765
|
var tmp$ret$3;
|
|
2682
3766
|
// Inline function 'kotlin.collections.mapIndexedNotNull' call
|
|
@@ -2729,7 +3813,7 @@
|
|
|
2729
3813
|
// Inline function 'kotlin.contracts.contract' call
|
|
2730
3814
|
// Inline function 'com.logic.utils.updateItem.<anonymous>' call
|
|
2731
3815
|
var index = findItemIndex(tmp0_apply, predicate);
|
|
2732
|
-
tmp0_apply.
|
|
3816
|
+
tmp0_apply.m3(index, newValue);
|
|
2733
3817
|
return tmp0_apply;
|
|
2734
3818
|
tmp$ret$0 = tmp0_apply;
|
|
2735
3819
|
tmp$ret$1 = tmp$ret$0;
|
|
@@ -2746,11 +3830,11 @@
|
|
|
2746
3830
|
}
|
|
2747
3831
|
function updated(_this__u8e3s4, newValue, predicate) {
|
|
2748
3832
|
var index = findItemIndex(_this__u8e3s4, predicate);
|
|
2749
|
-
_this__u8e3s4.
|
|
3833
|
+
_this__u8e3s4.m3(index, newValue);
|
|
2750
3834
|
return _this__u8e3s4;
|
|
2751
3835
|
}
|
|
2752
3836
|
function sortWithItem(_this__u8e3s4, item) {
|
|
2753
|
-
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.
|
|
3837
|
+
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.t2(item));
|
|
2754
3838
|
}
|
|
2755
3839
|
function nextTo_0(_this__u8e3s4, predicate) {
|
|
2756
3840
|
var nextItemIndex = findItemIndex(_this__u8e3s4, predicate) + 1 | 0;
|
|
@@ -2769,7 +3853,7 @@
|
|
|
2769
3853
|
var i = inductionVariable;
|
|
2770
3854
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2771
3855
|
newList.a(currentItem);
|
|
2772
|
-
currentItem = nextTo(_this__u8e3s4, _this__u8e3s4.
|
|
3856
|
+
currentItem = nextTo(_this__u8e3s4, _this__u8e3s4.t2(currentItem));
|
|
2773
3857
|
}
|
|
2774
3858
|
while (inductionVariable <= last);
|
|
2775
3859
|
return newList;
|
|
@@ -2791,24 +3875,24 @@
|
|
|
2791
3875
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
2792
3876
|
}
|
|
2793
3877
|
function generateTag($this, tag) {
|
|
2794
|
-
return (!($this.
|
|
3878
|
+
return (!($this.n2r_1 == null) ? !(tag == null) : false) ? '' + $this.n2r_1 + ':' + tag : tag;
|
|
2795
3879
|
}
|
|
2796
3880
|
function Category(name, ordinal, isEnabled) {
|
|
2797
3881
|
Enum.call(this, name, ordinal);
|
|
2798
|
-
this.
|
|
3882
|
+
this.q2r_1 = isEnabled;
|
|
2799
3883
|
}
|
|
2800
3884
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
2801
3885
|
function Logger$loggerSource$1() {
|
|
2802
|
-
this.
|
|
3886
|
+
this.r2r_1 = new PlatformLogger();
|
|
2803
3887
|
}
|
|
2804
|
-
Logger$loggerSource$1.prototype.
|
|
2805
|
-
this.
|
|
3888
|
+
Logger$loggerSource$1.prototype.s2r = function (tag, msg) {
|
|
3889
|
+
this.r2r_1.s2r(tag, msg);
|
|
2806
3890
|
};
|
|
2807
|
-
Logger$loggerSource$1.prototype.
|
|
2808
|
-
this.
|
|
3891
|
+
Logger$loggerSource$1.prototype.t2r = function (tag, msg, exception) {
|
|
3892
|
+
this.r2r_1.t2r(tag, msg, exception);
|
|
2809
3893
|
};
|
|
2810
|
-
Logger$loggerSource$1.prototype.
|
|
2811
|
-
this.
|
|
3894
|
+
Logger$loggerSource$1.prototype.u2r = function (tag, msg) {
|
|
3895
|
+
this.r2r_1.u2r(tag, msg);
|
|
2812
3896
|
};
|
|
2813
3897
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
2814
3898
|
function Category_NONE_getInstance() {
|
|
@@ -2818,42 +3902,42 @@
|
|
|
2818
3902
|
function Logger() {
|
|
2819
3903
|
Logger_instance = this;
|
|
2820
3904
|
var tmp = this;
|
|
2821
|
-
tmp.
|
|
2822
|
-
this.
|
|
2823
|
-
this.
|
|
3905
|
+
tmp.l2r_1 = new Logger$loggerSource$1();
|
|
3906
|
+
this.m2r_1 = true;
|
|
3907
|
+
this.n2r_1 = null;
|
|
2824
3908
|
}
|
|
2825
|
-
Logger.prototype.
|
|
2826
|
-
this.
|
|
3909
|
+
Logger.prototype.g2r = function (tag, message) {
|
|
3910
|
+
this.v2r(tag, message, Category_NONE_getInstance());
|
|
2827
3911
|
};
|
|
2828
|
-
Logger.prototype.
|
|
2829
|
-
if (this.
|
|
2830
|
-
this.
|
|
3912
|
+
Logger.prototype.w2r = function (tag, message, category) {
|
|
3913
|
+
if (this.m2r_1 ? category.q2r_1 : false) {
|
|
3914
|
+
this.l2r_1.u2r(generateTag(this, tag), message);
|
|
2831
3915
|
}
|
|
2832
3916
|
};
|
|
2833
|
-
Logger.prototype.
|
|
3917
|
+
Logger.prototype.x2r = function (tag, message, category, $mask0, $handler) {
|
|
2834
3918
|
if (!(($mask0 & 1) === 0))
|
|
2835
3919
|
tag = null;
|
|
2836
3920
|
if (!(($mask0 & 4) === 0))
|
|
2837
3921
|
category = Category_NONE_getInstance();
|
|
2838
|
-
return this.
|
|
3922
|
+
return this.w2r(tag, message, category);
|
|
2839
3923
|
};
|
|
2840
|
-
Logger.prototype.
|
|
2841
|
-
if (this.
|
|
2842
|
-
this.
|
|
3924
|
+
Logger.prototype.v2r = function (tag, message, category) {
|
|
3925
|
+
if (this.m2r_1 ? category.q2r_1 : false) {
|
|
3926
|
+
this.l2r_1.s2r(generateTag(this, tag), message);
|
|
2843
3927
|
}
|
|
2844
3928
|
};
|
|
2845
|
-
Logger.prototype.
|
|
2846
|
-
if (this.
|
|
3929
|
+
Logger.prototype.y2r = function (tag, message, exception, category) {
|
|
3930
|
+
if (this.m2r_1 ? category.q2r_1 : false) {
|
|
2847
3931
|
var tmp0_safe_receiver = exception;
|
|
2848
3932
|
if (tmp0_safe_receiver == null)
|
|
2849
3933
|
null;
|
|
2850
3934
|
else {
|
|
2851
3935
|
printStackTrace(tmp0_safe_receiver);
|
|
2852
3936
|
}
|
|
2853
|
-
this.
|
|
3937
|
+
this.l2r_1.t2r(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
2854
3938
|
}
|
|
2855
3939
|
};
|
|
2856
|
-
Logger.prototype.
|
|
3940
|
+
Logger.prototype.z2r = function (tag, message, exception, category, $mask0, $handler) {
|
|
2857
3941
|
if (!(($mask0 & 1) === 0))
|
|
2858
3942
|
tag = null;
|
|
2859
3943
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2862,7 +3946,7 @@
|
|
|
2862
3946
|
exception = null;
|
|
2863
3947
|
if (!(($mask0 & 8) === 0))
|
|
2864
3948
|
category = Category_NONE_getInstance();
|
|
2865
|
-
return this.
|
|
3949
|
+
return this.y2r(tag, message, exception, category);
|
|
2866
3950
|
};
|
|
2867
3951
|
Logger.$metadata$ = objectMeta('Logger');
|
|
2868
3952
|
var Logger_instance;
|
|
@@ -2902,36 +3986,36 @@
|
|
|
2902
3986
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2903
3987
|
}
|
|
2904
3988
|
function CombinedGameLogger(logOutputs) {
|
|
2905
|
-
this.
|
|
3989
|
+
this.a2s_1 = logOutputs;
|
|
2906
3990
|
}
|
|
2907
|
-
CombinedGameLogger.prototype.
|
|
3991
|
+
CombinedGameLogger.prototype.g2r = function (tag, message) {
|
|
2908
3992
|
// Inline function 'kotlin.collections.forEach' call
|
|
2909
|
-
var tmp0_forEach = this.
|
|
3993
|
+
var tmp0_forEach = this.a2s_1;
|
|
2910
3994
|
var tmp0_iterator = tmp0_forEach.f();
|
|
2911
3995
|
while (tmp0_iterator.g()) {
|
|
2912
3996
|
var element = tmp0_iterator.h();
|
|
2913
3997
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
2914
|
-
element.
|
|
3998
|
+
element.g2r(tag, message);
|
|
2915
3999
|
}
|
|
2916
4000
|
};
|
|
2917
|
-
CombinedGameLogger.prototype.
|
|
4001
|
+
CombinedGameLogger.prototype.h2q = function (tag, message, exception) {
|
|
2918
4002
|
// Inline function 'kotlin.collections.forEach' call
|
|
2919
|
-
var tmp0_forEach = this.
|
|
4003
|
+
var tmp0_forEach = this.a2s_1;
|
|
2920
4004
|
var tmp0_iterator = tmp0_forEach.f();
|
|
2921
4005
|
while (tmp0_iterator.g()) {
|
|
2922
4006
|
var element = tmp0_iterator.h();
|
|
2923
4007
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
2924
|
-
element.
|
|
4008
|
+
element.h2q(tag, message, exception);
|
|
2925
4009
|
}
|
|
2926
4010
|
};
|
|
2927
|
-
CombinedGameLogger.prototype.
|
|
4011
|
+
CombinedGameLogger.prototype.j2r = function (tag, message) {
|
|
2928
4012
|
// Inline function 'kotlin.collections.forEach' call
|
|
2929
|
-
var tmp0_forEach = this.
|
|
4013
|
+
var tmp0_forEach = this.a2s_1;
|
|
2930
4014
|
var tmp0_iterator = tmp0_forEach.f();
|
|
2931
4015
|
while (tmp0_iterator.g()) {
|
|
2932
4016
|
var element = tmp0_iterator.h();
|
|
2933
4017
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
2934
|
-
element.
|
|
4018
|
+
element.j2r(tag, message);
|
|
2935
4019
|
}
|
|
2936
4020
|
};
|
|
2937
4021
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -2944,16 +4028,16 @@
|
|
|
2944
4028
|
function PlatformGameLogger() {
|
|
2945
4029
|
PlatformGameLogger_instance = this;
|
|
2946
4030
|
}
|
|
2947
|
-
PlatformGameLogger.prototype.
|
|
2948
|
-
Logger_getInstance().
|
|
4031
|
+
PlatformGameLogger.prototype.g2r = function (tag, message) {
|
|
4032
|
+
Logger_getInstance().g2r(tag, message);
|
|
2949
4033
|
};
|
|
2950
|
-
PlatformGameLogger.prototype.
|
|
4034
|
+
PlatformGameLogger.prototype.h2q = function (tag, message, exception) {
|
|
2951
4035
|
var tmp = Logger_getInstance();
|
|
2952
|
-
tmp.
|
|
4036
|
+
tmp.z2r(tag, message, exception, null, 8, null);
|
|
2953
4037
|
};
|
|
2954
|
-
PlatformGameLogger.prototype.
|
|
4038
|
+
PlatformGameLogger.prototype.j2r = function (tag, message) {
|
|
2955
4039
|
var tmp = Logger_getInstance();
|
|
2956
|
-
tmp.
|
|
4040
|
+
tmp.x2r(tag, message, null, 4, null);
|
|
2957
4041
|
};
|
|
2958
4042
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
2959
4043
|
var PlatformGameLogger_instance;
|
|
@@ -2964,41 +4048,45 @@
|
|
|
2964
4048
|
}
|
|
2965
4049
|
function PlatformLogger() {
|
|
2966
4050
|
}
|
|
2967
|
-
PlatformLogger.prototype.
|
|
4051
|
+
PlatformLogger.prototype.s2r = function (tag, msg) {
|
|
2968
4052
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
2969
4053
|
};
|
|
2970
|
-
PlatformLogger.prototype.
|
|
4054
|
+
PlatformLogger.prototype.t2r = function (tag, msg, exception) {
|
|
2971
4055
|
if (!(exception == null)) {
|
|
2972
4056
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
2973
4057
|
} else {
|
|
2974
4058
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
2975
4059
|
}
|
|
2976
4060
|
};
|
|
2977
|
-
PlatformLogger.prototype.
|
|
4061
|
+
PlatformLogger.prototype.u2r = function (tag, msg) {
|
|
2978
4062
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
2979
4063
|
};
|
|
2980
4064
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
2981
4065
|
//region block: post-declaration
|
|
2982
|
-
$serializer.prototype.
|
|
2983
|
-
$serializer_0.prototype.
|
|
2984
|
-
$serializer_1.prototype.
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
4066
|
+
$serializer.prototype.t1t = typeParametersSerializers;
|
|
4067
|
+
$serializer_0.prototype.t1t = typeParametersSerializers;
|
|
4068
|
+
$serializer_1.prototype.t1t = typeParametersSerializers;
|
|
4069
|
+
$serializer_2.prototype.t1t = typeParametersSerializers;
|
|
4070
|
+
$serializer_3.prototype.t1t = typeParametersSerializers;
|
|
4071
|
+
$serializer_4.prototype.t1t = typeParametersSerializers;
|
|
4072
|
+
$serializer_5.prototype.t1t = typeParametersSerializers;
|
|
4073
|
+
_no_name_provided__qut3iv.prototype.r4 = get;
|
|
4074
|
+
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4075
|
+
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4076
|
+
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4077
|
+
AsyncProviderImpl.prototype.o2q = launchStore$default;
|
|
4078
|
+
AsyncProviderImpl.prototype.q2q = launchWorker$default;
|
|
4079
|
+
middleware$1.prototype.a2r = canHandle;
|
|
4080
|
+
combineReducers$1.prototype.a2r = canHandle_0;
|
|
4081
|
+
StoreLifecycleAction.prototype.z2q = get_actionTag;
|
|
4082
|
+
INIT.prototype.z2q = get_actionTag;
|
|
4083
|
+
REPLACE.prototype.z2q = get_actionTag;
|
|
4084
|
+
CombinedGameLogger.prototype.h2r = d$default;
|
|
4085
|
+
CombinedGameLogger.prototype.i2r = e$default;
|
|
4086
|
+
CombinedGameLogger.prototype.k2r = w$default;
|
|
4087
|
+
PlatformGameLogger.prototype.h2r = d$default;
|
|
4088
|
+
PlatformGameLogger.prototype.i2r = e$default;
|
|
4089
|
+
PlatformGameLogger.prototype.k2r = w$default;
|
|
3002
4090
|
//endregion
|
|
3003
4091
|
//region block: exports
|
|
3004
4092
|
function $jsExportAll$(_) {
|
|
@@ -3016,7 +4104,7 @@
|
|
|
3016
4104
|
$com$logic$data$models.TerminationGameReason.TerminationGameReason_init_$Create$ = TerminationGameReason_init_$Create$;
|
|
3017
4105
|
Object.defineProperty($com$logic$data$models.TerminationGameReason, 'Companion', {
|
|
3018
4106
|
configurable: true,
|
|
3019
|
-
get:
|
|
4107
|
+
get: Companion_getInstance_1
|
|
3020
4108
|
});
|
|
3021
4109
|
var $com = _.com || (_.com = {});
|
|
3022
4110
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
@@ -3071,7 +4159,7 @@
|
|
|
3071
4159
|
$com$logic$data$models$rules.Rules = Rules;
|
|
3072
4160
|
Object.defineProperty($com$logic$data$models$rules.Rules, 'Companion', {
|
|
3073
4161
|
configurable: true,
|
|
3074
|
-
get:
|
|
4162
|
+
get: Companion_getInstance_6
|
|
3075
4163
|
});
|
|
3076
4164
|
var $com = _.com || (_.com = {});
|
|
3077
4165
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
@@ -3079,7 +4167,7 @@
|
|
|
3079
4167
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
3080
4168
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
3081
4169
|
$com$logic$data$models$rules.RulesSetType = RulesSetType;
|
|
3082
|
-
$com$logic$data$models$rules.RulesSetType.values =
|
|
4170
|
+
$com$logic$data$models$rules.RulesSetType.values = values_1;
|
|
3083
4171
|
$com$logic$data$models$rules.RulesSetType.valueOf = valueOf_0;
|
|
3084
4172
|
Object.defineProperty($com$logic$data$models$rules.RulesSetType, 'belot', {
|
|
3085
4173
|
configurable: true,
|
|
@@ -3129,84 +4217,108 @@
|
|
|
3129
4217
|
_.$jsExportAll$ = $jsExportAll$;
|
|
3130
4218
|
_.$_$ = _.$_$ || {};
|
|
3131
4219
|
_.$_$.a = MechanicException;
|
|
3132
|
-
_.$_$.b =
|
|
3133
|
-
_.$_$.c =
|
|
3134
|
-
_.$_$.d =
|
|
3135
|
-
_.$_$.e =
|
|
3136
|
-
_.$_$.f =
|
|
3137
|
-
_.$_$.g =
|
|
3138
|
-
_.$_$.h =
|
|
3139
|
-
_.$_$.i =
|
|
3140
|
-
_.$_$.j =
|
|
3141
|
-
_.$_$.k =
|
|
3142
|
-
_.$_$.l =
|
|
3143
|
-
_.$_$.m =
|
|
3144
|
-
_.$_$.n =
|
|
3145
|
-
_.$_$.o =
|
|
3146
|
-
_.$_$.p =
|
|
3147
|
-
_.$_$.q =
|
|
3148
|
-
_.$_$.r =
|
|
3149
|
-
_.$_$.s =
|
|
3150
|
-
_.$_$.t =
|
|
3151
|
-
_.$_$.u =
|
|
3152
|
-
_.$_$.v =
|
|
3153
|
-
_.$_$.w =
|
|
3154
|
-
_.$_$.x =
|
|
3155
|
-
_.$_$.y =
|
|
3156
|
-
_.$_$.z =
|
|
3157
|
-
_.$_$.a1 =
|
|
3158
|
-
_.$_$.b1 =
|
|
3159
|
-
_.$_$.c1 =
|
|
3160
|
-
_.$_$.d1 =
|
|
3161
|
-
_.$_$.e1 =
|
|
3162
|
-
_.$_$.f1 =
|
|
3163
|
-
_.$_$.g1 =
|
|
3164
|
-
_.$_$.h1 =
|
|
3165
|
-
_.$_$.i1 =
|
|
3166
|
-
_.$_$.j1 =
|
|
3167
|
-
_.$_$.k1 =
|
|
3168
|
-
_.$_$.l1 =
|
|
3169
|
-
_.$_$.m1 =
|
|
3170
|
-
_.$_$.n1 =
|
|
3171
|
-
_.$_$.o1 =
|
|
3172
|
-
_.$_$.p1 =
|
|
3173
|
-
_.$_$.q1 =
|
|
3174
|
-
_.$_$.r1 =
|
|
3175
|
-
_.$_$.s1 =
|
|
3176
|
-
_.$_$.t1 =
|
|
3177
|
-
_.$_$.u1 =
|
|
3178
|
-
_.$_$.v1 =
|
|
3179
|
-
_.$_$.w1 =
|
|
3180
|
-
_.$_$.x1 =
|
|
3181
|
-
_.$_$.y1 =
|
|
3182
|
-
_.$_$.z1 =
|
|
3183
|
-
_.$_$.a2 =
|
|
3184
|
-
_.$_$.b2 =
|
|
3185
|
-
_.$_$.c2 =
|
|
3186
|
-
_.$_$.d2 =
|
|
3187
|
-
_.$_$.e2 =
|
|
3188
|
-
_.$_$.f2 =
|
|
3189
|
-
_.$_$.g2 =
|
|
3190
|
-
_.$_$.h2 =
|
|
3191
|
-
_.$_$.i2 =
|
|
3192
|
-
_.$_$.j2 =
|
|
3193
|
-
_.$_$.k2 =
|
|
3194
|
-
_.$_$.l2 =
|
|
3195
|
-
_.$_$.m2 =
|
|
3196
|
-
_.$_$.n2 =
|
|
3197
|
-
_.$_$.o2 =
|
|
3198
|
-
_.$_$.p2 =
|
|
3199
|
-
_.$_$.q2 =
|
|
3200
|
-
_.$_$.r2 =
|
|
3201
|
-
_.$_$.s2 =
|
|
3202
|
-
_.$_$.t2 =
|
|
3203
|
-
_.$_$.u2 =
|
|
3204
|
-
_.$_$.v2 =
|
|
3205
|
-
_.$_$.w2 =
|
|
3206
|
-
_.$_$.x2 =
|
|
3207
|
-
_.$_$.y2 =
|
|
3208
|
-
_.$_$.z2 =
|
|
3209
|
-
_.$_$.a3 =
|
|
4220
|
+
_.$_$.b = values;
|
|
4221
|
+
_.$_$.c = PlayerIdContract;
|
|
4222
|
+
_.$_$.d = Player;
|
|
4223
|
+
_.$_$.e = Team;
|
|
4224
|
+
_.$_$.f = get_byIdPlayerPredicate;
|
|
4225
|
+
_.$_$.g = filterByPlayerId;
|
|
4226
|
+
_.$_$.h = filterPlayerTurn;
|
|
4227
|
+
_.$_$.i = getPlayer;
|
|
4228
|
+
_.$_$.j = nextToPlayerId;
|
|
4229
|
+
_.$_$.k = mapFromDto_0;
|
|
4230
|
+
_.$_$.l = mapFromDto_2;
|
|
4231
|
+
_.$_$.m = mapFromDto;
|
|
4232
|
+
_.$_$.n = mapFromDto_1;
|
|
4233
|
+
_.$_$.o = mapToDto_3;
|
|
4234
|
+
_.$_$.p = mapToDto_0;
|
|
4235
|
+
_.$_$.q = mapToDto_1;
|
|
4236
|
+
_.$_$.r = mapToDto_2;
|
|
4237
|
+
_.$_$.s = mapToDto;
|
|
4238
|
+
_.$_$.t = CardGrowthComparator;
|
|
4239
|
+
_.$_$.u = GameCardWIthPlayerId;
|
|
4240
|
+
_.$_$.v = GameCard;
|
|
4241
|
+
_.$_$.w = ProcessingCard;
|
|
4242
|
+
_.$_$.x = values_2;
|
|
4243
|
+
_.$_$.y = filterByCardName;
|
|
4244
|
+
_.$_$.z = filterBySuit;
|
|
4245
|
+
_.$_$.a1 = getGrowth;
|
|
4246
|
+
_.$_$.b1 = getPoint;
|
|
4247
|
+
_.$_$.c1 = GameErrorReason;
|
|
4248
|
+
_.$_$.d1 = PlayerExitReason;
|
|
4249
|
+
_.$_$.e1 = PlayerLostConnectionReason;
|
|
4250
|
+
_.$_$.f1 = PlayerTimeoutReason;
|
|
4251
|
+
_.$_$.g1 = AsyncProviderImpl;
|
|
4252
|
+
_.$_$.h1 = AsyncProvider;
|
|
4253
|
+
_.$_$.i1 = get_coreModule;
|
|
4254
|
+
_.$_$.j1 = get_actionTag;
|
|
4255
|
+
_.$_$.k1 = Action;
|
|
4256
|
+
_.$_$.l1 = Middleware;
|
|
4257
|
+
_.$_$.m1 = Reducer;
|
|
4258
|
+
_.$_$.n1 = combineReducers;
|
|
4259
|
+
_.$_$.o1 = middleware;
|
|
4260
|
+
_.$_$.p1 = parseActionName;
|
|
4261
|
+
_.$_$.q1 = compose;
|
|
4262
|
+
_.$_$.r1 = createStore;
|
|
4263
|
+
_.$_$.s1 = ignoreBuffer;
|
|
4264
|
+
_.$_$.t1 = BufferedAction;
|
|
4265
|
+
_.$_$.u1 = ignoreExpectant;
|
|
4266
|
+
_.$_$.v1 = ExpectantAction;
|
|
4267
|
+
_.$_$.w1 = ReleaseBufferTriggerAction;
|
|
4268
|
+
_.$_$.x1 = applyCatcher;
|
|
4269
|
+
_.$_$.y1 = applyMiddleware;
|
|
4270
|
+
_.$_$.z1 = CombinedGameLogger;
|
|
4271
|
+
_.$_$.a2 = LoggerOutputWithPayload;
|
|
4272
|
+
_.$_$.b2 = LoggerPayload;
|
|
4273
|
+
_.$_$.c2 = GameLogger;
|
|
4274
|
+
_.$_$.d2 = LoggerOutput;
|
|
4275
|
+
_.$_$.e2 = generateMsg;
|
|
4276
|
+
_.$_$.f2 = enumToString;
|
|
4277
|
+
_.$_$.g2 = nextTo;
|
|
4278
|
+
_.$_$.h2 = sortWithItem;
|
|
4279
|
+
_.$_$.i2 = toDomainEnumSafe;
|
|
4280
|
+
_.$_$.j2 = updateItem;
|
|
4281
|
+
_.$_$.k2 = updated;
|
|
4282
|
+
_.$_$.l2 = PlayerConnectionState_DELETED_getInstance;
|
|
4283
|
+
_.$_$.m2 = PlayerConnectionState_LEFT_getInstance;
|
|
4284
|
+
_.$_$.n2 = PlayerConnectionState_LIVE_getInstance;
|
|
4285
|
+
_.$_$.o2 = PlayerConnectionState_LOST_CONNECTION_getInstance;
|
|
4286
|
+
_.$_$.p2 = PlayerConnectionState_TIMEOUT_getInstance;
|
|
4287
|
+
_.$_$.q2 = RulesSetType_belot_getInstance;
|
|
4288
|
+
_.$_$.r2 = RulesSetType_custom_getInstance;
|
|
4289
|
+
_.$_$.s2 = RulesSetType_debertzCommon_getInstance;
|
|
4290
|
+
_.$_$.t2 = RulesSetType_debertzKharkiv_getInstance;
|
|
4291
|
+
_.$_$.u2 = RulesSetType_debertzMoscow_getInstance;
|
|
4292
|
+
_.$_$.v2 = RulesSetType_klabor_getInstance;
|
|
4293
|
+
_.$_$.w2 = CardName_ACE_getInstance;
|
|
4294
|
+
_.$_$.x2 = CardName_DAME_getInstance;
|
|
4295
|
+
_.$_$.y2 = CardName_EIGHT_getInstance;
|
|
4296
|
+
_.$_$.z2 = CardName_JACK_getInstance;
|
|
4297
|
+
_.$_$.a3 = CardName_KING_getInstance;
|
|
4298
|
+
_.$_$.b3 = CardName_NINE_getInstance;
|
|
4299
|
+
_.$_$.c3 = CardName_SEVEN_getInstance;
|
|
4300
|
+
_.$_$.d3 = CardName_TEN_getInstance;
|
|
4301
|
+
_.$_$.e3 = e$default_0;
|
|
4302
|
+
_.$_$.f3 = d$default;
|
|
4303
|
+
_.$_$.g3 = e$default;
|
|
4304
|
+
_.$_$.h3 = w$default;
|
|
4305
|
+
_.$_$.i3 = Companion_getInstance_5;
|
|
4306
|
+
_.$_$.j3 = $serializer_getInstance_3;
|
|
4307
|
+
_.$_$.k3 = $serializer_getInstance_4;
|
|
4308
|
+
_.$_$.l3 = $serializer_getInstance_5;
|
|
4309
|
+
_.$_$.m3 = CardIndexComparator_getInstance;
|
|
4310
|
+
_.$_$.n3 = CardNumberComparator_getInstance;
|
|
4311
|
+
_.$_$.o3 = Companion_getInstance_10;
|
|
4312
|
+
_.$_$.p3 = Companion_getInstance;
|
|
4313
|
+
_.$_$.q3 = GameErrorReason_getInstance;
|
|
4314
|
+
_.$_$.r3 = GameFinishedReason_getInstance;
|
|
4315
|
+
_.$_$.s3 = ProcessingReason_getInstance;
|
|
4316
|
+
_.$_$.t3 = RestartGameReason_getInstance;
|
|
4317
|
+
_.$_$.u3 = Companion_getInstance_1;
|
|
4318
|
+
_.$_$.v3 = WaitingForConnectionReason_getInstance;
|
|
4319
|
+
_.$_$.w3 = PlatformGameLogger_getInstance;
|
|
4320
|
+
_.$_$.x3 = Logger_getInstance;
|
|
4321
|
+
_.$_$.y3 = Constants_getInstance;
|
|
3210
4322
|
//endregion
|
|
3211
4323
|
return _;
|
|
3212
4324
|
}));
|