game_client_logic_deb 1.3.48 → 1.3.64
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 +2670 -796
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +22211 -10458
- package/Logic_Debertz-engine.js.map +1 -1
- package/{Logic_Debertz-game_client_logic_deb.d.ts → Logic_Debertz-game_client.d.ts} +95 -17
- package/{Logic_Debertz-game_client_logic_deb.js → Logic_Debertz-game_client.js} +4081 -4034
- package/Logic_Debertz-game_client.js.map +1 -0
- package/kotlin-kotlin-stdlib-js-ir.js +4296 -2035
- 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 +2620 -2620
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +3 -3
- package/uuid-js-ir.js +38 -38
- package/Logic_Debertz-game_client_logic_deb.js.map +0 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js', './kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js', './Kodein-kodein-di-js-ir.js'], factory);
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js', './kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js', './Kaverit-kaverit-js-ir.js', './Kodein-kodein-di-js-ir.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./Kodein-kodein-di-js-ir.js'));
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./Kaverit-kaverit-js-ir.js'), require('./Kodein-kodein-di-js-ir.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
@@ -13,73 +13,98 @@
|
|
|
13
13
|
if (typeof this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx.coroutines-kotlinx-coroutines-core-js-ir' was not found. Please, check whether 'kotlinx.coroutines-kotlinx-coroutines-core-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
15
15
|
}
|
|
16
|
+
if (typeof this['Kaverit-kaverit-js-ir'] === 'undefined') {
|
|
17
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kaverit-kaverit-js-ir' was not found. Please, check whether 'Kaverit-kaverit-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
|
+
}
|
|
16
19
|
if (typeof this['Kodein-kodein-di-js-ir'] === 'undefined') {
|
|
17
20
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kodein-kodein-di-js-ir' was not found. Please, check whether 'Kodein-kodein-di-js-ir' is loaded prior to 'Logic_Debertz-core'.");
|
|
18
21
|
}
|
|
19
|
-
root['Logic_Debertz-core'] = factory(typeof this['Logic_Debertz-core'] === 'undefined' ? {} : this['Logic_Debertz-core'], this['kotlin-kotlin-stdlib-js-ir'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], this['Kodein-kodein-di-js-ir']);
|
|
22
|
+
root['Logic_Debertz-core'] = factory(typeof this['Logic_Debertz-core'] === 'undefined' ? {} : this['Logic_Debertz-core'], this['kotlin-kotlin-stdlib-js-ir'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], this['Kaverit-kaverit-js-ir'], this['Kodein-kodein-di-js-ir']);
|
|
20
23
|
}
|
|
21
|
-
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_kodein_di_kodein_di) {
|
|
24
|
+
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di) {
|
|
22
25
|
'use strict';
|
|
23
26
|
//region block: imports
|
|
24
27
|
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;
|
|
28
|
+
var objectMeta = kotlin_kotlin.$_$.x9;
|
|
31
29
|
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
|
|
30
|
+
var Unit_getInstance = kotlin_kotlin.$_$.n4;
|
|
31
|
+
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
32
|
+
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
|
|
33
|
+
var lazy = kotlin_kotlin.$_$.xc;
|
|
34
|
+
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
35
|
+
var classMeta = kotlin_kotlin.$_$.z8;
|
|
36
|
+
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
37
|
+
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
38
|
+
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
39
|
+
var THROW_CCE = kotlin_kotlin.$_$.cc;
|
|
40
|
+
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
41
|
+
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
42
|
+
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
43
|
+
var getStringHashCode = kotlin_kotlin.$_$.e9;
|
|
44
|
+
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
45
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
|
+
var interfaceMeta = kotlin_kotlin.$_$.g9;
|
|
47
|
+
var Exception = kotlin_kotlin.$_$.ub;
|
|
48
|
+
var Exception_init_$Init$ = kotlin_kotlin.$_$.i1;
|
|
49
|
+
var captureStack = kotlin_kotlin.$_$.u8;
|
|
50
|
+
var toString = kotlin_kotlin.$_$.ed;
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.f9;
|
|
52
|
+
var equals = kotlin_kotlin.$_$.b9;
|
|
53
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
54
|
+
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
55
|
+
var THROW_ISE = kotlin_kotlin.$_$.dc;
|
|
56
|
+
var Enum = kotlin_kotlin.$_$.sb;
|
|
57
|
+
var Long = kotlin_kotlin.$_$.xb;
|
|
58
|
+
var toString_0 = kotlin_kotlin.$_$.ba;
|
|
59
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
60
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
61
|
+
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
62
|
+
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
63
|
+
var Comparator = kotlin_kotlin.$_$.pb;
|
|
64
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
65
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.zc;
|
|
66
|
+
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.b8;
|
|
58
67
|
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.$_$.
|
|
68
|
+
var get = kotlin_kotlin.$_$.i8;
|
|
69
|
+
var fold = kotlin_kotlin.$_$.h8;
|
|
70
|
+
var minusKey = kotlin_kotlin.$_$.j8;
|
|
71
|
+
var plus = kotlin_kotlin.$_$.m8;
|
|
63
72
|
var CoroutineExceptionHandler = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
64
73
|
var Job$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
65
74
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
66
75
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
67
76
|
var launch$default = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
77
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
78
|
+
var toSet = kotlin_kotlin.$_$.t7;
|
|
79
|
+
var arrayOf = kotlin_kotlin.$_$.qc;
|
|
80
|
+
var createKType = kotlin_kotlin.$_$.b;
|
|
81
|
+
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
82
|
+
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
83
|
+
var isInterface = kotlin_kotlin.$_$.o9;
|
|
84
|
+
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
68
85
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
69
86
|
var MutableStateFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
70
87
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
71
|
-
var split$default = kotlin_kotlin.$_$.
|
|
72
|
-
var first = kotlin_kotlin.$_$.
|
|
73
|
-
var isObject = kotlin_kotlin.$_$.
|
|
74
|
-
var
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var
|
|
78
|
-
var
|
|
79
|
-
var
|
|
80
|
-
var
|
|
88
|
+
var split$default = kotlin_kotlin.$_$.k;
|
|
89
|
+
var first = kotlin_kotlin.$_$.i6;
|
|
90
|
+
var isObject = kotlin_kotlin.$_$.q9;
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.n8;
|
|
92
|
+
var CoroutineScope_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
93
|
+
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
94
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y7;
|
|
95
|
+
var get_isActive = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
96
|
+
var SuspendFunction1 = kotlin_kotlin.$_$.o8;
|
|
97
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.i5;
|
|
98
|
+
var single = kotlin_kotlin.$_$.i7;
|
|
99
|
+
var get_lastIndex = kotlin_kotlin.$_$.q6;
|
|
100
|
+
var toMutableList = kotlin_kotlin.$_$.s7;
|
|
101
|
+
var printStackTrace = kotlin_kotlin.$_$.bd;
|
|
102
|
+
var isBlank = kotlin_kotlin.$_$.ta;
|
|
103
|
+
var stackTraceToString = kotlin_kotlin.$_$.cd;
|
|
81
104
|
//endregion
|
|
82
105
|
//region block: pre-declaration
|
|
106
|
+
PlayerReturnsReason.prototype = Object.create(ContinueGameReason.prototype);
|
|
107
|
+
PlayerReturnsReason.prototype.constructor = PlayerReturnsReason;
|
|
83
108
|
GameErrorReason.prototype = Object.create(TerminationGameReason.prototype);
|
|
84
109
|
GameErrorReason.prototype.constructor = GameErrorReason;
|
|
85
110
|
GameFinishedReason.prototype = Object.create(TerminationGameReason.prototype);
|
|
@@ -110,13 +135,13 @@
|
|
|
110
135
|
_no_name_provided__qut3iv.prototype.constructor = _no_name_provided__qut3iv;
|
|
111
136
|
function launchWorker$default(context, block, $mask0, $handler) {
|
|
112
137
|
if (!(($mask0 & 1) === 0))
|
|
113
|
-
context = this.
|
|
114
|
-
return $handler == null ? this.
|
|
138
|
+
context = this.r2q();
|
|
139
|
+
return $handler == null ? this.u2q(context, block) : $handler(context, block);
|
|
115
140
|
}
|
|
116
141
|
function launchStore$default(context, block, $mask0, $handler) {
|
|
117
142
|
if (!(($mask0 & 1) === 0))
|
|
118
|
-
context = this.
|
|
119
|
-
return $handler == null ? this.
|
|
143
|
+
context = this.r2q();
|
|
144
|
+
return $handler == null ? this.s2q(context, block) : $handler(context, block);
|
|
120
145
|
}
|
|
121
146
|
function get_actionTag() {
|
|
122
147
|
return toString_0(getKClassFromExpression(this));
|
|
@@ -137,12 +162,32 @@
|
|
|
137
162
|
function ignoreExpectant() {
|
|
138
163
|
return false;
|
|
139
164
|
}
|
|
165
|
+
function notValidateWhenFinishing() {
|
|
166
|
+
return true;
|
|
167
|
+
}
|
|
168
|
+
function notValidateWhenFinished() {
|
|
169
|
+
return true;
|
|
170
|
+
}
|
|
171
|
+
StopTimerAction.prototype = Object.create(TimerAction.prototype);
|
|
172
|
+
StopTimerAction.prototype.constructor = StopTimerAction;
|
|
173
|
+
StartTimerAction.prototype = Object.create(TimerAction.prototype);
|
|
174
|
+
StartTimerAction.prototype.constructor = StartTimerAction;
|
|
175
|
+
TimerType.prototype = Object.create(Enum.prototype);
|
|
176
|
+
TimerType.prototype.constructor = TimerType;
|
|
177
|
+
TimerTickAction.prototype = Object.create(TimerAction.prototype);
|
|
178
|
+
TimerTickAction.prototype.constructor = TimerTickAction;
|
|
179
|
+
timerMiddleware$o$handle$slambda$slambda.prototype = Object.create(CoroutineImpl.prototype);
|
|
180
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.constructor = timerMiddleware$o$handle$slambda$slambda;
|
|
181
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype = Object.create(CoroutineImpl.prototype);
|
|
182
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.constructor = timerMiddleware$o$handle$slambda$slambda_1;
|
|
183
|
+
timerMiddleware$o$handle$slambda.prototype = Object.create(CoroutineImpl.prototype);
|
|
184
|
+
timerMiddleware$o$handle$slambda.prototype.constructor = timerMiddleware$o$handle$slambda;
|
|
140
185
|
function d$default(tag, message, $mask0, $handler) {
|
|
141
186
|
if (!(($mask0 & 1) === 0))
|
|
142
187
|
tag = null;
|
|
143
188
|
var tmp;
|
|
144
189
|
if ($handler == null) {
|
|
145
|
-
this.
|
|
190
|
+
this.t2t(tag, message);
|
|
146
191
|
tmp = Unit_getInstance();
|
|
147
192
|
} else {
|
|
148
193
|
tmp = $handler(tag, message);
|
|
@@ -158,7 +203,7 @@
|
|
|
158
203
|
exception = null;
|
|
159
204
|
var tmp;
|
|
160
205
|
if ($handler == null) {
|
|
161
|
-
this.
|
|
206
|
+
this.m2q(tag, message, exception);
|
|
162
207
|
tmp = Unit_getInstance();
|
|
163
208
|
} else {
|
|
164
209
|
tmp = $handler(tag, message, exception);
|
|
@@ -170,7 +215,7 @@
|
|
|
170
215
|
tag = null;
|
|
171
216
|
var tmp;
|
|
172
217
|
if ($handler == null) {
|
|
173
|
-
this.
|
|
218
|
+
this.w2t(tag, message);
|
|
174
219
|
tmp = Unit_getInstance();
|
|
175
220
|
} else {
|
|
176
221
|
tmp = $handler(tag, message);
|
|
@@ -188,7 +233,7 @@
|
|
|
188
233
|
exception = null;
|
|
189
234
|
var tmp;
|
|
190
235
|
if ($handler == null) {
|
|
191
|
-
this.
|
|
236
|
+
this.o2u(tag, message, exception, payload);
|
|
192
237
|
tmp = Unit_getInstance();
|
|
193
238
|
} else {
|
|
194
239
|
tmp = $handler(tag, message, exception, payload);
|
|
@@ -198,15 +243,15 @@
|
|
|
198
243
|
//endregion
|
|
199
244
|
function GameEngineConfig() {
|
|
200
245
|
GameEngineConfig_instance = this;
|
|
201
|
-
this.
|
|
246
|
+
this.q2k_1 = '1.3.64';
|
|
202
247
|
}
|
|
203
|
-
GameEngineConfig.prototype.
|
|
204
|
-
return this.
|
|
248
|
+
GameEngineConfig.prototype.r2k = function () {
|
|
249
|
+
return this.q2k_1;
|
|
205
250
|
};
|
|
206
251
|
GameEngineConfig.$metadata$ = objectMeta('GameEngineConfig');
|
|
207
252
|
Object.defineProperty(GameEngineConfig.prototype, 'version', {
|
|
208
253
|
configurable: true,
|
|
209
|
-
get: GameEngineConfig.prototype.
|
|
254
|
+
get: GameEngineConfig.prototype.r2k
|
|
210
255
|
});
|
|
211
256
|
var GameEngineConfig_instance;
|
|
212
257
|
function GameEngineConfig_getInstance() {
|
|
@@ -214,6 +259,187 @@
|
|
|
214
259
|
new GameEngineConfig();
|
|
215
260
|
return GameEngineConfig_instance;
|
|
216
261
|
}
|
|
262
|
+
function Constants() {
|
|
263
|
+
Constants_instance = this;
|
|
264
|
+
this.s2k_1 = '0.0.0';
|
|
265
|
+
}
|
|
266
|
+
Constants.$metadata$ = objectMeta('Constants');
|
|
267
|
+
var Constants_instance;
|
|
268
|
+
function Constants_getInstance() {
|
|
269
|
+
if (Constants_instance == null)
|
|
270
|
+
new Constants();
|
|
271
|
+
return Constants_instance;
|
|
272
|
+
}
|
|
273
|
+
function ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon() {
|
|
274
|
+
var tmp = getKClass(ContinueGameReason);
|
|
275
|
+
var tmp$ret$2;
|
|
276
|
+
// Inline function 'kotlin.arrayOf' call
|
|
277
|
+
var tmp0_arrayOf = [getKClass(PlayerReturnsReason)];
|
|
278
|
+
var tmp$ret$1;
|
|
279
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
280
|
+
var tmp$ret$0;
|
|
281
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
282
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
283
|
+
tmp$ret$1 = tmp$ret$0;
|
|
284
|
+
tmp$ret$2 = tmp$ret$1;
|
|
285
|
+
var tmp_0 = tmp$ret$2;
|
|
286
|
+
var tmp$ret$5;
|
|
287
|
+
// Inline function 'kotlin.arrayOf' call
|
|
288
|
+
var tmp1_arrayOf = [$serializer_getInstance()];
|
|
289
|
+
var tmp$ret$4;
|
|
290
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
291
|
+
var tmp$ret$3;
|
|
292
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
293
|
+
tmp$ret$3 = tmp1_arrayOf;
|
|
294
|
+
tmp$ret$4 = tmp$ret$3;
|
|
295
|
+
tmp$ret$5 = tmp$ret$4;
|
|
296
|
+
var tmp_1 = tmp$ret$5;
|
|
297
|
+
var tmp$ret$8;
|
|
298
|
+
// Inline function 'kotlin.arrayOf' call
|
|
299
|
+
var tmp$ret$7;
|
|
300
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
301
|
+
var tmp$ret$6;
|
|
302
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
303
|
+
tmp$ret$6 = [];
|
|
304
|
+
tmp$ret$7 = tmp$ret$6;
|
|
305
|
+
tmp$ret$8 = tmp$ret$7;
|
|
306
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.ContinueGameReason', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
307
|
+
}
|
|
308
|
+
function Companion() {
|
|
309
|
+
Companion_instance = this;
|
|
310
|
+
var tmp = this;
|
|
311
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
312
|
+
tmp.t2k_1 = lazy(tmp_0, ContinueGameReason$Companion$$cachedSerializer$delegate$_anonymous__qpmdon);
|
|
313
|
+
}
|
|
314
|
+
Companion.prototype.l25 = function () {
|
|
315
|
+
return this.t2k_1.c2();
|
|
316
|
+
};
|
|
317
|
+
Companion.prototype.b1u = function (typeParamsSerializers) {
|
|
318
|
+
return this.l25();
|
|
319
|
+
};
|
|
320
|
+
Companion.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
321
|
+
var Companion_instance;
|
|
322
|
+
function Companion_getInstance() {
|
|
323
|
+
if (Companion_instance == null)
|
|
324
|
+
new Companion();
|
|
325
|
+
return Companion_instance;
|
|
326
|
+
}
|
|
327
|
+
function ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this) {
|
|
328
|
+
return $this;
|
|
329
|
+
}
|
|
330
|
+
function ContinueGameReason() {
|
|
331
|
+
Companion_getInstance();
|
|
332
|
+
}
|
|
333
|
+
ContinueGameReason.$metadata$ = classMeta('ContinueGameReason', undefined, undefined, {0: Companion_getInstance});
|
|
334
|
+
function Companion_0() {
|
|
335
|
+
Companion_instance_0 = this;
|
|
336
|
+
}
|
|
337
|
+
Companion_0.$metadata$ = objectMeta('Companion');
|
|
338
|
+
var Companion_instance_0;
|
|
339
|
+
function Companion_getInstance_0() {
|
|
340
|
+
if (Companion_instance_0 == null)
|
|
341
|
+
new Companion_0();
|
|
342
|
+
return Companion_instance_0;
|
|
343
|
+
}
|
|
344
|
+
function $serializer() {
|
|
345
|
+
$serializer_instance = this;
|
|
346
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
347
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
348
|
+
this.u2k_1 = tmp0_serialDesc;
|
|
349
|
+
}
|
|
350
|
+
$serializer.prototype.q1i = function () {
|
|
351
|
+
return this.u2k_1;
|
|
352
|
+
};
|
|
353
|
+
$serializer.prototype.s1t = function () {
|
|
354
|
+
var tmp$ret$2;
|
|
355
|
+
// Inline function 'kotlin.arrayOf' call
|
|
356
|
+
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
357
|
+
var tmp$ret$1;
|
|
358
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
359
|
+
var tmp$ret$0;
|
|
360
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
361
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
362
|
+
tmp$ret$1 = tmp$ret$0;
|
|
363
|
+
tmp$ret$2 = tmp$ret$1;
|
|
364
|
+
return tmp$ret$2;
|
|
365
|
+
};
|
|
366
|
+
$serializer.prototype.s1i = function (decoder) {
|
|
367
|
+
var tmp0_desc = this.u2k_1;
|
|
368
|
+
var tmp1_flag = true;
|
|
369
|
+
var tmp2_index = 0;
|
|
370
|
+
var tmp3_bitMask0 = 0;
|
|
371
|
+
var tmp4_local0 = null;
|
|
372
|
+
var tmp5_input = decoder.y1l(tmp0_desc);
|
|
373
|
+
if (tmp5_input.n1m()) {
|
|
374
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
375
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
376
|
+
} else
|
|
377
|
+
while (tmp1_flag) {
|
|
378
|
+
tmp2_index = tmp5_input.o1m(tmp0_desc);
|
|
379
|
+
switch (tmp2_index) {
|
|
380
|
+
case -1:
|
|
381
|
+
tmp1_flag = false;
|
|
382
|
+
break;
|
|
383
|
+
case 0:
|
|
384
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
385
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
386
|
+
break;
|
|
387
|
+
default:
|
|
388
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
tmp5_input.z1l(tmp0_desc);
|
|
392
|
+
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
393
|
+
};
|
|
394
|
+
$serializer.prototype.v2k = function (encoder, value) {
|
|
395
|
+
var tmp0_desc = this.u2k_1;
|
|
396
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
397
|
+
tmp1_output.m1n(tmp0_desc, 0, value.w2k_1);
|
|
398
|
+
tmp1_output.z1l(tmp0_desc);
|
|
399
|
+
};
|
|
400
|
+
$serializer.prototype.r1i = function (encoder, value) {
|
|
401
|
+
return this.v2k(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
402
|
+
};
|
|
403
|
+
$serializer.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
404
|
+
var $serializer_instance;
|
|
405
|
+
function $serializer_getInstance() {
|
|
406
|
+
if ($serializer_instance == null)
|
|
407
|
+
new $serializer();
|
|
408
|
+
return $serializer_instance;
|
|
409
|
+
}
|
|
410
|
+
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
411
|
+
if (!(1 === (1 & seen1))) {
|
|
412
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().u2k_1);
|
|
413
|
+
}
|
|
414
|
+
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
415
|
+
$this.w2k_1 = playerId;
|
|
416
|
+
return $this;
|
|
417
|
+
}
|
|
418
|
+
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
419
|
+
return PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, Object.create(PlayerReturnsReason.prototype));
|
|
420
|
+
}
|
|
421
|
+
function PlayerReturnsReason(playerId) {
|
|
422
|
+
Companion_getInstance_0();
|
|
423
|
+
ContinueGameReason.call(this);
|
|
424
|
+
this.w2k_1 = playerId;
|
|
425
|
+
}
|
|
426
|
+
PlayerReturnsReason.prototype.toString = function () {
|
|
427
|
+
return 'PlayerReturnsReason(playerId=' + this.w2k_1 + ')';
|
|
428
|
+
};
|
|
429
|
+
PlayerReturnsReason.prototype.hashCode = function () {
|
|
430
|
+
return getStringHashCode(this.w2k_1);
|
|
431
|
+
};
|
|
432
|
+
PlayerReturnsReason.prototype.equals = function (other) {
|
|
433
|
+
if (this === other)
|
|
434
|
+
return true;
|
|
435
|
+
if (!(other instanceof PlayerReturnsReason))
|
|
436
|
+
return false;
|
|
437
|
+
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
438
|
+
if (!(this.w2k_1 === tmp0_other_with_cast.w2k_1))
|
|
439
|
+
return false;
|
|
440
|
+
return true;
|
|
441
|
+
};
|
|
442
|
+
PlayerReturnsReason.$metadata$ = classMeta('PlayerReturnsReason', undefined, undefined, {0: $serializer_getInstance}, undefined, ContinueGameReason.prototype);
|
|
217
443
|
function RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb() {
|
|
218
444
|
var tmp = RestartGameReason_getInstance();
|
|
219
445
|
var tmp$ret$2;
|
|
@@ -231,16 +457,16 @@
|
|
|
231
457
|
RestartGameReason_instance = this;
|
|
232
458
|
var tmp = this;
|
|
233
459
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
234
|
-
tmp.
|
|
460
|
+
tmp.x2k_1 = lazy(tmp_0, RestartGameReason$$cachedSerializer$delegate$_anonymous__9ra4fb);
|
|
235
461
|
}
|
|
236
462
|
RestartGameReason.prototype.toString = function () {
|
|
237
463
|
return 'RestartGameReason';
|
|
238
464
|
};
|
|
239
|
-
RestartGameReason.prototype.
|
|
240
|
-
return this.
|
|
465
|
+
RestartGameReason.prototype.l25 = function () {
|
|
466
|
+
return this.x2k_1.c2();
|
|
241
467
|
};
|
|
242
|
-
RestartGameReason.prototype.
|
|
243
|
-
return this.
|
|
468
|
+
RestartGameReason.prototype.b1u = function (typeParamsSerializers) {
|
|
469
|
+
return this.l25();
|
|
244
470
|
};
|
|
245
471
|
RestartGameReason.$metadata$ = objectMeta('RestartGameReason', [SerializerFactory], undefined, {0: RestartGameReason_getInstance});
|
|
246
472
|
var RestartGameReason_instance;
|
|
@@ -262,9 +488,10 @@
|
|
|
262
488
|
tmp$ret$1 = tmp$ret$0;
|
|
263
489
|
tmp$ret$2 = tmp$ret$1;
|
|
264
490
|
var tmp_0 = tmp$ret$2;
|
|
265
|
-
var tmp$ret$
|
|
491
|
+
var tmp$ret$14;
|
|
266
492
|
// Inline function 'kotlin.arrayOf' call
|
|
267
|
-
var tmp_1 =
|
|
493
|
+
var tmp_1 = $serializer_getInstance_0();
|
|
494
|
+
var tmp_2 = GameFinishedReason_getInstance();
|
|
268
495
|
var tmp$ret$5;
|
|
269
496
|
// Inline function 'kotlin.arrayOf' call
|
|
270
497
|
var tmp$ret$4;
|
|
@@ -274,8 +501,11 @@
|
|
|
274
501
|
tmp$ret$3 = [];
|
|
275
502
|
tmp$ret$4 = tmp$ret$3;
|
|
276
503
|
tmp$ret$5 = tmp$ret$4;
|
|
277
|
-
var
|
|
278
|
-
var
|
|
504
|
+
var tmp_3 = ObjectSerializer_init_$Create$('GAME_FINISHED_TYPE', tmp_2, tmp$ret$5);
|
|
505
|
+
var tmp_4 = $serializer_getInstance_1();
|
|
506
|
+
var tmp_5 = $serializer_getInstance_2();
|
|
507
|
+
var tmp_6 = $serializer_getInstance_3();
|
|
508
|
+
var tmp_7 = ProcessingReason_getInstance();
|
|
279
509
|
var tmp$ret$8;
|
|
280
510
|
// Inline function 'kotlin.arrayOf' call
|
|
281
511
|
var tmp$ret$7;
|
|
@@ -285,11 +515,8 @@
|
|
|
285
515
|
tmp$ret$6 = [];
|
|
286
516
|
tmp$ret$7 = tmp$ret$6;
|
|
287
517
|
tmp$ret$8 = tmp$ret$7;
|
|
288
|
-
var
|
|
289
|
-
var
|
|
290
|
-
var tmp_6 = $serializer_getInstance_0();
|
|
291
|
-
var tmp_7 = $serializer_getInstance_1();
|
|
292
|
-
var tmp_8 = ProcessingReason_getInstance();
|
|
518
|
+
var tmp_8 = ObjectSerializer_init_$Create$('PROCESSING_TYPE', tmp_7, tmp$ret$8);
|
|
519
|
+
var tmp_9 = WaitingForConnectionReason_getInstance();
|
|
293
520
|
var tmp$ret$11;
|
|
294
521
|
// Inline function 'kotlin.arrayOf' call
|
|
295
522
|
var tmp$ret$10;
|
|
@@ -299,55 +526,44 @@
|
|
|
299
526
|
tmp$ret$9 = [];
|
|
300
527
|
tmp$ret$10 = tmp$ret$9;
|
|
301
528
|
tmp$ret$11 = tmp$ret$10;
|
|
302
|
-
var
|
|
303
|
-
var tmp_10 = WaitingForConnectionReason_getInstance();
|
|
304
|
-
var tmp$ret$14;
|
|
305
|
-
// Inline function 'kotlin.arrayOf' call
|
|
529
|
+
var tmp1_arrayOf = [tmp_1, tmp_3, tmp_4, tmp_5, tmp_6, tmp_8, ObjectSerializer_init_$Create$('WAITING_FOR_CONNECTION_TYPE', tmp_9, tmp$ret$11)];
|
|
306
530
|
var tmp$ret$13;
|
|
307
531
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
308
532
|
var tmp$ret$12;
|
|
309
533
|
// Inline function 'kotlin.js.asDynamic' call
|
|
310
|
-
tmp$ret$12 =
|
|
534
|
+
tmp$ret$12 = tmp1_arrayOf;
|
|
311
535
|
tmp$ret$13 = tmp$ret$12;
|
|
312
536
|
tmp$ret$14 = tmp$ret$13;
|
|
313
|
-
var
|
|
537
|
+
var tmp_10 = tmp$ret$14;
|
|
538
|
+
var tmp$ret$17;
|
|
539
|
+
// Inline function 'kotlin.arrayOf' call
|
|
314
540
|
var tmp$ret$16;
|
|
315
541
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
316
542
|
var tmp$ret$15;
|
|
317
543
|
// Inline function 'kotlin.js.asDynamic' call
|
|
318
|
-
tmp$ret$15 =
|
|
544
|
+
tmp$ret$15 = [];
|
|
319
545
|
tmp$ret$16 = tmp$ret$15;
|
|
320
546
|
tmp$ret$17 = tmp$ret$16;
|
|
321
|
-
|
|
322
|
-
var tmp$ret$20;
|
|
323
|
-
// Inline function 'kotlin.arrayOf' call
|
|
324
|
-
var tmp$ret$19;
|
|
325
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
326
|
-
var tmp$ret$18;
|
|
327
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
328
|
-
tmp$ret$18 = [];
|
|
329
|
-
tmp$ret$19 = tmp$ret$18;
|
|
330
|
-
tmp$ret$20 = tmp$ret$19;
|
|
331
|
-
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_11, tmp$ret$20);
|
|
547
|
+
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_10, tmp$ret$17);
|
|
332
548
|
}
|
|
333
|
-
function
|
|
334
|
-
|
|
549
|
+
function Companion_1() {
|
|
550
|
+
Companion_instance_1 = this;
|
|
335
551
|
var tmp = this;
|
|
336
552
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
337
|
-
tmp.
|
|
553
|
+
tmp.y2k_1 = lazy(tmp_0, TerminationGameReason$Companion$$cachedSerializer$delegate$_anonymous__honqx0);
|
|
338
554
|
}
|
|
339
|
-
|
|
340
|
-
return this.
|
|
555
|
+
Companion_1.prototype.serializer = function () {
|
|
556
|
+
return this.y2k_1.c2();
|
|
341
557
|
};
|
|
342
|
-
|
|
558
|
+
Companion_1.prototype.b1u = function (typeParamsSerializers) {
|
|
343
559
|
return this.serializer();
|
|
344
560
|
};
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
function
|
|
348
|
-
if (
|
|
349
|
-
new
|
|
350
|
-
return
|
|
561
|
+
Companion_1.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
562
|
+
var Companion_instance_1;
|
|
563
|
+
function Companion_getInstance_1() {
|
|
564
|
+
if (Companion_instance_1 == null)
|
|
565
|
+
new Companion_1();
|
|
566
|
+
return Companion_instance_1;
|
|
351
567
|
}
|
|
352
568
|
function TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this) {
|
|
353
569
|
return $this;
|
|
@@ -356,45 +572,118 @@
|
|
|
356
572
|
return TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, Object.create(TerminationGameReason.prototype));
|
|
357
573
|
}
|
|
358
574
|
function TerminationGameReason() {
|
|
359
|
-
|
|
575
|
+
Companion_getInstance_1();
|
|
360
576
|
}
|
|
361
|
-
TerminationGameReason.$metadata$ = classMeta('TerminationGameReason', undefined, undefined, {0:
|
|
362
|
-
function
|
|
363
|
-
|
|
577
|
+
TerminationGameReason.$metadata$ = classMeta('TerminationGameReason', undefined, undefined, {0: Companion_getInstance_1});
|
|
578
|
+
function Companion_2() {
|
|
579
|
+
Companion_instance_2 = this;
|
|
580
|
+
}
|
|
581
|
+
Companion_2.$metadata$ = objectMeta('Companion');
|
|
582
|
+
var Companion_instance_2;
|
|
583
|
+
function Companion_getInstance_2() {
|
|
584
|
+
if (Companion_instance_2 == null)
|
|
585
|
+
new Companion_2();
|
|
586
|
+
return Companion_instance_2;
|
|
587
|
+
}
|
|
588
|
+
function $serializer_0() {
|
|
589
|
+
$serializer_instance_0 = this;
|
|
590
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
591
|
+
tmp0_serialDesc.d1t('reason', false);
|
|
592
|
+
this.z2k_1 = tmp0_serialDesc;
|
|
593
|
+
}
|
|
594
|
+
$serializer_0.prototype.q1i = function () {
|
|
595
|
+
return this.z2k_1;
|
|
596
|
+
};
|
|
597
|
+
$serializer_0.prototype.s1t = function () {
|
|
364
598
|
var tmp$ret$2;
|
|
365
599
|
// Inline function 'kotlin.arrayOf' call
|
|
600
|
+
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
366
601
|
var tmp$ret$1;
|
|
367
602
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
368
603
|
var tmp$ret$0;
|
|
369
604
|
// Inline function 'kotlin.js.asDynamic' call
|
|
370
|
-
tmp$ret$0 =
|
|
605
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
371
606
|
tmp$ret$1 = tmp$ret$0;
|
|
372
607
|
tmp$ret$2 = tmp$ret$1;
|
|
373
|
-
return
|
|
608
|
+
return tmp$ret$2;
|
|
609
|
+
};
|
|
610
|
+
$serializer_0.prototype.s1i = function (decoder) {
|
|
611
|
+
var tmp0_desc = this.z2k_1;
|
|
612
|
+
var tmp1_flag = true;
|
|
613
|
+
var tmp2_index = 0;
|
|
614
|
+
var tmp3_bitMask0 = 0;
|
|
615
|
+
var tmp4_local0 = null;
|
|
616
|
+
var tmp5_input = decoder.y1l(tmp0_desc);
|
|
617
|
+
if (tmp5_input.n1m()) {
|
|
618
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
619
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
620
|
+
} else
|
|
621
|
+
while (tmp1_flag) {
|
|
622
|
+
tmp2_index = tmp5_input.o1m(tmp0_desc);
|
|
623
|
+
switch (tmp2_index) {
|
|
624
|
+
case -1:
|
|
625
|
+
tmp1_flag = false;
|
|
626
|
+
break;
|
|
627
|
+
case 0:
|
|
628
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
629
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
630
|
+
break;
|
|
631
|
+
default:
|
|
632
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
tmp5_input.z1l(tmp0_desc);
|
|
636
|
+
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
637
|
+
};
|
|
638
|
+
$serializer_0.prototype.a2l = function (encoder, value) {
|
|
639
|
+
var tmp0_desc = this.z2k_1;
|
|
640
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
641
|
+
tmp1_output.m1n(tmp0_desc, 0, value.b2l_1);
|
|
642
|
+
tmp1_output.z1l(tmp0_desc);
|
|
643
|
+
};
|
|
644
|
+
$serializer_0.prototype.r1i = function (encoder, value) {
|
|
645
|
+
return this.a2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
646
|
+
};
|
|
647
|
+
$serializer_0.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
648
|
+
var $serializer_instance_0;
|
|
649
|
+
function $serializer_getInstance_0() {
|
|
650
|
+
if ($serializer_instance_0 == null)
|
|
651
|
+
new $serializer_0();
|
|
652
|
+
return $serializer_instance_0;
|
|
653
|
+
}
|
|
654
|
+
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
655
|
+
if (!(1 === (1 & seen1))) {
|
|
656
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().z2k_1);
|
|
657
|
+
}
|
|
658
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
659
|
+
$this.b2l_1 = reason;
|
|
660
|
+
return $this;
|
|
374
661
|
}
|
|
375
|
-
function
|
|
376
|
-
|
|
662
|
+
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
663
|
+
return GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, Object.create(GameErrorReason.prototype));
|
|
664
|
+
}
|
|
665
|
+
function GameErrorReason(reason) {
|
|
666
|
+
Companion_getInstance_2();
|
|
377
667
|
TerminationGameReason.call(this);
|
|
378
|
-
|
|
379
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
380
|
-
tmp.e1z_1 = lazy(tmp_0, GameErrorReason$$cachedSerializer$delegate$_anonymous__p2u5b0);
|
|
668
|
+
this.b2l_1 = reason;
|
|
381
669
|
}
|
|
382
670
|
GameErrorReason.prototype.toString = function () {
|
|
383
|
-
return 'GameErrorReason';
|
|
671
|
+
return 'GameErrorReason(reason=' + this.b2l_1 + ')';
|
|
384
672
|
};
|
|
385
|
-
GameErrorReason.prototype.
|
|
386
|
-
return this.
|
|
673
|
+
GameErrorReason.prototype.hashCode = function () {
|
|
674
|
+
return getStringHashCode(this.b2l_1);
|
|
387
675
|
};
|
|
388
|
-
GameErrorReason.prototype.
|
|
389
|
-
|
|
676
|
+
GameErrorReason.prototype.equals = function (other) {
|
|
677
|
+
if (this === other)
|
|
678
|
+
return true;
|
|
679
|
+
if (!(other instanceof GameErrorReason))
|
|
680
|
+
return false;
|
|
681
|
+
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
682
|
+
if (!(this.b2l_1 === tmp0_other_with_cast.b2l_1))
|
|
683
|
+
return false;
|
|
684
|
+
return true;
|
|
390
685
|
};
|
|
391
|
-
GameErrorReason.$metadata$ =
|
|
392
|
-
var GameErrorReason_instance;
|
|
393
|
-
function GameErrorReason_getInstance() {
|
|
394
|
-
if (GameErrorReason_instance == null)
|
|
395
|
-
new GameErrorReason();
|
|
396
|
-
return GameErrorReason_instance;
|
|
397
|
-
}
|
|
686
|
+
GameErrorReason.$metadata$ = classMeta('GameErrorReason', undefined, undefined, {0: $serializer_getInstance_0}, undefined, TerminationGameReason.prototype);
|
|
398
687
|
function GameFinishedReason$$cachedSerializer$delegate$_anonymous__474t2i() {
|
|
399
688
|
var tmp = GameFinishedReason_getInstance();
|
|
400
689
|
var tmp$ret$2;
|
|
@@ -413,16 +702,16 @@
|
|
|
413
702
|
TerminationGameReason.call(this);
|
|
414
703
|
var tmp = this;
|
|
415
704
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
416
|
-
tmp.
|
|
705
|
+
tmp.c2l_1 = lazy(tmp_0, GameFinishedReason$$cachedSerializer$delegate$_anonymous__474t2i);
|
|
417
706
|
}
|
|
418
707
|
GameFinishedReason.prototype.toString = function () {
|
|
419
708
|
return 'GameFinishedReason';
|
|
420
709
|
};
|
|
421
|
-
GameFinishedReason.prototype.
|
|
422
|
-
return this.
|
|
710
|
+
GameFinishedReason.prototype.l25 = function () {
|
|
711
|
+
return this.c2l_1.c2();
|
|
423
712
|
};
|
|
424
|
-
GameFinishedReason.prototype.
|
|
425
|
-
return this.
|
|
713
|
+
GameFinishedReason.prototype.b1u = function (typeParamsSerializers) {
|
|
714
|
+
return this.l25();
|
|
426
715
|
};
|
|
427
716
|
GameFinishedReason.$metadata$ = objectMeta('GameFinishedReason', [SerializerFactory], undefined, {0: GameFinishedReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
428
717
|
var GameFinishedReason_instance;
|
|
@@ -431,26 +720,26 @@
|
|
|
431
720
|
new GameFinishedReason();
|
|
432
721
|
return GameFinishedReason_instance;
|
|
433
722
|
}
|
|
434
|
-
function
|
|
435
|
-
|
|
723
|
+
function Companion_3() {
|
|
724
|
+
Companion_instance_3 = this;
|
|
436
725
|
}
|
|
437
|
-
|
|
438
|
-
var
|
|
439
|
-
function
|
|
440
|
-
if (
|
|
441
|
-
new
|
|
442
|
-
return
|
|
726
|
+
Companion_3.$metadata$ = objectMeta('Companion');
|
|
727
|
+
var Companion_instance_3;
|
|
728
|
+
function Companion_getInstance_3() {
|
|
729
|
+
if (Companion_instance_3 == null)
|
|
730
|
+
new Companion_3();
|
|
731
|
+
return Companion_instance_3;
|
|
443
732
|
}
|
|
444
|
-
function $
|
|
445
|
-
$
|
|
733
|
+
function $serializer_1() {
|
|
734
|
+
$serializer_instance_1 = this;
|
|
446
735
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
447
|
-
tmp0_serialDesc.
|
|
448
|
-
this.
|
|
736
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
737
|
+
this.d2l_1 = tmp0_serialDesc;
|
|
449
738
|
}
|
|
450
|
-
$
|
|
451
|
-
return this.
|
|
739
|
+
$serializer_1.prototype.q1i = function () {
|
|
740
|
+
return this.d2l_1;
|
|
452
741
|
};
|
|
453
|
-
$
|
|
742
|
+
$serializer_1.prototype.s1t = function () {
|
|
454
743
|
var tmp$ret$2;
|
|
455
744
|
// Inline function 'kotlin.arrayOf' call
|
|
456
745
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -463,26 +752,74 @@
|
|
|
463
752
|
tmp$ret$2 = tmp$ret$1;
|
|
464
753
|
return tmp$ret$2;
|
|
465
754
|
};
|
|
466
|
-
$
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
755
|
+
$serializer_1.prototype.s1i = function (decoder) {
|
|
756
|
+
var tmp0_desc = this.d2l_1;
|
|
757
|
+
var tmp1_flag = true;
|
|
758
|
+
var tmp2_index = 0;
|
|
759
|
+
var tmp3_bitMask0 = 0;
|
|
760
|
+
var tmp4_local0 = null;
|
|
761
|
+
var tmp5_input = decoder.y1l(tmp0_desc);
|
|
762
|
+
if (tmp5_input.n1m()) {
|
|
763
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
764
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
765
|
+
} else
|
|
766
|
+
while (tmp1_flag) {
|
|
767
|
+
tmp2_index = tmp5_input.o1m(tmp0_desc);
|
|
768
|
+
switch (tmp2_index) {
|
|
769
|
+
case -1:
|
|
770
|
+
tmp1_flag = false;
|
|
771
|
+
break;
|
|
772
|
+
case 0:
|
|
773
|
+
tmp4_local0 = tmp5_input.i1m(tmp0_desc, 0);
|
|
774
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
775
|
+
break;
|
|
776
|
+
default:
|
|
777
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
tmp5_input.z1l(tmp0_desc);
|
|
781
|
+
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
782
|
+
};
|
|
783
|
+
$serializer_1.prototype.e2l = function (encoder, value) {
|
|
784
|
+
var tmp0_desc = this.d2l_1;
|
|
785
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
786
|
+
tmp1_output.m1n(tmp0_desc, 0, value.f2l_1);
|
|
787
|
+
tmp1_output.z1l(tmp0_desc);
|
|
788
|
+
};
|
|
789
|
+
$serializer_1.prototype.r1i = function (encoder, value) {
|
|
790
|
+
return this.e2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
791
|
+
};
|
|
792
|
+
$serializer_1.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
793
|
+
var $serializer_instance_1;
|
|
794
|
+
function $serializer_getInstance_1() {
|
|
795
|
+
if ($serializer_instance_1 == null)
|
|
796
|
+
new $serializer_1();
|
|
797
|
+
return $serializer_instance_1;
|
|
798
|
+
}
|
|
799
|
+
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
800
|
+
if (!(1 === (1 & seen1))) {
|
|
801
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_1().d2l_1);
|
|
802
|
+
}
|
|
803
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
804
|
+
$this.f2l_1 = playerId;
|
|
805
|
+
return $this;
|
|
806
|
+
}
|
|
807
|
+
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
808
|
+
return PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, Object.create(PlayerExitReason.prototype));
|
|
472
809
|
}
|
|
473
810
|
function PlayerExitReason(playerId) {
|
|
474
|
-
|
|
811
|
+
Companion_getInstance_3();
|
|
475
812
|
TerminationGameReason.call(this);
|
|
476
|
-
this.
|
|
813
|
+
this.f2l_1 = playerId;
|
|
477
814
|
}
|
|
478
|
-
PlayerExitReason.prototype.
|
|
479
|
-
return this.
|
|
815
|
+
PlayerExitReason.prototype.g2l = function () {
|
|
816
|
+
return this.f2l_1;
|
|
480
817
|
};
|
|
481
818
|
PlayerExitReason.prototype.toString = function () {
|
|
482
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
819
|
+
return 'PlayerExitReason(playerId=' + this.f2l_1 + ')';
|
|
483
820
|
};
|
|
484
821
|
PlayerExitReason.prototype.hashCode = function () {
|
|
485
|
-
return getStringHashCode(this.
|
|
822
|
+
return getStringHashCode(this.f2l_1);
|
|
486
823
|
};
|
|
487
824
|
PlayerExitReason.prototype.equals = function (other) {
|
|
488
825
|
if (this === other)
|
|
@@ -490,32 +827,32 @@
|
|
|
490
827
|
if (!(other instanceof PlayerExitReason))
|
|
491
828
|
return false;
|
|
492
829
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
493
|
-
if (!(this.
|
|
830
|
+
if (!(this.f2l_1 === tmp0_other_with_cast.f2l_1))
|
|
494
831
|
return false;
|
|
495
832
|
return true;
|
|
496
833
|
};
|
|
497
|
-
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $
|
|
498
|
-
function
|
|
499
|
-
|
|
834
|
+
PlayerExitReason.$metadata$ = classMeta('PlayerExitReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_1}, undefined, TerminationGameReason.prototype);
|
|
835
|
+
function Companion_4() {
|
|
836
|
+
Companion_instance_4 = this;
|
|
500
837
|
}
|
|
501
|
-
|
|
502
|
-
var
|
|
503
|
-
function
|
|
504
|
-
if (
|
|
505
|
-
new
|
|
506
|
-
return
|
|
838
|
+
Companion_4.$metadata$ = objectMeta('Companion');
|
|
839
|
+
var Companion_instance_4;
|
|
840
|
+
function Companion_getInstance_4() {
|
|
841
|
+
if (Companion_instance_4 == null)
|
|
842
|
+
new Companion_4();
|
|
843
|
+
return Companion_instance_4;
|
|
507
844
|
}
|
|
508
|
-
function $
|
|
509
|
-
$
|
|
845
|
+
function $serializer_2() {
|
|
846
|
+
$serializer_instance_2 = this;
|
|
510
847
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
511
|
-
tmp0_serialDesc.
|
|
512
|
-
tmp0_serialDesc.
|
|
513
|
-
this.
|
|
848
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
849
|
+
tmp0_serialDesc.d1t('tag', false);
|
|
850
|
+
this.h2l_1 = tmp0_serialDesc;
|
|
514
851
|
}
|
|
515
|
-
$
|
|
516
|
-
return this.
|
|
852
|
+
$serializer_2.prototype.q1i = function () {
|
|
853
|
+
return this.h2l_1;
|
|
517
854
|
};
|
|
518
|
-
$
|
|
855
|
+
$serializer_2.prototype.s1t = function () {
|
|
519
856
|
var tmp$ret$2;
|
|
520
857
|
// Inline function 'kotlin.arrayOf' call
|
|
521
858
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -528,28 +865,85 @@
|
|
|
528
865
|
tmp$ret$2 = tmp$ret$1;
|
|
529
866
|
return tmp$ret$2;
|
|
530
867
|
};
|
|
531
|
-
$
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
868
|
+
$serializer_2.prototype.s1i = function (decoder) {
|
|
869
|
+
var tmp0_desc = this.h2l_1;
|
|
870
|
+
var tmp1_flag = true;
|
|
871
|
+
var tmp2_index = 0;
|
|
872
|
+
var tmp3_bitMask0 = 0;
|
|
873
|
+
var tmp4_local0 = null;
|
|
874
|
+
var tmp5_local1 = null;
|
|
875
|
+
var tmp6_input = decoder.y1l(tmp0_desc);
|
|
876
|
+
if (tmp6_input.n1m()) {
|
|
877
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
878
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
879
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
880
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
881
|
+
} else
|
|
882
|
+
while (tmp1_flag) {
|
|
883
|
+
tmp2_index = tmp6_input.o1m(tmp0_desc);
|
|
884
|
+
switch (tmp2_index) {
|
|
885
|
+
case -1:
|
|
886
|
+
tmp1_flag = false;
|
|
887
|
+
break;
|
|
888
|
+
case 0:
|
|
889
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
890
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
891
|
+
break;
|
|
892
|
+
case 1:
|
|
893
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
894
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
895
|
+
break;
|
|
896
|
+
default:
|
|
897
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
tmp6_input.z1l(tmp0_desc);
|
|
901
|
+
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
902
|
+
};
|
|
903
|
+
$serializer_2.prototype.i2l = function (encoder, value) {
|
|
904
|
+
var tmp0_desc = this.h2l_1;
|
|
905
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
906
|
+
tmp1_output.m1n(tmp0_desc, 0, value.j2l_1);
|
|
907
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.k2l_1);
|
|
908
|
+
tmp1_output.z1l(tmp0_desc);
|
|
909
|
+
};
|
|
910
|
+
$serializer_2.prototype.r1i = function (encoder, value) {
|
|
911
|
+
return this.i2l(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
912
|
+
};
|
|
913
|
+
$serializer_2.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
914
|
+
var $serializer_instance_2;
|
|
915
|
+
function $serializer_getInstance_2() {
|
|
916
|
+
if ($serializer_instance_2 == null)
|
|
917
|
+
new $serializer_2();
|
|
918
|
+
return $serializer_instance_2;
|
|
919
|
+
}
|
|
920
|
+
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
921
|
+
if (!(3 === (3 & seen1))) {
|
|
922
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_2().h2l_1);
|
|
923
|
+
}
|
|
924
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
925
|
+
$this.j2l_1 = playerId;
|
|
926
|
+
$this.k2l_1 = tag;
|
|
927
|
+
return $this;
|
|
928
|
+
}
|
|
929
|
+
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
930
|
+
return PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerLostConnectionReason.prototype));
|
|
537
931
|
}
|
|
538
932
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
539
|
-
|
|
933
|
+
Companion_getInstance_4();
|
|
540
934
|
TerminationGameReason.call(this);
|
|
541
|
-
this.
|
|
542
|
-
this.
|
|
935
|
+
this.j2l_1 = playerId;
|
|
936
|
+
this.k2l_1 = tag;
|
|
543
937
|
}
|
|
544
|
-
PlayerLostConnectionReason.prototype.
|
|
545
|
-
return this.
|
|
938
|
+
PlayerLostConnectionReason.prototype.g2l = function () {
|
|
939
|
+
return this.j2l_1;
|
|
546
940
|
};
|
|
547
941
|
PlayerLostConnectionReason.prototype.toString = function () {
|
|
548
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
942
|
+
return 'PlayerLostConnectionReason(playerId=' + this.j2l_1 + ', tag=' + this.k2l_1 + ')';
|
|
549
943
|
};
|
|
550
944
|
PlayerLostConnectionReason.prototype.hashCode = function () {
|
|
551
|
-
var result = getStringHashCode(this.
|
|
552
|
-
result = imul(result, 31) + (this.
|
|
945
|
+
var result = getStringHashCode(this.j2l_1);
|
|
946
|
+
result = imul(result, 31) + (this.k2l_1 == null ? 0 : getStringHashCode(this.k2l_1)) | 0;
|
|
553
947
|
return result;
|
|
554
948
|
};
|
|
555
949
|
PlayerLostConnectionReason.prototype.equals = function (other) {
|
|
@@ -558,34 +952,34 @@
|
|
|
558
952
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
559
953
|
return false;
|
|
560
954
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
561
|
-
if (!(this.
|
|
955
|
+
if (!(this.j2l_1 === tmp0_other_with_cast.j2l_1))
|
|
562
956
|
return false;
|
|
563
|
-
if (!(this.
|
|
957
|
+
if (!(this.k2l_1 == tmp0_other_with_cast.k2l_1))
|
|
564
958
|
return false;
|
|
565
959
|
return true;
|
|
566
960
|
};
|
|
567
|
-
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $
|
|
568
|
-
function
|
|
569
|
-
|
|
961
|
+
PlayerLostConnectionReason.$metadata$ = classMeta('PlayerLostConnectionReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_2}, undefined, TerminationGameReason.prototype);
|
|
962
|
+
function Companion_5() {
|
|
963
|
+
Companion_instance_5 = this;
|
|
570
964
|
}
|
|
571
|
-
|
|
572
|
-
var
|
|
573
|
-
function
|
|
574
|
-
if (
|
|
575
|
-
new
|
|
576
|
-
return
|
|
965
|
+
Companion_5.$metadata$ = objectMeta('Companion');
|
|
966
|
+
var Companion_instance_5;
|
|
967
|
+
function Companion_getInstance_5() {
|
|
968
|
+
if (Companion_instance_5 == null)
|
|
969
|
+
new Companion_5();
|
|
970
|
+
return Companion_instance_5;
|
|
577
971
|
}
|
|
578
|
-
function $
|
|
579
|
-
$
|
|
972
|
+
function $serializer_3() {
|
|
973
|
+
$serializer_instance_3 = this;
|
|
580
974
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
581
|
-
tmp0_serialDesc.
|
|
582
|
-
tmp0_serialDesc.
|
|
583
|
-
this.
|
|
975
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
976
|
+
tmp0_serialDesc.d1t('tag', false);
|
|
977
|
+
this.l2l_1 = tmp0_serialDesc;
|
|
584
978
|
}
|
|
585
|
-
$
|
|
586
|
-
return this.
|
|
979
|
+
$serializer_3.prototype.q1i = function () {
|
|
980
|
+
return this.l2l_1;
|
|
587
981
|
};
|
|
588
|
-
$
|
|
982
|
+
$serializer_3.prototype.s1t = function () {
|
|
589
983
|
var tmp$ret$2;
|
|
590
984
|
// Inline function 'kotlin.arrayOf' call
|
|
591
985
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -598,28 +992,85 @@
|
|
|
598
992
|
tmp$ret$2 = tmp$ret$1;
|
|
599
993
|
return tmp$ret$2;
|
|
600
994
|
};
|
|
601
|
-
$
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
995
|
+
$serializer_3.prototype.s1i = function (decoder) {
|
|
996
|
+
var tmp0_desc = this.l2l_1;
|
|
997
|
+
var tmp1_flag = true;
|
|
998
|
+
var tmp2_index = 0;
|
|
999
|
+
var tmp3_bitMask0 = 0;
|
|
1000
|
+
var tmp4_local0 = null;
|
|
1001
|
+
var tmp5_local1 = null;
|
|
1002
|
+
var tmp6_input = decoder.y1l(tmp0_desc);
|
|
1003
|
+
if (tmp6_input.n1m()) {
|
|
1004
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
1005
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1006
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1007
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1008
|
+
} else
|
|
1009
|
+
while (tmp1_flag) {
|
|
1010
|
+
tmp2_index = tmp6_input.o1m(tmp0_desc);
|
|
1011
|
+
switch (tmp2_index) {
|
|
1012
|
+
case -1:
|
|
1013
|
+
tmp1_flag = false;
|
|
1014
|
+
break;
|
|
1015
|
+
case 0:
|
|
1016
|
+
tmp4_local0 = tmp6_input.i1m(tmp0_desc, 0);
|
|
1017
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1018
|
+
break;
|
|
1019
|
+
case 1:
|
|
1020
|
+
tmp5_local1 = tmp6_input.m1m(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1021
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1022
|
+
break;
|
|
1023
|
+
default:
|
|
1024
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
tmp6_input.z1l(tmp0_desc);
|
|
1028
|
+
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1029
|
+
};
|
|
1030
|
+
$serializer_3.prototype.m2l = function (encoder, value) {
|
|
1031
|
+
var tmp0_desc = this.l2l_1;
|
|
1032
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
1033
|
+
tmp1_output.m1n(tmp0_desc, 0, value.n2l_1);
|
|
1034
|
+
tmp1_output.q1n(tmp0_desc, 1, StringSerializer_getInstance(), value.o2l_1);
|
|
1035
|
+
tmp1_output.z1l(tmp0_desc);
|
|
1036
|
+
};
|
|
1037
|
+
$serializer_3.prototype.r1i = function (encoder, value) {
|
|
1038
|
+
return this.m2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
1039
|
+
};
|
|
1040
|
+
$serializer_3.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
1041
|
+
var $serializer_instance_3;
|
|
1042
|
+
function $serializer_getInstance_3() {
|
|
1043
|
+
if ($serializer_instance_3 == null)
|
|
1044
|
+
new $serializer_3();
|
|
1045
|
+
return $serializer_instance_3;
|
|
1046
|
+
}
|
|
1047
|
+
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1048
|
+
if (!(3 === (3 & seen1))) {
|
|
1049
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().l2l_1);
|
|
1050
|
+
}
|
|
1051
|
+
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1052
|
+
$this.n2l_1 = playerId;
|
|
1053
|
+
$this.o2l_1 = tag;
|
|
1054
|
+
return $this;
|
|
1055
|
+
}
|
|
1056
|
+
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
1057
|
+
return PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, Object.create(PlayerTimeoutReason.prototype));
|
|
607
1058
|
}
|
|
608
1059
|
function PlayerTimeoutReason(playerId, tag) {
|
|
609
|
-
|
|
1060
|
+
Companion_getInstance_5();
|
|
610
1061
|
TerminationGameReason.call(this);
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
1062
|
+
this.n2l_1 = playerId;
|
|
1063
|
+
this.o2l_1 = tag;
|
|
613
1064
|
}
|
|
614
|
-
PlayerTimeoutReason.prototype.
|
|
615
|
-
return this.
|
|
1065
|
+
PlayerTimeoutReason.prototype.g2l = function () {
|
|
1066
|
+
return this.n2l_1;
|
|
616
1067
|
};
|
|
617
1068
|
PlayerTimeoutReason.prototype.toString = function () {
|
|
618
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1069
|
+
return 'PlayerTimeoutReason(playerId=' + this.n2l_1 + ', tag=' + this.o2l_1 + ')';
|
|
619
1070
|
};
|
|
620
1071
|
PlayerTimeoutReason.prototype.hashCode = function () {
|
|
621
|
-
var result = getStringHashCode(this.
|
|
622
|
-
result = imul(result, 31) + (this.
|
|
1072
|
+
var result = getStringHashCode(this.n2l_1);
|
|
1073
|
+
result = imul(result, 31) + (this.o2l_1 == null ? 0 : getStringHashCode(this.o2l_1)) | 0;
|
|
623
1074
|
return result;
|
|
624
1075
|
};
|
|
625
1076
|
PlayerTimeoutReason.prototype.equals = function (other) {
|
|
@@ -628,13 +1079,13 @@
|
|
|
628
1079
|
if (!(other instanceof PlayerTimeoutReason))
|
|
629
1080
|
return false;
|
|
630
1081
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
631
|
-
if (!(this.
|
|
1082
|
+
if (!(this.n2l_1 === tmp0_other_with_cast.n2l_1))
|
|
632
1083
|
return false;
|
|
633
|
-
if (!(this.
|
|
1084
|
+
if (!(this.o2l_1 == tmp0_other_with_cast.o2l_1))
|
|
634
1085
|
return false;
|
|
635
1086
|
return true;
|
|
636
1087
|
};
|
|
637
|
-
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $
|
|
1088
|
+
PlayerTimeoutReason.$metadata$ = classMeta('PlayerTimeoutReason', [FinishPlayerReason], undefined, {0: $serializer_getInstance_3}, undefined, TerminationGameReason.prototype);
|
|
638
1089
|
function ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd() {
|
|
639
1090
|
var tmp = ProcessingReason_getInstance();
|
|
640
1091
|
var tmp$ret$2;
|
|
@@ -653,16 +1104,16 @@
|
|
|
653
1104
|
TerminationGameReason.call(this);
|
|
654
1105
|
var tmp = this;
|
|
655
1106
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
656
|
-
tmp.
|
|
1107
|
+
tmp.p2l_1 = lazy(tmp_0, ProcessingReason$$cachedSerializer$delegate$_anonymous__b7cvvd);
|
|
657
1108
|
}
|
|
658
1109
|
ProcessingReason.prototype.toString = function () {
|
|
659
1110
|
return 'ProcessingReason';
|
|
660
1111
|
};
|
|
661
|
-
ProcessingReason.prototype.
|
|
662
|
-
return this.
|
|
1112
|
+
ProcessingReason.prototype.l25 = function () {
|
|
1113
|
+
return this.p2l_1.c2();
|
|
663
1114
|
};
|
|
664
|
-
ProcessingReason.prototype.
|
|
665
|
-
return this.
|
|
1115
|
+
ProcessingReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1116
|
+
return this.l25();
|
|
666
1117
|
};
|
|
667
1118
|
ProcessingReason.$metadata$ = objectMeta('ProcessingReason', [SerializerFactory], undefined, {0: ProcessingReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
668
1119
|
var ProcessingReason_instance;
|
|
@@ -689,16 +1140,16 @@
|
|
|
689
1140
|
TerminationGameReason.call(this);
|
|
690
1141
|
var tmp = this;
|
|
691
1142
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
692
|
-
tmp.
|
|
1143
|
+
tmp.q2l_1 = lazy(tmp_0, WaitingForConnectionReason$$cachedSerializer$delegate$_anonymous__dbld0g);
|
|
693
1144
|
}
|
|
694
1145
|
WaitingForConnectionReason.prototype.toString = function () {
|
|
695
1146
|
return 'WaitingForConnectionReason';
|
|
696
1147
|
};
|
|
697
|
-
WaitingForConnectionReason.prototype.
|
|
698
|
-
return this.
|
|
1148
|
+
WaitingForConnectionReason.prototype.l25 = function () {
|
|
1149
|
+
return this.q2l_1.c2();
|
|
699
1150
|
};
|
|
700
|
-
WaitingForConnectionReason.prototype.
|
|
701
|
-
return this.
|
|
1151
|
+
WaitingForConnectionReason.prototype.b1u = function (typeParamsSerializers) {
|
|
1152
|
+
return this.l25();
|
|
702
1153
|
};
|
|
703
1154
|
WaitingForConnectionReason.$metadata$ = objectMeta('WaitingForConnectionReason', [SerializerFactory], undefined, {0: WaitingForConnectionReason_getInstance}, undefined, TerminationGameReason.prototype);
|
|
704
1155
|
var WaitingForConnectionReason_instance;
|
|
@@ -726,60 +1177,60 @@
|
|
|
726
1177
|
}
|
|
727
1178
|
function GameUserInfo(playerId, name, avatarUrl, payload) {
|
|
728
1179
|
var payload_0 = payload === void 1 ? null : payload;
|
|
729
|
-
this.
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
1180
|
+
this.r2l_1 = playerId;
|
|
1181
|
+
this.s2l_1 = name;
|
|
1182
|
+
this.t2l_1 = avatarUrl;
|
|
1183
|
+
this.u2l_1 = payload_0;
|
|
733
1184
|
}
|
|
734
|
-
GameUserInfo.prototype.
|
|
735
|
-
return this.
|
|
1185
|
+
GameUserInfo.prototype.g2l = function () {
|
|
1186
|
+
return this.r2l_1;
|
|
736
1187
|
};
|
|
737
|
-
GameUserInfo.prototype.
|
|
738
|
-
return this.
|
|
1188
|
+
GameUserInfo.prototype.f5 = function () {
|
|
1189
|
+
return this.s2l_1;
|
|
739
1190
|
};
|
|
740
|
-
GameUserInfo.prototype.
|
|
741
|
-
return this.
|
|
1191
|
+
GameUserInfo.prototype.v2l = function () {
|
|
1192
|
+
return this.t2l_1;
|
|
742
1193
|
};
|
|
743
|
-
GameUserInfo.prototype.
|
|
744
|
-
return this.
|
|
1194
|
+
GameUserInfo.prototype.w2l = function () {
|
|
1195
|
+
return this.u2l_1;
|
|
745
1196
|
};
|
|
746
1197
|
GameUserInfo.prototype.component1 = function () {
|
|
747
|
-
return this.
|
|
1198
|
+
return this.r2l_1;
|
|
748
1199
|
};
|
|
749
1200
|
GameUserInfo.prototype.component2 = function () {
|
|
750
|
-
return this.
|
|
1201
|
+
return this.s2l_1;
|
|
751
1202
|
};
|
|
752
1203
|
GameUserInfo.prototype.component3 = function () {
|
|
753
|
-
return this.
|
|
1204
|
+
return this.t2l_1;
|
|
754
1205
|
};
|
|
755
1206
|
GameUserInfo.prototype.component4 = function () {
|
|
756
|
-
return this.
|
|
1207
|
+
return this.u2l_1;
|
|
757
1208
|
};
|
|
758
1209
|
GameUserInfo.prototype.copy = function (playerId, name, avatarUrl, payload) {
|
|
759
|
-
return this.
|
|
1210
|
+
return this.x2l(playerId === void 1 ? this.r2l_1 : playerId, name === void 1 ? this.s2l_1 : name, avatarUrl === void 1 ? this.t2l_1 : avatarUrl, payload === void 1 ? this.u2l_1 : payload);
|
|
760
1211
|
};
|
|
761
|
-
GameUserInfo.prototype.
|
|
1212
|
+
GameUserInfo.prototype.x2l = function (playerId, name, avatarUrl, payload) {
|
|
762
1213
|
return new GameUserInfo(playerId, name, avatarUrl, payload);
|
|
763
1214
|
};
|
|
764
|
-
GameUserInfo.prototype.
|
|
1215
|
+
GameUserInfo.prototype.y2l = function (playerId, name, avatarUrl, payload, $mask0, $handler) {
|
|
765
1216
|
if (!(($mask0 & 1) === 0))
|
|
766
|
-
playerId = this.
|
|
1217
|
+
playerId = this.r2l_1;
|
|
767
1218
|
if (!(($mask0 & 2) === 0))
|
|
768
|
-
name = this.
|
|
1219
|
+
name = this.s2l_1;
|
|
769
1220
|
if (!(($mask0 & 4) === 0))
|
|
770
|
-
avatarUrl = this.
|
|
1221
|
+
avatarUrl = this.t2l_1;
|
|
771
1222
|
if (!(($mask0 & 8) === 0))
|
|
772
|
-
payload = this.
|
|
773
|
-
return this.
|
|
1223
|
+
payload = this.u2l_1;
|
|
1224
|
+
return this.x2l(playerId, name, avatarUrl, payload);
|
|
774
1225
|
};
|
|
775
1226
|
GameUserInfo.prototype.toString = function () {
|
|
776
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1227
|
+
return 'GameUserInfo(playerId=' + this.r2l_1 + ', name=' + this.s2l_1 + ', avatarUrl=' + this.t2l_1 + ', payload=' + toString(this.u2l_1) + ')';
|
|
777
1228
|
};
|
|
778
1229
|
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.
|
|
1230
|
+
var result = getStringHashCode(this.r2l_1);
|
|
1231
|
+
result = imul(result, 31) + getStringHashCode(this.s2l_1) | 0;
|
|
1232
|
+
result = imul(result, 31) + getStringHashCode(this.t2l_1) | 0;
|
|
1233
|
+
result = imul(result, 31) + (this.u2l_1 == null ? 0 : hashCode(this.u2l_1)) | 0;
|
|
783
1234
|
return result;
|
|
784
1235
|
};
|
|
785
1236
|
GameUserInfo.prototype.equals = function (other) {
|
|
@@ -788,13 +1239,13 @@
|
|
|
788
1239
|
if (!(other instanceof GameUserInfo))
|
|
789
1240
|
return false;
|
|
790
1241
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
791
|
-
if (!(this.
|
|
1242
|
+
if (!(this.r2l_1 === tmp0_other_with_cast.r2l_1))
|
|
792
1243
|
return false;
|
|
793
|
-
if (!(this.
|
|
1244
|
+
if (!(this.s2l_1 === tmp0_other_with_cast.s2l_1))
|
|
794
1245
|
return false;
|
|
795
|
-
if (!(this.
|
|
1246
|
+
if (!(this.t2l_1 === tmp0_other_with_cast.t2l_1))
|
|
796
1247
|
return false;
|
|
797
|
-
if (!equals(this.
|
|
1248
|
+
if (!equals(this.u2l_1, tmp0_other_with_cast.u2l_1))
|
|
798
1249
|
return false;
|
|
799
1250
|
return true;
|
|
800
1251
|
};
|
|
@@ -802,20 +1253,20 @@
|
|
|
802
1253
|
Object.defineProperty(GameUserInfo.prototype, 'playerId', {
|
|
803
1254
|
configurable: true,
|
|
804
1255
|
get: function () {
|
|
805
|
-
return this.
|
|
1256
|
+
return this.g2l();
|
|
806
1257
|
}
|
|
807
1258
|
});
|
|
808
1259
|
Object.defineProperty(GameUserInfo.prototype, 'name', {
|
|
809
1260
|
configurable: true,
|
|
810
|
-
get: GameUserInfo.prototype.
|
|
1261
|
+
get: GameUserInfo.prototype.f5
|
|
811
1262
|
});
|
|
812
1263
|
Object.defineProperty(GameUserInfo.prototype, 'avatarUrl', {
|
|
813
1264
|
configurable: true,
|
|
814
|
-
get: GameUserInfo.prototype.
|
|
1265
|
+
get: GameUserInfo.prototype.v2l
|
|
815
1266
|
});
|
|
816
1267
|
Object.defineProperty(GameUserInfo.prototype, 'payload', {
|
|
817
1268
|
configurable: true,
|
|
818
|
-
get: GameUserInfo.prototype.
|
|
1269
|
+
get: GameUserInfo.prototype.w2l
|
|
819
1270
|
});
|
|
820
1271
|
function get_byIdPlayerPredicate() {
|
|
821
1272
|
init_properties_Player_kt_txblev();
|
|
@@ -922,7 +1373,7 @@
|
|
|
922
1373
|
}
|
|
923
1374
|
function playerTurnPredicate$lambda(p1) {
|
|
924
1375
|
init_properties_Player_kt_txblev();
|
|
925
|
-
return p1.
|
|
1376
|
+
return p1.am().f2m() ? true : p1.am().e2m();
|
|
926
1377
|
}
|
|
927
1378
|
var properties_initialized_Player_kt_56shkt;
|
|
928
1379
|
function init_properties_Player_kt_txblev() {
|
|
@@ -933,12 +1384,35 @@
|
|
|
933
1384
|
playerTurnPredicate = playerTurnPredicate$lambda;
|
|
934
1385
|
}
|
|
935
1386
|
}
|
|
1387
|
+
function PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c() {
|
|
1388
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values());
|
|
1389
|
+
}
|
|
936
1390
|
var PlayerConnectionState_LIVE_instance;
|
|
937
1391
|
var PlayerConnectionState_TIMEOUT_instance;
|
|
938
1392
|
var PlayerConnectionState_LOST_CONNECTION_instance;
|
|
939
1393
|
var PlayerConnectionState_LEFT_instance;
|
|
940
1394
|
var PlayerConnectionState_DISCONNECTING_instance;
|
|
941
1395
|
var PlayerConnectionState_DELETED_instance;
|
|
1396
|
+
function Companion_6() {
|
|
1397
|
+
Companion_instance_6 = this;
|
|
1398
|
+
var tmp = this;
|
|
1399
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1400
|
+
tmp.g2m_1 = lazy(tmp_0, PlayerConnectionState$Companion$$cachedSerializer$delegate$_anonymous__bycx8c);
|
|
1401
|
+
}
|
|
1402
|
+
Companion_6.prototype.serializer = function () {
|
|
1403
|
+
return this.g2m_1.c2();
|
|
1404
|
+
};
|
|
1405
|
+
Companion_6.prototype.b1u = function (typeParamsSerializers) {
|
|
1406
|
+
return this.serializer();
|
|
1407
|
+
};
|
|
1408
|
+
Companion_6.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
1409
|
+
var Companion_instance_6;
|
|
1410
|
+
function Companion_getInstance_6() {
|
|
1411
|
+
PlayerConnectionState_initEntries();
|
|
1412
|
+
if (Companion_instance_6 == null)
|
|
1413
|
+
new Companion_6();
|
|
1414
|
+
return Companion_instance_6;
|
|
1415
|
+
}
|
|
942
1416
|
function values() {
|
|
943
1417
|
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
944
1418
|
}
|
|
@@ -973,74 +1447,75 @@
|
|
|
973
1447
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
974
1448
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
975
1449
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1450
|
+
Companion_getInstance_6();
|
|
976
1451
|
}
|
|
977
1452
|
function PlayerConnectionState(name, ordinal) {
|
|
978
1453
|
Enum.call(this, name, ordinal);
|
|
979
1454
|
}
|
|
980
|
-
PlayerConnectionState.prototype.
|
|
1455
|
+
PlayerConnectionState.prototype.j2m = function () {
|
|
981
1456
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
982
1457
|
};
|
|
983
|
-
PlayerConnectionState.prototype.
|
|
1458
|
+
PlayerConnectionState.prototype.k2m = function () {
|
|
984
1459
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
985
1460
|
};
|
|
986
|
-
PlayerConnectionState.prototype.
|
|
1461
|
+
PlayerConnectionState.prototype.l2m = function () {
|
|
987
1462
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
988
1463
|
};
|
|
989
|
-
PlayerConnectionState.prototype.
|
|
1464
|
+
PlayerConnectionState.prototype.m2m = function () {
|
|
990
1465
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
991
1466
|
};
|
|
992
|
-
PlayerConnectionState.prototype.
|
|
1467
|
+
PlayerConnectionState.prototype.n2m = function () {
|
|
993
1468
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
994
1469
|
};
|
|
995
|
-
PlayerConnectionState.prototype.
|
|
1470
|
+
PlayerConnectionState.prototype.o2m = function () {
|
|
996
1471
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
997
1472
|
};
|
|
998
|
-
PlayerConnectionState.prototype.
|
|
1473
|
+
PlayerConnectionState.prototype.p2m = function () {
|
|
999
1474
|
return ((this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft) ? true : this.isDeleted;
|
|
1000
1475
|
};
|
|
1001
|
-
PlayerConnectionState.prototype.
|
|
1476
|
+
PlayerConnectionState.prototype.q2m = function () {
|
|
1002
1477
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1003
1478
|
};
|
|
1004
|
-
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined,
|
|
1479
|
+
PlayerConnectionState.$metadata$ = classMeta('PlayerConnectionState', undefined, undefined, {0: Companion_getInstance_6}, undefined, Enum.prototype);
|
|
1005
1480
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLive', {
|
|
1006
1481
|
configurable: true,
|
|
1007
|
-
get: PlayerConnectionState.prototype.
|
|
1482
|
+
get: PlayerConnectionState.prototype.j2m
|
|
1008
1483
|
});
|
|
1009
1484
|
Object.defineProperty(PlayerConnectionState.prototype, 'isTimeOut', {
|
|
1010
1485
|
configurable: true,
|
|
1011
|
-
get: PlayerConnectionState.prototype.
|
|
1486
|
+
get: PlayerConnectionState.prototype.k2m
|
|
1012
1487
|
});
|
|
1013
1488
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLostConnection', {
|
|
1014
1489
|
configurable: true,
|
|
1015
|
-
get: PlayerConnectionState.prototype.
|
|
1490
|
+
get: PlayerConnectionState.prototype.l2m
|
|
1016
1491
|
});
|
|
1017
1492
|
Object.defineProperty(PlayerConnectionState.prototype, 'isLeft', {
|
|
1018
1493
|
configurable: true,
|
|
1019
|
-
get: PlayerConnectionState.prototype.
|
|
1494
|
+
get: PlayerConnectionState.prototype.m2m
|
|
1020
1495
|
});
|
|
1021
1496
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDeleted', {
|
|
1022
1497
|
configurable: true,
|
|
1023
|
-
get: PlayerConnectionState.prototype.
|
|
1498
|
+
get: PlayerConnectionState.prototype.n2m
|
|
1024
1499
|
});
|
|
1025
1500
|
Object.defineProperty(PlayerConnectionState.prototype, 'isDisconnecting', {
|
|
1026
1501
|
configurable: true,
|
|
1027
|
-
get: PlayerConnectionState.prototype.
|
|
1502
|
+
get: PlayerConnectionState.prototype.o2m
|
|
1028
1503
|
});
|
|
1029
1504
|
Object.defineProperty(PlayerConnectionState.prototype, 'isNotAlive', {
|
|
1030
1505
|
configurable: true,
|
|
1031
|
-
get: PlayerConnectionState.prototype.
|
|
1506
|
+
get: PlayerConnectionState.prototype.p2m
|
|
1032
1507
|
});
|
|
1033
1508
|
Object.defineProperty(PlayerConnectionState.prototype, 'isPossibleToBeLive', {
|
|
1034
1509
|
configurable: true,
|
|
1035
|
-
get: PlayerConnectionState.prototype.
|
|
1510
|
+
get: PlayerConnectionState.prototype.q2m
|
|
1036
1511
|
});
|
|
1037
1512
|
Object.defineProperty(PlayerConnectionState.prototype, 'name', {
|
|
1038
1513
|
configurable: true,
|
|
1039
|
-
get: PlayerConnectionState.prototype.
|
|
1514
|
+
get: PlayerConnectionState.prototype.f5
|
|
1040
1515
|
});
|
|
1041
1516
|
Object.defineProperty(PlayerConnectionState.prototype, 'ordinal', {
|
|
1042
1517
|
configurable: true,
|
|
1043
|
-
get: PlayerConnectionState.prototype.
|
|
1518
|
+
get: PlayerConnectionState.prototype.pi
|
|
1044
1519
|
});
|
|
1045
1520
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
1046
1521
|
PlayerConnectionState_initEntries();
|
|
@@ -1066,9 +1541,35 @@
|
|
|
1066
1541
|
PlayerConnectionState_initEntries();
|
|
1067
1542
|
return PlayerConnectionState_DELETED_instance;
|
|
1068
1543
|
}
|
|
1544
|
+
function PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar() {
|
|
1545
|
+
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_0());
|
|
1546
|
+
}
|
|
1069
1547
|
var PlayerWaitingState_IDLE_instance;
|
|
1070
1548
|
var PlayerWaitingState_IN_PROGRESS_instance;
|
|
1071
1549
|
var PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1550
|
+
function Companion_7() {
|
|
1551
|
+
Companion_instance_7 = this;
|
|
1552
|
+
var tmp = this;
|
|
1553
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1554
|
+
tmp.r2m_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$$cachedSerializer$delegate$_anonymous__yamkar);
|
|
1555
|
+
}
|
|
1556
|
+
Companion_7.prototype.l25 = function () {
|
|
1557
|
+
return this.r2m_1.c2();
|
|
1558
|
+
};
|
|
1559
|
+
Companion_7.prototype.b1u = function (typeParamsSerializers) {
|
|
1560
|
+
return this.l25();
|
|
1561
|
+
};
|
|
1562
|
+
Companion_7.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
1563
|
+
var Companion_instance_7;
|
|
1564
|
+
function Companion_getInstance_7() {
|
|
1565
|
+
PlayerWaitingState_initEntries();
|
|
1566
|
+
if (Companion_instance_7 == null)
|
|
1567
|
+
new Companion_7();
|
|
1568
|
+
return Companion_instance_7;
|
|
1569
|
+
}
|
|
1570
|
+
function values_0() {
|
|
1571
|
+
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
1572
|
+
}
|
|
1072
1573
|
var PlayerWaitingState_entriesInitialized;
|
|
1073
1574
|
function PlayerWaitingState_initEntries() {
|
|
1074
1575
|
if (PlayerWaitingState_entriesInitialized)
|
|
@@ -1077,34 +1578,35 @@
|
|
|
1077
1578
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
1078
1579
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
1079
1580
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
1581
|
+
Companion_getInstance_7();
|
|
1080
1582
|
}
|
|
1081
1583
|
function PlayerWaitingState(name, ordinal) {
|
|
1082
1584
|
Enum.call(this, name, ordinal);
|
|
1083
1585
|
}
|
|
1084
|
-
PlayerWaitingState.prototype.
|
|
1085
|
-
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.
|
|
1586
|
+
PlayerWaitingState.prototype.f2m = function () {
|
|
1587
|
+
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance()) ? true : this.e2m();
|
|
1086
1588
|
};
|
|
1087
|
-
PlayerWaitingState.prototype.
|
|
1589
|
+
PlayerWaitingState.prototype.e2m = function () {
|
|
1088
1590
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1089
1591
|
};
|
|
1090
|
-
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined,
|
|
1091
|
-
function
|
|
1092
|
-
|
|
1592
|
+
PlayerWaitingState.$metadata$ = classMeta('PlayerWaitingState', undefined, undefined, {0: Companion_getInstance_7}, undefined, Enum.prototype);
|
|
1593
|
+
function Companion_8() {
|
|
1594
|
+
Companion_instance_8 = this;
|
|
1093
1595
|
}
|
|
1094
|
-
|
|
1596
|
+
Companion_8.prototype.u2m = function (connectionState) {
|
|
1095
1597
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1096
1598
|
return new PlayerState(new Long(0, 0), tmp0_state, false, connectionState, null);
|
|
1097
1599
|
};
|
|
1098
|
-
|
|
1600
|
+
Companion_8.prototype.v2m = function (_this__u8e3s4, startFromTime, tag) {
|
|
1099
1601
|
var tmp = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1100
|
-
return _this__u8e3s4.
|
|
1602
|
+
return _this__u8e3s4.w2m(startFromTime, tmp, false, null, tag, 12, null);
|
|
1101
1603
|
};
|
|
1102
|
-
|
|
1103
|
-
var
|
|
1104
|
-
function
|
|
1105
|
-
if (
|
|
1106
|
-
new
|
|
1107
|
-
return
|
|
1604
|
+
Companion_8.$metadata$ = objectMeta('Companion');
|
|
1605
|
+
var Companion_instance_8;
|
|
1606
|
+
function Companion_getInstance_8() {
|
|
1607
|
+
if (Companion_instance_8 == null)
|
|
1608
|
+
new Companion_8();
|
|
1609
|
+
return Companion_instance_8;
|
|
1108
1610
|
}
|
|
1109
1611
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
1110
1612
|
PlayerWaitingState_initEntries();
|
|
@@ -1119,23 +1621,26 @@
|
|
|
1119
1621
|
return PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
1120
1622
|
}
|
|
1121
1623
|
function PlayerState(startFromTime, state, ready, connectionState, tag) {
|
|
1122
|
-
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1624
|
+
Companion_getInstance_8();
|
|
1625
|
+
this.z2l_1 = startFromTime;
|
|
1626
|
+
this.a2m_1 = state;
|
|
1627
|
+
this.b2m_1 = ready;
|
|
1628
|
+
this.c2m_1 = connectionState;
|
|
1629
|
+
this.d2m_1 = tag;
|
|
1128
1630
|
}
|
|
1129
|
-
PlayerState.prototype.
|
|
1130
|
-
return this.
|
|
1631
|
+
PlayerState.prototype.x2m = function () {
|
|
1632
|
+
return this.b2m_1;
|
|
1131
1633
|
};
|
|
1132
|
-
PlayerState.prototype.
|
|
1133
|
-
return this.
|
|
1634
|
+
PlayerState.prototype.y2m = function () {
|
|
1635
|
+
return this.c2m_1;
|
|
1134
1636
|
};
|
|
1135
|
-
PlayerState.prototype.
|
|
1637
|
+
PlayerState.prototype.w2e = function () {
|
|
1638
|
+
return this.d2m_1;
|
|
1639
|
+
};
|
|
1640
|
+
PlayerState.prototype.z2m = function () {
|
|
1136
1641
|
var tmp$ret$2;
|
|
1137
1642
|
// Inline function 'kotlin.requireNotNull' call
|
|
1138
|
-
var tmp0_requireNotNull = this.
|
|
1643
|
+
var tmp0_requireNotNull = this.d2m_1;
|
|
1139
1644
|
// Inline function 'kotlin.contracts.contract' call
|
|
1140
1645
|
var tmp$ret$1;
|
|
1141
1646
|
$l$block: {
|
|
@@ -1155,41 +1660,41 @@
|
|
|
1155
1660
|
tmp$ret$2 = tmp$ret$1;
|
|
1156
1661
|
return tmp$ret$2;
|
|
1157
1662
|
};
|
|
1158
|
-
PlayerState.prototype.
|
|
1159
|
-
var tmp0_elvis_lhs = this.
|
|
1663
|
+
PlayerState.prototype.a2n = function () {
|
|
1664
|
+
var tmp0_elvis_lhs = this.d2m_1;
|
|
1160
1665
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1161
1666
|
};
|
|
1162
|
-
PlayerState.prototype.
|
|
1163
|
-
return this.
|
|
1667
|
+
PlayerState.prototype.f2m = function () {
|
|
1668
|
+
return this.a2m_1.f2m();
|
|
1164
1669
|
};
|
|
1165
|
-
PlayerState.prototype.
|
|
1166
|
-
return this.
|
|
1670
|
+
PlayerState.prototype.e2m = function () {
|
|
1671
|
+
return this.a2m_1.e2m();
|
|
1167
1672
|
};
|
|
1168
|
-
PlayerState.prototype.
|
|
1673
|
+
PlayerState.prototype.b2n = function (startFromTime, state, ready, connectionState, tag) {
|
|
1169
1674
|
return new PlayerState(startFromTime, state, ready, connectionState, tag);
|
|
1170
1675
|
};
|
|
1171
|
-
PlayerState.prototype.
|
|
1676
|
+
PlayerState.prototype.w2m = function (startFromTime, state, ready, connectionState, tag, $mask0, $handler) {
|
|
1172
1677
|
if (!(($mask0 & 1) === 0))
|
|
1173
|
-
startFromTime = this.
|
|
1678
|
+
startFromTime = this.z2l_1;
|
|
1174
1679
|
if (!(($mask0 & 2) === 0))
|
|
1175
|
-
state = this.
|
|
1680
|
+
state = this.a2m_1;
|
|
1176
1681
|
if (!(($mask0 & 4) === 0))
|
|
1177
|
-
ready = this.
|
|
1682
|
+
ready = this.b2m_1;
|
|
1178
1683
|
if (!(($mask0 & 8) === 0))
|
|
1179
|
-
connectionState = this.
|
|
1684
|
+
connectionState = this.c2m_1;
|
|
1180
1685
|
if (!(($mask0 & 16) === 0))
|
|
1181
|
-
tag = this.
|
|
1182
|
-
return this.
|
|
1686
|
+
tag = this.d2m_1;
|
|
1687
|
+
return this.b2n(startFromTime, state, ready, connectionState, tag);
|
|
1183
1688
|
};
|
|
1184
1689
|
PlayerState.prototype.toString = function () {
|
|
1185
|
-
return 'PlayerState(startFromTime=' + toString_0(this.
|
|
1690
|
+
return 'PlayerState(startFromTime=' + toString_0(this.z2l_1) + ', state=' + this.a2m_1 + ', ready=' + this.b2m_1 + ', connectionState=' + this.c2m_1 + ', tag=' + this.d2m_1 + ')';
|
|
1186
1691
|
};
|
|
1187
1692
|
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.
|
|
1693
|
+
var result = this.z2l_1.hashCode();
|
|
1694
|
+
result = imul(result, 31) + this.a2m_1.hashCode() | 0;
|
|
1695
|
+
result = imul(result, 31) + (this.b2m_1 | 0) | 0;
|
|
1696
|
+
result = imul(result, 31) + this.c2m_1.hashCode() | 0;
|
|
1697
|
+
result = imul(result, 31) + (this.d2m_1 == null ? 0 : getStringHashCode(this.d2m_1)) | 0;
|
|
1193
1698
|
return result;
|
|
1194
1699
|
};
|
|
1195
1700
|
PlayerState.prototype.equals = function (other) {
|
|
@@ -1198,27 +1703,27 @@
|
|
|
1198
1703
|
if (!(other instanceof PlayerState))
|
|
1199
1704
|
return false;
|
|
1200
1705
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1201
|
-
if (!this.
|
|
1706
|
+
if (!this.z2l_1.equals(tmp0_other_with_cast.z2l_1))
|
|
1202
1707
|
return false;
|
|
1203
|
-
if (!this.
|
|
1708
|
+
if (!this.a2m_1.equals(tmp0_other_with_cast.a2m_1))
|
|
1204
1709
|
return false;
|
|
1205
|
-
if (!(this.
|
|
1710
|
+
if (!(this.b2m_1 === tmp0_other_with_cast.b2m_1))
|
|
1206
1711
|
return false;
|
|
1207
|
-
if (!this.
|
|
1712
|
+
if (!this.c2m_1.equals(tmp0_other_with_cast.c2m_1))
|
|
1208
1713
|
return false;
|
|
1209
|
-
if (!(this.
|
|
1714
|
+
if (!(this.d2m_1 == tmp0_other_with_cast.d2m_1))
|
|
1210
1715
|
return false;
|
|
1211
1716
|
return true;
|
|
1212
1717
|
};
|
|
1213
1718
|
PlayerState.$metadata$ = classMeta('PlayerState');
|
|
1214
1719
|
function Team(playerIds) {
|
|
1215
|
-
this.
|
|
1720
|
+
this.c2n_1 = playerIds;
|
|
1216
1721
|
}
|
|
1217
1722
|
Team.prototype.toString = function () {
|
|
1218
|
-
return 'Team(playerIds=' + this.
|
|
1723
|
+
return 'Team(playerIds=' + this.c2n_1 + ')';
|
|
1219
1724
|
};
|
|
1220
1725
|
Team.prototype.hashCode = function () {
|
|
1221
|
-
return hashCode(this.
|
|
1726
|
+
return hashCode(this.c2n_1);
|
|
1222
1727
|
};
|
|
1223
1728
|
Team.prototype.equals = function (other) {
|
|
1224
1729
|
if (this === other)
|
|
@@ -1226,215 +1731,215 @@
|
|
|
1226
1731
|
if (!(other instanceof Team))
|
|
1227
1732
|
return false;
|
|
1228
1733
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1229
|
-
if (!equals(this.
|
|
1734
|
+
if (!equals(this.c2n_1, tmp0_other_with_cast.c2n_1))
|
|
1230
1735
|
return false;
|
|
1231
1736
|
return true;
|
|
1232
1737
|
};
|
|
1233
1738
|
Team.$metadata$ = classMeta('Team');
|
|
1234
|
-
function
|
|
1235
|
-
|
|
1739
|
+
function Companion_9() {
|
|
1740
|
+
Companion_instance_9 = this;
|
|
1236
1741
|
}
|
|
1237
|
-
|
|
1742
|
+
Companion_9.prototype.kharkiv = function () {
|
|
1238
1743
|
return new Rules(true, true, true, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
1239
1744
|
};
|
|
1240
|
-
|
|
1745
|
+
Companion_9.prototype.klabor = function () {
|
|
1241
1746
|
return new Rules(true, false, true, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
1242
1747
|
};
|
|
1243
|
-
|
|
1748
|
+
Companion_9.prototype.debertzCommon = function () {
|
|
1244
1749
|
return new Rules(true, false, false, true, true, true, false, false, true, false, false, 0, false, true, false, false);
|
|
1245
1750
|
};
|
|
1246
|
-
|
|
1751
|
+
Companion_9.prototype.moscow = function () {
|
|
1247
1752
|
return new Rules(true, false, false, true, true, true, false, true, true, false, false, 0, false, true, false, false);
|
|
1248
1753
|
};
|
|
1249
|
-
|
|
1754
|
+
Companion_9.prototype.belot = function () {
|
|
1250
1755
|
return new Rules(true, true, false, true, true, true, false, true, true, false, false, 50, false, true, false, false);
|
|
1251
1756
|
};
|
|
1252
|
-
|
|
1757
|
+
Companion_9.prototype.custom = function () {
|
|
1253
1758
|
return new Rules(false, false, false, true, true, true, false, false, false, false, false, 50, false, false, false, false);
|
|
1254
1759
|
};
|
|
1255
|
-
|
|
1256
|
-
var
|
|
1257
|
-
function
|
|
1258
|
-
if (
|
|
1259
|
-
new
|
|
1260
|
-
return
|
|
1760
|
+
Companion_9.$metadata$ = objectMeta('Companion');
|
|
1761
|
+
var Companion_instance_9;
|
|
1762
|
+
function Companion_getInstance_9() {
|
|
1763
|
+
if (Companion_instance_9 == null)
|
|
1764
|
+
new Companion_9();
|
|
1765
|
+
return Companion_instance_9;
|
|
1261
1766
|
}
|
|
1262
1767
|
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.
|
|
1768
|
+
Companion_getInstance_9();
|
|
1769
|
+
this.d2n_1 = needToPutHigherTrump;
|
|
1770
|
+
this.e2n_1 = distributePoints;
|
|
1771
|
+
this.f2n_1 = protectBella;
|
|
1772
|
+
this.g2n_1 = enableFourSevensCombination;
|
|
1773
|
+
this.h2n_1 = enableTrumpSevenCombination;
|
|
1774
|
+
this.i2n_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
1775
|
+
this.j2n_1 = playerWhoChooseSuitGoFirst;
|
|
1776
|
+
this.k2n_1 = winnerShuffleCards;
|
|
1777
|
+
this.l2n_1 = playWithoutLiabilities;
|
|
1778
|
+
this.m2n_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
1779
|
+
this.n2n_1 = enableFineIfNoBribes;
|
|
1780
|
+
this.o2n_1 = fineIfNoBribes;
|
|
1781
|
+
this.p2n_1 = enableFineAfterThirdByte;
|
|
1782
|
+
this.q2n_1 = checkTrumpCombination;
|
|
1783
|
+
this.r2n_1 = checkOnlyTrumpDebertz;
|
|
1784
|
+
this.s2n_1 = tenCardsInHand;
|
|
1280
1785
|
}
|
|
1281
|
-
Rules.prototype.
|
|
1282
|
-
return this.
|
|
1786
|
+
Rules.prototype.t2n = function () {
|
|
1787
|
+
return this.d2n_1;
|
|
1283
1788
|
};
|
|
1284
|
-
Rules.prototype.
|
|
1285
|
-
return this.
|
|
1789
|
+
Rules.prototype.u2n = function () {
|
|
1790
|
+
return this.e2n_1;
|
|
1286
1791
|
};
|
|
1287
|
-
Rules.prototype.
|
|
1288
|
-
return this.
|
|
1792
|
+
Rules.prototype.v2n = function () {
|
|
1793
|
+
return this.f2n_1;
|
|
1289
1794
|
};
|
|
1290
|
-
Rules.prototype.
|
|
1291
|
-
return this.
|
|
1795
|
+
Rules.prototype.w2n = function () {
|
|
1796
|
+
return this.g2n_1;
|
|
1292
1797
|
};
|
|
1293
|
-
Rules.prototype.
|
|
1294
|
-
return this.
|
|
1798
|
+
Rules.prototype.x2n = function () {
|
|
1799
|
+
return this.h2n_1;
|
|
1295
1800
|
};
|
|
1296
|
-
Rules.prototype.
|
|
1297
|
-
return this.
|
|
1801
|
+
Rules.prototype.y2n = function () {
|
|
1802
|
+
return this.i2n_1;
|
|
1298
1803
|
};
|
|
1299
|
-
Rules.prototype.
|
|
1300
|
-
return this.
|
|
1804
|
+
Rules.prototype.z2n = function () {
|
|
1805
|
+
return this.j2n_1;
|
|
1301
1806
|
};
|
|
1302
|
-
Rules.prototype.
|
|
1303
|
-
return this.
|
|
1807
|
+
Rules.prototype.a2o = function () {
|
|
1808
|
+
return this.k2n_1;
|
|
1304
1809
|
};
|
|
1305
|
-
Rules.prototype.
|
|
1306
|
-
return this.
|
|
1810
|
+
Rules.prototype.b2o = function () {
|
|
1811
|
+
return this.l2n_1;
|
|
1307
1812
|
};
|
|
1308
|
-
Rules.prototype.
|
|
1309
|
-
return this.
|
|
1813
|
+
Rules.prototype.c2o = function () {
|
|
1814
|
+
return this.m2n_1;
|
|
1310
1815
|
};
|
|
1311
|
-
Rules.prototype.
|
|
1312
|
-
return this.
|
|
1816
|
+
Rules.prototype.d2o = function () {
|
|
1817
|
+
return this.n2n_1;
|
|
1313
1818
|
};
|
|
1314
|
-
Rules.prototype.
|
|
1315
|
-
return this.
|
|
1819
|
+
Rules.prototype.e2o = function () {
|
|
1820
|
+
return this.o2n_1;
|
|
1316
1821
|
};
|
|
1317
|
-
Rules.prototype.
|
|
1318
|
-
return this.
|
|
1822
|
+
Rules.prototype.f2o = function () {
|
|
1823
|
+
return this.p2n_1;
|
|
1319
1824
|
};
|
|
1320
|
-
Rules.prototype.
|
|
1321
|
-
return this.
|
|
1825
|
+
Rules.prototype.g2o = function () {
|
|
1826
|
+
return this.q2n_1;
|
|
1322
1827
|
};
|
|
1323
|
-
Rules.prototype.
|
|
1324
|
-
return this.
|
|
1828
|
+
Rules.prototype.h2o = function () {
|
|
1829
|
+
return this.r2n_1;
|
|
1325
1830
|
};
|
|
1326
|
-
Rules.prototype.
|
|
1327
|
-
return this.
|
|
1831
|
+
Rules.prototype.i2o = function () {
|
|
1832
|
+
return this.s2n_1;
|
|
1328
1833
|
};
|
|
1329
1834
|
Rules.prototype.component1 = function () {
|
|
1330
|
-
return this.
|
|
1835
|
+
return this.d2n_1;
|
|
1331
1836
|
};
|
|
1332
1837
|
Rules.prototype.component2 = function () {
|
|
1333
|
-
return this.
|
|
1838
|
+
return this.e2n_1;
|
|
1334
1839
|
};
|
|
1335
1840
|
Rules.prototype.component3 = function () {
|
|
1336
|
-
return this.
|
|
1841
|
+
return this.f2n_1;
|
|
1337
1842
|
};
|
|
1338
1843
|
Rules.prototype.component4 = function () {
|
|
1339
|
-
return this.
|
|
1844
|
+
return this.g2n_1;
|
|
1340
1845
|
};
|
|
1341
1846
|
Rules.prototype.component5 = function () {
|
|
1342
|
-
return this.
|
|
1847
|
+
return this.h2n_1;
|
|
1343
1848
|
};
|
|
1344
1849
|
Rules.prototype.component6 = function () {
|
|
1345
|
-
return this.
|
|
1850
|
+
return this.i2n_1;
|
|
1346
1851
|
};
|
|
1347
1852
|
Rules.prototype.component7 = function () {
|
|
1348
|
-
return this.
|
|
1853
|
+
return this.j2n_1;
|
|
1349
1854
|
};
|
|
1350
1855
|
Rules.prototype.component8 = function () {
|
|
1351
|
-
return this.
|
|
1856
|
+
return this.k2n_1;
|
|
1352
1857
|
};
|
|
1353
1858
|
Rules.prototype.component9 = function () {
|
|
1354
|
-
return this.
|
|
1859
|
+
return this.l2n_1;
|
|
1355
1860
|
};
|
|
1356
1861
|
Rules.prototype.component10 = function () {
|
|
1357
|
-
return this.
|
|
1862
|
+
return this.m2n_1;
|
|
1358
1863
|
};
|
|
1359
1864
|
Rules.prototype.component11 = function () {
|
|
1360
|
-
return this.
|
|
1865
|
+
return this.n2n_1;
|
|
1361
1866
|
};
|
|
1362
1867
|
Rules.prototype.component12 = function () {
|
|
1363
|
-
return this.
|
|
1868
|
+
return this.o2n_1;
|
|
1364
1869
|
};
|
|
1365
1870
|
Rules.prototype.component13 = function () {
|
|
1366
|
-
return this.
|
|
1871
|
+
return this.p2n_1;
|
|
1367
1872
|
};
|
|
1368
1873
|
Rules.prototype.component14 = function () {
|
|
1369
|
-
return this.
|
|
1874
|
+
return this.q2n_1;
|
|
1370
1875
|
};
|
|
1371
1876
|
Rules.prototype.component15 = function () {
|
|
1372
|
-
return this.
|
|
1877
|
+
return this.r2n_1;
|
|
1373
1878
|
};
|
|
1374
1879
|
Rules.prototype.component16 = function () {
|
|
1375
|
-
return this.
|
|
1880
|
+
return this.s2n_1;
|
|
1376
1881
|
};
|
|
1377
1882
|
Rules.prototype.copy = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1378
|
-
return this.
|
|
1883
|
+
return this.j2o(needToPutHigherTrump === void 1 ? this.d2n_1 : needToPutHigherTrump, distributePoints === void 1 ? this.e2n_1 : distributePoints, protectBella === void 1 ? this.f2n_1 : protectBella, enableFourSevensCombination === void 1 ? this.g2n_1 : enableFourSevensCombination, enableTrumpSevenCombination === void 1 ? this.h2n_1 : enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution === void 1 ? this.i2n_1 : enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst === void 1 ? this.j2n_1 : playerWhoChooseSuitGoFirst, winnerShuffleCards === void 1 ? this.k2n_1 : winnerShuffleCards, playWithoutLiabilities === void 1 ? this.l2n_1 : playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards === void 1 ? this.m2n_1 : trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes === void 1 ? this.n2n_1 : enableFineIfNoBribes, fineIfNoBribes === void 1 ? this.o2n_1 : fineIfNoBribes, enableFineAfterThirdByte === void 1 ? this.p2n_1 : enableFineAfterThirdByte, checkTrumpCombination === void 1 ? this.q2n_1 : checkTrumpCombination, checkOnlyTrumpDebertz === void 1 ? this.r2n_1 : checkOnlyTrumpDebertz, tenCardsInHand === void 1 ? this.s2n_1 : tenCardsInHand);
|
|
1379
1884
|
};
|
|
1380
|
-
Rules.prototype.
|
|
1885
|
+
Rules.prototype.j2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
1381
1886
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1382
1887
|
};
|
|
1383
|
-
Rules.prototype.
|
|
1888
|
+
Rules.prototype.k2o = function (needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $mask0, $handler) {
|
|
1384
1889
|
if (!(($mask0 & 1) === 0))
|
|
1385
|
-
needToPutHigherTrump = this.
|
|
1890
|
+
needToPutHigherTrump = this.d2n_1;
|
|
1386
1891
|
if (!(($mask0 & 2) === 0))
|
|
1387
|
-
distributePoints = this.
|
|
1892
|
+
distributePoints = this.e2n_1;
|
|
1388
1893
|
if (!(($mask0 & 4) === 0))
|
|
1389
|
-
protectBella = this.
|
|
1894
|
+
protectBella = this.f2n_1;
|
|
1390
1895
|
if (!(($mask0 & 8) === 0))
|
|
1391
|
-
enableFourSevensCombination = this.
|
|
1896
|
+
enableFourSevensCombination = this.g2n_1;
|
|
1392
1897
|
if (!(($mask0 & 16) === 0))
|
|
1393
|
-
enableTrumpSevenCombination = this.
|
|
1898
|
+
enableTrumpSevenCombination = this.h2n_1;
|
|
1394
1899
|
if (!(($mask0 & 32) === 0))
|
|
1395
|
-
enableTrumpSevenCombinationAfterDistribution = this.
|
|
1900
|
+
enableTrumpSevenCombinationAfterDistribution = this.i2n_1;
|
|
1396
1901
|
if (!(($mask0 & 64) === 0))
|
|
1397
|
-
playerWhoChooseSuitGoFirst = this.
|
|
1902
|
+
playerWhoChooseSuitGoFirst = this.j2n_1;
|
|
1398
1903
|
if (!(($mask0 & 128) === 0))
|
|
1399
|
-
winnerShuffleCards = this.
|
|
1904
|
+
winnerShuffleCards = this.k2n_1;
|
|
1400
1905
|
if (!(($mask0 & 256) === 0))
|
|
1401
|
-
playWithoutLiabilities = this.
|
|
1906
|
+
playWithoutLiabilities = this.l2n_1;
|
|
1402
1907
|
if (!(($mask0 & 512) === 0))
|
|
1403
|
-
trumpCardGoToPlayerWhoShuffleCards = this.
|
|
1908
|
+
trumpCardGoToPlayerWhoShuffleCards = this.m2n_1;
|
|
1404
1909
|
if (!(($mask0 & 1024) === 0))
|
|
1405
|
-
enableFineIfNoBribes = this.
|
|
1910
|
+
enableFineIfNoBribes = this.n2n_1;
|
|
1406
1911
|
if (!(($mask0 & 2048) === 0))
|
|
1407
|
-
fineIfNoBribes = this.
|
|
1912
|
+
fineIfNoBribes = this.o2n_1;
|
|
1408
1913
|
if (!(($mask0 & 4096) === 0))
|
|
1409
|
-
enableFineAfterThirdByte = this.
|
|
1914
|
+
enableFineAfterThirdByte = this.p2n_1;
|
|
1410
1915
|
if (!(($mask0 & 8192) === 0))
|
|
1411
|
-
checkTrumpCombination = this.
|
|
1916
|
+
checkTrumpCombination = this.q2n_1;
|
|
1412
1917
|
if (!(($mask0 & 16384) === 0))
|
|
1413
|
-
checkOnlyTrumpDebertz = this.
|
|
1918
|
+
checkOnlyTrumpDebertz = this.r2n_1;
|
|
1414
1919
|
if (!(($mask0 & 32768) === 0))
|
|
1415
|
-
tenCardsInHand = this.
|
|
1416
|
-
return this.
|
|
1920
|
+
tenCardsInHand = this.s2n_1;
|
|
1921
|
+
return this.j2o(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
1417
1922
|
};
|
|
1418
1923
|
Rules.prototype.toString = function () {
|
|
1419
|
-
return 'Rules(needToPutHigherTrump=' + this.
|
|
1924
|
+
return 'Rules(needToPutHigherTrump=' + this.d2n_1 + ', distributePoints=' + this.e2n_1 + ', protectBella=' + this.f2n_1 + ', enableFourSevensCombination=' + this.g2n_1 + ', enableTrumpSevenCombination=' + this.h2n_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.i2n_1 + ', playerWhoChooseSuitGoFirst=' + this.j2n_1 + ', winnerShuffleCards=' + this.k2n_1 + ', playWithoutLiabilities=' + this.l2n_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.m2n_1 + ', enableFineIfNoBribes=' + this.n2n_1 + ', fineIfNoBribes=' + this.o2n_1 + ', enableFineAfterThirdByte=' + this.p2n_1 + ', checkTrumpCombination=' + this.q2n_1 + ', checkOnlyTrumpDebertz=' + this.r2n_1 + ', tenCardsInHand=' + this.s2n_1 + ')';
|
|
1420
1925
|
};
|
|
1421
1926
|
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.
|
|
1927
|
+
var result = this.d2n_1 | 0;
|
|
1928
|
+
result = imul(result, 31) + (this.e2n_1 | 0) | 0;
|
|
1929
|
+
result = imul(result, 31) + (this.f2n_1 | 0) | 0;
|
|
1930
|
+
result = imul(result, 31) + (this.g2n_1 | 0) | 0;
|
|
1931
|
+
result = imul(result, 31) + (this.h2n_1 | 0) | 0;
|
|
1932
|
+
result = imul(result, 31) + (this.i2n_1 | 0) | 0;
|
|
1933
|
+
result = imul(result, 31) + (this.j2n_1 | 0) | 0;
|
|
1934
|
+
result = imul(result, 31) + (this.k2n_1 | 0) | 0;
|
|
1935
|
+
result = imul(result, 31) + (this.l2n_1 | 0) | 0;
|
|
1936
|
+
result = imul(result, 31) + (this.m2n_1 | 0) | 0;
|
|
1937
|
+
result = imul(result, 31) + (this.n2n_1 | 0) | 0;
|
|
1938
|
+
result = imul(result, 31) + this.o2n_1 | 0;
|
|
1939
|
+
result = imul(result, 31) + (this.p2n_1 | 0) | 0;
|
|
1940
|
+
result = imul(result, 31) + (this.q2n_1 | 0) | 0;
|
|
1941
|
+
result = imul(result, 31) + (this.r2n_1 | 0) | 0;
|
|
1942
|
+
result = imul(result, 31) + (this.s2n_1 | 0) | 0;
|
|
1438
1943
|
return result;
|
|
1439
1944
|
};
|
|
1440
1945
|
Rules.prototype.equals = function (other) {
|
|
@@ -1443,104 +1948,104 @@
|
|
|
1443
1948
|
if (!(other instanceof Rules))
|
|
1444
1949
|
return false;
|
|
1445
1950
|
var tmp0_other_with_cast = other instanceof Rules ? other : THROW_CCE();
|
|
1446
|
-
if (!(this.
|
|
1951
|
+
if (!(this.d2n_1 === tmp0_other_with_cast.d2n_1))
|
|
1447
1952
|
return false;
|
|
1448
|
-
if (!(this.
|
|
1953
|
+
if (!(this.e2n_1 === tmp0_other_with_cast.e2n_1))
|
|
1449
1954
|
return false;
|
|
1450
|
-
if (!(this.
|
|
1955
|
+
if (!(this.f2n_1 === tmp0_other_with_cast.f2n_1))
|
|
1451
1956
|
return false;
|
|
1452
|
-
if (!(this.
|
|
1957
|
+
if (!(this.g2n_1 === tmp0_other_with_cast.g2n_1))
|
|
1453
1958
|
return false;
|
|
1454
|
-
if (!(this.
|
|
1959
|
+
if (!(this.h2n_1 === tmp0_other_with_cast.h2n_1))
|
|
1455
1960
|
return false;
|
|
1456
|
-
if (!(this.
|
|
1961
|
+
if (!(this.i2n_1 === tmp0_other_with_cast.i2n_1))
|
|
1457
1962
|
return false;
|
|
1458
|
-
if (!(this.
|
|
1963
|
+
if (!(this.j2n_1 === tmp0_other_with_cast.j2n_1))
|
|
1459
1964
|
return false;
|
|
1460
|
-
if (!(this.
|
|
1965
|
+
if (!(this.k2n_1 === tmp0_other_with_cast.k2n_1))
|
|
1461
1966
|
return false;
|
|
1462
|
-
if (!(this.
|
|
1967
|
+
if (!(this.l2n_1 === tmp0_other_with_cast.l2n_1))
|
|
1463
1968
|
return false;
|
|
1464
|
-
if (!(this.
|
|
1969
|
+
if (!(this.m2n_1 === tmp0_other_with_cast.m2n_1))
|
|
1465
1970
|
return false;
|
|
1466
|
-
if (!(this.
|
|
1971
|
+
if (!(this.n2n_1 === tmp0_other_with_cast.n2n_1))
|
|
1467
1972
|
return false;
|
|
1468
|
-
if (!(this.
|
|
1973
|
+
if (!(this.o2n_1 === tmp0_other_with_cast.o2n_1))
|
|
1469
1974
|
return false;
|
|
1470
|
-
if (!(this.
|
|
1975
|
+
if (!(this.p2n_1 === tmp0_other_with_cast.p2n_1))
|
|
1471
1976
|
return false;
|
|
1472
|
-
if (!(this.
|
|
1977
|
+
if (!(this.q2n_1 === tmp0_other_with_cast.q2n_1))
|
|
1473
1978
|
return false;
|
|
1474
|
-
if (!(this.
|
|
1979
|
+
if (!(this.r2n_1 === tmp0_other_with_cast.r2n_1))
|
|
1475
1980
|
return false;
|
|
1476
|
-
if (!(this.
|
|
1981
|
+
if (!(this.s2n_1 === tmp0_other_with_cast.s2n_1))
|
|
1477
1982
|
return false;
|
|
1478
1983
|
return true;
|
|
1479
1984
|
};
|
|
1480
1985
|
Rules.$metadata$ = classMeta('Rules');
|
|
1481
1986
|
Object.defineProperty(Rules.prototype, 'needToPutHigherTrump', {
|
|
1482
1987
|
configurable: true,
|
|
1483
|
-
get: Rules.prototype.
|
|
1988
|
+
get: Rules.prototype.t2n
|
|
1484
1989
|
});
|
|
1485
1990
|
Object.defineProperty(Rules.prototype, 'distributePoints', {
|
|
1486
1991
|
configurable: true,
|
|
1487
|
-
get: Rules.prototype.
|
|
1992
|
+
get: Rules.prototype.u2n
|
|
1488
1993
|
});
|
|
1489
1994
|
Object.defineProperty(Rules.prototype, 'protectBella', {
|
|
1490
1995
|
configurable: true,
|
|
1491
|
-
get: Rules.prototype.
|
|
1996
|
+
get: Rules.prototype.v2n
|
|
1492
1997
|
});
|
|
1493
1998
|
Object.defineProperty(Rules.prototype, 'enableFourSevensCombination', {
|
|
1494
1999
|
configurable: true,
|
|
1495
|
-
get: Rules.prototype.
|
|
2000
|
+
get: Rules.prototype.w2n
|
|
1496
2001
|
});
|
|
1497
2002
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombination', {
|
|
1498
2003
|
configurable: true,
|
|
1499
|
-
get: Rules.prototype.
|
|
2004
|
+
get: Rules.prototype.x2n
|
|
1500
2005
|
});
|
|
1501
2006
|
Object.defineProperty(Rules.prototype, 'enableTrumpSevenCombinationAfterDistribution', {
|
|
1502
2007
|
configurable: true,
|
|
1503
|
-
get: Rules.prototype.
|
|
2008
|
+
get: Rules.prototype.y2n
|
|
1504
2009
|
});
|
|
1505
2010
|
Object.defineProperty(Rules.prototype, 'playerWhoChooseSuitGoFirst', {
|
|
1506
2011
|
configurable: true,
|
|
1507
|
-
get: Rules.prototype.
|
|
2012
|
+
get: Rules.prototype.z2n
|
|
1508
2013
|
});
|
|
1509
2014
|
Object.defineProperty(Rules.prototype, 'winnerShuffleCards', {
|
|
1510
2015
|
configurable: true,
|
|
1511
|
-
get: Rules.prototype.
|
|
2016
|
+
get: Rules.prototype.a2o
|
|
1512
2017
|
});
|
|
1513
2018
|
Object.defineProperty(Rules.prototype, 'playWithoutLiabilities', {
|
|
1514
2019
|
configurable: true,
|
|
1515
|
-
get: Rules.prototype.
|
|
2020
|
+
get: Rules.prototype.b2o
|
|
1516
2021
|
});
|
|
1517
2022
|
Object.defineProperty(Rules.prototype, 'trumpCardGoToPlayerWhoShuffleCards', {
|
|
1518
2023
|
configurable: true,
|
|
1519
|
-
get: Rules.prototype.
|
|
2024
|
+
get: Rules.prototype.c2o
|
|
1520
2025
|
});
|
|
1521
2026
|
Object.defineProperty(Rules.prototype, 'enableFineIfNoBribes', {
|
|
1522
2027
|
configurable: true,
|
|
1523
|
-
get: Rules.prototype.
|
|
2028
|
+
get: Rules.prototype.d2o
|
|
1524
2029
|
});
|
|
1525
2030
|
Object.defineProperty(Rules.prototype, 'fineIfNoBribes', {
|
|
1526
2031
|
configurable: true,
|
|
1527
|
-
get: Rules.prototype.
|
|
2032
|
+
get: Rules.prototype.e2o
|
|
1528
2033
|
});
|
|
1529
2034
|
Object.defineProperty(Rules.prototype, 'enableFineAfterThirdByte', {
|
|
1530
2035
|
configurable: true,
|
|
1531
|
-
get: Rules.prototype.
|
|
2036
|
+
get: Rules.prototype.f2o
|
|
1532
2037
|
});
|
|
1533
2038
|
Object.defineProperty(Rules.prototype, 'checkTrumpCombination', {
|
|
1534
2039
|
configurable: true,
|
|
1535
|
-
get: Rules.prototype.
|
|
2040
|
+
get: Rules.prototype.g2o
|
|
1536
2041
|
});
|
|
1537
2042
|
Object.defineProperty(Rules.prototype, 'checkOnlyTrumpDebertz', {
|
|
1538
2043
|
configurable: true,
|
|
1539
|
-
get: Rules.prototype.
|
|
2044
|
+
get: Rules.prototype.h2o
|
|
1540
2045
|
});
|
|
1541
2046
|
Object.defineProperty(Rules.prototype, 'tenCardsInHand', {
|
|
1542
2047
|
configurable: true,
|
|
1543
|
-
get: Rules.prototype.
|
|
2048
|
+
get: Rules.prototype.i2o
|
|
1544
2049
|
});
|
|
1545
2050
|
var RulesSetType_belot_instance;
|
|
1546
2051
|
var RulesSetType_klabor_instance;
|
|
@@ -1548,7 +2053,7 @@
|
|
|
1548
2053
|
var RulesSetType_debertzKharkiv_instance;
|
|
1549
2054
|
var RulesSetType_debertzMoscow_instance;
|
|
1550
2055
|
var RulesSetType_custom_instance;
|
|
1551
|
-
function
|
|
2056
|
+
function values_1() {
|
|
1552
2057
|
return [RulesSetType_belot_getInstance(), RulesSetType_klabor_getInstance(), RulesSetType_debertzCommon_getInstance(), RulesSetType_debertzKharkiv_getInstance(), RulesSetType_debertzMoscow_getInstance(), RulesSetType_custom_getInstance()];
|
|
1553
2058
|
}
|
|
1554
2059
|
function valueOf_0(value) {
|
|
@@ -1589,11 +2094,11 @@
|
|
|
1589
2094
|
RulesSetType.$metadata$ = classMeta('RulesSetType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
1590
2095
|
Object.defineProperty(RulesSetType.prototype, 'name', {
|
|
1591
2096
|
configurable: true,
|
|
1592
|
-
get: RulesSetType.prototype.
|
|
2097
|
+
get: RulesSetType.prototype.f5
|
|
1593
2098
|
});
|
|
1594
2099
|
Object.defineProperty(RulesSetType.prototype, 'ordinal', {
|
|
1595
2100
|
configurable: true,
|
|
1596
|
-
get: RulesSetType.prototype.
|
|
2101
|
+
get: RulesSetType.prototype.pi
|
|
1597
2102
|
});
|
|
1598
2103
|
function RulesSetType_belot_getInstance() {
|
|
1599
2104
|
RulesSetType_initEntries();
|
|
@@ -1619,16 +2124,660 @@
|
|
|
1619
2124
|
RulesSetType_initEntries();
|
|
1620
2125
|
return RulesSetType_custom_instance;
|
|
1621
2126
|
}
|
|
2127
|
+
function mapToDto(_this__u8e3s4) {
|
|
2128
|
+
return _this__u8e3s4.n2o_1;
|
|
2129
|
+
}
|
|
2130
|
+
function mapFromDto(_this__u8e3s4) {
|
|
2131
|
+
return new GameCard(_this__u8e3s4);
|
|
2132
|
+
}
|
|
2133
|
+
function mapToDto_0(_this__u8e3s4) {
|
|
2134
|
+
return _this__u8e3s4.p2o_1.n2o_1;
|
|
2135
|
+
}
|
|
2136
|
+
function mapToDto_1(_this__u8e3s4) {
|
|
2137
|
+
return new RulesDto(_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, _this__u8e3s4.p2n_1, _this__u8e3s4.q2n_1, _this__u8e3s4.r2n_1, _this__u8e3s4.s2n_1);
|
|
2138
|
+
}
|
|
2139
|
+
function mapFromDto_0(_this__u8e3s4) {
|
|
2140
|
+
return new Rules(_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, _this__u8e3s4.c2p_1, _this__u8e3s4.d2p_1, _this__u8e3s4.e2p_1, _this__u8e3s4.f2p_1);
|
|
2141
|
+
}
|
|
2142
|
+
function mapToDto_2(_this__u8e3s4) {
|
|
2143
|
+
return new GameUserInfoDto(_this__u8e3s4.r2l_1, _this__u8e3s4.s2l_1, _this__u8e3s4.t2l_1);
|
|
2144
|
+
}
|
|
2145
|
+
function mapFromDto_1(_this__u8e3s4) {
|
|
2146
|
+
return GameUserInfo_init_$Create$(_this__u8e3s4.g2p_1, _this__u8e3s4.h2p_1, _this__u8e3s4.i2p_1, null, 8, null);
|
|
2147
|
+
}
|
|
2148
|
+
function mapToDto_3(_this__u8e3s4) {
|
|
2149
|
+
var tmp0_startFromTime = _this__u8e3s4.z2l_1;
|
|
2150
|
+
var tmp1_state = _this__u8e3s4.a2m_1;
|
|
2151
|
+
var tmp2_tag = _this__u8e3s4.d2m_1;
|
|
2152
|
+
var tmp3_ready = _this__u8e3s4.b2m_1;
|
|
2153
|
+
return new PlayerStateDto(tmp0_startFromTime, tmp1_state, tmp3_ready, tmp2_tag);
|
|
2154
|
+
}
|
|
2155
|
+
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2156
|
+
var tmp0_startFromTime = _this__u8e3s4.j2p_1;
|
|
2157
|
+
var tmp1_state = _this__u8e3s4.k2p_1;
|
|
2158
|
+
var tmp2_tag = _this__u8e3s4.m2p_1;
|
|
2159
|
+
var tmp3_ready = _this__u8e3s4.l2p_1;
|
|
2160
|
+
return new PlayerState(tmp0_startFromTime, tmp1_state, tmp3_ready, connectionState, tmp2_tag);
|
|
2161
|
+
}
|
|
2162
|
+
function Companion_10() {
|
|
2163
|
+
Companion_instance_10 = this;
|
|
2164
|
+
}
|
|
2165
|
+
Companion_10.$metadata$ = objectMeta('Companion');
|
|
2166
|
+
var Companion_instance_10;
|
|
2167
|
+
function Companion_getInstance_10() {
|
|
2168
|
+
if (Companion_instance_10 == null)
|
|
2169
|
+
new Companion_10();
|
|
2170
|
+
return Companion_instance_10;
|
|
2171
|
+
}
|
|
2172
|
+
function $serializer_4() {
|
|
2173
|
+
$serializer_instance_4 = this;
|
|
2174
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 3);
|
|
2175
|
+
tmp0_serialDesc.d1t('playerId', false);
|
|
2176
|
+
tmp0_serialDesc.d1t('name', false);
|
|
2177
|
+
tmp0_serialDesc.d1t('avatarUrl', false);
|
|
2178
|
+
this.n2p_1 = tmp0_serialDesc;
|
|
2179
|
+
}
|
|
2180
|
+
$serializer_4.prototype.q1i = function () {
|
|
2181
|
+
return this.n2p_1;
|
|
2182
|
+
};
|
|
2183
|
+
$serializer_4.prototype.s1t = function () {
|
|
2184
|
+
var tmp$ret$2;
|
|
2185
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2186
|
+
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2187
|
+
var tmp$ret$1;
|
|
2188
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2189
|
+
var tmp$ret$0;
|
|
2190
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2191
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
2192
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2193
|
+
tmp$ret$2 = tmp$ret$1;
|
|
2194
|
+
return tmp$ret$2;
|
|
2195
|
+
};
|
|
2196
|
+
$serializer_4.prototype.s1i = function (decoder) {
|
|
2197
|
+
var tmp0_desc = this.n2p_1;
|
|
2198
|
+
var tmp1_flag = true;
|
|
2199
|
+
var tmp2_index = 0;
|
|
2200
|
+
var tmp3_bitMask0 = 0;
|
|
2201
|
+
var tmp4_local0 = null;
|
|
2202
|
+
var tmp5_local1 = null;
|
|
2203
|
+
var tmp6_local2 = null;
|
|
2204
|
+
var tmp7_input = decoder.y1l(tmp0_desc);
|
|
2205
|
+
if (tmp7_input.n1m()) {
|
|
2206
|
+
tmp4_local0 = tmp7_input.i1m(tmp0_desc, 0);
|
|
2207
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2208
|
+
tmp5_local1 = tmp7_input.i1m(tmp0_desc, 1);
|
|
2209
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2210
|
+
tmp6_local2 = tmp7_input.i1m(tmp0_desc, 2);
|
|
2211
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2212
|
+
} else
|
|
2213
|
+
while (tmp1_flag) {
|
|
2214
|
+
tmp2_index = tmp7_input.o1m(tmp0_desc);
|
|
2215
|
+
switch (tmp2_index) {
|
|
2216
|
+
case -1:
|
|
2217
|
+
tmp1_flag = false;
|
|
2218
|
+
break;
|
|
2219
|
+
case 0:
|
|
2220
|
+
tmp4_local0 = tmp7_input.i1m(tmp0_desc, 0);
|
|
2221
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2222
|
+
break;
|
|
2223
|
+
case 1:
|
|
2224
|
+
tmp5_local1 = tmp7_input.i1m(tmp0_desc, 1);
|
|
2225
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2226
|
+
break;
|
|
2227
|
+
case 2:
|
|
2228
|
+
tmp6_local2 = tmp7_input.i1m(tmp0_desc, 2);
|
|
2229
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2230
|
+
break;
|
|
2231
|
+
default:
|
|
2232
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
tmp7_input.z1l(tmp0_desc);
|
|
2236
|
+
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2237
|
+
};
|
|
2238
|
+
$serializer_4.prototype.o2p = function (encoder, value) {
|
|
2239
|
+
var tmp0_desc = this.n2p_1;
|
|
2240
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2241
|
+
tmp1_output.m1n(tmp0_desc, 0, value.g2p_1);
|
|
2242
|
+
tmp1_output.m1n(tmp0_desc, 1, value.h2p_1);
|
|
2243
|
+
tmp1_output.m1n(tmp0_desc, 2, value.i2p_1);
|
|
2244
|
+
tmp1_output.z1l(tmp0_desc);
|
|
2245
|
+
};
|
|
2246
|
+
$serializer_4.prototype.r1i = function (encoder, value) {
|
|
2247
|
+
return this.o2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2248
|
+
};
|
|
2249
|
+
$serializer_4.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2250
|
+
var $serializer_instance_4;
|
|
2251
|
+
function $serializer_getInstance_4() {
|
|
2252
|
+
if ($serializer_instance_4 == null)
|
|
2253
|
+
new $serializer_4();
|
|
2254
|
+
return $serializer_instance_4;
|
|
2255
|
+
}
|
|
2256
|
+
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, $this) {
|
|
2257
|
+
if (!(7 === (7 & seen1))) {
|
|
2258
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_4().n2p_1);
|
|
2259
|
+
}
|
|
2260
|
+
$this.g2p_1 = playerId;
|
|
2261
|
+
$this.h2p_1 = name;
|
|
2262
|
+
$this.i2p_1 = avatarUrl;
|
|
2263
|
+
return $this;
|
|
2264
|
+
}
|
|
2265
|
+
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, serializationConstructorMarker) {
|
|
2266
|
+
return GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, serializationConstructorMarker, Object.create(GameUserInfoDto.prototype));
|
|
2267
|
+
}
|
|
2268
|
+
function GameUserInfoDto(playerId, name, avatarUrl) {
|
|
2269
|
+
Companion_getInstance_10();
|
|
2270
|
+
this.g2p_1 = playerId;
|
|
2271
|
+
this.h2p_1 = name;
|
|
2272
|
+
this.i2p_1 = avatarUrl;
|
|
2273
|
+
}
|
|
2274
|
+
GameUserInfoDto.prototype.toString = function () {
|
|
2275
|
+
return 'GameUserInfoDto(playerId=' + this.g2p_1 + ', name=' + this.h2p_1 + ', avatarUrl=' + this.i2p_1 + ')';
|
|
2276
|
+
};
|
|
2277
|
+
GameUserInfoDto.prototype.hashCode = function () {
|
|
2278
|
+
var result = getStringHashCode(this.g2p_1);
|
|
2279
|
+
result = imul(result, 31) + getStringHashCode(this.h2p_1) | 0;
|
|
2280
|
+
result = imul(result, 31) + getStringHashCode(this.i2p_1) | 0;
|
|
2281
|
+
return result;
|
|
2282
|
+
};
|
|
2283
|
+
GameUserInfoDto.prototype.equals = function (other) {
|
|
2284
|
+
if (this === other)
|
|
2285
|
+
return true;
|
|
2286
|
+
if (!(other instanceof GameUserInfoDto))
|
|
2287
|
+
return false;
|
|
2288
|
+
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2289
|
+
if (!(this.g2p_1 === tmp0_other_with_cast.g2p_1))
|
|
2290
|
+
return false;
|
|
2291
|
+
if (!(this.h2p_1 === tmp0_other_with_cast.h2p_1))
|
|
2292
|
+
return false;
|
|
2293
|
+
if (!(this.i2p_1 === tmp0_other_with_cast.i2p_1))
|
|
2294
|
+
return false;
|
|
2295
|
+
return true;
|
|
2296
|
+
};
|
|
2297
|
+
GameUserInfoDto.$metadata$ = classMeta('GameUserInfoDto', undefined, undefined, {0: $serializer_getInstance_4});
|
|
2298
|
+
function Companion_11() {
|
|
2299
|
+
Companion_instance_11 = this;
|
|
2300
|
+
}
|
|
2301
|
+
Companion_11.$metadata$ = objectMeta('Companion');
|
|
2302
|
+
var Companion_instance_11;
|
|
2303
|
+
function Companion_getInstance_11() {
|
|
2304
|
+
if (Companion_instance_11 == null)
|
|
2305
|
+
new Companion_11();
|
|
2306
|
+
return Companion_instance_11;
|
|
2307
|
+
}
|
|
2308
|
+
function $serializer_5() {
|
|
2309
|
+
$serializer_instance_5 = this;
|
|
2310
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 4);
|
|
2311
|
+
tmp0_serialDesc.d1t('startFromTime', false);
|
|
2312
|
+
tmp0_serialDesc.d1t('state', false);
|
|
2313
|
+
tmp0_serialDesc.d1t('ready', false);
|
|
2314
|
+
tmp0_serialDesc.d1t('tag', true);
|
|
2315
|
+
this.p2p_1 = tmp0_serialDesc;
|
|
2316
|
+
}
|
|
2317
|
+
$serializer_5.prototype.q1i = function () {
|
|
2318
|
+
return this.p2p_1;
|
|
2319
|
+
};
|
|
2320
|
+
$serializer_5.prototype.s1t = function () {
|
|
2321
|
+
var tmp$ret$2;
|
|
2322
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2323
|
+
var tmp0_arrayOf = [LongSerializer_getInstance(), Companion_getInstance_7().l25(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
2324
|
+
var tmp$ret$1;
|
|
2325
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2326
|
+
var tmp$ret$0;
|
|
2327
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2328
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
2329
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2330
|
+
tmp$ret$2 = tmp$ret$1;
|
|
2331
|
+
return tmp$ret$2;
|
|
2332
|
+
};
|
|
2333
|
+
$serializer_5.prototype.s1i = function (decoder) {
|
|
2334
|
+
var tmp0_desc = this.p2p_1;
|
|
2335
|
+
var tmp1_flag = true;
|
|
2336
|
+
var tmp2_index = 0;
|
|
2337
|
+
var tmp3_bitMask0 = 0;
|
|
2338
|
+
var tmp4_local0 = new Long(0, 0);
|
|
2339
|
+
var tmp5_local1 = null;
|
|
2340
|
+
var tmp6_local2 = false;
|
|
2341
|
+
var tmp7_local3 = null;
|
|
2342
|
+
var tmp8_input = decoder.y1l(tmp0_desc);
|
|
2343
|
+
if (tmp8_input.n1m()) {
|
|
2344
|
+
tmp4_local0 = tmp8_input.e1m(tmp0_desc, 0);
|
|
2345
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2346
|
+
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1, Companion_getInstance_7().l25(), tmp5_local1);
|
|
2347
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2348
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2349
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2350
|
+
tmp7_local3 = tmp8_input.m1m(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2351
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2352
|
+
} else
|
|
2353
|
+
while (tmp1_flag) {
|
|
2354
|
+
tmp2_index = tmp8_input.o1m(tmp0_desc);
|
|
2355
|
+
switch (tmp2_index) {
|
|
2356
|
+
case -1:
|
|
2357
|
+
tmp1_flag = false;
|
|
2358
|
+
break;
|
|
2359
|
+
case 0:
|
|
2360
|
+
tmp4_local0 = tmp8_input.e1m(tmp0_desc, 0);
|
|
2361
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2362
|
+
break;
|
|
2363
|
+
case 1:
|
|
2364
|
+
tmp5_local1 = tmp8_input.k1m(tmp0_desc, 1, Companion_getInstance_7().l25(), tmp5_local1);
|
|
2365
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2366
|
+
break;
|
|
2367
|
+
case 2:
|
|
2368
|
+
tmp6_local2 = tmp8_input.a1m(tmp0_desc, 2);
|
|
2369
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2370
|
+
break;
|
|
2371
|
+
case 3:
|
|
2372
|
+
tmp7_local3 = tmp8_input.m1m(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2373
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2374
|
+
break;
|
|
2375
|
+
default:
|
|
2376
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
tmp8_input.z1l(tmp0_desc);
|
|
2380
|
+
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2381
|
+
};
|
|
2382
|
+
$serializer_5.prototype.q2p = function (encoder, value) {
|
|
2383
|
+
var tmp0_desc = this.p2p_1;
|
|
2384
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2385
|
+
tmp1_output.i1n(tmp0_desc, 0, value.j2p_1);
|
|
2386
|
+
tmp1_output.o1n(tmp0_desc, 1, Companion_getInstance_7().l25(), value.k2p_1);
|
|
2387
|
+
tmp1_output.e1n(tmp0_desc, 2, value.l2p_1);
|
|
2388
|
+
if (tmp1_output.u1n(tmp0_desc, 3) ? true : !(value.m2p_1 == null)) {
|
|
2389
|
+
tmp1_output.q1n(tmp0_desc, 3, StringSerializer_getInstance(), value.m2p_1);
|
|
2390
|
+
}
|
|
2391
|
+
tmp1_output.z1l(tmp0_desc);
|
|
2392
|
+
};
|
|
2393
|
+
$serializer_5.prototype.r1i = function (encoder, value) {
|
|
2394
|
+
return this.q2p(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2395
|
+
};
|
|
2396
|
+
$serializer_5.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2397
|
+
var $serializer_instance_5;
|
|
2398
|
+
function $serializer_getInstance_5() {
|
|
2399
|
+
if ($serializer_instance_5 == null)
|
|
2400
|
+
new $serializer_5();
|
|
2401
|
+
return $serializer_instance_5;
|
|
2402
|
+
}
|
|
2403
|
+
function PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2404
|
+
if (!(7 === (7 & seen1))) {
|
|
2405
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_5().p2p_1);
|
|
2406
|
+
}
|
|
2407
|
+
$this.j2p_1 = startFromTime;
|
|
2408
|
+
$this.k2p_1 = state;
|
|
2409
|
+
$this.l2p_1 = ready;
|
|
2410
|
+
if (0 === (seen1 & 8))
|
|
2411
|
+
$this.m2p_1 = null;
|
|
2412
|
+
else
|
|
2413
|
+
$this.m2p_1 = tag;
|
|
2414
|
+
return $this;
|
|
2415
|
+
}
|
|
2416
|
+
function PlayerStateDto_init_$Create$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker) {
|
|
2417
|
+
return PlayerStateDto_init_$Init$(seen1, startFromTime, state, ready, tag, serializationConstructorMarker, Object.create(PlayerStateDto.prototype));
|
|
2418
|
+
}
|
|
2419
|
+
function PlayerStateDto(startFromTime, state, ready, tag) {
|
|
2420
|
+
Companion_getInstance_11();
|
|
2421
|
+
this.j2p_1 = startFromTime;
|
|
2422
|
+
this.k2p_1 = state;
|
|
2423
|
+
this.l2p_1 = ready;
|
|
2424
|
+
this.m2p_1 = tag;
|
|
2425
|
+
}
|
|
2426
|
+
PlayerStateDto.prototype.toString = function () {
|
|
2427
|
+
return 'PlayerStateDto(startFromTime=' + toString_0(this.j2p_1) + ', state=' + this.k2p_1 + ', ready=' + this.l2p_1 + ', tag=' + this.m2p_1 + ')';
|
|
2428
|
+
};
|
|
2429
|
+
PlayerStateDto.prototype.hashCode = function () {
|
|
2430
|
+
var result = this.j2p_1.hashCode();
|
|
2431
|
+
result = imul(result, 31) + this.k2p_1.hashCode() | 0;
|
|
2432
|
+
result = imul(result, 31) + (this.l2p_1 | 0) | 0;
|
|
2433
|
+
result = imul(result, 31) + (this.m2p_1 == null ? 0 : getStringHashCode(this.m2p_1)) | 0;
|
|
2434
|
+
return result;
|
|
2435
|
+
};
|
|
2436
|
+
PlayerStateDto.prototype.equals = function (other) {
|
|
2437
|
+
if (this === other)
|
|
2438
|
+
return true;
|
|
2439
|
+
if (!(other instanceof PlayerStateDto))
|
|
2440
|
+
return false;
|
|
2441
|
+
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2442
|
+
if (!this.j2p_1.equals(tmp0_other_with_cast.j2p_1))
|
|
2443
|
+
return false;
|
|
2444
|
+
if (!this.k2p_1.equals(tmp0_other_with_cast.k2p_1))
|
|
2445
|
+
return false;
|
|
2446
|
+
if (!(this.l2p_1 === tmp0_other_with_cast.l2p_1))
|
|
2447
|
+
return false;
|
|
2448
|
+
if (!(this.m2p_1 == tmp0_other_with_cast.m2p_1))
|
|
2449
|
+
return false;
|
|
2450
|
+
return true;
|
|
2451
|
+
};
|
|
2452
|
+
PlayerStateDto.$metadata$ = classMeta('PlayerStateDto', undefined, undefined, {0: $serializer_getInstance_5});
|
|
2453
|
+
function Companion_12() {
|
|
2454
|
+
Companion_instance_12 = this;
|
|
2455
|
+
}
|
|
2456
|
+
Companion_12.$metadata$ = objectMeta('Companion');
|
|
2457
|
+
var Companion_instance_12;
|
|
2458
|
+
function Companion_getInstance_12() {
|
|
2459
|
+
if (Companion_instance_12 == null)
|
|
2460
|
+
new Companion_12();
|
|
2461
|
+
return Companion_instance_12;
|
|
2462
|
+
}
|
|
2463
|
+
function $serializer_6() {
|
|
2464
|
+
$serializer_instance_6 = this;
|
|
2465
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 16);
|
|
2466
|
+
tmp0_serialDesc.d1t('needToPutHigherTrump', false);
|
|
2467
|
+
tmp0_serialDesc.d1t('distributePoints', false);
|
|
2468
|
+
tmp0_serialDesc.d1t('protectBella', false);
|
|
2469
|
+
tmp0_serialDesc.d1t('enableFourSevensCombination', false);
|
|
2470
|
+
tmp0_serialDesc.d1t('enableTrumpSevenCombination', false);
|
|
2471
|
+
tmp0_serialDesc.d1t('enableTrumpSevenCombinationAfterDistribution', false);
|
|
2472
|
+
tmp0_serialDesc.d1t('playerWhoChooseSuitGoFirst', false);
|
|
2473
|
+
tmp0_serialDesc.d1t('winnerShuffleCards', false);
|
|
2474
|
+
tmp0_serialDesc.d1t('playWithoutLiabilities', false);
|
|
2475
|
+
tmp0_serialDesc.d1t('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
2476
|
+
tmp0_serialDesc.d1t('enableFineIfNoBribes', false);
|
|
2477
|
+
tmp0_serialDesc.d1t('fineIfNoBribes', false);
|
|
2478
|
+
tmp0_serialDesc.d1t('enableFineAfterThirdByte', false);
|
|
2479
|
+
tmp0_serialDesc.d1t('checkTrumpCombination', false);
|
|
2480
|
+
tmp0_serialDesc.d1t('checkOnlyTrumpDebertz', false);
|
|
2481
|
+
tmp0_serialDesc.d1t('tenCardsInHand', false);
|
|
2482
|
+
this.r2p_1 = tmp0_serialDesc;
|
|
2483
|
+
}
|
|
2484
|
+
$serializer_6.prototype.q1i = function () {
|
|
2485
|
+
return this.r2p_1;
|
|
2486
|
+
};
|
|
2487
|
+
$serializer_6.prototype.s1t = function () {
|
|
2488
|
+
var tmp$ret$2;
|
|
2489
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2490
|
+
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()];
|
|
2491
|
+
var tmp$ret$1;
|
|
2492
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2493
|
+
var tmp$ret$0;
|
|
2494
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2495
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
2496
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2497
|
+
tmp$ret$2 = tmp$ret$1;
|
|
2498
|
+
return tmp$ret$2;
|
|
2499
|
+
};
|
|
2500
|
+
$serializer_6.prototype.s1i = function (decoder) {
|
|
2501
|
+
var tmp0_desc = this.r2p_1;
|
|
2502
|
+
var tmp1_flag = true;
|
|
2503
|
+
var tmp2_index = 0;
|
|
2504
|
+
var tmp3_bitMask0 = 0;
|
|
2505
|
+
var tmp4_local0 = false;
|
|
2506
|
+
var tmp5_local1 = false;
|
|
2507
|
+
var tmp6_local2 = false;
|
|
2508
|
+
var tmp7_local3 = false;
|
|
2509
|
+
var tmp8_local4 = false;
|
|
2510
|
+
var tmp9_local5 = false;
|
|
2511
|
+
var tmp10_local6 = false;
|
|
2512
|
+
var tmp11_local7 = false;
|
|
2513
|
+
var tmp12_local8 = false;
|
|
2514
|
+
var tmp13_local9 = false;
|
|
2515
|
+
var tmp14_local10 = false;
|
|
2516
|
+
var tmp15_local11 = 0;
|
|
2517
|
+
var tmp16_local12 = false;
|
|
2518
|
+
var tmp17_local13 = false;
|
|
2519
|
+
var tmp18_local14 = false;
|
|
2520
|
+
var tmp19_local15 = false;
|
|
2521
|
+
var tmp20_input = decoder.y1l(tmp0_desc);
|
|
2522
|
+
if (tmp20_input.n1m()) {
|
|
2523
|
+
tmp4_local0 = tmp20_input.a1m(tmp0_desc, 0);
|
|
2524
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2525
|
+
tmp5_local1 = tmp20_input.a1m(tmp0_desc, 1);
|
|
2526
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2527
|
+
tmp6_local2 = tmp20_input.a1m(tmp0_desc, 2);
|
|
2528
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2529
|
+
tmp7_local3 = tmp20_input.a1m(tmp0_desc, 3);
|
|
2530
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2531
|
+
tmp8_local4 = tmp20_input.a1m(tmp0_desc, 4);
|
|
2532
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2533
|
+
tmp9_local5 = tmp20_input.a1m(tmp0_desc, 5);
|
|
2534
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2535
|
+
tmp10_local6 = tmp20_input.a1m(tmp0_desc, 6);
|
|
2536
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2537
|
+
tmp11_local7 = tmp20_input.a1m(tmp0_desc, 7);
|
|
2538
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2539
|
+
tmp12_local8 = tmp20_input.a1m(tmp0_desc, 8);
|
|
2540
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2541
|
+
tmp13_local9 = tmp20_input.a1m(tmp0_desc, 9);
|
|
2542
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2543
|
+
tmp14_local10 = tmp20_input.a1m(tmp0_desc, 10);
|
|
2544
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2545
|
+
tmp15_local11 = tmp20_input.d1m(tmp0_desc, 11);
|
|
2546
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2547
|
+
tmp16_local12 = tmp20_input.a1m(tmp0_desc, 12);
|
|
2548
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2549
|
+
tmp17_local13 = tmp20_input.a1m(tmp0_desc, 13);
|
|
2550
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2551
|
+
tmp18_local14 = tmp20_input.a1m(tmp0_desc, 14);
|
|
2552
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2553
|
+
tmp19_local15 = tmp20_input.a1m(tmp0_desc, 15);
|
|
2554
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2555
|
+
} else
|
|
2556
|
+
while (tmp1_flag) {
|
|
2557
|
+
tmp2_index = tmp20_input.o1m(tmp0_desc);
|
|
2558
|
+
switch (tmp2_index) {
|
|
2559
|
+
case -1:
|
|
2560
|
+
tmp1_flag = false;
|
|
2561
|
+
break;
|
|
2562
|
+
case 0:
|
|
2563
|
+
tmp4_local0 = tmp20_input.a1m(tmp0_desc, 0);
|
|
2564
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2565
|
+
break;
|
|
2566
|
+
case 1:
|
|
2567
|
+
tmp5_local1 = tmp20_input.a1m(tmp0_desc, 1);
|
|
2568
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2569
|
+
break;
|
|
2570
|
+
case 2:
|
|
2571
|
+
tmp6_local2 = tmp20_input.a1m(tmp0_desc, 2);
|
|
2572
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2573
|
+
break;
|
|
2574
|
+
case 3:
|
|
2575
|
+
tmp7_local3 = tmp20_input.a1m(tmp0_desc, 3);
|
|
2576
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2577
|
+
break;
|
|
2578
|
+
case 4:
|
|
2579
|
+
tmp8_local4 = tmp20_input.a1m(tmp0_desc, 4);
|
|
2580
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2581
|
+
break;
|
|
2582
|
+
case 5:
|
|
2583
|
+
tmp9_local5 = tmp20_input.a1m(tmp0_desc, 5);
|
|
2584
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2585
|
+
break;
|
|
2586
|
+
case 6:
|
|
2587
|
+
tmp10_local6 = tmp20_input.a1m(tmp0_desc, 6);
|
|
2588
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2589
|
+
break;
|
|
2590
|
+
case 7:
|
|
2591
|
+
tmp11_local7 = tmp20_input.a1m(tmp0_desc, 7);
|
|
2592
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2593
|
+
break;
|
|
2594
|
+
case 8:
|
|
2595
|
+
tmp12_local8 = tmp20_input.a1m(tmp0_desc, 8);
|
|
2596
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2597
|
+
break;
|
|
2598
|
+
case 9:
|
|
2599
|
+
tmp13_local9 = tmp20_input.a1m(tmp0_desc, 9);
|
|
2600
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2601
|
+
break;
|
|
2602
|
+
case 10:
|
|
2603
|
+
tmp14_local10 = tmp20_input.a1m(tmp0_desc, 10);
|
|
2604
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2605
|
+
break;
|
|
2606
|
+
case 11:
|
|
2607
|
+
tmp15_local11 = tmp20_input.d1m(tmp0_desc, 11);
|
|
2608
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2609
|
+
break;
|
|
2610
|
+
case 12:
|
|
2611
|
+
tmp16_local12 = tmp20_input.a1m(tmp0_desc, 12);
|
|
2612
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2613
|
+
break;
|
|
2614
|
+
case 13:
|
|
2615
|
+
tmp17_local13 = tmp20_input.a1m(tmp0_desc, 13);
|
|
2616
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2617
|
+
break;
|
|
2618
|
+
case 14:
|
|
2619
|
+
tmp18_local14 = tmp20_input.a1m(tmp0_desc, 14);
|
|
2620
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2621
|
+
break;
|
|
2622
|
+
case 15:
|
|
2623
|
+
tmp19_local15 = tmp20_input.a1m(tmp0_desc, 15);
|
|
2624
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2625
|
+
break;
|
|
2626
|
+
default:
|
|
2627
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
tmp20_input.z1l(tmp0_desc);
|
|
2631
|
+
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);
|
|
2632
|
+
};
|
|
2633
|
+
$serializer_6.prototype.s2p = function (encoder, value) {
|
|
2634
|
+
var tmp0_desc = this.r2p_1;
|
|
2635
|
+
var tmp1_output = encoder.y1l(tmp0_desc);
|
|
2636
|
+
tmp1_output.e1n(tmp0_desc, 0, value.q2o_1);
|
|
2637
|
+
tmp1_output.e1n(tmp0_desc, 1, value.r2o_1);
|
|
2638
|
+
tmp1_output.e1n(tmp0_desc, 2, value.s2o_1);
|
|
2639
|
+
tmp1_output.e1n(tmp0_desc, 3, value.t2o_1);
|
|
2640
|
+
tmp1_output.e1n(tmp0_desc, 4, value.u2o_1);
|
|
2641
|
+
tmp1_output.e1n(tmp0_desc, 5, value.v2o_1);
|
|
2642
|
+
tmp1_output.e1n(tmp0_desc, 6, value.w2o_1);
|
|
2643
|
+
tmp1_output.e1n(tmp0_desc, 7, value.x2o_1);
|
|
2644
|
+
tmp1_output.e1n(tmp0_desc, 8, value.y2o_1);
|
|
2645
|
+
tmp1_output.e1n(tmp0_desc, 9, value.z2o_1);
|
|
2646
|
+
tmp1_output.e1n(tmp0_desc, 10, value.a2p_1);
|
|
2647
|
+
tmp1_output.h1n(tmp0_desc, 11, value.b2p_1);
|
|
2648
|
+
tmp1_output.e1n(tmp0_desc, 12, value.c2p_1);
|
|
2649
|
+
tmp1_output.e1n(tmp0_desc, 13, value.d2p_1);
|
|
2650
|
+
tmp1_output.e1n(tmp0_desc, 14, value.e2p_1);
|
|
2651
|
+
tmp1_output.e1n(tmp0_desc, 15, value.f2p_1);
|
|
2652
|
+
tmp1_output.z1l(tmp0_desc);
|
|
2653
|
+
};
|
|
2654
|
+
$serializer_6.prototype.r1i = function (encoder, value) {
|
|
2655
|
+
return this.s2p(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2656
|
+
};
|
|
2657
|
+
$serializer_6.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
2658
|
+
var $serializer_instance_6;
|
|
2659
|
+
function $serializer_getInstance_6() {
|
|
2660
|
+
if ($serializer_instance_6 == null)
|
|
2661
|
+
new $serializer_6();
|
|
2662
|
+
return $serializer_instance_6;
|
|
2663
|
+
}
|
|
2664
|
+
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2665
|
+
if (!(65535 === (65535 & seen1))) {
|
|
2666
|
+
throwMissingFieldException(seen1, 65535, $serializer_getInstance_6().r2p_1);
|
|
2667
|
+
}
|
|
2668
|
+
$this.q2o_1 = needToPutHigherTrump;
|
|
2669
|
+
$this.r2o_1 = distributePoints;
|
|
2670
|
+
$this.s2o_1 = protectBella;
|
|
2671
|
+
$this.t2o_1 = enableFourSevensCombination;
|
|
2672
|
+
$this.u2o_1 = enableTrumpSevenCombination;
|
|
2673
|
+
$this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2674
|
+
$this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2675
|
+
$this.x2o_1 = winnerShuffleCards;
|
|
2676
|
+
$this.y2o_1 = playWithoutLiabilities;
|
|
2677
|
+
$this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2678
|
+
$this.a2p_1 = enableFineIfNoBribes;
|
|
2679
|
+
$this.b2p_1 = fineIfNoBribes;
|
|
2680
|
+
$this.c2p_1 = enableFineAfterThirdByte;
|
|
2681
|
+
$this.d2p_1 = checkTrumpCombination;
|
|
2682
|
+
$this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2683
|
+
$this.f2p_1 = tenCardsInHand;
|
|
2684
|
+
return $this;
|
|
2685
|
+
}
|
|
2686
|
+
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
2687
|
+
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));
|
|
2688
|
+
}
|
|
2689
|
+
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2690
|
+
Companion_getInstance_12();
|
|
2691
|
+
this.q2o_1 = needToPutHigherTrump;
|
|
2692
|
+
this.r2o_1 = distributePoints;
|
|
2693
|
+
this.s2o_1 = protectBella;
|
|
2694
|
+
this.t2o_1 = enableFourSevensCombination;
|
|
2695
|
+
this.u2o_1 = enableTrumpSevenCombination;
|
|
2696
|
+
this.v2o_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2697
|
+
this.w2o_1 = playerWhoChooseSuitGoFirst;
|
|
2698
|
+
this.x2o_1 = winnerShuffleCards;
|
|
2699
|
+
this.y2o_1 = playWithoutLiabilities;
|
|
2700
|
+
this.z2o_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2701
|
+
this.a2p_1 = enableFineIfNoBribes;
|
|
2702
|
+
this.b2p_1 = fineIfNoBribes;
|
|
2703
|
+
this.c2p_1 = enableFineAfterThirdByte;
|
|
2704
|
+
this.d2p_1 = checkTrumpCombination;
|
|
2705
|
+
this.e2p_1 = checkOnlyTrumpDebertz;
|
|
2706
|
+
this.f2p_1 = tenCardsInHand;
|
|
2707
|
+
}
|
|
2708
|
+
RulesDto.prototype.toString = function () {
|
|
2709
|
+
return 'RulesDto(needToPutHigherTrump=' + this.q2o_1 + ', distributePoints=' + this.r2o_1 + ', protectBella=' + this.s2o_1 + ', enableFourSevensCombination=' + this.t2o_1 + ', enableTrumpSevenCombination=' + this.u2o_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.v2o_1 + ', playerWhoChooseSuitGoFirst=' + this.w2o_1 + ', winnerShuffleCards=' + this.x2o_1 + ', playWithoutLiabilities=' + this.y2o_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.z2o_1 + ', enableFineIfNoBribes=' + this.a2p_1 + ', fineIfNoBribes=' + this.b2p_1 + ', enableFineAfterThirdByte=' + this.c2p_1 + ', checkTrumpCombination=' + this.d2p_1 + ', checkOnlyTrumpDebertz=' + this.e2p_1 + ', tenCardsInHand=' + this.f2p_1 + ')';
|
|
2710
|
+
};
|
|
2711
|
+
RulesDto.prototype.hashCode = function () {
|
|
2712
|
+
var result = this.q2o_1 | 0;
|
|
2713
|
+
result = imul(result, 31) + (this.r2o_1 | 0) | 0;
|
|
2714
|
+
result = imul(result, 31) + (this.s2o_1 | 0) | 0;
|
|
2715
|
+
result = imul(result, 31) + (this.t2o_1 | 0) | 0;
|
|
2716
|
+
result = imul(result, 31) + (this.u2o_1 | 0) | 0;
|
|
2717
|
+
result = imul(result, 31) + (this.v2o_1 | 0) | 0;
|
|
2718
|
+
result = imul(result, 31) + (this.w2o_1 | 0) | 0;
|
|
2719
|
+
result = imul(result, 31) + (this.x2o_1 | 0) | 0;
|
|
2720
|
+
result = imul(result, 31) + (this.y2o_1 | 0) | 0;
|
|
2721
|
+
result = imul(result, 31) + (this.z2o_1 | 0) | 0;
|
|
2722
|
+
result = imul(result, 31) + (this.a2p_1 | 0) | 0;
|
|
2723
|
+
result = imul(result, 31) + this.b2p_1 | 0;
|
|
2724
|
+
result = imul(result, 31) + (this.c2p_1 | 0) | 0;
|
|
2725
|
+
result = imul(result, 31) + (this.d2p_1 | 0) | 0;
|
|
2726
|
+
result = imul(result, 31) + (this.e2p_1 | 0) | 0;
|
|
2727
|
+
result = imul(result, 31) + (this.f2p_1 | 0) | 0;
|
|
2728
|
+
return result;
|
|
2729
|
+
};
|
|
2730
|
+
RulesDto.prototype.equals = function (other) {
|
|
2731
|
+
if (this === other)
|
|
2732
|
+
return true;
|
|
2733
|
+
if (!(other instanceof RulesDto))
|
|
2734
|
+
return false;
|
|
2735
|
+
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
2736
|
+
if (!(this.q2o_1 === tmp0_other_with_cast.q2o_1))
|
|
2737
|
+
return false;
|
|
2738
|
+
if (!(this.r2o_1 === tmp0_other_with_cast.r2o_1))
|
|
2739
|
+
return false;
|
|
2740
|
+
if (!(this.s2o_1 === tmp0_other_with_cast.s2o_1))
|
|
2741
|
+
return false;
|
|
2742
|
+
if (!(this.t2o_1 === tmp0_other_with_cast.t2o_1))
|
|
2743
|
+
return false;
|
|
2744
|
+
if (!(this.u2o_1 === tmp0_other_with_cast.u2o_1))
|
|
2745
|
+
return false;
|
|
2746
|
+
if (!(this.v2o_1 === tmp0_other_with_cast.v2o_1))
|
|
2747
|
+
return false;
|
|
2748
|
+
if (!(this.w2o_1 === tmp0_other_with_cast.w2o_1))
|
|
2749
|
+
return false;
|
|
2750
|
+
if (!(this.x2o_1 === tmp0_other_with_cast.x2o_1))
|
|
2751
|
+
return false;
|
|
2752
|
+
if (!(this.y2o_1 === tmp0_other_with_cast.y2o_1))
|
|
2753
|
+
return false;
|
|
2754
|
+
if (!(this.z2o_1 === tmp0_other_with_cast.z2o_1))
|
|
2755
|
+
return false;
|
|
2756
|
+
if (!(this.a2p_1 === tmp0_other_with_cast.a2p_1))
|
|
2757
|
+
return false;
|
|
2758
|
+
if (!(this.b2p_1 === tmp0_other_with_cast.b2p_1))
|
|
2759
|
+
return false;
|
|
2760
|
+
if (!(this.c2p_1 === tmp0_other_with_cast.c2p_1))
|
|
2761
|
+
return false;
|
|
2762
|
+
if (!(this.d2p_1 === tmp0_other_with_cast.d2p_1))
|
|
2763
|
+
return false;
|
|
2764
|
+
if (!(this.e2p_1 === tmp0_other_with_cast.e2p_1))
|
|
2765
|
+
return false;
|
|
2766
|
+
if (!(this.f2p_1 === tmp0_other_with_cast.f2p_1))
|
|
2767
|
+
return false;
|
|
2768
|
+
return true;
|
|
2769
|
+
};
|
|
2770
|
+
RulesDto.$metadata$ = classMeta('RulesDto', undefined, undefined, {0: $serializer_getInstance_6});
|
|
1622
2771
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
2772
|
+
this.t2p_1 = trump;
|
|
2773
|
+
this.u2p_1 = firstCardSuit;
|
|
1625
2774
|
}
|
|
1626
|
-
CardGrowthComparator.prototype.
|
|
1627
|
-
return getGrowth(b, this.
|
|
2775
|
+
CardGrowthComparator.prototype.v2p = function (a, b) {
|
|
2776
|
+
return getGrowth(b, this.t2p_1, this.u2p_1) - getGrowth(a, this.t2p_1, this.u2p_1) | 0;
|
|
1628
2777
|
};
|
|
1629
2778
|
CardGrowthComparator.prototype.compare = function (a, b) {
|
|
1630
2779
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
1631
|
-
return this.
|
|
2780
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
1632
2781
|
};
|
|
1633
2782
|
CardGrowthComparator.$metadata$ = classMeta('CardGrowthComparator', [Comparator]);
|
|
1634
2783
|
function filterByCardName(_this__u8e3s4, name) {
|
|
@@ -1652,12 +2801,12 @@
|
|
|
1652
2801
|
function CardIndexComparator() {
|
|
1653
2802
|
CardIndexComparator_instance = this;
|
|
1654
2803
|
}
|
|
1655
|
-
CardIndexComparator.prototype.
|
|
1656
|
-
return a.
|
|
2804
|
+
CardIndexComparator.prototype.v2p = function (a, b) {
|
|
2805
|
+
return a.n2o_1 - b.n2o_1 | 0;
|
|
1657
2806
|
};
|
|
1658
2807
|
CardIndexComparator.prototype.compare = function (a, b) {
|
|
1659
2808
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
1660
|
-
return this.
|
|
2809
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
1661
2810
|
};
|
|
1662
2811
|
CardIndexComparator.$metadata$ = objectMeta('CardIndexComparator', [Comparator]);
|
|
1663
2812
|
var CardIndexComparator_instance;
|
|
@@ -1687,12 +2836,12 @@
|
|
|
1687
2836
|
function CardNumberComparator() {
|
|
1688
2837
|
CardNumberComparator_instance = this;
|
|
1689
2838
|
}
|
|
1690
|
-
CardNumberComparator.prototype.
|
|
1691
|
-
return b.
|
|
2839
|
+
CardNumberComparator.prototype.v2p = function (a, b) {
|
|
2840
|
+
return b.w2p() - a.w2p() | 0;
|
|
1692
2841
|
};
|
|
1693
2842
|
CardNumberComparator.prototype.compare = function (a, b) {
|
|
1694
2843
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
1695
|
-
return this.
|
|
2844
|
+
return this.v2p(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
1696
2845
|
};
|
|
1697
2846
|
CardNumberComparator.$metadata$ = objectMeta('CardNumberComparator', [Comparator]);
|
|
1698
2847
|
var CardNumberComparator_instance;
|
|
@@ -1702,9 +2851,9 @@
|
|
|
1702
2851
|
return CardNumberComparator_instance;
|
|
1703
2852
|
}
|
|
1704
2853
|
function getPoint(_this__u8e3s4, trump) {
|
|
1705
|
-
var isNotTrump = !trump.equals(_this__u8e3s4.
|
|
1706
|
-
var tmp0_subject = _this__u8e3s4.
|
|
1707
|
-
var tmp0 = tmp0_subject.
|
|
2854
|
+
var isNotTrump = !trump.equals(_this__u8e3s4.x2p());
|
|
2855
|
+
var tmp0_subject = _this__u8e3s4.f5();
|
|
2856
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
1708
2857
|
var tmp;
|
|
1709
2858
|
switch (tmp0) {
|
|
1710
2859
|
case 7:
|
|
@@ -1730,18 +2879,18 @@
|
|
|
1730
2879
|
tmp = 11;
|
|
1731
2880
|
break;
|
|
1732
2881
|
default:
|
|
1733
|
-
throw IllegalStateException_init_$Create$('Invalid card name ' + _this__u8e3s4.
|
|
2882
|
+
throw IllegalStateException_init_$Create$('Invalid card name ' + _this__u8e3s4.f5());
|
|
1734
2883
|
}
|
|
1735
2884
|
return tmp;
|
|
1736
2885
|
}
|
|
1737
2886
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
1738
2887
|
var minPoint = 0;
|
|
1739
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
1740
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
2888
|
+
var isTrump = trump.equals(_this__u8e3s4.x2p());
|
|
2889
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.x2p());
|
|
1741
2890
|
var minGrowth;
|
|
1742
2891
|
var maxGrowth;
|
|
1743
|
-
var tmp0_subject = _this__u8e3s4.
|
|
1744
|
-
var tmp0 = tmp0_subject.
|
|
2892
|
+
var tmp0_subject = _this__u8e3s4.f5();
|
|
2893
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
1745
2894
|
switch (tmp0) {
|
|
1746
2895
|
case 7:
|
|
1747
2896
|
minGrowth = 0;
|
|
@@ -1811,7 +2960,7 @@
|
|
|
1811
2960
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1812
2961
|
var tmp$ret$0;
|
|
1813
2962
|
// Inline function 'com.logic.data.models.table.cards.byCardNamePredicate.<anonymous>.<anonymous>' call
|
|
1814
|
-
tmp$ret$0 = p1.
|
|
2963
|
+
tmp$ret$0 = p1.f5().equals(element);
|
|
1815
2964
|
if (tmp$ret$0) {
|
|
1816
2965
|
tmp$ret$1 = true;
|
|
1817
2966
|
break $l$block;
|
|
@@ -1835,7 +2984,7 @@
|
|
|
1835
2984
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1836
2985
|
var tmp$ret$0;
|
|
1837
2986
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
1838
|
-
tmp$ret$0 = p1.
|
|
2987
|
+
tmp$ret$0 = p1.x2p().equals(element);
|
|
1839
2988
|
if (tmp$ret$0) {
|
|
1840
2989
|
tmp$ret$1 = true;
|
|
1841
2990
|
break $l$block;
|
|
@@ -1880,25 +3029,44 @@
|
|
|
1880
3029
|
CardName_TWO_instance = new CardName('TWO', 12);
|
|
1881
3030
|
CardName_STUB_instance = new CardName('STUB', 13);
|
|
1882
3031
|
}
|
|
1883
|
-
function
|
|
1884
|
-
|
|
3032
|
+
function Companion_13() {
|
|
3033
|
+
Companion_instance_13 = this;
|
|
1885
3034
|
}
|
|
1886
|
-
|
|
1887
|
-
return new GameCard(getNumber(
|
|
3035
|
+
Companion_13.prototype.y2p = function (suit, cardNumber) {
|
|
3036
|
+
return new GameCard(getNumber(Companion_getInstance_14(), cardNumber, suit));
|
|
1888
3037
|
};
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
3038
|
+
Companion_13.prototype.z2p = function (position, playerIndex, reverse) {
|
|
3039
|
+
var tmp;
|
|
3040
|
+
if (reverse) {
|
|
3041
|
+
Companion_getInstance_14();
|
|
3042
|
+
Companion_getInstance_14();
|
|
3043
|
+
tmp = (53 + imul(playerIndex, 13 + 1 | 0) | 0) - position | 0;
|
|
3044
|
+
} else {
|
|
3045
|
+
Companion_getInstance_14();
|
|
3046
|
+
Companion_getInstance_14();
|
|
3047
|
+
tmp = (53 + imul(playerIndex, 13) | 0) + position | 0;
|
|
3048
|
+
}
|
|
3049
|
+
var index = tmp;
|
|
3050
|
+
return new GameCard(index);
|
|
3051
|
+
};
|
|
3052
|
+
Companion_13.prototype.a2q = function (position, playerIndex, reverse, $mask0, $handler) {
|
|
3053
|
+
if (!(($mask0 & 4) === 0))
|
|
3054
|
+
reverse = false;
|
|
3055
|
+
return this.z2p(position, playerIndex, reverse);
|
|
3056
|
+
};
|
|
3057
|
+
Companion_13.$metadata$ = objectMeta('Companion');
|
|
3058
|
+
var Companion_instance_13;
|
|
3059
|
+
function Companion_getInstance_13() {
|
|
3060
|
+
if (Companion_instance_13 == null)
|
|
3061
|
+
new Companion_13();
|
|
3062
|
+
return Companion_instance_13;
|
|
1895
3063
|
}
|
|
1896
3064
|
function getNumber($this, cardNumber, suit) {
|
|
1897
3065
|
return imul(getIndex(suit), 13) + getCardNumber($this, cardNumber) | 0;
|
|
1898
3066
|
}
|
|
1899
3067
|
function getCardNumber($this, number) {
|
|
1900
3068
|
var tmp0_subject = number;
|
|
1901
|
-
var tmp0 = tmp0_subject.
|
|
3069
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
1902
3070
|
var tmp;
|
|
1903
3071
|
switch (tmp0) {
|
|
1904
3072
|
case 12:
|
|
@@ -1994,27 +3162,27 @@
|
|
|
1994
3162
|
return tmp;
|
|
1995
3163
|
}
|
|
1996
3164
|
function _get_isShirt__vd98rp($this) {
|
|
1997
|
-
var tmp = $this.
|
|
1998
|
-
|
|
3165
|
+
var tmp = $this.n2o_1;
|
|
3166
|
+
Companion_getInstance_14();
|
|
1999
3167
|
return tmp === 52;
|
|
2000
3168
|
}
|
|
2001
3169
|
function CardName(name, ordinal) {
|
|
2002
3170
|
Enum.call(this, name, ordinal);
|
|
2003
3171
|
}
|
|
2004
3172
|
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
|
|
3173
|
+
function Companion_14() {
|
|
3174
|
+
Companion_instance_14 = this;
|
|
3175
|
+
this.b2q_1 = -1;
|
|
3176
|
+
this.c2q_1 = 13;
|
|
3177
|
+
this.d2q_1 = 52;
|
|
3178
|
+
this.e2q_1 = 53;
|
|
3179
|
+
}
|
|
3180
|
+
Companion_14.$metadata$ = objectMeta('Companion');
|
|
3181
|
+
var Companion_instance_14;
|
|
3182
|
+
function Companion_getInstance_14() {
|
|
3183
|
+
if (Companion_instance_14 == null)
|
|
3184
|
+
new Companion_14();
|
|
3185
|
+
return Companion_instance_14;
|
|
2018
3186
|
}
|
|
2019
3187
|
function CardName_ACE_getInstance() {
|
|
2020
3188
|
CardName_initEntries();
|
|
@@ -2073,73 +3241,73 @@
|
|
|
2073
3241
|
return CardName_STUB_instance;
|
|
2074
3242
|
}
|
|
2075
3243
|
function GameCard(index) {
|
|
2076
|
-
|
|
2077
|
-
this.
|
|
3244
|
+
Companion_getInstance_14();
|
|
3245
|
+
this.n2o_1 = index;
|
|
2078
3246
|
}
|
|
2079
|
-
GameCard.prototype.
|
|
2080
|
-
return this.
|
|
3247
|
+
GameCard.prototype.b3 = function () {
|
|
3248
|
+
return this.n2o_1;
|
|
2081
3249
|
};
|
|
2082
|
-
GameCard.prototype.
|
|
3250
|
+
GameCard.prototype.x2p = function () {
|
|
2083
3251
|
var tmp;
|
|
2084
|
-
|
|
3252
|
+
Companion_getInstance_14();
|
|
2085
3253
|
var containsUpper = 13;
|
|
2086
|
-
var containsArg = this.
|
|
3254
|
+
var containsArg = this.n2o_1;
|
|
2087
3255
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
2088
3256
|
tmp = Suit_DIAMOND_getInstance();
|
|
2089
3257
|
} else {
|
|
2090
|
-
var tmp_0 = this.
|
|
2091
|
-
|
|
3258
|
+
var tmp_0 = this.n2o_1;
|
|
3259
|
+
Companion_getInstance_14();
|
|
2092
3260
|
if (tmp_0 <= imul(13, 2)) {
|
|
2093
3261
|
tmp = Suit_SPADE_getInstance();
|
|
2094
3262
|
} else {
|
|
2095
|
-
var tmp_1 = this.
|
|
2096
|
-
|
|
3263
|
+
var tmp_1 = this.n2o_1;
|
|
3264
|
+
Companion_getInstance_14();
|
|
2097
3265
|
if (tmp_1 <= imul(13, 3)) {
|
|
2098
3266
|
tmp = Suit_HEART_getInstance();
|
|
2099
3267
|
} else {
|
|
2100
|
-
var tmp_2 = this.
|
|
2101
|
-
|
|
3268
|
+
var tmp_2 = this.n2o_1;
|
|
3269
|
+
Companion_getInstance_14();
|
|
2102
3270
|
if (tmp_2 <= imul(13, 4)) {
|
|
2103
3271
|
tmp = Suit_CLUB_getInstance();
|
|
2104
3272
|
} else {
|
|
2105
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3273
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.n2o_1);
|
|
2106
3274
|
}
|
|
2107
3275
|
}
|
|
2108
3276
|
}
|
|
2109
3277
|
}
|
|
2110
3278
|
return tmp;
|
|
2111
3279
|
};
|
|
2112
|
-
GameCard.prototype.
|
|
3280
|
+
GameCard.prototype.w2p = function () {
|
|
2113
3281
|
var tmp;
|
|
2114
|
-
if (this.
|
|
2115
|
-
|
|
3282
|
+
if (this.f2q()) {
|
|
3283
|
+
Companion_getInstance_14();
|
|
2116
3284
|
tmp = -1;
|
|
2117
3285
|
} else {
|
|
2118
|
-
var tmp_0 = this.
|
|
2119
|
-
|
|
2120
|
-
tmp = tmp_0 - imul(13, getIndex(this.
|
|
3286
|
+
var tmp_0 = this.n2o_1;
|
|
3287
|
+
Companion_getInstance_14();
|
|
3288
|
+
tmp = tmp_0 - imul(13, getIndex(this.x2p())) | 0;
|
|
2121
3289
|
}
|
|
2122
3290
|
return tmp;
|
|
2123
3291
|
};
|
|
2124
|
-
GameCard.prototype.
|
|
2125
|
-
return this.
|
|
3292
|
+
GameCard.prototype.f5 = function () {
|
|
3293
|
+
return this.f2q() ? CardName_STUB_getInstance() : getName(Companion_getInstance_14(), this.w2p());
|
|
2126
3294
|
};
|
|
2127
|
-
GameCard.prototype.
|
|
2128
|
-
var tmp = this.
|
|
2129
|
-
|
|
3295
|
+
GameCard.prototype.f2q = function () {
|
|
3296
|
+
var tmp = this.n2o_1;
|
|
3297
|
+
Companion_getInstance_14();
|
|
2130
3298
|
return tmp >= 53;
|
|
2131
3299
|
};
|
|
2132
3300
|
GameCard.prototype.toString = function () {
|
|
2133
3301
|
if (_get_isShirt__vd98rp(this)) {
|
|
2134
3302
|
return 'GameCard(SHIRT)';
|
|
2135
3303
|
}
|
|
2136
|
-
if (this.
|
|
2137
|
-
return 'GameCard(STUB, ' + this.
|
|
3304
|
+
if (this.f2q()) {
|
|
3305
|
+
return 'GameCard(STUB, ' + this.n2o_1 + ')';
|
|
2138
3306
|
}
|
|
2139
|
-
return 'GameCard(' + this.
|
|
3307
|
+
return 'GameCard(' + this.f5() + ', suit: ' + this.x2p() + ', index=' + this.n2o_1 + ')';
|
|
2140
3308
|
};
|
|
2141
3309
|
GameCard.prototype.hashCode = function () {
|
|
2142
|
-
return this.
|
|
3310
|
+
return this.n2o_1;
|
|
2143
3311
|
};
|
|
2144
3312
|
GameCard.prototype.equals = function (other) {
|
|
2145
3313
|
if (this === other)
|
|
@@ -2147,24 +3315,24 @@
|
|
|
2147
3315
|
if (!(other instanceof GameCard))
|
|
2148
3316
|
return false;
|
|
2149
3317
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
2150
|
-
if (!(this.
|
|
3318
|
+
if (!(this.n2o_1 === tmp0_other_with_cast.n2o_1))
|
|
2151
3319
|
return false;
|
|
2152
3320
|
return true;
|
|
2153
3321
|
};
|
|
2154
3322
|
GameCard.$metadata$ = classMeta('GameCard');
|
|
2155
3323
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
2156
|
-
this.
|
|
2157
|
-
this.
|
|
3324
|
+
this.o2o_1 = playerId;
|
|
3325
|
+
this.p2o_1 = gameCard;
|
|
2158
3326
|
}
|
|
2159
|
-
GameCardWIthPlayerId.prototype.
|
|
2160
|
-
return this.
|
|
3327
|
+
GameCardWIthPlayerId.prototype.g2l = function () {
|
|
3328
|
+
return this.o2o_1;
|
|
2161
3329
|
};
|
|
2162
3330
|
GameCardWIthPlayerId.prototype.toString = function () {
|
|
2163
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3331
|
+
return 'GameCardWIthPlayerId(playerId=' + this.o2o_1 + ', gameCard=' + this.p2o_1 + ')';
|
|
2164
3332
|
};
|
|
2165
3333
|
GameCardWIthPlayerId.prototype.hashCode = function () {
|
|
2166
|
-
var result = getStringHashCode(this.
|
|
2167
|
-
result = imul(result, 31) + this.
|
|
3334
|
+
var result = getStringHashCode(this.o2o_1);
|
|
3335
|
+
result = imul(result, 31) + this.p2o_1.hashCode() | 0;
|
|
2168
3336
|
return result;
|
|
2169
3337
|
};
|
|
2170
3338
|
GameCardWIthPlayerId.prototype.equals = function (other) {
|
|
@@ -2173,9 +3341,9 @@
|
|
|
2173
3341
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
2174
3342
|
return false;
|
|
2175
3343
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
2176
|
-
if (!(this.
|
|
3344
|
+
if (!(this.o2o_1 === tmp0_other_with_cast.o2o_1))
|
|
2177
3345
|
return false;
|
|
2178
|
-
if (!this.
|
|
3346
|
+
if (!this.p2o_1.equals(tmp0_other_with_cast.p2o_1))
|
|
2179
3347
|
return false;
|
|
2180
3348
|
return true;
|
|
2181
3349
|
};
|
|
@@ -2183,22 +3351,22 @@
|
|
|
2183
3351
|
Object.defineProperty(GameCardWIthPlayerId.prototype, 'playerId', {
|
|
2184
3352
|
configurable: true,
|
|
2185
3353
|
get: function () {
|
|
2186
|
-
return this.
|
|
3354
|
+
return this.g2l();
|
|
2187
3355
|
}
|
|
2188
3356
|
});
|
|
2189
3357
|
function ProcessingCard(gameCard, payload) {
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
3358
|
+
this.g2q_1 = gameCard;
|
|
3359
|
+
this.h2q_1 = payload;
|
|
2192
3360
|
}
|
|
2193
|
-
ProcessingCard.prototype.
|
|
2194
|
-
return this.
|
|
3361
|
+
ProcessingCard.prototype.i2q = function () {
|
|
3362
|
+
return this.g2q_1;
|
|
2195
3363
|
};
|
|
2196
3364
|
ProcessingCard.prototype.toString = function () {
|
|
2197
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3365
|
+
return 'ProcessingCard(gameCard=' + this.g2q_1 + ', payload=' + this.h2q_1 + ')';
|
|
2198
3366
|
};
|
|
2199
3367
|
ProcessingCard.prototype.hashCode = function () {
|
|
2200
|
-
var result = this.
|
|
2201
|
-
result = imul(result, 31) + (this.
|
|
3368
|
+
var result = this.g2q_1.hashCode();
|
|
3369
|
+
result = imul(result, 31) + (this.h2q_1 == null ? 0 : hashCode(this.h2q_1)) | 0;
|
|
2202
3370
|
return result;
|
|
2203
3371
|
};
|
|
2204
3372
|
ProcessingCard.prototype.equals = function (other) {
|
|
@@ -2207,18 +3375,41 @@
|
|
|
2207
3375
|
if (!(other instanceof ProcessingCard))
|
|
2208
3376
|
return false;
|
|
2209
3377
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
2210
|
-
if (!this.
|
|
3378
|
+
if (!this.g2q_1.equals(tmp0_other_with_cast.g2q_1))
|
|
2211
3379
|
return false;
|
|
2212
|
-
if (!equals(this.
|
|
3380
|
+
if (!equals(this.h2q_1, tmp0_other_with_cast.h2q_1))
|
|
2213
3381
|
return false;
|
|
2214
3382
|
return true;
|
|
2215
3383
|
};
|
|
2216
3384
|
ProcessingCard.$metadata$ = classMeta('ProcessingCard');
|
|
3385
|
+
function Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b() {
|
|
3386
|
+
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_2());
|
|
3387
|
+
}
|
|
2217
3388
|
var Suit_DIAMOND_instance;
|
|
2218
3389
|
var Suit_SPADE_instance;
|
|
2219
3390
|
var Suit_HEART_instance;
|
|
2220
3391
|
var Suit_CLUB_instance;
|
|
2221
|
-
function
|
|
3392
|
+
function Companion_15() {
|
|
3393
|
+
Companion_instance_15 = this;
|
|
3394
|
+
var tmp = this;
|
|
3395
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3396
|
+
tmp.j2q_1 = lazy(tmp_0, Suit$Companion$$cachedSerializer$delegate$_anonymous__8wfs3b);
|
|
3397
|
+
}
|
|
3398
|
+
Companion_15.prototype.l25 = function () {
|
|
3399
|
+
return this.j2q_1.c2();
|
|
3400
|
+
};
|
|
3401
|
+
Companion_15.prototype.b1u = function (typeParamsSerializers) {
|
|
3402
|
+
return this.l25();
|
|
3403
|
+
};
|
|
3404
|
+
Companion_15.$metadata$ = objectMeta('Companion', [SerializerFactory]);
|
|
3405
|
+
var Companion_instance_15;
|
|
3406
|
+
function Companion_getInstance_15() {
|
|
3407
|
+
Suit_initEntries();
|
|
3408
|
+
if (Companion_instance_15 == null)
|
|
3409
|
+
new Companion_15();
|
|
3410
|
+
return Companion_instance_15;
|
|
3411
|
+
}
|
|
3412
|
+
function values_2() {
|
|
2222
3413
|
return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
|
|
2223
3414
|
}
|
|
2224
3415
|
var Suit_entriesInitialized;
|
|
@@ -2230,11 +3421,12 @@
|
|
|
2230
3421
|
Suit_SPADE_instance = new Suit('SPADE', 1);
|
|
2231
3422
|
Suit_HEART_instance = new Suit('HEART', 2);
|
|
2232
3423
|
Suit_CLUB_instance = new Suit('CLUB', 3);
|
|
3424
|
+
Companion_getInstance_15();
|
|
2233
3425
|
}
|
|
2234
3426
|
function Suit(name, ordinal) {
|
|
2235
3427
|
Enum.call(this, name, ordinal);
|
|
2236
3428
|
}
|
|
2237
|
-
Suit.$metadata$ = classMeta('Suit', undefined, undefined,
|
|
3429
|
+
Suit.$metadata$ = classMeta('Suit', undefined, undefined, {0: Companion_getInstance_15}, undefined, Enum.prototype);
|
|
2238
3430
|
function Suit_DIAMOND_getInstance() {
|
|
2239
3431
|
Suit_initEntries();
|
|
2240
3432
|
return Suit_DIAMOND_instance;
|
|
@@ -2253,7 +3445,7 @@
|
|
|
2253
3445
|
}
|
|
2254
3446
|
function getIndex(_this__u8e3s4) {
|
|
2255
3447
|
var tmp0_subject = _this__u8e3s4;
|
|
2256
|
-
var tmp0 = tmp0_subject.
|
|
3448
|
+
var tmp0 = tmp0_subject.e5_1;
|
|
2257
3449
|
var tmp;
|
|
2258
3450
|
switch (tmp0) {
|
|
2259
3451
|
case 0:
|
|
@@ -2275,42 +3467,97 @@
|
|
|
2275
3467
|
return tmp;
|
|
2276
3468
|
}
|
|
2277
3469
|
function _no_name_provided__qut3iv($logger) {
|
|
2278
|
-
this.
|
|
3470
|
+
this.l2q_1 = $logger;
|
|
2279
3471
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
2280
3472
|
}
|
|
2281
|
-
_no_name_provided__qut3iv.prototype.
|
|
2282
|
-
return this.
|
|
3473
|
+
_no_name_provided__qut3iv.prototype.eq = function (context, exception) {
|
|
3474
|
+
return this.l2q_1.m2q('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
2283
3475
|
};
|
|
2284
3476
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [CoroutineExceptionHandler], undefined, undefined, undefined, AbstractCoroutineContextElement.prototype);
|
|
2285
3477
|
function AsyncProviderImpl(logger) {
|
|
2286
3478
|
var tmp = this;
|
|
2287
|
-
tmp.
|
|
3479
|
+
tmp.n2q_1 = Job$default(null, 1, null);
|
|
2288
3480
|
var tmp_0 = this;
|
|
2289
3481
|
var tmp$ret$0;
|
|
2290
3482
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
2291
3483
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
2292
|
-
tmp_0.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
3484
|
+
tmp_0.o2q_1 = tmp$ret$0;
|
|
3485
|
+
this.p2q_1 = CoroutineScope(Dispatchers_getInstance().lu().y4(this.n2q_1));
|
|
3486
|
+
this.q2q_1 = CoroutineScope(Dispatchers_getInstance().hu_1.y4(this.n2q_1));
|
|
2295
3487
|
}
|
|
2296
|
-
AsyncProviderImpl.prototype.
|
|
2297
|
-
return this.
|
|
3488
|
+
AsyncProviderImpl.prototype.r2q = function () {
|
|
3489
|
+
return this.o2q_1;
|
|
2298
3490
|
};
|
|
2299
|
-
AsyncProviderImpl.prototype.
|
|
2300
|
-
return launch$default(this.
|
|
3491
|
+
AsyncProviderImpl.prototype.s2q = function (context, block) {
|
|
3492
|
+
return launch$default(this.p2q_1, context, null, block, 2, null);
|
|
2301
3493
|
};
|
|
2302
|
-
AsyncProviderImpl.prototype.
|
|
2303
|
-
return launch$default(this.
|
|
3494
|
+
AsyncProviderImpl.prototype.u2q = function (context, block) {
|
|
3495
|
+
return launch$default(this.q2q_1, context, null, block, 2, null);
|
|
2304
3496
|
};
|
|
2305
|
-
AsyncProviderImpl.prototype.
|
|
2306
|
-
if (!this.
|
|
2307
|
-
this.
|
|
3497
|
+
AsyncProviderImpl.prototype.rn = function () {
|
|
3498
|
+
if (!this.n2q_1.xp()) {
|
|
3499
|
+
this.n2q_1.om(null, 1, null);
|
|
2308
3500
|
}
|
|
2309
3501
|
};
|
|
2310
3502
|
AsyncProviderImpl.$metadata$ = classMeta('AsyncProviderImpl', [AsyncProvider]);
|
|
2311
3503
|
function AsyncProvider() {
|
|
2312
3504
|
}
|
|
2313
3505
|
AsyncProvider.$metadata$ = interfaceMeta('AsyncProvider');
|
|
3506
|
+
function JobsProviderImpl(logger) {
|
|
3507
|
+
this.w2q_1 = logger;
|
|
3508
|
+
var tmp = this;
|
|
3509
|
+
var tmp$ret$0;
|
|
3510
|
+
// Inline function 'kotlin.collections.hashMapOf' call
|
|
3511
|
+
tmp$ret$0 = HashMap_init_$Create$();
|
|
3512
|
+
tmp.x2q_1 = tmp$ret$0;
|
|
3513
|
+
}
|
|
3514
|
+
JobsProviderImpl.prototype.y2q = function (timerTag, job) {
|
|
3515
|
+
if (this.a2r(timerTag)) {
|
|
3516
|
+
this.w2q_1.z2q(null, 'Timer already exists for that tag: ' + timerTag, 1, null);
|
|
3517
|
+
}
|
|
3518
|
+
// Inline function 'kotlin.collections.set' call
|
|
3519
|
+
var tmp0_set = this.x2q_1;
|
|
3520
|
+
tmp0_set.o(timerTag, job);
|
|
3521
|
+
};
|
|
3522
|
+
JobsProviderImpl.prototype.a2r = function (timerTag) {
|
|
3523
|
+
return this.x2q_1.j2(timerTag);
|
|
3524
|
+
};
|
|
3525
|
+
JobsProviderImpl.prototype.b2r = function (timerTag) {
|
|
3526
|
+
if (!this.a2r(timerTag)) {
|
|
3527
|
+
this.w2q_1.z2q(null, "Can't find timer for that tag: " + timerTag, 1, null);
|
|
3528
|
+
}
|
|
3529
|
+
this.x2q_1.od(timerTag);
|
|
3530
|
+
};
|
|
3531
|
+
JobsProviderImpl.prototype.c2r = function (timers) {
|
|
3532
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
3533
|
+
var tmp0_iterator = timers.f();
|
|
3534
|
+
while (tmp0_iterator.g()) {
|
|
3535
|
+
var element = tmp0_iterator.h();
|
|
3536
|
+
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
3537
|
+
var timer = this.x2q_1.n(element);
|
|
3538
|
+
var tmp0_safe_receiver = timer;
|
|
3539
|
+
if (tmp0_safe_receiver == null)
|
|
3540
|
+
null;
|
|
3541
|
+
else {
|
|
3542
|
+
tmp0_safe_receiver.om(null, 1, null);
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
this.x2q_1.m2().mc(toSet(timers));
|
|
3546
|
+
};
|
|
3547
|
+
JobsProviderImpl.prototype.d2r = function (timerTag) {
|
|
3548
|
+
var timer = this.x2q_1.n(timerTag);
|
|
3549
|
+
this.x2q_1.od(timerTag);
|
|
3550
|
+
var tmp0_safe_receiver = timer;
|
|
3551
|
+
if (tmp0_safe_receiver == null)
|
|
3552
|
+
null;
|
|
3553
|
+
else {
|
|
3554
|
+
tmp0_safe_receiver.om(null, 1, null);
|
|
3555
|
+
}
|
|
3556
|
+
};
|
|
3557
|
+
JobsProviderImpl.$metadata$ = classMeta('JobsProviderImpl', [JobsProvider]);
|
|
3558
|
+
function JobsProvider() {
|
|
3559
|
+
}
|
|
3560
|
+
JobsProvider.$metadata$ = interfaceMeta('JobsProvider');
|
|
2314
3561
|
function get_coreModule() {
|
|
2315
3562
|
init_properties_DI_kt_pa5hx();
|
|
2316
3563
|
return coreModule;
|
|
@@ -2318,8 +3565,72 @@
|
|
|
2318
3565
|
var coreModule;
|
|
2319
3566
|
function coreModule$lambda($this$$receiver) {
|
|
2320
3567
|
init_properties_DI_kt_pa5hx();
|
|
3568
|
+
var tmp$ret$1;
|
|
3569
|
+
// Inline function 'org.kodein.di.bind' call
|
|
3570
|
+
var tmp$ret$0;
|
|
3571
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3572
|
+
var tmp = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3573
|
+
tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
3574
|
+
tmp$ret$1 = $this$$receiver.a2f(tmp$ret$0, null, null);
|
|
3575
|
+
var tmp_0 = tmp$ret$1;
|
|
3576
|
+
var tmp$ret$3;
|
|
3577
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
3578
|
+
var tmp0_singleton = coreModule$lambda$lambda;
|
|
3579
|
+
var tmp_1 = $this$$receiver.m2e();
|
|
3580
|
+
var tmp_2 = $this$$receiver.n2e();
|
|
3581
|
+
var tmp_3 = $this$$receiver.o2e();
|
|
3582
|
+
var tmp$ret$2;
|
|
3583
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3584
|
+
var tmp_4 = typeToken(createKType(getKClass(AsyncProviderImpl), arrayOf([]), false));
|
|
3585
|
+
tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3586
|
+
tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, tmp0_singleton);
|
|
3587
|
+
tmp_0.p2e(tmp$ret$3);
|
|
3588
|
+
var tmp$ret$5;
|
|
3589
|
+
// Inline function 'org.kodein.di.bind' call
|
|
3590
|
+
var tmp$ret$4;
|
|
3591
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3592
|
+
var tmp_5 = typeToken(createKType(getKClass(JobsProvider), arrayOf([]), false));
|
|
3593
|
+
tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
3594
|
+
tmp$ret$5 = $this$$receiver.a2f(tmp$ret$4, null, null);
|
|
3595
|
+
var tmp_6 = tmp$ret$5;
|
|
3596
|
+
var tmp$ret$7;
|
|
3597
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
3598
|
+
var tmp1_singleton = coreModule$lambda$lambda_0;
|
|
3599
|
+
var tmp_7 = $this$$receiver.m2e();
|
|
3600
|
+
var tmp_8 = $this$$receiver.n2e();
|
|
3601
|
+
var tmp_9 = $this$$receiver.o2e();
|
|
3602
|
+
var tmp$ret$6;
|
|
3603
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3604
|
+
var tmp_10 = typeToken(createKType(getKClass(JobsProviderImpl), arrayOf([]), false));
|
|
3605
|
+
tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3606
|
+
tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, tmp1_singleton);
|
|
3607
|
+
tmp_6.p2e(tmp$ret$7);
|
|
2321
3608
|
return Unit_getInstance();
|
|
2322
3609
|
}
|
|
3610
|
+
function coreModule$lambda$lambda($this$singleton) {
|
|
3611
|
+
init_properties_DI_kt_pa5hx();
|
|
3612
|
+
var tmp$ret$1;
|
|
3613
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3614
|
+
var tmp = $this$singleton.c2g();
|
|
3615
|
+
var tmp$ret$0;
|
|
3616
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3617
|
+
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
3618
|
+
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3619
|
+
tmp$ret$1 = tmp.k2g(tmp$ret$0, null);
|
|
3620
|
+
return new AsyncProviderImpl(tmp$ret$1);
|
|
3621
|
+
}
|
|
3622
|
+
function coreModule$lambda$lambda_0($this$singleton) {
|
|
3623
|
+
init_properties_DI_kt_pa5hx();
|
|
3624
|
+
var tmp$ret$1;
|
|
3625
|
+
// Inline function 'org.kodein.di.instance' call
|
|
3626
|
+
var tmp = $this$singleton.c2g();
|
|
3627
|
+
var tmp$ret$0;
|
|
3628
|
+
// Inline function 'org.kodein.type.generic' call
|
|
3629
|
+
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
3630
|
+
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3631
|
+
tmp$ret$1 = tmp.k2g(tmp$ret$0, null);
|
|
3632
|
+
return new JobsProviderImpl(tmp$ret$1);
|
|
3633
|
+
}
|
|
2323
3634
|
var properties_initialized_DI_kt_3whi87;
|
|
2324
3635
|
function init_properties_DI_kt_pa5hx() {
|
|
2325
3636
|
if (properties_initialized_DI_kt_3whi87) {
|
|
@@ -2366,7 +3677,7 @@
|
|
|
2366
3677
|
return createStore(reducer, preloadedState, enhancer);
|
|
2367
3678
|
}
|
|
2368
3679
|
function createStore$dispatch(currentState, currentReducer, action) {
|
|
2369
|
-
currentState.
|
|
3680
|
+
currentState.x11(currentReducer._v.e2r(currentState.c2(), action));
|
|
2370
3681
|
}
|
|
2371
3682
|
function createStore$replaceReducer(currentReducer, currentState, nextReducer) {
|
|
2372
3683
|
currentReducer._v = nextReducer;
|
|
@@ -2392,53 +3703,53 @@
|
|
|
2392
3703
|
return l;
|
|
2393
3704
|
}
|
|
2394
3705
|
function createStore$2($currentState, $currentReducer) {
|
|
2395
|
-
this.
|
|
3706
|
+
this.h2r_1 = $currentState;
|
|
2396
3707
|
var tmp = this;
|
|
2397
|
-
tmp.
|
|
3708
|
+
tmp.f2r_1 = createStore$dispatch$ref($currentState, $currentReducer);
|
|
2398
3709
|
var tmp_0 = this;
|
|
2399
|
-
tmp_0.
|
|
3710
|
+
tmp_0.g2r_1 = createStore$replaceReducer$ref($currentReducer, $currentState);
|
|
2400
3711
|
}
|
|
2401
|
-
createStore$2.prototype.
|
|
2402
|
-
this.
|
|
3712
|
+
createStore$2.prototype.i2r = function (_set____db54di) {
|
|
3713
|
+
this.f2r_1 = _set____db54di;
|
|
2403
3714
|
};
|
|
2404
|
-
createStore$2.prototype.
|
|
2405
|
-
return this.
|
|
3715
|
+
createStore$2.prototype.j2r = function () {
|
|
3716
|
+
return this.f2r_1;
|
|
2406
3717
|
};
|
|
2407
|
-
createStore$2.prototype.
|
|
2408
|
-
return this.
|
|
3718
|
+
createStore$2.prototype.k2r = function () {
|
|
3719
|
+
return this.h2r_1;
|
|
2409
3720
|
};
|
|
2410
|
-
createStore$2.prototype.
|
|
2411
|
-
return this.
|
|
3721
|
+
createStore$2.prototype.l2r = function () {
|
|
3722
|
+
return this.g2r_1;
|
|
2412
3723
|
};
|
|
2413
|
-
createStore$2.prototype.
|
|
2414
|
-
return this.
|
|
3724
|
+
createStore$2.prototype.am = function () {
|
|
3725
|
+
return this.h2r_1.c2();
|
|
2415
3726
|
};
|
|
2416
3727
|
createStore$2.$metadata$ = classMeta(undefined, [Store]);
|
|
2417
3728
|
Object.defineProperty(createStore$2.prototype, 'dispatch', {
|
|
2418
3729
|
configurable: true,
|
|
2419
3730
|
get: function () {
|
|
2420
|
-
return this.
|
|
3731
|
+
return this.j2r();
|
|
2421
3732
|
},
|
|
2422
3733
|
set: function (value) {
|
|
2423
|
-
this.
|
|
3734
|
+
this.i2r(value);
|
|
2424
3735
|
}
|
|
2425
3736
|
});
|
|
2426
3737
|
Object.defineProperty(createStore$2.prototype, 'observe', {
|
|
2427
3738
|
configurable: true,
|
|
2428
3739
|
get: function () {
|
|
2429
|
-
return this.
|
|
3740
|
+
return this.k2r();
|
|
2430
3741
|
}
|
|
2431
3742
|
});
|
|
2432
3743
|
Object.defineProperty(createStore$2.prototype, 'replaceReducer', {
|
|
2433
3744
|
configurable: true,
|
|
2434
3745
|
get: function () {
|
|
2435
|
-
return this.
|
|
3746
|
+
return this.l2r();
|
|
2436
3747
|
}
|
|
2437
3748
|
});
|
|
2438
3749
|
Object.defineProperty(createStore$2.prototype, 'state', {
|
|
2439
3750
|
configurable: true,
|
|
2440
3751
|
get: function () {
|
|
2441
|
-
return this.
|
|
3752
|
+
return this.am();
|
|
2442
3753
|
}
|
|
2443
3754
|
});
|
|
2444
3755
|
function Action() {
|
|
@@ -2467,10 +3778,10 @@
|
|
|
2467
3778
|
return new middleware$1(dispatch);
|
|
2468
3779
|
}
|
|
2469
3780
|
function middleware$1($dispatch) {
|
|
2470
|
-
this.
|
|
3781
|
+
this.p2r_1 = $dispatch;
|
|
2471
3782
|
}
|
|
2472
|
-
middleware$1.prototype.
|
|
2473
|
-
this.
|
|
3783
|
+
middleware$1.prototype.o2r = function (store, next, action) {
|
|
3784
|
+
this.p2r_1(store, next, action);
|
|
2474
3785
|
};
|
|
2475
3786
|
middleware$1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
2476
3787
|
function Reducer() {
|
|
@@ -2480,9 +3791,9 @@
|
|
|
2480
3791
|
return new combineReducers$1(reducers);
|
|
2481
3792
|
}
|
|
2482
3793
|
function combineReducers$1($reducers) {
|
|
2483
|
-
this.
|
|
3794
|
+
this.q2r_1 = $reducers;
|
|
2484
3795
|
}
|
|
2485
|
-
combineReducers$1.prototype.
|
|
3796
|
+
combineReducers$1.prototype.r2r = function (state, action) {
|
|
2486
3797
|
var tmp$ret$4;
|
|
2487
3798
|
// Inline function 'kotlin.collections.fold' call
|
|
2488
3799
|
var tmp$ret$2;
|
|
@@ -2490,7 +3801,7 @@
|
|
|
2490
3801
|
var tmp$ret$1;
|
|
2491
3802
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2492
3803
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
2493
|
-
var indexedObject = this.
|
|
3804
|
+
var indexedObject = this.q2r_1;
|
|
2494
3805
|
var inductionVariable = 0;
|
|
2495
3806
|
var last = indexedObject.length;
|
|
2496
3807
|
while (inductionVariable < last) {
|
|
@@ -2498,7 +3809,7 @@
|
|
|
2498
3809
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2499
3810
|
var tmp$ret$0;
|
|
2500
3811
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
2501
|
-
tmp$ret$0 = element.
|
|
3812
|
+
tmp$ret$0 = element.n2r(action);
|
|
2502
3813
|
if (tmp$ret$0) {
|
|
2503
3814
|
tmp0_filterTo.a(element);
|
|
2504
3815
|
}
|
|
@@ -2513,14 +3824,14 @@
|
|
|
2513
3824
|
var tmp$ret$3;
|
|
2514
3825
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
2515
3826
|
var tmp1__anonymous__uwfjfc = accumulator;
|
|
2516
|
-
tmp$ret$3 = element_0.
|
|
3827
|
+
tmp$ret$3 = element_0.e2r(tmp1__anonymous__uwfjfc, action);
|
|
2517
3828
|
accumulator = tmp$ret$3;
|
|
2518
3829
|
}
|
|
2519
3830
|
tmp$ret$4 = accumulator;
|
|
2520
3831
|
return tmp$ret$4;
|
|
2521
3832
|
};
|
|
2522
|
-
combineReducers$1.prototype.
|
|
2523
|
-
return this.
|
|
3833
|
+
combineReducers$1.prototype.e2r = function (state, action) {
|
|
3834
|
+
return this.r2r((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
2524
3835
|
};
|
|
2525
3836
|
combineReducers$1.$metadata$ = classMeta(undefined, [Reducer]);
|
|
2526
3837
|
function Store() {
|
|
@@ -2534,7 +3845,7 @@
|
|
|
2534
3845
|
Object.defineProperty(INIT.prototype, 'actionTag', {
|
|
2535
3846
|
configurable: true,
|
|
2536
3847
|
get: function () {
|
|
2537
|
-
return this.
|
|
3848
|
+
return this.m2r();
|
|
2538
3849
|
}
|
|
2539
3850
|
});
|
|
2540
3851
|
var INIT_instance;
|
|
@@ -2551,7 +3862,7 @@
|
|
|
2551
3862
|
Object.defineProperty(REPLACE.prototype, 'actionTag', {
|
|
2552
3863
|
configurable: true,
|
|
2553
3864
|
get: function () {
|
|
2554
|
-
return this.
|
|
3865
|
+
return this.m2r();
|
|
2555
3866
|
}
|
|
2556
3867
|
});
|
|
2557
3868
|
var REPLACE_instance;
|
|
@@ -2566,7 +3877,7 @@
|
|
|
2566
3877
|
Object.defineProperty(StoreLifecycleAction.prototype, 'actionTag', {
|
|
2567
3878
|
configurable: true,
|
|
2568
3879
|
get: function () {
|
|
2569
|
-
return this.
|
|
3880
|
+
return this.m2r();
|
|
2570
3881
|
}
|
|
2571
3882
|
});
|
|
2572
3883
|
function BufferedAction() {
|
|
@@ -2578,6 +3889,177 @@
|
|
|
2578
3889
|
function ExpectantAction() {
|
|
2579
3890
|
}
|
|
2580
3891
|
ExpectantAction.$metadata$ = interfaceMeta('ExpectantAction', [Action]);
|
|
3892
|
+
function TimerTag() {
|
|
3893
|
+
}
|
|
3894
|
+
TimerTag.$metadata$ = interfaceMeta('TimerTag');
|
|
3895
|
+
function StopTimerAction(timerTag) {
|
|
3896
|
+
TimerAction.call(this);
|
|
3897
|
+
this.t2r_1 = timerTag;
|
|
3898
|
+
}
|
|
3899
|
+
StopTimerAction.prototype.u2r = function () {
|
|
3900
|
+
return this.t2r_1;
|
|
3901
|
+
};
|
|
3902
|
+
StopTimerAction.prototype.toString = function () {
|
|
3903
|
+
return 'StopTimerAction(timerTag=' + this.t2r_1 + ')';
|
|
3904
|
+
};
|
|
3905
|
+
StopTimerAction.prototype.hashCode = function () {
|
|
3906
|
+
return hashCode(this.t2r_1);
|
|
3907
|
+
};
|
|
3908
|
+
StopTimerAction.prototype.equals = function (other) {
|
|
3909
|
+
if (this === other)
|
|
3910
|
+
return true;
|
|
3911
|
+
if (!(other instanceof StopTimerAction))
|
|
3912
|
+
return false;
|
|
3913
|
+
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
3914
|
+
if (!equals(this.t2r_1, tmp0_other_with_cast.t2r_1))
|
|
3915
|
+
return false;
|
|
3916
|
+
return true;
|
|
3917
|
+
};
|
|
3918
|
+
StopTimerAction.$metadata$ = classMeta('StopTimerAction', [NotValidateIfGameFinishing, NotValidateIfGameFinished], undefined, undefined, undefined, TimerAction.prototype);
|
|
3919
|
+
Object.defineProperty(StopTimerAction.prototype, 'actionTag', {
|
|
3920
|
+
configurable: true,
|
|
3921
|
+
get: function () {
|
|
3922
|
+
return this.m2r();
|
|
3923
|
+
}
|
|
3924
|
+
});
|
|
3925
|
+
function StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, $this) {
|
|
3926
|
+
if (!(($mask0 & 4) === 0))
|
|
3927
|
+
initialDelay = new Long(0, 0);
|
|
3928
|
+
if (!(($mask0 & 8) === 0))
|
|
3929
|
+
type = TimerType_DELAY_getInstance();
|
|
3930
|
+
StartTimerAction.call($this, timerTag, delayMillis, initialDelay, type);
|
|
3931
|
+
return $this;
|
|
3932
|
+
}
|
|
3933
|
+
function StartTimerAction_init_$Create$(timerTag, delayMillis, initialDelay, type, $mask0, $marker) {
|
|
3934
|
+
return StartTimerAction_init_$Init$(timerTag, delayMillis, initialDelay, type, $mask0, $marker, Object.create(StartTimerAction.prototype));
|
|
3935
|
+
}
|
|
3936
|
+
function StartTimerAction(timerTag, delayMillis, initialDelay, type) {
|
|
3937
|
+
TimerAction.call(this);
|
|
3938
|
+
this.v2r_1 = timerTag;
|
|
3939
|
+
this.w2r_1 = delayMillis;
|
|
3940
|
+
this.x2r_1 = initialDelay;
|
|
3941
|
+
this.y2r_1 = type;
|
|
3942
|
+
}
|
|
3943
|
+
StartTimerAction.prototype.u2r = function () {
|
|
3944
|
+
return this.v2r_1;
|
|
3945
|
+
};
|
|
3946
|
+
StartTimerAction.prototype.z2r = function () {
|
|
3947
|
+
return this.w2r_1;
|
|
3948
|
+
};
|
|
3949
|
+
StartTimerAction.prototype.a2s = function () {
|
|
3950
|
+
return this.x2r_1;
|
|
3951
|
+
};
|
|
3952
|
+
StartTimerAction.prototype.f7 = function () {
|
|
3953
|
+
return this.y2r_1;
|
|
3954
|
+
};
|
|
3955
|
+
StartTimerAction.prototype.toString = function () {
|
|
3956
|
+
return 'StartTimerAction(timerTag=' + this.v2r_1 + ', delayMillis=' + toString_0(this.w2r_1) + ', initialDelay=' + toString_0(this.x2r_1) + ', type=' + this.y2r_1 + ')';
|
|
3957
|
+
};
|
|
3958
|
+
StartTimerAction.prototype.hashCode = function () {
|
|
3959
|
+
var result = hashCode(this.v2r_1);
|
|
3960
|
+
result = imul(result, 31) + this.w2r_1.hashCode() | 0;
|
|
3961
|
+
result = imul(result, 31) + this.x2r_1.hashCode() | 0;
|
|
3962
|
+
result = imul(result, 31) + this.y2r_1.hashCode() | 0;
|
|
3963
|
+
return result;
|
|
3964
|
+
};
|
|
3965
|
+
StartTimerAction.prototype.equals = function (other) {
|
|
3966
|
+
if (this === other)
|
|
3967
|
+
return true;
|
|
3968
|
+
if (!(other instanceof StartTimerAction))
|
|
3969
|
+
return false;
|
|
3970
|
+
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
3971
|
+
if (!equals(this.v2r_1, tmp0_other_with_cast.v2r_1))
|
|
3972
|
+
return false;
|
|
3973
|
+
if (!this.w2r_1.equals(tmp0_other_with_cast.w2r_1))
|
|
3974
|
+
return false;
|
|
3975
|
+
if (!this.x2r_1.equals(tmp0_other_with_cast.x2r_1))
|
|
3976
|
+
return false;
|
|
3977
|
+
if (!this.y2r_1.equals(tmp0_other_with_cast.y2r_1))
|
|
3978
|
+
return false;
|
|
3979
|
+
return true;
|
|
3980
|
+
};
|
|
3981
|
+
StartTimerAction.$metadata$ = classMeta('StartTimerAction', undefined, undefined, undefined, undefined, TimerAction.prototype);
|
|
3982
|
+
Object.defineProperty(StartTimerAction.prototype, 'actionTag', {
|
|
3983
|
+
configurable: true,
|
|
3984
|
+
get: function () {
|
|
3985
|
+
return this.m2r();
|
|
3986
|
+
}
|
|
3987
|
+
});
|
|
3988
|
+
var TimerType_DELAY_instance;
|
|
3989
|
+
var TimerType_INTERVAL_instance;
|
|
3990
|
+
var TimerType_entriesInitialized;
|
|
3991
|
+
function TimerType_initEntries() {
|
|
3992
|
+
if (TimerType_entriesInitialized)
|
|
3993
|
+
return Unit_getInstance();
|
|
3994
|
+
TimerType_entriesInitialized = true;
|
|
3995
|
+
TimerType_DELAY_instance = new TimerType('DELAY', 0);
|
|
3996
|
+
TimerType_INTERVAL_instance = new TimerType('INTERVAL', 1);
|
|
3997
|
+
}
|
|
3998
|
+
function TimerType(name, ordinal) {
|
|
3999
|
+
Enum.call(this, name, ordinal);
|
|
4000
|
+
}
|
|
4001
|
+
TimerType.$metadata$ = classMeta('TimerType', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
4002
|
+
function TimerTickAction(timerTag, type) {
|
|
4003
|
+
TimerAction.call(this);
|
|
4004
|
+
this.b2s_1 = timerTag;
|
|
4005
|
+
this.c2s_1 = type;
|
|
4006
|
+
}
|
|
4007
|
+
TimerTickAction.prototype.u2r = function () {
|
|
4008
|
+
return this.b2s_1;
|
|
4009
|
+
};
|
|
4010
|
+
TimerTickAction.prototype.f7 = function () {
|
|
4011
|
+
return this.c2s_1;
|
|
4012
|
+
};
|
|
4013
|
+
TimerTickAction.prototype.toString = function () {
|
|
4014
|
+
return 'TimerTickAction(timerTag=' + this.b2s_1 + ', type=' + this.c2s_1 + ')';
|
|
4015
|
+
};
|
|
4016
|
+
TimerTickAction.prototype.hashCode = function () {
|
|
4017
|
+
var result = hashCode(this.b2s_1);
|
|
4018
|
+
result = imul(result, 31) + this.c2s_1.hashCode() | 0;
|
|
4019
|
+
return result;
|
|
4020
|
+
};
|
|
4021
|
+
TimerTickAction.prototype.equals = function (other) {
|
|
4022
|
+
if (this === other)
|
|
4023
|
+
return true;
|
|
4024
|
+
if (!(other instanceof TimerTickAction))
|
|
4025
|
+
return false;
|
|
4026
|
+
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4027
|
+
if (!equals(this.b2s_1, tmp0_other_with_cast.b2s_1))
|
|
4028
|
+
return false;
|
|
4029
|
+
if (!this.c2s_1.equals(tmp0_other_with_cast.c2s_1))
|
|
4030
|
+
return false;
|
|
4031
|
+
return true;
|
|
4032
|
+
};
|
|
4033
|
+
TimerTickAction.$metadata$ = classMeta('TimerTickAction', undefined, undefined, undefined, undefined, TimerAction.prototype);
|
|
4034
|
+
Object.defineProperty(TimerTickAction.prototype, 'actionTag', {
|
|
4035
|
+
configurable: true,
|
|
4036
|
+
get: function () {
|
|
4037
|
+
return this.m2r();
|
|
4038
|
+
}
|
|
4039
|
+
});
|
|
4040
|
+
function TimerAction() {
|
|
4041
|
+
}
|
|
4042
|
+
TimerAction.$metadata$ = classMeta('TimerAction', [Action]);
|
|
4043
|
+
Object.defineProperty(TimerAction.prototype, 'actionTag', {
|
|
4044
|
+
configurable: true,
|
|
4045
|
+
get: function () {
|
|
4046
|
+
return this.m2r();
|
|
4047
|
+
}
|
|
4048
|
+
});
|
|
4049
|
+
function TimerType_DELAY_getInstance() {
|
|
4050
|
+
TimerType_initEntries();
|
|
4051
|
+
return TimerType_DELAY_instance;
|
|
4052
|
+
}
|
|
4053
|
+
function TimerType_INTERVAL_getInstance() {
|
|
4054
|
+
TimerType_initEntries();
|
|
4055
|
+
return TimerType_INTERVAL_instance;
|
|
4056
|
+
}
|
|
4057
|
+
function NotValidateIfGameFinished() {
|
|
4058
|
+
}
|
|
4059
|
+
NotValidateIfGameFinished.$metadata$ = interfaceMeta('NotValidateIfGameFinished');
|
|
4060
|
+
function NotValidateIfGameFinishing() {
|
|
4061
|
+
}
|
|
4062
|
+
NotValidateIfGameFinishing.$metadata$ = interfaceMeta('NotValidateIfGameFinishing');
|
|
2581
4063
|
function applyCatcher(logger) {
|
|
2582
4064
|
return applyCatcher$lambda(logger);
|
|
2583
4065
|
}
|
|
@@ -2589,7 +4071,7 @@
|
|
|
2589
4071
|
} catch ($p) {
|
|
2590
4072
|
var tmp_0;
|
|
2591
4073
|
if ($p instanceof Exception) {
|
|
2592
|
-
$logger.
|
|
4074
|
+
$logger.m2q('StoreEnhancer', 'StoreEnhancer error: ' + $p, $p);
|
|
2593
4075
|
tmp_0 = Unit_getInstance();
|
|
2594
4076
|
} else {
|
|
2595
4077
|
throw $p;
|
|
@@ -2617,7 +4099,7 @@
|
|
|
2617
4099
|
}
|
|
2618
4100
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp0__anonymous__1nv1x1, $store, $tmp1__anonymous__6ijp4k) {
|
|
2619
4101
|
return function (action) {
|
|
2620
|
-
$tmp0__anonymous__1nv1x1.
|
|
4102
|
+
$tmp0__anonymous__1nv1x1.o2r($store, $tmp1__anonymous__6ijp4k, action);
|
|
2621
4103
|
return Unit_getInstance();
|
|
2622
4104
|
};
|
|
2623
4105
|
}
|
|
@@ -2636,7 +4118,7 @@
|
|
|
2636
4118
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2637
4119
|
var tmp$ret$0;
|
|
2638
4120
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
2639
|
-
tmp$ret$0 = element.
|
|
4121
|
+
tmp$ret$0 = element.n2r(action);
|
|
2640
4122
|
if (tmp$ret$0) {
|
|
2641
4123
|
tmp0_filterTo.a(element);
|
|
2642
4124
|
}
|
|
@@ -2677,6 +4159,337 @@
|
|
|
2677
4159
|
return applyMiddleware$lambda$lambda(storeCreator, $middlewares);
|
|
2678
4160
|
};
|
|
2679
4161
|
}
|
|
4162
|
+
function timerMiddleware(asyncProvider, jobsProvider) {
|
|
4163
|
+
var tmp$ret$0;
|
|
4164
|
+
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
4165
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
4166
|
+
return tmp$ret$0;
|
|
4167
|
+
}
|
|
4168
|
+
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4169
|
+
this.l2s_1 = $jobsProvider;
|
|
4170
|
+
this.m2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4171
|
+
this.n2s_1 = $store;
|
|
4172
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
4173
|
+
}
|
|
4174
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
4175
|
+
var tmp = this.k16($this$launchStore, $cont);
|
|
4176
|
+
tmp.oj_1 = Unit_getInstance();
|
|
4177
|
+
tmp.pj_1 = null;
|
|
4178
|
+
return tmp.vj();
|
|
4179
|
+
};
|
|
4180
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.wj = function (p1, $cont) {
|
|
4181
|
+
return this.j16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4182
|
+
};
|
|
4183
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.vj = function () {
|
|
4184
|
+
var suspendResult = this.oj_1;
|
|
4185
|
+
$sm: do
|
|
4186
|
+
try {
|
|
4187
|
+
var tmp = this.mj_1;
|
|
4188
|
+
if (tmp === 0) {
|
|
4189
|
+
this.nj_1 = 1;
|
|
4190
|
+
if (this.l2s_1.a2r(this.m2s_1.u2r())) {
|
|
4191
|
+
this.n2s_1.dispatch(new TimerTickAction(this.m2s_1.u2r(), TimerType_DELAY_getInstance()));
|
|
4192
|
+
}
|
|
4193
|
+
return Unit_getInstance();
|
|
4194
|
+
} else if (tmp === 1) {
|
|
4195
|
+
throw this.pj_1;
|
|
4196
|
+
}
|
|
4197
|
+
} catch ($p) {
|
|
4198
|
+
throw $p;
|
|
4199
|
+
}
|
|
4200
|
+
while (true);
|
|
4201
|
+
};
|
|
4202
|
+
timerMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
4203
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.l2s_1, this.m2s_1, this.n2s_1, completion);
|
|
4204
|
+
i.o2s_1 = $this$launchStore;
|
|
4205
|
+
return i;
|
|
4206
|
+
};
|
|
4207
|
+
timerMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4208
|
+
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4209
|
+
var i = new timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4210
|
+
var l = function ($this$launchStore, $cont) {
|
|
4211
|
+
return i.j16($this$launchStore, $cont);
|
|
4212
|
+
};
|
|
4213
|
+
l.$arity = 1;
|
|
4214
|
+
return l;
|
|
4215
|
+
}
|
|
4216
|
+
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4217
|
+
this.x2s_1 = $jobsProvider;
|
|
4218
|
+
this.y2s_1 = $tmp0__anonymous__1nv1x1;
|
|
4219
|
+
this.z2s_1 = $store;
|
|
4220
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
4221
|
+
}
|
|
4222
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.j16 = function ($this$launchStore, $cont) {
|
|
4223
|
+
var tmp = this.k16($this$launchStore, $cont);
|
|
4224
|
+
tmp.oj_1 = Unit_getInstance();
|
|
4225
|
+
tmp.pj_1 = null;
|
|
4226
|
+
return tmp.vj();
|
|
4227
|
+
};
|
|
4228
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.wj = function (p1, $cont) {
|
|
4229
|
+
return this.j16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4230
|
+
};
|
|
4231
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.vj = function () {
|
|
4232
|
+
var suspendResult = this.oj_1;
|
|
4233
|
+
$sm: do
|
|
4234
|
+
try {
|
|
4235
|
+
var tmp = this.mj_1;
|
|
4236
|
+
if (tmp === 0) {
|
|
4237
|
+
this.nj_1 = 1;
|
|
4238
|
+
if (this.x2s_1.a2r(this.y2s_1.u2r())) {
|
|
4239
|
+
this.z2s_1.dispatch(new TimerTickAction(this.y2s_1.u2r(), TimerType_INTERVAL_getInstance()));
|
|
4240
|
+
}
|
|
4241
|
+
return Unit_getInstance();
|
|
4242
|
+
} else if (tmp === 1) {
|
|
4243
|
+
throw this.pj_1;
|
|
4244
|
+
}
|
|
4245
|
+
} catch ($p) {
|
|
4246
|
+
throw $p;
|
|
4247
|
+
}
|
|
4248
|
+
while (true);
|
|
4249
|
+
};
|
|
4250
|
+
timerMiddleware$o$handle$slambda$slambda_1.prototype.k16 = function ($this$launchStore, completion) {
|
|
4251
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.x2s_1, this.y2s_1, this.z2s_1, completion);
|
|
4252
|
+
i.a2t_1 = $this$launchStore;
|
|
4253
|
+
return i;
|
|
4254
|
+
};
|
|
4255
|
+
timerMiddleware$o$handle$slambda$slambda_1.$metadata$ = classMeta('timerMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4256
|
+
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4257
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4258
|
+
var l = function ($this$launchStore, $cont) {
|
|
4259
|
+
return i.j16($this$launchStore, $cont);
|
|
4260
|
+
};
|
|
4261
|
+
l.$arity = 1;
|
|
4262
|
+
return l;
|
|
4263
|
+
}
|
|
4264
|
+
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4265
|
+
this.j2t_1 = $tmp0__anonymous__1nv1x1;
|
|
4266
|
+
this.k2t_1 = $asyncProvider;
|
|
4267
|
+
this.l2t_1 = $jobsProvider;
|
|
4268
|
+
this.m2t_1 = $store;
|
|
4269
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
4270
|
+
}
|
|
4271
|
+
timerMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
4272
|
+
var tmp = this.k16($this$launchWorker, $cont);
|
|
4273
|
+
tmp.oj_1 = Unit_getInstance();
|
|
4274
|
+
tmp.pj_1 = null;
|
|
4275
|
+
return tmp.vj();
|
|
4276
|
+
};
|
|
4277
|
+
timerMiddleware$o$handle$slambda.prototype.wj = function (p1, $cont) {
|
|
4278
|
+
return this.j16((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $cont);
|
|
4279
|
+
};
|
|
4280
|
+
timerMiddleware$o$handle$slambda.prototype.vj = function () {
|
|
4281
|
+
var suspendResult = this.oj_1;
|
|
4282
|
+
$sm: do
|
|
4283
|
+
try {
|
|
4284
|
+
var tmp = this.mj_1;
|
|
4285
|
+
switch (tmp) {
|
|
4286
|
+
case 0:
|
|
4287
|
+
this.nj_1 = 10;
|
|
4288
|
+
if (!this.j2t_1.x2r_1.equals(new Long(0, 0)) ? this.j2t_1.y2r_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4289
|
+
this.mj_1 = 1;
|
|
4290
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4291
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4292
|
+
return suspendResult;
|
|
4293
|
+
}
|
|
4294
|
+
continue $sm;
|
|
4295
|
+
} else {
|
|
4296
|
+
this.mj_1 = 2;
|
|
4297
|
+
continue $sm;
|
|
4298
|
+
}
|
|
4299
|
+
|
|
4300
|
+
break;
|
|
4301
|
+
case 1:
|
|
4302
|
+
this.mj_1 = 2;
|
|
4303
|
+
continue $sm;
|
|
4304
|
+
case 2:
|
|
4305
|
+
this.o2t_1 = this.j2t_1.y2r_1;
|
|
4306
|
+
this.p2t_1 = this.o2t_1.e5_1;
|
|
4307
|
+
if (this.p2t_1 === 0) {
|
|
4308
|
+
this.mj_1 = 8;
|
|
4309
|
+
suspendResult = delay(this.j2t_1.w2r_1, this);
|
|
4310
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4311
|
+
return suspendResult;
|
|
4312
|
+
}
|
|
4313
|
+
continue $sm;
|
|
4314
|
+
} else {
|
|
4315
|
+
if (this.p2t_1 === 1) {
|
|
4316
|
+
if (!this.j2t_1.x2r_1.equals(new Long(0, 0))) {
|
|
4317
|
+
this.mj_1 = 3;
|
|
4318
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4319
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4320
|
+
return suspendResult;
|
|
4321
|
+
}
|
|
4322
|
+
continue $sm;
|
|
4323
|
+
} else {
|
|
4324
|
+
this.mj_1 = 4;
|
|
4325
|
+
continue $sm;
|
|
4326
|
+
}
|
|
4327
|
+
} else {
|
|
4328
|
+
this.mj_1 = 9;
|
|
4329
|
+
continue $sm;
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
|
|
4333
|
+
break;
|
|
4334
|
+
case 3:
|
|
4335
|
+
this.mj_1 = 4;
|
|
4336
|
+
continue $sm;
|
|
4337
|
+
case 4:
|
|
4338
|
+
this.mj_1 = 5;
|
|
4339
|
+
continue $sm;
|
|
4340
|
+
case 5:
|
|
4341
|
+
if (!get_isActive(this.n2t_1)) {
|
|
4342
|
+
this.mj_1 = 7;
|
|
4343
|
+
continue $sm;
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4346
|
+
this.k2t_1.t2q(null, timerMiddleware$o$handle$slambda$slambda_2(this.l2t_1, this.j2t_1, this.m2t_1, null), 1, null);
|
|
4347
|
+
;
|
|
4348
|
+
this.mj_1 = 6;
|
|
4349
|
+
suspendResult = delay(this.j2t_1.x2r_1, this);
|
|
4350
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4351
|
+
return suspendResult;
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
continue $sm;
|
|
4355
|
+
case 6:
|
|
4356
|
+
this.mj_1 = 5;
|
|
4357
|
+
continue $sm;
|
|
4358
|
+
case 7:
|
|
4359
|
+
this.mj_1 = 9;
|
|
4360
|
+
continue $sm;
|
|
4361
|
+
case 8:
|
|
4362
|
+
this.k2t_1.t2q(null, timerMiddleware$o$handle$slambda$slambda_0(this.l2t_1, this.j2t_1, this.m2t_1, null), 1, null);
|
|
4363
|
+
;
|
|
4364
|
+
this.mj_1 = 9;
|
|
4365
|
+
continue $sm;
|
|
4366
|
+
case 9:
|
|
4367
|
+
return Unit_getInstance();
|
|
4368
|
+
case 10:
|
|
4369
|
+
throw this.pj_1;
|
|
4370
|
+
}
|
|
4371
|
+
} catch ($p) {
|
|
4372
|
+
if (this.nj_1 === 10) {
|
|
4373
|
+
throw $p;
|
|
4374
|
+
} else {
|
|
4375
|
+
this.mj_1 = this.nj_1;
|
|
4376
|
+
this.pj_1 = $p;
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
while (true);
|
|
4380
|
+
};
|
|
4381
|
+
timerMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
4382
|
+
var i = new timerMiddleware$o$handle$slambda(this.j2t_1, this.k2t_1, this.l2t_1, this.m2t_1, completion);
|
|
4383
|
+
i.n2t_1 = $this$launchWorker;
|
|
4384
|
+
return i;
|
|
4385
|
+
};
|
|
4386
|
+
timerMiddleware$o$handle$slambda.$metadata$ = classMeta('timerMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
4387
|
+
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4388
|
+
var i = new timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation);
|
|
4389
|
+
var l = function ($this$launchWorker, $cont) {
|
|
4390
|
+
return i.j16($this$launchWorker, $cont);
|
|
4391
|
+
};
|
|
4392
|
+
l.$arity = 1;
|
|
4393
|
+
return l;
|
|
4394
|
+
}
|
|
4395
|
+
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
4396
|
+
this.q2t_1 = $asyncProvider;
|
|
4397
|
+
this.r2t_1 = $jobsProvider;
|
|
4398
|
+
}
|
|
4399
|
+
_no_name_provided__qut3iv_0.prototype.n2r = function (action) {
|
|
4400
|
+
return action instanceof TimerAction;
|
|
4401
|
+
};
|
|
4402
|
+
_no_name_provided__qut3iv_0.prototype.s2t = function (store, next, action) {
|
|
4403
|
+
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
4404
|
+
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
4405
|
+
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
4406
|
+
if (tmp0_subject instanceof StartTimerAction) {
|
|
4407
|
+
var job = this.q2t_1.v2q(null, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.q2t_1, this.r2t_1, store, null), 1, null);
|
|
4408
|
+
this.r2t_1.y2q(tmp0__anonymous__q1qw7t.u2r(), job);
|
|
4409
|
+
} else {
|
|
4410
|
+
if (tmp0_subject instanceof StopTimerAction) {
|
|
4411
|
+
this.r2t_1.d2r(tmp0__anonymous__q1qw7t.u2r());
|
|
4412
|
+
} else {
|
|
4413
|
+
if (tmp0_subject instanceof TimerTickAction) {
|
|
4414
|
+
if (tmp0__anonymous__q1qw7t.c2s_1.equals(TimerType_DELAY_getInstance())) {
|
|
4415
|
+
this.r2t_1.b2r(tmp0__anonymous__q1qw7t.u2r());
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4419
|
+
}
|
|
4420
|
+
next(tmp0__anonymous__q1qw7t);
|
|
4421
|
+
};
|
|
4422
|
+
_no_name_provided__qut3iv_0.prototype.o2r = function (store, next, action) {
|
|
4423
|
+
return this.s2t(store, next, action);
|
|
4424
|
+
};
|
|
4425
|
+
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
4426
|
+
function enumToString(_this__u8e3s4, mapping) {
|
|
4427
|
+
var tmp$ret$2;
|
|
4428
|
+
// Inline function 'kotlin.collections.find' call
|
|
4429
|
+
var tmp0_find = mapping.a1();
|
|
4430
|
+
var tmp$ret$1;
|
|
4431
|
+
$l$block: {
|
|
4432
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
4433
|
+
var tmp0_iterator = tmp0_find.f();
|
|
4434
|
+
while (tmp0_iterator.g()) {
|
|
4435
|
+
var element = tmp0_iterator.h();
|
|
4436
|
+
var tmp$ret$0;
|
|
4437
|
+
// Inline function 'com.logic.utils.enumToString.<anonymous>' call
|
|
4438
|
+
tmp$ret$0 = equals(element.c2(), _this__u8e3s4);
|
|
4439
|
+
if (tmp$ret$0) {
|
|
4440
|
+
tmp$ret$1 = element;
|
|
4441
|
+
break $l$block;
|
|
4442
|
+
}
|
|
4443
|
+
}
|
|
4444
|
+
tmp$ret$1 = null;
|
|
4445
|
+
}
|
|
4446
|
+
tmp$ret$2 = tmp$ret$1;
|
|
4447
|
+
var tmp0_safe_receiver = tmp$ret$2;
|
|
4448
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2();
|
|
4449
|
+
var tmp;
|
|
4450
|
+
if (tmp1_elvis_lhs == null) {
|
|
4451
|
+
throw IllegalArgumentException_init_$Create$("can't find key " + _this__u8e3s4 + ', in mapping ' + mapping);
|
|
4452
|
+
} else {
|
|
4453
|
+
tmp = tmp1_elvis_lhs;
|
|
4454
|
+
}
|
|
4455
|
+
return tmp;
|
|
4456
|
+
}
|
|
4457
|
+
function toDomainEnumSafe(_this__u8e3s4, mapping) {
|
|
4458
|
+
var tmp;
|
|
4459
|
+
try {
|
|
4460
|
+
tmp = toDomainEnum$default(_this__u8e3s4, mapping, null, 2, null);
|
|
4461
|
+
} catch ($p) {
|
|
4462
|
+
var tmp_0;
|
|
4463
|
+
if ($p instanceof Error) {
|
|
4464
|
+
tmp_0 = null;
|
|
4465
|
+
} else {
|
|
4466
|
+
throw $p;
|
|
4467
|
+
}
|
|
4468
|
+
tmp = tmp_0;
|
|
4469
|
+
}
|
|
4470
|
+
return tmp;
|
|
4471
|
+
}
|
|
4472
|
+
function toDomainEnum(_this__u8e3s4, mapping, exceptionProvider) {
|
|
4473
|
+
var tmp0_elvis_lhs = mapping.n(_this__u8e3s4);
|
|
4474
|
+
var tmp;
|
|
4475
|
+
if (tmp0_elvis_lhs == null) {
|
|
4476
|
+
throw exceptionProvider(_this__u8e3s4);
|
|
4477
|
+
} else {
|
|
4478
|
+
tmp = tmp0_elvis_lhs;
|
|
4479
|
+
}
|
|
4480
|
+
return tmp;
|
|
4481
|
+
}
|
|
4482
|
+
function toDomainEnum$default(_this__u8e3s4, mapping, exceptionProvider, $mask0, $handler) {
|
|
4483
|
+
if (!(($mask0 & 2) === 0)) {
|
|
4484
|
+
exceptionProvider = toDomainEnum$lambda(_this__u8e3s4, mapping);
|
|
4485
|
+
}
|
|
4486
|
+
return toDomainEnum(_this__u8e3s4, mapping, exceptionProvider);
|
|
4487
|
+
}
|
|
4488
|
+
function toDomainEnum$lambda($this_toDomainEnum, $mapping) {
|
|
4489
|
+
return function (it) {
|
|
4490
|
+
return IllegalArgumentException_init_$Create$('Unknown value ' + $this_toDomainEnum + ' for enum mapping ' + $mapping);
|
|
4491
|
+
};
|
|
4492
|
+
}
|
|
2680
4493
|
function findItemIndex(_this__u8e3s4, predicate) {
|
|
2681
4494
|
var tmp$ret$3;
|
|
2682
4495
|
// Inline function 'kotlin.collections.mapIndexedNotNull' call
|
|
@@ -2729,7 +4542,7 @@
|
|
|
2729
4542
|
// Inline function 'kotlin.contracts.contract' call
|
|
2730
4543
|
// Inline function 'com.logic.utils.updateItem.<anonymous>' call
|
|
2731
4544
|
var index = findItemIndex(tmp0_apply, predicate);
|
|
2732
|
-
tmp0_apply.
|
|
4545
|
+
tmp0_apply.m3(index, newValue);
|
|
2733
4546
|
return tmp0_apply;
|
|
2734
4547
|
tmp$ret$0 = tmp0_apply;
|
|
2735
4548
|
tmp$ret$1 = tmp$ret$0;
|
|
@@ -2746,11 +4559,11 @@
|
|
|
2746
4559
|
}
|
|
2747
4560
|
function updated(_this__u8e3s4, newValue, predicate) {
|
|
2748
4561
|
var index = findItemIndex(_this__u8e3s4, predicate);
|
|
2749
|
-
_this__u8e3s4.
|
|
4562
|
+
_this__u8e3s4.m3(index, newValue);
|
|
2750
4563
|
return _this__u8e3s4;
|
|
2751
4564
|
}
|
|
2752
4565
|
function sortWithItem(_this__u8e3s4, item) {
|
|
2753
|
-
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.
|
|
4566
|
+
return sortWithPosition(_this__u8e3s4, _this__u8e3s4.t2(item));
|
|
2754
4567
|
}
|
|
2755
4568
|
function nextTo_0(_this__u8e3s4, predicate) {
|
|
2756
4569
|
var nextItemIndex = findItemIndex(_this__u8e3s4, predicate) + 1 | 0;
|
|
@@ -2769,7 +4582,7 @@
|
|
|
2769
4582
|
var i = inductionVariable;
|
|
2770
4583
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2771
4584
|
newList.a(currentItem);
|
|
2772
|
-
currentItem = nextTo(_this__u8e3s4, _this__u8e3s4.
|
|
4585
|
+
currentItem = nextTo(_this__u8e3s4, _this__u8e3s4.t2(currentItem));
|
|
2773
4586
|
}
|
|
2774
4587
|
while (inductionVariable <= last);
|
|
2775
4588
|
return newList;
|
|
@@ -2791,24 +4604,24 @@
|
|
|
2791
4604
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
2792
4605
|
}
|
|
2793
4606
|
function generateTag($this, tag) {
|
|
2794
|
-
return (!($this.
|
|
4607
|
+
return (!($this.z2t_1 == null) ? !(tag == null) : false) ? '' + $this.z2t_1 + ':' + tag : tag;
|
|
2795
4608
|
}
|
|
2796
4609
|
function Category(name, ordinal, isEnabled) {
|
|
2797
4610
|
Enum.call(this, name, ordinal);
|
|
2798
|
-
this.
|
|
4611
|
+
this.c2u_1 = isEnabled;
|
|
2799
4612
|
}
|
|
2800
4613
|
Category.$metadata$ = classMeta('Category', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
2801
4614
|
function Logger$loggerSource$1() {
|
|
2802
|
-
this.
|
|
4615
|
+
this.d2u_1 = new PlatformLogger();
|
|
2803
4616
|
}
|
|
2804
|
-
Logger$loggerSource$1.prototype.
|
|
2805
|
-
this.
|
|
4617
|
+
Logger$loggerSource$1.prototype.e2u = function (tag, msg) {
|
|
4618
|
+
this.d2u_1.e2u(tag, msg);
|
|
2806
4619
|
};
|
|
2807
|
-
Logger$loggerSource$1.prototype.
|
|
2808
|
-
this.
|
|
4620
|
+
Logger$loggerSource$1.prototype.f2u = function (tag, msg, exception) {
|
|
4621
|
+
this.d2u_1.f2u(tag, msg, exception);
|
|
2809
4622
|
};
|
|
2810
|
-
Logger$loggerSource$1.prototype.
|
|
2811
|
-
this.
|
|
4623
|
+
Logger$loggerSource$1.prototype.g2u = function (tag, msg) {
|
|
4624
|
+
this.d2u_1.g2u(tag, msg);
|
|
2812
4625
|
};
|
|
2813
4626
|
Logger$loggerSource$1.$metadata$ = classMeta(undefined, [LoggerSource]);
|
|
2814
4627
|
function Category_NONE_getInstance() {
|
|
@@ -2818,42 +4631,42 @@
|
|
|
2818
4631
|
function Logger() {
|
|
2819
4632
|
Logger_instance = this;
|
|
2820
4633
|
var tmp = this;
|
|
2821
|
-
tmp.
|
|
2822
|
-
this.
|
|
2823
|
-
this.
|
|
4634
|
+
tmp.x2t_1 = new Logger$loggerSource$1();
|
|
4635
|
+
this.y2t_1 = true;
|
|
4636
|
+
this.z2t_1 = null;
|
|
2824
4637
|
}
|
|
2825
|
-
Logger.prototype.
|
|
2826
|
-
this.
|
|
4638
|
+
Logger.prototype.t2t = function (tag, message) {
|
|
4639
|
+
this.h2u(tag, message, Category_NONE_getInstance());
|
|
2827
4640
|
};
|
|
2828
|
-
Logger.prototype.
|
|
2829
|
-
if (this.
|
|
2830
|
-
this.
|
|
4641
|
+
Logger.prototype.i2u = function (tag, message, category) {
|
|
4642
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
4643
|
+
this.x2t_1.g2u(generateTag(this, tag), message);
|
|
2831
4644
|
}
|
|
2832
4645
|
};
|
|
2833
|
-
Logger.prototype.
|
|
4646
|
+
Logger.prototype.j2u = function (tag, message, category, $mask0, $handler) {
|
|
2834
4647
|
if (!(($mask0 & 1) === 0))
|
|
2835
4648
|
tag = null;
|
|
2836
4649
|
if (!(($mask0 & 4) === 0))
|
|
2837
4650
|
category = Category_NONE_getInstance();
|
|
2838
|
-
return this.
|
|
4651
|
+
return this.i2u(tag, message, category);
|
|
2839
4652
|
};
|
|
2840
|
-
Logger.prototype.
|
|
2841
|
-
if (this.
|
|
2842
|
-
this.
|
|
4653
|
+
Logger.prototype.h2u = function (tag, message, category) {
|
|
4654
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
4655
|
+
this.x2t_1.e2u(generateTag(this, tag), message);
|
|
2843
4656
|
}
|
|
2844
4657
|
};
|
|
2845
|
-
Logger.prototype.
|
|
2846
|
-
if (this.
|
|
4658
|
+
Logger.prototype.k2u = function (tag, message, exception, category) {
|
|
4659
|
+
if (this.y2t_1 ? category.c2u_1 : false) {
|
|
2847
4660
|
var tmp0_safe_receiver = exception;
|
|
2848
4661
|
if (tmp0_safe_receiver == null)
|
|
2849
4662
|
null;
|
|
2850
4663
|
else {
|
|
2851
4664
|
printStackTrace(tmp0_safe_receiver);
|
|
2852
4665
|
}
|
|
2853
|
-
this.
|
|
4666
|
+
this.x2t_1.f2u(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
2854
4667
|
}
|
|
2855
4668
|
};
|
|
2856
|
-
Logger.prototype.
|
|
4669
|
+
Logger.prototype.l2u = function (tag, message, exception, category, $mask0, $handler) {
|
|
2857
4670
|
if (!(($mask0 & 1) === 0))
|
|
2858
4671
|
tag = null;
|
|
2859
4672
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2862,7 +4675,7 @@
|
|
|
2862
4675
|
exception = null;
|
|
2863
4676
|
if (!(($mask0 & 8) === 0))
|
|
2864
4677
|
category = Category_NONE_getInstance();
|
|
2865
|
-
return this.
|
|
4678
|
+
return this.k2u(tag, message, exception, category);
|
|
2866
4679
|
};
|
|
2867
4680
|
Logger.$metadata$ = objectMeta('Logger');
|
|
2868
4681
|
var Logger_instance;
|
|
@@ -2902,36 +4715,36 @@
|
|
|
2902
4715
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2903
4716
|
}
|
|
2904
4717
|
function CombinedGameLogger(logOutputs) {
|
|
2905
|
-
this.
|
|
4718
|
+
this.m2u_1 = logOutputs;
|
|
2906
4719
|
}
|
|
2907
|
-
CombinedGameLogger.prototype.
|
|
4720
|
+
CombinedGameLogger.prototype.t2t = function (tag, message) {
|
|
2908
4721
|
// Inline function 'kotlin.collections.forEach' call
|
|
2909
|
-
var tmp0_forEach = this.
|
|
4722
|
+
var tmp0_forEach = this.m2u_1;
|
|
2910
4723
|
var tmp0_iterator = tmp0_forEach.f();
|
|
2911
4724
|
while (tmp0_iterator.g()) {
|
|
2912
4725
|
var element = tmp0_iterator.h();
|
|
2913
4726
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
2914
|
-
element.
|
|
4727
|
+
element.t2t(tag, message);
|
|
2915
4728
|
}
|
|
2916
4729
|
};
|
|
2917
|
-
CombinedGameLogger.prototype.
|
|
4730
|
+
CombinedGameLogger.prototype.m2q = function (tag, message, exception) {
|
|
2918
4731
|
// Inline function 'kotlin.collections.forEach' call
|
|
2919
|
-
var tmp0_forEach = this.
|
|
4732
|
+
var tmp0_forEach = this.m2u_1;
|
|
2920
4733
|
var tmp0_iterator = tmp0_forEach.f();
|
|
2921
4734
|
while (tmp0_iterator.g()) {
|
|
2922
4735
|
var element = tmp0_iterator.h();
|
|
2923
4736
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
2924
|
-
element.
|
|
4737
|
+
element.m2q(tag, message, exception);
|
|
2925
4738
|
}
|
|
2926
4739
|
};
|
|
2927
|
-
CombinedGameLogger.prototype.
|
|
4740
|
+
CombinedGameLogger.prototype.w2t = function (tag, message) {
|
|
2928
4741
|
// Inline function 'kotlin.collections.forEach' call
|
|
2929
|
-
var tmp0_forEach = this.
|
|
4742
|
+
var tmp0_forEach = this.m2u_1;
|
|
2930
4743
|
var tmp0_iterator = tmp0_forEach.f();
|
|
2931
4744
|
while (tmp0_iterator.g()) {
|
|
2932
4745
|
var element = tmp0_iterator.h();
|
|
2933
4746
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
2934
|
-
element.
|
|
4747
|
+
element.w2t(tag, message);
|
|
2935
4748
|
}
|
|
2936
4749
|
};
|
|
2937
4750
|
CombinedGameLogger.$metadata$ = classMeta('CombinedGameLogger', [GameLogger]);
|
|
@@ -2944,16 +4757,16 @@
|
|
|
2944
4757
|
function PlatformGameLogger() {
|
|
2945
4758
|
PlatformGameLogger_instance = this;
|
|
2946
4759
|
}
|
|
2947
|
-
PlatformGameLogger.prototype.
|
|
2948
|
-
Logger_getInstance().
|
|
4760
|
+
PlatformGameLogger.prototype.t2t = function (tag, message) {
|
|
4761
|
+
Logger_getInstance().t2t(tag, message);
|
|
2949
4762
|
};
|
|
2950
|
-
PlatformGameLogger.prototype.
|
|
4763
|
+
PlatformGameLogger.prototype.m2q = function (tag, message, exception) {
|
|
2951
4764
|
var tmp = Logger_getInstance();
|
|
2952
|
-
tmp.
|
|
4765
|
+
tmp.l2u(tag, message, exception, null, 8, null);
|
|
2953
4766
|
};
|
|
2954
|
-
PlatformGameLogger.prototype.
|
|
4767
|
+
PlatformGameLogger.prototype.w2t = function (tag, message) {
|
|
2955
4768
|
var tmp = Logger_getInstance();
|
|
2956
|
-
tmp.
|
|
4769
|
+
tmp.j2u(tag, message, null, 4, null);
|
|
2957
4770
|
};
|
|
2958
4771
|
PlatformGameLogger.$metadata$ = objectMeta('PlatformGameLogger', [GameLogger]);
|
|
2959
4772
|
var PlatformGameLogger_instance;
|
|
@@ -2964,41 +4777,52 @@
|
|
|
2964
4777
|
}
|
|
2965
4778
|
function PlatformLogger() {
|
|
2966
4779
|
}
|
|
2967
|
-
PlatformLogger.prototype.
|
|
4780
|
+
PlatformLogger.prototype.e2u = function (tag, msg) {
|
|
2968
4781
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
2969
4782
|
};
|
|
2970
|
-
PlatformLogger.prototype.
|
|
4783
|
+
PlatformLogger.prototype.f2u = function (tag, msg, exception) {
|
|
2971
4784
|
if (!(exception == null)) {
|
|
2972
4785
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
2973
4786
|
} else {
|
|
2974
4787
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
2975
4788
|
}
|
|
2976
4789
|
};
|
|
2977
|
-
PlatformLogger.prototype.
|
|
4790
|
+
PlatformLogger.prototype.g2u = function (tag, msg) {
|
|
2978
4791
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
2979
4792
|
};
|
|
2980
4793
|
PlatformLogger.$metadata$ = classMeta('PlatformLogger');
|
|
2981
4794
|
//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
|
-
|
|
4795
|
+
$serializer.prototype.t1t = typeParametersSerializers;
|
|
4796
|
+
$serializer_0.prototype.t1t = typeParametersSerializers;
|
|
4797
|
+
$serializer_1.prototype.t1t = typeParametersSerializers;
|
|
4798
|
+
$serializer_2.prototype.t1t = typeParametersSerializers;
|
|
4799
|
+
$serializer_3.prototype.t1t = typeParametersSerializers;
|
|
4800
|
+
$serializer_4.prototype.t1t = typeParametersSerializers;
|
|
4801
|
+
$serializer_5.prototype.t1t = typeParametersSerializers;
|
|
4802
|
+
$serializer_6.prototype.t1t = typeParametersSerializers;
|
|
4803
|
+
_no_name_provided__qut3iv.prototype.r4 = get;
|
|
4804
|
+
_no_name_provided__qut3iv.prototype.x4 = fold;
|
|
4805
|
+
_no_name_provided__qut3iv.prototype.w4 = minusKey;
|
|
4806
|
+
_no_name_provided__qut3iv.prototype.y4 = plus;
|
|
4807
|
+
AsyncProviderImpl.prototype.t2q = launchStore$default;
|
|
4808
|
+
AsyncProviderImpl.prototype.v2q = launchWorker$default;
|
|
4809
|
+
middleware$1.prototype.n2r = canHandle;
|
|
4810
|
+
combineReducers$1.prototype.n2r = canHandle_0;
|
|
4811
|
+
StoreLifecycleAction.prototype.m2r = get_actionTag;
|
|
4812
|
+
INIT.prototype.m2r = get_actionTag;
|
|
4813
|
+
REPLACE.prototype.m2r = get_actionTag;
|
|
4814
|
+
TimerAction.prototype.m2r = get_actionTag;
|
|
4815
|
+
StopTimerAction.prototype.m2r = get_actionTag;
|
|
4816
|
+
StopTimerAction.prototype.notValidateWhenFinishing = notValidateWhenFinishing;
|
|
4817
|
+
StopTimerAction.prototype.notValidateWhenFinished = notValidateWhenFinished;
|
|
4818
|
+
StartTimerAction.prototype.m2r = get_actionTag;
|
|
4819
|
+
TimerTickAction.prototype.m2r = get_actionTag;
|
|
4820
|
+
CombinedGameLogger.prototype.u2t = d$default;
|
|
4821
|
+
CombinedGameLogger.prototype.v2t = e$default;
|
|
4822
|
+
CombinedGameLogger.prototype.z2q = w$default;
|
|
4823
|
+
PlatformGameLogger.prototype.u2t = d$default;
|
|
4824
|
+
PlatformGameLogger.prototype.v2t = e$default;
|
|
4825
|
+
PlatformGameLogger.prototype.z2q = w$default;
|
|
3002
4826
|
//endregion
|
|
3003
4827
|
//region block: exports
|
|
3004
4828
|
function $jsExportAll$(_) {
|
|
@@ -3016,7 +4840,7 @@
|
|
|
3016
4840
|
$com$logic$data$models.TerminationGameReason.TerminationGameReason_init_$Create$ = TerminationGameReason_init_$Create$;
|
|
3017
4841
|
Object.defineProperty($com$logic$data$models.TerminationGameReason, 'Companion', {
|
|
3018
4842
|
configurable: true,
|
|
3019
|
-
get:
|
|
4843
|
+
get: Companion_getInstance_1
|
|
3020
4844
|
});
|
|
3021
4845
|
var $com = _.com || (_.com = {});
|
|
3022
4846
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
@@ -3063,6 +4887,10 @@
|
|
|
3063
4887
|
configurable: true,
|
|
3064
4888
|
get: PlayerConnectionState_DELETED_getInstance
|
|
3065
4889
|
});
|
|
4890
|
+
Object.defineProperty($com$logic$data$models$player.PlayerConnectionState, 'Companion', {
|
|
4891
|
+
configurable: true,
|
|
4892
|
+
get: Companion_getInstance_6
|
|
4893
|
+
});
|
|
3066
4894
|
var $com = _.com || (_.com = {});
|
|
3067
4895
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
3068
4896
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -3071,7 +4899,7 @@
|
|
|
3071
4899
|
$com$logic$data$models$rules.Rules = Rules;
|
|
3072
4900
|
Object.defineProperty($com$logic$data$models$rules.Rules, 'Companion', {
|
|
3073
4901
|
configurable: true,
|
|
3074
|
-
get:
|
|
4902
|
+
get: Companion_getInstance_9
|
|
3075
4903
|
});
|
|
3076
4904
|
var $com = _.com || (_.com = {});
|
|
3077
4905
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
@@ -3079,7 +4907,7 @@
|
|
|
3079
4907
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
3080
4908
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
3081
4909
|
$com$logic$data$models$rules.RulesSetType = RulesSetType;
|
|
3082
|
-
$com$logic$data$models$rules.RulesSetType.values =
|
|
4910
|
+
$com$logic$data$models$rules.RulesSetType.values = values_1;
|
|
3083
4911
|
$com$logic$data$models$rules.RulesSetType.valueOf = valueOf_0;
|
|
3084
4912
|
Object.defineProperty($com$logic$data$models$rules.RulesSetType, 'belot', {
|
|
3085
4913
|
configurable: true,
|
|
@@ -3121,6 +4949,16 @@
|
|
|
3121
4949
|
var $com$logic$redux$actions = $com$logic$redux.actions || ($com$logic$redux.actions = {});
|
|
3122
4950
|
var $com = _.com || (_.com = {});
|
|
3123
4951
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4952
|
+
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
4953
|
+
var $com$logic$redux$actions = $com$logic$redux.actions || ($com$logic$redux.actions = {});
|
|
4954
|
+
var $com$logic$redux$actions$validation = $com$logic$redux$actions.validation || ($com$logic$redux$actions.validation = {});
|
|
4955
|
+
var $com = _.com || (_.com = {});
|
|
4956
|
+
var $com$logic = $com.logic || ($com.logic = {});
|
|
4957
|
+
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
4958
|
+
var $com$logic$redux$actions = $com$logic$redux.actions || ($com$logic$redux.actions = {});
|
|
4959
|
+
var $com$logic$redux$actions$validation = $com$logic$redux$actions.validation || ($com$logic$redux$actions.validation = {});
|
|
4960
|
+
var $com = _.com || (_.com = {});
|
|
4961
|
+
var $com$logic = $com.logic || ($com.logic = {});
|
|
3124
4962
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
3125
4963
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
3126
4964
|
var $com$logic$utils$logger$game = $com$logic$utils$logger.game || ($com$logic$utils$logger.game = {});
|
|
@@ -3137,76 +4975,112 @@
|
|
|
3137
4975
|
_.$_$.g = filterPlayerTurn;
|
|
3138
4976
|
_.$_$.h = getPlayer;
|
|
3139
4977
|
_.$_$.i = nextToPlayerId;
|
|
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 =
|
|
4978
|
+
_.$_$.j = mapFromDto_0;
|
|
4979
|
+
_.$_$.k = mapFromDto_2;
|
|
4980
|
+
_.$_$.l = mapFromDto;
|
|
4981
|
+
_.$_$.m = mapFromDto_1;
|
|
4982
|
+
_.$_$.n = mapToDto_3;
|
|
4983
|
+
_.$_$.o = mapToDto_0;
|
|
4984
|
+
_.$_$.p = mapToDto_1;
|
|
4985
|
+
_.$_$.q = mapToDto_2;
|
|
4986
|
+
_.$_$.r = mapToDto;
|
|
4987
|
+
_.$_$.s = CardGrowthComparator;
|
|
4988
|
+
_.$_$.t = GameCardWIthPlayerId;
|
|
4989
|
+
_.$_$.u = GameCard;
|
|
4990
|
+
_.$_$.v = ProcessingCard;
|
|
4991
|
+
_.$_$.w = values_2;
|
|
4992
|
+
_.$_$.x = filterByCardName;
|
|
4993
|
+
_.$_$.y = filterBySuit;
|
|
4994
|
+
_.$_$.z = getGrowth;
|
|
4995
|
+
_.$_$.a1 = getPoint;
|
|
4996
|
+
_.$_$.b1 = GameErrorReason;
|
|
4997
|
+
_.$_$.c1 = PlayerExitReason;
|
|
4998
|
+
_.$_$.d1 = PlayerLostConnectionReason;
|
|
4999
|
+
_.$_$.e1 = PlayerTimeoutReason;
|
|
5000
|
+
_.$_$.f1 = AsyncProvider;
|
|
5001
|
+
_.$_$.g1 = JobsProvider;
|
|
5002
|
+
_.$_$.h1 = get_coreModule;
|
|
5003
|
+
_.$_$.i1 = get_actionTag;
|
|
5004
|
+
_.$_$.j1 = Action;
|
|
5005
|
+
_.$_$.k1 = Middleware;
|
|
5006
|
+
_.$_$.l1 = Reducer;
|
|
5007
|
+
_.$_$.m1 = combineReducers;
|
|
5008
|
+
_.$_$.n1 = middleware;
|
|
5009
|
+
_.$_$.o1 = parseActionName;
|
|
5010
|
+
_.$_$.p1 = compose;
|
|
5011
|
+
_.$_$.q1 = createStore;
|
|
5012
|
+
_.$_$.r1 = notValidateWhenFinished;
|
|
5013
|
+
_.$_$.s1 = NotValidateIfGameFinished;
|
|
5014
|
+
_.$_$.t1 = notValidateWhenFinishing;
|
|
5015
|
+
_.$_$.u1 = NotValidateIfGameFinishing;
|
|
5016
|
+
_.$_$.v1 = ignoreBuffer;
|
|
5017
|
+
_.$_$.w1 = BufferedAction;
|
|
5018
|
+
_.$_$.x1 = ignoreExpectant;
|
|
5019
|
+
_.$_$.y1 = ExpectantAction;
|
|
5020
|
+
_.$_$.z1 = ReleaseBufferTriggerAction;
|
|
5021
|
+
_.$_$.a2 = StartTimerAction;
|
|
5022
|
+
_.$_$.b2 = StopTimerAction;
|
|
5023
|
+
_.$_$.c2 = TimerAction;
|
|
5024
|
+
_.$_$.d2 = TimerTag;
|
|
5025
|
+
_.$_$.e2 = TimerTickAction;
|
|
5026
|
+
_.$_$.f2 = applyCatcher;
|
|
5027
|
+
_.$_$.g2 = applyMiddleware;
|
|
5028
|
+
_.$_$.h2 = timerMiddleware;
|
|
5029
|
+
_.$_$.i2 = CombinedGameLogger;
|
|
5030
|
+
_.$_$.j2 = LoggerOutputWithPayload;
|
|
5031
|
+
_.$_$.k2 = LoggerPayload;
|
|
5032
|
+
_.$_$.l2 = GameLogger;
|
|
5033
|
+
_.$_$.m2 = LoggerOutput;
|
|
5034
|
+
_.$_$.n2 = generateMsg;
|
|
5035
|
+
_.$_$.o2 = enumToString;
|
|
5036
|
+
_.$_$.p2 = nextTo;
|
|
5037
|
+
_.$_$.q2 = sortWithItem;
|
|
5038
|
+
_.$_$.r2 = toDomainEnumSafe;
|
|
5039
|
+
_.$_$.s2 = updateItem;
|
|
5040
|
+
_.$_$.t2 = updated;
|
|
5041
|
+
_.$_$.u2 = PlayerConnectionState_DELETED_getInstance;
|
|
5042
|
+
_.$_$.v2 = PlayerConnectionState_LEFT_getInstance;
|
|
5043
|
+
_.$_$.w2 = PlayerConnectionState_LIVE_getInstance;
|
|
5044
|
+
_.$_$.x2 = PlayerConnectionState_LOST_CONNECTION_getInstance;
|
|
5045
|
+
_.$_$.y2 = PlayerConnectionState_TIMEOUT_getInstance;
|
|
5046
|
+
_.$_$.z2 = RulesSetType_belot_getInstance;
|
|
5047
|
+
_.$_$.a3 = RulesSetType_custom_getInstance;
|
|
5048
|
+
_.$_$.b3 = RulesSetType_debertzCommon_getInstance;
|
|
5049
|
+
_.$_$.c3 = RulesSetType_debertzKharkiv_getInstance;
|
|
5050
|
+
_.$_$.d3 = RulesSetType_debertzMoscow_getInstance;
|
|
5051
|
+
_.$_$.e3 = RulesSetType_klabor_getInstance;
|
|
5052
|
+
_.$_$.f3 = CardName_ACE_getInstance;
|
|
5053
|
+
_.$_$.g3 = CardName_DAME_getInstance;
|
|
5054
|
+
_.$_$.h3 = CardName_EIGHT_getInstance;
|
|
5055
|
+
_.$_$.i3 = CardName_JACK_getInstance;
|
|
5056
|
+
_.$_$.j3 = CardName_KING_getInstance;
|
|
5057
|
+
_.$_$.k3 = CardName_NINE_getInstance;
|
|
5058
|
+
_.$_$.l3 = CardName_SEVEN_getInstance;
|
|
5059
|
+
_.$_$.m3 = CardName_TEN_getInstance;
|
|
5060
|
+
_.$_$.n3 = TimerType_DELAY_getInstance;
|
|
5061
|
+
_.$_$.o3 = e$default_0;
|
|
5062
|
+
_.$_$.p3 = d$default;
|
|
5063
|
+
_.$_$.q3 = e$default;
|
|
5064
|
+
_.$_$.r3 = w$default;
|
|
5065
|
+
_.$_$.s3 = StartTimerAction_init_$Create$;
|
|
5066
|
+
_.$_$.t3 = Companion_getInstance_6;
|
|
5067
|
+
_.$_$.u3 = Companion_getInstance_8;
|
|
5068
|
+
_.$_$.v3 = $serializer_getInstance_4;
|
|
5069
|
+
_.$_$.w3 = $serializer_getInstance_5;
|
|
5070
|
+
_.$_$.x3 = $serializer_getInstance_6;
|
|
5071
|
+
_.$_$.y3 = CardIndexComparator_getInstance;
|
|
5072
|
+
_.$_$.z3 = CardNumberComparator_getInstance;
|
|
5073
|
+
_.$_$.a4 = Companion_getInstance_13;
|
|
5074
|
+
_.$_$.b4 = Companion_getInstance_15;
|
|
5075
|
+
_.$_$.c4 = Companion_getInstance;
|
|
5076
|
+
_.$_$.d4 = GameFinishedReason_getInstance;
|
|
5077
|
+
_.$_$.e4 = ProcessingReason_getInstance;
|
|
5078
|
+
_.$_$.f4 = RestartGameReason_getInstance;
|
|
5079
|
+
_.$_$.g4 = Companion_getInstance_1;
|
|
5080
|
+
_.$_$.h4 = WaitingForConnectionReason_getInstance;
|
|
5081
|
+
_.$_$.i4 = PlatformGameLogger_getInstance;
|
|
5082
|
+
_.$_$.j4 = Logger_getInstance;
|
|
5083
|
+
_.$_$.k4 = Constants_getInstance;
|
|
3210
5084
|
//endregion
|
|
3211
5085
|
return _;
|
|
3212
5086
|
}));
|