game_client_logic_deb 1.3.71 → 1.3.72
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/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +31 -31
- package/Logic_Debertz-core.js +500 -495
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6338 -6323
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2452 -2508
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
function System() {
|
|
55
55
|
System_instance = this;
|
|
56
56
|
}
|
|
57
|
-
System.prototype.
|
|
58
|
-
return Companion_getInstance().
|
|
57
|
+
System.prototype.r2u = function () {
|
|
58
|
+
return Companion_getInstance().r2u();
|
|
59
59
|
};
|
|
60
60
|
System.$metadata$ = objectMeta('System', [Clock_0]);
|
|
61
61
|
var System_instance;
|
|
@@ -103,19 +103,19 @@
|
|
|
103
103
|
var NANOS_PER_ONE;
|
|
104
104
|
function InstantIso8601Serializer() {
|
|
105
105
|
InstantIso8601Serializer_instance = this;
|
|
106
|
-
this.
|
|
106
|
+
this.w2u_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
107
107
|
}
|
|
108
108
|
InstantIso8601Serializer.prototype.q1i = function () {
|
|
109
|
-
return this.
|
|
109
|
+
return this.w2u_1;
|
|
110
110
|
};
|
|
111
111
|
InstantIso8601Serializer.prototype.s1i = function (decoder) {
|
|
112
|
-
return Companion_getInstance().
|
|
112
|
+
return Companion_getInstance().x2u(decoder.t1l());
|
|
113
113
|
};
|
|
114
|
-
InstantIso8601Serializer.prototype.
|
|
114
|
+
InstantIso8601Serializer.prototype.y2u = function (encoder, value) {
|
|
115
115
|
encoder.b1n(value.toString());
|
|
116
116
|
};
|
|
117
117
|
InstantIso8601Serializer.prototype.r1i = function (encoder, value) {
|
|
118
|
-
return this.
|
|
118
|
+
return this.y2u(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
119
119
|
};
|
|
120
120
|
InstantIso8601Serializer.$metadata$ = objectMeta('InstantIso8601Serializer', [KSerializer]);
|
|
121
121
|
var InstantIso8601Serializer_instance;
|
|
@@ -158,15 +158,15 @@
|
|
|
158
158
|
}
|
|
159
159
|
function Companion() {
|
|
160
160
|
Companion_instance = this;
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
161
|
+
this.s2u_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
|
|
162
|
+
this.t2u_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
|
|
163
|
+
this.u2u_1 = new Instant_0(Instant.MIN);
|
|
164
|
+
this.v2u_1 = new Instant_0(Instant.MAX);
|
|
165
165
|
}
|
|
166
|
-
Companion.prototype.
|
|
166
|
+
Companion.prototype.r2u = function () {
|
|
167
167
|
return new Instant_0(Clock.systemUTC().instant());
|
|
168
168
|
};
|
|
169
|
-
Companion.prototype.
|
|
169
|
+
Companion.prototype.z2u = function (epochMilliseconds) {
|
|
170
170
|
var tmp;
|
|
171
171
|
try {
|
|
172
172
|
var tmp$ret$0;
|
|
@@ -183,13 +183,13 @@
|
|
|
183
183
|
var tmp2_times = tmp$ret$1;
|
|
184
184
|
var tmp3_times = get_NANOS_PER_MILLI();
|
|
185
185
|
tmp$ret$2 = tmp2_times.j7(toLong(tmp3_times));
|
|
186
|
-
tmp = this.
|
|
186
|
+
tmp = this.a2v(tmp_0, tmp$ret$2);
|
|
187
187
|
} catch ($p) {
|
|
188
188
|
var tmp_1;
|
|
189
189
|
if ($p instanceof Error) {
|
|
190
190
|
if (!isJodaDateTimeException($p))
|
|
191
191
|
throw $p;
|
|
192
|
-
tmp_1 = epochMilliseconds.i1(new Long(0, 0)) > 0 ? this.
|
|
192
|
+
tmp_1 = epochMilliseconds.i1(new Long(0, 0)) > 0 ? this.v2u_1 : this.u2u_1;
|
|
193
193
|
} else {
|
|
194
194
|
throw $p;
|
|
195
195
|
}
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
}
|
|
198
198
|
return tmp;
|
|
199
199
|
};
|
|
200
|
-
Companion.prototype.
|
|
200
|
+
Companion.prototype.x2u = function (isoString) {
|
|
201
201
|
var tmp;
|
|
202
202
|
try {
|
|
203
203
|
tmp = new Instant_0(OffsetDateTime.parse(fixOffsetRepresentation(this, isoString)).toInstant());
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
}
|
|
215
215
|
return tmp;
|
|
216
216
|
};
|
|
217
|
-
Companion.prototype.
|
|
217
|
+
Companion.prototype.a2v = function (epochSeconds, nanosecondAdjustment) {
|
|
218
218
|
var tmp;
|
|
219
219
|
try {
|
|
220
220
|
var tmp$ret$0;
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
}
|
|
246
246
|
if (tmp_1)
|
|
247
247
|
throw $p;
|
|
248
|
-
tmp_0 = epochSeconds.i1(new Long(0, 0)) > 0 ? this.
|
|
248
|
+
tmp_0 = epochSeconds.i1(new Long(0, 0)) > 0 ? this.v2u_1 : this.u2u_1;
|
|
249
249
|
} else {
|
|
250
250
|
throw $p;
|
|
251
251
|
}
|
|
@@ -262,32 +262,32 @@
|
|
|
262
262
|
}
|
|
263
263
|
function Instant_0(value) {
|
|
264
264
|
Companion_getInstance();
|
|
265
|
-
this.
|
|
265
|
+
this.b2v_1 = value;
|
|
266
266
|
}
|
|
267
|
-
Instant_0.prototype.b2v = function () {
|
|
268
|
-
return numberToLong(this.a2v_1.epochSecond());
|
|
269
|
-
};
|
|
270
267
|
Instant_0.prototype.c2v = function () {
|
|
271
|
-
return
|
|
268
|
+
return numberToLong(this.b2v_1.epochSecond());
|
|
272
269
|
};
|
|
273
270
|
Instant_0.prototype.d2v = function () {
|
|
271
|
+
return numberToInt(this.b2v_1.nano());
|
|
272
|
+
};
|
|
273
|
+
Instant_0.prototype.e2v = function () {
|
|
274
274
|
var tmp$ret$1;
|
|
275
275
|
// Inline function 'kotlin.Long.plus' call
|
|
276
276
|
var tmp$ret$0;
|
|
277
277
|
// Inline function 'kotlin.Long.times' call
|
|
278
|
-
var tmp0_times = this.
|
|
278
|
+
var tmp0_times = this.c2v();
|
|
279
279
|
var tmp1_times = get_MILLIS_PER_ONE();
|
|
280
280
|
tmp$ret$0 = tmp0_times.j7(toLong(tmp1_times));
|
|
281
281
|
var tmp2_plus = tmp$ret$0;
|
|
282
|
-
var tmp3_plus = this.
|
|
282
|
+
var tmp3_plus = this.d2v() / get_NANOS_PER_MILLI() | 0;
|
|
283
283
|
tmp$ret$1 = tmp2_plus.p5(toLong(tmp3_plus));
|
|
284
284
|
return tmp$ret$1;
|
|
285
285
|
};
|
|
286
|
-
Instant_0.prototype.
|
|
287
|
-
return numberToInt(this.
|
|
286
|
+
Instant_0.prototype.f2v = function (other) {
|
|
287
|
+
return numberToInt(this.b2v_1.compareTo(other.b2v_1));
|
|
288
288
|
};
|
|
289
289
|
Instant_0.prototype.g8 = function (other) {
|
|
290
|
-
return this.
|
|
290
|
+
return this.f2v(other instanceof Instant_0 ? other : THROW_CCE());
|
|
291
291
|
};
|
|
292
292
|
Instant_0.prototype.equals = function (other) {
|
|
293
293
|
var tmp;
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
} else {
|
|
297
297
|
var tmp_0;
|
|
298
298
|
if (other instanceof Instant_0) {
|
|
299
|
-
tmp_0 = equals(this.
|
|
299
|
+
tmp_0 = equals(this.b2v_1, other.b2v_1);
|
|
300
300
|
} else {
|
|
301
301
|
tmp_0 = false;
|
|
302
302
|
}
|
|
@@ -305,10 +305,10 @@
|
|
|
305
305
|
return tmp;
|
|
306
306
|
};
|
|
307
307
|
Instant_0.prototype.hashCode = function () {
|
|
308
|
-
return numberToInt(this.
|
|
308
|
+
return numberToInt(this.b2v_1.hashCode());
|
|
309
309
|
};
|
|
310
310
|
Instant_0.prototype.toString = function () {
|
|
311
|
-
return this.
|
|
311
|
+
return this.b2v_1.toString();
|
|
312
312
|
};
|
|
313
313
|
Instant_0.$metadata$ = classMeta('Instant', [Comparable], undefined, {0: InstantIso8601Serializer_getInstance});
|
|
314
314
|
function isJodaDateTimeException(_this__u8e3s4) {
|