client_plugin_logic_deb 1.4.91 → 1.4.92
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 +8 -8
- package/Kodein-kodein-di.js +552 -552
- package/Kodein-kodein-di.js.map +1 -1
- package/KosiTypeSystem-kaverit.js +70 -70
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +70 -70
- package/Logic_Debertz-client_plugin.d.ts +97 -0
- package/Logic_Debertz-client_plugin.js +15249 -40
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2621 -1618
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12227 -10655
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +24257 -6990
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +682 -682
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +549 -431
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1829 -1829
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1326 -1326
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1825 -1349
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +28 -28
|
@@ -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.$_$.
|
|
25
|
+
var protoOf = kotlin_kotlin.$_$.ia;
|
|
26
|
+
var objectMeta = kotlin_kotlin.$_$.ha;
|
|
27
|
+
var VOID = kotlin_kotlin.$_$.ee;
|
|
28
|
+
var setMetadataFor = kotlin_kotlin.$_$.ja;
|
|
29
29
|
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.h1;
|
|
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.$_$.
|
|
30
|
+
var objectCreate = kotlin_kotlin.$_$.ga;
|
|
31
|
+
var captureStack = kotlin_kotlin.$_$.a9;
|
|
32
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.sc;
|
|
33
|
+
var classMeta = kotlin_kotlin.$_$.f9;
|
|
34
|
+
var Long = kotlin_kotlin.$_$.uc;
|
|
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.$_$.ad;
|
|
38
38
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
39
39
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.d2;
|
|
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.$_$.
|
|
40
|
+
var indexOf = kotlin_kotlin.$_$.ib;
|
|
41
|
+
var charSequenceLength = kotlin_kotlin.$_$.d9;
|
|
42
|
+
var charSequenceGet = kotlin_kotlin.$_$.c9;
|
|
43
|
+
var Char = kotlin_kotlin.$_$.kc;
|
|
44
|
+
var equals = kotlin_kotlin.$_$.i9;
|
|
45
45
|
var Unit_getInstance = kotlin_kotlin.$_$.q4;
|
|
46
|
-
var toLong = kotlin_kotlin.$_$.
|
|
47
|
-
var ArithmeticException = kotlin_kotlin.$_$.
|
|
48
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
49
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
46
|
+
var toLong = kotlin_kotlin.$_$.la;
|
|
47
|
+
var ArithmeticException = kotlin_kotlin.$_$.jc;
|
|
48
|
+
var numberToLong = kotlin_kotlin.$_$.fa;
|
|
49
|
+
var numberToInt = kotlin_kotlin.$_$.ea;
|
|
50
50
|
var _Duration___get_inWholeSeconds__impl__hpy7b3 = kotlin_kotlin.$_$.z1;
|
|
51
51
|
var _Duration___get_nanosecondsComponent__impl__nh19kq = kotlin_kotlin.$_$.a2;
|
|
52
|
-
var numberToDouble = kotlin_kotlin.$_$.
|
|
52
|
+
var numberToDouble = kotlin_kotlin.$_$.da;
|
|
53
53
|
var Companion_getInstance = kotlin_kotlin.$_$.i4;
|
|
54
54
|
var DurationUnit_SECONDS_getInstance = kotlin_kotlin.$_$.h;
|
|
55
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
55
|
+
var toDuration = kotlin_kotlin.$_$.gc;
|
|
56
56
|
var DurationUnit_NANOSECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
57
57
|
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.b2;
|
|
58
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
59
|
-
var toString = kotlin_kotlin.$_$.
|
|
58
|
+
var Comparable = kotlin_kotlin.$_$.lc;
|
|
59
|
+
var toString = kotlin_kotlin.$_$.na;
|
|
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).l2g = function () {
|
|
73
|
+
return Companion_getInstance_0().l2g();
|
|
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().q2g(_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.r2g_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
120
120
|
}
|
|
121
|
-
protoOf(InstantIso8601Serializer).
|
|
122
|
-
return this.
|
|
121
|
+
protoOf(InstantIso8601Serializer).g1e = function () {
|
|
122
|
+
return this.r2g_1;
|
|
123
123
|
};
|
|
124
|
-
protoOf(InstantIso8601Serializer).
|
|
125
|
-
return Companion_getInstance_0().
|
|
124
|
+
protoOf(InstantIso8601Serializer).i1e = function (decoder) {
|
|
125
|
+
return Companion_getInstance_0().q2g(decoder.i1h());
|
|
126
126
|
};
|
|
127
|
-
protoOf(InstantIso8601Serializer).
|
|
128
|
-
encoder.
|
|
127
|
+
protoOf(InstantIso8601Serializer).s2g = function (encoder, value) {
|
|
128
|
+
encoder.r1i(value.toString());
|
|
129
129
|
};
|
|
130
|
-
protoOf(InstantIso8601Serializer).
|
|
131
|
-
return this.
|
|
130
|
+
protoOf(InstantIso8601Serializer).h1e = function (encoder, value) {
|
|
131
|
+
return this.s2g(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
132
132
|
};
|
|
133
133
|
var InstantIso8601Serializer_instance;
|
|
134
134
|
function InstantIso8601Serializer_getInstance() {
|
|
@@ -168,15 +168,15 @@
|
|
|
168
168
|
}
|
|
169
169
|
function Companion() {
|
|
170
170
|
Companion_instance = this;
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
171
|
+
this.m2g_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
|
|
172
|
+
this.n2g_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
|
|
173
|
+
this.o2g_1 = new Instant_0(Instant.MIN);
|
|
174
|
+
this.p2g_1 = new Instant_0(Instant.MAX);
|
|
175
175
|
}
|
|
176
|
-
protoOf(Companion).
|
|
176
|
+
protoOf(Companion).l2g = function () {
|
|
177
177
|
return new Instant_0(Clock.systemUTC().instant());
|
|
178
178
|
};
|
|
179
|
-
protoOf(Companion).
|
|
179
|
+
protoOf(Companion).t2g = function (epochMilliseconds) {
|
|
180
180
|
var tmp;
|
|
181
181
|
try {
|
|
182
182
|
var tmp$ret$0;
|
|
@@ -193,14 +193,14 @@
|
|
|
193
193
|
var tmp2_times = tmp$ret$1;
|
|
194
194
|
var tmp3_times = get_NANOS_PER_MILLI();
|
|
195
195
|
tmp$ret$2 = tmp2_times.s7(toLong(tmp3_times));
|
|
196
|
-
tmp = this.
|
|
196
|
+
tmp = this.u2g(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.x(new Long(0, 0)) > 0 ? this.p2g_1 : this.o2g_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).q2g = 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).u2g = 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
235
|
var q = nanosecondAdjustment.r7(tmp0_floorDiv);
|
|
236
|
-
if (nanosecondAdjustment.j8(tmp0_floorDiv).
|
|
236
|
+
if (nanosecondAdjustment.j8(tmp0_floorDiv).x(new Long(0, 0)) < 0 ? !q.s7(tmp0_floorDiv).equals(nanosecondAdjustment) : false) {
|
|
237
237
|
var tmp0 = q;
|
|
238
238
|
q = tmp0.jh();
|
|
239
239
|
}
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
}
|
|
259
259
|
if (tmp_1)
|
|
260
260
|
throw e;
|
|
261
|
-
tmp_0 = epochSeconds.
|
|
261
|
+
tmp_0 = epochSeconds.x(new Long(0, 0)) > 0 ? this.p2g_1 : this.o2g_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.v2g_1 = value;
|
|
278
278
|
}
|
|
279
|
-
protoOf(Instant_0).
|
|
280
|
-
return numberToLong(this.
|
|
279
|
+
protoOf(Instant_0).w2g = function () {
|
|
280
|
+
return numberToLong(this.v2g_1.epochSecond());
|
|
281
281
|
};
|
|
282
|
-
protoOf(Instant_0).
|
|
283
|
-
return numberToInt(this.
|
|
282
|
+
protoOf(Instant_0).x2g = function () {
|
|
283
|
+
return numberToInt(this.v2g_1.nano());
|
|
284
284
|
};
|
|
285
|
-
protoOf(Instant_0).
|
|
285
|
+
protoOf(Instant_0).y2g = 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.w2g();
|
|
291
291
|
var tmp1_times = get_MILLIS_PER_ONE();
|
|
292
292
|
tmp$ret$0 = tmp0_times.s7(toLong(tmp1_times));
|
|
293
293
|
var tmp2_plus = tmp$ret$0;
|
|
294
|
-
var tmp3_plus = this.
|
|
294
|
+
var tmp3_plus = this.x2g() / get_NANOS_PER_MILLI() | 0;
|
|
295
295
|
tmp$ret$1 = tmp2_plus.b6(toLong(tmp3_plus));
|
|
296
296
|
return tmp$ret$1;
|
|
297
297
|
};
|
|
298
|
-
protoOf(Instant_0).
|
|
298
|
+
protoOf(Instant_0).z2g = 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.a2h(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.x(new Long(0, 0)) > 0 ? Companion_getInstance_0().p2g_1 : Companion_getInstance_0().o2g_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).a2h = function (seconds, nanos) {
|
|
323
|
+
var newSeconds = numberToDouble(this.v2g_1.epochSecond()) + seconds;
|
|
324
|
+
var newNanos = numberToDouble(this.v2g_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).b2h = function (other) {
|
|
328
|
+
var diff = Duration.between(other.v2g_1, this.v2g_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).c2h = function (other) {
|
|
343
|
+
return numberToInt(this.v2g_1.compareTo(other.v2g_1));
|
|
344
344
|
};
|
|
345
345
|
protoOf(Instant_0).q8 = function (other) {
|
|
346
|
-
return this.
|
|
346
|
+
return this.c2h(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.v2g_1, other.v2g_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.v2g_1.hashCode());
|
|
365
365
|
};
|
|
366
366
|
protoOf(Instant_0).toString = function () {
|
|
367
|
-
return this.
|
|
367
|
+
return this.v2g_1.toString();
|
|
368
368
|
};
|
|
369
369
|
function isJodaDateTimeException(_this__u8e3s4) {
|
|
370
370
|
var tmp$ret$0;
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
}
|
|
381
381
|
function safeAdd(a, b) {
|
|
382
382
|
var sum = a.b6(b);
|
|
383
|
-
if (a.j8(sum).
|
|
383
|
+
if (a.j8(sum).x(new Long(0, 0)) < 0 ? a.j8(b).x(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;
|
|
@@ -194,6 +194,16 @@ export declare namespace com.logic.redux.actions.validation {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
+
export declare namespace com.logic.utils.logger.game {
|
|
198
|
+
interface GameLogger extends com.logic.utils.logger.outputs.LoggerOutput {
|
|
199
|
+
d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
200
|
+
e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
|
|
201
|
+
w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
202
|
+
readonly __doNotUseOrImplementIt: {
|
|
203
|
+
readonly "com.logic.utils.logger.game.GameLogger": unique symbol;
|
|
204
|
+
} & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
|
|
205
|
+
}
|
|
206
|
+
}
|
|
197
207
|
export declare namespace com.logic.utils.logger.game {
|
|
198
208
|
interface LoggerPayload {
|
|
199
209
|
readonly __doNotUseOrImplementIt: {
|
|
@@ -201,6 +211,80 @@ export declare namespace com.logic.utils.logger.game {
|
|
|
201
211
|
};
|
|
202
212
|
}
|
|
203
213
|
}
|
|
214
|
+
export declare namespace com.logic.utils.logger.outputs {
|
|
215
|
+
abstract class LogType {
|
|
216
|
+
private constructor();
|
|
217
|
+
static get DEBUG(): com.logic.utils.logger.outputs.LogType & {
|
|
218
|
+
get name(): "DEBUG";
|
|
219
|
+
get ordinal(): 0;
|
|
220
|
+
};
|
|
221
|
+
static get ERROR(): com.logic.utils.logger.outputs.LogType & {
|
|
222
|
+
get name(): "ERROR";
|
|
223
|
+
get ordinal(): 1;
|
|
224
|
+
};
|
|
225
|
+
static get WARN(): com.logic.utils.logger.outputs.LogType & {
|
|
226
|
+
get name(): "WARN";
|
|
227
|
+
get ordinal(): 2;
|
|
228
|
+
};
|
|
229
|
+
static values(): Array<com.logic.utils.logger.outputs.LogType>;
|
|
230
|
+
static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
|
|
231
|
+
get name(): "DEBUG" | "ERROR" | "WARN";
|
|
232
|
+
get ordinal(): 0 | 1 | 2;
|
|
233
|
+
static get Companion(): {
|
|
234
|
+
serializer(): any/* kotlinx.serialization.KSerializer<com.logic.utils.logger.outputs.LogType> */;
|
|
235
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
export declare namespace com.logic.utils.logger.outputs {
|
|
239
|
+
interface LoggerEnabledTrigger extends com.logic.utils.logger.game.GameLogger {
|
|
240
|
+
enabled: boolean;
|
|
241
|
+
d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
242
|
+
e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
|
|
243
|
+
w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
244
|
+
readonly __doNotUseOrImplementIt: {
|
|
245
|
+
readonly "com.logic.utils.logger.outputs.LoggerEnabledTrigger": unique symbol;
|
|
246
|
+
} & com.logic.utils.logger.game.GameLogger["__doNotUseOrImplementIt"];
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
export declare namespace com.logic.utils.logger.outputs {
|
|
250
|
+
interface LoggerOutput {
|
|
251
|
+
d(tag?: Nullable<string>, message: string, payload?: Nullable<any>): void;
|
|
252
|
+
e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
|
|
253
|
+
w(tag?: Nullable<string>, message: string, payload?: Nullable<any>): void;
|
|
254
|
+
readonly __doNotUseOrImplementIt: {
|
|
255
|
+
readonly "com.logic.utils.logger.outputs.LoggerOutput": unique symbol;
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
export declare namespace com.logic.utils.logger.outputs {
|
|
260
|
+
interface ObservableLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput, com.logic.utils.logger.outputs.LoggerEnabledTrigger {
|
|
261
|
+
observe(types?: Array<com.logic.utils.logger.outputs.LogType>): any/* kotlinx.coroutines.flow.Flow<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
|
|
262
|
+
d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
263
|
+
e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
|
|
264
|
+
w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
265
|
+
enabled: boolean;
|
|
266
|
+
readonly __doNotUseOrImplementIt: {
|
|
267
|
+
readonly "com.logic.utils.logger.outputs.ObservableLoggerOutput": unique symbol;
|
|
268
|
+
} & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"] & com.logic.utils.logger.outputs.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
|
|
269
|
+
}
|
|
270
|
+
class LoggerOutputDataDto {
|
|
271
|
+
constructor(type: com.logic.utils.logger.outputs.LogType, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>);
|
|
272
|
+
get type(): com.logic.utils.logger.outputs.LogType;
|
|
273
|
+
get tag(): Nullable<string>;
|
|
274
|
+
get message(): Nullable<string>;
|
|
275
|
+
get stackTrace(): Nullable<string>;
|
|
276
|
+
copy(type?: com.logic.utils.logger.outputs.LogType, tag?: Nullable<string>, message?: Nullable<string>, stackTrace?: Nullable<string>): com.logic.utils.logger.outputs.LoggerOutputDataDto;
|
|
277
|
+
toString(): string;
|
|
278
|
+
hashCode(): number;
|
|
279
|
+
equals(other: Nullable<any>): boolean;
|
|
280
|
+
static LoggerOutputDataDto_init_$Create$(seen1: number, type: Nullable<com.logic.utils.logger.outputs.LogType>, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): com.logic.utils.logger.outputs.LoggerOutputDataDto;
|
|
281
|
+
static get Companion(): {
|
|
282
|
+
serializer(): any/* kotlinx.serialization.KSerializer<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
|
|
283
|
+
};
|
|
284
|
+
static get $serializer(): {
|
|
285
|
+
} & any/* kotlinx.serialization.internal.GeneratedSerializer<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
204
288
|
export declare namespace com.debertz.logic {
|
|
205
289
|
interface GameStoreContract {
|
|
206
290
|
readonly id: string;
|
|
@@ -772,6 +856,18 @@ export declare namespace com.debertz.logic.client.redux.state {
|
|
|
772
856
|
equals(other: Nullable<any>): boolean;
|
|
773
857
|
}
|
|
774
858
|
}
|
|
859
|
+
export declare namespace com.debertz.logic.client.utils {
|
|
860
|
+
interface ShowClientErrorLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput {
|
|
861
|
+
skipWarnings: boolean;
|
|
862
|
+
gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
|
|
863
|
+
d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
864
|
+
e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
|
|
865
|
+
w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
866
|
+
readonly __doNotUseOrImplementIt: {
|
|
867
|
+
readonly "com.debertz.logic.client.utils.ShowClientErrorLoggerOutput": unique symbol;
|
|
868
|
+
} & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
|
|
869
|
+
}
|
|
870
|
+
}
|
|
775
871
|
export declare interface GameClientEngineController {
|
|
776
872
|
readonly parser: ParserHelper;
|
|
777
873
|
setEnableLogger(enabled: boolean): void;
|
|
@@ -863,6 +959,7 @@ export declare namespace com.logic.plugin.handlers {
|
|
|
863
959
|
readonly "com.logic.plugin.handlers.EngineHandler": unique symbol;
|
|
864
960
|
};
|
|
865
961
|
}
|
|
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;
|
|
866
963
|
}
|
|
867
964
|
export declare namespace com.logic.plugin.utils.events {
|
|
868
965
|
interface EventController {
|