client_plugin_logic_deb 1.8.414 → 1.8.416
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/Logic_Debertz-ai_module.js +214 -412
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +92 -5
- package/Logic_Debertz-client_plugin.js +2016 -2016
- package/Logic_Debertz-core.js +112 -87
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14745 -14283
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6628 -6628
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1388 -1107
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
428
428
|
//endregion
|
|
429
429
|
function GameEngineConfig() {
|
|
430
|
-
this.version = '1.8.
|
|
430
|
+
this.version = '1.8.416';
|
|
431
431
|
}
|
|
432
432
|
protoOf(GameEngineConfig).g3z = function () {
|
|
433
433
|
return this.version;
|
|
@@ -1947,14 +1947,35 @@
|
|
|
1947
1947
|
}
|
|
1948
1948
|
return tmp;
|
|
1949
1949
|
};
|
|
1950
|
+
protoOf(PlayerConnectionState).a6h = function () {
|
|
1951
|
+
var tmp;
|
|
1952
|
+
switch (this.q2_1) {
|
|
1953
|
+
case 5:
|
|
1954
|
+
tmp = false;
|
|
1955
|
+
break;
|
|
1956
|
+
case 2:
|
|
1957
|
+
case 3:
|
|
1958
|
+
case 4:
|
|
1959
|
+
case 7:
|
|
1960
|
+
case 0:
|
|
1961
|
+
case 6:
|
|
1962
|
+
case 1:
|
|
1963
|
+
tmp = true;
|
|
1964
|
+
break;
|
|
1965
|
+
default:
|
|
1966
|
+
noWhenBranchMatchedException();
|
|
1967
|
+
break;
|
|
1968
|
+
}
|
|
1969
|
+
return tmp;
|
|
1970
|
+
};
|
|
1950
1971
|
function mapToFinishReason(_this__u8e3s4, player, players) {
|
|
1951
1972
|
var tmp;
|
|
1952
1973
|
switch (_this__u8e3s4.q2_1) {
|
|
1953
1974
|
case 3:
|
|
1954
|
-
tmp = new PlayerLostConnectionReason(player.playerId, player.h6f().
|
|
1975
|
+
tmp = new PlayerLostConnectionReason(player.playerId, player.h6f().b6h());
|
|
1955
1976
|
break;
|
|
1956
1977
|
case 2:
|
|
1957
|
-
tmp = new PlayerTimeoutReason(player.playerId, player.h6f().
|
|
1978
|
+
tmp = new PlayerTimeoutReason(player.playerId, player.h6f().b6h());
|
|
1958
1979
|
break;
|
|
1959
1980
|
case 4:
|
|
1960
1981
|
case 5:
|
|
@@ -2032,7 +2053,7 @@
|
|
|
2032
2053
|
return PlayerConnectionState_DELETED_instance;
|
|
2033
2054
|
}
|
|
2034
2055
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
2035
|
-
return $this.
|
|
2056
|
+
return $this.c6h_1.x();
|
|
2036
2057
|
}
|
|
2037
2058
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
2038
2059
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_3());
|
|
@@ -2047,7 +2068,7 @@
|
|
|
2047
2068
|
Companion_instance_10 = this;
|
|
2048
2069
|
var tmp = this;
|
|
2049
2070
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2050
|
-
tmp.
|
|
2071
|
+
tmp.c6h_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
2051
2072
|
}
|
|
2052
2073
|
protoOf(Companion_8).q4t = function () {
|
|
2053
2074
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
@@ -2076,27 +2097,27 @@
|
|
|
2076
2097
|
Enum.call(this, name, ordinal);
|
|
2077
2098
|
}
|
|
2078
2099
|
protoOf(PlayerWaitingState).u6f = function () {
|
|
2079
|
-
return this.
|
|
2100
|
+
return this.f6h() || this.g6h();
|
|
2080
2101
|
};
|
|
2081
|
-
protoOf(PlayerWaitingState).
|
|
2102
|
+
protoOf(PlayerWaitingState).f6h = function () {
|
|
2082
2103
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
2083
2104
|
};
|
|
2084
|
-
protoOf(PlayerWaitingState).
|
|
2105
|
+
protoOf(PlayerWaitingState).g6h = function () {
|
|
2085
2106
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
2086
2107
|
};
|
|
2087
2108
|
function Companion_9() {
|
|
2088
2109
|
}
|
|
2089
|
-
protoOf(Companion_9).
|
|
2110
|
+
protoOf(Companion_9).h6h = function (connection) {
|
|
2090
2111
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
2091
2112
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
2092
2113
|
};
|
|
2093
|
-
protoOf(Companion_9).
|
|
2094
|
-
return _this__u8e3s4.
|
|
2114
|
+
protoOf(Companion_9).i6h = function (_this__u8e3s4) {
|
|
2115
|
+
return _this__u8e3s4.j6h(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
2095
2116
|
};
|
|
2096
|
-
protoOf(Companion_9).
|
|
2117
|
+
protoOf(Companion_9).k6h = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
2097
2118
|
var tmp0_startFromTime = System_instance.ck();
|
|
2098
2119
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
2099
|
-
return _this__u8e3s4.
|
|
2120
|
+
return _this__u8e3s4.j6h(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
2100
2121
|
};
|
|
2101
2122
|
var Companion_instance_11;
|
|
2102
2123
|
function Companion_getInstance_12() {
|
|
@@ -2125,7 +2146,7 @@
|
|
|
2125
2146
|
this.s6f_1 = tag;
|
|
2126
2147
|
this.t6f_1 = connection;
|
|
2127
2148
|
}
|
|
2128
|
-
protoOf(PlayerState).
|
|
2149
|
+
protoOf(PlayerState).l6h = function () {
|
|
2129
2150
|
// Inline function 'kotlin.requireNotNull' call
|
|
2130
2151
|
var tmp0 = this.t6f_1;
|
|
2131
2152
|
var tmp$ret$1;
|
|
@@ -2141,7 +2162,7 @@
|
|
|
2141
2162
|
}
|
|
2142
2163
|
return tmp$ret$1;
|
|
2143
2164
|
};
|
|
2144
|
-
protoOf(PlayerState).
|
|
2165
|
+
protoOf(PlayerState).m6h = function () {
|
|
2145
2166
|
// Inline function 'kotlin.requireNotNull' call
|
|
2146
2167
|
var tmp0 = this.s6f_1;
|
|
2147
2168
|
var tmp$ret$1;
|
|
@@ -2157,7 +2178,7 @@
|
|
|
2157
2178
|
}
|
|
2158
2179
|
return tmp$ret$1;
|
|
2159
2180
|
};
|
|
2160
|
-
protoOf(PlayerState).
|
|
2181
|
+
protoOf(PlayerState).b6h = function () {
|
|
2161
2182
|
var tmp0_elvis_lhs = this.s6f_1;
|
|
2162
2183
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2163
2184
|
};
|
|
@@ -2222,10 +2243,10 @@
|
|
|
2222
2243
|
protoOf(PlayerState).u6f = function () {
|
|
2223
2244
|
return this.q6f_1.u6f();
|
|
2224
2245
|
};
|
|
2225
|
-
protoOf(PlayerState).
|
|
2246
|
+
protoOf(PlayerState).n6h = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2226
2247
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2227
2248
|
};
|
|
2228
|
-
protoOf(PlayerState).
|
|
2249
|
+
protoOf(PlayerState).j6h = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
2229
2250
|
startFromTime = startFromTime === VOID ? this.n6f_1 : startFromTime;
|
|
2230
2251
|
playerTurnTimeout = playerTurnTimeout === VOID ? this.o6f_1 : playerTurnTimeout;
|
|
2231
2252
|
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.p6f_1 : waitPlayerUntilTime;
|
|
@@ -2233,7 +2254,7 @@
|
|
|
2233
2254
|
ready = ready === VOID ? this.r6f_1 : ready;
|
|
2234
2255
|
tag = tag === VOID ? this.s6f_1 : tag;
|
|
2235
2256
|
connection = connection === VOID ? this.t6f_1 : connection;
|
|
2236
|
-
return $super === VOID ? this.
|
|
2257
|
+
return $super === VOID ? this.n6h(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.n6h.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2237
2258
|
};
|
|
2238
2259
|
protoOf(PlayerState).hashCode = function () {
|
|
2239
2260
|
var result = this.n6f_1 == null ? 0 : this.n6f_1.hashCode();
|
|
@@ -2268,7 +2289,7 @@
|
|
|
2268
2289
|
};
|
|
2269
2290
|
function getProgress(_this__u8e3s4, playerTurnTimeout, logger) {
|
|
2270
2291
|
var tmp;
|
|
2271
|
-
if (_this__u8e3s4.
|
|
2292
|
+
if (_this__u8e3s4.f6h() || _this__u8e3s4.g6h()) {
|
|
2272
2293
|
var tmp_0;
|
|
2273
2294
|
if (playerTurnTimeout == null) {
|
|
2274
2295
|
tmp_0 = Companion_getInstance().dk_1;
|
|
@@ -2289,13 +2310,13 @@
|
|
|
2289
2310
|
function Team(playerIds) {
|
|
2290
2311
|
this.playerIds = playerIds;
|
|
2291
2312
|
}
|
|
2292
|
-
protoOf(Team).
|
|
2313
|
+
protoOf(Team).o6h = function () {
|
|
2293
2314
|
return this.playerIds;
|
|
2294
2315
|
};
|
|
2295
2316
|
protoOf(Team).containsPlayer = function (playerId) {
|
|
2296
2317
|
return this.playerIds.u1(playerId);
|
|
2297
2318
|
};
|
|
2298
|
-
protoOf(Team).
|
|
2319
|
+
protoOf(Team).p6h = function () {
|
|
2299
2320
|
return this.playerIds.p(0);
|
|
2300
2321
|
};
|
|
2301
2322
|
protoOf(Team).n61 = function () {
|
|
@@ -2304,12 +2325,12 @@
|
|
|
2304
2325
|
protoOf(Team).oe = function () {
|
|
2305
2326
|
return this.playerIds;
|
|
2306
2327
|
};
|
|
2307
|
-
protoOf(Team).
|
|
2328
|
+
protoOf(Team).q6h = function (playerIds) {
|
|
2308
2329
|
return new Team(playerIds);
|
|
2309
2330
|
};
|
|
2310
2331
|
protoOf(Team).copy = function (playerIds, $super) {
|
|
2311
2332
|
playerIds = playerIds === VOID ? this.playerIds : playerIds;
|
|
2312
|
-
return $super === VOID ? this.
|
|
2333
|
+
return $super === VOID ? this.q6h(playerIds) : $super.q6h.call(this, playerIds);
|
|
2313
2334
|
};
|
|
2314
2335
|
protoOf(Team).toString = function () {
|
|
2315
2336
|
return 'Team(playerIds=' + toString_0(this.playerIds) + ')';
|
|
@@ -2339,30 +2360,30 @@
|
|
|
2339
2360
|
tmp0_serialDesc.gz('deleteFilesOnClear', true);
|
|
2340
2361
|
tmp0_serialDesc.gz('logsDirectoryPath', true);
|
|
2341
2362
|
tmp0_serialDesc.gz('fileNameFormat', true);
|
|
2342
|
-
this.
|
|
2363
|
+
this.r6h_1 = tmp0_serialDesc;
|
|
2343
2364
|
}
|
|
2344
|
-
protoOf($serializer_1).
|
|
2345
|
-
var tmp0_desc = this.
|
|
2365
|
+
protoOf($serializer_1).s6h = function (encoder, value) {
|
|
2366
|
+
var tmp0_desc = this.r6h_1;
|
|
2346
2367
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
2347
|
-
if (tmp1_output.lt(tmp0_desc, 0) ? true : !(value.
|
|
2348
|
-
tmp1_output.vs(tmp0_desc, 0, value.
|
|
2368
|
+
if (tmp1_output.lt(tmp0_desc, 0) ? true : !(value.t6h_1 === false)) {
|
|
2369
|
+
tmp1_output.vs(tmp0_desc, 0, value.t6h_1);
|
|
2349
2370
|
}
|
|
2350
|
-
if (tmp1_output.lt(tmp0_desc, 1) ? true : !(value.
|
|
2351
|
-
tmp1_output.vs(tmp0_desc, 1, value.
|
|
2371
|
+
if (tmp1_output.lt(tmp0_desc, 1) ? true : !(value.u6h_1 === false)) {
|
|
2372
|
+
tmp1_output.vs(tmp0_desc, 1, value.u6h_1);
|
|
2352
2373
|
}
|
|
2353
|
-
if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.
|
|
2354
|
-
tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2374
|
+
if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.v6h_1 == null)) {
|
|
2375
|
+
tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.v6h_1);
|
|
2355
2376
|
}
|
|
2356
|
-
if (tmp1_output.lt(tmp0_desc, 3) ? true : !(value.
|
|
2357
|
-
tmp1_output.dt(tmp0_desc, 3, value.
|
|
2377
|
+
if (tmp1_output.lt(tmp0_desc, 3) ? true : !(value.w6h_1 === '%S_logs.txt')) {
|
|
2378
|
+
tmp1_output.dt(tmp0_desc, 3, value.w6h_1);
|
|
2358
2379
|
}
|
|
2359
2380
|
tmp1_output.pr(tmp0_desc);
|
|
2360
2381
|
};
|
|
2361
2382
|
protoOf($serializer_1).co = function (encoder, value) {
|
|
2362
|
-
return this.
|
|
2383
|
+
return this.s6h(encoder, value instanceof CoreConfigDto ? value : THROW_CCE());
|
|
2363
2384
|
};
|
|
2364
2385
|
protoOf($serializer_1).do = function (decoder) {
|
|
2365
|
-
var tmp0_desc = this.
|
|
2386
|
+
var tmp0_desc = this.r6h_1;
|
|
2366
2387
|
var tmp1_flag = true;
|
|
2367
2388
|
var tmp2_index = 0;
|
|
2368
2389
|
var tmp3_bitMask0 = 0;
|
|
@@ -2411,7 +2432,7 @@
|
|
|
2411
2432
|
return CoreConfigDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2412
2433
|
};
|
|
2413
2434
|
protoOf($serializer_1).bo = function () {
|
|
2414
|
-
return this.
|
|
2435
|
+
return this.r6h_1;
|
|
2415
2436
|
};
|
|
2416
2437
|
protoOf($serializer_1).vz = function () {
|
|
2417
2438
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2427,24 +2448,24 @@
|
|
|
2427
2448
|
}
|
|
2428
2449
|
function CoreConfigDto_init_$Init$(seen0, fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, serializationConstructorMarker, $this) {
|
|
2429
2450
|
if (!(0 === (0 & seen0))) {
|
|
2430
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_1().
|
|
2451
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_1().r6h_1);
|
|
2431
2452
|
}
|
|
2432
2453
|
if (0 === (seen0 & 1))
|
|
2433
|
-
$this.
|
|
2454
|
+
$this.t6h_1 = false;
|
|
2434
2455
|
else
|
|
2435
|
-
$this.
|
|
2456
|
+
$this.t6h_1 = fileLogsEnabled;
|
|
2436
2457
|
if (0 === (seen0 & 2))
|
|
2437
|
-
$this.
|
|
2458
|
+
$this.u6h_1 = false;
|
|
2438
2459
|
else
|
|
2439
|
-
$this.
|
|
2460
|
+
$this.u6h_1 = deleteFilesOnClear;
|
|
2440
2461
|
if (0 === (seen0 & 4))
|
|
2441
|
-
$this.
|
|
2462
|
+
$this.v6h_1 = null;
|
|
2442
2463
|
else
|
|
2443
|
-
$this.
|
|
2464
|
+
$this.v6h_1 = logsDirectoryPath;
|
|
2444
2465
|
if (0 === (seen0 & 8))
|
|
2445
|
-
$this.
|
|
2466
|
+
$this.w6h_1 = '%S_logs.txt';
|
|
2446
2467
|
else
|
|
2447
|
-
$this.
|
|
2468
|
+
$this.w6h_1 = fileNameFormat;
|
|
2448
2469
|
return $this;
|
|
2449
2470
|
}
|
|
2450
2471
|
function CoreConfigDto_init_$Create$(seen0, fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, serializationConstructorMarker) {
|
|
@@ -2455,19 +2476,19 @@
|
|
|
2455
2476
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? false : deleteFilesOnClear;
|
|
2456
2477
|
logsDirectoryPath = logsDirectoryPath === VOID ? null : logsDirectoryPath;
|
|
2457
2478
|
fileNameFormat = fileNameFormat === VOID ? '%S_logs.txt' : fileNameFormat;
|
|
2458
|
-
this.
|
|
2459
|
-
this.
|
|
2460
|
-
this.
|
|
2461
|
-
this.
|
|
2479
|
+
this.t6h_1 = fileLogsEnabled;
|
|
2480
|
+
this.u6h_1 = deleteFilesOnClear;
|
|
2481
|
+
this.v6h_1 = logsDirectoryPath;
|
|
2482
|
+
this.w6h_1 = fileNameFormat;
|
|
2462
2483
|
}
|
|
2463
2484
|
protoOf(CoreConfigDto).toString = function () {
|
|
2464
|
-
return 'CoreConfigDto(fileLogsEnabled=' + this.
|
|
2485
|
+
return 'CoreConfigDto(fileLogsEnabled=' + this.t6h_1 + ', deleteFilesOnClear=' + this.u6h_1 + ', logsDirectoryPath=' + this.v6h_1 + ', fileNameFormat=' + this.w6h_1 + ')';
|
|
2465
2486
|
};
|
|
2466
2487
|
protoOf(CoreConfigDto).hashCode = function () {
|
|
2467
|
-
var result = getBooleanHashCode(this.
|
|
2468
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2469
|
-
result = imul(result, 31) + (this.
|
|
2470
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2488
|
+
var result = getBooleanHashCode(this.t6h_1);
|
|
2489
|
+
result = imul(result, 31) + getBooleanHashCode(this.u6h_1) | 0;
|
|
2490
|
+
result = imul(result, 31) + (this.v6h_1 == null ? 0 : getStringHashCode(this.v6h_1)) | 0;
|
|
2491
|
+
result = imul(result, 31) + getStringHashCode(this.w6h_1) | 0;
|
|
2471
2492
|
return result;
|
|
2472
2493
|
};
|
|
2473
2494
|
protoOf(CoreConfigDto).equals = function (other) {
|
|
@@ -2475,18 +2496,18 @@
|
|
|
2475
2496
|
return true;
|
|
2476
2497
|
if (!(other instanceof CoreConfigDto))
|
|
2477
2498
|
return false;
|
|
2478
|
-
if (!(this.s6h_1 === other.s6h_1))
|
|
2479
|
-
return false;
|
|
2480
2499
|
if (!(this.t6h_1 === other.t6h_1))
|
|
2481
2500
|
return false;
|
|
2482
|
-
if (!(this.u6h_1
|
|
2501
|
+
if (!(this.u6h_1 === other.u6h_1))
|
|
2502
|
+
return false;
|
|
2503
|
+
if (!(this.v6h_1 == other.v6h_1))
|
|
2483
2504
|
return false;
|
|
2484
|
-
if (!(this.
|
|
2505
|
+
if (!(this.w6h_1 === other.w6h_1))
|
|
2485
2506
|
return false;
|
|
2486
2507
|
return true;
|
|
2487
2508
|
};
|
|
2488
2509
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
2489
|
-
return $this.
|
|
2510
|
+
return $this.x6h_1.x();
|
|
2490
2511
|
}
|
|
2491
2512
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
2492
2513
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -2524,7 +2545,7 @@
|
|
|
2524
2545
|
Companion_instance_13 = this;
|
|
2525
2546
|
var tmp = this;
|
|
2526
2547
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2527
|
-
tmp.
|
|
2548
|
+
tmp.x6h_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
2528
2549
|
}
|
|
2529
2550
|
protoOf(Companion_11).q4t = function () {
|
|
2530
2551
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -2545,7 +2566,7 @@
|
|
|
2545
2566
|
Companion_getInstance_14();
|
|
2546
2567
|
}
|
|
2547
2568
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
2548
|
-
return $this.
|
|
2569
|
+
return $this.y6h_1.x();
|
|
2549
2570
|
}
|
|
2550
2571
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
2551
2572
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -2560,7 +2581,7 @@
|
|
|
2560
2581
|
TerminationGameReasonDto.call(this);
|
|
2561
2582
|
var tmp = this;
|
|
2562
2583
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2563
|
-
tmp.
|
|
2584
|
+
tmp.y6h_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
2564
2585
|
}
|
|
2565
2586
|
protoOf(ProcessingReasonDto).q4t = function () {
|
|
2566
2587
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -2597,19 +2618,19 @@
|
|
|
2597
2618
|
$serializer_instance_2 = this;
|
|
2598
2619
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
2599
2620
|
tmp0_serialDesc.gz('reason', false);
|
|
2600
|
-
this.
|
|
2621
|
+
this.z6h_1 = tmp0_serialDesc;
|
|
2601
2622
|
}
|
|
2602
|
-
protoOf($serializer_2).
|
|
2603
|
-
var tmp0_desc = this.
|
|
2623
|
+
protoOf($serializer_2).a6i = function (encoder, value) {
|
|
2624
|
+
var tmp0_desc = this.z6h_1;
|
|
2604
2625
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
2605
2626
|
tmp1_output.dt(tmp0_desc, 0, value.reason);
|
|
2606
2627
|
tmp1_output.pr(tmp0_desc);
|
|
2607
2628
|
};
|
|
2608
2629
|
protoOf($serializer_2).co = function (encoder, value) {
|
|
2609
|
-
return this.
|
|
2630
|
+
return this.a6i(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
2610
2631
|
};
|
|
2611
2632
|
protoOf($serializer_2).do = function (decoder) {
|
|
2612
|
-
var tmp0_desc = this.
|
|
2633
|
+
var tmp0_desc = this.z6h_1;
|
|
2613
2634
|
var tmp1_flag = true;
|
|
2614
2635
|
var tmp2_index = 0;
|
|
2615
2636
|
var tmp3_bitMask0 = 0;
|
|
@@ -2637,7 +2658,7 @@
|
|
|
2637
2658
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2638
2659
|
};
|
|
2639
2660
|
protoOf($serializer_2).bo = function () {
|
|
2640
|
-
return this.
|
|
2661
|
+
return this.z6h_1;
|
|
2641
2662
|
};
|
|
2642
2663
|
protoOf($serializer_2).vz = function () {
|
|
2643
2664
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2653,7 +2674,7 @@
|
|
|
2653
2674
|
}
|
|
2654
2675
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2655
2676
|
if (!(1 === (1 & seen0))) {
|
|
2656
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2677
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().z6h_1);
|
|
2657
2678
|
}
|
|
2658
2679
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2659
2680
|
$this.reason = reason;
|
|
@@ -2694,19 +2715,19 @@
|
|
|
2694
2715
|
$serializer_instance_3 = this;
|
|
2695
2716
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
2696
2717
|
tmp0_serialDesc.gz('reason', false);
|
|
2697
|
-
this.
|
|
2718
|
+
this.b6i_1 = tmp0_serialDesc;
|
|
2698
2719
|
}
|
|
2699
|
-
protoOf($serializer_3).
|
|
2700
|
-
var tmp0_desc = this.
|
|
2720
|
+
protoOf($serializer_3).c6i = function (encoder, value) {
|
|
2721
|
+
var tmp0_desc = this.b6i_1;
|
|
2701
2722
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
2702
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
2723
|
+
tmp1_output.dt(tmp0_desc, 0, value.reason);
|
|
2703
2724
|
tmp1_output.pr(tmp0_desc);
|
|
2704
2725
|
};
|
|
2705
2726
|
protoOf($serializer_3).co = function (encoder, value) {
|
|
2706
|
-
return this.
|
|
2727
|
+
return this.c6i(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
2707
2728
|
};
|
|
2708
2729
|
protoOf($serializer_3).do = function (decoder) {
|
|
2709
|
-
var tmp0_desc = this.
|
|
2730
|
+
var tmp0_desc = this.b6i_1;
|
|
2710
2731
|
var tmp1_flag = true;
|
|
2711
2732
|
var tmp2_index = 0;
|
|
2712
2733
|
var tmp3_bitMask0 = 0;
|
|
@@ -2734,7 +2755,7 @@
|
|
|
2734
2755
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
2735
2756
|
};
|
|
2736
2757
|
protoOf($serializer_3).bo = function () {
|
|
2737
|
-
return this.
|
|
2758
|
+
return this.b6i_1;
|
|
2738
2759
|
};
|
|
2739
2760
|
protoOf($serializer_3).vz = function () {
|
|
2740
2761
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2750,10 +2771,10 @@
|
|
|
2750
2771
|
}
|
|
2751
2772
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
2752
2773
|
if (!(1 === (1 & seen0))) {
|
|
2753
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
2774
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().b6i_1);
|
|
2754
2775
|
}
|
|
2755
2776
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2756
|
-
$this.
|
|
2777
|
+
$this.reason = reason;
|
|
2757
2778
|
return $this;
|
|
2758
2779
|
}
|
|
2759
2780
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -2761,20 +2782,23 @@
|
|
|
2761
2782
|
}
|
|
2762
2783
|
function GameFinishedReasonDto(reason) {
|
|
2763
2784
|
TerminationGameReasonDto.call(this);
|
|
2764
|
-
this.
|
|
2785
|
+
this.reason = reason;
|
|
2765
2786
|
}
|
|
2787
|
+
protoOf(GameFinishedReasonDto).p6e = function () {
|
|
2788
|
+
return this.reason;
|
|
2789
|
+
};
|
|
2766
2790
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
2767
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
2791
|
+
return 'GameFinishedReasonDto(reason=' + this.reason + ')';
|
|
2768
2792
|
};
|
|
2769
2793
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
2770
|
-
return getStringHashCode(this.
|
|
2794
|
+
return getStringHashCode(this.reason);
|
|
2771
2795
|
};
|
|
2772
2796
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
2773
2797
|
if (this === other)
|
|
2774
2798
|
return true;
|
|
2775
2799
|
if (!(other instanceof GameFinishedReasonDto))
|
|
2776
2800
|
return false;
|
|
2777
|
-
if (!(this.
|
|
2801
|
+
if (!(this.reason === other.reason))
|
|
2778
2802
|
return false;
|
|
2779
2803
|
return true;
|
|
2780
2804
|
};
|
|
@@ -3238,7 +3262,7 @@
|
|
|
3238
3262
|
return new GameCard(_this__u8e3s4);
|
|
3239
3263
|
}
|
|
3240
3264
|
function mapFromDto_1(_this__u8e3s4) {
|
|
3241
|
-
return new CoreConfig(_this__u8e3s4.
|
|
3265
|
+
return new CoreConfig(_this__u8e3s4.t6h_1, _this__u8e3s4.u6h_1, _this__u8e3s4.v6h_1, _this__u8e3s4.w6h_1);
|
|
3242
3266
|
}
|
|
3243
3267
|
function mapFromDto_2(_this__u8e3s4) {
|
|
3244
3268
|
return new Team(_this__u8e3s4);
|
|
@@ -3359,7 +3383,7 @@
|
|
|
3359
3383
|
}
|
|
3360
3384
|
function mapFromDto_5(_this__u8e3s4) {
|
|
3361
3385
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
3362
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.
|
|
3386
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.reason, get_gameFinishedReasonMapping());
|
|
3363
3387
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
3364
3388
|
}
|
|
3365
3389
|
function mapFromDto_6(_this__u8e3s4) {
|
|
@@ -7967,9 +7991,10 @@
|
|
|
7967
7991
|
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).x6g);
|
|
7968
7992
|
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).y6g);
|
|
7969
7993
|
defineProp(protoOf(PlayerConnectionState), 'canReconnect', protoOf(PlayerConnectionState).z6g);
|
|
7994
|
+
defineProp(protoOf(PlayerConnectionState), 'canUpdateRating', protoOf(PlayerConnectionState).a6h);
|
|
7970
7995
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).r2);
|
|
7971
7996
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).s2);
|
|
7972
|
-
defineProp(protoOf(Team), 'first', protoOf(Team).
|
|
7997
|
+
defineProp(protoOf(Team), 'first', protoOf(Team).p6h);
|
|
7973
7998
|
defineProp(protoOf(Team), 'second', protoOf(Team).n61);
|
|
7974
7999
|
protoOf($serializer_1).wz = typeParametersSerializers;
|
|
7975
8000
|
protoOf($serializer_2).wz = typeParametersSerializers;
|