client_plugin_logic_deb 1.4.92 → 1.4.95
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 +11 -11
- package/Kodein-kodein-di.js +631 -631
- package/Kodein-kodein-di.js.map +1 -1
- package/KosiTypeSystem-kaverit.js +79 -79
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +88 -88
- package/Logic_Debertz-client_plugin.d.ts +28 -23
- package/Logic_Debertz-client_plugin.js +5886 -5372
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1385 -1385
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10413 -10612
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +7151 -7150
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1029 -2210
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +1559 -1541
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1955 -1955
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1394 -1394
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3505 -2023
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +39 -39
|
@@ -22,41 +22,41 @@
|
|
|
22
22
|
var Clock = $module$_js_joda_core_gcv2k.Clock;
|
|
23
23
|
var OffsetDateTime = $module$_js_joda_core_gcv2k.OffsetDateTime;
|
|
24
24
|
var Duration = $module$_js_joda_core_gcv2k.Duration;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
26
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
27
|
-
var VOID = kotlin_kotlin.$_$.
|
|
28
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
29
|
-
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.
|
|
30
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
31
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
32
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
33
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
34
|
-
var Long = kotlin_kotlin.$_$.
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.ka;
|
|
26
|
+
var objectMeta = kotlin_kotlin.$_$.ja;
|
|
27
|
+
var VOID = kotlin_kotlin.$_$.he;
|
|
28
|
+
var setMetadataFor = kotlin_kotlin.$_$.la;
|
|
29
|
+
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.i1;
|
|
30
|
+
var objectCreate = kotlin_kotlin.$_$.ia;
|
|
31
|
+
var captureStack = kotlin_kotlin.$_$.c9;
|
|
32
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.uc;
|
|
33
|
+
var classMeta = kotlin_kotlin.$_$.h9;
|
|
34
|
+
var Long = kotlin_kotlin.$_$.wc;
|
|
35
35
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
36
36
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
37
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.cd;
|
|
38
38
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
39
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
40
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
41
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
42
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
43
|
-
var Char = kotlin_kotlin.$_$.
|
|
44
|
-
var equals = kotlin_kotlin.$_$.
|
|
45
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
46
|
-
var toLong = kotlin_kotlin.$_$.
|
|
47
|
-
var ArithmeticException = kotlin_kotlin.$_$.
|
|
48
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
49
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
50
|
-
var _Duration___get_inWholeSeconds__impl__hpy7b3 = kotlin_kotlin.$_$.
|
|
51
|
-
var _Duration___get_nanosecondsComponent__impl__nh19kq = kotlin_kotlin.$_$.
|
|
52
|
-
var numberToDouble = kotlin_kotlin.$_$.
|
|
53
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
39
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.e2;
|
|
40
|
+
var indexOf = kotlin_kotlin.$_$.kb;
|
|
41
|
+
var charSequenceLength = kotlin_kotlin.$_$.f9;
|
|
42
|
+
var charSequenceGet = kotlin_kotlin.$_$.e9;
|
|
43
|
+
var Char = kotlin_kotlin.$_$.mc;
|
|
44
|
+
var equals = kotlin_kotlin.$_$.k9;
|
|
45
|
+
var Unit_getInstance = kotlin_kotlin.$_$.r4;
|
|
46
|
+
var toLong = kotlin_kotlin.$_$.na;
|
|
47
|
+
var ArithmeticException = kotlin_kotlin.$_$.lc;
|
|
48
|
+
var numberToLong = kotlin_kotlin.$_$.ha;
|
|
49
|
+
var numberToInt = kotlin_kotlin.$_$.ga;
|
|
50
|
+
var _Duration___get_inWholeSeconds__impl__hpy7b3 = kotlin_kotlin.$_$.a2;
|
|
51
|
+
var _Duration___get_nanosecondsComponent__impl__nh19kq = kotlin_kotlin.$_$.b2;
|
|
52
|
+
var numberToDouble = kotlin_kotlin.$_$.fa;
|
|
53
|
+
var Companion_getInstance = kotlin_kotlin.$_$.j4;
|
|
54
54
|
var DurationUnit_SECONDS_getInstance = kotlin_kotlin.$_$.h;
|
|
55
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
55
|
+
var toDuration = kotlin_kotlin.$_$.ic;
|
|
56
56
|
var DurationUnit_NANOSECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
57
|
-
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.
|
|
58
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
59
|
-
var toString = kotlin_kotlin.$_$.
|
|
57
|
+
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.c2;
|
|
58
|
+
var Comparable = kotlin_kotlin.$_$.nc;
|
|
59
|
+
var toString = kotlin_kotlin.$_$.pa;
|
|
60
60
|
var ArithmeticException_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
61
61
|
//endregion
|
|
62
62
|
//region block: pre-declaration
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
function System() {
|
|
70
70
|
System_instance = this;
|
|
71
71
|
}
|
|
72
|
-
protoOf(System).
|
|
73
|
-
return Companion_getInstance_0().
|
|
72
|
+
protoOf(System).z2n = function () {
|
|
73
|
+
return Companion_getInstance_0().z2n();
|
|
74
74
|
};
|
|
75
75
|
var System_instance;
|
|
76
76
|
function System_getInstance() {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
var DISTANT_FUTURE_SECONDS;
|
|
102
102
|
function toInstant(_this__u8e3s4) {
|
|
103
|
-
return Companion_getInstance_0().
|
|
103
|
+
return Companion_getInstance_0().e2o(_this__u8e3s4);
|
|
104
104
|
}
|
|
105
105
|
function get_NANOS_PER_MILLI() {
|
|
106
106
|
return NANOS_PER_MILLI;
|
|
@@ -116,19 +116,19 @@
|
|
|
116
116
|
var NANOS_PER_ONE;
|
|
117
117
|
function InstantIso8601Serializer() {
|
|
118
118
|
InstantIso8601Serializer_instance = this;
|
|
119
|
-
this.
|
|
119
|
+
this.f2o_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
120
120
|
}
|
|
121
|
-
protoOf(InstantIso8601Serializer).
|
|
122
|
-
return this.
|
|
121
|
+
protoOf(InstantIso8601Serializer).u1l = function () {
|
|
122
|
+
return this.f2o_1;
|
|
123
123
|
};
|
|
124
|
-
protoOf(InstantIso8601Serializer).
|
|
125
|
-
return Companion_getInstance_0().
|
|
124
|
+
protoOf(InstantIso8601Serializer).w1l = function (decoder) {
|
|
125
|
+
return Companion_getInstance_0().e2o(decoder.w1o());
|
|
126
126
|
};
|
|
127
|
-
protoOf(InstantIso8601Serializer).
|
|
128
|
-
encoder.
|
|
127
|
+
protoOf(InstantIso8601Serializer).g2o = function (encoder, value) {
|
|
128
|
+
encoder.f1q(value.toString());
|
|
129
129
|
};
|
|
130
|
-
protoOf(InstantIso8601Serializer).
|
|
131
|
-
return this.
|
|
130
|
+
protoOf(InstantIso8601Serializer).v1l = function (encoder, value) {
|
|
131
|
+
return this.g2o(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
132
132
|
};
|
|
133
133
|
var InstantIso8601Serializer_instance;
|
|
134
134
|
function InstantIso8601Serializer_getInstance() {
|
|
@@ -168,39 +168,39 @@
|
|
|
168
168
|
}
|
|
169
169
|
function Companion() {
|
|
170
170
|
Companion_instance = this;
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
171
|
+
this.a2o_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
|
|
172
|
+
this.b2o_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
|
|
173
|
+
this.c2o_1 = new Instant_0(Instant.MIN);
|
|
174
|
+
this.d2o_1 = new Instant_0(Instant.MAX);
|
|
175
175
|
}
|
|
176
|
-
protoOf(Companion).
|
|
176
|
+
protoOf(Companion).z2n = function () {
|
|
177
177
|
return new Instant_0(Clock.systemUTC().instant());
|
|
178
178
|
};
|
|
179
|
-
protoOf(Companion).
|
|
179
|
+
protoOf(Companion).h2o = function (epochMilliseconds) {
|
|
180
180
|
var tmp;
|
|
181
181
|
try {
|
|
182
182
|
var tmp$ret$0;
|
|
183
183
|
// Inline function 'kotlin.Long.div' call
|
|
184
184
|
var tmp0_div = get_MILLIS_PER_ONE();
|
|
185
|
-
tmp$ret$0 = epochMilliseconds.
|
|
185
|
+
tmp$ret$0 = epochMilliseconds.t7(toLong(tmp0_div));
|
|
186
186
|
var tmp_0 = tmp$ret$0;
|
|
187
187
|
var tmp$ret$2;
|
|
188
188
|
// Inline function 'kotlin.Long.times' call
|
|
189
189
|
var tmp$ret$1;
|
|
190
190
|
// Inline function 'kotlin.Long.rem' call
|
|
191
191
|
var tmp1_rem = get_MILLIS_PER_ONE();
|
|
192
|
-
tmp$ret$1 = epochMilliseconds.
|
|
192
|
+
tmp$ret$1 = epochMilliseconds.g6(toLong(tmp1_rem));
|
|
193
193
|
var tmp2_times = tmp$ret$1;
|
|
194
194
|
var tmp3_times = get_NANOS_PER_MILLI();
|
|
195
|
-
tmp$ret$2 = tmp2_times.
|
|
196
|
-
tmp = this.
|
|
195
|
+
tmp$ret$2 = tmp2_times.u7(toLong(tmp3_times));
|
|
196
|
+
tmp = this.i2o(tmp_0, tmp$ret$2);
|
|
197
197
|
} catch ($p) {
|
|
198
198
|
var tmp_1;
|
|
199
199
|
if ($p instanceof Error) {
|
|
200
200
|
var e = $p;
|
|
201
201
|
if (!isJodaDateTimeException(e))
|
|
202
202
|
throw e;
|
|
203
|
-
tmp_1 = epochMilliseconds.
|
|
203
|
+
tmp_1 = epochMilliseconds.v(new Long(0, 0)) > 0 ? this.d2o_1 : this.c2o_1;
|
|
204
204
|
} else {
|
|
205
205
|
throw $p;
|
|
206
206
|
}
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
return tmp;
|
|
210
210
|
};
|
|
211
|
-
protoOf(Companion).
|
|
211
|
+
protoOf(Companion).e2o = function (isoString) {
|
|
212
212
|
var tmp;
|
|
213
213
|
try {
|
|
214
214
|
tmp = new Instant_0(OffsetDateTime.parse(fixOffsetRepresentation(this, isoString)).toInstant());
|
|
@@ -226,14 +226,14 @@
|
|
|
226
226
|
}
|
|
227
227
|
return tmp;
|
|
228
228
|
};
|
|
229
|
-
protoOf(Companion).
|
|
229
|
+
protoOf(Companion).i2o = function (epochSeconds, nanosecondAdjustment) {
|
|
230
230
|
var tmp;
|
|
231
231
|
try {
|
|
232
232
|
var tmp$ret$0;
|
|
233
233
|
// Inline function 'kotlin.floorDiv' call
|
|
234
234
|
var tmp0_floorDiv = toLong(get_NANOS_PER_ONE());
|
|
235
|
-
var q = nanosecondAdjustment.
|
|
236
|
-
if (nanosecondAdjustment.
|
|
235
|
+
var q = nanosecondAdjustment.t7(tmp0_floorDiv);
|
|
236
|
+
if (nanosecondAdjustment.l8(tmp0_floorDiv).v(new Long(0, 0)) < 0 ? !q.u7(tmp0_floorDiv).equals(nanosecondAdjustment) : false) {
|
|
237
237
|
var tmp0 = q;
|
|
238
238
|
q = tmp0.jh();
|
|
239
239
|
}
|
|
@@ -242,9 +242,9 @@
|
|
|
242
242
|
var tmp$ret$1;
|
|
243
243
|
// Inline function 'kotlin.mod' call
|
|
244
244
|
var tmp1_mod = toLong(get_NANOS_PER_ONE());
|
|
245
|
-
var r = nanosecondAdjustment.
|
|
246
|
-
tmp$ret$1 = r.
|
|
247
|
-
var nos = tmp$ret$1.
|
|
245
|
+
var r = nanosecondAdjustment.g6(tmp1_mod);
|
|
246
|
+
tmp$ret$1 = r.d6(tmp1_mod.i6(r.l8(tmp1_mod).i6(r.lh(r.j6())).g8(63)));
|
|
247
|
+
var nos = tmp$ret$1.h6();
|
|
248
248
|
tmp = new Instant_0(Instant.ofEpochSecond(secs, nos));
|
|
249
249
|
} catch ($p) {
|
|
250
250
|
var tmp_0;
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
}
|
|
259
259
|
if (tmp_1)
|
|
260
260
|
throw e;
|
|
261
|
-
tmp_0 = epochSeconds.
|
|
261
|
+
tmp_0 = epochSeconds.v(new Long(0, 0)) > 0 ? this.d2o_1 : this.c2o_1;
|
|
262
262
|
} else {
|
|
263
263
|
throw $p;
|
|
264
264
|
}
|
|
@@ -274,28 +274,28 @@
|
|
|
274
274
|
}
|
|
275
275
|
function Instant_0(value) {
|
|
276
276
|
Companion_getInstance_0();
|
|
277
|
-
this.
|
|
277
|
+
this.j2o_1 = value;
|
|
278
278
|
}
|
|
279
|
-
protoOf(Instant_0).
|
|
280
|
-
return numberToLong(this.
|
|
279
|
+
protoOf(Instant_0).k2o = function () {
|
|
280
|
+
return numberToLong(this.j2o_1.epochSecond());
|
|
281
281
|
};
|
|
282
|
-
protoOf(Instant_0).
|
|
283
|
-
return numberToInt(this.
|
|
282
|
+
protoOf(Instant_0).l2o = function () {
|
|
283
|
+
return numberToInt(this.j2o_1.nano());
|
|
284
284
|
};
|
|
285
|
-
protoOf(Instant_0).
|
|
285
|
+
protoOf(Instant_0).m2o = function () {
|
|
286
286
|
var tmp$ret$1;
|
|
287
287
|
// Inline function 'kotlin.Long.plus' call
|
|
288
288
|
var tmp$ret$0;
|
|
289
289
|
// Inline function 'kotlin.Long.times' call
|
|
290
|
-
var tmp0_times = this.
|
|
290
|
+
var tmp0_times = this.k2o();
|
|
291
291
|
var tmp1_times = get_MILLIS_PER_ONE();
|
|
292
|
-
tmp$ret$0 = tmp0_times.
|
|
292
|
+
tmp$ret$0 = tmp0_times.u7(toLong(tmp1_times));
|
|
293
293
|
var tmp2_plus = tmp$ret$0;
|
|
294
|
-
var tmp3_plus = this.
|
|
295
|
-
tmp$ret$1 = tmp2_plus.
|
|
294
|
+
var tmp3_plus = this.l2o() / get_NANOS_PER_MILLI() | 0;
|
|
295
|
+
tmp$ret$1 = tmp2_plus.d6(toLong(tmp3_plus));
|
|
296
296
|
return tmp$ret$1;
|
|
297
297
|
};
|
|
298
|
-
protoOf(Instant_0).
|
|
298
|
+
protoOf(Instant_0).n2o = function (duration) {
|
|
299
299
|
var tmp$ret$0;
|
|
300
300
|
// Inline function 'kotlin.time.Duration.toComponents' call
|
|
301
301
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -303,14 +303,14 @@
|
|
|
303
303
|
var tmp1__anonymous__uwfjfc = _Duration___get_nanosecondsComponent__impl__nh19kq(duration);
|
|
304
304
|
var tmp;
|
|
305
305
|
try {
|
|
306
|
-
tmp = new Instant_0(this.
|
|
306
|
+
tmp = new Instant_0(this.o2o(tmp0__anonymous__q1qw7t.pe(), tmp1__anonymous__uwfjfc));
|
|
307
307
|
} catch ($p) {
|
|
308
308
|
var tmp_0;
|
|
309
309
|
if ($p instanceof Error) {
|
|
310
310
|
var e = $p;
|
|
311
311
|
if (!isJodaDateTimeException(e))
|
|
312
312
|
throw e;
|
|
313
|
-
tmp_0 = tmp0__anonymous__q1qw7t.
|
|
313
|
+
tmp_0 = tmp0__anonymous__q1qw7t.v(new Long(0, 0)) > 0 ? Companion_getInstance_0().d2o_1 : Companion_getInstance_0().c2o_1;
|
|
314
314
|
} else {
|
|
315
315
|
throw $p;
|
|
316
316
|
}
|
|
@@ -319,13 +319,13 @@
|
|
|
319
319
|
return tmp;
|
|
320
320
|
return tmp$ret$0;
|
|
321
321
|
};
|
|
322
|
-
protoOf(Instant_0).
|
|
323
|
-
var newSeconds = numberToDouble(this.
|
|
324
|
-
var newNanos = numberToDouble(this.
|
|
322
|
+
protoOf(Instant_0).o2o = function (seconds, nanos) {
|
|
323
|
+
var newSeconds = numberToDouble(this.j2o_1.epochSecond()) + seconds;
|
|
324
|
+
var newNanos = numberToDouble(this.j2o_1.nano()) + nanos;
|
|
325
325
|
return Instant.ofEpochSecond(newSeconds, newNanos);
|
|
326
326
|
};
|
|
327
|
-
protoOf(Instant_0).
|
|
328
|
-
var diff = Duration.between(other.
|
|
327
|
+
protoOf(Instant_0).p2o = function (other) {
|
|
328
|
+
var diff = Duration.between(other.j2o_1, this.j2o_1);
|
|
329
329
|
var tmp$ret$0;
|
|
330
330
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
331
331
|
var tmp0__get_seconds__yb22lo = Companion_getInstance();
|
|
@@ -339,11 +339,11 @@
|
|
|
339
339
|
tmp$ret$1 = toDuration(tmp3__get_nanoseconds__ba33fn, DurationUnit_NANOSECONDS_getInstance());
|
|
340
340
|
return Duration__plus_impl_yu9v8f(tmp, tmp$ret$1);
|
|
341
341
|
};
|
|
342
|
-
protoOf(Instant_0).
|
|
343
|
-
return numberToInt(this.
|
|
342
|
+
protoOf(Instant_0).q2o = function (other) {
|
|
343
|
+
return numberToInt(this.j2o_1.compareTo(other.j2o_1));
|
|
344
344
|
};
|
|
345
|
-
protoOf(Instant_0).
|
|
346
|
-
return this.
|
|
345
|
+
protoOf(Instant_0).s8 = function (other) {
|
|
346
|
+
return this.q2o(other instanceof Instant_0 ? other : THROW_CCE());
|
|
347
347
|
};
|
|
348
348
|
protoOf(Instant_0).equals = function (other) {
|
|
349
349
|
var tmp;
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
} else {
|
|
353
353
|
var tmp_0;
|
|
354
354
|
if (other instanceof Instant_0) {
|
|
355
|
-
tmp_0 = equals(this.
|
|
355
|
+
tmp_0 = equals(this.j2o_1, other.j2o_1);
|
|
356
356
|
} else {
|
|
357
357
|
tmp_0 = false;
|
|
358
358
|
}
|
|
@@ -361,10 +361,10 @@
|
|
|
361
361
|
return tmp;
|
|
362
362
|
};
|
|
363
363
|
protoOf(Instant_0).hashCode = function () {
|
|
364
|
-
return numberToInt(this.
|
|
364
|
+
return numberToInt(this.j2o_1.hashCode());
|
|
365
365
|
};
|
|
366
366
|
protoOf(Instant_0).toString = function () {
|
|
367
|
-
return this.
|
|
367
|
+
return this.j2o_1.toString();
|
|
368
368
|
};
|
|
369
369
|
function isJodaDateTimeException(_this__u8e3s4) {
|
|
370
370
|
var tmp$ret$0;
|
|
@@ -379,8 +379,8 @@
|
|
|
379
379
|
return tmp$ret$0.name == 'DateTimeParseException';
|
|
380
380
|
}
|
|
381
381
|
function safeAdd(a, b) {
|
|
382
|
-
var sum = a.
|
|
383
|
-
if (a.
|
|
382
|
+
var sum = a.d6(b);
|
|
383
|
+
if (a.l8(sum).v(new Long(0, 0)) < 0 ? a.l8(b).v(new Long(0, 0)) >= 0 : false) {
|
|
384
384
|
throw ArithmeticException_init_$Create$('Addition overflows a long: ' + toString(a) + ' + ' + toString(b));
|
|
385
385
|
}
|
|
386
386
|
return sum;
|
|
@@ -577,13 +577,16 @@ export declare namespace com.debertz.logic.redux.actions.client.from {
|
|
|
577
577
|
}
|
|
578
578
|
export declare namespace com.debertz.logic.redux.actions.client.to {
|
|
579
579
|
class ActionDeliveryPayload {
|
|
580
|
-
constructor(roomId: string,
|
|
580
|
+
constructor(roomId: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType: com.debertz.logic.redux.actions.client.to.ActionDeliveryType);
|
|
581
581
|
get roomId(): string;
|
|
582
|
-
get
|
|
582
|
+
get includePlayers(): Array<string>;
|
|
583
|
+
get excludePlayers(): Array<string>;
|
|
583
584
|
get deliveryType(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
|
|
585
|
+
get excludePlayerOrNull(): Nullable<string>;
|
|
586
|
+
get excludePlayer(): string;
|
|
584
587
|
equals(other: Nullable<any>): boolean;
|
|
585
588
|
hashCode(): number;
|
|
586
|
-
copy(roomId?: string,
|
|
589
|
+
copy(roomId?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
587
590
|
toString(): string;
|
|
588
591
|
static get Companion(): {
|
|
589
592
|
user(roomId: string, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
@@ -595,8 +598,8 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
|
|
|
595
598
|
get name(): "ROOM_ALL";
|
|
596
599
|
get ordinal(): 0;
|
|
597
600
|
};
|
|
598
|
-
static get
|
|
599
|
-
get name(): "
|
|
601
|
+
static get ROOM_EXCEPT_USER(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
602
|
+
get name(): "ROOM_EXCEPT_USER";
|
|
600
603
|
get ordinal(): 1;
|
|
601
604
|
};
|
|
602
605
|
static get USER(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
@@ -605,7 +608,7 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
|
|
|
605
608
|
};
|
|
606
609
|
static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
|
|
607
610
|
static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
|
|
608
|
-
get name(): "ROOM_ALL" | "
|
|
611
|
+
get name(): "ROOM_ALL" | "ROOM_EXCEPT_USER" | "USER";
|
|
609
612
|
get ordinal(): 0 | 1 | 2;
|
|
610
613
|
static get Companion(): {
|
|
611
614
|
serializer(): any/* kotlinx.serialization.KSerializer<com.debertz.logic.redux.actions.client.to.ActionDeliveryType> */;
|
|
@@ -757,7 +760,6 @@ export declare interface ParserHelper {
|
|
|
757
760
|
encodeFromClientEvent(action: com.debertz.logic.redux.actions.client.from.FromClientAction): string;
|
|
758
761
|
decodeFromClientEvent(fromPlayerId: string, json: string): com.debertz.logic.redux.actions.client.from.FromClientAction;
|
|
759
762
|
encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
|
|
760
|
-
decodeToClientEvent(playerId: string, table: com.debertz.logic.data.models.table.DebertzTable, json: string): com.debertz.logic.redux.actions.client.to.ToClientAction;
|
|
761
763
|
decodeToClientEventToMechanicAction(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): com.debertz.logic.redux.actions.mechanic.MechanicAction;
|
|
762
764
|
readonly __doNotUseOrImplementIt: {
|
|
763
765
|
readonly ParserHelper: unique symbol;
|
|
@@ -948,20 +950,14 @@ export declare interface TestHelper {
|
|
|
948
950
|
readonly TestHelper: unique symbol;
|
|
949
951
|
};
|
|
950
952
|
}
|
|
951
|
-
export declare namespace com.logic.plugin.
|
|
952
|
-
interface
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
onMethodCall(controller: com.logic.plugin.utils.events.MethodController): void;
|
|
956
|
-
onListen(eventSink: com.logic.plugin.utils.events.EventController): void;
|
|
957
|
-
onCancel(): void;
|
|
953
|
+
export declare namespace com.logic.plugin.utils.events {
|
|
954
|
+
interface EventSubscriptionCallback {
|
|
955
|
+
onListen(sink: com.logic.plugin.utils.events.EventController, argument?: Nullable<any>): void;
|
|
956
|
+
onCancel(argument?: Nullable<any>): void;
|
|
958
957
|
readonly __doNotUseOrImplementIt: {
|
|
959
|
-
readonly "com.logic.plugin.
|
|
958
|
+
readonly "com.logic.plugin.utils.events.EventSubscriptionCallback": unique symbol;
|
|
960
959
|
};
|
|
961
960
|
}
|
|
962
|
-
function createEngineHandler(debugLoggerOutput?: Nullable<com.logic.utils.logger.outputs.LoggerEnabledTrigger>, releaseLoggerOutput?: Nullable<com.logic.utils.logger.outputs.LoggerEnabledTrigger>, observableLoggerOutput?: Nullable<com.logic.utils.logger.outputs.ObservableLoggerOutput>, showClientErrorLoggerOutput?: Nullable<com.debertz.logic.client.utils.ShowClientErrorLoggerOutput>): com.logic.plugin.handlers.EngineHandler;
|
|
963
|
-
}
|
|
964
|
-
export declare namespace com.logic.plugin.utils.events {
|
|
965
961
|
interface EventController {
|
|
966
962
|
error(error: com.logic.plugin.utils.events.PluginError): void;
|
|
967
963
|
success(data: Nullable<any>): void;
|
|
@@ -984,15 +980,24 @@ export declare namespace com.logic.plugin.utils.events {
|
|
|
984
980
|
}
|
|
985
981
|
}
|
|
986
982
|
export declare namespace com.logic.plugin.utils.events {
|
|
987
|
-
class PluginError {
|
|
988
|
-
constructor(errorCode: string,
|
|
983
|
+
class PluginError /* extends kotlin.Exception */ {
|
|
984
|
+
constructor(errorCode: string, message: Nullable<string>, cause: Nullable<Error>);
|
|
989
985
|
get errorCode(): string;
|
|
990
|
-
get
|
|
991
|
-
|
|
992
|
-
copy(errorCode?: string, errorMessage?: Nullable<string>, errorDetails?: Nullable<any>): com.logic.plugin.utils.events.PluginError;
|
|
986
|
+
get errorDetails(): Nullable<string>;
|
|
987
|
+
copy(errorCode?: string, message?: Nullable<string>, cause?: Nullable<Error>): com.logic.plugin.utils.events.PluginError;
|
|
993
988
|
toString(): string;
|
|
994
989
|
hashCode(): number;
|
|
995
990
|
equals(other: Nullable<any>): boolean;
|
|
996
991
|
}
|
|
997
992
|
}
|
|
993
|
+
export declare interface EnginesControllerWeb {
|
|
994
|
+
attach(): void;
|
|
995
|
+
detach(): void;
|
|
996
|
+
onListenEvents(onSuccess: (p0: Nullable<any>) => void, onError: (p0: Error) => void, onComplete: () => void): void;
|
|
997
|
+
onMethodCall(name: string, arguments: Nullable<any>): Promise<Nullable<any>>;
|
|
998
|
+
readonly __doNotUseOrImplementIt: {
|
|
999
|
+
readonly EnginesControllerWeb: unique symbol;
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
export declare function createEnginesControllerWeb(): EnginesControllerWeb;
|
|
998
1003
|
export as namespace Logic_Debertz_client_plugin;
|